diff --git a/CNAME b/CNAME new file mode 100644 index 00000000000..763ced3b3ad --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +shiro.innei.in diff --git a/assets/AutoResizeHeight-dtcKGJMw.js b/assets/AutoResizeHeight-dtcKGJMw.js new file mode 100644 index 00000000000..1bedc5b0b3f --- /dev/null +++ b/assets/AutoResizeHeight-dtcKGJMw.js @@ -0,0 +1 @@ +import{r as t,j as i}from"./index-ZXl4th35.js";import{m as l}from"./spring-hnK4kZop.js";import{m as h,c as d}from"./motion-minimal-epsqYg85.js";const g=({children:n,className:o,duration:c=.6,spring:a=!1})=>{const e=t.useRef(null),[s,m]=t.useState("auto");return t.useEffect(()=>{if(e.current){const r=new ResizeObserver(f=>{const u=f[0].contentRect.height;m(u)});return r.observe(e.current),()=>{r.disconnect()}}},[]),i.jsx(h.div,{className:d("overflow-hidden",o),style:{height:s},initial:!1,animate:{height:s},transition:a?l:{duration:c},children:i.jsx("div",{ref:e,children:n})})};export{g as A}; diff --git a/assets/CodeBlock-sDEtIOcO.js b/assets/CodeBlock-sDEtIOcO.js new file mode 100644 index 00000000000..7cac85121b4 --- /dev/null +++ b/assets/CodeBlock-sDEtIOcO.js @@ -0,0 +1,7 @@ +import{r as m,_ as a,j as r}from"./index-ZXl4th35.js";import{R as c,E as s}from"./ExcalidrawLoading-Id2ozXoI.js";import{e as d}from"./Gallery-QJ8JjQGt.js";import{d as p}from"./alert-fERsLyJJ.js";import{H as l}from"./CodeHighlighter-Mm1eioOt.js";import{i as u}from"./utils-JJoYnXdw.js";import{B as x}from"./Mermaid-gWIn58QC.js";import"./react-error-boundary.esm-e5Yyzoa4.js";import"./lodash-lrAbnKsZ.js";import"./motion-minimal-epsqYg85.js";import"./image-fdtjzFNr.js";import"./request-bY2SEZNN.js";import"./toast-dlXalurG.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./viewport-l4O6ZIBM.js";import"./use-is-unmounted-dmgvzXDy.js";import"./FloatPopover-3waN72gb.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./use-is-client-6Iy0halI.js";import"./index-LA8z4iWc.js";import"./visual-element-tlU1-krp.js";import"./LinkCard-AonZnIUQ.js";import"./provider-XKwIHqOQ.js";import"./dom-NuJWIaAq.js";import"./SocialSourceLink-Fjgxzjol.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";import"./use-is-dark-IiysOCcN.js";const h=({data:t})=>{const[n,o]=m.useState(null);return d(()=>{const i=m.lazy(()=>a(()=>import("./index-eOZlXeNv.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url).then(e=>({default:e.Excalidraw})));o(r.jsx(i,{data:t},t))},[t]),r.jsx(m.Suspense,{fallback:r.jsx(s,{}),children:n??r.jsx(s,{})})},K=t=>{const n=m.useMemo(()=>{switch(t.lang){case"mermaid":{const o=p(()=>a(()=>import("./Mermaid-gWIn58QC.js").then(i=>i.a),__vite__mapDeps([21,1,2,12,22,23,6,14,4,5,7,8,11,16,24]),import.meta.url).then(i=>i.Mermaid));return r.jsx(o,{...t})}case"excalidraw":return r.jsx(h,{data:t.content});case"component":return r.jsx("div",{className:"not-prose my-4",children:r.jsx(c,{dls:t.content})});default:{const o=t.lang;if(o&&u(o)){const i=p(()=>a(()=>import("./Shiki-YdqsEpEt.js"),__vite__mapDeps([25,1,2,6,11,4,5,7,8,26,17,18,27,28]),import.meta.url).then(e=>e.ShikiHighLighter));return r.jsx(i,{...t})}return r.jsx(l,{...t})}}},[t]);return r.jsx(m.Suspense,{fallback:r.jsx(x,{children:"CodeBlock Loading..."}),children:n})};export{K as CodeBlockRender}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index-eOZlXeNv.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./useQuery-3CoUXB5U.js","./request-bY2SEZNN.js","./toast-dlXalurG.js","./motion-minimal-epsqYg85.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js","./index-D4F-WjWJ.js","./main-pGz5eUwv.js","./viewport-l4O6ZIBM.js","./use-is-dark-IiysOCcN.js","./dom-NuJWIaAq.js","./lodash-lrAbnKsZ.js","./provider-XKwIHqOQ.js","./use-is-unmounted-dmgvzXDy.js","./spring-hnK4kZop.js","./use-event-callback-ULpIcVk8.js","./visual-element-tlU1-krp.js","./index-LA8z4iWc.js","./Mermaid-gWIn58QC.js","./Gallery-QJ8JjQGt.js","./image-fdtjzFNr.js","./Gallery-cCMf-PmV.css","./Shiki-YdqsEpEt.js","./AutoResizeHeight-dtcKGJMw.js","./utils-JJoYnXdw.js","./Shiki-BF6GP9Ug.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/CodeEditor-AByBrAxP.js b/assets/CodeEditor-AByBrAxP.js new file mode 100644 index 00000000000..d2b7f178783 --- /dev/null +++ b/assets/CodeEditor-AByBrAxP.js @@ -0,0 +1 @@ +import{r as t,j as a}from"./index-ZXl4th35.js";import{s}from"./dom-NuJWIaAq.js";import{c as x}from"./motion-minimal-epsqYg85.js";import{B as f}from"./CodeHighlighter-Mm1eioOt.js";const h=t.forwardRef(({content:e,language:p,onChange:d,minHeight:c,className:m,padding:r=0},g)=>{const[o,n]=t.useState(e);t.useEffect(()=>{n(e)},[e]);const l={minHeight:c};return a.jsxs("div",{className:x("relative [&_*]:!font-mono [&_*]:!text-base [&_*]:!leading-[1.5]",m),style:{padding:`${r}px`,"--padding":`${r*2}px`},contentEditable:!1,children:[a.jsx("textarea",{onKeyDown:s,onKeyUp:s,onPaste:s,contentEditable:!1,ref:g,className:"absolute size-[calc(100%-var(--padding))] resize-none overflow-hidden bg-transparent p-0 text-transparent caret-accent",style:l,value:o,onChange:i=>{n(i.target.value),d?.(i.target.value)}}),a.jsx(f,{className:"code-wrap pointer-events-none relative z-[1] !m-0 !p-0",style:l,lang:p,content:o})]})});h.displayName="CodeEditor";export{h as C}; diff --git a/assets/CodeHighlighter-Mm1eioOt.js b/assets/CodeHighlighter-Mm1eioOt.js new file mode 100644 index 00000000000..b68f39d0c1d --- /dev/null +++ b/assets/CodeHighlighter-Mm1eioOt.js @@ -0,0 +1 @@ +import{r as a,j as o}from"./index-ZXl4th35.js";import{t as f,u as x}from"./toast-dlXalurG.js";import{u as y}from"./use-is-dark-IiysOCcN.js";import{c as b}from"./motion-minimal-epsqYg85.js";const d={},i={};function p(e){return new Promise((n,t)=>{const r=d[e];if(r==="loaded")return n(null);if(r==="loading"){i[e]=i[e]?[...i[e],[n,t]]:[[n,t]];return}const s=document.createElement("script");s.src=e,s.crossOrigin="anonymous",d[e]="loading",s.onload=function(){d[e]="loaded",n(null),i[e]&&(i[e].forEach(([c])=>{c(null)}),delete i[e])},s.onerror=function(c){this.onerror=this.onload=null,delete d[e],i[e].forEach(([,g])=>{g(c)}),delete i[e],t(c)},document.head.appendChild(s)})}const l=new Map;function u(e){if(l.has(e)){const t=l.get(e);return{$link:t,remove:()=>{t.parentNode&&t.parentNode.removeChild(t),l.delete(e)}}}const n=document.createElement("link");return n.href=e,n.rel="stylesheet",n.type="text/css",n.crossOrigin="anonymous",l.set(e,n),n.onerror=()=>{n.onerror=null,l.delete(e)},document.head.appendChild(n),{remove:()=>{n.parentNode&&n.parentNode.removeChild(n),l.delete(e)},$link:n}}const m={"code-wrap":"_code-wrap_1uhyk_1","copy-tip":"_copy-tip_1uhyk_11","language-tip":"_language-tip_1uhyk_49"},P=e=>{const{lang:n,content:t}=e,r=a.useCallback(()=>{navigator.clipboard.writeText(t),f.success("COPIED!")},[t]),s=a.useRef(null);return h(s),o.jsxs("div",{className:m["code-wrap"],children:[o.jsx("span",{className:m["language-tip"],"aria-hidden":!0,children:n?.toUpperCase()}),o.jsx("pre",{className:"line-numbers !bg-transparent","data-start":"1",children:o.jsx("code",{className:`language-${n??"markup"} !bg-transparent`,ref:s,children:t})}),o.jsx("div",{className:m["copy-tip"],onClick:r,"aria-hidden":!0,children:"Copy"})]})},M=({content:e,lang:n,className:t,style:r})=>{const s=a.useRef(null);return h(s),a.useEffect(()=>{window.Prism?.highlightElement(s.current)},[e,n]),o.jsx("pre",{className:b("!bg-transparent",t),style:r,"data-start":"1",children:o.jsx("code",{className:`language-${n??"markup"} !bg-transparent`,ref:s,children:e})})},h=e=>{const n=a.useRef(),t=x(),r=y();a.useInsertionEffect(()=>{const s=u(`https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/prism-themes/1.9.0/prism-one-${t?"light":r?"dark":"light"}.css`);if(n.current){const c=n.current;s.$link.onload=()=>{c.remove()}}n.current=s},[r,t]),a.useInsertionEffect(()=>{u("https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/prism/1.23.0/plugins/line-numbers/prism-line-numbers.min.css"),Promise.all([p("https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/prism/1.23.0/components/prism-core.min.js")]).then(()=>Promise.all([p("https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/prism/1.23.0/plugins/autoloader/prism-autoloader.min.js"),p("https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/prism/1.23.0/plugins/line-numbers/prism-line-numbers.min.js")])).then(()=>{e.current?requestAnimationFrame(()=>{window.Prism?.highlightElement(e.current),requestAnimationFrame(()=>{window.Prism?.highlightElement(e.current)})}):requestAnimationFrame(()=>{window.Prism?.highlightAll(),requestAnimationFrame(()=>{window.Prism?.highlightAll()})})})},[])};export{M as B,P as H,u as a,p as l}; diff --git a/assets/CodeHighlighter-hcFZa2QO.css b/assets/CodeHighlighter-hcFZa2QO.css new file mode 100644 index 00000000000..4ae6c9479e0 --- /dev/null +++ b/assets/CodeHighlighter-hcFZa2QO.css @@ -0,0 +1 @@ +._code-wrap_1uhyk_1{position:relative;display:flex;width:100%;flex-direction:column;overflow:auto}._code-wrap_1uhyk_1 pre>code{display:block;font-family:OperatorMonoSSmLig Nerd Font,Cascadia Code PL,FantasqueSansMono Nerd Font,operator mono,JetBrainsMono,Fira code Retina,Fira code,Consolas,Monaco,Hannotate SC,monospace,-apple-system;font-size:14px;font-weight:500;background:transparent!important}._code-wrap_1uhyk_1:hover ._copy-tip_1uhyk_11{opacity:.4;visibility:visible}._code-wrap_1uhyk_1 ._copy-tip_1uhyk_11{position:absolute;right:2em;top:3em;font-size:.6em;font-weight:600;text-transform:uppercase;cursor:pointer;transition:opacity .5s;will-change:opacity;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0;visibility:hidden;transition:opacity .3s ease-in-out,visibility .3s ease-in-out}._code-wrap_1uhyk_1 ._copy-tip_1uhyk_11:hover{opacity:1}._code-wrap_1uhyk_1 ._copy-tip_1uhyk_11:after{content:"";bottom:-3px;position:absolute;left:3px;right:3px;height:1px;background-color:currentColor}._code-wrap_1uhyk_1 ._language-tip_1uhyk_49{position:absolute;right:1em;transform:translate(-.5em,.5em);font-size:.8em;opacity:.7;z-index:1} diff --git a/assets/Collapse-btcJozxA.js b/assets/Collapse-btcJozxA.js new file mode 100644 index 00000000000..2dba302c09a --- /dev/null +++ b/assets/Collapse-btcJozxA.js @@ -0,0 +1 @@ +import{r as i,j as e}from"./index-ZXl4th35.js";import{a as l}from"./spring-hnK4kZop.js";import{m as c,c as m}from"./motion-minimal-epsqYg85.js";import{A as p}from"./index-LA8z4iWc.js";const h=({isOpened:t,className:r,children:s,withBackground:o=!1})=>{const n=i.useMemo(()=>{const a={open:{opacity:1,height:"auto",transition:l},collapsed:{opacity:0,height:0,overflow:"hidden"}};return o&&(a.open.background="oklch(var(--a) / 10%)",a.collapsed.background="oklch(var(--a) / 0%)"),a},[o]);return e.jsx(e.Fragment,{children:e.jsx(p,{initial:!1,children:t&&e.jsx(c.div,{initial:"collapsed",animate:"open",exit:"collapsed",variants:n,className:m(o&&"rounded-lg",r),children:o?e.jsx("div",{className:"p-4",children:s}):s},"content")})})};export{h as C}; diff --git a/assets/EmojiPicker-Vh2w61GA.js b/assets/EmojiPicker-Vh2w61GA.js new file mode 100644 index 00000000000..98a2791ce5c --- /dev/null +++ b/assets/EmojiPicker-Vh2w61GA.js @@ -0,0 +1,16 @@ +import{r as t,R as Nf,j as u0}from"./index-ZXl4th35.js";import{u as t0}from"./use-is-dark-IiysOCcN.js";function Xf(f){return[].concat(f)}function ae(f){return f.startsWith(":")}function Be(f){return Ef(f)&&(f==="*"||f.length>1&&":>~.+*".includes(f.slice(0,1))||Ve(f))}function He(f,e){return(Ef(e)||typeof e=="number")&&!Fe(f)&&!ae(f)&&!We(f)}function We(f){return f.startsWith("@media")}function r0(f){return f==="."}function Fe(f){return f==="--"}function Ef(f){return f+""===f}function Ve(f){return Ef(f)&&(f.startsWith("&")||ae(f))}function kf(f,e=""){return f.filter(Boolean).join(e)}function Ke(f,e){let a=0;if(e.length===0)return a.toString();for(let n=0;nae(u)?i+u:Ve(u)?i+u.slice(1):kf([i,u]," "),e);return kf([n,c0(a)]," ")}var l0=class If{constructor(e,a=null,{preconditions:n,postconditions:i}={}){this.sheet=e,this.preconditions=[],this.scopeClassName=null,this.scopeName=null,this.postconditions=[],this.preconditions=n?Xf(n):[],this.postconditions=i?Xf(i):[],this.setScope(a)}setScope(e){return e?(this.scopeClassName||(this.scopeName=e,this.scopeClassName=Ke(this.sheet.name,e+this.sheet.count)),this):this}get hasConditions(){return this.preconditions.length>0||this.postconditions.length>0}addScope(e){return new If(this.sheet,e,{preconditions:this.preconditions,postconditions:this.postconditions})}addPrecondition(e){return new If(this.sheet,this.scopeClassName,{postconditions:this.postconditions,preconditions:this.preconditions.concat(e)})}addPostcondition(e){return new If(this.sheet,this.scopeClassName,{preconditions:this.preconditions,postconditions:this.postconditions.concat(e)})}createRule(e,a){return new Xe(this.sheet,e,a,this)}},M0=class{constructor(f,e){this.name=f,this.rootNode=e,this.storedStyles={},this.storedClasses={},this.style="",this.count=0,this.id=`flairup-${f}`,this.styleTag=this.createStyleTag()}getStyle(){return this.style}append(f){this.style=s0(this.style,f)}apply(){this.count++,this.styleTag&&(this.styleTag.innerHTML=this.style)}isApplied(){return!!this.styleTag}createStyleTag(){if(typeof document>"u"||this.isApplied()||this.rootNode===null)return this.styleTag;const f=document.createElement("style");return f.type="text/css",f.id=this.id,(this.rootNode??document.head).appendChild(f),f}addRule(f){const e=this.storedClasses[f.key];return Ef(e)?e:(this.storedClasses[f.key]=f.hash,this.storedStyles[f.hash]=[f.property,f.value],this.append(f.toString()),f.hash)}};function ne(f,e){for(const a in f)e(a.trim(),f[a])}function b(...f){const e=f.reduce((a,n)=>(n instanceof Set?a.push(...n):typeof n=="string"?a.push(n):Array.isArray(n)?a.push(b(...n)):typeof n=="object"&&Object.entries(n).forEach(([i,u])=>{u&&a.push(i)}),a),[]);return kf(e," ").trim()}function L0(f,e){const a=new M0(f,e);return{create:n,getStyle:a.getStyle.bind(a),isApplied:a.isApplied.bind(a)};function n(i){const u={};return qe(a,i,new l0(a)).forEach(([o,d,s])=>{xf(a,d,s).forEach(c=>{r(o,c)})}),a.apply(),u;function r(o,d){u[o]=u[o]??new Set,u[o].add(d)}}}function qe(f,e,a){const n=[];return ne(e,(i,u)=>{if(Be(i))return qe(f,u,a.addPrecondition(i)).forEach(r=>n.push(r));n.push([i,e[i],a.addScope(i)])}),n}function xf(f,e,a){const n=new Set;return ne(e,(i,u)=>{let r=[];if(Be(i))r=xf(f,u,a.addPostcondition(i));else if(r0(i))r=Xf(u);else if(We(i))r=w0(f,u,i,a);else if(Fe(i))r=g0(f,u,a);else if(He(i,u)){const o=a.createRule(i,u);f.addRule(o),n.add(o.hash)}return $e(r,n)}),n}function $e(f,e){return f.forEach(a=>e.add(a)),e}function g0(f,e,a){const n=new Set,i=[];if(ne(e,(u,r)=>{if(He(u,r)){i.push(Xe.genRule(u,r));return}const o=xf(f,r??{},a);$e(o,n)}),!a.scopeClassName)return n;if(i.length){const u=i.join(" ");f.append(`${_f(a.preconditions,{right:a.scopeClassName})} {${u}}`)}return n.add(a.scopeClassName),n}function w0(f,e,a,n){f.append(a+" {");const i=xf(f,e,n);return f.append("}"),i}function C(){return C=Object.assign?Object.assign.bind():function(f){for(var e=1;e=0)&&(a[i]=f[i]);return a}function j0(f,e){if(f){if(typeof f=="string")return ve(f,e);var a=Object.prototype.toString.call(f).slice(8,-1);if(a==="Object"&&f.constructor&&(a=f.constructor.name),a==="Map"||a==="Set")return Array.from(f);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ve(f,e)}}function ve(f,e){(e==null||e>f.length)&&(e=f.length);for(var a=0,n=new Array(e);a=f.length?{done:!0}:{done:!1,value:f[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g;(function(f){f.hiddenOnSearch="epr-hidden-on-search",f.searchActive="epr-search-active",f.hidden="epr-hidden",f.visible="epr-visible",f.active="epr-active",f.emoji="epr-emoji",f.category="epr-emoji-category",f.label="epr-emoji-category-label",f.categoryContent="epr-emoji-category-content",f.emojiHasVariations="epr-emoji-has-variations",f.scrollBody="epr-body",f.emojiList="epr-emoji-list",f.external="__EmojiPicker__",f.emojiPicker="EmojiPickerReact",f.open="epr-open",f.vertical="epr-vertical",f.horizontal="epr-horizontal",f.variationPicker="epr-emoji-variation-picker",f.darkTheme="epr-dark-theme",f.autoTheme="epr-auto-theme"})(g||(g={}));function N(){for(var f=arguments.length,e=new Array(f),a=0;a0}function Z0(f,e){return e?wf(f).find(function(a){return a.includes(e)}):k(f)}function $(f){if(f){if(X[f])return X[f];var e=te(f);return X[e]}}var Af=Object.values(cf).flat();function B0(f){cf[L.CUSTOM].length=0,f.forEach(function(e){var a=H0(e);cf[L.CUSTOM].push(a),!X[a[E.unified]]&&(Af.push(a),X[a[E.unified]]=a,ua(a))})}function H0(f){var e;return e={},e[E.name]=f.names.map(function(a){return a.toLowerCase()}),e[E.unified]=f.id.toLowerCase(),e[E.added_in]="0",e[E.imgUrl]=f.imgUrl,e}var X={};setTimeout(function(){Af.reduce(function(f,e){return f[k(e)]=e,ef(e)&&wf(e).forEach(function(a){f[a]=e}),f},X)});function W0(f){var e=f.split("-"),a=e[1];return Df.includes(a)?a:null}var F0=["2640-fe0f","2642-fe0f","2695-fe0f"],Sf="Search",V0="No results found",ra=" found. Use up and down arrow keys to navigate.",K0="1 result"+ra,X0="%n results"+ra;function Ne(f){var e,a;f===void 0&&(f={});var n=oa(),i=Object.assign(n.previewConfig,(e=f.previewConfig)!=null?e:{}),u=Object.assign(n,f),r=v0(f.categories,{suggestionMode:u.suggestedEmojisMode});B0((a=u.customEmojis)!=null?a:[]);var o=u.searchDisabled?q.PREVIEW:u.skinTonePickerLocation;return C({},u,{categories:r,previewConfig:i,skinTonePickerLocation:o})}function oa(){return{autoFocusSearch:!0,categories:na(),className:"",customEmojis:[],defaultSkinTone:Q.NEUTRAL,emojiStyle:D.APPLE,emojiVersion:null,getEmojiUrl:ta,height:450,lazyLoadEmojis:!1,previewConfig:C({},_0),searchDisabled:!1,searchPlaceHolder:Sf,searchPlaceholder:Sf,skinTonePickerLocation:q.SEARCH,skinTonesDisabled:!1,style:{},suggestedEmojisMode:df.FREQUENT,theme:H.LIGHT,unicodeToHide:new Set(F0),width:350,reactionsDefaultOpen:!1,reactions:y0,open:!0,allowExpandReactions:!0}}var _0={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},q0=["children"],da=t.createContext(oa());function $0(f){var e=f.children,a=fa(f,q0),n=f1(a);return t.createElement(da.Provider,{value:n},e)}function f1(f){var e,a=t.useState(function(){return Ne(f)}),n=a[0],i=a[1];return t.useEffect(function(){ea(n,f)||i(Ne(f))},[(e=f.customEmojis)==null?void 0:e.length,f.open,f.emojiVersion,f.reactionsDefaultOpen,f.searchPlaceHolder,f.searchPlaceholder,f.defaultSkinTone,f.skinTonesDisabled,f.autoFocusSearch,f.emojiStyle,f.theme,f.suggestedEmojisMode,f.lazyLoadEmojis,f.className,f.height,f.width,f.searchDisabled,f.skinTonePickerLocation,f.allowExpandReactions]),n}function y(){return t.useContext(da)}var ca=Nf.createContext({});function e1(){var f=Nf.useContext(ca);return f}function a1(f){var e=Nf.useRef({onEmojiClick:f.onEmojiClick||ke,onReactionClick:f.onReactionClick||f.onEmojiClick});return Nf.useEffect(function(){e.current.onEmojiClick=f.onEmojiClick||ke,e.current.onReactionClick=f.onReactionClick||f.onEmojiClick},[f.onEmojiClick,f.onReactionClick]),e}function ke(){}var sf;(function(f){f.REACTIONS="reactions",f.PICKER="picker"})(sf||(sf={}));function n1(){var f,e=y(),a=e.searchPlaceHolder,n=e.searchPlaceholder;return(f=[a,n].find(function(i){return i!==Sf}))!=null?f:Sf}function i1(){var f=y(),e=f.defaultSkinTone;return e}function sa(){var f=y(),e=f.allowExpandReactions;return e}function la(){var f=y(),e=f.skinTonesDisabled;return e}function F(){var f=y(),e=f.emojiStyle;return e}function u1(){var f=y(),e=f.autoFocusSearch;return e}function Ma(){var f=y(),e=f.categories;return e}function t1(){var f=y(),e=f.customEmojis;return e}function r1(){var f=y(),e=f.open;return e}function o1(f){var e,a=e1(),n=a.current,i=(e=f===sf.REACTIONS?n.onReactionClick:n.onEmojiClick)!=null?e:n.onEmojiClick;return i||function(){}}function La(){var f=y(),e=f.previewConfig;return e}function d1(){var f=y(),e=f.theme;return e}function c1(){var f=y(),e=f.suggestedEmojisMode;return e}function s1(){var f=y(),e=f.lazyLoadEmojis;return e}function l1(){var f=y(),e=f.className;return e}function M1(){var f=y(),e=f.height,a=f.width,n=f.style;return C({height:De(e),width:De(a)},n)}function L1(){var f=y(),e=f.reactionsDefaultOpen;return e}function g1(){var f=y(),e=f.emojiVersion;return e}function ga(){var f=y(),e=f.searchDisabled;return e}function wa(){var f=y(),e=f.skinTonePickerLocation;return e}function w1(){var f=y(),e=f.unicodeToHide;return e}function b1(){var f=y(),e=f.reactions;return e}function af(){var f=y(),e=f.getEmojiUrl;return e}function De(f){return typeof f=="number"?f+"px":f}function j1(f){var e=f>0,a=f>1;return e?a?X0.replace("%n",f.toString()):K0:V0}function Se(f,e){e===void 0&&(e=0);var a=t.useState(f),n=a[0],i=a[1],u=t.useRef(null);function r(o){return new Promise(function(d){var s;u.current&&clearTimeout(u.current),u.current=(s=window)==null?void 0:s.setTimeout(function(){i(o),d(o)},e)})}return[n,r]}function m1(){var f=w1();return function(e){return f.has(e)}}function ba(){var f=t.useRef({}),e=g1();return t.useMemo(function(){var a=parseFloat(""+e);return!e||Number.isNaN(a)?f.current:Af.reduce(function(n,i){return y1(i,a)&&(n[k(i)]=!0),n},f.current)},[e])}function C1(){var f=ba(),e=m1();return function(n){var i=te(k(n));return!!(f[i]||e(i))}}function y1(f,e){return U0(f)>e}function I1(f){t.useEffect(function(){f(!0)},[f])}function p1(f){var e=f.children,a=ba(),n=i1(),i=L1(),u=t.useRef(of),r=t.useRef(!1),o=t.useRef(!1),d=t.useRef(a),s=Se(Date.now(),200),c=Se("",100),l=t.useState(!1),M=t.useState(n),w=t.useState(null),j=t.useState(new Set),I=t.useState(null),v=t.useState(i),T=t.useState(!1),p=T[0],Y=T[1];return I1(Y),t.createElement(x.Provider,{value:{activeCategoryState:w,activeSkinTone:M,disallowClickRef:r,disallowMouseRef:o,disallowedEmojisRef:d,emojiVariationPickerState:I,emojisThatFailedToLoadState:j,filterRef:u,isPastInitialLoad:p,searchTerm:c,skinToneFanOpenState:l,suggestedUpdateState:s,reactionsModeState:v}},e)}var x=t.createContext({activeCategoryState:[null,function(){}],activeSkinTone:[Q.NEUTRAL,function(){}],disallowClickRef:{current:!1},disallowMouseRef:{current:!1},disallowedEmojisRef:{current:{}},emojiVariationPickerState:[null,function(){}],emojisThatFailedToLoadState:[new Set,function(){}],filterRef:{current:{}},isPastInitialLoad:!0,searchTerm:["",function(){return new Promise(function(){})}],skinToneFanOpenState:[!1,function(){}],suggestedUpdateState:[Date.now(),function(){}],reactionsModeState:[!1,function(){}]});function re(){var f=t.useContext(x),e=f.filterRef;return e}function v1(){var f=t.useContext(x),e=f.disallowClickRef;return e}function oe(){var f=t.useContext(x),e=f.disallowMouseRef;return e}function Qf(){var f=t.useContext(x),e=f.reactionsModeState;return e}function Pf(){var f=t.useContext(x),e=f.searchTerm;return e}function de(){var f=t.useContext(x),e=f.activeSkinTone;return e}function ja(){var f=t.useContext(x),e=f.emojisThatFailedToLoadState;return e}function h1(){var f=t.useContext(x),e=f.isPastInitialLoad;return e}function nf(){var f=t.useContext(x),e=f.emojiVariationPickerState;return e}function bf(){var f=t.useContext(x),e=f.skinToneFanOpenState;return e}function ma(){var f=t.useContext(x),e=f.suggestedUpdateState,a=e[0],n=e[1];return[a,function(){n(Date.now())}]}function Yf(){var f=Pf(),e=f[0];return!!e}function S(f){f&&requestAnimationFrame(function(){f.focus()})}function Ca(f){if(f){var e=f.previousElementSibling;S(e)}}function ya(f){if(f){var e=f.nextElementSibling;S(e)}}function Ia(f){if(f){var e=f.firstElementChild;S(e)}}function lf(){return document.activeElement}function N1(f){var e=f.children,a=t.useRef(null),n=t.useRef(null),i=t.useRef(null),u=t.useRef(null),r=t.useRef(null),o=t.useRef(null),d=t.useRef(null),s=t.useRef(null);return t.createElement(pa.Provider,{value:{AnchoredEmojiRef:n,BodyRef:i,CategoryNavigationRef:o,PickerMainRef:a,SearchInputRef:u,SkinTonePickerRef:r,VariationPickerRef:d,ReactionsRef:s}},e)}var pa=t.createContext({AnchoredEmojiRef:t.createRef(),BodyRef:t.createRef(),CategoryNavigationRef:t.createRef(),PickerMainRef:t.createRef(),SearchInputRef:t.createRef(),SkinTonePickerRef:t.createRef(),VariationPickerRef:t.createRef(),ReactionsRef:t.createRef()});function O(){return t.useContext(pa)}function jf(){return O().PickerMainRef}function Jf(){return O().AnchoredEmojiRef}function va(){var f=Jf();return function(e){e===null&&f.current!==null&&S(f.current),f.current=e}}function A(){return O().BodyRef}function k1(){return O().ReactionsRef}function U(){return O().SearchInputRef}function ce(){return O().SkinTonePickerRef}function se(){return O().CategoryNavigationRef}function D1(){return O().VariationPickerRef}function ha(f,e){e===void 0&&(e=0);var a=Oa(f);a&&requestAnimationFrame(function(){a.scrollTop=e+1})}function S1(f,e){var a=Oa(f);a&&requestAnimationFrame(function(){a.scrollTop=a.scrollTop+e})}function T1(){var f=A();return t.useCallback(function(e){requestAnimationFrame(function(){f.current&&(f.current.scrollTop=e)})},[f])}function Rf(f){if(!(!f||!yn(f))&&!f.closest(N(g.variationPicker))){var e=Ga(f),a=Ua(f);S1(e,-(be(G(f))-a))}}function Of(f){var e=ye(f);S(e),Rf(e)}function z1(f){var e=ye(f);S(e),e?.click()}function E1(f){S(Wa(f))}function x1(f){if(f){var e=Fa(f);if(!e)return Of(Gf(f));S(e),Rf(e)}}function A1(f){if(f){var e=Ce(f);if(!e)return E1(Uf(f));S(e),Rf(e)}}function Q1(f,e){if(f){var a=Y1(f);if(!a)return e();S(a),Rf(a)}}function P1(f){if(f){var e=J1(f);return S(e)}}function Y1(f){if(!f)return null;var e=Va(f),a=G(e),n=Pa(e,f),i=Ya(e,f),u=Qa(e,f);if(i===0){var r=Uf(a);return r?Ja(ff(r),-1,u,n):null}return gn(ff(e),i,u,n)}function J1(f){if(!f)return null;var e=Va(f),a=G(e),n=Pa(e,f),i=Ya(e,f),u=Qa(e,f);if(!ln(e,f)){var r=Gf(a);return r?Ja(ff(r),0,u,n):null}var o=Ln(ff(e),i,u,n);return o}function V(){var f=nf(),e=f[0],a=f[1],n=bf(),i=n[0],u=n[1],r=t.useCallback(function(){e&&a(null),i&&u(!1)},[e,i,a,u]);return r}function Na(){var f=nf(),e=f[0],a=bf(),n=a[0];return function(){return!!e||n}}function R1(){var f=oe();return function(){f.current=!0}}function ka(){var f=oe();return function(){f.current=!1}}function Da(){var f=oe();return function(){return f.current}}function O1(){var f=A(),e=ka(),a=Da();t.useEffect(function(){var n=f.current;n?.addEventListener("mousemove",i,{passive:!0});function i(){a()&&e()}return function(){n?.removeEventListener("mousemove",i)}},[f,e,a])}function K(){var f=U();return t.useCallback(function(){S(f.current)},[f])}function U1(){var f=ce();return t.useCallback(function(){f.current&&Ia(f.current)},[f])}function Sa(){var f=se();return t.useCallback(function(){f.current&&Ia(f.current)},[f])}function G1(){var f=re();return function e(a){if(typeof a=="function")return e(a(f.current));f.current=a}}function Ta(){var f=le(),e=U(),a=K();return function(){e.current&&(e.current.value=""),f(""),a()}}function Z1(){var f=U(),e=le();return function(n){f.current?(f.current.value=""+f.current.value+n,e(fe(f.current.value))):e(fe(n))}}function B1(){var f=U(),e=re(),a=G1(),n=le(),i=Pf(),u=i[0],r=X1(e.current,u);return{onChange:o,searchTerm:u,SearchInputRef:f,statusSearchResults:r};function o(d){var s=e.current,c=d.toLowerCase();if(s!=null&&s[c]||c.length<=1)return n(c);var l=K1(c,s);if(!l)return n(c);a(function(M){var w;return Object.assign(M,(w={},w[c]=H1(l,c),w))}),n(c)}}function le(){var f=Pf(),e=f[1],a=jf();return function(i){requestAnimationFrame(function(){e(i&&i?.toLowerCase()).then(function(){ha(a.current,0)})})}}function H1(f,e){var a={};for(var n in f){var i=f[n];W1(i,e)&&(a[n]=i)}return a}function W1(f,e){return gf(f).some(function(a){return a.includes(e)})}function F1(){var f=re(),e=f.current,a=Pf(),n=a[0];return function(i){return V1(i,e,n)}}function V1(f,e,a){var n;return!e||!a?!1:!((n=e[a])!=null&&n[f])}function K1(f,e){if(!e)return null;if(e[f])return e[f];var a=Object.keys(e).sort(function(n,i){return i.length-n.length}).find(function(n){return f.includes(n)});return a?e[a]:null}function fe(f){return!f||typeof f!="string"?"":f.trim().toLowerCase()}function X1(f,e){var a;if(!(f!=null&&f[e]))return"";var n=((a=Object.entries(f?.[e]))==null?void 0:a.length)||0;return j1(n)}function za(){var f=va(),e=nf(),a=e[1];return function(i){var u=we(i),r=u[0];r&&(f(i),a(r))}}function Me(){var f=wa();return f===q.SEARCH}function Ea(){var f=wa();return f===q.PREVIEW}var h;(function(f){f.ArrowDown="ArrowDown",f.ArrowUp="ArrowUp",f.ArrowLeft="ArrowLeft",f.ArrowRight="ArrowRight",f.Escape="Escape",f.Enter="Enter",f.Space=" "})(h||(h={}));function _1(){q1(),$1(),fn(),en(),an()}function q1(){var f=jf(),e=Ta(),a=T1(),n=U(),i=K(),u=Na(),r=R1(),o=V(),d=t.useMemo(function(){return function(c){var l=c.key;switch(r(),l){case h.Escape:if(c.preventDefault(),u()){o();return}e(),a(0),i();break}}},[a,e,o,i,u,r]);t.useEffect(function(){var s=f.current;if(s)return s.addEventListener("keydown",d),function(){s.removeEventListener("keydown",d)}},[f,n,a,d])}function $1(){var f=U1(),e=jf(),a=A(),n=U(),i=bf(),u=i[1],r=xa(),o=Me(),d=t.useMemo(function(){return function(c){var l=c.key;switch(l){case h.ArrowRight:if(!o)return;c.preventDefault(),u(!0),f();break;case h.ArrowDown:c.preventDefault(),r();break;case h.Enter:c.preventDefault(),z1(a.current);break}}},[f,r,u,a,o]);t.useEffect(function(){var s=n.current;if(s)return s.addEventListener("keydown",d),function(){s.removeEventListener("keydown",d)}},[e,n,d])}function fn(){var f=ce(),e=K(),a=U(),n=xa(),i=bf(),u=i[0],r=i[1],o=Ea(),d=Me(),s=Le(),c=t.useMemo(function(){return function(M){var w=M.key;if(d)switch(w){case h.ArrowLeft:if(M.preventDefault(),!u)return e();Te(e);break;case h.ArrowRight:if(M.preventDefault(),!u)return e();ze();break;case h.ArrowDown:M.preventDefault(),u&&r(!1),n();break;default:s(M);break}if(o)switch(w){case h.ArrowUp:if(M.preventDefault(),!u)return e();Te(e);break;case h.ArrowDown:if(M.preventDefault(),!u)return e();ze();break;default:s(M);break}}},[u,e,r,n,s,o,d]);t.useEffect(function(){var l=f.current;if(l)return l.addEventListener("keydown",c),function(){l.removeEventListener("keydown",c)}},[f,a,u,c])}function en(){var f=K(),e=se(),a=A(),n=Le(),i=t.useMemo(function(){return function(r){var o=r.key;switch(o){case h.ArrowUp:r.preventDefault(),f();break;case h.ArrowRight:r.preventDefault(),ya(lf());break;case h.ArrowLeft:r.preventDefault(),Ca(lf());break;case h.ArrowDown:r.preventDefault(),Of(a.current);break;default:n(r);break}}},[a,f,n]);t.useEffect(function(){var u=e.current;if(u)return u.addEventListener("keydown",i),function(){u.removeEventListener("keydown",i)}},[e,a,i])}function an(){var f=A(),e=nn(),a=za(),n=Na(),i=V(),u=Le(),r=t.useMemo(function(){return function(d){var s=d.key,c=P(lf());switch(s){case h.ArrowRight:d.preventDefault(),x1(c);break;case h.ArrowLeft:d.preventDefault(),A1(c);break;case h.ArrowDown:if(d.preventDefault(),n()){i();break}P1(c);break;case h.ArrowUp:if(d.preventDefault(),n()){i();break}Q1(c,e);break;case h.Space:d.preventDefault(),a(d.target);break;default:u(d);break}}},[e,u,a,n,i]);t.useEffect(function(){var o=f.current;if(o)return o.addEventListener("keydown",r),function(){o.removeEventListener("keydown",r)}},[f,r])}function xa(){var f=Sa(),e=Yf(),a=A();return t.useCallback(function(){return e?Of(a.current):f()},[a,f,e])}function nn(){var f=K(),e=Sa(),a=Yf();return t.useCallback(function(){return a?f():e()},[f,a,e])}function Te(f){var e=lf();e&&(bn(e)||f(),ya(e))}function ze(){var f=lf();f&&Ca(f)}function Le(){var f=Z1(),e=K(),a=ga(),n=V();return function(u){var r=u.key;un(u)||a||r.match(/(^[a-zA-Z0-9]$){1}/)&&(u.preventDefault(),n(),e(),f(r))}}function un(f){var e=f.metaKey,a=f.ctrlKey,n=f.altKey;return e||a||n}function tn(f,e,a){if(e&&a!==D.NATIVE){var n=k(e);Ee.has(n)||(wf(e).forEach(function(i){var u=f(i,a);rn(u)}),Ee.add(n))}}var Ee=new Set;function rn(f){var e=new Image;e.src=f}function on(){var f=A(),e=F(),a=af();t.useEffect(function(){if(e===D.NATIVE)return;var n=f.current;return n?.addEventListener("focusin",i),function(){n?.removeEventListener("focusin",i)};function i(u){var r=P(u.target);if(r){var o=we(r),d=o[0];d&&ef(d)&&tn(a,d,e)}}},[f,e,a])}var dn=["width","height"],Aa=40;function cn(f){var e=f.children;return t.createElement(p1,null,t.createElement(sn,null,e))}function sn(f){var e,a=f.children,n=Qf(),i=n[0],u=d1(),r=Yf(),o=jf(),d=l1(),s=M1();_1(),on();var c=s||{},l=c.width,M=c.height,w=fa(c,dn);return t.createElement("aside",{className:b(uf.main,uf.baseVariables,u===H.DARK&&uf.darkTheme,u===H.AUTO&&uf.autoThemeDark,(e={},e[g.searchActive]=r,e),i&&uf.reactionsMenu,d),ref:o,style:C({},w,!i&&{height:M,width:l})},a)}var xe={"--epr-emoji-variation-picker-bg-color":"var(--epr-dark-emoji-variation-picker-bg-color)","--epr-hover-bg-color-reduced-opacity":"var(--epr-dark-hover-bg-color-reduced-opacity)","--epr-highlight-color":"var(--epr-dark-highlight-color)","--epr-text-color":"var(--epr-dark-text-color)","--epr-hover-bg-color":"var(--epr-dark-hover-bg-color)","--epr-focus-bg-color":"var(--epr-dark-focus-bg-color)","--epr-search-input-bg-color":"var(--epr-dark-search-input-bg-color)","--epr-category-label-bg-color":"var(--epr-dark-category-label-bg-color)","--epr-picker-border-color":"var(--epr-dark-picker-border-color)","--epr-bg-color":"var(--epr-dark-bg-color)","--epr-reactions-bg-color":"var(--epr-dark-reactions-bg-color)","--epr-search-input-bg-color-active":"var(--epr-dark-search-input-bg-color-active)","--epr-emoji-variation-indicator-color":"var(--epr-dark-emoji-variation-indicator-color)","--epr-category-icon-active-color":"var(--epr-dark-category-icon-active-color)","--epr-skin-tone-picker-menu-color":"var(--epr-dark-skin-tone-picker-menu-color)"},uf=m.create({main:{".":["epr-main",g.emojiPicker],position:"relative",display:"flex",flexDirection:"column",borderWidth:"1px",borderStyle:"solid",borderRadius:"var(--epr-picker-border-radius)",borderColor:"var(--epr-picker-border-color)",backgroundColor:"var(--epr-bg-color)",overflow:"hidden",transition:"all 0.3s ease-in-out, background-color 0.1s ease-in-out","*":{boxSizing:"border-box",fontFamily:"sans-serif"}},baseVariables:{"--":{"--epr-highlight-color":"#007aeb","--epr-hover-bg-color":"#f1f8ff","--epr-hover-bg-color-reduced-opacity":"#f1f8ff80","--epr-focus-bg-color":"#e0f0ff","--epr-text-color":"#858585","--epr-search-input-bg-color":"#f6f6f6","--epr-picker-border-color":"#e7e7e7","--epr-bg-color":"#fff","--epr-reactions-bg-color":"#ffffff90","--epr-category-icon-active-color":"#6aa8de","--epr-skin-tone-picker-menu-color":"#ffffff95","--epr-horizontal-padding":"10px","--epr-picker-border-radius":"8px","--epr-search-border-color":"var(--epr-highlight-color)","--epr-header-padding":"15px var(--epr-horizontal-padding)","--epr-active-skin-tone-indicator-border-color":"var(--epr-highlight-color)","--epr-active-skin-hover-color":"var(--epr-hover-bg-color)","--epr-search-input-bg-color-active":"var(--epr-search-input-bg-color)","--epr-search-input-padding":"0 30px","--epr-search-input-border-radius":"8px","--epr-search-input-height":"40px","--epr-search-input-text-color":"var(--epr-text-color)","--epr-search-input-placeholder-color":"var(--epr-text-color)","--epr-search-bar-inner-padding":"var(--epr-horizontal-padding)","--epr-category-navigation-button-size":"30px","--epr-emoji-variation-picker-height":"45px","--epr-emoji-variation-picker-bg-color":"var(--epr-bg-color)","--epr-preview-height":"70px","--epr-preview-text-size":"14px","--epr-preview-text-padding":"0 var(--epr-horizontal-padding)","--epr-preview-border-color":"var(--epr-picker-border-color)","--epr-preview-text-color":"var(--epr-text-color)","--epr-category-padding":"0 var(--epr-horizontal-padding)","--epr-category-label-bg-color":"#ffffffe6","--epr-category-label-text-color":"var(--epr-text-color)","--epr-category-label-padding":"0 var(--epr-horizontal-padding)","--epr-category-label-height":Aa+"px","--epr-emoji-size":"30px","--epr-emoji-padding":"5px","--epr-emoji-fullsize":"calc(var(--epr-emoji-size) + var(--epr-emoji-padding) * 2)","--epr-emoji-hover-color":"var(--epr-hover-bg-color)","--epr-emoji-variation-indicator-color":"var(--epr-picker-border-color)","--epr-emoji-variation-indicator-color-hover":"var(--epr-text-color)","--epr-header-overlay-z-index":"3","--epr-emoji-variations-indictator-z-index":"1","--epr-category-label-z-index":"2","--epr-skin-variation-picker-z-index":"5","--epr-preview-z-index":"6","--epr-dark":"#000","--epr-dark-emoji-variation-picker-bg-color":"var(--epr-dark)","--epr-dark-highlight-color":"#c0c0c0","--epr-dark-text-color":"var(--epr-highlight-color)","--epr-dark-hover-bg-color":"#363636f6","--epr-dark-hover-bg-color-reduced-opacity":"#36363680","--epr-dark-focus-bg-color":"#474747","--epr-dark-search-input-bg-color":"#333333","--epr-dark-category-label-bg-color":"#222222e6","--epr-dark-picker-border-color":"#151617","--epr-dark-bg-color":"#222222","--epr-dark-reactions-bg-color":"#22222290","--epr-dark-search-input-bg-color-active":"var(--epr-dark)","--epr-dark-emoji-variation-indicator-color":"#444","--epr-dark-category-icon-active-color":"#3271b7","--epr-dark-skin-tone-picker-menu-color":"#22222295"}},autoThemeDark:{".":g.autoTheme,"@media (prefers-color-scheme: dark)":{"--":xe}},darkTheme:{".":g.darkTheme,"--":xe},reactionsMenu:{".":"epr-reactions",height:"50px",display:"inline-flex",backgroundColor:"var(--epr-reactions-bg-color)",backdropFilter:"blur(8px)","--":{"--epr-picker-border-radius":"50px"}}});function Qa(f,e){if(!f||!e)return 0;var a=f.getBoundingClientRect().width,n=e.getBoundingClientRect().width;return Math.floor(a/n)}function Pa(f,e){if(!f||!e)return 0;var a=e.getBoundingClientRect().width,n=e.getBoundingClientRect().left,i=f.getBoundingClientRect().left;return Math.floor((n-i)/a)}function Ya(f,e){if(!f||!e)return 0;var a=e.getBoundingClientRect().height,n=e.getBoundingClientRect().top,i=f.getBoundingClientRect().top;return Math.round((n-i)/a)}function ln(f,e){if(!f||!e)return!1;var a=e.getBoundingClientRect().height,n=e.getBoundingClientRect().top,i=f.getBoundingClientRect().top,u=f.getBoundingClientRect().height;return Math.round(n-i+a)f.length?[]:ge(f,n,a)}function Ja(f,e,a,n){var i=ge(f,e,a);return i[n]||i[i.length-1]||null}function Ln(f,e,a,n){var i=Mn(f,e,a);return i[n]||i[i.length-1]||null}function gn(f,e,a,n){var i=ge(f,e-1,a);return i[n]||i[i.length-1]||null}function wn(f,e){if(!f||!e.length)return null;var a=f.getBoundingClientRect().top,n=f.getBoundingClientRect().bottom,i=a+jn(f),u=e.find(function(r){var o=r.getBoundingClientRect().top,d=r.getBoundingClientRect().bottom;return o=a&&o<=n||d>=a&&d<=n});return u||null}function bn(f){return!!f.nextElementSibling}function jn(f){var e,a;return(e=(a=f.querySelector(N(g.label)))==null?void 0:a.getBoundingClientRect().height)!=null?e:Aa}var Tf="button"+N(g.emoji),mn=[Tf,N(g.visible),":not("+N(g.hidden)+")"].join("");function P(f){var e;return(e=f?.closest(Tf))!=null?e:null}function we(f){var e=Za(f),a=je(f);if(!e)return[];var n=$(a??e);return n?[n,a]:[]}function Cn(f){var e;return!!(f?.matches(Tf)||!(f==null||(e=f.parentElement)==null)&&e.matches(Tf))}function Ae(f){var e;return(e=f?.clientHeight)!=null?e:0}function Ra(f){if(!f)return 0;var e=P(f),a=G(e),n=be(a);return Qe(e)+Qe(a)+n}function be(f){var e,a;if(!f)return 0;var n=f.querySelector(N(g.categoryContent));return((e=f?.clientHeight)!=null?e:0)-((a=n?.clientHeight)!=null?a:0)}function yn(f){return f?Ua(f)0?[]:G0(e);w.length>0&&n.current++;var j=0,I=w.map(function(v){var T=k(v,s),p=i(v),Y=p.failedToLoad,Z=p.filteredOut,B=p.hidden,J=c(v);return(B||J)&&j++,J?null:t.createElement(Zf,{showVariations:M,key:T,emoji:v,unified:T,hidden:Y,hiddenOnSearch:Z,emojiStyle:r,lazyLoad:u,getEmojiUrl:l})});return t.createElement(f0,{categoryConfig:a,hidden:j===I.length},I)}var Zn=m.create({emojiList:{".":g.emojiList,listStyle:"none",margin:"0",padding:"0"}}),Bn="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI1MHB4IgoJIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDUwIDE1IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MCAxNSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSJMYXllcl8xIj4KPC9nPgo8ZyBpZD0iTGF5ZXJfMiI+Cgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBzdHJva2U9IiNFOEU3RTciIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEuODYtMC40M2w5LjgzLDExLjUzYzAuNTksMC42OSwxLjU2LDAuNjksMi4xNCwwbDkuODMtMTEuNTMiLz4KCTxwYXRoIGZpbGw9IiMwMTAyMDIiIHN0cm9rZT0iIzE1MTYxNyIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMjYuODYtMC40M2w5LjgzLDExLjUzYzAuNTksMC42OSwxLjU2LDAuNjksMi4xNCwwbDkuODMtMTEuNTMiLz4KPC9nPgo8L3N2Zz4=",_;(function(f){f[f.Up=0]="Up",f[f.Down=1]="Down"})(_||(_={}));function Hn(){var f=Jf(),e=D1(),a=nf(),n=a[0],i=F(),u=Fn(e),r=u.getTop,o=u.getMenuDirection,d=va(),s=Wn(e),c=af(),l=P(f.current),M=!!(n&&l&&ef(n)&&l.classList.contains(g.emojiHasVariations));t.useEffect(function(){M&&Of(e.current)},[e,M,f]);var w,j;return!M&&f.current?d(null):(w=r(),j=s()),t.createElement("div",{ref:e,className:b(Cf.variationPicker,o()===_.Down&&Cf.pointingUp,M&&Cf.visible),style:{top:w}},M&&n?[k(n)].concat(wf(n)).slice(0,6).map(function(I){return t.createElement(Zf,{key:I,emoji:n,unified:I,emojiStyle:i,showVariations:!1,getEmojiUrl:c})}):null,t.createElement("div",{className:b(Cf.pointer),style:j}))}function Wn(f){var e=Jf();return function(){var n={};if(!f.current)return n;if(e.current){var i=P(e.current),u=In(i);if(!i)return n;n.left=u+i?.clientWidth/2}return n}}function Fn(f){var e=Jf(),a=A(),n=_.Up;return{getMenuDirection:i,getTop:u};function i(){return n}function u(){n=_.Up;var r=0;if(!f.current)return 0;var o=Ae(f.current);if(e.current){var d,s=a.current,c=P(e.current),l=Ae(c);r=Ra(c);var M=(d=s?.scrollTop)!=null?d:0;M>r-o&&(n=_.Down,r+=l+o)}return r-o}}var Cf=m.create(C({variationPicker:{".":g.variationPicker,position:"absolute",right:"15px",left:"15px",padding:"5px",boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.2)",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"space-around",opacity:"0",visibility:"hidden",pointerEvents:"none",top:"-100%",border:"1px solid var(--epr-picker-border-color)",height:"var(--epr-emoji-variation-picker-height)",zIndex:"var(--epr-skin-variation-picker-z-index)",background:"var(--epr-emoji-variation-picker-bg-color)",transform:"scale(0.9)",transition:"transform 0.1s ease-out, opacity 0.2s ease-out"},visible:{opacity:"1",visibility:"visible",pointerEvents:"all",transform:"scale(1)"},pointingUp:{".":"pointing-up",transformOrigin:"center 0%",transform:"scale(0.9)"},".pointing-up":{pointer:{top:"0",transform:"rotate(180deg) translateY(100%) translateX(18px)"}},pointer:{".":"epr-emoji-pointer",content:"",position:"absolute",width:"25px",height:"15px",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",backgroundSize:"50px 15px",top:"100%",transform:"translateX(-18px)",backgroundImage:"url("+Bn+")"}},R("pointer",{backgroundPosition:"-25px 0"})));function Vn(){var f=A();return Yn(f),$a(f,sf.PICKER),O1(),t.createElement("div",{className:b(Kn.body,W.hiddenOnReactions),ref:f},t.createElement(Hn,null),t.createElement(Un,null))}var Kn=m.create({body:{".":g.scrollBody,flex:"1",overflowY:"scroll",overflowX:"hidden",position:"relative"}});function Xn(f,e){if(!f||!e)return 0;var a=f.getBoundingClientRect(),n=e.getBoundingClientRect();return n.height-(a.y-n.y)}function _n(f,e){var a=A(),n=Da(),i=ka();t.useEffect(function(){if(!f)return;var u=a.current;u?.addEventListener("keydown",d,{passive:!0}),u?.addEventListener("mouseover",s,!0),u?.addEventListener("focus",r,!0),u?.addEventListener("mouseout",o,{passive:!0}),u?.addEventListener("blur",o,!0);function r(c){var l=P(c.target);if(!l)return o();var M=Ba(l),w=M.unified,j=M.originalUnified;if(!w||!j)return o();e({unified:w,originalUnified:j})}function o(c){if(c){var l=c.relatedTarget;if(!P(l))return e(null)}e(null)}function d(c){c.key==="Escape"&&e(null)}function s(c){if(!n()){var l=P(c.target);if(l){var M=Xn(l,u),w=l.getBoundingClientRect().height;if(M button":{width:"var(--epr-skin-tone-size)",display:"block",cursor:"pointer",borderRadius:"4px",height:"var(--epr-skin-tone-size)",position:"absolute",right:"0",transition:"transform 0.3s ease-in-out, opacity 0.35s ease-in-out",zIndex:"0",boxShadow:"0 0 0 0px var(--epr-active-skin-hover-color)"}}});function ni(){var f=La(),e=Ea();return f.showPreview?t.createElement(e0,{className:b(vf.preview,W.hiddenOnReactions)},t.createElement(ii,null),t.createElement($n,null),e?t.createElement(ai,null):null):null}function ii(){var f,e=La(),a=t.useState(null),n=a[0],i=a[1],u=F(),r=nf(),o=r[0],d=af();_n(e.showPreview,i);var s=$((f=n?.unified)!=null?f:n?.originalUnified),c=s!=null&&n!=null;return t.createElement(l,null);function l(){var M=o??$(e.defaultEmoji);if(!M)return null;var w=o?$f(o):e.defaultCaption;return t.createElement(t.Fragment,null,t.createElement("div",null,c?t.createElement(ee,{unified:n?.unified,emoji:s,emojiStyle:u,size:45,getEmojiUrl:d,className:b(vf.emoji)}):M?t.createElement(ee,{unified:k(M),emoji:M,emojiStyle:u,size:45,getEmojiUrl:d,className:b(vf.emoji)}):null),t.createElement("div",{className:b(vf.label)},c?$f(s):w))}}var vf=m.create({preview:{alignItems:"center",borderTop:"1px solid var(--epr-preview-border-color)",height:"var(--epr-preview-height)",padding:"0 var(--epr-horizontal-padding)",position:"relative",zIndex:"var(--epr-preview-z-index)"},label:{color:"var(--epr-preview-text-color)",fontSize:"var(--epr-preview-text-size)",padding:"var(--epr-preview-text-padding)",textTransform:"capitalize"},emoji:{padding:"0"}});function ui(f){var e;return(e=f?.getAttribute("data-name"))!=null?e:null}function ti(f){var e=A();t.useEffect(function(){var a=new Map,n=e.current,i=new IntersectionObserver(function(u){if(n){for(var r=m0(u),o;!(o=r()).done;){var d=o.value,s=ui(d.target);a.set(s,d.intersectionRatio)}var c=Array.from(a),l=c[c.length-1];if(l[1]==1)return f(l[0]);for(var M=0,w=c;M .epr-icn-clear-search":{backgroundPositionY:"-60px"}}},Ze=m.create(C({btnClearSearch:{".":"epr-btn-clear-search",position:"absolute",right:"var(--epr-search-bar-inner-padding)",height:"30px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",transform:"translateY(-50%)",padding:"0",borderRadius:"50%",":hover":{background:"var(--epr-hover-bg-color)"},":focus":{background:"var(--epr-hover-bg-color)"}},icnClearnSearch:{".":"epr-icn-clear-search",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",height:"20px",width:"20px",backgroundImage:"url("+n0+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},R("icnClearnSearch",{backgroundPositionY:"-40px"}),R("btnClearSearch",wi))),Kf=N(g.emojiPicker)+" "+N(g.emojiList),i0=["button",N(g.emoji)].join(""),bi=N(g.category);function ji(f){var e=f.value;if(!e)return null;var a=mi(e);return t.createElement("style",null,` + `+Kf+" "+i0+` { + display: none; + } + + + `+Kf+" "+a+` { + display: flex; + } + + `+Kf+" "+bi+":not(:has("+a+`)) { + display: none; + } + `)}function mi(f){return[i0,'[data-full-name*="',fe(f),'"]'].join("")}var Ci="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCAyMCA0MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgNDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iIzg2ODY4NiIgZD0iTTEyLDguODFjMCwyLjA4LTEuNjgsMy43Ni0zLjc2LDMuNzZjLTIuMDgsMC0zLjc2LTEuNjgtMy43Ni0zLjc2CgljMC0yLjA4LDEuNjgtMy43NiwzLjc2LTMuNzZDMTAuMzIsNS4wNSwxMiw2LjczLDEyLDguODF6IE0xMS4yMywxMi43MmMtMC44MywwLjY0LTEuODcsMS4wMS0yLjk5LDEuMDFjLTIuNzIsMC00LjkyLTIuMi00LjkyLTQuOTIKCWMwLTIuNzIsMi4yLTQuOTIsNC45Mi00LjkyYzIuNzIsMCw0LjkyLDIuMiw0LjkyLDQuOTJjMCwxLjEzLTAuMzgsMi4xNi0xLjAxLDIuOTlsMy45NCwzLjkzYzAuMjUsMC4yNSwwLjI1LDAuNjYsMCwwLjkyCgljLTAuMjUsMC4yNS0wLjY2LDAuMjUtMC45MiwwTDExLjIzLDEyLjcyeiIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI0MwQzBCRiIgZD0iTTEyLDI4LjgxYzAsMi4wOC0xLjY4LDMuNzYtMy43NiwzLjc2Yy0yLjA4LDAtMy43Ni0xLjY4LTMuNzYtMy43NgoJYzAtMi4wOCwxLjY4LTMuNzYsMy43Ni0zLjc2QzEwLjMyLDI1LjA1LDEyLDI2LjczLDEyLDI4LjgxeiBNMTEuMjMsMzIuNzJjLTAuODMsMC42NC0xLjg3LDEuMDEtMi45OSwxLjAxCgljLTIuNzIsMC00LjkyLTIuMi00LjkyLTQuOTJjMC0yLjcyLDIuMi00LjkyLDQuOTItNC45MmMyLjcyLDAsNC45MiwyLjIsNC45Miw0LjkyYzAsMS4xMy0wLjM4LDIuMTYtMS4wMSwyLjk5bDMuOTQsMy45MwoJYzAuMjUsMC4yNSwwLjI1LDAuNjYsMCwwLjkyYy0wLjI1LDAuMjUtMC42NiwwLjI1LTAuOTIsMEwxMS4yMywzMi43MnoiLz4KPC9zdmc+";function yi(){return t.createElement("div",{className:b(Ii.icnSearch)})}var Ii=m.create(C({icnSearch:{".":"epr-icn-search",content:"",position:"absolute",top:"50%",left:"var(--epr-search-bar-inner-padding)",transform:"translateY(-50%)",width:"20px",height:"20px",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",backgroundSize:"20px",backgroundImage:"url("+Ci+")"}},R("icnSearch",{backgroundPositionY:"-20px"})));function pi(){var f=ga(),e=Me();return f?null:t.createElement(e0,{className:b(hf.overlay)},t.createElement(vi,null),e?t.createElement(a0,null):null)}function vi(){var f=t.useState(0),e=f[0],a=f[1],n=V(),i=U(),u=n1(),r=u1(),o=B1(),d=o.statusSearchResults,s=o.searchTerm,c=o.onChange,l=i?.current,M=l?.value;return t.createElement(Bf,{className:b(hf.searchContainer)},t.createElement(ji,{value:M}),t.createElement("input",{autoFocus:r,"aria-label":"Type to search for an emoji",onFocus:n,className:b(hf.search),type:"text","aria-controls":"epr-search-id",placeholder:u,onChange:function(j){a(e+1),setTimeout(function(){var I,v;c((I=j==null||(v=j.target)==null?void 0:v.value)!=null?I:M)})},ref:i}),s?t.createElement("div",{role:"status",className:b("epr-status-search-results",hf.visuallyHidden),"aria-live":"polite",id:"epr-search-id","aria-atomic":"true"},d):null,t.createElement(yi,null),t.createElement(gi,null))}var hf=m.create(C({overlay:{padding:"var(--epr-header-padding)",zIndex:"var(--epr-header-overlay-z-index)"},searchContainer:{".":"epr-search-container",flex:"1",display:"block",minWidth:"0"},visuallyHidden:{clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"},search:{outline:"none",transition:"all 0.2s ease-in-out",color:"var(--epr-search-input-text-color)",borderRadius:"var(--epr-search-input-border-radius)",padding:"var(--epr-search-input-padding)",height:"var(--epr-search-input-height)",backgroundColor:"var(--epr-search-input-bg-color)",border:"1px solid var(--epr-search-input-bg-color)",width:"100%",":focus":{backgroundColor:"var(--epr-search-input-bg-color-active)",border:"1px solid var(--epr-search-border-color)"},"::placeholder":{color:"var(--epr-search-input-placeholder-color)"}},btnClearSearch:{".":"epr-btn-clear-search",position:"absolute",right:"var(--epr-search-bar-inner-padding)",height:"30px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",transform:"translateY(-50%)",padding:"0",borderRadius:"50%",":hover":{background:"var(--epr-hover-bg-color)"},":focus":{background:"var(--epr-hover-bg-color)"}},icnClearnSearch:{".":"epr-icn-clear-search",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",height:"20px",width:"20px",backgroundImage:"url("+n0+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},R("icnClearnSearch",{backgroundPositionY:"-40px"}),R("btnClearSearch",{":hover > .epr-icn-clear-search":{backgroundPositionY:"-60px"}})));function hi(){return t.createElement(Bf,{className:b("epr-header",W.hiddenOnReactions)},t.createElement(pi,null),t.createElement(Mi,null))}function Ni(f){return t.createElement(N1,null,t.createElement(C0,null),t.createElement($0,Object.assign({},f),t.createElement(ki,null)))}function ki(){var f=Qf(),e=f[0],a=sa(),n=t.useState(!e),i=n[0],u=n[1],r=r1();return t.useEffect(function(){e&&!a||i||u(!0)},[i,a,e]),r?t.createElement(cn,null,t.createElement(Pn,null),t.createElement(Di,{renderAll:i})):null}function Di(f){var e=f.renderAll;return e?t.createElement(t.Fragment,null,t.createElement(hi,null),t.createElement(Vn,null),t.createElement(ni,null)):null}var Si=t.memo(Ni,ea),Ti=function(f){b0(e,f);function e(n){var i;return i=f.call(this,n)||this,i.state={hasError:!1},i}e.getDerivedStateFromError=function(){return{hasError:!0}};var a=e.prototype;return a.componentDidCatch=function(i,u){console.error("Emoji Picker React failed to render:",i,u)},a.render=function(){return this.state.hasError?null:this.props.children},e}(t.Component);function zi(f){var e=a1({onEmojiClick:f.onEmojiClick,onReactionClick:f.onReactionClick});return t.createElement(Ti,null,t.createElement(ca.Provider,{value:e},t.createElement(Si,Object.assign({},f))))}const Ei=t.memo(({onEmojiSelect:f})=>{const e=t0();return u0.jsx(zi,{theme:e?H.DARK:H.LIGHT,onEmojiClick:a=>{f(a.emoji)},emojiStyle:D.NATIVE})});Ei.displayName="EmojiPicker";export{Ei as EmojiPicker}; diff --git a/assets/ExcalidrawLoading-Id2ozXoI.js b/assets/ExcalidrawLoading-Id2ozXoI.js new file mode 100644 index 00000000000..b6a858d901f --- /dev/null +++ b/assets/ExcalidrawLoading-Id2ozXoI.js @@ -0,0 +1,2 @@ +import{r as c,j as o}from"./index-ZXl4th35.js";import{E as l}from"./react-error-boundary.esm-e5Yyzoa4.js";import{B as i}from"./Mermaid-gWIn58QC.js";import{l as a}from"./CodeHighlighter-Mm1eioOt.js";import{g as h}from"./lodash-lrAbnKsZ.js";import{u}from"./motion-minimal-epsqYg85.js";const p=c.createContext({}),b=t=>{const{dls:r}=t,n=g(r),e=c.useMemo(()=>n.height?{height:/^\d+$/.test(n.height)?`${n.height}px`:n.height}:{},[n.height]);return o.jsx(l,{fallback:o.jsx(d,{style:e}),children:o.jsx(p.Provider,{value:e,children:o.jsx(x,{...n})})})},x=t=>{const[r,n]=c.useState({component:m}),e=c.useContext(p);return u(()=>{a("https://unpkg.com/styled-components/dist/styled-components.min.js").then(()=>a(t.import)).then(()=>{const s=h(window,t.name);console.log("Component",s),n({component:s})})},[t]),o.jsx(l,{fallback:o.jsx(d,{style:e}),children:o.jsx(c.Suspense,{fallback:o.jsx(m,{style:e}),children:o.jsx("div",{style:e,className:"overflow-hidden",children:o.jsx(r.component,{})})})})},d=({style:t})=>o.jsx(i,{style:t,className:"bg-red-300 dark:bg-red-700",children:"Component Error"}),m=({style:t})=>o.jsx(i,{style:t,children:"Component Loading..."});function g(t){const r={};return t.split(` +`).forEach(n=>{const[e,s]=n.split("=");r[e]=s}),r}const L=()=>o.jsx(i,{children:"Excalidraw Loading..."});export{L as E,b as R}; diff --git a/assets/FloatPopover-3waN72gb.js b/assets/FloatPopover-3waN72gb.js new file mode 100644 index 00000000000..1ca24216a7b --- /dev/null +++ b/assets/FloatPopover-3waN72gb.js @@ -0,0 +1 @@ +import{r as x,b as Lt,R as yt,j as B}from"./index-ZXl4th35.js";import{a as $t}from"./spring-hnK4kZop.js";import{u as Yt}from"./use-event-callback-ULpIcVk8.js";import{c as ut,m as wt}from"./motion-minimal-epsqYg85.js";import{u as Xt}from"./use-is-client-6Iy0halI.js";import{i as qt}from"./env-y9k74Ds6.js";import{A as Ut}from"./index-LA8z4iWc.js";const et=Math.min,$=Math.max,nt=Math.round,Z=Math.floor,H=t=>({x:t,y:t}),Kt={left:"right",right:"left",bottom:"top",top:"bottom"},Gt={start:"end",end:"start"};function vt(t,e,n){return $(t,et(e,n))}function st(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function ct(t){return t.split("-")[1]}function Tt(t){return t==="x"?"y":"x"}function kt(t){return t==="y"?"height":"width"}function lt(t){return["top","bottom"].includes(Y(t))?"y":"x"}function Pt(t){return Tt(lt(t))}function Jt(t,e,n){n===void 0&&(n=!1);const o=ct(t),i=Pt(t),r=kt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ot(s)),[s,ot(s)]}function Qt(t){const e=ot(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>Gt[e])}function Zt(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function te(t,e,n,o){const i=ct(t);let r=Zt(Y(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(dt)))),r}function ot(t){return t.replace(/left|right|bottom|top/g,e=>Kt[e])}function ee(t){return{top:0,right:0,bottom:0,left:0,...t}}function ne(t){return typeof t!="number"?ee(t):{top:t,right:t,bottom:t,left:t}}function it(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function bt(t,e,n){let{reference:o,floating:i}=t;const r=lt(e),s=Pt(e),c=kt(s),l=Y(e),f=r==="y",u=o.x+o.width/2-i.width/2,a=o.y+o.height/2-i.height/2,p=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:u,y:o.y-i.height};break;case"bottom":d={x:u,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:a};break;case"left":d={x:o.x-i.width,y:a};break;default:d={x:o.x,y:o.y}}switch(ct(e)){case"start":d[s]-=p*(n&&f?-1:1);break;case"end":d[s]+=p*(n&&f?-1:1);break}return d}const oe=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:a}=bt(f,o,l),p=o,d={},m=0;for(let h=0;hL<=0)){var q,S;const L=(((q=r.flip)==null?void 0:q.index)||0)+1,M=y[L];if(M)return{data:{index:L,overflows:k},reset:{placement:M}};let F=(S=k.filter(A=>A.overflows[0]<=0).sort((A,O)=>A.overflows[1]-O.overflows[1])[0])==null?void 0:S.placement;if(!F)switch(d){case"bestFit":{var j;const A=(j=k.map(O=>[O.placement,O.overflows.filter(v=>v>0).reduce((v,W)=>v+W,0)]).sort((O,v)=>O[1]-v[1])[0])==null?void 0:j[0];A&&(F=A);break}case"initialPlacement":F=c;break}if(i!==F)return{reset:{placement:F}}}return{}}}};async function re(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=Y(n),c=ct(n),l=lt(n)==="y",f=["left","top"].includes(s)?-1:1,u=r&&l?-1:1,a=st(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:m}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...a};return c&&typeof m=="number"&&(d=c==="end"?m*-1:m),l?{x:d*u,y:p*f}:{x:p*f,y:d*u}}const se=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await re(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},ce=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:b=>{let{x:g,y:w}=b;return{x:g,y:w}}},...l}=st(t,e),f={x:n,y:o},u=await St(e,l),a=lt(Y(i)),p=Tt(a);let d=f[p],m=f[a];if(r){const b=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=d+u[b],R=d-u[g];d=vt(w,d,R)}if(s){const b=a==="y"?"top":"left",g=a==="y"?"bottom":"right",w=m+u[b],R=m-u[g];m=vt(w,m,R)}const h=c.fn({...e,[p]:d,[a]:m});return{...h,data:{x:h.x-n,y:h.y-o}}}}};function I(t){return Mt(t)?(t.nodeName||"").toLowerCase():"#document"}function P(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function z(t){var e;return(e=(Mt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Mt(t){return t instanceof Node||t instanceof P(t).Node}function _(t){return t instanceof Element||t instanceof P(t).Element}function V(t){return t instanceof HTMLElement||t instanceof P(t).HTMLElement}function Rt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof P(t).ShadowRoot}function J(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=D(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function le(t){return["table","td","th"].includes(I(t))}function mt(t){const e=pt(),n=D(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Dt(t){let e=K(t);for(;V(e)&&!ft(e);){if(mt(e))return e;e=K(e)}return null}function pt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ft(t){return["html","body","#document"].includes(I(t))}function D(t){return P(t).getComputedStyle(t)}function at(t){return _(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(t){if(I(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Rt(t)&&t.host||z(t);return Rt(e)?e.host:e}function Ft(t){const e=K(t);return ft(e)?t.ownerDocument?t.ownerDocument.body:t.body:V(e)&&J(e)?e:Ft(e)}function G(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ft(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=P(i);return r?e.concat(s,s.visualViewport||[],J(i)?i:[],s.frameElement&&n?G(s.frameElement):[]):e.concat(i,G(i,[],n))}function Nt(t){const e=D(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=V(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=nt(n)!==r||nt(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function gt(t){return _(t)?t:t.contextElement}function U(t){const e=gt(t);if(!V(e))return H(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Nt(e);let s=(r?nt(n.width):n.width)/o,c=(r?nt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const fe=H(0);function Bt(t){const e=P(t);return!pt()||!e.visualViewport?fe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ae(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==P(t)?!1:e}function X(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=gt(t);let s=H(1);e&&(o?_(o)&&(s=U(o)):s=U(t));const c=ae(r,n,o)?Bt(r):H(0);let l=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,u=i.width/s.x,a=i.height/s.y;if(r){const p=P(r),d=o&&_(o)?P(o):o;let m=p.frameElement;for(;m&&o&&d!==p;){const h=U(m),b=m.getBoundingClientRect(),g=D(m),w=b.left+(m.clientLeft+parseFloat(g.paddingLeft))*h.x,R=b.top+(m.clientTop+parseFloat(g.paddingTop))*h.y;l*=h.x,f*=h.y,u*=h.x,a*=h.y,l+=w,f+=R,m=P(m).frameElement}}return it({width:u,height:a,x:l,y:f})}const ue=[":popover-open",":modal"];function Vt(t){let e=!1,n=0,o=0;function i(r){try{e=e||t.matches(r)}catch{}}if(ue.forEach(r=>{i(r)}),e){const r=Dt(t);if(r){const s=r.getBoundingClientRect();n=s.x,o=s.y}}return[e,n,o]}function de(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=z(o),[s]=e?Vt(e.floating):[!1];if(o===r||s)return n;let c={scrollLeft:0,scrollTop:0},l=H(1);const f=H(0),u=V(o);if((u||!u&&i!=="fixed")&&((I(o)!=="body"||J(r))&&(c=at(o)),V(o))){const a=X(o);l=U(o),f.x=a.x+o.clientLeft,f.y=a.y+o.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+f.x,y:n.y*l.y-c.scrollTop*l.y+f.y}}function me(t){return Array.from(t.getClientRects())}function Wt(t){return X(z(t)).left+at(t).scrollLeft}function pe(t){const e=z(t),n=at(t),o=t.ownerDocument.body,i=$(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=$(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Wt(t);const c=-n.scrollTop;return D(o).direction==="rtl"&&(s+=$(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function ge(t,e){const n=P(t),o=z(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const f=pt();(!f||f&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function he(t,e){const n=X(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=V(t)?U(t):H(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,f=o*r.y;return{width:s,height:c,x:l,y:f}}function Ct(t,e,n){let o;if(e==="viewport")o=ge(t,n);else if(e==="document")o=pe(z(t));else if(_(e))o=he(e,n);else{const i=Bt(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return it(o)}function _t(t,e){const n=K(t);return n===e||!_(n)||ft(n)?!1:D(n).position==="fixed"||_t(n,e)}function xe(t,e){const n=e.get(t);if(n)return n;let o=G(t,[],!1).filter(c=>_(c)&&I(c)!=="body"),i=null;const r=D(t).position==="fixed";let s=r?K(t):t;for(;_(s)&&!ft(s);){const c=D(s),l=mt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||J(s)&&!l&&_t(t,s))?o=o.filter(u=>u!==s):i=c,s=K(s)}return e.set(t,o),o}function ye(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?xe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((f,u)=>{const a=Ct(e,u,i);return f.top=$(a.top,f.top),f.right=et(a.right,f.right),f.bottom=et(a.bottom,f.bottom),f.left=$(a.left,f.left),f},Ct(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function we(t){const{width:e,height:n}=Nt(t);return{width:e,height:n}}function ve(t,e,n,o){const i=V(e),r=z(e),s=n==="fixed",c=X(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const f=H(0);if(i||!i&&!s)if((I(e)!=="body"||J(r))&&(l=at(e)),i){const h=X(e,!0,s,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else r&&(f.x=Wt(r));let u=c.left+l.scrollLeft-f.x,a=c.top+l.scrollTop-f.y;const[p,d,m]=Vt(o);return p&&(u+=d,a+=m,i&&(u+=e.clientLeft,a+=e.clientTop)),{x:u,y:a,width:c.width,height:c.height}}function Et(t,e){return!V(t)||D(t).position==="fixed"?null:e?e(t):t.offsetParent}function zt(t,e){const n=P(t);if(!V(t))return n;let o=Et(t,e);for(;o&&le(o)&&D(o).position==="static";)o=Et(o,e);return o&&(I(o)==="html"||I(o)==="body"&&D(o).position==="static"&&!mt(o))?n:o||Dt(t)||n}const be=async function(t){const e=this.getOffsetParent||zt,n=this.getDimensions;return{reference:ve(t.reference,await e(t.floating),t.strategy,t.floating),floating:{x:0,y:0,...await n(t.floating)}}};function Re(t){return D(t).direction==="rtl"}const Ce={convertOffsetParentRelativeRectToViewportRelativeRect:de,getDocumentElement:z,getClippingRect:ye,getOffsetParent:zt,getElementRects:be,getClientRects:me,getDimensions:we,getScale:U,isElement:_,isRTL:Re};function Ee(t,e){let n=null,o;const i=z(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const{left:f,top:u,width:a,height:p}=t.getBoundingClientRect();if(c||e(),!a||!p)return;const d=Z(u),m=Z(i.clientWidth-(f+a)),h=Z(i.clientHeight-(u+p)),b=Z(f),w={rootMargin:-d+"px "+-m+"px "+-h+"px "+-b+"px",threshold:$(0,et(1,l))||1};let R=!0;function C(y){const E=y[0].intersectionRatio;if(E!==l){if(!R)return s();E?s(!1,E):o=setTimeout(()=>{s(!1,1e-7)},100)}R=!1}try{n=new IntersectionObserver(C,{...w,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,w)}n.observe(t)}return s(!0),r}function Ae(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,f=gt(t),u=i||r?[...f?G(f):[],...G(e)]:[];u.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const a=f&&c?Ee(f,n):null;let p=-1,d=null;s&&(d=new ResizeObserver(g=>{let[w]=g;w&&w.target===f&&d&&(d.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var R;(R=d)==null||R.observe(e)})),n()}),f&&!l&&d.observe(f),d.observe(e));let m,h=l?X(t):null;l&&b();function b(){const g=X(t);h&&(g.x!==h.x||g.y!==h.y||g.width!==h.width||g.height!==h.height)&&n(),h=g,m=requestAnimationFrame(b)}return n(),()=>{var g;u.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),a?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(m)}}const Oe=ce,Le=ie,Te=(t,e,n)=>{const o=new Map,i={platform:Ce,...n},r={...i.platform,_c:o};return oe(t,e,{...i,platform:r})};var tt=typeof document<"u"?x.useLayoutEffect:x.useEffect;function rt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!rt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!rt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function jt(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function At(t,e){const n=jt(t);return Math.round(e*n)/n}function Ot(t){const e=x.useRef(t);return tt(()=>{e.current=t}),e}function ke(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:f}=t,[u,a]=x.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,d]=x.useState(o);rt(p,o)||d(o);const[m,h]=x.useState(null),[b,g]=x.useState(null),w=x.useCallback(v=>{v!==E.current&&(E.current=v,h(v))},[]),R=x.useCallback(v=>{v!==T.current&&(T.current=v,g(v))},[]),C=r||m,y=s||b,E=x.useRef(null),T=x.useRef(null),k=x.useRef(u),q=l!=null,S=Ot(l),j=Ot(i),L=x.useCallback(()=>{if(!E.current||!T.current)return;const v={placement:e,strategy:n,middleware:p};j.current&&(v.platform=j.current),Te(E.current,T.current,v).then(W=>{const N={...W,isPositioned:!0};M.current&&!rt(k.current,N)&&(k.current=N,Lt.flushSync(()=>{a(N)}))})},[p,e,n,j]);tt(()=>{f===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,a(v=>({...v,isPositioned:!1})))},[f]);const M=x.useRef(!1);tt(()=>(M.current=!0,()=>{M.current=!1}),[]),tt(()=>{if(C&&(E.current=C),y&&(T.current=y),C&&y){if(S.current)return S.current(C,y,L);L()}},[C,y,L,S,q]);const F=x.useMemo(()=>({reference:E,floating:T,setReference:w,setFloating:R}),[w,R]),A=x.useMemo(()=>({reference:C,floating:y}),[C,y]),O=x.useMemo(()=>{const v={position:n,left:0,top:0};if(!A.floating)return v;const W=At(A.floating,u.x),N=At(A.floating,u.y);return c?{...v,transform:"translate("+W+"px, "+N+"px)",...jt(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:W,top:N}},[n,c,A.floating,u.x,u.y]);return x.useMemo(()=>({...u,update:L,refs:F,elements:A,floatingStyles:O}),[u,L,F,A,O])}function Pe(t,...e){t&&t.addEventListener&&t.addEventListener(...e)}function Se(t,...e){t&&t.removeEventListener&&t.removeEventListener(...e)}const Me=["mousedown","touchstart"],De=(t,e,n=Me)=>{const o=x.useRef(e);x.useEffect(()=>{o.current=e},[e]),x.useEffect(()=>{const i=r=>{const{current:s}=t;s&&!s.contains(r.target)&&o.current(r)};for(const r of n)Pe(document,r,i);return()=>{for(const r of n)Se(document,r,i)}},[n,t])},Fe=()=>{const t=x.useContext(Ht);return qt?t.to||document.body:null},Ht=x.createContext({to:void 0});Ht.Provider;const Ne=t=>{const e=Xt(),n=Fe();return e?Lt.createPortal(t.children,t.to||n||document.body):null},Be=x.createContext(null),$e=function(e){const{headless:n=!1,wrapperClassName:o,TriggerComponent:i,triggerElement:r,trigger:s="hover",padding:c,offset:l,popoverWrapperClassNames:f,popoverClassNames:u,debug:a,animate:p=!0,as:d="div",type:m="popover",triggerComponentProps:h,isDisabled:b,onOpen:g,onClose:w,to:R,asChild:C,...y}=e,[E,T]=x.useState(!1),{x:k,y:q,refs:S,strategy:j,isPositioned:L,elements:M,update:F}=ke({middleware:y.middleware??[Le({padding:c??20}),se(l??10),Oe()],strategy:y.strategy,placement:y.placement??"bottom-start",whileElementsMounted:y.whileElementsMounted});x.useEffect(()=>{if(E&&M.reference&&M.floating)return Ae(M.reference,M.floating,F)},[E,M,F]);const A=x.useRef(null);De(A,()=>{(s=="click"||s=="both")&&O()});const O=x.useCallback(()=>{a||T(!1)},[a]),v=Yt(()=>{b||T(!0)}),W=x.useCallback(()=>{O()},[O]),N=x.useMemo(()=>{const Q={};switch(s){case"click":return{...Q,onClick:v};case"hover":return{...Q,onMouseOver:v,onMouseOut:O};case"both":return{...Q,onClick:v,onMouseOver:v,onMouseOut:W}}},[O,v,W,s]),ht=r||(i?yt.cloneElement(x.createElement(i,h),{tabIndex:0}):B.jsx(B.Fragment,{})),xt=C?yt.cloneElement(ht,{...N,ref:S.setReference}):B.jsx(d,{role:s==="both"||s==="click"?"button":"note",className:ut("inline-block",o),ref:S.setReference,...N,children:ht});x.useEffect(()=>{S.floating.current&&E&&m==="popover"&&S.floating.current.focus()},[E]),x.useEffect(()=>{E?g?.():w?.()},[E]);const It=x.useMemo(()=>({close:O}),[O]);return e.children?B.jsxs(B.Fragment,{children:[xt,B.jsx(Ut,{children:E&&B.jsx(Ne,{to:R,children:B.jsx(wt.div,{className:ut("float-popover","relative z-[99]",f),...s==="hover"||s==="both"?N:{},ref:A,children:B.jsx(wt.div,{tabIndex:-1,role:m==="tooltip"?"tooltip":"dialog",className:ut(!n&&["shadow-out-sm focus:!shadow-out-sm focus-visible:!shadow-out-sm","rounded-xl border border-zinc-400/20 p-4 shadow-lg outline-none backdrop-blur-lg dark:border-zinc-500/30","bg-zinc-50/80 dark:bg-neutral-900/80"],"relative z-[2]",m==="tooltip"?"max-w-[25rem] break-all rounded-xl px-4 py-2 shadow-sm":"",u),ref:S.setFloating,initial:{translateY:"10px",opacity:0},animate:{translateY:"0px",opacity:1},exit:{translateY:"10px",opacity:0},transition:$t,style:{position:j,top:q??"",left:k??"",visibility:L&&k!==null?"visible":"hidden"},children:B.jsx(Be.Provider,{value:It,children:e.children})})})})})]}):xt};export{$e as F,Ne as R}; diff --git a/assets/Form-kbLn7dW2.js b/assets/Form-kbLn7dW2.js new file mode 100644 index 00000000000..924ad7e151c --- /dev/null +++ b/assets/Form-kbLn7dW2.js @@ -0,0 +1 @@ +import{j as l,r as h}from"./index-ZXl4th35.js";import{p as b}from"./viewport-l4O6ZIBM.js";import{u as x}from"./Gallery-QJ8JjQGt.js";import{j as n}from"./request-bY2SEZNN.js";import{F as k,a as w,u as C}from"./FormInput-i0fsPScC.js";import{a as S}from"./toast-dlXalurG.js";const R=a=>{const{showErrorMessage:t=!0,...u}=a,e=x(()=>S({}));return l.jsx(k.Provider,{value:x(()=>({showErrorMessage:t,fields:e,getField:r=>n.get(e)[r],addField:(r,o)=>{n.set(e,s=>({...s,[r]:o}))},removeField:r=>{n.set(e,o=>{const s={...o};return delete s[r],s})}})),children:l.jsx(w.Provider,{value:h.useMemo(()=>({showErrorMessage:t}),[t]),children:l.jsx($,{...u})})})},$=a=>{const{onSubmit:t,...u}=a,e=C().fields,r=h.useCallback(async o=>{o.preventDefault();const s=n.get(e);for await(const[m,f]of Object.entries(s)){const c=f.$ref;if(!c)continue;const d=c.value,p=f.rules;for(let i=0;ib(j,g=>{g[m].rules[i].status="error"}));return}}catch(F){console.error("validate function throw error",F);return}}}t?.(o)},[t]);return l.jsx("form",{onSubmit:r,...u,children:a.children})};export{R as F}; diff --git a/assets/FormInput-i0fsPScC.js b/assets/FormInput-i0fsPScC.js new file mode 100644 index 00000000000..87b3ed573b0 --- /dev/null +++ b/assets/FormInput-i0fsPScC.js @@ -0,0 +1,2 @@ +import{h as Fe,k as B,i as gt,l as yt,L as M,M as bt,N as Q,w as Ce,O as Et,j as wt}from"./request-bY2SEZNN.js";import{r as h,j as u,R as N}from"./index-ZXl4th35.js";import{p as he,r as vt,s as Ct,h as _t,i as kt,j as At,k as xt,a as Tt}from"./viewport-l4O6ZIBM.js";import{a as Ve,c as _e,b as ee,e as St,r as te,t as T}from"./toast-dlXalurG.js";import{T as Nt,b as ke,c as Rt}from"./LinkCard-AonZnIUQ.js";import{M as Ot,c as Pt}from"./StyledButton-VgryXAte.js";import{f as Dt,_ as Lt}from"./provider-XKwIHqOQ.js";import{A as Bt}from"./AutoResizeHeight-dtcKGJMw.js";import{c as R,m as It,a as Ae}from"./motion-minimal-epsqYg85.js";import{m as Mt,i as qt}from"./lodash-lrAbnKsZ.js";let Ut=Object.freeze([]),Ft=s=>{let e=h.useRef(!1);!e.current&&(e.current=!0,s?.())},le=()=>{var s;let e=h.createContext(null),t=Ve(null),n=h.memo(r=>{var i;let{data:o,children:c}=r,a=(i=h.useContext(e))!==null&&i!==void 0?i:t,f=_e(a);return Ft(()=>{f(o)}),h.useEffect(()=>{f(o)},[o]),h.useEffect(()=>(f(o),()=>{f(null)}),[]),c});return n.displayName="ModelDataProvider",{ModelDataAtomProvider:r=>{let{children:i,overrideAtom:o}=r;return u.jsx(e.Provider,{value:o??t,children:i})},ModelDataProvider:n,useModelDataSelector:(r,i)=>{var o;let c=(o=h.useContext(e))!==null&&o!==void 0?o:t,a=h.useCallback(f=>f?r(f):null,i||Ut);return ee(Fe(c,a))},useSetModelData:()=>_e((s=h.useContext(e))!==null&&s!==void 0?s:t),useGetModelData:()=>{var r;let i=(r=h.useContext(e))!==null&&r!==void 0?r:t,o=St();return()=>o.get(i)},useModelData:()=>{var r;return ee((r=h.useContext(e))!==null&&r!==void 0?r:t)},setGlobalModelData:r=>{let i=te();i.set(t,he(i.get(t),r))},getGlobalModelData:()=>te().get(t),ModelDataAtomContext:e}},xe=te();xe.get,xe.set;const k=Object.create(null);k.open="0";k.close="1";k.ping="2";k.pong="3";k.message="4";k.upgrade="5";k.noop="6";const H=Object.create(null);Object.keys(k).forEach(s=>{H[k[s]]=s});const se={type:"error",data:"parser error"},$e=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",je=typeof ArrayBuffer=="function",Ye=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s&&s.buffer instanceof ArrayBuffer,ue=({type:s,data:e},t,n)=>$e&&e instanceof Blob?t?n(e):Te(e,n):je&&(e instanceof ArrayBuffer||Ye(e))?t?n(e):Te(new Blob([e]),n):n(k[s]+(e||"")),Te=(s,e)=>{const t=new FileReader;return t.onload=function(){const n=t.result.split(",")[1];e("b"+(n||""))},t.readAsDataURL(s)};function Se(s){return s instanceof Uint8Array?s:s instanceof ArrayBuffer?new Uint8Array(s):new Uint8Array(s.buffer,s.byteOffset,s.byteLength)}let J;function Vt(s,e){if($e&&s.data instanceof Blob)return s.data.arrayBuffer().then(Se).then(e);if(je&&(s.data instanceof ArrayBuffer||Ye(s.data)))return e(Se(s.data));ue(s,!1,t=>{J||(J=new TextEncoder),e(J.encode(t))})}const Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let s=0;s{let e=s.length*.75,t=s.length,n,r=0,i,o,c,a;s[s.length-1]==="="&&(e--,s[s.length-2]==="="&&e--);const f=new ArrayBuffer(e),m=new Uint8Array(f);for(n=0;n>4,m[r++]=(o&15)<<4|c>>2,m[r++]=(c&3)<<6|a&63;return f},jt=typeof ArrayBuffer=="function",fe=(s,e)=>{if(typeof s!="string")return{type:"message",data:ze(s,e)};const t=s.charAt(0);return t==="b"?{type:"message",data:Yt(s.substring(1),e)}:H[t]?s.length>1?{type:H[t],data:s.substring(1)}:{type:H[t]}:se},Yt=(s,e)=>{if(jt){const t=$t(s);return ze(t,e)}else return{base64:!0,data:s}},ze=(s,e)=>{switch(e){case"blob":return s instanceof Blob?s:new Blob([s]);case"arraybuffer":default:return s instanceof ArrayBuffer?s:s.buffer}},He="",zt=(s,e)=>{const t=s.length,n=new Array(t);let r=0;s.forEach((i,o)=>{ue(i,!1,c=>{n[o]=c,++r===t&&e(n.join(He))})})},Ht=(s,e)=>{const t=s.split(He),n=[];for(let r=0;r{const n=t.length;let r;if(n<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,n);else if(n<65536){r=new Uint8Array(3);const i=new DataView(r.buffer);i.setUint8(0,126),i.setUint16(1,n)}else{r=new Uint8Array(9);const i=new DataView(r.buffer);i.setUint8(0,127),i.setBigUint64(1,BigInt(n))}s.data&&typeof s.data!="string"&&(r[0]|=128),e.enqueue(r),e.enqueue(t)})}})}let X;function $(s){return s.reduce((e,t)=>e+t.length,0)}function j(s,e){if(s[0].length===e)return s.shift();const t=new Uint8Array(e);let n=0;for(let r=0;rMath.pow(2,21)-1){c.enqueue(se);break}r=m*Math.pow(2,32)+f.getUint32(4),n=3}else{if($(t)s){c.enqueue(se);break}}}})}const Ke=4;function p(s){if(s)return Gt(s)}function Gt(s){for(var e in p.prototype)s[e]=p.prototype[e];return s}p.prototype.on=p.prototype.addEventListener=function(s,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+s]=this._callbacks["$"+s]||[]).push(e),this};p.prototype.once=function(s,e){function t(){this.off(s,t),e.apply(this,arguments)}return t.fn=e,this.on(s,t),this};p.prototype.off=p.prototype.removeListener=p.prototype.removeAllListeners=p.prototype.removeEventListener=function(s,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+s];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+s],this;for(var n,r=0;r(s.hasOwnProperty(n)&&(t[n]=s[n]),t),{})}const Qt=b.setTimeout,Jt=b.clearTimeout;function G(s,e){e.useNativeTimers?(s.setTimeoutFn=Qt.bind(b),s.clearTimeoutFn=Jt.bind(b)):(s.setTimeoutFn=b.setTimeout.bind(b),s.clearTimeoutFn=b.clearTimeout.bind(b))}const Xt=1.33;function Zt(s){return typeof s=="string"?es(s):Math.ceil((s.byteLength||s.size)*Xt)}function es(s){let e=0,t=0;for(let n=0,r=s.length;n=57344?t+=3:(n++,t+=4);return t}function ts(s){let e="";for(let t in s)s.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(s[t]));return e}function ss(s){let e={},t=s.split("&");for(let n=0,r=t.length;n0);return e}function Qe(){const s=Pe(+new Date);return s!==Oe?(Re=0,Oe=s):s+"."+Pe(Re++)}for(;Y{this.readyState="paused",e()};if(this.polling||!this.writable){let n=0;this.polling&&(n++,this.once("pollComplete",function(){--n||t()})),this.writable||(n++,this.once("drain",function(){--n||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};Ht(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,zt(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Qe()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new _(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(r,i)=>{this.onError("xhr post error",r,i)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,n)=>{this.onError("xhr poll error",t,n)}),this.pollXhr=e}}class _ extends p{constructor(e,t){super(),G(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=t.data!==void 0?t.data:null,this.create()}create(){var e;const t=We(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const n=this.xhr=new Xe(t);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(e=this.opts.cookieJar)===null||e===void 0||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var r;n.readyState===3&&((r=this.opts.cookieJar)===null||r===void 0||r.parseCookies(n)),n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=_.requestsCount++,_.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=os,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete _.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}_.requestsCount=0;_.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",De);else if(typeof addEventListener=="function"){const s="onpagehide"in b?"pagehide":"unload";addEventListener(s,De,!1)}}function De(){for(let s in _.requests)_.requests.hasOwnProperty(s)&&_.requests[s].abort()}const pe=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),z=b.WebSocket||b.MozWebSocket,Le=!0,hs="arraybuffer",Be=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class ls extends de{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=Be?{}:We(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=Le&&!Be?t?new z(e,t):new z(e):new z(e,t,n)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t{const o={};try{Le&&this.ws.send(i)}catch{}r&&pe(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Qe()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!z}}class us extends de{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(e=>{const t=Wt(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=Kt();r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const i=()=>{n.read().then(({done:c,value:a})=>{c||(this.onPacket(a),i())}).catch(c=>{})};i();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this.writer.write(o).then(()=>this.onOpen())})}))}write(e){this.writable=!1;for(let t=0;t{r&&pe(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this.transport)===null||e===void 0||e.close()}}const fs={websocket:ls,webtransport:us,polling:cs},ds=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ps=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function re(s){if(s.length>2e3)throw"URI too long";const e=s,t=s.indexOf("["),n=s.indexOf("]");t!=-1&&n!=-1&&(s=s.substring(0,t)+s.substring(t,n).replace(/:/g,";")+s.substring(n,s.length));let r=ds.exec(s||""),i={},o=14;for(;o--;)i[ps[o]]=r[o]||"";return t!=-1&&n!=-1&&(i.source=e,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=ms(i,i.path),i.queryKey=gs(i,i.query),i}function ms(s,e){const t=/\/{2,9}/g,n=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&n.splice(0,1),e.slice(-1)=="/"&&n.splice(n.length-1,1),n}function gs(s,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,r,i){r&&(t[r]=i)}),t}let Ze=class L extends p{constructor(e,t={}){super(),this.binaryType=hs,this.writeBuffer=[],e&&typeof e=="object"&&(t=e,e=null),e?(e=re(e),t.hostname=e.host,t.secure=e.protocol==="https"||e.protocol==="wss",t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=re(t.host).host),G(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=ss(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=Ke,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new fs[e](n)}open(){let e;if(this.opts.rememberUpgrade&&L.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",t=>this.onClose("transport close",t))}probe(e){let t=this.createTransport(e),n=!1;L.priorWebsocketSuccess=!1;const r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",y=>{if(!n)if(y.type==="pong"&&y.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;L.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(m(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const d=new Error("probe error");d.transport=t.name,this.emitReserved("upgradeError",d)}}))};function i(){n||(n=!0,m(),t.close(),t=null)}const o=y=>{const d=new Error("probe error: "+y);d.transport=t.name,i(),this.emitReserved("upgradeError",d)};function c(){o("transport closed")}function a(){o("socket closed")}function f(y){t&&y.name!==t.name&&i()}const m=()=>{t.removeListener("open",r),t.removeListener("error",o),t.removeListener("close",c),this.off("close",a),this.off("upgrading",f)};t.once("open",r),t.once("error",o),t.once("close",c),this.once("close",a),this.once("upgrading",f),this.upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onOpen(){if(this.readyState="open",L.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let n=0;n0&&t>this.maxPayload)return this.writeBuffer.slice(0,n);t+=2}return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if(typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}onError(e){L.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;ntypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s.buffer instanceof ArrayBuffer,et=Object.prototype.toString,ws=typeof Blob=="function"||typeof Blob<"u"&&et.call(Blob)==="[object BlobConstructor]",vs=typeof File=="function"||typeof File<"u"&&et.call(File)==="[object FileConstructor]";function me(s){return bs&&(s instanceof ArrayBuffer||Es(s))||ws&&s instanceof Blob||vs&&s instanceof File}function K(s,e){if(!s||typeof s!="object")return!1;if(Array.isArray(s)){for(let t=0,n=s.length;t=0&&s.num{delete this.acks[e];for(let o=0;o{this.io.clearTimeoutFn(i),t.apply(this,[null,...o])}}emitWithAck(e,...t){const n=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((r,i)=>{t.push((o,c)=>n?o?i(o):r(c):r(o)),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((r,...i)=>n!==this._queue[0]?void 0:(r!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(r)):(this._queue.shift(),t&&t(null,...i)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:l.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case l.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case l.EVENT:case l.BINARY_EVENT:this.onevent(e);break;case l.ACK:case l.BINARY_ACK:this.onack(e);break;case l.DISCONNECT:this.ondisconnect();break;case l.CONNECT_ERROR:this.destroy();const n=new Error(e.data.message);n.data=e.data.data,this.emitReserved("connect_error",n);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,t.packet({type:l.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:l.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n0&&s.jitter<=1?s.jitter:0,this.attempts=0}I.prototype.duration=function(){var s=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*s);s=Math.floor(e*10)&1?s+t:s-t}return Math.min(s,this.max)|0};I.prototype.reset=function(){this.attempts=0};I.prototype.setMin=function(s){this.ms=s};I.prototype.setMax=function(s){this.max=s};I.prototype.setJitter=function(s){this.jitter=s};class ae extends p{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,G(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((n=t.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new I({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||Ss;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Ze(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=E(t,"open",function(){n.onopen(),e&&e()}),i=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),e?e(c):this.maybeReconnectOnOpen()},o=E(t,"error",i);if(this._timeout!==!1){const c=this._timeout,a=this.setTimeoutFn(()=>{r(),i(new Error("timeout")),t.close()},c);this.opts.autoUnref&&a.unref(),this.subs.push(()=>{this.clearTimeoutFn(a)})}return this.subs.push(r),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(E(e,"ping",this.onping.bind(this)),E(e,"data",this.ondata.bind(this)),E(e,"error",this.onerror.bind(this)),E(e,"close",this.onclose.bind(this)),E(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){pe(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new tt(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const n of t)if(this.nsps[n].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;ne()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(r=>{r?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",r)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const q={};function W(s,e){typeof s=="object"&&(e=s,s=void 0),e=e||{};const t=ys(s,e.path||"/socket.io"),n=t.source,r=t.id,i=t.path,o=q[r]&&i in q[r].nsps,c=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let a;return c?a=new ae(n,e):(q[r]||(q[r]=new ae(n,e)),a=q[r]),t.query&&!e.query&&(e.query=t.queryKey),a.socket(t.path,e)}Object.assign(W,{Manager:ae,Socket:tt,io:W,connect:W});var v=(s=>(s.EditDataUpdate="editDataUpdate",s.Publish="Publish",s.Refetch="Refetch",s.SocketConnected="SocketConnected",s.SocketDisconnected="SocketDisconnected",s))(v||{});class En extends Event{constructor(e){super(v.Publish),this.data=e}static{this.type=v.Publish}}class wn extends Event{static{this.type=v.Refetch}constructor(){super(v.Refetch)}}class Rs extends Event{static{this.type=v.SocketConnected}constructor(){super(v.SocketConnected)}}class Os extends Event{static{this.type=v.SocketDisconnected}constructor(){super(v.SocketDisconnected)}}class vn extends Event{constructor(e){super(v.EditDataUpdate),this.data=e}static{this.type=v.EditDataUpdate}}const Ps=["says"];function Ds(s){return u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...s,children:u.jsx("path",{fill:"currentColor",d:"M1 11h3v2H1v-2m3.9-7.5L3.5 4.9L5.6 7L7 5.6L4.9 3.5M13 1h-2v3h2V1m7 10v2h3v-2h-3M10 22c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-1h-4v1m9.1-18.5L17 5.6L18.4 7l2.1-2.1l-1.4-1.4M18 12c0 2.2-1.2 4.2-3 5.2V19c0 .6-.4 1-1 1h-4c-.6 0-1-.4-1-1v-1.8c-1.8-1-3-3-3-5.2c0-3.3 2.7-6 6-6s6 2.7 6 6m-2 0c0-2.21-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4s4-1.79 4-4Z"})})}function Ls(s){return u.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 512 512",...s,children:u.jsx("path",{fill:"currentColor",d:"M512 0C460.22 3.56 96.44 38.2 71.01 287.61c-3.09 26.66-4.84 53.44-5.99 80.24l178.87-178.69c6.25-6.25 16.4-6.25 22.65 0s6.25 16.38 0 22.63L7.04 471.03c-9.38 9.37-9.38 24.57 0 33.94c9.38 9.37 24.59 9.37 33.98 0l57.13-57.07c42.09-.14 84.15-2.53 125.96-7.36c53.48-5.44 97.02-26.47 132.58-56.54H255.74l146.79-48.88c11.25-14.89 21.37-30.71 30.45-47.12h-81.14l106.54-53.21C500.29 132.86 510.19 26.26 512 0z"})})}function Bs(s){return u.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 22 22",...s,children:[u.jsx("path",{fill:"currentColor",d:"M6 6h11.17l1 1l-1 1H6V6zm12 10H6.83l-1-1l1-1H18v2z",opacity:".3"}),u.jsx("path",{fill:"currentColor",d:"M13 10h5l3-3l-3-3h-5V2h-2v2H4v6h7v2H6l-3 3l3 3h5v4h2v-4h7v-6h-7v-2zM6 6h11.17l1 1l-1 1H6V6zm12 10H6.83l-1-1l1-1H18v2z"})]})}var ce=(s=>(s.RefreshToc="refresh-toc",s))(ce||{}),w=(s=>(s.Home="",s.Posts="/posts",s.Post="/posts/",s.Notes="/notes",s.Note="/notes/",s.NoteTopics="/notes/topics",s.NoteTopic="/notes/topics/",s.Timelime="/timeline",s.Login="/login",s.Page="/",s.Categories="/categories",s.Category="/categories/",s.Projects="/projects",s.Project="/projects/",s.Says="/says",s.Friends="/friends",s.Thinking="/thinking",s.PageDeletd="/common/deleted",s))(w||{});function C(s,e){let t=s;switch(s){case"/notes/":{t+=e.id,e.password&&(t+=`?password=${e.password}`);break}case"/posts/":{const n=e;t+=`${n.category}/${n.slug}`;break}case"/posts":{const n=e;t+=`?${new URLSearchParams(n).toString()}`;break}case"/timeline":{const n=e;t+=`?${new URLSearchParams(n).toString()}`;break}case"/notes/topics/":case"/categories/":case"/":{t+=e.slug;break}case"":{t="/";break}case"/projects/":{t+=e.id;break}}return t}const F=s=>s,Is={presence:s=>F({queryKey:["activity","presence",s],queryFn:async()=>{const e=await B.activity.getPresence(s);return vt(e),e}})},Ms={root:()=>F({queryKey:["aggregation"],queryFn:async()=>B.aggregate.getAggregateData("shiro").then(s=>s.$serialized),gcTime:1e3*60*10,meta:{forceHydration:!0},staleTime:gt?1e3*60*10:void 0})};h.createContext(null);h.createContext({reset(s,e){}});const qs="latest",Us={byNid:(s,e)=>F({queryKey:["note",s],meta:{hydrationRoutePath:C(w.Note,{id:s}),shouldHydration:t=>{const n=t?.data;return!(n?.publicAt?yt(n?.publicAt).isAfter(new Date):!1)}},queryFn:async({queryKey:t})=>{const[,n]=t;return n===qs?(await B.note.getLatest()).$serialized:{...await B.note.getNoteById(+t[1],e)}}})},Fs={bySlug:s=>F({queryKey:["page",s],meta:{hydrationRoutePath:C(w.Page,{slug:s})},queryFn:async({queryKey:e})=>{const[,t]=e;return(await B.page.getBySlug(t)).$serialized}})},Vs={bySlug:(s,e)=>F({queryKey:["post",s,e],meta:{hydrationRoutePath:C(w.Post,{category:s,slug:e})},queryFn:async({queryKey:t})=>{const[,n,r]=t;return(await B.post.getPost(n,r)).$serialized}})},Me={aggregation:Ms,note:Us,post:Vs,page:Fs,activity:Is},{ModelDataProvider:Cn,ModelDataAtomProvider:_n,getGlobalModelData:qe,setGlobalModelData:$s,useModelDataSelector:kn,useSetModelData:An}=le(),{ModelDataProvider:xn,getGlobalModelData:js,setGlobalModelData:Ys,useModelDataSelector:Tn,ModelDataAtomProvider:Sn}=le(),{ModelDataProvider:Nn,ModelDataAtomProvider:Rn,getGlobalModelData:Ue,setGlobalModelData:zs,useModelDataSelector:On}=le();var g=(s=>(s.GATEWAY_CONNECT="GATEWAY_CONNECT",s.GATEWAY_DISCONNECT="GATEWAY_DISCONNECT",s.VISITOR_ONLINE="VISITOR_ONLINE",s.VISITOR_OFFLINE="VISITOR_OFFLINE",s.AUTH_FAILED="AUTH_FAILED",s.COMMENT_CREATE="COMMENT_CREATE",s.POST_CREATE="POST_CREATE",s.POST_UPDATE="POST_UPDATE",s.POST_DELETE="POST_DELETE",s.NOTE_CREATE="NOTE_CREATE",s.NOTE_UPDATE="NOTE_UPDATE",s.NOTE_DELETE="NOTE_DELETE",s.PAGE_UPDATED="PAGE_UPDATED",s.PAGE_UPDATE="PAGE_UPDATE",s.SAY_CREATE="SAY_CREATE",s.SAY_DELETE="SAY_DELETE",s.SAY_UPDATE="SAY_UPDATE",s.RECENTLY_CREATE="RECENTLY_CREATE",s.RECENTLY_DELETE="RECENTLY_DELETE",s.ACTIVITY_UPDATE_PRESENCE="ACTIVITY_UPDATE_PRESENCE",s.ACTIVITY_LEAVE_PRESENCE="ACTIVITY_LEAVE_PRESENCE",s))(g||{}),Hs=(s=>(s.Join="join",s.Leave="leave",s.UpdateSid="updateSid",s))(Hs||{});const S=()=>{document.dispatchEvent(new CustomEvent("impression",{detail:{action:Nt.Impression,label:"Socket Realtime Event"}}))},Ks=(s,e,t)=>{switch(s){case g.VISITOR_ONLINE:case g.VISITOR_OFFLINE:{const{online:n}=e;bt(n);break}case g.POST_UPDATE:{const n=e,r=Ue();if(!r||r.id!==n.id)break;zs(i=>{const o={...e};Reflect.deleteProperty(o,"category"),Object.assign(i,o)}),T("文章已更新"),S(),r.text!==n.text&&document.dispatchEvent(new CustomEvent(ce.RefreshToc));break}case g.POST_DELETE:{const n=e;location.pathname===C(w.Post,{category:n.category.slug,slug:n.slug})&&Ue()?.id===n.id&&(t.replace(C(w.PageDeletd,{})),T.error("文章已删除"),S());break}case g.NOTE_UPDATE:{const n=e,r=qe()?.data;if(!r||r.id!==n.id)break;$s(i=>{Object.assign(i.data,n)}),T("手记已更新"),S(),r.text!==n.text&&document.dispatchEvent(new CustomEvent(ce.RefreshToc));break}case g.NOTE_DELETE:{const n=e;location.pathname===C(w.Note,{id:n.id})&&qe()?.data.id===n.id&&(t.replace(C(w.PageDeletd,{})),T.error("手记已删除"),S());break}case g.PAGE_UPDATED:case g.PAGE_UPDATE:{const{slug:n}=e;js()?.slug===n&&(Ys(r=>{Object.assign(r,e)}),T("页面已更新"),S());break}case g.NOTE_CREATE:{const{title:n,nid:r}=e;T.success(`有新的内容发布了:「${n}」`,{onClick:()=>{window.peek(`/notes/${r}`)},iconElement:N.createElement(Ls),autoClose:!1}),S();break}case g.POST_CREATE:{const{title:n,category:r,slug:i}=e;T.success(`有新的内容发布了:「${n}」`,{onClick:()=>{window.peek(`/posts/${r.slug}/${i}`)},iconElement:N.createElement(Bs)}),S();break}case g.RECENTLY_CREATE:{S(),location.pathname===C(w.Thinking,{})||T.success(`写下一点小思考: +${e.content}`,{autoClose:1e4,iconElement:N.createElement(Ds),onClick:()=>{t.push(C(w.Thinking,{}))}});break}case g.SAY_CREATE:{location.pathname===C(w.Says,{})&&(S(),M.setQueryData(Ps,n=>he(n,r=>{r?.pages?.[0].data.unshift(e)})));break}case g.ACTIVITY_UPDATE_PRESENCE:{const n=e,r=Me.activity.presence(n.roomName).queryKey,i=M.getQueryState(r);M.cancelQueries({queryKey:r}),At(e),i?.data||M.invalidateQueries({queryKey:r});break}case g.ACTIVITY_LEAVE_PRESENCE:{const n=e;M.cancelQueries({queryKey:Me.activity.presence(n.roomName).queryKey}),kt(n.identity);break}case"fn#media-update":{_t(e);break}case"fn#ps-update":{const n=e.processInfo;Ct(n);break}case"shiro#update":{T.info("站点版本已更新,请刷新页面",{onClick:()=>{location.reload()}});break}default:window.dispatchEvent(new CustomEvent(`event:${s}`,{detail:e}))}};class ye{constructor(){this.waitingEmitQueue=[];const e=Et.replace(/\/$/,"");this.socket=W(`${e}/web`,{timeout:1e4,reconnectionDelay:3e3,autoConnect:!1,reconnectionAttempts:3,transports:["websocket"],query:{socket_session_id:xt()}})}setRouter(e){this.router=e}initIO(){this.socket&&(this.socket.on("connect",()=>{window.dispatchEvent(new Rs),Q(!0),this.waitingEmitQueue.forEach(e=>{e(this.socket)}),this.waitingEmitQueue=[]}),this.socket.on("disconnect",()=>{window.dispatchEvent(new Os),Q(!1)}),this.socket.close(),this.socket.open(),Q(this.socket.connected),this.socket.on("message",e=>{if(typeof e!="string")return this.handleEvent(e.type,Ce(e.data));const{data:t,type:n}=JSON.parse(e);this.handleEvent(n,Ce(t))}))}reconnect(){this.socket.open()}handleEvent(e,t){window.dispatchEvent(new CustomEvent(e,{detail:t})),Ks(e,t,this.router)}emit(e,t){const n=(r,i)=>{r.emit("message",{type:e,payload:t},o=>{i(o)})};return new Promise(r=>{this.socket&&this.socket.connected?n(this.socket,r):this.waitingEmitQueue.push(i=>{n(i,r)})})}static{this.shared=new ye}}const Pn=ye.shared,st=s=>{const{onKeyDown:e,onCompositionStart:t,onCompositionEnd:n}=s,r=h.useRef(!1),i=h.useCallback(a=>{r.current=!0,t?.(a)},[t]),o=h.useCallback(a=>{r.current=!1,n?.(a)},[n]),c=h.useCallback(a=>{if(e?.(a),r.current){a.stopPropagation();return}},[e]);return{onCompositionEnd:o,onCompositionStart:i,onKeyDown:c}},nt=h.forwardRef(({className:s,...e},t)=>{const n=st(e);return u.jsx("input",{ref:t,className:R("min-w-0 flex-auto appearance-none rounded-lg border ring-accent/20 duration-200 sm:text-sm","bg-base-100 px-3 py-[calc(theme(spacing.2)-1px)] placeholder:text-zinc-400 focus:outline-none focus:ring-2","border-zinc-900/10 dark:border-zinc-700","focus:border-accent/80 dark:bg-zinc-700/[0.15] dark:text-zinc-200 dark:placeholder:text-zinc-500",e.type==="password"?"font-mono":"font-[system-ui]",s),...e,...n})});nt.displayName="Input";const Ws=h.forwardRef((s,e)=>{const{className:t,wrapperClassName:n,children:r,...i}=s,o=ke(0),c=ke(0),a=h.useCallback(({clientX:d,clientY:A,currentTarget:O})=>{const P=O.getBoundingClientRect();o.set(d-P.left),c.set(A-P.top)},[o,c]),f=Rt`radial-gradient(320px circle at ${o}px ${c}px, var(--spotlight-color) 0%, transparent 85%)`,m=Tt(),y=st(s);return u.jsxs("div",{className:R("group relative h-full overflow-hidden [--spotlight-color:oklch(var(--a)_/_0.12)]",n),onMouseMove:a,children:[!m&&u.jsx(It.div,{className:"pointer-events-none absolute bottom-[-150px] left-0 right-0 top-0 z-0 rounded-xl opacity-0 transition-opacity duration-500 group-hover:opacity-100",style:{background:f},"aria-hidden":"true"}),u.jsx("textarea",{ref:e,className:R("h-full w-full resize-none bg-transparent","overflow-auto px-3 py-4","text-neutral-900/80 dark:text-slate-100/80",t),...i,...y}),r]})});Ws.displayName="TextArea";const Gs=h.forwardRef((s,e)=>h.createElement(Dt.label,Lt({},s,{ref:e,onMouseDown:t=>{var n;(n=s.onMouseDown)===null||n===void 0||n.call(s,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),rt=Gs,Qs=h.createContext({}),Js=()=>h.useContext(Qs),be=h.forwardRef(({className:s,...e},t)=>{const n=Js();return u.jsx(rt,{ref:t,className:R("text-foreground-600 text-[1em] font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",s,n.className),...e})});be.displayName=rt.displayName;const Xs=({errorMessage:s,id:e})=>u.jsx("div",{className:"mt-2",children:u.jsx(be,{className:"text-xs font-medium text-error",htmlFor:e,children:s})}),Zs=h.createContext({}),en=()=>h.useContext(Zs),tn=N.forwardRef((s,e)=>{const{className:t,type:n,label:r,isLoading:i,errorMessage:o,isInvalid:c,endContent:a,labelPlacement:f,inputClassName:m,bindValue:y,...d}=s,A=h.useId(),O=en(),{value:P,onChange:it,onBlur:ot,onFocus:at,labelClassName:cn,...ct}=d,[Ee,we]=N.useState(!1),ht=N.useCallback(()=>{we(!0)},[]),lt=N.useCallback(()=>{we(!1)},[]),[ut,ve]=N.useState(d.value);h.useEffect(()=>{ve(d.value)},[d.value]);const[V,ft]=N.useState(!1),dt=Mt({},O,s),{labelPlacement:x="top"}=dt,pt=R(O.inputClassName,s.labelClassName),mt=R(O.inputClassName,s.inputClassName);return u.jsxs("div",{className:"flex w-full flex-col",children:[u.jsxs("div",{className:R({"flex flex-col":x==="top","flex flex-grow flex-row items-center":x==="left"},"peer relative",t),children:[r&&u.jsx(be,{className:Ae({"mr-4":x==="left","mb-2 flex":x==="top"},x==="inside"&&{"absolute left-3 top-2 z-[1] select-none duration-200":!0,"text-primary":Ee,"bottom-2 top-2 flex items-center text-lg":!P&&!Ee},pt),htmlFor:A,children:r}),u.jsxs("div",{className:"relative flex-grow",children:[u.jsx("input",{id:A,value:qt(y)?ut:y,onChange:D=>{ve(D.target.value),it?.(D)},onBlur:D=>{lt(),ot?.(D)},onFocus:D=>{ht(),at?.(D)},type:n==="password"&&!V?"password":"text",className:R("flex h-10 w-full rounded-md border px-3 py-2 text-sm","focus-visible:outline-none focus-visible:ring-0 disabled:cursor-not-allowed disabled:opacity-50","border-zinc-200 bg-white placeholder:text-slate-500 focus-visible:border-primary dark:border-neutral-800 dark:bg-zinc-900",x==="inside"&&"h-auto pb-2 pt-8",n==="password"&&["pr-6",!V&&"font-mono"],i&&"pr-6",c&&"!border-red-400 !bg-red-600/50",mt),ref:e,...ct}),n==="password"&&!i&&u.jsx(Ot,{className:Z({placement:x}),onClick:()=>{ft(!V)},children:u.jsx("i",{className:Ae("text-lg text-gray-500",V?"icon-[mingcute--eye-line]":"icon-[mingcute--eye-close-line]")})}),!i&&a&&u.jsx("div",{className:Z({placement:x}),children:a}),i&&u.jsx("div",{className:Z({placement:x}),children:u.jsx("i",{className:"loading loading-spinner h-5 w-5 text-primary/80"})})]})]}),c&&o&&u.jsx(Xs,{id:A,errorMessage:o})]})}),Z=Pt({base:"absolute right-2",variants:{placement:{inside:"bottom-2",left:"bottom-0 top-0 flex items-center",top:"bottom-0 top-0 flex items-center"}}});tn.displayName="Input";Ve({});const sn=h.createContext(null),nn=h.createContext(null),rn=()=>h.useContext(sn),on=()=>h.useContext(nn),an=h.memo(({className:s,rules:e,onKeyDown:t,...n})=>{const r=rn();if(!r)throw new Error("FormInput must be used inside ");const{showErrorMessage:i}=on(),{addField:o,removeField:c,fields:a}=r,f=h.useRef(null),m=ee(Fe(a,h.useCallback(d=>{if(n.name)return d[n.name]?.rules.find(A=>A.status==="error")?.message},[n.name])));h.useEffect(()=>{const d=n.name;if(e&&d)return o(d,{rules:e,$ref:f.current}),()=>{c(d)}},[n.name,e]);const y=h.useCallback(d=>{t&&t(d),wt.set(a,A=>he(A,O=>{n.name&&O[n.name].rules.forEach(P=>{P.status==="error"&&(P.status="success")})}))},[a,t,n.name]);return u.jsxs(u.Fragment,{children:[u.jsx(nt,{ref:f,className:R(!!m&&"ring-2 ring-red-400 dark:ring-orange-700","w-full",s),type:"text",onKeyDown:y,...n}),i&&u.jsx(Bt,{duration:.2,children:u.jsx("p",{className:"text-left text-sm text-red-400 dark:text-orange-700",children:m})})]})});an.displayName="FormInput";export{sn as F,nt as I,Rn as M,w as R,Hs as S,Ws as T,nn as a,On as b,Nn as c,an as d,kn as e,_n as f,Cn as g,Me as q,C as r,Pn as s,rn as u}; diff --git a/assets/Gallery-QJ8JjQGt.js b/assets/Gallery-QJ8JjQGt.js new file mode 100644 index 00000000000..dd4fbf08941 --- /dev/null +++ b/assets/Gallery-QJ8JjQGt.js @@ -0,0 +1,3 @@ +import{R as fe,r as i,j as r,i as q}from"./index-ZXl4th35.js";import{c as _e,L as Te,u as ke}from"./image-fdtjzFNr.js";import{c as ge,a as M}from"./motion-minimal-epsqYg85.js";import{t as he}from"./lodash-lrAbnKsZ.js";import{j as pe,h as ve}from"./request-bY2SEZNN.js";import{a as F,b as te,c as ce}from"./toast-dlXalurG.js";import{c as Me}from"./StyledButton-VgryXAte.js";import{a as We}from"./viewport-l4O6ZIBM.js";import{u as De,D as le}from"./use-is-unmounted-dmgvzXDy.js";import{a as Fe}from"./env-y9k74Ds6.js";const $e=({contexts:t,children:e})=>t.reduceRight((o,a)=>fe.cloneElement(a,{children:o}),e),Z=typeof window<"u"?i.useLayoutEffect:i.useEffect,Be=F(!1),Ge=t=>pe.set(Be,t),ye=t=>{const e=(o,a=[])=>te(ve(t,i.useCallback(c=>o(c),a)));return e.__atom=t,e},xe=F(0),ne=F(null),Wt=({children:t})=>r.jsxs(r.Fragment,{children:[r.jsx(Ue,{}),t]}),Ue=()=>{const t=ce(xe),e=ce(ne),o=i.useRef(0),a=i.useRef(!1);return Z(()=>{const c=he(()=>{a.current||(Ge(!0),a.current=!0);const u=document.documentElement.scrollTop;e(o.current-u>0?"up":"down"),o.current=u,i.startTransition(()=>{t(o.current)})},16,{leading:!1});return window.addEventListener("scroll",c),c(),()=>{window.removeEventListener("scroll",c)}},[]),null},Ye=()=>te(ne),Dt=ye(xe);ye(ne);const ee=t=>{const e=i.useRef(t);return i.useEffect(()=>{e.current=t},[t]),e},qe=t=>{const e=i.useRef();return e.current||(e.current=t()),e.current},ze=i.createContext(F([])),Ft=({children:t,images:e})=>{const o=qe(()=>F(e));return i.useEffect(()=>{pe.set(o,e)},[e]),r.jsx(ze.Provider,{value:o,children:t})},oe=t=>te(ve(i.useContext(ze),i.useCallback(e=>e.find(o=>o.src===t),[t]))),[Ze,Ve,Xe]=q(void 0),[Ke,Qe,Je]=q({h:0,w:0}),[et,$t,tt]=q({x:0,y:0}),[nt,Bt,ot]=q(!1),rt=[r.jsx(Ze,{},"ArticleElementProviderInternal"),r.jsx(Ke,{},"ElementSizeProviderInternal"),r.jsx(et,{},"ElementPositionProviderInternal"),r.jsx(nt,{},"IsEOArticleElementProviderInternal")],Gt=({children:t,className:e,...o})=>r.jsxs($e,{contexts:rt,children:[r.jsx(at,{}),r.jsx(Ee,{...o,className:e,children:t})]}),at=()=>{const t=Je(),e=tt(),o=Ve();return Z(()=>{if(!o)return;const{height:a,width:c,x:u,y}=o.getBoundingClientRect();t({h:a,w:c}),e({x:u,y});const m=new ResizeObserver(E=>{const x=E[0],{height:h,width:L,x:N,y:A}=x.contentRect;t({h,w:L}),e({x:N,y:A})});return m.observe(o),()=>{m.unobserve(o),m.disconnect()}},[o]),null},Ee=i.memo(({children:t,className:e,eoaDetect:o,as:a="div"})=>{const c=Xe(),u=a;return r.jsxs(u,{className:ge("relative",e),ref:c,children:[t,o&&r.jsx(it,{})]})});Ee.displayName="ArticleElementProviderContent";const it=()=>{const t=Ye(),e=ee(t),o=ot(),a=i.useRef(null);return i.useEffect(()=>{if(!a.current)return;const c=a.current,u=new IntersectionObserver(y=>{const m=y[0];!m.isIntersecting&&e.current==="down"||o(m.isIntersecting)},{rootMargin:"0px 0px 0px 0px"});return u.observe(c),()=>{u.unobserve(c),u.disconnect()}},[]),r.jsx("div",{ref:a})};/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var P=Object.assign||function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{},a=window.Promise||function(s){function l(){}s(l,l)},c=function(s){var l=s.target;if(l===$){w();return}z.indexOf(l)!==-1&&R({target:l})},u=function(){if(!(_||!n.original)){var s=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(ie-s)>f.scrollOffset&&setTimeout(w,150)}},y=function(s){var l=s.key||s.keyCode;(l==="Escape"||l==="Esc"||l===27)&&w()},m=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=s;if(s.background&&($.style.background=s.background),s.container&&s.container instanceof Object&&(l.container=P({},f.container,s.container)),s.template){var g=U(s.template)?s.template:document.querySelector(s.template);l.template=g}return f=P({},f,l),z.forEach(function(v){v.dispatchEvent(k("medium-zoom:update",{detail:{zoom:b}}))}),b},E=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(P({},f,s))},x=function(){for(var s=arguments.length,l=Array(s),g=0;g0?l.reduce(function(d,j){return[].concat(d,ue(j))},[]):z;return v.forEach(function(d){d.classList.remove("medium-zoom-image"),d.dispatchEvent(k("medium-zoom:detach",{detail:{zoom:b}}))}),z=z.filter(function(d){return v.indexOf(d)===-1}),b},L=function(s,l){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return z.forEach(function(v){v.addEventListener("medium-zoom:"+s,l,g)}),p.push({type:"medium-zoom:"+s,listener:l,options:g}),b},N=function(s,l){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return z.forEach(function(v){v.removeEventListener("medium-zoom:"+s,l,g)}),p=p.filter(function(v){return!(v.type==="medium-zoom:"+s&&v.listener.toString()===l.toString())}),b},A=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=s.target,g=function(){var d={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},j=void 0,O=void 0;if(f.container)if(f.container instanceof Object)d=P({},d,f.container),j=d.width-d.left-d.right-f.margin*2,O=d.height-d.top-d.bottom-f.margin*2;else{var T=U(f.container)?f.container:document.querySelector(f.container),H=T.getBoundingClientRect(),V=H.width,Ie=H.height,Ae=H.left,Se=H.top;d=P({},d,{width:V,height:Ie,left:Ae,top:Se})}j=j||d.width-f.margin*2,O=O||d.height-f.margin*2;var D=n.zoomedHd||n.original,je=de(D)?j:D.naturalWidth||j,Ce=de(D)?O:D.naturalHeight||O,B=D.getBoundingClientRect(),Le=B.top,Re=B.left,X=B.width,K=B.height,Oe=Math.min(Math.max(X,je),j)/X,Ne=Math.min(Math.max(K,Ce),O)/K,Q=Math.min(Oe,Ne),He=(-Re+(j-X)/2+f.margin+d.left)/Q,Pe=(-Le+(O-K)/2+f.margin+d.top)/Q,se="scale("+Q+") translate3d("+He+"px, "+Pe+"px, 0)";n.zoomed.style.transform=se,n.zoomedHd&&(n.zoomedHd.style.transform=se)};return new a(function(v){if(l&&z.indexOf(l)===-1){v(b);return}var d=function V(){_=!1,n.zoomed.removeEventListener("transitionend",V),n.original.dispatchEvent(k("medium-zoom:opened",{detail:{zoom:b}})),v(b)};if(n.zoomed){v(b);return}if(l)n.original=l;else if(z.length>0){var j=z;n.original=j[0]}else{v(b);return}if(n.original.dispatchEvent(k("medium-zoom:open",{detail:{zoom:b}})),ie=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,_=!0,n.zoomed=lt(n.original),document.body.appendChild($),f.template){var O=U(f.template)?f.template:document.querySelector(f.template);n.template=document.createElement("div"),n.template.appendChild(O.content.cloneNode(!0)),document.body.appendChild(n.template)}if(n.original.parentElement&&n.original.parentElement.tagName==="PICTURE"&&n.original.currentSrc&&(n.zoomed.src=n.original.currentSrc),document.body.appendChild(n.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),n.original.classList.add("medium-zoom-image--hidden"),n.zoomed.classList.add("medium-zoom-image--opened"),n.zoomed.addEventListener("click",w),n.zoomed.addEventListener("transitionend",d),n.original.getAttribute("data-zoom-src")){n.zoomedHd=n.zoomed.cloneNode(),n.zoomedHd.removeAttribute("srcset"),n.zoomedHd.removeAttribute("sizes"),n.zoomedHd.removeAttribute("loading"),n.zoomedHd.src=n.zoomed.getAttribute("data-zoom-src"),n.zoomedHd.onerror=function(){clearInterval(T),console.warn("Unable to reach the zoom image target "+n.zoomedHd.src),n.zoomedHd=null,g()};var T=setInterval(function(){n.zoomedHd.complete&&(clearInterval(T),n.zoomedHd.classList.add("medium-zoom-image--opened"),n.zoomedHd.addEventListener("click",w),document.body.appendChild(n.zoomedHd),g())},10)}else if(n.original.hasAttribute("srcset")){n.zoomedHd=n.zoomed.cloneNode(),n.zoomedHd.removeAttribute("sizes"),n.zoomedHd.removeAttribute("loading");var H=n.zoomedHd.addEventListener("load",function(){n.zoomedHd.removeEventListener("load",H),n.zoomedHd.classList.add("medium-zoom-image--opened"),n.zoomedHd.addEventListener("click",w),document.body.appendChild(n.zoomedHd),g()})}else g()})},w=function(){return new a(function(s){if(_||!n.original){s(b);return}var l=function g(){n.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(n.zoomed),n.zoomedHd&&document.body.removeChild(n.zoomedHd),document.body.removeChild($),n.zoomed.classList.remove("medium-zoom-image--opened"),n.template&&document.body.removeChild(n.template),_=!1,n.zoomed.removeEventListener("transitionend",g),n.original.dispatchEvent(k("medium-zoom:closed",{detail:{zoom:b}})),n.original=null,n.zoomed=null,n.zoomedHd=null,n.template=null,s(b)};_=!0,document.body.classList.remove("medium-zoom--opened"),n.zoomed.style.transform="",n.zoomedHd&&(n.zoomedHd.style.transform=""),n.template&&(n.template.style.transition="opacity 150ms",n.template.style.opacity=0),n.original.dispatchEvent(k("medium-zoom:close",{detail:{zoom:b}})),n.zoomed.addEventListener("transitionend",l)})},R=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=s.target;return n.original?w():A({target:l})},W=function(){return f},I=function(){return z},C=function(){return n.original},z=[],p=[],_=!1,ie=0,f=o,n={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?f=e:(e||typeof e=="string")&&x(e),f=P({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},f);var $=ct(f.background);document.addEventListener("click",c),document.addEventListener("keyup",y),document.addEventListener("scroll",u),window.addEventListener("resize",w);var b={open:A,close:w,toggle:R,update:m,clone:E,attach:x,detach:h,on:L,off:N,getOptions:W,getImages:I,getZoomedImage:C};return b};function ut(t,e){e===void 0&&(e={});var o=e.insertAt;if(!(!t||typeof document>"u")){var a=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css",o==="top"&&a.firstChild?a.insertBefore(c,a.firstChild):a.appendChild(c),c.styleSheet?c.styleSheet.cssText=t:c.appendChild(document.createTextNode(t))}}var mt=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";ut(mt);const ft=t=>fe.createElement("img",t,t.children),gt="_error_hef56_1",ht="_loading_hef56_2",pt="_loaded_hef56_6",vt="_imageLoad_hef56_1",me={error:gt,loading:ht,loaded:pt,imageLoad:vt},re=Me({base:"rounded-xl overflow-hidden text-center inline-flex items-center justify-center duration-200",variants:{status:{loading:"hidden opacity-0",loaded:"opacity-100 block",error:"hidden opacity-0"}}});let J;const yt=({alt:t,src:e,title:o,zoom:a,placeholder:c,height:u,width:y,className:m})=>{const[E]=i.useState(()=>{if(Fe)return null;if(J)return J;const p=dt(void 0,{});return J=p,p}),x=o||t,[h,L]=i.useState("loading"),N=De(),A=i.useCallback(p=>{N.current||L(p)},[N]),w=i.useRef(null),R=We();Z(()=>{if(h!=="loaded"||!a)return;const p=w.current;if(p){if(R)return p.onclick=()=>{window.open(e)},()=>{p.onclick=null};if(p)return E.attach(p),()=>{E.detach(p)}}},[a,E,h,R]);const W=i.useCallback(()=>{A("loaded")},[A]),I=i.useCallback(()=>A("error"),[A]),C=i.useCallback(p=>{p.target.classList.remove(me.loaded)},[]),z=i.useMemo(()=>re({status:h,className:M(me.loaded,m)}),[m,h]);return r.jsxs("figure",{children:[r.jsx("span",{className:"relative flex justify-center","data-hide-print":!0,children:r.jsxs(Te,{placeholder:c,offset:30,children:[r.jsx("span",{children:h!=="loaded"&&c}),h==="error"&&r.jsxs("div",{className:"absolute inset-0 z-[1] flex flex-col gap-8 center",children:[r.jsx("i",{className:"icon-[mingcute--close-line] text-4xl text-red-500"}),r.jsx("span",{children:"图片加载失败"}),r.jsx(le,{className:"w-[80px] opacity-80"}),r.jsx("a",{href:e,target:"_blank",rel:"noreferrer",children:r.jsx("span",{children:"查看原图"})})]}),r.jsx(be,{height:u,width:y,src:e,title:o,alt:t||o||"",ref:w,onLoad:W,onError:I,className:z,onAnimationEnd:C})]})}),r.jsx("img",{className:"max-w-1/3 !hidden print:!block",src:e,alt:t||o}),!!x&&r.jsxs("figcaption",{className:"mt-1 flex flex-col items-center justify-center",children:[r.jsx(le,{className:"w-[80px] opacity-80"}),r.jsx("span",{children:x})]})]})},xt=t=>{const e=i.useMemo(()=>r.jsx(zt,{...t}),[t]);return r.jsx(yt,{zoom:!0,placeholder:e,...t})},zt=({src:t,containerWidth:e,height:o,width:a,accent:c})=>{const u=oe(t),y=c||u?.accent,m=i.useMemo(()=>{let E=o,x=a;if(!E||!x){if(!u)return;E=u.height,x=u.width}if(e<=0)return;const{height:h,width:L}=_e({width:x,height:E,max:{width:e,height:1/0}});return{scaleHeight:h,scaleWidth:L}},[o,a,e,u]);return m?r.jsx("span",{className:`image-placeholder ${re.base}`,"data-width":m.scaleWidth,"data-height":m.scaleHeight,"data-from-record-height":u?.height,"data-from-record-width":u?.width,"data-src":t,style:{height:m.scaleHeight,width:m.scaleWidth,backgroundColor:y}}):r.jsx(Et,{accent:y})},Et=({accent:t})=>r.jsx("span",{className:ge("image-placeholder",re.base,"h-[300px] w-full bg-slate-300 dark:bg-slate-700"),style:{backgroundColor:t,outline:void 0}}),be=i.memo(i.forwardRef(({src:t,alt:e,...o},a)=>{const{height:c,width:u}=oe(t)||o,y=!!(c&&u),m=i.useRef(null),E=r.jsx("img",{"data-zoom-src":t,alt:e,src:t,ref:m,...o});i.useImperativeHandle(a,()=>m.current);const x=i.useRef(null);return Z(()=>{const h=x.current;h&&m.current&&(m.current.src=h.src)},[t]),r.jsx(r.Fragment,{children:y?r.jsxs(r.Fragment,{children:[r.jsx(ft,{alt:e||"",fetchPriority:"high",priority:!0,src:t,...o,height:+c,width:+u,ref:x}),r.jsx("div",{className:"absolute inset-0 flex justify-center opacity-0",children:i.cloneElement(E,{src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"})})]}):E})}));be.displayName="OptimizedImage";const bt="_root_1ug9l_1",wt="_indicator_1ug9l_2",It="_container_1ug9l_7",At="_child_1ug9l_17",Y={root:bt,indicator:wt,container:It,child:At},ae=60,St=15,jt=5e3,Ut=t=>{const{images:e}=t,[o,a]=i.useState(null),[,c]=i.useState({}),u=i.useRef(0);i.useEffect(()=>{if(!o)return;const I=new ResizeObserver(()=>{c({}),C(o)});function C(z){const p=z.children.item(0);p&&(u.current=p.clientWidth)}return C(o),I.observe(o),()=>{I.disconnect()}},[o]);const[y,m]=i.useState(0),E=i.useCallback(he(I=>{const C=I.target,z=Math.floor((C.scrollLeft+ae+15)/u.current);m(z)},60),[]),x=i.useCallback(I=>{o&&o.scrollTo({left:u.current*I,behavior:"smooth"})},[o]),h=i.useRef(null),L=ee(y),N=ee(e.length),A=i.useRef(!0),w=i.useRef(!0),R=i.useCallback(()=>{w.current&&(w.current=!1,clearInterval(h.current))},[]),{ref:W}=ke({initialInView:!1,triggerOnce:e.length<2,onChange(I){N.current<2||!w.current||(I?h.current=setInterval(()=>{L.current+1>N.current-1&&A.current&&(A.current=!1),L.current-1<0&&!A.current&&(A.current=!0);const C=L.current+(A.current?1:-1);x(C)},jt):h.current=clearInterval(h.current))}});return i.useEffect(()=>()=>{clearInterval(h.current)},[]),r.jsxs("div",{className:M("w-full","relative",Y.root),ref:W,onTouchMove:R,onWheel:R,children:[r.jsx("div",{className:M("w-full overflow-auto whitespace-nowrap",Y.container),onTouchStart:R,onScroll:E,ref:a,onTouchMove:R,onWheel:R,children:e.map(I=>r.jsx(we,{image:I},I.url))}),r.jsx("div",{className:M(Y.indicator,"space-x-2"),children:Array.from({length:e.length}).map((I,C)=>r.jsx("div",{className:M("h-[6px] w-[6px] cursor-pointer rounded-full bg-stone-600 opacity-50 transition-opacity duration-200 ease-in-out",y==C&&"!opacity-100"),onClick:x.bind(null,C)},C))})]})},Ct={width:`calc(100% - ${ae}px)`,marginRight:`${St}px`},we=i.memo(({image:t})=>{const e=oe(t.url),o=t.name,c=t.footnote||(["!","¡"].some(y=>y==o?.[0])?o?.slice(1):"")||"",{w:u}=Qe();return r.jsx("div",{style:Ct,className:M(Y.child,"inline-block self-center"),children:r.jsx(xt,{accent:e?.accent,src:t.url,alt:c,containerWidth:u-ae})},`${t.url}-${t.name||""}`)});we.displayName="GalleryItem";export{xt as F,Ut as G,ft as I,Ft as M,$e as P,Gt as W,Qe as a,oe as b,$t as c,Dt as d,Z as e,Wt as f,dt as m,qe as u}; diff --git a/assets/Gallery-cCMf-PmV.css b/assets/Gallery-cCMf-PmV.css new file mode 100644 index 00000000000..c3e75fd993d --- /dev/null +++ b/assets/Gallery-cCMf-PmV.css @@ -0,0 +1 @@ +._error_hef56_1,._loading_hef56_2{opacity:0}._loaded_hef56_6{animation:_imageLoad_hef56_1 .5s ease-in-out forwards}@keyframes _imageLoad_hef56_1{0%{-webkit-mask:linear-gradient(90deg,#000 25%,#000000e6 50%,#00000000) 150% 0 / 400% no-repeat;mask:linear-gradient(90deg,#000 25%,#000000e6 50%,#00000000) 150% 0 / 400% no-repeat;opacity:.2}to{-webkit-mask:linear-gradient(90deg,#000 25%,#000000e6 50%,#00000000) 0 / 400% no-repeat;mask:linear-gradient(90deg,#000 25%,#000000e6 50%,#00000000) 0 / 400% no-repeat;opacity:1}}._root_1ug9l_1:hover ._indicator_1ug9l_2{opacity:1}._container_1ug9l_7{scroll-snap-type:x mandatory;display:flex;align-items:flex-start}._container_1ug9l_7::-webkit-scrollbar{display:none}._child_1ug9l_17{scroll-snap-align:center;flex-shrink:0;scroll-snap-stop:always;text-align:center}._child_1ug9l_17:last-child{margin-right:0!important}._indicator_1ug9l_2{position:absolute;bottom:24px;left:50%;z-index:1;display:flex;border-radius:24px;background-color:var(--bg-opacity);padding:1rem 1.5rem;opacity:0;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transform:translate(-50%);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%)} diff --git a/assets/LinkCard-AonZnIUQ.js b/assets/LinkCard-AonZnIUQ.js new file mode 100644 index 00000000000..b21123e513f --- /dev/null +++ b/assets/LinkCard-AonZnIUQ.js @@ -0,0 +1,16 @@ +import{r as g,g as me,c as be,j as o,_ as ne,s as Y,b as ye}from"./index-ZXl4th35.js";import{u as de,L as we,g as je}from"./image-fdtjzFNr.js";import{b as _e,M as Ne,u as Ce,g as $e,f as ke,i as ae,m as J,c as oe,a as Pe}from"./motion-minimal-epsqYg85.js";import{L as fe}from"./StyledButton-VgryXAte.js";import{w as Q,k as le}from"./request-bY2SEZNN.js";import{b as Se,a as Te}from"./viewport-l4O6ZIBM.js";import{u as he}from"./provider-XKwIHqOQ.js";import{a as Ie}from"./spring-hnK4kZop.js";import{a as Me}from"./use-is-client-6Iy0halI.js";import{p as Re}from"./dom-NuJWIaAq.js";import{m as Ee}from"./visual-element-tlU1-krp.js";function q(t){const e=_e(()=>Ee(t)),{isStatic:r}=g.useContext(Ne);if(r){const[,u]=g.useState(t);g.useEffect(()=>e.on("change",u),[])}return e}function Le(t,e){const r=q(e()),u=()=>r.set(e());return u(),Ce(()=>{const m=()=>ke.update(u,!1,!0),a=t.map(c=>c.on("change",m));return()=>{a.forEach(c=>c()),$e(u)}}),r}function Ae(t,...e){const r=t.length;function u(){let m="";for(let a=0;a(t.Click="click",t.Interaction="interaction",t.Impression="impression",t))(ee||{}),Ve=function(t,e){e=e||{},e.listUnicodeChar=e.hasOwnProperty("listUnicodeChar")?e.listUnicodeChar:!1,e.stripListLeaders=e.hasOwnProperty("stripListLeaders")?e.stripListLeaders:!0,e.gfm=e.hasOwnProperty("gfm")?e.gfm:!0,e.useImgAltText=e.hasOwnProperty("useImgAltText")?e.useImgAltText:!0,e.abbr=e.hasOwnProperty("abbr")?e.abbr:!1,e.replaceLinksWithURL=e.hasOwnProperty("replaceLinksWithURL")?e.replaceLinksWithURL:!1,e.htmlTagsToSkip=e.hasOwnProperty("htmlTagsToSkip")?e.htmlTagsToSkip:[];var r=t||"";r=r.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*/gm,"");try{e.stripListLeaders&&(e.listUnicodeChar?r=r.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,e.listUnicodeChar+" $1"):r=r.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),e.gfm&&(r=r.replace(/\n={2,}/g,` +`).replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),e.abbr&&(r=r.replace(/\*\[.*\]:.*\n/,"")),r=r.replace(/<[^>]*>/g,"");var u=new RegExp("<[^>]*>","g");if(e.htmlTagsToSkip.length>0){var m="(?!"+e.htmlTagsToSkip.join("|")+")";u=new RegExp("<"+m+"[^>]*>","ig")}r=r.replace(u,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,e.useImgAltText?"$1":"").replace(/\[([^\]]*?)\][\[\(].*?[\]\)]/g,e.replaceLinksWithURL?"$2":"$1").replace(/^\s{0,3}>\s?/gm,"").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} #{0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\*]+)(\S)(.*?\S)??\1/g,"$2$3").replace(/(^|\W)([_]+)(\S)(.*?\S)??\2($|\W)/g,"$1$3$4$5").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/~(.*?)~/g,"$1")}catch(a){return console.error(a),t}return r};const Oe=me(Ve);var pe={exports:{}};/** +* Generate unique and beautiful colors from any texts or numbers + * @version v1.1.1 + * @link https://github.com/dastoori/uniqolor#README + * @author Rasool Dastoori + * @license MIT License, http://www.opensource.org/licenses/MIT + */(function(t,e){(function(r,u){t.exports=u()})(be,function(){function r(l,s){var n=l==null?null:typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(n!=null){var i,d,b,x,w=[],_=!0,k=!1;try{if(b=(n=n.call(l)).next,s===0){if(Object(n)!==n)return;_=!1}else for(;!(_=(i=b.call(n)).done)&&(w.push(i.value),w.length!==s);_=!0);}catch(L){k=!0,d=L}finally{try{if(!_&&n.return!=null&&(x=n.return(),Object(x)!==x))return}finally{if(k)throw d}}return w}}function u(l,s){return c(l)||r(l,s)||f(l,s)||v()}function m(l){return a(l)||h(l)||f(l)||y()}function a(l){if(Array.isArray(l))return p(l)}function c(l){if(Array.isArray(l))return l}function h(l){if(typeof Symbol<"u"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}function f(l,s){if(l){if(typeof l=="string")return p(l,s);var n=Object.prototype.toString.call(l).slice(8,-1);if(n==="Object"&&l.constructor&&(n=l.constructor.name),n==="Map"||n==="Set")return Array.from(l);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(l,s)}}function p(l,s){(s==null||s>l.length)&&(s=l.length);for(var n=0,i=new Array(s);n=x[0]&&d<=x[1])return l(s,n,i)}return d},H=function(s){for(var n=s.length,i=0,d=0;d1&&(i-=1),i<1/6?s+(n-s)*6*i:i<1/2?n:i<2/3?s+(n-s)*(2/3-i)*6:s},R=function(s,n,i){var d,b,x;if(s/=360,n/=100,i/=100,n===0)d=b=x=i;else{var w=i<.5?i*(1+n):i+n-i*n,_=2*i-w;d=T(_,w,s+1/3),b=T(_,w,s),x=T(_,w,s-1/3)}return[Math.round(d*255),Math.round(b*255),Math.round(x*255)]},E=function(s,n,i,d){return(s*299+n*587+i*114)/1e3>=d},G=function(s,n,i){return"hsl(".concat(s,", ").concat(n,"%, ").concat(i,"%)")},W=function(s,n,i,d){switch(d){case"rgb":return"rgb(".concat(s,", ").concat(n,", ").concat(i,")");case"hex":default:return"#".concat($(s.toString(16))).concat($(n.toString(16))).concat($(i.toString(16)))}},B=function(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.format,d=i===void 0?"hex":i,b=n.saturation,x=b===void 0?[50,55]:b,w=n.lightness,_=w===void 0?[50,60]:w,k=n.differencePoint,L=k===void 0?130:k,A=Math.abs(H(String(s))),U=F(A,[0,360]),z=F(A,M(x,S)),V=F(A,M(_,N)),Z=R(U,z,V),O=u(Z,3),D=O[0],re=O[1],se=O[2];return{color:d==="hsl"?G(U,z,V):W(D,re,se,d),isLight:E(D,re,se,L)}};return B.random=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=l.format,n=s===void 0?"hex":s,i=l.saturation,d=i===void 0?[50,55]:i,b=l.lightness,x=b===void 0?[50,60]:b,w=l.differencePoint,_=w===void 0?130:w,k=l.excludeHue;d=M(d,S),x=M(x,N);var L=k?K(0,359,k):I(0,359),A=typeof d=="number"?d:I.apply(void 0,m(d)),U=typeof x=="number"?x:I.apply(void 0,m(x)),z=R(L,A,U),V=u(z,3),Z=V[0],O=V[1],D=V[2];return{color:n==="hsl"?G(L,A,U):W(Z,O,D,n),isLight:E(Z,O,D,_)}},B})})(pe);var He=pe.exports;const ge=me(He);function Fe(t){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:o.jsxs("g",{fill:"none",fillRule:"evenodd",children:[o.jsx("path",{d:"M24 0v24H0V0h24ZM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018Zm.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022Zm-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01l-.184-.092Z"}),o.jsx("path",{fill:"currentColor",d:"M13.08 2.868a1.25 1.25 0 0 0-2.16 0L8.126 7.665L2.697 8.842a1.25 1.25 0 0 0-.667 2.054l3.7 4.141l-.56 5.525a1.25 1.25 0 0 0 1.748 1.27L12 19.592l5.082 2.24a1.25 1.25 0 0 0 1.748-1.27l-.56-5.525l3.7-4.14a1.25 1.25 0 0 0-.667-2.055l-5.428-1.176l-2.795-4.798ZM12 17.523c.172 0 .344.035.504.106l4.206 1.854l-.463-4.573a1.25 1.25 0 0 1 .312-.959l3.062-3.427l-4.492-.973a1.25 1.25 0 0 1-.816-.592L12 4.987v12.536Z"})]})})}const Ue=t=>{const{shouldTrack:e=!0,...r}=t;return e?o.jsx(xe,{...r}):o.jsx(o.Fragment,{children:t.children})},xe=g.memo(t=>{const[e,r]=g.useState(!1),u=Se(),{ref:m}=de({initialInView:!1,triggerOnce:!0,onChange(a){if(a){if(r(!0),u)return;document.dispatchEvent(new CustomEvent("impression",{detail:{action:t.action??ee.Impression,label:t.trackerMessage}})),t.onTrack?.()}}});return o.jsxs(o.Fragment,{children:[t.children,!e&&o.jsx("span",{ref:m})]})});xe.displayName="ImpressionView";const ie=t=>{const{dismissAll:e,dismissTop:r}=he();return o.jsxs("div",{className:"relative mx-auto mt-[10vh] max-w-full overflow-auto px-2 scrollbar-none lg:max-w-[65rem] lg:p-0",children:[o.jsx(Ue,{action:ee.Impression,trackerMessage:"Peek Modal"}),o.jsx(J.div,{initial:{opacity:.5,y:50},animate:{opacity:1,y:0},exit:{opacity:0,y:50},transition:Ie,className:"scrollbar-none",children:t.children}),o.jsxs(J.div,{initial:!0,exit:{opacity:0},className:"fixed right-2 top-2 flex items-center gap-4",children:[o.jsxs(fe,{className:"flex h-8 w-8 rounded-full p-1 shadow-sm ring-1 ring-zinc-200 center dark:ring-neutral-800",href:t.to,onClick:e,children:[o.jsx("i",{className:"icon-[mingcute--fullscreen-2-line] text-lg"}),o.jsx("span",{className:"sr-only",children:"Go to this link"})]}),o.jsxs("button",{className:"flex h-8 w-8 rounded-full p-1 shadow-sm ring-1 ring-zinc-200 center dark:ring-neutral-800",onClick:r,children:[o.jsx("i",{className:"icon-[mingcute--close-line] text-lg"}),o.jsx("span",{className:"sr-only",children:"Dimiss"})]})]})]})},De=()=>{const t=Te(),{present:e}=he();return g.useCallback(r=>{if(t)return;const u={clickOutsideToDismiss:!0,title:"Preview",modalClassName:"relative mx-auto mt-[10vh] scrollbar-none max-w-full overflow-auto px-2 lg:max-w-[65rem] lg:p-0"};return r.startsWith("/notes/")?(requestAnimationFrame(async()=>{const m=await ne(()=>import("./NotePreview-WtmyS8lf.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36]),import.meta.url).then(a=>a.NotePreview);e({...u,CustomModalComponent:()=>o.jsx(ie,{to:r,children:o.jsx(m,{noteId:parseInt(r.split("/").pop())})}),content:()=>null})}),!0):r.startsWith("/posts/")?(requestAnimationFrame(async()=>{const m=await ne(()=>import("./PostPreview-UoX5h2vO.js"),__vite__mapDeps([37,1,2,3,4,5,6,7,8,38,33,10,16,14,17,18,19,20,21,32,13,9,11,12,15,22,23,24,25,26,27,28,29,30,31,34,35]),import.meta.url).then(f=>f.PostPreview),a=r.split("/"),c=a.pop(),h=a.pop();e({...u,CustomModalComponent:()=>o.jsx(ie,{to:r,children:o.jsx(m,{category:h,slug:c})}),content:()=>null})}),!0):!1},[t,e])},Ge={typescript:"#2b7489",javascript:"#f1e05a",html:"#e34c26",java:"#b07219",go:"#00add8",vue:"#2c3e50",css:"#563d7c",yaml:"#cb171e",json:"#292929",markdown:"#083fa1",csharp:"#178600","c#":"#178600",c:"#555555",cpp:"#f34b7d","c++":"#f34b7d",python:"#3572a5",lua:"#000080",vimscript:"#199f4b",shell:"#89e051",dockerfile:"#384d54",ruby:"#701516",php:"#4f5d95",lisp:"#3fb68b",kotlin:"#F18E33",rust:"#dea584",dart:"#00B4AB",swift:"#ffac45","objective-c":"#438eff","objective-c++":"#6866fb",r:"#198ce7",matlab:"#e16737",scala:"#c22d40",sql:"#e38c00",perl:"#0298c3"},ce="https://api.github.com",We="/api/gh",te=t=>{const e=t.replace(ce,"");return Promise.any([fetch(ce+e).then(r=>{if(r.status===403)throw new Error("GitHub API rate limit exceeded");return r.json()}),fetch(We+e).then(r=>r.json())])},X=Symbol(),Be=Symbol(),ze=typeof window>"u"||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent),ve=ze?g.useEffect:g.useLayoutEffect,Ze=Y.unstable_runWithPriority?t=>{try{Y.unstable_runWithPriority(Y.unstable_NormalPriority,t)}catch(e){if(e.message==="Not implemented.")t();else throw e}}:t=>t(),qe=t=>({value:r,children:u})=>{const m=g.useRef(r),a=g.useRef(0),[c,h]=g.useState(null);c&&(c(r),h(null));const f=g.useRef();if(!f.current){const p=new Set,y=(v,S)=>{ye.unstable_batchedUpdates(()=>{a.current+=1;const N={n:a.current};S!=null&&S.suspense&&(N.n*=-1,N.p=new Promise($=>{h(()=>C=>{N.v=C,delete N.p,$(C)})})),p.forEach($=>$(N)),v()})};f.current={[X]:{v:m,n:a,l:p,u:y}}}return ve(()=>{m.current=r,a.current+=1,Ze(()=>{f.current[X].l.forEach(p=>{p({n:a.current,v:r})})})},[r]),g.createElement(t,{value:f.current},u)};function Xe(t){const e=g.createContext({[X]:{v:{current:t},n:{current:-1},l:new Set,u:r=>r()}});return e[Be]=e.Provider,e.Provider=qe(e.Provider),delete e.Consumer,e}function Ke(t,e){const r=g.useContext(t)[X],{v:{current:u},n:{current:m},l:a}=r,c=e(u),[h,f]=g.useReducer((p,y)=>{if(!y)return[u,c];if("p"in y)throw y.p;if(y.n===m)return Object.is(p[1],c)?p:[u,c];try{if("v"in y){if(Object.is(p[0],y.v))return p;const v=e(y.v);return Object.is(p[1],v)?p:[y.v,v]}}catch{}return[...p]},[u,c]);return Object.is(h[1],c)||f(),ve(()=>(a.add(f),()=>{a.delete(f)}),[a]),h[1]}const Ye={tmdb:!1},Je=Xe(Ye),Qe=t=>Ke(Je,e=>e[t]);var P=(t=>(t.GHRepo="gh-repo",t.Self="self",t.MixSpace="mx-space",t.GHCommit="gh-commit",t.GHPr="gh-pr",t.TMDB="tmdb",t))(P||{});const et="_contents_1bvlu_25",tt="_title_1bvlu_34",rt="_desc_1bvlu_46",st="_image_1bvlu_56",nt="_skeleton_1bvlu_66",at="_error_1bvlu_94",j={"card-grid":"_card-grid_1bvlu_1",contents:et,title:tt,desc:rt,image:st,skeleton:nt,error:at},_t=t=>Me()?o.jsx(we,{placeholder:o.jsx(lt,{}),children:o.jsx(ot,{...t})}):null,ot=t=>{const{id:e,source:r=P.Self,className:u,fallbackUrl:m}=t,[a,c]=g.useState(!0),[h,f]=g.useState(!1),[p,y]=g.useState(m||"javascript:;"),[v,S]=g.useState(),N=De(),$=g.useCallback(async s=>{N(p)&&Re(s)},[p]),C=Qe("tmdb"),I=g.useCallback((s,n)=>{const i={[P.MixSpace]:ue,[P.GHRepo]:it,[P.GHCommit]:ct,[P.GHPr]:ut,[P.Self]:ue};C&&(i[P.TMDB]=mt);const d=i[s];if(!d)return{isValid:!1,fetchFn:null};const b=d.isValid(n);return{isValid:b,fetchFn:b?d.fetch:null}},[C]),{isValid:K,fetchFn:H}=g.useMemo(()=>I(r,e),[r,e]),F=g.useCallback(async()=>{H&&(c(!0),await H(e,S,y).catch(s=>{console.log("fetch card info error: ",s),f(!0)}),c(!1))},[H,e]),{ref:M}=de({triggerOnce:!0,onChange(s){s&&F()}}),T=q(0),R=q(0),E=q(0),G=g.useCallback(({clientX:s,clientY:n,currentTarget:i})=>{const d=i.getBoundingClientRect();T.set(s-d.left),R.set(n-d.top),E.set(Math.sqrt(d.width**2+d.height**2)*1.3)},[T,R,E]),W=Ae`radial-gradient(${E}px circle at ${T}px ${R}px, var(--spotlight-color) 0%, transparent 65%)`;if(!K)return null;const B=r==="self"?fe:"a",l=v?.classNames||{};return o.jsxs(B,{href:p,target:r!=="self"?"_blank":"_self",ref:M,className:oe(j["card-grid"],(a||h)&&j.skeleton,h&&j.error,"group",u,l.cardRoot),style:{borderColor:v?.color?`${v.color}30`:""},onClick:$,onMouseMove:G,children:[v?.color&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"absolute inset-0 z-0",style:{backgroundColor:v?.color,opacity:.06}}),o.jsx(J.div,{layout:!0,className:"absolute inset-0 z-0 opacity-0 duration-500 group-hover:opacity-100",style:{"--spotlight-color":`${v?.color}50`,background:W}})]}),o.jsxs("span",{className:j.contents,children:[o.jsx("span",{className:j.title,children:v?.title}),o.jsx("span",{className:j.desc,children:v?.desc})]}),(a||v?.image)&&o.jsx("span",{className:oe(j.image,l.image),"data-image":v?.image||"",style:{backgroundImage:v?.image?`url(${v.image})`:void 0}})]})},lt=()=>o.jsxs("span",{className:Pe(j["card-grid"],j.skeleton),children:[o.jsxs("span",{className:j.contents,children:[o.jsx("span",{className:j.title}),o.jsx("span",{className:j.desc})]}),o.jsx("span",{className:j.image})]}),it={isValid:t=>{const e=t.split("/");return e.length===2&&e[0].length>0&&e[1].length>0},fetch:async(t,e,r)=>{const[u,m]=t.split("/");try{const a=await te(`https://api.github.com/repos/${u}/${m}`),c=Q(a);e({title:o.jsxs("span",{className:"flex items-center gap-2",children:[o.jsx("span",{className:"flex-1",children:c.name}),o.jsx("span",{className:"flex-shrink-0 self-end justify-self-end",children:c.stargazersCount>0&&o.jsxs("span",{className:"inline-flex flex-shrink-0 items-center gap-1 self-center text-sm text-orange-400 dark:text-yellow-500",children:[o.jsx("i",{className:"icon-[mingcute--star-line]"}),o.jsx("span",{className:"font-sans font-medium",children:c.stargazersCount})]})})]}),desc:c.description,image:c.owner.avatarUrl,color:Ge[c.language?.toLowerCase()]}),r(c.htmlUrl)}catch(a){throw console.error("Error fetching GitHub data:",a),a}}},ct={isValid:t=>{const e=t.split("/");return e.length===4&&e.every(r=>r.length>0)&&e[2]==="commit"},fetch:async(t,e,r)=>{const[u,m,,a]=t.split("/");try{const c=await te(`https://api.github.com/repos/${u}/${m}/commits/${a}`),h=Q(c);e({title:o.jsx("span",{className:"font-normal",children:h.commit.message.replace(/Signed-off-by:.+/,"")}),desc:o.jsxs("span",{className:"flex items-center space-x-5 font-mono",children:[o.jsxs("span",{className:"text-uk-green-light",children:["+",h.stats.additions]}),o.jsxs("span",{className:"text-uk-red-light",children:["-",h.stats.deletions]}),o.jsx("span",{className:"text-sm",children:h.sha.slice(0,7)}),o.jsxs("span",{className:"text-sm opacity-80",children:[u,"/",m]})]}),image:h.author?.avatarUrl}),r(`https://github.com/${u}/${m}/commit/${a}`)}catch(c){throw console.error("Error fetching GitHub commit data:",c),c}}},ut={isValid:t=>{const e=t.split("/");return e.length===3&&e.every(r=>r.length>0)},fetch:async(t,e,r)=>{const[u,m,,a]=t.split("/");try{const c=await te(`https://api.github.com/repos/${u}/${m}/pulls/${a}`),h=Q(c);e({title:`PR: ${h.title}`,desc:o.jsxs("span",{className:"flex items-center space-x-5 font-mono",children:[o.jsxs("span",{className:"text-uk-green-light",children:["+",h.additions]}),o.jsxs("span",{className:"text-uk-red-light",children:["-",h.deletions]}),o.jsxs("span",{className:"text-sm opacity-80",children:[u,"/",m]})]}),image:h.user.avatarUrl}),r(h.htmlUrl)}catch(c){throw console.error("Error fetching GitHub PR data:",c),c}}},ue={isValid:t=>{const[e,...r]=t.split("/");return e!=="posts"&&e!=="notes"?!1:e==="posts"?r.length===2:r.length===1},fetch:async(t,e,r)=>{const[u,...m]=t.split("/");try{let a={title:"",text:""};if(u==="posts"){const[f,p]=m;a=await le.post.getPost(f,p),r(`/posts/${f}/${p}`)}else if(u==="notes"){const[f]=m;a=(await le.note.getNoteById(+f)).data,r(`/notes/${f}`)}const c=a.cover||a.meta?.cover;let h="";if(c){const f=new Image;f.src=c,f.crossOrigin="Anonymous",f.onload=()=>{e(p=>p?.title!==a.title?p:{...p,color:je(f)})}}else h=ge(a.title,{saturation:[30,35],lightness:[60,70]}).color;e({title:a.title,desc:a.summary||`${Oe(a.text).slice(0,50)}...`,image:c||a.images?.[0]?.src,color:h})}catch(a){throw console.error("Error fetching self data:",a),a}}},mt={isValid(t){const[e,r]=t.split("/");return["tv","movie"].includes(e)&&r.length>0},async fetch(t,e,r){const[u,m]=t.split("/");e({classNames:{cardRoot:"!w-full"}});const a=await fetch(`/api/tmdb/${u}/${m}?language=zh-CN`).then(f=>f.json()).catch(f=>{throw console.error("Error fetching TMDB data:",f),f}),c=u==="tv"?a.name:a.title,h=u==="tv"?a.original_name:a.original_title;e({title:o.jsxs("span",{className:"flex flex-wrap items-end gap-2",children:[o.jsx("span",{children:c}),c!==h&&o.jsxs("span",{className:"text-sm opacity-70",children:["(",h,")"]}),o.jsxs("span",{className:"inline-flex flex-shrink-0 items-center gap-1 self-center text-xs text-orange-400 dark:text-yellow-500",children:[o.jsx(Fe,{}),o.jsx("span",{className:"font-sans font-medium",children:a.vote_average>0&&a.vote_average.toFixed(1)})]})]}),desc:o.jsx("span",{className:"line-clamp-none overflow-visible whitespace-pre-wrap",children:a.overview}),image:`https://image.tmdb.org/t/p/w500${a.poster_path}`,color:ge(a.name,{saturation:[30,35],lightness:[60,70]}).color,classNames:{image:"self-start !h-[75px] !w-[50px]",cardRoot:"!w-full !flex-row-reverse"}}),a.homepage&&r(a.homepage)}};export{_t as L,Oe as R,ee as T,P as a,q as b,Ae as c,Qe as u}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./NotePreview-WtmyS8lf.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./useQuery-3CoUXB5U.js","./request-bY2SEZNN.js","./toast-dlXalurG.js","./motion-minimal-epsqYg85.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js","./utils-nAJ288NP.js","./viewport-l4O6ZIBM.js","./Gallery-QJ8JjQGt.js","./image-fdtjzFNr.js","./lodash-lrAbnKsZ.js","./use-is-unmounted-dmgvzXDy.js","./Gallery-cCMf-PmV.css","./provider-XKwIHqOQ.js","./spring-hnK4kZop.js","./use-event-callback-ULpIcVk8.js","./dom-NuJWIaAq.js","./visual-element-tlU1-krp.js","./index-LA8z4iWc.js","./alert-fERsLyJJ.js","./FloatPopover-3waN72gb.js","./use-is-client-6Iy0halI.js","./SocialSourceLink-Fjgxzjol.js","./CodeHighlighter-Mm1eioOt.js","./use-is-dark-IiysOCcN.js","./CodeHighlighter-hcFZa2QO.css","./Collapse-btcJozxA.js","./alert--DRvt2nk.css","./react-error-boundary.esm-e5Yyzoa4.js","./AutoResizeHeight-dtcKGJMw.js","./FormInput-i0fsPScC.js","./customParseFormat-0gR3iPzn.js","./utils-rnEXEs_g.css","./NotePreview-aX_R-inV.css","./PostPreview-UoX5h2vO.js","./index-ISduWuPC.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/LinkCard-YJIkKfPg.css b/assets/LinkCard-YJIkKfPg.css new file mode 100644 index 00000000000..bc96805a0ab --- /dev/null +++ b/assets/LinkCard-YJIkKfPg.css @@ -0,0 +1 @@ +._card-grid_1bvlu_1{position:relative;display:flex;box-sizing:border-box;flex-direction:row;align-items:center;width:27.857rem;min-height:6rem;border-radius:.571rem;max-width:100%;overflow:hidden;margin:1.143rem auto;padding:.857rem 1.286rem;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);transition:background-color .2s ease-in-out;gap:1.286rem;cursor:pointer;border-width:1px;font-family:var(--font-sans),system-ui,-apple-system,PingFang SC,"Microsoft YaHei",Segoe UI,Roboto,Helvetica,noto sans sc,hiragino sans gb,"sans-serif",Apple Color Emoji,Segoe UI Emoji,Not Color Emoji;text-decoration-line:none}._card-grid_1bvlu_1 *{font-style:normal!important}._card-grid_1bvlu_1{border-width:1px;border-color:#e2e8f0cc;background-color:#f8fafccc}:is([data-theme=dark] ._card-grid_1bvlu_1){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}._card-grid_1bvlu_1{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}._contents_1bvlu_25{flex:1 1 auto;position:relative;display:block;min-width:0;z-index:1}._title_1bvlu_34{line-height:1.429rem;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:1.071rem;font-weight:500;margin-bottom:.143rem}._desc_1bvlu_46{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}:is([data-theme=dark] ._desc_1bvlu_46){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}._desc_1bvlu_46{display:block;margin-top:.429rem;min-width:0;font-size:.9rem;line-height:1.4}._image_1bvlu_56{aspect-ratio:1 / 1;flex-shrink:0;background-size:cover;background-position:center;background-repeat:no-repeat;z-index:1;--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is([data-theme=dark] ._image_1bvlu_56){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}._image_1bvlu_56{height:3rem;width:3rem;margin-left:.1rem;border-radius:.41rem}._skeleton_1bvlu_66 ._title_1bvlu_34,._skeleton_1bvlu_66 ._desc_1bvlu_46{border-radius:7.071rem}._skeleton_1bvlu_66 ._title_1bvlu_34{width:3.571rem;height:1.429rem;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is([data-theme=dark] ._skeleton_1bvlu_66 ._title_1bvlu_34){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}._skeleton_1bvlu_66 ._desc_1bvlu_46{width:100%;margin-top:.857rem;height:1rem;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is([data-theme=dark] ._skeleton_1bvlu_66 ._desc_1bvlu_46){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}._skeleton_1bvlu_66 ._image_1bvlu_56{height:3.571rem;width:3.571rem;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is([data-theme=dark] ._skeleton_1bvlu_66 ._image_1bvlu_56){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}._skeleton_1bvlu_66._error_1bvlu_94{background-color:#e1534a20!important}._skeleton_1bvlu_66._error_1bvlu_94 ._title_1bvlu_34,._skeleton_1bvlu_66._error_1bvlu_94 ._desc_1bvlu_46,._skeleton_1bvlu_66._error_1bvlu_94 ._image_1bvlu_56{background-color:#e1534a79;color:transparent}._skeleton_1bvlu_66._error_1bvlu_94 ._image_1bvlu_56{background-image:none!important} diff --git a/assets/Mermaid-gWIn58QC.js b/assets/Mermaid-gWIn58QC.js new file mode 100644 index 00000000000..6a3fd9e4ee2 --- /dev/null +++ b/assets/Mermaid-gWIn58QC.js @@ -0,0 +1,7 @@ +import{j as n,r as e,_ as h}from"./index-ZXl4th35.js";import{u as y}from"./use-is-dark-IiysOCcN.js";import{a as I,F as w}from"./Gallery-QJ8JjQGt.js";import{c as k}from"./motion-minimal-epsqYg85.js";const L=t=>n.jsx("div",{className:k("flex h-[500px] items-center justify-center rounded-lg bg-slate-100 text-sm dark:bg-neutral-800",t.className),style:t.style,children:t.children}),M=t=>{const[x,c]=e.useState(!0),[_,o]=e.useState(""),[m,l]=e.useState(""),[v,u]=e.useState(),[E,f]=e.useState(),g=y();e.useEffect(()=>{h(()=>import("./mermaid.core-wTs8WatG.js").then(s=>s.b4),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(async s=>{s.default.initialize({theme:g?"dark":"default"})})},[g]);const d=e.useId().split(":").join("");e.useEffect(()=>{if(!t.content)return;o(""),c(!0);let s=!1;h(()=>import("./mermaid.core-wTs8WatG.js").then(a=>a.b4),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(async a=>{const p=a.default;let i;try{i=await p.render(`mermaid-${d}`,t.content)}catch(r){document.getElementById(`dmermaid-${d}`)?.remove(),r instanceof Error&&o(r.message),l(""),u(void 0),f(void 0)}if(!s){if(i){l(i.svg);const r=i.svg.match(/viewBox="[^"]*\s([\d.]+)\s([\d.]+)"/);r?.[1]&&r?.[2]&&(u(parseInt(r?.[1])),f(parseInt(r?.[2]))),o("")}return c(!1),()=>{s=!0}}})},[d,t.content]);const{w:S}=I(),b=new TextEncoder().encode(m),j=`data:image/svg+xml;base64,${btoa(String.fromCharCode(...new Uint8Array(b)))}`;return x?n.jsx(L,{children:"Mermaid Loading..."}):m?n.jsx("div",{children:n.jsx(w,{containerWidth:S,src:j,width:v,height:E})}):n.jsx("div",{className:"flex min-h-[50px] items-center justify-center rounded-lg bg-red-100 text-sm",children:_||"Error"})},z=Object.freeze(Object.defineProperty({__proto__:null,Mermaid:M},Symbol.toStringTag,{value:"Module"}));export{L as B,M,z as a}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./mermaid.core-wTs8WatG.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./request-bY2SEZNN.js","./toast-dlXalurG.js","./motion-minimal-epsqYg85.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/NotePreview-WtmyS8lf.js b/assets/NotePreview-WtmyS8lf.js new file mode 100644 index 00000000000..566697ab9f7 --- /dev/null +++ b/assets/NotePreview-WtmyS8lf.js @@ -0,0 +1 @@ +import{r as o,j as e,R as z}from"./index-ZXl4th35.js";import{u as j}from"./useQuery-3CoUXB5U.js";import{c as v,a as g,m as H}from"./motion-minimal-epsqYg85.js";import{B as K,A as Q,C as J,l as U,j as e1,k as C,D as t1}from"./request-bY2SEZNN.js";import{v as b,M as $,w as a1,x as n1,R as r1,N as s1,A as c1,b as i1,X as l1,g as o1,B as d1}from"./utils-nAJ288NP.js";import{b as P}from"./viewport-l4O6ZIBM.js";import{b as _,a as N,c as m1,t as h1}from"./toast-dlXalurG.js";import{c as u1,L as p}from"./StyledButton-VgryXAte.js";import"./provider-XKwIHqOQ.js";import{a as x1,n as p1,s as j1,U as f1,L as Y}from"./alert-fERsLyJJ.js";import{e as l,r as M,R as Z,q as g1,f as w1,g as v1}from"./FormInput-i0fsPScC.js";import{F as O}from"./FloatPopover-3waN72gb.js";import{M as C1,W as N1}from"./Gallery-QJ8JjQGt.js";import{u as V}from"./use-is-client-6Iy0halI.js";import{A as M1}from"./index-LA8z4iWc.js";import{D as h,a as x}from"./use-is-unmounted-dmgvzXDy.js";import{A as Z1}from"./AutoResizeHeight-dtcKGJMw.js";import"./env-y9k74Ds6.js";import"./react-error-boundary.esm-e5Yyzoa4.js";import"./spring-hnK4kZop.js";import"./image-fdtjzFNr.js";import"./use-is-dark-IiysOCcN.js";import"./SocialSourceLink-Fjgxzjol.js";import"./dom-NuJWIaAq.js";import"./LinkCard-AonZnIUQ.js";import"./visual-element-tlU1-krp.js";import"./customParseFormat-0gR3iPzn.js";import"./lodash-lrAbnKsZ.js";import"./use-event-callback-ULpIcVk8.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";const y1=()=>{const t=Q(n=>n.url);return{adminUrl:_(J),...t}},k1=()=>{const{adminUrl:t}=y1();return o.useCallback(a=>{if(!t)return"";const n=new URL(t.replace(/\/$/,"")),r=K();return r&&n.searchParams.set("token",r),`${n.protocol}//${n.host}${n.pathname}${a||""}${n.search}`},[t])},b1=t=>{const a=P(),n=k1(),{id:r,type:s,className:i}=t;if(!a)return null;const c=n(`#/${s}/edit?id=${r}`);return c?e.jsxs("a",{href:c,"data-hide-print":!0,target:"_blank",className:v("flex h-8 w-8 rounded-full text-accent no-underline opacity-80 ring-1 ring-slate-200 duration-200 center hover:opacity-100 dark:ring-neutral-800",i),rel:"noreferrer",children:[e.jsx("i",{className:"icon-[mingcute--quill-pen-line]"}),e.jsx("span",{className:"sr-only",children:"编辑"})]}):null},A={"with-indent":"_with-indent_1n4mw_1","with-serif":"_with-serif_1n4mw_91"},A1=()=>{const t=l(n=>n?.data.title),a=l(n=>n?.data.id);return t?e.jsxs(e.Fragment,{children:[e.jsx("h1",{className:"mt-8 text-left font-bold text-base-content/95",children:t}),e.jsx(b1,{type:"notes",id:a,className:"absolute right-0 top-0"})]}):null},B1=()=>{const t=l(n=>n?.data.created);if(!t)return null;const a=U(t).locale("zh-cn").format("YYYY 年 M 月 D 日 dddd");return e.jsxs("span",{className:"inline-flex items-center space-x-1",children:[e.jsx($,{}),e.jsx("time",{className:"font-medium",suppressHydrationWarning:!0,children:a})]})},L1=()=>{const t=l(n=>({created:n?.data.created,modified:n?.data.modified}));if(!t?.created)return null;const a=`创建于 ${b(t.created,"YYYY 年 M 月 D 日 dddd")}${t.modified?`,修改于 ${b(t.modified,"YYYY 年 M 月 D 日 dddd")}`:""}`;return e.jsx(O,{as:"span",TriggerComponent:B1,children:a})},T1=()=>{const t=l(a=>a?.data.text);return e.jsx(x1,{className:"mt-10",allowsScript:!0,renderers:D1,value:t})},I1=t=>{const a=l(n=>n?.data.images||p1);return e.jsx(C1,{images:a,children:t.children})},D1={text:{react(t,a,n){return e.jsx("span",{className:"indent",children:t.content},n?.key)}}},F1=t=>e.jsx("article",{className:g("prose relative",A["with-indent"],A["with-serif"]),children:t.children}),R1=t=>V()?e.jsx(e.Fragment,{children:t.children}):null,w=N(null),S1=o.memo(({nid:t,children:a})=>{const n=m1(w);return a1(()=>{e1.set(w,t)}),o.useEffect(()=>{n(t)},[t]),a});S1.displayName="CurrentNoteIdProvider";const q=()=>_(w),B={info:"bg-sky-50 dark:bg-sky-800 dark:text-white",warning:"bg-orange-100 dark:bg-orange-800 dark:text-white",error:"bg-rose-100 dark:bg-rose-800 dark:text-white",success:"bg-emerald-100 dark:bg-emerald-800 dark:text-white",secondary:"bg-sky-100 dark:bg-sky-800 dark:text-white"},E1=()=>{let a=l(n=>n?.data.meta)?.banner;if(a)return typeof a=="string"?{type:"info",message:a,className:B.info}:(a={...a},a.type??="info",a.className??=B[a.type],a)},z1=()=>{const t=E1();return t?e.jsx("div",{className:"mx-[var(--padding-h)] mb-4 mt-8 text-sm",children:e.jsx(H1,{...t})}):null},H1=t=>e.jsx("div",{className:v("flex justify-center p-4 leading-8",t.className),style:t.style,children:t.message}),U1=({children:t})=>{const a=l(c=>c?.data.publicAt),n=l(c=>c?.data.nid),r=o.useMemo(()=>new Date(a),[a]),s=a?U(a).isAfter(new Date):!1,i=P();if(o.useEffect(()=>{if(!n)return;let c;const d=+r-+new Date;return s&&d&&d<28&&(c=setTimeout(()=>{h1("刷新以查看解锁的文章","info",{autoClose:!1})},d)),()=>{clearTimeout(c)}},[s,r,n]),!n)return null;if(s){const c=a?Intl.DateTimeFormat("zh-cn",{hour12:!1,hour:"numeric",minute:"numeric",year:"numeric",day:"numeric",month:"long"}).format(new Date(a)):"";return i?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"my-6 text-center",children:[e.jsxs("p",{children:["这是一篇非公开的文章。(将在 ",c," 解锁)"]}),e.jsx("p",{children:"现在处于登录状态,预览模式:"})]}),t]}):e.jsxs("div",{className:"my-6 text-center",children:["这篇文章暂时没有公开呢,将会在 ",c," 解锁,再等等哦"]})}return t};N(0);const $1=n1({from:{translateX:-70,opacity:.001},to:{translateX:0,opacity:1}}),L=u1({base:"text-neutral-content min-w-0 truncate text-left opacity-50 transition-all tabular-nums hover:opacity-80",variants:{status:{active:"ml-2 opacity-100"}}}),T={opacity:1e-4},P1={opacity:1},y=o.memo(t=>{const{active:a,nid:n,title:r,layout:s}=t;return e.jsxs(H.li,{layout:s,className:"flex items-center",layoutId:s?`note-${n}`:void 0,initial:T,animate:P1,exit:T,children:[a&&e.jsx($1,{as:"span",className:"inline-flex items-center",children:e.jsx("i",{className:"icon-[material-symbols--arrow-circle-right-outline-rounded] duration-200"})}),e.jsx(p,{onClick:j1,prefetch:!1,className:v(a?L({status:"active"}):L()),href:M(Z.Note,{id:n}),scroll:!1,children:r})]})});y.displayName="MemoedItem";const _1=o.memo(()=>q()?e.jsx(O1,{}):null);_1.displayName="NoteTimeline";const Y1={transition:{staggerChildren:.5}},O1=()=>{const t=l(i=>{const c=i?.data;return c?{id:c.id,nid:c.nid,title:c.title,created:c.created}:null}),a=q(),n=t?.id,{data:r}=j({queryKey:["note_timeline",n],queryFn:async({queryKey:i})=>{const[,c]=i;if(!c)throw"";return(await C.note.getMiddleList(c,10)).$serialized.data},enabled:n!==void 0,placeholderData:t1}),s=t?[{title:t.title,nid:t.nid,id:t.id,created:t.created}]:[];return e.jsx(M1,{children:e.jsx(H.ul,{className:"space-y-1 [&_i]:hover:text-accent",animate:Y1,children:(r||s)?.map(i=>{const c=i.nid===parseInt(a||"0");return e.jsx(y,{layout:!0,active:c,title:i.title,nid:i.nid},i.id)})})})};function V1(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:e.jsx("path",{fill:"currentColor",d:"m15.54 3.5l4.96 4.97l-1.43 1.41l-4.95-4.95l1.42-1.43M3.5 19.78l6.5-6.47c-.1-.31-.03-.7.23-.96c.39-.39 1.03-.39 1.42 0c.39.4.39 1.03 0 1.42c-.26.26-.65.33-.96.23l-6.47 6.5l10.61-3.55l3.53-6.36l-4.94-4.95l-6.37 3.53L3.5 19.78Z"})})}const q1={allowedTypes:["text","paragraph","codeInline","link","linkMailtoDetector","linkBareUrlDetector","linkAngleBraceStyleDetector","textStrikethroughed","textEmphasized","textBolded","textEscaped"],forceBlock:!0,wrapper:({children:t})=>e.jsx("div",{className:"leading-7",children:t})},I=t=>e.jsx(f1,{options:q1,children:t.children}),W1=t=>{const{topic:a}=t,{id:n}=a,{data:r,isLoading:s}=j({queryKey:[`topic-${n}`],queryFn:()=>C.note.getNoteByTopicId(n,1,1,{sortBy:"created",sortOrder:-1})});return V()?e.jsxs("div",{className:"flex w-[400px] flex-col",children:[e.jsx(p,{href:M(Z.NoteTopic,{slug:a.slug}),children:e.jsx("h1",{className:"!m-0 inline-block pb-2 text-lg font-medium",children:a.name})}),e.jsx("div",{className:"line-clamp-2 break-all text-neutral-content",children:e.jsx(I,{children:a.introduce})}),a.description&&e.jsxs(e.Fragment,{children:[e.jsx(h,{}),e.jsx("div",{className:"text-gray-1 leading-8",children:e.jsx(I,{children:a.description})})]}),e.jsx(h,{}),s?e.jsx(Y,{className:"my-4"}):r?.data[0]&&e.jsxs("p",{className:"flex items-center",children:[e.jsx($,{}),e.jsx(x,{}),e.jsx("span",{className:"flex-shrink-0",children:"最近更新"}),e.jsx(x,{}),e.jsxs("span",{className:"inline-flex min-w-0 flex-shrink",children:[e.jsx(p,{href:`/data?.data/${r?.data[0].nid}`,className:"truncate",children:r?.data[0]?.title}),e.jsxs("span",{className:"flex-shrink-0",children:["(",e.jsx(r1,{date:r?.data[0].modified||r?.data[0].created,displayAbsoluteTimeAfterDay:1/0}),")"]})]})]}),!s&&e.jsxs(e.Fragment,{children:[e.jsx(h,{}),e.jsxs("p",{className:"flex items-center",children:[e.jsx(V1,{}),e.jsx(x,{}),"共有文章:",r?.pagination?.total," 篇"]})]})]}):null},X1=()=>{const t=l(a=>a?.data.topic);return t?e.jsx(p,{href:M(Z.NoteTopic,{slug:t.slug}),children:e.jsx("span",{className:"flex-grow truncate opacity-80 hover:opacity-100",children:t.name})}):null},G1=o.memo(()=>{const t=l(a=>a?.data.topic);return t?e.jsxs(e.Fragment,{children:[e.jsx(h,{className:"!w-3/4"}),e.jsx("p",{className:"mb-1 flex min-w-0 flex-col overflow-hidden text-neutral-content/50",children:"此文章收录于专栏:"}),e.jsx(O,{placement:"right",strategy:"fixed",wrapperClassName:"flex flex-grow flex-shrink min-w-0",TriggerComponent:X1,children:e.jsx(W1,{topic:t})}),t.id&&e.jsx(K1,{topicId:t.id})]}):null});G1.displayName="NoteTopicInfo";const K1=({topicId:t})=>{const a=l(s=>s?.data.id),{data:n}=j({queryKey:[`topic-${t}`],refetchOnMount:!0,queryFn:()=>C.note.getNoteByTopicId(t,1,6,{sortBy:"created",sortOrder:-1})}),r=o.useMemo(()=>{if(!n)return null;const{data:s}=n;return s.filter(i=>i.id!==a).slice(0,5)},[a,n]);return e.jsx(e.Fragment,{children:!!r?.length&&e.jsxs(e.Fragment,{children:[e.jsx(h,{}),e.jsx("p",{className:"mb-1 flex min-w-0 flex-col overflow-hidden text-neutral-content/50",children:"此专栏的其他文章:"}),e.jsx("ul",{className:"space-y-1 opacity-80",children:r.map(s=>e.jsx(y,{active:!1,title:s.title,nid:s.nid},s.id))})]})})};function Q1(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",...t,children:e.jsx("path",{fill:"currentColor",d:"M7.651 11.628c-.406 0-.713-.149-.92-.445c-.209-.295-.312-.69-.312-1.182c0-1.084.41-1.627 1.232-1.627c.164 0 .342.055.534.164s.353.3.484.574l1.232-.64c-.492-.887-1.308-1.33-2.447-1.33c-.778 0-1.422.257-1.93.771c-.51.516-.765 1.211-.765 2.088c0 .898.253 1.6.756 2.103c.504.504 1.168.754 1.988.754a2.697 2.697 0 0 0 2.416-1.445l-1.135-.574c-.219.525-.597.789-1.133.789zm5.307 0c-.406 0-.713-.149-.92-.445c-.209-.295-.312-.69-.312-1.182c0-1.084.41-1.627 1.232-1.627c.174 0 .357.055.549.164c.192.11.353.3.486.574l1.215-.64c-.482-.887-1.293-1.33-2.432-1.33c-.777 0-1.42.257-1.93.771c-.509.516-.763 1.211-.763 2.088c0 .898.248 1.6.747 2.103c.498.504 1.163.754 1.996.754c.503 0 .97-.129 1.396-.384a2.831 2.831 0 0 0 1.02-1.06l-1.151-.575c-.219.525-.598.789-1.133.789zm3.855-8.444C14.954 1.328 12.679.4 9.987.4c-2.659 0-4.91.928-6.752 2.784C1.345 5.104.4 7.375.4 10c0 2.624.945 4.88 2.835 6.768c1.89 1.888 4.142 2.832 6.752 2.832c2.644 0 4.935-.952 6.874-2.856C18.687 14.936 19.6 12.688 19.6 10c0-2.688-.93-4.96-2.787-6.816zM15.61 15.496c-1.586 1.568-3.452 2.352-5.6 2.352c-2.146 0-3.996-.776-5.55-2.329c-1.554-1.551-2.33-3.391-2.33-5.52c0-2.127.784-3.983 2.354-5.567C5.99 2.896 7.832 2.127 10.01 2.127c2.18 0 4.03.769 5.552 2.305C17.101 5.952 17.87 7.807 17.87 10c0 2.208-.753 4.04-2.259 5.496z"})})}function D(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 256 256",...t,children:e.jsx("path",{fill:"currentColor",d:"M128 56a72 72 0 1 0 72 72a72.1 72.1 0 0 0-72-72Zm0 120a48 48 0 1 1 48-48a48 48 0 0 1-48 48ZM116 28V12a12 12 0 0 1 24 0v16a12 12 0 0 1-24 0Zm74.2 37.8a12 12 0 0 1 0-17l11.3-11.3a12 12 0 0 1 17 17l-11.3 11.3a12 12 0 0 1-8.5 3.5a12.2 12.2 0 0 1-8.5-3.5ZM256 128a12 12 0 0 1-12 12h-16a12 12 0 0 1 0-24h16a12 12 0 0 1 12 12Zm-37.5 73.5a12 12 0 0 1 0 17a11.6 11.6 0 0 1-8.5 3.5a12 12 0 0 1-8.5-3.5l-11.3-11.3a12 12 0 0 1 17-17ZM140 228v16a12 12 0 0 1-24 0v-16a12 12 0 0 1 24 0Zm-74.2-37.8a12 12 0 0 1 0 17l-11.3 11.3A12 12 0 0 1 46 222a11.6 11.6 0 0 1-8.5-3.5a12 12 0 0 1 0-17l11.3-11.3a12 12 0 0 1 17 0ZM28 140H12a12 12 0 0 1 0-24h16a12 12 0 0 1 0 24Zm9.5-85.5a12 12 0 0 1 17-17l11.3 11.3a12 12 0 0 1 0 17a12.2 12.2 0 0 1-8.5 3.5a12 12 0 0 1-8.5-3.5Z"})})}function F(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M11 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6Zm10 0a3 3 0 1 0 0-6a3 3 0 0 0 0 6Zm-9.2 3.4a1 1 0 1 0-1.6 1.2c.69.92 2.688 2.4 5.8 2.4c3.112 0 5.11-1.48 5.8-2.4a1 1 0 0 0-1.6-1.2c-.31.413-1.712 1.6-4.2 1.6c-2.488 0-3.89-1.188-4.2-1.6Z"}),e.jsx("path",{d:"M4.763 5.423C7.313 2.654 11.095 1 16 1c4.904 0 8.686 1.654 11.235 4.423c2.537 2.755 3.764 6.515 3.764 10.576c0 4.061-1.227 7.82-3.764 10.576c-2.55 2.769-6.331 4.423-11.235 4.423c-4.904 0-8.686-1.654-11.236-4.423C2.226 23.82 1 20.06 1 15.999c0-4.061 1.226-7.821 3.763-10.576Zm1.472 1.355C4.105 9.089 3 12.328 3 15.998c0 3.671 1.106 6.91 3.235 9.222c2.116 2.298 5.333 3.778 9.764 3.778c4.43 0 7.648-1.48 9.764-3.778c2.129-2.311 3.235-5.55 3.235-9.221c0-3.67-1.106-6.91-3.235-9.221C23.647 4.48 20.43 3 16 3S8.352 4.48 6.236 6.778Z"})]})})}function J1(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M9.07 9.988c-.594.563-.952 1.24-1.096 1.67a.5.5 0 1 1-.948-.316c.19-.57.631-1.392 1.355-2.08C9.113 8.567 10.148 8 11.5 8a.5.5 0 1 1 0 1c-1.048 0-1.846.433-2.43.988ZM14 15a3 3 0 1 1-6 0a3 3 0 0 1 6 0Zm-4 10a1.99 1.99 0 0 1-.619 1.446A2 2 0 0 1 6 25v-3a2 2 0 1 1 4 0v3Zm11-7a3 3 0 1 0 0-6a3 3 0 0 0 0 6Zm-8.707 4.293a1 1 0 0 0 1.404 1.424l.008-.007a2.7 2.7 0 0 1 .492-.315c.378-.19.976-.395 1.803-.395s1.425.206 1.803.394a2.7 2.7 0 0 1 .492.316l.008.007a1 1 0 0 0 1.404-1.424l-.001-.002l-.002-.001l-.003-.003l-.008-.008l-.02-.02a3.347 3.347 0 0 0-.26-.215a4.69 4.69 0 0 0-.716-.438C18.075 21.294 17.173 21 16 21s-2.075.294-2.697.606a4.69 4.69 0 0 0-.716.438a3.347 3.347 0 0 0-.26.215l-.02.02l-.008.008l-.003.003l-.002.002h-.001ZM22.93 9.988c.594.563.952 1.24 1.096 1.67a.5.5 0 1 0 .948-.316c-.19-.57-.631-1.392-1.355-2.08C22.887 8.567 21.852 8 20.5 8a.5.5 0 1 0 0 1c1.048 0 1.846.433 2.43.988Z"}),e.jsx("path",{d:"M4.763 5.423C7.313 2.654 11.095 1 16 1c4.904 0 8.686 1.654 11.235 4.423c2.537 2.755 3.764 6.515 3.764 10.576c0 4.061-1.227 7.82-3.764 10.576c-2.55 2.769-6.331 4.423-11.235 4.423c-4.904 0-8.686-1.654-11.236-4.423C2.226 23.82 1 20.06 1 15.999c0-4.061 1.226-7.821 3.763-10.576Zm1.472 1.355C4.105 9.089 3 12.328 3 15.998c0 2.879.68 5.492 2 7.6V25a3 3 0 0 0 4.463 2.62c1.78.875 3.952 1.378 6.536 1.378c4.43 0 7.648-1.48 9.764-3.778c2.129-2.311 3.235-5.55 3.235-9.221c0-3.67-1.106-6.91-3.235-9.221C23.647 4.48 20.43 3 16 3S8.352 4.48 6.236 6.778Z"})]})})}function e2(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M14.211 19a4.442 4.442 0 0 1-3.68 1.95c-.452 0-.889-.067-1.301-.192a.147.147 0 0 0-.19.138a1.104 1.104 0 0 1-2.209 0V20a1 1 0 0 1 1-1h6.38Zm3.539 0a4.442 4.442 0 0 0 3.68 1.95c.452 0 .89-.067 1.302-.192c.093-.029.19.04.19.138a1.104 1.104 0 0 0 2.208 0V20a1 1 0 0 0-1-1h-6.38ZM10.016 7.404l.003-.016a.5.5 0 0 1 .986.165l-.493-.082l.493.083v.002l-.001.004l-.002.01a1.753 1.753 0 0 1-.033.151a4.498 4.498 0 0 1-.745 1.552c-.65.866-1.795 1.702-3.718 1.702a.5.5 0 0 1 0-1c1.583 0 2.44-.667 2.917-1.302a3.496 3.496 0 0 0 .575-1.194l.018-.075Zm12.007 0l-.003-.016v-.001a.5.5 0 0 0-.986.166l.493-.082l-.493.083v.002l.001.004l.002.01a1.753 1.753 0 0 0 .034.151a4.494 4.494 0 0 0 .745 1.552c.65.866 1.794 1.702 3.717 1.702a.5.5 0 1 0 0-1c-1.583 0-2.44-.667-2.917-1.302a3.497 3.497 0 0 1-.575-1.194a1.791 1.791 0 0 1-.018-.075Zm-8.506 15.031a.75.75 0 0 0-1.003 1.115c.926.834 2.25 1.206 3.506 1.206c1.254 0 2.58-.372 3.506-1.206a.75.75 0 1 0-1.004-1.115c-.576.518-1.504.822-2.502.822c-.999 0-1.927-.304-2.503-.822Zm1.3-6.15c0 .619-.152 1.202-.42 1.715H7.834a3.701 3.701 0 1 1 6.982-1.715Zm-1.288.054c.546-.378.614-1.226.151-1.894c-.462-.669-1.28-.904-1.826-.527c-.546.378-.614 1.227-.151 1.895c.462.668 1.28.904 1.826.526ZM17.565 18h6.561a3.701 3.701 0 1 0-6.561 0Zm5.446-1.66c-.546.377-1.364.141-1.826-.527c-.463-.668-.395-1.517.151-1.895c.547-.377 1.364-.142 1.827.527c.462.668.394 1.516-.152 1.894Z"}),e.jsx("path",{d:"M4.768 5.391C7.321 2.62 11.108.963 16.018.963s8.698 1.656 11.25 4.428c2.541 2.759 3.769 6.524 3.769 10.59c0 4.067-1.228 7.832-3.768 10.59C24.716 29.343 20.929 31 16.019 31S7.32 29.343 4.768 26.57C2.227 23.813 1 20.048 1 15.981c0-4.066 1.228-7.831 3.768-10.59ZM6.24 6.746C4.108 9.061 3 12.306 3 15.981c0 3.676 1.108 6.92 3.24 9.236C8.359 27.517 11.58 29 16.018 29c4.438 0 7.66-1.482 9.78-3.784c2.131-2.315 3.239-5.559 3.239-9.235c0-3.675-1.108-6.92-3.24-9.235c-2.12-2.301-5.341-3.783-9.779-3.783c-4.437 0-7.659 1.482-9.778 3.783Z"})]})})}function R(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M14.999 13.29a.75.75 0 0 0-.71-.789c-.828-.044-1.504-.241-2.039-.613c-.527-.367-.979-.948-1.289-1.876a.75.75 0 1 0-1.422.476c.394 1.18 1.019 2.049 1.854 2.63c.828.577 1.8.827 2.817.88a.75.75 0 0 0 .789-.708Zm2.002 0a.75.75 0 0 1 .709-.789c.83-.044 1.505-.241 2.04-.613c.526-.367.978-.948 1.289-1.876a.75.75 0 1 1 1.422.476c-.394 1.18-1.019 2.049-1.854 2.63c-.828.577-1.8.827-2.817.88a.75.75 0 0 1-.79-.708Zm-4.107 12.157C13.066 25.104 13.995 24 16 24s2.934 1.104 3.105 1.447a1 1 0 0 0 1.79-.894C20.398 23.563 18.794 22 16 22c-2.795 0-4.4 1.562-4.895 2.553a1 1 0 0 0 1.79.894ZM12 19a2 2 0 1 0 0-4a2 2 0 0 0 0 4Zm8 0a2 2 0 1 0 0-4a2 2 0 0 0 0 4Z"}),e.jsx("path",{d:"M15.999 29.998c9.334 0 13.999-6.268 13.999-14c0-7.73-4.665-13.998-14-13.998C6.665 2 2 8.268 2 15.999c0 7.731 4.664 13.999 13.999 13.999Zm11.999-14c0 3.476-1.046 6.455-2.97 8.545c-1.9 2.063-4.835 3.455-9.03 3.455c-4.193 0-7.128-1.393-9.028-3.455C5.046 22.453 4 19.473 4 15.999c0-3.475 1.046-6.454 2.97-8.544C8.87 5.392 11.805 4 16 4s7.129 1.392 9.028 3.455c1.925 2.09 2.97 5.07 2.97 8.544Z"})]})})}function t2(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M13 5.5a.5.5 0 0 0-1 0c0 .864-.32 1.476-.77 1.876c-.46.409-1.087.624-1.73.624a.5.5 0 0 0 0 1c.857 0 1.73-.285 2.395-.876C12.569 7.524 13 6.636 13 5.5Zm6.5-.5a.5.5 0 0 0-.5.5c0 1.136.43 2.024 1.105 2.624c.666.591 1.538.876 2.395.876a.5.5 0 0 0 0-1c-.643 0-1.27-.215-1.73-.624c-.45-.4-.77-1.012-.77-1.876a.5.5 0 0 0-.5-.5Zm4 19c.829 0 1.513-.677 1.377-1.494a9.002 9.002 0 0 0-17.754 0C6.987 23.323 7.671 24 8.5 24h15ZM8.106 10.553a1 1 0 0 1 1.341-.448l4 2a1 1 0 0 1 0 1.79l-4 2a1 1 0 1 1-.894-1.79L10.763 13l-2.21-1.106a1 1 0 0 1-.447-1.341Zm14.447-.448a1 1 0 0 1 .894 1.79L21.237 13l2.21 1.105a1 1 0 0 1-.894 1.79l-4-2a1 1 0 0 1 0-1.79l4-2Z"}),e.jsx("path",{d:"M15.999 1C11.095 1 7.313 2.654 4.763 5.423C2.226 8.178 1 11.938 1 15.999c0 4.061 1.226 7.82 3.763 10.576c2.55 2.769 6.332 4.423 11.236 4.423c4.904 0 8.686-1.654 11.235-4.423c2.537-2.755 3.764-6.515 3.764-10.576c0-4.061-1.227-7.821-3.764-10.576C24.684 2.654 20.903 1 16 1ZM3 15.999c0-3.67 1.106-6.91 3.235-9.221C8.35 4.48 11.568 3 15.999 3c4.43 0 7.648 1.48 9.764 3.778c2.129 2.311 3.235 5.55 3.235 9.22c0 3.671-1.106 6.91-3.235 9.222c-2.116 2.298-5.333 3.778-9.764 3.778c-4.43 0-7.648-1.48-9.764-3.778C4.105 22.91 3 19.67 3 16Z"})]})})}function S(){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:[e.jsx("path",{fill:"currentColor",d:"M8 22v-3h16v3H8Zm3-7a3 3 0 1 0 0-6a3 3 0 0 0 0 6Zm10 0a3 3 0 1 0 0-6a3 3 0 0 0 0 6Z"}),e.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.765 5.423C7.315 2.654 11.096 1 16 1c4.904 0 8.686 1.654 11.235 4.423C29.773 8.178 31 11.938 31 15.999c0 4.061-1.226 7.82-3.764 10.576c-2.55 2.769-6.331 4.423-11.235 4.423c-4.904 0-8.686-1.654-11.235-4.423C2.227 23.82 1 20.06 1 15.999c0-4.061 1.226-7.821 3.764-10.576Zm-1.726 9.41a17.66 17.66 0 0 0-.038 1.166c0 2.189.393 4.224 1.162 6.001H8v2h16v-2h3.837c.769-1.777 1.162-3.812 1.162-6.001c0-.394-.013-.783-.038-1.166L24 17.589V17H8v.589l-4.96-2.756Zm.283-2.131l5.593 3.107c.152-.092.318-.164.496-.212C11.073 15.153 13.876 14.5 16 14.5c2.124 0 4.927.653 6.589 1.097c.178.048.344.12.495.212l5.594-3.107c-.47-2.306-1.45-4.335-2.914-5.924C23.648 4.48 20.431 3 16 3c-4.43 0-7.648 1.48-9.764 3.778c-1.464 1.59-2.444 3.618-2.914 5.924ZM26.736 24h-2.759a1.868 1.868 0 0 1-1.181 1.484C21.22 26.076 18.379 27 16 27c-2.379 0-5.22-.924-6.796-1.516A1.868 1.868 0 0 1 8.023 24H5.264c.296.43.62.838.972 1.22c2.116 2.298 5.333 3.778 9.764 3.778c4.43 0 7.648-1.48 9.764-3.778c.352-.382.676-.79.972-1.22Z",clipRule:"evenodd"})]})}function a2(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M6.235 6.778c-1.84 1.996-2.915 4.685-3.174 7.746l-2.053 2.053A19.92 19.92 0 0 1 1 16c0-4.061 1.226-7.821 3.763-10.576C7.313 2.654 11.095 1 16 1c4.904 0 8.686 1.654 11.235 4.423c2.537 2.755 3.764 6.515 3.764 10.576l-.003.332l-2.084-2.085c-.3-2.945-1.365-5.532-3.148-7.468C23.647 4.48 20.43 3 16 3S8.352 4.48 6.236 6.778ZM27.937 21.76a11.491 11.491 0 0 1-2.174 3.46c-2.116 2.298-5.333 3.778-9.764 3.778c-4.43 0-7.648-1.48-9.764-3.778a11.47 11.47 0 0 1-2.14-3.38a3.138 3.138 0 0 1-2.175-.092c.624 1.803 1.568 3.442 2.843 4.827c2.55 2.769 6.332 4.423 11.236 4.423c4.904 0 8.686-1.654 11.235-4.423c1.25-1.358 2.183-2.96 2.807-4.722a3.135 3.135 0 0 1-2.104-.094Z"}),e.jsx("path",{d:"M22.669 16H9.58a3.107 3.107 0 0 1-.874 1.707l-1.21 1.211C8.302 21.547 10.424 25 16 25c5.712 0 7.8-3.626 8.561-6.274l-1.018-1.019A3.107 3.107 0 0 1 22.669 16ZM4.63 20.37L8 17a2.121 2.121 0 1 0-3-3l-3.37 3.37a2.121 2.121 0 0 0 3 3ZM24.25 17l3.37 3.37a2.121 2.121 0 1 0 3-3L27.25 14a2.121 2.121 0 0 0-3 3ZM9.349 10.412c-.21.228-.32.532-.367.779a1 1 0 0 1-1.964-.382c.089-.456.31-1.153.858-1.749C8.453 8.431 9.316 8 10.5 8c1.195 0 2.062.452 2.636 1.082c.544.597.77 1.292.85 1.747a1 1 0 0 1-1.971.342a1.546 1.546 0 0 0-.358-.742C11.47 10.222 11.142 10 10.5 10c-.653 0-.972.217-1.151.412Zm11.001 0c-.21.228-.32.532-.368.779a1 1 0 0 1-1.963-.382c.088-.456.31-1.153.857-1.749C19.453 8.431 20.316 8 21.5 8c1.196 0 2.062.452 2.636 1.082c.544.597.77 1.292.85 1.747a1 1 0 0 1-1.971.342a1.545 1.545 0 0 0-.358-.742C22.47 10.222 22.142 10 21.5 10c-.653 0-.971.217-1.15.412Z"})]})})}function E(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M12 16a2 2 0 1 0 0-4a2 2 0 0 0 0 4Zm8 0a2 2 0 1 0 0-4a2 2 0 0 0 0 4Zm.901 8.006c.11.542-.35.994-.902.994H12c-.552 0-1.01-.452-.901-.994a5.002 5.002 0 0 1 9.802 0Z"}),e.jsx("path",{d:"M15.999 1C11.095 1 7.313 2.654 4.763 5.423C2.226 8.178 1 11.938 1 15.999c0 4.061 1.226 7.82 3.763 10.576c2.55 2.769 6.332 4.423 11.236 4.423c4.904 0 8.686-1.654 11.235-4.423c2.537-2.755 3.764-6.515 3.764-10.576c0-4.061-1.227-7.821-3.764-10.576C24.684 2.654 20.903 1 16 1ZM3 15.999c0-3.67 1.106-6.91 3.235-9.221C8.35 4.48 11.568 3 15.999 3c4.43 0 7.648 1.48 9.764 3.778c2.129 2.311 3.235 5.55 3.235 9.22c0 3.671-1.106 6.91-3.235 9.222c-2.116 2.298-5.333 3.778-9.764 3.778c-4.43 0-7.648-1.48-9.764-3.778C4.105 22.91 3 19.67 3 16Z"})]})})}function n2(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M12 14a2 2 0 1 0 0-4a2 2 0 0 0 0 4Zm10-2a2 2 0 1 1-4 0a2 2 0 0 1 4 0ZM8.512 23.677A2.988 2.988 0 0 0 11 25h10a2.989 2.989 0 0 0 2.437-1.25A2.984 2.984 0 0 0 24 22c0-.699-.24-1.342-.64-1.852A2.995 2.995 0 0 0 21 19H11c-.906 0-1.718.401-2.268 1.036A2.988 2.988 0 0 0 8 22c0 .621.189 1.198.512 1.677ZM11 20h10a2 2 0 0 1 1.792 1.11a.998.998 0 0 1-.792.39H10a.998.998 0 0 1-.792-.39A2 2 0 0 1 11 20Zm11.792 2.89A2 2 0 0 1 21 24H11a2 2 0 0 1-1.792-1.11a.998.998 0 0 1 .792-.39h12c.322 0 .609.152.792.39Z"}),e.jsx("path",{d:"M15.999 1C11.095 1 7.313 2.654 4.763 5.423C2.226 8.178 1 11.938 1 15.999c0 4.061 1.226 7.82 3.763 10.576c2.55 2.769 6.332 4.423 11.236 4.423c4.904 0 8.686-1.654 11.235-4.423c2.537-2.755 3.764-6.515 3.764-10.576c0-4.061-1.227-7.821-3.764-10.576C24.684 2.654 20.903 1 16 1ZM3 15.999c0-3.67 1.106-6.91 3.235-9.221C8.35 4.48 11.568 3 15.999 3c4.43 0 7.648 1.48 9.764 3.778c2.129 2.311 3.235 5.55 3.235 9.22c0 3.671-1.106 6.91-3.235 9.222c-2.116 2.298-5.333 3.778-9.764 3.778c-4.43 0-7.648-1.48-9.764-3.778C4.105 22.91 3 19.67 3 16Z"})]})})}function r2(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:e.jsxs("g",{fill:"currentColor",children:[e.jsx("path",{d:"M9.07 8.988c-.594.562-.952 1.24-1.096 1.67a.5.5 0 1 1-.948-.316c.19-.57.631-1.392 1.355-2.08C9.113 7.567 10.148 7 11.5 7a.5.5 0 1 1 0 1c-1.048 0-1.846.433-2.43.988ZM14 14a2 2 0 1 1-4 0a2 2 0 0 1 4 0Zm-5 7c1.657 0 3-.895 3-2s-1.343-2-3-2s-3 .895-3 2s1.343 2 3 2Zm17-2c0 1.105-1.343 2-3 2s-3-.895-3-2s1.343-2 3-2s3 .895 3 2Zm-6-3a2 2 0 1 0 0-4a2 2 0 0 0 0 4Zm2.93-7.012c.594.562.952 1.24 1.096 1.67a.5.5 0 1 0 .948-.316c-.19-.57-.631-1.392-1.355-2.08C22.887 7.567 21.852 7 20.5 7a.5.5 0 1 0 0 1c1.048 0 1.846.433 2.43.988ZM13 23a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z"}),e.jsx("path",{d:"M15.999 1C11.095 1 7.313 2.654 4.763 5.423C2.226 8.178 1 11.938 1 15.999c0 4.061 1.226 7.82 3.763 10.576c2.55 2.769 6.332 4.423 11.236 4.423c4.904 0 8.686-1.654 11.235-4.423c2.537-2.755 3.764-6.515 3.764-10.576c0-4.061-1.227-7.821-3.764-10.576C24.684 2.654 20.903 1 16 1ZM3 15.999c0-3.67 1.106-6.91 3.235-9.221C8.35 4.48 11.568 3 15.999 3c4.43 0 7.648 1.48 9.764 3.778c2.129 2.311 3.235 5.55 3.235 9.22c0 3.671-1.106 6.91-3.235 9.222c-2.116 2.298-5.333 3.778-9.764 3.778c-4.43 0-7.648-1.48-9.764-3.778C4.105 22.91 3 19.67 3 16Z"})]})})}function s2(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:e.jsx("path",{fill:"currentColor",d:"M9.984 5.06a6.5 6.5 0 1 1 11.286 6.436A5.5 5.5 0 0 1 17.5 21L9 20.999a8 8 0 1 1 .984-15.94zm2.071.544a8.026 8.026 0 0 1 4.403 4.495a5.529 5.529 0 0 1 3.12.307a4.5 4.5 0 0 0-7.522-4.802z"})})}function c2(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:e.jsx("path",{fill:"currentColor",d:"M19.35 10.03A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.03A6.004 6.004 0 0 0 0 14a6 6 0 0 0 6 6h13a5 5 0 0 0 5-5c0-2.64-2.05-4.78-4.65-4.97Z"})})}function i2(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:e.jsx("path",{fill:"currentColor",d:"m20.79 13.95l-2.33.62l-2-1.13v-2.88l2-1.13l2.33.62l.52-1.93l-1.77-.47l.46-1.77l-1.93-.52l-.62 2.33l-2 1.13L13 7.38V5.12l1.71-1.71L13.29 2L12 3.29L10.71 2L9.29 3.41L11 5.12v2.26L8.5 8.82l-2-1.13l-.58-2.33L4 5.88l.47 1.77l-1.77.47l.52 1.93l2.33-.62l2 1.13v2.89l-2 1.13l-2.33-.62l-.52 1.93l1.77.47L4 18.12l1.93.52l.62-2.33l2-1.13L11 16.62v2.26l-1.71 1.71L10.71 22L12 20.71L13.29 22l1.41-1.41l-1.7-1.71v-2.26l2.5-1.45l2 1.13l.62 2.33l1.88-.51l-.47-1.77l1.77-.47l-.51-1.93M9.5 10.56L12 9.11l2.5 1.45v2.88L12 14.89l-2.5-1.45v-2.88Z"})})}function l2(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",...t,children:e.jsx("path",{fill:"currentColor",d:"M4.158 12.025a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 1 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317zm3 0a.5.5 0 0 1 .316.633l-1 3a.5.5 0 1 1-.948-.316l1-3a.5.5 0 0 1 .632-.317zm3 0a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 1 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317zm3 0a.5.5 0 0 1 .316.633l-1 3a.5.5 0 1 1-.948-.316l1-3a.5.5 0 0 1 .632-.317zm.247-6.998a5.001 5.001 0 0 0-9.499-1.004A3.5 3.5 0 1 0 3.5 11H13a3 3 0 0 0 .405-5.973z"})})}function o2(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",...t,children:e.jsx("path",{fill:"currentColor",d:"M2.658 11.026a.5.5 0 0 1 .316.632l-.5 1.5a.5.5 0 1 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.316zm9.5 0a.5.5 0 0 1 .316.632l-.5 1.5a.5.5 0 0 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.316zm-7.5 1.5a.5.5 0 0 1 .316.632l-.5 1.5a.5.5 0 1 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.316zm9.5 0a.5.5 0 0 1 .316.632l-.5 1.5a.5.5 0 0 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.316zm-7.105-1.25A.5.5 0 0 1 7.5 11h1a.5.5 0 0 1 .474.658l-.28.842H9.5a.5.5 0 0 1 .39.812l-2 2.5a.5.5 0 0 1-.875-.433L7.36 14H6.5a.5.5 0 0 1-.447-.724l1-2zm6.352-7.249a5.001 5.001 0 0 0-9.499-1.004A3.5 3.5 0 1 0 3.5 10H13a3 3 0 0 0 .405-5.973z"})})}const d2=t=>{const a={晴:D,多云:s2,阴:c2,雪:i2,雨:l2,雷雨:o2};return z.createElement(a[t]||D)},m2=t=>{const a={开心:F,伤心:e2,大哭:J1,生气:R,痛苦:t2,悲哀:S,不快:S,激动:a2,担心:E,可怕:n2,可恶:R,绝望:E,焦虑:r2};return z.createElement(a[t]||F)},u=e.jsx(x,{className:"!mx-2 scale-y-50"}),f="flex items-center space-x-1 flex-shrink-0",h2=()=>e.jsxs(e.Fragment,{children:[e.jsx(u2,{}),e.jsx(x2,{}),e.jsx(p2,{}),e.jsx(j2,{}),e.jsx(f2,{})]}),u2=()=>{const t=l(a=>a?.data.weather);return t?e.jsxs(e.Fragment,{children:[u,e.jsxs("span",{className:f,children:[d2(t),e.jsx("span",{className:"font-medium",children:t})]},"weather")]}):null},x2=()=>{const t=l(a=>a?.data.mood);return t?e.jsxs(e.Fragment,{children:[u,e.jsxs("span",{className:f,children:[m2(t),e.jsx("span",{className:"font-medium",children:t})]},"mood")]}):null},p2=()=>{const t=l(a=>a?.data.count.read);return t?e.jsxs(e.Fragment,{children:[u,e.jsxs("span",{className:f,children:[e.jsx("i",{className:"icon-[mingcute--book-6-line]"}),e.jsx("span",{className:"font-medium",children:t})]},"readcount")]}):null},j2=()=>{const t=l(a=>a?.data.count.like);return t?e.jsxs(e.Fragment,{children:[u,e.jsxs("span",{className:f,children:[e.jsx("i",{className:"icon-[mingcute--heart-line]"}),e.jsx("span",{className:"font-medium",children:e.jsx(s1,{children:t})})]},"linkcount")]}):null},f2=()=>e.jsxs(e.Fragment,{children:[u,e.jsx("span",{className:"inline-flex items-center",children:e.jsx("a",{href:"https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh",target:"_blank",className:"inline-flex cursor-pointer items-center text-current",rel:"noreferrer",children:e.jsx("span",{title:"知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议",className:"inline-flex items-center",children:e.jsx(Q1,{})})})},"cc")]});function g2(t){return new Promise((a,n)=>{const r=new Image;r.crossOrigin="anonymous",r.onload=()=>{const s=document.createElement("canvas"),i=s.getContext("2d"),c=838/224;let d=r.width,m=d/c;m>r.height&&(m=r.height,d=m*c);const W=(r.width-d)/2,X=(r.height-m)/2;s.width=d,s.height=m,i.drawImage(r,W,X,d,m,0,0,d,m),s.toBlob(k=>{if(k){const G=URL.createObjectURL(k);a(G)}else n("Blob conversion failed")},"image/jpeg")},r.onerror=n,r.src=t})}const w2=({image:t})=>t?e.jsx(v2,{image:t}):null,v2=({image:t})=>{const[a,n]=o.useState(null);return o.useLayoutEffect(()=>{let r=!0;return g2(t).then(s=>{r&&n(s)}),()=>{r=!1}},[t]),e.jsxs(e.Fragment,{children:[!!a&&e.jsx("div",{"data-hide-print":!0,className:g("z-1 absolute left-0 right-0 top-0",a?"h-[224px]":"0","top-[-6.5rem] md:top-0"),children:e.jsx("div",{style:{backgroundImage:`url(${a})`},className:"cover-mask-b h-full w-full bg-cover bg-center bg-no-repeat"})}),e.jsx(Z1,{children:e.jsx("div",{"data-hide-print":!0,className:g(a?"h-[120px]":"h-0","hidden md:block")})})]})},Q2=t=>{const{data:a,isLoading:n}=j({...g1.note.byNid(t.noteId.toString())}),r=o.useMemo(()=>N(null),[]);if(n)return e.jsx(Y,{className:"w-full",useDefaultLoadingText:!0});if(!a)return null;const s=a.data;return e.jsxs(w1,{overrideAtom:r,children:[e.jsx(v1,{data:a}),!!s.id&&e.jsx(c1,{id:s.id,type:"note"}),e.jsxs(i1,{children:[e.jsx(w2,{image:s.meta?.cover}),e.jsxs(F1,{children:[e.jsxs("header",{children:[e.jsx(A1,{}),e.jsxs("span",{className:"flex flex-wrap items-center text-sm text-neutral-content/60",children:[e.jsx(L1,{}),e.jsx(R1,{children:e.jsx(h2,{})})]}),e.jsx(z1,{})]}),e.jsxs(U1,{children:[e.jsx(l1,{cid:o1(a)}),e.jsx(N1,{eoaDetect:!0,children:e.jsx(d1,{children:e.jsx(I1,{children:e.jsx(T1,{})})})})]})]})]})]})};export{Q2 as NotePreview}; diff --git a/assets/NotePreview-aX_R-inV.css b/assets/NotePreview-aX_R-inV.css new file mode 100644 index 00000000000..4b1fb738e11 --- /dev/null +++ b/assets/NotePreview-aX_R-inV.css @@ -0,0 +1 @@ +._with-indent_1n4mw_1{--padding-h: -1rem}@media (min-width: 1024px){._with-indent_1n4mw_1{--padding-h: -45px }}._with-indent_1n4mw_1 .paragraph:first-child{margin-bottom:4rem}._with-indent_1n4mw_1 ul .indent,._with-indent_1n4mw_1 .paragraph .indent{border-bottom:1px solid;border-color:var(--fallback-a,oklch(var(--a)/.1))}@media print{._with-indent_1n4mw_1 ul .indent,._with-indent_1n4mw_1 .paragraph .indent{border-style:none}}._with-indent_1n4mw_1 blockquote .paragraph>span.indent{margin-left:0!important}._with-indent_1n4mw_1 blockquote .paragraph:first-child:first-letter{float:none!important;font-size:inherit!important;margin:0}._with-indent_1n4mw_1 blockquote .paragraph,._with-indent_1n4mw_1 blockquote blockquote>ph{padding:10px 0;margin:0}._with-indent_1n4mw_1 blockquote .paragraph:first-child{margin-bottom:0}._with-indent_1n4mw_1 blockquote{margin-left:var(--padding-h);margin-right:var(--padding-h);line-height:1.8;padding:1em 1em 1em 2em;background-color:var(--fallback-a,oklch(var(--a)/.2));font-weight:400}:is([data-theme=dark] ._with-indent_1n4mw_1 blockquote){background-color:var(--fallback-a,oklch(var(--a)/.05))}._with-indent_1n4mw_1 blockquote{border-style:none;padding-left:3rem;padding-right:3rem;outline:2px solid transparent!important;outline-offset:2px!important}._with-indent_1n4mw_1 blockquote span:first-letter{float:none!important;font-size:1em!important}@media screen and (max-width: 599px){._with-indent_1n4mw_1 blockquote{max-width:100vw;margin-left:-1.25em;margin-right:-1.25em;padding:1em 3em}}._with-indent_1n4mw_1 .paragraph:not(:nth-child(1))>span.indent:nth-child(1){margin-left:2rem}._with-indent_1n4mw_1 main>p:first-child{margin-bottom:2rem}._with-indent_1n4mw_1 main .paragraph:first-child:first-letter{float:left;font-size:2.4em;margin:0 .2em 0 0}._with-serif_1n4mw_91 main{font-family:"Noto Serif CJK SC","Noto Serif SC",var(--font-serif),"Source Han Serif SC","Source Han Serif",source-han-serif-sc,SongTi SC,SimSum,"Hiragino Sans GB",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,"Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;font-size:1.125rem;line-height:1.75rem;line-height:1.8}._with-serif_1n4mw_91 strong,._with-serif_1n4mw_91 b{font-family:var(--font-sans),system-ui,-apple-system,PingFang SC,"Microsoft YaHei",Segoe UI,Roboto,Helvetica,noto sans sc,hiragino sans gb,"sans-serif",Apple Color Emoji,Segoe UI Emoji,Not Color Emoji} diff --git a/assets/PostPreview-UoX5h2vO.js b/assets/PostPreview-UoX5h2vO.js new file mode 100644 index 00000000000..164f1741c27 --- /dev/null +++ b/assets/PostPreview-UoX5h2vO.js @@ -0,0 +1,13 @@ +import{j as e,r as o}from"./index-ZXl4th35.js";import{u as h}from"./useQuery-3CoUXB5U.js";import{w as C,L as I}from"./index-ISduWuPC.js";import{u as R,a as T,M as z,R as m,N as B,P as F,A as S,b as E,X as A,g as D}from"./utils-nAJ288NP.js";import{u as p,a as V}from"./provider-XKwIHqOQ.js";import{L as g,M as $}from"./StyledButton-VgryXAte.js";import{F as f,R as q}from"./FloatPopover-3waN72gb.js";import{m as j,c as y,a as d}from"./motion-minimal-epsqYg85.js";import{r as v,R as w,b as c,q as H,M as O,c as W}from"./FormInput-i0fsPScC.js";import{a as X}from"./viewport-l4O6ZIBM.js";import{k as b,l as u}from"./request-bY2SEZNN.js";import{M as Z,W as K}from"./Gallery-QJ8JjQGt.js";import{A as N}from"./index-LA8z4iWc.js";import{a as k,b as Q}from"./toast-dlXalurG.js";import{T as G,a as J,n as x,B as U,L as Y}from"./alert-fERsLyJJ.js";import{R as _}from"./LinkCard-AonZnIUQ.js";import"./react-error-boundary.esm-e5Yyzoa4.js";import"./spring-hnK4kZop.js";import"./image-fdtjzFNr.js";import"./use-is-dark-IiysOCcN.js";import"./SocialSourceLink-Fjgxzjol.js";import"./env-y9k74Ds6.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./dom-NuJWIaAq.js";import"./customParseFormat-0gR3iPzn.js";import"./lodash-lrAbnKsZ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./use-event-callback-ULpIcVk8.js";import"./visual-element-tlU1-krp.js";import"./use-is-client-6Iy0halI.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";const ee=({leftElement:t})=>{const s=R(),n=T(s?.roomName||"");return!s||!n?null:e.jsxs(e.Fragment,{children:[t,e.jsx(f,{asChild:!0,type:"tooltip",triggerElement:e.jsxs("span",{children:["当前",e.jsx("span",{className:"mx-1 font-medium",children:n}),"人正在阅读"]}),children:"当前的实时阅读人数,可以通过左侧时间线查看其他人的阅读进度(手机上无法查看)"})]})};function se(t){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:e.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 15h4V9h-4v6Zm0 2v3a1 1 0 0 1-2 0v-3H5a1 1 0 0 1 0-2h3V9H5a1 1 0 1 1 0-2h3V4a1 1 0 1 1 2 0v3h4V4a1 1 0 0 1 2 0v3h3a1 1 0 0 1 0 2h-3v6h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-4Z"})})}function te(){return e.jsx("i",{className:"icon-[mingcute--thumb-up-line]"})}const ne=()=>e.jsx("svg",{version:"1.1",x:"0px",y:"0px",width:"59.227px",height:"59.227px",viewBox:"0 0 59.227 59.227",className:"fill-current",children:e.jsx("g",{children:e.jsx("g",{children:e.jsx("path",{d:`M51.586,10.029c-0.333-0.475-0.897-0.689-1.449-0.607c-0.021-0.005-0.042-0.014-0.063-0.017L27.469,6.087 + c-0.247-0.037-0.499-0.01-0.734,0.076L8.63,12.799c-0.008,0.003-0.015,0.008-0.023,0.011c-0.019,0.008-0.037,0.02-0.057,0.027 + c-0.099,0.044-0.191,0.096-0.276,0.157c-0.026,0.019-0.051,0.038-0.077,0.059c-0.093,0.076-0.178,0.159-0.249,0.254 + c-0.004,0.006-0.01,0.009-0.014,0.015L0.289,23.78c-0.293,0.401-0.369,0.923-0.202,1.391c0.167,0.469,0.556,0.823,1.038,0.947 + l6.634,1.713v16.401c0,0.659,0.431,1.242,1.062,1.435l24.29,7.422c0.008,0.004,0.017,0.001,0.025,0.005 + c0.13,0.036,0.266,0.059,0.402,0.06c0.003,0,0.007,0.002,0.011,0.002l0,0h0.001c0.143,0,0.283-0.026,0.423-0.067 + c0.044-0.014,0.085-0.033,0.13-0.052c0.059-0.022,0.117-0.038,0.175-0.068l17.43-9.673c0.477-0.265,0.772-0.767,0.772-1.312 + V25.586l5.896-2.83c0.397-0.19,0.69-0.547,0.802-0.973c0.111-0.427,0.03-0.88-0.223-1.241L51.586,10.029z M27.41,9.111 + l17.644,2.59L33.35,17.143l-18.534-3.415L27.41,9.111z M9.801,15.854l21.237,3.914l-6.242,9.364l-20.78-5.365L9.801,15.854z + M10.759,43.122V28.605l14.318,3.697c0.125,0.031,0.25,0.048,0.375,0.048c0.493,0,0.965-0.244,1.248-0.668l5.349-8.023v25.968 + L10.759,43.122z M49.479,41.1l-14.431,8.007V25.414l2.635,5.599c0.171,0.361,0.479,0.641,0.854,0.773 + c0.163,0.06,0.333,0.087,0.502,0.087c0.223,0,0.444-0.05,0.649-0.146l9.789-4.698L49.479,41.1L49.479,41.1z M39.755,28.368 + l-4.207-8.938L49.85,12.78l5.634,8.037L39.755,28.368z`})})})}),M=o.forwardRef,re=k(null),ae=M((t,s)=>{const{children:n,show:r=!0,...i}=t,{className:a,...l}=i;return e.jsx(N,{mode:"wait",children:r&&e.jsx(j.button,{ref:s,"aria-label":"Floating action button",initial:{opacity:.3,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:.3,scale:.8},className:y("mt-2 flex items-center justify-center","h-12 w-12 text-lg md:h-10 md:w-10 md:text-base","border border-accent outline-accent hover:opacity-100 focus:opacity-100 focus:outline-none","rounded-xl border border-zinc-400/20 shadow-lg backdrop-blur-lg dark:border-zinc-500/30 dark:bg-zinc-800/80 dark:text-zinc-200","bg-zinc-50/80 shadow-lg dark:bg-neutral-900/80","transition-all duration-500 ease-in-out",a),...l,children:n})})});M((t,s)=>{const{onClick:n,children:r}=t,i=o.useId(),a=Q(re),l=X();return t.onlyShowInMobile&&!l||!a?null:e.jsx(q,{to:a,children:e.jsx(ae,{ref:s,id:i,onClick:n,children:r})})});const ie=({children:t,className:s})=>e.jsx("ul",{className:d("shiro-timeline",s),children:t});o.memo(function(s){const{count:n,name:r}=s;return e.jsx(G,{count:n,text:r,onClick:s.onClick,passProps:s})});const oe=t=>{const{name:s}=t,{data:n,isLoading:r}=h({queryKey:[s,"tag"],queryFn:async({queryKey:a})=>{const[l]=a;return(await b.category.getTagByName(l)).data},staleTime:1e3*60*60*24}),{dismissAll:i}=p();return r?e.jsx("div",{className:"h-30 loading-dots flex w-full center"}):n?e.jsx(ie,{children:n.map(a=>e.jsx("li",{className:"flex items-center justify-between","data-id":a.id,children:e.jsxs("span",{className:"flex min-w-0 flex-shrink items-center",children:[e.jsx("span",{className:"mr-2 inline-block w-12 tabular-nums",children:Intl.DateTimeFormat("en-us",{month:"2-digit",day:"2-digit"}).format(new Date(a.created))}),e.jsx(g,{onClick:()=>{i()},prefetch:!1,href:v(w.Post,{category:a.category.slug,slug:a.slug}),className:"min-w-0 truncate leading-6",children:e.jsx("span",{className:"min-w-0 truncate",children:a.title})})]})},a.id))}):e.jsx(ne,{})},L=({className:t,meta:s,children:n})=>{const{present:r}=p(),i=V();return e.jsxs("div",{className:y("flex min-w-0 flex-shrink flex-grow flex-wrap gap-2 text-sm",t),children:[e.jsxs("div",{className:"flex min-w-0 items-center space-x-1",children:[!!s.created&&e.jsxs(e.Fragment,{children:[e.jsx(z,{}),e.jsx("span",{children:e.jsx(m,{date:s.created})})]}),!!s.modified&&e.jsxs(f,{wrapperClassName:"text-xs",as:"span",type:"tooltip",TriggerComponent:()=>"(已编辑)",children:["编辑于 ",e.jsx(m,{date:s.modified})]})]}),!!s.category&&e.jsxs("div",{className:"flex min-w-0 items-center space-x-1",children:[e.jsx(se,{className:"translate-y-[0.5px]"}),e.jsxs("span",{className:"min-w-0 truncate",children:[e.jsx($,{onClick:()=>!!s.category&&i.push(v(w.Category,{slug:s.category.slug})),className:"shiro-link--underline font-normal",children:e.jsx("span",{children:s.category?.name})}),s.tags?.length?e.jsxs(e.Fragment,{children:[" ","/"," ",s.tags.map((a,l)=>{const P=l===s.tags.length-1;return e.jsxs(o.Fragment,{children:[e.jsx("button",{className:"shiro-link--underline",onClick:()=>r({content:()=>e.jsx(oe,{name:a}),title:`Tag: ${a}`}),children:a},a),!P&&e.jsx("span",{children:", "})]},a)})]}):""]})]}),!!s.count?.read&&e.jsxs("div",{className:"flex min-w-0 items-center space-x-1",children:[e.jsx("i",{className:"icon-[mingcute--eye-2-line]"}),e.jsx("span",{className:"min-w-0 truncate",children:s.count.read})]}),!!s.count?.like&&e.jsxs("div",{className:"flex min-w-0 items-center space-x-1",children:[e.jsx(te,{}),e.jsx("span",{className:"min-w-0 truncate",children:e.jsx(B,{children:s.count.like})})]}),n]})},le=()=>{const t=c(s=>s?.text);return t?e.jsx(J,{allowsScript:!0,value:t,className:"min-w-0 overflow-hidden"}):null},ce=t=>{const s=c(n=>n?.images||x);return e.jsx(Z,{images:s||x,children:t.children})},me=({className:t})=>{const s=c(n=>{if(n)return{created:n.created,category:n.category,tags:n.tags,count:n.count,modified:n.modified}});return s?e.jsx(L,{meta:s,className:t,children:e.jsx(ee,{})}):null},de=({pin:t,id:s})=>{const[n,r]=o.useState(t);return e.jsx(F,{onPinChange:async i=>{await b.post.proxy(s).patch({data:{pin:i}}),r(i)},pin:n})},ue=()=>{const[t,s]=o.useState(!1),n=o.useRef(null);return o.useEffect(()=>{const r=n.current;if(!r)return;const i=r.parentElement;if(i)return i.onfocus=()=>{s(!0)},i.onblur=()=>{s(!1)},()=>{i.onfocus=null,i.onblur=null}},[]),e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:n,className:"absolute inset-0 z-10",onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)}}),e.jsx(N,{children:t&&e.jsx(j.div,{layout:!0,initial:{opacity:.2,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},layoutId:"post-item-hover-overlay",className:d("absolute z-[-1] rounded-xl","bg-accent/10 dark:bg-neutral-800","bottom-[1rem] left-[-1rem] right-[-1.5rem] top-[1rem]")})})]})};o.memo(function({data:s}){const n=s.text.length>300?`${_(s.text.slice(0,300))}...`:s.text,r=s.images?.length>0&&s.images[0].src,a=`/posts/${s.category?.slug}/${s.slug}`;return e.jsxs(g,{href:a,className:"relative flex flex-col py-8 focus-visible:!shadow-none",children:[e.jsx(ue,{}),e.jsxs("h2",{className:"relative break-words text-2xl font-medium",children:[e.jsx(C,{children:s.title}),e.jsx(de,{pin:!!s.pin,id:s.id})]}),e.jsxs("div",{className:"relative mt-8 space-y-2",children:[!!s.summary&&e.jsxs("p",{className:"mb-4 break-all rounded-md px-4 py-2 text-sm leading-relaxed text-gray-900 ring-1 ring-accent/10 dark:text-zinc-50",children:["摘要: ",s.summary]}),e.jsxs("div",{className:"relative overflow-hidden text-justify",children:[r&&e.jsx("div",{className:d("float-right mb-2 ml-3 h-[5.5rem] w-[5.5rem] overflow-hidden rounded-md","bg-cover bg-center bg-no-repeat"),style:{backgroundImage:`url(${r})`}}),e.jsx("p",{className:"break-all leading-loose text-gray-800/90 dark:text-gray-200/90",children:n})]})]}),e.jsxs("div",{className:"post-meta-bar mt-2 flex select-none flex-wrap items-center justify-end gap-4 text-base-content/60",children:[e.jsx(L,{meta:s}),e.jsxs("span",{className:"flex flex-shrink-0 select-none items-center space-x-1 text-right text-accent hover:text-accent [&>svg]:hover:ml-2",children:[e.jsx("span",{children:"阅读全文"}),e.jsx("i",{className:"icon-[mingcute--arrow-right-line] text-lg transition-[margin]"})]})]})]})});const xe=()=>{const t=c(s=>s?.modified);return t&&u().diff(u(t),"day")>60?e.jsx(U,{type:"warning",className:"my-10",children:e.jsxs("span",{className:"leading-[1.8]",children:["这篇文章上次修改于 ",e.jsx(m,{date:t}),",可能部分内容已经不适用,如有疑问可询问作者。"]})}):null},Ze=t=>{const{category:s,slug:n}=t,{data:r,isLoading:i}=h({...H.post.bySlug(s,n)}),a=o.useMemo(()=>k(null),[]);return i?e.jsx(Y,{className:"w-full",useDefaultLoadingText:!0}):r?e.jsxs(O,{overrideAtom:a,children:[e.jsx(W,{data:r}),!!r.id&&e.jsx(S,{id:r.id,type:"post"}),e.jsx(E,{children:e.jsxs("article",{className:"prose relative w-full min-w-0",children:[e.jsxs("header",{className:"mb-8",children:[e.jsx("h1",{className:"text-center",children:e.jsx(I,{children:r.title})}),e.jsx(me,{className:"mb-8 justify-center"}),e.jsx(A,{cid:D(r)}),e.jsx(xe,{})]}),e.jsx(K,{eoaDetect:!0,children:e.jsx(ce,{children:e.jsx(le,{})})})]})})]}):null};export{Ze as PostPreview}; diff --git a/assets/Shiki-BF6GP9Ug.css b/assets/Shiki-BF6GP9Ug.css new file mode 100644 index 00000000000..3ccbae0f0ca --- /dev/null +++ b/assets/Shiki-BF6GP9Ug.css @@ -0,0 +1 @@ +._code-card_m695b_1{position:relative;margin-top:1.5rem;margin-bottom:1.5rem;overflow:hidden;border-radius:.375rem}._code-card_m695b_1 pre{margin:0!important;padding:0!important;font-size:min(1em,16px)}._code-card_m695b_1 pre code{display:flex;flex-direction:column}._code-card_m695b_1 .shiki,._code-card_m695b_1 code{background-color:transparent!important}._code-card_m695b_1 .line{display:block;padding-left:1rem;padding-right:1rem}._code-card_m695b_1 .highlighted{position:relative;word-break:break-all;background-color:var(--fallback-a,oklch(var(--a)/.2));white-space:pre-wrap;word-wrap:break-word;overflow:auto}._code-card_m695b_1 .highlighted:before{position:absolute;left:0;top:0;height:100%;width:2px;--tw-bg-opacity: 1;background-color:var(--fallback-a,oklch(var(--a)/var(--tw-bg-opacity)));content:""} diff --git a/assets/Shiki-YdqsEpEt.js b/assets/Shiki-YdqsEpEt.js new file mode 100644 index 00000000000..48db3d69452 --- /dev/null +++ b/assets/Shiki-YdqsEpEt.js @@ -0,0 +1,18 @@ +import{_ as L,r as E,j as T}from"./index-ZXl4th35.js";import{a as Pe,c as We}from"./motion-minimal-epsqYg85.js";import{u as Vt,g as Yt}from"./viewport-l4O6ZIBM.js";import"./request-bY2SEZNN.js";import{A as Xt}from"./AutoResizeHeight-dtcKGJMw.js";import{u as Jt}from"./use-event-callback-ULpIcVk8.js";import{M as Qt}from"./StyledButton-VgryXAte.js";import{c as Zt,p as en}from"./utils-JJoYnXdw.js";import"./toast-dlXalurG.js";import"./env-y9k74Ds6.js";import"./spring-hnK4kZop.js";const tn=async r=>{const e=await L(()=>import("./onig-mBJmD8D5.js"),__vite__mapDeps([]),import.meta.url).then(t=>t.default);return WebAssembly.instantiate(e,r).then(t=>t.instance.exports)};var F;(function(r){r[r.NotSet=-1]="NotSet",r[r.None=0]="None",r[r.Italic=1]="Italic",r[r.Bold=2]="Bold",r[r.Underline=4]="Underline"})(F||(F={}));var Y;(function(r){function e(h){return h.toString(2).padStart(32,"0")}r.toBinaryStr=e;function t(h){const u=r.getLanguageId(h),p=r.getTokenType(h),d=r.getFontStyle(h),f=r.getForeground(h),_=r.getBackground(h);console.log({languageId:u,tokenType:p,fontStyle:d,foreground:f,background:_})}r.print=t;function n(h){return(h&255)>>>0}r.getLanguageId=n;function s(h){return(h&768)>>>8}r.getTokenType=s;function o(h){return(h&1024)!==0}r.containsBalancedBrackets=o;function i(h){return(h&30720)>>>11}r.getFontStyle=i;function l(h){return(h&16744448)>>>15}r.getForeground=l;function a(h){return(h&4278190080)>>>24}r.getBackground=a;function c(h,u,p,d,f,_,m){let y=r.getLanguageId(h),S=r.getTokenType(h),R=r.containsBalancedBrackets(h)?1:0,v=r.getFontStyle(h),C=r.getForeground(h),G=r.getBackground(h);return u!==0&&(y=u),p!==8&&(S=p),d!==null&&(R=d?1:0),f!==-1&&(v=f),_!==0&&(C=_),m!==0&&(G=m),(y<<0|S<<8|R<<10|v<<11|C<<15|G<<24)>>>0}r.set=c})(Y||(Y={}));function ce(r,e){const t=[],n=nn(r);let s=n.next();for(;s!==null;){let a=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=n.next()}let c=i();if(t.push({matcher:c,priority:a}),s!==",")break;s=n.next()}return t;function o(){if(s==="-"){s=n.next();const a=o();return c=>!!a&&!a(c)}if(s==="("){s=n.next();const a=l();return s===")"&&(s=n.next()),a}if(He(s)){const a=[];do a.push(s),s=n.next();while(He(s));return c=>e(a,c)}return null}function i(){const a=[];let c=o();for(;c;)a.push(c),c=o();return h=>a.every(u=>u(h))}function l(){const a=[];let c=i();for(;c&&(a.push(c),s==="|"||s===",");){do s=n.next();while(s==="|"||s===",");c=i()}return h=>a.some(u=>u(h))}}function He(r){return!!r&&!!r.match(/[\w\.:]+/)}function nn(r){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(r);return{next:()=>{if(!t)return null;const n=t[0];return t=e.exec(r),n}}}function ht(r){typeof r.dispose=="function"&&r.dispose()}function rn(r){return Be(r)}function Be(r){return Array.isArray(r)?sn(r):typeof r=="object"?on(r):r}function sn(r){let e=[];for(let t=0,n=r.length;t{for(let n in t)r[n]=t[n]}),r}function pt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?pt(r.substring(0,r.length-1)):r.substr(~e+1)}let Ce=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class se{static hasCaptures(e){return e===null?!1:(Ce.lastIndex=0,Ce.test(e))}static replaceCaptures(e,t,n){return e.replace(Ce,(s,o,i,l)=>{let a=n[parseInt(o||i,10)];if(a){let c=t.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return s})}}function dt(r,e){return re?1:0}function gt(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,n=e.length;if(t===n){for(let s=0;s`);return}const o=t.lookup(e);r instanceof Z?ae({baseGrammar:o,selfGrammar:s},n):ke(r.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},n);const i=t.injections(r.scopeName);if(i)for(const l of i)n.add(new Z(l))}function ke(r,e,t){if(e.repository&&e.repository[r]){const n=e.repository[r];ue([n],e,t)}}function ae(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&ue(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&ue(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function ue(r,e,t){for(const n of r){if(t.visitedRule.has(n))continue;t.visitedRule.add(n);const s=n.repository?ft({},e.repository,n.repository):e.repository;Array.isArray(n.patterns)&&ue(n.patterns,{...e,repository:s},t);const o=n.include;if(!o)continue;const i=yt(o);switch(i.kind){case 0:ae({...e,selfGrammar:e.baseGrammar},t);break;case 1:ae(e,t);break;case 2:ke(i.ruleName,{...e,repository:s},t);break;case 3:case 4:const l=i.scopeName===e.selfGrammar.scopeName?e.selfGrammar:i.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(l){const a={baseGrammar:e.baseGrammar,selfGrammar:l,repository:s};i.kind===4?ke(i.ruleName,a,t):ae(a,t)}else i.kind===4?t.add(new ln(i.scopeName,i.ruleName)):t.add(new Z(i.scopeName));break}}}class hn{kind=0}class fn{kind=1}class pn{ruleName;kind=2;constructor(e){this.ruleName=e}}class dn{scopeName;kind=3;constructor(e){this.scopeName=e}}class gn{scopeName;ruleName;kind=4;constructor(e,t){this.scopeName=e,this.ruleName=t}}function yt(r){if(r==="$base")return new hn;if(r==="$self")return new fn;const e=r.indexOf("#");if(e===-1)return new dn(r);if(e===0)return new pn(r.substring(1));{const t=r.substring(0,e),n=r.substring(e+1);return new gn(t,n)}}const mn=/\\(\d+)/,qe=/\\(\d+)/g,_n=-1,bt=-2;class ne{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,s){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=se.hasCaptures(this._name),this._contentName=s||null,this._contentNameIsCapturing=se.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${pt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:se.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:se.replaceCaptures(this._contentName,e,t)}}class yn extends ne{retokenizeCapturedWithRuleId;constructor(e,t,n,s,o){super(e,t,n,s),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,s){throw new Error("Not supported!")}}class bn extends ne{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,s,o){super(e,t,n,null),this._match=new z(s,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,s){return this._getCachedCompiledPatterns(e).compileAG(e,n,s)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ee,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Ke extends ne{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,s,o){super(e,t,n,s),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,s){return this._getCachedCompiledPatterns(e).compileAG(e,n,s)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ee,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Le extends ne{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,s,o,i,l,a,c,h){super(e,t,n,s),this._begin=new z(o,this.id),this.beginCaptures=i,this._end=new z(l||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=c||!1,this.patterns=h.patterns,this.hasMissingPatterns=h.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,s){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,s)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ee;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}}class he extends ne{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,s,o,i,l,a,c){super(e,t,n,s),this._begin=new z(o,this.id),this.beginCaptures=i,this.whileCaptures=a,this._while=new z(l,bt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,s){return this._getCachedCompiledPatterns(e).compileAG(e,n,s)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ee;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,s){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,s)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ee,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}}class N{static createCaptureRule(e,t,n,s,o){return e.registerRule(i=>new yn(t,i,n,s,o))}static getCompiledRuleId(e,t,n){return e.id||t.registerRule(s=>{if(e.id=s,e.match)return new bn(e.$vscodeTextmateLocation,e.id,e.name,e.match,N._compileCaptures(e.captures,t,n));if(typeof e.begin>"u"){e.repository&&(n=ft({},n,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new Ke(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,N._compilePatterns(o,t,n))}return e.while?new he(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,N._compileCaptures(e.beginCaptures||e.captures,t,n),e.while,N._compileCaptures(e.whileCaptures||e.captures,t,n),N._compilePatterns(e.patterns,t,n)):new Le(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,N._compileCaptures(e.beginCaptures||e.captures,t,n),e.end,N._compileCaptures(e.endCaptures||e.captures,t,n),e.applyEndPatternLast,N._compilePatterns(e.patterns,t,n))}),e.id}static _compileCaptures(e,t,n){let s=[];if(e){let o=0;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);l>o&&(o=l)}for(let i=0;i<=o;i++)s[i]=null;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);let a=0;e[i].patterns&&(a=N.getCompiledRuleId(e[i],t,n)),s[l]=N.createCaptureRule(t,e[i].$vscodeTextmateLocation,e[i].name,e[i].contentName,a)}}return s}static _compilePatterns(e,t,n){let s=[];if(e)for(let o=0,i=e.length;oe.substring(s.start,s.end));return qe.lastIndex=0,this.source.replace(qe,(s,o)=>mt(n[parseInt(o,10)]||""))}_buildAnchorCache(){let e=[],t=[],n=[],s=[],o,i,l,a;for(o=0,i=this.source.length;on.source);this._cached=new Ve(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let s=this._items.map(o=>o.resolveAnchors(t,n));return new Ve(e,s,this._items.map(o=>o.ruleId))}}class Ve{regExps;rules;scanner;constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;tthis._root.match(e));constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,s=this._cachedMatchRoot.get(t).find(o=>Sn(e.parent,o.parentScopes));return s?new St(s.fontStyle,s.foreground,s.background):null}}class H{parent;scopeName;static push(e,t){for(const n of t)e=new H(e,n);return e}static from(...e){let t=null;for(let n=0;n1&&(m=f.slice(0,f.length-1),m.reverse()),t[n++]=new Rn(_,m,s,a,c,h)}}return t}class Rn{scope;parentScopes;index;fontStyle;foreground;background;constructor(e,t,n,s,o,i){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=s,this.foreground=o,this.background=i}}function vn(r,e){r.sort((a,c)=>{let h=dt(a.scope,c.scope);return h!==0||(h=gt(a.parentScopes,c.parentScopes),h!==0)?h:a.index-c.index});let t=0,n="#000000",s="#ffffff";for(;r.length>=1&&r[0].scope==="";){let a=r.shift();a.fontStyle!==-1&&(t=a.fontStyle),a.foreground!==null&&(n=a.foreground),a.background!==null&&(s=a.background)}let o=new An(e),i=new St(t,o.getId(n),o.getId(s)),l=new Q(new te(0,null,-1,0,0),[]);for(let a=0,c=r.length;ae?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),s!==0&&(this.background=s)}}class Q{_mainRule;_children;_rulesWithParentScopes;constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}static _sortBySpecificity(e){return e.length===1||e.sort(this._cmpBySpecificity),e}static _cmpBySpecificity(e,t){if(e.scopeDepth===t.scopeDepth){const n=e.parentScopes,s=t.parentScopes;let o=n===null?0:n.length,i=s===null?0:s.length;if(o===i)for(let l=0;l{const t=this._scopeToLanguage(e),n=this._toStandardTokenType(e);return new we(t,n)});_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(fe.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class xn{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,s])=>mt(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}}class Ye{stack;stoppedEarly;constructor(e,t){this.stack=e,this.stoppedEarly=t}}function Ct(r,e,t,n,s,o,i,l){const a=e.content.length;let c=!1,h=-1;if(i){const d=Nn(r,e,t,n,s,o);s=d.stack,n=d.linePos,t=d.isFirstLine,h=d.anchorPosition}const u=Date.now();for(;!c;){if(l!==0&&Date.now()-u>l)return new Ye(s,!0);p()}return new Ye(s,!1);function p(){const d=Pn(r,e,t,n,s,h);if(!d){o.produce(s,a),c=!0;return}const f=d.captureIndices,_=d.matchedRuleId,m=f&&f.length>0?f[0].end>n:!1;if(_===_n){const y=s.getRule(r);o.produce(s,f[0].start),s=s.withContentNameScopesList(s.nameScopesList),J(r,e,t,s,o,y.endCaptures,f),o.produce(s,f[0].end);const S=s;if(s=s.parent,h=S.getAnchorPos(),!m&&S.getEnterPos()===n){s=S,o.produce(s,a),c=!0;return}}else{const y=r.getRule(_);o.produce(s,f[0].start);const S=s,R=y.getName(e.content,f),v=s.contentNameScopesList.pushAttributed(R,r);if(s=s.push(_,n,h,f[0].end===a,null,v,v),y instanceof Le){const C=y;J(r,e,t,s,o,C.beginCaptures,f),o.produce(s,f[0].end),h=f[0].end;const G=C.getContentName(e.content,f),$=v.pushAttributed(G,r);if(s=s.withContentNameScopesList($),C.endHasBackReferences&&(s=s.withEndRule(C.getEndWithResolvedBackReferences(e.content,f))),!m&&S.hasSameRuleAs(s)){s=s.pop(),o.produce(s,a),c=!0;return}}else if(y instanceof he){const C=y;J(r,e,t,s,o,C.beginCaptures,f),o.produce(s,f[0].end),h=f[0].end;const G=C.getContentName(e.content,f),$=v.pushAttributed(G,r);if(s=s.withContentNameScopesList($),C.whileHasBackReferences&&(s=s.withEndRule(C.getWhileWithResolvedBackReferences(e.content,f))),!m&&S.hasSameRuleAs(s)){s=s.pop(),o.produce(s,a),c=!0;return}}else if(J(r,e,t,s,o,y.captures,f),o.produce(s,f[0].end),s=s.pop(),!m){s=s.safePop(),o.produce(s,a),c=!0;return}}f[0].end>n&&(n=f[0].end,t=!1)}}function Nn(r,e,t,n,s,o){let i=s.beginRuleCapturedEOL?0:-1;const l=[];for(let a=s;a;a=a.pop()){const c=a.getRule(r);c instanceof he&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:h}=Tn(a.rule,r,a.stack.endRule,t,n===i),u=c.findNextMatchSync(e,n,h);if(u){if(u.ruleId!==bt){s=a.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(o.produce(a.stack,u.captureIndices[0].start),J(r,e,t,a.stack,o,a.rule.whileCaptures,u.captureIndices),o.produce(a.stack,u.captureIndices[0].end),i=u.captureIndices[0].end,u.captureIndices[0].end>n&&(n=u.captureIndices[0].end,t=!1))}else{s=a.stack.pop();break}}return{stack:s,linePos:n,anchorPosition:i,isFirstLine:t}}function Pn(r,e,t,n,s,o){const i=kn(r,e,t,n,s,o),l=r.getInjections();if(l.length===0)return i;const a=Ln(l,r,e,t,n,s,o);if(!a)return i;if(!i)return a;const c=i.captureIndices[0].start,h=a.captureIndices[0].start;return h=l)&&(l=R,a=S.captureIndices,c=S.ruleId,h=f.priority,l===s))break}return a?{priorityMatch:h===-1,captureIndices:a,matchedRuleId:c}:null}function wt(r,e,t,n,s){return{ruleScanner:r.compileAG(e,t,n,s),findOptions:0}}function Tn(r,e,t,n,s){return{ruleScanner:r.compileWhileAG(e,t,n,s),findOptions:0}}function J(r,e,t,n,s,o,i){if(o.length===0)return;const l=e.content,a=Math.min(o.length,i.length),c=[],h=i[0].end;for(let u=0;uh)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?s.produceFromScopes(c[c.length-1].scopes,d.start):s.produce(n,d.start),p.retokenizeCapturedWithRuleId){const _=p.getName(l,i),m=n.contentNameScopesList.pushAttributed(_,r),y=p.getContentName(l,i),S=m.pushAttributed(y,r),R=n.push(p.retokenizeCapturedWithRuleId,d.start,-1,!1,null,m,S),v=r.createOnigString(l.substring(0,d.end));Ct(r,v,t&&d.start===0,d.start,R,s,!1,0),ht(v);continue}const f=p.getName(l,i);if(f!==null){const m=(c.length>0?c[c.length-1].scopes:n.contentNameScopesList).pushAttributed(f,r);c.push(new En(m,d.end))}}for(;c.length>0;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class En{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}}function On(r,e,t,n,s,o,i,l){return new Bn(r,e,t,n,s,o,i,l)}function Xe(r,e,t,n,s){const o=ce(e,pe),i=N.getCompiledRuleId(t,n,s.repository);for(const l of o)r.push({debugSelector:e,matcher:l.matcher,ruleId:i,grammar:s,priority:l.priority})}function pe(r,e){if(e.length{for(let s=t;st&&r.substr(0,t)===e&&r[t]==="."}class Bn{_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(e,t,n,s,o,i,l,a){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=a,this._basicScopeAttributesProvider=new fe(n,s),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=Je(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const c of Object.keys(o)){const h=ce(c,pe);for(const u of h)this._tokenTypeMatchers.push({matcher:u.matcher,type:o[c]})}}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},t=[],n=this._rootScopeName,s=e.lookup(n);if(s){const o=s.injections;if(o)for(let l in o)Xe(t,l,o[l],this,s);const i=this._grammarRepository.injections(n);i&&i.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const c=a.injectionSelector;c&&Xe(t,c,a,this,a)}})}return t.sort((o,i)=>o.priority-i.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=Je(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const s=this._tokenize(e,t,!1,n);return{tokens:s.lineTokens.getResult(s.ruleStack,s.lineLength),ruleStack:s.ruleStack,stoppedEarly:s.stoppedEarly}}tokenizeLine2(e,t,n=0){const s=this._tokenize(e,t,!0,n);return{tokens:s.lineTokens.getBinaryResult(s.ruleStack,s.lineLength),ruleStack:s.ruleStack,stoppedEarly:s.stoppedEarly}}_tokenize(e,t,n,s){this._rootId===-1&&(this._rootId=N.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===j.NULL){o=!0;const h=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),p=Y.set(0,h.languageId,h.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),d=this.getRule(this._rootId).getName(null,null);let f;d?f=O.createRootAndLookUpScopeName(d,p,this):f=O.createRoot("unknown",p),t=new j(null,this._rootId,-1,-1,!1,null,f,f)}else o=!1,t.reset();e=e+` +`;const i=this.createOnigString(e),l=i.content.length,a=new Dn(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Ct(this,i,o,0,t,a,!0,s);return ht(i),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Je(r,e){return r=rn(r),r.repository=r.repository||{},r.repository.$self={$vscodeTextmateLocation:r.$vscodeTextmateLocation,patterns:r.patterns,name:r.scopeName},r.repository.$base=e||r.repository.$self,r}class O{parent;scopePath;tokenAttributes;static fromExtension(e,t){let n=e,s=e?.scopePath??null;for(const o of t)s=H.push(s,o.scopeNames),n=new O(n,s,o.encodedTokenAttributes);return n}static createRoot(e,t){return new O(null,new H(null,e),t)}static createRootAndLookUpScopeName(e,t,n){const s=n.getMetadataForScope(e),o=new H(null,e),i=n.themeProvider.themeMatch(o),l=O.mergeAttributes(t,s,i);return new O(null,o,l)}get scopeName(){return this.scopePath.scopeName}constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}toString(){return this.getScopeNames().join(" ")}equals(e){return O.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,n){let s=-1,o=0,i=0;return n!==null&&(s=n.fontStyle,o=n.foregroundId,i=n.backgroundId),Y.set(e,t.languageId,t.tokenType,null,s,o,i)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return O._pushAttributed(this,e,t);const n=e.split(/ /g);let s=this;for(const o of n)s=O._pushAttributed(s,o,t);return s}static _pushAttributed(e,t,n){const s=n.getMetadataForScope(t),o=e.scopePath.push(t),i=n.themeProvider.themeMatch(o),l=O.mergeAttributes(e.tokenAttributes,s,i);return new O(e,o,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){const t=[];let n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}}class j{parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new j(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(e,t,n,s,o,i,l,a){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=s}equals(e){return e===null?!1:j._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?O.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){j._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,n,s,o,i,l){return new j(this,e,t,n,s,o,i,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new j(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(e,t){const n=O.fromExtension(e?.nameScopesList??null,t.nameScopesList);return new j(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,n,O.fromExtension(n,t.contentNameScopesList))}}class Mn{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):ce(n,pe).map(s=>s.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>ce(n,pe).map(s=>s.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}}class Dn{balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(e,t,n,s){this.balancedBracketSelectors=s,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let s=e?.tokenAttributes??0,o=!1;if(this.balancedBracketSelectors?.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=e?.getScopeNames()??[];for(const l of this._tokenTypeOverrides)l.matcher(i)&&(s=Y.set(s,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(i))}if(o&&(s=Y.set(s,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===s){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(s),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let s=0,o=this._binaryTokens.length;s0;)await Promise.all(i.Q.map(l=>this._loadSingleGrammar(l.scopeName))),i.processQueue();return this._grammarForScopeName(e,t,n,s,o)}async _loadSingleGrammar(e){return this._ensureGrammarCache.has(e)||this._ensureGrammarCache.set(e,this._doLoadSingleGrammar(e)),this._ensureGrammarCache.get(e)}async _doLoadSingleGrammar(e){const t=await this._options.loadGrammar(e);if(t){const n=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}async addGrammar(e,t=[],n=0,s=null){return this._syncRegistry.addGrammar(e,t),await this._grammarForScopeName(e.scopeName,n,s)}_grammarForScopeName(e,t=0,n=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(e,t,n,s,o)}};const jn=j.NULL,k={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class U{static toBinaryStr(e){let t=e.toString(2);for(;t.length<32;)t=`0${t}`;return t}static getLanguageId(e){return(e&k.LANGUAGEID_MASK)>>>k.LANGUAGEID_OFFSET}static getTokenType(e){return(e&k.TOKEN_TYPE_MASK)>>>k.TOKEN_TYPE_OFFSET}static getFontStyle(e){return(e&k.FONT_STYLE_MASK)>>>k.FONT_STYLE_OFFSET}static getForeground(e){return(e&k.FOREGROUND_MASK)>>>k.FOREGROUND_OFFSET}static getBackground(e){return(e&k.BACKGROUND_MASK)>>>k.BACKGROUND_OFFSET}static containsBalancedBrackets(e){return(e&k.BALANCED_BRACKETS_MASK)!==0}static set(e,t,n,s,o,i){let l=U.getLanguageId(e),a=U.getTokenType(e),c=U.getFontStyle(e),h=U.getForeground(e),u=U.getBackground(e);const p=U.containsBalancedBrackets(e)?1:0;return t!==0&&(l=t),n!==0&&(a=n===8?0:n),s!==F.NotSet&&(c=s),o!==0&&(h=o),i!==0&&(u=i),(l<>>0}}function _e(r,e=!1){const t=r.split(/(\r?\n)/g);let n=0;const s=[];for(let o=0;ot&&n.push({...r,content:r.content.slice(t,s),offset:r.offset+t}),t=s;return tn-s);return t.length?r.map(n=>n.flatMap(s=>{const o=t.filter(i=>s.offseti-s.offset).sort((i,l)=>i-l);return o.length?Wn(s,o):s})):r}function xt(r,e){return e?.[r?.toLowerCase()]||r}function Nt(r){const e={};return r.color&&(e.color=r.color),r.bgColor&&(e["background-color"]=r.bgColor),r.fontStyle&&(r.fontStyle&F.Italic&&(e["font-style"]="italic"),r.fontStyle&F.Bold&&(e["font-weight"]="bold"),r.fontStyle&F.Underline&&(e["text-decoration"]="underline")),e}function Pt(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function zn(r){const e=_e(r,!0).map(([s])=>s);function t(s){let o=s,i=0;for(const l of e){if(oNumber.parseInt(i));o.length===3&&!o.some(i=>Number.isNaN(i))&&(s={type:"rgb",rgb:o})}else if(n==="5"){const o=Number.parseInt(r[e+t]);Number.isNaN(o)||(s={type:"table",index:Number(o)})}return[t,s]}function Kn(r){const e=[];for(let t=0;t=90&&s<=97?e.push({type:"setForegroundColor",value:{type:"named",name:W[s-90+8]}}):s>=100&&s<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:W[s-100+8]}})}return e}function Vn(){let r=null,e=null,t=new Set;return{parse(n){const s=[];let o=0;do{const i=qn(n,o),l=i.sequence?n.substring(o,i.startPosition):n.substring(o);if(l.length>0&&s.push({value:l,foreground:r,background:e,decorations:new Set(t)}),i.sequence){const a=Kn(i.sequence);for(const c of a)c.type==="resetAll"?(r=null,e=null,t.clear()):c.type==="resetForegroundColor"?r=null:c.type==="resetBackgroundColor"?e=null:c.type==="resetDecoration"&&t.delete(c.value);for(const c of a)c.type==="setForegroundColor"?r=c.value:c.type==="setBackgroundColor"?e=c.value:c.type==="setDecoration"&&t.add(c.value)}o=i.position}while(oMath.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let n;function s(){if(n)return n;n=[];for(let c=0;c[l,r.colors?.[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]))),i=Vn();return s.map(l=>i.parse(l[0]).map(a=>{let c,h;a.decorations.has("reverse")?(c=a.background?o.value(a.background):r.bg,h=a.foreground?o.value(a.foreground):r.fg):(c=a.foreground?o.value(a.foreground):r.fg,h=a.background?o.value(a.background):void 0),c=xt(c,n),a.decorations.has("dim")&&(c=Qn(c));let u=F.None;return a.decorations.has("bold")&&(u|=F.Bold),a.decorations.has("italic")&&(u|=F.Italic),a.decorations.has("underline")&&(u|=F.Underline),{content:a.value,offset:l[1],color:c,bgColor:h,fontStyle:u}}))}function Qn(r){const e=r.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(e)if(e[3]){const n=Math.round(Number.parseInt(e[3],16)/2).toString(16).padStart(2,"0");return`#${e[1]}${e[2]}${n}`}else return e[2]?`#${e[1]}${e[2]}80`:`#${Array.from(e[1]).map(n=>`${n}${n}`).join("")}80`;const t=r.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return t?`var(${t[1]}-dim)`:r}function Me(r,e,t={}){const{lang:n="text",theme:s=r.getLoadedThemes()[0]}=t;if(Rt(n)||vt(s))return _e(e).map(a=>[{content:a[0],offset:a[1]}]);const{theme:o,colorMap:i}=r.setTheme(s);if(n==="ansi")return Jn(o,e,t);const l=r.getLanguage(n);return Zn(e,l,o,i,t)}function Zn(r,e,t,n,s){const o={...t.colorReplacements,...s?.colorReplacements},{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:l=500}=s,a=_e(r);let c=jn,h=[];const u=[];for(let p=0,d=a.length;p0&&f.length>=i){h=[],u.push([{content:f,offset:_,color:"",fontStyle:0}]);continue}let m,y,S;s.includeExplanation&&(m=e.tokenizeLine(f,c),y=m.tokens,S=0);const R=e.tokenizeLine2(f,c,l),v=R.tokens.length/2;for(let C=0;C=0&&o>=0;)Ze(e[s],n[o])&&(s-=1),o-=1;return s===-1}function nr(r,e,t){const n=[];let s=0;for(let o=0,i=r.settings.length;oc.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,h=a.length;ci[1]).map(i=>({color:i[0],theme:i[1]})),s=rr(...n.map(i=>Me(r,e,{...t,theme:i.theme})));return s[0].map((i,l)=>i.map((a,c)=>{const h={content:a.content,variants:{},offset:a.offset};return s.forEach((u,p)=>{const{content:d,explanation:f,offset:_,...m}=u[l][c];h.variants[n[p].color]=m}),h}))}function rr(...r){const e=r.map(()=>[]),t=r.length;for(let n=0;na[n]),o=e.map(()=>[]);e.forEach((a,c)=>a.push(o[c]));const i=s.map(()=>0),l=s.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;cf[1]).map(f=>({color:f[0],theme:f[1]})).sort((f,_)=>f.color===a?-1:_.color===a?1:0);if(h.length===0)throw new I("`themes` option must not be empty");const u=kt(r,e,t);if(a&&!h.find(f=>f.color===a))throw new I(`\`themes\` option must contain the defaultColor key \`${a}\``);const p=h.map(f=>r.getTheme(f.theme)),d=h.map(f=>f.color);o=u.map(f=>f.map(_=>sr(_,d,c,a))),s=h.map((f,_)=>(_===0&&a?"":`${c+f.color}:`)+(p[_].fg||"inherit")).join(";"),n=h.map((f,_)=>(_===0&&a?"":`${c+f.color}-bg:`)+(p[_].bg||"inherit")).join(";"),i=`shiki-themes ${p.map(f=>f.name).join(" ")}`,l=a?void 0:[s,n].join(";")}else if("theme"in t){o=Me(r,e,t);const a=r.getTheme(t.theme);n=a.bg,s=a.fg,i=a.name}else throw new I("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:s,bg:n,themeName:i,rootStyle:l}}function sr(r,e,t,n){const s={content:r.content,explanation:r.explanation,offset:r.offset},o=e.map(a=>Nt(r.variants[a])),i=new Set(o.flatMap(a=>Object.keys(a))),l=o.reduce((a,c,h)=>{for(const u of i){const p=c[u]||"inherit";if(h===0&&n)a[u]=p;else{const d=u==="color"?"":u==="background-color"?"-bg":`-${u}`,f=t+e[h]+(u==="color"?"":d);a[u]?a[u]+=`;${f}:${p}`:a[u]=`${f}:${p}`}}return a},{});return s.htmlStyle=n?Pt(l):Object.values(l).join(";"),s}function or(){const r=new WeakMap;function e(n){if(!r.has(n.meta)){let o=function(l){return typeof l=="number"?{...s.indexToPos(l),offset:l}:{...l,offset:s.posToIndex(l.line,l.character)}};const s=zn(n.source),i=(n.options.decorations||[]).map(l=>({...l,start:o(l.start),end:o(l.end)}));t(i),r.set(n.meta,{decorations:i,converter:s,source:n.source})}return r.get(n.meta)}function t(n){for(let s=0;so.end.offset)throw new I(`Invalid decoration range: ${JSON.stringify(o.start)} - ${JSON.stringify(o.end)}`);for(let i=s+1;i[l.start.offset,l.end.offset]);return Hn(n,o)},code(n){if(!this.options.decorations?.length)return;const s=e(this),o=Array.from(n.children).filter(u=>u.type==="element"&&u.tagName==="span");if(o.length!==s.converter.lines.length)throw new I(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${s.converter.lines.length}). Failed to apply decorations.`);function i(u,p,d,f){const _=o[u];let m="",y=-1,S=-1;function R(C){return C.type==="text"?C.value:C.type==="element"?C.children.map(R).join(""):""}if(p===0&&(y=0),d===0&&(S=0),d===Number.POSITIVE_INFINITY&&(S=_.children.length),y===-1||S===-1)for(let C=0;C<_.children.length;C++)m+=R(_.children[C]),y===-1&&m.length===p&&(y=C+1),S===-1&&m.length===d&&(S=C+1);if(y===-1)throw new I(`Failed to find start index for decoration ${JSON.stringify(f.start)}`);if(S===-1)throw new I(`Failed to find end index for decoration ${JSON.stringify(f.end)}`);const v=_.children.slice(y,S);if(!f.alwaysWrap&&v.length===_.children.length)a(_,f,"line");else if(!f.alwaysWrap&&v.length===1&&v[0].type==="element")a(v[0],f,"token");else{const C={type:"element",tagName:"span",properties:{},children:v};a(C,f,"wrapper"),_.children.splice(y,v.length,C)}}function l(u,p){o[u]=a(o[u],p,"line")}function a(u,p,d){const f=p.properties||{},_=p.transform||(m=>m);return u.tagName=p.tagName||"span",u.properties={...u.properties,...f,class:u.properties.class},p.properties?.class&&At(u,p.properties.class),u=_(u,d)||u,u}const c=[],h=s.decorations.sort((u,p)=>p.start.offset-u.start.offset);for(const u of h){const{start:p,end:d}=u;if(p.line===d.line)i(p.line,p.character,d.character,u);else if(p.linel(f,u));i(d.line,0,d.character,u)}}c.forEach(u=>u())}}}const ir=[or()];function ge(r){return[...r.transformers||[],...ir]}function me(r,e,t,n={meta:{},options:t,codeToHast:(s,o)=>me(r,s,o),codeToTokens:(s,o)=>de(r,s,o)}){let s=e;for(const p of ge(t))s=p.preprocess?.call(n,s,t)||s;let{tokens:o,fg:i,bg:l,themeName:a,rootStyle:c}=de(r,s,t);const{mergeWhitespaces:h=!0}=t;h===!0?o=ar(o):h==="never"&&(o=cr(o));const u={...n,get source(){return s}};for(const p of ge(t))o=p.tokens?.call(u,o)||o;return lr(o,{...t,fg:i,bg:l,themeName:a,rootStyle:c},u)}function lr(r,e,t){const n=ge(e),s=[],o={type:"root",children:[]};let i={type:"element",tagName:"pre",properties:{class:`shiki ${e.themeName||""}`,style:e.rootStyle||`background-color:${e.bg};color:${e.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(e.meta||{})).filter(([u])=>!u.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:s};const a=[],c={...t,addClassToHast:At,get source(){return t.source},get tokens(){return r},get options(){return e},get root(){return o},get pre(){return i},get code(){return l},get lines(){return a}};r.forEach((u,p)=>{p&&s.push({type:"text",value:` +`});let d={type:"element",tagName:"span",properties:{class:"line"},children:[]},f=0;for(const _ of u){let m={type:"element",tagName:"span",properties:{},children:[{type:"text",value:_.content}]};const y=_.htmlStyle||Pt(Nt(_));y&&(m.properties.style=y);for(const S of n)m=S?.span?.call(c,m,p+1,f,d)||m;d.children.push(m),f+=_.content.length}for(const _ of n)d=_?.line?.call(c,d,p+1)||d;a.push(d),s.push(d)});for(const u of n)l=u?.code?.call(c,l)||l;i.children.push(l);for(const u of n)i=u?.pre?.call(c,i)||i;o.children.push(i);let h=o;for(const u of n)h=u?.root?.call(c,h)||h;return h}function ar(r){return r.map(e=>{const t=[];let n="",s=0;return e.forEach((o,i)=>{const a=!(o.fontStyle&&o.fontStyle&F.Underline);a&&o.content.match(/^\s+$/)&&e[i+1]?(s||(s=o.offset),n+=o.content):n?(a?t.push({...o,offset:s,content:n+o.content}):t.push({content:n,offset:s},o),s=0,n=""):t.push(o)}),t})}function cr(r){return r.map(e=>e.flatMap(t=>{if(t.content.match(/^\s+$/))return t;const n=t.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return t;const[,s,o,i]=n;if(!s&&!i)return t;const l=[{...t,offset:t.offset+s.length,content:o}];return s&&l.unshift({content:s,offset:t.offset}),i&&l.push({content:i,offset:t.offset+s.length+o.length}),l}))}const ur=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class re{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}re.prototype.property={};re.prototype.normal={};re.prototype.space=null;function Lt(r,e){const t={},n={};let s=-1;for(;++s4&&t.slice(0,4)==="data"&&gr.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(tt,br);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!tt.test(o)){let i=o.replace(mr,yr);i.charAt(0)!=="-"&&(i="-"+i),e="data"+i}}s=De}return new s(n,e)}function yr(r){return"-"+r.toLowerCase()}function br(r){return r.charAt(1).toUpperCase()}const Sr=Lt([Ot,Et,Mt,Dt,pr],"html"),Gt=Lt([Ot,Et,Mt,Dt,dr],"svg"),nt={}.hasOwnProperty;function Cr(r,e){const t=e||{};function n(s,...o){let i=n.invalid;const l=n.handlers;if(s&&nt.call(s,r)){const a=String(s[r]);i=nt.call(l,a)?l[a]:n.unknown}if(i)return i.call(this,s,...o)}return n.handlers=t.handlers||{},n.invalid=t.invalid,n.unknown=t.unknown,n}function wr(r,e){if(r=r.replace(e.subset?Rr(e.subset):/["&'<>`]/g,n),e.subset||e.escapeOnly)return r;return r.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,t).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function t(s,o,i){return e.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),e)}function n(s,o,i){return e.format(s.charCodeAt(0),i.charCodeAt(o+1),e)}}function Rr(r){const e=[];let t=-1;for(;++t",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Nr=["cent","copy","divide","gt","lt","not","para","times"],Ft={}.hasOwnProperty,Ie={};let oe;for(oe in Ae)Ft.call(Ae,oe)&&(Ie[Ae[oe]]=oe);function Pr(r,e,t,n){const s=String.fromCharCode(r);if(Ft.call(Ie,s)){const o=Ie[s],i="&"+o;return t&&xr.includes(o)&&!Nr.includes(o)&&(!n||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?i:i+";"}return""}function kr(r,e,t){let n=vr(r,e,t.omitOptionalSemicolons),s;if((t.useNamedReferences||t.useShortestReferences)&&(s=Pr(r,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!s)&&t.useShortestReferences){const o=Ar(r,e,t.omitOptionalSemicolons);o.length"]}))+">":"|--!>|";function s(o){return V(o,Object.assign({},n.settings.characterReferences,{subset:["<",">"]}))}}function Tr(r,e,t,n){return""}function rt(r,e){const t=String(r);if(typeof e!="string")throw new TypeError("Expected character");let n=0,s=t.indexOf(e);for(;s!==-1;)n++,s=t.indexOf(e,s+e.length);return n}function Er(r,e){const t=e||{};return(r[r.length-1]===""?[...r,""]:r).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function Or(r){return r.join(" ").trim()}const Ir=/[ \t\n\f\r]/g;function Ge(r){return typeof r=="object"?r.type==="text"?st(r.value):!1:st(r)}function st(r){return r.replace(Ir,"")===""}const x=Ut(1),jt=Ut(-1),Br=[];function Ut(r){return e;function e(t,n,s){const o=t?t.children:Br;let i=(n||0)+r,l=o[i];if(!s)for(;l&&Ge(l);)i+=r,l=o[i];return l}}const Mr={}.hasOwnProperty;function $t(r){return e;function e(t,n,s){return Mr.call(r,t.tagName)&&r[t.tagName](t,n,s)}}const Fe=$t({body:Gr,caption:xe,colgroup:xe,dd:$r,dt:Ur,head:xe,html:Dr,li:jr,optgroup:Wr,option:Hr,p:Fr,rp:ot,rt:ot,tbody:qr,td:it,tfoot:Kr,th:it,thead:zr,tr:Vr});function xe(r,e,t){const n=x(t,e,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&Ge(n.value.charAt(0)))}function Dr(r,e,t){const n=x(t,e);return!n||n.type!=="comment"}function Gr(r,e,t){const n=x(t,e);return!n||n.type!=="comment"}function Fr(r,e,t){const n=x(t,e);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function jr(r,e,t){const n=x(t,e);return!n||n.type==="element"&&n.tagName==="li"}function Ur(r,e,t){const n=x(t,e);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function $r(r,e,t){const n=x(t,e);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function ot(r,e,t){const n=x(t,e);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function Wr(r,e,t){const n=x(t,e);return!n||n.type==="element"&&n.tagName==="optgroup"}function Hr(r,e,t){const n=x(t,e);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function zr(r,e,t){const n=x(t,e);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function qr(r,e,t){const n=x(t,e);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function Kr(r,e,t){return!x(t,e)}function Vr(r,e,t){const n=x(t,e);return!n||n.type==="element"&&n.tagName==="tr"}function it(r,e,t){const n=x(t,e);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const Yr=$t({body:Qr,colgroup:Zr,head:Jr,html:Xr,tbody:es});function Xr(r){const e=x(r,-1);return!e||e.type!=="comment"}function Jr(r){const e=r.children,t=[];let n=-1;for(;++n0}function Qr(r){const e=x(r,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ge(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Zr(r,e,t){const n=jt(t,e),s=x(r,-1,!0);return t&&n&&n.type==="element"&&n.tagName==="colgroup"&&Fe(n,t.children.indexOf(n),t)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function es(r,e,t){const n=jt(t,e),s=x(r,-1);return t&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&Fe(n,t.children.indexOf(n),t)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const ie={name:[[` +\f\r &/=>`.split(""),` +\f\r "&'/=>\``.split("")],[`\0 +\f\r "&'/<=>`.split(""),`\0 +\f\r "&'/<=>\``.split("")]],unquoted:[[` +\f\r &>`.split(""),`\0 +\f\r "&'<=>\``.split("")],[`\0 +\f\r "&'<=>\``.split(""),`\0 +\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function ts(r,e,t,n){const s=n.schema,o=s.space==="svg"?!1:n.settings.omitOptionalTags;let i=s.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(r.tagName.toLowerCase());const l=[];let a;s.space==="html"&&r.tagName==="svg"&&(n.schema=Gt);const c=ns(n,r.properties),h=n.all(s.space==="html"&&r.tagName==="template"?r.content:r);return n.schema=s,h&&(i=!1),(c||!o||!Yr(r,e,t))&&(l.push("<",r.tagName,c?" "+c:""),i&&(s.space==="svg"||n.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!n.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(h),!i&&(!o||!Fe(r,e,t))&&l.push(""),l.join("")}function ns(r,e){const t=[];let n=-1,s;if(e){for(s in e)if(e[s]!==null&&e[s]!==void 0){const o=rs(r,s,e[s]);o&&t.push(o)}}for(;++nrt(t,r.alternative)&&(i=r.alternative),l=i+V(t,Object.assign({},r.settings.characterReferences,{subset:(i==="'"?ie.single:ie.double)[s][o],attribute:!0}))+i),a+(l&&"="+l))}function Wt(r,e,t,n){return t&&t.type==="element"&&(t.tagName==="script"||t.tagName==="style")?r.value:V(r.value,Object.assign({},n.settings.characterReferences,{subset:["<","&"]}))}function ss(r,e,t,n){return n.settings.allowDangerousHtml?r.value:Wt(r,e,t,n)}function os(r,e,t,n){return n.all(r)}const is=Cr("type",{invalid:ls,unknown:as,handlers:{comment:Lr,doctype:Tr,element:ts,raw:ss,root:os,text:Wt}});function ls(r){throw new Error("Expected node, not `"+r+"`")}function as(r){const e=r;throw new Error("Cannot compile unknown node `"+e.type+"`")}const cs={},us={},hs=[];function fs(r,e){const t=e||cs,n=t.quote||'"',s=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:ps,all:ds,settings:{omitOptionalTags:t.omitOptionalTags||!1,allowParseErrors:t.allowParseErrors||!1,allowDangerousCharacters:t.allowDangerousCharacters||!1,quoteSmart:t.quoteSmart||!1,preferUnquoted:t.preferUnquoted||!1,tightAttributes:t.tightAttributes||!1,upperDoctype:t.upperDoctype||!1,tightDoctype:t.tightDoctype||!1,bogusComments:t.bogusComments||!1,tightCommaSeparatedLists:t.tightCommaSeparatedLists||!1,tightSelfClosing:t.tightSelfClosing||!1,collapseEmptyAttributes:t.collapseEmptyAttributes||!1,allowDangerousHtml:t.allowDangerousHtml||!1,voids:t.voids||ur,characterReferences:t.characterReferences||us,closeSelfClosing:t.closeSelfClosing||!1,closeEmptyElements:t.closeEmptyElements||!1},schema:t.space==="svg"?Gt:Sr,quote:n,alternative:s}.one(Array.isArray(r)?{type:"root",children:r}:r,void 0,void 0)}function ps(r,e,t){return is(r,e,t,this)}function ds(r){const e=[],t=r&&r.children||hs;let n=-1;for(;++nme(r,o,i),codeToTokens:(o,i)=>de(r,o,i)};let s=fs(me(r,e,t,n));for(const o of ge(t))s=o.postprocess?.call(n,s,t)||s;return s}async function ms(r){let e,t;const n={};function s(p){t=p,n.HEAPU8=new Uint8Array(p),n.HEAPU32=new Uint32Array(p)}function o(){return typeof performance<"u"?performance.now():Date.now()}function i(p,d,f){n.HEAPU8.copyWithin(p,d,d+f)}function l(){return 2147483648}function a(p){try{return e.grow(p-t.byteLength+65535>>>16),s(e.buffer),1}catch{}}function c(p){const d=n.HEAPU8.length;p=p>>>0;const f=l();if(p>f)return!1;const _=(m,y)=>m+(y-m%y)%y;for(let m=1;m<=4;m*=2){let y=d*(1+.2/m);y=Math.min(y,p+100663296);const S=Math.min(f,_(Math.max(p,y),65536));if(a(S))return!0}return!1}const h={emscripten_get_now:o,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function u(){const d=await r({env:h,wasi_snapshot_preview1:h});e=d.memory,s(e.buffer),Object.assign(n,d)}return await u(),n}let P=null,_s=!1;function ys(r){throw new I(r.UTF8ToString(r.getLastOnigError()))}class ye{static _utf8ByteLength(e){let t=0;for(let n=0,s=e.length;n=55296&&o<=56319&&n+1=56320&&a<=57343&&(i=(o-55296<<10)+65536|a-56320,l=!0)}i<=127?t+=1:i<=2047?t+=2:i<=65535?t+=3:t+=4,l&&n++}return t}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(e){const t=e.length,n=ye._utf8ByteLength(e),s=n!==t,o=s?new Uint32Array(t+1):null;s&&(o[t]=n);const i=s?new Uint32Array(n+1):null;s&&(i[n]=t);const l=new Uint8Array(n);let a=0;for(let c=0;c=55296&&h<=56319&&c+1=56320&&d<=57343&&(u=(h-55296<<10)+65536|d-56320,p=!0)}s&&(o[c]=a,p&&(o[c+1]=a),u<=127?i[a+0]=c:u<=2047?(i[a+0]=c,i[a+1]=c):u<=65535?(i[a+0]=c,i[a+1]=c,i[a+2]=c):(i[a+0]=c,i[a+1]=c,i[a+2]=c,i[a+3]=c)),u<=127?l[a++]=u:u<=2047?(l[a++]=192|(u&1984)>>>6,l[a++]=128|(u&63)>>>0):u<=65535?(l[a++]=224|(u&61440)>>>12,l[a++]=128|(u&4032)>>>6,l[a++]=128|(u&63)>>>0):(l[a++]=240|(u&1835008)>>>18,l[a++]=128|(u&258048)>>>12,l[a++]=128|(u&4032)>>>6,l[a++]=128|(u&63)>>>0),p&&c++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=l,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=i}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}class M{static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++M.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(e){if(!P)throw new I("Must invoke loadWasm first.");this._onigBinding=P,this.content=e;const t=new ye(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!M._sharedPtrInUse?(M._sharedPtr||(M._sharedPtr=P.omalloc(1e4)),M._sharedPtrInUse=!0,P.HEAPU8.set(t.utf8Value,M._sharedPtr),this.ptr=M._sharedPtr):this.ptr=t.createString(P)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===M._sharedPtr?M._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class bs{_onigBinding;_ptr;constructor(e){if(!P)throw new I("Must invoke loadWasm first.");const t=[],n=[];for(let l=0,a=e.length;l{let n=r;return n=await n,typeof n=="function"&&(n=await n(t)),typeof n=="function"&&(n=await n(t)),Ss(n)?n=await n.instantiator(t):Cs(n)?n=await n.default(t):(ws(n)&&(n=n.data),Rs(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await Ns(n)(t):n=await Ps(n)(t):vs(n)&&(n=await xs(n)(t))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return le=e(),le}function xs(r){return e=>WebAssembly.instantiate(r,e)}function Ns(r){return e=>WebAssembly.instantiateStreaming(r,e)}function Ps(r){return async e=>{const t=await r.arrayBuffer();return WebAssembly.instantiate(t,e)}}function ks(r){return new M(r)}function Ls(r){return new bs(r)}const lt={light:"#333333",dark:"#bbbbbb"},at={light:"#fffffe",dark:"#1e1e1e"},ct="__shiki_resolved";function Ht(r){if(r?.[ct])return r;const e={...r};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||="dark",e.colorReplacements={...e.colorReplacements},e.settings||=[];let{bg:t,fg:n}=e;if(!t||!n){const l=e.settings?e.settings.find(a=>!a.name&&!a.scope):void 0;l?.settings?.foreground&&(n=l.settings.foreground),l?.settings?.background&&(t=l.settings.background),!n&&e?.colors?.["editor.foreground"]&&(n=e.colors["editor.foreground"]),!t&&e?.colors?.["editor.background"]&&(t=e.colors["editor.background"]),n||(n=e.type==="light"?lt.light:lt.dark),t||(t=e.type==="light"?at.light:at.dark),e.fg=n,e.bg=t}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let s=0;const o=new Map;function i(l){if(o.has(l))return o.get(l);s+=1;const a=`#${s.toString(16).padStart(8,"0").toLowerCase()}`;return e.colorReplacements?.[`#${a}`]?i(l):(o.set(l,a),a)}e.settings=e.settings.map(l=>{const a=l.settings?.foreground&&!l.settings.foreground.startsWith("#"),c=l.settings?.background&&!l.settings.background.startsWith("#");if(!a&&!c)return l;const h={...l,settings:{...l.settings}};if(a){const u=i(l.settings.foreground);e.colorReplacements[u]=l.settings.foreground,h.settings.foreground=u}if(c){const u=i(l.settings.background);e.colorReplacements[u]=l.settings.background,h.settings.background=u}return h});for(const l of Object.keys(e.colors||{}))if((l==="editor.foreground"||l==="editor.background"||l.startsWith("terminal.ansi"))&&!e.colors[l]?.startsWith("#")){const a=i(e.colors[l]);e.colorReplacements[a]=e.colors[l],e.colors[l]=a}return Object.defineProperty(e,ct,{enumerable:!1,writable:!1,value:!0}),e}class Ts extends Fn{_resolver;_themes;_langs;_resolvedThemes={};_resolvedGrammars={};_langMap={};_langGraph=new Map;alias={};constructor(e,t,n){super(e),this._resolver=e,this._themes=t,this._langs=n,t.forEach(s=>this.loadTheme(s)),n.forEach(s=>this.loadLanguage(s))}getTheme(e){return typeof e=="string"?this._resolvedThemes[e]:this.loadTheme(e)}loadTheme(e){const t=Ht(e);return t.name&&(this._resolvedThemes[t.name]=t),t}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(e){if(this.alias[e]){const t=new Set([e]);for(;this.alias[e];){if(e=this.alias[e],t.has(e))throw new I(`Circular alias \`${Array.from(t).join(" -> ")} -> ${e}\``);t.add(e)}}return this._resolvedGrammars[e]}async loadLanguage(e){if(this.getGrammar(e.name))return;const t=new Set(Object.values(this._langMap).filter(o=>o.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const s=await this.loadGrammarWithConfiguration(e.scopeName,1,n);if(this._resolvedGrammars[e.name]=s,e.aliases&&e.aliases.forEach(o=>{this.alias[o]=e.name}),t.size)for(const o of t)delete this._resolvedGrammars[o.name],this._syncRegistry?._injectionGrammars?.delete(o.scopeName),this._syncRegistry?._grammars?.delete(o.scopeName),await this.loadLanguage(this._langMap[o.name])}async init(){this._themes.map(e=>this.loadTheme(e)),await this.loadLanguages(this._langs)}async loadLanguages(e){for(const s of e)this.resolveEmbeddedLanguages(s);const t=Array.from(this._langGraph.entries()),n=t.filter(([s,o])=>!o);if(n.length){const s=t.filter(([o,i])=>i&&i.embeddedLangs?.some(l=>n.map(([a])=>a).includes(l))).filter(o=>!n.includes(o));throw new I(`Missing languages ${n.map(([o])=>`\`${o}\``).join(", ")}, required by ${s.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[s,o]of t)this._resolver.addLanguage(o);for(const[s,o]of t)await this.loadLanguage(o)}getLoadedLanguages(){return Object.keys({...this._resolvedGrammars,...this.alias})}resolveEmbeddedLanguages(e){if(this._langMap[e.name]=e,this._langGraph.set(e.name,e),e.embeddedLangs)for(const t of e.embeddedLangs)this._langGraph.set(t,this._langMap[t])}}class Es{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLibPromise;constructor(e,t){this._onigLibPromise=e,t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLibPromise}getLangRegistration(e){return this._langs.get(e)}async loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let s=1;s<=t.length;s++){const o=t.slice(0,s).join(".");n=[...n,...this._injections.get(o)||[]]}return n}}let Os;async function Is(r={}){async function e(m){return Promise.resolve(typeof m=="function"?m():m).then(y=>y.default||y)}async function t(m){return Array.from(new Set((await Promise.all(m.filter(y=>!Un(y)).map(async y=>await e(y).then(S=>Array.isArray(S)?S:[S])))).flat()))}const n=r.loadWasm||Os,[s,o]=await Promise.all([Promise.all((r.themes||[]).map(e)).then(m=>m.map(Ht)),t(r.langs||[]),n?As(n):void 0]),i=new Es(Promise.resolve({createOnigScanner(m){return Ls(m)},createOnigString(m){return ks(m)}}),o),l=new Ts(i,s,o);Object.assign(l.alias,r.langAlias),await l.init();let a;function c(m){const y=l.getGrammar(typeof m=="string"?m:m.name);if(!y)throw new I(`Language \`${m}\` not found, you may need to load it first`);return y}function h(m){if(m==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const y=l.getTheme(m);if(!y)throw new I(`Theme \`${m}\` not found, you may need to load it first`);return y}function u(m){const y=h(m);a!==m&&(l.setTheme(y),a=m);const S=l.getColorMap();return{theme:y,colorMap:S}}function p(){return l.getLoadedThemes()}function d(){return l.getLoadedLanguages()}async function f(...m){await l.loadLanguages(await t(m))}async function _(...m){await Promise.all(m.map(async y=>$n(y)?null:l.loadTheme(await e(y))))}return{setTheme:u,getTheme:h,getLanguage:c,getLoadedThemes:p,getLoadedLanguages:d,loadLanguage:f,loadTheme:_}}async function Bs(r={}){const e=await Is(r);return{codeToTokensBase:(t,n)=>Me(e,t,n),codeToTokensWithThemes:(t,n)=>kt(e,t,n),codeToTokens:(t,n)=>de(e,t,n),codeToHast:(t,n)=>me(e,t,n),codeToHtml:(t,n)=>gs(e,t,n),...e,getInternalContext:()=>e}}const ut=0,Ms=({ref:r,size:e="base",element:t,selector:n}={})=>{console.log("useMaskScrollArea",t);const s=E.useRef(null),[o,i]=E.useState(!1),[l,a]=E.useState(!1),[c,h]=E.useState(!1),u=Vt(_=>_.h),p=E.useCallback(()=>{let _=s.current||r?.current||t;if(_)return n&&(_=_.querySelector(n)),_},[r,n,t]),d=Jt(()=>{const _=p();if(!_)return;if(_.scrollHeight<=_.clientHeight+2){h(!1),i(!1),a(!1);return}h(!0);const m=_.scrollTop+_.clientHeight>=_.scrollHeight-ut,y=_.scrollTop<=ut;i(m),a(y)});E.useEffect(()=>{const _=p();if(_)return _.addEventListener("scroll",d),()=>{_.removeEventListener("scroll",d)}},[d,p,t]),E.useEffect(()=>{d()},[d,u,t]);const f={base:"",lg:"-lg"}[e];return[s,c?Pe(o&&"mask-t",l&&"mask-b",!o&&!l&&"mask-both")+f:""]},Ds={"code-card":"_code-card_m695b_1"};let Ne=null;const Xs=r=>{const{lang:e,content:t,attrs:n}=r,s=E.useCallback(()=>{navigator.clipboard.writeText(t)},[t]),[o,i]=E.useState(Ne);E.useLayoutEffect(()=>{Ne||(async()=>{const m=await Bs({themes:[L(()=>import("./github-light-QjB713Ax.js"),__vite__mapDeps([]),import.meta.url),L(()=>import("./github-dark-WrpzPehD.js"),__vite__mapDeps([]),import.meta.url)],langs:[()=>L(()=>import("./javascript-JMZ6uy5M.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./typescript-HpdcmTOD.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./css-tuEqSfZX.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./tsx-7LxggtAE.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./jsx-3LZ_BoLB.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./json-xL80yL3n.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./sql-KWFjTZGI.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./rust-yNm59Dur.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./go-uwBNuH-c.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./cpp-cgV7S8m5.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>L(()=>import("./c-1HqcaTLZ.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./markdown-BZyvP-q3.js"),__vite__mapDeps([]),import.meta.url),()=>L(()=>import("./vue-W5zh9In_.js"),__vite__mapDeps([3,4,5,6,7,8,9,10,11]),import.meta.url),()=>L(()=>import("./html-KTYx-Ibi.js"),__vite__mapDeps([4,5,6]),import.meta.url)],loadWasm:tn});i(m),Ne=m})()},[]);const[l,a]=E.useState(null),[c,h]=E.useState(!0),[u,p]=E.useState(!1);E.useEffect(()=>{const m=l;if(!m)return;const S=Yt().h/2;m.scrollHeight>=S?(p(!0),m.querySelector(".highlighted")?.scrollIntoView({block:"center"})):p(!1)},[t,l]);const d=E.useMemo(()=>o?Zt(o,{attrs:n||"",code:t,lang:e||""}):"",[n,e,t,o]),f=E.useMemo(()=>en(n||""),[n]),[,_]=Ms({element:l,size:"lg"});return T.jsxs("div",{className:Pe(Ds["code-card"],"group"),children:[!!f&&T.jsxs("div",{className:"flex w-full items-center justify-between rounded-t-xl bg-accent/20 px-4 py-2 text-sm",children:[T.jsx("span",{className:"shrink-0 flex-grow truncate",children:f}),T.jsx("span",{className:"pointer-events-none flex-shrink-0 flex-grow-0","aria-hidden":!0,children:e?.toUpperCase()})]}),!f&&!!e&&T.jsx("div",{"aria-hidden":!0,className:We("pointer-events-none absolute bottom-2 right-2 text-sm opacity-60",u?"right-6":""),children:e.toUpperCase()}),T.jsx("div",{className:"bg-accent/10 py-2",children:T.jsxs(Xt,{className:"relative",children:[T.jsx(Qt,{onClick:s,className:Pe("text-xscenter absolute right-1 top-1 z-[1] flex rounded border border-current p-2","dark:bg-primary-300/10 rounded-md border border-black/5 bg-accent/5 p-1.5 text-gray-600 duration-200 hover:text-gray-900 dark:border-white/10 dark:text-gray-400 dark:hover:text-gray-50","opacity-0 group-hover:opacity-60"),children:T.jsx("i",{className:"icon-[mingcute--copy-2-fill] h-4 w-4"})}),T.jsx("div",{ref:a,className:We("relative max-h-[50vh] w-full overflow-auto scrollbar-none",c?u?_:"":"!max-h-[100%]"),dangerouslySetInnerHTML:d?{__html:d}:void 0,children:d?void 0:T.jsx("pre",{className:"bg-transparent",children:T.jsx("code",{children:t})})}),u&&c&&T.jsx("div",{className:"absolute bottom-0 left-0 right-0 flex justify-center py-2",children:T.jsxs("button",{onClick:()=>h(!1),"aria-hidden":!0,className:"flex items-center justify-center text-xs",children:[T.jsx("i",{className:"icon-[mingcute--arrow-to-down-line]"}),T.jsx("span",{className:"ml-2",children:"展开"})]})})]})})]})};export{Xs as ShikiHighLighter}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./cpp-cgV7S8m5.js","./c-1HqcaTLZ.js","./sql-KWFjTZGI.js","./vue-W5zh9In_.js","./html-KTYx-Ibi.js","./javascript-JMZ6uy5M.js","./css-tuEqSfZX.js","./markdown-BZyvP-q3.js","./typescript-HpdcmTOD.js","./jsx-3LZ_BoLB.js","./tsx-7LxggtAE.js","./json-xL80yL3n.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/SocialSourceLink-Fjgxzjol.js b/assets/SocialSourceLink-Fjgxzjol.js new file mode 100644 index 00000000000..84724dadfd9 --- /dev/null +++ b/assets/SocialSourceLink-Fjgxzjol.js @@ -0,0 +1 @@ +import{j as l}from"./index-ZXl4th35.js";import{c as v}from"./motion-minimal-epsqYg85.js";import{g as u}from"./request-bY2SEZNN.js";import"./toast-dlXalurG.js";import{i as w}from"./env-y9k74Ds6.js";const x=t=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:l.jsx("path",{fill:"currentColor",d:"M7.172 2.757L10.414 6h3.171l3.243-3.242a1 1 0 1 1 1.415 1.414L16.414 6H18.5A3.5 3.5 0 0 1 22 9.5v8a3.5 3.5 0 0 1-3.5 3.5h-13A3.5 3.5 0 0 1 2 17.5v-8A3.5 3.5 0 0 1 5.5 6h2.085L5.757 4.171a1 1 0 0 1 1.415-1.414ZM18.5 8h-13a1.5 1.5 0 0 0-1.493 1.355L4 9.5v8a1.5 1.5 0 0 0 1.356 1.493L5.5 19h13a1.5 1.5 0 0 0 1.493-1.356L20 17.5v-8A1.5 1.5 0 0 0 18.5 8ZM8 11a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0v-2a1 1 0 0 1 1-1Zm8 0a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0v-2a1 1 0 0 1 1-1Z"})});function d(t){return l.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",...t,children:l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 0C3.35625 0 0 3.35625 0 7.5C0 10.8187 2.14687 13.6219 5.12812 14.6156C5.50312 14.6813 5.64375 14.4563 5.64375 14.2594C5.64375 14.0813 5.63438 13.4906 5.63438 12.8625C3.75 13.2094 3.2625 12.4031 3.1125 11.9812C3.02812 11.7656 2.6625 11.1 2.34375 10.9219C2.08125 10.7812 1.70625 10.4344 2.33438 10.425C2.925 10.4156 3.34688 10.9687 3.4875 11.1937C4.1625 12.3281 5.24063 12.0094 5.67188 11.8125C5.7375 11.325 5.93437 10.9969 6.15 10.8094C4.48125 10.6219 2.7375 9.975 2.7375 7.10625C2.7375 6.29062 3.02813 5.61562 3.50625 5.09062C3.43125 4.90312 3.16875 4.13437 3.58125 3.10312C3.58125 3.10312 4.20938 2.90625 5.64375 3.87188C6.24375 3.70313 6.88125 3.61875 7.51875 3.61875C8.15625 3.61875 8.79375 3.70313 9.39375 3.87188C10.8281 2.89688 11.4563 3.10312 11.4563 3.10312C11.8688 4.13437 11.6063 4.90312 11.5313 5.09062C12.0094 5.61562 12.3 6.28125 12.3 7.10625C12.3 9.98437 10.5469 10.6219 8.87813 10.8094C9.15 11.0437 9.38438 11.4938 9.38438 12.1969C9.38438 13.2 9.375 14.0063 9.375 14.2594C9.375 14.4563 9.51563 14.6906 9.89063 14.6156C12.8531 13.6219 15 10.8094 15 7.5C15 3.35625 11.6438 0 7.5 0Z",fill:"currentColor"})})}function g(t){return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",...t,children:l.jsx("path",{fill:"currentColor",d:"M0 32V0h32v32zM21.855 9.016l-.308.036l-.292.052l-.281.084l-.265.093l-.271.093l-.249.12l-.24.131l-.229.145l-.224.161l-.213.172l-.203.188l-.183.203l-.177.213l-.172.224l-.145.229l-.147.251l-.135.255l-.12.281l-.104-.297l-.136-.276l-.135-.271l-.156-.249l-.177-.229l-.188-.213l-.197-.199l-.199-.187l-.229-.172l-.224-.147l-.255-.145l-.24-.125l-.265-.104l-.265-.093l-.271-.079l-.276-.068l-.297-.052l-.292-.025l-.291-.032h-.573l-.281.032l-.265.025l-.271.037l-.251.067l-.24.068l-.239.079l-.245.093l-.208.109l-.229.104l-.197.136l-.204.129l-.187.152l-.183.156l-.177.177l-.156.172l-.161.187l-.147.199l-.135.213l-.12.213V9.264H3.532v2.964h1.829v7.812H3.532v3.011h8.443V20.04h-2.64v-5.083l.016-.276l.036-.271l.041-.251l.052-.24l.068-.239l.079-.213l.093-.215l.109-.187l.12-.188l.145-.161l.147-.145l.161-.136l.187-.12l.199-.104l.197-.077l.229-.068l.256-.052l.249-.032l.281-.011h.229l.208.027l.213.041l.188.052l.188.068l.171.079l.163.093l.145.12l.135.135l.131.147l.109.161l.104.183l.084.213l.077.213l.068.255l.052.256l.041.276l.043.307l.011.333v8.12h5.733v-3.011h-1.828v-4.801l.016-.281l.011-.276l.025-.271l.057-.251l.052-.24l.068-.239l.079-.213l.093-.215l.104-.187l.125-.188l.131-.161l.161-.145l.161-.136l.181-.12l.188-.104l.213-.077l.229-.068l.251-.052l.255-.032l.281-.011h.224l.213.027l.213.041l.188.052l.187.068l.172.079l.161.093l.147.12l.135.135l.12.147l.12.161l.104.183l.084.213l.077.213l.068.255l.052.256l.041.276l.037.307l.015.333v8.12h5.735v-3.011h-1.828v-6.296l-.016-.48l-.052-.437l-.077-.427l-.109-.401l-.131-.375l-.161-.344l-.188-.323l-.213-.308l-.239-.265l-.24-.249l-.281-.215l-.276-.203l-.308-.172l-.323-.161l-.333-.12l-.333-.104l-.359-.083l-.344-.052l-.375-.043h-.693z"})})}function C(t){return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",...t,children:l.jsx("path",{fill:"#cb3837",d:"M2 10.555h28v9.335H16v1.556H9.778v-1.557H2Zm1.556 7.779h3.111v-4.668h1.555v4.667h1.556v-6.222H3.556Zm7.778-6.223v7.779h3.111v-1.556h3.111v-6.223Zm3.111 1.556H16v3.112h-1.556Zm4.667-1.556v6.223h3.111v-4.668h1.556v4.667h1.556v-4.667h1.556v4.667h1.556v-6.222Z"})})}function f(t){return l.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:l.jsx("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19c-.14.75-.42 1-.68 1.03c-.58.05-1.02-.38-1.58-.75c-.88-.58-1.38-.94-2.23-1.5c-.99-.65-.35-1.01.22-1.59c.15-.15 2.71-2.48 2.76-2.69a.2.2 0 0 0-.05-.18c-.06-.05-.14-.03-.21-.02c-.09.02-1.49.95-4.22 2.79c-.4.27-.76.41-1.08.4c-.36-.01-1.04-.2-1.55-.37c-.63-.2-1.12-.31-1.08-.66c.02-.18.27-.36.74-.55c2.92-1.27 4.86-2.11 5.83-2.51c2.78-1.16 3.35-1.36 3.73-1.36c.08 0 .27.02.39.12c.1.08.13.19.14.27c-.01.06.01.24 0 .38z"})})}function j(t){return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:l.jsx("path",{fill:"currentColor",d:"M6.62 12a2.291 2.291 0 0 1 2.292-2.295h-.013A2.291 2.291 0 0 1 11.189 12a2.291 2.291 0 0 1-2.29 2.291h.013A2.291 2.291 0 0 1 6.62 12m10.72-4.062h4.266a2.291 2.291 0 0 0 2.29-2.291a2.291 2.291 0 0 0-2.29-2.296H17.34a2.291 2.291 0 0 0-2.291 2.296a2.291 2.291 0 0 0 2.29 2.29zM2.688 20.645h8.285a2.291 2.291 0 0 0 2.291-2.292a2.291 2.291 0 0 0-2.29-2.295H2.687a2.291 2.291 0 0 0-2.291 2.295a2.291 2.291 0 0 0 2.29 2.292zm10.881-6.354h.81l1.894-4.586H15.19l-1.154 3.008h-.013l-1.135-3.008h-1.154zm4.208 0h1.011V9.705h-1.011zm2.878 0h3.235v-.93h-2.223v-.933h1.99v-.934h-1.99v-.855h2.107v-.934h-3.112zM1.31 7.941h1.01V4.247h1.31v-.895H0v.895h1.31zm3.747 0h1.011V5.959h1.958v1.984h1.011v-4.59h-1.01v1.711H6.061V3.351H5.057zm5.348 0h3.242v-.933H11.41v-.934h1.99v-.933h-1.99v-.856h2.107v-.934h-3.112zM.162 14.296h1.005v-3.52h.013l1.167 3.52h.765l1.206-3.52h.013v3.52h1.011v-4.59H3.82L2.755 12.7h-.013L1.686 9.705H.156zm14.534 6.353h1.641a3.188 3.188 0 0 0 .98-.149a2.531 2.531 0 0 0 .824-.437a2.123 2.123 0 0 0 .567-.713a2.193 2.193 0 0 0 .223-.983a2.399 2.399 0 0 0-.218-1.07a1.958 1.958 0 0 0-.586-.716a2.405 2.405 0 0 0-.873-.392a4.349 4.349 0 0 0-1.046-.13h-1.519zm1.013-3.656h.596a2.26 2.26 0 0 1 .606.08a1.514 1.514 0 0 1 .503.244a1.167 1.167 0 0 1 .34.412a1.28 1.28 0 0 1 .13.587a1.546 1.546 0 0 1-.13.658a1.127 1.127 0 0 1-.347.433a1.41 1.41 0 0 1-.518.238a2.797 2.797 0 0 1-.649.07h-.538zm4.686 3.656h1.88a2.997 2.997 0 0 0 .613-.064a1.735 1.735 0 0 0 .554-.214a1.221 1.221 0 0 0 .402-.39a1.105 1.105 0 0 0 .155-.606a1.188 1.188 0 0 0-.071-.415a1.01 1.01 0 0 0-.204-.34a1.087 1.087 0 0 0-.317-.24a1.297 1.297 0 0 0-.413-.13v-.012a1.203 1.203 0 0 0 .575-.366a.962.962 0 0 0 .216-.648a1.081 1.081 0 0 0-.149-.603a1.022 1.022 0 0 0-.389-.354a1.673 1.673 0 0 0-.54-.169a4.463 4.463 0 0 0-.6-.041h-1.712zm1.011-3.734h.687a1.4 1.4 0 0 1 .24.022a.748.748 0 0 1 .22.075a.432.432 0 0 1 .16.147a.418.418 0 0 1 .061.236a.47.47 0 0 1-.055.233a.433.433 0 0 1-.146.156a.62.62 0 0 1-.204.084a1.058 1.058 0 0 1-.23.026h-.745zm0 1.835h.765a1.96 1.96 0 0 1 .266.02a1.015 1.015 0 0 1 .26.07a.519.519 0 0 1 .204.152a.406.406 0 0 1 .08.26a.481.481 0 0 1-.06.253a.519.519 0 0 1-.16.168a.62.62 0 0 1-.217.09a1.155 1.155 0 0 1-.237.027H21.4z"})})}function b(t){return l.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:l.jsx("path",{fill:"#1DA1F2",d:"M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23Z"})})}function H(t){return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:l.jsx("path",{fill:"currentColor",d:"m14.97 18.95l-2.56-6.03c-1.02 1.99-2.14 4.08-3.1 6.03c-.01.01-.47 0-.47 0C7.37 15.5 5.85 12.1 4.37 8.68C4.03 7.84 2.83 6.5 2 6.5v-.45h5.06v.45c-.6 0-1.62.4-1.36 1.05c.72 1.54 3.24 7.51 3.93 9.03c.47-.94 1.8-3.42 2.37-4.47c-.45-.88-1.87-4.18-2.29-5c-.32-.54-1.13-.61-1.75-.61c0-.15.01-.25 0-.44l4.46.01v.4c-.61.03-1.18.24-.92.82c.6 1.24.95 2.13 1.5 3.28c.17-.34 1.07-2.19 1.5-3.16c.26-.65-.13-.91-1.21-.91c.01-.12.01-.33.01-.43c1.39-.01 3.48-.01 3.85-.02v.42c-.71.03-1.44.41-1.82.99L13.5 11.3c.18.51 1.96 4.46 2.15 4.9l3.85-8.83c-.3-.72-1.16-.87-1.5-.87v-.45l4 .03v.42c-.88 0-1.43.5-1.75 1.25c-.8 1.79-3.25 7.49-4.85 11.2h-.43Z"})})}function z(t){return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...t,children:l.jsx("path",{fill:"currentColor",d:"M5.721 0C2.251 0 0 2.25 0 5.719V18.28C0 21.751 2.252 24 5.721 24h12.56C21.751 24 24 21.75 24 18.281V5.72C24 2.249 21.75 0 18.281 0zm1.964 4.078c-.271.73-.5 1.434-.68 2.11h4.587c.545-.006.445 1.168.445 1.171H9.384a58.104 58.104 0 0 1-.112 3.797h2.712c.388.023.393 1.251.393 1.266H9.183a9.223 9.223 0 0 1-.408 2.102l.757-.604c.452.456 1.512 1.712 1.906 2.177c.473.681.063 2.081.063 2.081l-2.794-3.382c-.653 2.518-1.845 3.607-1.845 3.607c-.523.468-1.58.82-2.64.516c2.218-1.73 3.44-3.917 3.667-6.497H4.491c0-.015.197-1.243.806-1.266h2.71c.024-.32.086-3.254.086-3.797H6.598c-.136.406-.158.447-.268.753c-.594 1.095-1.603 1.122-1.907 1.155c.906-1.821 1.416-3.6 1.591-4.064c.425-1.124 1.671-1.125 1.671-1.125zM13.078 6h6.377v11.33h-2.573l-2.184 1.373l-.401-1.373h-1.219zm1.313 1.219v8.86h.623l.263.937l1.455-.938h1.456v-8.86z"})})}const k=t=>t.pathname.split("/").pop(),i="github.com",D=t=>t.hostname===i&&t.pathname.startsWith("/")&&t.pathname.split("/").length===3,R=t=>t.hostname===i&&t.pathname.includes("/pull/"),E=t=>t.hostname==="www.youtube.com"&&t.pathname.startsWith("/watch"),P=t=>t.hostname==="gist.github.com",$=t=>{const[e,,,s]=t.pathname.split("/");return t.hostname===i&&s==="commit"},O=t=>{const[e,,,s]=t.pathname.split("/");return t.hostname===i&&s==="blob"},Y=t=>o(t)&&t.pathname.startsWith("/"),U=t=>t.hostname===i,o=t=>t.hostname==="twitter.com"||t.hostname==="x.com",M=t=>t.hostname==="t.me",q=t=>t.hostname==="codesandbox.io"&&t.pathname.split("/").length===3,y=t=>t.hostname.includes("bilibili.com"),J=t=>{if(!w)return!1;const e=u(),s=e?new URL(e).hostname:"";return(t.hostname===location.hostname||s===t.hostname)&&["/posts/","/notes/"].some(n=>t.pathname.startsWith(n))},T=t=>t.hostname==="www.zhihu.com",B=t=>t.hostname.includes("wikipedia.org"),G=t=>t.hostname.includes("themoviedb.org"),Z=t=>t.hostname.includes("npmjs.com"),F=t=>t.hostname.includes("mozilla.org"),K=t=>{const[e,s,n]=t.pathname.split("/");return{owner:s,id:n}},Q=t=>{const e=t.pathname.split("/"),[s,n,a,h,m]=e,p=e.slice(4).join("/");return{owner:n,repo:a,type:h,id:m,afterTypeString:p}},X=t=>{const[e,s,n,a,h]=t.pathname.split("/");return{owner:s,repo:n,type:a,pr:h}},r=[{type:"GH",icon:l.jsx(d,{className:"text-[#1D2127] dark:text-[#FFFFFF]"}),test:U},{type:"TW",icon:l.jsx(b,{}),test:o},{type:"TG",icon:l.jsx(f,{className:"text-[#2AABEE]"}),test:M},{type:"BL",icon:l.jsx(x,{className:"text-[#469ECF]"}),test:y},{type:"ZH",icon:l.jsx(z,{className:"text-[#0084FF]"}),test:T},{type:"WI",icon:l.jsx(H,{className:"text-current"}),test:B},{type:"TMDB",icon:l.jsx(j,{className:"text-[#0D243F] dark:text-[#5CB7D2]"}),test:G},{type:"Moz",icon:l.jsx(g,{className:"text-[#8cb4ff]"}),test:F},{type:"Npm",icon:l.jsx(C,{}),test:Z}],c=r.reduce((t,e)=>(t[e.type]=e.icon,t),{}),N=t=>r.find(e=>e.test(t))?.type,L=t=>{const{source:e,href:s,className:n}=t;let a=e;try{if(s){const h=new URL(s);a=N(h)??e}}catch{}return c[a]?l.jsx("span",{className:v("mr-1 inline-flex [&_svg]:inline [&_svg]:!h-[0.8em]",n),children:c[a]}):null},I={GH:"https://github.com/",TW:"https://twitter.com/",TG:"https://t.me/",ZH:"https://www.zhihu.com/people/"},t1=({name:t,source:e,href:s})=>{const n=I[e];return n?l.jsxs("span",{className:"mx-1 inline-flex items-center space-x-1 align-text-bottom",children:[l.jsx(L,{source:e}),l.jsx("a",{target:"_blank",rel:"noreferrer nofollow",href:s??`${n}${t}`,className:"underline-offset-2",children:t})]}):null};export{L as F,d as G,t1 as S,b as T,J as a,q as b,E as c,Y as d,U as e,O as f,k as g,$ as h,G as i,R as j,X as k,P as l,K as m,D as n,Q as p}; diff --git a/assets/StyledButton-VgryXAte.js b/assets/StyledButton-VgryXAte.js new file mode 100644 index 00000000000..1ecd278b698 --- /dev/null +++ b/assets/StyledButton-VgryXAte.js @@ -0,0 +1 @@ +import{r as F,j as k,R as ce}from"./index-ZXl4th35.js";import{m as ue,c as de,t as fe,e as pe,a as $}from"./motion-minimal-epsqYg85.js";const I=F.forwardRef(({children:e,...o},t)=>k.jsx(ue.button,{initial:!0,whileFocus:{scale:1.02},whileHover:{scale:1.02},whileTap:{scale:.95},...o,ref:t,children:e}));I.displayName="MotionButtonBase";const ye=F.forwardRef(({className:e,children:o,...t},v)=>k.jsx(I,{ref:v,className:de("inline-flex rounded-full bg-accent p-2 text-center leading-none center hover:opacity-90",e),...t,children:o}));ye.displayName="RoundedIconButton";const be=e=>ce.createElement("a",e,e.children);var q=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,g=e=>!e||typeof e!="object"||Object.keys(e).length===0,ge=(e,o)=>JSON.stringify(e)===JSON.stringify(o);function Z(e,o){e.forEach(function(t){Array.isArray(t)?Z(t,o):o.push(t)})}function _(e){let o=[];return Z(e,o),o}var Q=(...e)=>_(e).filter(Boolean),X=(e,o)=>{let t={},v=Object.keys(e),x=Object.keys(o);for(let u of v)if(x.includes(u)){let m=e[u],w=o[u];typeof m=="object"&&typeof w=="object"?t[u]=X(m,w):Array.isArray(m)||Array.isArray(w)?t[u]=Q(w,m):t[u]=w+" "+m}else t[u]=e[u];for(let u of x)v.includes(u)||(t[u]=o[u]);return t},D=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim(),ve={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},ee=e=>e||void 0,M=(...e)=>ee(_(e).filter(Boolean).join(" ")),T=null,j={},G=!1,O=(...e)=>o=>o.twMerge?((!T||G)&&(G=!1,T=g(j)?fe:pe({...j,extend:{theme:j.theme,classGroups:j.classGroups,conflictingClassGroupModifiers:j.conflictingClassGroupModifiers,conflictingClassGroups:j.conflictingClassGroups,...j.extend}})),ee(T(M(e)))):M(e),U=(e,o)=>{for(let t in o)e.hasOwnProperty(t)?e[t]=M(e[t],o[t]):e[t]=o[t];return e},me=(e,o)=>{let{extend:t=null,slots:v={},variants:x={},compoundVariants:u=[],compoundSlots:m=[],defaultVariants:w={}}=e,y={...ve,...o},R=t!=null&&t.base?M(t.base,e?.base):e?.base,b=t!=null&&t.variants&&!g(t.variants)?X(x,t.variants):x,z=t!=null&&t.defaultVariants&&!g(t.defaultVariants)?{...t.defaultVariants,...w}:w;!g(y.twMergeConfig)&&!ge(y.twMergeConfig,j)&&(G=!0,j=y.twMergeConfig);let B=g(t?.slots),C=g(v)?{}:{base:M(e?.base,B&&t?.base),...v},V=B?C:U({...t?.slots},g(C)?{base:e?.base}:C),h=f=>{if(g(b)&&g(v)&&B)return O(R,f?.class,f?.className)(y);if(u&&!Array.isArray(u))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof u}`);if(m&&!Array.isArray(m))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof m}`);let re=(r,l,n=[],i)=>{let a=n;if(typeof l=="string")a=a.concat(D(l).split(" ").map(s=>`${r}:${s}`));else if(Array.isArray(l))a=a.concat(l.reduce((s,c)=>s.concat(`${r}:${c}`),[]));else if(typeof l=="object"&&typeof i=="string"){for(let s in l)if(l.hasOwnProperty(s)&&s===i){let c=l[s];if(c&&typeof c=="string"){let d=D(c);a[i]?a[i]=a[i].concat(d.split(" ").map(p=>`${r}:${p}`)):a[i]=d.split(" ").map(p=>`${r}:${p}`)}else Array.isArray(c)&&c.length>0&&(a[i]=c.reduce((d,p)=>d.concat(`${r}:${p}`),[]))}}return a},J=(r,l=b,n=null,i=null)=>{var a;let s=l[r];if(!s||g(s))return null;let c=(a=i?.[r])!=null?a:f?.[r];if(c===null)return null;let d=q(c),p=Array.isArray(y.responsiveVariants)&&y.responsiveVariants.length>0||y.responsiveVariants===!0,N=z?.[r],A=[];if(typeof d=="object"&&p)for(let[E,K]of Object.entries(d)){let se=s[K];if(E==="initial"){N=K;continue}Array.isArray(y.responsiveVariants)&&!y.responsiveVariants.includes(E)||(A=re(E,se,A,n))}let oe=d!=null&&typeof d!="object"?d:q(N),S=s[oe]||s.false;return typeof A=="object"&&typeof n=="string"&&A[n]?U(A,S):A.length>0?(A.push(S),A):S},ne=()=>b?Object.keys(b).map(r=>J(r,b)):null,le=(r,l)=>{if(!b||typeof b!="object")return null;let n=new Array;for(let i in b){let a=J(i,b,r,l),s=r==="base"&&typeof a=="string"?a:a&&a[r];s&&(n[n.length]=s)}return n},L={};for(let r in f)f[r]!==void 0&&(L[r]=f[r]);let P=(r,l)=>{var n;let i=typeof f?.[r]=="object"?{[r]:(n=f[r])==null?void 0:n.initial}:{};return{...z,...L,...i,...l}},W=(r=[],l)=>{let n=[];for(let{class:i,className:a,...s}of r){let c=!0;for(let[d,p]of Object.entries(s)){let N=P(d,l);if(Array.isArray(p)){if(!p.includes(N[d])){c=!1;break}}else if(N[d]!==p){c=!1;break}}c&&(i&&n.push(i),a&&n.push(a))}return n},H=r=>{let l=W(u,r),n=W(t?.compoundVariants,r);return Q(n,l)},ae=r=>{let l=H(r);if(!Array.isArray(l))return l;let n={};for(let i of l)if(typeof i=="string"&&(n.base=O(n.base,i)(y)),typeof i=="object")for(let[a,s]of Object.entries(i))n[a]=O(n[a],s)(y);return n},ie=r=>{if(m.length<1)return null;let l={};for(let{slots:n=[],class:i,className:a,...s}of m){if(!g(s)){let c=!0;for(let d of Object.keys(s)){let p=P(d,r)[d];if(p===void 0||(Array.isArray(s[d])?!s[d].includes(p):s[d]!==p)){c=!1;break}}if(!c)continue}for(let c of n)l[c]=l[c]||[],l[c].push([i,a])}return l};if(!g(v)||!B){let r={};if(typeof V=="object"&&!g(V))for(let l of Object.keys(V))r[l]=n=>{var i,a;return O(V[l],le(l,n),((i=ae(n))!=null?i:[])[l],((a=ie(n))!=null?a:[])[l],n?.class,n?.className)(y)};return r}return O(R,ne(),H(),f?.class,f?.className)(y)},te=()=>{if(!(!b||typeof b!="object"))return Object.keys(b)};return h.variantKeys=te(),h.extend=t,h.base=R,h.slots=V,h.variants=b,h.defaultVariants=z,h.compoundSlots=m,h.compoundVariants=u,h};const Y=me({base:"inline-flex select-none cursor-default items-center gap-2 justify-center rounded-lg py-2 px-3 text-sm outline-offset-2 transition active:transition-none",variants:{variant:{primary:$("bg-accent text-zinc-100","active:contrast-125 hover:contrast-[1.10]","font-semibold","disabled:bg-gray-400 disabled:opacity-30 disabled:dark:bg-gray-800 disabled:dark:text-zinc-50 disabled:cursor-not-allowed","dark:text-neutral-800"),secondary:$("group rounded-full bg-gradient-to-b from-zinc-50/50 to-white/90 px-3 py-2 shadow-lg shadow-zinc-800/5 ring-1 ring-zinc-900/5 backdrop-blur transition dark:from-zinc-900/50 dark:to-zinc-800/90 dark:ring-white/10 dark:hover:ring-white/20","disabled:bg-gray-400 disabled:opacity-30 disabled:dark:bg-gray-800 disabled:dark:text-zinc-50 disabled:cursor-not-allowed")}}}),we=({variant:e="primary",className:o,isLoading:t,href:v,...x})=>{const u=t?he:F.Fragment;return k.jsx(u,{children:v?k.jsx(be,{href:v,className:Y({variant:e,className:o}),...x}):k.jsx(I,{className:Y({variant:e,className:o}),...x})})},he=({children:e})=>k.jsxs("div",{className:"relative",children:[e,k.jsx("div",{className:"absolute inset-0 z-[1] flex items-center justify-center",children:k.jsx("div",{className:"loading loading-spinner h-5 w-5"})})]});export{be as L,I as M,we as S,me as c}; diff --git a/assets/Tableau10-Fgclqpgn.js b/assets/Tableau10-Fgclqpgn.js new file mode 100644 index 00000000000..4223ec34a3b --- /dev/null +++ b/assets/Tableau10-Fgclqpgn.js @@ -0,0 +1 @@ +function o(e){for(var c=e.length/6|0,n=new Array(c),a=0;ae.jsx(r,{...t,alt:"avatar",className:"!m-0"}),MediaImg:t=>e.jsx(r,{...t,fill:!0,unoptimized:!0,alt:"tweet-media",className:"!m-0 object-cover"})};async function f({id:t}){const{Tweet:a}=await m(()=>import("./index.client-I-ehBMM6.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url);return e.jsx("span",{className:"flex justify-center",children:e.jsx(a,{id:t,components:o})})}export{f as default}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index.client-I-ehBMM6.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./viewport-l4O6ZIBM.js","./request-bY2SEZNN.js","./toast-dlXalurG.js","./motion-minimal-epsqYg85.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js","./index-75n5Qq-a.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/alert--DRvt2nk.css b/assets/alert--DRvt2nk.css new file mode 100644 index 00000000000..0722355dd4e --- /dev/null +++ b/assets/alert--DRvt2nk.css @@ -0,0 +1 @@ +._md_1gh2v_1{position:relative}._md_1gh2v_1 kbd{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: .2;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));border-bottom-width:2px;padding-left:.25rem;padding-right:.25rem;font-size:.875rem;line-height:1.25rem;min-height:1.6em;min-width:1.6em;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}._md_1gh2v_1 .spoiler{position:relative;transition:background .5s;text-decoration:none;border-radius:3px;background-color:currentColor;--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity))}:is([data-theme=dark] ._md_1gh2v_1 .spoiler){--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}@media print{._md_1gh2v_1 .spoiler{background-color:transparent!important;text-decoration-line:line-through}}._md_1gh2v_1 .spoiler:hover{background:transparent}._md_1gh2v_1 .spoiler:not(:hover) *{color:inherit!important}._md_1gh2v_1._code-fully_1gh2v_27 pre>code{max-height:unset!important}._md_1gh2v_1 summary{list-style:none}._md_1gh2v_1 summary:hover{opacity:.8}._md_1gh2v_1 summary::marker{display:none}._md_1gh2v_1 details summary:before{content:"+ "}._md_1gh2v_1 details[open] summary:before{content:"- "}._md_1gh2v_1 details[open] summary:before,._md_1gh2v_1 details summary:before{font-weight:800;font-family:var(--mono-font)}._md_1gh2v_1 sub span,._md_1gh2v_1 sup span{border:0!important}._md_1gh2v_1 sub>a,._md_1gh2v_1 sup>a{display:inline-block}._md_1gh2v_1 sub>a:first-letter,._md_1gh2v_1 sup>a:first-letter{display:none}._md_1gh2v_1 li>p{display:inline}._md_1gh2v_1 li{margin:.5em 0}._md_1gh2v_1 a.is-link{word-break:break-all;border-bottom-width:.5px;border-color:currentColor;color:inherit;text-decoration-line:none;transition-duration:.2s}._md_1gh2v_1 a.is-link:hover{--tw-text-opacity: 1;color:var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)))}._md_1gh2v_1 hr{margin-left:auto;margin-right:auto;width:60px}._md_1gh2v_1 input[type=checkbox]{flex-shrink:0;--chkbg: var(--fallback-bc,oklch(var(--bc)/1));--chkfg: var(--fallback-b1,oklch(var(--b1)/1));height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: .2}._md_1gh2v_1 input[type=checkbox]:focus{box-shadow:none}._md_1gh2v_1 input[type=checkbox]:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}._md_1gh2v_1 input[type=checkbox]:checked,._md_1gh2v_1 input[type=checkbox][checked=true],._md_1gh2v_1 input[type=checkbox][aria-checked=true]{background-repeat:no-repeat;animation:_checkmark_1gh2v_1 var(--animation-input, .2s) ease-out;background-color:var(--chkbg);background-image:linear-gradient(-45deg,transparent 65%,var(--chkbg) 65.99%),linear-gradient(45deg,transparent 75%,var(--chkbg) 75.99%),linear-gradient(-45deg,var(--chkbg) 40%,transparent 40.99%),linear-gradient(45deg,var(--chkbg) 30%,var(--chkfg) 30.99%,var(--chkfg) 40%,transparent 40.99%),linear-gradient(-45deg,var(--chkfg) 50%,var(--chkbg) 50.99%)}._md_1gh2v_1 input[type=checkbox]:indeterminate{--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));background-repeat:no-repeat;animation:_checkmark_1gh2v_1 var(--animation-input, .2s) ease-out;background-image:linear-gradient(90deg,transparent 80%,var(--chkbg) 80%),linear-gradient(-90deg,transparent 80%,var(--chkbg) 80%),linear-gradient(0deg,var(--chkbg) 43%,var(--chkfg) 43%,var(--chkfg) 57%,var(--chkbg) 57%)}._md_1gh2v_1 input[type=checkbox]:disabled{cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));opacity:.2}[type=checkbox]._md_1gh2v_1 input[type=checkbox]{height:1rem;width:1rem}._md_1gh2v_1 input[type=checkbox]{margin-top:0;margin-bottom:0;margin-right:.5rem;vertical-align:text-bottom;vertical-align:inherit}._md_1gh2v_1 input[type=checkbox]:-moz-read-only{cursor:not-allowed}._md_1gh2v_1 input[type=checkbox]:disabled,._md_1gh2v_1 input[type=checkbox]:read-only{cursor:not-allowed}._md_1gh2v_1 p{overflow-wrap:break-word}._md_1gh2v_1 mark{--lightness: .3;--highlighted: 1;--highlight: oklch(var(--a) / var(--lightness));background:var(--fallback-a,oklch(var(--a)/1));color:var(--tw-prose-body)}@supports (animation-timeline: view()){._md_1gh2v_1 mark{--highlighted: 0;background:transparent;animation:_highlight_1gh2v_1 steps(1) both;animation-timeline:view();animation-range:entry 100% cover 10%}}._md_1gh2v_1 [data-theme=dark] mark{--lightness: .35}._md_1gh2v_1 mark span{background:linear-gradient(120deg,var(--highlight, lightblue) 50%,transparent 50%) 110% 0 / 200% 100% no-repeat;background-position:calc((1 - var(--highlighted)) * 110%) 0;transition:background-position 1s}@keyframes _highlight_1gh2v_1{to{--highlighted: 1}} diff --git a/assets/alert-fERsLyJJ.js b/assets/alert-fERsLyJJ.js new file mode 100644 index 00000000000..eb864adeb73 --- /dev/null +++ b/assets/alert-fERsLyJJ.js @@ -0,0 +1,25 @@ +import{r as N,j as s,b as jt,g as _t,R as A,E as Et,_ as De}from"./index-ZXl4th35.js";import{a as U,c as ie}from"./motion-minimal-epsqYg85.js";import{F as Fe}from"./FloatPopover-3waN72gb.js";import{b as Ct}from"./env-y9k74Ds6.js";import{m as Nt}from"./spring-hnK4kZop.js";import{b as Mt}from"./visual-element-tlU1-krp.js";import{b as It,m as Tt,a as Lt,F as St,W as ee,I as Rt,G as We}from"./Gallery-QJ8JjQGt.js";import{u as At,L as Z,a as V}from"./LinkCard-AonZnIUQ.js";import{a as Ht}from"./provider-XKwIHqOQ.js";import{F as Ot,S as Pt,i as $t,a as qt,b as Bt,c as Gt,d as Ut,g as Dt,e as Ft,f as Wt,p as ue,h as zt,j as Xt,k as Kt,l as Zt,m as Vt,G as Yt,n as Qt}from"./SocialSourceLink-Fjgxzjol.js";import{a as Jt,L as en}from"./image-fdtjzFNr.js";import{D as ze}from"./use-is-unmounted-dmgvzXDy.js";import{a as tn,l as nn,H as rn}from"./CodeHighlighter-Mm1eioOt.js";import"./request-bY2SEZNN.js";import{u as an}from"./toast-dlXalurG.js";import{C as sn}from"./Collapse-btcJozxA.js";import{u as on}from"./useQuery-3CoUXB5U.js";import{u as cn}from"./use-is-client-6Iy0halI.js";import{u as ln}from"./use-is-dark-IiysOCcN.js";import{M as un}from"./StyledButton-VgryXAte.js";var le={};le._=le._interop_require_default=dn;function dn(e){return e&&e.__esModule?e:{default:e}}var he={};function Xe(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Xe=function(c){return c?n:t})(e)}he._=he._interop_require_wildcard=pn;function pn(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Xe(t);if(n&&n.has(e))return n.get(e);var c={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var u=i?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(c,o,u):c[o]=e[o]}return c.default=e,n&&n.set(e,c),c}var re={exports:{}},je;function fn(){return je||(je=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function n(o,u){for(var f in u)Object.defineProperty(o,f,{enumerable:!0,get:u[f]})}n(t,{requestIdleCallback:function(){return c},cancelIdleCallback:function(){return i}});const c=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(o){let u=Date.now();return self.setTimeout(function(){o({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-u))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(o){return clearTimeout(o)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(re,re.exports)),re.exports}var ge={exports:{}},de={},_e;function mn(){return _e||(_e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HeadManagerContext",{enumerable:!0,get:function(){return c}});const c=le._(N).default.createContext({})}(de)),de}var ae={exports:{}},Ee;function hn(){return Ee||(Ee=1,function(e,t){var n={NEXT_PUBLIC_API_URL:"https://innei.ren/api/v2",NEXT_PUBLIC_GATEWAY_URL:"https://api.innei.ren",NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY:"pk_test_aaaaaaaaaaaaaaaaaxxxxxx",CLERK_SECRET_KEY:"sk_test_",NEXT_PUBLIC_CLERK_SIGN_IN_URL:"/sign-in",NEXT_PUBLIC_CLERK_SIGN_UP_URL:"/sign-up",NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL:"/",NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL:"/",OPENAI_API_KEY:"",TMDB_API_KEY:"",S3_ACCESS_KEY:"",S3_SECRET_KEY:""};Object.defineProperty(t,"__esModule",{value:!0});function c(k,b){for(var g in b)Object.defineProperty(k,g,{enumerable:!0,get:b[g]})}c(t,{DOMAttributeNames:function(){return i},isEqualNode:function(){return u},default:function(){return h}});const i={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(k){let{type:b,props:g}=k;const j=document.createElement(b);for(const C in g){if(!g.hasOwnProperty(C)||C==="children"||C==="dangerouslySetInnerHTML"||g[C]===void 0)continue;const E=i[C]||C.toLowerCase();b==="script"&&(E==="async"||E==="defer"||E==="noModule")?j[E]=!!g[C]:j.setAttribute(E,g[C])}const{children:v,dangerouslySetInnerHTML:I}=g;return I?j.innerHTML=I.__html||"":v&&(j.textContent=typeof v=="string"?v:Array.isArray(v)?v.join(""):""),j}function u(k,b){if(k instanceof HTMLElement&&b instanceof HTMLElement){const g=b.getAttribute("nonce");if(g&&!k.getAttribute("nonce")){const j=b.cloneNode(!0);return j.setAttribute("nonce",""),j.nonce=g,g===k.nonce&&k.isEqualNode(j)}}return k.isEqualNode(b)}let f;n.__NEXT_STRICT_NEXT_HEAD?f=(k,b)=>{const g=document.querySelector("head");if(!g)return;const j=g.querySelectorAll('meta[name="next-head"]')||[],v=[];if(k==="meta"){const E=g.querySelector("meta[charset]");E&&v.push(E)}for(let E=0;E{for(let r=0,a=v.length;r{var r;const a=E.previousSibling;if(a&&a.getAttribute("name")==="next-head"){var l;(l=E.parentNode)==null||l.removeChild(a)}(r=E.parentNode)==null||r.removeChild(E)}),C.forEach(E=>{var r;const a=document.createElement("meta");a.name="next-head",a.content="1",((r=E.tagName)==null?void 0:r.toLowerCase())==="meta"&&E.getAttribute("charset")||g.appendChild(a),g.appendChild(E)})}:f=(k,b)=>{const g=document.getElementsByTagName("head")[0],j=g.querySelector("meta[name=next-head-count]"),v=Number(j.content),I=[];for(let r=0,a=j.previousElementSibling;r{for(let a=0,l=I.length;a{var a;return(a=r.parentNode)==null?void 0:a.removeChild(r)}),E.forEach(r=>g.insertBefore(r,j)),j.content=(v-I.length+E.length).toString()};function h(){return{mountedInstances:new Set,updateHead:k=>{const b={};k.forEach(v=>{if(v.type==="link"&&v.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+v.props["data-href"]+'"]'))return;v.props.href=v.props["data-href"],v.props["data-href"]=void 0}const I=b[v.type]||[];I.push(v),b[v.type]=I});const g=b.title?b.title[0]:null;let j="";if(g){const{children:v}=g.props;j=typeof v=="string"?v:Array.isArray(v)?v.join(""):""}j!==document.title&&(document.title=j),["meta","base","link","style","script"].forEach(v=>{f(v,b[v]||[])})}}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(ae,ae.exports)),ae.exports}(function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0});function n(d,m){for(var x in m)Object.defineProperty(d,x,{enumerable:!0,get:m[x]})}n(t,{handleClientScriptLoad:function(){return E},initScriptLoader:function(){return l},default:function(){return y}});const c=le,i=he,o=s,u=c._(jt),f=i._(N),h=mn(),k=hn(),b=fn(),g=new Map,j=new Set,v=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],I=d=>{if(u.default.preinit){d.forEach(m=>{u.default.preinit(m,{as:"style"})});return}if(typeof window<"u"){let m=document.head;d.forEach(x=>{let M=document.createElement("link");M.type="text/css",M.rel="stylesheet",M.href=x,m.appendChild(M)})}},C=d=>{const{src:m,id:x,onLoad:M=()=>{},onReady:L=null,dangerouslySetInnerHTML:_,children:T="",strategy:R="afterInteractive",onError:S,stylesheets:F}=d,q=x||m;if(q&&j.has(q))return;if(g.has(m)){j.add(q),g.get(m).then(M,S);return}const W=()=>{L&&L(),j.add(q)},O=document.createElement("script"),ne=new Promise((B,X)=>{O.addEventListener("load",function(G){B(),M&&M.call(this,G),W()}),O.addEventListener("error",function(G){X(G)})}).catch(function(B){S&&S(B)});_?(O.innerHTML=_.__html||"",W()):T?(O.textContent=typeof T=="string"?T:Array.isArray(T)?T.join(""):"",W()):m&&(O.src=m,g.set(m,ne));for(const[B,X]of Object.entries(d)){if(X===void 0||v.includes(B))continue;const G=k.DOMAttributeNames[B]||B.toLowerCase();O.setAttribute(G,X)}R==="worker"&&O.setAttribute("type","text/partytown"),O.setAttribute("data-nscript",R),F&&I(F),document.body.appendChild(O)};function E(d){const{strategy:m="afterInteractive"}=d;m==="lazyOnload"?window.addEventListener("load",()=>{(0,b.requestIdleCallback)(()=>C(d))}):C(d)}function r(d){document.readyState==="complete"?(0,b.requestIdleCallback)(()=>C(d)):window.addEventListener("load",()=>{(0,b.requestIdleCallback)(()=>C(d))})}function a(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(m=>{const x=m.id||m.getAttribute("src");j.add(x)})}function l(d){d.forEach(E),a()}function p(d){const{id:m,src:x="",onLoad:M=()=>{},onReady:L=null,strategy:_="afterInteractive",onError:T,stylesheets:R,...S}=d,{updateScripts:F,scripts:q,getIsSsr:W,appDir:O,nonce:ne}=(0,f.useContext)(h.HeadManagerContext),B=(0,f.useRef)(!1);(0,f.useEffect)(()=>{const G=m||x;B.current||(L&&G&&j.has(G)&&L(),B.current=!0)},[L,m,x]);const X=(0,f.useRef)(!1);if((0,f.useEffect)(()=>{X.current||(_==="afterInteractive"?C(d):_==="lazyOnload"&&r(d),X.current=!0)},[d,_]),(_==="beforeInteractive"||_==="worker")&&(F?(q[_]=(q[_]||[]).concat([{id:m,src:x,onLoad:M,onReady:L,onError:T,...S}]),F(q)):W&&W()?j.add(m||x):W&&!W()&&C(d)),O){if(R&&R.forEach(G=>{u.default.preinit(G,{as:"style"})}),_==="beforeInteractive")return x?(u.default.preload(x,S.integrity?{as:"script",integrity:S.integrity}:{as:"script"}),(0,o.jsx)("script",{nonce:ne,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([x,{...S,id:m}])+")"}})):(S.dangerouslySetInnerHTML&&(S.children=S.dangerouslySetInnerHTML.__html,delete S.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:ne,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...S,id:m}])+")"}}));_==="afterInteractive"&&x&&u.default.preload(x,S.integrity?{as:"script",integrity:S.integrity}:{as:"script"})}return null}Object.defineProperty(p,"__nextScript",{value:!0});const y=p;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(ge,ge.exports);var gn=ge.exports;function yn(e){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:[s.jsx("path",{fill:"currentColor",d:"M5.7 6.71a.996.996 0 0 0 0 1.41L9.58 12L5.7 15.88a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41L7.12 6.71c-.39-.39-1.03-.39-1.42 0z"}),s.jsx("path",{fill:"currentColor",d:"M12.29 6.71a.996.996 0 0 0 0 1.41L16.17 12l-3.88 3.88a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41L13.7 6.7c-.38-.38-1.02-.38-1.41.01z"})]})}var xn=gn;const bn=_t(xn);function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t",lt:"<",nbsp:" ",quot:"“"},vn=["style","script"],wn=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,jn=/mailto:/i,_n=/\n{2,}$/,Ke=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,En=/^ *> ?/gm,Cn=/^ {2,}\n/,Nn=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Ze=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Ve=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Mn=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,In=/^(?:\n *)*\n/,Tn=/\r\n?/g,Ln=/^\[\^([^\]]+)](:.*)\n/,Sn=/^\[\^([^\]]+)]/,Rn=/\f/g,An=/^\s*?\[(x|\s)\]/,Ye=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Qe=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,ye=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,Hn=/&([a-zA-Z]+);/g,Je=/^)/,On=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,xe=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,Pn=/^\{.*\}$/,$n=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,qn=/^<([^ >]+@[^ >]+)>/,Bn=/^<([^ >]+:\/[^ >]+)>/,Gn=/-([a-z])?/gi,et=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,Un=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Dn=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Fn=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Wn=/(\[|\])/g,zn=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Xn=/\t/g,Kn=/^ *\| */,Zn=/(^ *\||\| *$)/g,Vn=/ *$/,Yn=/^ *:-+: *$/,Qn=/^ *:-+ *$/,Jn=/^ *-+: *$/,er=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,tr=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,nr=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,rr=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,ar=/^\\([^0-9A-Za-z\s])/,sr=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,or=/(^\n+|\n+$|\s+$)/g,cr=/^([ \t]*)/,lr=/\\([^\\])/g,$=1,Ie=/ *\n+$/,ir=/(?:^|\n)( *)$/,ke="(?:\\d+\\.)",ve="(?:[*+-])";function tt(e){return"( *)("+(e===$?ke:ve)+") +"}const nt=tt($),rt=tt(2);function at(e){return new RegExp("^"+(e===$?nt:rt))}const ur=at($),dr=at(2);function st(e){return new RegExp("^"+(e===$?nt:rt)+"[^\\n]*(?:\\n(?!\\1"+(e===$?ke:ve)+" )[^\\n]*)*(\\n|$)","gm")}const ot=st($),ct=st(2);function lt(e){const t=e===$?ke:ve;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const it=lt($),ut=lt(2);function Te(e,t){const n=t===$,c=n?it:ut,i=n?ot:ct,o=n?ur:dr;return{match(u,f,h){if(!h)return null;const k=ir.exec(h);return k&&(f.list||!f.inline&&!f.simple)?c.exec(u=k[1]+u):null},order:w.HIGH,parse(u,f,h){const k=n?+u[2]:void 0,b=u[0].replace(_n,` +`).match(i);let g=!1;return{items:b?.map(function(j,v){var I;const C=(I=o.exec(j))==null?void 0:I[0].length,E=new RegExp("^ {1,"+C+"}","gm"),r=j.replace(E,"").replace(o,""),a=v===b.length-1,l=r.indexOf(` + +`)!==-1||a&&g;g=l;const p=h?.inline,y=h?.list;let d;h&&(h.list=!0),l?(h.inline=!1,d=r.replace(Ie,` + +`)):(h.inline=!0,d=r.replace(Ie,""));const m=f(d,h);return h.inline=p,h.list=y,m}),ordered:n,start:k}},react:(u,f,h)=>e(u.ordered?"ol":"ul",{key:h.key,start:u.start},u.items.map(function(k,b){return e("li",{key:b},f(k,h))}))}}const pr=/^\[([^\]]*)]\( *([^) ]*) *"?([^)"]*)?"?\)/,fr=/^!\[([^\]]*)]\( *([^) ]*) *"?([^)"]*)?"?\)/,dt=[Ke,Ze,Ve,Ye,Qe,Je,et,ot,it,ct,ut],mr=[...dt,/^[^\n]+(?: \n|\n{2,})/,ye,xe];function hr(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/ /gi,"-").toLowerCase()}function gr(e){return Jn.test(e)?"right":Yn.test(e)?"center":Qn.test(e)?"left":null}function Le(e,t,n){const c=n.inTable;n.inTable=!0;const i=t(e.trim(),n);n.inTable=c;const o=[[]];return i.forEach(function(u,f){u.type==="tableSeparator"?f!==0&&f!==i.length-1&&o.push([]):(u.type!=="text"||i[f+1]!=null&&i[f+1].type!=="tableSeparator"||(u.content=u.content.replace(Vn,"")),o[o.length-1].push(u))}),o}function yr(e,t,n){n.inline=!0;const c=Le(e[1],t,n),i=e[2].replace(Zn,"").split("|").map(gr),o=function(u,f,h){return u.trim().split(` +`).map(function(k){return Le(k,f,h)})}(e[3],t,n);return n.inline=!1,{align:i,cells:o,header:c,type:"table"}}function Se(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function z(e){return function(t,n){return n.inline?e.exec(t):null}}function H(e){return function(t,n){return n.inline||n.simple?e.exec(t):null}}function P(e){return function(t,n){return n.inline||n.simple?null:e.exec(t)}}function J(e){return function(t){return e.exec(t)}}function xr(e,t,n){if(t.inline||t.simple||n&&!n.endsWith(` +`))return null;let c="";e.split(` +`).every(o=>!dt.some(u=>u.test(o))&&(c+=o+` +`,o.trim()));const i=c.trimEnd();return i==""?null:[c,i]}function K(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return""}catch{return""}return e}function Re(e){return e.replace(lr,"$1")}function oe(e,t,n){const c=n.inline||!1,i=n.simple||!1;n.inline=!0,n.simple=!0;const o=e(t,n);return n.inline=c,n.simple=i,o}function br(e,t,n){const c=n.inline||!1,i=n.simple||!1;n.inline=!1,n.simple=!0;const o=e(t,n);return n.inline=c,n.simple=i,o}function kr(e,t,n){return n.inline=!1,e(t+` + +`,n)}const Y=(e,t,n)=>({content:oe(t,e[1],n)});function pe(){return{}}function fe(){return null}function vr(...e){return e.filter(Boolean).join(" ")}function me(e,t,n){let c=e;const i=t.split(".");for(;i.length&&(c=c[i[0]],c!==void 0);)i.shift();return c||n}var w;function pt(e,t={}){var n,c;t.overrides=t.overrides||{},t.slugify=t.slugify||hr,t.namedCodesToUnicode=t.namedCodesToUnicode?D({},Me,t.namedCodesToUnicode):Me,t.additionalParserRules=t.additionalParserRules||{};const i=t.createElement||A.createElement;function o(r,a,...l){const{overrides:p={}}=t||{},y=me(p,`${r}.props`,{});return i(function(d,m){const x=me(m,d);return x?typeof x=="function"||typeof x=="object"&&"render"in x?x:me(m,`${d}.component`,d):d}(r,p),D({},a,y,{className:vr(a?.className,y?.className)||void 0}),...l)}function u(r){let a=!1;t.forceInline?a=!0:t.forceBlock||(a=zn.test(r)===!1);const l=I(v(a?r:`${r.replace(or,"")} + +`,{inline:a}));if(t.wrapper===null)return l;const p=t.wrapper||(a?"span":"div");let y;if(l.length>1||t.forceWrapper)y=l;else{if(l.length===1)return y=l[0],typeof y=="string"?o("span",{key:"outer"},y):y;y=null}return A.createElement(p,{key:"outer"},y)}function f(r){const a=r.match(wn);return a?a.reduce(function(l,p,y){const d=p.indexOf("=");if(d!==-1){const m=function(_){return _.indexOf("-")!==-1&&_.match(On)===null&&(_=_.replace(Gn,function(T,R){return R.toUpperCase()})),_}(p.slice(0,d)).trim(),x=function(_){return _?(Ce.test(_.charAt(0))&&(_=_.substr(1)),Ce.test(_.charAt(_.length-1))&&(_=_.substr(0,_.length-1)),_):""}(p.slice(d+1).trim()),M=Ne[m]||m,L=l[M]=function(_,T){return _==="style"?T.split(/;\s?/).reduce(function(R,S){const F=S.slice(0,S.indexOf(":"));return R[F.replace(/(-[a-z])/g,q=>q[1].toUpperCase())]=S.slice(F.length+1).trim(),R},{}):_==="href"?K(T):(T.match(Pn)&&(T=T.slice(1,T.length-1)),T==="true"||T!=="false"&&T)}(m,x);typeof L=="string"&&(ye.test(L)||xe.test(L))&&(l[M]=A.cloneElement(u(L.trim()),{key:y}))}else p!=="style"&&(l[Ne[p]||p]=!0);return l},{}):void 0}const h=[],k=new Map,b={},g=D({blockQuote:{match:P(Ke),order:w.HIGH,parse:(r,a,l)=>({content:a(r[0].replace(En,""),l)}),react:(r,a,l)=>o("blockquote",{key:l.key},a(r.content,l))},breakLine:{match:J(Cn),order:w.HIGH,parse:pe,react:(r,a,l)=>o("br",{key:l.key})},breakThematic:{match:P(Nn),order:w.HIGH,parse:pe,react:(r,a,l)=>o("hr",{key:l.key})},codeBlock:{match:P(Ve),order:w.MAX,parse:r=>({content:r[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}),react:(r,a,l)=>o("pre",{key:l.key},o("code",D({},r.attrs,{className:r.lang?`lang-${r.lang}`:""}),r.content))},codeFenced:{match:P(Ze),order:w.MAX,parse:r=>({attrs:f(r[3]||""),content:r[4],lang:r[2]||void 0,type:"codeBlock"})},codeInline:{match:H(Mn),order:w.LOW,parse:r=>({content:r[2]}),react:(r,a,l)=>o("code",{key:l.key},r.content)},footnote:{match:P(Ln),order:w.MAX,parse(r){const a={footnote:r[2],identifier:r[1]};return h.push(a),k.set(a.identifier,a),{}},react:fe},footnoteReference:{match:z(Sn),order:w.HIGH,parse:r=>({content:r[1],target:`#${t.slugify(r[1])}`,footnoteMap:k}),react:(r,a,l)=>o("a",{key:l.key,href:K(r.target)},o("sup",{key:l.key},r.content))},gfmTask:{match:z(An),order:w.HIGH,parse:r=>({completed:r[1].toLowerCase()==="x"}),react:(r,a,l)=>o("input",{checked:r.completed,key:l.key,readOnly:!0,type:"checkbox"})},heading:{match:P(Ye),order:w.HIGH,parse:(r,a,l)=>({content:oe(a,r[2],l),id:t.slugify(r[2]),level:r[1].length}),react:(r,a,l)=>(r.tag=`h${r.level}`,o(r.tag,{id:r.id,key:l.key},a(r.content,l)))},headingSetext:{match:P(Qe),order:w.MAX,parse:(r,a,l)=>({content:oe(a,r[1],l),level:r[2]==="="?1:2,type:"heading"})},htmlComment:{match:J(Je),order:w.HIGH,parse:()=>({}),react:fe},image:{match:H(fr),order:w.HIGH,parse:r=>({alt:r[1],target:Re(r[2]),title:r[3]}),react:(r,a,l)=>o("img",{key:l.key,alt:r.alt||void 0,title:r.title||void 0,src:K(r.target)})},link:{match:z(pr),order:w.LOW,parse:(r,a,l)=>({content:br(a,r[1],l),target:Re(r[2]),title:r[3]}),react:(r,a,l)=>o("a",{key:l.key,href:K(r.target),title:r.title},a(r.content,l))},linkAngleBraceStyleDetector:{match:z(Bn),order:w.MAX,parse:r=>({content:[{content:r[1],type:"text"}],target:r[1],type:"link"})},linkBareUrlDetector:{match:(r,a)=>a.inAnchor?null:z($n)(r,a),order:w.MAX,parse:r=>({content:[{content:r[1],type:"text"}],target:r[1],title:void 0,type:"link"})},linkMailtoDetector:{match:z(qn),order:w.MAX,parse(r){let a=r[1],l=r[1];return jn.test(l)||(l="mailto:"+l),{content:[{content:a.replace("mailto:",""),type:"text"}],target:l,type:"link"}}},orderedList:Te(o,$),unorderedList:Te(o,2),newlineCoalescer:{match:P(In),order:w.LOW,parse:pe,react:()=>` +`},paragraph:{match:xr,order:w.LOW,parse:Y,react:(r,a,l)=>o("p",{key:l.key},a(r.content,l))},ref:{match:z(Un),order:w.MAX,parse:r=>(b[r[1]]={target:r[2],title:r[4]},{}),react:fe},refImage:{match:H(Dn),order:w.MAX,parse:r=>({alt:r[1]||void 0,ref:r[2]}),react:(r,a,l)=>o("img",{key:l.key,alt:r.alt,src:K(b[r.ref].target),title:b[r.ref].title})},refLink:{match:z(Fn),order:w.MAX,parse:(r,a,l)=>({content:a(r[1],l),fallbackContent:a(r[0].replace(Wn,"\\$1"),l),ref:r[2]}),react:(r,a,l)=>b[r.ref]?o("a",{key:l.key,href:K(b[r.ref].target),title:b[r.ref].title},a(r.content,l)):o("span",{key:l.key},a(r.fallbackContent,l))},table:{match:P(et),order:w.HIGH,parse:yr,react:(r,a,l)=>o("table",{key:l.key},o("thead",null,o("tr",null,r.header.map(function(p,y){return o("th",{key:y,style:Se(r,y)},a(p,l))}))),o("tbody",null,r.cells.map(function(p,y){return o("tr",{key:y},p.map(function(d,m){return o("td",{key:m,style:Se(r,m)},a(d,l))}))})))},tableSeparator:{match:function(r,a){return a.inTable?Kn.exec(r):null},order:w.HIGH,parse:function(){return{type:"tableSeparator"}},react:()=>" | "},text:{match:J(sr),order:w.MIN,parse:r=>({content:r[0].replace(Hn,(a,l)=>{var p;return((p=t.namedCodesToUnicode)==null?void 0:p[l])||a})}),react:r=>r.content},textBolded:{match:H(er),order:w.MED,parse:(r,a,l)=>({content:a(r[2],l)}),react:(r,a,l)=>o("strong",{key:l.key},a(r.content,l))},textEmphasized:{match:H(tr),order:w.LOW,parse:(r,a,l)=>({content:a(r[2],l)}),react:(r,a,l)=>o("em",{key:l.key},a(r.content,l))},textEscaped:{match:H(ar),order:w.HIGH,parse:r=>({content:r[1],type:"text"})},textMarked:{match:H(nr),order:w.LOW,parse:Y,react:(r,a,l)=>o("mark",{key:l.key},a(r.t,l))},textStrikethroughed:{match:H(rr),order:w.LOW,parse:Y,react:(r,a,l)=>o("del",{key:l.key},a(r.content,l))}},t.additionalParserRules);(n=t.allowedTypes)!=null&&n.length?Object.keys(g).forEach(r=>{var a;(a=t.allowedTypes)!=null&&a.includes(r)||delete g[r]}):(c=t.disabledTypes)!=null&&c.length&&t.disabledTypes.forEach(r=>{delete g[r]}),t.disableParsingRawHTML!==!0&&(g.htmlBlock={match:J(ye),order:w.HIGH,parse(r,a,l){var p;const y=r[3].match(cr);if(!y)return console.error("markdown-to-jsx: HTML_BLOCK_ELEMENT_R regex matched but no result"),null;const[,d]=y,m=new RegExp(`^${d}`,"gm"),x=r[3].replace(m,""),M=(L=x,mr.some(S=>S.test(L))?kr:oe);var L;const _=r[1].toLowerCase(),T=((p=t.doNotProcessHtmlElements)!=null?p:vn).indexOf(_)!==-1;l.inAnchor=l.inAnchor||_==="a";const R=T?r[3]:M(a,x,l);return l.inAnchor=!1,{attrs:f(r[2]),content:R,noInnerParse:T,tag:T?_:r[1]}},react:(r,a,l)=>o(r.tag,D({key:l.key},r.attrs),r.noInnerParse?r.content:a(r.content,l))},g.htmlSelfClosing={match:J(xe),order:w.HIGH,parse:r=>({attrs:f(r[2]||""),tag:r[1]}),react:(r,a,l)=>o(r.tag,D({},r.attrs,{key:l.key}))});const j=t.extendsRules;if(j)for(const r in j)g[r]&&Object.assign(g[r],D({},j[r]));const v=function(r){let a=Object.keys(r);function l(p,y){const d=[];let m="";for(;p;){let x=0;for(;x{let{children:t,options:n}=e,c=function(i,o){if(i==null)return{};var u,f,h={},k=Object.keys(i);for(f=0;f=0||(h[u]=i[u]);return h}(e,kn);return A.cloneElement(pt(t,n),c)};function ft(e){return s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 28 28",...e,children:s.jsx("path",{fill:"currentColor",d:"M14 10.55a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0v-5a.75.75 0 0 1 .75-.75Zm0 10a1 1 0 1 0 0-2a1 1 0 0 0 0 2ZM12.039 5.207c.86-1.53 3.062-1.53 3.922 0l8.685 15.44c.844 1.5-.24 3.353-1.96 3.353H5.314c-1.721 0-2.805-1.853-1.961-3.353l8.685-15.44Zm2.615.735a.75.75 0 0 0-1.308 0l-8.685 15.44a.75.75 0 0 0 .654 1.118h17.37a.75.75 0 0 0 .654-1.118l-8.685-15.44Z"})})}function mt(e){return s.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",...e,children:s.jsx("path",{fill:"currentColor",d:"M10 6a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0v-5A.5.5 0 0 1 10 6Zm0 8.5a.75.75 0 1 0 0-1.5a.75.75 0 0 0 0 1.5ZM9.723 2.084a.5.5 0 0 1 .554 0a15.05 15.05 0 0 0 6.294 2.421A.5.5 0 0 1 17 5v4.5c0 3.891-2.307 6.73-6.82 8.467a.5.5 0 0 1-.36 0C5.308 16.23 3 13.39 3 9.5V5a.5.5 0 0 1 .43-.495a15.05 15.05 0 0 0 6.293-2.421Zm-.124 1.262A15.969 15.969 0 0 1 4 5.428V9.5c0 3.392 1.968 5.863 6 7.463c4.032-1.6 6-4.071 6-7.463V5.428a15.969 15.969 0 0 1-5.6-2.082l-.4-.249l-.4.249Z"})})}function wr(e){return s.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 36 36",...e,children:[s.jsx("path",{fill:"currentColor",d:"M13.72 27.69L3.29 17.27a1 1 0 0 1 1.41-1.41l9 9L31.29 7.29A1 1 0 0 1 32.7 8.7Z",className:"clr-i-outline clr-i-outline-path-1"}),s.jsx("path",{fill:"none",d:"M0 0h36v36H0z"})]})}function ht(e){return s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256",...e,children:s.jsx("path",{fill:"currentColor",d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88Zm16-40a8 8 0 0 1-8 8a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 8 8Zm-32-92a12 12 0 1 1 12 12a12 12 0 0 1-12-12Z"})})}function gt(e,t){let n;return typeof e=="function"?n=N.lazy(()=>e().then(c=>c.default?c:{default:Object.values(c)[0]})):n=e,function(c){A.createElement(Et,null,A.createElement(N.Suspense,{fallback:A.createElement("div",null,"Loading...")},A.createElement(n,c)))}}const jr="main-markdown-render",Ba=[],_r={},yt=e=>{const t=document.documentElement.scrollTop||document.body.scrollTop,n=()=>{c.stop()},c=Mt({keyframes:[t+1,e],autoplay:!0,...Nt,onPlay(){window.addEventListener("wheel",n),window.addEventListener("touchmove",n)},onUpdate(i){i<=0&&c.stop(),window.scrollTo(0,i)}});return c.then(()=>{window.removeEventListener("wheel",n),window.removeEventListener("touchmove",n)}),c},Ga=()=>yt(0),we=(e,t=40)=>{const c=Er(e)+t;return yt(c)},Er=e=>{let t=0;for(;e;)t+=e.offsetTop,e=e.offsetParent;return t},te=N.memo(({href:e,children:t,title:n,text:c})=>{const i=Ht(),o=N.useCallback(u=>{const f=new URL(location.href),h=new URL(e);if(h.host===f.host)switch(u.preventDefault(),h.pathname.split("/").filter(Boolean)[0]){case"posts":case"notes":case"category":{i.push(h.pathname);break}default:window.open(h.pathname)}},[e,i]);return s.jsx(Fe,{as:"span",wrapperClassName:"!inline",type:"tooltip",TriggerComponent:N.useCallback(()=>s.jsxs("span",{className:"inline items-center",children:[s.jsx(Ot,{href:e}),s.jsx("a",{className:"shiro-link--underline",href:e,target:"_blank",onClick:o,title:n,rel:"noreferrer",children:t}),s.jsx("i",{className:"icon-[mingcute--arrow-right-up-line] translate-y-[2px] opacity-70"})]}),[o,t,e,n]),children:s.jsx("a",{href:e,target:"_blank",rel:"noreferrer",children:s.jsx("span",{children:e})})})});te.displayName="MLink";const Cr="_md_1gh2v_1",Nr="_checkmark_1gh2v_1",Mr="_highlight_1gh2v_1",Ae={md:Cr,"code-fully":"_code-fully_1gh2v_27",checkmark:Nr,highlight:Mr},He={warning:ft,info:ht,error:mt,success:wr},Oe={warning:"bg-amber-50 dark:bg-amber-300",info:"bg-blue-50 dark:bg-blue-300",success:"bg-green-50 dark:bg-green-300",error:"bg-red-50 dark:bg-red-300"},Pe={warning:"border-amber-300",info:"border-blue-300",success:"border-green-300",error:"border-red-300"},$e={warning:"text-amber-500",info:"text-blue-500",success:"text-green-500",error:"text-red-500"},qe=e=>{const t=e.type=="warn"?"warning":e.type,n=He[t]||He.info,{placement:c="center",showIcon:i=!0}=e;return s.jsxs("div",{className:U("flex flex-col items-center gap-4 rounded-md border p-6 text-neutral-900 dark:bg-opacity-10 dark:text-[#c4c4c4] md:flex md:flex-row",Oe[t]||Oe.info,Pe[t]||Pe.info,c=="center"?"justify-center":"justify-start",e.className),children:[i&&s.jsx(n,{className:U("flex-shrink-0 text-3xl md:mr-2 md:self-start md:text-left",$e[t]||$e.info)}),e.message?s.jsx("span",{className:"leading-[1.8]",children:e.message}):e.children]})},Ir=["mp4","webm","ogg","avi","mov","flv","wmv","mkv"],Tr=e=>Ir.includes(e),xt=e=>{const{src:t,alt:n}=e,c={...e};c.alt=n?.replace(/^[¡!]/,"");const{w:i}=Lt(),o=t.split(".").pop();if(Tr(o)){const u=n?.replace(/^[¡!]/,"");return s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx("video",{src:t,controls:!0,playsInline:!0,autoPlay:!1}),u&&s.jsxs("p",{className:"mt-1 flex flex-col items-center justify-center text-sm",children:[s.jsx(ze,{className:"w-[80px] opacity-80"}),s.jsx("span",{className:"opacity-90",children:u})]})]})}return s.jsx(St,{...c,containerWidth:i})},Lr=e=>s.jsx(ee,{children:s.jsx("div",{className:"relative flex min-w-0 flex-grow",children:s.jsx(xt,{...e})})}),Sr=({imagesSrc:e,Wrapper:t,height:n=1})=>s.jsx("div",{className:"relative",style:{paddingBottom:`${n*100}%`},children:s.jsx(t,{className:"absolute inset-0",children:e.map(c=>s.jsx(bt,{src:c},c))})}),bt=N.memo(({src:e})=>{const{accent:t,height:n,width:c}=It(e)||{},i=Jt(e,600),o=N.useRef(null),u=c&&n?c>n:!0,f=n&&c?Rt:"img";return s.jsx("div",{className:"relative flex h-full w-full overflow-hidden rounded-md bg-cover bg-center center",style:{backgroundColor:t},children:s.jsx(en,{offset:30,children:s.jsx(f,{loading:"lazy",alt:"",height:n,width:c,src:i,ref:o,className:U("!mx-0 !my-0 max-w-max object-cover",u?"h-full":"w-full"),"data-zoom-src":e,onClick:()=>{o.current&&Tt(o.current).open()}})})})});bt.displayName="GridZoomImage";const Be=e=>{const t=/^!\[((?:\[[^\]]*\]|[^[\]]|\](?=[^[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,n=e.split(` +`),c=[];for(const i of n){if(!i.startsWith("!")&&Rr(i)){c.push({url:i,name:i});continue}const o=t.exec(i);if(!o)continue;const[,u,f,h]=o;c.push({name:u,url:f,footnote:h})}return c},Rr=e=>{try{new URL(e)}catch{return!1}return!0},Ar=["gallery","banner","carousel","warn","error","danger","info","success","warning","note","grid"].join("|"),Hr={match:e=>{const t=/^\s*::: *(?.*?) *(?:{(?.*?)})? *\n(?[\s\S]+?)\s*::: *(?:\n *)+\n?/.exec(e);if(!t)return null;const n=t.groups.type;return!n||!n.match(Ar)?null:t},order:w.MED,parse(e){const{groups:t}=e;return{node:{...t}}},react(e,t,n){const{type:c,params:i,content:o}=e.node;switch(c){case"carousel":case"gallery":return s.jsx(We,{images:Be(o)},n?.key);case"warn":case"error":case"danger":case"info":case"note":case"success":case"warning":{const u={warning:"warn",danger:"error",note:"info"};return s.jsx(qe,{type:u[c]||c,className:"my-4",children:s.jsx(ee,{children:s.jsx(Q,{value:o,allowsScript:!0,className:"w-full [&>p:first-child]:mt-0"})})},n?.key)}case"banner":{if(!i)break;return s.jsx(qe,{type:i,className:"my-4",children:s.jsx(ee,{children:s.jsx(Q,{value:o,allowsScript:!0,className:"w-full [&>p:first-child]:mt-0"})})},n?.key)}case"grid":{const{cols:u,gap:f=8,rows:h,type:k="normal"}=Or(i),b=({children:g,className:j})=>s.jsx("div",{className:ie("relative grid w-full",j),style:{gridTemplateColumns:u?`repeat(${u}, minmax(0, 1fr))`:void 0,gap:`${f}px`,gridTemplateRows:h?`repeat(${h}, minmax(0, 1fr))`:void 0},children:g});switch(k){case"normal":return s.jsx(b,{children:s.jsx(Q,{overrides:{img:Lr},value:o,allowsScript:!0,removeWrapper:!0,className:"w-full [&>p:first-child]:mt-0"})},n?.key);case"images":{const g=Be(o).map(j=>j.url);return s.jsx(Sr,{height:h&&u?+h/+u:1,imagesSrc:g,Wrapper:b},n.key)}default:return null}}}return s.jsx("div",{children:s.jsx("p",{children:o})},n?.key)}};function Or(e){const t=/(\w+)=(\w+)/g;let n;const c={};for(;(n=t.exec(e))!==null;){const i=n[1],o=n[2];c[i]=o}return c}const Pr={match:H(/^\+\+((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)\+\+/),order:w.LOW,parse:Y,react(e,t,n){return s.jsx("ins",{children:t(e.content,n)},n?.key)}},$r=A.useInsertionEffect||A.useEffect,qr={match:H(/^\$\s{0,}((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)\s{0,}\$/),order:w.MED,parse(e){return{type:"kateX",katex:e[1]}},react(e,t,n){return s.jsx(kt,{children:e.katex},n?.key)}},kt=e=>{const{children:t,mode:n}=e,[c,i]=N.useState(""),o=n==="display",u=!1;return $r(()=>{tn("https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css"),nn("https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js").then(()=>{const f=window.katex.renderToString(t,{displayMode:o,throwOnError:u});i(f)})},[]),s.jsx("span",{dangerouslySetInnerHTML:{__html:c}})},Br={match:P(new RegExp(`^\\s*\\$\\$ *(?[\\s\\S]+?)\\s*\\$\\$ *(?: + *)+ +?`)),order:w.LOW,parse(e){return{type:"kateXBlock",groups:e.groups}},react(e,t,n){return s.jsx("div",{children:s.jsx(kt,{mode:"display",children:e.groups.content})},n?.key)}},Gr={match:H(/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/),order:w.LOW,parse:Y,react(e,t,n){return s.jsx("mark",{className:"rounded-md",children:s.jsx("span",{className:"px-1",children:t(e.content,n)})},n?.key)}},Ur={match:H(/^(\[(?.*?)\])?\{((?(GH)|(TW)|(TG))@(?\w+\b))\}\s?(?!\[.*?\])/),order:w.MIN,parse(e){const{groups:t}=e;return t?{content:{...t},type:"mention"}:{}},react(e,t,n){const{content:c}=e;if(!c)return null;const{prefix:i,name:o,displayName:u}=c;return o?s.jsx(Pt,{name:u||o,source:i},n?.key):null}},Dr={match:H(/^\|\|((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)\|\|/),order:w.LOW,parse:Y,react(e,t,n){return s.jsx("del",{className:"spoiler",title:"你知道的太多了",children:t(e.content,n)},n?.key)}},Fr=e=>{const[t,n]=N.useState(!1),c=e.children[0],i=an();N.useLayoutEffect(()=>{i&&n(!0)},[i]);const o=N.useCallback(()=>{n(u=>!u)},[]);return s.jsxs("div",{className:"my-2",children:[s.jsxs("button",{className:"mb-2 flex cursor-pointer items-center pl-2",onClick:o,children:[s.jsx("i",{className:U("icon-[mingcute--align-arrow-down-line] mr-2 transform transition-transform duration-500",!t&&"-rotate-90"),children:s.jsx(yn,{})}),c]}),s.jsx(sn,{withBackground:!0,isOpened:t,className:"my-2",children:s.jsx(ee,{children:s.jsx("div",{className:U(t?"opacity-100":"opacity-0","transition-opacity duration-500"),children:e.children.slice(1)})})})]})};function Wr(e){return s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"m6.8 13l2.9 2.9q.275.275.275.7t-.275.7q-.275.275-.7.275t-.7-.275l-4.6-4.6q-.15-.15-.213-.325T3.426 12q0-.2.063-.375T3.7 11.3l4.6-4.6q.275-.275.7-.275t.7.275q.275.275.275.7t-.275.7L6.8 11H19V8q0-.425.288-.713T20 7q.425 0 .713.288T21 8v3q0 .825-.588 1.413T19 13H6.8Z"})})}const ce=e=>`footnote-ref-${e}`,be=e=>`footnote-${e}`;function vt(e){const t=document.getElementById(e);t?(t.style.color="#ef4444",setTimeout(()=>{t.style.color=""},5e3)):console.log(`Element with id fnref:${e} not found.`)}const zr=e=>s.jsxs("div",{className:"children:my-2 children:leading-6 children:text-base mt-4",children:[s.jsx(ze,{}),A.Children.map(e.children,t=>{if(A.isValidElement(t)){const n=t.props.id;return s.jsx("div",{id:`${be(n)}`,children:s.jsxs("div",{className:"inline",children:[A.cloneElement(t,{className:"inline"}),s.jsxs("a",{href:`#${ce(n)}`,onClick:c=>{c.preventDefault(),we(document.getElementById(`${ce(n)}`),-window.innerHeight/2),vt(`${ce(n)}`)},className:"ml-2 inline-flex items-center",children:[s.jsx(Wr,{}),s.jsxs("span",{className:"sr-only",children:["返回",n]})]})]})})}else return null})]}),Xr="别着急,坐和放宽",Kr=({loadingText:e,className:t,useDefaultLoadingText:n=!1})=>{const c=n?Xr:e;return s.jsxs("div",{"data-hide-print":!0,className:ie("my-20 flex flex-col center",t),children:[s.jsx("span",{className:"loading loading-ball loading-lg"}),!!c&&s.jsx("span",{className:"mt-6 block",children:c})]})},Zr={".js":"javascript",".ts":"typescript",".jsx":"javascript",".tsx":"typescript",".md":"markdown",".css":"css",".scss":"scss",".html":"html",".json":"json",".yml":"yaml",".yaml":"yaml",".toml":"toml",".xml":"xml",".sh":"bash",".bash":"bash",".zsh":"bash",".fish":"bash",".ps1":"powershell",".bat":"batch",".cmd":"batch",".go":"go",".py":"python",".rb":"ruby",".java":"java",".c":"c",".cpp":"cpp",".cs":"csharp",".rs":"rust",".swift":"swift",".kt":"kotlin",".clj":"clojure",".lua":"lua",".sql":"sql",".graphql":"graphql",".groovy":"groovy",".scala":"scala",".pl":"perl",".r":"r",".dart":"dart",".elm":"elm",".erl":"erlang",".ex":"elixir",".h":"c",".hpp":"cpp",".hxx":"cpp",".hh":"cpp",".h++":"cpp",".m":"objectivec",".mm":"objectivec",".vue":"vue"},wt=N.memo(({owner:e,path:t,repo:n,refType:c})=>{const i=t.slice(t.lastIndexOf(".")),o=Zr[i]||"text",{data:u,isLoading:f,isError:h}=on({queryKey:["github-preview",e,n,t,c],queryFn:async()=>fetch(`https://cdn.jsdelivr.net/gh/${e}/${n}${c?`@${c}`:""}/${t}`).then(async k=>k.text())});return f?s.jsx(Kr,{className:"h-[50vh]",loadingText:"Loading GitHub File Preview..."}):h?s.jsxs("pre",{className:"flex h-[50vh] flex-wrap rounded-md border border-uk-orange-light center",children:[s.jsx("code",{children:"Loading GitHub File Preview Failed:"}),s.jsx("br",{}),s.jsxs("code",{children:[e,"/",n,"/",t]})]}):u?s.jsx("div",{className:"h-[50vh] w-full overflow-auto",children:s.jsx(rn,{content:u,lang:o})}):null});wt.displayName="EmbedGithubFile";const Vr=gt(()=>De(()=>import("./Tweet-LwOuXCB3.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)),Yr=({href:e,children:t})=>{const n=N.useMemo(()=>{try{return new URL(e)}catch{return null}},[e]),c=N.useMemo(()=>s.jsx("p",{children:s.jsx(te,{href:e,children:t??s.jsx("span",{children:e})})}),[t,e]),i=At("tmdb");if(!n)return c;switch(!0){case Ft(n):return s.jsx(Qr,{url:n,href:e,fallbackElement:c});case Ut(n):{const o=Dt(n);return s.jsx(Vr,{id:o})}case Gt(n):{const o=n.searchParams.get("v");return s.jsx(Ge,{children:s.jsx("iframe",{src:`https://www.youtube.com/embed/${o}`,className:"absolute inset-0 h-full w-full border-0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"YouTube video player"})})}case Bt(n):return s.jsx(Ge,{children:s.jsx("iframe",{className:"absolute inset-0 h-full w-full rounded-md border-0",src:`https://codesandbox.io/embed/${n.pathname.slice(2)}?fontsize=14&hidenavigation=1&theme=dark${n.search}`})});case qt(n):return s.jsx(Z,{fallbackUrl:n.toString(),source:V.Self,id:n.pathname.slice(1)});case $t(n):if(i)return s.jsx(Z,{fallbackUrl:n.toString(),source:V.TMDB,id:n.pathname.slice(1)})}return c},Ge=({children:e,ratio:t=58})=>s.jsx("div",{className:"mockup-window my-16 bg-base-300",children:s.jsx("div",{className:"flex justify-center px-4",children:s.jsx("div",{className:"relative my-8 h-0 w-full",style:{paddingBottom:`${t}%`},children:e})})}),Qr=e=>{const{url:t,href:n=t.href,fallbackElement:c}=e;switch(!0){case Qt(t):{const{owner:i,repo:o}=ue(t);return s.jsx(Z,{id:`${i}/${o}`,source:V.GHRepo})}case Zt(t):{const{owner:i,id:o}=Vt(t);return s.jsxs(s.Fragment,{children:[s.jsx("iframe",{src:`https://gist.github.com/${i}/${o}.pibb`,className:"h-[300px] w-full overflow-auto border-0"}),s.jsxs("a",{className:"mt-2 flex space-x-2 center",href:n,target:"_blank",rel:"noreferrer",children:[s.jsx(Yt,{}),s.jsx("span",{children:n})]})]})}case Xt(t):{const{owner:i,repo:o,pr:u}=Kt(t);return s.jsx(Z,{fallbackUrl:t.toString(),id:`${i}/${o}/${u}`,source:V.GHPr})}case zt(t):{const{owner:i,repo:o,id:u}=ue(t);return s.jsxs(s.Fragment,{children:[s.jsx("p",{children:s.jsx(te,{href:n,children:n})}),s.jsx(Z,{fallbackUrl:t.toString(),id:`${i}/${o}/commit/${u}`,source:V.GHCommit})]})}case Wt(t):{const{owner:i,repo:o,afterTypeString:u}=ue(t),f=u.split("/"),h=f[0],k=h?f.slice(1).join("/"):u;return s.jsxs("div",{className:"flex w-full flex-col items-center",children:[s.jsx(wt,{owner:i,repo:o,path:k,refType:h}),s.jsx("div",{className:"mt-4",children:s.jsx(te,{href:n,children:n})})]})}}return c},Jr=e=>{const{children:t,...n}=e,{className:c,...i}=n;if(A.Children.count(t)===1){const o=A.Children.toArray(t)[0];if(ea(o))return t;if(ta(o)){const u=o?.props?.children;return s.jsx(Yr,{href:o?.props?.href,children:u})}}return s.jsx("p",{className:U("paragraph",c),...i,children:t})},ea=e=>!!(typeof e=="object"&&e?.props?.src),ta=e=>!!(typeof e=="object"&&e?.props?.href&&e?.props?.children?.length===1),na=e=>{const{className:t,...n}=e;return s.jsx("table",{...n,className:ie("table table-zebra table-pin-rows",t)})},ra=e=>{const{children:t,className:n,...c}=e;return s.jsx("thead",{className:n,...c,children:t})},aa=e=>{const{children:t,...n}=e;return s.jsx("tr",{...n,children:t})},sa=e=>{const{children:t,...n}=e;return s.jsx("tbody",{...n,children:t})},oa=e=>{const{children:t,...n}=e;return s.jsx(ee,{as:"td",...n,children:t})},ca=e=>{const{children:t,id:n,level:c}=e,i=N.useId(),o=cn(),u=`${i}${n}`;return N.createElement(`h${c}`,{id:u,className:"group flex items-center","data-markdown-heading":!0},null,s.jsxs(s.Fragment,{children:[s.jsx("span",{children:t}),o&&s.jsx("span",{className:"ml-2 inline-flex cursor-pointer select-none text-accent opacity-0 transition-opacity duration-200 center group-hover:opacity-100",role:"button",tabIndex:0,"aria-hidden":!0,onClick:()=>{const f=history.state;history.replaceState(f,"",`#${u}`),we(document.getElementById(u),-100)},children:s.jsx("i",{className:"icon-[mingcute--hashtag-line]"})})]}))},Ue=(e,t,n)=>{const c=Math.floor(Math.random()*(t[1]-t[0]+1)+t[0]),i=Math.floor(Math.random()*(e[1]-e[0]+1)+e[0]),o=c>30?c-30:0,u=i<80?i+20:100;return{accent:`hsl(${n}, ${c}%, ${i}%)`,background:`hsl(${n}, ${o}%, ${u}%)`}};function la(e){let t=0;for(let c=0;c{const t=e??Math.floor(Math.random()*361),n=(t+180)%360,c=Ue([40,70],[70,90],t),i=Ue([20,50],[70,90],n);return{light:{accent:c.accent,background:c.background},dark:{accent:i.accent,background:i.background}}};function ua(e,t){if(!/^hsl\((\d{1,3}),\s*([\d.]+)%,\s*([\d.]+)%\)$/.test(e))throw new Error("Invalid HSL color value");return`${e.slice(0,-1)}, ${t})`.replace("hsl","hsla")}const da=N.memo(function(t){const{text:n,count:c,passProps:i,onClick:o,className:u}=t,{dark:f,light:h}=N.useMemo(()=>ia(la(n)),[n]),b=ln()?f.background:h.background,g=o?un:"span";return s.jsxs(g,{onClick:()=>{o?.(i)},className:ie("inline-block space-x-1 rounded-md px-3 py-2",u),style:{backgroundColor:ua(b,.7)},children:[s.jsx("span",{children:n}),!!c&&s.jsxs("span",{className:"self-end text-xs",children:["(",c,")"]})]},n)}),pa=({children:e})=>typeof e?.[0]!="string"?null:s.jsx(da,{text:e[0]}),fa=gt(()=>De(()=>import("./CodeBlock-sDEtIOcO.js"),__vite__mapDeps([14,1,2,15,16,17,18,3,4,5,6,7,8,9,10,11,12,13,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]),import.meta.url).then(e=>e.CodeBlockRender)),Q=N.memo(e=>{const{value:t,renderers:n,style:c,wrapperProps:i={},codeBlockFully:o=!1,className:u,overrides:f,extendsRules:h,additionalParserRules:k,as:b="div",allowsScript:g=!1,removeWrapper:j=!1,...v}=e,I=N.useRef(null),C=N.useMemo(()=>{const E=t||e.children;return!E||typeof E!="string"?null:pt(E,{wrapper:null,overrides:{p:Jr,thead:ra,tr:aa,tbody:sa,td:oa,table:na,footer:zr,details:Fr,img:xt,tag:pa,LinkCard:Z,Gallery:We,script:g?bn:void 0,...f},extendsRules:{heading:{react(a,l,p){return s.jsx(ca,{id:a.id,level:a.level,children:l(a.content,p)},p?.key)}},gfmTask:{react(a,l,p){return s.jsx("input",{type:"checkbox",checked:a.completed,readOnly:!0},p?.key)}},link:{react(a,l,p){const{target:y,title:d}=a;let m="";for(const x of a.content)x.type==="text"&&(m+=x.content);return s.jsx(te,{href:K(y),title:d,text:m,children:l(a.content,p)},p?.key)}},footnoteReference:{react(a,l,p){const{footnoteMap:y,content:d}=a,m=y.get(d),x=(()=>{try{const M=new URL(m?.footnote?.replace(": ",""));return!(M.hostname===window.location.hostname)&&!Ct?void 0:M.pathname.slice(1)}catch{return}})();return s.jsxs(N.Fragment,{children:[s.jsx(Fe,{wrapperClassName:"inline",as:"span",TriggerComponent:()=>s.jsx("a",{href:`${be(d)}`,onClick:M=>{M.preventDefault();const L=be(d);we(document.getElementById(L),-window.innerHeight/2),vt(L)},children:s.jsx("sup",{id:`${ce(d)}`,children:`[^${d}]`})}),type:"tooltip",children:m?.footnote?.substring(1)}),x&&s.jsx(Z,{id:x,source:V.MixSpace})]},p?.key)}},codeFenced:{parse(a){return{content:a[4],lang:a[2]||void 0,type:"codeBlock",attrs:a[3]}}},codeBlock:{react(a,l,p){return s.jsx(fa,{content:a.content,lang:a.lang,attrs:a?.attrs},p?.key)}},codeInline:{react(a,l,p){return s.jsx("code",{className:"rounded-md bg-zinc-200 px-2 font-mono dark:bg-neutral-800",children:a.content},p?.key)}},list:{react(a,l,p){const y=a.ordered?"ol":"ul";return s.jsx(y,{start:a.start,children:a.items.map((d,m)=>{let x="";return d[0]?.type=="gfmTask"&&(x="list-none flex items-center"),s.jsx("li",{className:x,children:l(d,p)},m)})},p?.key)}},...h,...n},additionalParserRules:{spoilder:Dr,mention:Ur,mark:Gr,ins:Pr,kateX:qr,kateXBlock:Br,container:Hr,alerts:xa,...k},...v})},[t,e.children,g,f,h,n,k,v]);return j?s.jsx(N.Suspense,{children:C}):s.jsx(N.Suspense,{children:s.jsx(b,{style:c,...i,ref:I,className:U(Ae.md,o?Ae["code-fully"]:void 0,u),children:C})})});Q.displayName="Markdown";const Ua=e=>{const{wrapperProps:t=_r}=e;return s.jsx(Q,{as:"main",...e,wrapperProps:N.useMemo(()=>({...t,id:jr}),[t])})},ma={NOTE:"text-blue-500 dark:text-blue-400",IMPORTANT:"text-accent",WARNING:"text-amber-500 dark:text-amber-400"},ha={NOTE:"border-blue-500 dark:border-blue-400",IMPORTANT:"border-accent",WARNING:"border-amber-500 dark:border-amber-400"},se={NOTE:ht,IMPORTANT:ft,WARNING:mt},ga=({type:e})=>{const t=e||"NOTE",n=se[t]||se.NOTE,c=t[0]+t.toLowerCase().slice(1);return s.jsxs("span",{className:U("text-semibold mb-1 inline-flex items-center",ma[t]),children:[s.jsx(n,{className:U("flex-shrink-0 text-3xl md:mr-2 md:self-start md:text-left",se[t]||se.NOTE)}),c]})},ya=/^(> \[!(?NOTE|IMPORTANT|WARNING)\].*?)(?(?:\n *>.*?)*)(?=\n{2,}|$)/,xa={match:P(ya),order:w.HIGH,parse(e){return{raw:e[0],parsed:{...e.groups}}},react(e,t,n){const{type:c,body:i}=e.parsed,o=i.replace(/^> */gm,"");return s.jsxs("blockquote",{className:U(ha[c],"not-italic"),children:[s.jsx(ga,{type:c}),s.jsx("br",{}),s.jsx(Q,{allowsScript:!0,className:"not-prose w-full [&>p:first-child]:mt-0",children:o})]},n.key)}};export{ga as A,qe as B,Kr as L,Q as M,bn as S,da as T,qa as U,Ua as a,te as b,la as c,gt as d,yt as e,ia as g,Ba as n,Ga as s}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./Tweet-LwOuXCB3.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./Gallery-QJ8JjQGt.js","./image-fdtjzFNr.js","./motion-minimal-epsqYg85.js","./lodash-lrAbnKsZ.js","./request-bY2SEZNN.js","./toast-dlXalurG.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js","./viewport-l4O6ZIBM.js","./use-is-unmounted-dmgvzXDy.js","./Gallery-cCMf-PmV.css","./CodeBlock-sDEtIOcO.js","./ExcalidrawLoading-Id2ozXoI.js","./react-error-boundary.esm-e5Yyzoa4.js","./Mermaid-gWIn58QC.js","./use-is-dark-IiysOCcN.js","./CodeHighlighter-Mm1eioOt.js","./CodeHighlighter-hcFZa2QO.css","./utils-JJoYnXdw.js","./FloatPopover-3waN72gb.js","./spring-hnK4kZop.js","./use-event-callback-ULpIcVk8.js","./use-is-client-6Iy0halI.js","./index-LA8z4iWc.js","./visual-element-tlU1-krp.js","./LinkCard-AonZnIUQ.js","./provider-XKwIHqOQ.js","./dom-NuJWIaAq.js","./LinkCard-YJIkKfPg.css","./SocialSourceLink-Fjgxzjol.js","./Collapse-btcJozxA.js","./useQuery-3CoUXB5U.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/arc-O3u_vsTK.js b/assets/arc-O3u_vsTK.js new file mode 100644 index 00000000000..97c3f6c0141 --- /dev/null +++ b/assets/arc-O3u_vsTK.js @@ -0,0 +1 @@ +import{w as ln,c as J}from"./path-aUcfwwLI.js";import{D as rn,E as N,F as D,G as an,H as y,I as on,J as z,K as _,L as un,M as t,N as sn,O as tn,P as fn}from"./mermaid.core-wTs8WatG.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function mn(l){return l.endAngle}function pn(l){return l&&l.padAngle}function dn(l,h,O,E,v,A,K,r){var q=O-l,i=E-h,n=K-v,m=r-A,a=m*q-n*i;if(!(a*au*u+M*M&&(G=w,H=d),{cx:G,cy:H,x01:-n,y01:-m,x11:G*(v/T-1),y11:H*(v/T-1)}}function vn(){var l=cn,h=yn,O=J(0),E=null,v=gn,A=mn,K=pn,r=null,q=ln(i);function i(){var n,m,a=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=A.apply(this,arguments)-an,L=un(c-f),o=c>f;if(r||(r=n=q()),sy))r.moveTo(0,0);else if(L>on-y)r.moveTo(s*N(f),s*D(f)),r.arc(0,0,s,f,c,!o),a>y&&(r.moveTo(a*N(c),a*D(c)),r.arc(0,0,a,c,f,o));else{var p=f,g=c,R=f,T=c,P=L,F=L,G=K.apply(this,arguments)/2,H=G>y&&(E?+E.apply(this,arguments):z(a*a+s*s)),w=_(un(s-a)/2,+O.apply(this,arguments)),d=w,x=w,e,u;if(H>y){var M=sn(H/a*D(G)),B=sn(H/s*D(G));(P-=M*2)>y?(M*=o?1:-1,R+=M,T-=M):(P=0,R=T=(f+c)/2),(F-=B*2)>y?(B*=o?1:-1,p+=B,g-=B):(F=0,p=g=(f+c)/2)}var S=s*N(p),j=s*D(p),C=a*N(T),Q=a*D(T);if(w>y){var U=s*N(g),V=s*D(g),X=a*N(R),Y=a*D(R),I;if(Ly?x>y?(e=W(X,Y,S,j,s,x,o),u=W(U,V,C,Q,s,x,o),r.moveTo(e.cx+e.x01,e.cy+e.y01),xy)||!(P>y)?r.lineTo(C,Q):d>y?(e=W(C,Q,U,V,a,-d,o),u=W(S,j,X,Y,a,-d,o),r.lineTo(e.cx+e.x01,e.cy+e.y01),d"u"&&(w.yylloc={});var J=w.yylloc;t.push(J);var Le=w.options&&w.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var P;return P=u.pop()||w.lex()||C,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=s.symbols_[P]||P),P}for(var I,M,z,Q,W={},X,B,ae,G;;){if(M=i[i.length-1],this.defaultActions[M]?z=this.defaultActions[M]:((I===null||typeof I>"u")&&(I=me()),z=m[M]&&m[M][I]),typeof z>"u"||!z.length||!z[0]){var $="";G=[];for(X in m[M])this.terminals_[X]&&X>F&&G.push("'"+this.terminals_[X]+"'");w.showPosition?$="Parse error on line "+(R+1)+`: +`+w.showPosition()+` +Expecting `+G.join(", ")+", got '"+(this.terminals_[I]||I)+"'":$="Parse error on line "+(R+1)+": Unexpected "+(I==C?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError($,{text:w.match,token:this.terminals_[I]||I,line:w.yylineno,loc:J,expected:G})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+I);switch(z[0]){case 1:i.push(I),h.push(w.yytext),t.push(w.yylloc),i.push(z[1]),I=null,Y=w.yyleng,r=w.yytext,R=w.yylineno,J=w.yylloc;break;case 2:if(B=this.productions_[z[1]][1],W.$=h[h.length-B],W._$={first_line:t[t.length-(B||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(B||1)].first_column,last_column:t[t.length-1].last_column},Le&&(W._$.range=[t[t.length-(B||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(W,[r,Y,R,K.yy,z[1],h,t].concat(Se)),typeof Q<"u")return Q;B&&(i=i.slice(0,-1*B*2),h=h.slice(0,-1*B),t=t.slice(0,-1*B)),i.push(this.productions_[z[1]][0]),h.push(W.$),t.push(W._$),ae=m[i[i.length-2]][i[i.length-1]],i.push(ae);break;case 3:return!0}}return!0}},A=function(){var D={EOF:1,parseError:function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},setInput:function(l,s){return this.yy=s||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var s=l.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},unput:function(l){var s=l.length,i=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===u.length?this.yylloc.first_column:0)+u[u.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(l){this.unput(this.match.slice(l))},pastInput:function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var l=this.pastInput(),s=new Array(l.length+1).join("-");return l+this.upcomingInput()+` +`+s+"^"},test_match:function(l,s){var i,u,h;if(this.options.backtrack_lexer&&(h={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(h.yylloc.range=this.yylloc.range.slice(0))),u=l[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(l[0].length),this.matched+=l[0],i=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var t in h)this[t]=h[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,s,i,u;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),t=0;ts[0].length)){if(s=i,u=t,this.options.backtrack_lexer){if(l=this.test_match(i,h[t]),l!==!1)return l;if(this._backtrack){s=!1;continue}else return!1}else if(!this.options.flex)break}return s?(l=this.test_match(s,h[u]),l!==!1?l:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var s=this.next();return s||this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){var s=this.conditionStack.length-1;return s>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(s){return s=this.conditionStack.length-1-Math.abs(s||0),s>=0?this.conditionStack[s]:"INITIAL"},pushState:function(s){this.begin(s)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(s,i,u,h){switch(u){case 0:return 10;case 1:return s.getLogger().debug("Found space-block"),31;case 2:return s.getLogger().debug("Found nl-block"),31;case 3:return s.getLogger().debug("Found space-block"),29;case 4:s.getLogger().debug(".",i.yytext);break;case 5:s.getLogger().debug("_",i.yytext);break;case 6:return 5;case 7:return i.yytext=-1,28;case 8:return i.yytext=i.yytext.replace(/columns\s+/,""),s.getLogger().debug("COLUMNS (LEX)",i.yytext),28;case 9:this.pushState("md_string");break;case 10:return"MD_STR";case 11:this.popState();break;case 12:this.pushState("string");break;case 13:s.getLogger().debug("LEX: POPPING STR:",i.yytext),this.popState();break;case 14:return s.getLogger().debug("LEX: STR end:",i.yytext),"STR";case 15:return i.yytext=i.yytext.replace(/space\:/,""),s.getLogger().debug("SPACE NUM (LEX)",i.yytext),21;case 16:return i.yytext="1",s.getLogger().debug("COLUMNS (LEX)",i.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 35:this.popState();break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:return this.popState(),s.getLogger().debug("Lex: (("),"NODE_DEND";case 39:return this.popState(),s.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),s.getLogger().debug("Lex: ))"),"NODE_DEND";case 41:return this.popState(),s.getLogger().debug("Lex: (("),"NODE_DEND";case 42:return this.popState(),s.getLogger().debug("Lex: (("),"NODE_DEND";case 43:return this.popState(),s.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),s.getLogger().debug("Lex: -)"),"NODE_DEND";case 45:return this.popState(),s.getLogger().debug("Lex: (("),"NODE_DEND";case 46:return this.popState(),s.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),s.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),s.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:return this.popState(),s.getLogger().debug("Lex: /]"),"NODE_DEND";case 50:return this.popState(),s.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),s.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),s.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),s.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),s.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return s.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return s.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return s.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:return s.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return s.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 60:return s.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 61:return s.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 62:return s.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 63:return s.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return s.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 65:return s.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 66:return this.pushState("NODE"),36;case 67:return this.pushState("NODE"),36;case 68:return this.pushState("NODE"),36;case 69:return this.pushState("NODE"),36;case 70:return this.pushState("NODE"),36;case 71:return this.pushState("NODE"),36;case 72:return this.pushState("NODE"),36;case 73:return s.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),s.getLogger().debug("LEX ARR START"),38;case 75:return s.getLogger().debug("Lex: NODE_ID",i.yytext),32;case 76:return s.getLogger().debug("Lex: EOF",i.yytext),8;case 77:this.pushState("md_string");break;case 78:this.pushState("md_string");break;case 79:return"NODE_DESCR";case 80:this.popState();break;case 81:s.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:s.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return s.getLogger().debug("LEX: NODE_DESCR:",i.yytext),"NODE_DESCR";case 84:s.getLogger().debug("LEX POPPING"),this.popState();break;case 85:s.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (right): dir:",i.yytext),"DIR";case 87:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (left):",i.yytext),"DIR";case 88:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (x):",i.yytext),"DIR";case 89:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (y):",i.yytext),"DIR";case 90:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (up):",i.yytext),"DIR";case 91:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (down):",i.yytext),"DIR";case 92:return i.yytext="]>",s.getLogger().debug("Lex (ARROW_DIR end):",i.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return s.getLogger().debug("Lex: LINK","#"+i.yytext+"#"),15;case 94:return s.getLogger().debug("Lex: LINK",i.yytext),15;case 95:return s.getLogger().debug("Lex: LINK",i.yytext),15;case 96:return s.getLogger().debug("Lex: LINK",i.yytext),15;case 97:return s.getLogger().debug("Lex: START_LINK",i.yytext),this.pushState("LLABEL"),16;case 98:return s.getLogger().debug("Lex: START_LINK",i.yytext),this.pushState("LLABEL"),16;case 99:return s.getLogger().debug("Lex: START_LINK",i.yytext),this.pushState("LLABEL"),16;case 100:this.pushState("md_string");break;case 101:return s.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),s.getLogger().debug("Lex: LINK","#"+i.yytext+"#"),15;case 103:return this.popState(),s.getLogger().debug("Lex: LINK",i.yytext),15;case 104:return this.popState(),s.getLogger().debug("Lex: LINK",i.yytext),15;case 105:return s.getLogger().debug("Lex: COLON",i.yytext),i.yytext=i.yytext.slice(1),27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};return D}();L.lexer=A;function k(){this.yy={}}return k.prototype=L,L.Parser=k,new k}();ee.parser=ee;const Be=ee;let O={},ie=[],V={};const ce="color",ue="fill",Pe="bgFill",ge=",";let j={};const Fe=function(e,a=""){j[e]===void 0&&(j[e]={id:e,styles:[],textStyles:[]});const d=j[e];a?.split(ge).forEach(c=>{const n=c.replace(/([^;]*);/,"$1").trim();if(c.match(ce)){const o=n.replace(ue,Pe).replace(ce,ue);d.textStyles.push(o)}d.styles.push(n)})},Ke=function(e,a=""){const d=O[e];a!=null&&(d.styles=a.split(ge))},Me=function(e,a){e.split(",").forEach(function(d){let c=O[d];if(c===void 0){const n=d.trim();O[n]={id:n,type:"na",children:[]},c=O[n]}c.classes||(c.classes=[]),c.classes.push(a)})},pe=(e,a)=>{const d=e.flat(),c=[];for(const n of d){if(n.type==="classDef"){Fe(n.id,n.css);continue}if(n.type==="applyClass"){Me(n.id,n?.styleClass||"");continue}if(n.type==="applyStyles"){n?.stylesStr&&Ke(n.id,n?.stylesStr);continue}if(n.type==="column-setting")a.columns=n.columns||-1;else if(n.type==="edge")V[n.id]?V[n.id]++:V[n.id]=1,n.id=V[n.id]+"-"+n.id,ie.push(n);else{n.label||(n.type==="composite"?n.label="":n.label=n.id);const g=!O[n.id];if(g?O[n.id]=n:(n.type!=="na"&&(O[n.id].type=n.type),n.label!==n.id&&(O[n.id].label=n.label)),n.children&&pe(n.children,n),n.type==="space"){const o=n.width||1;for(let f=0;f{S.debug("Clear called"),Ee(),U={id:"root",type:"composite",children:[],columns:-1},O={root:U},re=[],j={},ie=[],V={}};function We(e){switch(S.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return S.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function Ve(e){switch(S.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}function je(e){switch(e.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}}let de=0;const Ue=()=>(de++,"id-"+Math.random().toString(36).substr(2,12)+"-"+de),Xe=e=>{U.children=e,pe(e,U),re=U.children},Ge=e=>{const a=O[e];return a?a.columns?a.columns:a.children?a.children.length:-1:-1},He=()=>[...Object.values(O)],qe=()=>re||[],Ze=()=>ie,Je=e=>O[e],Qe=e=>{O[e.id]=e},$e=()=>console,et=function(){return j},tt={getConfig:()=>se().block,typeStr2Type:We,edgeTypeStr2Type:Ve,edgeStrToEdgeData:je,getLogger:$e,getBlocksFlat:He,getBlocks:qe,getEdges:Ze,setHierarchy:Xe,getBlock:Je,setBlock:Qe,getColumns:Ge,getClasses:et,clear:Ye,generateId:Ue},st=tt,q=(e,a)=>{const d=Ae,c=d(e,"r"),n=d(e,"g"),g=d(e,"b");return we(c,n,g,a)},it=e=>`.label { + font-family: ${e.fontFamily}; + color: ${e.nodeTextColor||e.textColor}; + } + .cluster-label text { + fill: ${e.titleColor}; + } + .cluster-label span,p { + color: ${e.titleColor}; + } + + + + .label text,span,p { + fill: ${e.nodeTextColor||e.textColor}; + color: ${e.nodeTextColor||e.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + .flowchart-label text { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${e.arrowheadColor}; + } + + .edgePath .path { + stroke: ${e.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${e.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${e.edgeLabelBackground}; + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${q(e.edgeLabelBackground,.5)}; + // background-color: + } + + .node .cluster { + // fill: ${q(e.mainBkg,.5)}; + fill: ${q(e.clusterBkg,.5)}; + stroke: ${q(e.clusterBorder,.2)}; + box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; + stroke-width: 1px; + } + + .cluster text { + fill: ${e.titleColor}; + } + + .cluster span,p { + color: ${e.titleColor}; + } + /* .cluster div { + color: ${e.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${e.fontFamily}; + font-size: 12px; + background: ${e.tertiaryColor}; + border: 1px solid ${e.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; + } +`,rt=it;function fe(e,a,d=!1){var c,n,g;const o=e;let f="default";(((c=o?.classes)==null?void 0:c.length)||0)>0&&(f=(o?.classes||[]).join(" ")),f=f+" flowchart-label";let b=0,p="",x;switch(o.type){case"round":b=5,p="rect";break;case"composite":b=0,p="composite",x=0;break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"block_arrow":p="block_arrow";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"rect_left_inv_arrow":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;case"doublecircle":p="doublecircle";break;default:p="rect"}const y=De(o?.styles||[]),T=o.label,v=o.size||{width:0,height:0,x:0,y:0};return{labelStyle:y.labelStyle,shape:p,labelText:T,rx:b,ry:b,class:f,style:y.style,id:o.id,directions:o.directions,width:v.width,height:v.height,x:v.x,y:v.y,positioned:d,intersect:void 0,type:o.type,padding:x??(((g=(n=se())==null?void 0:n.block)==null?void 0:g.padding)||0)}}async function nt(e,a,d){const c=fe(a,d,!1);if(c.type==="group")return;const n=await he(e,c),g=n.node().getBBox(),o=d.getBlock(c.id);o.size={width:g.width,height:g.height,x:0,y:0,node:n},d.setBlock(o),n.remove()}async function at(e,a,d){const c=fe(a,d,!0);d.getBlock(c.id).type!=="space"&&(await he(e,c),a.intersect=c?.intersect,Te(c))}async function ne(e,a,d,c){for(const n of a)await c(e,n,d),n.children&&await ne(e,n.children,d,c)}async function ot(e,a,d){await ne(e,a,d,nt)}async function lt(e,a,d){await ne(e,a,d,at)}async function ct(e,a,d,c,n){const g=new ze({multigraph:!0,compound:!0});g.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(const o of d)o.size&&g.setNode(o.id,{width:o.size.width,height:o.size.height,intersect:o.intersect});for(const o of a)if(o.start&&o.end){const f=c.getBlock(o.start),b=c.getBlock(o.end);if(f?.size&&b?.size){const p=f.size,x=b.size,y=[{x:p.x,y:p.y},{x:p.x+(x.x-p.x)/2,y:p.y+(x.y-p.y)/2},{x:x.x,y:x.y}];await ke(e,{v:o.start,w:o.end,name:o.id},{...o,arrowTypeEnd:o.arrowTypeEnd,arrowTypeStart:o.arrowTypeStart,points:y,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",g,n),o.label&&(await Ie(e,{...o,label:o.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:o.arrowTypeEnd,arrowTypeStart:o.arrowTypeStart,points:y,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),await Oe({...o,x:y[1].x,y:y[1].y},{originalPath:y}))}}}const _=((le=(oe=_e())==null?void 0:oe.block)==null?void 0:le.padding)||8;function ut(e,a){if(e===0||!Number.isInteger(e))throw new Error("Columns must be an integer !== 0.");if(a<0||!Number.isInteger(a))throw new Error("Position must be a non-negative integer."+a);if(e<0)return{px:a,py:0};if(e===1)return{px:0,py:a};const d=a%e,c=Math.floor(a/e);return{px:d,py:c}}const dt=e=>{let a=0,d=0;for(const c of e.children){const{width:n,height:g,x:o,y:f}=c.size||{width:0,height:0,x:0,y:0};S.debug("getMaxChildSize abc95 child:",c.id,"width:",n,"height:",g,"x:",o,"y:",f,c.type),c.type!=="space"&&(n>a&&(a=n/(e.widthInColumns||1)),g>d&&(d=g))}return{width:a,height:d}};function te(e,a,d=0,c=0){var n,g,o,f,b,p,x,y,T,v,N;S.debug("setBlockSizes abc95 (start)",e.id,(n=e?.size)==null?void 0:n.x,"block width =",e?.size,"sieblingWidth",d),(g=e?.size)!=null&&g.width||(e.size={width:d,height:c,x:0,y:0});let E=0,L=0;if(((o=e.children)==null?void 0:o.length)>0){for(const h of e.children)te(h,a);const A=dt(e);E=A.width,L=A.height,S.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",E,L);for(const h of e.children)h.size&&(S.debug(`abc95 Setting size of children of ${e.id} id=${h.id} ${E} ${L} ${h.size}`),h.size.width=E*(h.widthInColumns||1)+_*((h.widthInColumns||1)-1),h.size.height=L,h.size.x=0,h.size.y=0,S.debug(`abc95 updating size of ${e.id} children child:${h.id} maxWidth:${E} maxHeight:${L}`));for(const h of e.children)te(h,a,E,L);const k=e.columns||-1;let D=0;for(const h of e.children)D+=h.widthInColumns||1;let l=e.children.length;k>0&&k0?Math.min(e.children.length,k):e.children.length;if(h>0){const t=(i-h*_-_)/h;S.debug("abc95 (growing to fit) width",e.id,i,(x=e.size)==null?void 0:x.width,t);for(const m of e.children)m.size&&(m.size.width=t)}}e.size={width:i,height:u,x:0,y:0}}S.debug("setBlockSizes abc94 (done)",e.id,(y=e?.size)==null?void 0:y.x,(T=e?.size)==null?void 0:T.width,(v=e?.size)==null?void 0:v.y,(N=e?.size)==null?void 0:N.height)}function be(e,a){var d,c,n,g,o,f,b,p,x,y,T,v,N,E,L,A,k;S.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${(d=e?.size)==null?void 0:d.x} y: ${(c=e?.size)==null?void 0:c.y} width: ${(n=e?.size)==null?void 0:n.width}`);const D=e.columns||-1;if(S.debug("layoutBlocks columns abc95",e.id,"=>",D,e),e.children&&e.children.length>0){const l=((o=(g=e?.children[0])==null?void 0:g.size)==null?void 0:o.width)||0,s=e.children.length*l+(e.children.length-1)*_;S.debug("widthOfChildren 88",s,"posX");let i=0;S.debug("abc91 block?.size?.x",e.id,(f=e?.size)==null?void 0:f.x);let u=(b=e?.size)!=null&&b.x?((p=e?.size)==null?void 0:p.x)+(-((x=e?.size)==null?void 0:x.width)/2||0):-_,h=0;for(const t of e.children){const m=e;if(!t.size)continue;const{width:r,height:R}=t.size,{px:Y,py:F}=ut(D,i);if(F!=h&&(h=F,u=(y=e?.size)!=null&&y.x?((T=e?.size)==null?void 0:T.x)+(-((v=e?.size)==null?void 0:v.width)/2||0):-_,S.debug("New row in layout for block",e.id," and child ",t.id,h)),S.debug(`abc89 layout blocks (child) id: ${t.id} Pos: ${i} (px, py) ${Y},${F} (${(N=m?.size)==null?void 0:N.x},${(E=m?.size)==null?void 0:E.y}) parent: ${m.id} width: ${r}${_}`),m.size){const C=r/2;t.size.x=u+_+C,S.debug(`abc91 layout blocks (calc) px, pyid:${t.id} startingPos=X${u} new startingPosX${t.size.x} ${C} padding=${_} width=${r} halfWidth=${C} => x:${t.size.x} y:${t.size.y} ${t.widthInColumns} (width * (child?.w || 1)) / 2 ${r*(t?.widthInColumns||1)/2}`),u=t.size.x+C,t.size.y=m.size.y-m.size.height/2+F*(R+_)+R/2+_,S.debug(`abc88 layout blocks (calc) px, pyid:${t.id}startingPosX${u}${_}${C}=>x:${t.size.x}y:${t.size.y}${t.widthInColumns}(width * (child?.w || 1)) / 2${r*(t?.widthInColumns||1)/2}`)}t.children&&be(t),i+=t?.widthInColumns||1,S.debug("abc88 columnsPos",t,i)}}S.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${(L=e?.size)==null?void 0:L.x} y: ${(A=e?.size)==null?void 0:A.y} width: ${(k=e?.size)==null?void 0:k.width}`)}function xe(e,{minX:a,minY:d,maxX:c,maxY:n}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){const{x:g,y:o,width:f,height:b}=e.size;g-f/2c&&(c=g+f/2),o+b/2>n&&(n=o+b/2)}if(e.children)for(const g of e.children)({minX:a,minY:d,maxX:c,maxY:n}=xe(g,{minX:a,minY:d,maxX:c,maxY:n}));return{minX:a,minY:d,maxX:c,maxY:n}}function ht(e){const a=e.getBlock("root");if(!a)return;te(a,e,0,0),be(a),S.debug("getBlocks",JSON.stringify(a,null,2));const{minX:d,minY:c,maxX:n,maxY:g}=xe(a),o=g-c,f=n-d;return{x:d,y:c,width:f,height:o}}const gt=function(e,a){return a.db.getClasses()},pt=async function(e,a,d,c){const{securityLevel:n,block:g}=se(),o=c.db;let f;n==="sandbox"&&(f=H("#i"+a));const b=n==="sandbox"?H(f.nodes()[0].contentDocument.body):H("body"),p=n==="sandbox"?b.select(`[id="${a}"]`):H(`[id="${a}"]`);Ne(p,["point","circle","cross"],c.type,a);const y=o.getBlocks(),T=o.getBlocksFlat(),v=o.getEdges(),N=p.insert("g").attr("class","block");await ot(N,y,o);const E=ht(o);if(await lt(N,y,o),await ct(N,v,T,o,a),E){const L=E,A=Math.max(1,Math.round(.125*(L.width/L.height))),k=L.height+A+10,D=L.width+10,{useMaxWidth:l}=g;ye(p,k,D,!!l),S.debug("Here Bounds",E,L),p.attr("viewBox",`${L.x-5} ${L.y-5} ${L.width+10} ${L.height+10}`)}Ce(Re)},ft={draw:pt,getClasses:gt},cs={parser:Be,db:st,renderer:ft,styles:rt};export{cs as diagram}; diff --git a/assets/c-1HqcaTLZ.js b/assets/c-1HqcaTLZ.js new file mode 100644 index 00000000000..4bfa8291691 --- /dev/null +++ b/assets/c-1HqcaTLZ.js @@ -0,0 +1,81 @@ +const e=Object.freeze({displayName:"C",name:"c",patterns:[{include:"#preprocessor-rule-enabled"},{include:"#preprocessor-rule-disabled"},{include:"#preprocessor-rule-conditional"},{include:"#predefined_macros"},{include:"#comments"},{include:"#switch_statement"},{include:"#anon_pattern_1"},{include:"#storage_types"},{include:"#anon_pattern_2"},{include:"#anon_pattern_3"},{include:"#anon_pattern_4"},{include:"#anon_pattern_5"},{include:"#anon_pattern_6"},{include:"#anon_pattern_7"},{include:"#operators"},{include:"#numbers"},{include:"#strings"},{include:"#anon_pattern_range_1"},{include:"#anon_pattern_range_2"},{include:"#anon_pattern_range_3"},{include:"#pragma-mark"},{include:"#anon_pattern_range_4"},{include:"#anon_pattern_range_5"},{include:"#anon_pattern_range_6"},{include:"#anon_pattern_8"},{include:"#anon_pattern_9"},{include:"#anon_pattern_10"},{include:"#anon_pattern_11"},{include:"#anon_pattern_12"},{include:"#anon_pattern_13"},{include:"#block"},{include:"#parens"},{include:"#anon_pattern_range_7"},{include:"#line_continuation_character"},{include:"#anon_pattern_range_8"},{include:"#anon_pattern_range_9"},{include:"#anon_pattern_14"},{include:"#anon_pattern_15"}],repository:{"access-method":{begin:"([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\]\\)]))\\s*(?:(\\.)|(->))((?:(?:[a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(?:\\.)|(?:->)))*)\\s*([a-zA-Z_][a-zA-Z_0-9]*)(\\()",beginCaptures:{1:{name:"variable.object.c"},2:{name:"punctuation.separator.dot-access.c"},3:{name:"punctuation.separator.pointer-access.c"},4:{patterns:[{match:"\\.",name:"punctuation.separator.dot-access.c"},{match:"->",name:"punctuation.separator.pointer-access.c"},{match:"[a-zA-Z_][a-zA-Z_0-9]*",name:"variable.object.c"},{match:".+",name:"everything.else.c"}]},5:{name:"entity.name.function.member.c"},6:{name:"punctuation.section.arguments.begin.bracket.round.function.member.c"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.arguments.end.bracket.round.function.member.c"}},name:"meta.function-call.member.c",patterns:[{include:"#function-call-innards"}]},anon_pattern_1:{match:"\\b(break|continue|do|else|for|goto|if|_Pragma|return|while)\\b",name:"keyword.control.c"},anon_pattern_10:{match:`(?x) \\b +(int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t +|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t +|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t +|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t +|uintmax_t|uintmax_t) +\\b`,name:"support.type.stdint.c"},anon_pattern_11:{match:"\\b(noErr|kNilOptions|kInvalidID|kVariableLengthArray)\\b",name:"support.constant.mac-classic.c"},anon_pattern_12:{match:`(?x) \\b +(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam +|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr +|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber +|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64 +|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32 +|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr +|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char) +\\b`,name:"support.type.mac-classic.c"},anon_pattern_13:{match:"\\b([A-Za-z0-9_]+_t)\\b",name:"support.type.posix-reserved.c"},anon_pattern_14:{match:";",name:"punctuation.terminator.statement.c"},anon_pattern_15:{match:",",name:"punctuation.separator.delimiter.c"},anon_pattern_2:{match:"typedef",name:"keyword.other.typedef.c"},anon_pattern_3:{match:"\\b(const|extern|register|restrict|static|volatile|inline)\\b",name:"storage.modifier.c"},anon_pattern_4:{match:"\\bk[A-Z]\\w*\\b",name:"constant.other.variable.mac-classic.c"},anon_pattern_5:{match:"\\bg[A-Z]\\w*\\b",name:"variable.other.readwrite.global.mac-classic.c"},anon_pattern_6:{match:"\\bs[A-Z]\\w*\\b",name:"variable.other.readwrite.static.mac-classic.c"},anon_pattern_7:{match:"\\b(NULL|true|false|TRUE|FALSE)\\b",name:"constant.language.c"},anon_pattern_8:{match:"\\b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t)\\b",name:"support.type.sys-types.c"},anon_pattern_9:{match:"\\b(pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t)\\b",name:"support.type.pthread.c"},anon_pattern_range_1:{begin:"((?:(?:(?>\\s+)|(\\/\\*)((?>(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+?|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z)))((#)\\s*define\\b)\\s+((?",endCaptures:{0:{name:"punctuation.definition.string.end.c"}},name:"string.quoted.other.lt-gt.include.c"}]},anon_pattern_range_4:{begin:"^\\s*((#)\\s*line)\\b",beginCaptures:{1:{name:"keyword.control.directive.line.c"},2:{name:"punctuation.definition.directive.c"}},end:"(?=(?://|/\\*))|(?=+!]+ | \\(\\) | \\[\\])) +) +\\s*(\\()`,beginCaptures:{1:{name:"variable.other.c"},2:{name:"punctuation.section.parens.begin.bracket.round.initialization.c"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.bracket.round.initialization.c"}},name:"meta.initialization.c",patterns:[{include:"#function-call-innards"}]},{begin:"{",beginCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.c"}},end:"}|(?=\\s*#\\s*(?:elif|else|endif)\\b)",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.c"}},patterns:[{include:"#block_innards"}]},{include:"#parens-block"},{include:"$self"}]},c_conditional_context:{patterns:[{include:"$self"},{include:"#block_innards"}]},c_function_call:{begin:`(?x) +(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\() +(?= +(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\( +| +(?:(?<=operator)(?:[-*&<>=+!]+|\\(\\)|\\[\\]))\\s*\\( +)`,end:"(?<=\\))(?!\\w)",name:"meta.function-call.c",patterns:[{include:"#function-call-innards"}]},case_statement:{begin:"((?>(?:(?:(?>(?(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z))))((?\\s*)(\\/\\/[!\\/]+)",beginCaptures:{1:{name:"punctuation.definition.comment.documentation.c"}},end:"(?<=\\n)(?|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.c"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.italic.doxygen.c"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.bold.doxygen.c"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.inline.raw.string.c"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.c"}]},3:{name:"variable.parameter.c"}},match:"((?<=[\\s*!\\/])[\\\\@]param)(?:\\s*\\[((?:,?\\s*(?:in|out)\\s*)+)\\])?\\s+(\\b\\w+\\b)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:arg|attention|author|authors|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remark|remarks|result|return|returns|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?<=[\\s*!\\/])[\\\\@](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?:\\b[A-Z]+:|@[a-z_]+:)",name:"storage.type.class.gtkdoc"}]},{captures:{1:{name:"punctuation.definition.comment.begin.documentation.c"},2:{patterns:[{match:'(?<=[\\s*!\\/])[\\\\@](?:callergraph|callgraph|else|endif|f\\$|f\\[|f\\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|\\$|\\#|<|>|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.c"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.italic.doxygen.c"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.bold.doxygen.c"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.inline.raw.string.c"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.c"}]},3:{name:"variable.parameter.c"}},match:"((?<=[\\s*!\\/])[\\\\@]param)(?:\\s*\\[((?:,?\\s*(?:in|out)\\s*)+)\\])?\\s+(\\b\\w+\\b)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:arg|attention|author|authors|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remark|remarks|result|return|returns|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?<=[\\s*!\\/])[\\\\@](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?:\\b[A-Z]+:|@[a-z_]+:)",name:"storage.type.class.gtkdoc"}]},3:{name:"punctuation.definition.comment.end.documentation.c"}},match:"(\\/\\*[!*]+(?=\\s))(.+)([!*]*\\*\\/)",name:"comment.block.documentation.c"},{begin:"((?>\\s*)\\/\\*[!*]+(?:(?:\\n|$)|(?=\\s)))",beginCaptures:{1:{name:"punctuation.definition.comment.begin.documentation.c"}},end:"([!*]*\\*\\/)",endCaptures:{1:{name:"punctuation.definition.comment.end.documentation.c"}},name:"comment.block.documentation.c",patterns:[{match:'(?<=[\\s*!\\/])[\\\\@](?:callergraph|callgraph|else|endif|f\\$|f\\[|f\\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|\\$|\\#|<|>|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.c"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.italic.doxygen.c"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.bold.doxygen.c"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{name:"markup.inline.raw.string.c"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{captures:{1:{name:"storage.type.class.doxygen.c"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.c"}]},3:{name:"variable.parameter.c"}},match:"((?<=[\\s*!\\/])[\\\\@]param)(?:\\s*\\[((?:,?\\s*(?:in|out)\\s*)+)\\])?\\s+(\\b\\w+\\b)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:arg|attention|author|authors|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remark|remarks|result|return|returns|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?<=[\\s*!\\/])[\\\\@](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.c"},{match:"(?:\\b[A-Z]+:|@[a-z_]+:)",name:"storage.type.class.gtkdoc"}]},{captures:{1:{name:"meta.toc-list.banner.block.c"}},match:"^\\/\\* =(\\s*.*?)\\s*= \\*\\/$\\n?",name:"comment.block.banner.c"},{begin:"(\\/\\*)",beginCaptures:{1:{name:"punctuation.definition.comment.begin.c"}},end:"(\\*\\/)",endCaptures:{1:{name:"punctuation.definition.comment.end.c"}},name:"comment.block.c"},{captures:{1:{name:"meta.toc-list.banner.line.c"}},match:"^\\/\\/ =(\\s*.*?)\\s*=$\\n?",name:"comment.line.banner.c"},{begin:"((?:^[ \\t]+)?)(?=\\/\\/)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.c"}},end:"(?!\\G)",patterns:[{begin:"(\\/\\/)",beginCaptures:{1:{name:"punctuation.definition.comment.c"}},end:"(?=\\n)",name:"comment.line.double-slash.c",patterns:[{include:"#line_continuation_character"}]}]}]},{include:"#block_comment"},{include:"#line_comment"}]},{include:"#block_comment"},{include:"#line_comment"}]},default_statement:{begin:"((?>(?:(?:(?>(?(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z))))((?=+!]+|\\(\\)|\\[\\])) +) +\\s*(\\()`,beginCaptures:{1:{name:"entity.name.function.c"},2:{name:"punctuation.section.arguments.begin.bracket.round.c"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.arguments.end.bracket.round.c"}},patterns:[{include:"#function-call-innards"}]},{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.bracket.round.c"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#function-call-innards"}]},{include:"#block_innards"}]},"function-innards":{patterns:[{include:"#comments"},{include:"#storage_types"},{include:"#operators"},{include:"#vararg_ellipses"},{begin:`(?x) +(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\() +( +(?:[A-Za-z_][A-Za-z0-9_]*+|::)++ +| +(?:(?<=operator)(?:[-*&<>=+!]+|\\(\\)|\\[\\])) +) +\\s*(\\()`,beginCaptures:{1:{name:"entity.name.function.c"},2:{name:"punctuation.section.parameters.begin.bracket.round.c"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.parameters.end.bracket.round.c"}},name:"meta.function.definition.parameters.c",patterns:[{include:"#probably_a_parameter"},{include:"#function-innards"}]},{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.bracket.round.c"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#function-innards"}]},{include:"$self"}]},inline_comment:{patterns:[{patterns:[{captures:{1:{name:"comment.block.c punctuation.definition.comment.begin.c"},2:{name:"comment.block.c"},3:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]}},match:"(\\/\\*)((?>(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/))"},{captures:{1:{name:"comment.block.c punctuation.definition.comment.begin.c"},2:{name:"comment.block.c"},3:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]}},match:"(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/))"}]},{captures:{1:{name:"comment.block.c punctuation.definition.comment.begin.c"},2:{name:"comment.block.c"},3:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]}},match:"(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/))"}]},line_comment:{patterns:[{begin:"\\s*+(\\/\\/)",beginCaptures:{1:{name:"punctuation.definition.comment.c"}},end:"(?<=\\n)(?\\*|->)))"}]},5:{name:"variable.other.member.c"}},match:"((?:[a-zA-Z_]\\w*|(?<=\\]|\\)))\\s*)(?:((?:\\.\\*|\\.))|((?:->\\*|->)))((?:[a-zA-Z_]\\w*\\s*(?:(?:(?:\\.\\*|\\.))|(?:(?:->\\*|->)))\\s*)*)\\s*(\\b(?!(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_int_least64_t|atomic_int_least32_t|pthread_rwlockattr_t|atomic_uint_fast16_t|pthread_mutexattr_t|atomic_int_fast16_t|atomic_uint_fast8_t|atomic_int_fast64_t|atomic_int_least8_t|atomic_int_fast32_t|atomic_int_fast8_t|pthread_condattr_t|atomic_uintptr_t|atomic_ptrdiff_t|pthread_rwlock_t|atomic_uintmax_t|pthread_mutex_t|atomic_intmax_t|atomic_intptr_t|atomic_char32_t|atomic_char16_t|pthread_attr_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_cond_t|pthread_once_t|uint_fast64_t|uint_fast16_t|atomic_size_t|uint_least8_t|int_least64_t|int_least32_t|int_least16_t|pthread_key_t|atomic_ullong|atomic_ushort|uint_fast32_t|atomic_schar|atomic_short|uint_fast8_t|int_fast64_t|int_fast32_t|int_fast16_t|atomic_ulong|atomic_llong|int_least8_t|atomic_uchar|memory_order|suseconds_t|int_fast8_t|atomic_bool|atomic_char|atomic_uint|atomic_long|atomic_int|useconds_t|_Imaginary|blksize_t|pthread_t|in_addr_t|uintptr_t|in_port_t|uintmax_t|uintmax_t|blkcnt_t|uint16_t|unsigned|_Complex|uint32_t|intptr_t|intmax_t|intmax_t|uint64_t|u_quad_t|int64_t|int32_t|ssize_t|caddr_t|clock_t|uint8_t|u_short|swblk_t|segsz_t|int16_t|fixpt_t|daddr_t|nlink_t|qaddr_t|size_t|time_t|mode_t|signed|quad_t|ushort|u_long|u_char|double|int8_t|ino_t|uid_t|pid_t|_Bool|float|dev_t|div_t|short|gid_t|off_t|u_int|key_t|id_t|uint|long|void|char|bool|id_t|int)\\b)[a-zA-Z_]\\w*\\b(?!\\())"},method_access:{begin:"((?:[a-zA-Z_]\\w*|(?<=\\]|\\)))\\s*)(?:((?:\\.\\*|\\.))|((?:->\\*|->)))((?:[a-zA-Z_]\\w*\\s*(?:(?:(?:\\.\\*|\\.))|(?:(?:->\\*|->)))\\s*)*)\\s*([a-zA-Z_]\\w*)(\\()",beginCaptures:{1:{name:"variable.other.object.access.c"},2:{name:"punctuation.separator.dot-access.c"},3:{name:"punctuation.separator.pointer-access.c"},4:{patterns:[{include:"#member_access"},{include:"#method_access"},{captures:{1:{name:"variable.other.object.access.c"},2:{name:"punctuation.separator.dot-access.c"},3:{name:"punctuation.separator.pointer-access.c"}},match:"((?:[a-zA-Z_]\\w*|(?<=\\]|\\)))\\s*)(?:((?:\\.\\*|\\.))|((?:->\\*|->)))"}]},5:{name:"entity.name.function.member.c"},6:{name:"punctuation.section.arguments.begin.bracket.round.function.member.c"}},contentName:"meta.function-call.member.c",end:"(\\))",endCaptures:{1:{name:"punctuation.section.arguments.end.bracket.round.function.member.c"}},patterns:[{include:"#function-call-innards"}]},numbers:{captures:{0:{patterns:[{begin:"(?=.)",end:"$",patterns:[{captures:{1:{name:"keyword.other.unit.hexadecimal.c"},2:{name:"constant.numeric.hexadecimal.c",patterns:[{match:"(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric"}]},3:{name:"punctuation.separator.constant.numeric"},4:{name:"constant.numeric.hexadecimal.c"},5:{name:"constant.numeric.hexadecimal.c",patterns:[{match:"(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric"}]},6:{name:"punctuation.separator.constant.numeric"},8:{name:"keyword.other.unit.exponent.hexadecimal.c"},9:{name:"keyword.operator.plus.exponent.hexadecimal.c"},10:{name:"keyword.operator.minus.exponent.hexadecimal.c"},11:{name:"constant.numeric.exponent.hexadecimal.c",patterns:[{match:"(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric"}]},12:{name:"keyword.other.unit.suffix.floating-point.c"}},match:"(\\G0[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])))([0-9a-fA-F](?:[0-9a-fA-F]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F])))*)?((?>=|\\|=",name:"keyword.operator.assignment.compound.bitwise.c"},{match:"<<|>>",name:"keyword.operator.bitwise.shift.c"},{match:"!=|<=|>=|==|<|>",name:"keyword.operator.comparison.c"},{match:"&&|!|\\|\\|",name:"keyword.operator.logical.c"},{match:"&|\\||\\^|~",name:"keyword.operator.c"},{match:"=",name:"keyword.operator.assignment.c"},{match:"%|\\*|/|-|\\+",name:"keyword.operator.c"},{begin:"(\\?)",beginCaptures:{1:{name:"keyword.operator.ternary.c"}},end:"(:)",endCaptures:{1:{name:"keyword.operator.ternary.c"}},patterns:[{include:"#function-call-innards"},{include:"$self"}]}]},parens:{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.bracket.round.c"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.bracket.round.c"}},name:"meta.parens.c",patterns:[{include:"$self"}]},"parens-block":{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.bracket.round.c"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.bracket.round.c"}},name:"meta.parens.block.c",patterns:[{include:"#block_innards"},{match:"(?-mix:(?=+!]+|\\(\\)|\\[\\]))\\s*\\( +)`,end:"(?<=\\))(?!\\w)|(?=+!]+|\\(\\)|\\[\\])) +) +\\s*(\\()`,beginCaptures:{1:{name:"entity.name.function.c"},2:{name:"punctuation.section.arguments.begin.bracket.round.c"}},end:"(\\))|(?\\]\\)]))\\s*([a-zA-Z_]\\w*)\\s*(?=(?:\\[\\]\\s*)?(?:,|\\)))"},static_assert:{begin:"((?>(?:(?:(?>(?(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z))))((?(?:(?:(?>(?(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z))))(\\()",beginCaptures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.c punctuation.definition.comment.begin.c"},3:{name:"comment.block.c"},4:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]},5:{name:"keyword.other.static_assert.c"},6:{patterns:[{include:"#inline_comment"}]},7:{name:"comment.block.c punctuation.definition.comment.begin.c"},8:{name:"comment.block.c"},9:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]},10:{name:"punctuation.section.arguments.begin.bracket.round.static_assert.c"}},end:"(\\))",endCaptures:{1:{name:"punctuation.section.arguments.end.bracket.round.static_assert.c"}},patterns:[{begin:'(,)\\s*(?=(?:L|u8|u|U\\s*\\")?)',beginCaptures:{1:{name:"punctuation.separator.delimiter.comma.c"}},end:"(?=\\))",name:"meta.static_assert.message.c",patterns:[{include:"#string_context"}]},{include:"#evaluation_context"}]},storage_types:{patterns:[{match:"(?-mix:(?\\s+)|(\\/\\*)((?>(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+?|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z)))(?:\\n|$)"},{include:"#comments"},{begin:"(((?:(?:(?>\\s+)|(\\/\\*)((?>(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+?|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z)))\\()",beginCaptures:{1:{name:"punctuation.section.parens.begin.bracket.round.assembly.c"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.c punctuation.definition.comment.begin.c"},4:{name:"comment.block.c"},5:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]}},end:"(\\))",endCaptures:{1:{name:"punctuation.section.parens.end.bracket.round.assembly.c"}},patterns:[{begin:'(R?)(")',beginCaptures:{1:{name:"meta.encoding.c"},2:{name:"punctuation.definition.string.begin.assembly.c"}},contentName:"meta.embedded.assembly.c",end:'(")',endCaptures:{1:{name:"punctuation.definition.string.end.assembly.c"}},name:"string.quoted.double.c",patterns:[{include:"source.asm"},{include:"source.x86"},{include:"source.x86_64"},{include:"source.arm"},{include:"#backslash_escapes"},{include:"#string_escaped_char"}]},{begin:"(\\()",beginCaptures:{1:{name:"punctuation.section.parens.begin.bracket.round.assembly.inner.c"}},end:"(\\))",endCaptures:{1:{name:"punctuation.section.parens.end.bracket.round.assembly.inner.c"}},patterns:[{include:"#evaluation_context"}]},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.c punctuation.definition.comment.begin.c"},3:{name:"comment.block.c"},4:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]},5:{name:"variable.other.asm.label.c"},6:{patterns:[{include:"#inline_comment"}]},7:{name:"comment.block.c punctuation.definition.comment.begin.c"},8:{name:"comment.block.c"},9:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]}},match:"\\[((?:(?:(?>\\s+)|(\\/\\*)((?>(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+?|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z)))([a-zA-Z_]\\w*)((?:(?:(?>\\s+)|(\\/\\*)((?>(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+?|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z)))\\]"},{match:":",name:"punctuation.separator.delimiter.colon.assembly.c"},{include:"#comments"}]}]}]},string_escaped_char:{patterns:[{match:`(?x)\\\\ ( +\\\\ | +[abefnprtv'"?] | +[0-3]\\d{,2} | +[4-7]\\d? | +x[a-fA-F0-9]{,2} | +u[a-fA-F0-9]{,4} | +U[a-fA-F0-9]{,8} )`,name:"constant.character.escape.c"},{match:"\\\\.",name:"invalid.illegal.unknown-escape.c"}]},string_placeholder:{patterns:[{match:`(?x) % +(\\d+\\$)? +[#0\\- +']* +[,;:_]? +((-?\\d+)|\\*(-?\\d+\\$)?)? +(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)? +(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? +[diouxXDOUeEfFgGaACcSspn%]`,name:"constant.other.placeholder.c"},{captures:{1:{name:"invalid.illegal.placeholder.c"}},match:'(%)(?!"\\s*(PRI|SCN))'}]},strings:{patterns:[{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.c"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.c",patterns:[{include:"#string_escaped_char"},{include:"#string_placeholder"},{include:"#line_continuation_character"}]},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.c"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.c"}},name:"string.quoted.single.c",patterns:[{include:"#string_escaped_char"},{include:"#line_continuation_character"}]}]},switch_conditional_parentheses:{begin:"((?>(?:(?:(?>(?(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z))))(\\()",beginCaptures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.c punctuation.definition.comment.begin.c"},3:{name:"comment.block.c"},4:{patterns:[{match:"\\*\\/",name:"comment.block.c punctuation.definition.comment.end.c"},{match:"\\*",name:"comment.block.c"}]},5:{name:"punctuation.section.parens.begin.bracket.round.conditional.switch.c"}},end:"(\\))",endCaptures:{1:{name:"punctuation.section.parens.end.bracket.round.conditional.switch.c"}},name:"meta.conditional.switch.c",patterns:[{include:"#evaluation_context"},{include:"#c_conditional_context"}]},switch_statement:{begin:"(((?>(?:(?:(?>(?(?:[^\\*]|(?>\\*+)[^\\/])*)((?>\\*+)\\/)))+|(?:(?:(?:(?:\\b|(?<=\\W))|(?=\\W))|\\A)|\\Z))))((?|\\?\\?>)|(?=[;>\\[\\]=]))",name:"meta.block.switch.c",patterns:[{begin:"\\G ?",end:"((?:\\{|<%|\\?\\?<|(?=;)))",endCaptures:{1:{name:"punctuation.section.block.begin.bracket.curly.switch.c"}},name:"meta.head.switch.c",patterns:[{include:"#switch_conditional_parentheses"},{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",end:"(\\}|%>|\\?\\?>)",endCaptures:{1:{name:"punctuation.section.block.end.bracket.curly.switch.c"}},name:"meta.body.switch.c",patterns:[{include:"#default_statement"},{include:"#case_statement"},{include:"$self"},{include:"#block_innards"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s\\n]*",end:"[\\s\\n]*(?=;)",name:"meta.tail.switch.c",patterns:[{include:"$self"}]}]},vararg_ellipses:{match:"(?"u"&&(D.yylloc={});var Ht=D.yylloc;u.push(Ht);var ke=D.options&&D.options.ranges;typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ae(){var X;return X=g.pop()||D.lex()||ae,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var M,kt,N,qt,Ct={},Mt,z,re,Lt;;){if(kt=m[m.length-1],this.defaultActions[kt]?N=this.defaultActions[kt]:((M===null||typeof M>"u")&&(M=Ae()),N=Tt[kt]&&Tt[kt][M]),typeof N>"u"||!N.length||!N[0]){var Gt="";Lt=[];for(Mt in Tt[kt])this.terminals_[Mt]&&Mt>Ee&&Lt.push("'"+this.terminals_[Mt]+"'");D.showPosition?Gt="Parse error on line "+(Et+1)+`: +`+D.showPosition()+` +Expecting `+Lt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Gt="Parse error on line "+(Et+1)+": Unexpected "+(M==ae?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Gt,{text:D.match,token:this.terminals_[M]||M,line:D.yylineno,loc:Ht,expected:Lt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+kt+", token: "+M);switch(N[0]){case 1:m.push(M),T.push(D.yytext),u.push(D.yylloc),m.push(N[1]),M=null,se=D.yyleng,y=D.yytext,Et=D.yylineno,Ht=D.yylloc;break;case 2:if(z=this.productions_[N[1]][1],Ct.$=T[T.length-z],Ct._$={first_line:u[u.length-(z||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(z||1)].first_column,last_column:u[u.length-1].last_column},ke&&(Ct._$.range=[u[u.length-(z||1)].range[0],u[u.length-1].range[1]]),qt=this.performAction.apply(Ct,[y,se,Et,vt.yy,N[1],T,u].concat(ve)),typeof qt<"u")return qt;z&&(m=m.slice(0,-1*z*2),T=T.slice(0,-1*z),u=u.slice(0,-1*z)),m.push(this.productions_[N[1]][0]),T.push(Ct.$),u.push(Ct._$),re=Tt[m[m.length-2]][m[m.length-1]],m.push(re);break;case 3:return!0}}return!0}},me=function(){var bt={EOF:1,parseError:function(x,m){if(this.yy.parser)this.yy.parser.parseError(x,m);else throw new Error(x)},setInput:function(_,x){return this.yy=x||this.yy||{},this._input=_,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var x=_.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},unput:function(_){var x=_.length,m=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===g.length?this.yylloc.first_column:0)+g[g.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(_){this.unput(this.match.slice(_))},pastInput:function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var _=this.pastInput(),x=new Array(_.length+1).join("-");return _+this.upcomingInput()+` +`+x+"^"},test_match:function(_,x){var m,g,T;if(this.options.backtrack_lexer&&(T={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(T.yylloc.range=this.yylloc.range.slice(0))),g=_[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+_[0].length},this.yytext+=_[0],this.match+=_[0],this.matches=_,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(_[0].length),this.matched+=_[0],m=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var u in T)this[u]=T[u];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var _,x,m,g;this._more||(this.yytext="",this.match="");for(var T=this._currentRules(),u=0;ux[0].length)){if(x=m,g=u,this.options.backtrack_lexer){if(_=this.test_match(m,T[u]),_!==!1)return _;if(this._backtrack){x=!1;continue}else return!1}else if(!this.options.flex)break}return x?(_=this.test_match(x,T[g]),_!==!1?_:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var x=this.next();return x||this.lex()},begin:function(x){this.conditionStack.push(x)},popState:function(){var x=this.conditionStack.length-1;return x>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(x){return x=this.conditionStack.length-1-Math.abs(x||0),x>=0?this.conditionStack[x]:"INITIAL"},pushState:function(x){this.begin(x)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(x,m,g,T){switch(g){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:return this.begin("node"),39;case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:return this.begin("rel_u"),66;case 53:return this.begin("rel_u"),66;case 54:return this.begin("rel_d"),67;case 55:return this.begin("rel_d"),67;case 56:return this.begin("rel_l"),68;case 57:return this.begin("rel_l"),68;case 58:return this.begin("rel_r"),69;case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return bt}();Xt.lexer=me;function Wt(){this.yy={}}return Wt.prototype=Xt,Xt.Parser=Wt,new Wt}();Yt.parser=Yt;const Ne=Yt;let U=[],_t=[""],P="global",j="",V=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],St=[],te="",ee=!1,It=4,jt=2;var de;const Be=function(){return de},Ye=function(e){de=ue(e,Dt())},Ie=function(e,t,a,o,l,i,s,r,n){if(e==null||t===void 0||t===null||a===void 0||a===null||o===void 0||o===null)return;let h={};const f=St.find(d=>d.from===t&&d.to===a);if(f?h=f:St.push(h),h.type=e,h.from=t,h.to=a,h.label={text:o},l==null)h.techn={text:""};else if(typeof l=="object"){let[d,p]=Object.entries(l)[0];h[d]={text:p}}else h.techn={text:l};if(i==null)h.descr={text:""};else if(typeof i=="object"){let[d,p]=Object.entries(i)[0];h[d]={text:p}}else h.descr={text:i};if(typeof s=="object"){let[d,p]=Object.entries(s)[0];h[d]=p}else h.sprite=s;if(typeof r=="object"){let[d,p]=Object.entries(r)[0];h[d]=p}else h.tags=r;if(typeof n=="object"){let[d,p]=Object.entries(n)[0];h[d]=p}else h.link=n;h.wrap=xt()},je=function(e,t,a,o,l,i,s){if(t===null||a===null)return;let r={};const n=U.find(h=>h.alias===t);if(n&&t===n.alias?r=n:(r.alias=t,U.push(r)),a==null?r.label={text:""}:r.label={text:a},o==null)r.descr={text:""};else if(typeof o=="object"){let[h,f]=Object.entries(o)[0];r[h]={text:f}}else r.descr={text:o};if(typeof l=="object"){let[h,f]=Object.entries(l)[0];r[h]=f}else r.sprite=l;if(typeof i=="object"){let[h,f]=Object.entries(i)[0];r[h]=f}else r.tags=i;if(typeof s=="object"){let[h,f]=Object.entries(s)[0];r[h]=f}else r.link=s;r.typeC4Shape={text:e},r.parentBoundary=P,r.wrap=xt()},Ue=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=U.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,U.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.techn={text:""};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof i=="object"){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=xt(),n.typeC4Shape={text:e},n.parentBoundary=P},Fe=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=U.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,U.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.techn={text:""};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof i=="object"){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=xt(),n.typeC4Shape={text:e},n.parentBoundary=P},Ve=function(e,t,a,o,l){if(e===null||t===null)return;let i={};const s=V.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,V.push(i)),t==null?i.label={text:""}:i.label={text:t},a==null)i.type={text:"system"};else if(typeof a=="object"){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if(typeof o=="object"){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if(typeof l=="object"){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=P,i.wrap=xt(),j=P,P=e,_t.push(j)},ze=function(e,t,a,o,l){if(e===null||t===null)return;let i={};const s=V.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,V.push(i)),t==null?i.label={text:""}:i.label={text:t},a==null)i.type={text:"container"};else if(typeof a=="object"){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if(typeof o=="object"){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if(typeof l=="object"){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=P,i.wrap=xt(),j=P,P=e,_t.push(j)},Xe=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=V.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,V.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.type={text:"node"};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.type={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.nodeType=e,n.parentBoundary=P,n.wrap=xt(),j=P,P=t,_t.push(j)},We=function(){P=j,_t.pop(),j=_t.pop(),_t.push(j)},Qe=function(e,t,a,o,l,i,s,r,n,h,f){let d=U.find(p=>p.alias===t);if(!(d===void 0&&(d=V.find(p=>p.alias===t),d===void 0))){if(a!=null)if(typeof a=="object"){let[p,E]=Object.entries(a)[0];d[p]=E}else d.bgColor=a;if(o!=null)if(typeof o=="object"){let[p,E]=Object.entries(o)[0];d[p]=E}else d.fontColor=o;if(l!=null)if(typeof l=="object"){let[p,E]=Object.entries(l)[0];d[p]=E}else d.borderColor=l;if(i!=null)if(typeof i=="object"){let[p,E]=Object.entries(i)[0];d[p]=E}else d.shadowing=i;if(s!=null)if(typeof s=="object"){let[p,E]=Object.entries(s)[0];d[p]=E}else d.shape=s;if(r!=null)if(typeof r=="object"){let[p,E]=Object.entries(r)[0];d[p]=E}else d.sprite=r;if(n!=null)if(typeof n=="object"){let[p,E]=Object.entries(n)[0];d[p]=E}else d.techn=n;if(h!=null)if(typeof h=="object"){let[p,E]=Object.entries(h)[0];d[p]=E}else d.legendText=h;if(f!=null)if(typeof f=="object"){let[p,E]=Object.entries(f)[0];d[p]=E}else d.legendSprite=f}},He=function(e,t,a,o,l,i,s){const r=St.find(n=>n.from===t&&n.to===a);if(r!==void 0){if(o!=null)if(typeof o=="object"){let[n,h]=Object.entries(o)[0];r[n]=h}else r.textColor=o;if(l!=null)if(typeof l=="object"){let[n,h]=Object.entries(l)[0];r[n]=h}else r.lineColor=l;if(i!=null)if(typeof i=="object"){let[n,h]=Object.entries(i)[0];r[n]=parseInt(h)}else r.offsetX=parseInt(i);if(s!=null)if(typeof s=="object"){let[n,h]=Object.entries(s)[0];r[n]=parseInt(h)}else r.offsetY=parseInt(s)}},qe=function(e,t,a){let o=It,l=jt;if(typeof t=="object"){const i=Object.values(t)[0];o=parseInt(i)}else o=parseInt(t);if(typeof a=="object"){const i=Object.values(a)[0];l=parseInt(i)}else l=parseInt(a);o>=1&&(It=o),l>=1&&(jt=l)},Ge=function(){return It},Ke=function(){return jt},Je=function(){return P},Ze=function(){return j},fe=function(e){return e==null?U:U.filter(t=>t.parentBoundary===e)},$e=function(e){return U.find(t=>t.alias===e)},t0=function(e){return Object.keys(fe(e))},e0=function(e){return e==null?V:V.filter(t=>t.parentBoundary===e)},i0=function(){return St},n0=function(){return te},s0=function(e){ee=e},xt=function(){return ee},a0=function(){U=[],V=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],j="",P="global",_t=[""],St=[],_t=[""],te="",ee=!1,It=4,jt=2},r0={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},l0={FILLED:0,OPEN:1},o0={LEFTOF:0,RIGHTOF:1,OVER:2},c0=function(e){te=ue(e,Dt())},Jt={addPersonOrSystem:je,addPersonOrSystemBoundary:Ve,addContainer:Ue,addContainerBoundary:ze,addComponent:Fe,addDeploymentNode:Xe,popBoundaryParseStack:We,addRel:Ie,updateElStyle:Qe,updateRelStyle:He,updateLayoutConfig:qe,autoWrap:xt,setWrap:s0,getC4ShapeArray:fe,getC4Shape:$e,getC4ShapeKeys:t0,getBoundarys:e0,getCurrentBoundaryParse:Je,getParentBoundaryParse:Ze,getRels:i0,getTitle:n0,getC4Type:Be,getC4ShapeInRow:Ge,getC4BoundaryInRow:Ke,setAccTitle:Ce,getAccTitle:we,getAccDescription:Oe,setAccDescription:Te,getConfig:()=>Dt().c4,clear:a0,LINETYPE:r0,ARROWTYPE:l0,PLACEMENT:o0,setTitle:c0,setC4Type:Ye},ie=function(e,t){return Me(e,t)},pe=function(e,t,a,o,l,i){const s=e.append("image");s.attr("width",t),s.attr("height",a),s.attr("x",o),s.attr("y",l);let r=i.startsWith("data:image/png;base64")?i:Pe.sanitizeUrl(i);s.attr("xlink:href",r)},h0=(e,t,a)=>{const o=e.append("g");let l=0;for(let i of t){let s=i.textColor?i.textColor:"#444444",r=i.lineColor?i.lineColor:"#444444",n=i.offsetX?parseInt(i.offsetX):0,h=i.offsetY?parseInt(i.offsetY):0,f="";if(l===0){let p=o.append("line");p.attr("x1",i.startPoint.x),p.attr("y1",i.startPoint.y),p.attr("x2",i.endPoint.x),p.attr("y2",i.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",r),p.style("fill","none"),i.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(i.type==="birel"||i.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)"),l=-1}else{let p=o.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",i.startPoint.x).replaceAll("starty",i.startPoint.y).replaceAll("controlx",i.startPoint.x+(i.endPoint.x-i.startPoint.x)/2-(i.endPoint.x-i.startPoint.x)/4).replaceAll("controly",i.startPoint.y+(i.endPoint.y-i.startPoint.y)/2).replaceAll("stopx",i.endPoint.x).replaceAll("stopy",i.endPoint.y)),i.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(i.type==="birel"||i.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)")}let d=a.messageFont();W(a)(i.label.text,o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+h,i.label.width,i.label.height,{fill:s},d),i.techn&&i.techn.text!==""&&(d=a.messageFont(),W(a)("["+i.techn.text+"]",o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+a.messageFontSize+5+h,Math.max(i.label.width,i.techn.width),i.techn.height,{fill:s,"font-style":"italic"},d))}},u0=function(e,t,a){const o=e.append("g");let l=t.bgColor?t.bgColor:"none",i=t.borderColor?t.borderColor:"#444444",s=t.fontColor?t.fontColor:"black",r={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};t.nodeType&&(r={"stroke-width":1});let n={x:t.x,y:t.y,fill:l,stroke:i,width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:r};ie(o,n);let h=a.boundaryFont();h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=s,W(a)(t.label.text,o,t.x,t.y+t.label.Y,t.width,t.height,{fill:"#444444"},h),t.type&&t.type.text!==""&&(h=a.boundaryFont(),h.fontColor=s,W(a)(t.type.text,o,t.x,t.y+t.type.Y,t.width,t.height,{fill:"#444444"},h)),t.descr&&t.descr.text!==""&&(h=a.boundaryFont(),h.fontSize=h.fontSize-2,h.fontColor=s,W(a)(t.descr.text,o,t.x,t.y+t.descr.Y,t.width,t.height,{fill:"#444444"},h))},d0=function(e,t,a){var o;let l=t.bgColor?t.bgColor:a[t.typeC4Shape.text+"_bg_color"],i=t.borderColor?t.borderColor:a[t.typeC4Shape.text+"_border_color"],s=t.fontColor?t.fontColor:"#FFFFFF",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(t.typeC4Shape.text){case"person":r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";break}const n=e.append("g");n.attr("class","person-man");const h=Le();switch(t.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=t.x,h.y=t.y,h.fill=l,h.width=t.width,h.height=t.height,h.stroke=i,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},ie(n,h);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":n.append("path").attr("fill",l).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2).replaceAll("height",t.height)),n.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":n.append("path").attr("fill",l).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("width",t.width).replaceAll("half",t.height/2)),n.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",t.x+t.width).replaceAll("starty",t.y).replaceAll("half",t.height/2));break}let f=E0(a,t.typeC4Shape.text);switch(n.append("text").attr("fill",s).attr("font-family",f.fontFamily).attr("font-size",f.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",t.typeC4Shape.width).attr("x",t.x+t.width/2-t.typeC4Shape.width/2).attr("y",t.y+t.typeC4Shape.Y).text("<<"+t.typeC4Shape.text+">>"),t.typeC4Shape.text){case"person":case"external_person":pe(n,48,48,t.x+t.width/2-24,t.y+t.image.Y,r);break}let d=a[t.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=s,W(a)(t.label.text,n,t.x,t.y+t.label.Y,t.width,t.height,{fill:s},d),d=a[t.typeC4Shape.text+"Font"](),d.fontColor=s,t.techn&&((o=t.techn)==null?void 0:o.text)!==""?W(a)(t.techn.text,n,t.x,t.y+t.techn.Y,t.width,t.height,{fill:s,"font-style":"italic"},d):t.type&&t.type.text!==""&&W(a)(t.type.text,n,t.x,t.y+t.type.Y,t.width,t.height,{fill:s,"font-style":"italic"},d),t.descr&&t.descr.text!==""&&(d=a.personFont(),d.fontColor=s,W(a)(t.descr.text,n,t.x,t.y+t.descr.Y,t.width,t.height,{fill:s},d)),t.height},f0=function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},p0=function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},y0=function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},g0=function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},b0=function(e){e.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},_0=function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},x0=function(e){e.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},m0=function(e){const a=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);a.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),a.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},E0=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),W=function(){function e(l,i,s,r,n,h,f){const d=i.append("text").attr("x",s+n/2).attr("y",r+h/2+5).style("text-anchor","middle").text(l);o(d,f)}function t(l,i,s,r,n,h,f,d){const{fontSize:p,fontFamily:E,fontWeight:O}=d,R=l.split(Kt.lineBreakRegex);for(let S=0;S=this.data.widthLimit||o>=this.data.widthLimit||this.nextData.cnt>ye)&&(a=this.nextData.startx+t.margin+b.nextLinePaddingX,l=this.nextData.stopy+t.margin*2,this.nextData.stopx=o=a+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=l+t.height,this.nextData.cnt=1),t.x=a,t.y=l,this.updateVal(this.data,"startx",a,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",o,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",a,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",o,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},$t(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const $t=function(e){Re(b,e),e.fontFamily&&(b.personFontFamily=b.systemFontFamily=b.messageFontFamily=e.fontFamily),e.fontSize&&(b.personFontSize=b.systemFontSize=b.messageFontSize=e.fontSize),e.fontWeight&&(b.personFontWeight=b.systemFontWeight=b.messageFontWeight=e.fontWeight)},Rt=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Bt=e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),v0=e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight});function I(e,t,a,o,l){if(!t[e].width)if(a)t[e].text=Se(t[e].text,l,o),t[e].textLines=t[e].text.split(Kt.lineBreakRegex).length,t[e].width=l,t[e].height=oe(t[e].text,o);else{let i=t[e].text.split(Kt.lineBreakRegex);t[e].textLines=i.length;let s=0;t[e].height=0,t[e].width=0;for(const r of i)t[e].width=Math.max(wt(r,o),t[e].width),s=oe(r,o),t[e].height=t[e].height+s}}const be=function(e,t,a){t.x=a.data.startx,t.y=a.data.starty,t.width=a.data.stopx-a.data.startx,t.height=a.data.stopy-a.data.starty,t.label.y=b.c4ShapeMargin-35;let o=t.wrap&&b.wrap,l=Bt(b);l.fontSize=l.fontSize+2,l.fontWeight="bold";let i=wt(t.label.text,l);I("label",t,o,l,i),F.drawBoundary(e,t,b)},_e=function(e,t,a,o){let l=0;for(const i of o){l=0;const s=a[i];let r=Rt(b,s.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,s.typeC4Shape.width=wt("«"+s.typeC4Shape.text+"»",r),s.typeC4Shape.height=r.fontSize+2,s.typeC4Shape.Y=b.c4ShapePadding,l=s.typeC4Shape.Y+s.typeC4Shape.height-4,s.image={width:0,height:0,Y:0},s.typeC4Shape.text){case"person":case"external_person":s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height;break}s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height);let n=s.wrap&&b.wrap,h=b.width-b.c4ShapePadding*2,f=Rt(b,s.typeC4Shape.text);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",I("label",s,n,f,h),s.label.Y=l+8,l=s.label.Y+s.label.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let E=Rt(b,s.typeC4Shape.text);I("type",s,n,E,h),s.type.Y=l+5,l=s.type.Y+s.type.height}else if(s.techn&&s.techn.text!==""){s.techn.text="["+s.techn.text+"]";let E=Rt(b,s.techn.text);I("techn",s,n,E,h),s.techn.Y=l+5,l=s.techn.Y+s.techn.height}let d=l,p=s.label.width;if(s.descr&&s.descr.text!==""){let E=Rt(b,s.typeC4Shape.text);I("descr",s,n,E,h),s.descr.Y=l+20,l=s.descr.Y+s.descr.height,p=Math.max(s.label.width,s.descr.width),d=l-s.descr.textLines*5}p=p+b.c4ShapePadding,s.width=Math.max(s.width||b.width,p,b.width),s.height=Math.max(s.height||b.height,d,b.height),s.margin=s.margin||b.c4ShapeMargin,e.insert(s),F.drawC4Shape(t,s,b)}e.bumpLastMargin(b.c4ShapeMargin)};class B{constructor(t,a){this.x=t,this.y=a}}let ce=function(e,t){let a=e.x,o=e.y,l=t.x,i=t.y,s=a+e.width/2,r=o+e.height/2,n=Math.abs(a-l),h=Math.abs(o-i),f=h/n,d=e.height/e.width,p=null;return o==i&&al?p=new B(a,r):a==l&&oi&&(p=new B(s,o)),a>l&&o=f?p=new B(a,r+f*e.width/2):p=new B(s-n/h*e.height/2,o+e.height):a=f?p=new B(a+e.width,r+f*e.width/2):p=new B(s+n/h*e.height/2,o+e.height):ai?d>=f?p=new B(a+e.width,r-f*e.width/2):p=new B(s+e.height/2*n/h,o):a>l&&o>i&&(d>=f?p=new B(a,r-e.width/2*f):p=new B(s-e.height/2*n/h,o)),p},k0=function(e,t){let a={x:0,y:0};a.x=t.x+t.width/2,a.y=t.y+t.height/2;let o=ce(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let l=ce(t,a);return{startPoint:o,endPoint:l}};const A0=function(e,t,a,o){let l=0;for(let i of t){l=l+1;let s=i.wrap&&b.wrap,r=v0(b);o.db.getC4Type()==="C4Dynamic"&&(i.label.text=l+": "+i.label.text);let h=wt(i.label.text,r);I("label",i,s,r,h),i.techn&&i.techn.text!==""&&(h=wt(i.techn.text,r),I("techn",i,s,r,h)),i.descr&&i.descr.text!==""&&(h=wt(i.descr.text,r),I("descr",i,s,r,h));let f=a(i.from),d=a(i.to),p=k0(f,d);i.startPoint=p.startPoint,i.endPoint=p.endPoint}F.drawRels(e,t,b)};function xe(e,t,a,o,l){let i=new ge(l);i.data.widthLimit=a.data.widthLimit/Math.min(Zt,o.length);for(let[s,r]of o.entries()){let n=0;r.image={width:0,height:0,Y:0},r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=n,n=r.image.Y+r.image.height);let h=r.wrap&&b.wrap,f=Bt(b);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",I("label",r,h,f,i.data.widthLimit),r.label.Y=n+8,n=r.label.Y+r.label.height,r.type&&r.type.text!==""){r.type.text="["+r.type.text+"]";let O=Bt(b);I("type",r,h,O,i.data.widthLimit),r.type.Y=n+5,n=r.type.Y+r.type.height}if(r.descr&&r.descr.text!==""){let O=Bt(b);O.fontSize=O.fontSize-2,I("descr",r,h,O,i.data.widthLimit),r.descr.Y=n+20,n=r.descr.Y+r.descr.height}if(s==0||s%Zt===0){let O=a.data.startx+b.diagramMarginX,R=a.data.stopy+b.diagramMarginY+n;i.setData(O,O,R,R)}else{let O=i.data.stopx!==i.data.startx?i.data.stopx+b.diagramMarginX:i.data.startx,R=i.data.starty;i.setData(O,O,R,R)}i.name=r.alias;let d=l.db.getC4ShapeArray(r.alias),p=l.db.getC4ShapeKeys(r.alias);p.length>0&&_e(i,e,d,p),t=r.alias;let E=l.db.getBoundarys(t);E.length>0&&xe(e,t,i,E,l),r.alias!=="global"&&be(e,r,i),a.data.stopy=Math.max(i.data.stopy+b.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(i.data.stopx+b.c4ShapeMargin,a.data.stopx),Ut=Math.max(Ut,a.data.stopx),Ft=Math.max(Ft,a.data.stopy)}}const C0=function(e,t,a,o){b=Dt().c4;const l=Dt().securityLevel;let i;l==="sandbox"&&(i=Nt("#i"+t));const s=l==="sandbox"?Nt(i.nodes()[0].contentDocument.body):Nt("body");let r=o.db;o.db.setWrap(b.wrap),ye=r.getC4ShapeInRow(),Zt=r.getC4BoundaryInRow(),le.debug(`C:${JSON.stringify(b,null,2)}`);const n=l==="sandbox"?s.select(`[id="${t}"]`):Nt(`[id="${t}"]`);F.insertComputerIcon(n),F.insertDatabaseIcon(n),F.insertClockIcon(n);let h=new ge(o);h.setData(b.diagramMarginX,b.diagramMarginX,b.diagramMarginY,b.diagramMarginY),h.data.widthLimit=screen.availWidth,Ut=b.diagramMarginX,Ft=b.diagramMarginY;const f=o.db.getTitle();let d=o.db.getBoundarys("");xe(n,"",h,d,o),F.insertArrowHead(n),F.insertArrowEnd(n),F.insertArrowCrossHead(n),F.insertArrowFilledHead(n),A0(n,o.db.getRels(),o.db.getC4Shape,o),h.data.stopx=Ut,h.data.stopy=Ft;const p=h.data;let O=p.stopy-p.starty+2*b.diagramMarginY;const S=p.stopx-p.startx+2*b.diagramMarginX;f&&n.append("text").text(f).attr("x",(p.stopx-p.startx)/2-4*b.diagramMarginX).attr("y",p.starty+b.diagramMarginY),De(n,O,S,b.useMaxWidth);const L=f?60:0;n.attr("viewBox",p.startx-b.diagramMarginX+" -"+(b.diagramMarginY+L)+" "+S+" "+(O+L)),le.debug("models:",p)},he={drawPersonOrSystemArray:_e,drawBoundary:be,setConf:$t,draw:C0},w0=e=>`.person { + stroke: ${e.personBorder}; + fill: ${e.personBkg}; + } +`,O0=w0,B0={parser:Ne,db:Jt,renderer:he,styles:O0,init:({c4:e,wrap:t})=>{he.setConf(e),Jt.setWrap(t)}};export{B0 as diagram}; diff --git a/assets/channel-OM_5qmCK.js b/assets/channel-OM_5qmCK.js new file mode 100644 index 00000000000..ef882be469b --- /dev/null +++ b/assets/channel-OM_5qmCK.js @@ -0,0 +1 @@ +import{U as a,C as n}from"./mermaid.core-wTs8WatG.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c}; diff --git a/assets/classDiagram-35230388-zoCVQU12.js b/assets/classDiagram-35230388-zoCVQU12.js new file mode 100644 index 00000000000..38fd37ec82b --- /dev/null +++ b/assets/classDiagram-35230388-zoCVQU12.js @@ -0,0 +1,2 @@ +import{p as A,d as S,s as G}from"./styles-6860f46c-fINRrQD8.js";import{c as v,l as y,h as B,i as W,x as $,u as M,T as I}from"./mermaid.core-wTs8WatG.js";import{G as O}from"./graph-sxtH378E.js";import{l as P}from"./layout-NmVD1Bdh.js";import"./request-bY2SEZNN.js";import{l as X}from"./line-NZ5yCA7P.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";let H=0;const Y=function(i,a,t,o,p){const g=function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}};a.points=a.points.filter(e=>!Number.isNaN(e.y));const s=a.points,c=X().x(function(e){return e.x}).y(function(e){return e.y}).curve($),n=i.append("path").attr("d",c(s)).attr("id","edge"+H).attr("class","relation");let r="";o.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+r+"#"+g(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+r+"#"+g(t.relation.type2)+"End)");let f,h;const x=a.points.length;let b=M.calcLabelPosition(a.points);f=b.x,h=b.y;let u,m,w,k;if(x%2!==0&&x>1){let e=M.calcCardinalityPosition(t.relation.type1!=="none",a.points,a.points[0]),d=M.calcCardinalityPosition(t.relation.type2!=="none",a.points,a.points[x-1]);y.debug("cardinality_1_point "+JSON.stringify(e)),y.debug("cardinality_2_point "+JSON.stringify(d)),u=e.x,m=e.y,w=d.x,k=d.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",f).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const l=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",l.x-o.padding/2).attr("y",l.y-o.padding/2).attr("width",l.width+o.padding).attr("height",l.height+o.padding)}y.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",w).attr("y",k).attr("fill","black").attr("font-size","6").text(t.relationTitle2),H++},J=function(i,a,t,o){y.debug("Rendering class ",a,t);const p=a.id,g={id:p,label:a.id,width:0,height:0},s=i.append("g").attr("id",o.db.lookUpDomId(p)).attr("class","classGroup");let c;a.link?c=s.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const l=c.append("tspan").text("«"+d+"»");n||l.attr("dy",t.textHeight),n=!1});let r=C(a);const f=c.append("tspan").text(r).attr("class","title");n||f.attr("dy",t.textHeight);const h=c.node().getBBox().height;let x,b,u;if(a.members.length>0){x=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin/2).attr("y2",t.padding+h+t.dividerMargin/2);const d=s.append("text").attr("x",t.padding).attr("y",h+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(l){_(d,l,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){u=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin+b.height).attr("y2",t.padding+h+t.dividerMargin+b.height);const d=s.append("text").attr("x",t.padding).attr("y",h+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(l){_(d,l,n,t),n=!1})}const m=s.node().getBBox();var w=" ";a.cssClasses.length>0&&(w=w+a.cssClasses.join(" "));const e=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",w).node().getBBox().width;return c.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&c.insert("title").text(a.tooltip),x&&x.attr("x2",e),u&&u.attr("x2",e),g.width=e,g.height=m.height+t.padding+.5*t.dividerMargin,g},C=function(i){let a=i.id;return i.type&&(a+="<"+I(i.type)+">"),a},Z=function(i,a,t,o){y.debug("Rendering note ",a,t);const p=a.id,g={id:p,text:a.text,width:0,height:0},s=i.append("g").attr("id",p).attr("class","classGroup");let c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split(` +`);n.forEach(function(x){y.debug(`Adding line: ${x}`),c.append("tspan").text(x).attr("class","title").attr("dy",t.textHeight)});const r=s.node().getBBox(),h=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",r.width+2*t.padding).attr("height",r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return c.node().childNodes.forEach(function(x){x.setAttribute("x",(h-x.getBBox().width)/2)}),g.width=h,g.height=r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin,g},_=function(i,a,t,o){const{displayText:p,cssStyle:g}=a.getDisplayDetails(),s=i.append("tspan").attr("x",o.padding).text(p);g!==""&&s.attr("style",a.cssStyle),t||s.attr("dy",o.textHeight)},N={getClassTitleString:C,drawClass:J,drawEdge:Y,drawNote:Z};let E={};const T=20,L=function(i){const a=Object.entries(E).find(t=>t[1].label===i);if(a)return a[0]},R=function(i){i.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),i.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),i.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},F=function(i,a,t,o){const p=v().class;E={},y.info("Rendering diagram "+i);const g=v().securityLevel;let s;g==="sandbox"&&(s=B("#i"+a));const c=g==="sandbox"?B(s.nodes()[0].contentDocument.body):B("body"),n=c.select(`[id='${a}']`);R(n);const r=new O({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const f=o.db.getClasses(),h=Object.keys(f);for(const e of h){const d=f[e],l=N.drawClass(n,d,p,o);E[l.id]=l,r.setNode(l.id,l),y.info("Org height: "+l.height)}o.db.getRelations().forEach(function(e){y.info("tjoho"+L(e.id1)+L(e.id2)+JSON.stringify(e)),r.setEdge(L(e.id1),L(e.id2),{relation:e},e.title||"DEFAULT")}),o.db.getNotes().forEach(function(e){y.debug(`Adding note: ${JSON.stringify(e)}`);const d=N.drawNote(n,e,p,o);E[d.id]=d,r.setNode(d.id,d),e.class&&e.class in f&&r.setEdge(e.id,L(e.class),{relation:{id1:e.id,id2:e.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),P(r),r.nodes().forEach(function(e){e!==void 0&&r.node(e)!==void 0&&(y.debug("Node "+e+": "+JSON.stringify(r.node(e))),c.select("#"+(o.db.lookUpDomId(e)||e)).attr("transform","translate("+(r.node(e).x-r.node(e).width/2)+","+(r.node(e).y-r.node(e).height/2)+" )"))}),r.edges().forEach(function(e){e!==void 0&&r.edge(e)!==void 0&&(y.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r.edge(e))),N.drawEdge(n,r.edge(e),r.edge(e).relation,p,o))});const u=n.node().getBBox(),m=u.width+T*2,w=u.height+T*2;W(n,w,m,p.useMaxWidth);const k=`${u.x-T} ${u.y-T} ${m} ${w}`;y.debug(`viewBox ${k}`),n.attr("viewBox",k)},U={draw:F},dt={parser:A,db:S,renderer:U,styles:G,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,S.clear()}};export{dt as diagram}; diff --git a/assets/classDiagram-v2-412acd34-pDNqrkUC.js b/assets/classDiagram-v2-412acd34-pDNqrkUC.js new file mode 100644 index 00000000000..7b8fdf6677c --- /dev/null +++ b/assets/classDiagram-v2-412acd34-pDNqrkUC.js @@ -0,0 +1,2 @@ +import{p as M,d as _,s as R}from"./styles-6860f46c-fINRrQD8.js";import{l as d,c,h as w,u as B,V as G,W as D,X as E,Y as C,j as A}from"./mermaid.core-wTs8WatG.js";import{G as z}from"./graph-sxtH378E.js";import{r as P}from"./index-8fae9850-9Qn4OyWZ.js";import"./request-bY2SEZNN.js";import"./layout-NmVD1Bdh.js";import"./index-ZXl4th35.js";import"./clone-EVmACGI0.js";import"./edges-d417c7a0-ff79nGD3.js";import"./createText-423428c9-K2AvnXL1.js";import"./index.demo-Ru9opRL4.js";import"./index-ISduWuPC.js";import"./FormInput-i0fsPScC.js";import"./viewport-l4O6ZIBM.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./LinkCard-AonZnIUQ.js";import"./image-fdtjzFNr.js";import"./provider-XKwIHqOQ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./use-is-client-6Iy0halI.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./lodash-lrAbnKsZ.js";import"./use-is-dark-IiysOCcN.js";import"./Gallery-QJ8JjQGt.js";import"./alert-fERsLyJJ.js";import"./FloatPopover-3waN72gb.js";import"./SocialSourceLink-Fjgxzjol.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";import"./index-HwaUk8nX.js";import"./CodeEditor-AByBrAxP.js";import"./index-D4F-WjWJ.js";import"./Mermaid-gWIn58QC.js";import"./Form-kbLn7dW2.js";import"./line-NZ5yCA7P.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";const S=s=>A.sanitizeText(s,c());let k={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const V=function(s,e,m,i){const t=Object.keys(s);d.info("keys:",t),d.info(s),t.forEach(function(a){var o,r;const l=s[a],p={shape:"rect",id:l.id,domId:l.domId,labelText:S(l.id),labelStyle:"",style:"fill: none; stroke: black",padding:((o=c().flowchart)==null?void 0:o.padding)??((r=c().class)==null?void 0:r.padding)};e.setNode(l.id,p),$(l.classes,e,m,i,l.id),d.info("setNode",p)})},$=function(s,e,m,i,t){const a=Object.keys(s);d.info("keys:",a),d.info(s),a.filter(o=>s[o].parent==t).forEach(function(o){var r,l;const n=s[o],p=n.cssClasses.join(" "),y=D(n.styles),u=n.label??n.id,b=0,f={labelStyle:y.labelStyle,shape:"class_box",labelText:S(u),classData:n,rx:b,ry:b,class:p,style:y.style,id:n.id,domId:n.domId,tooltip:i.db.getTooltip(n.id,t)||"",haveCallback:n.haveCallback,link:n.link,width:n.type==="group"?500:void 0,type:n.type,padding:((r=c().flowchart)==null?void 0:r.padding)??((l=c().class)==null?void 0:l.padding)};e.setNode(n.id,f),t&&e.setParent(n.id,t),d.info("setNode",f)})},W=function(s,e,m,i){d.info(s),s.forEach(function(t,a){var o,r;const l=t,n="",p={labelStyle:"",style:""},y=l.text,u=0,h={labelStyle:p.labelStyle,shape:"note",labelText:S(y),noteData:l,rx:u,ry:u,class:n,style:p.style,id:l.id,domId:l.id,tooltip:"",type:"note",padding:((o=c().flowchart)==null?void 0:o.padding)??((r=c().class)==null?void 0:r.padding)};if(e.setNode(l.id,h),d.info("setNode",h),!l.class||!(l.class in i))return;const f=m+a,x={id:`edgeNote${f}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:E(k.curve,C)};e.setEdge(l.id,l.class,x,f)})},q=function(s,e){const m=c().flowchart;let i=0;s.forEach(function(t){var a;i++;const o={classes:"relation",pattern:t.relation.lineType==1?"dashed":"solid",id:`id_${t.id1}_${t.id2}_${i}`,arrowhead:t.type==="arrow_open"?"none":"normal",startLabelRight:t.relationTitle1==="none"?"":t.relationTitle1,endLabelLeft:t.relationTitle2==="none"?"":t.relationTitle2,arrowTypeStart:N(t.relation.type1),arrowTypeEnd:N(t.relation.type2),style:"fill:none",labelStyle:"",curve:E(m?.curve,C)};if(d.info(o,t),t.style!==void 0){const r=D(t.style);o.style=r.style,o.labelStyle=r.labelStyle}t.text=t.title,t.text===void 0?t.style!==void 0&&(o.arrowheadStyle="fill: #333"):(o.arrowheadStyle="fill: #333",o.labelpos="c",((a=c().flowchart)==null?void 0:a.htmlLabels)??c().htmlLabels?(o.labelType="html",o.label=''+t.text+""):(o.labelType="text",o.label=t.text.replace(A.lineBreakRegex,` +`),t.style===void 0&&(o.style=o.style||"stroke: #333; stroke-width: 1.5px;fill:none"),o.labelStyle=o.labelStyle.replace("color:","fill:"))),e.setEdge(t.id1,t.id2,o,i)})},F=function(s){k={...k,...s}},H=async function(s,e,m,i){d.info("Drawing class - ",e);const t=c().flowchart??c().class,a=c().securityLevel;d.info("config:",t);const o=t?.nodeSpacing??50,r=t?.rankSpacing??50,l=new z({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:o,ranksep:r,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),n=i.db.getNamespaces(),p=i.db.getClasses(),y=i.db.getRelations(),u=i.db.getNotes();d.info(y),V(n,l,e,i),$(p,l,e,i),q(y,l),W(u,l,y.length+1,p);let b;a==="sandbox"&&(b=w("#i"+e));const h=a==="sandbox"?w(b.nodes()[0].contentDocument.body):w("body"),f=h.select(`[id="${e}"]`),x=h.select("#"+e+" g");if(await P(x,l,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",e),B.insertTitle(f,"classTitleText",t?.titleTopMargin??5,i.db.getDiagramTitle()),G(l,f,t?.diagramPadding,t?.useMaxWidth),!t?.htmlLabels){const T=a==="sandbox"?b.nodes()[0].contentDocument:document,I=T.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const g of I){const L=g.getBBox(),v=T.createElementNS("http://www.w3.org/2000/svg","rect");v.setAttribute("rx",0),v.setAttribute("ry",0),v.setAttribute("width",L.width),v.setAttribute("height",L.height),g.insertBefore(v,g.firstChild)}}};function N(s){let e;switch(s){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}const X={setConf:F,draw:H},zt={parser:M,db:_,renderer:X,styles:R,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,_.clear()}};export{zt as diagram}; diff --git a/assets/clone-EVmACGI0.js b/assets/clone-EVmACGI0.js new file mode 100644 index 00000000000..18e55bb0b9e --- /dev/null +++ b/assets/clone-EVmACGI0.js @@ -0,0 +1 @@ +import{b as r}from"./graph-sxtH378E.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/assets/cpp-cgV7S8m5.js b/assets/cpp-cgV7S8m5.js new file mode 100644 index 00000000000..66b308dd73f --- /dev/null +++ b/assets/cpp-cgV7S8m5.js @@ -0,0 +1,186 @@ +import t from"./c-1HqcaTLZ.js";import e from"./sql-KWFjTZGI.js";const c=Object.freeze({displayName:"GLSL",fileTypes:["vs","fs","gs","vsh","fsh","gsh","vshader","fshader","gshader","vert","frag","geom","f.glsl","v.glsl","g.glsl"],foldingStartMarker:"/\\*\\*|\\{\\s*$",foldingStopMarker:"\\*\\*/|^\\s*\\}",name:"glsl",patterns:[{match:"\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\b",name:"keyword.control.glsl"},{match:"\\b(void|bool|int|uint|float|vec2|vec3|vec4|bvec2|bvec3|bvec4|ivec2|ivec2|ivec3|uvec2|uvec2|uvec3|mat2|mat3|mat4|mat2x2|mat2x3|mat2x4|mat3x2|mat3x3|mat3x4|mat4x2|mat4x3|mat4x4|sampler[1|2|3]D|samplerCube|sampler2DRect|sampler[1|2]DShadow|sampler2DRectShadow|sampler[1|2]DArray|sampler[1|2]DArrayShadow|samplerBuffer|sampler2DMS|sampler2DMSArray|struct|isampler[1|2|3]D|isamplerCube|isampler2DRect|isampler[1|2]DArray|isamplerBuffer|isampler2DMS|isampler2DMSArray|usampler[1|2|3]D|usamplerCube|usampler2DRect|usampler[1|2]DArray|usamplerBuffer|usampler2DMS|usampler2DMSArray)\\b",name:"storage.type.glsl"},{match:"\\b(attribute|centroid|const|flat|in|inout|invariant|noperspective|out|smooth|uniform|varying)\\b",name:"storage.modifier.glsl"},{match:"\\b(gl_BackColor|gl_BackLightModelProduct|gl_BackLightProduct|gl_BackMaterial|gl_BackSecondaryColor|gl_ClipDistance|gl_ClipPlane|gl_ClipVertex|gl_Color|gl_DepthRange|gl_DepthRangeParameters|gl_EyePlaneQ|gl_EyePlaneR|gl_EyePlaneS|gl_EyePlaneT|gl_Fog|gl_FogCoord|gl_FogFragCoord|gl_FogParameters|gl_FragColor|gl_FragCoord|gl_FragDat|gl_FragDept|gl_FrontColor|gl_FrontFacing|gl_FrontLightModelProduct|gl_FrontLightProduct|gl_FrontMaterial|gl_FrontSecondaryColor|gl_InstanceID|gl_Layer|gl_LightModel|gl_LightModelParameters|gl_LightModelProducts|gl_LightProducts|gl_LightSource|gl_LightSourceParameters|gl_MaterialParameters|gl_ModelViewMatrix|gl_ModelViewMatrixInverse|gl_ModelViewMatrixInverseTranspose|gl_ModelViewMatrixTranspose|gl_ModelViewProjectionMatrix|gl_ModelViewProjectionMatrixInverse|gl_ModelViewProjectionMatrixInverseTranspose|gl_ModelViewProjectionMatrixTranspose|gl_MultiTexCoord[0-7]|gl_Normal|gl_NormalMatrix|gl_NormalScale|gl_ObjectPlaneQ|gl_ObjectPlaneR|gl_ObjectPlaneS|gl_ObjectPlaneT|gl_Point|gl_PointCoord|gl_PointParameters|gl_PointSize|gl_Position|gl_PrimitiveIDIn|gl_ProjectionMatrix|gl_ProjectionMatrixInverse|gl_ProjectionMatrixInverseTranspose|gl_ProjectionMatrixTranspose|gl_SecondaryColor|gl_TexCoord|gl_TextureEnvColor|gl_TextureMatrix|gl_TextureMatrixInverse|gl_TextureMatrixInverseTranspose|gl_TextureMatrixTranspose|gl_Vertex|gl_VertexIDh)\\b",name:"support.variable.glsl"},{match:"\\b(gl_MaxClipPlanes|gl_MaxCombinedTextureImageUnits|gl_MaxDrawBuffers|gl_MaxFragmentUniformComponents|gl_MaxLights|gl_MaxTextureCoords|gl_MaxTextureImageUnits|gl_MaxTextureUnits|gl_MaxVaryingFloats|gl_MaxVertexAttribs|gl_MaxVertexTextureImageUnits|gl_MaxVertexUniformComponents)\\b",name:"support.constant.glsl"},{match:"\\b(abs|acos|all|any|asin|atan|ceil|clamp|cos|cross|degrees|dFdx|dFdy|distance|dot|equal|exp|exp2|faceforward|floor|fract|ftransform|fwidth|greaterThan|greaterThanEqual|inversesqrt|length|lessThan|lessThanEqual|log|log2|matrixCompMult|max|min|mix|mod|noise[1-4]|normalize|not|notEqual|outerProduct|pow|radians|reflect|refract|shadow1D|shadow1DLod|shadow1DProj|shadow1DProjLod|shadow2D|shadow2DLod|shadow2DProj|shadow2DProjLod|sign|sin|smoothstep|sqrt|step|tan|texture1D|texture1DLod|texture1DProj|texture1DProjLod|texture2D|texture2DLod|texture2DProj|texture2DProjLod|texture3D|texture3DLod|texture3DProj|texture3DProjLod|textureCube|textureCubeLod|transpose)\\b",name:"support.function.glsl"},{match:"\\b(asm|double|enum|extern|goto|inline|long|short|sizeof|static|typedef|union|unsigned|volatile)\\b",name:"invalid.illegal.glsl"},{include:"source.c"}],scopeName:"source.glsl",embeddedLangs:["c"]});var n=[...t,c];const a=Object.freeze({displayName:"C++",name:"cpp-macro",patterns:[{include:"#ever_present_context"},{include:"#constructor_root"},{include:"#destructor_root"},{include:"#function_definition"},{include:"#operator_overload"},{include:"#using_namespace"},{include:"source.cpp#type_alias"},{include:"source.cpp#using_name"},{include:"source.cpp#namespace_alias"},{include:"#namespace_block"},{include:"#extern_block"},{include:"#typedef_class"},{include:"#typedef_struct"},{include:"#typedef_union"},{include:"source.cpp#misc_keywords"},{include:"source.cpp#standard_declares"},{include:"#class_block"},{include:"#struct_block"},{include:"#union_block"},{include:"#enum_block"},{include:"source.cpp#template_isolated_definition"},{include:"#template_definition"},{include:"source.cpp#template_explicit_instantiation"},{include:"source.cpp#access_control_keywords"},{include:"#block"},{include:"#static_assert"},{include:"#assembly"},{include:"#function_pointer"},{include:"#evaluation_context"}],repository:{alignas_attribute:{begin:"alignas\\(",beginCaptures:{0:{name:"punctuation.section.attribute.begin.cpp"}},end:`\\)|(?=(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.italic.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.bold.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.inline.raw.string.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.cpp"}]},3:{patterns:[{match:"(?|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.italic.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.bold.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.inline.raw.string.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.cpp"}]},3:{patterns:[{match:"(?|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.italic.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.bold.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.inline.raw.string.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.cpp"}]},3:{patterns:[{match:"(?|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(\\()`,beginCaptures:{1:{name:"entity.name.function.call.initializer.cpp"},2:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},3:{},4:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},5:{name:"comment.block.cpp"},6:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},7:{name:"punctuation.section.arguments.begin.bracket.round.function.call.initializer.cpp"}},contentName:"meta.parameter.initialization",end:`\\)|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)(((?>(?|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(\\()`,beginCaptures:{1:{name:"entity.name.function.call.initializer.cpp"},2:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},3:{},4:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},5:{name:"comment.block.cpp"},6:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},7:{name:"punctuation.section.arguments.begin.bracket.round.function.call.initializer.cpp"}},contentName:"meta.parameter.initialization",end:`\\)|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\{)`,beginCaptures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?|(?=(?|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)(((?>(?|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::))?(?:\\s+)?((?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)\\b(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(\\()`,beginCaptures:{1:{patterns:[{include:"source.cpp#scope_resolution_function_call_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.call.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.function.call.cpp"},6:{patterns:[{include:"source.cpp#inline_comment"}]},7:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},8:{name:"comment.block.cpp"},9:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},10:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},11:{},12:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},13:{name:"comment.block.cpp"},14:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},15:{name:"punctuation.section.arguments.begin.bracket.round.function.call.cpp"}},end:`\\)|(?=(?|\\*\\/))\\s*+(?:((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)\\b(?|(?=(?|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?|(?=(?)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))`},{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:`\\}|%>|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\()(\\*)(?:\\s+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:\\s+)?(?:(\\[)(\\w*)(\\])(?:\\s+)?)*(\\))(?:\\s+)?(\\()`,beginCaptures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?|(?=(?]|\\n)(?!\\()|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\()(\\*)(?:\\s+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:\\s+)?(?:(\\[)(\\w*)(\\])(?:\\s+)?)*(\\))(?:\\s+)?(\\()`,beginCaptures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?|(?=(?]|\\n)(?!\\()|(?=(?|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))`}]},lambdas:{begin:'(?:(?<=[^\\s]|^)(?])|(?<=\\Wreturn|^return))(?:\\s+)?(\\[(?!\\[| *+"| *+\\d))((?:[^\\[\\]]|((??)++\\]))*+)(\\](?!((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))[\\[\\];=]))',beginCaptures:{1:{name:"punctuation.definition.capture.begin.lambda.cpp"},2:{name:"meta.lambda.capture.cpp",patterns:[{include:"source.cpp#the_this_keyword"},{captures:{1:{name:"variable.parameter.capture.cpp"},2:{patterns:[{include:"source.cpp#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"punctuation.separator.delimiter.comma.cpp"},7:{name:"keyword.operator.assignment.cpp"}},match:"((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:(?=\\]|\\z|$)|(,))|(\\=))"},{include:"#evaluation_context"}]},3:{},4:{name:"punctuation.definition.capture.end.lambda.cpp"},5:{patterns:[{include:"source.cpp#inline_comment"}]},6:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},7:{name:"comment.block.cpp"},8:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},end:`(?<=[;}])|(?=(?",beginCaptures:{0:{name:"punctuation.definition.lambda.return-type.cpp"}},end:`(?=\\{)|(?=(?\\*|->)))((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?:\\s+)?(?:(?:\\.\\*|\\.)|(?:->\\*|->))(?:\\s+)?)*)(?:\\s+)?(~?(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)(?:\\s+)?(\\()",beginCaptures:{1:{patterns:[{include:"source.cpp#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},5:{name:"variable.language.this.cpp"},6:{name:"variable.other.object.access.cpp"},7:{name:"punctuation.separator.dot-access.cpp"},8:{name:"punctuation.separator.pointer-access.cpp"},9:{patterns:[{captures:{1:{patterns:[{include:"source.cpp#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},5:{name:"variable.language.this.cpp"},6:{name:"variable.other.object.property.cpp"},7:{name:"punctuation.separator.dot-access.cpp"},8:{name:"punctuation.separator.pointer-access.cpp"}},match:"(?<=(?:\\.\\*|\\.|->|->\\*))(?:\\s+)?(?:((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?\\*|->)))"},{captures:{1:{patterns:[{include:"source.cpp#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},5:{name:"variable.language.this.cpp"},6:{name:"variable.other.object.access.cpp"},7:{name:"punctuation.separator.dot-access.cpp"},8:{name:"punctuation.separator.pointer-access.cpp"}},match:"(?:((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?\\*|->)))"},{include:"source.cpp#member_access"},{include:"#method_access"}]},10:{name:"entity.name.function.member.cpp"},11:{name:"punctuation.section.arguments.begin.bracket.round.function.member.cpp"}},end:`\\)|(?=(?|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)(?:\\s+)?((?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)(operator)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)(?:(?:((?:(?:delete\\[\\])|(?:delete)|(?:new\\[\\])|(?:<=>)|(?:<<=)|(?:new)|(?:>>=)|(?:\\->\\*)|(?:\\/=)|(?:%=)|(?:&=)|(?:>=)|(?:\\|=)|(?:\\+\\+)|(?:\\-\\-)|(?:\\(\\))|(?:\\[\\])|(?:\\->)|(?:\\+\\+)|(?:<<)|(?:>>)|(?:\\-\\-)|(?:<=)|(?:\\^=)|(?:==)|(?:!=)|(?:&&)|(?:\\|\\|)|(?:\\+=)|(?:\\-=)|(?:\\*=)|,|\\+|\\-|!|~|\\*|&|\\*|\\/|%|\\+|\\-|<|>|&|\\^|\\||=))|((?|(?=(?|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?>=|\\|=",name:"keyword.operator.assignment.compound.bitwise.cpp"},{match:"<<|>>",name:"keyword.operator.bitwise.shift.cpp"},{match:"!=|<=|>=|==|<|>",name:"keyword.operator.comparison.cpp"},{match:"&&|!|\\|\\|",name:"keyword.operator.logical.cpp"},{match:"&|\\||\\^|~",name:"keyword.operator.bitwise.cpp"},{include:"source.cpp#assignment_operator"},{match:"%|\\*|\\/|-|\\+",name:"keyword.operator.arithmetic.cpp"},{include:"#ternary_operator"}]},parameter:{begin:"((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?=\\w)",beginCaptures:{1:{patterns:[{include:"source.cpp#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},end:`(?:(?=\\))|(,))|(?=(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?=(?|(?=(?|(?=(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\()(\\*)(?:\\s+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:\\s+)?(?:(\\[)(\\w*)(\\])(?:\\s+)?)*(\\))(?:\\s+)?(\\()`,beginCaptures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?|(?=(?]|\\n)(?!\\()|(?=(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?|\\?\\?>|(?=(?|\\?\\?>)[\\s]*",beginCaptures:{},end:`[\\s]*(?=;)|(?=(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)?((?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))",endCaptures:{1:{name:"punctuation.terminator.statement.cpp"},2:{name:"punctuation.terminator.statement.cpp"}},name:"meta.block.class.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.class.cpp"}},name:"meta.head.class.cpp",patterns:[{include:"#ever_present_context"},{include:"#inheritance_context"},{include:"#template_call_range"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.class.cpp"}},name:"meta.body.class.cpp",patterns:[{include:"#function_pointer"},{include:"#static_assert"},{include:"#constructor_inline"},{include:"#destructor_inline"},{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.class.cpp",patterns:[{include:"$self"}]}]},class_declare:{captures:{1:{name:"storage.type.class.declare.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},4:{name:"entity.name.type.class.cpp"},5:{patterns:[{match:"\\*",name:"storage.modifier.pointer.cpp"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"(?:\\&((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))){2,}\\&",name:"invalid.illegal.reference-type.cpp"},{match:"\\&",name:"storage.modifier.reference.cpp"}]},6:{patterns:[{include:"#inline_comment"}]},7:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},8:{patterns:[{include:"#inline_comment"}]},9:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},10:{patterns:[{include:"#inline_comment"}]},11:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},12:{name:"variable.other.object.declare.cpp"},13:{patterns:[{include:"#inline_comment"}]},14:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]}},match:"((?|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.italic.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.bold.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.inline.raw.string.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.cpp"}]},3:{patterns:[{match:"(?|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.italic.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.bold.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.inline.raw.string.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.cpp"}]},3:{patterns:[{match:"(?|%|"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?',name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.italic.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:a|em|e))\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.bold.doxygen.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@]b)\\s+(\\S+)"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{name:"markup.inline.raw.string.cpp"}},match:"((?<=[\\s*!\\/])[\\\\@](?:c|p))\\s+(\\S+)"},{match:"(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{match:"(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",name:"storage.type.class.doxygen.cpp"},{captures:{1:{name:"storage.type.class.doxygen.cpp"},2:{patterns:[{match:"in|out",name:"keyword.other.parameter.direction.$0.cpp"}]},3:{patterns:[{match:"(?|\\?\\?>)|(?=[;>\\[\\]=]))",endCaptures:{},name:"meta.function.definition.special.constructor.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.function.definition.special.constructor.cpp"}},name:"meta.head.function.definition.special.constructor.cpp",patterns:[{include:"#ever_present_context"},{captures:{1:{name:"keyword.operator.assignment.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"keyword.other.default.function.cpp keyword.other.default.constructor.cpp"},7:{name:"keyword.other.delete.function.cpp keyword.other.delete.constructor.cpp"}},match:"(\\=)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(default)|(delete))"},{include:"#functional_specifiers_pre_parameters"},{begin:":",beginCaptures:{0:{name:"punctuation.separator.initializers.cpp"}},end:"(?=\\{)",endCaptures:{},patterns:[{begin:`((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(\\()`,beginCaptures:{1:{name:"entity.name.function.call.initializer.cpp"},2:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},3:{},4:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},5:{name:"comment.block.cpp"},6:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},7:{name:"punctuation.section.arguments.begin.bracket.round.function.call.initializer.cpp"}},contentName:"meta.parameter.initialization",end:"\\)",endCaptures:{0:{name:"punctuation.section.arguments.end.bracket.round.function.call.initializer.cpp"}},patterns:[{include:"#evaluation_context"}]},{begin:"((?|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.function.definition.special.constructor.cpp"}},name:"meta.body.function.definition.special.constructor.cpp",patterns:[{include:"#function_body_context"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.function.definition.special.constructor.cpp",patterns:[{include:"$self"}]}]},constructor_root:{begin:`\\s*+((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)(((?>(?|\\?\\?>)|(?=[;>\\[\\]=]))",endCaptures:{},name:"meta.function.definition.special.constructor.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.function.definition.special.constructor.cpp"}},name:"meta.head.function.definition.special.constructor.cpp",patterns:[{include:"#ever_present_context"},{captures:{1:{name:"keyword.operator.assignment.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"keyword.other.default.function.cpp keyword.other.default.constructor.cpp"},7:{name:"keyword.other.delete.function.cpp keyword.other.delete.constructor.cpp"}},match:"(\\=)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(default)|(delete))"},{include:"#functional_specifiers_pre_parameters"},{begin:":",beginCaptures:{0:{name:"punctuation.separator.initializers.cpp"}},end:"(?=\\{)",endCaptures:{},patterns:[{begin:`((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(\\()`,beginCaptures:{1:{name:"entity.name.function.call.initializer.cpp"},2:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},3:{},4:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},5:{name:"comment.block.cpp"},6:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},7:{name:"punctuation.section.arguments.begin.bracket.round.function.call.initializer.cpp"}},contentName:"meta.parameter.initialization",end:"\\)",endCaptures:{0:{name:"punctuation.section.arguments.end.bracket.round.function.call.initializer.cpp"}},patterns:[{include:"#evaluation_context"}]},{begin:"((?|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.function.definition.special.constructor.cpp"}},name:"meta.body.function.definition.special.constructor.cpp",patterns:[{include:"#function_body_context"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.function.definition.special.constructor.cpp",patterns:[{include:"$self"}]}]},control_flow_keywords:{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},3:{name:"keyword.control.$3.cpp"}},match:"((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\{)`,beginCaptures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},2:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},3:{patterns:[{include:"#inline_comment"}]},4:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},5:{name:"comment.block.cpp"},6:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},7:{patterns:[{include:"#inline_comment"}]},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?]*(>?)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:\\n|$)|(?=\\/\\/)))|((\\")[^\\"]*(\\"?)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:\\n|$)|(?=\\/\\/))))|(((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?:\\.(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)*((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:\\n|$)|(?=(?:\\/\\/|;)))))|((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:\\n|$)|(?=(?:\\/\\/|;))))(?:\\s+)?(;?)',name:"meta.preprocessor.import.cpp"},d9bc4796b0b_preprocessor_number_literal:{captures:{0:{patterns:[{begin:"(?=.)",beginCaptures:{},end:"$",endCaptures:{},patterns:[{captures:{1:{name:"keyword.other.unit.hexadecimal.cpp"},2:{name:"constant.numeric.hexadecimal.cpp",patterns:[{match:"(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.cpp"}]},3:{name:"punctuation.separator.constant.numeric.cpp"},4:{name:"constant.numeric.hexadecimal.cpp"},5:{name:"constant.numeric.hexadecimal.cpp",patterns:[{match:"(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.cpp"}]},6:{name:"punctuation.separator.constant.numeric.cpp"},7:{name:"keyword.other.unit.exponent.hexadecimal.cpp"},8:{name:"keyword.operator.plus.exponent.hexadecimal.cpp"},9:{name:"keyword.operator.minus.exponent.hexadecimal.cpp"},10:{name:"constant.numeric.exponent.hexadecimal.cpp",patterns:[{match:"(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.cpp"}]},11:{name:"keyword.other.suffix.literal.built-in.floating-point.cpp keyword.other.unit.suffix.floating-point.cpp"}},match:"(\\G0[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])))([0-9a-fA-F](?:[0-9a-fA-F]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F])))*)?(?:(?|\\?\\?>)|(?=[;>\\[\\]=]))",endCaptures:{},name:"meta.function.definition.special.member.destructor.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.function.definition.special.member.destructor.cpp"}},name:"meta.head.function.definition.special.member.destructor.cpp",patterns:[{include:"#ever_present_context"},{captures:{1:{name:"keyword.operator.assignment.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"keyword.other.default.function.cpp keyword.other.default.constructor.cpp keyword.other.default.destructor.cpp"},7:{name:"keyword.other.delete.function.cpp keyword.other.delete.constructor.cpp keyword.other.delete.destructor.cpp"}},match:"(\\=)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(default)|(delete))"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parameters.begin.bracket.round.special.member.destructor.cpp"}},contentName:"meta.function.definition.parameters.special.member.destructor",end:"\\)",endCaptures:{0:{name:"punctuation.section.parameters.end.bracket.round.special.member.destructor.cpp"}},patterns:[]},{include:"#qualifiers_and_specifiers_post_parameters"},{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.function.definition.special.member.destructor.cpp"}},name:"meta.body.function.definition.special.member.destructor.cpp",patterns:[{include:"#function_body_context"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.function.definition.special.member.destructor.cpp",patterns:[{include:"$self"}]}]},destructor_root:{begin:`((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)(((?>(?|\\?\\?>)|(?=[;>\\[\\]=]))",endCaptures:{},name:"meta.function.definition.special.member.destructor.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.function.definition.special.member.destructor.cpp"}},name:"meta.head.function.definition.special.member.destructor.cpp",patterns:[{include:"#ever_present_context"},{captures:{1:{name:"keyword.operator.assignment.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"keyword.other.default.function.cpp keyword.other.default.constructor.cpp keyword.other.default.destructor.cpp"},7:{name:"keyword.other.delete.function.cpp keyword.other.delete.constructor.cpp keyword.other.delete.destructor.cpp"}},match:"(\\=)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(default)|(delete))"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parameters.begin.bracket.round.special.member.destructor.cpp"}},contentName:"meta.function.definition.parameters.special.member.destructor",end:"\\)",endCaptures:{0:{name:"punctuation.section.parameters.end.bracket.round.special.member.destructor.cpp"}},patterns:[]},{include:"#qualifiers_and_specifiers_post_parameters"},{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.function.definition.special.member.destructor.cpp"}},name:"meta.body.function.definition.special.member.destructor.cpp",patterns:[{include:"#function_body_context"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.function.definition.special.member.destructor.cpp",patterns:[{include:"$self"}]}]},diagnostic:{begin:"(^((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(#)(?:\\s+)?((?:error|warning)))\\b(?:\\s+)?",beginCaptures:{1:{name:"keyword.control.directive.diagnostic.$7.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"punctuation.definition.directive.cpp"},7:{}},end:"(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::))?(?:\\s+)?((?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))",endCaptures:{1:{name:"punctuation.terminator.statement.cpp"},2:{name:"punctuation.terminator.statement.cpp"}},name:"meta.block.enum.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.enum.cpp"}},name:"meta.head.enum.cpp",patterns:[{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.enum.cpp"}},name:"meta.body.enum.cpp",patterns:[{include:"#ever_present_context"},{include:"#enumerator_list"},{include:"#comments"},{include:"#comma"},{include:"#semicolon"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.enum.cpp",patterns:[{include:"$self"}]}]},enum_declare:{captures:{1:{name:"storage.type.enum.declare.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},4:{name:"entity.name.type.enum.cpp"},5:{patterns:[{match:"\\*",name:"storage.modifier.pointer.cpp"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"(?:\\&((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))){2,}\\&",name:"invalid.illegal.reference-type.cpp"},{match:"\\&",name:"storage.modifier.reference.cpp"}]},6:{patterns:[{include:"#inline_comment"}]},7:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},8:{patterns:[{include:"#inline_comment"}]},9:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},10:{patterns:[{include:"#inline_comment"}]},11:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},12:{name:"variable.other.object.declare.cpp"},13:{patterns:[{include:"#inline_comment"}]},14:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]}},match:"((?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))",endCaptures:{1:{name:"punctuation.terminator.statement.cpp"},2:{name:"punctuation.terminator.statement.cpp"}},name:"meta.block.extern.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.extern.cpp"}},name:"meta.head.extern.cpp",patterns:[{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.extern.cpp"}},name:"meta.body.extern.cpp",patterns:[{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.extern.cpp",patterns:[{include:"$self"}]},{include:"$self"}]},function_body_context:{patterns:[{include:"#ever_present_context"},{include:"#using_namespace"},{include:"#type_alias"},{include:"#using_name"},{include:"#namespace_alias"},{include:"#typedef_class"},{include:"#typedef_struct"},{include:"#typedef_union"},{include:"#misc_keywords"},{include:"#standard_declares"},{include:"#class_block"},{include:"#struct_block"},{include:"#union_block"},{include:"#enum_block"},{include:"#access_control_keywords"},{include:"#block"},{include:"#static_assert"},{include:"#assembly"},{include:"#function_pointer"},{include:"#switch_statement"},{include:"#goto_statement"},{include:"#evaluation_context"},{include:"#label"}]},function_call:{begin:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)\\b(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(\\()`,beginCaptures:{1:{patterns:[{include:"#scope_resolution_function_call_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.call.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.function.call.cpp"},6:{patterns:[{include:"#inline_comment"}]},7:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},8:{name:"comment.block.cpp"},9:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},10:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},11:{},12:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},13:{name:"comment.block.cpp"},14:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},15:{name:"punctuation.section.arguments.begin.bracket.round.function.call.cpp"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.arguments.end.bracket.round.function.call.cpp"}},patterns:[{include:"#evaluation_context"}]},function_definition:{begin:`(?:(?:^|\\G|(?<=;|\\}))|(?<=>|\\*\\/))\\s*+(?:((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)\\b(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},14:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},15:{patterns:[{include:"#inline_comment"}]},16:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},17:{name:"comment.block.cpp"},18:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},19:{patterns:[{include:"#inline_comment"}]},20:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},21:{name:"comment.block.cpp"},22:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},23:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?|\\?\\?>)|(?=[;>\\[\\]=]))",endCaptures:{},name:"meta.function.definition.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.function.definition.cpp"}},name:"meta.head.function.definition.cpp",patterns:[{include:"#ever_present_context"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parameters.begin.bracket.round.cpp"}},contentName:"meta.function.definition.parameters",end:"\\)",endCaptures:{0:{name:"punctuation.section.parameters.end.bracket.round.cpp"}},patterns:[{include:"#ever_present_context"},{include:"#parameter_or_maybe_value"},{include:"#comma"},{include:"#evaluation_context"}]},{captures:{1:{name:"punctuation.definition.function.return-type.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},7:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},8:{patterns:[{include:"#inline_comment"}]},9:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},10:{name:"comment.block.cpp"},11:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},12:{patterns:[{include:"#inline_comment"}]},13:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},14:{name:"comment.block.cpp"},15:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},16:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))`},{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.function.definition.cpp"}},name:"meta.body.function.definition.cpp",patterns:[{include:"#function_body_context"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.function.definition.cpp",patterns:[{include:"$self"}]}]},function_parameter_context:{patterns:[{include:"#ever_present_context"},{include:"#parameter"},{include:"#comma"}]},function_pointer:{begin:`(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\()(\\*)(?:\\s+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:\\s+)?(?:(\\[)(\\w*)(\\])(?:\\s+)?)*(\\))(?:\\s+)?(\\()`,beginCaptures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},2:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},3:{patterns:[{include:"#inline_comment"}]},4:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},5:{name:"comment.block.cpp"},6:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},7:{patterns:[{include:"#inline_comment"}]},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?]|\\n)(?!\\()",endCaptures:{1:{name:"punctuation.section.parameters.end.bracket.round.function.pointer.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},patterns:[{include:"#function_parameter_context"}]},function_pointer_parameter:{begin:`(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\()(\\*)(?:\\s+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:\\s+)?(?:(\\[)(\\w*)(\\])(?:\\s+)?)*(\\))(?:\\s+)?(\\()`,beginCaptures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},2:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},3:{patterns:[{include:"#inline_comment"}]},4:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},5:{name:"comment.block.cpp"},6:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},7:{patterns:[{include:"#inline_comment"}]},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?]|\\n)(?!\\()",endCaptures:{1:{name:"punctuation.section.parameters.end.bracket.round.function.pointer.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},patterns:[{include:"#function_parameter_context"}]},functional_specifiers_pre_parameters:{match:"(?]*(>?)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:\\n|$)|(?=\\/\\/)))|((\\")[^\\"]*(\\"?)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:\\n|$)|(?=\\/\\/))))|(((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?:\\.(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)*((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:\\n|$)|(?=(?:\\/\\/|;)))))|((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:\\n|$)|(?=(?:\\/\\/|;))))',name:"meta.preprocessor.include.cpp"},inheritance_context:{patterns:[{include:"#ever_present_context"},{match:",",name:"punctuation.separator.delimiter.comma.inheritance.cpp"},{match:"(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},2:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},3:{patterns:[{include:"#inline_comment"}]},4:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},5:{patterns:[{include:"#inline_comment"}]},6:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},7:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))`}]},inline_builtin_storage_type:{captures:{1:{name:"storage.type.primitive.cpp storage.type.built-in.primitive.cpp"},2:{name:"storage.type.cpp storage.type.built-in.cpp"},3:{name:"support.type.posix-reserved.pthread.cpp support.type.built-in.posix-reserved.pthread.cpp"},4:{name:"support.type.posix-reserved.cpp support.type.built-in.posix-reserved.cpp"}},match:"\\s*+(?])|(?<=\\Wreturn|^return))(?:\\s+)?(\\[(?!\\[| *+"| *+\\d))((?:[^\\[\\]]|((??)++\\]))*+)(\\](?!((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))[\\[\\];=]))',beginCaptures:{1:{name:"punctuation.definition.capture.begin.lambda.cpp"},2:{name:"meta.lambda.capture.cpp",patterns:[{include:"#the_this_keyword"},{captures:{1:{name:"variable.parameter.capture.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"punctuation.separator.delimiter.comma.cpp"},7:{name:"keyword.operator.assignment.cpp"}},match:"((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:(?=\\]|\\z|$)|(,))|(\\=))"},{include:"#evaluation_context"}]},3:{},4:{name:"punctuation.definition.capture.end.lambda.cpp"},5:{patterns:[{include:"#inline_comment"}]},6:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},7:{name:"comment.block.cpp"},8:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},end:"(?<=[;}])",endCaptures:{},patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.lambda.cpp"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.lambda.cpp"}},name:"meta.function.definition.parameters.lambda.cpp",patterns:[{include:"#function_parameter_context"}]},{match:"(?",beginCaptures:{0:{name:"punctuation.definition.lambda.return-type.cpp"}},end:"(?=\\{)",endCaptures:{},patterns:[{include:"#comments"},{match:"\\S+",name:"storage.type.return-type.lambda.cpp"}]},{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.lambda.cpp"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.lambda.cpp"}},name:"meta.function.definition.body.lambda.cpp",patterns:[{include:"$self"}]}]},language_constants:{match:"(?|->\\*))(?:\\s+)?(?:((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?\\*|->)))"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},5:{name:"variable.language.this.cpp"},6:{name:"variable.other.object.access.cpp"},7:{name:"punctuation.separator.dot-access.cpp"},8:{name:"punctuation.separator.pointer-access.cpp"}},match:"(?:((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?\\*|->)))"},{include:"#member_access"},{include:"#method_access"}]},8:{name:"variable.other.property.cpp"}},match:"(?:((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?\\*|->)))((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?:\\s+)?(?:(?:\\.\\*|\\.)|(?:->\\*|->))(?:\\s+)?)*)(?:\\s+)?(\\b(?!uint_least32_t[^\\w]|uint_least16_t[^\\w]|uint_least64_t[^\\w]|int_least32_t[^\\w]|int_least64_t[^\\w]|uint_fast32_t[^\\w]|uint_fast64_t[^\\w]|uint_least8_t[^\\w]|uint_fast16_t[^\\w]|int_least16_t[^\\w]|int_fast16_t[^\\w]|int_least8_t[^\\w]|uint_fast8_t[^\\w]|int_fast64_t[^\\w]|int_fast32_t[^\\w]|int_fast8_t[^\\w]|suseconds_t[^\\w]|useconds_t[^\\w]|in_addr_t[^\\w]|uintmax_t[^\\w]|uintmax_t[^\\w]|uintmax_t[^\\w]|in_port_t[^\\w]|uintptr_t[^\\w]|blksize_t[^\\w]|uint32_t[^\\w]|uint64_t[^\\w]|u_quad_t[^\\w]|intmax_t[^\\w]|intmax_t[^\\w]|unsigned[^\\w]|blkcnt_t[^\\w]|uint16_t[^\\w]|intptr_t[^\\w]|swblk_t[^\\w]|wchar_t[^\\w]|u_short[^\\w]|qaddr_t[^\\w]|caddr_t[^\\w]|daddr_t[^\\w]|fixpt_t[^\\w]|nlink_t[^\\w]|segsz_t[^\\w]|clock_t[^\\w]|ssize_t[^\\w]|int16_t[^\\w]|int32_t[^\\w]|int64_t[^\\w]|uint8_t[^\\w]|int8_t[^\\w]|mode_t[^\\w]|quad_t[^\\w]|ushort[^\\w]|u_long[^\\w]|u_char[^\\w]|double[^\\w]|signed[^\\w]|time_t[^\\w]|size_t[^\\w]|key_t[^\\w]|div_t[^\\w]|ino_t[^\\w]|uid_t[^\\w]|gid_t[^\\w]|off_t[^\\w]|pid_t[^\\w]|float[^\\w]|dev_t[^\\w]|u_int[^\\w]|short[^\\w]|bool[^\\w]|id_t[^\\w]|uint[^\\w]|long[^\\w]|char[^\\w]|void[^\\w]|auto[^\\w]|id_t[^\\w]|int[^\\w])(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b(?!\\())"},memory_operators:{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},3:{name:"keyword.operator.wordlike.cpp"},4:{name:"keyword.operator.delete.array.cpp"},5:{name:"keyword.operator.delete.array.bracket.cpp"},6:{name:"keyword.operator.delete.cpp"},7:{name:"keyword.operator.new.cpp"}},match:"((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:(?:(delete)(?:\\s+)?(\\[\\])|(delete))|(new))(?!\\w))"},method_access:{begin:"(?:((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?\\*|->)))((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?:\\s+)?(?:(?:\\.\\*|\\.)|(?:->\\*|->))(?:\\s+)?)*)(?:\\s+)?(~?(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)(?:\\s+)?(\\()",beginCaptures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},5:{name:"variable.language.this.cpp"},6:{name:"variable.other.object.access.cpp"},7:{name:"punctuation.separator.dot-access.cpp"},8:{name:"punctuation.separator.pointer-access.cpp"},9:{patterns:[{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},5:{name:"variable.language.this.cpp"},6:{name:"variable.other.object.property.cpp"},7:{name:"punctuation.separator.dot-access.cpp"},8:{name:"punctuation.separator.pointer-access.cpp"}},match:"(?<=(?:\\.\\*|\\.|->|->\\*))(?:\\s+)?(?:((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?\\*|->)))"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},5:{name:"variable.language.this.cpp"},6:{name:"variable.other.object.access.cpp"},7:{name:"punctuation.separator.dot-access.cpp"},8:{name:"punctuation.separator.pointer-access.cpp"}},match:"(?:((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?\\*|->)))"},{include:"#member_access"},{include:"#method_access"}]},10:{name:"entity.name.function.member.cpp"},11:{name:"punctuation.section.arguments.begin.bracket.round.function.member.cpp"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.arguments.end.bracket.round.function.member.cpp"}},patterns:[{include:"#evaluation_context"}]},misc_keywords:{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},3:{name:"keyword.other.$3.cpp"}},match:"((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)(?:\\s+)?((?|\\?\\?>)|(?=[;>\\[\\]=]))",endCaptures:{},name:"meta.block.namespace.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.namespace.cpp"}},name:"meta.head.namespace.cpp",patterns:[{include:"#ever_present_context"},{include:"#attributes_context"},{captures:{1:{patterns:[{include:"#scope_resolution_namespace_block_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.block.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.namespace.cpp"},6:{name:"punctuation.separator.scope-resolution.namespace.block.cpp"},7:{name:"storage.modifier.inline.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)(?:\\s+)?((?|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.namespace.cpp"}},name:"meta.body.namespace.cpp",patterns:[{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.namespace.cpp",patterns:[{include:"$self"}]}]},noexcept_operator:{begin:"((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)(operator)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)(?:(?:((?:(?:delete\\[\\])|(?:delete)|(?:new\\[\\])|(?:<=>)|(?:<<=)|(?:new)|(?:>>=)|(?:\\->\\*)|(?:\\/=)|(?:%=)|(?:&=)|(?:>=)|(?:\\|=)|(?:\\+\\+)|(?:\\-\\-)|(?:\\(\\))|(?:\\[\\])|(?:\\->)|(?:\\+\\+)|(?:<<)|(?:>>)|(?:\\-\\-)|(?:<=)|(?:\\^=)|(?:==)|(?:!=)|(?:&&)|(?:\\|\\|)|(?:\\+=)|(?:\\-=)|(?:\\*=)|,|\\+|\\-|!|~|\\*|&|\\*|\\/|%|\\+|\\-|<|>|&|\\^|\\||=))|((?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},6:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},7:{patterns:[{include:"#inline_comment"}]},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{patterns:[{include:"#inline_comment"}]},12:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},13:{name:"comment.block.cpp"},14:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},15:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?|\\?\\?>)|(?=[;>\\[\\]=]))",endCaptures:{},name:"meta.function.definition.special.operator-overload.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.function.definition.special.operator-overload.cpp"}},name:"meta.head.function.definition.special.operator-overload.cpp",patterns:[{include:"#ever_present_context"},{include:"#template_call_range"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parameters.begin.bracket.round.special.operator-overload.cpp"}},contentName:"meta.function.definition.parameters.special.operator-overload",end:"\\)",endCaptures:{0:{name:"punctuation.section.parameters.end.bracket.round.special.operator-overload.cpp"}},patterns:[{include:"#function_parameter_context"},{include:"#evaluation_context"}]},{include:"#qualifiers_and_specifiers_post_parameters"},{captures:{1:{name:"keyword.operator.assignment.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{name:"keyword.other.default.function.cpp"},7:{name:"keyword.other.delete.function.cpp"}},match:"(\\=)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(default)|(delete))"},{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.function.definition.special.operator-overload.cpp"}},name:"meta.body.function.definition.special.operator-overload.cpp",patterns:[{include:"#function_body_context"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.function.definition.special.operator-overload.cpp",patterns:[{include:"$self"}]}]},operators:{patterns:[{begin:"((?>=|\\|=",name:"keyword.operator.assignment.compound.bitwise.cpp"},{match:"<<|>>",name:"keyword.operator.bitwise.shift.cpp"},{match:"!=|<=|>=|==|<|>",name:"keyword.operator.comparison.cpp"},{match:"&&|!|\\|\\|",name:"keyword.operator.logical.cpp"},{match:"&|\\||\\^|~",name:"keyword.operator.bitwise.cpp"},{include:"#assignment_operator"},{match:"%|\\*|\\/|-|\\+",name:"keyword.operator.arithmetic.cpp"},{include:"#ternary_operator"}]},over_qualified_types:{patterns:[{captures:{1:{name:"storage.type.struct.parameter.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},4:{name:"entity.name.type.struct.parameter.cpp"},5:{patterns:[{include:"#inline_comment"}]},6:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},7:{patterns:[{match:"\\*",name:"storage.modifier.pointer.cpp"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"(?:\\&((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))){2,}\\&",name:"invalid.illegal.reference-type.cpp"},{match:"\\&",name:"storage.modifier.reference.cpp"}]},8:{patterns:[{include:"#inline_comment"}]},9:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},10:{patterns:[{include:"#inline_comment"}]},11:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},12:{patterns:[{include:"#inline_comment"}]},13:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},14:{name:"variable.other.object.declare.cpp"},15:{patterns:[{include:"#inline_comment"}]},16:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},17:{patterns:[{include:"#inline_comment"}]},18:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},19:{patterns:[{include:"#inline_comment"}]},20:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]}},match:"(\\bstruct)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},1:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},2:{patterns:[{include:"#inline_comment"}]},3:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},4:{patterns:[{include:"#inline_comment"}]},5:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},6:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.])`,name:"meta.qualified_type.cpp"},qualifiers_and_specifiers_post_parameters:{captures:{1:{patterns:[{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},5:{name:"storage.modifier.specifier.functional.post-parameters.$5.cpp"}},match:"((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_function_call:{captures:{0:{patterns:[{include:"#scope_resolution_function_call_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.call.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_function_call_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_function_call_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.call.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.function.call.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.call.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_function_definition:{captures:{0:{patterns:[{include:"#scope_resolution_function_definition_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.definition.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_function_definition_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_function_definition_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.definition.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.function.definition.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.definition.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_function_definition_operator_overload:{captures:{0:{patterns:[{include:"#scope_resolution_function_definition_operator_overload_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.definition.operator-overload.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_function_definition_operator_overload_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_function_definition_operator_overload_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.definition.operator-overload.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.function.definition.operator-overload.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.definition.operator-overload.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_namespace_alias:{captures:{0:{patterns:[{include:"#scope_resolution_namespace_alias_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.alias.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_namespace_alias_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_namespace_alias_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.alias.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.namespace.alias.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.alias.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_namespace_block:{captures:{0:{patterns:[{include:"#scope_resolution_namespace_block_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.block.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_namespace_block_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_namespace_block_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.block.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.namespace.block.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.block.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_namespace_using:{captures:{0:{patterns:[{include:"#scope_resolution_namespace_using_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.using.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_namespace_using_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_namespace_using_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.using.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.namespace.using.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.using.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_parameter:{captures:{0:{patterns:[{include:"#scope_resolution_parameter_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.parameter.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_parameter_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_parameter_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.parameter.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.parameter.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.parameter.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_template_call:{captures:{0:{patterns:[{include:"#scope_resolution_template_call_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.template.call.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_template_call_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_template_call_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.template.call.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.template.call.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.template.call.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},scope_resolution_template_definition:{captures:{0:{patterns:[{include:"#scope_resolution_template_definition_inner_generated"}]},1:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.template.definition.cpp"},2:{patterns:[{include:"#template_call_range"}]}},match:`(::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+`},scope_resolution_template_definition_inner_generated:{captures:{1:{patterns:[{include:"#scope_resolution_template_definition_inner_generated"}]},2:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.template.definition.cpp"},3:{patterns:[{include:"#template_call_range"}]},4:{},5:{name:"entity.name.scope-resolution.template.definition.cpp"},6:{name:"meta.template.call.cpp",patterns:[{include:"#template_call_range"}]},7:{},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.template.definition.cpp"}},match:`((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|thread_local|dynamic_cast|synchronized|static_cast|const_cast|consteval|co_return|protected|constinit|constexpr|co_return|consteval|namespace|constexpr|constexpr|co_await|explicit|volatile|noexcept|co_yield|noexcept|noexcept|requires|typename|decltype|operator|template|continue|co_await|co_yield|volatile|register|restrict|reflexpr|mutable|alignof|include|private|defined|typedef|_Pragma|__asm__|concept|mutable|warning|default|virtual|alignas|public|sizeof|delete|not_eq|bitand|and_eq|xor_eq|typeid|switch|return|struct|static|extern|inline|friend|ifndef|define|pragma|export|import|module|catch|throw|const|or_eq|compl|while|ifdef|const|bitor|union|class|undef|error|break|using|endif|goto|line|enum|this|case|else|elif|else|not|try|for|asm|and|xor|new|do|if|or|if)\\b)(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?(::)`},semicolon:{match:";",name:"punctuation.terminator.statement.cpp"},simple_type:{captures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},2:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},3:{patterns:[{include:"#inline_comment"}]},4:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},5:{patterns:[{include:"#inline_comment"}]},6:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},7:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?`},single_line_macro:{captures:{0:{patterns:[{include:"#macro"},{include:"#comments"}]},1:{patterns:[{include:"#inline_comment"}]},2:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]}},match:"^((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))#define.*(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))",endCaptures:{1:{name:"punctuation.terminator.statement.cpp"},2:{name:"punctuation.terminator.statement.cpp"}},name:"meta.block.struct.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.struct.cpp"}},name:"meta.head.struct.cpp",patterns:[{include:"#ever_present_context"},{include:"#inheritance_context"},{include:"#template_call_range"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.struct.cpp"}},name:"meta.body.struct.cpp",patterns:[{include:"#function_pointer"},{include:"#static_assert"},{include:"#constructor_inline"},{include:"#destructor_inline"},{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.struct.cpp",patterns:[{include:"$self"}]}]},struct_declare:{captures:{1:{name:"storage.type.struct.declare.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},4:{name:"entity.name.type.struct.cpp"},5:{patterns:[{match:"\\*",name:"storage.modifier.pointer.cpp"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"(?:\\&((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))){2,}\\&",name:"invalid.illegal.reference-type.cpp"},{match:"\\&",name:"storage.modifier.reference.cpp"}]},6:{patterns:[{include:"#inline_comment"}]},7:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},8:{patterns:[{include:"#inline_comment"}]},9:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},10:{patterns:[{include:"#inline_comment"}]},11:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},12:{name:"variable.other.object.declare.cpp"},13:{patterns:[{include:"#inline_comment"}]},14:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]}},match:"((?|\\?\\?>)|(?=[;>\\[\\]=]))",endCaptures:{},name:"meta.block.switch.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.switch.cpp"}},name:"meta.head.switch.cpp",patterns:[{include:"#switch_conditional_parentheses"},{include:"$self"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.switch.cpp"}},name:"meta.body.switch.cpp",patterns:[{include:"#default_statement"},{include:"#case_statement"},{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.switch.cpp",patterns:[{include:"$self"}]}]},template_argument_defaulted:{captures:{1:{name:"storage.type.template.argument.$1.cpp"},2:{name:"entity.name.type.template.cpp"},3:{name:"keyword.operator.assignment.cpp"}},match:"(?<=<|,)(?:\\s+)?((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)\\s+((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:\\s+)?(\\=)"},template_call_context:{patterns:[{include:"#ever_present_context"},{include:"#template_call_range"},{include:"#storage_types"},{include:"#language_constants"},{include:"#scope_resolution_template_call_inner_generated"},{include:"#operators"},{include:"#number_literal"},{include:"#string_context"},{include:"#comma_in_template_argument"},{include:"#qualified_type"}]},template_call_innards:{captures:{0:{patterns:[{include:"#template_call_range"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:`((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+`,name:"meta.template.call.cpp"},template_call_range:{begin:"<",beginCaptures:{0:{name:"punctuation.section.angle-brackets.begin.template.call.cpp"}},end:">",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},template_definition:{begin:"(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.definition.cpp"}},name:"meta.template.definition.cpp",patterns:[{begin:"(?<=\\w)(?:\\s+)?<",beginCaptures:{0:{name:"punctuation.section.angle-brackets.begin.template.call.cpp"}},end:">",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},patterns:[{include:"#template_call_context"}]},{include:"#template_definition_context"}]},template_definition_argument:{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},3:{name:"storage.type.template.argument.$3.cpp"},4:{patterns:[{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"storage.type.template.argument.$0.cpp"}]},5:{name:"entity.name.type.template.cpp"},6:{name:"storage.type.template.argument.$6.cpp"},7:{name:"punctuation.vararg-ellipses.template.definition.cpp"},8:{name:"entity.name.type.template.cpp"},9:{name:"storage.type.template.cpp"},10:{name:"punctuation.section.angle-brackets.begin.template.definition.cpp"},11:{name:"storage.type.template.argument.$11.cpp"},12:{name:"entity.name.type.template.cpp"},13:{name:"punctuation.section.angle-brackets.end.template.definition.cpp"},14:{name:"storage.type.template.argument.$14.cpp"},15:{name:"entity.name.type.template.cpp"},16:{name:"keyword.operator.assignment.cpp"},17:{name:"punctuation.separator.delimiter.comma.template.argument.cpp"}},match:"((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(?:(?:(?:((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)|((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\s+)+)((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*))|((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)(?:\\s+)?(\\.\\.\\.)(?:\\s+)?((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*))|(?)(?:\\s+)?(class|typename)(?:\\s+((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*))?)(?:\\s+)?(?:(\\=)(?:\\s+)?(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?(?:(,)|(?=>|$))"},template_definition_context:{patterns:[{include:"#scope_resolution_template_definition_inner_generated"},{include:"#template_definition_argument"},{include:"#template_argument_defaulted"},{include:"#template_call_innards"},{include:"#evaluation_context"}]},template_explicit_instantiation:{captures:{1:{name:"storage.modifier.specifier.extern.cpp"},2:{name:"storage.type.template.cpp"}},match:"(?)(?:\\s+)?$"},ternary_operator:{applyEndPatternLast:1,begin:"\\?",beginCaptures:{0:{name:"keyword.operator.ternary.cpp"}},end:":",endCaptures:{0:{name:"keyword.operator.ternary.cpp"}},patterns:[{include:"#ever_present_context"},{include:"#string_context"},{include:"#number_literal"},{include:"#method_access"},{include:"#member_access"},{include:"#predefined_macros"},{include:"#operators"},{include:"#memory_operators"},{include:"#wordlike_operators"},{include:"#type_casting_operators"},{include:"#control_flow_keywords"},{include:"#exception_keywords"},{include:"#the_this_keyword"},{include:"#language_constants"},{include:"#builtin_storage_type_initilizer"},{include:"#qualifiers_and_specifiers_post_parameters"},{include:"#functional_specifiers_pre_parameters"},{include:"#storage_types"},{include:"#lambdas"},{include:"#attributes_context"},{include:"#parentheses"},{include:"#function_call"},{include:"#scope_resolution_inner_generated"},{include:"#square_brackets"},{include:"#semicolon"},{include:"#comma"}]},the_this_keyword:{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},3:{name:"variable.language.this.cpp"}},match:"((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},9:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},10:{patterns:[{include:"#inline_comment"}]},11:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},12:{patterns:[{include:"#inline_comment"}]},13:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},14:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))|(.*(?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))",endCaptures:{1:{name:"punctuation.terminator.statement.cpp"},2:{name:"punctuation.terminator.statement.cpp"}},name:"meta.block.class.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.class.cpp"}},name:"meta.head.class.cpp",patterns:[{include:"#ever_present_context"},{include:"#inheritance_context"},{include:"#template_call_range"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.class.cpp"}},name:"meta.body.class.cpp",patterns:[{include:"#function_pointer"},{include:"#static_assert"},{include:"#constructor_inline"},{include:"#destructor_inline"},{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.class.cpp",patterns:[{captures:{1:{patterns:[{match:"\\*",name:"storage.modifier.pointer.cpp"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"(?:\\&((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))){2,}\\&",name:"invalid.illegal.reference-type.cpp"},{match:"\\&",name:"storage.modifier.reference.cpp"}]},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{patterns:[{include:"#inline_comment"}]},7:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},8:{name:"comment.block.cpp"},9:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},10:{patterns:[{include:"#inline_comment"}]},11:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},12:{name:"comment.block.cpp"},13:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},14:{name:"entity.name.type.alias.cpp"}},match:"(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\()(\\*)(?:\\s+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:\\s+)?(?:(\\[)(\\w*)(\\])(?:\\s+)?)*(\\))(?:\\s+)?(\\()`,beginCaptures:{1:{name:"meta.qualified_type.cpp",patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"},{match:"(?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},2:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},3:{patterns:[{include:"#inline_comment"}]},4:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},5:{name:"comment.block.cpp"},6:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},7:{patterns:[{include:"#inline_comment"}]},8:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},9:{name:"comment.block.cpp"},10:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},11:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?]|\\n)(?!\\()",endCaptures:{1:{name:"punctuation.section.parameters.end.bracket.round.function.pointer.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},patterns:[{include:"#function_parameter_context"}]}]},typedef_struct:{begin:"((?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))",endCaptures:{1:{name:"punctuation.terminator.statement.cpp"},2:{name:"punctuation.terminator.statement.cpp"}},name:"meta.block.struct.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.struct.cpp"}},name:"meta.head.struct.cpp",patterns:[{include:"#ever_present_context"},{include:"#inheritance_context"},{include:"#template_call_range"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.struct.cpp"}},name:"meta.body.struct.cpp",patterns:[{include:"#function_pointer"},{include:"#static_assert"},{include:"#constructor_inline"},{include:"#destructor_inline"},{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.struct.cpp",patterns:[{captures:{1:{patterns:[{match:"\\*",name:"storage.modifier.pointer.cpp"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"(?:\\&((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))){2,}\\&",name:"invalid.illegal.reference-type.cpp"},{match:"\\&",name:"storage.modifier.reference.cpp"}]},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{patterns:[{include:"#inline_comment"}]},7:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},8:{name:"comment.block.cpp"},9:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},10:{patterns:[{include:"#inline_comment"}]},11:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},12:{name:"comment.block.cpp"},13:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},14:{name:"entity.name.type.alias.cpp"}},match:"(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))",endCaptures:{1:{name:"punctuation.terminator.statement.cpp"},2:{name:"punctuation.terminator.statement.cpp"}},name:"meta.block.union.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.union.cpp"}},name:"meta.head.union.cpp",patterns:[{include:"#ever_present_context"},{include:"#inheritance_context"},{include:"#template_call_range"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.union.cpp"}},name:"meta.body.union.cpp",patterns:[{include:"#function_pointer"},{include:"#static_assert"},{include:"#constructor_inline"},{include:"#destructor_inline"},{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.union.cpp",patterns:[{captures:{1:{patterns:[{match:"\\*",name:"storage.modifier.pointer.cpp"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"(?:\\&((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))){2,}\\&",name:"invalid.illegal.reference-type.cpp"},{match:"\\&",name:"storage.modifier.reference.cpp"}]},2:{patterns:[{include:"#inline_comment"}]},3:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},4:{name:"comment.block.cpp"},5:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},6:{patterns:[{include:"#inline_comment"}]},7:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},8:{name:"comment.block.cpp"},9:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},10:{patterns:[{include:"#inline_comment"}]},11:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},12:{name:"comment.block.cpp"},13:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},14:{name:"entity.name.type.alias.cpp"}},match:"(((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))?(?:(?:&|\\*)((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))*(?:&|\\*))?((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?",endCaptures:{0:{name:"punctuation.section.angle-brackets.end.template.call.cpp"}},name:"meta.template.call.cpp",patterns:[{include:"#template_call_context"}]},{match:"(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",name:"entity.name.type.cpp"}]},7:{patterns:[{include:"#attributes_context"},{include:"#number_literal"}]},8:{patterns:[{include:"#inline_comment"}]},9:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},10:{patterns:[{include:"#inline_comment"}]},11:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},12:{patterns:[{match:"::",name:"punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"},{match:"(?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*+)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z)))?(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:__has_include)|(?:atomic_cancel)|(?:synchronized)|(?:thread_local)|(?:dynamic_cast)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:co_return)|(?:constinit)|(?:namespace)|(?:protected)|(?:consteval)|(?:constexpr)|(?:constexpr)|(?:co_return)|(?:consteval)|(?:co_await)|(?:continue)|(?:template)|(?:reflexpr)|(?:volatile)|(?:register)|(?:co_await)|(?:co_yield)|(?:restrict)|(?:noexcept)|(?:volatile)|(?:override)|(?:explicit)|(?:decltype)|(?:operator)|(?:noexcept)|(?:noexcept)|(?:typename)|(?:requires)|(?:co_yield)|(?:nullptr)|(?:alignof)|(?:alignas)|(?:default)|(?:mutable)|(?:virtual)|(?:mutable)|(?:private)|(?:include)|(?:warning)|(?:_Pragma)|(?:defined)|(?:typedef)|(?:__asm__)|(?:concept)|(?:define)|(?:module)|(?:sizeof)|(?:switch)|(?:delete)|(?:pragma)|(?:and_eq)|(?:inline)|(?:xor_eq)|(?:typeid)|(?:import)|(?:extern)|(?:public)|(?:bitand)|(?:static)|(?:export)|(?:return)|(?:friend)|(?:ifndef)|(?:not_eq)|(?:false)|(?:final)|(?:break)|(?:const)|(?:catch)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:audit)|(?:while)|(?:using)|(?:axiom)|(?:or_eq)|(?:compl)|(?:throw)|(?:bitor)|(?:const)|(?:line)|(?:case)|(?:else)|(?:this)|(?:true)|(?:goto)|(?:else)|(?:NULL)|(?:elif)|(?:new)|(?:asm)|(?:xor)|(?:and)|(?:try)|(?:not)|(?:for)|(?:do)|(?:if)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)?(?![\\w<:.]))`},undef:{captures:{1:{name:"keyword.control.directive.undef.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},4:{name:"punctuation.definition.directive.cpp"},5:{patterns:[{include:"#inline_comment"}]},6:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},7:{name:"entity.name.function.preprocessor.cpp"}},match:"(^((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(#)(?:\\s+)?undef\\b)((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))((?|\\?\\?>)(?:\\s+)?(;)|(;))|(?=[;>\\[\\]=]))",endCaptures:{1:{name:"punctuation.terminator.statement.cpp"},2:{name:"punctuation.terminator.statement.cpp"}},name:"meta.block.union.cpp",patterns:[{begin:"\\G ?",beginCaptures:{},end:"(?:\\{|<%|\\?\\?<|(?=;))",endCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.union.cpp"}},name:"meta.head.union.cpp",patterns:[{include:"#ever_present_context"},{include:"#inheritance_context"},{include:"#template_call_range"}]},{begin:"(?<=\\{|<%|\\?\\?<)",beginCaptures:{},end:"\\}|%>|\\?\\?>",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.union.cpp"}},name:"meta.body.union.cpp",patterns:[{include:"#function_pointer"},{include:"#static_assert"},{include:"#constructor_inline"},{include:"#destructor_inline"},{include:"$self"}]},{begin:"(?<=\\}|%>|\\?\\?>)[\\s]*",beginCaptures:{},end:"[\\s]*(?=;)",endCaptures:{},name:"meta.tail.union.cpp",patterns:[{include:"$self"}]}]},union_declare:{captures:{1:{name:"storage.type.union.declare.cpp"},2:{patterns:[{include:"#inline_comment"}]},3:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},4:{name:"entity.name.type.union.cpp"},5:{patterns:[{match:"\\*",name:"storage.modifier.pointer.cpp"},{captures:{1:{patterns:[{include:"#inline_comment"}]},2:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},3:{name:"comment.block.cpp"},4:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"(?:\\&((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))){2,}\\&",name:"invalid.illegal.reference-type.cpp"},{match:"\\&",name:"storage.modifier.reference.cpp"}]},6:{patterns:[{include:"#inline_comment"}]},7:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},8:{patterns:[{include:"#inline_comment"}]},9:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},10:{patterns:[{include:"#inline_comment"}]},11:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]},12:{name:"variable.other.object.declare.cpp"},13:{patterns:[{include:"#inline_comment"}]},14:{patterns:[{captures:{1:{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},2:{name:"comment.block.cpp"},3:{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}},match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+"}]}},match:"((?|(?:(?:[^'"<>\\/]|\\/[^*])++))*>)\\s*+)?::)*\\s*+)?((?u?0:u+r:r=r>u?u:r,t=t>0?t:0,e.length<1e4)l=Array.from(e),l.unshift(r,t),n.splice(...l);else for(t&&n.splice(r,t);i0?(tn(n,n.length,0,r),n):r}const Wn={}.hasOwnProperty;function Ot(n){const r={};let t=-1;for(;++tl))return;const T=r.events.length;let H=T,N,V;for(;H--;)if(r.events[H][0]==="exit"&&r.events[H][1].type==="chunkFlow"){if(N){V=r.events[H][1].end;break}N=!0}for(b(e),k=T;kF;){const _=t[D];r.containerState=_[1],_[0].exit.call(r,n)}t.length=F}function j(){u.write([null]),i=void 0,u=void 0,r.containerState._closeFlow=void 0}}function Qt(n,r,t){return L(n,n.attempt(this.parser.constructs.document,r,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Un(n){if(n===null||Z(n)||qt(n))return 1;if(Rt(n))return 2}function Ln(n,r,t){const e=[];let u=-1;for(;++u1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const f=Object.assign({},n[e][1].end),x=Object.assign({},n[t][1].start);$n(f,-m),$n(x,m),l={type:m>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},n[e][1].end)},a={type:m>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:x},i={type:m>1?"strongText":"emphasisText",start:Object.assign({},n[e][1].end),end:Object.assign({},n[t][1].start)},u={type:m>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},a.end)},n[e][1].end=Object.assign({},l.start),n[t][1].start=Object.assign({},a.end),c=[],n[e][1].end.offset-n[e][1].start.offset&&(c=Y(c,[["enter",n[e][1],r],["exit",n[e][1],r]])),c=Y(c,[["enter",u,r],["enter",l,r],["exit",l,r],["enter",i,r]]),c=Y(c,Ln(r.parser.constructs.insideSpan.null,n.slice(e+1,t),r)),c=Y(c,[["exit",i,r],["enter",a,r],["exit",a,r],["exit",u,r]]),n[t][1].end.offset-n[t][1].start.offset?(p=2,c=Y(c,[["enter",n[t][1],r],["exit",n[t][1],r]])):p=0,tn(n,e-1,t-e+3,c),t=e+c.length-p-2;break}}for(t=-1;++t0&&z(k)?L(n,j,"linePrefix",i+1)(k):j(k)}function j(k){return k===null||w(k)?n.check(Zn,I,D)(k):(n.enter("codeFlowValue"),F(k))}function F(k){return k===null||w(k)?(n.exit("codeFlowValue"),j(k)):(n.consume(k),F)}function D(k){return n.exit("codeFenced"),r(k)}function _(k,T,H){let N=0;return V;function V(C){return k.enter("lineEnding"),k.consume(C),k.exit("lineEnding"),y}function y(C){return k.enter("codeFencedFence"),z(C)?L(k,S,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):S(C)}function S(C){return C===a?(k.enter("codeFencedFenceSequence"),P(C)):H(C)}function P(C){return C===a?(N++,k.consume(C),P):N>=l?(k.exit("codeFencedFenceSequence"),z(C)?L(k,R,"whitespace")(C):R(C)):H(C)}function R(C){return C===null||w(C)?(k.exit("codeFencedFence"),T(C)):H(C)}}}function ee(n,r,t){const e=this;return u;function u(l){return l===null?t(l):(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),i)}function i(l){return e.parser.lazy[e.now().line]?t(l):r(l)}}const wn={name:"codeIndented",tokenize:ie},re={tokenize:ue,partial:!0};function ie(n,r,t){const e=this;return u;function u(c){return n.enter("codeIndented"),L(n,i,"linePrefix",5)(c)}function i(c){const p=e.events[e.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?l(c):t(c)}function l(c){return c===null?m(c):w(c)?n.attempt(re,l,m)(c):(n.enter("codeFlowValue"),a(c))}function a(c){return c===null||w(c)?(n.exit("codeFlowValue"),l(c)):(n.consume(c),a)}function m(c){return n.exit("codeIndented"),r(c)}}function ue(n,r,t){const e=this;return u;function u(l){return e.parser.lazy[e.now().line]?t(l):w(l)?(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),u):L(n,i,"linePrefix",5)(l)}function i(l){const a=e.events[e.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?r(l):w(l)?u(l):t(l)}}const le={name:"codeText",tokenize:se,resolve:ae,previous:oe};function ae(n){let r=n.length-4,t=3,e,u;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[r][1].type==="lineEnding"||n[r][1].type==="space")){for(e=t;++e=4?r(l):n.interrupt(e.parser.constructs.flow,t,r)(l)}}function lt(n,r,t,e,u,i,l,a,m){const c=m||Number.POSITIVE_INFINITY;let p=0;return f;function f(b){return b===60?(n.enter(e),n.enter(u),n.enter(i),n.consume(b),n.exit(i),x):b===null||b===32||b===41||An(b)?t(b):(n.enter(e),n.enter(l),n.enter(a),n.enter("chunkString",{contentType:"string"}),I(b))}function x(b){return b===62?(n.enter(i),n.consume(b),n.exit(i),n.exit(u),n.exit(e),r):(n.enter(a),n.enter("chunkString",{contentType:"string"}),h(b))}function h(b){return b===62?(n.exit("chunkString"),n.exit(a),x(b)):b===null||b===60||w(b)?t(b):(n.consume(b),b===92?A:h)}function A(b){return b===60||b===62||b===92?(n.consume(b),h):h(b)}function I(b){return!p&&(b===null||b===41||Z(b))?(n.exit("chunkString"),n.exit(a),n.exit(l),n.exit(e),r(b)):p999||h===null||h===91||h===93&&!m||h===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?t(h):h===93?(n.exit(i),n.enter(u),n.consume(h),n.exit(u),n.exit(e),r):w(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),p):(n.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||w(h)||a++>999?(n.exit("chunkString"),p(h)):(n.consume(h),m||(m=!z(h)),h===92?x:f)}function x(h){return h===91||h===92||h===93?(n.consume(h),a++,f):f(h)}}function ot(n,r,t,e,u,i){let l;return a;function a(x){return x===34||x===39||x===40?(n.enter(e),n.enter(u),n.consume(x),n.exit(u),l=x===40?41:x,m):t(x)}function m(x){return x===l?(n.enter(u),n.consume(x),n.exit(u),n.exit(e),r):(n.enter(i),c(x))}function c(x){return x===l?(n.exit(i),m(l)):x===null?t(x):w(x)?(n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),L(n,c,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===l||x===null||w(x)?(n.exit("chunkString"),c(x)):(n.consume(x),x===92?f:p)}function f(x){return x===l||x===92?(n.consume(x),p):p(x)}}function dn(n,r){let t;return e;function e(u){return w(u)?(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),t=!0,e):z(u)?L(n,e,t?"linePrefix":"lineSuffix")(u):r(u)}}function xn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ge={name:"definition",tokenize:de},ke={tokenize:be,partial:!0};function de(n,r,t){const e=this;let u;return i;function i(h){return n.enter("definition"),l(h)}function l(h){return at.call(e,n,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function a(h){return u=xn(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)),h===58?(n.enter("definitionMarker"),n.consume(h),n.exit("definitionMarker"),m):t(h)}function m(h){return Z(h)?dn(n,c)(h):c(h)}function c(h){return lt(n,p,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function p(h){return n.attempt(ke,f,f)(h)}function f(h){return z(h)?L(n,x,"whitespace")(h):x(h)}function x(h){return h===null||w(h)?(n.exit("definition"),e.parser.defined.push(u),r(h)):t(h)}}function be(n,r,t){return e;function e(a){return Z(a)?dn(n,u)(a):t(a)}function u(a){return ot(n,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function i(a){return z(a)?L(n,l,"whitespace")(a):l(a)}function l(a){return a===null||w(a)?r(a):t(a)}}const ye={name:"hardBreakEscape",tokenize:Se};function Se(n,r,t){return e;function e(i){return n.enter("hardBreakEscape"),n.consume(i),u}function u(i){return w(i)?(n.exit("hardBreakEscape"),r(i)):t(i)}}const Fe={name:"headingAtx",tokenize:we,resolve:Ee};function Ee(n,r){let t=n.length-2,e=3,u,i;return n[e][1].type==="whitespace"&&(e+=2),t-2>e&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(e===t-1||t-4>e&&n[t-2][1].type==="whitespace")&&(t-=e+1===t?2:4),t>e&&(u={type:"atxHeadingText",start:n[e][1].start,end:n[t][1].end},i={type:"chunkText",start:n[e][1].start,end:n[t][1].end,contentType:"text"},tn(n,e,t-e+1,[["enter",u,r],["enter",i,r],["exit",i,r],["exit",u,r]])),n}function we(n,r,t){let e=0;return u;function u(p){return n.enter("atxHeading"),i(p)}function i(p){return n.enter("atxHeadingSequence"),l(p)}function l(p){return p===35&&e++<6?(n.consume(p),l):p===null||Z(p)?(n.exit("atxHeadingSequence"),a(p)):t(p)}function a(p){return p===35?(n.enter("atxHeadingSequence"),m(p)):p===null||w(p)?(n.exit("atxHeading"),r(p)):z(p)?L(n,a,"whitespace")(p):(n.enter("atxHeadingText"),c(p))}function m(p){return p===35?(n.consume(p),m):(n.exit("atxHeadingSequence"),a(p))}function c(p){return p===null||p===35||Z(p)?(n.exit("atxHeadingText"),a(p)):(n.consume(p),c)}}const Ce=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Gn=["pre","script","style","textarea"],Ae={name:"htmlFlow",tokenize:Be,resolveTo:Te,concrete:!0},ze={tokenize:Le,partial:!0},Ie={tokenize:Oe,partial:!0};function Te(n){let r=n.length;for(;r--&&!(n[r][0]==="enter"&&n[r][1].type==="htmlFlow"););return r>1&&n[r-2][1].type==="linePrefix"&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n}function Be(n,r,t){const e=this;let u,i,l,a,m;return c;function c(s){return p(s)}function p(s){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(s),f}function f(s){return s===33?(n.consume(s),x):s===47?(n.consume(s),i=!0,I):s===63?(n.consume(s),u=3,e.interrupt?r:o):nn(s)?(n.consume(s),l=String.fromCharCode(s),M):t(s)}function x(s){return s===45?(n.consume(s),u=2,h):s===91?(n.consume(s),u=5,a=0,A):nn(s)?(n.consume(s),u=4,e.interrupt?r:o):t(s)}function h(s){return s===45?(n.consume(s),e.interrupt?r:o):t(s)}function A(s){const K="CDATA[";return s===K.charCodeAt(a++)?(n.consume(s),a===K.length?e.interrupt?r:S:A):t(s)}function I(s){return nn(s)?(n.consume(s),l=String.fromCharCode(s),M):t(s)}function M(s){if(s===null||s===47||s===62||Z(s)){const K=s===47,hn=l.toLowerCase();return!K&&!i&&Gn.includes(hn)?(u=1,e.interrupt?r(s):S(s)):Ce.includes(l.toLowerCase())?(u=6,K?(n.consume(s),b):e.interrupt?r(s):S(s)):(u=7,e.interrupt&&!e.parser.lazy[e.now().line]?t(s):i?j(s):F(s))}return s===45||v(s)?(n.consume(s),l+=String.fromCharCode(s),M):t(s)}function b(s){return s===62?(n.consume(s),e.interrupt?r:S):t(s)}function j(s){return z(s)?(n.consume(s),j):V(s)}function F(s){return s===47?(n.consume(s),V):s===58||s===95||nn(s)?(n.consume(s),D):z(s)?(n.consume(s),F):V(s)}function D(s){return s===45||s===46||s===58||s===95||v(s)?(n.consume(s),D):_(s)}function _(s){return s===61?(n.consume(s),k):z(s)?(n.consume(s),_):F(s)}function k(s){return s===null||s===60||s===61||s===62||s===96?t(s):s===34||s===39?(n.consume(s),m=s,T):z(s)?(n.consume(s),k):H(s)}function T(s){return s===m?(n.consume(s),m=null,N):s===null||w(s)?t(s):(n.consume(s),T)}function H(s){return s===null||s===34||s===39||s===47||s===60||s===61||s===62||s===96||Z(s)?_(s):(n.consume(s),H)}function N(s){return s===47||s===62||z(s)?F(s):t(s)}function V(s){return s===62?(n.consume(s),y):t(s)}function y(s){return s===null||w(s)?S(s):z(s)?(n.consume(s),y):t(s)}function S(s){return s===45&&u===2?(n.consume(s),U):s===60&&u===1?(n.consume(s),W):s===62&&u===4?(n.consume(s),J):s===63&&u===3?(n.consume(s),o):s===93&&u===5?(n.consume(s),en):w(s)&&(u===6||u===7)?(n.exit("htmlFlowData"),n.check(ze,rn,P)(s)):s===null||w(s)?(n.exit("htmlFlowData"),P(s)):(n.consume(s),S)}function P(s){return n.check(Ie,R,rn)(s)}function R(s){return n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),C}function C(s){return s===null||w(s)?P(s):(n.enter("htmlFlowData"),S(s))}function U(s){return s===45?(n.consume(s),o):S(s)}function W(s){return s===47?(n.consume(s),l="",G):S(s)}function G(s){if(s===62){const K=l.toLowerCase();return Gn.includes(K)?(n.consume(s),J):S(s)}return nn(s)&&l.length<8?(n.consume(s),l+=String.fromCharCode(s),G):S(s)}function en(s){return s===93?(n.consume(s),o):S(s)}function o(s){return s===62?(n.consume(s),J):s===45&&u===2?(n.consume(s),o):S(s)}function J(s){return s===null||w(s)?(n.exit("htmlFlowData"),rn(s)):(n.consume(s),J)}function rn(s){return n.exit("htmlFlow"),r(s)}}function Oe(n,r,t){const e=this;return u;function u(l){return w(l)?(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),i):t(l)}function i(l){return e.parser.lazy[e.now().line]?t(l):r(l)}}function Le(n,r,t){return e;function e(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),n.attempt(Sn,r,t)}}const De={name:"htmlText",tokenize:Pe};function Pe(n,r,t){const e=this;let u,i,l;return a;function a(o){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(o),m}function m(o){return o===33?(n.consume(o),c):o===47?(n.consume(o),_):o===63?(n.consume(o),F):nn(o)?(n.consume(o),H):t(o)}function c(o){return o===45?(n.consume(o),p):o===91?(n.consume(o),i=0,A):nn(o)?(n.consume(o),j):t(o)}function p(o){return o===45?(n.consume(o),h):t(o)}function f(o){return o===null?t(o):o===45?(n.consume(o),x):w(o)?(l=f,W(o)):(n.consume(o),f)}function x(o){return o===45?(n.consume(o),h):f(o)}function h(o){return o===62?U(o):o===45?x(o):f(o)}function A(o){const J="CDATA[";return o===J.charCodeAt(i++)?(n.consume(o),i===J.length?I:A):t(o)}function I(o){return o===null?t(o):o===93?(n.consume(o),M):w(o)?(l=I,W(o)):(n.consume(o),I)}function M(o){return o===93?(n.consume(o),b):I(o)}function b(o){return o===62?U(o):o===93?(n.consume(o),b):I(o)}function j(o){return o===null||o===62?U(o):w(o)?(l=j,W(o)):(n.consume(o),j)}function F(o){return o===null?t(o):o===63?(n.consume(o),D):w(o)?(l=F,W(o)):(n.consume(o),F)}function D(o){return o===62?U(o):F(o)}function _(o){return nn(o)?(n.consume(o),k):t(o)}function k(o){return o===45||v(o)?(n.consume(o),k):T(o)}function T(o){return w(o)?(l=T,W(o)):z(o)?(n.consume(o),T):U(o)}function H(o){return o===45||v(o)?(n.consume(o),H):o===47||o===62||Z(o)?N(o):t(o)}function N(o){return o===47?(n.consume(o),U):o===58||o===95||nn(o)?(n.consume(o),V):w(o)?(l=N,W(o)):z(o)?(n.consume(o),N):U(o)}function V(o){return o===45||o===46||o===58||o===95||v(o)?(n.consume(o),V):y(o)}function y(o){return o===61?(n.consume(o),S):w(o)?(l=y,W(o)):z(o)?(n.consume(o),y):N(o)}function S(o){return o===null||o===60||o===61||o===62||o===96?t(o):o===34||o===39?(n.consume(o),u=o,P):w(o)?(l=S,W(o)):z(o)?(n.consume(o),S):(n.consume(o),R)}function P(o){return o===u?(n.consume(o),u=void 0,C):o===null?t(o):w(o)?(l=P,W(o)):(n.consume(o),P)}function R(o){return o===null||o===34||o===39||o===60||o===61||o===96?t(o):o===47||o===62||Z(o)?N(o):(n.consume(o),R)}function C(o){return o===47||o===62||Z(o)?N(o):t(o)}function U(o){return o===62?(n.consume(o),n.exit("htmlTextData"),n.exit("htmlText"),r):t(o)}function W(o){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),G}function G(o){return z(o)?L(n,en,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):en(o)}function en(o){return n.enter("htmlTextData"),l(o)}}const Dn={name:"labelEnd",tokenize:He,resolveTo:qe,resolveAll:Re},_e={tokenize:Ne},Me={tokenize:Ve},je={tokenize:We};function Re(n){let r=-1;for(;++r=3&&(c===null||w(c))?(n.exit("thematicBreak"),r(c)):t(c)}function m(c){return c===u?(n.consume(c),e++,m):(n.exit("thematicBreakSequence"),z(c)?L(n,a,"whitespace")(c):a(c))}}const $={name:"list",tokenize:Xe,continuation:{tokenize:ve},exit:tr},Je={tokenize:er,partial:!0},Ke={tokenize:nr,partial:!0};function Xe(n,r,t){const e=this,u=e.events[e.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,l=0;return a;function a(h){const A=e.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!e.containerState.marker||h===e.containerState.marker:zn(h)){if(e.containerState.type||(e.containerState.type=A,n.enter(A,{_container:!0})),A==="listUnordered")return n.enter("listItemPrefix"),h===42||h===45?n.check(bn,t,c)(h):c(h);if(!e.interrupt||h===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),m(h)}return t(h)}function m(h){return zn(h)&&++l<10?(n.consume(h),m):(!e.interrupt||l<2)&&(e.containerState.marker?h===e.containerState.marker:h===41||h===46)?(n.exit("listItemValue"),c(h)):t(h)}function c(h){return n.enter("listItemMarker"),n.consume(h),n.exit("listItemMarker"),e.containerState.marker=e.containerState.marker||h,n.check(Sn,e.interrupt?t:p,n.attempt(Je,x,f))}function p(h){return e.containerState.initialBlankLine=!0,i++,x(h)}function f(h){return z(h)?(n.enter("listItemPrefixWhitespace"),n.consume(h),n.exit("listItemPrefixWhitespace"),x):t(h)}function x(h){return e.containerState.size=i+e.sliceSerialize(n.exit("listItemPrefix"),!0).length,r(h)}}function ve(n,r,t){const e=this;return e.containerState._closeFlow=void 0,n.check(Sn,u,i);function u(a){return e.containerState.furtherBlankLines=e.containerState.furtherBlankLines||e.containerState.initialBlankLine,L(n,r,"listItemIndent",e.containerState.size+1)(a)}function i(a){return e.containerState.furtherBlankLines||!z(a)?(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,l(a)):(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,n.attempt(Ke,r,l)(a))}function l(a){return e.containerState._closeFlow=!0,e.interrupt=void 0,L(n,n.attempt($,r,t),"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function nr(n,r,t){const e=this;return L(n,u,"listItemIndent",e.containerState.size+1);function u(i){const l=e.events[e.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===e.containerState.size?r(i):t(i)}}function tr(n){n.exit(this.containerState.type)}function er(n,r,t){const e=this;return L(n,u,"listItemPrefixWhitespace",e.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(i){const l=e.events[e.events.length-1];return!z(i)&&l&&l[1].type==="listItemPrefixWhitespace"?r(i):t(i)}}const Jn={name:"setextUnderline",tokenize:ir,resolveTo:rr};function rr(n,r){let t=n.length,e,u,i;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){e=t;break}n[t][1].type==="paragraph"&&(u=t)}else n[t][1].type==="content"&&n.splice(t,1),!i&&n[t][1].type==="definition"&&(i=t);const l={type:"setextHeading",start:Object.assign({},n[u][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[u][1].type="setextHeadingText",i?(n.splice(u,0,["enter",l,r]),n.splice(i+1,0,["exit",n[e][1],r]),n[e][1].end=Object.assign({},n[i][1].end)):n[e][1]=l,n.push(["exit",l,r]),n}function ir(n,r,t){const e=this;let u;return i;function i(c){let p=e.events.length,f;for(;p--;)if(e.events[p][1].type!=="lineEnding"&&e.events[p][1].type!=="linePrefix"&&e.events[p][1].type!=="content"){f=e.events[p][1].type==="paragraph";break}return!e.parser.lazy[e.now().line]&&(e.interrupt||f)?(n.enter("setextHeadingLine"),u=c,l(c)):t(c)}function l(c){return n.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===u?(n.consume(c),a):(n.exit("setextHeadingLineSequence"),z(c)?L(n,m,"lineSuffix")(c):m(c))}function m(c){return c===null||w(c)?(n.exit("setextHeadingLine"),r(c)):t(c)}}const ur={tokenize:lr};function lr(n){const r=this,t=n.attempt(Sn,e,n.attempt(this.parser.constructs.flowInitial,u,L(n,n.attempt(this.parser.constructs.flow,u,n.attempt(he,u)),"linePrefix")));return t;function e(i){if(i===null){n.consume(i);return}return n.enter("lineEndingBlank"),n.consume(i),n.exit("lineEndingBlank"),r.currentConstruct=void 0,t}function u(i){if(i===null){n.consume(i);return}return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),r.currentConstruct=void 0,t}}const ar={resolveAll:ct()},or=st("string"),sr=st("text");function st(n){return{tokenize:r,resolveAll:ct(n==="text"?cr:void 0)};function r(t){const e=this,u=this.parser.constructs[n],i=t.attempt(u,l,a);return l;function l(p){return c(p)?i(p):a(p)}function a(p){if(p===null){t.consume(p);return}return t.enter("data"),t.consume(p),m}function m(p){return c(p)?(t.exit("data"),i(p)):(t.consume(p),m)}function c(p){if(p===null)return!0;const f=u[p];let x=-1;if(f)for(;++x-1){const a=l[0];typeof a=="string"?l[0]=a.slice(e):l.shift()}i>0&&l.push(n[u].slice(0,i))}return l}function fr(n,r){let t=-1;const e=[];let u;for(;++t13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCharCode(t)}const zr=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ir(n){return n.replace(zr,Tr)}function Tr(n,r,t){if(r)return r;if(t.charCodeAt(0)===35){const u=t.charCodeAt(1),i=u===120||u===88;return ht(t.slice(i?2:1),i?16:10)}return On(t)||n}function yn(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Xn(n.position):"start"in n||"end"in n?Xn(n):"line"in n||"column"in n?Tn(n):""}function Tn(n){return vn(n&&n.line)+":"+vn(n&&n.column)}function Xn(n){return Tn(n&&n.start)+"-"+Tn(n&&n.end)}function vn(n){return n&&typeof n=="number"?n:1}const pt={}.hasOwnProperty,ft=function(n,r,t){return typeof r!="string"&&(t=r,r=void 0),Br(t)(Ar(wr(t).document().write(Cr()(n,r,!0))))};function Br(n){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Hn),autolinkProtocol:y,autolinkEmail:y,atxHeading:a(jn),blockQuote:a(Fn),characterEscape:y,characterReference:y,codeFenced:a(Mn),codeFencedFenceInfo:m,codeFencedFenceMeta:m,codeIndented:a(Mn,m),codeText:a(gt,m),codeTextData:y,data:y,codeFlowValue:y,definition:a(kt),definitionDestinationString:m,definitionLabelString:m,definitionTitleString:m,emphasis:a(dt),hardBreakEscape:a(Rn),hardBreakTrailing:a(Rn),htmlFlow:a(qn,m),htmlFlowData:y,htmlText:a(qn,m),htmlTextData:y,image:a(bt),label:m,link:a(Hn),listItem:a(yt),listItemValue:A,listOrdered:a(Nn,h),listUnordered:a(Nn),paragraph:a(St),reference:hn,referenceString:m,resourceDestinationString:m,resourceTitleString:m,setextHeading:a(jn),strong:a(Ft),thematicBreak:a(wt)},exit:{atxHeading:p(),atxHeadingSequence:T,autolink:p(),autolinkEmail:mn,autolinkProtocol:fn,blockQuote:p(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:pn,characterReferenceMarkerNumeric:pn,characterReferenceValue:an,codeFenced:p(j),codeFencedFence:b,codeFencedFenceInfo:I,codeFencedFenceMeta:M,codeFlowValue:S,codeIndented:p(F),codeText:p(W),codeTextData:S,data:S,definition:p(),definitionDestinationString:k,definitionLabelString:D,definitionTitleString:_,emphasis:p(),hardBreakEscape:p(R),hardBreakTrailing:p(R),htmlFlow:p(C),htmlFlowData:S,htmlText:p(U),htmlTextData:S,image:p(en),label:J,labelText:o,lineEnding:P,link:p(G),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:Q,resourceDestinationString:rn,resourceTitleString:s,resource:K,setextHeading:p(V),setextHeadingLineSequence:N,setextHeadingText:H,strong:p(),thematicBreak:p()}};mt(r,(n||{}).mdastExtensions||[]);const t={};return e;function e(g){let d={type:"root",children:[]};const E={stack:[d],tokenStack:[],config:r,enter:c,exit:f,buffer:m,resume:x,setData:i,getData:l},B=[];let O=-1;for(;++O0){const X=E.tokenStack[E.tokenStack.length-1];(X[1]||nt).call(E,void 0,X[0])}for(d.position={start:sn(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:sn(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},O=-1;++O{p!==0&&(u++,e.push([])),c.split(" ").forEach(f=>{f&&e[u].push({content:f,type:a})})}):(l.type==="strong"||l.type==="emphasis")&&l.children.forEach(m=>{i(m,l.type)})}return t.forEach(l=>{l.type==="paragraph"&&l.children.forEach(a=>{i(a)})}),e}function Pr(n){const{children:r}=ft(n);function t(e){return e.type==="text"?e.value.replace(/\n/g,"
"):e.type==="strong"?`${e.children.map(t).join("")}`:e.type==="emphasis"?`${e.children.map(t).join("")}`:e.type==="paragraph"?`

${e.children.map(t).join("")}

`:`Unsupported markdown: ${e.type}`}return r.map(t).join("")}function _r(n){return Intl.Segmenter?[...new Intl.Segmenter().segment(n)].map(r=>r.segment):[...n]}function Mr(n,r){const t=_r(r.content);return xt(n,[],t,r.type)}function xt(n,r,t,e){if(t.length===0)return[{content:r.join(""),type:e},{content:"",type:e}];const[u,...i]=t,l=[...r,u];return n([{content:l.join(""),type:e}])?xt(n,l,i,e):(r.length===0&&u&&(r.push(u),t.shift()),[{content:r.join(""),type:e},{content:t.join(""),type:e}])}function jr(n,r){if(n.some(({content:t})=>t.includes(` +`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return Bn(n,r)}function Bn(n,r,t=[],e=[]){if(n.length===0)return e.length>0&&t.push(e),t.length>0?t:[];let u="";n[0].content===" "&&(u=" ",n.shift());const i=n.shift()??{content:" ",type:"normal"},l=[...e];if(u!==""&&l.push({content:u,type:"normal"}),l.push(i),r(l))return Bn(n,r,t,l);if(e.length>0)t.push(e),n.unshift(i);else if(i.content){const[a,m]=Mr(r,i);t.push([a]),m.content&&n.unshift(m)}return Bn(n,r,t)}function Rr(n,r){r&&n.attr("style",r)}function qr(n,r,t,e,u=!1){const i=n.append("foreignObject"),l=i.append("xhtml:div"),a=r.label,m=r.isNode?"nodeLabel":"edgeLabel";l.html(` + "+a+""),Rr(l,r.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("max-width",t+"px"),l.attr("xmlns","http://www.w3.org/1999/xhtml"),u&&l.attr("class","labelBkg");let c=l.node().getBoundingClientRect();return c.width===t&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",t+"px"),c=l.node().getBoundingClientRect()),i.style("width",c.width),i.style("height",c.height),i.node()}function Pn(n,r,t){return n.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",r*t-.1+"em").attr("dy",t+"em")}function Hr(n,r,t){const e=n.append("text"),u=Pn(e,1,r);_n(u,t);const i=u.node().getComputedTextLength();return e.remove(),i}function Qr(n,r,t){var e;const u=n.append("text"),i=Pn(u,1,r);_n(i,[{content:t,type:"normal"}]);const l=(e=i.node())==null?void 0:e.getBoundingClientRect();return l&&u.remove(),l}function Nr(n,r,t,e=!1){const i=r.append("g"),l=i.insert("rect").attr("class","background"),a=i.append("text").attr("y","-10.1");let m=0;for(const c of t){const p=x=>Hr(i,1.1,x)<=n,f=p(c)?[c]:jr(c,p);for(const x of f){const h=Pn(a,m,1.1);_n(h,x),m++}}if(e){const c=a.node().getBBox(),p=2;return l.attr("x",-p).attr("y",-p).attr("width",c.width+2*p).attr("height",c.height+2*p),i.node()}else return a.node()}function _n(n,r){n.text(""),r.forEach((t,e)=>{const u=n.append("tspan").attr("font-style",t.type==="emphasis"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",t.type==="strong"?"bold":"normal");e===0?u.text(t.content):u.text(" "+t.content)})}const Ur=(n,r="",{style:t="",isTitle:e=!1,classes:u="",useHtmlLabels:i=!0,isNode:l=!0,width:a=200,addSvgBackground:m=!1}={})=>{if(Ct.info("createText",r,t,e,u,i,l,m),i){const c=Pr(r),p={isNode:l,label:At(c).replace(/fa[blrs]?:fa-[\w-]+/g,x=>``),labelStyle:t.replace("fill:","color:")};return qr(n,p,a,u,m)}else{const c=Dr(r);return Nr(a,n,c,m)}};export{Qr as a,Ur as c}; diff --git a/assets/css-tuEqSfZX.js b/assets/css-tuEqSfZX.js new file mode 100644 index 00000000000..e719d933a16 --- /dev/null +++ b/assets/css-tuEqSfZX.js @@ -0,0 +1,505 @@ +const e=Object.freeze({displayName:"CSS",name:"css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#combinators"},{include:"#selector"},{include:"#at-rules"},{include:"#rule-list"}],repository:{"at-rules":{patterns:[{begin:"\\A(?:\\xEF\\xBB\\xBF)?(?i:(?=\\s*@charset\\b))",end:";|(?=$)",endCaptures:{0:{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.charset.css",patterns:[{captures:{1:{name:"invalid.illegal.not-lowercase.charset.css"},2:{name:"invalid.illegal.leading-whitespace.charset.css"},3:{name:"invalid.illegal.no-whitespace.charset.css"},4:{name:"invalid.illegal.whitespace.charset.css"},5:{name:"invalid.illegal.not-double-quoted.charset.css"},6:{name:"invalid.illegal.unclosed-string.charset.css"},7:{name:"invalid.illegal.unexpected-characters.charset.css"}},match:`(?x) +\\G +((?!@charset)@\\w+) +| +\\G(\\s+) +| +(@charset\\S[^;]*) +| +(?<=@charset) +(\\x20{2,}|\\t+) +| +(?<=@charset\\x20) +([^";]+) +| +("[^"]+$) +| +(?<=") +([^;]+)`},{captures:{1:{name:"keyword.control.at-rule.charset.css"},2:{name:"punctuation.definition.keyword.css"}},match:"((@)charset)(?=\\s)"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.css"}},end:'"|$',endCaptures:{0:{name:"punctuation.definition.string.end.css"}},name:"string.quoted.double.css",patterns:[{begin:'(?:\\G|^)(?=(?:[^"])+$)',end:"$",name:"invalid.illegal.unclosed.string.css"}]}]},{begin:`(?i)((@)import)(?:\\s+|$|(?=['"]|/\\*))`,beginCaptures:{1:{name:"keyword.control.at-rule.import.css"},2:{name:"punctuation.definition.keyword.css"}},end:";",endCaptures:{0:{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.import.css",patterns:[{begin:"\\G\\s*(?=/\\*)",end:"(?<=\\*/)\\s*",patterns:[{include:"#comment-block"}]},{include:"#string"},{include:"#url"},{include:"#media-query-list"}]},{begin:"(?i)((@)font-face)(?=\\s*|{|/\\*|$)",beginCaptures:{1:{name:"keyword.control.at-rule.font-face.css"},2:{name:"punctuation.definition.keyword.css"}},end:"(?!\\G)",name:"meta.at-rule.font-face.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#rule-list"}]},{begin:"(?i)(@)page(?=[\\s:{]|/\\*|$)",captures:{0:{name:"keyword.control.at-rule.page.css"},1:{name:"punctuation.definition.keyword.css"}},end:"(?=\\s*($|[:{;]))",name:"meta.at-rule.page.css",patterns:[{include:"#rule-list"}]},{begin:"(?i)(?=@media(\\s|\\(|/\\*|$))",end:"(?<=})(?!\\G)",patterns:[{begin:"(?i)\\G(@)media",beginCaptures:{0:{name:"keyword.control.at-rule.media.css"},1:{name:"punctuation.definition.keyword.css"}},end:"(?=\\s*[{;])",name:"meta.at-rule.media.header.css",patterns:[{include:"#media-query-list"}]},{begin:"{",beginCaptures:{0:{name:"punctuation.section.media.begin.bracket.curly.css"}},end:"}",endCaptures:{0:{name:"punctuation.section.media.end.bracket.curly.css"}},name:"meta.at-rule.media.body.css",patterns:[{include:"$self"}]}]},{begin:`(?i)(?=@counter-style([\\s'"{;]|/\\*|$))`,end:"(?<=})(?!\\G)",patterns:[{begin:"(?i)\\G(@)counter-style",beginCaptures:{0:{name:"keyword.control.at-rule.counter-style.css"},1:{name:"punctuation.definition.keyword.css"}},end:"(?=\\s*{)",name:"meta.at-rule.counter-style.header.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{captures:{0:{patterns:[{include:"#escapes"}]}},match:`(?x) +(?:[-a-zA-Z_] | [^\\x00-\\x7F]) +(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] +|\\\\(?:[0-9a-fA-F]{1,6}|.) +)*`,name:"variable.parameter.style-name.css"}]},{begin:"{",beginCaptures:{0:{name:"punctuation.section.property-list.begin.bracket.curly.css"}},end:"}",endCaptures:{0:{name:"punctuation.section.property-list.end.bracket.curly.css"}},name:"meta.at-rule.counter-style.body.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#rule-list-innards"}]}]},{begin:`(?i)(?=@document([\\s'"{;]|/\\*|$))`,end:"(?<=})(?!\\G)",patterns:[{begin:"(?i)\\G(@)document",beginCaptures:{0:{name:"keyword.control.at-rule.document.css"},1:{name:"punctuation.definition.keyword.css"}},end:"(?=\\s*[{;])",name:"meta.at-rule.document.header.css",patterns:[{begin:"(?i)(?>>",name:"invalid.deprecated.combinator.css"},{match:">>|>|\\+|~",name:"keyword.operator.combinator.css"}]},commas:{match:",",name:"punctuation.separator.list.comma.css"},"comment-block":{begin:"/\\*",beginCaptures:{0:{name:"punctuation.definition.comment.begin.css"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.end.css"}},name:"comment.block.css"},escapes:{patterns:[{match:"\\\\[0-9a-fA-F]{1,6}",name:"constant.character.escape.codepoint.css"},{begin:"\\\\$\\s*",end:"^(?<:=]|\\)|/\\*)`},"media-query":{begin:"\\G",end:"(?=\\s*[{;])",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#media-types"},{match:"(?i)(?<=\\s|^|,|\\*/)(only|not)(?=\\s|{|/\\*|$)",name:"keyword.operator.logical.$1.media.css"},{match:"(?i)(?<=\\s|^|\\*/|\\))and(?=\\s|/\\*|$)",name:"keyword.operator.logical.and.media.css"},{match:",(?:(?:\\s*,)+|(?=\\s*[;){]))",name:"invalid.illegal.comma.css"},{include:"#commas"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.bracket.round.css"}},patterns:[{include:"#media-features"},{include:"#media-feature-keywords"},{match:":",name:"punctuation.separator.key-value.css"},{match:">=|<=|=|<|>",name:"keyword.operator.comparison.css"},{captures:{1:{name:"constant.numeric.css"},2:{name:"keyword.operator.arithmetic.css"},3:{name:"constant.numeric.css"}},match:"(\\d+)\\s*(/)\\s*(\\d+)",name:"meta.ratio.css"},{include:"#numeric-values"},{include:"#comment-block"}]}]},"media-query-list":{begin:"(?=\\s*[^{;])",end:"(?=\\s*[{;])",patterns:[{include:"#media-query"}]},"media-types":{captures:{1:{name:"support.constant.media.css"},2:{name:"invalid.deprecated.constant.media.css"}},match:`(?xi) +(?<=^|\\s|,|\\*/) +(?: + +(all|print|screen|speech) +| + +(aural|braille|embossed|handheld|projection|tty|tv) +) +(?=$|[{,\\s;]|/\\*)`},"numeric-values":{patterns:[{captures:{1:{name:"punctuation.definition.constant.css"}},match:"(#)(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b",name:"constant.other.color.rgb-value.hex.css"},{captures:{1:{name:"keyword.other.unit.percentage.css"},2:{name:"keyword.other.unit.${2:/downcase}.css"}},match:`(?xi) (?+~|] +| /\\* +) +| + +(?: +[-a-zA-Z_0-9]|[^\\x00-\\x7F] +| \\\\(?:[0-9a-fA-F]{1,6}|.) +)* +(?: +[!"'%&(*;+~|] +| /\\* +)`,name:"entity.other.attribute-name.class.css"},{captures:{1:{name:"punctuation.definition.entity.css"},2:{patterns:[{include:"#escapes"}]}},match:`(?x) +(\\#) +( +-? +(?![0-9]) +(?:[-a-zA-Z0-9_]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+ +) +(?=$|[\\s,.\\#)\\[:{>+~|]|/\\*)`,name:"entity.other.attribute-name.id.css"},{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.entity.begin.bracket.square.css"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.entity.end.bracket.square.css"}},name:"meta.attribute-selector.css",patterns:[{include:"#comment-block"},{include:"#string"},{captures:{1:{name:"storage.modifier.ignore-case.css"}},match:`(?<=["'\\s]|^|\\*/)\\s*([iI])\\s*(?=[\\s\\]]|/\\*|$)`},{captures:{1:{name:"string.unquoted.attribute-value.css",patterns:[{include:"#escapes"}]}},match:`(?x)(?<==)\\s*((?!/\\*)(?:[^\\\\"'\\s\\]]|\\\\.)+)`},{include:"#escapes"},{match:"[~|^$*]?=",name:"keyword.operator.pattern.css"},{match:"\\|",name:"punctuation.separator.css"},{captures:{1:{name:"entity.other.namespace-prefix.css",patterns:[{include:"#escapes"}]}},match:`(?x) +# Qualified namespace prefix +( -?(?!\\d)(?:[\\w-]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+ +| \\* +) +# Lookahead to ensure there's a valid identifier ahead +(?= +\\| (?!\\s|=|$|\\]) +(?: -?(?!\\d) +| [\\\\\\w-] +| [^\\x00-\\x7F] +) +)`},{captures:{1:{name:"entity.other.attribute-name.css",patterns:[{include:"#escapes"}]}},match:`(?x) +(-?(?!\\d)(?>[\\w-]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+) +\\s* +(?=[~|^\\]$*=]|/\\*)`}]},{include:"#pseudo-classes"},{include:"#pseudo-elements"},{include:"#functional-pseudo-classes"},{match:`(?x) (?\\s,.\\#|){:\\[]|/\\*|$)`,name:"entity.name.tag.css"},"unicode-range":{captures:{0:{name:"constant.other.unicode-range.css"},1:{name:"punctuation.separator.dash.unicode-range.css"}},match:"(?68?1900:2e3)},o=function(t){return function(r){this[t]=+r}},k=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(r){if(!r||r==="Z")return 0;var n=r.match(/([+-]|\d\d)/g),e=60*n[1]+(+n[2]||0);return e===0?0:n[0]==="+"?-e:e}(t)}],F=function(t){var r=m[t];return r&&(r.indexOf?r:r.s.concat(r.f))},X=function(t,r){var n,e=m.meridiem;if(e){for(var f=1;f<=24;f+=1)if(t.indexOf(e(f,0,r))>-1){n=f>12;break}}else n=t===(r?"pm":"PM");return n},q={A:[y,function(t){this.afternoon=X(t,!1)}],a:[y,function(t){this.afternoon=X(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[$,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,o("seconds")],ss:[i,o("seconds")],m:[i,o("minutes")],mm:[i,o("minutes")],H:[i,o("hours")],h:[i,o("hours")],HH:[i,o("hours")],hh:[i,o("hours")],D:[i,o("day")],DD:[$,o("day")],Do:[y,function(t){var r=m.ordinal,n=t.match(/\d+/);if(this.day=n[0],r)for(var e=1;e<=31;e+=1)r(e).replace(/\[|\]/g,"")===t&&(this.day=e)}],M:[i,o("month")],MM:[$,o("month")],MMM:[y,function(t){var r=F("months"),n=(F("monthsShort")||r.map(function(e){return e.slice(0,3)})).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[y,function(t){var r=F("months").indexOf(t)+1;if(r<1)throw new Error;this.month=r%12||r}],Y:[/[+-]?\d+/,o("year")],YY:[$,function(t){this.year=j(t)}],YYYY:[/\d{4}/,o("year")],Z:k,ZZ:k};function B(t){var r,n;r=t,n=m&&m.formats;for(var e=(t=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(v,l,c){var s=c&&c.toUpperCase();return l||n[c]||U[c]||n[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,Y,D){return Y||D.slice(1)})})).match(Z),f=e.length,h=0;h-1)return new Date((L==="X"?1e3:1)*S);var a=B(L)(S),x=a.year,A=a.month,I=a.day,J=a.hours,K=a.minutes,N=a.seconds,Q=a.milliseconds,_=a.zone,H=new Date,O=I||(x||A?1:H.getDate()),P=x||H.getFullYear(),T=0;x&&!A||(T=A>0?A-1:H.getMonth());var z=J||0,C=K||0,E=N||0,b=Q||0;return _?new Date(Date.UTC(P,T,O,z,C,E,b+60*_.offset*1e3)):g?new Date(Date.UTC(P,T,O,z,C,E,b)):new Date(P,T,O,z,C,E,b)}catch{return new Date("")}}(w,d,p),this.init(),s&&s!==!0&&(this.$L=this.locale(s).$L),c&&w!=this.format(d)&&(this.$d=new Date("")),m={}}else if(d instanceof Array)for(var M=d.length,Y=1;Y<=M;Y+=1){u[1]=d[Y-1];var D=n.apply(this,u);if(D.isValid()){this.$d=D.$d,this.$L=D.$L,this.init();break}Y===M&&(this.$d=new Date(""))}else f.call(this,h)}}})})(G);var tt=G.exports;const ot=W(tt);export{ot as c}; diff --git a/assets/dom-NuJWIaAq.js b/assets/dom-NuJWIaAq.js new file mode 100644 index 00000000000..0208d6e1d0a --- /dev/null +++ b/assets/dom-NuJWIaAq.js @@ -0,0 +1 @@ +const o=t=>t.stopPropagation(),a=t=>t.preventDefault();export{a as p,o as s}; diff --git a/assets/edges-d417c7a0-ff79nGD3.js b/assets/edges-d417c7a0-ff79nGD3.js new file mode 100644 index 00000000000..78c25bb51cb --- /dev/null +++ b/assets/edges-d417c7a0-ff79nGD3.js @@ -0,0 +1,4 @@ +import{t as H,c as b,d as q,v as Q,h as E,l as g,u as j,x as lt}from"./mermaid.core-wTs8WatG.js";import{c as st}from"./createText-423428c9-K2AvnXL1.js";import{l as ct}from"./line-NZ5yCA7P.js";const ht=(e,t,a,i)=>{t.forEach(l=>{wt[l](e,a,i)})},ot=(e,t,a)=>{g.trace("Making markers for ",a),e.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},yt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},pt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},ft=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},xt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},dt=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},gt=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},ut=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},bt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},wt={extension:ot,composition:yt,aggregation:pt,dependency:ft,lollipop:xt,point:dt,circle:gt,cross:ut,barb:bt},hr=ht;function mt(e,t){t&&e.attr("style",t)}function kt(e){const t=E(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=t.append("xhtml:div"),i=e.label,l=e.isNode?"nodeLabel":"edgeLabel";return a.html('"+i+""),mt(a,e.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}const vt=(e,t,a,i)=>{let l=e||"";if(typeof l=="object"&&(l=l[0]),H(b().flowchart.htmlLabels)){l=l.replace(/\\n|\n/g,"
"),g.debug("vertexText"+l);const r={isNode:i,label:Q(l).replace(/fa[blrs]?:fa-[\w-]+/g,n=>``),labelStyle:t.replace("fill:","color:")};return kt(r)}else{const r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("style",t.replace("color:","fill:"));let s=[];typeof l=="string"?s=l.split(/\\n|\n|/gi):Array.isArray(l)?s=l:s=[];for(const n of s){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),a?c.setAttribute("class","title-row"):c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}return r}},R=vt,M=async(e,t,a,i)=>{let l;const r=t.useHtmlLabels||H(b().flowchart.htmlLabels);a?l=a:l="node default";const s=e.insert("g").attr("class",l).attr("id",t.domId||t.id),n=s.insert("g").attr("class","label").attr("style",t.labelStyle);let c;t.labelText===void 0?c="":c=typeof t.labelText=="string"?t.labelText:t.labelText[0];const o=n.node();let h;t.labelType==="markdown"?h=st(n,q(Q(c),b()),{useHtmlLabels:r,width:t.width||b().flowchart.wrappingWidth,classes:"markdown-node-label"}):h=o.appendChild(R(q(Q(c),b()),t.labelStyle,!1,i));let y=h.getBBox();const f=t.padding/2;if(H(b().flowchart.htmlLabels)){const p=h.children[0],d=E(h),k=p.getElementsByTagName("img");if(k){const x=c.replace(/]*>/g,"").trim()==="";await Promise.all([...k].map(u=>new Promise(S=>{function B(){if(u.style.display="flex",u.style.flexDirection="column",x){const C=b().fontSize?b().fontSize:window.getComputedStyle(document.body).fontSize,D=parseInt(C,10)*5+"px";u.style.minWidth=D,u.style.maxWidth=D}else u.style.width="100%";S(u)}setTimeout(()=>{u.complete&&B()}),u.addEventListener("error",B),u.addEventListener("load",B)})))}y=p.getBoundingClientRect(),d.attr("width",y.width),d.attr("height",y.height)}return r?n.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"):n.attr("transform","translate(0, "+-y.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:s,bbox:y,halfPadding:f,label:n}},m=(e,t)=>{const a=t.node().getBBox();e.width=a.width,e.height=a.height};function I(e,t,a,i){return e.insert("polygon",":first-child").attr("points",i.map(function(l){return l.x+","+l.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+a/2+")")}function Lt(e,t){return e.intersect(t)}function it(e,t,a,i){var l=e.x,r=e.y,s=l-i.x,n=r-i.y,c=Math.sqrt(t*t*n*n+a*a*s*s),o=Math.abs(t*a*s/c);i.x0}function Tt(e,t,a){var i=e.x,l=e.y,r=[],s=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){s=Math.min(s,d.x),n=Math.min(n,d.y)}):(s=Math.min(s,t.x),n=Math.min(n,t.y));for(var c=i-e.width/2-s,o=l-e.height/2-n,h=0;h1&&r.sort(function(d,k){var x=d.x-a.x,u=d.y-a.y,S=Math.sqrt(x*x+u*u),B=k.x-a.x,C=k.y-a.y,X=Math.sqrt(B*B+C*C);return S{var a=e.x,i=e.y,l=t.x-a,r=t.y-i,s=e.width/2,n=e.height/2,c,o;return Math.abs(r)*s>Math.abs(l)*n?(r<0&&(n=-n),c=r===0?0:n*l/r,o=n):(l<0&&(s=-s),c=s,o=l===0?0:s*r/l),{x:a+c,y:i+o}},Et=Bt,w={node:Lt,circle:St,ellipse:it,polygon:Tt,rect:Et},Ct=async(e,t)=>{t.useHtmlLabels||b().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:i,bbox:l,halfPadding:r}=await M(e,t,"node "+t.classes,!0);g.info("Classes = ",t.classes);const s=i.insert("rect",":first-child");return s.attr("rx",t.rx).attr("ry",t.ry).attr("x",-l.width/2-r).attr("y",-l.height/2-r).attr("width",l.width+t.padding).attr("height",l.height+t.padding),m(t,s),t.intersect=function(n){return w.rect(t,n)},i},$t=Ct,_t=e=>{const t=new Set;for(const a of e)switch(a){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(a);break}return t},Rt=(e,t,a)=>{const i=_t(e),l=2,r=t.height+2*a.padding,s=r/l,n=t.width+2*s+a.padding,c=a.padding/2;return i.has("right")&&i.has("left")&&i.has("up")&&i.has("down")?[{x:0,y:0},{x:s,y:0},{x:n/2,y:2*c},{x:n-s,y:0},{x:n,y:0},{x:n,y:-r/3},{x:n+2*c,y:-r/2},{x:n,y:-2*r/3},{x:n,y:-r},{x:n-s,y:-r},{x:n/2,y:-r-2*c},{x:s,y:-r},{x:0,y:-r},{x:0,y:-2*r/3},{x:-2*c,y:-r/2},{x:0,y:-r/3}]:i.has("right")&&i.has("left")&&i.has("up")?[{x:s,y:0},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:s,y:-r},{x:0,y:-r/2}]:i.has("right")&&i.has("left")&&i.has("down")?[{x:0,y:0},{x:s,y:-r},{x:n-s,y:-r},{x:n,y:0}]:i.has("right")&&i.has("up")&&i.has("down")?[{x:0,y:0},{x:n,y:-s},{x:n,y:-r+s},{x:0,y:-r}]:i.has("left")&&i.has("up")&&i.has("down")?[{x:n,y:0},{x:0,y:-s},{x:0,y:-r+s},{x:n,y:-r}]:i.has("right")&&i.has("left")?[{x:s,y:0},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r},{x:0,y:-r/2}]:i.has("up")&&i.has("down")?[{x:n/2,y:0},{x:0,y:-c},{x:s,y:-c},{x:s,y:-r+c},{x:0,y:-r+c},{x:n/2,y:-r},{x:n,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c},{x:n,y:-c}]:i.has("right")&&i.has("up")?[{x:0,y:0},{x:n,y:-s},{x:0,y:-r}]:i.has("right")&&i.has("down")?[{x:0,y:0},{x:n,y:0},{x:0,y:-r}]:i.has("left")&&i.has("up")?[{x:n,y:0},{x:0,y:-s},{x:n,y:-r}]:i.has("left")&&i.has("down")?[{x:n,y:0},{x:0,y:0},{x:n,y:-r}]:i.has("right")?[{x:s,y:-c},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r+c}]:i.has("left")?[{x:s,y:0},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r},{x:0,y:-r/2}]:i.has("up")?[{x:s,y:-c},{x:s,y:-r+c},{x:0,y:-r+c},{x:n/2,y:-r},{x:n,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c}]:i.has("down")?[{x:n/2,y:0},{x:0,y:-c},{x:s,y:-c},{x:s,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c},{x:n,y:-c}]:[{x:0,y:0}]},K=e=>e?" "+e:"",_=(e,t)=>`${t||"node default"}${K(e.classes)} ${K(e.class)}`,P=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.width+t.padding,r=i.height+t.padding,s=l+r,n=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];g.info("Question main (Circle)");const c=I(a,s,s,n);return c.attr("style",t.style),m(t,c),t.intersect=function(o){return g.warn("Intersect called"),w.polygon(t,n,o)},a},Ht=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=28,l=[{x:0,y:i/2},{x:i/2,y:0},{x:0,y:-i/2},{x:-i/2,y:0}];return a.insert("polygon",":first-child").attr("points",l.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(s){return w.circle(t,14,s)},a},It=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=4,r=i.height+t.padding,s=r/l,n=i.width+2*s+t.padding,c=[{x:s,y:0},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:s,y:-r},{x:0,y:-r/2}],o=I(a,n,r,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return w.polygon(t,c,h)},a},Nt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,void 0,!0),l=2,r=i.height+2*t.padding,s=r/l,n=i.width+2*s+t.padding,c=Rt(t.directions,i,t),o=I(a,n,r,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return w.polygon(t,c,h)},a},Ot=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-r/2,y:0},{x:l,y:0},{x:l,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}];return I(a,l,r,s).attr("style",t.style),t.width=l+r,t.height=r,t.intersect=function(c){return w.polygon(t,s,c)},a},Wt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-2*r/6,y:0},{x:l-r/6,y:0},{x:l+2*r/6,y:-r},{x:r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Xt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:2*r/6,y:0},{x:l+r/6,y:0},{x:l-2*r/6,y:-r},{x:-r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Yt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-2*r/6,y:0},{x:l+2*r/6,y:0},{x:l-r/6,y:-r},{x:r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Dt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:r/6,y:0},{x:l-r/6,y:0},{x:l+2*r/6,y:-r},{x:-2*r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},At=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:0,y:0},{x:l+r/2,y:0},{x:l,y:-r/2},{x:l+r/2,y:-r},{x:0,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},jt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.width+t.padding,r=l/2,s=r/(2.5+l/50),n=i.height+s+t.padding,c="M 0,"+s+" a "+r+","+s+" 0,0,0 "+l+" 0 a "+r+","+s+" 0,0,0 "+-l+" 0 l 0,"+n+" a "+r+","+s+" 0,0,0 "+l+" 0 l 0,"+-n,o=a.attr("label-offset-y",s).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-l/2+","+-(n/2+s)+")");return m(t,o),t.intersect=function(h){const y=w.rect(t,h),f=y.x-t.x;if(r!=0&&(Math.abs(f)t.height/2-s)){let p=s*s*(1-f*f/(r*r));p!=0&&(p=Math.sqrt(p)),p=s-p,h.y-t.y>0&&(p=-p),y.y+=p}return y},a},Ut=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,"node "+t.classes+" "+t.class,!0),r=a.insert("rect",":first-child"),s=t.positioned?t.width:i.width+t.padding,n=t.positioned?t.height:i.height+t.padding,c=t.positioned?-s/2:-i.width/2-l,o=t.positioned?-n/2:-i.height/2-l;if(r.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",c).attr("y",o).attr("width",s).attr("height",n),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(V(r,t.props.borders,s,n),h.delete("borders")),h.forEach(y=>{g.warn(`Unknown node property ${y}`)})}return m(t,r),t.intersect=function(h){return w.rect(t,h)},a},zt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,"node "+t.classes,!0),r=a.insert("rect",":first-child"),s=t.positioned?t.width:i.width+t.padding,n=t.positioned?t.height:i.height+t.padding,c=t.positioned?-s/2:-i.width/2-l,o=t.positioned?-n/2:-i.height/2-l;if(r.attr("class","basic cluster composite label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",c).attr("y",o).attr("width",s).attr("height",n),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(V(r,t.props.borders,s,n),h.delete("borders")),h.forEach(y=>{g.warn(`Unknown node property ${y}`)})}return m(t,r),t.intersect=function(h){return w.rect(t,h)},a},Zt=async(e,t)=>{const{shapeSvg:a}=await M(e,t,"label",!0);g.trace("Classes = ",t.class);const i=a.insert("rect",":first-child"),l=0,r=0;if(i.attr("width",l).attr("height",r),a.attr("class","label edgeLabel"),t.props){const s=new Set(Object.keys(t.props));t.props.borders&&(V(i,t.props.borders,l,r),s.delete("borders")),s.forEach(n=>{g.warn(`Unknown node property ${n}`)})}return m(t,i),t.intersect=function(s){return w.rect(t,s)},a};function V(e,t,a,i){const l=[],r=n=>{l.push(n,0)},s=n=>{l.push(0,n)};t.includes("t")?(g.debug("add top border"),r(a)):s(a),t.includes("r")?(g.debug("add right border"),r(i)):s(i),t.includes("b")?(g.debug("add bottom border"),r(a)):s(a),t.includes("l")?(g.debug("add left border"),r(i)):s(i),e.attr("stroke-dasharray",l.join(" "))}const Gt=(e,t)=>{let a;t.classes?a="node "+t.classes:a="node default";const i=e.insert("g").attr("class",a).attr("id",t.domId||t.id),l=i.insert("rect",":first-child"),r=i.insert("line"),s=i.insert("g").attr("class","label"),n=t.labelText.flat?t.labelText.flat():t.labelText;let c="";typeof n=="object"?c=n[0]:c=n,g.info("Label text abc79",c,n,typeof n=="object");const o=s.node().appendChild(R(c,t.labelStyle,!0,!0));let h={width:0,height:0};if(H(b().flowchart.htmlLabels)){const k=o.children[0],x=E(o);h=k.getBoundingClientRect(),x.attr("width",h.width),x.attr("height",h.height)}g.info("Text 2",n);const y=n.slice(1,n.length);let f=o.getBBox();const p=s.node().appendChild(R(y.join?y.join("
"):y,t.labelStyle,!0,!0));if(H(b().flowchart.htmlLabels)){const k=p.children[0],x=E(p);h=k.getBoundingClientRect(),x.attr("width",h.width),x.attr("height",h.height)}const d=t.padding/2;return E(p).attr("transform","translate( "+(h.width>f.width?0:(f.width-h.width)/2)+", "+(f.height+d+5)+")"),E(o).attr("transform","translate( "+(h.width{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.height+t.padding,r=i.width+l/4+t.padding,s=a.insert("rect",":first-child").attr("style",t.style).attr("rx",l/2).attr("ry",l/2).attr("x",-r/2).attr("y",-l/2).attr("width",r).attr("height",l);return m(t,s),t.intersect=function(n){return w.rect(t,n)},a},Qt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,_(t,void 0),!0),r=a.insert("circle",":first-child");return r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l).attr("width",i.width+t.padding).attr("height",i.height+t.padding),g.info("Circle main"),m(t,r),t.intersect=function(s){return g.info("Circle intersect",t,i.width/2+l,s),w.circle(t,i.width/2+l,s)},a},Vt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,_(t,void 0),!0),r=5,s=a.insert("g",":first-child"),n=s.insert("circle"),c=s.insert("circle");return s.attr("class",t.class),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l+r).attr("width",i.width+t.padding+r*2).attr("height",i.height+t.padding+r*2),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l).attr("width",i.width+t.padding).attr("height",i.height+t.padding),g.info("DoubleCircle main"),m(t,n),t.intersect=function(o){return g.info("DoubleCircle intersect",t,i.width/2+l+r,o),w.circle(t,i.width/2+l+r,o)},a},qt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t,void 0),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:0,y:0},{x:l,y:0},{x:l,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Jt=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=a.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),m(t,i),t.intersect=function(l){return w.circle(t,7,l)},a},tt=(e,t,a)=>{const i=e.insert("g").attr("class","node default").attr("id",t.domId||t.id);let l=70,r=10;a==="LR"&&(l=10,r=70);const s=i.append("rect").attr("x",-1*l/2).attr("y",-1*r/2).attr("width",l).attr("height",r).attr("class","fork-join");return m(t,s),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(n){return w.rect(t,n)},i},Kt=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=a.insert("circle",":first-child"),l=a.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),i.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),m(t,l),t.intersect=function(r){return w.circle(t,7,r)},a},Pt=(e,t)=>{const a=t.padding/2,i=4,l=8;let r;t.classes?r="node "+t.classes:r="node default";const s=e.insert("g").attr("class",r).attr("id",t.domId||t.id),n=s.insert("rect",":first-child"),c=s.insert("line"),o=s.insert("line");let h=0,y=i;const f=s.insert("g").attr("class","label");let p=0;const d=t.classData.annotations&&t.classData.annotations[0],k=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",x=f.node().appendChild(R(k,t.labelStyle,!0,!0));let u=x.getBBox();if(H(b().flowchart.htmlLabels)){const v=x.children[0],L=E(x);u=v.getBoundingClientRect(),L.attr("width",u.width),L.attr("height",u.height)}t.classData.annotations[0]&&(y+=u.height+i,h+=u.width);let S=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(b().flowchart.htmlLabels?S+="<"+t.classData.type+">":S+="<"+t.classData.type+">");const B=f.node().appendChild(R(S,t.labelStyle,!0,!0));E(B).attr("class","classTitle");let C=B.getBBox();if(H(b().flowchart.htmlLabels)){const v=B.children[0],L=E(B);C=v.getBoundingClientRect(),L.attr("width",C.width),L.attr("height",C.height)}y+=C.height+i,C.width>h&&(h=C.width);const X=[];t.classData.members.forEach(v=>{const L=v.getDisplayDetails();let W=L.displayText;b().flowchart.htmlLabels&&(W=W.replace(//g,">"));const N=f.node().appendChild(R(W,L.cssStyle?L.cssStyle:t.labelStyle,!0,!0));let $=N.getBBox();if(H(b().flowchart.htmlLabels)){const F=N.children[0],A=E(N);$=F.getBoundingClientRect(),A.attr("width",$.width),A.attr("height",$.height)}$.width>h&&(h=$.width),y+=$.height+i,X.push(N)}),y+=l;const D=[];if(t.classData.methods.forEach(v=>{const L=v.getDisplayDetails();let W=L.displayText;b().flowchart.htmlLabels&&(W=W.replace(//g,">"));const N=f.node().appendChild(R(W,L.cssStyle?L.cssStyle:t.labelStyle,!0,!0));let $=N.getBBox();if(H(b().flowchart.htmlLabels)){const F=N.children[0],A=E(N);$=F.getBoundingClientRect(),A.attr("width",$.width),A.attr("height",$.height)}$.width>h&&(h=$.width),y+=$.height+i,D.push(N)}),y+=l,d){let v=(h-u.width)/2;E(x).attr("transform","translate( "+(-1*h/2+v)+", "+-1*y/2+")"),p=u.height+i}let nt=(h-C.width)/2;return E(B).attr("transform","translate( "+(-1*h/2+nt)+", "+(-1*y/2+p)+")"),p+=C.height+i,c.attr("class","divider").attr("x1",-h/2-a).attr("x2",h/2+a).attr("y1",-y/2-a+l+p).attr("y2",-y/2-a+l+p),p+=l,X.forEach(v=>{E(v).attr("transform","translate( "+-h/2+", "+(-1*y/2+p+l/2)+")");const L=v?.getBBox();p+=(L?.height??0)+i}),p+=l,o.attr("class","divider").attr("x1",-h/2-a).attr("x2",h/2+a).attr("y1",-y/2-a+l+p).attr("y2",-y/2-a+l+p),p+=l,D.forEach(v=>{E(v).attr("transform","translate( "+-h/2+", "+(-1*y/2+p)+")");const L=v?.getBBox();p+=(L?.height??0)+i}),n.attr("style",t.style).attr("class","outer title-state").attr("x",-h/2-a).attr("y",-(y/2)-a).attr("width",h+t.padding).attr("height",y+t.padding),m(t,n),t.intersect=function(v){return w.rect(t,v)},s},rt={rhombus:P,composite:zt,question:P,rect:Ut,labelRect:Zt,rectWithTitle:Gt,choice:Ht,circle:Qt,doublecircle:Vt,stadium:Ft,hexagon:It,block_arrow:Nt,rect_left_inv_arrow:Ot,lean_right:Wt,lean_left:Xt,trapezoid:Yt,inv_trapezoid:Dt,rect_right_inv_arrow:At,cylinder:jt,start:Jt,end:Kt,note:$t,subroutine:qt,fork:tt,join:tt,class_box:Pt};let Y={};const or=async(e,t,a)=>{let i,l;if(t.link){let r;b().securityLevel==="sandbox"?r="_top":t.linkTarget&&(r=t.linkTarget||"_blank"),i=e.insert("svg:a").attr("xlink:href",t.link).attr("target",r),l=await rt[t.shape](i,t,a)}else l=await rt[t.shape](e,t,a),i=l;return t.tooltip&&l.attr("title",t.tooltip),t.class&&l.attr("class","node default "+t.class),i.attr("data-node","true"),i.attr("data-id",t.id),Y[t.id]=i,t.haveCallback&&Y[t.id].attr("class",Y[t.id].attr("class")+" clickable"),i},yr=(e,t)=>{Y[t.id]=e},pr=()=>{Y={}},fr=e=>{const t=Y[e.id];g.trace("Transforming node",e.diff,e,"translate("+(e.x-e.width/2-5)+", "+e.width/2+")");const a=8,i=e.diff||0;return e.clusterNode?t.attr("transform","translate("+(e.x+i-e.width/2)+", "+(e.y-e.height/2-a)+")"):t.attr("transform","translate("+e.x+", "+e.y+")"),i},tr=({flowchart:e})=>{var t,a;const i=((t=e?.subGraphTitleMargin)==null?void 0:t.top)??0,l=((a=e?.subGraphTitleMargin)==null?void 0:a.bottom)??0,r=i+l;return{subGraphTitleTopMargin:i,subGraphTitleBottomMargin:l,subGraphTitleTotalMargin:r}},O={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function U(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=Z(e),t=Z(t);const[a,i]=[e.x,e.y],[l,r]=[t.x,t.y],s=l-a,n=r-i;return{angle:Math.atan(n/s),deltaX:s,deltaY:n}}const Z=e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,rr=e=>({x:function(t,a,i){let l=0;if(a===0&&Object.hasOwn(O,e.arrowTypeStart)){const{angle:r,deltaX:s}=U(i[0],i[1]);l=O[e.arrowTypeStart]*Math.cos(r)*(s>=0?1:-1)}else if(a===i.length-1&&Object.hasOwn(O,e.arrowTypeEnd)){const{angle:r,deltaX:s}=U(i[i.length-1],i[i.length-2]);l=O[e.arrowTypeEnd]*Math.cos(r)*(s>=0?1:-1)}return Z(t).x+l},y:function(t,a,i){let l=0;if(a===0&&Object.hasOwn(O,e.arrowTypeStart)){const{angle:r,deltaY:s}=U(i[0],i[1]);l=O[e.arrowTypeStart]*Math.abs(Math.sin(r))*(s>=0?1:-1)}else if(a===i.length-1&&Object.hasOwn(O,e.arrowTypeEnd)){const{angle:r,deltaY:s}=U(i[i.length-1],i[i.length-2]);l=O[e.arrowTypeEnd]*Math.abs(Math.sin(r))*(s>=0?1:-1)}return Z(t).y+l}}),ar=(e,t,a,i,l)=>{t.arrowTypeStart&&at(e,"start",t.arrowTypeStart,a,i,l),t.arrowTypeEnd&&at(e,"end",t.arrowTypeEnd,a,i,l)},er={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},at=(e,t,a,i,l,r)=>{const s=er[a];if(!s){g.warn(`Unknown arrow type: ${a}`);return}const n=t==="start"?"Start":"End";e.attr(`marker-${t}`,`url(${i}#${l}_${r}-${s}${n})`)};let G={},T={};const xr=()=>{G={},T={}},dr=(e,t)=>{const a=H(b().flowchart.htmlLabels),i=t.labelType==="markdown"?st(e,t.label,{style:t.labelStyle,useHtmlLabels:a,addSvgBackground:!0}):R(t.label,t.labelStyle),l=e.insert("g").attr("class","edgeLabel"),r=l.insert("g").attr("class","label");r.node().appendChild(i);let s=i.getBBox();if(a){const c=i.children[0],o=E(i);s=c.getBoundingClientRect(),o.attr("width",s.width),o.attr("height",s.height)}r.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),G[t.id]=l,t.width=s.width,t.height=s.height;let n;if(t.startLabelLeft){const c=R(t.startLabelLeft,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),T[t.id]||(T[t.id]={}),T[t.id].startLeft=o,z(n,t.startLabelLeft)}if(t.startLabelRight){const c=R(t.startLabelRight,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=o.node().appendChild(c),h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),T[t.id]||(T[t.id]={}),T[t.id].startRight=o,z(n,t.startLabelRight)}if(t.endLabelLeft){const c=R(t.endLabelLeft,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),o.node().appendChild(c),T[t.id]||(T[t.id]={}),T[t.id].endLeft=o,z(n,t.endLabelLeft)}if(t.endLabelRight){const c=R(t.endLabelRight,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),o.node().appendChild(c),T[t.id]||(T[t.id]={}),T[t.id].endRight=o,z(n,t.endLabelRight)}return i};function z(e,t){b().flowchart.htmlLabels&&e&&(e.style.width=t.length*9+"px",e.style.height="12px")}const gr=(e,t)=>{g.debug("Moving label abc88 ",e.id,e.label,G[e.id],t);let a=t.updatedPath?t.updatedPath:t.originalPath;const i=b(),{subGraphTitleTotalMargin:l}=tr(i);if(e.label){const r=G[e.id];let s=e.x,n=e.y;if(a){const c=j.calcLabelPosition(a);g.debug("Moving label "+e.label+" from (",s,",",n,") to (",c.x,",",c.y,") abc88"),t.updatedPath&&(s=c.x,n=c.y)}r.attr("transform",`translate(${s}, ${n+l/2})`)}if(e.startLabelLeft){const r=T[e.id].startLeft;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.startLabelRight){const r=T[e.id].startRight;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.endLabelLeft){const r=T[e.id].endLeft;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.endLabelRight){const r=T[e.id].endRight;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}},sr=(e,t)=>{const a=e.x,i=e.y,l=Math.abs(t.x-a),r=Math.abs(t.y-i),s=e.width/2,n=e.height/2;return l>=s||r>=n},ir=(e,t,a)=>{g.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(t)} + insidePoint : ${JSON.stringify(a)} + node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);const i=e.x,l=e.y,r=Math.abs(i-a.x),s=e.width/2;let n=a.xMath.abs(i-t.x)*c){let y=a.y{g.debug("abc88 cutPathAtIntersect",e,t);let a=[],i=e[0],l=!1;return e.forEach(r=>{if(!sr(t,r)&&!l){const s=ir(t,i,r);let n=!1;a.forEach(c=>{n=n||c.x===s.x&&c.y===s.y}),a.some(c=>c.x===s.x&&c.y===s.y)||a.push(s),l=!0}else i=r,l||a.push(r)}),a},ur=function(e,t,a,i,l,r,s){let n=a.points;g.debug("abc88 InsertEdge: edge=",a,"e=",t);let c=!1;const o=r.node(t.v);var h=r.node(t.w);h?.intersect&&o?.intersect&&(n=n.slice(1,a.points.length-1),n.unshift(o.intersect(n[0])),n.push(h.intersect(n[n.length-1]))),a.toCluster&&(g.debug("to cluster abc88",i[a.toCluster]),n=et(a.points,i[a.toCluster].node),c=!0),a.fromCluster&&(g.debug("from cluster abc88",i[a.fromCluster]),n=et(n.reverse(),i[a.fromCluster].node).reverse(),c=!0);const y=n.filter(C=>!Number.isNaN(C.y));let f=lt;a.curve&&(l==="graph"||l==="flowchart")&&(f=a.curve);const{x:p,y:d}=rr(a),k=ct().x(p).y(d).curve(f);let x;switch(a.thickness){case"normal":x="edge-thickness-normal";break;case"thick":x="edge-thickness-thick";break;case"invisible":x="edge-thickness-thick";break;default:x=""}switch(a.pattern){case"solid":x+=" edge-pattern-solid";break;case"dotted":x+=" edge-pattern-dotted";break;case"dashed":x+=" edge-pattern-dashed";break}const u=e.append("path").attr("d",k(y)).attr("id",a.id).attr("class"," "+x+(a.classes?" "+a.classes:"")).attr("style",a.style);let S="";(b().flowchart.arrowMarkerAbsolute||b().state.arrowMarkerAbsolute)&&(S=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,S=S.replace(/\(/g,"\\("),S=S.replace(/\)/g,"\\)")),ar(u,a,S,s,l);let B={};return c&&(B.updatedPath=n),B.originalPath=a.points,B};export{ur as a,dr as b,or as c,fr as d,pr as e,xr as f,tr as g,R as h,hr as i,Et as j,rr as k,M as l,ar as m,gr as p,yr as s,m as u}; diff --git a/assets/env-y9k74Ds6.js b/assets/env-y9k74Ds6.js new file mode 100644 index 00000000000..b61c533fa04 --- /dev/null +++ b/assets/env-y9k74Ds6.js @@ -0,0 +1 @@ +const e=typeof window<"u",s=!e,i=!1;export{s as a,i as b,e as i}; diff --git a/assets/erDiagram-0ea73325-Pq7U_8eA.js b/assets/erDiagram-0ea73325-Pq7U_8eA.js new file mode 100644 index 00000000000..150add8511e --- /dev/null +++ b/assets/erDiagram-0ea73325-Pq7U_8eA.js @@ -0,0 +1,51 @@ +import{c as Z,s as Et,g as mt,b as gt,a as kt,p as xt,q as Rt,l as V,r as Ot,h as rt,u as bt,i as Nt,x as Tt,T as At}from"./mermaid.core-wTs8WatG.js";import{G as Mt}from"./graph-sxtH378E.js";import{l as St}from"./layout-NmVD1Bdh.js";import"./request-bY2SEZNN.js";import{l as wt}from"./line-NZ5yCA7P.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";const It=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Dt(t){return typeof t=="string"&&It.test(t)}const A=[];for(let t=0;t<256;++t)A.push((t+256).toString(16).slice(1));function vt(t,e=0){return A[t[e+0]]+A[t[e+1]]+A[t[e+2]]+A[t[e+3]]+"-"+A[t[e+4]]+A[t[e+5]]+"-"+A[t[e+6]]+A[t[e+7]]+"-"+A[t[e+8]]+A[t[e+9]]+"-"+A[t[e+10]]+A[t[e+11]]+A[t[e+12]]+A[t[e+13]]+A[t[e+14]]+A[t[e+15]]}function Lt(t){if(!Dt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Bt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>32-e}function Ft(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const f=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=g,g=m,m=it(_,30)>>>0,_=h,h=I}r[0]=r[0]+h>>>0,r[1]=r[1]+_>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+g>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const Wt=Yt("v5",80,Ft);var at=function(){var t=function(S,a,n,c){for(n=n||{},c=S.length;c--;n[S[c]]=a);return n},e=[6,8,10,20,22,24,26,27,28],r=[1,10],u=[1,11],l=[1,12],p=[1,13],f=[1,14],o=[1,15],h=[1,21],_=[1,22],m=[1,23],g=[1,24],x=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],N=[1,34],I=[27,28,46,47],F=[41,42,43,44,45],W=[17,34],C=[1,54],T=[1,53],M=[17,34,36,38],R={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(a,n,c,d,E,i,K){var s=i.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:i[s-1].push(i[s]),this.$=i[s-1];break;case 4:case 5:this.$=i[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(i[s-4]),d.addEntity(i[s-2]),d.addRelationship(i[s-4],i[s],i[s-2],i[s-3]);break;case 9:d.addEntity(i[s-3]),d.addAttributes(i[s-3],i[s-1]);break;case 10:d.addEntity(i[s-2]);break;case 11:d.addEntity(i[s]);break;case 12:d.addEntity(i[s-6],i[s-4]),d.addAttributes(i[s-6],i[s-1]);break;case 13:d.addEntity(i[s-5],i[s-3]);break;case 14:d.addEntity(i[s-3],i[s-1]);break;case 15:case 16:this.$=i[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=i[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=i[s];break;case 20:case 41:case 42:this.$=i[s].replace(/"/g,"");break;case 21:case 29:this.$=[i[s]];break;case 22:i[s].push(i[s-1]),this.$=i[s];break;case 23:this.$={attributeType:i[s-1],attributeName:i[s]};break;case 24:this.$={attributeType:i[s-2],attributeName:i[s-1],attributeKeyTypeList:i[s]};break;case 25:this.$={attributeType:i[s-2],attributeName:i[s-1],attributeComment:i[s]};break;case 26:this.$={attributeType:i[s-3],attributeName:i[s-2],attributeKeyTypeList:i[s-1],attributeComment:i[s]};break;case 27:case 28:case 31:this.$=i[s];break;case 30:i[s-2].push(i[s]),this.$=i[s-2];break;case 32:this.$=i[s].replace(/"/g,"");break;case 33:this.$={cardA:i[s],relType:i[s-1],cardB:i[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:u,24:l,26:p,27:f,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:u,24:l,26:p,27:f,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:_,43:m,44:g,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(y,[2,19]),t(y,[2,20]),t(e,[2,4]),{11:29,27:f,28:o},{16:30,17:[1,31],29:32,30:33,34:N},{11:35,27:f,28:o},{40:36,46:[1,37],47:[1,38]},t(I,[2,34]),t(I,[2,35]),t(I,[2,36]),t(I,[2,37]),t(I,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:N},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:_,43:m,44:g,45:x},t(F,[2,39]),t(F,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(W,[2,23],{32:50,33:51,35:52,37:C,38:T}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(W,[2,24],{33:56,36:[1,57],38:T}),t(W,[2,25]),t(M,[2,29]),t(W,[2,32]),t(M,[2,31]),{16:58,17:[1,59],29:32,30:33,34:N},t(W,[2,26]),{35:60,37:C},{17:[1,61]},t(e,[2,13]),t(M,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(a,n){if(n.recoverable)this.trace(a);else{var c=new Error(a);throw c.hash=n,c}},parse:function(a){var n=this,c=[0],d=[],E=[null],i=[],K=this.table,s="",Q=0,st=0,ft=2,ot=1,yt=i.slice.call(arguments,1),b=Object.create(this.lexer),H={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(H.yy[J]=this.yy[J]);b.setInput(a,H.yy),H.yy.lexer=b,H.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var $=b.yylloc;i.push($);var pt=b.options&&b.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _t(){var Y;return Y=d.pop()||b.lex()||ot,typeof Y!="number"&&(Y instanceof Array&&(d=Y,Y=d.pop()),Y=n.symbols_[Y]||Y),Y}for(var w,z,D,tt,G={},q,P,lt,j;;){if(z=c[c.length-1],this.defaultActions[z]?D=this.defaultActions[z]:((w===null||typeof w>"u")&&(w=_t()),D=K[z]&&K[z][w]),typeof D>"u"||!D.length||!D[0]){var et="";j=[];for(q in K[z])this.terminals_[q]&&q>ft&&j.push("'"+this.terminals_[q]+"'");b.showPosition?et="Parse error on line "+(Q+1)+`: +`+b.showPosition()+` +Expecting `+j.join(", ")+", got '"+(this.terminals_[w]||w)+"'":et="Parse error on line "+(Q+1)+": Unexpected "+(w==ot?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(et,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:$,expected:j})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+w);switch(D[0]){case 1:c.push(w),E.push(b.yytext),i.push(b.yylloc),c.push(D[1]),w=null,st=b.yyleng,s=b.yytext,Q=b.yylineno,$=b.yylloc;break;case 2:if(P=this.productions_[D[1]][1],G.$=E[E.length-P],G._$={first_line:i[i.length-(P||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(P||1)].first_column,last_column:i[i.length-1].last_column},pt&&(G._$.range=[i[i.length-(P||1)].range[0],i[i.length-1].range[1]]),tt=this.performAction.apply(G,[s,st,Q,H.yy,D[1],E,i].concat(yt)),typeof tt<"u")return tt;P&&(c=c.slice(0,-1*P*2),E=E.slice(0,-1*P),i=i.slice(0,-1*P)),c.push(this.productions_[D[1]][0]),E.push(G.$),i.push(G._$),lt=K[c[c.length-2]][c[c.length-1]],c.push(lt);break;case 3:return!0}}return!0}},O=function(){var S={EOF:1,parseError:function(n,c){if(this.yy.parser)this.yy.parser.parseError(n,c);else throw new Error(n)},setInput:function(a,n){return this.yy=n||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var n=a.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var n=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),n=new Array(a.length+1).join("-");return a+this.upcomingInput()+` +`+n+"^"},test_match:function(a,n){var c,d,E;if(this.options.backtrack_lexer&&(E={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(E.yylloc.range=this.yylloc.range.slice(0))),d=a[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var i in E)this[i]=E[i];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,n,c,d;this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),i=0;in[0].length)){if(n=c,d=i,this.options.backtrack_lexer){if(a=this.test_match(c,E[i]),a!==!1)return a;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(a=this.test_match(n,E[d]),a!==!1?a:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return n||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){var n=this.conditionStack.length-1;return n>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,c,d,E){switch(d){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 15:break;case 16:return 37;case 17:return 34;case 18:return 34;case 19:return 38;case 20:break;case 21:return this.popState(),17;case 22:return c.yytext[0];case 23:return 18;case 24:return 19;case 25:return 41;case 26:return 43;case 27:return 43;case 28:return 43;case 29:return 41;case 30:return 41;case 31:return 42;case 32:return 42;case 33:return 42;case 34:return 42;case 35:return 42;case 36:return 43;case 37:return 42;case 38:return 43;case 39:return 44;case 40:return 44;case 41:return 44;case 42:return 44;case 43:return 41;case 44:return 42;case 45:return 43;case 46:return 45;case 47:return 46;case 48:return 47;case 49:return 47;case 50:return 46;case 51:return 46;case 52:return 46;case 53:return 27;case 54:return c.yytext[0];case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}};return S}();R.lexer=O;function v(){this.yy={}}return v.prototype=R,R.Parser=v,new v}();at.parser=at;const Ut=at;let U={},nt=[];const Ht={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},zt={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},dt=function(t,e=void 0){return U[t]===void 0?(U[t]={attributes:[],alias:e},V.info("Added new entity :",t)):U[t]&&!U[t].alias&&e&&(U[t].alias=e,V.info(`Add alias '${e}' to entity '${t}'`)),U[t]},Gt=()=>U,Kt=function(t,e){let r=dt(t),u;for(u=e.length-1;u>=0;u--)r.attributes.push(e[u]),V.debug("Added attribute ",e[u].attributeName)},Vt=function(t,e,r,u){let l={entityA:t,roleA:e,entityB:r,relSpec:u};nt.push(l),V.debug("Added new relationship :",l)},Xt=()=>nt,Qt=function(){U={},nt=[],Ot()},qt={Cardinality:Ht,Identification:zt,getConfig:()=>Z().er,addEntity:dt,addAttributes:Kt,getEntities:Gt,addRelationship:Vt,getRelationships:Xt,clear:Qt,setAccTitle:Et,getAccTitle:mt,setAccDescription:gt,getAccDescription:kt,setDiagramTitle:xt,getDiagramTitle:Rt},L={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},jt=function(t,e){let r;t.append("defs").append("marker").attr("id",L.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",L.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",L.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",L.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",L.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",L.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},B={ERMarkers:L,insertMarkers:jt},Jt=/[^\dA-Za-z](\W)*/g;let k={},X=new Map;const $t=function(t){const e=Object.keys(t);for(const r of e)k[r]=t[r]},te=(t,e,r)=>{const u=k.entityPadding/3,l=k.entityPadding/3,p=k.fontSize*.85,f=e.node().getBBox(),o=[];let h=!1,_=!1,m=0,g=0,x=0,y=0,N=f.height+u*2,I=1;r.forEach(T=>{T.attributeKeyTypeList!==void 0&&T.attributeKeyTypeList.length>0&&(h=!0),T.attributeComment!==void 0&&(_=!0)}),r.forEach(T=>{const M=`${e.node().id}-attr-${I}`;let R=0;const O=At(T.attributeType),v=t.append("text").classed("er entityLabel",!0).attr("id",`${M}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Z().fontFamily).style("font-size",p+"px").text(O),S=t.append("text").classed("er entityLabel",!0).attr("id",`${M}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Z().fontFamily).style("font-size",p+"px").text(T.attributeName),a={};a.tn=v,a.nn=S;const n=v.node().getBBox(),c=S.node().getBBox();if(m=Math.max(m,n.width),g=Math.max(g,c.width),R=Math.max(n.height,c.height),h){const d=T.attributeKeyTypeList!==void 0?T.attributeKeyTypeList.join(","):"",E=t.append("text").classed("er entityLabel",!0).attr("id",`${M}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Z().fontFamily).style("font-size",p+"px").text(d);a.kn=E;const i=E.node().getBBox();x=Math.max(x,i.width),R=Math.max(R,i.height)}if(_){const d=t.append("text").classed("er entityLabel",!0).attr("id",`${M}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Z().fontFamily).style("font-size",p+"px").text(T.attributeComment||"");a.cn=d;const E=d.node().getBBox();y=Math.max(y,E.width),R=Math.max(R,E.height)}a.height=R,o.push(a),N+=R+u*2,I+=1});let F=4;h&&(F+=2),_&&(F+=2);const W=m+g+x+y,C={width:Math.max(k.minEntityWidth,Math.max(f.width+k.entityPadding*2,W+l*F)),height:r.length>0?N:Math.max(k.minEntityHeight,f.height+k.entityPadding*2)};if(r.length>0){const T=Math.max(0,(C.width-W-l*F)/(F/2));e.attr("transform","translate("+C.width/2+","+(u+f.height/2)+")");let M=f.height+u*2,R="attributeBoxOdd";o.forEach(O=>{const v=M+u+O.height/2;O.tn.attr("transform","translate("+l+","+v+")");const S=t.insert("rect","#"+O.tn.node().id).classed(`er ${R}`,!0).attr("x",0).attr("y",M).attr("width",m+l*2+T).attr("height",O.height+u*2),a=parseFloat(S.attr("x"))+parseFloat(S.attr("width"));O.nn.attr("transform","translate("+(a+l)+","+v+")");const n=t.insert("rect","#"+O.nn.node().id).classed(`er ${R}`,!0).attr("x",a).attr("y",M).attr("width",g+l*2+T).attr("height",O.height+u*2);let c=parseFloat(n.attr("x"))+parseFloat(n.attr("width"));if(h){O.kn.attr("transform","translate("+(c+l)+","+v+")");const d=t.insert("rect","#"+O.kn.node().id).classed(`er ${R}`,!0).attr("x",c).attr("y",M).attr("width",x+l*2+T).attr("height",O.height+u*2);c=parseFloat(d.attr("x"))+parseFloat(d.attr("width"))}_&&(O.cn.attr("transform","translate("+(c+l)+","+v+")"),t.insert("rect","#"+O.cn.node().id).classed(`er ${R}`,"true").attr("x",c).attr("y",M).attr("width",y+l*2+T).attr("height",O.height+u*2)),M+=O.height+u*2,R=R==="attributeBoxOdd"?"attributeBoxEven":"attributeBoxOdd"})}else C.height=Math.max(k.minEntityHeight,N),e.attr("transform","translate("+C.width/2+","+C.height/2+")");return C},ee=function(t,e,r){const u=Object.keys(e);let l;return u.forEach(function(p){const f=oe(p,"entity");X.set(p,f);const o=t.append("g").attr("id",f);l=l===void 0?f:l;const h="text-"+f,_=o.append("text").classed("er entityLabel",!0).attr("id",h).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",Z().fontFamily).style("font-size",k.fontSize+"px").text(e[p].alias??p),{width:m,height:g}=te(o,_,e[p].attributes),y=o.insert("rect","#"+h).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",m).attr("height",g).node().getBBox();r.setNode(f,{width:y.width,height:y.height,shape:"rect",id:f})}),l},re=function(t,e){e.nodes().forEach(function(r){r!==void 0&&e.node(r)!==void 0&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")})},ut=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},ie=function(t,e){return t.forEach(function(r){e.setEdge(X.get(r.entityA),X.get(r.entityB),{relationship:r},ut(r))}),t};let ct=0;const ae=function(t,e,r,u,l){ct++;const p=r.edge(X.get(e.entityA),X.get(e.entityB),ut(e)),f=wt().x(function(N){return N.x}).y(function(N){return N.y}).curve(Tt),o=t.insert("path","#"+u).classed("er relationshipLine",!0).attr("d",f(p.points)).style("stroke",k.stroke).style("fill","none");e.relSpec.relType===l.db.Identification.NON_IDENTIFYING&&o.attr("stroke-dasharray","8,8");let h="";switch(k.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case l.db.Cardinality.ZERO_OR_ONE:o.attr("marker-end","url("+h+"#"+B.ERMarkers.ZERO_OR_ONE_END+")");break;case l.db.Cardinality.ZERO_OR_MORE:o.attr("marker-end","url("+h+"#"+B.ERMarkers.ZERO_OR_MORE_END+")");break;case l.db.Cardinality.ONE_OR_MORE:o.attr("marker-end","url("+h+"#"+B.ERMarkers.ONE_OR_MORE_END+")");break;case l.db.Cardinality.ONLY_ONE:o.attr("marker-end","url("+h+"#"+B.ERMarkers.ONLY_ONE_END+")");break;case l.db.Cardinality.MD_PARENT:o.attr("marker-end","url("+h+"#"+B.ERMarkers.MD_PARENT_END+")");break}switch(e.relSpec.cardB){case l.db.Cardinality.ZERO_OR_ONE:o.attr("marker-start","url("+h+"#"+B.ERMarkers.ZERO_OR_ONE_START+")");break;case l.db.Cardinality.ZERO_OR_MORE:o.attr("marker-start","url("+h+"#"+B.ERMarkers.ZERO_OR_MORE_START+")");break;case l.db.Cardinality.ONE_OR_MORE:o.attr("marker-start","url("+h+"#"+B.ERMarkers.ONE_OR_MORE_START+")");break;case l.db.Cardinality.ONLY_ONE:o.attr("marker-start","url("+h+"#"+B.ERMarkers.ONLY_ONE_START+")");break;case l.db.Cardinality.MD_PARENT:o.attr("marker-start","url("+h+"#"+B.ERMarkers.MD_PARENT_START+")");break}const _=o.node().getTotalLength(),m=o.node().getPointAtLength(_*.5),g="rel"+ct,y=t.append("text").classed("er relationshipLabel",!0).attr("id",g).attr("x",m.x).attr("y",m.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",Z().fontFamily).style("font-size",k.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+g).classed("er relationshipLabelBox",!0).attr("x",m.x-y.width/2).attr("y",m.y-y.height/2).attr("width",y.width).attr("height",y.height)},ne=function(t,e,r,u){k=Z().er,V.info("Drawing ER diagram");const l=Z().securityLevel;let p;l==="sandbox"&&(p=rt("#i"+e));const o=(l==="sandbox"?rt(p.nodes()[0].contentDocument.body):rt("body")).select(`[id='${e}']`);B.insertMarkers(o,k);let h;h=new Mt({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:k.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const _=ee(o,u.db.getEntities(),h),m=ie(u.db.getRelationships(),h);St(h),re(o,h),m.forEach(function(I){ae(o,I,h,_,u)});const g=k.diagramPadding;bt.insertTitle(o,"entityTitleText",k.titleTopMargin,u.db.getDiagramTitle());const x=o.node().getBBox(),y=x.width+g*2,N=x.height+g*2;Nt(o,N,y,k.useMaxWidth),o.attr("viewBox",`${x.x-g} ${x.y-g} ${y} ${N}`)},se="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function oe(t="",e=""){const r=t.replace(Jt,"");return`${ht(e)}${ht(r)}${Wt(t,se)}`}function ht(t=""){return t.length>0?`${t}-`:""}const le={setConf:$t,draw:ne},ce=t=>` + .entityBox { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + } + + .attributeBoxOdd { + fill: ${t.attributeBackgroundColorOdd}; + stroke: ${t.nodeBorder}; + } + + .attributeBoxEven { + fill: ${t.attributeBackgroundColorEven}; + stroke: ${t.nodeBorder}; + } + + .relationshipLabelBox { + fill: ${t.tertiaryColor}; + opacity: 0.7; + background-color: ${t.tertiaryColor}; + rect { + opacity: 0.5; + } + } + + .relationshipLine { + stroke: ${t.lineColor}; + } + + .entityTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } + #MD_PARENT_START { + fill: #f5f5f5 !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + #MD_PARENT_END { + fill: #f5f5f5 !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + +`,he=ce,Oe={parser:Ut,db:qt,renderer:le,styles:he};export{Oe as diagram}; diff --git a/assets/features-max-xJxYem1n.js b/assets/features-max-xJxYem1n.js new file mode 100644 index 00000000000..ac6d0eaef47 --- /dev/null +++ b/assets/features-max-xJxYem1n.js @@ -0,0 +1 @@ +import{f as S,n as E,h as Ce,j as vt,v as be,k as Le,g as O,o as D,p as we,q as Y,r as et,P as fs,s as nt,w as ps,x as Re,d as ms,S as gs,i as H,y as ct,z as ht,A as jt,B as xt,C as ys,D as Ee,E as vs,F as xs,G as Ps,H as wt,I as Ts,J as Me,K as Be,N as Vs,O as Ss,Q as As,R as Ds,T as Cs,U as bs,V as Ls,W as ws,X as Rs,Y as Es,Z as Ms}from"./motion-minimal-epsqYg85.js";import{p as G,r as Bs,a as js,c as Fs,d as ks,e as V,f as Pt,g as je,h as Ft,i as Is,j as Fe,k as ke,t as Ie,m as st,S as Oe,l as Os,n as Us,o as $,q as Ns,u as Tt,v as Gs,w as Hs,x as Ue}from"./visual-element-tlU1-krp.js";import{r as X,R as Ne}from"./index-ZXl4th35.js";function R(e,t,s,i={passive:!0}){return e.addEventListener(t,s,i),()=>e.removeEventListener(t,s)}const Ge=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ot(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const Ws=e=>t=>Ge(t)&&e(t,ot(t));function M(e,t,s,i){return R(e,t,Ws(s),i)}function He(e){let t=null;return()=>{const s=()=>{t=null};return t===null?(t=e,s):!1}}const kt=He("dragHorizontal"),It=He("dragVertical");function We(e){let t=!1;if(e==="y")t=It();else if(e==="x")t=kt();else{const s=kt(),i=It();s&&i?t=()=>{s(),i()}:(s&&s(),i&&i())}return t}function _e(){const e=We(!0);return e?(e(),!1):!0}class j{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Ot(e,t){const s="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End"),o=(u,n)=>{if(u.pointerType==="touch"||_e())return;const r=e.getProps();e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",t),r[i]&&S.update(()=>r[i](u,n))};return M(e.current,s,o,{passive:!e.getProps()[i]})}class _s extends j{mount(){this.unmount=G(Ot(this.node,!0),Ot(this.node,!1))}unmount(){}}class Ks extends j{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=G(R(this.node.current,"focus",()=>this.onFocus()),R(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ke=(e,t)=>t?e===t?!0:Ke(e,t.parentElement):!1;function dt(e,t){if(!t)return;const s=new PointerEvent("pointer"+e);t(s,ot(s))}class $s extends j{constructor(){super(...arguments),this.removeStartListeners=E,this.removeEndListeners=E,this.removeAccessibleListeners=E,this.startPointerPress=(t,s)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),u=M(window,"pointerup",(r,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:h}=this.node.getProps();S.update(()=>{!h&&!Ke(this.node.current,r.target)?c&&c(r,a):l&&l(r,a)})},{passive:!(i.onTap||i.onPointerUp)}),n=M(window,"pointercancel",(r,a)=>this.cancelPress(r,a),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=G(u,n),this.startPress(t,s)},this.startAccessiblePress=()=>{const t=u=>{if(u.key!=="Enter"||this.isPressing)return;const n=r=>{r.key!=="Enter"||!this.checkPressEnd()||dt("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&S.update(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=R(this.node.current,"keyup",n),dt("down",(r,a)=>{this.startPress(r,a)})},s=R(this.node.current,"keydown",t),i=()=>{this.isPressing&&dt("cancel",(u,n)=>this.cancelPress(u,n))},o=R(this.node.current,"blur",i);this.removeAccessibleListeners=G(s,o)}}startPress(t,s){this.isPressing=!0;const{onTapStart:i,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&S.update(()=>i(t,s))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!_e()}cancelPress(t,s){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&S.update(()=>i(t,s))}mount(){const t=this.node.getProps(),s=M(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=R(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=G(s,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Vt=new WeakMap,ft=new WeakMap,zs=e=>{const t=Vt.get(e.target);t&&t(e)},Ys=e=>{e.forEach(zs)};function Xs({root:e,...t}){const s=e||document;ft.has(s)||ft.set(s,{});const i=ft.get(s),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(Ys,{root:e,...t})),i[o]}function qs(e,t,s){const i=Xs(t);return Vt.set(e,s),i.observe(e),()=>{Vt.delete(e),i.unobserve(e)}}const Zs={some:0,all:1};class Js extends j{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:s,margin:i,amount:o="some",once:u}=t,n={root:s?s.current:void 0,rootMargin:i,threshold:typeof o=="number"?o:Zs[o]},r=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,u&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:h}=this.node.getProps(),d=l?c:h;d&&d(a)};return qs(this.node.current,n,r)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:s}=this.node;["amount","margin","root"].some(Qs(t,s))&&this.startObserver()}unmount(){}}function Qs({viewport:e={}},{viewport:t={}}={}){return s=>e[s]!==t[s]}const ti={inView:{Feature:Js},tap:{Feature:$s},focus:{Feature:Ks},hover:{Feature:_s}};function $e(e,t){if(!Array.isArray(t))return!1;const s=t.length;if(s!==e.length)return!1;for(let i=0;iPromise.all(t.map(({animation:s,options:i})=>js(e,s,i)))}function ni(e){let t=ii(e);const s=ri();let i=!0;const o=(a,l)=>{const c=Bs(e,l);if(c){const{transition:h,transitionEnd:d,...f}=c;a={...a,...f,...d}}return a};function u(a){t=a(e)}function n(a,l){const c=e.getProps(),h=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},m=1/0;for(let v=0;vm&&w,Rt=!1;const Et=Array.isArray(P)?P:[P];let _=Et.reduce(o,{});rt===!1&&(_={});const{prevResolvedValues:Mt={}}=y,ds={...Mt,..._},Bt=A=>{at=!0,f.has(A)&&(Rt=!0,f.delete(A)),y.needsAnimating[A]=!0};for(const A in ds){const K=_[A],lt=Mt[A];if(p.hasOwnProperty(A))continue;let ut=!1;vt(K)&&vt(lt)?ut=!$e(K,lt):ut=K!==lt,ut?K!==void 0?Bt(A):f.add(A):K!==void 0&&f.has(A)?Bt(A):y.protectedKeys[A]=!0}y.prevProp=P,y.prevResolvedValues=_,y.isActive&&(p={...p,..._}),i&&e.blockInitialAnimation&&(at=!1),at&&(!J||Rt)&&d.push(...Et.map(A=>({animation:A,options:{type:x,...a}})))}if(f.size){const v={};f.forEach(x=>{const y=e.getBaseTarget(x);y!==void 0&&(v[x]=y)}),d.push({animation:v})}let g=!!d.length;return i&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(g=!1),i=!1,g?t(d):Promise.resolve()}function r(a,l,c){var h;if(s[a].isActive===l)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(a,l)}),s[a].isActive=l;const d=n(c,a);for(const f in s)s[f].protectedKeys={};return d}return{animateChanges:n,setActive:r,setAnimateFunction:u,getState:()=>s}}function oi(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!$e(t,e):!1}function F(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ri(){return{animate:F(!0),whileInView:F(),whileHover:F(),whileTap:F(),whileDrag:F(),whileFocus:F(),exit:F()}}class ai extends j{constructor(t){super(t),t.animationState||(t.animationState=ni(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Ce(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:s}=this.node.prevProps||{};t!==s&&this.updateAnimationControlsSubscription()}unmount(){}}let li=0;class ui extends j{constructor(){super(...arguments),this.id=li++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:s,custom:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const u=this.node.animationState.setActive("exit",!t,{custom:i??this.node.getProps().custom});s&&!t&&u.then(()=>s(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const ci={animation:{Feature:ai},exit:{Feature:ui}},Ut=(e,t)=>Math.abs(e-t);function hi(e,t){const s=Ut(e.x,t.x),i=Ut(e.y,t.y);return Math.sqrt(s**2+i**2)}class ze{constructor(t,s,{transformPagePoint:i,contextWindow:o,dragSnapToOrigin:u=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=mt(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,f=hi(h.offset,{x:0,y:0})>=3;if(!d&&!f)return;const{point:p}=h,{timestamp:m}=D;this.history.push({...p,timestamp:m});const{onStart:g,onMove:v}=this.handlers;d||(g&&g(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,h)},this.handlePointerMove=(h,d)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=pt(d,this.transformPagePoint),S.update(this.updatePoint,!0)},this.handlePointerUp=(h,d)=>{this.end();const{onEnd:f,onSessionEnd:p,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=mt(h.type==="pointercancel"?this.lastMoveEventInfo:pt(d,this.transformPagePoint),this.history);this.startEvent&&f&&f(h,g),p&&p(h,g)},!Ge(t))return;this.dragSnapToOrigin=u,this.handlers=s,this.transformPagePoint=i,this.contextWindow=o||window;const n=ot(t),r=pt(n,this.transformPagePoint),{point:a}=r,{timestamp:l}=D;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=s;c&&c(t,mt(r,this.history)),this.removeListeners=G(M(this.contextWindow,"pointermove",this.handlePointerMove),M(this.contextWindow,"pointerup",this.handlePointerUp),M(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),O(this.updatePoint)}}function pt(e,t){return t?{point:t(e.point)}:e}function Nt(e,t){return{x:e.x-t.x,y:e.y-t.y}}function mt({point:e},t){return{point:e,delta:Nt(e,Ye(t)),offset:Nt(e,di(t)),velocity:fi(t,.1)}}function di(e){return e[0]}function Ye(e){return e[e.length-1]}function fi(e,t){if(e.length<2)return{x:0,y:0};let s=e.length-1,i=null;const o=Ye(e);for(;s>=0&&(i=e[s],!(o.timestamp-i.timestamp>Fs(t)));)s--;if(!i)return{x:0,y:0};const u=ks(o.timestamp-i.timestamp);if(u===0)return{x:0,y:0};const n={x:(o.x-i.x)/u,y:(o.y-i.y)/u};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}function C(e){return e.max-e.min}function St(e,t=0,s=.01){return Math.abs(e-t)<=s}function Gt(e,t,s,i=.5){e.origin=i,e.originPoint=V(t.min,t.max,e.origin),e.scale=C(s)/C(t),(St(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=V(s.min,s.max,e.origin)-e.originPoint,(St(e.translate)||isNaN(e.translate))&&(e.translate=0)}function q(e,t,s,i){Gt(e.x,t.x,s.x,i?i.originX:void 0),Gt(e.y,t.y,s.y,i?i.originY:void 0)}function Ht(e,t,s){e.min=s.min+t.min,e.max=e.min+C(t)}function pi(e,t,s){Ht(e.x,t.x,s.x),Ht(e.y,t.y,s.y)}function Wt(e,t,s){e.min=t.min-s.min,e.max=e.min+C(t)}function Z(e,t,s){Wt(e.x,t.x,s.x),Wt(e.y,t.y,s.y)}function mi(e,{min:t,max:s},i){return t!==void 0&&es&&(e=i?V(s,e,i.max):Math.min(e,s)),e}function _t(e,t,s){return{min:t!==void 0?e.min+t:void 0,max:s!==void 0?e.max+s-(e.max-e.min):void 0}}function gi(e,{top:t,left:s,bottom:i,right:o}){return{x:_t(e.x,s,o),y:_t(e.y,t,i)}}function Kt(e,t){let s=t.min-e.min,i=t.max-e.max;return t.max-t.mini?s=Pt(t.min,t.max-i,e.min):i>o&&(s=Pt(e.min,e.max-o,t.min)),we(0,1,s)}function xi(e,t){const s={};return t.min!==void 0&&(s.min=t.min-e.min),t.max!==void 0&&(s.max=t.max-e.min),s}const At=.35;function Pi(e=At){return e===!1?e=0:e===!0&&(e=At),{x:$t(e,"left","right"),y:$t(e,"top","bottom")}}function $t(e,t,s){return{min:zt(e,t),max:zt(e,s)}}function zt(e,t){return typeof e=="number"?e:e[t]||0}const Yt=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({x:Yt(),y:Yt()}),Xt=()=>({min:0,max:0}),T=()=>({x:Xt(),y:Xt()});function L(e){return[e("x"),e("y")]}function Xe({top:e,left:t,right:s,bottom:i}){return{x:{min:t,max:s},y:{min:e,max:i}}}function Ti({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Vi(e,t){if(!t)return e;const s=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:s.y,left:s.x,bottom:i.y,right:i.x}}function gt(e){return e===void 0||e===1}function Dt({scale:e,scaleX:t,scaleY:s}){return!gt(e)||!gt(t)||!gt(s)}function k(e){return Dt(e)||qe(e)||e.z||e.rotate||e.rotateX||e.rotateY}function qe(e){return qt(e.x)||qt(e.y)}function qt(e){return e&&e!=="0%"}function it(e,t,s){const i=e-s,o=t*i;return s+o}function Zt(e,t,s,i,o){return o!==void 0&&(e=it(e,o,i)),it(e,s,i)+t}function Ct(e,t=0,s=1,i,o){e.min=Zt(e.min,t,s,i,o),e.max=Zt(e.max,t,s,i,o)}function Ze(e,{x:t,y:s}){Ct(e.x,t.translate,t.scale,t.originPoint),Ct(e.y,s.translate,s.scale,s.originPoint)}function Si(e,t,s,i=!1){const o=s.length;if(!o)return;t.x=t.y=1;let u,n;for(let r=0;r1.0000000000001||e<.999999999999?e:1}function B(e,t){e.min=e.min+t,e.max=e.max+t}function Qt(e,t,[s,i,o]){const u=t[o]!==void 0?t[o]:.5,n=V(e.min,e.max,u);Ct(e,t[s],t[i],n,t.scale)}const Ai=["x","scaleX","originX"],Di=["y","scaleY","originY"];function N(e,t){Qt(e.x,t,Ai),Qt(e.y,t,Di)}function Je(e,t){return Xe(Vi(e.getBoundingClientRect(),t))}function Ci(e,t,s){const i=Je(e,s),{scroll:o}=t;return o&&(B(i.x,o.offset.x),B(i.y,o.offset.y)),i}const Qe=({current:e})=>e?e.ownerDocument.defaultView:null,bi=new WeakMap;class Li{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=T(),this.visualElement=t}start(t,{snapToCursor:s=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(ot(c,"page").point)},u=(c,h)=>{const{drag:d,dragPropagation:f,onDragStart:p}=this.getProps();if(d&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=We(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),L(g=>{let v=this.getAxisMotionValue(g).get()||0;if(et.test(v)){const{projection:x}=this.visualElement;if(x&&x.layout){const y=x.layout.layoutBox[g];y&&(v=C(y)*(parseFloat(v)/100))}}this.originPoint[g]=v}),p&&S.update(()=>p(c,h),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},n=(c,h)=>{const{dragPropagation:d,dragDirectionLock:f,onDirectionLock:p,onDrag:m}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:g}=h;if(f&&this.currentDirection===null){this.currentDirection=wi(g),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),m&&m(c,h)},r=(c,h)=>this.stop(c,h),a=()=>L(c=>{var h;return this.getAnimationState(c)==="paused"&&((h=this.getAxisMotionValue(c).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new ze(t,{onSessionStart:o,onStart:u,onMove:n,onSessionEnd:r,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Qe(this.visualElement)})}stop(t,s){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=s;this.startAnimation(o);const{onDragEnd:u}=this.getProps();u&&S.update(()=>u(t,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:s}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(t,s,i){const{drag:o}=this.getProps();if(!i||!Q(t,o,this.currentDirection))return;const u=this.getAxisMotionValue(t);let n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=mi(n,this.constraints[t],this.elastic[t])),u.set(n)}resolveConstraints(){var t;const{dragConstraints:s,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,u=this.constraints;s&&Y(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&o?this.constraints=gi(o.layoutBox,s):this.constraints=!1,this.elastic=Pi(i),u!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&L(n=>{this.getAxisMotionValue(n)&&(this.constraints[n]=xi(o.layoutBox[n],this.constraints[n]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:s}=this.getProps();if(!t||!Y(t))return!1;const i=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const u=Ci(i,o.root,this.visualElement.getTransformPagePoint());let n=yi(o.layout.layoutBox,u);if(s){const r=s(Ti(n));this.hasMutatedConstraints=!!r,r&&(n=Xe(r))}return n}startAnimation(t){const{drag:s,dragMomentum:i,dragElastic:o,dragTransition:u,dragSnapToOrigin:n,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=L(c=>{if(!Q(c,s,this.currentDirection))return;let h=a&&a[c]||{};n&&(h={min:0,max:0});const d=o?200:1e6,f=o?40:1e7,p={type:"inertia",velocity:i?t[c]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...u,...h};return this.startAxisValueAnimation(c,p)});return Promise.all(l).then(r)}startAxisValueAnimation(t,s){const i=this.getAxisMotionValue(t);return i.start(je(t,i,0,s))}stopAnimation(){L(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){L(t=>{var s;return(s=this.getAxisMotionValue(t).animation)===null||s===void 0?void 0:s.pause()})}getAnimationState(t){var s;return(s=this.getAxisMotionValue(t).animation)===null||s===void 0?void 0:s.state}getAxisMotionValue(t){const s="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),o=i[s];return o||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){L(s=>{const{drag:i}=this.getProps();if(!Q(s,i,this.currentDirection))return;const{projection:o}=this.visualElement,u=this.getAxisMotionValue(s);if(o&&o.layout){const{min:n,max:r}=o.layout.layoutBox[s];u.set(t[s]-V(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:s}=this.getProps(),{projection:i}=this.visualElement;if(!Y(s)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};L(n=>{const r=this.getAxisMotionValue(n);if(r){const a=r.get();o[n]=vi({min:a,max:a},this.constraints[n])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),L(n=>{if(!Q(n,t,null))return;const r=this.getAxisMotionValue(n),{min:a,max:l}=this.constraints[n];r.set(V(a,l,o[n]))})}addListeners(){if(!this.visualElement.current)return;bi.set(this.visualElement,this);const t=this.visualElement.current,s=M(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();Y(a)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,u=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),i();const n=R(window,"resize",()=>this.scalePositionWithinConstraints()),r=o.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(L(c=>{const h=this.getAxisMotionValue(c);h&&(this.originPoint[c]+=a[c].translate,h.set(h.get()+a[c].translate))}),this.visualElement.render())});return()=>{n(),s(),u(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:u=!1,dragElastic:n=At,dragMomentum:r=!0}=t;return{...t,drag:s,dragDirectionLock:i,dragPropagation:o,dragConstraints:u,dragElastic:n,dragMomentum:r}}}function Q(e,t,s){return(t===!0||t===e)&&(s===null||s===e)}function wi(e,t=10){let s=null;return Math.abs(e.y)>t?s="y":Math.abs(e.x)>t&&(s="x"),s}class Ri extends j{constructor(t){super(t),this.removeGroupControls=E,this.removeListeners=E,this.controls=new Li(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||E}unmount(){this.removeGroupControls(),this.removeListeners()}}const te=e=>(t,s)=>{e&&S.update(()=>e(t,s))};class Ei extends j{constructor(){super(...arguments),this.removePointerDownListener=E}onPointerDown(t){this.session=new ze(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Qe(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:s,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:te(t),onStart:te(s),onMove:i,onEnd:(u,n)=>{delete this.session,o&&S.update(()=>o(u,n))}}}mount(){this.removePointerDownListener=M(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Mi(){const e=X.useContext(fs);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:s,register:i}=e,o=X.useId();return X.useEffect(()=>i(o),[]),!t&&s?[!1,()=>s&&s(o)]:[!0]}const tt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ee(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const z={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(nt.test(e))e=parseFloat(e);else return e;const s=ee(e,t.target.x),i=ee(e,t.target.y);return`${s}% ${i}%`}},Bi={correct:(e,{treeScale:t,projectionDelta:s})=>{const i=e,o=Ft.parse(e);if(o.length>5)return i;const u=Ft.createTransformer(e),n=typeof o[0]!="number"?1:0,r=s.x.scale*t.x,a=s.y.scale*t.y;o[0+n]/=r,o[1+n]/=a;const l=V(r,a,.5);return typeof o[2+n]=="number"&&(o[2+n]/=l),typeof o[3+n]=="number"&&(o[3+n]/=l),u(o)}};class ji extends Ne.Component{componentDidMount(){const{visualElement:t,layoutGroup:s,switchLayoutGroup:i,layoutId:o}=this.props,{projection:u}=t;ps(Fi),u&&(s.group&&s.group.add(u),i&&i.register&&o&&i.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),tt.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:s,visualElement:i,drag:o,isPresent:u}=this.props,n=i.projection;return n&&(n.isPresent=u,o||t.layoutDependency!==s||s===void 0?n.willUpdate():this.safeToRemove(),t.isPresent!==u&&(u?n.promote():n.relegate()||S.postRender(()=>{const r=n.getStack();(!r||!r.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Re.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:s,switchLayoutGroup:i}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ts(e){const[t,s]=Mi(),i=X.useContext(ms);return Ne.createElement(ji,{...e,layoutGroup:i,switchLayoutGroup:X.useContext(gs),isPresent:t,safeToRemove:s})}const Fi={borderRadius:{...z,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomLeftRadius:z,borderBottomRightRadius:z,boxShadow:Bi},es=["TopLeft","TopRight","BottomLeft","BottomRight"],ki=es.length,se=e=>typeof e=="string"?parseFloat(e):e,ie=e=>typeof e=="number"||nt.test(e);function Ii(e,t,s,i,o,u){o?(e.opacity=V(0,s.opacity!==void 0?s.opacity:1,Oi(i)),e.opacityExit=V(t.opacity!==void 0?t.opacity:1,0,Ui(i))):u&&(e.opacity=V(t.opacity!==void 0?t.opacity:1,s.opacity!==void 0?s.opacity:1,i));for(let n=0;nit?1:s(Pt(e,t,i))}function oe(e,t){e.min=t.min,e.max=t.max}function b(e,t){oe(e.x,t.x),oe(e.y,t.y)}function re(e,t,s,i,o){return e-=t,e=it(e,1/s,i),o!==void 0&&(e=it(e,1/o,i)),e}function Ni(e,t=0,s=1,i=.5,o,u=e,n=e){if(et.test(t)&&(t=parseFloat(t),t=V(n.min,n.max,t/100)-n.min),typeof t!="number")return;let r=V(u.min,u.max,i);e===u&&(r-=t),e.min=re(e.min,t,s,r,o),e.max=re(e.max,t,s,r,o)}function ae(e,t,[s,i,o],u,n){Ni(e,t[s],t[i],t[o],t.scale,u,n)}const Gi=["x","scaleX","originX"],Hi=["y","scaleY","originY"];function le(e,t,s,i){ae(e.x,t,Gi,s?s.x:void 0,i?i.x:void 0),ae(e.y,t,Hi,s?s.y:void 0,i?i.y:void 0)}function ue(e){return e.translate===0&&e.scale===1}function is(e){return ue(e.x)&&ue(e.y)}function Wi(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function ns(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function ce(e){return C(e.x)/C(e.y)}class _i{constructor(){this.members=[]}add(t){Fe(this.members,t),t.scheduleRender()}remove(t){if(ke(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(t){const s=this.members.findIndex(o=>t===o);if(s===0)return!1;let i;for(let o=s;o>=0;o--){const u=this.members[o];if(u.isPresent!==!1){i=u;break}}return i?(this.promote(i),!0):!1}promote(t,s){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,s&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:s,resumingFrom:i}=t;s.onExitComplete&&s.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function he(e,t,s){let i="";const o=e.x.translate/t.x,u=e.y.translate/t.y;if((o||u)&&(i=`translate3d(${o}px, ${u}px, 0) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),s){const{rotate:a,rotateX:l,rotateY:c}=s;a&&(i+=`rotate(${a}deg) `),l&&(i+=`rotateX(${l}deg) `),c&&(i+=`rotateY(${c}deg) `)}const n=e.x.scale*t.x,r=e.y.scale*t.y;return(n!==1||r!==1)&&(i+=`scale(${n}, ${r})`),i||"none"}const Ki=(e,t)=>e.depth-t.depth;class $i{constructor(){this.children=[],this.isDirty=!1}add(t){Fe(this.children,t),this.isDirty=!0}remove(t){ke(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Ki),this.isDirty=!1,this.children.forEach(t)}}function zi(e,t){const s=Ie.now(),i=({timestamp:o})=>{const u=o-s;u>=t&&(O(i),e(u-t))};return S.read(i,!0),()=>O(i)}function Yi(e){window.MotionDebug&&window.MotionDebug.record(e)}function Xi(e){return e instanceof SVGElement&&e.tagName!=="svg"}function qi(e,t,s){const i=H(e)?e:st(e);return i.start(je("",i,t,s)),i.animation}const de=["","X","Y","Z"],Zi={visibility:"hidden"},fe=1e3;let Ji=0;const I={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function os({attachResizeListener:e,defaultParent:t,measureScroll:s,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(n={},r=t?.()){this.id=Ji++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,I.totalNodes=I.resolvedTargetDeltas=I.recalculatedProjection=0,this.nodes.forEach(en),this.nodes.forEach(an),this.nodes.forEach(ln),this.nodes.forEach(sn),Yi(I)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let a=0;athis.root.updateBlockedByResize=!1;e(n,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=zi(d,250),tt.hasAnimatedSinceResize&&(tt.hasAnimatedSinceResize=!1,this.nodes.forEach(me))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:d,hasRelativeTargetChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||fn,{onLayoutAnimationStart:g,onLayoutAnimationComplete:v}=c.getProps(),x=!this.targetLayout||!ns(this.targetLayout,p)||f,y=!d&&f;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||y||d&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,y);const P={...Os(m,"layout"),onPlay:g,onComplete:v};(c.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else d||me(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const n=this.getStack();n&&n.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,O(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(un),this.animationId++)}getTransformTemplate(){const{visualElement:n}=this.options;return n&&n.getProps().transformTemplate}willUpdate(n=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(nn),this.sharedNodes.forEach(cn)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,S.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){S.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a{const w=P/1e3;ge(h.x,n.x,w),ge(h.y,n.y,w),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Z(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),hn(this.relativeTarget,this.relativeTargetOrigin,d,w),y&&Wi(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=T()),b(y,this.relativeTarget)),m&&(this.animationValues=c,Ii(c,l,this.latestValues,w,x,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(n){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(O(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=S.update(()=>{tt.hasAnimatedSinceResize=!0,this.currentAnimation=qi(0,fe,{...n,onUpdate:r=>{this.mixTargetDelta(r),n.onUpdate&&n.onUpdate(r)},onComplete:()=>{n.onComplete&&n.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const n=this.getStack();n&&n.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const n=this.getLead();let{targetWithTransforms:r,target:a,layout:l,latestValues:c}=n;if(!(!r||!a||!l)){if(this!==n&&this.layout&&l&&rs(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||T();const h=C(this.layout.layoutBox.x);a.x.min=n.target.x.min,a.x.max=a.x.min+h;const d=C(this.layout.layoutBox.y);a.y.min=n.target.y.min,a.y.max=a.y.min+d}b(r,a),N(r,c),q(this.projectionDeltaWithTransform,this.layoutCorrected,r,c)}}registerSharedNode(n,r){this.sharedNodes.has(n)||this.sharedNodes.set(n,new _i),this.sharedNodes.get(n).add(r);const l=r.options.initialPromotionConfig;r.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(r):void 0})}isLead(){const n=this.getStack();return n?n.lead===this:!0}getLead(){var n;const{layoutId:r}=this.options;return r?((n=this.getStack())===null||n===void 0?void 0:n.lead)||this:this}getPrevLead(){var n;const{layoutId:r}=this.options;return r?(n=this.getStack())===null||n===void 0?void 0:n.prevLead:void 0}getStack(){const{layoutId:n}=this.options;if(n)return this.root.sharedNodes.get(n)}promote({needsReset:n,transition:r,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})}relegate(){const n=this.getStack();return n?n.relegate(this):!1}resetRotation(){const{visualElement:n}=this.options;if(!n)return;let r=!1;const{latestValues:a}=n;if((a.rotate||a.rotateX||a.rotateY||a.rotateZ)&&(r=!0),!r)return;const l={};for(let c=0;c{var r;return(r=n.currentAnimation)===null||r===void 0?void 0:r.stop()}),this.root.nodes.forEach(pe),this.root.sharedNodes.clear()}}}function Qi(e){e.updateLayout()}function tn(e){var t;const s=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&s&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=e.layout,{animationType:u}=e.options,n=s.source!==e.layout.source;u==="size"?L(h=>{const d=n?s.measuredBox[h]:s.layoutBox[h],f=C(d);d.min=i[h].min,d.max=d.min+f}):rs(u,s.layoutBox,i)&&L(h=>{const d=n?s.measuredBox[h]:s.layoutBox[h],f=C(i[h]);d.max=d.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+f)});const r=U();q(r,i,s.layoutBox);const a=U();n?q(a,e.applyTransform(o,!0),s.measuredBox):q(a,i,s.layoutBox);const l=!is(r);let c=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:d,layout:f}=h;if(d&&f){const p=T();Z(p,s.layoutBox,d.layoutBox);const m=T();Z(m,i,f.layoutBox),ns(p,m)||(c=!0),h.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=p,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:s,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function en(e){I.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function sn(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nn(e){e.clearSnapshot()}function pe(e){e.clearMeasurements()}function on(e){e.isLayoutDirty=!1}function rn(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function me(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function an(e){e.resolveTargetDelta()}function ln(e){e.calcProjection()}function un(e){e.resetRotation()}function cn(e){e.removeLeadSnapshot()}function ge(e,t,s){e.translate=V(t.translate,0,s),e.scale=V(t.scale,1,s),e.origin=t.origin,e.originPoint=t.originPoint}function ye(e,t,s,i){e.min=V(t.min,s.min,i),e.max=V(t.max,s.max,i)}function hn(e,t,s,i){ye(e.x,t.x,s.x,i),ye(e.y,t.y,s.y,i)}function dn(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const fn={duration:.45,ease:[.4,0,.1,1]},ve=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),xe=ve("applewebkit/")&&!ve("chrome/")?Math.round:E;function Pe(e){e.min=xe(e.min),e.max=xe(e.max)}function pn(e){Pe(e.x),Pe(e.y)}function rs(e,t,s){return e==="position"||e==="preserve-aspect"&&!St(ce(t),ce(s),.2)}const mn=os({attachResizeListener:(e,t)=>R(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),yt={current:void 0},as=os({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!yt.current){const e=new mn({});e.mount(window),e.setOptions({layoutScroll:!0}),yt.current=e}return yt.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),gn={pan:{Feature:Ei},drag:{Feature:Ri,ProjectionNode:as,MeasureLayout:ts}},yn=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function vn(e){const t=yn.exec(e);if(!t)return[,];const[,s,i]=t;return[s,i]}function bt(e,t,s=1){const[i,o]=vn(e);if(!i)return;const u=window.getComputedStyle(t).getPropertyValue(i);if(u){const n=u.trim();return Us(n)?parseFloat(n):n}else return xt(o)?bt(o,t,s+1):o}function xn(e,{...t},s){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:s};s&&(s={...s}),e.values.forEach(o=>{const u=o.get();if(!xt(u))return;const n=bt(u,i);n&&o.set(n)});for(const o in t){const u=t[o];if(!xt(u))continue;const n=bt(u,i);n&&(t[o]=n,s||(s={}),s[o]===void 0&&(s[o]=u))}return{target:t,transitionEnd:s}}const Pn=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ls=e=>Pn.has(e),Tn=e=>Object.keys(e).some(ls),Te=e=>e===vs||e===nt,Ve=(e,t)=>parseFloat(e.split(", ")[t]),Se=(e,t)=>(s,{transform:i})=>{if(i==="none"||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/);if(o)return Ve(o[1],t);{const u=i.match(/^matrix\((.+)\)$/);return u?Ve(u[1],e):0}},Vn=new Set(["x","y","z"]),Sn=ys.filter(e=>!Vn.has(e));function An(e){const t=[];return Sn.forEach(s=>{const i=e.getValue(s);i!==void 0&&(t.push([s,i.get()]),i.set(s.startsWith("scale")?1:0))}),t.length&&e.render(),t}const W={width:({x:e},{paddingLeft:t="0",paddingRight:s="0"})=>e.max-e.min-parseFloat(t)-parseFloat(s),height:({y:e},{paddingTop:t="0",paddingBottom:s="0"})=>e.max-e.min-parseFloat(t)-parseFloat(s),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Se(4,13),y:Se(5,14)};W.translateX=W.x;W.translateY=W.y;const Dn=(e,t,s)=>{const i=t.measureViewportBox(),o=t.current,u=getComputedStyle(o),{display:n}=u,r={};n==="none"&&t.setStaticValue("display",e.display||"block"),s.forEach(l=>{r[l]=W[l](i,u)}),t.render();const a=t.measureViewportBox();return s.forEach(l=>{const c=t.getValue(l);c&&c.jump(r[l]),e[l]=W[l](a,u)}),e},Cn=(e,t,s={},i={})=>{t={...t},i={...i};const o=Object.keys(t).filter(ls);let u=[],n=!1;const r=[];if(o.forEach(a=>{const l=e.getValue(a);if(!e.hasValue(a))return;let c=s[a],h=$(c);const d=t[a];let f;if(vt(d)){const p=d.length,m=d[0]===null?1:0;c=d[m],h=$(c);for(let g=m;g=0?window.pageYOffset:null,l=Dn(t,e,r);return u.length&&u.forEach(([c,h])=>{e.getValue(c).set(h)}),e.render(),Ee&&a!==null&&window.scrollTo({top:a}),{target:l,transitionEnd:i}}else return{target:t,transitionEnd:i}};function bn(e,t,s,i){return Tn(t)?Cn(e,t,s,i):{target:t,transitionEnd:i}}const Ln=(e,t,s,i)=>{const o=xn(e,t,i);return t=o.target,i=o.transitionEnd,bn(e,t,s,i)},Lt={current:null},us={current:!1};function wn(){if(us.current=!0,!!Ee)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Lt.current=e.matches;e.addListener(t),t()}else Lt.current=!1}function Rn(e,t,s){const{willChange:i}=t;for(const o in t){const u=t[o],n=s[o];if(H(u))e.addValue(o,u),Tt(i)&&i.add(o);else if(H(n))e.addValue(o,st(u,{owner:e})),Tt(i)&&i.remove(o);else if(n!==u)if(e.hasValue(o)){const r=e.getValue(o);!r.hasAnimated&&r.set(u)}else{const r=e.getStaticValue(o);e.addValue(o,st(r!==void 0?r:u,{owner:e}))}}for(const o in s)t[o]===void 0&&e.removeValue(o);return t}const Ae=new WeakMap,cs=Object.keys(Me),En=cs.length,De=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Mn=Be.length;class Bn{constructor({parent:t,props:s,presenceContext:i,reducedMotionConfig:o,visualState:u},n={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>S.render(this.render,!1,!0);const{latestValues:r,renderState:a}=u;this.latestValues=r,this.baseTarget={...r},this.initialValues=s.initial?{...r}:{},this.renderState=a,this.parent=t,this.props=s,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=n,this.isControllingVariants=xs(s),this.isVariantNode=Ps(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(s,{});for(const h in c){const d=c[h];r[h]!==void 0&&H(d)&&(d.set(r[h],!1),Tt(l)&&l.add(h))}}scrapeMotionValuesFromProps(t,s){return{}}mount(t){this.current=t,Ae.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,i)=>this.bindToMotionValue(i,s)),us.current||wn(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Lt.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ae.delete(this.current),this.projection&&this.projection.unmount(),O(this.notifyUpdate),O(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,s){const i=wt.has(t),o=s.on("change",n=>{this.latestValues[t]=n,this.props.onUpdate&&S.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),u=s.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),u()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...s},i,o,u){let n,r;for(let a=0;athis.scheduleRender(),animationType:typeof l=="string"?l:"both",initialPromotionConfig:u,layoutScroll:d,layoutRoot:f})}return r}updateFeatures(){for(const t in this.features){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):T()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,s){this.latestValues[t]=s}makeTargetAnimatable(t,s=!0){return this.makeTargetAnimatableFromInstance(t,s)}update(t,s){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let i=0;is.variantChildren.delete(t)}addValue(t,s){s!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,s)),this.values.set(t,s),this.latestValues[t]=s.get()}removeValue(t){this.values.delete(t);const s=this.valueSubscriptions.get(t);s&&(s(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,s){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&s!==void 0&&(i=st(s,{owner:this}),this.addValue(t,i)),i}readValue(t){var s;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(s=this.getBaseTargetFromProps(this.props,t))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,s){this.baseTarget[t]=s}getBaseTarget(t){var s;const{initial:i}=this.props,o=typeof i=="string"||typeof i=="object"?(s=Ts(this.props,i))===null||s===void 0?void 0:s[t]:void 0;if(i&&o!==void 0)return o;const u=this.getBaseTargetFromProps(this.props,t);return u!==void 0&&!H(u)?u:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,s){return this.events[t]||(this.events[t]=new Oe),this.events[t].add(s)}notify(t,...s){this.events[t]&&this.events[t].notify(...s)}}class hs extends Bn{sortInstanceNodePosition(t,s){return t.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(t,s){return t.style?t.style[s]:void 0}removeValueFromRenderState(t,{vars:s,style:i}){delete s[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:s,...i},o){const u=Gs(i,t||{},this);if(o){Hs(this,i,u);const n=Ln(this,i,u,s);s=n.transitionEnd,i=n.target}return{transition:t,transitionEnd:s,...i}}}function jn(e){return window.getComputedStyle(e)}class Fn extends hs{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,s){if(wt.has(s)){const i=Ue(s);return i&&i.default||0}else{const i=jn(t),o=(Vs(s)?i.getPropertyValue(s):i[s])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:s}){return Je(t,s)}build(t,s,i,o){Ss(t,s,i,o.transformTemplate)}scrapeMotionValuesFromProps(t,s){return As(t,s)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;H(t)&&(this.childSubscription=t.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}renderInstance(t,s,i,o){Ds(t,s,i,o)}}class kn extends hs{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,s){return t[s]}readValueFromInstance(t,s){if(wt.has(s)){const i=Ue(s);return i&&i.default||0}return s=Cs.has(s)?s:bs(s),t.getAttribute(s)}measureInstanceViewportBox(){return T()}scrapeMotionValuesFromProps(t,s){return Ls(t,s)}build(t,s,i,o){ws(t,s,i,this.isSVGTag,o.transformTemplate)}renderInstance(t,s,i,o){Rs(t,s,i,o)}mount(t){this.isSVGTag=Es(t.tagName),super.mount(t)}}const In=(e,t)=>Ms(e)?new kn(t,{enableHardwareAcceleration:!1}):new Fn(t,{enableHardwareAcceleration:!0}),On={layout:{ProjectionNode:as,MeasureLayout:ts}},Un={renderer:In,...ci,...ti},Kn={...Un,...gn,...On};export{Kn as d}; diff --git a/assets/flowDb-d35e309a-9jgYoDxp.js b/assets/flowDb-d35e309a-9jgYoDxp.js new file mode 100644 index 00000000000..bb1c4551f67 --- /dev/null +++ b/assets/flowDb-d35e309a-9jgYoDxp.js @@ -0,0 +1,10 @@ +import{c as et,o as me,s as ye,g as ve,a as Ve,b as Le,p as Ie,q as Re,l as J1,u as dt,r as Ne,j as we,h as w1}from"./mermaid.core-wTs8WatG.js";var pt=function(){var e=function(f1,a,o,f){for(o=o||{},f=f1.length;f--;o[f1[f]]=a);return o},u=[1,4],i=[1,3],n=[1,5],c=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],l=[2,2],h=[1,13],U=[1,14],F=[1,15],w=[1,16],X=[1,23],o1=[1,25],p1=[1,26],A1=[1,27],C=[1,49],k=[1,48],l1=[1,29],U1=[1,30],G1=[1,31],M1=[1,32],K1=[1,33],B=[1,44],x=[1,46],m=[1,42],y=[1,47],v=[1,43],V=[1,50],L=[1,45],I=[1,51],R=[1,52],Y1=[1,34],j1=[1,35],z1=[1,36],X1=[1,37],I1=[1,57],b=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],W=[1,61],Q=[1,60],Z=[1,62],H1=[8,9,11,73,75],k1=[1,88],b1=[1,93],g1=[1,92],D1=[1,89],F1=[1,85],T1=[1,91],S1=[1,87],C1=[1,94],_1=[1,90],B1=[1,95],x1=[1,86],q1=[8,9,10,11,73,75],N=[8,9,10,11,44,73,75],M=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],Et=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],R1=[42,58,86,99,102,103,106,108,111,112,113],kt=[1,121],bt=[1,120],gt=[1,128],Dt=[1,142],Ft=[1,143],Tt=[1,144],St=[1,145],Ct=[1,130],_t=[1,132],Bt=[1,136],xt=[1,137],mt=[1,138],yt=[1,139],vt=[1,140],Vt=[1,141],Lt=[1,146],It=[1,147],Rt=[1,126],Nt=[1,127],wt=[1,134],Ot=[1,129],Pt=[1,133],Ut=[1,131],nt=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Gt=[1,149],T=[8,9,11],K=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],p=[1,169],O=[1,165],P=[1,166],A=[1,170],d=[1,167],E=[1,168],m1=[75,113,116],g=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],Mt=[10,103],h1=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],J=[1,235],$=[1,233],t1=[1,237],e1=[1,231],s1=[1,232],u1=[1,234],i1=[1,236],r1=[1,238],y1=[1,255],Kt=[8,9,11,103],q=[8,9,10,11,58,81,102,103,106,107,108,109],at={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeperator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,verticeStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(a,o,f,r,S,t,N1){var s=t.length-1;switch(S){case 2:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 176:this.$=t[s];break;case 11:r.setDirection("TB"),this.$="TB";break;case 12:r.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=r.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=r.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 43:r.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 44:r.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 45:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 46:this.$={stmt:t[s],nodes:t[s]};break;case 47:this.$=[t[s]];break;case 48:this.$=t[s-4].concat(t[s]);break;case 49:this.$=t[s];break;case 50:this.$=t[s-2],r.setClass(t[s-2],t[s]);break;case 51:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"square");break;case 52:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"doublecircle");break;case 53:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"circle");break;case 54:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"ellipse");break;case 55:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"stadium");break;case 56:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"subroutine");break;case 57:this.$=t[s-7],r.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 58:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"cylinder");break;case 59:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"round");break;case 60:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"diamond");break;case 61:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"hexagon");break;case 62:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"odd");break;case 63:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"trapezoid");break;case 64:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 65:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_right");break;case 66:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_left");break;case 67:this.$=t[s],r.addVertex(t[s]);break;case 68:t[s-1].text=t[s],this.$=t[s-1];break;case 69:case 70:t[s-2].text=t[s-1],this.$=t[s-2];break;case 71:this.$=t[s];break;case 72:var Y=r.destructLink(t[s],t[s-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,text:t[s-1]};break;case 73:this.$={text:t[s],type:"text"};break;case 74:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 75:this.$={text:t[s],type:"string"};break;case 76:this.$={text:t[s],type:"markdown"};break;case 77:var Y=r.destructLink(t[s]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length};break;case 78:this.$=t[s-1];break;case 79:this.$={text:t[s],type:"text"};break;case 80:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:this.$={text:t[s],type:"string"};break;case 82:case 97:this.$={text:t[s],type:"markdown"};break;case 94:this.$={text:t[s],type:"text"};break;case 95:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 96:this.$={text:t[s],type:"text"};break;case 98:this.$=t[s-4],r.addClass(t[s-2],t[s]);break;case 99:this.$=t[s-4],r.setClass(t[s-2],t[s]);break;case 100:case 108:this.$=t[s-1],r.setClickEvent(t[s-1],t[s]);break;case 101:case 109:this.$=t[s-3],r.setClickEvent(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 102:this.$=t[s-2],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 103:this.$=t[s-4],r.setClickEvent(t[s-4],t[s-3],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 104:this.$=t[s-2],r.setLink(t[s-2],t[s]);break;case 105:this.$=t[s-4],r.setLink(t[s-4],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 106:this.$=t[s-4],r.setLink(t[s-4],t[s-2],t[s]);break;case 107:this.$=t[s-6],r.setLink(t[s-6],t[s-4],t[s]),r.setTooltip(t[s-6],t[s-2]);break;case 110:this.$=t[s-1],r.setLink(t[s-1],t[s]);break;case 111:this.$=t[s-3],r.setLink(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 112:this.$=t[s-3],r.setLink(t[s-3],t[s-2],t[s]);break;case 113:this.$=t[s-5],r.setLink(t[s-5],t[s-4],t[s]),r.setTooltip(t[s-5],t[s-2]);break;case 114:this.$=t[s-4],r.addVertex(t[s-2],void 0,void 0,t[s]);break;case 115:this.$=t[s-4],r.updateLink([t[s-2]],t[s]);break;case 116:this.$=t[s-4],r.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-8],r.updateLinkInterpolate([t[s-6]],t[s-2]),r.updateLink([t[s-6]],t[s]);break;case 118:this.$=t[s-8],r.updateLinkInterpolate(t[s-6],t[s-2]),r.updateLink(t[s-6],t[s]);break;case 119:this.$=t[s-6],r.updateLinkInterpolate([t[s-4]],t[s]);break;case 120:this.$=t[s-6],r.updateLinkInterpolate(t[s-4],t[s]);break;case 121:case 123:this.$=[t[s]];break;case 122:case 124:t[s-2].push(t[s]),this.$=t[s-2];break;case 126:this.$=t[s-1]+t[s];break;case 174:this.$=t[s];break;case 175:this.$=t[s-1]+""+t[s];break;case 177:this.$=t[s-1]+""+t[s];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,9:u,10:i,12:n},{1:[3]},e(c,l,{5:6}),{4:7,9:u,10:i,12:n},{4:8,9:u,10:i,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,33:24,34:o1,36:p1,38:A1,40:28,41:38,42:C,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,54],9:[1,55],10:I1,15:53,18:56},e(b,[2,3]),e(b,[2,4]),e(b,[2,5]),e(b,[2,6]),e(b,[2,7]),e(b,[2,8]),{8:W,9:Q,11:Z,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:W,9:Q,11:Z,21:66},{8:W,9:Q,11:Z,21:67},{8:W,9:Q,11:Z,21:68},{8:W,9:Q,11:Z,21:69},{8:W,9:Q,11:Z,21:70},{8:W,9:Q,10:[1,71],11:Z,21:72},e(b,[2,36]),{35:[1,73]},{37:[1,74]},e(b,[2,39]),e(H1,[2,46],{18:75,10:I1}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:k1,42:b1,58:g1,77:[1,83],86:D1,92:[1,80],94:[1,81],98:82,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1,117:84},e(b,[2,178]),e(b,[2,179]),e(b,[2,180]),e(b,[2,181]),e(q1,[2,47]),e(q1,[2,49],{44:[1,96]}),e(N,[2,67],{110:109,29:[1,97],42:C,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:k,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:B,99:x,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),e(M,[2,174]),e(M,[2,135]),e(M,[2,136]),e(M,[2,137]),e(M,[2,138]),e(M,[2,139]),e(M,[2,140]),e(M,[2,141]),e(M,[2,142]),e(M,[2,143]),e(M,[2,144]),e(M,[2,145]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,110]},e(Et,[2,26],{18:111,10:I1}),e(b,[2,27]),{40:112,41:38,42:C,43:39,45:40,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(b,[2,40]),e(b,[2,41]),e(b,[2,42]),e(R1,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:kt,116:bt},e([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),e(b,[2,28]),e(b,[2,29]),e(b,[2,30]),e(b,[2,31]),e(b,[2,32]),{10:gt,12:Dt,14:Ft,27:Tt,28:122,32:St,42:Ct,58:_t,73:Bt,77:[1,124],78:[1,125],80:135,81:xt,82:mt,83:yt,84:vt,85:Vt,86:Lt,87:It,88:123,102:Rt,106:Nt,108:wt,111:Ot,112:Pt,113:Ut},e(nt,l,{5:148}),e(b,[2,37]),e(b,[2,38]),e(H1,[2,45],{42:Gt}),{42:C,45:150,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{99:[1,151],100:152,102:[1,153]},{42:C,45:154,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{42:C,45:155,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(T,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},e(T,[2,108],{117:160,10:[1,159],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1}),e(T,[2,110],{10:[1,161]}),e(K,[2,176]),e(K,[2,163]),e(K,[2,164]),e(K,[2,165]),e(K,[2,166]),e(K,[2,167]),e(K,[2,168]),e(K,[2,169]),e(K,[2,170]),e(K,[2,171]),e(K,[2,172]),e(K,[2,173]),{42:C,45:162,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{30:163,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:171,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:173,48:[1,172],65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:174,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:175,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:176,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{106:[1,177]},{30:178,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:179,63:[1,180],65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:181,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:182,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:183,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(M,[2,175]),e(c,[2,20]),e(Et,[2,25]),e(H1,[2,43],{18:184,10:I1}),e(R1,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{75:[1,188],76:189,113:kt,116:bt},e(m1,[2,73]),e(m1,[2,75]),e(m1,[2,76]),e(m1,[2,161]),e(m1,[2,162]),{8:W,9:Q,10:gt,11:Z,12:Dt,14:Ft,21:191,27:Tt,29:[1,190],32:St,42:Ct,58:_t,73:Bt,80:135,81:xt,82:mt,83:yt,84:vt,85:Vt,86:Lt,87:It,88:192,102:Rt,106:Nt,108:wt,111:Ot,112:Pt,113:Ut},e(g,[2,94]),e(g,[2,96]),e(g,[2,97]),e(g,[2,150]),e(g,[2,151]),e(g,[2,152]),e(g,[2,153]),e(g,[2,154]),e(g,[2,155]),e(g,[2,156]),e(g,[2,157]),e(g,[2,158]),e(g,[2,159]),e(g,[2,160]),e(g,[2,83]),e(g,[2,84]),e(g,[2,85]),e(g,[2,86]),e(g,[2,87]),e(g,[2,88]),e(g,[2,89]),e(g,[2,90]),e(g,[2,91]),e(g,[2,92]),e(g,[2,93]),{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,193],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:C,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},{10:I1,18:194},{10:[1,195],42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{10:[1,196]},{10:[1,197],103:[1,198]},e(Mt,[2,121]),{10:[1,199],42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{10:[1,200],42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{77:[1,201]},e(T,[2,102],{10:[1,202]}),e(T,[2,104],{10:[1,203]}),{77:[1,204]},e(K,[2,177]),{77:[1,205],95:[1,206]},e(q1,[2,50],{110:109,42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),{31:[1,207],65:p,79:208,113:A,114:d,115:E},e(h1,[2,79]),e(h1,[2,81]),e(h1,[2,82]),e(h1,[2,146]),e(h1,[2,147]),e(h1,[2,148]),e(h1,[2,149]),{47:[1,209],65:p,79:208,113:A,114:d,115:E},{30:210,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{49:[1,211],65:p,79:208,113:A,114:d,115:E},{51:[1,212],65:p,79:208,113:A,114:d,115:E},{53:[1,213],65:p,79:208,113:A,114:d,115:E},{55:[1,214],65:p,79:208,113:A,114:d,115:E},{58:[1,215]},{62:[1,216],65:p,79:208,113:A,114:d,115:E},{64:[1,217],65:p,79:208,113:A,114:d,115:E},{30:218,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{31:[1,219],65:p,79:208,113:A,114:d,115:E},{65:p,67:[1,220],69:[1,221],79:208,113:A,114:d,115:E},{65:p,67:[1,223],69:[1,222],79:208,113:A,114:d,115:E},e(H1,[2,44],{42:Gt}),e(R1,[2,70]),e(R1,[2,69]),{60:[1,224],65:p,79:208,113:A,114:d,115:E},e(R1,[2,72]),e(m1,[2,74]),{30:225,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(nt,l,{5:226}),e(g,[2,95]),e(b,[2,35]),{41:227,42:C,43:39,45:40,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{10:J,58:$,81:t1,89:228,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:239,101:[1,240],102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:241,101:[1,242],102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{102:[1,243]},{10:J,58:$,81:t1,89:244,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{42:C,45:245,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(T,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},e(T,[2,109]),e(T,[2,111],{10:[1,249]}),e(T,[2,112]),e(N,[2,51]),e(h1,[2,80]),e(N,[2,52]),{49:[1,250],65:p,79:208,113:A,114:d,115:E},e(N,[2,59]),e(N,[2,54]),e(N,[2,55]),e(N,[2,56]),{106:[1,251]},e(N,[2,58]),e(N,[2,60]),{64:[1,252],65:p,79:208,113:A,114:d,115:E},e(N,[2,62]),e(N,[2,63]),e(N,[2,65]),e(N,[2,64]),e(N,[2,66]),e([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,254],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:C,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},e(q1,[2,48]),e(T,[2,114],{103:y1}),e(Kt,[2,123],{105:256,10:J,58:$,81:t1,102:e1,106:s1,107:u1,108:i1,109:r1}),e(q,[2,125]),e(q,[2,127]),e(q,[2,128]),e(q,[2,129]),e(q,[2,130]),e(q,[2,131]),e(q,[2,132]),e(q,[2,133]),e(q,[2,134]),e(T,[2,115],{103:y1}),{10:[1,257]},e(T,[2,116],{103:y1}),{10:[1,258]},e(Mt,[2,122]),e(T,[2,98],{103:y1}),e(T,[2,99],{110:109,42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),e(T,[2,103]),e(T,[2,105],{10:[1,259]}),e(T,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:W,9:Q,11:Z,21:264},e(b,[2,34]),{10:J,58:$,81:t1,102:e1,104:265,105:230,106:s1,107:u1,108:i1,109:r1},e(q,[2,126]),{14:k1,42:b1,58:g1,86:D1,98:266,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1,117:84},{14:k1,42:b1,58:g1,86:D1,98:267,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1,117:84},{95:[1,268]},e(T,[2,113]),e(N,[2,53]),{30:269,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(N,[2,61]),e(nt,l,{5:270}),e(Kt,[2,124],{105:256,10:J,58:$,81:t1,102:e1,106:s1,107:u1,108:i1,109:r1}),e(T,[2,119],{117:160,10:[1,271],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1}),e(T,[2,120],{117:160,10:[1,272],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1}),e(T,[2,107]),{31:[1,273],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,274],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:C,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},{10:J,58:$,81:t1,89:275,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:276,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},e(N,[2,57]),e(b,[2,33]),e(T,[2,117],{103:y1}),e(T,[2,118],{103:y1})],defaultActions:{},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var f=new Error(a);throw f.hash=o,f}},parse:function(a){var o=this,f=[0],r=[],S=[null],t=[],N1=this.table,s="",Y=0,Yt=0,Ce=2,jt=1,_e=t.slice.call(arguments,1),_=Object.create(this.lexer),d1={yy:{}};for(var ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ot)&&(d1.yy[ot]=this.yy[ot]);_.setInput(a,d1.yy),d1.yy.lexer=_,d1.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var lt=_.yylloc;t.push(lt);var Be=_.options&&_.options.ranges;typeof d1.yy.parseError=="function"?this.parseError=d1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xe(){var a1;return a1=r.pop()||_.lex()||jt,typeof a1!="number"&&(a1 instanceof Array&&(r=a1,a1=r.pop()),a1=o.symbols_[a1]||a1),a1}for(var G,E1,j,ht,v1={},W1,n1,zt,Q1;;){if(E1=f[f.length-1],this.defaultActions[E1]?j=this.defaultActions[E1]:((G===null||typeof G>"u")&&(G=xe()),j=N1[E1]&&N1[E1][G]),typeof j>"u"||!j.length||!j[0]){var ft="";Q1=[];for(W1 in N1[E1])this.terminals_[W1]&&W1>Ce&&Q1.push("'"+this.terminals_[W1]+"'");_.showPosition?ft="Parse error on line "+(Y+1)+`: +`+_.showPosition()+` +Expecting `+Q1.join(", ")+", got '"+(this.terminals_[G]||G)+"'":ft="Parse error on line "+(Y+1)+": Unexpected "+(G==jt?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(ft,{text:_.match,token:this.terminals_[G]||G,line:_.yylineno,loc:lt,expected:Q1})}if(j[0]instanceof Array&&j.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E1+", token: "+G);switch(j[0]){case 1:f.push(G),S.push(_.yytext),t.push(_.yylloc),f.push(j[1]),G=null,Yt=_.yyleng,s=_.yytext,Y=_.yylineno,lt=_.yylloc;break;case 2:if(n1=this.productions_[j[1]][1],v1.$=S[S.length-n1],v1._$={first_line:t[t.length-(n1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(n1||1)].first_column,last_column:t[t.length-1].last_column},Be&&(v1._$.range=[t[t.length-(n1||1)].range[0],t[t.length-1].range[1]]),ht=this.performAction.apply(v1,[s,Yt,Y,d1.yy,j[1],S,t].concat(_e)),typeof ht<"u")return ht;n1&&(f=f.slice(0,-1*n1*2),S=S.slice(0,-1*n1),t=t.slice(0,-1*n1)),f.push(this.productions_[j[1]][0]),S.push(v1.$),t.push(v1._$),zt=N1[f[f.length-2]][f[f.length-1]],f.push(zt);break;case 3:return!0}}return!0}},Se=function(){var f1={EOF:1,parseError:function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var o=a.length,f=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===r.length?this.yylloc.first_column:0)+r[r.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+` +`+o+"^"},test_match:function(a,o){var f,r,S;if(this.options.backtrack_lexer&&(S={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(S.yylloc.range=this.yylloc.range.slice(0))),r=a[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],f=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var t in S)this[t]=S[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,o,f,r;this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),t=0;to[0].length)){if(o=f,r=t,this.options.backtrack_lexer){if(a=this.test_match(f,S[t]),a!==!1)return a;if(this._backtrack){o=!1;continue}else return!1}else if(!this.options.flex)break}return o?(a=this.test_match(o,S[r]),a!==!1?a:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return o||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){var o=this.conditionStack.length-1;return o>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(o,f,r,S){switch(r){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 11:this.popState();break;case 12:return 93;case 13:return"MD_STR";case 14:this.popState();break;case 15:this.begin("md_string");break;case 16:return"STR";case 17:this.popState();break;case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 27:this.popState();break;case 28:return 85;case 29:return o.lex.firstGraph()&&this.begin("dir"),12;case 30:return o.lex.firstGraph()&&this.begin("dir"),12;case 31:return o.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:return 95;case 35:return 95;case 36:return 95;case 37:return 95;case 38:return this.popState(),13;case 39:return this.popState(),14;case 40:return this.popState(),14;case 41:return this.popState(),14;case 42:return this.popState(),14;case 43:return this.popState(),14;case 44:return this.popState(),14;case 45:return this.popState(),14;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:return 108;case 55:return 44;case 56:return 58;case 57:return 42;case 58:return 8;case 59:return 103;case 60:return 112;case 61:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:return 116;case 64:return this.popState(),75;case 65:return this.pushState("thickEdgeText"),73;case 66:return 116;case 67:return this.popState(),75;case 68:return this.pushState("dottedEdgeText"),73;case 69:return 116;case 70:return 75;case 71:return this.popState(),51;case 72:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 94:return 112;case 95:return 108;case 96:return 42;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 108:return"TEXT";case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}};return f1}();at.lexer=Se;function ct(){this.yy={}}return ct.prototype=at,at.Parser=ct,new ct}();pt.parser=pt;const Xe=pt,Oe="flowchart-";let Xt=0,L1=et(),D={},H=[],V1={},c1=[],$1={},tt={},Z1=0,At=!0,z,st,ut=[];const it=e=>we.sanitizeText(e,L1),P1=function(e){const u=Object.keys(D);for(const i of u)if(D[i].id===e)return D[i].domId;return e},Ht=function(e,u,i,n,c,l,h={}){let U,F=e;F!==void 0&&F.trim().length!==0&&(D[F]===void 0&&(D[F]={id:F,labelType:"text",domId:Oe+F+"-"+Xt,styles:[],classes:[]}),Xt++,u!==void 0?(L1=et(),U=it(u.text.trim()),D[F].labelType=u.type,U[0]==='"'&&U[U.length-1]==='"'&&(U=U.substring(1,U.length-1)),D[F].text=U):D[F].text===void 0&&(D[F].text=e),i!==void 0&&(D[F].type=i),n?.forEach(function(w){D[F].styles.push(w)}),c?.forEach(function(w){D[F].classes.push(w)}),l!==void 0&&(D[F].dir=l),D[F].props===void 0?D[F].props=h:h!==void 0&&Object.assign(D[F].props,h))},qt=function(e,u,i){const l={start:e,end:u,type:void 0,text:"",labelType:"text"};J1.info("abc78 Got edge...",l);const h=i.text;if(h!==void 0&&(l.text=it(h.text.trim()),l.text[0]==='"'&&l.text[l.text.length-1]==='"'&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=h.type),i!==void 0&&(l.type=i.type,l.stroke=i.stroke,l.length=i.length),l?.length>10&&(l.length=10),H.length<(L1.maxEdges??500))J1.info("abc78 pushing edge..."),H.push(l);else throw new Error(`Edge limit exceeded. ${H.length} edges found, but the limit is ${L1.maxEdges}. + +Initialize mermaid with maxEdges set to a higher number to allow more edges. +You cannot set this config via configuration inside the diagram as it is a secure config. +You have to call mermaid.initialize.`)},Wt=function(e,u,i){J1.info("addLink (abc78)",e,u,i);let n,c;for(n=0;n=H.length)throw new Error(`The index ${i} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${H.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);i==="default"?H.defaultStyle=u:(dt.isSubstringInArray("fill",u)===-1&&u.push("fill:none"),H[i].style=u)})},Jt=function(e,u){e.split(",").forEach(function(i){V1[i]===void 0&&(V1[i]={id:i,styles:[],textStyles:[]}),u?.forEach(function(n){if(n.match("color")){const c=n.replace("fill","bgFill").replace("color","fill");V1[i].textStyles.push(c)}V1[i].styles.push(n)})})},$t=function(e){z=e,z.match(/.*/)&&(z="LR"),z.match(/.*v/)&&(z="TB"),z==="TD"&&(z="TB")},rt=function(e,u){e.split(",").forEach(function(i){let n=i;D[n]!==void 0&&D[n].classes.push(u),$1[n]!==void 0&&$1[n].classes.push(u)})},Pe=function(e,u){e.split(",").forEach(function(i){u!==void 0&&(tt[st==="gen-1"?P1(i):i]=it(u))})},Ue=function(e,u,i){let n=P1(e);if(et().securityLevel!=="loose"||u===void 0)return;let c=[];if(typeof i=="string"){c=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l")),c.classed("hover",!0)}).on("mouseout",function(){u.transition().duration(500).style("opacity",0),w1(this).classed("hover",!1)})};ut.push(ce);const oe=function(e="gen-1"){D={},V1={},H=[],ut=[ce],c1=[],$1={},Z1=0,tt={},At=!0,st=e,L1=et(),Ne()},le=e=>{st=e||"gen-2"},he=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},fe=function(e,u,i){let n=e.text.trim(),c=i.text;e===i&&i.text.match(/\s/)&&(n=void 0);function l(X){const o1={boolean:{},number:{},string:{}},p1=[];let A1;return{nodeList:X.filter(function(k){const l1=typeof k;return k.stmt&&k.stmt==="dir"?(A1=k.value,!1):k.trim()===""?!1:l1 in o1?o1[l1].hasOwnProperty(k)?!1:o1[l1][k]=!0:p1.includes(k)?!1:p1.push(k)}),dir:A1}}let h=[];const{nodeList:U,dir:F}=l(h.concat.apply(h,u));if(h=U,st==="gen-1")for(let X=0;X2e3)return;if(pe[O1]=u,c1[u].id===e)return{result:!0,count:0};let n=0,c=1;for(;n=0){const h=Ae(e,l);if(h.result)return{result:!0,count:c+h.count};c=c+h.count}n=n+1}return{result:!1,count:c}},de=function(e){return pe[e]},Ee=function(){O1=-1,c1.length>0&&Ae("none",c1.length-1)},ke=function(){return c1},be=()=>At?(At=!1,!0):!1,Me=e=>{let u=e.trim(),i="arrow_open";switch(u[0]){case"<":i="arrow_point",u=u.slice(1);break;case"x":i="arrow_cross",u=u.slice(1);break;case"o":i="arrow_circle",u=u.slice(1);break}let n="normal";return u.includes("=")&&(n="thick"),u.includes(".")&&(n="dotted"),{type:i,stroke:n}},Ke=(e,u)=>{const i=u.length;let n=0;for(let c=0;c{const u=e.trim();let i=u.slice(0,-1),n="arrow_open";switch(u.slice(-1)){case"x":n="arrow_cross",u[0]==="x"&&(n="double_"+n,i=i.slice(1));break;case">":n="arrow_point",u[0]==="<"&&(n="double_"+n,i=i.slice(1));break;case"o":n="arrow_circle",u[0]==="o"&&(n="double_"+n,i=i.slice(1));break}let c="normal",l=i.length-1;i[0]==="="&&(c="thick"),i[0]==="~"&&(c="invisible");let h=Ke(".",i);return h&&(c="dotted",l=h),{type:n,stroke:c,length:l}},ge=(e,u)=>{const i=Ye(e);let n;if(u){if(n=Me(u),n.stroke!==i.stroke)return{type:"INVALID",stroke:"INVALID"};if(n.type==="arrow_open")n.type=i.type;else{if(n.type!==i.type)return{type:"INVALID",stroke:"INVALID"};n.type="double_"+n.type}return n.type==="double_arrow"&&(n.type="double_arrow_point"),n.length=i.length,n}return i},De=(e,u)=>{let i=!1;return e.forEach(n=>{n.nodes.indexOf(u)>=0&&(i=!0)}),i},Fe=(e,u)=>{const i=[];return e.nodes.forEach((n,c)=>{De(u,n)||i.push(e.nodes[c])}),{nodes:i}},Te={firstGraph:be},je={defaultConfig:()=>me.flowchart,setAccTitle:ye,getAccTitle:ve,getAccDescription:Ve,setAccDescription:Le,addVertex:Ht,lookUpDomId:P1,addLink:Wt,updateLinkInterpolate:Qt,updateLink:Zt,addClass:Jt,setDirection:$t,setClass:rt,setTooltip:Pe,getTooltip:ee,setClickEvent:se,setLink:te,bindFunctions:ue,getDirection:ie,getVertices:re,getEdges:ne,getClasses:ae,clear:oe,setGen:le,defaultStyle:he,addSubGraph:fe,getDepthFirstPos:de,indexNodes:Ee,getSubGraphs:ke,destructLink:ge,lex:Te,exists:De,makeUniq:Fe,setDiagramTitle:Ie,getDiagramTitle:Re},He=Object.freeze(Object.defineProperty({__proto__:null,addClass:Jt,addLink:Wt,addSingleLink:qt,addSubGraph:fe,addVertex:Ht,bindFunctions:ue,clear:oe,default:je,defaultStyle:he,destructLink:ge,firstGraph:be,getClasses:ae,getDepthFirstPos:de,getDirection:ie,getEdges:ne,getSubGraphs:ke,getTooltip:ee,getVertices:re,indexNodes:Ee,lex:Te,lookUpDomId:P1,setClass:rt,setClickEvent:se,setDirection:$t,setGen:le,setLink:te,updateLink:Zt,updateLinkInterpolate:Qt},Symbol.toStringTag,{value:"Module"}));export{He as d,je as f,Xe as p}; diff --git a/assets/flowDiagram-d949d7c1-FhTH9wIP.js b/assets/flowDiagram-d949d7c1-FhTH9wIP.js new file mode 100644 index 00000000000..883ee61cfea --- /dev/null +++ b/assets/flowDiagram-d949d7c1-FhTH9wIP.js @@ -0,0 +1,4 @@ +import{p as St,f as W}from"./flowDb-d35e309a-9jgYoDxp.js";import{h as S,f as tt,G as Lt}from"./graph-sxtH378E.js";import{h as x,Y as P,W as z,t as et,c as J,j as rt,l as R,X as V,V as Et}from"./mermaid.core-wTs8WatG.js";import{u as _t,r as Tt,p as Nt,l as At,d as M}from"./layout-NmVD1Bdh.js";import{b as N,c as at,i as nt,d as _,e as st,g as it,f as Ct,a as It,s as Bt}from"./styles-7383a064-uYdOnhj8.js";import{l as Mt}from"./line-NZ5yCA7P.js";import"./request-bY2SEZNN.js";import"./index-ZXl4th35.js";import"./index-8fae9850-9Qn4OyWZ.js";import"./clone-EVmACGI0.js";import"./edges-d417c7a0-ff79nGD3.js";import"./createText-423428c9-K2AvnXL1.js";import"./index.demo-Ru9opRL4.js";import"./index-ISduWuPC.js";import"./FormInput-i0fsPScC.js";import"./viewport-l4O6ZIBM.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./LinkCard-AonZnIUQ.js";import"./image-fdtjzFNr.js";import"./provider-XKwIHqOQ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./use-is-client-6Iy0halI.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./lodash-lrAbnKsZ.js";import"./use-is-dark-IiysOCcN.js";import"./Gallery-QJ8JjQGt.js";import"./alert-fERsLyJJ.js";import"./FloatPopover-3waN72gb.js";import"./SocialSourceLink-Fjgxzjol.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";import"./index-HwaUk8nX.js";import"./CodeEditor-AByBrAxP.js";import"./index-D4F-WjWJ.js";import"./Mermaid-gWIn58QC.js";import"./Form-kbLn7dW2.js";import"./channel-OM_5qmCK.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";function Dt(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function Rt(r,e){return fetch(r,e).then(Dt)}function Gt(r){return(e,t)=>Rt(e,t).then(n=>new DOMParser().parseFromString(n,r))}var Pt=Gt("image/svg+xml"),Y={normal:$t,vee:Wt,undirected:Vt};function Ut(r){Y=r}function $t(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Wt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Vt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function zt(r,e){var t=r;return t.node().appendChild(e.label),N(t,e.labelStyle),t}function Yt(r,e){for(var t=r.append("text"),n=Xt(e.label).split(` +`),a=0;a0}function T(r,e,t){var n=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;e.forEach(function(f){i=Math.min(i,f.x),o=Math.min(o,f.y)});for(var c=n-r.width/2-i,d=a-r.height/2-o,l=0;l1&&s.sort(function(f,g){var p=f.x-t.x,y=f.y-t.y,k=Math.sqrt(p*p+y*y),I=g.x-t.x,E=g.y-t.y,U=Math.sqrt(I*I+E*E);return kMath.abs(a)*o?(s<0&&(o=-o),c=s===0?0:o*a/s,d=o):(a<0&&(i=-i),c=i,d=a===0?0:i*s/a),{x:t+c,y:n+d}}var Q={rect:ie,ellipse:oe,circle:le,diamond:ce};function se(r){Q=r}function ie(r,e,t){var n=r.insert("rect",":first-child").attr("rx",t.rx).attr("ry",t.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return t.intersect=function(a){return Z(t,a)},n}function oe(r,e,t){var n=e.width/2,a=e.height/2,s=r.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",n).attr("ry",a);return t.intersect=function(i){return lt(t,n,a,i)},s}function le(r,e,t){var n=Math.max(e.width,e.height)/2,a=r.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",n);return t.intersect=function(s){return ae(t,n,s)},a}function ce(r,e,t){var n=e.width*Math.SQRT2/2,a=e.height*Math.SQRT2/2,s=[{x:0,y:-a},{x:-n,y:0},{x:0,y:a},{x:n,y:0}],i=r.insert("polygon",":first-child").attr("points",s.map(function(o){return o.x+","+o.y}).join(" "));return t.intersect=function(o){return T(t,s,o)},i}function de(){var r=function(e,t){pe(t);var n=D(e,"output"),a=D(n,"clusters"),s=D(n,"edgePaths"),i=H(D(n,"edgeLabels"),t),o=q(D(n,"nodes"),t,Q);At(t),re(o,t),ee(i,t),F(s,t,Y);var c=X(a,t);te(c,t),fe(t)};return r.createNodes=function(e){return arguments.length?(jt(e),r):q},r.createClusters=function(e){return arguments.length?(Ht(e),r):X},r.createEdgeLabels=function(e){return arguments.length?(Ft(e),r):H},r.createEdgePaths=function(e){return arguments.length?(qt(e),r):F},r.shapes=function(e){return arguments.length?(se(e),r):Q},r.arrows=function(e){return arguments.length?(Ut(e),r):Y},r}var he={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},ue={arrowhead:"normal",curve:P};function pe(r){r.nodes().forEach(function(e){var t=r.node(e);!S(t,"label")&&!r.children(e).length&&(t.label=e),S(t,"paddingX")&&M(t,{paddingLeft:t.paddingX,paddingRight:t.paddingX}),S(t,"paddingY")&&M(t,{paddingTop:t.paddingY,paddingBottom:t.paddingY}),S(t,"padding")&&M(t,{paddingLeft:t.padding,paddingRight:t.padding,paddingTop:t.padding,paddingBottom:t.padding}),M(t,he),tt(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(n){t[n]=Number(t[n])}),S(t,"width")&&(t._prevWidth=t.width),S(t,"height")&&(t._prevHeight=t.height)}),r.edges().forEach(function(e){var t=r.edge(e);S(t,"label")||(t.label=""),M(t,ue)})}function fe(r){tt(r.nodes(),function(e){var t=r.node(e);S(t,"_prevWidth")?t.width=t._prevWidth:delete t.width,S(t,"_prevHeight")?t.height=t._prevHeight:delete t.height,delete t._prevWidth,delete t._prevHeight})}function D(r,e){var t=r.select("g."+e);return t.empty()&&(t=r.append("g").attr("class",e)),t}function ct(r,e,t){const n=e.width,a=e.height,s=(n+a)*.9,i=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}],o=A(r,s,s,i);return t.intersect=function(c){return T(t,i,c)},o}function dt(r,e,t){const a=e.height,s=a/4,i=e.width+2*s,o=[{x:s,y:0},{x:i-s,y:0},{x:i,y:-a/2},{x:i-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],c=A(r,i,a,o);return t.intersect=function(d){return T(t,o,d)},c}function ht(r,e,t){const n=e.width,a=e.height,s=[{x:-a/2,y:0},{x:n,y:0},{x:n,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ut(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function pt(r,e,t){const n=e.width,a=e.height,s=[{x:2*a/6,y:0},{x:n+a/6,y:0},{x:n-2*a/6,y:-a},{x:-a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ft(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n+2*a/6,y:0},{x:n-a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function vt(r,e,t){const n=e.width,a=e.height,s=[{x:a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:-2*a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function yt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n+a/2,y:0},{x:n,y:-a/2},{x:n+a/2,y:-a},{x:0,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function gt(r,e,t){const n=e.height,a=e.width+n/4,s=r.insert("rect",":first-child").attr("rx",n/2).attr("ry",n/2).attr("x",-a/2).attr("y",-n/2).attr("width",a).attr("height",n);return t.intersect=function(i){return Z(t,i)},s}function mt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function wt(r,e,t){const n=e.width,a=n/2,s=a/(2.5+n/50),i=e.height+s,o="M 0,"+s+" a "+a+","+s+" 0,0,0 "+n+" 0 a "+a+","+s+" 0,0,0 "+-n+" 0 l 0,"+i+" a "+a+","+s+" 0,0,0 "+n+" 0 l 0,"+-i,c=r.attr("label-offset-y",s).insert("path",":first-child").attr("d",o).attr("transform","translate("+-n/2+","+-(i/2+s)+")");return t.intersect=function(d){const l=Z(t,d),v=l.x-t.x;if(a!=0&&(Math.abs(v)t.height/2-s)){let h=s*s*(1-v*v/(a*a));h!=0&&(h=Math.sqrt(h)),h=s-h,d.y-t.y>0&&(h=-h),l.y+=h}return l},c}function ve(r){r.shapes().question=ct,r.shapes().hexagon=dt,r.shapes().stadium=gt,r.shapes().subroutine=mt,r.shapes().cylinder=wt,r.shapes().rect_left_inv_arrow=ht,r.shapes().lean_right=ut,r.shapes().lean_left=pt,r.shapes().trapezoid=ft,r.shapes().inv_trapezoid=vt,r.shapes().rect_right_inv_arrow=yt}function ye(r){r({question:ct}),r({hexagon:dt}),r({stadium:gt}),r({subroutine:mt}),r({cylinder:wt}),r({rect_left_inv_arrow:ht}),r({lean_right:ut}),r({lean_left:pt}),r({trapezoid:ft}),r({inv_trapezoid:vt}),r({rect_right_inv_arrow:yt})}function A(r,e,t,n){return r.insert("polygon",":first-child").attr("points",n.map(function(a){return a.x+","+a.y}).join(" ")).attr("transform","translate("+-e/2+","+t/2+")")}const ge={addToRender:ve,addToRenderV2:ye},xt={},me=function(r){const e=Object.keys(r);for(const t of e)xt[t]=r[t]},bt=function(r,e,t,n,a,s){const i=n?n.select(`[id="${t}"]`):x(`[id="${t}"]`),o=a||document;Object.keys(r).forEach(function(d){const l=r[d];let v="default";l.classes.length>0&&(v=l.classes.join(" "));const h=z(l.styles);let u=l.text!==void 0?l.text:l.id,f;if(et(J().flowchart.htmlLabels)){const y={label:u.replace(/fa[blrs]?:fa-[\w-]+/g,k=>``)};f=at(i,y).node(),f.parentNode.removeChild(f)}else{const y=o.createElementNS("http://www.w3.org/2000/svg","text");y.setAttribute("style",h.labelStyle.replace("color:","fill:"));const k=u.split(rt.lineBreakRegex);for(const I of k){const E=o.createElementNS("http://www.w3.org/2000/svg","tspan");E.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),E.setAttribute("dy","1em"),E.setAttribute("x","1"),E.textContent=I,y.appendChild(E)}f=y}let g=0,p="";switch(l.type){case"round":g=5,p="rect";break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"odd_right":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;default:p="rect"}R.warn("Adding node",l.id,l.domId),e.setNode(s.db.lookUpDomId(l.id),{labelType:"svg",labelStyle:h.labelStyle,shape:p,label:f,rx:g,ry:g,class:v,style:h.style,id:s.db.lookUpDomId(l.id)})})},kt=function(r,e,t){let n=0,a,s;if(r.defaultStyle!==void 0){const i=z(r.defaultStyle);a=i.style,s=i.labelStyle}r.forEach(function(i){n++;const o="L-"+i.start+"-"+i.end,c="LS-"+i.start,d="LE-"+i.end,l={};i.type==="arrow_open"?l.arrowhead="none":l.arrowhead="normal";let v="",h="";if(i.style!==void 0){const u=z(i.style);v=u.style,h=u.labelStyle}else switch(i.stroke){case"normal":v="fill:none",a!==void 0&&(v=a),s!==void 0&&(h=s);break;case"dotted":v="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v=" stroke-width: 3.5px;fill:none";break}l.style=v,l.labelStyle=h,i.interpolate!==void 0?l.curve=V(i.interpolate,P):r.defaultInterpolate!==void 0?l.curve=V(r.defaultInterpolate,P):l.curve=V(xt.curve,P),i.text===void 0?i.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",et(J().flowchart.htmlLabels)?(l.labelType="html",l.label=`${i.text.replace(/fa[blrs]?:fa-[\w-]+/g,u=>``)}`):(l.labelType="text",l.label=i.text.replace(rt.lineBreakRegex,` +`),i.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=o,l.class=c+" "+d,l.minlen=i.length||1,e.setEdge(t.db.lookUpDomId(i.start),t.db.lookUpDomId(i.end),l,n)})},we=function(r,e){return R.info("Extracting classes"),e.db.getClasses()},xe=function(r,e,t,n){R.info("Drawing flowchart");const{securityLevel:a,flowchart:s}=J();let i;a==="sandbox"&&(i=x("#i"+e));const o=a==="sandbox"?x(i.nodes()[0].contentDocument.body):x("body"),c=a==="sandbox"?i.nodes()[0].contentDocument:document;let d=n.db.getDirection();d===void 0&&(d="TD");const l=s.nodeSpacing||50,v=s.rankSpacing||50,h=new Lt({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:l,ranksep:v,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let u;const f=n.db.getSubGraphs();for(let m=f.length-1;m>=0;m--)u=f[m],n.db.addVertex(u.id,u.title,"group",void 0,u.classes);const g=n.db.getVertices();R.warn("Get vertices",g);const p=n.db.getEdges();let y=0;for(y=f.length-1;y>=0;y--){u=f[y],Bt("cluster").append("text");for(let m=0;m{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,be.setConf(r.flowchart),W.clear(),W.setGen("gen-1")}};export{yr as diagram}; diff --git a/assets/flowDiagram-v2-49332944-bbCeKMG1.js b/assets/flowDiagram-v2-49332944-bbCeKMG1.js new file mode 100644 index 00000000000..0b87956738f --- /dev/null +++ b/assets/flowDiagram-v2-49332944-bbCeKMG1.js @@ -0,0 +1 @@ +import{p as i,f as o}from"./flowDb-d35e309a-9jgYoDxp.js";import{f as t,a as m}from"./styles-7383a064-uYdOnhj8.js";import{y as p}from"./mermaid.core-wTs8WatG.js";import"./graph-sxtH378E.js";import"./layout-NmVD1Bdh.js";import"./request-bY2SEZNN.js";import"./index-8fae9850-9Qn4OyWZ.js";import"./clone-EVmACGI0.js";import"./edges-d417c7a0-ff79nGD3.js";import"./createText-423428c9-K2AvnXL1.js";import"./index.demo-Ru9opRL4.js";import"./index-ZXl4th35.js";import"./index-ISduWuPC.js";import"./FormInput-i0fsPScC.js";import"./viewport-l4O6ZIBM.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./LinkCard-AonZnIUQ.js";import"./image-fdtjzFNr.js";import"./provider-XKwIHqOQ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./use-is-client-6Iy0halI.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./lodash-lrAbnKsZ.js";import"./use-is-dark-IiysOCcN.js";import"./Gallery-QJ8JjQGt.js";import"./alert-fERsLyJJ.js";import"./FloatPopover-3waN72gb.js";import"./SocialSourceLink-Fjgxzjol.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";import"./index-HwaUk8nX.js";import"./CodeEditor-AByBrAxP.js";import"./index-D4F-WjWJ.js";import"./Mermaid-gWIn58QC.js";import"./Form-kbLn7dW2.js";import"./line-NZ5yCA7P.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";import"./channel-OM_5qmCK.js";const rr={parser:i,db:o,renderer:t,styles:m,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,p({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{rr as diagram}; diff --git a/assets/flowchart-elk-definition-27cc417a-5Xo4tK2O.js b/assets/flowchart-elk-definition-27cc417a-5Xo4tK2O.js new file mode 100644 index 00000000000..091e4bc6f60 --- /dev/null +++ b/assets/flowchart-elk-definition-27cc417a-5Xo4tK2O.js @@ -0,0 +1,139 @@ +import{d as xNe,p as FNe}from"./flowDb-d35e309a-9jgYoDxp.js";import{l as Ra,h as IO,a3 as $U,V as BNe,W as j0n,X as y0n,Y as NU,j as RNe}from"./mermaid.core-wTs8WatG.js";import{i as KNe,c as _Ne,l as HNe,b as qNe,k as UNe,m as GNe}from"./edges-d417c7a0-ff79nGD3.js";import{c as Nse,g as zNe}from"./index-ZXl4th35.js";import"./request-bY2SEZNN.js";import{l as XNe}from"./line-NZ5yCA7P.js";import"./createText-423428c9-K2AvnXL1.js";import"./index.demo-Ru9opRL4.js";import"./index-ISduWuPC.js";import"./FormInput-i0fsPScC.js";import"./viewport-l4O6ZIBM.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./LinkCard-AonZnIUQ.js";import"./image-fdtjzFNr.js";import"./provider-XKwIHqOQ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./use-is-client-6Iy0halI.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./lodash-lrAbnKsZ.js";import"./use-is-dark-IiysOCcN.js";import"./Gallery-QJ8JjQGt.js";import"./alert-fERsLyJJ.js";import"./FloatPopover-3waN72gb.js";import"./SocialSourceLink-Fjgxzjol.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";import"./index-HwaUk8nX.js";import"./CodeEditor-AByBrAxP.js";import"./index-D4F-WjWJ.js";import"./Mermaid-gWIn58QC.js";import"./Form-kbLn7dW2.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";function LU(ct){throw new Error('Could not dynamically require "'+ct+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Bse={exports:{}};(function(ct,_t){(function(Xt){ct.exports=Xt()})(function(){return function(){function Xt(gt,Sr,Di){function y(Ht,Jt){if(!Sr[Ht]){if(!gt[Ht]){var Xe=typeof LU=="function"&&LU;if(!Jt&&Xe)return Xe(Ht,!0);if(Wt)return Wt(Ht,!0);var Yi=new Error("Cannot find module '"+Ht+"'");throw Yi.code="MODULE_NOT_FOUND",Yi}var Ri=Sr[Ht]={exports:{}};gt[Ht][0].call(Ri.exports,function(En){var hu=gt[Ht][1][En];return y(hu||En)},Ri,Ri.exports,Xt,gt,Sr,Di)}return Sr[Ht].exports}for(var Wt=typeof LU=="function"&&LU,Bu=0;Bu0&&arguments[0]!==void 0?arguments[0]:{},Yi=Xe.defaultLayoutOptions,Ri=Yi===void 0?{}:Yi,En=Xe.algorithms,hu=En===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:En,Qc=Xe.workerFactory,Ru=Xe.workerUrl;if(y(this,Ht),this.defaultLayoutOptions=Ri,this.initialized=!1,typeof Ru>"u"&&typeof Qc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Pr=Qc;typeof Ru<"u"&&typeof Qc>"u"&&(Pr=function(N1){return new Worker(N1)});var Mf=Pr(Ru);if(typeof Mf.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new Bu(Mf),this.worker.postMessage({cmd:"register",algorithms:hu}).then(function(L1){return Jt.initialized=!0}).catch(console.err)}return Di(Ht,[{key:"layout",value:function(Xe){var Yi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ri=Yi.layoutOptions,En=Ri===void 0?this.defaultLayoutOptions:Ri,hu=Yi.logging,Qc=hu===void 0?!1:hu,Ru=Yi.measureExecutionTime,Pr=Ru===void 0?!1:Ru;return Xe?this.worker.postMessage({cmd:"layout",graph:Xe,layoutOptions:En,options:{logging:Qc,measureExecutionTime:Pr}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),Ht}();Sr.default=Wt;var Bu=function(){function Ht(Jt){var Xe=this;if(y(this,Ht),Jt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=Jt,this.worker.onmessage=function(Yi){setTimeout(function(){Xe.receive(Xe,Yi)},0)}}return Di(Ht,[{key:"postMessage",value:function(Xe){var Yi=this.id||0;this.id=Yi+1,Xe.id=Yi;var Ri=this;return new Promise(function(En,hu){Ri.resolvers[Yi]=function(Qc,Ru){Qc?(Ri.convertGwtStyleError(Qc),hu(Qc)):En(Ru)},Ri.worker.postMessage(Xe)})}},{key:"receive",value:function(Xe,Yi){var Ri=Yi.data,En=Xe.resolvers[Ri.id];En&&(delete Xe.resolvers[Ri.id],Ri.error?En(Ri.error):En(null,Ri.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Xe){if(Xe){var Yi=Xe.__java$exception;Yi&&(Yi.cause&&Yi.cause.backingJsObject&&(Xe.cause=Yi.cause.backingJsObject,this.convertGwtStyleError(Xe.cause)),delete Xe.__java$exception)}}}]),Ht}()},{}],2:[function(Xt,gt,Sr){(function(Di){(function(){var y;typeof window<"u"?y=window:typeof Di<"u"?y=Di:typeof self<"u"&&(y=self);var Wt;function Bu(){}function Ht(){}function Jt(){}function Xe(){}function Yi(){}function Ri(){}function En(){}function hu(){}function Qc(){}function Ru(){}function Pr(){}function Mf(){}function L1(){}function N1(){}function og(){}function X3(){}function $1(){}function ul(){}function E0n(){}function C0n(){}function Q2(){}function F(){}function M0n(){}function pE(){}function T0n(){}function A0n(){}function S0n(){}function P0n(){}function I0n(){}function xU(){}function O0n(){}function D0n(){}function L0n(){}function OO(){}function N0n(){}function $0n(){}function x0n(){}function DO(){}function F0n(){}function B0n(){}function FU(){}function R0n(){}function K0n(){}function yu(){}function ju(){}function Y2(){}function Z2(){}function _0n(){}function H0n(){}function q0n(){}function U0n(){}function BU(){}function Eu(){}function np(){}function ep(){}function G0n(){}function z0n(){}function LO(){}function X0n(){}function V0n(){}function W0n(){}function J0n(){}function Q0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function ibn(){}function rbn(){}function cbn(){}function ubn(){}function obn(){}function sbn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function pbn(){}function mbn(){}function vbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Cbn(){}function Mbn(){}function RU(){}function Tbn(){}function Abn(){}function Sbn(){}function Pbn(){}function NO(){}function $O(){}function mE(){}function Ibn(){}function Obn(){}function xO(){}function Dbn(){}function Lbn(){}function Nbn(){}function vE(){}function $bn(){}function xbn(){}function Fbn(){}function Bbn(){}function Rbn(){}function Kbn(){}function _bn(){}function Hbn(){}function qbn(){}function KU(){}function Ubn(){}function Gbn(){}function _U(){}function zbn(){}function Xbn(){}function Vbn(){}function Wbn(){}function Jbn(){}function Qbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function FO(){}function cwn(){}function uwn(){}function own(){}function swn(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function dwn(){}function HU(){}function qU(){}function bwn(){}function wwn(){}function gwn(){}function pwn(){}function mwn(){}function vwn(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Cwn(){}function Mwn(){}function Twn(){}function Awn(){}function Swn(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function Lwn(){}function Nwn(){}function $wn(){}function xwn(){}function Fwn(){}function Bwn(){}function Rwn(){}function Kwn(){}function _wn(){}function Hwn(){}function qwn(){}function Uwn(){}function Gwn(){}function zwn(){}function Xwn(){}function Vwn(){}function Wwn(){}function Jwn(){}function Qwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function ogn(){}function sgn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function pgn(){}function mgn(){}function vgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Cgn(){}function Mgn(){}function Tgn(){}function Agn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function Lgn(){}function Ngn(){}function $gn(){}function xgn(){}function Fgn(){}function Bgn(){}function Rgn(){}function Kgn(){}function _gn(){}function Hgn(){}function qgn(){}function Ugn(){}function Ggn(){}function zgn(){}function Xgn(){}function Vgn(){}function Wgn(){}function Jgn(){}function Qgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function i2n(){}function r2n(){}function c2n(){}function UU(){}function u2n(){}function o2n(){}function s2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function p2n(){}function m2n(){}function v2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function C2n(){}function M2n(){}function T2n(){}function A2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function L2n(){}function N2n(){}function $2n(){}function x2n(){}function F2n(){}function B2n(){}function R2n(){}function K2n(){}function _2n(){}function H2n(){}function q2n(){}function U2n(){}function G2n(){}function z2n(){}function X2n(){}function V2n(){}function W2n(){}function J2n(){}function Q2n(){}function Y2n(){}function Z2n(){}function npn(){}function epn(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function opn(){}function spn(){}function fpn(){}function hpn(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function ppn(){}function mpn(){}function vpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Cpn(){}function GU(){}function Mpn(){}function Tpn(){}function Apn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function Lpn(){}function Npn(){}function zU(){}function $pn(){}function xpn(){}function Fpn(){}function Bpn(){}function Rpn(){}function Kpn(){}function XU(){}function VU(){}function _pn(){}function WU(){}function JU(){}function Hpn(){}function qpn(){}function Upn(){}function Gpn(){}function zpn(){}function Xpn(){}function Vpn(){}function Wpn(){}function Jpn(){}function Qpn(){}function Ypn(){}function QU(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function o3n(){}function s3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function p3n(){}function m3n(){}function v3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function C3n(){}function M3n(){}function T3n(){}function A3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function D3n(){}function L3n(){}function N3n(){}function $3n(){}function x3n(){}function F3n(){}function B3n(){}function R3n(){}function K3n(){}function _3n(){}function H3n(){}function q3n(){}function U3n(){}function G3n(){}function z3n(){}function X3n(){}function V3n(){}function W3n(){}function J3n(){}function Q3n(){}function Y3n(){}function Z3n(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function r4n(){}function c4n(){}function u4n(){}function o4n(){}function s4n(){}function f4n(){}function h4n(){}function l4n(){}function a4n(){}function d4n(){}function b4n(){}function w4n(){}function g4n(){}function p4n(){}function m4n(){}function v4n(){}function k4n(){}function y4n(){}function j4n(){}function E4n(){}function C4n(){}function M4n(){}function T4n(){}function A4n(){}function S4n(){}function P4n(){}function I4n(){}function _se(){}function O4n(){}function D4n(){}function L4n(){}function N4n(){}function $4n(){}function x4n(){}function F4n(){}function B4n(){}function R4n(){}function K4n(){}function _4n(){}function H4n(){}function q4n(){}function U4n(){}function G4n(){}function z4n(){}function X4n(){}function V4n(){}function W4n(){}function J4n(){}function Q4n(){}function Y4n(){}function Z4n(){}function nmn(){}function emn(){}function tmn(){}function imn(){}function BO(){}function RO(){}function rmn(){}function KO(){}function cmn(){}function umn(){}function omn(){}function smn(){}function fmn(){}function hmn(){}function lmn(){}function amn(){}function dmn(){}function bmn(){}function YU(){}function wmn(){}function gmn(){}function pmn(){}function Hse(){}function mmn(){}function vmn(){}function kmn(){}function ymn(){}function jmn(){}function Emn(){}function Cmn(){}function Ka(){}function Mmn(){}function tp(){}function ZU(){}function Tmn(){}function Amn(){}function Smn(){}function Pmn(){}function Imn(){}function Omn(){}function Dmn(){}function Lmn(){}function Nmn(){}function $mn(){}function xmn(){}function Fmn(){}function Bmn(){}function Rmn(){}function Kmn(){}function _mn(){}function Hmn(){}function qmn(){}function Umn(){}function hn(){}function Gmn(){}function zmn(){}function Xmn(){}function Vmn(){}function Wmn(){}function Jmn(){}function Qmn(){}function Ymn(){}function Zmn(){}function nvn(){}function evn(){}function tvn(){}function ivn(){}function _O(){}function rvn(){}function cvn(){}function uvn(){}function kE(){}function ovn(){}function HO(){}function yE(){}function svn(){}function nG(){}function fvn(){}function hvn(){}function lvn(){}function avn(){}function dvn(){}function bvn(){}function jE(){}function wvn(){}function gvn(){}function EE(){}function pvn(){}function CE(){}function mvn(){}function eG(){}function vvn(){}function qO(){}function tG(){}function kvn(){}function yvn(){}function jvn(){}function Evn(){}function qse(){}function Cvn(){}function Mvn(){}function Tvn(){}function Avn(){}function Svn(){}function Pvn(){}function Ivn(){}function Ovn(){}function Dvn(){}function Lvn(){}function V3(){}function UO(){}function Nvn(){}function $vn(){}function xvn(){}function Fvn(){}function Bvn(){}function Rvn(){}function Kvn(){}function _vn(){}function Hvn(){}function qvn(){}function Uvn(){}function Gvn(){}function zvn(){}function Xvn(){}function Vvn(){}function Wvn(){}function Jvn(){}function Qvn(){}function Yvn(){}function Zvn(){}function n6n(){}function e6n(){}function t6n(){}function i6n(){}function r6n(){}function c6n(){}function u6n(){}function o6n(){}function s6n(){}function f6n(){}function h6n(){}function l6n(){}function a6n(){}function d6n(){}function b6n(){}function w6n(){}function g6n(){}function p6n(){}function m6n(){}function v6n(){}function k6n(){}function y6n(){}function j6n(){}function E6n(){}function C6n(){}function M6n(){}function T6n(){}function A6n(){}function S6n(){}function P6n(){}function I6n(){}function O6n(){}function D6n(){}function L6n(){}function N6n(){}function $6n(){}function x6n(){}function F6n(){}function B6n(){}function R6n(){}function K6n(){}function _6n(){}function H6n(){}function q6n(){}function U6n(){}function G6n(){}function z6n(){}function X6n(){}function V6n(){}function W6n(){}function J6n(){}function Q6n(){}function Y6n(){}function Z6n(){}function n5n(){}function e5n(){}function t5n(){}function i5n(){}function r5n(){}function c5n(){}function u5n(){}function o5n(){}function s5n(){}function f5n(){}function h5n(){}function l5n(){}function a5n(){}function d5n(){}function b5n(){}function w5n(){}function g5n(){}function p5n(){}function m5n(){}function v5n(){}function k5n(){}function y5n(){}function j5n(){}function E5n(){}function C5n(){}function M5n(){}function T5n(){}function iG(){}function A5n(){}function S5n(){}function GO(){Qv()}function P5n(){r7()}function I5n(){aA()}function O5n(){Q$()}function D5n(){j5()}function L5n(){lnn()}function N5n(){Us()}function $5n(){yZ()}function x5n(){qk()}function F5n(){c7()}function B5n(){L7()}function R5n(){lCn()}function K5n(){Hp()}function _5n(){RLn()}function H5n(){kQ()}function q5n(){AOn()}function U5n(){yQ()}function G5n(){gNn()}function z5n(){TOn()}function X5n(){rm()}function V5n(){Z$n()}function W5n(){Y$n()}function J5n(){jDn()}function Q5n(){nxn()}function Y5n(){ua()}function Z5n(){YE()}function n8n(){ftn()}function e8n(){cn()}function t8n(){exn()}function i8n(){Sxn()}function r8n(){SOn()}function c8n(){ZRn()}function u8n(){POn()}function o8n(){bUn()}function s8n(){_nn()}function f8n(){kl()}function h8n(){bBn()}function l8n(){lc()}function a8n(){BOn()}function d8n(){_p()}function b8n(){Een()}function w8n(){oa()}function g8n(){Cen()}function p8n(){Rf()}function m8n(){Vk()}function v8n(){EF()}function k8n(){Dx()}function uf(){bSn()}function y8n(){YM()}function j8n(){mA()}function rG(){He()}function E8n(){NT()}function C8n(){QY()}function cG(){D$()}function uG(){KA()}function M8n(){$en()}function oG(n){Jn(n)}function T8n(n){this.a=n}function ME(n){this.a=n}function A8n(n){this.a=n}function S8n(n){this.a=n}function P8n(n){this.a=n}function I8n(n){this.a=n}function O8n(n){this.a=n}function D8n(n){this.a=n}function sG(n){this.a=n}function fG(n){this.a=n}function L8n(n){this.a=n}function N8n(n){this.a=n}function zO(n){this.a=n}function $8n(n){this.a=n}function x8n(n){this.a=n}function XO(n){this.a=n}function VO(n){this.a=n}function F8n(n){this.a=n}function WO(n){this.a=n}function B8n(n){this.a=n}function R8n(n){this.a=n}function K8n(n){this.a=n}function hG(n){this.b=n}function _8n(n){this.c=n}function H8n(n){this.a=n}function q8n(n){this.a=n}function U8n(n){this.a=n}function G8n(n){this.a=n}function z8n(n){this.a=n}function X8n(n){this.a=n}function V8n(n){this.a=n}function W8n(n){this.a=n}function J8n(n){this.a=n}function Q8n(n){this.a=n}function Y8n(n){this.a=n}function Z8n(n){this.a=n}function n9n(n){this.a=n}function lG(n){this.a=n}function aG(n){this.a=n}function TE(n){this.a=n}function q9(n){this.a=n}function _a(){this.a=[]}function e9n(n,e){n.a=e}function Use(n,e){n.a=e}function Gse(n,e){n.b=e}function zse(n,e){n.b=e}function Xse(n,e){n.b=e}function dG(n,e){n.j=e}function Vse(n,e){n.g=e}function Wse(n,e){n.i=e}function Jse(n,e){n.c=e}function Qse(n,e){n.c=e}function Yse(n,e){n.d=e}function Zse(n,e){n.d=e}function Ha(n,e){n.k=e}function nfe(n,e){n.c=e}function bG(n,e){n.c=e}function wG(n,e){n.a=e}function efe(n,e){n.a=e}function tfe(n,e){n.f=e}function ife(n,e){n.a=e}function rfe(n,e){n.b=e}function JO(n,e){n.d=e}function AE(n,e){n.i=e}function gG(n,e){n.o=e}function cfe(n,e){n.r=e}function ufe(n,e){n.a=e}function ofe(n,e){n.b=e}function t9n(n,e){n.e=e}function sfe(n,e){n.f=e}function pG(n,e){n.g=e}function ffe(n,e){n.e=e}function hfe(n,e){n.f=e}function lfe(n,e){n.f=e}function QO(n,e){n.a=e}function YO(n,e){n.b=e}function afe(n,e){n.n=e}function dfe(n,e){n.a=e}function bfe(n,e){n.c=e}function wfe(n,e){n.c=e}function gfe(n,e){n.c=e}function pfe(n,e){n.a=e}function mfe(n,e){n.a=e}function vfe(n,e){n.d=e}function kfe(n,e){n.d=e}function yfe(n,e){n.e=e}function jfe(n,e){n.e=e}function Efe(n,e){n.g=e}function Cfe(n,e){n.f=e}function Mfe(n,e){n.j=e}function Tfe(n,e){n.a=e}function Afe(n,e){n.a=e}function Sfe(n,e){n.b=e}function i9n(n){n.b=n.a}function r9n(n){n.c=n.d.d}function mG(n){this.a=n}function vG(n){this.a=n}function kG(n){this.a=n}function qa(n){this.a=n}function Ua(n){this.a=n}function U9(n){this.a=n}function c9n(n){this.a=n}function yG(n){this.a=n}function G9(n){this.a=n}function SE(n){this.a=n}function ol(n){this.a=n}function Tb(n){this.a=n}function u9n(n){this.a=n}function o9n(n){this.a=n}function ZO(n){this.b=n}function W3(n){this.b=n}function J3(n){this.b=n}function nD(n){this.a=n}function s9n(n){this.a=n}function eD(n){this.c=n}function C(n){this.c=n}function f9n(n){this.c=n}function Gv(n){this.d=n}function jG(n){this.a=n}function Te(n){this.a=n}function h9n(n){this.a=n}function EG(n){this.a=n}function CG(n){this.a=n}function MG(n){this.a=n}function TG(n){this.a=n}function AG(n){this.a=n}function SG(n){this.a=n}function Q3(n){this.a=n}function l9n(n){this.a=n}function a9n(n){this.a=n}function Y3(n){this.a=n}function d9n(n){this.a=n}function b9n(n){this.a=n}function w9n(n){this.a=n}function g9n(n){this.a=n}function p9n(n){this.a=n}function m9n(n){this.a=n}function v9n(n){this.a=n}function k9n(n){this.a=n}function y9n(n){this.a=n}function j9n(n){this.a=n}function E9n(n){this.a=n}function C9n(n){this.a=n}function M9n(n){this.a=n}function T9n(n){this.a=n}function A9n(n){this.a=n}function z9(n){this.a=n}function S9n(n){this.a=n}function P9n(n){this.a=n}function I9n(n){this.a=n}function O9n(n){this.a=n}function PE(n){this.a=n}function D9n(n){this.a=n}function L9n(n){this.a=n}function Z3(n){this.a=n}function PG(n){this.a=n}function N9n(n){this.a=n}function $9n(n){this.a=n}function x9n(n){this.a=n}function F9n(n){this.a=n}function B9n(n){this.a=n}function R9n(n){this.a=n}function IG(n){this.a=n}function OG(n){this.a=n}function DG(n){this.a=n}function zv(n){this.a=n}function IE(n){this.e=n}function n4(n){this.a=n}function K9n(n){this.a=n}function ip(n){this.a=n}function LG(n){this.a=n}function _9n(n){this.a=n}function H9n(n){this.a=n}function q9n(n){this.a=n}function U9n(n){this.a=n}function G9n(n){this.a=n}function z9n(n){this.a=n}function X9n(n){this.a=n}function V9n(n){this.a=n}function W9n(n){this.a=n}function J9n(n){this.a=n}function Q9n(n){this.a=n}function NG(n){this.a=n}function Y9n(n){this.a=n}function Z9n(n){this.a=n}function n7n(n){this.a=n}function e7n(n){this.a=n}function t7n(n){this.a=n}function i7n(n){this.a=n}function r7n(n){this.a=n}function c7n(n){this.a=n}function u7n(n){this.a=n}function o7n(n){this.a=n}function s7n(n){this.a=n}function f7n(n){this.a=n}function h7n(n){this.a=n}function l7n(n){this.a=n}function a7n(n){this.a=n}function d7n(n){this.a=n}function b7n(n){this.a=n}function w7n(n){this.a=n}function g7n(n){this.a=n}function p7n(n){this.a=n}function m7n(n){this.a=n}function v7n(n){this.a=n}function k7n(n){this.a=n}function y7n(n){this.a=n}function j7n(n){this.a=n}function E7n(n){this.a=n}function C7n(n){this.a=n}function M7n(n){this.a=n}function T7n(n){this.a=n}function A7n(n){this.a=n}function S7n(n){this.a=n}function P7n(n){this.a=n}function I7n(n){this.a=n}function O7n(n){this.a=n}function D7n(n){this.a=n}function L7n(n){this.a=n}function N7n(n){this.a=n}function $7n(n){this.a=n}function x7n(n){this.c=n}function F7n(n){this.b=n}function B7n(n){this.a=n}function R7n(n){this.a=n}function K7n(n){this.a=n}function _7n(n){this.a=n}function H7n(n){this.a=n}function q7n(n){this.a=n}function U7n(n){this.a=n}function G7n(n){this.a=n}function z7n(n){this.a=n}function X7n(n){this.a=n}function V7n(n){this.a=n}function W7n(n){this.a=n}function J7n(n){this.a=n}function Q7n(n){this.a=n}function Y7n(n){this.a=n}function Z7n(n){this.a=n}function nkn(n){this.a=n}function ekn(n){this.a=n}function tkn(n){this.a=n}function ikn(n){this.a=n}function rkn(n){this.a=n}function ckn(n){this.a=n}function ukn(n){this.a=n}function okn(n){this.a=n}function skn(n){this.a=n}function fkn(n){this.a=n}function hkn(n){this.a=n}function sl(n){this.a=n}function sg(n){this.a=n}function lkn(n){this.a=n}function akn(n){this.a=n}function dkn(n){this.a=n}function bkn(n){this.a=n}function wkn(n){this.a=n}function gkn(n){this.a=n}function pkn(n){this.a=n}function mkn(n){this.a=n}function vkn(n){this.a=n}function kkn(n){this.a=n}function ykn(n){this.a=n}function jkn(n){this.a=n}function Ekn(n){this.a=n}function Ckn(n){this.a=n}function Mkn(n){this.a=n}function Tkn(n){this.a=n}function Akn(n){this.a=n}function Skn(n){this.a=n}function Pkn(n){this.a=n}function Ikn(n){this.a=n}function Okn(n){this.a=n}function Dkn(n){this.a=n}function Lkn(n){this.a=n}function Nkn(n){this.a=n}function $kn(n){this.a=n}function xkn(n){this.a=n}function OE(n){this.a=n}function Fkn(n){this.f=n}function Bkn(n){this.a=n}function Rkn(n){this.a=n}function Kkn(n){this.a=n}function _kn(n){this.a=n}function Hkn(n){this.a=n}function qkn(n){this.a=n}function Ukn(n){this.a=n}function Gkn(n){this.a=n}function zkn(n){this.a=n}function Xkn(n){this.a=n}function Vkn(n){this.a=n}function Wkn(n){this.a=n}function Jkn(n){this.a=n}function Qkn(n){this.a=n}function Ykn(n){this.a=n}function Zkn(n){this.a=n}function nyn(n){this.a=n}function eyn(n){this.a=n}function tyn(n){this.a=n}function iyn(n){this.a=n}function ryn(n){this.a=n}function cyn(n){this.a=n}function uyn(n){this.a=n}function oyn(n){this.a=n}function syn(n){this.a=n}function fyn(n){this.a=n}function hyn(n){this.a=n}function lyn(n){this.a=n}function tD(n){this.a=n}function $G(n){this.a=n}function lt(n){this.b=n}function ayn(n){this.a=n}function dyn(n){this.a=n}function byn(n){this.a=n}function wyn(n){this.a=n}function gyn(n){this.a=n}function pyn(n){this.a=n}function myn(n){this.a=n}function vyn(n){this.b=n}function kyn(n){this.a=n}function X9(n){this.a=n}function yyn(n){this.a=n}function jyn(n){this.a=n}function xG(n){this.c=n}function DE(n){this.e=n}function LE(n){this.a=n}function NE(n){this.a=n}function iD(n){this.a=n}function Eyn(n){this.d=n}function Cyn(n){this.a=n}function FG(n){this.a=n}function BG(n){this.a=n}function Wd(n){this.e=n}function Pfe(){this.a=0}function de(){Hu(this)}function Z(){pL(this)}function rD(){oIn(this)}function Myn(){}function Jd(){this.c=Udn}function Tyn(n,e){n.b+=e}function Ife(n,e){e.Wb(n)}function Ofe(n){return n.a}function Dfe(n){return n.a}function Lfe(n){return n.a}function Nfe(n){return n.a}function $fe(n){return n.a}function M(n){return n.e}function xfe(){return null}function Ffe(){return null}function Bfe(){Ez(),pLe()}function Rfe(n){n.b.Of(n.e)}function Ayn(n){n.b=new CD}function Xv(n,e){n.b=e-n.b}function Vv(n,e){n.a=e-n.a}function Rn(n,e){n.push(e)}function Syn(n,e){n.sort(e)}function Pyn(n,e){e.jd(n.a)}function Kfe(n,e){gi(e,n)}function _fe(n,e,t){n.Yd(t,e)}function V9(n,e){n.e=e,e.b=n}function RG(n){oh(),this.a=n}function Iyn(n){oh(),this.a=n}function Oyn(n){oh(),this.a=n}function cD(n){g0(),this.a=n}function Dyn(n){I4(),VK.le(n)}function KG(){KG=F,new de}function Ga(){QTn.call(this)}function _G(){QTn.call(this)}function HG(){Ga.call(this)}function uD(){Ga.call(this)}function Lyn(){Ga.call(this)}function W9(){Ga.call(this)}function Cu(){Ga.call(this)}function rp(){Ga.call(this)}function Pe(){Ga.call(this)}function Bo(){Ga.call(this)}function Nyn(){Ga.call(this)}function nc(){Ga.call(this)}function $yn(){Ga.call(this)}function xyn(){this.a=this}function $E(){this.Bb|=256}function Fyn(){this.b=new UMn}function Ab(n,e){n.length=e}function xE(n,e){nn(n.a,e)}function Hfe(n,e){dnn(n.c,e)}function qfe(n,e){fi(n.b,e)}function Ufe(n,e){uA(n.a,e)}function Gfe(n,e){cx(n.a,e)}function e4(n,e){it(n.e,e)}function cp(n){jA(n.c,n.b)}function zfe(n,e){n.kc().Nb(e)}function qG(n){this.a=B5e(n)}function ni(){this.a=new de}function Byn(){this.a=new de}function UG(){this.a=new iCn}function FE(){this.a=new Z}function oD(){this.a=new Z}function GG(){this.a=new Z}function hs(){this.a=new rbn}function za(){this.a=new LLn}function zG(){this.a=new KU}function XG(){this.a=new MOn}function VG(){this.a=new FAn}function Ryn(){this.a=new Z}function Kyn(){this.a=new Z}function _yn(){this.a=new Z}function WG(){this.a=new Z}function Hyn(){this.d=new Z}function qyn(){this.a=new GOn}function Uyn(){this.a=new ni}function Gyn(){this.a=new de}function zyn(){this.b=new de}function Xyn(){this.b=new Z}function JG(){this.e=new Z}function Vyn(){this.a=new Y5n}function Wyn(){this.d=new Z}function Jyn(){JIn.call(this)}function Qyn(){JIn.call(this)}function Yyn(){Z.call(this)}function QG(){HG.call(this)}function YG(){FE.call(this)}function Zyn(){HC.call(this)}function njn(){WG.call(this)}function Wv(){Myn.call(this)}function sD(){Wv.call(this)}function up(){Myn.call(this)}function ZG(){up.call(this)}function ejn(){iz.call(this)}function tjn(){iz.call(this)}function ijn(){iz.call(this)}function rjn(){rz.call(this)}function Jv(){ovn.call(this)}function nz(){ovn.call(this)}function Mu(){Ct.call(this)}function cjn(){kjn.call(this)}function ujn(){kjn.call(this)}function ojn(){de.call(this)}function sjn(){de.call(this)}function fjn(){de.call(this)}function fD(){rxn.call(this)}function hjn(){ni.call(this)}function ljn(){$E.call(this)}function hD(){FX.call(this)}function ez(){de.call(this)}function lD(){FX.call(this)}function aD(){de.call(this)}function ajn(){de.call(this)}function tz(){CE.call(this)}function djn(){tz.call(this)}function bjn(){CE.call(this)}function wjn(){iG.call(this)}function iz(){this.a=new ni}function gjn(){this.a=new de}function pjn(){this.a=new Z}function rz(){this.a=new de}function op(){this.a=new Ct}function mjn(){this.j=new Z}function vjn(){this.a=new pEn}function kjn(){this.a=new pvn}function cz(){this.a=new Y4n}function Qv(){Qv=F,KK=new Ht}function dD(){dD=F,_K=new jjn}function bD(){bD=F,HK=new yjn}function yjn(){XO.call(this,"")}function jjn(){XO.call(this,"")}function Ejn(n){A$n.call(this,n)}function Cjn(n){A$n.call(this,n)}function uz(n){sG.call(this,n)}function oz(n){zEn.call(this,n)}function Xfe(n){zEn.call(this,n)}function Vfe(n){oz.call(this,n)}function Wfe(n){oz.call(this,n)}function Jfe(n){oz.call(this,n)}function Mjn(n){zN.call(this,n)}function Tjn(n){zN.call(this,n)}function Ajn(n){cSn.call(this,n)}function Sjn(n){Iz.call(this,n)}function Yv(n){VE.call(this,n)}function sz(n){VE.call(this,n)}function Pjn(n){VE.call(this,n)}function fz(n){mje.call(this,n)}function hz(n){fz.call(this,n)}function ec(n){TPn.call(this,n)}function Ijn(n){ec.call(this,n)}function sp(){q9.call(this,{})}function Ojn(){Ojn=F,dQn=new C0n}function BE(){BE=F,GK=new ATn}function Djn(){Djn=F,cun=new Bu}function lz(){lz=F,uun=new N1}function RE(){RE=F,C8=new $1}function wD(n){d4(),this.a=n}function gD(n){BQ(),this.a=n}function Sb(n){nN(),this.f=n}function pD(n){nN(),this.f=n}function Ljn(n){dSn(),this.a=n}function Njn(n){n.b=null,n.c=0}function Qfe(n,e){n.e=e,bqn(n,e)}function Yfe(n,e){n.a=e,cEe(n)}function mD(n,e,t){n.a[e.g]=t}function Zfe(n,e,t){kke(t,n,e)}function nhe(n,e){Wae(e.i,n.n)}function $jn(n,e){v6e(n).Cd(e)}function ehe(n,e){n.a.ec().Mc(e)}function xjn(n,e){return n.g-e.g}function the(n,e){return n*n/e}function on(n){return Jn(n),n}function $(n){return Jn(n),n}function J9(n){return Jn(n),n}function ihe(n){return new TE(n)}function rhe(n){return new qb(n)}function az(n){return Jn(n),n}function che(n){return Jn(n),n}function KE(n){ec.call(this,n)}function Ir(n){ec.call(this,n)}function Fjn(n){ec.call(this,n)}function vD(n){TPn.call(this,n)}function t4(n){ec.call(this,n)}function Gn(n){ec.call(this,n)}function Or(n){ec.call(this,n)}function Bjn(n){ec.call(this,n)}function fp(n){ec.call(this,n)}function Kl(n){ec.call(this,n)}function _l(n){ec.call(this,n)}function hp(n){ec.call(this,n)}function eh(n){ec.call(this,n)}function kD(n){ec.call(this,n)}function Le(n){ec.call(this,n)}function Ku(n){Jn(n),this.a=n}function dz(n){return ld(n),n}function Zv(n){MW(n,n.length)}function n6(n){return n.b==n.c}function Pb(n){return!!n&&n.b}function uhe(n){return!!n&&n.k}function ohe(n){return!!n&&n.j}function she(n,e,t){n.c.Ef(e,t)}function Rjn(n,e){n.be(e),e.ae(n)}function lp(n){oh(),this.a=Se(n)}function yD(){this.a=Oe(Se(ur))}function Kjn(){throw M(new Pe)}function fhe(){throw M(new Pe)}function bz(){throw M(new Pe)}function _jn(){throw M(new Pe)}function hhe(){throw M(new Pe)}function lhe(){throw M(new Pe)}function _E(){_E=F,I4()}function Hl(){U9.call(this,"")}function e6(){U9.call(this,"")}function x1(){U9.call(this,"")}function fg(){U9.call(this,"")}function wz(n){Ir.call(this,n)}function gz(n){Ir.call(this,n)}function th(n){Gn.call(this,n)}function i4(n){J3.call(this,n)}function Hjn(n){i4.call(this,n)}function jD(n){FC.call(this,n)}function ED(n){WX.call(this,n,0)}function CD(){oJ.call(this,12,3)}function T(n,e){return vOn(n,e)}function HE(n,e){return o$(n,e)}function ahe(n,e){return n.a-e.a}function dhe(n,e){return n.a-e.a}function bhe(n,e){return n.a-e.a}function whe(n,e){return e in n.a}function qjn(n){return n.a?n.b:0}function ghe(n){return n.a?n.b:0}function phe(n,e,t){e.Cd(n.a[t])}function mhe(n,e,t){e.Pe(n.a[t])}function vhe(n,e){n.b=new rr(e)}function khe(n,e){return n.b=e,n}function Ujn(n,e){return n.c=e,n}function Gjn(n,e){return n.f=e,n}function yhe(n,e){return n.g=e,n}function pz(n,e){return n.a=e,n}function mz(n,e){return n.f=e,n}function jhe(n,e){return n.k=e,n}function vz(n,e){return n.a=e,n}function Ehe(n,e){return n.e=e,n}function kz(n,e){return n.e=e,n}function Che(n,e){return n.f=e,n}function Mhe(n,e){n.b=!0,n.d=e}function The(n,e){return n.b-e.b}function Ahe(n,e){return n.g-e.g}function She(n,e){return n?0:e-1}function zjn(n,e){return n?0:e-1}function Phe(n,e){return n?e-1:0}function Ihe(n,e){return n.s-e.s}function Ohe(n,e){return e.rg(n)}function Qd(n,e){return n.b=e,n}function qE(n,e){return n.a=e,n}function Yd(n,e){return n.c=e,n}function Zd(n,e){return n.d=e,n}function n0(n,e){return n.e=e,n}function yz(n,e){return n.f=e,n}function t6(n,e){return n.a=e,n}function r4(n,e){return n.b=e,n}function c4(n,e){return n.c=e,n}function an(n,e){return n.c=e,n}function Sn(n,e){return n.b=e,n}function dn(n,e){return n.d=e,n}function bn(n,e){return n.e=e,n}function Dhe(n,e){return n.f=e,n}function wn(n,e){return n.g=e,n}function gn(n,e){return n.a=e,n}function pn(n,e){return n.i=e,n}function mn(n,e){return n.j=e,n}function Lhe(n,e){ua(),ic(e,n)}function Nhe(n,e,t){Jbe(n.a,e,t)}function UE(n){$L.call(this,n)}function Xjn(n){Z5e.call(this,n)}function Vjn(n){AIn.call(this,n)}function jz(n){AIn.call(this,n)}function F1(n){T0.call(this,n)}function Wjn(n){CN.call(this,n)}function Jjn(n){CN.call(this,n)}function Qjn(){OX.call(this,"")}function Li(){this.a=0,this.b=0}function Yjn(){this.b=0,this.a=0}function Zjn(n,e){n.b=0,Zb(n,e)}function nEn(n,e){return n.k=e,n}function $he(n,e){return n.j=e,n}function xhe(n,e){n.c=e,n.b=!0}function eEn(){eEn=F,TQn=Xke()}function B1(){B1=F,voe=rke()}function tEn(){tEn=F,Ti=gye()}function Ez(){Ez=F,Da=G4()}function u4(){u4=F,qdn=cke()}function iEn(){iEn=F,ise=uke()}function Cz(){Cz=F,yc=tEe()}function of(n){return n.e&&n.e()}function rEn(n){return n.l|n.m<<22}function cEn(n,e){return n.c._b(e)}function uEn(n,e){return iBn(n.b,e)}function MD(n){return n?n.d:null}function Fhe(n){return n?n.g:null}function Bhe(n){return n?n.i:null}function Xa(n){return ll(n),n.o}function hg(n,e){return n.a+=e,n}function TD(n,e){return n.a+=e,n}function ql(n,e){return n.a+=e,n}function e0(n,e){return n.a+=e,n}function Mz(n,e){for(;n.Bd(e););}function GE(n){this.a=new ap(n)}function oEn(){throw M(new Pe)}function sEn(){throw M(new Pe)}function fEn(){throw M(new Pe)}function hEn(){throw M(new Pe)}function lEn(){throw M(new Pe)}function aEn(){throw M(new Pe)}function Ul(n){this.a=new iN(n)}function dEn(){this.a=new $5(Fln)}function bEn(){this.b=new $5(tln)}function wEn(){this.a=new $5(o1n)}function gEn(){this.b=new $5(xq)}function pEn(){this.b=new $5(xq)}function zE(n){this.a=0,this.b=n}function Tz(n){zGn(),ILe(this,n)}function o4(n){return X1(n),n.a}function Q9(n){return n.b!=n.d.c}function Az(n,e){return n.d[e.p]}function mEn(n,e){return XTe(n,e)}function Sz(n,e,t){n.splice(e,t)}function lg(n,e){for(;n.Re(e););}function vEn(n){n.c?Dqn(n):Lqn(n)}function kEn(){throw M(new Pe)}function yEn(){throw M(new Pe)}function jEn(){throw M(new Pe)}function EEn(){throw M(new Pe)}function CEn(){throw M(new Pe)}function MEn(){throw M(new Pe)}function TEn(){throw M(new Pe)}function AEn(){throw M(new Pe)}function SEn(){throw M(new Pe)}function PEn(){throw M(new Pe)}function Rhe(){throw M(new nc)}function Khe(){throw M(new nc)}function Y9(n){this.a=new IEn(n)}function IEn(n){Ume(this,n,jje())}function Z9(n){return!n||uIn(n)}function n7(n){return nh[n]!=-1}function _he(){cP!=0&&(cP=0),uP=-1}function OEn(){RK==null&&(RK=[])}function e7(n,e){Mg.call(this,n,e)}function s4(n,e){e7.call(this,n,e)}function DEn(n,e){this.a=n,this.b=e}function LEn(n,e){this.a=n,this.b=e}function NEn(n,e){this.a=n,this.b=e}function $En(n,e){this.a=n,this.b=e}function xEn(n,e){this.a=n,this.b=e}function FEn(n,e){this.a=n,this.b=e}function BEn(n,e){this.a=n,this.b=e}function f4(n,e){this.e=n,this.d=e}function Pz(n,e){this.b=n,this.c=e}function REn(n,e){this.b=n,this.a=e}function KEn(n,e){this.b=n,this.a=e}function _En(n,e){this.b=n,this.a=e}function HEn(n,e){this.b=n,this.a=e}function qEn(n,e){this.a=n,this.b=e}function AD(n,e){this.a=n,this.b=e}function UEn(n,e){this.a=n,this.f=e}function t0(n,e){this.g=n,this.i=e}function je(n,e){this.f=n,this.g=e}function GEn(n,e){this.b=n,this.c=e}function zEn(n){RX(n.dc()),this.c=n}function Hhe(n,e){this.a=n,this.b=e}function XEn(n,e){this.a=n,this.b=e}function VEn(n){this.a=u(Se(n),15)}function Iz(n){this.a=u(Se(n),15)}function WEn(n){this.a=u(Se(n),85)}function XE(n){this.b=u(Se(n),85)}function VE(n){this.b=u(Se(n),51)}function WE(){this.q=new y.Date}function SD(n,e){this.a=n,this.b=e}function JEn(n,e){return Zc(n.b,e)}function t7(n,e){return n.b.Hc(e)}function QEn(n,e){return n.b.Ic(e)}function YEn(n,e){return n.b.Qc(e)}function ZEn(n,e){return n.b.Hc(e)}function nCn(n,e){return n.c.uc(e)}function eCn(n,e){return rt(n.c,e)}function sf(n,e){return n.a._b(e)}function tCn(n,e){return n>e&&e0}function ND(n,e){return Ec(n,e)<0}function mCn(n,e){return JL(n.a,e)}function ole(n,e){kOn.call(this,n,e)}function Fz(n){wN(),cSn.call(this,n)}function Bz(n,e){dPn(n,n.length,e)}function u7(n,e){_Pn(n,n.length,e)}function h6(n,e){return n.a.get(e)}function vCn(n,e){return Zc(n.e,e)}function Rz(n){return Jn(n),!1}function Kz(n){this.a=u(Se(n),229)}function rC(n){In.call(this,n,21)}function cC(n,e){je.call(this,n,e)}function $D(n,e){je.call(this,n,e)}function kCn(n,e){this.b=n,this.a=e}function uC(n,e){this.d=n,this.e=e}function yCn(n,e){this.a=n,this.b=e}function jCn(n,e){this.a=n,this.b=e}function ECn(n,e){this.a=n,this.b=e}function CCn(n,e){this.a=n,this.b=e}function bp(n,e){this.a=n,this.b=e}function MCn(n,e){this.b=n,this.a=e}function _z(n,e){this.b=n,this.a=e}function Hz(n,e){je.call(this,n,e)}function qz(n,e){je.call(this,n,e)}function ag(n,e){je.call(this,n,e)}function xD(n,e){je.call(this,n,e)}function FD(n,e){je.call(this,n,e)}function BD(n,e){je.call(this,n,e)}function oC(n,e){je.call(this,n,e)}function Uz(n,e){this.b=n,this.a=e}function sC(n,e){je.call(this,n,e)}function Gz(n,e){this.b=n,this.a=e}function fC(n,e){je.call(this,n,e)}function TCn(n,e){this.b=n,this.a=e}function zz(n,e){je.call(this,n,e)}function RD(n,e){je.call(this,n,e)}function o7(n,e){je.call(this,n,e)}function l6(n,e,t){n.splice(e,0,t)}function sle(n,e,t){n.Mb(t)&&e.Cd(t)}function fle(n,e,t){e.Pe(n.a.Ye(t))}function hle(n,e,t){e.Dd(n.a.Ze(t))}function lle(n,e,t){e.Cd(n.a.Kb(t))}function ale(n,e){return Au(n.c,e)}function dle(n,e){return Au(n.e,e)}function hC(n,e){je.call(this,n,e)}function lC(n,e){je.call(this,n,e)}function a6(n,e){je.call(this,n,e)}function Xz(n,e){je.call(this,n,e)}function ei(n,e){je.call(this,n,e)}function aC(n,e){je.call(this,n,e)}function ACn(n,e){this.a=n,this.b=e}function SCn(n,e){this.a=n,this.b=e}function PCn(n,e){this.a=n,this.b=e}function ICn(n,e){this.a=n,this.b=e}function OCn(n,e){this.a=n,this.b=e}function DCn(n,e){this.a=n,this.b=e}function LCn(n,e){this.b=n,this.a=e}function NCn(n,e){this.b=n,this.a=e}function Vz(n,e){this.b=n,this.a=e}function a4(n,e){this.c=n,this.d=e}function $Cn(n,e){this.e=n,this.d=e}function xCn(n,e){this.a=n,this.b=e}function FCn(n,e){this.a=n,this.b=e}function BCn(n,e){this.a=n,this.b=e}function RCn(n,e){this.b=n,this.a=e}function KCn(n,e){this.b=e,this.c=n}function dC(n,e){je.call(this,n,e)}function s7(n,e){je.call(this,n,e)}function KD(n,e){je.call(this,n,e)}function Wz(n,e){je.call(this,n,e)}function d6(n,e){je.call(this,n,e)}function _D(n,e){je.call(this,n,e)}function HD(n,e){je.call(this,n,e)}function f7(n,e){je.call(this,n,e)}function Jz(n,e){je.call(this,n,e)}function qD(n,e){je.call(this,n,e)}function b6(n,e){je.call(this,n,e)}function Qz(n,e){je.call(this,n,e)}function w6(n,e){je.call(this,n,e)}function g6(n,e){je.call(this,n,e)}function Db(n,e){je.call(this,n,e)}function UD(n,e){je.call(this,n,e)}function GD(n,e){je.call(this,n,e)}function Yz(n,e){je.call(this,n,e)}function h7(n,e){je.call(this,n,e)}function dg(n,e){je.call(this,n,e)}function zD(n,e){je.call(this,n,e)}function bC(n,e){je.call(this,n,e)}function l7(n,e){je.call(this,n,e)}function Lb(n,e){je.call(this,n,e)}function wC(n,e){je.call(this,n,e)}function Zz(n,e){je.call(this,n,e)}function XD(n,e){je.call(this,n,e)}function VD(n,e){je.call(this,n,e)}function WD(n,e){je.call(this,n,e)}function JD(n,e){je.call(this,n,e)}function QD(n,e){je.call(this,n,e)}function YD(n,e){je.call(this,n,e)}function ZD(n,e){je.call(this,n,e)}function _Cn(n,e){this.b=n,this.a=e}function nX(n,e){je.call(this,n,e)}function HCn(n,e){this.a=n,this.b=e}function qCn(n,e){this.a=n,this.b=e}function UCn(n,e){this.a=n,this.b=e}function eX(n,e){je.call(this,n,e)}function tX(n,e){je.call(this,n,e)}function GCn(n,e){this.a=n,this.b=e}function ble(n,e){return v4(),e!=n}function a7(n){return oe(n.a),n.b}function nL(n){return yCe(n,n.c),n}function zCn(){return eEn(),new TQn}function XCn(){XC(),this.a=new vV}function VCn(){OA(),this.a=new ni}function WCn(){NN(),this.b=new ni}function JCn(n,e){this.b=n,this.d=e}function QCn(n,e){this.a=n,this.b=e}function YCn(n,e){this.a=n,this.b=e}function ZCn(n,e){this.a=n,this.b=e}function nMn(n,e){this.b=n,this.a=e}function iX(n,e){je.call(this,n,e)}function rX(n,e){je.call(this,n,e)}function gC(n,e){je.call(this,n,e)}function r0(n,e){je.call(this,n,e)}function eL(n,e){je.call(this,n,e)}function pC(n,e){je.call(this,n,e)}function cX(n,e){je.call(this,n,e)}function uX(n,e){je.call(this,n,e)}function d7(n,e){je.call(this,n,e)}function oX(n,e){je.call(this,n,e)}function tL(n,e){je.call(this,n,e)}function mC(n,e){je.call(this,n,e)}function iL(n,e){je.call(this,n,e)}function rL(n,e){je.call(this,n,e)}function cL(n,e){je.call(this,n,e)}function uL(n,e){je.call(this,n,e)}function sX(n,e){je.call(this,n,e)}function oL(n,e){je.call(this,n,e)}function fX(n,e){je.call(this,n,e)}function b7(n,e){je.call(this,n,e)}function sL(n,e){je.call(this,n,e)}function hX(n,e){je.call(this,n,e)}function w7(n,e){je.call(this,n,e)}function lX(n,e){je.call(this,n,e)}function eMn(n,e){this.b=n,this.a=e}function tMn(n,e){this.b=n,this.a=e}function iMn(n,e){this.b=n,this.a=e}function rMn(n,e){this.b=n,this.a=e}function aX(n,e){this.a=n,this.b=e}function cMn(n,e){this.a=n,this.b=e}function uMn(n,e){this.a=n,this.b=e}function V(n,e){this.a=n,this.b=e}function p6(n,e){je.call(this,n,e)}function g7(n,e){je.call(this,n,e)}function wp(n,e){je.call(this,n,e)}function m6(n,e){je.call(this,n,e)}function p7(n,e){je.call(this,n,e)}function fL(n,e){je.call(this,n,e)}function vC(n,e){je.call(this,n,e)}function v6(n,e){je.call(this,n,e)}function hL(n,e){je.call(this,n,e)}function kC(n,e){je.call(this,n,e)}function bg(n,e){je.call(this,n,e)}function m7(n,e){je.call(this,n,e)}function k6(n,e){je.call(this,n,e)}function y6(n,e){je.call(this,n,e)}function v7(n,e){je.call(this,n,e)}function yC(n,e){je.call(this,n,e)}function wg(n,e){je.call(this,n,e)}function lL(n,e){je.call(this,n,e)}function oMn(n,e){je.call(this,n,e)}function jC(n,e){je.call(this,n,e)}function sMn(n,e){this.a=n,this.b=e}function fMn(n,e){this.a=n,this.b=e}function hMn(n,e){this.a=n,this.b=e}function lMn(n,e){this.a=n,this.b=e}function aMn(n,e){this.a=n,this.b=e}function dMn(n,e){this.a=n,this.b=e}function bi(n,e){this.a=n,this.b=e}function bMn(n,e){this.a=n,this.b=e}function wMn(n,e){this.a=n,this.b=e}function gMn(n,e){this.a=n,this.b=e}function pMn(n,e){this.a=n,this.b=e}function mMn(n,e){this.a=n,this.b=e}function vMn(n,e){this.a=n,this.b=e}function kMn(n,e){this.b=n,this.a=e}function yMn(n,e){this.b=n,this.a=e}function jMn(n,e){this.b=n,this.a=e}function EMn(n,e){this.b=n,this.a=e}function CMn(n,e){this.a=n,this.b=e}function MMn(n,e){this.a=n,this.b=e}function EC(n,e){je.call(this,n,e)}function TMn(n,e){this.a=n,this.b=e}function AMn(n,e){this.a=n,this.b=e}function gp(n,e){je.call(this,n,e)}function SMn(n,e){this.f=n,this.c=e}function dX(n,e){return Au(n.g,e)}function wle(n,e){return Au(e.b,n)}function PMn(n,e){return wx(n.a,e)}function gle(n,e){return-n.b.af(e)}function ple(n,e){n&&Ve(fE,n,e)}function bX(n,e){n.i=null,kT(n,e)}function mle(n,e,t){kKn(e,oF(n,t))}function vle(n,e,t){kKn(e,oF(n,t))}function kle(n,e){VMe(n.a,u(e,58))}function IMn(n,e){U4e(n.a,u(e,12))}function CC(n,e){this.a=n,this.b=e}function OMn(n,e){this.a=n,this.b=e}function DMn(n,e){this.a=n,this.b=e}function LMn(n,e){this.a=n,this.b=e}function NMn(n,e){this.a=n,this.b=e}function $Mn(n,e){this.d=n,this.b=e}function xMn(n,e){this.e=n,this.a=e}function k7(n,e){this.b=n,this.c=e}function wX(n,e){this.i=n,this.g=e}function gX(n,e){this.d=n,this.e=e}function yle(n,e){cme(new ne(n),e)}function MC(n){return xk(n.c,n.b)}function Kr(n){return n?n.md():null}function x(n){return n??null}function Ai(n){return typeof n===nB}function Nb(n){return typeof n===i3}function $b(n){return typeof n===ltn}function c0(n,e){return Ec(n,e)==0}function TC(n,e){return Ec(n,e)>=0}function j6(n,e){return Ec(n,e)!=0}function AC(n,e){return jve(n.Kc(),e)}function _1(n,e){return n.Rd().Xb(e)}function FMn(n){return eo(n),n.d.gc()}function SC(n){return N6(n==null),n}function E6(n,e){return n.a+=""+e,n}function Er(n,e){return n.a+=""+e,n}function C6(n,e){return n.a+=""+e,n}function Dc(n,e){return n.a+=""+e,n}function Re(n,e){return n.a+=""+e,n}function pX(n,e){return n.a+=""+e,n}function jle(n){return""+(Jn(n),n)}function BMn(n){Hu(this),u5(this,n)}function RMn(){uJ(),aW.call(this)}function KMn(n,e){pW.call(this,n,e)}function _Mn(n,e){pW.call(this,n,e)}function PC(n,e){pW.call(this,n,e)}function ir(n,e){xt(n,e,n.c.b,n.c)}function gg(n,e){xt(n,e,n.a,n.a.a)}function mX(n){return Ln(n,0),null}function HMn(){this.b=0,this.a=!1}function qMn(){this.b=0,this.a=!1}function UMn(){this.b=new ap(Qb(12))}function GMn(){GMn=F,kYn=Ce(jx())}function zMn(){zMn=F,HZn=Ce(iqn())}function XMn(){XMn=F,lre=Ce($xn())}function vX(){vX=F,KG(),oun=new de}function ff(n){return n.a=0,n.b=0,n}function VMn(n,e){return n.a=e.g+1,n}function aL(n,e){Kb.call(this,n,e)}function Mn(n,e){Dt.call(this,n,e)}function pg(n,e){wX.call(this,n,e)}function WMn(n,e){C7.call(this,n,e)}function dL(n,e){Q4.call(this,n,e)}function Ge(n,e){tC(),Ve(yO,n,e)}function JMn(n,e){n.q.setTime(id(e))}function Ele(n){y.clearTimeout(n)}function Cle(n){return Se(n),new M6(n)}function QMn(n,e){return x(n)===x(e)}function YMn(n,e){return n.a.a.a.cc(e)}function bL(n,e){return qo(n.a,0,e)}function kX(n){return Awe(u(n,74))}function pp(n){return wi((Jn(n),n))}function Mle(n){return wi((Jn(n),n))}function ZMn(n){return Yc(n.l,n.m,n.h)}function yX(n,e){return jc(n.a,e.a)}function Tle(n,e){return RPn(n.a,e.a)}function Ale(n,e){return bt(n.a,e.a)}function ih(n,e){return n.indexOf(e)}function Sle(n,e){return n.j[e.p]==2}function u0(n,e){return n==e?0:n?1:-1}function IC(n){return n<10?"0"+n:""+n}function Vr(n){return typeof n===ltn}function Ple(n){return n==tb||n==Iw}function Ile(n){return n==tb||n==Pw}function nTn(n,e){return jc(n.g,e.g)}function jX(n){return qr(n.b.b,n,0)}function eTn(){iM.call(this,0,0,0,0)}function rh(){EG.call(this,new Ql)}function EX(n,e){x4(n,0,n.length,e)}function Ole(n,e){return nn(n.a,e),e}function Dle(n,e){return Fs(),e.a+=n}function Lle(n,e){return Fs(),e.a+=n}function Nle(n,e){return Fs(),e.c+=n}function $le(n,e){return nn(n.c,e),n}function CX(n,e){return Mo(n.a,e),n}function tTn(n){this.a=zCn(),this.b=n}function iTn(n){this.a=zCn(),this.b=n}function rr(n){this.a=n.a,this.b=n.b}function M6(n){this.a=n,GO.call(this)}function rTn(n){this.a=n,GO.call(this)}function mp(){Ho.call(this,0,0,0,0)}function OC(n){return Mo(new ii,n)}function cTn(n){return yM(u(n,123))}function fo(n){return n.vh()&&n.wh()}function mg(n){return n!=Qf&&n!=Pa}function hl(n){return n==Br||n==Xr}function vg(n){return n==us||n==Wf}function uTn(n){return n==P2||n==S2}function xle(n,e){return jc(n.g,e.g)}function oTn(n,e){return new Q4(e,n)}function Fle(n,e){return new Q4(e,n)}function MX(n){return rbe(n.b.Kc(),n.a)}function wL(n,e){cm(n,e),U4(n,n.D)}function gL(n,e,t){aT(n,e),lT(n,t)}function kg(n,e,t){S0(n,e),A0(n,t)}function Ro(n,e,t){eu(n,e),tu(n,t)}function y7(n,e,t){K4(n,e),H4(n,t)}function j7(n,e,t){_4(n,e),q4(n,t)}function sTn(n,e,t){oV.call(this,n,e,t)}function TX(n){SMn.call(this,n,!0)}function fTn(){cC.call(this,"Tail",3)}function hTn(){cC.call(this,"Head",1)}function H1(n){dh(),mve.call(this,n)}function o0(n){iM.call(this,n,n,n,n)}function pL(n){n.c=K(ki,Fn,1,0,5,1)}function AX(n){return n.b&&xF(n),n.a}function SX(n){return n.b&&xF(n),n.c}function Ble(n,e){Uf||(n.b=e)}function Rle(n,e){return n[n.length]=e}function Kle(n,e){return n[n.length]=e}function _le(n,e){return Yb(e,Sf(n))}function Hle(n,e){return Yb(e,Sf(n))}function qle(n,e){return pT(dN(n.d),e)}function Ule(n,e){return pT(dN(n.g),e)}function Gle(n,e){return pT(dN(n.j),e)}function Ni(n,e){Dt.call(this,n.b,e)}function zle(n,e){ve(Sc(n.a),OOn(e))}function Xle(n,e){ve(no(n.a),DOn(e))}function Vle(n,e,t){Ro(t,t.i+n,t.j+e)}function lTn(n,e,t){$t(n.c[e.g],e.g,t)}function Wle(n,e,t){u(n.c,71).Gi(e,t)}function mL(n,e,t){return $t(n,e,t),t}function aTn(n){nu(n.Sf(),new O9n(n))}function yg(n){return n!=null?mt(n):0}function Jle(n){return n==null?0:mt(n)}function T6(n){nt(),Wd.call(this,n)}function dTn(n){this.a=n,HV.call(this,n)}function Tf(){Tf=F,y.Math.log(2)}function Ko(){Ko=F,rl=(gCn(),Moe)}function bTn(){bTn=F,YH=new v5(lU)}function Ie(){Ie=F,new wTn,new Z}function wTn(){new de,new de,new de}function Qle(){throw M(new Kl(QJn))}function Yle(){throw M(new Kl(QJn))}function Zle(){throw M(new Kl(YJn))}function n1e(){throw M(new Kl(YJn))}function vL(n){this.a=n,XE.call(this,n)}function kL(n){this.a=n,XE.call(this,n)}function gTn(n,e){g0(),this.a=n,this.b=e}function e1e(n,e){Se(e),Ag(n).Jc(new Ru)}function Yt(n,e){QL(n.c,n.c.length,e)}function tc(n){return n.ae?1:0}function IX(n,e){return Ec(n,e)>0?n:e}function Yc(n,e,t){return{l:n,m:e,h:t}}function t1e(n,e){n.a!=null&&IMn(e,n.a)}function i1e(n){Zi(n,null),Ii(n,null)}function r1e(n,e,t){return Ve(n.g,t,e)}function jg(n,e,t){return ZY(e,t,n.c)}function c1e(n,e,t){return Ve(n.k,t,e)}function u1e(n,e,t){return GOe(n,e,t),t}function o1e(n,e){return ko(),e.n.b+=n}function mTn(n){ZW.call(this),this.b=n}function OX(n){mV.call(this),this.a=n}function vTn(){cC.call(this,"Range",2)}function DC(n){this.b=n,this.a=new Z}function kTn(n){this.b=new Nbn,this.a=n}function yTn(n){n.a=new OO,n.c=new OO}function jTn(n){n.a=new de,n.d=new de}function ETn(n){$N(n,null),xN(n,null)}function CTn(n,e){return XOe(n.a,e,null)}function s1e(n,e){return Ve(n.a,e.a,e)}function Ki(n){return new V(n.a,n.b)}function DX(n){return new V(n.c,n.d)}function f1e(n){return new V(n.c,n.d)}function A6(n,e){return cOe(n.c,n.b,e)}function D(n,e){return n!=null&&Tx(n,e)}function yL(n,e){return Yve(n.Kc(),e)!=-1}function LC(n){return n.Ob()?n.Pb():null}function h1e(n){this.b=(Dn(),new eD(n))}function LX(n){this.a=n,de.call(this)}function MTn(){C7.call(this,null,null)}function TTn(){KC.call(this,null,null)}function ATn(){je.call(this,"INSTANCE",0)}function STn(){DZ(),this.a=new $5(Son)}function PTn(n){return ws(n,0,n.length)}function l1e(n,e){return new XTn(n.Kc(),e)}function NX(n,e){return n.a.Bc(e)!=null}function ITn(n,e){me(n),n.Gc(u(e,15))}function a1e(n,e,t){n.c.bd(e,u(t,136))}function d1e(n,e,t){n.c.Ui(e,u(t,136))}function OTn(n,e){n.c&&(eW(e),iOn(e))}function b1e(n,e){n.q.setHours(e),K5(n,e)}function w1e(n,e){h0(e,n.a.a.a,n.a.a.b)}function g1e(n,e,t,i){$t(n.a[e.g],t.g,i)}function jL(n,e,t){return n.a[e.g][t.g]}function p1e(n,e){return n.e[e.c.p][e.p]}function m1e(n,e){return n.c[e.c.p][e.p]}function Af(n,e){return n.a[e.c.p][e.p]}function v1e(n,e){return n.j[e.p]=IMe(e)}function EL(n,e){return n.a.Bc(e)!=null}function k1e(n,e){return $(R(e.a))<=n}function y1e(n,e){return $(R(e.a))>=n}function j1e(n,e){return BJ(n.f,e.Pg())}function vp(n,e){return n.a*e.a+n.b*e.b}function E1e(n,e){return n.a0?e/(n*n):e*100}function V1e(n,e){return n>0?e*e/n:e*e*100}function xb(n,e){return u(Nf(n.a,e),34)}function W1e(n,e){return ua(),Pn(n,e.e,e)}function J1e(n,e,t){return ZE(),t.Mg(n,e)}function Q1e(n){return kl(),n.e.a+n.f.a/2}function Y1e(n,e,t){return kl(),t.e.a-n*e}function Z1e(n){return kl(),n.e.b+n.f.b/2}function nae(n,e,t){return kl(),t.e.b-n*e}function oAn(n){n.d=new rAn(n),n.e=new de}function sAn(){this.a=new j0,this.b=new j0}function fAn(n){this.c=n,this.a=1,this.b=1}function hAn(n){YF(),Ayn(this),this.Ff(n)}function eae(n,e,t){YM(),n.pf(e)&&t.Cd(n)}function tae(n,e,t){return nn(e,yBn(n,t))}function h0(n,e,t){return n.a+=e,n.b+=t,n}function iae(n,e,t){return n.a*=e,n.b*=t,n}function YX(n,e){return n.a=e.a,n.b=e.b,n}function _C(n){return n.a=-n.a,n.b=-n.b,n}function O6(n,e,t){return n.a-=e,n.b-=t,n}function lAn(n){Ct.call(this),t5(this,n)}function aAn(){je.call(this,"GROW_TREE",0)}function dAn(){je.call(this,"POLYOMINO",0)}function lo(n,e,t){Iu.call(this,n,e,t,2)}function rae(n,e,t){p5(Sc(n.a),e,OOn(t))}function bAn(n,e){f6(),C7.call(this,n,e)}function ZX(n,e){Gl(),KC.call(this,n,e)}function wAn(n,e){Gl(),ZX.call(this,n,e)}function gAn(n,e){Gl(),KC.call(this,n,e)}function cae(n,e){return n.c.Fc(u(e,136))}function uae(n,e,t){p5(no(n.a),e,DOn(t))}function pAn(n){this.c=n,eu(n,0),tu(n,0)}function PL(n,e){Ko(),uM.call(this,n,e)}function mAn(n,e){Ko(),PL.call(this,n,e)}function nV(n,e){Ko(),PL.call(this,n,e)}function eV(n,e){Ko(),uM.call(this,n,e)}function vAn(n,e){Ko(),nV.call(this,n,e)}function kAn(n,e){Ko(),eV.call(this,n,e)}function yAn(n,e){Ko(),uM.call(this,n,e)}function oae(n,e,t){return e.zl(n.e,n.c,t)}function sae(n,e,t){return e.Al(n.e,n.c,t)}function tV(n,e,t){return qA(fk(n,e),t)}function IL(n,e){return ea(n.e,u(e,54))}function fae(n){return n==null?null:NDe(n)}function hae(n){return n==null?null:Aje(n)}function lae(n){return n==null?null:Jr(n)}function aae(n){return n==null?null:Jr(n)}function un(n){return N6(n==null||Nb(n)),n}function R(n){return N6(n==null||$b(n)),n}function Oe(n){return N6(n==null||Ai(n)),n}function ll(n){n.o==null&&cMe(n)}function iV(n){if(!n)throw M(new W9)}function dae(n){if(!n)throw M(new uD)}function oe(n){if(!n)throw M(new nc)}function Fb(n){if(!n)throw M(new Cu)}function jAn(n){if(!n)throw M(new Bo)}function p4(){p4=F,lE=new cjn,new ujn}function Tg(){Tg=F,D2=new lt("root")}function rV(){rxn.call(this),this.Bb|=hr}function bae(n,e){this.d=n,r9n(this),this.b=e}function cV(n,e){i$.call(this,n),this.a=e}function uV(n,e){i$.call(this,n),this.a=e}function oV(n,e,t){VM.call(this,n,e,t,null)}function EAn(n,e,t){VM.call(this,n,e,t,null)}function A7(n,e){this.c=n,f4.call(this,n,e)}function D6(n,e){this.a=n,A7.call(this,n,e)}function sV(n){this.q=new y.Date(id(n))}function CAn(n){return n>8?0:n+1}function MAn(n,e){Uf||nn(n.a,e)}function wae(n,e){return c7(),J4(e.d.i,n)}function gae(n,e){return Hp(),new tUn(e,n)}function pae(n,e,t){return n.Ne(e,t)<=0?t:e}function mae(n,e,t){return n.Ne(e,t)<=0?e:t}function vae(n,e){return u(Nf(n.b,e),143)}function kae(n,e){return u(Nf(n.c,e),233)}function OL(n){return u(sn(n.a,n.b),293)}function TAn(n){return new V(n.c,n.d+n.a)}function AAn(n){return Jn(n),n?1231:1237}function SAn(n){return ko(),uTn(u(n,203))}function Bb(){Bb=F,ton=yn((go(),Gd))}function yae(n,e){e.a?MCe(n,e):EL(n.a,e.b)}function S7(n,e,t){++n.j,n.tj(),t$(n,e,t)}function PAn(n,e,t){++n.j,n.qj(e,n.Zi(e,t))}function IAn(n,e,t){var i;i=n.fd(e),i.Rb(t)}function fV(n,e,t){return t=So(n,e,6,t),t}function hV(n,e,t){return t=So(n,e,3,t),t}function lV(n,e,t){return t=So(n,e,9,t),t}function uh(n,e){return G7(e,Ntn),n.f=e,n}function aV(n,e){return(e&et)%n.d.length}function OAn(n,e,t){return Uen(n.c,n.b,e,t)}function DAn(n,e){this.c=n,T0.call(this,e)}function LAn(n,e){this.a=n,vyn.call(this,e)}function P7(n,e){this.a=n,vyn.call(this,e)}function Dt(n,e){lt.call(this,n),this.a=e}function dV(n,e){xG.call(this,n),this.a=e}function DL(n,e){xG.call(this,n),this.a=e}function jae(n){XY.call(this,0,0),this.f=n}function NAn(n,e,t){return n.a+=ws(e,0,t),n}function I7(n){return!n.a&&(n.a=new E0n),n.a}function bV(n,e){var t;return t=n.e,n.e=e,t}function wV(n,e){var t;return t=e,!!n.Fe(t)}function Eae(n,e){return _n(),n==e?0:n?1:-1}function Rb(n,e){n.a.bd(n.b,e),++n.b,n.c=-1}function O7(n){n.b?O7(n.b):n.f.c.zc(n.e,n.d)}function $An(n){Hu(n.e),n.d.b=n.d,n.d.a=n.d}function Cae(n,e,t){Va(),e9n(n,e.Ve(n.a,t))}function gV(n,e,t){return Pp(n,u(e,22),t)}function xs(n,e){return HE(new Array(e),n)}function Mae(n){return Ae(U1(n,32))^Ae(n)}function LL(n){return String.fromCharCode(n)}function Tae(n){return n==null?null:n.message}function Aae(n,e,t){return n.apply(e,t)}function Sae(n,e){var t;t=n[DB],t.call(n,e)}function Pae(n,e){var t;t=n[DB],t.call(n,e)}function Iae(n,e){return c7(),!J4(e.d.i,n)}function pV(n,e,t,i){iM.call(this,n,e,t,i)}function xAn(){HC.call(this),this.a=new Li}function mV(){this.n=new Li,this.o=new Li}function FAn(){this.b=new Li,this.c=new Z}function BAn(){this.a=new Z,this.b=new Z}function RAn(){this.a=new KU,this.b=new Fyn}function vV(){this.b=new Ql,this.a=new Ql}function KAn(){this.b=new ni,this.a=new ni}function _An(){this.b=new de,this.a=new de}function HAn(){this.b=new bEn,this.a=new _3n}function qAn(){this.a=new Z5n,this.b=new Dpn}function UAn(){this.a=new Z,this.d=new Z}function HC(){this.n=new up,this.i=new mp}function GAn(n){this.a=(Co(n,mw),new Gc(n))}function zAn(n){this.a=(Co(n,mw),new Gc(n))}function Oae(n){return n<100?null:new F1(n)}function Dae(n,e){return n.n.a=(Jn(e),e+10)}function Lae(n,e){return n.n.a=(Jn(e),e+10)}function Nae(n,e){return e==n||vm(TA(e),n)}function XAn(n,e){return Ve(n.a,e,"")==null}function $ae(n,e){var t;return t=e.qi(n.a),t}function tt(n,e){return n.a+=e.a,n.b+=e.b,n}function mi(n,e){return n.a-=e.a,n.b-=e.b,n}function xae(n){return Ab(n.j.c,0),n.a=-1,n}function kV(n,e,t){return t=So(n,e,11,t),t}function Fae(n,e,t){t!=null&&mT(e,Fx(n,t))}function Bae(n,e,t){t!=null&&vT(e,Fx(n,t))}function jp(n,e,t,i){q.call(this,n,e,t,i)}function yV(n,e,t,i){q.call(this,n,e,t,i)}function VAn(n,e,t,i){yV.call(this,n,e,t,i)}function WAn(n,e,t,i){dM.call(this,n,e,t,i)}function NL(n,e,t,i){dM.call(this,n,e,t,i)}function jV(n,e,t,i){dM.call(this,n,e,t,i)}function JAn(n,e,t,i){NL.call(this,n,e,t,i)}function EV(n,e,t,i){NL.call(this,n,e,t,i)}function Nn(n,e,t,i){jV.call(this,n,e,t,i)}function QAn(n,e,t,i){EV.call(this,n,e,t,i)}function YAn(n,e,t,i){yW.call(this,n,e,t,i)}function Kb(n,e){Ir.call(this,w8+n+Td+e)}function CV(n,e){return n.jk().wi().ri(n,e)}function MV(n,e){return n.jk().wi().ti(n,e)}function ZAn(n,e){return Jn(n),x(n)===x(e)}function An(n,e){return Jn(n),x(n)===x(e)}function Rae(n,e){return n.b.Bd(new jCn(n,e))}function Kae(n,e){return n.b.Bd(new ECn(n,e))}function nSn(n,e){return n.b.Bd(new CCn(n,e))}function _ae(n,e){return n.e=u(n.d.Kb(e),159)}function TV(n,e,t){return n.lastIndexOf(e,t)}function Hae(n,e,t){return bt(n[e.a],n[t.a])}function qae(n,e){return U(e,(cn(),Ej),n)}function Uae(n,e){return jc(e.a.d.p,n.a.d.p)}function Gae(n,e){return jc(n.a.d.p,e.a.d.p)}function zae(n,e){return bt(n.c-n.s,e.c-e.s)}function Xae(n,e){return bt(n.b.e.a,e.b.e.a)}function Vae(n,e){return bt(n.c.e.a,e.c.e.a)}function eSn(n){return n.c?qr(n.c.a,n,0):-1}function Ep(n){return n==Ud||n==tl||n==qc}function AV(n,e){this.c=n,oN.call(this,n,e)}function tSn(n,e,t){this.a=n,WX.call(this,e,t)}function iSn(n){this.c=n,PC.call(this,jy,0)}function rSn(n,e,t){this.c=e,this.b=t,this.a=n}function D7(n){v4(),this.d=n,this.a=new Cg}function cSn(n){oh(),this.a=(Dn(),new i4(n))}function Wae(n,e){hl(n.f)?QCe(n,e):Sye(n,e)}function uSn(n,e){sbe.call(this,n,n.length,e)}function Jae(n,e){Uf||e&&(n.d=e)}function oSn(n,e){return D(e,15)&&xqn(n.c,e)}function Qae(n,e,t){return u(n.c,71).Wk(e,t)}function qC(n,e,t){return u(n.c,71).Xk(e,t)}function Yae(n,e,t){return oae(n,u(e,343),t)}function SV(n,e,t){return sae(n,u(e,343),t)}function Zae(n,e,t){return SKn(n,u(e,343),t)}function sSn(n,e,t){return _ye(n,u(e,343),t)}function L6(n,e){return e==null?null:tw(n.b,e)}function PV(n){return $b(n)?(Jn(n),n):n.ue()}function UC(n){return!isNaN(n)&&!isFinite(n)}function $L(n){yTn(this),vo(this),Bi(this,n)}function _u(n){pL(this),GV(this.c,0,n.Pc())}function _o(n,e,t){this.a=n,this.b=e,this.c=t}function fSn(n,e,t){this.a=n,this.b=e,this.c=t}function hSn(n,e,t){this.d=n,this.b=t,this.a=e}function lSn(n){this.a=n,fl(),vc(Date.now())}function aSn(n){bo(n.a),UJ(n.c,n.b),n.b=null}function xL(){xL=F,Pun=new N0n,AQn=new $0n}function dSn(){dSn=F,Ioe=K(ki,Fn,1,0,5,1)}function bSn(){bSn=F,Voe=K(ki,Fn,1,0,5,1)}function IV(){IV=F,Woe=K(ki,Fn,1,0,5,1)}function oh(){oh=F,new RG((Dn(),Dn(),sr))}function nde(n){return F4(),Ee((kNn(),IQn),n)}function ede(n){return Gu(),Ee((hNn(),xQn),n)}function tde(n){return YT(),Ee((WDn(),HQn),n)}function ide(n){return cT(),Ee((JDn(),qQn),n)}function rde(n){return NA(),Ee((Wxn(),UQn),n)}function cde(n){return wf(),Ee((sNn(),XQn),n)}function ude(n){return Uu(),Ee((oNn(),WQn),n)}function ode(n){return bu(),Ee((fNn(),QQn),n)}function sde(n){return VA(),Ee((GMn(),kYn),n)}function fde(n){return D0(),Ee((jNn(),jYn),n)}function hde(n){return Vp(),Ee((CNn(),CYn),n)}function lde(n){return C5(),Ee((ENn(),AYn),n)}function ade(n){return QE(),Ee((yDn(),SYn),n)}function dde(n){return uT(),Ee((QDn(),GYn),n)}function bde(n){return n5(),Ee((lNn(),pZn),n)}function wde(n){return Vi(),Ee((c$n(),yZn),n)}function gde(n){return Z4(),Ee((TNn(),TZn),n)}function pde(n){return dd(),Ee((MNn(),DZn),n)}function OV(n,e){if(!n)throw M(new Gn(e))}function m4(n){if(!n)throw M(new Or(atn))}function FL(n,e){if(n!=e)throw M(new Bo)}function wSn(n,e,t){this.a=n,this.b=e,this.c=t}function DV(n,e,t){this.a=n,this.b=e,this.c=t}function gSn(n,e,t){this.a=n,this.b=e,this.c=t}function GC(n,e,t){this.b=n,this.a=e,this.c=t}function LV(n,e,t){this.b=n,this.c=e,this.a=t}function NV(n,e,t){this.a=n,this.b=e,this.c=t}function zC(n,e,t){this.e=e,this.b=n,this.d=t}function pSn(n,e,t){this.b=n,this.a=e,this.c=t}function mde(n,e,t){return Va(),n.a.Yd(e,t),e}function BL(n){var e;return e=new cbn,e.e=n,e}function $V(n){var e;return e=new Hyn,e.b=n,e}function L7(){L7=F,CP=new ogn,MP=new sgn}function XC(){XC=F,XZn=new $gn,zZn=new xgn}function Fs(){Fs=F,YZn=new U2n,ZZn=new G2n}function vde(n){return I0(),Ee((qLn(),fne),n)}function kde(n){return tr(),Ee((zMn(),HZn),n)}function yde(n){return OT(),Ee((SNn(),GZn),n)}function jde(n){return xf(),Ee((ANn(),tne),n)}function Ede(n){return ow(),Ee((u$n(),rne),n)}function Cde(n){return DA(),Ee((Nxn(),hne),n)}function Mde(n){return Yp(),Ee((O$n(),lne),n)}function Tde(n){return QM(),Ee((eLn(),ane),n)}function Ade(n){return i5(),Ee((KLn(),dne),n)}function Sde(n){return bT(),Ee((_Ln(),bne),n)}function Pde(n){return o1(),Ee((o$n(),wne),n)}function Ide(n){return bk(),Ee((nLn(),gne),n)}function Ode(n){return ym(),Ee((N$n(),jne),n)}function Dde(n){return pr(),Ee((lFn(),Ene),n)}function Lde(n){return Y4(),Ee((GLn(),Cne),n)}function Nde(n){return vl(),Ee((ULn(),Tne),n)}function $de(n){return KM(),Ee((oLn(),Ane),n)}function xde(n){return Xk(),Ee((L$n(),yne),n)}function Fde(n){return hd(),Ee((HLn(),mne),n)}function Bde(n){return vA(),Ee((D$n(),vne),n)}function Rde(n){return ok(),Ee((ZDn(),kne),n)}function Kde(n){return Yo(),Ee((f$n(),Sne),n)}function _de(n){return a1(),Ee((zxn(),Yte),n)}function Hde(n){return d5(),Ee((zLn(),Zte),n)}function qde(n){return cw(),Ee((PNn(),nie),n)}function Ude(n){return E5(),Ee((s$n(),eie),n)}function Gde(n){return ps(),Ee((aFn(),tie),n)}function zde(n){return lh(),Ee((INn(),iie),n)}function Xde(n){return ak(),Ee((tLn(),rie),n)}function Vde(n){return gr(),Ee((WLn(),uie),n)}function Wde(n){return ST(),Ee((XLn(),oie),n)}function Jde(n){return h5(),Ee((VLn(),sie),n)}function Qde(n){return um(),Ee((QLn(),fie),n)}function Yde(n){return dT(),Ee((JLn(),hie),n)}function Zde(n){return DT(),Ee((YLn(),lie),n)}function n0e(n){return P0(),Ee((uNn(),Aie),n)}function e0e(n){return Q6(),Ee((iLn(),Die),n)}function t0e(n){return fh(),Ee((rLn(),Rie),n)}function i0e(n){return Pf(),Ee((cLn(),_ie),n)}function r0e(n){return af(),Ee((uLn(),tre),n)}function c0e(n){return E0(),Ee((sLn(),fre),n)}function u0e(n){return Qp(),Ee((FNn(),hre),n)}function o0e(n){return B5(),Ee((XMn(),lre),n)}function s0e(n){return l5(),Ee((ZLn(),are),n)}function f0e(n){return a5(),Ee((xNn(),$re),n)}function h0e(n){return FM(),Ee((hLn(),xre),n)}function l0e(n){return yT(),Ee((lLn(),_re),n)}function a0e(n){return wA(),Ee((h$n(),qre),n)}function d0e(n){return Sk(),Ee((nNn(),Gre),n)}function b0e(n){return ZM(),Ee((fLn(),Ure),n)}function w0e(n){return sA(),Ee(($Nn(),lce),n)}function g0e(n){return AT(),Ee((eNn(),ace),n)}function p0e(n){return XT(),Ee((tNn(),dce),n)}function m0e(n){return rA(),Ee((iNn(),wce),n)}function v0e(n){return _T(),Ee((rNn(),mce),n)}function k0e(n){return GM(),Ee((aLn(),Rce),n)}function y0e(n){return X4(),Ee((YDn(),_Zn),n)}function j0e(n){return Vn(),Ee(($$n(),xZn),n)}function E0e(n){return nT(),Ee((cNn(),Kce),n)}function C0e(n){return N$(),Ee((dLn(),_ce),n)}function M0e(n){return N5(),Ee((l$n(),qce),n)}function T0e(n){return nC(),Ee((PDn(),Gce),n)}function A0e(n){return Nk(),Ee((dNn(),Uce),n)}function S0e(n){return eC(),Ee((IDn(),Xce),n)}function P0e(n){return tk(),Ee((bLn(),Vce),n)}function I0e(n){return Wk(),Ee((a$n(),Wce),n)}function O0e(n){return u6(),Ee((ODn(),lue),n)}function D0e(n){return Ck(),Ee((wLn(),aue),n)}function L0e(n){return pf(),Ee((b$n(),mue),n)}function N0e(n){return l1(),Ee((Dxn(),kue),n)}function $0e(n){return Rh(),Ee((x$n(),yue),n)}function x0e(n){return wd(),Ee((F$n(),Aue),n)}function F0e(n){return ci(),Ee((d$n(),zue),n)}function B0e(n){return $f(),Ee((bNn(),Xue),n)}function R0e(n){return El(),Ee((BNn(),Vue),n)}function K0e(n){return pA(),Ee((B$n(),Wue),n)}function _0e(n){return jl(),Ee((aNn(),Que),n)}function H0e(n){return To(),Ee((RNn(),Zue),n)}function q0e(n){return lw(),Ee((Vxn(),noe),n)}function U0e(n){return Bg(),Ee((w$n(),eoe),n)}function G0e(n){return Oi(),Ee((R$n(),toe),n)}function z0e(n){return zu(),Ee((K$n(),ioe),n)}function X0e(n){return en(),Ee((g$n(),roe),n)}function V0e(n){return go(),Ee((KNn(),foe),n)}function W0e(n){return io(),Ee((Xxn(),hoe),n)}function J0e(n){return Gp(),Ee((wNn(),loe),n)}function Q0e(n,e){return Jn(n),n+(Jn(e),e)}function Y0e(n){return RL(),Ee((gLn(),aoe),n)}function Z0e(n){return qT(),Ee((_Nn(),doe),n)}function nbe(n){return LT(),Ee((HNn(),goe),n)}function v4(){v4=F,nln=(en(),Wn),II=Zn}function RL(){RL=F,mdn=new XSn,vdn=new DPn}function ebe(n){return!n.e&&(n.e=new Z),n.e}function KL(n,e){this.c=n,this.a=e,this.b=e-n}function mSn(n,e,t){this.a=n,this.b=e,this.c=t}function _L(n,e,t){this.a=n,this.b=e,this.c=t}function xV(n,e,t){this.a=n,this.b=e,this.c=t}function FV(n,e,t){this.a=n,this.b=e,this.c=t}function vSn(n,e,t){this.a=n,this.b=e,this.c=t}function kSn(n,e,t){this.a=n,this.b=e,this.c=t}function Xl(n,e,t){this.e=n,this.a=e,this.c=t}function ySn(n,e,t){Ko(),eJ.call(this,n,e,t)}function HL(n,e,t){Ko(),BW.call(this,n,e,t)}function BV(n,e,t){Ko(),BW.call(this,n,e,t)}function RV(n,e,t){Ko(),BW.call(this,n,e,t)}function jSn(n,e,t){Ko(),HL.call(this,n,e,t)}function KV(n,e,t){Ko(),HL.call(this,n,e,t)}function ESn(n,e,t){Ko(),KV.call(this,n,e,t)}function CSn(n,e,t){Ko(),BV.call(this,n,e,t)}function MSn(n,e,t){Ko(),RV.call(this,n,e,t)}function qL(n){iM.call(this,n.d,n.c,n.a,n.b)}function _V(n){iM.call(this,n.d,n.c,n.a,n.b)}function HV(n){this.d=n,r9n(this),this.b=nwe(n.d)}function tbe(n){return Em(),Ee((Lxn(),Poe),n)}function N7(n,e){return Se(n),Se(e),new LEn(n,e)}function Cp(n,e){return Se(n),Se(e),new BSn(n,e)}function ibe(n,e){return Se(n),Se(e),new RSn(n,e)}function rbe(n,e){return Se(n),Se(e),new HEn(n,e)}function UL(n){return oe(n.b!=0),Xo(n,n.a.a)}function cbe(n){return oe(n.b!=0),Xo(n,n.c.b)}function ube(n){return!n.c&&(n.c=new V3),n.c}function k4(n){var e;return e=new Z,b$(e,n),e}function obe(n){var e;return e=new ni,b$(e,n),e}function TSn(n){var e;return e=new UG,A$(e,n),e}function $7(n){var e;return e=new Ct,A$(e,n),e}function u(n,e){return N6(n==null||Tx(n,e)),n}function sbe(n,e,t){MPn.call(this,e,t),this.a=n}function ASn(n,e){this.c=n,this.b=e,this.a=!1}function SSn(){this.a=";,;",this.b="",this.c=""}function PSn(n,e,t){this.b=n,KMn.call(this,e,t)}function qV(n,e,t){this.c=n,uC.call(this,e,t)}function UV(n,e,t){a4.call(this,n,e),this.b=t}function GV(n,e,t){xnn(t,0,n,e,t.length,!1)}function Lh(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function zV(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function fbe(n,e){e&&(n.b=e,n.a=(X1(e),e.a))}function x7(n,e){if(!n)throw M(new Gn(e))}function Mp(n,e){if(!n)throw M(new Or(e))}function XV(n,e){if(!n)throw M(new Fjn(e))}function hbe(n,e){return YE(),jc(n.d.p,e.d.p)}function lbe(n,e){return kl(),bt(n.e.b,e.e.b)}function abe(n,e){return kl(),bt(n.e.a,e.e.a)}function dbe(n,e){return jc(USn(n.d),USn(e.d))}function VC(n,e){return e&&mM(n,e.d)?e:null}function bbe(n,e){return e==(en(),Wn)?n.c:n.d}function VV(n){return Y1(dwe(Vr(n)?ds(n):n))}function wbe(n){return new V(n.c+n.b,n.d+n.a)}function ISn(n){return n!=null&&!lx(n,O9,D9)}function gbe(n,e){return(sBn(n)<<4|sBn(e))&ui}function OSn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function WV(n){var e,t;e=n.b,t=n.c,n.b=t,n.c=e}function JV(n){var e,t;t=n.d,e=n.a,n.d=e,n.a=t}function pbe(n,e){var t;return t=n.c,SQ(n,e),t}function QV(n,e){return e<0?n.g=-1:n.g=e,n}function WC(n,e){return Mme(n),n.a*=e,n.b*=e,n}function DSn(n,e,t){T$n.call(this,e,t),this.d=n}function F7(n,e,t){gX.call(this,n,e),this.c=t}function JC(n,e,t){gX.call(this,n,e),this.c=t}function YV(n){IV(),CE.call(this),this.ci(n)}function LSn(){N4(),Bwe.call(this,(R1(),Ps))}function NSn(n){return nt(),new Nh(0,n)}function $Sn(){$Sn=F,TU=(Dn(),new nD(IK))}function QC(){QC=F,new fZ((bD(),HK),(dD(),_K))}function xSn(){xSn=F,wun=K(Gi,J,17,256,0,1)}function FSn(){this.b=$(R(rn((Us(),y_))))}function GL(n){this.b=n,this.a=Ja(this.b.a).Od()}function BSn(n,e){this.b=n,this.a=e,GO.call(this)}function RSn(n,e){this.a=n,this.b=e,GO.call(this)}function KSn(n,e,t){this.a=n,pg.call(this,e,t)}function _Sn(n,e,t){this.a=n,pg.call(this,e,t)}function y4(n,e,t){var i;i=new qb(t),bf(n,e,i)}function ZV(n,e,t){var i;return i=n[e],n[e]=t,i}function YC(n){var e;return e=n.slice(),o$(e,n)}function ZC(n){var e;return e=n.n,n.a.b+e.d+e.a}function HSn(n){var e;return e=n.n,n.e.b+e.d+e.a}function nW(n){var e;return e=n.n,n.e.a+e.b+e.c}function eW(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function Fe(n,e){return xt(n,e,n.c.b,n.c),!0}function mbe(n){return n.a?n.a:vN(n)}function vbe(n){return Lp(),Kh(n)==At(ra(n))}function kbe(n){return Lp(),ra(n)==At(Kh(n))}function l0(n,e){return S5(n,new a4(e.a,e.b))}function ybe(n,e){return kM(),Nx(n,e),new hIn(n,e)}function jbe(n,e){return n.c=e)throw M(new QG)}function _b(n,e){return Dk(n,(Jn(e),new l9n(e)))}function Ap(n,e){return Dk(n,(Jn(e),new a9n(e)))}function APn(n,e,t){return VLe(n,u(e,12),u(t,12))}function SPn(n){return Ou(),u(n,12).g.c.length!=0}function PPn(n){return Ou(),u(n,12).e.c.length!=0}function uwe(n,e){return Hp(),bt(e.a.o.a,n.a.o.a)}function owe(n,e){e.Bb&kc&&!n.a.o&&(n.a.o=e)}function swe(n,e){e.Ug("General 'Rotator",1),jDe(n)}function fwe(n,e,t){e.qf(t,$(R(ee(n.b,t)))*n.a)}function IPn(n,e,t){return Vg(),V4(n,e)&&V4(n,t)}function B6(n){return zu(),!n.Hc(Fl)&&!n.Hc(Ia)}function hwe(n){return n.e?HJ(n.e):null}function R6(n){return Vr(n)?""+n:$qn(n)}function kW(n){var e;for(e=n;e.f;)e=e.f;return e}function lwe(n,e,t){return $t(e,0,uW(e[0],t[0])),e}function Vl(n,e,t,i){var r;r=n.i,r.i=e,r.a=t,r.b=i}function q(n,e,t,i){ti.call(this,n,e,t),this.b=i}function Ci(n,e,t,i,r){c$.call(this,n,e,t,i,r,-1)}function K6(n,e,t,i,r){rk.call(this,n,e,t,i,r,-1)}function dM(n,e,t,i){F7.call(this,n,e,t),this.b=i}function OPn(n){SMn.call(this,n,!1),this.a=!1}function DPn(){oMn.call(this,"LOOKAHEAD_LAYOUT",1)}function LPn(n){this.b=n,kp.call(this,n),BTn(this)}function NPn(n){this.b=n,M7.call(this,n),RTn(this)}function Hb(n,e,t){this.a=n,jp.call(this,e,t,5,6)}function yW(n,e,t,i){this.b=n,ti.call(this,e,t,i)}function $Pn(n,e){this.b=n,_8n.call(this,n.b),this.a=e}function xPn(n){this.a=vRn(n.a),this.b=new _u(n.b)}function jW(n,e){g0(),Hhe.call(this,n,FT(new Ku(e)))}function bM(n,e){return nt(),new FW(n,e,0)}function rN(n,e){return nt(),new FW(6,n,e)}function _i(n,e){for(Jn(e);n.Ob();)e.Cd(n.Pb())}function Zc(n,e){return Ai(e)?AN(n,e):!!wr(n.f,e)}function cN(n,e){return e.Vh()?ea(n.b,u(e,54)):e}function awe(n,e){return An(n.substr(0,e.length),e)}function $h(n){return new ie(new qX(n.a.length,n.a))}function wM(n){return new V(n.c+n.b/2,n.d+n.a/2)}function dwe(n){return Yc(~n.l&ro,~n.m&ro,~n.h&Il)}function uN(n){return typeof n===my||typeof n===eB}function Hu(n){n.f=new tTn(n),n.i=new iTn(n),++n.g}function FPn(n){if(!n)throw M(new nc);return n.d}function Sp(n){var e;return e=f5(n),oe(e!=null),e}function bwe(n){var e;return e=I5e(n),oe(e!=null),e}function E4(n,e){var t;return t=n.a.gc(),FJ(e,t),t-e}function fi(n,e){var t;return t=n.a.zc(e,n),t==null}function R7(n,e){return n.a.zc(e,(_n(),ga))==null}function EW(n){return new Tn(null,vwe(n,n.length))}function CW(n,e,t){return cGn(n,u(e,42),u(t,176))}function Pp(n,e,t){return _s(n.a,e),ZV(n.b,e.g,t)}function wwe(n,e,t){j4(t,n.a.c.length),Go(n.a,t,e)}function B(n,e,t,i){$Fn(e,t,n.length),gwe(n,e,t,i)}function gwe(n,e,t,i){var r;for(r=e;r0?y.Math.log(n/e):-100}function RPn(n,e){return Ec(n,e)<0?-1:Ec(n,e)>0?1:0}function K7(n,e){ITn(n,D(e,160)?e:u(e,2036).Rl())}function SW(n,e){if(n==null)throw M(new fp(e))}function vwe(n,e){return yme(e,n.length),new zSn(n,e)}function PW(n,e){return e?Bi(n,e):!1}function kwe(){return BE(),A(T(uQn,1),G,549,0,[GK])}function H6(n){return n.e==0?n:new Ya(-n.e,n.d,n.a)}function ywe(n,e){return bt(n.c.c+n.c.b,e.c.c+e.c.b)}function _7(n,e){xt(n.d,e,n.b.b,n.b),++n.a,n.c=null}function KPn(n,e){return n.c?KPn(n.c,e):nn(n.b,e),n}function jwe(n,e,t){var i;return i=Jb(n,e),qN(n,e,t),i}function _Pn(n,e,t){var i;for(i=0;i=n.g}function $t(n,e,t){return dae(t==null||sPe(n,t)),n[e]=t}function NW(n,e){return zn(e,n.length+1),n.substr(e)}function gN(n,e){for(Jn(e);n.c=n?new Oz:Gme(n-1)}function Hi(n){return!n.a&&n.c?n.c.b:n.a}function RW(n){return D(n,616)?n:new uOn(n)}function X1(n){n.c?X1(n.c):(ta(n),n.d=!0)}function G6(n){n.c?n.c.$e():(n.d=!0,fTe(n))}function oIn(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function sIn(n){var e,t;return e=n.c.i.c,t=n.d.i.c,e==t}function _we(n,e){var t;t=n.Ih(e),t>=0?n.ki(t):Ann(n,e)}function fIn(n,e){n.c<0||n.b.b0;)n=n<<1|(n<0?1:0);return n}function pIn(n,e){var t;return t=new Lc(n),Rn(e.c,t),t}function mIn(n,e){n.u.Hc((zu(),Fl))&&zEe(n,e),h4e(n,e)}function mc(n,e){return x(n)===x(e)||n!=null&&rt(n,e)}function Cr(n,e){return JL(n.a,e)?n.b[u(e,22).g]:null}function nge(){return QE(),A(T(con,1),G,488,0,[b_])}function ege(){return nC(),A(T(N1n,1),G,489,0,[Fq])}function tge(){return eC(),A(T(zce,1),G,558,0,[Bq])}function ige(){return u6(),A(T(ean,1),G,539,0,[_j])}function yM(n){return!n.n&&(n.n=new q(Ar,n,1,7)),n.n}function mN(n){return!n.c&&(n.c=new q(Qu,n,9,9)),n.c}function qW(n){return!n.c&&(n.c=new Nn(he,n,5,8)),n.c}function rge(n){return!n.b&&(n.b=new Nn(he,n,4,7)),n.b}function H7(n){return n.j.c.length=0,GW(n.c),xae(n.a),n}function S4(n){return n.e==iv&&jfe(n,Y8e(n.g,n.b)),n.e}function q7(n){return n.f==iv&&Cfe(n,q7e(n.g,n.b)),n.f}function We(n,e,t,i){return _xn(n,e,t,!1),BT(n,i),n}function vIn(n,e){this.b=n,oN.call(this,n,e),BTn(this)}function kIn(n,e){this.b=n,AV.call(this,n,e),RTn(this)}function z6(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function UW(n,e){this.b=n,this.c=e,this.a=new dp(this.b)}function Xi(n,e){return zn(e,n.length),n.charCodeAt(e)}function cge(n,e){OY(n,$(yl(e,"x")),$(yl(e,"y")))}function uge(n,e){OY(n,$(yl(e,"x")),$(yl(e,"y")))}function ut(n,e){return ta(n),new Tn(n,new eQ(e,n.a))}function _r(n,e){return ta(n),new Tn(n,new KJ(e,n.a))}function Ub(n,e){return ta(n),new cV(n,new PLn(e,n.a))}function jM(n,e){return ta(n),new uV(n,new ILn(e,n.a))}function oge(n,e){return new UIn(u(Se(n),50),u(Se(e),50))}function sge(n,e){return bt(n.d.c+n.d.b/2,e.d.c+e.d.b/2)}function yIn(n,e,t){t.a?tu(n,e.b-n.f/2):eu(n,e.a-n.g/2)}function fge(n,e){return bt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}function hge(n,e){return Nz(),bt((Jn(n),n),(Jn(e),e))}function lge(n){return n!=null&&t7(jO,n.toLowerCase())}function GW(n){var e;for(e=n.Kc();e.Ob();)e.Pb(),e.Qb()}function Ag(n){var e;return e=n.b,!e&&(n.b=e=new L8n(n)),e}function vN(n){var e;return e=Wme(n),e||null}function jIn(n,e){var t,i;return t=n/e,i=wi(t),t>i&&++i,i}function age(n,e,t){var i;i=u(n.d.Kb(t),159),i&&i.Nb(e)}function dge(n,e,t){wIe(n.a,t),zve(t),xCe(n.b,t),xIe(e,t)}function EM(n,e,t,i){this.a=n,this.c=e,this.b=t,this.d=i}function zW(n,e,t,i){this.c=n,this.b=e,this.a=t,this.d=i}function EIn(n,e,t,i){this.c=n,this.b=e,this.d=t,this.a=i}function Ho(n,e,t,i){this.c=n,this.d=e,this.b=t,this.a=i}function CIn(n,e,t,i){this.a=n,this.d=e,this.c=t,this.b=i}function kN(n,e,t,i){this.a=n,this.e=e,this.d=t,this.c=i}function MIn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function yN(n,e,t){this.a=mtn,this.d=n,this.b=e,this.c=t}function Op(n,e,t,i){je.call(this,n,e),this.a=t,this.b=i}function TIn(n,e){this.d=(Jn(n),n),this.a=16449,this.c=e}function AIn(n){this.a=new Z,this.e=K(ye,J,53,n,0,2)}function bge(n){n.Ug("No crossing minimization",1),n.Vg()}function SIn(){ec.call(this,"There is no more element.")}function PIn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function IIn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function Za(n,e,t,i){this.e=n,this.a=e,this.c=t,this.d=i}function OIn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function DIn(n,e,t,i){Ko(),OLn.call(this,e,t,i),this.a=n}function LIn(n,e,t,i){Ko(),OLn.call(this,e,t,i),this.a=n}function jN(n,e,t){var i,r;return i=rtn(n),r=e.ti(t,i),r}function al(n){var e,t;return t=(e=new Jd,e),R4(t,n),t}function EN(n){var e,t;return t=(e=new Jd,e),snn(t,n),t}function wge(n,e){var t;return t=ee(n.f,e),_Q(e,t),null}function NIn(n){return!n.b&&(n.b=new q(Vt,n,12,3)),n.b}function $In(n){return N6(n==null||uN(n)&&n.Tm!==Q2),n}function CM(n){return n.n&&(n.e!==Fzn&&n.je(),n.j=null),n}function P4(n){if(eo(n.d),n.d.d!=n.c)throw M(new Bo)}function XW(n){return oe(n.b0&&dKn(this)}function xIn(n,e){this.a=n,bae.call(this,n,u(n.d,15).fd(e))}function gge(n,e){return bt(Su(n)*ao(n),Su(e)*ao(e))}function pge(n,e){return bt(Su(n)*ao(n),Su(e)*ao(e))}function mge(n){return R0(n)&&on(un(z(n,(cn(),Nd))))}function vge(n,e){return Pn(n,u(v(e,(cn(),Ev)),17),e)}function kge(n,e){return u(v(n,(W(),T3)),15).Fc(e),e}function VW(n,e){return n.b=e.b,n.c=e.c,n.d=e.d,n.a=e.a,n}function FIn(n,e,t,i){this.b=n,this.c=i,PC.call(this,e,t)}function yge(n,e,t){n.i=0,n.e=0,e!=t&&kFn(n,e,t)}function jge(n,e,t){n.i=0,n.e=0,e!=t&&yFn(n,e,t)}function Ege(n,e,t){return c6(),J5e(u(ee(n.e,e),529),t)}function Dp(n){var e;return e=n.f,e||(n.f=new f4(n,n.c))}function BIn(n,e){return Fg(n.j,e.s,e.c)+Fg(e.e,n.s,n.c)}function RIn(n,e){n.e&&!n.e.a&&(Tyn(n.e,e),RIn(n.e,e))}function KIn(n,e){n.d&&!n.d.a&&(Tyn(n.d,e),KIn(n.d,e))}function Cge(n,e){return-bt(Su(n)*ao(n),Su(e)*ao(e))}function Mge(n){return u(n.ld(),149).Pg()+":"+Jr(n.md())}function _In(){tF(this,new uG),this.wb=(G1(),Hn),u4()}function HIn(n){this.b=new Z,hi(this.b,this.b),this.a=n}function WW(n,e){new Ct,this.a=new Mu,this.b=n,this.c=e}function k0(){k0=F,Aun=new xU,ZK=new xU,Sun=new O0n}function Dn(){Dn=F,sr=new T0n,Wh=new S0n,hP=new P0n}function JW(){JW=F,RQn=new Z0n,_Qn=new lW,KQn=new nbn}function Lp(){Lp=F,mP=new Z,m_=new de,p_=new Z}function MM(n,e){if(n==null)throw M(new fp(e));return n}function TM(n){return!n.a&&(n.a=new q(Ye,n,10,11)),n.a}function ft(n){return!n.q&&(n.q=new q(Ss,n,11,10)),n.q}function H(n){return!n.s&&(n.s=new q(ku,n,21,17)),n.s}function Tge(n){return Se(n),PRn(new ie(ce(n.a.Kc(),new En)))}function Age(n,e){return wo(n),wo(e),xjn(u(n,22),u(e,22))}function nd(n,e,t){var i,r;i=PV(t),r=new TE(i),bf(n,e,r)}function MN(n,e,t,i,r,c){rk.call(this,n,e,t,i,r,c?-2:-1)}function qIn(n,e,t,i){gX.call(this,e,t),this.b=n,this.a=i}function UIn(n,e){Vfe.call(this,new iN(n)),this.a=n,this.b=e}function QW(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function Sge(n){Fs();var e;e=u(n.g,10),e.n.a=n.d.c+e.d.b}function I4(){I4=F;var n,e;e=!$8e(),n=new X3,VK=e?new og:n}function TN(n){return Dn(),D(n,59)?new jD(n):new FC(n)}function AM(n){return D(n,16)?new $6(u(n,16)):obe(n.Kc())}function Pge(n){return new _Tn(n,n.e.Rd().gc()*n.c.Rd().gc())}function Ige(n){return new HTn(n,n.e.Rd().gc()*n.c.Rd().gc())}function YW(n){return n&&n.hashCode?n.hashCode():f0(n)}function AN(n,e){return e==null?!!wr(n.f,null):zbe(n.i,e)}function Oge(n,e){var t;return t=NX(n.a,e),t&&(e.d=null),t}function GIn(n,e,t){return n.f?n.f.ef(e,t):!1}function U7(n,e,t,i){$t(n.c[e.g],t.g,i),$t(n.c[t.g],e.g,i)}function SN(n,e,t,i){$t(n.c[e.g],e.g,t),$t(n.b[e.g],e.g,i)}function Dge(n,e,t){return $(R(t.a))<=n&&$(R(t.b))>=e}function zIn(n,e){this.g=n,this.d=A(T(Qh,1),b1,10,0,[e])}function XIn(n){this.c=n,this.b=new Ul(u(Se(new ebn),50))}function VIn(n){this.c=n,this.b=new Ul(u(Se(new nwn),50))}function WIn(n){this.b=n,this.a=new Ul(u(Se(new Lbn),50))}function JIn(){this.b=new ni,this.d=new Ct,this.e=new YG}function ZW(){this.c=new Li,this.d=new Li,this.e=new Li}function y0(){this.a=new Mu,this.b=(Co(3,mw),new Gc(3))}function Wl(n,e){this.e=n,this.a=ki,this.b=Qqn(e),this.c=e}function SM(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function QIn(n,e,t,i,r,c){this.a=n,k$.call(this,e,t,i,r,c)}function YIn(n,e,t,i,r,c){this.a=n,k$.call(this,e,t,i,r,c)}function V1(n,e,t,i,r,c,s){return new GN(n.e,e,t,i,r,c,s)}function Lge(n,e,t){return t>=0&&An(n.substr(t,e.length),e)}function ZIn(n,e){return D(e,149)&&An(n.b,u(e,149).Pg())}function Nge(n,e){return n.a?e.Gh().Kc():u(e.Gh(),71).Ii()}function nOn(n,e){var t;return t=n.b.Qc(e),VDn(t,n.b.gc()),t}function G7(n,e){if(n==null)throw M(new fp(e));return n}function Hr(n){return n.u||(Zu(n),n.u=new LAn(n,n)),n.u}function PN(n){this.a=(Dn(),D(n,59)?new jD(n):new FC(n))}function au(n){var e;return e=u(Un(n,16),29),e||n.ii()}function PM(n,e){var t;return t=Xa(n.Rm),e==null?t:t+": "+e}function qo(n,e,t){return Fi(e,t,n.length),n.substr(e,t-e)}function eOn(n,e){HC.call(this),hQ(this),this.a=n,this.c=e}function $ge(n){n&&PM(n,n.ie())}function xge(n){_E(),y.setTimeout(function(){throw n},0)}function Fge(){return YT(),A(T(xun,1),G,436,0,[o_,$un])}function Bge(){return cT(),A(T(Bun,1),G,435,0,[Fun,s_])}function Rge(){return uT(),A(T(aon,1),G,432,0,[v_,vP])}function Kge(){return X4(),A(T(KZn,1),G,517,0,[aj,L_])}function _ge(){return ok(),A(T(xsn,1),G,487,0,[$sn,QP])}function Hge(){return bk(),A(T(Lsn,1),G,428,0,[WP,Dsn])}function qge(){return QM(),A(T(Msn,1),G,431,0,[Csn,V_])}function Uge(){return ak(),A(T(_hn,1),G,430,0,[UH,GH])}function Gge(){return Q6(),A(T(Oie,1),G,531,0,[Z8,Y8])}function zge(){return fh(),A(T(Bie,1),G,523,0,[gb,y1])}function Xge(){return Pf(),A(T(Kie,1),G,522,0,[Rd,Xf])}function Vge(){return af(),A(T(ere,1),G,528,0,[zw,Ea])}function Wge(){return KM(),A(T(Wsn,1),G,429,0,[fH,Vsn])}function Jge(){return GM(),A(T(A1n,1),G,490,0,[Nq,T1n])}function Qge(){return N$(),A(T(L1n,1),G,491,0,[O1n,D1n])}function Yge(){return FM(),A(T(xln,1),G,433,0,[dq,$ln])}function Zge(){return ZM(),A(T(Rln,1),G,434,0,[Bln,vq])}function n2e(){return E0(),A(T(sre,1),G,464,0,[Ca,I2])}function e2e(){return yT(),A(T(Fln,1),G,500,0,[RI,L2])}function t2e(){return tk(),A(T($1n,1),G,438,0,[Rq,JI])}function i2e(){return Ck(),A(T(ian,1),G,437,0,[YI,tan])}function r2e(){return RL(),A(T(dO,1),G,347,0,[mdn,vdn])}function IM(n,e,t,i){return t>=0?n.Uh(e,t,i):n.Ch(null,t,i)}function z7(n){return n.b.b==0?n.a.sf():UL(n.b)}function c2e(n){if(n.p!=5)throw M(new Cu);return Ae(n.f)}function u2e(n){if(n.p!=5)throw M(new Cu);return Ae(n.k)}function nJ(n){return x(n.a)===x((D$(),EU))&&rOe(n),n.a}function o2e(n,e){n.b=e,n.c>0&&n.b>0&&(n.g=rM(n.c,n.b,n.a))}function s2e(n,e){n.c=e,n.c>0&&n.b>0&&(n.g=rM(n.c,n.b,n.a))}function tOn(n,e){ufe(this,new V(n.a,n.b)),ofe(this,$7(e))}function j0(){Wfe.call(this,new ap(Qb(12))),RX(!0),this.a=2}function IN(n,e,t){nt(),Wd.call(this,n),this.b=e,this.a=t}function eJ(n,e,t){Ko(),DE.call(this,e),this.a=n,this.b=t}function iOn(n){var e;e=n.c.d.b,n.b=e,n.a=n.c.d,e.a=n.c.d.b=n}function f2e(n){return n.b==0?null:(oe(n.b!=0),Xo(n,n.a.a))}function Nc(n,e){return e==null?Kr(wr(n.f,null)):h6(n.i,e)}function rOn(n,e,t,i,r){return new rF(n,(F4(),i_),e,t,i,r)}function OM(n,e){return GDn(e),Lme(n,K(ye,_e,28,e,15,1),e)}function DM(n,e){return MM(n,"set1"),MM(e,"set2"),new XEn(n,e)}function h2e(n,e){var t=XK[n.charCodeAt(0)];return t??n}function cOn(n,e){var t,i;return t=e,i=new DO,LGn(n,t,i),i.d}function ON(n,e,t,i){var r;r=new xAn,e.a[t.g]=r,Pp(n.b,i,r)}function l2e(n,e){var t;return t=Ime(n.f,e),tt(_C(t),n.f.d)}function LM(n){var e;_me(n.a),aTn(n.a),e=new PE(n.a),_Y(e)}function a2e(n,e){_qn(n,!0),nu(n.e.Rf(),new LV(n,!0,e))}function d2e(n,e){return Lp(),n==At(Kh(e))||n==At(ra(e))}function b2e(n,e){return kl(),u(v(e,(lc(),Sh)),17).a==n}function wi(n){return Math.max(Math.min(n,et),-2147483648)|0}function uOn(n){this.a=u(Se(n),277),this.b=(Dn(),new zX(n))}function oOn(n,e,t){this.i=new Z,this.b=n,this.g=e,this.a=t}function tJ(n,e,t){this.a=new Z,this.e=n,this.f=e,this.c=t}function NM(n,e,t){this.c=new Z,this.e=n,this.f=e,this.b=t}function sOn(n){HC.call(this),hQ(this),this.a=n,this.c=!0}function w2e(n){function e(){}return e.prototype=n||{},new e}function g2e(n){if(n.Ae())return null;var e=n.n;return rP[e]}function X7(n){return n.Db>>16!=3?null:u(n.Cb,27)}function Sf(n){return n.Db>>16!=9?null:u(n.Cb,27)}function fOn(n){return n.Db>>16!=6?null:u(n.Cb,74)}function E0(){E0=F,Ca=new rX(s3,0),I2=new rX(f3,1)}function fh(){fh=F,gb=new eX(f3,0),y1=new eX(s3,1)}function Pf(){Pf=F,Rd=new tX(_B,0),Xf=new tX("UP",1)}function hOn(){hOn=F,oQn=Ce((BE(),A(T(uQn,1),G,549,0,[GK])))}function lOn(n){var e;return e=new GE(Qb(n.length)),nY(e,n),e}function aOn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function p2e(n,e){return Yxn(n,e)?(V$n(n),!0):!1}function dl(n,e){if(e==null)throw M(new rp);return F8e(n,e)}function V7(n,e){var t;t=n.q.getHours(),n.q.setDate(e),K5(n,t)}function iJ(n,e,t){var i;i=n.Ih(e),i>=0?n.bi(i,t):nen(n,e,t)}function dOn(n,e){var t;return t=n.Ih(e),t>=0?n.Wh(t):hF(n,e)}function bOn(n,e){var t;for(Se(e),t=n.a;t;t=t.c)e.Yd(t.g,t.i)}function DN(n,e,t){var i;i=mFn(n,e,t),n.b=new ET(i.c.length)}function Sg(n,e,t){$M(),n&&Ve(kU,n,e),n&&Ve(fE,n,t)}function m2e(n,e){return XC(),_n(),u(e.a,17).a0}function rJ(n){var e;return e=n.d,e=n.bj(n.f),ve(n,e),e.Ob()}function wOn(n,e){var t;return t=new sW(e),KKn(t,n),new _u(t)}function y2e(n){if(n.p!=0)throw M(new Cu);return j6(n.f,0)}function j2e(n){if(n.p!=0)throw M(new Cu);return j6(n.k,0)}function gOn(n){return n.Db>>16!=7?null:u(n.Cb,241)}function O4(n){return n.Db>>16!=6?null:u(n.Cb,241)}function pOn(n){return n.Db>>16!=7?null:u(n.Cb,167)}function At(n){return n.Db>>16!=11?null:u(n.Cb,27)}function Gb(n){return n.Db>>16!=17?null:u(n.Cb,29)}function mOn(n){return n.Db>>16!=3?null:u(n.Cb,155)}function cJ(n){var e;return ta(n),e=new ni,ut(n,new C9n(e))}function vOn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.ve(e))}function E2e(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),K5(n,t)}function kOn(n,e){$C(this),this.f=e,this.g=n,CM(this),this.je()}function yOn(n,e){this.a=n,this.c=Ki(this.a),this.b=new SM(e)}function jOn(n,e,t){this.a=e,this.c=n,this.b=(Se(t),new _u(t))}function EOn(n,e,t){this.a=e,this.c=n,this.b=(Se(t),new _u(t))}function COn(n){this.a=n,this.b=K(Sie,J,2043,n.e.length,0,2)}function MOn(){this.a=new rh,this.e=new ni,this.g=0,this.i=0}function $M(){$M=F,kU=new de,fE=new de,ple(MQn,new bvn)}function TOn(){TOn=F,aie=Pu(new ii,(Vi(),zr),(tr(),dj))}function uJ(){uJ=F,die=Pu(new ii,(Vi(),zr),(tr(),dj))}function AOn(){AOn=F,wie=Pu(new ii,(Vi(),zr),(tr(),dj))}function SOn(){SOn=F,Lie=Ke(new ii,(Vi(),zr),(tr(),O8))}function ko(){ko=F,xie=Ke(new ii,(Vi(),zr),(tr(),O8))}function POn(){POn=F,Fie=Ke(new ii,(Vi(),zr),(tr(),O8))}function NN(){NN=F,Hie=Ke(new ii,(Vi(),zr),(tr(),O8))}function X6(n,e,t,i,r,c){return new ml(n.e,e,n.Lj(),t,i,r,c)}function Dr(n,e,t){return e==null?Vc(n.f,null,t):L0(n.i,e,t)}function Zi(n,e){n.c&&du(n.c.g,n),n.c=e,n.c&&nn(n.c.g,n)}function $i(n,e){n.c&&du(n.c.a,n),n.c=e,n.c&&nn(n.c.a,n)}function ic(n,e){n.i&&du(n.i.j,n),n.i=e,n.i&&nn(n.i.j,n)}function Ii(n,e){n.d&&du(n.d.e,n),n.d=e,n.d&&nn(n.d.e,n)}function $N(n,e){n.a&&du(n.a.k,n),n.a=e,n.a&&nn(n.a.k,n)}function xN(n,e){n.b&&du(n.b.f,n),n.b=e,n.b&&nn(n.b.f,n)}function IOn(n,e){$we(n,n.b,n.c),u(n.b.b,68),e&&u(e.b,68).b}function C2e(n,e){return bt(u(n.c,65).c.e.b,u(e.c,65).c.e.b)}function M2e(n,e){return bt(u(n.c,65).c.e.a,u(e.c,65).c.e.a)}function T2e(n){return Y$(),_n(),u(n.a,86).d.e!=0}function xM(n,e){D(n.Cb,184)&&(u(n.Cb,184).tb=null),zc(n,e)}function FN(n,e){D(n.Cb,90)&&hw(Zu(u(n.Cb,90)),4),zc(n,e)}function A2e(n,e){DY(n,e),D(n.Cb,90)&&hw(Zu(u(n.Cb,90)),2)}function S2e(n,e){var t,i;t=e.c,i=t!=null,i&&Ip(n,new qb(e.c))}function OOn(n){var e,t;return t=(u4(),e=new Jd,e),R4(t,n),t}function DOn(n){var e,t;return t=(u4(),e=new Jd,e),R4(t,n),t}function LOn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function P2e(n,e,t){return nn(n.a,(kM(),Nx(e,t),new t0(e,t))),n}function $c(n,e){return dr(),a$(e)?new nM(e,n):new k7(e,n)}function W7(n){return dh(),Ec(n,0)>=0?ia(n):H6(ia(n1(n)))}function I2e(n){var e;return e=u(YC(n.b),9),new _o(n.a,e,n.c)}function NOn(n,e){var t;return t=u(tw(Dp(n.a),e),16),t?t.gc():0}function $On(n,e,t){var i;uBn(e,t,n.c.length),i=t-e,Sz(n.c,e,i)}function Jl(n,e,t){uBn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function Np(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function BN(n){this.a=y.Math.cos(n),this.b=y.Math.sin(n)}function ed(n,e,t,i){this.c=n,this.d=i,$N(this,e),xN(this,t)}function oJ(n,e){Xfe.call(this,new ap(Qb(n))),Co(e,Ozn),this.a=e}function xOn(n,e,t){return new rF(n,(F4(),t_),null,!1,e,t)}function FOn(n,e,t){return new rF(n,(F4(),r_),e,t,null,!1)}function O2e(){return Gu(),A(T(xr,1),G,108,0,[Nun,Yr,Aw])}function D2e(){return bu(),A(T(JQn,1),G,471,0,[kf,ma,Xs])}function L2e(){return Uu(),A(T(VQn,1),G,470,0,[Mh,pa,zs])}function N2e(){return wf(),A(T(Sw,1),G,237,0,[bc,Wc,wc])}function $2e(){return n5(),A(T(Aon,1),G,391,0,[E_,j_,C_])}function x2e(){return I0(),A(T(R_,1),G,372,0,[rb,va,ib])}function F2e(){return i5(),A(T(Asn,1),G,322,0,[L8,gj,Tsn])}function B2e(){return bT(),A(T(Psn,1),G,351,0,[Ssn,VP,W_])}function R2e(){return hd(),A(T(pne,1),G,459,0,[Y_,pv,m2])}function K2e(){return Y4(),A(T(sH,1),G,298,0,[uH,oH,pj])}function _2e(){return vl(),A(T(Mne,1),G,311,0,[mj,k2,E3])}function H2e(){return d5(),A(T(Ohn,1),G,390,0,[FH,Ihn,MI])}function q2e(){return gr(),A(T(cie,1),G,462,0,[W8,Vu,Jc])}function U2e(){return ST(),A(T(Uhn,1),G,387,0,[Hhn,zH,qhn])}function G2e(){return h5(),A(T(Ghn,1),G,349,0,[VH,XH,Pj])}function z2e(){return um(),A(T(Xhn,1),G,350,0,[WH,zhn,J8])}function X2e(){return dT(),A(T(Jhn,1),G,352,0,[Whn,JH,Vhn])}function V2e(){return DT(),A(T(Qhn,1),G,388,0,[QH,Iv,Gw])}function W2e(){return P0(),A(T(Tie,1),G,463,0,[Ij,Q8,PI])}function If(n){return cc(A(T(Ei,1),J,8,0,[n.i.n,n.n,n.a]))}function J2e(){return l5(),A(T(bln,1),G,392,0,[dln,nq,Dj])}function BOn(){BOn=F,Fre=Pu(new ii,(Qp(),e9),(B5(),rln))}function FM(){FM=F,dq=new cX("DFS",0),$ln=new cX("BFS",1)}function ROn(n,e,t){var i;i=new j3n,i.b=e,i.a=t,++e.b,nn(n.d,i)}function Q2e(n,e,t){var i;i=new rr(t.d),tt(i,n),OY(e,i.a,i.b)}function Y2e(n,e){DTn(n,Ae(vi(d0(e,24),YA)),Ae(vi(e,YA)))}function zb(n,e){if(n<0||n>e)throw M(new Ir(Atn+n+Stn+e))}function Ln(n,e){if(n<0||n>=e)throw M(new Ir(Atn+n+Stn+e))}function zn(n,e){if(n<0||n>=e)throw M(new wz(Atn+n+Stn+e))}function In(n,e){this.b=(Jn(n),n),this.a=e&vw?e:e|64|wh}function sJ(n){var e;return ta(n),e=(k0(),k0(),ZK),fT(n,e)}function Z2e(n,e,t){var i;return i=q5(n,e,!1),i.b<=e&&i.a<=t}function npe(){return nT(),A(T(I1n,1),G,439,0,[$q,P1n,S1n])}function epe(){return _T(),A(T(h1n,1),G,394,0,[f1n,Oq,s1n])}function tpe(){return XT(),A(T(o1n,1),G,445,0,[Fj,qI,Mq])}function ipe(){return rA(),A(T(bce,1),G,455,0,[Tq,Sq,Aq])}function rpe(){return Sk(),A(T(Hln,1),G,393,0,[KI,Kln,_ln])}function cpe(){return AT(),A(T(u1n,1),G,299,0,[Cq,c1n,r1n])}function upe(){return $f(),A(T(Yan,1),G,278,0,[xv,Jw,Fv])}function ope(){return Gp(),A(T(pdn,1),G,280,0,[gdn,Yw,aO])}function spe(){return jl(),A(T(hdn,1),G,346,0,[uO,M1,j9])}function fpe(){return Nk(),A(T(xq,1),G,444,0,[XI,VI,WI])}function C0(n){return Se(n),D(n,16)?new _u(u(n,16)):k4(n.Kc())}function fJ(n,e){return n&&n.equals?n.equals(e):x(n)===x(e)}function vi(n,e){return Y1(ewe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function lf(n,e){return Y1(twe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function RN(n,e){return Y1(iwe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function hpe(n,e){var t;return t=(Jn(n),n).g,iV(!!t),Jn(e),t(e)}function KOn(n,e){var t,i;return i=E4(n,e),t=n.a.fd(i),new GEn(n,t)}function lpe(n){return n.Db>>16!=6?null:u(dF(n),241)}function ape(n){if(n.p!=2)throw M(new Cu);return Ae(n.f)&ui}function dpe(n){if(n.p!=2)throw M(new Cu);return Ae(n.k)&ui}function E(n){return oe(n.ai?1:0}function UOn(n,e){var t,i;return t=s$(e),i=t,u(ee(n.c,i),17).a}function KN(n,e,t){var i;i=n.d[e.p],n.d[e.p]=n.d[t.p],n.d[t.p]=i}function Cpe(n,e,t){var i;n.n&&e&&t&&(i=new cvn,nn(n.e,i))}function _N(n,e){if(fi(n.a,e),e.d)throw M(new ec(nXn));e.d=n}function aJ(n,e){this.a=new Z,this.d=new Z,this.f=n,this.c=e}function GOn(){this.c=new STn,this.a=new NLn,this.b=new zyn,hCn()}function zOn(){qp(),this.b=new de,this.a=new de,this.c=new Z}function XOn(n,e,t){this.d=n,this.j=e,this.e=t,this.o=-1,this.p=3}function VOn(n,e,t){this.d=n,this.k=e,this.f=t,this.o=-1,this.p=5}function WOn(n,e,t,i,r,c){aQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function JOn(n,e,t,i,r,c){dQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function QOn(n,e,t,i,r,c){IJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function YOn(n,e,t,i,r,c){gQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function ZOn(n,e,t,i,r,c){OJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function nDn(n,e,t,i,r,c){bQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function eDn(n,e,t,i,r,c){wQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function tDn(n,e,t,i,r,c){DJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function iDn(n,e,t,i){DE.call(this,t),this.b=n,this.c=e,this.d=i}function rDn(n,e){this.f=n,this.a=(N4(),MO),this.c=MO,this.b=e}function cDn(n,e){this.g=n,this.d=(N4(),TO),this.a=TO,this.b=e}function dJ(n,e){!n.c&&(n.c=new Rt(n,0)),HA(n.c,(at(),N9),e)}function Mpe(n,e){return oMe(n,e,D(e,102)&&(u(e,19).Bb&hr)!=0)}function Tpe(n,e){return RPn(vc(n.q.getTime()),vc(e.q.getTime()))}function uDn(n){return XL(n.e.Rd().gc()*n.c.Rd().gc(),16,new I8n(n))}function Ape(n){return!!n.u&&Sc(n.u.a).i!=0&&!(n.n&&Ix(n.n))}function Spe(n){return!!n.a&&no(n.a.a).i!=0&&!(n.b&&Ox(n.b))}function bJ(n,e){return e==0?!!n.o&&n.o.f!=0:Cx(n,e)}function Ppe(n,e,t){var i;return i=u(n.Zb().xc(e),16),!!i&&i.Hc(t)}function oDn(n,e,t){var i;return i=u(n.Zb().xc(e),16),!!i&&i.Mc(t)}function sDn(n,e){var t;return t=1-e,n.a[t]=jT(n.a[t],t),jT(n,e)}function fDn(n,e){var t,i;return i=vi(n,mr),t=Bs(e,32),lf(t,i)}function hDn(n,e,t){var i;i=(Se(n),new _u(n)),O7e(new jOn(i,e,t))}function J7(n,e,t){var i;i=(Se(n),new _u(n)),D7e(new EOn(i,e,t))}function fc(n,e,t,i,r,c){return _xn(n,e,t,c),EY(n,i),CY(n,r),n}function lDn(n,e,t,i){return n.a+=""+qo(e==null?gu:Jr(e),t,i),n}function xi(n,e){this.a=n,Gv.call(this,n),zb(e,n.gc()),this.b=e}function aDn(n){this.a=K(ki,Fn,1,JQ(y.Math.max(8,n))<<1,5,1)}function Q7(n){return u(Ff(n,K(Qh,b1,10,n.c.length,0,1)),199)}function hh(n){return u(Ff(n,K(O_,rR,18,n.c.length,0,1)),482)}function dDn(n){return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function V6(n){for(;n.d>0&&n.a[--n.d]==0;);n.a[n.d++]==0&&(n.e=0)}function bDn(n){return oe(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function Ipe(n,e,t){n.a=e,n.c=t,n.b.a.$b(),vo(n.d),Ab(n.e.a.c,0)}function wDn(n,e){var t;n.e=new cz,t=aw(e),Yt(t,n.c),Iqn(n,t,0)}function ri(n,e,t,i){var r;r=new ZU,r.a=e,r.b=t,r.c=i,Fe(n.a,r)}function Q(n,e,t,i){var r;r=new ZU,r.a=e,r.b=t,r.c=i,Fe(n.b,r)}function gDn(n,e,t){if(n<0||et)throw M(new Ir(qje(n,e,t)))}function Y7(n,e){if(n<0||n>=e)throw M(new Ir(kEe(n,e)));return n}function Ope(n){if(!("stack"in n))try{throw n}catch{}return n}function Pg(n){return c6(),D(n.g,10)?u(n.g,10):null}function Dpe(n){return Ag(n).dc()?!1:(e1e(n,new Pr),!0)}function id(n){var e;return Vr(n)?(e=n,e==-0?0:e):X4e(n)}function pDn(n,e){return D(e,44)?xx(n.a,u(e,44)):!1}function mDn(n,e){return D(e,44)?xx(n.a,u(e,44)):!1}function vDn(n,e){return D(e,44)?xx(n.a,u(e,44)):!1}function wJ(n){var e;return X1(n),e=new D0n,lg(n.a,new y9n(e)),e}function gJ(){var n,e,t;return e=(t=(n=new Jd,n),t),nn(Zdn,e),e}function BM(n){var e;return X1(n),e=new L0n,lg(n.a,new j9n(e)),e}function Lpe(n,e){return n.a<=n.b?(e.Dd(n.a++),!0):!1}function kDn(n){P$.call(this,n,(F4(),e_),null,!1,null,!1)}function yDn(){yDn=F,SYn=Ce((QE(),A(T(con,1),G,488,0,[b_])))}function jDn(){jDn=F,Zhn=bIn(Y(1),Y(4)),Yhn=bIn(Y(1),Y(2))}function Npe(n,e){return new _L(e,O6(Ki(e.e),n,n),(_n(),!0))}function RM(n){return new Gc((Co(n,cB),oT(nr(nr(5,n),n/10|0))))}function $pe(n){return XL(n.e.Rd().gc()*n.c.Rd().gc(),273,new P8n(n))}function EDn(n){return u(Ff(n,K(FZn,DXn,12,n.c.length,0,1)),2042)}function xpe(n){return ko(),!fr(n)&&!(!fr(n)&&n.c.i.c==n.d.i.c)}function Fpe(n,e){return _p(),u(v(e,(lc(),O2)),17).a>=n.gc()}function W6(n,e){vLe(e,n),WV(n.d),WV(u(v(n,(cn(),mI)),214))}function HN(n,e){kLe(e,n),JV(n.d),JV(u(v(n,(cn(),mI)),214))}function Bpe(n,e,t){n.d&&du(n.d.e,n),n.d=e,n.d&&a0(n.d.e,t,n)}function Rpe(n,e,t){return t.f.c.length>0?CW(n.a,e,t):CW(n.b,e,t)}function Kpe(n,e,t){var i;i=i9e();try{return Aae(n,e,t)}finally{D3e(i)}}function M0(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=t.pe()),i}function J6(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=t.se()),i}function D4(n,e){var t,i;return t=Jb(n,e),i=null,t&&(i=t.se()),i}function bl(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=wnn(t)),i}function _pe(n,e,t){var i;return i=bm(t),FA(n.g,i,e),FA(n.i,e,t),e}function pJ(n,e,t){this.d=new N7n(this),this.e=n,this.i=e,this.f=t}function CDn(n,e,t,i){this.e=null,this.c=n,this.d=e,this.a=t,this.b=i}function MDn(n,e,t,i){jTn(this),this.c=n,this.e=e,this.f=t,this.b=i}function mJ(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function TDn(n,e,t,i){return D(t,59)?new tAn(n,e,t,i):new mW(n,e,t,i)}function L4(n){return D(n,16)?u(n,16).dc():!n.Kc().Ob()}function ADn(n){if(n.e.g!=n.b)throw M(new Bo);return!!n.c&&n.d>0}function be(n){return oe(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function vJ(n,e){Jn(e),$t(n.a,n.c,e),n.c=n.c+1&n.a.length-1,WRn(n)}function W1(n,e){Jn(e),n.b=n.b-1&n.a.length-1,$t(n.a,n.b,e),WRn(n)}function SDn(n){var e;e=n.Gh(),this.a=D(e,71)?u(e,71).Ii():e.Kc()}function Hpe(n){return new In(Ame(u(n.a.md(),16).gc(),n.a.ld()),16)}function PDn(){PDn=F,Gce=Ce((nC(),A(T(N1n,1),G,489,0,[Fq])))}function IDn(){IDn=F,Xce=Ce((eC(),A(T(zce,1),G,558,0,[Bq])))}function ODn(){ODn=F,lue=Ce((u6(),A(T(ean,1),G,539,0,[_j])))}function qpe(){return dd(),A(T(Oon,1),G,389,0,[Ow,Ion,P_,I_])}function Upe(){return F4(),A(T(lP,1),G,303,0,[e_,t_,i_,r_])}function Gpe(){return Vp(),A(T(EYn,1),G,332,0,[cj,rj,uj,oj])}function zpe(){return C5(),A(T(TYn,1),G,406,0,[sj,wP,gP,fj])}function Xpe(){return D0(),A(T(yYn,1),G,417,0,[ij,tj,a_,d_])}function Vpe(){return Z4(),A(T(MZn,1),G,416,0,[tb,Iw,Pw,d2])}function Wpe(){return xf(),A(T(ene,1),G,421,0,[j3,hv,lv,B_])}function Jpe(){return OT(),A(T(UZn,1),G,371,0,[F_,HP,qP,bj])}function Qpe(){return cw(),A(T(RH,1),G,203,0,[TI,BH,P2,S2])}function Ype(){return lh(),A(T(Khn,1),G,284,0,[k1,Rhn,HH,qH])}function Zpe(n){var e;return n.j==(en(),ae)&&(e=mHn(n),Au(e,Zn))}function n3e(n,e){var t;t=e.a,Zi(t,e.c.d),Ii(t,e.d.d),nw(t.a,n.n)}function kJ(n,e){var t;return t=u(Nf(n.b,e),67),!t&&(t=new Ct),t}function xp(n){return c6(),D(n.g,154)?u(n.g,154):null}function e3e(n){n.a=null,n.e=null,Ab(n.b.c,0),Ab(n.f.c,0),n.c=null}function KM(){KM=F,fH=new Yz(Hm,0),Vsn=new Yz("TOP_LEFT",1)}function Q6(){Q6=F,Z8=new nX("UPPER",0),Y8=new nX("LOWER",1)}function t3e(n,e){return vp(new V(e.e.a+e.f.a/2,e.e.b+e.f.b/2),n)}function DDn(n,e){return u(ho(_b(u(ot(n.k,e),15).Oc(),w2)),113)}function LDn(n,e){return u(ho(Ap(u(ot(n.k,e),15).Oc(),w2)),113)}function i3e(){return Qp(),A(T(tln,1),G,405,0,[LI,n9,e9,t9])}function r3e(){return a5(),A(T(Nln,1),G,353,0,[aq,BI,lq,hq])}function c3e(){return sA(),A(T(i1n,1),G,354,0,[Eq,e1n,t1n,n1n])}function u3e(){return go(),A(T(A9,1),G,386,0,[iE,Gd,tE,Qw])}function o3e(){return To(),A(T(Yue,1),G,290,0,[Zj,nl,Aa,Yj])}function s3e(){return El(),A(T(lU,1),G,223,0,[hU,Qj,Bv,x3])}function f3e(){return qT(),A(T(Edn,1),G,320,0,[bU,kdn,jdn,ydn])}function h3e(){return LT(),A(T(woe,1),G,415,0,[wU,Mdn,Cdn,Tdn])}function l3e(n){return $M(),Zc(kU,n)?u(ee(kU,n),341).Qg():null}function Uo(n,e,t){return e<0?hF(n,t):u(t,69).wk().Bk(n,n.hi(),e)}function a3e(n,e,t){var i;return i=bm(t),FA(n.j,i,e),Ve(n.k,e,t),e}function d3e(n,e,t){var i;return i=bm(t),FA(n.d,i,e),Ve(n.e,e,t),e}function NDn(n){var e,t;return e=(B1(),t=new HO,t),n&&AA(e,n),e}function yJ(n){var e;return e=n.aj(n.i),n.i>0&&Ic(n.g,0,e,0,n.i),e}function $Dn(n,e){var t;for(t=n.j.c.length;t>24}function w3e(n){if(n.p!=1)throw M(new Cu);return Ae(n.k)<<24>>24}function g3e(n){if(n.p!=7)throw M(new Cu);return Ae(n.k)<<16>>16}function p3e(n){if(n.p!=7)throw M(new Cu);return Ae(n.f)<<16>>16}function Ig(n,e){return e.e==0||n.e==0?T8:(Tm(),vF(n,e))}function BDn(n,e){return x(e)===x(n)?"(this Map)":e==null?gu:Jr(e)}function m3e(n,e,t){return tN(R(Kr(wr(n.f,e))),R(Kr(wr(n.f,t))))}function v3e(n,e,t){var i;i=u(ee(n.g,t),60),nn(n.a.c,new bi(e,i))}function RDn(n,e,t){n.i=0,n.e=0,e!=t&&(yFn(n,e,t),kFn(n,e,t))}function k3e(n,e,t,i,r){var c;c=yMe(r,t,i),nn(e,dEe(r,c)),rje(n,r,e)}function jJ(n,e,t,i,r){this.i=n,this.a=e,this.e=t,this.j=i,this.f=r}function KDn(n,e){ZW.call(this),this.a=n,this.b=e,nn(this.a.b,this)}function _Dn(n){this.b=new de,this.c=new de,this.d=new de,this.a=n}function HDn(n,e){var t;return t=new fg,n.Gd(t),t.a+="..",e.Hd(t),t.a}function qDn(n,e){var t;for(t=e;t;)h0(n,t.i,t.j),t=At(t);return n}function UDn(n,e,t){var i;return i=bm(t),Ve(n.b,i,e),Ve(n.c,e,t),e}function wl(n){var e;for(e=0;n.Ob();)n.Pb(),e=nr(e,1);return oT(e)}function Fh(n,e){dr();var t;return t=u(n,69).vk(),kje(t,e),t.xl(e)}function y3e(n,e,t){if(t){var i=t.oe();n.a[e]=i(t)}else delete n.a[e]}function EJ(n,e){var t;t=n.q.getHours(),n.q.setFullYear(e+ha),K5(n,t)}function j3e(n,e){return u(e==null?Kr(wr(n.f,null)):h6(n.i,e),288)}function CJ(n,e){return n==(Vn(),zt)&&e==zt?4:n==zt||e==zt?8:32}function _M(n,e,t){return RA(n,e,t,D(e,102)&&(u(e,19).Bb&hr)!=0)}function E3e(n,e,t){return Im(n,e,t,D(e,102)&&(u(e,19).Bb&hr)!=0)}function C3e(n,e,t){return bMe(n,e,t,D(e,102)&&(u(e,19).Bb&hr)!=0)}function MJ(n){n.b!=n.c&&(n.a=K(ki,Fn,1,8,5,1),n.b=0,n.c=0)}function Y6(n){return oe(n.a=0&&n.a[t]===e[t];t--);return t<0}function HM(n){var e;return n?new sW(n):(e=new rh,A$(e,n),e)}function O3e(n,e){var t,i;i=!1;do t=hFn(n,e),i=i|t;while(t);return i}function D3e(n){n&&rme((lz(),uun)),--cP,n&&uP!=-1&&(Ele(uP),uP=-1)}function qM(n){ZZ(),DTn(this,Ae(vi(d0(n,24),YA)),Ae(vi(n,YA)))}function WDn(){WDn=F,HQn=Ce((YT(),A(T(xun,1),G,436,0,[o_,$un])))}function JDn(){JDn=F,qQn=Ce((cT(),A(T(Bun,1),G,435,0,[Fun,s_])))}function QDn(){QDn=F,GYn=Ce((uT(),A(T(aon,1),G,432,0,[v_,vP])))}function YDn(){YDn=F,_Zn=Ce((X4(),A(T(KZn,1),G,517,0,[aj,L_])))}function ZDn(){ZDn=F,kne=Ce((ok(),A(T(xsn,1),G,487,0,[$sn,QP])))}function nLn(){nLn=F,gne=Ce((bk(),A(T(Lsn,1),G,428,0,[WP,Dsn])))}function eLn(){eLn=F,ane=Ce((QM(),A(T(Msn,1),G,431,0,[Csn,V_])))}function tLn(){tLn=F,rie=Ce((ak(),A(T(_hn,1),G,430,0,[UH,GH])))}function iLn(){iLn=F,Die=Ce((Q6(),A(T(Oie,1),G,531,0,[Z8,Y8])))}function rLn(){rLn=F,Rie=Ce((fh(),A(T(Bie,1),G,523,0,[gb,y1])))}function cLn(){cLn=F,_ie=Ce((Pf(),A(T(Kie,1),G,522,0,[Rd,Xf])))}function uLn(){uLn=F,tre=Ce((af(),A(T(ere,1),G,528,0,[zw,Ea])))}function oLn(){oLn=F,Ane=Ce((KM(),A(T(Wsn,1),G,429,0,[fH,Vsn])))}function sLn(){sLn=F,fre=Ce((E0(),A(T(sre,1),G,464,0,[Ca,I2])))}function fLn(){fLn=F,Ure=Ce((ZM(),A(T(Rln,1),G,434,0,[Bln,vq])))}function hLn(){hLn=F,xre=Ce((FM(),A(T(xln,1),G,433,0,[dq,$ln])))}function lLn(){lLn=F,_re=Ce((yT(),A(T(Fln,1),G,500,0,[RI,L2])))}function aLn(){aLn=F,Rce=Ce((GM(),A(T(A1n,1),G,490,0,[Nq,T1n])))}function dLn(){dLn=F,_ce=Ce((N$(),A(T(L1n,1),G,491,0,[O1n,D1n])))}function bLn(){bLn=F,Vce=Ce((tk(),A(T($1n,1),G,438,0,[Rq,JI])))}function wLn(){wLn=F,aue=Ce((Ck(),A(T(ian,1),G,437,0,[YI,tan])))}function gLn(){gLn=F,aoe=Ce((RL(),A(T(dO,1),G,347,0,[mdn,vdn])))}function L3e(){return ci(),A(T(k9,1),G,88,0,[Jf,Xr,Br,Wf,us])}function N3e(){return en(),A(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])}function $3e(n,e,t){return u(e==null?Vc(n.f,null,t):L0(n.i,e,t),288)}function x3e(n){return(n.k==(Vn(),zt)||n.k==Zt)&&kt(n,(W(),F8))}function XN(n){return n.c&&n.d?lJ(n.c)+"->"+lJ(n.d):"e_"+f0(n)}function qi(n,e){var t,i;for(Jn(e),i=n.Kc();i.Ob();)t=i.Pb(),e.Cd(t)}function F3e(n,e){var t;t=new sp,nd(t,"x",e.a),nd(t,"y",e.b),Ip(n,t)}function B3e(n,e){var t;t=new sp,nd(t,"x",e.a),nd(t,"y",e.b),Ip(n,t)}function pLn(n,e){var t;for(t=e;t;)h0(n,-t.i,-t.j),t=At(t);return n}function AJ(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function Go(n,e,t){var i;return i=(Ln(e,n.c.length),n.c[e]),n.c[e]=t,i}function SJ(n,e,t){n.a.c.length=0,fOe(n,e,t),n.a.c.length==0||FSe(n,e)}function Z7(n){n.i=0,u7(n.b,null),u7(n.c,null),n.a=null,n.e=null,++n.g}function UM(){UM=F,Uf=!0,DQn=!1,LQn=!1,$Qn=!1,NQn=!1}function VN(n){UM(),!Uf&&(this.c=n,this.e=!0,this.a=new Z)}function mLn(n,e){this.c=0,this.b=e,_Mn.call(this,n,17493),this.a=this.c}function vLn(n){jzn(),Ayn(this),this.a=new Ct,oY(this,n),Fe(this.a,n)}function kLn(){pL(this),this.b=new V(St,St),this.a=new V(li,li)}function GM(){GM=F,Nq=new sX(iin,0),T1n=new sX("TARGET_WIDTH",1)}function Og(n,e){return(ta(n),o4(new Tn(n,new eQ(e,n.a)))).Bd(v3)}function R3e(){return Vi(),A(T(Son,1),G,367,0,[Vs,Jh,Oc,Kc,zr])}function K3e(){return ow(),A(T(ine,1),G,375,0,[wj,zP,XP,GP,UP])}function _3e(){return o1(),A(T(Osn,1),G,348,0,[J_,Isn,Q_,gv,wv])}function H3e(){return E5(),A(T(Lhn,1),G,323,0,[Dhn,KH,_H,X8,V8])}function q3e(){return Yo(),A(T(sfn,1),G,171,0,[jj,R8,ya,K8,xw])}function U3e(){return wA(),A(T(Hre,1),G,368,0,[pq,bq,mq,wq,gq])}function G3e(){return N5(),A(T(Hce,1),G,373,0,[N2,O3,a9,l9,Kj])}function z3e(){return Wk(),A(T(R1n,1),G,324,0,[x1n,Kq,B1n,_q,F1n])}function X3e(){return pf(),A(T(Zh,1),G,170,0,[xn,pi,Ph,Kd,E1])}function V3e(){return Bg(),A(T(C9,1),G,256,0,[Sa,nE,ldn,E9,adn])}function W3e(n){return _E(),function(){return Kpe(n,this,arguments)}}function fr(n){return!n.c||!n.d?!1:!!n.c.i&&n.c.i==n.d.i}function PJ(n,e){return D(e,143)?An(n.c,u(e,143).c):!1}function Zu(n){return n.t||(n.t=new pyn(n),p5(new Ljn(n),0,n.t)),n.t}function yLn(n){this.b=n,ne.call(this,n),this.a=u(Un(this.b.a,4),129)}function jLn(n){this.b=n,yp.call(this,n),this.a=u(Un(this.b.a,4),129)}function Rs(n,e,t,i,r){DLn.call(this,e,i,r),this.c=n,this.b=t}function IJ(n,e,t,i,r){XOn.call(this,e,i,r),this.c=n,this.a=t}function OJ(n,e,t,i,r){VOn.call(this,e,i,r),this.c=n,this.a=t}function DJ(n,e,t,i,r){DLn.call(this,e,i,r),this.c=n,this.a=t}function WN(n,e){var t;return t=u(Nf(n.d,e),23),t||u(Nf(n.e,e),23)}function ELn(n,e){var t,i;return t=e.ld(),i=n.Fe(t),!!i&&mc(i.e,e.md())}function CLn(n,e){var t;return t=e.ld(),new t0(t,n.e.pc(t,u(e.md(),16)))}function J3e(n,e){var t;return t=n.a.get(e),t??K(ki,Fn,1,0,5,1)}function MLn(n){var e;return e=n.length,An(Yn.substr(Yn.length-e,e),n)}function fe(n){if(pe(n))return n.c=n.a,n.a.Pb();throw M(new nc)}function LJ(n,e){return e==0||n.e==0?n:e>0?wqn(n,e):BBn(n,-e)}function Fp(n,e){return e==0||n.e==0?n:e>0?BBn(n,e):wqn(n,-e)}function NJ(n){ole.call(this,n==null?gu:Jr(n),D(n,82)?u(n,82):null)}function TLn(n){var e;return n.c||(e=n.r,D(e,90)&&(n.c=u(e,29))),n.c}function JN(n){var e;return e=new y0,Ur(e,n),U(e,(cn(),Fr),null),e}function ALn(n){var e,t;return e=n.c.i,t=n.d.i,e.k==(Vn(),Zt)&&t.k==Zt}function QN(n){var e,t,i;return e=n&ro,t=n>>22&ro,i=n<0?Il:0,Yc(e,t,i)}function Q3e(n){var e,t,i,r;for(t=n,i=0,r=t.length;i=0?n.Lh(i,t,!0):K0(n,e,t)}function Z3e(n,e,t){return bt(vp(gm(n),Ki(e.b)),vp(gm(n),Ki(t.b)))}function n4e(n,e,t){return bt(vp(gm(n),Ki(e.e)),vp(gm(n),Ki(t.e)))}function e4e(n,e){return y.Math.min(J1(e.a,n.d.d.c),J1(e.b,n.d.d.c))}function nk(n,e){n._i(n.i+1),S6(n,n.i,n.Zi(n.i,e)),n.Mi(n.i++,e),n.Ni()}function Z6(n){var e,t;++n.j,e=n.g,t=n.i,n.g=null,n.i=0,n.Oi(t,e),n.Ni()}function SLn(n,e,t){var i;i=new LX(n.a),u5(i,n.a.a),Vc(i.f,e,t),n.a.a=i}function $J(n,e,t,i){var r;for(r=0;re)throw M(new Ir(Enn(n,e,"index")));return n}function Yl(n,e){var t;return t=(Ln(e,n.c.length),n.c[e]),Sz(n.c,e,1),t}function BJ(n,e){var t,i;return t=(Jn(n),n),i=(Jn(e),e),t==i?0:te.p?-1:0}function xLn(n){var e;return n.a||(e=n.r,D(e,156)&&(n.a=u(e,156))),n.a}function o4e(n,e,t){var i;return++n.e,--n.f,i=u(n.d[e].gd(t),136),i.md()}function s4e(n){var e,t;return e=n.ld(),t=u(n.md(),16),N7(t.Nc(),new D8n(e))}function FLn(n,e){return Zc(n.a,e)?(Bp(n.a,e),!0):!1}function Rp(n,e,t){return Y7(e,n.e.Rd().gc()),Y7(t,n.c.Rd().gc()),n.a[e][t]}function XM(n,e,t){this.a=n,this.b=e,this.c=t,nn(n.t,this),nn(e.i,this)}function VM(n,e,t,i){this.f=n,this.e=e,this.d=t,this.b=i,this.c=i?i.d:null}function ek(){this.b=new Ct,this.a=new Ct,this.b=new Ct,this.a=new Ct}function N4(){N4=F;var n,e;MO=(u4(),e=new $E,e),TO=(n=new fD,n)}function f4e(n){var e;return ta(n),e=new PSn(n,n.a.e,n.a.d|4),new cV(n,e)}function BLn(n){var e;for(X1(n),e=0;n.a.Bd(new V0n);)e=nr(e,1);return e}function WM(n,e){return Jn(e),n.c=0,"Initial capacity must not be negative")}function JM(){JM=F,d9=new lt("org.eclipse.elk.labels.labelManager")}function RLn(){RLn=F,vsn=new Dt("separateLayerConnections",(OT(),F_))}function af(){af=F,zw=new iX("REGULAR",0),Ea=new iX("CRITICAL",1)}function tk(){tk=F,Rq=new hX("FIXED",0),JI=new hX("CENTER_NODE",1)}function QM(){QM=F,Csn=new Wz("QUADRATIC",0),V_=new Wz("SCANLINE",1)}function KLn(){KLn=F,dne=Ce((i5(),A(T(Asn,1),G,322,0,[L8,gj,Tsn])))}function _Ln(){_Ln=F,bne=Ce((bT(),A(T(Psn,1),G,351,0,[Ssn,VP,W_])))}function HLn(){HLn=F,mne=Ce((hd(),A(T(pne,1),G,459,0,[Y_,pv,m2])))}function qLn(){qLn=F,fne=Ce((I0(),A(T(R_,1),G,372,0,[rb,va,ib])))}function ULn(){ULn=F,Tne=Ce((vl(),A(T(Mne,1),G,311,0,[mj,k2,E3])))}function GLn(){GLn=F,Cne=Ce((Y4(),A(T(sH,1),G,298,0,[uH,oH,pj])))}function zLn(){zLn=F,Zte=Ce((d5(),A(T(Ohn,1),G,390,0,[FH,Ihn,MI])))}function XLn(){XLn=F,oie=Ce((ST(),A(T(Uhn,1),G,387,0,[Hhn,zH,qhn])))}function VLn(){VLn=F,sie=Ce((h5(),A(T(Ghn,1),G,349,0,[VH,XH,Pj])))}function WLn(){WLn=F,uie=Ce((gr(),A(T(cie,1),G,462,0,[W8,Vu,Jc])))}function JLn(){JLn=F,hie=Ce((dT(),A(T(Jhn,1),G,352,0,[Whn,JH,Vhn])))}function QLn(){QLn=F,fie=Ce((um(),A(T(Xhn,1),G,350,0,[WH,zhn,J8])))}function YLn(){YLn=F,lie=Ce((DT(),A(T(Qhn,1),G,388,0,[QH,Iv,Gw])))}function ZLn(){ZLn=F,are=Ce((l5(),A(T(bln,1),G,392,0,[dln,nq,Dj])))}function nNn(){nNn=F,Gre=Ce((Sk(),A(T(Hln,1),G,393,0,[KI,Kln,_ln])))}function eNn(){eNn=F,ace=Ce((AT(),A(T(u1n,1),G,299,0,[Cq,c1n,r1n])))}function tNn(){tNn=F,dce=Ce((XT(),A(T(o1n,1),G,445,0,[Fj,qI,Mq])))}function iNn(){iNn=F,wce=Ce((rA(),A(T(bce,1),G,455,0,[Tq,Sq,Aq])))}function rNn(){rNn=F,mce=Ce((_T(),A(T(h1n,1),G,394,0,[f1n,Oq,s1n])))}function cNn(){cNn=F,Kce=Ce((nT(),A(T(I1n,1),G,439,0,[$q,P1n,S1n])))}function uNn(){uNn=F,Aie=Ce((P0(),A(T(Tie,1),G,463,0,[Ij,Q8,PI])))}function oNn(){oNn=F,WQn=Ce((Uu(),A(T(VQn,1),G,470,0,[Mh,pa,zs])))}function sNn(){sNn=F,XQn=Ce((wf(),A(T(Sw,1),G,237,0,[bc,Wc,wc])))}function fNn(){fNn=F,QQn=Ce((bu(),A(T(JQn,1),G,471,0,[kf,ma,Xs])))}function hNn(){hNn=F,xQn=Ce((Gu(),A(T(xr,1),G,108,0,[Nun,Yr,Aw])))}function lNn(){lNn=F,pZn=Ce((n5(),A(T(Aon,1),G,391,0,[E_,j_,C_])))}function aNn(){aNn=F,Que=Ce((jl(),A(T(hdn,1),G,346,0,[uO,M1,j9])))}function dNn(){dNn=F,Uce=Ce((Nk(),A(T(xq,1),G,444,0,[XI,VI,WI])))}function bNn(){bNn=F,Xue=Ce(($f(),A(T(Yan,1),G,278,0,[xv,Jw,Fv])))}function wNn(){wNn=F,loe=Ce((Gp(),A(T(pdn,1),G,280,0,[gdn,Yw,aO])))}function Lf(n,e){return!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),wx(n.o,e)}function h4e(n,e){var t;n.C&&(t=u(Cr(n.b,e),127).n,t.d=n.C.d,t.a=n.C.a)}function qJ(n){var e,t,i,r;r=n.d,e=n.a,t=n.b,i=n.c,n.d=t,n.a=i,n.b=r,n.c=e}function l4e(n){return!n.g&&(n.g=new EE),!n.g.b&&(n.g.b=new dyn(n)),n.g.b}function ik(n){return!n.g&&(n.g=new EE),!n.g.c&&(n.g.c=new gyn(n)),n.g.c}function a4e(n){return!n.g&&(n.g=new EE),!n.g.d&&(n.g.d=new byn(n)),n.g.d}function d4e(n){return!n.g&&(n.g=new EE),!n.g.a&&(n.g.a=new wyn(n)),n.g.a}function b4e(n,e,t,i){return t&&(i=t.Rh(e,Ot(t.Dh(),n.c.uk()),null,i)),i}function w4e(n,e,t,i){return t&&(i=t.Th(e,Ot(t.Dh(),n.c.uk()),null,i)),i}function e$(n,e,t,i){var r;return r=K(ye,_e,28,e+1,15,1),vPe(r,n,e,t,i),r}function K(n,e,t,i,r,c){var s;return s=KRn(r,i),r!=10&&A(T(n,c),e,t,r,s),s}function g4e(n,e,t){var i,r;for(r=new Q4(e,n),i=0;it||e=0?n.Lh(t,!0,!0):K0(n,e,!0)}function L4e(n,e,t){var i;return i=mFn(n,e,t),n.b=new ET(i.c.length),len(n,i)}function N4e(n){if(n.b<=0)throw M(new nc);return--n.b,n.a-=n.c.c,Y(n.a)}function $4e(n){var e;if(!n.a)throw M(new SIn);return e=n.a,n.a=At(n.a),e}function x4e(n){for(;!n.a;)if(!nSn(n.c,new E9n(n)))return!1;return!0}function Kp(n){var e;return Se(n),D(n,204)?(e=u(n,204),e):new K8n(n)}function F4e(n){YM(),u(n.of((He(),Ww)),181).Fc((zu(),eE)),n.qf(oU,null)}function YM(){YM=F,wue=new jmn,pue=new Emn,gue=M6e((He(),oU),wue,Ta,pue)}function ZM(){ZM=F,Bln=new oX("LEAF_NUMBER",0),vq=new oX("NODE_SIZE",1)}function u$(n){n.a=K(ye,_e,28,n.b+1,15,1),n.c=K(ye,_e,28,n.b,15,1),n.d=0}function B4e(n,e){n.a.Ne(e.d,n.b)>0&&(nn(n.c,new UV(e.c,e.d,n.d)),n.b=e.d)}function ZJ(n,e){if(n.g==null||e>=n.i)throw M(new aL(e,n.i));return n.g[e]}function vNn(n,e,t){if(im(n,t),t!=null&&!n.fk(t))throw M(new uD);return t}function o$(n,e){return dk(e)!=10&&A(wo(e),e.Sm,e.__elementTypeId$,dk(e),n),n}function x4(n,e,t,i){var r;i=(k0(),i||Aun),r=n.slice(e,t),Cnn(r,n,e,t,-e,i)}function zo(n,e,t,i,r){return e<0?K0(n,t,i):u(t,69).wk().yk(n,n.hi(),e,i,r)}function R4e(n,e){return bt($(R(v(n,(W(),ob)))),$(R(v(e,ob))))}function kNn(){kNn=F,IQn=Ce((F4(),A(T(lP,1),G,303,0,[e_,t_,i_,r_])))}function F4(){F4=F,e_=new cC("All",0),t_=new hTn,i_=new vTn,r_=new fTn}function Uu(){Uu=F,Mh=new FD(s3,0),pa=new FD(Hm,1),zs=new FD(f3,2)}function yNn(){yNn=F,KA(),o0n=St,mse=li,s0n=new G9(St),vse=new G9(li)}function jNn(){jNn=F,jYn=Ce((D0(),A(T(yYn,1),G,417,0,[ij,tj,a_,d_])))}function ENn(){ENn=F,AYn=Ce((C5(),A(T(TYn,1),G,406,0,[sj,wP,gP,fj])))}function CNn(){CNn=F,CYn=Ce((Vp(),A(T(EYn,1),G,332,0,[cj,rj,uj,oj])))}function MNn(){MNn=F,DZn=Ce((dd(),A(T(Oon,1),G,389,0,[Ow,Ion,P_,I_])))}function TNn(){TNn=F,TZn=Ce((Z4(),A(T(MZn,1),G,416,0,[tb,Iw,Pw,d2])))}function ANn(){ANn=F,tne=Ce((xf(),A(T(ene,1),G,421,0,[j3,hv,lv,B_])))}function SNn(){SNn=F,GZn=Ce((OT(),A(T(UZn,1),G,371,0,[F_,HP,qP,bj])))}function PNn(){PNn=F,nie=Ce((cw(),A(T(RH,1),G,203,0,[TI,BH,P2,S2])))}function INn(){INn=F,iie=Ce((lh(),A(T(Khn,1),G,284,0,[k1,Rhn,HH,qH])))}function ok(){ok=F,$sn=new Qz(kh,0),QP=new Qz("IMPROVE_STRAIGHTNESS",1)}function ONn(n,e){var t,i;return i=e/n.c.Rd().gc()|0,t=e%n.c.Rd().gc(),Rp(n,i,t)}function DNn(n){var e;if(n.nl())for(e=n.i-1;e>=0;--e)L(n,e);return yJ(n)}function nQ(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function LNn(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[1];)t=e;return t}function K4e(n){return D(n,180)?""+u(n,180).a:n==null?null:Jr(n)}function _4e(n){return D(n,180)?""+u(n,180).a:n==null?null:Jr(n)}function NNn(n,e){if(e.a)throw M(new ec(nXn));fi(n.a,e),e.a=n,!n.j&&(n.j=e)}function eQ(n,e){PC.call(this,e.zd(),e.yd()&-16449),Jn(n),this.a=n,this.c=e}function H4e(n,e){return new _L(e,h0(Ki(e.e),e.f.a+n,e.f.b+n),(_n(),!1))}function q4e(n,e){return v4(),nn(n,new bi(e,Y(e.e.c.length+e.g.c.length)))}function U4e(n,e){return v4(),nn(n,new bi(e,Y(e.e.c.length+e.g.c.length)))}function $Nn(){$Nn=F,lce=Ce((sA(),A(T(i1n,1),G,354,0,[Eq,e1n,t1n,n1n])))}function xNn(){xNn=F,$re=Ce((a5(),A(T(Nln,1),G,353,0,[aq,BI,lq,hq])))}function FNn(){FNn=F,hre=Ce((Qp(),A(T(tln,1),G,405,0,[LI,n9,e9,t9])))}function BNn(){BNn=F,Vue=Ce((El(),A(T(lU,1),G,223,0,[hU,Qj,Bv,x3])))}function RNn(){RNn=F,Zue=Ce((To(),A(T(Yue,1),G,290,0,[Zj,nl,Aa,Yj])))}function KNn(){KNn=F,foe=Ce((go(),A(T(A9,1),G,386,0,[iE,Gd,tE,Qw])))}function _Nn(){_Nn=F,doe=Ce((qT(),A(T(Edn,1),G,320,0,[bU,kdn,jdn,ydn])))}function HNn(){HNn=F,goe=Ce((LT(),A(T(woe,1),G,415,0,[wU,Mdn,Cdn,Tdn])))}function nT(){nT=F,$q=new oL(mVn,0),P1n=new oL(jrn,1),S1n=new oL(kh,2)}function Wb(n,e,t,i,r){return Jn(n),Jn(e),Jn(t),Jn(i),Jn(r),new TW(n,e,i)}function qNn(n,e){var t;return t=u(Bp(n.e,e),400),t?(eW(t),t.e):null}function du(n,e){var t;return t=qr(n,e,0),t==-1?!1:(Yl(n,t),!0)}function UNn(n,e,t){var i;return X1(n),i=new LO,i.a=e,n.a.Nb(new MCn(i,t)),i.a}function G4e(n){var e;return X1(n),e=K(Pi,Tr,28,0,15,1),lg(n.a,new k9n(e)),e}function tQ(n){var e;if(!E$(n))throw M(new nc);return n.e=1,e=n.d,n.d=null,e}function n1(n){var e;return Vr(n)&&(e=0-n,!isNaN(e))?e:Y1(em(n))}function qr(n,e,t){for(;t=0?tA(n,t,!0,!0):K0(n,e,!0)}function rQ(n){var e;return e=cd(Un(n,32)),e==null&&(iu(n),e=cd(Un(n,32))),e}function cQ(n){var e;return n.Oh()||(e=se(n.Dh())-n.ji(),n.$h().Mk(e)),n.zh()}function JNn(n,e){ion=new vE,MYn=e,S8=n,u(S8.b,68),zJ(S8,ion,null),aGn(S8)}function n5(){n5=F,E_=new RD("XY",0),j_=new RD("X",1),C_=new RD("Y",2)}function bu(){bu=F,kf=new BD("TOP",0),ma=new BD(Hm,1),Xs=new BD($tn,2)}function vl(){vl=F,mj=new GD(kh,0),k2=new GD("TOP",1),E3=new GD($tn,2)}function ak(){ak=F,UH=new Zz("INPUT_ORDER",0),GH=new Zz("PORT_DEGREE",1)}function B4(){B4=F,sun=Yc(ro,ro,524287),bQn=Yc(0,0,My),fun=QN(1),QN(2),hun=QN(0)}function a$(n){var e;return n.d!=n.r&&(e=gs(n),n.e=!!e&&e.lk()==bJn,n.d=e),n.e}function d$(n,e,t){var i;return i=n.g[e],S6(n,e,n.Zi(e,t)),n.Ri(e,t,i),n.Ni(),i}function rT(n,e){var t;return t=n.dd(e),t>=0?(n.gd(t),!0):!1}function b$(n,e){var t;for(Se(n),Se(e),t=!1;e.Ob();)t=t|n.Fc(e.Pb());return t}function Nf(n,e){var t;return t=u(ee(n.e,e),400),t?(OTn(n,t),t.e):null}function QNn(n){var e,t;return e=n/60|0,t=n%60,t==0?""+e:""+e+":"+(""+t)}function Jb(n,e){var t=n.a[e],i=(K$(),WK)[typeof t];return i?i(t):bY(typeof t)}function rc(n,e){var t,i;return ta(n),i=new KJ(e,n.a),t=new iSn(i),new Tn(n,t)}function w$(n){var e;return e=n.b.c.length==0?null:sn(n.b,0),e!=null&&M$(n,0),e}function W4e(n,e){var t,i,r;r=e.c.i,t=u(ee(n.f,r),60),i=t.d.c-t.e.c,FQ(e.a,i,0)}function uQ(n,e){var t;for(++n.d,++n.c[e],t=e+1;t=0;)++e[0]}function J4e(n,e){eu(n,e==null||UC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Q4e(n,e){tu(n,e==null||UC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Y4e(n,e){S0(n,e==null||UC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Z4e(n,e){A0(n,e==null||UC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function nme(n,e,t){return vp(new V(t.e.a+t.f.a/2,t.e.b+t.f.b/2),n)==(Jn(e),e)}function eme(n,e){return D(e,102)&&u(e,19).Bb&hr?new dL(e,n):new Q4(e,n)}function tme(n,e){return D(e,102)&&u(e,19).Bb&hr?new dL(e,n):new Q4(e,n)}function dk(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function n$n(n,e){return e==(xL(),xL(),AQn)?n.toLocaleLowerCase():n.toLowerCase()}function e$n(n){if(!n.e)throw M(new nc);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function oQ(n){if(!n.c)throw M(new nc);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function t$n(n){var e;for(++n.a,e=n.c.a.length;n.an.a[i]&&(i=t);return i}function i$n(n){var e;return e=u(v(n,(W(),cb)),313),e?e.a==n:!1}function r$n(n){var e;return e=u(v(n,(W(),cb)),313),e?e.i==n:!1}function c$n(){c$n=F,yZn=Ce((Vi(),A(T(Son,1),G,367,0,[Vs,Jh,Oc,Kc,zr])))}function u$n(){u$n=F,rne=Ce((ow(),A(T(ine,1),G,375,0,[wj,zP,XP,GP,UP])))}function o$n(){o$n=F,wne=Ce((o1(),A(T(Osn,1),G,348,0,[J_,Isn,Q_,gv,wv])))}function s$n(){s$n=F,eie=Ce((E5(),A(T(Lhn,1),G,323,0,[Dhn,KH,_H,X8,V8])))}function f$n(){f$n=F,Sne=Ce((Yo(),A(T(sfn,1),G,171,0,[jj,R8,ya,K8,xw])))}function h$n(){h$n=F,qre=Ce((wA(),A(T(Hre,1),G,368,0,[pq,bq,mq,wq,gq])))}function l$n(){l$n=F,qce=Ce((N5(),A(T(Hce,1),G,373,0,[N2,O3,a9,l9,Kj])))}function a$n(){a$n=F,Wce=Ce((Wk(),A(T(R1n,1),G,324,0,[x1n,Kq,B1n,_q,F1n])))}function d$n(){d$n=F,zue=Ce((ci(),A(T(k9,1),G,88,0,[Jf,Xr,Br,Wf,us])))}function b$n(){b$n=F,mue=Ce((pf(),A(T(Zh,1),G,170,0,[xn,pi,Ph,Kd,E1])))}function w$n(){w$n=F,eoe=Ce((Bg(),A(T(C9,1),G,256,0,[Sa,nE,ldn,E9,adn])))}function g$n(){g$n=F,roe=Ce((en(),A(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])))}function cT(){cT=F,Fun=new qz("BY_SIZE",0),s_=new qz("BY_SIZE_AND_SHAPE",1)}function uT(){uT=F,v_=new zz("EADES",0),vP=new zz("FRUCHTERMAN_REINGOLD",1)}function bk(){bk=F,WP=new Jz("READING_DIRECTION",0),Dsn=new Jz("ROTATION",1)}function e5(){e5=F,PZn=new iwn,IZn=new uwn,AZn=new own,SZn=new cwn,OZn=new swn}function p$n(n){this.b=new Z,this.a=new Z,this.c=new Z,this.d=new Z,this.e=n}function m$n(n){this.g=n,this.f=new Z,this.a=y.Math.min(this.g.c.c,this.g.d.c)}function v$n(n,e,t){HC.call(this),hQ(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function sme(n,e,t){var i,r;for(r=new C(t);r.a=0&&e0?e-1:e,nEn($he(q$n(QV(new op,t),n.n),n.j),n.k)}function Nr(n){var e,t;t=(e=new hD,e),ve((!n.q&&(n.q=new q(Ss,n,11,10)),n.q),t)}function sQ(n){return(n.i&2?"interface ":n.i&1?"":"class ")+(ll(n),n.o)}function oT(n){return Ec(n,et)>0?et:Ec(n,Wi)<0?Wi:Ae(n)}function Qb(n){return n<3?(Co(n,$zn),n+1):n=-.01&&n.a<=_f&&(n.a=0),n.b>=-.01&&n.b<=_f&&(n.b=0),n}function Dg(n){Vg();var e,t;for(t=Mrn,e=0;et&&(t=n[e]);return t}function E$n(n,e){var t;if(t=uy(n.Dh(),e),!t)throw M(new Gn(ba+e+sK));return t}function Yb(n,e){var t;for(t=n;At(t);)if(t=At(t),t==e)return!0;return!1}function vme(n,e){var t,i,r;for(i=e.a.ld(),t=u(e.a.md(),16).gc(),r=0;rn||n>e)throw M(new gz("fromIndex: 0, toIndex: "+n+Etn+e))}function T0(n){if(n<0)throw M(new Gn("Illegal Capacity: "+n));this.g=this.aj(n)}function fQ(n,e){return Tf(),Ks(fa),y.Math.abs(n-e)<=fa||n==e||isNaN(n)&&isNaN(e)}function m$(n,e){var t,i,r,c;for(i=n.d,r=0,c=i.length;r0&&(n.a/=e,n.b/=e),n}function jo(n){var e;return n.w?n.w:(e=lpe(n),e&&!e.Vh()&&(n.w=e),e)}function R4(n,e){var t,i;i=n.a,t=w5e(n,e,null),i!=e&&!n.e&&(t=Lm(n,e,t)),t&&t.oj()}function S$n(n,e,t){var i,r;i=e;do r=$(n.p[i.p])+t,n.p[i.p]=r,i=n.a[i.p];while(i!=e)}function P$n(n,e,t){var i=function(){return n.apply(i,arguments)};return e.apply(i,t),i}function Tme(n){var e;return n==null?null:(e=u(n,195),Bye(e,e.length))}function L(n,e){if(n.g==null||e>=n.i)throw M(new aL(e,n.i));return n.Wi(e,n.g[e])}function Ame(n,e){Dn();var t,i;for(i=new Z,t=0;t=14&&e<=16))),n}function Ee(n,e){var t;return Jn(e),t=n[":"+e],x7(!!t,"Enum constant undefined: "+e),t}function we(n,e,t,i,r,c){var s;return s=bN(n,e),U$n(t,s),s.i=r?8:0,s.f=i,s.e=r,s.g=c,s}function aQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=t}function dQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=t}function bQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=t}function wQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=t}function gQ(n,e,t,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=t}function G$n(n,e){var t,i,r,c;for(i=e,r=0,c=i.length;r=0))throw M(new Gn("tolerance ("+n+") must be >= 0"));return n}function X$n(n,e){var t;return D(e,44)?n.c.Mc(e):(t=wx(n,e),VT(n,e),t)}function Mr(n,e,t){return ad(n,e),zc(n,t),e1(n,0),Zb(n,1),u1(n,!0),c1(n,!0),n}function gk(n,e){var t;if(t=n.gc(),e<0||e>t)throw M(new Kb(e,t));return new AV(n,e)}function wT(n,e){n.b=y.Math.max(n.b,e.d),n.e+=e.r+(n.a.c.length==0?0:n.c),nn(n.a,e)}function V$n(n){Fb(n.c>=0),_8e(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function gT(n){var e,t;for(t=n.c.Cc().Kc();t.Ob();)e=u(t.Pb(),16),e.$b();n.c.$b(),n.d=0}function Fme(n){var e,t,i,r;for(t=n.a,i=0,r=t.length;i=0}function EQ(n,e){n.r>0&&n.c0&&n.g!=0&&EQ(n.i,e/n.r*n.i.d))}function CQ(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,1,t,n.c))}function y$(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,4,t,n.c))}function z4(n,e){var t;t=n.k,n.k=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,2,t,n.k))}function j$(n,e){var t;t=n.D,n.D=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,2,t,n.D))}function mT(n,e){var t;t=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,8,t,n.f))}function vT(n,e){var t;t=n.i,n.i=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,7,t,n.i))}function MQ(n,e){var t;t=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,8,t,n.a))}function TQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,0,t,n.b))}function AQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,0,t,n.b))}function SQ(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,1,t,n.c))}function PQ(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,1,t,n.d))}function Ume(n,e,t){var i;n.b=e,n.a=t,i=(n.a&512)==512?new wjn:new iG,n.c=rAe(i,n.b,n.a)}function uxn(n,e){return Sl(n.e,e)?(dr(),a$(e)?new nM(e,n):new k7(e,n)):new NMn(e,n)}function Gme(n){var e,t;return 0>n?new Oz:(e=n+1,t=new mLn(e,n),new uV(null,t))}function zme(n,e){Dn();var t;return t=new ap(1),Ai(n)?Dr(t,n,e):Vc(t.f,n,e),new eD(t)}function Xme(n,e){var t,i;return t=n.c,i=e.e[n.p],i>0?u(sn(t.a,i-1),10):null}function Vme(n,e){var t,i;return t=n.o+n.p,i=e.o+e.p,te?(e<<=1,e>0?e:X5):e}function E$(n){switch(KX(n.e!=3),n.e){case 2:return!1;case 0:return!0}return i4e(n)}function sxn(n,e){var t;return D(e,8)?(t=u(e,8),n.a==t.a&&n.b==t.b):!1}function Jme(n,e){var t;t=new vE,u(e.b,68),u(e.b,68),u(e.b,68),nu(e.a,new FV(n,t,e))}function fxn(n,e){var t,i;for(i=e.vc().Kc();i.Ob();)t=u(i.Pb(),44),Gk(n,t.ld(),t.md())}function IQ(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,11,t,n.d))}function kT(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,13,t,n.j))}function OQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,21,t,n.b))}function Qme(n,e){(UM(),Uf?null:e.c).length==0&&MAn(e,new FU),Dr(n.a,Uf?null:e.c,e)}function Yme(n,e){e.Ug("Hierarchical port constraint processing",1),g9e(n),xLe(n),e.Vg()}function I0(){I0=F,rb=new KD("START",0),va=new KD("MIDDLE",1),ib=new KD("END",2)}function yT(){yT=F,RI=new uX("P1_NODE_PLACEMENT",0),L2=new uX("P2_EDGE_ROUTING",1)}function Q1(){Q1=F,y3=new lt(Vtn),jP=new lt(MXn),I8=new lt(TXn),hj=new lt(AXn)}function O0(n){var e;return FL(n.f.g,n.d),oe(n.b),n.c=n.a,e=u(n.a.Pb(),44),n.b=UQ(n),e}function DQ(n){var e;return n.b==null?(Gl(),Gl(),aE):(e=n.ul()?n.tl():n.sl(),e)}function hxn(n,e){var t;return t=e==null?-1:qr(n.b,e,0),t<0?!1:(M$(n,t),!0)}function _s(n,e){var t;return Jn(e),t=e.g,n.b[t]?!1:($t(n.b,t,e),++n.c,!0)}function jT(n,e){var t,i;return t=1-e,i=n.a[t],n.a[t]=i.a[e],i.a[e]=n,n.b=!0,i.b=!1,i}function Zme(n,e){var t,i;for(i=e.Kc();i.Ob();)t=u(i.Pb(),272),n.b=!0,fi(n.e,t),t.b=n}function nve(n,e){var t,i;return t=u(v(n,(cn(),Hw)),8),i=u(v(e,Hw),8),bt(t.b,i.b)}function C$(n,e,t){var i,r,c;return c=e>>5,r=e&31,i=vi(U1(n.n[t][c],Ae(Bs(r,1))),3),i}function lxn(n,e,t){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?1:0:(!n.c&&(n.c=W7(vc(n.f))),n.c).e}function kxn(n,e){e?n.B==null&&(n.B=n.D,n.D=null):n.B!=null&&(n.D=n.B,n.B=null)}function rve(n,e){return Z4(),n==tb&&e==Iw||n==Iw&&e==tb||n==d2&&e==Pw||n==Pw&&e==d2}function cve(n,e){return Z4(),n==tb&&e==Pw||n==tb&&e==d2||n==Iw&&e==d2||n==Iw&&e==Pw}function yxn(n,e){return Tf(),Ks(_f),y.Math.abs(0-e)<=_f||e==0||isNaN(0)&&isNaN(e)?0:n/e}function jxn(n,e){return $(R(ho(Dk(_r(new Tn(null,new In(n.c.b,16)),new P7n(n)),e))))}function xQ(n,e){return $(R(ho(Dk(_r(new Tn(null,new In(n.c.b,16)),new S7n(n)),e))))}function uve(){return pr(),A(T(cH,1),G,259,0,[ZP,cs,$8,nI,kv,v2,x8,mv,vv,eI])}function ove(){return ps(),A(T(Bhn,1),G,243,0,[AI,Aj,Sj,$hn,xhn,Nhn,Fhn,SI,wb,Uw])}function sve(n,e){var t;e.Ug("General Compactor",1),t=d8e(u(z(n,(oa(),yq)),393)),t.Cg(n)}function fve(n,e){var t,i;return t=u(z(n,(oa(),_I)),17),i=u(z(e,_I),17),jc(t.a,i.a)}function FQ(n,e,t){var i,r;for(r=ge(n,0);r.b!=r.d.c;)i=u(be(r),8),i.a+=e,i.b+=t;return n}function r5(n,e,t){var i;for(i=n.b[t&n.f];i;i=i.b)if(t==i.a&&sh(e,i.g))return i;return null}function c5(n,e,t){var i;for(i=n.c[t&n.f];i;i=i.d)if(t==i.f&&sh(e,i.i))return i;return null}function hve(n,e,t){var i,r,c;for(i=0,r=0;r>>31;i!=0&&(n[t]=i)}function P$(n,e,t,i,r,c){var s;this.c=n,s=new Z,gZ(n,s,e,n.b,t,i,r,c),this.a=new xi(s,0)}function Exn(){this.c=new zE(0),this.b=new zE(Crn),this.d=new zE(lVn),this.a=new zE(QB)}function Vo(n,e,t,i,r,c,s){je.call(this,n,e),this.d=t,this.e=i,this.c=r,this.b=c,this.a=Of(s)}function Ut(n,e,t,i,r,c,s,f,h,l,a,d,g){return P_n(n,e,t,i,r,c,s,f,h,l,a,d,g),sx(n,!1),n}function lve(n){return n.b.c.i.k==(Vn(),Zt)?u(v(n.b.c.i,(W(),st)),12):n.b.c}function Cxn(n){return n.b.d.i.k==(Vn(),Zt)?u(v(n.b.d.i,(W(),st)),12):n.b.d}function ave(n){var e;return e=BM(n),c0(e.a,0)?(JE(),JE(),SQn):(JE(),new cAn(e.b))}function I$(n){var e;return e=wJ(n),c0(e.a,0)?(Ib(),Ib(),n_):(Ib(),new AL(e.b))}function O$(n){var e;return e=wJ(n),c0(e.a,0)?(Ib(),Ib(),n_):(Ib(),new AL(e.c))}function Mxn(n){switch(n.g){case 2:return en(),Wn;case 4:return en(),Zn;default:return n}}function Txn(n){switch(n.g){case 1:return en(),ae;case 3:return en(),Xn;default:return n}}function Axn(n){switch(n.g){case 0:return new fmn;case 1:return new hmn;default:return null}}function Hp(){Hp=F,x_=new Dt("edgelabelcenterednessanalysis.includelabel",(_n(),ga))}function BQ(){BQ=F,Mie=ah(VMn(Ke(Ke(new ii,(Vi(),Oc),(tr(),NP)),Kc,PP),zr),LP)}function Sxn(){Sxn=F,Pie=ah(VMn(Ke(Ke(new ii,(Vi(),Oc),(tr(),NP)),Kc,PP),zr),LP)}function D$(){D$=F,L9=new hjn,EU=A(T(ku,1),f2,179,0,[]),Joe=A(T(Ss,1),qcn,62,0,[])}function X4(){X4=F,aj=new Xz("TO_INTERNAL_LTR",0),L_=new Xz("TO_INPUT_DIRECTION",1)}function Ou(){Ou=F,Fon=new bwn,$on=new wwn,xon=new gwn,Non=new pwn,Bon=new mwn,Ron=new vwn}function dve(n,e){e.Ug(HXn,1),_Y(Qhe(new PE((r6(),new kN(n,!1,!1,new HU))))),e.Vg()}function bve(n,e,t){t.Ug("DFS Treeifying phase",1),O8e(n,e),PTe(n,e),n.a=null,n.b=null,t.Vg()}function pk(n,e){return _n(),Ai(n)?BJ(n,Oe(e)):$b(n)?tN(n,R(e)):Nb(n)?rwe(n,un(e)):n.Fd(e)}function u5(n,e){var t,i;for(Jn(e),i=e.vc().Kc();i.Ob();)t=u(i.Pb(),44),n.zc(t.ld(),t.md())}function wve(n,e,t){var i;for(i=t.Kc();i.Ob();)if(!_M(n,e,i.Pb()))return!1;return!0}function gve(n,e,t,i,r){var c;return t&&(c=Ot(e.Dh(),n.c),r=t.Rh(e,-1-(c==-1?i:c),null,r)),r}function pve(n,e,t,i,r){var c;return t&&(c=Ot(e.Dh(),n.c),r=t.Th(e,-1-(c==-1?i:c),null,r)),r}function Pxn(n){var e;if(n.b==-2){if(n.e==0)e=-1;else for(e=0;n.a[e]==0;e++);n.b=e}return n.b}function mve(n){if(Jn(n),n.length==0)throw M(new th("Zero length BigInteger"));CSe(this,n)}function RQ(n){this.i=n.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),n.Qc(this.g))}function Ixn(n,e,t){this.g=n,this.d=e,this.e=t,this.a=new Z,IEe(this),Dn(),Yt(this.a,null)}function KQ(n,e){e.q=n,n.d=y.Math.max(n.d,e.r),n.b+=e.d+(n.a.c.length==0?0:n.c),nn(n.a,e)}function V4(n,e){var t,i,r,c;return r=n.c,t=n.c+n.b,c=n.d,i=n.d+n.a,e.a>r&&e.ac&&e.br?t=r:zn(e,t+1),n.a=qo(n.a,0,e)+(""+i)+NW(n.a,t)}function Rxn(n,e){n.a=nr(n.a,1),n.c=y.Math.min(n.c,e),n.b=y.Math.max(n.b,e),n.d=nr(n.d,e)}function Mve(n,e){return e1||n.Ob())return++n.a,n.g=0,e=n.i,n.Ob(),e;throw M(new nc)}function qxn(n){switch(n.a.g){case 1:return new VCn;case 3:return new VRn;default:return new o8n}}function HQ(n,e){switch(e){case 1:return!!n.n&&n.n.i!=0;case 2:return n.k!=null}return bJ(n,e)}function vc(n){return Ty>22),r=n.h+e.h+(i>>22),Yc(t&ro,i&ro,r&Il)}function Qxn(n,e){var t,i,r;return t=n.l-e.l,i=n.m-e.m+(t>>22),r=n.h-e.h+(i>>22),Yc(t&ro,i&ro,r&Il)}function zve(n){var e,t;for(RDe(n),t=new C(n.d);t.ai)throw M(new Kb(e,i));return n.Si()&&(t=wOn(n,t)),n.Ei(e,t)}function nm(n,e,t,i,r){var c,s;for(s=t;s<=r;s++)for(c=e;c<=i;c++)Kg(n,c,s)||xA(n,c,s,!0,!1)}function u6e(n){Vg();var e,t,i;for(t=K(Ei,J,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,t[e]=Z9e(i,n);return t}function em(n){var e,t,i;return e=~n.l+1&ro,t=~n.m+(e==0?1:0)&ro,i=~n.h+(e==0&&t==0?1:0)&Il,Yc(e,t,i)}function JQ(n){var e;if(n<0)return Wi;if(n==0)return 0;for(e=X5;!(e&n);e>>=1);return e}function R$(n,e,t){return n>=128?!1:n<64?j6(vi(Bs(1,n),t),0):j6(vi(Bs(1,n-64),e),0)}function Tk(n,e,t){return t==null?(!n.q&&(n.q=new de),Bp(n.q,e)):(!n.q&&(n.q=new de),Ve(n.q,e,t)),n}function U(n,e,t){return t==null?(!n.q&&(n.q=new de),Bp(n.q,e)):(!n.q&&(n.q=new de),Ve(n.q,e,t)),n}function sFn(n){var e,t;return t=new zM,Ur(t,n),U(t,(Q1(),y3),n),e=new de,$Pe(n,t,e),fDe(n,t,e),t}function fFn(n){var e,t;return e=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,t=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,e||t}function hFn(n,e){var t,i,r,c;for(t=!1,i=n.a[e].length,c=0;c=0,"Negative initial capacity"),x7(e>=0,"Non-positive load factor"),Hu(this)}function s6e(n,e,t,i,r){var c,s;if(s=n.length,c=t.length,e<0||i<0||r<0||e+r>s||i+r>c)throw M(new HG)}function nY(n,e){Dn();var t,i,r,c,s;for(s=!1,i=e,r=0,c=i.length;r1||e>=0&&n.b<3)}function H$(n){var e,t,i;e=~n.l+1&ro,t=~n.m+(e==0?1:0)&ro,i=~n.h+(e==0&&t==0?1:0)&Il,n.l=e,n.m=t,n.h=i}function iY(n){Dn();var e,t,i;for(i=1,t=n.Kc();t.Ob();)e=t.Pb(),i=31*i+(e!=null?mt(e):0),i=i|0;return i}function d6e(n,e,t,i,r){var c;return c=Gnn(n,e),t&&H$(c),r&&(n=u7e(n,e),i?wa=em(n):wa=Yc(n.l,n.m,n.h)),c}function kFn(n,e,t){n.g=uF(n,e,(en(),Zn),n.b),n.d=uF(n,t,Zn,n.b),!(n.g.c==0||n.d.c==0)&&QKn(n)}function yFn(n,e,t){n.g=uF(n,e,(en(),Wn),n.j),n.d=uF(n,t,Wn,n.j),!(n.g.c==0||n.d.c==0)&&QKn(n)}function rY(n,e){switch(e){case 7:return!!n.e&&n.e.i!=0;case 8:return!!n.d&&n.d.i!=0}return HY(n,e)}function b6e(n,e){switch(e.g){case 0:D(n.b,641)||(n.b=new Bxn);break;case 1:D(n.b,642)||(n.b=new FSn)}}function jFn(n){switch(n.g){case 0:return new wmn;default:throw M(new Gn(xS+(n.f!=null?n.f:""+n.g)))}}function EFn(n){switch(n.g){case 0:return new bmn;default:throw M(new Gn(xS+(n.f!=null?n.f:""+n.g)))}}function w6e(n,e,t){return!o4(ut(new Tn(null,new In(n.c,16)),new Y3(new fMn(e,t)))).Bd((Va(),v3))}function CFn(n,e){return vp(gm(u(v(e,(lc(),pb)),88)),new V(n.c.e.a-n.b.e.a,n.c.e.b-n.b.e.b))<=0}function g6e(n,e){for(;n.g==null&&!n.c?rJ(n):n.g==null||n.i!=0&&u(n.g[n.i-1],51).Ob();)kle(e,CA(n))}function ld(n){var e,t;for(t=new C(n.a.b);t.ai?1:0}function v6e(n){return nn(n.c,(qp(),bue)),fQ(n.a,$(R(rn((bx(),EI)))))?new evn:new Nkn(n)}function k6e(n){for(;!n.d||!n.d.Ob();)if(n.b&&!n6(n.b))n.d=u(Sp(n.b),51);else return null;return n.d}function uY(n){switch(n.g){case 1:return lVn;default:case 2:return 0;case 3:return QB;case 4:return Crn}}function y6e(){nt();var n;return PU||(n=_1e(sa("M",!0)),n=cM(sa("M",!1),n),PU=n,PU)}function LT(){LT=F,wU=new EC("ELK",0),Mdn=new EC("JSON",1),Cdn=new EC("DOT",2),Tdn=new EC("SVG",3)}function h5(){h5=F,VH=new WD("STACKED",0),XH=new WD("REVERSE_STACKED",1),Pj=new WD("SEQUENCED",2)}function l5(){l5=F,dln=new eL(kh,0),nq=new eL("MIDDLE_TO_MIDDLE",1),Dj=new eL("AVOID_OVERLAP",2)}function rm(){rm=F,ysn=new Qgn,jsn=new Ygn,JZn=new Wgn,WZn=new Zgn,VZn=new Jgn,ksn=(Jn(VZn),new I0n)}function NT(){NT=F,fdn=new o0(15),Jue=new Ni((He(),C1),fdn),y9=L3,cdn=Pue,udn=Hd,sdn=_2,odn=Vw}function Ng(n,e){var t,i,r,c,s;for(i=e,r=0,c=i.length;r=n.b.c.length||(sY(n,2*e+1),t=2*e+2,t0&&(e.Cd(t),t.i&&E5e(t))}function fY(n,e,t){var i;for(i=t-1;i>=0&&n[i]===e[i];i--);return i<0?0:ND(vi(n[i],mr),vi(e[i],mr))?-1:1}function AFn(n,e,t){var i,r;this.g=n,this.c=e,this.a=this,this.d=this,r=oxn(t),i=K(sQn,Ey,227,r,0,1),this.b=i}function X$(n,e,t,i,r){var c,s;for(s=t;s<=r;s++)for(c=e;c<=i;c++)if(Kg(n,c,s))return!0;return!1}function A6e(n,e){var t,i;for(i=n.Zb().Cc().Kc();i.Ob();)if(t=u(i.Pb(),16),t.Hc(e))return!0;return!1}function SFn(n,e,t){var i,r,c,s;for(Jn(t),s=!1,c=n.fd(e),r=t.Kc();r.Ob();)i=r.Pb(),c.Rb(i),s=!0;return s}function V$(n,e){var t,i;return i=u(Un(n.a,4),129),t=K(yU,MK,424,e,0,1),i!=null&&Ic(i,0,t,0,i.length),t}function PFn(n,e){var t;return t=new jF((n.f&256)!=0,n.i,n.a,n.d,(n.f&16)!=0,n.j,n.g,e),n.e!=null||(t.c=n),t}function S6e(n,e){var t;return n===e?!0:D(e,85)?(t=u(e,85),ann(Ja(n),t.vc())):!1}function IFn(n,e,t){var i,r;for(r=t.Kc();r.Ob();)if(i=u(r.Pb(),44),n.Be(e,i.md()))return!0;return!1}function OFn(n,e,t){return n.d[e.p][t.p]||(O9e(n,e,t),n.d[e.p][t.p]=!0,n.d[t.p][e.p]=!0),n.a[e.p][t.p]}function P6e(n,e){var t;return!n||n==e||!kt(e,(W(),ub))?!1:(t=u(v(e,(W(),ub)),10),t!=n)}function W$(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.$l()}}function DFn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n._l()}}function LFn(n){kOn.call(this,"The given string does not match the expected format for individual spacings.",n)}function I6e(n,e){var t;e.Ug("Min Size Preprocessing",1),t=ynn(n),ht(n,(_h(),s9),t.a),ht(n,UI,t.b),e.Vg()}function O6e(n){var e,t,i;for(e=0,i=K(Ei,J,8,n.b,0,1),t=ge(n,0);t.b!=t.d.c;)i[e++]=u(be(t),8);return i}function J$(n,e,t){var i,r,c;for(i=new Ct,c=ge(t,0);c.b!=c.d.c;)r=u(be(c),8),Fe(i,new rr(r));SFn(n,e,i)}function D6e(n,e){var t;return t=nr(n,e),ND(RN(n,e),0)|TC(RN(n,t),0)?t:nr(jy,RN(U1(t,63),1))}function L6e(n,e){var t,i;return t=u(n.d.Bc(e),16),t?(i=n.e.hc(),i.Gc(t),n.e.d-=t.gc(),t.$b(),i):null}function NFn(n){var e;if(e=n.a.c.length,e>0)return j4(e-1,n.a.c.length),Yl(n.a,e-1);throw M(new Nyn)}function $Fn(n,e,t){if(n>e)throw M(new Gn(ZA+n+Qzn+e));if(n<0||e>t)throw M(new gz(ZA+n+Ttn+e+Etn+t))}function cm(n,e){n.D==null&&n.B!=null&&(n.D=n.B,n.B=null),j$(n,e==null?null:(Jn(e),e)),n.C&&n.hl(null)}function N6e(n,e){var t;t=rn((bx(),EI))!=null&&e.Sg()!=null?$(R(e.Sg()))/$(R(rn(EI))):1,Ve(n.b,e,t)}function hY(n,e){var t,i;if(i=n.c[e],i!=0)for(n.c[e]=0,n.d-=i,t=e+1;tPS?n-t>PS:t-n>PS}function zFn(n,e){var t;for(t=0;tr&&(jKn(e.q,r),i=t!=e.q.d)),i}function XFn(n,e){var t,i,r,c,s,f,h,l;return h=e.i,l=e.j,i=n.f,r=i.i,c=i.j,s=h-r,f=l-c,t=y.Math.sqrt(s*s+f*f),t}function gY(n,e){var t,i;return i=WT(n),i||(t=(UF(),$Hn(e)),i=new Eyn(t),ve(i.El(),n)),i}function Ik(n,e){var t,i;return t=u(n.c.Bc(e),16),t?(i=n.hc(),i.Gc(t),n.d-=t.gc(),t.$b(),n.mc(i)):n.jc()}function G6e(n,e){var t,i;for(i=to(n.d,1)!=0,t=!0;t;)t=!1,t=e.c.mg(e.e,i),t=t|oy(n,e,i,!1),i=!i;NQ(n)}function VFn(n,e,t,i){var r,c;n.a=e,c=i?0:1,n.f=(r=new o_n(n.c,n.a,t,c),new Kqn(t,n.a,r,n.e,n.b,n.c==(P0(),Q8)))}function xT(n){var e;return oe(n.a!=n.b),e=n.d.a[n.a],jAn(n.b==n.d.c&&e!=null),n.c=n.a,n.a=n.a+1&n.d.a.length-1,e}function WFn(n){var e;if(n.c!=0)return n.c;for(e=0;e=n.c.b:n.a<=n.c.b))throw M(new nc);return e=n.a,n.a+=n.c.c,++n.b,Y(e)}function ex(n){var e;return e=new OX(n.a),Ur(e,n),U(e,(W(),st),n),e.o.a=n.g,e.o.b=n.f,e.n.a=n.i,e.n.b=n.j,e}function tx(n){return(en(),mu).Hc(n.j)?$(R(v(n,(W(),yv)))):cc(A(T(Ei,1),J,8,0,[n.i.n,n.n,n.a])).b}function X6e(n){var e;return e=OC(Cie),u(v(n,(W(),Hc)),21).Hc((pr(),kv))&&Ke(e,(Vi(),Oc),(tr(),FP)),e}function V6e(n){var e,t,i,r;for(r=new ni,i=new C(n);i.a=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function Z6e(n,e){var t,i,r;for(r=1,t=n,i=e>=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function ea(n,e){var t,i,r,c;return c=(r=n?WT(n):null,O_n((i=e,r&&r.Gl(),i))),c==e&&(t=WT(n),t&&t.Gl()),c}function JFn(n,e,t){var i,r;return r=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,0,r,e),t?t.nj(i):t=i),t}function QFn(n,e,t){var i,r;return r=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,3,r,e),t?t.nj(i):t=i),t}function mY(n,e,t){var i,r;return r=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,1,r,e),t?t.nj(i):t=i),t}function YFn(n){var e,t;if(n!=null)for(t=0;t=i||e-129&&n<128?(xSn(),e=n+128,t=wun[e],!t&&(t=wun[e]=new mG(n)),t):new mG(n)}function om(n){var e,t;return n>-129&&n<128?(ZSn(),e=n+128,t=vun[e],!t&&(t=vun[e]=new kG(n)),t):new kG(n)}function eBn(n,e){var t;n.a.c.length>0&&(t=u(sn(n.a,n.a.c.length-1),579),oY(t,e))||nn(n.a,new vLn(e))}function c5e(n){Fs();var e,t;e=n.d.c-n.e.c,t=u(n.g,154),nu(t.b,new g7n(e)),nu(t.c,new p7n(e)),qi(t.i,new m7n(e))}function tBn(n){var e;return e=new x1,e.a+="VerticalSegment ",Dc(e,n.e),e.a+=" ",Re(e,BX(new yD,new C(n.k))),e.a}function ix(n,e){var t,i,r;for(t=0,r=uc(n,e).Kc();r.Ob();)i=u(r.Pb(),12),t+=v(i,(W(),Xu))!=null?1:0;return t}function Fg(n,e,t){var i,r,c;for(i=0,c=ge(n,0);c.b!=c.d.c&&(r=$(R(be(c))),!(r>t));)r>=e&&++i;return i}function iBn(n,e){Se(n);try{return n._b(e)}catch(t){if(t=It(t),D(t,212)||D(t,169))return!1;throw M(t)}}function kY(n,e){Se(n);try{return n.Hc(e)}catch(t){if(t=It(t),D(t,212)||D(t,169))return!1;throw M(t)}}function u5e(n,e){Se(n);try{return n.Mc(e)}catch(t){if(t=It(t),D(t,212)||D(t,169))return!1;throw M(t)}}function tw(n,e){Se(n);try{return n.xc(e)}catch(t){if(t=It(t),D(t,212)||D(t,169))return null;throw M(t)}}function o5e(n,e){Se(n);try{return n.Bc(e)}catch(t){if(t=It(t),D(t,212)||D(t,169))return null;throw M(t)}}function b5(n,e){switch(e.g){case 2:case 1:return uc(n,e);case 3:case 4:return Qo(uc(n,e))}return Dn(),Dn(),sr}function w5(n){var e;return n.Db&64?Hs(n):(e=new ls(Hs(n)),e.a+=" (name: ",Er(e,n.zb),e.a+=")",e.a)}function s5e(n){var e;return e=u(Nf(n.c.c,""),233),e||(e=new Np(c4(r4(new tp,""),"Other")),s1(n.c.c,"",e)),e}function yY(n,e,t){var i,r;return r=n.sb,n.sb=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,4,r,e),t?t.nj(i):t=i),t}function jY(n,e,t){var i,r;return r=n.r,n.r=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,8,r,n.r),t?t.nj(i):t=i),t}function f5e(n,e,t){var i,r;return i=new ml(n.e,4,13,(r=e.c,r||(On(),Zf)),null,f1(n,e),!1),t?t.nj(i):t=i,t}function h5e(n,e,t){var i,r;return i=new ml(n.e,3,13,null,(r=e.c,r||(On(),Zf)),f1(n,e),!1),t?t.nj(i):t=i,t}function r1(n,e){var t,i;return t=u(e,691),i=t.el(),!i&&t.fl(i=D(e,90)?new $Mn(n,u(e,29)):new rDn(n,u(e,156))),i}function Ok(n,e,t){var i;n._i(n.i+1),i=n.Zi(e,t),e!=n.i&&Ic(n.g,e,n.g,e+1,n.i-e),$t(n.g,e,i),++n.i,n.Mi(e,t),n.Ni()}function l5e(n,e){var t;return e.a&&(t=e.a.a.length,n.a?Re(n.a,n.b):n.a=new mo(n.d),lDn(n.a,e.a,e.d.length,t)),n}function a5e(n,e){var t;n.c=e,n.a=p8e(e),n.a<54&&(n.f=(t=e.d>1?fDn(e.a[0],e.a[1]):fDn(e.a[0],0),id(e.e>0?t:n1(t))))}function Dk(n,e){var t;return t=new LO,n.a.Bd(t)?(d4(),new wD(Jn(UNn(n,t.a,e)))):(X1(n),d4(),d4(),Iun)}function rBn(n,e){var t;n.c.length!=0&&(t=u(Ff(n,K(Qh,b1,10,n.c.length,0,1)),199),EX(t,new ign),Y_n(t,e))}function cBn(n,e){var t;n.c.length!=0&&(t=u(Ff(n,K(Qh,b1,10,n.c.length,0,1)),199),EX(t,new rgn),Y_n(t,e))}function rt(n,e){return Ai(n)?An(n,e):$b(n)?ZAn(n,e):Nb(n)?(Jn(n),x(n)===x(e)):gW(n)?n.Fb(e):fW(n)?QMn(n,e):fJ(n,e)}function Wo(n,e,t){if(e<0)Ann(n,t);else{if(!t.rk())throw M(new Gn(ba+t.xe()+a8));u(t,69).wk().Ek(n,n.hi(),e)}}function uBn(n,e,t){if(n<0||e>t)throw M(new Ir(ZA+n+Ttn+e+", size: "+t));if(n>e)throw M(new Gn(ZA+n+Qzn+e))}function oBn(n){var e;return n.Db&64?Hs(n):(e=new ls(Hs(n)),e.a+=" (source: ",Er(e,n.d),e.a+=")",e.a)}function sBn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function d5e(n){VA();var e,t,i,r;for(t=jx(),i=0,r=t.length;i=0?ia(n):H6(ia(n1(n))))}function lBn(n,e,t,i,r,c){this.e=new Z,this.f=(gr(),W8),nn(this.e,n),this.d=e,this.a=t,this.b=i,this.f=r,this.c=c}function g5e(n,e,t){n.n=Wa(Fa,[J,SB],[376,28],14,[t,wi(y.Math.ceil(e/32))],2),n.o=e,n.p=t,n.j=e-1>>1,n.k=t-1>>1}function aBn(n){return n-=n>>1&1431655765,n=(n>>2&858993459)+(n&858993459),n=(n>>4)+n&252645135,n+=n>>8,n+=n>>16,n&63}function dBn(n,e){var t,i;for(i=new ne(n);i.e!=i.i.gc();)if(t=u(ue(i),142),x(e)===x(t))return!0;return!1}function p5e(n,e,t){var i,r,c;return c=(r=Cm(n.b,e),r),c&&(i=u(qA(fk(n,c),""),29),i)?Wnn(n,i,e,t):null}function rx(n,e,t){var i,r,c;return c=(r=Cm(n.b,e),r),c&&(i=u(qA(fk(n,c),""),29),i)?Jnn(n,i,e,t):null}function m5e(n,e){var t;if(t=Lg(n.i,e),t==null)throw M(new eh("Node did not exist in input."));return _Q(e,t),null}function v5e(n,e){var t;if(t=uy(n,e),D(t,331))return u(t,35);throw M(new Gn(ba+e+"' is not a valid attribute"))}function p5(n,e,t){var i;if(i=n.gc(),e>i)throw M(new Kb(e,i));if(n.Si()&&n.Hc(t))throw M(new Gn(Xy));n.Gi(e,t)}function k5e(n,e){e.Ug("Sort end labels",1),qt(ut(rc(new Tn(null,new In(n.b,16)),new _wn),new Hwn),new qwn),e.Vg()}function ci(){ci=F,Jf=new p7(Y5,0),Xr=new p7(f3,1),Br=new p7(s3,2),Wf=new p7(_B,3),us=new p7("UP",4)}function Nk(){Nk=F,XI=new sL("P1_STRUCTURE",0),VI=new sL("P2_PROCESSING_ORDER",1),WI=new sL("P3_EXECUTION",2)}function bBn(){bBn=F,Rre=ah(ah(s6(ah(ah(s6(Ke(new ii,(Qp(),n9),(B5(),ZH)),e9),fln),lln),t9),cln),aln)}function y5e(n){switch(u(v(n,(W(),Od)),311).g){case 1:U(n,Od,(vl(),E3));break;case 2:U(n,Od,(vl(),k2))}}function j5e(n){switch(n){case 0:return new ijn;case 1:return new ejn;case 2:return new tjn;default:throw M(new W9)}}function wBn(n){switch(n.g){case 2:return Xr;case 1:return Br;case 4:return Wf;case 3:return us;default:return Jf}}function TY(n,e){switch(n.b.g){case 0:case 1:return e;case 2:case 3:return new Ho(e.d,0,e.a,e.b);default:return null}}function AY(n){switch(n.g){case 1:return Wn;case 2:return Xn;case 3:return Zn;case 4:return ae;default:return sc}}function $k(n){switch(n.g){case 1:return ae;case 2:return Wn;case 3:return Xn;case 4:return Zn;default:return sc}}function RT(n){switch(n.g){case 1:return Zn;case 2:return ae;case 3:return Wn;case 4:return Xn;default:return sc}}function SY(n,e,t,i){switch(e){case 1:return!n.n&&(n.n=new q(Ar,n,1,7)),n.n;case 2:return n.k}return kZ(n,e,t,i)}function m5(n,e,t){var i,r;return n.Pj()?(r=n.Qj(),i=lF(n,e,t),n.Jj(n.Ij(7,Y(t),i,e,r)),i):lF(n,e,t)}function cx(n,e){var t,i,r;n.d==null?(++n.e,--n.f):(r=e.ld(),t=e.Bi(),i=(t&et)%n.d.length,o4e(n,i,RHn(n,i,t,r)))}function sm(n,e){var t;t=(n.Bb&Gs)!=0,e?n.Bb|=Gs:n.Bb&=-1025,n.Db&4&&!(n.Db&1)&&it(n,new Rs(n,1,10,t,e))}function fm(n,e){var t;t=(n.Bb&vw)!=0,e?n.Bb|=vw:n.Bb&=-4097,n.Db&4&&!(n.Db&1)&&it(n,new Rs(n,1,12,t,e))}function hm(n,e){var t;t=(n.Bb&$u)!=0,e?n.Bb|=$u:n.Bb&=-8193,n.Db&4&&!(n.Db&1)&&it(n,new Rs(n,1,15,t,e))}function lm(n,e){var t;t=(n.Bb&Tw)!=0,e?n.Bb|=Tw:n.Bb&=-2049,n.Db&4&&!(n.Db&1)&&it(n,new Rs(n,1,11,t,e))}function E5e(n){var e;n.g&&(e=n.c.kg()?n.f:n.a,fen(e.a,n.o,!0),fen(e.a,n.o,!1),U(n.o,(cn(),Kt),(Oi(),Ud)))}function C5e(n){var e;if(!n.a)throw M(new Or("Cannot offset an unassigned cut."));e=n.c-n.b,n.b+=e,KIn(n,e),RIn(n,e)}function M5e(n,e){var t;if(t=ee(n.k,e),t==null)throw M(new eh("Port did not exist in input."));return _Q(e,t),null}function T5e(n){var e,t;for(t=xHn(jo(n)).Kc();t.Ob();)if(e=Oe(t.Pb()),R5(n,e))return A3e((pCn(),Boe),e);return null}function gBn(n){var e,t;for(t=n.p.a.ec().Kc();t.Ob();)if(e=u(t.Pb(),218),e.f&&n.b[e.c]<-1e-10)return e;return null}function A5e(n){var e,t;for(t=z1(new x1,91),e=!0;n.Ob();)e||(t.a+=ur),e=!1,Dc(t,n.Pb());return(t.a+="]",t).a}function S5e(n){var e,t,i;for(e=new Z,i=new C(n.b);i.ae?1:n==e?n==0?bt(1/n,1/e):0:isNaN(n)?isNaN(e)?0:1:-1}function I5e(n){var e;return e=n.a[n.c-1&n.a.length-1],e==null?null:(n.c=n.c-1&n.a.length-1,$t(n.a,n.c,null),e)}function O5e(n){var e,t,i;for(i=0,t=n.length,e=0;e=1?Xr:Wf):t}function $5e(n){switch(u(v(n,(cn(),$l)),223).g){case 1:return new Spn;case 3:return new Lpn;default:return new Apn}}function ta(n){if(n.c)ta(n.c);else if(n.d)throw M(new Or("Stream already terminated, can't be modified or used"))}function L0(n,e,t){var i;return i=n.a.get(e),n.a.set(e,t===void 0?null:t),i===void 0?(++n.c,++n.b.g):++n.d,i}function x5e(n,e,t){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),10),jk(t,u(sn(e,i.p),16)))return i;return null}function IY(n,e,t){var i;return i=0,e&&(vg(n.a)?i+=e.f.a/2:i+=e.f.b/2),t&&(vg(n.a)?i+=t.f.a/2:i+=t.f.b/2),i}function F5e(n,e,t){var i;i=t,!i&&(i=QV(new op,0)),i.Ug(PXn,2),yRn(n.b,e,i.eh(1)),YIe(n,e,i.eh(1)),eLe(e,i.eh(1)),i.Vg()}function OY(n,e,t){var i,r;return i=(B1(),r=new kE,r),aT(i,e),lT(i,t),n&&ve((!n.a&&(n.a=new ti(xo,n,5)),n.a),i),i}function ox(n){var e;return n.Db&64?Hs(n):(e=new ls(Hs(n)),e.a+=" (identifier: ",Er(e,n.k),e.a+=")",e.a)}function sx(n,e){var t;t=(n.Bb&kc)!=0,e?n.Bb|=kc:n.Bb&=-32769,n.Db&4&&!(n.Db&1)&&it(n,new Rs(n,1,18,t,e))}function DY(n,e){var t;t=(n.Bb&kc)!=0,e?n.Bb|=kc:n.Bb&=-32769,n.Db&4&&!(n.Db&1)&&it(n,new Rs(n,1,18,t,e))}function am(n,e){var t;t=(n.Bb&wh)!=0,e?n.Bb|=wh:n.Bb&=-16385,n.Db&4&&!(n.Db&1)&&it(n,new Rs(n,1,16,t,e))}function LY(n,e){var t;t=(n.Bb&hr)!=0,e?n.Bb|=hr:n.Bb&=-65537,n.Db&4&&!(n.Db&1)&&it(n,new Rs(n,1,20,t,e))}function NY(n){var e;return e=K(fs,gh,28,2,15,1),n-=hr,e[0]=(n>>10)+Ay&ui,e[1]=(n&1023)+56320&ui,ws(e,0,e.length)}function B5e(n){var e;return e=sw(n),e>34028234663852886e22?St:e<-34028234663852886e22?li:e}function nr(n,e){var t;return Vr(n)&&Vr(e)&&(t=n+e,Ty"+td(e.c):"e_"+mt(e),n.b&&n.c?td(n.b)+"->"+td(n.c):"e_"+mt(n))}function _5e(n,e){return An(e.b&&e.c?td(e.b)+"->"+td(e.c):"e_"+mt(e),n.b&&n.c?td(n.b)+"->"+td(n.c):"e_"+mt(n))}function N0(n,e){return Tf(),Ks(fa),y.Math.abs(n-e)<=fa||n==e||isNaN(n)&&isNaN(e)?0:ne?1:u0(isNaN(n),isNaN(e))}function El(){El=F,hU=new vC(Y5,0),Qj=new vC("POLYLINE",1),Bv=new vC("ORTHOGONAL",2),x3=new vC("SPLINES",3)}function _T(){_T=F,f1n=new uL("ASPECT_RATIO_DRIVEN",0),Oq=new uL("MAX_SCALE_DRIVEN",1),s1n=new uL("AREA_DRIVEN",2)}function H5e(n,e,t){var i;try{l6e(n,e,t)}catch(r){throw r=It(r),D(r,606)?(i=r,M(new NJ(i))):M(r)}return e}function q5e(n){var e,t,i;for(t=0,i=n.length;te&&i.Ne(n[c-1],n[c])>0;--c)s=n[c],$t(n,c,n[c-1]),$t(n,c-1,s)}function vn(n,e){var t,i,r,c,s;if(t=e.f,s1(n.c.d,t,e),e.g!=null)for(r=e.g,c=0,s=r.length;ce){bDn(t);break}}_7(t,e)}function X5e(n,e){var t,i,r;i=Pg(e),r=$(R(rw(i,(cn(),Ws)))),t=y.Math.max(0,r/2-.5),A5(e,t,1),nn(n,new LCn(e,t))}function V5e(n,e,t){var i;t.Ug("Straight Line Edge Routing",1),t.dh(e,Nrn),i=u(z(e,(Tg(),D2)),27),iGn(n,i),t.dh(e,DS)}function $Y(n,e){n.n.c.length==0&&nn(n.n,new NM(n.s,n.t,n.i)),nn(n.b,e),wZ(u(sn(n.n,n.n.c.length-1),209),e),RUn(n,e)}function v5(n){var e;this.a=(e=u(n.e&&n.e(),9),new _o(e,u(xs(e,e.length),9),0)),this.b=K(ki,Fn,1,this.a.a.length,5,1)}function Jr(n){var e;return Array.isArray(n)&&n.Tm===Q2?Xa(wo(n))+"@"+(e=mt(n)>>>0,e.toString(16)):n.toString()}function W5e(n,e){return n.h==My&&n.m==0&&n.l==0?(e&&(wa=Yc(0,0,0)),ZMn((B4(),fun))):(e&&(wa=Yc(n.l,n.m,n.h)),Yc(0,0,0))}function J5e(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function kBn(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function xY(n,e,t,i){switch(e){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return SY(n,e,t,i)}function HT(n,e){if(e==n.d)return n.e;if(e==n.e)return n.d;throw M(new Gn("Node "+e+" not part of edge "+n))}function Q5e(n,e){var t;if(t=uy(n.Dh(),e),D(t,102))return u(t,19);throw M(new Gn(ba+e+"' is not a valid reference"))}function Jo(n,e,t,i){if(e<0)nen(n,t,i);else{if(!t.rk())throw M(new Gn(ba+t.xe()+a8));u(t,69).wk().Ck(n,n.hi(),e,i)}}function eo(n){var e;if(n.b){if(eo(n.b),n.b.d!=n.c)throw M(new Bo)}else n.d.dc()&&(e=u(n.f.c.xc(n.e),16),e&&(n.d=e))}function Y5e(n){Bb();var e,t,i,r;for(e=n.o.b,i=u(u(ot(n.r,(en(),ae)),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r=t.e,r.b+=e}function Z5e(n){var e,t,i;for(this.a=new rh,i=new C(n);i.a=r)return e.c+t;return e.c+e.b.gc()}function e8e(n,e){p4();var t,i,r,c;for(i=DNn(n),r=e,x4(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=n.d*(t-1)),i}function i8e(n){var e,t,i,r,c;return c=nnn(n),t=Z9(n.c),i=!t,i&&(r=new _a,bf(c,"knownLayouters",r),e=new hyn(r),qi(n.c,e)),c}function RY(n){var e,t,i;for(i=new Hl,i.a+="[",e=0,t=n.gc();e0&&(zn(e-1,n.length),n.charCodeAt(e-1)==58)&&!lx(n,O9,D9))}function KY(n,e){var t;return x(n)===x(e)?!0:D(e,92)?(t=u(e,92),n.e==t.e&&n.d==t.d&&I3e(n,t.a)):!1}function zp(n){switch(en(),n.g){case 4:return Xn;case 1:return Zn;case 3:return ae;case 2:return Wn;default:return sc}}function o8e(n){var e,t;if(n.b)return n.b;for(t=Uf?null:n.d;t;){if(e=Uf?null:t.b,e)return e;t=Uf?null:t.d}return l4(),Lun}function _Y(n){var e,t,i;for(i=$(R(n.a.of((He(),iO)))),t=new C(n.a.Sf());t.a>5,e=n&31,i=K(ye,_e,28,t+1,15,1),i[t]=1<3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function Ot(n,e){var t,i,r;if(t=(n.i==null&&bh(n),n.i),i=e.Lj(),i!=-1){for(r=t.length;i=0;--i)for(e=t[i],r=0;r>1,this.k=e-1>>1}function j8e(n){YM(),u(n.of((He(),Ta)),181).Hc((io(),hO))&&(u(n.of(Ww),181).Fc((zu(),F3)),u(n.of(Ta),181).Mc(hO))}function ABn(n){var e,t;e=n.d==(Yp(),av),t=UZ(n),e&&!t||!e&&t?U(n.a,(cn(),Th),(Rh(),qj)):U(n.a,(cn(),Th),(Rh(),Hj))}function bx(){bx=F,ZE(),EI=(cn(),bb),Qte=Of(A(T(zq,1),yrn,149,0,[Mj,Ws,T2,db,qw,IH,Tv,Av,OH,G8,M2,Bd,A2]))}function E8e(n,e){var t;return t=u(Wr(n,qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),t.Qc(VSn(t.gc()))}function SBn(n,e){var t,i;if(i=new Q3(n.a.ad(e,!0)),i.a.gc()<=1)throw M(new rp);return t=i.a.ec().Kc(),t.Pb(),u(t.Pb(),39)}function C8e(n,e,t){var i,r;return i=$(n.p[e.i.p])+$(n.d[e.i.p])+e.n.b+e.a.b,r=$(n.p[t.i.p])+$(n.d[t.i.p])+t.n.b+t.a.b,r-i}function VY(n,e){var t;return n.i>0&&(e.lengthn.i&&$t(e,n.i,null),e}function UT(n){var e;return n.Db&64?w5(n):(e=new ls(w5(n)),e.a+=" (instanceClassName: ",Er(e,n.D),e.a+=")",e.a)}function GT(n){var e,t,i,r;for(r=0,t=0,i=n.length;t0?(n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=RHn(n,r,i,e),t!=-1):!1}function PBn(n,e){var t,i;n.a=nr(n.a,1),n.c=y.Math.min(n.c,e),n.b=y.Math.max(n.b,e),n.d+=e,t=e-n.f,i=n.e+t,n.f=i-n.e-t,n.e=i}function WY(n,e){switch(e){case 3:A0(n,0);return;case 4:S0(n,0);return;case 5:eu(n,0);return;case 6:tu(n,0);return}vY(n,e)}function $0(n,e){switch(e.g){case 1:return Cp(n.j,(Ou(),$on));case 2:return Cp(n.j,(Ou(),Fon));default:return Dn(),Dn(),sr}}function JY(n){g0();var e;switch(e=n.Pc(),e.length){case 0:return qK;case 1:return new VL(Se(e[0]));default:return new PN(q5e(e))}}function IBn(n,e){n.Xj();try{n.d.bd(n.e++,e),n.f=n.d.j,n.g=-1}catch(t){throw t=It(t),D(t,77)?M(new Bo):M(t)}}function gx(){gx=F,MU=new Mvn,Gdn=new Tvn,zdn=new Avn,Xdn=new Svn,Vdn=new Pvn,Wdn=new Ivn,Jdn=new Ovn,Qdn=new Dvn,Ydn=new Lvn}function zT(n,e){vX();var t,i;return t=I7((RE(),RE(),C8)),i=null,e==t&&(i=u(Nc(oun,n),624)),i||(i=new WPn(n),e==t&&Dr(oun,n,i)),i}function OBn(n){cw();var e;return(n.q?n.q:(Dn(),Dn(),Wh))._b((cn(),lb))?e=u(v(n,lb),203):e=u(v(Hi(n),U8),203),e}function rw(n,e){var t,i;return i=null,kt(n,(cn(),yI))&&(t=u(v(n,yI),96),t.pf(e)&&(i=t.of(e))),i==null&&(i=v(Hi(n),e)),i}function DBn(n,e){var t,i,r;return D(e,44)?(t=u(e,44),i=t.ld(),r=tw(n.Rc(),i),sh(r,t.md())&&(r!=null||n.Rc()._b(i))):!1}function gf(n,e){var t,i,r;return n.f>0&&(n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=Nnn(n,r,i,e),t)?t.md():null}function Xc(n,e,t){var i,r,c;return n.Pj()?(i=n.i,c=n.Qj(),Ok(n,i,e),r=n.Ij(3,null,e,i,c),t?t.nj(r):t=r):Ok(n,n.i,e),t}function T8e(n,e,t){var i,r;return i=new ml(n.e,4,10,(r=e.c,D(r,90)?u(r,29):(On(),Is)),null,f1(n,e),!1),t?t.nj(i):t=i,t}function A8e(n,e,t){var i,r;return i=new ml(n.e,3,10,null,(r=e.c,D(r,90)?u(r,29):(On(),Is)),f1(n,e),!1),t?t.nj(i):t=i,t}function LBn(n){Bb();var e;return e=new rr(u(n.e.of((He(),_2)),8)),n.B.Hc((io(),Kv))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function ia(n){dh();var e,t;return t=Ae(n),e=Ae(U1(n,32)),e!=0?new _On(t,e):t>10||t<0?new gl(1,t):kQn[t]}function Fk(n,e){var t;return Vr(n)&&Vr(e)&&(t=n%e,Ty=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Rk(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.Ne(e,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function L8e(n,e,t,i){var r,c,s;return r=!1,xOe(n.f,t,i)&&(e9e(n.f,n.a[e][t],n.a[e][i]),c=n.a[e],s=c[i],c[i]=c[t],c[t]=s,r=!0),r}function FBn(n,e,t){var i,r,c,s;for(r=u(ee(n.b,t),183),i=0,s=new C(e.j);s.a>5,e&=31,r=n.d+t+(e==0?0:1),i=K(ye,_e,28,r,15,1),Oye(i,n.a,t,e),c=new Ya(n.e,r,i),V6(c),c}function N8e(n,e){var t,i,r;for(i=new ie(ce(Qt(n).a.Kc(),new En));pe(i);)if(t=u(fe(i),18),r=t.d.i,r.c==e)return!1;return!0}function ZY(n,e,t){var i,r,c,s,f;return s=n.k,f=e.k,i=t[s.g][f.g],r=R(rw(n,i)),c=R(rw(e,i)),y.Math.max((Jn(r),r),(Jn(c),c))}function $8e(){return Error.stackTraceLimit>0?(y.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function x8e(n,e){return Tf(),Tf(),Ks(fa),(y.Math.abs(n-e)<=fa||n==e||isNaN(n)&&isNaN(e)?0:ne?1:u0(isNaN(n),isNaN(e)))>0}function nZ(n,e){return Tf(),Tf(),Ks(fa),(y.Math.abs(n-e)<=fa||n==e||isNaN(n)&&isNaN(e)?0:ne?1:u0(isNaN(n),isNaN(e)))<0}function RBn(n,e){return Tf(),Tf(),Ks(fa),(y.Math.abs(n-e)<=fa||n==e||isNaN(n)&&isNaN(e)?0:ne?1:u0(isNaN(n),isNaN(e)))<=0}function mx(n,e){for(var t=0;!e[t]||e[t]=="";)t++;for(var i=e[t++];t0&&this.b>0&&(this.g=rM(this.c,this.b,this.a))}function F8e(n,e){var t=n.a,i;e=String(e),t.hasOwnProperty(e)&&(i=t[e]);var r=(K$(),WK)[typeof i],c=r?r(i):bY(typeof i);return c}function bm(n){var e,t,i;if(i=null,e=Eh in n.a,t=!e,t)throw M(new eh("Every element must have an id."));return i=Zp(dl(n,Eh)),i}function x0(n){var e,t;for(t=l_n(n),e=null;n.c==2;)Ze(n),e||(e=(nt(),nt(),new T6(2)),pd(e,t),t=e),t.Jm(l_n(n));return t}function VT(n,e){var t,i,r;return n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=Nnn(n,r,i,e),t?(X$n(n,t),t.md()):null}function zBn(n,e){return n.e>e.e?1:n.ee.d?n.e:n.d=48&&n<48+y.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function B8e(n,e){if(e.c==n)return e.d;if(e.d==n)return e.c;throw M(new Gn("Input edge is not connected to the input port."))}function R8e(n){if(JT(Zm,n))return _n(),uv;if(JT(cK,n))return _n(),ga;throw M(new Gn("Expecting true or false"))}function iZ(n){switch(typeof n){case nB:return t1(n);case ltn:return pp(n);case i3:return AAn(n);default:return n==null?0:f0(n)}}function ah(n,e){if(n.a<0)throw M(new Or("Did not call before(...) or after(...) before calling add(...)."));return QX(n,n.a,e),n}function rZ(n){return $M(),D(n,162)?u(ee(fE,MQn),294).Rg(n):Zc(fE,wo(n))?u(ee(fE,wo(n)),294).Rg(n):null}function iu(n){var e,t;return n.Db&32||(t=(e=u(Un(n,16),29),se(e||n.ii())-se(n.ii())),t!=0&&Xp(n,32,K(ki,Fn,1,t,5,1))),n}function Xp(n,e,t){var i;n.Db&e?t==null?jCe(n,e):(i=Rx(n,e),i==-1?n.Eb=t:$t(cd(n.Eb),i,t)):t!=null&>e(n,e,t)}function K8e(n,e,t,i){var r,c;e.c.length!=0&&(r=$Me(t,i),c=xEe(e),qt(fT(new Tn(null,new In(c,1)),new D3n),new CIn(n,t,r,i)))}function _8e(n,e){var t,i,r,c;return i=n.a.length-1,t=e-n.b&i,c=n.c-e&i,r=n.c-n.b&i,jAn(t=c?(R6e(n,e),-1):(B6e(n,e),1)}function WT(n){var e,t,i;if(i=n.Jh(),!i)for(e=0,t=n.Ph();t;t=t.Ph()){if(++e>PB)return t.Qh();if(i=t.Jh(),i||t==n)break}return i}function VBn(n,e){var t;return x(e)===x(n)?!0:!D(e,21)||(t=u(e,21),t.gc()!=n.gc())?!1:n.Ic(t)}function H8e(n,e){return n.ee.e?1:n.fe.f?1:mt(n)-mt(e)}function JT(n,e){return Jn(n),e==null?!1:An(n,e)?!0:n.length==e.length&&An(n.toLowerCase(),e.toLowerCase())}function Ml(n){var e,t;return Ec(n,-129)>0&&Ec(n,128)<0?(YSn(),e=Ae(n)+128,t=gun[e],!t&&(t=gun[e]=new vG(n)),t):new vG(n)}function dd(){dd=F,Ow=new lC(kh,0),Ion=new lC("INSIDE_PORT_SIDE_GROUPS",1),P_=new lC("GROUP_MODEL_ORDER",2),I_=new lC(nin,3)}function q8e(n){var e;return n.b||xhe(n,(e=$ae(n.e,n.a),!e||!An(cK,gf((!e.b&&(e.b=new lo((On(),ar),pc,e)),e.b),"qualified")))),n.c}function U8e(n,e){var t,i;for(t=(zn(e,n.length),n.charCodeAt(e)),i=e+1;i2e3&&(hQn=n,uP=y.setTimeout(_he,10))),cP++==0?(ime((lz(),uun)),!0):!1}function r9e(n,e,t){var i;(DQn?(o8e(n),!0):LQn||$Qn?(l4(),!0):NQn&&(l4(),!1))&&(i=new lSn(e),i.b=t,aje(n,i))}function kx(n,e){var t;t=!n.A.Hc((go(),Gd))||n.q==(Oi(),qc),n.u.Hc((zu(),Fl))?t?XDe(n,e):UGn(n,e):n.u.Hc(Ia)&&(t?dDe(n,e):czn(n,e))}function nRn(n){var e;x(z(n,(He(),R2)))===x((jl(),uO))&&(At(n)?(e=u(z(At(n),R2),346),ht(n,R2,e)):ht(n,R2,j9))}function c9e(n){var e,t;return kt(n.d.i,(cn(),Ev))?(e=u(v(n.c.i,Ev),17),t=u(v(n.d.i,Ev),17),jc(e.a,t.a)>0):!1}function eRn(n,e,t){return new Ho(y.Math.min(n.a,e.a)-t/2,y.Math.min(n.b,e.b)-t/2,y.Math.abs(n.a-e.a)+t,y.Math.abs(n.b-e.b)+t)}function tRn(n){var e;this.d=new Z,this.j=new Li,this.g=new Li,e=n.g.b,this.f=u(v(Hi(e),(cn(),Do)),88),this.e=$(R(nA(e,qw)))}function iRn(n){this.d=new Z,this.e=new Ql,this.c=K(ye,_e,28,(en(),A(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])).length,15,1),this.b=n}function oZ(n,e,t){var i;switch(i=t[n.g][e],n.g){case 1:case 3:return new V(0,i);case 2:case 4:return new V(i,0);default:return null}}function rRn(n,e,t){var i,r;r=u(z7(e.f),205);try{r.rf(n,t),fIn(e.f,r)}catch(c){throw c=It(c),D(c,103)?(i=c,M(i)):M(c)}}function cRn(n,e,t){var i,r,c,s,f,h;return i=null,f=Qen(G4(),e),c=null,f&&(r=null,h=Wen(f,t),s=null,h!=null&&(s=n.qf(f,h)),r=s,c=r),i=c,i}function yx(n,e,t,i){var r;if(r=n.length,e>=r)return r;for(e=e>0?e:0;ei&&$t(e,i,null),e}function uRn(n,e){var t,i;for(i=n.a.length,e.lengthi&&$t(e,i,null),e}function wm(n,e){var t,i;if(++n.j,e!=null&&(t=(i=n.a.Cb,D(i,99)?u(i,99).th():null),hCe(e,t))){Xp(n.a,4,t);return}Xp(n.a,4,u(e,129))}function u9e(n){var e;if(n==null)return null;if(e=lMe(Fc(n,!0)),e==null)throw M(new kD("Invalid hexBinary value: '"+n+"'"));return e}function QT(n,e,t){var i;e.a.length>0&&(nn(n.b,new ASn(e.a,t)),i=e.a.length,0i&&(e.a+=PTn(K(fs,gh,28,-i,15,1))))}function oRn(n,e,t){var i,r,c;if(!t[e.d])for(t[e.d]=!0,r=new C(xg(e));r.a=n.b>>1)for(i=n.c,t=n.b;t>e;--t)i=i.b;else for(i=n.a.a,t=0;t=0?n.Wh(r):hF(n,i)):t<0?hF(n,i):u(i,69).wk().Bk(n,n.hi(),t)}function lRn(n){var e,t,i;for(i=(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),n.o),t=i.c.Kc();t.e!=t.i.gc();)e=u(t.Yj(),44),e.md();return ik(i)}function rn(n){var e;if(D(n.a,4)){if(e=rZ(n.a),e==null)throw M(new Or(NVn+n.b+"'. "+LVn+(ll(hE),hE.k)+acn));return e}else return n.a}function b9e(n,e){var t,i;if(n.j.length!=e.j.length)return!1;for(t=0,i=n.j.length;t=64&&e<128&&(r=lf(r,Bs(1,e-64)));return r}function nA(n,e){var t,i;return i=null,kt(n,(He(),N3))&&(t=u(v(n,N3),96),t.pf(e)&&(i=t.of(e))),i==null&&Hi(n)&&(i=v(Hi(n),e)),i}function w9e(n,e){var t;return t=u(v(n,(cn(),Fr)),75),yL(e,LZn)?t?vo(t):(t=new Mu,U(n,Fr,t)):t&&U(n,Fr,null),t}function j5(){j5=F,hon=(He(),Han),g_=jan,DYn=x2,fon=C1,xYn=(aA(),Hun),$Yn=Kun,FYn=Uun,NYn=Run,LYn=(Q$(),uon),w_=PYn,son=IYn,pP=OYn}function eA(n){switch(Nz(),this.c=new Z,this.d=n,n.g){case 0:case 2:this.a=HW(Pon),this.b=St;break;case 3:case 1:this.a=Pon,this.b=li}}function g9e(n){var e;Ep(u(v(n,(cn(),Kt)),101))&&(e=n.b,nHn((Ln(0,e.c.length),u(e.c[0],30))),nHn(u(sn(e,e.c.length-1),30)))}function p9e(n,e){e.Ug("Self-Loop post-processing",1),qt(ut(ut(rc(new Tn(null,new In(n.b,16)),new o2n),new s2n),new f2n),new h2n),e.Vg()}function aRn(n,e,t){var i,r;if(n.c)eu(n.c,n.c.i+e),tu(n.c,n.c.j+t);else for(r=new C(n.b);r.a=0&&(t.d=n.t);break;case 3:n.t>=0&&(t.a=n.t)}n.C&&(t.b=n.C.b,t.c=n.C.c)}function E5(){E5=F,Dhn=new l7(jrn,0),KH=new l7(sR,1),_H=new l7("LINEAR_SEGMENTS",2),X8=new l7("BRANDES_KOEPF",3),V8=new l7(sVn,4)}function C5(){C5=F,sj=new fC(eS,0),wP=new fC(HB,1),gP=new fC(qB,2),fj=new fC(UB,3),sj.a=!1,wP.a=!0,gP.a=!1,fj.a=!0}function Vp(){Vp=F,cj=new sC(eS,0),rj=new sC(HB,1),uj=new sC(qB,2),oj=new sC(UB,3),cj.a=!1,rj.a=!0,uj.a=!1,oj.a=!0}function Wp(n,e,t,i){var r;return t>=0?n.Sh(e,t,i):(n.Ph()&&(i=(r=n.Fh(),r>=0?n.Ah(i):n.Ph().Th(n,-1-r,null,i))),n.Ch(e,t,i))}function sZ(n,e){switch(e){case 7:!n.e&&(n.e=new Nn(Vt,n,7,4)),me(n.e);return;case 8:!n.d&&(n.d=new Nn(Vt,n,8,5)),me(n.d);return}WY(n,e)}function ht(n,e,t){return t==null?(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),VT(n.o,e)):(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),Gk(n.o,e,t)),n}function gRn(n,e){Dn();var t,i,r,c;for(t=n,c=e,D(n,21)&&!D(e,21)&&(t=e,c=n),r=t.Kc();r.Ob();)if(i=r.Pb(),c.Hc(i))return!1;return!0}function j9e(n,e,t,i){if(e.at.b)return!0}return!1}function Tx(n,e){return Ai(n)?!!iQn[e]:n.Sm?!!n.Sm[e]:$b(n)?!!tQn[e]:Nb(n)?!!eQn[e]:!1}function E9e(n){var e;e=n.a;do e=u(fe(new ie(ce(ji(e).a.Kc(),new En))),18).c.i,e.k==(Vn(),Mi)&&n.b.Fc(e);while(e.k==(Vn(),Mi));n.b=Qo(n.b)}function pRn(n,e){var t,i,r;for(r=n,i=new ie(ce(ji(e).a.Kc(),new En));pe(i);)t=u(fe(i),18),t.c.i.c&&(r=y.Math.max(r,t.c.i.c.p));return r}function C9e(n,e){var t,i,r;for(r=0,i=u(u(ot(n.r,e),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r+=t.d.d+t.b.Mf().b+t.d.a,i.Ob()&&(r+=n.w);return r}function M9e(n,e){var t,i,r;for(r=0,i=u(u(ot(n.r,e),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r+=t.d.b+t.b.Mf().a+t.d.c,i.Ob()&&(r+=n.w);return r}function mRn(n){var e,t,i,r;if(i=0,r=aw(n),r.c.length==0)return 1;for(t=new C(r);t.a=0?n.Lh(s,t,!0):K0(n,c,t)):u(c,69).wk().yk(n,n.hi(),r,t,i)}function P9e(n,e,t,i){var r,c;c=e.pf((He(),K2))?u(e.of(K2),21):n.j,r=d5e(c),r!=(VA(),l_)&&(t&&!eZ(r)||dnn(aMe(n,r,i),e))}function I9e(n){switch(n.g){case 1:return D0(),ij;case 3:return D0(),tj;case 2:return D0(),d_;case 4:return D0(),a_;default:return null}}function O9e(n,e,t){if(n.e)switch(n.b){case 1:yge(n.c,e,t);break;case 0:jge(n.c,e,t)}else RDn(n.c,e,t);n.a[e.p][t.p]=n.c.i,n.a[t.p][e.p]=n.c.e}function vRn(n){var e,t;if(n==null)return null;for(t=K(Qh,J,199,n.length,0,2),e=0;e=0)return r;if(n.ol()){for(i=0;i=r)throw M(new Kb(e,r));if(n.Si()&&(i=n.dd(t),i>=0&&i!=e))throw M(new Gn(Xy));return n.Xi(e,t)}function fZ(n,e){if(this.a=u(Se(n),253),this.b=u(Se(e),253),n.Ed(e)>0||n==(dD(),_K)||e==(bD(),HK))throw M(new Gn("Invalid range: "+HDn(n,e)))}function kRn(n){var e,t;for(this.b=new Z,this.c=n,this.a=!1,t=new C(n.a);t.a0),(e&-e)==e)return wi(e*to(n,31)*4656612873077393e-25);do t=to(n,31),i=t%e;while(t-i+(e-1)<0);return wi(i)}function F9e(n,e,t){switch(t.g){case 1:n.a=e.a/2,n.b=0;break;case 2:n.a=e.a,n.b=e.b/2;break;case 3:n.a=e.a/2,n.b=e.b;break;case 4:n.a=0,n.b=e.b/2}}function Kk(n,e,t,i){var r,c;for(r=e;r1&&(c=L9e(n,e)),c}function ERn(n){var e;return e=$(R(z(n,(He(),Jj))))*y.Math.sqrt((!n.a&&(n.a=new q(Ye,n,10,11)),n.a).i),new V(e,e/$(R(z(n,rO))))}function Sx(n){var e;return n.f&&n.f.Vh()&&(e=u(n.f,54),n.f=u(ea(n,e),84),n.f!=e&&n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,9,8,e,n.f))),n.f}function Px(n){var e;return n.i&&n.i.Vh()&&(e=u(n.i,54),n.i=u(ea(n,e),84),n.i!=e&&n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,9,7,e,n.i))),n.i}function br(n){var e;return n.b&&n.b.Db&64&&(e=n.b,n.b=u(ea(n,e),19),n.b!=e&&n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,9,21,e,n.b))),n.b}function uA(n,e){var t,i,r;n.d==null?(++n.e,++n.f):(i=e.Bi(),uTe(n,n.f+1),r=(i&et)%n.d.length,t=n.d[r],!t&&(t=n.d[r]=n.dk()),t.Fc(e),++n.f)}function aZ(n,e,t){var i;return e.tk()?!1:e.Ik()!=-2?(i=e.ik(),i==null?t==null:rt(i,t)):e.qk()==n.e.Dh()&&t==null}function oA(){var n;Co(16,$zn),n=oxn(16),this.b=K(UK,Ey,302,n,0,1),this.c=K(UK,Ey,302,n,0,1),this.a=null,this.e=null,this.i=0,this.f=n-1,this.g=0}function Tl(n){mV.call(this),this.k=(Vn(),zt),this.j=(Co(6,mw),new Gc(6)),this.b=(Co(2,mw),new Gc(2)),this.d=new sD,this.f=new ZG,this.a=n}function R9e(n){var e,t;n.c.length<=1||(e=Sqn(n,(en(),ae)),b_n(n,u(e.a,17).a,u(e.b,17).a),t=Sqn(n,Wn),b_n(n,u(t.a,17).a,u(t.b,17).a))}function K9e(n,e,t){var i,r;for(r=n.a.b,i=r.c.length;i102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function Nx(n,e){if(n==null)throw M(new fp("null key in entry: null="+e));if(e==null)throw M(new fp("null value in entry: "+n+"=null"))}function q9e(n,e){for(var t,i;n.Ob();)if(!e.Ob()||(t=n.Pb(),i=e.Pb(),!(x(t)===x(i)||t!=null&&rt(t,i))))return!1;return!e.Ob()}function TRn(n,e){var t;return t=A(T(Pi,1),Tr,28,15,[Z$(n.a[0],e),Z$(n.a[1],e),Z$(n.a[2],e)]),n.d&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function ARn(n,e){var t;return t=A(T(Pi,1),Tr,28,15,[$T(n.a[0],e),$T(n.a[1],e),$T(n.a[2],e)]),n.d&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function bZ(n,e,t){Ep(u(v(e,(cn(),Kt)),101))||(SJ(n,e,h1(e,t)),SJ(n,e,h1(e,(en(),ae))),SJ(n,e,h1(e,Xn)),Dn(),Yt(e.j,new L7n(n)))}function SRn(n){var e,t;for(n.c||sOe(n),t=new Mu,e=new C(n.a),E(e);e.a0&&(zn(0,e.length),e.charCodeAt(0)==43)?(zn(1,e.length+1),e.substr(1)):e))}function i7e(n){var e;return n==null?null:new H1((e=Fc(n,!0),e.length>0&&(zn(0,e.length),e.charCodeAt(0)==43)?(zn(1,e.length+1),e.substr(1)):e))}function gZ(n,e,t,i,r,c,s,f){var h,l;i&&(h=i.a[0],h&&gZ(n,e,t,h,r,c,s,f),qx(n,t,i.d,r,c,s,f)&&e.Fc(i),l=i.a[1],l&&gZ(n,e,t,l,r,c,s,f))}function Kg(n,e,t){try{return c0(C$(n,e,t),1)}catch(i){throw i=It(i),D(i,333)?M(new Ir(GB+n.o+"*"+n.p+zB+e+ur+t+XB)):M(i)}}function LRn(n,e,t){try{return c0(C$(n,e,t),0)}catch(i){throw i=It(i),D(i,333)?M(new Ir(GB+n.o+"*"+n.p+zB+e+ur+t+XB)):M(i)}}function NRn(n,e,t){try{return c0(C$(n,e,t),2)}catch(i){throw i=It(i),D(i,333)?M(new Ir(GB+n.o+"*"+n.p+zB+e+ur+t+XB)):M(i)}}function $Rn(n,e){if(n.g==-1)throw M(new Cu);n.Xj();try{n.d.hd(n.g,e),n.f=n.d.j}catch(t){throw t=It(t),D(t,77)?M(new Bo):M(t)}}function r7e(n){var e,t,i,r,c;for(i=new C(n.b);i.ac&&$t(e,c,null),e}function c7e(n,e){var t,i;if(i=n.gc(),e==null){for(t=0;t0&&(h+=r),l[a]=s,s+=f*(h+i)}function FRn(n){var e,t,i;for(i=n.f,n.n=K(Pi,Tr,28,i,15,1),n.d=K(Pi,Tr,28,i,15,1),e=0;e0?n.c:0),++r;n.b=i,n.d=c}function HRn(n,e){var t;return t=A(T(Pi,1),Tr,28,15,[lZ(n,(wf(),bc),e),lZ(n,Wc,e),lZ(n,wc,e)]),n.f&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function d7e(n,e,t){var i;try{xA(n,e+n.j,t+n.k,!1,!0)}catch(r){throw r=It(r),D(r,77)?(i=r,M(new Ir(i.g+iS+e+ur+t+")."))):M(r)}}function b7e(n,e,t){var i;try{xA(n,e+n.j,t+n.k,!0,!1)}catch(r){throw r=It(r),D(r,77)?(i=r,M(new Ir(i.g+iS+e+ur+t+")."))):M(r)}}function qRn(n){var e;kt(n,(cn(),hb))&&(e=u(v(n,hb),21),e.Hc((lw(),Qs))?(e.Mc(Qs),e.Fc(Ys)):e.Hc(Ys)&&(e.Mc(Ys),e.Fc(Qs)))}function URn(n){var e;kt(n,(cn(),hb))&&(e=u(v(n,hb),21),e.Hc((lw(),nf))?(e.Mc(nf),e.Fc(Ms)):e.Hc(Ms)&&(e.Mc(Ms),e.Fc(nf)))}function Kx(n,e,t,i){var r,c,s,f;return n.a==null&&gje(n,e),s=e.b.j.c.length,c=t.d.p,f=i.d.p,r=f-1,r<0&&(r=s-1),c<=r?n.a[r]-n.a[c]:n.a[s-1]-n.a[c]+n.a[r]}function w7e(n){var e,t;if(!n.b)for(n.b=RM(u(n.f,27).kh().i),t=new ne(u(n.f,27).kh());t.e!=t.i.gc();)e=u(ue(t),135),nn(n.b,new pD(e));return n.b}function g7e(n){var e,t;if(!n.e)for(n.e=RM(mN(u(n.f,27)).i),t=new ne(mN(u(n.f,27)));t.e!=t.i.gc();)e=u(ue(t),123),nn(n.e,new Fkn(e));return n.e}function GRn(n){var e,t;if(!n.a)for(n.a=RM(TM(u(n.f,27)).i),t=new ne(TM(u(n.f,27)));t.e!=t.i.gc();)e=u(ue(t),27),nn(n.a,new ML(n,e));return n.a}function B0(n){var e;if(!n.C&&(n.D!=null||n.B!=null))if(e=iDe(n),e)n.hl(e);else try{n.hl(null)}catch(t){if(t=It(t),!D(t,63))throw M(t)}return n.C}function p7e(n){switch(n.q.g){case 5:wKn(n,(en(),Xn)),wKn(n,ae);break;case 4:mGn(n,(en(),Xn)),mGn(n,ae);break;default:k_n(n,(en(),Xn)),k_n(n,ae)}}function m7e(n){switch(n.q.g){case 5:gKn(n,(en(),Zn)),gKn(n,Wn);break;case 4:vGn(n,(en(),Zn)),vGn(n,Wn);break;default:y_n(n,(en(),Zn)),y_n(n,Wn)}}function _g(n,e){var t,i,r;for(r=new Li,i=n.Kc();i.Ob();)t=u(i.Pb(),36),Am(t,r.a,0),r.a+=t.f.a+e,r.b=y.Math.max(r.b,t.f.b);return r.b>0&&(r.b+=e),r}function hA(n,e){var t,i,r;for(r=new Li,i=n.Kc();i.Ob();)t=u(i.Pb(),36),Am(t,0,r.b),r.b+=t.f.b+e,r.a=y.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=e),r}function zRn(n){var e,t,i;for(i=et,t=new C(n.a);t.a>16==6?n.Cb.Th(n,5,Ef,e):(i=br(u($n((t=u(Un(n,16),29),t||n.ii()),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function v7e(n){I4();var e=n.e;if(e&&e.stack){var t=e.stack,i=e+` +`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` +`)}return[]}function k7e(n){var e;return e=(J$n(),wQn),e[n>>>28]|e[n>>24&15]<<4|e[n>>20&15]<<8|e[n>>16&15]<<12|e[n>>12&15]<<16|e[n>>8&15]<<20|e[n>>4&15]<<24|e[n&15]<<28}function WRn(n){var e,t,i;n.b==n.c&&(i=n.a.length,t=JQ(y.Math.max(8,i))<<1,n.b!=0?(e=xs(n.a,t),lxn(n,e,i),n.a=e,n.b=0):Ab(n.a,t),n.c=i)}function y7e(n,e){var t;return t=n.b,t.pf((He(),oo))?t.ag()==(en(),Wn)?-t.Mf().a-$(R(t.of(oo))):e+$(R(t.of(oo))):t.ag()==(en(),Wn)?-t.Mf().a:e}function Hk(n){var e;return n.b.c.length!=0&&u(sn(n.b,0),72).a?u(sn(n.b,0),72).a:(e=vN(n),e??""+(n.c?qr(n.c.a,n,0):-1))}function lA(n){var e;return n.f.c.length!=0&&u(sn(n.f,0),72).a?u(sn(n.f,0),72).a:(e=vN(n),e??""+(n.i?qr(n.i.j,n,0):-1))}function j7e(n,e){var t,i;if(e<0||e>=n.gc())return null;for(t=e;t0?n.c:0),r=y.Math.max(r,e.d),++i;n.e=c,n.b=r}function C7e(n){var e,t;if(!n.b)for(n.b=RM(u(n.f,123).kh().i),t=new ne(u(n.f,123).kh());t.e!=t.i.gc();)e=u(ue(t),135),nn(n.b,new pD(e));return n.b}function M7e(n,e){var t,i,r;if(e.dc())return p4(),p4(),lE;for(t=new DAn(n,e.gc()),r=new ne(n);r.e!=r.i.gc();)i=ue(r),e.Hc(i)&&ve(t,i);return t}function kZ(n,e,t,i){return e==0?i?(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),n.o):(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),ik(n.o)):tA(n,e,t,i)}function Hx(n){var e,t;if(n.rb)for(e=0,t=n.rb.i;e>22),r+=i>>22,r<0)?!1:(n.l=t&ro,n.m=i&ro,n.h=r&Il,!0)}function qx(n,e,t,i,r,c,s){var f,h;return!(e.Te()&&(h=n.a.Ne(t,i),h<0||!r&&h==0)||e.Ue()&&(f=n.a.Ne(t,c),f>0||!s&&f==0))}function P7e(n,e){rm();var t;if(t=n.j.g-e.j.g,t!=0)return 0;switch(n.j.g){case 2:return fx(e,jsn)-fx(n,jsn);case 4:return fx(n,ysn)-fx(e,ysn)}return 0}function I7e(n){switch(n.g){case 0:return Z_;case 1:return nH;case 2:return eH;case 3:return tH;case 4:return JP;case 5:return iH;default:return null}}function $r(n,e,t){var i,r;return i=(r=new lD,ad(r,e),zc(r,t),ve((!n.c&&(n.c=new q(vb,n,12,10)),n.c),r),r),e1(i,0),Zb(i,1),u1(i,!0),c1(i,!0),i}function Jp(n,e){var t,i;if(e>=n.i)throw M(new aL(e,n.i));return++n.j,t=n.g[e],i=n.i-e-1,i>0&&Ic(n.g,e+1,n.g,e,i),$t(n.g,--n.i,null),n.Qi(e,t),n.Ni(),t}function JRn(n,e){var t,i;return n.Db>>16==17?n.Cb.Th(n,21,As,e):(i=br(u($n((t=u(Un(n,16),29),t||n.ii()),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function O7e(n){var e,t,i,r;for(Dn(),Yt(n.c,n.a),r=new C(n.c);r.at.a.c.length))throw M(new Gn("index must be >= 0 and <= layer node count"));n.c&&du(n.c.a,n),n.c=t,t&&a0(t.a,e,n)}function eKn(n,e){var t,i,r;for(i=new ie(ce(Cl(n).a.Kc(),new En));pe(i);)return t=u(fe(i),18),r=u(e.Kb(t),10),new ME(Se(r.n.b+r.o.b/2));return Qv(),Qv(),KK}function tKn(n,e){this.c=new de,this.a=n,this.b=e,this.d=u(v(n,(W(),E2)),312),x(v(n,(cn(),uhn)))===x((ok(),QP))?this.e=new Qyn:this.e=new Jyn}function T5(n,e){var t,i;return i=null,n.pf((He(),N3))&&(t=u(n.of(N3),96),t.pf(e)&&(i=t.of(e))),i==null&&n.Tf()&&(i=n.Tf().of(e)),i==null&&(i=rn(e)),i}function Ux(n,e){var t,i;t=n.fd(e);try{return i=t.Pb(),t.Qb(),i}catch(r){throw r=It(r),D(r,112)?M(new Ir("Can't remove element "+e)):M(r)}}function R7e(n,e){var t,i,r;if(i=new WE,r=new ZQ(i.q.getFullYear()-ha,i.q.getMonth(),i.q.getDate()),t=JPe(n,e,r),t==0||t0?e:0),++t;return new V(i,r)}function MZ(n,e){var t,i;return n.Db>>16==6?n.Cb.Th(n,6,Vt,e):(i=br(u($n((t=u(Un(n,16),29),t||(Cc(),bO)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function TZ(n,e){var t,i;return n.Db>>16==7?n.Cb.Th(n,1,uE,e):(i=br(u($n((t=u(Un(n,16),29),t||(Cc(),Sdn)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function AZ(n,e){var t,i;return n.Db>>16==9?n.Cb.Th(n,9,Ye,e):(i=br(u($n((t=u(Un(n,16),29),t||(Cc(),Idn)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function cKn(n,e){var t,i;return n.Db>>16==5?n.Cb.Th(n,9,EO,e):(i=br(u($n((t=u(Un(n,16),29),t||(On(),S1)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function uKn(n,e){var t,i;return n.Db>>16==7?n.Cb.Th(n,6,Ef,e):(i=br(u($n((t=u(Un(n,16),29),t||(On(),I1)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function SZ(n,e){var t,i;return n.Db>>16==3?n.Cb.Th(n,0,sE,e):(i=br(u($n((t=u(Un(n,16),29),t||(On(),A1)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function oKn(){this.a=new avn,this.g=new oA,this.j=new oA,this.b=new de,this.d=new oA,this.i=new oA,this.k=new de,this.c=new de,this.e=new de,this.f=new de}function H7e(n,e,t){var i,r,c;for(t<0&&(t=0),c=n.i,r=t;rPB)return pm(n,i);if(i==n)return!0}}return!1}function U7e(n){switch(RC(),n.q.g){case 5:U_n(n,(en(),Xn)),U_n(n,ae);break;case 4:GHn(n,(en(),Xn)),GHn(n,ae);break;default:VGn(n,(en(),Xn)),VGn(n,ae)}}function G7e(n){switch(RC(),n.q.g){case 5:fHn(n,(en(),Zn)),fHn(n,Wn);break;case 4:dRn(n,(en(),Zn)),dRn(n,Wn);break;default:WGn(n,(en(),Zn)),WGn(n,Wn)}}function z7e(n){var e,t;e=u(v(n,(Us(),nZn)),17),e?(t=e.a,t==0?U(n,(Q1(),jP),new dx):U(n,(Q1(),jP),new qM(t))):U(n,(Q1(),jP),new qM(1))}function X7e(n,e){var t;switch(t=n.i,e.g){case 1:return-(n.n.b+n.o.b);case 2:return n.n.a-t.o.a;case 3:return n.n.b-t.o.b;case 4:return-(n.n.a+n.o.a)}return 0}function V7e(n,e){switch(n.g){case 0:return e==(Yo(),ya)?HP:qP;case 1:return e==(Yo(),ya)?HP:bj;case 2:return e==(Yo(),ya)?bj:qP;default:return bj}}function Uk(n,e){var t,i,r;for(du(n.a,e),n.e-=e.r+(n.a.c.length==0?0:n.c),r=$rn,i=new C(n.a);i.a>16==3?n.Cb.Th(n,12,Ye,e):(i=br(u($n((t=u(Un(n,16),29),t||(Cc(),Adn)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function IZ(n,e){var t,i;return n.Db>>16==11?n.Cb.Th(n,10,Ye,e):(i=br(u($n((t=u(Un(n,16),29),t||(Cc(),Pdn)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function sKn(n,e){var t,i;return n.Db>>16==10?n.Cb.Th(n,11,As,e):(i=br(u($n((t=u(Un(n,16),29),t||(On(),P1)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function fKn(n,e){var t,i;return n.Db>>16==10?n.Cb.Th(n,12,Ss,e):(i=br(u($n((t=u(Un(n,16),29),t||(On(),ig)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function gs(n){var e;return!(n.Bb&1)&&n.r&&n.r.Vh()&&(e=u(n.r,54),n.r=u(ea(n,e),142),n.r!=e&&n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,9,8,e,n.r))),n.r}function Gx(n,e,t){var i;return i=A(T(Pi,1),Tr,28,15,[tnn(n,(wf(),bc),e,t),tnn(n,Wc,e,t),tnn(n,wc,e,t)]),n.f&&(i[0]=y.Math.max(i[0],i[2]),i[2]=i[0]),i}function W7e(n,e){var t,i,r;if(r=v9e(n,e),r.c.length!=0)for(Yt(r,new Sgn),t=r.c.length,i=0;i>19,l=e.h>>19,h!=l?l-h:(r=n.h,f=e.h,r!=f?r-f:(i=n.m,s=e.m,i!=s?i-s:(t=n.l,c=e.l,t-c)))}function aA(){aA=F,Gun=(NA(),f_),Uun=new Mn(Ptn,Gun),qun=(cT(),s_),Hun=new Mn(Itn,qun),_un=(YT(),o_),Kun=new Mn(Otn,_un),Run=new Mn(Dtn,(_n(),!0))}function A5(n,e,t){var i,r;i=e*t,D(n.g,154)?(r=xp(n),r.f.d?r.f.a||(n.d.a+=i+_f):(n.d.d-=i+_f,n.d.a+=i+_f)):D(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function hKn(n,e,t){var i,r,c,s,f;for(r=n[t.g],f=new C(e.d);f.a0?n.b:0),++t;e.b=i,e.e=r}function lKn(n){var e,t,i;if(i=n.b,tCn(n.i,i.length)){for(t=i.length*2,n.b=K(UK,Ey,302,t,0,1),n.c=K(UK,Ey,302,t,0,1),n.f=t-1,n.i=0,e=n.a;e;e=e.c)Zk(n,e,e);++n.g}}function tke(n,e,t,i){var r,c,s,f;for(r=0;rs&&(f=s/i),r>c&&(h=c/r),ch(n,y.Math.min(f,h)),n}function rke(){KA();var n,e;try{if(e=u(_Z((R1(),Ps),ev),2113),e)return e}catch(t){if(t=It(t),D(t,103))n=t,IW((Ie(),n));else throw M(t)}return new svn}function cke(){KA();var n,e;try{if(e=u(_Z((R1(),Ps),ks),2040),e)return e}catch(t){if(t=It(t),D(t,103))n=t,IW((Ie(),n));else throw M(t)}return new Nvn}function uke(){yNn();var n,e;try{if(e=u(_Z((R1(),Ps),Sd),2122),e)return e}catch(t){if(t=It(t),D(t,103))n=t,IW((Ie(),n));else throw M(t)}return new A6n}function oke(n,e,t){var i,r;return r=n.e,n.e=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,4,r,e),t?t.nj(i):t=i),r!=e&&(e?t=Lm(n,MA(n,e),t):t=Lm(n,n.a,t)),t}function aKn(){WE.call(this),this.e=-1,this.a=!1,this.p=Wi,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Wi}function ske(n,e){var t,i,r;if(i=n.b.d.d,n.a||(i+=n.b.d.a),r=e.b.d.d,e.a||(r+=e.b.d.a),t=bt(i,r),t==0){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}function fke(n,e){var t,i,r;if(i=n.b.b.d,n.a||(i+=n.b.b.a),r=e.b.b.d,e.a||(r+=e.b.b.a),t=bt(i,r),t==0){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}function hke(n,e){var t,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=e.b.g.d,e.a||(r+=e.b.g.a),t=bt(i,r),t==0){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}function DZ(){DZ=F,mZn=Pu(Ke(Ke(Ke(new ii,(Vi(),Kc),(tr(),osn)),Kc,ssn),zr,fsn),zr,Jon),kZn=Ke(Ke(new ii,Kc,qon),Kc,Qon),vZn=Pu(new ii,zr,Zon)}function lke(n){var e,t,i,r,c;for(e=u(v(n,(W(),F8)),85),c=n.n,i=e.Cc().Kc();i.Ob();)t=u(i.Pb(),314),r=t.i,r.c+=c.a,r.d+=c.b,t.c?Dqn(t):Lqn(t);U(n,F8,null)}function ake(n,e,t){var i,r;switch(r=n.b,i=r.d,e.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}function dke(n,e,t){var i,r;for(t.Ug("Interactive node placement",1),n.a=u(v(e,(W(),E2)),312),r=new C(e.b);r.a0&&(s=(c&et)%n.d.length,r=Nnn(n,s,c,e),r)?(f=r.nd(t),f):(i=n.ck(c,e,t),n.c.Fc(i),null)}function $Z(n,e){var t,i,r,c;switch(r1(n,e).Kl()){case 3:case 2:{for(t=Jg(e),r=0,c=t.i;r=0;i--)if(An(n[i].d,e)||An(n[i].d,t)){n.length>=i+1&&n.splice(0,i+1);break}return n}function zk(n,e){var t;return Vr(n)&&Vr(e)&&(t=n/e,Ty0&&(n.b+=2,n.a+=i):(n.b+=1,n.a+=y.Math.min(i,r))}function vKn(n){var e;e=u(v(u(Zo(n.b,0),39),(lc(),Sln)),107),U(n,(pt(),Ov),new V(0,0)),lUn(new ek,n,e.b+e.c-$(R(v(n,rq))),e.d+e.a-$(R(v(n,cq))))}function kKn(n,e){var t,i;if(i=!1,Ai(e)&&(i=!0,Ip(n,new qb(Oe(e)))),i||D(e,242)&&(i=!0,Ip(n,(t=PV(u(e,242)),new TE(t)))),!i)throw M(new vD(Ocn))}function Ike(n,e,t,i){var r,c,s;return r=new ml(n.e,1,10,(s=e.c,D(s,90)?u(s,29):(On(),Is)),(c=t.c,D(c,90)?u(c,29):(On(),Is)),f1(n,e),!1),i?i.nj(r):i=r,i}function BZ(n){var e,t;switch(u(v(Hi(n),(cn(),Zfn)),429).g){case 0:return e=n.n,t=n.o,new V(e.a+t.a/2,e.b+t.b/2);case 1:return new rr(n.n);default:return null}}function Xk(){Xk=F,YP=new w6(kh,0),Bsn=new w6("LEFTUP",1),Ksn=new w6("RIGHTUP",2),Fsn=new w6("LEFTDOWN",3),Rsn=new w6("RIGHTDOWN",4),rH=new w6("BALANCED",5)}function Oke(n,e,t){var i,r,c;if(i=bt(n.a[e.p],n.a[t.p]),i==0){if(r=u(v(e,(W(),T3)),15),c=u(v(t,T3),15),r.Hc(t))return-1;if(c.Hc(e))return 1}return i}function Dke(n){switch(n.g){case 1:return new q4n;case 2:return new U4n;case 3:return new H4n;case 0:return null;default:throw M(new Gn(GR+(n.f!=null?n.f:""+n.g)))}}function RZ(n,e,t){switch(e){case 1:!n.n&&(n.n=new q(Ar,n,1,7)),me(n.n),!n.n&&(n.n=new q(Ar,n,1,7)),Bt(n.n,u(t,16));return;case 2:z4(n,Oe(t));return}cY(n,e,t)}function KZ(n,e,t){switch(e){case 3:A0(n,$(R(t)));return;case 4:S0(n,$(R(t)));return;case 5:eu(n,$(R(t)));return;case 6:tu(n,$(R(t)));return}RZ(n,e,t)}function dA(n,e,t){var i,r,c;c=(i=new lD,i),r=Bf(c,e,null),r&&r.oj(),zc(c,t),ve((!n.c&&(n.c=new q(vb,n,12,10)),n.c),c),e1(c,0),Zb(c,1),u1(c,!0),c1(c,!0)}function _Z(n,e){var t,i,r;return t=h6(n.i,e),D(t,241)?(r=u(t,241),r.zi()==null,r.wi()):D(t,507)?(i=u(t,2037),r=i.b,r):null}function Lke(n,e,t,i){var r,c;return Se(e),Se(t),c=u(L6(n.d,e),17),XNn(!!c,"Row %s not in %s",e,n.e),r=u(L6(n.b,t),17),XNn(!!r,"Column %s not in %s",t,n.c),rFn(n,c.a,r.a,i)}function yKn(n,e,t,i,r,c,s){var f,h,l,a,d;if(a=r[c],l=c==s-1,f=l?i:0,d=KRn(f,a),i!=10&&A(T(n,s-c),e[c],t[c],f,d),!l)for(++c,h=0;h1||f==-1?(c=u(h,15),r.Wb(g8e(n,c))):r.Wb(IF(n,u(h,58)))))}function Kke(n,e,t,i){OEn();var r=RK;function c(){for(var s=0;s0)return!1;return!0}function qke(n){var e,t,i,r,c;for(i=new sd(new Ua(n.b).a);i.b;)t=O0(i),e=u(t.ld(),10),c=u(u(t.md(),42).a,10),r=u(u(t.md(),42).b,8),tt(ff(e.n),tt(Ki(c.n),r))}function Uke(n){switch(u(v(n.b,(cn(),zfn)),387).g){case 1:qt(_r(rc(new Tn(null,new In(n.d,16)),new kpn),new ypn),new jpn);break;case 2:RAe(n);break;case 0:pEe(n)}}function Gke(n,e,t){var i,r,c;for(i=t,!i&&(i=new op),i.Ug("Layout",n.a.c.length),c=new C(n.a);c.a_R)return t;r>-1e-6&&++t}return t}function qZ(n,e){var t;e!=n.b?(t=null,n.b&&(t=IM(n.b,n,-4,t)),e&&(t=Wp(e,n,-4,t)),t=QFn(n,e,t),t&&t.oj()):n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,3,e,e))}function CKn(n,e){var t;e!=n.f?(t=null,n.f&&(t=IM(n.f,n,-1,t)),e&&(t=Wp(e,n,-1,t)),t=JFn(n,e,t),t&&t.oj()):n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,0,e,e))}function Wke(n,e,t,i){var r,c,s,f;return fo(n.e)&&(r=e.Lk(),f=e.md(),c=t.md(),s=V1(n,1,r,f,c,r.Jk()?Im(n,r,c,D(r,102)&&(u(r,19).Bb&hr)!=0):-1,!0),i?i.nj(s):i=s),i}function MKn(n){var e,t,i;if(n==null)return null;if(t=u(n,15),t.dc())return"";for(i=new Hl,e=t.Kc();e.Ob();)Er(i,(at(),Oe(e.Pb()))),i.a+=" ";return bL(i,i.a.length-1)}function TKn(n){var e,t,i;if(n==null)return null;if(t=u(n,15),t.dc())return"";for(i=new Hl,e=t.Kc();e.Ob();)Er(i,(at(),Oe(e.Pb()))),i.a+=" ";return bL(i,i.a.length-1)}function Jke(n,e,t){var i,r;return i=n.c[e.c.p][e.p],r=n.c[t.c.p][t.p],i.a!=null&&r.a!=null?tN(i.a,r.a):i.a!=null?-1:r.a!=null?1:0}function Qke(n,e,t){return t.Ug("Tree layout",1),H7(n.b),hf(n.b,(Qp(),LI),LI),hf(n.b,n9,n9),hf(n.b,e9,e9),hf(n.b,t9,t9),n.a=wy(n.b,e),Gke(n,e,t.eh(1)),t.Vg(),e}function Yke(n,e){var t,i,r,c,s,f;if(e)for(c=e.a.length,t=new Qa(c),f=(t.b-t.a)*t.c<0?(K1(),xa):new q1(t);f.Ob();)s=u(f.Pb(),17),r=D4(e,s.a),i=new Xkn(n),uge(i.a,r)}function Zke(n,e){var t,i,r,c,s,f;if(e)for(c=e.a.length,t=new Qa(c),f=(t.b-t.a)*t.c<0?(K1(),xa):new q1(t);f.Ob();)s=u(f.Pb(),17),r=D4(e,s.a),i=new Bkn(n),cge(i.a,r)}function nye(n){var e;if(n!=null&&n.length>0&&Xi(n,n.length-1)==33)try{return e=$Hn(qo(n,0,n.length-1)),e.e==null}catch(t){if(t=It(t),!D(t,33))throw M(t)}return!1}function eye(n,e,t){var i,r,c;switch(i=Hi(e),r=KT(i),c=new Pc,ic(c,e),t.g){case 1:gi(c,$k(zp(r)));break;case 2:gi(c,zp(r))}return U(c,(cn(),Kw),R(v(n,Kw))),c}function UZ(n){var e,t;return e=u(fe(new ie(ce(ji(n.a).a.Kc(),new En))),18),t=u(fe(new ie(ce(Qt(n.a).a.Kc(),new En))),18),on(un(v(e,(W(),zf))))||on(un(v(t,zf)))}function ow(){ow=F,wj=new s7("ONE_SIDE",0),zP=new s7("TWO_SIDES_CORNER",1),XP=new s7("TWO_SIDES_OPPOSING",2),GP=new s7("THREE_SIDES",3),UP=new s7("FOUR_SIDES",4)}function AKn(n,e){var t,i,r,c;for(c=new Z,r=0,i=e.Kc();i.Ob();){for(t=Y(u(i.Pb(),17).a+r);t.a=n.f)break;Rn(c.c,t)}return c}function tye(n,e){var t,i,r,c,s;for(c=new C(e.a);c.a0&&QRn(this,this.c-1,(en(),Zn)),this.c0&&n[0].length>0&&(this.c=on(un(v(Hi(n[0][0]),(W(),efn))))),this.a=K(jie,J,2117,n.length,0,2),this.b=K(Eie,J,2118,n.length,0,2),this.d=new GFn}function oye(n){return n.c.length==0?!1:(Ln(0,n.c.length),u(n.c[0],18)).c.i.k==(Vn(),Mi)?!0:Og(_r(new Tn(null,new In(n,16)),new e3n),new t3n)}function IKn(n,e){var t,i,r,c,s,f,h;for(f=aw(e),c=e.f,h=e.g,s=y.Math.sqrt(c*c+h*h),r=0,i=new C(f);i.a=0?(t=zk(n,QA),i=Fk(n,QA)):(e=U1(n,1),t=zk(e,5e8),i=Fk(e,5e8),i=nr(Bs(i,1),vi(n,1))),lf(Bs(i,32),vi(t,mr))}function LKn(n,e,t){var i,r;switch(i=(oe(e.b!=0),u(Xo(e,e.a.a),8)),t.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return r=ge(e,0),_7(r,i),e}function NKn(n,e,t,i){var r,c,s,f,h;switch(h=n.b,c=e.d,s=c.j,f=oZ(s,h.d[s.g],t),r=tt(Ki(c.n),c.a),c.j.g){case 1:case 3:f.a+=r.a;break;case 2:case 4:f.b+=r.b}xt(i,f,i.c.b,i.c)}function vye(n,e,t){var i,r,c,s;for(s=qr(n.e,e,0),c=new JG,c.b=t,i=new xi(n.e,s);i.b1;e>>=1)e&1&&(i=Ig(i,t)),t.d==1?t=Ig(t,t):t=new JBn(pUn(t.a,t.d,K(ye,_e,28,t.d<<1,15,1)));return i=Ig(i,t),i}function ZZ(){ZZ=F;var n,e,t,i;for(Oun=K(Pi,Tr,28,25,15,1),Dun=K(Pi,Tr,28,33,15,1),i=152587890625e-16,e=32;e>=0;e--)Dun[e]=i,i*=.5;for(t=1,n=24;n>=0;n--)Oun[n]=t,t*=.5}function Mye(n){var e,t;if(on(un(z(n,(cn(),Rw))))){for(t=new ie(ce(Al(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),74),R0(e)&&on(un(z(e,Nd))))return!0}return!1}function $Kn(n,e){var t,i,r;fi(n.f,e)&&(e.b=n,i=e.c,qr(n.j,i,0)!=-1||nn(n.j,i),r=e.d,qr(n.j,r,0)!=-1||nn(n.j,r),t=e.a.b,t.c.length!=0&&(!n.i&&(n.i=new tRn(n)),Ive(n.i,t)))}function Tye(n){var e,t,i,r,c;return t=n.c.d,i=t.j,r=n.d.d,c=r.j,i==c?t.p=0&&An(n.substr(e,3),"GMT")||e>=0&&An(n.substr(e,3),"UTC"))&&(t[0]=e+3),Oen(n,t,i)}function Sye(n,e){var t,i,r,c,s;for(c=n.g.a,s=n.g.b,i=new C(n.d);i.at;c--)n[c]|=e[c-t-1]>>>s,n[c-1]=e[c-t-1]<0&&Ic(n.g,e,n.g,e+i,f),s=t.Kc(),n.i+=i,r=0;r>4&15,c=n[i]&15,s[r++]=Odn[t],s[r++]=Odn[c];return ws(s,0,s.length)}function wu(n){var e,t;return n>=hr?(e=Ay+(n-hr>>10&1023)&ui,t=56320+(n-hr&1023)&ui,String.fromCharCode(e)+(""+String.fromCharCode(t))):String.fromCharCode(n&ui)}function Rye(n,e){Bb();var t,i,r,c;return r=u(u(ot(n.r,e),21),87),r.gc()>=2?(i=u(r.Kc().Pb(),117),t=n.u.Hc((zu(),T9)),c=n.u.Hc(F3),!i.a&&!t&&(r.gc()==2||c)):!1}function BKn(n,e,t,i,r){var c,s,f;for(c=Cqn(n,e,t,i,r),f=!1;!c;)EA(n,r,!0),f=!0,c=Cqn(n,e,t,i,r);f&&EA(n,r,!1),s=B$(r),s.c.length!=0&&(n.d&&n.d.Gg(s),BKn(n,r,t,i,s))}function pA(){pA=F,aU=new v6(kh,0),edn=new v6("DIRECTED",1),idn=new v6("UNDIRECTED",2),Zan=new v6("ASSOCIATION",3),tdn=new v6("GENERALIZATION",4),ndn=new v6("DEPENDENCY",5)}function Kye(n,e){var t;if(!Sf(n))throw M(new Or(eWn));switch(t=Sf(n),e.g){case 1:return-(n.j+n.f);case 2:return n.i-t.g;case 3:return n.j-t.f;case 4:return-(n.i+n.g)}return 0}function _ye(n,e,t){var i,r,c;return i=e.Lk(),c=e.md(),r=i.Jk()?V1(n,4,i,c,null,Im(n,i,c,D(i,102)&&(u(i,19).Bb&hr)!=0),!0):V1(n,i.tk()?2:1,i,c,i.ik(),-1,!0),t?t.nj(r):t=r,t}function km(n,e){var t,i;for(Jn(e),i=n.b.c.length,nn(n.b,e);i>0;){if(t=i,i=(i-1)/2|0,n.a.Ne(sn(n.b,i),e)<=0)return Go(n.b,t,e),!0;Go(n.b,t,sn(n.b,i))}return Go(n.b,i,e),!0}function tnn(n,e,t,i){var r,c;if(r=0,t)r=$T(n.a[t.g][e.g],i);else for(c=0;c=f)}function RKn(n){switch(n.g){case 0:return new rmn;case 1:return new cmn;default:throw M(new Gn("No implementation is available for the width approximator "+(n.f!=null?n.f:""+n.g)))}}function inn(n,e,t,i){var r;if(r=!1,Ai(i)&&(r=!0,y4(e,t,Oe(i))),r||Nb(i)&&(r=!0,inn(n,e,t,i)),r||D(i,242)&&(r=!0,nd(e,t,u(i,242))),!r)throw M(new vD(Ocn))}function qye(n,e){var t,i,r;if(t=e.qi(n.a),t&&(r=gf((!t.b&&(t.b=new lo((On(),ar),pc,t)),t.b),vs),r!=null)){for(i=1;i<(Du(),e0n).length;++i)if(An(e0n[i],r))return i}return 0}function Uye(n,e){var t,i,r;if(t=e.qi(n.a),t&&(r=gf((!t.b&&(t.b=new lo((On(),ar),pc,t)),t.b),vs),r!=null)){for(i=1;i<(Du(),t0n).length;++i)if(An(t0n[i],r))return i}return 0}function KKn(n,e){var t,i,r,c;if(Jn(e),c=n.a.gc(),c0?1:0;c.a[r]!=t;)c=c.a[r],r=n.a.Ne(t.d,c.d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}function Xye(n){var e,t,i,r;for(e=new Z,t=K(so,Xh,28,n.a.c.length,16,1),MW(t,t.length),r=new C(n.a);r.a0&&dUn((Ln(0,t.c.length),u(t.c[0],30)),n),t.c.length>1&&dUn(u(sn(t,t.c.length-1),30),n),e.Vg()}function Wye(n){zu();var e,t;return e=yt(Fl,A(T(oO,1),G,279,0,[Ia])),!(vk(DM(e,n))>1||(t=yt(T9,A(T(oO,1),G,279,0,[M9,F3])),vk(DM(t,n))>1))}function cnn(n,e){var t;t=Nc((R1(),Ps),n),D(t,507)?Dr(Ps,n,new DMn(this,e)):Dr(Ps,n,this),tF(this,e),e==(u4(),qdn)?(this.wb=u(this,2038),u(e,2040)):this.wb=(G1(),Hn)}function Jye(n){var e,t,i;if(n==null)return null;for(e=null,t=0;t=d1?"error":i>=900?"warn":i>=800?"info":"log"),ZPn(t,n.a),n.b&&uen(e,t,n.b,"Exception: ",!0))}function v(n,e){var t,i;return i=(!n.q&&(n.q=new de),ee(n.q,e)),i??(t=e.Sg(),D(t,4)&&(t==null?(!n.q&&(n.q=new de),Bp(n.q,e)):(!n.q&&(n.q=new de),Ve(n.q,e,t))),t)}function Vi(){Vi=F,Vs=new o7("P1_CYCLE_BREAKING",0),Jh=new o7("P2_LAYERING",1),Oc=new o7("P3_NODE_ORDERING",2),Kc=new o7("P4_NODE_PLACEMENT",3),zr=new o7("P5_EDGE_ROUTING",4)}function Qye(n,e){e5();var t;if(n.c==e.c){if(n.b==e.b||rve(n.b,e.b)){if(t=Ple(n.b)?1:-1,n.a&&!e.a)return t;if(!n.a&&e.a)return-t}return jc(n.b.g,e.b.g)}else return bt(n.c,e.c)}function GKn(n,e){var t,i,r;if(onn(n,e))return!0;for(i=new C(e);i.a=r||e<0)throw M(new Ir(vK+e+Td+r));if(t>=r||t<0)throw M(new Ir(kK+t+Td+r));return e!=t?i=(c=n.Cj(t),n.qj(e,c),c):i=n.xj(t),i}function VKn(n){var e,t,i;if(i=n,n)for(e=0,t=n.Eh();t;t=t.Eh()){if(++e>PB)return VKn(t);if(i=t,t==n)throw M(new Or("There is a cycle in the containment hierarchy of "+n))}return i}function ca(n){var e,t,i;for(i=new fd(ur,"[","]"),t=n.Kc();t.Ob();)e=t.Pb(),pl(i,x(e)===x(n)?"(this Collection)":e==null?gu:Jr(e));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function onn(n,e){var t,i;if(i=!1,e.gc()<2)return!1;for(t=0;t1&&(n.j.b+=n.e)):(n.j.a+=t.a,n.j.b=y.Math.max(n.j.b,t.b),n.d.c.length>1&&(n.j.a+=n.e))}function ua(){ua=F,une=A(T(lr,1),Mc,64,0,[(en(),Xn),Zn,ae]),cne=A(T(lr,1),Mc,64,0,[Zn,ae,Wn]),one=A(T(lr,1),Mc,64,0,[ae,Wn,Xn]),sne=A(T(lr,1),Mc,64,0,[Wn,Xn,Zn])}function Zye(n,e,t,i){var r,c,s,f,h,l,a;if(s=n.c.d,f=n.d.d,s.j!=f.j)for(a=n.b,r=s.j,h=null;r!=f.j;)h=e==0?RT(r):AY(r),c=oZ(r,a.d[r.g],t),l=oZ(h,a.d[h.g],t),Fe(i,tt(c,l)),r=h}function nje(n,e,t,i){var r,c,s,f,h;return s=YRn(n.a,e,t),f=u(s.a,17).a,c=u(s.b,17).a,i&&(h=u(v(e,(W(),Xu)),10),r=u(v(t,Xu),10),h&&r&&(RDn(n.b,h,r),f+=n.b.i,c+=n.b.e)),f>c}function JKn(n){var e,t,i,r,c,s,f,h,l;for(this.a=vRn(n),this.b=new Z,t=n,i=0,r=t.length;iOL(n.d).c?(n.i+=n.g.c,px(n.d)):OL(n.d).c>OL(n.g).c?(n.e+=n.d.c,px(n.g)):(n.i+=oPn(n.g),n.e+=oPn(n.d),px(n.g),px(n.d))}function rje(n,e,t){var i,r,c,s;for(c=e.q,s=e.r,new ed((af(),Ea),e,c,1),new ed(Ea,c,s,1),r=new C(t);r.af&&(h=f/i),r>c&&(l=c/r),s=y.Math.min(h,l),n.a+=s*(e.a-n.a),n.b+=s*(e.b-n.b)}function sje(n,e,t,i,r){var c,s;for(s=!1,c=u(sn(t.b,0),27);FPe(n,e,c,i,r)&&(s=!0,Bke(t,c),t.b.c.length!=0);)c=u(sn(t.b,0),27);return t.b.c.length==0&&Uk(t.j,t),s&&fA(e.q),s}function fje(n,e){Vg();var t,i,r,c;if(e.b<2)return!1;for(c=ge(e,0),t=u(be(c),8),i=t;c.b!=c.d.c;){if(r=u(be(c),8),mF(n,i,r))return!0;i=r}return!!mF(n,i,t)}function fnn(n,e,t,i){var r,c;return t==0?(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),qC(n.o,e,i)):(c=u($n((r=u(Un(n,16),29),r||n.ii()),t),69),c.wk().Ak(n,iu(n),t-se(n.ii()),e,i))}function tF(n,e){var t;e!=n.sb?(t=null,n.sb&&(t=u(n.sb,54).Th(n,1,P9,t)),e&&(t=u(e,54).Rh(n,1,P9,t)),t=yY(n,e,t),t&&t.oj()):n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,4,e,e))}function hje(n,e){var t,i,r,c;if(e)r=yl(e,"x"),t=new Ukn(n),K4(t.a,(Jn(r),r)),c=yl(e,"y"),i=new Gkn(n),H4(i.a,(Jn(c),c));else throw M(new eh("All edge sections need an end point."))}function lje(n,e){var t,i,r,c;if(e)r=yl(e,"x"),t=new _kn(n),_4(t.a,(Jn(r),r)),c=yl(e,"y"),i=new Hkn(n),q4(i.a,(Jn(c),c));else throw M(new eh("All edge sections need a start point."))}function aje(n,e){var t,i,r,c,s,f,h;for(i=TFn(n),c=0,f=i.length;c>22-e,r=n.h<>22-e):e<44?(t=0,i=n.l<>44-e):(t=0,i=0,r=n.l<n)throw M(new Gn("k must be smaller than n"));return e==0||e==n?1:n==0?0:xZ(n)/(xZ(e)*xZ(n-e))}function hnn(n,e){var t,i,r,c;for(t=new TX(n);t.g==null&&!t.c?rJ(t):t.g==null||t.i!=0&&u(t.g[t.i-1],51).Ob();)if(c=u(CA(t),58),D(c,167))for(i=u(c,167),r=0;r>4],e[t*2+1]=SO[c&15];return ws(e,0,e.length)}function Sje(n){kM();var e,t,i;switch(i=n.c.length,i){case 0:return rQn;case 1:return e=u(B_n(new C(n)),44),ybe(e.ld(),e.md());default:return t=u(Ff(n,K(Pd,WA,44,n.c.length,0,1)),173),new fz(t)}}function Pje(n){var e,t,i,r,c,s;for(e=new Cg,t=new Cg,W1(e,n),W1(t,n);t.b!=t.c;)for(r=u(Sp(t),36),s=new C(r.a);s.a0&&fy(n,t,e),r):pCe(n,e,t)}function oa(){oa=F,fce=(He(),L3),hce=qd,cce=Hd,uce=_2,oce=Ta,rce=K2,Vln=Vj,sce=Ww,kq=(Een(),Xre),yq=Vre,Jln=Yre,jq=ece,Qln=Zre,Yln=nce,Wln=Wre,_I=Jre,HI=Qre,xj=tce,Zln=ice,Xln=zre}function r_n(n,e){var t,i,r,c,s;if(n.e<=e||Z2e(n,n.g,e))return n.g;for(c=n.r,i=n.g,s=n.r,r=(c-i)/2+i;i+11&&(n.e.b+=n.a)):(n.e.a+=t.a,n.e.b=y.Math.max(n.e.b,t.b),n.d.c.length>1&&(n.e.a+=n.a))}function Nje(n){var e,t,i,r;switch(r=n.i,e=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(n.g.b.o.a-i.a)/2;break;case 1:t.a=e.d.n.a+e.d.a.a;break;case 2:t.a=e.d.n.a+e.d.a.a-i.a;break;case 3:t.b=e.d.n.b+e.d.a.b}}function $je(n,e,t){var i,r,c;for(r=new ie(ce(Cl(t).a.Kc(),new En));pe(r);)i=u(fe(r),18),!fr(i)&&!(!fr(i)&&i.c.i.c==i.d.i.c)&&(c=WHn(n,i,t,new Yyn),c.c.length>1&&Rn(e.c,c))}function u_n(n,e,t,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function xje(n){if(D(n,143))return dTe(u(n,143));if(D(n,233))return i8e(u(n,233));if(D(n,23))return bje(u(n,23));throw M(new Gn(Dcn+ca(new Ku(A(T(ki,1),Fn,1,5,[n])))))}function Fje(n,e,t,i,r){var c,s,f;for(c=!0,s=0;s>>r|t[s+i+1]<>>r,++s}return c}function bnn(n,e,t,i){var r,c,s;if(e.k==(Vn(),Mi)){for(c=new ie(ce(ji(e).a.Kc(),new En));pe(c);)if(r=u(fe(c),18),s=r.c.i.k,s==Mi&&n.c.a[r.c.i.c.p]==i&&n.c.a[e.c.p]==t)return!0}return!1}function Bje(n,e){var t,i,r,c;return e&=63,t=n.h&Il,e<22?(c=t>>>e,r=n.m>>e|t<<22-e,i=n.l>>e|n.m<<22-e):e<44?(c=0,r=t>>>e-22,i=n.m>>e-22|n.h<<44-e):(c=0,r=0,i=t>>>e-44),Yc(i&ro,r&ro,c&Il)}function o_n(n,e,t,i){var r;this.b=i,this.e=n==(P0(),Q8),r=e[t],this.d=Wa(so,[J,Xh],[183,28],16,[r.length,r.length],2),this.a=Wa(ye,[J,_e],[53,28],15,[r.length,r.length],2),this.c=new WZ(e,t)}function Rje(n){var e,t,i;for(n.k=new oJ((en(),A(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])).length,n.j.c.length),i=new C(n.j);i.a=t)return jm(n,e,i.p),!0;return!1}function Ug(n,e,t,i){var r,c,s,f,h,l;for(s=t.length,c=0,r=-1,l=n$n((zn(e,n.length+1),n.substr(e)),(xL(),Pun)),f=0;fc&&awe(l,n$n(t[f],Pun))&&(r=f,c=h);return r>=0&&(i[0]=e+c),r}function f_n(n){var e;return n.Db&64?iF(n):(e=new mo(ycn),!n.a||Re(Re((e.a+=' "',e),n.a),'"'),Re(e0(Re(e0(Re(e0(Re(e0((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function h_n(n,e,t){var i,r,c,s,f;for(f=ru(n.e.Dh(),e),r=u(n.g,124),i=0,s=0;st?Enn(n,t,"start index"):e<0||e>t?Enn(e,t,"end index"):F5("end index (%s) must not be less than start index (%s)",A(T(ki,1),Fn,1,5,[Y(e),Y(n)]))}function a_n(n,e){var t,i,r,c;for(i=0,r=n.length;i0&&d_n(n,c,t));e.p=0}function ln(n){var e;this.c=new Ct,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=(e=u(of(Zh),9),new _o(e,u(xs(e,e.length),9),0)),this.g=n.f}function Gje(n){var e,t,i,r;for(e=z1(Re(new mo("Predicates."),"and"),40),t=!0,r=new Gv(n);r.b0?f[s-1]:K(Qh,b1,10,0,0,1),r=f[s],l=s=0?n.ki(r):Ann(n,i);else throw M(new Gn(ba+i.xe()+a8));else throw M(new Gn(aWn+e+dWn));else Wo(n,t,i)}function wnn(n){var e,t;if(t=null,e=!1,D(n,211)&&(e=!0,t=u(n,211).a),e||D(n,263)&&(e=!0,t=""+u(n,263).a),e||D(n,492)&&(e=!0,t=""+u(n,492).a),!e)throw M(new vD(Ocn));return t}function gnn(n,e,t){var i,r,c,s,f,h;for(h=ru(n.e.Dh(),e),i=0,f=n.i,r=u(n.g,124),s=0;s=n.d.b.c.length&&(e=new Lc(n.d),e.p=i.p-1,nn(n.d.b,e),t=new Lc(n.d),t.p=i.p,nn(n.d.b,t)),$i(i,u(sn(n.d.b,i.p),30))}function vnn(n,e,t){var i,r,c;if(!n.b[e.g]){for(n.b[e.g]=!0,i=t,!i&&(i=new ek),Fe(i.b,e),c=n.a[e.g].Kc();c.Ob();)r=u(c.Pb(),65),r.b!=e&&vnn(n,r.b,i),r.c!=e&&vnn(n,r.c,i),Fe(i.a,r);return i}return null}function Wje(n){switch(n.g){case 0:case 1:case 2:return en(),Xn;case 3:case 4:case 5:return en(),ae;case 6:case 7:case 8:return en(),Wn;case 9:case 10:case 11:return en(),Zn;default:return en(),sc}}function Jje(n,e){var t;return n.c.length==0?!1:(t=OBn((Ln(0,n.c.length),u(n.c[0],18)).c.i),ko(),t==(cw(),P2)||t==S2?!0:Og(_r(new Tn(null,new In(n,16)),new i3n),new Q7n(e)))}function oF(n,e){if(D(e,207))return Ule(n,u(e,27));if(D(e,193))return Gle(n,u(e,123));if(D(e,451))return qle(n,u(e,166));throw M(new Gn(Dcn+ca(new Ku(A(T(ki,1),Fn,1,5,[e])))))}function v_n(n,e,t){var i,r;if(this.f=n,i=u(ee(n.b,e),260),r=i?i.a:0,FJ(t,r),t>=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++0;)oQ(this);this.b=e,this.a=null}function Qje(n,e){var t,i;e.a?OTe(n,e):(t=u(ID(n.b,e.b),60),t&&t==n.a[e.b.f]&&t.a&&t.a!=e.b.a&&t.c.Fc(e.b),i=u(PD(n.b,e.b),60),i&&n.a[i.f]==e.b&&i.a&&i.a!=e.b.a&&e.b.c.Fc(i),EL(n.b,e.b))}function k_n(n,e){var t,i;if(t=u(Cr(n.b,e),127),u(u(ot(n.r,e),21),87).dc()){t.n.b=0,t.n.c=0;return}t.n.b=n.C.b,t.n.c=n.C.c,n.A.Hc((go(),Gd))&&Xqn(n,e),i=M9e(n,e),kF(n,e)==(Bg(),Sa)&&(i+=2*n.w),t.a.a=i}function y_n(n,e){var t,i;if(t=u(Cr(n.b,e),127),u(u(ot(n.r,e),21),87).dc()){t.n.d=0,t.n.a=0;return}t.n.d=n.C.d,t.n.a=n.C.a,n.A.Hc((go(),Gd))&&Vqn(n,e),i=C9e(n,e),kF(n,e)==(Bg(),Sa)&&(i+=2*n.w),t.a.b=i}function Yje(n,e){var t,i,r,c;for(c=new Z,i=new C(e);i.ai&&(zn(e-1,n.length),n.charCodeAt(e-1)<=32);)--e;return i>0||et.a&&(i.Hc((wd(),b9))?r=(e.a-t.a)/2:i.Hc(w9)&&(r=e.a-t.a)),e.b>t.b&&(i.Hc((wd(),p9))?c=(e.b-t.b)/2:i.Hc(g9)&&(c=e.b-t.b)),rnn(n,r,c)}function P_n(n,e,t,i,r,c,s,f,h,l,a,d,g){D(n.Cb,90)&&hw(Zu(u(n.Cb,90)),4),zc(n,t),n.f=s,fm(n,f),lm(n,h),sm(n,l),hm(n,a),u1(n,d),am(n,g),c1(n,!0),e1(n,r),n.Zk(c),ad(n,e),i!=null&&(n.i=null,kT(n,i))}function Enn(n,e,t){if(n<0)return F5(Tzn,A(T(ki,1),Fn,1,5,[t,Y(n)]));if(e<0)throw M(new Gn(Azn+e));return F5("%s (%s) must not be greater than size (%s)",A(T(ki,1),Fn,1,5,[t,Y(n),Y(e)]))}function Cnn(n,e,t,i,r,c){var s,f,h,l;if(s=i-t,s<7){z5e(e,t,i,c);return}if(h=t+r,f=i+r,l=h+(f-h>>1),Cnn(e,n,h,l,-r,c),Cnn(e,n,l,f,-r,c),c.Ne(n[l-1],n[l])<=0){for(;t=0?n.bi(c,t):nen(n,r,t);else throw M(new Gn(ba+r.xe()+a8));else throw M(new Gn(aWn+e+dWn));else Jo(n,i,r,t)}function I_n(n){var e,t;if(n.f){for(;n.n>0;){if(e=u(n.k.Xb(n.n-1),76),t=e.Lk(),D(t,102)&&u(t,19).Bb&kc&&(!n.e||t.pk()!=_v||t.Lj()!=0)&&e.md()!=null)return!0;--n.n}return!1}else return n.n>0}function O_n(n){var e,t,i,r;if(t=u(n,54)._h(),t)try{if(i=null,e=Cm((R1(),Ps),gUn(r8e(t))),e&&(r=e.ai(),r&&(i=r.Fl(che(t.e)))),i&&i!=n)return O_n(i)}catch(c){if(c=It(c),!D(c,63))throw M(c)}return n}function bEe(n,e,t){var i,r,c;t.Ug("Remove overlaps",1),t.dh(e,Nrn),i=u(z(e,(Tg(),D2)),27),n.f=i,n.a=Ax(u(z(e,(oa(),xj)),299)),r=R(z(e,(He(),qd))),pG(n,(Jn(r),r)),c=aw(i),BGn(n,e,c,t),t.dh(e,DS)}function wEe(n){var e,t,i;if(on(un(z(n,(He(),zj))))){for(i=new Z,t=new ie(ce(Al(n).a.Kc(),new En));pe(t);)e=u(fe(t),74),R0(e)&&on(un(z(e,nU)))&&Rn(i.c,e);return i}else return Dn(),Dn(),sr}function D_n(n){if(!n)return Ojn(),dQn;var e=n.valueOf?n.valueOf():n;if(e!==n){var t=WK[typeof e];return t?t(e):bY(typeof e)}else return n instanceof Array||n instanceof y.Array?new lG(n):new q9(n)}function L_n(n,e,t){var i,r,c;switch(c=n.o,i=u(Cr(n.p,t),252),r=i.i,r.b=ey(i),r.a=ny(i),r.b=y.Math.max(r.b,c.a),r.b>c.a&&!e&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}LF(i),NF(i)}function N_n(n,e,t){var i,r,c;switch(c=n.o,i=u(Cr(n.p,t),252),r=i.i,r.b=ey(i),r.a=ny(i),r.a=y.Math.max(r.a,c.b),r.a>c.b&&!e&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}LF(i),NF(i)}function gEe(n,e){var t,i,r,c,s;if(!e.dc()){if(r=u(e.Xb(0),131),e.gc()==1){lqn(n,r,r,1,0,e);return}for(t=1;t0)try{r=Ao(e,Wi,et)}catch(c){throw c=It(c),D(c,130)?(i=c,M(new eT(i))):M(c)}return t=(!n.a&&(n.a=new iD(n)),n.a),r=0?u(L(t,r),58):null}function kEe(n,e){if(n<0)return F5(Tzn,A(T(ki,1),Fn,1,5,["index",Y(n)]));if(e<0)throw M(new Gn(Azn+e));return F5("%s (%s) must be less than size (%s)",A(T(ki,1),Fn,1,5,["index",Y(n),Y(e)]))}function yEe(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i=0?n.Lh(t,!0,!0):K0(n,r,!0),160)),u(i,220).Zl(e);else throw M(new Gn(ba+e.xe()+a8))}function Snn(n){var e,t;return n>-0x800000000000&&n<0x800000000000?n==0?0:(e=n<0,e&&(n=-n),t=wi(y.Math.floor(y.Math.log(n)/.6931471805599453)),(!e||n!=y.Math.pow(2,t))&&++t,t):Jxn(vc(n))}function xEe(n){var e,t,i,r,c,s,f;for(c=new rh,t=new C(n);t.a2&&f.e.b+f.j.b<=2&&(r=f,i=s),c.a.zc(r,c),r.q=i);return c}function FEe(n,e,t){t.Ug("Eades radial",1),t.dh(e,DS),n.d=u(z(e,(Tg(),D2)),27),n.c=$(R(z(e,(oa(),HI)))),n.e=Ax(u(z(e,xj),299)),n.a=a8e(u(z(e,Zln),434)),n.b=Dke(u(z(e,Wln),354)),bke(n),t.dh(e,DS)}function BEe(n,e){if(e.Ug("Target Width Setter",1),Lf(n,(Rf(),Lq)))ht(n,(_h(),Xw),R(z(n,Lq)));else throw M(new _l("A target width has to be set if the TargetWidthWidthApproximator should be used."));e.Vg()}function R_n(n,e){var t,i,r;return i=new Tl(n),Ur(i,e),U(i,(W(),cI),e),U(i,(cn(),Kt),(Oi(),qc)),U(i,Th,(Rh(),nO)),Ha(i,(Vn(),Zt)),t=new Pc,ic(t,i),gi(t,(en(),Wn)),r=new Pc,ic(r,i),gi(r,Zn),i}function K_n(n){switch(n.g){case 0:return new gD((P0(),Ij));case 1:return new t8n;case 2:return new i8n;default:throw M(new Gn("No implementation is available for the crossing minimizer "+(n.f!=null?n.f:""+n.g)))}}function __n(n,e){var t,i,r,c,s;for(n.c[e.p]=!0,nn(n.a,e),s=new C(e.j);s.a=c)s.$b();else for(r=s.Kc(),i=0;i0?bz():s<0&&G_n(n,e,-s),!0):!1}function ny(n){var e,t,i,r,c,s,f;if(f=0,n.b==0){for(s=TRn(n,!0),e=0,i=s,r=0,c=i.length;r0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}else f=qjn(I$(Ub(ut(EW(n.a),new sbn),new fbn)));return f>0?f+n.n.d+n.n.a:0}function ey(n){var e,t,i,r,c,s,f;if(f=0,n.b==0)f=qjn(I$(Ub(ut(EW(n.a),new ubn),new obn)));else{for(s=ARn(n,!0),e=0,i=s,r=0,c=i.length;r0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}return f>0?f+n.n.b+n.n.c:0}function GEe(n){var e,t;if(n.c.length!=2)throw M(new Or("Order only allowed for two paths."));e=(Ln(0,n.c.length),u(n.c[0],18)),t=(Ln(1,n.c.length),u(n.c[1],18)),e.d.i!=t.c.i&&(n.c.length=0,Rn(n.c,t),Rn(n.c,e))}function z_n(n,e,t){var i;for(kg(t,e.g,e.f),Ro(t,e.i,e.j),i=0;i<(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i;i++)z_n(n,u(L((!e.a&&(e.a=new q(Ye,e,10,11)),e.a),i),27),u(L((!t.a&&(t.a=new q(Ye,t,10,11)),t.a),i),27))}function zEe(n,e){var t,i,r,c;for(c=u(Cr(n.b,e),127),t=c.a,r=u(u(ot(n.r,e),21),87).Kc();r.Ob();)i=u(r.Pb(),117),i.c&&(t.a=y.Math.max(t.a,nW(i.c)));if(t.a>0)switch(e.g){case 2:c.n.c=n.s;break;case 4:c.n.b=n.s}}function XEe(n,e){var t,i,r;return t=u(v(e,(Us(),k3)),17).a-u(v(n,k3),17).a,t==0?(i=mi(Ki(u(v(n,(Q1(),hj)),8)),u(v(n,I8),8)),r=mi(Ki(u(v(e,hj),8)),u(v(e,I8),8)),bt(i.a*i.b,r.a*r.b)):t}function VEe(n,e){var t,i,r;return t=u(v(e,(lc(),FI)),17).a-u(v(n,FI),17).a,t==0?(i=mi(Ki(u(v(n,(pt(),Lj)),8)),u(v(n,Ov),8)),r=mi(Ki(u(v(e,Lj),8)),u(v(e,Ov),8)),bt(i.a*i.b,r.a*r.b)):t}function X_n(n){var e,t;return t=new x1,t.a+="e_",e=_ve(n),e!=null&&(t.a+=""+e),n.c&&n.d&&(Re((t.a+=" ",t),lA(n.c)),Re(Dc((t.a+="[",t),n.c.i),"]"),Re((t.a+=iR,t),lA(n.d)),Re(Dc((t.a+="[",t),n.d.i),"]")),t.a}function V_n(n){switch(n.g){case 0:return new a8n;case 1:return new d8n;case 2:return new h8n;case 3:return new f8n;default:throw M(new Gn("No implementation is available for the layout phase "+(n.f!=null?n.f:""+n.g)))}}function Onn(n,e,t,i,r){var c;switch(c=0,r.g){case 1:c=y.Math.max(0,e.b+n.b-(t.b+i));break;case 3:c=y.Math.max(0,-n.b-i);break;case 2:c=y.Math.max(0,-n.a-i);break;case 4:c=y.Math.max(0,e.a+n.a-(t.a+i))}return c}function WEe(n,e,t){var i,r,c,s,f;if(t)for(r=t.a.length,i=new Qa(r),f=(i.b-i.a)*i.c<0?(K1(),xa):new q1(i);f.Ob();)s=u(f.Pb(),17),c=D4(t,s.a),Mcn in c.a||pK in c.a?fSe(n,c,e):SLe(n,c,e),A1e(u(ee(n.b,bm(c)),74))}function Dnn(n){var e,t;switch(n.b){case-1:return!0;case 0:return t=n.t,t>1||t==-1?(n.b=-1,!0):(e=gs(n),e&&(dr(),e.lk()==bJn)?(n.b=-1,!0):(n.b=1,!1));default:case 1:return!1}}function Lnn(n,e){var t,i,r,c;if(Ze(n),n.c!=0||n.a!=123)throw M(new Le($e((Ie(),xWn))));if(c=e==112,i=n.d,t=b4(n.i,125,i),t<0)throw M(new Le($e((Ie(),FWn))));return r=qo(n.i,i,t),n.d=t+1,pNn(r,c,(n.e&512)==512)}function W_n(n){var e,t,i,r,c,s,f;if(i=n.a.c.length,i>0)for(s=n.c.d,f=n.d.d,r=ch(mi(new V(f.a,f.b),s),1/(i+1)),c=new V(s.a,s.b),t=new C(n.a);t.a=0&&i=0?n.Lh(t,!0,!0):K0(n,r,!0),160)),u(i,220).Wl(e);throw M(new Gn(ba+e.xe()+sK))}function ZEe(){xz();var n;return Yoe?u(Cm((R1(),Ps),ks),2038):(Ge(Pd,new v6n),VOe(),n=u(D(Nc((R1(),Ps),ks),560)?Nc(Ps,ks):new lIn,560),Yoe=!0,WLe(n),tNe(n),Ve(($z(),Hdn),n,new $vn),Dr(Ps,ks,n),n)}function nCe(n,e){var t,i,r,c;n.j=-1,fo(n.e)?(t=n.i,c=n.i!=0,nk(n,e),i=new ml(n.e,3,n.c,null,e,t,c),r=e.zl(n.e,n.c,null),r=SKn(n,e,r),r?(r.nj(i),r.oj()):it(n.e,i)):(nk(n,e),r=e.zl(n.e,n.c,null),r&&r.oj())}function yA(n,e){var t,i,r;if(r=0,i=e[0],i>=n.length)return-1;for(t=(zn(i,n.length),n.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=n.length));)t=(zn(i,n.length),n.charCodeAt(i));return i>e[0]?e[0]=i:r=-1,r}function eCe(n){var e,t,i,r,c;return r=u(n.a,17).a,c=u(n.b,17).a,t=r,i=c,e=y.Math.max(y.Math.abs(r),y.Math.abs(c)),r<=0&&r==c?(t=0,i=c-1):r==-e&&c!=e?(t=c,i=r,c>=0&&++t):(t=-c,i=r),new bi(Y(t),Y(i))}function tCe(n,e,t,i){var r,c,s,f,h,l;for(r=0;r=0&&l>=0&&h=n.i)throw M(new Ir(vK+e+Td+n.i));if(t>=n.i)throw M(new Ir(kK+t+Td+n.i));return i=n.g[t],e!=t&&(e>16),e=i>>16&16,t=16-e,n=n>>e,i=n-256,e=i>>16&8,t+=e,n<<=e,i=n-vw,e=i>>16&4,t+=e,n<<=e,i=n-wh,e=i>>16&2,t+=e,n<<=e,i=n>>14,e=i&~(i>>1),t+2-e)}function rCe(n){Lp();var e,t,i,r;for(mP=new Z,m_=new de,p_=new Z,e=(!n.a&&(n.a=new q(Ye,n,10,11)),n.a),VDe(e),r=new ne(e);r.e!=r.i.gc();)i=u(ue(r),27),qr(mP,i,0)==-1&&(t=new Z,nn(p_,t),YBn(i,t));return p_}function cCe(n,e,t){var i,r,c,s;n.a=t.b.d,D(e,326)?(r=Xg(u(e,74),!1,!1),c=Jk(r),i=new x9n(n),qi(c,i),ay(c,r),e.of((He(),mb))!=null&&qi(u(e.of(mb),75),i)):(s=u(e,422),s.rh(s.nh()+n.a.a),s.sh(s.oh()+n.a.b))}function uCe(n,e){var t,i,r;for(r=new Z,i=ge(e.a,0);i.b!=i.d.c;)t=u(be(i),65),t.c.g==n.g&&x(v(t.b,(lc(),Sh)))!==x(v(t.c,Sh))&&!Og(new Tn(null,new In(r,16)),new fkn(t))&&Rn(r.c,t);return Yt(r,new q3n),r}function Q_n(n,e,t){var i,r,c,s;return D(e,153)&&D(t,153)?(c=u(e,153),s=u(t,153),n.a[c.a][s.a]+n.a[s.a][c.a]):D(e,250)&&D(t,250)&&(i=u(e,250),r=u(t,250),i.a==r.a)?u(v(r.a,(Us(),k3)),17).a:0}function Y_n(n,e){var t,i,r,c,s,f,h,l;for(l=$(R(v(e,(cn(),G8)))),h=n[0].n.a+n[0].o.a+n[0].d.c+l,f=1;f=0?t:(f=U6(mi(new V(s.c+s.b/2,s.d+s.a/2),new V(c.c+c.b/2,c.d+c.a/2))),-(CUn(c,s)-1)*f)}function sCe(n,e,t){var i;qt(new Tn(null,(!t.a&&(t.a=new q(Mt,t,6,6)),new In(t.a,16))),new aMn(n,e)),qt(new Tn(null,(!t.n&&(t.n=new q(Ar,t,1,7)),new In(t.n,16))),new dMn(n,e)),i=u(z(t,(He(),mb)),75),i&&FQ(i,n,e)}function K0(n,e,t){var i,r,c;if(c=Qg((Du(),zi),n.Dh(),e),c)return dr(),u(c,69).xk()||(c=$p(Lr(zi,c))),r=(i=n.Ih(c),u(i>=0?n.Lh(i,!0,!0):K0(n,c,!0),160)),u(r,220).Sl(e,t);throw M(new Gn(ba+e.xe()+sK))}function Nnn(n,e,t,i){var r,c,s,f,h;if(r=n.d[e],r){if(c=r.g,h=r.i,i!=null){for(f=0;f=t&&(i=e,l=(h.c+h.a)/2,s=l-t,h.c<=l-t&&(r=new KL(h.c,s),a0(n,i++,r)),f=l+t,f<=h.a&&(c=new KL(f,h.a),zb(i,n.c.length),l6(n.c,i,c)))}function eHn(n,e,t){var i,r,c,s,f,h;if(!e.dc()){for(r=new Ct,h=e.Kc();h.Ob();)for(f=u(h.Pb(),39),Ve(n.a,Y(f.g),Y(t)),s=(i=ge(new sl(f).a.d,0),new sg(i));Q9(s.a);)c=u(be(s.a),65).c,xt(r,c,r.c.b,r.c);eHn(n,r,t+1)}}function $nn(n){var e;if(!n.c&&n.g==null)n.d=n.bj(n.f),ve(n,n.d),e=n.d;else{if(n.g==null)return!0;if(n.i==0)return!1;e=u(n.g[n.i-1],51)}return e==n.b&&null.Vm>=null.Um()?(CA(n),$nn(n)):e.Ob()}function tHn(n){if(this.a=n,n.c.i.k==(Vn(),Zt))this.c=n.c,this.d=u(v(n.c.i,(W(),gc)),64);else if(n.d.i.k==Zt)this.c=n.d,this.d=u(v(n.d.i,(W(),gc)),64);else throw M(new Gn("Edge "+n+" is not an external edge."))}function iHn(n,e){var t,i,r;r=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,3,r,n.b)),e?e!=n&&(zc(n,e.zb),v$(n,e.d),t=(i=e.c,i??e.zb),y$(n,t==null||An(t,e.zb)?null:t)):(zc(n,null),v$(n,0),y$(n,null))}function rHn(n,e){var t;this.e=(g0(),Se(n),g0(),JY(n)),this.c=(Se(e),JY(e)),RX(this.e.Rd().dc()==this.c.Rd().dc()),this.d=mBn(this.e),this.b=mBn(this.c),t=Wa(ki,[J,Fn],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=t,Fme(this)}function cHn(n){!XK&&(XK=uLe());var e=n.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(t){return h2e(t)});return'"'+e+'"'}function xnn(n,e,t,i,r,c){var s,f,h,l,a;if(r!=0)for(x(n)===x(t)&&(n=n.slice(e,e+r),e=0),h=t,f=e,l=e+r;f=s)throw M(new Kb(e,s));return r=t[e],s==1?i=null:(i=K(yU,MK,424,s-1,0,1),Ic(t,0,i,0,e),c=s-e-1,c>0&&Ic(t,e+1,i,e,c)),wm(n,i),A_n(n,e,r),r}function oHn(n){var e,t;if(n.f){for(;n.n0?c=zp(t):c=$k(zp(t))),ht(e,Cv,c)}function wCe(n,e){var t;e.Ug("Partition preprocessing",1),t=u(Wr(ut(rc(ut(new Tn(null,new In(n.a,16)),new Ggn),new zgn),new Xgn),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),qt(t.Oc(),new Vgn),e.Vg()}function gCe(n,e){var t,i,r,c,s;for(s=n.j,e.a!=e.b&&Yt(s,new Cpn),r=s.c.length/2|0,i=0;i0&&fy(n,t,e),c):i.a!=null?(fy(n,e,t),-1):r.a!=null?(fy(n,t,e),1):0}function mCe(n,e){var t,i,r,c,s;for(r=e.b.b,n.a=K(rs,kw,15,r,0,1),n.b=K(so,Xh,28,r,16,1),s=ge(e.b,0);s.b!=s.d.c;)c=u(be(s),39),n.a[c.g]=new Ct;for(i=ge(e.a,0);i.b!=i.d.c;)t=u(be(i),65),n.a[t.b.g].Fc(t),n.a[t.c.g].Fc(t)}function lHn(n,e){var t,i,r,c;n.Pj()?(t=n.Ej(),c=n.Qj(),++n.j,n.qj(t,n.Zi(t,e)),i=n.Ij(3,null,e,t,c),n.Mj()?(r=n.Nj(e,null),r?(r.nj(i),r.oj()):n.Jj(i)):n.Jj(i)):(nIn(n,e),n.Mj()&&(r=n.Nj(e,null),r&&r.oj()))}function Fnn(n,e,t){var i,r,c;n.Pj()?(c=n.Qj(),Ok(n,e,t),i=n.Ij(3,null,t,e,c),n.Mj()?(r=n.Nj(t,null),n.Tj()&&(r=n.Uj(t,r)),r?(r.nj(i),r.oj()):n.Jj(i)):n.Jj(i)):(Ok(n,e,t),n.Mj()&&(r=n.Nj(t,null),r&&r.oj()))}function jA(n,e){var t,i,r,c,s;for(s=ru(n.e.Dh(),e),r=new jE,t=u(n.g,124),c=n.i;--c>=0;)i=t[c],s.am(i.Lk())&&ve(r,i);!uzn(n,r)&&fo(n.e)&&e4(n,e.Jk()?V1(n,6,e,(Dn(),sr),null,-1,!1):V1(n,e.tk()?2:1,e,null,null,-1,!1))}function vCe(n,e){var t,i,r,c,s;return n.a==(ym(),N8)?!0:(c=e.a.c,t=e.a.c+e.a.b,!(e.j&&(i=e.A,s=i.c.c.a-i.o.a/2,r=c-(i.n.a+i.o.a),r>s)||e.q&&(i=e.C,s=i.c.c.a-i.o.a/2,r=i.n.a-t,r>s)))}function aHn(n){NN();var e,t,i,r,c,s,f;for(t=new Ql,r=new C(n.e.b);r.a1?n.e*=$(n.a):n.f/=$(n.a),_6e(n),X8e(n),UAe(n),U(n.b,(j5(),pP),n.g)}function gHn(n,e,t){var i,r,c,s,f,h;for(i=0,h=t,e||(i=t*(n.c.length-1),h*=-1),c=new C(n);c.a=0?n.Ah(null):n.Ph().Th(n,-1-e,null,null)),n.Bh(u(r,54),t),i&&i.oj(),n.vh()&&n.wh()&&t>-1&&it(n,new Ci(n,9,t,c,r)),r):c}function Knn(n,e){var t,i,r,c,s;for(c=n.b.Ce(e),i=(t=n.a.get(c),t??K(ki,Fn,1,0,5,1)),s=0;s>5,r>=n.d)return n.e<0;if(t=n.a[r],e=1<<(e&31),n.e<0){if(i=Pxn(n),r>16)),15).dd(c),f0&&(!(hl(n.a.c)&&e.n.d)&&!(vg(n.a.c)&&e.n.b)&&(e.g.d+=y.Math.max(0,i/2-.5)),!(hl(n.a.c)&&e.n.a)&&!(vg(n.a.c)&&e.n.c)&&(e.g.a-=i-1))}function MHn(n){var e,t,i,r,c;if(r=new Z,c=kUn(n,r),e=u(v(n,(W(),Xu)),10),e)for(i=new C(e.j);i.a>e,c=n.m>>e|t<<22-e,r=n.l>>e|n.m<<22-e):e<44?(s=i?Il:0,c=t>>e-22,r=n.m>>e-22|t<<44-e):(s=i?Il:0,c=i?ro:0,r=t>>e-44),Yc(r&ro,c&ro,s&Il)}function bF(n){var e,t,i,r,c,s;for(this.c=new Z,this.d=n,i=St,r=St,e=li,t=li,s=ge(n,0);s.b!=s.d.c;)c=u(be(s),8),i=y.Math.min(i,c.a),r=y.Math.min(r,c.b),e=y.Math.max(e,c.a),t=y.Math.max(t,c.b);this.a=new Ho(i,r,e-i,t-r)}function AHn(n,e){var t,i,r,c,s,f;for(c=new C(n.b);c.a0&&D(e,44)&&(n.a._j(),l=u(e,44),h=l.ld(),c=h==null?0:mt(h),s=aV(n.a,c),t=n.a.d[s],t)){for(i=u(t.g,379),a=t.i,f=0;f=2)for(t=r.Kc(),e=R(t.Pb());t.Ob();)c=e,e=R(t.Pb()),i=y.Math.min(i,(Jn(e),e-(Jn(c),c)));return i}function _Ce(n,e){var t,i,r;for(r=new Z,i=ge(e.a,0);i.b!=i.d.c;)t=u(be(i),65),t.b.g==n.g&&!An(t.b.c,IS)&&x(v(t.b,(lc(),Sh)))!==x(v(t.c,Sh))&&!Og(new Tn(null,new In(r,16)),new hkn(t))&&Rn(r.c,t);return Yt(r,new X3n),r}function HCe(n,e){var t,i,r;if(x(e)===x(Se(n)))return!0;if(!D(e,15)||(i=u(e,15),r=n.gc(),r!=i.gc()))return!1;if(D(i,59)){for(t=0;t0&&(r=t),s=new C(n.f.e);s.a0?(e-=1,t-=1):i>=0&&r<0?(e+=1,t+=1):i>0&&r>=0?(e-=1,t+=1):(e+=1,t-=1),new bi(Y(e),Y(t))}function tMe(n,e){return n.ce.c?1:n.be.b?1:n.a!=e.a?mt(n.a)-mt(e.a):n.d==(Q6(),Z8)&&e.d==Y8?-1:n.d==Y8&&e.d==Z8?1:0}function NHn(n,e){var t,i,r,c,s;return c=e.a,c.c.i==e.b?s=c.d:s=c.c,c.c.i==e.b?i=c.c:i=c.d,r=C8e(n.a,s,i),r>0&&r0):r<0&&-r0):!1}function iMe(n,e,t,i){var r,c,s,f,h,l,a,d;for(r=(e-n.d)/n.c.c.length,c=0,n.a+=t,n.d=e,d=new C(n.c);d.a>24;return s}function cMe(n){if(n.ze()){var e=n.c;e.Ae()?n.o="["+e.n:e.ze()?n.o="["+e.xe():n.o="[L"+e.xe()+";",n.b=e.we()+"[]",n.k=e.ye()+"[]";return}var t=n.j,i=n.d;i=i.split("/"),n.o=mx(".",[t,mx("$",i)]),n.b=mx(".",[t,mx(".",i)]),n.k=i[i.length-1]}function uMe(n,e){var t,i,r,c,s;for(s=null,c=new C(n.e.a);c.a=0;e-=2)for(t=0;t<=e;t+=2)(n.b[t]>n.b[t+2]||n.b[t]===n.b[t+2]&&n.b[t+1]>n.b[t+3])&&(i=n.b[t+2],n.b[t+2]=n.b[t],n.b[t]=i,i=n.b[t+3],n.b[t+3]=n.b[t+1],n.b[t+1]=i);n.c=!0}}function fMe(n,e){var t,i,r,c,s,f,h,l,a;for(l=-1,a=0,s=n,f=0,h=s.length;f0&&++a;++l}return a}function Hs(n){var e,t;return t=new mo(Xa(n.Rm)),t.a+="@",Re(t,(e=mt(n)>>>0,e.toString(16))),n.Vh()?(t.a+=" (eProxyURI: ",Dc(t,n._h()),n.Kh()&&(t.a+=" eClass: ",Dc(t,n.Kh())),t.a+=")"):n.Kh()&&(t.a+=" (eClass: ",Dc(t,n.Kh()),t.a+=")"),t.a}function L5(n){var e,t,i,r;if(n.e)throw M(new Or((ll(u_),FB+u_.k+BB)));for(n.d==(ci(),Jf)&&UA(n,Br),t=new C(n.a.a);t.a>24}return t}function aMe(n,e,t){var i,r,c;if(r=u(Cr(n.i,e),314),!r)if(r=new v$n(n.d,e,t),Pp(n.i,e,r),eZ(e))g1e(n.a,e.c,e.b,r);else switch(c=Wje(e),i=u(Cr(n.p,c),252),c.g){case 1:case 3:r.j=!0,mD(i,e.b,r);break;case 4:case 2:r.k=!0,mD(i,e.c,r)}return r}function dMe(n,e){var t,i,r,c,s,f,h,l,a;for(h=Dh(n.c-n.b&n.a.length-1),l=null,a=null,c=new z6(n);c.a!=c.b;)r=u(xT(c),10),t=(f=u(v(r,(W(),yf)),12),f?f.i:null),i=(s=u(v(r,Es),12),s?s.i:null),(l!=t||a!=i)&&(pHn(h,e),l=t,a=i),Rn(h.c,r);pHn(h,e)}function bMe(n,e,t,i){var r,c,s,f,h,l;if(f=new jE,h=ru(n.e.Dh(),e),r=u(n.g,124),dr(),u(e,69).xk())for(s=0;s=0)return r;for(c=1,f=new C(e.j);f.a=0)return r;for(c=1,f=new C(e.j);f.a0&&e.Ne((Ln(r-1,n.c.length),u(n.c[r-1],10)),c)>0;)Go(n,r,(Ln(r-1,n.c.length),u(n.c[r-1],10))),--r;Ln(r,n.c.length),n.c[r]=c}t.a=new de,t.b=new de}function wMe(n,e,t){var i,r,c,s,f,h,l,a;for(a=(i=u(e.e&&e.e(),9),new _o(i,u(xs(i,i.length),9),0)),h=ww(t,"[\\[\\]\\s,]+"),c=h,s=0,f=c.length;s=0?(e||(e=new e6,i>0&&Er(e,(Fi(0,i,n.length),n.substr(0,i)))),e.a+="\\",M4(e,t&ui)):e&&M4(e,t&ui);return e?e.a:n}function pMe(n){var e,t,i;for(t=new C(n.a.a.b);t.a0&&(!(hl(n.a.c)&&e.n.d)&&!(vg(n.a.c)&&e.n.b)&&(e.g.d-=y.Math.max(0,i/2-.5)),!(hl(n.a.c)&&e.n.a)&&!(vg(n.a.c)&&e.n.c)&&(e.g.a+=y.Math.max(0,i-1)))}function qHn(n,e,t){var i,r;if((n.c-n.b&n.a.length-1)==2)e==(en(),Xn)||e==Zn?(sT(u(f5(n),15),(To(),nl)),sT(u(f5(n),15),Aa)):(sT(u(f5(n),15),(To(),Aa)),sT(u(f5(n),15),nl));else for(r=new z6(n);r.a!=r.b;)i=u(xT(r),15),sT(i,t)}function mMe(n,e){var t,i,r,c,s,f,h;for(r=k4(new $G(n)),f=new xi(r,r.c.length),c=k4(new $G(e)),h=new xi(c,c.c.length),s=null;f.b>0&&h.b>0&&(t=(oe(f.b>0),u(f.a.Xb(f.c=--f.b),27)),i=(oe(h.b>0),u(h.a.Xb(h.c=--h.b),27)),t==i);)s=t;return s}function UHn(n,e,t){var i,r,c,s;UOn(n,e)>UOn(n,t)?(i=uc(t,(en(),Zn)),n.d=i.dc()?0:zL(u(i.Xb(0),12)),s=uc(e,Wn),n.b=s.dc()?0:zL(u(s.Xb(0),12))):(r=uc(t,(en(),Wn)),n.d=r.dc()?0:zL(u(r.Xb(0),12)),c=uc(e,Zn),n.b=c.dc()?0:zL(u(c.Xb(0),12)))}function GHn(n,e){var t,i,r,c;for(t=n.o.a,c=u(u(ot(n.r,e),21),87).Kc();c.Ob();)r=u(c.Pb(),117),r.e.a=t*$(R(r.b.of(bP))),r.e.b=(i=r.b,i.pf((He(),oo))?i.ag()==(en(),Xn)?-i.Mf().b-$(R(i.of(oo))):$(R(i.of(oo))):i.ag()==(en(),Xn)?-i.Mf().b:0)}function vMe(n,e){var t,i,r,c;for(e.Ug("Self-Loop pre-processing",1),i=new C(n.a);i.an.c));s++)r.a>=n.s&&(c<0&&(c=s),f=s);return h=(n.s+n.c)/2,c>=0&&(i=oSe(n,e,c,f),h=cle((Ln(i,e.c.length),u(e.c[i],339))),aCe(e,i,t)),h}function Me(n,e,t){var i,r,c,s,f,h,l;for(s=(c=new eG,c),PQ(s,(Jn(e),e)),l=(!s.b&&(s.b=new lo((On(),ar),pc,s)),s.b),h=1;h0&&iOe(this,r)}function Qnn(n,e,t,i,r,c){var s,f,h;if(!r[e.a]){for(r[e.a]=!0,s=i,!s&&(s=new zM),nn(s.e,e),h=c[e.a].Kc();h.Ob();)f=u(h.Pb(),289),!(f.d==t||f.c==t)&&(f.c!=e&&Qnn(n,f.c,e,s,r,c),f.d!=e&&Qnn(n,f.d,e,s,r,c),nn(s.c,f),hi(s.d,f.b));return s}return null}function jMe(n){var e,t,i,r,c,s,f;for(e=0,r=new C(n.e);r.a=2}function EMe(n,e,t,i,r){var c,s,f,h,l,a;for(c=n.c.d.j,s=u(Zo(t,0),8),a=1;a1||(e=yt(Qs,A(T(yr,1),G,95,0,[xl,Ys])),vk(DM(e,n))>1)||(i=yt(nf,A(T(yr,1),G,95,0,[el,Ms])),vk(DM(i,n))>1))}function Ynn(n,e,t){var i,r,c;for(c=new C(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Fe(e,i.b));for(r=new C(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Fe(t,i.a))}function CA(n){var e,t,i,r,c;if(n.g==null&&(n.d=n.bj(n.f),ve(n,n.d),n.c))return c=n.f,c;if(e=u(n.g[n.i-1],51),r=e.Pb(),n.e=e,t=n.bj(r),t.Ob())n.d=t,ve(n,t);else for(n.d=null;!e.Ob()&&($t(n.g,--n.i,null),n.i!=0);)i=u(n.g[n.i-1],51),e=i;return r}function MMe(n,e){var t,i,r,c,s,f;if(i=e,r=i.Lk(),Sl(n.e,r)){if(r.Si()&&_M(n,r,i.md()))return!1}else for(f=ru(n.e.Dh(),r),t=u(n.g,124),c=0;c1||t>1)return 2;return e+t==1?2:0}function to(n,e){var t,i,r,c,s,f;return c=n.a*LB+n.b*1502,f=n.b*LB+11,t=y.Math.floor(f*Py),c+=t,f-=t*jtn,c%=jtn,n.a=c,n.b=f,e<=24?y.Math.floor(n.a*Oun[e]):(r=n.a*(1<=2147483648&&(i-=4294967296),i)}function JHn(n,e,t){var i,r,c,s,f,h,l;for(c=new Z,l=new Ct,s=new Ct,XPe(n,l,s,e),MOe(n,l,s,e,t),h=new C(n);h.ai.b.g&&Rn(c.c,i);return c}function OMe(n,e,t){var i,r,c,s,f,h;for(f=n.c,s=(t.q?t.q:(Dn(),Dn(),Wh)).vc().Kc();s.Ob();)c=u(s.Pb(),44),i=!o4(ut(new Tn(null,new In(f,16)),new Y3(new cMn(e,c)))).Bd((Va(),v3)),i&&(h=c.md(),D(h,4)&&(r=rZ(h),r!=null&&(h=r)),e.qf(u(c.ld(),149),h))}function DMe(n,e,t){var i,r;if(H7(n.b),hf(n.b,(Nk(),XI),(u6(),_j)),hf(n.b,VI,e.g),hf(n.b,WI,e.a),n.a=wy(n.b,e),t.Ug("Compaction by shrinking a tree",n.a.c.length),e.i.c.length>1)for(r=new C(n.a);r.a=0?n.Lh(i,!0,!0):K0(n,c,!0),160)),u(r,220).Xl(e,t)}else throw M(new Gn(ba+e.xe()+a8))}function MA(n,e){var t,i,r,c,s;if(e){for(c=D(n.Cb,90)||D(n.Cb,102),s=!c&&D(n.Cb,331),i=new ne((!e.a&&(e.a=new x6(e,jr,e)),e.a));i.e!=i.i.gc();)if(t=u(ue(i),89),r=BA(t),c?D(r,90):s?D(r,156):r)return r;return c?(On(),Is):(On(),Zf)}else return null}function LMe(n,e){var t,i,r,c;for(e.Ug("Resize child graph to fit parent.",1),i=new C(n.b);i.a=2*e&&nn(t,new KL(s[i-1]+e,s[i]-e));return t}function xMe(n,e,t){var i,r,c,s,f,h,l,a;if(t)for(c=t.a.length,i=new Qa(c),f=(i.b-i.a)*i.c<0?(K1(),xa):new q1(i);f.Ob();)s=u(f.Pb(),17),r=D4(t,s.a),r&&(h=a3e(n,(l=(B1(),a=new nz,a),e&&een(l,e),l),r),z4(h,bl(r,Eh)),gA(r,h),Mnn(r,h),_$(n,r,h))}function TA(n){var e,t,i,r,c,s;if(!n.j){if(s=new Evn,e=L9,c=e.a.zc(n,e),c==null){for(i=new ne(Hr(n));i.e!=i.i.gc();)t=u(ue(i),29),r=TA(t),Bt(s,r),ve(s,t);e.a.Bc(n)!=null}ew(s),n.j=new pg((u(L(H((G1(),Hn).o),11),19),s.i),s.g),Zu(n).b&=-33}return n.j}function FMe(n){var e,t,i,r;if(n==null)return null;if(i=Fc(n,!0),r=Zy.length,An(i.substr(i.length-r,r),Zy)){if(t=i.length,t==4){if(e=(zn(0,i.length),i.charCodeAt(0)),e==43)return s0n;if(e==45)return vse}else if(t==3)return s0n}return new qG(i)}function BMe(n){var e,t,i;return t=n.l,t&t-1||(i=n.m,i&i-1)||(e=n.h,e&e-1)||e==0&&i==0&&t==0?-1:e==0&&i==0&&t!=0?vQ(t):e==0&&i!=0&&t==0?vQ(i)+22:e!=0&&i==0&&t==0?vQ(e)+44:-1}function zg(n,e){var t,i,r,c,s;for(r=e.a&n.f,c=null,i=n.b[r];;i=i.b){if(i==e){c?c.b=e.b:n.b[r]=e.b;break}c=i}for(s=e.f&n.f,c=null,t=n.c[s];;t=t.d){if(t==e){c?c.d=e.d:n.c[s]=e.d;break}c=t}e.e?e.e.c=e.c:n.a=e.c,e.c?e.c.e=e.e:n.e=e.e,--n.i,++n.g}function RMe(n,e){var t;e.d?e.d.b=e.b:n.a=e.b,e.b?e.b.d=e.d:n.e=e.d,!e.e&&!e.c?(t=u(as(u(Bp(n.b,e.a),260)),260),t.a=0,++n.c):(t=u(as(u(ee(n.b,e.a),260)),260),--t.a,e.e?e.e.c=e.c:t.b=u(as(e.c),511),e.c?e.c.e=e.e:t.c=u(as(e.e),511)),--n.d}function KMe(n){var e,t,i,r,c,s,f,h,l,a;for(t=n.o,e=n.p,s=et,r=Wi,f=et,c=Wi,l=0;l0),c.a.Xb(c.c=--c.b),Rb(c,r),oe(c.b3&&Bh(n,0,e-3))}function HMe(n){var e,t,i,r;return x(v(n,(cn(),Bw)))===x((jl(),M1))?!n.e&&x(v(n,Ej))!==x((Y4(),pj)):(i=u(v(n,yH),298),r=on(un(v(n,jH)))||x(v(n,H8))===x((i5(),gj)),e=u(v(n,Kfn),17).a,t=n.a.c.length,!r&&i!=(Y4(),pj)&&(e==0||e>t))}function qMe(n){var e,t;for(t=0;t0);t++);if(t>0&&t0);e++);return e>0&&t>16!=6&&e){if(pm(n,e))throw M(new Gn(d8+dHn(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?MZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=Wp(e,n,6,i)),i=fV(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,6,e,e))}function AA(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=3&&e){if(pm(n,e))throw M(new Gn(d8+nGn(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?PZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=Wp(e,n,12,i)),i=hV(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,3,e,e))}function een(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=9&&e){if(pm(n,e))throw M(new Gn(d8+Yqn(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?AZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=Wp(e,n,9,i)),i=lV(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,9,e,e))}function Mm(n){var e,t,i,r,c;if(i=gs(n),c=n.j,c==null&&i)return n.Jk()?null:i.ik();if(D(i,156)){if(t=i.jk(),t&&(r=t.wi(),r!=n.i)){if(e=u(i,156),e.nk())try{n.g=r.ti(e,c)}catch(s){if(s=It(s),D(s,82))n.g=null;else throw M(s)}n.i=r}return n.g}return null}function nqn(n){var e;return e=new Z,nn(e,new bp(new V(n.c,n.d),new V(n.c+n.b,n.d))),nn(e,new bp(new V(n.c,n.d),new V(n.c,n.d+n.a))),nn(e,new bp(new V(n.c+n.b,n.d+n.a),new V(n.c+n.b,n.d))),nn(e,new bp(new V(n.c+n.b,n.d+n.a),new V(n.c,n.d+n.a))),e}function UMe(n){var e,t,i;if(n==null)return gu;try{return Jr(n)}catch(r){if(r=It(r),D(r,103))return e=r,i=Xa(wo(n))+"@"+(t=(fl(),iZ(n)>>>0),t.toString(16)),r9e(qve(),(l4(),"Exception during lenientFormat for "+i),e),"<"+i+" threw "+Xa(e.Rm)+">";throw M(r)}}function GMe(n,e,t){var i,r,c;for(c=e.a.ec().Kc();c.Ob();)r=u(c.Pb(),74),i=u(ee(n.b,r),272),!i&&(At(Kh(r))==At(ra(r))?DTe(n,r,t):Kh(r)==At(ra(r))?ee(n.c,r)==null&&ee(n.b,ra(r))!=null&&DGn(n,r,t,!1):ee(n.d,r)==null&&ee(n.b,Kh(r))!=null&&DGn(n,r,t,!0))}function zMe(n,e){var t,i,r,c,s,f,h;for(r=n.Kc();r.Ob();)for(i=u(r.Pb(),10),f=new Pc,ic(f,i),gi(f,(en(),Zn)),U(f,(W(),uI),(_n(),!0)),s=e.Kc();s.Ob();)c=u(s.Pb(),10),h=new Pc,ic(h,c),gi(h,Wn),U(h,uI,!0),t=new y0,U(t,uI,!0),Zi(t,f),Ii(t,h)}function XMe(n,e,t,i){var r,c,s,f;r=FBn(n,e,t),c=FBn(n,t,e),s=u(ee(n.c,e),118),f=u(ee(n.c,t),118),r1)for(e=s0((t=new za,++n.b,t),n.d),f=ge(c,0);f.b!=f.d.c;)s=u(be(f),125),qs(Ls(Ds(Ns(Os(new hs,1),0),e),s))}function JMe(n,e,t){var i,r,c,s,f;for(t.Ug("Breaking Point Removing",1),n.a=u(v(e,(cn(),$l)),223),c=new C(e.b);c.a>16!=11&&e){if(pm(n,e))throw M(new Gn(d8+yen(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?IZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=Wp(e,n,10,i)),i=kV(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,11,e,e))}function QMe(n){var e,t,i,r;for(i=new sd(new Ua(n.b).a);i.b;)t=O0(i),r=u(t.ld(),12),e=u(t.md(),10),U(e,(W(),st),r),U(r,Xu,e),U(r,kj,(_n(),!0)),gi(r,u(v(e,gc),64)),v(e,gc),U(r.i,(cn(),Kt),(Oi(),Rv)),u(v(Hi(r.i),Hc),21).Fc((pr(),kv))}function YMe(n,e,t){var i,r,c,s,f,h;if(c=0,s=0,n.c)for(h=new C(n.d.i.j);h.ac.a?-1:r.ah){for(a=n.d,n.d=K(Ldn,_cn,66,2*h+4,0,1),c=0;c=9223372036854776e3?(B4(),sun):(r=!1,n<0&&(r=!0,n=-n),i=0,n>=vd&&(i=wi(n/vd),n-=i*vd),t=0,n>=o3&&(t=wi(n/o3),n-=t*o3),e=wi(n),c=Yc(e,t,i),r&&H$(c),c)}function fTe(n){var e,t,i,r,c;if(c=new Z,nu(n.b,new A9n(c)),n.b.c.length=0,c.c.length!=0){for(e=(Ln(0,c.c.length),u(c.c[0],82)),t=1,i=c.c.length;t=-e&&i==e?new bi(Y(t-1),Y(i)):new bi(Y(t),Y(i-1))}function iqn(){return tr(),A(T(yNe,1),G,81,0,[Won,zon,b2,N_,bsn,IP,KP,Lw,asn,isn,hsn,Dw,dsn,nsn,wsn,Kon,NP,$_,SP,FP,psn,xP,_on,lsn,msn,BP,gsn,PP,Qon,ssn,osn,_P,Uon,AP,DP,qon,fv,csn,esn,fsn,O8,Xon,Gon,usn,tsn,LP,RP,Hon,$P,rsn,OP,Yon,Jon,dj,TP,Zon,Von])}function aTe(n,e,t){n.d=0,n.b=0,e.k==(Vn(),_c)&&t.k==_c&&u(v(e,(W(),st)),10)==u(v(t,st),10)&&(s$(e).j==(en(),Xn)?UHn(n,e,t):UHn(n,t,e)),e.k==_c&&t.k==Mi?s$(e).j==(en(),Xn)?n.d=1:n.b=1:t.k==_c&&e.k==Mi&&(s$(t).j==(en(),Xn)?n.b=1:n.d=1),J9e(n,e,t)}function dTe(n){var e,t,i,r,c,s,f,h,l,a,d;return d=nnn(n),e=n.a,h=e!=null,h&&y4(d,"category",n.a),r=Z9(new qa(n.d)),s=!r,s&&(l=new _a,bf(d,"knownOptions",l),t=new syn(l),qi(new qa(n.d),t)),c=Z9(n.g),f=!c,f&&(a=new _a,bf(d,"supportedFeatures",a),i=new fyn(a),qi(n.g,i)),d}function bTe(n){var e,t,i,r,c,s,f,h,l;for(i=!1,e=336,t=0,c=new GAn(n.length),f=n,h=0,l=f.length;h>16!=7&&e){if(pm(n,e))throw M(new Gn(d8+f_n(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?TZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=u(e,54).Rh(n,1,uE,i)),i=dW(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,7,e,e))}function rqn(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=3&&e){if(pm(n,e))throw M(new Gn(d8+oBn(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?SZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=u(e,54).Rh(n,0,sE,i)),i=bW(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,3,e,e))}function vF(n,e){Tm();var t,i,r,c,s,f,h,l,a;return e.d>n.d&&(f=n,n=e,e=f),e.d<63?tAe(n,e):(s=(n.d&-2)<<4,l=LJ(n,s),a=LJ(e,s),i=RF(n,Fp(l,s)),r=RF(e,Fp(a,s)),h=vF(l,a),t=vF(i,r),c=vF(RF(l,i),RF(r,a)),c=zF(zF(c,h),t),c=Fp(c,s),h=Fp(h,s<<1),zF(zF(h,c),t))}function a1(){a1=F,xH=new dg(sVn,0),Thn=new dg("LONGEST_PATH",1),Ahn=new dg("LONGEST_PATH_SOURCE",2),$H=new dg("COFFMAN_GRAHAM",3),Mhn=new dg(sR,4),Shn=new dg("STRETCH_WIDTH",5),CI=new dg("MIN_WIDTH",6),Sv=new dg("BF_MODEL_ORDER",7),Pv=new dg("DF_MODEL_ORDER",8)}function gTe(n,e,t){var i,r,c,s,f;for(s=b5(n,t),f=K(Qh,b1,10,e.length,0,1),i=0,c=s.Kc();c.Ob();)r=u(c.Pb(),12),on(un(v(r,(W(),kj))))&&(f[i++]=u(v(r,Xu),10));if(i=0;c+=t?1:-1)s=s|e.c.lg(h,c,t,i&&!on(un(v(e.j,(W(),ka))))&&!on(un(v(e.j,(W(),j2))))),s=s|e.q.ug(h,c,t),s=s|Gqn(n,h[c],t,i);return fi(n.c,e),s}function IA(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(a=EDn(n.j),d=0,g=a.length;d1&&(n.a=!0),Wbe(u(t.b,68),tt(Ki(u(e.b,68).c),ch(mi(Ki(u(t.b,68).a),u(e.b,68).a),r))),IOn(n,e),cqn(n,t)}function uqn(n){var e,t,i,r,c,s,f;for(c=new C(n.a.a);c.a0&&c>0?s.p=e++:i>0?s.p=t++:c>0?s.p=r++:s.p=t++}Dn(),Yt(n.j,new Kgn)}function yTe(n){var e,t;t=null,e=u(sn(n.g,0),18);do{if(t=e.d.i,kt(t,(W(),Es)))return u(v(t,Es),12).i;if(t.k!=(Vn(),zt)&&pe(new ie(ce(Qt(t).a.Kc(),new En))))e=u(fe(new ie(ce(Qt(t).a.Kc(),new En))),18);else if(t.k!=zt)return null}while(t&&t.k!=(Vn(),zt));return t}function jTe(n,e){var t,i,r,c,s,f,h,l,a;for(f=e.j,s=e.g,h=u(sn(f,f.c.length-1),113),a=(Ln(0,f.c.length),u(f.c[0],113)),l=Kx(n,s,h,a),c=1;cl&&(h=t,a=r,l=i);e.a=a,e.c=h}function ETe(n,e,t){var i,r,c,s,f,h,l;for(l=new Ul(new z7n(n)),s=A(T(FZn,1),DXn,12,0,[e,t]),f=0,h=s.length;fh-n.b&&fh-n.a&&f0?c.a?(f=c.b.Mf().a,t>f&&(r=(t-f)/2,c.d.b=r,c.d.c=r)):c.d.c=n.s+t:B6(n.u)&&(i=enn(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}function KTe(n,e){var t,i,r,c,s;s=new Z,t=e;do c=u(ee(n.b,t),131),c.B=t.c,c.D=t.d,Rn(s.c,c),t=u(ee(n.k,t),18);while(t);return i=(Ln(0,s.c.length),u(s.c[0],131)),i.j=!0,i.A=u(i.d.a.ec().Kc().Pb(),18).c.i,r=u(sn(s,s.c.length-1),131),r.q=!0,r.C=u(r.d.a.ec().Kc().Pb(),18).d.i,s}function _Te(n){var e,t;if(e=u(n.a,17).a,t=u(n.b,17).a,e>=0){if(e==t)return new bi(Y(-e-1),Y(-e-1));if(e==-t)return new bi(Y(-e),Y(t+1))}return y.Math.abs(e)>y.Math.abs(t)?e<0?new bi(Y(-e),Y(t)):new bi(Y(-e),Y(t+1)):new bi(Y(e+1),Y(t))}function HTe(n){var e,t;t=u(v(n,(cn(),ou)),171),e=u(v(n,(W(),Od)),311),t==(Yo(),ya)?(U(n,ou,jj),U(n,Od,(vl(),k2))):t==xw?(U(n,ou,jj),U(n,Od,(vl(),E3))):e==(vl(),k2)?(U(n,ou,ya),U(n,Od,mj)):e==E3&&(U(n,ou,xw),U(n,Od,mj))}function OA(){OA=F,Oj=new T3n,Jie=Ke(new ii,(Vi(),Oc),(tr(),SP)),Zie=Pu(Ke(new ii,Oc,xP),zr,$P),nre=ah(ah(s6(Pu(Ke(new ii,Vs,KP),zr,RP),Kc),BP),_P),Qie=Pu(Ke(Ke(Ke(new ii,Jh,IP),Kc,DP),Kc,fv),zr,OP),Yie=Pu(Ke(Ke(new ii,Kc,fv),Kc,AP),zr,TP)}function x5(){x5=F,ire=Ke(Pu(new ii,(Vi(),zr),(tr(),Yon)),Oc,SP),ore=ah(ah(s6(Pu(Ke(new ii,Vs,KP),zr,RP),Kc),BP),_P),rre=Pu(Ke(Ke(Ke(new ii,Jh,IP),Kc,DP),Kc,fv),zr,OP),ure=Ke(Ke(new ii,Oc,xP),zr,$P),cre=Pu(Ke(Ke(new ii,Kc,fv),Kc,AP),zr,TP)}function qTe(n,e,t,i,r){var c,s;(!fr(e)&&e.c.i.c==e.d.i.c||!sxn(cc(A(T(Ei,1),J,8,0,[r.i.n,r.n,r.a])),t))&&!fr(e)&&(e.c==r?w4(e.a,0,new rr(t)):Fe(e.a,new rr(t)),i&&!sf(n.a,t)&&(s=u(v(e,(cn(),Fr)),75),s||(s=new Mu,U(e,Fr,s)),c=new rr(t),xt(s,c,s.c.b,s.c),fi(n.a,c)))}function fqn(n,e){var t,i,r,c;for(c=Ae(er(Uh,xh(Ae(er(e==null?0:mt(e),Gh)),15))),t=c&n.b.length-1,r=null,i=n.b[t];i;r=i,i=i.a)if(i.d==c&&sh(i.i,e))return r?r.a=i.a:n.b[t]=i.a,Rjn(u(as(i.c),604),u(as(i.f),604)),V9(u(as(i.b),227),u(as(i.e),227)),--n.f,++n.e,!0;return!1}function UTe(n){var e,t;for(t=new ie(ce(ji(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),18),e.c.i.k!=(Vn(),Ac))throw M(new _l(oR+Hk(n)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function GTe(n,e,t){var i,r,c,s,f,h,l;if(r=aBn(n.Db&254),r==0)n.Eb=t;else{if(r==1)f=K(ki,Fn,1,2,5,1),c=Rx(n,e),c==0?(f[0]=t,f[1]=n.Eb):(f[0]=n.Eb,f[1]=t);else for(f=K(ki,Fn,1,r+1,5,1),s=cd(n.Eb),i=2,h=0,l=0;i<=128;i<<=1)i==e?f[l++]=t:n.Db&i&&(f[l++]=s[h++]);n.Eb=f}n.Db|=e}function hqn(n,e,t){var i,r,c,s;for(this.b=new Z,r=0,i=0,s=new C(n);s.a0&&(c=u(sn(this.b,0),176),r+=c.o,i+=c.p),r*=2,i*=2,e>1?r=wi(y.Math.ceil(r*e)):i=wi(y.Math.ceil(i/e)),this.a=new XY(r,i)}function lqn(n,e,t,i,r,c){var s,f,h,l,a,d,g,p,m,k,j,S;for(a=i,e.j&&e.o?(p=u(ee(n.f,e.A),60),k=p.d.c+p.d.b,--a):k=e.a.c+e.a.b,d=r,t.q&&t.o?(p=u(ee(n.f,t.C),60),l=p.d.c,++d):l=t.a.c,j=l-k,h=y.Math.max(2,d-a),f=j/h,m=k+f,g=a;g=0;s+=r?1:-1){for(f=e[s],h=i==(en(),Zn)?r?uc(f,i):Qo(uc(f,i)):r?Qo(uc(f,i)):uc(f,i),c&&(n.c[f.p]=h.gc()),d=h.Kc();d.Ob();)a=u(d.Pb(),12),n.d[a.p]=l++;hi(t,h)}}function dqn(n,e,t){var i,r,c,s,f,h,l,a;for(c=$(R(n.b.Kc().Pb())),l=$(R(Hve(e.b))),i=ch(Ki(n.a),l-t),r=ch(Ki(e.a),t-c),a=tt(i,r),ch(a,1/(l-c)),this.a=a,this.b=new Z,f=!0,s=n.b.Kc(),s.Pb();s.Ob();)h=$(R(s.Pb())),f&&h-t>_R&&(this.b.Fc(t),f=!1),this.b.Fc(h);f&&this.b.Fc(t)}function zTe(n){var e,t,i,r;if(hSe(n,n.n),n.d.c.length>0){for(Zv(n.c);qnn(n,u(E(new C(n.e.a)),125))>5,e&=31,i>=n.d)return n.e<0?(dh(),vQn):(dh(),T8);if(c=n.d-i,r=K(ye,_e,28,c+1,15,1),Fje(r,c,n.a,i,e),n.e<0){for(t=0;t0&&n.a[t]<<32-e){for(t=0;t=0?!1:(t=Qg((Du(),zi),r,e),t?(i=t.Ik(),(i>1||i==-1)&&v0(Lr(zi,t))!=3):!0)):!1}function JTe(n,e,t,i){var r,c,s,f,h;return f=Gr(u(L((!e.b&&(e.b=new Nn(he,e,4,7)),e.b),0),84)),h=Gr(u(L((!e.c&&(e.c=new Nn(he,e,5,8)),e.c),0),84)),At(f)==At(h)||Yb(h,f)?null:(s=X7(e),s==t?i:(c=u(ee(n.a,s),10),c&&(r=c.e,r)?r:null))}function QTe(n,e,t){var i,r,c,s,f;for(t.Ug("Longest path to source layering",1),n.a=e,f=n.a.a,n.b=K(ye,_e,28,f.c.length,15,1),i=0,s=new C(f);s.a0&&(t[0]+=n.d,s-=t[0]),t[2]>0&&(t[2]+=n.d,s-=t[2]),c=y.Math.max(0,s),t[1]=y.Math.max(t[1],s),$J(n,Wc,r.c+i.b+t[0]-(t[1]-s)/2,t),e==Wc&&(n.c.b=c,n.c.c=r.c+i.b+(c-s)/2)}function Eqn(){this.c=K(Pi,Tr,28,(en(),A(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])).length,15,1),this.b=K(Pi,Tr,28,A(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn]).length,15,1),this.a=K(Pi,Tr,28,A(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn]).length,15,1),Bz(this.c,St),Bz(this.b,li),Bz(this.a,li)}function xc(n,e,t){var i,r,c,s;if(e<=t?(r=e,c=t):(r=t,c=e),i=0,n.b==null)n.b=K(ye,_e,28,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r){n.b[i-1]=c;return}s=K(ye,_e,28,i+2,15,1),Ic(n.b,0,s,0,i),n.b=s,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||Gg(n)}}function iAe(n,e,t){var i,r,c,s,f,h,l;for(l=e.d,n.a=new Gc(l.c.length),n.c=new de,f=new C(l);f.a=0?n.Lh(l,!1,!0):K0(n,t,!1),61));n:for(c=d.Kc();c.Ob();){for(r=u(c.Pb(),58),a=0;a1;)dw(r,r.i-1);return i}function Mqn(n,e){var t,i,r,c,s,f,h;for(t=new Cg,c=new C(n.b);c.an.d[s.p]&&(t+=AJ(n.b,c),W1(n.a,Y(c)));for(;!n6(n.a);)uQ(n.b,u(Sp(n.a),17).a)}return t}function fAe(n){var e,t,i,r,c,s,f,h,l;for(n.a=new vV,l=0,r=0,i=new C(n.i.b);i.af.d&&(a=f.d+f.a+l));t.c.d=a,e.a.zc(t,e),h=y.Math.max(h,t.c.d+t.c.a)}return h}function pr(){pr=F,ZP=new Db("COMMENTS",0),cs=new Db("EXTERNAL_PORTS",1),$8=new Db("HYPEREDGES",2),nI=new Db("HYPERNODES",3),kv=new Db("NON_FREE_PORTS",4),v2=new Db("NORTH_SOUTH_PORTS",5),x8=new Db(JXn,6),mv=new Db("CENTER_LABELS",7),vv=new Db("END_LABELS",8),eI=new Db("PARTITIONS",9)}function lAe(n,e,t,i,r){return i<0?(i=Ug(n,r,A(T(fn,1),J,2,6,[sB,fB,hB,lB,c3,aB,dB,bB,wB,gB,pB,mB]),e),i<0&&(i=Ug(n,r,A(T(fn,1),J,2,6,["Jan","Feb","Mar","Apr",c3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function aAe(n,e,t,i,r){return i<0?(i=Ug(n,r,A(T(fn,1),J,2,6,[sB,fB,hB,lB,c3,aB,dB,bB,wB,gB,pB,mB]),e),i<0&&(i=Ug(n,r,A(T(fn,1),J,2,6,["Jan","Feb","Mar","Apr",c3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function dAe(n,e,t,i,r,c){var s,f,h,l;if(f=32,i<0){if(e[0]>=n.length||(f=Xi(n,e[0]),f!=43&&f!=45)||(++e[0],i=yA(n,e),i<0))return!1;f==45&&(i=-i)}return f==32&&e[0]-t==2&&r.b==2&&(h=new WE,l=h.q.getFullYear()-ha+ha-80,s=l%100,c.a=i==s,i+=(l/100|0)*100+(i=0?ia(n):H6(ia(n1(n)))),A8[e]=TC(Bs(n,e),0)?ia(Bs(n,e)):H6(ia(n1(Bs(n,e)))),n=er(n,5);for(;e=l&&(h=i);h&&(a=y.Math.max(a,h.a.o.a)),a>g&&(d=l,g=a)}return d}function vAe(n){var e,t,i,r,c,s,f;for(c=new Ul(u(Se(new vbn),50)),f=li,t=new C(n.d);t.ajVn?Yt(h,n.b):i<=jVn&&i>EVn?Yt(h,n.d):i<=EVn&&i>CVn?Yt(h,n.c):i<=CVn&&Yt(h,n.a),c=Iqn(n,h,c);return r}function Oqn(n,e,t,i){var r,c,s,f,h,l;for(r=(i.c+i.a)/2,vo(e.j),Fe(e.j,r),vo(t.e),Fe(t.e,r),l=new Yjn,f=new C(n.f);f.a1,f&&(i=new V(r,t.b),Fe(e.a,i)),t5(e.a,A(T(Ei,1),J,8,0,[g,d]))}function aen(n,e,t){var i,r;for(e=48;t--)F9[t]=t-48<<24>>24;for(i=70;i>=65;i--)F9[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)F9[r]=r-97+10<<24>>24;for(c=0;c<10;c++)SO[c]=48+c&ui;for(n=10;n<=15;n++)SO[n]=65+n-10&ui}function EAe(n,e){e.Ug("Process graph bounds",1),U(n,(pt(),rq),a7(O$(Ub(new Tn(null,new In(n.b,16)),new i4n)))),U(n,cq,a7(O$(Ub(new Tn(null,new In(n.b,16)),new r4n)))),U(n,pln,a7(I$(Ub(new Tn(null,new In(n.b,16)),new c4n)))),U(n,mln,a7(I$(Ub(new Tn(null,new In(n.b,16)),new u4n)))),e.Vg()}function CAe(n){var e,t,i,r,c;r=u(v(n,(cn(),xd)),21),c=u(v(n,kI),21),t=new V(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),e=new rr(t),r.Hc((go(),Qw))&&(i=u(v(n,jv),8),c.Hc((io(),Kv))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),e.a=y.Math.max(t.a,i.a),e.b=y.Math.max(t.b,i.b)),on(un(v(n,SH)))||nIe(n,t,e)}function MAe(n,e){var t,i,r,c;for(c=uc(e,(en(),ae)).Kc();c.Ob();)i=u(c.Pb(),12),t=u(v(i,(W(),Xu)),10),t&&qs(Ls(Ds(Ns(Os(new hs,0),.1),n.i[e.p].d),n.i[t.p].a));for(r=uc(e,Xn).Kc();r.Ob();)i=u(r.Pb(),12),t=u(v(i,(W(),Xu)),10),t&&qs(Ls(Ds(Ns(Os(new hs,0),.1),n.i[t.p].d),n.i[e.p].a))}function yF(n){var e,t,i,r,c,s;if(!n.c){if(s=new vvn,e=L9,c=e.a.zc(n,e),c==null){for(i=new ne(Sc(n));i.e!=i.i.gc();)t=u(ue(i),89),r=BA(t),D(r,90)&&Bt(s,yF(u(r,29))),ve(s,t);e.a.Bc(n)!=null,e.a.gc()==0}k8e(s),ew(s),n.c=new pg((u(L(H((G1(),Hn).o),15),19),s.i),s.g),Zu(n).b&=-33}return n.c}function ben(n){var e;if(n.c!=10)throw M(new Le($e((Ie(),qS))));switch(e=n.a,e){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw M(new Le($e((Ie(),is))))}return e}function $qn(n){var e,t,i,r,c;if(n.l==0&&n.m==0&&n.h==0)return"0";if(n.h==My&&n.m==0&&n.l==0)return"-9223372036854775808";if(n.h>>19)return"-"+$qn(em(n));for(t=n,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=QN(QA),t=Ven(t,r,!0),e=""+rEn(wa),!(t.l==0&&t.m==0&&t.h==0))for(c=9-e.length;c>0;c--)e="0"+e;i=e+i}return i}function TAe(n){var e,t,i,r,c,s,f;for(e=!1,t=0,r=new C(n.d.b);r.a=n.a||!QZ(e,t))return-1;if(L4(u(i.Kb(e),20)))return 1;for(r=0,s=u(i.Kb(e),20).Kc();s.Ob();)if(c=u(s.Pb(),18),h=c.c.i==e?c.d.i:c.c.i,f=wen(n,h,t,i),f==-1||(r=y.Math.max(r,f),r>n.c-1))return-1;return r+1}function xqn(n,e){var t,i,r,c,s,f;if(x(e)===x(n))return!0;if(!D(e,15)||(i=u(e,15),f=n.gc(),i.gc()!=f))return!1;if(s=i.Kc(),n.Yi()){for(t=0;t0){if(n._j(),e!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw M(new th("Invalid hexadecimal"))}}function NA(){NA=F,Zun=new ag("SPIRAL",0),Wun=new ag("LINE_BY_LINE",1),Jun=new ag("MANHATTAN",2),Vun=new ag("JITTER",3),f_=new ag("QUADRANTS_LINE_BY_LINE",4),Yun=new ag("QUADRANTS_MANHATTAN",5),Qun=new ag("QUADRANTS_JITTER",6),Xun=new ag("COMBINE_LINE_BY_LINE_MANHATTAN",7),zun=new ag("COMBINE_JITTER_MANHATTAN",8)}function Bqn(n,e,t,i){var r,c,s,f,h,l;for(h=zx(n,t),l=zx(e,t),r=!1;h&&l&&(i||E7e(h,l,t));)s=zx(h,t),f=zx(l,t),sk(e),sk(n),c=h.c,XF(h,!1),XF(l,!1),t?(uw(e,l.p,c),e.p=l.p,uw(n,h.p+1,c),n.p=h.p):(uw(n,h.p,c),n.p=h.p,uw(e,l.p+1,c),e.p=l.p),$i(h,null),$i(l,null),h=s,l=f,r=!0;return r}function Rqn(n){switch(n.g){case 0:return new Q5n;case 1:return new W5n;case 3:return new aCn;case 4:return new zpn;case 5:return new KAn;case 6:return new J5n;case 2:return new V5n;case 7:return new H5n;case 8:return new U5n;default:throw M(new Gn("No implementation is available for the layerer "+(n.f!=null?n.f:""+n.g)))}}function DAe(n,e,t,i){var r,c,s,f,h;for(r=!1,c=!1,f=new C(i.j);f.a=e.length)throw M(new Ir("Greedy SwitchDecider: Free layer not in graph."));this.c=e[n],this.e=new D7(i),T$(this.e,this.c,(en(),Wn)),this.i=new D7(i),T$(this.i,this.c,Zn),this.f=new iPn(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Vn(),Zt),this.a&&zje(this,n,e.length)}function _qn(n,e){var t,i,r,c,s,f;c=!n.B.Hc((io(),rE)),s=n.B.Hc(dU),n.a=new TBn(s,c,n.c),n.n&&VW(n.a.n,n.n),mD(n.g,(wf(),Wc),n.a),e||(i=new y5(1,c,n.c),i.n.a=n.k,Pp(n.p,(en(),Xn),i),r=new y5(1,c,n.c),r.n.d=n.k,Pp(n.p,ae,r),f=new y5(0,c,n.c),f.n.c=n.k,Pp(n.p,Wn,f),t=new y5(0,c,n.c),t.n.b=n.k,Pp(n.p,Zn,t))}function NAe(n){var e,t,i;switch(e=u(v(n.d,(cn(),$l)),223),e.g){case 2:t=jLe(n);break;case 3:t=(i=new Z,qt(ut(_r(rc(rc(new Tn(null,new In(n.d.b,16)),new tpn),new ipn),new rpn),new q2n),new j7n(i)),i);break;default:throw M(new Or("Compaction not supported for "+e+" edges."))}UIe(n,t),qi(new qa(n.g),new k7n(n))}function $Ae(n,e){var t,i,r,c,s,f,h;if(e.Ug("Process directions",1),t=u(v(n,(lc(),pb)),88),t!=(ci(),Wf))for(r=ge(n.b,0);r.b!=r.d.c;){switch(i=u(be(r),39),f=u(v(i,(pt(),Nj)),17).a,h=u(v(i,$j),17).a,t.g){case 4:h*=-1;break;case 1:c=f,f=h,h=c;break;case 2:s=f,f=-h,h=s}U(i,Nj,Y(f)),U(i,$j,Y(h))}e.Vg()}function xAe(n,e){var t;return t=new xO,e&&Ur(t,u(ee(n.a,uE),96)),D(e,422)&&Ur(t,u(ee(n.a,oE),96)),D(e,366)?(Ur(t,u(ee(n.a,Ar),96)),t):(D(e,84)&&Ur(t,u(ee(n.a,he),96)),D(e,207)?(Ur(t,u(ee(n.a,Ye),96)),t):D(e,193)?(Ur(t,u(ee(n.a,Qu),96)),t):(D(e,326)&&Ur(t,u(ee(n.a,Vt),96)),t))}function FAe(n){var e,t,i,r,c,s,f,h;for(h=new kLn,f=new C(n.a);f.a0&&e=0)return!1;if(e.p=t.b,nn(t.e,e),r==(Vn(),Mi)||r==_c){for(s=new C(e.j);s.an.d[f.p]&&(t+=AJ(n.b,c),W1(n.a,Y(c)))):++s;for(t+=n.b.d*s;!n6(n.a);)uQ(n.b,u(Sp(n.a),17).a)}return t}function Qqn(n){var e,t,i,r,c,s;return c=0,e=gs(n),e.kk()&&(c|=4),n.Bb&$u&&(c|=2),D(n,102)?(t=u(n,19),r=br(t),t.Bb&kc&&(c|=32),r&&(se(Gb(r)),c|=8,s=r.t,(s>1||s==-1)&&(c|=16),r.Bb&kc&&(c|=64)),t.Bb&hr&&(c|=Tw),c|=Gs):D(e,468)?c|=512:(i=e.kk(),i&&i.i&1&&(c|=256)),n.Bb&512&&(c|=128),c}function WAe(n,e){var t;return n.f==TU?(t=v0(Lr((Du(),zi),e)),n.e?t==4&&e!=(n3(),K3)&&e!=(n3(),R3)&&e!=(n3(),AU)&&e!=(n3(),SU):t==2):n.d&&(n.d.Hc(e)||n.d.Hc($p(Lr((Du(),zi),e)))||n.d.Hc(Qg((Du(),zi),n.b,e)))?!0:n.f&&ten((Du(),n.f),q7(Lr(zi,e)))?(t=v0(Lr(zi,e)),n.e?t==4:t==2):!1}function JAe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;for(g=-1,p=0,l=n,a=0,d=l.length;a0&&++p;++g}return p}function QAe(n,e,t,i){var r,c,s,f,h,l,a,d;return s=u(z(t,(He(),L3)),8),h=s.a,a=s.b+n,r=y.Math.atan2(a,h),r<0&&(r+=Cd),r+=e,r>Cd&&(r-=Cd),f=u(z(i,L3),8),l=f.a,d=f.b+n,c=y.Math.atan2(d,l),c<0&&(c+=Cd),c+=e,c>Cd&&(c-=Cd),Tf(),Ks(1e-10),y.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:u0(isNaN(r),isNaN(c))}function CF(n){var e,t,i,r,c,s,f;for(f=new de,i=new C(n.a.b);i.a=n.o)throw M(new QG);f=e>>5,s=e&31,c=Bs(1,Ae(Bs(s,1))),r?n.n[t][f]=lf(n.n[t][f],c):n.n[t][f]=vi(n.n[t][f],VV(c)),c=Bs(c,1),i?n.n[t][f]=lf(n.n[t][f],c):n.n[t][f]=vi(n.n[t][f],VV(c))}catch(h){throw h=It(h),D(h,333)?M(new Ir(GB+n.o+"*"+n.p+zB+e+ur+t+XB)):M(h)}}function nSe(n,e,t,i){var r,c,s,f,h,l,a,d,g;for(g=new Ul(new G7n(n)),f=A(T(Qh,1),b1,10,0,[e,t]),h=0,l=f.length;h0&&(i=(!n.n&&(n.n=new q(Ar,n,1,7)),u(L(n.n,0),135)).a,!i||Re(Re((e.a+=' "',e),i),'"'))),Re(e0(Re(e0(Re(e0(Re(e0((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function Yqn(n){var e,t,i;return n.Db&64?iF(n):(e=new mo(Ecn),t=n.k,t?Re(Re((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new q(Ar,n,1,7)),n.n.i>0&&(i=(!n.n&&(n.n=new q(Ar,n,1,7)),u(L(n.n,0),135)).a,!i||Re(Re((e.a+=' "',e),i),'"'))),Re(e0(Re(e0(Re(e0(Re(e0((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function iSe(n,e){var t,i,r,c,s;for(e==(h5(),XH)&&Qk(u(ot(n.a,(ow(),wj)),15)),r=u(ot(n.a,(ow(),wj)),15).Kc();r.Ob();)switch(i=u(r.Pb(),105),t=u(sn(i.j,0),113).d.j,c=new _u(i.j),Yt(c,new lpn),e.g){case 2:Qx(n,c,t,(I0(),va),1);break;case 1:case 0:s=qMe(c),Qx(n,new Jl(c,0,s),t,(I0(),va),0),Qx(n,new Jl(c,s,c.c.length),t,va,1)}}function TF(n,e){var t,i,r,c,s,f,h;if(e==null||e.length==0)return null;if(r=u(Nc(n.a,e),143),!r){for(i=(f=new ol(n.b).a.vc().Kc(),new Tb(f));i.a.Ob();)if(t=(c=u(i.a.Pb(),44),u(c.md(),143)),s=t.c,h=e.length,An(s.substr(s.length-h,h),e)&&(e.length==s.length||Xi(s,s.length-e.length-1)==46)){if(r)return null;r=t}r&&Dr(n.a,e,r)}return r}function rSe(n,e){var t,i,r,c;return t=new Mbn,i=u(Wr(_r(new Tn(null,new In(n.f,16)),t),Wb(new Y2,new Z2,new np,new ep,A(T(xr,1),G,108,0,[(Gu(),Aw),Yr]))),21),r=i.gc(),i=u(Wr(_r(new Tn(null,new In(e.f,16)),t),Wb(new Y2,new Z2,new np,new ep,A(T(xr,1),G,108,0,[Aw,Yr]))),21),c=i.gc(),rr.p?(gi(c,ae),c.d&&(f=c.o.b,e=c.a.b,c.a.b=f-e)):c.j==ae&&r.p>n.p&&(gi(c,Xn),c.d&&(f=c.o.b,e=c.a.b,c.a.b=-(f-e)));break}return r}function sy(n,e,t,i,r){var c,s,f,h,l,a,d;if(!(D(e,207)||D(e,366)||D(e,193)))throw M(new Gn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return s=n.a/2,h=e.i+i-s,a=e.j+r-s,l=h+e.g+n.a,d=a+e.f+n.a,c=new Mu,Fe(c,new V(h,a)),Fe(c,new V(h,d)),Fe(c,new V(l,d)),Fe(c,new V(l,a)),f=new bF(c),Ur(f,e),t&&Ve(n.b,e,f),f}function Am(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=new V(e,t),a=new C(n.a);a.a1,f&&(i=new V(r,t.b),Fe(e.a,i)),t5(e.a,A(T(Ei,1),J,8,0,[g,d]))}function ps(){ps=F,AI=new Lb(kh,0),Aj=new Lb("NIKOLOV",1),Sj=new Lb("NIKOLOV_PIXEL",2),$hn=new Lb("NIKOLOV_IMPROVED",3),xhn=new Lb("NIKOLOV_IMPROVED_PIXEL",4),Nhn=new Lb("DUMMYNODE_PERCENTAGE",5),Fhn=new Lb("NODECOUNT_PERCENTAGE",6),SI=new Lb("NO_BOUNDARY",7),wb=new Lb("MODEL_ORDER_LEFT_TO_RIGHT",8),Uw=new Lb("MODEL_ORDER_RIGHT_TO_LEFT",9)}function bSe(n){var e,t,i,r,c;for(i=n.length,e=new e6,c=0;c=40,s&&wPe(n),CIe(n),zTe(n),t=gBn(n),i=0;t&&i0&&Fe(n.f,c)):(n.c[s]-=l+1,n.c[s]<=0&&n.a[s]>0&&Fe(n.e,c))))}function lUn(n,e,t,i){var r,c,s,f,h,l,a;for(h=new V(t,i),mi(h,u(v(e,(pt(),Ov)),8)),a=ge(e.b,0);a.b!=a.d.c;)l=u(be(a),39),tt(l.e,h),Fe(n.b,l);for(f=u(Wr(cJ(new Tn(null,new In(e.a,16))),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15).Kc();f.Ob();){for(s=u(f.Pb(),65),c=ge(s.a,0);c.b!=c.d.c;)r=u(be(c),8),r.a+=h.a,r.b+=h.b;Fe(n.a,s)}}function Ien(n,e){var t,i,r,c;if(0<(D(n,16)?u(n,16).gc():wl(n.Kc()))){if(r=e,1=0&&hc*2?(a=new hT(d),l=Su(s)/ao(s),h=QF(a,e,new up,t,i,r,l),tt(ff(a.e),h),d.c.length=0,c=0,Rn(d.c,a),Rn(d.c,s),c=Su(a)*ao(a)+Su(s)*ao(s)):(Rn(d.c,s),c+=Su(s)*ao(s));return d}function dUn(n,e){var t,i,r,c,s,f;if(f=u(v(e,(cn(),Kt)),101),f==(Oi(),tl)||f==qc)for(r=new V(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,s=new C(n.a);s.at?e:t;l<=d;++l)l==t?f=i++:(c=r[l],a=m.am(c.Lk()),l==e&&(h=l==d&&!a?i-1:i),a&&++i);return g=u(m5(n,e,t),76),f!=h&&e4(n,new rk(n.e,7,s,Y(f),p.md(),h)),g}}else return u(lF(n,e,t),76);return u(m5(n,e,t),76)}function NSe(n,e){var t,i,r,c,s,f,h;for(e.Ug("Port order processing",1),h=u(v(n,(cn(),dhn)),430),i=new C(n.b);i.a=0&&(f=S7e(n,s),!(f&&(l<22?h.l|=1<>>1,s.m=a>>>1|(d&1)<<21,s.l=g>>>1|(a&1)<<21,--l;return t&&H$(h),c&&(i?(wa=em(n),r&&(wa=Qxn(wa,(B4(),fun)))):wa=Yc(n.l,n.m,n.h)),h}function FSe(n,e){var t,i,r,c,s,f,h,l,a,d;for(l=n.e[e.c.p][e.p]+1,h=e.c.a.c.length+1,f=new C(n.a);f.a0&&(zn(0,n.length),n.charCodeAt(0)==45||(zn(0,n.length),n.charCodeAt(0)==43))?1:0,i=s;it)throw M(new th(z0+n+'"'));return f}function BSe(n){var e,t,i,r,c,s,f;for(s=new Ct,c=new C(n.a);c.a1)&&e==1&&u(n.a[n.b],10).k==(Vn(),Ac)?t3(u(n.a[n.b],10),(To(),nl)):i&&(!t||(n.c-n.b&n.a.length-1)>1)&&e==1&&u(n.a[n.c-1&n.a.length-1],10).k==(Vn(),Ac)?t3(u(n.a[n.c-1&n.a.length-1],10),(To(),Aa)):(n.c-n.b&n.a.length-1)==2?(t3(u(f5(n),10),(To(),nl)),t3(u(f5(n),10),Aa)):dMe(n,r),MJ(n)}function _Se(n,e,t){var i,r,c,s,f;for(c=0,r=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));r.e!=r.i.gc();)i=u(ue(r),27),s="",(!i.n&&(i.n=new q(Ar,i,1,7)),i.n).i==0||(s=u(L((!i.n&&(i.n=new q(Ar,i,1,7)),i.n),0),135).a),f=new q$(c++,e,s),Ur(f,i),U(f,(pt(),r9),i),f.e.b=i.j+i.f/2,f.f.a=y.Math.max(i.g,1),f.e.a=i.i+i.g/2,f.f.b=y.Math.max(i.f,1),Fe(e.b,f),Vc(t.f,i,f)}function HSe(n){var e,t,i,r,c;i=u(v(n,(W(),st)),27),c=u(z(i,(cn(),xd)),181).Hc((go(),Gd)),n.e||(r=u(v(n,Hc),21),e=new V(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),r.Hc((pr(),cs))?(ht(i,Kt,(Oi(),qc)),q0(i,e.a,e.b,!1,!0)):on(un(z(i,SH)))||q0(i,e.a,e.b,!0,!0)),c?ht(i,xd,yn(Gd)):ht(i,xd,(t=u(of(A9),9),new _o(t,u(xs(t,t.length),9),0)))}function Oen(n,e,t){var i,r,c,s;if(e[0]>=n.length)return t.o=0,!0;switch(Xi(n,e[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++e[0],c=e[0],s=yA(n,e),s==0&&e[0]==c)return!1;if(e[0]f&&(f=r,a.c.length=0),r==f&&nn(a,new bi(t.c.i,t)));Dn(),Yt(a,n.c),a0(n.b,h.p,a)}}function zSe(n,e){var t,i,r,c,s,f,h,l,a;for(s=new C(e.b);s.af&&(f=r,a.c.length=0),r==f&&nn(a,new bi(t.d.i,t)));Dn(),Yt(a,n.c),a0(n.f,h.p,a)}}function XSe(n,e){var t,i,r,c,s,f,h,l;if(l=un(v(e,(lc(),Ire))),l==null||(Jn(l),l)){for(mCe(n,e),r=new Z,h=ge(e.b,0);h.b!=h.d.c;)s=u(be(h),39),t=vnn(n,s,null),t&&(Ur(t,e),Rn(r.c,t));if(n.a=null,n.b=null,r.c.length>1)for(i=new C(r);i.a=0&&f!=t&&(c=new Ci(n,1,f,s,null),i?i.nj(c):i=c),t>=0&&(c=new Ci(n,1,t,f==t?s:null,e),i?i.nj(c):i=c)),i}function gUn(n){var e,t,i;if(n.b==null){if(i=new Hl,n.i!=null&&(Er(i,n.i),i.a+=":"),n.f&256){for(n.f&256&&n.a!=null&&(lge(n.i)||(i.a+="//"),Er(i,n.a)),n.d!=null&&(i.a+="/",Er(i,n.d)),n.f&16&&(i.a+="/"),e=0,t=n.j.length;eg?!1:(d=(h=q5(i,g,!1),h.a),a+f+d<=e.b&&(ck(t,c-t.s),t.c=!0,ck(i,c-t.s),_k(i,t.s,t.t+t.d+f),i.k=!0,KQ(t.q,i),p=!0,r&&(wT(e,i),i.j=e,n.c.length>s&&(Uk((Ln(s,n.c.length),u(n.c[s],186)),i),(Ln(s,n.c.length),u(n.c[s],186)).a.c.length==0&&Yl(n,s)))),p)}function nPe(n,e){var t,i,r,c,s,f;if(e.Ug("Partition midprocessing",1),r=new j0,qt(ut(new Tn(null,new In(n.a,16)),new Hgn),new f7n(r)),r.d!=0){for(f=u(Wr(sJ((c=r.i,new Tn(null,(c||(r.i=new Mg(r,r.c))).Nc()))),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),i=f.Kc(),t=u(i.Pb(),17);i.Ob();)s=u(i.Pb(),17),zMe(u(ot(r,t),21),u(ot(r,s),21)),t=s;e.Vg()}}function vUn(n,e,t){var i,r,c,s,f,h,l,a;if(e.p==0){for(e.p=1,s=t,s||(r=new Z,c=(i=u(of(lr),9),new _o(i,u(xs(i,i.length),9),0)),s=new bi(r,c)),u(s.a,15).Fc(e),e.k==(Vn(),Zt)&&u(s.b,21).Fc(u(v(e,(W(),gc)),64)),h=new C(e.j);h.a0){if(r=u(n.Ab.g,2033),e==null){for(c=0;ct.s&&fs)return en(),Zn;break;case 4:case 3:if(a<0)return en(),Xn;if(a+t>c)return en(),ae}return h=(l+f/2)/s,i=(a+t/2)/c,h+i<=1&&h-i<=0?(en(),Wn):h+i>=1&&h-i>=0?(en(),Zn):i<.5?(en(),Xn):(en(),ae)}function cPe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(t=!1,a=$(R(v(e,(cn(),bb)))),m=fa*a,r=new C(e.b);r.ah+m&&(k=d.g+g.g,g.a=(g.g*g.a+d.g*d.a)/k,g.g=k,d.f=g,t=!0)),c=f,d=g;return t}function EUn(n,e,t,i,r,c,s){var f,h,l,a,d,g;for(g=new mp,l=e.Kc();l.Ob();)for(f=u(l.Pb(),853),d=new C(f.Rf());d.a0?f.a?(l=f.b.Mf().b,r>l&&(n.v||f.c.d.c.length==1?(s=(r-l)/2,f.d.d=s,f.d.a=s):(t=u(sn(f.c.d,0),187).Mf().b,i=(t-l)/2,f.d.d=y.Math.max(0,i),f.d.a=r-i-l))):f.d.a=n.t+r:B6(n.u)&&(c=enn(f.b),c.d<0&&(f.d.d=-c.d),c.d+c.a>f.b.Mf().b&&(f.d.a=c.d+c.a-f.b.Mf().b))}function Us(){Us=F,k3=new Ni((He(),Wj),Y(1)),yP=new Ni(qd,80),tZn=new Ni(qan,5),zYn=new Ni(x2,Um),nZn=new Ni(sU,Y(1)),eZn=new Ni(fU,(_n(),!0)),gon=new o0(50),YYn=new Ni(C1,gon),don=Xj,pon=m9,XYn=new Ni(Yq,!1),won=Vj,JYn=Vw,QYn=Ta,WYn=Hd,VYn=K2,ZYn=Ww,bon=(lnn(),RYn),y_=qYn,kP=BYn,k_=KYn,mon=HYn,cZn=v9,uZn=cO,rZn=Jj,iZn=rO,von=(Gp(),Yw),new Ni($3,von)}function sPe(n,e){var t;switch(dk(n)){case 6:return Ai(e);case 7:return $b(e);case 8:return Nb(e);case 3:return Array.isArray(e)&&(t=dk(e),!(t>=14&&t<=16));case 11:return e!=null&&typeof e===eB;case 12:return e!=null&&(typeof e===my||typeof e==eB);case 0:return Tx(e,n.__elementTypeId$);case 2:return uN(e)&&e.Tm!==Q2;case 1:return uN(e)&&e.Tm!==Q2||Tx(e,n.__elementTypeId$);default:return!0}}function CUn(n,e){var t,i,r,c;return i=y.Math.min(y.Math.abs(n.c-(e.c+e.b)),y.Math.abs(n.c+n.b-e.c)),c=y.Math.min(y.Math.abs(n.d-(e.d+e.a)),y.Math.abs(n.d+n.a-e.d)),t=y.Math.abs(n.c+n.b/2-(e.c+e.b/2)),t>n.b/2+e.b/2||(r=y.Math.abs(n.d+n.a/2-(e.d+e.a/2)),r>n.a/2+e.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:y.Math.min(i/t,c/r)+1}function fPe(n,e){var t,i,r,c,s,f,h;for(c=0,f=0,h=0,r=new C(n.f.e);r.a0&&n.d!=(n5(),C_)&&(f+=s*(i.d.a+n.a[e.a][i.a]*(e.d.a-i.d.a)/t)),t>0&&n.d!=(n5(),j_)&&(h+=s*(i.d.b+n.a[e.a][i.a]*(e.d.b-i.d.b)/t)));switch(n.d.g){case 1:return new V(f/c,e.d.b);case 2:return new V(e.d.a,h/c);default:return new V(f/c,h/c)}}function MUn(n){var e,t,i,r,c,s;for(t=(!n.a&&(n.a=new ti(xo,n,5)),n.a).i+2,s=new Gc(t),nn(s,new V(n.j,n.k)),qt(new Tn(null,(!n.a&&(n.a=new ti(xo,n,5)),new In(n.a,16))),new $kn(s)),nn(s,new V(n.b,n.c)),e=1;e0&&(Mk(h,!1,(ci(),Br)),Mk(h,!0,Xr)),nu(e.g,new BCn(n,t)),Ve(n.g,e,t)}function SUn(){SUn=F;var n;for(pun=A(T(ye,1),_e,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),JK=K(ye,_e,28,37,15,1),gQn=A(T(ye,1),_e,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),mun=K(Fa,SB,28,37,14,1),n=2;n<=36;n++)JK[n]=wi(y.Math.pow(n,pun[n])),mun[n]=zk(jy,JK[n])}function hPe(n){var e;if((!n.a&&(n.a=new q(Mt,n,6,6)),n.a).i!=1)throw M(new Gn(tWn+(!n.a&&(n.a=new q(Mt,n,6,6)),n.a).i));return e=new Mu,Ek(u(L((!n.b&&(n.b=new Nn(he,n,4,7)),n.b),0),84))&&Bi(e,gzn(n,Ek(u(L((!n.b&&(n.b=new Nn(he,n,4,7)),n.b),0),84)),!1)),Ek(u(L((!n.c&&(n.c=new Nn(he,n,5,8)),n.c),0),84))&&Bi(e,gzn(n,Ek(u(L((!n.c&&(n.c=new Nn(he,n,5,8)),n.c),0),84)),!0)),e}function PUn(n,e){var t,i,r,c,s;for(e.d?r=n.a.c==(fh(),gb)?ji(e.b):Qt(e.b):r=n.a.c==(fh(),y1)?ji(e.b):Qt(e.b),c=!1,i=new ie(ce(r.a.Kc(),new En));pe(i);)if(t=u(fe(i),18),s=on(n.a.f[n.a.g[e.b.p].p]),!(!s&&!fr(t)&&t.c.i.c==t.d.i.c)&&!(on(n.a.n[n.a.g[e.b.p].p])||on(n.a.n[n.a.g[e.b.p].p]))&&(c=!0,sf(n.b,n.a.g[h7e(t,e.b).p])))return e.c=!0,e.a=t,e;return e.c=c,e.a=null,e}function Len(n,e,t){var i,r,c,s,f,h,l;if(i=t.gc(),i==0)return!1;if(n.Pj())if(h=n.Qj(),qY(n,e,t),s=i==1?n.Ij(3,null,t.Kc().Pb(),e,h):n.Ij(5,null,t,e,h),n.Mj()){for(f=i<100?null:new F1(i),c=e+i,r=e;r0){for(s=0;s>16==-15&&n.Cb.Yh()&&h$(new c$(n.Cb,9,13,t,n.c,f1(no(u(n.Cb,62)),n))):D(n.Cb,90)&&n.Db>>16==-23&&n.Cb.Yh()&&(e=n.c,D(e,90)||(e=(On(),Is)),D(t,90)||(t=(On(),Is)),h$(new c$(n.Cb,9,10,t,e,f1(Sc(u(n.Cb,29)),n)))))),n.c}function dPe(n,e,t){var i,r,c,s,f,h,l,a,d;for(t.Ug("Hyperedge merging",1),FCe(n,e),h=new xi(e.b,0);h.b0,f=HT(e,c),XX(t?f.b:f.g,e),xg(f).c.length==1&&xt(i,f,i.c.b,i.c),r=new bi(c,e),W1(n.o,r),du(n.e.a,c))}function xUn(n,e){var t,i,r,c,s,f,h;return i=y.Math.abs(wM(n.b).a-wM(e.b).a),f=y.Math.abs(wM(n.b).b-wM(e.b).b),r=0,h=0,t=1,s=1,i>n.b.b/2+e.b.b/2&&(r=y.Math.min(y.Math.abs(n.b.c-(e.b.c+e.b.b)),y.Math.abs(n.b.c+n.b.b-e.b.c)),t=1-r/i),f>n.b.a/2+e.b.a/2&&(h=y.Math.min(y.Math.abs(n.b.d-(e.b.d+e.b.a)),y.Math.abs(n.b.d+n.b.a-e.b.d)),s=1-h/f),c=y.Math.min(t,s),(1-c)*y.Math.sqrt(i*i+f*f)}function gPe(n){var e,t,i,r;for(JF(n,n.e,n.f,(E0(),Ca),!0,n.c,n.i),JF(n,n.e,n.f,Ca,!1,n.c,n.i),JF(n,n.e,n.f,I2,!0,n.c,n.i),JF(n,n.e,n.f,I2,!1,n.c,n.i),aPe(n,n.c,n.e,n.f,n.i),i=new xi(n.i,0);i.b=65;t--)nh[t]=t-65<<24>>24;for(i=122;i>=97;i--)nh[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)nh[r]=r-48+52<<24>>24;for(nh[43]=62,nh[47]=63,c=0;c<=25;c++)O1[c]=65+c&ui;for(s=26,h=0;s<=51;++s,h++)O1[s]=97+h&ui;for(n=52,f=0;n<=61;++n,f++)O1[n]=48+f&ui;O1[62]=43,O1[63]=47}function FUn(n,e){var t,i,r,c,s,f;return r=$Q(n),f=$Q(e),r==f?n.e==e.e&&n.a<54&&e.a<54?n.fe.f?1:0:(i=n.e-e.e,t=(n.d>0?n.d:y.Math.floor((n.a-1)*Uzn)+1)-(e.d>0?e.d:y.Math.floor((e.a-1)*Uzn)+1),t>i+1?r:t0&&(s=Ig(s,VUn(i))),zBn(c,s))):rl&&(g=0,p+=h+e,h=0),Am(s,g,p),t=y.Math.max(t,g+a.a),h=y.Math.max(h,a.b),g+=a.a+e;return new V(t+e,p+h+e)}function Fen(n,e){var t,i,r,c,s,f,h;if(!Sf(n))throw M(new Or(eWn));if(i=Sf(n),c=i.g,r=i.f,c<=0&&r<=0)return en(),sc;switch(f=n.i,h=n.j,e.g){case 2:case 1:if(f<0)return en(),Wn;if(f+n.g>c)return en(),Zn;break;case 4:case 3:if(h<0)return en(),Xn;if(h+n.f>r)return en(),ae}return s=(f+n.g/2)/c,t=(h+n.f/2)/r,s+t<=1&&s-t<=0?(en(),Wn):s+t>=1&&s-t>=0?(en(),Zn):t<.5?(en(),Xn):(en(),ae)}function vPe(n,e,t,i,r){var c,s;if(c=nr(vi(e[0],mr),vi(i[0],mr)),n[0]=Ae(c),c=d0(c,32),t>=r){for(s=1;s0&&(r.b[s++]=0,r.b[s++]=c.b[0]-1),e=1;e0&&(JO(h,h.d-r.d),r.c==(af(),Ea)&&ife(h,h.a-r.d),h.d<=0&&h.i>0&&xt(e,h,e.c.b,e.c)));for(c=new C(n.f);c.a0&&(AE(f,f.i-r.d),r.c==(af(),Ea)&&rfe(f,f.b-r.d),f.i<=0&&f.d>0&&xt(t,f,t.c.b,t.c)))}function jPe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p;for(Dn(),Yt(n,new Wmn),s=$7(n),p=new Z,g=new Z,f=null,h=0;s.b!=0;)c=u(s.b==0?null:(oe(s.b!=0),Xo(s,s.a.a)),163),!f||Su(f)*ao(f)/21&&(h>Su(f)*ao(f)/2||s.b==0)&&(d=new hT(g),a=Su(f)/ao(f),l=QF(d,e,new up,t,i,r,a),tt(ff(d.e),l),f=d,Rn(p.c,d),h=0,g.c.length=0));return hi(p,g),p}function Ic(n,e,t,i,r){fl();var c,s,f,h,l,a,d;if(SW(n,"src"),SW(t,"dest"),d=wo(n),h=wo(t),XV((d.i&4)!=0,"srcType is not an array"),XV((h.i&4)!=0,"destType is not an array"),a=d.c,s=h.c,XV(a.i&1?a==s:(s.i&1)==0,"Array types don't match"),s6e(n,e,t,i,r),!(a.i&1)&&d!=h)if(l=cd(n),c=cd(t),x(n)===x(t)&&ei;)$t(c,f,l[--e]);else for(f=i+r;i0),i.a.Xb(i.c=--i.b),d>g+h&&bo(i);for(s=new C(p);s.a0),i.a.Xb(i.c=--i.b)}}function CPe(){nt();var n,e,t,i,r,c;if(IU)return IU;for(n=new yo(4),gw(n,sa(FK,!0)),z5(n,sa("M",!0)),z5(n,sa("C",!0)),c=new yo(4),i=0;i<11;i++)xc(c,i,i);return e=new yo(4),gw(e,sa("M",!0)),xc(e,4448,4607),xc(e,65438,65439),r=new T6(2),pd(r,n),pd(r,R9),t=new T6(2),t.Jm(cM(c,sa("L",!0))),t.Jm(e),t=new Xb(3,t),t=new AW(r,t),IU=t,IU}function ww(n,e){var t,i,r,c,s,f,h,l;for(t=new RegExp(e,"g"),h=K(fn,J,2,0,6,1),i=0,l=n,c=null;;)if(f=t.exec(l),f==null||l==""){h[i]=l;break}else s=f.index,h[i]=(Fi(0,s,l.length),l.substr(0,s)),l=qo(l,s+f[0].length,l.length),t.lastIndex=0,c==l&&(h[i]=(Fi(0,1,l.length),l.substr(0,1)),l=(zn(1,l.length+1),l.substr(1))),c=l,++i;if(n.length>0){for(r=h.length;r>0&&h[r-1]=="";)--r;r0&&(d-=i[0]+n.c,i[0]+=n.c),i[2]>0&&(d-=i[2]+n.c),i[1]=y.Math.max(i[1],d),fM(n.a[1],t.c+e.b+i[0]-(i[1]-d)/2,i[1]);for(c=n.a,f=0,l=c.length;f0?(n.n.c.length-1)*n.i:0,i=new C(n.n);i.a1)for(i=ge(r,0);i.b!=i.d.c;)for(t=u(be(i),235),c=0,h=new C(t.e);h.a0&&(e[0]+=n.c,d-=e[0]),e[2]>0&&(d-=e[2]+n.c),e[1]=y.Math.max(e[1],d),hM(n.a[1],i.d+t.d+e[0]-(e[1]-d)/2,e[1]);else for(m=i.d+t.d,p=i.a-t.d-t.a,s=n.a,h=0,a=s.length;h0||N0(r.b.d,n.b.d+n.b.a)==0&&i.b<0||N0(r.b.d+r.b.a,n.b.d)==0&&i.b>0){f=0;break}}else f=y.Math.min(f,x_n(n,r,i));f=y.Math.min(f,_Un(n,c,f,i))}return f}function ay(n,e){var t,i,r,c,s,f,h;if(n.b<2)throw M(new Gn("The vector chain must contain at least a source and a target point."));for(r=(oe(n.b!=0),u(n.a.a.c,8)),j7(e,r.a,r.b),h=new kp((!e.a&&(e.a=new ti(xo,e,5)),e.a)),s=ge(n,1);s.a=0&&c!=t))throw M(new Gn(Xy));for(r=0,h=0;h$(Af(s.g,s.d[0]).a)?(oe(h.b>0),h.a.Xb(h.c=--h.b),Rb(h,s),r=!0):f.e&&f.e.gc()>0&&(c=(!f.e&&(f.e=new Z),f.e).Mc(e),l=(!f.e&&(f.e=new Z),f.e).Mc(t),(c||l)&&((!f.e&&(f.e=new Z),f.e).Fc(s),++s.c));r||Rn(i.c,s)}function OPe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S;return d=n.a.i+n.a.g/2,g=n.a.i+n.a.g/2,m=e.i+e.g/2,j=e.j+e.f/2,f=new V(m,j),l=u(z(e,(He(),L3)),8),l.a=l.a+d,l.b=l.b+g,c=(f.b-l.b)/(f.a-l.a),i=f.b-c*f.a,k=t.i+t.g/2,S=t.j+t.f/2,h=new V(k,S),a=u(z(t,L3),8),a.a=a.a+d,a.b=a.b+g,s=(h.b-a.b)/(h.a-a.a),r=h.b-s*h.a,p=(i-r)/(s-c),l.a>>0,"0"+e.toString(16)),i="\\x"+qo(t,t.length-2,t.length)):n>=hr?(t=(e=n>>>0,"0"+e.toString(16)),i="\\v"+qo(t,t.length-6,t.length)):i=""+String.fromCharCode(n&ui)}return i}function GUn(n){var e,t,i;if(mg(u(v(n,(cn(),Kt)),101)))for(t=new C(n.j);t.a=e.o&&t.f<=e.f||e.a*.5<=t.f&&e.a*1.5>=t.f){if(s=u(sn(e.n,e.n.c.length-1),209),s.e+s.d+t.g+r<=i&&(c=u(sn(e.n,e.n.c.length-1),209),c.f-n.f+t.f<=n.b||n.a.c.length==1))return $Y(e,t),!0;if(e.s+t.g<=i&&(e.t+e.d+t.f+r<=n.b||n.a.c.length==1))return nn(e.b,t),f=u(sn(e.n,e.n.c.length-1),209),nn(e.n,new NM(e.s,f.f+f.a+e.i,e.i)),wZ(u(sn(e.n,e.n.c.length-1),209),t),RUn(e,t),!0}return!1}function XUn(n,e,t){var i,r,c,s;return n.Pj()?(r=null,c=n.Qj(),i=n.Ij(1,s=d$(n,e,t),t,e,c),n.Mj()&&!(n.Yi()&&s!=null?rt(s,t):x(s)===x(t))?(s!=null&&(r=n.Oj(s,r)),r=n.Nj(t,r),n.Tj()&&(r=n.Wj(s,t,r)),r?(r.nj(i),r.oj()):n.Jj(i)):(n.Tj()&&(r=n.Wj(s,t,r)),r?(r.nj(i),r.oj()):n.Jj(i)),s):(s=d$(n,e,t),n.Mj()&&!(n.Yi()&&s!=null?rt(s,t):x(s)===x(t))&&(r=null,s!=null&&(r=n.Oj(s,null)),r=n.Nj(t,r),r&&r.oj()),s)}function BPe(n,e){var t,i,r,c,s;if(e.Ug("Path-Like Graph Wrapping",1),n.b.c.length==0){e.Vg();return}if(r=new Unn(n),s=(r.i==null&&(r.i=xQ(r,new XU)),$(r.i)*r.f),t=s/(r.i==null&&(r.i=xQ(r,new XU)),$(r.i)),r.b>t){e.Vg();return}switch(u(v(n,(cn(),LH)),351).g){case 2:c=new WU;break;case 0:c=new zU;break;default:c=new JU}if(i=c.og(n,r),!c.pg())switch(u(v(n,jI),352).g){case 2:i=F_n(r,i);break;case 1:i=AKn(r,i)}NIe(n,r,i),e.Vg()}function K5(n,e){var t,i,r,c,s,f,h,l;e%=24,n.q.getHours()!=e&&(i=new y.Date(n.q.getTime()),i.setDate(i.getDate()+1),f=n.q.getTimezoneOffset()-i.getTimezoneOffset(),f>0&&(h=f/60|0,l=f%60,r=n.q.getDate(),t=n.q.getHours(),t+h>=24&&++r,c=new y.Date(n.q.getFullYear(),n.q.getMonth(),r,e+h,n.q.getMinutes()+l,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),s=n.q.getTime(),n.q.setTime(s+36e5),n.q.getHours()!=e&&n.q.setTime(s)}function RPe(n,e){var t,i,r,c;if(Y2e(n.d,n.e),n.c.a.$b(),$(R(v(e.j,(cn(),hI))))!=0||$(R(v(e.j,hI)))!=0)for(t=i2,x(v(e.j,Yh))!==x((lh(),k1))&&U(e.j,(W(),ka),(_n(),!0)),c=u(v(e.j,z8),17).a,r=0;rr&&++l,nn(s,(Ln(f+l,e.c.length),u(e.c[f+l],17))),h+=(Ln(f+l,e.c.length),u(e.c[f+l],17)).a-i,++t;t=j&&n.e[h.p]>m*n.b||O>=t*j)&&(Rn(g.c,f),f=new Z,Bi(s,c),c.a.$b(),l-=a,p=y.Math.max(p,l*n.b+k),l+=O,I=O,O=0,a=0,k=0);return new bi(p,g)}function $F(n){var e,t,i,r,c,s,f;if(!n.d){if(f=new yvn,e=L9,c=e.a.zc(n,e),c==null){for(i=new ne(Hr(n));i.e!=i.i.gc();)t=u(ue(i),29),Bt(f,$F(t));e.a.Bc(n)!=null,e.a.gc()==0}for(s=f.i,r=(!n.q&&(n.q=new q(Ss,n,11,10)),new ne(n.q));r.e!=r.i.gc();++s)u(ue(r),411);Bt(f,(!n.q&&(n.q=new q(Ss,n,11,10)),n.q)),ew(f),n.d=new pg((u(L(H((G1(),Hn).o),9),19),f.i),f.g),n.e=u(f.g,688),n.e==null&&(n.e=Joe),Zu(n).b&=-17}return n.d}function Im(n,e,t,i){var r,c,s,f,h,l;if(l=ru(n.e.Dh(),e),h=0,r=u(n.g,124),dr(),u(e,69).xk()){for(s=0;s1||m==-1)if(d=u(k,71),g=u(a,71),d.dc())g.$b();else for(s=!!br(e),c=0,f=n.a?d.Kc():d.Ii();f.Ob();)l=u(f.Pb(),58),r=u(Nf(n,l),58),r?(s?(h=g.dd(r),h==-1?g.Gi(c,r):c!=h&&g.Ui(c,r)):g.Gi(c,r),++c):n.b&&!s&&(g.Gi(c,l),++c);else k==null?a.Wb(null):(r=Nf(n,k),r==null?n.b&&!br(e)&&a.Wb(k):a.Wb(r))}function UPe(n,e){var t,i,r,c,s,f,h,l;for(t=new ugn,r=new ie(ce(ji(e).a.Kc(),new En));pe(r);)if(i=u(fe(r),18),!fr(i)&&(f=i.c.i,QZ(f,MP))){if(l=wen(n,f,MP,CP),l==-1)continue;t.b=y.Math.max(t.b,l),!t.a&&(t.a=new Z),nn(t.a,f)}for(s=new ie(ce(Qt(e).a.Kc(),new En));pe(s);)if(c=u(fe(s),18),!fr(c)&&(h=c.d.i,QZ(h,CP))){if(l=wen(n,h,CP,MP),l==-1)continue;t.d=y.Math.max(t.d,l),!t.c&&(t.c=new Z),nn(t.c,h)}return t}function GPe(n,e,t,i){var r,c,s,f,h,l,a;if(t.d.i!=e.i){for(r=new Tl(n),Ha(r,(Vn(),Mi)),U(r,(W(),st),t),U(r,(cn(),Kt),(Oi(),qc)),Rn(i.c,r),s=new Pc,ic(s,r),gi(s,(en(),Wn)),f=new Pc,ic(f,r),gi(f,Zn),a=t.d,Ii(t,s),c=new y0,Ur(c,t),U(c,Fr,null),Zi(c,f),Ii(c,a),l=new xi(t.b,0);l.b1e6)throw M(new KE("power of ten too big"));if(n<=et)return Fp(iy(m3[1],e),e);for(i=iy(m3[1],et),r=i,t=vc(n-et),e=wi(n%et);Ec(t,et)>0;)r=Ig(r,i),t=bs(t,et);for(r=Ig(r,iy(m3[1],e)),r=Fp(r,et),t=vc(n-et);Ec(t,et)>0;)r=Fp(r,et),t=bs(t,et);return r=Fp(r,e),r}function WUn(n){var e,t,i,r,c,s,f,h,l,a;for(h=new C(n.a);h.al&&i>l)a=f,l=$(e.p[f.p])+$(e.d[f.p])+f.o.b+f.d.a;else{r=!1,t._g()&&t.bh("bk node placement breaks on "+f+" which should have been after "+a);break}if(!r)break}return t._g()&&t.bh(e+" is feasible: "+r),r}function _en(n,e,t,i){var r,c,s,f,h,l,a,d,g;if(c=new Tl(n),Ha(c,(Vn(),_c)),U(c,(cn(),Kt),(Oi(),qc)),r=0,e){for(s=new Pc,U(s,(W(),st),e),U(c,st,e.i),gi(s,(en(),Wn)),ic(s,c),g=hh(e.e),l=g,a=0,d=l.length;a0){if(r<0&&a.a&&(r=h,c=l[0],i=0),r>=0){if(f=a.b,h==r&&(f-=i++,f==0))return 0;if(!ZGn(e,l,a,f,s)){h=r-1,l[0]=c;continue}}else if(r=-1,!ZGn(e,l,a,0,s))return 0}else{if(r=-1,Xi(a.c,0)==32){if(d=l[0],ZNn(e,l),l[0]>d)continue}else if(Lge(e,a.c,l[0])){l[0]+=a.c.length;continue}return 0}return $De(s,t)?l[0]:0}function QPe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(a=new aM(new F9n(t)),f=K(so,Xh,28,n.f.e.c.length,16,1),MW(f,f.length),t[e.a]=0,l=new C(n.f.e);l.a=0&&!Kg(n,a,d);)--d;r[a]=d}for(p=0;p=0&&!Kg(n,f,m);)--f;c[m]=f}for(h=0;he[g]&&gi[h]&&xA(n,h,g,!1,!0)}function Hen(n){var e,t,i,r,c,s,f,h;t=on(un(v(n,(Us(),XYn)))),c=n.a.c.d,f=n.a.d.d,t?(s=ch(mi(new V(f.a,f.b),c),.5),h=ch(Ki(n.e),.5),e=mi(tt(new V(c.a,c.b),s),h),YX(n.d,e)):(r=$(R(v(n.a,tZn))),i=n.d,c.a>=f.a?c.b>=f.b?(i.a=f.a+(c.a-f.a)/2+r,i.b=f.b+(c.b-f.b)/2-r-n.e.b):(i.a=f.a+(c.a-f.a)/2+r,i.b=c.b+(f.b-c.b)/2+r):c.b>=f.b?(i.a=c.a+(f.a-c.a)/2+r,i.b=f.b+(c.b-f.b)/2+r):(i.a=c.a+(f.a-c.a)/2+r,i.b=c.b+(f.b-c.b)/2-r-n.e.b))}function H5(n){var e,t,i,r,c,s,f,h;if(!n.f){if(h=new tG,f=new tG,e=L9,s=e.a.zc(n,e),s==null){for(c=new ne(Hr(n));c.e!=c.i.gc();)r=u(ue(c),29),Bt(h,H5(r));e.a.Bc(n)!=null,e.a.gc()==0}for(i=(!n.s&&(n.s=new q(ku,n,21,17)),new ne(n.s));i.e!=i.i.gc();)t=u(ue(i),179),D(t,102)&&ve(f,u(t,19));ew(f),n.r=new KSn(n,(u(L(H((G1(),Hn).o),6),19),f.i),f.g),Bt(h,n.r),ew(h),n.f=new pg((u(L(H(Hn.o),5),19),h.i),h.g),Zu(n).b&=-3}return n.f}function QUn(n){i0(n,new gd(n0(Qd(Zd(Yd(new Ka,jd),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new Fbn))),Q(n,jd,WB,rn(hon)),Q(n,jd,JB,rn(g_)),Q(n,jd,l3,rn(DYn)),Q(n,jd,X0,rn(fon)),Q(n,jd,Itn,rn(xYn)),Q(n,jd,Otn,rn($Yn)),Q(n,jd,Ptn,rn(FYn)),Q(n,jd,Dtn,rn(NYn)),Q(n,jd,Rtn,rn(LYn)),Q(n,jd,Ktn,rn(w_)),Q(n,jd,_tn,rn(son)),Q(n,jd,Htn,rn(pP))}function KA(){KA=F,Odn=A(T(fs,1),gh,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Toe=new RegExp(`[ +\r\f]+`);try{I9=A(T(LNe,1),Fn,2114,0,[new X9((vX(),zT("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",I7((RE(),RE(),C8))))),new X9(zT("yyyy-MM-dd'T'HH:mm:ss'.'SSS",I7(C8))),new X9(zT("yyyy-MM-dd'T'HH:mm:ss",I7(C8))),new X9(zT("yyyy-MM-dd'T'HH:mm",I7(C8))),new X9(zT("yyyy-MM-dd",I7(C8)))])}catch(n){if(n=It(n),!D(n,82))throw M(n)}}function ZPe(n,e){var t,i,r,c;if(r=to(n.d,1)!=0,i=jen(n,e),i==0&&on(un(v(e.j,(W(),ka)))))return 0;!on(un(v(e.j,(W(),ka))))&&!on(un(v(e.j,j2)))||x(v(e.j,(cn(),Yh)))===x((lh(),k1))?e.c.mg(e.e,r):r=on(un(v(e.j,ka))),oy(n,e,r,!0),on(un(v(e.j,j2)))&&U(e.j,j2,(_n(),!1)),on(un(v(e.j,ka)))&&(U(e.j,ka,(_n(),!1)),U(e.j,j2,!0)),t=jen(n,e);do{if(NQ(n),t==0)return 0;r=!r,c=t,oy(n,e,r,!1),t=jen(n,e)}while(c>t);return c}function YUn(n,e){var t,i,r,c;if(r=to(n.d,1)!=0,i=kA(n,e),i==0&&on(un(v(e.j,(W(),ka)))))return 0;!on(un(v(e.j,(W(),ka))))&&!on(un(v(e.j,j2)))||x(v(e.j,(cn(),Yh)))===x((lh(),k1))?e.c.mg(e.e,r):r=on(un(v(e.j,ka))),oy(n,e,r,!0),on(un(v(e.j,j2)))&&U(e.j,j2,(_n(),!1)),on(un(v(e.j,ka)))&&(U(e.j,ka,(_n(),!1)),U(e.j,j2,!0)),t=kA(n,e);do{if(NQ(n),t==0)return 0;r=!r,c=t,oy(n,e,r,!1),t=kA(n,e)}while(c>t);return c}function qen(n,e,t,i){var r,c,s,f,h,l,a,d,g;return h=mi(new V(t.a,t.b),n),l=h.a*e.b-h.b*e.a,a=e.a*i.b-e.b*i.a,d=(h.a*i.b-h.b*i.a)/a,g=l/a,a==0?l==0?(r=tt(new V(t.a,t.b),ch(new V(i.a,i.b),.5)),c=J1(n,r),s=J1(tt(new V(n.a,n.b),e),r),f=y.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c=0&&d<=1&&g>=0&&g<=1?tt(new V(n.a,n.b),ch(new V(e.a,e.b),d)):null}function nIe(n,e,t){var i,r,c,s,f;if(i=u(v(n,(cn(),kH)),21),t.a>e.a&&(i.Hc((wd(),b9))?n.c.a+=(t.a-e.a)/2:i.Hc(w9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((wd(),p9))?n.c.b+=(t.b-e.b)/2:i.Hc(g9)&&(n.c.b+=t.b-e.b)),u(v(n,(W(),Hc)),21).Hc((pr(),cs))&&(t.a>e.a||t.b>e.b))for(f=new C(n.a);f.ae.a&&(i.Hc((wd(),b9))?n.c.a+=(t.a-e.a)/2:i.Hc(w9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((wd(),p9))?n.c.b+=(t.b-e.b)/2:i.Hc(g9)&&(n.c.b+=t.b-e.b)),u(v(n,(W(),Hc)),21).Hc((pr(),cs))&&(t.a>e.a||t.b>e.b))for(s=new C(n.a);s.a0?n.i:0)>e&&h>0&&(c=0,s+=h+n.i,r=y.Math.max(r,g),i+=h+n.i,h=0,g=0,t&&(++d,nn(n.n,new NM(n.s,s,n.i))),f=0),g+=l.g+(f>0?n.i:0),h=y.Math.max(h,l.f),t&&wZ(u(sn(n.n,d),209),l),c+=l.g+(f>0?n.i:0),++f;return r=y.Math.max(r,g),i+=h,t&&(n.r=r,n.d=i,vZ(n.j)),new Ho(n.s,n.t,r,i)}function xF(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(n.b=!1,d=St,h=li,g=St,l=li,i=n.e.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),272),r=t.a,d=y.Math.min(d,r.c),h=y.Math.max(h,r.c+r.b),g=y.Math.min(g,r.d),l=y.Math.max(l,r.d+r.a),s=new C(t.c);s.an.o.a&&(a=(h-n.o.a)/2,f.b=y.Math.max(f.b,a),f.c=y.Math.max(f.c,a))}}function rIe(n){var e,t,i,r,c,s,f,h;for(c=new zOn,$le(c,(qp(),due)),i=(r=S$(n,K(fn,J,2,0,6,1)),new Gv(new Ku(new SD(n,r).b)));i.bf?1:-1:fY(n.a,e.a,c),r==-1)d=-h,a=s==h?ZN(e.a,f,n.a,c):e$(e.a,f,n.a,c);else if(d=s,s==h){if(r==0)return dh(),T8;a=ZN(n.a,c,e.a,f)}else a=e$(n.a,c,e.a,f);return l=new Ya(d,a.length,a),V6(l),l}function cIe(n,e){var t,i,r,c;if(c=$Un(e),!e.c&&(e.c=new q(Qu,e,9,9)),qt(new Tn(null,(!e.c&&(e.c=new q(Qu,e,9,9)),new In(e.c,16))),new _9n(c)),r=u(v(c,(W(),Hc)),21),QOe(e,r),r.Hc((pr(),cs)))for(i=new ne((!e.c&&(e.c=new q(Qu,e,9,9)),e.c));i.e!=i.i.gc();)t=u(ue(i),123),TDe(n,e,c,t);return u(z(e,(cn(),xd)),181).gc()!=0&&Aqn(e,c),on(un(v(c,hhn)))&&r.Fc(eI),kt(c,Cj)&&$jn(new zY($(R(v(c,Cj)))),c),x(z(e,Bw))===x((jl(),M1))?JLe(n,e,c):NLe(n,e,c),c}function uIe(n){var e,t,i,r,c,s,f,h;for(r=new C(n.b);r.a0?qo(t.a,0,c-1):""):(Fi(0,c-1,n.length),n.substr(0,c-1)):t?t.a:n}function oIe(n,e){var t,i,r,c,s,f,h;for(e.Ug("Sort By Input Model "+v(n,(cn(),Yh)),1),r=0,i=new C(n.b);i.a=n.b.length?(c[r++]=s.b[i++],c[r++]=s.b[i++]):i>=s.b.length?(c[r++]=n.b[t++],c[r++]=n.b[t++]):s.b[i]0?n.i:0)),++e;for(PY(n.n,h),n.d=t,n.r=i,n.g=0,n.f=0,n.e=0,n.o=St,n.p=St,c=new C(n.b);c.a0&&(r=(!n.n&&(n.n=new q(Ar,n,1,7)),u(L(n.n,0),135)).a,!r||Re(Re((e.a+=' "',e),r),'"'))),t=(!n.b&&(n.b=new Nn(he,n,4,7)),!(n.b.i<=1&&(!n.c&&(n.c=new Nn(he,n,5,8)),n.c.i<=1))),t?e.a+=" [":e.a+=" ",Re(e,BX(new yD,new ne(n.b))),t&&(e.a+="]"),e.a+=iR,t&&(e.a+="["),Re(e,BX(new yD,new ne(n.c))),t&&(e.a+="]"),e.a)}function fIe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn;for(_=n.c,X=e.c,t=qr(_.a,n,0),i=qr(X.a,e,0),O=u($0(n,(gr(),Vu)).Kc().Pb(),12),kn=u($0(n,Jc).Kc().Pb(),12),N=u($0(e,Vu).Kc().Pb(),12),Kn=u($0(e,Jc).Kc().Pb(),12),S=hh(O.e),tn=hh(kn.g),I=hh(N.e),jn=hh(Kn.g),uw(n,i,X),s=I,a=0,m=s.length;aa?new ed((af(),zw),t,e,l-a):l>0&&a>0&&(new ed((af(),zw),e,t,0),new ed(zw,t,e,0))),s)}function aIe(n,e,t){var i,r,c;for(n.a=new Z,c=ge(e.b,0);c.b!=c.d.c;){for(r=u(be(c),39);u(v(r,(lc(),Sh)),17).a>n.a.c.length-1;)nn(n.a,new bi(i2,Mrn));i=u(v(r,Sh),17).a,t==(ci(),Br)||t==Xr?(r.e.a<$(R(u(sn(n.a,i),42).a))&&QO(u(sn(n.a,i),42),r.e.a),r.e.a+r.f.a>$(R(u(sn(n.a,i),42).b))&&YO(u(sn(n.a,i),42),r.e.a+r.f.a)):(r.e.b<$(R(u(sn(n.a,i),42).a))&&QO(u(sn(n.a,i),42),r.e.b),r.e.b+r.f.b>$(R(u(sn(n.a,i),42).b))&&YO(u(sn(n.a,i),42),r.e.b+r.f.b))}}function eGn(n,e,t,i){var r,c,s,f,h,l,a;if(c=KT(i),f=on(un(v(i,(cn(),rhn)))),(f||on(un(v(n,wI))))&&!mg(u(v(n,Kt),101)))r=zp(c),h=Den(n,t,t==(gr(),Jc)?r:$k(r));else switch(h=new Pc,ic(h,n),e?(a=h.n,a.a=e.a-n.n.a,a.b=e.b-n.n.b,u_n(a,0,0,n.o.a,n.o.b),gi(h,jUn(h,c))):(r=zp(c),gi(h,t==(gr(),Jc)?r:$k(r))),s=u(v(i,(W(),Hc)),21),l=h.j,c.g){case 2:case 1:(l==(en(),Xn)||l==ae)&&s.Fc((pr(),v2));break;case 4:case 3:(l==(en(),Zn)||l==Wn)&&s.Fc((pr(),v2))}return h}function tGn(n,e){var t,i,r,c,s,f;for(s=new sd(new Ua(n.f.b).a);s.b;){if(c=O0(s),r=u(c.ld(),602),e==1){if(r.Af()!=(ci(),us)&&r.Af()!=Wf)continue}else if(r.Af()!=(ci(),Br)&&r.Af()!=Xr)continue;switch(i=u(u(c.md(),42).b,86),f=u(u(c.md(),42).a,194),t=f.c,r.Af().g){case 2:i.g.c=n.e.a,i.g.b=y.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=y.Math.max(1,i.g.b-t);break;case 4:i.g.d=n.e.b,i.g.a=y.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=y.Math.max(1,i.g.a-t)}}}function dIe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(f=K(ye,_e,28,e.b.c.length,15,1),l=K(D_,G,273,e.b.c.length,0,1),h=K(Qh,b1,10,e.b.c.length,0,1),d=n.a,g=0,p=d.length;g0&&h[i]&&(m=jg(n.b,h[i],r)),k=y.Math.max(k,r.c.c.b+m);for(c=new C(a.e);c.a1)throw M(new Gn(Yy));h||(c=Fh(e,i.Kc().Pb()),s.Fc(c))}return WQ(n,gnn(n,e,t),s)}function HA(n,e,t){var i,r,c,s,f,h,l,a;if(Sl(n.e,e))h=(dr(),u(e,69).xk()?new nM(e,n):new k7(e,n)),jA(h.c,h.b),A6(h,u(t,16));else{for(a=ru(n.e.Dh(),e),i=u(n.g,124),s=0;s"}h!=null&&(e.a+=""+h)}else n.e?(f=n.e.zb,f!=null&&(e.a+=""+f)):(e.a+="?",n.b?(e.a+=" super ",_F(n.b,e)):n.f&&(e.a+=" extends ",_F(n.f,e)))}function vIe(n){n.b=null,n.a=null,n.o=null,n.q=null,n.v=null,n.w=null,n.B=null,n.p=null,n.Q=null,n.R=null,n.S=null,n.T=null,n.U=null,n.V=null,n.W=null,n.bb=null,n.eb=null,n.ab=null,n.H=null,n.db=null,n.c=null,n.d=null,n.f=null,n.n=null,n.r=null,n.s=null,n.u=null,n.G=null,n.J=null,n.e=null,n.j=null,n.i=null,n.g=null,n.k=null,n.t=null,n.F=null,n.I=null,n.L=null,n.M=null,n.O=null,n.P=null,n.$=null,n.N=null,n.Z=null,n.cb=null,n.K=null,n.D=null,n.A=null,n.C=null,n._=null,n.fb=null,n.X=null,n.Y=null,n.gb=!1,n.hb=!1}function kIe(n){var e,t,i,r;if(i=ZF((!n.c&&(n.c=W7(vc(n.f))),n.c),0),n.e==0||n.a==0&&n.f!=-1&&n.e<0)return i;if(e=$Q(n)<0?1:0,t=n.e,r=(i.length+1+y.Math.abs(wi(n.e)),new fg),e==1&&(r.a+="-"),n.e>0)if(t-=i.length-e,t>=0){for(r.a+="0.";t>Id.length;t-=Id.length)JSn(r,Id);NAn(r,Id,wi(t)),Re(r,(zn(e,i.length+1),i.substr(e)))}else t=e-t,Re(r,qo(i,e,wi(t))),r.a+=".",Re(r,NW(i,wi(t)));else{for(Re(r,(zn(e,i.length+1),i.substr(e)));t<-Id.length;t+=Id.length)JSn(r,Id);NAn(r,Id,wi(-t))}return r.a}function HF(n){var e,t,i,r,c,s,f,h,l;return!(n.k!=(Vn(),zt)||n.j.c.length<=1||(c=u(v(n,(cn(),Kt)),101),c==(Oi(),qc))||(r=(cw(),(n.q?n.q:(Dn(),Dn(),Wh))._b(lb)?i=u(v(n,lb),203):i=u(v(Hi(n),U8),203),i),r==TI)||!(r==P2||r==S2)&&(s=$(R(rw(n,G8))),e=u(v(n,Tj),140),!e&&(e=new pV(s,s,s,s)),l=uc(n,(en(),Wn)),h=e.d+e.a+(l.gc()-1)*s,h>n.o.b||(t=uc(n,Zn),f=e.d+e.a+(t.gc()-1)*s,f>n.o.b)))}function yIe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;e.Ug("Orthogonal edge routing",1),l=$(R(v(n,(cn(),A2)))),t=$(R(v(n,M2))),i=$(R(v(n,Bd))),g=new lN(0,t),j=0,s=new xi(n.b,0),f=null,a=null,h=null,d=null;do a=s.b0?(p=(m-1)*t,f&&(p+=i),a&&(p+=i),pe||on(un(z(h,(Rf(),Rj)))))&&(r=0,c+=a.b+t,Rn(d.c,a),a=new aJ(c,t),i=new U$(0,a.f,a,t),wT(a,i),r=0),i.b.c.length==0||!on(un(z(At(h),(Rf(),Dq))))&&(h.f>=i.o&&h.f<=i.f||i.a*.5<=h.f&&i.a*1.5>=h.f)?$Y(i,h):(s=new U$(i.s+i.r+t,a.f,a,t),wT(a,s),$Y(s,h)),r=h.i+h.g;return Rn(d.c,a),d}function U5(n){var e,t,i,r;if(!(n.b==null||n.b.length<=2)&&!n.a){for(e=0,r=0;r=n.b[r+1])r+=2;else if(t0)for(i=new _u(u(ot(n.a,c),21)),Dn(),Yt(i,new DG(e)),r=new xi(c.b,0);r.b0&&i>=-6?i>=0?E7(c,t-wi(n.e),"."):(L$(c,e-1,e-1,"0."),E7(c,e+1,ws(Id,0,-wi(i)-1))):(t-e>=1&&(E7(c,e,"."),++t),E7(c,t,"E"),i>0&&E7(c,++t,"+"),E7(c,++t,""+R6(vc(i)))),n.g=c.a,n.g))}function OIe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn;i=$(R(v(e,(cn(),ohn)))),_=u(v(e,z8),17).a,g=4,r=3,X=20/_,p=!1,h=0,s=et;do{for(c=h!=1,d=h!=0,tn=0,j=n.a,I=0,N=j.length;I_)?(h=2,s=et):h==0?(h=1,s=tn):(h=0,s=tn)):(p=tn>=s||s-tn0?1:u0(isNaN(i),isNaN(0)))>=0^(Ks(jh),(y.Math.abs(f)<=jh||f==0||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:u0(isNaN(f),isNaN(0)))>=0)?y.Math.max(f,i):(Ks(jh),(y.Math.abs(i)<=jh||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:u0(isNaN(i),isNaN(0)))>0?y.Math.sqrt(f*f+i*i):-y.Math.sqrt(f*f+i*i))}function pd(n,e){var t,i,r,c,s,f;if(e){if(!n.a&&(n.a=new FE),n.e==2){xE(n.a,e);return}if(e.e==1){for(r=0;r=hr?Er(t,NY(i)):M4(t,i&ui),s=new IN(10,null,0),wwe(n.a,s,f-1)):(t=(s.Mm().length+c,new e6),Er(t,s.Mm())),e.e==0?(i=e.Km(),i>=hr?Er(t,NY(i)):M4(t,i&ui)):Er(t,e.Mm()),u(s,530).b=t.a}}function NIe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(!t.dc()){for(f=0,g=0,i=t.Kc(),m=u(i.Pb(),17).a;f1&&(h=l.Hg(h,n.a,f));return h.c.length==1?u(sn(h,h.c.length-1),238):h.c.length==2?EIe((Ln(0,h.c.length),u(h.c[0],238)),(Ln(1,h.c.length),u(h.c[1],238)),s,c):null}function BIe(n,e,t){var i,r,c,s,f,h,l;for(t.Ug("Find roots",1),n.a.c.length=0,r=ge(e.b,0);r.b!=r.d.c;)i=u(be(r),39),i.b.b==0&&(U(i,(pt(),Ma),(_n(),!0)),nn(n.a,i));switch(n.a.c.length){case 0:c=new q$(0,e,"DUMMY_ROOT"),U(c,(pt(),Ma),(_n(),!0)),U(c,tq,!0),Fe(e.b,c);break;case 1:break;default:for(s=new q$(0,e,IS),h=new C(n.a);h.a=y.Math.abs(i.b)?(i.b=0,c.d+c.a>s.d&&c.ds.c&&c.c0){if(e=new wX(n.i,n.g),t=n.i,c=t<100?null:new F1(t),n.Tj())for(i=0;i0){for(f=n.g,l=n.i,Z6(n),c=l<100?null:new F1(l),i=0;i>13|(n.m&15)<<9,r=n.m>>4&8191,c=n.m>>17|(n.h&255)<<5,s=(n.h&1048320)>>8,f=e.l&8191,h=e.l>>13|(e.m&15)<<9,l=e.m>>4&8191,a=e.m>>17|(e.h&255)<<5,d=(e.h&1048320)>>8,jn=t*f,kn=i*f,Kn=r*f,Bn=c*f,te=s*f,h!=0&&(kn+=t*h,Kn+=i*h,Bn+=r*h,te+=c*h),l!=0&&(Kn+=t*l,Bn+=i*l,te+=r*l),a!=0&&(Bn+=t*a,te+=i*a),d!=0&&(te+=t*d),p=jn&ro,m=(kn&511)<<13,g=p+m,j=jn>>22,S=kn>>9,I=(Kn&262143)<<4,O=(Bn&31)<<17,k=j+S+I+O,_=Kn>>18,X=Bn>>5,tn=(te&4095)<<8,N=_+X+tn,k+=g>>22,g&=ro,N+=k>>22,k&=ro,N&=Il,Yc(g,k,N)}function dGn(n){var e,t,i,r,c,s,f;if(f=u(sn(n.j,0),12),f.g.c.length!=0&&f.e.c.length!=0)throw M(new Or("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(f.g.c.length!=0){for(c=St,t=new C(f.g);t.a4)if(n.fk(e)){if(n.al()){if(r=u(e,54),i=r.Eh(),h=i==n.e&&(n.ml()?r.yh(r.Fh(),n.il())==n.jl():-1-r.Fh()==n.Lj()),n.nl()&&!h&&!i&&r.Jh()){for(c=0;c0&&d_n(n,f,d);for(r=new C(d);r.an.d[s.p]&&(t+=AJ(n.b,c)*u(h.b,17).a,W1(n.a,Y(c)));for(;!n6(n.a);)uQ(n.b,u(Sp(n.a),17).a)}return t}function qIe(n,e){var t,i,r,c,s,f,h,l,a,d;if(a=u(v(n,(W(),gc)),64),i=u(sn(n.j,0),12),a==(en(),Xn)?gi(i,ae):a==ae&&gi(i,Xn),u(v(e,(cn(),xd)),181).Hc((go(),Gd))){if(h=$(R(v(n,Tv))),l=$(R(v(n,Av))),s=$(R(v(n,qw))),f=u(v(e,_w),21),f.Hc((zu(),Fl)))for(t=l,d=n.o.a/2-i.n.a,c=new C(i.f);c.a0&&(l=n.n.a/c);break;case 2:case 4:r=n.i.o.b,r>0&&(l=n.n.b/r)}U(n,(W(),ob),l)}if(h=n.o,s=n.a,i)s.a=i.a,s.b=i.b,n.d=!0;else if(e!=Qf&&e!=Pa&&f!=sc)switch(f.g){case 1:s.a=h.a/2;break;case 2:s.a=h.a,s.b=h.b/2;break;case 3:s.a=h.a/2,s.b=h.b;break;case 4:s.b=h.b/2}else s.a=h.a/2,s.b=h.b/2}function G5(n){var e,t,i,r,c,s,f,h,l,a;if(n.Pj())if(a=n.Ej(),h=n.Qj(),a>0)if(e=new RQ(n.pj()),t=a,c=t<100?null:new F1(t),S7(n,t,e.g),r=t==1?n.Ij(4,L(e,0),null,0,h):n.Ij(6,e,null,-1,h),n.Mj()){for(i=new ne(e);i.e!=i.i.gc();)c=n.Oj(ue(i),c);c?(c.nj(r),c.oj()):n.Jj(r)}else c?(c.nj(r),c.oj()):n.Jj(r);else S7(n,n.Ej(),n.Fj()),n.Jj(n.Ij(6,(Dn(),sr),null,-1,h));else if(n.Mj())if(a=n.Ej(),a>0){for(f=n.Fj(),l=a,S7(n,a,f),c=l<100?null:new F1(l),i=0;i1&&Su(s)*ao(s)/2>f[0]){for(c=0;cf[c];)++c;m=new Jl(k,0,c+1),d=new hT(m),a=Su(s)/ao(s),h=QF(d,e,new up,t,i,r,a),tt(ff(d.e),h),Mp(km(g,d),Km),p=new Jl(k,c+1,k.c.length),EZ(g,p),k.c.length=0,l=0,dPn(f,f.length,0)}else j=g.b.c.length==0?null:sn(g.b,0),j!=null&&M$(g,0),l>0&&(f[l]=f[l-1]),f[l]+=Su(s)*ao(s),++l,Rn(k.c,s);return k}function WIe(n,e){var t,i,r,c;t=e.b,c=new _u(t.j),r=0,i=t.j,i.c.length=0,b0(u(od(n.b,(en(),Xn),(I0(),rb)),15),t),r=Kk(c,r,new dpn,i),b0(u(od(n.b,Xn,va),15),t),r=Kk(c,r,new upn,i),b0(u(od(n.b,Xn,ib),15),t),b0(u(od(n.b,Zn,rb),15),t),b0(u(od(n.b,Zn,va),15),t),r=Kk(c,r,new bpn,i),b0(u(od(n.b,Zn,ib),15),t),b0(u(od(n.b,ae,rb),15),t),r=Kk(c,r,new wpn,i),b0(u(od(n.b,ae,va),15),t),r=Kk(c,r,new gpn,i),b0(u(od(n.b,ae,ib),15),t),b0(u(od(n.b,Wn,rb),15),t),r=Kk(c,r,new fpn,i),b0(u(od(n.b,Wn,va),15),t),b0(u(od(n.b,Wn,ib),15),t)}function JIe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;for(f=new C(e);f.a.5?S-=s*2*(m-.5):m<.5&&(S+=c*2*(.5-m)),r=f.d.b,Sj.a-k-a&&(S=j.a-k-a),f.n.a=e+S}}function nOe(n){var e,t,i,r,c;if(i=u(v(n,(cn(),ou)),171),i==(Yo(),ya)){for(t=new ie(ce(ji(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),18),!ALn(e))throw M(new _l(oR+Hk(n)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(i==xw){for(c=new ie(ce(Qt(n).a.Kc(),new En));pe(c);)if(r=u(fe(c),18),!ALn(r))throw M(new _l(oR+Hk(n)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function wy(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;if(n.e&&n.c.c>19&&(e=em(e),h=!h),s=BMe(e),c=!1,r=!1,i=!1,n.h==My&&n.m==0&&n.l==0)if(r=!0,c=!0,s==-1)n=ZMn((B4(),sun)),i=!0,h=!h;else return f=Gnn(n,s),h&&H$(f),t&&(wa=Yc(0,0,0)),f;else n.h>>19&&(c=!0,n=em(n),i=!0,h=!h);return s!=-1?d6e(n,s,h,c,t):OZ(n,e)<0?(t&&(c?wa=em(n):wa=Yc(n.l,n.m,n.h)),Yc(0,0,0)):xSe(i?n:Yc(n.l,n.m,n.h),e,h,c,r,t)}function zF(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;if(s=n.e,h=e.e,s==0)return e;if(h==0)return n;if(c=n.d,f=e.d,c+f==2)return t=vi(n.a[0],mr),i=vi(e.a[0],mr),s==h?(a=nr(t,i),m=Ae(a),p=Ae(U1(a,32)),p==0?new gl(s,m):new Ya(s,2,A(T(ye,1),_e,28,15,[m,p]))):(dh(),TC(s<0?bs(i,t):bs(t,i),0)?ia(s<0?bs(i,t):bs(t,i)):H6(ia(n1(s<0?bs(i,t):bs(t,i)))));if(s==h)g=s,d=c>=f?e$(n.a,c,e.a,f):e$(e.a,f,n.a,c);else{if(r=c!=f?c>f?1:-1:fY(n.a,e.a,c),r==0)return dh(),T8;r==1?(g=s,d=ZN(n.a,c,e.a,f)):(g=h,d=ZN(e.a,f,n.a,c))}return l=new Ya(g,d.length,d),V6(l),l}function tOe(n,e){var t,i,r,c,s,f,h;if(!(n.g>e.f||e.g>n.f)){for(t=0,i=0,s=n.w.a.ec().Kc();s.Ob();)r=u(s.Pb(),12),nx(cc(A(T(Ei,1),J,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++t;for(f=n.r.a.ec().Kc();f.Ob();)r=u(f.Pb(),12),nx(cc(A(T(Ei,1),J,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--t;for(h=e.w.a.ec().Kc();h.Ob();)r=u(h.Pb(),12),nx(cc(A(T(Ei,1),J,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=e.r.a.ec().Kc();c.Ob();)r=u(c.Pb(),12),nx(cc(A(T(Ei,1),J,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;t=0)return t;switch(v0(Lr(n,t))){case 2:{if(An("",r1(n,t.qk()).xe())){if(h=q7(Lr(n,t)),f=S4(Lr(n,t)),a=Wnn(n,e,h,f),a)return a;for(r=Men(n,e),s=0,d=r.gc();s1)throw M(new Gn(Yy));for(a=ru(n.e.Dh(),e),i=u(n.g,124),s=0;s1,l=new Df(g.b);tc(l.a)||tc(l.b);)h=u(tc(l.a)?E(l.a):E(l.b),18),d=h.c==g?h.d:h.c,y.Math.abs(cc(A(T(Ei,1),J,8,0,[d.i.n,d.n,d.a])).b-s.b)>1&&qTe(n,h,s,c,g)}}function sOe(n){var e,t,i,r,c,s;if(r=new xi(n.e,0),i=new xi(n.a,0),n.d)for(t=0;t_R;){for(c=e,s=0;y.Math.abs(e-c)<_R;)++s,e=$((oe(r.b0),r.a.Xb(r.c=--r.b),EPe(n,n.b-s,c,i,r),oe(r.b0),i.a.Xb(i.c=--i.b)}if(!n.d)for(t=0;t0?(n.f[a.p]=p/(a.e.c.length+a.g.c.length),n.c=y.Math.min(n.c,n.f[a.p]),n.b=y.Math.max(n.b,n.f[a.p])):f&&(n.f[a.p]=p)}}function hOe(n){n.b=null,n.bb=null,n.fb=null,n.qb=null,n.a=null,n.c=null,n.d=null,n.e=null,n.f=null,n.n=null,n.M=null,n.L=null,n.Q=null,n.R=null,n.K=null,n.db=null,n.eb=null,n.g=null,n.i=null,n.j=null,n.k=null,n.gb=null,n.o=null,n.p=null,n.q=null,n.r=null,n.$=null,n.ib=null,n.S=null,n.T=null,n.t=null,n.s=null,n.u=null,n.v=null,n.w=null,n.B=null,n.A=null,n.C=null,n.D=null,n.F=null,n.G=null,n.H=null,n.I=null,n.J=null,n.P=null,n.Z=null,n.U=null,n.V=null,n.W=null,n.X=null,n.Y=null,n._=null,n.ab=null,n.cb=null,n.hb=null,n.nb=null,n.lb=null,n.mb=null,n.ob=null,n.pb=null,n.jb=null,n.kb=null,n.N=!1,n.O=!1}function lOe(n,e,t){var i,r,c,s;for(t.Ug("Graph transformation ("+n.a+")",1),s=C0(e.a),c=new C(e.b);c.a=f.b.c)&&(f.b=e),(!f.c||e.c<=f.c.c)&&(f.d=f.c,f.c=e),(!f.e||e.d>=f.e.d)&&(f.e=e),(!f.f||e.d<=f.f.d)&&(f.f=e);return i=new eA((Z4(),tb)),J7(n,IZn,new Ku(A(T(lj,1),Fn,382,0,[i]))),s=new eA(Iw),J7(n,PZn,new Ku(A(T(lj,1),Fn,382,0,[s]))),r=new eA(Pw),J7(n,SZn,new Ku(A(T(lj,1),Fn,382,0,[r]))),c=new eA(d2),J7(n,AZn,new Ku(A(T(lj,1),Fn,382,0,[c]))),pF(i.c,tb),pF(r.c,Pw),pF(c.c,d2),pF(s.c,Iw),f.a.c.length=0,hi(f.a,i.c),hi(f.a,Qo(r.c)),hi(f.a,c.c),hi(f.a,Qo(s.c)),f}function bOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;for(e.Ug(SVn,1),p=$(R(z(n,(_h(),Xw)))),s=$(R(z(n,(Rf(),h9)))),f=u(z(n,f9),107),LQ((!n.a&&(n.a=new q(Ye,n,10,11)),n.a)),a=fGn((!n.a&&(n.a=new q(Ye,n,10,11)),n.a),p,s),!n.a&&(n.a=new q(Ye,n,10,11)),l=new C(a);l.a0&&(n.a=h+(p-1)*c,e.c.b+=n.a,e.f.b+=n.a)),m.a.gc()!=0&&(g=new lN(1,c),p=Yen(g,e,m,k,e.f.b+h-e.c.b),p>0&&(e.f.b+=h+(p-1)*c))}function gGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N;for(a=$(R(v(n,(cn(),db)))),i=$(R(v(n,phn))),g=new _O,U(g,db,a+i),l=e,S=l.d,k=l.c.i,I=l.d.i,j=jX(k.c),O=jX(I.c),r=new Z,d=j;d<=O;d++)f=new Tl(n),Ha(f,(Vn(),Mi)),U(f,(W(),st),l),U(f,Kt,(Oi(),qc)),U(f,yI,g),p=u(sn(n.b,d),30),d==j?uw(f,p.a.c.length-t,p):$i(f,p),N=$(R(v(l,m1))),N<0&&(N=0,U(l,m1,N)),f.o.b=N,m=y.Math.floor(N/2),s=new Pc,gi(s,(en(),Wn)),ic(s,f),s.n.b=m,h=new Pc,gi(h,Zn),ic(h,f),h.n.b=m,Ii(l,s),c=new y0,Ur(c,l),U(c,Fr,null),Zi(c,h),Ii(c,S),ike(f,l,c),Rn(r.c,c),l=c;return r}function XF(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O;for(h=u(h1(n,(en(),Wn)).Kc().Pb(),12).e,p=u(h1(n,Zn).Kc().Pb(),12).g,f=h.c.length,O=If(u(sn(n.j,0),12));f-- >0;){for(k=(Ln(0,h.c.length),u(h.c[0],18)),r=(Ln(0,p.c.length),u(p.c[0],18)),I=r.d.e,c=qr(I,r,0),Bpe(k,r.d,c),Zi(r,null),Ii(r,null),m=k.a,e&&Fe(m,new rr(O)),i=ge(r.a,0);i.b!=i.d.c;)t=u(be(i),8),Fe(m,new rr(t));for(S=k.b,g=new C(r.b);g.as)&&fi(n.b,u(j.b,18));++f}c=s}}}function Wen(n,e){var t;if(e==null||An(e,gu)||e.length==0&&n.k!=(l1(),D3))return null;switch(n.k.g){case 1:return JT(e,Zm)?(_n(),uv):JT(e,cK)?(_n(),ga):null;case 2:try{return Y(Ao(e,Wi,et))}catch(i){if(i=It(i),D(i,130))return null;throw M(i)}case 4:try{return sw(e)}catch(i){if(i=It(i),D(i,130))return null;throw M(i)}case 3:return e;case 5:return xFn(n),J_n(n,e);case 6:return xFn(n),wMe(n,n.a,e);case 7:try{return t=TCe(n),t.cg(e),t}catch(i){if(i=It(i),D(i,33))return null;throw M(i)}default:throw M(new Or("Invalid type set for this layout option."))}}function Jen(n){var e;switch(n.d){case 1:{if(n.Sj())return n.o!=-2;break}case 2:{if(n.Sj())return n.o==-2;break}case 3:case 5:case 4:case 6:case 7:return n.o>-2;default:return!1}switch(e=n.Rj(),n.p){case 0:return e!=null&&on(un(e))!=j6(n.k,0);case 1:return e!=null&&u(e,222).a!=Ae(n.k)<<24>>24;case 2:return e!=null&&u(e,180).a!=(Ae(n.k)&ui);case 6:return e!=null&&j6(u(e,168).a,n.k);case 5:return e!=null&&u(e,17).a!=Ae(n.k);case 7:return e!=null&&u(e,191).a!=Ae(n.k)<<16>>16;case 3:return e!=null&&$(R(e))!=n.j;case 4:return e!=null&&u(e,161).a!=n.j;default:return e==null?n.n!=null:!rt(e,n.n)}}function gy(n,e,t){var i,r,c,s;return n.ol()&&n.nl()&&(s=cN(n,u(t,58)),x(s)!==x(t))?(n.xj(e),n.Dj(e,vNn(n,e,s)),n.al()&&(c=(r=u(t,54),n.ml()?n.kl()?r.Th(n.b,br(u($n(au(n.b),n.Lj()),19)).n,u($n(au(n.b),n.Lj()).Hk(),29).kk(),null):r.Th(n.b,Ot(r.Dh(),br(u($n(au(n.b),n.Lj()),19))),null,null):r.Th(n.b,-1-n.Lj(),null,null)),!u(s,54).Ph()&&(c=(i=u(s,54),n.ml()?n.kl()?i.Rh(n.b,br(u($n(au(n.b),n.Lj()),19)).n,u($n(au(n.b),n.Lj()).Hk(),29).kk(),c):i.Rh(n.b,Ot(i.Dh(),br(u($n(au(n.b),n.Lj()),19))),null,c):i.Rh(n.b,-1-n.Lj(),null,c))),c&&c.oj()),fo(n.b)&&n.Jj(n.Ij(9,t,s,e,!1)),s):t}function pGn(n){var e,t,i,r,c,s,f,h,l,a;for(i=new Z,s=new C(n.e.a);s.a0&&(s=y.Math.max(s,yxn(n.C.b+i.d.b,r))),a=i,d=r,g=c;n.C&&n.C.c>0&&(p=g+n.C.c,l&&(p+=a.d.c),s=y.Math.max(s,(Tf(),Ks(_f),y.Math.abs(d-1)<=_f||d==1||isNaN(d)&&isNaN(1)?0:p/(1-d)))),t.n.b=0,t.a.a=s}function vGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p;if(t=u(Cr(n.b,e),127),h=u(u(ot(n.r,e),21),87),h.dc()){t.n.d=0,t.n.a=0;return}for(l=n.u.Hc((zu(),Fl)),s=0,n.A.Hc((go(),Gd))&&Vqn(n,e),f=h.Kc(),a=null,g=0,d=0;f.Ob();)i=u(f.Pb(),117),c=$(R(i.b.of((RC(),bP)))),r=i.b.Mf().b,a?(p=d+a.d.a+n.w+i.d.d,s=y.Math.max(s,(Tf(),Ks(_f),y.Math.abs(g-c)<=_f||g==c||isNaN(g)&&isNaN(c)?0:p/(c-g)))):n.C&&n.C.d>0&&(s=y.Math.max(s,yxn(n.C.d+i.d.d,c))),a=i,g=c,d=r;n.C&&n.C.a>0&&(p=d+n.C.a,l&&(p+=a.d.a),s=y.Math.max(s,(Tf(),Ks(_f),y.Math.abs(g-1)<=_f||g==1||isNaN(g)&&isNaN(1)?0:p/(1-g)))),t.n.d=0,t.a.b=s}function pOe(n,e,t,i,r,c,s,f){var h,l,a,d,g,p,m,k,j,S;if(m=!1,l=ien(t.q,e.f+e.b-t.q.f),p=i.f>e.b&&f,S=r-(t.q.e+l-s),d=(h=q5(i,S,!1),h.a),p&&d>i.f)return!1;if(p){for(g=0,j=new C(e.d);j.a=(Ln(c,n.c.length),u(n.c[c],186)).e,!p&&d>e.b&&!a)?!1:((a||p||d<=e.b)&&(a&&d>e.b?(t.d=d,ck(t,r_n(t,d))):(jKn(t.q,l),t.c=!0),ck(i,r-(t.s+t.r)),_k(i,t.q.e+t.q.d,e.f),wT(e,i),n.c.length>c&&(Uk((Ln(c,n.c.length),u(n.c[c],186)),i),(Ln(c,n.c.length),u(n.c[c],186)).a.c.length==0&&Yl(n,c)),m=!0),m)}function kGn(n,e,t){var i,r,c,s,f,h;for(this.g=n,f=e.d.length,h=t.d.length,this.d=K(Qh,b1,10,f+h,0,1),s=0;s0?m$(this,this.f/this.a):Af(e.g,e.d[0]).a!=null&&Af(t.g,t.d[0]).a!=null?m$(this,($(Af(e.g,e.d[0]).a)+$(Af(t.g,t.d[0]).a))/2):Af(e.g,e.d[0]).a!=null?m$(this,Af(e.g,e.d[0]).a):Af(t.g,t.d[0]).a!=null&&m$(this,Af(t.g,t.d[0]).a)}function mOe(n,e){var t,i,r,c,s,f,h,l,a,d;for(n.a=new YPn(n6e(k9)),i=new C(e.a);i.a=1&&(j-s>0&&d>=0?(h.n.a+=k,h.n.b+=c*s):j-s<0&&a>=0&&(h.n.a+=k*j,h.n.b+=c));n.o.a=e.a,n.o.b=e.b,U(n,(cn(),xd),(go(),i=u(of(A9),9),new _o(i,u(xs(i,i.length),9),0)))}function yOe(n,e,t,i,r,c){var s;if(!(e==null||!lx(e,Rdn,Kdn)))throw M(new Gn("invalid scheme: "+e));if(!n&&!(t!=null&&ih(t,wu(35))==-1&&t.length>0&&(zn(0,t.length),t.charCodeAt(0)!=47)))throw M(new Gn("invalid opaquePart: "+t));if(n&&!(e!=null&&t7(jO,e.toLowerCase()))&&!(t==null||!lx(t,O9,D9)))throw M(new Gn(tJn+t));if(n&&e!=null&&t7(jO,e.toLowerCase())&&!nye(t))throw M(new Gn(tJn+t));if(!u8e(i))throw M(new Gn("invalid device: "+i));if(!U6e(r))throw s=r==null?"invalid segments: null":"invalid segment: "+K6e(r),M(new Gn(s));if(!(c==null||ih(c,wu(35))==-1))throw M(new Gn("invalid query: "+c))}function jOe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S;if(t.Ug("Network simplex layering",1),n.b=e,S=u(v(e,(cn(),z8)),17).a*4,j=n.b.a,j.c.length<1){t.Vg();return}for(c=kSe(n,j),k=null,r=ge(c,0);r.b!=r.d.c;){for(i=u(be(r),15),f=S*wi(y.Math.sqrt(i.gc())),s=$Se(i),PF(pz(jhe(mz(BL(s),f),k),!0),t.eh(1)),g=n.b.b,m=new C(s.a);m.a1)for(k=K(ye,_e,28,n.b.b.c.length,15,1),d=0,l=new C(n.b.b);l.a0){QT(n,t,0),t.a+=String.fromCharCode(i),r=U8e(e,c),QT(n,t,r),c+=r-1;continue}i==39?c+10&&m.a<=0){h.c.length=0,Rn(h.c,m);break}p=m.i-m.d,p>=f&&(p>f&&(h.c.length=0,f=p),Rn(h.c,m))}h.c.length!=0&&(s=u(sn(h,cA(r,h.c.length)),118),O.a.Bc(s)!=null,s.g=a++,Ben(s,e,t,i),h.c.length=0)}for(j=n.c.length+1,g=new C(n);g.ali||e.o==Rd&&a=f&&r<=h)f<=r&&c<=h?(t[a++]=r,t[a++]=c,i+=2):f<=r?(t[a++]=r,t[a++]=h,n.b[i]=h+1,s+=2):c<=h?(t[a++]=f,t[a++]=c,i+=2):(t[a++]=f,t[a++]=h,n.b[i]=h+1);else if(hfa)&&f<10);kz(n.c,new Qbn),CGn(n),pwe(n.c),aOe(n.f)}function OOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(t=u(v(n,(cn(),Kt)),101),s=n.f,c=n.d,f=s.a+c.b+c.c,h=0-c.d-n.c.b,a=s.b+c.d+c.a-n.c.b,l=new Z,d=new Z,r=new C(e);r.a=2){for(h=ge(t,0),s=u(be(h),8),f=u(be(h),8);f.a0&&Mk(l,!0,(ci(),Xr)),f.k==(Vn(),Zt)&&oIn(l),Ve(n.f,f,e)}}function NOe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N;for(r=u(v(n,(pt(),r9)),27),l=et,a=et,f=Wi,h=Wi,O=ge(n.b,0);O.b!=O.d.c;)S=u(be(O),39),p=S.e,m=S.f,l=y.Math.min(l,p.a-m.a/2),a=y.Math.min(a,p.b-m.b/2),f=y.Math.max(f,p.a+m.a/2),h=y.Math.max(h,p.b+m.b/2);for(g=u(z(r,(lc(),Sln)),107),I=ge(n.b,0);I.b!=I.d.c;)S=u(be(I),39),d=v(S,r9),D(d,207)&&(c=u(d,27),Ro(c,S.e.a,S.e.b),cy(c,S));for(j=ge(n.a,0);j.b!=j.d.c;)k=u(be(j),65),i=u(v(k,r9),74),i&&(e=k.a,t=Xg(i,!0,!0),ay(e,t));N=f-l+(g.b+g.c),s=h-a+(g.d+g.a),on(un(z(r,(He(),Vw))))||q0(r,N,s,!1,!1),ht(r,B2,N-(g.b+g.c)),ht(r,F2,s-(g.d+g.a))}function TGn(n,e){var t,i,r,c,s,f,h,l,a,d;for(h=!0,r=0,l=n.g[e.p],a=e.o.b+n.o,t=n.d[e.p][2],Go(n.b,l,Y(u(sn(n.b,l),17).a-1+t)),Go(n.c,l,$(R(sn(n.c,l)))-a+t*n.f),++l,l>=n.j?(++n.j,nn(n.b,Y(1)),nn(n.c,a)):(i=n.d[e.p][1],Go(n.b,l,Y(u(sn(n.b,l),17).a+1-i)),Go(n.c,l,$(R(sn(n.c,l)))+a-i*n.f)),(n.r==(ps(),Aj)&&(u(sn(n.b,l),17).a>n.k||u(sn(n.b,l-1),17).a>n.k)||n.r==Sj&&($(R(sn(n.c,l)))>n.n||$(R(sn(n.c,l-1)))>n.n))&&(h=!1),s=new ie(ce(ji(e).a.Kc(),new En));pe(s);)c=u(fe(s),18),f=c.c.i,n.g[f.p]==l&&(d=TGn(n,f),r=r+u(d.a,17).a,h=h&&on(un(d.b)));return n.g[e.p]=l,r=r+n.d[e.p][0],new bi(Y(r),(_n(),!!h))}function AGn(n,e){var t,i,r,c,s;t=$(R(v(e,(cn(),Ws)))),t<2&&U(e,Ws,2),i=u(v(e,Do),88),i==(ci(),Jf)&&U(e,Do,KT(e)),r=u(v(e,Ute),17),r.a==0?U(e,(W(),S3),new dx):U(e,(W(),S3),new qM(r.a)),c=un(v(e,q8)),c==null&&U(e,q8,(_n(),x(v(e,$l))===x((El(),Bv)))),qt(new Tn(null,new In(e.a,16)),new IG(n)),qt(rc(new Tn(null,new In(e.b,16)),new _U),new OG(n)),s=new yGn(e),U(e,(W(),E2),s),H7(n.a),hf(n.a,(Vi(),Vs),u(v(e,Ld),188)),hf(n.a,Jh,u(v(e,$d),188)),hf(n.a,Oc,u(v(e,H8),188)),hf(n.a,Kc,u(v(e,vI),188)),hf(n.a,zr,Nve(u(v(e,$l),223))),CX(n.a,PLe(e)),U(e,wH,wy(n.a,e))}function Yen(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,S;for(d=new de,s=new Z,M_n(n,t,n.d.Ag(),s,d),M_n(n,i,n.d.Bg(),s,d),n.b=.2*(k=OHn(rc(new Tn(null,new In(s,16)),new x3n)),j=OHn(rc(new Tn(null,new In(s,16)),new F3n)),y.Math.min(k,j)),c=0,f=0;f=2&&(S=JHn(s,!0,g),!n.e&&(n.e=new ukn(n)),K8e(n.e,S,s,n.b)),DKn(s,g),KOe(s),p=-1,a=new C(s);a.af)}function SGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I;for(l=St,a=St,f=li,h=li,g=new C(e.i);g.a-1){for(r=ge(f,0);r.b!=r.d.c;)i=u(be(r),131),i.v=s;for(;f.b!=0;)for(i=u(Ux(f,0),131),t=new C(i.i);t.a-1){for(c=new C(f);c.a0)&&(gG(h,y.Math.min(h.o,r.o-1)),AE(h,h.i-1),h.i==0&&Rn(f.c,h))}}function IGn(n,e,t,i,r){var c,s,f,h;return h=St,s=!1,f=qen(n,mi(new V(e.a,e.b),n),tt(new V(t.a,t.b),r),mi(new V(i.a,i.b),t)),c=!!f&&!(y.Math.abs(f.a-n.a)<=J0&&y.Math.abs(f.b-n.b)<=J0||y.Math.abs(f.a-e.a)<=J0&&y.Math.abs(f.b-e.b)<=J0),f=qen(n,mi(new V(e.a,e.b),n),t,r),f&&((y.Math.abs(f.a-n.a)<=J0&&y.Math.abs(f.b-n.b)<=J0)==(y.Math.abs(f.a-e.a)<=J0&&y.Math.abs(f.b-e.b)<=J0)||c?h=y.Math.min(h,U6(mi(f,t))):s=!0),f=qen(n,mi(new V(e.a,e.b),n),i,r),f&&(s||(y.Math.abs(f.a-n.a)<=J0&&y.Math.abs(f.b-n.b)<=J0)==(y.Math.abs(f.a-e.a)<=J0&&y.Math.abs(f.b-e.b)<=J0)||c)&&(h=y.Math.min(h,U6(mi(f,i)))),h}function OGn(n){i0(n,new gd(qE(n0(Qd(Zd(Yd(new Ka,la),SXn),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new zbn),cu))),Q(n,la,e8,rn(Con)),Q(n,la,oS,(_n(),!0)),Q(n,la,r2,rn(dZn)),Q(n,la,d3,rn(bZn)),Q(n,la,a3,rn(wZn)),Q(n,la,zm,rn(aZn)),Q(n,la,t8,rn(Ton)),Q(n,la,Xm,rn(gZn)),Q(n,la,Wtn,rn(Eon)),Q(n,la,Qtn,rn(yon)),Q(n,la,Ytn,rn(jon)),Q(n,la,Ztn,rn(Mon)),Q(n,la,Jtn,rn(EP))}function _Oe(n){var e,t,i,r,c,s,f,h;for(e=null,i=new C(n);i.a0&&t.c==0&&(!e&&(e=new Z),Rn(e.c,t));if(e)for(;e.c.length!=0;){if(t=u(Yl(e,0),239),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new Z),new C(t.b));c.aqr(n,t,0))return new bi(r,t)}else if($(Af(r.g,r.d[0]).a)>$(Af(t.g,t.d[0]).a))return new bi(r,t)}for(f=(!t.e&&(t.e=new Z),t.e).Kc();f.Ob();)s=u(f.Pb(),239),h=(!s.b&&(s.b=new Z),s.b),zb(0,h.c.length),l6(h.c,0,t),s.c==h.c.length&&Rn(e.c,s)}return null}function HOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S;for(e.Ug("Interactive crossing minimization",1),s=0,c=new C(n.b);c.a0&&(t+=h.n.a+h.o.a/2,++d),m=new C(h.j);m.a0&&(t/=d),S=K(Pi,Tr,28,i.a.c.length,15,1),f=0,l=new C(i.a);l.a=f&&r<=h)f<=r&&c<=h?i+=2:f<=r?(n.b[i]=h+1,s+=2):c<=h?(t[a++]=r,t[a++]=f-1,i+=2):(t[a++]=r,t[a++]=f-1,n.b[i]=h+1,s+=2);else if(h2?(a=new Z,hi(a,new Jl(S,1,S.b)),c=mzn(a,O+n.a),I=new bF(c),Ur(I,e),Rn(t.c,I)):i?I=u(ee(n.b,Kh(e)),272):I=u(ee(n.b,ra(e)),272),h=Kh(e),i&&(h=ra(e)),s=_je(j,h),l=O+n.a,s.a?(l+=y.Math.abs(j.b-d.b),k=new V(d.a,(d.b+j.b)/2)):(l+=y.Math.abs(j.a-d.a),k=new V((d.a+j.a)/2,d.b)),i?Ve(n.d,e,new pZ(I,s,k,l)):Ve(n.c,e,new pZ(I,s,k,l)),Ve(n.b,e,I),m=(!e.n&&(e.n=new q(Ar,e,1,7)),e.n),p=new ne(m);p.e!=p.i.gc();)g=u(ue(p),135),r=sy(n,g,!0,0,0),Rn(t.c,r)}function qOe(n){var e,t,i,r,c,s,f;if(!n.A.dc()){if(n.A.Hc((go(),iE))&&(u(Cr(n.b,(en(),Xn)),127).k=!0,u(Cr(n.b,ae),127).k=!0,e=n.q!=(Oi(),tl)&&n.q!=qc,dG(u(Cr(n.b,Zn),127),e),dG(u(Cr(n.b,Wn),127),e),dG(n.g,e),n.A.Hc(Gd)&&(u(Cr(n.b,Xn),127).j=!0,u(Cr(n.b,ae),127).j=!0,u(Cr(n.b,Zn),127).k=!0,u(Cr(n.b,Wn),127).k=!0,n.g.k=!0)),n.A.Hc(tE))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,f=n.B.Hc((io(),S9)),r=jx(),c=0,s=r.length;c0),u(a.a.Xb(a.c=--a.b),18));c!=i&&a.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,c=(oe(a.b>0),u(a.a.Xb(a.c=--a.b),18));a.b>0&&bo(a)}}function LGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;if(!n.b)return!1;for(s=null,g=null,h=new r$(null,null),r=1,h.a[1]=n.b,d=h;d.a[r];)l=r,f=g,g=d,d=d.a[r],i=n.a.Ne(e,d.d),r=i<0?0:1,i==0&&(!t.c||mc(d.e,t.d))&&(s=d),!(d&&d.b)&&!Pb(d.a[r])&&(Pb(d.a[1-r])?g=g.a[l]=jT(d,r):Pb(d.a[1-r])||(p=g.a[1-l],p&&(!Pb(p.a[1-l])&&!Pb(p.a[l])?(g.b=!1,p.b=!0,d.b=!0):(c=f.a[1]==g?1:0,Pb(p.a[l])?f.a[c]=sDn(g,l):Pb(p.a[1-l])&&(f.a[c]=jT(g,l)),d.b=f.a[c].b=!0,f.a[c].a[0].b=!1,f.a[c].a[1].b=!1))));return s&&(t.b=!0,t.d=s.e,d!=s&&(a=new r$(d.d,d.e),zye(n,h,s,a),g==s&&(g=a)),g.a[g.a[1]==d?1:0]=d.a[d.a[0]?0:1],--n.c),n.b=h.a[1],n.b&&(n.b.b=!1),t.b}function zOe(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(r=new C(n.a.a.b);r.a0?r-=864e5:r+=864e5,h=new sV(nr(vc(e.q.getTime()),r))),a=new fg,l=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(s=c+1;s=l)throw M(new Gn("Missing trailing '"));s+1=14&&a<=16))?e.a._b(i)?(t.a?Re(t.a,t.b):t.a=new mo(t.d),C6(t.a,"[...]")):(f=cd(i),l=new $6(e),pl(t,$Gn(f,l))):D(i,183)?pl(t,CEe(u(i,183))):D(i,195)?pl(t,fye(u(i,195))):D(i,201)?pl(t,vje(u(i,201))):D(i,2111)?pl(t,hye(u(i,2111))):D(i,53)?pl(t,EEe(u(i,53))):D(i,376)?pl(t,_Ee(u(i,376))):D(i,846)?pl(t,jEe(u(i,846))):D(i,109)&&pl(t,yEe(u(i,109))):pl(t,i==null?gu:Jr(i));return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function Dm(n,e){var t,i,r,c;c=n.F,e==null?(n.F=null,cm(n,null)):(n.F=(Jn(e),e),i=ih(e,wu(60)),i!=-1?(r=(Fi(0,i,e.length),e.substr(0,i)),ih(e,wu(46))==-1&&!An(r,i3)&&!An(r,g8)&&!An(r,GS)&&!An(r,p8)&&!An(r,m8)&&!An(r,v8)&&!An(r,k8)&&!An(r,y8)&&(r=wJn),t=xC(e,wu(62)),t!=-1&&(r+=""+(zn(t+1,e.length+1),e.substr(t+1))),cm(n,r)):(r=e,ih(e,wu(46))==-1&&(i=ih(e,wu(91)),i!=-1&&(r=(Fi(0,i,e.length),e.substr(0,i))),!An(r,i3)&&!An(r,g8)&&!An(r,GS)&&!An(r,p8)&&!An(r,m8)&&!An(r,v8)&&!An(r,k8)&&!An(r,y8)?(r=wJn,i!=-1&&(r+=""+(zn(i,e.length+1),e.substr(i)))):r=e),cm(n,r),r==e&&(n.F=n.D))),n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,5,c,e))}function xGn(n,e){var t,i,r,c,s,f,h,l,a,d;if(h=e.length-1,f=(zn(h,e.length),e.charCodeAt(h)),f==93){if(s=ih(e,wu(91)),s>=0)return r=Q5e(n,(Fi(1,s,e.length),e.substr(1,s-1))),a=(Fi(s+1,h,e.length),e.substr(s+1,h-(s+1))),ELe(n,a,r)}else{if(t=-1,dun==null&&(dun=new RegExp("\\d")),dun.test(String.fromCharCode(f))&&(t=TV(e,wu(46),h-1),t>=0)){i=u(YN(n,E$n(n,(Fi(1,t,e.length),e.substr(1,t-1))),!1),61),l=0;try{l=Ao((zn(t+1,e.length+1),e.substr(t+1)),Wi,et)}catch(g){throw g=It(g),D(g,130)?(c=g,M(new eT(c))):M(g)}if(l>16==-10?t=u(n.Cb,291).Yk(e,t):n.Db>>16==-15&&(!e&&(e=(On(),Zf)),!l&&(l=(On(),Zf)),n.Cb.Yh()&&(h=new ml(n.Cb,1,13,l,e,f1(no(u(n.Cb,62)),n),!1),t?t.nj(h):t=h));else if(D(n.Cb,90))n.Db>>16==-23&&(D(e,90)||(e=(On(),Is)),D(l,90)||(l=(On(),Is)),n.Cb.Yh()&&(h=new ml(n.Cb,1,10,l,e,f1(Sc(u(n.Cb,29)),n),!1),t?t.nj(h):t=h));else if(D(n.Cb,456))for(f=u(n.Cb,850),s=(!f.b&&(f.b=new LE(new aD)),f.b),c=(i=new sd(new Ua(s.a).a),new NE(i));c.a.b;)r=u(O0(c.a).ld(),89),t=Lm(r,MA(r,f),t)}return t}function QOe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(s=on(un(z(n,(cn(),Rw)))),g=u(z(n,_w),21),h=!1,l=!1,d=new ne((!n.c&&(n.c=new q(Qu,n,9,9)),n.c));d.e!=d.i.gc()&&(!h||!l);){for(c=u(ue(d),123),f=0,r=$h(Eo(A(T(Oo,1),Fn,20,0,[(!c.d&&(c.d=new Nn(Vt,c,8,5)),c.d),(!c.e&&(c.e=new Nn(Vt,c,7,4)),c.e)])));pe(r)&&(i=u(fe(r),74),a=s&&R0(i)&&on(un(z(i,Nd))),t=bGn((!i.b&&(i.b=new Nn(he,i,4,7)),i.b),c)?n==At(Gr(u(L((!i.c&&(i.c=new Nn(he,i,5,8)),i.c),0),84))):n==At(Gr(u(L((!i.b&&(i.b=new Nn(he,i,4,7)),i.b),0),84))),!((a||t)&&(++f,f>1))););(f>0||g.Hc((zu(),Fl))&&(!c.n&&(c.n=new q(Ar,c,1,7)),c.n).i>0)&&(h=!0),f>1&&(l=!0)}h&&e.Fc((pr(),cs)),l&&e.Fc((pr(),$8))}function FGn(n){var e,t,i,r,c,s,f,h,l,a,d,g;if(g=u(z(n,(He(),Hd)),21),g.dc())return null;if(f=0,s=0,g.Hc((go(),iE))){for(a=u(z(n,m9),101),i=2,t=2,r=2,c=2,e=At(n)?u(z(At(n),_d),88):u(z(n,_d),88),l=new ne((!n.c&&(n.c=new q(Qu,n,9,9)),n.c));l.e!=l.i.gc();)if(h=u(ue(l),123),d=u(z(h,H2),64),d==(en(),sc)&&(d=Fen(h,e),ht(h,H2,d)),a==(Oi(),qc))switch(d.g){case 1:i=y.Math.max(i,h.i+h.g);break;case 2:t=y.Math.max(t,h.j+h.f);break;case 3:r=y.Math.max(r,h.i+h.g);break;case 4:c=y.Math.max(c,h.j+h.f)}else switch(d.g){case 1:i+=h.g+2;break;case 2:t+=h.f+2;break;case 3:r+=h.g+2;break;case 4:c+=h.f+2}f=y.Math.max(i,r),s=y.Math.max(t,c)}return q0(n,f,s,!0,!0)}function VF(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N;for(I=u(Wr(fT(ut(new Tn(null,new In(e.d,16)),new T7n(t)),new A7n(t)),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),d=et,a=Wi,h=new C(e.b.j);h.a0,l?l&&(g=S.p,s?++g:--g,d=u(sn(S.c.a,g),10),i=uFn(d),p=!(mF(i,X,t[0])||IPn(i,X,t[0]))):p=!0),m=!1,_=e.D.i,_&&_.c&&f.e&&(a=s&&_.p>0||!s&&_.p<_.c.a.c.length-1,a?(g=_.p,s?--g:++g,d=u(sn(_.c.a,g),10),i=uFn(d),m=!(mF(i,t[0],jn)||IPn(i,t[0],jn))):m=!0),p&&m&&Fe(n.a,tn),p||t5(n.a,A(T(Ei,1),J,8,0,[k,j])),m||t5(n.a,A(T(Ei,1),J,8,0,[N,O]))}function eDe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,S,I;for(p=e.c.length,g=0,d=new C(n.b);d.a=0){for(h=null,f=new xi(a.a,l+1);f.bs?1:u0(isNaN(0),isNaN(s)))<0&&(Ks(jh),(y.Math.abs(s-1)<=jh||s==1||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:u0(isNaN(s),isNaN(1)))<0)&&(Ks(jh),(y.Math.abs(0-f)<=jh||f==0||isNaN(0)&&isNaN(f)?0:0f?1:u0(isNaN(0),isNaN(f)))<0)&&(Ks(jh),(y.Math.abs(f-1)<=jh||f==1||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:u0(isNaN(f),isNaN(1)))<0)),c)}function iDe(n){var e,t,i,r;if(t=n.D!=null?n.D:n.B,e=ih(t,wu(91)),e!=-1){i=(Fi(0,e,t.length),t.substr(0,e)),r=new Hl;do r.a+="[";while((e=b4(t,91,++e))!=-1);An(i,i3)?r.a+="Z":An(i,g8)?r.a+="B":An(i,GS)?r.a+="C":An(i,p8)?r.a+="D":An(i,m8)?r.a+="F":An(i,v8)?r.a+="I":An(i,k8)?r.a+="J":An(i,y8)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null}catch(c){if(c=It(c),!D(c,63))throw M(c)}}else if(ih(t,wu(46))==-1){if(An(t,i3))return so;if(An(t,g8))return Fu;if(An(t,GS))return fs;if(An(t,p8))return Pi;if(An(t,m8))return cg;if(An(t,v8))return ye;if(An(t,k8))return Fa;if(An(t,y8))return V2}return null}function rDe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn;for(n.e=e,f=rCe(e),X=new Z,i=new C(f);i.a=0&&k=l.c.c.length?a=CJ((Vn(),zt),Mi):a=CJ((Vn(),Mi),Mi),a*=2,c=t.a.g,t.a.g=y.Math.max(c,c+(a-c)),s=t.b.g,t.b.g=y.Math.max(s,s+(a-s)),r=e}}function sDe(n){var e,t,i,r;for(qt(ut(new Tn(null,new In(n.a.b,16)),new z2n),new X2n),qke(n),qt(ut(new Tn(null,new In(n.a.b,16)),new V2n),new W2n),n.c==(El(),x3)&&(qt(ut(rc(new Tn(null,new In(new qa(n.f),1)),new J2n),new Q2n),new v7n(n)),qt(ut(_r(rc(rc(new Tn(null,new In(n.d.b,16)),new Y2n),new Z2n),new npn),new epn),new y7n(n))),r=new V(St,St),e=new V(li,li),i=new C(n.a.b);i.a0&&(e.a+=ur),GA(u(ue(f),167),e);for(e.a+=iR,h=new kp((!i.c&&(i.c=new Nn(he,i,5,8)),i.c));h.e!=h.i.gc();)h.e>0&&(e.a+=ur),GA(u(ue(h),167),e);e.a+=")"}}function fDe(n,e,t){var i,r,c,s,f,h,l,a;for(h=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));h.e!=h.i.gc();)for(f=u(ue(h),27),r=new ie(ce(Al(f).a.Kc(),new En));pe(r);){if(i=u(fe(r),74),!i.b&&(i.b=new Nn(he,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new Nn(he,i,5,8)),i.c.i<=1)))throw M(new hp("Graph must not contain hyperedges."));if(!D5(i)&&f!=Gr(u(L((!i.c&&(i.c=new Nn(he,i,5,8)),i.c),0),84)))for(l=new BAn,Ur(l,i),U(l,(Q1(),y3),i),Jse(l,u(Kr(wr(t.f,f)),153)),Zse(l,u(ee(t,Gr(u(L((!i.c&&(i.c=new Nn(he,i,5,8)),i.c),0),84))),153)),nn(e.c,l),s=new ne((!i.n&&(i.n=new q(Ar,i,1,7)),i.n));s.e!=s.i.gc();)c=u(ue(s),135),a=new KDn(l,c.a),Ur(a,c),U(a,y3,c),a.e.a=y.Math.max(c.g,1),a.e.b=y.Math.max(c.f,1),Hen(a),nn(e.d,a)}}function hDe(n,e,t){var i,r,c,s,f,h,l,a,d,g;switch(t.Ug("Node promotion heuristic",1),n.i=e,n.r=u(v(e,(cn(),ja)),243),n.r!=(ps(),wb)&&n.r!=Uw?FDe(n):fAe(n),a=u(v(n.i,ihn),17).a,c=new Fgn,n.r.g){case 2:case 1:Om(n,c);break;case 3:for(n.r=SI,Om(n,c),h=0,f=new C(n.b);f.an.k&&(n.r=Aj,Om(n,c));break;case 4:for(n.r=SI,Om(n,c),l=0,r=new C(n.c);r.an.n&&(n.r=Sj,Om(n,c));break;case 6:g=wi(y.Math.ceil(n.g.length*a/100)),Om(n,new o7n(g));break;case 5:d=wi(y.Math.ceil(n.e*a/100)),Om(n,new s7n(d));break;case 8:yzn(n,!0);break;case 9:yzn(n,!1);break;default:Om(n,c)}n.r!=wb&&n.r!=Uw?LTe(n,e):ZAe(n,e),t.Vg()}function lDe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O;for(d=n.b,a=new xi(d,0),Rb(a,new Lc(n)),I=!1,s=1;a.b0&&(g.d+=a.n.d,g.d+=a.d),g.a>0&&(g.a+=a.n.a,g.a+=a.d),g.b>0&&(g.b+=a.n.b,g.b+=a.d),g.c>0&&(g.c+=a.n.c,g.c+=a.d),g}function RGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m;for(g=t.d,d=t.c,c=new V(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),s=c.b,l=new C(n.a);l.a0&&(n.c[e.c.p][e.p].d+=to(n.i,24)*Py*.07000000029802322-.03500000014901161,n.c[e.c.p][e.p].a=n.c[e.c.p][e.p].d/n.c[e.c.p][e.p].b)}}function bDe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(m=new C(n);m.ai.d,i.d=y.Math.max(i.d,e),f&&t&&(i.d=y.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=e>i.a,i.a=y.Math.max(i.a,e),f&&t&&(i.a=y.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=e>i.c,i.c=y.Math.max(i.c,e),f&&t&&(i.c=y.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=e>i.b,i.b=y.Math.max(i.b,e),f&&t&&(i.b=y.Math.max(i.b,i.c),i.c=i.b+r)}}}function _Gn(n,e){var t,i,r,c,s,f,h,l,a;return l="",e.length==0?n.ne(mtn,uB,-1,-1):(a=fw(e),An(a.substr(0,3),"at ")&&(a=(zn(3,a.length+1),a.substr(3))),a=a.replace(/\[.*?\]/g,""),s=a.indexOf("("),s==-1?(s=a.indexOf("@"),s==-1?(l=a,a=""):(l=fw((zn(s+1,a.length+1),a.substr(s+1))),a=fw((Fi(0,s,a.length),a.substr(0,s))))):(t=a.indexOf(")",s),l=(Fi(s+1,t,a.length),a.substr(s+1,t-(s+1))),a=fw((Fi(0,s,a.length),a.substr(0,s)))),s=ih(a,wu(46)),s!=-1&&(a=(zn(s+1,a.length+1),a.substr(s+1))),(a.length==0||An(a,"Anonymous function"))&&(a=uB),f=xC(l,wu(58)),r=TV(l,wu(58),f-1),h=-1,i=-1,c=mtn,f!=-1&&r!=-1&&(c=(Fi(0,r,l.length),l.substr(0,r)),h=iAn((Fi(r+1,f,l.length),l.substr(r+1,f-(r+1)))),i=iAn((zn(f+1,l.length+1),l.substr(f+1)))),n.ne(c,a,h,i))}function pDe(n){var e,t,i,r,c,s,f,h,l,a,d;for(l=new C(n);l.a0||a.j==Wn&&a.e.c.length-a.g.c.length<0)){e=!1;break}for(r=new C(a.g);r.a=l&&_>=j&&(g+=m.n.b+k.n.b+k.a.b-N,++f));if(t)for(s=new C(I.e);s.a=l&&_>=j&&(g+=m.n.b+k.n.b+k.a.b-N,++f))}f>0&&(X+=g/f,++p)}p>0?(e.a=r*X/p,e.g=p):(e.a=0,e.g=0)}function vDe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn;for(c=n.f.b,g=c.a,a=c.b,m=n.e.g,p=n.e.f,kg(n.e,c.a,c.b),X=g/m,tn=a/p,l=new ne(yM(n.e));l.e!=l.i.gc();)h=u(ue(l),135),eu(h,h.i*X),tu(h,h.j*tn);for(I=new ne(mN(n.e));I.e!=I.i.gc();)S=u(ue(I),123),N=S.i,_=S.j,N>0&&eu(S,N*X),_>0&&tu(S,_*tn);for(o5(n.b,new qbn),e=new Z,f=new sd(new Ua(n.c).a);f.b;)s=O0(f),i=u(s.ld(),74),t=u(s.md(),407).a,r=Xg(i,!1,!1),d=LKn(Kh(i),Jk(r),t),ay(d,r),O=zKn(i),O&&qr(e,O,0)==-1&&(Rn(e.c,O),yIn(O,(oe(d.b!=0),u(d.a.a.c,8)),t));for(j=new sd(new Ua(n.d).a);j.b;)k=O0(j),i=u(k.ld(),74),t=u(k.md(),407).a,r=Xg(i,!1,!1),d=LKn(ra(i),Ak(Jk(r)),t),d=Ak(d),ay(d,r),O=XKn(i),O&&qr(e,O,0)==-1&&(Rn(e.c,O),yIn(O,(oe(d.b!=0),u(d.c.b.c,8)),t))}function HGn(n,e,t,i){var r,c,s,f,h;return f=new etn(e),hTe(f,i),r=!0,n&&n.pf((He(),_d))&&(c=u(n.of((He(),_d)),88),r=c==(ci(),Jf)||c==Br||c==Xr),_qn(f,!1),nu(f.e.Rf(),new LV(f,!1,r)),ON(f,f.f,(wf(),bc),(en(),Xn)),ON(f,f.f,wc,ae),ON(f,f.g,bc,Wn),ON(f,f.g,wc,Zn),wRn(f,Xn),wRn(f,ae),mIn(f,Zn),mIn(f,Wn),Bb(),s=f.A.Hc((go(),Qw))&&f.B.Hc((io(),cE))?LBn(f):null,s&&vhe(f.a,s),gDe(f),p7e(f),m7e(f),qOe(f),pSe(f),U7e(f),kx(f,Xn),kx(f,ae),VAe(f),pIe(f),t&&(Y5e(f),G7e(f),kx(f,Zn),kx(f,Wn),h=f.B.Hc((io(),S9)),L_n(f,h,Xn),L_n(f,h,ae),N_n(f,h,Zn),N_n(f,h,Wn),qt(new Tn(null,new In(new ol(f.i),0)),new abn),qt(ut(new Tn(null,OW(f.r).a.oc()),new dbn),new bbn),cye(f),f.e.Pf(f.o),qt(new Tn(null,OW(f.r).a.oc()),new wbn)),f.o}function kDe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(l=St,i=new C(n.a.b);i.a1)for(p=new zen(m,O,i),qi(O,new QCn(n,p)),Rn(s.c,p),d=O.a.ec().Kc();d.Ob();)a=u(d.Pb(),42),du(c,a.b);if(f.a.gc()>1)for(p=new zen(m,f,i),qi(f,new YCn(n,p)),Rn(s.c,p),d=f.a.ec().Kc();d.Ob();)a=u(d.Pb(),42),du(c,a.b)}}function CDe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S;if(k=n.n,j=n.o,g=n.d,d=$(R(rw(n,(cn(),PH)))),e){for(a=d*(e.gc()-1),p=0,h=e.Kc();h.Ob();)s=u(h.Pb(),10),a+=s.o.a,p=y.Math.max(p,s.o.b);for(S=k.a-(a-j.a)/2,c=k.b-g.d+p,i=j.a/(e.gc()+1),r=i,f=e.Kc();f.Ob();)s=u(f.Pb(),10),s.n.a=S,s.n.b=c-s.o.b,S+=s.o.a+d,l=QHn(s),l.n.a=s.o.a/2-l.a.a,l.n.b=s.o.b,m=u(v(s,(W(),tI)),12),m.e.c.length+m.g.c.length==1&&(m.n.a=r-m.a.a,m.n.b=0,ic(m,n)),r+=i}if(t){for(a=d*(t.gc()-1),p=0,h=t.Kc();h.Ob();)s=u(h.Pb(),10),a+=s.o.a,p=y.Math.max(p,s.o.b);for(S=k.a-(a-j.a)/2,c=k.b+j.b+g.a-p,i=j.a/(t.gc()+1),r=i,f=t.Kc();f.Ob();)s=u(f.Pb(),10),s.n.a=S,s.n.b=c,S+=s.o.a+d,l=QHn(s),l.n.a=s.o.a/2-l.a.a,l.n.b=0,m=u(v(s,(W(),tI)),12),m.e.c.length+m.g.c.length==1&&(m.n.a=r-m.a.a,m.n.b=j.b,ic(m,n)),r+=i}}function MDe(n,e){var t,i,r,c,s,f;if(u(v(e,(W(),Hc)),21).Hc((pr(),cs))){for(f=new C(e.a);f.a=0&&s0&&(u(Cr(n.b,e),127).a.b=t)}function IDe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k;if(g=$(R(v(n,(cn(),Tv)))),p=$(R(v(n,Av))),d=$(R(v(n,qw))),f=n.o,c=u(sn(n.j,0),12),s=c.n,k=Xje(c,d),!!k){if(e.Hc((zu(),Fl)))switch(u(v(n,(W(),gc)),64).g){case 1:k.c=(f.a-k.b)/2-s.a,k.d=p;break;case 3:k.c=(f.a-k.b)/2-s.a,k.d=-p-k.a;break;case 2:t&&c.e.c.length==0&&c.g.c.length==0?(a=i?k.a:u(sn(c.f,0),72).o.b,k.d=(f.b-a)/2-s.b):k.d=f.b+p-s.b,k.c=-g-k.b;break;case 4:t&&c.e.c.length==0&&c.g.c.length==0?(a=i?k.a:u(sn(c.f,0),72).o.b,k.d=(f.b-a)/2-s.b):k.d=f.b+p-s.b,k.c=g}else if(e.Hc(Ia))switch(u(v(n,(W(),gc)),64).g){case 1:case 3:k.c=s.a+g;break;case 2:case 4:t&&!c.c?(a=i?k.a:u(sn(c.f,0),72).o.b,k.d=(f.b-a)/2-s.b):k.d=s.b+p}for(r=k.d,l=new C(c.f);l.a=e.length)return{done:!0};var r=e[i++];return{value:[r,t.get(r)],done:!1}}}},AAe()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(e){return this.obj[":"+e]},n.prototype.set=function(e,t){this.obj[":"+e]=t},n.prototype[DB]=function(e){delete this.obj[":"+e]},n.prototype.keys=function(){var e=[];for(var t in this.obj)t.charCodeAt(0)==58&&e.push(t.substring(1));return e}),n}function pt(){pt=F,r9=new lt(Vtn),new Dt("DEPTH",Y(0)),iq=new Dt("FAN",Y(0)),gln=new Dt(bVn,Y(0)),Ma=new Dt("ROOT",(_n(),!1)),uq=new Dt("LEFTNEIGHBOR",null),dre=new Dt("RIGHTNEIGHBOR",null),$I=new Dt("LEFTSIBLING",null),oq=new Dt("RIGHTSIBLING",null),tq=new Dt("DUMMY",!1),new Dt("LEVEL",Y(0)),vln=new Dt("REMOVABLE_EDGES",new Ct),Nj=new Dt("XCOOR",Y(0)),$j=new Dt("YCOOR",Y(0)),xI=new Dt("LEVELHEIGHT",0),jf=new Dt("LEVELMIN",0),Js=new Dt("LEVELMAX",0),rq=new Dt("GRAPH_XMIN",0),cq=new Dt("GRAPH_YMIN",0),pln=new Dt("GRAPH_XMAX",0),mln=new Dt("GRAPH_YMAX",0),wln=new Dt("COMPACT_LEVEL_ASCENSION",!1),eq=new Dt("COMPACT_CONSTRAINTS",new Z),i9=new Dt("ID",""),c9=new Dt("POSITION",Y(0)),j1=new Dt("PRELIM",0),Dv=new Dt("MODIFIER",0),Ov=new lt(TXn),Lj=new lt(AXn)}function NDe(n){xen();var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(n==null)return null;if(d=n.length*8,d==0)return"";for(f=d%24,p=d/24|0,g=f!=0?p+1:p,c=null,c=K(fs,gh,28,g*4,15,1),l=0,a=0,e=0,t=0,i=0,s=0,r=0,h=0;h>24,l=(e&3)<<24>>24,m=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,k=t&-128?(t>>4^240)<<24>>24:t>>4<<24>>24,j=i&-128?(i>>6^252)<<24>>24:i>>6<<24>>24,c[s++]=O1[m],c[s++]=O1[k|l<<4],c[s++]=O1[a<<2|j],c[s++]=O1[i&63];return f==8?(e=n[r],l=(e&3)<<24>>24,m=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,c[s++]=O1[m],c[s++]=O1[l<<4],c[s++]=61,c[s++]=61):f==16&&(e=n[r],t=n[r+1],a=(t&15)<<24>>24,l=(e&3)<<24>>24,m=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,k=t&-128?(t>>4^240)<<24>>24:t>>4<<24>>24,c[s++]=O1[m],c[s++]=O1[k|l<<4],c[s++]=O1[a<<2],c[s++]=61),ws(c,0,c.length)}function $De(n,e){var t,i,r,c,s,f,h;if(n.e==0&&n.p>0&&(n.p=-(n.p-1)),n.p>Wi&&EJ(e,n.p-ha),s=e.q.getDate(),V7(e,1),n.k>=0&&E2e(e,n.k),n.c>=0?V7(e,n.c):n.k>=0?(h=new ZQ(e.q.getFullYear()-ha,e.q.getMonth(),35),i=35-h.q.getDate(),V7(e,y.Math.min(i,s))):V7(e,s),n.f<0&&(n.f=e.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),b1e(e,n.f==24&&n.g?0:n.f),n.j>=0&&c4e(e,n.j),n.n>=0&&p4e(e,n.n),n.i>=0&&JMn(e,nr(er(zk(vc(e.q.getTime()),d1),d1),n.i)),n.a&&(r=new WE,EJ(r,r.q.getFullYear()-ha-80),ND(vc(e.q.getTime()),vc(r.q.getTime()))&&EJ(e,r.q.getFullYear()-ha+100)),n.d>=0){if(n.c==-1)t=(7+n.d-e.q.getDay())%7,t>3&&(t-=7),f=e.q.getMonth(),V7(e,e.q.getDate()+t),e.q.getMonth()!=f&&V7(e,e.q.getDate()+(t>0?-7:7));else if(e.q.getDay()!=n.d)return!1}return n.o>Wi&&(c=e.q.getTimezoneOffset(),JMn(e,nr(vc(e.q.getTime()),(n.o-c)*60*d1))),!0}function XGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N;if(r=v(e,(W(),st)),!!D(r,207)){for(m=u(r,27),k=e.e,g=new rr(e.c),c=e.d,g.a+=c.b,g.b+=c.d,N=u(z(m,(cn(),kI)),181),Au(N,(io(),sO))&&(p=u(z(m,shn),107),Use(p,c.a),Yse(p,c.d),Gse(p,c.b),Qse(p,c.c)),t=new Z,a=new C(e.a);a.ai.c.length-1;)nn(i,new bi(i2,Mrn));t=u(v(r,Sh),17).a,hl(u(v(n,pb),88))?(r.e.a<$(R((Ln(t,i.c.length),u(i.c[t],42)).a))&&QO((Ln(t,i.c.length),u(i.c[t],42)),r.e.a),r.e.a+r.f.a>$(R((Ln(t,i.c.length),u(i.c[t],42)).b))&&YO((Ln(t,i.c.length),u(i.c[t],42)),r.e.a+r.f.a)):(r.e.b<$(R((Ln(t,i.c.length),u(i.c[t],42)).a))&&QO((Ln(t,i.c.length),u(i.c[t],42)),r.e.b),r.e.b+r.f.b>$(R((Ln(t,i.c.length),u(i.c[t],42)).b))&&YO((Ln(t,i.c.length),u(i.c[t],42)),r.e.b+r.f.b))}for(c=ge(n.b,0);c.b!=c.d.c;)r=u(be(c),39),t=u(v(r,(lc(),Sh)),17).a,U(r,(pt(),jf),R((Ln(t,i.c.length),u(i.c[t],42)).a)),U(r,Js,R((Ln(t,i.c.length),u(i.c[t],42)).b));e.Vg()}function FDe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(n.o=$(R(v(n.i,(cn(),bb)))),n.f=$(R(v(n.i,Bd))),n.j=n.i.b.c.length,f=n.j-1,g=0,n.k=0,n.n=0,n.b=Of(K(Gi,J,17,n.j,0,1)),n.c=Of(K(si,J,345,n.j,7,1)),s=new C(n.i.b);s.a0&&nn(n.q,a),nn(n.p,a);e-=i,p=h+e,l+=e*n.f,Go(n.b,f,Y(p)),Go(n.c,f,l),n.k=y.Math.max(n.k,p),n.n=y.Math.max(n.n,l),n.e+=e,e+=k}}function en(){en=F;var n;sc=new v7(Y5,0),Xn=new v7(eS,1),Zn=new v7(HB,2),ae=new v7(qB,3),Wn=new v7(UB,4),Yf=(Dn(),new i4((n=u(of(lr),9),new _o(n,u(xs(n,n.length),9),0)))),ef=i1(yt(Xn,A(T(lr,1),Mc,64,0,[]))),os=i1(yt(Zn,A(T(lr,1),Mc,64,0,[]))),No=i1(yt(ae,A(T(lr,1),Mc,64,0,[]))),Ts=i1(yt(Wn,A(T(lr,1),Mc,64,0,[]))),mu=i1(yt(Xn,A(T(lr,1),Mc,64,0,[ae]))),su=i1(yt(Zn,A(T(lr,1),Mc,64,0,[Wn]))),tf=i1(yt(Xn,A(T(lr,1),Mc,64,0,[Wn]))),Wu=i1(yt(Xn,A(T(lr,1),Mc,64,0,[Zn]))),$o=i1(yt(ae,A(T(lr,1),Mc,64,0,[Wn]))),ss=i1(yt(Zn,A(T(lr,1),Mc,64,0,[ae]))),Ju=i1(yt(Xn,A(T(lr,1),Mc,64,0,[Zn,Wn]))),pu=i1(yt(Zn,A(T(lr,1),Mc,64,0,[ae,Wn]))),vu=i1(yt(Xn,A(T(lr,1),Mc,64,0,[ae,Wn]))),xu=i1(yt(Xn,A(T(lr,1),Mc,64,0,[Zn,ae]))),Uc=i1(yt(Xn,A(T(lr,1),Mc,64,0,[Zn,ae,Wn])))}function BDe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn;for(e.Ug(XXn,1),k=new Z,X=new Z,l=new C(n.b);l.a0&&(O-=p),Xen(s,O),a=0,g=new C(s.a);g.a0),f.a.Xb(f.c=--f.b)),h=.4*i*a,!c&&f.b0&&(h=(zn(0,e.length),e.charCodeAt(0)),h!=64)){if(h==37&&(d=e.lastIndexOf("%"),l=!1,d!=0&&(d==g-1||(l=(zn(d+1,e.length),e.charCodeAt(d+1)==46))))){if(s=(Fi(1,d,e.length),e.substr(1,d-1)),O=An("%",s)?null:rtn(s),i=0,l)try{i=Ao((zn(d+2,e.length+1),e.substr(d+2)),Wi,et)}catch(N){throw N=It(N),D(N,130)?(f=N,M(new eT(f))):M(N)}for(j=DQ(n.Gh());j.Ob();)if(m=PT(j),D(m,519)&&(r=u(m,598),I=r.d,(O==null?I==null:An(O,I))&&i--==0))return r;return null}if(a=e.lastIndexOf("."),p=a==-1?e:(Fi(0,a,e.length),e.substr(0,a)),t=0,a!=-1)try{t=Ao((zn(a+1,e.length+1),e.substr(a+1)),Wi,et)}catch(N){if(N=It(N),D(N,130))p=e;else throw M(N)}for(p=An("%",p)?null:rtn(p),k=DQ(n.Gh());k.Ob();)if(m=PT(k),D(m,197)&&(c=u(m,197),S=c.xe(),(p==null?S==null:An(p,S))&&t--==0))return c;return null}return xGn(n,e)}function zDe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I;for(a=new de,h=new j0,i=new C(n.a.a.b);i.ae.d.c){if(p=n.c[e.a.d],j=n.c[d.a.d],p==j)continue;qs(Ls(Ds(Ns(Os(new hs,1),100),p),j))}}}}}function XDe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X;if(g=u(u(ot(n.r,e),21),87),e==(en(),Zn)||e==Wn){UGn(n,e);return}for(c=e==Xn?(D0(),tj):(D0(),ij),N=e==Xn?(bu(),kf):(bu(),Xs),t=u(Cr(n.b,e),127),i=t.i,r=i.c+Dg(A(T(Pi,1),Tr,28,15,[t.n.b,n.C.b,n.k])),S=i.c+i.b-Dg(A(T(Pi,1),Tr,28,15,[t.n.c,n.C.c,n.k])),s=vz($V(c),n.t),I=e==Xn?li:St,d=g.Kc();d.Ob();)l=u(d.Pb(),117),!(!l.c||l.c.d.c.length<=0)&&(j=l.b.Mf(),k=l.e,p=l.c,m=p.i,m.b=(h=p.n,p.e.a+h.b+h.c),m.a=(f=p.n,p.e.b+f.d+f.a),G7(N,Ntn),p.f=N,df(p,(Uu(),zs)),m.c=k.a-(m.b-j.a)/2,_=y.Math.min(r,k.a),X=y.Math.max(S,k.a+j.a),m.c<_?m.c=_:m.c+m.b>X&&(m.c=X-m.b),nn(s.d,new ZL(m,TY(s,m))),I=e==Xn?y.Math.max(I,k.b+l.b.Mf().b):y.Math.min(I,k.b));for(I+=e==Xn?n.t:-n.t,O=GY((s.e=I,s)),O>0&&(u(Cr(n.b,e),127).a.b=O),a=g.Kc();a.Ob();)l=u(a.Pb(),117),!(!l.c||l.c.d.c.length<=0)&&(m=l.c.i,m.c-=l.e.a,m.d-=l.e.b)}function VDe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;for(e=new de,h=new ne(n);h.e!=h.i.gc();){for(f=u(ue(h),27),t=new ni,Ve(m_,f,t),p=new Bbn,r=u(Wr(new Tn(null,new w0(new ie(ce(ry(f).a.Kc(),new En)))),aPn(p,qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)])))),85),z$n(t,u(r.xc((_n(),!0)),16),new Rbn),i=u(Wr(ut(u(r.xc(!1),15).Lc(),new Kbn),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[Yr]))),15),s=i.Kc();s.Ob();)c=u(s.Pb(),74),g=zKn(c),g&&(l=u(Kr(wr(e.f,g)),21),l||(l=gqn(g),Vc(e.f,g,l)),Bi(t,l));for(r=u(Wr(new Tn(null,new w0(new ie(ce(Al(f).a.Kc(),new En)))),aPn(p,qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[Yr])))),85),z$n(t,u(r.xc(!0),16),new _bn),i=u(Wr(ut(u(r.xc(!1),15).Lc(),new Hbn),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[Yr]))),15),d=i.Kc();d.Ob();)a=u(d.Pb(),74),g=XKn(a),g&&(l=u(Kr(wr(e.f,g)),21),l||(l=gqn(g),Vc(e.f,g,l)),Bi(t,l))}}function WDe(n,e){BF();var t,i,r,c,s,f,h,l,a,d,g,p,m,k;if(h=Ec(n,0)<0,h&&(n=n1(n)),Ec(n,0)==0)switch(e){case 0:return"0";case 1:return Rm;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return p=new x1,e<0?p.a+="0E+":p.a+="0E",p.a+=e==Wi?"2147483648":""+-e,p.a}a=18,d=K(fs,gh,28,a+1,15,1),t=a,k=n;do l=k,k=zk(k,10),d[--t]=Ae(nr(48,bs(l,er(k,10))))&ui;while(Ec(k,0)!=0);if(r=bs(bs(bs(a,t),e),1),e==0)return h&&(d[--t]=45),ws(d,t,a-t);if(e>0&&Ec(r,-6)>=0){if(Ec(r,0)>=0){for(c=t+Ae(r),f=a-1;f>=c;f--)d[f+1]=d[f];return d[++c]=46,h&&(d[--t]=45),ws(d,t,a-t+1)}for(s=2;ND(s,nr(n1(r),1));s++)d[--t]=48;return d[--t]=46,d[--t]=48,h&&(d[--t]=45),ws(d,t,a-t)}return m=t+1,i=a,g=new fg,h&&(g.a+="-"),i-m>=1?(z1(g,d[t]),g.a+=".",g.a+=ws(d,t+1,a-t-1)):g.a+=ws(d,t,a-t),g.a+="E",Ec(r,0)>0&&(g.a+="+"),g.a+=""+R6(r),g.a}function q0(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X;if(j=new V(n.g,n.f),k=ynn(n),k.a=y.Math.max(k.a,e),k.b=y.Math.max(k.b,t),X=k.a/j.a,a=k.b/j.b,N=k.a-j.a,h=k.b-j.b,i)for(s=At(n)?u(z(At(n),(He(),_d)),88):u(z(n,(He(),_d)),88),f=x(z(n,(He(),m9)))===x((Oi(),qc)),I=new ne((!n.c&&(n.c=new q(Qu,n,9,9)),n.c));I.e!=I.i.gc();)switch(S=u(ue(I),123),O=u(z(S,H2),64),O==(en(),sc)&&(O=Fen(S,s),ht(S,H2,O)),O.g){case 1:f||eu(S,S.i*X);break;case 2:eu(S,S.i+N),f||tu(S,S.j*a);break;case 3:f||eu(S,S.i*X),tu(S,S.j+h);break;case 4:f||tu(S,S.j*a)}if(kg(n,k.a,k.b),r)for(g=new ne((!n.n&&(n.n=new q(Ar,n,1,7)),n.n));g.e!=g.i.gc();)d=u(ue(g),135),p=d.i+d.g/2,m=d.j+d.f/2,_=p/j.a,l=m/j.b,_+l>=1&&(_-l>0&&m>=0?(eu(d,d.i+N),tu(d,d.j+h*l)):_-l<0&&p>=0&&(eu(d,d.i+N*_),tu(d,d.j+h)));return ht(n,(He(),Hd),(go(),c=u(of(A9),9),new _o(c,u(xs(c,c.length),9),0))),new V(X,a)}function QGn(n){i0(n,new gd(qE(n0(Qd(Zd(Yd(new Ka,es),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new X4n),es))),Q(n,es,TS,rn(fce)),Q(n,es,yw,rn(hce)),Q(n,es,r2,rn(cce)),Q(n,es,d3,rn(uce)),Q(n,es,a3,rn(oce)),Q(n,es,zm,rn(rce)),Q(n,es,t8,rn(Vln)),Q(n,es,Xm,rn(sce)),Q(n,es,XR,rn(kq)),Q(n,es,zR,rn(yq)),Q(n,es,LS,rn(Jln)),Q(n,es,VR,rn(jq)),Q(n,es,WR,rn(Qln)),Q(n,es,Urn,rn(Yln)),Q(n,es,qrn,rn(Wln)),Q(n,es,Rrn,rn(_I)),Q(n,es,Krn,rn(HI)),Q(n,es,_rn,rn(xj)),Q(n,es,Hrn,rn(Zln)),Q(n,es,Brn,rn(Xln))}function zA(n){var e,t,i,r,c,s,f,h,l,a,d;if(n==null)throw M(new th(gu));if(l=n,c=n.length,h=!1,c>0&&(e=(zn(0,n.length),n.charCodeAt(0)),(e==45||e==43)&&(n=(zn(1,n.length+1),n.substr(1)),--c,h=e==45)),c==0)throw M(new th(z0+l+'"'));for(;n.length>0&&(zn(0,n.length),n.charCodeAt(0)==48);)n=(zn(1,n.length+1),n.substr(1)),--c;if(c>(SUn(),gQn)[10])throw M(new th(z0+l+'"'));for(r=0;r0&&(d=-parseInt((Fi(0,i,n.length),n.substr(0,i)),10),n=(zn(i,n.length+1),n.substr(i)),c-=i,t=!1);c>=s;){if(i=parseInt((Fi(0,s,n.length),n.substr(0,s)),10),n=(zn(s,n.length+1),n.substr(s)),c-=s,t)t=!1;else{if(Ec(d,f)<0)throw M(new th(z0+l+'"'));d=er(d,a)}d=bs(d,i)}if(Ec(d,0)>0)throw M(new th(z0+l+'"'));if(!h&&(d=n1(d),Ec(d,0)<0))throw M(new th(z0+l+'"'));return d}function rtn(n){UF();var e,t,i,r,c,s,f,h;if(n==null)return null;if(r=ih(n,wu(37)),r<0)return n;for(h=new mo((Fi(0,r,n.length),n.substr(0,r))),e=K(Fu,s2,28,4,15,1),f=0,i=0,s=n.length;rr+2&&R$((zn(r+1,n.length),n.charCodeAt(r+1)),Fdn,Bdn)&&R$((zn(r+2,n.length),n.charCodeAt(r+2)),Fdn,Bdn))if(t=gbe((zn(r+1,n.length),n.charCodeAt(r+1)),(zn(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?e[f++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(e[f++]=t<<24>>24,i=2):(t&240)==224?(e[f++]=t<<24>>24,i=3):(t&248)==240&&(e[f++]=t<<24>>24,i=4)),i>0){if(f==i){switch(f){case 2:{z1(h,((e[0]&31)<<6|e[1]&63)&ui);break}case 3:{z1(h,((e[0]&15)<<12|(e[1]&63)<<6|e[2]&63)&ui);break}}f=0,i=0}}else{for(c=0;c=2){if((!n.a&&(n.a=new q(Mt,n,6,6)),n.a).i==0)t=(B1(),r=new yE,r),ve((!n.a&&(n.a=new q(Mt,n,6,6)),n.a),t);else if((!n.a&&(n.a=new q(Mt,n,6,6)),n.a).i>1)for(g=new kp((!n.a&&(n.a=new q(Mt,n,6,6)),n.a));g.e!=g.i.gc();)P5(g);ay(e,u(L((!n.a&&(n.a=new q(Mt,n,6,6)),n.a),0),166))}if(d)for(i=new ne((!n.a&&(n.a=new q(Mt,n,6,6)),n.a));i.e!=i.i.gc();)for(t=u(ue(i),166),l=new ne((!t.a&&(t.a=new ti(xo,t,5)),t.a));l.e!=l.i.gc();)h=u(ue(l),377),f.a=y.Math.max(f.a,h.a),f.b=y.Math.max(f.b,h.b);for(s=new ne((!n.n&&(n.n=new q(Ar,n,1,7)),n.n));s.e!=s.i.gc();)c=u(ue(s),135),a=u(z(c,y9),8),a&&Ro(c,a.a,a.b),d&&(f.a=y.Math.max(f.a,c.i+c.g),f.b=y.Math.max(f.b,c.j+c.f));return f}function ZGn(n,e,t,i,r){var c,s,f;if(ZNn(n,e),s=e[0],c=Xi(t.c,0),f=-1,tY(t))if(i>0){if(s+i>n.length)return!1;f=yA((Fi(0,s+i,n.length),n.substr(0,s+i)),e)}else f=yA(n,e);switch(c){case 71:return f=Ug(n,s,A(T(fn,1),J,2,6,[Bzn,Rzn]),e),r.e=f,!0;case 77:return lAe(n,e,r,f,s);case 76:return aAe(n,e,r,f,s);case 69:return iEe(n,e,s,r);case 99:return rEe(n,e,s,r);case 97:return f=Ug(n,s,A(T(fn,1),J,2,6,["AM","PM"]),e),r.b=f,!0;case 121:return dAe(n,e,s,f,t,r);case 100:return f<=0?!1:(r.c=f,!0);case 83:return f<0?!1:v8e(f,s,e[0],r);case 104:f==12&&(f=0);case 75:case 72:return f<0?!1:(r.f=f,r.g=!1,!0);case 107:return f<0?!1:(r.f=f,r.g=!0,!0);case 109:return f<0?!1:(r.j=f,!0);case 115:return f<0?!1:(r.n=f,!0);case 90:if(sjn[h]&&(j=h),d=new C(n.a.b);d.a1;){if(r=rTe(e),d=c.g,m=u(z(e,f9),107),k=$(R(z(e,zI))),(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i>1&&$(R(z(e,(_h(),Iq))))!=St&&(c.c+(m.b+m.c))/(c.b+(m.d+m.a))1&&$(R(z(e,(_h(),Pq))))!=St&&(c.c+(m.b+m.c))/(c.b+(m.d+m.a))>k&&ht(r,(_h(),Xw),y.Math.max($(R(z(e,s9))),$(R(z(r,Xw)))-$(R(z(e,Pq))))),p=new aX(i,a),h=vzn(p,r,g),l=h.g,l>=d&&l==l){for(s=0;s<(!r.a&&(r.a=new q(Ye,r,10,11)),r.a).i;s++)z_n(n,u(L((!r.a&&(r.a=new q(Ye,r,10,11)),r.a),s),27),u(L((!e.a&&(e.a=new q(Ye,e,10,11)),e.a),s),27));M$n(e,p),s2e(c,h.c),o2e(c,h.b)}--f}ht(e,(_h(),o9),c.b),ht(e,Lv,c.c),t.Vg()}function ZDe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I;for(e.Ug("Interactive node layering",1),t=new Z,g=new C(n.a);g.a=f){oe(I.b>0),I.a.Xb(I.c=--I.b);break}else j.a>h&&(i?(hi(i.b,j.b),i.a=y.Math.max(i.a,j.a),bo(I)):(nn(j.b,a),j.c=y.Math.min(j.c,h),j.a=y.Math.max(j.a,f),i=j));i||(i=new Xyn,i.c=h,i.a=f,Rb(I,i),nn(i.b,a))}for(s=n.b,l=0,S=new C(t);S.ap&&(c&&(ir(X,g),ir(jn,Y(l.b-1))),xe=t.b,Lt+=g+e,g=0,a=y.Math.max(a,t.b+t.c+te)),eu(f,xe),tu(f,Lt),a=y.Math.max(a,xe+te+t.c),g=y.Math.max(g,d),xe+=te+e;if(a=y.Math.max(a,i),Bn=Lt+g+t.a,Bnvh,kn=y.Math.abs(g.b-m.b)>vh,(!t&&jn&&kn||t&&(jn||kn))&&Fe(j.a,N)),Bi(j.a,i),i.b==0?g=N:g=(oe(i.b!=0),u(i.c.b.c,8)),Rve(p,d,k),Cxn(r)==tn&&(Hi(tn.i)!=r.a&&(k=new Li,pnn(k,Hi(tn.i),I)),U(j,pH,k)),yje(p,j,I),a.a.zc(p,a);Zi(j,_),Ii(j,tn)}for(l=a.a.ec().Kc();l.Ob();)h=u(l.Pb(),18),Zi(h,null),Ii(h,null);e.Vg()}function tLe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(r=u(v(n,(lc(),pb)),88),a=r==(ci(),Br)||r==Xr?Wf:Xr,t=u(Wr(ut(new Tn(null,new In(n.b,16)),new Z3n),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),h=u(Wr(_r(t.Oc(),new bkn(e)),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[Yr]))),15),h.Gc(u(Wr(_r(t.Oc(),new wkn(e)),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[Yr]))),16)),h.jd(new gkn(a)),g=new Ul(new pkn(r)),i=new de,f=h.Kc();f.Ob();)s=u(f.Pb(),240),l=u(s.a,39),on(un(s.c))?(g.a.zc(l,(_n(),ga))==null,new Q3(g.a.Zc(l,!1)).a.gc()>0&&Ve(i,l,u(new Q3(g.a.Zc(l,!1)).a.Vc(),39)),new Q3(g.a.ad(l,!0)).a.gc()>1&&Ve(i,SBn(g,l),l)):(new Q3(g.a.Zc(l,!1)).a.gc()>0&&(c=u(new Q3(g.a.Zc(l,!1)).a.Vc(),39),x(c)===x(Kr(wr(i.f,l)))&&u(v(l,(pt(),eq)),15).Fc(c)),new Q3(g.a.ad(l,!0)).a.gc()>1&&(d=SBn(g,l),x(Kr(wr(i.f,d)))===x(l)&&u(v(d,(pt(),eq)),15).Fc(l)),g.a.Bc(l)!=null)}function nzn(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N;if(n.gc()==1)return u(n.Xb(0),235);if(n.gc()<=0)return new zM;for(r=n.Kc();r.Ob();){for(t=u(r.Pb(),235),m=0,a=et,d=et,h=Wi,l=Wi,p=new C(t.e);p.af&&(O=0,N+=s+S,s=0),PSe(k,t,O,N),e=y.Math.max(e,O+j.a),s=y.Math.max(s,j.b),O+=j.a+S;return k}function iLe(n){xen();var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(n==null||(c=iT(n),m=O5e(c),m%4!=0))return null;if(k=m/4|0,k==0)return K(Fu,s2,28,0,15,1);for(d=null,e=0,t=0,i=0,r=0,s=0,f=0,h=0,l=0,p=0,g=0,a=0,d=K(Fu,s2,28,k*3,15,1);p>4)<<24>>24,d[g++]=((t&15)<<4|i>>2&15)<<24>>24,d[g++]=(i<<6|r)<<24>>24}return!n7(s=c[a++])||!n7(f=c[a++])?null:(e=nh[s],t=nh[f],h=c[a++],l=c[a++],nh[h]==-1||nh[l]==-1?h==61&&l==61?t&15?null:(j=K(Fu,s2,28,p*3+1,15,1),Ic(d,0,j,0,p*3),j[g]=(e<<2|t>>4)<<24>>24,j):h!=61&&l==61?(i=nh[h],i&3?null:(j=K(Fu,s2,28,p*3+2,15,1),Ic(d,0,j,0,p*3),j[g++]=(e<<2|t>>4)<<24>>24,j[g]=((t&15)<<4|i>>2&15)<<24>>24,j)):null:(i=nh[h],r=nh[l],d[g++]=(e<<2|t>>4)<<24>>24,d[g++]=((t&15)<<4|i>>2&15)<<24>>24,d[g++]=(i<<6|r)<<24>>24,d))}function rLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_;for(e.Ug(XXn,1),m=u(v(n,(cn(),$l)),223),r=new C(n.b);r.a=2){for(k=!0,g=new C(c.j),t=u(E(g),12),p=null;g.a0)if(i=d.gc(),l=wi(y.Math.floor((i+1)/2))-1,r=wi(y.Math.ceil((i+1)/2))-1,e.o==Xf)for(a=r;a>=l;a--)e.a[N.p]==N&&(k=u(d.Xb(a),42),m=u(k.a,10),!sf(t,k.b)&&p>n.b.e[m.p]&&(e.a[m.p]=N,e.g[N.p]=e.g[m.p],e.a[N.p]=e.g[N.p],e.f[e.g[N.p].p]=(_n(),!!(on(e.f[e.g[N.p].p])&N.k==(Vn(),Mi))),p=n.b.e[m.p]));else for(a=l;a<=r;a++)e.a[N.p]==N&&(S=u(d.Xb(a),42),j=u(S.a,10),!sf(t,S.b)&&p0&&(r=u(sn(j.c.a,X-1),10),s=n.i[r.p],jn=y.Math.ceil(jg(n.n,r,j)),c=_.a.e-j.d.d-(s.a.e+r.o.b+r.d.a)-jn),l=St,X0&&tn.a.e.e-tn.a.a-(tn.b.e.e-tn.b.a)<0,m=O.a.e.e-O.a.a-(O.b.e.e-O.b.a)<0&&tn.a.e.e-tn.a.a-(tn.b.e.e-tn.b.a)>0,p=O.a.e.e+O.b.atn.b.e.e+tn.a.a,N=0,!k&&!m&&(g?c+d>0?N=d:l-i>0&&(N=i):p&&(c+f>0?N=f:l-I>0&&(N=I))),_.a.e+=N,_.b&&(_.d.e+=N),!1))}function tzn(n,e,t){var i,r,c,s,f,h,l,a,d,g;if(i=new Ho(e.Lf().a,e.Lf().b,e.Mf().a,e.Mf().b),r=new mp,n.c)for(s=new C(e.Rf());s.al&&(i.a+=PTn(K(fs,gh,28,-l,15,1))),i.a+="Is",ih(h,wu(32))>=0)for(r=0;r=i.o.b/2}else I=!d;I?(S=u(v(i,(W(),P3)),15),S?g?c=S:(r=u(v(i,C3),15),r?S.gc()<=r.gc()?c=S:c=r:(c=new Z,U(i,C3,c))):(c=new Z,U(i,P3,c))):(r=u(v(i,(W(),C3)),15),r?d?c=r:(S=u(v(i,P3),15),S?r.gc()<=S.gc()?c=r:c=S:(c=new Z,U(i,P3,c))):(c=new Z,U(i,C3,c))),c.Fc(n),U(n,(W(),tI),t),e.d==t?(Ii(e,null),t.e.c.length+t.g.c.length==0&&ic(t,null),j6e(t)):(Zi(e,null),t.e.c.length+t.g.c.length==0&&ic(t,null)),vo(e.a)}function sLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn,te,xe,Lt;for(t.Ug("MinWidth layering",1),p=e.b,tn=e.a,Lt=u(v(e,(cn(),ehn)),17).a,f=u(v(e,thn),17).a,n.b=$(R(v(e,Ws))),n.d=St,N=new C(tn);N.a0?(l=0,j&&(l+=f),l+=(kn-1)*s,O&&(l+=f),jn&&O&&(l=y.Math.max(l,STe(O,s,I,tn))),l=n.a&&(i=UPe(n,I),a=y.Math.max(a,i.b),N=y.Math.max(N,i.d),nn(f,new bi(I,i)));for(jn=new Z,l=0;l0),j.a.Xb(j.c=--j.b),kn=new Lc(n.b),Rb(j,kn),oe(j.b0){for(g=a<100?null:new F1(a),l=new RQ(e),m=l.g,S=K(ye,_e,28,a,15,1),i=0,N=new T0(a),r=0;r=0;)if(p!=null?rt(p,m[h]):x(p)===x(m[h])){S.length<=i&&(j=S,S=K(ye,_e,28,2*S.length,15,1),Ic(j,0,S,0,i)),S[i++]=r,ve(N,m[h]);break n}if(p=p,x(p)===x(f))break}}if(l=N,m=N.g,a=i,i>S.length&&(j=S,S=K(ye,_e,28,i,15,1),Ic(j,0,S,0,i)),i>0){for(O=!0,c=0;c=0;)Jp(n,S[s]);if(i!=a){for(r=a;--r>=i;)Jp(l,r);j=S,S=K(ye,_e,28,i,15,1),Ic(j,0,S,0,i)}e=l}}}else for(e=M7e(n,e),r=n.i;--r>=0;)e.Hc(n.g[r])&&(Jp(n,r),O=!0);if(O){if(S!=null){for(t=e.gc(),d=t==1?X6(n,4,e.Kc().Pb(),null,S[0],k):X6(n,6,e,S,S[0],k),g=t<100?null:new F1(t),r=e.Kc();r.Ob();)p=r.Pb(),g=SV(n,u(p,76),g);g?(g.nj(d),g.oj()):it(n.e,d)}else{for(g=Oae(e.gc()),r=e.Kc();r.Ob();)p=r.Pb(),g=SV(n,u(p,76),g);g&&g.oj()}return!0}else return!1}function lLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O;for(t=new kRn(e),t.a||KSe(e),l=FAe(e),h=new j0,j=new Eqn,k=new C(e.a);k.a0||t.o==Xf&&r=t}function dLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn,te;for(O=e,I=new j0,N=new j0,a=M0(O,Tcn),i=new PIn(n,t,I,N),Lje(i.a,i.b,i.c,i.d,a),h=(tn=I.i,tn||(I.i=new Mg(I,I.c))),kn=h.Kc();kn.Ob();)for(jn=u(kn.Pb(),166),r=u(ot(I,jn),21),k=r.Kc();k.Ob();)if(m=k.Pb(),_=u(Lg(n.d,m),166),_)f=(!jn.e&&(jn.e=new Nn(Mt,jn,10,9)),jn.e),ve(f,_);else throw s=bl(O,Eh),g=kWn+m+yWn+s,p=g+tv,M(new eh(p));for(l=(X=N.i,X||(N.i=new Mg(N,N.c))),Bn=l.Kc();Bn.Ob();)for(Kn=u(Bn.Pb(),166),c=u(ot(N,Kn),21),S=c.Kc();S.Ob();)if(j=S.Pb(),_=u(Lg(n.d,j),166),_)d=(!Kn.g&&(Kn.g=new Nn(Mt,Kn,9,10)),Kn.g),ve(d,_);else throw s=bl(O,Eh),g=kWn+j+yWn+s,p=g+tv,M(new eh(p));!t.b&&(t.b=new Nn(he,t,4,7)),t.b.i!=0&&(!t.c&&(t.c=new Nn(he,t,5,8)),t.c.i!=0)&&(!t.b&&(t.b=new Nn(he,t,4,7)),t.b.i<=1&&(!t.c&&(t.c=new Nn(he,t,5,8)),t.c.i<=1))&&(!t.a&&(t.a=new q(Mt,t,6,6)),t.a).i==1&&(te=u(L((!t.a&&(t.a=new q(Mt,t,6,6)),t.a),0),166),!Sx(te)&&!Px(te)&&(mT(te,u(L((!t.b&&(t.b=new Nn(he,t,4,7)),t.b),0),84)),vT(te,u(L((!t.c&&(t.c=new Nn(he,t,5,8)),t.c),0),84))))}function bLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn;for(O=n.a,N=0,_=O.length;N<_;++N){for(I=O[N],l=et,a=et,m=new C(I.e);m.a0?(d=u(sn(g.c.a,s-1),10),jn=jg(n.b,g,d),j=g.n.b-g.d.d-(d.n.b+d.o.b+d.d.a+jn)):j=g.n.b-g.d.d,l=y.Math.min(j,l),s1&&(s=y.Math.min(s,y.Math.abs(u(Zo(f.a,1),8).b-a.b)))));else for(k=new C(e.j);k.ar&&(c=g.a-r,s=et,i.c.length=0,r=g.a),g.a>=r&&(Rn(i.c,f),f.a.b>1&&(s=y.Math.min(s,y.Math.abs(u(Zo(f.a,f.a.b-2),8).b-g.b)))));if(i.c.length!=0&&c>e.o.a/2&&s>e.o.b/2){for(p=new Pc,ic(p,e),gi(p,(en(),Xn)),p.n.a=e.o.a/2,S=new Pc,ic(S,e),gi(S,ae),S.n.a=e.o.a/2,S.n.b=e.o.b,h=new C(i);h.a=l.b?Zi(f,S):Zi(f,p)):(l=u(cbe(f.a),8),j=f.a.b==0?If(f.c):u($s(f.a),8),j.b>=l.b?Ii(f,S):Ii(f,p)),d=u(v(f,(cn(),Fr)),75),d&&iw(d,l,!0);e.n.a=r-e.o.a/2}}function gLe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(f=ge(n.b,0);f.b!=f.d.c;)if(s=u(be(f),39),!An(s.c,IS))for(l=_Ce(s,n),e==(ci(),Br)||e==Xr?Yt(l,new C4n):Yt(l,new M4n),h=l.c.length,i=0;i=0?p=zp(f):p=$k(zp(f)),n.qf(Cv,p)),l=new Li,g=!1,n.pf(ab)?(YX(l,u(n.of(ab),8)),g=!0):T1e(l,s.a/2,s.b/2),p.g){case 4:U(a,ou,(Yo(),ya)),U(a,rI,(hd(),m2)),a.o.b=s.b,k<0&&(a.o.a=-k),gi(d,(en(),Zn)),g||(l.a=s.a),l.a-=s.a;break;case 2:U(a,ou,(Yo(),xw)),U(a,rI,(hd(),pv)),a.o.b=s.b,k<0&&(a.o.a=-k),gi(d,(en(),Wn)),g||(l.a=0);break;case 1:U(a,Od,(vl(),k2)),a.o.a=s.a,k<0&&(a.o.b=-k),gi(d,(en(),ae)),g||(l.b=s.b),l.b-=s.b;break;case 3:U(a,Od,(vl(),E3)),a.o.a=s.a,k<0&&(a.o.b=-k),gi(d,(en(),Xn)),g||(l.b=0)}if(YX(d.n,l),U(a,ab,l),e==Ud||e==tl||e==qc){if(m=0,e==Ud&&n.pf(v1))switch(p.g){case 1:case 2:m=u(n.of(v1),17).a;break;case 3:case 4:m=-u(n.of(v1),17).a}else switch(p.g){case 4:case 2:m=c.b,e==tl&&(m/=r.b);break;case 1:case 3:m=c.a,e==tl&&(m/=r.a)}U(a,ob,m)}return U(a,gc,p),a}function pLe(){Ez();function n(i){var r=this;this.dispatch=function(c){var s=c.data;switch(s.cmd){case"algorithms":var f=UY((Dn(),new J3(new ol(Da.b))));i.postMessage({id:s.id,data:f});break;case"categories":var h=UY((Dn(),new J3(new ol(Da.c))));i.postMessage({id:s.id,data:h});break;case"options":var l=UY((Dn(),new J3(new ol(Da.d))));i.postMessage({id:s.id,data:l});break;case"register":kOe(s.algorithms),i.postMessage({id:s.id});break;case"layout":WPe(s.graph,s.layoutOptions||{},s.options||{}),i.postMessage({id:s.id,data:s.graph});break}},this.saveDispatch=function(c){try{r.dispatch(c)}catch(s){i.postMessage({id:c.data.id,error:s})}}}function e(i){var r=this;this.dispatcher=new n({postMessage:function(c){r.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===xB&&typeof self!==xB){var t=new n(self);self.onmessage=t.saveDispatch}else typeof gt!==xB&>.exports&&(Object.defineProperty(Sr,"__esModule",{value:!0}),gt.exports={default:e,Worker:e})}function szn(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(a=new Tl(t),Ur(a,e),U(a,(W(),st),e),a.o.a=e.g,a.o.b=e.f,a.n.a=e.i,a.n.b=e.j,nn(t.a,a),Ve(n.a,e,a),((!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i!=0||on(un(z(e,(cn(),Rw)))))&&U(a,Qsn,(_n(),!0)),l=u(v(t,Hc),21),d=u(v(a,(cn(),Kt)),101),d==(Oi(),Pa)?U(a,Kt,Qf):d!=Qf&&l.Fc((pr(),kv)),g=0,i=u(v(t,Do),88),h=new ne((!e.c&&(e.c=new q(Qu,e,9,9)),e.c));h.e!=h.i.gc();)f=u(ue(h),123),r=At(e),(x(z(r,Yh))!==x((lh(),k1))||x(z(r,Ld))===x((o1(),gv))||x(z(r,Ld))===x((o1(),wv))||on(un(z(r,fb)))||x(z(r,Fw))!==x((dd(),Ow))||x(z(r,ja))===x((ps(),wb))||x(z(r,ja))===x((ps(),Uw))||x(z(r,$d))===x((a1(),Sv))||x(z(r,$d))===x((a1(),Pv)))&&!on(un(z(e,lI)))&&ht(f,dt,Y(g++)),on(un(z(f,Fd)))||ADe(n,f,a,l,i,d);for(s=new ne((!e.n&&(e.n=new q(Ar,e,1,7)),e.n));s.e!=s.i.gc();)c=u(ue(s),135),!on(un(z(c,Fd)))&&c.a&&nn(a.b,ex(c));return on(un(v(a,_8)))&&l.Fc((pr(),ZP)),on(un(v(a,wI)))&&(l.Fc((pr(),nI)),l.Fc($8),U(a,Kt,Qf)),a}function QF(n,e,t,i,r,c,s){var f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn,te,xe,Lt;for(k=0,Kn=0,l=new C(n.b);l.ak&&(c&&(ir(X,p),ir(jn,Y(a.b-1)),nn(n.d,m),f.c.length=0),xe=t.b,Lt+=p+e,p=0,d=y.Math.max(d,t.b+t.c+te)),Rn(f.c,h),aRn(h,xe,Lt),d=y.Math.max(d,xe+te+t.c),p=y.Math.max(p,g),xe+=te+e,m=h;if(hi(n.a,f),nn(n.d,u(sn(f,f.c.length-1),163)),d=y.Math.max(d,i),Bn=Lt+p+t.a,Bnr.d.d+r.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))),i.b!=i.d.c&&(e=t);a&&(c=u(ee(n.f,s.d.i),60),e.bc.d.d+c.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))}for(f=new ie(ce(ji(p).a.Kc(),new En));pe(f);)s=u(fe(f),18),s.a.b!=0&&(e=u($s(s.a),8),s.d.j==(en(),Xn)&&(j=new _5(e,new V(e.a,r.d.d),r,s),j.f.a=!0,j.a=s.d,Rn(k.c,j)),s.d.j==ae&&(j=new _5(e,new V(e.a,r.d.d+r.d.a),r,s),j.f.d=!0,j.a=s.d,Rn(k.c,j)))}return k}function ELe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(h=new Z,d=e.length,s=eY(t),l=0;l=m&&(I>m&&(p.c.length=0,m=I),Rn(p.c,s));p.c.length!=0&&(g=u(sn(p,cA(e,p.c.length)),131),Bn.a.Bc(g)!=null,g.s=k++,Ynn(g,kn,X),p.c.length=0)}for(N=n.c.length+1,f=new C(n);f.aKn.s&&(bo(t),du(Kn.i,i),i.c>0&&(i.a=Kn,nn(Kn.t,i),i.b=tn,nn(tn.i,i)))}function fzn(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn;for(k=new Gc(e.b),N=new Gc(e.b),g=new Gc(e.b),jn=new Gc(e.b),j=new Gc(e.b),tn=ge(e,0);tn.b!=tn.d.c;)for(_=u(be(tn),12),f=new C(_.g);f.a0,S=_.g.c.length>0,l&&S?Rn(g.c,_):l?Rn(k.c,_):S&&Rn(N.c,_);for(m=new C(k);m.aI.nh()-l.b&&(g=I.nh()-l.b),p>I.oh()-l.d&&(p=I.oh()-l.d),a0){for(O=ge(n.f,0);O.b!=O.d.c;)I=u(be(O),10),I.p+=g-n.e;mnn(n),vo(n.f),aen(n,i,p)}else{for(Fe(n.f,p),p.p=i,n.e=y.Math.max(n.e,i),c=new ie(ce(ji(p).a.Kc(),new En));pe(c);)r=u(fe(c),18),!r.c.i.c&&r.c.i.k==(Vn(),Ac)&&(Fe(n.f,r.c.i),r.c.i.p=i-1);n.c=i}else mnn(n),vo(n.f),i=0,pe(new ie(ce(ji(p).a.Kc(),new En)))?(g=0,g=pRn(g,p),i=g+2,aen(n,i,p)):(Fe(n.f,p),p.p=0,n.e=y.Math.max(n.e,0),n.b=u(sn(n.d.b,0),30),n.c=0);for(n.f.b==0||mnn(n),n.d.a.c.length=0,S=new Z,l=new C(n.d.b);l.a=48&&e<=57){for(i=e-48;r=48&&e<=57;)if(i=i*10+e-48,i<0)throw M(new Le($e((Ie(),Rcn))))}else throw M(new Le($e((Ie(),XWn))));if(t=i,e==44){if(r>=n.j)throw M(new Le($e((Ie(),WWn))));if((e=Xi(n.i,r++))>=48&&e<=57){for(t=e-48;r=48&&e<=57;)if(t=t*10+e-48,t<0)throw M(new Le($e((Ie(),Rcn))));if(i>t)throw M(new Le($e((Ie(),JWn))))}else t=-1}if(e!=125)throw M(new Le($e((Ie(),VWn))));n.bm(r)?(c=(nt(),nt(),new Xb(9,c)),n.d=r+1):(c=(nt(),nt(),new Xb(3,c)),n.d=r),c.Om(i),c.Nm(t),Ze(n)}}return c}function PLe(n){var e,t,i,r,c;switch(t=u(v(n,(W(),Hc)),21),e=OC(mZn),r=u(v(n,(cn(),Bw)),346),r==(jl(),M1)&&Mo(e,vZn),on(un(v(n,TH)))?Ke(e,(Vi(),Vs),(tr(),$_)):Ke(e,(Vi(),Oc),(tr(),$_)),v(n,(JM(),d9))!=null&&Mo(e,kZn),(on(un(v(n,Yfn)))||on(un(v(n,Vfn))))&&Pu(e,(Vi(),zr),(tr(),Xon)),u(v(n,Do),88).g){case 2:case 3:case 4:Pu(Ke(e,(Vi(),Vs),(tr(),Won)),zr,Von)}switch(t.Hc((pr(),ZP))&&Pu(Ke(Ke(e,(Vi(),Vs),(tr(),zon)),Kc,Uon),zr,Gon),x(v(n,ja))!==x((ps(),AI))&&Ke(e,(Vi(),Oc),(tr(),hsn)),t.Hc(eI)&&(Ke(e,(Vi(),Vs),(tr(),bsn)),Ke(e,Jh,asn),Ke(e,Oc,dsn)),x(v(n,fI))!==x((ym(),N8))&&x(v(n,$l))!==x((El(),Qj))&&Pu(e,(Vi(),zr),(tr(),rsn)),on(un(v(n,Jfn)))&&Ke(e,(Vi(),Oc),(tr(),isn)),on(un(v(n,jH)))&&Ke(e,(Vi(),Oc),(tr(),wsn)),HMe(n)&&(x(v(n,Bw))===x(M1)?i=u(v(n,Ej),298):i=u(v(n,yH),298),c=i==(Y4(),uH)?(tr(),lsn):(tr(),msn),Ke(e,(Vi(),Kc),c)),u(v(n,Chn),388).g){case 1:Ke(e,(Vi(),Kc),(tr(),gsn));break;case 2:Pu(Ke(Ke(e,(Vi(),Oc),(tr(),Kon)),Kc,_on),zr,Hon)}return x(v(n,Yh))!==x((lh(),k1))&&Ke(e,(Vi(),Oc),(tr(),psn)),e}function dzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O;if(Zc(n.a,e)){if(sf(u(ee(n.a,e),49),t))return 1}else Ve(n.a,e,new ni);if(Zc(n.a,t)){if(sf(u(ee(n.a,t),49),e))return-1}else Ve(n.a,t,new ni);if(Zc(n.e,e)){if(sf(u(ee(n.e,e),49),t))return-1}else Ve(n.e,e,new ni);if(Zc(n.e,t)){if(sf(u(ee(n.a,t),49),e))return 1}else Ve(n.e,t,new ni);if(n.c==(lh(),HH)||!kt(e,(W(),dt))||!kt(t,(W(),dt))){for(d=null,l=new C(e.j);l.as?Sm(n,e,t):Sm(n,t,e),rs?1:0}return i=u(v(e,(W(),dt)),17).a,c=u(v(t,dt),17).a,i>c?Sm(n,e,t):Sm(n,t,e),ic?1:0}function U0(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(t==null)return null;if(n.a!=e.jk())throw M(new Gn(nv+e.xe()+Y0));if(D(e,468)){if(j=kAe(u(e,685),t),!j)throw M(new Gn(fK+t+"' is not a valid enumerator of '"+e.xe()+"'"));return j}switch(r1((Du(),zi),e).Nl()){case 2:{t=Fc(t,!1);break}case 3:{t=Fc(t,!0);break}}if(i=r1(zi,e).Jl(),i)return i.jk().wi().ti(i,t);if(g=r1(zi,e).Ll(),g){for(j=new Z,l=z$(t),a=0,d=l.length;a1)for(m=new kp((!n.a&&(n.a=new q(Mt,n,6,6)),n.a));m.e!=m.i.gc();)P5(m);for(s=u(L((!n.a&&(n.a=new q(Mt,n,6,6)),n.a),0),166),j=xe,xe>_+N?j=_+N:xe<_-N&&(j=_-N),S=Lt,Lt>X+k?S=X+k:Lt_-N&&j<_+N&&S>X-k&&Sxe+te?jn=xe+te:_Lt+tn?kn=Lt+tn:Xxe-te&&jnLt-tn&&knt&&(g=t-1),p=D1+to(e,24)*Py*d-d/2,p<0?p=1:p>i&&(p=i-1),r=(B1(),h=new kE,h),aT(r,g),lT(r,p),ve((!s.a&&(s.a=new ti(xo,s,5)),s.a),r)}function bzn(n){i0(n,new gd(n0(Qd(Zd(Yd(new Ka,co),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new imn))),Q(n,co,l3,1.3),Q(n,co,Gm,(_n(),!1)),Q(n,co,X0,v1n),Q(n,co,yw,15),Q(n,co,MS,rn(Oce)),Q(n,co,r2,rn(Nce)),Q(n,co,d3,rn(xce)),Q(n,co,a3,rn(Fce)),Q(n,co,zm,rn(Lce)),Q(n,co,t8,rn(g1n)),Q(n,co,Xm,rn(Bce)),Q(n,co,Zrn,rn(E1n)),Q(n,co,ncn,rn(j1n)),Q(n,co,Yrn,rn(Lq)),Q(n,co,Qrn,rn(C1n)),Q(n,co,ecn,rn(m1n)),Q(n,co,tcn,rn(Dq)),Q(n,co,icn,rn(p1n)),Q(n,co,rcn,rn(y1n)),Q(n,co,e8,rn(w1n)),Q(n,co,AS,rn(Dce)),Q(n,co,Wrn,rn(Bj)),Q(n,co,Vrn,rn(b1n)),Q(n,co,Jrn,rn(Rj)),Q(n,co,Xrn,rn(k1n))}function ZF(n,e){BF();var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn,te,xe;if(jn=n.e,m=n.d,r=n.a,jn==0)switch(e){case 0:return"0";case 1:return Rm;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return X=new x1,e<0?X.a+="0E+":X.a+="0E",X.a+=-e,X.a}if(O=m*10+1+7,N=K(fs,gh,28,O+1,15,1),t=O,m==1)if(f=r[0],f<0){xe=vi(f,mr);do k=xe,xe=zk(xe,10),N[--t]=48+Ae(bs(k,er(xe,10)))&ui;while(Ec(xe,0)!=0)}else{xe=f;do k=xe,xe=xe/10|0,N[--t]=48+(k-xe*10)&ui;while(xe!=0)}else{Kn=K(ye,_e,28,m,15,1),te=m,Ic(r,0,Kn,0,te);n:for(;;){for(tn=0,l=te-1;l>=0;l--)Bn=nr(Bs(tn,32),vi(Kn[l],mr)),S=mye(Bn),Kn[l]=Ae(S),tn=Ae(d0(S,32));I=Ae(tn),j=t;do N[--t]=48+I%10&ui;while((I=I/10|0)!=0&&t!=0);for(i=9-j+t,h=0;h0;h++)N[--t]=48;for(d=te-1;Kn[d]==0;d--)if(d==0)break n;te=d+1}for(;N[t]==48;)++t}if(p=jn<0,s=O-t-e-1,e==0)return p&&(N[--t]=45),ws(N,t,O-t);if(e>0&&s>=-6){if(s>=0){for(a=t+s,g=O-1;g>=a;g--)N[g+1]=N[g];return N[++a]=46,p&&(N[--t]=45),ws(N,t,O-t+1)}for(d=2;d<-s+1;d++)N[--t]=48;return N[--t]=46,N[--t]=48,p&&(N[--t]=45),ws(N,t,O-t)}return kn=t+1,c=O,_=new fg,p&&(_.a+="-"),c-kn>=1?(z1(_,N[t]),_.a+=".",_.a+=ws(N,t+1,O-t-1)):_.a+=ws(N,t,O-t),_.a+="E",s>0&&(_.a+="+"),_.a+=""+s,_.a}function wzn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X;switch(n.c=e,n.g=new de,t=(Ob(),new Sb(n.c)),i=new PE(t),_Y(i),O=Oe(z(n.c,(Vk(),q1n))),h=u(z(n.c,qq),324),_=u(z(n.c,Uq),437),s=u(z(n.c,K1n),489),N=u(z(n.c,Hq),438),n.j=$(R(z(n.c,Yce))),f=n.a,h.g){case 0:f=n.a;break;case 1:f=n.b;break;case 2:f=n.i;break;case 3:f=n.e;break;case 4:f=n.f;break;default:throw M(new Gn(xS+(h.f!=null?h.f:""+h.g)))}if(n.d=new oOn(f,_,s),U(n.d,(W4(),P8),un(z(n.c,Jce))),n.d.c=on(un(z(n.c,_1n))),TM(n.c).i==0)return n.d;for(d=new ne(TM(n.c));d.e!=d.i.gc();){for(a=u(ue(d),27),p=a.g/2,g=a.f/2,X=new V(a.i+p,a.j+g);Zc(n.g,X);)h0(X,(y.Math.random()-.5)*vh,(y.Math.random()-.5)*vh);k=u(z(a,(He(),$v)),140),j=new yOn(X,new Ho(X.a-p-n.j/2-k.b,X.b-g-n.j/2-k.d,a.g+n.j+(k.b+k.c),a.f+n.j+(k.d+k.a))),nn(n.d.i,j),Ve(n.g,X,new bi(j,a))}switch(N.g){case 0:if(O==null)n.d.d=u(sn(n.d.i,0),68);else for(I=new C(n.d.i);I.a0?te+1:1);for(s=new C(X.g);s.a0?te+1:1)}n.c[l]==0?Fe(n.e,k):n.a[l]==0&&Fe(n.f,k),++l}for(m=-1,p=1,d=new Z,n.d=u(v(e,(W(),S3)),234);Fo>0;){for(;n.e.b!=0;)Lt=u(UL(n.e),10),n.b[Lt.p]=m--,Pen(n,Lt),--Fo;for(;n.f.b!=0;)Yu=u(UL(n.f),10),n.b[Yu.p]=p++,Pen(n,Yu),--Fo;if(Fo>0){for(g=Wi,I=new C(O);I.a=g&&(N>g&&(d.c.length=0,g=N),Rn(d.c,k)));a=n.sg(d),n.b[a.p]=p++,Pen(n,a),--Fo}}for(xe=O.c.length+1,l=0;ln.b[Rr]&&(H0(i,!0),U(e,vj,(_n(),!0)));n.a=null,n.c=null,n.b=null,vo(n.f),vo(n.e),t.Vg()}function gzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X;for(_=u(L((!n.a&&(n.a=new q(Mt,n,6,6)),n.a),0),166),a=new Mu,N=new de,X=MUn(_),Vc(N.f,_,X),g=new de,i=new Ct,m=$h(Eo(A(T(Oo,1),Fn,20,0,[(!e.d&&(e.d=new Nn(Vt,e,8,5)),e.d),(!e.e&&(e.e=new Nn(Vt,e,7,4)),e.e)])));pe(m);){if(p=u(fe(m),74),(!n.a&&(n.a=new q(Mt,n,6,6)),n.a).i!=1)throw M(new Gn(tWn+(!n.a&&(n.a=new q(Mt,n,6,6)),n.a).i));p!=n&&(j=u(L((!p.a&&(p.a=new q(Mt,p,6,6)),p.a),0),166),xt(i,j,i.c.b,i.c),k=u(Kr(wr(N.f,j)),13),k||(k=MUn(j),Vc(N.f,j,k)),d=t?mi(new rr(u(sn(X,X.c.length-1),8)),u(sn(k,k.c.length-1),8)):mi(new rr((Ln(0,X.c.length),u(X.c[0],8))),(Ln(0,k.c.length),u(k.c[0],8))),Vc(g.f,j,d))}if(i.b!=0)for(S=u(sn(X,t?X.c.length-1:0),8),l=1;l1&&xt(a,S,a.c.b,a.c),p$(r)));S=I}return a}function pzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn;for(t.Ug(pVn,1),Kn=u(Wr(ut(new Tn(null,new In(e,16)),new D4n),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),a=u(Wr(ut(new Tn(null,new In(e,16)),new vkn(e)),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[Yr]))),15),m=u(Wr(ut(new Tn(null,new In(e,16)),new mkn(e)),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[Yr]))),15),k=K(NI,OS,39,e.gc(),0,1),s=0;s=0&&kn=0&&!k[p]){k[p]=r,a.gd(f),--f;break}if(p=kn-g,p=0&&!k[p]){k[p]=r,a.gd(f),--f;break}}for(m.jd(new L4n),h=k.length-1;h>=0;h--)!k[h]&&!m.dc()&&(k[h]=u(m.Xb(0),39),m.gd(0));for(l=0;l=0;h--)Fe(t,(Ln(h,s.c.length),u(s.c[h],8)));return t}function vzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N;for(O=$(R(z(e,(_h(),Xw)))),p=$(R(z(e,s9))),g=$(R(z(e,UI))),LQ((!e.a&&(e.a=new q(Ye,e,10,11)),e.a)),S=fGn((!e.a&&(e.a=new q(Ye,e,10,11)),e.a),O,n.b),j=0;jg&&Uk((Ln(g,e.c.length),u(e.c[g],186)),a),a=null;e.c.length>g&&(Ln(g,e.c.length),u(e.c[g],186)).a.c.length==0;)du(e,(Ln(g,e.c.length),e.c[g]));if(!a){--s;continue}if(!on(un(u(sn(a.b,0),27).of((Rf(),Rj))))&&ZSe(e,m,c,a,j,t,g,i)){k=!0;continue}if(j){if(p=m.b,d=a.f,!on(un(u(sn(a.b,0),27).of(Rj)))&&pOe(e,m,c,a,t,g,i,r)){if(k=!0,p=n.j){n.a=-1,n.c=1;return}if(e=Xi(n.i,n.d++),n.a=e,n.b==1){switch(e){case 92:if(i=10,n.d>=n.j)throw M(new Le($e((Ie(),qS))));n.a=Xi(n.i,n.d++);break;case 45:(n.e&512)==512&&n.d=n.j||Xi(n.i,n.d)!=63)break;if(++n.d>=n.j)throw M(new Le($e((Ie(),jK))));switch(e=Xi(n.i,n.d++),e){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw M(new Le($e((Ie(),jK))));if(e=Xi(n.i,n.d++),e==61)i=16;else if(e==33)i=17;else throw M(new Le($e((Ie(),PWn))));break;case 35:for(;n.d=n.j)throw M(new Le($e((Ie(),qS))));n.a=Xi(n.i,n.d++);break;default:i=0}n.c=i}function RLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(t.Ug("Process compaction",1),!!on(un(v(e,(lc(),Eln))))){for(r=u(v(e,pb),88),p=$(R(v(e,fq))),aIe(n,e,r),tLe(e,p/2/2),m=e.b,ud(m,new lkn(r)),l=ge(m,0);l.b!=l.d.c;)if(h=u(be(l),39),!on(un(v(h,(pt(),Ma))))){if(i=BAe(h,r),k=LPe(h,e),d=0,g=0,i)switch(j=i.e,r.g){case 2:d=j.a-p-h.f.a,k.e.a-p-h.f.ad&&(d=k.e.a+k.f.a+p),g=d+h.f.a;break;case 4:d=j.b-p-h.f.b,k.e.b-p-h.f.bd&&(d=k.e.b+k.f.b+p),g=d+h.f.b}else if(k)switch(r.g){case 2:d=k.e.a-p-h.f.a,g=d+h.f.a;break;case 1:d=k.e.a+k.f.a+p,g=d+h.f.a;break;case 4:d=k.e.b-p-h.f.b,g=d+h.f.b;break;case 3:d=k.e.b+k.f.b+p,g=d+h.f.b}x(v(e,sq))===x((l5(),Dj))?(c=d,s=g,f=tm(ut(new Tn(null,new In(n.a,16)),new nMn(c,s))),f.a!=null?r==(ci(),Br)||r==Xr?h.e.a=d:h.e.b=d:(r==(ci(),Br)||r==us?f=tm(ut(I$n(new Tn(null,new In(n.a,16))),new akn(c))):f=tm(ut(I$n(new Tn(null,new In(n.a,16))),new dkn(c))),f.a!=null&&(r==Br||r==Xr?h.e.a=$(R((oe(f.a!=null),u(f.a,42)).a)):h.e.b=$(R((oe(f.a!=null),u(f.a,42)).a)))),f.a!=null&&(a=qr(n.a,(oe(f.a!=null),f.a),0),a>0&&a!=u(v(h,Sh),17).a&&(U(h,wln,(_n(),!0)),U(h,Sh,Y(a))))):r==(ci(),Br)||r==Xr?h.e.a=d:h.e.b=d}t.Vg()}}function kzn(n){var e,t,i,r,c,s,f,h,l;for(n.b=1,Ze(n),e=null,n.c==0&&n.a==94?(Ze(n),e=(nt(),nt(),new yo(4)),xc(e,0,rv),f=new yo(4)):f=(nt(),nt(),new yo(4)),r=!0;(l=n.c)!=1;){if(l==0&&n.a==93&&!r){e&&(z5(e,f),f=e);break}if(t=n.a,i=!1,l==10)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:gw(f,Pm(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(gw(f,Pm(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(h=Lnn(n,t),!h)throw M(new Le($e((Ie(),EK))));gw(f,h),i=!0;break;default:t=ben(n)}else if(l==24&&!r){if(e&&(z5(e,f),f=e),c=kzn(n),z5(f,c),n.c!=0||n.a!=93)throw M(new Le($e((Ie(),RWn))));break}if(Ze(n),!i){if(l==0){if(t==91)throw M(new Le($e((Ie(),Fcn))));if(t==93)throw M(new Le($e((Ie(),Bcn))));if(t==45&&!r&&n.a!=93)throw M(new Le($e((Ie(),CK))))}if(n.c!=0||n.a!=45||t==45&&r)xc(f,t,t);else{if(Ze(n),(l=n.c)==1)throw M(new Le($e((Ie(),US))));if(l==0&&n.a==93)xc(f,t,t),xc(f,45,45);else{if(l==0&&n.a==93||l==24)throw M(new Le($e((Ie(),CK))));if(s=n.a,l==0){if(s==91)throw M(new Le($e((Ie(),Fcn))));if(s==93)throw M(new Le($e((Ie(),Bcn))));if(s==45)throw M(new Le($e((Ie(),CK))))}else l==10&&(s=ben(n));if(Ze(n),t>s)throw M(new Le($e((Ie(),HWn))));xc(f,t,s)}}}r=!1}if(n.c==1)throw M(new Le($e((Ie(),US))));return Gg(f),U5(f),n.b=0,Ze(n),f}function KLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_;if(t.Ug("Coffman-Graham Layering",1),e.a.c.length==0){t.Vg();return}for(_=u(v(e,(cn(),nhn)),17).a,h=0,s=0,g=new C(e.a);g.a=_||!N8e(S,i))&&(i=pIn(e,a)),$i(S,i),c=new ie(ce(ji(S).a.Kc(),new En));pe(c);)r=u(fe(c),18),!n.a[r.p]&&(k=r.c.i,--n.e[k.p],n.e[k.p]==0&&Mp(km(p,k),Km));for(l=a.c.length-1;l>=0;--l)nn(e.b,(Ln(l,a.c.length),u(a.c[l],30)));e.a.c.length=0,t.Vg()}function yzn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N;N=!1;do for(N=!1,c=e?new qa(n.a.b).a.gc()-2:1;e?c>=0:cu(v(j,dt),17).a)&&(O=!1);if(O){for(h=e?c+1:c-1,f=kJ(n.a,Y(h)),s=!1,I=!0,i=!1,a=ge(f,0);a.b!=a.d.c;)l=u(be(a),10),kt(l,dt)?l.p!=d.p&&(s=s|(e?u(v(l,dt),17).au(v(d,dt),17).a),I=!1):!s&&I&&l.k==(Vn(),Ac)&&(i=!0,e?g=u(fe(new ie(ce(ji(l).a.Kc(),new En))),18).c.i:g=u(fe(new ie(ce(Qt(l).a.Kc(),new En))),18).d.i,g==d&&(e?t=u(fe(new ie(ce(Qt(l).a.Kc(),new En))),18).d.i:t=u(fe(new ie(ce(ji(l).a.Kc(),new En))),18).c.i,(e?u(xb(n.a,t),17).a-u(xb(n.a,g),17).a:u(xb(n.a,g),17).a-u(xb(n.a,t),17).a)<=2&&(I=!1)));if(i&&I&&(e?t=u(fe(new ie(ce(Qt(d).a.Kc(),new En))),18).d.i:t=u(fe(new ie(ce(ji(d).a.Kc(),new En))),18).c.i,(e?u(xb(n.a,t),17).a-u(xb(n.a,d),17).a:u(xb(n.a,d),17).a-u(xb(n.a,t),17).a)<=2&&t.k==(Vn(),zt)&&(I=!1)),s||I){for(k=YHn(n,d,e);k.a.gc()!=0;)m=u(k.a.ec().Kc().Pb(),10),k.a.Bc(m)!=null,Bi(k,YHn(n,m,e));--p,N=!0}}}while(N)}function _Le(n){Me(n.c,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#decimal"])),Me(n.d,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#integer"])),Me(n.e,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#boolean"])),Me(n.f,Be,A(T(fn,1),J,2,6,[Ji,"EBoolean",Qe,"EBoolean:Object"])),Me(n.i,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#byte"])),Me(n.g,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Me(n.j,Be,A(T(fn,1),J,2,6,[Ji,"EByte",Qe,"EByte:Object"])),Me(n.n,Be,A(T(fn,1),J,2,6,[Ji,"EChar",Qe,"EChar:Object"])),Me(n.t,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#double"])),Me(n.u,Be,A(T(fn,1),J,2,6,[Ji,"EDouble",Qe,"EDouble:Object"])),Me(n.F,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#float"])),Me(n.G,Be,A(T(fn,1),J,2,6,[Ji,"EFloat",Qe,"EFloat:Object"])),Me(n.I,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#int"])),Me(n.J,Be,A(T(fn,1),J,2,6,[Ji,"EInt",Qe,"EInt:Object"])),Me(n.N,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#long"])),Me(n.O,Be,A(T(fn,1),J,2,6,[Ji,"ELong",Qe,"ELong:Object"])),Me(n.Z,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#short"])),Me(n.$,Be,A(T(fn,1),J,2,6,[Ji,"EShort",Qe,"EShort:Object"])),Me(n._,Be,A(T(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#string"]))}function HLe(n,e,t,i,r,c,s){var f,h,l,a,d,g,p,m;return g=u(i.a,17).a,p=u(i.b,17).a,d=n.b,m=n.c,f=0,a=0,e==(ci(),Br)||e==Xr?(a=a7(hBn(Ub(_r(new Tn(null,new In(t.b,16)),new $4n),new p4n))),d.e.b+d.f.b/2>a?(l=++p,f=$(R(ho(_b(_r(new Tn(null,new In(t.b,16)),new iMn(r,l)),new m4n))))):(h=++g,f=$(R(ho(Ap(_r(new Tn(null,new In(t.b,16)),new rMn(r,h)),new v4n)))))):(a=a7(hBn(Ub(_r(new Tn(null,new In(t.b,16)),new E4n),new g4n))),d.e.a+d.f.a/2>a?(l=++p,f=$(R(ho(_b(_r(new Tn(null,new In(t.b,16)),new eMn(r,l)),new k4n))))):(h=++g,f=$(R(ho(Ap(_r(new Tn(null,new In(t.b,16)),new tMn(r,h)),new y4n)))))),e==Br?(ir(n.a,new V($(R(v(d,(pt(),jf))))-r,f)),ir(n.a,new V(m.e.a+m.f.a+r+c,f)),ir(n.a,new V(m.e.a+m.f.a+r+c,m.e.b+m.f.b/2)),ir(n.a,new V(m.e.a+m.f.a,m.e.b+m.f.b/2))):e==Xr?(ir(n.a,new V($(R(v(d,(pt(),Js))))+r,d.e.b+d.f.b/2)),ir(n.a,new V(d.e.a+d.f.a+r,f)),ir(n.a,new V(m.e.a-r-c,f)),ir(n.a,new V(m.e.a-r-c,m.e.b+m.f.b/2)),ir(n.a,new V(m.e.a,m.e.b+m.f.b/2))):e==us?(ir(n.a,new V(f,$(R(v(d,(pt(),jf))))-r)),ir(n.a,new V(f,m.e.b+m.f.b+r+c)),ir(n.a,new V(m.e.a+m.f.a/2,m.e.b+m.f.b+r+c)),ir(n.a,new V(m.e.a+m.f.a/2,m.e.b+m.f.b+r))):(n.a.b==0||(u($s(n.a),8).b=$(R(v(d,(pt(),Js))))+r*u(s.b,17).a),ir(n.a,new V(f,$(R(v(d,(pt(),Js))))+r*u(s.b,17).a)),ir(n.a,new V(f,m.e.b-r*u(s.a,17).a-c))),new bi(Y(g),Y(p))}function qLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;if(s=!0,d=null,i=null,r=null,e=!1,p=$oe,l=null,c=null,f=0,h=yx(n,f,Rdn,Kdn),h=0&&An(n.substr(f,2),"//")?(f+=2,h=yx(n,f,O9,D9),i=(Fi(f,h,n.length),n.substr(f,h-f)),f=h):d!=null&&(f==n.length||(zn(f,n.length),n.charCodeAt(f)!=47))&&(s=!1,h=UX(n,wu(35),f),h==-1&&(h=n.length),i=(Fi(f,h,n.length),n.substr(f,h-f)),f=h);if(!t&&f0&&Xi(a,a.length-1)==58&&(r=a,f=h)),fgF(c))&&(d=c);for(!d&&(d=(Ln(0,j.c.length),u(j.c[0],185))),k=new C(e.b);k.ad&&(Bn=0,te+=a+tn,a=0),lUn(_,s,Bn,te),e=y.Math.max(e,Bn+X.a),a=y.Math.max(a,X.b),Bn+=X.a+tn;for(N=new de,t=new de,kn=new C(n);kn.a=-1900?1:0,t>=4?Re(n,A(T(fn,1),J,2,6,[Bzn,Rzn])[f]):Re(n,A(T(fn,1),J,2,6,["BC","AD"])[f]);break;case 121:f9e(n,t,i);break;case 77:SSe(n,t,i);break;case 107:h=r.q.getHours(),h==0?Bh(n,24,t):Bh(n,h,t);break;case 83:_Me(n,t,r);break;case 69:a=i.q.getDay(),t==5?Re(n,A(T(fn,1),J,2,6,["S","M","T","W","T","F","S"])[a]):t==4?Re(n,A(T(fn,1),J,2,6,[vB,kB,yB,jB,EB,CB,MB])[a]):Re(n,A(T(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[a]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?Re(n,A(T(fn,1),J,2,6,["AM","PM"])[1]):Re(n,A(T(fn,1),J,2,6,["AM","PM"])[0]);break;case 104:d=r.q.getHours()%12,d==0?Bh(n,12,t):Bh(n,d,t);break;case 75:g=r.q.getHours()%12,Bh(n,g,t);break;case 72:p=r.q.getHours(),Bh(n,p,t);break;case 99:m=i.q.getDay(),t==5?Re(n,A(T(fn,1),J,2,6,["S","M","T","W","T","F","S"])[m]):t==4?Re(n,A(T(fn,1),J,2,6,[vB,kB,yB,jB,EB,CB,MB])[m]):t==3?Re(n,A(T(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[m]):Bh(n,m,1);break;case 76:k=i.q.getMonth(),t==5?Re(n,A(T(fn,1),J,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[k]):t==4?Re(n,A(T(fn,1),J,2,6,[sB,fB,hB,lB,c3,aB,dB,bB,wB,gB,pB,mB])[k]):t==3?Re(n,A(T(fn,1),J,2,6,["Jan","Feb","Mar","Apr",c3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[k]):Bh(n,k+1,t);break;case 81:j=i.q.getMonth()/3|0,t<4?Re(n,A(T(fn,1),J,2,6,["Q1","Q2","Q3","Q4"])[j]):Re(n,A(T(fn,1),J,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[j]);break;case 100:S=i.q.getDate(),Bh(n,S,t);break;case 109:l=r.q.getMinutes(),Bh(n,l,t);break;case 115:s=r.q.getSeconds(),Bh(n,s,t);break;case 122:t<4?Re(n,c.c[0]):Re(n,c.c[1]);break;case 118:Re(n,c.b);break;case 90:t<3?Re(n,NEe(c)):t==3?Re(n,REe(c)):Re(n,KEe(c.a));break;default:return!1}return!0}function stn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn,te,xe;if(nUn(e),h=u(L((!e.b&&(e.b=new Nn(he,e,4,7)),e.b),0),84),a=u(L((!e.c&&(e.c=new Nn(he,e,5,8)),e.c),0),84),f=Gr(h),l=Gr(a),s=(!e.a&&(e.a=new q(Mt,e,6,6)),e.a).i==0?null:u(L((!e.a&&(e.a=new q(Mt,e,6,6)),e.a),0),166),tn=u(ee(n.a,f),10),Bn=u(ee(n.a,l),10),jn=null,te=null,D(h,193)&&(X=u(ee(n.a,h),304),D(X,12)?jn=u(X,12):D(X,10)&&(tn=u(X,10),jn=u(sn(tn.j,0),12))),D(a,193)&&(Kn=u(ee(n.a,a),304),D(Kn,12)?te=u(Kn,12):D(Kn,10)&&(Bn=u(Kn,10),te=u(sn(Bn.j,0),12))),!tn||!Bn)throw M(new hp("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(k=new y0,Ur(k,e),U(k,(W(),st),e),U(k,(cn(),Fr),null),p=u(v(i,Hc),21),tn==Bn&&p.Fc((pr(),x8)),jn||(_=(gr(),Jc),kn=null,s&&mg(u(v(tn,Kt),101))&&(kn=new V(s.j,s.k),qDn(kn,X7(e)),pLn(kn,t),Yb(l,f)&&(_=Vu,tt(kn,tn.n))),jn=eGn(tn,kn,_,i)),te||(_=(gr(),Vu),xe=null,s&&mg(u(v(Bn,Kt),101))&&(xe=new V(s.b,s.c),qDn(xe,X7(e)),pLn(xe,t)),te=eGn(Bn,xe,_,Hi(Bn))),Zi(k,jn),Ii(k,te),(jn.e.c.length>1||jn.g.c.length>1||te.e.c.length>1||te.g.c.length>1)&&p.Fc((pr(),$8)),g=new ne((!e.n&&(e.n=new q(Ar,e,1,7)),e.n));g.e!=g.i.gc();)if(d=u(ue(g),135),!on(un(z(d,Fd)))&&d.a)switch(j=ex(d),nn(k.b,j),u(v(j,Ah),278).g){case 1:case 2:p.Fc((pr(),vv));break;case 0:p.Fc((pr(),mv)),U(j,Ah,($f(),xv))}if(c=u(v(i,H8),322),S=u(v(i,vI),323),r=c==(i5(),gj)||S==(E5(),KH),s&&(!s.a&&(s.a=new ti(xo,s,5)),s.a).i!=0&&r){for(I=Jk(s),m=new Mu,N=ge(I,0);N.b!=N.d.c;)O=u(be(N),8),Fe(m,new rr(O));U(k,tfn,m)}return k}function XLe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn,te,xe,Lt;for(kn=0,Kn=0,tn=new de,_=u(ho(_b(_r(new Tn(null,new In(n.b,16)),new j4n),new I4n)),17).a+1,jn=K(ye,_e,28,_,15,1),j=K(ye,_e,28,_,15,1),k=0;k<_;k++)jn[k]=0,j[k]=0;for(h=u(Wr(cJ(new Tn(null,new In(n.a,16))),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),a=h.Kc();a.Ob();)if(l=u(a.Pb(),65),te=u(v(l.b,(lc(),Sh)),17).a,Lt=u(v(l.c,Sh),17).a,N=Lt-te,N>1)for(f=te+1;fl.b.e.b*(1-S)+l.c.e.b*S));m++);if(X.gc()>0&&(xe=l.a.b==0?Ki(l.b.e):u($s(l.a),8),O=tt(Ki(u(X.Xb(X.gc()-1),39).e),u(X.Xb(X.gc()-1),39).f),g=tt(Ki(u(X.Xb(0),39).e),u(X.Xb(0),39).f),m>=X.gc()-1&&xe.b>O.b&&l.c.e.b>O.b||m<=0&&xe.bl.b.e.a*(1-S)+l.c.e.a*S));m++);if(X.gc()>0&&(xe=l.a.b==0?Ki(l.b.e):u($s(l.a),8),O=tt(Ki(u(X.Xb(X.gc()-1),39).e),u(X.Xb(X.gc()-1),39).f),g=tt(Ki(u(X.Xb(0),39).e),u(X.Xb(0),39).f),m>=X.gc()-1&&xe.a>O.a&&l.c.e.a>O.a||m<=0&&xe.a=$(R(v(n,(pt(),mln))))&&++Kn):(p.f&&p.d.e.a<=$(R(v(n,(pt(),rq))))&&++kn,p.g&&p.c.e.a+p.c.f.a>=$(R(v(n,(pt(),pln))))&&++Kn)}else N==0?Inn(l):N<0&&(++jn[te],++j[Lt],Bn=HLe(l,e,n,new bi(Y(kn),Y(Kn)),t,i,new bi(Y(j[Lt]),Y(jn[te]))),kn=u(Bn.a,17).a,Kn=u(Bn.b,17).a)}function VLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I;if(i=e,h=t,n.b&&i.j==(en(),Wn)&&h.j==(en(),Wn)&&(I=i,i=h,h=I),Zc(n.a,i)){if(sf(u(ee(n.a,i),49),h))return 1}else Ve(n.a,i,new ni);if(Zc(n.a,h)){if(sf(u(ee(n.a,h),49),i))return-1}else Ve(n.a,h,new ni);if(Zc(n.d,i)){if(sf(u(ee(n.d,i),49),h))return-1}else Ve(n.d,i,new ni);if(Zc(n.d,h)){if(sf(u(ee(n.a,h),49),i))return 1}else Ve(n.d,h,new ni);if(i.j!=h.j)return S=xle(i.j,h.j),S==-1?ns(n,h,i):ns(n,i,h),S;if(i.e.c.length!=0&&h.e.c.length!=0){if(n.b&&(S=BFn(i,h),S!=0))return S==-1?ns(n,h,i):S==1&&ns(n,i,h),S;if(c=u(sn(i.e,0),18).c.i,a=u(sn(h.e,0),18).c.i,c==a)return r=u(v(u(sn(i.e,0),18),(W(),dt)),17).a,l=u(v(u(sn(h.e,0),18),dt),17).a,r>l?ns(n,i,h):ns(n,h,i),rl?1:0;for(m=n.c,k=0,j=m.length;kl?ns(n,i,h):ns(n,h,i),rl?1:0):n.b&&(S=BFn(i,h),S!=0)?(S==-1?ns(n,h,i):S==1&&ns(n,i,h),S):(s=0,d=0,kt(u(sn(i.g,0),18),dt)&&(s=u(v(u(sn(i.g,0),18),dt),17).a),kt(u(sn(h.g,0),18),dt)&&(d=u(v(u(sn(i.g,0),18),dt),17).a),f&&f==g?on(un(v(u(sn(i.g,0),18),zf)))&&!on(un(v(u(sn(h.g,0),18),zf)))?(ns(n,i,h),1):!on(un(v(u(sn(i.g,0),18),zf)))&&on(un(v(u(sn(h.g,0),18),zf)))?(ns(n,h,i),-1):(s>d?ns(n,i,h):ns(n,h,i),sd?1:0):(n.f&&(n.f._b(f)&&(s=u(n.f.xc(f),17).a),n.f._b(g)&&(d=u(n.f.xc(g),17).a)),s>d?ns(n,i,h):ns(n,h,i),sd?1:0))):i.e.c.length!=0&&h.g.c.length!=0?(ns(n,i,h),1):i.g.c.length!=0&&h.e.c.length!=0?(ns(n,h,i),-1):kt(i,(W(),dt))&&kt(h,dt)?(r=u(v(i,dt),17).a,l=u(v(h,dt),17).a,r>l?ns(n,i,h):ns(n,h,i),rl?1:0):(ns(n,h,i),-1)}function WLe(n){n.gb||(n.gb=!0,n.b=hc(n,0),Ft(n.b,18),jt(n.b,19),n.a=hc(n,1),Ft(n.a,1),jt(n.a,2),jt(n.a,3),jt(n.a,4),jt(n.a,5),n.o=hc(n,2),Ft(n.o,8),Ft(n.o,9),jt(n.o,10),jt(n.o,11),jt(n.o,12),jt(n.o,13),jt(n.o,14),jt(n.o,15),jt(n.o,16),jt(n.o,17),jt(n.o,18),jt(n.o,19),jt(n.o,20),jt(n.o,21),jt(n.o,22),jt(n.o,23),Nr(n.o),Nr(n.o),Nr(n.o),Nr(n.o),Nr(n.o),Nr(n.o),Nr(n.o),Nr(n.o),Nr(n.o),Nr(n.o),n.p=hc(n,3),Ft(n.p,2),Ft(n.p,3),Ft(n.p,4),Ft(n.p,5),jt(n.p,6),jt(n.p,7),Nr(n.p),Nr(n.p),n.q=hc(n,4),Ft(n.q,8),n.v=hc(n,5),jt(n.v,9),Nr(n.v),Nr(n.v),Nr(n.v),n.w=hc(n,6),Ft(n.w,2),Ft(n.w,3),Ft(n.w,4),jt(n.w,5),n.B=hc(n,7),jt(n.B,1),Nr(n.B),Nr(n.B),Nr(n.B),n.Q=hc(n,8),jt(n.Q,0),Nr(n.Q),n.R=hc(n,9),Ft(n.R,1),n.S=hc(n,10),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),Nr(n.S),n.T=hc(n,11),jt(n.T,10),jt(n.T,11),jt(n.T,12),jt(n.T,13),jt(n.T,14),Nr(n.T),Nr(n.T),n.U=hc(n,12),Ft(n.U,2),Ft(n.U,3),jt(n.U,4),jt(n.U,5),jt(n.U,6),jt(n.U,7),Nr(n.U),n.V=hc(n,13),jt(n.V,10),n.W=hc(n,14),Ft(n.W,18),Ft(n.W,19),Ft(n.W,20),jt(n.W,21),jt(n.W,22),jt(n.W,23),n.bb=hc(n,15),Ft(n.bb,10),Ft(n.bb,11),Ft(n.bb,12),Ft(n.bb,13),Ft(n.bb,14),Ft(n.bb,15),Ft(n.bb,16),jt(n.bb,17),Nr(n.bb),Nr(n.bb),n.eb=hc(n,16),Ft(n.eb,2),Ft(n.eb,3),Ft(n.eb,4),Ft(n.eb,5),Ft(n.eb,6),Ft(n.eb,7),jt(n.eb,8),jt(n.eb,9),n.ab=hc(n,17),Ft(n.ab,0),Ft(n.ab,1),n.H=hc(n,18),jt(n.H,0),jt(n.H,1),jt(n.H,2),jt(n.H,3),jt(n.H,4),jt(n.H,5),Nr(n.H),n.db=hc(n,19),jt(n.db,2),n.c=Je(n,20),n.d=Je(n,21),n.e=Je(n,22),n.f=Je(n,23),n.i=Je(n,24),n.g=Je(n,25),n.j=Je(n,26),n.k=Je(n,27),n.n=Je(n,28),n.r=Je(n,29),n.s=Je(n,30),n.t=Je(n,31),n.u=Je(n,32),n.fb=Je(n,33),n.A=Je(n,34),n.C=Je(n,35),n.D=Je(n,36),n.F=Je(n,37),n.G=Je(n,38),n.I=Je(n,39),n.J=Je(n,40),n.L=Je(n,41),n.M=Je(n,42),n.N=Je(n,43),n.O=Je(n,44),n.P=Je(n,45),n.X=Je(n,46),n.Y=Je(n,47),n.Z=Je(n,48),n.$=Je(n,49),n._=Je(n,50),n.cb=Je(n,51),n.K=Je(n,52))}function JLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn,te;for(s=new Ct,X=u(v(t,(cn(),Do)),88),k=0,Bi(s,(!e.a&&(e.a=new q(Ye,e,10,11)),e.a));s.b!=0;)a=u(s.b==0?null:(oe(s.b!=0),Xo(s,s.a.a)),27),l=At(a),(x(z(l,Yh))!==x((lh(),k1))||x(z(l,Ld))===x((o1(),gv))||x(z(l,Ld))===x((o1(),wv))||on(un(z(l,fb)))||x(z(l,Fw))!==x((dd(),Ow))||x(z(l,ja))===x((ps(),wb))||x(z(l,ja))===x((ps(),Uw))||x(z(l,$d))===x((a1(),Sv))||x(z(l,$d))===x((a1(),Pv)))&&!on(un(z(a,lI)))&&ht(a,(W(),dt),Y(k++)),S=!on(un(z(a,Fd))),S&&(g=(!a.a&&(a.a=new q(Ye,a,10,11)),a.a).i!=0,m=Mye(a),p=x(z(a,Bw))===x((jl(),M1)),te=!Lf(a,(He(),Nv))||MLn(Oe(z(a,Nv))),N=null,te&&p&&(g||m)&&(N=$Un(a),U(N,Do,X),kt(N,Cj)&&$jn(new zY($(R(v(N,Cj)))),N),u(z(a,xd),181).gc()!=0&&(d=N,qt(new Tn(null,(!a.c&&(a.c=new q(Qu,a,9,9)),new In(a.c,16))),new H9n(d)),Aqn(a,N))),tn=t,jn=u(ee(n.a,At(a)),10),jn&&(tn=jn.e),O=szn(n,a,tn),N&&(O.e=N,N.e=O,Bi(s,(!a.a&&(a.a=new q(Ye,a,10,11)),a.a))));for(k=0,xt(s,e,s.c.b,s.c);s.b!=0;){for(c=u(s.b==0?null:(oe(s.b!=0),Xo(s,s.a.a)),27),h=new ne((!c.b&&(c.b=new q(Vt,c,12,3)),c.b));h.e!=h.i.gc();)f=u(ue(h),74),nUn(f),(x(z(e,Yh))!==x((lh(),k1))||x(z(e,Ld))===x((o1(),gv))||x(z(e,Ld))===x((o1(),wv))||on(un(z(e,fb)))||x(z(e,Fw))!==x((dd(),Ow))||x(z(e,ja))===x((ps(),wb))||x(z(e,ja))===x((ps(),Uw))||x(z(e,$d))===x((a1(),Sv))||x(z(e,$d))===x((a1(),Pv)))&&ht(f,(W(),dt),Y(k++)),Kn=Gr(u(L((!f.b&&(f.b=new Nn(he,f,4,7)),f.b),0),84)),Bn=Gr(u(L((!f.c&&(f.c=new Nn(he,f,5,8)),f.c),0),84)),!(on(un(z(f,Fd)))||on(un(z(Kn,Fd)))||on(un(z(Bn,Fd))))&&(j=R0(f)&&on(un(z(Kn,Rw)))&&on(un(z(f,Nd))),_=c,j||Yb(Bn,Kn)?_=Kn:Yb(Kn,Bn)&&(_=Bn),tn=t,jn=u(ee(n.a,_),10),jn&&(tn=jn.e),I=stn(n,f,_,tn),U(I,(W(),Ysn),JTe(n,f,e,t)));if(p=x(z(c,Bw))===x((jl(),M1)),p)for(r=new ne((!c.a&&(c.a=new q(Ye,c,10,11)),c.a));r.e!=r.i.gc();)i=u(ue(r),27),te=!Lf(i,(He(),Nv))||MLn(Oe(z(i,Nv))),kn=x(z(i,Bw))===x(M1),te&&kn&&xt(s,i,s.c.b,s.c)}}function W(){W=F;var n,e;st=new lt(Vtn),Ysn=new lt("coordinateOrigin"),wH=new lt("processors"),Qsn=new Dt("compoundNode",(_n(),!1)),kj=new Dt("insideConnections",!1),tfn=new lt("originalBendpoints"),ifn=new lt("originalDummyNodePosition"),rfn=new lt("originalLabelEdge"),B8=new lt("representedLabels"),F8=new lt("endLabels"),M3=new lt("endLabel.origin"),A3=new Dt("labelSide",(To(),Zj)),y2=new Dt("maxEdgeThickness",0),zf=new Dt("reversed",!1),S3=new lt(MXn),yf=new Dt("longEdgeSource",null),Es=new Dt("longEdgeTarget",null),$w=new Dt("longEdgeHasLabelDummies",!1),yj=new Dt("longEdgeBeforeLabelDummy",!1),rI=new Dt("edgeConstraint",(hd(),Y_)),ub=new lt("inLayerLayoutUnit"),Od=new Dt("inLayerConstraint",(vl(),mj)),T3=new Dt("inLayerSuccessorConstraint",new Z),efn=new Dt("inLayerSuccessorConstraintBetweenNonDummies",!1),Xu=new lt("portDummy"),iI=new Dt("crossingHint",Y(0)),Hc=new Dt("graphProperties",(e=u(of(cH),9),new _o(e,u(xs(e,e.length),9),0))),gc=new Dt("externalPortSide",(en(),sc)),nfn=new Dt("externalPortSize",new Li),hH=new lt("externalPortReplacedDummies"),cI=new lt("externalPortReplacedDummy"),Nl=new Dt("externalPortConnections",(n=u(of(lr),9),new _o(n,u(xs(n,n.length),9),0))),ob=new Dt(gXn,0),Jsn=new lt("barycenterAssociates"),P3=new lt("TopSideComments"),C3=new lt("BottomSideComments"),tI=new lt("CommentConnectionPort"),aH=new Dt("inputCollect",!1),bH=new Dt("outputCollect",!1),vj=new Dt("cyclic",!1),Zsn=new lt("crossHierarchyMap"),pH=new lt("targetOffset"),new Dt("splineLabelSize",new Li),E2=new lt("spacings"),uI=new Dt("partitionConstraint",!1),cb=new lt("breakingPoint.info"),ofn=new lt("splines.survivingEdge"),Dd=new lt("splines.route.start"),C2=new lt("splines.edgeChain"),ufn=new lt("originalPortConstraints"),sb=new lt("selfLoopHolder"),yv=new lt("splines.nsPortY"),dt=new lt("modelOrder"),dH=new lt("longEdgeTargetNode"),ka=new Dt(QXn,!1),j2=new Dt(QXn,!1),lH=new lt("layerConstraints.hiddenNodes"),cfn=new lt("layerConstraints.opposidePort"),gH=new lt("targetNode.modelOrder")}function QLe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m;for(d=ge(n.b,0);d.b!=d.d.c;)if(a=u(be(d),39),!An(a.c,IS))for(c=u(Wr(new Tn(null,new In(uCe(a,n),16)),qu(new ju,new yu,new Eu,A(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),e==(ci(),Br)||e==Xr?c.jd(new T4n):c.jd(new A4n),m=c.gc(),r=0;r0&&(f=u($s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u($s(u(c.Xb(r),65).a),8).b,p=a.e.b+a.f.b/2,i>0&&y.Math.abs(h-p)/(y.Math.abs(f-g)/40)>50&&(p>h?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a+i/5.3,a.e.b+a.f.b*s-i/2)):ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a+i/5.3,a.e.b+a.f.b*s+i/2)))),ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a,a.e.b+a.f.b*s))):e==Xr?(l=$(R(v(a,(pt(),jf)))),a.e.a-i>l?ir(u(c.Xb(r),65).a,new V(l-t,a.e.b+a.f.b*s)):u(c.Xb(r),65).a.b>0&&(f=u($s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u($s(u(c.Xb(r),65).a),8).b,p=a.e.b+a.f.b/2,i>0&&y.Math.abs(h-p)/(y.Math.abs(f-g)/40)>50&&(p>h?ir(u(c.Xb(r),65).a,new V(a.e.a-i/5.3,a.e.b+a.f.b*s-i/2)):ir(u(c.Xb(r),65).a,new V(a.e.a-i/5.3,a.e.b+a.f.b*s+i/2)))),ir(u(c.Xb(r),65).a,new V(a.e.a,a.e.b+a.f.b*s))):e==us?(l=$(R(v(a,(pt(),Js)))),a.e.b+a.f.b+i0&&(f=u($s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u($s(u(c.Xb(r),65).a),8).b,p=a.e.b+a.f.b/2,i>0&&y.Math.abs(f-g)/(y.Math.abs(h-p)/40)>50&&(g>f?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s-i/2,a.e.b+i/5.3+a.f.b)):ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s+i/2,a.e.b+i/5.3+a.f.b)))),ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,a.e.b+a.f.b))):(l=$(R(v(a,(pt(),jf)))),CFn(u(c.Xb(r),65),n)?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,u($s(u(c.Xb(r),65).a),8).b)):a.e.b-i>l?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,l-t)):u(c.Xb(r),65).a.b>0&&(f=u($s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u($s(u(c.Xb(r),65).a),8).b,p=a.e.b+a.f.b/2,i>0&&y.Math.abs(f-g)/(y.Math.abs(h-p)/40)>50&&(g>f?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s-i/2,a.e.b-i/5.3)):ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s+i/2,a.e.b-i/5.3)))),ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,a.e.b)))}function He(){He=F;var n,e;Nv=new lt(xVn),q2=new lt(FVn),wan=(Rh(),Xq),Sue=new Mn(trn,wan),x2=new Mn(l3,null),Pue=new lt(wcn),pan=(wd(),yt(Jq,A(T(Qq,1),G,297,0,[Wq]))),Uj=new Mn(MS,pan),Gj=new Mn(qy,(_n(),!1)),man=(ci(),Jf),_d=new Mn(xR,man),yan=(El(),hU),kan=new Mn(Hy,yan),Due=new Mn(dcn,!1),Can=(jl(),uO),R2=new Mn(CS,Can),Lan=new o0(12),C1=new Mn(X0,Lan),Xj=new Mn(e8,!1),eU=new Mn(AS,!1),Vj=new Mn(t8,!1),Ban=(Oi(),Pa),m9=new Mn(tR,Ban),L3=new lt(TS),Wj=new lt(Ly),sU=new lt(uS),fU=new lt(n8),Man=new Mu,mb=new Mn(drn,Man),Oue=new Mn(grn,!1),Lue=new Mn(prn,!1),Tan=new Wv,$v=new Mn(vrn,Tan),tO=new Mn(nrn,!1),Fue=new Mn(BVn,1),B2=new lt(RVn),F2=new lt(KVn),v9=new Mn(Ny,!1),new Mn(_Vn,!0),Y(0),new Mn(HVn,Y(100)),new Mn(qVn,!1),Y(0),new Mn(UVn,Y(4e3)),Y(0),new Mn(GVn,Y(400)),new Mn(zVn,!1),new Mn(XVn,!1),new Mn(VVn,!0),new Mn(WVn,!1),gan=(qT(),bU),Iue=new Mn(bcn,gan),Bue=new Mn(qin,10),Rue=new Mn(Uin,10),Han=new Mn(WB,20),Kue=new Mn(Gin,10),qan=new Mn(eR,2),Uan=new Mn($R,10),Gan=new Mn(zin,0),iO=new Mn(Win,5),zan=new Mn(Xin,1),Xan=new Mn(Vin,1),qd=new Mn(yw,20),_ue=new Mn(Jin,10),Jan=new Mn(Qin,10),N3=new lt(Yin),Wan=new eTn,Van=new Mn(krn,Wan),$ue=new lt(BR),Nan=!1,Nue=new Mn(FR,Nan),San=new o0(5),Aan=new Mn(crn,San),Pan=(lw(),e=u(of(yr),9),new _o(e,u(xs(e,e.length),9),0)),K2=new Mn(zm,Pan),xan=(Bg(),Sa),$an=new Mn(srn,xan),iU=new lt(frn),rU=new lt(hrn),cU=new lt(lrn),tU=new lt(arn),Ian=(n=u(of(A9),9),new _o(n,u(xs(n,n.length),9),0)),Hd=new Mn(r2,Ian),Dan=yn((io(),Kv)),Ta=new Mn(a3,Dan),Oan=new V(0,0),_2=new Mn(d3,Oan),Vw=new Mn(Gm,!1),van=($f(),xv),Zq=new Mn(brn,van),Yq=new Mn(oS,!1),Y(1),new Mn(JVn,null),Fan=new lt(mrn),uU=new lt(wrn),_an=(en(),sc),H2=new Mn(ern,_an),oo=new lt(Zin),Ran=(zu(),yn(Ia)),Ww=new Mn(Xm,Ran),oU=new Mn(urn,!1),Kan=new Mn(orn,!0),cO=new Mn($y,1),Qan=new Mn(gcn,null),Jj=new Mn(xy,150),rO=new Mn(Fy,1.414),$3=new Mn(V0,null),Hue=new Mn(pcn,1),zj=new Mn(irn,!1),nU=new Mn(rrn,!1),jan=new Mn(JB,1),Ean=(pA(),aU),new Mn(QVn,Ean),xue=!0,Uue=(Gp(),Yw),Gue=Yw,que=Yw}function tr(){tr=F,Won=new ei("DIRECTION_PREPROCESSOR",0),zon=new ei("COMMENT_PREPROCESSOR",1),b2=new ei("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),N_=new ei("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),bsn=new ei("PARTITION_PREPROCESSOR",4),IP=new ei("LABEL_DUMMY_INSERTER",5),KP=new ei("SELF_LOOP_PREPROCESSOR",6),Lw=new ei("LAYER_CONSTRAINT_PREPROCESSOR",7),asn=new ei("PARTITION_MIDPROCESSOR",8),isn=new ei("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),hsn=new ei("NODE_PROMOTION",10),Dw=new ei("LAYER_CONSTRAINT_POSTPROCESSOR",11),dsn=new ei("PARTITION_POSTPROCESSOR",12),nsn=new ei("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),wsn=new ei("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Kon=new ei("BREAKING_POINT_INSERTER",15),NP=new ei("LONG_EDGE_SPLITTER",16),$_=new ei("PORT_SIDE_PROCESSOR",17),SP=new ei("INVERTED_PORT_PROCESSOR",18),FP=new ei("PORT_LIST_SORTER",19),psn=new ei("SORT_BY_INPUT_ORDER_OF_MODEL",20),xP=new ei("NORTH_SOUTH_PORT_PREPROCESSOR",21),_on=new ei("BREAKING_POINT_PROCESSOR",22),lsn=new ei(qXn,23),msn=new ei(UXn,24),BP=new ei("SELF_LOOP_PORT_RESTORER",25),gsn=new ei("SINGLE_EDGE_GRAPH_WRAPPER",26),PP=new ei("IN_LAYER_CONSTRAINT_PROCESSOR",27),Qon=new ei("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),ssn=new ei("LABEL_AND_NODE_SIZE_PROCESSOR",29),osn=new ei("INNERMOST_NODE_MARGIN_CALCULATOR",30),_P=new ei("SELF_LOOP_ROUTER",31),Uon=new ei("COMMENT_NODE_MARGIN_CALCULATOR",32),AP=new ei("END_LABEL_PREPROCESSOR",33),DP=new ei("LABEL_DUMMY_SWITCHER",34),qon=new ei("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),fv=new ei("LABEL_SIDE_SELECTOR",36),csn=new ei("HYPEREDGE_DUMMY_MERGER",37),esn=new ei("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),fsn=new ei("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),O8=new ei("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),Xon=new ei("CONSTRAINTS_POSTPROCESSOR",41),Gon=new ei("COMMENT_POSTPROCESSOR",42),usn=new ei("HYPERNODE_PROCESSOR",43),tsn=new ei("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),LP=new ei("LONG_EDGE_JOINER",45),RP=new ei("SELF_LOOP_POSTPROCESSOR",46),Hon=new ei("BREAKING_POINT_REMOVER",47),$P=new ei("NORTH_SOUTH_PORT_POSTPROCESSOR",48),rsn=new ei("HORIZONTAL_COMPACTOR",49),OP=new ei("LABEL_DUMMY_REMOVER",50),Yon=new ei("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),Jon=new ei("END_LABEL_SORTER",52),dj=new ei("REVERSED_EDGE_RESTORER",53),TP=new ei("END_LABEL_POSTPROCESSOR",54),Zon=new ei("HIERARCHICAL_NODE_RESIZER",55),Von=new ei("DIRECTION_POSTPROCESSOR",56)}function ftn(){ftn=F,mfn=(bk(),WP),iee=new Mn(rin,mfn),wee=new Mn(cin,(_n(),!1)),Cfn=(KM(),fH),kee=new Mn(lS,Cfn),$ee=new Mn(uin,!1),xee=new Mn(oin,!0),Pne=new Mn(sin,!1),Dfn=(ak(),UH),Qee=new Mn(fin,Dfn),Y(1),cte=new Mn(hin,Y(7)),ute=new Mn(lin,!1),gee=new Mn(ain,!1),pfn=(o1(),J_),tee=new Mn(fR,pfn),Afn=(a1(),xH),Nee=new Mn(_y,Afn),Mfn=(Yo(),jj),Tee=new Mn(din,Mfn),Y(-1),Mee=new Mn(bin,null),Y(-1),Aee=new Mn(win,Y(-1)),Y(-1),See=new Mn(hR,Y(4)),Y(-1),Iee=new Mn(lR,Y(2)),Tfn=(ps(),AI),Lee=new Mn(aR,Tfn),Y(0),Dee=new Mn(dR,Y(0)),Eee=new Mn(bR,Y(et)),gfn=(i5(),L8),eee=new Mn(c8,gfn),Kne=new Mn(gin,!1),Xne=new Mn(wR,.1),Zne=new Mn(gR,!1),Wne=new Mn(pin,null),Jne=new Mn(min,null),Y(-1),Qne=new Mn(vin,null),Y(-1),Yne=new Mn(kin,Y(-1)),Y(0),_ne=new Mn(yin,Y(40)),wfn=(Y4(),oH),Gne=new Mn(pR,wfn),bfn=pj,Hne=new Mn(aS,bfn),Ofn=(E5(),X8),Jee=new Mn(c2,Ofn),_ee=new lt(dS),Sfn=(ok(),QP),Fee=new Mn(mR,Sfn),Pfn=(Xk(),YP),Ree=new Mn(vR,Pfn),Uee=new Mn(kR,.3),zee=new lt(yR),Ifn=(cw(),TI),Xee=new Mn(jR,Ifn),yfn=(ST(),zH),see=new Mn(jin,yfn),jfn=(h5(),VH),fee=new Mn(Ein,jfn),Efn=(um(),J8),hee=new Mn(bS,Efn),aee=new Mn(wS,.2),uee=new Mn(ER,2),ete=new Mn(Cin,null),ite=new Mn(Min,10),tte=new Mn(Tin,10),rte=new Mn(Ain,20),Y(0),Yee=new Mn(Sin,Y(0)),Y(0),Zee=new Mn(Pin,Y(0)),Y(0),nte=new Mn(Iin,Y(0)),Ine=new Mn(CR,!1),hfn=(ym(),N8),Dne=new Mn(Oin,hfn),ffn=(QM(),V_),One=new Mn(Din,ffn),mee=new Mn(gS,!1),Y(0),pee=new Mn(MR,Y(16)),Y(0),vee=new Mn(TR,Y(5)),$fn=(DT(),QH),Tte=new Mn(Ol,$fn),ote=new Mn(pS,10),hte=new Mn(mS,1),Nfn=(bT(),VP),pte=new Mn(u8,Nfn),dte=new lt(AR),Lfn=Y(1),Y(0),wte=new Mn(SR,Lfn),xfn=(dT(),JH),Ite=new Mn(vS,xfn),Ate=new lt(kS),jte=new Mn(yS,!0),kte=new Mn(jS,2),Cte=new Mn(PR,!0),kfn=(vA(),JP),cee=new Mn(Lin,kfn),vfn=(Yp(),dv),ree=new Mn(Nin,vfn),dfn=(lh(),k1),Rne=new Mn(ES,dfn),Bne=new Mn($in,!1),Fne=new Mn(xin,!1),lfn=(dd(),Ow),Lne=new Mn(IR,lfn),afn=(d5(),FH),xne=new Mn(Fin,afn),Nne=new Mn(OR,0),$ne=new Mn(DR,0),jee=Q_,yee=gj,Pee=CI,Oee=CI,Cee=$H,Vne=(jl(),M1),nee=L8,zne=L8,qne=L8,Une=M1,Hee=V8,qee=X8,Bee=X8,Kee=X8,Gee=_H,Wee=V8,Vee=V8,lee=(El(),x3),dee=x3,bee=J8,oee=Qj,ste=Iv,fte=Gw,lte=Iv,ate=Gw,mte=Iv,vte=Gw,bte=W_,gte=VP,Ote=Iv,Dte=Gw,Ste=Iv,Pte=Gw,Ete=Gw,yte=Gw,Mte=Gw}function YLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn,Bn,te,xe,Lt,Yu,Rr,Fo,W2,D1,rf,cf,Xd,H3,Ba,q3,Ih,cl,Eb,U3,J2,Oh,Vd,Rl,Dse,k0n,Cb,K9,OU,G3,_9,ug,H9,DU,Lse;for(k0n=0,xe=e,Rr=0,D1=xe.length;Rr0&&(n.a[Ih.p]=k0n++)}for(_9=0,Lt=t,Fo=0,rf=Lt.length;Fo0;){for(Ih=(oe(J2.b>0),u(J2.a.Xb(J2.c=--J2.b),12)),U3=0,f=new C(Ih.e);f.a0&&(Ih.j==(en(),Xn)?(n.a[Ih.p]=_9,++_9):(n.a[Ih.p]=_9+cf+H3,++H3))}_9+=H3}for(Eb=new de,m=new rh,te=e,Yu=0,W2=te.length;Yul.b&&(l.b=Oh)):Ih.i.c==Dse&&(Ohl.c&&(l.c=Oh));for(x4(k,0,k.length,null),G3=K(ye,_e,28,k.length,15,1),i=K(ye,_e,28,_9+1,15,1),S=0;S0;)tn%2>0&&(r+=DU[tn+1]),tn=(tn-1)/2|0,++DU[tn];for(kn=K(Iie,Fn,374,k.length*2,0,1),N=0;N0&&z7(Yu.f),z(S,Qan)!=null&&(f=u(z(S,Qan),347),Eb=f.Tg(S),kg(S,y.Math.max(S.g,Eb.a),y.Math.max(S.f,Eb.b)));if(rf=u(z(e,C1),107),p=e.g-(rf.b+rf.c),g=e.f-(rf.d+rf.a),Oh.bh("Available Child Area: ("+p+"|"+g+")"),ht(e,x2,p/g),rRn(e,r,i.eh(W2)),u(z(e,$3),280)==aO&&(ctn(e),kg(e,rf.b+$(R(z(e,B2)))+rf.c,rf.d+$(R(z(e,F2)))+rf.a)),Oh.bh("Executed layout algorithm: "+Oe(z(e,Nv))+" on node "+e.k),u(z(e,$3),280)==Yw){if(p<0||g<0)throw M(new _l("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+e.k));for(Lf(e,B2)||Lf(e,F2)||ctn(e),k=$(R(z(e,B2))),m=$(R(z(e,F2))),Oh.bh("Desired Child Area: ("+k+"|"+m+")"),Xd=p/k,H3=g/m,cf=y.Math.min(Xd,y.Math.min(H3,$(R(z(e,Hue))))),ht(e,cO,cf),Oh.bh(e.k+" -- Local Scale Factor (X|Y): ("+Xd+"|"+H3+")"),N=u(z(e,Uj),21),c=0,s=0,cf'?":An(PWn,n)?"'(?<' or '(? toIndex: ",Ttn=", toIndex: ",Atn="Index: ",Stn=", Size: ",_m="org.eclipse.elk.alg.common",Ne={50:1},Yzn="org.eclipse.elk.alg.common.compaction",Zzn="Scanline/EventHandler",zh="org.eclipse.elk.alg.common.compaction.oned",nXn="CNode belongs to another CGroup.",eXn="ISpacingsHandler/1",FB="The ",BB=" instance has been finished already.",tXn="The direction ",iXn=" is not supported by the CGraph instance.",rXn="OneDimensionalCompactor",cXn="OneDimensionalCompactor/lambda$0$Type",uXn="Quadruplet",oXn="ScanlineConstraintCalculator",sXn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",fXn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",hXn="ScanlineConstraintCalculator/Timestamp",lXn="ScanlineConstraintCalculator/lambda$0$Type",ph={178:1,46:1},RB="org.eclipse.elk.alg.common.compaction.options",oc="org.eclipse.elk.core.data",Ptn="org.eclipse.elk.polyomino.traversalStrategy",Itn="org.eclipse.elk.polyomino.lowLevelSort",Otn="org.eclipse.elk.polyomino.highLevelSort",Dtn="org.eclipse.elk.polyomino.fill",ms={134:1},KB="polyomino",Q5="org.eclipse.elk.alg.common.networksimplex",Xh={183:1,3:1,4:1},aXn="org.eclipse.elk.alg.common.nodespacing",kd="org.eclipse.elk.alg.common.nodespacing.cellsystem",Hm="CENTER",dXn={217:1,336:1},Ltn={3:1,4:1,5:1,603:1},s3="LEFT",f3="RIGHT",Ntn="Vertical alignment cannot be null",$tn="BOTTOM",nS="org.eclipse.elk.alg.common.nodespacing.internal",Y5="UNDEFINED",_f=.01,Iy="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",bXn="LabelPlacer/lambda$0$Type",wXn="LabelPlacer/lambda$1$Type",gXn="portRatioOrPosition",qm="org.eclipse.elk.alg.common.overlaps",_B="DOWN",mh="org.eclipse.elk.alg.common.polyomino",eS="NORTH",HB="EAST",qB="SOUTH",UB="WEST",tS="org.eclipse.elk.alg.common.polyomino.structures",xtn="Direction",GB="Grid is only of size ",zB=". Requested point (",XB=") is out of bounds.",iS=" Given center based coordinates were (",Oy="org.eclipse.elk.graph.properties",pXn="IPropertyHolder",Ftn={3:1,96:1,137:1},h3="org.eclipse.elk.alg.common.spore",mXn="org.eclipse.elk.alg.common.utils",yd={205:1},e2="org.eclipse.elk.core",vXn="Connected Components Compaction",kXn="org.eclipse.elk.alg.disco",rS="org.eclipse.elk.alg.disco.graph",VB="org.eclipse.elk.alg.disco.options",Btn="CompactionStrategy",Rtn="org.eclipse.elk.disco.componentCompaction.strategy",Ktn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",_tn="org.eclipse.elk.disco.debug.discoGraph",Htn="org.eclipse.elk.disco.debug.discoPolys",yXn="componentCompaction",jd="org.eclipse.elk.disco",WB="org.eclipse.elk.spacing.componentComponent",JB="org.eclipse.elk.edge.thickness",l3="org.eclipse.elk.aspectRatio",X0="org.eclipse.elk.padding",t2="org.eclipse.elk.alg.disco.transform",QB=1.5707963267948966,i2=17976931348623157e292,kw={3:1,4:1,5:1,198:1},jXn={3:1,6:1,4:1,5:1,100:1,115:1},YB="org.eclipse.elk.alg.force",qtn="ComponentsProcessor",EXn="ComponentsProcessor/1",Utn="ElkGraphImporter/lambda$0$Type",Dy="org.eclipse.elk.alg.force.graph",CXn="Component Layout",Gtn="org.eclipse.elk.alg.force.model",cS="org.eclipse.elk.force.model",ztn="org.eclipse.elk.force.iterations",Xtn="org.eclipse.elk.force.repulsivePower",ZB="org.eclipse.elk.force.temperature",vh=.001,nR="org.eclipse.elk.force.repulsion",Z5="org.eclipse.elk.alg.force.options",Um=1.600000023841858,cu="org.eclipse.elk.force",Ly="org.eclipse.elk.priority",yw="org.eclipse.elk.spacing.nodeNode",eR="org.eclipse.elk.spacing.edgeLabel",uS="org.eclipse.elk.randomSeed",n8="org.eclipse.elk.separateConnectedComponents",e8="org.eclipse.elk.interactive",tR="org.eclipse.elk.portConstraints",oS="org.eclipse.elk.edgeLabels.inline",t8="org.eclipse.elk.omitNodeMicroLayout",Gm="org.eclipse.elk.nodeSize.fixedGraphSize",a3="org.eclipse.elk.nodeSize.options",r2="org.eclipse.elk.nodeSize.constraints",zm="org.eclipse.elk.nodeLabels.placement",Xm="org.eclipse.elk.portLabels.placement",Ny="org.eclipse.elk.topdownLayout",$y="org.eclipse.elk.topdown.scaleFactor",xy="org.eclipse.elk.topdown.hierarchicalNodeWidth",Fy="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",V0="org.eclipse.elk.topdown.nodeType",Vtn="origin",MXn="random",TXn="boundingBox.upLeft",AXn="boundingBox.lowRight",Wtn="org.eclipse.elk.stress.fixed",Jtn="org.eclipse.elk.stress.desiredEdgeLength",Qtn="org.eclipse.elk.stress.dimension",Ytn="org.eclipse.elk.stress.epsilon",Ztn="org.eclipse.elk.stress.iterationLimit",la="org.eclipse.elk.stress",SXn="ELK Stress",d3="org.eclipse.elk.nodeSize.minimum",sS="org.eclipse.elk.alg.force.stress",PXn="Layered layout",b3="org.eclipse.elk.alg.layered",By="org.eclipse.elk.alg.layered.compaction.components",i8="org.eclipse.elk.alg.layered.compaction.oned",fS="org.eclipse.elk.alg.layered.compaction.oned.algs",Ed="org.eclipse.elk.alg.layered.compaction.recthull",Hf="org.eclipse.elk.alg.layered.components",kh="NONE",nin="MODEL_ORDER",Mc={3:1,6:1,4:1,9:1,5:1,126:1},IXn={3:1,6:1,4:1,5:1,150:1,100:1,115:1},hS="org.eclipse.elk.alg.layered.compound",vt={47:1},Bc="org.eclipse.elk.alg.layered.graph",iR=" -> ",OXn="Not supported by LGraph",ein="Port side is undefined",rR={3:1,6:1,4:1,5:1,482:1,150:1,100:1,115:1},b1={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},DXn={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},LXn=`([{"' \r +`,NXn=`)]}"' \r +`,$Xn="The given string contains parts that cannot be parsed as numbers.",Ry="org.eclipse.elk.core.math",xXn={3:1,4:1,140:1,214:1,423:1},FXn={3:1,4:1,107:1,214:1,423:1},w1="org.eclipse.elk.alg.layered.graph.transform",BXn="ElkGraphImporter",RXn="ElkGraphImporter/lambda$1$Type",KXn="ElkGraphImporter/lambda$2$Type",_Xn="ElkGraphImporter/lambda$4$Type",Qn="org.eclipse.elk.alg.layered.intermediate",HXn="Node margin calculation",qXn="ONE_SIDED_GREEDY_SWITCH",UXn="TWO_SIDED_GREEDY_SWITCH",cR="No implementation is available for the layout processor ",uR="IntermediateProcessorStrategy",oR="Node '",GXn="FIRST_SEPARATE",zXn="LAST_SEPARATE",XXn="Odd port side processing",di="org.eclipse.elk.alg.layered.intermediate.compaction",r8="org.eclipse.elk.alg.layered.intermediate.greedyswitch",Vh="org.eclipse.elk.alg.layered.p3order.counting",Ky={230:1},w3="org.eclipse.elk.alg.layered.intermediate.loops",Io="org.eclipse.elk.alg.layered.intermediate.loops.ordering",aa="org.eclipse.elk.alg.layered.intermediate.loops.routing",tin="org.eclipse.elk.alg.layered.intermediate.preserveorder",yh="org.eclipse.elk.alg.layered.intermediate.wrapping",Tc="org.eclipse.elk.alg.layered.options",sR="INTERACTIVE",iin="GREEDY",VXn="DEPTH_FIRST",WXn="EDGE_LENGTH",JXn="SELF_LOOPS",QXn="firstTryWithInitialOrder",rin="org.eclipse.elk.layered.directionCongruency",cin="org.eclipse.elk.layered.feedbackEdges",lS="org.eclipse.elk.layered.interactiveReferencePoint",uin="org.eclipse.elk.layered.mergeEdges",oin="org.eclipse.elk.layered.mergeHierarchyEdges",sin="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",fin="org.eclipse.elk.layered.portSortingStrategy",hin="org.eclipse.elk.layered.thoroughness",lin="org.eclipse.elk.layered.unnecessaryBendpoints",ain="org.eclipse.elk.layered.generatePositionAndLayerIds",fR="org.eclipse.elk.layered.cycleBreaking.strategy",_y="org.eclipse.elk.layered.layering.strategy",din="org.eclipse.elk.layered.layering.layerConstraint",bin="org.eclipse.elk.layered.layering.layerChoiceConstraint",win="org.eclipse.elk.layered.layering.layerId",hR="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",lR="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",aR="org.eclipse.elk.layered.layering.nodePromotion.strategy",dR="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",bR="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",c8="org.eclipse.elk.layered.crossingMinimization.strategy",gin="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",wR="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",gR="org.eclipse.elk.layered.crossingMinimization.semiInteractive",pin="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",min="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",vin="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",kin="org.eclipse.elk.layered.crossingMinimization.positionId",yin="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",pR="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",aS="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",c2="org.eclipse.elk.layered.nodePlacement.strategy",dS="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",mR="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",vR="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",kR="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",yR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",jR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",jin="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Ein="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",bS="org.eclipse.elk.layered.edgeRouting.splines.mode",wS="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",ER="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Cin="org.eclipse.elk.layered.spacing.baseValue",Min="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Tin="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Ain="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Sin="org.eclipse.elk.layered.priority.direction",Pin="org.eclipse.elk.layered.priority.shortness",Iin="org.eclipse.elk.layered.priority.straightness",CR="org.eclipse.elk.layered.compaction.connectedComponents",Oin="org.eclipse.elk.layered.compaction.postCompaction.strategy",Din="org.eclipse.elk.layered.compaction.postCompaction.constraints",gS="org.eclipse.elk.layered.highDegreeNodes.treatment",MR="org.eclipse.elk.layered.highDegreeNodes.threshold",TR="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Ol="org.eclipse.elk.layered.wrapping.strategy",pS="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",mS="org.eclipse.elk.layered.wrapping.correctionFactor",u8="org.eclipse.elk.layered.wrapping.cutting.strategy",AR="org.eclipse.elk.layered.wrapping.cutting.cuts",SR="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",vS="org.eclipse.elk.layered.wrapping.validify.strategy",kS="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",yS="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",jS="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",PR="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",Lin="org.eclipse.elk.layered.edgeLabels.sideSelection",Nin="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",ES="org.eclipse.elk.layered.considerModelOrder.strategy",$in="org.eclipse.elk.layered.considerModelOrder.portModelOrder",xin="org.eclipse.elk.layered.considerModelOrder.noModelOrder",IR="org.eclipse.elk.layered.considerModelOrder.components",Fin="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",OR="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",DR="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",LR="layering",YXn="layering.minWidth",ZXn="layering.nodePromotion",Vm="crossingMinimization",CS="org.eclipse.elk.hierarchyHandling",nVn="crossingMinimization.greedySwitch",eVn="nodePlacement",tVn="nodePlacement.bk",iVn="edgeRouting",Hy="org.eclipse.elk.edgeRouting",qf="spacing",Bin="priority",Rin="compaction",rVn="compaction.postCompaction",cVn="Specifies whether and how post-process compaction is applied.",Kin="highDegreeNodes",_in="wrapping",uVn="wrapping.cutting",oVn="wrapping.validify",Hin="wrapping.multiEdge",NR="edgeLabels",o8="considerModelOrder",qin="org.eclipse.elk.spacing.commentComment",Uin="org.eclipse.elk.spacing.commentNode",Gin="org.eclipse.elk.spacing.edgeEdge",$R="org.eclipse.elk.spacing.edgeNode",zin="org.eclipse.elk.spacing.labelLabel",Xin="org.eclipse.elk.spacing.labelPortHorizontal",Vin="org.eclipse.elk.spacing.labelPortVertical",Win="org.eclipse.elk.spacing.labelNode",Jin="org.eclipse.elk.spacing.nodeSelfLoop",Qin="org.eclipse.elk.spacing.portPort",Yin="org.eclipse.elk.spacing.individual",Zin="org.eclipse.elk.port.borderOffset",nrn="org.eclipse.elk.noLayout",ern="org.eclipse.elk.port.side",qy="org.eclipse.elk.debugMode",trn="org.eclipse.elk.alignment",irn="org.eclipse.elk.insideSelfLoops.activate",rrn="org.eclipse.elk.insideSelfLoops.yo",xR="org.eclipse.elk.direction",crn="org.eclipse.elk.nodeLabels.padding",urn="org.eclipse.elk.portLabels.nextToPortIfPossible",orn="org.eclipse.elk.portLabels.treatAsGroup",srn="org.eclipse.elk.portAlignment.default",frn="org.eclipse.elk.portAlignment.north",hrn="org.eclipse.elk.portAlignment.south",lrn="org.eclipse.elk.portAlignment.west",arn="org.eclipse.elk.portAlignment.east",MS="org.eclipse.elk.contentAlignment",drn="org.eclipse.elk.junctionPoints",brn="org.eclipse.elk.edgeLabels.placement",wrn="org.eclipse.elk.port.index",grn="org.eclipse.elk.commentBox",prn="org.eclipse.elk.hypernode",mrn="org.eclipse.elk.port.anchor",FR="org.eclipse.elk.partitioning.activate",BR="org.eclipse.elk.partitioning.partition",TS="org.eclipse.elk.position",vrn="org.eclipse.elk.margins",krn="org.eclipse.elk.spacing.portsSurrounding",AS="org.eclipse.elk.interactiveLayout",dc="org.eclipse.elk.core.util",yrn={3:1,4:1,5:1,601:1},sVn="NETWORK_SIMPLEX",jrn="SIMPLE",vr={106:1,47:1},SS="org.eclipse.elk.alg.layered.p1cycles",Dl="org.eclipse.elk.alg.layered.p2layers",Ern={413:1,230:1},fVn={846:1,3:1,4:1},Nu="org.eclipse.elk.alg.layered.p3order",kr="org.eclipse.elk.alg.layered.p4nodes",hVn={3:1,4:1,5:1,854:1},jh=1e-5,da="org.eclipse.elk.alg.layered.p4nodes.bk",RR="org.eclipse.elk.alg.layered.p5edges",mf="org.eclipse.elk.alg.layered.p5edges.orthogonal",KR="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",_R=1e-6,jw="org.eclipse.elk.alg.layered.p5edges.splines",HR=.09999999999999998,PS=1e-8,lVn=4.71238898038469,Crn=3.141592653589793,Ll="org.eclipse.elk.alg.mrtree",qR=.10000000149011612,IS="SUPER_ROOT",s8="org.eclipse.elk.alg.mrtree.graph",Mrn=-17976931348623157e292,Rc="org.eclipse.elk.alg.mrtree.intermediate",aVn="Processor compute fanout",OS={3:1,6:1,4:1,5:1,534:1,100:1,115:1},dVn="Set neighbors in level",Uy="org.eclipse.elk.alg.mrtree.options",bVn="DESCENDANTS",Trn="org.eclipse.elk.mrtree.compaction",Arn="org.eclipse.elk.mrtree.edgeEndTextureLength",Srn="org.eclipse.elk.mrtree.treeLevel",Prn="org.eclipse.elk.mrtree.positionConstraint",Irn="org.eclipse.elk.mrtree.weighting",Orn="org.eclipse.elk.mrtree.edgeRoutingMode",Drn="org.eclipse.elk.mrtree.searchOrder",wVn="Position Constraint",uu="org.eclipse.elk.mrtree",gVn="org.eclipse.elk.tree",pVn="Processor arrange level",Wm="org.eclipse.elk.alg.mrtree.p2order",po="org.eclipse.elk.alg.mrtree.p4route",Lrn="org.eclipse.elk.alg.radial",Cd=6.283185307179586,Nrn="Before",$rn=5e-324,DS="After",xrn="org.eclipse.elk.alg.radial.intermediate",mVn="COMPACTION",UR="org.eclipse.elk.alg.radial.intermediate.compaction",vVn={3:1,4:1,5:1,100:1},Frn="org.eclipse.elk.alg.radial.intermediate.optimization",GR="No implementation is available for the layout option ",f8="org.eclipse.elk.alg.radial.options",Brn="org.eclipse.elk.radial.centerOnRoot",Rrn="org.eclipse.elk.radial.orderId",Krn="org.eclipse.elk.radial.radius",LS="org.eclipse.elk.radial.rotate",zR="org.eclipse.elk.radial.compactor",XR="org.eclipse.elk.radial.compactionStepSize",_rn="org.eclipse.elk.radial.sorter",Hrn="org.eclipse.elk.radial.wedgeCriteria",qrn="org.eclipse.elk.radial.optimizationCriteria",VR="org.eclipse.elk.radial.rotation.targetAngle",WR="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",Urn="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",kVn="Compaction",Grn="rotation",es="org.eclipse.elk.radial",yVn="org.eclipse.elk.alg.radial.p1position.wedge",zrn="org.eclipse.elk.alg.radial.sorting",jVn=5.497787143782138,EVn=3.9269908169872414,CVn=2.356194490192345,MVn="org.eclipse.elk.alg.rectpacking",NS="org.eclipse.elk.alg.rectpacking.intermediate",JR="org.eclipse.elk.alg.rectpacking.options",Xrn="org.eclipse.elk.rectpacking.trybox",Vrn="org.eclipse.elk.rectpacking.currentPosition",Wrn="org.eclipse.elk.rectpacking.desiredPosition",Jrn="org.eclipse.elk.rectpacking.inNewRow",Qrn="org.eclipse.elk.rectpacking.widthApproximation.strategy",Yrn="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Zrn="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",ncn="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",ecn="org.eclipse.elk.rectpacking.packing.strategy",tcn="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",icn="org.eclipse.elk.rectpacking.packing.compaction.iterations",rcn="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",QR="widthApproximation",TVn="Compaction Strategy",AVn="packing.compaction",co="org.eclipse.elk.rectpacking",Jm="org.eclipse.elk.alg.rectpacking.p1widthapproximation",$S="org.eclipse.elk.alg.rectpacking.p2packing",SVn="No Compaction",ccn="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",Gy="org.eclipse.elk.alg.rectpacking.util",xS="No implementation available for ",Ew="org.eclipse.elk.alg.spore",Cw="org.eclipse.elk.alg.spore.options",W0="org.eclipse.elk.sporeCompaction",YR="org.eclipse.elk.underlyingLayoutAlgorithm",ucn="org.eclipse.elk.processingOrder.treeConstruction",ocn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",ZR="org.eclipse.elk.processingOrder.preferredRoot",nK="org.eclipse.elk.processingOrder.rootSelection",eK="org.eclipse.elk.structure.structureExtractionStrategy",scn="org.eclipse.elk.compaction.compactionStrategy",fcn="org.eclipse.elk.compaction.orthogonal",hcn="org.eclipse.elk.overlapRemoval.maxIterations",lcn="org.eclipse.elk.overlapRemoval.runScanline",tK="processingOrder",PVn="overlapRemoval",Qm="org.eclipse.elk.sporeOverlap",IVn="org.eclipse.elk.alg.spore.p1structure",iK="org.eclipse.elk.alg.spore.p2processingorder",rK="org.eclipse.elk.alg.spore.p3execution",OVn="Topdown Layout",DVn="Invalid index: ",Ym="org.eclipse.elk.core.alg",u2={341:1},Mw={294:1},LVn="Make sure its type is registered with the ",acn=" utility class.",Zm="true",cK="false",NVn="Couldn't clone property '",J0=.05,uo="org.eclipse.elk.core.options",$Vn=1.2999999523162842,Q0="org.eclipse.elk.box",dcn="org.eclipse.elk.expandNodes",bcn="org.eclipse.elk.box.packingMode",xVn="org.eclipse.elk.algorithm",FVn="org.eclipse.elk.resolvedAlgorithm",wcn="org.eclipse.elk.bendPoints",iNe="org.eclipse.elk.labelManager",BVn="org.eclipse.elk.scaleFactor",RVn="org.eclipse.elk.childAreaWidth",KVn="org.eclipse.elk.childAreaHeight",_Vn="org.eclipse.elk.animate",HVn="org.eclipse.elk.animTimeFactor",qVn="org.eclipse.elk.layoutAncestors",UVn="org.eclipse.elk.maxAnimTime",GVn="org.eclipse.elk.minAnimTime",zVn="org.eclipse.elk.progressBar",XVn="org.eclipse.elk.validateGraph",VVn="org.eclipse.elk.validateOptions",WVn="org.eclipse.elk.zoomToFit",rNe="org.eclipse.elk.font.name",JVn="org.eclipse.elk.font.size",gcn="org.eclipse.elk.topdown.sizeApproximator",pcn="org.eclipse.elk.topdown.scaleCap",QVn="org.eclipse.elk.edge.type",YVn="partitioning",ZVn="nodeLabels",FS="portAlignment",uK="nodeSize",oK="port",mcn="portLabels",zy="topdown",nWn="insideSelfLoops",h8="org.eclipse.elk.fixed",BS="org.eclipse.elk.random",vcn={3:1,34:1,22:1,347:1},eWn="port must have a parent node to calculate the port side",tWn="The edge needs to have exactly one edge section. Found: ",l8="org.eclipse.elk.core.util.adapters",ts="org.eclipse.emf.ecore",o2="org.eclipse.elk.graph",iWn="EMapPropertyHolder",rWn="ElkBendPoint",cWn="ElkGraphElement",uWn="ElkConnectableShape",kcn="ElkEdge",oWn="ElkEdgeSection",sWn="EModelElement",fWn="ENamedElement",ycn="ElkLabel",jcn="ElkNode",Ecn="ElkPort",hWn={94:1,93:1},g3="org.eclipse.emf.common.notify.impl",ba="The feature '",a8="' is not a valid changeable feature",lWn="Expecting null",sK="' is not a valid feature",aWn="The feature ID",dWn=" is not a valid feature ID",kc=32768,bWn={110:1,94:1,93:1,58:1,54:1,99:1},qn="org.eclipse.emf.ecore.impl",Md="org.eclipse.elk.graph.impl",d8="Recursive containment not allowed for ",nv="The datatype '",Y0="' is not a valid classifier",fK="The value '",s2={195:1,3:1,4:1},hK="The class '",ev="http://www.eclipse.org/elk/ElkGraph",Ccn="property",b8="value",lK="source",wWn="properties",gWn="identifier",aK="height",dK="width",bK="parent",wK="text",gK="children",pWn="hierarchical",Mcn="sources",pK="targets",Tcn="sections",RS="bendPoints",Acn="outgoingShape",Scn="incomingShape",Pcn="outgoingSections",Icn="incomingSections",or="org.eclipse.emf.common.util",Ocn="Severe implementation error in the Json to ElkGraph importer.",Eh="id",Ui="org.eclipse.elk.graph.json",Dcn="Unhandled parameter types: ",mWn="startPoint",vWn="An edge must have at least one source and one target (edge id: '",tv="').",kWn="Referenced edge section does not exist: ",yWn=" (edge id: '",Lcn="target",jWn="sourcePoint",EWn="targetPoint",KS="group",Qe="name",CWn="connectableShape cannot be null",MWn="edge cannot be null",mK="Passed edge is not 'simple'.",_S="org.eclipse.elk.graph.util",Xy="The 'no duplicates' constraint is violated",vK="targetIndex=",Td=", size=",kK="sourceIndex=",Ch={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},yK={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},HS="logging",TWn="measureExecutionTime",AWn="parser.parse.1",SWn="parser.parse.2",qS="parser.next.1",jK="parser.next.2",PWn="parser.next.3",IWn="parser.next.4",Ad="parser.factor.1",Ncn="parser.factor.2",OWn="parser.factor.3",DWn="parser.factor.4",LWn="parser.factor.5",NWn="parser.factor.6",$Wn="parser.atom.1",xWn="parser.atom.2",FWn="parser.atom.3",$cn="parser.atom.4",EK="parser.atom.5",xcn="parser.cc.1",US="parser.cc.2",BWn="parser.cc.3",RWn="parser.cc.5",Fcn="parser.cc.6",Bcn="parser.cc.7",CK="parser.cc.8",KWn="parser.ope.1",_Wn="parser.ope.2",HWn="parser.ope.3",g1="parser.descape.1",qWn="parser.descape.2",UWn="parser.descape.3",GWn="parser.descape.4",zWn="parser.descape.5",is="parser.process.1",XWn="parser.quantifier.1",VWn="parser.quantifier.2",WWn="parser.quantifier.3",JWn="parser.quantifier.4",Rcn="parser.quantifier.5",QWn="org.eclipse.emf.common.notify",Kcn={424:1,686:1},YWn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},Vy={378:1,152:1},w8="index=",MK={3:1,4:1,5:1,129:1},ZWn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},_cn={3:1,6:1,4:1,5:1,198:1},nJn={3:1,4:1,5:1,173:1,379:1},eJn=";/?:@&=+$,",tJn="invalid authority: ",iJn="EAnnotation",rJn="ETypedElement",cJn="EStructuralFeature",uJn="EAttribute",oJn="EClassifier",sJn="EEnumLiteral",fJn="EGenericType",hJn="EOperation",lJn="EParameter",aJn="EReference",dJn="ETypeParameter",Tt="org.eclipse.emf.ecore.util",TK={79:1},Hcn={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},bJn="org.eclipse.emf.ecore.util.FeatureMap$Entry",$u=8192,Tw=2048,g8="byte",GS="char",p8="double",m8="float",v8="int",k8="long",y8="short",wJn="java.lang.Object",f2={3:1,4:1,5:1,254:1},qcn={3:1,4:1,5:1,688:1},gJn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},Qr={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},Wy="mixed",Be="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",vs="kind",pJn={3:1,4:1,5:1,689:1},Ucn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},zS={20:1,31:1,56:1,16:1,15:1,61:1,71:1},XS={51:1,128:1,287:1},VS={76:1,343:1},WS="The value of type '",JS="' must be of type '",h2=1352,ks="http://www.eclipse.org/emf/2002/Ecore",QS=-32768,Z0="constraints",Ji="baseType",mJn="getEStructuralFeature",vJn="getFeatureID",j8="feature",kJn="getOperationID",Gcn="operation",yJn="defaultValue",jJn="eTypeParameters",EJn="isInstance",CJn="getEEnumLiteral",MJn="eContainingClass",ze={57:1},TJn={3:1,4:1,5:1,124:1},AJn="org.eclipse.emf.ecore.resource",SJn={94:1,93:1,599:1,2034:1},AK="org.eclipse.emf.ecore.resource.impl",zcn="unspecified",Jy="simple",YS="attribute",PJn="attributeWildcard",ZS="element",SK="elementWildcard",vf="collapse",PK="itemType",nP="namespace",Qy="##targetNamespace",ys="whiteSpace",Xcn="wildcards",Sd="http://www.eclipse.org/emf/2003/XMLType",IK="##any",iv="uninitialized",Yy="The multiplicity constraint is violated",eP="org.eclipse.emf.ecore.xml.type",IJn="ProcessingInstruction",OJn="SimpleAnyType",DJn="XMLTypeDocumentRoot",oi="org.eclipse.emf.ecore.xml.type.impl",Zy="INF",LJn="processing",NJn="ENTITIES_._base",Vcn="minLength",Wcn="ENTITY",tP="NCName",$Jn="IDREFS_._base",Jcn="integer",OK="token",DK="pattern",xJn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Qcn="\\i\\c*",FJn="[\\i-[:]][\\c-[:]]*",BJn="nonPositiveInteger",nj="maxInclusive",Ycn="NMTOKEN",RJn="NMTOKENS_._base",Zcn="nonNegativeInteger",ej="minInclusive",KJn="normalizedString",_Jn="unsignedByte",HJn="unsignedInt",qJn="18446744073709551615",UJn="unsignedShort",GJn="processingInstruction",p1="org.eclipse.emf.ecore.xml.type.internal",rv=1114111,zJn="Internal Error: shorthands: \\u",E8="xml:isDigit",LK="xml:isWord",NK="xml:isSpace",$K="xml:isNameChar",xK="xml:isInitialNameChar",XJn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",VJn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",WJn="Private Use",FK="ASSIGNED",BK="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",nun="UNASSIGNED",cv={3:1,122:1},JJn="org.eclipse.emf.ecore.xml.type.util",iP={3:1,4:1,5:1,381:1},eun="org.eclipse.xtext.xbase.lib",QJn="Cannot add elements to a Range",YJn="Cannot set elements in a Range",ZJn="Cannot remove elements from a Range",nQn="user.agent",o,rP,RK;y.goog=y.goog||{},y.goog.global=y.goog.global||y,rP={},b(1,null,{},Bu),o.Fb=function(e){return QMn(this,e)},o.Gb=function(){return this.Rm},o.Hb=function(){return f0(this)},o.Ib=function(){var e;return Xa(wo(this))+"@"+(e=mt(this)>>>0,e.toString(16))},o.equals=function(n){return this.Fb(n)},o.hashCode=function(){return this.Hb()},o.toString=function(){return this.Ib()};var eQn,tQn,iQn;b(296,1,{296:1,2124:1},QQ),o.ve=function(e){var t;return t=new QQ,t.i=4,e>1?t.c=vOn(this,e-1):t.c=this,t},o.we=function(){return ll(this),this.b},o.xe=function(){return Xa(this)},o.ye=function(){return ll(this),this.k},o.ze=function(){return(this.i&4)!=0},o.Ae=function(){return(this.i&1)!=0},o.Ib=function(){return sQ(this)},o.i=0;var ki=w(ac,"Object",1),tun=w(ac,"Class",296);b(2096,1,vy),w(ky,"Optional",2096),b(1191,2096,vy,Ht),o.Fb=function(e){return e===this},o.Hb=function(){return 2040732332},o.Ib=function(){return"Optional.absent()"},o.Jb=function(e){return Se(e),Qv(),KK};var KK;w(ky,"Absent",1191),b(636,1,{},yD),w(ky,"Joiner",636);var cNe=Nt(ky,"Predicate");b(589,1,{178:1,589:1,3:1,46:1},T8n),o.Mb=function(e){return vFn(this,e)},o.Lb=function(e){return vFn(this,e)},o.Fb=function(e){var t;return D(e,589)?(t=u(e,589),Xnn(this.a,t.a)):!1},o.Hb=function(){return iY(this.a)+306654252},o.Ib=function(){return Gje(this.a)},w(ky,"Predicates/AndPredicate",589),b(419,2096,{419:1,3:1},ME),o.Fb=function(e){var t;return D(e,419)?(t=u(e,419),rt(this.a,t.a)):!1},o.Hb=function(){return 1502476572+mt(this.a)},o.Ib=function(){return Szn+this.a+")"},o.Jb=function(e){return new ME(MM(e.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},w(ky,"Present",419),b(204,1,Nm),o.Nb=function(e){_i(this,e)},o.Qb=function(){Kjn()},w(Cn,"UnmodifiableIterator",204),b(2076,204,$m),o.Qb=function(){Kjn()},o.Rb=function(e){throw M(new Pe)},o.Wb=function(e){throw M(new Pe)},w(Cn,"UnmodifiableListIterator",2076),b(399,2076,$m),o.Ob=function(){return this.c0},o.Pb=function(){if(this.c>=this.d)throw M(new nc);return this.Xb(this.c++)},o.Tb=function(){return this.c},o.Ub=function(){if(this.c<=0)throw M(new nc);return this.Xb(--this.c)},o.Vb=function(){return this.c-1},o.c=0,o.d=0,w(Cn,"AbstractIndexedListIterator",399),b(713,204,Nm),o.Ob=function(){return E$(this)},o.Pb=function(){return tQ(this)},o.e=1,w(Cn,"AbstractIterator",713),b(2084,1,{229:1}),o.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},o.Fb=function(e){return G$(this,e)},o.Hb=function(){return mt(this.Zb())},o.dc=function(){return this.gc()==0},o.ec=function(){return Tp(this)},o.Ib=function(){return Jr(this.Zb())},w(Cn,"AbstractMultimap",2084),b(742,2084,md),o.$b=function(){gT(this)},o._b=function(e){return cEn(this,e)},o.ac=function(){return new f4(this,this.c)},o.ic=function(e){return this.hc()},o.bc=function(){return new Mg(this,this.c)},o.jc=function(){return this.mc(this.hc())},o.kc=function(){return new Cjn(this)},o.lc=function(){return nF(this.c.vc().Nc(),new Xe,64,this.d)},o.cc=function(e){return ot(this,e)},o.fc=function(e){return Ik(this,e)},o.gc=function(){return this.d},o.mc=function(e){return Dn(),new J3(e)},o.nc=function(){return new Ejn(this)},o.oc=function(){return nF(this.c.Cc().Nc(),new Jt,64,this.d)},o.pc=function(e,t){return new VM(this,e,t,null)},o.d=0,w(Cn,"AbstractMapBasedMultimap",742),b(1696,742,md),o.hc=function(){return new Gc(this.a)},o.jc=function(){return Dn(),Dn(),sr},o.cc=function(e){return u(ot(this,e),15)},o.fc=function(e){return u(Ik(this,e),15)},o.Zb=function(){return Dp(this)},o.Fb=function(e){return G$(this,e)},o.qc=function(e){return u(ot(this,e),15)},o.rc=function(e){return u(Ik(this,e),15)},o.mc=function(e){return TN(u(e,15))},o.pc=function(e,t){return TDn(this,e,u(t,15),null)},w(Cn,"AbstractListMultimap",1696),b(748,1,Si),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.c.Ob()||this.e.Ob()},o.Pb=function(){var e;return this.e.Ob()||(e=u(this.c.Pb(),44),this.b=e.ld(),this.a=u(e.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},o.Qb=function(){this.e.Qb(),u(as(this.a),16).dc()&&this.c.Qb(),--this.d.d},w(Cn,"AbstractMapBasedMultimap/Itr",748),b(1129,748,Si,Ejn),o.sc=function(e,t){return t},w(Cn,"AbstractMapBasedMultimap/1",1129),b(1130,1,{},Jt),o.Kb=function(e){return u(e,16).Nc()},w(Cn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),b(1131,748,Si,Cjn),o.sc=function(e,t){return new t0(e,t)},w(Cn,"AbstractMapBasedMultimap/2",1131);var iun=Nt(le,"Map");b(2065,1,G0),o.wc=function(e){o5(this,e)},o.yc=function(e,t,i){return hx(this,e,t,i)},o.$b=function(){this.vc().$b()},o.tc=function(e){return xx(this,e)},o._b=function(e){return!!zZ(this,e,!1)},o.uc=function(e){var t,i,r;for(i=this.vc().Kc();i.Ob();)if(t=u(i.Pb(),44),r=t.md(),x(e)===x(r)||e!=null&&rt(e,r))return!0;return!1},o.Fb=function(e){var t,i,r;if(e===this)return!0;if(!D(e,85)||(r=u(e,85),this.gc()!=r.gc()))return!1;for(i=r.vc().Kc();i.Ob();)if(t=u(i.Pb(),44),!this.tc(t))return!1;return!0},o.xc=function(e){return Kr(zZ(this,e,!1))},o.Hb=function(){return XQ(this.vc())},o.dc=function(){return this.gc()==0},o.ec=function(){return new qa(this)},o.zc=function(e,t){throw M(new Kl("Put not supported on this map"))},o.Ac=function(e){u5(this,e)},o.Bc=function(e){return Kr(zZ(this,e,!0))},o.gc=function(){return this.vc().gc()},o.Ib=function(){return OKn(this)},o.Cc=function(){return new ol(this)},w(le,"AbstractMap",2065),b(2085,2065,G0),o.bc=function(){return new XE(this)},o.vc=function(){return jPn(this)},o.ec=function(){var e;return e=this.g,e||(this.g=this.bc())},o.Cc=function(){var e;return e=this.i,e||(this.i=new WEn(this))},w(Cn,"Maps/ViewCachingAbstractMap",2085),b(402,2085,G0,f4),o.xc=function(e){return hme(this,e)},o.Bc=function(e){return L6e(this,e)},o.$b=function(){this.d==this.e.c?this.e.$b():tM(new cW(this))},o._b=function(e){return iBn(this.d,e)},o.Ec=function(){return new A8n(this)},o.Dc=function(){return this.Ec()},o.Fb=function(e){return this===e||rt(this.d,e)},o.Hb=function(){return mt(this.d)},o.ec=function(){return this.e.ec()},o.gc=function(){return this.d.gc()},o.Ib=function(){return Jr(this.d)},w(Cn,"AbstractMapBasedMultimap/AsMap",402);var Oo=Nt(ac,"Iterable");b(31,1,pw),o.Jc=function(e){qi(this,e)},o.Lc=function(){return this.Oc()},o.Nc=function(){return new In(this,0)},o.Oc=function(){return new Tn(null,this.Nc())},o.Fc=function(e){throw M(new Kl("Add not supported on this collection"))},o.Gc=function(e){return Bi(this,e)},o.$b=function(){GW(this)},o.Hc=function(e){return iw(this,e,!1)},o.Ic=function(e){return jk(this,e)},o.dc=function(){return this.gc()==0},o.Mc=function(e){return iw(this,e,!0)},o.Pc=function(){return wW(this)},o.Qc=function(e){return M5(this,e)},o.Ib=function(){return ca(this)},w(le,"AbstractCollection",31);var js=Nt(le,"Set");b(Kf,31,Lu),o.Nc=function(){return new In(this,1)},o.Fb=function(e){return VBn(this,e)},o.Hb=function(){return XQ(this)},w(le,"AbstractSet",Kf),b(2068,Kf,Lu),w(Cn,"Sets/ImprovedAbstractSet",2068),b(2069,2068,Lu),o.$b=function(){this.Rc().$b()},o.Hc=function(e){return DBn(this,e)},o.dc=function(){return this.Rc().dc()},o.Mc=function(e){var t;return this.Hc(e)&&D(e,44)?(t=u(e,44),this.Rc().ec().Mc(t.ld())):!1},o.gc=function(){return this.Rc().gc()},w(Cn,"Maps/EntrySet",2069),b(1127,2069,Lu,A8n),o.Hc=function(e){return kY(this.a.d.vc(),e)},o.Kc=function(){return new cW(this.a)},o.Rc=function(){return this.a},o.Mc=function(e){var t;return kY(this.a.d.vc(),e)?(t=u(as(u(e,44)),44),Y3e(this.a.e,t.ld()),!0):!1},o.Nc=function(){return N7(this.a.d.vc().Nc(),new S8n(this.a))},w(Cn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),b(1128,1,{},S8n),o.Kb=function(e){return CLn(this.a,u(e,44))},w(Cn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),b(746,1,Si,cW),o.Nb=function(e){_i(this,e)},o.Pb=function(){var e;return e=u(this.b.Pb(),44),this.a=u(e.md(),16),CLn(this.c,e)},o.Ob=function(){return this.b.Ob()},o.Qb=function(){m4(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},w(Cn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),b(542,2068,Lu,XE),o.$b=function(){this.b.$b()},o.Hc=function(e){return this.b._b(e)},o.Jc=function(e){Se(e),this.b.wc(new G8n(e))},o.dc=function(){return this.b.dc()},o.Kc=function(){return new Yv(this.b.vc().Kc())},o.Mc=function(e){return this.b._b(e)?(this.b.Bc(e),!0):!1},o.gc=function(){return this.b.gc()},w(Cn,"Maps/KeySet",542),b(327,542,Lu,Mg),o.$b=function(){var e;tM((e=this.b.vc().Kc(),new Pz(this,e)))},o.Ic=function(e){return this.b.ec().Ic(e)},o.Fb=function(e){return this===e||rt(this.b.ec(),e)},o.Hb=function(){return mt(this.b.ec())},o.Kc=function(){var e;return e=this.b.vc().Kc(),new Pz(this,e)},o.Mc=function(e){var t,i;return i=0,t=u(this.b.Bc(e),16),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},o.Nc=function(){return this.b.ec().Nc()},w(Cn,"AbstractMapBasedMultimap/KeySet",327),b(747,1,Si,Pz),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.c.Ob()},o.Pb=function(){return this.a=u(this.c.Pb(),44),this.a.ld()},o.Qb=function(){var e;m4(!!this.a),e=u(this.a.md(),16),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},w(Cn,"AbstractMapBasedMultimap/KeySet/1",747),b(502,402,{85:1,133:1},A7),o.bc=function(){return this.Sc()},o.ec=function(){return this.Uc()},o.Sc=function(){return new e7(this.c,this.Wc())},o.Tc=function(){return this.Wc().Tc()},o.Uc=function(){var e;return e=this.b,e||(this.b=this.Sc())},o.Vc=function(){return this.Wc().Vc()},o.Wc=function(){return u(this.d,133)},w(Cn,"AbstractMapBasedMultimap/SortedAsMap",502),b(446,502,dtn,D6),o.bc=function(){return new s4(this.a,u(u(this.d,133),139))},o.Sc=function(){return new s4(this.a,u(u(this.d,133),139))},o.ec=function(){var e;return e=this.b,u(e||(this.b=new s4(this.a,u(u(this.d,133),139))),277)},o.Uc=function(){var e;return e=this.b,u(e||(this.b=new s4(this.a,u(u(this.d,133),139))),277)},o.Wc=function(){return u(u(this.d,133),139)},o.Xc=function(e){return u(u(this.d,133),139).Xc(e)},o.Yc=function(e){return u(u(this.d,133),139).Yc(e)},o.Zc=function(e,t){return new D6(this.a,u(u(this.d,133),139).Zc(e,t))},o.$c=function(e){return u(u(this.d,133),139).$c(e)},o._c=function(e){return u(u(this.d,133),139)._c(e)},o.ad=function(e,t){return new D6(this.a,u(u(this.d,133),139).ad(e,t))},w(Cn,"AbstractMapBasedMultimap/NavigableAsMap",446),b(501,327,Pzn,e7),o.Nc=function(){return this.b.ec().Nc()},w(Cn,"AbstractMapBasedMultimap/SortedKeySet",501),b(401,501,btn,s4),w(Cn,"AbstractMapBasedMultimap/NavigableKeySet",401),b(551,31,pw,VM),o.Fc=function(e){var t,i;return eo(this),i=this.d.dc(),t=this.d.Fc(e),t&&(++this.f.d,i&&O7(this)),t},o.Gc=function(e){var t,i,r;return e.dc()?!1:(r=(eo(this),this.d.gc()),t=this.d.Gc(e),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&O7(this)),t)},o.$b=function(){var e;e=(eo(this),this.d.gc()),e!=0&&(this.d.$b(),this.f.d-=e,sM(this))},o.Hc=function(e){return eo(this),this.d.Hc(e)},o.Ic=function(e){return eo(this),this.d.Ic(e)},o.Fb=function(e){return e===this?!0:(eo(this),rt(this.d,e))},o.Hb=function(){return eo(this),mt(this.d)},o.Kc=function(){return eo(this),new HV(this)},o.Mc=function(e){var t;return eo(this),t=this.d.Mc(e),t&&(--this.f.d,sM(this)),t},o.gc=function(){return FMn(this)},o.Nc=function(){return eo(this),this.d.Nc()},o.Ib=function(){return eo(this),Jr(this.d)},w(Cn,"AbstractMapBasedMultimap/WrappedCollection",551);var rs=Nt(le,"List");b(744,551,{20:1,31:1,16:1,15:1},mW),o.jd=function(e){ud(this,e)},o.Nc=function(){return eo(this),this.d.Nc()},o.bd=function(e,t){var i;eo(this),i=this.d.dc(),u(this.d,15).bd(e,t),++this.a.d,i&&O7(this)},o.cd=function(e,t){var i,r,c;return t.dc()?!1:(c=(eo(this),this.d.gc()),i=u(this.d,15).cd(e,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&O7(this)),i)},o.Xb=function(e){return eo(this),u(this.d,15).Xb(e)},o.dd=function(e){return eo(this),u(this.d,15).dd(e)},o.ed=function(){return eo(this),new dTn(this)},o.fd=function(e){return eo(this),new xIn(this,e)},o.gd=function(e){var t;return eo(this),t=u(this.d,15).gd(e),--this.a.d,sM(this),t},o.hd=function(e,t){return eo(this),u(this.d,15).hd(e,t)},o.kd=function(e,t){return eo(this),TDn(this.a,this.e,u(this.d,15).kd(e,t),this.b?this.b:this)},w(Cn,"AbstractMapBasedMultimap/WrappedList",744),b(1126,744,{20:1,31:1,16:1,15:1,59:1},tAn),w(Cn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),b(628,1,Si,HV),o.Nb=function(e){_i(this,e)},o.Ob=function(){return P4(this),this.b.Ob()},o.Pb=function(){return P4(this),this.b.Pb()},o.Qb=function(){KTn(this)},w(Cn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),b(745,628,Hh,dTn,xIn),o.Qb=function(){KTn(this)},o.Rb=function(e){var t;t=FMn(this.a)==0,(P4(this),u(this.b,128)).Rb(e),++this.a.a.d,t&&O7(this.a)},o.Sb=function(){return(P4(this),u(this.b,128)).Sb()},o.Tb=function(){return(P4(this),u(this.b,128)).Tb()},o.Ub=function(){return(P4(this),u(this.b,128)).Ub()},o.Vb=function(){return(P4(this),u(this.b,128)).Vb()},o.Wb=function(e){(P4(this),u(this.b,128)).Wb(e)},w(Cn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),b(743,551,Pzn,oV),o.Nc=function(){return eo(this),this.d.Nc()},w(Cn,"AbstractMapBasedMultimap/WrappedSortedSet",743),b(1125,743,btn,sTn),w(Cn,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),b(1124,551,Lu,EAn),o.Nc=function(){return eo(this),this.d.Nc()},w(Cn,"AbstractMapBasedMultimap/WrappedSet",1124),b(1133,1,{},Xe),o.Kb=function(e){return s4e(u(e,44))},w(Cn,"AbstractMapBasedMultimap/lambda$1$Type",1133),b(1132,1,{},D8n),o.Kb=function(e){return new t0(this.a,e)},w(Cn,"AbstractMapBasedMultimap/lambda$2$Type",1132);var Pd=Nt(le,"Map/Entry");b(358,1,tB),o.Fb=function(e){var t;return D(e,44)?(t=u(e,44),sh(this.ld(),t.ld())&&sh(this.md(),t.md())):!1},o.Hb=function(){var e,t;return e=this.ld(),t=this.md(),(e==null?0:mt(e))^(t==null?0:mt(t))},o.nd=function(e){throw M(new Pe)},o.Ib=function(){return this.ld()+"="+this.md()},w(Cn,Izn,358),b(2086,31,pw),o.$b=function(){this.od().$b()},o.Hc=function(e){var t;return D(e,44)?(t=u(e,44),Ppe(this.od(),t.ld(),t.md())):!1},o.Mc=function(e){var t;return D(e,44)?(t=u(e,44),oDn(this.od(),t.ld(),t.md())):!1},o.gc=function(){return this.od().d},w(Cn,"Multimaps/Entries",2086),b(749,2086,pw,sG),o.Kc=function(){return this.a.kc()},o.od=function(){return this.a},o.Nc=function(){return this.a.lc()},w(Cn,"AbstractMultimap/Entries",749),b(750,749,Lu,uz),o.Nc=function(){return this.a.lc()},o.Fb=function(e){return ann(this,e)},o.Hb=function(){return mxn(this)},w(Cn,"AbstractMultimap/EntrySet",750),b(751,31,pw,fG),o.$b=function(){this.a.$b()},o.Hc=function(e){return A6e(this.a,e)},o.Kc=function(){return this.a.nc()},o.gc=function(){return this.a.d},o.Nc=function(){return this.a.oc()},w(Cn,"AbstractMultimap/Values",751),b(2087,31,{849:1,20:1,31:1,16:1}),o.Jc=function(e){Se(e),Ag(this).Jc(new Q8n(e))},o.Nc=function(){var e;return e=Ag(this).Nc(),nF(e,new Mf,64|e.yd()&1296,this.a.d)},o.Fc=function(e){return bz(),!0},o.Gc=function(e){return Se(this),Se(e),D(e,552)?Dpe(u(e,849)):!e.dc()&&b$(this,e.Kc())},o.Hc=function(e){var t;return t=u(tw(Dp(this.a),e),16),(t?t.gc():0)>0},o.Fb=function(e){return nMe(this,e)},o.Hb=function(){return mt(Ag(this))},o.dc=function(){return Ag(this).dc()},o.Mc=function(e){return G_n(this,e,1)>0},o.Ib=function(){return Jr(Ag(this))},w(Cn,"AbstractMultiset",2087),b(2089,2068,Lu),o.$b=function(){gT(this.a.a)},o.Hc=function(e){var t,i;return D(e,503)?(i=u(e,425),u(i.a.md(),16).gc()<=0?!1:(t=NOn(this.a,i.a.ld()),t==u(i.a.md(),16).gc())):!1},o.Mc=function(e){var t,i,r,c;return D(e,503)&&(i=u(e,425),t=i.a.ld(),r=u(i.a.md(),16).gc(),r!=0)?(c=this.a,UEe(c,t,r)):!1},w(Cn,"Multisets/EntrySet",2089),b(1139,2089,Lu,L8n),o.Kc=function(){return new Pjn(jPn(Dp(this.a.a)).Kc())},o.gc=function(){return Dp(this.a.a).gc()},w(Cn,"AbstractMultiset/EntrySet",1139),b(627,742,md),o.hc=function(){return this.pd()},o.jc=function(){return this.qd()},o.cc=function(e){return this.rd(e)},o.fc=function(e){return this.sd(e)},o.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},o.qd=function(){return Dn(),Dn(),hP},o.Fb=function(e){return G$(this,e)},o.rd=function(e){return u(ot(this,e),21)},o.sd=function(e){return u(Ik(this,e),21)},o.mc=function(e){return Dn(),new i4(u(e,21))},o.pc=function(e,t){return new EAn(this,e,u(t,21))},w(Cn,"AbstractSetMultimap",627),b(1723,627,md),o.hc=function(){return new Ul(this.b)},o.pd=function(){return new Ul(this.b)},o.jc=function(){return RW(new Ul(this.b))},o.qd=function(){return RW(new Ul(this.b))},o.cc=function(e){return u(u(ot(this,e),21),87)},o.rd=function(e){return u(u(ot(this,e),21),87)},o.fc=function(e){return u(u(Ik(this,e),21),87)},o.sd=function(e){return u(u(Ik(this,e),21),87)},o.mc=function(e){return D(e,277)?RW(u(e,277)):(Dn(),new zX(u(e,87)))},o.Zb=function(){var e;return e=this.f,e||(this.f=D(this.c,139)?new D6(this,u(this.c,139)):D(this.c,133)?new A7(this,u(this.c,133)):new f4(this,this.c))},o.pc=function(e,t){return D(t,277)?new sTn(this,e,u(t,277)):new oV(this,e,u(t,87))},w(Cn,"AbstractSortedSetMultimap",1723),b(1724,1723,md),o.Zb=function(){var e;return e=this.f,u(u(e||(this.f=D(this.c,139)?new D6(this,u(this.c,139)):D(this.c,133)?new A7(this,u(this.c,133)):new f4(this,this.c)),133),139)},o.ec=function(){var e;return e=this.i,u(u(e||(this.i=D(this.c,139)?new s4(this,u(this.c,139)):D(this.c,133)?new e7(this,u(this.c,133)):new Mg(this,this.c)),87),277)},o.bc=function(){return D(this.c,139)?new s4(this,u(this.c,139)):D(this.c,133)?new e7(this,u(this.c,133)):new Mg(this,this.c)},w(Cn,"AbstractSortedKeySortedSetMultimap",1724),b(2109,1,{2046:1}),o.Fb=function(e){return Mke(this,e)},o.Hb=function(){var e;return XQ((e=this.g,e||(this.g=new zO(this))))},o.Ib=function(){var e;return OKn((e=this.f,e||(this.f=new HX(this))))},w(Cn,"AbstractTable",2109),b(679,Kf,Lu,zO),o.$b=function(){_jn()},o.Hc=function(e){var t,i;return D(e,478)?(t=u(e,697),i=u(tw(zPn(this.a),_1(t.c.e,t.b)),85),!!i&&kY(i.vc(),new t0(_1(t.c.c,t.a),Rp(t.c,t.b,t.a)))):!1},o.Kc=function(){return Pge(this.a)},o.Mc=function(e){var t,i;return D(e,478)?(t=u(e,697),i=u(tw(zPn(this.a),_1(t.c.e,t.b)),85),!!i&&u5e(i.vc(),new t0(_1(t.c.c,t.a),Rp(t.c,t.b,t.a)))):!1},o.gc=function(){return WSn(this.a)},o.Nc=function(){return $pe(this.a)},w(Cn,"AbstractTable/CellSet",679),b(2025,31,pw,$8n),o.$b=function(){_jn()},o.Hc=function(e){return pye(this.a,e)},o.Kc=function(){return Ige(this.a)},o.gc=function(){return WSn(this.a)},o.Nc=function(){return uDn(this.a)},w(Cn,"AbstractTable/Values",2025),b(1697,1696,md),w(Cn,"ArrayListMultimapGwtSerializationDependencies",1697),b(520,1697,md,CD,oJ),o.hc=function(){return new Gc(this.a)},o.a=0,w(Cn,"ArrayListMultimap",520),b(678,2109,{678:1,2046:1,3:1},rHn),w(Cn,"ArrayTable",678),b(2021,399,$m,_Tn),o.Xb=function(e){return new YQ(this.a,e)},w(Cn,"ArrayTable/1",2021),b(2022,1,{},P8n),o.td=function(e){return new YQ(this.a,e)},w(Cn,"ArrayTable/1methodref$getCell$Type",2022),b(2110,1,{697:1}),o.Fb=function(e){var t;return e===this?!0:D(e,478)?(t=u(e,697),sh(_1(this.c.e,this.b),_1(t.c.e,t.b))&&sh(_1(this.c.c,this.a),_1(t.c.c,t.a))&&sh(Rp(this.c,this.b,this.a),Rp(t.c,t.b,t.a))):!1},o.Hb=function(){return Pk(A(T(ki,1),Fn,1,5,[_1(this.c.e,this.b),_1(this.c.c,this.a),Rp(this.c,this.b,this.a)]))},o.Ib=function(){return"("+_1(this.c.e,this.b)+","+_1(this.c.c,this.a)+")="+Rp(this.c,this.b,this.a)},w(Cn,"Tables/AbstractCell",2110),b(478,2110,{478:1,697:1},YQ),o.a=0,o.b=0,o.d=0,w(Cn,"ArrayTable/2",478),b(2024,1,{},I8n),o.td=function(e){return ONn(this.a,e)},w(Cn,"ArrayTable/2methodref$getValue$Type",2024),b(2023,399,$m,HTn),o.Xb=function(e){return ONn(this.a,e)},w(Cn,"ArrayTable/3",2023),b(2077,2065,G0),o.$b=function(){tM(this.kc())},o.vc=function(){return new U8n(this)},o.lc=function(){return new TIn(this.kc(),this.gc())},w(Cn,"Maps/IteratorBasedAbstractMap",2077),b(842,2077,G0),o.$b=function(){throw M(new Pe)},o._b=function(e){return uEn(this.c,e)},o.kc=function(){return new qTn(this,this.c.b.c.gc())},o.lc=function(){return XL(this.c.b.c.gc(),16,new O8n(this))},o.xc=function(e){var t;return t=u(L6(this.c,e),17),t?this.vd(t.a):null},o.dc=function(){return this.c.b.c.dc()},o.ec=function(){return eN(this.c)},o.zc=function(e,t){var i;if(i=u(L6(this.c,e),17),!i)throw M(new Gn(this.ud()+" "+e+" not in "+eN(this.c)));return this.wd(i.a,t)},o.Bc=function(e){throw M(new Pe)},o.gc=function(){return this.c.b.c.gc()},w(Cn,"ArrayTable/ArrayMap",842),b(2020,1,{},O8n),o.td=function(e){return VPn(this.a,e)},w(Cn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),b(2018,358,tB,DEn),o.ld=function(){return q1e(this.a,this.b)},o.md=function(){return this.a.vd(this.b)},o.nd=function(e){return this.a.wd(this.b,e)},o.b=0,w(Cn,"ArrayTable/ArrayMap/1",2018),b(2019,399,$m,qTn),o.Xb=function(e){return VPn(this.a,e)},w(Cn,"ArrayTable/ArrayMap/2",2019),b(2017,842,G0,$Pn),o.ud=function(){return"Column"},o.vd=function(e){return Rp(this.b,this.a,e)},o.wd=function(e,t){return rFn(this.b,this.a,e,t)},o.a=0,w(Cn,"ArrayTable/Row",2017),b(843,842,G0,HX),o.vd=function(e){return new $Pn(this.a,e)},o.zc=function(e,t){return u(t,85),hhe()},o.wd=function(e,t){return u(t,85),lhe()},o.ud=function(){return"Row"},w(Cn,"ArrayTable/RowMap",843),b(1157,1,Po,LEn),o.Ad=function(e){return(this.a.yd()&-262&e)!=0},o.yd=function(){return this.a.yd()&-262},o.zd=function(){return this.a.zd()},o.Nb=function(e){this.a.Nb(new $En(e,this.b))},o.Bd=function(e){return this.a.Bd(new NEn(e,this.b))},w(Cn,"CollectSpliterators/1",1157),b(1158,1,re,NEn),o.Cd=function(e){this.a.Cd(this.b.Kb(e))},w(Cn,"CollectSpliterators/1/lambda$0$Type",1158),b(1159,1,re,$En),o.Cd=function(e){this.a.Cd(this.b.Kb(e))},w(Cn,"CollectSpliterators/1/lambda$1$Type",1159),b(1154,1,Po,rSn),o.Ad=function(e){return((16464|this.b)&e)!=0},o.yd=function(){return 16464|this.b},o.zd=function(){return this.a.zd()},o.Nb=function(e){this.a.Qe(new FEn(e,this.c))},o.Bd=function(e){return this.a.Re(new xEn(e,this.c))},o.b=0,w(Cn,"CollectSpliterators/1WithCharacteristics",1154),b(1155,1,yy,xEn),o.Dd=function(e){this.a.Cd(this.b.td(e))},w(Cn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),b(1156,1,yy,FEn),o.Dd=function(e){this.a.Cd(this.b.td(e))},w(Cn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),b(1150,1,Po),o.Ad=function(e){return(this.a&e)!=0},o.yd=function(){return this.a},o.zd=function(){return this.e&&(this.b=IX(this.b,this.e.zd())),IX(this.b,0)},o.Nb=function(e){this.e&&(this.e.Nb(e),this.e=null),this.c.Nb(new BEn(this,e)),this.b=0},o.Bd=function(e){for(;;){if(this.e&&this.e.Bd(e))return j6(this.b,jy)&&(this.b=bs(this.b,1)),!0;if(this.e=null,!this.c.Bd(new x8n(this)))return!1}},o.a=0,o.b=0,w(Cn,"CollectSpliterators/FlatMapSpliterator",1150),b(1152,1,re,x8n),o.Cd=function(e){_ae(this.a,e)},w(Cn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),b(1153,1,re,BEn),o.Cd=function(e){age(this.a,this.b,e)},w(Cn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),b(1151,1150,Po,CDn),w(Cn,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),b(253,1,iB),o.Fd=function(e){return this.Ed(u(e,253))},o.Ed=function(e){var t;return e==(bD(),HK)?1:e==(dD(),_K)?-1:(t=(QC(),pk(this.a,e.a)),t!=0?t:D(this,526)==D(e,526)?0:D(this,526)?1:-1)},o.Id=function(){return this.a},o.Fb=function(e){return mZ(this,e)},w(Cn,"Cut",253),b(1823,253,iB,jjn),o.Ed=function(e){return e==this?0:1},o.Gd=function(e){throw M(new _G)},o.Hd=function(e){e.a+="+∞)"},o.Id=function(){throw M(new Or(Dzn))},o.Hb=function(){return fl(),iZ(this)},o.Jd=function(e){return!1},o.Ib=function(){return"+∞"};var _K;w(Cn,"Cut/AboveAll",1823),b(526,253,{253:1,526:1,3:1,34:1},WTn),o.Gd=function(e){Dc((e.a+="(",e),this.a)},o.Hd=function(e){z1(Dc(e,this.a),93)},o.Hb=function(){return~mt(this.a)},o.Jd=function(e){return QC(),pk(this.a,e)<0},o.Ib=function(){return"/"+this.a+"\\"},w(Cn,"Cut/AboveValue",526),b(1822,253,iB,yjn),o.Ed=function(e){return e==this?0:-1},o.Gd=function(e){e.a+="(-∞"},o.Hd=function(e){throw M(new _G)},o.Id=function(){throw M(new Or(Dzn))},o.Hb=function(){return fl(),iZ(this)},o.Jd=function(e){return!0},o.Ib=function(){return"-∞"};var HK;w(Cn,"Cut/BelowAll",1822),b(1824,253,iB,JTn),o.Gd=function(e){Dc((e.a+="[",e),this.a)},o.Hd=function(e){z1(Dc(e,this.a),41)},o.Hb=function(){return mt(this.a)},o.Jd=function(e){return QC(),pk(this.a,e)<=0},o.Ib=function(){return"\\"+this.a+"/"},w(Cn,"Cut/BelowValue",1824),b(547,1,qh),o.Jc=function(e){qi(this,e)},o.Ib=function(){return A5e(u(MM(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},w(Cn,"FluentIterable",547),b(442,547,qh,M6),o.Kc=function(){return new ie(ce(this.a.Kc(),new En))},w(Cn,"FluentIterable/2",442),b(1059,547,qh,rTn),o.Kc=function(){return $h(this)},w(Cn,"FluentIterable/3",1059),b(724,399,$m,qX),o.Xb=function(e){return this.a[e].Kc()},w(Cn,"FluentIterable/3/1",724),b(2070,1,{}),o.Ib=function(){return Jr(this.Kd().b)},w(Cn,"ForwardingObject",2070),b(2071,2070,Lzn),o.Kd=function(){return this.Ld()},o.Jc=function(e){qi(this,e)},o.Lc=function(){return this.Oc()},o.Nc=function(){return new In(this,0)},o.Oc=function(){return new Tn(null,this.Nc())},o.Fc=function(e){return this.Ld(),sEn()},o.Gc=function(e){return this.Ld(),fEn()},o.$b=function(){this.Ld(),hEn()},o.Hc=function(e){return this.Ld().Hc(e)},o.Ic=function(e){return this.Ld().Ic(e)},o.dc=function(){return this.Ld().b.dc()},o.Kc=function(){return this.Ld().Kc()},o.Mc=function(e){return this.Ld(),lEn()},o.gc=function(){return this.Ld().b.gc()},o.Pc=function(){return this.Ld().Pc()},o.Qc=function(e){return this.Ld().Qc(e)},w(Cn,"ForwardingCollection",2071),b(2078,31,wtn),o.Kc=function(){return this.Od()},o.Fc=function(e){throw M(new Pe)},o.Gc=function(e){throw M(new Pe)},o.Md=function(){var e;return e=this.c,e||(this.c=this.Nd())},o.$b=function(){throw M(new Pe)},o.Hc=function(e){return e!=null&&iw(this,e,!1)},o.Nd=function(){switch(this.gc()){case 0:return g0(),g0(),qK;case 1:return g0(),new VL(Se(this.Od().Pb()));default:return new jW(this,this.Pc())}},o.Mc=function(e){throw M(new Pe)},w(Cn,"ImmutableCollection",2078),b(727,2078,wtn,RG),o.Kc=function(){return Kp(this.a.Kc())},o.Hc=function(e){return e!=null&&this.a.Hc(e)},o.Ic=function(e){return this.a.Ic(e)},o.dc=function(){return this.a.dc()},o.Od=function(){return Kp(this.a.Kc())},o.gc=function(){return this.a.gc()},o.Pc=function(){return this.a.Pc()},o.Qc=function(e){return this.a.Qc(e)},o.Ib=function(){return Jr(this.a)},w(Cn,"ForwardingImmutableCollection",727),b(306,2078,xm),o.Kc=function(){return this.Od()},o.ed=function(){return this.Pd(0)},o.fd=function(e){return this.Pd(e)},o.jd=function(e){ud(this,e)},o.Nc=function(){return new In(this,16)},o.kd=function(e,t){return this.Qd(e,t)},o.bd=function(e,t){throw M(new Pe)},o.cd=function(e,t){throw M(new Pe)},o.Md=function(){return this},o.Fb=function(e){return HCe(this,e)},o.Hb=function(){return xve(this)},o.dd=function(e){return e==null?-1:c7e(this,e)},o.Od=function(){return this.Pd(0)},o.Pd=function(e){return TL(this,e)},o.gd=function(e){throw M(new Pe)},o.hd=function(e,t){throw M(new Pe)},o.Qd=function(e,t){var i;return FT((i=new VEn(this),new Jl(i,e,t)))};var qK;w(Cn,"ImmutableList",306),b(2105,306,xm),o.Kc=function(){return Kp(this.Rd().Kc())},o.kd=function(e,t){return FT(this.Rd().kd(e,t))},o.Hc=function(e){return e!=null&&this.Rd().Hc(e)},o.Ic=function(e){return this.Rd().Ic(e)},o.Fb=function(e){return rt(this.Rd(),e)},o.Xb=function(e){return _1(this,e)},o.Hb=function(){return mt(this.Rd())},o.dd=function(e){return this.Rd().dd(e)},o.dc=function(){return this.Rd().dc()},o.Od=function(){return Kp(this.Rd().Kc())},o.gc=function(){return this.Rd().gc()},o.Qd=function(e,t){return FT(this.Rd().kd(e,t))},o.Pc=function(){return this.Rd().Qc(K(ki,Fn,1,this.Rd().gc(),5,1))},o.Qc=function(e){return this.Rd().Qc(e)},o.Ib=function(){return Jr(this.Rd())},w(Cn,"ForwardingImmutableList",2105),b(729,1,Fm),o.vc=function(){return Ja(this)},o.wc=function(e){o5(this,e)},o.ec=function(){return eN(this)},o.yc=function(e,t,i){return hx(this,e,t,i)},o.Cc=function(){return this.Vd()},o.$b=function(){throw M(new Pe)},o._b=function(e){return this.xc(e)!=null},o.uc=function(e){return this.Vd().Hc(e)},o.Td=function(){return new Iyn(this)},o.Ud=function(){return new Oyn(this)},o.Fb=function(e){return S6e(this,e)},o.Hb=function(){return Ja(this).Hb()},o.dc=function(){return this.gc()==0},o.zc=function(e,t){return fhe()},o.Bc=function(e){throw M(new Pe)},o.Ib=function(){return wje(this)},o.Vd=function(){return this.e?this.e:this.e=this.Ud()},o.c=null,o.d=null,o.e=null;var rQn;w(Cn,"ImmutableMap",729),b(730,729,Fm),o._b=function(e){return uEn(this,e)},o.uc=function(e){return nCn(this.b,e)},o.Sd=function(){return nBn(new N8n(this))},o.Td=function(){return nBn(gIn(this.b))},o.Ud=function(){return oh(),new RG(wIn(this.b))},o.Fb=function(e){return eCn(this.b,e)},o.xc=function(e){return L6(this,e)},o.Hb=function(){return mt(this.b.c)},o.dc=function(){return this.b.c.dc()},o.gc=function(){return this.b.c.gc()},o.Ib=function(){return Jr(this.b.c)},w(Cn,"ForwardingImmutableMap",730),b(2072,2071,rB),o.Kd=function(){return this.Wd()},o.Ld=function(){return this.Wd()},o.Nc=function(){return new In(this,1)},o.Fb=function(e){return e===this||this.Wd().Fb(e)},o.Hb=function(){return this.Wd().Hb()},w(Cn,"ForwardingSet",2072),b(1085,2072,rB,N8n),o.Kd=function(){return A4(this.a.b)},o.Ld=function(){return A4(this.a.b)},o.Hc=function(e){if(D(e,44)&&u(e,44).ld()==null)return!1;try{return ZEn(A4(this.a.b),e)}catch(t){if(t=It(t),D(t,212))return!1;throw M(t)}},o.Wd=function(){return A4(this.a.b)},o.Qc=function(e){var t;return t=nOn(A4(this.a.b),e),A4(this.a.b).b.gc()=0?"+":"")+(i/60|0),t=IC(y.Math.abs(i)%60),(qKn(),EQn)[this.q.getDay()]+" "+CQn[this.q.getMonth()]+" "+IC(this.q.getDate())+" "+IC(this.q.getHours())+":"+IC(this.q.getMinutes())+":"+IC(this.q.getSeconds())+" GMT"+e+t+" "+this.q.getFullYear()};var oP=w(le,"Date",206);b(2015,206,Hzn,aKn),o.a=!1,o.b=0,o.c=0,o.d=0,o.e=0,o.f=0,o.g=!1,o.i=0,o.j=0,o.k=0,o.n=0,o.o=0,o.p=0,w("com.google.gwt.i18n.shared.impl","DateRecord",2015),b(2064,1,{}),o.pe=function(){return null},o.qe=function(){return null},o.re=function(){return null},o.se=function(){return null},o.te=function(){return null},w(u3,"JSONValue",2064),b(221,2064,{221:1},_a,lG),o.Fb=function(e){return D(e,221)?fJ(this.a,u(e,221).a):!1},o.oe=function(){return Nfe},o.Hb=function(){return YW(this.a)},o.pe=function(){return this},o.Ib=function(){var e,t,i;for(i=new mo("["),t=0,e=this.a.length;t0&&(i.a+=","),Dc(i,Jb(this,t));return i.a+="]",i.a},w(u3,"JSONArray",221),b(492,2064,{492:1},aG),o.oe=function(){return $fe},o.qe=function(){return this},o.Ib=function(){return _n(),""+this.a},o.a=!1;var lQn,aQn;w(u3,"JSONBoolean",492),b(997,63,Pl,Ijn),w(u3,"JSONException",997),b(1036,2064,{},C0n),o.oe=function(){return xfe},o.Ib=function(){return gu};var dQn;w(u3,"JSONNull",1036),b(263,2064,{263:1},TE),o.Fb=function(e){return D(e,263)?this.a==u(e,263).a:!1},o.oe=function(){return Dfe},o.Hb=function(){return pp(this.a)},o.re=function(){return this},o.Ib=function(){return this.a+""},o.a=0,w(u3,"JSONNumber",263),b(190,2064,{190:1},sp,q9),o.Fb=function(e){return D(e,190)?fJ(this.a,u(e,190).a):!1},o.oe=function(){return Lfe},o.Hb=function(){return YW(this.a)},o.se=function(){return this},o.Ib=function(){var e,t,i,r,c,s,f;for(f=new mo("{"),e=!0,s=S$(this,K(fn,J,2,0,6,1)),i=s,r=0,c=i.length;r=0?":"+this.c:"")+")"},o.c=0;var kun=w(ac,"StackTraceElement",319);iQn={3:1,483:1,34:1,2:1};var fn=w(ac,gtn,2);b(111,427,{483:1},Hl,e6,ls),w(ac,"StringBuffer",111),b(104,427,{483:1},x1,fg,mo),w(ac,"StringBuilder",104),b(702,77,AB,wz),w(ac,"StringIndexOutOfBoundsException",702),b(2145,1,{});var pQn;b(48,63,{3:1,103:1,63:1,82:1,48:1},Pe,Kl),w(ac,"UnsupportedOperationException",48),b(247,242,{3:1,34:1,242:1,247:1},Lk,Tz),o.Fd=function(e){return FUn(this,u(e,247))},o.ue=function(){return sw(lGn(this))},o.Fb=function(e){var t;return this===e?!0:D(e,247)?(t=u(e,247),this.e==t.e&&FUn(this,t)==0):!1},o.Hb=function(){var e;return this.b!=0?this.b:this.a<54?(e=vc(this.f),this.b=Ae(vi(e,-1)),this.b=33*this.b+Ae(vi(d0(e,32),-1)),this.b=17*this.b+wi(this.e),this.b):(this.b=17*WFn(this.c)+wi(this.e),this.b)},o.Ib=function(){return lGn(this)},o.a=0,o.b=0,o.d=0,o.e=0,o.f=0;var mQn,Id,yun,jun,Eun,Cun,Mun,Tun,QK=w("java.math","BigDecimal",247);b(92,242,{3:1,34:1,242:1,92:1},gl,_On,Ya,JBn,H1),o.Fd=function(e){return zBn(this,u(e,92))},o.ue=function(){return sw(ZF(this,0))},o.Fb=function(e){return KY(this,e)},o.Hb=function(){return WFn(this)},o.Ib=function(){return ZF(this,0)},o.b=-2,o.c=0,o.d=0,o.e=0;var vQn,sP,kQn,YK,fP,T8,l2=w("java.math","BigInteger",92),yQn,jQn,m3,A8;b(497,2065,G0),o.$b=function(){Hu(this)},o._b=function(e){return Zc(this,e)},o.uc=function(e){return IFn(this,e,this.i)||IFn(this,e,this.f)},o.vc=function(){return new Ua(this)},o.xc=function(e){return ee(this,e)},o.zc=function(e,t){return Ve(this,e,t)},o.Bc=function(e){return Bp(this,e)},o.gc=function(){return i6(this)},o.g=0,w(le,"AbstractHashMap",497),b(267,Kf,Lu,Ua),o.$b=function(){this.a.$b()},o.Hc=function(e){return pDn(this,e)},o.Kc=function(){return new sd(this.a)},o.Mc=function(e){var t;return pDn(this,e)?(t=u(e,44).ld(),this.a.Bc(t),!0):!1},o.gc=function(){return this.a.gc()},w(le,"AbstractHashMap/EntrySet",267),b(268,1,Si,sd),o.Nb=function(e){_i(this,e)},o.Pb=function(){return O0(this)},o.Ob=function(){return this.b},o.Qb=function(){zNn(this)},o.b=!1,o.d=0,w(le,"AbstractHashMap/EntrySetIterator",268),b(426,1,Si,Gv),o.Nb=function(e){_i(this,e)},o.Ob=function(){return DD(this)},o.Pb=function(){return XW(this)},o.Qb=function(){bo(this)},o.b=0,o.c=-1,w(le,"AbstractList/IteratorImpl",426),b(98,426,Hh,xi),o.Qb=function(){bo(this)},o.Rb=function(e){Rb(this,e)},o.Sb=function(){return this.b>0},o.Tb=function(){return this.b},o.Ub=function(){return oe(this.b>0),this.a.Xb(this.c=--this.b)},o.Vb=function(){return this.b-1},o.Wb=function(e){Fb(this.c!=-1),this.a.hd(this.c,e)},w(le,"AbstractList/ListIteratorImpl",98),b(244,56,Bm,Jl),o.bd=function(e,t){zb(e,this.b),this.c.bd(this.a+e,t),++this.b},o.Xb=function(e){return Ln(e,this.b),this.c.Xb(this.a+e)},o.gd=function(e){var t;return Ln(e,this.b),t=this.c.gd(this.a+e),--this.b,t},o.hd=function(e,t){return Ln(e,this.b),this.c.hd(this.a+e,t)},o.gc=function(){return this.b},o.a=0,o.b=0,w(le,"AbstractList/SubList",244),b(266,Kf,Lu,qa),o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a._b(e)},o.Kc=function(){var e;return e=this.a.vc().Kc(),new SE(e)},o.Mc=function(e){return this.a._b(e)?(this.a.Bc(e),!0):!1},o.gc=function(){return this.a.gc()},w(le,"AbstractMap/1",266),b(541,1,Si,SE),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.a.Ob()},o.Pb=function(){var e;return e=u(this.a.Pb(),44),e.ld()},o.Qb=function(){this.a.Qb()},w(le,"AbstractMap/1/1",541),b(231,31,pw,ol),o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a.uc(e)},o.Kc=function(){var e;return e=this.a.vc().Kc(),new Tb(e)},o.gc=function(){return this.a.gc()},w(le,"AbstractMap/2",231),b(300,1,Si,Tb),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.a.Ob()},o.Pb=function(){var e;return e=u(this.a.Pb(),44),e.md()},o.Qb=function(){this.a.Qb()},w(le,"AbstractMap/2/1",300),b(493,1,{493:1,44:1}),o.Fb=function(e){var t;return D(e,44)?(t=u(e,44),mc(this.d,t.ld())&&mc(this.e,t.md())):!1},o.ld=function(){return this.d},o.md=function(){return this.e},o.Hb=function(){return yg(this.d)^yg(this.e)},o.nd=function(e){return bV(this,e)},o.Ib=function(){return this.d+"="+this.e},w(le,"AbstractMap/AbstractEntry",493),b(397,493,{493:1,397:1,44:1},uC),w(le,"AbstractMap/SimpleEntry",397),b(2082,1,IB),o.Fb=function(e){var t;return D(e,44)?(t=u(e,44),mc(this.ld(),t.ld())&&mc(this.md(),t.md())):!1},o.Hb=function(){return yg(this.ld())^yg(this.md())},o.Ib=function(){return this.ld()+"="+this.md()},w(le,Izn,2082),b(2090,2065,dtn),o.Xc=function(e){return MD(this.Ee(e))},o.tc=function(e){return ELn(this,e)},o._b=function(e){return wV(this,e)},o.vc=function(){return new ZO(this)},o.Tc=function(){return FPn(this.Ge())},o.Yc=function(e){return MD(this.He(e))},o.xc=function(e){var t;return t=e,Kr(this.Fe(t))},o.$c=function(e){return MD(this.Ie(e))},o.ec=function(){return new u9n(this)},o.Vc=function(){return FPn(this.Je())},o._c=function(e){return MD(this.Ke(e))},w(le,"AbstractNavigableMap",2090),b(629,Kf,Lu,ZO),o.Hc=function(e){return D(e,44)&&ELn(this.b,u(e,44))},o.Kc=function(){return this.b.De()},o.Mc=function(e){var t;return D(e,44)?(t=u(e,44),this.b.Le(t)):!1},o.gc=function(){return this.b.gc()},w(le,"AbstractNavigableMap/EntrySet",629),b(1146,Kf,btn,u9n),o.Nc=function(){return new rC(this)},o.$b=function(){this.a.$b()},o.Hc=function(e){return wV(this.a,e)},o.Kc=function(){var e;return e=this.a.vc().b.De(),new o9n(e)},o.Mc=function(e){return wV(this.a,e)?(this.a.Bc(e),!0):!1},o.gc=function(){return this.a.gc()},w(le,"AbstractNavigableMap/NavigableKeySet",1146),b(1147,1,Si,o9n),o.Nb=function(e){_i(this,e)},o.Ob=function(){return DD(this.a.a)},o.Pb=function(){var e;return e=uAn(this.a),e.ld()},o.Qb=function(){aSn(this.a)},w(le,"AbstractNavigableMap/NavigableKeySet/1",1147),b(2103,31,pw),o.Fc=function(e){return Mp(km(this,e),Km),!0},o.Gc=function(e){return Jn(e),x7(e!=this,"Can't add a queue to itself"),Bi(this,e)},o.$b=function(){for(;w$(this)!=null;);},w(le,"AbstractQueue",2103),b(310,31,{4:1,20:1,31:1,16:1},Cg,aDn),o.Fc=function(e){return vJ(this,e),!0},o.$b=function(){MJ(this)},o.Hc=function(e){return Yxn(new z6(this),e)},o.dc=function(){return n6(this)},o.Kc=function(){return new z6(this)},o.Mc=function(e){return p2e(new z6(this),e)},o.gc=function(){return this.c-this.b&this.a.length-1},o.Nc=function(){return new In(this,272)},o.Qc=function(e){var t;return t=this.c-this.b&this.a.length-1,e.lengtht&&$t(e,t,null),e},o.b=0,o.c=0,w(le,"ArrayDeque",310),b(458,1,Si,z6),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.a!=this.b},o.Pb=function(){return xT(this)},o.Qb=function(){V$n(this)},o.a=0,o.b=0,o.c=-1,w(le,"ArrayDeque/IteratorImpl",458),b(13,56,Gzn,Z,Gc,_u),o.bd=function(e,t){a0(this,e,t)},o.Fc=function(e){return nn(this,e)},o.cd=function(e,t){return aY(this,e,t)},o.Gc=function(e){return hi(this,e)},o.$b=function(){Ab(this.c,0)},o.Hc=function(e){return qr(this,e,0)!=-1},o.Jc=function(e){nu(this,e)},o.Xb=function(e){return sn(this,e)},o.dd=function(e){return qr(this,e,0)},o.dc=function(){return this.c.length==0},o.Kc=function(){return new C(this)},o.gd=function(e){return Yl(this,e)},o.Mc=function(e){return du(this,e)},o.ce=function(e,t){$On(this,e,t)},o.hd=function(e,t){return Go(this,e,t)},o.gc=function(){return this.c.length},o.jd=function(e){Yt(this,e)},o.Pc=function(){return YC(this.c)},o.Qc=function(e){return Ff(this,e)};var uNe=w(le,"ArrayList",13);b(7,1,Si,C),o.Nb=function(e){_i(this,e)},o.Ob=function(){return tc(this)},o.Pb=function(){return E(this)},o.Qb=function(){_6(this)},o.a=0,o.b=-1,w(le,"ArrayList/1",7),b(2112,y.Function,{},pE),o.Me=function(e,t){return bt(e,t)},b(151,56,zzn,Ku),o.Hc=function(e){return W$n(this,e)!=-1},o.Jc=function(e){var t,i,r,c;for(Jn(e),i=this.a,r=0,c=i.length;r0)throw M(new Gn(Ctn+e+" greater than "+this.e));return this.f.Te()?rOn(this.c,this.b,this.a,e,t):xOn(this.c,e,t)},o.zc=function(e,t){if(!qx(this.c,this.f,e,this.b,this.a,this.e,this.d))throw M(new Gn(e+" outside the range "+this.b+" to "+this.e));return wFn(this.c,e,t)},o.Bc=function(e){var t;return t=e,qx(this.c,this.f,t,this.b,this.a,this.e,this.d)?cOn(this.c,t):null},o.Le=function(e){return mM(this,e.ld())&&UJ(this.c,e)},o.gc=function(){var e,t,i;if(this.f.Te()?this.a?t=dm(this.c,this.b,!0):t=dm(this.c,this.b,!1):t=nQ(this.c),!(t&&mM(this,t.d)&&t))return 0;for(e=0,i=new P$(this.c,this.f,this.b,this.a,this.e,this.d);DD(i.a);i.b=u(XW(i.a),44))++e;return e},o.ad=function(e,t){if(this.f.Te()&&this.c.a.Ne(e,this.b)<0)throw M(new Gn(Ctn+e+Wzn+this.b));return this.f.Ue()?rOn(this.c,e,t,this.e,this.d):FOn(this.c,e,t)},o.a=!1,o.d=!1,w(le,"TreeMap/SubMap",631),b(303,22,NB,cC),o.Te=function(){return!1},o.Ue=function(){return!1};var e_,t_,i_,r_,lP=we(le,"TreeMap/SubMapType",303,ke,Upe,nde);b(1143,303,NB,hTn),o.Ue=function(){return!0},we(le,"TreeMap/SubMapType/1",1143,lP,null,null),b(1144,303,NB,vTn),o.Te=function(){return!0},o.Ue=function(){return!0},we(le,"TreeMap/SubMapType/2",1144,lP,null,null),b(1145,303,NB,fTn),o.Te=function(){return!0},we(le,"TreeMap/SubMapType/3",1145,lP,null,null);var IQn;b(157,Kf,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},UG,Ul,Q3),o.Nc=function(){return new rC(this)},o.Fc=function(e){return R7(this,e)},o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a._b(e)},o.Kc=function(){return this.a.ec().Kc()},o.Mc=function(e){return EL(this,e)},o.gc=function(){return this.a.gc()};var aNe=w(le,"TreeSet",157);b(1082,1,{},l9n),o.Ve=function(e,t){return pae(this.a,e,t)},w($B,"BinaryOperator/lambda$0$Type",1082),b(1083,1,{},a9n),o.Ve=function(e,t){return mae(this.a,e,t)},w($B,"BinaryOperator/lambda$1$Type",1083),b(952,1,{},F0n),o.Kb=function(e){return e},w($B,"Function/lambda$0$Type",952),b(395,1,De,Y3),o.Mb=function(e){return!this.a.Mb(e)},w($B,"Predicate/lambda$2$Type",395),b(581,1,{581:1});var OQn=w(J5,"Handler",581);b(2107,1,vy),o.xe=function(){return"DUMMY"},o.Ib=function(){return this.xe()};var Lun;w(J5,"Level",2107),b(1706,2107,vy,B0n),o.xe=function(){return"INFO"},w(J5,"Level/LevelInfo",1706),b(1843,1,{},Byn);var c_;w(J5,"LogManager",1843),b(1896,1,vy,lSn),o.b=null,w(J5,"LogRecord",1896),b(525,1,{525:1},VN),o.e=!1;var DQn=!1,LQn=!1,Uf=!1,NQn=!1,$Qn=!1;w(J5,"Logger",525),b(835,581,{581:1},FU),w(J5,"SimpleConsoleLogHandler",835),b(108,22,{3:1,34:1,22:1,108:1},$D);var Nun,Yr,Aw,xr=we(ai,"Collector/Characteristics",108,ke,O2e,ede),xQn;b(758,1,{},TW),w(ai,"CollectorImpl",758),b(1074,1,{},R0n),o.Ve=function(e,t){return l5e(u(e,213),u(t,213))},w(ai,"Collectors/10methodref$merge$Type",1074),b(1075,1,{},K0n),o.Kb=function(e){return dDn(u(e,213))},w(ai,"Collectors/11methodref$toString$Type",1075),b(1076,1,{},d9n),o.Kb=function(e){return _n(),!!kX(e)},w(ai,"Collectors/12methodref$test$Type",1076),b(144,1,{},yu),o.Yd=function(e,t){u(e,16).Fc(t)},w(ai,"Collectors/20methodref$add$Type",144),b(146,1,{},ju),o.Xe=function(){return new Z},w(ai,"Collectors/21methodref$ctor$Type",146),b(359,1,{},Y2),o.Xe=function(){return new ni},w(ai,"Collectors/23methodref$ctor$Type",359),b(360,1,{},Z2),o.Yd=function(e,t){fi(u(e,49),t)},w(ai,"Collectors/24methodref$add$Type",360),b(1069,1,{},_0n),o.Ve=function(e,t){return rCn(u(e,15),u(t,16))},w(ai,"Collectors/4methodref$addAll$Type",1069),b(1073,1,{},H0n),o.Yd=function(e,t){pl(u(e,213),u(t,483))},w(ai,"Collectors/9methodref$add$Type",1073),b(1072,1,{},SSn),o.Xe=function(){return new fd(this.a,this.b,this.c)},w(ai,"Collectors/lambda$15$Type",1072),b(1077,1,{},q0n),o.Xe=function(){var e;return e=new Ql,s1(e,(_n(),!1),new Z),s1(e,!0,new Z),e},w(ai,"Collectors/lambda$22$Type",1077),b(1078,1,{},b9n),o.Xe=function(){return A(T(ki,1),Fn,1,5,[this.a])},w(ai,"Collectors/lambda$25$Type",1078),b(1079,1,{},w9n),o.Yd=function(e,t){Fbe(this.a,cd(e))},w(ai,"Collectors/lambda$26$Type",1079),b(1080,1,{},g9n),o.Ve=function(e,t){return lwe(this.a,cd(e),cd(t))},w(ai,"Collectors/lambda$27$Type",1080),b(1081,1,{},U0n),o.Kb=function(e){return cd(e)[0]},w(ai,"Collectors/lambda$28$Type",1081),b(728,1,{},BU),o.Ve=function(e,t){return uW(e,t)},w(ai,"Collectors/lambda$4$Type",728),b(145,1,{},Eu),o.Ve=function(e,t){return zhe(u(e,16),u(t,16))},w(ai,"Collectors/lambda$42$Type",145),b(361,1,{},np),o.Ve=function(e,t){return Xhe(u(e,49),u(t,49))},w(ai,"Collectors/lambda$50$Type",361),b(362,1,{},ep),o.Kb=function(e){return u(e,49)},w(ai,"Collectors/lambda$51$Type",362),b(1068,1,{},p9n),o.Yd=function(e,t){p6e(this.a,u(e,85),t)},w(ai,"Collectors/lambda$7$Type",1068),b(1070,1,{},G0n),o.Ve=function(e,t){return Xve(u(e,85),u(t,85),new _0n)},w(ai,"Collectors/lambda$8$Type",1070),b(1071,1,{},m9n),o.Kb=function(e){return U5e(this.a,u(e,85))},w(ai,"Collectors/lambda$9$Type",1071),b(550,1,{}),o.$e=function(){G6(this)},o.d=!1,w(ai,"TerminatableStream",550),b(827,550,Mtn,cV),o.$e=function(){G6(this)},w(ai,"DoubleStreamImpl",827),b(1847,736,Po,PSn),o.Re=function(e){return X9e(this,u(e,189))},o.a=null,w(ai,"DoubleStreamImpl/2",1847),b(1848,1,Sy,v9n),o.Pe=function(e){Kle(this.a,e)},w(ai,"DoubleStreamImpl/2/lambda$0$Type",1848),b(1845,1,Sy,k9n),o.Pe=function(e){Rle(this.a,e)},w(ai,"DoubleStreamImpl/lambda$0$Type",1845),b(1846,1,Sy,y9n),o.Pe=function(e){PBn(this.a,e)},w(ai,"DoubleStreamImpl/lambda$2$Type",1846),b(1397,735,Po,mLn),o.Re=function(e){return Lpe(this,u(e,202))},o.a=0,o.b=0,o.c=0,w(ai,"IntStream/5",1397),b(806,550,Mtn,uV),o.$e=function(){G6(this)},o._e=function(){return X1(this),this.a},w(ai,"IntStreamImpl",806),b(807,550,Mtn,Oz),o.$e=function(){G6(this)},o._e=function(){return X1(this),_X(),PQn},w(ai,"IntStreamImpl/Empty",807),b(1687,1,yy,j9n),o.Dd=function(e){Rxn(this.a,e)},w(ai,"IntStreamImpl/lambda$4$Type",1687);var dNe=Nt(ai,"Stream");b(26,550,{533:1,687:1,848:1},Tn),o.$e=function(){G6(this)};var v3;w(ai,"StreamImpl",26),b(1102,499,Po,iSn),o.Bd=function(e){for(;x4e(this);){if(this.a.Bd(e))return!0;G6(this.b),this.b=null,this.a=null}return!1},w(ai,"StreamImpl/1",1102),b(1103,1,re,E9n),o.Cd=function(e){fbe(this.a,u(e,848))},w(ai,"StreamImpl/1/lambda$0$Type",1103),b(1104,1,De,C9n),o.Mb=function(e){return fi(this.a,e)},w(ai,"StreamImpl/1methodref$add$Type",1104),b(1105,499,Po,FIn),o.Bd=function(e){var t;return this.a||(t=new Z,this.b.a.Nb(new M9n(t)),Dn(),Yt(t,this.c),this.a=new In(t,16)),k$n(this.a,e)},o.a=null,w(ai,"StreamImpl/5",1105),b(1106,1,re,M9n),o.Cd=function(e){nn(this.a,e)},w(ai,"StreamImpl/5/2methodref$add$Type",1106),b(737,499,Po,eQ),o.Bd=function(e){for(this.b=!1;!this.b&&this.c.Bd(new yCn(this,e)););return this.b},o.b=!1,w(ai,"StreamImpl/FilterSpliterator",737),b(1096,1,re,yCn),o.Cd=function(e){cwe(this.a,this.b,e)},w(ai,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),b(1091,736,Po,PLn),o.Re=function(e){return Rae(this,u(e,189))},w(ai,"StreamImpl/MapToDoubleSpliterator",1091),b(1095,1,re,jCn),o.Cd=function(e){fle(this.a,this.b,e)},w(ai,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),b(1090,735,Po,ILn),o.Re=function(e){return Kae(this,u(e,202))},w(ai,"StreamImpl/MapToIntSpliterator",1090),b(1094,1,re,ECn),o.Cd=function(e){hle(this.a,this.b,e)},w(ai,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),b(734,499,Po,KJ),o.Bd=function(e){return nSn(this,e)},w(ai,"StreamImpl/MapToObjSpliterator",734),b(1093,1,re,CCn),o.Cd=function(e){lle(this.a,this.b,e)},w(ai,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),b(1092,499,Po,cxn),o.Bd=function(e){for(;LD(this.b,0);){if(!this.a.Bd(new z0n))return!1;this.b=bs(this.b,1)}return this.a.Bd(e)},o.b=0,w(ai,"StreamImpl/SkipSpliterator",1092),b(1097,1,re,z0n),o.Cd=function(e){},w(ai,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),b(626,1,re,LO),o.Cd=function(e){e9n(this,e)},w(ai,"StreamImpl/ValueConsumer",626),b(1098,1,re,X0n),o.Cd=function(e){Va()},w(ai,"StreamImpl/lambda$0$Type",1098),b(1099,1,re,V0n),o.Cd=function(e){Va()},w(ai,"StreamImpl/lambda$1$Type",1099),b(1100,1,{},T9n),o.Ve=function(e,t){return mde(this.a,e,t)},w(ai,"StreamImpl/lambda$4$Type",1100),b(1101,1,re,MCn),o.Cd=function(e){Cae(this.b,this.a,e)},w(ai,"StreamImpl/lambda$5$Type",1101),b(1107,1,re,A9n),o.Cd=function(e){$ve(this.a,u(e,380))},w(ai,"TerminatableStream/lambda$0$Type",1107),b(2142,1,{}),b(2014,1,{},W0n),w("javaemul.internal","ConsoleLogger",2014);var bNe=0;b(2134,1,{}),b(1830,1,re,J0n),o.Cd=function(e){u(e,317)},w(_m,"BowyerWatsonTriangulation/lambda$0$Type",1830),b(1831,1,re,S9n),o.Cd=function(e){Bi(this.a,u(e,317).e)},w(_m,"BowyerWatsonTriangulation/lambda$1$Type",1831),b(1832,1,re,Q0n),o.Cd=function(e){u(e,177)},w(_m,"BowyerWatsonTriangulation/lambda$2$Type",1832),b(1827,1,Ne,P9n),o.Ne=function(e,t){return m3e(this.a,u(e,177),u(t,177))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(_m,"NaiveMinST/lambda$0$Type",1827),b(506,1,{},z9),w(_m,"NodeMicroLayout",506),b(177,1,{177:1},bp),o.Fb=function(e){var t;return D(e,177)?(t=u(e,177),mc(this.a,t.a)&&mc(this.b,t.b)||mc(this.a,t.b)&&mc(this.b,t.a)):!1},o.Hb=function(){return yg(this.a)+yg(this.b)};var wNe=w(_m,"TEdge",177);b(317,1,{317:1},Ren),o.Fb=function(e){var t;return D(e,317)?(t=u(e,317),tT(this,t.a)&&tT(this,t.b)&&tT(this,t.c)):!1},o.Hb=function(){return yg(this.a)+yg(this.b)+yg(this.c)},w(_m,"TTriangle",317),b(225,1,{225:1},DC),w(_m,"Tree",225),b(1218,1,{},jOn),w(Yzn,"Scanline",1218);var FQn=Nt(Yzn,Zzn);b(1758,1,{},p$n),w(zh,"CGraph",1758),b(316,1,{316:1},MOn),o.b=0,o.c=0,o.d=0,o.g=0,o.i=0,o.k=li,w(zh,"CGroup",316),b(830,1,{},XG),w(zh,"CGroup/CGroupBuilder",830),b(60,1,{60:1},FAn),o.Ib=function(){var e;return this.j?Oe(this.j.Kb(this)):(ll(aP),aP.o+"@"+(e=f0(this)>>>0,e.toString(16)))},o.f=0,o.i=li;var aP=w(zh,"CNode",60);b(829,1,{},VG),w(zh,"CNode/CNodeBuilder",829);var BQn;b(1590,1,{},Y0n),o.ff=function(e,t){return 0},o.gf=function(e,t){return 0},w(zh,eXn,1590),b(1853,1,{},Z0n),o.cf=function(e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(a=St,r=new C(e.a.b);r.ar.d.c||r.d.c==s.d.c&&r.d.b0?e+this.n.d+this.n.a:0},o.kf=function(){var e,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=BY(this,Gx(this,null,!0));else for(t=(wf(),A(T(Sw,1),G,237,0,[bc,Wc,wc])),i=0,r=t.length;i0?c+this.n.b+this.n.c:0},o.lf=function(){var e,t,i,r,c;if(this.g)for(e=Gx(this,null,!1),i=(wf(),A(T(Sw,1),G,237,0,[bc,Wc,wc])),r=0,c=i.length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=y.Math.max(0,i),this.c.d=t.d+e.d+(this.c.a-i)/2,r[1]=y.Math.max(r[1],i),xJ(this,Wc,t.d+e.d+r[0]-(r[1]-i)/2,r)},o.b=null,o.d=0,o.e=!1,o.f=!1,o.g=!1;var h_=0,dP=0;w(kd,"GridContainerCell",1538),b(470,22,{3:1,34:1,22:1,470:1},FD);var pa,Mh,zs,VQn=we(kd,"HorizontalLabelAlignment",470,ke,L2e,ude),WQn;b(314,217,{217:1,314:1},sOn,v$n,eOn),o.jf=function(){return HSn(this)},o.kf=function(){return nW(this)},o.a=0,o.c=!1;var gNe=w(kd,"LabelCell",314);b(252,336,{217:1,336:1,252:1},y5),o.jf=function(){return ny(this)},o.kf=function(){return ey(this)},o.lf=function(){LF(this)},o.mf=function(){NF(this)},o.b=0,o.c=0,o.d=!1,w(kd,"StripContainerCell",252),b(1691,1,De,ubn),o.Mb=function(e){return uhe(u(e,217))},w(kd,"StripContainerCell/lambda$0$Type",1691),b(1692,1,{},obn),o.Ye=function(e){return u(e,217).kf()},w(kd,"StripContainerCell/lambda$1$Type",1692),b(1693,1,De,sbn),o.Mb=function(e){return ohe(u(e,217))},w(kd,"StripContainerCell/lambda$2$Type",1693),b(1694,1,{},fbn),o.Ye=function(e){return u(e,217).jf()},w(kd,"StripContainerCell/lambda$3$Type",1694),b(471,22,{3:1,34:1,22:1,471:1},BD);var Xs,ma,kf,JQn=we(kd,"VerticalLabelAlignment",471,ke,D2e,ode),QQn;b(800,1,{},etn),o.c=0,o.d=0,o.k=0,o.s=0,o.t=0,o.v=!1,o.w=0,o.D=!1,w(nS,"NodeContext",800),b(1536,1,Ne,hbn),o.Ne=function(e,t){return nTn(u(e,64),u(t,64))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(nS,"NodeContext/0methodref$comparePortSides$Type",1536),b(1537,1,Ne,lbn),o.Ne=function(e,t){return xye(u(e,117),u(t,117))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(nS,"NodeContext/1methodref$comparePortContexts$Type",1537),b(164,22,{3:1,34:1,22:1,164:1},Vo);var YQn,ZQn,nYn,eYn,tYn,iYn,rYn,cYn,uYn,oYn,sYn,fYn,hYn,lYn,aYn,dYn,bYn,wYn,gYn,pYn,mYn,l_,vYn=we(nS,"NodeLabelLocation",164,ke,jx,sde),kYn;b(117,1,{117:1},sHn),o.a=!1,w(nS,"PortContext",117),b(1541,1,re,abn),o.Cd=function(e){vEn(u(e,314))},w(Iy,bXn,1541),b(1542,1,De,dbn),o.Mb=function(e){return!!u(e,117).c},w(Iy,wXn,1542),b(1543,1,re,bbn),o.Cd=function(e){vEn(u(e,117).c)},w(Iy,"LabelPlacer/lambda$2$Type",1543);var ton;b(1540,1,re,wbn),o.Cd=function(e){Bb(),Rfe(u(e,117))},w(Iy,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),b(801,1,re,LV),o.Cd=function(e){Zhe(this.b,this.c,this.a,u(e,187))},o.a=!1,o.c=!1,w(Iy,"NodeLabelCellCreator/lambda$0$Type",801),b(1539,1,re,D9n),o.Cd=function(e){Hfe(this.a,u(e,187))},w(Iy,"PortContextCreator/lambda$0$Type",1539);var bP;b(1902,1,{},gbn),w(qm,"GreedyRectangleStripOverlapRemover",1902),b(1903,1,Ne,pbn),o.Ne=function(e,t){return O1e(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qm,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),b(1849,1,{},Hyn),o.a=5,o.e=0,w(qm,"RectangleStripOverlapRemover",1849),b(1850,1,Ne,mbn),o.Ne=function(e,t){return D1e(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qm,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),b(1852,1,Ne,vbn),o.Ne=function(e,t){return ywe(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qm,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),b(417,22,{3:1,34:1,22:1,417:1},oC);var tj,a_,d_,ij,yYn=we(qm,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,ke,Xpe,fde),jYn;b(226,1,{226:1},ZL),w(qm,"RectangleStripOverlapRemover/RectangleNode",226),b(1851,1,re,L9n),o.Cd=function(e){s7e(this.a,u(e,226))},w(qm,"RectangleStripOverlapRemover/lambda$1$Type",1851),b(1323,1,Ne,kbn),o.Ne=function(e,t){return SIe(u(e,176),u(t,176))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),b(1326,1,{},ybn),o.Kb=function(e){return u(e,334).a},w(mh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),b(1327,1,De,jbn),o.Mb=function(e){return u(e,332).a},w(mh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),b(1328,1,De,Ebn),o.Mb=function(e){return u(e,332).a},w(mh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),b(1321,1,Ne,Cbn),o.Ne=function(e,t){return rSe(u(e,176),u(t,176))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mh,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),b(1324,1,{},Mbn),o.Kb=function(e){return u(e,334).a},w(mh,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),b(781,1,Ne,RU),o.Ne=function(e,t){return Kve(u(e,176),u(t,176))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mh,"PolyominoCompactor/MinNumOfExtensionsComparator",781),b(1319,1,Ne,Tbn),o.Ne=function(e,t){return Vme(u(e,330),u(t,330))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mh,"PolyominoCompactor/MinPerimeterComparator",1319),b(1320,1,Ne,Abn),o.Ne=function(e,t){return D9e(u(e,330),u(t,330))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mh,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),b(1322,1,Ne,Sbn),o.Ne=function(e,t){return MSe(u(e,176),u(t,176))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mh,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),b(1325,1,{},Pbn),o.Kb=function(e){return u(e,334).a},w(mh,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),b(782,1,{},Uz),o.Ve=function(e,t){return Rpe(this,u(e,42),u(t,176))},w(mh,"SuccessorCombination",782),b(649,1,{},NO),o.Ve=function(e,t){var i;return eCe((i=u(e,42),u(t,176),i))},w(mh,"SuccessorJitter",649),b(648,1,{},$O),o.Ve=function(e,t){var i;return _Te((i=u(e,42),u(t,176),i))},w(mh,"SuccessorLineByLine",648),b(573,1,{},mE),o.Ve=function(e,t){var i;return eMe((i=u(e,42),u(t,176),i))},w(mh,"SuccessorManhattan",573),b(1344,1,{},Ibn),o.Ve=function(e,t){var i;return lTe((i=u(e,42),u(t,176),i))},w(mh,"SuccessorMaxNormWindingInMathPosSense",1344),b(409,1,{},Z3),o.Ve=function(e,t){return CW(this,e,t)},o.c=!1,o.d=!1,o.e=!1,o.f=!1,w(mh,"SuccessorQuadrantsGeneric",409),b(1345,1,{},Obn),o.Kb=function(e){return u(e,334).a},w(mh,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),b(332,22,{3:1,34:1,22:1,332:1},sC),o.a=!1;var rj,cj,uj,oj,EYn=we(tS,xtn,332,ke,Gpe,hde),CYn;b(1317,1,{}),o.Ib=function(){var e,t,i,r,c,s;for(i=" ",e=Y(0),c=0;c=0?"b"+e+"["+XN(this.a)+"]":"b["+XN(this.a)+"]"):"b_"+f0(this)},w(Dy,"FBendpoint",250),b(289,137,{3:1,289:1,96:1,137:1},BAn),o.Ib=function(){return XN(this)},w(Dy,"FEdge",289),b(235,137,{3:1,235:1,96:1,137:1},zM);var mNe=w(Dy,"FGraph",235);b(453,309,{3:1,453:1,309:1,96:1,137:1},KDn),o.Ib=function(){return this.b==null||this.b.length==0?"l["+XN(this.a)+"]":"l_"+this.b},w(Dy,"FLabel",453),b(153,309,{3:1,153:1,309:1,96:1,137:1},mTn),o.Ib=function(){return lJ(this)},o.a=0,w(Dy,"FNode",153),b(2100,1,{}),o.vf=function(e){Nen(this,e)},o.wf=function(){_Rn(this)},o.d=0,w(Gtn,"AbstractForceModel",2100),b(641,2100,{641:1},Bxn),o.uf=function(e,t){var i,r,c,s,f;return wGn(this.f,e,t),c=mi(Ki(t.d),e.d),f=y.Math.sqrt(c.a*c.a+c.b*c.b),r=y.Math.max(0,f-U6(e.e)/2-U6(t.e)/2),i=Q_n(this.e,e,t),i>0?s=-mwe(r,this.c)*i:s=X1e(r,this.b)*u(v(e,(Us(),k3)),17).a,ch(c,s/f),c},o.vf=function(e){Nen(this,e),this.a=u(v(e,(Us(),kP)),17).a,this.c=$(R(v(e,yP))),this.b=$(R(v(e,k_)))},o.xf=function(e){return e0&&(s-=the(r,this.a)*i),ch(c,s*this.b/f),c},o.vf=function(e){var t,i,r,c,s,f,h;for(Nen(this,e),this.b=$(R(v(e,(Us(),y_)))),this.c=this.b/u(v(e,kP),17).a,r=e.e.c.length,s=0,c=0,h=new C(e.e);h.a0},o.a=0,o.b=0,o.c=0,w(Gtn,"FruchtermanReingoldModel",642),b(860,1,ms,L5n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,cS),""),"Force Model"),"Determines the model for force calculation."),lon),(l1(),Pt)),aon),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,ztn),""),"Iterations"),"The number of iterations on the force model."),Y(300)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Xtn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Y(0)),Zr),Gi),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,ZB),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),vh),Qi),si),yn(xn)))),ri(e,ZB,cS,UYn),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,nR),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Qi),si),yn(xn)))),ri(e,nR,cS,_Yn),izn((new N5n,e))};var BYn,RYn,lon,KYn,_Yn,HYn,qYn,UYn;w(Z5,"ForceMetaDataProvider",860),b(432,22,{3:1,34:1,22:1,432:1},zz);var v_,vP,aon=we(Z5,"ForceModelStrategy",432,ke,Rge,dde),GYn;b(d1,1,ms,N5n),o.hf=function(e){izn(e)};var zYn,XYn,don,kP,bon,VYn,WYn,JYn,QYn,won,YYn,gon,pon,ZYn,k3,nZn,k_,mon,eZn,tZn,yP,y_,iZn,rZn,cZn,von,uZn;w(Z5,"ForceOptions",d1),b(1001,1,{},Vbn),o.sf=function(){var e;return e=new zG,e},o.tf=function(e){},w(Z5,"ForceOptions/ForceFactory",1001);var hj,I8,y3,jP;b(861,1,ms,$5n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Wtn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(_n(),!1)),(l1(),yi)),Gt),yn((pf(),pi))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Jtn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Qi),si),yt(xn,A(T(Zh,1),G,170,0,[Ph]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Qtn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),kon),Pt),Aon),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Ytn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),vh),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Ztn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Y(et)),Zr),Gi),yn(xn)))),OGn((new x5n,e))};var oZn,sZn,kon,fZn,hZn,lZn;w(Z5,"StressMetaDataProvider",861),b(1004,1,ms,x5n),o.hf=function(e){OGn(e)};var EP,yon,jon,Eon,Con,Mon,aZn,dZn,bZn,wZn,Ton,gZn;w(Z5,"StressOptions",1004),b(1005,1,{},zbn),o.sf=function(){var e;return e=new RAn,e},o.tf=function(e){},w(Z5,"StressOptions/StressFactory",1005),b(1110,205,yd,RAn),o.rf=function(e,t){var i,r,c,s,f;for(t.Ug(SXn,1),on(un(z(e,(qk(),Con))))?on(un(z(e,Ton)))||LM((i=new z9((Ob(),new Sb(e))),i)):VHn(new zG,e,t.eh(1)),c=sFn(e),r=KUn(this.a,c),f=r.Kc();f.Ob();)s=u(f.Pb(),235),!(s.e.c.length<=1)&&(MIe(this.b,s),JCe(this.b),nu(s.d,new Xbn));c=nzn(r),hzn(c),t.Vg()},w(sS,"StressLayoutProvider",1110),b(1111,1,re,Xbn),o.Cd=function(e){Hen(u(e,453))},w(sS,"StressLayoutProvider/lambda$0$Type",1111),b(1002,1,{},Fyn),o.c=0,o.e=0,o.g=0,w(sS,"StressMajorization",1002),b(391,22,{3:1,34:1,22:1,391:1},RD);var j_,E_,C_,Aon=we(sS,"StressMajorization/Dimension",391,ke,$2e,bde),pZn;b(1003,1,Ne,F9n),o.Ne=function(e,t){return Hae(this.a,u(e,153),u(t,153))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(sS,"StressMajorization/lambda$0$Type",1003),b(1192,1,{},GOn),w(b3,"ElkLayered",1192),b(1193,1,re,B9n),o.Cd=function(e){MEe(this.a,u(e,36))},w(b3,"ElkLayered/lambda$0$Type",1193),b(1194,1,re,R9n),o.Cd=function(e){qae(this.a,u(e,36))},w(b3,"ElkLayered/lambda$1$Type",1194),b(1281,1,{},STn);var mZn,vZn,kZn;w(b3,"GraphConfigurator",1281),b(770,1,re,IG),o.Cd=function(e){n_n(this.a,u(e,10))},w(b3,"GraphConfigurator/lambda$0$Type",770),b(771,1,{},_U),o.Kb=function(e){return DZ(),new Tn(null,new In(u(e,30).a,16))},w(b3,"GraphConfigurator/lambda$1$Type",771),b(772,1,re,OG),o.Cd=function(e){n_n(this.a,u(e,10))},w(b3,"GraphConfigurator/lambda$2$Type",772),b(1109,205,yd,qyn),o.rf=function(e,t){var i;i=cIe(new Gyn,e),x(z(e,(cn(),Bw)))===x((jl(),M1))?F5e(this.a,i,t):zCe(this.a,i,t),t.$g()||XGn(new F5n,i)},w(b3,"LayeredLayoutProvider",1109),b(367,22,{3:1,34:1,22:1,367:1},o7);var Vs,Jh,Oc,Kc,zr,Son=we(b3,"LayeredPhases",367,ke,R3e,wde),yZn;b(1717,1,{},txn),o.i=0;var jZn;w(By,"ComponentsToCGraphTransformer",1717);var EZn;b(1718,1,{},Gbn),o.yf=function(e,t){return y.Math.min(e.a!=null?$(e.a):e.c.i,t.a!=null?$(t.a):t.c.i)},o.zf=function(e,t){return y.Math.min(e.a!=null?$(e.a):e.c.i,t.a!=null?$(t.a):t.c.i)},w(By,"ComponentsToCGraphTransformer/1",1718),b(86,1,{86:1}),o.i=0,o.k=!0,o.o=li;var M_=w(i8,"CNode",86);b(469,86,{469:1,86:1},JX,uZ),o.Ib=function(){return""},w(By,"ComponentsToCGraphTransformer/CRectNode",469),b(1688,1,{},Wbn);var T_,A_;w(By,"OneDimensionalComponentsCompaction",1688),b(1689,1,{},Jbn),o.Kb=function(e){return T2e(u(e,42))},o.Fb=function(e){return this===e},w(By,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),b(1690,1,{},Qbn),o.Kb=function(e){return R5e(u(e,42))},o.Fb=function(e){return this===e},w(By,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),b(1720,1,{},YPn),w(i8,"CGraph",1720),b(194,1,{194:1},vx),o.b=0,o.c=0,o.e=0,o.g=!0,o.i=li,w(i8,"CGroup",194),b(1719,1,{},Ybn),o.yf=function(e,t){return y.Math.max(e.a!=null?$(e.a):e.c.i,t.a!=null?$(t.a):t.c.i)},o.zf=function(e,t){return y.Math.max(e.a!=null?$(e.a):e.c.i,t.a!=null?$(t.a):t.c.i)},w(i8,eXn,1719),b(1721,1,{},Z_n),o.d=!1;var CZn,S_=w(i8,rXn,1721);b(1722,1,{},Zbn),o.Kb=function(e){return Lz(),_n(),u(u(e,42).a,86).d.e!=0},o.Fb=function(e){return this===e},w(i8,cXn,1722),b(833,1,{},oW),o.a=!1,o.b=!1,o.c=!1,o.d=!1,w(i8,uXn,833),b(1898,1,{},bPn),w(fS,oXn,1898);var lj=Nt(Ed,Zzn);b(1899,1,{382:1},VIn),o.bf=function(e){nAe(this,u(e,475))},w(fS,sXn,1899),b(ha,1,Ne,nwn),o.Ne=function(e,t){return fge(u(e,86),u(t,86))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(fS,fXn,ha),b(475,1,{475:1},Vz),o.a=!1,w(fS,hXn,475),b(1901,1,Ne,ewn),o.Ne=function(e,t){return hke(u(e,475),u(t,475))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(fS,lXn,1901),b(148,1,{148:1},a4,UV),o.Fb=function(e){var t;return e==null||vNe!=wo(e)?!1:(t=u(e,148),mc(this.c,t.c)&&mc(this.d,t.d))},o.Hb=function(){return Pk(A(T(ki,1),Fn,1,5,[this.c,this.d]))},o.Ib=function(){return"("+this.c+ur+this.d+(this.a?"cx":"")+this.b+")"},o.a=!0,o.c=0,o.d=0;var vNe=w(Ed,"Point",148);b(416,22,{3:1,34:1,22:1,416:1},hC);var tb,Pw,d2,Iw,MZn=we(Ed,"Point/Quadrant",416,ke,Vpe,gde),TZn;b(1708,1,{},_yn),o.b=null,o.c=null,o.d=null,o.e=null,o.f=null;var AZn,SZn,PZn,IZn,OZn;w(Ed,"RectilinearConvexHull",1708),b(583,1,{382:1},eA),o.bf=function(e){B4e(this,u(e,148))},o.b=0;var Pon;w(Ed,"RectilinearConvexHull/MaximalElementsEventHandler",583),b(1710,1,Ne,twn),o.Ne=function(e,t){return hge(R(e),R(t))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Ed,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),b(1709,1,{382:1},m$n),o.bf=function(e){wTe(this,u(e,148))},o.a=0,o.b=null,o.c=null,o.d=null,o.e=null,w(Ed,"RectilinearConvexHull/RectangleEventHandler",1709),b(1711,1,Ne,iwn),o.Ne=function(e,t){return mpe(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Ed,"RectilinearConvexHull/lambda$0$Type",1711),b(1712,1,Ne,uwn),o.Ne=function(e,t){return vpe(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Ed,"RectilinearConvexHull/lambda$1$Type",1712),b(1713,1,Ne,own),o.Ne=function(e,t){return ppe(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Ed,"RectilinearConvexHull/lambda$2$Type",1713),b(1714,1,Ne,cwn),o.Ne=function(e,t){return kpe(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Ed,"RectilinearConvexHull/lambda$3$Type",1714),b(1715,1,Ne,swn),o.Ne=function(e,t){return Qye(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Ed,"RectilinearConvexHull/lambda$4$Type",1715),b(1716,1,{},EOn),w(Ed,"Scanline",1716),b(2104,1,{}),w(Hf,"AbstractGraphPlacer",2104),b(335,1,{335:1},hAn),o.Ff=function(e){return this.Gf(e)?(Pn(this.b,u(v(e,(W(),Nl)),21),e),!0):!1},o.Gf=function(e){var t,i,r,c;for(t=u(v(e,(W(),Nl)),21),c=u(ot(wt,t),21),r=c.Kc();r.Ob();)if(i=u(r.Pb(),21),!u(ot(this.b,i),15).dc())return!1;return!0};var wt;w(Hf,"ComponentGroup",335),b(779,2104,{},WG),o.Hf=function(e){var t,i;for(i=new C(this.a);i.ai&&(d=0,g+=h+r,h=0),l=s.c,Am(s,d+l.a,g+l.b),ff(l),c=y.Math.max(c,d+a.a),h=y.Math.max(h,a.b),d+=a.a+r;t.f.a=c,t.f.b=g+h},o.Jf=function(e,t){var i,r,c,s,f;if(x(v(t,(cn(),Fw)))===x((dd(),Ow))){for(r=e.Kc();r.Ob();){for(i=u(r.Pb(),36),f=0,s=new C(i.a);s.ai&&!u(v(s,(W(),Nl)),21).Hc((en(),Xn))||l&&u(v(l,(W(),Nl)),21).Hc((en(),Zn))||u(v(s,(W(),Nl)),21).Hc((en(),Wn)))&&(p=g,m+=h+r,h=0),a=s.c,u(v(s,(W(),Nl)),21).Hc((en(),Xn))&&(p=c+r),Am(s,p+a.a,m+a.b),c=y.Math.max(c,p+d.a),u(v(s,Nl),21).Hc(ae)&&(g=y.Math.max(g,p+d.a+r)),ff(a),h=y.Math.max(h,d.b),p+=d.a+r,l=s;t.f.a=c,t.f.b=m+h},o.Jf=function(e,t){},w(Hf,"ModelOrderRowGraphPlacer",1313),b(1311,1,Ne,lwn),o.Ne=function(e,t){return Fve(u(e,36),u(t,36))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Hf,"SimpleRowGraphPlacer/1",1311);var LZn;b(1280,1,ph,awn),o.Lb=function(e){var t;return t=u(v(u(e,249).b,(cn(),Fr)),75),!!t&&t.b!=0},o.Fb=function(e){return this===e},o.Mb=function(e){var t;return t=u(v(u(e,249).b,(cn(),Fr)),75),!!t&&t.b!=0},w(hS,"CompoundGraphPostprocessor/1",1280),b(1279,1,vt,zyn),o.Kf=function(e,t){yRn(this,u(e,36),t)},w(hS,"CompoundGraphPreprocessor",1279),b(452,1,{452:1},lBn),o.c=!1,w(hS,"CompoundGraphPreprocessor/ExternalPort",452),b(249,1,{249:1},GC),o.Ib=function(){return SL(this.c)+":"+X_n(this.b)},w(hS,"CrossHierarchyEdge",249),b(777,1,Ne,DG),o.Ne=function(e,t){return B7e(this,u(e,249),u(t,249))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(hS,"CrossHierarchyEdgeComparator",777),b(304,137,{3:1,304:1,96:1,137:1}),o.p=0,w(Bc,"LGraphElement",304),b(18,304,{3:1,18:1,304:1,96:1,137:1},y0),o.Ib=function(){return X_n(this)};var O_=w(Bc,"LEdge",18);b(36,304,{3:1,20:1,36:1,304:1,96:1,137:1},jQ),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new C(this.b)},o.Ib=function(){return this.b.c.length==0?"G-unlayered"+ca(this.a):this.a.c.length==0?"G-layered"+ca(this.b):"G[layerless"+ca(this.a)+", layers"+ca(this.b)+"]"};var NZn=w(Bc,"LGraph",36),$Zn;b(666,1,{}),o.Lf=function(){return this.e.n},o.of=function(e){return v(this.e,e)},o.Mf=function(){return this.e.o},o.Nf=function(){return this.e.p},o.pf=function(e){return kt(this.e,e)},o.Of=function(e){this.e.n.a=e.a,this.e.n.b=e.b},o.Pf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},o.Qf=function(e){this.e.p=e},w(Bc,"LGraphAdapters/AbstractLShapeAdapter",666),b(473,1,{853:1},zv),o.Rf=function(){var e,t;if(!this.b)for(this.b=Dh(this.a.b.c.length),t=new C(this.a.b);t.a0&&HFn((zn(t-1,e.length),e.charCodeAt(t-1)),NXn);)--t;if(s> ",e),lA(i)),Re(Dc((e.a+="[",e),i.i),"]")),e.a},o.c=!0,o.d=!1;var Non,$on,xon,Fon,Bon,Ron,FZn=w(Bc,"LPort",12);b(408,1,qh,n4),o.Jc=function(e){qi(this,e)},o.Kc=function(){var e;return e=new C(this.a.e),new K9n(e)},w(Bc,"LPort/1",408),b(1309,1,Si,K9n),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(E(this.a),18).c},o.Ob=function(){return tc(this.a)},o.Qb=function(){_6(this.a)},w(Bc,"LPort/1/1",1309),b(369,1,qh,ip),o.Jc=function(e){qi(this,e)},o.Kc=function(){var e;return e=new C(this.a.g),new LG(e)},w(Bc,"LPort/2",369),b(776,1,Si,LG),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(E(this.a),18).d},o.Ob=function(){return tc(this.a)},o.Qb=function(){_6(this.a)},w(Bc,"LPort/2/1",776),b(1302,1,qh,PCn),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new Df(this)},w(Bc,"LPort/CombineIter",1302),b(208,1,Si,Df),o.Nb=function(e){_i(this,e)},o.Qb=function(){oEn()},o.Ob=function(){return I6(this)},o.Pb=function(){return tc(this.a)?E(this.a):E(this.b)},w(Bc,"LPort/CombineIter/1",208),b(1303,1,ph,bwn),o.Lb=function(e){return SPn(e)},o.Fb=function(e){return this===e},o.Mb=function(e){return Ou(),u(e,12).g.c.length!=0},w(Bc,"LPort/lambda$0$Type",1303),b(1304,1,ph,wwn),o.Lb=function(e){return PPn(e)},o.Fb=function(e){return this===e},o.Mb=function(e){return Ou(),u(e,12).e.c.length!=0},w(Bc,"LPort/lambda$1$Type",1304),b(1305,1,ph,gwn),o.Lb=function(e){return Ou(),u(e,12).j==(en(),Xn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Ou(),u(e,12).j==(en(),Xn)},w(Bc,"LPort/lambda$2$Type",1305),b(1306,1,ph,pwn),o.Lb=function(e){return Ou(),u(e,12).j==(en(),Zn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Ou(),u(e,12).j==(en(),Zn)},w(Bc,"LPort/lambda$3$Type",1306),b(1307,1,ph,mwn),o.Lb=function(e){return Ou(),u(e,12).j==(en(),ae)},o.Fb=function(e){return this===e},o.Mb=function(e){return Ou(),u(e,12).j==(en(),ae)},w(Bc,"LPort/lambda$4$Type",1307),b(1308,1,ph,vwn),o.Lb=function(e){return Ou(),u(e,12).j==(en(),Wn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Ou(),u(e,12).j==(en(),Wn)},w(Bc,"LPort/lambda$5$Type",1308),b(30,304,{3:1,20:1,304:1,30:1,96:1,137:1},Lc),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new C(this.a)},o.Ib=function(){return"L_"+qr(this.b.b,this,0)+ca(this.a)},w(Bc,"Layer",30),b(1330,1,{},Gyn),w(w1,BXn,1330),b(1334,1,{},kwn),o.Kb=function(e){return Gr(u(e,84))},w(w1,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),b(1337,1,{},ywn),o.Kb=function(e){return Gr(u(e,84))},w(w1,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),b(1331,1,re,_9n),o.Cd=function(e){hHn(this.a,u(e,123))},w(w1,Utn,1331),b(1332,1,re,H9n),o.Cd=function(e){hHn(this.a,u(e,123))},w(w1,RXn,1332),b(1333,1,{},jwn),o.Kb=function(e){return new Tn(null,new In(qW(u(e,74)),16))},w(w1,KXn,1333),b(1335,1,De,q9n),o.Mb=function(e){return _le(this.a,u(e,27))},w(w1,_Xn,1335),b(1336,1,{},Ewn),o.Kb=function(e){return new Tn(null,new In(rge(u(e,74)),16))},w(w1,"ElkGraphImporter/lambda$5$Type",1336),b(1338,1,De,U9n),o.Mb=function(e){return Hle(this.a,u(e,27))},w(w1,"ElkGraphImporter/lambda$7$Type",1338),b(1339,1,De,Cwn),o.Mb=function(e){return mge(u(e,74))},w(w1,"ElkGraphImporter/lambda$8$Type",1339),b(1297,1,{},F5n);var BZn;w(w1,"ElkGraphLayoutTransferrer",1297),b(1298,1,De,G9n),o.Mb=function(e){return Iae(this.a,u(e,18))},w(w1,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),b(1299,1,re,z9n),o.Cd=function(e){c7(),nn(this.a,u(e,18))},w(w1,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),b(1300,1,De,X9n),o.Mb=function(e){return wae(this.a,u(e,18))},w(w1,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),b(1301,1,re,V9n),o.Cd=function(e){c7(),nn(this.a,u(e,18))},w(w1,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),b(819,1,{},vV),w(Qn,"BiLinkedHashMultiMap",819),b(1550,1,vt,Mwn),o.Kf=function(e,t){ive(u(e,36),t)},w(Qn,"CommentNodeMarginCalculator",1550),b(1551,1,{},Twn),o.Kb=function(e){return new Tn(null,new In(u(e,30).a,16))},w(Qn,"CommentNodeMarginCalculator/lambda$0$Type",1551),b(1552,1,re,Awn),o.Cd=function(e){iIe(u(e,10))},w(Qn,"CommentNodeMarginCalculator/lambda$1$Type",1552),b(1553,1,vt,Swn),o.Kf=function(e,t){oAe(u(e,36),t)},w(Qn,"CommentPostprocessor",1553),b(1554,1,vt,Pwn),o.Kf=function(e,t){PDe(u(e,36),t)},w(Qn,"CommentPreprocessor",1554),b(1555,1,vt,Iwn),o.Kf=function(e,t){CTe(u(e,36),t)},w(Qn,"ConstraintsPostprocessor",1555),b(1556,1,vt,Own),o.Kf=function(e,t){Ove(u(e,36),t)},w(Qn,"EdgeAndLayerConstraintEdgeReverser",1556),b(1557,1,vt,Dwn),o.Kf=function(e,t){y8e(u(e,36),t)},w(Qn,"EndLabelPostprocessor",1557),b(1558,1,{},Lwn),o.Kb=function(e){return new Tn(null,new In(u(e,30).a,16))},w(Qn,"EndLabelPostprocessor/lambda$0$Type",1558),b(1559,1,De,Nwn),o.Mb=function(e){return x3e(u(e,10))},w(Qn,"EndLabelPostprocessor/lambda$1$Type",1559),b(1560,1,re,$wn),o.Cd=function(e){lke(u(e,10))},w(Qn,"EndLabelPostprocessor/lambda$2$Type",1560),b(1561,1,vt,xwn),o.Kf=function(e,t){Zje(u(e,36),t)},w(Qn,"EndLabelPreprocessor",1561),b(1562,1,{},Fwn),o.Kb=function(e){return new Tn(null,new In(u(e,30).a,16))},w(Qn,"EndLabelPreprocessor/lambda$0$Type",1562),b(1563,1,re,gSn),o.Cd=function(e){nle(this.a,this.b,this.c,u(e,10))},o.a=0,o.b=0,o.c=!1,w(Qn,"EndLabelPreprocessor/lambda$1$Type",1563),b(1564,1,De,Bwn),o.Mb=function(e){return x(v(u(e,72),(cn(),Ah)))===x(($f(),Fv))},w(Qn,"EndLabelPreprocessor/lambda$2$Type",1564),b(1565,1,re,W9n),o.Cd=function(e){Fe(this.a,u(e,72))},w(Qn,"EndLabelPreprocessor/lambda$3$Type",1565),b(1566,1,De,Rwn),o.Mb=function(e){return x(v(u(e,72),(cn(),Ah)))===x(($f(),Jw))},w(Qn,"EndLabelPreprocessor/lambda$4$Type",1566),b(1567,1,re,J9n),o.Cd=function(e){Fe(this.a,u(e,72))},w(Qn,"EndLabelPreprocessor/lambda$5$Type",1567),b(1615,1,vt,P5n),o.Kf=function(e,t){k5e(u(e,36),t)};var RZn;w(Qn,"EndLabelSorter",1615),b(1616,1,Ne,Kwn),o.Ne=function(e,t){return Z8e(u(e,465),u(t,465))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"EndLabelSorter/1",1616),b(465,1,{465:1},HIn),w(Qn,"EndLabelSorter/LabelGroup",465),b(1617,1,{},_wn),o.Kb=function(e){return r7(),new Tn(null,new In(u(e,30).a,16))},w(Qn,"EndLabelSorter/lambda$0$Type",1617),b(1618,1,De,Hwn),o.Mb=function(e){return r7(),u(e,10).k==(Vn(),zt)},w(Qn,"EndLabelSorter/lambda$1$Type",1618),b(1619,1,re,qwn),o.Cd=function(e){dje(u(e,10))},w(Qn,"EndLabelSorter/lambda$2$Type",1619),b(1620,1,De,Uwn),o.Mb=function(e){return r7(),x(v(u(e,72),(cn(),Ah)))===x(($f(),Jw))},w(Qn,"EndLabelSorter/lambda$3$Type",1620),b(1621,1,De,Gwn),o.Mb=function(e){return r7(),x(v(u(e,72),(cn(),Ah)))===x(($f(),Fv))},w(Qn,"EndLabelSorter/lambda$4$Type",1621),b(1568,1,vt,zwn),o.Kf=function(e,t){mIe(this,u(e,36))},o.b=0,o.c=0,w(Qn,"FinalSplineBendpointsCalculator",1568),b(1569,1,{},Xwn),o.Kb=function(e){return new Tn(null,new In(u(e,30).a,16))},w(Qn,"FinalSplineBendpointsCalculator/lambda$0$Type",1569),b(1570,1,{},Vwn),o.Kb=function(e){return new Tn(null,new w0(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(Qn,"FinalSplineBendpointsCalculator/lambda$1$Type",1570),b(1571,1,De,Wwn),o.Mb=function(e){return!fr(u(e,18))},w(Qn,"FinalSplineBendpointsCalculator/lambda$2$Type",1571),b(1572,1,De,Jwn),o.Mb=function(e){return kt(u(e,18),(W(),Dd))},w(Qn,"FinalSplineBendpointsCalculator/lambda$3$Type",1572),b(1573,1,re,Q9n),o.Cd=function(e){ASe(this.a,u(e,131))},w(Qn,"FinalSplineBendpointsCalculator/lambda$4$Type",1573),b(1574,1,re,Qwn),o.Cd=function(e){Qk(u(e,18).a)},w(Qn,"FinalSplineBendpointsCalculator/lambda$5$Type",1574),b(803,1,vt,NG),o.Kf=function(e,t){lOe(this,u(e,36),t)},w(Qn,"GraphTransformer",803),b(517,22,{3:1,34:1,22:1,517:1},Xz);var L_,aj,KZn=we(Qn,"GraphTransformer/Mode",517,ke,Kge,y0e),_Zn;b(1575,1,vt,Ywn),o.Kf=function(e,t){LMe(u(e,36),t)},w(Qn,"HierarchicalNodeResizingProcessor",1575),b(1576,1,vt,Zwn),o.Kf=function(e,t){Yme(u(e,36),t)},w(Qn,"HierarchicalPortConstraintProcessor",1576),b(1577,1,Ne,ngn),o.Ne=function(e,t){return k9e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"HierarchicalPortConstraintProcessor/NodeComparator",1577),b(1578,1,vt,egn),o.Kf=function(e,t){yPe(u(e,36),t)},w(Qn,"HierarchicalPortDummySizeProcessor",1578),b(1579,1,vt,tgn),o.Kf=function(e,t){OAe(this,u(e,36),t)},o.a=0,w(Qn,"HierarchicalPortOrthogonalEdgeRouter",1579),b(1580,1,Ne,ign),o.Ne=function(e,t){return L1e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"HierarchicalPortOrthogonalEdgeRouter/1",1580),b(1581,1,Ne,rgn),o.Ne=function(e,t){return R4e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"HierarchicalPortOrthogonalEdgeRouter/2",1581),b(1582,1,vt,cgn),o.Kf=function(e,t){Vye(u(e,36),t)},w(Qn,"HierarchicalPortPositionProcessor",1582),b(1583,1,vt,B5n),o.Kf=function(e,t){hLe(this,u(e,36))},o.a=0,o.c=0;var CP,MP;w(Qn,"HighDegreeNodeLayeringProcessor",1583),b(580,1,{580:1},ugn),o.b=-1,o.d=-1,w(Qn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580),b(1584,1,{},ogn),o.Kb=function(e){return L7(),ji(u(e,10))},o.Fb=function(e){return this===e},w(Qn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584),b(1585,1,{},sgn),o.Kb=function(e){return L7(),Qt(u(e,10))},o.Fb=function(e){return this===e},w(Qn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585),b(1591,1,vt,fgn),o.Kf=function(e,t){dPe(this,u(e,36),t)},w(Qn,"HyperedgeDummyMerger",1591),b(804,1,{},NV),o.a=!1,o.b=!1,o.c=!1,w(Qn,"HyperedgeDummyMerger/MergeState",804),b(1592,1,{},hgn),o.Kb=function(e){return new Tn(null,new In(u(e,30).a,16))},w(Qn,"HyperedgeDummyMerger/lambda$0$Type",1592),b(1593,1,{},lgn),o.Kb=function(e){return new Tn(null,new In(u(e,10).j,16))},w(Qn,"HyperedgeDummyMerger/lambda$1$Type",1593),b(1594,1,re,agn),o.Cd=function(e){u(e,12).p=-1},w(Qn,"HyperedgeDummyMerger/lambda$2$Type",1594),b(1595,1,vt,dgn),o.Kf=function(e,t){lPe(u(e,36),t)},w(Qn,"HypernodesProcessor",1595),b(1596,1,vt,bgn),o.Kf=function(e,t){kPe(u(e,36),t)},w(Qn,"InLayerConstraintProcessor",1596),b(1597,1,vt,wgn),o.Kf=function(e,t){dve(u(e,36),t)},w(Qn,"InnermostNodeMarginCalculator",1597),b(1598,1,vt,ggn),o.Kf=function(e,t){MDe(this,u(e,36))},o.a=li,o.b=li,o.c=St,o.d=St;var kNe=w(Qn,"InteractiveExternalPortPositioner",1598);b(1599,1,{},pgn),o.Kb=function(e){return u(e,18).d.i},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$0$Type",1599),b(1600,1,{},Y9n),o.Kb=function(e){return N1e(this.a,R(e))},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$1$Type",1600),b(1601,1,{},mgn),o.Kb=function(e){return u(e,18).c.i},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$2$Type",1601),b(1602,1,{},Z9n),o.Kb=function(e){return $1e(this.a,R(e))},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$3$Type",1602),b(1603,1,{},n7n),o.Kb=function(e){return Dae(this.a,R(e))},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$4$Type",1603),b(1604,1,{},e7n),o.Kb=function(e){return Lae(this.a,R(e))},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$5$Type",1604),b(81,22,{3:1,34:1,22:1,81:1,196:1},ei),o.dg=function(){switch(this.g){case 15:return new $pn;case 22:return new xpn;case 47:return new Rpn;case 28:case 35:return new Pgn;case 32:return new Mwn;case 42:return new Swn;case 1:return new Pwn;case 41:return new Iwn;case 56:return new NG((X4(),aj));case 0:return new NG((X4(),L_));case 2:return new Own;case 54:return new Dwn;case 33:return new xwn;case 51:return new zwn;case 55:return new Ywn;case 13:return new Zwn;case 38:return new egn;case 44:return new tgn;case 40:return new cgn;case 9:return new B5n;case 49:return new eAn;case 37:return new fgn;case 43:return new dgn;case 27:return new bgn;case 30:return new wgn;case 3:return new ggn;case 18:return new kgn;case 29:return new ygn;case 5:return new R5n;case 50:return new vgn;case 34:return new K5n;case 36:return new Ign;case 52:return new P5n;case 11:return new Ogn;case 7:return new _5n;case 39:return new Dgn;case 45:return new Lgn;case 16:return new Ngn;case 10:return new XCn;case 48:return new Bgn;case 21:return new Rgn;case 23:return new gD((P0(),Q8));case 8:return new _gn;case 12:return new qgn;case 4:return new Ugn;case 19:return new X5n;case 17:return new n2n;case 53:return new e2n;case 6:return new d2n;case 25:return new Vyn;case 46:return new u2n;case 31:return new qAn;case 14:return new y2n;case 26:return new Hpn;case 20:return new T2n;case 24:return new gD((P0(),PI));default:throw M(new Gn(cR+(this.f!=null?this.f:""+this.g)))}};var Kon,_on,Hon,qon,Uon,Gon,zon,Xon,Von,Won,b2,TP,AP,Jon,Qon,Yon,Zon,nsn,esn,tsn,O8,isn,rsn,csn,usn,osn,N_,SP,PP,ssn,IP,OP,DP,fv,Dw,Lw,fsn,LP,NP,hsn,$P,xP,lsn,asn,dsn,bsn,FP,$_,dj,BP,RP,KP,_P,wsn,gsn,psn,msn,yNe=we(Qn,uR,81,ke,iqn,kde),HZn;b(1605,1,vt,kgn),o.Kf=function(e,t){EDe(u(e,36),t)},w(Qn,"InvertedPortProcessor",1605),b(1606,1,vt,ygn),o.Kf=function(e,t){vSe(u(e,36),t)},w(Qn,"LabelAndNodeSizeProcessor",1606),b(1607,1,De,jgn),o.Mb=function(e){return u(e,10).k==(Vn(),zt)},w(Qn,"LabelAndNodeSizeProcessor/lambda$0$Type",1607),b(1608,1,De,Egn),o.Mb=function(e){return u(e,10).k==(Vn(),Zt)},w(Qn,"LabelAndNodeSizeProcessor/lambda$1$Type",1608),b(1609,1,re,pSn),o.Cd=function(e){ele(this.b,this.a,this.c,u(e,10))},o.a=!1,o.c=!1,w(Qn,"LabelAndNodeSizeProcessor/lambda$2$Type",1609),b(1610,1,vt,R5n),o.Kf=function(e,t){WOe(u(e,36),t)};var qZn;w(Qn,"LabelDummyInserter",1610),b(1611,1,ph,Cgn),o.Lb=function(e){return x(v(u(e,72),(cn(),Ah)))===x(($f(),xv))},o.Fb=function(e){return this===e},o.Mb=function(e){return x(v(u(e,72),(cn(),Ah)))===x(($f(),xv))},w(Qn,"LabelDummyInserter/1",1611),b(1612,1,vt,vgn),o.Kf=function(e,t){FOe(u(e,36),t)},w(Qn,"LabelDummyRemover",1612),b(1613,1,De,Mgn),o.Mb=function(e){return on(un(v(u(e,72),(cn(),EH))))},w(Qn,"LabelDummyRemover/lambda$0$Type",1613),b(1378,1,vt,K5n),o.Kf=function(e,t){POe(this,u(e,36),t)},o.a=null;var x_;w(Qn,"LabelDummySwitcher",1378),b(292,1,{292:1},tUn),o.c=0,o.d=null,o.f=0,w(Qn,"LabelDummySwitcher/LabelDummyInfo",292),b(1379,1,{},Tgn),o.Kb=function(e){return Hp(),new Tn(null,new In(u(e,30).a,16))},w(Qn,"LabelDummySwitcher/lambda$0$Type",1379),b(1380,1,De,Agn),o.Mb=function(e){return Hp(),u(e,10).k==(Vn(),Ac)},w(Qn,"LabelDummySwitcher/lambda$1$Type",1380),b(1381,1,{},t7n),o.Kb=function(e){return gae(this.a,u(e,10))},w(Qn,"LabelDummySwitcher/lambda$2$Type",1381),b(1382,1,re,i7n),o.Cd=function(e){xwe(this.a,u(e,292))},w(Qn,"LabelDummySwitcher/lambda$3$Type",1382),b(1383,1,Ne,Sgn),o.Ne=function(e,t){return uwe(u(e,292),u(t,292))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"LabelDummySwitcher/lambda$4$Type",1383),b(802,1,vt,Pgn),o.Kf=function(e,t){m4e(u(e,36),t)},w(Qn,"LabelManagementProcessor",802),b(1614,1,vt,Ign),o.Kf=function(e,t){WTe(u(e,36),t)},w(Qn,"LabelSideSelector",1614),b(1622,1,vt,Ogn),o.Kf=function(e,t){xPe(u(e,36),t)},w(Qn,"LayerConstraintPostprocessor",1622),b(1623,1,vt,_5n),o.Kf=function(e,t){OCe(u(e,36),t)};var vsn;w(Qn,"LayerConstraintPreprocessor",1623),b(371,22,{3:1,34:1,22:1,371:1},aC);var bj,HP,qP,F_,UZn=we(Qn,"LayerConstraintPreprocessor/HiddenNodeConnections",371,ke,Jpe,yde),GZn;b(1624,1,vt,Dgn),o.Kf=function(e,t){ZIe(u(e,36),t)},w(Qn,"LayerSizeAndGraphHeightCalculator",1624),b(1625,1,vt,Lgn),o.Kf=function(e,t){NMe(u(e,36),t)},w(Qn,"LongEdgeJoiner",1625),b(1626,1,vt,Ngn),o.Kf=function(e,t){PIe(u(e,36),t)},w(Qn,"LongEdgeSplitter",1626),b(1627,1,vt,XCn),o.Kf=function(e,t){hDe(this,u(e,36),t)},o.e=0,o.f=0,o.j=0,o.k=0,o.n=0,o.o=0;var zZn,XZn;w(Qn,"NodePromotion",1627),b(1628,1,Ne,$gn),o.Ne=function(e,t){return E6e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"NodePromotion/1",1628),b(1629,1,Ne,xgn),o.Ne=function(e,t){return C6e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"NodePromotion/2",1629),b(1630,1,{},Fgn),o.Kb=function(e){return u(e,42),XC(),_n(),!0},o.Fb=function(e){return this===e},w(Qn,"NodePromotion/lambda$0$Type",1630),b(1631,1,{},o7n),o.Kb=function(e){return v2e(this.a,u(e,42))},o.Fb=function(e){return this===e},o.a=0,w(Qn,"NodePromotion/lambda$1$Type",1631),b(1632,1,{},s7n),o.Kb=function(e){return m2e(this.a,u(e,42))},o.Fb=function(e){return this===e},o.a=0,w(Qn,"NodePromotion/lambda$2$Type",1632),b(1633,1,vt,Bgn),o.Kf=function(e,t){rLe(u(e,36),t)},w(Qn,"NorthSouthPortPostprocessor",1633),b(1634,1,vt,Rgn),o.Kf=function(e,t){BDe(u(e,36),t)},w(Qn,"NorthSouthPortPreprocessor",1634),b(1635,1,Ne,Kgn),o.Ne=function(e,t){return Bve(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"NorthSouthPortPreprocessor/lambda$0$Type",1635),b(1636,1,vt,_gn),o.Kf=function(e,t){nPe(u(e,36),t)},w(Qn,"PartitionMidprocessor",1636),b(1637,1,De,Hgn),o.Mb=function(e){return kt(u(e,10),(cn(),Ev))},w(Qn,"PartitionMidprocessor/lambda$0$Type",1637),b(1638,1,re,f7n),o.Cd=function(e){vge(this.a,u(e,10))},w(Qn,"PartitionMidprocessor/lambda$1$Type",1638),b(1639,1,vt,qgn),o.Kf=function(e,t){eTe(u(e,36),t)},w(Qn,"PartitionPostprocessor",1639),b(1640,1,vt,Ugn),o.Kf=function(e,t){wCe(u(e,36),t)},w(Qn,"PartitionPreprocessor",1640),b(1641,1,De,Ggn),o.Mb=function(e){return kt(u(e,10),(cn(),Ev))},w(Qn,"PartitionPreprocessor/lambda$0$Type",1641),b(1642,1,{},zgn),o.Kb=function(e){return new Tn(null,new w0(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(Qn,"PartitionPreprocessor/lambda$1$Type",1642),b(1643,1,De,Xgn),o.Mb=function(e){return c9e(u(e,18))},w(Qn,"PartitionPreprocessor/lambda$2$Type",1643),b(1644,1,re,Vgn),o.Cd=function(e){e6e(u(e,18))},w(Qn,"PartitionPreprocessor/lambda$3$Type",1644),b(1645,1,vt,X5n),o.Kf=function(e,t){NSe(u(e,36),t)};var ksn,VZn,WZn,JZn,ysn,jsn;w(Qn,"PortListSorter",1645),b(1648,1,Ne,Wgn),o.Ne=function(e,t){return zDn(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"PortListSorter/lambda$0$Type",1648),b(1650,1,Ne,Jgn),o.Ne=function(e,t){return TUn(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"PortListSorter/lambda$1$Type",1650),b(1646,1,{},Qgn),o.Kb=function(e){return rm(),u(e,12).e},w(Qn,"PortListSorter/lambda$2$Type",1646),b(1647,1,{},Ygn),o.Kb=function(e){return rm(),u(e,12).g},w(Qn,"PortListSorter/lambda$3$Type",1647),b(1649,1,Ne,Zgn),o.Ne=function(e,t){return P7e(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"PortListSorter/lambda$4$Type",1649),b(1651,1,vt,n2n),o.Kf=function(e,t){UCe(u(e,36),t)},w(Qn,"PortSideProcessor",1651),b(1652,1,vt,e2n),o.Kf=function(e,t){GAe(u(e,36),t)},w(Qn,"ReversedEdgeRestorer",1652),b(1657,1,vt,Vyn),o.Kf=function(e,t){l7e(this,u(e,36),t)},w(Qn,"SelfLoopPortRestorer",1657),b(1658,1,{},t2n),o.Kb=function(e){return new Tn(null,new In(u(e,30).a,16))},w(Qn,"SelfLoopPortRestorer/lambda$0$Type",1658),b(1659,1,De,i2n),o.Mb=function(e){return u(e,10).k==(Vn(),zt)},w(Qn,"SelfLoopPortRestorer/lambda$1$Type",1659),b(1660,1,De,r2n),o.Mb=function(e){return kt(u(e,10),(W(),sb))},w(Qn,"SelfLoopPortRestorer/lambda$2$Type",1660),b(1661,1,{},c2n),o.Kb=function(e){return u(v(u(e,10),(W(),sb)),337)},w(Qn,"SelfLoopPortRestorer/lambda$3$Type",1661),b(1662,1,re,c7n),o.Cd=function(e){Tje(this.a,u(e,337))},w(Qn,"SelfLoopPortRestorer/lambda$4$Type",1662),b(805,1,re,UU),o.Cd=function(e){Rje(u(e,105))},w(Qn,"SelfLoopPortRestorer/lambda$5$Type",805),b(1663,1,vt,u2n),o.Kf=function(e,t){p9e(u(e,36),t)},w(Qn,"SelfLoopPostProcessor",1663),b(1664,1,{},o2n),o.Kb=function(e){return new Tn(null,new In(u(e,30).a,16))},w(Qn,"SelfLoopPostProcessor/lambda$0$Type",1664),b(1665,1,De,s2n),o.Mb=function(e){return u(e,10).k==(Vn(),zt)},w(Qn,"SelfLoopPostProcessor/lambda$1$Type",1665),b(1666,1,De,f2n),o.Mb=function(e){return kt(u(e,10),(W(),sb))},w(Qn,"SelfLoopPostProcessor/lambda$2$Type",1666),b(1667,1,re,h2n),o.Cd=function(e){Ske(u(e,10))},w(Qn,"SelfLoopPostProcessor/lambda$3$Type",1667),b(1668,1,{},l2n),o.Kb=function(e){return new Tn(null,new In(u(e,105).f,1))},w(Qn,"SelfLoopPostProcessor/lambda$4$Type",1668),b(1669,1,re,r7n),o.Cd=function(e){n3e(this.a,u(e,340))},w(Qn,"SelfLoopPostProcessor/lambda$5$Type",1669),b(1670,1,De,a2n),o.Mb=function(e){return!!u(e,105).i},w(Qn,"SelfLoopPostProcessor/lambda$6$Type",1670),b(1671,1,re,u7n),o.Cd=function(e){nhe(this.a,u(e,105))},w(Qn,"SelfLoopPostProcessor/lambda$7$Type",1671),b(1653,1,vt,d2n),o.Kf=function(e,t){vMe(u(e,36),t)},w(Qn,"SelfLoopPreProcessor",1653),b(1654,1,{},b2n),o.Kb=function(e){return new Tn(null,new In(u(e,105).f,1))},w(Qn,"SelfLoopPreProcessor/lambda$0$Type",1654),b(1655,1,{},w2n),o.Kb=function(e){return u(e,340).a},w(Qn,"SelfLoopPreProcessor/lambda$1$Type",1655),b(1656,1,re,g2n),o.Cd=function(e){i1e(u(e,18))},w(Qn,"SelfLoopPreProcessor/lambda$2$Type",1656),b(1672,1,vt,qAn),o.Kf=function(e,t){oje(this,u(e,36),t)},w(Qn,"SelfLoopRouter",1672),b(1673,1,{},p2n),o.Kb=function(e){return new Tn(null,new In(u(e,30).a,16))},w(Qn,"SelfLoopRouter/lambda$0$Type",1673),b(1674,1,De,m2n),o.Mb=function(e){return u(e,10).k==(Vn(),zt)},w(Qn,"SelfLoopRouter/lambda$1$Type",1674),b(1675,1,De,v2n),o.Mb=function(e){return kt(u(e,10),(W(),sb))},w(Qn,"SelfLoopRouter/lambda$2$Type",1675),b(1676,1,{},k2n),o.Kb=function(e){return u(v(u(e,10),(W(),sb)),337)},w(Qn,"SelfLoopRouter/lambda$3$Type",1676),b(1677,1,re,ACn),o.Cd=function(e){dge(this.a,this.b,u(e,337))},w(Qn,"SelfLoopRouter/lambda$4$Type",1677),b(1678,1,vt,y2n),o.Kf=function(e,t){FTe(u(e,36),t)},w(Qn,"SemiInteractiveCrossMinProcessor",1678),b(1679,1,De,j2n),o.Mb=function(e){return u(e,10).k==(Vn(),zt)},w(Qn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679),b(1680,1,De,E2n),o.Mb=function(e){return uPn(u(e,10))._b((cn(),Hw))},w(Qn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680),b(1681,1,Ne,C2n),o.Ne=function(e,t){return nve(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Qn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681),b(1682,1,{},M2n),o.Ve=function(e,t){return kge(u(e,10),u(t,10))},w(Qn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682),b(1684,1,vt,T2n),o.Kf=function(e,t){oIe(u(e,36),t)},w(Qn,"SortByInputModelProcessor",1684),b(1685,1,De,A2n),o.Mb=function(e){return u(e,12).g.c.length!=0},w(Qn,"SortByInputModelProcessor/lambda$0$Type",1685),b(1686,1,re,h7n),o.Cd=function(e){Uje(this.a,u(e,12))},w(Qn,"SortByInputModelProcessor/lambda$1$Type",1686),b(1759,817,{},gxn),o.df=function(e){var t,i,r,c;switch(this.c=e,this.a.g){case 2:t=new Z,qt(ut(new Tn(null,new In(this.c.a.b,16)),new _2n),new xCn(this,t)),Yk(this,new P2n),nu(t,new I2n),t.c.length=0,qt(ut(new Tn(null,new In(this.c.a.b,16)),new O2n),new a7n(t)),Yk(this,new D2n),nu(t,new L2n),t.c.length=0,i=pTn(O$(Ub(new Tn(null,new In(this.c.a.b,16)),new d7n(this))),new N2n),qt(new Tn(null,new In(this.c.a.a,16)),new ICn(i,t)),Yk(this,new x2n),nu(t,new F2n),t.c.length=0;break;case 3:r=new Z,Yk(this,new S2n),c=pTn(O$(Ub(new Tn(null,new In(this.c.a.b,16)),new l7n(this))),new $2n),qt(ut(new Tn(null,new In(this.c.a.b,16)),new B2n),new DCn(c,r)),Yk(this,new R2n),nu(r,new K2n),r.c.length=0;break;default:throw M(new $yn)}},o.b=0,w(di,"EdgeAwareScanlineConstraintCalculation",1759),b(1760,1,ph,S2n),o.Lb=function(e){return D(u(e,60).g,154)},o.Fb=function(e){return this===e},o.Mb=function(e){return D(u(e,60).g,154)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760),b(1761,1,{},l7n),o.Ye=function(e){return AEe(this.a,u(e,60))},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761),b(1769,1,JA,SCn),o.de=function(){A5(this.a,this.b,-1)},o.b=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769),b(1771,1,ph,P2n),o.Lb=function(e){return D(u(e,60).g,154)},o.Fb=function(e){return this===e},o.Mb=function(e){return D(u(e,60).g,154)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771),b(1772,1,re,I2n),o.Cd=function(e){u(e,380).de()},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772),b(1773,1,De,O2n),o.Mb=function(e){return D(u(e,60).g,10)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773),b(1775,1,re,a7n),o.Cd=function(e){X5e(this.a,u(e,60))},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775),b(1774,1,JA,LCn),o.de=function(){A5(this.b,this.a,-1)},o.a=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774),b(1776,1,ph,D2n),o.Lb=function(e){return D(u(e,60).g,10)},o.Fb=function(e){return this===e},o.Mb=function(e){return D(u(e,60).g,10)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776),b(1777,1,re,L2n),o.Cd=function(e){u(e,380).de()},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777),b(1778,1,{},d7n),o.Ye=function(e){return SEe(this.a,u(e,60))},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778),b(1779,1,{},N2n),o.We=function(){return 0},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779),b(1762,1,{},$2n),o.We=function(){return 0},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762),b(1781,1,re,ICn),o.Cd=function(e){Ybe(this.a,this.b,u(e,316))},o.a=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781),b(1780,1,JA,OCn),o.de=function(){DHn(this.a,this.b,-1)},o.b=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780),b(1782,1,ph,x2n),o.Lb=function(e){return u(e,60),!0},o.Fb=function(e){return this===e},o.Mb=function(e){return u(e,60),!0},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782),b(1783,1,re,F2n),o.Cd=function(e){u(e,380).de()},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783),b(1763,1,De,B2n),o.Mb=function(e){return D(u(e,60).g,10)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763),b(1765,1,re,DCn),o.Cd=function(e){Zbe(this.a,this.b,u(e,60))},o.a=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765),b(1764,1,JA,NCn),o.de=function(){A5(this.b,this.a,-1)},o.a=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764),b(1766,1,ph,R2n),o.Lb=function(e){return u(e,60),!0},o.Fb=function(e){return this===e},o.Mb=function(e){return u(e,60),!0},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766),b(1767,1,re,K2n),o.Cd=function(e){u(e,380).de()},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767),b(1768,1,De,_2n),o.Mb=function(e){return D(u(e,60).g,154)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768),b(1770,1,re,xCn),o.Cd=function(e){pme(this.a,this.b,u(e,60))},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770),b(1586,1,vt,eAn),o.Kf=function(e,t){$Ie(this,u(e,36),t)};var QZn;w(di,"HorizontalGraphCompactor",1586),b(1587,1,{},b7n),o.ff=function(e,t){var i,r,c;return iQ(e,t)||(i=Pg(e),r=Pg(t),i&&i.k==(Vn(),Zt)||r&&r.k==(Vn(),Zt))?0:(c=u(v(this.a.a,(W(),E2)),312),R1e(c,i?i.k:(Vn(),Mi),r?r.k:(Vn(),Mi)))},o.gf=function(e,t){var i,r,c;return iQ(e,t)?1:(i=Pg(e),r=Pg(t),c=u(v(this.a.a,(W(),E2)),312),VX(c,i?i.k:(Vn(),Mi),r?r.k:(Vn(),Mi)))},w(di,"HorizontalGraphCompactor/1",1587),b(1588,1,{},H2n),o.ef=function(e,t){return c6(),e.a.i==0},w(di,"HorizontalGraphCompactor/lambda$0$Type",1588),b(1589,1,{},w7n),o.ef=function(e,t){return Ege(this.a,e,t)},w(di,"HorizontalGraphCompactor/lambda$1$Type",1589),b(1730,1,{},GNn);var YZn,ZZn;w(di,"LGraphToCGraphTransformer",1730),b(1738,1,De,q2n),o.Mb=function(e){return e!=null},w(di,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738),b(1731,1,{},U2n),o.Kb=function(e){return Fs(),Jr(v(u(u(e,60).g,10),(W(),st)))},w(di,"LGraphToCGraphTransformer/lambda$0$Type",1731),b(1732,1,{},G2n),o.Kb=function(e){return Fs(),tBn(u(u(e,60).g,154))},w(di,"LGraphToCGraphTransformer/lambda$1$Type",1732),b(1741,1,De,z2n),o.Mb=function(e){return Fs(),D(u(e,60).g,10)},w(di,"LGraphToCGraphTransformer/lambda$10$Type",1741),b(1742,1,re,X2n),o.Cd=function(e){Sge(u(e,60))},w(di,"LGraphToCGraphTransformer/lambda$11$Type",1742),b(1743,1,De,V2n),o.Mb=function(e){return Fs(),D(u(e,60).g,154)},w(di,"LGraphToCGraphTransformer/lambda$12$Type",1743),b(1747,1,re,W2n),o.Cd=function(e){c5e(u(e,60))},w(di,"LGraphToCGraphTransformer/lambda$13$Type",1747),b(1744,1,re,g7n),o.Cd=function(e){Dle(this.a,u(e,8))},o.a=0,w(di,"LGraphToCGraphTransformer/lambda$14$Type",1744),b(1745,1,re,p7n),o.Cd=function(e){Nle(this.a,u(e,116))},o.a=0,w(di,"LGraphToCGraphTransformer/lambda$15$Type",1745),b(1746,1,re,m7n),o.Cd=function(e){Lle(this.a,u(e,8))},o.a=0,w(di,"LGraphToCGraphTransformer/lambda$16$Type",1746),b(1748,1,{},J2n),o.Kb=function(e){return Fs(),new Tn(null,new w0(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(di,"LGraphToCGraphTransformer/lambda$17$Type",1748),b(1749,1,De,Q2n),o.Mb=function(e){return Fs(),fr(u(e,18))},w(di,"LGraphToCGraphTransformer/lambda$18$Type",1749),b(1750,1,re,v7n),o.Cd=function(e){W4e(this.a,u(e,18))},w(di,"LGraphToCGraphTransformer/lambda$19$Type",1750),b(1734,1,re,k7n),o.Cd=function(e){jpe(this.a,u(e,154))},w(di,"LGraphToCGraphTransformer/lambda$2$Type",1734),b(1751,1,{},Y2n),o.Kb=function(e){return Fs(),new Tn(null,new In(u(e,30).a,16))},w(di,"LGraphToCGraphTransformer/lambda$20$Type",1751),b(1752,1,{},Z2n),o.Kb=function(e){return Fs(),new Tn(null,new w0(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(di,"LGraphToCGraphTransformer/lambda$21$Type",1752),b(1753,1,{},npn),o.Kb=function(e){return Fs(),u(v(u(e,18),(W(),Dd)),15)},w(di,"LGraphToCGraphTransformer/lambda$22$Type",1753),b(1754,1,De,epn),o.Mb=function(e){return K1e(u(e,15))},w(di,"LGraphToCGraphTransformer/lambda$23$Type",1754),b(1755,1,re,y7n),o.Cd=function(e){gEe(this.a,u(e,15))},w(di,"LGraphToCGraphTransformer/lambda$24$Type",1755),b(1733,1,re,FCn),o.Cd=function(e){v3e(this.a,this.b,u(e,154))},w(di,"LGraphToCGraphTransformer/lambda$3$Type",1733),b(1735,1,{},tpn),o.Kb=function(e){return Fs(),new Tn(null,new In(u(e,30).a,16))},w(di,"LGraphToCGraphTransformer/lambda$4$Type",1735),b(1736,1,{},ipn),o.Kb=function(e){return Fs(),new Tn(null,new w0(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(di,"LGraphToCGraphTransformer/lambda$5$Type",1736),b(1737,1,{},rpn),o.Kb=function(e){return Fs(),u(v(u(e,18),(W(),Dd)),15)},w(di,"LGraphToCGraphTransformer/lambda$6$Type",1737),b(1739,1,re,j7n),o.Cd=function(e){PEe(this.a,u(e,15))},w(di,"LGraphToCGraphTransformer/lambda$8$Type",1739),b(1740,1,re,BCn),o.Cd=function(e){r1e(this.a,this.b,u(e,154))},w(di,"LGraphToCGraphTransformer/lambda$9$Type",1740),b(1729,1,{},cpn),o.cf=function(e){var t,i,r,c,s;for(this.a=e,this.d=new oD,this.c=K(eon,Fn,125,this.a.a.a.c.length,0,1),this.b=0,i=new C(this.a.a.a);i.a=j&&(nn(s,Y(d)),O=y.Math.max(O,N[d-1]-g),h+=k,S+=N[d-1]-S,g=N[d-1],k=l[d]),k=y.Math.max(k,l[d]),++d;h+=k}m=y.Math.min(1/O,1/t.b/h),m>r&&(r=m,i=s)}return i},o.pg=function(){return!1},w(yh,"MSDCutIndexHeuristic",816),b(1683,1,vt,Hpn),o.Kf=function(e,t){BPe(u(e,36),t)},w(yh,"SingleEdgeGraphWrapper",1683),b(232,22,{3:1,34:1,22:1,232:1},d6);var g2,av,dv,Nw,D8,p2,bv=we(Tc,"CenterEdgeLabelPlacementStrategy",232,ke,E4e,Mde),lne;b(431,22,{3:1,34:1,22:1,431:1},Wz);var Csn,V_,Msn=we(Tc,"ConstraintCalculationStrategy",431,ke,qge,Tde),ane;b(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},_D),o.dg=function(){return K_n(this)},o.qg=function(){return K_n(this)};var gj,L8,Tsn,Asn=we(Tc,"CrossingMinimizationStrategy",322,ke,F2e,Ade),dne;b(351,22,{3:1,34:1,22:1,351:1},HD);var Ssn,W_,VP,Psn=we(Tc,"CuttingStrategy",351,ke,B2e,Sde),bne;b(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},f7),o.dg=function(){return IHn(this)},o.qg=function(){return IHn(this)};var Isn,J_,wv,Q_,gv,Osn=we(Tc,"CycleBreakingStrategy",348,ke,_3e,Pde),wne;b(428,22,{3:1,34:1,22:1,428:1},Jz);var WP,Dsn,Lsn=we(Tc,"DirectionCongruency",428,ke,Hge,Ide),gne;b(459,22,{3:1,34:1,22:1,459:1},qD);var pv,Y_,m2,pne=we(Tc,"EdgeConstraint",459,ke,R2e,Fde),mne;b(283,22,{3:1,34:1,22:1,283:1},b6);var Z_,nH,eH,tH,JP,iH,Nsn=we(Tc,"EdgeLabelSideSelection",283,ke,k4e,Bde),vne;b(487,22,{3:1,34:1,22:1,487:1},Qz);var QP,$sn,xsn=we(Tc,"EdgeStraighteningStrategy",487,ke,_ge,Rde),kne;b(281,22,{3:1,34:1,22:1,281:1},w6);var rH,Fsn,Bsn,YP,Rsn,Ksn,_sn=we(Tc,"FixedAlignment",281,ke,y4e,xde),yne;b(282,22,{3:1,34:1,22:1,282:1},g6);var Hsn,qsn,Usn,Gsn,N8,zsn,Xsn=we(Tc,"GraphCompactionStrategy",282,ke,j4e,Ode),jne;b(259,22,{3:1,34:1,22:1,259:1},Db);var mv,ZP,vv,cs,$8,nI,kv,v2,eI,x8,cH=we(Tc,"GraphProperties",259,ke,uve,Dde),Ene;b(298,22,{3:1,34:1,22:1,298:1},UD);var pj,uH,oH,sH=we(Tc,"GreedySwitchType",298,ke,K2e,Lde),Cne;b(311,22,{3:1,34:1,22:1,311:1},GD);var E3,mj,k2,Mne=we(Tc,"InLayerConstraint",311,ke,_2e,Nde),Tne;b(429,22,{3:1,34:1,22:1,429:1},Yz);var fH,Vsn,Wsn=we(Tc,"InteractiveReferencePoint",429,ke,Wge,$de),Ane,Jsn,C3,cb,tI,Qsn,Ysn,iI,Zsn,vj,rI,F8,M3,Nl,hH,cI,gc,nfn,ka,Hc,lH,aH,kj,Od,ub,T3,efn,A3,yj,$w,yf,Es,dH,y2,dt,st,tfn,ifn,rfn,cfn,ufn,bH,uI,Xu,ob,wH,S3,B8,zf,j2,sb,E2,C2,yv,Dd,ofn,gH,pH,P3;b(171,22,{3:1,34:1,22:1,171:1},h7);var R8,ya,K8,xw,jj,sfn=we(Tc,"LayerConstraint",171,ke,q3e,Kde),Sne;b(859,1,ms,n8n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,rin),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),mfn),(l1(),Pt)),Lsn),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,cin),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(_n(),!1)),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,lS),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Cfn),Pt),Wsn),yn(xn)))),ri(e,lS,fR,jee),ri(e,lS,c8,yee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,uin),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,oin),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),yi),Gt),yn(xn)))),vn(e,new ln(Dhe(pn(gn(mn(Sn(an(wn(dn(bn(new hn,sin),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),yi),Gt),yn(Kd)),A(T(fn,1),J,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,fin),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),Dfn),Pt),_hn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,hin),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Y(7)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,lin),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,ain),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,fR),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),pfn),Pt),Osn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,_y),LR),"Node Layering Strategy"),"Strategy for node layering."),Afn),Pt),Phn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,din),LR),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),Mfn),Pt),sfn),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,bin),LR),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,win),LR),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Y(-1)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,hR),YXn),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Y(4)),Zr),Gi),yn(xn)))),ri(e,hR,_y,Pee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,lR),YXn),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Y(2)),Zr),Gi),yn(xn)))),ri(e,lR,_y,Oee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,aR),ZXn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),Tfn),Pt),Bhn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,dR),ZXn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Y(0)),Zr),Gi),yn(xn)))),ri(e,dR,aR,null),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,bR),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Y(et)),Zr),Gi),yn(xn)))),ri(e,bR,_y,Cee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,c8),Vm),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),gfn),Pt),Asn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,gin),Vm),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,wR),Vm),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Qi),si),yn(xn)))),ri(e,wR,CS,Vne),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,gR),Vm),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),yi),Gt),yn(xn)))),ri(e,gR,c8,nee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,pin),Vm),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),$2),fn),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,min),Vm),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),$2),fn),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,vin),Vm),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,kin),Vm),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Y(-1)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,yin),nVn),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Y(40)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,pR),nVn),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),wfn),Pt),sH),yn(xn)))),ri(e,pR,c8,zne),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,aS),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),bfn),Pt),sH),yn(xn)))),ri(e,aS,c8,qne),ri(e,aS,CS,Une),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,c2),eVn),"Node Placement Strategy"),"Strategy for node placement."),Ofn),Pt),Lhn),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,dS),eVn),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),yi),Gt),yn(xn)))),ri(e,dS,c2,Hee),ri(e,dS,c2,qee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,mR),tVn),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),Sfn),Pt),xsn),yn(xn)))),ri(e,mR,c2,Bee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,vR),tVn),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),Pfn),Pt),_sn),yn(xn)))),ri(e,vR,c2,Kee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,kR),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Qi),si),yn(xn)))),ri(e,kR,c2,Gee),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,yR),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),Pt),RH),yn(pi)))),ri(e,yR,c2,Wee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,jR),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Ifn),Pt),RH),yn(xn)))),ri(e,jR,c2,Vee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,jin),iVn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),yfn),Pt),Uhn),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Ein),iVn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),jfn),Pt),Ghn),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,bS),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),Efn),Pt),Xhn),yn(xn)))),ri(e,bS,Hy,lee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,wS),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Qi),si),yn(xn)))),ri(e,wS,Hy,dee),ri(e,wS,bS,bee),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,ER),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Qi),si),yn(xn)))),ri(e,ER,Hy,oee),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Cin),qf),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Min),qf),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Tin),qf),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Ain),qf),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Sin),Bin),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Y(0)),Zr),Gi),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Pin),Bin),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Y(0)),Zr),Gi),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Iin),Bin),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Y(0)),Zr),Gi),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,CR),Rin),vXn),"Tries to further compact components (disconnected sub-graphs)."),!1),yi),Gt),yn(xn)))),ri(e,CR,n8,!0),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Oin),rVn),"Post Compaction Strategy"),cVn),hfn),Pt),Xsn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Din),rVn),"Post Compaction Constraint Calculation"),cVn),ffn),Pt),Msn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,gS),Kin),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,MR),Kin),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Y(16)),Zr),Gi),yn(xn)))),ri(e,MR,gS,!0),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,TR),Kin),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Y(5)),Zr),Gi),yn(xn)))),ri(e,TR,gS,!0),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Ol),_in),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),$fn),Pt),Qhn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,pS),_in),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Qi),si),yn(xn)))),ri(e,pS,Ol,ste),ri(e,pS,Ol,fte),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,mS),_in),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Qi),si),yn(xn)))),ri(e,mS,Ol,lte),ri(e,mS,Ol,ate),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,u8),uVn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),Nfn),Pt),Psn),yn(xn)))),ri(e,u8,Ol,mte),ri(e,u8,Ol,vte),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,AR),uVn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),Vf),rs),yn(xn)))),ri(e,AR,u8,bte),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,SR),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),Lfn),Zr),Gi),yn(xn)))),ri(e,SR,u8,gte),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,vS),oVn),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),xfn),Pt),Jhn),yn(xn)))),ri(e,vS,Ol,Ote),ri(e,vS,Ol,Dte),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,kS),oVn),"Valid Indices for Wrapping"),null),Vf),rs),yn(xn)))),ri(e,kS,Ol,Ste),ri(e,kS,Ol,Pte),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,yS),Hin),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),yi),Gt),yn(xn)))),ri(e,yS,Ol,Ete),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,jS),Hin),"Distance Penalty When Improving Cuts"),null),2),Qi),si),yn(xn)))),ri(e,jS,Ol,yte),ri(e,jS,yS,!0),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,PR),Hin),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),yi),Gt),yn(xn)))),ri(e,PR,Ol,Mte),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Lin),NR),"Edge Label Side Selection"),"Method to decide on edge label sides."),kfn),Pt),Nsn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Nin),NR),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),vfn),Pt),bv),yt(xn,A(T(Zh,1),G,170,0,[E1]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,ES),o8),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),dfn),Pt),Khn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,$in),o8),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,xin),o8),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),yi),Gt),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,IR),o8),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),lfn),Pt),Oon),yn(xn)))),ri(e,IR,n8,null),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Fin),o8),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),afn),Pt),Ohn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,OR),o8),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Qi),si),yn(xn)))),ri(e,OR,ES,null),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,DR),o8),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Qi),si),yn(xn)))),ri(e,DR,ES,null),Czn((new e8n,e))};var Pne,Ine,One,ffn,Dne,hfn,Lne,lfn,Nne,$ne,xne,afn,Fne,Bne,Rne,dfn,Kne,_ne,Hne,bfn,qne,Une,Gne,wfn,zne,Xne,Vne,Wne,Jne,Qne,Yne,Zne,nee,eee,gfn,tee,pfn,iee,mfn,ree,vfn,cee,kfn,uee,oee,see,yfn,fee,jfn,hee,Efn,lee,aee,dee,bee,wee,gee,pee,mee,vee,kee,Cfn,yee,jee,Eee,Cee,Mee,Tee,Mfn,Aee,See,Pee,Iee,Oee,Dee,Lee,Tfn,Nee,Afn,$ee,xee,Fee,Sfn,Bee,Ree,Pfn,Kee,_ee,Hee,qee,Uee,Gee,zee,Xee,Ifn,Vee,Wee,Jee,Ofn,Qee,Dfn,Yee,Zee,nte,ete,tte,ite,rte,cte,ute,ote,ste,fte,hte,lte,ate,dte,bte,wte,Lfn,gte,pte,Nfn,mte,vte,kte,yte,jte,Ete,Cte,Mte,Tte,$fn,Ate,Ste,Pte,Ite,xfn,Ote,Dte;w(Tc,"LayeredMetaDataProvider",859),b(998,1,ms,e8n),o.hf=function(e){Czn(e)};var Th,mH,oI,_8,sI,Ffn,fI,Fw,hI,Bfn,Rfn,lI,vH,Yh,kH,fb,Kfn,Ej,yH,_fn,Lte,Nte,$te,aI,jH,H8,Ld,xte,Do,Hfn,qfn,dI,EH,Ah,bI,$l,Ufn,Gfn,zfn,CH,MH,Xfn,m1,TH,Vfn,Bw,Wfn,Jfn,Qfn,wI,Rw,Nd,Yfn,Zfn,Fr,nhn,Fte,ou,gI,ehn,thn,ihn,ja,$d,pI,rhn,chn,mI,hb,uhn,AH,q8,ohn,lb,U8,vI,xd,SH,jv,kI,Fd,shn,fhn,hhn,Ev,lhn,Bte,Rte,Kte,_te,ab,Kw,Kt,v1,Hte,_w,ahn,Cv,dhn,Hw,qte,Mv,bhn,I3,Ute,Gte,Cj,PH,whn,Mj,Ws,M2,T2,db,Bd,yI,qw,IH,Tv,Av,bb,A2,OH,Tj,G8,z8,zte,Xte,Vte,ghn,Wte,DH,phn,mhn,vhn,khn,LH,yhn,jhn,Ehn,Chn,NH,jI;w(Tc,"LayeredOptions",998),b(999,1,{},qpn),o.sf=function(){var e;return e=new qyn,e},o.tf=function(e){},w(Tc,"LayeredOptions/LayeredFactory",999),b(1391,1,{}),o.a=0;var Jte;w(dc,"ElkSpacings/AbstractSpacingsBuilder",1391),b(792,1391,{},zY);var EI,Qte;w(Tc,"LayeredSpacings/LayeredSpacingsBuilder",792),b(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},dg),o.dg=function(){return Rqn(this)},o.qg=function(){return Rqn(this)};var Sv,$H,Pv,Mhn,Thn,Ahn,CI,xH,Shn,Phn=we(Tc,"LayeringStrategy",265,ke,xme,_de),Yte;b(390,22,{3:1,34:1,22:1,390:1},zD);var FH,Ihn,MI,Ohn=we(Tc,"LongEdgeOrderingStrategy",390,ke,H2e,Hde),Zte;b(203,22,{3:1,34:1,22:1,203:1},bC);var S2,P2,TI,BH,RH=we(Tc,"NodeFlexibility",203,ke,Qpe,qde),nie;b(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},l7),o.dg=function(){return PHn(this)},o.qg=function(){return PHn(this)};var X8,KH,_H,V8,Dhn,Lhn=we(Tc,"NodePlacementStrategy",323,ke,H3e,Ude),eie;b(243,22,{3:1,34:1,22:1,243:1},Lb);var Nhn,wb,Uw,Aj,$hn,xhn,Sj,Fhn,AI,SI,Bhn=we(Tc,"NodePromotionStrategy",243,ke,ove,Gde),tie;b(284,22,{3:1,34:1,22:1,284:1},wC);var Rhn,k1,HH,qH,Khn=we(Tc,"OrderingStrategy",284,ke,Ype,zde),iie;b(430,22,{3:1,34:1,22:1,430:1},Zz);var UH,GH,_hn=we(Tc,"PortSortingStrategy",430,ke,Uge,Xde),rie;b(462,22,{3:1,34:1,22:1,462:1},XD);var Vu,Jc,W8,cie=we(Tc,"PortType",462,ke,q2e,Vde),uie;b(387,22,{3:1,34:1,22:1,387:1},VD);var Hhn,zH,qhn,Uhn=we(Tc,"SelfLoopDistributionStrategy",387,ke,U2e,Wde),oie;b(349,22,{3:1,34:1,22:1,349:1},WD);var XH,Pj,VH,Ghn=we(Tc,"SelfLoopOrderingStrategy",349,ke,G2e,Jde),sie;b(312,1,{312:1},yGn),w(Tc,"Spacings",312),b(350,22,{3:1,34:1,22:1,350:1},JD);var WH,zhn,J8,Xhn=we(Tc,"SplineRoutingMode",350,ke,z2e,Qde),fie;b(352,22,{3:1,34:1,22:1,352:1},QD);var JH,Vhn,Whn,Jhn=we(Tc,"ValidifyStrategy",352,ke,X2e,Yde),hie;b(388,22,{3:1,34:1,22:1,388:1},YD);var Gw,QH,Iv,Qhn=we(Tc,"WrappingStrategy",388,ke,V2e,Zde),lie;b(1398,1,vr,z5n),o.rg=function(e){return u(e,36),aie},o.Kf=function(e,t){DIe(this,u(e,36),t)};var aie;w(SS,"DepthFirstCycleBreaker",1398),b(793,1,vr,aW),o.rg=function(e){return u(e,36),die},o.Kf=function(e,t){$Le(this,u(e,36),t)},o.sg=function(e){return u(sn(e,cA(this.d,e.c.length)),10)};var die;w(SS,"GreedyCycleBreaker",793),b(1401,793,vr,RMn),o.sg=function(e){var t,i,r,c;for(c=null,t=et,r=new C(e);r.a1&&(on(un(v(Hi((Ln(0,e.c.length),u(e.c[0],10))),(cn(),fb))))?HHn(e,this.d,u(this,669)):(Dn(),Yt(e,this.d)),Hxn(this.e,e))},o.lg=function(e,t,i,r){var c,s,f,h,l,a,d;for(t!=cPn(i,e.length)&&(s=e[t-(i?1:-1)],_J(this.f,s,i?(gr(),Jc):(gr(),Vu))),c=e[t][0],d=!r||c.k==(Vn(),Zt),a=Of(e[t]),this.vg(a,d,!1,i),f=0,l=new C(a);l.a"),e0?DN(this.a,e[t-1],e[t]):!i&&t1&&(on(un(v(Hi((Ln(0,e.c.length),u(e.c[0],10))),(cn(),fb))))?HHn(e,this.d,this):(Dn(),Yt(e,this.d)),on(un(v(Hi((Ln(0,e.c.length),u(e.c[0],10))),fb)))||Hxn(this.e,e))},w(Nu,"ModelOrderBarycenterHeuristic",669),b(1866,1,Ne,H7n),o.Ne=function(e,t){return Oje(this.a,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Nu,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),b(1423,1,vr,i8n),o.rg=function(e){var t;return u(e,36),t=OC(Pie),Ke(t,(Vi(),Oc),(tr(),FP)),t},o.Kf=function(e,t){bge((u(e,36),t))};var Pie;w(Nu,"NoCrossingMinimizer",1423),b(809,413,Ern,jz),o.tg=function(e,t,i){var r,c,s,f,h,l,a,d,g,p,m;switch(g=this.g,i.g){case 1:{for(c=0,s=0,d=new C(e.j);d.a1&&(c.j==(en(),Zn)?this.b[e]=!0:c.j==Wn&&e>0&&(this.b[e-1]=!0))},o.f=0,w(Vh,"AllCrossingsCounter",1861),b(595,1,{},ET),o.b=0,o.d=0,w(Vh,"BinaryIndexedTree",595),b(532,1,{},D7);var nln,II;w(Vh,"CrossingsCounter",532),b(1950,1,Ne,q7n),o.Ne=function(e,t){return Kbe(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Vh,"CrossingsCounter/lambda$0$Type",1950),b(1951,1,Ne,U7n),o.Ne=function(e,t){return _be(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Vh,"CrossingsCounter/lambda$1$Type",1951),b(1952,1,Ne,G7n),o.Ne=function(e,t){return Hbe(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Vh,"CrossingsCounter/lambda$2$Type",1952),b(1953,1,Ne,z7n),o.Ne=function(e,t){return qbe(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Vh,"CrossingsCounter/lambda$3$Type",1953),b(1954,1,re,X7n),o.Cd=function(e){q4e(this.a,u(e,12))},w(Vh,"CrossingsCounter/lambda$4$Type",1954),b(1955,1,De,V7n),o.Mb=function(e){return ble(this.a,u(e,12))},w(Vh,"CrossingsCounter/lambda$5$Type",1955),b(1956,1,re,W7n),o.Cd=function(e){IMn(this,e)},w(Vh,"CrossingsCounter/lambda$6$Type",1956),b(1957,1,re,_Cn),o.Cd=function(e){var t;v4(),W1(this.b,(t=this.a,u(e,12),t))},w(Vh,"CrossingsCounter/lambda$7$Type",1957),b(839,1,ph,QU),o.Lb=function(e){return v4(),kt(u(e,12),(W(),Xu))},o.Fb=function(e){return this===e},o.Mb=function(e){return v4(),kt(u(e,12),(W(),Xu))},w(Vh,"CrossingsCounter/lambda$8$Type",839),b(1949,1,{},J7n),w(Vh,"HyperedgeCrossingsCounter",1949),b(477,1,{34:1,477:1},UAn),o.Fd=function(e){return H8e(this,u(e,477))},o.b=0,o.c=0,o.e=0,o.f=0;var jNe=w(Vh,"HyperedgeCrossingsCounter/Hyperedge",477);b(374,1,{34:1,374:1},EM),o.Fd=function(e){return tMe(this,u(e,374))},o.b=0,o.c=0;var Iie=w(Vh,"HyperedgeCrossingsCounter/HyperedgeCorner",374);b(531,22,{3:1,34:1,22:1,531:1},nX);var Y8,Z8,Oie=we(Vh,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,ke,Gge,e0e),Die;b(1425,1,vr,r8n),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?Lie:null},o.Kf=function(e,t){dke(this,u(e,36),t)};var Lie;w(kr,"InteractiveNodePlacer",1425),b(1426,1,vr,c8n),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?Nie:null},o.Kf=function(e,t){Q9e(this,u(e,36),t)};var Nie,OI,DI;w(kr,"LinearSegmentsNodePlacer",1426),b(261,1,{34:1,261:1},JG),o.Fd=function(e){return The(this,u(e,261))},o.Fb=function(e){var t;return D(e,261)?(t=u(e,261),this.b==t.b):!1},o.Hb=function(){return this.b},o.Ib=function(){return"ls"+ca(this.e)},o.a=0,o.b=0,o.c=-1,o.d=-1,o.g=0;var $ie=w(kr,"LinearSegmentsNodePlacer/LinearSegment",261);b(1428,1,vr,wPn),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?xie:null},o.Kf=function(e,t){TLe(this,u(e,36),t)},o.b=0,o.g=0;var xie;w(kr,"NetworkSimplexPlacer",1428),b(1447,1,Ne,Zpn),o.Ne=function(e,t){return jc(u(e,17).a,u(t,17).a)},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(kr,"NetworkSimplexPlacer/0methodref$compare$Type",1447),b(1449,1,Ne,n3n),o.Ne=function(e,t){return jc(u(e,17).a,u(t,17).a)},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(kr,"NetworkSimplexPlacer/1methodref$compare$Type",1449),b(655,1,{655:1},HCn);var ENe=w(kr,"NetworkSimplexPlacer/EdgeRep",655);b(412,1,{412:1},zW),o.b=!1;var CNe=w(kr,"NetworkSimplexPlacer/NodeRep",412);b(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},Yyn),w(kr,"NetworkSimplexPlacer/Path",515),b(1429,1,{},e3n),o.Kb=function(e){return u(e,18).d.i.k},w(kr,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),b(1430,1,De,t3n),o.Mb=function(e){return u(e,273)==(Vn(),Mi)},w(kr,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),b(1431,1,{},i3n),o.Kb=function(e){return u(e,18).d.i},w(kr,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),b(1432,1,De,Q7n),o.Mb=function(e){return SAn(OBn(u(e,10)))},w(kr,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),b(1433,1,De,r3n),o.Mb=function(e){return Cbe(u(e,12))},w(kr,"NetworkSimplexPlacer/lambda$0$Type",1433),b(1434,1,re,qCn),o.Cd=function(e){c1e(this.a,this.b,u(e,12))},w(kr,"NetworkSimplexPlacer/lambda$1$Type",1434),b(1443,1,re,Y7n),o.Cd=function(e){OEe(this.a,u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$10$Type",1443),b(1444,1,{},c3n),o.Kb=function(e){return ko(),new Tn(null,new In(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$11$Type",1444),b(1445,1,re,Z7n),o.Cd=function(e){MAe(this.a,u(e,10))},w(kr,"NetworkSimplexPlacer/lambda$12$Type",1445),b(1446,1,{},u3n),o.Kb=function(e){return ko(),Y(u(e,125).e)},w(kr,"NetworkSimplexPlacer/lambda$13$Type",1446),b(1448,1,{},o3n),o.Kb=function(e){return ko(),Y(u(e,125).e)},w(kr,"NetworkSimplexPlacer/lambda$15$Type",1448),b(1450,1,De,s3n),o.Mb=function(e){return ko(),u(e,412).c.k==(Vn(),zt)},w(kr,"NetworkSimplexPlacer/lambda$17$Type",1450),b(1451,1,De,f3n),o.Mb=function(e){return ko(),u(e,412).c.j.c.length>1},w(kr,"NetworkSimplexPlacer/lambda$18$Type",1451),b(1452,1,re,EIn),o.Cd=function(e){h8e(this.c,this.b,this.d,this.a,u(e,412))},o.c=0,o.d=0,w(kr,"NetworkSimplexPlacer/lambda$19$Type",1452),b(1435,1,{},h3n),o.Kb=function(e){return ko(),new Tn(null,new In(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$2$Type",1435),b(1453,1,re,nkn),o.Cd=function(e){o1e(this.a,u(e,12))},o.a=0,w(kr,"NetworkSimplexPlacer/lambda$20$Type",1453),b(1454,1,{},l3n),o.Kb=function(e){return ko(),new Tn(null,new In(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$21$Type",1454),b(1455,1,re,ekn),o.Cd=function(e){v1e(this.a,u(e,10))},w(kr,"NetworkSimplexPlacer/lambda$22$Type",1455),b(1456,1,De,a3n),o.Mb=function(e){return SAn(e)},w(kr,"NetworkSimplexPlacer/lambda$23$Type",1456),b(1457,1,{},d3n),o.Kb=function(e){return ko(),new Tn(null,new In(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$24$Type",1457),b(1458,1,De,tkn),o.Mb=function(e){return Sle(this.a,u(e,10))},w(kr,"NetworkSimplexPlacer/lambda$25$Type",1458),b(1459,1,re,UCn),o.Cd=function(e){$je(this.a,this.b,u(e,10))},w(kr,"NetworkSimplexPlacer/lambda$26$Type",1459),b(1460,1,De,b3n),o.Mb=function(e){return ko(),!fr(u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$27$Type",1460),b(1461,1,De,w3n),o.Mb=function(e){return ko(),!fr(u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$28$Type",1461),b(1462,1,{},ikn),o.Ve=function(e,t){return u1e(this.a,u(e,30),u(t,30))},w(kr,"NetworkSimplexPlacer/lambda$29$Type",1462),b(1436,1,{},g3n),o.Kb=function(e){return ko(),new Tn(null,new w0(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(kr,"NetworkSimplexPlacer/lambda$3$Type",1436),b(1437,1,De,p3n),o.Mb=function(e){return ko(),xpe(u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$4$Type",1437),b(1438,1,re,rkn),o.Cd=function(e){NPe(this.a,u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$5$Type",1438),b(1439,1,{},m3n),o.Kb=function(e){return ko(),new Tn(null,new In(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$6$Type",1439),b(1440,1,De,v3n),o.Mb=function(e){return ko(),u(e,10).k==(Vn(),zt)},w(kr,"NetworkSimplexPlacer/lambda$7$Type",1440),b(1441,1,{},k3n),o.Kb=function(e){return ko(),new Tn(null,new w0(new ie(ce(Cl(u(e,10)).a.Kc(),new En))))},w(kr,"NetworkSimplexPlacer/lambda$8$Type",1441),b(1442,1,De,y3n),o.Mb=function(e){return ko(),Ebe(u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$9$Type",1442),b(1424,1,vr,u8n),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?Fie:null},o.Kf=function(e,t){bIe(u(e,36),t)};var Fie;w(kr,"SimpleNodePlacer",1424),b(185,1,{185:1},Wg),o.Ib=function(){var e;return e="",this.c==(fh(),gb)?e+=f3:this.c==y1&&(e+=s3),this.o==(Pf(),Rd)?e+=_B:this.o==Xf?e+="UP":e+="BALANCED",e},w(da,"BKAlignedLayout",185),b(523,22,{3:1,34:1,22:1,523:1},eX);var y1,gb,Bie=we(da,"BKAlignedLayout/HDirection",523,ke,zge,t0e),Rie;b(522,22,{3:1,34:1,22:1,522:1},tX);var Rd,Xf,Kie=we(da,"BKAlignedLayout/VDirection",522,ke,Xge,i0e),_ie;b(1699,1,{},GCn),w(da,"BKAligner",1699),b(1702,1,{},tKn),w(da,"BKCompactor",1702),b(663,1,{663:1},j3n),o.a=0,w(da,"BKCompactor/ClassEdge",663),b(466,1,{466:1},Wyn),o.a=null,o.b=0,w(da,"BKCompactor/ClassNode",466),b(1427,1,vr,WCn),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?Hie:null},o.Kf=function(e,t){ULe(this,u(e,36),t)},o.d=!1;var Hie;w(da,"BKNodePlacer",1427),b(1700,1,{},E3n),o.d=0,w(da,"NeighborhoodInformation",1700),b(1701,1,Ne,ckn),o.Ne=function(e,t){return mme(this,u(e,42),u(t,42))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(da,"NeighborhoodInformation/NeighborComparator",1701),b(823,1,{}),w(da,"ThresholdStrategy",823),b(1825,823,{},Jyn),o.wg=function(e,t,i){return this.a.o==(Pf(),Xf)?St:li},o.xg=function(){},w(da,"ThresholdStrategy/NullThresholdStrategy",1825),b(587,1,{587:1},JCn),o.c=!1,o.d=!1,w(da,"ThresholdStrategy/Postprocessable",587),b(1826,823,{},Qyn),o.wg=function(e,t,i){var r,c,s;return c=t==i,r=this.a.a[i.p]==t,c||r?(s=e,this.a.c==(fh(),gb)?(c&&(s=KF(this,t,!0)),!isNaN(s)&&!isFinite(s)&&r&&(s=KF(this,i,!1))):(c&&(s=KF(this,t,!0)),!isNaN(s)&&!isFinite(s)&&r&&(s=KF(this,i,!1))),s):e},o.xg=function(){for(var e,t,i,r,c;this.d.b!=0;)c=u(f2e(this.d),587),r=PUn(this,c),r.a&&(e=r.a,i=on(this.a.f[this.a.g[c.b.p].p]),!(!i&&!fr(e)&&e.c.i.c==e.d.i.c)&&(t=NHn(this,c),t||Ole(this.e,c)));for(;this.e.a.c.length!=0;)NHn(this,u(NFn(this.e),587))},w(da,"ThresholdStrategy/SimpleThresholdStrategy",1826),b(645,1,{645:1,188:1,196:1},C3n),o.dg=function(){return qxn(this)},o.qg=function(){return qxn(this)};var YH;w(RR,"EdgeRouterFactory",645),b(1485,1,vr,o8n),o.rg=function(e){return eAe(u(e,36))},o.Kf=function(e,t){yIe(u(e,36),t)};var qie,Uie,Gie,zie,Xie,eln,Vie,Wie;w(RR,"OrthogonalEdgeRouter",1485),b(1478,1,vr,VCn),o.rg=function(e){return Eke(u(e,36))},o.Kf=function(e,t){UDe(this,u(e,36),t)};var Jie,Qie,Yie,Zie,Oj,nre;w(RR,"PolylineEdgeRouter",1478),b(1479,1,ph,T3n),o.Lb=function(e){return qQ(u(e,10))},o.Fb=function(e){return this===e},o.Mb=function(e){return qQ(u(e,10))},w(RR,"PolylineEdgeRouter/1",1479),b(1872,1,De,A3n),o.Mb=function(e){return u(e,132).c==(af(),Ea)},w(mf,"HyperEdgeCycleDetector/lambda$0$Type",1872),b(1873,1,{},S3n),o.Ze=function(e){return u(e,132).d},w(mf,"HyperEdgeCycleDetector/lambda$1$Type",1873),b(1874,1,De,P3n),o.Mb=function(e){return u(e,132).c==(af(),Ea)},w(mf,"HyperEdgeCycleDetector/lambda$2$Type",1874),b(1875,1,{},I3n),o.Ze=function(e){return u(e,132).d},w(mf,"HyperEdgeCycleDetector/lambda$3$Type",1875),b(1876,1,{},O3n),o.Ze=function(e){return u(e,132).d},w(mf,"HyperEdgeCycleDetector/lambda$4$Type",1876),b(1877,1,{},M3n),o.Ze=function(e){return u(e,132).d},w(mf,"HyperEdgeCycleDetector/lambda$5$Type",1877),b(118,1,{34:1,118:1},kk),o.Fd=function(e){return Ahe(this,u(e,118))},o.Fb=function(e){var t;return D(e,118)?(t=u(e,118),this.g==t.g):!1},o.Hb=function(){return this.g},o.Ib=function(){var e,t,i,r;for(e=new mo("{"),r=new C(this.n);r.a"+this.b+" ("+z1e(this.c)+")"},o.d=0,w(mf,"HyperEdgeSegmentDependency",132),b(528,22,{3:1,34:1,22:1,528:1},iX);var Ea,zw,ere=we(mf,"HyperEdgeSegmentDependency/DependencyType",528,ke,Vge,r0e),tre;b(1878,1,{},ukn),w(mf,"HyperEdgeSegmentSplitter",1878),b(1879,1,{},Yjn),o.a=0,o.b=0,w(mf,"HyperEdgeSegmentSplitter/AreaRating",1879),b(339,1,{339:1},KL),o.a=0,o.b=0,o.c=0,w(mf,"HyperEdgeSegmentSplitter/FreeArea",339),b(1880,1,Ne,D3n),o.Ne=function(e,t){return zae(u(e,118),u(t,118))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mf,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),b(1881,1,re,CIn),o.Cd=function(e){k3e(this.a,this.d,this.c,this.b,u(e,118))},o.b=0,w(mf,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),b(1882,1,{},L3n),o.Kb=function(e){return new Tn(null,new In(u(e,118).e,16))},w(mf,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),b(1883,1,{},N3n),o.Kb=function(e){return new Tn(null,new In(u(e,118).j,16))},w(mf,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),b(1884,1,{},$3n),o.Ye=function(e){return $(R(e))},w(mf,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),b(664,1,{},lN),o.a=0,o.b=0,o.c=0,w(mf,"OrthogonalRoutingGenerator",664),b(1703,1,{},x3n),o.Kb=function(e){return new Tn(null,new In(u(e,118).e,16))},w(mf,"OrthogonalRoutingGenerator/lambda$0$Type",1703),b(1704,1,{},F3n),o.Kb=function(e){return new Tn(null,new In(u(e,118).j,16))},w(mf,"OrthogonalRoutingGenerator/lambda$1$Type",1704),b(670,1,{}),w(KR,"BaseRoutingDirectionStrategy",670),b(1870,670,{},ejn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;if(!(e.r&&!e.q))for(d=t+e.o*i,a=new C(e.n);a.avh&&(s=d,c=e,r=new V(g,s),Fe(f.a,r),_0(this,f,c,r,!1),p=e.r,p&&(m=$(R(Zo(p.e,0))),r=new V(m,s),Fe(f.a,r),_0(this,f,c,r,!1),s=t+p.o*i,c=p,r=new V(m,s),Fe(f.a,r),_0(this,f,c,r,!1)),r=new V(j,s),Fe(f.a,r),_0(this,f,c,r,!1)))},o.zg=function(e){return e.i.n.a+e.n.a+e.a.a},o.Ag=function(){return en(),ae},o.Bg=function(){return en(),Xn},w(KR,"NorthToSouthRoutingStrategy",1870),b(1871,670,{},tjn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;if(!(e.r&&!e.q))for(d=t-e.o*i,a=new C(e.n);a.avh&&(s=d,c=e,r=new V(g,s),Fe(f.a,r),_0(this,f,c,r,!1),p=e.r,p&&(m=$(R(Zo(p.e,0))),r=new V(m,s),Fe(f.a,r),_0(this,f,c,r,!1),s=t-p.o*i,c=p,r=new V(m,s),Fe(f.a,r),_0(this,f,c,r,!1)),r=new V(j,s),Fe(f.a,r),_0(this,f,c,r,!1)))},o.zg=function(e){return e.i.n.a+e.n.a+e.a.a},o.Ag=function(){return en(),Xn},o.Bg=function(){return en(),ae},w(KR,"SouthToNorthRoutingStrategy",1871),b(1869,670,{},ijn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;if(!(e.r&&!e.q))for(d=t+e.o*i,a=new C(e.n);a.avh&&(s=d,c=e,r=new V(s,g),Fe(f.a,r),_0(this,f,c,r,!0),p=e.r,p&&(m=$(R(Zo(p.e,0))),r=new V(s,m),Fe(f.a,r),_0(this,f,c,r,!0),s=t+p.o*i,c=p,r=new V(s,m),Fe(f.a,r),_0(this,f,c,r,!0)),r=new V(s,j),Fe(f.a,r),_0(this,f,c,r,!0)))},o.zg=function(e){return e.i.n.b+e.n.b+e.a.b},o.Ag=function(){return en(),Zn},o.Bg=function(){return en(),Wn},w(KR,"WestToEastRoutingStrategy",1869),b(828,1,{},Ken),o.Ib=function(){return ca(this.a)},o.b=0,o.c=!1,o.d=!1,o.f=0,w(jw,"NubSpline",828),b(418,1,{418:1},dqn,tOn),w(jw,"NubSpline/PolarCP",418),b(1480,1,vr,VRn),o.rg=function(e){return aye(u(e,36))},o.Kf=function(e,t){fLe(this,u(e,36),t)};var ire,rre,cre,ure,ore;w(jw,"SplineEdgeRouter",1480),b(274,1,{274:1},XM),o.Ib=function(){return this.a+" ->("+this.c+") "+this.b},o.c=0,w(jw,"SplineEdgeRouter/Dependency",274),b(464,22,{3:1,34:1,22:1,464:1},rX);var Ca,I2,sre=we(jw,"SplineEdgeRouter/SideToProcess",464,ke,n2e,c0e),fre;b(1481,1,De,B3n),o.Mb=function(e){return x5(),!u(e,131).o},w(jw,"SplineEdgeRouter/lambda$0$Type",1481),b(1482,1,{},R3n),o.Ze=function(e){return x5(),u(e,131).v+1},w(jw,"SplineEdgeRouter/lambda$1$Type",1482),b(1483,1,re,QCn),o.Cd=function(e){Abe(this.a,this.b,u(e,42))},w(jw,"SplineEdgeRouter/lambda$2$Type",1483),b(1484,1,re,YCn),o.Cd=function(e){Sbe(this.a,this.b,u(e,42))},w(jw,"SplineEdgeRouter/lambda$3$Type",1484),b(131,1,{34:1,131:1},T_n,zen),o.Fd=function(e){return Ihe(this,u(e,131))},o.b=0,o.e=!1,o.f=0,o.g=0,o.j=!1,o.k=!1,o.n=0,o.o=!1,o.p=!1,o.q=!1,o.s=0,o.u=0,o.v=0,o.F=0,w(jw,"SplineSegment",131),b(467,1,{467:1},K3n),o.a=0,o.b=!1,o.c=!1,o.d=!1,o.e=!1,o.f=0,w(jw,"SplineSegment/EdgeInformation",467),b(1198,1,{},_3n),w(Ll,qtn,1198),b(1199,1,Ne,H3n),o.Ne=function(e,t){return VEe(u(e,121),u(t,121))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Ll,EXn,1199),b(1197,1,{},bEn),w(Ll,"MrTree",1197),b(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},gC),o.dg=function(){return V_n(this)},o.qg=function(){return V_n(this)};var LI,n9,e9,t9,tln=we(Ll,"TreeLayoutPhases",405,ke,i3e,u0e),hre;b(1112,205,yd,HAn),o.rf=function(e,t){var i,r,c,s,f,h,l,a;for(on(un(z(e,(lc(),Aln))))||LM((i=new z9((Ob(),new Sb(e))),i)),f=t.eh(qR),f.Ug("build tGraph",1),h=(l=new ek,Ur(l,e),U(l,(pt(),r9),e),a=new de,_Se(e,l,a),uPe(e,l,a),l),f.Vg(),f=t.eh(qR),f.Ug("Split graph",1),s=XSe(this.a,h),f.Vg(),c=new C(s);c.a"+td(this.c):"e_"+mt(this)},w(s8,"TEdge",65),b(121,137,{3:1,121:1,96:1,137:1},ek),o.Ib=function(){var e,t,i,r,c;for(c=null,r=ge(this.b,0);r.b!=r.d.c;)i=u(be(r),39),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` +`;for(t=ge(this.a,0);t.b!=t.d.c;)e=u(be(t),65),c+=(e.b&&e.c?td(e.b)+"->"+td(e.c):"e_"+mt(e))+` +`;return c};var MNe=w(s8,"TGraph",121);b(643,508,{3:1,508:1,643:1,96:1,137:1}),w(s8,"TShape",643),b(39,643,{3:1,508:1,39:1,643:1,96:1,137:1},q$),o.Ib=function(){return td(this)};var NI=w(s8,"TNode",39);b(236,1,qh,sl),o.Jc=function(e){qi(this,e)},o.Kc=function(){var e;return e=ge(this.a.d,0),new sg(e)},w(s8,"TNode/2",236),b(329,1,Si,sg),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(be(this.a),65).c},o.Ob=function(){return Q9(this.a)},o.Qb=function(){p$(this.a)},w(s8,"TNode/2/1",329),b(1923,1,vt,W3n),o.Kf=function(e,t){RLe(this,u(e,121),t)},w(Rc,"CompactionProcessor",1923),b(1924,1,Ne,lkn),o.Ne=function(e,t){return Tve(this.a,u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$0$Type",1924),b(1925,1,De,nMn),o.Mb=function(e){return Dge(this.b,this.a,u(e,42))},o.a=0,o.b=0,w(Rc,"CompactionProcessor/lambda$1$Type",1925),b(1934,1,Ne,J3n),o.Ne=function(e,t){return Ewe(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$10$Type",1934),b(1935,1,Ne,Q3n),o.Ne=function(e,t){return F1e(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$11$Type",1935),b(1936,1,Ne,Y3n),o.Ne=function(e,t){return Cwe(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$12$Type",1936),b(1926,1,De,akn),o.Mb=function(e){return k1e(this.a,u(e,42))},o.a=0,w(Rc,"CompactionProcessor/lambda$2$Type",1926),b(1927,1,De,dkn),o.Mb=function(e){return y1e(this.a,u(e,42))},o.a=0,w(Rc,"CompactionProcessor/lambda$3$Type",1927),b(1928,1,De,Z3n),o.Mb=function(e){return u(e,39).c.indexOf(IS)==-1},w(Rc,"CompactionProcessor/lambda$4$Type",1928),b(1929,1,{},bkn),o.Kb=function(e){return Npe(this.a,u(e,39))},o.a=0,w(Rc,"CompactionProcessor/lambda$5$Type",1929),b(1930,1,{},wkn),o.Kb=function(e){return H4e(this.a,u(e,39))},o.a=0,w(Rc,"CompactionProcessor/lambda$6$Type",1930),b(1931,1,Ne,gkn),o.Ne=function(e,t){return Z3e(this.a,u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$7$Type",1931),b(1932,1,Ne,pkn),o.Ne=function(e,t){return n4e(this.a,u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$8$Type",1932),b(1933,1,Ne,n4n),o.Ne=function(e,t){return B1e(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$9$Type",1933),b(1921,1,vt,e4n),o.Kf=function(e,t){$Ae(u(e,121),t)},w(Rc,"DirectionProcessor",1921),b(1913,1,vt,_An),o.Kf=function(e,t){rPe(this,u(e,121),t)},w(Rc,"FanProcessor",1913),b(1937,1,vt,t4n),o.Kf=function(e,t){EAe(u(e,121),t)},w(Rc,"GraphBoundsProcessor",1937),b(1938,1,{},i4n),o.Ye=function(e){return u(e,39).e.a},w(Rc,"GraphBoundsProcessor/lambda$0$Type",1938),b(1939,1,{},r4n),o.Ye=function(e){return u(e,39).e.b},w(Rc,"GraphBoundsProcessor/lambda$1$Type",1939),b(1940,1,{},c4n),o.Ye=function(e){return ile(u(e,39))},w(Rc,"GraphBoundsProcessor/lambda$2$Type",1940),b(1941,1,{},u4n),o.Ye=function(e){return tle(u(e,39))},w(Rc,"GraphBoundsProcessor/lambda$3$Type",1941),b(262,22,{3:1,34:1,22:1,262:1,196:1},r0),o.dg=function(){switch(this.g){case 0:return new pjn;case 1:return new _An;case 2:return new gjn;case 3:return new l4n;case 4:return new s4n;case 8:return new o4n;case 5:return new e4n;case 6:return new d4n;case 7:return new W3n;case 9:return new t4n;case 10:return new b4n;default:throw M(new Gn(cR+(this.f!=null?this.f:""+this.g)))}};var iln,rln,cln,uln,oln,sln,fln,hln,lln,aln,ZH,TNe=we(Rc,uR,262,ke,$xn,o0e),lre;b(1920,1,vt,o4n),o.Kf=function(e,t){xDe(u(e,121),t)},w(Rc,"LevelCoordinatesProcessor",1920),b(1918,1,vt,s4n),o.Kf=function(e,t){iTe(this,u(e,121),t)},o.a=0,w(Rc,"LevelHeightProcessor",1918),b(1919,1,qh,f4n),o.Jc=function(e){qi(this,e)},o.Kc=function(){return Dn(),h4(),sv},w(Rc,"LevelHeightProcessor/1",1919),b(1914,1,vt,gjn),o.Kf=function(e,t){pAe(this,u(e,121),t)},w(Rc,"LevelProcessor",1914),b(1915,1,De,h4n),o.Mb=function(e){return on(un(v(u(e,39),(pt(),Ma))))},w(Rc,"LevelProcessor/lambda$0$Type",1915),b(1916,1,vt,l4n),o.Kf=function(e,t){nEe(this,u(e,121),t)},o.a=0,w(Rc,"NeighborsProcessor",1916),b(1917,1,qh,a4n),o.Jc=function(e){qi(this,e)},o.Kc=function(){return Dn(),h4(),sv},w(Rc,"NeighborsProcessor/1",1917),b(1922,1,vt,d4n),o.Kf=function(e,t){iPe(this,u(e,121),t)},o.a=0,w(Rc,"NodePositionProcessor",1922),b(1912,1,vt,pjn),o.Kf=function(e,t){BIe(this,u(e,121),t)},w(Rc,"RootProcessor",1912),b(1942,1,vt,b4n),o.Kf=function(e,t){N9e(u(e,121),t)},w(Rc,"Untreeifyer",1942),b(392,22,{3:1,34:1,22:1,392:1},eL);var Dj,nq,dln,bln=we(Uy,"EdgeRoutingMode",392,ke,J2e,s0e),are,Lj,Ov,eq,wln,gln,tq,iq,pln,rq,mln,cq,i9,uq,$I,xI,Js,jf,Dv,r9,c9,j1,vln,dre,oq,Ma,Nj,$j;b(862,1,ms,s8n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Trn),""),wVn),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(_n(),!1)),(l1(),yi)),Gt),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Arn),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Srn),""),"Tree Level"),"The index for the tree level the node is in"),Y(0)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Prn),""),wVn),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),Y(-1)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Irn),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),jln),Pt),Nln),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Orn),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),kln),Pt),bln),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Drn),""),"Search Order"),"Which search order to use when computing a spanning tree."),yln),Pt),xln),yn(xn)))),rzn((new l8n,e))};var bre,wre,gre,kln,pre,mre,yln,vre,kre,jln;w(Uy,"MrTreeMetaDataProvider",862),b(1006,1,ms,l8n),o.hf=function(e){rzn(e)};var yre,Eln,Cln,pb,Mln,Tln,sq,jre,Ere,Cre,Mre,Tre,Are,Sre,Aln,Sln,Pln,Pre,O2,FI,Iln,Ire,Oln,fq,Ore,Dre,Lre,Dln,Nre,Sh,Lln;w(Uy,"MrTreeOptions",1006),b(1007,1,{},w4n),o.sf=function(){var e;return e=new HAn,e},o.tf=function(e){},w(Uy,"MrTreeOptions/MrtreeFactory",1007),b(353,22,{3:1,34:1,22:1,353:1},pC);var hq,BI,lq,aq,Nln=we(Uy,"OrderWeighting",353,ke,r3e,f0e),$re;b(433,22,{3:1,34:1,22:1,433:1},cX);var $ln,dq,xln=we(Uy,"TreeifyingOrder",433,ke,Yge,h0e),xre;b(1486,1,vr,a8n),o.rg=function(e){return u(e,121),Fre},o.Kf=function(e,t){bve(this,u(e,121),t)};var Fre;w("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),b(1487,1,vr,d8n),o.rg=function(e){return u(e,121),Bre},o.Kf=function(e,t){yAe(this,u(e,121),t)};var Bre;w(Wm,"NodeOrderer",1487),b(1494,1,{},_se),o.td=function(e){return VSn(e)},w(Wm,"NodeOrderer/0methodref$lambda$6$Type",1494),b(1488,1,De,O4n),o.Mb=function(e){return _p(),on(un(v(u(e,39),(pt(),Ma))))},w(Wm,"NodeOrderer/lambda$0$Type",1488),b(1489,1,De,D4n),o.Mb=function(e){return _p(),u(v(u(e,39),(lc(),O2)),17).a<0},w(Wm,"NodeOrderer/lambda$1$Type",1489),b(1490,1,De,vkn),o.Mb=function(e){return qme(this.a,u(e,39))},w(Wm,"NodeOrderer/lambda$2$Type",1490),b(1491,1,De,mkn),o.Mb=function(e){return Fpe(this.a,u(e,39))},w(Wm,"NodeOrderer/lambda$3$Type",1491),b(1492,1,Ne,L4n),o.Ne=function(e,t){return ame(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Wm,"NodeOrderer/lambda$4$Type",1492),b(1493,1,De,N4n),o.Mb=function(e){return _p(),u(v(u(e,39),(pt(),iq)),17).a!=0},w(Wm,"NodeOrderer/lambda$5$Type",1493),b(1495,1,vr,h8n),o.rg=function(e){return u(e,121),Rre},o.Kf=function(e,t){ISe(this,u(e,121),t)},o.b=0;var Rre;w("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),b(1496,1,vr,f8n),o.rg=function(e){return u(e,121),Kre},o.Kf=function(e,t){lSe(u(e,121),t)};var Kre,ANe=w(po,"EdgeRouter",1496);b(1498,1,Ne,I4n),o.Ne=function(e,t){return jc(u(e,17).a,u(t,17).a)},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/0methodref$compare$Type",1498),b(1503,1,{},p4n),o.Ye=function(e){return $(R(e))},w(po,"EdgeRouter/1methodref$doubleValue$Type",1503),b(1505,1,Ne,m4n),o.Ne=function(e,t){return bt($(R(e)),$(R(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/2methodref$compare$Type",1505),b(1507,1,Ne,v4n),o.Ne=function(e,t){return bt($(R(e)),$(R(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/3methodref$compare$Type",1507),b(1509,1,{},g4n),o.Ye=function(e){return $(R(e))},w(po,"EdgeRouter/4methodref$doubleValue$Type",1509),b(1511,1,Ne,k4n),o.Ne=function(e,t){return bt($(R(e)),$(R(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/5methodref$compare$Type",1511),b(1513,1,Ne,y4n),o.Ne=function(e,t){return bt($(R(e)),$(R(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/6methodref$compare$Type",1513),b(1497,1,{},j4n),o.Kb=function(e){return kl(),u(v(u(e,39),(lc(),Sh)),17)},w(po,"EdgeRouter/lambda$0$Type",1497),b(1508,1,{},E4n),o.Kb=function(e){return Q1e(u(e,39))},w(po,"EdgeRouter/lambda$11$Type",1508),b(1510,1,{},eMn),o.Kb=function(e){return Mbe(this.b,this.a,u(e,39))},o.a=0,o.b=0,w(po,"EdgeRouter/lambda$13$Type",1510),b(1512,1,{},tMn),o.Kb=function(e){return Y1e(this.b,this.a,u(e,39))},o.a=0,o.b=0,w(po,"EdgeRouter/lambda$15$Type",1512),b(1514,1,Ne,C4n),o.Ne=function(e,t){return h9e(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/lambda$17$Type",1514),b(1515,1,Ne,M4n),o.Ne=function(e,t){return l9e(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/lambda$18$Type",1515),b(1516,1,Ne,T4n),o.Ne=function(e,t){return d9e(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/lambda$19$Type",1516),b(1499,1,De,kkn),o.Mb=function(e){return b2e(this.a,u(e,39))},o.a=0,w(po,"EdgeRouter/lambda$2$Type",1499),b(1517,1,Ne,A4n),o.Ne=function(e,t){return a9e(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/lambda$20$Type",1517),b(1500,1,Ne,S4n),o.Ne=function(e,t){return lbe(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/lambda$3$Type",1500),b(1501,1,Ne,P4n),o.Ne=function(e,t){return abe(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"EdgeRouter/lambda$4$Type",1501),b(1502,1,{},$4n),o.Kb=function(e){return Z1e(u(e,39))},w(po,"EdgeRouter/lambda$5$Type",1502),b(1504,1,{},iMn),o.Kb=function(e){return Tbe(this.b,this.a,u(e,39))},o.a=0,o.b=0,w(po,"EdgeRouter/lambda$7$Type",1504),b(1506,1,{},rMn),o.Kb=function(e){return nae(this.b,this.a,u(e,39))},o.a=0,o.b=0,w(po,"EdgeRouter/lambda$9$Type",1506),b(675,1,{675:1},xRn),o.e=0,o.f=!1,o.g=!1,w(po,"MultiLevelEdgeNodeNodeGap",675),b(1943,1,Ne,x4n),o.Ne=function(e,t){return C2e(u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),b(1944,1,Ne,F4n),o.Ne=function(e,t){return M2e(u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(po,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944);var D2;b(500,22,{3:1,34:1,22:1,500:1,188:1,196:1},uX),o.dg=function(){return jBn(this)},o.qg=function(){return jBn(this)};var RI,L2,Fln=we(Lrn,"RadialLayoutPhases",500,ke,e2e,l0e),_re;b(1113,205,yd,dEn),o.rf=function(e,t){var i,r,c,s,f,h;if(i=sqn(this,e),t.Ug("Radial layout",i.c.length),on(un(z(e,(oa(),Vln))))||LM((r=new z9((Ob(),new Sb(e))),r)),h=wye(e),ht(e,(Tg(),D2),h),!h)throw M(new Gn("The given graph is not a tree!"));for(c=$(R(z(e,HI))),c==0&&(c=H_n(e)),ht(e,HI,c),f=new C(sqn(this,e));f.a=3)for(S=u(L(k,0),27),I=u(L(k,1),27),c=0;c+2=S.f+I.f+a||I.f>=j.f+S.f+a){O=!0;break}else++c;else O=!0;if(!O){for(g=k.i,f=new ne(k);f.e!=f.i.gc();)s=u(ue(f),27),ht(s,(He(),Wj),Y(g)),--g;BUn(e,new op),t.Vg();return}for(i=(H7(this.a),hf(this.a,(XT(),Fj),u(z(e,C1n),188)),hf(this.a,qI,u(z(e,m1n),188)),hf(this.a,Mq,u(z(e,y1n),188)),CX(this.a,(_=new ii,Ke(_,Fj,(rA(),Sq)),Ke(_,qI,Aq),on(un(z(e,w1n)))&&Ke(_,Fj,Tq),_)),wy(this.a,e)),l=1/i.c.length,m=new C(i);m.a0&&zFn((zn(t-1,e.length),e.charCodeAt(t-1)),NXn);)--t;if(r>=t)throw M(new Gn("The given string does not contain any numbers."));if(c=ww((Fi(r,t,e.length),e.substr(r,t-r)),`,|;|\r| +`),c.length!=2)throw M(new Gn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=sw(fw(c[0])),this.b=sw(fw(c[1]))}catch(s){throw s=It(s),D(s,130)?(i=s,M(new Gn($Xn+i))):M(s)}},o.Ib=function(){return"("+this.a+","+this.b+")"},o.a=0,o.b=0;var Ei=w(Ry,"KVector",8);b(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Mu,UE,lAn),o.Pc=function(){return O6e(this)},o.cg=function(e){var t,i,r,c,s,f;r=ww(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),vo(this);try{for(i=0,s=0,c=0,f=0;i0&&(s%2==0?c=sw(r[i]):f=sw(r[i]),s>0&&s%2!=0&&Fe(this,new V(c,f)),++s),++i}catch(h){throw h=It(h),D(h,130)?(t=h,M(new Gn("The given string does not match the expected format for vectors."+t))):M(h)}},o.Ib=function(){var e,t,i;for(e=new mo("("),t=ge(this,0);t.b!=t.d.c;)i=u(be(t),8),Re(e,i.a+","+i.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var oan=w(Ry,"KVectorChain",75);b(255,22,{3:1,34:1,22:1,255:1},p6);var Xq,ZI,nO,Hj,qj,eO,san=we(uo,"Alignment",255,ke,S4e,$0e),yue;b(991,1,ms,j8n),o.hf=function(e){yUn(e)};var fan,Vq,jue,han,lan,Eue,aan,Cue,Mue,dan,ban,Tue;w(uo,"BoxLayouterOptions",991),b(992,1,{},Gmn),o.sf=function(){var e;return e=new Vmn,e},o.tf=function(e){},w(uo,"BoxLayouterOptions/BoxFactory",992),b(297,22,{3:1,34:1,22:1,297:1},m6);var b9,Wq,w9,g9,p9,Jq,Qq=we(uo,"ContentAlignment",297,ke,P4e,x0e),Aue;b(699,1,ms,rG),o.hf=function(e){vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,xVn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(l1(),$2)),fn),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,FVn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Vf),INe),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,trn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),wan),Pt),san),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,l3),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,wcn),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Vf),oan),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,MS),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),pan),D3),Qq),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,qy),""),"Debug Mode"),"Whether additional debug information shall be generated."),(_n(),!1)),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,xR),""),xtn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),man),Pt),k9),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Hy),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),yan),Pt),lU),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,dcn),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,CS),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Can),Pt),hdn),yt(xn,A(T(Zh,1),G,170,0,[pi]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,X0),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),Lan),Vf),Lon),yt(xn,A(T(Zh,1),G,170,0,[pi]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,e8),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,AS),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,t8),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,tR),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),Ban),Pt),ddn),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,TS),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Vf),Ei),yt(pi,A(T(Zh,1),G,170,0,[Kd,E1]))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Ly),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Zr),Gi),yt(pi,A(T(Zh,1),G,170,0,[Ph]))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,uS),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,n8),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,drn),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),Man),Vf),oan),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,grn),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),yi),Gt),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,prn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),yi),Gt),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,iNe),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Vf),$Ne),yt(xn,A(T(Zh,1),G,170,0,[E1]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,vrn),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Tan),Vf),Don),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,nrn),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),yi),Gt),yt(pi,A(T(Zh,1),G,170,0,[Ph,Kd,E1]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,BVn),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Qi),si),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,RVn),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,KVn),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Ny),""),OVn),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),yi),Gt),yn(xn)))),ri(e,Ny,V0,null),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,_Vn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,HVn),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Y(100)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,qVn),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,UVn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Y(4e3)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,GVn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Y(400)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,zVn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,XVn),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,VVn),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,WVn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,bcn),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),gan),Pt),Edn),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,qin),qf),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Uin),qf),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,WB),qf),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Gin),qf),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,eR),qf),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,$R),qf),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,zin),qf),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Win),qf),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Xin),qf),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Vin),qf),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,yw),qf),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Jin),qf),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Qin),qf),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Qi),si),yt(xn,A(T(Zh,1),G,170,0,[pi]))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Yin),qf),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Vf),boe),yt(pi,A(T(Zh,1),G,170,0,[Ph,Kd,E1]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,krn),qf),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),Wan),Vf),Don),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,BR),YVn),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),Zr),Gi),yt(xn,A(T(Zh,1),G,170,0,[pi]))))),ri(e,BR,FR,xue),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,FR),YVn),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),Nan),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,crn),ZVn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),San),Vf),Lon),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,zm),ZVn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Pan),D3),yr),yt(pi,A(T(Zh,1),G,170,0,[E1]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,srn),FS),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),xan),Pt),C9),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,frn),FS),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Pt),C9),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,hrn),FS),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Pt),C9),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,lrn),FS),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Pt),C9),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,arn),FS),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Pt),C9),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,r2),uK),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),Ian),D3),A9),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,a3),uK),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),Dan),D3),wdn),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,d3),uK),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Oan),Vf),Ei),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Gm),uK),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,brn),NR),"Edge Label Placement"),"Gives a hint on where to put edge labels."),van),Pt),Yan),yn(E1)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,oS),NR),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),yi),Gt),yn(E1)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,rNe),"font"),"Font Name"),"Font name used for a label."),$2),fn),yn(E1)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,JVn),"font"),"Font Size"),"Font size used for a label."),Zr),Gi),yn(E1)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,mrn),oK),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Vf),Ei),yn(Kd)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,wrn),oK),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),Zr),Gi),yn(Kd)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,ern),oK),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),_an),Pt),lr),yn(Kd)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Zin),oK),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Qi),si),yn(Kd)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Xm),mcn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Ran),D3),oO),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,urn),mcn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),yi),Gt),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,orn),mcn),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),yi),Gt),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,$y),zy),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Qi),si),yn(xn)))),ri(e,$y,V0,Uue),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,gcn),zy),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Pt),dO),yn(pi)))),ri(e,gcn,V0,Gue),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,xy),zy),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Qi),si),yt(xn,A(T(Zh,1),G,170,0,[pi]))))),ri(e,xy,V0,null),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Fy),zy),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Qi),si),yt(xn,A(T(Zh,1),G,170,0,[pi]))))),ri(e,Fy,V0,null),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,V0),zy),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Pt),pdn),yn(pi)))),ri(e,V0,Gm,null),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,pcn),zy),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Qi),si),yn(xn)))),ri(e,pcn,V0,que),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,irn),nWn),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),yi),Gt),yn(pi)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,rrn),nWn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),yi),Gt),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,JB),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Qi),si),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,QVn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Ean),Pt),rdn),yn(Ph)))),o6(e,new Np(t6(c4(r4(new tp,Yn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),o6(e,new Np(t6(c4(r4(new tp,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),o6(e,new Np(t6(c4(r4(new tp,cu),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),o6(e,new Np(t6(c4(r4(new tp,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),o6(e,new Np(t6(c4(r4(new tp,gVn),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),o6(e,new Np(t6(c4(r4(new tp,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),o6(e,new Np(t6(c4(r4(new tp,es),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),uUn((new E8n,e)),yUn((new j8n,e)),Nqn((new C8n,e))};var Nv,Sue,wan,x2,Pue,Iue,gan,F2,B2,Oue,Uj,pan,Gj,_d,man,Yq,Zq,van,kan,yan,jan,Ean,Due,R2,Can,Lue,zj,nU,Xj,eU,mb,Man,$v,Tan,Aan,San,K2,Pan,Hd,Ian,Vw,_2,Oan,Ta,Dan,tO,Vj,C1,Lan,Nue,Nan,$ue,xue,$an,xan,tU,iU,rU,cU,Fan,oo,m9,Ban,uU,oU,Ww,Ran,Kan,H2,_an,L3,Wj,sU,q2,Fue,fU,Bue,Rue,Han,Kue,qan,Uan,N3,Gan,iO,zan,Xan,qd,_ue,Van,Wan,Jan,rO,Jj,v9,$3,Hue,que,cO,Uue,Qan,Gue;w(uo,"CoreOptions",699),b(88,22,{3:1,34:1,22:1,88:1},p7);var Wf,Br,Xr,Jf,us,k9=we(uo,xtn,88,ke,L3e,F0e),zue;b(278,22,{3:1,34:1,22:1,278:1},fL);var xv,Jw,Fv,Yan=we(uo,"EdgeLabelPlacement",278,ke,upe,B0e),Xue;b(223,22,{3:1,34:1,22:1,223:1},vC);var Bv,Qj,x3,hU,lU=we(uo,"EdgeRouting",223,ke,s3e,R0e),Vue;b(321,22,{3:1,34:1,22:1,321:1},v6);var Zan,ndn,edn,tdn,aU,idn,rdn=we(uo,"EdgeType",321,ke,A4e,K0e),Wue;b(989,1,ms,E8n),o.hf=function(e){uUn(e)};var cdn,udn,odn,sdn,Jue,fdn,y9;w(uo,"FixedLayouterOptions",989),b(990,1,{},zmn),o.sf=function(){var e;return e=new ivn,e},o.tf=function(e){},w(uo,"FixedLayouterOptions/FixedFactory",990),b(346,22,{3:1,34:1,22:1,346:1},hL);var M1,uO,j9,hdn=we(uo,"HierarchyHandling",346,ke,spe,_0e),Que;b(290,22,{3:1,34:1,22:1,290:1},kC);var nl,Aa,Yj,Zj,Yue=we(uo,"LabelSide",290,ke,o3e,H0e),Zue;b(95,22,{3:1,34:1,22:1,95:1},bg);var xl,Qs,Cs,Ys,Lo,Zs,Ms,el,nf,yr=we(uo,"NodeLabelPlacement",95,ke,Sme,q0e),noe;b(256,22,{3:1,34:1,22:1,256:1},m7);var ldn,E9,Sa,adn,nE,C9=we(uo,"PortAlignment",256,ke,V3e,U0e),eoe;b(101,22,{3:1,34:1,22:1,101:1},k6);var Ud,qc,tl,Rv,Qf,Pa,ddn=we(uo,"PortConstraints",101,ke,T4e,G0e),toe;b(279,22,{3:1,34:1,22:1,279:1},y6);var M9,T9,Fl,eE,Ia,F3,oO=we(uo,"PortLabelPlacement",279,ke,M4e,z0e),ioe;b(64,22,{3:1,34:1,22:1,64:1},v7);var Zn,Xn,os,ss,pu,su,Yf,ef,Wu,xu,Uc,Ju,mu,vu,tf,No,$o,Ts,ae,sc,Wn,lr=we(uo,"PortSide",64,ke,N3e,X0e),roe;b(993,1,ms,C8n),o.hf=function(e){Nqn(e)};var coe,uoe,bdn,ooe,soe;w(uo,"RandomLayouterOptions",993),b(994,1,{},Xmn),o.sf=function(){var e;return e=new nvn,e},o.tf=function(e){},w(uo,"RandomLayouterOptions/RandomFactory",994),b(386,22,{3:1,34:1,22:1,386:1},yC);var Qw,tE,iE,Gd,A9=we(uo,"SizeConstraint",386,ke,u3e,V0e),foe;b(264,22,{3:1,34:1,22:1,264:1},wg);var rE,sO,Kv,dU,cE,S9,fO,hO,lO,wdn=we(uo,"SizeOptions",264,ke,Kme,W0e),hoe;b(280,22,{3:1,34:1,22:1,280:1},lL);var Yw,gdn,aO,pdn=we(uo,"TopdownNodeTypes",280,ke,ope,J0e),loe;b(347,22,vcn);var mdn,vdn,dO=we(uo,"TopdownSizeApproximator",347,ke,r2e,Y0e);b(987,347,vcn,XSn),o.Tg=function(e){return ERn(e)},we(uo,"TopdownSizeApproximator/1",987,dO,null,null),b(988,347,vcn,DPn),o.Tg=function(e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn,Kn;for(t=u(z(e,(He(),q2)),143),tn=(B1(),m=new Jv,m),cy(tn,e),jn=new de,s=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));s.e!=s.i.gc();)r=u(ue(s),27),O=(p=new Jv,p),SA(O,tn),cy(O,r),Kn=ERn(r),kg(O,y.Math.max(r.g,Kn.a),y.Math.max(r.f,Kn.b)),Vc(jn.f,r,O);for(c=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));c.e!=c.i.gc();)for(r=u(ue(c),27),d=new ne((!r.e&&(r.e=new Nn(Vt,r,7,4)),r.e));d.e!=d.i.gc();)a=u(ue(d),74),_=u(Kr(wr(jn.f,r)),27),X=u(ee(jn,L((!a.c&&(a.c=new Nn(he,a,5,8)),a.c),0)),27),N=(g=new HO,g),ve((!N.b&&(N.b=new Nn(he,N,4,7)),N.b),_),ve((!N.c&&(N.c=new Nn(he,N,5,8)),N.c),X),AA(N,At(_)),cy(N,a);j=u(z7(t.f),205);try{j.rf(tn,new uvn),fIn(t.f,j)}catch(Bn){throw Bn=It(Bn),D(Bn,103)?(k=Bn,M(k)):M(Bn)}return Lf(tn,B2)||Lf(tn,F2)||ctn(tn),l=$(R(z(tn,B2))),h=$(R(z(tn,F2))),f=l/h,i=$(R(z(tn,Jj)))*y.Math.sqrt((!tn.a&&(tn.a=new q(Ye,tn,10,11)),tn.a).i),kn=u(z(tn,C1),107),I=kn.b+kn.c+1,S=kn.d+kn.a+1,new V(y.Math.max(I,i),y.Math.max(S,i/f))},we(uo,"TopdownSizeApproximator/2",988,dO,null,null);var aoe;b(344,1,{871:1},op),o.Ug=function(e,t){return xKn(this,e,t)},o.Vg=function(){c_n(this)},o.Wg=function(){return this.q},o.Xg=function(){return this.f?TN(this.f):null},o.Yg=function(){return TN(this.a)},o.Zg=function(){return this.p},o.$g=function(){return!1},o._g=function(){return this.n},o.ah=function(){return this.p!=null&&!this.b},o.bh=function(e){var t;this.n&&(t=e,nn(this.f,t))},o.dh=function(e,t){var i,r;this.n&&e&&Cpe(this,(i=new UPn,r=IF(i,e),cDe(i),r),(LT(),wU))},o.eh=function(e){var t;return this.b?null:(t=fme(this,this.g),Fe(this.a,t),t.i=this,this.d=e,t)},o.fh=function(e){e>0&&!this.b&&EQ(this,e)},o.b=!1,o.c=0,o.d=-1,o.e=null,o.f=null,o.g=-1,o.j=!1,o.k=!1,o.n=!1,o.o=0,o.q=0,o.r=0,w(dc,"BasicProgressMonitor",344),b(717,205,yd,Vmn),o.rf=function(e,t){BUn(e,t)},w(dc,"BoxLayoutProvider",717),b(983,1,Ne,Dkn),o.Ne=function(e,t){return cTe(this,u(e,27),u(t,27))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},o.a=!1,w(dc,"BoxLayoutProvider/1",983),b(163,1,{163:1},hT,pAn),o.Ib=function(){return this.c?yen(this.c):ca(this.b)},w(dc,"BoxLayoutProvider/Group",163),b(320,22,{3:1,34:1,22:1,320:1},jC);var kdn,ydn,jdn,bU,Edn=we(dc,"BoxLayoutProvider/PackingMode",320,ke,f3e,Z0e),doe;b(984,1,Ne,Wmn),o.Ne=function(e,t){return Cge(u(e,163),u(t,163))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(dc,"BoxLayoutProvider/lambda$0$Type",984),b(985,1,Ne,Jmn),o.Ne=function(e,t){return gge(u(e,163),u(t,163))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(dc,"BoxLayoutProvider/lambda$1$Type",985),b(986,1,Ne,Qmn),o.Ne=function(e,t){return pge(u(e,163),u(t,163))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(dc,"BoxLayoutProvider/lambda$2$Type",986),b(1384,1,{845:1},Ymn),o.Mg=function(e,t){return ZE(),!D(t,167)||mEn((qp(),u(e,167)),t)},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),b(1385,1,re,Lkn),o.Cd=function(e){N6e(this.a,u(e,149))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),b(1386,1,re,evn),o.Cd=function(e){u(e,96),ZE()},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),b(1390,1,re,Nkn),o.Cd=function(e){tve(this.a,u(e,96))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),b(1388,1,De,sMn),o.Mb=function(e){return w6e(this.a,this.b,u(e,149))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),b(1387,1,De,fMn),o.Mb=function(e){return J1e(this.a,this.b,u(e,845))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),b(1389,1,re,hMn),o.Cd=function(e){fwe(this.a,this.b,u(e,149))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),b(947,1,{},tvn),o.Kb=function(e){return cTn(e)},o.Fb=function(e){return this===e},w(dc,"ElkUtil/lambda$0$Type",947),b(948,1,re,lMn),o.Cd=function(e){sCe(this.a,this.b,u(e,74))},o.a=0,o.b=0,w(dc,"ElkUtil/lambda$1$Type",948),b(949,1,re,aMn),o.Cd=function(e){Zfe(this.a,this.b,u(e,166))},o.a=0,o.b=0,w(dc,"ElkUtil/lambda$2$Type",949),b(950,1,re,dMn),o.Cd=function(e){Vle(this.a,this.b,u(e,135))},o.a=0,o.b=0,w(dc,"ElkUtil/lambda$3$Type",950),b(951,1,re,$kn),o.Cd=function(e){Ibe(this.a,u(e,377))},w(dc,"ElkUtil/lambda$4$Type",951),b(325,1,{34:1,325:1},Pfe),o.Fd=function(e){return E1e(this,u(e,242))},o.Fb=function(e){var t;return D(e,325)?(t=u(e,325),this.a==t.a):!1},o.Hb=function(){return wi(this.a)},o.Ib=function(){return this.a+" (exclusive)"},o.a=0,w(dc,"ExclusiveBounds/ExclusiveLowerBound",325),b(1119,205,yd,ivn),o.rf=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I,O,N,_,X,tn,jn,kn;for(t.Ug("Fixed Layout",1),s=u(z(e,(He(),kan)),223),g=0,p=0,O=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));O.e!=O.i.gc();){for(S=u(ue(O),27),kn=u(z(S,(NT(),y9)),8),kn&&(Ro(S,kn.a,kn.b),u(z(S,udn),181).Hc((go(),Qw))&&(m=u(z(S,sdn),8),m.a>0&&m.b>0&&q0(S,m.a,m.b,!0,!0))),g=y.Math.max(g,S.i+S.g),p=y.Math.max(p,S.j+S.f),a=new ne((!S.n&&(S.n=new q(Ar,S,1,7)),S.n));a.e!=a.i.gc();)h=u(ue(a),135),kn=u(z(h,y9),8),kn&&Ro(h,kn.a,kn.b),g=y.Math.max(g,S.i+h.i+h.g),p=y.Math.max(p,S.j+h.j+h.f);for(X=new ne((!S.c&&(S.c=new q(Qu,S,9,9)),S.c));X.e!=X.i.gc();)for(_=u(ue(X),123),kn=u(z(_,y9),8),kn&&Ro(_,kn.a,kn.b),tn=S.i+_.i,jn=S.j+_.j,g=y.Math.max(g,tn+_.g),p=y.Math.max(p,jn+_.f),l=new ne((!_.n&&(_.n=new q(Ar,_,1,7)),_.n));l.e!=l.i.gc();)h=u(ue(l),135),kn=u(z(h,y9),8),kn&&Ro(h,kn.a,kn.b),g=y.Math.max(g,tn+h.i+h.g),p=y.Math.max(p,jn+h.j+h.f);for(c=new ie(ce(Al(S).a.Kc(),new En));pe(c);)i=u(fe(c),74),d=YGn(i),g=y.Math.max(g,d.a),p=y.Math.max(p,d.b);for(r=new ie(ce(ry(S).a.Kc(),new En));pe(r);)i=u(fe(r),74),At(Kh(i))!=e&&(d=YGn(i),g=y.Math.max(g,d.a),p=y.Math.max(p,d.b))}if(s==(El(),Bv))for(I=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));I.e!=I.i.gc();)for(S=u(ue(I),27),r=new ie(ce(Al(S).a.Kc(),new En));pe(r);)i=u(fe(r),74),f=hPe(i),f.b==0?ht(i,mb,null):ht(i,mb,f);on(un(z(e,(NT(),odn))))||(N=u(z(e,Jue),107),j=g+N.b+N.c,k=p+N.d+N.a,q0(e,j,k,!0,!0)),t.Vg()},w(dc,"FixedLayoutProvider",1119),b(385,137,{3:1,423:1,385:1,96:1,137:1},_O,WNn),o.cg=function(e){var t,i,r,c,s,f,h,l,a;if(e)try{for(l=ww(e,";,;"),s=l,f=0,h=s.length;f>16&ui|t^r<<16},o.Kc=function(){return new xkn(this)},o.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Jr(this.b)+")":this.b==null?"pair("+Jr(this.a)+",null)":"pair("+Jr(this.a)+","+Jr(this.b)+")"},w(dc,"Pair",42),b(995,1,Si,xkn),o.Nb=function(e){_i(this,e)},o.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},o.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw M(new nc)},o.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),M(new Cu)},o.b=!1,o.c=!1,w(dc,"Pair/1",995),b(454,1,{454:1},MIn),o.Fb=function(e){return mc(this.a,u(e,454).a)&&mc(this.c,u(e,454).c)&&mc(this.d,u(e,454).d)&&mc(this.b,u(e,454).b)},o.Hb=function(){return Pk(A(T(ki,1),Fn,1,5,[this.a,this.c,this.d,this.b]))},o.Ib=function(){return"("+this.a+ur+this.c+ur+this.d+ur+this.b+")"},w(dc,"Quadruple",454),b(1108,205,yd,nvn),o.rf=function(e,t){var i,r,c,s,f;if(t.Ug("Random Layout",1),(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i==0){t.Vg();return}s=u(z(e,(QY(),ooe)),17),s&&s.a!=0?c=new qM(s.a):c=new dx,i=J9(R(z(e,coe))),f=J9(R(z(e,soe))),r=u(z(e,uoe),107),SDe(e,c,i,f,r),t.Vg()},w(dc,"RandomLayoutProvider",1108),b(240,1,{240:1},_L),o.Fb=function(e){return mc(this.a,u(e,240).a)&&mc(this.b,u(e,240).b)&&mc(this.c,u(e,240).c)},o.Hb=function(){return Pk(A(T(ki,1),Fn,1,5,[this.a,this.b,this.c]))},o.Ib=function(){return"("+this.a+ur+this.b+ur+this.c+")"},w(dc,"Triple",240);var poe;b(562,1,{}),o.Lf=function(){return new V(this.f.i,this.f.j)},o.of=function(e){return ZIn(e,(He(),oo))?z(this.f,moe):z(this.f,e)},o.Mf=function(){return new V(this.f.g,this.f.f)},o.Nf=function(){return this.g},o.pf=function(e){return Lf(this.f,e)},o.Of=function(e){eu(this.f,e.a),tu(this.f,e.b)},o.Pf=function(e){S0(this.f,e.a),A0(this.f,e.b)},o.Qf=function(e){this.g=e},o.g=0;var moe;w(l8,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),b(563,1,{853:1},OE),o.Rf=function(){var e,t;if(!this.b)for(this.b=RM(yM(this.a).i),t=new ne(yM(this.a));t.e!=t.i.gc();)e=u(ue(t),135),nn(this.b,new pD(e));return this.b},o.b=null,w(l8,"ElkGraphAdapters/ElkEdgeAdapter",563),b(308,562,{},Sb),o.Sf=function(){return GRn(this)},o.a=null,w(l8,"ElkGraphAdapters/ElkGraphAdapter",308),b(640,562,{187:1},pD),w(l8,"ElkGraphAdapters/ElkLabelAdapter",640),b(639,562,{695:1},ML),o.Rf=function(){return w7e(this)},o.Vf=function(){var e;return e=u(z(this.f,(He(),$v)),140),!e&&(e=new Wv),e},o.Xf=function(){return g7e(this)},o.Zf=function(e){var t;t=new qL(e),ht(this.f,(He(),$v),t)},o.$f=function(e){ht(this.f,(He(),C1),new _V(e))},o.Tf=function(){return this.d},o.Uf=function(){var e,t;if(!this.a)for(this.a=new Z,t=new ie(ce(ry(u(this.f,27)).a.Kc(),new En));pe(t);)e=u(fe(t),74),nn(this.a,new OE(e));return this.a},o.Wf=function(){var e,t;if(!this.c)for(this.c=new Z,t=new ie(ce(Al(u(this.f,27)).a.Kc(),new En));pe(t);)e=u(fe(t),74),nn(this.c,new OE(e));return this.c},o.Yf=function(){return TM(u(this.f,27)).i!=0||on(un(u(this.f,27).of((He(),zj))))},o._f=function(){V4e(this,(Ob(),poe))},o.a=null,o.b=null,o.c=null,o.d=null,o.e=null,w(l8,"ElkGraphAdapters/ElkNodeAdapter",639),b(1284,562,{852:1},Fkn),o.Rf=function(){return C7e(this)},o.Uf=function(){var e,t;if(!this.a)for(this.a=Dh(u(this.f,123).hh().i),t=new ne(u(this.f,123).hh());t.e!=t.i.gc();)e=u(ue(t),74),nn(this.a,new OE(e));return this.a},o.Wf=function(){var e,t;if(!this.c)for(this.c=Dh(u(this.f,123).ih().i),t=new ne(u(this.f,123).ih());t.e!=t.i.gc();)e=u(ue(t),74),nn(this.c,new OE(e));return this.c},o.ag=function(){return u(u(this.f,123).of((He(),H2)),64)},o.bg=function(){var e,t,i,r,c,s,f,h;for(r=Sf(u(this.f,123)),i=new ne(u(this.f,123).ih());i.e!=i.i.gc();)for(e=u(ue(i),74),h=new ne((!e.c&&(e.c=new Nn(he,e,5,8)),e.c));h.e!=h.i.gc();){if(f=u(ue(h),84),Yb(Gr(f),r))return!0;if(Gr(f)==r&&on(un(z(e,(He(),nU)))))return!0}for(t=new ne(u(this.f,123).hh());t.e!=t.i.gc();)for(e=u(ue(t),74),s=new ne((!e.b&&(e.b=new Nn(he,e,4,7)),e.b));s.e!=s.i.gc();)if(c=u(ue(s),84),Yb(Gr(c),r))return!0;return!1},o.a=null,o.b=null,o.c=null,w(l8,"ElkGraphAdapters/ElkPortAdapter",1284),b(1285,1,Ne,Zmn),o.Ne=function(e,t){return tSe(u(e,123),u(t,123))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(l8,"ElkGraphAdapters/PortComparator",1285);var Oa=Nt(ts,"EObject"),_v=Nt(o2,iWn),xo=Nt(o2,rWn),uE=Nt(o2,cWn),oE=Nt(o2,"ElkShape"),he=Nt(o2,uWn),Vt=Nt(o2,kcn),Mt=Nt(o2,oWn),sE=Nt(ts,sWn),P9=Nt(ts,"EFactory"),voe,gU=Nt(ts,fWn),Ef=Nt(ts,"EPackage"),Ti,koe,yoe,Adn,bO,joe,Sdn,Pdn,Idn,il,Eoe,Coe,Ar=Nt(o2,ycn),Ye=Nt(o2,jcn),Qu=Nt(o2,Ecn);b(93,1,hWn),o.th=function(){return this.uh(),null},o.uh=function(){return null},o.vh=function(){return this.uh(),!1},o.wh=function(){return!1},o.xh=function(e){it(this,e)},w(g3,"BasicNotifierImpl",93),b(99,93,bWn),o.Yh=function(){return fo(this)},o.yh=function(e,t){return e},o.zh=function(){throw M(new Pe)},o.Ah=function(e){var t;return t=br(u($n(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,e)},o.Bh=function(e,t){throw M(new Pe)},o.Ch=function(e,t,i){return So(this,e,t,i)},o.Dh=function(){var e;return this.zh()&&(e=this.zh().Nk(),e)?e:this.ii()},o.Eh=function(){return dF(this)},o.Fh=function(){throw M(new Pe)},o.Gh=function(){var e,t;return t=this.$h().Ok(),!t&&this.zh().Tk(t=(f6(),e=nJ(bh(this.Dh())),e==null?CU:new C7(this,e))),t},o.Hh=function(e,t){return e},o.Ih=function(e){var t;return t=e.pk(),t?e.Lj():Ot(this.Dh(),e)},o.Jh=function(){var e;return e=this.zh(),e?e.Qk():null},o.Kh=function(){return this.zh()?this.zh().Nk():null},o.Lh=function(e,t,i){return tA(this,e,t,i)},o.Mh=function(e){return $4(this,e)},o.Nh=function(e,t){return YN(this,e,t)},o.Oh=function(){var e;return e=this.zh(),!!e&&e.Rk()},o.Ph=function(){throw M(new Pe)},o.Qh=function(){return WT(this)},o.Rh=function(e,t,i,r){return Wp(this,e,t,r)},o.Sh=function(e,t,i){var r;return r=u($n(this.Dh(),t),69),r.wk().zk(this,this.hi(),t-this.ji(),e,i)},o.Th=function(e,t,i,r){return IM(this,e,t,r)},o.Uh=function(e,t,i){var r;return r=u($n(this.Dh(),t),69),r.wk().Ak(this,this.hi(),t-this.ji(),e,i)},o.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},o.Wh=function(e){return Cx(this,e)},o.Xh=function(e){return dOn(this,e)},o.Zh=function(e){return xGn(this,e)},o.$h=function(){throw M(new Pe)},o._h=function(){return this.zh()?this.zh().Pk():null},o.ai=function(){return WT(this)},o.bi=function(e,t){sF(this,e,t)},o.ci=function(e){this.$h().Sk(e)},o.di=function(e){this.$h().Vk(e)},o.ei=function(e){this.$h().Uk(e)},o.fi=function(e,t){var i,r,c,s;return s=this.Jh(),s&&e&&(t=cr(s.El(),this,t),s.Il(this)),r=this.Ph(),r&&(AF(this,this.Ph(),this.Fh()).Bb&hr?(c=r.Qh(),c&&(e?!s&&c.Il(this):c.Hl(this))):(t=(i=this.Fh(),i>=0?this.Ah(t):this.Ph().Th(this,-1-i,null,t)),t=this.Ch(null,-1,t))),this.di(e),t},o.gi=function(e){var t,i,r,c,s,f,h,l;if(i=this.Dh(),s=Ot(i,e),t=this.ji(),s>=t)return u(e,69).wk().Dk(this,this.hi(),s-t);if(s<=-1)if(f=Qg((Du(),zi),i,e),f){if(dr(),u(f,69).xk()||(f=$p(Lr(zi,f))),c=(r=this.Ih(f),u(r>=0?this.Lh(r,!0,!0):K0(this,f,!0),160)),l=f.Ik(),l>1||l==-1)return u(u(c,220).Sl(e,!1),79)}else throw M(new Gn(ba+e.xe()+sK));else if(e.Jk())return r=this.Ih(e),u(r>=0?this.Lh(r,!1,!0):K0(this,e,!1),79);return h=new OMn(this,e),h},o.hi=function(){return cQ(this)},o.ii=function(){return(G1(),Hn).S},o.ji=function(){return se(this.ii())},o.ki=function(e){cF(this,e)},o.Ib=function(){return Hs(this)},w(qn,"BasicEObjectImpl",99);var Moe;b(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),o.li=function(e){var t;return t=rQ(this),t[e]},o.mi=function(e,t){var i;i=rQ(this),$t(i,e,t)},o.ni=function(e){var t;t=rQ(this),$t(t,e,null)},o.th=function(){return u(Un(this,4),129)},o.uh=function(){throw M(new Pe)},o.vh=function(){return(this.Db&4)!=0},o.zh=function(){throw M(new Pe)},o.oi=function(e){Xp(this,2,e)},o.Bh=function(e,t){this.Db=t<<16|this.Db&255,this.oi(e)},o.Dh=function(){return au(this)},o.Fh=function(){return this.Db>>16},o.Gh=function(){var e,t;return f6(),t=nJ(bh((e=u(Un(this,16),29),e||this.ii()))),t==null?CU:new C7(this,t)},o.wh=function(){return(this.Db&1)==0},o.Jh=function(){return u(Un(this,128),2034)},o.Kh=function(){return u(Un(this,16),29)},o.Oh=function(){return(this.Db&32)!=0},o.Ph=function(){return u(Un(this,2),54)},o.Vh=function(){return(this.Db&64)!=0},o.$h=function(){throw M(new Pe)},o._h=function(){return u(Un(this,64),288)},o.ci=function(e){Xp(this,16,e)},o.di=function(e){Xp(this,128,e)},o.ei=function(e){Xp(this,64,e)},o.hi=function(){return iu(this)},o.Db=0,w(qn,"MinimalEObjectImpl",119),b(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.oi=function(e){this.Cb=e},o.Ph=function(){return this.Cb},w(qn,"MinimalEObjectImpl/Container",120),b(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return kZ(this,e,t,i)},o.Uh=function(e,t,i){return fnn(this,e,t,i)},o.Wh=function(e){return bJ(this,e)},o.bi=function(e,t){cY(this,e,t)},o.ii=function(){return Cc(),Coe},o.ki=function(e){VQ(this,e)},o.nf=function(){return lRn(this)},o.gh=function(){return!this.o&&(this.o=new Iu((Cc(),il),T1,this,0)),this.o},o.of=function(e){return z(this,e)},o.pf=function(e){return Lf(this,e)},o.qf=function(e,t){return ht(this,e,t)},w(Md,"EMapPropertyHolderImpl",2083),b(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},kE),o.Lh=function(e,t,i){switch(e){case 0:return this.a;case 1:return this.b}return tA(this,e,t,i)},o.Wh=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return Cx(this,e)},o.bi=function(e,t){switch(e){case 0:aT(this,$(R(t)));return;case 1:lT(this,$(R(t)));return}sF(this,e,t)},o.ii=function(){return Cc(),koe},o.ki=function(e){switch(e){case 0:aT(this,0);return;case 1:lT(this,0);return}cF(this,e)},o.Ib=function(){var e;return this.Db&64?Hs(this):(e=new ls(Hs(this)),e.a+=" (x: ",hg(e,this.a),e.a+=", y: ",hg(e,this.b),e.a+=")",e.a)},o.a=0,o.b=0,w(Md,"ElkBendPointImpl",572),b(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return SY(this,e,t,i)},o.Sh=function(e,t,i){return Yx(this,e,t,i)},o.Uh=function(e,t,i){return $$(this,e,t,i)},o.Wh=function(e){return HQ(this,e)},o.bi=function(e,t){RZ(this,e,t)},o.ii=function(){return Cc(),joe},o.ki=function(e){vY(this,e)},o.jh=function(){return this.k},o.kh=function(){return yM(this)},o.Ib=function(){return ox(this)},o.k=null,w(Md,"ElkGraphElementImpl",739),b(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return xY(this,e,t,i)},o.Wh=function(e){return HY(this,e)},o.bi=function(e,t){KZ(this,e,t)},o.ii=function(){return Cc(),Eoe},o.ki=function(e){WY(this,e)},o.lh=function(){return this.f},o.mh=function(){return this.g},o.nh=function(){return this.i},o.oh=function(){return this.j},o.ph=function(e,t){kg(this,e,t)},o.qh=function(e,t){Ro(this,e,t)},o.rh=function(e){eu(this,e)},o.sh=function(e){tu(this,e)},o.Ib=function(){return iF(this)},o.f=0,o.g=0,o.i=0,o.j=0,w(Md,"ElkShapeImpl",740),b(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return dZ(this,e,t,i)},o.Sh=function(e,t,i){return LZ(this,e,t,i)},o.Uh=function(e,t,i){return NZ(this,e,t,i)},o.Wh=function(e){return rY(this,e)},o.bi=function(e,t){znn(this,e,t)},o.ii=function(){return Cc(),yoe},o.ki=function(e){sZ(this,e)},o.hh=function(){return!this.d&&(this.d=new Nn(Vt,this,8,5)),this.d},o.ih=function(){return!this.e&&(this.e=new Nn(Vt,this,7,4)),this.e},w(Md,"ElkConnectableShapeImpl",741),b(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},HO),o.Ah=function(e){return PZ(this,e)},o.Lh=function(e,t,i){switch(e){case 3:return X7(this);case 4:return!this.b&&(this.b=new Nn(he,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Nn(he,this,5,8)),this.c;case 6:return!this.a&&(this.a=new q(Mt,this,6,6)),this.a;case 7:return _n(),!this.b&&(this.b=new Nn(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Nn(he,this,5,8)),this.c.i<=1));case 8:return _n(),!!D5(this);case 9:return _n(),!!R0(this);case 10:return _n(),!this.b&&(this.b=new Nn(he,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Nn(he,this,5,8)),this.c.i!=0)}return SY(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?PZ(this,i):this.Cb.Th(this,-1-r,null,i))),hV(this,u(e,27),i);case 4:return!this.b&&(this.b=new Nn(he,this,4,7)),Xc(this.b,e,i);case 5:return!this.c&&(this.c=new Nn(he,this,5,8)),Xc(this.c,e,i);case 6:return!this.a&&(this.a=new q(Mt,this,6,6)),Xc(this.a,e,i)}return Yx(this,e,t,i)},o.Uh=function(e,t,i){switch(t){case 3:return hV(this,null,i);case 4:return!this.b&&(this.b=new Nn(he,this,4,7)),cr(this.b,e,i);case 5:return!this.c&&(this.c=new Nn(he,this,5,8)),cr(this.c,e,i);case 6:return!this.a&&(this.a=new q(Mt,this,6,6)),cr(this.a,e,i)}return $$(this,e,t,i)},o.Wh=function(e){switch(e){case 3:return!!X7(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new Nn(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Nn(he,this,5,8)),this.c.i<=1));case 8:return D5(this);case 9:return R0(this);case 10:return!this.b&&(this.b=new Nn(he,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Nn(he,this,5,8)),this.c.i!=0)}return HQ(this,e)},o.bi=function(e,t){switch(e){case 3:AA(this,u(t,27));return;case 4:!this.b&&(this.b=new Nn(he,this,4,7)),me(this.b),!this.b&&(this.b=new Nn(he,this,4,7)),Bt(this.b,u(t,16));return;case 5:!this.c&&(this.c=new Nn(he,this,5,8)),me(this.c),!this.c&&(this.c=new Nn(he,this,5,8)),Bt(this.c,u(t,16));return;case 6:!this.a&&(this.a=new q(Mt,this,6,6)),me(this.a),!this.a&&(this.a=new q(Mt,this,6,6)),Bt(this.a,u(t,16));return}RZ(this,e,t)},o.ii=function(){return Cc(),Adn},o.ki=function(e){switch(e){case 3:AA(this,null);return;case 4:!this.b&&(this.b=new Nn(he,this,4,7)),me(this.b);return;case 5:!this.c&&(this.c=new Nn(he,this,5,8)),me(this.c);return;case 6:!this.a&&(this.a=new q(Mt,this,6,6)),me(this.a);return}vY(this,e)},o.Ib=function(){return nGn(this)},w(Md,"ElkEdgeImpl",326),b(451,2083,{110:1,342:1,166:1,451:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},yE),o.Ah=function(e){return MZ(this,e)},o.Lh=function(e,t,i){switch(e){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new ti(xo,this,5)),this.a;case 6:return fOn(this);case 7:return t?Px(this):this.i;case 8:return t?Sx(this):this.f;case 9:return!this.g&&(this.g=new Nn(Mt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Nn(Mt,this,10,9)),this.e;case 11:return this.d}return kZ(this,e,t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?MZ(this,i):this.Cb.Th(this,-1-c,null,i))),fV(this,u(e,74),i);case 9:return!this.g&&(this.g=new Nn(Mt,this,9,10)),Xc(this.g,e,i);case 10:return!this.e&&(this.e=new Nn(Mt,this,10,9)),Xc(this.e,e,i)}return s=u($n((r=u(Un(this,16),29),r||(Cc(),bO)),t),69),s.wk().zk(this,iu(this),t-se((Cc(),bO)),e,i)},o.Uh=function(e,t,i){switch(t){case 5:return!this.a&&(this.a=new ti(xo,this,5)),cr(this.a,e,i);case 6:return fV(this,null,i);case 9:return!this.g&&(this.g=new Nn(Mt,this,9,10)),cr(this.g,e,i);case 10:return!this.e&&(this.e=new Nn(Mt,this,10,9)),cr(this.e,e,i)}return fnn(this,e,t,i)},o.Wh=function(e){switch(e){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!fOn(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return bJ(this,e)},o.bi=function(e,t){switch(e){case 1:_4(this,$(R(t)));return;case 2:q4(this,$(R(t)));return;case 3:K4(this,$(R(t)));return;case 4:H4(this,$(R(t)));return;case 5:!this.a&&(this.a=new ti(xo,this,5)),me(this.a),!this.a&&(this.a=new ti(xo,this,5)),Bt(this.a,u(t,16));return;case 6:ZHn(this,u(t,74));return;case 7:vT(this,u(t,84));return;case 8:mT(this,u(t,84));return;case 9:!this.g&&(this.g=new Nn(Mt,this,9,10)),me(this.g),!this.g&&(this.g=new Nn(Mt,this,9,10)),Bt(this.g,u(t,16));return;case 10:!this.e&&(this.e=new Nn(Mt,this,10,9)),me(this.e),!this.e&&(this.e=new Nn(Mt,this,10,9)),Bt(this.e,u(t,16));return;case 11:IQ(this,Oe(t));return}cY(this,e,t)},o.ii=function(){return Cc(),bO},o.ki=function(e){switch(e){case 1:_4(this,0);return;case 2:q4(this,0);return;case 3:K4(this,0);return;case 4:H4(this,0);return;case 5:!this.a&&(this.a=new ti(xo,this,5)),me(this.a);return;case 6:ZHn(this,null);return;case 7:vT(this,null);return;case 8:mT(this,null);return;case 9:!this.g&&(this.g=new Nn(Mt,this,9,10)),me(this.g);return;case 10:!this.e&&(this.e=new Nn(Mt,this,10,9)),me(this.e);return;case 11:IQ(this,null);return}VQ(this,e)},o.Ib=function(){return dHn(this)},o.b=0,o.c=0,o.d=null,o.j=0,o.k=0,w(Md,"ElkEdgeSectionImpl",451),b(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),o.Lh=function(e,t,i){var r;return e==0?(!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab):zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Sh=function(e,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i)):(c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().zk(this,iu(this),t-se(this.ii()),e,i))},o.Uh=function(e,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i)):(c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,iu(this),t-se(this.ii()),e,i))},o.Wh=function(e){var t;return e==0?!!this.Ab&&this.Ab.i!=0:Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.Zh=function(e){return itn(this,e)},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.di=function(e){Xp(this,128,e)},o.ii=function(){return On(),qoe},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.pi=function(){this.Bb|=1},o.qi=function(e){return R5(this,e)},o.Bb=0,w(qn,"EModelElementImpl",158),b(720,158,{110:1,94:1,93:1,479:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},uG),o.ri=function(e,t){return PGn(this,e,t)},o.si=function(e){var t,i,r,c,s;if(this.a!=jo(e)||e.Bb&256)throw M(new Gn(hK+e.zb+Y0));for(r=Hr(e);Sc(r.a).i!=0;){if(i=u(gy(r,0,(t=u(L(Sc(r.a),0),89),s=t.c,D(s,90)?u(s,29):(On(),Is))),29),B0(i))return c=jo(i).wi().si(i),u(c,54).ci(e),c;r=Hr(i)}return(e.D!=null?e.D:e.B)=="java.util.Map$Entry"?new GSn(e):new YV(e)},o.ti=function(e,t){return U0(this,e,t)},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.a}return zo(this,e-se((On(),$a)),$n((r=u(Un(this,16),29),r||$a),e),t,i)},o.Sh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 1:return this.a&&(i=u(this.a,54).Th(this,4,Ef,i)),mY(this,u(e,241),i)}return c=u($n((r=u(Un(this,16),29),r||(On(),$a)),t),69),c.wk().zk(this,iu(this),t-se((On(),$a)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 1:return mY(this,null,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),$a)),t),69),c.wk().Ak(this,iu(this),t-se((On(),$a)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Uo(this,e-se((On(),$a)),$n((t=u(Un(this,16),29),t||$a),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:WKn(this,u(t,241));return}Jo(this,e-se((On(),$a)),$n((i=u(Un(this,16),29),i||$a),e),t)},o.ii=function(){return On(),$a},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:WKn(this,null);return}Wo(this,e-se((On(),$a)),$n((t=u(Un(this,16),29),t||$a),e))};var I9,Odn,Toe;w(qn,"EFactoryImpl",720),b(1037,720,{110:1,2113:1,94:1,93:1,479:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},svn),o.ri=function(e,t){switch(e.hk()){case 12:return u(t,149).Pg();case 13:return Jr(t);default:throw M(new Gn(nv+e.xe()+Y0))}},o.si=function(e){var t,i,r,c,s,f,h,l;switch(e.G==-1&&(e.G=(t=jo(e),t?f1(t.vi(),e):-1)),e.G){case 4:return s=new nG,s;case 6:return f=new Jv,f;case 7:return h=new nz,h;case 8:return r=new HO,r;case 9:return i=new kE,i;case 10:return c=new yE,c;case 11:return l=new fvn,l;default:throw M(new Gn(hK+e.zb+Y0))}},o.ti=function(e,t){switch(e.hk()){case 13:case 12:return null;default:throw M(new Gn(nv+e.xe()+Y0))}},w(Md,"ElkGraphFactoryImpl",1037),b(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),o.Gh=function(){var e,t;return t=(e=u(Un(this,16),29),nJ(bh(e||this.ii()))),t==null?(f6(),f6(),CU):new bAn(this,t)},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.xe()}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:this.ui(Oe(t));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return On(),Uoe},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:this.ui(null);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.xe=function(){return this.zb},o.ui=function(e){zc(this,e)},o.Ib=function(){return w5(this)},o.zb=null,w(qn,"ENamedElementImpl",448),b(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},_In),o.Ah=function(e){return uKn(this,e)},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Hb(this,Cf,this)),this.rb;case 6:return!this.vb&&(this.vb=new jp(Ef,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:gOn(this)}return zo(this,e-se((On(),I1)),$n((r=u(Un(this,16),29),r||I1),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 4:return this.sb&&(i=u(this.sb,54).Th(this,1,P9,i)),yY(this,u(e,479),i);case 5:return!this.rb&&(this.rb=new Hb(this,Cf,this)),Xc(this.rb,e,i);case 6:return!this.vb&&(this.vb=new jp(Ef,this,6,7)),Xc(this.vb,e,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?uKn(this,i):this.Cb.Th(this,-1-c,null,i))),So(this,e,7,i)}return s=u($n((r=u(Un(this,16),29),r||(On(),I1)),t),69),s.wk().zk(this,iu(this),t-se((On(),I1)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 4:return yY(this,null,i);case 5:return!this.rb&&(this.rb=new Hb(this,Cf,this)),cr(this.rb,e,i);case 6:return!this.vb&&(this.vb=new jp(Ef,this,6,7)),cr(this.vb,e,i);case 7:return So(this,null,7,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),I1)),t),69),c.wk().Ak(this,iu(this),t-se((On(),I1)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!gOn(this)}return Uo(this,e-se((On(),I1)),$n((t=u(Un(this,16),29),t||I1),e))},o.Zh=function(e){var t;return t=pTe(this,e),t||itn(this,e)},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:zc(this,Oe(t));return;case 2:MT(this,Oe(t));return;case 3:CT(this,Oe(t));return;case 4:tF(this,u(t,479));return;case 5:!this.rb&&(this.rb=new Hb(this,Cf,this)),me(this.rb),!this.rb&&(this.rb=new Hb(this,Cf,this)),Bt(this.rb,u(t,16));return;case 6:!this.vb&&(this.vb=new jp(Ef,this,6,7)),me(this.vb),!this.vb&&(this.vb=new jp(Ef,this,6,7)),Bt(this.vb,u(t,16));return}Jo(this,e-se((On(),I1)),$n((i=u(Un(this,16),29),i||I1),e),t)},o.ei=function(e){var t,i;if(e&&this.rb)for(i=new ne(this.rb);i.e!=i.i.gc();)t=ue(i),D(t,364)&&(u(t,364).w=null);Xp(this,64,e)},o.ii=function(){return On(),I1},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:zc(this,null);return;case 2:MT(this,null);return;case 3:CT(this,null);return;case 4:tF(this,null);return;case 5:!this.rb&&(this.rb=new Hb(this,Cf,this)),me(this.rb);return;case 6:!this.vb&&(this.vb=new jp(Ef,this,6,7)),me(this.vb);return}Wo(this,e-se((On(),I1)),$n((t=u(Un(this,16),29),t||I1),e))},o.pi=function(){Hx(this)},o.vi=function(){return!this.rb&&(this.rb=new Hb(this,Cf,this)),this.rb},o.wi=function(){return this.sb},o.xi=function(){return this.ub},o.yi=function(){return this.xb},o.zi=function(){return this.yb},o.Ai=function(e){this.ub=e},o.Ib=function(){var e;return this.Db&64?w5(this):(e=new ls(w5(this)),e.a+=" (nsURI: ",Er(e,this.yb),e.a+=", nsPrefix: ",Er(e,this.xb),e.a+=")",e.a)},o.xb=null,o.yb=null,w(qn,"EPackageImpl",184),b(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},jHn),o.q=!1,o.r=!1;var Aoe=!1;w(Md,"ElkGraphPackageImpl",569),b(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},nG),o.Ah=function(e){return TZ(this,e)},o.Lh=function(e,t,i){switch(e){case 7:return pOn(this);case 8:return this.a}return xY(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 7:return this.Cb&&(i=(r=this.Db>>16,r>=0?TZ(this,i):this.Cb.Th(this,-1-r,null,i))),dW(this,u(e,167),i)}return Yx(this,e,t,i)},o.Uh=function(e,t,i){return t==7?dW(this,null,i):$$(this,e,t,i)},o.Wh=function(e){switch(e){case 7:return!!pOn(this);case 8:return!An("",this.a)}return HY(this,e)},o.bi=function(e,t){switch(e){case 7:cen(this,u(t,167));return;case 8:MQ(this,Oe(t));return}KZ(this,e,t)},o.ii=function(){return Cc(),Sdn},o.ki=function(e){switch(e){case 7:cen(this,null);return;case 8:MQ(this,"");return}WY(this,e)},o.Ib=function(){return f_n(this)},o.a="",w(Md,"ElkLabelImpl",366),b(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Jv),o.Ah=function(e){return IZ(this,e)},o.Lh=function(e,t,i){switch(e){case 9:return!this.c&&(this.c=new q(Qu,this,9,9)),this.c;case 10:return!this.a&&(this.a=new q(Ye,this,10,11)),this.a;case 11:return At(this);case 12:return!this.b&&(this.b=new q(Vt,this,12,3)),this.b;case 13:return _n(),!this.a&&(this.a=new q(Ye,this,10,11)),this.a.i>0}return dZ(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new q(Qu,this,9,9)),Xc(this.c,e,i);case 10:return!this.a&&(this.a=new q(Ye,this,10,11)),Xc(this.a,e,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?IZ(this,i):this.Cb.Th(this,-1-r,null,i))),kV(this,u(e,27),i);case 12:return!this.b&&(this.b=new q(Vt,this,12,3)),Xc(this.b,e,i)}return LZ(this,e,t,i)},o.Uh=function(e,t,i){switch(t){case 9:return!this.c&&(this.c=new q(Qu,this,9,9)),cr(this.c,e,i);case 10:return!this.a&&(this.a=new q(Ye,this,10,11)),cr(this.a,e,i);case 11:return kV(this,null,i);case 12:return!this.b&&(this.b=new q(Vt,this,12,3)),cr(this.b,e,i)}return NZ(this,e,t,i)},o.Wh=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!At(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new q(Ye,this,10,11)),this.a.i>0}return rY(this,e)},o.bi=function(e,t){switch(e){case 9:!this.c&&(this.c=new q(Qu,this,9,9)),me(this.c),!this.c&&(this.c=new q(Qu,this,9,9)),Bt(this.c,u(t,16));return;case 10:!this.a&&(this.a=new q(Ye,this,10,11)),me(this.a),!this.a&&(this.a=new q(Ye,this,10,11)),Bt(this.a,u(t,16));return;case 11:SA(this,u(t,27));return;case 12:!this.b&&(this.b=new q(Vt,this,12,3)),me(this.b),!this.b&&(this.b=new q(Vt,this,12,3)),Bt(this.b,u(t,16));return}znn(this,e,t)},o.ii=function(){return Cc(),Pdn},o.ki=function(e){switch(e){case 9:!this.c&&(this.c=new q(Qu,this,9,9)),me(this.c);return;case 10:!this.a&&(this.a=new q(Ye,this,10,11)),me(this.a);return;case 11:SA(this,null);return;case 12:!this.b&&(this.b=new q(Vt,this,12,3)),me(this.b);return}sZ(this,e)},o.Ib=function(){return yen(this)},w(Md,"ElkNodeImpl",207),b(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},nz),o.Ah=function(e){return AZ(this,e)},o.Lh=function(e,t,i){return e==9?Sf(this):dZ(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 9:return this.Cb&&(i=(r=this.Db>>16,r>=0?AZ(this,i):this.Cb.Th(this,-1-r,null,i))),lV(this,u(e,27),i)}return LZ(this,e,t,i)},o.Uh=function(e,t,i){return t==9?lV(this,null,i):NZ(this,e,t,i)},o.Wh=function(e){return e==9?!!Sf(this):rY(this,e)},o.bi=function(e,t){switch(e){case 9:een(this,u(t,27));return}znn(this,e,t)},o.ii=function(){return Cc(),Idn},o.ki=function(e){switch(e){case 9:een(this,null);return}sZ(this,e)},o.Ib=function(){return Yqn(this)},w(Md,"ElkPortImpl",193);var Soe=Nt(or,"BasicEMap/Entry");b(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},fvn),o.Fb=function(e){return this===e},o.ld=function(){return this.b},o.Hb=function(){return f0(this)},o.Di=function(e){TQ(this,u(e,149))},o.Lh=function(e,t,i){switch(e){case 0:return this.b;case 1:return this.c}return tA(this,e,t,i)},o.Wh=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return Cx(this,e)},o.bi=function(e,t){switch(e){case 0:TQ(this,u(t,149));return;case 1:CQ(this,t);return}sF(this,e,t)},o.ii=function(){return Cc(),il},o.ki=function(e){switch(e){case 0:TQ(this,null);return;case 1:CQ(this,null);return}cF(this,e)},o.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?mt(e):0),this.a},o.md=function(){return this.c},o.Ci=function(e){this.a=e},o.nd=function(e){var t;return t=this.c,CQ(this,e),t},o.Ib=function(){var e;return this.Db&64?Hs(this):(e=new x1,Re(Re(Re(e,this.b?this.b.Pg():gu),iR),P6(this.c)),e.a)},o.a=-1,o.c=null;var T1=w(Md,"ElkPropertyToValueMapEntryImpl",1122);b(996,1,{},avn),w(Ui,"JsonAdapter",996),b(216,63,Pl,eh),w(Ui,"JsonImportException",216),b(868,1,{},oKn),w(Ui,"JsonImporter",868),b(903,1,{},bMn),w(Ui,"JsonImporter/lambda$0$Type",903),b(904,1,{},wMn),w(Ui,"JsonImporter/lambda$1$Type",904),b(912,1,{},Bkn),w(Ui,"JsonImporter/lambda$10$Type",912),b(914,1,{},gMn),w(Ui,"JsonImporter/lambda$11$Type",914),b(915,1,{},pMn),w(Ui,"JsonImporter/lambda$12$Type",915),b(921,1,{},PIn),w(Ui,"JsonImporter/lambda$13$Type",921),b(920,1,{},IIn),w(Ui,"JsonImporter/lambda$14$Type",920),b(916,1,{},mMn),w(Ui,"JsonImporter/lambda$15$Type",916),b(917,1,{},vMn),w(Ui,"JsonImporter/lambda$16$Type",917),b(918,1,{},kMn),w(Ui,"JsonImporter/lambda$17$Type",918),b(919,1,{},yMn),w(Ui,"JsonImporter/lambda$18$Type",919),b(924,1,{},Rkn),w(Ui,"JsonImporter/lambda$19$Type",924),b(905,1,{},Kkn),w(Ui,"JsonImporter/lambda$2$Type",905),b(922,1,{},_kn),w(Ui,"JsonImporter/lambda$20$Type",922),b(923,1,{},Hkn),w(Ui,"JsonImporter/lambda$21$Type",923),b(927,1,{},qkn),w(Ui,"JsonImporter/lambda$22$Type",927),b(925,1,{},Ukn),w(Ui,"JsonImporter/lambda$23$Type",925),b(926,1,{},Gkn),w(Ui,"JsonImporter/lambda$24$Type",926),b(929,1,{},zkn),w(Ui,"JsonImporter/lambda$25$Type",929),b(928,1,{},Xkn),w(Ui,"JsonImporter/lambda$26$Type",928),b(930,1,re,jMn),o.Cd=function(e){O4e(this.b,this.a,Oe(e))},w(Ui,"JsonImporter/lambda$27$Type",930),b(931,1,re,EMn),o.Cd=function(e){D4e(this.b,this.a,Oe(e))},w(Ui,"JsonImporter/lambda$28$Type",931),b(932,1,{},CMn),w(Ui,"JsonImporter/lambda$29$Type",932),b(908,1,{},Vkn),w(Ui,"JsonImporter/lambda$3$Type",908),b(933,1,{},MMn),w(Ui,"JsonImporter/lambda$30$Type",933),b(934,1,{},Wkn),w(Ui,"JsonImporter/lambda$31$Type",934),b(935,1,{},Jkn),w(Ui,"JsonImporter/lambda$32$Type",935),b(936,1,{},Qkn),w(Ui,"JsonImporter/lambda$33$Type",936),b(937,1,{},Ykn),w(Ui,"JsonImporter/lambda$34$Type",937),b(870,1,{},Zkn),w(Ui,"JsonImporter/lambda$35$Type",870),b(941,1,{},vSn),w(Ui,"JsonImporter/lambda$36$Type",941),b(938,1,re,nyn),o.Cd=function(e){F3e(this.a,u(e,377))},w(Ui,"JsonImporter/lambda$37$Type",938),b(939,1,re,TMn),o.Cd=function(e){mle(this.a,this.b,u(e,166))},w(Ui,"JsonImporter/lambda$38$Type",939),b(940,1,re,AMn),o.Cd=function(e){vle(this.a,this.b,u(e,166))},w(Ui,"JsonImporter/lambda$39$Type",940),b(906,1,{},eyn),w(Ui,"JsonImporter/lambda$4$Type",906),b(942,1,re,tyn),o.Cd=function(e){B3e(this.a,u(e,8))},w(Ui,"JsonImporter/lambda$40$Type",942),b(907,1,{},iyn),w(Ui,"JsonImporter/lambda$5$Type",907),b(911,1,{},ryn),w(Ui,"JsonImporter/lambda$6$Type",911),b(909,1,{},cyn),w(Ui,"JsonImporter/lambda$7$Type",909),b(910,1,{},uyn),w(Ui,"JsonImporter/lambda$8$Type",910),b(913,1,{},oyn),w(Ui,"JsonImporter/lambda$9$Type",913),b(961,1,re,syn),o.Cd=function(e){Ip(this.a,new qb(Oe(e)))},w(Ui,"JsonMetaDataConverter/lambda$0$Type",961),b(962,1,re,fyn),o.Cd=function(e){Pwe(this.a,u(e,245))},w(Ui,"JsonMetaDataConverter/lambda$1$Type",962),b(963,1,re,hyn),o.Cd=function(e){S2e(this.a,u(e,143))},w(Ui,"JsonMetaDataConverter/lambda$2$Type",963),b(964,1,re,lyn),o.Cd=function(e){Iwe(this.a,u(e,170))},w(Ui,"JsonMetaDataConverter/lambda$3$Type",964),b(245,22,{3:1,34:1,22:1,245:1},gp);var wO,gO,pU,pO,mO,vO,mU,vU,kO=we(Oy,"GraphFeature",245,ke,dme,tbe),Poe;b(11,1,{34:1,149:1},lt,Dt,Mn,Ni),o.Fd=function(e){return C1e(this,u(e,149))},o.Fb=function(e){return ZIn(this,e)},o.Sg=function(){return rn(this)},o.Pg=function(){return this.b},o.Hb=function(){return t1(this.b)},o.Ib=function(){return this.b},w(Oy,"Property",11),b(671,1,Ne,tD),o.Ne=function(e,t){return N5e(this,u(e,96),u(t,96))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Oy,"PropertyHolderComparator",671),b(709,1,Si,$G),o.Nb=function(e){_i(this,e)},o.Pb=function(){return $4e(this)},o.Qb=function(){oEn()},o.Ob=function(){return!!this.a},w(_S,"ElkGraphUtil/AncestorIterator",709);var Ddn=Nt(or,"EList");b(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),o.bd=function(e,t){p5(this,e,t)},o.Fc=function(e){return ve(this,e)},o.cd=function(e,t){return WQ(this,e,t)},o.Gc=function(e){return Bt(this,e)},o.Ii=function(){return new yp(this)},o.Ji=function(){return new M7(this)},o.Ki=function(e){return gk(this,e)},o.Li=function(){return!0},o.Mi=function(e,t){},o.Ni=function(){},o.Oi=function(e,t){t$(this,e,t)},o.Pi=function(e,t,i){},o.Qi=function(e,t){},o.Ri=function(e,t,i){},o.Fb=function(e){return xqn(this,e)},o.Hb=function(){return GQ(this)},o.Si=function(){return!1},o.Kc=function(){return new ne(this)},o.ed=function(){return new kp(this)},o.fd=function(e){var t;if(t=this.gc(),e<0||e>t)throw M(new Kb(e,t));return new oN(this,e)},o.Ui=function(e,t){this.Ti(e,this.dd(t))},o.Mc=function(e){return rT(this,e)},o.Wi=function(e,t){return t},o.hd=function(e,t){return Rg(this,e,t)},o.Ib=function(){return RY(this)},o.Yi=function(){return!0},o.Zi=function(e,t){return im(this,t)},w(or,"AbstractEList",70),b(66,70,Ch,jE,T0,RQ),o.Ei=function(e,t){return Zx(this,e,t)},o.Fi=function(e){return DRn(this,e)},o.Gi=function(e,t){Ok(this,e,t)},o.Hi=function(e){nk(this,e)},o.$i=function(e){return ZJ(this,e)},o.$b=function(){Z6(this)},o.Hc=function(e){return vm(this,e)},o.Xb=function(e){return L(this,e)},o._i=function(e){var t,i,r;++this.j,i=this.g==null?0:this.g.length,e>i&&(r=this.g,t=i+(i/2|0)+4,t=0?(this.gd(t),!0):!1},o.Xi=function(e,t){return this.Dj(e,this.Zi(e,t))},o.gc=function(){return this.Ej()},o.Pc=function(){return this.Fj()},o.Qc=function(e){return this.Gj(e)},o.Ib=function(){return this.Hj()},w(or,"DelegatingEList",2093),b(2094,2093,YWn),o.Ei=function(e,t){return Len(this,e,t)},o.Fi=function(e){return this.Ei(this.Ej(),e)},o.Gi=function(e,t){EHn(this,e,t)},o.Hi=function(e){lHn(this,e)},o.Li=function(){return!this.Mj()},o.$b=function(){G5(this)},o.Ij=function(e,t,i,r,c){return new YIn(this,e,t,i,r,c)},o.Jj=function(e){it(this.jj(),e)},o.Kj=function(){return null},o.Lj=function(){return-1},o.jj=function(){return null},o.Mj=function(){return!1},o.Nj=function(e,t){return t},o.Oj=function(e,t){return t},o.Pj=function(){return!1},o.Qj=function(){return!this.Aj()},o.Ti=function(e,t){var i,r;return this.Pj()?(r=this.Qj(),i=unn(this,e,t),this.Jj(this.Ij(7,Y(t),i,e,r)),i):unn(this,e,t)},o.gd=function(e){var t,i,r,c;return this.Pj()?(i=null,r=this.Qj(),t=this.Ij(4,c=eM(this,e),null,e,r),this.Mj()&&c?(i=this.Oj(c,i),i?(i.nj(t),i.oj()):this.Jj(t)):i?(i.nj(t),i.oj()):this.Jj(t),c):(c=eM(this,e),this.Mj()&&c&&(i=this.Oj(c,null),i&&i.oj()),c)},o.Xi=function(e,t){return IUn(this,e,t)},w(g3,"DelegatingNotifyingListImpl",2094),b(152,1,Vy),o.nj=function(e){return GZ(this,e)},o.oj=function(){h$(this)},o.gj=function(){return this.d},o.Kj=function(){return null},o.Rj=function(){return null},o.hj=function(e){return-1},o.ij=function(){return pqn(this)},o.jj=function(){return null},o.kj=function(){return hen(this)},o.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},o.Sj=function(){return!1},o.mj=function(e){var t,i,r,c,s,f,h,l,a,d,g;switch(this.d){case 1:case 2:switch(c=e.gj(),c){case 1:case 2:if(s=e.jj(),x(s)===x(this.jj())&&this.hj(null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0}case 4:{switch(c=e.gj(),c){case 4:{if(s=e.jj(),x(s)===x(this.jj())&&this.hj(null)==e.hj(null))return a=Jen(this),l=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=e.lj(),this.d=6,g=new T0(2),l<=f?(ve(g,this.n),ve(g,e.kj()),this.g=A(T(ye,1),_e,28,15,[this.o=l,f+1])):(ve(g,e.kj()),ve(g,this.n),this.g=A(T(ye,1),_e,28,15,[this.o=f,l])),this.n=g,a||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=e.gj(),c){case 4:{if(s=e.jj(),x(s)===x(this.jj())&&this.hj(null)==e.hj(null)){for(a=Jen(this),f=e.lj(),d=u(this.g,53),r=K(ye,_e,28,d.length+1,15,1),t=0;t>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{TD(r,this.d);break}}if(rUn(this)&&(r.a+=", touch: true"),r.a+=", position: ",TD(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",E6(r,this.jj()),r.a+=", feature: ",E6(r,this.Kj()),r.a+=", oldValue: ",E6(r,hen(this)),r.a+=", newValue: ",this.d==6&&D(this.g,53)){for(i=u(this.g,53),r.a+="[",e=0;e10?((!this.b||this.c.j!=this.a)&&(this.b=new $6(this),this.a=this.j),sf(this.b,e)):vm(this,e)},o.Yi=function(){return!0},o.a=0,w(or,"AbstractEList/1",966),b(301,77,AB,Kb),w(or,"AbstractEList/BasicIndexOutOfBoundsException",301),b(40,1,Si,ne),o.Nb=function(e){_i(this,e)},o.Xj=function(){if(this.i.j!=this.f)throw M(new Bo)},o.Yj=function(){return ue(this)},o.Ob=function(){return this.e!=this.i.gc()},o.Pb=function(){return this.Yj()},o.Qb=function(){P5(this)},o.e=0,o.f=0,o.g=-1,w(or,"AbstractEList/EIterator",40),b(286,40,Hh,kp,oN),o.Qb=function(){P5(this)},o.Rb=function(e){IBn(this,e)},o.Zj=function(){var e;try{return e=this.d.Xb(--this.e),this.Xj(),this.g=this.e,e}catch(t){throw t=It(t),D(t,77)?(this.Xj(),M(new nc)):M(t)}},o.$j=function(e){$Rn(this,e)},o.Sb=function(){return this.e!=0},o.Tb=function(){return this.e},o.Ub=function(){return this.Zj()},o.Vb=function(){return this.e-1},o.Wb=function(e){this.$j(e)},w(or,"AbstractEList/EListIterator",286),b(355,40,Si,yp),o.Yj=function(){return Mx(this)},o.Qb=function(){throw M(new Pe)},w(or,"AbstractEList/NonResolvingEIterator",355),b(398,286,Hh,M7,AV),o.Rb=function(e){throw M(new Pe)},o.Yj=function(){var e;try{return e=this.c.Vi(this.e),this.Xj(),this.g=this.e++,e}catch(t){throw t=It(t),D(t,77)?(this.Xj(),M(new nc)):M(t)}},o.Zj=function(){var e;try{return e=this.c.Vi(--this.e),this.Xj(),this.g=this.e,e}catch(t){throw t=It(t),D(t,77)?(this.Xj(),M(new nc)):M(t)}},o.Qb=function(){throw M(new Pe)},o.Wb=function(e){throw M(new Pe)},w(or,"AbstractEList/NonResolvingEListIterator",398),b(2080,70,ZWn),o.Ei=function(e,t){var i,r,c,s,f,h,l,a,d,g,p;if(c=t.gc(),c!=0){for(a=u(Un(this.a,4),129),d=a==null?0:a.length,p=d+c,r=V$(this,p),g=d-e,g>0&&Ic(a,e,r,e+c,g),l=t.Kc(),f=0;fi)throw M(new Kb(e,i));return new kIn(this,e)},o.$b=function(){var e,t;++this.j,e=u(Un(this.a,4),129),t=e==null?0:e.length,wm(this,null),t$(this,t,e)},o.Hc=function(e){var t,i,r,c,s;if(t=u(Un(this.a,4),129),t!=null){if(e!=null){for(r=t,c=0,s=r.length;c=i)throw M(new Kb(e,i));return t[e]},o.dd=function(e){var t,i,r;if(t=u(Un(this.a,4),129),t!=null){if(e!=null){for(i=0,r=t.length;ii)throw M(new Kb(e,i));return new vIn(this,e)},o.Ti=function(e,t){var i,r,c;if(i=KBn(this),c=i==null?0:i.length,e>=c)throw M(new Ir(vK+e+Td+c));if(t>=c)throw M(new Ir(kK+t+Td+c));return r=i[t],e!=t&&(e0&&Ic(e,0,t,0,i),t},o.Qc=function(e){var t,i,r;return t=u(Un(this.a,4),129),r=t==null?0:t.length,r>0&&(e.lengthr&&$t(e,r,null),e};var Ioe;w(or,"ArrayDelegatingEList",2080),b(1051,40,Si,yLn),o.Xj=function(){if(this.b.j!=this.f||x(u(Un(this.b.a,4),129))!==x(this.a))throw M(new Bo)},o.Qb=function(){P5(this),this.a=u(Un(this.b.a,4),129)},w(or,"ArrayDelegatingEList/EIterator",1051),b(722,286,Hh,LPn,vIn),o.Xj=function(){if(this.b.j!=this.f||x(u(Un(this.b.a,4),129))!==x(this.a))throw M(new Bo)},o.$j=function(e){$Rn(this,e),this.a=u(Un(this.b.a,4),129)},o.Qb=function(){P5(this),this.a=u(Un(this.b.a,4),129)},w(or,"ArrayDelegatingEList/EListIterator",722),b(1052,355,Si,jLn),o.Xj=function(){if(this.b.j!=this.f||x(u(Un(this.b.a,4),129))!==x(this.a))throw M(new Bo)},w(or,"ArrayDelegatingEList/NonResolvingEIterator",1052),b(723,398,Hh,NPn,kIn),o.Xj=function(){if(this.b.j!=this.f||x(u(Un(this.b.a,4),129))!==x(this.a))throw M(new Bo)},w(or,"ArrayDelegatingEList/NonResolvingEListIterator",723),b(615,301,AB,aL),w(or,"BasicEList/BasicIndexOutOfBoundsException",615),b(710,66,Ch,wX),o.bd=function(e,t){throw M(new Pe)},o.Fc=function(e){throw M(new Pe)},o.cd=function(e,t){throw M(new Pe)},o.Gc=function(e){throw M(new Pe)},o.$b=function(){throw M(new Pe)},o._i=function(e){throw M(new Pe)},o.Kc=function(){return this.Ii()},o.ed=function(){return this.Ji()},o.fd=function(e){return this.Ki(e)},o.Ti=function(e,t){throw M(new Pe)},o.Ui=function(e,t){throw M(new Pe)},o.gd=function(e){throw M(new Pe)},o.Mc=function(e){throw M(new Pe)},o.hd=function(e,t){throw M(new Pe)},w(or,"BasicEList/UnmodifiableEList",710),b(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),o.bd=function(e,t){a1e(this,e,u(t,44))},o.Fc=function(e){return cae(this,u(e,44))},o.Jc=function(e){qi(this,e)},o.Xb=function(e){return u(L(this.c,e),136)},o.Ti=function(e,t){return u(this.c.Ti(e,t),44)},o.Ui=function(e,t){d1e(this,e,u(t,44))},o.Lc=function(){return new Tn(null,new In(this,16))},o.gd=function(e){return u(this.c.gd(e),44)},o.hd=function(e,t){return Swe(this,e,u(t,44))},o.jd=function(e){ud(this,e)},o.Nc=function(){return new In(this,16)},o.Oc=function(){return new Tn(null,new In(this,16))},o.cd=function(e,t){return this.c.cd(e,t)},o.Gc=function(e){return this.c.Gc(e)},o.$b=function(){this.c.$b()},o.Hc=function(e){return this.c.Hc(e)},o.Ic=function(e){return jk(this.c,e)},o._j=function(){var e,t,i;if(this.d==null){for(this.d=K(Ldn,_cn,66,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)e=u(t.Yj(),136),uA(this,e);this.e=i}},o.Fb=function(e){return oSn(this,e)},o.Hb=function(){return GQ(this.c)},o.dd=function(e){return this.c.dd(e)},o.ak=function(){this.c=new ayn(this)},o.dc=function(){return this.f==0},o.Kc=function(){return this.c.Kc()},o.ed=function(){return this.c.ed()},o.fd=function(e){return this.c.fd(e)},o.bk=function(){return ik(this)},o.ck=function(e,t,i){return new kSn(e,t,i)},o.dk=function(){return new gvn},o.Mc=function(e){return X$n(this,e)},o.gc=function(){return this.f},o.kd=function(e,t){return new Jl(this.c,e,t)},o.Pc=function(){return this.c.Pc()},o.Qc=function(e){return this.c.Qc(e)},o.Ib=function(){return RY(this.c)},o.e=0,o.f=0,w(or,"BasicEMap",721),b(1046,66,Ch,ayn),o.Mi=function(e,t){Ufe(this,u(t,136))},o.Pi=function(e,t,i){var r;++(r=this,u(t,136),r).a.e},o.Qi=function(e,t){Gfe(this,u(t,136))},o.Ri=function(e,t,i){U1e(this,u(t,136),u(i,136))},o.Oi=function(e,t){Kxn(this.a)},w(or,"BasicEMap/1",1046),b(1047,66,Ch,gvn),o.aj=function(e){return K(DNe,nJn,621,e,0,1)},w(or,"BasicEMap/2",1047),b(1048,Kf,Lu,dyn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){return wx(this.a,e)},o.Kc=function(){return this.a.f==0?(p4(),lE.a):new Wjn(this.a)},o.Mc=function(e){var t;return t=this.a.f,VT(this.a,e),this.a.f!=t},o.gc=function(){return this.a.f},w(or,"BasicEMap/3",1048),b(1049,31,pw,byn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){return Fqn(this.a,e)},o.Kc=function(){return this.a.f==0?(p4(),lE.a):new Jjn(this.a)},o.gc=function(){return this.a.f},w(or,"BasicEMap/4",1049),b(1050,Kf,Lu,wyn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){var t,i,r,c,s,f,h,l,a;if(this.a.f>0&&D(e,44)&&(this.a._j(),l=u(e,44),h=l.ld(),c=h==null?0:mt(h),s=aV(this.a,c),t=this.a.d[s],t)){for(i=u(t.g,379),a=t.i,f=0;f"+this.c},o.a=0;var DNe=w(or,"BasicEMap/EntryImpl",621);b(546,1,{},EE),w(or,"BasicEMap/View",546);var lE;b(783,1,{}),o.Fb=function(e){return Xnn((Dn(),sr),e)},o.Hb=function(){return iY((Dn(),sr))},o.Ib=function(){return ca((Dn(),sr))},w(or,"ECollections/BasicEmptyUnmodifiableEList",783),b(1348,1,Hh,pvn),o.Nb=function(e){_i(this,e)},o.Rb=function(e){throw M(new Pe)},o.Ob=function(){return!1},o.Sb=function(){return!1},o.Pb=function(){throw M(new nc)},o.Tb=function(){return 0},o.Ub=function(){throw M(new nc)},o.Vb=function(){return-1},o.Qb=function(){throw M(new Pe)},o.Wb=function(e){throw M(new Pe)},w(or,"ECollections/BasicEmptyUnmodifiableEList/1",1348),b(1346,783,{20:1,16:1,15:1,61:1},cjn),o.bd=function(e,t){kEn()},o.Fc=function(e){return yEn()},o.cd=function(e,t){return jEn()},o.Gc=function(e){return EEn()},o.$b=function(){CEn()},o.Hc=function(e){return!1},o.Ic=function(e){return!1},o.Jc=function(e){qi(this,e)},o.Xb=function(e){return mX((Dn(),e)),null},o.dd=function(e){return-1},o.dc=function(){return!0},o.Kc=function(){return this.a},o.ed=function(){return this.a},o.fd=function(e){return this.a},o.Ti=function(e,t){return MEn()},o.Ui=function(e,t){TEn()},o.Lc=function(){return new Tn(null,new In(this,16))},o.gd=function(e){return AEn()},o.Mc=function(e){return SEn()},o.hd=function(e,t){return PEn()},o.gc=function(){return 0},o.jd=function(e){ud(this,e)},o.Nc=function(){return new In(this,16)},o.Oc=function(){return new Tn(null,new In(this,16))},o.kd=function(e,t){return Dn(),new Jl(sr,e,t)},o.Pc=function(){return wW((Dn(),sr))},o.Qc=function(e){return Dn(),M5(sr,e)},w(or,"ECollections/EmptyUnmodifiableEList",1346),b(1347,783,{20:1,16:1,15:1,61:1,597:1},ujn),o.bd=function(e,t){kEn()},o.Fc=function(e){return yEn()},o.cd=function(e,t){return jEn()},o.Gc=function(e){return EEn()},o.$b=function(){CEn()},o.Hc=function(e){return!1},o.Ic=function(e){return!1},o.Jc=function(e){qi(this,e)},o.Xb=function(e){return mX((Dn(),e)),null},o.dd=function(e){return-1},o.dc=function(){return!0},o.Kc=function(){return this.a},o.ed=function(){return this.a},o.fd=function(e){return this.a},o.Ti=function(e,t){return MEn()},o.Ui=function(e,t){TEn()},o.Lc=function(){return new Tn(null,new In(this,16))},o.gd=function(e){return AEn()},o.Mc=function(e){return SEn()},o.hd=function(e,t){return PEn()},o.gc=function(){return 0},o.jd=function(e){ud(this,e)},o.Nc=function(){return new In(this,16)},o.Oc=function(){return new Tn(null,new In(this,16))},o.kd=function(e,t){return Dn(),new Jl(sr,e,t)},o.Pc=function(){return wW((Dn(),sr))},o.Qc=function(e){return Dn(),M5(sr,e)},o.bk=function(){return Dn(),Dn(),Wh},w(or,"ECollections/EmptyUnmodifiableEMap",1347);var $dn=Nt(or,"Enumerator"),yO;b(288,1,{288:1},jF),o.Fb=function(e){var t;return this===e?!0:D(e,288)?(t=u(e,288),this.f==t.f&&Ube(this.i,t.i)&&WL(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&WL(this.d,t.d)&&WL(this.g,t.g)&&WL(this.e,t.e)&&b9e(this,t)):!1},o.Hb=function(){return this.f},o.Ib=function(){return gUn(this)},o.f=0;var Ooe=0,Doe=0,Loe=0,Noe=0,xdn=0,Fdn=0,Bdn=0,Rdn=0,Kdn=0,$oe,O9=0,D9=0,xoe=0,Foe=0,jO,_dn;w(or,"URI",288),b(1121,45,n2,ojn),o.zc=function(e,t){return u(Dr(this,Oe(e),u(t,288)),288)},w(or,"URI/URICache",1121),b(505,66,Ch,lvn,oM),o.Si=function(){return!0},w(or,"UniqueEList",505),b(590,63,Pl,eT),w(or,"WrappedException",590);var Ue=Nt(ts,iJn),Zw=Nt(ts,rJn),ku=Nt(ts,cJn),ng=Nt(ts,uJn),Cf=Nt(ts,oJn),As=Nt(ts,"EClass"),jU=Nt(ts,"EDataType"),Boe;b(1233,45,n2,sjn),o.xc=function(e){return Ai(e)?Nc(this,e):Kr(wr(this.f,e))},w(ts,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var EO=Nt(ts,"EEnum"),Bl=Nt(ts,sJn),jr=Nt(ts,fJn),Ss=Nt(ts,hJn),Ps,vb=Nt(ts,lJn),eg=Nt(ts,aJn);b(1042,1,{},hvn),o.Ib=function(){return"NIL"},w(ts,"EStructuralFeature/Internal/DynamicValueHolder/1",1042);var Roe;b(1041,45,n2,fjn),o.xc=function(e){return Ai(e)?Nc(this,e):Kr(wr(this.f,e))},w(ts,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var fu=Nt(ts,dJn),B3=Nt(ts,"EValidator/PatternMatcher"),Hdn,qdn,Hn,A1,tg,La,Koe,_oe,Hoe,Na,S1,$a,kb,Zf,qoe,Uoe,Is,P1,Goe,I1,ig,U2,ar,zoe,Xoe,yb,CO=Nt(Tt,"FeatureMap/Entry");b(545,1,{76:1},CC),o.Lk=function(){return this.a},o.md=function(){return this.b},w(qn,"BasicEObjectImpl/1",545),b(1040,1,TK,OMn),o.Fk=function(e){return YN(this.a,this.b,e)},o.Qj=function(){return dOn(this.a,this.b)},o.Wb=function(e){iJ(this.a,this.b,e)},o.Gk=function(){_we(this.a,this.b)},w(qn,"BasicEObjectImpl/4",1040),b(2081,1,{114:1}),o.Mk=function(e){this.e=e==0?Voe:K(ki,Fn,1,e,5,1)},o.li=function(e){return this.e[e]},o.mi=function(e,t){this.e[e]=t},o.ni=function(e){this.e[e]=null},o.Nk=function(){return this.c},o.Ok=function(){throw M(new Pe)},o.Pk=function(){throw M(new Pe)},o.Qk=function(){return this.d},o.Rk=function(){return this.e!=null},o.Sk=function(e){this.c=e},o.Tk=function(e){throw M(new Pe)},o.Uk=function(e){throw M(new Pe)},o.Vk=function(e){this.d=e};var Voe;w(qn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),b(192,2081,{114:1},uf),o.Ok=function(){return this.a},o.Pk=function(){return this.b},o.Tk=function(e){this.a=e},o.Uk=function(e){this.b=e},w(qn,"BasicEObjectImpl/EPropertiesHolderImpl",192),b(516,99,bWn,CE),o.uh=function(){return this.f},o.zh=function(){return this.k},o.Bh=function(e,t){this.g=e,this.i=t},o.Dh=function(){return this.j&2?this.$h().Nk():this.ii()},o.Fh=function(){return this.i},o.wh=function(){return(this.j&1)!=0},o.Ph=function(){return this.g},o.Vh=function(){return(this.j&4)!=0},o.$h=function(){return!this.k&&(this.k=new uf),this.k},o.ci=function(e){this.$h().Sk(e),e?this.j|=2:this.j&=-3},o.ei=function(e){this.$h().Uk(e),e?this.j|=4:this.j&=-5},o.ii=function(){return(G1(),Hn).S},o.i=0,o.j=1,w(qn,"EObjectImpl",516),b(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},YV),o.li=function(e){return this.e[e]},o.mi=function(e,t){this.e[e]=t},o.ni=function(e){this.e[e]=null},o.Dh=function(){return this.d},o.Ih=function(e){return Ot(this.d,e)},o.Kh=function(){return this.d},o.Oh=function(){return this.e!=null},o.$h=function(){return!this.k&&(this.k=new mvn),this.k},o.ci=function(e){this.d=e},o.hi=function(){var e;return this.e==null&&(e=se(this.d),this.e=e==0?Woe:K(ki,Fn,1,e,5,1)),this},o.ji=function(){return 0};var Woe;w(qn,"DynamicEObjectImpl",798),b(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},GSn),o.Fb=function(e){return this===e},o.Hb=function(){return f0(this)},o.ci=function(e){this.d=e,this.b=uy(e,"key"),this.c=uy(e,b8)},o.Bi=function(){var e;return this.a==-1&&(e=l$(this,this.b),this.a=e==null?0:mt(e)),this.a},o.ld=function(){return l$(this,this.b)},o.md=function(){return l$(this,this.c)},o.Ci=function(e){this.a=e},o.Di=function(e){iJ(this,this.b,e)},o.nd=function(e){var t;return t=l$(this,this.c),iJ(this,this.c,e),t},o.a=0,w(qn,"DynamicEObjectImpl/BasicEMapEntry",1522),b(1523,1,{114:1},mvn),o.Mk=function(e){throw M(new Pe)},o.li=function(e){throw M(new Pe)},o.mi=function(e,t){throw M(new Pe)},o.ni=function(e){throw M(new Pe)},o.Nk=function(){throw M(new Pe)},o.Ok=function(){return this.a},o.Pk=function(){return this.b},o.Qk=function(){return this.c},o.Rk=function(){throw M(new Pe)},o.Sk=function(e){throw M(new Pe)},o.Tk=function(e){this.a=e},o.Uk=function(e){this.b=e},o.Vk=function(e){this.c=e},w(qn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),b(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},eG),o.Ah=function(e){return SZ(this,e)},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new lo((On(),ar),pc,this)),this.b):(!this.b&&(this.b=new lo((On(),ar),pc,this)),ik(this.b));case 3:return mOn(this);case 4:return!this.a&&(this.a=new ti(Oa,this,4)),this.a;case 5:return!this.c&&(this.c=new Eg(Oa,this,5)),this.c}return zo(this,e-se((On(),A1)),$n((r=u(Un(this,16),29),r||A1),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?SZ(this,i):this.Cb.Th(this,-1-c,null,i))),bW(this,u(e,155),i)}return s=u($n((r=u(Un(this,16),29),r||(On(),A1)),t),69),s.wk().zk(this,iu(this),t-se((On(),A1)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 2:return!this.b&&(this.b=new lo((On(),ar),pc,this)),qC(this.b,e,i);case 3:return bW(this,null,i);case 4:return!this.a&&(this.a=new ti(Oa,this,4)),cr(this.a,e,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),A1)),t),69),c.wk().Ak(this,iu(this),t-se((On(),A1)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!mOn(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Uo(this,e-se((On(),A1)),$n((t=u(Un(this,16),29),t||A1),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:Obe(this,Oe(t));return;case 2:!this.b&&(this.b=new lo((On(),ar),pc,this)),TT(this.b,t);return;case 3:rqn(this,u(t,155));return;case 4:!this.a&&(this.a=new ti(Oa,this,4)),me(this.a),!this.a&&(this.a=new ti(Oa,this,4)),Bt(this.a,u(t,16));return;case 5:!this.c&&(this.c=new Eg(Oa,this,5)),me(this.c),!this.c&&(this.c=new Eg(Oa,this,5)),Bt(this.c,u(t,16));return}Jo(this,e-se((On(),A1)),$n((i=u(Un(this,16),29),i||A1),e),t)},o.ii=function(){return On(),A1},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:PQ(this,null);return;case 2:!this.b&&(this.b=new lo((On(),ar),pc,this)),this.b.c.$b();return;case 3:rqn(this,null);return;case 4:!this.a&&(this.a=new ti(Oa,this,4)),me(this.a);return;case 5:!this.c&&(this.c=new Eg(Oa,this,5)),me(this.c);return}Wo(this,e-se((On(),A1)),$n((t=u(Un(this,16),29),t||A1),e))},o.Ib=function(){return oBn(this)},o.d=null,w(qn,"EAnnotationImpl",519),b(141,721,Hcn,Iu),o.Gi=function(e,t){Wle(this,e,u(t,44))},o.Wk=function(e,t){return Qae(this,u(e,44),t)},o.$i=function(e){return u(u(this.c,71).$i(e),136)},o.Ii=function(){return u(this.c,71).Ii()},o.Ji=function(){return u(this.c,71).Ji()},o.Ki=function(e){return u(this.c,71).Ki(e)},o.Xk=function(e,t){return qC(this,e,t)},o.Fk=function(e){return u(this.c,79).Fk(e)},o.ak=function(){},o.Qj=function(){return u(this.c,79).Qj()},o.ck=function(e,t,i){var r;return r=u(jo(this.b).wi().si(this.b),136),r.Ci(e),r.Di(t),r.nd(i),r},o.dk=function(){return new FG(this)},o.Wb=function(e){TT(this,e)},o.Gk=function(){u(this.c,79).Gk()},w(Tt,"EcoreEMap",141),b(165,141,Hcn,lo),o._j=function(){var e,t,i,r,c,s;if(this.d==null){for(s=K(Ldn,_cn,66,2*this.f+1,0,1),i=this.c.Kc();i.e!=i.i.gc();)t=u(i.Yj(),136),r=t.Bi(),c=(r&et)%s.length,e=s[c],!e&&(e=s[c]=new FG(this)),e.Fc(t);this.d=s}},w(qn,"EAnnotationImpl/1",165),b(291,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,480:1,54:1,99:1,158:1,291:1,119:1,120:1}),o.Lh=function(e,t,i){var r,c;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),!!this.Jk();case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 9:return hN(this,i)}return c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,iu(this),t-se(this.ii()),e,i)},o.Wh=function(e){var t,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&p0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&p0(this.q).i==0)}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:this.ui(Oe(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:this.Zk(u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Bf(this,u(t,89),null),r&&r.oj();return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return On(),Xoe},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:this.ui(null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:this.Zk(1);return;case 8:ad(this,null);return;case 9:i=Bf(this,null,null),i&&i.oj();return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.pi=function(){gs(this),this.Bb|=1},o.Hk=function(){return gs(this)},o.Ik=function(){return this.t},o.Jk=function(){var e;return e=this.t,e>1||e==-1},o.Si=function(){return(this.Bb&512)!=0},o.Yk=function(e,t){return jY(this,e,t)},o.Zk=function(e){Zb(this,e)},o.Ib=function(){return Bnn(this)},o.s=0,o.t=1,w(qn,"ETypedElementImpl",291),b(461,291,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,480:1,54:1,99:1,158:1,461:1,291:1,119:1,120:1,692:1}),o.Ah=function(e){return JRn(this,e)},o.Lh=function(e,t,i){var r,c;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),!!this.Jk();case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return _n(),!!(this.Bb&Gs);case 11:return _n(),!!(this.Bb&Tw);case 12:return _n(),!!(this.Bb&vw);case 13:return this.j;case 14:return Mm(this);case 15:return _n(),!!(this.Bb&$u);case 16:return _n(),!!(this.Bb&wh);case 17:return Gb(this)}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?JRn(this,i):this.Cb.Th(this,-1-c,null,i))),So(this,e,17,i)}return s=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),s.wk().zk(this,iu(this),t-se(this.ii()),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 9:return hN(this,i);case 17:return So(this,null,17,i)}return c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,iu(this),t-se(this.ii()),e,i)},o.Wh=function(e){var t,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&p0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&p0(this.q).i==0);case 10:return(this.Bb&Gs)==0;case 11:return(this.Bb&Tw)!=0;case 12:return(this.Bb&vw)!=0;case 13:return this.j!=null;case 14:return Mm(this)!=null;case 15:return(this.Bb&$u)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Gb(this)}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:FN(this,Oe(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:this.Zk(u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Bf(this,u(t,89),null),r&&r.oj();return;case 10:sm(this,on(un(t)));return;case 11:lm(this,on(un(t)));return;case 12:fm(this,on(un(t)));return;case 13:bX(this,Oe(t));return;case 15:hm(this,on(un(t)));return;case 16:am(this,on(un(t)));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return On(),zoe},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:D(this.Cb,90)&&hw(Zu(u(this.Cb,90)),4),zc(this,null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:this.Zk(1);return;case 8:ad(this,null);return;case 9:i=Bf(this,null,null),i&&i.oj();return;case 10:sm(this,!0);return;case 11:lm(this,!1);return;case 12:fm(this,!1);return;case 13:this.i=null,kT(this,null);return;case 15:hm(this,!1);return;case 16:am(this,!1);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.pi=function(){S4(Lr((Du(),zi),this)),gs(this),this.Bb|=1},o.pk=function(){return this.f},o.ik=function(){return Mm(this)},o.qk=function(){return Gb(this)},o.uk=function(){return null},o.$k=function(){return this.k},o.Lj=function(){return this.n},o.vk=function(){return bA(this)},o.wk=function(){var e,t,i,r,c,s,f,h,l;return this.p||(i=Gb(this),(i.i==null&&bh(i),i.i).length,r=this.uk(),r&&se(Gb(r)),c=gs(this),f=c.kk(),e=f?f.i&1?f==so?Gt:f==ye?Gi:f==cg?ov:f==Pi?si:f==Fa?nb:f==V2?eb:f==Fu?p3:M8:f:null,t=Mm(this),h=c.ik(),G5e(this),this.Bb&wh&&((s=$Z((Du(),zi),i))&&s!=this||(s=$p(Lr(zi,this))))?this.p=new LMn(this,s):this.Jk()?this.al()?r?this.Bb&$u?e?this.bl()?this.p=new Za(47,e,this,r):this.p=new Za(5,e,this,r):this.bl()?this.p=new rd(46,this,r):this.p=new rd(4,this,r):e?this.bl()?this.p=new Za(49,e,this,r):this.p=new Za(7,e,this,r):this.bl()?this.p=new rd(48,this,r):this.p=new rd(6,this,r):this.Bb&$u?e?e==Pd?this.p=new Xl(50,Soe,this):this.bl()?this.p=new Xl(43,e,this):this.p=new Xl(1,e,this):this.bl()?this.p=new Wl(42,this):this.p=new Wl(0,this):e?e==Pd?this.p=new Xl(41,Soe,this):this.bl()?this.p=new Xl(45,e,this):this.p=new Xl(3,e,this):this.bl()?this.p=new Wl(44,this):this.p=new Wl(2,this):D(c,156)?e==CO?this.p=new Wl(40,this):this.Bb&512?this.Bb&$u?e?this.p=new Xl(9,e,this):this.p=new Wl(8,this):e?this.p=new Xl(11,e,this):this.p=new Wl(10,this):this.Bb&$u?e?this.p=new Xl(13,e,this):this.p=new Wl(12,this):e?this.p=new Xl(15,e,this):this.p=new Wl(14,this):r?(l=r.t,l>1||l==-1?this.bl()?this.Bb&$u?e?this.p=new Za(25,e,this,r):this.p=new rd(24,this,r):e?this.p=new Za(27,e,this,r):this.p=new rd(26,this,r):this.Bb&$u?e?this.p=new Za(29,e,this,r):this.p=new rd(28,this,r):e?this.p=new Za(31,e,this,r):this.p=new rd(30,this,r):this.bl()?this.Bb&$u?e?this.p=new Za(33,e,this,r):this.p=new rd(32,this,r):e?this.p=new Za(35,e,this,r):this.p=new rd(34,this,r):this.Bb&$u?e?this.p=new Za(37,e,this,r):this.p=new rd(36,this,r):e?this.p=new Za(39,e,this,r):this.p=new rd(38,this,r)):this.bl()?this.Bb&$u?e?this.p=new Xl(17,e,this):this.p=new Wl(16,this):e?this.p=new Xl(19,e,this):this.p=new Wl(18,this):this.Bb&$u?e?this.p=new Xl(21,e,this):this.p=new Wl(20,this):e?this.p=new Xl(23,e,this):this.p=new Wl(22,this):this._k()?this.bl()?this.p=new ySn(u(c,29),this,r):this.p=new eJ(u(c,29),this,r):D(c,156)?e==CO?this.p=new Wl(40,this):this.Bb&$u?e?this.p=new kPn(t,h,this,(gx(),f==ye?Jdn:f==so?Gdn:f==Fa?Qdn:f==cg?Wdn:f==Pi?Vdn:f==V2?Ydn:f==Fu?zdn:f==fs?Xdn:MU)):this.p=new LIn(u(c,156),t,h,this):e?this.p=new vPn(t,h,this,(gx(),f==ye?Jdn:f==so?Gdn:f==Fa?Qdn:f==cg?Wdn:f==Pi?Vdn:f==V2?Ydn:f==Fu?zdn:f==fs?Xdn:MU)):this.p=new DIn(u(c,156),t,h,this):this.al()?r?this.Bb&$u?this.bl()?this.p=new ESn(u(c,29),this,r):this.p=new KV(u(c,29),this,r):this.bl()?this.p=new jSn(u(c,29),this,r):this.p=new HL(u(c,29),this,r):this.Bb&$u?this.bl()?this.p=new vAn(u(c,29),this):this.p=new nV(u(c,29),this):this.bl()?this.p=new mAn(u(c,29),this):this.p=new PL(u(c,29),this):this.bl()?r?this.Bb&$u?this.p=new CSn(u(c,29),this,r):this.p=new BV(u(c,29),this,r):this.Bb&$u?this.p=new kAn(u(c,29),this):this.p=new eV(u(c,29),this):r?this.Bb&$u?this.p=new MSn(u(c,29),this,r):this.p=new RV(u(c,29),this,r):this.Bb&$u?this.p=new yAn(u(c,29),this):this.p=new uM(u(c,29),this)),this.p},o.rk=function(){return(this.Bb&Gs)!=0},o._k=function(){return!1},o.al=function(){return!1},o.sk=function(){return(this.Bb&wh)!=0},o.xk=function(){return a$(this)},o.bl=function(){return!1},o.tk=function(){return(this.Bb&$u)!=0},o.cl=function(e){this.k=e},o.ui=function(e){FN(this,e)},o.Ib=function(){return $A(this)},o.e=!1,o.n=0,w(qn,"EStructuralFeatureImpl",461),b(331,461,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,480:1,54:1,99:1,331:1,158:1,461:1,291:1,119:1,120:1,692:1},fD),o.Lh=function(e,t,i){var r,c;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),!!Dnn(this);case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return _n(),!!(this.Bb&Gs);case 11:return _n(),!!(this.Bb&Tw);case 12:return _n(),!!(this.Bb&vw);case 13:return this.j;case 14:return Mm(this);case 15:return _n(),!!(this.Bb&$u);case 16:return _n(),!!(this.Bb&wh);case 17:return Gb(this);case 18:return _n(),!!(this.Bb&kc);case 19:return t?x$(this):xLn(this)}return zo(this,e-se((On(),tg)),$n((r=u(Un(this,16),29),r||tg),e),t,i)},o.Wh=function(e){var t,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return Dnn(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&p0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&p0(this.q).i==0);case 10:return(this.Bb&Gs)==0;case 11:return(this.Bb&Tw)!=0;case 12:return(this.Bb&vw)!=0;case 13:return this.j!=null;case 14:return Mm(this)!=null;case 15:return(this.Bb&$u)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Gb(this);case 18:return(this.Bb&kc)!=0;case 19:return!!xLn(this)}return Uo(this,e-se((On(),tg)),$n((t=u(Un(this,16),29),t||tg),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:FN(this,Oe(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:Zjn(this,u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Bf(this,u(t,89),null),r&&r.oj();return;case 10:sm(this,on(un(t)));return;case 11:lm(this,on(un(t)));return;case 12:fm(this,on(un(t)));return;case 13:bX(this,Oe(t));return;case 15:hm(this,on(un(t)));return;case 16:am(this,on(un(t)));return;case 18:sx(this,on(un(t)));return}Jo(this,e-se((On(),tg)),$n((i=u(Un(this,16),29),i||tg),e),t)},o.ii=function(){return On(),tg},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:D(this.Cb,90)&&hw(Zu(u(this.Cb,90)),4),zc(this,null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:this.b=0,Zb(this,1);return;case 8:ad(this,null);return;case 9:i=Bf(this,null,null),i&&i.oj();return;case 10:sm(this,!0);return;case 11:lm(this,!1);return;case 12:fm(this,!1);return;case 13:this.i=null,kT(this,null);return;case 15:hm(this,!1);return;case 16:am(this,!1);return;case 18:sx(this,!1);return}Wo(this,e-se((On(),tg)),$n((t=u(Un(this,16),29),t||tg),e))},o.pi=function(){x$(this),S4(Lr((Du(),zi),this)),gs(this),this.Bb|=1},o.Jk=function(){return Dnn(this)},o.Yk=function(e,t){return this.b=0,this.a=null,jY(this,e,t)},o.Zk=function(e){Zjn(this,e)},o.Ib=function(){var e;return this.Db&64?$A(this):(e=new ls($A(this)),e.a+=" (iD: ",ql(e,(this.Bb&kc)!=0),e.a+=")",e.a)},o.b=0,w(qn,"EAttributeImpl",331),b(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),o.dl=function(e){return e.Dh()==this},o.Ah=function(e){return _x(this,e)},o.Bh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return B0(this);case 4:return this.ik();case 5:return this.F;case 6:return t?jo(this):O4(this);case 7:return!this.A&&(this.A=new Tu(fu,this,7)),this.A}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?_x(this,i):this.Cb.Th(this,-1-c,null,i))),So(this,e,6,i)}return s=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),s.wk().zk(this,iu(this),t-se(this.ii()),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 6:return So(this,null,6,i);case 7:return!this.A&&(this.A=new Tu(fu,this,7)),cr(this.A,e,i)}return c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,iu(this),t-se(this.ii()),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!B0(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!O4(this);case 7:return!!this.A&&this.A.i!=0}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:xM(this,Oe(t));return;case 2:wL(this,Oe(t));return;case 5:Dm(this,Oe(t));return;case 7:!this.A&&(this.A=new Tu(fu,this,7)),me(this.A),!this.A&&(this.A=new Tu(fu,this,7)),Bt(this.A,u(t,16));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return On(),Koe},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:D(this.Cb,184)&&(u(this.Cb,184).tb=null),zc(this,null);return;case 2:cm(this,null),U4(this,this.D);return;case 5:Dm(this,null);return;case 7:!this.A&&(this.A=new Tu(fu,this,7)),me(this.A);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.hk=function(){var e;return this.G==-1&&(this.G=(e=jo(this),e?f1(e.vi(),this):-1)),this.G},o.ik=function(){return null},o.jk=function(){return jo(this)},o.el=function(){return this.v},o.kk=function(){return B0(this)},o.lk=function(){return this.D!=null?this.D:this.B},o.mk=function(){return this.F},o.fk=function(e){return OF(this,e)},o.fl=function(e){this.v=e},o.gl=function(e){kxn(this,e)},o.hl=function(e){this.C=e},o.ui=function(e){xM(this,e)},o.Ib=function(){return UT(this)},o.C=null,o.D=null,o.G=-1,w(qn,"EClassifierImpl",364),b(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,481:1,119:1,120:1,691:1},cG),o.dl=function(e){return Nae(this,e.Dh())},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return B0(this);case 4:return null;case 5:return this.F;case 6:return t?jo(this):O4(this);case 7:return!this.A&&(this.A=new Tu(fu,this,7)),this.A;case 8:return _n(),!!(this.Bb&256);case 9:return _n(),!!(this.Bb&512);case 10:return Hr(this);case 11:return!this.q&&(this.q=new q(Ss,this,11,10)),this.q;case 12:return Jg(this);case 13:return H5(this);case 14:return H5(this),this.r;case 15:return Jg(this),this.k;case 16:return jnn(this);case 17:return $F(this);case 18:return bh(this);case 19:return TA(this);case 20:return Jg(this),this.o;case 21:return!this.s&&(this.s=new q(ku,this,21,17)),this.s;case 22:return Sc(this);case 23:return yF(this)}return zo(this,e-se((On(),La)),$n((r=u(Un(this,16),29),r||La),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?_x(this,i):this.Cb.Th(this,-1-c,null,i))),So(this,e,6,i);case 11:return!this.q&&(this.q=new q(Ss,this,11,10)),Xc(this.q,e,i);case 21:return!this.s&&(this.s=new q(ku,this,21,17)),Xc(this.s,e,i)}return s=u($n((r=u(Un(this,16),29),r||(On(),La)),t),69),s.wk().zk(this,iu(this),t-se((On(),La)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 6:return So(this,null,6,i);case 7:return!this.A&&(this.A=new Tu(fu,this,7)),cr(this.A,e,i);case 11:return!this.q&&(this.q=new q(Ss,this,11,10)),cr(this.q,e,i);case 21:return!this.s&&(this.s=new q(ku,this,21,17)),cr(this.s,e,i);case 22:return cr(Sc(this),e,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),La)),t),69),c.wk().Ak(this,iu(this),t-se((On(),La)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!B0(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!O4(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Sc(this.u.a).i!=0&&!(this.n&&Ix(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return Jg(this).i!=0;case 13:return H5(this).i!=0;case 14:return H5(this),this.r.i!=0;case 15:return Jg(this),this.k.i!=0;case 16:return jnn(this).i!=0;case 17:return $F(this).i!=0;case 18:return bh(this).i!=0;case 19:return TA(this).i!=0;case 20:return Jg(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&Ix(this.n);case 23:return yF(this).i!=0}return Uo(this,e-se((On(),La)),$n((t=u(Un(this,16),29),t||La),e))},o.Zh=function(e){var t;return t=this.i==null||this.q&&this.q.i!=0?null:uy(this,e),t||itn(this,e)},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:xM(this,Oe(t));return;case 2:wL(this,Oe(t));return;case 5:Dm(this,Oe(t));return;case 7:!this.A&&(this.A=new Tu(fu,this,7)),me(this.A),!this.A&&(this.A=new Tu(fu,this,7)),Bt(this.A,u(t,16));return;case 8:EY(this,on(un(t)));return;case 9:CY(this,on(un(t)));return;case 10:G5(Hr(this)),Bt(Hr(this),u(t,16));return;case 11:!this.q&&(this.q=new q(Ss,this,11,10)),me(this.q),!this.q&&(this.q=new q(Ss,this,11,10)),Bt(this.q,u(t,16));return;case 21:!this.s&&(this.s=new q(ku,this,21,17)),me(this.s),!this.s&&(this.s=new q(ku,this,21,17)),Bt(this.s,u(t,16));return;case 22:me(Sc(this)),Bt(Sc(this),u(t,16));return}Jo(this,e-se((On(),La)),$n((i=u(Un(this,16),29),i||La),e),t)},o.ii=function(){return On(),La},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:D(this.Cb,184)&&(u(this.Cb,184).tb=null),zc(this,null);return;case 2:cm(this,null),U4(this,this.D);return;case 5:Dm(this,null);return;case 7:!this.A&&(this.A=new Tu(fu,this,7)),me(this.A);return;case 8:EY(this,!1);return;case 9:CY(this,!1);return;case 10:this.u&&G5(this.u);return;case 11:!this.q&&(this.q=new q(Ss,this,11,10)),me(this.q);return;case 21:!this.s&&(this.s=new q(ku,this,21,17)),me(this.s);return;case 22:this.n&&me(this.n);return}Wo(this,e-se((On(),La)),$n((t=u(Un(this,16),29),t||La),e))},o.pi=function(){var e,t;if(Jg(this),H5(this),jnn(this),$F(this),bh(this),TA(this),yF(this),Z6(ube(Zu(this))),this.s)for(e=0,t=this.s.i;e=0;--t)L(this,t);return VY(this,e)},o.Gk=function(){me(this)},o.Zi=function(e,t){return H$n(this,e,t)},w(Tt,"EcoreEList",632),b(504,632,Qr,F7),o.Li=function(){return!1},o.Lj=function(){return this.c},o.Mj=function(){return!1},o.ol=function(){return!0},o.Si=function(){return!0},o.Wi=function(e,t){return t},o.Yi=function(){return!1},o.c=0,w(Tt,"EObjectEList",504),b(83,504,Qr,ti),o.Mj=function(){return!0},o.ml=function(){return!1},o.al=function(){return!0},w(Tt,"EObjectContainmentEList",83),b(555,83,Qr,NC),o.Ni=function(){this.b=!0},o.Qj=function(){return this.b},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.b,this.b=!1,it(this.e,new Rs(this.e,2,this.c,e,!1))):this.b=!1},o.b=!1,w(Tt,"EObjectContainmentEList/Unsettable",555),b(1161,555,Qr,pPn),o.Ti=function(e,t){var i,r;return i=u(m5(this,e,t),89),fo(this.e)&&e4(this,new rk(this.a,7,(On(),_oe),Y(t),(r=i.c,D(r,90)?u(r,29):Is),e)),i},o.Uj=function(e,t){return A8e(this,u(e,89),t)},o.Vj=function(e,t){return T8e(this,u(e,89),t)},o.Wj=function(e,t,i){return Ike(this,u(e,89),u(t,89),i)},o.Ij=function(e,t,i,r,c){switch(e){case 3:return X6(this,e,t,i,r,this.i>1);case 5:return X6(this,e,t,i,r,this.i-u(i,15).gc()>0);default:return new ml(this.e,e,this.c,t,i,r,!0)}},o.Tj=function(){return!0},o.Qj=function(){return Ix(this)},o.Gk=function(){me(this)},w(qn,"EClassImpl/1",1161),b(1175,1174,Kcn),o.dj=function(e){var t,i,r,c,s,f,h;if(i=e.gj(),i!=8){if(r=s9e(e),r==0)switch(i){case 1:case 9:{h=e.kj(),h!=null&&(t=Zu(u(h,481)),!t.c&&(t.c=new V3),rT(t.c,e.jj())),f=e.ij(),f!=null&&(c=u(f,481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),ve(t.c,u(e.jj(),29))));break}case 3:{f=e.ij(),f!=null&&(c=u(f,481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),ve(t.c,u(e.jj(),29))));break}case 5:{if(f=e.ij(),f!=null)for(s=u(f,16).Kc();s.Ob();)c=u(s.Pb(),481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),ve(t.c,u(e.jj(),29)));break}case 4:{h=e.kj(),h!=null&&(c=u(h,481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),rT(t.c,e.jj())));break}case 6:{if(h=e.kj(),h!=null)for(s=u(h,16).Kc();s.Ob();)c=u(s.Pb(),481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),rT(t.c,e.jj()));break}}this.ql(r)}},o.ql=function(e){Uqn(this,e)},o.b=63,w(qn,"ESuperAdapter",1175),b(1176,1175,Kcn,pyn),o.ql=function(e){hw(this,e)},w(qn,"EClassImpl/10",1176),b(1165,710,Qr),o.Ei=function(e,t){return Zx(this,e,t)},o.Fi=function(e){return DRn(this,e)},o.Gi=function(e,t){Ok(this,e,t)},o.Hi=function(e){nk(this,e)},o.$i=function(e){return ZJ(this,e)},o.Xi=function(e,t){return d$(this,e,t)},o.Wk=function(e,t){throw M(new Pe)},o.Ii=function(){return new yp(this)},o.Ji=function(){return new M7(this)},o.Ki=function(e){return gk(this,e)},o.Xk=function(e,t){throw M(new Pe)},o.Fk=function(e){return this},o.Qj=function(){return this.i!=0},o.Wb=function(e){throw M(new Pe)},o.Gk=function(){throw M(new Pe)},w(Tt,"EcoreEList/UnmodifiableEList",1165),b(328,1165,Qr,pg),o.Yi=function(){return!1},w(Tt,"EcoreEList/UnmodifiableEList/FastCompare",328),b(1168,328,Qr,dFn),o.dd=function(e){var t,i,r;if(D(e,179)&&(t=u(e,179),i=t.Lj(),i!=-1)){for(r=this.i;i4)if(this.fk(e)){if(this.al()){if(r=u(e,54),i=r.Eh(),h=i==this.b&&(this.ml()?r.yh(r.Fh(),u($n(au(this.b),this.Lj()).Hk(),29).kk())==br(u($n(au(this.b),this.Lj()),19)).n:-1-r.Fh()==this.Lj()),this.nl()&&!h&&!i&&r.Jh()){for(c=0;c1||r==-1)):!1},o.ml=function(){var e,t,i;return t=$n(au(this.b),this.Lj()),D(t,102)?(e=u(t,19),i=br(e),!!i):!1},o.nl=function(){var e,t;return t=$n(au(this.b),this.Lj()),D(t,102)?(e=u(t,19),(e.Bb&hr)!=0):!1},o.dd=function(e){var t,i,r,c;if(r=this.zj(e),r>=0)return r;if(this.ol()){for(i=0,c=this.Ej();i=0;--e)gy(this,e,this.xj(e));return this.Fj()},o.Qc=function(e){var t;if(this.nl())for(t=this.Ej()-1;t>=0;--t)gy(this,t,this.xj(t));return this.Gj(e)},o.Gk=function(){G5(this)},o.Zi=function(e,t){return vNn(this,e,t)},w(Tt,"DelegatingEcoreEList",756),b(1171,756,Ucn,LAn),o.qj=function(e,t){rae(this,e,u(t,29))},o.rj=function(e){zle(this,u(e,29))},o.xj=function(e){var t,i;return t=u(L(Sc(this.a),e),89),i=t.c,D(i,90)?u(i,29):(On(),Is)},o.Cj=function(e){var t,i;return t=u(dw(Sc(this.a),e),89),i=t.c,D(i,90)?u(i,29):(On(),Is)},o.Dj=function(e,t){return e7e(this,e,u(t,29))},o.Li=function(){return!1},o.Ij=function(e,t,i,r,c){return null},o.sj=function(){return new kyn(this)},o.tj=function(){me(Sc(this.a))},o.uj=function(e){return fBn(this,e)},o.vj=function(e){var t,i;for(i=e.Kc();i.Ob();)if(t=i.Pb(),!fBn(this,t))return!1;return!0},o.wj=function(e){var t,i,r;if(D(e,15)&&(r=u(e,15),r.gc()==Sc(this.a).i)){for(t=r.Kc(),i=new ne(this);t.Ob();)if(x(t.Pb())!==x(ue(i)))return!1;return!0}return!1},o.yj=function(){var e,t,i,r,c;for(i=1,t=new ne(Sc(this.a));t.e!=t.i.gc();)e=u(ue(t),89),r=(c=e.c,D(c,90)?u(c,29):(On(),Is)),i=31*i+(r?f0(r):0);return i},o.zj=function(e){var t,i,r,c;for(r=0,i=new ne(Sc(this.a));i.e!=i.i.gc();){if(t=u(ue(i),89),x(e)===x((c=t.c,D(c,90)?u(c,29):(On(),Is))))return r;++r}return-1},o.Aj=function(){return Sc(this.a).i==0},o.Bj=function(){return null},o.Ej=function(){return Sc(this.a).i},o.Fj=function(){var e,t,i,r,c,s;for(s=Sc(this.a).i,c=K(ki,Fn,1,s,5,1),i=0,t=new ne(Sc(this.a));t.e!=t.i.gc();)e=u(ue(t),89),c[i++]=(r=e.c,D(r,90)?u(r,29):(On(),Is));return c},o.Gj=function(e){var t,i,r,c,s,f,h;for(h=Sc(this.a).i,e.lengthh&&$t(e,h,null),r=0,i=new ne(Sc(this.a));i.e!=i.i.gc();)t=u(ue(i),89),s=(f=t.c,D(f,90)?u(f,29):(On(),Is)),$t(e,r++,s);return e},o.Hj=function(){var e,t,i,r,c;for(c=new Hl,c.a+="[",e=Sc(this.a),t=0,r=Sc(this.a).i;t>16,c>=0?_x(this,i):this.Cb.Th(this,-1-c,null,i))),So(this,e,6,i);case 9:return!this.a&&(this.a=new q(Bl,this,9,5)),Xc(this.a,e,i)}return s=u($n((r=u(Un(this,16),29),r||(On(),Na)),t),69),s.wk().zk(this,iu(this),t-se((On(),Na)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 6:return So(this,null,6,i);case 7:return!this.A&&(this.A=new Tu(fu,this,7)),cr(this.A,e,i);case 9:return!this.a&&(this.a=new q(Bl,this,9,5)),cr(this.a,e,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),Na)),t),69),c.wk().Ak(this,iu(this),t-se((On(),Na)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!B0(this);case 4:return!!lY(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!O4(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Uo(this,e-se((On(),Na)),$n((t=u(Un(this,16),29),t||Na),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:xM(this,Oe(t));return;case 2:wL(this,Oe(t));return;case 5:Dm(this,Oe(t));return;case 7:!this.A&&(this.A=new Tu(fu,this,7)),me(this.A),!this.A&&(this.A=new Tu(fu,this,7)),Bt(this.A,u(t,16));return;case 8:BT(this,on(un(t)));return;case 9:!this.a&&(this.a=new q(Bl,this,9,5)),me(this.a),!this.a&&(this.a=new q(Bl,this,9,5)),Bt(this.a,u(t,16));return}Jo(this,e-se((On(),Na)),$n((i=u(Un(this,16),29),i||Na),e),t)},o.ii=function(){return On(),Na},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:D(this.Cb,184)&&(u(this.Cb,184).tb=null),zc(this,null);return;case 2:cm(this,null),U4(this,this.D);return;case 5:Dm(this,null);return;case 7:!this.A&&(this.A=new Tu(fu,this,7)),me(this.A);return;case 8:BT(this,!0);return;case 9:!this.a&&(this.a=new q(Bl,this,9,5)),me(this.a);return}Wo(this,e-se((On(),Na)),$n((t=u(Un(this,16),29),t||Na),e))},o.pi=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e>16==5?u(this.Cb,685):null}return zo(this,e-se((On(),S1)),$n((r=u(Un(this,16),29),r||S1),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?cKn(this,i):this.Cb.Th(this,-1-c,null,i))),So(this,e,5,i)}return s=u($n((r=u(Un(this,16),29),r||(On(),S1)),t),69),s.wk().zk(this,iu(this),t-se((On(),S1)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 5:return So(this,null,5,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),S1)),t),69),c.wk().Ak(this,iu(this),t-se((On(),S1)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,685))}return Uo(this,e-se((On(),S1)),$n((t=u(Un(this,16),29),t||S1),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:zc(this,Oe(t));return;case 2:v$(this,u(t,17).a);return;case 3:iHn(this,u(t,2039));return;case 4:y$(this,Oe(t));return}Jo(this,e-se((On(),S1)),$n((i=u(Un(this,16),29),i||S1),e),t)},o.ii=function(){return On(),S1},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:zc(this,null);return;case 2:v$(this,0);return;case 3:iHn(this,null);return;case 4:y$(this,null);return}Wo(this,e-se((On(),S1)),$n((t=u(Un(this,16),29),t||S1),e))},o.Ib=function(){var e;return e=this.c,e??this.zb},o.b=null,o.c=null,o.d=0,w(qn,"EEnumLiteralImpl",582);var LNe=Nt(qn,"EFactoryImpl/InternalEDateTimeFormat");b(498,1,{2114:1},X9),w(qn,"EFactoryImpl/1ClientInternalEDateTimeFormat",498),b(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},Jd),o.Ch=function(e,t,i){var r;return i=So(this,e,t,i),this.e&&D(e,179)&&(r=MA(this,this.e),r!=this.c&&(i=Lm(this,r,i))),i},o.Lh=function(e,t,i){var r;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new ti(jr,this,1)),this.d;case 2:return t?BA(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?Lx(this):this.a}return zo(this,e-se((On(),kb)),$n((r=u(Un(this,16),29),r||kb),e),t,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return JFn(this,null,i);case 1:return!this.d&&(this.d=new ti(jr,this,1)),cr(this.d,e,i);case 3:return QFn(this,null,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),kb)),t),69),c.wk().Ak(this,iu(this),t-se((On(),kb)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Uo(this,e-se((On(),kb)),$n((t=u(Un(this,16),29),t||kb),e))},o.bi=function(e,t){var i;switch(e){case 0:CKn(this,u(t,89));return;case 1:!this.d&&(this.d=new ti(jr,this,1)),me(this.d),!this.d&&(this.d=new ti(jr,this,1)),Bt(this.d,u(t,16));return;case 3:qZ(this,u(t,89));return;case 4:snn(this,u(t,850));return;case 5:R4(this,u(t,142));return}Jo(this,e-se((On(),kb)),$n((i=u(Un(this,16),29),i||kb),e),t)},o.ii=function(){return On(),kb},o.ki=function(e){var t;switch(e){case 0:CKn(this,null);return;case 1:!this.d&&(this.d=new ti(jr,this,1)),me(this.d);return;case 3:qZ(this,null);return;case 4:snn(this,null);return;case 5:R4(this,null);return}Wo(this,e-se((On(),kb)),$n((t=u(Un(this,16),29),t||kb),e))},o.Ib=function(){var e;return e=new mo(Hs(this)),e.a+=" (expression: ",_F(this,e),e.a+=")",e.a};var Udn;w(qn,"EGenericTypeImpl",248),b(2067,2062,zS),o.Gi=function(e,t){IAn(this,e,t)},o.Wk=function(e,t){return IAn(this,this.gc(),e),t},o.$i=function(e){return Zo(this.pj(),e)},o.Ii=function(){return this.Ji()},o.pj=function(){return new Cyn(this)},o.Ji=function(){return this.Ki(0)},o.Ki=function(e){return this.pj().fd(e)},o.Xk=function(e,t){return iw(this,e,!0),t},o.Ti=function(e,t){var i,r;return r=Ux(this,t),i=this.fd(e),i.Rb(r),r},o.Ui=function(e,t){var i;iw(this,t,!0),i=this.fd(e),i.Rb(t)},w(Tt,"AbstractSequentialInternalEList",2067),b(495,2067,zS,C7),o.$i=function(e){return Zo(this.pj(),e)},o.Ii=function(){return this.b==null?(Gl(),Gl(),aE):this.sl()},o.pj=function(){return new WMn(this.a,this.b)},o.Ji=function(){return this.b==null?(Gl(),Gl(),aE):this.sl()},o.Ki=function(e){var t,i;if(this.b==null){if(e<0||e>1)throw M(new Ir(w8+e+", size=0"));return Gl(),Gl(),aE}for(i=this.sl(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.pk()!=_v||t.Lj()!=0)&&(!this.vl()||this.b.Xh(t))){if(s=this.b.Nh(t,this.ul()),this.f=(dr(),u(t,69).xk()),this.f||t.Jk()){if(this.ul()?(r=u(s,15),this.k=r):(r=u(s,71),this.k=this.j=r),D(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?m_n(this,this.p):I_n(this))return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=u(c,76),e.Lk(),i=e.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(s!=null)return this.k=null,this.p=null,i=s,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=u(c,76),e.Lk(),i=e.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},o.Pb=function(){return PT(this)},o.Tb=function(){return this.a},o.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw M(new nc)},o.Vb=function(){return this.a-1},o.Qb=function(){throw M(new Pe)},o.ul=function(){return!1},o.Wb=function(e){throw M(new Pe)},o.vl=function(){return!0},o.a=0,o.d=0,o.f=!1,o.g=0,o.n=0,o.o=0;var aE;w(Tt,"EContentsEList/FeatureIteratorImpl",287),b(711,287,XS,ZX),o.ul=function(){return!0},w(Tt,"EContentsEList/ResolvingFeatureIteratorImpl",711),b(1178,711,XS,wAn),o.vl=function(){return!1},w(qn,"ENamedElementImpl/1/1",1178),b(1179,287,XS,gAn),o.vl=function(){return!1},w(qn,"ENamedElementImpl/1/2",1179),b(38,152,Vy,Vb,UN,Ci,c$,ml,Rs,aQ,WOn,dQ,JOn,IJ,QOn,gQ,YOn,OJ,ZOn,bQ,nDn,K6,rk,MN,wQ,eDn,DJ,tDn),o.Kj=function(){return WJ(this)},o.Rj=function(){var e;return e=WJ(this),e?e.ik():null},o.hj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,e)},o.jj=function(){return this.c},o.Sj=function(){var e;return e=WJ(this),e?e.tk():!1},o.b=-1,w(qn,"ENotificationImpl",38),b(411,291,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,480:1,54:1,99:1,158:1,411:1,291:1,119:1,120:1},hD),o.Ah=function(e){return sKn(this,e)},o.Lh=function(e,t,i){var r,c,s;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),s=this.t,s>1||s==-1;case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new Tu(fu,this,11)),this.d;case 12:return!this.c&&(this.c=new q(vb,this,12,10)),this.c;case 13:return!this.a&&(this.a=new P7(this,this)),this.a;case 14:return no(this)}return zo(this,e-se((On(),P1)),$n((r=u(Un(this,16),29),r||P1),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?sKn(this,i):this.Cb.Th(this,-1-c,null,i))),So(this,e,10,i);case 12:return!this.c&&(this.c=new q(vb,this,12,10)),Xc(this.c,e,i)}return s=u($n((r=u(Un(this,16),29),r||(On(),P1)),t),69),s.wk().zk(this,iu(this),t-se((On(),P1)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 9:return hN(this,i);case 10:return So(this,null,10,i);case 11:return!this.d&&(this.d=new Tu(fu,this,11)),cr(this.d,e,i);case 12:return!this.c&&(this.c=new q(vb,this,12,10)),cr(this.c,e,i);case 14:return cr(no(this),e,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),P1)),t),69),c.wk().Ak(this,iu(this),t-se((On(),P1)),e,i)},o.Wh=function(e){var t,i,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&p0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&p0(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&no(this.a.a).i!=0&&!(this.b&&Ox(this.b));case 14:return!!this.b&&Ox(this.b)}return Uo(this,e-se((On(),P1)),$n((t=u(Un(this,16),29),t||P1),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:zc(this,Oe(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:Zb(this,u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Bf(this,u(t,89),null),r&&r.oj();return;case 11:!this.d&&(this.d=new Tu(fu,this,11)),me(this.d),!this.d&&(this.d=new Tu(fu,this,11)),Bt(this.d,u(t,16));return;case 12:!this.c&&(this.c=new q(vb,this,12,10)),me(this.c),!this.c&&(this.c=new q(vb,this,12,10)),Bt(this.c,u(t,16));return;case 13:!this.a&&(this.a=new P7(this,this)),G5(this.a),!this.a&&(this.a=new P7(this,this)),Bt(this.a,u(t,16));return;case 14:me(no(this)),Bt(no(this),u(t,16));return}Jo(this,e-se((On(),P1)),$n((i=u(Un(this,16),29),i||P1),e),t)},o.ii=function(){return On(),P1},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:zc(this,null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:Zb(this,1);return;case 8:ad(this,null);return;case 9:i=Bf(this,null,null),i&&i.oj();return;case 11:!this.d&&(this.d=new Tu(fu,this,11)),me(this.d);return;case 12:!this.c&&(this.c=new q(vb,this,12,10)),me(this.c);return;case 13:this.a&&G5(this.a);return;case 14:this.b&&me(this.b);return}Wo(this,e-se((On(),P1)),$n((t=u(Un(this,16),29),t||P1),e))},o.pi=function(){var e,t;if(this.c)for(e=0,t=this.c.i;eh&&$t(e,h,null),r=0,i=new ne(no(this.a));i.e!=i.i.gc();)t=u(ue(i),89),s=(f=t.c,f||(On(),Zf)),$t(e,r++,s);return e},o.Hj=function(){var e,t,i,r,c;for(c=new Hl,c.a+="[",e=no(this.a),t=0,r=no(this.a).i;t1);case 5:return X6(this,e,t,i,r,this.i-u(i,15).gc()>0);default:return new ml(this.e,e,this.c,t,i,r,!0)}},o.Tj=function(){return!0},o.Qj=function(){return Ox(this)},o.Gk=function(){me(this)},w(qn,"EOperationImpl/2",1377),b(507,1,{2037:1,507:1},DMn),w(qn,"EPackageImpl/1",507),b(14,83,Qr,q),o.il=function(){return this.d},o.jl=function(){return this.b},o.ml=function(){return!0},o.b=0,w(Tt,"EObjectContainmentWithInverseEList",14),b(365,14,Qr,jp),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Tt,"EObjectContainmentWithInverseEList/Resolving",365),b(307,365,Qr,Hb),o.Ni=function(){this.a.tb=null},w(qn,"EPackageImpl/2",307),b(1278,1,{},qse),w(qn,"EPackageImpl/3",1278),b(733,45,n2,ez),o._b=function(e){return Ai(e)?AN(this,e):!!wr(this.f,e)},w(qn,"EPackageRegistryImpl",733),b(518,291,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,480:1,54:1,99:1,158:1,518:1,291:1,119:1,120:1},lD),o.Ah=function(e){return fKn(this,e)},o.Lh=function(e,t,i){var r,c,s;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),s=this.t,s>1||s==-1;case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return zo(this,e-se((On(),ig)),$n((r=u(Un(this,16),29),r||ig),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?fKn(this,i):this.Cb.Th(this,-1-c,null,i))),So(this,e,10,i)}return s=u($n((r=u(Un(this,16),29),r||(On(),ig)),t),69),s.wk().zk(this,iu(this),t-se((On(),ig)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 9:return hN(this,i);case 10:return So(this,null,10,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),ig)),t),69),c.wk().Ak(this,iu(this),t-se((On(),ig)),e,i)},o.Wh=function(e){var t,i,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&p0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&p0(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Uo(this,e-se((On(),ig)),$n((t=u(Un(this,16),29),t||ig),e))},o.ii=function(){return On(),ig},w(qn,"EParameterImpl",518),b(102,461,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,480:1,54:1,99:1,158:1,102:1,461:1,291:1,119:1,120:1,692:1},rV),o.Lh=function(e,t,i){var r,c,s,f;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),f=this.t,f>1||f==-1;case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return _n(),!!(this.Bb&Gs);case 11:return _n(),!!(this.Bb&Tw);case 12:return _n(),!!(this.Bb&vw);case 13:return this.j;case 14:return Mm(this);case 15:return _n(),!!(this.Bb&$u);case 16:return _n(),!!(this.Bb&wh);case 17:return Gb(this);case 18:return _n(),!!(this.Bb&kc);case 19:return _n(),s=br(this),!!(s&&s.Bb&kc);case 20:return _n(),!!(this.Bb&hr);case 21:return t?br(this):this.b;case 22:return t?eY(this):TLn(this);case 23:return!this.a&&(this.a=new Eg(ng,this,23)),this.a}return zo(this,e-se((On(),U2)),$n((r=u(Un(this,16),29),r||U2),e),t,i)},o.Wh=function(e){var t,i,r,c;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&p0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&p0(this.q).i==0);case 10:return(this.Bb&Gs)==0;case 11:return(this.Bb&Tw)!=0;case 12:return(this.Bb&vw)!=0;case 13:return this.j!=null;case 14:return Mm(this)!=null;case 15:return(this.Bb&$u)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Gb(this);case 18:return(this.Bb&kc)!=0;case 19:return r=br(this),!!r&&(r.Bb&kc)!=0;case 20:return(this.Bb&hr)==0;case 21:return!!this.b;case 22:return!!TLn(this);case 23:return!!this.a&&this.a.i!=0}return Uo(this,e-se((On(),U2)),$n((t=u(Un(this,16),29),t||U2),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:FN(this,Oe(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:Zb(this,u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Bf(this,u(t,89),null),r&&r.oj();return;case 10:sm(this,on(un(t)));return;case 11:lm(this,on(un(t)));return;case 12:fm(this,on(un(t)));return;case 13:bX(this,Oe(t));return;case 15:hm(this,on(un(t)));return;case 16:am(this,on(un(t)));return;case 18:A2e(this,on(un(t)));return;case 20:LY(this,on(un(t)));return;case 21:OQ(this,u(t,19));return;case 23:!this.a&&(this.a=new Eg(ng,this,23)),me(this.a),!this.a&&(this.a=new Eg(ng,this,23)),Bt(this.a,u(t,16));return}Jo(this,e-se((On(),U2)),$n((i=u(Un(this,16),29),i||U2),e),t)},o.ii=function(){return On(),U2},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:D(this.Cb,90)&&hw(Zu(u(this.Cb,90)),4),zc(this,null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:Zb(this,1);return;case 8:ad(this,null);return;case 9:i=Bf(this,null,null),i&&i.oj();return;case 10:sm(this,!0);return;case 11:lm(this,!1);return;case 12:fm(this,!1);return;case 13:this.i=null,kT(this,null);return;case 15:hm(this,!1);return;case 16:am(this,!1);return;case 18:DY(this,!1),D(this.Cb,90)&&hw(Zu(u(this.Cb,90)),2);return;case 20:LY(this,!0);return;case 21:OQ(this,null);return;case 23:!this.a&&(this.a=new Eg(ng,this,23)),me(this.a);return}Wo(this,e-se((On(),U2)),$n((t=u(Un(this,16),29),t||U2),e))},o.pi=function(){eY(this),S4(Lr((Du(),zi),this)),gs(this),this.Bb|=1},o.uk=function(){return br(this)},o._k=function(){var e;return e=br(this),!!e&&(e.Bb&kc)!=0},o.al=function(){return(this.Bb&kc)!=0},o.bl=function(){return(this.Bb&hr)!=0},o.Yk=function(e,t){return this.c=null,jY(this,e,t)},o.Ib=function(){var e;return this.Db&64?$A(this):(e=new ls($A(this)),e.a+=" (containment: ",ql(e,(this.Bb&kc)!=0),e.a+=", resolveProxies: ",ql(e,(this.Bb&hr)!=0),e.a+=")",e.a)},w(qn,"EReferenceImpl",102),b(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},Cvn),o.Fb=function(e){return this===e},o.ld=function(){return this.b},o.md=function(){return this.c},o.Hb=function(){return f0(this)},o.Di=function(e){Dbe(this,Oe(e))},o.nd=function(e){return pbe(this,Oe(e))},o.Lh=function(e,t,i){var r;switch(e){case 0:return this.b;case 1:return this.c}return zo(this,e-se((On(),ar)),$n((r=u(Un(this,16),29),r||ar),e),t,i)},o.Wh=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return Uo(this,e-se((On(),ar)),$n((t=u(Un(this,16),29),t||ar),e))},o.bi=function(e,t){var i;switch(e){case 0:Lbe(this,Oe(t));return;case 1:SQ(this,Oe(t));return}Jo(this,e-se((On(),ar)),$n((i=u(Un(this,16),29),i||ar),e),t)},o.ii=function(){return On(),ar},o.ki=function(e){var t;switch(e){case 0:AQ(this,null);return;case 1:SQ(this,null);return}Wo(this,e-se((On(),ar)),$n((t=u(Un(this,16),29),t||ar),e))},o.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:t1(e)),this.a},o.Ci=function(e){this.a=e},o.Ib=function(){var e;return this.Db&64?Hs(this):(e=new ls(Hs(this)),e.a+=" (key: ",Er(e,this.b),e.a+=", value: ",Er(e,this.c),e.a+=")",e.a)},o.a=-1,o.b=null,o.c=null;var pc=w(qn,"EStringToStringMapEntryImpl",561),Qoe=Nt(Tt,"FeatureMap/Entry/Internal");b(576,1,VS),o.xl=function(e){return this.yl(u(e,54))},o.yl=function(e){return this.xl(e)},o.Fb=function(e){var t,i;return this===e?!0:D(e,76)?(t=u(e,76),t.Lk()==this.c?(i=this.md(),i==null?t.md()==null:rt(i,t.md())):!1):!1},o.Lk=function(){return this.c},o.Hb=function(){var e;return e=this.md(),mt(this.c)^(e==null?0:mt(e))},o.Ib=function(){var e,t;return e=this.c,t=jo(e.qk()).yi(),e.xe(),(t!=null&&t.length!=0?t+":"+e.xe():e.xe())+"="+this.md()},w(qn,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),b(791,576,VS,dV),o.yl=function(e){return new dV(this.c,e)},o.md=function(){return this.a},o.zl=function(e,t,i){return gve(this,e,this.a,t,i)},o.Al=function(e,t,i){return pve(this,e,this.a,t,i)},w(qn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),b(1350,1,{},LMn),o.yk=function(e,t,i,r,c){var s;return s=u($4(e,this.b),220),s.Yl(this.a).Fk(r)},o.zk=function(e,t,i,r,c){var s;return s=u($4(e,this.b),220),s.Pl(this.a,r,c)},o.Ak=function(e,t,i,r,c){var s;return s=u($4(e,this.b),220),s.Ql(this.a,r,c)},o.Bk=function(e,t,i){var r;return r=u($4(e,this.b),220),r.Yl(this.a).Qj()},o.Ck=function(e,t,i,r){var c;c=u($4(e,this.b),220),c.Yl(this.a).Wb(r)},o.Dk=function(e,t,i){return u($4(e,this.b),220).Yl(this.a)},o.Ek=function(e,t,i){var r;r=u($4(e,this.b),220),r.Yl(this.a).Gk()},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),b(91,1,{},Xl,Za,Wl,rd),o.yk=function(e,t,i,r,c){var s;if(s=t.li(i),s==null&&t.mi(i,s=XA(this,e)),!c)switch(this.e){case 50:case 41:return u(s,597).bk();case 40:return u(s,220).Vl()}return s},o.zk=function(e,t,i,r,c){var s,f;return f=t.li(i),f==null&&t.mi(i,f=XA(this,e)),s=u(f,71).Wk(r,c),s},o.Ak=function(e,t,i,r,c){var s;return s=t.li(i),s!=null&&(c=u(s,71).Xk(r,c)),c},o.Bk=function(e,t,i){var r;return r=t.li(i),r!=null&&u(r,79).Qj()},o.Ck=function(e,t,i,r){var c;c=u(t.li(i),79),!c&&t.mi(i,c=XA(this,e)),c.Wb(r)},o.Dk=function(e,t,i){var r,c;return c=t.li(i),c==null&&t.mi(i,c=XA(this,e)),D(c,79)?u(c,79):(r=u(t.li(i),15),new jyn(r))},o.Ek=function(e,t,i){var r;r=u(t.li(i),79),!r&&t.mi(i,r=XA(this,e)),r.Gk()},o.b=0,o.e=0,w(qn,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),b(512,1,{}),o.zk=function(e,t,i,r,c){throw M(new Pe)},o.Ak=function(e,t,i,r,c){throw M(new Pe)},o.Dk=function(e,t,i){return new OIn(this,e,t,i)};var rl;w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),b(1367,1,TK,OIn),o.Fk=function(e){return this.a.yk(this.c,this.d,this.b,e,!0)},o.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},o.Wb=function(e){this.a.Ck(this.c,this.d,this.b,e)},o.Gk=function(){this.a.Ek(this.c,this.d,this.b)},o.b=0,w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),b(784,512,{},eJ),o.yk=function(e,t,i,r,c){return AF(e,e.Ph(),e.Fh())==this.b?this.bl()&&r?dF(e):e.Ph():null},o.zk=function(e,t,i,r,c){var s,f;return e.Ph()&&(c=(s=e.Fh(),s>=0?e.Ah(c):e.Ph().Th(e,-1-s,null,c))),f=Ot(e.Dh(),this.e),e.Ch(r,f,c)},o.Ak=function(e,t,i,r,c){var s;return s=Ot(e.Dh(),this.e),e.Ch(null,s,c)},o.Bk=function(e,t,i){var r;return r=Ot(e.Dh(),this.e),!!e.Ph()&&e.Fh()==r},o.Ck=function(e,t,i,r){var c,s,f,h,l;if(r!=null&&!OF(this.a,r))throw M(new t4(WS+(D(r,58)?HZ(u(r,58).Dh()):sQ(wo(r)))+JS+this.a+"'"));if(c=e.Ph(),f=Ot(e.Dh(),this.e),x(r)!==x(c)||e.Fh()!=f&&r!=null){if(pm(e,u(r,58)))throw M(new Gn(d8+e.Ib()));l=null,c&&(l=(s=e.Fh(),s>=0?e.Ah(l):e.Ph().Th(e,-1-s,null,l))),h=u(r,54),h&&(l=h.Rh(e,Ot(h.Dh(),this.b),null,l)),l=e.Ch(h,f,l),l&&l.oj()}else e.vh()&&e.wh()&&it(e,new Ci(e,1,f,r,r))},o.Ek=function(e,t,i){var r,c,s,f;r=e.Ph(),r?(f=(c=e.Fh(),c>=0?e.Ah(null):e.Ph().Th(e,-1-c,null,null)),s=Ot(e.Dh(),this.e),f=e.Ch(null,s,f),f&&f.oj()):e.vh()&&e.wh()&&it(e,new K6(e,1,this.e,null,null))},o.bl=function(){return!1},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),b(1351,784,{},ySn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),b(574,512,{}),o.yk=function(e,t,i,r,c){var s;return s=t.li(i),s==null?this.b:x(s)===x(rl)?null:s},o.Bk=function(e,t,i){var r;return r=t.li(i),r!=null&&(x(r)===x(rl)||!rt(r,this.b))},o.Ck=function(e,t,i,r){var c,s;e.vh()&&e.wh()?(c=(s=t.li(i),s==null?this.b:x(s)===x(rl)?null:s),r==null?this.c!=null?(t.mi(i,null),r=this.b):this.b!=null?t.mi(i,rl):t.mi(i,null):(this.Bl(r),t.mi(i,r)),it(e,this.d.Cl(e,1,this.e,c,r))):r==null?this.c!=null?t.mi(i,null):this.b!=null?t.mi(i,rl):t.mi(i,null):(this.Bl(r),t.mi(i,r))},o.Ek=function(e,t,i){var r,c;e.vh()&&e.wh()?(r=(c=t.li(i),c==null?this.b:x(c)===x(rl)?null:c),t.ni(i),it(e,this.d.Cl(e,1,this.e,r,this.b))):t.ni(i)},o.Bl=function(e){throw M(new Lyn)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),b(h2,1,{},Mvn),o.Cl=function(e,t,i,r,c){return new K6(e,t,i,r,c)},o.Dl=function(e,t,i,r,c,s){return new MN(e,t,i,r,c,s)};var Gdn,zdn,Xdn,Vdn,Wdn,Jdn,Qdn,MU,Ydn;w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",h2),b(1368,h2,{},Tvn),o.Cl=function(e,t,i,r,c){return new DJ(e,t,i,on(un(r)),on(un(c)))},o.Dl=function(e,t,i,r,c,s){return new tDn(e,t,i,on(un(r)),on(un(c)),s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),b(1369,h2,{},Avn),o.Cl=function(e,t,i,r,c){return new aQ(e,t,i,u(r,222).a,u(c,222).a)},o.Dl=function(e,t,i,r,c,s){return new WOn(e,t,i,u(r,222).a,u(c,222).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),b(1370,h2,{},Svn),o.Cl=function(e,t,i,r,c){return new dQ(e,t,i,u(r,180).a,u(c,180).a)},o.Dl=function(e,t,i,r,c,s){return new JOn(e,t,i,u(r,180).a,u(c,180).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),b(1371,h2,{},Pvn),o.Cl=function(e,t,i,r,c){return new IJ(e,t,i,$(R(r)),$(R(c)))},o.Dl=function(e,t,i,r,c,s){return new QOn(e,t,i,$(R(r)),$(R(c)),s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),b(1372,h2,{},Ivn),o.Cl=function(e,t,i,r,c){return new gQ(e,t,i,u(r,161).a,u(c,161).a)},o.Dl=function(e,t,i,r,c,s){return new YOn(e,t,i,u(r,161).a,u(c,161).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),b(1373,h2,{},Ovn),o.Cl=function(e,t,i,r,c){return new OJ(e,t,i,u(r,17).a,u(c,17).a)},o.Dl=function(e,t,i,r,c,s){return new ZOn(e,t,i,u(r,17).a,u(c,17).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),b(1374,h2,{},Dvn),o.Cl=function(e,t,i,r,c){return new bQ(e,t,i,u(r,168).a,u(c,168).a)},o.Dl=function(e,t,i,r,c,s){return new nDn(e,t,i,u(r,168).a,u(c,168).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),b(1375,h2,{},Lvn),o.Cl=function(e,t,i,r,c){return new wQ(e,t,i,u(r,191).a,u(c,191).a)},o.Dl=function(e,t,i,r,c,s){return new eDn(e,t,i,u(r,191).a,u(c,191).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),b(1353,574,{},DIn),o.Bl=function(e){if(!this.a.fk(e))throw M(new t4(WS+wo(e)+JS+this.a+"'"))},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),b(1354,574,{},vPn),o.Bl=function(e){},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),b(785,574,{}),o.Bk=function(e,t,i){var r;return r=t.li(i),r!=null},o.Ck=function(e,t,i,r){var c,s;e.vh()&&e.wh()?(c=!0,s=t.li(i),s==null?(c=!1,s=this.b):x(s)===x(rl)&&(s=null),r==null?this.c!=null?(t.mi(i,null),r=this.b):t.mi(i,rl):(this.Bl(r),t.mi(i,r)),it(e,this.d.Dl(e,1,this.e,s,r,!c))):r==null?this.c!=null?t.mi(i,null):t.mi(i,rl):(this.Bl(r),t.mi(i,r))},o.Ek=function(e,t,i){var r,c;e.vh()&&e.wh()?(r=!0,c=t.li(i),c==null?(r=!1,c=this.b):x(c)===x(rl)&&(c=null),t.ni(i),it(e,this.d.Dl(e,2,this.e,c,this.b,r))):t.ni(i)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),b(1355,785,{},LIn),o.Bl=function(e){if(!this.a.fk(e))throw M(new t4(WS+wo(e)+JS+this.a+"'"))},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),b(1356,785,{},kPn),o.Bl=function(e){},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),b(410,512,{},uM),o.yk=function(e,t,i,r,c){var s,f,h,l,a;if(a=t.li(i),this.tk()&&x(a)===x(rl))return null;if(this.bl()&&r&&a!=null){if(h=u(a,54),h.Vh()&&(l=ea(e,h),h!=l)){if(!OF(this.a,l))throw M(new t4(WS+wo(l)+JS+this.a+"'"));t.mi(i,a=l),this.al()&&(s=u(l,54),f=h.Th(e,this.b?Ot(h.Dh(),this.b):-1-Ot(e.Dh(),this.e),null,null),!s.Ph()&&(f=s.Rh(e,this.b?Ot(s.Dh(),this.b):-1-Ot(e.Dh(),this.e),null,f)),f&&f.oj()),e.vh()&&e.wh()&&it(e,new K6(e,9,this.e,h,l))}return a}else return a},o.zk=function(e,t,i,r,c){var s,f;return f=t.li(i),x(f)===x(rl)&&(f=null),t.mi(i,r),this.Mj()?x(f)!==x(r)&&f!=null&&(s=u(f,54),c=s.Th(e,Ot(s.Dh(),this.b),null,c)):this.al()&&f!=null&&(c=u(f,54).Th(e,-1-Ot(e.Dh(),this.e),null,c)),e.vh()&&e.wh()&&(!c&&(c=new F1(4)),c.nj(new K6(e,1,this.e,f,r))),c},o.Ak=function(e,t,i,r,c){var s;return s=t.li(i),x(s)===x(rl)&&(s=null),t.ni(i),e.vh()&&e.wh()&&(!c&&(c=new F1(4)),this.tk()?c.nj(new K6(e,2,this.e,s,null)):c.nj(new K6(e,1,this.e,s,null))),c},o.Bk=function(e,t,i){var r;return r=t.li(i),r!=null},o.Ck=function(e,t,i,r){var c,s,f,h,l;if(r!=null&&!OF(this.a,r))throw M(new t4(WS+(D(r,58)?HZ(u(r,58).Dh()):sQ(wo(r)))+JS+this.a+"'"));l=t.li(i),h=l!=null,this.tk()&&x(l)===x(rl)&&(l=null),f=null,this.Mj()?x(l)!==x(r)&&(l!=null&&(c=u(l,54),f=c.Th(e,Ot(c.Dh(),this.b),null,f)),r!=null&&(c=u(r,54),f=c.Rh(e,Ot(c.Dh(),this.b),null,f))):this.al()&&x(l)!==x(r)&&(l!=null&&(f=u(l,54).Th(e,-1-Ot(e.Dh(),this.e),null,f)),r!=null&&(f=u(r,54).Rh(e,-1-Ot(e.Dh(),this.e),null,f))),r==null&&this.tk()?t.mi(i,rl):t.mi(i,r),e.vh()&&e.wh()?(s=new MN(e,1,this.e,l,r,this.tk()&&!h),f?(f.nj(s),f.oj()):it(e,s)):f&&f.oj()},o.Ek=function(e,t,i){var r,c,s,f,h;h=t.li(i),f=h!=null,this.tk()&&x(h)===x(rl)&&(h=null),s=null,h!=null&&(this.Mj()?(r=u(h,54),s=r.Th(e,Ot(r.Dh(),this.b),null,s)):this.al()&&(s=u(h,54).Th(e,-1-Ot(e.Dh(),this.e),null,s))),t.ni(i),e.vh()&&e.wh()?(c=new MN(e,this.tk()?2:1,this.e,h,null,f),s?(s.nj(c),s.oj()):it(e,c)):s&&s.oj()},o.Mj=function(){return!1},o.al=function(){return!1},o.bl=function(){return!1},o.tk=function(){return!1},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),b(575,410,{},PL),o.al=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),b(1359,575,{},mAn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),b(787,575,{},nV),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),b(1361,787,{},vAn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),b(650,575,{},HL),o.Mj=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),b(1360,650,{},jSn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),b(788,650,{},KV),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),b(1362,788,{},ESn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),b(651,410,{},eV),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),b(1363,651,{},kAn),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),b(789,651,{},BV),o.Mj=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),b(1364,789,{},CSn),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),b(1357,410,{},yAn),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),b(786,410,{},RV),o.Mj=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),b(1358,786,{},MSn),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),b(790,576,VS,xW),o.yl=function(e){return new xW(this.a,this.c,e)},o.md=function(){return this.b},o.zl=function(e,t,i){return b4e(this,e,this.b,i)},o.Al=function(e,t,i){return w4e(this,e,this.b,i)},w(qn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),b(1365,1,TK,jyn),o.Fk=function(e){return this.a},o.Qj=function(){return D(this.a,97)?u(this.a,97).Qj():!this.a.dc()},o.Wb=function(e){this.a.$b(),this.a.Gc(u(e,15))},o.Gk=function(){D(this.a,97)?u(this.a,97).Gk():this.a.$b()},w(qn,"EStructuralFeatureImpl/SettingMany",1365),b(1366,576,VS,XDn),o.xl=function(e){return new DL((at(),x9),this.b.ri(this.a,e))},o.md=function(){return null},o.zl=function(e,t,i){return i},o.Al=function(e,t,i){return i},w(qn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),b(652,576,VS,DL),o.xl=function(e){return new DL(this.c,e)},o.md=function(){return this.a},o.zl=function(e,t,i){return i},o.Al=function(e,t,i){return i},w(qn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),b(403,505,Ch,V3),o.aj=function(e){return K(As,Fn,29,e,0,1)},o.Yi=function(){return!1},w(qn,"ESuperAdapter/1",403),b(456,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,456:1,119:1,120:1},UO),o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new x6(this,jr,this)),this.a}return zo(this,e-se((On(),yb)),$n((r=u(Un(this,16),29),r||yb),e),t,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 2:return!this.a&&(this.a=new x6(this,jr,this)),cr(this.a,e,i)}return c=u($n((r=u(Un(this,16),29),r||(On(),yb)),t),69),c.wk().Ak(this,iu(this),t-se((On(),yb)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Uo(this,e-se((On(),yb)),$n((t=u(Un(this,16),29),t||yb),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:zc(this,Oe(t));return;case 2:!this.a&&(this.a=new x6(this,jr,this)),me(this.a),!this.a&&(this.a=new x6(this,jr,this)),Bt(this.a,u(t,16));return}Jo(this,e-se((On(),yb)),$n((i=u(Un(this,16),29),i||yb),e),t)},o.ii=function(){return On(),yb},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:zc(this,null);return;case 2:!this.a&&(this.a=new x6(this,jr,this)),me(this.a);return}Wo(this,e-se((On(),yb)),$n((t=u(Un(this,16),29),t||yb),e))},w(qn,"ETypeParameterImpl",456),b(457,83,Qr,x6),o.Nj=function(e,t){return Pye(this,u(e,89),t)},o.Oj=function(e,t){return Iye(this,u(e,89),t)},w(qn,"ETypeParameterImpl/1",457),b(647,45,n2,aD),o.ec=function(){return new LE(this)},w(qn,"ETypeParameterImpl/2",647),b(570,Kf,Lu,LE),o.Fc=function(e){return XAn(this,u(e,89))},o.Gc=function(e){var t,i,r;for(r=!1,i=e.Kc();i.Ob();)t=u(i.Pb(),89),Ve(this.a,t,"")==null&&(r=!0);return r},o.$b=function(){Hu(this.a)},o.Hc=function(e){return Zc(this.a,e)},o.Kc=function(){var e;return e=new sd(new Ua(this.a).a),new NE(e)},o.Mc=function(e){return FLn(this,e)},o.gc=function(){return i6(this.a)},w(qn,"ETypeParameterImpl/2/1",570),b(571,1,Si,NE),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(O0(this.a).ld(),89)},o.Ob=function(){return this.a.b},o.Qb=function(){zNn(this.a)},w(qn,"ETypeParameterImpl/2/1/1",571),b(1329,45,n2,ajn),o._b=function(e){return Ai(e)?AN(this,e):!!wr(this.f,e)},o.xc=function(e){var t,i;return t=Ai(e)?Nc(this,e):Kr(wr(this.f,e)),D(t,851)?(i=u(t,851),t=i.Kk(),Ve(this,u(e,241),t),t):t??(e==null?(OD(),Zoe):null)},w(qn,"EValidatorRegistryImpl",1329),b(1349,720,{110:1,94:1,93:1,479:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},Nvn),o.ri=function(e,t){switch(e.hk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return t==null?null:Jr(t);case 25:return Tme(t);case 27:return K4e(t);case 28:return _4e(t);case 29:return t==null?null:CTn(I9[0],u(t,206));case 41:return t==null?"":Xa(u(t,296));case 42:return Jr(t);case 50:return Oe(t);default:throw M(new Gn(nv+e.xe()+Y0))}},o.si=function(e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,S;switch(e.G==-1&&(e.G=(p=jo(e),p?f1(p.vi(),e):-1)),e.G){case 0:return i=new fD,i;case 1:return t=new eG,t;case 2:return r=new cG,r;case 4:return c=new $E,c;case 5:return s=new ljn,s;case 6:return f=new xyn,f;case 7:return h=new uG,h;case 10:return a=new CE,a;case 11:return d=new hD,d;case 12:return g=new _In,g;case 13:return m=new lD,m;case 14:return k=new rV,k;case 17:return j=new Cvn,j;case 18:return l=new Jd,l;case 19:return S=new UO,S;default:throw M(new Gn(hK+e.zb+Y0))}},o.ti=function(e,t){switch(e.hk()){case 20:return t==null?null:new Tz(t);case 21:return t==null?null:new H1(t);case 23:case 22:return t==null?null:R8e(t);case 26:case 24:return t==null?null:lk(Ao(t,-128,127)<<24>>24);case 25:return rMe(t);case 27:return T7e(t);case 28:return A7e(t);case 29:return Jye(t);case 32:case 31:return t==null?null:sw(t);case 38:case 37:return t==null?null:new qG(t);case 40:case 39:return t==null?null:Y(Ao(t,Wi,et));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:Ml(zA(t));case 49:case 48:return t==null?null:om(Ao(t,QS,32767)<<16>>16);case 50:return t;default:throw M(new Gn(nv+e.xe()+Y0))}},w(qn,"EcoreFactoryImpl",1349),b(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},lIn),o.gb=!1,o.hb=!1;var Zdn,Yoe=!1;w(qn,"EcorePackageImpl",560),b(1234,1,{851:1},$vn),o.Kk=function(){return FTn(),nse},w(qn,"EcorePackageImpl/1",1234),b(1243,1,ze,xvn),o.fk=function(e){return D(e,155)},o.gk=function(e){return K(sE,Fn,155,e,0,1)},w(qn,"EcorePackageImpl/10",1243),b(1244,1,ze,Fvn),o.fk=function(e){return D(e,197)},o.gk=function(e){return K(gU,Fn,197,e,0,1)},w(qn,"EcorePackageImpl/11",1244),b(1245,1,ze,Bvn),o.fk=function(e){return D(e,58)},o.gk=function(e){return K(Oa,Fn,58,e,0,1)},w(qn,"EcorePackageImpl/12",1245),b(1246,1,ze,Rvn),o.fk=function(e){return D(e,411)},o.gk=function(e){return K(Ss,qcn,62,e,0,1)},w(qn,"EcorePackageImpl/13",1246),b(1247,1,ze,Kvn),o.fk=function(e){return D(e,241)},o.gk=function(e){return K(Ef,Fn,241,e,0,1)},w(qn,"EcorePackageImpl/14",1247),b(1248,1,ze,_vn),o.fk=function(e){return D(e,518)},o.gk=function(e){return K(vb,Fn,2116,e,0,1)},w(qn,"EcorePackageImpl/15",1248),b(1249,1,ze,Hvn),o.fk=function(e){return D(e,102)},o.gk=function(e){return K(eg,f2,19,e,0,1)},w(qn,"EcorePackageImpl/16",1249),b(1250,1,ze,qvn),o.fk=function(e){return D(e,179)},o.gk=function(e){return K(ku,f2,179,e,0,1)},w(qn,"EcorePackageImpl/17",1250),b(1251,1,ze,Uvn),o.fk=function(e){return D(e,480)},o.gk=function(e){return K(Zw,Fn,480,e,0,1)},w(qn,"EcorePackageImpl/18",1251),b(1252,1,ze,Gvn),o.fk=function(e){return D(e,561)},o.gk=function(e){return K(pc,nJn,561,e,0,1)},w(qn,"EcorePackageImpl/19",1252),b(1235,1,ze,zvn),o.fk=function(e){return D(e,331)},o.gk=function(e){return K(ng,f2,35,e,0,1)},w(qn,"EcorePackageImpl/2",1235),b(1253,1,ze,Xvn),o.fk=function(e){return D(e,248)},o.gk=function(e){return K(jr,pJn,89,e,0,1)},w(qn,"EcorePackageImpl/20",1253),b(1254,1,ze,Vvn),o.fk=function(e){return D(e,456)},o.gk=function(e){return K(fu,Fn,850,e,0,1)},w(qn,"EcorePackageImpl/21",1254),b(1255,1,ze,Wvn),o.fk=function(e){return Nb(e)},o.gk=function(e){return K(Gt,J,484,e,8,1)},w(qn,"EcorePackageImpl/22",1255),b(1256,1,ze,Jvn),o.fk=function(e){return D(e,195)},o.gk=function(e){return K(Fu,J,195,e,0,2)},w(qn,"EcorePackageImpl/23",1256),b(1257,1,ze,Qvn),o.fk=function(e){return D(e,222)},o.gk=function(e){return K(p3,J,222,e,0,1)},w(qn,"EcorePackageImpl/24",1257),b(1258,1,ze,Yvn),o.fk=function(e){return D(e,180)},o.gk=function(e){return K(M8,J,180,e,0,1)},w(qn,"EcorePackageImpl/25",1258),b(1259,1,ze,Zvn),o.fk=function(e){return D(e,206)},o.gk=function(e){return K(oP,J,206,e,0,1)},w(qn,"EcorePackageImpl/26",1259),b(1260,1,ze,n6n),o.fk=function(e){return!1},o.gk=function(e){return K(p0n,Fn,2215,e,0,1)},w(qn,"EcorePackageImpl/27",1260),b(1261,1,ze,e6n),o.fk=function(e){return $b(e)},o.gk=function(e){return K(si,J,345,e,7,1)},w(qn,"EcorePackageImpl/28",1261),b(1262,1,ze,t6n),o.fk=function(e){return D(e,61)},o.gk=function(e){return K(Ddn,kw,61,e,0,1)},w(qn,"EcorePackageImpl/29",1262),b(1236,1,ze,i6n),o.fk=function(e){return D(e,519)},o.gk=function(e){return K(Ue,{3:1,4:1,5:1,2033:1},598,e,0,1)},w(qn,"EcorePackageImpl/3",1236),b(1263,1,ze,r6n),o.fk=function(e){return D(e,582)},o.gk=function(e){return K($dn,Fn,2039,e,0,1)},w(qn,"EcorePackageImpl/30",1263),b(1264,1,ze,c6n),o.fk=function(e){return D(e,160)},o.gk=function(e){return K(r0n,kw,160,e,0,1)},w(qn,"EcorePackageImpl/31",1264),b(1265,1,ze,u6n),o.fk=function(e){return D(e,76)},o.gk=function(e){return K(CO,TJn,76,e,0,1)},w(qn,"EcorePackageImpl/32",1265),b(1266,1,ze,o6n),o.fk=function(e){return D(e,161)},o.gk=function(e){return K(ov,J,161,e,0,1)},w(qn,"EcorePackageImpl/33",1266),b(1267,1,ze,s6n),o.fk=function(e){return D(e,17)},o.gk=function(e){return K(Gi,J,17,e,0,1)},w(qn,"EcorePackageImpl/34",1267),b(1268,1,ze,f6n),o.fk=function(e){return D(e,296)},o.gk=function(e){return K(tun,Fn,296,e,0,1)},w(qn,"EcorePackageImpl/35",1268),b(1269,1,ze,h6n),o.fk=function(e){return D(e,168)},o.gk=function(e){return K(nb,J,168,e,0,1)},w(qn,"EcorePackageImpl/36",1269),b(1270,1,ze,l6n),o.fk=function(e){return D(e,85)},o.gk=function(e){return K(iun,Fn,85,e,0,1)},w(qn,"EcorePackageImpl/37",1270),b(1271,1,ze,a6n),o.fk=function(e){return D(e,599)},o.gk=function(e){return K(n0n,Fn,599,e,0,1)},w(qn,"EcorePackageImpl/38",1271),b(1272,1,ze,d6n),o.fk=function(e){return!1},o.gk=function(e){return K(m0n,Fn,2216,e,0,1)},w(qn,"EcorePackageImpl/39",1272),b(1237,1,ze,b6n),o.fk=function(e){return D(e,90)},o.gk=function(e){return K(As,Fn,29,e,0,1)},w(qn,"EcorePackageImpl/4",1237),b(1273,1,ze,w6n),o.fk=function(e){return D(e,191)},o.gk=function(e){return K(eb,J,191,e,0,1)},w(qn,"EcorePackageImpl/40",1273),b(1274,1,ze,g6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(qn,"EcorePackageImpl/41",1274),b(1275,1,ze,p6n),o.fk=function(e){return D(e,596)},o.gk=function(e){return K(Ndn,Fn,596,e,0,1)},w(qn,"EcorePackageImpl/42",1275),b(1276,1,ze,m6n),o.fk=function(e){return!1},o.gk=function(e){return K(v0n,J,2217,e,0,1)},w(qn,"EcorePackageImpl/43",1276),b(1277,1,ze,v6n),o.fk=function(e){return D(e,44)},o.gk=function(e){return K(Pd,WA,44,e,0,1)},w(qn,"EcorePackageImpl/44",1277),b(1238,1,ze,k6n),o.fk=function(e){return D(e,142)},o.gk=function(e){return K(Cf,Fn,142,e,0,1)},w(qn,"EcorePackageImpl/5",1238),b(1239,1,ze,y6n),o.fk=function(e){return D(e,156)},o.gk=function(e){return K(jU,Fn,156,e,0,1)},w(qn,"EcorePackageImpl/6",1239),b(1240,1,ze,j6n),o.fk=function(e){return D(e,468)},o.gk=function(e){return K(EO,Fn,685,e,0,1)},w(qn,"EcorePackageImpl/7",1240),b(1241,1,ze,E6n),o.fk=function(e){return D(e,582)},o.gk=function(e){return K(Bl,Fn,694,e,0,1)},w(qn,"EcorePackageImpl/8",1241),b(1242,1,ze,C6n),o.fk=function(e){return D(e,479)},o.gk=function(e){return K(P9,Fn,479,e,0,1)},w(qn,"EcorePackageImpl/9",1242),b(1038,2080,ZWn,Ljn),o.Mi=function(e,t){b5e(this,u(t,424))},o.Qi=function(e,t){A_n(this,e,u(t,424))},w(qn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),b(1039,152,Vy,eIn),o.jj=function(){return this.a.a},w(qn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),b(1067,1066,{},wTn),w("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var n0n=Nt(AJn,"Resource");b(799,1524,SJn),o.Hl=function(e){},o.Il=function(e){},o.El=function(){return!this.a&&(this.a=new iD(this)),this.a},o.Fl=function(e){var t,i,r,c,s;if(r=e.length,r>0)if(zn(0,e.length),e.charCodeAt(0)==47){for(s=new Gc(4),c=1,t=1;t0&&(e=(Fi(0,i,e.length),e.substr(0,i))));return qEe(this,e)},o.Gl=function(){return this.c},o.Ib=function(){var e;return Xa(this.Rm)+"@"+(e=mt(this)>>>0,e.toString(16))+" uri='"+this.d+"'"},o.b=!1,w(AK,"ResourceImpl",799),b(1525,799,SJn,Eyn),w(AK,"BinaryResourceImpl",1525),b(1190,708,yK),o.bj=function(e){return D(e,58)?Nge(this,u(e,58)):D(e,599)?new ne(u(e,599).El()):x(e)===x(this.f)?u(e,16).Kc():(p4(),lE.a)},o.Ob=function(){return $nn(this)},o.a=!1,w(Tt,"EcoreUtil/ContentTreeIterator",1190),b(1526,1190,yK,OPn),o.bj=function(e){return x(e)===x(this.f)?u(e,15).Kc():new SDn(u(e,58))},w(AK,"ResourceImpl/5",1526),b(658,2092,gJn,iD),o.Hc=function(e){return this.i<=4?vm(this,e):D(e,54)&&u(e,54).Jh()==this.a},o.Mi=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},o.Oi=function(e,t){e==0?this.a.b||(this.a.b=!0):t$(this,e,t)},o.Qi=function(e,t){},o.Ri=function(e,t,i){},o.Lj=function(){return 2},o.jj=function(){return this.a},o.Mj=function(){return!0},o.Nj=function(e,t){var i;return i=u(e,54),t=i.fi(this.a,t),t},o.Oj=function(e,t){var i;return i=u(e,54),i.fi(null,t)},o.Pj=function(){return!1},o.Si=function(){return!0},o.aj=function(e){return K(Oa,Fn,58,e,0,1)},o.Yi=function(){return!1},w(AK,"ResourceImpl/ContentsEList",658),b(970,2062,Bm,Cyn),o.fd=function(e){return this.a.Ki(e)},o.gc=function(){return this.a.gc()},w(Tt,"AbstractSequentialInternalEList/1",970);var e0n,t0n,zi,i0n;b(634,1,{},LSn);var MO,TO;w(Tt,"BasicExtendedMetaData",634),b(1181,1,{},$Mn),o.Jl=function(){return null},o.Kl=function(){return this.a==-2&&dfe(this,qye(this.d,this.b)),this.a},o.Ll=function(){return null},o.Ml=function(){return Dn(),Dn(),sr},o.xe=function(){return this.c==iv&&bfe(this,QBn(this.d,this.b)),this.c},o.Nl=function(){return 0},o.a=-2,o.c=iv,w(Tt,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),b(1182,1,{},rDn),o.Jl=function(){return this.a==(N4(),MO)&&pfe(this,HAe(this.f,this.b)),this.a},o.Kl=function(){return 0},o.Ll=function(){return this.c==(N4(),MO)&&wfe(this,qAe(this.f,this.b)),this.c},o.Ml=function(){return!this.d&&vfe(this,APe(this.f,this.b)),this.d},o.xe=function(){return this.e==iv&&yfe(this,QBn(this.f,this.b)),this.e},o.Nl=function(){return this.g==-2&&Efe(this,sye(this.f,this.b)),this.g},o.e=iv,o.g=-2,w(Tt,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),b(1180,1,{},xMn),o.b=!1,o.c=!1,w(Tt,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),b(1183,1,{},cDn),o.c=-2,o.e=iv,o.f=iv,w(Tt,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),b(593,632,Qr,JC),o.Lj=function(){return this.c},o.ol=function(){return!1},o.Wi=function(e,t){return t},o.c=0,w(Tt,"EDataTypeEList",593);var r0n=Nt(Tt,"FeatureMap");b(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},Rt),o.bd=function(e,t){oTe(this,e,u(t,76))},o.Fc=function(e){return MMe(this,u(e,76))},o.Hi=function(e){Owe(this,u(e,76))},o.Nj=function(e,t){return Yae(this,u(e,76),t)},o.Oj=function(e,t){return SV(this,u(e,76),t)},o.Ti=function(e,t){return LSe(this,e,t)},o.Wi=function(e,t){return vOe(this,e,u(t,76))},o.hd=function(e,t){return VTe(this,e,u(t,76))},o.Uj=function(e,t){return Zae(this,u(e,76),t)},o.Vj=function(e,t){return sSn(this,u(e,76),t)},o.Wj=function(e,t,i){return Wke(this,u(e,76),u(t,76),i)},o.Zi=function(e,t){return Jx(this,e,u(t,76))},o.Ol=function(e,t){return Ten(this,e,t)},o.cd=function(e,t){var i,r,c,s,f,h,l,a,d;for(a=new T0(t.gc()),c=t.Kc();c.Ob();)if(r=u(c.Pb(),76),s=r.Lk(),Sl(this.e,s))(!s.Si()||!_M(this,s,r.md())&&!vm(a,r))&&ve(a,r);else{for(d=ru(this.e.Dh(),s),i=u(this.g,124),f=!0,h=0;h=0;)if(t=e[this.c],this.k.am(t.Lk()))return this.j=this.f?t:t.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},w(Tt,"BasicFeatureMap/FeatureEIterator",420),b(676,420,Hh,dL),o.ul=function(){return!0},w(Tt,"BasicFeatureMap/ResolvingFeatureEIterator",676),b(968,495,zS,MTn),o.pj=function(){return this},w(Tt,"EContentsEList/1",968),b(969,495,zS,WMn),o.ul=function(){return!1},w(Tt,"EContentsEList/2",969),b(967,287,XS,TTn),o.wl=function(e){},o.Ob=function(){return!1},o.Sb=function(){return!1},w(Tt,"EContentsEList/FeatureIteratorImpl/1",967),b(840,593,Qr,$X),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,it(this.e,new Rs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Tt,"EDataTypeEList/Unsettable",840),b(1958,593,Qr,LTn),o.Si=function(){return!0},w(Tt,"EDataTypeUniqueEList",1958),b(1959,840,Qr,NTn),o.Si=function(){return!0},w(Tt,"EDataTypeUniqueEList/Unsettable",1959),b(147,83,Qr,Tu),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Tt,"EObjectContainmentEList/Resolving",147),b(1184,555,Qr,$Tn),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Tt,"EObjectContainmentEList/Unsettable/Resolving",1184),b(766,14,Qr,yV),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,it(this.e,new Rs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Tt,"EObjectContainmentWithInverseEList/Unsettable",766),b(1222,766,Qr,VAn),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Tt,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),b(757,504,Qr,xX),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,it(this.e,new Rs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Tt,"EObjectEList/Unsettable",757),b(338,504,Qr,Eg),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Tt,"EObjectResolvingEList",338),b(1844,757,Qr,xTn),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Tt,"EObjectResolvingEList/Unsettable",1844),b(1527,1,{},M6n);var Zoe;w(Tt,"EObjectValidator",1527),b(559,504,Qr,dM),o.il=function(){return this.d},o.jl=function(){return this.b},o.Mj=function(){return!0},o.ml=function(){return!0},o.b=0,w(Tt,"EObjectWithInverseEList",559),b(1225,559,Qr,WAn),o.ll=function(){return!0},w(Tt,"EObjectWithInverseEList/ManyInverse",1225),b(635,559,Qr,NL),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,it(this.e,new Rs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Tt,"EObjectWithInverseEList/Unsettable",635),b(1224,635,Qr,JAn),o.ll=function(){return!0},w(Tt,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),b(767,559,Qr,jV),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Tt,"EObjectWithInverseResolvingEList",767),b(32,767,Qr,Nn),o.ll=function(){return!0},w(Tt,"EObjectWithInverseResolvingEList/ManyInverse",32),b(768,635,Qr,EV),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Tt,"EObjectWithInverseResolvingEList/Unsettable",768),b(1223,768,Qr,QAn),o.ll=function(){return!0},w(Tt,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),b(1185,632,Qr),o.Li=function(){return(this.b&1792)==0},o.Ni=function(){this.b|=1},o.kl=function(){return(this.b&4)!=0},o.Mj=function(){return(this.b&40)!=0},o.ll=function(){return(this.b&16)!=0},o.ml=function(){return(this.b&8)!=0},o.nl=function(){return(this.b&Tw)!=0},o.al=function(){return(this.b&32)!=0},o.ol=function(){return(this.b&Gs)!=0},o.fk=function(e){return this.d?FDn(this.d,e):this.Lk().Hk().fk(e)},o.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},o.Si=function(){return(this.b&128)!=0},o.Gk=function(){var e;me(this),this.b&2&&(fo(this.e)?(e=(this.b&1)!=0,this.b&=-2,e4(this,new Rs(this.e,2,Ot(this.e.Dh(),this.Lk()),e,!1))):this.b&=-2)},o.Yi=function(){return(this.b&1536)==0},o.b=0,w(Tt,"EcoreEList/Generic",1185),b(1186,1185,Qr,qIn),o.Lk=function(){return this.a},w(Tt,"EcoreEList/Dynamic",1186),b(765,66,Ch,FG),o.aj=function(e){return wk(this.a.a,e)},w(Tt,"EcoreEMap/1",765),b(764,83,Qr,yW),o.Mi=function(e,t){uA(this.b,u(t,136))},o.Oi=function(e,t){Kxn(this.b)},o.Pi=function(e,t,i){var r;++(r=this.b,u(t,136),r).e},o.Qi=function(e,t){cx(this.b,u(t,136))},o.Ri=function(e,t,i){cx(this.b,u(i,136)),x(i)===x(t)&&u(i,136).Ci(Jle(u(t,136).ld())),uA(this.b,u(t,136))},w(Tt,"EcoreEMap/DelegateEObjectContainmentEList",764),b(1220,141,Hcn,ixn),w(Tt,"EcoreEMap/Unsettable",1220),b(1221,764,Qr,YAn),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,it(this.e,new Rs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Tt,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),b(1189,215,n2,UPn),o.a=!1,o.b=!1,w(Tt,"EcoreUtil/Copier",1189),b(759,1,Si,SDn),o.Nb=function(e){_i(this,e)},o.Ob=function(){return xBn(this)},o.Pb=function(){var e;return xBn(this),e=this.b,this.b=null,e},o.Qb=function(){this.a.Qb()},w(Tt,"EcoreUtil/ProperContentIterator",759),b(1528,1527,{},M8n);var nse;w(Tt,"EcoreValidator",1528);var ese;Nt(Tt,"FeatureMapUtil/Validator"),b(1295,1,{2041:1},T6n),o.am=function(e){return!0},w(Tt,"FeatureMapUtil/1",1295),b(773,1,{2041:1},ttn),o.am=function(e){var t;return this.c==e?!0:(t=un(ee(this.a,e)),t==null?WAe(this,e)?(SLn(this.a,e,(_n(),uv)),!0):(SLn(this.a,e,(_n(),ga)),!1):t==(_n(),uv))},o.e=!1;var TU;w(Tt,"FeatureMapUtil/BasicValidator",773),b(774,45,n2,LX),w(Tt,"FeatureMapUtil/BasicValidator/Cache",774),b(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},k7),o.bd=function(e,t){mqn(this.c,this.b,e,t)},o.Fc=function(e){return Ten(this.c,this.b,e)},o.cd=function(e,t){return gIe(this.c,this.b,e,t)},o.Gc=function(e){return A6(this,e)},o.Gi=function(e,t){lme(this.c,this.b,e,t)},o.Wk=function(e,t){return men(this.c,this.b,e,t)},o.$i=function(e){return _A(this.c,this.b,e,!1)},o.Ii=function(){return oTn(this.c,this.b)},o.Ji=function(){return Fle(this.c,this.b)},o.Ki=function(e){return g4e(this.c,this.b,e)},o.Xk=function(e,t){return OAn(this,e,t)},o.$b=function(){cp(this)},o.Hc=function(e){return _M(this.c,this.b,e)},o.Ic=function(e){return wve(this.c,this.b,e)},o.Xb=function(e){return _A(this.c,this.b,e,!0)},o.Fk=function(e){return this},o.dd=function(e){return E3e(this.c,this.b,e)},o.dc=function(){return MC(this)},o.Qj=function(){return!xk(this.c,this.b)},o.Kc=function(){return eme(this.c,this.b)},o.ed=function(){return tme(this.c,this.b)},o.fd=function(e){return L5e(this.c,this.b,e)},o.Ti=function(e,t){return LUn(this.c,this.b,e,t)},o.Ui=function(e,t){v4e(this.c,this.b,e,t)},o.gd=function(e){return h_n(this.c,this.b,e)},o.Mc=function(e){return mSe(this.c,this.b,e)},o.hd=function(e,t){return HUn(this.c,this.b,e,t)},o.Wb=function(e){jA(this.c,this.b),A6(this,u(e,15))},o.gc=function(){return D5e(this.c,this.b)},o.Pc=function(){return Mpe(this.c,this.b)},o.Qc=function(e){return C3e(this.c,this.b,e)},o.Ib=function(){var e,t;for(t=new Hl,t.a+="[",e=oTn(this.c,this.b);W$(e);)Er(t,P6(iA(e))),W$(e)&&(t.a+=ur);return t.a+="]",t.a},o.Gk=function(){jA(this.c,this.b)},w(Tt,"FeatureMapUtil/FeatureEList",509),b(644,38,Vy,GN),o.hj=function(e){return g5(this,e)},o.mj=function(e){var t,i,r,c,s,f,h;switch(this.d){case 1:case 2:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0;break}case 3:{switch(c=e.gj(),c){case 3:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return this.d=5,t=new T0(2),ve(t,this.g),ve(t,e.ij()),this.g=t,!0;break}}break}case 5:{switch(c=e.gj(),c){case 3:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return i=u(this.g,16),i.Fc(e.ij()),!0;break}}break}case 4:{switch(c=e.gj(),c){case 3:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return this.d=1,this.g=e.ij(),!0;break}case 4:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return this.d=6,h=new T0(2),ve(h,this.n),ve(h,e.kj()),this.n=h,f=A(T(ye,1),_e,28,15,[this.o,e.lj()]),this.g=f,!0;break}}break}case 6:{switch(c=e.gj(),c){case 4:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return i=u(this.n,16),i.Fc(e.kj()),f=u(this.g,53),r=K(ye,_e,28,f.length+1,15,1),Ic(f,0,r,0,f.length),r[f.length]=e.lj(),this.g=r,!0;break}}break}}return!1},w(Tt,"FeatureMapUtil/FeatureENotificationImpl",644),b(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},nM),o.Ol=function(e,t){return Ten(this.c,e,t)},o.Pl=function(e,t,i){return men(this.c,e,t,i)},o.Ql=function(e,t,i){return Uen(this.c,e,t,i)},o.Rl=function(){return this},o.Sl=function(e,t){return by(this.c,e,t)},o.Tl=function(e){return u(_A(this.c,this.b,e,!1),76).Lk()},o.Ul=function(e){return u(_A(this.c,this.b,e,!1),76).md()},o.Vl=function(){return this.a},o.Wl=function(e){return!xk(this.c,e)},o.Xl=function(e,t){HA(this.c,e,t)},o.Yl=function(e){return uxn(this.c,e)},o.Zl=function(e){BRn(this.c,e)},w(Tt,"FeatureMapUtil/FeatureFeatureMap",564),b(1294,1,TK,NMn),o.Fk=function(e){return _A(this.b,this.a,-1,e)},o.Qj=function(){return!xk(this.b,this.a)},o.Wb=function(e){HA(this.b,this.a,e)},o.Gk=function(){jA(this.b,this.a)},w(Tt,"FeatureMapUtil/FeatureValue",1294);var R3,AU,SU,K3,tse,dE=Nt(eP,"AnyType");b(680,63,Pl,kD),w(eP,"InvalidDatatypeValueException",680);var AO=Nt(eP,IJn),bE=Nt(eP,OJn),c0n=Nt(eP,DJn),ise,yc,u0n,zd,rse,cse,use,ose,sse,fse,hse,lse,ase,dse,bse,G2,wse,z2,N9,gse,jb,wE,gE,pse,$9,x9;b(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},tz),o.Lh=function(e,t,i){switch(e){case 0:return i?(!this.c&&(this.c=new Rt(this,0)),this.c):(!this.c&&(this.c=new Rt(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Rt(this,0)),u($c(this.c,(at(),zd)),160)):(!this.c&&(this.c=new Rt(this,0)),u(u($c(this.c,(at(),zd)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new Rt(this,2)),this.b):(!this.b&&(this.b=new Rt(this,2)),this.b.b)}return zo(this,e-se(this.ii()),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),e),t,i)},o.Uh=function(e,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new Rt(this,0)),hy(this.c,e,i);case 1:return(!this.c&&(this.c=new Rt(this,0)),u(u($c(this.c,(at(),zd)),160),71)).Xk(e,i);case 2:return!this.b&&(this.b=new Rt(this,2)),hy(this.b,e,i)}return r=u($n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),t),69),r.wk().Ak(this,cQ(this),t-se(this.ii()),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Rt(this,0)),u($c(this.c,(at(),zd)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return Uo(this,e-se(this.ii()),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),e))},o.bi=function(e,t){switch(e){case 0:!this.c&&(this.c=new Rt(this,0)),K7(this.c,t);return;case 1:(!this.c&&(this.c=new Rt(this,0)),u(u($c(this.c,(at(),zd)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new Rt(this,2)),K7(this.b,t);return}Jo(this,e-se(this.ii()),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),e),t)},o.ii=function(){return at(),u0n},o.ki=function(e){switch(e){case 0:!this.c&&(this.c=new Rt(this,0)),me(this.c);return;case 1:(!this.c&&(this.c=new Rt(this,0)),u($c(this.c,(at(),zd)),160)).$b();return;case 2:!this.b&&(this.b=new Rt(this,2)),me(this.b);return}Wo(this,e-se(this.ii()),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),e))},o.Ib=function(){var e;return this.j&4?Hs(this):(e=new ls(Hs(this)),e.a+=" (mixed: ",E6(e,this.c),e.a+=", anyAttribute: ",E6(e,this.b),e.a+=")",e.a)},w(oi,"AnyTypeImpl",844),b(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},F6n),o.Lh=function(e,t,i){switch(e){case 0:return this.a;case 1:return this.b}return zo(this,e-se((at(),G2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():G2,e),t,i)},o.Wh=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return Uo(this,e-se((at(),G2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():G2,e))},o.bi=function(e,t){switch(e){case 0:Tfe(this,Oe(t));return;case 1:Sfe(this,Oe(t));return}Jo(this,e-se((at(),G2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():G2,e),t)},o.ii=function(){return at(),G2},o.ki=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}Wo(this,e-se((at(),G2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():G2,e))},o.Ib=function(){var e;return this.j&4?Hs(this):(e=new ls(Hs(this)),e.a+=" (data: ",Er(e,this.a),e.a+=", target: ",Er(e,this.b),e.a+=")",e.a)},o.a=null,o.b=null,w(oi,"ProcessingInstructionImpl",681),b(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},djn),o.Lh=function(e,t,i){switch(e){case 0:return i?(!this.c&&(this.c=new Rt(this,0)),this.c):(!this.c&&(this.c=new Rt(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Rt(this,0)),u($c(this.c,(at(),zd)),160)):(!this.c&&(this.c=new Rt(this,0)),u(u($c(this.c,(at(),zd)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new Rt(this,2)),this.b):(!this.b&&(this.b=new Rt(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Rt(this,0)),Oe(by(this.c,(at(),N9),!0));case 4:return MV(this.a,(!this.c&&(this.c=new Rt(this,0)),Oe(by(this.c,(at(),N9),!0))));case 5:return this.a}return zo(this,e-se((at(),z2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():z2,e),t,i)},o.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Rt(this,0)),u($c(this.c,(at(),zd)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Rt(this,0)),Oe(by(this.c,(at(),N9),!0))!=null;case 4:return MV(this.a,(!this.c&&(this.c=new Rt(this,0)),Oe(by(this.c,(at(),N9),!0))))!=null;case 5:return!!this.a}return Uo(this,e-se((at(),z2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():z2,e))},o.bi=function(e,t){switch(e){case 0:!this.c&&(this.c=new Rt(this,0)),K7(this.c,t);return;case 1:(!this.c&&(this.c=new Rt(this,0)),u(u($c(this.c,(at(),zd)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new Rt(this,2)),K7(this.b,t);return;case 3:dJ(this,Oe(t));return;case 4:dJ(this,CV(this.a,t));return;case 5:Afe(this,u(t,156));return}Jo(this,e-se((at(),z2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():z2,e),t)},o.ii=function(){return at(),z2},o.ki=function(e){switch(e){case 0:!this.c&&(this.c=new Rt(this,0)),me(this.c);return;case 1:(!this.c&&(this.c=new Rt(this,0)),u($c(this.c,(at(),zd)),160)).$b();return;case 2:!this.b&&(this.b=new Rt(this,2)),me(this.b);return;case 3:!this.c&&(this.c=new Rt(this,0)),HA(this.c,(at(),N9),null);return;case 4:dJ(this,CV(this.a,null));return;case 5:this.a=null;return}Wo(this,e-se((at(),z2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():z2,e))},w(oi,"SimpleAnyTypeImpl",682),b(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},bjn),o.Lh=function(e,t,i){switch(e){case 0:return i?(!this.a&&(this.a=new Rt(this,0)),this.a):(!this.a&&(this.a=new Rt(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new Iu((On(),ar),pc,this,1)),this.b):(!this.b&&(this.b=new Iu((On(),ar),pc,this,1)),ik(this.b));case 2:return i?(!this.c&&(this.c=new Iu((On(),ar),pc,this,2)),this.c):(!this.c&&(this.c=new Iu((On(),ar),pc,this,2)),ik(this.c));case 3:return!this.a&&(this.a=new Rt(this,0)),$c(this.a,(at(),wE));case 4:return!this.a&&(this.a=new Rt(this,0)),$c(this.a,(at(),gE));case 5:return!this.a&&(this.a=new Rt(this,0)),$c(this.a,(at(),$9));case 6:return!this.a&&(this.a=new Rt(this,0)),$c(this.a,(at(),x9))}return zo(this,e-se((at(),jb)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():jb,e),t,i)},o.Uh=function(e,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new Rt(this,0)),hy(this.a,e,i);case 1:return!this.b&&(this.b=new Iu((On(),ar),pc,this,1)),qC(this.b,e,i);case 2:return!this.c&&(this.c=new Iu((On(),ar),pc,this,2)),qC(this.c,e,i);case 5:return!this.a&&(this.a=new Rt(this,0)),OAn($c(this.a,(at(),$9)),e,i)}return r=u($n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():(at(),jb),t),69),r.wk().Ak(this,cQ(this),t-se((at(),jb)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new Rt(this,0)),!MC($c(this.a,(at(),wE)));case 4:return!this.a&&(this.a=new Rt(this,0)),!MC($c(this.a,(at(),gE)));case 5:return!this.a&&(this.a=new Rt(this,0)),!MC($c(this.a,(at(),$9)));case 6:return!this.a&&(this.a=new Rt(this,0)),!MC($c(this.a,(at(),x9)))}return Uo(this,e-se((at(),jb)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():jb,e))},o.bi=function(e,t){switch(e){case 0:!this.a&&(this.a=new Rt(this,0)),K7(this.a,t);return;case 1:!this.b&&(this.b=new Iu((On(),ar),pc,this,1)),TT(this.b,t);return;case 2:!this.c&&(this.c=new Iu((On(),ar),pc,this,2)),TT(this.c,t);return;case 3:!this.a&&(this.a=new Rt(this,0)),cp($c(this.a,(at(),wE))),!this.a&&(this.a=new Rt(this,0)),A6($c(this.a,wE),u(t,16));return;case 4:!this.a&&(this.a=new Rt(this,0)),cp($c(this.a,(at(),gE))),!this.a&&(this.a=new Rt(this,0)),A6($c(this.a,gE),u(t,16));return;case 5:!this.a&&(this.a=new Rt(this,0)),cp($c(this.a,(at(),$9))),!this.a&&(this.a=new Rt(this,0)),A6($c(this.a,$9),u(t,16));return;case 6:!this.a&&(this.a=new Rt(this,0)),cp($c(this.a,(at(),x9))),!this.a&&(this.a=new Rt(this,0)),A6($c(this.a,x9),u(t,16));return}Jo(this,e-se((at(),jb)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():jb,e),t)},o.ii=function(){return at(),jb},o.ki=function(e){switch(e){case 0:!this.a&&(this.a=new Rt(this,0)),me(this.a);return;case 1:!this.b&&(this.b=new Iu((On(),ar),pc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new Iu((On(),ar),pc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Rt(this,0)),cp($c(this.a,(at(),wE)));return;case 4:!this.a&&(this.a=new Rt(this,0)),cp($c(this.a,(at(),gE)));return;case 5:!this.a&&(this.a=new Rt(this,0)),cp($c(this.a,(at(),$9)));return;case 6:!this.a&&(this.a=new Rt(this,0)),cp($c(this.a,(at(),x9)));return}Wo(this,e-se((at(),jb)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():jb,e))},o.Ib=function(){var e;return this.j&4?Hs(this):(e=new ls(Hs(this)),e.a+=" (mixed: ",E6(e,this.a),e.a+=")",e.a)},w(oi,"XMLTypeDocumentRootImpl",683),b(2028,720,{110:1,94:1,93:1,479:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},A6n),o.ri=function(e,t){switch(e.hk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return t==null?null:Jr(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Oe(t);case 6:return fae(u(t,195));case 12:case 47:case 49:case 11:return PGn(this,e,t);case 13:return t==null?null:kIe(u(t,247));case 15:case 14:return t==null?null:Mwe($(R(t)));case 17:return MKn((at(),t));case 18:return MKn(t);case 21:case 20:return t==null?null:Twe(u(t,161).a);case 27:return hae(u(t,195));case 30:return RRn((at(),u(t,15)));case 31:return RRn(u(t,15));case 40:return aae((at(),t));case 42:return TKn((at(),t));case 43:return TKn(t);case 59:case 48:return lae((at(),t));default:throw M(new Gn(nv+e.xe()+Y0))}},o.si=function(e){var t,i,r,c,s;switch(e.G==-1&&(e.G=(i=jo(e),i?f1(i.vi(),e):-1)),e.G){case 0:return t=new tz,t;case 1:return r=new F6n,r;case 2:return c=new djn,c;case 3:return s=new bjn,s;default:throw M(new Gn(hK+e.zb+Y0))}},o.ti=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,S,I;switch(e.hk()){case 5:case 52:case 4:return t;case 6:return m9e(t);case 8:case 7:return t==null?null:rye(t);case 9:return t==null?null:lk(Ao((r=Fc(t,!0),r.length>0&&(zn(0,r.length),r.charCodeAt(0)==43)?(zn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:lk(Ao((c=Fc(t,!0),c.length>0&&(zn(0,c.length),c.charCodeAt(0)==43)?(zn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Oe(U0(this,(at(),use),t));case 12:return Oe(U0(this,(at(),ose),t));case 13:return t==null?null:new Tz(Fc(t,!0));case 15:case 14:return AMe(t);case 16:return Oe(U0(this,(at(),sse),t));case 17:return _Bn((at(),t));case 18:return _Bn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Fc(t,!0);case 21:case 20:return FMe(t);case 22:return Oe(U0(this,(at(),fse),t));case 23:return Oe(U0(this,(at(),hse),t));case 24:return Oe(U0(this,(at(),lse),t));case 25:return Oe(U0(this,(at(),ase),t));case 26:return Oe(U0(this,(at(),dse),t));case 27:return u9e(t);case 30:return HBn((at(),t));case 31:return HBn(t);case 32:return t==null?null:Y(Ao((d=Fc(t,!0),d.length>0&&(zn(0,d.length),d.charCodeAt(0)==43)?(zn(1,d.length+1),d.substr(1)):d),Wi,et));case 33:return t==null?null:new H1((g=Fc(t,!0),g.length>0&&(zn(0,g.length),g.charCodeAt(0)==43)?(zn(1,g.length+1),g.substr(1)):g));case 34:return t==null?null:Y(Ao((p=Fc(t,!0),p.length>0&&(zn(0,p.length),p.charCodeAt(0)==43)?(zn(1,p.length+1),p.substr(1)):p),Wi,et));case 36:return t==null?null:Ml(zA((m=Fc(t,!0),m.length>0&&(zn(0,m.length),m.charCodeAt(0)==43)?(zn(1,m.length+1),m.substr(1)):m)));case 37:return t==null?null:Ml(zA((k=Fc(t,!0),k.length>0&&(zn(0,k.length),k.charCodeAt(0)==43)?(zn(1,k.length+1),k.substr(1)):k)));case 40:return i7e((at(),t));case 42:return qBn((at(),t));case 43:return qBn(t);case 44:return t==null?null:new H1((j=Fc(t,!0),j.length>0&&(zn(0,j.length),j.charCodeAt(0)==43)?(zn(1,j.length+1),j.substr(1)):j));case 45:return t==null?null:new H1((S=Fc(t,!0),S.length>0&&(zn(0,S.length),S.charCodeAt(0)==43)?(zn(1,S.length+1),S.substr(1)):S));case 46:return Fc(t,!1);case 47:return Oe(U0(this,(at(),bse),t));case 59:case 48:return t7e((at(),t));case 49:return Oe(U0(this,(at(),wse),t));case 50:return t==null?null:om(Ao((I=Fc(t,!0),I.length>0&&(zn(0,I.length),I.charCodeAt(0)==43)?(zn(1,I.length+1),I.substr(1)):I),QS,32767)<<16>>16);case 51:return t==null?null:om(Ao((s=Fc(t,!0),s.length>0&&(zn(0,s.length),s.charCodeAt(0)==43)?(zn(1,s.length+1),s.substr(1)):s),QS,32767)<<16>>16);case 53:return Oe(U0(this,(at(),gse),t));case 55:return t==null?null:om(Ao((f=Fc(t,!0),f.length>0&&(zn(0,f.length),f.charCodeAt(0)==43)?(zn(1,f.length+1),f.substr(1)):f),QS,32767)<<16>>16);case 56:return t==null?null:om(Ao((h=Fc(t,!0),h.length>0&&(zn(0,h.length),h.charCodeAt(0)==43)?(zn(1,h.length+1),h.substr(1)):h),QS,32767)<<16>>16);case 57:return t==null?null:Ml(zA((l=Fc(t,!0),l.length>0&&(zn(0,l.length),l.charCodeAt(0)==43)?(zn(1,l.length+1),l.substr(1)):l)));case 58:return t==null?null:Ml(zA((a=Fc(t,!0),a.length>0&&(zn(0,a.length),a.charCodeAt(0)==43)?(zn(1,a.length+1),a.substr(1)):a)));case 60:return t==null?null:Y(Ao((i=Fc(t,!0),i.length>0&&(zn(0,i.length),i.charCodeAt(0)==43)?(zn(1,i.length+1),i.substr(1)):i),Wi,et));case 61:return t==null?null:Y(Ao(Fc(t,!0),Wi,et));default:throw M(new Gn(nv+e.xe()+Y0))}};var mse,o0n,vse,s0n;w(oi,"XMLTypeFactoryImpl",2028),b(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},aIn),o.N=!1,o.O=!1;var kse=!1;w(oi,"XMLTypePackageImpl",594),b(1961,1,{851:1},S6n),o.Kk=function(){return $en(),Pse},w(oi,"XMLTypePackageImpl/1",1961),b(1970,1,ze,P6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/10",1970),b(1971,1,ze,I6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/11",1971),b(1972,1,ze,O6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/12",1972),b(1973,1,ze,D6n),o.fk=function(e){return $b(e)},o.gk=function(e){return K(si,J,345,e,7,1)},w(oi,"XMLTypePackageImpl/13",1973),b(1974,1,ze,L6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/14",1974),b(1975,1,ze,N6n),o.fk=function(e){return D(e,15)},o.gk=function(e){return K(rs,kw,15,e,0,1)},w(oi,"XMLTypePackageImpl/15",1975),b(1976,1,ze,$6n),o.fk=function(e){return D(e,15)},o.gk=function(e){return K(rs,kw,15,e,0,1)},w(oi,"XMLTypePackageImpl/16",1976),b(1977,1,ze,x6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/17",1977),b(1978,1,ze,B6n),o.fk=function(e){return D(e,161)},o.gk=function(e){return K(ov,J,161,e,0,1)},w(oi,"XMLTypePackageImpl/18",1978),b(1979,1,ze,R6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/19",1979),b(1962,1,ze,K6n),o.fk=function(e){return D(e,857)},o.gk=function(e){return K(dE,Fn,857,e,0,1)},w(oi,"XMLTypePackageImpl/2",1962),b(1980,1,ze,_6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/20",1980),b(1981,1,ze,H6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/21",1981),b(1982,1,ze,q6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/22",1982),b(1983,1,ze,U6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/23",1983),b(1984,1,ze,G6n),o.fk=function(e){return D(e,195)},o.gk=function(e){return K(Fu,J,195,e,0,2)},w(oi,"XMLTypePackageImpl/24",1984),b(1985,1,ze,z6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/25",1985),b(1986,1,ze,X6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/26",1986),b(1987,1,ze,V6n),o.fk=function(e){return D(e,15)},o.gk=function(e){return K(rs,kw,15,e,0,1)},w(oi,"XMLTypePackageImpl/27",1987),b(1988,1,ze,W6n),o.fk=function(e){return D(e,15)},o.gk=function(e){return K(rs,kw,15,e,0,1)},w(oi,"XMLTypePackageImpl/28",1988),b(1989,1,ze,J6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/29",1989),b(1963,1,ze,Q6n),o.fk=function(e){return D(e,681)},o.gk=function(e){return K(AO,Fn,2119,e,0,1)},w(oi,"XMLTypePackageImpl/3",1963),b(1990,1,ze,Y6n),o.fk=function(e){return D(e,17)},o.gk=function(e){return K(Gi,J,17,e,0,1)},w(oi,"XMLTypePackageImpl/30",1990),b(1991,1,ze,Z6n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/31",1991),b(1992,1,ze,n5n),o.fk=function(e){return D(e,168)},o.gk=function(e){return K(nb,J,168,e,0,1)},w(oi,"XMLTypePackageImpl/32",1992),b(1993,1,ze,e5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/33",1993),b(1994,1,ze,t5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/34",1994),b(1995,1,ze,i5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/35",1995),b(1996,1,ze,r5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/36",1996),b(1997,1,ze,c5n),o.fk=function(e){return D(e,15)},o.gk=function(e){return K(rs,kw,15,e,0,1)},w(oi,"XMLTypePackageImpl/37",1997),b(1998,1,ze,u5n),o.fk=function(e){return D(e,15)},o.gk=function(e){return K(rs,kw,15,e,0,1)},w(oi,"XMLTypePackageImpl/38",1998),b(1999,1,ze,o5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/39",1999),b(1964,1,ze,s5n),o.fk=function(e){return D(e,682)},o.gk=function(e){return K(bE,Fn,2120,e,0,1)},w(oi,"XMLTypePackageImpl/4",1964),b(2e3,1,ze,f5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/40",2e3),b(2001,1,ze,h5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/41",2001),b(2002,1,ze,l5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/42",2002),b(2003,1,ze,a5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/43",2003),b(2004,1,ze,d5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/44",2004),b(2005,1,ze,b5n),o.fk=function(e){return D(e,191)},o.gk=function(e){return K(eb,J,191,e,0,1)},w(oi,"XMLTypePackageImpl/45",2005),b(2006,1,ze,w5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/46",2006),b(2007,1,ze,g5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/47",2007),b(2008,1,ze,p5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/48",2008),b(2009,1,ze,m5n),o.fk=function(e){return D(e,191)},o.gk=function(e){return K(eb,J,191,e,0,1)},w(oi,"XMLTypePackageImpl/49",2009),b(1965,1,ze,v5n),o.fk=function(e){return D(e,683)},o.gk=function(e){return K(c0n,Fn,2121,e,0,1)},w(oi,"XMLTypePackageImpl/5",1965),b(2010,1,ze,k5n),o.fk=function(e){return D(e,168)},o.gk=function(e){return K(nb,J,168,e,0,1)},w(oi,"XMLTypePackageImpl/50",2010),b(2011,1,ze,y5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/51",2011),b(2012,1,ze,j5n),o.fk=function(e){return D(e,17)},o.gk=function(e){return K(Gi,J,17,e,0,1)},w(oi,"XMLTypePackageImpl/52",2012),b(1966,1,ze,E5n),o.fk=function(e){return Ai(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/6",1966),b(1967,1,ze,C5n),o.fk=function(e){return D(e,195)},o.gk=function(e){return K(Fu,J,195,e,0,2)},w(oi,"XMLTypePackageImpl/7",1967),b(1968,1,ze,M5n),o.fk=function(e){return Nb(e)},o.gk=function(e){return K(Gt,J,484,e,8,1)},w(oi,"XMLTypePackageImpl/8",1968),b(1969,1,ze,T5n),o.fk=function(e){return D(e,222)},o.gk=function(e){return K(p3,J,222,e,0,1)},w(oi,"XMLTypePackageImpl/9",1969);var nh,O1,F9,SO,P;b(55,63,Pl,Le),w(p1,"RegEx/ParseException",55),b(836,1,{},iG),o.bm=function(e){return ei*16)throw M(new Le($e((Ie(),qWn))));i=i*16+c}while(!0);if(this.a!=125)throw M(new Le($e((Ie(),UWn))));if(i>rv)throw M(new Le($e((Ie(),GWn))));e=i}else{if(c=0,this.c!=0||(c=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(i=c,Ze(this),this.c!=0||(c=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));i=i*16+c,e=i}break;case 117:if(r=0,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));t=t*16+r,e=t;break;case 118:if(Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw M(new Le($e((Ie(),g1))));if(t=t*16+r,t>rv)throw M(new Le($e((Ie(),"parser.descappe.4"))));e=t;break;case 65:case 90:case 122:throw M(new Le($e((Ie(),zWn))))}return e},o.dm=function(e){var t,i;switch(e){case 100:i=(this.e&32)==32?sa("Nd",!0):(nt(),PO);break;case 68:i=(this.e&32)==32?sa("Nd",!1):(nt(),b0n);break;case 119:i=(this.e&32)==32?sa("IsWord",!0):(nt(),Uv);break;case 87:i=(this.e&32)==32?sa("IsWord",!1):(nt(),g0n);break;case 115:i=(this.e&32)==32?sa("IsSpace",!0):(nt(),_3);break;case 83:i=(this.e&32)==32?sa("IsSpace",!1):(nt(),w0n);break;default:throw M(new ec((t=e,zJn+t.toString(16))))}return i},o.em=function(e){var t,i,r,c,s,f,h,l,a,d,g,p;for(this.b=1,Ze(this),t=null,this.c==0&&this.a==94?(Ze(this),e?d=(nt(),nt(),new yo(5)):(t=(nt(),nt(),new yo(4)),xc(t,0,rv),d=new yo(4))):d=(nt(),nt(),new yo(4)),c=!0;(p=this.c)!=1&&!(p==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,p==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:gw(d,this.dm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.um(d,i),i<0&&(r=!0);break;case 112:case 80:if(g=Lnn(this,i),!g)throw M(new Le($e((Ie(),EK))));gw(d,g),r=!0;break;default:i=this.cm()}else if(p==20){if(f=b4(this.i,58,this.d),f<0)throw M(new Le($e((Ie(),xcn))));if(h=!0,Xi(this.i,this.d)==94&&(++this.d,h=!1),s=qo(this.i,this.d,f),l=pNn(s,h,(this.e&512)==512),!l)throw M(new Le($e((Ie(),BWn))));if(gw(d,l),r=!0,f+1>=this.j||Xi(this.i,f+1)!=93)throw M(new Le($e((Ie(),xcn))));this.d=f+2}if(Ze(this),!r)if(this.c!=0||this.a!=45)xc(d,i,i);else{if(Ze(this),(p=this.c)==1)throw M(new Le($e((Ie(),US))));p==0&&this.a==93?(xc(d,i,i),xc(d,45,45)):(a=this.a,p==10&&(a=this.cm()),Ze(this),xc(d,i,a))}(this.e&Gs)==Gs&&this.c==0&&this.a==44&&Ze(this)}if(this.c==1)throw M(new Le($e((Ie(),US))));return t&&(z5(t,d),d=t),Gg(d),U5(d),this.b=0,Ze(this),d},o.fm=function(){var e,t,i,r;for(i=this.em(!1);(r=this.c)!=7;)if(e=this.a,r==0&&(e==45||e==38)||r==4){if(Ze(this),this.c!=9)throw M(new Le($e((Ie(),KWn))));if(t=this.em(!1),r==4)gw(i,t);else if(e==45)z5(i,t);else if(e==38)MGn(i,t);else throw M(new ec("ASSERT"))}else throw M(new Le($e((Ie(),_Wn))));return Ze(this),i},o.gm=function(){var e,t;return e=this.a-48,t=(nt(),nt(),new IN(12,null,e)),!this.g&&(this.g=new FE),xE(this.g,new BG(e)),Ze(this),t},o.hm=function(){return Ze(this),nt(),Ese},o.im=function(){return Ze(this),nt(),jse},o.jm=function(){throw M(new Le($e((Ie(),is))))},o.km=function(){throw M(new Le($e((Ie(),is))))},o.lm=function(){return Ze(this),y6e()},o.mm=function(){return Ze(this),nt(),Mse},o.nm=function(){return Ze(this),nt(),Ase},o.om=function(){var e;if(this.d>=this.j||((e=Xi(this.i,this.d++))&65504)!=64)throw M(new Le($e((Ie(),$Wn))));return Ze(this),nt(),nt(),new Nh(0,e-64)},o.pm=function(){return Ze(this),CPe()},o.qm=function(){return Ze(this),nt(),Sse},o.rm=function(){var e;return e=(nt(),nt(),new Nh(0,105)),Ze(this),e},o.sm=function(){return Ze(this),nt(),Tse},o.tm=function(){return Ze(this),nt(),Cse},o.um=function(e,t){return this.cm()},o.vm=function(){return Ze(this),nt(),a0n},o.wm=function(){var e,t,i,r,c;if(this.d+1>=this.j)throw M(new Le($e((Ie(),DWn))));if(r=-1,t=null,e=Xi(this.i,this.d),49<=e&&e<=57){if(r=e-48,!this.g&&(this.g=new FE),xE(this.g,new BG(r)),++this.d,Xi(this.i,this.d)!=41)throw M(new Le($e((Ie(),Ad))));++this.d}else switch(e==63&&--this.d,Ze(this),t=utn(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw M(new Le($e((Ie(),Ad))));break;default:throw M(new Le($e((Ie(),LWn))))}if(Ze(this),c=x0(this),i=null,c.e==2){if(c.Pm()!=2)throw M(new Le($e((Ie(),NWn))));i=c.Lm(1),c=c.Lm(0)}if(this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),nt(),nt(),new YNn(r,t,c,i)},o.xm=function(){return Ze(this),nt(),d0n},o.ym=function(){var e;if(Ze(this),e=bM(24,x0(this)),this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),e},o.zm=function(){var e;if(Ze(this),e=bM(20,x0(this)),this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),e},o.Am=function(){var e;if(Ze(this),e=bM(22,x0(this)),this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),e},o.Bm=function(){var e,t,i,r,c;for(e=0,i=0,t=-1;this.d=this.j)throw M(new Le($e((Ie(),Ncn))));if(t==45){for(++this.d;this.d=this.j)throw M(new Le($e((Ie(),Ncn))))}if(t==58){if(++this.d,Ze(this),r=XPn(x0(this),e,i),this.c!=7)throw M(new Le($e((Ie(),Ad))));Ze(this)}else if(t==41)++this.d,Ze(this),r=XPn(x0(this),e,i);else throw M(new Le($e((Ie(),OWn))));return r},o.Cm=function(){var e;if(Ze(this),e=bM(21,x0(this)),this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),e},o.Dm=function(){var e;if(Ze(this),e=bM(23,x0(this)),this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),e},o.Em=function(){var e,t;if(Ze(this),e=this.f++,t=rN(x0(this),e),this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),t},o.Fm=function(){var e;if(Ze(this),e=rN(x0(this),0),this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),e},o.Gm=function(e){return Ze(this),this.c==5?(Ze(this),cM(e,(nt(),nt(),new Xb(9,e)))):cM(e,(nt(),nt(),new Xb(3,e)))},o.Hm=function(e){var t;return Ze(this),t=(nt(),nt(),new T6(2)),this.c==5?(Ze(this),pd(t,R9),pd(t,e)):(pd(t,e),pd(t,R9)),t},o.Im=function(e){return Ze(this),this.c==5?(Ze(this),nt(),nt(),new Xb(9,e)):(nt(),nt(),new Xb(3,e))},o.a=0,o.b=0,o.c=0,o.d=0,o.e=0,o.f=1,o.g=null,o.j=0,w(p1,"RegEx/RegexParser",836),b(1947,836,{},wjn),o.bm=function(e){return!1},o.cm=function(){return ben(this)},o.dm=function(e){return Pm(e)},o.em=function(e){return kzn(this)},o.fm=function(){throw M(new Le($e((Ie(),is))))},o.gm=function(){throw M(new Le($e((Ie(),is))))},o.hm=function(){throw M(new Le($e((Ie(),is))))},o.im=function(){throw M(new Le($e((Ie(),is))))},o.jm=function(){return Ze(this),Pm(67)},o.km=function(){return Ze(this),Pm(73)},o.lm=function(){throw M(new Le($e((Ie(),is))))},o.mm=function(){throw M(new Le($e((Ie(),is))))},o.nm=function(){throw M(new Le($e((Ie(),is))))},o.om=function(){return Ze(this),Pm(99)},o.pm=function(){throw M(new Le($e((Ie(),is))))},o.qm=function(){throw M(new Le($e((Ie(),is))))},o.rm=function(){return Ze(this),Pm(105)},o.sm=function(){throw M(new Le($e((Ie(),is))))},o.tm=function(){throw M(new Le($e((Ie(),is))))},o.um=function(e,t){return gw(e,Pm(t)),-1},o.vm=function(){return Ze(this),nt(),nt(),new Nh(0,94)},o.wm=function(){throw M(new Le($e((Ie(),is))))},o.xm=function(){return Ze(this),nt(),nt(),new Nh(0,36)},o.ym=function(){throw M(new Le($e((Ie(),is))))},o.zm=function(){throw M(new Le($e((Ie(),is))))},o.Am=function(){throw M(new Le($e((Ie(),is))))},o.Bm=function(){throw M(new Le($e((Ie(),is))))},o.Cm=function(){throw M(new Le($e((Ie(),is))))},o.Dm=function(){throw M(new Le($e((Ie(),is))))},o.Em=function(){var e;if(Ze(this),e=rN(x0(this),0),this.c!=7)throw M(new Le($e((Ie(),Ad))));return Ze(this),e},o.Fm=function(){throw M(new Le($e((Ie(),is))))},o.Gm=function(e){return Ze(this),cM(e,(nt(),nt(),new Xb(3,e)))},o.Hm=function(e){var t;return Ze(this),t=(nt(),nt(),new T6(2)),pd(t,e),pd(t,R9),t},o.Im=function(e){return Ze(this),nt(),nt(),new Xb(3,e)};var X2=null,Hv=null;w(p1,"RegEx/ParserForXMLSchema",1947),b(122,1,cv,Wd),o.Jm=function(e){throw M(new ec("Not supported."))},o.Km=function(){return-1},o.Lm=function(e){return null},o.Mm=function(){return null},o.Nm=function(e){},o.Om=function(e){},o.Pm=function(){return 0},o.Ib=function(){return this.Qm(0)},o.Qm=function(e){return this.e==11?".":""},o.e=0;var f0n,qv,B9,yse,h0n,rg=null,PO,PU=null,l0n,R9,IU=null,a0n,d0n,b0n,w0n,g0n,jse,_3,Ese,Cse,Mse,Tse,Uv,Ase,Sse,NNe=w(p1,"RegEx/Token",122);b(138,122,{3:1,138:1,122:1},yo),o.Qm=function(e){var t,i,r;if(this.e==4)if(this==l0n)i=".";else if(this==PO)i="\\d";else if(this==Uv)i="\\w";else if(this==_3)i="\\s";else{for(r=new Hl,r.a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Er(r,dy(this.b[t])):(Er(r,dy(this.b[t])),r.a+="-",Er(r,dy(this.b[t+1])));r.a+="]",i=r.a}else if(this==b0n)i="\\D";else if(this==g0n)i="\\W";else if(this==w0n)i="\\S";else{for(r=new Hl,r.a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Er(r,dy(this.b[t])):(Er(r,dy(this.b[t])),r.a+="-",Er(r,dy(this.b[t+1])));r.a+="]",i=r.a}return i},o.a=!1,o.c=!1,w(p1,"RegEx/RangeToken",138),b(592,1,{592:1},BG),o.a=0,w(p1,"RegEx/RegexParser/ReferencePosition",592),b(591,1,{3:1,591:1},IEn),o.Fb=function(e){var t;return e==null||!D(e,591)?!1:(t=u(e,591),An(this.b,t.b)&&this.a==t.a)},o.Hb=function(){return t1(this.b+"/"+oen(this.a))},o.Ib=function(){return this.c.Qm(this.a)},o.a=0,w(p1,"RegEx/RegularExpression",591),b(228,122,cv,Nh),o.Km=function(){return this.a},o.Qm=function(e){var t,i,r;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:r="\\"+LL(this.a&ui);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=hr?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+qo(i,i.length-6,i.length)):r=""+LL(this.a&ui)}break;case 8:this==a0n||this==d0n?r=""+LL(this.a&ui):r="\\"+LL(this.a&ui);break;default:r=null}return r},o.a=0,w(p1,"RegEx/Token/CharToken",228),b(318,122,cv,Xb),o.Lm=function(e){return this.a},o.Nm=function(e){this.b=e},o.Om=function(e){this.c=e},o.Pm=function(){return 1},o.Qm=function(e){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Qm(e)+"*";else if(this.c==this.b)t=this.a.Qm(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Qm(e)+"{"+this.c+",}";else throw M(new ec("Token#toString(): CLOSURE "+this.c+ur+this.b));else if(this.c<0&&this.b<0)t=this.a.Qm(e)+"*?";else if(this.c==this.b)t=this.a.Qm(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Qm(e)+"{"+this.c+",}?";else throw M(new ec("Token#toString(): NONGREEDYCLOSURE "+this.c+ur+this.b));return t},o.b=0,o.c=0,w(p1,"RegEx/Token/ClosureToken",318),b(837,122,cv,AW),o.Lm=function(e){return e==0?this.a:this.b},o.Pm=function(){return 2},o.Qm=function(e){var t;return this.b.e==3&&this.b.Lm(0)==this.a?t=this.a.Qm(e)+"+":this.b.e==9&&this.b.Lm(0)==this.a?t=this.a.Qm(e)+"+?":t=this.a.Qm(e)+(""+this.b.Qm(e)),t},w(p1,"RegEx/Token/ConcatToken",837),b(1945,122,cv,YNn),o.Lm=function(e){if(e==0)return this.d;if(e==1)return this.b;throw M(new ec("Internal Error: "+e))},o.Pm=function(){return this.b?2:1},o.Qm=function(e){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},o.c=0,w(p1,"RegEx/Token/ConditionToken",1945),b(1946,122,cv,HOn),o.Lm=function(e){return this.b},o.Pm=function(){return 1},o.Qm=function(e){return"(?"+(this.a==0?"":oen(this.a))+(this.c==0?"":oen(this.c))+":"+this.b.Qm(e)+")"},o.a=0,o.c=0,w(p1,"RegEx/Token/ModifierToken",1946),b(838,122,cv,FW),o.Lm=function(e){return this.a},o.Pm=function(){return 1},o.Qm=function(e){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Qm(e)+")":t="("+this.a.Qm(e)+")";break;case 20:t="(?="+this.a.Qm(e)+")";break;case 21:t="(?!"+this.a.Qm(e)+")";break;case 22:t="(?<="+this.a.Qm(e)+")";break;case 23:t="(?"+this.a.Qm(e)+")"}return t},o.b=0,w(p1,"RegEx/Token/ParenToken",838),b(530,122,{3:1,122:1,530:1},IN),o.Mm=function(){return this.b},o.Qm=function(e){return this.e==12?"\\"+this.a:gMe(this.b)},o.a=0,w(p1,"RegEx/Token/StringToken",530),b(476,122,cv,T6),o.Jm=function(e){pd(this,e)},o.Lm=function(e){return u(m0(this.a,e),122)},o.Pm=function(){return this.a?this.a.a.c.length:0},o.Qm=function(e){var t,i,r,c,s;if(this.e==1){if(this.a.a.c.length==2)t=u(m0(this.a,0),122),i=u(m0(this.a,1),122),i.e==3&&i.Lm(0)==t?c=t.Qm(e)+"+":i.e==9&&i.Lm(0)==t?c=t.Qm(e)+"+?":c=t.Qm(e)+(""+i.Qm(e));else{for(s=new Hl,r=0;r=this.c.b:this.a<=this.c.b},o.Sb=function(){return this.b>0},o.Tb=function(){return this.b},o.Vb=function(){return this.b-1},o.Qb=function(){throw M(new Kl(ZJn))},o.a=0,o.b=0,w(eun,"ExclusiveRange/RangeIterator",258);var fs=T4(GS,"C"),ye=T4(v8,"I"),so=T4(i3,"Z"),Fa=T4(k8,"J"),Fu=T4(g8,"B"),Pi=T4(p8,"D"),cg=T4(m8,"F"),V2=T4(y8,"S"),$Ne=Nt("org.eclipse.elk.core.labels","ILabelManager"),p0n=Nt(or,"DiagnosticChain"),m0n=Nt(AJn,"ResourceSet"),v0n=w(or,"InvocationTargetException",null),Ise=(_E(),W3e),Ose=Ose=Kke;Hme(Bfe),Bme("permProps",[[["locale","default"],[nQn,"gecko1_8"]],[["locale","default"],[nQn,"safari"]]]),Ose(null,"elk",null)}).call(this)}).call(this,typeof Nse<"u"?Nse:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(Xt,gt,Sr){function Di(Jt,Xe){if(!(Jt instanceof Xe))throw new TypeError("Cannot call a class as a function")}function y(Jt,Xe){if(!Jt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Xe&&(typeof Xe=="object"||typeof Xe=="function")?Xe:Jt}function Wt(Jt,Xe){if(typeof Xe!="function"&&Xe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Xe);Jt.prototype=Object.create(Xe&&Xe.prototype,{constructor:{value:Jt,enumerable:!1,writable:!0,configurable:!0}}),Xe&&(Object.setPrototypeOf?Object.setPrototypeOf(Jt,Xe):Jt.__proto__=Xe)}var Bu=Xt("./elk-api.js").default,Ht=function(Jt){Wt(Xe,Jt);function Xe(){var Yi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Di(this,Xe);var Ri=Object.assign({},Yi),En=!1;try{Xt.resolve("web-worker"),En=!0}catch{}if(Yi.workerUrl)if(En){var hu=Xt("web-worker");Ri.workerFactory=function(Pr){return new hu(Pr)}}else console.warn(`Web worker requested but 'web-worker' package not installed. +Consider installing the package or pass your own 'workerFactory' to ELK's constructor. +... Falling back to non-web worker version.`);if(!Ri.workerFactory){var Qc=Xt("./elk-worker.min.js"),Ru=Qc.Worker;Ri.workerFactory=function(Pr){return new Ru(Pr)}}return y(this,(Xe.__proto__||Object.getPrototypeOf(Xe)).call(this,Ri))}return Xe}(Bu);Object.defineProperty(gt.exports,"__esModule",{value:!0}),gt.exports=Ht,Ht.default=Ht},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(Xt,gt,Sr){gt.exports=Worker},{}]},{},[3])(3)})})(Bse);var VNe=Bse.exports;const WNe=zNe(VNe),JNe=(ct,_t,Xt)=>{const{parentById:gt}=Xt,Sr=new Set;let Di=ct;for(;Di;){if(Sr.add(Di),Di===_t)return Di;Di=gt[Di]}for(Di=_t;Di;){if(Sr.has(Di))return Di;Di=gt[Di]}return"root"},$se=new WNe;let Mb={};const QNe={};let z3={};const YNe=async function(ct,_t,Xt,gt,Sr,Di,y){const Bu=Xt.select(`[id="${_t}"]`).insert("g").attr("class","nodes"),Ht=Object.keys(ct);return await Promise.all(Ht.map(async function(Jt){const Xe=ct[Jt];let Yi="default";Xe.classes.length>0&&(Yi=Xe.classes.join(" ")),Yi=Yi+" flowchart-label";const Ri=j0n(Xe.styles);let En=Xe.text!==void 0?Xe.text:Xe.id;const hu={width:0,height:0},Qc=[{id:Xe.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:Xe.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:Xe.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:Xe.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let Ru=0,Pr="",Mf={};switch(Xe.type){case"round":Ru=5,Pr="rect";break;case"square":Pr="rect";break;case"diamond":Pr="question",Mf={portConstraints:"FIXED_SIDE"};break;case"hexagon":Pr="hexagon";break;case"odd":Pr="rect_left_inv_arrow";break;case"lean_right":Pr="lean_right";break;case"lean_left":Pr="lean_left";break;case"trapezoid":Pr="trapezoid";break;case"inv_trapezoid":Pr="inv_trapezoid";break;case"odd_right":Pr="rect_left_inv_arrow";break;case"circle":Pr="circle";break;case"ellipse":Pr="ellipse";break;case"stadium":Pr="stadium";break;case"subroutine":Pr="subroutine";break;case"cylinder":Pr="cylinder";break;case"group":Pr="rect";break;case"doublecircle":Pr="doublecircle";break;default:Pr="rect"}const L1={labelStyle:Ri.labelStyle,shape:Pr,labelText:En,labelType:Xe.labelType,rx:Ru,ry:Ru,class:Yi,style:Ri.style,id:Xe.id,link:Xe.link,linkTarget:Xe.linkTarget,tooltip:Sr.db.getTooltip(Xe.id)||"",domId:Sr.db.lookUpDomId(Xe.id),haveCallback:Xe.haveCallback,width:Xe.type==="group"?500:void 0,dir:Xe.dir,type:Xe.type,props:Xe.props,padding:$U().flowchart.padding};let N1,og;if(L1.type!=="group")og=await _Ne(Bu,L1,Xe.dir),N1=og.node().getBBox();else{gt.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:$1,bbox:ul}=await HNe(Bu,L1,void 0,!0);hu.width=ul.width,hu.wrappingWidth=$U().flowchart.wrappingWidth,hu.height=ul.height,hu.labelNode=$1.node(),L1.labelData=hu}const X3={id:Xe.id,ports:Xe.type==="diamond"?Qc:[],layoutOptions:Mf,labelText:En,labelData:hu,domId:Sr.db.lookUpDomId(Xe.id),width:N1?.width,height:N1?.height,type:Xe.type,el:og,parent:Di.parentById[Xe.id]};z3[L1.id]=X3})),y},xse=(ct,_t,Xt)=>{const gt={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return gt.TD=gt.TB,gt[Xt][_t][ct]},Fse=(ct,_t,Xt)=>{if(Ra.info("getNextPort",{node:ct,edgeDirection:_t,graphDirection:Xt}),!Mb[ct])switch(Xt){case"TB":case"TD":Mb[ct]={inPosition:"north",outPosition:"south"};break;case"BT":Mb[ct]={inPosition:"south",outPosition:"north"};break;case"RL":Mb[ct]={inPosition:"east",outPosition:"west"};break;case"LR":Mb[ct]={inPosition:"west",outPosition:"east"};break}const gt=_t==="in"?Mb[ct].inPosition:Mb[ct].outPosition;return _t==="in"?Mb[ct].inPosition=xse(Mb[ct].inPosition,_t,Xt):Mb[ct].outPosition=xse(Mb[ct].outPosition,_t,Xt),gt},ZNe=(ct,_t)=>{let Xt=ct.start,gt=ct.end;const Sr=Xt,Di=gt,y=z3[Xt],Wt=z3[gt];return!y||!Wt?{source:Xt,target:gt}:(y.type==="diamond"&&(Xt=`${Xt}-${Fse(Xt,"out",_t)}`),Wt.type==="diamond"&&(gt=`${gt}-${Fse(gt,"in",_t)}`),{source:Xt,target:gt,sourceId:Sr,targetId:Di})},n$e=function(ct,_t,Xt,gt){Ra.info("abc78 edges = ",ct);const Sr=gt.insert("g").attr("class","edgeLabels");let Di={},y=_t.db.getDirection(),Wt,Bu;if(ct.defaultStyle!==void 0){const Ht=j0n(ct.defaultStyle);Wt=Ht.style,Bu=Ht.labelStyle}return ct.forEach(function(Ht){const Jt="L-"+Ht.start+"-"+Ht.end;Di[Jt]===void 0?(Di[Jt]=0,Ra.info("abc78 new entry",Jt,Di[Jt])):(Di[Jt]++,Ra.info("abc78 new entry",Jt,Di[Jt]));let Xe=Jt+"-"+Di[Jt];Ra.info("abc78 new link id to be used is",Jt,Xe,Di[Jt]);const Yi="LS-"+Ht.start,Ri="LE-"+Ht.end,En={style:"",labelStyle:""};switch(En.minlen=Ht.length||1,Ht.type==="arrow_open"?En.arrowhead="none":En.arrowhead="normal",En.arrowTypeStart="arrow_open",En.arrowTypeEnd="arrow_open",Ht.type){case"double_arrow_cross":En.arrowTypeStart="arrow_cross";case"arrow_cross":En.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":En.arrowTypeStart="arrow_point";case"arrow_point":En.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":En.arrowTypeStart="arrow_circle";case"arrow_circle":En.arrowTypeEnd="arrow_circle";break}let hu="",Qc="";switch(Ht.stroke){case"normal":hu="fill:none;",Wt!==void 0&&(hu=Wt),Bu!==void 0&&(Qc=Bu),En.thickness="normal",En.pattern="solid";break;case"dotted":En.thickness="normal",En.pattern="dotted",En.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":En.thickness="thick",En.pattern="solid",En.style="stroke-width: 3.5px;fill:none;";break}if(Ht.style!==void 0){const og=j0n(Ht.style);hu=og.style,Qc=og.labelStyle}En.style=En.style+=hu,En.labelStyle=En.labelStyle+=Qc,Ht.interpolate!==void 0?En.curve=y0n(Ht.interpolate,NU):ct.defaultInterpolate!==void 0?En.curve=y0n(ct.defaultInterpolate,NU):En.curve=y0n(QNe.curve,NU),Ht.text===void 0?Ht.style!==void 0&&(En.arrowheadStyle="fill: #333"):(En.arrowheadStyle="fill: #333",En.labelpos="c"),En.labelType=Ht.labelType,En.label=Ht.text.replace(RNe.lineBreakRegex,` +`),Ht.style===void 0&&(En.style=En.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),En.labelStyle=En.labelStyle.replace("color:","fill:"),En.id=Xe,En.classes="flowchart-link "+Yi+" "+Ri;const Ru=qNe(Sr,En),{source:Pr,target:Mf,sourceId:L1,targetId:N1}=ZNe(Ht,y);Ra.debug("abc78 source and target",Pr,Mf),Xt.edges.push({id:"e"+Ht.start+Ht.end,sources:[Pr],targets:[Mf],sourceId:L1,targetId:N1,labelEl:Ru,labels:[{width:En.width,height:En.height,orgWidth:En.width,orgHeight:En.height,text:En.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:En})}),Xt},e$e=function(ct,_t,Xt,gt,Sr){let Di="";gt&&(Di=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Di=Di.replace(/\(/g,"\\("),Di=Di.replace(/\)/g,"\\)")),GNe(ct,_t,Di,Sr,Xt)},t$e=function(ct,_t){return Ra.info("Extracting classes"),_t.db.getClasses()},i$e=function(ct){const _t={parentById:{},childrenById:{}},Xt=ct.getSubGraphs();return Ra.info("Subgraphs - ",Xt),Xt.forEach(function(gt){gt.nodes.forEach(function(Sr){_t.parentById[Sr]=gt.id,_t.childrenById[gt.id]===void 0&&(_t.childrenById[gt.id]=[]),_t.childrenById[gt.id].push(Sr)})}),Xt.forEach(function(gt){gt.id,_t.parentById[gt.id]!==void 0&&_t.parentById[gt.id]}),_t},r$e=function(ct,_t,Xt){const gt=JNe(ct,_t,Xt);if(gt===void 0||gt==="root")return{x:0,y:0};const Sr=z3[gt].offset;return{x:Sr.posX,y:Sr.posY}},c$e=function(ct,_t,Xt,gt,Sr,Di){const y=r$e(_t.sourceId,_t.targetId,Sr),Wt=_t.sections[0].startPoint,Bu=_t.sections[0].endPoint,Jt=(_t.sections[0].bendPoints?_t.sections[0].bendPoints:[]).map(Mf=>[Mf.x+y.x,Mf.y+y.y]),Xe=[[Wt.x+y.x,Wt.y+y.y],...Jt,[Bu.x+y.x,Bu.y+y.y]],{x:Yi,y:Ri}=UNe(_t.edgeData),En=XNe().x(Yi).y(Ri).curve(NU),hu=ct.insert("path").attr("d",En(Xe)).attr("class","path "+Xt.classes).attr("fill","none"),Qc=ct.insert("g").attr("class","edgeLabel"),Ru=IO(Qc.node().appendChild(_t.labelEl)),Pr=Ru.node().firstChild.getBoundingClientRect();Ru.attr("width",Pr.width),Ru.attr("height",Pr.height),Qc.attr("transform",`translate(${_t.labels[0].x+y.x}, ${_t.labels[0].y+y.y})`),e$e(hu,Xt,gt.type,gt.arrowMarkerAbsolute,Di)},Rse=(ct,_t)=>{ct.forEach(Xt=>{Xt.children||(Xt.children=[]);const gt=_t.childrenById[Xt.id];gt&>.forEach(Sr=>{Xt.children.push(z3[Sr])}),Rse(Xt.children,_t)})},u$e=async function(ct,_t,Xt,gt){var Sr;gt.db.clear(),z3={},Mb={},gt.db.setGen("gen-2"),gt.parser.parse(ct);const Di=IO("body").append("div").attr("style","height:400px").attr("id","cy");let y={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(Ra.info("Drawing flowchart using v3 renderer",$se),gt.db.getDirection()){case"BT":y.layoutOptions["elk.direction"]="UP";break;case"TB":y.layoutOptions["elk.direction"]="DOWN";break;case"LR":y.layoutOptions["elk.direction"]="RIGHT";break;case"RL":y.layoutOptions["elk.direction"]="LEFT";break}const{securityLevel:Bu,flowchart:Ht}=$U();let Jt;Bu==="sandbox"&&(Jt=IO("#i"+_t));const Xe=Bu==="sandbox"?IO(Jt.nodes()[0].contentDocument.body):IO("body"),Yi=Bu==="sandbox"?Jt.nodes()[0].contentDocument:document,Ri=Xe.select(`[id="${_t}"]`);KNe(Ri,["point","circle","cross"],gt.type,_t);const hu=gt.db.getVertices();let Qc;const Ru=gt.db.getSubGraphs();Ra.info("Subgraphs - ",Ru);for(let $1=Ru.length-1;$1>=0;$1--)Qc=Ru[$1],gt.db.addVertex(Qc.id,{text:Qc.title,type:Qc.labelType},"group",void 0,Qc.classes,Qc.dir);const Pr=Ri.insert("g").attr("class","subgraphs"),Mf=i$e(gt.db);y=await YNe(hu,_t,Xe,Yi,gt,Mf,y);const L1=Ri.insert("g").attr("class","edges edgePath"),N1=gt.db.getEdges();y=n$e(N1,gt,y,Ri),Object.keys(z3).forEach($1=>{const ul=z3[$1];ul.parent||y.children.push(ul),Mf.childrenById[$1]!==void 0&&(ul.labels=[{text:ul.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:ul.labelData.width,height:ul.labelData.height}],delete ul.x,delete ul.y,delete ul.width,delete ul.height)}),Rse(y.children,Mf),Ra.info("after layout",JSON.stringify(y,null,2));const X3=await $se.layout(y);Kse(0,0,X3.children,Ri,Pr,gt,0),Ra.info("after layout",X3),(Sr=X3.edges)==null||Sr.map($1=>{c$e(L1,$1,$1.edgeData,gt,Mf,_t)}),BNe({},Ri,Ht.diagramPadding,Ht.useMaxWidth),Di.remove()},Kse=(ct,_t,Xt,gt,Sr,Di,y)=>{Xt.forEach(function(Wt){if(Wt)if(z3[Wt.id].offset={posX:Wt.x+ct,posY:Wt.y+_t,x:ct,y:_t,depth:y,width:Wt.width,height:Wt.height},Wt.type==="group"){const Bu=Sr.insert("g").attr("class","subgraph");Bu.insert("rect").attr("class","subgraph subgraph-lvl-"+y%5+" node").attr("x",Wt.x+ct).attr("y",Wt.y+_t).attr("width",Wt.width).attr("height",Wt.height);const Ht=Bu.insert("g").attr("class","label"),Jt=$U().flowchart.htmlLabels?Wt.labelData.width/2:0;Ht.attr("transform",`translate(${Wt.labels[0].x+ct+Wt.x+Jt}, ${Wt.labels[0].y+_t+Wt.y+3})`),Ht.node().appendChild(Wt.labelData.labelNode),Ra.info("Id (UGH)= ",Wt.type,Wt.labels)}else Ra.info("Id (UGH)= ",Wt.id),Wt.el.attr("transform",`translate(${Wt.x+ct+Wt.width/2}, ${Wt.y+_t+Wt.height/2})`)}),Xt.forEach(function(Wt){Wt&&Wt.type==="group"&&Kse(ct+Wt.x,_t+Wt.y,Wt.children,gt,Sr,Di,y+1)})},o$e={getClasses:t$e,draw:u$e},s$e=ct=>{let _t="";for(let Xt=0;Xt<5;Xt++)_t+=` + .subgraph-lvl-${Xt} { + fill: ${ct[`surface${Xt}`]}; + stroke: ${ct[`surfacePeer${Xt}`]}; + } + `;return _t},f$e=ct=>`.label { + font-family: ${ct.fontFamily}; + color: ${ct.nodeTextColor||ct.textColor}; + } + .cluster-label text { + fill: ${ct.titleColor}; + } + .cluster-label span { + color: ${ct.titleColor}; + } + + .label text,span { + fill: ${ct.nodeTextColor||ct.textColor}; + color: ${ct.nodeTextColor||ct.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${ct.mainBkg}; + stroke: ${ct.nodeBorder}; + stroke-width: 1px; + } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${ct.arrowheadColor}; + } + + .edgePath .path { + stroke: ${ct.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${ct.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${ct.edgeLabelBackground}; + rect { + opacity: 0.85; + background-color: ${ct.edgeLabelBackground}; + fill: ${ct.edgeLabelBackground}; + } + text-align: center; + } + + .cluster rect { + fill: ${ct.clusterBkg}; + stroke: ${ct.clusterBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${ct.titleColor}; + } + + .cluster span { + color: ${ct.titleColor}; + } + /* .cluster div { + color: ${ct.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${ct.fontFamily}; + font-size: 12px; + background: ${ct.tertiaryColor}; + border: 1px solid ${ct.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${ct.textColor}; + } + .subgraph { + stroke-width:2; + rx:3; + } + // .subgraph-lvl-1 { + // fill:#ccc; + // // stroke:black; + // } + + .flowchart-label text { + text-anchor: middle; + } + + ${s$e(ct)} +`,h$e=f$e,Z$e={db:xNe,renderer:o$e,parser:FNe,styles:h$e};export{Z$e as diagram}; diff --git a/assets/framer-lazy-feature-TidPbDJU.js b/assets/framer-lazy-feature-TidPbDJU.js new file mode 100644 index 00000000000..4d6aa44a272 --- /dev/null +++ b/assets/framer-lazy-feature-TidPbDJU.js @@ -0,0 +1 @@ +import{d as m}from"./features-max-xJxYem1n.js";import"./motion-minimal-epsqYg85.js";import"./index-ZXl4th35.js";import"./visual-element-tlU1-krp.js";export{m as default}; diff --git a/assets/ganttDiagram-5c869e3b-HgrHqoyj.js b/assets/ganttDiagram-5c869e3b-HgrHqoyj.js new file mode 100644 index 00000000000..353b264f8ac --- /dev/null +++ b/assets/ganttDiagram-5c869e3b-HgrHqoyj.js @@ -0,0 +1,257 @@ +import{ab as Pe,ac as Re,ad as Be,ae as qe,af as Cn,ag as $t,ah as Dn,c as xt,s as Mn,g as _n,p as Sn,q as Un,b as Fn,a as En,r as Yn,m as An,l as Xt,h as Pt,i as In,j as Wn,u as Ln}from"./mermaid.core-wTs8WatG.js";import{l as K}from"./request-bY2SEZNN.js";import{c as Ze,g as Xe}from"./index-ZXl4th35.js";import{c as Nn}from"./customParseFormat-0gR3iPzn.js";import{b as On,t as _e,c as Hn,a as Vn,l as zn}from"./linear-2m3rEmg6.js";import{i as Pn}from"./init-Hi12RPRh.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";function Rn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function Bn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function qn(t){return t}var Bt=1,te=2,ue=3,Rt=4,Se=1e-6;function Zn(t){return"translate("+t+",0)"}function Xn(t){return"translate(0,"+t+")"}function Gn(t){return e=>+t(e)}function jn(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function Qn(){return!this.__axis}function Ge(t,e){var n=[],r=null,i=null,s=6,a=6,g=3,C=typeof window<"u"&&window.devicePixelRatio>1?0:.5,k=t===Bt||t===Rt?-1:1,x=t===Rt||t===te?"x":"y",U=t===Bt||t===ue?Zn:Xn;function v(p){var z=r??(e.ticks?e.ticks.apply(e,n):e.domain()),E=i??(e.tickFormat?e.tickFormat.apply(e,n):qn),tt=Math.max(s,0)+g,nt=e.range(),et=+nt[0]+C,q=+nt[nt.length-1]+C,Z=(e.bandwidth?jn:Gn)(e.copy(),C),$=p.selection?p.selection():p,b=$.selectAll(".domain").data([null]),H=$.selectAll(".tick").data(z,e).order(),T=H.exit(),F=H.enter().append("g").attr("class","tick"),S=H.select("line"),w=H.select("text");b=b.merge(b.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(F),S=S.merge(F.append("line").attr("stroke","currentColor").attr(x+"2",k*s)),w=w.merge(F.append("text").attr("fill","currentColor").attr(x,k*tt).attr("dy",t===Bt?"0em":t===ue?"0.71em":"0.32em")),p!==$&&(b=b.transition(p),H=H.transition(p),S=S.transition(p),w=w.transition(p),T=T.transition(p).attr("opacity",Se).attr("transform",function(c){return isFinite(c=Z(c))?U(c+C):this.getAttribute("transform")}),F.attr("opacity",Se).attr("transform",function(c){var d=this.parentNode.__axis;return U((d&&isFinite(d=d(c))?d:Z(c))+C)})),T.remove(),b.attr("d",t===Rt||t===te?a?"M"+k*a+","+et+"H"+C+"V"+q+"H"+k*a:"M"+C+","+et+"V"+q:a?"M"+et+","+k*a+"V"+C+"H"+q+"V"+k*a:"M"+et+","+C+"H"+q),H.attr("opacity",1).attr("transform",function(c){return U(Z(c)+C)}),S.attr(x+"2",k*s),w.attr(x,k*tt).text(E),$.filter(Qn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===te?"start":t===Rt?"end":"middle"),$.each(function(){this.__axis=Z})}return v.scale=function(p){return arguments.length?(e=p,v):e},v.ticks=function(){return n=Array.from(arguments),v},v.tickArguments=function(p){return arguments.length?(n=p==null?[]:Array.from(p),v):n.slice()},v.tickValues=function(p){return arguments.length?(r=p==null?null:Array.from(p),v):r&&r.slice()},v.tickFormat=function(p){return arguments.length?(i=p,v):i},v.tickSize=function(p){return arguments.length?(s=a=+p,v):s},v.tickSizeInner=function(p){return arguments.length?(s=+p,v):s},v.tickSizeOuter=function(p){return arguments.length?(a=+p,v):a},v.tickPadding=function(p){return arguments.length?(g=+p,v):g},v.offset=function(p){return arguments.length?(C=+p,v):C},v}function Jn(t){return Ge(Bt,t)}function Kn(t){return Ge(ue,t)}const $n=Math.PI/180,tr=180/Math.PI,Gt=18,je=.96422,Qe=1,Je=.82521,Ke=4/29,wt=6/29,$e=3*wt*wt,er=wt*wt*wt;function tn(t){if(t instanceof st)return new st(t.l,t.a,t.b,t.opacity);if(t instanceof ct)return en(t);t instanceof Be||(t=Cn(t));var e=ie(t.r),n=ie(t.g),r=ie(t.b),i=ee((.2225045*e+.7168786*n+.0606169*r)/Qe),s,a;return e===n&&n===r?s=a=i:(s=ee((.4360747*e+.3850649*n+.1430804*r)/je),a=ee((.0139322*e+.0971045*n+.7141733*r)/Je)),new st(116*i-16,500*(s-i),200*(i-a),t.opacity)}function nr(t,e,n,r){return arguments.length===1?tn(t):new st(t,e,n,r??1)}function st(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Pe(st,nr,Re(qe,{brighter(t){return new st(this.l+Gt*(t??1),this.a,this.b,this.opacity)},darker(t){return new st(this.l-Gt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=je*ne(e),t=Qe*ne(t),n=Je*ne(n),new Be(re(3.1338561*e-1.6168667*t-.4906146*n),re(-.9787684*e+1.9161415*t+.033454*n),re(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ee(t){return t>er?Math.pow(t,1/3):t/$e+Ke}function ne(t){return t>wt?t*t*t:$e*(t-Ke)}function re(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ie(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function rr(t){if(t instanceof ct)return new ct(t.h,t.c,t.l,t.opacity);if(t instanceof st||(t=tn(t)),t.a===0&&t.b===0)return new ct(NaN,0(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const a=i(s),g=i.ceil(s);return s-a(e(s=new Date(+s),a==null?1:Math.floor(a)),s),i.range=(s,a,g)=>{const C=[];if(s=i.ceil(s),g=g==null?1:Math.floor(g),!(s0))return C;let k;do C.push(k=new Date(+s)),e(s,g),t(s);while(kG(a=>{if(a>=a)for(;t(a),!s(a);)a.setTime(a-1)},(a,g)=>{if(a>=a)if(g<0)for(;++g<=0;)for(;e(a,-1),!s(a););else for(;--g>=0;)for(;e(a,1),!s(a););}),n&&(i.count=(s,a)=>(se.setTime(+s),ae.setTime(+a),t(se),t(ae),Math.floor(n(se,ae))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?a=>r(a)%s===0:a=>i.count(0,a)%s===0):i)),i}const Dt=G(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Dt.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?G(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Dt);Dt.range;const lt=1e3,rt=lt*60,ut=rt*60,ft=ut*24,ye=ft*7,Ue=ft*30,oe=ft*365,dt=G(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*lt)},(t,e)=>(e-t)/lt,t=>t.getUTCSeconds());dt.range;const At=G(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt)},(t,e)=>{t.setTime(+t+e*rt)},(t,e)=>(e-t)/rt,t=>t.getMinutes());At.range;const or=G(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*rt)},(t,e)=>(e-t)/rt,t=>t.getUTCMinutes());or.range;const It=G(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt-t.getMinutes()*rt)},(t,e)=>{t.setTime(+t+e*ut)},(t,e)=>(e-t)/ut,t=>t.getHours());It.range;const cr=G(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*ut)},(t,e)=>(e-t)/ut,t=>t.getUTCHours());cr.range;const yt=G(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rt)/ft,t=>t.getDate()-1);yt.range;const ke=G(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ft,t=>t.getUTCDate()-1);ke.range;const lr=G(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ft,t=>Math.floor(t/ft));lr.range;function Tt(t){return G(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*rt)/ye)}const Nt=Tt(0),Wt=Tt(1),nn=Tt(2),rn=Tt(3),kt=Tt(4),sn=Tt(5),an=Tt(6);Nt.range;Wt.range;nn.range;rn.range;kt.range;sn.range;an.range;function bt(t){return G(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/ye)}const on=bt(0),jt=bt(1),ur=bt(2),fr=bt(3),Mt=bt(4),hr=bt(5),dr=bt(6);on.range;jt.range;ur.range;fr.range;Mt.range;hr.range;dr.range;const Lt=G(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Lt.range;const mr=G(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());mr.range;const ht=G(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());ht.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:G(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});ht.range;const pt=G(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());pt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:G(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});pt.range;function gr(t,e,n,r,i,s){const a=[[dt,1,lt],[dt,5,5*lt],[dt,15,15*lt],[dt,30,30*lt],[s,1,rt],[s,5,5*rt],[s,15,15*rt],[s,30,30*rt],[i,1,ut],[i,3,3*ut],[i,6,6*ut],[i,12,12*ut],[r,1,ft],[r,2,2*ft],[n,1,ye],[e,1,Ue],[e,3,3*Ue],[t,1,oe]];function g(k,x,U){const v=xtt).right(a,v);if(p===a.length)return t.every(_e(k/oe,x/oe,U));if(p===0)return Dt.every(Math.max(_e(k,x,U),1));const[z,E]=a[v/a[p-1][2]53)return null;"w"in l||(l.w=1),"Z"in l?(O=le(Ft(l.y,0,1)),B=O.getUTCDay(),O=B>4||B===0?jt.ceil(O):jt(O),O=ke.offset(O,(l.V-1)*7),l.y=O.getUTCFullYear(),l.m=O.getUTCMonth(),l.d=O.getUTCDate()+(l.w+6)%7):(O=ce(Ft(l.y,0,1)),B=O.getDay(),O=B>4||B===0?Wt.ceil(O):Wt(O),O=yt.offset(O,(l.V-1)*7),l.y=O.getFullYear(),l.m=O.getMonth(),l.d=O.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),B="Z"in l?le(Ft(l.y,0,1)).getUTCDay():ce(Ft(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+l.W*7-(B+5)%7:l.w+l.U*7-(B+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,le(l)):ce(l)}}function T(y,Y,D,l){for(var V=0,O=Y.length,B=D.length,j,J;V=B)return-1;if(j=Y.charCodeAt(V++),j===37){if(j=Y.charAt(V++),J=$[j in Fe?Y.charAt(V++):j],!J||(l=J(y,D,l))<0)return-1}else if(j!=D.charCodeAt(l++))return-1}return l}function F(y,Y,D){var l=k.exec(Y.slice(D));return l?(y.p=x.get(l[0].toLowerCase()),D+l[0].length):-1}function S(y,Y,D){var l=p.exec(Y.slice(D));return l?(y.w=z.get(l[0].toLowerCase()),D+l[0].length):-1}function w(y,Y,D){var l=U.exec(Y.slice(D));return l?(y.w=v.get(l[0].toLowerCase()),D+l[0].length):-1}function c(y,Y,D){var l=nt.exec(Y.slice(D));return l?(y.m=et.get(l[0].toLowerCase()),D+l[0].length):-1}function d(y,Y,D){var l=E.exec(Y.slice(D));return l?(y.m=tt.get(l[0].toLowerCase()),D+l[0].length):-1}function m(y,Y,D){return T(y,e,Y,D)}function u(y,Y,D){return T(y,n,Y,D)}function M(y,Y,D){return T(y,r,Y,D)}function o(y){return a[y.getDay()]}function R(y){return s[y.getDay()]}function h(y){return C[y.getMonth()]}function f(y){return g[y.getMonth()]}function _(y){return i[+(y.getHours()>=12)]}function P(y){return 1+~~(y.getMonth()/3)}function I(y){return a[y.getUTCDay()]}function L(y){return s[y.getUTCDay()]}function A(y){return C[y.getUTCMonth()]}function N(y){return g[y.getUTCMonth()]}function mt(y){return i[+(y.getUTCHours()>=12)]}function gt(y){return 1+~~(y.getUTCMonth()/3)}return{format:function(y){var Y=b(y+="",q);return Y.toString=function(){return y},Y},parse:function(y){var Y=H(y+="",!1);return Y.toString=function(){return y},Y},utcFormat:function(y){var Y=b(y+="",Z);return Y.toString=function(){return y},Y},utcParse:function(y){var Y=H(y+="",!0);return Y.toString=function(){return y},Y}}}var Fe={"-":"",_:" ",0:"0"},Q=/^\s*\d+/,Tr=/^%/,br=/[\\^$*+?|[\]().{}]/g;function W(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s[e.toLowerCase(),n]))}function xr(t,e,n){var r=Q.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function wr(t,e,n){var r=Q.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Cr(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Dr(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Mr(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ee(t,e,n){var r=Q.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ye(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function _r(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Sr(t,e,n){var r=Q.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Ur(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ae(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=Q.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Ie(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=Q.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=Q.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ir(t,e,n){var r=Q.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Wr(t,e,n){var r=Tr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Lr(t,e,n){var r=Q.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=Q.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function We(t,e){return W(t.getDate(),e,2)}function Or(t,e){return W(t.getHours(),e,2)}function Hr(t,e){return W(t.getHours()%12||12,e,2)}function Vr(t,e){return W(1+yt.count(ht(t),t),e,3)}function cn(t,e){return W(t.getMilliseconds(),e,3)}function zr(t,e){return cn(t,e)+"000"}function Pr(t,e){return W(t.getMonth()+1,e,2)}function Rr(t,e){return W(t.getMinutes(),e,2)}function Br(t,e){return W(t.getSeconds(),e,2)}function qr(t){var e=t.getDay();return e===0?7:e}function Zr(t,e){return W(Nt.count(ht(t)-1,t),e,2)}function ln(t){var e=t.getDay();return e>=4||e===0?kt(t):kt.ceil(t)}function Xr(t,e){return t=ln(t),W(kt.count(ht(t),t)+(ht(t).getDay()===4),e,2)}function Gr(t){return t.getDay()}function jr(t,e){return W(Wt.count(ht(t)-1,t),e,2)}function Qr(t,e){return W(t.getFullYear()%100,e,2)}function Jr(t,e){return t=ln(t),W(t.getFullYear()%100,e,2)}function Kr(t,e){return W(t.getFullYear()%1e4,e,4)}function $r(t,e){var n=t.getDay();return t=n>=4||n===0?kt(t):kt.ceil(t),W(t.getFullYear()%1e4,e,4)}function ti(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+W(e/60|0,"0",2)+W(e%60,"0",2)}function Le(t,e){return W(t.getUTCDate(),e,2)}function ei(t,e){return W(t.getUTCHours(),e,2)}function ni(t,e){return W(t.getUTCHours()%12||12,e,2)}function ri(t,e){return W(1+ke.count(pt(t),t),e,3)}function un(t,e){return W(t.getUTCMilliseconds(),e,3)}function ii(t,e){return un(t,e)+"000"}function si(t,e){return W(t.getUTCMonth()+1,e,2)}function ai(t,e){return W(t.getUTCMinutes(),e,2)}function oi(t,e){return W(t.getUTCSeconds(),e,2)}function ci(t){var e=t.getUTCDay();return e===0?7:e}function li(t,e){return W(on.count(pt(t)-1,t),e,2)}function fn(t){var e=t.getUTCDay();return e>=4||e===0?Mt(t):Mt.ceil(t)}function ui(t,e){return t=fn(t),W(Mt.count(pt(t),t)+(pt(t).getUTCDay()===4),e,2)}function fi(t){return t.getUTCDay()}function hi(t,e){return W(jt.count(pt(t)-1,t),e,2)}function di(t,e){return W(t.getUTCFullYear()%100,e,2)}function mi(t,e){return t=fn(t),W(t.getUTCFullYear()%100,e,2)}function gi(t,e){return W(t.getUTCFullYear()%1e4,e,4)}function yi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Mt(t):Mt.ceil(t),W(t.getUTCFullYear()%1e4,e,4)}function ki(){return"+0000"}function Ne(){return"%"}function Oe(t){return+t}function He(t){return Math.floor(+t/1e3)}var vt,Qt;pi({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"]});function pi(t){return vt=pr(t),Qt=vt.format,vt.parse,vt.utcFormat,vt.utcParse,vt}function Ti(t){return new Date(t)}function bi(t){return t instanceof Date?+t:+new Date(+t)}function hn(t,e,n,r,i,s,a,g,C,k){var x=Hn(),U=x.invert,v=x.domain,p=k(".%L"),z=k(":%S"),E=k("%I:%M"),tt=k("%I %p"),nt=k("%a %d"),et=k("%b %d"),q=k("%B"),Z=k("%Y");function $(b){return(C(b)4&&(p+=7),v.add(p,n));return z.diff(E,"week")+1},g.isoWeekday=function(k){return this.$utils().u(k)?this.day()||7:this.day(this.day()%7?k:k-7)};var C=g.startOf;g.startOf=function(k,x){var U=this.$utils(),v=!!U.u(x)||x;return U.p(k)==="isoweek"?v?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):C.bind(this)(k,x)}}})})(dn);var xi=dn.exports;const wi=Xe(xi);var mn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Ze,function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(a){var g=this,C=this.$locale();if(!this.isValid())return s.bind(this)(a);var k=this.$utils(),x=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(U){switch(U){case"Q":return Math.ceil((g.$M+1)/3);case"Do":return C.ordinal(g.$D);case"gggg":return g.weekYear();case"GGGG":return g.isoWeekYear();case"wo":return C.ordinal(g.week(),"W");case"w":case"ww":return k.s(g.week(),U==="w"?1:2,"0");case"W":case"WW":return k.s(g.isoWeek(),U==="W"?1:2,"0");case"k":case"kk":return k.s(String(g.$H===0?24:g.$H),U==="k"?1:2,"0");case"X":return Math.floor(g.$d.getTime()/1e3);case"x":return g.$d.getTime();case"z":return"["+g.offsetName()+"]";case"zzz":return"["+g.offsetName("long")+"]";default:return U}});return s.bind(this)(x)}}})})(mn);var Ci=mn.exports;const Di=Xe(Ci);var he=function(){var t=function(w,c,d,m){for(d=d||{},m=w.length;m--;d[w[m]]=c);return d},e=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],n=[1,25],r=[1,26],i=[1,27],s=[1,28],a=[1,29],g=[1,30],C=[1,31],k=[1,9],x=[1,10],U=[1,11],v=[1,12],p=[1,13],z=[1,14],E=[1,15],tt=[1,16],nt=[1,18],et=[1,19],q=[1,20],Z=[1,21],$=[1,22],b=[1,24],H=[1,32],T={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(c,d,m,u,M,o,R){var h=o.length-1;switch(M){case 1:return o[h-1];case 2:this.$=[];break;case 3:o[h-1].push(o[h]),this.$=o[h-1];break;case 4:case 5:this.$=o[h];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setDateFormat(o[h].substr(11)),this.$=o[h].substr(11);break;case 16:u.enableInclusiveEndDates(),this.$=o[h].substr(18);break;case 17:u.TopAxis(),this.$=o[h].substr(8);break;case 18:u.setAxisFormat(o[h].substr(11)),this.$=o[h].substr(11);break;case 19:u.setTickInterval(o[h].substr(13)),this.$=o[h].substr(13);break;case 20:u.setExcludes(o[h].substr(9)),this.$=o[h].substr(9);break;case 21:u.setIncludes(o[h].substr(9)),this.$=o[h].substr(9);break;case 22:u.setTodayMarker(o[h].substr(12)),this.$=o[h].substr(12);break;case 24:u.setDiagramTitle(o[h].substr(6)),this.$=o[h].substr(6);break;case 25:this.$=o[h].trim(),u.setAccTitle(this.$);break;case 26:case 27:this.$=o[h].trim(),u.setAccDescription(this.$);break;case 28:u.addSection(o[h].substr(8)),this.$=o[h].substr(8);break;case 30:u.addTask(o[h-1],o[h]),this.$="task";break;case 31:this.$=o[h-1],u.setClickEvent(o[h-1],o[h],null);break;case 32:this.$=o[h-2],u.setClickEvent(o[h-2],o[h-1],o[h]);break;case 33:this.$=o[h-2],u.setClickEvent(o[h-2],o[h-1],null),u.setLink(o[h-2],o[h]);break;case 34:this.$=o[h-3],u.setClickEvent(o[h-3],o[h-2],o[h-1]),u.setLink(o[h-3],o[h]);break;case 35:this.$=o[h-2],u.setClickEvent(o[h-2],o[h],null),u.setLink(o[h-2],o[h-1]);break;case 36:this.$=o[h-3],u.setClickEvent(o[h-3],o[h-1],o[h]),u.setLink(o[h-3],o[h-2]);break;case 37:this.$=o[h-1],u.setLink(o[h-1],o[h]);break;case 38:case 44:this.$=o[h-1]+" "+o[h];break;case 39:case 40:case 42:this.$=o[h-2]+" "+o[h-1]+" "+o[h];break;case 41:case 43:this.$=o[h-3]+" "+o[h-2]+" "+o[h-1]+" "+o[h];break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:s,16:a,17:g,18:C,19:k,20:x,21:U,22:v,23:p,24:z,25:E,26:tt,27:nt,28:et,30:q,32:Z,33:$,34:23,35:b,37:H},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:33,11:17,12:n,13:r,14:i,15:s,16:a,17:g,18:C,19:k,20:x,21:U,22:v,23:p,24:z,25:E,26:tt,27:nt,28:et,30:q,32:Z,33:$,34:23,35:b,37:H},t(e,[2,5]),t(e,[2,6]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),{29:[1,34]},{31:[1,35]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),{36:[1,36]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{38:[1,37],40:[1,38]},t(e,[2,4]),t(e,[2,25]),t(e,[2,26]),t(e,[2,30]),t(e,[2,31],{39:[1,39],40:[1,40]}),t(e,[2,37],{38:[1,41]}),t(e,[2,32],{40:[1,42]}),t(e,[2,33]),t(e,[2,35],{39:[1,43]}),t(e,[2,34]),t(e,[2,36])],defaultActions:{},parseError:function(c,d){if(d.recoverable)this.trace(c);else{var m=new Error(c);throw m.hash=d,m}},parse:function(c){var d=this,m=[0],u=[],M=[null],o=[],R=this.table,h="",f=0,_=0,P=2,I=1,L=o.slice.call(arguments,1),A=Object.create(this.lexer),N={yy:{}};for(var mt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,mt)&&(N.yy[mt]=this.yy[mt]);A.setInput(c,N.yy),N.yy.lexer=A,N.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var gt=A.yylloc;o.push(gt);var y=A.options&&A.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(){var at;return at=u.pop()||A.lex()||I,typeof at!="number"&&(at instanceof Array&&(u=at,at=u.pop()),at=d.symbols_[at]||at),at}for(var D,l,V,O,B={},j,J,Ut,zt;;){if(l=m[m.length-1],this.defaultActions[l]?V=this.defaultActions[l]:((D===null||typeof D>"u")&&(D=Y()),V=R[l]&&R[l][D]),typeof V>"u"||!V.length||!V[0]){var Kt="";zt=[];for(j in R[l])this.terminals_[j]&&j>P&&zt.push("'"+this.terminals_[j]+"'");A.showPosition?Kt="Parse error on line "+(f+1)+`: +`+A.showPosition()+` +Expecting `+zt.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Kt="Parse error on line "+(f+1)+": Unexpected "+(D==I?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Kt,{text:A.match,token:this.terminals_[D]||D,line:A.yylineno,loc:gt,expected:zt})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+l+", token: "+D);switch(V[0]){case 1:m.push(D),M.push(A.yytext),o.push(A.yylloc),m.push(V[1]),D=null,_=A.yyleng,h=A.yytext,f=A.yylineno,gt=A.yylloc;break;case 2:if(J=this.productions_[V[1]][1],B.$=M[M.length-J],B._$={first_line:o[o.length-(J||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(J||1)].first_column,last_column:o[o.length-1].last_column},y&&(B._$.range=[o[o.length-(J||1)].range[0],o[o.length-1].range[1]]),O=this.performAction.apply(B,[h,_,f,N.yy,V[1],M,o].concat(L)),typeof O<"u")return O;J&&(m=m.slice(0,-1*J*2),M=M.slice(0,-1*J),o=o.slice(0,-1*J)),m.push(this.productions_[V[1]][0]),M.push(B.$),o.push(B._$),Ut=R[m[m.length-2]][m[m.length-1]],m.push(Ut);break;case 3:return!0}}return!0}},F=function(){var w={EOF:1,parseError:function(d,m){if(this.yy.parser)this.yy.parser.parseError(d,m);else throw new Error(d)},setInput:function(c,d){return this.yy=d||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},unput:function(c){var d=c.length,m=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var M=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===u.length?this.yylloc.first_column:0)+u[u.length-m.length].length-m[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[M[0],M[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(c){this.unput(this.match.slice(c))},pastInput:function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+` +`+d+"^"},test_match:function(c,d){var m,u,M;if(this.options.backtrack_lexer&&(M={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(M.yylloc.range=this.yylloc.range.slice(0))),u=c[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(c[0].length),this.matched+=c[0],m=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var o in M)this[o]=M[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var c,d,m,u;this._more||(this.yytext="",this.match="");for(var M=this._currentRules(),o=0;od[0].length)){if(d=m,u=o,this.options.backtrack_lexer){if(c=this.test_match(m,M[o]),c!==!1)return c;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(c=this.test_match(d,M[u]),c!==!1?c:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(d,m,u,M){switch(u){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 40;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 38;case 21:this.popState();break;case 22:return 39;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 37;case 26:return 4;case 27:return 19;case 28:return 20;case 29:return 21;case 30:return 22;case 31:return 23;case 32:return 25;case 33:return 24;case 34:return 26;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return"date";case 43:return 27;case 44:return"accDescription";case 45:return 33;case 46:return 35;case 47:return 36;case 48:return":";case 49:return 6;case 50:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],inclusive:!0}}};return w}();T.lexer=F;function S(){this.yy={}}return S.prototype=T,T.Parser=S,new S}();he.parser=he;const Mi=he;K.extend(wi);K.extend(Nn);K.extend(Di);let it="",pe="",Te,be="",Ot=[],Ht=[],ve={},xe=[],Jt=[],_t="",we="";const gn=["active","done","crit","milestone"];let Ce=[],Vt=!1,De=!1,Me="sunday",de=0;const _i=function(){xe=[],Jt=[],_t="",Ce=[],qt=0,ge=void 0,Zt=void 0,X=[],it="",pe="",we="",Te=void 0,be="",Ot=[],Ht=[],Vt=!1,De=!1,de=0,ve={},Yn(),Me="sunday"},Si=function(t){pe=t},Ui=function(){return pe},Fi=function(t){Te=t},Ei=function(){return Te},Yi=function(t){be=t},Ai=function(){return be},Ii=function(t){it=t},Wi=function(){Vt=!0},Li=function(){return Vt},Ni=function(){De=!0},Oi=function(){return De},Hi=function(t){we=t},Vi=function(){return we},zi=function(){return it},Pi=function(t){Ot=t.toLowerCase().split(/[\s,]+/)},Ri=function(){return Ot},Bi=function(t){Ht=t.toLowerCase().split(/[\s,]+/)},qi=function(){return Ht},Zi=function(){return ve},Xi=function(t){_t=t,xe.push(t)},Gi=function(){return xe},ji=function(){let t=Ve();const e=10;let n=0;for(;!t&&n=6&&n.includes("weekends")||n.includes(t.format("dddd").toLowerCase())?!0:n.includes(t.format(e.trim()))},Qi=function(t){Me=t},Ji=function(){return Me},kn=function(t,e,n,r){if(!n.length||t.manualEndTime)return;let i;t.startTime instanceof Date?i=K(t.startTime):i=K(t.startTime,e,!0),i=i.add(1,"d");let s;t.endTime instanceof Date?s=K(t.endTime):s=K(t.endTime,e,!0);const[a,g]=Ki(i,s,e,n,r);t.endTime=a.toDate(),t.renderEndTime=g},Ki=function(t,e,n,r,i){let s=!1,a=null;for(;t<=e;)s||(a=e.toDate()),s=yn(t,n,r,i),s&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},me=function(t,e,n){n=n.trim();const i=/^after\s+([\d\w- ]+)/.exec(n.trim());if(i!==null){let a=null;if(i[1].split(" ").forEach(function(g){let C=St(g);C!==void 0&&(a?C.endTime>a.endTime&&(a=C):a=C)}),a)return a.endTime;{const g=new Date;return g.setHours(0,0,0,0),g}}let s=K(n,e.trim(),!0);if(s.isValid())return s.toDate();{Xt.debug("Invalid date:"+n),Xt.debug("With date format:"+e.trim());const a=new Date(n);if(a===void 0||isNaN(a.getTime())||a.getFullYear()<-1e4||a.getFullYear()>1e4)throw new Error("Invalid date:"+n);return a}},pn=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},Tn=function(t,e,n,r=!1){n=n.trim();let i=K(n,e.trim(),!0);if(i.isValid())return r&&(i=i.add(1,"d")),i.toDate();let s=K(t);const[a,g]=pn(n);if(!Number.isNaN(a)){const C=s.add(a,g);C.isValid()&&(s=C)}return s.toDate()};let qt=0;const Ct=function(t){return t===void 0?(qt=qt+1,"task"+qt):t},$i=function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};wn(r,i,gn);for(let a=0;a{window.open(n,"_self")}),ve[r]=n)}),vn(t,"clickable")},vn=function(t,e){t.split(",").forEach(function(n){let r=St(n);r!==void 0&&r.classes.push(e)})},is=function(t,e,n){if(xt().securityLevel!=="loose"||e===void 0)return;let r=[];if(typeof n=="string"){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let s=0;s{Ln.runFunc(e,...r)})},xn=function(t,e){Ce.push(function(){const n=document.querySelector(`[id="${t}"]`);n!==null&&n.addEventListener("click",function(){e()})},function(){const n=document.querySelector(`[id="${t}-text"]`);n!==null&&n.addEventListener("click",function(){e()})})},ss=function(t,e,n){t.split(",").forEach(function(r){is(r,e,n)}),vn(t,"clickable")},as=function(t){Ce.forEach(function(e){e(t)})},os={getConfig:()=>xt().gantt,clear:_i,setDateFormat:Ii,getDateFormat:zi,enableInclusiveEndDates:Wi,endDatesAreInclusive:Li,enableTopAxis:Ni,topAxisEnabled:Oi,setAxisFormat:Si,getAxisFormat:Ui,setTickInterval:Fi,getTickInterval:Ei,setTodayMarker:Yi,getTodayMarker:Ai,setAccTitle:Mn,getAccTitle:_n,setDiagramTitle:Sn,getDiagramTitle:Un,setDisplayMode:Hi,getDisplayMode:Vi,setAccDescription:Fn,getAccDescription:En,addSection:Xi,getSections:Gi,getTasks:ji,addTask:es,findTaskById:St,addTaskOrg:ns,setIncludes:Pi,getIncludes:Ri,setExcludes:Bi,getExcludes:qi,setClickEvent:ss,setLink:rs,getLinks:Zi,bindFunctions:as,parseDuration:pn,isInvalidDate:yn,setWeekday:Qi,getWeekday:Ji};function wn(t,e,n){let r=!0;for(;r;)r=!1,n.forEach(function(i){const s="^\\s*"+i+"\\s*$",a=new RegExp(s);t[0].match(a)&&(e[i]=!0,t.shift(1),r=!0)})}const cs=function(){Xt.debug("Something is calling, setConf, remove the call")},ze={monday:Wt,tuesday:nn,wednesday:rn,thursday:kt,friday:sn,saturday:an,sunday:Nt},ls=(t,e)=>{let n=[...t].map(()=>-1/0),r=[...t].sort((s,a)=>s.startTime-a.startTime||s.order-a.order),i=0;for(const s of r)for(let a=0;a=n[a]){n[a]=s.endTime,s.order=a+e,a>i&&(i=a);break}return i};let ot;const us=function(t,e,n,r){const i=xt().gantt,s=xt().securityLevel;let a;s==="sandbox"&&(a=Pt("#i"+e));const g=s==="sandbox"?Pt(a.nodes()[0].contentDocument.body):Pt("body"),C=s==="sandbox"?a.nodes()[0].contentDocument:document,k=C.getElementById(e);ot=k.parentElement.offsetWidth,ot===void 0&&(ot=1200),i.useWidth!==void 0&&(ot=i.useWidth);const x=r.db.getTasks();let U=[];for(const T of x)U.push(T.type);U=H(U);const v={};let p=2*i.topPadding;if(r.db.getDisplayMode()==="compact"||i.displayMode==="compact"){const T={};for(const S of x)T[S.section]===void 0?T[S.section]=[S]:T[S.section].push(S);let F=0;for(const S of Object.keys(T)){const w=ls(T[S],F)+1;F+=w,p+=w*(i.barHeight+i.barGap),v[S]=w}}else{p+=x.length*(i.barHeight+i.barGap);for(const T of U)v[T]=x.filter(F=>F.type===T).length}k.setAttribute("viewBox","0 0 "+ot+" "+p);const z=g.select(`[id="${e}"]`),E=vi().domain([Bn(x,function(T){return T.startTime}),Rn(x,function(T){return T.endTime})]).rangeRound([0,ot-i.leftPadding-i.rightPadding]);function tt(T,F){const S=T.startTime,w=F.startTime;let c=0;return S>w?c=1:Sf.order))].map(f=>T.find(_=>_.order===f));z.append("g").selectAll("rect").data(M).enter().append("rect").attr("x",0).attr("y",function(f,_){return _=f.order,_*F+S-2}).attr("width",function(){return m-i.rightPadding/2}).attr("height",F).attr("class",function(f){for(const[_,P]of U.entries())if(f.type===P)return"section section"+_%i.numberSectionStyles;return"section section0"});const o=z.append("g").selectAll("rect").data(T).enter(),R=r.db.getLinks();if(o.append("rect").attr("id",function(f){return f.id}).attr("rx",3).attr("ry",3).attr("x",function(f){return f.milestone?E(f.startTime)+w+.5*(E(f.endTime)-E(f.startTime))-.5*c:E(f.startTime)+w}).attr("y",function(f,_){return _=f.order,_*F+S}).attr("width",function(f){return f.milestone?c:E(f.renderEndTime||f.endTime)-E(f.startTime)}).attr("height",c).attr("transform-origin",function(f,_){return _=f.order,(E(f.startTime)+w+.5*(E(f.endTime)-E(f.startTime))).toString()+"px "+(_*F+S+.5*c).toString()+"px"}).attr("class",function(f){const _="task";let P="";f.classes.length>0&&(P=f.classes.join(" "));let I=0;for(const[A,N]of U.entries())f.type===N&&(I=A%i.numberSectionStyles);let L="";return f.active?f.crit?L+=" activeCrit":L=" active":f.done?f.crit?L=" doneCrit":L=" done":f.crit&&(L+=" crit"),L.length===0&&(L=" task"),f.milestone&&(L=" milestone "+L),L+=I,L+=" "+P,_+L}),o.append("text").attr("id",function(f){return f.id+"-text"}).text(function(f){return f.task}).attr("font-size",i.fontSize).attr("x",function(f){let _=E(f.startTime),P=E(f.renderEndTime||f.endTime);f.milestone&&(_+=.5*(E(f.endTime)-E(f.startTime))-.5*c),f.milestone&&(P=_+c);const I=this.getBBox().width;return I>P-_?P+I+1.5*i.leftPadding>m?_+w-5:P+w+5:(P-_)/2+_+w}).attr("y",function(f,_){return _=f.order,_*F+i.barHeight/2+(i.fontSize/2-2)+S}).attr("text-height",c).attr("class",function(f){const _=E(f.startTime);let P=E(f.endTime);f.milestone&&(P=_+c);const I=this.getBBox().width;let L="";f.classes.length>0&&(L=f.classes.join(" "));let A=0;for(const[mt,gt]of U.entries())f.type===gt&&(A=mt%i.numberSectionStyles);let N="";return f.active&&(f.crit?N="activeCritText"+A:N="activeText"+A),f.done?f.crit?N=N+" doneCritText"+A:N=N+" doneText"+A:f.crit&&(N=N+" critText"+A),f.milestone&&(N+=" milestoneText"),I>P-_?P+I+1.5*i.leftPadding>m?L+" taskTextOutsideLeft taskTextOutside"+A+" "+N:L+" taskTextOutsideRight taskTextOutside"+A+" "+N+" width-"+I:L+" taskText taskText"+A+" "+N+" width-"+I}),xt().securityLevel==="sandbox"){let f;f=Pt("#i"+e);const _=f.nodes()[0].contentDocument;o.filter(function(P){return R[P.id]!==void 0}).each(function(P){var I=_.querySelector("#"+P.id),L=_.querySelector("#"+P.id+"-text");const A=I.parentNode;var N=_.createElement("a");N.setAttribute("xlink:href",R[P.id]),N.setAttribute("target","_top"),A.appendChild(N),N.appendChild(I),N.appendChild(L)})}}function q(T,F,S,w,c,d,m,u){if(m.length===0&&u.length===0)return;let M,o;for(const{startTime:I,endTime:L}of d)(M===void 0||Io)&&(o=L);if(!M||!o)return;if(K(o).diff(K(M),"year")>5){Xt.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const R=r.db.getDateFormat(),h=[];let f=null,_=K(M);for(;_.valueOf()<=o;)r.db.isInvalidDate(_,R,m,u)?f?f.end=_:f={start:_,end:_}:f&&(h.push(f),f=null),_=_.add(1,"d");z.append("g").selectAll("rect").data(h).enter().append("rect").attr("id",function(I){return"exclude-"+I.start.format("YYYY-MM-DD")}).attr("x",function(I){return E(I.start)+S}).attr("y",i.gridLineStartPadding).attr("width",function(I){const L=I.end.add(1,"day");return E(L)-E(I.start)}).attr("height",c-F-i.gridLineStartPadding).attr("transform-origin",function(I,L){return(E(I.start)+S+.5*(E(I.end)-E(I.start))).toString()+"px "+(L*T+.5*c).toString()+"px"}).attr("class","exclude-range")}function Z(T,F,S,w){let c=Kn(E).tickSize(-w+F+i.gridLineStartPadding).tickFormat(Qt(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));const m=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(m!==null){const u=m[1],M=m[2],o=r.db.getWeekday()||i.weekday;switch(M){case"millisecond":c.ticks(Dt.every(u));break;case"second":c.ticks(dt.every(u));break;case"minute":c.ticks(At.every(u));break;case"hour":c.ticks(It.every(u));break;case"day":c.ticks(yt.every(u));break;case"week":c.ticks(ze[o].every(u));break;case"month":c.ticks(Lt.every(u));break}}if(z.append("g").attr("class","grid").attr("transform","translate("+T+", "+(w-50)+")").call(c).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||i.topAxis){let u=Jn(E).tickSize(-w+F+i.gridLineStartPadding).tickFormat(Qt(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));if(m!==null){const M=m[1],o=m[2],R=r.db.getWeekday()||i.weekday;switch(o){case"millisecond":u.ticks(Dt.every(M));break;case"second":u.ticks(dt.every(M));break;case"minute":u.ticks(At.every(M));break;case"hour":u.ticks(It.every(M));break;case"day":u.ticks(yt.every(M));break;case"week":u.ticks(ze[R].every(M));break;case"month":u.ticks(Lt.every(M));break}}z.append("g").attr("class","grid").attr("transform","translate("+T+", "+F+")").call(u).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function $(T,F){let S=0;const w=Object.keys(v).map(c=>[c,v[c]]);z.append("g").selectAll("text").data(w).enter().append(function(c){const d=c[0].split(Wn.lineBreakRegex),m=-(d.length-1)/2,u=C.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("dy",m+"em");for(const[M,o]of d.entries()){const R=C.createElementNS("http://www.w3.org/2000/svg","tspan");R.setAttribute("alignment-baseline","central"),R.setAttribute("x","10"),M>0&&R.setAttribute("dy","1em"),R.textContent=o,u.appendChild(R)}return u}).attr("x",10).attr("y",function(c,d){if(d>0)for(let m=0;m` + .mermaid-main-font { + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .exclude-range { + fill: ${t.excludeBkgColor}; + } + + .section { + stroke: none; + opacity: 0.2; + } + + .section0 { + fill: ${t.sectionBkgColor}; + } + + .section2 { + fill: ${t.sectionBkgColor2}; + } + + .section1, + .section3 { + fill: ${t.altSectionBkgColor}; + opacity: 0.2; + } + + .sectionTitle0 { + fill: ${t.titleColor}; + } + + .sectionTitle1 { + fill: ${t.titleColor}; + } + + .sectionTitle2 { + fill: ${t.titleColor}; + } + + .sectionTitle3 { + fill: ${t.titleColor}; + } + + .sectionTitle { + text-anchor: start; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + + /* Grid and axis */ + + .grid .tick { + stroke: ${t.gridColor}; + opacity: 0.8; + shape-rendering: crispEdges; + } + + .grid .tick text { + font-family: ${t.fontFamily}; + fill: ${t.textColor}; + } + + .grid path { + stroke-width: 0; + } + + + /* Today line */ + + .today { + fill: none; + stroke: ${t.todayLineColor}; + stroke-width: 2px; + } + + + /* Task styling */ + + /* Default task */ + + .task { + stroke-width: 2; + } + + .taskText { + text-anchor: middle; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .taskTextOutsideRight { + fill: ${t.taskTextDarkColor}; + text-anchor: start; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .taskTextOutsideLeft { + fill: ${t.taskTextDarkColor}; + text-anchor: end; + } + + + /* Special case clickable */ + + .task.clickable { + cursor: pointer; + } + + .taskText.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideLeft.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideRight.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + + /* Specific task settings for the sections*/ + + .taskText0, + .taskText1, + .taskText2, + .taskText3 { + fill: ${t.taskTextColor}; + } + + .task0, + .task1, + .task2, + .task3 { + fill: ${t.taskBkgColor}; + stroke: ${t.taskBorderColor}; + } + + .taskTextOutside0, + .taskTextOutside2 + { + fill: ${t.taskTextOutsideColor}; + } + + .taskTextOutside1, + .taskTextOutside3 { + fill: ${t.taskTextOutsideColor}; + } + + + /* Active task */ + + .active0, + .active1, + .active2, + .active3 { + fill: ${t.activeTaskBkgColor}; + stroke: ${t.activeTaskBorderColor}; + } + + .activeText0, + .activeText1, + .activeText2, + .activeText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Completed task */ + + .done0, + .done1, + .done2, + .done3 { + stroke: ${t.doneTaskBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + } + + .doneText0, + .doneText1, + .doneText2, + .doneText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Tasks on the critical line */ + + .crit0, + .crit1, + .crit2, + .crit3 { + stroke: ${t.critBorderColor}; + fill: ${t.critBkgColor}; + stroke-width: 2; + } + + .activeCrit0, + .activeCrit1, + .activeCrit2, + .activeCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.activeTaskBkgColor}; + stroke-width: 2; + } + + .doneCrit0, + .doneCrit1, + .doneCrit2, + .doneCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + cursor: pointer; + shape-rendering: crispEdges; + } + + .milestone { + transform: rotate(45deg) scale(0.8,0.8); + } + + .milestoneText { + font-style: italic; + } + .doneCritText0, + .doneCritText1, + .doneCritText2, + .doneCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .activeCritText0, + .activeCritText1, + .activeCritText2, + .activeCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .titleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.titleColor||t.textColor}; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } +`,ds=hs,Cs={parser:Mi,db:os,renderer:fs,styles:ds};export{Cs as diagram}; diff --git a/assets/gitGraphDiagram-b9d81de9-ZTHGR0Gg.js b/assets/gitGraphDiagram-b9d81de9-ZTHGR0Gg.js new file mode 100644 index 00000000000..bd8c64183cf --- /dev/null +++ b/assets/gitGraphDiagram-b9d81de9-ZTHGR0Gg.js @@ -0,0 +1,70 @@ +import{c as O,s as vt,g as Ct,a as Ot,b as Pt,p as At,q as St,l as H,j as D,r as It,h as Gt,u as Nt,z as Ht,A as Bt}from"./mermaid.core-wTs8WatG.js";import"./request-bY2SEZNN.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";var mt=function(){var r=function(S,o,u,d){for(u=u||{},d=S.length;d--;u[S[d]]=o);return u},n=[1,3],l=[1,6],h=[1,4],a=[1,5],c=[2,5],p=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],y=[7,13,19,21,23,24,26,28,31,37,40],x=[7,12,13,19,21,23,24,26,28,31,37,40],s=[7,13,47],_=[1,42],E=[1,41],b=[7,13,29,32,35,38,47],f=[1,55],k=[1,56],g=[1,57],T=[7,13,32,35,42,47],z={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,d,i,w,t,X){var e=t.length-1;switch(w){case 2:return t[e];case 3:return t[e-1];case 4:return i.setDirection(t[e-3]),t[e-1];case 6:i.setOptions(t[e-1]),this.$=t[e];break;case 7:t[e-1]+=t[e],this.$=t[e-1];break;case 9:this.$=[];break;case 10:t[e-1].push(t[e]),this.$=t[e-1];break;case 11:this.$=t[e-1];break;case 16:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 19:i.addSection(t[e].substr(8)),this.$=t[e].substr(8);break;case 21:i.checkout(t[e]);break;case 22:i.branch(t[e]);break;case 23:i.branch(t[e-2],t[e]);break;case 24:i.cherryPick(t[e],"",void 0);break;case 25:i.cherryPick(t[e-2],"",void 0,t[e]);break;case 26:i.cherryPick(t[e-2],"",t[e]);break;case 27:i.cherryPick(t[e-4],"",t[e],t[e-2]);break;case 28:i.cherryPick(t[e-4],"",t[e-2],t[e]);break;case 29:i.cherryPick(t[e],"",t[e-2]);break;case 30:i.cherryPick(t[e],"","");break;case 31:i.cherryPick(t[e-2],"","");break;case 32:i.cherryPick(t[e-4],"","",t[e-2]);break;case 33:i.cherryPick(t[e-4],"","",t[e]);break;case 34:i.cherryPick(t[e-2],"",t[e-4],t[e]);break;case 35:i.cherryPick(t[e-2],"","",t[e]);break;case 36:i.merge(t[e],"","","");break;case 37:i.merge(t[e-2],t[e],"","");break;case 38:i.merge(t[e-2],"",t[e],"");break;case 39:i.merge(t[e-2],"","",t[e]);break;case 40:i.merge(t[e-4],t[e],"",t[e-2]);break;case 41:i.merge(t[e-4],"",t[e],t[e-2]);break;case 42:i.merge(t[e-4],"",t[e-2],t[e]);break;case 43:i.merge(t[e-4],t[e-2],t[e],"");break;case 44:i.merge(t[e-4],t[e-2],"",t[e]);break;case 45:i.merge(t[e-4],t[e],t[e-2],"");break;case 46:i.merge(t[e-6],t[e-4],t[e-2],t[e]);break;case 47:i.merge(t[e-6],t[e],t[e-4],t[e-2]);break;case 48:i.merge(t[e-6],t[e-4],t[e],t[e-2]);break;case 49:i.merge(t[e-6],t[e-2],t[e-4],t[e]);break;case 50:i.merge(t[e-6],t[e],t[e-2],t[e-4]);break;case 51:i.merge(t[e-6],t[e-2],t[e],t[e-4]);break;case 52:i.commit(t[e]);break;case 53:i.commit("","",i.commitType.NORMAL,t[e]);break;case 54:i.commit("","",t[e],"");break;case 55:i.commit("","",t[e],t[e-2]);break;case 56:i.commit("","",t[e-2],t[e]);break;case 57:i.commit("",t[e],i.commitType.NORMAL,"");break;case 58:i.commit("",t[e-2],i.commitType.NORMAL,t[e]);break;case 59:i.commit("",t[e],i.commitType.NORMAL,t[e-2]);break;case 60:i.commit("",t[e-2],t[e],"");break;case 61:i.commit("",t[e],t[e-2],"");break;case 62:i.commit("",t[e-4],t[e-2],t[e]);break;case 63:i.commit("",t[e-4],t[e],t[e-2]);break;case 64:i.commit("",t[e-2],t[e-4],t[e]);break;case 65:i.commit("",t[e],t[e-4],t[e-2]);break;case 66:i.commit("",t[e],t[e-2],t[e-4]);break;case 67:i.commit("",t[e-2],t[e],t[e-4]);break;case 68:i.commit(t[e],"",i.commitType.NORMAL,"");break;case 69:i.commit(t[e],"",i.commitType.NORMAL,t[e-2]);break;case 70:i.commit(t[e-2],"",i.commitType.NORMAL,t[e]);break;case 71:i.commit(t[e-2],"",t[e],"");break;case 72:i.commit(t[e],"",t[e-2],"");break;case 73:i.commit(t[e],t[e-2],i.commitType.NORMAL,"");break;case 74:i.commit(t[e-2],t[e],i.commitType.NORMAL,"");break;case 75:i.commit(t[e-4],"",t[e-2],t[e]);break;case 76:i.commit(t[e-4],"",t[e],t[e-2]);break;case 77:i.commit(t[e-2],"",t[e-4],t[e]);break;case 78:i.commit(t[e],"",t[e-4],t[e-2]);break;case 79:i.commit(t[e],"",t[e-2],t[e-4]);break;case 80:i.commit(t[e-2],"",t[e],t[e-4]);break;case 81:i.commit(t[e-4],t[e],t[e-2],"");break;case 82:i.commit(t[e-4],t[e-2],t[e],"");break;case 83:i.commit(t[e-2],t[e],t[e-4],"");break;case 84:i.commit(t[e],t[e-2],t[e-4],"");break;case 85:i.commit(t[e],t[e-4],t[e-2],"");break;case 86:i.commit(t[e-2],t[e-4],t[e],"");break;case 87:i.commit(t[e-4],t[e],i.commitType.NORMAL,t[e-2]);break;case 88:i.commit(t[e-4],t[e-2],i.commitType.NORMAL,t[e]);break;case 89:i.commit(t[e-2],t[e],i.commitType.NORMAL,t[e-4]);break;case 90:i.commit(t[e],t[e-2],i.commitType.NORMAL,t[e-4]);break;case 91:i.commit(t[e],t[e-4],i.commitType.NORMAL,t[e-2]);break;case 92:i.commit(t[e-2],t[e-4],i.commitType.NORMAL,t[e]);break;case 93:i.commit(t[e-6],t[e-4],t[e-2],t[e]);break;case 94:i.commit(t[e-6],t[e-4],t[e],t[e-2]);break;case 95:i.commit(t[e-6],t[e-2],t[e-4],t[e]);break;case 96:i.commit(t[e-6],t[e],t[e-4],t[e-2]);break;case 97:i.commit(t[e-6],t[e-2],t[e],t[e-4]);break;case 98:i.commit(t[e-6],t[e],t[e-2],t[e-4]);break;case 99:i.commit(t[e-4],t[e-6],t[e-2],t[e]);break;case 100:i.commit(t[e-4],t[e-6],t[e],t[e-2]);break;case 101:i.commit(t[e-2],t[e-6],t[e-4],t[e]);break;case 102:i.commit(t[e],t[e-6],t[e-4],t[e-2]);break;case 103:i.commit(t[e-2],t[e-6],t[e],t[e-4]);break;case 104:i.commit(t[e],t[e-6],t[e-2],t[e-4]);break;case 105:i.commit(t[e],t[e-4],t[e-2],t[e-6]);break;case 106:i.commit(t[e-2],t[e-4],t[e],t[e-6]);break;case 107:i.commit(t[e],t[e-2],t[e-4],t[e-6]);break;case 108:i.commit(t[e-2],t[e],t[e-4],t[e-6]);break;case 109:i.commit(t[e-4],t[e-2],t[e],t[e-6]);break;case 110:i.commit(t[e-4],t[e],t[e-2],t[e-6]);break;case 111:i.commit(t[e-2],t[e-4],t[e-6],t[e]);break;case 112:i.commit(t[e],t[e-4],t[e-6],t[e-2]);break;case 113:i.commit(t[e-2],t[e],t[e-6],t[e-4]);break;case 114:i.commit(t[e],t[e-2],t[e-6],t[e-4]);break;case 115:i.commit(t[e-4],t[e-2],t[e-6],t[e]);break;case 116:i.commit(t[e-4],t[e],t[e-6],t[e-2]);break;case 117:this.$="";break;case 118:this.$=t[e];break;case 119:this.$=i.commitType.NORMAL;break;case 120:this.$=i.commitType.REVERSE;break;case 121:this.$=i.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:l,13:h,47:a},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:a},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:p},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:p},{8:[1,15]},r(y,[2,9],{11:16,12:[1,17]}),r(x,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:p},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(x,[2,7]),{1:[2,3]},{7:[1,36]},r(y,[2,10]),{4:37,7:l,13:h,47:a},r(y,[2,12]),r(s,[2,13]),r(s,[2,14]),r(s,[2,15]),{20:[1,38]},{22:[1,39]},r(s,[2,18]),r(s,[2,19]),r(s,[2,20]),{27:40,33:_,46:E},r(s,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:_,46:E},{32:[1,50],35:[1,51]},{27:52,33:_,46:E},{1:[2,4]},r(y,[2,11]),r(s,[2,16]),r(s,[2,17]),r(s,[2,21]),r(b,[2,122]),r(b,[2,123]),r(s,[2,52]),{33:[1,53]},{39:54,43:f,44:k,45:g},{33:[1,58]},{33:[1,59]},r(s,[2,118]),r(s,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(s,[2,22],{29:[1,66]}),r(s,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(s,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(T,[2,119]),r(T,[2,120]),r(T,[2,121]),r(s,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(s,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:k,45:g},{33:[1,81]},r(s,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:k,45:g},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:k,45:g},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:k,45:g},{33:[1,98]},r(s,[2,37],{35:[1,100],38:[1,99]}),r(s,[2,38],{32:[1,102],35:[1,101]}),r(s,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(s,[2,23]),r(s,[2,55],{32:[1,110],42:[1,111]}),r(s,[2,59],{38:[1,112],42:[1,113]}),r(s,[2,69],{32:[1,115],38:[1,114]}),r(s,[2,56],{32:[1,116],42:[1,117]}),r(s,[2,61],{35:[1,118],42:[1,119]}),r(s,[2,72],{32:[1,121],35:[1,120]}),r(s,[2,58],{38:[1,122],42:[1,123]}),r(s,[2,60],{35:[1,124],42:[1,125]}),r(s,[2,73],{35:[1,127],38:[1,126]}),r(s,[2,70],{32:[1,129],38:[1,128]}),r(s,[2,71],{32:[1,131],35:[1,130]}),r(s,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:k,45:g},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:k,45:g},r(s,[2,25],{35:[1,140]}),r(s,[2,26],{34:[1,141]}),r(s,[2,31],{34:[1,142]}),r(s,[2,29],{34:[1,143]}),r(s,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:k,45:g},{33:[1,148]},{39:149,43:f,44:k,45:g},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:k,45:g},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:k,45:g},{33:[1,162]},{39:163,43:f,44:k,45:g},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:k,45:g},{33:[1,168]},r(s,[2,43],{35:[1,169]}),r(s,[2,44],{38:[1,170]}),r(s,[2,42],{32:[1,171]}),r(s,[2,45],{35:[1,172]}),r(s,[2,40],{38:[1,173]}),r(s,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(s,[2,66],{42:[1,181]}),r(s,[2,79],{32:[1,182]}),r(s,[2,67],{42:[1,183]}),r(s,[2,90],{38:[1,184]}),r(s,[2,80],{32:[1,185]}),r(s,[2,89],{38:[1,186]}),r(s,[2,65],{42:[1,187]}),r(s,[2,78],{32:[1,188]}),r(s,[2,64],{42:[1,189]}),r(s,[2,84],{35:[1,190]}),r(s,[2,77],{32:[1,191]}),r(s,[2,83],{35:[1,192]}),r(s,[2,63],{42:[1,193]}),r(s,[2,91],{38:[1,194]}),r(s,[2,62],{42:[1,195]}),r(s,[2,85],{35:[1,196]}),r(s,[2,86],{35:[1,197]}),r(s,[2,92],{38:[1,198]}),r(s,[2,76],{32:[1,199]}),r(s,[2,87],{38:[1,200]}),r(s,[2,75],{32:[1,201]}),r(s,[2,81],{35:[1,202]}),r(s,[2,82],{35:[1,203]}),r(s,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:k,45:g},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:k,45:g},{33:[1,210]},r(s,[2,27]),r(s,[2,32]),r(s,[2,28]),r(s,[2,33]),r(s,[2,34]),r(s,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:k,45:g},{33:[1,215]},{39:216,43:f,44:k,45:g},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:k,45:g},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:k,45:g},{33:[1,229]},{39:230,43:f,44:k,45:g},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:k,45:g},r(s,[2,46]),r(s,[2,48]),r(s,[2,47]),r(s,[2,49]),r(s,[2,51]),r(s,[2,50]),r(s,[2,107]),r(s,[2,108]),r(s,[2,105]),r(s,[2,106]),r(s,[2,110]),r(s,[2,109]),r(s,[2,114]),r(s,[2,113]),r(s,[2,112]),r(s,[2,111]),r(s,[2,116]),r(s,[2,115]),r(s,[2,104]),r(s,[2,103]),r(s,[2,102]),r(s,[2,101]),r(s,[2,99]),r(s,[2,100]),r(s,[2,98]),r(s,[2,97]),r(s,[2,96]),r(s,[2,95]),r(s,[2,93]),r(s,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(u.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=u,d}},parse:function(o){var u=this,d=[0],i=[],w=[null],t=[],X=this.table,e="",rt=0,ft=0,wt=2,pt=1,Rt=t.slice.call(arguments,1),P=Object.create(this.lexer),F={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(F.yy[ct]=this.yy[ct]);P.setInput(o,F.yy),F.yy.lexer=P,F.yy.parser=this,typeof P.yylloc>"u"&&(P.yylloc={});var ot=P.yylloc;t.push(ot);var Lt=P.options&&P.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var j;return j=i.pop()||P.lex()||pt,typeof j!="number"&&(j instanceof Array&&(i=j,j=i.pop()),j=u.symbols_[j]||j),j}for(var N,K,V,lt,J={},it,q,bt,st;;){if(K=d[d.length-1],this.defaultActions[K]?V=this.defaultActions[K]:((N===null||typeof N>"u")&&(N=Mt()),V=X[K]&&X[K][N]),typeof V>"u"||!V.length||!V[0]){var ht="";st=[];for(it in X[K])this.terminals_[it]&&it>wt&&st.push("'"+this.terminals_[it]+"'");P.showPosition?ht="Parse error on line "+(rt+1)+`: +`+P.showPosition()+` +Expecting `+st.join(", ")+", got '"+(this.terminals_[N]||N)+"'":ht="Parse error on line "+(rt+1)+": Unexpected "+(N==pt?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError(ht,{text:P.match,token:this.terminals_[N]||N,line:P.yylineno,loc:ot,expected:st})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+N);switch(V[0]){case 1:d.push(N),w.push(P.yytext),t.push(P.yylloc),d.push(V[1]),N=null,ft=P.yyleng,e=P.yytext,rt=P.yylineno,ot=P.yylloc;break;case 2:if(q=this.productions_[V[1]][1],J.$=w[w.length-q],J._$={first_line:t[t.length-(q||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(q||1)].first_column,last_column:t[t.length-1].last_column},Lt&&(J._$.range=[t[t.length-(q||1)].range[0],t[t.length-1].range[1]]),lt=this.performAction.apply(J,[e,ft,rt,F.yy,V[1],w,t].concat(Rt)),typeof lt<"u")return lt;q&&(d=d.slice(0,-1*q*2),w=w.slice(0,-1*q),t=t.slice(0,-1*q)),d.push(this.productions_[V[1]][0]),w.push(J.$),t.push(J._$),bt=X[d[d.length-2]][d[d.length-1]],d.push(bt);break;case 3:return!0}}return!0}},v=function(){var S={EOF:1,parseError:function(u,d){if(this.yy.parser)this.yy.parser.parseError(u,d);else throw new Error(u)},setInput:function(o,u){return this.yy=u||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var u=o.length,d=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+` +`+u+"^"},test_match:function(o,u){var d,i,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),i=o[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],d=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),d)return d;if(this._backtrack){for(var t in w)this[t]=w[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,u,d,i;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),t=0;tu[0].length)){if(u=d,i=t,this.options.backtrack_lexer){if(o=this.test_match(d,w[t]),o!==!1)return o;if(this._backtrack){u=!1;continue}else return!1}else if(!this.options.flex)break}return u?(o=this.test_match(u,w[i]),o!==!1?o:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var u=this.next();return u||this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){var u=this.conditionStack.length-1;return u>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(u){return u=this.conditionStack.length-1-Math.abs(u||0),u>=0?this.conditionStack[u]:"INITIAL"},pushState:function(u){this.begin(u)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(u,d,i,w){switch(i){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:break;case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:return 9;case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 30:this.popState();break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 34:this.popState();break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}};return S}();z.lexer=v;function I(){this.yy={}}return I.prototype=z,z.Parser=I,new I}();mt.parser=mt;const Vt=mt;let at=O().gitGraph.mainBranchName,Dt=O().gitGraph.mainBranchOrder,C={},G=null,tt={};tt[at]={name:at,order:Dt};let M={};M[at]=G;let A=at,kt="LR",W=0;function ut(){return Bt({length:7})}function zt(r,n){const l=Object.create(null);return r.reduce((h,a)=>{const c=n(a);return l[c]||(l[c]=!0,h.push(a)),h},[])}const qt=function(r){kt=r};let xt={};const jt=function(r){H.debug("options str",r),r=r&&r.trim(),r=r||"{}";try{xt=JSON.parse(r)}catch(n){H.error("error while parsing gitGraph options",n.message)}},Yt=function(){return xt},Ft=function(r,n,l,h){H.debug("Entering commit:",r,n,l,h),n=D.sanitizeText(n,O()),r=D.sanitizeText(r,O()),h=D.sanitizeText(h,O());const a={id:n||W+"-"+ut(),message:r,seq:W++,type:l||Q.NORMAL,tag:h||"",parents:G==null?[]:[G.id],branch:A};G=a,C[a.id]=a,M[A]=a.id,H.debug("in pushCommit "+a.id)},Kt=function(r,n){if(r=D.sanitizeText(r,O()),M[r]===void 0)M[r]=G!=null?G.id:null,tt[r]={name:r,order:n?parseInt(n,10):null},yt(r),H.debug("in createBranch");else{let l=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+r+'")');throw l.hash={text:"branch "+r,token:"branch "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+r+'"']},l}},Ut=function(r,n,l,h){r=D.sanitizeText(r,O()),n=D.sanitizeText(n,O());const a=C[M[A]],c=C[M[r]];if(A===r){let m=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}else if(a===void 0||!a){let m=new Error('Incorrect usage of "merge". Current branch ('+A+")has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},m}else if(M[r]===void 0){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+r]},m}else if(c===void 0||!c){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},m}else if(a===c){let m=new Error('Incorrect usage of "merge". Both branches have same head');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}else if(n&&C[n]!==void 0){let m=new Error('Incorrect usage of "merge". Commit with id:'+n+" already exists, use different custom Id");throw m.hash={text:"merge "+r+n+l+h,token:"merge "+r+n+l+h,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+r+" "+n+"_UNIQUE "+l+" "+h]},m}const p={id:n||W+"-"+ut(),message:"merged branch "+r+" into "+A,seq:W++,parents:[G==null?null:G.id,M[r]],branch:A,type:Q.MERGE,customType:l,customId:!!n,tag:h||""};G=p,C[p.id]=p,M[A]=p.id,H.debug(M),H.debug("in mergeBranch")},Wt=function(r,n,l,h){if(H.debug("Entering cherryPick:",r,n,l),r=D.sanitizeText(r,O()),n=D.sanitizeText(n,O()),l=D.sanitizeText(l,O()),h=D.sanitizeText(h,O()),!r||C[r]===void 0){let p=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw p.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},p}let a=C[r],c=a.branch;if(h&&!(Array.isArray(a.parents)&&a.parents.includes(h)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(a.type===Q.MERGE&&!h)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!n||C[n]===void 0){if(c===A){let y=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const p=C[M[A]];if(p===void 0||!p){let y=new Error('Incorrect usage of "cherry-pick". Current branch ('+A+")has no commits");throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const m={id:W+"-"+ut(),message:"cherry-picked "+a+" into "+A,seq:W++,parents:[G==null?null:G.id,a.id],branch:A,type:Q.CHERRY_PICK,tag:l??`cherry-pick:${a.id}${a.type===Q.MERGE?`|parent:${h}`:""}`};G=m,C[m.id]=m,M[A]=m.id,H.debug(M),H.debug("in cherryPick")}},yt=function(r){if(r=D.sanitizeText(r,O()),M[r]===void 0){let n=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+r+'")');throw n.hash={text:"checkout "+r,token:"checkout "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+r+'"']},n}else{A=r;const n=M[A];G=C[n]}};function gt(r,n,l){const h=r.indexOf(n);h===-1?r.push(l):r.splice(h,1,l)}function _t(r){const n=r.reduce((a,c)=>a.seq>c.seq?a:c,r[0]);let l="";r.forEach(function(a){a===n?l+=" *":l+=" |"});const h=[l,n.id,n.seq];for(let a in M)M[a]===n.id&&h.push(a);if(H.debug(h.join(" ")),n.parents&&n.parents.length==2){const a=C[n.parents[0]];gt(r,n,a),r.push(C[n.parents[1]])}else{if(n.parents.length==0)return;{const a=C[n.parents];gt(r,n,a)}}r=zt(r,a=>a.id),_t(r)}const Jt=function(){H.debug(C);const r=Et()[0];_t([r])},Qt=function(){C={},G=null;let r=O().gitGraph.mainBranchName,n=O().gitGraph.mainBranchOrder;M={},M[r]=null,tt={},tt[r]={name:r,order:n},A=r,W=0,It()},Xt=function(){return Object.values(tt).map((n,l)=>n.order!==null?n:{...n,order:parseFloat(`0.${l}`,10)}).sort((n,l)=>n.order-l.order).map(({name:n})=>({name:n}))},Zt=function(){return M},$t=function(){return C},Et=function(){const r=Object.keys(C).map(function(n){return C[n]});return r.forEach(function(n){H.debug(n.id)}),r.sort((n,l)=>n.seq-l.seq),r},te=function(){return A},ee=function(){return kt},re=function(){return G},Q={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ie={getConfig:()=>O().gitGraph,setDirection:qt,setOptions:jt,getOptions:Yt,commit:Ft,branch:Kt,merge:Ut,cherryPick:Wt,checkout:yt,prettyPrint:Jt,clear:Qt,getBranchesAsObjArray:Xt,getBranches:Zt,getCommits:$t,getCommitsArray:Et,getCurrentBranch:te,getDirection:ee,getHead:re,setAccTitle:vt,getAccTitle:Ct,getAccDescription:Ot,setAccDescription:Pt,setDiagramTitle:At,getDiagramTitle:St,commitType:Q};let Z={};const B={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},U=8;let R={},Y={},nt=[],et=0,L="LR";const se=()=>{R={},Y={},Z={},et=0,nt=[],L="LR"},Tt=r=>{const n=document.createElementNS("http://www.w3.org/2000/svg","text");let l=[];typeof r=="string"?l=r.split(/\\n|\n|/gi):Array.isArray(r)?l=r:l=[];for(const h of l){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),a.setAttribute("class","row"),a.textContent=h.trim(),n.appendChild(a)}return n},ae=r=>{let n="",l=0;return r.forEach(h=>{const a=L==="TB"?Y[h].y:Y[h].x;a>=l&&(n=h,l=a)}),n||void 0},dt=(r,n,l)=>{const h=O().gitGraph,a=r.append("g").attr("class","commit-bullets"),c=r.append("g").attr("class","commit-labels");let p=0;L==="TB"&&(p=30);const y=Object.keys(n).sort((E,b)=>n[E].seq-n[b].seq),x=h.parallelCommits,s=10,_=40;y.forEach(E=>{const b=n[E];if(x)if(b.parents.length){const T=ae(b.parents);p=L==="TB"?Y[T].y+_:Y[T].x+_}else p=0,L==="TB"&&(p=30);const f=p+s,k=L==="TB"?f:R[b.branch].pos,g=L==="TB"?R[b.branch].pos:f;if(l){let T,z=b.customType!==void 0&&b.customType!==""?b.customType:b.type;switch(z){case B.NORMAL:T="commit-normal";break;case B.REVERSE:T="commit-reverse";break;case B.HIGHLIGHT:T="commit-highlight";break;case B.MERGE:T="commit-merge";break;case B.CHERRY_PICK:T="commit-cherry-pick";break;default:T="commit-normal"}if(z===B.HIGHLIGHT){const v=a.append("rect");v.attr("x",g-10),v.attr("y",k-10),v.attr("height",20),v.attr("width",20),v.attr("class",`commit ${b.id} commit-highlight${R[b.branch].index%U} ${T}-outer`),a.append("rect").attr("x",g-6).attr("y",k-6).attr("height",12).attr("width",12).attr("class",`commit ${b.id} commit${R[b.branch].index%U} ${T}-inner`)}else if(z===B.CHERRY_PICK)a.append("circle").attr("cx",g).attr("cy",k).attr("r",10).attr("class",`commit ${b.id} ${T}`),a.append("circle").attr("cx",g-3).attr("cy",k+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${b.id} ${T}`),a.append("circle").attr("cx",g+3).attr("cy",k+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${b.id} ${T}`),a.append("line").attr("x1",g+3).attr("y1",k+1).attr("x2",g).attr("y2",k-5).attr("stroke","#fff").attr("class",`commit ${b.id} ${T}`),a.append("line").attr("x1",g-3).attr("y1",k+1).attr("x2",g).attr("y2",k-5).attr("stroke","#fff").attr("class",`commit ${b.id} ${T}`);else{const v=a.append("circle");if(v.attr("cx",g),v.attr("cy",k),v.attr("r",b.type===B.MERGE?9:10),v.attr("class",`commit ${b.id} commit${R[b.branch].index%U}`),z===B.MERGE){const I=a.append("circle");I.attr("cx",g),I.attr("cy",k),I.attr("r",6),I.attr("class",`commit ${T} ${b.id} commit${R[b.branch].index%U}`)}z===B.REVERSE&&a.append("path").attr("d",`M ${g-5},${k-5}L${g+5},${k+5}M${g-5},${k+5}L${g+5},${k-5}`).attr("class",`commit ${T} ${b.id} commit${R[b.branch].index%U}`)}}if(L==="TB"?Y[b.id]={x:g,y:f}:Y[b.id]={x:f,y:k},l){if(b.type!==B.CHERRY_PICK&&(b.customId&&b.type===B.MERGE||b.type!==B.MERGE)&&h.showCommitLabel){const v=c.append("g"),I=v.insert("rect").attr("class","commit-label-bkg"),S=v.append("text").attr("x",p).attr("y",k+25).attr("class","commit-label").text(b.id);let o=S.node().getBBox();if(I.attr("x",f-o.width/2-2).attr("y",k+13.5).attr("width",o.width+2*2).attr("height",o.height+2*2),L==="TB"&&(I.attr("x",g-(o.width+4*4+5)).attr("y",k-12),S.attr("x",g-(o.width+4*4)).attr("y",k+o.height-12)),L!=="TB"&&S.attr("x",f-o.width/2),h.rotateCommitLabel)if(L==="TB")S.attr("transform","rotate(-45, "+g+", "+k+")"),I.attr("transform","rotate(-45, "+g+", "+k+")");else{let u=-7.5-(o.width+10)/25*9.5,d=10+o.width/25*8.5;v.attr("transform","translate("+u+", "+d+") rotate(-45, "+p+", "+k+")")}}if(b.tag){const v=c.insert("polygon"),I=c.append("circle"),S=c.append("text").attr("y",k-16).attr("class","tag-label").text(b.tag);let o=S.node().getBBox();S.attr("x",f-o.width/2);const u=o.height/2,d=k-19.2;v.attr("class","tag-label-bkg").attr("points",` + ${p-o.width/2-4/2},${d+2} + ${p-o.width/2-4/2},${d-2} + ${f-o.width/2-4},${d-u-2} + ${f+o.width/2+4},${d-u-2} + ${f+o.width/2+4},${d+u+2} + ${f-o.width/2-4},${d+u+2}`),I.attr("cx",p-o.width/2+4/2).attr("cy",d).attr("r",1.5).attr("class","tag-hole"),L==="TB"&&(v.attr("class","tag-label-bkg").attr("points",` + ${g},${p+2} + ${g},${p-2} + ${g+s},${p-u-2} + ${g+s+o.width+4},${p-u-2} + ${g+s+o.width+4},${p+u+2} + ${g+s},${p+u+2}`).attr("transform","translate(12,12) rotate(45, "+g+","+p+")"),I.attr("cx",g+4/2).attr("cy",p).attr("transform","translate(12,12) rotate(45, "+g+","+p+")"),S.attr("x",g+5).attr("y",p+3).attr("transform","translate(14,14) rotate(45, "+g+","+p+")"))}}p+=_+s,p>et&&(et=p)})},ne=(r,n,l,h,a)=>{const p=(L==="TB"?l.xx.branch===p,y=x=>x.seq>r.seq&&x.seqy(x)&&m(x))},$=(r,n,l=0)=>{const h=r+Math.abs(r-n)/2;if(l>5)return h;if(nt.every(p=>Math.abs(p-h)>=10))return nt.push(h),h;const c=Math.abs(r-n);return $(r,n-c/5,l+1)},ce=(r,n,l,h)=>{const a=Y[n.id],c=Y[l.id],p=ne(n,l,a,c,h);let m="",y="",x=0,s=0,_=R[l.branch].index,E;if(p){m="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",x=10,s=10;const b=a.yc.x&&(m="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",x=20,s=20,_=R[n.branch].index,E=`M ${a.x} ${a.y} L ${a.x} ${c.y-x} ${y} ${a.x-s} ${c.y} L ${c.x} ${c.y}`),a.x===c.x&&(_=R[n.branch].index,E=`M ${a.x} ${a.y} L ${a.x+x} ${a.y} ${m} ${a.x+s} ${c.y+x} L ${c.x} ${c.y}`)):(a.yc.y&&(m="A 20 20, 0, 0, 0,",x=20,s=20,_=R[n.branch].index,E=`M ${a.x} ${a.y} L ${c.x-x} ${a.y} ${m} ${c.x} ${a.y-s} L ${c.x} ${c.y}`),a.y===c.y&&(_=R[n.branch].index,E=`M ${a.x} ${a.y} L ${a.x} ${c.y-x} ${m} ${a.x+s} ${c.y} L ${c.x} ${c.y}`));r.append("path").attr("d",E).attr("class","arrow arrow"+_%U)},oe=(r,n)=>{const l=r.append("g").attr("class","commit-arrows");Object.keys(n).forEach(h=>{const a=n[h];a.parents&&a.parents.length>0&&a.parents.forEach(c=>{ce(l,n[c],a,n)})})},le=(r,n)=>{const l=O().gitGraph,h=r.append("g");n.forEach((a,c)=>{const p=c%U,m=R[a.name].pos,y=h.append("line");y.attr("x1",0),y.attr("y1",m),y.attr("x2",et),y.attr("y2",m),y.attr("class","branch branch"+p),L==="TB"&&(y.attr("y1",30),y.attr("x1",m),y.attr("y2",et),y.attr("x2",m)),nt.push(m);let x=a.name;const s=Tt(x),_=h.insert("rect"),b=h.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+p);b.node().appendChild(s);let f=s.getBBox();_.attr("class","branchLabelBkg label"+p).attr("rx",4).attr("ry",4).attr("x",-f.width-4-(l.rotateCommitLabel===!0?30:0)).attr("y",-f.height/2+8).attr("width",f.width+18).attr("height",f.height+4),b.attr("transform","translate("+(-f.width-14-(l.rotateCommitLabel===!0?30:0))+", "+(m-f.height/2-1)+")"),L==="TB"&&(_.attr("x",m-f.width/2-10).attr("y",0),b.attr("transform","translate("+(m-f.width/2-5)+", 0)")),L!=="TB"&&_.attr("transform","translate(-19, "+(m-f.height/2)+")")})},he=function(r,n,l,h){se();const a=O(),c=a.gitGraph;H.debug("in gitgraph renderer",r+` +`,"id:",n,l),Z=h.db.getCommits();const p=h.db.getBranchesAsObjArray();L=h.db.getDirection();const m=Gt(`[id="${n}"]`);let y=0;p.forEach((x,s)=>{const _=Tt(x.name),E=m.append("g"),b=E.insert("g").attr("class","branchLabel"),f=b.insert("g").attr("class","label branch-label");f.node().appendChild(_);let k=_.getBBox();R[x.name]={pos:y,index:s},y+=50+(c.rotateCommitLabel?40:0)+(L==="TB"?k.width/2:0),f.remove(),b.remove(),E.remove()}),dt(m,Z,!1),c.showBranches&&le(m,p),oe(m,Z),dt(m,Z,!0),Nt.insertTitle(m,"gitTitleText",c.titleTopMargin,h.db.getDiagramTitle()),Ht(void 0,m,c.diagramPadding,c.useMaxWidth??a.useMaxWidth)},me={draw:he},ue=r=>` + .commit-id, + .commit-msg, + .branch-label { + fill: lightgrey; + color: lightgrey; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + } + ${[0,1,2,3,4,5,6,7].map(n=>` + .branch-label${n} { fill: ${r["gitBranchLabel"+n]}; } + .commit${n} { stroke: ${r["git"+n]}; fill: ${r["git"+n]}; } + .commit-highlight${n} { stroke: ${r["gitInv"+n]}; fill: ${r["gitInv"+n]}; } + .label${n} { fill: ${r["git"+n]}; } + .arrow${n} { stroke: ${r["git"+n]}; } + `).join(` +`)} + + .branch { + stroke-width: 1; + stroke: ${r.lineColor}; + stroke-dasharray: 2; + } + .commit-label { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelColor};} + .commit-label-bkg { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelBackground}; opacity: 0.5; } + .tag-label { font-size: ${r.tagLabelFontSize}; fill: ${r.tagLabelColor};} + .tag-label-bkg { fill: ${r.tagLabelBackground}; stroke: ${r.tagLabelBorder}; } + .tag-hole { fill: ${r.textColor}; } + + .commit-merge { + stroke: ${r.primaryColor}; + fill: ${r.primaryColor}; + } + .commit-reverse { + stroke: ${r.primaryColor}; + fill: ${r.primaryColor}; + stroke-width: 3; + } + .commit-highlight-outer { + } + .commit-highlight-inner { + stroke: ${r.primaryColor}; + fill: ${r.primaryColor}; + } + + .arrow { stroke-width: 8; stroke-linecap: round; fill: none} + .gitTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${r.textColor}; + } +`,fe=ue,_e={parser:Vt,db:ie,renderer:me,styles:fe};export{_e as diagram}; diff --git a/assets/github-dark-WrpzPehD.js b/assets/github-dark-WrpzPehD.js new file mode 100644 index 00000000000..c61633a5d4c --- /dev/null +++ b/assets/github-dark-WrpzPehD.js @@ -0,0 +1 @@ +var e=Object.freeze({colors:{"activityBar.activeBorder":"#f9826c","activityBar.background":"#24292e","activityBar.border":"#1b1f23","activityBar.foreground":"#e1e4e8","activityBar.inactiveForeground":"#6a737d","activityBarBadge.background":"#0366d6","activityBarBadge.foreground":"#fff","badge.background":"#044289","badge.foreground":"#c8e1ff","breadcrumb.activeSelectionForeground":"#d1d5da","breadcrumb.focusForeground":"#e1e4e8","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#2b3036","button.background":"#176f2c","button.foreground":"#dcffe4","button.hoverBackground":"#22863a","button.secondaryBackground":"#444d56","button.secondaryForeground":"#fff","button.secondaryHoverBackground":"#586069","checkbox.background":"#444d56","checkbox.border":"#1b1f23","debugToolBar.background":"#2b3036",descriptionForeground:"#959da5","diffEditor.insertedTextBackground":"#28a74530","diffEditor.removedTextBackground":"#d73a4930","dropdown.background":"#2f363d","dropdown.border":"#1b1f23","dropdown.foreground":"#e1e4e8","dropdown.listBackground":"#24292e","editor.background":"#24292e","editor.findMatchBackground":"#ffd33d44","editor.findMatchHighlightBackground":"#ffd33d22","editor.focusedStackFrameHighlightBackground":"#2b6a3033","editor.foldBackground":"#58606915","editor.foreground":"#e1e4e8","editor.inactiveSelectionBackground":"#3392FF22","editor.lineHighlightBackground":"#2b3036","editor.linkedEditingBackground":"#3392FF22","editor.selectionBackground":"#3392FF44","editor.selectionHighlightBackground":"#17E5E633","editor.selectionHighlightBorder":"#17E5E600","editor.stackFrameHighlightBackground":"#C6902625","editor.wordHighlightBackground":"#17E5E600","editor.wordHighlightBorder":"#17E5E699","editor.wordHighlightStrongBackground":"#17E5E600","editor.wordHighlightStrongBorder":"#17E5E666","editorBracketHighlight.foreground1":"#79b8ff","editorBracketHighlight.foreground2":"#ffab70","editorBracketHighlight.foreground3":"#b392f0","editorBracketHighlight.foreground4":"#79b8ff","editorBracketHighlight.foreground5":"#ffab70","editorBracketHighlight.foreground6":"#b392f0","editorBracketMatch.background":"#17E5E650","editorBracketMatch.border":"#17E5E600","editorCursor.foreground":"#c8e1ff","editorError.foreground":"#f97583","editorGroup.border":"#1b1f23","editorGroupHeader.tabsBackground":"#1f2428","editorGroupHeader.tabsBorder":"#1b1f23","editorGutter.addedBackground":"#28a745","editorGutter.deletedBackground":"#ea4a5a","editorGutter.modifiedBackground":"#2188ff","editorIndentGuide.activeBackground":"#444d56","editorIndentGuide.background":"#2f363d","editorLineNumber.activeForeground":"#e1e4e8","editorLineNumber.foreground":"#444d56","editorOverviewRuler.border":"#1b1f23","editorWarning.foreground":"#ffea7f","editorWhitespace.foreground":"#444d56","editorWidget.background":"#1f2428",errorForeground:"#f97583",focusBorder:"#005cc5",foreground:"#d1d5da","gitDecoration.addedResourceForeground":"#34d058","gitDecoration.conflictingResourceForeground":"#ffab70","gitDecoration.deletedResourceForeground":"#ea4a5a","gitDecoration.ignoredResourceForeground":"#6a737d","gitDecoration.modifiedResourceForeground":"#79b8ff","gitDecoration.submoduleResourceForeground":"#6a737d","gitDecoration.untrackedResourceForeground":"#34d058","input.background":"#2f363d","input.border":"#1b1f23","input.foreground":"#e1e4e8","input.placeholderForeground":"#959da5","list.activeSelectionBackground":"#39414a","list.activeSelectionForeground":"#e1e4e8","list.focusBackground":"#044289","list.hoverBackground":"#282e34","list.hoverForeground":"#e1e4e8","list.inactiveFocusBackground":"#1d2d3e","list.inactiveSelectionBackground":"#282e34","list.inactiveSelectionForeground":"#e1e4e8","notificationCenterHeader.background":"#24292e","notificationCenterHeader.foreground":"#959da5","notifications.background":"#2f363d","notifications.border":"#1b1f23","notifications.foreground":"#e1e4e8","notificationsErrorIcon.foreground":"#ea4a5a","notificationsInfoIcon.foreground":"#79b8ff","notificationsWarningIcon.foreground":"#ffab70","panel.background":"#1f2428","panel.border":"#1b1f23","panelInput.border":"#2f363d","panelTitle.activeBorder":"#f9826c","panelTitle.activeForeground":"#e1e4e8","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#1f242888","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#1f2428","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#444d56","pickerGroup.foreground":"#e1e4e8","progressBar.background":"#0366d6","quickInput.background":"#24292e","quickInput.foreground":"#e1e4e8","scrollbar.shadow":"#0008","scrollbarSlider.activeBackground":"#6a737d88","scrollbarSlider.background":"#6a737d33","scrollbarSlider.hoverBackground":"#6a737d44","settings.headerForeground":"#e1e4e8","settings.modifiedItemIndicator":"#0366d6","sideBar.background":"#1f2428","sideBar.border":"#1b1f23","sideBar.foreground":"#d1d5da","sideBarSectionHeader.background":"#1f2428","sideBarSectionHeader.border":"#1b1f23","sideBarSectionHeader.foreground":"#e1e4e8","sideBarTitle.foreground":"#e1e4e8","statusBar.background":"#24292e","statusBar.border":"#1b1f23","statusBar.debuggingBackground":"#931c06","statusBar.debuggingForeground":"#fff","statusBar.foreground":"#d1d5da","statusBar.noFolderBackground":"#24292e","statusBarItem.prominentBackground":"#282e34","statusBarItem.remoteBackground":"#24292e","statusBarItem.remoteForeground":"#d1d5da","tab.activeBackground":"#24292e","tab.activeBorder":"#24292e","tab.activeBorderTop":"#f9826c","tab.activeForeground":"#e1e4e8","tab.border":"#1b1f23","tab.hoverBackground":"#24292e","tab.inactiveBackground":"#1f2428","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#24292e","tab.unfocusedActiveBorderTop":"#1b1f23","tab.unfocusedHoverBackground":"#24292e","terminal.ansiBlack":"#586069","terminal.ansiBlue":"#2188ff","terminal.ansiBrightBlack":"#959da5","terminal.ansiBrightBlue":"#79b8ff","terminal.ansiBrightCyan":"#56d4dd","terminal.ansiBrightGreen":"#85e89d","terminal.ansiBrightMagenta":"#b392f0","terminal.ansiBrightRed":"#f97583","terminal.ansiBrightWhite":"#fafbfc","terminal.ansiBrightYellow":"#ffea7f","terminal.ansiCyan":"#39c5cf","terminal.ansiGreen":"#34d058","terminal.ansiMagenta":"#b392f0","terminal.ansiRed":"#ea4a5a","terminal.ansiWhite":"#d1d5da","terminal.ansiYellow":"#ffea7f","terminal.foreground":"#d1d5da","terminal.tab.activeBorder":"#f9826c","terminalCursor.background":"#586069","terminalCursor.foreground":"#79b8ff","textBlockQuote.background":"#24292e","textBlockQuote.border":"#444d56","textCodeBlock.background":"#2f363d","textLink.activeForeground":"#c8e1ff","textLink.foreground":"#79b8ff","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#24292e","titleBar.activeForeground":"#e1e4e8","titleBar.border":"#1b1f23","titleBar.inactiveBackground":"#1f2428","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},displayName:"GitHub Dark",name:"github-dark",semanticHighlighting:!0,tokenColors:[{scope:["comment","punctuation.definition.comment","string.comment"],settings:{foreground:"#6a737d"}},{scope:["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language"],settings:{foreground:"#79b8ff"}},{scope:["entity","entity.name"],settings:{foreground:"#b392f0"}},{scope:"variable.parameter.function",settings:{foreground:"#e1e4e8"}},{scope:"entity.name.tag",settings:{foreground:"#85e89d"}},{scope:"keyword",settings:{foreground:"#f97583"}},{scope:["storage","storage.type"],settings:{foreground:"#f97583"}},{scope:["storage.modifier.package","storage.modifier.import","storage.type.java"],settings:{foreground:"#e1e4e8"}},{scope:["string","punctuation.definition.string","string punctuation.section.embedded source"],settings:{foreground:"#9ecbff"}},{scope:"support",settings:{foreground:"#79b8ff"}},{scope:"meta.property-name",settings:{foreground:"#79b8ff"}},{scope:"variable",settings:{foreground:"#ffab70"}},{scope:"variable.other",settings:{foreground:"#e1e4e8"}},{scope:"invalid.broken",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.deprecated",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.illegal",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.unimplemented",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"carriage-return",settings:{background:"#f97583",content:"^M",fontStyle:"italic underline",foreground:"#24292e"}},{scope:"message.error",settings:{foreground:"#fdaeb7"}},{scope:"string variable",settings:{foreground:"#79b8ff"}},{scope:["source.regexp","string.regexp"],settings:{foreground:"#dbedff"}},{scope:["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],settings:{foreground:"#dbedff"}},{scope:"string.regexp constant.character.escape",settings:{fontStyle:"bold",foreground:"#85e89d"}},{scope:"support.constant",settings:{foreground:"#79b8ff"}},{scope:"support.variable",settings:{foreground:"#79b8ff"}},{scope:"meta.module-reference",settings:{foreground:"#79b8ff"}},{scope:"punctuation.definition.list.begin.markdown",settings:{foreground:"#ffab70"}},{scope:["markup.heading","markup.heading entity.name"],settings:{fontStyle:"bold",foreground:"#79b8ff"}},{scope:"markup.quote",settings:{foreground:"#85e89d"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#e1e4e8"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#e1e4e8"}},{scope:["markup.underline"],settings:{fontStyle:"underline"}},{scope:["markup.strikethrough"],settings:{fontStyle:"strikethrough"}},{scope:"markup.inline.raw",settings:{foreground:"#79b8ff"}},{scope:["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],settings:{background:"#86181d",foreground:"#fdaeb7"}},{scope:["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],settings:{background:"#144620",foreground:"#85e89d"}},{scope:["markup.changed","punctuation.definition.changed"],settings:{background:"#c24e00",foreground:"#ffab70"}},{scope:["markup.ignored","markup.untracked"],settings:{background:"#79b8ff",foreground:"#2f363d"}},{scope:"meta.diff.range",settings:{fontStyle:"bold",foreground:"#b392f0"}},{scope:"meta.diff.header",settings:{foreground:"#79b8ff"}},{scope:"meta.separator",settings:{fontStyle:"bold",foreground:"#79b8ff"}},{scope:"meta.output",settings:{foreground:"#79b8ff"}},{scope:["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],settings:{foreground:"#d1d5da"}},{scope:"brackethighlighter.unmatched",settings:{foreground:"#fdaeb7"}},{scope:["constant.other.reference.link","string.other.link"],settings:{fontStyle:"underline",foreground:"#dbedff"}}],type:"dark"});export{e as default}; diff --git a/assets/github-light-QjB713Ax.js b/assets/github-light-QjB713Ax.js new file mode 100644 index 00000000000..8cead181b74 --- /dev/null +++ b/assets/github-light-QjB713Ax.js @@ -0,0 +1 @@ +var e=Object.freeze({colors:{"activityBar.activeBorder":"#f9826c","activityBar.background":"#fff","activityBar.border":"#e1e4e8","activityBar.foreground":"#2f363d","activityBar.inactiveForeground":"#959da5","activityBarBadge.background":"#2188ff","activityBarBadge.foreground":"#fff","badge.background":"#dbedff","badge.foreground":"#005cc5","breadcrumb.activeSelectionForeground":"#586069","breadcrumb.focusForeground":"#2f363d","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#fafbfc","button.background":"#159739","button.foreground":"#fff","button.hoverBackground":"#138934","button.secondaryBackground":"#e1e4e8","button.secondaryForeground":"#1b1f23","button.secondaryHoverBackground":"#d1d5da","checkbox.background":"#fafbfc","checkbox.border":"#d1d5da","debugToolBar.background":"#fff",descriptionForeground:"#6a737d","diffEditor.insertedTextBackground":"#34d05822","diffEditor.removedTextBackground":"#d73a4922","dropdown.background":"#fafbfc","dropdown.border":"#e1e4e8","dropdown.foreground":"#2f363d","dropdown.listBackground":"#fff","editor.background":"#fff","editor.findMatchBackground":"#ffdf5d","editor.findMatchHighlightBackground":"#ffdf5d66","editor.focusedStackFrameHighlightBackground":"#28a74525","editor.foldBackground":"#d1d5da11","editor.foreground":"#24292e","editor.inactiveSelectionBackground":"#0366d611","editor.lineHighlightBackground":"#f6f8fa","editor.linkedEditingBackground":"#0366d611","editor.selectionBackground":"#0366d625","editor.selectionHighlightBackground":"#34d05840","editor.selectionHighlightBorder":"#34d05800","editor.stackFrameHighlightBackground":"#ffd33d33","editor.wordHighlightBackground":"#34d05800","editor.wordHighlightBorder":"#24943e99","editor.wordHighlightStrongBackground":"#34d05800","editor.wordHighlightStrongBorder":"#24943e50","editorBracketHighlight.foreground1":"#005cc5","editorBracketHighlight.foreground2":"#e36209","editorBracketHighlight.foreground3":"#5a32a3","editorBracketHighlight.foreground4":"#005cc5","editorBracketHighlight.foreground5":"#e36209","editorBracketHighlight.foreground6":"#5a32a3","editorBracketMatch.background":"#34d05840","editorBracketMatch.border":"#34d05800","editorCursor.foreground":"#044289","editorError.foreground":"#cb2431","editorGroup.border":"#e1e4e8","editorGroupHeader.tabsBackground":"#f6f8fa","editorGroupHeader.tabsBorder":"#e1e4e8","editorGutter.addedBackground":"#28a745","editorGutter.deletedBackground":"#d73a49","editorGutter.modifiedBackground":"#2188ff","editorIndentGuide.activeBackground":"#d7dbe0","editorIndentGuide.background":"#eff2f6","editorLineNumber.activeForeground":"#24292e","editorLineNumber.foreground":"#1b1f234d","editorOverviewRuler.border":"#fff","editorWarning.foreground":"#f9c513","editorWhitespace.foreground":"#d1d5da","editorWidget.background":"#f6f8fa",errorForeground:"#cb2431",focusBorder:"#2188ff",foreground:"#444d56","gitDecoration.addedResourceForeground":"#28a745","gitDecoration.conflictingResourceForeground":"#e36209","gitDecoration.deletedResourceForeground":"#d73a49","gitDecoration.ignoredResourceForeground":"#959da5","gitDecoration.modifiedResourceForeground":"#005cc5","gitDecoration.submoduleResourceForeground":"#959da5","gitDecoration.untrackedResourceForeground":"#28a745","input.background":"#fafbfc","input.border":"#e1e4e8","input.foreground":"#2f363d","input.placeholderForeground":"#959da5","list.activeSelectionBackground":"#e2e5e9","list.activeSelectionForeground":"#2f363d","list.focusBackground":"#cce5ff","list.hoverBackground":"#ebf0f4","list.hoverForeground":"#2f363d","list.inactiveFocusBackground":"#dbedff","list.inactiveSelectionBackground":"#e8eaed","list.inactiveSelectionForeground":"#2f363d","notificationCenterHeader.background":"#e1e4e8","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#fafbfc","notifications.border":"#e1e4e8","notifications.foreground":"#2f363d","notificationsErrorIcon.foreground":"#d73a49","notificationsInfoIcon.foreground":"#005cc5","notificationsWarningIcon.foreground":"#e36209","panel.background":"#f6f8fa","panel.border":"#e1e4e8","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#f9826c","panelTitle.activeForeground":"#2f363d","panelTitle.inactiveForeground":"#6a737d","pickerGroup.border":"#e1e4e8","pickerGroup.foreground":"#2f363d","progressBar.background":"#2188ff","quickInput.background":"#fafbfc","quickInput.foreground":"#2f363d","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#959da588","scrollbarSlider.background":"#959da533","scrollbarSlider.hoverBackground":"#959da544","settings.headerForeground":"#2f363d","settings.modifiedItemIndicator":"#2188ff","sideBar.background":"#f6f8fa","sideBar.border":"#e1e4e8","sideBar.foreground":"#586069","sideBarSectionHeader.background":"#f6f8fa","sideBarSectionHeader.border":"#e1e4e8","sideBarSectionHeader.foreground":"#2f363d","sideBarTitle.foreground":"#2f363d","statusBar.background":"#fff","statusBar.border":"#e1e4e8","statusBar.debuggingBackground":"#f9826c","statusBar.debuggingForeground":"#fff","statusBar.foreground":"#586069","statusBar.noFolderBackground":"#fff","statusBarItem.prominentBackground":"#e8eaed","statusBarItem.remoteBackground":"#fff","statusBarItem.remoteForeground":"#586069","tab.activeBackground":"#fff","tab.activeBorder":"#fff","tab.activeBorderTop":"#f9826c","tab.activeForeground":"#2f363d","tab.border":"#e1e4e8","tab.hoverBackground":"#fff","tab.inactiveBackground":"#f6f8fa","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#fff","tab.unfocusedActiveBorderTop":"#e1e4e8","tab.unfocusedHoverBackground":"#fff","terminal.ansiBlack":"#24292e","terminal.ansiBlue":"#0366d6","terminal.ansiBrightBlack":"#959da5","terminal.ansiBrightBlue":"#005cc5","terminal.ansiBrightCyan":"#3192aa","terminal.ansiBrightGreen":"#22863a","terminal.ansiBrightMagenta":"#5a32a3","terminal.ansiBrightRed":"#cb2431","terminal.ansiBrightWhite":"#d1d5da","terminal.ansiBrightYellow":"#b08800","terminal.ansiCyan":"#1b7c83","terminal.ansiGreen":"#28a745","terminal.ansiMagenta":"#5a32a3","terminal.ansiRed":"#d73a49","terminal.ansiWhite":"#6a737d","terminal.ansiYellow":"#dbab09","terminal.foreground":"#586069","terminal.tab.activeBorder":"#f9826c","terminalCursor.background":"#d1d5da","terminalCursor.foreground":"#005cc5","textBlockQuote.background":"#fafbfc","textBlockQuote.border":"#e1e4e8","textCodeBlock.background":"#f6f8fa","textLink.activeForeground":"#005cc5","textLink.foreground":"#0366d6","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#fff","titleBar.activeForeground":"#2f363d","titleBar.border":"#e1e4e8","titleBar.inactiveBackground":"#f6f8fa","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},displayName:"GitHub Light",name:"github-light",semanticHighlighting:!0,tokenColors:[{scope:["comment","punctuation.definition.comment","string.comment"],settings:{foreground:"#6a737d"}},{scope:["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language"],settings:{foreground:"#005cc5"}},{scope:["entity","entity.name"],settings:{foreground:"#6f42c1"}},{scope:"variable.parameter.function",settings:{foreground:"#24292e"}},{scope:"entity.name.tag",settings:{foreground:"#22863a"}},{scope:"keyword",settings:{foreground:"#d73a49"}},{scope:["storage","storage.type"],settings:{foreground:"#d73a49"}},{scope:["storage.modifier.package","storage.modifier.import","storage.type.java"],settings:{foreground:"#24292e"}},{scope:["string","punctuation.definition.string","string punctuation.section.embedded source"],settings:{foreground:"#032f62"}},{scope:"support",settings:{foreground:"#005cc5"}},{scope:"meta.property-name",settings:{foreground:"#005cc5"}},{scope:"variable",settings:{foreground:"#e36209"}},{scope:"variable.other",settings:{foreground:"#24292e"}},{scope:"invalid.broken",settings:{fontStyle:"italic",foreground:"#b31d28"}},{scope:"invalid.deprecated",settings:{fontStyle:"italic",foreground:"#b31d28"}},{scope:"invalid.illegal",settings:{fontStyle:"italic",foreground:"#b31d28"}},{scope:"invalid.unimplemented",settings:{fontStyle:"italic",foreground:"#b31d28"}},{scope:"carriage-return",settings:{background:"#d73a49",content:"^M",fontStyle:"italic underline",foreground:"#fafbfc"}},{scope:"message.error",settings:{foreground:"#b31d28"}},{scope:"string variable",settings:{foreground:"#005cc5"}},{scope:["source.regexp","string.regexp"],settings:{foreground:"#032f62"}},{scope:["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],settings:{foreground:"#032f62"}},{scope:"string.regexp constant.character.escape",settings:{fontStyle:"bold",foreground:"#22863a"}},{scope:"support.constant",settings:{foreground:"#005cc5"}},{scope:"support.variable",settings:{foreground:"#005cc5"}},{scope:"meta.module-reference",settings:{foreground:"#005cc5"}},{scope:"punctuation.definition.list.begin.markdown",settings:{foreground:"#e36209"}},{scope:["markup.heading","markup.heading entity.name"],settings:{fontStyle:"bold",foreground:"#005cc5"}},{scope:"markup.quote",settings:{foreground:"#22863a"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#24292e"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#24292e"}},{scope:["markup.underline"],settings:{fontStyle:"underline"}},{scope:["markup.strikethrough"],settings:{fontStyle:"strikethrough"}},{scope:"markup.inline.raw",settings:{foreground:"#005cc5"}},{scope:["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],settings:{background:"#ffeef0",foreground:"#b31d28"}},{scope:["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],settings:{background:"#f0fff4",foreground:"#22863a"}},{scope:["markup.changed","punctuation.definition.changed"],settings:{background:"#ffebda",foreground:"#e36209"}},{scope:["markup.ignored","markup.untracked"],settings:{background:"#005cc5",foreground:"#f6f8fa"}},{scope:"meta.diff.range",settings:{fontStyle:"bold",foreground:"#6f42c1"}},{scope:"meta.diff.header",settings:{foreground:"#005cc5"}},{scope:"meta.separator",settings:{fontStyle:"bold",foreground:"#005cc5"}},{scope:"meta.output",settings:{foreground:"#005cc5"}},{scope:["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],settings:{foreground:"#586069"}},{scope:"brackethighlighter.unmatched",settings:{foreground:"#b31d28"}},{scope:["constant.other.reference.link","string.other.link"],settings:{fontStyle:"underline",foreground:"#032f62"}}],type:"light"});export{e as default}; diff --git a/assets/go-uwBNuH-c.js b/assets/go-uwBNuH-c.js new file mode 100644 index 00000000000..dba9d42af16 --- /dev/null +++ b/assets/go-uwBNuH-c.js @@ -0,0 +1 @@ +const e=Object.freeze({displayName:"Go",name:"go",patterns:[{include:"#statements"}],repository:{after_control_variables:{captures:{1:{patterns:[{include:"#type-declarations-without-brackets"},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"(?:\\w+)",name:"variable.other.go"}]}},comment:"After control variables, to not highlight as a struct/interface (before formatting with gofmt)",match:"(?:(?<=\\brange\\b|\\bswitch\\b|\\;|\\bif\\b|\\bfor\\b|\\<|\\>|\\<\\=|\\>\\=|\\=\\=|\\!\\=|\\w(?:\\+|/|\\-|\\*|\\%)|\\w(?:\\+|/|\\-|\\*|\\%)\\=|\\|\\||\\&\\&)(?:\\s*)([[:alnum:]\\-\\_\\!\\.\\[\\]\\<\\>\\=\\*/\\+\\%\\:]+)(?:\\s*)(?=\\{))"},brackets:{patterns:[{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.curly.go"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"$self"}]},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.round.go"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"$self"}]},{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.square.go"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"$self"}]}]},built_in_functions:{comment:"Built-in functions",patterns:[{match:"\\b(append|cap|close|complex|copy|delete|imag|len|panic|print|println|real|recover|min|max|clear)\\b(?=\\()",name:"entity.name.function.support.builtin.go"},{begin:"(?:(\\bnew\\b)(\\())",beginCaptures:{1:{name:"entity.name.function.support.builtin.go"},2:{name:"punctuation.definition.begin.bracket.round.go"}},comment:"new keyword",end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#functions"},{include:"#struct_variables_types"},{include:"#type-declarations"},{include:"#generic_types"},{match:"(?:\\w+)",name:"entity.name.type.go"},{include:"$self"}]},{captures:{1:{name:"entity.name.function.support.builtin.go"},2:{name:"punctuation.definition.begin.bracket.round.go"},3:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"\\w+",name:"entity.name.type.go"}]},4:{patterns:[{include:"$self"}]},5:{name:"punctuation.definition.end.bracket.round.go"}},comment:"make keyword",match:"(?:(\\bmake\\b)(?:(\\()((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+(?:\\([^\\)]+\\))?)?(?:[\\w\\.\\*\\[\\]\\{\\}]+)?(?:\\[(?:[^\\]]+)?\\])?(?:[\\w\\.\\*\\[\\]\\{\\}]+)?)?((?:\\,\\s*(?:[\\w\\.\\(\\)]+)?)+)?(\\))))"}]},comments:{patterns:[{begin:"(\\/\\*)",beginCaptures:{1:{name:"punctuation.definition.comment.go"}},end:"(\\*\\/)",endCaptures:{1:{name:"punctuation.definition.comment.go"}},name:"comment.block.go"},{begin:"(\\/\\/)",beginCaptures:{1:{name:"punctuation.definition.comment.go"}},end:"(?:\\n|$)",name:"comment.line.double-slash.go"}]},delimiters:{patterns:[{match:"\\,",name:"punctuation.other.comma.go"},{match:"\\.(?!\\.\\.)",name:"punctuation.other.period.go"},{match:":(?!=)",name:"punctuation.other.colon.go"}]},double_parentheses_types:{captures:{1:{patterns:[{include:"#type-declarations-without-brackets"},{match:"\\(",name:"punctuation.definition.begin.bracket.round.go"},{match:"\\)",name:"punctuation.definition.end.bracket.round.go"},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"\\w+",name:"entity.name.type.go"}]}},comment:"double parentheses types",match:"(?:(\\((?:[\\w\\.\\[\\]\\*\\&]+)\\))(?=\\())"},function_declaration:{begin:"(?:^(\\bfunc\\b)(?:\\s*(\\([^\\)]+\\)\\s*)?(?:(\\w+)(?=\\(|\\[))?))",beginCaptures:{1:{name:"keyword.function.go"},2:{patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.round.go"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{captures:{1:{name:"variable.parameter.go"},2:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},match:"(?:(\\w+(?:\\s+))?((?:[\\w\\.\\*]+)(?:\\[(?:(?:(?:[\\w\\.\\*]+)(?:\\,\\s+)?)+)?\\])?))"},{include:"$self"}]}]},3:{patterns:[{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+",name:"entity.name.function.go"}]},patterns:[{include:"#type-declarations"}]},comment:"Function declarations",end:"(?:(?<=\\))\\s*((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?!(?:[\\[\\]\\*]+)?(?:\\bstruct\\b|\\binterface\\b))[\\w\\.\\-\\*\\[\\]]+)?\\s*(?=\\{))",endCaptures:{1:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.round.go"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"}]},{begin:"(?:([\\w\\.\\*]+)?(\\[))",beginCaptures:{1:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]},2:{name:"punctuation.definition.begin.bracket.square.go"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"#generic_param_types"}]},{captures:{1:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"single function as a type returned type(s) declaration",match:"(?:(?<=\\))\\s+((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?[\\w\\*\\.\\[\\]\\<\\>\\-]+(?:\\s*)(?:\\/(?:\\/|\\*).*)?)$)"},{include:"$self"}]},function_param_types:{comment:"function parameter variables and types",patterns:[{include:"#struct_variables_types"},{include:"#type-declarations-without-brackets"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"variable.parameter.go"}]}},comment:"struct type declaration",match:"((?:(?:\\b\\w+\\,\\s*)+)?\\b\\w+)\\s+(?=(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\[\\]\\*]+)?\\bstruct\\b\\s*\\{)"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"variable.parameter.go"}]}},comment:"multiple parameters one type -with multilines",match:"(?:(?:(?<=\\()|^\\s*)((?:(?:\\b\\w+\\,\\s*)+)(?:/(?:/|\\*).*)?)$)"},{captures:{1:{patterns:[{include:"#delimiters"},{match:"\\w+",name:"variable.parameter.go"}]},2:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"multiple params and types | multiple params one type | one param one type",match:"(?:((?:(?:\\b\\w+\\,\\s*)+)?\\b\\w+)(?:\\s+)((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:(?:(?:[\\w\\[\\]\\.\\*]+)?(?:(?:\\bfunc\\b\\((?:[^\\)]+)?\\))(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:\\s*))+(?:(?:(?:[\\w\\*\\.\\[\\]]+)|(?:\\((?:[^\\)]+)?\\))))?)|(?:(?:[\\[\\]\\*]+)?[\\w\\*\\.]+(?:\\[(?:[^\\]]+)\\])?(?:[\\w\\.\\*]+)?)+)))"},{include:"#parameter-variable-types"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"other types",match:"([\\w\\.]+)"},{include:"$self"}]},functions:{begin:"(?:(\\bfunc\\b)(?=\\())",beginCaptures:{1:{name:"keyword.function.go"}},comment:"Functions",end:"(?:(?<=\\))(\\s*(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?((?:(?:\\s*(?:(?:[\\[\\]\\*]+)?[\\w\\.\\*]+)?(?:(?:\\[(?:(?:[\\w\\.\\*]+)?(?:\\[(?:[^\\]]+)?\\])?(?:\\,\\s+)?)+\\])|(?:\\((?:[^\\)]+)?\\)))?(?:[\\w\\.\\*]+)?)(?:\\s*)(?=\\{))|(?:\\s*(?:(?:(?:[\\[\\]\\*]+)?(?!\\bfunc\\b)(?:[\\w\\.\\*]+)(?:\\[(?:(?:[\\w\\.\\*]+)?(?:\\[(?:[^\\]]+)?\\])?(?:\\,\\s+)?)+\\])?(?:[\\w\\.\\*]+)?)|(?:\\((?:[^\\)]+)?\\)))))?)",endCaptures:{1:{patterns:[{include:"#type-declarations"}]},2:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},patterns:[{include:"#parameter-variable-types"}]},functions_inline:{captures:{1:{name:"keyword.function.go"},2:{patterns:[{include:"#type-declarations-without-brackets"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.round.go"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"},{include:"$self"}]},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"\\{",name:"punctuation.definition.begin.bracket.curly.go"},{match:"\\}",name:"punctuation.definition.end.bracket.curly.go"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"functions in-line with multi return types",match:"(?:(\\bfunc\\b)((?:\\((?:[^/]*)\\))(?:\\s+)(?:\\((?:[^/]*)\\)))(?:\\s+)(?=\\{))"},generic_param_types:{comment:"generic parameter variables and types",patterns:[{include:"#type-declarations-without-brackets"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"variable.parameter.go"}]}},comment:"multiple parameters one type -with multilines",match:"(?:(?:(?<=\\()|^\\s*)((?:(?:\\b\\w+\\,\\s*)+)(?:/(?:/|\\*).*)?)$)"},{captures:{1:{patterns:[{include:"#delimiters"},{match:"\\w+",name:"variable.parameter.go"}]},2:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"(?:\\w+)",name:"entity.name.type.go"}]},3:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"multiple params and types | multiple types one param",match:"(?:((?:(?:\\b\\w+\\,\\s*)+)?\\b\\w+)(?:\\s+)((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:(?:(?:[\\w\\[\\]\\.\\*]+)?(?:(?:\\bfunc\\b\\((?:[^\\)]+)?\\))(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:\\s*))+(?:(?:(?:[\\w\\*\\.]+)|(?:\\((?:[^\\)]+)?\\))))?)|(?:(?:(?:[\\w\\*\\.\\~]+)|(?:\\[(?:(?:[\\w\\.\\*]+)?(?:\\[(?:[^\\]]+)?\\])?(?:\\,\\s+)?)+\\]))(?:[\\w\\.\\*]+)?)+)))"},{include:"#parameter-variable-types"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"other types",match:"(?:\\b([\\w\\.]+))"},{include:"$self"}]},generic_types:{captures:{1:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"entity.name.type.go"}]},2:{patterns:[{include:"#parameter-variable-types"}]}},comment:"Generic support for all types",match:"(?:([\\w\\.\\*]+)(\\[(?:[^\\]]+)?\\]))"},"group-functions":{comment:"all statements related to functions",patterns:[{include:"#function_declaration"},{include:"#functions_inline"},{include:"#functions"},{include:"#built_in_functions"},{include:"#support_functions"}]},"group-types":{comment:"all statements related to types",patterns:[{include:"#other_struct_interface_expressions"},{include:"#type_assertion_inline"},{include:"#struct_variables_types"},{include:"#interface_variables_types"},{include:"#single_type"},{include:"#multi_types"},{include:"#struct_interface_declaration"},{include:"#double_parentheses_types"},{include:"#switch_types"},{include:"#type-declarations"}]},"group-variables":{comment:"all statements related to variables",patterns:[{include:"#var_const_assignment"},{include:"#variable_assignment"},{include:"#label_loop_variables"},{include:"#slice_index_variables"},{include:"#property_variables"},{include:"#switch_select_case_variables"},{include:"#other_variables"}]},import:{comment:"import",patterns:[{begin:"\\b(import)\\s+",beginCaptures:{1:{name:"keyword.control.import.go"}},comment:"import",end:"(?!\\G)",patterns:[{include:"#imports"}]}]},imports:{comment:"import package(s)",patterns:[{captures:{1:{patterns:[{include:"#delimiters"},{match:"(?:\\w+)",name:"variable.other.import.go"}]},2:{name:"string.quoted.double.go"},3:{name:"punctuation.definition.string.begin.go"},4:{name:"entity.name.import.go"},5:{name:"punctuation.definition.string.end.go"}},match:'(\\s*[\\w\\.]+)?\\s*((")([^"]*)("))'},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.imports.begin.bracket.round.go"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.imports.end.bracket.round.go"}},patterns:[{include:"#comments"},{include:"#imports"}]},{include:"$self"}]},interface_variables_types:{patterns:[{begin:"(\\binterface\\b)\\s*(\\{)",beginCaptures:{1:{name:"keyword.interface.go"},2:{name:"punctuation.definition.begin.bracket.curly.go"}},comment:"interface variable types",end:"\\}",endCaptures:{0:{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.round.go"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"},{include:"$self"}]},{include:"#support_functions"},{captures:{1:{patterns:[{include:"#type-declarations"},{include:"#generic_types"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"single declaration | with or declarations",match:"((?:\\s+\\|)?(?:[\\w\\.\\[\\]\\*]+)(?:\\s+\\|)?)"},{include:"$self"}]}]},keywords:{patterns:[{comment:"Flow control keywords",match:"\\b(break|case|continue|default|defer|else|fallthrough|for|go|goto|if|range|return|select|switch)\\b",name:"keyword.control.go"},{match:"\\bchan\\b",name:"keyword.channel.go"},{match:"\\bconst\\b",name:"keyword.const.go"},{match:"\\bvar\\b",name:"keyword.var.go"},{match:"\\bfunc\\b",name:"keyword.function.go"},{match:"\\binterface\\b",name:"keyword.interface.go"},{match:"\\bmap\\b",name:"keyword.map.go"},{match:"\\bstruct\\b",name:"keyword.struct.go"},{match:"\\bimport\\b",name:"keyword.control.import.go"},{match:"\\btype\\b",name:"keyword.type.go"}]},label_loop_variables:{captures:{1:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"variable.other.label.go"}]}},comment:"labeled loop variable name",match:"((?:^\\s*\\w+:\\s*$)|(?:^\\s*(?:\\bbreak\\b|\\bgoto\\b|\\bcontinue\\b)\\s+\\w+(?:\\s*/(?:/|\\*)\\s*.*)?$))"},language_constants:{comment:"Language constants",match:"\\b(true|false|nil|iota)\\b",name:"constant.language.go"},map_types:{begin:"(?:(\\bmap\\b)(\\[))",beginCaptures:{1:{name:"keyword.map.go"},2:{name:"punctuation.definition.begin.bracket.square.go"}},comment:"map types",end:"(?:(\\])((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?!(?:[\\[\\]\\*]+)?\\b(?:func|struct|map)\\b)[\\w\\.\\[\\]\\*]+)?)",endCaptures:{1:{name:"punctuation.definition.end.bracket.square.go"},2:{patterns:[{include:"#type-declarations-without-brackets"},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"\\w+",name:"entity.name.type.go"}]}},patterns:[{include:"#type-declarations-without-brackets"},{include:"#generic_types"},{include:"#functions"},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"\\{",name:"punctuation.definition.begin.bracket.curly.go"},{match:"\\}",name:"punctuation.definition.end.bracket.curly.go"},{match:"\\(",name:"punctuation.definition.begin.bracket.round.go"},{match:"\\)",name:"punctuation.definition.end.bracket.round.go"},{match:"\\w+",name:"entity.name.type.go"}]},multi_types:{begin:"(\\btype\\b)\\s*(\\()",beginCaptures:{1:{name:"keyword.type.go"},2:{name:"punctuation.definition.begin.bracket.round.go"}},comment:"multi type declaration",end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#struct_variables_types"},{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"(?:\\w+)",name:"entity.name.type.go"}]},numeric_literals:{captures:{0:{patterns:[{begin:"(?=.)",end:"(?:\\n|$)",patterns:[{captures:{1:{name:"constant.numeric.decimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},2:{name:"punctuation.separator.constant.numeric.go"},3:{name:"constant.numeric.decimal.point.go"},4:{name:"constant.numeric.decimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},5:{name:"punctuation.separator.constant.numeric.go"},6:{name:"keyword.other.unit.exponent.decimal.go"},7:{name:"keyword.operator.plus.exponent.decimal.go"},8:{name:"keyword.operator.minus.exponent.decimal.go"},9:{name:"constant.numeric.exponent.decimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},10:{name:"keyword.other.unit.imaginary.go"},11:{name:"constant.numeric.decimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},12:{name:"punctuation.separator.constant.numeric.go"},13:{name:"keyword.other.unit.exponent.decimal.go"},14:{name:"keyword.operator.plus.exponent.decimal.go"},15:{name:"keyword.operator.minus.exponent.decimal.go"},16:{name:"constant.numeric.exponent.decimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},17:{name:"keyword.other.unit.imaginary.go"},18:{name:"constant.numeric.decimal.point.go"},19:{name:"constant.numeric.decimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},20:{name:"punctuation.separator.constant.numeric.go"},21:{name:"keyword.other.unit.exponent.decimal.go"},22:{name:"keyword.operator.plus.exponent.decimal.go"},23:{name:"keyword.operator.minus.exponent.decimal.go"},24:{name:"constant.numeric.exponent.decimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},25:{name:"keyword.other.unit.imaginary.go"},26:{name:"keyword.other.unit.hexadecimal.go"},27:{name:"constant.numeric.hexadecimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},28:{name:"punctuation.separator.constant.numeric.go"},29:{name:"constant.numeric.hexadecimal.go"},30:{name:"constant.numeric.hexadecimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},31:{name:"punctuation.separator.constant.numeric.go"},32:{name:"keyword.other.unit.exponent.hexadecimal.go"},33:{name:"keyword.operator.plus.exponent.hexadecimal.go"},34:{name:"keyword.operator.minus.exponent.hexadecimal.go"},35:{name:"constant.numeric.exponent.hexadecimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},36:{name:"keyword.other.unit.imaginary.go"},37:{name:"keyword.other.unit.hexadecimal.go"},38:{name:"constant.numeric.hexadecimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},39:{name:"punctuation.separator.constant.numeric.go"},40:{name:"keyword.other.unit.exponent.hexadecimal.go"},41:{name:"keyword.operator.plus.exponent.hexadecimal.go"},42:{name:"keyword.operator.minus.exponent.hexadecimal.go"},43:{name:"constant.numeric.exponent.hexadecimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},44:{name:"keyword.other.unit.imaginary.go"},45:{name:"keyword.other.unit.hexadecimal.go"},46:{name:"constant.numeric.hexadecimal.go"},47:{name:"constant.numeric.hexadecimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},48:{name:"punctuation.separator.constant.numeric.go"},49:{name:"keyword.other.unit.exponent.hexadecimal.go"},50:{name:"keyword.operator.plus.exponent.hexadecimal.go"},51:{name:"keyword.operator.minus.exponent.hexadecimal.go"},52:{name:"constant.numeric.exponent.hexadecimal.go",patterns:[{match:"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])",name:"punctuation.separator.constant.numeric.go"}]},53:{name:"keyword.other.unit.imaginary.go"}},match:"(?:(?:(?:(?:(?:\\G(?=[0-9.])(?!0[xXbBoO])([0-9](?:[0-9]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)((?:(?<=[0-9])\\.|\\.(?=[0-9])))([0-9](?:[0-9]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)?(?:(?=|<(?!<)|>(?!>))",name:"keyword.operator.comparison.go"},{match:"(&&|\\|\\||!)",name:"keyword.operator.logical.go"},{match:"(=|\\+=|\\-=|\\|=|\\^=|\\*=|/=|:=|%=|<<=|>>=|&\\^=|&=)",name:"keyword.operator.assignment.go"},{match:"(\\+|\\-|\\*|/|%)",name:"keyword.operator.arithmetic.go"},{match:"(&(?!\\^)|\\||\\^|&\\^|<<|>>|\\~)",name:"keyword.operator.arithmetic.bitwise.go"},{match:"\\.\\.\\.",name:"keyword.operator.ellipsis.go"}]},other_struct_interface_expressions:{comment:"struct and interface expression in-line (before curly bracket)",patterns:[{comment:"after control variables must be added exactly here, do not move it! (changing may not affect tests, so be careful!)",include:"#after_control_variables"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"entity.name.type.go"}]},2:{patterns:[{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.square.go"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"#type-declarations"},{match:"\\w+",name:"entity.name.type.go"},{include:"$self"}]}]}},match:"(\\b[\\w\\.]+)(\\[(?:[^\\]]+)?\\])?(?=\\{)(?|\\<\\=|\\>\\=|\\=\\=|\\!\\=|\\|\\||\\&\\&|\\+|/|\\-|\\*|\\%|\\||\\&)\\s*(?:[\\w\\.\\*\\&\\[\\]]+)(?:\\.\\w+)(?![\\w\\.\\*\\&\\[\\]]*(?:\\{|\\()))*))?)"},raw_string_literals:{begin:"`",beginCaptures:{0:{name:"punctuation.definition.string.begin.go"}},comment:"Raw string literals",end:"`",endCaptures:{0:{name:"punctuation.definition.string.end.go"}},name:"string.quoted.raw.go",patterns:[{include:"#string_placeholder"}]},runes:{patterns:[{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.go"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.go"}},name:"string.quoted.rune.go",patterns:[{match:`\\G(\\\\([0-7]{3}|[abfnrtv\\\\'"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})|.)(?=')`,name:"constant.other.rune.go"},{match:"[^']+",name:"invalid.illegal.unknown-rune.go"}]}]},single_type:{patterns:[{captures:{1:{name:"keyword.type.go"},2:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"entity.name.type.go"}]},3:{patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.round.go"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"},{include:"$self"}]},{include:"#type-declarations"},{include:"#generic_types"},{match:"\\w+",name:"entity.name.type.go"}]}},comment:"single type declaration",match:"(?:(?:^\\s*)(\\btype\\b)(?:\\s*)([\\w\\.\\*]+)(?:\\s+)(?!(?:[\\[\\]\\*]+)?\\b(?:struct|interface)\\b)([\\s\\S]+))"},{begin:"(?:(?:^|\\s+)(\\btype\\b)(?:\\s*)([\\w\\.\\*]+)(?=\\[))",beginCaptures:{1:{name:"keyword.type.go"},2:{patterns:[{include:"#type-declarations-without-brackets"},{match:"\\w+",name:"entity.name.type.go"}]}},comment:"single type declaration with generics",end:"(?:(?<=\\])((?:\\s+)(?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:(?!(?:[\\[\\]\\*]+)?(?:\\bstruct\\b|\\binterface\\b|\\bfunc\\b))[\\w\\.\\-\\*\\[\\]]+))?)",endCaptures:{1:{patterns:[{include:"#type-declarations-without-brackets"},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"\\w+",name:"entity.name.type.go"}]}},patterns:[{include:"#struct_variables_types"},{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"\\{",name:"punctuation.definition.begin.bracket.curly.go"},{match:"\\}",name:"punctuation.definition.end.bracket.curly.go"},{match:"\\(",name:"punctuation.definition.begin.bracket.round.go"},{match:"\\)",name:"punctuation.definition.end.bracket.round.go"},{match:"\\w+",name:"entity.name.type.go"}]}]},slice_index_variables:{captures:{1:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"variable.other.go"}]}},comment:"slice index and capacity variables, to not scope them as property variables",match:"(?<=\\w\\[)((?:(?:\\b[\\w\\.\\*\\+/\\-\\*\\%\\<\\>\\|\\&]+\\:)|(?:\\:\\b[\\w\\.\\*\\+/\\-\\*\\%\\<\\>\\|\\&]+))(?:\\b[\\w\\.\\*\\+/\\-\\*\\%\\<\\>\\|\\&]+)?(?:\\:\\b[\\w\\.\\*\\+/\\-\\*\\%\\<\\>\\|\\&]+)?)(?=\\])"},statements:{patterns:[{include:"#package_name"},{include:"#import"},{include:"#syntax_errors"},{include:"#group-functions"},{include:"#group-types"},{include:"#group-variables"}]},storage_types:{patterns:[{match:"\\bbool\\b",name:"storage.type.boolean.go"},{match:"\\bbyte\\b",name:"storage.type.byte.go"},{match:"\\berror\\b",name:"storage.type.error.go"},{match:"\\b(complex(64|128)|float(32|64)|u?int(8|16|32|64)?)\\b",name:"storage.type.numeric.go"},{match:"\\brune\\b",name:"storage.type.rune.go"},{match:"\\bstring\\b",name:"storage.type.string.go"},{match:"\\buintptr\\b",name:"storage.type.uintptr.go"},{match:"\\bany\\b",name:"entity.name.type.any.go"}]},string_escaped_char:{patterns:[{match:`\\\\([0-7]{3}|[abfnrtv\\\\'"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})`,name:"constant.character.escape.go"},{match:`\\\\[^0-7xuUabfnrtv\\'"]`,name:"invalid.illegal.unknown-escape.go"}]},string_literals:{patterns:[{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.go"}},comment:"Interpreted string literals",end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.go"}},name:"string.quoted.double.go",patterns:[{include:"#string_escaped_char"},{include:"#string_placeholder"}]}]},string_placeholder:{patterns:[{match:"%(\\[\\d+\\])?([\\+#\\-0\\x20]{,2}((\\d+|\\*)?(\\.?(\\d+|\\*|(\\[\\d+\\])\\*?)?(\\[\\d+\\])?)?))?[vT%tbcdoqxXUbeEfFgGspw]",name:"constant.other.placeholder.go"}]},struct_interface_declaration:{captures:{1:{name:"keyword.type.go"},2:{patterns:[{include:"#type-declarations"},{match:"\\w+",name:"entity.name.type.go"}]}},comment:"struct, interface type declarations (related to: struct_variables_types, interface_variables_types)",match:"(?:(?:^\\s*)(\\btype\\b)(?:\\s*)([\\w\\.]+))"},struct_variable_types_fields_multi:{patterns:[{begin:"(?:\\s*)?([\\s\\,\\w]+)(?:\\s+)(?:(?:[\\[\\]\\*])+)?(\\bstruct\\b)\\s*(\\{)",beginCaptures:{1:{match:"(?:\\w+)",name:"variable.other.property.go"},2:{name:"keyword.struct.go"},3:{name:"punctuation.definition.begin.bracket.curly.go"}},comment:"Struct variable for struct in struct types",end:"\\}",endCaptures:{0:{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"#struct_variables_types_fields"},{include:"$self"}]}]},struct_variables_types:{patterns:[{begin:"(\\bstruct\\b)\\s*(\\{)",beginCaptures:{1:{name:"keyword.struct.go"},2:{name:"punctuation.definition.begin.bracket.curly.go"}},comment:"Struct variable type",end:"\\}",endCaptures:{0:{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"#struct_variables_types_fields"},{include:"$self"}]}]},struct_variables_types_fields:{comment:"Struct variable type fields",patterns:[{include:"#struct_variable_types_fields_multi"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"one line - single type",match:"(?:(?<=\\{)\\s*((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\w\\.\\*\\[\\]]+))\\s*(?=\\}))"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"variable.other.property.go"}]},2:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"one line - property variables and types",match:"(?:(?<=\\{)\\s*((?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\w\\.\\*\\[\\]]+))\\s*(?=\\}))"},{captures:{1:{patterns:[{captures:{1:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"variable.other.property.go"}]},2:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},match:"(?:((?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))?((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\w\\.\\*\\[\\]]+)(?:\\;)?))"}]}},comment:"one line with semicolon(;) without formatting gofmt - single type | property variables and types",match:"(?:(?<=\\{)((?:\\s*(?:(?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))?(?:(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\w\\.\\*\\[\\]\\(\\)\\{\\}]+)(?:\\;)?))+)\\s*(?=\\}))"},{captures:{1:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"one type only",match:'(?:((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?\\!\\s]+)(:)(\\s*/(?:/|\\*)\\s*.*)?$"},{include:"$self"}]},syntax_errors:{patterns:[{captures:{1:{name:"invalid.illegal.slice.go"}},comment:"Syntax error using slices",match:"\\[\\](\\s+)"},{comment:"Syntax error numeric literals",match:"\\b0[0-7]*[89]\\d*\\b",name:"invalid.illegal.numeric.go"}]},terminators:{comment:"Terminators",match:";",name:"punctuation.terminator.go"},"type-declarations":{comment:"includes all type declarations",patterns:[{include:"#language_constants"},{include:"#comments"},{include:"#map_types"},{include:"#brackets"},{include:"#delimiters"},{include:"#keywords"},{include:"#operators"},{include:"#runes"},{include:"#storage_types"},{include:"#raw_string_literals"},{include:"#string_literals"},{include:"#numeric_literals"},{include:"#terminators"}]},"type-declarations-without-brackets":{comment:"includes all type declarations without brackets (in some cases, brackets need to be captured manually)",patterns:[{include:"#language_constants"},{include:"#comments"},{include:"#map_types"},{include:"#delimiters"},{include:"#keywords"},{include:"#operators"},{include:"#runes"},{include:"#storage_types"},{include:"#raw_string_literals"},{include:"#string_literals"},{include:"#numeric_literals"},{include:"#terminators"}]},type_assertion_inline:{captures:{1:{name:"keyword.type.go"},2:{patterns:[{include:"#type-declarations"},{match:"(?:\\w+)",name:"entity.name.type.go"}]}},comment:"struct/interface types in-line (type assertion) | switch type keyword",match:"(?:(?<=\\.\\()(?:(\\btype\\b)|((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?[\\w\\.\\[\\]\\*]+))(?=\\)))"},var_const_assignment:{comment:"variable assignment with var and const keyword",patterns:[{captures:{1:{patterns:[{include:"#delimiters"},{match:"\\w+",name:"variable.other.assignment.go"}]},2:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#generic_types"},{match:"\\(",name:"punctuation.definition.begin.bracket.round.go"},{match:"\\)",name:"punctuation.definition.end.bracket.round.go"},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"\\w+",name:"entity.name.type.go"}]}},comment:"var and const with single type assignment",match:"(?:(?<=\\bvar\\b|\\bconst\\b)(?:\\s*)(\\b[\\w\\.]+(?:\\,\\s*[\\w\\.]+)*)(?:\\s*)((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+(?:\\([^\\)]+\\))?)?(?!(?:[\\[\\]\\*]+)?\\b(?:struct|func|map)\\b)(?:[\\w\\.\\[\\]\\*]+(?:\\,\\s*[\\w\\.\\[\\]\\*]+)*)?(?:\\s*)(?:\\=)?)?)"},{begin:"(?:(?<=\\bvar\\b|\\bconst\\b)(?:\\s*)(\\())",beginCaptures:{1:{name:"punctuation.definition.begin.bracket.round.go"}},comment:"var and const with multi type assignment",end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{captures:{1:{patterns:[{include:"#delimiters"},{match:"\\w+",name:"variable.other.assignment.go"}]},2:{patterns:[{include:"#type-declarations-without-brackets"},{include:"#generic_types"},{match:"\\(",name:"punctuation.definition.begin.bracket.round.go"},{match:"\\)",name:"punctuation.definition.end.bracket.round.go"},{match:"\\[",name:"punctuation.definition.begin.bracket.square.go"},{match:"\\]",name:"punctuation.definition.end.bracket.square.go"},{match:"\\w+",name:"entity.name.type.go"}]}},match:"(?:(?:^\\s*)(\\b[\\w\\.]+(?:\\,\\s*[\\w\\.]+)*)(?:\\s*)((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+(?:\\([^\\)]+\\))?)?(?!(?:[\\[\\]\\*]+)?\\b(?:struct|func|map)\\b)(?:[\\w\\.\\[\\]\\*]+(?:\\,\\s*[\\w\\.\\[\\]\\*]+)*)?(?:\\s*)(?:\\=)?)?)"},{include:"$self"}]}]},variable_assignment:{comment:"variable assignment",patterns:[{captures:{0:{patterns:[{include:"#delimiters"},{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+",name:"variable.other.assignment.go"}]}},comment:"variable assignment with :=",match:"\\b\\w+(?:\\,\\s*\\w+)*(?=\\s*:=)"},{captures:{0:{patterns:[{include:"#delimiters"},{include:"#operators"},{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+",name:"variable.other.assignment.go"}]}},comment:"variable assignment with =",match:"\\b[\\w\\.\\*]+(?:\\,\\s*[\\w\\.\\*]+)*(?=\\s*=(?!=))"}]}},scopeName:"source.go"});var t=[e];export{t as default}; diff --git a/assets/graph-sxtH378E.js b/assets/graph-sxtH378E.js new file mode 100644 index 00000000000..9cde434ff12 --- /dev/null +++ b/assets/graph-sxtH378E.js @@ -0,0 +1 @@ +import{aG as I,aH as qe,aI as O,ax as A,aw as Te,aJ as Xe,aK as Je,aL as Qe,aM as Ee,aN as G,au as X,aO as We,aP as Oe,aQ as ze,aR as C,aS as R,aD as we,ao as ve,aT as Ve,aU as Z,aV as ke,aW as en,aX as P,aC as nn,aY as rn,av as tn,aZ as re,a_ as sn,a$ as an,aB as un,aA as me,ay as fn,b0 as B,as as on,b1 as dn,aE as M,aa as te,b2 as ie}from"./mermaid.core-wTs8WatG.js";var hn="[object Symbol]";function J(e){return typeof e=="symbol"||I(e)&&qe(e)==hn}function $e(e,n){for(var r=-1,t=e==null?0:e.length,i=Array(t);++r-1}function T(e){return Te(e)?Xe(e):Je(e)}var yn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tn=/^\w*$/;function Q(e,n){if(A(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||J(e)?!0:Tn.test(e)||!yn.test(e)||n!=null&&e in Object(n)}var En=500;function On(e){var n=Qe(e,function(t){return r.size===En&&r.clear(),t}),r=n.cache;return n}var wn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vn=/\\(\\)?/g,mn=On(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(wn,function(r,t,i,s){n.push(i?s.replace(vn,"$1"):t||r)}),n});function $n(e){return e==null?"":Le(e)}function Ie(e,n){return A(e)?e:Q(e,n)?[e]:mn($n(e))}var Ln=1/0;function U(e){if(typeof e=="string"||J(e))return e;var n=e+"";return n=="0"&&1/e==-Ln?"-0":n}function Ce(e,n){n=Ie(n,e);for(var r=0,t=n.length;e!=null&&r0&&r(u)?n>1?Se(u,n-1,r,t,i):W(i,u):t||(i[i.length]=u)}return i}function Cn(e,n,r,t){var i=-1,s=e==null?0:e.length;for(t&&s&&(r=e[++i]);++iu))return!1;var g=s.get(e),l=s.get(n);if(g&&l)return g==n&&l==e;var o=-1,d=!0,y=r&Qr?new S:void 0;for(s.set(e,n),s.set(n,e);++o=Zt){var g=n?null:Yt(e);if(g)return V(g);a=!1,i=Ue,f=new S}else f=n?[]:u;e:for(;++t1?i.setNode(s,r):i.setNode(s)}),this}setNode(n,r){return E(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=r),this):(this._nodes[n]=arguments.length>1?r:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=m,this._children[n]={},this._children[m][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return E(this._nodes,n)}removeNode(n){var r=this;if(E(this._nodes,n)){var t=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],v(this.children(n),function(i){r.setParent(i)}),delete this._children[n]),v(T(this._in[n]),t),delete this._in[n],delete this._preds[n],v(T(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if($(r))r=m;else{r+="";for(var t=r;!$(t);t=this.parent(t))if(t===n)throw new Error("Setting "+r+" as parent of "+n+" would create a cycle");this.setNode(r)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=r,this._children[r][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var r=this._parent[n];if(r!==m)return r}}children(n){if($(n)&&(n=m),this._isCompound){var r=this._children[n];if(r)return T(r)}else{if(n===m)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var r=this._preds[n];if(r)return T(r)}successors(n){var r=this._sucs[n];if(r)return T(r)}neighbors(n){var r=this.predecessors(n);if(r)return Xt(r,this.successors(n))}isLeaf(n){var r;return this.isDirected()?r=this.successors(n):r=this.neighbors(n),r.length===0}filterNodes(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;v(this._nodes,function(a,u){n(u)&&r.setNode(u,a)}),v(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,t.edge(a))});var i={};function s(a){var u=t.parent(a);return u===void 0||r.hasNode(u)?(i[a]=u,u):u in i?i[u]:s(u)}return this._isCompound&&v(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(n){return te(n)||(n=M(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return H(this._edgeObjs)}setPath(n,r){var t=this,i=arguments;return Kt(n,function(s,a){return i.length>1?t.setEdge(s,a,r):t.setEdge(s,a),a}),this}setEdge(){var n,r,t,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(n=a.v,r=a.w,t=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(n=a,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),n=""+n,r=""+r,$(t)||(t=""+t);var u=L(this._isDirected,n,r,t);if(E(this._edgeLabels,u))return s&&(this._edgeLabels[u]=i),this;if(!$(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(r),this._edgeLabels[u]=s?i:this._defaultEdgeLabelFn(n,r,t);var f=Qt(this._isDirected,n,r,t);return n=f.v,r=f.w,Object.freeze(f),this._edgeObjs[u]=f,Ae(this._preds[r],n),Ae(this._sucs[n],r),this._in[r][u]=f,this._out[n][u]=f,this._edgeCount++,this}edge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return this._edgeLabels[i]}hasEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return E(this._edgeLabels,i)}removeEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t),s=this._edgeObjs[i];return s&&(n=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],ye(this._preds[r],n),ye(this._sucs[n],r),delete this._in[r][i],delete this._out[n][i],this._edgeCount--),this}inEdges(n,r){var t=this._in[n];if(t){var i=H(t);return r?D(i,function(s){return s.v===r}):i}}outEdges(n,r){var t=this._out[n];if(t){var i=H(t);return r?D(i,function(s){return s.w===r}):i}}nodeEdges(n,r){var t=this.inEdges(n,r);if(t)return t.concat(this.outEdges(n,r))}}Ze.prototype._nodeCount=0;Ze.prototype._edgeCount=0;function Ae(e,n){e[n]?e[n]++:e[n]=1}function ye(e,n){--e[n]||delete e[n]}function L(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+be+s+be+($(t)?Jt:t)}function Qt(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var u={v:i,w:s};return t&&(u.name=t),u}function Y(e,n){return L(e,n.v,n.w,n.name)}export{Ze as G,J as a,j as b,Se as c,Ye as d,cn as e,v as f,ee as g,E as h,$ as i,$e as j,T as k,xt as l,St as m,Ie as n,Ce as o,vt as p,$n as q,D as r,Kt as s,U as t,H as v}; diff --git a/assets/html-KTYx-Ibi.js b/assets/html-KTYx-Ibi.js new file mode 100644 index 00000000000..bd1bdd7281b --- /dev/null +++ b/assets/html-KTYx-Ibi.js @@ -0,0 +1,74 @@ +import t from"./javascript-JMZ6uy5M.js";import e from"./css-tuEqSfZX.js";const n=Object.freeze({displayName:"HTML",injections:{"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)":{comment:"Uses R: to ensure this matches after any other injections.",patterns:[{match:"<",name:"invalid.illegal.bad-angle-bracket.html"}]}},name:"html",patterns:[{include:"#xml-processing"},{include:"#comment"},{include:"#doctype"},{include:"#cdata"},{include:"#tags-valid"},{include:"#tags-invalid"},{include:"#entities"}],repository:{attribute:{patterns:[{begin:"(s(hape|cope|t(ep|art)|ize(s)?|p(ellcheck|an)|elected|lot|andbox|rc(set|doc|lang)?)|h(ttp-equiv|i(dden|gh)|e(ight|aders)|ref(lang)?)|n(o(nce|validate|module)|ame)|c(h(ecked|arset)|ite|o(nt(ent(editable)?|rols)|ords|l(s(pan)?|or))|lass|rossorigin)|t(ype(mustmatch)?|itle|a(rget|bindex)|ranslate)|i(s(map)?|n(tegrity|putmode)|tem(scope|type|id|prop|ref)|d)|op(timum|en)|d(i(sabled|r(name)?)|ownload|e(coding|f(er|ault))|at(etime|a)|raggable)|usemap|p(ing|oster|la(ysinline|ceholder)|attern|reload)|enctype|value|kind|for(m(novalidate|target|enctype|action|method)?)?|w(idth|rap)|l(ist|o(op|w)|a(ng|bel))|a(s(ync)?|c(ce(sskey|pt(-charset)?)|tion)|uto(c(omplete|apitalize)|play|focus)|l(t|low(usermedia|paymentrequest|fullscreen))|bbr)|r(ows(pan)?|e(versed|quired|ferrerpolicy|l|adonly))|m(in(length)?|u(ted|ltiple)|e(thod|dia)|a(nifest|x(length)?)))(?![\\w:-])",beginCaptures:{0:{name:"entity.other.attribute-name.html"}},comment:"HTML5 attributes, not event handlers",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.$1.html",patterns:[{include:"#attribute-interior"}]},{begin:"style(?![\\w:-])",beginCaptures:{0:{name:"entity.other.attribute-name.html"}},comment:"HTML5 style attribute",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.style.html",patterns:[{begin:"=",beginCaptures:{0:{name:"punctuation.separator.key-value.html"}},end:"(?<=[^\\s=])(?!\\s*=)|(?=/?>)",patterns:[{begin:"(?=[^\\s=<>`/]|/(?!>))",end:"(?!\\G)",name:"meta.embedded.line.css",patterns:[{captures:{0:{name:"source.css"}},match:"([^\\s\"'=<>`/]|/(?!>))+",name:"string.unquoted.html"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},contentName:"source.css",end:'(")',endCaptures:{0:{name:"punctuation.definition.string.end.html"},1:{name:"source.css"}},name:"string.quoted.double.html",patterns:[{include:"#entities"}]},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},contentName:"source.css",end:"(')",endCaptures:{0:{name:"punctuation.definition.string.end.html"},1:{name:"source.css"}},name:"string.quoted.single.html",patterns:[{include:"#entities"}]}]},{match:"=",name:"invalid.illegal.unexpected-equals-sign.html"}]}]},{begin:"on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o(nline|ffline)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d(data|metadata)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur))(?![\\w:-])",beginCaptures:{0:{name:"entity.other.attribute-name.html"}},comment:"HTML5 attributes, event handlers",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.event-handler.$1.html",patterns:[{begin:"=",beginCaptures:{0:{name:"punctuation.separator.key-value.html"}},end:"(?<=[^\\s=])(?!\\s*=)|(?=/?>)",patterns:[{begin:"(?=[^\\s=<>`/]|/(?!>))",end:"(?!\\G)",name:"meta.embedded.line.js",patterns:[{captures:{0:{name:"source.js"},1:{patterns:[{include:"source.js"}]}},match:"(([^\\s\"'=<>`/]|/(?!>))+)",name:"string.unquoted.html"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},contentName:"source.js",end:'(")',endCaptures:{0:{name:"punctuation.definition.string.end.html"},1:{name:"source.js"}},name:"string.quoted.double.html",patterns:[{captures:{0:{patterns:[{include:"source.js"}]}},match:'([^\\n"/]|/(?![/*]))+'},{begin:"//",beginCaptures:{0:{name:"punctuation.definition.comment.js"}},end:'(?=")|\\n',name:"comment.line.double-slash.js"},{begin:"/\\*",beginCaptures:{0:{name:"punctuation.definition.comment.begin.js"}},end:'(?=")|\\*/',endCaptures:{0:{name:"punctuation.definition.comment.end.js"}},name:"comment.block.js"}]},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},contentName:"source.js",end:"(')",endCaptures:{0:{name:"punctuation.definition.string.end.html"},1:{name:"source.js"}},name:"string.quoted.single.html",patterns:[{captures:{0:{patterns:[{include:"source.js"}]}},match:"([^\\n'/]|/(?![/*]))+"},{begin:"//",beginCaptures:{0:{name:"punctuation.definition.comment.js"}},end:"(?=')|\\n",name:"comment.line.double-slash.js"},{begin:"/\\*",beginCaptures:{0:{name:"punctuation.definition.comment.begin.js"}},end:"(?=')|\\*/",endCaptures:{0:{name:"punctuation.definition.comment.end.js"}},name:"comment.block.js"}]}]},{match:"=",name:"invalid.illegal.unexpected-equals-sign.html"}]}]},{begin:"(data-[a-z\\-]+)(?![\\w:-])",beginCaptures:{0:{name:"entity.other.attribute-name.html"}},comment:"HTML5 attributes, data-*",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.data-x.$1.html",patterns:[{include:"#attribute-interior"}]},{begin:"(align|bgcolor|border)(?![\\w:-])",beginCaptures:{0:{name:"invalid.deprecated.entity.other.attribute-name.html"}},comment:"HTML attributes, deprecated",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.$1.html",patterns:[{include:"#attribute-interior"}]},{begin:`([^\\x{0020}"'<>/=\\x{0000}-\\x{001F}\\x{007F}-\\x{009F}\\x{FDD0}-\\x{FDEF}\\x{FFFE}\\x{FFFF}\\x{1FFFE}\\x{1FFFF}\\x{2FFFE}\\x{2FFFF}\\x{3FFFE}\\x{3FFFF}\\x{4FFFE}\\x{4FFFF}\\x{5FFFE}\\x{5FFFF}\\x{6FFFE}\\x{6FFFF}\\x{7FFFE}\\x{7FFFF}\\x{8FFFE}\\x{8FFFF}\\x{9FFFE}\\x{9FFFF}\\x{AFFFE}\\x{AFFFF}\\x{BFFFE}\\x{BFFFF}\\x{CFFFE}\\x{CFFFF}\\x{DFFFE}\\x{DFFFF}\\x{EFFFE}\\x{EFFFF}\\x{FFFFE}\\x{FFFFF}\\x{10FFFE}\\x{10FFFF}]+)`,beginCaptures:{0:{name:"entity.other.attribute-name.html"}},comment:"Anything else that is valid",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.unrecognized.$1.html",patterns:[{include:"#attribute-interior"}]},{match:"[^\\s>]+",name:"invalid.illegal.character-not-allowed-here.html"}]},"attribute-interior":{patterns:[{begin:"=",beginCaptures:{0:{name:"punctuation.separator.key-value.html"}},end:"(?<=[^\\s=])(?!\\s*=)|(?=/?>)",patterns:[{match:"([^\\s\"'=<>`/]|/(?!>))+",name:"string.unquoted.html"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"#entities"}]},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"#entities"}]},{match:"=",name:"invalid.illegal.unexpected-equals-sign.html"}]}]},cdata:{begin:"",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.cdata.html"},comment:{begin:"",name:"comment.block.html",patterns:[{match:"\\G-?>",name:"invalid.illegal.characters-not-allowed-here.html"},{match:")",name:"invalid.illegal.characters-not-allowed-here.html"},{match:"--!>",name:"invalid.illegal.characters-not-allowed-here.html"}]},"core-minus-invalid":{comment:"This should be the root pattern array includes minus #tags-invalid",patterns:[{include:"#xml-processing"},{include:"#comment"},{include:"#doctype"},{include:"#cdata"},{include:"#tags-valid"},{include:"#entities"}]},doctype:{begin:"",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.doctype.html",patterns:[{match:"\\G(?i:DOCTYPE)",name:"entity.name.tag.html"},{begin:'"',end:'"',name:"string.quoted.double.html"},{match:"[^\\s>]+",name:"entity.other.attribute-name.html"}]},entities:{patterns:[{captures:{1:{name:"punctuation.definition.entity.html"},912:{name:"punctuation.definition.entity.html"}},comment:"Yes this is a bit ridiculous, there are quite a lot of these",match:`(?x) +(&) (?=[a-zA-Z]) +( +(a(s(ymp(eq)?|cr|t)|n(d(slope|d|v|and)?|g(s(t|ph)|zarr|e|le|rt(vb(d)?)?|msd(a(h|c|d|e|f|a|g|b))?)?)|c(y|irc|d|ute|E)?|tilde|o(pf|gon)|uml|p(id|os|prox(eq)?|e|E|acir)?|elig|f(r)?|w(conint|int)|l(pha|e(ph|fsym))|acute|ring|grave|m(p|a(cr|lg))|breve)|A(s(sign|cr)|nd|MP|c(y|irc)|tilde|o(pf|gon)|uml|pplyFunction|fr|Elig|lpha|acute|ring|grave|macr|breve)) +| (B(scr|cy|opf|umpeq|e(cause|ta|rnoullis)|fr|a(ckslash|r(v|wed))|reve)|b(s(cr|im(e)?|ol(hsub|b)?|emi)|n(ot|e(quiv)?)|c(y|ong)|ig(s(tar|qcup)|c(irc|up|ap)|triangle(down|up)|o(times|dot|plus)|uplus|vee|wedge)|o(t(tom)?|pf|wtie|x(h(d|u|D|U)?|times|H(d|u|D|U)?|d(R|l|r|L)|u(R|l|r|L)|plus|D(R|l|r|L)|v(R|h|H|l|r|L)?|U(R|l|r|L)|V(R|h|H|l|r|L)?|minus|box))|Not|dquo|u(ll(et)?|mp(e(q)?|E)?)|prime|e(caus(e)?|t(h|ween|a)|psi|rnou|mptyv)|karow|fr|l(ock|k(1(2|4)|34)|a(nk|ck(square|triangle(down|left|right)?|lozenge)))|a(ck(sim(eq)?|cong|prime|epsilon)|r(vee|wed(ge)?))|r(eve|vbar)|brk(tbrk)?)) +| (c(s(cr|u(p(e)?|b(e)?))|h(cy|i|eck(mark)?)|ylcty|c(irc|ups(sm)?|edil|a(ps|ron))|tdot|ir(scir|c(eq|le(d(R|circ|S|dash|ast)|arrow(left|right)))?|e|fnint|E|mid)?|o(n(int|g(dot)?)|p(y(sr)?|f|rod)|lon(e(q)?)?|m(p(fn|le(xes|ment))?|ma(t)?))|dot|u(darr(l|r)|p(s|c(up|ap)|or|dot|brcap)?|e(sc|pr)|vee|wed|larr(p)?|r(vearrow(left|right)|ly(eq(succ|prec)|vee|wedge)|arr(m)?|ren))|e(nt(erdot)?|dil|mptyv)|fr|w(conint|int)|lubs(uit)?|a(cute|p(s|c(up|ap)|dot|and|brcup)?|r(on|et))|r(oss|arr))|C(scr|hi|c(irc|onint|edil|aron)|ircle(Minus|Times|Dot|Plus)|Hcy|o(n(tourIntegral|int|gruent)|unterClockwiseContourIntegral|p(f|roduct)|lon(e)?)|dot|up(Cap)?|OPY|e(nterDot|dilla)|fr|lo(seCurly(DoubleQuote|Quote)|ckwiseContourIntegral)|a(yleys|cute|p(italDifferentialD)?)|ross)) +| (d(s(c(y|r)|trok|ol)|har(l|r)|c(y|aron)|t(dot|ri(f)?)|i(sin|e|v(ide(ontimes)?|onx)?|am(s|ond(suit)?)?|gamma)|Har|z(cy|igrarr)|o(t(square|plus|eq(dot)?|minus)?|ublebarwedge|pf|wn(harpoon(left|right)|downarrows|arrow)|llar)|d(otseq|a(rr|gger))?|u(har|arr)|jcy|e(lta|g|mptyv)|f(isht|r)|wangle|lc(orn|rop)|a(sh(v)?|leth|rr|gger)|r(c(orn|rop)|bkarow)|b(karow|lac)|Arr)|D(s(cr|trok)|c(y|aron)|Scy|i(fferentialD|a(critical(Grave|Tilde|Do(t|ubleAcute)|Acute)|mond))|o(t(Dot|Equal)?|uble(Right(Tee|Arrow)|ContourIntegral|Do(t|wnArrow)|Up(DownArrow|Arrow)|VerticalBar|L(ong(RightArrow|Left(RightArrow|Arrow))|eft(RightArrow|Tee|Arrow)))|pf|wn(Right(TeeVector|Vector(Bar)?)|Breve|Tee(Arrow)?|arrow|Left(RightVector|TeeVector|Vector(Bar)?)|Arrow(Bar|UpArrow)?))|Zcy|el(ta)?|D(otrahd)?|Jcy|fr|a(shv|rr|gger))) +| (e(s(cr|im|dot)|n(sp|g)|c(y|ir(c)?|olon|aron)|t(h|a)|o(pf|gon)|dot|u(ro|ml)|p(si(v|lon)?|lus|ar(sl)?)|e|D(ot|Dot)|q(s(im|lant(less|gtr))|c(irc|olon)|u(iv(DD)?|est|als)|vparsl)|f(Dot|r)|l(s(dot)?|inters|l)?|a(ster|cute)|r(Dot|arr)|g(s(dot)?|rave)?|x(cl|ist|p(onentiale|ectation))|m(sp(1(3|4))?|pty(set|v)?|acr))|E(s(cr|im)|c(y|irc|aron)|ta|o(pf|gon)|NG|dot|uml|TH|psilon|qu(ilibrium|al(Tilde)?)|fr|lement|acute|grave|x(ists|ponentialE)|m(pty(SmallSquare|VerySmallSquare)|acr))) +| (f(scr|nof|cy|ilig|o(pf|r(k(v)?|all))|jlig|partint|emale|f(ilig|l(ig|lig)|r)|l(tns|lig|at)|allingdotseq|r(own|a(sl|c(1(2|8|3|4|5|6)|78|2(3|5)|3(8|4|5)|45|5(8|6)))))|F(scr|cy|illed(SmallSquare|VerySmallSquare)|o(uriertrf|pf|rAll)|fr)) +| (G(scr|c(y|irc|edil)|t|opf|dot|T|Jcy|fr|amma(d)?|reater(Greater|SlantEqual|Tilde|Equal(Less)?|FullEqual|Less)|g|breve)|g(s(cr|im(e|l)?)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|irc)|t(c(c|ir)|dot|quest|lPar|r(sim|dot|eq(qless|less)|less|a(pprox|rr)))?|imel|opf|dot|jcy|e(s(cc|dot(o(l)?)?|l(es)?)?|q(slant|q)?|l)?|v(nE|ertneqq)|fr|E(l)?|l(j|E|a)?|a(cute|p|mma(d)?)|rave|g(g)?|breve)) +| (h(s(cr|trok|lash)|y(phen|bull)|circ|o(ok(leftarrow|rightarrow)|pf|arr|rbar|mtht)|e(llip|arts(uit)?|rcon)|ks(earow|warow)|fr|a(irsp|lf|r(dcy|r(cir|w)?)|milt)|bar|Arr)|H(s(cr|trok)|circ|ilbertSpace|o(pf|rizontalLine)|ump(DownHump|Equal)|fr|a(cek|t)|ARDcy)) +| (i(s(cr|in(s(v)?|dot|v|E)?)|n(care|t(cal|prod|e(rcal|gers)|larhk)?|odot|fin(tie)?)?|c(y|irc)?|t(ilde)?|i(nfin|i(nt|int)|ota)?|o(cy|ta|pf|gon)|u(kcy|ml)|jlig|prod|e(cy|xcl)|quest|f(f|r)|acute|grave|m(of|ped|a(cr|th|g(part|e|line))))|I(scr|n(t(e(rsection|gral))?|visible(Comma|Times))|c(y|irc)|tilde|o(ta|pf|gon)|dot|u(kcy|ml)|Ocy|Jlig|fr|Ecy|acute|grave|m(plies|a(cr|ginaryI))?)) +| (j(s(cr|ercy)|c(y|irc)|opf|ukcy|fr|math)|J(s(cr|ercy)|c(y|irc)|opf|ukcy|fr)) +| (k(scr|hcy|c(y|edil)|opf|jcy|fr|appa(v)?|green)|K(scr|c(y|edil)|Hcy|opf|Jcy|fr|appa)) +| (l(s(h|cr|trok|im(e|g)?|q(uo(r)?|b)|aquo)|h(ar(d|u(l)?)|blk)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|ub|e(il|dil)|aron)|Barr|t(hree|c(c|ir)|imes|dot|quest|larr|r(i(e|f)?|Par))?|Har|o(ng(left(arrow|rightarrow)|rightarrow|mapsto)|times|z(enge|f)?|oparrow(left|right)|p(f|lus|ar)|w(ast|bar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|r(dhar|ushar))|ur(dshar|uhar)|jcy|par(lt)?|e(s(s(sim|dot|eq(qgtr|gtr)|approx|gtr)|cc|dot(o(r)?)?|g(es)?)?|q(slant|q)?|ft(harpoon(down|up)|threetimes|leftarrows|arrow(tail)?|right(squigarrow|harpoons|arrow(s)?))|g)?|v(nE|ertneqq)|f(isht|loor|r)|E(g)?|l(hard|corner|tri|arr)?|a(ng(d|le)?|cute|t(e(s)?|ail)?|p|emptyv|quo|rr(sim|hk|tl|pl|fs|lp|b(fs)?)?|gran|mbda)|r(har(d)?|corner|tri|arr|m)|g(E)?|m(idot|oust(ache)?)|b(arr|r(k(sl(d|u)|e)|ac(e|k))|brk)|A(tail|arr|rr))|L(s(h|cr|trok)|c(y|edil|aron)|t|o(ng(RightArrow|left(arrow|rightarrow)|rightarrow|Left(RightArrow|Arrow))|pf|wer(RightArrow|LeftArrow))|T|e(ss(Greater|SlantEqual|Tilde|EqualGreater|FullEqual|Less)|ft(Right(Vector|Arrow)|Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|rightarrow|Floor|A(ngleBracket|rrow(RightArrow|Bar)?)))|Jcy|fr|l(eftarrow)?|a(ng|cute|placetrf|rr|mbda)|midot)) +| (M(scr|cy|inusPlus|opf|u|e(diumSpace|llintrf)|fr|ap)|m(s(cr|tpos)|ho|nplus|c(y|omma)|i(nus(d(u)?|b)?|cro|d(cir|dot|ast)?)|o(dels|pf)|dash|u(ltimap|map)?|p|easuredangle|DDot|fr|l(cp|dr)|a(cr|p(sto(down|up|left)?)?|l(t(ese)?|e)|rker))) +| (n(s(hort(parallel|mid)|c(cue|e|r)?|im(e(q)?)?|u(cc(eq)?|p(set(eq(q)?)?|e|E)?|b(set(eq(q)?)?|e|E)?)|par|qsu(pe|be)|mid)|Rightarrow|h(par|arr|Arr)|G(t(v)?|g)|c(y|ong(dot)?|up|edil|a(p|ron))|t(ilde|lg|riangle(left(eq)?|right(eq)?)|gl)|i(s(d)?|v)?|o(t(ni(v(c|a|b))?|in(dot|v(c|a|b)|E)?)?|pf)|dash|u(m(sp|ero)?)?|jcy|p(olint|ar(sl|t|allel)?|r(cue|e(c(eq)?)?)?)|e(s(im|ear)|dot|quiv|ar(hk|r(ow)?)|xist(s)?|Arr)?|v(sim|infin|Harr|dash|Dash|l(t(rie)?|e|Arr)|ap|r(trie|Arr)|g(t|e))|fr|w(near|ar(hk|r(ow)?)|Arr)|V(dash|Dash)|l(sim|t(ri(e)?)?|dr|e(s(s)?|q(slant|q)?|ft(arrow|rightarrow))?|E|arr|Arr)|a(ng|cute|tur(al(s)?)?|p(id|os|prox|E)?|bla)|r(tri(e)?|ightarrow|arr(c|w)?|Arr)|g(sim|t(r)?|e(s|q(slant|q)?)?|E)|mid|L(t(v)?|eft(arrow|rightarrow)|l)|b(sp|ump(e)?))|N(scr|c(y|edil|aron)|tilde|o(nBreakingSpace|Break|t(R(ightTriangle(Bar|Equal)?|everseElement)|Greater(Greater|SlantEqual|Tilde|Equal|FullEqual|Less)?|S(u(cceeds(SlantEqual|Tilde|Equal)?|perset(Equal)?|bset(Equal)?)|quareSu(perset(Equal)?|bset(Equal)?))|Hump(DownHump|Equal)|Nested(GreaterGreater|LessLess)|C(ongruent|upCap)|Tilde(Tilde|Equal|FullEqual)?|DoubleVerticalBar|Precedes(SlantEqual|Equal)?|E(qual(Tilde)?|lement|xists)|VerticalBar|Le(ss(Greater|SlantEqual|Tilde|Equal|Less)?|ftTriangle(Bar|Equal)?))?|pf)|u|e(sted(GreaterGreater|LessLess)|wLine|gative(MediumSpace|Thi(nSpace|ckSpace)|VeryThinSpace))|Jcy|fr|acute)) +| (o(s(cr|ol|lash)|h(m|bar)|c(y|ir(c)?)|ti(lde|mes(as)?)|S|int|opf|d(sold|iv|ot|ash|blac)|uml|p(erp|lus|ar)|elig|vbar|f(cir|r)|l(c(ir|ross)|t|ine|arr)|a(st|cute)|r(slope|igof|or|d(er(of)?|f|m)?|v|arr)?|g(t|on|rave)|m(i(nus|cron|d)|ega|acr))|O(s(cr|lash)|c(y|irc)|ti(lde|mes)|opf|dblac|uml|penCurly(DoubleQuote|Quote)|ver(B(ar|rac(e|ket))|Parenthesis)|fr|Elig|acute|r|grave|m(icron|ega|acr))) +| (p(s(cr|i)|h(i(v)?|one|mmat)|cy|i(tchfork|v)?|o(intint|und|pf)|uncsp|er(cnt|tenk|iod|p|mil)|fr|l(us(sim|cir|two|d(o|u)|e|acir|mn|b)?|an(ck(h)?|kv))|ar(s(im|l)|t|a(llel)?)?|r(sim|n(sim|E|ap)|cue|ime(s)?|o(d|p(to)?|f(surf|line|alar))|urel|e(c(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?)?|E|ap)?|m)|P(s(cr|i)|hi|cy|i|o(incareplane|pf)|fr|lusMinus|artialD|r(ime|o(duct|portion(al)?)|ecedes(SlantEqual|Tilde|Equal)?)?)) +| (q(scr|int|opf|u(ot|est(eq)?|at(int|ernions))|prime|fr)|Q(scr|opf|UOT|fr)) +| (R(s(h|cr)|ho|c(y|edil|aron)|Barr|ight(Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|Floor|A(ngleBracket|rrow(Bar|LeftArrow)?))|o(undImplies|pf)|uleDelayed|e(verse(UpEquilibrium|E(quilibrium|lement)))?|fr|EG|a(ng|cute|rr(tl)?)|rightarrow)|r(s(h|cr|q(uo(r)?|b)|aquo)|h(o(v)?|ar(d|u(l)?))|nmid|c(y|ub|e(il|dil)|aron)|Barr|t(hree|imes|ri(e|f|ltri)?)|i(singdotseq|ng|ght(squigarrow|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(tail)?|rightarrows))|Har|o(times|p(f|lus|ar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|ldhar)|uluhar|p(polint|ar(gt)?)|e(ct|al(s|ine|part)?|g)|f(isht|loor|r)|l(har|arr|m)|a(ng(d|e|le)?|c(ute|e)|t(io(nals)?|ail)|dic|emptyv|quo|rr(sim|hk|c|tl|pl|fs|w|lp|ap|b(fs)?)?)|rarr|x|moust(ache)?|b(arr|r(k(sl(d|u)|e)|ac(e|k))|brk)|A(tail|arr|rr))) +| (s(s(cr|tarf|etmn|mile)|h(y|c(hcy|y)|ort(parallel|mid)|arp)|c(sim|y|n(sim|E|ap)|cue|irc|polint|e(dil)?|E|a(p|ron))?|t(ar(f)?|r(ns|aight(phi|epsilon)))|i(gma(v|f)?|m(ne|dot|plus|e(q)?|l(E)?|rarr|g(E)?)?)|zlig|o(pf|ftcy|l(b(ar)?)?)|dot(e|b)?|u(ng|cc(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?|p(s(im|u(p|b)|et(neq(q)?|eq(q)?)?)|hs(ol|ub)|1|n(e|E)|2|d(sub|ot)|3|plus|e(dot)?|E|larr|mult)?|m|b(s(im|u(p|b)|et(neq(q)?|eq(q)?)?)|n(e|E)|dot|plus|e(dot)?|E|rarr|mult)?)|pa(des(uit)?|r)|e(swar|ct|tm(n|inus)|ar(hk|r(ow)?)|xt|mi|Arr)|q(su(p(set(eq)?|e)?|b(set(eq)?|e)?)|c(up(s)?|ap(s)?)|u(f|ar(e|f))?)|fr(own)?|w(nwar|ar(hk|r(ow)?)|Arr)|larr|acute|rarr|m(t(e(s)?)?|i(d|le)|eparsl|a(shp|llsetminus))|bquo)|S(scr|hort(RightArrow|DownArrow|UpArrow|LeftArrow)|c(y|irc|edil|aron)?|tar|igma|H(cy|CHcy)|opf|u(c(hThat|ceeds(SlantEqual|Tilde|Equal)?)|p(set|erset(Equal)?)?|m|b(set(Equal)?)?)|OFTcy|q(uare(Su(perset(Equal)?|bset(Equal)?)|Intersection|Union)?|rt)|fr|acute|mallCircle)) +| (t(s(hcy|c(y|r)|trok)|h(i(nsp|ck(sim|approx))|orn|e(ta(sym|v)?|re(4|fore))|k(sim|ap))|c(y|edil|aron)|i(nt|lde|mes(d|b(ar)?)?)|o(sa|p(cir|f(ork)?|bot)?|ea)|dot|prime|elrec|fr|w(ixt|ohead(leftarrow|rightarrow))|a(u|rget)|r(i(sb|time|dot|plus|e|angle(down|q|left(eq)?|right(eq)?)?|minus)|pezium|ade)|brk)|T(s(cr|trok)|RADE|h(i(nSpace|ckSpace)|e(ta|refore))|c(y|edil|aron)|S(cy|Hcy)|ilde(Tilde|Equal|FullEqual)?|HORN|opf|fr|a(u|b)|ripleDot)) +| (u(scr|h(ar(l|r)|blk)|c(y|irc)|t(ilde|dot|ri(f)?)|Har|o(pf|gon)|d(har|arr|blac)|u(arr|ml)|p(si(h|lon)?|harpoon(left|right)|downarrow|uparrows|lus|arrow)|f(isht|r)|wangle|l(c(orn(er)?|rop)|tri)|a(cute|rr)|r(c(orn(er)?|rop)|tri|ing)|grave|m(l|acr)|br(cy|eve)|Arr)|U(scr|n(ion(Plus)?|der(B(ar|rac(e|ket))|Parenthesis))|c(y|irc)|tilde|o(pf|gon)|dblac|uml|p(si(lon)?|downarrow|Tee(Arrow)?|per(RightArrow|LeftArrow)|DownArrow|Equilibrium|arrow|Arrow(Bar|DownArrow)?)|fr|a(cute|rr(ocir)?)|ring|grave|macr|br(cy|eve))) +| (v(s(cr|u(pn(e|E)|bn(e|E)))|nsu(p|b)|cy|Bar(v)?|zigzag|opf|dash|prop|e(e(eq|bar)?|llip|r(t|bar))|Dash|fr|ltri|a(ngrt|r(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|t(heta|riangle(left|right))|p(hi|i|ropto)|epsilon|kappa|r(ho)?))|rtri|Arr)|V(scr|cy|opf|dash(l)?|e(e|r(yThinSpace|t(ical(Bar|Separator|Tilde|Line))?|bar))|Dash|vdash|fr|bar)) +| (w(scr|circ|opf|p|e(ierp|d(ge(q)?|bar))|fr|r(eath)?)|W(scr|circ|opf|edge|fr)) +| (X(scr|i|opf|fr)|x(s(cr|qcup)|h(arr|Arr)|nis|c(irc|up|ap)|i|o(time|dot|p(f|lus))|dtri|u(tri|plus)|vee|fr|wedge|l(arr|Arr)|r(arr|Arr)|map)) +| (y(scr|c(y|irc)|icy|opf|u(cy|ml)|en|fr|ac(y|ute))|Y(scr|c(y|irc)|opf|uml|Icy|Ucy|fr|acute|Acy)) +| (z(scr|hcy|c(y|aron)|igrarr|opf|dot|e(ta|etrf)|fr|w(nj|j)|acute)|Z(scr|c(y|aron)|Hcy|opf|dot|e(ta|roWidthSpace)|fr|acute)) +) +(;) +`,name:"constant.character.entity.named.$2.html"},{captures:{1:{name:"punctuation.definition.entity.html"},3:{name:"punctuation.definition.entity.html"}},match:"(&)#[0-9]+(;)",name:"constant.character.entity.numeric.decimal.html"},{captures:{1:{name:"punctuation.definition.entity.html"},3:{name:"punctuation.definition.entity.html"}},match:"(&)#[xX][0-9a-fA-F]+(;)",name:"constant.character.entity.numeric.hexadecimal.html"},{match:"&(?=[a-zA-Z0-9]+;)",name:"invalid.illegal.ambiguous-ampersand.html"}]},math:{patterns:[{begin:`(?i)(<)(math)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.structure.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()",endCaptures:{0:{name:"meta.tag.structure.$2.end.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"punctuation.definition.tag.end.html"}},name:"meta.element.structure.$2.html",patterns:[{begin:"(?)\\G",end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]}],repository:{attribute:{patterns:[{begin:"(s(hift|ymmetric|cript(sizemultiplier|level|minsize)|t(ackalign|retchy)|ide|u(pscriptshift|bscriptshift)|e(parator(s)?|lection)|rc)|h(eight|ref)|n(otation|umalign)|c(haralign|olumn(spa(n|cing)|width|lines|align)|lose|rossout)|i(n(dent(shift(first|last)?|target|align(first|last)?)|fixlinebreakstyle)|d)|o(pen|verflow)|d(i(splay(style)?|r)|e(nomalign|cimalpoint|pth))|position|e(dge|qual(columns|rows))|voffset|f(orm|ence|rame(spacing)?)|width|l(space|ine(thickness|leading|break(style|multchar)?)|o(ngdivstyle|cation)|ength|quote|argeop)|a(c(cent(under)?|tiontype)|l(t(text|img(-(height|valign|width))?)|ign(mentscope)?))|r(space|ow(spa(n|cing)|lines|align)|quote)|groupalign|x(link:href|mlns)|m(in(size|labelspacing)|ovablelimits|a(th(size|color|variant|background)|xsize))|bevelled)(?![\\w:-])",beginCaptures:{0:{name:"entity.other.attribute-name.html"}},end:"(?=\\s*+[^=\\s])",name:"meta.attribute.$1.html",patterns:[{include:"#attribute-interior"}]},{begin:`([^\\x{0020}"'<>/=\\x{0000}-\\x{001F}\\x{007F}-\\x{009F}\\x{FDD0}-\\x{FDEF}\\x{FFFE}\\x{FFFF}\\x{1FFFE}\\x{1FFFF}\\x{2FFFE}\\x{2FFFF}\\x{3FFFE}\\x{3FFFF}\\x{4FFFE}\\x{4FFFF}\\x{5FFFE}\\x{5FFFF}\\x{6FFFE}\\x{6FFFF}\\x{7FFFE}\\x{7FFFF}\\x{8FFFE}\\x{8FFFF}\\x{9FFFE}\\x{9FFFF}\\x{AFFFE}\\x{AFFFF}\\x{BFFFE}\\x{BFFFF}\\x{CFFFE}\\x{CFFFF}\\x{DFFFE}\\x{DFFFF}\\x{EFFFE}\\x{EFFFF}\\x{FFFFE}\\x{FFFFF}\\x{10FFFE}\\x{10FFFF}]+)`,beginCaptures:{0:{name:"entity.other.attribute-name.html"}},comment:"Anything else that is valid",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.unrecognized.$1.html",patterns:[{include:"#attribute-interior"}]},{match:"[^\\s>]+",name:"invalid.illegal.character-not-allowed-here.html"}]},tags:{patterns:[{include:"#comment"},{include:"#cdata"},{captures:{0:{name:"meta.tag.structure.math.$2.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(annotation|annotation-xml|semantics|menclose|merror|mfenced|mfrac|mpadded|mphantom|mroot|mrow|msqrt|mstyle|mmultiscripts|mover|mprescripts|msub|msubsup|msup|munder|munderover|none|mlabeledtr|mtable|mtd|mtr|mlongdiv|mscarries|mscarry|msgroup|msline|msrow|mstack|maction)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.structure.math.$2.html"},{begin:`(?i)(<)(annotation|annotation-xml|semantics|menclose|merror|mfenced|mfrac|mpadded|mphantom|mroot|mrow|msqrt|mstyle|mmultiscripts|mover|mprescripts|msub|msubsup|msup|munder|munderover|none|mlabeledtr|mtable|mtd|mtr|mlongdiv|mscarries|mscarry|msgroup|msline|msrow|mstack|maction)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.structure.math.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{captures:{0:{name:"meta.tag.inline.math.$2.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(mi|mn|mo|ms|mspace|mtext|maligngroup|malignmark)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.inline.math.$2.html"},{begin:`(?i)(<)(mi|mn|mo|ms|mspace|mtext|maligngroup|malignmark)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.inline.math.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{captures:{0:{name:"meta.tag.object.math.$2.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(mglyph)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.object.math.$2.html"},{begin:`(?i)(<)(mglyph)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.object.math.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.object.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{captures:{0:{name:"meta.tag.other.invalid.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.illegal.unrecognized-tag.html"},4:{patterns:[{include:"#attribute"}]},6:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(([\\w:]+))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.other.invalid.html"},{begin:`(?i)(<)((\\w[^\\s>]*))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.other.invalid.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.illegal.unrecognized-tag.html"},4:{patterns:[{include:"#attribute"}]},6:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.invalid.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{include:"#tags-invalid"}]}}},svg:{patterns:[{begin:`(?i)(<)(svg)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.structure.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()",endCaptures:{0:{name:"meta.tag.structure.$2.end.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"punctuation.definition.tag.end.html"}},name:"meta.element.structure.$2.html",patterns:[{begin:"(?)\\G",end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]}],repository:{attribute:{patterns:[{begin:"(s(hape-rendering|ystemLanguage|cale|t(yle|itchTiles|op-(color|opacity)|dDeviation|em(h|v)|artOffset|r(i(ng|kethrough-(thickness|position))|oke(-(opacity|dash(offset|array)|width|line(cap|join)|miterlimit))?))|urfaceScale|p(e(cular(Constant|Exponent)|ed)|acing|readMethod)|eed|lope)|h(oriz-(origin-x|adv-x)|eight|anging|ref(lang)?)|y(1|2|ChannelSelector)?|n(umOctaves|ame)|c(y|o(ntentS(criptType|tyleType)|lor(-(interpolation(-filters)?|profile|rendering))?)|ursor|l(ip(-(path|rule)|PathUnits)?|ass)|a(p-height|lcMode)|x)|t(ype|o|ext(-(decoration|anchor|rendering)|Length)|a(rget(X|Y)?|b(index|leValues))|ransform)|i(n(tercept|2)?|d(eographic)?|mage-rendering)|z(oomAndPan)?|o(p(erator|acity)|ver(flow|line-(thickness|position))|ffset|r(i(ent(ation)?|gin)|der))|d(y|i(splay|visor|ffuseConstant|rection)|ominant-baseline|ur|e(scent|celerate)|x)?|u(1|n(i(code(-(range|bidi))?|ts-per-em)|derline-(thickness|position))|2)|p(ing|oint(s(At(X|Y|Z))?|er-events)|a(nose-1|t(h(Length)?|tern(ContentUnits|Transform|Units))|int-order)|r(imitiveUnits|eserveA(spectRatio|lpha)))|e(n(d|able-background)|dgeMode|levation|x(ternalResourcesRequired|ponent))|v(i(sibility|ew(Box|Target))|-(hanging|ideographic|alphabetic|mathematical)|e(ctor-effect|r(sion|t-(origin-(y|x)|adv-y)))|alues)|k(1|2|3|e(y(Splines|Times|Points)|rn(ing|el(Matrix|UnitLength)))|4)?|f(y|il(ter(Res|Units)?|l(-(opacity|rule))?)|o(nt-(s(t(yle|retch)|ize(-adjust)?)|variant|family|weight)|rmat)|lood-(color|opacity)|r(om)?|x)|w(idth(s)?|ord-spacing|riting-mode)|l(i(ghting-color|mitingConeAngle)|ocal|e(ngthAdjust|tter-spacing)|ang)|a(scent|cc(umulate|ent-height)|ttribute(Name|Type)|zimuth|dditive|utoReverse|l(ignment-baseline|phabetic|lowReorder)|rabic-form|mplitude)|r(y|otate|e(s(tart|ult)|ndering-intent|peat(Count|Dur)|quired(Extensions|Features)|f(X|Y|errerPolicy)|l)|adius|x)?|g(1|2|lyph(Ref|-(name|orientation-(horizontal|vertical)))|radient(Transform|Units))|x(1|2|ChannelSelector|-height|link:(show|href|t(ype|itle)|a(ctuate|rcrole)|role)|ml:(space|lang|base))?|m(in|ode|e(thod|dia)|a(sk(ContentUnits|Units)?|thematical|rker(Height|-(start|end|mid)|Units|Width)|x))|b(y|ias|egin|ase(Profile|line-shift|Frequency)|box))(?![\\w:-])",beginCaptures:{0:{name:"entity.other.attribute-name.html"}},end:"(?=\\s*+[^=\\s])",name:"meta.attribute.$1.html",patterns:[{include:"#attribute-interior"}]},{begin:`([^\\x{0020}"'<>/=\\x{0000}-\\x{001F}\\x{007F}-\\x{009F}\\x{FDD0}-\\x{FDEF}\\x{FFFE}\\x{FFFF}\\x{1FFFE}\\x{1FFFF}\\x{2FFFE}\\x{2FFFF}\\x{3FFFE}\\x{3FFFF}\\x{4FFFE}\\x{4FFFF}\\x{5FFFE}\\x{5FFFF}\\x{6FFFE}\\x{6FFFF}\\x{7FFFE}\\x{7FFFF}\\x{8FFFE}\\x{8FFFF}\\x{9FFFE}\\x{9FFFF}\\x{AFFFE}\\x{AFFFF}\\x{BFFFE}\\x{BFFFF}\\x{CFFFE}\\x{CFFFF}\\x{DFFFE}\\x{DFFFF}\\x{EFFFE}\\x{EFFFF}\\x{FFFFE}\\x{FFFFF}\\x{10FFFE}\\x{10FFFF}]+)`,beginCaptures:{0:{name:"entity.other.attribute-name.html"}},comment:"Anything else that is valid",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.unrecognized.$1.html",patterns:[{include:"#attribute-interior"}]},{match:"[^\\s>]+",name:"invalid.illegal.character-not-allowed-here.html"}]},tags:{patterns:[{include:"#comment"},{include:"#cdata"},{captures:{0:{name:"meta.tag.metadata.svg.$2.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(color-profile|desc|metadata|script|style|title)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.metadata.svg.$2.html"},{begin:`(?i)(<)(color-profile|desc|metadata|script|style|title)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.metadata.svg.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{captures:{0:{name:"meta.tag.structure.svg.$2.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(animateMotion|clipPath|defs|feComponentTransfer|feDiffuseLighting|feMerge|feSpecularLighting|filter|g|hatch|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|pattern|radialGradient|switch|text|textPath)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.structure.svg.$2.html"},{begin:`(?i)(<)(animateMotion|clipPath|defs|feComponentTransfer|feDiffuseLighting|feMerge|feSpecularLighting|filter|g|hatch|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|pattern|radialGradient|switch|text|textPath)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.structure.svg.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{captures:{0:{name:"meta.tag.inline.svg.$2.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(a|animate|discard|feBlend|feColorMatrix|feComposite|feConvolveMatrix|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feMergeNode|feMorphology|feOffset|fePointLight|feSpotLight|feTile|feTurbulence|hatchPath|mpath|set|solidcolor|stop|tspan)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.inline.svg.$2.html"},{begin:`(?i)(<)(a|animate|discard|feBlend|feColorMatrix|feComposite|feConvolveMatrix|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feMergeNode|feMorphology|feOffset|fePointLight|feSpotLight|feTile|feTurbulence|hatchPath|mpath|set|solidcolor|stop|tspan)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.inline.svg.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{captures:{0:{name:"meta.tag.object.svg.$2.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(circle|ellipse|feImage|foreignObject|image|line|path|polygon|polyline|rect|symbol|use|view)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.object.svg.$2.html"},{begin:`(?i)(<)(a|circle|ellipse|feImage|foreignObject|image|line|path|polygon|polyline|rect|symbol|use|view)(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.object.svg.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{patterns:[{include:"#attribute"}]},5:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.object.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{captures:{0:{name:"meta.tag.other.svg.$2.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"},4:{patterns:[{include:"#attribute"}]},6:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)((altGlyph|altGlyphDef|altGlyphItem|animateColor|animateTransform|cursor|font|font-face|font-face-format|font-face-name|font-face-src|font-face-uri|glyph|glyphRef|hkern|missing-glyph|tref|vkern))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.other.svg.$2.html"},{begin:`(?i)(<)((altGlyph|altGlyphDef|altGlyphItem|animateColor|animateTransform|cursor|font|font-face|font-face-format|font-face-name|font-face-src|font-face-uri|glyph|glyphRef|hkern|missing-glyph|tref|vkern))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.other.svg.$2.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"},4:{patterns:[{include:"#attribute"}]},6:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{captures:{0:{name:"meta.tag.other.invalid.void.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.illegal.unrecognized-tag.html"},4:{patterns:[{include:"#attribute"}]},6:{name:"punctuation.definition.tag.end.html"}},match:`(?i)(<)(([\\w:]+))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(/>))`,name:"meta.element.other.invalid.html"},{begin:`(?i)(<)((\\w[^\\s>]*))(?=\\s|/?>)(?:(([^"'>]|"[^"]*"|'[^']*')*)(>))?`,beginCaptures:{0:{name:"meta.tag.other.invalid.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.illegal.unrecognized-tag.html"},4:{patterns:[{include:"#attribute"}]},6:{name:"punctuation.definition.tag.end.html"}},end:"(?i)()|(/>)|(?=)\\G",end:"(?=/>)|>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.invalid.start.html",patterns:[{include:"#attribute"}]},{include:"#tags"}]},{include:"#tags-invalid"}]}}},"tags-invalid":{patterns:[{begin:"(]*))(?)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.$2.html",patterns:[{include:"#attribute"}]}]},"tags-valid":{patterns:[{begin:"(^[ \\t]+)?(?=<(?i:style)\\b(?!-))",beginCaptures:{1:{name:"punctuation.whitespace.embedded.leading.html"}},end:"(?!\\G)([ \\t]*$\\n?)?",endCaptures:{1:{name:"punctuation.whitespace.embedded.trailing.html"}},patterns:[{begin:"(?i)(<)(style)(?=\\s|/?>)",beginCaptures:{0:{name:"meta.tag.metadata.style.start.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"(?i)((<)/)(style)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.style.end.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"source.css-ignored-vscode"},3:{name:"entity.name.tag.html"},4:{name:"punctuation.definition.tag.end.html"}},name:"meta.embedded.block.html",patterns:[{begin:"\\G",captures:{1:{name:"punctuation.definition.tag.end.html"}},end:"(>)",name:"meta.tag.metadata.style.start.html",patterns:[{include:"#attribute"}]},{begin:"(?!\\G)",end:"(?=)",endCaptures:{0:{name:"meta.tag.metadata.script.end.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"punctuation.definition.tag.end.html"}},name:"meta.embedded.block.html",patterns:[{begin:"\\G",end:"(?=/)",patterns:[{begin:"(>)",beginCaptures:{0:{name:"meta.tag.metadata.script.start.html"},1:{name:"punctuation.definition.tag.end.html"}},end:"((<))(?=/(?i:script))",endCaptures:{0:{name:"meta.tag.metadata.script.end.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"source.js-ignored-vscode"}},patterns:[{begin:"\\G",end:"(?= +| type(?=[\\s=]) +(?!\\s*=\\s* +( +'' +| "" +| ('|"|) +( +text/ +( +javascript(1\\.[0-5])? +| x-javascript +| jscript +| livescript +| (x-)?ecmascript +| babel + +) +| application/ +( +(x-)?javascript +| (x-)?ecmascript +) +| module +) +[\\s"'>] +) +) +) +)`,name:"meta.tag.metadata.script.start.html",patterns:[{include:"#attribute"}]},{begin:`(?ix: +(?= +type\\s*=\\s* +('|"|) +text/ +( +x-handlebars +| (x-(handlebars-)?|ng-)?template +| html +) +[\\s"'>] +) +)`,end:"((<))(?=/(?i:script))",endCaptures:{0:{name:"meta.tag.metadata.script.end.html"},1:{name:"punctuation.definition.tag.begin.html"},2:{name:"text.html.basic"}},patterns:[{begin:"\\G",end:"(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.script.start.html",patterns:[{include:"#attribute"}]},{begin:"(?!\\G)",end:"(?=)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.script.start.html",patterns:[{include:"#attribute"}]},{begin:"(?!\\G)",end:"(?=)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"/?>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.$2.void.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)(noscript|title)(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.$2.start.html",patterns:[{include:"#attribute"}]},{begin:"(?i)()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.$2.end.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)(col|hr|input)(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"/?>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.$2.void.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)(address|article|aside|blockquote|body|button|caption|colgroup|datalist|dd|details|dialog|div|dl|dt|fieldset|figcaption|figure|footer|form|head|header|hgroup|html|h[1-6]|label|legend|li|main|map|menu|meter|nav|ol|optgroup|option|output|p|pre|progress|section|select|slot|summary|table|tbody|td|template|textarea|tfoot|th|thead|tr|ul)(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.$2.start.html",patterns:[{include:"#attribute"}]},{begin:"(?i)()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.$2.end.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)(area|br|wbr)(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"/?>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.$2.void.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)(a|abbr|b|bdi|bdo|cite|code|data|del|dfn|em|i|ins|kbd|mark|q|rp|rt|ruby|s|samp|small|span|strong|sub|sup|time|u|var)(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.$2.start.html",patterns:[{include:"#attribute"}]},{begin:"(?i)()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.$2.end.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)(embed|img|param|source|track)(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"/?>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.object.$2.void.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)(audio|canvas|iframe|object|picture|video)(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.object.$2.start.html",patterns:[{include:"#attribute"}]},{begin:"(?i)()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.object.$2.end.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)((basefont|isindex))(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"}},end:"/?>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.metadata.$2.void.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)((center|frameset|noembed|noframes))(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.$2.start.html",patterns:[{include:"#attribute"}]},{begin:"(?i)()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.$2.end.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)((acronym|big|blink|font|strike|tt|xmp))(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.$2.start.html",patterns:[{include:"#attribute"}]},{begin:"(?i)()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.$2.end.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)((frame))(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"}},end:"/?>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.object.$2.void.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)((applet))(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.object.$2.start.html",patterns:[{include:"#attribute"}]},{begin:"(?i)()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.deprecated.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.object.$2.end.html",patterns:[{include:"#attribute"}]},{begin:"(?i)(<)((dir|keygen|listing|menuitem|plaintext|spacer))(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.illegal.no-longer-supported.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.$2.start.html",patterns:[{include:"#attribute"}]},{begin:"(?i)()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"},3:{name:"invalid.illegal.no-longer-supported.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.$2.end.html",patterns:[{include:"#attribute"}]},{include:"#math"},{include:"#svg"},{begin:"(<)([a-zA-Z][.0-9_a-zA-Z\\x{00B7}\\x{00C0}-\\x{00D6}\\x{00D8}-\\x{00F6}\\x{00F8}-\\x{037D}\\x{037F}-\\x{1FFF}\\x{200C}-\\x{200D}\\x{203F}-\\x{2040}\\x{2070}-\\x{218F}\\x{2C00}-\\x{2FEF}\\x{3001}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFFD}\\x{10000}-\\x{EFFFF}]*-[\\-.0-9_a-zA-Z\\x{00B7}\\x{00C0}-\\x{00D6}\\x{00D8}-\\x{00F6}\\x{00F8}-\\x{037D}\\x{037F}-\\x{1FFF}\\x{200C}-\\x{200D}\\x{203F}-\\x{2040}\\x{2070}-\\x{218F}\\x{2C00}-\\x{2FEF}\\x{3001}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFFD}\\x{10000}-\\x{EFFFF}]*)(?=\\s|/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"/?>",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.custom.start.html",patterns:[{include:"#attribute"}]},{begin:"()",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:">",endCaptures:{0:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.custom.end.html",patterns:[{include:"#attribute"}]}]},"xml-processing":{begin:"(<\\?)(xml)",captures:{1:{name:"punctuation.definition.tag.html"},2:{name:"entity.name.tag.html"}},end:"(\\?>)",name:"meta.tag.metadata.processing.xml.html",patterns:[{include:"#attribute"}]}},scopeName:"text.html.basic",embeddedLangs:["javascript","css"]});var r=[...t,...e,n];export{r as default}; diff --git a/assets/image-fdtjzFNr.js b/assets/image-fdtjzFNr.js new file mode 100644 index 00000000000..2c270a0cbed --- /dev/null +++ b/assets/image-fdtjzFNr.js @@ -0,0 +1 @@ +import{r as g,R as M,j as x}from"./index-ZXl4th35.js";var p=new Map,h=new WeakMap,y=0,D=void 0;function L(e){return e?(h.has(e)||(y+=1,h.set(e,y.toString())),h.get(e)):"0"}function O(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?L(e.root):e[t]}`).toString()}function T(e){const t=O(e);let n=p.get(t);if(!n){const s=new Map;let a;const i=new IntersectionObserver(o=>{o.forEach(r=>{var c;const v=r.isIntersecting&&a.some(d=>r.intersectionRatio>=d);e.trackVisibility&&typeof r.isVisible>"u"&&(r.isVisible=v),(c=s.get(r.target))==null||c.forEach(d=>{d(v,r)})})},e);a=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:s},p.set(t,n)}return n}function _(e,t,n={},s=D){if(typeof window.IntersectionObserver>"u"&&s!==void 0){const c=e.getBoundingClientRect();return t(s,{isIntersecting:s,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:c,intersectionRect:c,rootBounds:c}),()=>{}}const{id:a,observer:i,elements:o}=T(n),r=o.get(e)||[];return o.has(e)||o.set(e,r),r.push(t),i.observe(e),function(){r.splice(r.indexOf(t),1),r.length===0&&(o.delete(e),i.unobserve(e)),o.size===0&&(i.disconnect(),p.delete(a))}}function $({threshold:e,delay:t,trackVisibility:n,rootMargin:s,root:a,triggerOnce:i,skip:o,initialInView:r,fallbackInView:c,onChange:v}={}){var d;const[l,C]=g.useState(null),R=g.useRef(),[m,E]=g.useState({inView:!!r,entry:void 0});R.current=v,g.useEffect(()=>{if(o||!l)return;let f;return f=_(l,(S,w)=>{E({inView:S,entry:w}),R.current&&R.current(S,w),w.isIntersecting&&i&&f&&(f(),f=void 0)},{root:a,rootMargin:s,threshold:e,trackVisibility:n,delay:t},c),()=>{f&&f()}},[Array.isArray(e)?e.toString():e,l,a,s,i,o,n,c,t]);const b=(d=m.entry)==null?void 0:d.target,I=g.useRef();!l&&b&&!i&&!o&&I.current!==b&&(I.current=b,E({inView:!!r,entry:void 0}));const u=[C,m.inView,m.entry];return u.ref=u[0],u.inView=u[1],u.entry=u[2],u}const N=e=>{const{placeholder:t=null,offset:n=0,...s}=e,{ref:a,inView:i}=$({triggerOnce:!0,rootMargin:`${n||0}px`,...s}),[o,r]=M.useState(!1);return g.useEffect(()=>{i&&r(!0)},[i]),x.jsxs(x.Fragment,{children:[!o&&x.jsx("span",{"data-hide-print":!0,"data-testid":"lazyload-indicator",ref:a}),i?e.children:t]})},j="cdn.innei.ren",z=j,V=({width:e,height:t,max:n})=>{if(e===0||t===0)throw new Error("Invalid image size");const{width:s,height:a}=n,i=s/e||1,o=a/t||1,r=Math.min(i,o,1);return{width:e*r,height:t*r}};function U(e){const t=document.createElement("canvas"),n=t.getContext("2d");t.width=1,t.height=1,n.drawImage(e,0,0,1,1);const s=n.getImageData(0,0,1,1).data;return`#${((1<<24)+(s[0]<<16)+(s[1]<<8)+s[2]).toString(16).slice(1)}`}const B=(e,t)=>new URL(e).host===z?`${e}?imageMogr2/thumbnail/${t}x/strip`:e;export{N as L,B as a,V as c,U as g,$ as u}; diff --git a/assets/index-4zec-J8m.js b/assets/index-4zec-J8m.js new file mode 100644 index 00000000000..eb3a1527ab6 --- /dev/null +++ b/assets/index-4zec-J8m.js @@ -0,0 +1,9 @@ +import{r as y,R as p}from"./index-ZXl4th35.js";var J=Object.defineProperty,L=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,z=(h,s,a)=>s in h?J(h,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):h[s]=a,S=(h,s)=>{for(var a in s||(s={}))D.call(s,a)&&z(h,a,s[a]);if(L)for(var a of L(s))U.call(s,a)&&z(h,a,s[a]);return h},O=(h,s)=>{var a={};for(var i in h)D.call(h,i)&&s.indexOf(i)<0&&(a[i]=h[i]);if(h!=null&&L)for(var i of L(h))s.indexOf(i)<0&&U.call(h,i)&&(a[i]=h[i]);return a};/** + * @license QR Code generator library (TypeScript) + * Copyright (c) Project Nayuki. + * SPDX-License-Identifier: MIT + */var P;(h=>{const s=class{constructor(e,t,r,n){if(this.version=e,this.errorCorrectionLevel=t,this.modules=[],this.isFunction=[],es.MAX_VERSION)throw new RangeError("Version value out of range");if(n<-1||n>7)throw new RangeError("Mask value out of range");this.size=e*4+17;let o=[];for(let l=0;l7)throw new RangeError("Invalid value");let l,m;for(l=r;;l++){const E=s.getNumDataCodewords(l,t)*8,M=C.getTotalBits(e,l);if(M<=E){m=M;break}if(l>=n)throw new RangeError("Data too long")}for(const E of[s.Ecc.MEDIUM,s.Ecc.QUARTILE,s.Ecc.HIGH])c&&m<=s.getNumDataCodewords(l,E)*8&&(t=E);let f=[];for(const E of e){i(E.mode.modeBits,4,f),i(E.numChars,E.mode.numCharCountBits(l),f);for(const M of E.getData())f.push(M)}u(f.length==m);const A=s.getNumDataCodewords(l,t)*8;u(f.length<=A),i(0,Math.min(4,A-f.length),f),i(0,(8-f.length%8)%8,f),u(f.length%8==0);for(let E=236;f.lengthR[M>>>3]|=E<<7-(M&7)),new s(l,t,R,o)}getModule(e,t){return 0<=e&&e>>9)*1335;const n=(t<<10|r)^21522;u(n>>>15==0);for(let o=0;o<=5;o++)this.setFunctionModule(8,o,g(n,o));this.setFunctionModule(8,7,g(n,6)),this.setFunctionModule(8,8,g(n,7)),this.setFunctionModule(7,8,g(n,8));for(let o=9;o<15;o++)this.setFunctionModule(14-o,8,g(n,o));for(let o=0;o<8;o++)this.setFunctionModule(this.size-1-o,8,g(n,o));for(let o=8;o<15;o++)this.setFunctionModule(8,this.size-15+o,g(n,o));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let r=0;r<12;r++)e=e<<1^(e>>>11)*7973;const t=this.version<<12|e;u(t>>>18==0);for(let r=0;r<18;r++){const n=g(t,r),o=this.size-11+r%3,c=Math.floor(r/3);this.setFunctionModule(o,c,n),this.setFunctionModule(c,o,n)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){const o=Math.max(Math.abs(n),Math.abs(r)),c=e+n,l=t+r;0<=c&&c{(E!=m-o||w>=l)&&R.push(M[E])});return u(R.length==c),R}drawCodewords(e){if(e.length!=Math.floor(s.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let t=0;for(let r=this.size-1;r>=1;r-=2){r==6&&(r=5);for(let n=0;n>>3],7-(t&7)),t++)}}u(t==e.length*8)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t5&&e++):(this.finderPenaltyAddHistory(l,m),c||(e+=this.finderPenaltyCountPatterns(m)*s.PENALTY_N3),c=this.modules[o][f],l=1);e+=this.finderPenaltyTerminateAndCount(c,l,m)*s.PENALTY_N3}for(let o=0;o5&&e++):(this.finderPenaltyAddHistory(l,m),c||(e+=this.finderPenaltyCountPatterns(m)*s.PENALTY_N3),c=this.modules[f][o],l=1);e+=this.finderPenaltyTerminateAndCount(c,l,m)*s.PENALTY_N3}for(let o=0;oc+(l?1:0),t);const r=this.size*this.size,n=Math.ceil(Math.abs(t*20-r*10)/r)-1;return u(0<=n&&n<=9),e+=n*s.PENALTY_N4,u(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(this.version==1)return[];{const e=Math.floor(this.version/7)+2,t=this.version==32?26:Math.ceil((this.version*4+4)/(e*2-2))*2;let r=[6];for(let n=this.size-7;r.lengths.MAX_VERSION)throw new RangeError("Version number out of range");let t=(16*e+128)*e+64;if(e>=2){const r=Math.floor(e/7)+2;t-=(25*r-10)*r-55,e>=7&&(t-=36)}return u(208<=t&&t<=29648),t}static getNumDataCodewords(e,t){return Math.floor(s.getNumRawDataModules(e)/8)-s.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*s.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let t=[];for(let n=0;n0);for(const n of e){const o=n^r.shift();r.push(0),t.forEach((c,l)=>r[l]^=s.reedSolomonMultiply(c,o))}return r}static reedSolomonMultiply(e,t){if(e>>>8||t>>>8)throw new RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^(r>>>7)*285,r^=(t>>>n&1)*e;return u(r>>>8==0),r}finderPenaltyCountPatterns(e){const t=e[1];u(t<=this.size*3);const r=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(r&&e[0]>=t*4&&e[6]>=t?1:0)+(r&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)}};let a=s;a.MIN_VERSION=1,a.MAX_VERSION=40,a.PENALTY_N1=3,a.PENALTY_N2=3,a.PENALTY_N3=40,a.PENALTY_N4=10,a.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],a.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],h.QrCode=a;function i(e,t,r){if(t<0||t>31||e>>>t)throw new RangeError("Value out of range");for(let n=t-1;n>=0;n--)r.push(e>>>n&1)}function g(e,t){return(e>>>t&1)!=0}function u(e){if(!e)throw new Error("Assertion error")}const d=class{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(e){let t=[];for(const r of e)i(r,8,t);return new d(d.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!d.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let r=0;r=1<{(s=>{const a=class{constructor(g,u){this.ordinal=g,this.formatBits=u}};let i=a;i.LOW=new a(0,1),i.MEDIUM=new a(1,0),i.QUARTILE=new a(2,3),i.HIGH=new a(3,2),s.Ecc=i})(h.QrCode||(h.QrCode={}))})(P||(P={}));(h=>{(s=>{const a=class{constructor(g,u){this.modeBits=g,this.numBitsCharCount=u}numCharCountBits(g){return this.numBitsCharCount[Math.floor((g+7)/17)]}};let i=a;i.NUMERIC=new a(1,[10,12,14]),i.ALPHANUMERIC=new a(2,[9,11,13]),i.BYTE=new a(4,[8,16,16]),i.KANJI=new a(8,[8,10,12]),i.ECI=new a(7,[0,0,0]),s.Mode=i})(h.QrSegment||(h.QrSegment={}))})(P||(P={}));var N=P;/** + * @license qrcode.react + * Copyright (c) Paul O'Shannessy + * SPDX-License-Identifier: ISC + */var Q={L:N.QrCode.Ecc.LOW,M:N.QrCode.Ecc.MEDIUM,Q:N.QrCode.Ecc.QUARTILE,H:N.QrCode.Ecc.HIGH},H=128,k="L",$="#FFFFFF",Y="#000000",x=!1,b=4,q=.1;function G(h,s=0){const a=[];return h.forEach(function(i,g){let u=null;i.forEach(function(d,C){if(!d&&u!==null){a.push(`M${u+s} ${g+s}h${C-u}v1H${u+s}z`),u=null;return}if(C===i.length-1){if(!d)return;u===null?a.push(`M${C+s},${g+s} h1v1H${C+s}z`):a.push(`M${u+s},${g+s} h${C+1-u}v1H${u+s}z`);return}d&&u===null&&(u=C)})}),a.join("")}function X(h,s){return h.slice().map((a,i)=>i=s.y+s.h?a:a.map((g,u)=>u=s.x+s.w?g:!1))}function K(h,s,a,i){if(i==null)return null;const g=a?b:0,u=h.length+g*2,d=Math.floor(s*q),C=u/s,e=(i.width||d)*C,t=(i.height||d)*C,r=i.x==null?h.length/2-e/2:i.x*C,n=i.y==null?h.length/2-t/2:i.y*C;let o=null;if(i.excavate){let c=Math.floor(r),l=Math.floor(n),m=Math.ceil(e+r-c),f=Math.ceil(t+n-l);o={x:c,y:l,w:m,h:f}}return{x:r,y:n,h:t,w:e,excavation:o}}var ee=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function te(h){const s=h,{value:a,size:i=H,level:g=k,bgColor:u=$,fgColor:d=Y,includeMargin:C=x,style:e,imageSettings:t}=s,r=O(s,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),n=t?.src,o=y.useRef(null),c=y.useRef(null),[l,m]=y.useState(!1);y.useEffect(()=>{if(o.current!=null){const R=o.current,E=R.getContext("2d");if(!E)return;let M=N.QrCode.encodeText(a,Q[g]).getModules();const w=C?b:0,v=M.length+w*2,_=K(M,i,C,t),I=c.current,F=_!=null&&I!==null&&I.complete&&I.naturalHeight!==0&&I.naturalWidth!==0;F&&_.excavation!=null&&(M=X(M,_.excavation));const B=window.devicePixelRatio||1;R.height=R.width=i*B;const T=i/v*B;E.scale(T,T),E.fillStyle=u,E.fillRect(0,0,v,v),E.fillStyle=d,ee?E.fill(new Path2D(G(M,w))):M.forEach(function(V,W){V.forEach(function(j,Z){j&&E.fillRect(Z+w,W+w,1,1)})}),F&&E.drawImage(I,_.x+w,_.y+w,_.w,_.h)}}),y.useEffect(()=>{m(!1)},[n]);const f=S({height:i,width:i},e);let A=null;return n!=null&&(A=p.createElement("img",{src:n,key:n,style:{display:"none"},onLoad:()=>{m(!0)},ref:c})),p.createElement(p.Fragment,null,p.createElement("canvas",S({style:f,height:i,width:i,ref:o},r)),A)}function re(h){const s=h,{value:a,size:i=H,level:g=k,bgColor:u=$,fgColor:d=Y,includeMargin:C=x,imageSettings:e}=s,t=O(s,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let r=N.QrCode.encodeText(a,Q[g]).getModules();const n=C?b:0,o=r.length+n*2,c=K(r,i,C,e);let l=null;e!=null&&c!=null&&(c.excavation!=null&&(r=X(r,c.excavation)),l=p.createElement("image",{xlinkHref:e.src,height:c.h,width:c.w,x:c.x+n,y:c.y+n,preserveAspectRatio:"none"}));const m=G(r,n);return p.createElement("svg",S({height:i,width:i,viewBox:`0 0 ${o} ${o}`},t),p.createElement("path",{fill:u,d:`M0,0 h${o}v${o}H0z`,shapeRendering:"crispEdges"}),p.createElement("path",{fill:d,d:m,shapeRendering:"crispEdges"}),l)}var oe=h=>{const s=h,{renderAs:a}=s,i=O(s,["renderAs"]);return a==="svg"?p.createElement(re,S({},i)):p.createElement(te,S({},i))};export{te as QRCodeCanvas,re as QRCodeSVG,oe as default}; diff --git a/assets/index-75n5Qq-a.css b/assets/index-75n5Qq-a.css new file mode 100644 index 00000000000..6bd53efdac2 --- /dev/null +++ b/assets/index-75n5Qq-a.css @@ -0,0 +1 @@ +._verified_lvyh0_1{margin-left:.125rem;max-width:20px;max-height:20px;height:1.25em;fill:currentColor;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:text-bottom}._root_98iqw_1{width:100%;min-width:250px;max-width:550px;overflow:hidden;color:var(--tweet-font-color);font-family:var(--tweet-font-family);font-weight:400;box-sizing:border-box;border:var(--tweet-border);border-radius:12px;margin:var(--tweet-container-margin);background-color:var(--tweet-bg-color);transition-property:background-color,box-shadow;transition-duration:.2s}._root_98iqw_1:hover{background-color:var(--tweet-bg-color-hover)}._article_98iqw_21{position:relative;box-sizing:inherit;padding:.75rem 1rem}.react-tweet-theme{--tweet-container-margin: 1.5rem 0;--tweet-header-font-size: .9375rem;--tweet-header-line-height: 1.25rem;--tweet-body-font-size: 1.25rem;--tweet-body-font-weight: 400;--tweet-body-line-height: 1.5rem;--tweet-body-margin: 0;--tweet-quoted-container-margin: .75rem 0;--tweet-quoted-body-font-size: .938rem;--tweet-quoted-body-font-weight: 400;--tweet-quoted-body-line-height: 1.25rem;--tweet-quoted-body-margin: .25rem 0 .75rem 0;--tweet-info-font-size: .9375rem;--tweet-info-line-height: 1.25rem;--tweet-actions-font-size: .875rem;--tweet-actions-line-height: 1rem;--tweet-actions-font-weight: 700;--tweet-actions-icon-size: 1.25em;--tweet-actions-icon-wrapper-size: calc( var(--tweet-actions-icon-size) + .75em );--tweet-replies-font-size: .875rem;--tweet-replies-line-height: 1rem;--tweet-replies-font-weight: 700}:where(.react-tweet-theme) *{margin:0;padding:0;box-sizing:border-box}:is([data-theme=light],.light) :where(.react-tweet-theme),:where(.react-tweet-theme){--tweet-skeleton-gradient: linear-gradient( 270deg, #fafafa, #eaeaea, #eaeaea, #fafafa );--tweet-border: 1px solid rgb(207, 217, 222);--tweet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--tweet-font-color: rgb(15, 20, 25);--tweet-font-color-secondary: rgb(83, 100, 113);--tweet-bg-color: #fff;--tweet-bg-color-hover: rgb(247, 249, 249);--tweet-quoted-bg-color-hover: rgba(0, 0, 0, .03);--tweet-color-blue-primary: rgb(29, 155, 240);--tweet-color-blue-primary-hover: rgb(26, 140, 216);--tweet-color-blue-secondary: rgb(0, 111, 214);--tweet-color-blue-secondary-hover: rgba(0, 111, 214, .1);--tweet-color-red-primary: rgb(249, 24, 128);--tweet-color-red-primary-hover: rgba(249, 24, 128, .1);--tweet-color-green-primary: rgb(0, 186, 124);--tweet-color-green-primary-hover: rgba(0, 186, 124, .1);--tweet-twitter-icon-color: var(--tweet-font-color);--tweet-verified-old-color: rgb(130, 154, 171);--tweet-verified-blue-color: var(--tweet-color-blue-primary)}:is([data-theme=dark],.dark) :where(.react-tweet-theme){--tweet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--tweet-border: 1px solid rgb(66, 83, 100);--tweet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--tweet-font-color: rgb(247, 249, 249);--tweet-font-color-secondary: rgb(139, 152, 165);--tweet-bg-color: rgb(21, 32, 43);--tweet-bg-color-hover: rgb(30, 39, 50);--tweet-quoted-bg-color-hover: rgba(255, 255, 255, .03);--tweet-color-blue-primary: rgb(29, 155, 240);--tweet-color-blue-primary-hover: rgb(26, 140, 216);--tweet-color-blue-secondary: rgb(107, 201, 251);--tweet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--tweet-color-red-primary: rgb(249, 24, 128);--tweet-color-red-primary-hover: rgba(249, 24, 128, .1);--tweet-color-green-primary: rgb(0, 186, 124);--tweet-color-green-primary-hover: rgba(0, 186, 124, .1);--tweet-twitter-icon-color: var(--tweet-font-color);--tweet-verified-old-color: rgb(130, 154, 171);--tweet-verified-blue-color: #fff}@media (prefers-color-scheme: dark){:where(.react-tweet-theme){--tweet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--tweet-border: 1px solid rgb(66, 83, 100);--tweet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--tweet-font-color: rgb(247, 249, 249);--tweet-font-color-secondary: rgb(139, 152, 165);--tweet-bg-color: rgb(21, 32, 43);--tweet-bg-color-hover: rgb(30, 39, 50);--tweet-color-blue-primary: rgb(29, 155, 240);--tweet-color-blue-primary-hover: rgb(26, 140, 216);--tweet-color-blue-secondary: rgb(107, 201, 251);--tweet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--tweet-color-red-primary: rgb(249, 24, 128);--tweet-color-red-primary-hover: rgba(249, 24, 128, .1);--tweet-color-green-primary: rgb(0, 186, 124);--tweet-color-green-primary-hover: rgba(0, 186, 124, .1);--tweet-twitter-icon-color: var(--tweet-font-color);--tweet-verified-old-color: rgb(130, 154, 171);--tweet-verified-blue-color: #fff}}._header_nqq4j_1{display:flex;padding-bottom:.75rem;line-height:var(--tweet-header-line-height);font-size:var(--tweet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_nqq4j_11{position:relative;height:48px;width:48px}._avatarOverflow_nqq4j_16{height:100%;width:100%;position:absolute;overflow:hidden;border-radius:9999px}._avatarSquare_nqq4j_23{border-radius:4px}._avatarShadow_nqq4j_26{height:100%;width:100%;transition-property:background-color;transition-duration:.2s;box-shadow:#00000008 0 0 2px inset}._avatarShadow_nqq4j_26:hover{background-color:#1a1a1a26}._author_nqq4j_37{max-width:calc(100% - 84px);display:flex;flex-direction:column;justify-content:center;margin:0 .5rem}._authorLink_nqq4j_44{text-decoration:none;color:inherit;display:flex;align-items:center}._authorLink_nqq4j_44:hover{text-decoration-line:underline}._authorVerified_nqq4j_53{display:inline-flex}._authorLinkText_nqq4j_56{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._authorMeta_nqq4j_63,._authorFollow_nqq4j_66{display:flex}._username_nqq4j_69{color:var(--tweet-font-color-secondary);text-decoration:none;text-overflow:ellipsis}._follow_nqq4j_74{color:var(--tweet-color-blue-secondary);text-decoration:none;font-weight:700}._follow_nqq4j_74:hover{text-decoration-line:underline}._separator_nqq4j_82{padding:0 .25rem}._brand_nqq4j_86{margin-inline-start:auto}._twitterIcon_nqq4j_90{width:23.75px;height:23.75px;color:var(--tweet-twitter-icon-color);fill:currentColor;-webkit-user-select:none;-moz-user-select:none;user-select:none}._verifiedOld_lcna5_1{color:var(--tweet-verified-old-color)}._verifiedBlue_lcna5_4{color:var(--tweet-verified-blue-color)}._verifiedGovernment_lcna5_7{color:#829aab}._root_1ec15_1{text-decoration:none;color:var(--tweet-font-color-secondary);font-size:.9375rem;line-height:1.25rem;margin-bottom:.25rem;overflow-wrap:break-word;white-space:pre-wrap}._root_1ec15_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_eihfa_1{font-weight:inherit;color:var(--tweet-color-blue-secondary);text-decoration:none;cursor:pointer}._root_eihfa_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_1xq52_1{font-size:var(--tweet-body-font-size);font-weight:var(--tweet-body-font-weight);line-height:var(--tweet-body-line-height);margin:var(--tweet-body-margin);overflow-wrap:break-word;white-space:pre-wrap}._root_g9tkv_1{margin-top:.75rem;overflow:hidden;position:relative}._rounded_g9tkv_6{border:var(--tweet-border);border-radius:12px}._mediaWrapper_g9tkv_10{display:grid;grid-auto-rows:1fr;gap:2px;height:100%;width:100%}._grid2Columns_g9tkv_17{grid-template-columns:repeat(2,1fr)}._grid3_g9tkv_20>a:first-child{grid-row:span 2}._grid2x2_g9tkv_23{grid-template-rows:repeat(2,1fr)}._mediaContainer_g9tkv_26{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}._mediaLink_g9tkv_34{text-decoration:none;outline-style:none}._skeleton_g9tkv_38{padding-bottom:56.25%;width:100%;display:block}._image_g9tkv_43{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;margin:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}._anchor_fp31d_1{display:flex;align-items:center;color:#fff;padding:0 1rem;border:1px solid transparent;border-radius:9999px;font-weight:700;transition:background-color .2s;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;outline-style:none;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}._videoButton_fp31d_17{position:relative;height:67px;width:67px;display:flex;align-items:center;justify-content:center;background-color:var(--tweet-color-blue-primary);transition-property:background-color;transition-duration:.2s;border:4px solid #fff;border-radius:9999px;cursor:pointer}._videoButton_fp31d_17:hover,._videoButton_fp31d_17:focus-visible{background-color:var(--tweet-color-blue-primary-hover)}._videoButtonIcon_fp31d_35{margin-left:3px;width:calc(50% + 4px);height:calc(50% + 4px);max-width:100%;color:#fff;fill:currentColor;-webkit-user-select:none;-moz-user-select:none;user-select:none}._watchOnTwitter_fp31d_44{position:absolute;top:12px;right:8px}._watchOnTwitter_fp31d_44>a{min-width:2rem;min-height:2rem;font-size:.875rem;line-height:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f1419bf}._watchOnTwitter_fp31d_44>a:hover{background-color:#272c30bf}._viewReplies_fp31d_60{position:relative;min-height:2rem;background-color:var(--tweet-color-blue-primary);border-color:var(--tweet-color-blue-primary);font-size:.9375rem;line-height:1.25rem}._viewReplies_fp31d_60:hover{background-color:var(--tweet-color-blue-primary-hover)}._root_i24yn_1{color:inherit;text-decoration:none;font-size:var(--tweet-info-font-size);line-height:var(--tweet-info-line-height)}._root_i24yn_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._info_19qcj_1{display:flex;align-items:center;color:var(--tweet-font-color-secondary);margin-top:.125rem;overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._infoLink_19qcj_10{color:inherit;text-decoration:none;height:var(--tweet-actions-icon-wrapper-size);width:var(--tweet-actions-icon-wrapper-size);font:inherit;margin-left:auto;display:flex;justify-content:center;align-items:center;margin-right:-4px;border-radius:9999px;transition-property:background-color;transition-duration:.2s}._infoLink_19qcj_10:hover{background-color:var(--tweet-color-blue-secondary-hover)}._infoIcon_19qcj_30{color:inherit;fill:currentColor;height:var(--tweet-actions-icon-size);-webkit-user-select:none;-moz-user-select:none;user-select:none}._infoLink_19qcj_10:hover>._infoIcon_19qcj_30{color:var(--tweet-color-blue-secondary)}._actions_n2anf_1{display:flex;align-items:center;color:var(--tweet-font-color-secondary);padding-top:.25rem;margin-top:.25rem;border-top:var(--tweet-border);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._like_n2anf_13,._reply_n2anf_14,._copy_n2anf_15{text-decoration:none;color:inherit;display:flex;align-items:center;margin-right:1.25rem}._like_n2anf_13:hover,._reply_n2anf_14:hover,._copy_n2anf_15:hover{background-color:#0000}._like_n2anf_13:hover>._likeIconWrapper_n2anf_27{background-color:var(--tweet-color-red-primary-hover)}._like_n2anf_13:hover>._likeCount_n2anf_30{color:var(--tweet-color-red-primary);text-decoration-line:underline}._likeIconWrapper_n2anf_27,._replyIconWrapper_n2anf_35,._copyIconWrapper_n2anf_36{width:var(--tweet-actions-icon-wrapper-size);height:var(--tweet-actions-icon-wrapper-size);display:flex;justify-content:center;align-items:center;margin-left:-.25rem;border-radius:9999px}._likeIcon_n2anf_27,._replyIcon_n2anf_35,._copyIcon_n2anf_36{height:var(--tweet-actions-icon-size);fill:currentColor;-webkit-user-select:none;-moz-user-select:none;user-select:none}._likeIcon_n2anf_27{color:var(--tweet-color-red-primary)}._likeCount_n2anf_30,._replyText_n2anf_56,._copyText_n2anf_57{font-size:var(--tweet-actions-font-size);font-weight:var(--tweet-actions-font-weight);line-height:var(--tweet-actions-line-height);margin-left:.25rem}._reply_n2anf_14:hover>._replyIconWrapper_n2anf_35{background-color:var(--tweet-color-blue-secondary-hover)}._reply_n2anf_14:hover>._replyText_n2anf_56{color:var(--tweet-color-blue-secondary);text-decoration-line:underline}._replyIcon_n2anf_35{color:var(--tweet-color-blue-primary)}._copy_n2anf_15{font:inherit;background:none;border:none;cursor:pointer}._copy_n2anf_15:hover>._copyIconWrapper_n2anf_36{background-color:var(--tweet-color-green-primary-hover)}._copy_n2anf_15:hover ._copyIcon_n2anf_36{color:var(--tweet-color-green-primary)}._copy_n2anf_15:hover>._copyText_n2anf_57{color:var(--tweet-color-green-primary);text-decoration-line:underline}._replies_1cutb_1{padding:.25rem 0}._link_1cutb_4{text-decoration:none;color:var(--tweet-color-blue-secondary);display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;-webkit-user-select:none;-moz-user-select:none;user-select:none;outline-style:none;transition-property:background-color;transition-duration:.2s;padding:0 1rem;border:var(--tweet-border);border-radius:9999px}._link_1cutb_4:hover{background-color:var(--tweet-color-blue-secondary-hover)}._text_1cutb_23{font-weight:var(--tweet-replies-font-weight);font-size:var(--tweet-replies-font-size);line-height:var(--tweet-replies-line-height);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._root_q5799_1{width:100%;overflow:hidden;border:var(--tweet-border);border-radius:12px;margin:var(--tweet-quoted-container-margin);transition-property:background-color,box-shadow;transition-duration:.2s;cursor:pointer}._root_q5799_1:hover{background-color:var(--tweet-quoted-bg-color-hover)}._article_q5799_16{position:relative;box-sizing:inherit}._header_r31i5_1{display:flex;padding:.75rem .75rem 0;line-height:var(--tweet-header-line-height);font-size:var(--tweet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_r31i5_11{position:relative;height:20px;width:20px}._avatarSquare_r31i5_17{border-radius:4px}._author_r31i5_21{display:flex;margin:0 .5rem}._authorText_r31i5_26{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._username_r31i5_33{color:var(--tweet-font-color-secondary);text-decoration:none;text-overflow:ellipsis;margin-left:.125rem}._root_175ot_1{font-size:var(--tweet-quoted-body-font-size);font-weight:var(--tweet-quoted-body-font-weight);line-height:var(--tweet-quoted-body-line-height);margin:var(--tweet-quoted-body-margin);overflow-wrap:break-word;white-space:pre-wrap;padding:0 .75rem}._root_16yxa_1{display:flex;flex-direction:column;align-items:center;padding-bottom:.75rem}._root_16yxa_1>h3{font-size:1.25rem;margin-bottom:.5rem}._skeleton_oi7hr_1{display:block;width:100%;border-radius:5px;background-image:var(--tweet-skeleton-gradient);background-size:400% 100%;animation:_loading_oi7hr_1 8s ease-in-out infinite}@media (prefers-reduced-motion: reduce){._skeleton_oi7hr_1{animation:none;background-position:200% 0}}@keyframes _loading_oi7hr_1{0%{background-position:200% 0}to{background-position:-200% 0}}._root_17qqv_1{pointer-events:none;padding-bottom:.25rem} diff --git a/assets/index-8fae9850-9Qn4OyWZ.js b/assets/index-8fae9850-9Qn4OyWZ.js new file mode 100644 index 00000000000..e42f206fdfd --- /dev/null +++ b/assets/index-8fae9850-9Qn4OyWZ.js @@ -0,0 +1 @@ +import{i as N,G as A}from"./graph-sxtH378E.js";import{m as $,l as H}from"./layout-NmVD1Bdh.js";import{c as V}from"./clone-EVmACGI0.js";import{i as U,u as W,s as _,c as q,b as z,g as D,d as O,a as K,p as Q,e as Y,f as Z,h as J,j as p}from"./edges-d417c7a0-ff79nGD3.js";import{l as s,c as T,t as S,h as L}from"./mermaid.core-wTs8WatG.js";import{c as I}from"./createText-423428c9-K2AvnXL1.js";function m(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:tt(e),edges:et(e)};return N(e.graph())||(t.value=V(e.graph())),t}function tt(e){return $(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return N(n)||(i.value=n),N(r)||(i.parent=r),i})}function et(e){return $(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return N(t.name)||(r.name=t.name),N(n)||(r.value=n),r})}let l={},g={},R={};const nt=()=>{g={},R={},l={}},B=(e,t)=>(s.trace("In isDecendant",t," ",e," = ",g[t].includes(e)),!!g[t].includes(e)),it=(e,t)=>(s.info("Decendants of ",t," is ",g[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:g[t]?g[t].includes(e.v)||B(e.v,t)||B(e.w,t)||g[t].includes(e.w):(s.debug("Tilt, ",t,",not in decendants"),!1)),P=(e,t,n,r)=>{s.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)P(a,t,n,r);else{const d=t.node(a);s.info("cp ",a," to ",r," with parent ",e),n.setNode(a,d),r!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",r,"data",t.node(e),r),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const u=t.edges(a);s.debug("Copying Edges",u),u.forEach(f=>{s.info("Edge",f);const h=t.edge(f.v,f.w,f.name);s.info("Edge data",h,r);try{it(f,r)?(s.info("Copying as ",f.v,f.w,h,f.name),n.setEdge(f.v,f.w,h,f.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",f.v,"-->",f.w," rootId: ",r," clusterId:",e)}catch(w){s.error(w)}})}s.debug("Removing node",a),t.removeNode(a)})},k=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)R[i]=e,r=[...r,...k(i,t)];return r},C=(e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const r of n){const i=C(r,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},X=e=>!l[e]||!l[e].externalConnections?e:l[e]?l[e].id:e,st=(e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),g[n]=k(n,e),l[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),i=e.edges();r.length>0?(s.debug("Cluster identified",n,g),i.forEach(a=>{if(a.v!==n&&a.w!==n){const d=B(a.v,n),u=B(a.w,n);d^u&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Decendants of XXX ",n,": ",g[n]),l[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,g)});for(let n of Object.keys(l)){const r=l[n].id,i=e.parent(r);i!==n&&l[i]&&!l[i].externalConnections&&(l[n].id=i)}e.edges().forEach(function(n){const r=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",l,"ids:",n.v,n.w,"Translating: ",l[n.v]," --- ",l[n.w]),l[n.v]&&l[n.w]&&l[n.v]===l[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const d=n.w+"---"+n.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const u=structuredClone(r),f=structuredClone(r);u.label="",u.arrowTypeEnd="none",f.label="",u.fromCluster=n.v,f.toCluster=n.v,e.setEdge(i,d,u,n.name+"-cyclic-special"),e.setEdge(d,a,f,n.name+"-cyclic-special")}else if(l[n.v]||l[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const d=e.parent(i);l[d].externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){const d=e.parent(a);l[d].externalConnections=!0,r.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,r,n.name)}}),s.warn("Adjusted Graph",m(e)),F(e,0),s.trace(l)},F=(e,t)=>{if(s.warn("extractor - ",t,m(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),r=!1;for(const i of n){const a=e.children(i);r=r||a.length>0}if(!r){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const i of n)if(s.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",t),!l[i])s.debug("Not a cluster",i,t);else if(!l[i].externalConnections&&e.children(i)&&e.children(i).length>0){s.warn("Cluster without external connections, without a parent and with children",i,t);let d=e.graph().rankdir==="TB"?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(d=l[i].clusterData.dir,s.warn("Fixing dir",l[i].clusterData.dir,d));const u=new A({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",m(e)),P(i,e,u,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:u}),s.warn("New graph after copy node: (",i,")",m(u)),s.debug("Old graph after copy",m(e))}else s.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),t),s.debug(l);n=e.nodes(),s.warn("New list of nodes",n);for(const i of n){const a=e.node(i);s.warn(" Now next level",i,a),a.clusterNode&&F(a.graph,t+1)}},G=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const i=e.children(r),a=G(e,i);n=[...n,...a]}),n},rt=e=>G(e,e.children()),at=(e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=T(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),a=S(n.flowchart.htmlLabels),d=r.insert("g").attr("class","cluster-label"),u=t.labelType==="markdown"?I(d,t.labelText,{style:t.labelStyle,useHtmlLabels:a}):d.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}const h=0*t.padding,w=h/2,x=t.width<=f.width+h?f.width+h:t.width;t.width<=f.width+h?t.diff=(f.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-w).attr("width",x).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=D(n);a?d.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2+v})`):d.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const y=i.node().getBBox();return t.width=y.width,t.height=y.height,t.intersect=function(c){return p(t,c)},r},ct=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(u){return p(t,u)},n},ot=(e,t)=>{const n=T(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),a=r.insert("g").attr("class","cluster-label"),d=r.append("rect"),u=a.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}f=u.getBBox();const h=0*t.padding,w=h/2,x=t.width<=f.width+t.padding?f.width+t.padding:t.width;t.width<=f.width+t.padding?t.diff=(f.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w).attr("width",x+h).attr("height",t.height+h),d.attr("class","inner").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w+f.height-1).attr("width",x+h).attr("height",t.height+h-f.height-3);const{subGraphTitleTopMargin:v}=D(n);a.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2-t.padding/3+(S(n.flowchart.htmlLabels)?5:3)+v})`);const y=i.node().getBBox();return t.height=y.height,t.intersect=function(c){return p(t,c)},r},lt=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.diff=-t.padding/2,t.intersect=function(u){return p(t,u)},n},ft={rect:at,roundedWithTitle:ot,noteGroup:ct,divider:lt};let j={};const dt=(e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";j[t.id]=ft[n](e,t)},ut=()=>{j={}},M=async(e,t,n,r,i,a)=>{s.info("Graph in recursive render: XXX",m(t),i);const d=t.graph().rankdir;s.trace("Dir in recursive render - dir:",d);const u=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const f=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),w=u.insert("g").attr("class","edgeLabels"),x=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const b=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",b,i),t.setNode(i.id,b),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,b))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const b=await M(x,o.graph,n,r,t.node(c),a),E=b.elem;W(o,E),o.diff=b.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(E,o),s.warn("Recursive render complete ",E,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(C(o.id,t)),l[o.id]={id:C(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await q(x,t.node(c),d))})),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",l,"ids:",c.v,c.w,"Translateing: ",l[c.v],l[c.w]),z(w,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),H(t),s.info("Graph after layout:",m(t));let v=0;const{subGraphTitleTotalMargin:y}=D(a);return rt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?(o.y+=y,O(o)):t.children(c).length>0?(o.height+=y,dt(f,o),l[o.id].node=o):(o.y+=y/2,O(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=y/2);const b=K(h,c,o,l,n,t,r);Q(o,b)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:u,diff:v}},bt=async(e,t,n,r,i)=>{U(e,n,r,i),Y(),Z(),ut(),nt(),s.warn("Graph at first:",JSON.stringify(m(t))),st(t),s.warn("Graph after:",JSON.stringify(m(t)));const a=T();await M(e,t,r,i,void 0,a)};export{bt as r}; diff --git a/assets/index-D4F-WjWJ.js b/assets/index-D4F-WjWJ.js new file mode 100644 index 00000000000..0dfb80fe068 --- /dev/null +++ b/assets/index-D4F-WjWJ.js @@ -0,0 +1,3 @@ +class ie{constructor(e){this.selfOptions=e||{},this.pipes={}}options(e){return e&&(this.selfOptions=e),this.selfOptions}pipe(e,i){let t=i;if(typeof e=="string"){if(typeof t>"u")return this.pipes[e];this.pipes[e]=t}if(e&&e.name){if(t=e,t.processor===this)return t;this.pipes[t.name]=t}return t.processor=this,t}process(e,i){let t=e;t.options=this.options();let r=i||e.pipe||"default",s;for(;r;)typeof t.nextAfterChildren<"u"&&(t.next=t.nextAfterChildren,t.nextAfterChildren=null),typeof r=="string"&&(r=this.pipe(r)),r.process(t),s=r,r=null,t&&t.next&&(t=t.next,r=t.pipe||s);return t.hasResult?t.result:void 0}}class _{constructor(e){this.name=e,this.filters=[]}process(e){if(!this.processor)throw new Error("add this pipe to a processor before using it");const i=this.debug,t=this.filters.length,r=e;for(let s=0;se.filterName)}after(e,...i){const t=this.indexOf(e);return this.filters.splice(t+1,0,...i),this}before(e,...i){const t=this.indexOf(e);return this.filters.splice(t,0,...i),this}replace(e,...i){const t=this.indexOf(e);return this.filters.splice(t,1,...i),this}remove(e){const i=this.indexOf(e);return this.filters.splice(i,1),this}clear(){return this.filters.length=0,this}shouldHaveResult(e){if(e===!1){this.resultCheck=null;return}if(!this.resultCheck)return this.resultCheck=i=>{if(!i.hasResult){console.log(i);const t=new Error(`${this.name} failed`);throw t.noResult=!0,t}},this}}class I{setResult(e){return this.result=e,this.hasResult=!0,this}exit(){return this.exiting=!0,this}push(e,i){return e.parent=this,typeof i<"u"&&(e.childName=i),e.root=this.root||this,e.options=e.options||this.options,this.children?(this.children[this.children.length-1].next=e,this.children.push(e)):(this.children=[e],this.nextAfterChildren=this.next||null,this.next=e),e.next=this,this}}function re(l){const e=/^\/(.*)\/([gimyu]*)$/.exec(l.toString());return new RegExp(e[1],e[2])}function C(l){if(typeof l!="object")return l;if(l===null)return null;if(Array.isArray(l))return l.map(C);if(l instanceof Date)return new Date(l.getTime());if(l instanceof RegExp)return re(l);const e={};for(const i in l)Object.prototype.hasOwnProperty.call(l,i)&&(e[i]=C(l[i]));return e}class p extends I{constructor(e,i){super(),this.left=e,this.right=i,this.pipe="diff"}setResult(e){if(this.options.cloneDiffValues&&typeof e=="object"){const i=typeof this.options.cloneDiffValues=="function"?this.options.cloneDiffValues:C;typeof e[0]=="object"&&(e[0]=i(e[0])),typeof e[1]=="object"&&(e[1]=i(e[1]))}return super.setResult(e)}}class N extends I{constructor(e,i){super(),this.left=e,this.delta=i,this.pipe="patch"}}class P extends I{constructor(e){super(),this.delta=e,this.pipe="reverse"}}const H=function(e){if(e.left===e.right){e.setResult(void 0).exit();return}if(typeof e.left>"u"){if(typeof e.right=="function")throw new Error("functions are not supported");e.setResult([e.right]).exit();return}if(typeof e.right>"u"){e.setResult([e.left,0,0]).exit();return}if(typeof e.left=="function"||typeof e.right=="function")throw new Error("functions are not supported");if(e.leftType=e.left===null?"null":typeof e.left,e.rightType=e.right===null?"null":typeof e.right,e.leftType!==e.rightType){e.setResult([e.left,e.right]).exit();return}if(e.leftType==="boolean"||e.leftType==="number"){e.setResult([e.left,e.right]).exit();return}if(e.leftType==="object"&&(e.leftIsArray=Array.isArray(e.left)),e.rightType==="object"&&(e.rightIsArray=Array.isArray(e.right)),e.leftIsArray!==e.rightIsArray){e.setResult([e.left,e.right]).exit();return}e.left instanceof RegExp&&(e.right instanceof RegExp?e.setResult([e.left.toString(),e.right.toString()]).exit():e.setResult([e.left,e.right]).exit())};H.filterName="trivial";const k=function(e){if(typeof e.delta>"u"){e.setResult(e.left).exit();return}if(e.nested=!Array.isArray(e.delta),e.nested)return;const i=e.delta;if(i.length===1){e.setResult(i[0]).exit();return}if(i.length===2){if(e.left instanceof RegExp){const t=/^\/(.*)\/([gimyu]+)$/.exec(i[1]);if(t){e.setResult(new RegExp(t[1],t[2])).exit();return}}e.setResult(i[1]).exit();return}i.length===3&&i[2]===0&&e.setResult(void 0).exit()};k.filterName="trivial";const L=function(e){if(typeof e.delta>"u"){e.setResult(e.delta).exit();return}if(e.nested=!Array.isArray(e.delta),e.nested)return;const i=e.delta;if(i.length===1){e.setResult([i[0],0,0]).exit();return}if(i.length===2){e.setResult([i[1],i[0]]).exit();return}i.length===3&&i[2]===0&&e.setResult([i[0]]).exit()};L.filterName="trivial";const B=l=>{if(!l||!l.children)return;const e=l.children.length;let i,t=l.result;for(let r=0;r"u")&&(t=t||{},t[i.childName]=i.result);t&&l.leftIsArray&&(t._t="a"),l.setResult(t).exit()};B.filterName="collectChildren";const V=l=>{if(l.leftIsArray||l.leftType!=="object")return;const e=l.left,i=l.right;let t,r;const s=l.options.propertyFilter;for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s&&!s(t,l)||(r=new p(e[t],i[t]),l.push(r,t)));for(t in i)Object.prototype.hasOwnProperty.call(i,t)&&(s&&!s(t,l)||typeof e[t]>"u"&&(r=new p(void 0,i[t]),l.push(r,t)));if(!l.children||l.children.length===0){l.setResult(void 0).exit();return}l.exit()};V.filterName="objects";const W=function(e){if(!e.nested)return;const i=e.delta;if(i._t)return;const t=i;let r,s;for(r in t)s=new N(e.left[r],t[r]),e.push(s,r);e.exit()};W.filterName="objects";const q=function(e){if(!e||!e.children||e.delta._t)return;const t=e.left,r=e.children.length;let s;for(let n=0;n{if(!l||!l.children||l.delta._t)return;const i=l.children.length;let t;const r={};for(let s=0;so?--s:--r}return n},fe=function(l,e,i,t){const r=t||{},s=le(l,e,i||se,r);return ne(s,l,e,r)},he={get:fe},g=3;function ae(l,e,i,t){for(let r=0;r"u"&&(r.hashCache1[i]=h=f(s,i)),typeof h>"u")return!1;r.hashCache2=r.hashCache2||[];let o=r.hashCache2[t];return typeof o>"u"&&(r.hashCache2[t]=o=f(n,t)),typeof o>"u"?!1:h===o}const U=function(e){if(!e.leftIsArray)return;const i={objectHash:e.options&&e.options.objectHash,matchByPosition:e.options&&e.options.matchByPosition};let t=0,r=0,s,n,f;const h=e.left,o=e.right,d=h.length,u=o.length;let c;for(d>0&&u>0&&!i.objectHash&&typeof i.matchByPosition!="boolean"&&(i.matchByPosition=!ae(h,o,d,u));t0){for(let w=0;we[l]-i[l]}},X=function(e){if(!e.nested)return;const i=e.delta;if(i._t!=="a")return;let t,r;const s=i,n=e.left;let f=[],h=[];const o=[];for(t in s)if(t!=="_t")if(t[0]==="_"){const a=t;if(s[a][2]===0||s[a][2]===g)f.push(parseInt(t.slice(1),10));else throw new Error(`only removal or move can be applied at original array indices, invalid diff type: ${s[a][2]}`)}else{const a=t;s[a].length===1?h.push({index:parseInt(a,10),value:s[a][0]}):o.push({index:parseInt(a,10),delta:s[a]})}for(f=f.sort(E.numerically),t=f.length-1;t>=0;t--){r=f[t];const a=s[`_${r}`],m=n.splice(r,1)[0];a[2]===g&&h.push({index:a[1],value:m})}h=h.sort(E.numericallyBy("index"));const d=h.length;for(t=0;t0)for(t=0;t{if(typeof e=="string"&&e[0]==="_")return parseInt(e.substring(1),10);if(Array.isArray(i)&&i[2]===0)return`_${e}`;let t=+e;for(const r in l){const s=l[r];if(Array.isArray(s))if(s[2]===g){const n=parseInt(r.substring(1),10),f=s[1];if(f===+e)return n;n<=t&&f>t?t++:n>=t&&f{if(!l||!l.children)return;const e=l.delta;if(e._t!=="a")return;const i=e,t=l.children.length;let r;const s={_t:"a"};for(let n=0;n"u"&&(f=oe(i,r.childName,r.result)),s[f]!==r.result&&(s[f]=r.result)}l.setResult(s).exit()};J.filterName="arraysCollectChildren";const K=function(e){e.left instanceof Date?(e.right instanceof Date?e.left.getTime()!==e.right.getTime()?e.setResult([e.left,e.right]):e.setResult(void 0):e.setResult([e.left,e.right]),e.exit()):e.right instanceof Date&&e.setResult([e.left,e.right]).exit()};K.filterName="dates";const D=2,ue=60;let A=null;function Q(l,e){var i;if(!A){let t;if(!((i=l?.textDiff)===null||i===void 0)&&i.diffMatchPatch)t=new l.textDiff.diffMatchPatch;else{if(!e)return null;const r=new Error("The diff-match-patch library was not provided. Pass the library in through the options or use the `jsondiffpatch/with-text-diffs` entry-point.");throw r.diff_match_patch_not_found=!0,r}A={diff:function(r,s){return t.patch_toText(t.patch_make(r,s))},patch:function(r,s){const n=t.patch_apply(t.patch_fromText(s),r);for(let f=0;f{d(e)&&e().then(({renderer:o,...a})=>{s(a),n.current=o,c(!0)})},[]),r.createElement(i.Provider,{value:{renderer:n.current,strict:u}},t)}function d(t){return typeof t=="function"}export{L}; diff --git a/assets/index-ISduWuPC.js b/assets/index-ISduWuPC.js new file mode 100644 index 00000000000..ac58405d906 --- /dev/null +++ b/assets/index-ISduWuPC.js @@ -0,0 +1 @@ +import{R as r}from"./index-ZXl4th35.js";import{s as S}from"./FormInput-i0fsPScC.js";var w=typeof window>"u",p=w?r.useEffect:r.useLayoutEffect,$=0,v=()=>++$,_=!1;function g(){let[t,n]=r.useState(_?v:void 0);return p(()=>{t===void 0&&n(v()),_=!0},[]),t===void 0?t:`rwb-${t.toString(32)}`}function E(){return r.useMemo(()=>"useId"in r?r.useId:g,[])()}var m="__wrap_b",c="__wrap_n",b="__wrap_o",h=(t,n,e)=>{e=e||document.querySelector(`[data-br="${t}"]`);let o=e.parentElement,u=d=>e.style.maxWidth=d+"px";e.style.maxWidth="";let s=o.clientWidth,l=o.clientHeight,i=s/2-.25,a=s+.5,f;if(s){for(u(i),i=Math.max(e.scrollWidth,i);i+1{self.__wrap_b(0,+e.dataset.brr,e)})).observe(o)},M=h.toString(),W='(self.CSS&&CSS.supports("text-wrap","balance")?1:2)',y=(t,n,e="")=>(e&&(e=`self.${c}!=1&&${e}`),r.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(t?"":`self.${c}=self.${c}||${W};self.${m}=${M};`)+e},nonce:n})),x=r.createContext({preferNative:!0,hasProvider:!1}),C=({preferNative:t=!0,nonce:n,children:e})=>{let o=r.useMemo(()=>({preferNative:t,hasProvider:!0}),[t]);return r.createElement(x.Provider,{value:o},y(!1,n),e)},N=({ratio:t=1,preferNative:n,nonce:e,children:o,...u})=>{let s=E(),l=r.useRef(),i=r.useContext(x),a=n??i.preferNative,f=u.as||"span";return p(()=>{a&&self[c]===1||l.current&&(self[m]=h)(0,t,l.current)},[o,a,t]),p(()=>{if(!(a&&self[c]===1))return()=>{if(!l.current)return;let d=l.current[b];d&&(d.disconnect(),delete l.current[b])}},[a]),r.createElement(r.Fragment,null,r.createElement(f,{...u,"data-br":s,"data-brr":t,ref:l,style:{display:"inline-block",verticalAlign:"top",textDecoration:"inherit",textWrap:a?"balance":"initial"},suppressHydrationWarning:!0},o),y(i.hasProvider,e,`self.${m}("${s}",${t})`))},H=N;const P=Object.freeze(Object.defineProperty({__proto__:null,socketClient:S},Symbol.toStringTag,{value:"Module"}));export{C as $,H as L,P as i,N as w}; diff --git a/assets/index-LA8z4iWc.js b/assets/index-LA8z4iWc.js new file mode 100644 index 00000000000..12a6b3ff734 --- /dev/null +++ b/assets/index-LA8z4iWc.js @@ -0,0 +1,9 @@ +import{r as e}from"./index-ZXl4th35.js";import{u as v,f as b,b as O,P as U,d as L}from"./motion-minimal-epsqYg85.js";function I(){const n=e.useRef(!1);return v(()=>(n.current=!0,()=>{n.current=!1}),[]),n}function B(){const n=I(),[s,t]=e.useState(0),r=e.useCallback(()=>{n.current&&t(s+1)},[s]);return[e.useCallback(()=>b.postRender(r),[r]),s]}class S extends e.Component{getSnapshotBeforeUpdate(s){const t=this.props.childRef.current;if(t&&s.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function T({children:n,isPresent:s}){const t=e.useId(),r=e.useRef(null),h=e.useRef({width:0,height:0,top:0,left:0});return e.useInsertionEffect(()=>{const{width:d,height:l,top:f,left:m}=h.current;if(s||!r.current||!d||!l)return;r.current.dataset.motionPopId=t;const a=document.createElement("style");return document.head.appendChild(a),a.sheet&&a.sheet.insertRule(` + [data-motion-pop-id="${t}"] { + position: absolute !important; + width: ${d}px !important; + height: ${l}px !important; + top: ${f}px !important; + left: ${m}px !important; + } + `),()=>{document.head.removeChild(a)}},[s]),e.createElement(S,{isPresent:s,childRef:r,sizeRef:h},e.cloneElement(n,{ref:r}))}const P=({children:n,initial:s,isPresent:t,onExitComplete:r,custom:h,presenceAffectsLayout:d,mode:l})=>{const f=O(A),m=e.useId(),a=e.useMemo(()=>({id:m,initial:s,isPresent:t,custom:h,onExitComplete:o=>{f.set(o,!0);for(const u of f.values())if(!u)return;r&&r()},register:o=>(f.set(o,!1),()=>f.delete(o))}),d?void 0:[t]);return e.useMemo(()=>{f.forEach((o,u)=>f.set(u,!1))},[t]),e.useEffect(()=>{!t&&!f.size&&r&&r()},[t]),l==="popLayout"&&(n=e.createElement(T,{isPresent:t},n)),e.createElement(U.Provider,{value:a},n)};function A(){return new Map}function D(n){return e.useEffect(()=>()=>n(),[])}const p=n=>n.key||"";function G(n,s){n.forEach(t=>{const r=p(t);s.set(r,t)})}function H(n){const s=[];return e.Children.forEach(n,t=>{e.isValidElement(t)&&s.push(t)}),s}const _=({children:n,custom:s,initial:t=!0,onExitComplete:r,exitBeforeEnter:h,presenceAffectsLayout:d=!0,mode:l="sync"})=>{const f=e.useContext(L).forceRender||B()[0],m=I(),a=H(n);let o=a;const u=e.useRef(new Map).current,x=e.useRef(o),C=e.useRef(new Map).current,g=e.useRef(!0);if(v(()=>{g.current=!1,G(a,C),x.current=o}),D(()=>{g.current=!0,C.clear(),u.clear()}),g.current)return e.createElement(e.Fragment,null,o.map(i=>e.createElement(P,{key:p(i),isPresent:!0,initial:t?void 0:!1,presenceAffectsLayout:d,mode:l},i)));o=[...o];const y=x.current.map(p),M=a.map(p),F=y.length;for(let i=0;i{if(M.indexOf(c)!==-1)return;const w=C.get(c);if(!w)return;const K=y.indexOf(c);let R=i;if(!R){const $=()=>{u.delete(c);const z=Array.from(C.keys()).filter(E=>!M.includes(E));if(z.forEach(E=>C.delete(E)),x.current=a.filter(E=>{const k=p(E);return k===c||z.includes(k)}),!u.size){if(m.current===!1)return;f(),r&&r()}};R=e.createElement(P,{key:p(w),isPresent:!1,onExitComplete:$,custom:s,presenceAffectsLayout:d,mode:l},w),u.set(c,R)}o.splice(K,0,R)}),o=o.map(i=>{const c=i.key;return u.has(c)?i:e.createElement(P,{key:p(i),isPresent:!0,presenceAffectsLayout:d,mode:l},i)}),e.createElement(e.Fragment,null,u.size?o:o.map(i=>e.cloneElement(i)))};export{_ as A}; diff --git a/assets/index-TOJKPYo_.js b/assets/index-TOJKPYo_.js new file mode 100644 index 00000000000..5e9de483adb --- /dev/null +++ b/assets/index-TOJKPYo_.js @@ -0,0 +1,2 @@ +import{r as x,R as i,j as t}from"./index-ZXl4th35.js";import{C as ue,c as me,d as de,b as k,p as q,e as X}from"./viewport-l4O6ZIBM.js";import{S as he,s as pe,x as G,y as xe,d as D,u as Z,j as d,k as N,z as fe,A as ge}from"./request-bY2SEZNN.js";import{c as J,C as ye,d as be,e as O,f as Ce,h as F,i as je,j as ve,k as ke,l as we,m as Se,n as W,o as Ne,U as H,s as K,p as m,q as Ee,r as U,E as Ae,t as Te}from"./utils-nAJ288NP.js";import{A as ee}from"./AutoResizeHeight-dtcKGJMw.js";import{a as h,c as te,m as P}from"./motion-minimal-epsqYg85.js";import{I as se}from"./Gallery-QJ8JjQGt.js";import{n as Oe,s as Re}from"./useQuery-3CoUXB5U.js";import{b as Me}from"./alert-fERsLyJJ.js";import{b as re,t as B,d as Ie}from"./toast-dlXalurG.js";import{A as ze}from"./index-LA8z4iWc.js";import{F as Be}from"./Form-kbLn7dW2.js";import{d as Le}from"./FormInput-i0fsPScC.js";import{u as Ue,b as Pe}from"./provider-XKwIHqOQ.js";import{S as Q,M as Fe}from"./StyledButton-VgryXAte.js";import{F as We}from"./FloatPopover-3waN72gb.js";import"./env-y9k74Ds6.js";import"./react-error-boundary.esm-e5Yyzoa4.js";import"./spring-hnK4kZop.js";import"./image-fdtjzFNr.js";import"./use-is-dark-IiysOCcN.js";import"./SocialSourceLink-Fjgxzjol.js";import"./dom-NuJWIaAq.js";import"./LinkCard-AonZnIUQ.js";import"./use-is-client-6Iy0halI.js";import"./visual-element-tlU1-krp.js";import"./customParseFormat-0gR3iPzn.js";import"./lodash-lrAbnKsZ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";import"./use-event-callback-ULpIcVk8.js";var He=class extends he{#s;#r=void 0;#e;#t;constructor(e,s){super(),this.#s=e,this.setOptions(s),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const s=this.options;this.options=this.#s.defaultMutationOptions(e),pe(this.options,s)||this.#s.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#e,observer:this}),s?.mutationKey&&this.options.mutationKey&&G(s.mutationKey)!==G(this.options.mutationKey)?this.reset():this.#e?.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#e?.removeObserver(this)}onMutationUpdate(e){this.#n(),this.#o(e)}getCurrentResult(){return this.#r}reset(){this.#e?.removeObserver(this),this.#e=void 0,this.#n(),this.#o()}mutate(e,s){return this.#t=s,this.#e?.removeObserver(this),this.#e=this.#s.getMutationCache().build(this.#s,this.options),this.#e.addObserver(this),this.#e.execute(e)}#n(){const e=this.#e?.state??xe();this.#r={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#o(e){D.batch(()=>{if(this.#t&&this.hasListeners()){const s=this.#r.variables,r=this.#r.context;e?.type==="success"?(this.#t.onSuccess?.(e.data,s,r),this.#t.onSettled?.(e.data,null,s,r)):e?.type==="error"&&(this.#t.onError?.(e.error,s,r),this.#t.onSettled?.(void 0,e.error,s,r))}this.listeners.forEach(s=>{s(this.#r)})})}};function Ke(e,s){const r=Z(s),[n]=x.useState(()=>new He(r,e));x.useEffect(()=>{n.setOptions(e)},[n,e]);const o=x.useSyncExternalStore(x.useCallback(l=>n.subscribe(D.batchCalls(l)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),a=x.useCallback((l,f)=>{n.mutate(l,f).catch(Oe)},[n]);if(o.error&&Re(n.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:a,mutateAsync:o.mutate}}var $e=()=>{try{return!1}catch{}return!1},Ve=()=>{try{return!0}catch{}return!1},Y=new Set,_e=(e,s,r)=>{const n=$e()||Ve(),o=r??e;Y.has(o)||n||(Y.add(o),console.warn(`Clerk - DEPRECATION WARNING: "${e}" is deprecated and will be removed in the next major release. +${s}`))},qe={Expired:"expired",Failed:"failed"};new Proxy(qe,{get(e,s,r){return _e("MagicLinkErrorCode","Use `EmailLinkErrorCode` instead."),Reflect.get(e,s,r)}});const Ge="Clerk: You must wrap your application in a component.",Qe=e=>`Clerk: You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,Ye=e=>s=>{try{return i.Children.only(e)}catch{throw new Error(Qe(s))}},Xe=(e,s)=>(e||(e=s),typeof e=="string"&&(e=i.createElement("button",null,e)),e),De=e=>(...s)=>{if(e&&typeof e=="function")return e(...s)},[ss,Ze]=[ue,me];function Je(e){if(!e)throw new Error(Ge)}const et=Object.freeze({noGuarantees:Object.freeze({guaranteedLoaded:!1}),guaranteedLoaded:Object.freeze({guaranteedLoaded:!0})}),$=i.createContext(void 0);$.displayName="StructureContext";const tt=()=>{const e=i.useContext($);return Je(e),e},st=({children:e})=>tt().guaranteedLoaded?i.createElement(i.Fragment,null,e):i.createElement($.Provider,{value:et.guaranteedLoaded},e),g=(e,s)=>{s=s||e.displayName||e.name||"Component",e.displayName=s;const r=n=>{const o=Ze();return o.loaded?i.createElement(st,null,i.createElement(e,{...n,clerk:o})):null};return r.displayName=`withClerk(${s})`,r},[rs,ne]=de("AuthContext"),rt=({children:e})=>{const{userId:s}=ne();return s?i.createElement(i.Fragment,null,e):null},nt=({children:e})=>{const{userId:s}=ne();return s===null?i.createElement(i.Fragment,null,e):null};g(({clerk:e,...s})=>{const{client:r,session:n}=e,{__unstable__environment:o}=e,a=r.activeSessions&&r.activeSessions.length>0;return i.useEffect(()=>{if(n===null&&a&&o){const{afterSignOutOneUrl:l}=o.displayConfig;e.navigate(l)}else e.redirectToSignIn(s)},[]),null},"RedirectToSignIn");g(({clerk:e,...s})=>(i.useEffect(()=>{e.redirectToSignUp(s)},[]),null),"RedirectToSignUp");g(({clerk:e})=>(i.useEffect(()=>{e.redirectToUserProfile()},[]),null),"RedirectToUserProfile");g(({clerk:e})=>(i.useEffect(()=>{e.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");g(({clerk:e})=>(i.useEffect(()=>{e.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");g(({clerk:e,...s})=>(i.useEffect(()=>{e.handleRedirectCallback(s)},[]),null),"AuthenticateWithRedirectCallback");const ot=g(({clerk:e,children:s,...r})=>{const{afterSignInUrl:n,afterSignUpUrl:o,redirectUrl:a,mode:l,...f}=r;s=Xe(s,"Sign in");const E=Ye(s)("SignInButton"),R=()=>{const p={afterSignInUrl:n,afterSignUpUrl:o,redirectUrl:a};return l==="modal"?e.openSignIn(p):e.redirectToSignIn(p)},M={...f,onClick:async p=>(await De(E.props.onClick)(p),R())};return i.cloneElement(E,M)},"SignInButton"),it=rt,at=nt;function ct({className:e}){return t.jsx("i",{className:h("icon-[mingcute--send-plane-line]",e)})}const lt=()=>{const e=ke(),s=we();return t.jsxs("span",{className:h("font-mono text-[10px]",e?"text-red-500":"text-zinc-500"),children:[s.length,"/",Se]})},ut=()=>{const e=k(),s=F(),r=re(O().isWhisper),n=W();return e||s?null:t.jsxs("label",{className:"label mx-2 flex items-center",children:[t.jsx("input",{className:"checkbox-accent checkbox checkbox-sm mr-2",checked:r,type:"checkbox",onChange:o=>{const a=o.target.checked;n("isWhisper",a)}}),t.jsx("span",{className:"label-text text-sm",children:"悄悄话"})]})},mt=()=>{const e=k(),s=re(O().syncToRecently),r=W(),n=F();return!e||n?null:t.jsxs("label",{className:"label mx-2 flex items-center",children:[t.jsx("input",{className:"checkbox-accent checkbox checkbox-sm mr-2",checked:s,type:"checkbox",onChange:o=>{const a=o.target.checked;r("syncToRecently",a)}}),t.jsx("span",{className:"label-text text-sm",children:"同步到碎碎念"})]})},V=({className:e})=>{const s=J();return t.jsxs("footer",{className:te("mt-3 flex h-5 w-full min-w-0 items-center justify-between",e),children:[t.jsxs("span",{className:h("flex-1 select-none text-[10px] text-zinc-500 transition-opacity"),children:[t.jsxs("span",{className:"hidden md:inline",children:["支持 ",t.jsx("b",{children:"Markdown"})," 与"," ",t.jsx(Me,{href:"https://docs.github.com/zh/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax",children:"GFM"})]}),t.jsx(ye,{})]}),t.jsx(ze,{children:s&&t.jsxs(P.aside,{initial:{opacity:0,scale:.96,y:8},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.98,y:8},className:"flex select-none items-center gap-2.5",children:[t.jsx(lt,{}),t.jsx(ut,{}),t.jsx(mt,{}),t.jsx(dt,{})]},"send-button-wrapper")})]})},dt=()=>{const e=be(),{text:s,author:r,mail:n,url:o,source:a,avatar:l,isWhisper:f,syncToRecently:E}=O(),{afterSubmit:R}=Ce(),w=k(),M=Z(),p=F(),ie=je(),ae=ve(),A=u=>(ae?.(u),u),{mutate:ce,isPending:_}=Ke({mutationFn:async u=>{const y=d.get(s),I=d.get(r),b=d.get(n),S=d.get(l),C=d.get(a),z=d.get(o),c={text:y,author:I,mail:b,avatar:S,source:C,url:z};if(w&&delete c.avatar,Object.keys(c).forEach(v=>{c[v]===""&&delete c[v]}),p)return w?N.comment.proxy.master.reply(u).post({data:{text:y,source:C}}).then(A):N.comment.reply(u,c).then(A);const j=d.get(f),T=d.get(E);return w?N.comment.proxy.master.comment(u).post({data:{text:y,source:C}}).then(async v=>(T&&N.recently.proxy.post({data:{content:y,ref:u}}).then(()=>{B.success("已同步到碎碎念")}),v)).then(A):(c.isWhispers=j,N.comment.comment(u,c).then(A))},mutationKey:[e,"comment"],onError(u){B.error(fe(u))},onSuccess(u){R?.();const y=w?"发表成功啦~":p?"感谢你的回复!":"感谢你的评论!",I=Ne(ie);B.success(y),d.set(s,""),M.setQueryData(I,b=>b&&(p?q(b,S=>{const C=(c,j,T)=>{if(c.id===j)return c.children||(c.children=[]),c.children.push({...T,new:!0}),!0;if(c.children){for(const v of c.children)if(C(v,j,T))return!0;return!1}},z={...u,new:!0};for(const c of S.pages)for(const j of c.data)if(C(j,e,z))break}):q(b,S=>{S.pages[0].data.unshift({...u,new:!0})})))}}),le=()=>{ce(e)};return t.jsxs(P.button,{className:"flex appearance-none items-center space-x-1 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",whileHover:{scale:1.05},whileTap:{scale:.95},type:"button",disabled:_,onClick:le,children:[t.jsx(ct,{className:"h-5 w-5 text-zinc-800 dark:text-zinc-200"}),t.jsx(P.span,{className:"text-sm",layout:"size",children:_?"送信...":"送信"})]})},ht=()=>{const e="bg-gray-200/50 dark:bg-zinc-800/50";return t.jsxs("div",{className:"flex animate-pulse gap-4",children:[t.jsx("div",{className:h("h-12 w-12 self-end overflow-hidden rounded-full",e)}),t.jsx("div",{className:h("h-[150px] w-full rounded-lg",e)})]})},pt=()=>{const{user:e}=X(),s=W(),r=e?e.fullName||e.lastName||e.firstName||"Anonymous":"";return x.useEffect(()=>{if(!e)return;s("author",r),s("avatar",e.imageUrl),s("mail",e.primaryEmailAddress?.emailAddress||"");const n=e.primaryEmailAddress?.verification.strategy;n&&s("source",n)},[r,s,e]),e?t.jsxs("div",{className:"flex space-x-4",children:[t.jsx("div",{className:h("mb-2 flex-shrink-0 select-none self-end overflow-hidden rounded-full",'dark:ring-zinc-800" bg-zinc-200 ring-2 ring-zinc-200 dark:bg-zinc-800',"ml-[2px] backface-hidden"),children:t.jsx(se,{className:"rounded-full object-cover",src:e.imageUrl,alt:`${r}'s avatar`,width:48,height:48})}),t.jsx("div",{className:"relative h-[150px] w-full rounded-lg bg-gray-200/50 dark:bg-zinc-800/50",children:t.jsx(H,{className:"pb-5"})}),t.jsx(V,{className:"absolute bottom-0 left-12 right-0 mb-2 ml-4 w-auto px-4"})]}):t.jsx(ht,{})},xt=()=>k()?t.jsx(yt,{}):t.jsx(gt,{}),oe="relative h-[150px] w-full rounded-lg bg-gray-200/50 dark:bg-zinc-800/50",ft={author:"昵称",mail:"邮箱",url:"网址"},L=e=>{const{fieldKey:s,required:r}=e,[n,o]=Ie(O()[s]);return t.jsx(Le,{type:"text",value:n,onChange:a=>o(a.target.value),required:r,placeholder:ft[s]+(r?" *":""),className:"border-0 bg-gray-200/50 dark:bg-zinc-800/50"})},gt=()=>t.jsxs(Be,{className:"flex flex-col space-y-4 px-2 pt-2",showErrorMessage:!1,children:[t.jsxs("div",{className:"flex flex-col space-x-0 space-y-4 md:flex-row md:space-x-4 md:space-y-0",children:[t.jsx(L,{fieldKey:"author",required:!0}),t.jsx(L,{fieldKey:"mail",required:!0}),t.jsx(L,{fieldKey:"url"})]}),t.jsx("div",{className:oe,children:t.jsx(H,{className:"pb-8"})}),t.jsx(V,{className:"absolute bottom-4 left-0 right-4 mb-2 ml-4 w-auto px-4"})]}),yt=()=>{const e=ge(s=>s.user);return t.jsxs("div",{className:"flex space-x-4",children:[t.jsx("div",{className:h("mb-2 flex-shrink-0 select-none self-end overflow-hidden rounded-full",'dark:ring-zinc-800" bg-zinc-200 ring-2 ring-zinc-200 dark:bg-zinc-800',"ml-[2px] backface-hidden"),children:t.jsx(se,{className:"rounded-full object-cover",src:e.avatar,alt:`${e.name||e.username}'s avatar`,width:48,height:48})}),t.jsx("div",{className:oe,children:t.jsx(H,{className:"pb-5"})}),t.jsx(V,{className:"absolute bottom-0 left-12 right-0 mb-2 ml-4 w-auto px-4"})]})};function bt(e){return t.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M11 15H7C4.79086 15 3 16.7909 3 19C3 20.1046 3.89543 21 5 21H15M16.8744 13C16.2164 13.4935 15.6221 14.066 15.1049 14.7043C15.035 14.7906 15 14.8953 15 15M16.8744 17C16.2164 16.5065 15.6221 15.934 15.1049 15.2957C15.035 15.2094 15 15.1047 15 15M15 15H21M15 7C15 9.20914 13.2091 11 11 11C8.79086 11 7 9.20914 7 7C7 4.79086 8.79086 3 11 3C13.2091 3 15 4.79086 15 7Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function Ct(){const e=Pe(),{dismissAll:s}=Ue();return t.jsxs("div",{className:"flex h-[150px] w-full space-x-4 rounded-lg bg-gray-100/80 center dark:bg-zinc-900/80",children:[t.jsx(Q,{variant:"secondary",type:"button",onClick:()=>{K(m.legacy)},children:"免登录评论"}),t.jsx(ot,{mode:"modal",redirectUrl:Ee(e).href,children:t.jsxs(Q,{onClick:()=>{s()},variant:"primary",type:"button",children:[t.jsx(bt,{className:"mr-1 h-5 w-5"}),"登录后才可以留言噢"]})})]})}const jt=()=>{const e=U(),s=`转换到${e===m.legacy?"新":"旧"}版评论`,r=J(),n=!!X(),o=x.useRef(function(){const f=U();return t.jsxs(t.Fragment,{children:[t.jsx("i",{className:h(f===m.legacy?"icon-[mingcute--user-4-line]":"icon-[material-symbols--dynamic-form-outline]")}),t.jsx("span",{className:"sr-only",children:s})]})}).current;return k()?null:t.jsx(Fe,{className:h("absolute left-0 top-0 z-10 rounded-full text-sm","h-6 w-6 border border-slate-200 dark:border-neutral-800","bg-slate-100 dark:bg-neutral-900","flex cursor-pointer text-base-100/50 center","text-base-content/50","opacity-0 transition-opacity duration-200 group-[:hover]:opacity-100",e===m.legacy&&"bottom-0 top-auto",r||n&&e===m["with-auth"]&&"invisible opacity-0"),onClick:()=>{K(e===m.legacy?m["with-auth"]:m.legacy)},children:t.jsx(We,{TriggerComponent:o,children:s})})},ns=e=>{const{refId:s,className:r,afterSubmit:n,initialValue:o}=e,a=U(),l=k();return x.useEffect(()=>{l&&K(m.legacy)},[l]),t.jsx(Ae,{children:t.jsx(Te,{refId:s,afterSubmit:n,initialValue:o,children:t.jsxs("div",{className:te("group relative w-full min-w-0",r),"data-hide-print":!0,children:[t.jsx(jt,{}),t.jsx("div",{className:"relative w-full",children:a===m.legacy?t.jsx(vt,{}):t.jsx(kt,{})})]})})})},vt=()=>t.jsx(ee,{children:t.jsx(xt,{})}),kt=()=>t.jsxs(ee,{children:[t.jsx(at,{children:t.jsx(Ct,{})}),t.jsx(it,{children:t.jsx(pt,{})})]});export{ns as CommentBoxRoot}; diff --git a/assets/index-ZXl4th35.js b/assets/index-ZXl4th35.js new file mode 100644 index 00000000000..5d1543bfdf3 --- /dev/null +++ b/assets/index-ZXl4th35.js @@ -0,0 +1,118 @@ +function nf(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();var l1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lf={exports:{}},Qo={},of={exports:{}},Q={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var El=Symbol.for("react.element"),mh=Symbol.for("react.portal"),gh=Symbol.for("react.fragment"),vh=Symbol.for("react.strict_mode"),yh=Symbol.for("react.profiler"),wh=Symbol.for("react.provider"),kh=Symbol.for("react.context"),xh=Symbol.for("react.forward_ref"),Sh=Symbol.for("react.suspense"),Eh=Symbol.for("react.memo"),Ch=Symbol.for("react.lazy"),ku=Symbol.iterator;function _h(e){return e===null||typeof e!="object"?null:(e=ku&&e[ku]||e["@@iterator"],typeof e=="function"?e:null)}var af={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sf=Object.assign,uf={};function kr(e,t,n){this.props=e,this.context=t,this.refs=uf,this.updater=n||af}kr.prototype.isReactComponent={};kr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};kr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cf(){}cf.prototype=kr.prototype;function qa(e,t,n){this.props=e,this.context=t,this.refs=uf,this.updater=n||af}var es=qa.prototype=new cf;es.constructor=qa;sf(es,kr.prototype);es.isPureReactComponent=!0;var xu=Array.isArray,ff=Object.prototype.hasOwnProperty,ts={current:null},df={key:!0,ref:!0,__self:!0,__source:!0};function pf(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)ff.call(t,r)&&!df.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,ne=z[X];if(0>>1;Xl(st,b))Oel(Bt,st)?(z[X]=Bt,z[Oe]=b,X=Oe):(z[X]=st,z[Re]=b,X=Re);else if(Oel(Bt,b))z[X]=Bt,z[Oe]=b,X=Oe;else break e}}return F}function l(z,F){var b=z.sortIndex-F.sortIndex;return b!==0?b:z.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var s=[],u=[],c=1,d=null,f=3,y=!1,k=!1,x=!1,C=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(z){for(var F=n(u);F!==null;){if(F.callback===null)r(u);else if(F.startTime<=z)r(u),F.sortIndex=F.expirationTime,t(s,F);else break;F=n(u)}}function E(z){if(x=!1,g(z),!k)if(n(s)!==null)k=!0,bt(T);else{var F=n(u);F!==null&&oe(E,F.startTime-z)}}function T(z,F){k=!1,x&&(x=!1,h(L),L=-1),y=!0;var b=f;try{for(g(F),d=n(s);d!==null&&(!(d.expirationTime>F)||z&&!V());){var X=d.callback;if(typeof X=="function"){d.callback=null,f=d.priorityLevel;var ne=X(d.expirationTime<=F);F=e.unstable_now(),typeof ne=="function"?d.callback=ne:d===n(s)&&r(s),g(F)}else r(s);d=n(s)}if(d!==null)var vt=!0;else{var Re=n(u);Re!==null&&oe(E,Re.startTime-F),vt=!1}return vt}finally{d=null,f=b,y=!1}}var v=!1,R=null,L=-1,$=5,M=-1;function V(){return!(e.unstable_now()-M<$)}function ge(){if(R!==null){var z=e.unstable_now();M=z;var F=!0;try{F=R(!0,z)}finally{F?ve():(v=!1,R=null)}}else v=!1}var ve;if(typeof p=="function")ve=function(){p(ge)};else if(typeof MessageChannel<"u"){var qe=new MessageChannel,Un=qe.port2;qe.port1.onmessage=ge,ve=function(){Un.postMessage(null)}}else ve=function(){C(ge,0)};function bt(z){R=z,v||(v=!0,ve())}function oe(z,F){L=C(function(){z(e.unstable_now())},F)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_continueExecution=function(){k||y||(k=!0,bt(T))},e.unstable_forceFrameRate=function(z){0>z||125X?(z.sortIndex=b,t(u,z),n(s)===null&&z===n(u)&&(x?(h(L),L=-1):x=!0,oe(E,b-X))):(z.sortIndex=ne,t(s,z),k||y||(k=!0,bt(T))),z},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(z){var F=f;return function(){var b=f;f=F;try{return z.apply(this,arguments)}finally{f=b}}}})(yf);vf.exports=yf;var Ah=vf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var wf=m,Ze=Ah;function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zi=Object.prototype.hasOwnProperty,jh=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Eu={},Cu={};function Fh(e){return Zi.call(Cu,e)?!0:Zi.call(Eu,e)?!1:jh.test(e)?Cu[e]=!0:(Eu[e]=!0,!1)}function Uh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function bh(e,t,n,r){if(t===null||typeof t>"u"||Uh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Fe(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new Fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$e[t]=new Fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new Fe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$e[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new Fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new Fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new Fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var rs=/[\-:]([a-z])/g;function ls(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(rs,ls);$e[t]=new Fe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(rs,ls);$e[t]=new Fe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(rs,ls);$e[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function os(e,t,n,r){var l=$e.hasOwnProperty(t)?$e[t]:null;(l!==null?l.type!==0:r||!(2a||l[i]!==o[a]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=a);break}}}finally{xi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Br(e):""}function Bh(e){switch(e.tag){case 5:return Br(e.type);case 16:return Br("Lazy");case 13:return Br("Suspense");case 19:return Br("SuspenseList");case 0:case 2:case 15:return e=Si(e.type,!1),e;case 11:return e=Si(e.type.render,!1),e;case 1:return e=Si(e.type,!0),e;default:return""}}function ea(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qn:return"Fragment";case Wn:return"Portal";case Gi:return"Profiler";case is:return"StrictMode";case Ji:return"Suspense";case qi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Sf:return(e.displayName||"Context")+".Consumer";case xf:return(e._context.displayName||"Context")+".Provider";case as:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ss:return t=e.displayName||null,t!==null?t:ea(e.type)||"Memo";case Yt:t=e._payload,e=e._init;try{return ea(e(t))}catch{}}return null}function Vh(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ea(t);case 8:return t===is?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Cf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hh(e){var t=Cf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function jl(e){e._valueTracker||(e._valueTracker=Hh(e))}function _f(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Cf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function vo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ta(e,t){var n=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ru(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=un(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Rf(e,t){t=t.checked,t!=null&&os(e,"checked",t,!1)}function na(e,t){Rf(e,t);var n=un(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ra(e,t.type,n):t.hasOwnProperty("defaultValue")&&ra(e,t.type,un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Pu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ra(e,t,n){(t!=="number"||vo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vr=Array.isArray;function or(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Fl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ol(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Wh=["Webkit","ms","Moz","O"];Object.keys(Qr).forEach(function(e){Wh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qr[t]=Qr[e]})});function $f(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qr.hasOwnProperty(e)&&Qr[e]?(""+t).trim():t+"px"}function Nf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=$f(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Qh=ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ia(e,t){if(t){if(Qh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function aa(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sa=null;function us(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ua=null,ir=null,ar=null;function $u(e){if(e=Rl(e)){if(typeof ua!="function")throw Error(P(280));var t=e.stateNode;t&&(t=Go(t),ua(e.stateNode,e.type,t))}}function zf(e){ir?ar?ar.push(e):ar=[e]:ir=e}function Df(){if(ir){var e=ir,t=ar;if(ar=ir=null,$u(e),t)for(e=0;e>>=0,e===0?32:31-(rm(e)/lm|0)|0}var Ul=64,bl=4194304;function Hr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function xo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~l;a!==0?r=Hr(a):(o&=i,o!==0&&(r=Hr(o)))}else i=n&~l,i!==0?r=Hr(i):o!==0&&(r=Hr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Cl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ht(t),e[t]=n}function sm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Yr),Fu=" ",Uu=!1;function qf(e,t){switch(e){case"keyup":return Im.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ed(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kn=!1;function jm(e,t){switch(e){case"compositionend":return ed(t);case"keypress":return t.which!==32?null:(Uu=!0,Fu);case"textInput":return e=t.data,e===Fu&&Uu?null:e;default:return null}}function Fm(e,t){if(Kn)return e==="compositionend"||!vs&&qf(e,t)?(e=Gf(),io=hs=Jt=null,Kn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Hu(n)}}function ld(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ld(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function od(){for(var e=window,t=vo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=vo(e.document)}return t}function ys(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Ym(e){var t=od(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ld(n.ownerDocument.documentElement,n)){if(r!==null&&ys(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Wu(n,o);var i=Wu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Yn=null,ma=null,Zr=null,ga=!1;function Qu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ga||Yn==null||Yn!==vo(r)||(r=Yn,"selectionStart"in r&&ys(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zr&&fl(Zr,r)||(Zr=r,r=Co(ma,"onSelect"),0Gn||(e.current=Sa[Gn],Sa[Gn]=null,Gn--)}function te(e,t){Gn++,Sa[Gn]=e.current,e.current=t}var cn={},Me=dn(cn),Be=dn(!1),Tn=cn;function dr(e,t){var n=e.type.contextTypes;if(!n)return cn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ve(e){return e=e.childContextTypes,e!=null}function Ro(){le(Be),le(Me)}function qu(e,t,n){if(Me.current!==cn)throw Error(P(168));te(Me,t),te(Be,n)}function hd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(P(108,Vh(e)||"Unknown",l));return ce({},n,r)}function Po(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cn,Tn=Me.current,te(Me,e),te(Be,Be.current),!0}function ec(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=hd(e,t,Tn),r.__reactInternalMemoizedMergedChildContext=e,le(Be),le(Me),te(Me,e)):le(Be),te(Be,n)}var Lt=null,Jo=!1,Ii=!1;function md(e){Lt===null?Lt=[e]:Lt.push(e)}function ig(e){Jo=!0,md(e)}function pn(){if(!Ii&&Lt!==null){Ii=!0;var e=0,t=G;try{var n=Lt;for(G=1;e>=i,l-=i,$t=1<<32-ht(t)+l|n<L?($=R,R=null):$=R.sibling;var M=f(h,R,g[L],E);if(M===null){R===null&&(R=$);break}e&&R&&M.alternate===null&&t(h,R),p=o(M,p,L),v===null?T=M:v.sibling=M,v=M,R=$}if(L===g.length)return n(h,R),ae&&yn(h,L),T;if(R===null){for(;LL?($=R,R=null):$=R.sibling;var V=f(h,R,M.value,E);if(V===null){R===null&&(R=$);break}e&&R&&V.alternate===null&&t(h,R),p=o(V,p,L),v===null?T=V:v.sibling=V,v=V,R=$}if(M.done)return n(h,R),ae&&yn(h,L),T;if(R===null){for(;!M.done;L++,M=g.next())M=d(h,M.value,E),M!==null&&(p=o(M,p,L),v===null?T=M:v.sibling=M,v=M);return ae&&yn(h,L),T}for(R=r(h,R);!M.done;L++,M=g.next())M=y(R,h,L,M.value,E),M!==null&&(e&&M.alternate!==null&&R.delete(M.key===null?L:M.key),p=o(M,p,L),v===null?T=M:v.sibling=M,v=M);return e&&R.forEach(function(ge){return t(h,ge)}),ae&&yn(h,L),T}function C(h,p,g,E){if(typeof g=="object"&&g!==null&&g.type===Qn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Al:e:{for(var T=g.key,v=p;v!==null;){if(v.key===T){if(T=g.type,T===Qn){if(v.tag===7){n(h,v.sibling),p=l(v,g.props.children),p.return=h,h=p;break e}}else if(v.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Yt&&ac(T)===v.type){n(h,v.sibling),p=l(v,g.props),p.ref=Dr(h,v,g),p.return=h,h=p;break e}n(h,v);break}else t(h,v);v=v.sibling}g.type===Qn?(p=Pn(g.props.children,h.mode,E,g.key),p.return=h,h=p):(E=mo(g.type,g.key,g.props,null,h.mode,E),E.ref=Dr(h,p,g),E.return=h,h=E)}return i(h);case Wn:e:{for(v=g.key;p!==null;){if(p.key===v)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(h,p.sibling),p=l(p,g.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else t(h,p);p=p.sibling}p=Hi(g,h.mode,E),p.return=h,h=p}return i(h);case Yt:return v=g._init,C(h,p,v(g._payload),E)}if(Vr(g))return k(h,p,g,E);if(Tr(g))return x(h,p,g,E);Yl(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(h,p.sibling),p=l(p,g),p.return=h,h=p):(n(h,p),p=Vi(g,h.mode,E),p.return=h,h=p),i(h)):n(h,p)}return C}var hr=Ed(!0),Cd=Ed(!1),Pl={},Rt=dn(Pl),ml=dn(Pl),gl=dn(Pl);function En(e){if(e===Pl)throw Error(P(174));return e}function Ps(e,t){switch(te(gl,t),te(ml,e),te(Rt,Pl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:oa(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=oa(t,e)}le(Rt),te(Rt,t)}function mr(){le(Rt),le(ml),le(gl)}function _d(e){En(gl.current);var t=En(Rt.current),n=oa(t,e.type);t!==n&&(te(ml,e),te(Rt,n))}function Ts(e){ml.current===e&&(le(Rt),le(ml))}var se=dn(0);function Do(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ai=[];function Ls(){for(var e=0;en?n:4,e(!0);var r=ji.transition;ji.transition={};try{e(!1),t()}finally{G=n,ji.transition=r}}function bd(){return at().memoizedState}function cg(e,t,n){var r=an(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bd(e))Vd(t,n);else if(n=wd(e,t,n,r),n!==null){var l=Ae();mt(n,e,r,l),Hd(n,t,r)}}function fg(e,t,n){var r=an(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bd(e))Vd(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,a=o(i,n);if(l.hasEagerState=!0,l.eagerState=a,gt(a,i)){var s=t.interleaved;s===null?(l.next=l,_s(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=wd(e,t,l,r),n!==null&&(l=Ae(),mt(n,e,r,l),Hd(n,t,r))}}function Bd(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Vd(e,t){Gr=Mo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fs(e,n)}}var Oo={readContext:it,useCallback:Ne,useContext:Ne,useEffect:Ne,useImperativeHandle:Ne,useInsertionEffect:Ne,useLayoutEffect:Ne,useMemo:Ne,useReducer:Ne,useRef:Ne,useState:Ne,useDebugValue:Ne,useDeferredValue:Ne,useTransition:Ne,useMutableSource:Ne,useSyncExternalStore:Ne,useId:Ne,unstable_isNewReconciler:!1},dg={readContext:it,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:uc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,co(4194308,4,Id.bind(null,t,e),n)},useLayoutEffect:function(e,t){return co(4194308,4,e,t)},useInsertionEffect:function(e,t){return co(4,2,e,t)},useMemo:function(e,t){var n=xt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=cg.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:sc,useDebugValue:Ms,useDeferredValue:function(e){return xt().memoizedState=e},useTransition:function(){var e=sc(!1),t=e[0];return e=ug.bind(null,e[1]),xt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,l=xt();if(ae){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),_e===null)throw Error(P(349));$n&30||Td(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,uc($d.bind(null,r,o,e),[e]),r.flags|=2048,wl(9,Ld.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=xt(),t=_e.identifierPrefix;if(ae){var n=Nt,r=$t;n=(r&~(1<<32-ht(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[St]=t,e[hl]=r,qd(e,t,!1,!1),t.stateNode=e;e:{switch(i=aa(n,r),n){case"dialog":re("cancel",e),re("close",e),l=r;break;case"iframe":case"object":case"embed":re("load",e),l=r;break;case"video":case"audio":for(l=0;lvr&&(t.flags|=128,r=!0,Mr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Do(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Mr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!ae)return ze(t),null}else 2*me()-o.renderingStartTime>vr&&n!==1073741824&&(t.flags|=128,r=!0,Mr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=me(),t.sibling=null,n=se.current,te(se,r?n&1|2:n&1),t):(ze(t),null);case 22:case 23:return Us(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qe&1073741824&&(ze(t),t.subtreeFlags&6&&(t.flags|=8192)):ze(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function kg(e,t){switch(ks(t),t.tag){case 1:return Ve(t.type)&&Ro(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mr(),le(Be),le(Me),Ls(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ts(t),null;case 13:if(le(se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(se),null;case 4:return mr(),null;case 10:return Cs(t.type._context),null;case 22:case 23:return Us(),null;case 24:return null;default:return null}}var Zl=!1,De=!1,xg=typeof WeakSet=="function"?WeakSet:Set,D=null;function tr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){de(e,t,r)}else n.current=null}function Ma(e,t,n){try{n()}catch(r){de(e,t,r)}}var yc=!1;function Sg(e,t){if(va=So,e=od(),ys(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,a=-1,s=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var y;d!==n||l!==0&&d.nodeType!==3||(a=i+l),d!==o||r!==0&&d.nodeType!==3||(s=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(y=d.firstChild)!==null;)f=d,d=y;for(;;){if(d===e)break t;if(f===n&&++u===l&&(a=i),f===o&&++c===r&&(s=i),(y=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=y}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ya={focusedElem:e,selectionRange:n},So=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var x=k.memoizedProps,C=k.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?x:ct(t.type,x),C);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(E){de(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return k=yc,yc=!1,k}function Jr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Ma(t,n,o)}l=l.next}while(l!==r)}}function ti(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Oa(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function np(e){var t=e.alternate;t!==null&&(e.alternate=null,np(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[St],delete t[hl],delete t[xa],delete t[lg],delete t[og])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rp(e){return e.tag===5||e.tag===3||e.tag===4}function wc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ia(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=_o));else if(r!==4&&(e=e.child,e!==null))for(Ia(e,t,n),e=e.sibling;e!==null;)Ia(e,t,n),e=e.sibling}function Aa(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Aa(e,t,n),e=e.sibling;e!==null;)Aa(e,t,n),e=e.sibling}var Te=null,ft=!1;function Qt(e,t,n){for(n=n.child;n!==null;)lp(e,t,n),n=n.sibling}function lp(e,t,n){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(Ko,n)}catch{}switch(n.tag){case 5:De||tr(n,t);case 6:var r=Te,l=ft;Te=null,Qt(e,t,n),Te=r,ft=l,Te!==null&&(ft?(e=Te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Te.removeChild(n.stateNode));break;case 18:Te!==null&&(ft?(e=Te,n=n.stateNode,e.nodeType===8?Oi(e.parentNode,n):e.nodeType===1&&Oi(e,n),ul(e)):Oi(Te,n.stateNode));break;case 4:r=Te,l=ft,Te=n.stateNode.containerInfo,ft=!0,Qt(e,t,n),Te=r,ft=l;break;case 0:case 11:case 14:case 15:if(!De&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Ma(n,t,i),l=l.next}while(l!==r)}Qt(e,t,n);break;case 1:if(!De&&(tr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){de(n,t,a)}Qt(e,t,n);break;case 21:Qt(e,t,n);break;case 22:n.mode&1?(De=(r=De)||n.memoizedState!==null,Qt(e,t,n),De=r):Qt(e,t,n);break;default:Qt(e,t,n)}}function kc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xg),t.forEach(function(r){var l=Ng.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cg(r/1960))-r,10e?16:e,qt===null)var r=!1;else{if(e=qt,qt=null,jo=0,Y&6)throw Error(P(331));var l=Y;for(Y|=4,D=e.current;D!==null;){var o=D,i=o.child;if(D.flags&16){var a=o.deletions;if(a!==null){for(var s=0;sme()-js?Rn(e,0):As|=n),He(e,t)}function dp(e,t){t===0&&(e.mode&1?(t=bl,bl<<=1,!(bl&130023424)&&(bl=4194304)):t=1);var n=Ae();e=It(e,t),e!==null&&(Cl(e,t,n),He(e,n))}function $g(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dp(e,n)}function Ng(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),dp(e,n)}var pp;pp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Be.current)be=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return be=!1,yg(e,t,n);be=!!(e.flags&131072)}else be=!1,ae&&t.flags&1048576&&gd(t,Lo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fo(e,t),e=t.pendingProps;var l=dr(t,Me.current);ur(t,n),l=Ns(null,t,r,e,l,n);var o=zs();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ve(r)?(o=!0,Po(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Rs(t),l.updater=qo,t.stateNode=l,l._reactInternals=t,Pa(t,r,e,n),t=$a(null,t,r,!0,o,n)):(t.tag=0,ae&&o&&ws(t),Ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fo(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Dg(r),e=ct(r,e),l){case 0:t=La(null,t,r,e,n);break e;case 1:t=mc(null,t,r,e,n);break e;case 11:t=pc(null,t,r,e,n);break e;case 14:t=hc(null,t,r,ct(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ct(r,l),La(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ct(r,l),mc(e,t,r,l,n);case 3:e:{if(Zd(t),e===null)throw Error(P(387));r=t.pendingProps,o=t.memoizedState,l=o.element,kd(e,t),zo(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=gr(Error(P(423)),t),t=gc(e,t,r,n,l);break e}else if(r!==l){l=gr(Error(P(424)),t),t=gc(e,t,r,n,l);break e}else for(Ye=rn(t.stateNode.containerInfo.firstChild),Xe=t,ae=!0,pt=null,n=Cd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(pr(),r===l){t=At(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return _d(t),e===null&&Ca(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,wa(r,l)?i=null:o!==null&&wa(r,o)&&(t.flags|=32),Xd(e,t),Ie(e,t,i,n),t.child;case 6:return e===null&&Ca(t),null;case 13:return Gd(e,t,n);case 4:return Ps(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=hr(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ct(r,l),pc(e,t,r,l,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,te($o,r._currentValue),r._currentValue=i,o!==null)if(gt(o.value,i)){if(o.children===l.children&&!Be.current){t=At(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){i=o.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=zt(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),_a(o.return,n,t),a.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(P(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),_a(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,ur(t,n),l=it(l),r=r(l),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,l=ct(r,t.pendingProps),l=ct(r.type,l),hc(e,t,r,l,n);case 15:return Kd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ct(r,l),fo(e,t),t.tag=1,Ve(r)?(e=!0,Po(t)):e=!1,ur(t,n),Sd(t,r,l),Pa(t,r,l,n),$a(null,t,r,!0,e,n);case 19:return Jd(e,t,n);case 22:return Yd(e,t,n)}throw Error(P(156,t.tag))};function hp(e,t){return Uf(e,t)}function zg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,r){return new zg(e,t,n,r)}function Bs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Dg(e){if(typeof e=="function")return Bs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===as)return 11;if(e===ss)return 14}return 2}function sn(e,t){var n=e.alternate;return n===null?(n=lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function mo(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Bs(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Qn:return Pn(n.children,l,o,t);case is:i=8,l|=8;break;case Gi:return e=lt(12,n,t,l|2),e.elementType=Gi,e.lanes=o,e;case Ji:return e=lt(13,n,t,l),e.elementType=Ji,e.lanes=o,e;case qi:return e=lt(19,n,t,l),e.elementType=qi,e.lanes=o,e;case Ef:return ri(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xf:i=10;break e;case Sf:i=9;break e;case as:i=11;break e;case ss:i=14;break e;case Yt:i=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=lt(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Pn(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function ri(e,t,n,r){return e=lt(22,e,r,t),e.elementType=Ef,e.lanes=n,e.stateNode={isHidden:!1},e}function Vi(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function Hi(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Mg(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ci(0),this.expirationTimes=Ci(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ci(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Vs(e,t,n,r,l,o,i,a,s){return e=new Mg(e,t,n,a,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=lt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rs(o),e}function Og(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yp)}catch(e){console.error(e)}}yp(),gf.exports=Ge;var si=gf.exports;const Ug=rf(si),bg=nf({__proto__:null,default:Ug},[si]);var Tc=si;Xi.createRoot=Tc.createRoot,Xi.hydrateRoot=Tc.hydrateRoot;/** + * @remix-run/router v1.15.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Dn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Vg(){return Math.random().toString(36).substr(2,8)}function $c(e,t){return{usr:e.state,key:e.key,idx:t}}function xl(e,t,n,r){return n===void 0&&(n=null),pe({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Pt(t):t,{state:n,key:t&&t.key||r||Vg()})}function Mn(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Pt(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Hg(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,a=he.Pop,s=null,u=c();u==null&&(u=0,i.replaceState(pe({},i.state,{idx:u}),""));function c(){return(i.state||{idx:null}).idx}function d(){a=he.Pop;let C=c(),h=C==null?null:C-u;u=C,s&&s({action:a,location:x.location,delta:h})}function f(C,h){a=he.Push;let p=xl(x.location,C,h);n&&n(p,C),u=c()+1;let g=$c(p,u),E=x.createHref(p);try{i.pushState(g,"",E)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;l.location.assign(E)}o&&s&&s({action:a,location:x.location,delta:1})}function y(C,h){a=he.Replace;let p=xl(x.location,C,h);n&&n(p,C),u=c();let g=$c(p,u),E=x.createHref(p);i.replaceState(g,"",E),o&&s&&s({action:a,location:x.location,delta:0})}function k(C){let h=l.location.origin!=="null"?l.location.origin:l.location.href,p=typeof C=="string"?C:Mn(C);return p=p.replace(/ $/,"%20"),H(h,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,h)}let x={get action(){return a},get location(){return e(l,i)},listen(C){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(Lc,d),s=C,()=>{l.removeEventListener(Lc,d),s=null}},createHref(C){return t(l,C)},createURL:k,encodeLocation(C){let h=k(C);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:f,replace:y,go(C){return i.go(C)}};return x}var fe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(fe||(fe={}));const Wg=new Set(["lazy","caseSensitive","path","id","index","children"]);function Qg(e){return e.index===!0}function Ba(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((l,o)=>{let i=[...n,o],a=typeof l.id=="string"?l.id:i.join("-");if(H(l.index!==!0||!l.children,"Cannot specify children on an index route"),H(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Qg(l)){let s=pe({},l,t(l),{id:a});return r[a]=s,s}else{let s=pe({},l,t(l),{id:a,children:void 0});return r[a]=s,l.children&&(s.children=Ba(l.children,t,i,r)),s}})}function rr(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Pt(t):t,l=jn(r.pathname||"/",n);if(l==null)return null;let o=kp(e);Kg(o);let i=null;for(let a=0;i==null&&a{let s={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(H(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Dt([r,s.relativePath]),c=n.concat(s);o.children&&o.children.length>0&&(H(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kp(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:ev(u,o.index),routesMeta:c})};return e.forEach((o,i)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))l(o,i);else for(let s of xp(o.path))l(o,i,s)}),t}function xp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=xp(r.join("/")),a=[];return a.push(...i.map(s=>s===""?o:[o,s].join("/"))),l&&a.push(...i),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function Kg(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:tv(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Yg=/^:[\w-]+$/,Xg=3,Zg=2,Gg=1,Jg=10,qg=-2,Nc=e=>e==="*";function ev(e,t){let n=e.split("/"),r=n.length;return n.some(Nc)&&(r+=qg),t&&(r+=Zg),n.filter(l=>!Nc(l)).reduce((l,o)=>l+(Yg.test(o)?Xg:o===""?Gg:Jg),r)}function tv(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function nv(e,t){let{routesMeta:n}=e,r={},l="/",o=[];for(let i=0;i{let{paramName:f,isOptional:y}=c;if(f==="*"){let x=a[d]||"";i=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const k=a[d];return y&&!k?u[f]=void 0:u[f]=(k||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function lv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Dn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,s)=>(r.push({paramName:a,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function ov(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Dn(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function jn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function iv(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Pt(e):e;return{pathname:n?n.startsWith("/")?n:av(n,t):t,search:uv(r),hash:cv(l)}}function av(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function Wi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Sp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Ks(e,t){let n=Sp(e);return t?n.map((r,l)=>l===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Ys(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Pt(e):(l=pe({},e),H(!l.pathname||!l.pathname.includes("?"),Wi("?","pathname","search",l)),H(!l.pathname||!l.pathname.includes("#"),Wi("#","pathname","hash",l)),H(!l.search||!l.search.includes("#"),Wi("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,a;if(i==null)a=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let f=i.split("/");for(;f[0]==="..";)f.shift(),d-=1;l.pathname=f.join("/")}a=d>=0?t[d]:"/"}let s=iv(l,a),u=i&&i!=="/"&&i.endsWith("/"),c=(o||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}const Dt=e=>e.join("/").replace(/\/\/+/g,"/"),sv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),uv=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,cv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Xs{constructor(t,n,r,l){l===void 0&&(l=!1),this.status=t,this.statusText=n||"",this.internal=l,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Ep(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Cp=["post","put","patch","delete"],fv=new Set(Cp),dv=["get",...Cp],pv=new Set(dv),hv=new Set([301,302,303,307,308]),mv=new Set([307,308]),Qi={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gv={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ir={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},_p=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vv=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Rp="remix-router-transitions";function yv(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;H(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(e.mapRouteProperties)l=e.mapRouteProperties;else if(e.detectErrorBoundary){let w=e.detectErrorBoundary;l=S=>({hasErrorBoundary:w(S)})}else l=vv;let o={},i=Ba(e.routes,l,void 0,o),a,s=e.basename||"/",u=pe({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),c=null,d=new Set,f=null,y=null,k=null,x=e.hydrationData!=null,C=rr(i,e.history.location,s),h=null;if(C==null){let w=tt(404,{pathname:e.history.location.pathname}),{matches:S,route:_}=Fc(i);C=S,h={[_.id]:w}}let p,g=C.some(w=>w.route.lazy),E=C.some(w=>w.route.loader);if(g)p=!1;else if(!E)p=!0;else if(u.v7_partialHydration){let w=e.hydrationData?e.hydrationData.loaderData:null,S=e.hydrationData?e.hydrationData.errors:null;p=C.every(_=>_.route.loader&&_.route.loader.hydrate!==!0&&(w&&w[_.route.id]!==void 0||S&&S[_.route.id]!==void 0))}else p=e.hydrationData!=null;let T,v={historyAction:e.history.action,location:e.history.location,matches:C,initialized:p,navigation:Qi,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||h,fetchers:new Map,blockers:new Map},R=he.Pop,L=!1,$,M=!1,V=new Map,ge=null,ve=!1,qe=!1,Un=[],bt=[],oe=new Map,z=0,F=-1,b=new Map,X=new Set,ne=new Map,vt=new Map,Re=new Set,st=new Map,Oe=new Map,Bt=!1;function eh(){if(c=e.history.listen(w=>{let{action:S,location:_,delta:N}=w;if(Bt){Bt=!1;return}Dn(Oe.size===0||N!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let O=vu({currentLocation:v.location,nextLocation:_,historyAction:S});if(O&&N!=null){Bt=!0,e.history.go(N*-1),Dl(O,{state:"blocked",location:_,proceed(){Dl(O,{state:"proceeding",proceed:void 0,reset:void 0,location:_}),e.history.go(N)},reset(){let W=new Map(v.blockers);W.set(O,Ir),We({blockers:W})}});return}return gn(S,_)}),n){Lv(t,V);let w=()=>$v(t,V);t.addEventListener("pagehide",w),ge=()=>t.removeEventListener("pagehide",w)}return v.initialized||gn(he.Pop,v.location,{initialHydration:!0}),T}function th(){c&&c(),ge&&ge(),d.clear(),$&&$.abort(),v.fetchers.forEach((w,S)=>zl(S)),v.blockers.forEach((w,S)=>gu(S))}function nh(w){return d.add(w),()=>d.delete(w)}function We(w,S){S===void 0&&(S={}),v=pe({},v,w);let _=[],N=[];u.v7_fetcherPersist&&v.fetchers.forEach((O,W)=>{O.state==="idle"&&(Re.has(W)?N.push(W):_.push(W))}),[...d].forEach(O=>O(v,{deletedFetchers:N,unstable_viewTransitionOpts:S.viewTransitionOpts,unstable_flushSync:S.flushSync===!0})),u.v7_fetcherPersist&&(_.forEach(O=>v.fetchers.delete(O)),N.forEach(O=>zl(O)))}function _r(w,S,_){var N,O;let{flushSync:W}=_===void 0?{}:_,U=v.actionData!=null&&v.navigation.formMethod!=null&&dt(v.navigation.formMethod)&&v.navigation.state==="loading"&&((N=w.state)==null?void 0:N._isRedirect)!==!0,j;S.actionData?Object.keys(S.actionData).length>0?j=S.actionData:j=null:U?j=v.actionData:j=null;let I=S.loaderData?jc(v.loaderData,S.loaderData,S.matches||[],S.errors):v.loaderData,K=v.blockers;K.size>0&&(K=new Map(K),K.forEach((ee,Pe)=>K.set(Pe,Ir)));let Se=L===!0||v.navigation.formMethod!=null&&dt(v.navigation.formMethod)&&((O=w.state)==null?void 0:O._isRedirect)!==!0;a&&(i=a,a=void 0),ve||R===he.Pop||(R===he.Push?e.history.push(w,w.state):R===he.Replace&&e.history.replace(w,w.state));let B;if(R===he.Pop){let ee=V.get(v.location.pathname);ee&&ee.has(w.pathname)?B={currentLocation:v.location,nextLocation:w}:V.has(w.pathname)&&(B={currentLocation:w,nextLocation:v.location})}else if(M){let ee=V.get(v.location.pathname);ee?ee.add(w.pathname):(ee=new Set([w.pathname]),V.set(v.location.pathname,ee)),B={currentLocation:v.location,nextLocation:w}}We(pe({},S,{actionData:j,loaderData:I,historyAction:R,location:w,initialized:!0,navigation:Qi,revalidation:"idle",restoreScrollPosition:wu(w,S.matches||v.matches),preventScrollReset:Se,blockers:K}),{viewTransitionOpts:B,flushSync:W===!0}),R=he.Pop,L=!1,M=!1,ve=!1,qe=!1,Un=[],bt=[]}async function cu(w,S){if(typeof w=="number"){e.history.go(w);return}let _=Va(v.location,v.matches,s,u.v7_prependBasename,w,u.v7_relativeSplatPath,S?.fromRouteId,S?.relative),{path:N,submission:O,error:W}=zc(u.v7_normalizeFormMethod,!1,_,S),U=v.location,j=xl(v.location,N,S&&S.state);j=pe({},j,e.history.encodeLocation(j));let I=S&&S.replace!=null?S.replace:void 0,K=he.Push;I===!0?K=he.Replace:I===!1||O!=null&&dt(O.formMethod)&&O.formAction===v.location.pathname+v.location.search&&(K=he.Replace);let Se=S&&"preventScrollReset"in S?S.preventScrollReset===!0:void 0,B=(S&&S.unstable_flushSync)===!0,ee=vu({currentLocation:U,nextLocation:j,historyAction:K});if(ee){Dl(ee,{state:"blocked",location:j,proceed(){Dl(ee,{state:"proceeding",proceed:void 0,reset:void 0,location:j}),cu(w,S)},reset(){let Pe=new Map(v.blockers);Pe.set(ee,Ir),We({blockers:Pe})}});return}return await gn(K,j,{submission:O,pendingError:W,preventScrollReset:Se,replace:S&&S.replace,enableViewTransition:S&&S.unstable_viewTransition,flushSync:B})}function rh(){if(pi(),We({revalidation:"loading"}),v.navigation.state!=="submitting"){if(v.navigation.state==="idle"){gn(v.historyAction,v.location,{startUninterruptedRevalidation:!0});return}gn(R||v.historyAction,v.navigation.location,{overrideNavigation:v.navigation})}}async function gn(w,S,_){$&&$.abort(),$=null,R=w,ve=(_&&_.startUninterruptedRevalidation)===!0,dh(v.location,v.matches),L=(_&&_.preventScrollReset)===!0,M=(_&&_.enableViewTransition)===!0;let N=a||i,O=_&&_.overrideNavigation,W=rr(N,S,s),U=(_&&_.flushSync)===!0;if(!W){let Pe=tt(404,{pathname:S.pathname}),{matches:et,route:Ee}=Fc(N);hi(),_r(S,{matches:et,loaderData:{},errors:{[Ee.id]:Pe}},{flushSync:U});return}if(v.initialized&&!qe&&Ev(v.location,S)&&!(_&&_.submission&&dt(_.submission.formMethod))){_r(S,{matches:W},{flushSync:U});return}$=new AbortController;let j=jr(e.history,S,$.signal,_&&_.submission),I,K;if(_&&_.pendingError)K={[tl(W).route.id]:_.pendingError};else if(_&&_.submission&&dt(_.submission.formMethod)){let Pe=await lh(j,S,_.submission,W,{replace:_.replace,flushSync:U});if(Pe.shortCircuited)return;I=Pe.pendingActionData,K=Pe.pendingActionError,O=Ki(S,_.submission),U=!1,j=new Request(j.url,{signal:j.signal})}let{shortCircuited:Se,loaderData:B,errors:ee}=await oh(j,S,W,O,_&&_.submission,_&&_.fetcherSubmission,_&&_.replace,_&&_.initialHydration===!0,U,I,K);Se||($=null,_r(S,pe({matches:W},I?{actionData:I}:{},{loaderData:B,errors:ee})))}async function lh(w,S,_,N,O){O===void 0&&(O={}),pi();let W=Pv(S,_);We({navigation:W},{flushSync:O.flushSync===!0});let U,j=Wa(N,S);if(!j.route.action&&!j.route.lazy)U={type:fe.error,error:tt(405,{method:w.method,pathname:S.pathname,routeId:j.route.id})};else if(U=await Ar("action",w,j,N,o,l,s,u.v7_relativeSplatPath),w.signal.aborted)return{shortCircuited:!0};if(_n(U)){let I;return O&&O.replace!=null?I=O.replace:I=U.location===v.location.pathname+v.location.search,await Rr(v,U,{submission:_,replace:I}),{shortCircuited:!0}}if(lr(U)){let I=tl(N,j.route.id);return(O&&O.replace)!==!0&&(R=he.Push),{pendingActionData:{},pendingActionError:{[I.route.id]:U.error}}}if(Cn(U))throw tt(400,{type:"defer-action"});return{pendingActionData:{[j.route.id]:U.data}}}async function oh(w,S,_,N,O,W,U,j,I,K,Se){let B=N||Ki(S,O),ee=O||W||Bc(B),Pe=a||i,[et,Ee]=Dc(e.history,v,_,ee,S,u.v7_partialHydration&&j===!0,qe,Un,bt,Re,ne,X,Pe,s,K,Se);if(hi(q=>!(_&&_.some(ie=>ie.route.id===q))||et&&et.some(ie=>ie.route.id===q)),F=++z,et.length===0&&Ee.length===0){let q=hu();return _r(S,pe({matches:_,loaderData:{},errors:Se||null},K?{actionData:K}:{},q?{fetchers:new Map(v.fetchers)}:{}),{flushSync:I}),{shortCircuited:!0}}if(!ve&&(!u.v7_partialHydration||!j)){Ee.forEach(ie=>{let yt=v.fetchers.get(ie.key),Ol=Fr(void 0,yt?yt.data:void 0);v.fetchers.set(ie.key,Ol)});let q=K||v.actionData;We(pe({navigation:B},q?Object.keys(q).length===0?{actionData:null}:{actionData:q}:{},Ee.length>0?{fetchers:new Map(v.fetchers)}:{}),{flushSync:I})}Ee.forEach(q=>{oe.has(q.key)&&Ht(q.key),q.controller&&oe.set(q.key,q.controller)});let bn=()=>Ee.forEach(q=>Ht(q.key));$&&$.signal.addEventListener("abort",bn);let{results:mi,loaderResults:Bn,fetcherResults:Wt}=await fu(v.matches,_,et,Ee,w);if(w.signal.aborted)return{shortCircuited:!0};$&&$.signal.removeEventListener("abort",bn),Ee.forEach(q=>oe.delete(q.key));let vn=Uc(mi);if(vn){if(vn.idx>=et.length){let q=Ee[vn.idx-et.length].key;X.add(q)}return await Rr(v,vn.result,{replace:U}),{shortCircuited:!0}}let{loaderData:gi,errors:vi}=Ac(v,_,et,Bn,Se,Ee,Wt,st);st.forEach((q,ie)=>{q.subscribe(yt=>{(yt||q.done)&&st.delete(ie)})});let yi=hu(),Vn=mu(F),Ml=yi||Vn||Ee.length>0;return pe({loaderData:gi,errors:vi},Ml?{fetchers:new Map(v.fetchers)}:{})}function ih(w,S,_,N){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");oe.has(w)&&Ht(w);let O=(N&&N.unstable_flushSync)===!0,W=a||i,U=Va(v.location,v.matches,s,u.v7_prependBasename,_,u.v7_relativeSplatPath,S,N?.relative),j=rr(W,U,s);if(!j){Pr(w,S,tt(404,{pathname:U}),{flushSync:O});return}let{path:I,submission:K,error:Se}=zc(u.v7_normalizeFormMethod,!0,U,N);if(Se){Pr(w,S,Se,{flushSync:O});return}let B=Wa(j,I);if(L=(N&&N.preventScrollReset)===!0,K&&dt(K.formMethod)){ah(w,S,I,B,j,O,K);return}ne.set(w,{routeId:S,path:I}),sh(w,S,I,B,j,O,K)}async function ah(w,S,_,N,O,W,U){if(pi(),ne.delete(w),!N.route.action&&!N.route.lazy){let ie=tt(405,{method:U.formMethod,pathname:_,routeId:S});Pr(w,S,ie,{flushSync:W});return}let j=v.fetchers.get(w);Vt(w,Tv(U,j),{flushSync:W});let I=new AbortController,K=jr(e.history,_,I.signal,U);oe.set(w,I);let Se=z,B=await Ar("action",K,N,O,o,l,s,u.v7_relativeSplatPath);if(K.signal.aborted){oe.get(w)===I&&oe.delete(w);return}if(u.v7_fetcherPersist&&Re.has(w)){if(_n(B)||lr(B)){Vt(w,Kt(void 0));return}}else{if(_n(B))if(oe.delete(w),F>Se){Vt(w,Kt(void 0));return}else return X.add(w),Vt(w,Fr(U)),Rr(v,B,{fetcherSubmission:U});if(lr(B)){Pr(w,S,B.error);return}}if(Cn(B))throw tt(400,{type:"defer-action"});let ee=v.navigation.location||v.location,Pe=jr(e.history,ee,I.signal),et=a||i,Ee=v.navigation.state!=="idle"?rr(et,v.navigation.location,s):v.matches;H(Ee,"Didn't find any matches after fetcher action");let bn=++z;b.set(w,bn);let mi=Fr(U,B.data);v.fetchers.set(w,mi);let[Bn,Wt]=Dc(e.history,v,Ee,U,ee,!1,qe,Un,bt,Re,ne,X,et,s,{[N.route.id]:B.data},void 0);Wt.filter(ie=>ie.key!==w).forEach(ie=>{let yt=ie.key,Ol=v.fetchers.get(yt),hh=Fr(void 0,Ol?Ol.data:void 0);v.fetchers.set(yt,hh),oe.has(yt)&&Ht(yt),ie.controller&&oe.set(yt,ie.controller)}),We({fetchers:new Map(v.fetchers)});let vn=()=>Wt.forEach(ie=>Ht(ie.key));I.signal.addEventListener("abort",vn);let{results:gi,loaderResults:vi,fetcherResults:yi}=await fu(v.matches,Ee,Bn,Wt,Pe);if(I.signal.aborted)return;I.signal.removeEventListener("abort",vn),b.delete(w),oe.delete(w),Wt.forEach(ie=>oe.delete(ie.key));let Vn=Uc(gi);if(Vn){if(Vn.idx>=Bn.length){let ie=Wt[Vn.idx-Bn.length].key;X.add(ie)}return Rr(v,Vn.result)}let{loaderData:Ml,errors:q}=Ac(v,v.matches,Bn,vi,void 0,Wt,yi,st);if(v.fetchers.has(w)){let ie=Kt(B.data);v.fetchers.set(w,ie)}mu(bn),v.navigation.state==="loading"&&bn>F?(H(R,"Expected pending action"),$&&$.abort(),_r(v.navigation.location,{matches:Ee,loaderData:Ml,errors:q,fetchers:new Map(v.fetchers)})):(We({errors:q,loaderData:jc(v.loaderData,Ml,Ee,q),fetchers:new Map(v.fetchers)}),qe=!1)}async function sh(w,S,_,N,O,W,U){let j=v.fetchers.get(w);Vt(w,Fr(U,j?j.data:void 0),{flushSync:W});let I=new AbortController,K=jr(e.history,_,I.signal);oe.set(w,I);let Se=z,B=await Ar("loader",K,N,O,o,l,s,u.v7_relativeSplatPath);if(Cn(B)&&(B=await Lp(B,K.signal,!0)||B),oe.get(w)===I&&oe.delete(w),!K.signal.aborted){if(Re.has(w)){Vt(w,Kt(void 0));return}if(_n(B))if(F>Se){Vt(w,Kt(void 0));return}else{X.add(w),await Rr(v,B);return}if(lr(B)){Pr(w,S,B.error);return}H(!Cn(B),"Unhandled fetcher deferred data"),Vt(w,Kt(B.data))}}async function Rr(w,S,_){let{submission:N,fetcherSubmission:O,replace:W}=_===void 0?{}:_;S.revalidate&&(qe=!0);let U=xl(w.location,S.location,{_isRedirect:!0});if(H(U,"Expected a location on the redirect navigation"),n){let ee=!1;if(S.reloadDocument)ee=!0;else if(_p.test(S.location)){const Pe=e.history.createURL(S.location);ee=Pe.origin!==t.location.origin||jn(Pe.pathname,s)==null}if(ee){W?t.location.replace(S.location):t.location.assign(S.location);return}}$=null;let j=W===!0?he.Replace:he.Push,{formMethod:I,formAction:K,formEncType:Se}=w.navigation;!N&&!O&&I&&K&&Se&&(N=Bc(w.navigation));let B=N||O;if(mv.has(S.status)&&B&&dt(B.formMethod))await gn(j,U,{submission:pe({},B,{formAction:S.location}),preventScrollReset:L});else{let ee=Ki(U,N);await gn(j,U,{overrideNavigation:ee,fetcherSubmission:O,preventScrollReset:L})}}async function fu(w,S,_,N,O){let W=await Promise.all([..._.map(I=>Ar("loader",O,I,S,o,l,s,u.v7_relativeSplatPath)),...N.map(I=>I.matches&&I.match&&I.controller?Ar("loader",jr(e.history,I.path,I.controller.signal),I.match,I.matches,o,l,s,u.v7_relativeSplatPath):{type:fe.error,error:tt(404,{pathname:I.path})})]),U=W.slice(0,_.length),j=W.slice(_.length);return await Promise.all([bc(w,_,U,U.map(()=>O.signal),!1,v.loaderData),bc(w,N.map(I=>I.match),j,N.map(I=>I.controller?I.controller.signal:null),!0)]),{results:W,loaderResults:U,fetcherResults:j}}function pi(){qe=!0,Un.push(...hi()),ne.forEach((w,S)=>{oe.has(S)&&(bt.push(S),Ht(S))})}function Vt(w,S,_){_===void 0&&(_={}),v.fetchers.set(w,S),We({fetchers:new Map(v.fetchers)},{flushSync:(_&&_.flushSync)===!0})}function Pr(w,S,_,N){N===void 0&&(N={});let O=tl(v.matches,S);zl(w),We({errors:{[O.route.id]:_},fetchers:new Map(v.fetchers)},{flushSync:(N&&N.flushSync)===!0})}function du(w){return u.v7_fetcherPersist&&(vt.set(w,(vt.get(w)||0)+1),Re.has(w)&&Re.delete(w)),v.fetchers.get(w)||gv}function zl(w){let S=v.fetchers.get(w);oe.has(w)&&!(S&&S.state==="loading"&&b.has(w))&&Ht(w),ne.delete(w),b.delete(w),X.delete(w),Re.delete(w),v.fetchers.delete(w)}function uh(w){if(u.v7_fetcherPersist){let S=(vt.get(w)||0)-1;S<=0?(vt.delete(w),Re.add(w)):vt.set(w,S)}else zl(w);We({fetchers:new Map(v.fetchers)})}function Ht(w){let S=oe.get(w);H(S,"Expected fetch controller: "+w),S.abort(),oe.delete(w)}function pu(w){for(let S of w){let _=du(S),N=Kt(_.data);v.fetchers.set(S,N)}}function hu(){let w=[],S=!1;for(let _ of X){let N=v.fetchers.get(_);H(N,"Expected fetcher: "+_),N.state==="loading"&&(X.delete(_),w.push(_),S=!0)}return pu(w),S}function mu(w){let S=[];for(let[_,N]of b)if(N0}function ch(w,S){let _=v.blockers.get(w)||Ir;return Oe.get(w)!==S&&Oe.set(w,S),_}function gu(w){v.blockers.delete(w),Oe.delete(w)}function Dl(w,S){let _=v.blockers.get(w)||Ir;H(_.state==="unblocked"&&S.state==="blocked"||_.state==="blocked"&&S.state==="blocked"||_.state==="blocked"&&S.state==="proceeding"||_.state==="blocked"&&S.state==="unblocked"||_.state==="proceeding"&&S.state==="unblocked","Invalid blocker state transition: "+_.state+" -> "+S.state);let N=new Map(v.blockers);N.set(w,S),We({blockers:N})}function vu(w){let{currentLocation:S,nextLocation:_,historyAction:N}=w;if(Oe.size===0)return;Oe.size>1&&Dn(!1,"A router only supports one blocker at a time");let O=Array.from(Oe.entries()),[W,U]=O[O.length-1],j=v.blockers.get(W);if(!(j&&j.state==="proceeding")&&U({currentLocation:S,nextLocation:_,historyAction:N}))return W}function hi(w){let S=[];return st.forEach((_,N)=>{(!w||w(N))&&(_.cancel(),S.push(N),st.delete(N))}),S}function fh(w,S,_){if(f=w,k=S,y=_||null,!x&&v.navigation===Qi){x=!0;let N=wu(v.location,v.matches);N!=null&&We({restoreScrollPosition:N})}return()=>{f=null,k=null,y=null}}function yu(w,S){return y&&y(w,S.map(N=>wp(N,v.loaderData)))||w.key}function dh(w,S){if(f&&k){let _=yu(w,S);f[_]=k()}}function wu(w,S){if(f){let _=yu(w,S),N=f[_];if(typeof N=="number")return N}return null}function ph(w){o={},a=Ba(w,l,void 0,o)}return T={get basename(){return s},get future(){return u},get state(){return v},get routes(){return i},get window(){return t},initialize:eh,subscribe:nh,enableScrollRestoration:fh,navigate:cu,fetch:ih,revalidate:rh,createHref:w=>e.history.createHref(w),encodeLocation:w=>e.history.encodeLocation(w),getFetcher:du,deleteFetcher:uh,dispose:th,getBlocker:ch,deleteBlocker:gu,_internalFetchControllers:oe,_internalActiveDeferreds:st,_internalSetRoutes:ph},T}function wv(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Va(e,t,n,r,l,o,i,a){let s,u;if(i){s=[];for(let d of t)if(s.push(d),d.route.id===i){u=d;break}}else s=t,u=t[t.length-1];let c=Ys(l||".",Ks(s,o),jn(e.pathname,n)||e.pathname,a==="path");return l==null&&(c.search=e.search,c.hash=e.hash),(l==null||l===""||l===".")&&u&&u.route.index&&!Zs(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Dt([n,c.pathname])),Mn(c)}function zc(e,t,n,r){if(!r||!wv(r))return{path:n};if(r.formMethod&&!Rv(r.formMethod))return{path:n,error:tt(405,{method:r.formMethod})};let l=()=>({path:n,error:tt(400,{type:"invalid-body"})}),o=r.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),a=Tp(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!dt(i))return l();let f=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,k)=>{let[x,C]=k;return""+y+x+"="+C+` +`},""):String(r.body);return{path:n,submission:{formMethod:i,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:f}}}else if(r.formEncType==="application/json"){if(!dt(i))return l();try{let f=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:i,formAction:a,formEncType:r.formEncType,formData:void 0,json:f,text:void 0}}}catch{return l()}}}H(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=Ha(r.formData),u=r.formData;else if(r.body instanceof FormData)s=Ha(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=Ic(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=Ic(s)}catch{return l()}let c={formMethod:i,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(dt(c.formMethod))return{path:n,submission:c};let d=Pt(n);return t&&d.search&&Zs(d.search)&&s.append("index",""),d.search="?"+s,{path:Mn(d),submission:c}}function kv(e,t){let n=e;if(t){let r=e.findIndex(l=>l.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Dc(e,t,n,r,l,o,i,a,s,u,c,d,f,y,k,x){let C=x?Object.values(x)[0]:k?Object.values(k)[0]:void 0,h=e.createURL(t.location),p=e.createURL(l),g=x?Object.keys(x)[0]:void 0,T=kv(n,g).filter((R,L)=>{let{route:$}=R;if($.lazy)return!0;if($.loader==null)return!1;if(o)return $.loader.hydrate?!0:t.loaderData[$.id]===void 0&&(!t.errors||t.errors[$.id]===void 0);if(xv(t.loaderData,t.matches[L],R)||a.some(ge=>ge===R.route.id))return!0;let M=t.matches[L],V=R;return Mc(R,pe({currentUrl:h,currentParams:M.params,nextUrl:p,nextParams:V.params},r,{actionResult:C,defaultShouldRevalidate:i||h.pathname+h.search===p.pathname+p.search||h.search!==p.search||Pp(M,V)}))}),v=[];return c.forEach((R,L)=>{if(o||!n.some(ve=>ve.route.id===R.routeId)||u.has(L))return;let $=rr(f,R.path,y);if(!$){v.push({key:L,routeId:R.routeId,path:R.path,matches:null,match:null,controller:null});return}let M=t.fetchers.get(L),V=Wa($,R.path),ge=!1;d.has(L)?ge=!1:s.includes(L)?ge=!0:M&&M.state!=="idle"&&M.data===void 0?ge=i:ge=Mc(V,pe({currentUrl:h,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:C,defaultShouldRevalidate:i})),ge&&v.push({key:L,routeId:R.routeId,path:R.path,matches:$,match:V,controller:new AbortController})}),[T,v]}function xv(e,t,n){let r=!t||n.route.id!==t.route.id,l=e[n.route.id]===void 0;return r||l}function Pp(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Mc(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Oc(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let l=n[e.id];H(l,"No route found in manifest");let o={};for(let i in r){let s=l[i]!==void 0&&i!=="hasErrorBoundary";Dn(!s,'Route "'+l.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!s&&!Wg.has(i)&&(o[i]=r[i])}Object.assign(l,o),Object.assign(l,pe({},t(l),{lazy:void 0}))}async function Ar(e,t,n,r,l,o,i,a,s){s===void 0&&(s={});let u,c,d,f=x=>{let C,h=new Promise((p,g)=>C=g);return d=()=>C(),t.signal.addEventListener("abort",d),Promise.race([x({request:t,params:n.params,context:s.requestContext}),h])};try{let x=n.route[e];if(n.route.lazy)if(x){let C,h=await Promise.all([f(x).catch(p=>{C=p}),Oc(n.route,o,l)]);if(C)throw C;c=h[0]}else if(await Oc(n.route,o,l),x=n.route[e],x)c=await f(x);else if(e==="action"){let C=new URL(t.url),h=C.pathname+C.search;throw tt(405,{method:t.method,pathname:h,routeId:n.route.id})}else return{type:fe.data,data:void 0};else if(x)c=await f(x);else{let C=new URL(t.url),h=C.pathname+C.search;throw tt(404,{pathname:h})}H(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(x){u=fe.error,c=x}finally{d&&t.signal.removeEventListener("abort",d)}if(_v(c)){let x=c.status;if(hv.has(x)){let h=c.headers.get("Location");if(H(h,"Redirects returned/thrown from loaders/actions must have a Location header"),!_p.test(h))h=Va(new URL(t.url),r.slice(0,r.indexOf(n)+1),i,!0,h,a);else if(!s.isStaticRequest){let p=new URL(t.url),g=h.startsWith("//")?new URL(p.protocol+h):new URL(h),E=jn(g.pathname,i)!=null;g.origin===p.origin&&E&&(h=g.pathname+g.search+g.hash)}if(s.isStaticRequest)throw c.headers.set("Location",h),c;return{type:fe.redirect,status:x,location:h,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(s.isRouteRequest)throw{type:u===fe.error?fe.error:fe.data,response:c};let C;try{let h=c.headers.get("Content-Type");h&&/\bapplication\/json\b/.test(h)?c.body==null?C=null:C=await c.json():C=await c.text()}catch(h){return{type:fe.error,error:h}}return u===fe.error?{type:u,error:new Xs(x,c.statusText,C),headers:c.headers}:{type:fe.data,data:C,statusCode:c.status,headers:c.headers}}if(u===fe.error)return{type:u,error:c};if(Cv(c)){var y,k;return{type:fe.deferred,deferredData:c,statusCode:(y=c.init)==null?void 0:y.status,headers:((k=c.init)==null?void 0:k.headers)&&new Headers(c.init.headers)}}return{type:fe.data,data:c}}function jr(e,t,n,r){let l=e.createURL(Tp(t)).toString(),o={signal:n};if(r&&dt(r.formMethod)){let{formMethod:i,formEncType:a}=r;o.method=i.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=Ha(r.formData):o.body=r.formData}return new Request(l,o)}function Ha(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Ic(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Sv(e,t,n,r,l){let o={},i=null,a,s=!1,u={};return n.forEach((c,d)=>{let f=t[d].route.id;if(H(!_n(c),"Cannot handle redirect results in processLoaderData"),lr(c)){let y=tl(e,f),k=c.error;r&&(k=Object.values(r)[0],r=void 0),i=i||{},i[y.route.id]==null&&(i[y.route.id]=k),o[f]=void 0,s||(s=!0,a=Ep(c.error)?c.error.status:500),c.headers&&(u[f]=c.headers)}else Cn(c)?(l.set(f,c.deferredData),o[f]=c.deferredData.data):o[f]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(a=c.statusCode),c.headers&&(u[f]=c.headers)}),r&&(i=r,o[Object.keys(r)[0]]=void 0),{loaderData:o,errors:i,statusCode:a||200,loaderHeaders:u}}function Ac(e,t,n,r,l,o,i,a){let{loaderData:s,errors:u}=Sv(t,n,r,l,a);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Fc(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function tt(e,t){let{pathname:n,routeId:r,method:l,type:o}=t===void 0?{}:t,i="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(i="Bad Request",l&&n&&r?a="You made a "+l+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?a="defer() is not supported in actions":o==="invalid-body"&&(a="Unable to encode submission body")):e===403?(i="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(i="Not Found",a='No route matches URL "'+n+'"'):e===405&&(i="Method Not Allowed",l&&n&&r?a="You made a "+l.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":l&&(a='Invalid request method "'+l.toUpperCase()+'"')),new Xs(e||500,i,new Error(a),!0)}function Uc(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(_n(n))return{result:n,idx:t}}}function Tp(e){let t=typeof e=="string"?Pt(e):e;return Mn(pe({},t,{hash:""}))}function Ev(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Cn(e){return e.type===fe.deferred}function lr(e){return e.type===fe.error}function _n(e){return(e&&e.type)===fe.redirect}function Cv(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function _v(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Rv(e){return pv.has(e.toLowerCase())}function dt(e){return fv.has(e.toLowerCase())}async function bc(e,t,n,r,l,o){for(let i=0;id.route.id===s.route.id),c=u!=null&&!Pp(u,s)&&(o&&o[s.route.id])!==void 0;if(Cn(a)&&(l||c)){let d=r[i];H(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await Lp(a,d,l).then(f=>{f&&(n[i]=f||n[i])})}}}async function Lp(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:fe.data,data:e.deferredData.unwrappedData}}catch(l){return{type:fe.error,error:l}}return{type:fe.data,data:e.deferredData.data}}}function Zs(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Wa(e,t){let n=typeof t=="string"?Pt(t).search:t.search;if(e[e.length-1].route.index&&Zs(n||""))return e[e.length-1];let r=Sp(e);return r[r.length-1]}function Bc(e){let{formMethod:t,formAction:n,formEncType:r,text:l,formData:o,json:i}=e;if(!(!t||!n||!r)){if(l!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:l};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:i,text:void 0}}}function Ki(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Pv(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Fr(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Tv(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Kt(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Lv(e,t){try{let n=e.sessionStorage.getItem(Rp);if(n){let r=JSON.parse(n);for(let[l,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(l,new Set(o||[]))}}catch{}}function $v(e,t){if(t.size>0){let n={};for(let[r,l]of t)n[r]=[...l];try{e.sessionStorage.setItem(Rp,JSON.stringify(n))}catch(r){Dn(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.22.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),m.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Ys(u,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Dt([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,i,o,e])}const Mv=m.createContext(null);function Ov(e){let t=m.useContext(mn).outlet;return t&&m.createElement(Mv.Provider,{value:e},t)}function zp(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=m.useContext(hn),{matches:l}=m.useContext(mn),{pathname:o}=Er(),i=JSON.stringify(Ks(l,r.v7_relativeSplatPath));return m.useMemo(()=>Ys(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function Iv(e,t,n,r){Ll()||H(!1);let{navigator:l}=m.useContext(hn),{matches:o}=m.useContext(mn),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let u=Er(),c;if(t){var d;let C=typeof t=="string"?Pt(t):t;s==="/"||(d=C.pathname)!=null&&d.startsWith(s)||H(!1),c=C}else c=u;let f=c.pathname||"/",y=f;if(s!=="/"){let C=s.replace(/^\//,"").split("/");y="/"+f.replace(/^\//,"").split("/").slice(C.length).join("/")}let k=rr(e,{pathname:y}),x=bv(k&&k.map(C=>Object.assign({},C,{params:Object.assign({},a,C.params),pathname:Dt([s,l.encodeLocation?l.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?s:Dt([s,l.encodeLocation?l.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),o,n,r);return t&&x?m.createElement(ui.Provider,{value:{location:Sl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:he.Pop}},x):x}function Av(){let e=Qv(),t=Ep(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},t),n?m.createElement("pre",{style:l},n):null,null)}const jv=m.createElement(Av,null);class Fv extends m.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?m.createElement(mn.Provider,{value:this.props.routeContext},m.createElement($p.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Uv(e){let{routeContext:t,match:n,children:r}=e,l=m.useContext(Tl);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),m.createElement(mn.Provider,{value:t},r)}function bv(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let c=i.findIndex(d=>d.route.id&&a?.[d.route.id]);c>=0||H(!1),i=i.slice(0,Math.min(i.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((c,d,f)=>{let y,k=!1,x=null,C=null;n&&(y=a&&d.route.id?a[d.route.id]:void 0,x=d.route.errorElement||jv,s&&(u<0&&f===0?(Yv("route-fallback",!1),k=!0,C=null):u===f&&(k=!0,C=d.route.hydrateFallbackElement||null)));let h=t.concat(i.slice(0,f+1)),p=()=>{let g;return y?g=x:k?g=C:d.route.Component?g=m.createElement(d.route.Component,null):d.route.element?g=d.route.element:g=c,m.createElement(Uv,{match:d,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:g})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?m.createElement(Fv,{location:n.location,revalidation:n.revalidation,component:x,error:y,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var Dp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Dp||{}),yr=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yr||{});function Bv(e){let t=m.useContext(Tl);return t||H(!1),t}function Js(e){let t=m.useContext(Gs);return t||H(!1),t}function Vv(e){let t=m.useContext(mn);return t||H(!1),t}function Mp(e){let t=Vv(),n=t.matches[t.matches.length-1];return n.route.id||H(!1),n.route.id}function Hv(){return Js(yr.UseNavigation).navigation}function Wv(){let{matches:e,loaderData:t}=Js(yr.UseMatches);return m.useMemo(()=>e.map(n=>wp(n,t)),[e,t])}function Qv(){var e;let t=m.useContext($p),n=Js(yr.UseRouteError),r=Mp(yr.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Kv(){let{router:e}=Bv(Dp.UseNavigateStable),t=Mp(yr.UseNavigateStable),n=m.useRef(!1);return Np(()=>{n.current=!0}),m.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Sl({fromRouteId:t},o)))},[e,t])}const Vc={};function Yv(e,t,n){!t&&!Vc[e]&&(Vc[e]=!0)}function Xv(e){return Ov(e.context)}function Zv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=he.Pop,navigator:o,static:i=!1,future:a}=e;Ll()&&H(!1);let s=t.replace(/^\/*/,"/"),u=m.useMemo(()=>({basename:s,navigator:o,static:i,future:Sl({v7_relativeSplatPath:!1},a)}),[s,a,o,i]);typeof r=="string"&&(r=Pt(r));let{pathname:c="/",search:d="",hash:f="",state:y=null,key:k="default"}=r,x=m.useMemo(()=>{let C=jn(c,s);return C==null?null:{location:{pathname:C,search:d,hash:f,state:y,key:k},navigationType:l}},[s,c,d,f,y,k,l]);return x==null?null:m.createElement(hn.Provider,{value:u},m.createElement(ui.Provider,{children:n,value:x}))}new Promise(()=>{});function Gv(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:m.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:m.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:m.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.22.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function qv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function e0(e,t){return e.button===0&&(!t||t==="_self")&&!qv(e)}const t0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],n0="6";try{window.__reactRouterVersion=n0}catch{}function r0(e,t){return yv({basename:t?.basename,future:wr({},t?.future,{v7_prependBasename:!0}),history:Bg({window:t?.window}),hydrationData:t?.hydrationData||l0(),routes:e,mapRouteProperties:Gv,window:t?.window}).initialize()}function l0(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=wr({},t,{errors:o0(t.errors)})),t}function o0(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,l]of t)if(l&&l.__type==="RouteErrorResponse")n[r]=new Xs(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let o=window[l.__subType];if(typeof o=="function")try{let i=new o(l.message);i.stack="",n[r]=i}catch{}}if(n[r]==null){let o=new Error(l.message);o.stack="",n[r]=o}}else n[r]=l;return n}const i0=m.createContext({isTransitioning:!1}),a0=m.createContext(new Map),s0="startTransition",Hc=$h[s0],u0="flushSync",Wc=bg[u0];function c0(e){Hc?Hc(e):e()}function Ur(e){Wc?Wc(e):e()}class f0{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function d0(e){let{fallbackElement:t,router:n,future:r}=e,[l,o]=m.useState(n.state),[i,a]=m.useState(),[s,u]=m.useState({isTransitioning:!1}),[c,d]=m.useState(),[f,y]=m.useState(),[k,x]=m.useState(),C=m.useRef(new Map),{v7_startTransition:h}=r||{},p=m.useCallback(R=>{h?c0(R):R()},[h]),g=m.useCallback((R,L)=>{let{deletedFetchers:$,unstable_flushSync:M,unstable_viewTransitionOpts:V}=L;$.forEach(ve=>C.current.delete(ve)),R.fetchers.forEach((ve,qe)=>{ve.data!==void 0&&C.current.set(qe,ve.data)});let ge=n.window==null||typeof n.window.document.startViewTransition!="function";if(!V||ge){M?Ur(()=>o(R)):p(()=>o(R));return}if(M){Ur(()=>{f&&(c&&c.resolve(),f.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:V.currentLocation,nextLocation:V.nextLocation})});let ve=n.window.document.startViewTransition(()=>{Ur(()=>o(R))});ve.finished.finally(()=>{Ur(()=>{d(void 0),y(void 0),a(void 0),u({isTransitioning:!1})})}),Ur(()=>y(ve));return}f?(c&&c.resolve(),f.skipTransition(),x({state:R,currentLocation:V.currentLocation,nextLocation:V.nextLocation})):(a(R),u({isTransitioning:!0,flushSync:!1,currentLocation:V.currentLocation,nextLocation:V.nextLocation}))},[n.window,f,c,C,p]);m.useLayoutEffect(()=>n.subscribe(g),[n,g]),m.useEffect(()=>{s.isTransitioning&&!s.flushSync&&d(new f0)},[s]),m.useEffect(()=>{if(c&&i&&n.window){let R=i,L=c.promise,$=n.window.document.startViewTransition(async()=>{p(()=>o(R)),await L});$.finished.finally(()=>{d(void 0),y(void 0),a(void 0),u({isTransitioning:!1})}),y($)}},[p,i,c,n.window]),m.useEffect(()=>{c&&i&&l.location.key===i.location.key&&c.resolve()},[c,f,l.location,i]),m.useEffect(()=>{!s.isTransitioning&&k&&(a(k.state),u({isTransitioning:!0,flushSync:!1,currentLocation:k.currentLocation,nextLocation:k.nextLocation}),x(void 0))},[s.isTransitioning,k]),m.useEffect(()=>{},[]);let E=m.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:R=>n.navigate(R),push:(R,L,$)=>n.navigate(R,{state:L,preventScrollReset:$?.preventScrollReset}),replace:(R,L,$)=>n.navigate(R,{replace:!0,state:L,preventScrollReset:$?.preventScrollReset})}),[n]),T=n.basename||"/",v=m.useMemo(()=>({router:n,navigator:E,static:!1,basename:T}),[n,E,T]);return m.createElement(m.Fragment,null,m.createElement(Tl.Provider,{value:v},m.createElement(Gs.Provider,{value:l},m.createElement(a0.Provider,{value:C.current},m.createElement(i0.Provider,{value:s},m.createElement(Zv,{basename:T,location:l.location,navigationType:l.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},l.initialized||n.future.v7_partialHydration?m.createElement(p0,{routes:n.routes,future:n.future,state:l}):t))))),null)}function p0(e){let{routes:t,future:n,state:r}=e;return Iv(t,void 0,r,n)}const h0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",m0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,g0=m.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:a,target:s,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,f=Jv(t,t0),{basename:y}=m.useContext(hn),k,x=!1;if(typeof u=="string"&&m0.test(u)&&(k=u,h0))try{let g=new URL(window.location.href),E=u.startsWith("//")?new URL(g.protocol+u):new URL(u),T=jn(E.pathname,y);E.origin===g.origin&&T!=null?u=T+E.search+E.hash:x=!0}catch{}let C=Nv(u,{relative:l}),h=k0(u,{replace:i,state:a,target:s,preventScrollReset:c,relative:l,unstable_viewTransition:d});function p(g){r&&r(g),g.defaultPrevented||h(g)}return m.createElement("a",wr({},f,{href:k||C,onClick:x||o?r:p,ref:n,target:s}))});function v0(e){let{getKey:t,storageKey:n}=e;return x0({getKey:t,storageKey:n}),null}var Qa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Qa||(Qa={}));var Ka;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ka||(Ka={}));function y0(e){let t=m.useContext(Tl);return t||H(!1),t}function w0(e){let t=m.useContext(Gs);return t||H(!1),t}function k0(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:a}=t===void 0?{}:t,s=zv(),u=Er(),c=zp(e,{relative:i});return m.useCallback(d=>{if(e0(d,n)){d.preventDefault();let f=r!==void 0?r:Mn(u)===Mn(c);s(e,{replace:f,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:a})}},[u,s,c,r,l,n,e,o,i,a])}const Qc="react-router-scroll-positions";let ql={};function x0(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=y0(Qa.UseScrollRestoration),{restoreScrollPosition:l,preventScrollReset:o}=w0(Ka.UseScrollRestoration),{basename:i}=m.useContext(hn),a=Er(),s=Wv(),u=Hv();m.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),S0(m.useCallback(()=>{if(u.state==="idle"){let c=(t?t(a,s):null)||a.key;ql[c]=window.scrollY}try{sessionStorage.setItem(n||Qc,JSON.stringify(ql))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,a,s])),typeof document<"u"&&(m.useLayoutEffect(()=>{try{let c=sessionStorage.getItem(n||Qc);c&&(ql=JSON.parse(c))}catch{}},[n]),m.useLayoutEffect(()=>{let c=t&&i!=="/"?(f,y)=>t(wr({},f,{pathname:jn(f.pathname,i)||f.pathname}),y):t,d=r?.enableScrollRestoration(ql,()=>window.scrollY,c);return()=>d&&d()},[r,i,t]),m.useLayoutEffect(()=>{if(l!==!1){if(typeof l=="number"){window.scrollTo(0,l);return}if(a.hash){let c=document.getElementById(decodeURIComponent(a.hash.slice(1)));if(c){c.scrollIntoView();return}}o!==!0&&window.scrollTo(0,0)}},[a,l,o]))}function S0(e,t){let{capture:n}=t||{};m.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}const E0=m.createContext(null),Yi={didCatch:!1,error:null};class C0 extends m.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Yi}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,r,l=arguments.length,o=new Array(l),i=0;i0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}const R0="modulepreload",P0=function(e,t){return new URL(e,t).href},Kc={},kt=function(t,n,r){let l=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");l=Promise.all(n.map(i=>{if(i=P0(i,r),i in Kc)return;Kc[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let d=o.length-1;d>=0;d--){const f=o[d];if(f.href===i&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":R0,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((d,f)=>{c.addEventListener("load",d),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})}))}return l.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};function qs(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Fn=qs();function Op(e){Fn=e}const Ip=/[&<>"']/,T0=new RegExp(Ip.source,"g"),Ap=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,L0=new RegExp(Ap.source,"g"),$0={"&":"&","<":"<",">":">",'"':""","'":"'"},Yc=e=>$0[e];function Ke(e,t){if(t){if(Ip.test(e))return e.replace(T0,Yc)}else if(Ap.test(e))return e.replace(L0,Yc);return e}const N0=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function z0(e){return e.replace(N0,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const D0=/(^|[^\[])\^/g;function J(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(l,o)=>{let i=typeof o=="string"?o:o.source;return i=i.replace(D0,"$1"),n=n.replace(l,i),r},getRegex:()=>new RegExp(n,t)};return r}function Xc(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const nl={exec:()=>null};function Zc(e,t){const n=e.replace(/\|/g,(o,i,a)=>{let s=!1,u=i;for(;--u>=0&&a[u]==="\\";)s=!s;return s?"|":" |"}),r=n.split(/ \|/);let l=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length{const o=l.match(/^\s+/);if(o===null)return l;const[i]=o;return i.length>=r.length?l.slice(r.length):l}).join(` +`)}class bo{options;rules;lexer;constructor(t){this.options=t||Fn}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:eo(r,` +`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],l=O0(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:l}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const l=eo(r,"#");(this.options.pedantic||!l||/ $/.test(l))&&(r=l.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const r=eo(n[0].replace(/^ *>[ \t]?/gm,""),` +`),l=this.lexer.state.top;this.lexer.state.top=!0;const o=this.lexer.blockTokens(r);return this.lexer.state.top=l,{type:"blockquote",raw:n[0],tokens:o,text:r}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r=n[1].trim();const l=r.length>1,o={type:"list",raw:"",ordered:l,start:l?+r.slice(0,-1):"",loose:!1,items:[]};r=l?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=l?r:"[*+-]");const i=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`);let a="",s="",u=!1;for(;t;){let c=!1;if(!(n=i.exec(t))||this.rules.block.hr.test(t))break;a=n[0],t=t.substring(a.length);let d=n[2].split(` +`,1)[0].replace(/^\t+/,h=>" ".repeat(3*h.length)),f=t.split(` +`,1)[0],y=0;this.options.pedantic?(y=2,s=d.trimStart()):(y=n[2].search(/[^ ]/),y=y>4?1:y,s=d.slice(y),y+=n[1].length);let k=!1;if(!d&&/^ *$/.test(f)&&(a+=f+` +`,t=t.substring(f.length+1),c=!0),!c){const h=new RegExp(`^ {0,${Math.min(3,y-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),p=new RegExp(`^ {0,${Math.min(3,y-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),g=new RegExp(`^ {0,${Math.min(3,y-1)}}(?:\`\`\`|~~~)`),E=new RegExp(`^ {0,${Math.min(3,y-1)}}#`);for(;t;){const T=t.split(` +`,1)[0];if(f=T,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),g.test(f)||E.test(f)||h.test(f)||p.test(t))break;if(f.search(/[^ ]/)>=y||!f.trim())s+=` +`+f.slice(y);else{if(k||d.search(/[^ ]/)>=4||g.test(d)||E.test(d)||p.test(d))break;s+=` +`+f}!k&&!f.trim()&&(k=!0),a+=T+` +`,t=t.substring(T.length+1),d=f.slice(y)}}o.loose||(u?o.loose=!0:/\n *\n *$/.test(a)&&(u=!0));let x=null,C;this.options.gfm&&(x=/^\[[ xX]\] /.exec(s),x&&(C=x[0]!=="[ ] ",s=s.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:a,task:!!x,checked:C,loose:!1,text:s,tokens:[]}),o.raw+=a}o.items[o.items.length-1].raw=a.trimEnd(),o.items[o.items.length-1].text=s.trimEnd(),o.raw=o.raw.trimEnd();for(let c=0;cy.type==="space"),f=d.length>0&&d.some(y=>/\n.*\n/.test(y.raw));o.loose=f}if(o.loose)for(let c=0;c$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:l,title:o}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=Zc(n[1]),l=n[2].replace(/^\||\| *$/g,"").split("|"),o=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` +`):[],i={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===l.length){for(const a of l)/^ *-+: *$/.test(a)?i.align.push("right"):/^ *:-+: *$/.test(a)?i.align.push("center"):/^ *:-+ *$/.test(a)?i.align.push("left"):i.align.push(null);for(const a of r)i.header.push({text:a,tokens:this.lexer.inline(a)});for(const a of o)i.rows.push(Zc(a,i.header.length).map(s=>({text:s,tokens:this.lexer.inline(s)})));return i}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===` +`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:Ke(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;const i=eo(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{const i=M0(n[2],"()");if(i>-1){const s=(n[0].indexOf("!")===0?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,s).trim(),n[3]=""}}let l=n[2],o="";if(this.options.pedantic){const i=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);i&&(l=i[1],o=i[3])}else o=n[3]?n[3].slice(1,-1):"";return l=l.trim(),/^$/.test(r)?l=l.slice(1):l=l.slice(1,-1)),Gc(n,{href:l&&l.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const l=(r[2]||r[1]).replace(/\s+/g," "),o=n[l.toLowerCase()];if(!o){const i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return Gc(r,o,r[0],this.lexer)}}emStrong(t,n,r=""){let l=this.rules.inline.emStrongLDelim.exec(t);if(!l||l[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(l[1]||l[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const i=[...l[0]].length-1;let a,s,u=i,c=0;const d=l[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,n=n.slice(-1*t.length+i);(l=d.exec(n))!=null;){if(a=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!a)continue;if(s=[...a].length,l[3]||l[4]){u+=s;continue}else if((l[5]||l[6])&&i%3&&!((i+s)%3)){c+=s;continue}if(u-=s,u>0)continue;s=Math.min(s,s+u+c);const f=[...l[0]][0].length,y=t.slice(0,i+l.index+f+s);if(Math.min(i,s)%2){const x=y.slice(1,-1);return{type:"em",raw:y,text:x,tokens:this.lexer.inlineTokens(x)}}const k=y.slice(2,-2);return{type:"strong",raw:y,text:k,tokens:this.lexer.inlineTokens(k)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const l=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return l&&o&&(r=r.substring(1,r.length-1)),r=Ke(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,l;return n[2]==="@"?(r=Ke(n[1]),l="mailto:"+r):(r=Ke(n[1]),l=r),{type:"link",raw:n[0],text:r,href:l,tokens:[{type:"text",raw:r,text:r}]}}}url(t){let n;if(n=this.rules.inline.url.exec(t)){let r,l;if(n[2]==="@")r=Ke(n[0]),l="mailto:"+r;else{let o;do o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??"";while(o!==n[0]);r=Ke(n[0]),n[1]==="www."?l="http://"+n[0]:l=n[0]}return{type:"link",raw:n[0],text:r,href:l,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=Ke(n[0]),{type:"text",raw:n[0],text:r}}}}const I0=/^(?: *(?:\n|$))+/,A0=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,j0=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,$l=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,F0=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,jp=/(?:[*+-]|\d{1,9}[.)])/,Fp=J(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,jp).getRegex(),eu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,U0=/^[^\n]+/,tu=/(?!\s*\])(?:\\.|[^\[\]\\])+/,b0=J(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",tu).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),B0=J(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,jp).getRegex(),ci="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",nu=/|$))/,V0=J("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",nu).replace("tag",ci).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Up=J(eu).replace("hr",$l).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ci).getRegex(),H0=J(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Up).getRegex(),ru={blockquote:H0,code:A0,def:b0,fences:j0,heading:F0,hr:$l,html:V0,lheading:Fp,list:B0,newline:I0,paragraph:Up,table:nl,text:U0},Jc=J("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",$l).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ci).getRegex(),W0={...ru,table:Jc,paragraph:J(eu).replace("hr",$l).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Jc).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ci).getRegex()},Q0={...ru,html:J(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",nu).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:nl,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:J(eu).replace("hr",$l).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Fp).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},bp=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,K0=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Bp=/^( {2,}|\\)\n(?!\s*$)/,Y0=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,G0=J(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Nl).getRegex(),J0=J("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Nl).getRegex(),q0=J("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Nl).getRegex(),ey=J(/\\([punct])/,"gu").replace(/punct/g,Nl).getRegex(),ty=J(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ny=J(nu).replace("(?:-->|$)","-->").getRegex(),ry=J("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",ny).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Bo=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ly=J(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Bo).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Vp=J(/^!?\[(label)\]\[(ref)\]/).replace("label",Bo).replace("ref",tu).getRegex(),Hp=J(/^!?\[(ref)\](?:\[\])?/).replace("ref",tu).getRegex(),oy=J("reflink|nolink(?!\\()","g").replace("reflink",Vp).replace("nolink",Hp).getRegex(),lu={_backpedal:nl,anyPunctuation:ey,autolink:ty,blockSkip:Z0,br:Bp,code:K0,del:nl,emStrongLDelim:G0,emStrongRDelimAst:J0,emStrongRDelimUnd:q0,escape:bp,link:ly,nolink:Hp,punctuation:X0,reflink:Vp,reflinkSearch:oy,tag:ry,text:Y0,url:nl},iy={...lu,link:J(/^!?\[(label)\]\((.*?)\)/).replace("label",Bo).getRegex(),reflink:J(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Bo).getRegex()},Ya={...lu,escape:J(bp).replace("])","~|])").getRegex(),url:J(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\s+" ".repeat(u.length));let r,l,o,i;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(r=a.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length),r.raw.length===1&&n.length>0?n[n.length-1].raw+=` +`:n.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=` +`+r.raw,l.text+=` +`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=` +`+r.raw,l.text+=` +`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=l.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(o=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const s=t.slice(1);let u;this.options.extensions.startBlock.forEach(c=>{u=c.call({lexer:this},s),typeof u=="number"&&u>=0&&(a=Math.min(a,u))}),a<1/0&&a>=0&&(o=t.substring(0,a+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o))){l=n[n.length-1],i&&l.type==="paragraph"?(l.raw+=` +`+r.raw,l.text+=` +`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r),i=o.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&l.type==="text"?(l.raw+=` +`+r.raw,l.text+=` +`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,l,o,i=t,a,s,u;if(this.tokens.links){const c=Object.keys(this.tokens.links);if(c.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)c.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)i=i.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(i))!=null;)i=i.slice(0,a.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(s||(u=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(c=>(r=c.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&r.type==="text"&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),l=n[n.length-1],l&&r.type==="text"&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,i,u)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),n.push(r);continue}if(o=t,this.options.extensions&&this.options.extensions.startInline){let c=1/0;const d=t.slice(1);let f;this.options.extensions.startInline.forEach(y=>{f=y.call({lexer:this},d),typeof f=="number"&&f>=0&&(c=Math.min(c,f))}),c<1/0&&c>=0&&(o=t.substring(0,c+1))}if(r=this.tokenizer.inlineText(o)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(u=r.raw.slice(-1)),s=!0,l=n[n.length-1],l&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return n}}class Vo{options;constructor(t){this.options=t||Fn}code(t,n,r){const l=(n||"").match(/^\S*/)?.[0];return t=t.replace(/\n$/,"")+` +`,l?'
'+(r?t:Ke(t,!0))+`
+`:"
"+(r?t:Ke(t,!0))+`
+`}blockquote(t){return`
+${t}
+`}html(t,n){return t}heading(t,n,r){return`${t} +`}hr(){return`
+`}list(t,n,r){const l=n?"ol":"ul",o=n&&r!==1?' start="'+r+'"':"";return"<"+l+o+`> +`+t+" +`}listitem(t,n,r){return`
  • ${t}
  • +`}checkbox(t){return"'}paragraph(t){return`

    ${t}

    +`}table(t,n){return n&&(n=`${n}`),` + +`+t+` +`+n+`
    +`}tablerow(t){return` +${t} +`}tablecell(t,n){const r=n.header?"th":"td";return(n.align?`<${r} align="${n.align}">`:`<${r}>`)+t+` +`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return"
    "}del(t){return`${t}`}link(t,n,r){const l=Xc(t);if(l===null)return r;t=l;let o='
    ",o}image(t,n,r){const l=Xc(t);if(l===null)return r;t=l;let o=`${r}0&&f.tokens[0].type==="paragraph"?(f.tokens[0].text=C+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&f.tokens[0].tokens[0].type==="text"&&(f.tokens[0].tokens[0].text=C+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:C+" "}):x+=C+" "}x+=this.parse(f.tokens,u),c+=this.renderer.listitem(x,k,!!y)}r+=this.renderer.list(c,a,s);continue}case"html":{const i=o;r+=this.renderer.html(i.text,i.block);continue}case"paragraph":{const i=o;r+=this.renderer.paragraph(this.parseInline(i.tokens));continue}case"text":{let i=o,a=i.tokens?this.parseInline(i.tokens):i.text;for(;l+1{const a=o[i].flat(1/0);r=r.concat(this.walkTokens(a,n))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,n)))}}return r}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const l={...r};if(l.async=this.defaults.async||l.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const i=n.renderers[o.name];i?n.renderers[o.name]=function(...a){let s=o.renderer.apply(this,a);return s===!1&&(s=i.apply(this,a)),s}:n.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const i=n[o.level];i?i.unshift(o.tokenizer):n[o.level]=[o.tokenizer],o.start&&(o.level==="block"?n.startBlock?n.startBlock.push(o.start):n.startBlock=[o.start]:o.level==="inline"&&(n.startInline?n.startInline.push(o.start):n.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(n.childTokens[o.name]=o.childTokens)}),l.extensions=n),r.renderer){const o=this.defaults.renderer||new Vo(this.defaults);for(const i in r.renderer){if(!(i in o))throw new Error(`renderer '${i}' does not exist`);if(i==="options")continue;const a=i,s=r.renderer[a],u=o[a];o[a]=(...c)=>{let d=s.apply(o,c);return d===!1&&(d=u.apply(o,c)),d||""}}l.renderer=o}if(r.tokenizer){const o=this.defaults.tokenizer||new bo(this.defaults);for(const i in r.tokenizer){if(!(i in o))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;const a=i,s=r.tokenizer[a],u=o[a];o[a]=(...c)=>{let d=s.apply(o,c);return d===!1&&(d=u.apply(o,c)),d}}l.tokenizer=o}if(r.hooks){const o=this.defaults.hooks||new go;for(const i in r.hooks){if(!(i in o))throw new Error(`hook '${i}' does not exist`);if(i==="options")continue;const a=i,s=r.hooks[a],u=o[a];go.passThroughHooks.has(i)?o[a]=c=>{if(this.defaults.async)return Promise.resolve(s.call(o,c)).then(f=>u.call(o,f));const d=s.call(o,c);return u.call(o,d)}:o[a]=(...c)=>{let d=s.apply(o,c);return d===!1&&(d=u.apply(o,c)),d}}l.hooks=o}if(r.walkTokens){const o=this.defaults.walkTokens,i=r.walkTokens;l.walkTokens=function(a){let s=[];return s.push(i.call(this,a)),o&&(s=s.concat(o.call(this,a))),s}}this.defaults={...this.defaults,...l}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Et.lex(t,n??this.defaults)}parser(t,n){return Ct.parse(t,n??this.defaults)}#e(t,n){return(r,l)=>{const o={...l},i={...this.defaults,...o};this.defaults.async===!0&&o.async===!1&&(i.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),i.async=!0);const a=this.#t(!!i.silent,!!i.async);if(typeof r>"u"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(i.hooks&&(i.hooks.options=i),i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(r):r).then(s=>t(s,i)).then(s=>i.hooks?i.hooks.processAllTokens(s):s).then(s=>i.walkTokens?Promise.all(this.walkTokens(s,i.walkTokens)).then(()=>s):s).then(s=>n(s,i)).then(s=>i.hooks?i.hooks.postprocess(s):s).catch(a);try{i.hooks&&(r=i.hooks.preprocess(r));let s=t(r,i);i.hooks&&(s=i.hooks.processAllTokens(s)),i.walkTokens&&this.walkTokens(s,i.walkTokens);let u=n(s,i);return i.hooks&&(u=i.hooks.postprocess(u)),u}catch(s){return a(s)}}}#t(t,n){return r=>{if(r.message+=` +Please report this to https://github.com/markedjs/marked.`,t){const l="

    An error occurred:

    "+Ke(r.message+"",!0)+"
    ";return n?Promise.resolve(l):l}if(n)return Promise.reject(r);throw r}}}const On=new sy;function Z(e,t){return On.parse(e,t)}Z.options=Z.setOptions=function(e){return On.setOptions(e),Z.defaults=On.defaults,Op(Z.defaults),Z};Z.getDefaults=qs;Z.defaults=Fn;Z.use=function(...e){return On.use(...e),Z.defaults=On.defaults,Op(Z.defaults),Z};Z.walkTokens=function(e,t){return On.walkTokens(e,t)};Z.parseInline=On.parseInline;Z.Parser=Ct;Z.parser=Ct.parse;Z.Renderer=Vo;Z.TextRenderer=ou;Z.Lexer=Et;Z.lexer=Et.lex;Z.Tokenizer=bo;Z.Hooks=go;Z.parse=Z;Z.options;Z.setOptions;Z.use;Z.walkTokens;Z.parseInline;Ct.parse;Et.lex;const Xa=m.memo(e=>{const{value:t}=e,n=Z(t);return A.jsx("article",{className:"markdown-body text-sm",dangerouslySetInnerHTML:{__html:n}})});Xa.displayName="Markdown";const Za=Object.assign({"../../src/components/ui/code-editor/index.demo.tsx":()=>kt(()=>import("./index.demo-UwCoPzJE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),"../../src/components/ui/code-highlighter/index.demo.tsx":()=>kt(()=>import("./index.demo-25c8cKuD.js"),__vite__mapDeps([9,10,3,11,12,5,6,13,14,15,16,17,18]),import.meta.url),"../../src/components/ui/collapse/index.demo.tsx":()=>kt(()=>import("./index.demo-LMB5bv5A.js"),__vite__mapDeps([19,6,3,20,15,21,22,23,24]),import.meta.url),"../../src/components/ui/editor/index.demo.tsx":()=>kt(()=>import("./index.demo-Ru9opRL4.js").then(e=>e.i),__vite__mapDeps([25,12,5,3,6,13,26,27,11,28,29,30,31,15,16,2,24,21,32,33,14,34,7,35,36,37,38,39,4,8,20,40,41,22,42,1,43,44,45,46]),import.meta.url),"../../src/components/ui/excalidraw/index.demo.tsx":()=>kt(()=>import("./index.demo-y6Hsg3BO.js"),__vite__mapDeps([47,5,3,6,7,30,12,13,11,31,15,16,2,24,21,48,40,43,49,34]),import.meta.url),"../../src/components/ui/gallery/index.demo.tsx":()=>kt(()=>import("./index.demo-wym_-kfv.js"),__vite__mapDeps([50,35,29,3,34,12,5,6,13,11,31,36]),import.meta.url),"../../src/components/ui/link-card/index.demo.tsx":()=>kt(()=>import("./index.demo-_HCT0BHE.js"),__vite__mapDeps([51,28,29,3,6,12,5,13,11,30,31,15,16,2,24,21,32,33]),import.meta.url),"../../src/components/ui/markdown/index.demo.tsx":()=>kt(()=>import("./index.demo-vRHkS__q.js"),__vite__mapDeps([52,12,5,3,6,13,53,54,44,7,35,29,34,11,31,36,4,8,10,14,15,16,17,18,37,38,32,21,24,28,30,2,33,39,20,40,41]),import.meta.url),"../../src/components/ui/rich-link/index.demo.tsx":()=>kt(()=>import("./index.demo-AQDsjCxP.js"),__vite__mapDeps([55,39,3,12,5,6,13]),import.meta.url),"../../src/components/ui/typography/index.demo.tsx":()=>kt(()=>import("./index.demo-4cAKIRfL.js"),__vite__mapDeps([56,3,38,15,16,32,13,21]),import.meta.url)}),uy=Object.keys(Za).reduce((e,t)=>{const[,n]=t.match(/\/([^/]+)\/index.demo.(tsx|mdx)$/)||[];return n?{...e,[n]:Za[t]}:{...e}},{}),cy=Object.keys(uy),fy=Object.values(Za).map(e=>hf.lazy(()=>e().then(t=>{const n=Object.keys(t).filter(o=>o!=="metadata"),r=n.length===1&&t.default,l=[];if(t.metadata&&typeof t.metadata=="object"){const{title:o,description:i}=t.metadata;l.push(A.jsxs("div",{className:"mb-8",children:[A.jsx("h1",{className:"my-6 text-xl font-bold",children:o}),i&&A.jsx(Xa,{value:i})]}))}for(const o of n){const i=t[o],{meta:a={}}=i,{description:s,title:u}=a;l.unshift(A.jsxs("section",{className:"space-y-4 mt-8",children:[A.jsx("h2",{className:"text-lg font-medium",children:u||o}),!!s&&A.jsx(Xa,{value:s}),A.jsx(i,{})]}))}return r?t:{default:()=>m.createElement(m.Fragment,null,l)}}))),dy=()=>{};function py(e){const t=m.createContext(e),n=m.createContext(dy);return[r=>{let{children:l}=r;const[o,i]=m.useState(e);return A.jsx(t.Provider,{value:o,children:A.jsx(n.Provider,{value:i,children:l})})},()=>m.useContext(t),()=>m.useContext(n),t]}const[hy,o1,my]=py({}),gy=()=>A.jsx("div",{children:A.jsxs(hy,{children:[A.jsx(vy,{}),A.jsx(yy,{})]})}),vy=()=>(console.log("render Child"),A.jsx("div",{children:"Child"})),yy=()=>{console.log("render Child2");const e=my();return A.jsxs("div",{children:["Child 2",A.jsx("button",{onClick:()=>{e({})},children:"Set new value"})]})};function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>wy(n,t))}function Cr(...e){return m.useCallback(Wp(...e),e)}const Qp=m.forwardRef((e,t)=>{const{children:n,...r}=e,l=m.Children.toArray(n),o=l.find(xy);if(o){const i=o.props.children,a=l.map(s=>s===o?m.Children.count(i)>1?m.Children.only(null):m.isValidElement(i)?i.props.children:null:s);return m.createElement(Ga,xe({},r,{ref:t}),m.isValidElement(i)?m.cloneElement(i,void 0,a):null)}return m.createElement(Ga,xe({},r,{ref:t}),n)});Qp.displayName="Slot";const Ga=m.forwardRef((e,t)=>{const{children:n,...r}=e;return m.isValidElement(n)?m.cloneElement(n,{...Sy(r,n.props),ref:t?Wp(t,n.ref):n.ref}):m.Children.count(n)>1?m.Children.only(null):null});Ga.displayName="SlotClone";const ky=({children:e})=>m.createElement(m.Fragment,null,e);function xy(e){return m.isValidElement(e)&&e.type===ky}function Sy(e,t){const n={...t};for(const r in t){const l=e[r],o=t[r];/^on[A-Z]/.test(r)?l&&o?n[r]=(...a)=>{o(...a),l(...a)}:l&&(n[r]=l):r==="style"?n[r]={...l,...o}:r==="className"&&(n[r]=[l,o].filter(Boolean).join(" "))}return{...e,...n}}const Ey=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],iu=Ey.reduce((e,t)=>{const n=m.forwardRef((r,l)=>{const{asChild:o,...i}=r,a=o?Qp:t;return m.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),m.createElement(a,xe({},i,{ref:l}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Ja=globalThis?.document?m.useLayoutEffect:()=>{};function Cy(e,t){return m.useReducer((n,r)=>{const l=t[n][r];return l??n},e)}const fi=e=>{const{present:t,children:n}=e,r=_y(t),l=typeof n=="function"?n({present:r.isPresent}):m.Children.only(n),o=Cr(r.ref,l.ref);return typeof n=="function"||r.isPresent?m.cloneElement(l,{ref:o}):null};fi.displayName="Presence";function _y(e){const[t,n]=m.useState(),r=m.useRef({}),l=m.useRef(e),o=m.useRef("none"),i=e?"mounted":"unmounted",[a,s]=Cy(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{const u=no(r.current);o.current=a==="mounted"?u:"none"},[a]),Ja(()=>{const u=r.current,c=l.current;if(c!==e){const f=o.current,y=no(u);e?s("MOUNT"):y==="none"||u?.display==="none"?s("UNMOUNT"):s(c&&f!==y?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,s]),Ja(()=>{if(t){const u=d=>{const y=no(r.current).includes(d.animationName);d.target===t&&y&&si.flushSync(()=>s("ANIMATION_END"))},c=d=>{d.target===t&&(o.current=no(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:m.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function no(e){return e?.animationName||"none"}function Ry(e,t=[]){let n=[];function r(o,i){const a=m.createContext(i),s=n.length;n=[...n,i];function u(d){const{scope:f,children:y,...k}=d,x=f?.[e][s]||a,C=m.useMemo(()=>k,Object.values(k));return m.createElement(x.Provider,{value:C},y)}function c(d,f){const y=f?.[e][s]||a,k=m.useContext(y);if(k)return k;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,c]}const l=()=>{const o=n.map(i=>m.createContext(i));return function(a){const s=a?.[e]||o;return m.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return l.scopeName=e,[r,Py(l,...t)]}function Py(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:u})=>{const d=s(o)[`__scope${u}`];return{...a,...d}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function kn(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}const Ty=m.createContext(void 0);function Ly(e){const t=m.useContext(Ty);return e||t||"ltr"}function $y(e,[t,n]){return Math.min(n,Math.max(t,e))}function rl(e,t,{checkForDefaultPrevented:n=!0}={}){return function(l){if(e?.(l),n===!1||!l.defaultPrevented)return t?.(l)}}function Ny(e,t){return m.useReducer((n,r)=>{const l=t[n][r];return l??n},e)}const Kp="ScrollArea",[Yp,i1]=Ry(Kp),[zy,Ft]=Yp(Kp),Dy=m.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:l,scrollHideDelay:o=600,...i}=e,[a,s]=m.useState(null),[u,c]=m.useState(null),[d,f]=m.useState(null),[y,k]=m.useState(null),[x,C]=m.useState(null),[h,p]=m.useState(0),[g,E]=m.useState(0),[T,v]=m.useState(!1),[R,L]=m.useState(!1),$=Cr(t,V=>s(V)),M=Ly(l);return m.createElement(zy,{scope:n,type:r,dir:M,scrollHideDelay:o,scrollArea:a,viewport:u,onViewportChange:c,content:d,onContentChange:f,scrollbarX:y,onScrollbarXChange:k,scrollbarXEnabled:T,onScrollbarXEnabledChange:v,scrollbarY:x,onScrollbarYChange:C,scrollbarYEnabled:R,onScrollbarYEnabledChange:L,onCornerWidthChange:p,onCornerHeightChange:E},m.createElement(iu.div,xe({dir:M},i,{ref:$,style:{position:"relative","--radix-scroll-area-corner-width":h+"px","--radix-scroll-area-corner-height":g+"px",...e.style}})))}),My="ScrollAreaViewport",Oy=m.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,...l}=e,o=Ft(My,n),i=m.useRef(null),a=Cr(t,i,o.onViewportChange);return m.createElement(m.Fragment,null,m.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}"}}),m.createElement(iu.div,xe({"data-radix-scroll-area-viewport":""},l,{ref:a,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style}}),m.createElement("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"}},r)))}),Ut="ScrollAreaScrollbar",Iy=m.forwardRef((e,t)=>{const{forceMount:n,...r}=e,l=Ft(Ut,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=l,a=e.orientation==="horizontal";return m.useEffect(()=>(a?o(!0):i(!0),()=>{a?o(!1):i(!1)}),[a,o,i]),l.type==="hover"?m.createElement(Ay,xe({},r,{ref:t,forceMount:n})):l.type==="scroll"?m.createElement(jy,xe({},r,{ref:t,forceMount:n})):l.type==="auto"?m.createElement(Xp,xe({},r,{ref:t,forceMount:n})):l.type==="always"?m.createElement(au,xe({},r,{ref:t})):null}),Ay=m.forwardRef((e,t)=>{const{forceMount:n,...r}=e,l=Ft(Ut,e.__scopeScrollArea),[o,i]=m.useState(!1);return m.useEffect(()=>{const a=l.scrollArea;let s=0;if(a){const u=()=>{window.clearTimeout(s),i(!0)},c=()=>{s=window.setTimeout(()=>i(!1),l.scrollHideDelay)};return a.addEventListener("pointerenter",u),a.addEventListener("pointerleave",c),()=>{window.clearTimeout(s),a.removeEventListener("pointerenter",u),a.removeEventListener("pointerleave",c)}}},[l.scrollArea,l.scrollHideDelay]),m.createElement(fi,{present:n||o},m.createElement(Xp,xe({"data-state":o?"visible":"hidden"},r,{ref:t})))}),jy=m.forwardRef((e,t)=>{const{forceMount:n,...r}=e,l=Ft(Ut,e.__scopeScrollArea),o=e.orientation==="horizontal",i=su(()=>s("SCROLL_END"),100),[a,s]=Ny("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return m.useEffect(()=>{if(a==="idle"){const u=window.setTimeout(()=>s("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(u)}},[a,l.scrollHideDelay,s]),m.useEffect(()=>{const u=l.viewport,c=o?"scrollLeft":"scrollTop";if(u){let d=u[c];const f=()=>{const y=u[c];d!==y&&(s("SCROLL"),i()),d=y};return u.addEventListener("scroll",f),()=>u.removeEventListener("scroll",f)}},[l.viewport,o,s,i]),m.createElement(fi,{present:n||a!=="hidden"},m.createElement(au,xe({"data-state":a==="hidden"?"hidden":"visible"},r,{ref:t,onPointerEnter:rl(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:rl(e.onPointerLeave,()=>s("POINTER_LEAVE"))})))}),Xp=m.forwardRef((e,t)=>{const n=Ft(Ut,e.__scopeScrollArea),{forceMount:r,...l}=e,[o,i]=m.useState(!1),a=e.orientation==="horizontal",s=su(()=>{if(n.viewport){const u=n.viewport.offsetWidth{const{orientation:n="vertical",...r}=e,l=Ft(Ut,e.__scopeScrollArea),o=m.useRef(null),i=m.useRef(0),[a,s]=m.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=Gp(a.viewport,a.content),c={...r,sizes:a,onSizesChange:s,hasThumb:u>0&&u<1,onThumbChange:f=>o.current=f,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:f=>i.current=f};function d(f,y){return By(f,i.current,a,y)}return n==="horizontal"?m.createElement(Fy,xe({},c,{ref:t,onThumbPositionChange:()=>{if(l.viewport&&o.current){const f=l.viewport.scrollLeft,y=qc(f,a,l.dir);o.current.style.transform=`translate3d(${y}px, 0, 0)`}},onWheelScroll:f=>{l.viewport&&(l.viewport.scrollLeft=f)},onDragScroll:f=>{l.viewport&&(l.viewport.scrollLeft=d(f,l.dir))}})):n==="vertical"?m.createElement(Uy,xe({},c,{ref:t,onThumbPositionChange:()=>{if(l.viewport&&o.current){const f=l.viewport.scrollTop,y=qc(f,a);o.current.style.transform=`translate3d(0, ${y}px, 0)`}},onWheelScroll:f=>{l.viewport&&(l.viewport.scrollTop=f)},onDragScroll:f=>{l.viewport&&(l.viewport.scrollTop=d(f))}})):null}),Fy=m.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...l}=e,o=Ft(Ut,e.__scopeScrollArea),[i,a]=m.useState(),s=m.useRef(null),u=Cr(t,s,o.onScrollbarXChange);return m.useEffect(()=>{s.current&&a(getComputedStyle(s.current))},[s]),m.createElement(Zp,xe({"data-orientation":"horizontal"},l,{ref:u,sizes:n,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":di(n)+"px",...e.style},onThumbPointerDown:c=>e.onThumbPointerDown(c.x),onDragScroll:c=>e.onDragScroll(c.x),onWheelScroll:(c,d)=>{if(o.viewport){const f=o.viewport.scrollLeft+c.deltaX;e.onWheelScroll(f),qp(f,d)&&c.preventDefault()}},onResize:()=>{s.current&&o.viewport&&i&&r({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:Ho(i.paddingLeft),paddingEnd:Ho(i.paddingRight)}})}}))}),Uy=m.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...l}=e,o=Ft(Ut,e.__scopeScrollArea),[i,a]=m.useState(),s=m.useRef(null),u=Cr(t,s,o.onScrollbarYChange);return m.useEffect(()=>{s.current&&a(getComputedStyle(s.current))},[s]),m.createElement(Zp,xe({"data-orientation":"vertical"},l,{ref:u,sizes:n,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":di(n)+"px",...e.style},onThumbPointerDown:c=>e.onThumbPointerDown(c.y),onDragScroll:c=>e.onDragScroll(c.y),onWheelScroll:(c,d)=>{if(o.viewport){const f=o.viewport.scrollTop+c.deltaY;e.onWheelScroll(f),qp(f,d)&&c.preventDefault()}},onResize:()=>{s.current&&o.viewport&&i&&r({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:Ho(i.paddingTop),paddingEnd:Ho(i.paddingBottom)}})}}))}),[by,a1]=Yp(Ut),Zp=m.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:l,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:a,onThumbPositionChange:s,onDragScroll:u,onWheelScroll:c,onResize:d,...f}=e,y=Ft(Ut,n),[k,x]=m.useState(null),C=Cr(t,$=>x($)),h=m.useRef(null),p=m.useRef(""),g=y.viewport,E=r.content-r.viewport,T=kn(c),v=kn(s),R=su(d,10);function L($){if(h.current){const M=$.clientX-h.current.left,V=$.clientY-h.current.top;u({x:M,y:V})}}return m.useEffect(()=>{const $=M=>{const V=M.target;k?.contains(V)&&T(M,E)};return document.addEventListener("wheel",$,{passive:!1}),()=>document.removeEventListener("wheel",$,{passive:!1})},[g,k,E,T]),m.useEffect(v,[r,v]),Wo(k,R),Wo(y.content,R),m.createElement(by,{scope:n,scrollbar:k,hasThumb:l,onThumbChange:kn(o),onThumbPointerUp:kn(i),onThumbPositionChange:v,onThumbPointerDown:kn(a)},m.createElement(iu.div,xe({},f,{ref:C,style:{position:"absolute",...f.style},onPointerDown:rl(e.onPointerDown,$=>{$.button===0&&($.target.setPointerCapture($.pointerId),h.current=k.getBoundingClientRect(),p.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",y.viewport&&(y.viewport.style.scrollBehavior="auto"),L($))}),onPointerMove:rl(e.onPointerMove,L),onPointerUp:rl(e.onPointerUp,$=>{const M=$.target;M.hasPointerCapture($.pointerId)&&M.releasePointerCapture($.pointerId),document.body.style.webkitUserSelect=p.current,y.viewport&&(y.viewport.style.scrollBehavior=""),h.current=null})})))});function Ho(e){return e?parseInt(e,10):0}function Gp(e,t){const n=e/t;return isNaN(n)?0:n}function di(e){const t=Gp(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function By(e,t,n,r="ltr"){const l=di(n),o=l/2,i=t||o,a=l-i,s=n.scrollbar.paddingStart+i,u=n.scrollbar.size-n.scrollbar.paddingEnd-a,c=n.content-n.viewport,d=r==="ltr"?[0,c]:[c*-1,0];return Jp([s,u],d)(e)}function qc(e,t,n="ltr"){const r=di(t),l=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-l,i=t.content-t.viewport,a=o-r,s=n==="ltr"?[0,i]:[i*-1,0],u=$y(e,s);return Jp([0,i],[0,a])(u)}function Jp(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 qp(e,t){return e>0&&e()=>window.clearTimeout(r.current),[]),m.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function Wo(e,t){const n=kn(t);Ja(()=>{let r=0;if(e){const l=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return l.observe(e),()=>{window.cancelAnimationFrame(r),l.unobserve(e)}}},[e,n])}const Vy=Dy,Hy=Oy,Wy=Iy,Qy=()=>!1,Ky=(e,t)=>{const{classNameDark:n="dark",classNameLight:r="light",storageKey:l,element:o}=t,[i,a]=m.useState(e);return m.useEffect(()=>{const s=l?localStorage.getItem(l):null;s!==null?s==="true"?a(!0):s==="false"&&a(!1):typeof e>"u"&&a(window.matchMedia("(prefers-color-scheme: dark)").matches)},[l]),m.useEffect(()=>{const s=c=>{localStorage.getItem(l||"darkMode")===null&&a(c.matches)},u=()=>{const c=localStorage.getItem(l||"darkMode");a(c===null?window.matchMedia("(prefers-color-scheme: dark)").matches:c==="true")};return window.addEventListener("storage",u),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",s),()=>{window.removeEventListener("storage",u),window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",s)}},[l]),m.useEffect(()=>{if(typeof i>"u")return;const s=o||document.documentElement;i?(s.classList.remove(r),s.classList.add(n),s.dataset.theme="dark"):(s.classList.remove(n),s.classList.add(r),s.dataset.theme="light")},[n,r,i,o]),{value:i,toggle:()=>{a(s=>(l&&!Qy()&&localStorage.setItem(l,String(!s)),!s))}}},ef=()=>{},Yy={classList:{add:ef,remove:ef}},tf="darkMode",Xy=()=>{const{toggle:e,value:t}=Ky(void 0,{classNameDark:"dark",classNameLight:"light",storageKey:tf,element:globalThis.document&&document.documentElement||Yy});return m.useEffect(()=>{const n=()=>{window.matchMedia("(prefers-color-scheme: dark)").matches===t&&localStorage.removeItem(tf)};return window.addEventListener("beforeunload",n),()=>{window.removeEventListener("beforeunload",n)}},[t]),{toggle:e,value:t}},Zy=()=>{const{pathname:e}=Er();return A.jsxs(Vy,{className:"z-1 !absolute bottom-0 left-0 top-0 w-[250px] border-r border-slate-200 dark:border-neutral-800",children:[A.jsx(Hy,{className:"!inline-block !w-[250px] !min-w-[auto]",children:A.jsxs("div",{className:"flex h-screen flex-col",children:[A.jsx("h1",{className:"mt-4 text-center text-xl font-medium",children:"Component Playground"}),A.jsx("ul",{className:"mt-6 flex-shrink flex-grow space-y-2 pl-2 pr-[3px]",children:r1.map(t=>A.jsx("li",{className:["rounded-3xl bg-transparent transition-colors hover:bg-blue-200 dark:hover:bg-slate-700",e===`/${t}`?"bg-blue-100 dark:bg-slate-800":""].join(" "),children:A.jsx(g0,{to:`/${t}`,className:"block h-full w-full px-4 py-2",children:t.at(0)?.toUpperCase()+t.slice(1).replace(/-\s*(\w)/g,(n,r)=>` ${r.toUpperCase()}`)})},t))}),A.jsx("div",{className:"flex-shrink-0",children:A.jsx(Gy,{})})]})}),A.jsx(Wy,{})]})},Gy=()=>{const{value:e,toggle:t}=Xy();return A.jsx("button",{"aria-label":"Toggle Dark Mode",onClick:t,children:e?A.jsx(qy,{}):A.jsx(Jy,{})})},Jy=()=>A.jsxs("svg",{fill:"none",height:"24",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"24",children:[A.jsx("circle",{cx:"12",cy:"12",r:"5"}),A.jsx("path",{d:"M12 1v2"}),A.jsx("path",{d:"M12 21v2"}),A.jsx("path",{d:"M4.22 4.22l1.42 1.42"}),A.jsx("path",{d:"M18.36 18.36l1.42 1.42"}),A.jsx("path",{d:"M1 12h2"}),A.jsx("path",{d:"M21 12h2"}),A.jsx("path",{d:"M4.22 19.78l1.42-1.42"}),A.jsx("path",{d:"M18.36 5.64l1.42-1.42"})]}),qy=()=>A.jsx("svg",{fill:"none",height:"24",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"24",children:A.jsx("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})}),e1=()=>A.jsxs("div",{children:[A.jsx(Zy,{}),A.jsxs("main",{className:"relative ml-[250px] max-h-[100vh] overflow-auto p-4",children:[A.jsx(Xv,{}),A.jsx(v0,{})]})]}),t1=cy.map((e,t)=>({path:e,name:e,Component:()=>A.jsx(C0,{fallback:A.jsx("div",{children:"Component has some errors."}),children:A.jsx(m.Suspense,{fallback:A.jsx("div",{children:"Loading..."}),children:m.createElement(fy[t])})})})),uu=[...t1].sort((e,t)=>e.name.localeCompare(t.name));uu.push({path:"debug",Component:gy,name:"debug"});const n1=r0([{path:"/",Component:e1,children:uu}]),r1=uu.map(e=>e.name);Xi.createRoot(document.getElementById("root")).render(A.jsx(d0,{router:n1}));export{$h as $,C0 as E,hf as R,kt as _,Ug as a,si as b,l1 as c,rf as g,py as i,A as j,m as r,Ah as s}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index.demo-UwCoPzJE.js","./CodeEditor-AByBrAxP.js","./dom-NuJWIaAq.js","./motion-minimal-epsqYg85.js","./CodeHighlighter-Mm1eioOt.js","./toast-dlXalurG.js","./StyledButton-VgryXAte.js","./use-is-dark-IiysOCcN.js","./CodeHighlighter-hcFZa2QO.css","./index.demo-25c8cKuD.js","./Shiki-YdqsEpEt.js","./viewport-l4O6ZIBM.js","./request-bY2SEZNN.js","./env-y9k74Ds6.js","./AutoResizeHeight-dtcKGJMw.js","./spring-hnK4kZop.js","./use-event-callback-ULpIcVk8.js","./utils-JJoYnXdw.js","./Shiki-BF6GP9Ug.css","./index.demo-LMB5bv5A.js","./Collapse-btcJozxA.js","./index-LA8z4iWc.js","./index-HwaUk8nX.js","./features-max-xJxYem1n.js","./visual-element-tlU1-krp.js","./index.demo-Ru9opRL4.js","./index-ISduWuPC.js","./FormInput-i0fsPScC.js","./LinkCard-AonZnIUQ.js","./image-fdtjzFNr.js","./provider-XKwIHqOQ.js","./use-is-unmounted-dmgvzXDy.js","./use-is-client-6Iy0halI.js","./LinkCard-YJIkKfPg.css","./lodash-lrAbnKsZ.js","./Gallery-QJ8JjQGt.js","./Gallery-cCMf-PmV.css","./alert-fERsLyJJ.js","./FloatPopover-3waN72gb.js","./SocialSourceLink-Fjgxzjol.js","./useQuery-3CoUXB5U.js","./alert--DRvt2nk.css","./mermaid.core-wTs8WatG.js","./index-D4F-WjWJ.js","./Mermaid-gWIn58QC.js","./Form-kbLn7dW2.js","./index-fcBMwXcr.css","./index.demo-y6Hsg3BO.js","./index-eOZlXeNv.js","./main-pGz5eUwv.js","./index.demo-wym_-kfv.js","./index.demo-_HCT0BHE.js","./index.demo-vRHkS__q.js","./ExcalidrawLoading-Id2ozXoI.js","./react-error-boundary.esm-e5Yyzoa4.js","./index.demo-AQDsjCxP.js","./index.demo-4cAKIRfL.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/index-dOOtwMJK.css b/assets/index-dOOtwMJK.css new file mode 100644 index 00000000000..12ea9fc676a --- /dev/null +++ b/assets/index-dOOtwMJK.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap";@import"https://raw.githubusercontent.com/sindresorhus/github-markdown-css/main/github-markdown.css";.icon-\[material-symbols--arrow-circle-right-outline-rounded\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='m12.2 13l-.9.9q-.275.275-.275.7t.275.7q.275.275.7.275t.7-.275l2.6-2.6q.3-.3.3-.7t-.3-.7l-2.6-2.6q-.275-.275-.7-.275t-.7.275q-.275.275-.275.7t.275.7l.9.9H9q-.425 0-.712.288T8 12q0 .425.288.713T9 13zm-.2 9q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20m0-8'/%3E%3C/svg%3E")}.icon-\[material-symbols--dynamic-form-outline\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M4 11q-.825 0-1.412-.587T2 9V6q0-.825.588-1.412T4 4h9v7zm0-2h7V6H4zm0 11q-.825 0-1.412-.587T2 18v-3q0-.825.588-1.412T4 13h11v7zm0-2h9v-3H4zm13 2v-9h-2V4h7l-2 5h2zM4.75 17.25h1.5v-1.5h-1.5zm0-9h1.5v-1.5h-1.5zM4 9V6zm0 9v-3z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-h1\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M5 17V7h2v4h4V7h2v10h-2v-4H7v4zm12 0V9h-2V7h4v10z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-h2\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-4q0-.825.588-1.412T15 11h4V9h-6V7h6q.825 0 1.413.588T21 9v2q0 .825-.587 1.413T19 13h-4v2h6v2z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-h3\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-2h6v-2h-4v-2h4V9h-6V7h6q.825 0 1.413.588T21 9v6q0 .825-.587 1.413T19 17z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-h4\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M3 17V7h2v4h4V7h2v10H9v-4H5v4zm15 0v-3h-5V7h2v5h3V7h2v5h2v2h-2v3z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-list-numbered-rounded\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M3.75 22q-.325 0-.537-.213T3 21.25q0-.325.213-.537t.537-.213H5.5v-.75h-.75q-.325 0-.537-.213T4 19q0-.325.213-.537t.537-.213h.75v-.75H3.75q-.325 0-.537-.213T3 16.75q0-.325.213-.537T3.75 16H6q.425 0 .713.288T7 17v1q0 .425-.288.713T6 19q.425 0 .713.288T7 20v1q0 .425-.288.713T6 22zm0-7q-.325 0-.537-.213T3 14.25v-2q0-.425.288-.712T4 11.25h1.5v-.75H3.75q-.325 0-.537-.213T3 9.75q0-.325.213-.537T3.75 9H6q.425 0 .713.288T7 10v1.75q0 .425-.288.713T6 12.75H4.5v.75h1.75q.325 0 .538.213T7 14.25q0 .325-.213.538T6.25 15zm1.5-7q-.325 0-.537-.213T4.5 7.25V3.5h-.75q-.325 0-.537-.213T3 2.75q0-.325.213-.537T3.75 2h1.5q.325 0 .538.213T6 2.75v4.5q0 .325-.213.538T5.25 8M10 19q-.425 0-.712-.288T9 18q0-.425.288-.712T10 17h10q.425 0 .713.288T21 18q0 .425-.288.713T20 19zm0-6q-.425 0-.712-.288T9 12q0-.425.288-.712T10 11h10q.425 0 .713.288T21 12q0 .425-.288.713T20 13zm0-6q-.425 0-.712-.288T9 6q0-.425.288-.712T10 5h10q.425 0 .713.288T21 6q0 .425-.288.713T20 7z'/%3E%3C/svg%3E")}.icon-\[material-symbols--notifications-active-outline\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M2 10q0-2.5 1.113-4.587T6.1 1.95l1.175 1.6q-1.5 1.1-2.387 2.775T4 10zm18 0q0-2-.888-3.675T16.726 3.55l1.175-1.6q1.875 1.375 2.988 3.463T22 10zM4 19v-2h2v-7q0-2.075 1.25-3.687T10.5 4.2v-.7q0-.625.438-1.062T12 2q.625 0 1.063.438T13.5 3.5v.7q2 .5 3.25 2.113T18 10v7h2v2zm8 3q-.825 0-1.412-.587T10 20h4q0 .825-.587 1.413T12 22m-4-5h8v-7q0-1.65-1.175-2.825T12 6q-1.65 0-2.825 1.175T8 10z'/%3E%3C/svg%3E")}.icon-\[material-symbols--redo\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M9.9 19q-2.425 0-4.163-1.575T4 13.5q0-2.35 1.738-3.925T9.9 8h6.3l-2.6-2.6L15 4l5 5l-5 5l-1.4-1.4l2.6-2.6H9.9q-1.575 0-2.738 1T6 13.5Q6 15 7.163 16T9.9 17H17v2z'/%3E%3C/svg%3E")}.icon-\[material-symbols--undo\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M7 19v-2h7.1q1.575 0 2.738-1T18 13.5q0-1.5-1.162-2.5T14.1 10H7.8l2.6 2.6L9 14L4 9l5-5l1.4 1.4L7.8 8h6.3q2.425 0 4.163 1.575T20 13.5q0 2.35-1.737 3.925T14.1 19z'/%3E%3C/svg%3E")}.icon-\[mingcute--add-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11 20a1 1 0 1 0 2 0v-7h7a1 1 0 1 0 0-2h-7V4a1 1 0 1 0-2 0v7H4a1 1 0 1 0 0 2h7z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--alert-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m13.299 3.148l8.634 14.954a1.5 1.5 0 0 1-1.299 2.25H3.366a1.5 1.5 0 0 1-1.299-2.25l8.634-14.954c.577-1 2.02-1 2.598 0M12 15a1 1 0 1 0 0 2a1 1 0 0 0 0-2m0-7a1 1 0 0 0-.993.883L11 9v4a1 1 0 0 0 1.993.117L13 13V9a1 1 0 0 0-1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--align-arrow-down-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16.95 15.297a1 1 0 0 0-1.415 0L13 17.833V9a1 1 0 0 0-2 0v8.833l-2.536-2.536a1 1 0 0 0-1.414 1.415l4.243 4.242a1 1 0 0 0 1.414 0l4.243-4.242a1 1 0 0 0 0-1.415M5 3a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--align-bottom-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm10 4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arow-to-up-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M19 5a1 1 0 1 0 0-2H5a1 1 0 1 0 0 2zM7.05 12.703a1 1 0 0 0 1.415 0L11 10.167V20a1 1 0 0 0 2 0v-9.833l2.536 2.536a1 1 0 0 0 1.414-1.415l-4.243-4.242a1 1 0 0 0-1.414 0L7.05 11.288a1 1 0 0 0 0 1.415'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arrow-left-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M3.636 11.293a1 1 0 0 0 0 1.414l5.657 5.657a1 1 0 0 0 1.414-1.414L6.757 13H20a1 1 0 1 0 0-2H6.757l3.95-3.95a1 1 0 0 0-1.414-1.414z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arrow-right-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m14.707 5.636l5.657 5.657a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414-1.414l3.95-3.95H4a1 1 0 1 1 0-2h13.243l-3.95-3.95a1 1 0 1 1 1.414-1.414'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arrow-right-up-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.105.074l.014.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.092l.01-.009l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18 5a1 1 0 0 1 1 1v8a1 1 0 1 1-2 0V8.414l-9.95 9.95a1 1 0 0 1-1.414-1.414L15.586 7H10a1 1 0 1 1 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arrow-to-down-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5 19a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2zm11.95-7.703a1 1 0 0 0-1.415 0L13 13.833V4a1 1 0 0 0-2 0v9.833l-2.536-2.536a1 1 0 0 0-1.414 1.415l4.243 4.242a1 1 0 0 0 1.414 0l4.243-4.242a1 1 0 0 0 0-1.415'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--bold-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13 2.5a5.5 5.5 0 0 1 4.213 9.036a5.5 5.5 0 0 1-2.992 9.96L14 21.5H6.1a1.6 1.6 0 0 1-1.593-1.454L4.5 19.9V4.1a1.6 1.6 0 0 1 1.454-1.593L6.1 2.5zm1 11H7.5v5H14a2.5 2.5 0 0 0 0-5m-1-8H7.5v5H13a2.5 2.5 0 0 0 0-5'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--book-6-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11.121 20.615a7.935 7.935 0 0 0-.853-.457c-.733-.339-1.711-.658-2.768-.658c-1.279 0-2.438.468-3.18.862a1.592 1.592 0 0 1-1.514-.02A1.534 1.534 0 0 1 2 19V6.5c0-.621.295-1.263.898-1.629C3.672 4.401 5.414 3.5 7.5 3.5c1.581 0 3.145.51 4.5 1.31c1.355-.8 2.919-1.31 4.5-1.31c2.086 0 3.828.9 4.602 1.371c.603.366.898 1.008.898 1.629V19c0 .633-.379 1.106-.806 1.342a1.592 1.592 0 0 1-1.515.02c-.741-.394-1.9-.862-3.179-.862c-1.057 0-2.035.32-2.768.658a7.935 7.935 0 0 0-.853.457c-.284.177-.524.385-.878.385c-.356 0-.595-.208-.88-.385M4 18.294V6.542c.673-.4 2-1.042 3.5-1.042c1.23 0 2.448.418 3.5 1.042v11.752c-.885-.396-2.113-.794-3.5-.794c-1.381 0-2.609.395-3.5.794m9 0c.885-.396 2.113-.794 3.5-.794c1.381 0 2.609.395 3.5.794V6.542c-.673-.4-2-1.042-3.5-1.042c-1.23 0-2.448.418-3.5 1.042z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--check-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M21.546 5.111a1.5 1.5 0 0 1 0 2.121L10.303 18.475a1.6 1.6 0 0 1-2.263 0L2.454 12.89a1.5 1.5 0 1 1 2.121-2.121l4.596 4.596L19.424 5.111a1.5 1.5 0 0 1 2.122 0'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--check-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M21.192 5.465a1 1 0 0 1 0 1.414L9.95 18.122a1.1 1.1 0 0 1-1.556 0l-5.586-5.586a1 1 0 1 1 1.415-1.415l4.95 4.95L19.777 5.465a1 1 0 0 1 1.414 0Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--close-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m12 14.122l5.303 5.303a1.5 1.5 0 0 0 2.122-2.122L14.12 12l5.304-5.303a1.5 1.5 0 1 0-2.122-2.121L12 9.879L6.697 4.576a1.5 1.5 0 1 0-2.122 2.12L9.88 12l-5.304 5.304a1.5 1.5 0 1 0 2.122 2.12z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--close-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m12 13.414l5.657 5.657a1 1 0 0 0 1.414-1.414L13.414 12l5.657-5.657a1 1 0 0 0-1.414-1.414L12 10.586L6.343 4.929A1 1 0 0 0 4.93 6.343L10.586 12l-5.657 5.657a1 1 0 1 0 1.414 1.414z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--comment-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16 4a3 3 0 0 1 2.995 2.824L19 7v2a3 3 0 0 1 2.995 2.824L22 12v4a3 3 0 0 1-2.824 2.995L19 19v.966c0 1.02-1.143 1.594-1.954 1.033l-.096-.072L14.638 19H11a2.989 2.989 0 0 1-1.998-.762l-.14-.134L7 19.5c-.791.593-1.906.075-1.994-.879L5 18.5V17a3 3 0 0 1-2.995-2.824L2 14V7a3 3 0 0 1 2.824-2.995L5 4zm3 7h-8a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h3.638a2 2 0 0 1 1.28.464l1.088.906A1.5 1.5 0 0 1 18.5 17h.5a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1m-3-5H5a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h.5A1.5 1.5 0 0 1 7 16.5v.5l1.01-.757A3.04 3.04 0 0 1 8 16v-4a3 3 0 0 1 3-3h6V7a1 1 0 0 0-1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--computer-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' fill-rule='nonzero' d='M19 3a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-4v1h1a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2h1v-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm-6 15h-2v1h2zm6-13H5v11h14z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--copy-2-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M9 2a2 2 0 0 0-2 2v2h2V4h11v11h-2v2h2a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM4 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--copy-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M19 2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2V4a2 2 0 0 1 2-2zm-9 13H8a1 1 0 0 0-.117 1.993L8 17h2a1 1 0 0 0 .117-1.993zm9-11H9v2h6a2 2 0 0 1 2 2v8h2zm-7 7H8a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--copy-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M19 2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2V4a2 2 0 0 1 2-2zm-4 6H5v12h10zm-5 7a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2zm9-11H9v2h6a2 2 0 0 1 2 2v8h2zm-7 7a1 1 0 0 1 .117 1.993L12 13H8a1 1 0 0 1-.117-1.993L8 11z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--delete-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M14.28 2a2 2 0 0 1 1.897 1.368L16.72 5H20a1 1 0 1 1 0 2l-.003.071l-.867 12.143A3 3 0 0 1 16.138 22H7.862a3 3 0 0 1-2.992-2.786L4.003 7.07A1.01 1.01 0 0 1 4 7a1 1 0 0 1 0-2h3.28l.543-1.632A2 2 0 0 1 9.721 2zm3.717 5H6.003l.862 12.071a1 1 0 0 0 .997.929h8.276a1 1 0 0 0 .997-.929zM10 10a1 1 0 0 1 .993.883L11 11v5a1 1 0 0 1-1.993.117L9 16v-5a1 1 0 0 1 1-1m4 0a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1m.28-6H9.72l-.333 1h5.226z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--down-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12.707 15.707a1 1 0 0 1-1.414 0L5.636 10.05A1 1 0 1 1 7.05 8.636l4.95 4.95l4.95-4.95a1 1 0 0 1 1.414 1.414z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--download-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 15a1 1 0 0 1 1 1v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a1 1 0 1 1 2 0v4h14v-4a1 1 0 0 1 1-1M12 2a1 1 0 0 1 1 1v10.243l2.536-2.536a1 1 0 1 1 1.414 1.414l-4.066 4.066a1.25 1.25 0 0 1-1.768 0L7.05 12.121a1 1 0 1 1 1.414-1.414L11 13.243V3a1 1 0 0 1 1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--drawing-board-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 3a1 1 0 0 1 1 1v1h8a1 1 0 1 1 0 2v9a1 1 0 1 1 0 2h-4.586l1.293 1.293a1 1 0 0 1-1.414 1.414L13.586 18h-3.172l-2.707 2.707a1 1 0 0 1-1.414-1.414L7.586 18H3a1 1 0 1 1 0-2V7a1 1 0 0 1 0-2h8V4a1 1 0 0 1 1-1m7 13V7H5v9z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--edit-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13 3a1 1 0 0 1 .117 1.993L13 5H5v14h14v-8a1 1 0 0 1 1.993-.117L21 11v8a2 2 0 0 1-1.85 1.995L19 21H5a2 2 0 0 1-1.995-1.85L3 19V5a2 2 0 0 1 1.85-1.995L5 3zm6.243.343a1 1 0 0 1 1.497 1.32l-.083.095l-9.9 9.899a1 1 0 0 1-1.497-1.32l.083-.094z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--emoji-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16m3.167 8c1.012 0 1.833.82 1.833 1.833V14a5 5 0 0 1-10 0v-.167C7 12.821 7.82 12 8.833 12zM15 14H9a3 3 0 1 0 6 0M9 7a1 1 0 0 1 .993.883L10 8v2a1 1 0 0 1-1.993.117L8 10V8a1 1 0 0 1 1-1m5.293.293a1 1 0 0 1 1.497 1.32l-.083.094l-.293.293l.293.293a1 1 0 0 1-1.32 1.497l-.094-.083l-1-1a1 1 0 0 1-.083-1.32l.083-.094z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--emoji-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16m2.8 9.857a1 1 0 1 1 1.4 1.428A5.984 5.984 0 0 1 12 17a5.984 5.984 0 0 1-4.2-1.715a1 1 0 0 1 1.4-1.428A3.984 3.984 0 0 0 12 15c1.09 0 2.077-.435 2.8-1.143M8.5 8a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3m7 0a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--external-link-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11 6a1 1 0 1 1 0 2H5v11h11v-6a1 1 0 1 1 2 0v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm9-3a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6.414l-8.293 8.293a1 1 0 0 1-1.414-1.414L17.586 5H15a1 1 0 1 1 0-2Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--eye-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M4 12.001c.003-.016.017-.104.095-.277c.086-.191.225-.431.424-.708c.398-.553.993-1.192 1.745-1.798C7.777 7.996 9.812 7 12 7c2.188 0 4.223.996 5.736 2.216c.752.606 1.347 1.245 1.745 1.798c.2.277.338.517.424.708c.078.173.092.261.095.277V12c-.003.016-.017.104-.095.277a4.251 4.251 0 0 1-.424.708c-.398.553-.993 1.192-1.745 1.798C16.224 16.004 14.189 17 12 17c-2.188 0-4.223-.996-5.736-2.216c-.752-.606-1.347-1.245-1.745-1.798a4.226 4.226 0 0 1-.424-.708A1.115 1.115 0 0 1 4 12.001M12 5C9.217 5 6.752 6.254 5.009 7.659c-.877.706-1.6 1.474-2.113 2.187a6.157 6.157 0 0 0-.625 1.055C2.123 11.23 2 11.611 2 12c0 .388.123.771.27 1.099c.155.342.37.7.626 1.055c.513.713 1.236 1.48 2.113 2.187C6.752 17.746 9.217 19 12 19c2.783 0 5.248-1.254 6.991-2.659c.877-.706 1.6-1.474 2.113-2.187c.257-.356.471-.713.625-1.055c.148-.328.271-.71.271-1.099c0-.388-.123-.771-.27-1.099a6.197 6.197 0 0 0-.626-1.055c-.513-.713-1.236-1.48-2.113-2.187C17.248 6.254 14.783 5 12 5m-1 7a1 1 0 1 1 2 0a1 1 0 0 1-2 0m1-3a3 3 0 1 0 0 6a3 3 0 0 0 0-6'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--eye-close-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M3.05 9.31a1 1 0 1 1 1.914-.577c2.086 6.986 11.982 6.987 14.07.004a1 1 0 1 1 1.918.57a9.509 9.509 0 0 1-1.813 3.417L20.414 14A1 1 0 0 1 19 15.414l-1.311-1.311a9.116 9.116 0 0 1-2.32 1.269l.357 1.335a1 1 0 1 1-1.931.518l-.364-1.357c-.947.14-1.915.14-2.862 0l-.364 1.357a1 1 0 1 1-1.931-.518l.357-1.335a9.118 9.118 0 0 1-2.32-1.27l-1.31 1.312A1 1 0 0 1 3.585 14l1.275-1.275c-.784-.936-1.41-2.074-1.812-3.414Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--eye-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 4c2.787 0 5.263 1.257 7.026 2.813c.885.781 1.614 1.658 2.128 2.531c.505.857.846 1.786.846 2.656c0 .87-.34 1.799-.846 2.656c-.514.873-1.243 1.75-2.128 2.531C17.263 18.743 14.786 20 12 20c-2.787 0-5.263-1.257-7.026-2.813c-.885-.781-1.614-1.658-2.128-2.531C2.34 13.799 2 12.87 2 12c0-.87.34-1.799.846-2.656c.514-.873 1.243-1.75 2.128-2.531C6.737 5.257 9.214 4 12 4m0 2c-2.184 0-4.208.993-5.702 2.312c-.744.656-1.332 1.373-1.729 2.047C4.163 11.049 4 11.62 4 12c0 .38.163.951.569 1.641c.397.674.985 1.39 1.729 2.047C7.792 17.007 9.816 18 12 18s4.208-.993 5.702-2.312c.744-.657 1.332-1.373 1.729-2.047c.406-.69.569-1.261.569-1.641c0-.38-.163-.951-.569-1.641c-.397-.674-.985-1.39-1.729-2.047C16.208 6.993 14.184 6 12 6m0 3c.088 0 .175.004.261.011a2 2 0 0 0 2.728 2.728A3 3 0 1 1 12 9'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--file-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13.586 2a2 2 0 0 1 1.284.467l.13.119L19.414 7a2 2 0 0 1 .578 1.238l.008.176V20a2 2 0 0 1-1.85 1.995L18 22H6a2 2 0 0 1-1.995-1.85L4 20V4a2 2 0 0 1 1.85-1.995L6 2zM12 4H6v16h12V10h-4.5A1.5 1.5 0 0 1 12 8.5zm2 .414V8h3.586z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--font-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5.926 20.376a1 1 0 0 1-1.852-.752l6.311-15.537a1.743 1.743 0 0 1 3.23 0l6.312 15.537a1 1 0 1 1-1.853.752L15.889 15H8.111zM8.923 13h6.154L12 5.426z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--fullscreen-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M9.793 12.793a1 1 0 0 1 1.497 1.32l-.083.094L6.414 19H9a1 1 0 0 1 .117 1.993L9 21H4a1 1 0 0 1-.993-.883L3 20v-5a1 1 0 0 1 1.993-.117L5 15v2.586zM20 3a1 1 0 0 1 .993.883L21 4v5a1 1 0 0 1-1.993.117L19 9V6.414l-4.793 4.793a1 1 0 0 1-1.497-1.32l.083-.094L17.586 5H15a1 1 0 0 1-.117-1.993L15 3z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--github-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M6.315 6.176c-.25-.638-.24-1.367-.129-2.034a6.77 6.77 0 0 1 2.12 1.07c.28.214.647.283.989.18A9.343 9.343 0 0 1 12 5c.961 0 1.874.14 2.703.391c.342.104.709.034.988-.18a6.77 6.77 0 0 1 2.119-1.07c.111.667.12 1.396-.128 2.033c-.15.384-.075.826.208 1.14C18.614 8.117 19 9.04 19 10c0 2.114-1.97 4.187-5.134 4.818c-.792.158-1.101 1.155-.495 1.726c.389.366.629.882.629 1.456v3a1 1 0 0 0 2 0v-3c0-.57-.12-1.112-.334-1.603C18.683 15.35 21 12.993 21 10c0-1.347-.484-2.585-1.287-3.622c.21-.82.191-1.646.111-2.28c-.071-.568-.17-1.312-.57-1.756c-.595-.659-1.58-.271-2.28-.032a9.081 9.081 0 0 0-2.125 1.045A11.432 11.432 0 0 0 12 3c-.994 0-1.953.125-2.851.356a9.08 9.08 0 0 0-2.125-1.045c-.7-.24-1.686-.628-2.281.031c-.408.452-.493 1.137-.566 1.719l-.005.038c-.08.635-.098 1.462.112 2.283C3.484 7.418 3 8.654 3 10c0 2.992 2.317 5.35 5.334 6.397A3.986 3.986 0 0 0 8 17.98l-.168.034c-.717.099-1.176.01-1.488-.122c-.76-.322-1.152-1.133-1.63-1.753c-.298-.385-.732-.866-1.398-1.088a1 1 0 0 0-.632 1.898c.558.186.944 1.142 1.298 1.566c.373.448.869.916 1.58 1.218c.682.29 1.483.393 2.438.276V21a1 1 0 0 0 2 0v-3c0-.574.24-1.09.629-1.456c.607-.572.297-1.568-.495-1.726C6.969 14.187 5 12.114 5 10c0-.958.385-1.881 1.108-2.684c.283-.314.357-.756.207-1.14'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--hashtag-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M10.124 3.008a1 1 0 0 1 .868 1.116L10.508 8h3.984l.516-4.124a1 1 0 1 1 1.984.248L16.508 8H20a1 1 0 1 1 0 2h-3.742l-.5 4H19.5a1 1 0 1 1 0 2h-3.992l-.516 4.124a1 1 0 1 1-1.984-.248L13.492 16H9.508l-.516 4.124a1 1 0 1 1-1.984-.248L7.492 16H4.5a1 1 0 1 1 0-2h3.242l.5-4H5a1 1 0 0 1 0-2h3.492l.516-4.124a1 1 0 0 1 1.116-.868M13.742 14l.5-4h-3.984l-.5 4z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--heart-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18.494 3.801c2.095 1.221 3.569 3.7 3.504 6.592C21.86 16.5 13.5 21 12 21s-9.861-4.5-9.998-10.607c-.065-2.892 1.409-5.37 3.504-6.592C7.466 2.66 9.928 2.653 12 4.338c2.072-1.685 4.534-1.679 6.494-.537'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--heart-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18.494 3.801c2.095 1.221 3.569 3.7 3.504 6.592c-.081 3.61-2.89 6.794-7.679 9.638c-.71.422-1.458.969-2.319.969c-.845 0-1.625-.557-2.32-.97c-4.787-2.843-7.597-6.028-7.678-9.637c-.065-2.892 1.409-5.37 3.504-6.592C7.466 2.66 9.928 2.653 12 4.338c2.072-1.685 4.534-1.679 6.494-.537M17.487 5.53c-1.394-.812-3.136-.783-4.644.743a1.188 1.188 0 0 1-1.686 0c-1.508-1.526-3.25-1.555-4.644-.743c-1.444.842-2.56 2.628-2.511 4.82c.056 2.511 2.04 5.194 6.7 7.962c.408.243.834.554 1.298.683c.464-.129.89-.44 1.298-.683c4.66-2.768 6.644-5.45 6.7-7.963c.05-2.19-1.067-3.977-2.511-4.819'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--information-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m-.01 8H11a1 1 0 0 0-.117 1.993L11 12v4.99c0 .52.394.95.9 1.004l.11.006h.49a1 1 0 0 0 .596-1.803L13 16.134V11.01c0-.52-.394-.95-.9-1.004zM12 7a1 1 0 1 0 0 2a1 1 0 0 0 0-2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--italic-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16 2.5h-6a1.5 1.5 0 0 0 0 3h1.3l-1.624 13H8a1.5 1.5 0 0 0 0 3h6a1.5 1.5 0 0 0 0-3h-1.3l1.624-13H16a1.5 1.5 0 0 0 0-3'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--list-check-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 17.5a1.5 1.5 0 0 1 0 3H9a1.5 1.5 0 0 1 0-3zm-15.5 0a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3m15.5-7a1.5 1.5 0 0 1 .144 2.993L20 13.5H9a1.5 1.5 0 0 1-.144-2.993L9 10.5zm-15.5 0a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3m0-7a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3m15.5 0a1.5 1.5 0 0 1 .144 2.993L20 6.5H9a1.5 1.5 0 0 1-.144-2.993L9 3.5z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--list-expansion-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M4 4a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2zm16.837 1.606c.132-.257-.062-.556-.38-.583l-.565-.042l-.464-.026l-.527-.02l-.585-.011h-.61l-.555.01l-.504.018l-.65.036l-.51.04c-.296.026-.461.298-.332.552l.15.289l.19.346l.228.398c.04.07.084.142.129.217l.288.467l.322.496l.31.455c.05.072.1.141.148.208l.274.375l.242.318l.206.261c.183.226.53.235.704.02l.326-.415l.263-.35l.292-.408c.153-.217.314-.454.48-.71l.156-.243l.282-.457l.244-.416l.108-.19l.188-.345zm0 10c.132-.258-.062-.556-.38-.583l-.565-.043l-.464-.025l-.527-.02l-.585-.011h-.61l-.555.01l-.504.018l-.448.023l-.558.04a22.24 22.24 0 0 0-.154.012c-.296.027-.461.299-.332.553l.15.288l.19.346l.228.399c.04.07.084.142.129.217l.288.467l.16.248c.109.17.216.33.32.482l.3.429l.274.375l.242.318l.206.26c.183.227.53.236.704.021l.326-.415l.263-.35l.292-.408c.153-.217.314-.455.48-.71l.301-.476l.264-.437c.081-.14.156-.27.225-.394l.188-.344zM3 12a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m1 6a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--mail-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 4a2 2 0 0 1 1.995 1.85L22 6v12a2 2 0 0 1-1.85 1.995L20 20H4a2 2 0 0 1-1.995-1.85L2 18V6a2 2 0 0 1 1.85-1.995L4 4zm0 3.414l-6.94 6.94a1.5 1.5 0 0 1-2.12 0L4 7.414V18h16zM18.586 6H5.414L12 12.586z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--menu-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 18a1 1 0 0 1 .117 1.993L20 20H4a1 1 0 0 1-.117-1.993L4 18zm0-7a1 1 0 1 1 0 2H4a1 1 0 1 1 0-2zm0-7a1 1 0 1 1 0 2H4a1 1 0 0 1 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--moon-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13.574 3.137a1.01 1.01 0 0 0-1.097 1.409a6 6 0 0 1-7.931 7.931a1.01 1.01 0 0 0-1.409 1.097A9 9 0 0 0 21 12c0-4.434-3.206-8.118-7.426-8.863m1.307 2.481A7.002 7.002 0 0 1 12 19a7.002 7.002 0 0 1-6.382-4.12a8 8 0 0 0 9.263-9.263Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--pen-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12.138 4.538a2 2 0 0 1 2.031.328l.126.115l4.724 4.724a2 2 0 0 1 .5 1.997l-.057.16l-2.365 5.913a1.999 1.999 0 0 1-1.605 1.24l-5.079.635c-.13.015-.268.034-.41.056l-.444.072l-.232.042l-.723.14l-.495.106l-.745.167l-.955.228l-1.552.396l-.646.174a1.01 1.01 0 0 1-1.265-1.134l.034-.146l.295-1.112l.264-1.048l.228-.955l.167-.745l.105-.496l.141-.722l.08-.457l.064-.428l.66-5.28a1.999 1.999 0 0 1 1.09-1.536l.151-.069zm.742 1.857L6.968 8.76l-.584 4.672l-.048.396a26.886 26.886 0 0 1-.385 2.192l-.171.786l3.288-3.288a2 2 0 1 1 1.414 1.414L7.194 18.22l.392-.087l.784-.165a27.455 27.455 0 0 1 1.473-.26l5.397-.676l2.365-5.912zm2.363-3.294a1 1 0 0 1 1.32-.084l.094.084l4.242 4.242a1 1 0 0 1-1.32 1.498l-.094-.084l-4.242-4.242a1 1 0 0 1 0-1.414'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--pin-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16.735 2.835a2 2 0 0 0-2.615-.186l-2.913 2.185a9 9 0 0 1-4.127 1.71l-2.177.31c-.73.105-1.265.891-.913 1.662c.331.723 1.385 2.629 4.36 5.72l-4.178 4.178a1 1 0 1 0 1.414 1.414l4.178-4.178c3.091 2.975 4.997 4.029 5.72 4.36c.77.352 1.557-.183 1.661-.913l.311-2.177a9 9 0 0 1 1.71-4.127L21.35 9.88a2 2 0 0 0-.186-2.615zM15.32 4.25l4.43 4.43l-2.184 2.914a11 11 0 0 0-2.09 5.044l-.143 1.001c-.98-.624-2.603-1.837-4.869-4.103C8.2 11.27 6.986 9.648 6.362 8.668l1-.143a11 11 0 0 0 5.045-2.09z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--qq-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2a6.285 6.285 0 0 0-6.276 5.937l-.146 2.63a28.04 28.04 0 0 0-.615 1.41c-1.24 3.073-1.728 5.773-1.088 6.032c.335.135.913-.426 1.566-1.432a6.672 6.672 0 0 0 1.968 3.593c-1.027.35-1.91.828-1.91 1.33c0 .509 2.48.503 4.239.5h.001c.549-.002 1.01-.008 1.38-.057a6.742 6.742 0 0 0 1.76 0c.37.05.833.055 1.382.056c1.76.004 4.239.01 4.239-.499c0-.502-.883-.979-1.909-1.33a6.672 6.672 0 0 0 1.967-3.586c.65 1.002 1.227 1.56 1.56 1.425c.64-.259.154-2.96-1.088-6.032a28.08 28.08 0 0 0-.607-1.395l-.147-2.645A6.285 6.285 0 0 0 12 2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--question-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16m0 12a1 1 0 1 1 0 2a1 1 0 0 1 0-2m0-9.5a3.625 3.625 0 0 1 1.348 6.99a.837.837 0 0 0-.305.201c-.044.05-.051.114-.05.18L13 14a1 1 0 0 1-1.993.117L11 14v-.25c0-1.153.93-1.845 1.604-2.116a1.626 1.626 0 1 0-2.229-1.509a1 1 0 1 1-2 0A3.625 3.625 0 0 1 12 6.5'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--quill-pen-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5.708 13.35c.625-1.92 1.75-4.379 3.757-6.386c3.934-3.934 9.652-4.515 9.797-4.53a1.005 1.005 0 0 1 .944.454c.208.313 1.38 2.283-.191 4.663a2.63 2.63 0 0 1-.276.344a.996.996 0 0 1-.03.37c-.19.689-.434 1.412-.75 2.135c-.551 1.263-1.328 2.54-2.423 3.636c-2.05 2.05-4.742 2.991-6.844 3.43a19.357 19.357 0 0 1-2.883.378C6.778 18.09 6.5 20.57 6.5 21a1 1 0 1 1-2 0c0-.571.116-1.67.221-2.56c.205-1.732.446-3.427.987-5.09m12.637-6.9c.527-.8.52-1.48.415-1.92c-1.527.275-5.219 1.186-7.881 3.849c-1.704 1.703-2.7 3.84-3.269 5.59a17.75 17.75 0 0 0-.494 1.85a17.417 17.417 0 0 0 2.167-.31c1.92-.402 4.179-1.228 5.838-2.888c.85-.85 1.484-1.857 1.954-2.905c-.976.52-2.018.986-2.759 1.233a1 1 0 1 1-.632-1.898c.674-.225 1.758-.713 2.754-1.265c.494-.274.946-.553 1.301-.808c.384-.276.56-.46.606-.529Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--refresh-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M2 12.08c-.006-.862.91-1.356 1.618-.975l.095.058l2.678 1.804c.972.655.377 2.143-.734 2.007l-.117-.02l-1.063-.234a8.002 8.002 0 0 0 14.804.605a1 1 0 0 1 1.82.828c-1.987 4.37-6.896 6.793-11.687 5.509A10.003 10.003 0 0 1 2 12.08m.903-4.228C4.89 3.482 9.799 1.06 14.59 2.343a10.002 10.002 0 0 1 7.414 9.581c.007.863-.91 1.358-1.617.976l-.096-.058l-2.678-1.804c-.972-.655-.377-2.143.734-2.007l.117.02l1.063.234A8.002 8.002 0 0 0 4.723 8.68a1 1 0 1 1-1.82-.828'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--rss-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18 3a3 3 0 0 1 2.995 2.824L21 6v12a3 3 0 0 1-2.824 2.995L18 21H6a3 3 0 0 1-2.995-2.824L3 18V6a3 3 0 0 1 2.824-2.995L6 3zm0 2H6a1 1 0 0 0-.993.883L5 6v12a1 1 0 0 0 .883.993L6 19h12a1 1 0 0 0 .993-.883L19 18V6a1 1 0 0 0-.883-.993zm-9.5 9a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3M8 10.5a5.5 5.5 0 0 1 5.5 5.5a1 1 0 1 1-2 0A3.5 3.5 0 0 0 8 12.5a1 1 0 1 1 0-2M8.5 7a8.5 8.5 0 0 1 8.481 9.066a1 1 0 1 1-1.995-.132a6.5 6.5 0 0 0-6.92-6.92a1 1 0 1 1-.132-1.995C8.121 7.006 8.31 7 8.5 7'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--search-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M10.5 2a8.5 8.5 0 1 0 5.262 15.176l3.652 3.652a1 1 0 0 0 1.414-1.414l-3.652-3.652A8.5 8.5 0 0 0 10.5 2M4 10.5a6.5 6.5 0 1 1 13 0a6.5 6.5 0 0 1-13 0'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--send-plane-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20.25 3.532a1 1 0 0 1 1.183 1.329l-6 15.5a1 1 0 0 1-1.624.362l-3.382-3.235l-1.203 1.202c-.636.636-1.724.186-1.724-.714v-3.288L2.309 9.723a1 1 0 0 1 .442-1.691l17.5-4.5Zm-2.114 4.305l-7.998 6.607l3.97 3.798zm-1.578-1.29L4.991 9.52l3.692 3.53l7.875-6.505Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--settings-6-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16 15c1.306 0 2.418.835 2.83 2H20a1 1 0 1 1 0 2h-1.17a3.001 3.001 0 0 1-5.66 0H4a1 1 0 1 1 0-2h9.17A3.001 3.001 0 0 1 16 15m0 2a1 1 0 1 0 0 2a1 1 0 0 0 0-2M8 9a3 3 0 0 1 2.762 1.828l.067.172H20a1 1 0 0 1 .117 1.993L20 13h-9.17a3.001 3.001 0 0 1-5.592.172L5.17 13H4a1 1 0 0 1-.117-1.993L4 11h1.17A3.001 3.001 0 0 1 8 9m0 2a1 1 0 1 0 0 2a1 1 0 0 0 0-2m8-8c1.306 0 2.418.835 2.83 2H20a1 1 0 1 1 0 2h-1.17a3.001 3.001 0 0 1-5.66 0H4a1 1 0 0 1 0-2h9.17A3.001 3.001 0 0 1 16 3m0 2a1 1 0 1 0 0 2a1 1 0 0 0 0-2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--share-forward-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M10.114 4.491c.076-.795.906-1.45 1.743-.972c1.74 1.019 3.382 2.18 4.97 3.421c1.96 1.548 3.533 3.007 4.647 4.172c.483.507.438 1.308-.024 1.792a42.072 42.072 0 0 1-3.495 3.228c-1.938 1.587-3.945 3.125-6.13 4.358c-.741.418-1.544-.06-1.687-.801l-.017-.113l-.227-3.574c-1.816.038-3.574.662-4.98 1.823l-.265.222l-.128.104l-.247.192c-.04.03-.08.06-.12.088l-.23.16a4.72 4.72 0 0 1-.218.135l-.206.111C2.534 19.314 2 18.892 2 17c0-4.404 3.245-8.323 7.632-8.917l.259-.031zm1.909 1.474l-.192 3.472a.5.5 0 0 1-.447.47l-1.361.142c-3.065.366-5.497 2.762-5.948 5.894a9.952 9.952 0 0 1 5.135-1.912l.397-.023l1.704-.036a.5.5 0 0 1 .51.472l.197 3.596c1.603-1.021 3.131-2.196 4.664-3.45a43.717 43.717 0 0 0 2.857-2.595l-.258-.256l-.556-.533a48.15 48.15 0 0 0-3.134-2.693a46.172 46.172 0 0 0-3.568-2.548'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--sort-descending-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18 4a1 1 0 0 1 1 1v12.414l1.121-1.121a1 1 0 0 1 1.415 1.414l-2.829 2.828a1 1 0 0 1-1.414 0l-2.828-2.828a1 1 0 1 1 1.414-1.414L17 17.414V5a1 1 0 0 1 1-1m-7 14a1 1 0 0 1 .117 1.993L11 20H4a1 1 0 0 1-.117-1.993L4 18zm2-7a1 1 0 0 1 .117 1.993L13 13H4a1 1 0 0 1-.117-1.993L4 11zm0-7a1 1 0 1 1 0 2H4a1 1 0 0 1 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--sparkles-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5.827 13.004a.19.19 0 0 1 .346 0l.17.371a8.693 8.693 0 0 0 3.3 3.638l.265.155a.181.181 0 0 1 0 .316l-.265.155a8.693 8.693 0 0 0-3.3 3.638l-.17.372a.19.19 0 0 1-.346 0l-.17-.372a8.693 8.693 0 0 0-3.3-3.638l-.265-.155a.181.181 0 0 1 0-.316l.265-.155a8.693 8.693 0 0 0 3.47-4.01Zm.17 3.486l-.175.206c-.125.14-.253.277-.385.41l-.2.198l-.027.024l.227.223l.195.203l.19.208l.175.205l.175-.205c.125-.14.253-.278.385-.411l.227-.223l-.027-.024c-.135-.13-.267-.263-.395-.4l-.19-.208zm8.476-13.76a.331.331 0 0 1 .605 0l.15.336l.148.314l.195.39l.226.42l.112.196a15.214 15.214 0 0 0 3.895 4.437l.427.317a15.192 15.192 0 0 0 1.383.878a.317.317 0 0 1 0 .553a15.258 15.258 0 0 0-1.082.67l-.36.251a15.213 15.213 0 0 0-4.263 4.71l-.131.232a14.95 14.95 0 0 0-.402.775l-.147.314l-.15.336a.331.331 0 0 1-.606 0l-.15-.336l-.148-.314l-.196-.39l-.225-.42l-.113-.196a15.214 15.214 0 0 0-3.894-4.437l-.428-.316a15.153 15.153 0 0 0-1.382-.88a.317.317 0 0 1 0-.552a15.298 15.298 0 0 0 1.082-.669l.36-.252a15.215 15.215 0 0 0 4.262-4.71l.132-.232c.141-.254.275-.512.402-.775l.147-.314zm.302 3.615a17.215 17.215 0 0 1-3.663 3.95a17.214 17.214 0 0 1 3.663 3.95a17.212 17.212 0 0 1 3.663-3.95a17.213 17.213 0 0 1-3.663-3.95'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--star-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M10.92 2.868a1.25 1.25 0 0 1 2.16 0l2.795 4.798l5.428 1.176a1.25 1.25 0 0 1 .667 2.054l-3.7 4.141l.56 5.525a1.25 1.25 0 0 1-1.748 1.27L12 19.592l-5.082 2.24a1.25 1.25 0 0 1-1.748-1.27l.56-5.525l-3.7-4.14a1.25 1.25 0 0 1 .667-2.055l5.428-1.176zM12 4.987L9.687 8.959a1.25 1.25 0 0 1-.816.592l-4.492.973l3.062 3.427c.234.262.347.61.312.959l-.463 4.573l4.206-1.854a1.25 1.25 0 0 1 1.008 0l4.206 1.854l-.463-4.573a1.25 1.25 0 0 1 .311-.959l3.063-3.427l-4.492-.973a1.25 1.25 0 0 1-.816-.592z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--sun-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 19a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1m6.364-2.05l.707.707a1 1 0 0 1-1.414 1.414l-.707-.707a1 1 0 0 1 1.414-1.414m-12.728 0a1 1 0 0 1 1.497 1.32l-.083.094l-.707.707a1 1 0 0 1-1.497-1.32l.083-.094zM12 6a6 6 0 1 1 0 12a6 6 0 0 1 0-12m0 2a4 4 0 1 0 0 8a4 4 0 0 0 0-8m-8 3a1 1 0 0 1 .117 1.993L4 13H3a1 1 0 0 1-.117-1.993L3 11zm17 0a1 1 0 1 1 0 2h-1a1 1 0 1 1 0-2zM4.929 4.929a1 1 0 0 1 1.32-.083l.094.083l.707.707a1 1 0 0 1-1.32 1.497l-.094-.083l-.707-.707a1 1 0 0 1 0-1.414m14.142 0a1 1 0 0 1 0 1.414l-.707.707a1 1 0 1 1-1.414-1.414l.707-.707a1 1 0 0 1 1.414 0M12 2a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--teacup-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' fill-rule='nonzero' d='M17 4a2 2 0 0 1 2 2v2.035A3.5 3.5 0 0 1 18.5 15h-.788a8.542 8.542 0 0 1-3.208 3H17a1 1 0 1 1 0 2H4a1 1 0 1 1 0-2h2.496A8.499 8.499 0 0 1 2 10.5V6a2 2 0 0 1 2-2zm0 2H4v4.5l.004.233a6.5 6.5 0 0 0 12.992 0L17 10.5zm2 4.085v.415c0 .868-.13 1.706-.372 2.495a1.5 1.5 0 0 0 .503-2.856z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--telegram-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M21.84 6.056a1.5 1.5 0 0 0-2.063-1.626l-17.1 7.2c-1.192.502-1.253 2.226 0 2.746a56.46 56.46 0 0 0 3.774 1.418c1.168.386 2.442.743 3.463.844c.279.334.63.656.988.95c.547.45 1.205.913 1.885 1.357c1.362.89 2.873 1.741 3.891 2.295c1.217.66 2.674-.1 2.892-1.427zM4.594 12.993l15.124-6.368l-2.118 12.84c-.999-.543-2.438-1.356-3.72-2.194a19.982 19.982 0 0 1-1.709-1.229a7.962 7.962 0 0 1-.426-.374l3.961-3.96a1 1 0 0 0-1.414-1.415L9.955 14.63c-.734-.094-1.756-.366-2.878-.736a48.89 48.89 0 0 1-2.482-.902Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--thumb-up-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M8.993 5.163c.169 1.423-.062 2.907-.576 4.239c-.569 1.474-1.325 3.07-1.419 4.657c-.079 1.337.224 2.919 1.032 4.002C8.915 19.247 10.368 20 11.967 20h1.512a5 5 0 0 0 4.983-4.585l.361-4.332A1 1 0 0 0 17.826 10H12.5a1.503 1.503 0 0 1-1.501-1.492c-.008-.97.053-2.167-.393-3.06c-.4-.8-.774-.948-1.106-.948c-.3 0-.54.393-.507.663M9.5 2.5c1.356 0 2.294.852 2.895 2.053c.522 1.045.571 2.3.597 3.447h4.834a3 3 0 0 1 2.99 3.25l-.361 4.331A7 7 0 0 1 13.479 22h-1.512A6.937 6.937 0 0 1 6.9 19.822A5.54 5.54 0 0 1 5.5 20c-1.108 0-2.028-.62-2.624-1.608C2.296 17.432 2 16.107 2 14.5c0-1.606.297-2.931.876-3.891C3.472 9.62 4.392 9 5.5 9c.281 0 .579.05.877.134c.458-1.2.784-2.437.63-3.735C6.835 3.954 8.016 2.5 9.5 2.5m-3.804 8.524c-.485-.1-.865.216-1.107.618C4.263 12.182 4 13.106 4 14.5c0 1.394.263 2.319.588 2.859c.31.512.64.641.912.641c.064 0 .127-.002.19-.005c-.536-1.208-.766-2.74-.688-4.054c.047-.805.361-1.918.694-2.917'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--twitter-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M17.817 6.989c-.353-.508-1.297-1.222-2.826-.914c-.892.179-1.425.62-1.764 1.202c-.361.62-.536 1.463-.536 2.444a1 1 0 0 1-1 1c-2.366 0-4.618-.703-6.513-2.604a10.52 10.52 0 0 0-.168 2.34c.053 1.086.312 2.175.927 3.108c.605.917 1.6 1.757 3.264 2.285a1 1 0 0 1 .41 1.655a8.52 8.52 0 0 1-1.796 1.405c1.06.11 2.082.118 3.03.032c1.92-.174 3.449-.723 4.405-1.5c2.013-1.632 3.09-4.066 2.89-8.144c-.034-.67.613-1.393.925-1.942c-.471.088-.943.072-1.248-.367M4.594 4.984a1 1 0 0 1 .941.429C7.011 7.572 8.783 8.47 10.75 8.674c.096-.841.323-1.672.75-2.404c.626-1.074 1.644-1.864 3.098-2.156c2.01-.404 3.54.324 4.427 1.215l1.792-.335a1 1 0 0 1 1.053 1.478l-1.72 3.022c.157 4.361-1.055 7.405-3.639 9.502c-1.37 1.112-3.332 1.743-5.485 1.938c-2.17.196-4.623-.041-7.061-.753a1 1 0 0 1 .007-1.922c1.226-.349 2.16-.65 3.003-1.177c-1.199-.636-2.082-1.468-2.707-2.416c-.868-1.318-1.19-2.788-1.254-4.113c-.064-1.325.127-2.553.329-3.438c.115-.505.249-1.011.434-1.495a1 1 0 0 1 .818-.636Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--up-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11.293 8.293a1 1 0 0 1 1.414 0l5.657 5.657a1 1 0 0 1-1.414 1.414L12 10.414l-4.95 4.95a1 1 0 0 1-1.414-1.414z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--user-4-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10a9.959 9.959 0 0 1-2.258 6.33l.02.022l-.132.112A9.978 9.978 0 0 1 12 22c-2.95 0-5.6-1.277-7.43-3.307l-.2-.23l-.132-.11l.02-.024A9.958 9.958 0 0 1 2 12C2 6.477 6.477 2 12 2m0 15c-1.86 0-3.541.592-4.793 1.406A7.965 7.965 0 0 0 12 20a7.965 7.965 0 0 0 4.793-1.594A8.897 8.897 0 0 0 12 17m0-13a8 8 0 0 0-6.258 12.984C7.363 15.821 9.575 15 12 15s4.637.821 6.258 1.984A8 8 0 0 0 12 4m0 2a4 4 0 1 1 0 8a4 4 0 0 1 0-8m0 2a2 2 0 1 0 0 4a2 2 0 0 0 0-4'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--user-visible-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11 2a5 5 0 1 0 0 10a5 5 0 0 0 0-10M8 7a3 3 0 1 1 6 0a3 3 0 0 1-6 0m2.337 8.021a1 1 0 0 0-.127-1.996c-2.21.14-4.195.858-5.651 1.813c-.728.478-1.348 1.031-1.796 1.63C2.32 17.057 2 17.755 2 18.5c0 1.535 1.278 2.346 2.495 2.763c1.28.439 2.99.638 4.832.707a1 1 0 0 0 .075-1.998c-1.791-.068-3.263-.26-4.258-.6c-.932-.32-1.11-.635-1.139-.81L4 18.5c0-.168.079-.454.363-.834c.279-.372.712-.774 1.293-1.156c1.161-.761 2.812-1.37 4.68-1.489ZM17 13.89c1.406 0 2.632.632 3.49 1.39a5.3 5.3 0 0 1 1.057 1.259c.252.427.453.94.453 1.462c0 .523-.2 1.035-.453 1.462a5.3 5.3 0 0 1-1.057 1.26c-.858.757-2.084 1.39-3.49 1.39c-1.406 0-2.632-.633-3.49-1.39a5.3 5.3 0 0 1-1.057-1.26C12.2 19.035 12 18.522 12 18c0-.523.2-1.035.453-1.462a5.3 5.3 0 0 1 1.057-1.26c.858-.757 2.084-1.39 3.49-1.39Zm0 2c-.803 0-1.577.368-2.167.889a3.31 3.31 0 0 0-.657.775a1.536 1.536 0 0 0-.155.339l-.02.087v.042l.02.087c.023.077.068.19.155.34c.144.243.366.517.657.774c.59.52 1.364.89 2.167.89c.803 0 1.577-.37 2.167-.89a3.31 3.31 0 0 0 .657-.775c.087-.148.132-.262.155-.339l.02-.087A.176.176 0 0 0 20 18l-.008-.058a1.376 1.376 0 0 0-.168-.39a3.31 3.31 0 0 0-.657-.774c-.59-.52-1.364-.89-2.167-.89Zm.087 1.115a.667.667 0 0 0 .91.91l.003.086a1 1 0 1 1-.913-.996'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--warning-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16m0 11a1 1 0 1 1 0 2a1 1 0 0 1 0-2m0-9a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--wechat-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16 10c3.154 0 6 2.186 6 5.213c0 1.696-.92 3.153-2.26 4.08c-.044.265-.008.532-.008.799a.903.903 0 0 1-.897.908c-.68 0-1.31-.224-1.843-.645a6.895 6.895 0 0 1-.992.071c-3.154 0-6-2.186-6-5.213S12.846 10 16 10M9.5 3c3.777 0 7.149 2.535 7.474 6.062A7.686 7.686 0 0 0 16 9c-3.533 0-7 2.473-7 6.209c0 .354.031.697.09 1.027a8.506 8.506 0 0 1-.926-.094c-.67.549-1.443.858-2.31.858c-.518 0-.937-.434-.937-.97l.004-.197l.017-.397a2.103 2.103 0 0 0-.055-.59C3.17 13.667 2 11.794 2 9.624C2 5.807 5.525 3 9.5 3M14 13a1 1 0 1 0 0 2a1 1 0 0 0 0-2m4 0a1 1 0 1 0 0 2a1 1 0 0 0 0-2M7 6a1 1 0 1 0 0 2a1 1 0 0 0 0-2m5 0a1 1 0 1 0 0 2a1 1 0 0 0 0-2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--weibo-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13.12 5.815c.55.537.826 1.24.863 1.992c1.675-.502 3.045-.362 3.937.5c.848.82.937 1.967.617 2.964C19.9 11.961 21 13.058 21 14.715c0 1.93-1.256 3.526-2.962 4.586C16.318 20.371 14.004 21 11.5 21c-2.504 0-4.818-.63-6.538-1.699C3.256 18.241 2 16.646 2 14.715c0-1.762.842-3.589 2.05-5.156a14.557 14.557 0 0 1 4.723-3.954c1.635-.847 3.286-.828 4.347.21m-1.399 1.43c-.213-.21-.829-.485-2.028.136a12.558 12.558 0 0 0-4.06 3.4C4.576 12.154 4 13.558 4 14.715c0 .988.647 2.035 2.018 2.888C7.374 18.446 9.309 19 11.5 19c2.19 0 4.127-.554 5.482-1.397c1.371-.853 2.018-1.9 2.018-2.888c0-.711-.56-1.439-2.16-1.991a1 1 0 0 1-.473-1.546c.495-.66.355-1.248.163-1.433l-.048-.04l-.067-.042c-.337-.186-1.274-.368-3.335.661a1 1 0 0 1-1.347-1.33c.444-.92.225-1.517-.012-1.75ZM17 3c1.576 0 3.128.643 4.243 1.757A6.054 6.054 0 0 1 23 9a1 1 0 1 1-2 0c0-1.05-.429-2.086-1.172-2.828A4.036 4.036 0 0 0 17 5a1 1 0 1 1 0-2'/%3E%3C/g%3E%3C/svg%3E")}.loading{pointer-events:none;display:inline-block;aspect-ratio:1 / 1;width:1.5rem;background-color:currentColor;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E")}.loading-spinner{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E")}.loading-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_qM83%7Banimation:spinner_8HQG 1.05s infinite%7D.spinner_oXPr%7Banimation-delay:.1s%7D.spinner_ZTLf%7Banimation-delay:.2s%7D@keyframes spinner_8HQG%7B0%25,57.14%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);transform:translate(0)%7D28.57%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);transform:translateY(-6px)%7D100%25%7Btransform:translate(0)%7D%7D%3C/style%3E%3Ccircle class='spinner_qM83' cx='4' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_oXPr' cx='12' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_ZTLf' cx='20' cy='12' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_qM83%7Banimation:spinner_8HQG 1.05s infinite%7D.spinner_oXPr%7Banimation-delay:.1s%7D.spinner_ZTLf%7Banimation-delay:.2s%7D@keyframes spinner_8HQG%7B0%25,57.14%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);transform:translate(0)%7D28.57%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);transform:translateY(-6px)%7D100%25%7Btransform:translate(0)%7D%7D%3C/style%3E%3Ccircle class='spinner_qM83' cx='4' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_oXPr' cx='12' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_ZTLf' cx='20' cy='12' r='3'/%3E%3C/svg%3E")}.loading-ring{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='%23fff'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1; 20' calcMode='spline' keyTimes='0; 1' keySplines='0.165, 0.84, 0.44, 1' repeatCount='indefinite' /%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1; 0' calcMode='spline' keyTimes='0; 1' keySplines='0.3, 0.61, 0.355, 1' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1; 20' calcMode='spline' keyTimes='0; 1' keySplines='0.165, 0.84, 0.44, 1' repeatCount='indefinite' /%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1; 0' calcMode='spline' keyTimes='0; 1' keySplines='0.3, 0.61, 0.355, 1' repeatCount='indefinite' /%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='%23fff'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1; 20' calcMode='spline' keyTimes='0; 1' keySplines='0.165, 0.84, 0.44, 1' repeatCount='indefinite' /%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1; 0' calcMode='spline' keyTimes='0; 1' keySplines='0.3, 0.61, 0.355, 1' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1; 20' calcMode='spline' keyTimes='0; 1' keySplines='0.165, 0.84, 0.44, 1' repeatCount='indefinite' /%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1; 0' calcMode='spline' keyTimes='0; 1' keySplines='0.3, 0.61, 0.355, 1' repeatCount='indefinite' /%3E%3C/circle%3E%3C/g%3E%3C/svg%3E")}.loading-ball{-webkit-mask-image:url("data:image/svg+xml,%0A%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_rXNP%7Banimation:spinner_YeBj .8s infinite%7D@keyframes spinner_YeBj%7B0%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);cy:5px%7D46.875%25%7Bcy:20px;rx:4px;ry:4px%7D50%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);cy:20.5px;rx:4.8px;ry:3px%7D53.125%25%7Brx:4px;ry:4px%7D100%25%7Bcy:5px%7D%7D%3C/style%3E%3Cellipse class='spinner_rXNP' cx='12' cy='5' rx='4' ry='4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%0A%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_rXNP%7Banimation:spinner_YeBj .8s infinite%7D@keyframes spinner_YeBj%7B0%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);cy:5px%7D46.875%25%7Bcy:20px;rx:4px;ry:4px%7D50%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);cy:20.5px;rx:4.8px;ry:3px%7D53.125%25%7Brx:4px;ry:4px%7D100%25%7Bcy:5px%7D%7D%3C/style%3E%3Cellipse class='spinner_rXNP' cx='12' cy='5' rx='4' ry='4'/%3E%3C/svg%3E")}.mask-squircle{-webkit-mask-image:url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z'/%3e%3c/svg%3e")}html{font-family:system-ui!important}.markdown-body>h1,.markdown-body>h2,.markdown-body>h3,.markdown-body>h4,.markdown-body>h5,.markdown-body>h6{font-weight:400;line-height:1.5;margin:12px 0;padding:0}.markdown-body>p{margin:12px 0}.markdown-body h1{font-size:24px}.markdown-body h2{font-size:20px}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-sans),system-ui,-apple-system,PingFang SC,"Microsoft YaHei",Segoe UI,Roboto,Helvetica,noto sans sc,hiragino sans gb,"sans-serif",Apple Color Emoji,Segoe UI Emoji,Not Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:OperatorMonoSSmLig Nerd Font,Cascadia Code PL,FantasqueSansMono Nerd Font,operator mono,JetBrainsMono,Fira code Retina,Fira code,Consolas,Monaco,Hannotate SC,monospace,-apple-system;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root,[data-theme]{background-color:var(--fallback-b1,oklch(var(--b1)/1));color:var(--fallback-bc,oklch(var(--bc)/1))}@supports not (color: oklch(0 0 0)){:root{color-scheme:light;--fallback-p: #491eff;--fallback-pc: #d4dbff;--fallback-s: #ff41c7;--fallback-sc: #fff9fc;--fallback-a: #00cfbd;--fallback-ac: #00100d;--fallback-n: #2b3440;--fallback-nc: #d7dde4;--fallback-b1: #ffffff;--fallback-b2: #e5e6e6;--fallback-b3: #e5e6e6;--fallback-bc: #1f2937;--fallback-in: #00b3f0;--fallback-inc: #000000;--fallback-su: #00ca92;--fallback-suc: #000000;--fallback-wa: #ffc22d;--fallback-wac: #000000;--fallback-er: #ff6f70;--fallback-erc: #000000}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--fallback-p: #7582ff;--fallback-pc: #050617;--fallback-s: #ff71cf;--fallback-sc: #190211;--fallback-a: #00c7b5;--fallback-ac: #000e0c;--fallback-n: #2a323c;--fallback-nc: #a6adbb;--fallback-b1: #1d232a;--fallback-b2: #191e24;--fallback-b3: #15191e;--fallback-bc: #a6adbb;--fallback-in: #00b3f0;--fallback-inc: #000000;--fallback-su: #00ca92;--fallback-suc: #000000;--fallback-wa: #ffc22d;--fallback-wac: #000000;--fallback-er: #ff6f70;--fallback-erc: #000000}}}html{-webkit-tap-highlight-color:transparent}:root{color-scheme:light;--b2: .93 0 0;--b3: .86 0 0;--pc: .133999 .020448 210.183403;--sc: .167981 .013213 156.373;--nc: .166232 .00138 286.248681;--inc: .120553 .043542 257.423868;--suc: .146065 .038876 147.443943;--wac: .153048 .035041 62.573806;--erc: .130843 .046427 28.659156;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--p: .669994 .10224 210.183403;--s: .839906 .066065 156.373;--a: .669994 .10224 210.183403;--ac: .985104 0 0;--n: .831158 .006898 286.248681;--b1: 1 0 0;--bc: 0 0 0;--in: .602765 .217712 257.423868;--su: .730324 .194381 147.443943;--wa: .76524 .175207 62.573806;--er: .654215 .232135 28.659156;--rounded-btn: 1.9rem;--tab-border: 2px;--tab-radius: .5rem}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--b2: .211371 .003556 286.091612;--b3: .195461 .003288 286.091612;--pc: .15521 .023207 6.503011;--sc: .154046 .026689 42.111953;--ac: .15521 .023207 6.503011;--nc: .880475 .000662 286.250121;--inc: .124851 .041115 255.486118;--suc: .15111 .041649 146.983588;--wac: .156473 .034211 67.223061;--erc: .132661 .044722 28.291925;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--p: .776049 .116034 6.503011;--s: .770229 .133446 42.111953;--a: .776049 .116034 6.503011;--n: .402375 .003308 286.250121;--b1: .22728 .003823 286.091612;--bc: 1 0 0;--in: .624254 .205577 255.486118;--su: .755551 .208246 146.983588;--wa: .782365 .171055 67.223061;--er: .663303 .22361 28.291925;--rounded-btn: 1.9rem;--tab-border: 2px;--tab-radius: .5rem}}[data-theme=light]{color-scheme:light;--b2: .93 0 0;--b3: .86 0 0;--pc: .133999 .020448 210.183403;--sc: .167981 .013213 156.373;--nc: .166232 .00138 286.248681;--inc: .120553 .043542 257.423868;--suc: .146065 .038876 147.443943;--wac: .153048 .035041 62.573806;--erc: .130843 .046427 28.659156;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--p: .669994 .10224 210.183403;--s: .839906 .066065 156.373;--a: .669994 .10224 210.183403;--ac: .985104 0 0;--n: .831158 .006898 286.248681;--b1: 1 0 0;--bc: 0 0 0;--in: .602765 .217712 257.423868;--su: .730324 .194381 147.443943;--wa: .76524 .175207 62.573806;--er: .654215 .232135 28.659156;--rounded-btn: 1.9rem;--tab-border: 2px;--tab-radius: .5rem}[data-theme=dark]{color-scheme:dark;--b2: .211371 .003556 286.091612;--b3: .195461 .003288 286.091612;--pc: .15521 .023207 6.503011;--sc: .154046 .026689 42.111953;--ac: .15521 .023207 6.503011;--nc: .880475 .000662 286.250121;--inc: .124851 .041115 255.486118;--suc: .15111 .041649 146.983588;--wac: .156473 .034211 67.223061;--erc: .132661 .044722 28.291925;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--p: .776049 .116034 6.503011;--s: .770229 .133446 42.111953;--a: .776049 .116034 6.503011;--n: .402375 .003308 286.250121;--b1: .22728 .003823 286.091612;--bc: 1 0 0;--in: .624254 .205577 255.486118;--su: .755551 .208246 146.983588;--wa: .782365 .171055 67.223061;--er: .663303 .22361 28.291925;--rounded-btn: 1.9rem;--tab-border: 2px;--tab-radius: .5rem}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 100vw){.container{max-width:100vw}}@media (min-width: 100vh){.container{max-width:100vh}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.icon-\[material-symbols--arrow-circle-right-outline-rounded\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='m12.2 13l-.9.9q-.275.275-.275.7t.275.7q.275.275.7.275t.7-.275l2.6-2.6q.3-.3.3-.7t-.3-.7l-2.6-2.6q-.275-.275-.7-.275t-.7.275q-.275.275-.275.7t.275.7l.9.9H9q-.425 0-.712.288T8 12q0 .425.288.713T9 13zm-.2 9q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20m0-8'/%3E%3C/svg%3E")}.icon-\[material-symbols--dynamic-form-outline\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M4 11q-.825 0-1.412-.587T2 9V6q0-.825.588-1.412T4 4h9v7zm0-2h7V6H4zm0 11q-.825 0-1.412-.587T2 18v-3q0-.825.588-1.412T4 13h11v7zm0-2h9v-3H4zm13 2v-9h-2V4h7l-2 5h2zM4.75 17.25h1.5v-1.5h-1.5zm0-9h1.5v-1.5h-1.5zM4 9V6zm0 9v-3z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-h1\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M5 17V7h2v4h4V7h2v10h-2v-4H7v4zm12 0V9h-2V7h4v10z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-h2\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-4q0-.825.588-1.412T15 11h4V9h-6V7h6q.825 0 1.413.588T21 9v2q0 .825-.587 1.413T19 13h-4v2h6v2z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-h3\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M3 17V7h2v4h4V7h2v10H9v-4H5v4zm10 0v-2h6v-2h-4v-2h4V9h-6V7h6q.825 0 1.413.588T21 9v6q0 .825-.587 1.413T19 17z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-h4\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M3 17V7h2v4h4V7h2v10H9v-4H5v4zm15 0v-3h-5V7h2v5h3V7h2v5h2v2h-2v3z'/%3E%3C/svg%3E")}.icon-\[material-symbols--format-list-numbered-rounded\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M3.75 22q-.325 0-.537-.213T3 21.25q0-.325.213-.537t.537-.213H5.5v-.75h-.75q-.325 0-.537-.213T4 19q0-.325.213-.537t.537-.213h.75v-.75H3.75q-.325 0-.537-.213T3 16.75q0-.325.213-.537T3.75 16H6q.425 0 .713.288T7 17v1q0 .425-.288.713T6 19q.425 0 .713.288T7 20v1q0 .425-.288.713T6 22zm0-7q-.325 0-.537-.213T3 14.25v-2q0-.425.288-.712T4 11.25h1.5v-.75H3.75q-.325 0-.537-.213T3 9.75q0-.325.213-.537T3.75 9H6q.425 0 .713.288T7 10v1.75q0 .425-.288.713T6 12.75H4.5v.75h1.75q.325 0 .538.213T7 14.25q0 .325-.213.538T6.25 15zm1.5-7q-.325 0-.537-.213T4.5 7.25V3.5h-.75q-.325 0-.537-.213T3 2.75q0-.325.213-.537T3.75 2h1.5q.325 0 .538.213T6 2.75v4.5q0 .325-.213.538T5.25 8M10 19q-.425 0-.712-.288T9 18q0-.425.288-.712T10 17h10q.425 0 .713.288T21 18q0 .425-.288.713T20 19zm0-6q-.425 0-.712-.288T9 12q0-.425.288-.712T10 11h10q.425 0 .713.288T21 12q0 .425-.288.713T20 13zm0-6q-.425 0-.712-.288T9 6q0-.425.288-.712T10 5h10q.425 0 .713.288T21 6q0 .425-.288.713T20 7z'/%3E%3C/svg%3E")}.icon-\[material-symbols--notifications-active-outline\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M2 10q0-2.5 1.113-4.587T6.1 1.95l1.175 1.6q-1.5 1.1-2.387 2.775T4 10zm18 0q0-2-.888-3.675T16.726 3.55l1.175-1.6q1.875 1.375 2.988 3.463T22 10zM4 19v-2h2v-7q0-2.075 1.25-3.687T10.5 4.2v-.7q0-.625.438-1.062T12 2q.625 0 1.063.438T13.5 3.5v.7q2 .5 3.25 2.113T18 10v7h2v2zm8 3q-.825 0-1.412-.587T10 20h4q0 .825-.587 1.413T12 22m-4-5h8v-7q0-1.65-1.175-2.825T12 6q-1.65 0-2.825 1.175T8 10z'/%3E%3C/svg%3E")}.icon-\[material-symbols--redo\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M9.9 19q-2.425 0-4.163-1.575T4 13.5q0-2.35 1.738-3.925T9.9 8h6.3l-2.6-2.6L15 4l5 5l-5 5l-1.4-1.4l2.6-2.6H9.9q-1.575 0-2.738 1T6 13.5Q6 15 7.163 16T9.9 17H17v2z'/%3E%3C/svg%3E")}.icon-\[material-symbols--undo\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M7 19v-2h7.1q1.575 0 2.738-1T18 13.5q0-1.5-1.162-2.5T14.1 10H7.8l2.6 2.6L9 14L4 9l5-5l1.4 1.4L7.8 8h6.3q2.425 0 4.163 1.575T20 13.5q0 2.35-1.737 3.925T14.1 19z'/%3E%3C/svg%3E")}.icon-\[mingcute--add-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11 20a1 1 0 1 0 2 0v-7h7a1 1 0 1 0 0-2h-7V4a1 1 0 1 0-2 0v7H4a1 1 0 1 0 0 2h7z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--alert-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m13.299 3.148l8.634 14.954a1.5 1.5 0 0 1-1.299 2.25H3.366a1.5 1.5 0 0 1-1.299-2.25l8.634-14.954c.577-1 2.02-1 2.598 0M12 15a1 1 0 1 0 0 2a1 1 0 0 0 0-2m0-7a1 1 0 0 0-.993.883L11 9v4a1 1 0 0 0 1.993.117L13 13V9a1 1 0 0 0-1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--align-arrow-down-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16.95 15.297a1 1 0 0 0-1.415 0L13 17.833V9a1 1 0 0 0-2 0v8.833l-2.536-2.536a1 1 0 0 0-1.414 1.415l4.243 4.242a1 1 0 0 0 1.414 0l4.243-4.242a1 1 0 0 0 0-1.415M5 3a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--align-bottom-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm10 4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arow-to-up-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M19 5a1 1 0 1 0 0-2H5a1 1 0 1 0 0 2zM7.05 12.703a1 1 0 0 0 1.415 0L11 10.167V20a1 1 0 0 0 2 0v-9.833l2.536 2.536a1 1 0 0 0 1.414-1.415l-4.243-4.242a1 1 0 0 0-1.414 0L7.05 11.288a1 1 0 0 0 0 1.415'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arrow-left-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M3.636 11.293a1 1 0 0 0 0 1.414l5.657 5.657a1 1 0 0 0 1.414-1.414L6.757 13H20a1 1 0 1 0 0-2H6.757l3.95-3.95a1 1 0 0 0-1.414-1.414z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arrow-right-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m14.707 5.636l5.657 5.657a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414-1.414l3.95-3.95H4a1 1 0 1 1 0-2h13.243l-3.95-3.95a1 1 0 1 1 1.414-1.414'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arrow-right-up-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.105.074l.014.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.092l.01-.009l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18 5a1 1 0 0 1 1 1v8a1 1 0 1 1-2 0V8.414l-9.95 9.95a1 1 0 0 1-1.414-1.414L15.586 7H10a1 1 0 1 1 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--arrow-to-down-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5 19a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2zm11.95-7.703a1 1 0 0 0-1.415 0L13 13.833V4a1 1 0 0 0-2 0v9.833l-2.536-2.536a1 1 0 0 0-1.414 1.415l4.243 4.242a1 1 0 0 0 1.414 0l4.243-4.242a1 1 0 0 0 0-1.415'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--bold-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13 2.5a5.5 5.5 0 0 1 4.213 9.036a5.5 5.5 0 0 1-2.992 9.96L14 21.5H6.1a1.6 1.6 0 0 1-1.593-1.454L4.5 19.9V4.1a1.6 1.6 0 0 1 1.454-1.593L6.1 2.5zm1 11H7.5v5H14a2.5 2.5 0 0 0 0-5m-1-8H7.5v5H13a2.5 2.5 0 0 0 0-5'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--book-6-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11.121 20.615a7.935 7.935 0 0 0-.853-.457c-.733-.339-1.711-.658-2.768-.658c-1.279 0-2.438.468-3.18.862a1.592 1.592 0 0 1-1.514-.02A1.534 1.534 0 0 1 2 19V6.5c0-.621.295-1.263.898-1.629C3.672 4.401 5.414 3.5 7.5 3.5c1.581 0 3.145.51 4.5 1.31c1.355-.8 2.919-1.31 4.5-1.31c2.086 0 3.828.9 4.602 1.371c.603.366.898 1.008.898 1.629V19c0 .633-.379 1.106-.806 1.342a1.592 1.592 0 0 1-1.515.02c-.741-.394-1.9-.862-3.179-.862c-1.057 0-2.035.32-2.768.658a7.935 7.935 0 0 0-.853.457c-.284.177-.524.385-.878.385c-.356 0-.595-.208-.88-.385M4 18.294V6.542c.673-.4 2-1.042 3.5-1.042c1.23 0 2.448.418 3.5 1.042v11.752c-.885-.396-2.113-.794-3.5-.794c-1.381 0-2.609.395-3.5.794m9 0c.885-.396 2.113-.794 3.5-.794c1.381 0 2.609.395 3.5.794V6.542c-.673-.4-2-1.042-3.5-1.042c-1.23 0-2.448.418-3.5 1.042z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--check-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M21.546 5.111a1.5 1.5 0 0 1 0 2.121L10.303 18.475a1.6 1.6 0 0 1-2.263 0L2.454 12.89a1.5 1.5 0 1 1 2.121-2.121l4.596 4.596L19.424 5.111a1.5 1.5 0 0 1 2.122 0'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--check-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M21.192 5.465a1 1 0 0 1 0 1.414L9.95 18.122a1.1 1.1 0 0 1-1.556 0l-5.586-5.586a1 1 0 1 1 1.415-1.415l4.95 4.95L19.777 5.465a1 1 0 0 1 1.414 0Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--close-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m12 14.122l5.303 5.303a1.5 1.5 0 0 0 2.122-2.122L14.12 12l5.304-5.303a1.5 1.5 0 1 0-2.122-2.121L12 9.879L6.697 4.576a1.5 1.5 0 1 0-2.122 2.12L9.88 12l-5.304 5.304a1.5 1.5 0 1 0 2.122 2.12z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--close-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m12 13.414l5.657 5.657a1 1 0 0 0 1.414-1.414L13.414 12l5.657-5.657a1 1 0 0 0-1.414-1.414L12 10.586L6.343 4.929A1 1 0 0 0 4.93 6.343L10.586 12l-5.657 5.657a1 1 0 1 0 1.414 1.414z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--comment-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16 4a3 3 0 0 1 2.995 2.824L19 7v2a3 3 0 0 1 2.995 2.824L22 12v4a3 3 0 0 1-2.824 2.995L19 19v.966c0 1.02-1.143 1.594-1.954 1.033l-.096-.072L14.638 19H11a2.989 2.989 0 0 1-1.998-.762l-.14-.134L7 19.5c-.791.593-1.906.075-1.994-.879L5 18.5V17a3 3 0 0 1-2.995-2.824L2 14V7a3 3 0 0 1 2.824-2.995L5 4zm3 7h-8a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h3.638a2 2 0 0 1 1.28.464l1.088.906A1.5 1.5 0 0 1 18.5 17h.5a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1m-3-5H5a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h.5A1.5 1.5 0 0 1 7 16.5v.5l1.01-.757A3.04 3.04 0 0 1 8 16v-4a3 3 0 0 1 3-3h6V7a1 1 0 0 0-1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--computer-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' fill-rule='nonzero' d='M19 3a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-4v1h1a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2h1v-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm-6 15h-2v1h2zm6-13H5v11h14z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--copy-2-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M9 2a2 2 0 0 0-2 2v2h2V4h11v11h-2v2h2a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM4 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--copy-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M19 2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2V4a2 2 0 0 1 2-2zm-9 13H8a1 1 0 0 0-.117 1.993L8 17h2a1 1 0 0 0 .117-1.993zm9-11H9v2h6a2 2 0 0 1 2 2v8h2zm-7 7H8a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--copy-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M19 2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2V4a2 2 0 0 1 2-2zm-4 6H5v12h10zm-5 7a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2zm9-11H9v2h6a2 2 0 0 1 2 2v8h2zm-7 7a1 1 0 0 1 .117 1.993L12 13H8a1 1 0 0 1-.117-1.993L8 11z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--delete-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M14.28 2a2 2 0 0 1 1.897 1.368L16.72 5H20a1 1 0 1 1 0 2l-.003.071l-.867 12.143A3 3 0 0 1 16.138 22H7.862a3 3 0 0 1-2.992-2.786L4.003 7.07A1.01 1.01 0 0 1 4 7a1 1 0 0 1 0-2h3.28l.543-1.632A2 2 0 0 1 9.721 2zm3.717 5H6.003l.862 12.071a1 1 0 0 0 .997.929h8.276a1 1 0 0 0 .997-.929zM10 10a1 1 0 0 1 .993.883L11 11v5a1 1 0 0 1-1.993.117L9 16v-5a1 1 0 0 1 1-1m4 0a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1m.28-6H9.72l-.333 1h5.226z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--down-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12.707 15.707a1 1 0 0 1-1.414 0L5.636 10.05A1 1 0 1 1 7.05 8.636l4.95 4.95l4.95-4.95a1 1 0 0 1 1.414 1.414z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--download-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 15a1 1 0 0 1 1 1v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a1 1 0 1 1 2 0v4h14v-4a1 1 0 0 1 1-1M12 2a1 1 0 0 1 1 1v10.243l2.536-2.536a1 1 0 1 1 1.414 1.414l-4.066 4.066a1.25 1.25 0 0 1-1.768 0L7.05 12.121a1 1 0 1 1 1.414-1.414L11 13.243V3a1 1 0 0 1 1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--drawing-board-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 3a1 1 0 0 1 1 1v1h8a1 1 0 1 1 0 2v9a1 1 0 1 1 0 2h-4.586l1.293 1.293a1 1 0 0 1-1.414 1.414L13.586 18h-3.172l-2.707 2.707a1 1 0 0 1-1.414-1.414L7.586 18H3a1 1 0 1 1 0-2V7a1 1 0 0 1 0-2h8V4a1 1 0 0 1 1-1m7 13V7H5v9z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--edit-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13 3a1 1 0 0 1 .117 1.993L13 5H5v14h14v-8a1 1 0 0 1 1.993-.117L21 11v8a2 2 0 0 1-1.85 1.995L19 21H5a2 2 0 0 1-1.995-1.85L3 19V5a2 2 0 0 1 1.85-1.995L5 3zm6.243.343a1 1 0 0 1 1.497 1.32l-.083.095l-9.9 9.899a1 1 0 0 1-1.497-1.32l.083-.094z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--emoji-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16m3.167 8c1.012 0 1.833.82 1.833 1.833V14a5 5 0 0 1-10 0v-.167C7 12.821 7.82 12 8.833 12zM15 14H9a3 3 0 1 0 6 0M9 7a1 1 0 0 1 .993.883L10 8v2a1 1 0 0 1-1.993.117L8 10V8a1 1 0 0 1 1-1m5.293.293a1 1 0 0 1 1.497 1.32l-.083.094l-.293.293l.293.293a1 1 0 0 1-1.32 1.497l-.094-.083l-1-1a1 1 0 0 1-.083-1.32l.083-.094z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--emoji-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16m2.8 9.857a1 1 0 1 1 1.4 1.428A5.984 5.984 0 0 1 12 17a5.984 5.984 0 0 1-4.2-1.715a1 1 0 0 1 1.4-1.428A3.984 3.984 0 0 0 12 15c1.09 0 2.077-.435 2.8-1.143M8.5 8a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3m7 0a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--external-link-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11 6a1 1 0 1 1 0 2H5v11h11v-6a1 1 0 1 1 2 0v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm9-3a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6.414l-8.293 8.293a1 1 0 0 1-1.414-1.414L17.586 5H15a1 1 0 1 1 0-2Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--eye-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M4 12.001c.003-.016.017-.104.095-.277c.086-.191.225-.431.424-.708c.398-.553.993-1.192 1.745-1.798C7.777 7.996 9.812 7 12 7c2.188 0 4.223.996 5.736 2.216c.752.606 1.347 1.245 1.745 1.798c.2.277.338.517.424.708c.078.173.092.261.095.277V12c-.003.016-.017.104-.095.277a4.251 4.251 0 0 1-.424.708c-.398.553-.993 1.192-1.745 1.798C16.224 16.004 14.189 17 12 17c-2.188 0-4.223-.996-5.736-2.216c-.752-.606-1.347-1.245-1.745-1.798a4.226 4.226 0 0 1-.424-.708A1.115 1.115 0 0 1 4 12.001M12 5C9.217 5 6.752 6.254 5.009 7.659c-.877.706-1.6 1.474-2.113 2.187a6.157 6.157 0 0 0-.625 1.055C2.123 11.23 2 11.611 2 12c0 .388.123.771.27 1.099c.155.342.37.7.626 1.055c.513.713 1.236 1.48 2.113 2.187C6.752 17.746 9.217 19 12 19c2.783 0 5.248-1.254 6.991-2.659c.877-.706 1.6-1.474 2.113-2.187c.257-.356.471-.713.625-1.055c.148-.328.271-.71.271-1.099c0-.388-.123-.771-.27-1.099a6.197 6.197 0 0 0-.626-1.055c-.513-.713-1.236-1.48-2.113-2.187C17.248 6.254 14.783 5 12 5m-1 7a1 1 0 1 1 2 0a1 1 0 0 1-2 0m1-3a3 3 0 1 0 0 6a3 3 0 0 0 0-6'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--eye-close-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M3.05 9.31a1 1 0 1 1 1.914-.577c2.086 6.986 11.982 6.987 14.07.004a1 1 0 1 1 1.918.57a9.509 9.509 0 0 1-1.813 3.417L20.414 14A1 1 0 0 1 19 15.414l-1.311-1.311a9.116 9.116 0 0 1-2.32 1.269l.357 1.335a1 1 0 1 1-1.931.518l-.364-1.357c-.947.14-1.915.14-2.862 0l-.364 1.357a1 1 0 1 1-1.931-.518l.357-1.335a9.118 9.118 0 0 1-2.32-1.27l-1.31 1.312A1 1 0 0 1 3.585 14l1.275-1.275c-.784-.936-1.41-2.074-1.812-3.414Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--eye-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 4c2.787 0 5.263 1.257 7.026 2.813c.885.781 1.614 1.658 2.128 2.531c.505.857.846 1.786.846 2.656c0 .87-.34 1.799-.846 2.656c-.514.873-1.243 1.75-2.128 2.531C17.263 18.743 14.786 20 12 20c-2.787 0-5.263-1.257-7.026-2.813c-.885-.781-1.614-1.658-2.128-2.531C2.34 13.799 2 12.87 2 12c0-.87.34-1.799.846-2.656c.514-.873 1.243-1.75 2.128-2.531C6.737 5.257 9.214 4 12 4m0 2c-2.184 0-4.208.993-5.702 2.312c-.744.656-1.332 1.373-1.729 2.047C4.163 11.049 4 11.62 4 12c0 .38.163.951.569 1.641c.397.674.985 1.39 1.729 2.047C7.792 17.007 9.816 18 12 18s4.208-.993 5.702-2.312c.744-.657 1.332-1.373 1.729-2.047c.406-.69.569-1.261.569-1.641c0-.38-.163-.951-.569-1.641c-.397-.674-.985-1.39-1.729-2.047C16.208 6.993 14.184 6 12 6m0 3c.088 0 .175.004.261.011a2 2 0 0 0 2.728 2.728A3 3 0 1 1 12 9'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--file-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13.586 2a2 2 0 0 1 1.284.467l.13.119L19.414 7a2 2 0 0 1 .578 1.238l.008.176V20a2 2 0 0 1-1.85 1.995L18 22H6a2 2 0 0 1-1.995-1.85L4 20V4a2 2 0 0 1 1.85-1.995L6 2zM12 4H6v16h12V10h-4.5A1.5 1.5 0 0 1 12 8.5zm2 .414V8h3.586z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--font-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5.926 20.376a1 1 0 0 1-1.852-.752l6.311-15.537a1.743 1.743 0 0 1 3.23 0l6.312 15.537a1 1 0 1 1-1.853.752L15.889 15H8.111zM8.923 13h6.154L12 5.426z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--fullscreen-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M9.793 12.793a1 1 0 0 1 1.497 1.32l-.083.094L6.414 19H9a1 1 0 0 1 .117 1.993L9 21H4a1 1 0 0 1-.993-.883L3 20v-5a1 1 0 0 1 1.993-.117L5 15v2.586zM20 3a1 1 0 0 1 .993.883L21 4v5a1 1 0 0 1-1.993.117L19 9V6.414l-4.793 4.793a1 1 0 0 1-1.497-1.32l.083-.094L17.586 5H15a1 1 0 0 1-.117-1.993L15 3z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--github-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M6.315 6.176c-.25-.638-.24-1.367-.129-2.034a6.77 6.77 0 0 1 2.12 1.07c.28.214.647.283.989.18A9.343 9.343 0 0 1 12 5c.961 0 1.874.14 2.703.391c.342.104.709.034.988-.18a6.77 6.77 0 0 1 2.119-1.07c.111.667.12 1.396-.128 2.033c-.15.384-.075.826.208 1.14C18.614 8.117 19 9.04 19 10c0 2.114-1.97 4.187-5.134 4.818c-.792.158-1.101 1.155-.495 1.726c.389.366.629.882.629 1.456v3a1 1 0 0 0 2 0v-3c0-.57-.12-1.112-.334-1.603C18.683 15.35 21 12.993 21 10c0-1.347-.484-2.585-1.287-3.622c.21-.82.191-1.646.111-2.28c-.071-.568-.17-1.312-.57-1.756c-.595-.659-1.58-.271-2.28-.032a9.081 9.081 0 0 0-2.125 1.045A11.432 11.432 0 0 0 12 3c-.994 0-1.953.125-2.851.356a9.08 9.08 0 0 0-2.125-1.045c-.7-.24-1.686-.628-2.281.031c-.408.452-.493 1.137-.566 1.719l-.005.038c-.08.635-.098 1.462.112 2.283C3.484 7.418 3 8.654 3 10c0 2.992 2.317 5.35 5.334 6.397A3.986 3.986 0 0 0 8 17.98l-.168.034c-.717.099-1.176.01-1.488-.122c-.76-.322-1.152-1.133-1.63-1.753c-.298-.385-.732-.866-1.398-1.088a1 1 0 0 0-.632 1.898c.558.186.944 1.142 1.298 1.566c.373.448.869.916 1.58 1.218c.682.29 1.483.393 2.438.276V21a1 1 0 0 0 2 0v-3c0-.574.24-1.09.629-1.456c.607-.572.297-1.568-.495-1.726C6.969 14.187 5 12.114 5 10c0-.958.385-1.881 1.108-2.684c.283-.314.357-.756.207-1.14'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--hashtag-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M10.124 3.008a1 1 0 0 1 .868 1.116L10.508 8h3.984l.516-4.124a1 1 0 1 1 1.984.248L16.508 8H20a1 1 0 1 1 0 2h-3.742l-.5 4H19.5a1 1 0 1 1 0 2h-3.992l-.516 4.124a1 1 0 1 1-1.984-.248L13.492 16H9.508l-.516 4.124a1 1 0 1 1-1.984-.248L7.492 16H4.5a1 1 0 1 1 0-2h3.242l.5-4H5a1 1 0 0 1 0-2h3.492l.516-4.124a1 1 0 0 1 1.116-.868M13.742 14l.5-4h-3.984l-.5 4z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--heart-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18.494 3.801c2.095 1.221 3.569 3.7 3.504 6.592C21.86 16.5 13.5 21 12 21s-9.861-4.5-9.998-10.607c-.065-2.892 1.409-5.37 3.504-6.592C7.466 2.66 9.928 2.653 12 4.338c2.072-1.685 4.534-1.679 6.494-.537'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--heart-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18.494 3.801c2.095 1.221 3.569 3.7 3.504 6.592c-.081 3.61-2.89 6.794-7.679 9.638c-.71.422-1.458.969-2.319.969c-.845 0-1.625-.557-2.32-.97c-4.787-2.843-7.597-6.028-7.678-9.637c-.065-2.892 1.409-5.37 3.504-6.592C7.466 2.66 9.928 2.653 12 4.338c2.072-1.685 4.534-1.679 6.494-.537M17.487 5.53c-1.394-.812-3.136-.783-4.644.743a1.188 1.188 0 0 1-1.686 0c-1.508-1.526-3.25-1.555-4.644-.743c-1.444.842-2.56 2.628-2.511 4.82c.056 2.511 2.04 5.194 6.7 7.962c.408.243.834.554 1.298.683c.464-.129.89-.44 1.298-.683c4.66-2.768 6.644-5.45 6.7-7.963c.05-2.19-1.067-3.977-2.511-4.819'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--information-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m-.01 8H11a1 1 0 0 0-.117 1.993L11 12v4.99c0 .52.394.95.9 1.004l.11.006h.49a1 1 0 0 0 .596-1.803L13 16.134V11.01c0-.52-.394-.95-.9-1.004zM12 7a1 1 0 1 0 0 2a1 1 0 0 0 0-2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--italic-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16 2.5h-6a1.5 1.5 0 0 0 0 3h1.3l-1.624 13H8a1.5 1.5 0 0 0 0 3h6a1.5 1.5 0 0 0 0-3h-1.3l1.624-13H16a1.5 1.5 0 0 0 0-3'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--list-check-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 17.5a1.5 1.5 0 0 1 0 3H9a1.5 1.5 0 0 1 0-3zm-15.5 0a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3m15.5-7a1.5 1.5 0 0 1 .144 2.993L20 13.5H9a1.5 1.5 0 0 1-.144-2.993L9 10.5zm-15.5 0a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3m0-7a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3m15.5 0a1.5 1.5 0 0 1 .144 2.993L20 6.5H9a1.5 1.5 0 0 1-.144-2.993L9 3.5z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--list-expansion-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M4 4a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2zm16.837 1.606c.132-.257-.062-.556-.38-.583l-.565-.042l-.464-.026l-.527-.02l-.585-.011h-.61l-.555.01l-.504.018l-.65.036l-.51.04c-.296.026-.461.298-.332.552l.15.289l.19.346l.228.398c.04.07.084.142.129.217l.288.467l.322.496l.31.455c.05.072.1.141.148.208l.274.375l.242.318l.206.261c.183.226.53.235.704.02l.326-.415l.263-.35l.292-.408c.153-.217.314-.454.48-.71l.156-.243l.282-.457l.244-.416l.108-.19l.188-.345zm0 10c.132-.258-.062-.556-.38-.583l-.565-.043l-.464-.025l-.527-.02l-.585-.011h-.61l-.555.01l-.504.018l-.448.023l-.558.04a22.24 22.24 0 0 0-.154.012c-.296.027-.461.299-.332.553l.15.288l.19.346l.228.399c.04.07.084.142.129.217l.288.467l.16.248c.109.17.216.33.32.482l.3.429l.274.375l.242.318l.206.26c.183.227.53.236.704.021l.326-.415l.263-.35l.292-.408c.153-.217.314-.455.48-.71l.301-.476l.264-.437c.081-.14.156-.27.225-.394l.188-.344zM3 12a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m1 6a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--mail-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 4a2 2 0 0 1 1.995 1.85L22 6v12a2 2 0 0 1-1.85 1.995L20 20H4a2 2 0 0 1-1.995-1.85L2 18V6a2 2 0 0 1 1.85-1.995L4 4zm0 3.414l-6.94 6.94a1.5 1.5 0 0 1-2.12 0L4 7.414V18h16zM18.586 6H5.414L12 12.586z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--menu-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 18a1 1 0 0 1 .117 1.993L20 20H4a1 1 0 0 1-.117-1.993L4 18zm0-7a1 1 0 1 1 0 2H4a1 1 0 1 1 0-2zm0-7a1 1 0 1 1 0 2H4a1 1 0 0 1 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--moon-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13.574 3.137a1.01 1.01 0 0 0-1.097 1.409a6 6 0 0 1-7.931 7.931a1.01 1.01 0 0 0-1.409 1.097A9 9 0 0 0 21 12c0-4.434-3.206-8.118-7.426-8.863m1.307 2.481A7.002 7.002 0 0 1 12 19a7.002 7.002 0 0 1-6.382-4.12a8 8 0 0 0 9.263-9.263Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--pen-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12.138 4.538a2 2 0 0 1 2.031.328l.126.115l4.724 4.724a2 2 0 0 1 .5 1.997l-.057.16l-2.365 5.913a1.999 1.999 0 0 1-1.605 1.24l-5.079.635c-.13.015-.268.034-.41.056l-.444.072l-.232.042l-.723.14l-.495.106l-.745.167l-.955.228l-1.552.396l-.646.174a1.01 1.01 0 0 1-1.265-1.134l.034-.146l.295-1.112l.264-1.048l.228-.955l.167-.745l.105-.496l.141-.722l.08-.457l.064-.428l.66-5.28a1.999 1.999 0 0 1 1.09-1.536l.151-.069zm.742 1.857L6.968 8.76l-.584 4.672l-.048.396a26.886 26.886 0 0 1-.385 2.192l-.171.786l3.288-3.288a2 2 0 1 1 1.414 1.414L7.194 18.22l.392-.087l.784-.165a27.455 27.455 0 0 1 1.473-.26l5.397-.676l2.365-5.912zm2.363-3.294a1 1 0 0 1 1.32-.084l.094.084l4.242 4.242a1 1 0 0 1-1.32 1.498l-.094-.084l-4.242-4.242a1 1 0 0 1 0-1.414'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--pin-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16.735 2.835a2 2 0 0 0-2.615-.186l-2.913 2.185a9 9 0 0 1-4.127 1.71l-2.177.31c-.73.105-1.265.891-.913 1.662c.331.723 1.385 2.629 4.36 5.72l-4.178 4.178a1 1 0 1 0 1.414 1.414l4.178-4.178c3.091 2.975 4.997 4.029 5.72 4.36c.77.352 1.557-.183 1.661-.913l.311-2.177a9 9 0 0 1 1.71-4.127L21.35 9.88a2 2 0 0 0-.186-2.615zM15.32 4.25l4.43 4.43l-2.184 2.914a11 11 0 0 0-2.09 5.044l-.143 1.001c-.98-.624-2.603-1.837-4.869-4.103C8.2 11.27 6.986 9.648 6.362 8.668l1-.143a11 11 0 0 0 5.045-2.09z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--qq-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2a6.285 6.285 0 0 0-6.276 5.937l-.146 2.63a28.04 28.04 0 0 0-.615 1.41c-1.24 3.073-1.728 5.773-1.088 6.032c.335.135.913-.426 1.566-1.432a6.672 6.672 0 0 0 1.968 3.593c-1.027.35-1.91.828-1.91 1.33c0 .509 2.48.503 4.239.5h.001c.549-.002 1.01-.008 1.38-.057a6.742 6.742 0 0 0 1.76 0c.37.05.833.055 1.382.056c1.76.004 4.239.01 4.239-.499c0-.502-.883-.979-1.909-1.33a6.672 6.672 0 0 0 1.967-3.586c.65 1.002 1.227 1.56 1.56 1.425c.64-.259.154-2.96-1.088-6.032a28.08 28.08 0 0 0-.607-1.395l-.147-2.645A6.285 6.285 0 0 0 12 2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--question-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16m0 12a1 1 0 1 1 0 2a1 1 0 0 1 0-2m0-9.5a3.625 3.625 0 0 1 1.348 6.99a.837.837 0 0 0-.305.201c-.044.05-.051.114-.05.18L13 14a1 1 0 0 1-1.993.117L11 14v-.25c0-1.153.93-1.845 1.604-2.116a1.626 1.626 0 1 0-2.229-1.509a1 1 0 1 1-2 0A3.625 3.625 0 0 1 12 6.5'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--quill-pen-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5.708 13.35c.625-1.92 1.75-4.379 3.757-6.386c3.934-3.934 9.652-4.515 9.797-4.53a1.005 1.005 0 0 1 .944.454c.208.313 1.38 2.283-.191 4.663a2.63 2.63 0 0 1-.276.344a.996.996 0 0 1-.03.37c-.19.689-.434 1.412-.75 2.135c-.551 1.263-1.328 2.54-2.423 3.636c-2.05 2.05-4.742 2.991-6.844 3.43a19.357 19.357 0 0 1-2.883.378C6.778 18.09 6.5 20.57 6.5 21a1 1 0 1 1-2 0c0-.571.116-1.67.221-2.56c.205-1.732.446-3.427.987-5.09m12.637-6.9c.527-.8.52-1.48.415-1.92c-1.527.275-5.219 1.186-7.881 3.849c-1.704 1.703-2.7 3.84-3.269 5.59a17.75 17.75 0 0 0-.494 1.85a17.417 17.417 0 0 0 2.167-.31c1.92-.402 4.179-1.228 5.838-2.888c.85-.85 1.484-1.857 1.954-2.905c-.976.52-2.018.986-2.759 1.233a1 1 0 1 1-.632-1.898c.674-.225 1.758-.713 2.754-1.265c.494-.274.946-.553 1.301-.808c.384-.276.56-.46.606-.529Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--refresh-2-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M2 12.08c-.006-.862.91-1.356 1.618-.975l.095.058l2.678 1.804c.972.655.377 2.143-.734 2.007l-.117-.02l-1.063-.234a8.002 8.002 0 0 0 14.804.605a1 1 0 0 1 1.82.828c-1.987 4.37-6.896 6.793-11.687 5.509A10.003 10.003 0 0 1 2 12.08m.903-4.228C4.89 3.482 9.799 1.06 14.59 2.343a10.002 10.002 0 0 1 7.414 9.581c.007.863-.91 1.358-1.617.976l-.096-.058l-2.678-1.804c-.972-.655-.377-2.143.734-2.007l.117.02l1.063.234A8.002 8.002 0 0 0 4.723 8.68a1 1 0 1 1-1.82-.828'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--rss-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18 3a3 3 0 0 1 2.995 2.824L21 6v12a3 3 0 0 1-2.824 2.995L18 21H6a3 3 0 0 1-2.995-2.824L3 18V6a3 3 0 0 1 2.824-2.995L6 3zm0 2H6a1 1 0 0 0-.993.883L5 6v12a1 1 0 0 0 .883.993L6 19h12a1 1 0 0 0 .993-.883L19 18V6a1 1 0 0 0-.883-.993zm-9.5 9a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3M8 10.5a5.5 5.5 0 0 1 5.5 5.5a1 1 0 1 1-2 0A3.5 3.5 0 0 0 8 12.5a1 1 0 1 1 0-2M8.5 7a8.5 8.5 0 0 1 8.481 9.066a1 1 0 1 1-1.995-.132a6.5 6.5 0 0 0-6.92-6.92a1 1 0 1 1-.132-1.995C8.121 7.006 8.31 7 8.5 7'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--search-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M10.5 2a8.5 8.5 0 1 0 5.262 15.176l3.652 3.652a1 1 0 0 0 1.414-1.414l-3.652-3.652A8.5 8.5 0 0 0 10.5 2M4 10.5a6.5 6.5 0 1 1 13 0a6.5 6.5 0 0 1-13 0'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--send-plane-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20.25 3.532a1 1 0 0 1 1.183 1.329l-6 15.5a1 1 0 0 1-1.624.362l-3.382-3.235l-1.203 1.202c-.636.636-1.724.186-1.724-.714v-3.288L2.309 9.723a1 1 0 0 1 .442-1.691l17.5-4.5Zm-2.114 4.305l-7.998 6.607l3.97 3.798zm-1.578-1.29L4.991 9.52l3.692 3.53l7.875-6.505Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--settings-6-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16 15c1.306 0 2.418.835 2.83 2H20a1 1 0 1 1 0 2h-1.17a3.001 3.001 0 0 1-5.66 0H4a1 1 0 1 1 0-2h9.17A3.001 3.001 0 0 1 16 15m0 2a1 1 0 1 0 0 2a1 1 0 0 0 0-2M8 9a3 3 0 0 1 2.762 1.828l.067.172H20a1 1 0 0 1 .117 1.993L20 13h-9.17a3.001 3.001 0 0 1-5.592.172L5.17 13H4a1 1 0 0 1-.117-1.993L4 11h1.17A3.001 3.001 0 0 1 8 9m0 2a1 1 0 1 0 0 2a1 1 0 0 0 0-2m8-8c1.306 0 2.418.835 2.83 2H20a1 1 0 1 1 0 2h-1.17a3.001 3.001 0 0 1-5.66 0H4a1 1 0 0 1 0-2h9.17A3.001 3.001 0 0 1 16 3m0 2a1 1 0 1 0 0 2a1 1 0 0 0 0-2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--share-forward-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M10.114 4.491c.076-.795.906-1.45 1.743-.972c1.74 1.019 3.382 2.18 4.97 3.421c1.96 1.548 3.533 3.007 4.647 4.172c.483.507.438 1.308-.024 1.792a42.072 42.072 0 0 1-3.495 3.228c-1.938 1.587-3.945 3.125-6.13 4.358c-.741.418-1.544-.06-1.687-.801l-.017-.113l-.227-3.574c-1.816.038-3.574.662-4.98 1.823l-.265.222l-.128.104l-.247.192c-.04.03-.08.06-.12.088l-.23.16a4.72 4.72 0 0 1-.218.135l-.206.111C2.534 19.314 2 18.892 2 17c0-4.404 3.245-8.323 7.632-8.917l.259-.031zm1.909 1.474l-.192 3.472a.5.5 0 0 1-.447.47l-1.361.142c-3.065.366-5.497 2.762-5.948 5.894a9.952 9.952 0 0 1 5.135-1.912l.397-.023l1.704-.036a.5.5 0 0 1 .51.472l.197 3.596c1.603-1.021 3.131-2.196 4.664-3.45a43.717 43.717 0 0 0 2.857-2.595l-.258-.256l-.556-.533a48.15 48.15 0 0 0-3.134-2.693a46.172 46.172 0 0 0-3.568-2.548'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--sort-descending-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M18 4a1 1 0 0 1 1 1v12.414l1.121-1.121a1 1 0 0 1 1.415 1.414l-2.829 2.828a1 1 0 0 1-1.414 0l-2.828-2.828a1 1 0 1 1 1.414-1.414L17 17.414V5a1 1 0 0 1 1-1m-7 14a1 1 0 0 1 .117 1.993L11 20H4a1 1 0 0 1-.117-1.993L4 18zm2-7a1 1 0 0 1 .117 1.993L13 13H4a1 1 0 0 1-.117-1.993L4 11zm0-7a1 1 0 1 1 0 2H4a1 1 0 0 1 0-2z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--sparkles-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M5.827 13.004a.19.19 0 0 1 .346 0l.17.371a8.693 8.693 0 0 0 3.3 3.638l.265.155a.181.181 0 0 1 0 .316l-.265.155a8.693 8.693 0 0 0-3.3 3.638l-.17.372a.19.19 0 0 1-.346 0l-.17-.372a8.693 8.693 0 0 0-3.3-3.638l-.265-.155a.181.181 0 0 1 0-.316l.265-.155a8.693 8.693 0 0 0 3.47-4.01Zm.17 3.486l-.175.206c-.125.14-.253.277-.385.41l-.2.198l-.027.024l.227.223l.195.203l.19.208l.175.205l.175-.205c.125-.14.253-.278.385-.411l.227-.223l-.027-.024c-.135-.13-.267-.263-.395-.4l-.19-.208zm8.476-13.76a.331.331 0 0 1 .605 0l.15.336l.148.314l.195.39l.226.42l.112.196a15.214 15.214 0 0 0 3.895 4.437l.427.317a15.192 15.192 0 0 0 1.383.878a.317.317 0 0 1 0 .553a15.258 15.258 0 0 0-1.082.67l-.36.251a15.213 15.213 0 0 0-4.263 4.71l-.131.232a14.95 14.95 0 0 0-.402.775l-.147.314l-.15.336a.331.331 0 0 1-.606 0l-.15-.336l-.148-.314l-.196-.39l-.225-.42l-.113-.196a15.214 15.214 0 0 0-3.894-4.437l-.428-.316a15.153 15.153 0 0 0-1.382-.88a.317.317 0 0 1 0-.552a15.298 15.298 0 0 0 1.082-.669l.36-.252a15.215 15.215 0 0 0 4.262-4.71l.132-.232c.141-.254.275-.512.402-.775l.147-.314zm.302 3.615a17.215 17.215 0 0 1-3.663 3.95a17.214 17.214 0 0 1 3.663 3.95a17.212 17.212 0 0 1 3.663-3.95a17.213 17.213 0 0 1-3.663-3.95'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--star-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M10.92 2.868a1.25 1.25 0 0 1 2.16 0l2.795 4.798l5.428 1.176a1.25 1.25 0 0 1 .667 2.054l-3.7 4.141l.56 5.525a1.25 1.25 0 0 1-1.748 1.27L12 19.592l-5.082 2.24a1.25 1.25 0 0 1-1.748-1.27l.56-5.525l-3.7-4.14a1.25 1.25 0 0 1 .667-2.055l5.428-1.176zM12 4.987L9.687 8.959a1.25 1.25 0 0 1-.816.592l-4.492.973l3.062 3.427c.234.262.347.61.312.959l-.463 4.573l4.206-1.854a1.25 1.25 0 0 1 1.008 0l4.206 1.854l-.463-4.573a1.25 1.25 0 0 1 .311-.959l3.063-3.427l-4.492-.973a1.25 1.25 0 0 1-.816-.592z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--sun-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 19a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1m6.364-2.05l.707.707a1 1 0 0 1-1.414 1.414l-.707-.707a1 1 0 0 1 1.414-1.414m-12.728 0a1 1 0 0 1 1.497 1.32l-.083.094l-.707.707a1 1 0 0 1-1.497-1.32l.083-.094zM12 6a6 6 0 1 1 0 12a6 6 0 0 1 0-12m0 2a4 4 0 1 0 0 8a4 4 0 0 0 0-8m-8 3a1 1 0 0 1 .117 1.993L4 13H3a1 1 0 0 1-.117-1.993L3 11zm17 0a1 1 0 1 1 0 2h-1a1 1 0 1 1 0-2zM4.929 4.929a1 1 0 0 1 1.32-.083l.094.083l.707.707a1 1 0 0 1-1.32 1.497l-.094-.083l-.707-.707a1 1 0 0 1 0-1.414m14.142 0a1 1 0 0 1 0 1.414l-.707.707a1 1 0 1 1-1.414-1.414l.707-.707a1 1 0 0 1 1.414 0M12 2a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--teacup-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' fill-rule='nonzero' d='M17 4a2 2 0 0 1 2 2v2.035A3.5 3.5 0 0 1 18.5 15h-.788a8.542 8.542 0 0 1-3.208 3H17a1 1 0 1 1 0 2H4a1 1 0 1 1 0-2h2.496A8.499 8.499 0 0 1 2 10.5V6a2 2 0 0 1 2-2zm0 2H4v4.5l.004.233a6.5 6.5 0 0 0 12.992 0L17 10.5zm2 4.085v.415c0 .868-.13 1.706-.372 2.495a1.5 1.5 0 0 0 .503-2.856z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--telegram-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M21.84 6.056a1.5 1.5 0 0 0-2.063-1.626l-17.1 7.2c-1.192.502-1.253 2.226 0 2.746a56.46 56.46 0 0 0 3.774 1.418c1.168.386 2.442.743 3.463.844c.279.334.63.656.988.95c.547.45 1.205.913 1.885 1.357c1.362.89 2.873 1.741 3.891 2.295c1.217.66 2.674-.1 2.892-1.427zM4.594 12.993l15.124-6.368l-2.118 12.84c-.999-.543-2.438-1.356-3.72-2.194a19.982 19.982 0 0 1-1.709-1.229a7.962 7.962 0 0 1-.426-.374l3.961-3.96a1 1 0 0 0-1.414-1.415L9.955 14.63c-.734-.094-1.756-.366-2.878-.736a48.89 48.89 0 0 1-2.482-.902Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--thumb-up-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M8.993 5.163c.169 1.423-.062 2.907-.576 4.239c-.569 1.474-1.325 3.07-1.419 4.657c-.079 1.337.224 2.919 1.032 4.002C8.915 19.247 10.368 20 11.967 20h1.512a5 5 0 0 0 4.983-4.585l.361-4.332A1 1 0 0 0 17.826 10H12.5a1.503 1.503 0 0 1-1.501-1.492c-.008-.97.053-2.167-.393-3.06c-.4-.8-.774-.948-1.106-.948c-.3 0-.54.393-.507.663M9.5 2.5c1.356 0 2.294.852 2.895 2.053c.522 1.045.571 2.3.597 3.447h4.834a3 3 0 0 1 2.99 3.25l-.361 4.331A7 7 0 0 1 13.479 22h-1.512A6.937 6.937 0 0 1 6.9 19.822A5.54 5.54 0 0 1 5.5 20c-1.108 0-2.028-.62-2.624-1.608C2.296 17.432 2 16.107 2 14.5c0-1.606.297-2.931.876-3.891C3.472 9.62 4.392 9 5.5 9c.281 0 .579.05.877.134c.458-1.2.784-2.437.63-3.735C6.835 3.954 8.016 2.5 9.5 2.5m-3.804 8.524c-.485-.1-.865.216-1.107.618C4.263 12.182 4 13.106 4 14.5c0 1.394.263 2.319.588 2.859c.31.512.64.641.912.641c.064 0 .127-.002.19-.005c-.536-1.208-.766-2.74-.688-4.054c.047-.805.361-1.918.694-2.917'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--twitter-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M17.817 6.989c-.353-.508-1.297-1.222-2.826-.914c-.892.179-1.425.62-1.764 1.202c-.361.62-.536 1.463-.536 2.444a1 1 0 0 1-1 1c-2.366 0-4.618-.703-6.513-2.604a10.52 10.52 0 0 0-.168 2.34c.053 1.086.312 2.175.927 3.108c.605.917 1.6 1.757 3.264 2.285a1 1 0 0 1 .41 1.655a8.52 8.52 0 0 1-1.796 1.405c1.06.11 2.082.118 3.03.032c1.92-.174 3.449-.723 4.405-1.5c2.013-1.632 3.09-4.066 2.89-8.144c-.034-.67.613-1.393.925-1.942c-.471.088-.943.072-1.248-.367M4.594 4.984a1 1 0 0 1 .941.429C7.011 7.572 8.783 8.47 10.75 8.674c.096-.841.323-1.672.75-2.404c.626-1.074 1.644-1.864 3.098-2.156c2.01-.404 3.54.324 4.427 1.215l1.792-.335a1 1 0 0 1 1.053 1.478l-1.72 3.022c.157 4.361-1.055 7.405-3.639 9.502c-1.37 1.112-3.332 1.743-5.485 1.938c-2.17.196-4.623-.041-7.061-.753a1 1 0 0 1 .007-1.922c1.226-.349 2.16-.65 3.003-1.177c-1.199-.636-2.082-1.468-2.707-2.416c-.868-1.318-1.19-2.788-1.254-4.113c-.064-1.325.127-2.553.329-3.438c.115-.505.249-1.011.434-1.495a1 1 0 0 1 .818-.636Z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--up-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11.293 8.293a1 1 0 0 1 1.414 0l5.657 5.657a1 1 0 0 1-1.414 1.414L12 10.414l-4.95 4.95a1 1 0 0 1-1.414-1.414z'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--user-4-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10a9.959 9.959 0 0 1-2.258 6.33l.02.022l-.132.112A9.978 9.978 0 0 1 12 22c-2.95 0-5.6-1.277-7.43-3.307l-.2-.23l-.132-.11l.02-.024A9.958 9.958 0 0 1 2 12C2 6.477 6.477 2 12 2m0 15c-1.86 0-3.541.592-4.793 1.406A7.965 7.965 0 0 0 12 20a7.965 7.965 0 0 0 4.793-1.594A8.897 8.897 0 0 0 12 17m0-13a8 8 0 0 0-6.258 12.984C7.363 15.821 9.575 15 12 15s4.637.821 6.258 1.984A8 8 0 0 0 12 4m0 2a4 4 0 1 1 0 8a4 4 0 0 1 0-8m0 2a2 2 0 1 0 0 4a2 2 0 0 0 0-4'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--user-visible-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036c-.01-.003-.019 0-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M11 2a5 5 0 1 0 0 10a5 5 0 0 0 0-10M8 7a3 3 0 1 1 6 0a3 3 0 0 1-6 0m2.337 8.021a1 1 0 0 0-.127-1.996c-2.21.14-4.195.858-5.651 1.813c-.728.478-1.348 1.031-1.796 1.63C2.32 17.057 2 17.755 2 18.5c0 1.535 1.278 2.346 2.495 2.763c1.28.439 2.99.638 4.832.707a1 1 0 0 0 .075-1.998c-1.791-.068-3.263-.26-4.258-.6c-.932-.32-1.11-.635-1.139-.81L4 18.5c0-.168.079-.454.363-.834c.279-.372.712-.774 1.293-1.156c1.161-.761 2.812-1.37 4.68-1.489ZM17 13.89c1.406 0 2.632.632 3.49 1.39a5.3 5.3 0 0 1 1.057 1.259c.252.427.453.94.453 1.462c0 .523-.2 1.035-.453 1.462a5.3 5.3 0 0 1-1.057 1.26c-.858.757-2.084 1.39-3.49 1.39c-1.406 0-2.632-.633-3.49-1.39a5.3 5.3 0 0 1-1.057-1.26C12.2 19.035 12 18.522 12 18c0-.523.2-1.035.453-1.462a5.3 5.3 0 0 1 1.057-1.26c.858-.757 2.084-1.39 3.49-1.39Zm0 2c-.803 0-1.577.368-2.167.889a3.31 3.31 0 0 0-.657.775a1.536 1.536 0 0 0-.155.339l-.02.087v.042l.02.087c.023.077.068.19.155.34c.144.243.366.517.657.774c.59.52 1.364.89 2.167.89c.803 0 1.577-.37 2.167-.89a3.31 3.31 0 0 0 .657-.775c.087-.148.132-.262.155-.339l.02-.087A.176.176 0 0 0 20 18l-.008-.058a1.376 1.376 0 0 0-.168-.39a3.31 3.31 0 0 0-.657-.774c-.59-.52-1.364-.89-2.167-.89Zm.087 1.115a.667.667 0 0 0 .91.91l.003.086a1 1 0 1 1-.913-.996'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--warning-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16m0 11a1 1 0 1 1 0 2a1 1 0 0 1 0-2m0-9a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--wechat-fill\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M16 10c3.154 0 6 2.186 6 5.213c0 1.696-.92 3.153-2.26 4.08c-.044.265-.008.532-.008.799a.903.903 0 0 1-.897.908c-.68 0-1.31-.224-1.843-.645a6.895 6.895 0 0 1-.992.071c-3.154 0-6-2.186-6-5.213S12.846 10 16 10M9.5 3c3.777 0 7.149 2.535 7.474 6.062A7.686 7.686 0 0 0 16 9c-3.533 0-7 2.473-7 6.209c0 .354.031.697.09 1.027a8.506 8.506 0 0 1-.926-.094c-.67.549-1.443.858-2.31.858c-.518 0-.937-.434-.937-.97l.004-.197l.017-.397a2.103 2.103 0 0 0-.055-.59C3.17 13.667 2 11.794 2 9.624C2 5.807 5.525 3 9.5 3M14 13a1 1 0 1 0 0 2a1 1 0 0 0 0-2m4 0a1 1 0 1 0 0 2a1 1 0 0 0 0-2M7 6a1 1 0 1 0 0 2a1 1 0 0 0 0-2m5 0a1 1 0 1 0 0 2a1 1 0 0 0 0-2'/%3E%3C/g%3E%3C/svg%3E")}.icon-\[mingcute--weibo-line\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none'%3E%3Cpath d='M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M13.12 5.815c.55.537.826 1.24.863 1.992c1.675-.502 3.045-.362 3.937.5c.848.82.937 1.967.617 2.964C19.9 11.961 21 13.058 21 14.715c0 1.93-1.256 3.526-2.962 4.586C16.318 20.371 14.004 21 11.5 21c-2.504 0-4.818-.63-6.538-1.699C3.256 18.241 2 16.646 2 14.715c0-1.762.842-3.589 2.05-5.156a14.557 14.557 0 0 1 4.723-3.954c1.635-.847 3.286-.828 4.347.21m-1.399 1.43c-.213-.21-.829-.485-2.028.136a12.558 12.558 0 0 0-4.06 3.4C4.576 12.154 4 13.558 4 14.715c0 .988.647 2.035 2.018 2.888C7.374 18.446 9.309 19 11.5 19c2.19 0 4.127-.554 5.482-1.397c1.371-.853 2.018-1.9 2.018-2.888c0-.711-.56-1.439-2.16-1.991a1 1 0 0 1-.473-1.546c.495-.66.355-1.248.163-1.433l-.048-.04l-.067-.042c-.337-.186-1.274-.368-3.335.661a1 1 0 0 1-1.347-1.33c.444-.92.225-1.517-.012-1.75ZM17 3c1.576 0 3.128.643 4.243 1.757A6.054 6.054 0 0 1 23 9a1 1 0 1 1-2 0c0-1.05-.429-2.086-1.172-2.828A4.036 4.036 0 0 0 17 5a1 1 0 1 1 0-2'/%3E%3C/g%3E%3C/svg%3E")}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.alert{display:grid;width:100%;grid-auto-flow:row;align-content:flex-start;align-items:center;justify-items:center;gap:1rem;text-align:center;border-radius:var(--rounded-box, 1rem);border-width:1px;--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));padding:1rem;--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--alert-bg: var(--fallback-b2,oklch(var(--b2)/1));--alert-bg-mix: var(--fallback-b1,oklch(var(--b1)/1));background-color:var(--alert-bg)}@media (min-width: 640px){.alert{grid-auto-flow:column;grid-template-columns:auto minmax(auto,1fr);justify-items:start;text-align:start}}.\!avatar{position:relative!important;display:inline-flex!important}.avatar{position:relative;display:inline-flex}.\!avatar>div{display:block!important;aspect-ratio:1 / 1!important;overflow:hidden!important}.avatar>div{display:block;aspect-ratio:1 / 1;overflow:hidden}.\!avatar img{height:100%!important;width:100%!important;-o-object-fit:cover!important;object-fit:cover!important}.avatar img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.\!avatar.placeholder>div{display:flex!important;align-items:center!important;justify-content:center!important}.avatar.placeholder>div{display:flex;align-items:center;justify-content:center}.badge{display:inline-flex;align-items:center;justify-content:center;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);transition-duration:.2s;height:1.25rem;font-size:.875rem;line-height:1.25rem;width:-moz-fit-content;width:fit-content;padding-left:.563rem;padding-right:.563rem;border-radius:var(--rounded-badge, 1.9rem);border-width:1px;--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}@media (hover:hover){.link-hover:hover{text-decoration-line:underline}.checkbox-accent:hover{--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)))}.label a:hover{--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}.menu li>*:not(ul,.menu-title,details,.btn):active,.menu li>*:not(ul,.menu-title,details,.btn).active,.menu li>details>summary:active{--tw-bg-opacity: 1;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)))}.tab:hover{--tw-text-opacity: 1}.table tr.hover:hover,.table tr.hover:nth-child(2n):hover{--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)))}.table-zebra tr.hover:hover,.table-zebra tr.hover:nth-child(2n):hover{--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}}.card{position:relative;display:flex;flex-direction:column;border-radius:var(--rounded-box, 1rem)}.card:focus{outline:2px solid transparent;outline-offset:2px}.card figure{display:flex;align-items:center;justify-content:center}.card.image-full{display:grid}.card.image-full:before{position:relative;content:"";z-index:10;border-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));opacity:.75}.card.image-full:before,.card.image-full>*{grid-column-start:1;grid-row-start:1}.card.image-full>figure img{height:100%;-o-object-fit:cover;object-fit:cover}.card.image-full>.card-body{position:relative;z-index:20;--tw-text-opacity: 1;color:var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)))}.carousel{display:inline-flex;overflow-x:scroll;scroll-snap-type:x mandatory;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none}.checkbox{flex-shrink:0;--chkbg: var(--fallback-bc,oklch(var(--bc)/1));--chkfg: var(--fallback-b1,oklch(var(--b1)/1));height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: .2}.\!collapse:not(td):not(tr):not(colgroup){visibility:visible!important}.collapse:not(td):not(tr):not(colgroup){visibility:visible}.\!collapse{position:relative!important;display:grid!important;overflow:hidden!important;grid-template-rows:auto 0fr!important;transition:grid-template-rows .2s!important;width:100%!important;border-radius:var(--rounded-box, 1rem)!important}.collapse{position:relative;display:grid;overflow:hidden;grid-template-rows:auto 0fr;transition:grid-template-rows .2s;width:100%;border-radius:var(--rounded-box, 1rem)}.collapse-title,.collapse>input[type=checkbox],.collapse>input[type=radio],.collapse-content{grid-column-start:1;grid-row-start:1}.\!collapse>input[type=checkbox],.\!collapse>input[type=radio]{grid-column-start:1!important;grid-row-start:1!important}.collapse>input[type=checkbox],.collapse>input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0}.\!collapse>input[type=checkbox],.\!collapse>input[type=radio]{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;opacity:0!important}.collapse[open],.collapse-open,.collapse:focus:not(.collapse-close){grid-template-rows:auto 1fr}.\!collapse[open],.\!collapse:focus:not(.collapse-close){grid-template-rows:auto 1fr!important}.collapse:not(.collapse-close):has(>input[type=checkbox]:checked),.collapse:not(.collapse-close):has(>input[type=radio]:checked){grid-template-rows:auto 1fr}.\!collapse:not(.collapse-close):has(>input[type=checkbox]:checked),.\!collapse:not(.collapse-close):has(>input[type=radio]:checked){grid-template-rows:auto 1fr!important}.collapse[open]>.collapse-content,.collapse-open>.collapse-content,.collapse:focus:not(.collapse-close)>.collapse-content,.collapse:not(.collapse-close)>input[type=checkbox]:checked~.collapse-content,.collapse:not(.collapse-close)>input[type=radio]:checked~.collapse-content{visibility:visible;min-height:-moz-fit-content;min-height:fit-content}.\!collapse[open]>.collapse-content,.\!collapse:focus:not(.collapse-close)>.collapse-content,.\!collapse:not(.collapse-close)>input[type=checkbox]:checked~.collapse-content,.\!collapse:not(.collapse-close)>input[type=radio]:checked~.collapse-content{visibility:visible!important;min-height:-moz-fit-content!important;min-height:fit-content!important}.diff{position:relative;display:grid;width:100%;overflow:hidden;container-type:inline-size;grid-template-columns:auto 1fr}.divider{display:flex;flex-direction:row;align-items:center;align-self:stretch;margin-top:1rem;margin-bottom:1rem;height:1rem;white-space:nowrap}.divider:before,.divider:after{height:.125rem;width:100%;flex-grow:1;--tw-content: "";content:var(--tw-content);background-color:var(--fallback-bc,oklch(var(--bc)/.1))}@media (hover: hover){.btm-nav>*.disabled:hover,.btm-nav>*[disabled]:hover{pointer-events:none;--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}:where(.menu li:not(.menu-title,.disabled)>*:not(ul,details,.menu-title)):not(.active,.btn):hover,:where(.menu li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.active,.btn):hover{cursor:pointer;outline:2px solid transparent;outline-offset:2px}@supports (color: oklch(0 0 0)){:where(.menu li:not(.menu-title,.disabled)>*:not(ul,details,.menu-title)):not(.active,.btn):hover,:where(.menu li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.active,.btn):hover{background-color:var(--fallback-bc,oklch(var(--bc)/.1))}}.tab[disabled],.tab[disabled]:hover{cursor:not-allowed;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}}.footer{display:grid;width:100%;grid-auto-flow:row;place-items:start;-moz-column-gap:1rem;column-gap:1rem;row-gap:2.5rem;font-size:.875rem;line-height:1.25rem}.footer>*{display:grid;place-items:start;gap:.5rem}@media (min-width: 48rem){.footer{grid-auto-flow:column}.footer-center{grid-auto-flow:row dense}}.label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding:.5rem .25rem}.indicator{position:relative;display:inline-flex;width:-moz-max-content;width:max-content}.indicator :where(.indicator-item){z-index:1;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));white-space:nowrap}.input{flex-shrink:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:2;line-height:1.5rem;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.input[type=number]::-webkit-inner-spin-button,.input-md[type=number]::-webkit-inner-spin-button{margin-top:-1rem;margin-bottom:-1rem;margin-inline-end:-1rem}.input-sm[type=number]::-webkit-inner-spin-button{margin-top:0;margin-bottom:0;margin-inline-end:-0px}.join{display:inline-flex;align-items:stretch;border-radius:var(--rounded-btn, .5rem)}.join :where(.join-item){border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:0;border-start-start-radius:0}.join .join-item:not(:first-child):not(:last-child),.join *:not(:first-child):not(:last-child) .join-item{border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:0;border-start-start-radius:0}.join .join-item:first-child:not(:last-child),.join *:first-child:not(:last-child) .join-item{border-start-end-radius:0;border-end-end-radius:0}.join .dropdown .join-item:first-child:not(:last-child),.join *:first-child:not(:last-child) .dropdown .join-item{border-start-end-radius:inherit;border-end-end-radius:inherit}.join :where(.join-item:first-child:not(:last-child)),.join :where(*:first-child:not(:last-child) .join-item){border-end-start-radius:inherit;border-start-start-radius:inherit}.join .join-item:last-child:not(:first-child),.join *:last-child:not(:first-child) .join-item{border-end-start-radius:0;border-start-start-radius:0}.join :where(.join-item:last-child:not(:first-child)),.join :where(*:last-child:not(:first-child) .join-item){border-start-end-radius:inherit;border-end-end-radius:inherit}@supports not selector(:has(*)){:where(.join *){border-radius:inherit}}@supports selector(:has(*)){:where(.join *:has(.join-item)){border-radius:inherit}}.kbd{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: .2;--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));padding-left:.5rem;padding-right:.5rem;border-bottom-width:2px;min-height:2.2em;min-width:2.2em}.link{cursor:pointer;text-decoration-line:underline}.link-hover{text-decoration-line:none}.mask{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.menu{display:flex;flex-direction:column;flex-wrap:wrap;font-size:.875rem;line-height:1.25rem;padding:.5rem}.menu :where(li ul){position:relative;white-space:nowrap;margin-inline-start:1rem;padding-inline-start:.5rem}.menu :where(li:not(.menu-title)>*:not(ul,details,.menu-title,.btn)),.menu :where(li:not(.menu-title)>details>summary:not(.menu-title)){display:grid;grid-auto-flow:column;align-content:flex-start;align-items:center;gap:.5rem;grid-auto-columns:minmax(auto,max-content) auto max-content;-webkit-user-select:none;-moz-user-select:none;user-select:none}.menu li.disabled{cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--fallback-bc,oklch(var(--bc)/.3))}.menu :where(li>.menu-dropdown:not(.menu-dropdown-show)){display:none}:where(.menu li){position:relative;display:flex;flex-shrink:0;flex-direction:column;flex-wrap:wrap;align-items:stretch}:where(.menu li) .badge{justify-self:end}.mockup-window{position:relative;overflow:hidden;overflow-x:auto;display:flex;flex-direction:column;border-radius:var(--rounded-box, 1rem);padding-top:1.25rem}.mockup-window pre[data-prefix]:before{content:attr(data-prefix);display:inline-block;text-align:right}.modal{pointer-events:none;position:fixed;inset:0;margin:0;display:grid;height:100%;max-height:none;width:100%;max-width:none;justify-items:center;padding:0;opacity:0;overscroll-behavior:contain;z-index:999;background-color:transparent;color:inherit;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);transition-property:transform,opacity,visibility;overflow-y:hidden}:where(.modal){align-items:center}.modal-open,.modal:target,.modal-toggle:checked+.modal,.modal[open]{pointer-events:auto;visibility:visible;opacity:1}:root:has(:is(.modal-open,.modal:target,.modal-toggle:checked+.modal,.modal[open])){overflow:hidden}.range{height:1.5rem;width:100%;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;--range-shdw: var(--fallback-bc,oklch(var(--bc)/1));overflow:hidden;border-radius:var(--rounded-box, 1rem);background-color:transparent}.range:focus{outline:none}.select{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;min-height:3rem;padding-left:1rem;padding-right:2.5rem;font-size:.875rem;line-height:1.25rem;line-height:2;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16.1px) calc(1px + 50%);background-size:4px 4px,4px 4px;background-repeat:no-repeat}.select[multiple]{height:auto}.stack{display:inline-grid;place-items:center;align-items:flex-end}.stack>*{grid-column-start:1;grid-row-start:1;transform:translateY(10%) scale(.9);z-index:1;width:100%;opacity:.6}.stack>*:nth-child(2){transform:translateY(5%) scale(.95);z-index:2;opacity:.8}.stack>*:nth-child(1){transform:translateY(0) scale(1);z-index:3;opacity:1}.stats{display:inline-grid;border-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}:where(.stats){grid-auto-flow:column;overflow-x:auto}.\!stat{display:inline-grid!important;width:100%!important;grid-template-columns:repeat(1,1fr)!important;-moz-column-gap:1rem!important;column-gap:1rem!important;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)))!important;--tw-border-opacity: .1 !important;padding:1rem 1.5rem!important}.stat{display:inline-grid;width:100%;grid-template-columns:repeat(1,1fr);-moz-column-gap:1rem;column-gap:1rem;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: .1;padding:1rem 1.5rem}.tabs-lifted:has(.tab-content[class^=rounded-]) .tab:first-child:not(.tab-active),.tabs-lifted:has(.tab-content[class*=" rounded-"]) .tab:first-child:not(.tab-active){border-bottom-color:transparent}.tab{position:relative;grid-row-start:1;display:inline-flex;height:2rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center;font-size:.875rem;line-height:1.25rem;line-height:2;--tab-padding: 1rem;--tw-text-opacity: .5;--tab-color: var(--fallback-bc,oklch(var(--bc)/1));--tab-bg: var(--fallback-b1,oklch(var(--b1)/1));--tab-border-color: var(--fallback-b3,oklch(var(--b3)/1));color:var(--tab-color);padding-inline-start:var(--tab-padding, 1rem);padding-inline-end:var(--tab-padding, 1rem)}.tab:is(input[type=radio]){width:auto;border-bottom-right-radius:0;border-bottom-left-radius:0}.tab:is(input[type=radio]):after{--tw-content: attr(aria-label);content:var(--tw-content)}.tab:not(input):empty{cursor:default;grid-column-start:span 9999}input.tab:checked+.tab-content,.tab-active+.tab-content{display:block}.table{position:relative;width:100%;border-radius:var(--rounded-box, 1rem);text-align:left;font-size:.875rem;line-height:1.25rem}.table :where(.table-pin-rows thead tr){position:sticky;top:0;z-index:1;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.table :where(.table-pin-rows tfoot tr){position:sticky;bottom:0;z-index:1;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.table :where(.table-pin-cols tr th){position:sticky;left:0;right:0;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.table-zebra tbody tr:nth-child(2n) :where(.table-pin-cols tr th){--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)))}.textarea{min-height:3rem;flex-shrink:1;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;line-height:2;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.timeline{position:relative;display:flex}:where(.timeline>li){position:relative;display:grid;flex-shrink:0;align-items:center;grid-template-rows:var(--timeline-row-start, minmax(0, 1fr)) auto var( --timeline-row-end, minmax(0, 1fr) );grid-template-columns:var(--timeline-col-start, minmax(0, 1fr)) auto var( --timeline-col-end, minmax(0, 1fr) )}.timeline>li>hr{width:100%;border-width:0px}:where(.timeline>li>hr):first-child{grid-column-start:1;grid-row-start:2}:where(.timeline>li>hr):last-child{grid-column-start:3;grid-column-end:none;grid-row-start:2;grid-row-end:auto}.toast{position:fixed;display:flex;min-width:-moz-fit-content;min-width:fit-content;flex-direction:column;white-space:nowrap;gap:.5rem;padding:1rem}.toggle{flex-shrink:0;--tglbg: var(--fallback-b1,oklch(var(--b1)/1));--handleoffset: 1.5rem;--handleoffsetcalculator: calc(var(--handleoffset) * -1);--togglehandleborder: 0 0;height:1.5rem;width:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rounded-badge, 1.9rem);border-width:1px;border-color:currentColor;background-color:currentColor;color:var(--fallback-bc,oklch(var(--bc)/.5));transition:background,box-shadow var(--animation-input, .2s) ease-out;box-shadow:var(--handleoffsetcalculator) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset,var(--togglehandleborder)}.avatar-group :where(.\!avatar){overflow:hidden!important;border-radius:9999px!important;border-width:4px!important;--tw-border-opacity: 1 !important;border-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-border-opacity)))!important}.avatar-group :where(.avatar){overflow:hidden;border-radius:9999px;border-width:4px;--tw-border-opacity: 1;border-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-border-opacity)))}.btm-nav>*:where(.active){border-top-width:2px;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.btm-nav>*.disabled,.btm-nav>*[disabled]{pointer-events:none;--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.btm-nav>* .label{font-size:1rem;line-height:1.5rem}@supports not (color: oklch(0 0 0)){.prose :where(code):not(:where([class~=not-prose] *,pre *)){background-color:var(--fallback-b3,oklch(var(--b3)/1))}}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale, .98))}40%{transform:scale(1.02)}to{transform:scale(1)}}.card :where(figure:first-child){overflow:hidden;border-start-start-radius:inherit;border-start-end-radius:inherit;border-end-start-radius:unset;border-end-end-radius:unset}.card :where(figure:last-child){overflow:hidden;border-start-start-radius:unset;border-start-end-radius:unset;border-end-start-radius:inherit;border-end-end-radius:inherit}.card:focus-visible{outline:2px solid currentColor;outline-offset:2px}.card.bordered{border-width:1px;--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)))}.card.compact .card-body{padding:1rem;font-size:.875rem;line-height:1.25rem}.card.image-full :where(figure){overflow:hidden;border-radius:inherit}.carousel::-webkit-scrollbar{display:none}.checkbox:focus{box-shadow:none}.checkbox:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.checkbox:checked,.checkbox[checked=true],.checkbox[aria-checked=true]{background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-out;background-color:var(--chkbg);background-image:linear-gradient(-45deg,transparent 65%,var(--chkbg) 65.99%),linear-gradient(45deg,transparent 75%,var(--chkbg) 75.99%),linear-gradient(-45deg,var(--chkbg) 40%,transparent 40.99%),linear-gradient(45deg,var(--chkbg) 30%,var(--chkfg) 30.99%,var(--chkfg) 40%,transparent 40.99%),linear-gradient(-45deg,var(--chkfg) 50%,var(--chkbg) 50.99%)}.checkbox:indeterminate{--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-out;background-image:linear-gradient(90deg,transparent 80%,var(--chkbg) 80%),linear-gradient(-90deg,transparent 80%,var(--chkbg) 80%),linear-gradient(0deg,var(--chkbg) 43%,var(--chkfg) 43%,var(--chkfg) 57%,var(--chkbg) 57%)}.checkbox-accent{--chkbg: var(--fallback-a,oklch(var(--a)/1));--chkfg: var(--fallback-ac,oklch(var(--ac)/1));--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)))}.checkbox-accent:focus-visible{outline-color:var(--fallback-a,oklch(var(--a)/1))}.checkbox-accent:checked,.checkbox-accent[checked=true],.checkbox-accent[aria-checked=true]{--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-a,oklch(var(--a)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-ac,oklch(var(--ac)/var(--tw-text-opacity)))}.checkbox:disabled{cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));opacity:.2}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}details.\!collapse{width:100%!important}details.collapse{width:100%}details.\!collapse summary{position:relative!important;display:block!important;outline:2px solid transparent!important;outline-offset:2px!important}details.collapse summary{position:relative;display:block;outline:2px solid transparent;outline-offset:2px}details.\!collapse summary::-webkit-details-marker{display:none!important}details.collapse summary::-webkit-details-marker{display:none}.\!collapse:focus-visible{outline-style:solid!important;outline-width:2px!important;outline-offset:2px!important;outline-color:var(--fallback-bc,oklch(var(--bc)/1))!important}.collapse:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.collapse:has(.collapse-title:focus-visible),.collapse:has(>input[type=checkbox]:focus-visible),.collapse:has(>input[type=radio]:focus-visible){outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.\!collapse:has(.collapse-title:focus-visible),.\!collapse:has(>input[type=checkbox]:focus-visible),.\!collapse:has(>input[type=radio]:focus-visible){outline-style:solid!important;outline-width:2px!important;outline-offset:2px!important;outline-color:var(--fallback-bc,oklch(var(--bc)/1))!important}.collapse:not(.collapse-open):not(.collapse-close)>input[type=checkbox],.collapse:not(.collapse-open):not(.collapse-close)>input[type=radio]:not(:checked),.collapse:not(.collapse-open):not(.collapse-close)>.collapse-title{cursor:pointer}.\!collapse:not(.collapse-open):not(.collapse-close)>input[type=checkbox],.\!collapse:not(.collapse-open):not(.collapse-close)>input[type=radio]:not(:checked),.\!collapse:not(.collapse-open):not(.collapse-close)>.collapse-title{cursor:pointer!important}.\!collapse:focus:not(.collapse-open):not(.collapse-close):not(.\!collapse[open])>.collapse-title{cursor:unset!important}.collapse:focus:not(.collapse-open):not(.collapse-close):not(.collapse[open])>.collapse-title{cursor:unset}:where(.collapse>input[type=checkbox]),:where(.collapse>input[type=radio]){z-index:1}:where(.\!collapse>input[type=checkbox]),:where(.\!collapse>input[type=radio]){z-index:1!important}.collapse-title,:where(.collapse>input[type=checkbox]),:where(.collapse>input[type=radio]){width:100%;padding:1rem;padding-inline-end:3rem;min-height:3.75rem;transition:background-color .2s ease-out}:where(.\!collapse>input[type=checkbox]),:where(.\!collapse>input[type=radio]){width:100%!important;padding:1rem!important;padding-inline-end:3rem!important;min-height:3.75rem!important;transition:background-color .2s ease-out!important}.collapse[open]>:where(.collapse-content),.collapse-open>:where(.collapse-content),.collapse:focus:not(.collapse-close)>:where(.collapse-content),.collapse:not(.collapse-close)>:where(input[type=checkbox]:checked~.collapse-content),.collapse:not(.collapse-close)>:where(input[type=radio]:checked~.collapse-content){padding-bottom:1rem;transition:padding .2s ease-out,background-color .2s ease-out}.\!collapse[open]>:where(.collapse-content),.\!collapse:focus:not(.collapse-close)>:where(.collapse-content),.\!collapse:not(.collapse-close)>:where(input[type=checkbox]:checked~.collapse-content),.\!collapse:not(.collapse-close)>:where(input[type=radio]:checked~.collapse-content){padding-bottom:1rem!important;transition:padding .2s ease-out,background-color .2s ease-out!important}.\!collapse[open].collapse-arrow>.collapse-title:after{--tw-translate-y: -50% !important;--tw-rotate: 225deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.collapse[open].collapse-arrow>.collapse-title:after,.collapse-open.collapse-arrow>.collapse-title:after,.collapse-arrow:focus:not(.collapse-close)>.collapse-title:after,.collapse-arrow:not(.collapse-close)>input[type=checkbox]:checked~.collapse-title:after,.collapse-arrow:not(.collapse-close)>input[type=radio]:checked~.collapse-title:after{--tw-translate-y: -50%;--tw-rotate: 225deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\!collapse[open].collapse-plus>.collapse-title:after{content:"−"!important}.collapse[open].collapse-plus>.collapse-title:after,.collapse-open.collapse-plus>.collapse-title:after,.collapse-plus:focus:not(.collapse-close)>.collapse-title:after,.collapse-plus:not(.collapse-close)>input[type=checkbox]:checked~.collapse-title:after,.collapse-plus:not(.collapse-close)>input[type=radio]:checked~.collapse-title:after{content:"−"}.divider:not(:empty){gap:1rem}.label-text{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}.input input{--tw-bg-opacity: 1;background-color:var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));background-color:transparent}.input input:focus{outline:2px solid transparent;outline-offset:2px}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input:focus,.input:focus-within{box-shadow:none;border-color:var(--fallback-bc,oklch(var(--bc)/.2));outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/.2))}.input-disabled,.input:disabled,.input[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));color:var(--fallback-bc,oklch(var(--bc)/.4))}.input-disabled::-moz-placeholder,.input:disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.input-disabled::placeholder,.input:disabled::placeholder,.input[disabled]::placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.input::-webkit-date-and-time-value{text-align:inherit}.join>:where(*:not(:first-child)){margin-top:0;margin-bottom:0;margin-inline-start:-1px}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.loading{pointer-events:none;display:inline-block;aspect-ratio:1 / 1;width:1.5rem;background-color:currentColor;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E")}.loading-spinner{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E")}.loading-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_qM83%7Banimation:spinner_8HQG 1.05s infinite%7D.spinner_oXPr%7Banimation-delay:.1s%7D.spinner_ZTLf%7Banimation-delay:.2s%7D@keyframes spinner_8HQG%7B0%25,57.14%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);transform:translate(0)%7D28.57%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);transform:translateY(-6px)%7D100%25%7Btransform:translate(0)%7D%7D%3C/style%3E%3Ccircle class='spinner_qM83' cx='4' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_oXPr' cx='12' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_ZTLf' cx='20' cy='12' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_qM83%7Banimation:spinner_8HQG 1.05s infinite%7D.spinner_oXPr%7Banimation-delay:.1s%7D.spinner_ZTLf%7Banimation-delay:.2s%7D@keyframes spinner_8HQG%7B0%25,57.14%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);transform:translate(0)%7D28.57%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);transform:translateY(-6px)%7D100%25%7Btransform:translate(0)%7D%7D%3C/style%3E%3Ccircle class='spinner_qM83' cx='4' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_oXPr' cx='12' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_ZTLf' cx='20' cy='12' r='3'/%3E%3C/svg%3E")}.loading-ring{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='%23fff'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1; 20' calcMode='spline' keyTimes='0; 1' keySplines='0.165, 0.84, 0.44, 1' repeatCount='indefinite' /%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1; 0' calcMode='spline' keyTimes='0; 1' keySplines='0.3, 0.61, 0.355, 1' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1; 20' calcMode='spline' keyTimes='0; 1' keySplines='0.165, 0.84, 0.44, 1' repeatCount='indefinite' /%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1; 0' calcMode='spline' keyTimes='0; 1' keySplines='0.3, 0.61, 0.355, 1' repeatCount='indefinite' /%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='%23fff'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1; 20' calcMode='spline' keyTimes='0; 1' keySplines='0.165, 0.84, 0.44, 1' repeatCount='indefinite' /%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1; 0' calcMode='spline' keyTimes='0; 1' keySplines='0.3, 0.61, 0.355, 1' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1; 20' calcMode='spline' keyTimes='0; 1' keySplines='0.165, 0.84, 0.44, 1' repeatCount='indefinite' /%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1; 0' calcMode='spline' keyTimes='0; 1' keySplines='0.3, 0.61, 0.355, 1' repeatCount='indefinite' /%3E%3C/circle%3E%3C/g%3E%3C/svg%3E")}.loading-ball{-webkit-mask-image:url("data:image/svg+xml,%0A%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_rXNP%7Banimation:spinner_YeBj .8s infinite%7D@keyframes spinner_YeBj%7B0%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);cy:5px%7D46.875%25%7Bcy:20px;rx:4px;ry:4px%7D50%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);cy:20.5px;rx:4.8px;ry:3px%7D53.125%25%7Brx:4px;ry:4px%7D100%25%7Bcy:5px%7D%7D%3C/style%3E%3Cellipse class='spinner_rXNP' cx='12' cy='5' rx='4' ry='4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%0A%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_rXNP%7Banimation:spinner_YeBj .8s infinite%7D@keyframes spinner_YeBj%7B0%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);cy:5px%7D46.875%25%7Bcy:20px;rx:4px;ry:4px%7D50%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);cy:20.5px;rx:4.8px;ry:3px%7D53.125%25%7Brx:4px;ry:4px%7D100%25%7Bcy:5px%7D%7D%3C/style%3E%3Cellipse class='spinner_rXNP' cx='12' cy='5' rx='4' ry='4'/%3E%3C/svg%3E")}.loading-sm{width:1.25rem}.loading-lg{width:2.5rem}.mask-squircle{-webkit-mask-image:url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z'/%3e%3c/svg%3e")}:where(.menu li:empty){--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));opacity:.1;margin:.5rem 1rem;height:1px}.menu :where(li ul):before{position:absolute;bottom:.75rem;inset-inline-start:0px;top:.75rem;width:1px;--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));opacity:.1;content:""}.menu :where(li:not(.menu-title)>*:not(ul,details,.menu-title,.btn)),.menu :where(li:not(.menu-title)>details>summary:not(.menu-title)){border-radius:var(--rounded-btn, .5rem);padding:.5rem 1rem;text-align:start;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);transition-duration:.2s;text-wrap:balance}:where(.menu li:not(.menu-title,.disabled)>*:not(ul,details,.menu-title)):not(summary,.active,.btn).focus,:where(.menu li:not(.menu-title,.disabled)>*:not(ul,details,.menu-title)):not(summary,.active,.btn):focus,:where(.menu li:not(.menu-title,.disabled)>*:not(ul,details,.menu-title)):is(summary):not(.active,.btn):focus-visible,:where(.menu li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(summary,.active,.btn).focus,:where(.menu li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(summary,.active,.btn):focus,:where(.menu li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):is(summary):not(.active,.btn):focus-visible{cursor:pointer;background-color:var(--fallback-bc,oklch(var(--bc)/.1));--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));outline:2px solid transparent;outline-offset:2px}.menu li>*:not(ul,.menu-title,details,.btn):active,.menu li>*:not(ul,.menu-title,details,.btn).active,.menu li>details>summary:active{--tw-bg-opacity: 1;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)))}.menu :where(li>details>summary)::-webkit-details-marker{display:none}.menu :where(li>details>summary):after,.menu :where(li>.menu-dropdown-toggle):after{justify-self:end;display:block;margin-top:-.5rem;height:.5rem;width:.5rem;transform:rotate(45deg);transition-property:transform,margin-top;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);content:"";transform-origin:75% 75%;box-shadow:2px 2px;pointer-events:none}.menu :where(li>details[open]>summary):after,.menu :where(li>.menu-dropdown-toggle.menu-dropdown-show):after{transform:rotate(225deg);margin-top:0}.mockup-window:before{content:"";margin-bottom:1rem;display:block;aspect-ratio:1 / 1;height:.75rem;flex-shrink:0;align-self:flex-start;border-radius:9999px;opacity:.3;box-shadow:1.4em 0,2.8em 0,4.2em 0}:is([dir=rtl] .mockup-window):before{align-self:flex-end}.mockup-phone .display{overflow:hidden;border-radius:40px;margin-top:-25px}.mockup-browser .mockup-browser-toolbar .input{position:relative;margin-left:auto;margin-right:auto;display:block;height:1.75rem;width:24rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));padding-left:2rem;direction:ltr}.mockup-browser .mockup-browser-toolbar .input:before{content:"";position:absolute;left:.5rem;top:50%;aspect-ratio:1 / 1;height:.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:2px;border-color:currentColor;opacity:.6}.mockup-browser .mockup-browser-toolbar .input:after{content:"";position:absolute;left:1.25rem;top:50%;height:.5rem;--tw-translate-y: 25%;--tw-rotate: -45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:1px;border-color:currentColor;opacity:.6}.modal:not(dialog:not(.modal-open)),.modal::backdrop{background-color:#0006;animation:modal-pop .2s ease-out}.modal-open .modal-box,.modal-toggle:checked+.modal .modal-box,.modal:target .modal-box,.modal[open] .modal-box{--tw-translate-y: 0px;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes modal-pop{0%{opacity:0}}@keyframes progress-loading{50%{background-position-x:-115%}}@keyframes radiomark{0%{box-shadow:0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset}50%{box-shadow:0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset}to{box-shadow:0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset}}.range:focus-visible::-webkit-slider-thumb{--focus-shadow: 0 0 0 6px var(--fallback-b1,oklch(var(--b1)/1)) inset, 0 0 0 2rem var(--range-shdw) inset}.range:focus-visible::-moz-range-thumb{--focus-shadow: 0 0 0 6px var(--fallback-b1,oklch(var(--b1)/1)) inset, 0 0 0 2rem var(--range-shdw) inset}.range::-webkit-slider-runnable-track{height:.5rem;width:100%;border-radius:var(--rounded-box, 1rem);background-color:var(--fallback-bc,oklch(var(--bc)/.1))}.range::-moz-range-track{height:.5rem;width:100%;border-radius:var(--rounded-box, 1rem);background-color:var(--fallback-bc,oklch(var(--bc)/.1))}.range::-webkit-slider-thumb{position:relative;height:1.5rem;width:1.5rem;border-radius:var(--rounded-box, 1rem);border-style:none;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));appearance:none;-webkit-appearance:none;top:50%;color:var(--range-shdw);transform:translateY(-50%);--filler-size: 100rem;--filler-offset: .6rem;box-shadow:0 0 0 3px var(--range-shdw) inset,var(--focus-shadow, 0 0),calc(var(--filler-size) * -1 - var(--filler-offset)) 0 0 var(--filler-size)}.range::-moz-range-thumb{position:relative;height:1.5rem;width:1.5rem;border-radius:var(--rounded-box, 1rem);border-style:none;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));top:50%;color:var(--range-shdw);--filler-size: 100rem;--filler-offset: .5rem;box-shadow:0 0 0 3px var(--range-shdw) inset,var(--focus-shadow, 0 0),calc(var(--filler-size) * -1 - var(--filler-offset)) 0 0 var(--filler-size)}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.select:focus{box-shadow:none;border-color:var(--fallback-bc,oklch(var(--bc)/.2));outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/.2))}.select-disabled,.select:disabled,.select[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.select-disabled::-moz-placeholder,.select:disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.select-disabled::placeholder,.select:disabled::placeholder,.select[disabled]::placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.select-multiple,.select[multiple],.select[size].select:not([size="1"]){background-image:none;padding-right:1rem}[dir=rtl] .select{background-position:calc(0% + 12px) calc(1px + 50%),calc(0% + 16px) calc(1px + 50%)}.skeleton{border-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));will-change:background-position;animation:skeleton 1.8s ease-in-out infinite;background-image:linear-gradient(105deg,transparent 0%,transparent 40%,var(--fallback-b1,oklch(var(--b1)/1)) 50%,transparent 60%,transparent 100%);background-size:200% auto;background-repeat:no-repeat;background-position-x:-50%}@media (prefers-reduced-motion){.skeleton{animation-duration:15s}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}:where(.stats)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)));--tw-divide-y-reverse: 0;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(0px * var(--tw-divide-y-reverse))}:is([dir=rtl] .stats>:not([hidden])~:not([hidden])){--tw-divide-x-reverse: 1}.tabs-lifted>.tab:focus-visible{border-end-end-radius:0;border-end-start-radius:0}.tab.tab-active:not(.tab-disabled):not([disabled]),.tab:is(input:checked){border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: 1;--tw-text-opacity: 1}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{outline:2px solid currentColor;outline-offset:-5px}.tab-disabled,.tab[disabled]{cursor:not-allowed;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.tabs-bordered>.tab{border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: .2;border-style:solid;border-bottom-width:calc(var(--tab-border, 1px) + 1px)}.tabs-lifted>.tab{border:var(--tab-border, 1px) solid transparent;border-width:0 0 var(--tab-border, 1px) 0;border-start-start-radius:var(--tab-radius, .5rem);border-start-end-radius:var(--tab-radius, .5rem);border-bottom-color:var(--tab-border-color);padding-inline-start:var(--tab-padding, 1rem);padding-inline-end:var(--tab-padding, 1rem);padding-top:var(--tab-border, 1px)}.tabs-lifted>.tab.tab-active:not(.tab-disabled):not([disabled]),.tabs-lifted>.tab:is(input:checked){background-color:var(--tab-bg);border-width:var(--tab-border, 1px) var(--tab-border, 1px) 0 var(--tab-border, 1px);border-inline-start-color:var(--tab-border-color);border-inline-end-color:var(--tab-border-color);border-top-color:var(--tab-border-color);padding-inline-start:calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));padding-inline-end:calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));padding-bottom:var(--tab-border, 1px);padding-top:0}.tabs-lifted>.tab.tab-active:not(.tab-disabled):not([disabled]):before,.tabs-lifted>.tab:is(input:checked):before{z-index:1;content:"";display:block;position:absolute;width:calc(100% + var(--tab-radius, .5rem) * 2);height:var(--tab-radius, .5rem);bottom:0;background-size:var(--tab-radius, .5rem);background-position:top left,top right;background-repeat:no-repeat;--tab-grad: calc(69% - var(--tab-border, 1px));--radius-start: radial-gradient( circle at top left, transparent var(--tab-grad), var(--tab-border-color) calc(var(--tab-grad) + .25px), var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)), var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + .25px) );--radius-end: radial-gradient( circle at top right, transparent var(--tab-grad), var(--tab-border-color) calc(var(--tab-grad) + .25px), var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)), var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + .25px) );background-image:var(--radius-start),var(--radius-end)}.tabs-lifted>.tab.tab-active:not(.tab-disabled):not([disabled]):first-child:before,.tabs-lifted>.tab:is(input:checked):first-child:before{background-image:var(--radius-end);background-position:top right}[dir=rtl] .tabs-lifted>.tab.tab-active:not(.tab-disabled):not([disabled]):first-child:before,[dir=rtl] .tabs-lifted>.tab:is(input:checked):first-child:before{background-image:var(--radius-start);background-position:top left}.tabs-lifted>.tab.tab-active:not(.tab-disabled):not([disabled]):last-child:before,.tabs-lifted>.tab:is(input:checked):last-child:before{background-image:var(--radius-start);background-position:top left}[dir=rtl] .tabs-lifted>.tab.tab-active:not(.tab-disabled):not([disabled]):last-child:before,[dir=rtl] .tabs-lifted>.tab:is(input:checked):last-child:before{background-image:var(--radius-end);background-position:top right}.tabs-lifted>.tab-active:not(.tab-disabled):not([disabled])+.tabs-lifted .tab-active:not(.tab-disabled):not([disabled]):before,.tabs-lifted>.tab:is(input:checked)+.tabs-lifted .tab:is(input:checked):before{background-image:var(--radius-end);background-position:top right}.tabs-boxed .tab{border-radius:var(--rounded-btn, .5rem)}:is([dir=rtl] .table){text-align:right}.table :where(th,td){padding:.75rem 1rem;vertical-align:middle}.table tr.active,.table tr.active:nth-child(2n),.table-zebra tbody tr:nth-child(2n){--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)))}.table-zebra tr.active,.table-zebra tr.active:nth-child(2n),.table-zebra-zebra tbody tr:nth-child(2n){--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}.table :where(thead,tbody) :where(tr:not(:last-child)),.table :where(thead,tbody) :where(tr:first-child:last-child){border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)))}.table :where(thead,tfoot){white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:700;color:var(--fallback-bc,oklch(var(--bc)/.6))}.textarea:focus{box-shadow:none;border-color:var(--fallback-bc,oklch(var(--bc)/.2));outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/.2))}.textarea-disabled,.textarea:disabled,.textarea[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));--tw-text-opacity: .2}.textarea-disabled::-moz-placeholder,.textarea:disabled::-moz-placeholder,.textarea[disabled]::-moz-placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.textarea-disabled::placeholder,.textarea:disabled::placeholder,.textarea[disabled]::placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.timeline hr{height:.25rem}:where(.timeline hr){--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}:where(.timeline:has(.timeline-middle) hr):first-child{border-start-end-radius:var(--rounded-badge, 1.9rem);border-end-end-radius:var(--rounded-badge, 1.9rem);border-start-start-radius:0px;border-end-start-radius:0px}:where(.timeline:has(.timeline-middle) hr):last-child{border-start-start-radius:var(--rounded-badge, 1.9rem);border-end-start-radius:var(--rounded-badge, 1.9rem);border-start-end-radius:0px;border-end-end-radius:0px}:where(.timeline:not(:has(.timeline-middle)) :first-child hr:last-child){border-start-start-radius:var(--rounded-badge, 1.9rem);border-end-start-radius:var(--rounded-badge, 1.9rem);border-start-end-radius:0px;border-end-end-radius:0px}:where(.timeline:not(:has(.timeline-middle)) :last-child hr:first-child){border-start-end-radius:var(--rounded-badge, 1.9rem);border-end-end-radius:var(--rounded-badge, 1.9rem);border-start-start-radius:0px;border-end-start-radius:0px}.toast>*{animation:toast-pop .25s ease-out}@keyframes toast-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}[dir=rtl] .toggle{--handleoffsetcalculator: calc(var(--handleoffset) * 1)}.toggle:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/.2))}.toggle:hover{background-color:currentColor}.toggle:checked,.toggle[checked=true],.toggle[aria-checked=true]{background-image:none;--handleoffsetcalculator: var(--handleoffset);--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}[dir=rtl] .toggle:checked,[dir=rtl] .toggle[checked=true],[dir=rtl] .toggle[aria-checked=true]{--handleoffsetcalculator: calc(var(--handleoffset) * -1)}.toggle:indeterminate{--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));box-shadow:calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset,calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset}[dir=rtl] .toggle:indeterminate{box-shadow:calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset,calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset}.toggle:disabled{cursor:not-allowed;--tw-border-opacity: 1;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));background-color:transparent;opacity:.3;--togglehandleborder: 0 0 0 3px var(--fallback-bc,oklch(var(--bc)/1)) inset, var(--handleoffsetcalculator) 0 0 3px var(--fallback-bc,oklch(var(--bc)/1)) inset}:root .prose{--tw-prose-body: var(--fallback-bc,oklch(var(--bc)/.8));--tw-prose-headings: var(--fallback-bc,oklch(var(--bc)/1));--tw-prose-lead: var(--fallback-bc,oklch(var(--bc)/1));--tw-prose-links: var(--fallback-bc,oklch(var(--bc)/1));--tw-prose-bold: var(--fallback-bc,oklch(var(--bc)/1));--tw-prose-counters: var(--fallback-bc,oklch(var(--bc)/1));--tw-prose-bullets: var(--fallback-bc,oklch(var(--bc)/.5));--tw-prose-hr: var(--fallback-bc,oklch(var(--bc)/.2));--tw-prose-quotes: var(--fallback-bc,oklch(var(--bc)/1));--tw-prose-quote-borders: var(--fallback-bc,oklch(var(--bc)/.2));--tw-prose-captions: var(--fallback-bc,oklch(var(--bc)/.5));--tw-prose-code: var(--fallback-bc,oklch(var(--bc)/1));--tw-prose-pre-code: var(--fallback-nc,oklch(var(--nc)/1));--tw-prose-pre-bg: var(--fallback-n,oklch(var(--n)/1));--tw-prose-th-borders: var(--fallback-bc,oklch(var(--bc)/.5));--tw-prose-td-borders: var(--fallback-bc,oklch(var(--bc)/.2))}.prose :where(code):not(:where([class~=not-prose] *,pre *)){padding:1px 8px;border-radius:var(--rounded-badge);font-weight:initial;background-color:var(--fallback-bc,oklch(var(--bc)/.1))}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{display:none}.prose pre code{border-radius:0;padding:0}.prose :where(tbody tr,thead):not(:where([class~=not-prose] *)){border-bottom-color:var(--fallback-bc,oklch(var(--bc)/.2))}.artboard.phone-1.horizontal,.artboard.phone-1.artboard-horizontal{width:568px;height:320px}.artboard.phone-2.horizontal,.artboard.phone-2.artboard-horizontal{width:667px;height:375px}.artboard.phone-3.horizontal,.artboard.phone-3.artboard-horizontal{width:736px;height:414px}.artboard.phone-4.horizontal,.artboard.phone-4.artboard-horizontal{width:812px;height:375px}.artboard.phone-5.horizontal,.artboard.phone-5.artboard-horizontal{width:896px;height:414px}.artboard.phone-6.horizontal,.artboard.phone-6.artboard-horizontal{width:1024px;height:320px}.btm-nav-xs>*:where(.active){border-top-width:1px}.btm-nav-sm>*:where(.active){border-top-width:2px}.btm-nav-md>*:where(.active){border-top-width:2px}.btm-nav-lg>*:where(.active){border-top-width:4px}[type=checkbox].checkbox-sm{height:1.25rem;width:1.25rem}[type=checkbox].checkbox-md{height:1.5rem;width:1.5rem}.indicator :where(.indicator-item){bottom:auto;inset-inline-end:0px;inset-inline-start:auto;top:0;--tw-translate-y: -50%;--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is([dir=rtl] .indicator :where(.indicator-item)){--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.indicator :where(.indicator-item.indicator-start){inset-inline-end:auto;inset-inline-start:0px;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is([dir=rtl] .indicator :where(.indicator-item.indicator-start)){--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.indicator :where(.indicator-item.indicator-center){inset-inline-end:50%;inset-inline-start:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is([dir=rtl] .indicator :where(.indicator-item.indicator-center)){--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.indicator :where(.indicator-item.indicator-end){inset-inline-end:0px;inset-inline-start:auto;--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is([dir=rtl] .indicator :where(.indicator-item.indicator-end)){--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.indicator :where(.indicator-item.indicator-bottom){bottom:0;top:auto;--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.indicator :where(.indicator-item.indicator-middle){bottom:50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.indicator :where(.indicator-item.indicator-top){bottom:auto;top:0;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.input-sm{height:2rem;padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:2rem}.join.join-vertical{flex-direction:column}.join.join-vertical .join-item:first-child:not(:last-child),.join.join-vertical *:first-child:not(:last-child) .join-item{border-end-start-radius:0;border-end-end-radius:0;border-start-start-radius:inherit;border-start-end-radius:inherit}.join.join-vertical .join-item:last-child:not(:first-child),.join.join-vertical *:last-child:not(:first-child) .join-item{border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:inherit;border-end-end-radius:inherit}.join.join-horizontal{flex-direction:row}.join.join-horizontal .join-item:first-child:not(:last-child),.join.join-horizontal *:first-child:not(:last-child) .join-item{border-end-end-radius:0;border-start-end-radius:0;border-end-start-radius:inherit;border-start-start-radius:inherit}.join.join-horizontal .join-item:last-child:not(:first-child),.join.join-horizontal *:last-child:not(:first-child) .join-item{border-end-start-radius:0;border-start-start-radius:0;border-end-end-radius:inherit;border-start-end-radius:inherit}.tabs-md :where(.tab){height:2rem;font-size:.875rem;line-height:1.25rem;line-height:2;--tab-padding: 1rem}.tabs-lg :where(.tab){height:3rem;font-size:1.125rem;line-height:1.75rem;line-height:2;--tab-padding: 1.25rem}.tabs-sm :where(.tab){height:1.5rem;font-size:.875rem;line-height:.75rem;--tab-padding: .75rem}.tabs-xs :where(.tab){height:1.25rem;font-size:.75rem;line-height:.75rem;--tab-padding: .5rem}:where(.toast){bottom:0;inset-inline-end:0px;inset-inline-start:auto;top:auto;--tw-translate-x: 0px;--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toast:where(.toast-start){inset-inline-end:auto;inset-inline-start:0px;--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toast:where(.toast-center){inset-inline-end:50%;inset-inline-start:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is([dir=rtl] .toast:where(.toast-center)){--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toast:where(.toast-end){inset-inline-end:0px;inset-inline-start:auto;--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toast:where(.toast-bottom){bottom:0;top:auto;--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toast:where(.toast-middle){bottom:auto;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toast:where(.toast-top){bottom:auto;top:0;--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.tooltip{position:relative;display:inline-block;--tooltip-offset: calc(100% + 1px + var(--tooltip-tail, 0px))}.tooltip:before{position:absolute;pointer-events:none;z-index:1;content:var(--tw-content);--tw-content: attr(data-tip)}.tooltip:before,.tooltip-top:before{transform:translate(-50%);top:auto;left:50%;right:auto;bottom:var(--tooltip-offset)}.\!avatar.online:before{content:""!important;position:absolute!important;z-index:10!important;display:block!important;border-radius:9999px!important;--tw-bg-opacity: 1 !important;background-color:var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)))!important;outline-style:solid!important;outline-width:2px!important;outline-color:var(--fallback-b1,oklch(var(--b1)/1))!important;width:15%!important;height:15%!important;top:7%!important;right:7%!important}.avatar.online:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)));outline-style:solid;outline-width:2px;outline-color:var(--fallback-b1,oklch(var(--b1)/1));width:15%;height:15%;top:7%;right:7%}.\!avatar.offline:before{content:""!important;position:absolute!important;z-index:10!important;display:block!important;border-radius:9999px!important;--tw-bg-opacity: 1 !important;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))!important;outline-style:solid!important;outline-width:2px!important;outline-color:var(--fallback-b1,oklch(var(--b1)/1))!important;width:15%!important;height:15%!important;top:7%!important;right:7%!important}.avatar.offline:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));outline-style:solid;outline-width:2px;outline-color:var(--fallback-b1,oklch(var(--b1)/1));width:15%;height:15%;top:7%;right:7%}.join.join-vertical>:where(*:not(:first-child)){margin-left:0;margin-right:0;margin-top:-1px}.join.join-horizontal>:where(*:not(:first-child)){margin-top:0;margin-bottom:0;margin-inline-start:-1px}.tooltip{position:relative;display:inline-block;text-align:center;--tooltip-tail: .1875rem;--tooltip-color: var(--fallback-n,oklch(var(--n)/1));--tooltip-text-color: var(--fallback-nc,oklch(var(--nc)/1));--tooltip-tail-offset: calc(100% + .0625rem - var(--tooltip-tail))}.tooltip:before,.tooltip:after{opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-delay:.1s;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tooltip:after{position:absolute;content:"";border-style:solid;border-width:var(--tooltip-tail, 0);width:0;height:0;display:block}.tooltip:before{max-width:20rem;border-radius:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;background-color:var(--tooltip-color);color:var(--tooltip-text-color);width:-moz-max-content;width:max-content}.tooltip.tooltip-open:before{opacity:1;transition-delay:75ms}.tooltip.tooltip-open:after{opacity:1;transition-delay:75ms}.tooltip:hover:before{opacity:1;transition-delay:75ms}.tooltip:hover:after{opacity:1;transition-delay:75ms}.tooltip:has(:focus-visible):after,.tooltip:has(:focus-visible):before{opacity:1;transition-delay:75ms}.tooltip:not([data-tip]):hover:before,.tooltip:not([data-tip]):hover:after{visibility:hidden;opacity:0}.tooltip:after,.tooltip-top:after{transform:translate(-50%);border-color:var(--tooltip-color) transparent transparent transparent;top:auto;left:50%;right:auto;bottom:var(--tooltip-tail-offset)}.scrollbar-none::-webkit-scrollbar{width:0!important;height:0!important}.shiro-link--underline,.shiro-timeline a{color:currentColor;background-image:linear-gradient(var(--fallback-a,oklch(var(--a)/1)),var(--fallback-a,oklch(var(--a)/1)));background-size:0% 1.5px;background-repeat:no-repeat;text-shadow:.05em 0 var(--fallback-b1,oklch(var(--b1)/1)),-.05em 0 var(--fallback-b1,oklch(var(--b1)/1));transition:all .5s ease;border-width:0px;text-decoration-line:none;background-position:left 1.2em}.shiro-link--underline:hover,.shiro-timeline a:hover{background-size:100% 1.5px;transition:all .25s ease}.shiro-timeline{position:relative}.shiro-timeline a{line-height:1.6}.shiro-timeline{min-width:0px;flex:1 1 0%;list-style-position:inside;justify-content:space-between}.shiro-timeline>li:before{content:"";position:absolute;left:-1.05rem;bottom:0;border-left:1px solid var(--fallback-a,oklch(var(--a)/1))}.shiro-timeline>li:first-child:last-child:before{border-left:0}.shiro-timeline>li:not(:first-child):not(:last-child):before{top:0}.shiro-timeline>li:first-child:before{top:50%}.shiro-timeline>li:last-child:before{bottom:50%;top:0}.shiro-timeline>li{position:relative;list-style-type:none;line-height:1.6;padding:3px 0;margin:0 0 0 1rem}.shiro-timeline>li:after{content:"";left:-1.28rem;top:50%;transform:translateY(-50%);height:.5rem;width:.5rem;border-radius:50%;position:absolute;background-color:var(--fallback-a,oklch(var(--a)/1))}.group:hover .mask-cover{opacity:.5}@keyframes blink{0%{opacity:0}40%{opacity:0}40.1%{opacity:1}99.9%{opacity:1}to{opacity:0}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.\!collapse{visibility:collapse!important}.collapse{visibility:collapse}.static{position:static}.\!fixed{position:fixed!important}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-inset-px{inset:-1px}.inset-0{inset:0}.inset-x-1{left:.25rem;right:.25rem}.-bottom-1{bottom:-.25rem}.-bottom-2{bottom:-.5rem}.-bottom-px{bottom:-1px}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-2{bottom:.5rem}.bottom-20{bottom:5rem}.bottom-4{bottom:1rem}.bottom-\[-150px\]{bottom:-150px}.bottom-\[1px\]{bottom:1px}.bottom-\[1rem\]{bottom:1rem}.bottom-\[3px\]{bottom:3px}.bottom-\[calc\(2rem\+env\(safe-area-inset-bottom\)\)\]{bottom:calc(2rem + env(safe-area-inset-bottom))}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-12{left:3rem}.left-3{left:.75rem}.left-\[-1rem\]{left:-1rem}.left-\[calc\(100vw-3rem-1rem\)\]{left:calc(100vw - 4rem)}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.right-6{right:1.5rem}.right-\[-1\.5rem\]{right:-1.5rem}.right-\[-8px\]{right:-8px}.right-\[1px\]{right:1px}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-20{top:5rem}.top-28{top:7rem}.top-\[-6\.5rem\]{top:-6.5rem}.top-\[120px\]{top:120px}.top-\[1rem\]{top:1rem}.top-\[3px\]{top:3px}.top-\[3rem\]{top:3rem}.top-\[4px\]{top:4px}.top-\[4rem\]{top:4rem}.top-auto{top:auto}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-\[-1\]{z-index:-1}.z-\[10000\]{z-index:10000}.z-\[101\]{z-index:101}.z-\[10\]{z-index:10}.z-\[11\]{z-index:11}.z-\[12\]{z-index:12}.z-\[19\]{z-index:19}.z-\[1\]{z-index:1}.z-\[20\]{z-index:20}.z-\[2\]{z-index:2}.z-\[3\]{z-index:3}.z-\[990\]{z-index:990}.z-\[99\]{z-index:99}.z-\[9\]{z-index:9}.float-right{float:right}.\!m-0{margin:0!important}.-m-4{margin:-1rem}.-m-5{margin:-1.25rem}.m-0{margin:0}.m-auto{margin:auto}.\!mx-0{margin-left:0!important;margin-right:0!important}.\!mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.\!my-0{margin-top:0!important;margin-bottom:0!important}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-\[var\(--padding-h\)\]{margin-left:var(--padding-h);margin-right:var(--padding-h)}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.\!mr-2{margin-right:.5rem!important}.-mb-4{margin-bottom:-1rem}.-ml-4{margin-left:-1rem}.-mr-2{margin-right:-.5rem}.-mt-2{margin-top:-.5rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[1\.5px\]{margin-bottom:1.5px}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-9{margin-left:2.25rem}.ml-\[250px\]{margin-left:250px}.ml-\[2px\]{margin-left:2px}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[10vh\]{margin-top:10vh}.mt-\[120px\]{margin-top:120px}.mt-\[18px\]{margin-top:18px}.mt-\[7\.1rem\]{margin-top:7.1rem}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.line-clamp-none{overflow:visible;display:block;-webkit-box-orient:horizontal;-webkit-line-clamp:none}.block{display:block}.\!inline-block{display:inline-block!important}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.\!inline-flex{display:inline-flex!important}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.\!hidden{display:none!important}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-\[calc\(100\%-var\(--padding\)\)\]{width:calc(100% - var(--padding));height:calc(100% - var(--padding))}.\!h-\[75px\]{height:75px!important}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[0\.5px\]{height:.5px}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[150px\]{height:150px}.h-\[176px\]{height:176px}.h-\[1em\]{height:1em}.h-\[200px\]{height:200px}.h-\[224px\]{height:224px}.h-\[250px\]{height:250px}.h-\[300px\]{height:300px}.h-\[32px\]{height:32px}.h-\[4\.5rem\]{height:4.5rem}.h-\[400px\]{height:400px}.h-\[450px\]{height:450px}.h-\[5\.5rem\]{height:5.5rem}.h-\[500px\]{height:500px}.h-\[50vh\]{height:50vh}.h-\[600px\]{height:600px}.h-\[6px\]{height:6px}.h-\[90vh\]{height:90vh}.h-\[calc\(100vh-15rem\)\]{height:calc(100vh - 15rem)}.h-\[calc\(100vh-6\.5rem-10rem\)\]{height:calc(100vh - 16.5rem)}.h-\[calc\(100vh-6rem-4\.5rem-150px-120px\)\]{height:calc(100vh - 10.5rem - 270px)}.h-\[calc\(70vh-15rem\)\]{height:calc(70vh - 15rem)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.\!max-h-\[100\%\]{max-height:100%!important}.max-h-48{max-height:12rem}.max-h-\[100vh\]{max-height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-\[450px\]{max-height:450px}.max-h-\[50vh\]{max-height:50vh}.max-h-\[600px\]{max-height:600px}.max-h-\[70vh\]{max-height:70vh}.max-h-\[75vh\]{max-height:75vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[95vh\]{max-height:95vh}.max-h-\[calc\(100vh-6rem\)\]{max-height:calc(100vh - 6rem)}.max-h-screen{max-height:100vh}.min-h-0{min-height:0px}.min-h-\[120px\]{min-height:120px}.min-h-\[300px\]{min-height:300px}.min-h-\[400px\]{min-height:400px}.min-h-\[50px\]{min-height:50px}.min-h-screen{min-height:100vh}.\!w-3\/4{width:75%!important}.\!w-\[250px\]{width:250px!important}.\!w-\[50px\]{width:50px!important}.\!w-auto{width:auto!important}.\!w-full{width:100%!important}.w-0{width:0px}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[0\.5px\]{width:.5px}.w-\[100\%\+0\.5rem\]{width:100%+.5rem}.w-\[100rem\]{width:100rem}.w-\[120px\]{width:120px}.w-\[130px\]{width:130px}.w-\[1em\]{width:1em}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[250px\]{width:250px}.w-\[2px\]{width:2px}.w-\[300px\]{width:300px}.w-\[32px\]{width:32px}.w-\[400px\]{width:400px}.w-\[5\.5rem\]{width:5.5rem}.w-\[500px\]{width:500px}.w-\[600px\]{width:600px}.w-\[60ch\]{width:60ch}.w-\[6px\]{width:6px}.w-\[800px\]{width:800px}.w-\[80px\]{width:80px}.w-\[90vw\]{width:90vw}.w-\[calc\(100\%\+2rem\)\]{width:calc(100% + 2rem)}.w-\[calc\(100\%-16px\)\]{width:calc(100% - 16px)}.w-\[calc\(100\%-3rem\)\]{width:calc(100% - 3rem)}.w-auto{width:auto}.w-full{width:100%}.\!min-w-\[auto\]{min-width:auto!important}.min-w-0{min-width:0px}.min-w-\[2rem\]{min-width:2rem}.min-w-\[300px\]{min-width:300px}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-7xl{max-width:80rem}.max-w-\[100vw\]{max-width:100vw}.max-w-\[1200px\]{max-width:1200px}.max-w-\[25rem\]{max-width:25rem}.max-w-\[30vw\]{max-width:30vw}.max-w-\[600px\]{max-width:600px}.max-w-\[800px\]{max-width:800px}.max-w-\[80vw\]{max-width:80vw}.max-w-\[90vw\]{max-width:90vw}.max-w-\[calc\(100\%-3rem\)\]{max-width:calc(100% - 3rem)}.max-w-full{max-width:100%}.max-w-max{max-width:-moz-max-content;max-width:max-content}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.origin-top-left{transform-origin:top left}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-4{--tw-translate-x: -1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-2\/3{--tw-translate-x: 66.666667%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[10px\]{--tw-translate-x: 10px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[8px\]{--tw-translate-x: 8px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[calc\(100\%\+2rem\)\]{--tw-translate-x: calc(100% + 2rem) ;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/4{--tw-translate-y: 25%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[0\.5px\]{--tw-translate-y: .5px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[1px\]{--tw-translate-y: 1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[2px\]{--tw-translate-y: 2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[calc\(100\%\+24px\)\]{--tw-translate-y: calc(100% + 24px) ;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-150{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-50{--tw-scale-y: .5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.break-inside-avoid{-moz-column-break-inside:avoid;break-inside:avoid}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[1fr_2fr\]{grid-template-columns:1fr 2fr}.grid-cols-\[200px_auto\]{grid-template-columns:200px auto}.grid-cols-\[4\.5rem_auto_4\.5rem\]{grid-template-columns:4.5rem auto 4.5rem}.grid-cols-\[40px_300px_auto\]{grid-template-columns:40px 300px auto}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.\!flex-row-reverse{flex-direction:row-reverse!important}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[0_6px_6px_0\]{border-radius:0 6px 6px 0}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-bl-sm{border-bottom-left-radius:.125rem}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-0{border-width:0px}.border-2,.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-b-\[0\.5px\]{border-bottom-width:.5px}.border-l-0{border-left-width:0px}.border-r{border-right-width:1px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.\!border-red-400{--tw-border-opacity: 1 !important;border-color:rgb(248 113 113 / var(--tw-border-opacity))!important}.border-accent{--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)))}.border-accent\/10{border-color:var(--fallback-a,oklch(var(--a)/.1))}.border-accent\/50{border-color:var(--fallback-a,oklch(var(--a)/.5))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}.border-amber-500{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}.border-base-200{--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)))}.border-black\/5{border-color:#0000000d}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-current{border-color:currentColor}.border-gray-400\/80{border-color:#9ca3afcc}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-neutral-400\/50{border-color:#a3a3a380}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-slate-100\/80{border-color:#f1f5f9cc}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-uk-orange-light{--tw-border-opacity: 1;border-color:rgb(255 149 0 / var(--tw-border-opacity))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.border-zinc-200\/70{border-color:#e4e4e7b3}.border-zinc-400\/20{border-color:#a1a1aa33}.border-zinc-900\/10{border-color:#18181b1a}.border-zinc-900\/5{border-color:#18181b0d}.border-x-uk-separator-opaque-light{--tw-border-opacity: 1;border-left-color:rgb(198 198 200 / var(--tw-border-opacity));border-right-color:rgb(198 198 200 / var(--tw-border-opacity))}.\!bg-accent\/10{background-color:var(--fallback-a,oklch(var(--a)/.1))!important}.\!bg-red-600\/50{background-color:#dc262680!important}.\!bg-transparent{background-color:transparent!important}.bg-accent{--tw-bg-opacity: 1;background-color:var(--fallback-a,oklch(var(--a)/var(--tw-bg-opacity)))}.bg-accent\/10{background-color:var(--fallback-a,oklch(var(--a)/.1))}.bg-accent\/20{background-color:var(--fallback-a,oklch(var(--a)/.2))}.bg-accent\/5{background-color:var(--fallback-a,oklch(var(--a)/.05))}.bg-accent\/80{background-color:var(--fallback-a,oklch(var(--a)/.8))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.bg-base-100{--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.bg-base-100\/60{background-color:var(--fallback-b1,oklch(var(--b1)/.6))}.bg-base-100\/90{background-color:var(--fallback-b1,oklch(var(--b1)/.9))}.bg-base-200\/30{background-color:var(--fallback-b2,oklch(var(--b2)/.3))}.bg-base-200\/70{background-color:var(--fallback-b2,oklch(var(--b2)/.7))}.bg-base-300{--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-current{background-color:currentColor}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-100\/80{background-color:#f3f4f6cc}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-200\/50{background-color:#e5e7eb80}.bg-gray-200\/80{background-color:#e5e7ebcc}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-800\/80{background-color:#1f2937cc}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-neutral-800\/40{background-color:#26262666}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-rose-100{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.bg-stone-600{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.bg-themed-bg_opacity{background-color:var(--bg-opacity)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/60{background-color:#fff9}.bg-white\/80{background-color:#fffc}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-zinc-300{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.bg-zinc-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-zinc-50\/80{background-color:#fafafacc}.bg-zinc-50\/90{background-color:#fafafae6}.bg-zinc-600\/5{background-color:#52525b0d}.\!bg-opacity-30{--tw-bg-opacity: .3 !important}.bg-opacity-0{--tw-bg-opacity: 0}.bg-opacity-10{--tw-bg-opacity: .1}.\!bg-none{background-image:none!important}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-accent\/0{--tw-gradient-from: var(--fallback-a,oklch(var(--a)/0)) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-zinc-50\/50{--tw-gradient-from: rgb(250 250 250 / .5) var(--tw-gradient-from-position);--tw-gradient-to: rgb(250 250 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-zinc-50\/70{--tw-gradient-from: rgb(250 250 250 / .7) var(--tw-gradient-from-position);--tw-gradient-to: rgb(250 250 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-accent\/70{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--fallback-a,oklch(var(--a)/.7)) var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-accent\/0{--tw-gradient-to: var(--fallback-a,oklch(var(--a)/0)) var(--tw-gradient-to-position)}.to-white\/90{--tw-gradient-to: rgb(255 255 255 / .9) var(--tw-gradient-to-position)}.bg-cover{background-size:cover}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.fill-black{fill:#000}.fill-current{fill:currentColor}.stroke-current{stroke:currentColor}.stroke-\[0\.25mm\]{stroke-width:.25mm}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.\!p-0{padding:0!important}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[2px\]{padding:2px}.p-\[2rem_1rem\]{padding:2rem 1rem}.p-\[3px\]{padding:3px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[calc\(theme\(spacing\.2\)-1px\)\]{padding-top:calc(.5rem - 1px);padding-bottom:calc(.5rem - 1px)}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-24{padding-bottom:6rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-8{padding-bottom:2rem}.pb-\[300px\]{padding-bottom:300px}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pr-1{padding-right:.25rem}.pr-6{padding-right:1.5rem}.pr-7{padding-right:1.75rem}.pr-8{padding-right:2rem}.pr-\[3px\]{padding-right:3px}.pt-2{padding-top:.5rem}.pt-8{padding-top:2rem}.pt-\[4\.5rem\]{padding-top:4.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.align-top{vertical-align:top}.align-text-bottom{vertical-align:text-bottom}.font-\[system-ui\]{font-family:system-ui}.font-mono{font-family:OperatorMonoSSmLig Nerd Font,Cascadia Code PL,FantasqueSansMono Nerd Font,operator mono,JetBrainsMono,Fira code Retina,Fira code,Consolas,Monaco,Hannotate SC,monospace,-apple-system}.font-sans{font-family:var(--font-sans),system-ui,-apple-system,PingFang SC,"Microsoft YaHei",Segoe UI,Roboto,Helvetica,noto sans sc,hiragino sans gb,"sans-serif",Apple Color Emoji,Segoe UI Emoji,Not Color Emoji}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[0\.71rem\]{font-size:.71rem}.text-\[0\.9em\]{font-size:.9em}.text-\[1\.2rem\]{font-size:1.2rem}.text-\[10px\]{font-size:10px}.text-\[16px\]{font-size:16px}.text-\[1em\]{font-size:1em}.text-\[24px\]{font-size:24px}.text-\[30px\]{font-size:30px}.text-\[60px\]{font-size:60px}.text-\[6px\]{font-size:6px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-10{line-height:2.5rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-\[1\.5\]{line-height:1.5}.leading-\[1\.8\]{line-height:1.8}.leading-loose{line-height:2}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.\!text-warning{--tw-text-opacity: 1 !important;color:var(--fallback-wa,oklch(var(--wa)/var(--tw-text-opacity)))!important}.text-\[\#0084FF\]{--tw-text-opacity: 1;color:rgb(0 132 255 / var(--tw-text-opacity))}.text-\[\#0D243F\]{--tw-text-opacity: 1;color:rgb(13 36 63 / var(--tw-text-opacity))}.text-\[\#1D2127\]{--tw-text-opacity: 1;color:rgb(29 33 39 / var(--tw-text-opacity))}.text-\[\#2AABEE\]{--tw-text-opacity: 1;color:rgb(42 171 238 / var(--tw-text-opacity))}.text-\[\#469ECF\]{--tw-text-opacity: 1;color:rgb(70 158 207 / var(--tw-text-opacity))}.text-\[\#8cb4ff\]{--tw-text-opacity: 1;color:rgb(140 180 255 / var(--tw-text-opacity))}.text-\[\#d6d9db\]{--tw-text-opacity: 1;color:rgb(214 217 219 / var(--tw-text-opacity))}.text-accent{--tw-text-opacity: 1;color:var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-base-100\/50{color:var(--fallback-b1,oklch(var(--b1)/.5))}.text-base-content{--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}.text-base-content\/40{color:var(--fallback-bc,oklch(var(--bc)/.4))}.text-base-content\/50{color:var(--fallback-bc,oklch(var(--bc)/.5))}.text-base-content\/60{color:var(--fallback-bc,oklch(var(--bc)/.6))}.text-base-content\/80{color:var(--fallback-bc,oklch(var(--bc)/.8))}.text-base-content\/85{color:var(--fallback-bc,oklch(var(--bc)/.85))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-error{--tw-text-opacity: 1;color:var(--fallback-er,oklch(var(--er)/var(--tw-text-opacity)))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-600\/60{color:#4b556399}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-800\/90{color:#1f2937e6}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-neutral-800{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.text-neutral-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.text-neutral-900\/80{color:#171717cc}.text-neutral-content{--tw-text-opacity: 1;color:var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)))}.text-neutral-content\/50{color:var(--fallback-nc,oklch(var(--nc)/.5))}.text-neutral-content\/60{color:var(--fallback-nc,oklch(var(--nc)/.6))}.text-neutral-content\/90{color:var(--fallback-nc,oklch(var(--nc)/.9))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:var(--fallback-p,oklch(var(--p)/var(--tw-text-opacity)))}.text-primary\/80{color:var(--fallback-p,oklch(var(--p)/.8))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-uk-blue-light{--tw-text-opacity: 1;color:rgb(0 122 255 / var(--tw-text-opacity))}.text-uk-green-light{--tw-text-opacity: 1;color:rgb(52 199 89 / var(--tw-text-opacity))}.text-uk-orange-dark{--tw-text-opacity: 1;color:rgb(255 159 10 / var(--tw-text-opacity))}.text-uk-orange-light{--tw-text-opacity: 1;color:rgb(255 149 0 / var(--tw-text-opacity))}.text-uk-red-light{--tw-text-opacity: 1;color:rgb(255 59 48 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}.text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.text-opacity-80{--tw-text-opacity: .8}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.caret-accent{caret-color:var(--fallback-a,oklch(var(--a)/1))}.\!opacity-100{opacity:1!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-\[0\.35\]{opacity:.35}.\!shadow-none{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_1px_2px_0_rgba\(127\.5\,127\.5\,127\.5\,\.2\)\,_0_1px_3px_0_rgba\(127\.5\,127\.5\,127\.5\,\.1\)\]{--tw-shadow: 0 1px 2px 0 rgba(127.5,127.5,127.5,.2), 0 1px 3px 0 rgba(127.5,127.5,127.5,.1);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color), 0 1px 3px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-neutral-100{--tw-shadow-color: #f5f5f5;--tw-shadow: var(--tw-shadow-colored)}.shadow-stone-300{--tw-shadow-color: #d6d3d1;--tw-shadow: var(--tw-shadow-colored)}.shadow-zinc-800\/5{--tw-shadow-color: rgb(39 39 42 / .05);--tw-shadow: var(--tw-shadow-colored)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-offset-2{outline-offset:2px}.outline-accent{outline-color:var(--fallback-a,oklch(var(--a)/1))}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-\[1\.5px\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1.5px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.\!ring-accent{--tw-ring-opacity: 1 !important;--tw-ring-color: var(--fallback-a,oklch(var(--a)/var(--tw-ring-opacity))) !important}.\!ring-transparent{--tw-ring-color: transparent !important}.ring-accent\/10{--tw-ring-color: var(--fallback-a,oklch(var(--a)/.1))}.ring-accent\/20{--tw-ring-color: var(--fallback-a,oklch(var(--a)/.2))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.ring-red-500\/80{--tw-ring-color: rgb(239 68 68 / .8)}.ring-slate-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(241 245 249 / var(--tw-ring-opacity))}.ring-slate-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(226 232 240 / var(--tw-ring-opacity))}.ring-white\/20{--tw-ring-color: rgb(255 255 255 / .2)}.ring-zinc-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(228 228 231 / var(--tw-ring-opacity))}.ring-zinc-900\/5{--tw-ring-color: rgb(24 24 27 / .05)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[margin\]{transition-property:margin;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[padding\]{transition-property:padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.duration-\[100ms\]{transition-duration:.1s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.\!shadow-out-sm{box-shadow:0 0 10px #7878781a,0 5px 20px #78787833!important}.shadow-out-sm{box-shadow:0 0 10px #7878781a,0 5px 20px #78787833}.backface-hidden{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0)}.center{align-items:center;justify-content:center}.fill-content{min-height:calc(100vh - 17.5rem)}.card-shadow{box-shadow:0 0 0 1px #00000014,0 4px 6px #0000000a}.card-shadow:hover{box-shadow:0 0 0 1px #00000014,0 6px 14px #00000014}.scrollbar-none{scrollbar-width:none}.scrollbar-none::-webkit-scrollbar{display:none}.\@container{container-type:inline-size}.\[--spotlight-color\:oklch\(var\(--a\)_\/_0\.12\)\]{--spotlight-color: oklch(var(--a) / .12)}.\[-webkit-backdrop-filter\:saturate\(180\%\)_blur\(20px\)\]{-webkit-backdrop-filter:saturate(180%) blur(20px)}.\[backdrop-filter\:saturate\(180\%\)_blur\(20px\)\]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.\[backface-visibility\:hidden\]{backface-visibility:hidden}.\[border-bottom\:1px_solid_rgb\(187_187_187_\/_20\%\)\]{border-bottom:1px solid rgb(187 187 187 / 20%)}html{font-size:14px;line-height:1.5}html body{max-width:100vw;overflow-x:hidden}@media print{html{font-size:12px}}@media (min-width: 2160px){html{font-size:15px}}.prose{max-width:100%!important}.prose p{overflow-wrap:break-word}*:focus{outline:none}*:not(input):not(textarea):not([contenteditable=true]):focus-visible{outline:0!important;box-shadow:var(--fallback-a,oklch(var(--a)/1)) 0 0 0 1px}.prose figure img{margin-bottom:0;margin-top:0}html.noise body:before{position:fixed;inset:0;content:"";opacity:.04;background-repeat:repeat;filter:blur(3px)}@media print{html.noise body:before{display:none}}*{-moz-tab-size:2;-o-tab-size:2;tab-size:2}.animate-ping{animation:ping 2s cubic-bezier(0,0,.2,1) infinite}@keyframes ping{75%,to{transform:scale(1.4);opacity:0}}a{word-break:break-all}@media (min-width: 1024px){input,textarea{font-size:1rem}}.prose p:last-child{margin-bottom:0}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){position:relative;border-width:0px}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"";display:block;width:3px;height:100%;position:absolute;left:0;top:0;border-radius:1em;background-color:var(--fallback-a,oklch(var(--a)/1))}html{--border-color: #eee;--font-sans: var(--font-sans),system-ui,-apple-system,PingFang SC,"Microsoft YaHei",Segoe UI,Roboto,Helvetica,noto sans sc,hiragino sans gb,"sans-serif",Apple Color Emoji,Segoe UI Emoji,Not Color Emoji;--theme-color: var(--auto-theme-color, var(--fallback-a,oklch(var(--a)/1)));--hover-color: var(--auto-hover-color, var(--fallback-a,oklch(var(--a)/80)));--header-height: auto;accent-color:var(--theme-color);-webkit-tap-highlight-color:transparent;font-family:var(--font-sans)}a,details summary{-webkit-tap-highlight-color:rgba(0,0,0,0)}:root{--bg-opacity: rgba(255, 255, 255, .72)}[data-theme=dark]{--bg-opacity: rgba(29, 29, 31, .72)}::-moz-selection{background-color:var(--theme-color)!important;color:#fff!important;text-shadow:none}::selection{background-color:var(--theme-color)!important;color:#fff!important;text-shadow:none}::view-transition-new(root){animation:turnOff .8s ease-in-out}@keyframes turnOn{0%{-webkit-clip-path:polygon(0% 0%,100% 0,100% 0,0 0);clip-path:polygon(0% 0%,100% 0,100% 0,0 0)}to{-webkit-clip-path:polygon(0% 0%,100% 0,100% 100%,0 100%);clip-path:polygon(0% 0%,100% 0,100% 100%,0 100%)}}[data-theme=dark]::view-transition-new(root){animation:turnOn .8s ease-in-out}::view-transition-old(root){animation:none}@keyframes turnOff{0%{-webkit-clip-path:polygon(0 100%,100% 100%,100% 100%,0% 100%);clip-path:polygon(0 100%,100% 100%,100% 100%,0% 100%)}to{-webkit-clip-path:polygon(0 100%,100% 100%,100% 0,0 0);clip-path:polygon(0 100%,100% 100%,100% 0,0 0)}}body::-webkit-scrollbar{height:0}html{scrollbar-color:#f4f4f5;scrollbar-width:thin}html.dark{scrollbar-color:#27272a}body{overflow:overlay}[data-theme=dark] *::-webkit-scrollbar-thumb,[data-theme=dark] *::-webkit-scrollbar-thumb:hover{border:3px solid rgb(63 63 70 / 20)}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#27272a}[data-theme=dark] *::-webkit-scrollbar{background:#27272a}*::-webkit-scrollbar-thumb,*::-webkit-scrollbar-thumb:hover{background-color:transparent;border:3px solid rgb(212 212 216 / 40);border-radius:5px}*::-webkit-scrollbar{width:5px!important;height:5px!important;background:#f4f4f5}*::-webkit-scrollbar-thumb{background:var(--fallback-n,oklch(var(--n)/1))}*::-webkit-scrollbar-thumb:hover{background:var(--fallback-n,oklch(var(--n)/80))}*::-webkit-scrollbar-corner{background:#f4f4f5}@media print{[data-hide-print]{display:none!important}}.cl-card,.cl-userButtonPopoverCard{border-width:1px;--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: rgb(113 113 122 / .1);--tw-shadow: var(--tw-shadow-colored);--tw-backdrop-blur: blur(24px);--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity));background-color:#fafafacc;--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity));pointer-events:auto;padding-top:1rem;padding-bottom:1rem;--accent: #18181b;--accentDark: #27272a}.cl-modalBackdrop{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:var(--fallback-b1,oklch(var(--b1)/.9))}.cl-userButtonPopoverCard{width:16rem}.cl-userButtonPopoverActions{margin-top:.25rem}.cl-userButtonPopoverFooter{display:none}.cl-userButtonPopoverCard .cl-userPreview{padding-left:1rem;padding-right:1rem}.cl-formFieldInput{background-color:transparent;--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.cl-userButtonPopoverActionButton{gap:.25rem;padding-left:.5rem;padding-right:.5rem}.cl-footerActionLink,.cl-formResendCodeLink{--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity));text-decoration-line:underline}.cl-formFieldHintText{font-size:12px}.cl-formButtonPrimary{--tw-bg-opacity: 1;background-color:var(--fallback-a,oklch(var(--a)/var(--tw-bg-opacity)));--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.cl-formButtonPrimary:hover{background-color:var(--fallback-a,oklch(var(--a)/.8))}.cl-formFieldLabelRow{margin-bottom:.5rem}.cl-footer+div{display:none}.cl-userButtonPopoverCard{padding-bottom:0!important;overflow:hidden}.cl-userButtonPopoverActionButton:hover{background:#f4f4f5}.cl-logoBox{position:absolute;top:-30px;left:50%;margin:auto;display:inline-block;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cl-logoBox img{height:60px;width:60px;overflow:hidden;border-radius:9999px}[data-theme=dark] [class*=cl-internal-]{--accent: #fafafa;--accentDark: #e4e4e7;--border: hsla(0, 0%, 100%, .08);--accentLightest: hsla(0, 0%, 100%, .04);--accentLighter: hsla(0, 0%, 100%, .16);--accentDarker: hsla(0, 0%, 100%, .64)}[data-theme=dark] .cl-userButtonPopoverActionButton:hover{background:#27272a}[data-theme=dark] .🔒,[data-theme=dark] .cl-formField p,[data-theme=dark] .cl-formField p[aria-live=polite],[data-theme=dark] .cl-formFieldInputShowPasswordButton{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}[data-theme=dark] .cl-card,[data-theme=dark] .cl-userButtonPopoverCard{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity));background-color:#18181bcc;--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity));--tw-shadow-color: rgb(24 24 27 / .2);--tw-shadow: var(--tw-shadow-colored)}[data-theme=dark] .cl-profileSectionTitleText{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}[data-theme=dark] .cl-breadcrumbsItem,[data-theme=dark] .cl-breadcrumbsItemDivider,[data-theme=dark] [data-localization-key],[data-theme=dark] .cl-fileDropAreaOuterBox *,[data-theme=dark] .cl-profileSectionContent__password p{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}[data-theme=dark] .cl-navbarButton.cl-active{background-color:#a1a1aa1a}[data-theme=dark] .cl-navbar{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}[data-theme=dark] .cl-userPreviewSecondaryIdentifier,[data-theme=dark] .cl-headerSubtitle,[data-theme=dark] .cl-profileSectionContent__activeDevices p{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}[data-theme=dark] .cl-headerTitle,[data-theme=dark] .cl-socialButtonsBlockButton,[data-theme=dark] .cl-alternativeMethodsBlockButton,[data-theme=dark] .cl-userButtonPopoverActionButtonIcon,[data-theme=dark] .cl-userButtonPopoverActionButtonText{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}[data-theme=dark] .cl-alternativeMethodsBlockButton svg:not(.cl-alternativeMethodsBlockButtonArrow){--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-theme=dark] .cl-socialButtonsBlockButton,[data-theme=dark] .cl-alternativeMethodsBlockButton{border-radius:.75rem;border-color:#71717a33}[data-theme=dark] .cl-socialButtonsProviderIcon__github,[data-theme=dark] .cl-providerIcon__github{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-theme=dark] .cl-dividerLine{background-color:#e4e4e71a}[data-theme=dark] .cl-dividerText{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}[data-theme=dark] .cl-formFieldAction{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity));text-decoration-line:underline}[data-theme=dark] .cl-formFieldLabel{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}[data-theme=dark] .cl-formFieldInput,[data-theme=dark] .cl-identityPreview{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity));background-color:transparent;--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}[data-theme=dark] .cl-footerActionText,[data-theme=dark] .cl-formHeaderSubtitle{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}[data-theme=dark] .cl-footerActionLink,[data-theme=dark] .cl-formHeaderTitle,[data-theme=dark] .cl-formResendCodeLink{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}[data-theme=dark] .cl-modalCloseButton{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}[data-theme=dark] .cl-otpCodeFieldInput{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}[data-theme=dark] .cl-formFieldSuccessText__password,[data-theme=dark] .cl-formFieldDirectionsText__password,[data-theme=dark] .cl-formFieldHintText__password,[data-theme=dark] .cl-formFieldInfoText__password,[data-theme=dark] .cl-identityPreviewText{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}[data-theme=dark] .cl-identityPreviewEditButton{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}.cl-card{padding-top:2.5rem}.medium-zoom-overlay{z-index:99;--tw-bg-opacity: 1 !important;background-color:rgb(250 250 250 / var(--tw-bg-opacity))!important}:is([data-theme=dark] .medium-zoom-overlay){--tw-bg-opacity: 1 !important;background-color:rgb(23 23 23 / var(--tw-bg-opacity))!important}.medium-zoom-image{border-radius:.5rem;transition:border-radius .3s ease-in-out}.medium-zoom-image.medium-zoom-image--opened{border-radius:0;z-index:100;opacity:1;transition:all .5s ease-in-out}.Toastify{position:fixed;z-index:99;bottom:30px;right:12px;width:300px;pointer-events:all!important}:root{--toastify-toast-width: 320px;--toastify-z-index: 9999;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-offset: 16px;--toastify-toast-top: max( var(--toastify-toast-offset), env(safe-area-inset-top) );--toastify-toast-right: max( var(--toastify-toast-offset), env(safe-area-inset-right) );--toastify-toast-left: max( var(--toastify-toast-offset), env(safe-area-inset-left) );--toastify-toast-bottom: max( var(--toastify-toast-offset), env(safe-area-inset-bottom) )}.Toastify__toast-icon{display:none}.Toastify__toast-container{width:100%;z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box}.Toastify--animate{animation-fill-mode:both;animation-duration:.7s}.Toastify__toast-container div{opacity:1!important}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translate3d(3000px,0,0)}60%{transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}.mask-both{-webkit-mask-image:linear-gradient(rgba(255,255,255,0) 0%,rgb(255,255,255) 20px,rgb(255,255,255) calc(100% - 20px),rgba(255,255,255,0) 100%);mask-image:linear-gradient(#fff0,#fff 20px calc(100% - 20px),#fff0)}.mask-both-lg{-webkit-mask-image:linear-gradient(rgba(255,255,255,0) 0%,rgb(255,255,255) 50px,rgb(255,255,255) calc(100% - 50px),rgba(255,255,255,0) 100%);mask-image:linear-gradient(#fff0,#fff 50px calc(100% - 50px),#fff0)}.mask-b{-webkit-mask-image:linear-gradient(rgb(255,255,255) calc(100% - 20px),rgba(255,255,255,0) 100%);mask-image:linear-gradient(#fff calc(100% - 20px),#fff0)}.mask-b-lg{-webkit-mask-image:linear-gradient(rgb(255,255,255) calc(100% - 50px),rgba(255,255,255,0) 100%);mask-image:linear-gradient(#fff calc(100% - 50px),#fff0)}.mask-t{-webkit-mask-image:linear-gradient(rgba(255,255,255,0) 0%,rgb(255,255,255) 20px);mask-image:linear-gradient(#fff0,#fff 20px)}.mask-t-lg{-webkit-mask-image:linear-gradient(rgba(255,255,255,0) 0%,rgb(255,255,255) 50px);mask-image:linear-gradient(#fff0,#fff 50px)}.cover-mask-b{-webkit-mask-image:linear-gradient(180deg,#fff -17.19%,#00000000 92.43%);mask-image:linear-gradient(180deg,#fff -17.19%,#0000 92.43%)}.code-wrap,.code-wrap pre[class*=language-],.code-wrap code[class*=language-]{white-space:break-spaces!important;overflow:auto!important;word-break:break-word!important}.excalidraw .Modal__content{pointer-events:auto}html[data-theme=dark] .shiki,html[data-theme=dark] .shiki span{color:var(--shiki-dark)!important;font-style:var(--shiki-dark-font-style)!important;font-weight:var(--shiki-dark-font-weight)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;text-decoration:var(--shiki-dark-text-decoration)!important}@font-face{font-family:OperatorMonoSSmLig Nerd Font;src:url(https://cdn.jsdelivr.net/gh/Innei/zshrc@0.1.0/webfont/OperatorMonoSSmLigNerdFontAAEOPSLMDI-Italic.woff2) format("woff2"),url(https://cdn.jsdelivr.net/gh/Innei/zshrc@0.1.0/webfont/OperatorMonoSSmLigNerdFontAAEOPSLMDI-Italic.woff) format("woff");font-weight:400;font-style:italic}@font-face{font-family:OperatorMonoSSmLig Nerd Font;src:url(https://cdn.jsdelivr.net/gh/Innei/zshrc@0.1.0/webfont/OperatorMonoSSmLigNerdFontAAEOPSLMDI-Book.woff2) format("woff2"),url(https://cdn.jsdelivr.net/gh/Innei/zshrc@0.1.0/webfont/OperatorMonoSSmLigNerdFontAAEOPSLMDI-Book.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Operator Mono;src:url(https://cdn.jsdelivr.net/gh/Innei/zshrc@0.1.0/webfont/OperatorMonoSSmLigNerdFontAAEOPSLMDI-Italic.woff2) format("woff2"),url(https://cdn.jsdelivr.net/gh/Innei/zshrc@0.1.0/webfont/OperatorMonoSSmLigNerdFontAAEOPSLMDI-Italic.woff) format("woff");font-weight:400;font-style:italic}@font-face{font-family:Operator Mono;src:url(https://cdn.jsdelivr.net/gh/Innei/zshrc@0.1.0/webfont/OperatorMonoSSmLigNerdFontAAEOPSLMDI-Book.woff2) format("woff2"),url(https://cdn.jsdelivr.net/gh/Innei/zshrc@0.1.0/webfont/OperatorMonoSSmLigNerdFontAAEOPSLMDI-Book.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:JetBrains Mono;src:url(https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap),url(https://fonts.googleapis.com/css2?family=Fira+Code:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap);font-weight:400;font-style:normal}.group:hover .group-hover\:animation-blink{animation:blink 1.2s linear infinite}.placeholder\:text-slate-500::-moz-placeholder{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.placeholder\:text-slate-500::placeholder{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.placeholder\:text-zinc-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}.placeholder\:text-zinc-400::placeholder{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:inset-0:before{content:var(--tw-content);inset:0}.before\:-left-\[50\%\]:before{content:var(--tw-content);left:-50%}.before\:-top-\[50\%\]:before{content:var(--tw-content);top:-50%}.before\:bottom-0:before{content:var(--tw-content);bottom:0}.before\:left-\[3px\]:before{content:var(--tw-content);left:3px}.before\:top-0:before{content:var(--tw-content);top:0}.before\:z-0:before{content:var(--tw-content);z-index:0}.before\:h-full:before{content:var(--tw-content);height:100%}.before\:min-h-\[44\]:before{content:var(--tw-content);min-height:44}.before\:w-\[3px\]:before{content:var(--tw-content);width:3px}.before\:w-full:before{content:var(--tw-content);width:100%}.before\:min-w-\[44\]:before{content:var(--tw-content);min-width:44}.before\:-translate-x-full:before{content:var(--tw-content);--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:-translate-y-full:before{content:var(--tw-content);--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-lg:before{content:var(--tw-content);border-radius:.5rem}.before\:rounded-md:before{content:var(--tw-content);border-radius:.375rem}.before\:bg-accent:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:var(--fallback-a,oklch(var(--a)/var(--tw-bg-opacity)))}.before\:bg-zinc-200\/80:before{content:var(--tw-content);background-color:#e4e4e7cc}.before\:content-\[\"\"\]:before{--tw-content: "";content:var(--tw-content)}.before\:content-\[\'\'\]:before{--tw-content: "";content:var(--tw-content)}.before\:content-auto:before{content:var(--tw-content);content-visibility:auto}.focus-within\:border-accent:focus-within{--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)))}.group:hover .group-hover\:-translate-y-2{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:opacity-60{opacity:.6}.group:hover .group-hover\:opacity-80{opacity:.8}.group:hover .group-hover\:shadow-out-sm{box-shadow:0 0 10px #7878781a,0 5px 20px #78787833}.group:hover .group-\[\:hover\]\:visible{visibility:visible}.group:hover .group-\[\:hover\]\:opacity-100{opacity:1}.group:hover .group-\[\:hover\]\:opacity-70{opacity:.7}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:bg-accent[data-state=checked]{--tw-bg-opacity: 1;background-color:var(--fallback-a,oklch(var(--a)/var(--tw-bg-opacity)))}.data-\[state\=unchecked\]\:bg-gray-300[data-state=unchecked]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:-translate-x-2:hover{--tw-translate-x: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-accent:hover{--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)))}.hover\:\!bg-transparent:hover{background-color:transparent!important}.hover\:bg-accent\/40:hover{background-color:var(--fallback-a,oklch(var(--a)/.4))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-primary\/80:hover{background-color:var(--fallback-p,oklch(var(--p)/.8))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.hover\:bg-slate-100\/80:hover{background-color:#f1f5f9cc}.hover\:bg-zinc-200:hover{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:text-accent:hover{--tw-text-opacity: 1;color:var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)))}.hover\:text-accent\/80:hover{color:var(--fallback-a,oklch(var(--a)/.8))}.hover\:text-base-content\/80:hover{color:var(--fallback-bc,oklch(var(--bc)/.8))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-current:hover{color:currentColor}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-orange-500:hover{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.hover\:text-red-400:hover{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.hover\:text-uk-brown-dark:hover{--tw-text-opacity: 1;color:rgb(172 142 104 / var(--tw-text-opacity))}.hover\:text-uk-cyan-light:hover{--tw-text-opacity: 1;color:rgb(50 173 230 / var(--tw-text-opacity))}.hover\:text-uk-orange-light:hover{--tw-text-opacity: 1;color:rgb(255 149 0 / var(--tw-text-opacity))}.hover\:text-uk-pink-dark:hover{--tw-text-opacity: 1;color:rgb(255 55 95 / var(--tw-text-opacity))}.hover\:text-uk-red-light:hover{--tw-text-opacity: 1;color:rgb(255 59 48 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-80:hover{opacity:.8}.hover\:opacity-90:hover{opacity:.9}.hover\:contrast-\[1\.10\]:hover{--tw-contrast: contrast(1.1);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\:before\:bg-zinc-200\/80:hover:before{content:var(--tw-content);background-color:#e4e4e7cc}.focus\:border-accent\/80:focus{border-color:var(--fallback-a,oklch(var(--a)/.8))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:\!shadow-out-sm:focus{box-shadow:0 0 10px #7878781a,0 5px 20px #78787833!important}.focus-visible\:border-accent:focus-visible{--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)))}.focus-visible\:border-primary:focus-visible{--tw-border-opacity: 1;border-color:var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)))}.focus-visible\:text-uk-brown-light:focus-visible{--tw-text-opacity: 1;color:rgb(162 132 94 / var(--tw-text-opacity))}.focus-visible\:\!shadow-none:focus-visible{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:\!ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-accent:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: var(--fallback-a,oklch(var(--a)/var(--tw-ring-opacity)))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-base-100:focus-visible{--tw-ring-offset-color: var(--fallback-b1,oklch(var(--b1)/1))}.focus-visible\:\!shadow-out-sm:focus-visible{box-shadow:0 0 10px #7878781a,0 5px 20px #78787833!important}.active\:bg-primary\/50:active{background-color:var(--fallback-p,oklch(var(--p)/.5))}.active\:contrast-125:active{--tw-contrast: contrast(1.25);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.active\:transition-none:active{transition-property:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-400:disabled{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-50:disabled{opacity:.5}@container (min-width: 550px){.\@\[550px\]\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (min-width: 900px){.\@\[900px\]\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (min-width: 1124px){.\@\[1124px\]\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@container (min-width: 1200px){.\@\[1200px\]\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}:is([data-theme=dark] .dark\:border-amber-400){--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-blue-400){--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-neutral-900){--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-neutral-900\/80){border-color:#171717cc}:is([data-theme=dark] .dark\:border-slate-800){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-uk-separator-opaque-dark){--tw-border-opacity: 1;border-color:rgb(56 56 58 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-white\/10){border-color:#ffffff1a}:is([data-theme=dark] .dark\:border-zinc-100\/10){border-color:#f4f4f51a}:is([data-theme=dark] .dark\:border-zinc-500\/30){border-color:#71717a4d}:is([data-theme=dark] .dark\:border-zinc-600){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-zinc-700){--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:border-zinc-800){--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}:is([data-theme=dark] .dark\:bg-amber-300){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-blue-300){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-emerald-800){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-gray-200\/80){background-color:#e5e7ebcc}:is([data-theme=dark] .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-gray-800\/0){background-color:#1f293700}:is([data-theme=dark] .dark\:bg-green-300){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-neutral-500){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-neutral-600){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-neutral-900){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-neutral-900\/60){background-color:#17171799}:is([data-theme=dark] .dark\:bg-neutral-900\/80){background-color:#171717cc}:is([data-theme=dark] .dark\:bg-neutral-900\/90){background-color:#171717e6}:is([data-theme=dark] .dark\:bg-neutral-950){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-orange-500){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-orange-800){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-red-300){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-red-700){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-rose-800){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-sky-800){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-white){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-zinc-500\/20){background-color:#71717a33}:is([data-theme=dark] .dark\:bg-zinc-700\/\[0\.15\]){background-color:#3f3f4626}:is([data-theme=dark] .dark\:bg-zinc-800){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-zinc-800\/50){background-color:#27272a80}:is([data-theme=dark] .dark\:bg-zinc-800\/80){background-color:#27272acc}:is([data-theme=dark] .dark\:bg-zinc-800\/90){background-color:#27272ae6}:is([data-theme=dark] .dark\:bg-zinc-900){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:bg-zinc-900\/80){background-color:#18181bcc}:is([data-theme=dark] .dark\:bg-opacity-10){--tw-bg-opacity: .1}:is([data-theme=dark] .dark\:from-zinc-900\/50){--tw-gradient-from: rgb(24 24 27 / .5) var(--tw-gradient-from-position);--tw-gradient-to: rgb(24 24 27 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is([data-theme=dark] .dark\:from-zinc-900\/70){--tw-gradient-from: rgb(24 24 27 / .7) var(--tw-gradient-from-position);--tw-gradient-to: rgb(24 24 27 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is([data-theme=dark] .dark\:to-zinc-800\/90){--tw-gradient-to: rgb(39 39 42 / .9) var(--tw-gradient-to-position)}:is([data-theme=dark] .dark\:fill-white){fill:#fff}:is([data-theme=dark] .dark\:text-\[\#5CB7D2\]){--tw-text-opacity: 1;color:rgb(92 183 210 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-\[\#FFFFFF\]){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-\[\#c4c4c4\]){--tw-text-opacity: 1;color:rgb(196 196 196 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-amber-400){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-blue-400){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-gray-200\/90){color:#e5e7ebe6}:is([data-theme=dark] .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-gray-300\/60){color:#d1d5db99}:is([data-theme=dark] .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-neutral-100){--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-neutral-300){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-neutral-800){--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-orange-500){--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-orange-700){--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-slate-100\/80){color:#f1f5f9cc}:is([data-theme=dark] .dark\:text-slate-200\/80){color:#e2e8f0cc}:is([data-theme=dark] .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-zinc-100){--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-zinc-200){--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-zinc-50){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:text-zinc-500){--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:shadow-\[\#333\]){--tw-shadow-color: #333;--tw-shadow: var(--tw-shadow-colored)}:is([data-theme=dark] .dark\:shadow-neutral-800\/50){--tw-shadow-color: rgb(38 38 38 / .5);--tw-shadow: var(--tw-shadow-colored)}:is([data-theme=dark] .dark\:shadow-stone-800){--tw-shadow-color: #292524;--tw-shadow: var(--tw-shadow-colored)}:is([data-theme=dark] .dark\:ring-black){--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}:is([data-theme=dark] .dark\:ring-neutral-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(38 38 38 / var(--tw-ring-opacity))}:is([data-theme=dark] .dark\:ring-orange-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(194 65 12 / var(--tw-ring-opacity))}:is([data-theme=dark] .dark\:ring-red-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}:is([data-theme=dark] .dark\:ring-white\/10){--tw-ring-color: rgb(255 255 255 / .1)}:is([data-theme=dark] .dark\:ring-zinc-100\/10){--tw-ring-color: rgb(244 244 245 / .1)}:is([data-theme=dark] .dark\:ring-zinc-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(39 39 42 / var(--tw-ring-opacity))}:is([data-theme=dark] .dark\:placeholder\:text-zinc-500)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:placeholder\:text-zinc-500)::placeholder{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:before\:bg-zinc-800\/80):before{content:var(--tw-content);background-color:#27272acc}:is([data-theme=dark] .dark\:data-\[state\=unchecked\]\:bg-gray-700[data-state=unchecked]){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:hover\:bg-neutral-800:hover){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:hover\:bg-slate-700:hover){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:hover\:bg-zinc-700:hover){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:hover\:bg-zinc-800:hover){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is([data-theme=dark] .dark\:hover\:bg-zinc-900\/90:hover){background-color:#18181be6}:is([data-theme=dark] .hover\:dark\:bg-gray-800\/100):hover{background-color:#1f2937}:is([data-theme=dark] .dark\:hover\:text-gray-50:hover){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:hover\:text-zinc-300:hover){--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}:is([data-theme=dark] .dark\:hover\:ring-1:hover){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}:is([data-theme=dark] .dark\:hover\:ring-white\/20:hover){--tw-ring-color: rgb(255 255 255 / .2)}:is([data-theme=dark] .dark\:hover\:ring-zinc-300:hover){--tw-ring-opacity: 1;--tw-ring-color: rgb(212 212 216 / var(--tw-ring-opacity))}:is([data-theme=dark] .dark\:hover\:before\:bg-zinc-800\/80:hover):before{content:var(--tw-content);background-color:#27272acc}:is([data-theme=dark] .disabled\:dark\:bg-gray-800):disabled{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is([data-theme=dark] .disabled\:dark\:text-zinc-50):disabled{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:px-8{padding-left:2rem;padding-right:2rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:bottom-0{bottom:0}.md\:right-0{right:0}.md\:top-0{top:0}.md\:col-start-1{grid-column-start:1}.md\:m-0{margin:0}.md\:my-0{margin-top:0;margin-bottom:0}.md\:ml-4{margin-left:1rem}.md\:mr-2{margin-right:.5rem}.md\:mt-0{margin-top:0}.md\:mt-6{margin-top:1.5rem}.md\:line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:inline-flex{display:inline-flex}.md\:h-10{height:2.5rem}.md\:h-screen{height:100vh}.md\:max-h-\[60vh\]{max-height:60vh}.md\:w-10{width:2.5rem}.md\:w-\[500px\]{width:500px}.md\:max-w-\[80vw\]{max-width:80vw}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:self-start{align-self:flex-start}.md\:rounded-xl{border-radius:.75rem}.md\:border{border-width:1px}.md\:px-0{padding-left:0;padding-right:0}.md\:text-left{text-align:left}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:-right-8{right:-2rem}.lg\:left-\[-30px\]{left:-30px}.lg\:right-\[-25px\]{right:-25px}.lg\:col-auto{grid-column:auto}.lg\:mb-5{margin-bottom:1.25rem}.lg\:ml-\[calc\(100vw-100\%\)\]{margin-left:calc(100vw - 100%)}.lg\:mr-4{margin-right:1rem}.lg\:mt-\[80px\]{margin-top:80px}.lg\:line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:h-0{height:0px}.lg\:h-\[200px\]{height:200px}.lg\:max-h-\[auto\]{max-height:auto}.lg\:max-h-\[calc\(100vh-20rem\)\]{max-height:calc(100vh - 20rem)}.lg\:max-h-full{max-height:100%}.lg\:w-\[400px\]{width:400px}.lg\:w-\[600px\]{width:600px}.lg\:max-w-\[400px\]{max-width:400px}.lg\:max-w-\[65rem\]{max-width:65rem}.lg\:max-w-\[70vw\]{max-width:70vw}.lg\:flex-grow-0{flex-grow:0}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-\[auto_400px\]{grid-template-columns:auto 400px}.lg\:justify-start{justify-content:flex-start}.lg\:gap-4{gap:1rem}.lg\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:self-start{align-self:flex-start}.lg\:overflow-visible{overflow:visible}.lg\:border{border-width:1px}.lg\:p-0{padding:0}.lg\:p-\[30px_45px\]{padding:30px 45px}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:px-\[4rem\]{padding-left:4rem;padding-right:4rem}.lg\:opacity-20{opacity:.2}.lg\:shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}}@media (min-width: 1280px){.xl\:w-\[700px\]{width:700px}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1536px){.\32xl\:max-w-4xl{max-width:56rem}.\32xl\:max-w-6xl{max-width:72rem}}@media print{.print\:\!block{display:block!important}.print\:hidden{display:none}.print\:\!border-none{border-style:none!important}.print\:\!bg-transparent{background-color:transparent!important}.print\:\!shadow-none{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}}.\[\&\>\*\]\:inline-flex>*{display:inline-flex}.\[\&\>\*\]\:items-center>*{align-items:center}.\[\&\>\*\]\:space-x-2>*>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.\[\&\>\*\]\:px-2>*{padding-left:.5rem;padding-right:.5rem}.\[\&\>\*\]\:py-2>*{padding-top:.5rem;padding-bottom:.5rem}.\[\&\>button\]\:\!rotate-90>button{--tw-rotate: 90deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\[\&\>button\]\:duration-200>button{transition-duration:.2s}.\[\&\>div\]\:flex>div{display:flex}.\[\&\>div\]\:flex-grow>div{flex-grow:1}.\[\&\>div\]\:flex-col>div{flex-direction:column}.\[\&\>i\]\:flex-shrink-0>i{flex-shrink:0}.\[\&\>li\]\:flex>li{display:flex}.\[\&\>li\]\:items-center>li{align-items:center}.\[\&\>li\]\:space-x-2>li>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.\[\&\>li\]\:py-1>li{padding-top:.25rem;padding-bottom:.25rem}.\[\&\>p\:first-child\]\:mt-0>p:first-child{margin-top:0}.\[\&\>svg\]\:flex-shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:hover\:ml-2:hover>svg{margin-left:.5rem}.\[\&_\*\]\:\!select-none *{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.\[\&_\*\]\:\!font-mono *{font-family:OperatorMonoSSmLig Nerd Font,Cascadia Code PL,FantasqueSansMono Nerd Font,operator mono,JetBrainsMono,Fira code Retina,Fira code,Consolas,Monaco,Hannotate SC,monospace,-apple-system!important}.\[\&_\*\]\:\!text-base *{font-size:1rem!important;line-height:1.5rem!important}.\[\&_\*\]\:text-\[14px\] *{font-size:14px}.\[\&_\*\]\:\!leading-\[1\.5\] *{line-height:1.5!important}.\[\&_\*\]\:leading-4 *{line-height:1rem}.\[\&_a\]\:break-all a{word-break:break-all}.\[\&_button\]\:whitespace-nowrap button{white-space:nowrap}.\[\&_h4\]\:font-medium h4{font-weight:500}.\[\&_header\.prose\]\:mb-\[80px\] header.prose{margin-bottom:80px}.\[\&_i\]\:opacity-60 i{opacity:.6}.\[\&_i\]\:hover\:text-accent:hover i{--tw-text-opacity: 1;color:var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)))}.\[\&_p\]\:my-4 p{margin-top:1rem;margin-bottom:1rem}.\[\&_section\]\:my-2 section{margin-top:.5rem;margin-bottom:.5rem}.\[\&_svg\]\:inline svg{display:inline}.\[\&_svg\]\:\!h-\[0\.8em\] svg{height:.8em!important}.\[\&_svg\]\:opacity-60 svg{opacity:.6} diff --git a/assets/index-eOZlXeNv.js b/assets/index-eOZlXeNv.js new file mode 100644 index 00000000000..c4836ec7f39 --- /dev/null +++ b/assets/index-eOZlXeNv.js @@ -0,0 +1,3 @@ +import{r as a,j as r,R as v}from"./index-ZXl4th35.js";import{u as N}from"./useQuery-3CoUXB5U.js";import{p as T}from"./index-D4F-WjWJ.js";import{a as R}from"./main-pGz5eUwv.js";import{a as z}from"./viewport-l4O6ZIBM.js";import{T as L}from"./request-bY2SEZNN.js";import{u as S}from"./use-is-dark-IiysOCcN.js";import{s as y}from"./dom-NuJWIaAq.js";import{aa as E,c as I}from"./motion-minimal-epsqYg85.js";import{c as O}from"./lodash-lrAbnKsZ.js";import{t as A}from"./toast-dlXalurG.js";import{M as B}from"./StyledButton-VgryXAte.js";import{u as U}from"./provider-XKwIHqOQ.js";const b=a.forwardRef((i,o)=>{const{data:s,...l}=i,c=a.useMemo(()=>{if(!s)return{};const f=E(s);if(f)return{data:f};{const m=s.split(` +`),n=m[0],d=m.slice(1).join(` +`),t={};return n.startsWith("http")?t.refUrl=n:n.startsWith("ref:")&&(t.refUrl=`${L}/objects/${n.slice(4)}`),d.trim().length>0&&(t.patchDiffDelta=E(d)),t}},[s]),u=a.useRef(null);return a.useImperativeHandle(o,()=>({getRefData(){return u.current?.getRemoteData()},getDiffDelta(){return c.patchDiffDelta}})),r.jsx(w,{ref:u,...l,...c})});b.displayName="Excalidraw";const w=a.forwardRef(({data:i,refUrl:o,patchDiffDelta:s,viewModeEnabled:l=!0,zenModeEnabled:c=!0,onChange:u,className:f,showExtendButton:m=!0,onReady:n},d)=>{const t=v.useRef(),P=U(),M=z(),{data:p,isLoading:x}=N({queryKey:["excalidraw",o],queryFn:async({queryKey:e})=>{const[D,g]=e;return await(await fetch(g)).json()},enabled:!!o});a.useImperativeHandle(d,()=>({getRemoteData(){return p}}));const h=a.useMemo(()=>p?T(O(p),s):null,[p,o]),_=S(),k=a.useMemo(()=>{const e=i||h;return!e&&!x&&console.error("Excalidraw: data not exist"),e},[i,h,x]);return r.jsxs("div",{onKeyDown:y,onKeyUp:y,className:I("relative h-[500px] w-full",f),children:[x&&r.jsx("div",{className:"absolute inset-0 z-[10] flex center",children:r.jsx("div",{className:"loading loading-spinner"})}),r.jsx(R.Excalidraw,{theme:_?"dark":"light",initialData:k,detectScroll:!1,zenModeEnabled:c,onChange:u,viewModeEnabled:l,excalidrawAPI:e=>{t.current=e,setTimeout(()=>{e.scrollToContent(void 0,{fitToContent:!0})},300),n?.(e)}},o?`excalidraw-refData-loading-${x}`:"excalidraw"),l&&m&&r.jsx(B,{onClick:()=>{if(!t.current){A.error("Excalidraw API not ready");return}const e=t.current.getSceneElements();if(M){const D=window.open();R.exportToBlob({elements:e,files:null}).then(j=>{D?.location.replace(URL.createObjectURL(j))})}else P.present({title:"Preview",content:()=>r.jsx(w,{data:i,className:"h-full",showExtendButton:!1,refUrl:o}),clickOutsideToDismiss:!0,max:!0})},className:I("absolute bottom-2 right-2 z-10 box-content flex h-5 w-5 rounded-md border p-2 center","border-zinc-200 bg-base-100 text-zinc-600","dark:border-neutral-800 dark:text-zinc-500"),children:r.jsx("i",{className:"icon-[mingcute--external-link-line]"})})]})});w.displayName="ExcalidrawImpl";const Z=Object.freeze(Object.defineProperty({__proto__:null,Excalidraw:b},Symbol.toStringTag,{value:"Module"})),ee=Object.freeze(Object.defineProperty({__proto__:null,Excalidraw:b},Symbol.toStringTag,{value:"Module"}));export{b as E,Z as a,ee as i}; diff --git a/assets/index-fcBMwXcr.css b/assets/index-fcBMwXcr.css new file mode 100644 index 00000000000..c357aa915bd --- /dev/null +++ b/assets/index-fcBMwXcr.css @@ -0,0 +1 @@ +._editor_xk7tm_1 *[contenteditable=true]:focus-visible{outline:0!important}._editor_xk7tm_1{line-height:2;caret-color:var(--fallback-p,oklch(var(--p)/1))}._editor_xk7tm_1,._editor_xk7tm_1 .milkdown,._editor_xk7tm_1 [data-milkdown-root=true],._editor_xk7tm_1 [contenteditable=true]{height:100%}._editor_xk7tm_1 h1{font-size:1.2rem;font-weight:500}._editor_xk7tm_1 h2{font-size:1.15rem;font-weight:500}._editor_xk7tm_1 h3{font-size:1.1rem;font-weight:500}._editor_xk7tm_1 h4{font-size:1.05rem;font-weight:500}._editor_xk7tm_1 a{--tw-text-opacity: 1;color:var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)));text-decoration-line:underline}._editor_xk7tm_1 blockquote{border-left-width:4px;--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)));padding-left:1rem;font-family:"Noto Serif CJK SC","Noto Serif SC",var(--font-serif),"Source Han Serif SC","Source Han Serif",source-han-serif-sc,SongTi SC,SimSum,"Hiragino Sans GB",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,"Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;font-style:normal}._editor_xk7tm_1 code:not(pre>code){display:inline-block;border-radius:.125rem;background-color:#e2e8f080;padding:.25rem;font-family:OperatorMonoSSmLig Nerd Font,Cascadia Code PL,FantasqueSansMono Nerd Font,operator mono,JetBrainsMono,Fira code Retina,Fira code,Consolas,Monaco,Hannotate SC,monospace,-apple-system;font-weight:400;--tw-text-opacity: 1;color:var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)))}._editor_xk7tm_1 p{margin-top:.5rem;margin-bottom:.5rem}[data-theme=dark] ._editor_xk7tm_1 a{--tw-text-opacity: 1;color:var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)))}[data-theme=dark] ._editor_xk7tm_1 blockquote{--tw-border-opacity: 1;border-color:var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)))}[data-theme=dark] ._editor_xk7tm_1 code:not(pre>code){background-color:#1e293b80;--tw-text-opacity: 1;color:var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)))}._editor_xk7tm_1 pre code{color:inherit}._editor_xk7tm_1 img{margin-top:0!important;margin-bottom:0!important;display:inline-block;max-width:100%}._editor_xk7tm_1 ._tableWrapper_xk7tm_74{position:relative;margin-bottom:.5rem;overflow-x:auto}._editor_xk7tm_1 table{margin:1rem!important;overflow:visible!important;font-size:.875rem;line-height:1.25rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._editor_xk7tm_1 table{border-radius:.5rem}}._editor_xk7tm_1 td,._editor_xk7tm_1 th{padding:.75rem 1.5rem!important}._editor_xk7tm_1 tr{border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}:is([data-theme=dark] ._editor_xk7tm_1 tr){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}[data-theme=dark] ._editor_xk7tm_1 tr{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}._editor_xk7tm_1 :where(td,th) p{margin:0!important}._editor_xk7tm_1 :where(td,th):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}[data-theme=dark] ._editor_xk7tm_1 :where(td,th):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}._editor_xk7tm_1._ProseMirror_xk7tm_107 ._selectedCell_xk7tm_107:after{background-color:var(--fallback-a,oklch(var(--a)/.3))}._editor_xk7tm_1 br[data-is-inline=true],._editor_xk7tm_1 br[data-is-inline=true]:after{content:" "}._editor_xk7tm_1 ul{list-style-position:inside;list-style-type:disc}._editor_xk7tm_1 ol{list-style-position:inside;list-style-type:decimal}._editor_xk7tm_1 li>p{display:inline}._editor_xk7tm_1{font-size:14px}._editor_xk7tm_1 pre{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity));padding:.5rem}[data-theme=dark] ._editor_xk7tm_1 pre{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))} diff --git a/assets/index.client-I-ehBMM6.js b/assets/index.client-I-ehBMM6.js new file mode 100644 index 00000000000..8532f7f9567 --- /dev/null +++ b/assets/index.client-I-ehBMM6.js @@ -0,0 +1 @@ +import{j as o,r as D,g as mr,R as Dt}from"./index-ZXl4th35.js";import{l as _r}from"./viewport-l4O6ZIBM.js";import{a as ue}from"./motion-minimal-epsqYg85.js";import"./request-bY2SEZNN.js";import"./toast-dlXalurG.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";const pr="_verified_lvyh0_1",Mt={verified:pr},gr=()=>o.jsx("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:Mt.verified,children:o.jsx("g",{children:o.jsx("path",{d:"M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z"})})}),xr=()=>o.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:Mt.verified,children:o.jsxs("g",{children:[o.jsxs("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[o.jsx("stop",{offset:"0",stopColor:"#f4e72a"}),o.jsx("stop",{offset:".539",stopColor:"#cd8105"}),o.jsx("stop",{offset:".68",stopColor:"#cb7b00"}),o.jsx("stop",{offset:"1",stopColor:"#f4ec26"}),o.jsx("stop",{offset:"1",stopColor:"#f4e72a"})]}),o.jsxs("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[o.jsx("stop",{offset:"0",stopColor:"#f9e87f"}),o.jsx("stop",{offset:".406",stopColor:"#e2b719"}),o.jsx("stop",{offset:".989",stopColor:"#e2b719"})]}),o.jsxs("g",{clipRule:"evenodd",fillRule:"evenodd",children:[o.jsx("path",{d:"M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-a)"}),o.jsx("path",{d:"M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-b)"}),o.jsx("path",{d:"M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z",fill:"#d18800"})]})]})}),wr=()=>o.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:Mt.verified,children:o.jsx("g",{children:o.jsx("path",{clipRule:"evenodd",d:"M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fillRule:"evenodd"})})}),yr="_root_98iqw_1",br="_article_98iqw_21",Lt={root:yr,article:br},kt=({className:e,children:t})=>o.jsx("div",{className:ue("react-tweet-theme",Lt.root,e),children:o.jsx("article",{className:Lt.article,children:t})}),Qt=e=>o.jsx("img",{...e}),Tr="_header_nqq4j_1",Or="_avatar_nqq4j_11",jr="_avatarOverflow_nqq4j_16",Er="_avatarSquare_nqq4j_23",Cr="_avatarShadow_nqq4j_26",Dr="_author_nqq4j_37",Mr="_authorLink_nqq4j_44",kr="_authorVerified_nqq4j_53",Sr="_authorLinkText_nqq4j_56",Rr="_authorMeta_nqq4j_63",Pr="_authorFollow_nqq4j_66",Nr="_username_nqq4j_69",Wr="_follow_nqq4j_74",qr="_separator_nqq4j_82",Ir="_brand_nqq4j_86",Lr="_twitterIcon_nqq4j_90",q={header:Tr,avatar:Or,avatarOverflow:jr,avatarSquare:Er,avatarShadow:Cr,author:Dr,authorLink:Mr,authorVerified:kr,authorLinkText:Sr,authorMeta:Rr,authorFollow:Pr,username:Nr,follow:Wr,separator:qr,brand:Ir,twitterIcon:Lr},Ur="_verifiedOld_lcna5_1",$r="_verifiedBlue_lcna5_4",Fr="_verifiedGovernment_lcna5_7",We={verifiedOld:Ur,verifiedBlue:$r,verifiedGovernment:Fr},Xt=({user:e,className:t})=>{const r=e.verified||e.is_blue_verified||e.verified_type;let a=o.jsx(gr,{}),n=We.verifiedBlue;if(r)switch(e.is_blue_verified||(n=We.verifiedOld),e.verified_type){case"Government":a=o.jsx(wr,{}),n=We.verifiedGovernment;break;case"Business":a=o.jsx(xr,{}),n=null;break}return r?o.jsx("div",{className:ue(t,n),children:a}):null},Yr=({tweet:e,components:t})=>{var r;const a=(r=t?.AvatarImg)!=null?r:Qt,{user:n}=e;return o.jsxs("div",{className:q.header,children:[o.jsxs("a",{href:e.url,className:q.avatar,target:"_blank",rel:"noopener noreferrer",children:[o.jsx("div",{className:ue(q.avatarOverflow,n.profile_image_shape==="Square"&&q.avatarSquare),children:o.jsx(a,{src:n.profile_image_url_https,alt:n.name,width:48,height:48})}),o.jsx("div",{className:q.avatarOverflow,children:o.jsx("div",{className:q.avatarShadow})})]}),o.jsxs("div",{className:q.author,children:[o.jsxs("a",{href:e.url,className:q.authorLink,target:"_blank",rel:"noopener noreferrer",children:[o.jsx("div",{className:q.authorLinkText,children:o.jsx("span",{title:n.name,children:n.name})}),o.jsx(Xt,{user:n,className:q.authorVerified})]}),o.jsxs("div",{className:q.authorMeta,children:[o.jsx("a",{href:e.url,className:q.username,target:"_blank",rel:"noopener noreferrer",children:o.jsxs("span",{title:`@${n.screen_name}`,children:["@",n.screen_name]})}),o.jsxs("div",{className:q.authorFollow,children:[o.jsx("span",{className:q.separator,children:"·"}),o.jsx("a",{href:n.follow_url,className:q.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),o.jsx("a",{href:e.url,className:q.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:o.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:q.twitterIcon,children:o.jsx("g",{children:o.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})},Vr="_root_1ec15_1",Ar={root:Vr},Br=({tweet:e})=>o.jsxs("a",{href:e.in_reply_to_url,className:Ar.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",e.in_reply_to_screen_name]}),Hr="_root_eihfa_1",zr={root:Hr},Gr=({href:e,children:t})=>o.jsx("a",{href:e,className:zr.root,target:"_blank",rel:"noopener noreferrer",children:t}),Qr="_root_1xq52_1",Xr={root:Qr},Jr=({tweet:e})=>o.jsx("p",{className:Xr.root,children:e.entities.map((t,r)=>{switch(t.type){case"hashtag":case"mention":case"url":case"symbol":return o.jsx(Gr,{href:t.href,children:t.text},r);case"media":return;default:return o.jsx("span",{dangerouslySetInnerHTML:{__html:t.text}},r)}})}),Ut=e=>`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`,Jt=e=>`https://twitter.com/${typeof e=="string"?e:e.user.screen_name}`,Kr=e=>`https://twitter.com/intent/like?tweet_id=${e.id_str}`,Zr=e=>`https://twitter.com/intent/tweet?in_reply_to=${e.id_str}`,ea=e=>`https://twitter.com/intent/follow?screen_name=${e.user.screen_name}`,ta=e=>`https://twitter.com/hashtag/${e.text}`,ra=e=>`https://twitter.com/search?q=%24${e.text}`,aa=e=>`https://twitter.com/${e.in_reply_to_screen_name}/status/${e.in_reply_to_status_id_str}`,Kt=(e,t)=>{const r=new URL(e.media_url_https),a=r.pathname.split(".").pop();return a?(r.pathname=r.pathname.replace(`.${a}`,""),r.searchParams.set("format",a),r.searchParams.set("name",t),r.toString()):e.media_url_https},na=e=>{const{variants:t}=e.video_info;return t.filter(a=>a.content_type==="video/mp4").sort((a,n)=>{var i,d;return((i=n.bitrate)!=null?i:0)-((d=a.bitrate)!=null?d:0)})},oa=e=>{const t=na(e);return t.length>1?t[1]:t[0]},Ve=e=>e>999999?`${(e/1e6).toFixed(1)}M`:e>999?`${(e/1e3).toFixed(1)}K`:e.toString();function $t(e){const t=Array.from(e.text),r=[{indices:e.display_text_range,type:"text"}];return Te(r,"hashtag",e.entities.hashtags),Te(r,"mention",e.entities.user_mentions),Te(r,"url",e.entities.urls),Te(r,"symbol",e.entities.symbols),e.entities.media&&Te(r,"media",e.entities.media),ia(e,r),r.map(a=>{const n=t.slice(a.indices[0],a.indices[1]).join("");switch(a.type){case"hashtag":return Object.assign(a,{href:ta(a),text:n});case"mention":return Object.assign(a,{href:Jt(a.screen_name),text:n});case"url":case"media":return Object.assign(a,{href:a.expanded_url,text:a.display_url});case"symbol":return Object.assign(a,{href:ra(a),text:n});default:return Object.assign(a,{text:n})}})}function Te(e,t,r){for(const a of r)for(const[n,i]of e.entries()){if(i.indices[0]>a.indices[0]||i.indices[1]a.indices[1]&&d.push({indices:[a.indices[1],i.indices[1]],type:"text"}),e.splice(n,1,...d);break}}function ia(e,t){e.entities.media&&e.entities.media[0].indices[0]e.display_text_range[1]&&(r.indices[1]=e.display_text_range[1])}const sa=e=>({...e,url:Ut(e),user:{...e.user,url:Jt(e),follow_url:ea(e)},like_url:Kr(e),reply_url:Zr(e),in_reply_to_url:e.in_reply_to_screen_name?aa(e):void 0,entities:$t(e),quoted_tweet:e.quoted_tweet?{...e.quoted_tweet,url:Ut(e.quoted_tweet),entities:$t(e.quoted_tweet)}:void 0}),ua="_root_g9tkv_1",la="_rounded_g9tkv_6",da="_mediaWrapper_g9tkv_10",ca="_grid2Columns_g9tkv_17",fa="_grid3_g9tkv_20",va="_grid2x2_g9tkv_23",ha="_mediaContainer_g9tkv_26",ma="_mediaLink_g9tkv_34",_a="_skeleton_g9tkv_38",pa="_image_g9tkv_43",A={root:ua,rounded:la,mediaWrapper:da,grid2Columns:ca,grid3:fa,grid2x2:va,mediaContainer:ha,mediaLink:ma,skeleton:_a,image:pa},ga="_anchor_fp31d_1",xa="_videoButton_fp31d_17",wa="_videoButtonIcon_fp31d_35",ya="_watchOnTwitter_fp31d_44",ba="_viewReplies_fp31d_60",ge={anchor:ga,videoButton:xa,videoButtonIcon:wa,watchOnTwitter:ya,viewReplies:ba},Ta=({tweet:e,media:t})=>{const[r,a]=D.useState(!0),[n,i]=D.useState(!1),[d,v]=D.useState(!1),s=oa(t);let l=0;return o.jsxs(o.Fragment,{children:[o.jsx("video",{className:A.image,poster:Kt(t,"small"),controls:!r,muted:!0,preload:"metadata",tabIndex:r?-1:0,onPlay:()=>{l&&window.clearTimeout(l),n||i(!0),d&&v(!1)},onPause:()=>{l&&window.clearTimeout(l),l=window.setTimeout(()=>{n&&i(!1),l=0},100)},onEnded:()=>{v(!0)},children:o.jsx("source",{src:s.url,type:s.content_type})}),r&&o.jsx("button",{type:"button",className:ge.videoButton,"aria-label":"View video on Twitter",onClick:m=>{const x=m.currentTarget.previousSibling;m.preventDefault(),a(!1),i(!0),x.play(),x.focus()},children:o.jsx("svg",{viewBox:"0 0 24 24",className:ge.videoButtonIcon,"aria-hidden":"true",children:o.jsx("g",{children:o.jsx("path",{d:"M21 12L4 2v20l17-10z"})})})}),!n&&!d&&o.jsx("div",{className:ge.watchOnTwitter,children:o.jsx("a",{href:e.url,className:ge.anchor,target:"_blank",rel:"noopener noreferrer",children:r?"Watch on Twitter":"Continue watching on Twitter"})}),d&&o.jsx("a",{href:e.url,className:ue(ge.anchor,ge.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},Oa=e=>o.jsx("img",{...e}),Ft=(e,t)=>{let r=56.25;return t===1&&(r=100/e.original_info.width*e.original_info.height),t===2&&(r=r*2),{width:e.type==="photo"?void 0:"unset",paddingBottom:`${r}%`}},Zt=({tweet:e,components:t,quoted:r})=>{var a,n,i;const d=(i=(a=e.mediaDetails)==null?void 0:a.length)!=null?i:0;var v;const s=(v=t?.MediaImg)!=null?v:Oa;return o.jsx("div",{className:ue(A.root,!r&&A.rounded),children:o.jsx("div",{className:ue(A.mediaWrapper,d>1&&A.grid2Columns,d===3&&A.grid3,d>4&&A.grid2x2),children:(n=e.mediaDetails)==null?void 0:n.map(l=>o.jsx(D.Fragment,{children:l.type==="photo"?o.jsxs("a",{href:e.url,className:ue(A.mediaContainer,A.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[o.jsx("div",{className:A.skeleton,style:Ft(l,d)}),o.jsx(s,{src:Kt(l,"small"),alt:l.ext_alt_text||"Image",className:A.image,draggable:!0})]},l.media_url_https):o.jsxs("div",{className:A.mediaContainer,children:[o.jsx("div",{className:A.skeleton,style:Ft(l,d)}),o.jsx(Ta,{tweet:e,media:l})]},l.media_url_https)},l.media_url_https))})})};var Ae={exports:{}},er={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(er);var P=er.exports,Be={exports:{}},He={exports:{}},tr={exports:{}};(function(e){function t(r){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(tr);var rr=tr.exports,ze={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(a,n){if(n.length1?"s":"")+" required, but only "+n.length+" present")}e.exports=t.default})(ze,ze.exports);var $=ze.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=r(rr),n=r($);function i(d){return(0,n.default)(1,arguments),d instanceof Date||(0,a.default)(d)==="object"&&Object.prototype.toString.call(d)==="[object Date]"}e.exports=t.default})(He,He.exports);var ja=He.exports,Ge={exports:{}};(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=r(rr),n=r($);function i(d){(0,n.default)(1,arguments);var v=Object.prototype.toString.call(d);return d instanceof Date||(0,a.default)(d)==="object"&&v==="[object Date]"?new Date(d.getTime()):typeof d=="number"||v==="[object Number]"?new Date(d):((typeof d=="string"||v==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}e.exports=t.default})(Ge,Ge.exports);var J=Ge.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var a=r(ja),n=r(J),i=r($);function d(v){if((0,i.default)(1,arguments),!(0,a.default)(v)&&typeof v!="number")return!1;var s=(0,n.default)(v);return!isNaN(Number(s))}e.exports=t.default})(Be,Be.exports);var Ea=Be.exports,Qe={exports:{}},Xe={exports:{}},Je={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(a){if(a===null||a===!0||a===!1)return NaN;var n=Number(a);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}e.exports=t.default})(Je,Je.exports);var xe=Je.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var a=r(xe),n=r(J),i=r($);function d(v,s){(0,i.default)(2,arguments);var l=(0,n.default)(v).getTime(),m=(0,a.default)(s);return new Date(l+m)}e.exports=t.default})(Xe,Xe.exports);var Ca=Xe.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var a=r(Ca),n=r($),i=r(xe);function d(v,s){(0,n.default)(2,arguments);var l=(0,i.default)(s);return(0,a.default)(v,-l)}e.exports=t.default})(Qe,Qe.exports);var Da=Qe.exports,Ke={exports:{}},Ze={exports:{}};(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var a=r(J),n=r($),i=864e5;function d(v){(0,n.default)(1,arguments);var s=(0,a.default)(v),l=s.getTime();s.setUTCMonth(0,1),s.setUTCHours(0,0,0,0);var m=s.getTime(),x=l-m;return Math.floor(x/i)+1}e.exports=t.default})(Ze,Ze.exports);var Ma=Ze.exports,et={exports:{}},tt={exports:{}};(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=r(J),n=r($);function i(d){(0,n.default)(1,arguments);var v=1,s=(0,a.default)(d),l=s.getUTCDay(),m=(l=x.getTime()?l+1:s.getTime()>=b.getTime()?l:l-1}e.exports=t.default})(at,at.exports);var ar=at.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var a=r(ar),n=r(St),i=r($);function d(v){(0,i.default)(1,arguments);var s=(0,a.default)(v),l=new Date(0);l.setUTCFullYear(s,0,4),l.setUTCHours(0,0,0,0);var m=(0,n.default)(l);return m}e.exports=t.default})(rt,rt.exports);var ka=rt.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var a=r(J),n=r(St),i=r(ka),d=r($),v=6048e5;function s(l){(0,d.default)(1,arguments);var m=(0,a.default)(l),x=(0,n.default)(m).getTime()-(0,i.default)(m).getTime();return Math.round(x/v)+1}e.exports=t.default})(et,et.exports);var Sa=et.exports,nt={exports:{}},ot={exports:{}},ve={};Object.defineProperty(ve,"__esModule",{value:!0});ve.getDefaultOptions=Ra;ve.setDefaultOptions=Pa;var nr={};function Ra(){return nr}function Pa(e){nr=e}(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var a=r(J),n=r($),i=r(xe),d=ve;function v(s,l){var m,x,y,b,w,O,p,u;(0,n.default)(1,arguments);var h=(0,d.getDefaultOptions)(),f=(0,i.default)((m=(x=(y=(b=l?.weekStartsOn)!==null&&b!==void 0?b:l==null||(w=l.locale)===null||w===void 0||(O=w.options)===null||O===void 0?void 0:O.weekStartsOn)!==null&&y!==void 0?y:h.weekStartsOn)!==null&&x!==void 0?x:(p=h.locale)===null||p===void 0||(u=p.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&m!==void 0?m:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=(0,a.default)(s),_=c.getUTCDay(),g=(_=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var T=new Date(0);T.setUTCFullYear(c+1,0,g),T.setUTCHours(0,0,0,0);var M=(0,i.default)(T,m),F=new Date(0);F.setUTCFullYear(c,0,g),F.setUTCHours(0,0,0,0);var I=(0,i.default)(F,m);return f.getTime()>=M.getTime()?c+1:f.getTime()>=I.getTime()?c:c-1}e.exports=t.default})(st,st.exports);var or=st.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var a=r(or),n=r($),i=r(Rt),d=r(xe),v=ve;function s(l,m){var x,y,b,w,O,p,u,h;(0,n.default)(1,arguments);var f=(0,v.getDefaultOptions)(),c=(0,d.default)((x=(y=(b=(w=m?.firstWeekContainsDate)!==null&&w!==void 0?w:m==null||(O=m.locale)===null||O===void 0||(p=O.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&b!==void 0?b:f.firstWeekContainsDate)!==null&&y!==void 0?y:(u=f.locale)===null||u===void 0||(h=u.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&x!==void 0?x:1),_=(0,a.default)(l,m),g=new Date(0);g.setUTCFullYear(_,0,c),g.setUTCHours(0,0,0,0);var T=(0,i.default)(g,m);return T}e.exports=t.default})(it,it.exports);var Na=it.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var a=r(J),n=r(Rt),i=r(Na),d=r($),v=6048e5;function s(l,m){(0,d.default)(1,arguments);var x=(0,a.default)(l),y=(0,n.default)(x,m).getTime()-(0,i.default)(x,m).getTime();return Math.round(y/v)+1}e.exports=t.default})(nt,nt.exports);var Wa=nt.exports,ut={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(a,n){for(var i=a<0?"-":"",d=Math.abs(a).toString();d.length0?l:1-l;return(0,a.default)(s==="yy"?m%100:m,s.length)},M:function(v,s){var l=v.getUTCMonth();return s==="M"?String(l+1):(0,a.default)(l+1,2)},d:function(v,s){return(0,a.default)(v.getUTCDate(),s.length)},a:function(v,s){var l=v.getUTCHours()/12>=1?"pm":"am";switch(s){case"a":case"aa":return l.toUpperCase();case"aaa":return l;case"aaaaa":return l[0];case"aaaa":default:return l==="am"?"a.m.":"p.m."}},h:function(v,s){return(0,a.default)(v.getUTCHours()%12||12,s.length)},H:function(v,s){return(0,a.default)(v.getUTCHours(),s.length)},m:function(v,s){return(0,a.default)(v.getUTCMinutes(),s.length)},s:function(v,s){return(0,a.default)(v.getUTCSeconds(),s.length)},S:function(v,s){var l=s.length,m=v.getUTCMilliseconds(),x=Math.floor(m*Math.pow(10,l-3));return(0,a.default)(x,s.length)}},i=n;t.default=i,e.exports=t.default})(lt,lt.exports);var qa=lt.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(Ma),n=r(Sa),i=r(ar),d=r(Wa),v=r(or),s=r(ir),l=r(qa),m={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},x={G:function(u,h,f){var c=u.getUTCFullYear()>0?1:0;switch(h){case"G":case"GG":case"GGG":return f.era(c,{width:"abbreviated"});case"GGGGG":return f.era(c,{width:"narrow"});case"GGGG":default:return f.era(c,{width:"wide"})}},y:function(u,h,f){if(h==="yo"){var c=u.getUTCFullYear(),_=c>0?c:1-c;return f.ordinalNumber(_,{unit:"year"})}return l.default.y(u,h)},Y:function(u,h,f,c){var _=(0,v.default)(u,c),g=_>0?_:1-_;if(h==="YY"){var T=g%100;return(0,s.default)(T,2)}return h==="Yo"?f.ordinalNumber(g,{unit:"year"}):(0,s.default)(g,h.length)},R:function(u,h){var f=(0,i.default)(u);return(0,s.default)(f,h.length)},u:function(u,h){var f=u.getUTCFullYear();return(0,s.default)(f,h.length)},Q:function(u,h,f){var c=Math.ceil((u.getUTCMonth()+1)/3);switch(h){case"Q":return String(c);case"QQ":return(0,s.default)(c,2);case"Qo":return f.ordinalNumber(c,{unit:"quarter"});case"QQQ":return f.quarter(c,{width:"abbreviated",context:"formatting"});case"QQQQQ":return f.quarter(c,{width:"narrow",context:"formatting"});case"QQQQ":default:return f.quarter(c,{width:"wide",context:"formatting"})}},q:function(u,h,f){var c=Math.ceil((u.getUTCMonth()+1)/3);switch(h){case"q":return String(c);case"qq":return(0,s.default)(c,2);case"qo":return f.ordinalNumber(c,{unit:"quarter"});case"qqq":return f.quarter(c,{width:"abbreviated",context:"standalone"});case"qqqqq":return f.quarter(c,{width:"narrow",context:"standalone"});case"qqqq":default:return f.quarter(c,{width:"wide",context:"standalone"})}},M:function(u,h,f){var c=u.getUTCMonth();switch(h){case"M":case"MM":return l.default.M(u,h);case"Mo":return f.ordinalNumber(c+1,{unit:"month"});case"MMM":return f.month(c,{width:"abbreviated",context:"formatting"});case"MMMMM":return f.month(c,{width:"narrow",context:"formatting"});case"MMMM":default:return f.month(c,{width:"wide",context:"formatting"})}},L:function(u,h,f){var c=u.getUTCMonth();switch(h){case"L":return String(c+1);case"LL":return(0,s.default)(c+1,2);case"Lo":return f.ordinalNumber(c+1,{unit:"month"});case"LLL":return f.month(c,{width:"abbreviated",context:"standalone"});case"LLLLL":return f.month(c,{width:"narrow",context:"standalone"});case"LLLL":default:return f.month(c,{width:"wide",context:"standalone"})}},w:function(u,h,f,c){var _=(0,d.default)(u,c);return h==="wo"?f.ordinalNumber(_,{unit:"week"}):(0,s.default)(_,h.length)},I:function(u,h,f){var c=(0,n.default)(u);return h==="Io"?f.ordinalNumber(c,{unit:"week"}):(0,s.default)(c,h.length)},d:function(u,h,f){return h==="do"?f.ordinalNumber(u.getUTCDate(),{unit:"date"}):l.default.d(u,h)},D:function(u,h,f){var c=(0,a.default)(u);return h==="Do"?f.ordinalNumber(c,{unit:"dayOfYear"}):(0,s.default)(c,h.length)},E:function(u,h,f){var c=u.getUTCDay();switch(h){case"E":case"EE":case"EEE":return f.day(c,{width:"abbreviated",context:"formatting"});case"EEEEE":return f.day(c,{width:"narrow",context:"formatting"});case"EEEEEE":return f.day(c,{width:"short",context:"formatting"});case"EEEE":default:return f.day(c,{width:"wide",context:"formatting"})}},e:function(u,h,f,c){var _=u.getUTCDay(),g=(_-c.weekStartsOn+8)%7||7;switch(h){case"e":return String(g);case"ee":return(0,s.default)(g,2);case"eo":return f.ordinalNumber(g,{unit:"day"});case"eee":return f.day(_,{width:"abbreviated",context:"formatting"});case"eeeee":return f.day(_,{width:"narrow",context:"formatting"});case"eeeeee":return f.day(_,{width:"short",context:"formatting"});case"eeee":default:return f.day(_,{width:"wide",context:"formatting"})}},c:function(u,h,f,c){var _=u.getUTCDay(),g=(_-c.weekStartsOn+8)%7||7;switch(h){case"c":return String(g);case"cc":return(0,s.default)(g,h.length);case"co":return f.ordinalNumber(g,{unit:"day"});case"ccc":return f.day(_,{width:"abbreviated",context:"standalone"});case"ccccc":return f.day(_,{width:"narrow",context:"standalone"});case"cccccc":return f.day(_,{width:"short",context:"standalone"});case"cccc":default:return f.day(_,{width:"wide",context:"standalone"})}},i:function(u,h,f){var c=u.getUTCDay(),_=c===0?7:c;switch(h){case"i":return String(_);case"ii":return(0,s.default)(_,h.length);case"io":return f.ordinalNumber(_,{unit:"day"});case"iii":return f.day(c,{width:"abbreviated",context:"formatting"});case"iiiii":return f.day(c,{width:"narrow",context:"formatting"});case"iiiiii":return f.day(c,{width:"short",context:"formatting"});case"iiii":default:return f.day(c,{width:"wide",context:"formatting"})}},a:function(u,h,f){var c=u.getUTCHours(),_=c/12>=1?"pm":"am";switch(h){case"a":case"aa":return f.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"aaa":return f.dayPeriod(_,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return f.dayPeriod(_,{width:"narrow",context:"formatting"});case"aaaa":default:return f.dayPeriod(_,{width:"wide",context:"formatting"})}},b:function(u,h,f){var c=u.getUTCHours(),_;switch(c===12?_=m.noon:c===0?_=m.midnight:_=c/12>=1?"pm":"am",h){case"b":case"bb":return f.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"bbb":return f.dayPeriod(_,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return f.dayPeriod(_,{width:"narrow",context:"formatting"});case"bbbb":default:return f.dayPeriod(_,{width:"wide",context:"formatting"})}},B:function(u,h,f){var c=u.getUTCHours(),_;switch(c>=17?_=m.evening:c>=12?_=m.afternoon:c>=4?_=m.morning:_=m.night,h){case"B":case"BB":case"BBB":return f.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"BBBBB":return f.dayPeriod(_,{width:"narrow",context:"formatting"});case"BBBB":default:return f.dayPeriod(_,{width:"wide",context:"formatting"})}},h:function(u,h,f){if(h==="ho"){var c=u.getUTCHours()%12;return c===0&&(c=12),f.ordinalNumber(c,{unit:"hour"})}return l.default.h(u,h)},H:function(u,h,f){return h==="Ho"?f.ordinalNumber(u.getUTCHours(),{unit:"hour"}):l.default.H(u,h)},K:function(u,h,f){var c=u.getUTCHours()%12;return h==="Ko"?f.ordinalNumber(c,{unit:"hour"}):(0,s.default)(c,h.length)},k:function(u,h,f){var c=u.getUTCHours();return c===0&&(c=24),h==="ko"?f.ordinalNumber(c,{unit:"hour"}):(0,s.default)(c,h.length)},m:function(u,h,f){return h==="mo"?f.ordinalNumber(u.getUTCMinutes(),{unit:"minute"}):l.default.m(u,h)},s:function(u,h,f){return h==="so"?f.ordinalNumber(u.getUTCSeconds(),{unit:"second"}):l.default.s(u,h)},S:function(u,h){return l.default.S(u,h)},X:function(u,h,f,c){var _=c._originalDate||u,g=_.getTimezoneOffset();if(g===0)return"Z";switch(h){case"X":return b(g);case"XXXX":case"XX":return w(g);case"XXXXX":case"XXX":default:return w(g,":")}},x:function(u,h,f,c){var _=c._originalDate||u,g=_.getTimezoneOffset();switch(h){case"x":return b(g);case"xxxx":case"xx":return w(g);case"xxxxx":case"xxx":default:return w(g,":")}},O:function(u,h,f,c){var _=c._originalDate||u,g=_.getTimezoneOffset();switch(h){case"O":case"OO":case"OOO":return"GMT"+y(g,":");case"OOOO":default:return"GMT"+w(g,":")}},z:function(u,h,f,c){var _=c._originalDate||u,g=_.getTimezoneOffset();switch(h){case"z":case"zz":case"zzz":return"GMT"+y(g,":");case"zzzz":default:return"GMT"+w(g,":")}},t:function(u,h,f,c){var _=c._originalDate||u,g=Math.floor(_.getTime()/1e3);return(0,s.default)(g,h.length)},T:function(u,h,f,c){var _=c._originalDate||u,g=_.getTime();return(0,s.default)(g,h.length)}};function y(p,u){var h=p>0?"-":"+",f=Math.abs(p),c=Math.floor(f/60),_=f%60;if(_===0)return h+String(c);var g=u||"";return h+String(c)+g+(0,s.default)(_,2)}function b(p,u){if(p%60===0){var h=p>0?"-":"+";return h+(0,s.default)(Math.abs(p)/60,2)}return w(p,u)}function w(p,u){var h=u||"",f=p>0?"-":"+",c=Math.abs(p),_=(0,s.default)(Math.floor(c/60),2),g=(0,s.default)(c%60,2);return f+_+h+g}var O=x;t.default=O,e.exports=t.default})(Ke,Ke.exports);var Ia=Ke.exports,dt={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(s,l){switch(s){case"P":return l.date({width:"short"});case"PP":return l.date({width:"medium"});case"PPP":return l.date({width:"long"});case"PPPP":default:return l.date({width:"full"})}},a=function(s,l){switch(s){case"p":return l.time({width:"short"});case"pp":return l.time({width:"medium"});case"ppp":return l.time({width:"long"});case"pppp":default:return l.time({width:"full"})}},n=function(s,l){var m=s.match(/(P+)(p+)?/)||[],x=m[1],y=m[2];if(!y)return r(s,l);var b;switch(x){case"P":b=l.dateTime({width:"short"});break;case"PP":b=l.dateTime({width:"medium"});break;case"PPP":b=l.dateTime({width:"long"});break;case"PPPP":default:b=l.dateTime({width:"full"});break}return b.replace("{{date}}",r(x,l)).replace("{{time}}",a(y,l))},i={p:a,P:n},d=i;t.default=d,e.exports=t.default})(dt,dt.exports);var La=dt.exports,ct={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(a){var n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),a.getTime()-n.getTime()}e.exports=t.default})(ct,ct.exports);var Ua=ct.exports,Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.isProtectedDayOfYearToken=Ya;Ce.isProtectedWeekYearToken=Va;Ce.throwProtectedError=Aa;var $a=["D","DD"],Fa=["YY","YYYY"];function Ya(e){return $a.indexOf(e)!==-1}function Va(e){return Fa.indexOf(e)!==-1}function Aa(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ft={exports:{}},vt={exports:{}},ht={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},a=function(d,v,s){var l,m=r[d];return typeof m=="string"?l=m:v===1?l=m.one:l=m.other.replace("{{count}}",v.toString()),s!=null&&s.addSuffix?s.comparison&&s.comparison>0?"in "+l:l+" ago":l},n=a;t.default=n,e.exports=t.default})(ht,ht.exports);var Ba=ht.exports,mt={exports:{}},_t={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(a){return function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.width?String(n.width):a.defaultWidth,d=a.formats[i]||a.formats[a.defaultWidth];return d}}e.exports=t.default})(_t,_t.exports);var Ha=_t.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(Ha),n={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},i={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},d={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:(0,a.default)({formats:n,defaultWidth:"full"}),time:(0,a.default)({formats:i,defaultWidth:"full"}),dateTime:(0,a.default)({formats:d,defaultWidth:"full"})},s=v;t.default=s,e.exports=t.default})(mt,mt.exports);var za=mt.exports,pt={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},a=function(d,v,s,l){return r[d]},n=a;t.default=n,e.exports=t.default})(pt,pt.exports);var Ga=pt.exports,gt={exports:{}},xt={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(a){return function(n,i){var d=i!=null&&i.context?String(i.context):"standalone",v;if(d==="formatting"&&a.formattingValues){var s=a.defaultFormattingWidth||a.defaultWidth,l=i!=null&&i.width?String(i.width):s;v=a.formattingValues[l]||a.formattingValues[s]}else{var m=a.defaultWidth,x=i!=null&&i.width?String(i.width):a.defaultWidth;v=a.values[x]||a.values[m]}var y=a.argumentCallback?a.argumentCallback(n):n;return v[y]}}e.exports=t.default})(xt,xt.exports);var Qa=xt.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(Qa),n={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},i={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},d={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},v={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},s={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},l={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},m=function(w,O){var p=Number(w),u=p%100;if(u>20||u<10)switch(u%10){case 1:return p+"st";case 2:return p+"nd";case 3:return p+"rd"}return p+"th"},x={ordinalNumber:m,era:(0,a.default)({values:n,defaultWidth:"wide"}),quarter:(0,a.default)({values:i,defaultWidth:"wide",argumentCallback:function(w){return w-1}}),month:(0,a.default)({values:d,defaultWidth:"wide"}),day:(0,a.default)({values:v,defaultWidth:"wide"}),dayPeriod:(0,a.default)({values:s,defaultWidth:"wide",formattingValues:l,defaultFormattingWidth:"wide"})},y=x;t.default=y,e.exports=t.default})(gt,gt.exports);var Xa=gt.exports,wt={exports:{}},yt={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(i){return function(d){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=v.width,l=s&&i.matchPatterns[s]||i.matchPatterns[i.defaultMatchWidth],m=d.match(l);if(!m)return null;var x=m[0],y=s&&i.parsePatterns[s]||i.parsePatterns[i.defaultParseWidth],b=Array.isArray(y)?n(y,function(p){return p.test(x)}):a(y,function(p){return p.test(x)}),w;w=i.valueCallback?i.valueCallback(b):b,w=v.valueCallback?v.valueCallback(w):w;var O=d.slice(x.length);return{value:w,rest:O}}}function a(i,d){for(var v in i)if(i.hasOwnProperty(v)&&d(i[v]))return v}function n(i,d){for(var v=0;v1&&arguments[1]!==void 0?arguments[1]:{},d=n.match(a.matchPattern);if(!d)return null;var v=d[0],s=n.match(a.parsePattern);if(!s)return null;var l=a.valueCallback?a.valueCallback(s[0]):s[0];l=i.valueCallback?i.valueCallback(l):l;var m=n.slice(v.length);return{value:l,rest:m}}}e.exports=t.default})(bt,bt.exports);var Ka=bt.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(Ja),n=r(Ka),i=/^(\d+)(th|st|nd|rd)?/i,d=/\d+/i,v={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},s={any:[/^b/i,/^(a|c)/i]},l={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},m={any:[/1/i,/2/i,/3/i,/4/i]},x={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},y={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},b={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},w={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},O={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},p={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},u={ordinalNumber:(0,n.default)({matchPattern:i,parsePattern:d,valueCallback:function(c){return parseInt(c,10)}}),era:(0,a.default)({matchPatterns:v,defaultMatchWidth:"wide",parsePatterns:s,defaultParseWidth:"any"}),quarter:(0,a.default)({matchPatterns:l,defaultMatchWidth:"wide",parsePatterns:m,defaultParseWidth:"any",valueCallback:function(c){return c+1}}),month:(0,a.default)({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:y,defaultParseWidth:"any"}),day:(0,a.default)({matchPatterns:b,defaultMatchWidth:"wide",parsePatterns:w,defaultParseWidth:"any"}),dayPeriod:(0,a.default)({matchPatterns:O,defaultMatchWidth:"any",parsePatterns:p,defaultParseWidth:"any"})},h=u;t.default=h,e.exports=t.default})(wt,wt.exports);var Za=wt.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(Ba),n=r(za),i=r(Ga),d=r(Xa),v=r(Za),s={code:"en-US",formatDistance:a.default,formatLong:n.default,formatRelative:i.default,localize:d.default,match:v.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},l=s;t.default=l,e.exports=t.default})(vt,vt.exports);var en=vt.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(en),n=a.default;t.default=n,e.exports=t.default})(ft,ft.exports);var tn=ft.exports;(function(e,t){var r=P.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var a=r(Ea),n=r(Da),i=r(J),d=r(Ia),v=r(La),s=r(Ua),l=Ce,m=r(xe),x=r($),y=ve,b=r(tn),w=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,p=/^'([^]*?)'?$/,u=/''/g,h=/[a-zA-Z]/;function f(_,g,T){var M,F,I,z,ae,H,N,we,he,me,G,_e,ye,Q,X,ne,pe,oe;(0,x.default)(2,arguments);var De=String(g),ie=(0,y.getDefaultOptions)(),de=(M=(F=T?.locale)!==null&&F!==void 0?F:ie.locale)!==null&&M!==void 0?M:b.default,be=(0,m.default)((I=(z=(ae=(H=T?.firstWeekContainsDate)!==null&&H!==void 0?H:T==null||(N=T.locale)===null||N===void 0||(we=N.options)===null||we===void 0?void 0:we.firstWeekContainsDate)!==null&&ae!==void 0?ae:ie.firstWeekContainsDate)!==null&&z!==void 0?z:(he=ie.locale)===null||he===void 0||(me=he.options)===null||me===void 0?void 0:me.firstWeekContainsDate)!==null&&I!==void 0?I:1);if(!(be>=1&&be<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var K=(0,m.default)((G=(_e=(ye=(Q=T?.weekStartsOn)!==null&&Q!==void 0?Q:T==null||(X=T.locale)===null||X===void 0||(ne=X.options)===null||ne===void 0?void 0:ne.weekStartsOn)!==null&&ye!==void 0?ye:ie.weekStartsOn)!==null&&_e!==void 0?_e:(pe=ie.locale)===null||pe===void 0||(oe=pe.options)===null||oe===void 0?void 0:oe.weekStartsOn)!==null&&G!==void 0?G:0);if(!(K>=0&&K<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!de.localize)throw new RangeError("locale must contain localize property");if(!de.formatLong)throw new RangeError("locale must contain formatLong property");var ce=(0,i.default)(_);if(!(0,a.default)(ce))throw new RangeError("Invalid time value");var E=(0,s.default)(ce),C=(0,n.default)(ce,E),W={firstWeekContainsDate:be,weekStartsOn:K,locale:de,_originalDate:ce},S=De.match(O).map(function(k){var L=k[0];if(L==="p"||L==="P"){var R=v.default[L];return R(k,de.formatLong)}return k}).join("").match(w).map(function(k){if(k==="''")return"'";var L=k[0];if(L==="'")return c(k);var R=d.default[L];if(R)return!(T!=null&&T.useAdditionalWeekYearTokens)&&(0,l.isProtectedWeekYearToken)(k)&&(0,l.throwProtectedError)(k,g,String(_)),!(T!=null&&T.useAdditionalDayOfYearTokens)&&(0,l.isProtectedDayOfYearToken)(k)&&(0,l.throwProtectedError)(k,g,String(_)),R(C,k,de.localize,W);if(L.match(h))throw new RangeError("Format string contains an unescaped latin alphabet character `"+L+"`");return k}).join("");return S}function c(_){var g=_.match(p);return g?g[1].replace(u,"'"):_}e.exports=t.default})(Ae,Ae.exports);var rn=Ae.exports;const Yt=mr(rn),se=()=>{},V=se(),qe=Object,j=e=>e===V,re=e=>typeof e=="function",le=(e,t)=>({...e,...t}),an=e=>re(e.then),Me=new WeakMap;let nn=0;const je=e=>{const t=typeof e,r=e&&e.constructor,a=r==Date;let n,i;if(qe(e)===e&&!a&&r!=RegExp){if(n=Me.get(e),n)return n;if(n=++nn+"~",Me.set(e,n),r==Array){for(n="@",i=0;iRe&&typeof window.requestAnimationFrame!=Pt,sr=(e,t)=>{const r=te.get(e);return[()=>!j(t)&&e.get(t)||Ie,a=>{if(!j(t)){const n=e.get(t);t in ke||(ke[t]=n),r[5](t,le(n,a),n||Ie)}},r[6],()=>!j(t)&&t in ke?ke[t]:!j(t)&&e.get(t)||Ie]};let Ot=!0;const sn=()=>Ot,[jt,Et]=Re&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[se,se],un=()=>{const e=Tt&&document.visibilityState;return j(e)||e!=="hidden"},ln=e=>(Tt&&document.addEventListener("visibilitychange",e),jt("focus",e),()=>{Tt&&document.removeEventListener("visibilitychange",e),Et("focus",e)}),dn=e=>{const t=()=>{Ot=!0,e()},r=()=>{Ot=!1};return jt("online",t),jt("offline",r),()=>{Et("online",t),Et("offline",r)}},cn={isOnline:sn,isVisible:un},fn={initFocus:ln,initReconnect:dn},Vt=!Dt.useId,Ee=!Re||"Deno"in window,vn=e=>on()?window.requestAnimationFrame(e):setTimeout(e,1),Le=Ee?D.useEffect:D.useLayoutEffect,Ue=typeof navigator<"u"&&navigator.connection,At=!Ee&&Ue&&(["slow-2g","2g"].includes(Ue.effectiveType)||Ue.saveData),Nt=e=>{if(re(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?je(e):"",[e,t]};let hn=0;const Ct=()=>++hn,ur=0,lr=1,dr=2,mn=3;var Oe={__proto__:null,ERROR_REVALIDATE_EVENT:mn,FOCUS_EVENT:ur,MUTATE_EVENT:dr,RECONNECT_EVENT:lr};async function cr(...e){const[t,r,a,n]=e,i=le({populateCache:!0,throwOnError:!0},typeof n=="boolean"?{revalidate:n}:n||{});let d=i.populateCache;const v=i.rollbackOnError;let s=i.optimisticData;const l=i.revalidate!==!1,m=b=>typeof v=="function"?v(b):v!==!1,x=i.throwOnError;if(re(r)){const b=r,w=[],O=t.keys();for(const p of O)!/^\$(inf|sub)\$/.test(p)&&b(t.get(p)._k)&&w.push(p);return Promise.all(w.map(y))}return y(r);async function y(b){const[w]=Nt(b);if(!w)return;const[O,p]=sr(t,w),[u,h,f,c]=te.get(t),_=()=>{const N=u[w];return l&&(delete f[w],delete c[w],N&&N[0])?N[0](dr).then(()=>O().data):O().data};if(e.length<3)return _();let g=a,T;const M=Ct();h[w]=[M,0];const F=!j(s),I=O(),z=I.data,ae=I._c,H=j(ae)?z:ae;if(F&&(s=re(s)?s(H,z):s,p({data:s,_c:H})),re(g))try{g=g(H)}catch(N){T=N}if(g&&an(g))if(g=await g.catch(N=>{T=N}),M!==h[w][0]){if(T)throw T;return g}else T&&F&&m(T)&&(d=!0,p({data:H,_c:V}));if(d&&!T)if(re(d)){const N=d(g,H);p({data:N,error:V,_c:V})}else p({data:g,error:V,_c:V});if(h[w][1]=Ct(),Promise.resolve(_()).then(()=>{p({_c:V})}),T){if(x)throw T;return}return g}}const Bt=(e,t)=>{for(const r in e)e[r][0]&&e[r][0](t)},_n=(e,t)=>{if(!te.has(e)){const r=le(fn,t),a={},n=cr.bind(V,e);let i=se;const d={},v=(m,x)=>{const y=d[m]||[];return d[m]=y,y.push(x),()=>y.splice(y.indexOf(x),1)},s=(m,x,y)=>{e.set(m,x);const b=d[m];if(b)for(const w of b)w(x,y)},l=()=>{if(!te.has(e)&&(te.set(e,[a,{},{},{},n,s,v]),!Ee)){const m=r.initFocus(setTimeout.bind(V,Bt.bind(V,a,ur))),x=r.initReconnect(setTimeout.bind(V,Bt.bind(V,a,lr)));i=()=>{m&&m(),x&&x(),te.delete(e)}}};return l(),[e,n,l,i]}return[e,te.get(e)[4]]},pn=(e,t,r,a,n)=>{const i=r.errorRetryCount,d=n.retryCount,v=~~((Math.random()+.5)*(1<<(d<8?d:8)))*r.errorRetryInterval;!j(i)&&d>i||setTimeout(a,v,n)},gn=(e,t)=>je(e)==je(t),[fr,xn]=_n(new Map),wn=le({onLoadingSlow:se,onSuccess:se,onError:se,onErrorRetry:pn,onDiscarded:se,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:At?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:At?5e3:3e3,compare:gn,isPaused:()=>!1,cache:fr,mutate:xn,fallback:{}},cn),yn=(e,t)=>{const r=le(e,t);if(t){const{use:a,fallback:n}=e,{use:i,fallback:d}=t;a&&i&&(r.use=a.concat(i)),n&&d&&(r.fallback=le(n,d))}return r},bn=D.createContext({}),Tn="$inf$",vr=Re&&window.__SWR_DEVTOOLS_USE__,On=vr?window.__SWR_DEVTOOLS_USE__:[],jn=()=>{vr&&(window.__SWR_DEVTOOLS_REACT__=Dt)},En=e=>re(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Cn=()=>le(wn,D.useContext(bn)),Dn=e=>(t,r,a)=>e(t,r&&((...i)=>{const[d]=Nt(t),[,,,v]=te.get(fr);if(d.startsWith(Tn))return r(...i);const s=v[d];return j(s)?r(...i):(delete v[d],s)}),a),Mn=On.concat(Dn),kn=e=>function(...r){const a=Cn(),[n,i,d]=En(r),v=yn(a,d);let s=e;const{use:l}=v,m=(l||[]).concat(Mn);for(let x=m.length;x--;)s=m[x](s);return s(n,i||v.fetcher||null,v)},Sn=(e,t,r)=>{const a=t[e]||(t[e]=[]);return a.push(r),()=>{const n=a.indexOf(r);n>=0&&(a[n]=a[a.length-1],a.pop())}};jn();const Ht=Dt.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),$e={dedupe:!0},Rn=(e,t,r)=>{const{cache:a,compare:n,suspense:i,fallbackData:d,revalidateOnMount:v,revalidateIfStale:s,refreshInterval:l,refreshWhenHidden:m,refreshWhenOffline:x,keepPreviousData:y}=r,[b,w,O,p]=te.get(a),[u,h]=Nt(e),f=D.useRef(!1),c=D.useRef(!1),_=D.useRef(u),g=D.useRef(t),T=D.useRef(r),M=()=>T.current,F=()=>M().isVisible()&&M().isOnline(),[I,z,ae,H]=sr(a,u),N=D.useRef({}).current,we=j(d)?r.fallback[u]:d,he=(E,C)=>{for(const W in N){const S=W;if(S==="data"){if(!n(E[S],C[S])&&(!j(E[S])||!n(oe,C[S])))return!1}else if(C[S]!==E[S])return!1}return!0},me=D.useMemo(()=>{const E=!u||!t?!1:j(v)?M().isPaused()||i?!1:j(s)?!0:s:v,C=U=>{const Z=le(U);return delete Z._k,E?{isValidating:!0,isLoading:!0,...Z}:Z},W=I(),S=H(),k=C(W),L=W===S?k:C(S);let R=k;return[()=>{const U=C(I());return he(U,R)?(R.data=U.data,R.isLoading=U.isLoading,R.isValidating=U.isValidating,R.error=U.error,R):(R=U,U)},()=>L]},[a,u]),G=_r.useSyncExternalStore(D.useCallback(E=>ae(u,(C,W)=>{he(W,C)||E()}),[a,u]),me[0],me[1]),_e=!f.current,ye=b[u]&&b[u].length>0,Q=G.data,X=j(Q)?we:Q,ne=G.error,pe=D.useRef(X),oe=y?j(Q)?pe.current:Q:X,De=ye&&!j(ne)?!1:_e&&!j(v)?v:M().isPaused()?!1:i?j(X)?!1:s:j(X)||s,ie=!!(u&&t&&_e&&De),de=j(G.isValidating)?ie:G.isValidating,be=j(G.isLoading)?ie:G.isLoading,K=D.useCallback(async E=>{const C=g.current;if(!u||!C||c.current||M().isPaused())return!1;let W,S,k=!0;const L=E||{},R=!O[u]||!L.dedupe,U=()=>Vt?!c.current&&u===_.current&&f.current:u===_.current,Z={isValidating:!1,isLoading:!1},Wt=()=>{z(Z)},qt=()=>{const B=O[u];B&&B[1]===S&&delete O[u]},It={isValidating:!0};j(I().data)&&(It.isLoading=!0);try{if(R&&(z(It),r.loadingTimeout&&j(I().data)&&setTimeout(()=>{k&&U()&&M().onLoadingSlow(u,r)},r.loadingTimeout),O[u]=[C(h),Ct()]),[W,S]=O[u],W=await W,R&&setTimeout(qt,r.dedupingInterval),!O[u]||O[u][1]!==S)return R&&U()&&M().onDiscarded(u),!1;Z.error=V;const B=w[u];if(!j(B)&&(S<=B[0]||S<=B[1]||B[1]===0))return Wt(),R&&U()&&M().onDiscarded(u),!1;const ee=I().data;Z.data=n(ee,W)?ee:W,R&&U()&&M().onSuccess(W,u,r)}catch(B){qt();const ee=M(),{shouldRetryOnError:Pe}=ee;ee.isPaused()||(Z.error=B,R&&U()&&(ee.onError(B,u,ee),(Pe===!0||re(Pe)&&Pe(B))&&F()&&ee.onErrorRetry(B,u,ee,hr=>{const Ne=b[u];Ne&&Ne[0]&&Ne[0](Oe.ERROR_REVALIDATE_EVENT,hr)},{retryCount:(L.retryCount||0)+1,dedupe:!0})))}return k=!1,Wt(),!0},[u,a]),ce=D.useCallback((...E)=>cr(a,_.current,...E),[]);if(Le(()=>{g.current=t,T.current=r,j(Q)||(pe.current=Q)}),Le(()=>{if(!u)return;const E=K.bind(V,$e);let C=0;const S=Sn(u,b,(k,L={})=>{if(k==Oe.FOCUS_EVENT){const R=Date.now();M().revalidateOnFocus&&R>C&&F()&&(C=R+M().focusThrottleInterval,E())}else if(k==Oe.RECONNECT_EVENT)M().revalidateOnReconnect&&F()&&E();else{if(k==Oe.MUTATE_EVENT)return K();if(k==Oe.ERROR_REVALIDATE_EVENT)return K(L)}});return c.current=!1,_.current=u,f.current=!0,z({_k:h}),De&&(j(X)||Ee?E():vn(E)),()=>{c.current=!0,S()}},[u]),Le(()=>{let E;function C(){const S=re(l)?l(I().data):l;S&&E!==-1&&(E=setTimeout(W,S))}function W(){!I().error&&(m||M().isVisible())&&(x||M().isOnline())?K($e).then(C):C()}return C(),()=>{E&&(clearTimeout(E),E=-1)}},[l,m,x,u]),D.useDebugValue(oe),i&&j(X)&&u){if(!Vt&&Ee)throw new Error("Fallback data is required when using suspense in SSR.");g.current=t,T.current=r,c.current=!1;const E=p[u];if(!j(E)){const C=ce(E);Ht(C)}if(j(ne)){const C=K($e);j(oe)||(C.status="fulfilled",C.value=!0),Ht(C)}else throw ne}return{mutate:ce,get data(){return N.data=!0,oe},get error(){return N.error=!0,ne},get isValidating(){return N.isValidating=!0,de},get isLoading(){return N.isLoading=!0,be}}},zt=kn(Rn);class Pn extends Error{constructor({message:t,status:r,data:a}){super(t),this.name="TwitterApiError",this.status=r,this.data=a}}const Nn=zt.default||zt,Wn="https://react-tweet.vercel.app";async function qn([e,t]){const r=await fetch(e,t),a=await r.json();if(r.ok)return a.data||null;throw new Pn({message:`Failed to fetch tweet at "${e}" with "${r.status}".`,data:a,status:r.status})}const In=(e,t,r)=>{const{isLoading:a,data:n,error:i}=Nn(()=>t||e?[t||e&&`${Wn}/api/tweet/${e}`,r]:null,qn,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(a||n===void 0&&!i),data:n,error:i}},Ln=()=>{const[e,t]=D.useState(!1);return D.useEffect(()=>t(!0),[]),e},Un="_root_i24yn_1",$n={root:Un},Fn=({tweet:e})=>{const t=Ln(),r=typeof window<"u"&&t?new Date(e.created_at):null;return r?o.jsx("a",{className:$n.root,href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":Yt(r,"h:mm a · MMM d, y"),children:o.jsx("time",{dateTime:r.toISOString(),children:Yt(r,"h:mm a · MMM d, y")})}):null},Yn="_info_19qcj_1",Vn="_infoLink_19qcj_10",An="_infoIcon_19qcj_30",Fe={info:Yn,infoLink:Vn,infoIcon:An},Bn=({tweet:e})=>o.jsxs("div",{className:Fe.info,children:[o.jsx(Fn,{tweet:e}),o.jsx("a",{className:Fe.infoLink,href:"https://help.twitter.com/en/twitter-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:o.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:Fe.infoIcon,children:o.jsx("g",{children:o.jsx("path",{d:"M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z"})})})})]}),Hn="_actions_n2anf_1",zn="_like_n2anf_13",Gn="_reply_n2anf_14",Qn="_copy_n2anf_15",Xn="_likeIconWrapper_n2anf_27",Jn="_likeCount_n2anf_30",Kn="_replyIconWrapper_n2anf_35",Zn="_copyIconWrapper_n2anf_36",eo="_likeIcon_n2anf_27",to="_replyIcon_n2anf_35",ro="_copyIcon_n2anf_36",ao="_replyText_n2anf_56",no="_copyText_n2anf_57",Y={actions:Hn,like:zn,reply:Gn,copy:Qn,likeIconWrapper:Xn,likeCount:Jn,replyIconWrapper:Kn,copyIconWrapper:Zn,likeIcon:eo,replyIcon:to,copyIcon:ro,replyText:ao,copyText:no},oo=({tweet:e})=>{const[t,r]=D.useState(!1),[a,n]=D.useState(!1),i=()=>{navigator.clipboard.writeText(e.url),r(!0)};return D.useEffect(()=>{if(t){const d=setTimeout(()=>{r(!1),n(!0)},6e3);return()=>clearTimeout(d)}},[t]),o.jsxs("button",{type:"button",className:Y.copy,"aria-label":"Copy link",onClick:i,children:[o.jsx("div",{className:Y.copyIconWrapper,children:t?o.jsx("svg",{viewBox:"0 0 24 24",className:Y.copyIcon,"aria-hidden":"true",children:o.jsx("g",{children:o.jsx("path",{d:"M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z"})})}):o.jsx("svg",{viewBox:"0 0 24 24",className:Y.copyIcon,"aria-hidden":"true",children:o.jsx("g",{children:o.jsx("path",{d:"M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z"})})})}),o.jsx("span",{className:Y.copyText,children:t?"Copied!":a?"Copy link to Tweet":"Copy link"})]})},io=({tweet:e})=>{const t=Ve(e.favorite_count);return o.jsxs("div",{className:Y.actions,children:[o.jsxs("a",{className:Y.like,href:e.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${t} likes`,children:[o.jsx("div",{className:Y.likeIconWrapper,children:o.jsx("svg",{viewBox:"0 0 24 24",className:Y.likeIcon,"aria-hidden":"true",children:o.jsx("g",{children:o.jsx("path",{d:"M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})})}),o.jsx("span",{className:Y.likeCount,children:t})]}),o.jsxs("a",{className:Y.reply,href:e.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[o.jsx("div",{className:Y.replyIconWrapper,children:o.jsx("svg",{viewBox:"0 0 24 24",className:Y.replyIcon,"aria-hidden":"true",children:o.jsx("g",{children:o.jsx("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z"})})})}),o.jsx("span",{className:Y.replyText,children:"Reply"})]}),o.jsx(oo,{tweet:e})]})},so="_replies_1cutb_1",uo="_link_1cutb_4",lo="_text_1cutb_23",Ye={replies:so,link:uo,text:lo},co=({tweet:e})=>o.jsx("div",{className:Ye.replies,children:o.jsx("a",{className:Ye.link,href:e.url,target:"_blank",rel:"noopener noreferrer",children:o.jsx("span",{className:Ye.text,children:e.conversation_count===0?"Read more on Twitter":e.conversation_count===1?`Read ${Ve(e.conversation_count)} reply`:`Read ${Ve(e.conversation_count)} replies`})})}),fo="_root_q5799_1",vo="_article_q5799_16",Gt={root:fo,article:vo},ho=({tweet:e,children:t})=>o.jsx("div",{className:Gt.root,onClick:r=>{r.preventDefault(),window.open(e.url,"_blank")},children:o.jsx("article",{className:Gt.article,children:t})}),mo="_header_r31i5_1",_o="_avatar_r31i5_11",po="_avatarSquare_r31i5_17",go="_author_r31i5_21",xo="_authorText_r31i5_26",wo="_username_r31i5_33",fe={header:mo,avatar:_o,avatarSquare:po,author:go,authorText:xo,username:wo},yo=({tweet:e})=>{const{user:t}=e;return o.jsxs("div",{className:fe.header,children:[o.jsx("a",{href:e.url,className:fe.avatar,target:"_blank",rel:"noopener noreferrer",children:o.jsx("div",{className:ue(fe.avatarOverflow,t.profile_image_shape==="Square"&&fe.avatarSquare),children:o.jsx(Qt,{src:t.profile_image_url_https,alt:t.name,width:20,height:20})})}),o.jsxs("div",{className:fe.author,children:[o.jsx("div",{className:fe.authorText,children:o.jsx("span",{title:t.name,children:t.name})}),o.jsx(Xt,{user:t}),o.jsx("div",{className:fe.username,children:o.jsxs("span",{title:`@${t.screen_name}`,children:["@",t.screen_name]})})]})]})},bo="_root_175ot_1",To={root:bo},Oo=({tweet:e})=>o.jsx("p",{className:To.root,children:e.entities.map((t,r)=>o.jsx("span",{dangerouslySetInnerHTML:{__html:t.text}},r))}),jo=({tweet:e})=>{var t;return o.jsxs(ho,{tweet:e,children:[o.jsx(yo,{tweet:e}),o.jsx(Oo,{tweet:e}),(t=e.mediaDetails)!=null&&t.length?o.jsx(Zt,{quoted:!0,tweet:e}):null]})},Eo=({tweet:e,components:t})=>{var r;const a=D.useMemo(()=>sa(e),[e]);return o.jsxs(kt,{children:[o.jsx(Yr,{tweet:a,components:t}),a.in_reply_to_status_id_str&&o.jsx(Br,{tweet:a}),o.jsx(Jr,{tweet:a}),(r=a.mediaDetails)!=null&&r.length?o.jsx(Zt,{tweet:a,components:t}):null,a.quoted_tweet&&o.jsx(jo,{tweet:a.quoted_tweet}),o.jsx(Bn,{tweet:a}),o.jsx(io,{tweet:a}),o.jsx(co,{tweet:a})]})},Co="_root_16yxa_1",Do={root:Co},Mo=e=>o.jsx(kt,{children:o.jsxs("div",{className:Do.root,children:[o.jsx("h3",{children:"Tweet not found"}),o.jsx("p",{children:"The embedded tweet could not be found…"})]})}),ko="_skeleton_oi7hr_1",So="_loading_oi7hr_1",Ro={skeleton:ko,loading:So},Se=({style:e})=>o.jsx("span",{className:Ro.skeleton,style:e}),Po="_root_17qqv_1",No={root:Po},Wo=()=>o.jsxs(kt,{className:No.root,children:[o.jsx(Se,{style:{height:"3rem",marginBottom:"0.75rem"}}),o.jsx(Se,{style:{height:"6rem",margin:"0.5rem 0"}}),o.jsx("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),o.jsx(Se,{style:{height:"2rem"}}),o.jsx(Se,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]}),Vo=({id:e,apiUrl:t,fallback:r=o.jsx(Wo,{}),components:a,fetchOptions:n,onError:i})=>{const{data:d,error:v,isLoading:s}=In(e,t,n);if(s)return r;if(v||!d){const l=a?.TweetNotFound||Mo;return o.jsx(l,{error:i?i(v):v})}return o.jsx(Eo,{tweet:d,components:a})};export{Eo as EmbeddedTweet,jo as QuotedTweet,Oo as QuotedTweetBody,ho as QuotedTweetContainer,yo as QuotedTweetHeader,Vo as Tweet,io as TweetActions,oo as TweetActionsCopy,Jr as TweetBody,kt as TweetContainer,Yr as TweetHeader,Br as TweetInReplyTo,Bn as TweetInfo,Fn as TweetInfoCreatedAt,Gr as TweetLink,Zt as TweetMedia,Ta as TweetMediaVideo,Mo as TweetNotFound,co as TweetReplies,Wo as TweetSkeleton,gr as Verified,xr as VerifiedBusiness,wr as VerifiedGovernment,sa as enrichTweet,Ve as formatNumber,Kt as getMediaUrl,oa as getMp4Video,na as getMp4Videos,Ln as useMounted,In as useTweet}; diff --git a/assets/index.demo-25c8cKuD.js b/assets/index.demo-25c8cKuD.js new file mode 100644 index 00000000000..937e8a70a8b --- /dev/null +++ b/assets/index.demo-25c8cKuD.js @@ -0,0 +1,189 @@ +import{j as e}from"./index-ZXl4th35.js";import{ShikiHighLighter as t}from"./Shiki-YdqsEpEt.js";import"./motion-minimal-epsqYg85.js";import"./viewport-l4O6ZIBM.js";import"./request-bY2SEZNN.js";import"./toast-dlXalurG.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./utils-JJoYnXdw.js";const d=()=>e.jsx(t,{content:`import { + useCallback, + useEffect, + useLayoutEffect, + useMemo, + useState, + } from 'react' + import clsx from 'clsx' + import { getHighlighterCore } from 'shiki' + import getWasm from 'shiki/wasm' + import type { FC } from 'react' + import type { HighlighterCore } from 'shiki' + + import { getViewport } from '~/atoms/hooks' + import { AutoResizeHeight } from '~/components/modules/shared/AutoResizeHeight' + import { useMaskScrollArea } from '~/hooks/shared/use-mask-scrollarea' + import { clsxm } from '~/lib/helper' + + import { MotionButtonBase } from '../../button' + import styles from './Shiki.module.css' + import { codeHighlighter, parseFilenameFromAttrs } from './utils' + + interface Props { + lang: string | undefined + content: string + raw?: string + attrs?: string + } + + let highlighterCore: HighlighterCore | null = null + + export const ShikiHighLighter: FC = (props) => { + const { lang: language, content: value, attrs } = props + + const handleCopy = useCallback(() => { + navigator.clipboard.writeText(value) + }, [value]) + + const [highlighter, setHighlighter] = useState(highlighterCore) + + useLayoutEffect(() => { + if (highlighterCore) { + return + } + ;(async () => { + const loaded = await getHighlighterCore({ + themes: [ + import('shiki/themes/github-light.mjs'), + import('shiki/themes/github-dark.mjs'), + ], + langs: [ + () => import('shiki/langs/javascript.mjs'), + () => import('shiki/langs/typescript.mjs'), + () => import('shiki/langs/css.mjs'), + () => import('shiki/langs/tsx.mjs'), + () => import('shiki/langs/jsx.mjs'), + () => import('shiki/langs/json.mjs'), + () => import('shiki/langs/sql.mjs'), + () => import('shiki/langs/rust.mjs'), + () => import('shiki/langs/go.mjs'), + () => import('shiki/langs/cpp.mjs'), + () => import('shiki/langs/c.mjs'), + () => import('shiki/langs/markdown.mjs'), + () => import('shiki/langs/vue.mjs'), + () => import('shiki/langs/html.mjs'), + ], + loadWasm: getWasm, + }) + setHighlighter(loaded) + highlighterCore = loaded + })() + }, []) + + const [codeBlockRef, setCodeBlockRef] = useState(null) + + const [isCollapsed, setIsCollapsed] = useState(true) + const [isOverflow, setIsOverflow] = useState(false) + useEffect(() => { + const $el = codeBlockRef + + if (!$el) return + + const windowHeight = getViewport().h + const halfWindowHeight = windowHeight / 2 + const $elScrollHeight = $el.scrollHeight + if ($elScrollHeight >= halfWindowHeight) { + setIsOverflow(true) + + $el.querySelector('.highlighted')?.scrollIntoView({ + block: 'center', + }) + } else { + setIsOverflow(false) + } + }, [value, codeBlockRef]) + + const renderedHtml = useMemo(() => { + if (!highlighter) return '' + return codeHighlighter(highlighter, { + attrs: attrs || '', + code: value, + lang: language || '', + }) + }, [attrs, language, value, highlighter]) + + const filename = useMemo(() => { + return parseFilenameFromAttrs(attrs || '') + }, [attrs]) + const [, maskClassName] = useMaskScrollArea({ + element: codeBlockRef!, + size: 'lg', + }) + + return ( +
    + {!!filename && ( +
    + {filename} + + {language?.toUpperCase()} + +
    + )} + + {!filename && !!language && ( +
    + {language.toUpperCase()} +
    + )} +
    + + + + +
    + {renderedHtml ? undefined : ( +
    +                  {value}
    +                
    + )} +
    + + {isOverflow && isCollapsed && ( +
    + +
    + )} +
    +
    +
    + ) + } + `,lang:"tsx",attrs:'filename="ShikiHighLighter.tsx" {3,4}'});export{d as ShikiHighLighter}; diff --git a/assets/index.demo-4cAKIRfL.js b/assets/index.demo-4cAKIRfL.js new file mode 100644 index 00000000000..3d5435c9ac4 --- /dev/null +++ b/assets/index.demo-4cAKIRfL.js @@ -0,0 +1 @@ +import{j as o,r}from"./index-ZXl4th35.js";import{c}from"./motion-minimal-epsqYg85.js";import{F as x}from"./FloatPopover-3waN72gb.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./use-is-client-6Iy0halI.js";import"./env-y9k74Ds6.js";import"./index-LA8z4iWc.js";const h=t=>t.offsetWidth{const{children:e,className:i,width:l,disabled:p,wrapperClassName:m}=t,[s,d]=r.useState(),[f,u]=r.useState(!1),n=()=>{s&&u(h(s))};return r.useEffect(()=>{n()},[s,e]),r.useEffect(()=>{if(!s)return;const a=new ResizeObserver(()=>{n()});return a.observe(s),()=>{a.disconnect()}},[s]),o.jsx(x,{type:"tooltip",wrapperClassName:c("truncate min-w-0 w-full",m),isDisabled:!f||p,TriggerComponent:r.useCallback(()=>o.jsx("span",{className:i,ref:d,style:l?{maxWidth:l}:void 0,children:e}),[e,i,l]),children:o.jsx("span",{className:"max-w-[30vw] break-all hover:!bg-transparent",onClick:a=>a.stopPropagation(),children:e})})},v=t=>{const{className:e,...i}=t;return o.jsx(w,{className:c("block truncate",e),...i})},T=()=>o.jsx(v,{width:"12rem",children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam"});T.meta={title:"文本溢出省略 + 提示",description:"如果文本溢出则省略,省略时伴随 Tooltip 提示"};const k={title:"文本溢出",description:"一个简单的处理文本溢出省略的组件"};export{T as EllipsisTextWithTooltipDemo,k as metadata}; diff --git a/assets/index.demo-AQDsjCxP.js b/assets/index.demo-AQDsjCxP.js new file mode 100644 index 00000000000..32382d9cdbb --- /dev/null +++ b/assets/index.demo-AQDsjCxP.js @@ -0,0 +1 @@ +import{j as s}from"./index-ZXl4th35.js";import{S as t,F as e}from"./SocialSourceLink-Fjgxzjol.js";import"./motion-minimal-epsqYg85.js";import"./request-bY2SEZNN.js";import"./toast-dlXalurG.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";const o=()=>s.jsxs("div",{className:"flex flex-col gap-4",children:[s.jsx(t,{source:"GH",name:"Innei"}),s.jsx(t,{source:"TW",name:"__oQuery"})]});o.meta={title:"Rich Link"};const i=()=>s.jsxs("div",{className:"flex flex-col gap-4",children:[s.jsx(e,{source:"GH"}),s.jsx(e,{source:"TW"}),s.jsx(e,{source:"TG"}),s.jsx(e,{source:"BL"}),s.jsx(e,{source:"Npm"})]});i.meta={title:"Favicons with source"};const r=()=>s.jsxs("div",{className:"flex flex-col gap-4",children:[s.jsx(e,{href:"https://t.me/"}),s.jsx(e,{href:"https://x.com"}),s.jsx(e,{href:"https://twitter.com"}),s.jsx(e,{href:"https://bilibili.com"}),s.jsx(e,{href:"https://www.npmjs.com"})]});r.meta={title:"Favicons with link"};export{i as FaviconsDemo,r as FaviconsDemo2,o as RichLinkDemo}; diff --git a/assets/index.demo-LMB5bv5A.js b/assets/index.demo-LMB5bv5A.js new file mode 100644 index 00000000000..0dc55dccc22 --- /dev/null +++ b/assets/index.demo-LMB5bv5A.js @@ -0,0 +1 @@ +import{R as a,j as e}from"./index-ZXl4th35.js";import{S as u}from"./StyledButton-VgryXAte.js";import{C as t}from"./Collapse-btcJozxA.js";import{L as r}from"./index-HwaUk8nX.js";import{d as l}from"./features-max-xJxYem1n.js";import"./motion-minimal-epsqYg85.js";import"./spring-hnK4kZop.js";import"./index-LA8z4iWc.js";import"./visual-element-tlU1-krp.js";const m=()=>{const[i,s]=a.useState(!1);return e.jsxs(r,{features:l,children:[e.jsx(u,{onClick:()=>s(o=>!o),children:"Toggle Collapse"}),e.jsx(t,{isOpened:i,children:e.jsx("p",{children:"Maiores occaecati quis animi nihil debitis. Iure suscipit animi. Repellat quia quas harum possimus dolorum dolore ullam eius. Tenetur aut saepe illo expedita culpa. Nisi asperiores doloribus facere eveniet ad tempore nemo accusantium in. Possimus eum dolorum a aliquid unde dolore corporis. Voluptatem quibusdam ipsam numquam. Vero aliquid odit reiciendis amet cum sapiente commodi. Natus in ullam dignissimos sed eos accusantium. Quis eligendi aliquid. Cumque possimus sed suscipit vero. Repellendus inventore quo porro necessitatibus totam."})})]})};m.meta={title:"Normal Collapse"};const n=()=>{const[i,s]=a.useState(!1);return e.jsxs(r,{features:l,children:[e.jsx(u,{onClick:()=>s(o=>!o),children:"Toggle Collapse"}),e.jsx(t,{isOpened:i,withBackground:!0,children:e.jsx("p",{children:"Maiores occaecati quis animi nihil debitis. Iure suscipit animi. Repellat quia quas harum possimus dolorum dolore ullam eius. Tenetur aut saepe illo expedita culpa. Nisi asperiores doloribus facere eveniet ad tempore nemo accusantium in. Possimus eum dolorum a aliquid unde dolore corporis. Voluptatem quibusdam ipsam numquam. Vero aliquid odit reiciendis amet cum sapiente commodi. Natus in ullam dignissimos sed eos accusantium. Quis eligendi aliquid. Cumque possimus sed suscipit vero. Repellendus inventore quo porro necessitatibus totam."})})]})};n.meta={title:"With Background Collapse"};export{m as CollapseDemo1,n as CollapseDemo2}; diff --git a/assets/index.demo-Ru9opRL4.js b/assets/index.demo-Ru9opRL4.js new file mode 100644 index 00000000000..980a05daee9 --- /dev/null +++ b/assets/index.demo-Ru9opRL4.js @@ -0,0 +1,130 @@ +import{r as v,j as T,_ as $o,R as ht,b as ns,g as Zh,c as Qi}from"./index-ZXl4th35.js";import{j as oa,v as gg,P as yg,R as kg,p as Xh,k as xg,J as bg}from"./request-bY2SEZNN.js";import{$ as wg}from"./index-ISduWuPC.js";import{$ as Cg}from"./use-is-dark-IiysOCcN.js";import{a as Sg,M as Mg,g as ed,u as sa}from"./provider-XKwIHqOQ.js";import{e as Ng,P as Eg,f as Tg,F as Og}from"./Gallery-QJ8JjQGt.js";import{s as Ag,P as vg,a as Ig,b as Dg,d as Rg,t as St}from"./toast-dlXalurG.js";import{t as zg,c as Pg}from"./lodash-lrAbnKsZ.js";import{S as Lg,A as Fg}from"./alert-fERsLyJJ.js";import{m as $g,n as Bg,i as jg,o as Vg,a as _g}from"./viewport-l4O6ZIBM.js";import{u as Wg}from"./use-is-client-6Iy0halI.js";import{s as Qc,S as Hg,I as qg,d as Kg,T as Ug}from"./FormInput-i0fsPScC.js";import{L as Jg}from"./index-HwaUk8nX.js";import{u as Gg}from"./use-is-unmounted-dmgvzXDy.js";import{b3 as Yg}from"./mermaid.core-wTs8WatG.js";import{C as Qg}from"./CodeEditor-AByBrAxP.js";import{d as Zg}from"./index-D4F-WjWJ.js";import{B as Xg,M as ey}from"./Mermaid-gWIn58QC.js";import{S as qn,M as ty}from"./StyledButton-VgryXAte.js";import{a as Zc,aa as ny}from"./motion-minimal-epsqYg85.js";import{F as ry}from"./FloatPopover-3waN72gb.js";import{F as iy}from"./Form-kbLn7dW2.js";const oy=v.forwardRef(({className:n,size:e},t)=>T.jsx("div",{className:n,ref:t,children:T.jsx("div",{className:"loading loading-dots",style:{width:e||"2rem",height:e||"2rem"}})}));oy.displayName="Spinner";var sy=function(){return null};const ly=({children:n})=>T.jsxs(T.Fragment,{children:[T.jsx(v.Suspense,{children:T.jsx("div",{"data-hide-print":!0,children:T.jsx(sy,{buttonPosition:"bottom-left"})})}),n]}),ay=({children:n})=>(Ng(()=>{const e=zg(()=>{const{innerWidth:t,innerHeight:r}=window,i=t>=640,o=t>=768,s=t>=1024,l=t>=1280,a=t>=1536;oa.set(gg,{sm:i,md:o,lg:s,xl:l,"2xl":a,h:r,w:t})},16);return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),v.useEffect(()=>{const e=r=>{Ag(!r.matches)};e(window.matchMedia("screen"));const t=r=>{e(r)};try{window.matchMedia("screen").addEventListener("change",t)}catch{}return()=>{window.matchMedia("screen").removeEventListener("change",t)}},[]),T.jsx(T.Fragment,{children:n})),cy=({children:n})=>T.jsx(vg,{store:oa,children:n}),uy=()=>{const n=yg(e=>e.custom?.scripts);return n?T.jsx(T.Fragment,{children:n.map(e=>{const t={...e},r=Object.keys(e).filter(i=>/data[A-Z]/.test(i));for(const i of r){const o=i.replace(/([A-Z])/g,"-$1").toLowerCase();t[o]=t[i],delete t[i]}return T.jsx(Lg,{...t},e.src)})}):null},hy=n=>(document.addEventListener("visibilitychange",n),()=>{document.removeEventListener("visibilitychange",n)}),dy=()=>document.visibilityState==="visible",fy=()=>!0,py=()=>v.useSyncExternalStore(hy,dy,fy),my=()=>{const[n,e]=v.useState(0);return[v.useCallback(()=>e(t=>++t),[]),n]},gy=()=>Wg()?T.jsx(yy,{}):null,yy=()=>{const n=v.useRef(!1),e=Sg();v.useEffect(()=>{n.current||$o(()=>import("./index-ISduWuPC.js").then(s=>s.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url).then(s=>{const{socketClient:l}=s;n.current=!0,l.setRouter(e),l.initIO()})},[]);const t=$g(),r=v.useRef(t),i=Bg();v.useEffect(()=>{const s=r.current;r.current=t,i&&(Qc.emit(Hg.UpdateSid,{sessionId:t}),jg(s))},[i,t]);const o=py();return v.useEffect(()=>{o&&!i&&Qc.reconnect()},[o,i]),null},ky=()=>$o(()=>import("./framer-lazy-feature-TidPbDJU.js"),__vite__mapDeps([23,24,6,1,2,17]),import.meta.url).then(n=>n.default),xy=[T.jsx(Cg,{},"themeProvider"),T.jsx(cy,{},"jotaiStoreProvider"),T.jsx(wg,{},"balancerProvider"),T.jsx(Jg,{features:ky,strict:!0},"framer")],by=xy.concat(T.jsx(kg,{},"reactQueryProvider"));function wy({children:n}){return T.jsxs(Eg,{contexts:by,children:[n,T.jsx(gy,{}),T.jsx(Mg,{},"modalStackProvider"),T.jsx(ay,{},"viewportProvider"),T.jsx(Tg,{},"PageScrollInfoProvider"),T.jsx(ly,{},"debugProvider"),T.jsx(uy,{})]})}const la=v.createContext({});function Cy(){const{dom:n,editor:e,setLoading:t,editorFactory:r}=v.useContext(la),i=v.useRef(null);return v.useEffect(()=>{const o=i.current;if(!r||!o)return;n.current=o;const s=r(o);if(s)return t(!0),s.create().then(l=>{e.current=l}).finally(()=>{t(!1)}).catch(console.error),()=>{var l;(l=e.current)==null||l.destroy()}},[n,e,r,t]),i}const Sy=()=>{const n=Cy();return ht.createElement("div",{"data-milkdown-root":!0,ref:n})},My=({children:n})=>{const e=v.useRef(void 0),[t,r]=v.useState(void 0),i=v.useRef(),[o,s]=v.useState(!0),l=v.useMemo(()=>({loading:o,dom:e,editor:i,setLoading:s,editorFactory:t,setEditorFactory:r}),[o,t]);return ht.createElement(la.Provider,{value:l},n)};function Ny(n,e=[]){const t=v.useContext(la),r=v.useCallback(n,e);return v.useLayoutEffect(()=>{t.setEditorFactory(()=>r)},[t,r]),{loading:t.loading,get:()=>t.editor.current}}var Ey=(n,e,t)=>{if(!e.has(n))throw TypeError("Cannot "+t)},td=(n,e,t)=>{if(e.has(n))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(n):e.set(n,t)},ml=(n,e,t)=>(Ey(n,e,"access private method"),t),so,gl;let Ty=class{constructor({node:e,view:t,getPos:r,decorations:i,innerDecorations:o,options:s}){td(this,so),this.selected=!1,this.selectNode=()=>{var l,a;this.selected=!0,(a=(l=this.options).selectNode)==null||a.call(l)},this.deselectNode=()=>{var l,a;this.selected=!1,(a=(l=this.options).deselectNode)==null||a.call(l)},this.shouldUpdate=l=>!(l.type!==this.node.type||l.sameMarkup(this.node)&&l.content.eq(this.node.content)),this.update=(l,a,c)=>{var u,h;const d=this.options.update;let f;return d&&(f=d(l,a,c)),typeof f!="boolean"&&(f=this.shouldUpdate(l)),this.node=l,this.decorations=a,this.innerDecorations=c,f&&((h=(u=this.options).onUpdate)==null||h.call(u)),f},this.shouldIgnoreMutation=l=>!this.dom||!this.contentDOM||this.node.isLeaf||this.node.isAtom?!0:l.type==="selection"?!1:this.contentDOM===l.target&&l.type==="attributes"?!0:!this.contentDOM.contains(l.target),this.ignoreMutation=l=>{if(!this.dom||!this.contentDOM)return!0;let a;const c=this.options.ignoreMutation;return c&&(a=c(l)),typeof a!="boolean"&&(a=this.shouldIgnoreMutation(l)),a},this.destroy=()=>{var l,a,c;(a=(l=this.options).destroy)==null||a.call(l),this.dom.remove(),(c=this.contentDOM)==null||c.remove()},this.setAttrs=l=>{const{dispatch:a,state:c}=this.view,u=this.getPos();if(typeof u=="number")return a(c.tr.setNodeMarkup(u,void 0,{...this.node.attrs,...l}))},this.node=e,this.view=t,this.getPos=r,this.decorations=i,this.innerDecorations=o,this.options=s,this.dom=this.createDOM(s.as),this.contentDOM=e.isLeaf?null:this.createContentDOM(s.contentAs),this.dom.setAttribute("data-node-view-root","true"),this.contentDOM&&(this.contentDOM.setAttribute("data-node-view-content","true"),this.contentDOM.style.whiteSpace="inherit"),this.setSelection=s.setSelection,this.stopEvent=s.stopEvent}createDOM(e){return ml(this,so,gl).call(this,e)}createContentDOM(e){return ml(this,so,gl).call(this,e)}get component(){return this.options.component}};so=new WeakSet,gl=function(n){const{node:e}=this;return n==null?document.createElement(e.isInline?"span":"div"):n instanceof HTMLElement?n:n instanceof Function?n(e):document.createElement(n)};let Oy=class{constructor(e){this.view=e.view,this.options=e.options}get component(){return this.options.component}get root(){var e,t;let r=(t=(e=this.options).root)==null?void 0:t.call(e,this.view.dom);return r||(r=this.view.dom.parentElement??document.body),r}update(e,t){var r,i;this.view=e,this.prevState=t,(i=(r=this.options).update)==null||i.call(r,e,t)}destroy(){var e,t;(t=(e=this.options).destroy)==null||t.call(e)}};var yl,nd;let Ay=class{constructor({pos:e,spec:t,options:r}){td(this,yl),this.pos=e,this.options=r,this.spec=t,this.dom=ml(this,yl,nd).call(this,r.as),this.dom.setAttribute("data-widget-view-root","true")}bind(e,t){this.view=e,this.getPos=t}get component(){return this.options.component}};yl=new WeakSet,nd=function(n){return n instanceof HTMLElement?n:document.createElement(n)};let aa=(n=21)=>crypto.getRandomValues(new Uint8Array(n)).reduce((e,t)=>(t&=63,t<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");function be(n){this.content=n}be.prototype={constructor:be,find:function(n){for(var e=0;e>1}};be.from=function(n){if(n instanceof be)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new be(e)};function rd(n,e,t){for(let r=0;;r++){if(r==n.childCount||r==e.childCount)return n.childCount==e.childCount?null:t;let i=n.child(r),o=e.child(r);if(i==o){t+=i.nodeSize;continue}if(!i.sameMarkup(o))return t;if(i.isText&&i.text!=o.text){for(let s=0;i.text[s]==o.text[s];s++)t++;return t}if(i.content.size||o.content.size){let s=rd(i.content,o.content,t+1);if(s!=null)return s}t+=i.nodeSize}}function id(n,e,t,r){for(let i=n.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:t,b:r};let s=n.child(--i),l=e.child(--o),a=s.nodeSize;if(s==l){t-=a,r-=a;continue}if(!s.sameMarkup(l))return{a:t,b:r};if(s.isText&&s.text!=l.text){let c=0,u=Math.min(s.text.length,l.text.length);for(;ce&&r(a,i+l,o||null,s)!==!1&&a.content.size){let u=l+1;a.nodesBetween(Math.max(0,e-u),Math.min(a.content.size,t-u),r,i+u)}l=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,i){let o="",s=!0;return this.nodesBetween(e,t,(l,a)=>{let c=l.isText?l.text.slice(Math.max(e,a)-a,t-a):l.isLeaf?i?typeof i=="function"?i(l):i:l.type.spec.leafText?l.type.spec.leafText(l):"":"";l.isBlock&&(l.isLeaf&&c||l.isTextblock)&&r&&(s?s=!1:o+=r),o+=c},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(r)&&(i[i.length-1]=t.withText(t.text+r.text),o=1);oe)for(let o=0,s=0;se&&((st)&&(l.isText?l=l.cut(Math.max(0,e-s),Math.min(l.text.length,t-s)):l=l.cut(Math.max(0,e-s-1),Math.min(l.content.size,t-s-1))),r.push(l),i+=l.nodeSize),s=a}return new E(r,i)}cutByIndex(e,t){return e==t?E.empty:e==0&&t==this.content.length?this:new E(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let i=this.content.slice(),o=this.size+t.nodeSize-r.nodeSize;return i[e]=t,new E(i,o)}addToStart(e){return new E([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new E(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;tthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),s=i+o.nodeSize;if(s>=e)return s==e||t>0?Zi(r+1,s):Zi(r,i);i=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return E.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new E(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return E.empty;let t,r=0;for(let i=0;ithis.type.rank&&(t||(t=e.slice(0,i)),t.push(this),r=!0),t&&t.push(o)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;tr.type.rank-i.type.rank),t}}Y.none=[];class jo extends Error{}class A{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=sd(this.content,e+this.openStart,t);return r&&new A(r,this.openStart,this.openEnd)}removeBetween(e,t){return new A(od(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return A.empty;let r=t.openStart||0,i=t.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new A(E.fromJSON(e,t.content),r,i)}static maxOpen(e,t=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.lastChild)i++;return new A(e,r,i)}}A.empty=new A(E.empty,0,0);function od(n,e,t){let{index:r,offset:i}=n.findIndex(e),o=n.maybeChild(r),{index:s,offset:l}=n.findIndex(t);if(i==e||o.isText){if(l!=t&&!n.child(s).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=s)throw new RangeError("Removing non-flat range");return n.replaceChild(r,o.copy(od(o.content,e-i-1,t-i-1)))}function sd(n,e,t,r){let{index:i,offset:o}=n.findIndex(e),s=n.maybeChild(i);if(o==e||s.isText)return r&&!r.canReplace(i,i,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=sd(s.content,e-o-1,t);return l&&n.replaceChild(i,s.copy(l))}function vy(n,e,t){if(t.openStart>n.depth)throw new jo("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new jo("Inconsistent open depths");return ld(n,e,t,0)}function ld(n,e,t,r){let i=n.index(r),o=n.node(r);if(i==e.index(r)&&r=0&&n.isText&&n.sameMarkup(e[t])?e[t]=n.withText(e[t].text+n.text):e.push(n)}function gi(n,e,t,r){let i=(e||n).node(t),o=0,s=e?e.index(t):i.childCount;n&&(o=n.index(t),n.depth>t?o++:n.textOffset&&(Fn(n.nodeAfter,r),o++));for(let l=o;li&&kl(n,e,i+1),s=r.depth>i&&kl(t,r,i+1),l=[];return gi(null,n,i,l),o&&s&&e.index(i)==t.index(i)?(ad(o,s),Fn($n(o,cd(n,e,t,r,i+1)),l)):(o&&Fn($n(o,Vo(n,e,i+1)),l),gi(e,t,i,l),s&&Fn($n(s,Vo(t,r,i+1)),l)),gi(r,null,i,l),new E(l)}function Vo(n,e,t){let r=[];if(gi(null,n,t,r),n.depth>t){let i=kl(n,e,t+1);Fn($n(i,Vo(n,e,t+1)),r)}return gi(e,null,t,r),new E(r)}function Iy(n,e){let t=e.depth-n.openStart,i=e.node(t).copy(n.content);for(let o=t-1;o>=0;o--)i=e.node(o).copy(E.from(i));return{start:i.resolveNoCache(n.openStart+t),end:i.resolveNoCache(i.content.size-n.openEnd-t)}}class Ti{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(t);return r?e.child(t).cut(r):i}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[t*3],i=t==0?0:this.path[t*3-1]+1;for(let o=0;o0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new ud(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let r=[],i=0,o=t;for(let s=e;;){let{index:l,offset:a}=s.content.findIndex(o),c=o-a;if(r.push(s,l,i+a),!c||(s=s.child(l),s.isText))break;o=c-1,i+=a+1}return new Ti(t,r,o)}static resolveCached(e,t){for(let i=0;ie&&this.nodesBetween(e,t,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),hd(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=E.empty,i=0,o=r.childCount){let s=this.contentMatchAt(e).matchFragment(r,i,o),l=s&&s.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=i;at.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let i=E.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,i,r)}}dt.prototype.text=void 0;class _o extends dt{constructor(e,t,r,i){if(super(e,t,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):hd(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new _o(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new _o(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function hd(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class Kn{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new zy(e,t);if(r.next==null)return Kn.empty;let i=dd(r);r.next&&r.err("Unexpected trailing text");let o=Vy(jy(i));return _y(o,r),o}matchType(e){for(let t=0;tc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(r){e.push(r);for(let i=0;i{let o=i+(r.validEnd?"*":" ")+" ";for(let s=0;s"+e.indexOf(r.next[s].next);return o}).join(` +`)}}Kn.empty=new Kn(!0);class zy{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function dd(n){let e=[];do e.push(Py(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function Py(n){let e=[];do e.push(Ly(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function Ly(n){let e=By(n);for(;;)if(n.eat("+"))e={type:"plus",expr:e};else if(n.eat("*"))e={type:"star",expr:e};else if(n.eat("?"))e={type:"opt",expr:e};else if(n.eat("{"))e=Fy(n,e);else break;return e}function Xc(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function Fy(n,e){let t=Xc(n),r=t;return n.eat(",")&&(n.next!="}"?r=Xc(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function $y(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let i=[];for(let o in t){let s=t[o];s.groups.indexOf(e)>-1&&i.push(s)}return i.length==0&&n.err("No node type or group '"+e+"' found"),i}function By(n){if(n.eat("(")){let e=dd(n);return n.eat(")")||n.err("Missing closing paren"),e}else if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let e=$y(n,n.next).map(t=>(n.inline==null?n.inline=t.isInline:n.inline!=t.isInline&&n.err("Mixing inline and block content"),{type:"name",value:t}));return n.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function jy(n){let e=[[]];return i(o(n,0),t()),e;function t(){return e.push([])-1}function r(s,l,a){let c={term:a,to:l};return e[s].push(c),c}function i(s,l){s.forEach(a=>a.to=l)}function o(s,l){if(s.type=="choice")return s.exprs.reduce((a,c)=>a.concat(o(c,l)),[]);if(s.type=="seq")for(let a=0;;a++){let c=o(s.exprs[a],l);if(a==s.exprs.length-1)return c;i(c,l=t())}else if(s.type=="star"){let a=t();return r(l,a),i(o(s.expr,a),a),[r(a)]}else if(s.type=="plus"){let a=t();return i(o(s.expr,l),a),i(o(s.expr,a),a),[r(a)]}else{if(s.type=="opt")return[r(l)].concat(o(s.expr,l));if(s.type=="range"){let a=l;for(let c=0;c{n[s].forEach(({term:l,to:a})=>{if(!l)return;let c;for(let u=0;u{c||i.push([l,c=[]]),c.indexOf(u)==-1&&c.push(u)})})});let o=e[r.join(",")]=new Kn(r.indexOf(n.length-1)>-1);for(let s=0;s-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;tr[o]=new yd(o,t,s));let i=t.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class Wy{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class rs{constructor(e,t,r,i){this.name=e,this.rank=t,this.schema=r,this.spec=i,this.attrs=gd(i.attrs),this.excluded=null;let o=pd(this.attrs);this.instance=o?new Y(this,o):null}create(e=null){return!e&&this.instance?this.instance:new Y(this,md(this.attrs,e))}static compile(e,t){let r=Object.create(null),i=0;return e.forEach((o,s)=>r[o]=new rs(o,i++,t,s)),r}removeFromSet(e){for(var t=0;t-1}}class Hy{constructor(e){this.cached=Object.create(null);let t=this.spec={};for(let i in e)t[i]=e[i];t.nodes=be.from(e.nodes),t.marks=be.from(e.marks||{}),this.nodes=Wo.compile(this.spec.nodes,this),this.marks=rs.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],s=o.spec.content||"",l=o.spec.marks;o.contentMatch=r[s]||(r[s]=Kn.parse(s,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.markSet=l=="_"?null:l?tu(this,l.split(" ")):l==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],s=o.spec.excludes;o.excluded=s==null?[o]:s==""?[]:tu(this,s.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Wo){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(t,r,i)}text(e,t){let r=this.nodes.text;return new _o(r,r.defaultAttrs,e,Y.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return dt.fromJSON(this,e)}markFromJSON(e){return Y.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function tu(n,e){let t=[];for(let r=0;r-1)&&t.push(s=a)}if(!s)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}class Un{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let i=e.nodes[r.node];return i.contentMatch.matchType(i)})}parse(e,t={}){let r=new ru(this,t,!1);return r.addAll(e,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new ru(this,t,!0);return r.addAll(e,t.from,t.to),A.maxOpen(r.finish())}matchTag(e,t,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(s.getAttrs){let a=s.getAttrs(t);if(a===!1)continue;s.attrs=a||void 0}return s}}}static schemaRules(e){let t=[];function r(i){let o=i.priority==null?50:i.priority,s=0;for(;s{r(s=iu(s)),s.mark||s.ignore||s.clearMark||(s.mark=i)})}for(let i in e.nodes){let o=e.nodes[i].spec.parseDOM;o&&o.forEach(s=>{r(s=iu(s)),s.node||s.ignore||s.mark||(s.node=i)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Un(e,Un.schemaRules(e)))}}const kd={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},qy={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},xd={ol:!0,ul:!0},Ho=1,qo=2,yi=4;function nu(n,e,t){return e!=null?(e?Ho:0)|(e==="full"?qo:0):n&&n.whitespace=="pre"?Ho|qo:t&~yi}class Xi{constructor(e,t,r,i,o,s,l){this.type=e,this.attrs=t,this.marks=r,this.pendingMarks=i,this.solid=o,this.options=l,this.content=[],this.activeMarks=Y.none,this.stashMarks=[],this.match=s||(l&yi?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(E.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Ho)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let t=E.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(E.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,r=this.pendingMarks;tthis.addAll(e)),s&&this.sync(l),this.needsBlock=a}else this.withStyleRules(e,()=>{this.addElementByRule(e,o,o.consuming===!1?i:void 0)})}leafFallback(e){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(` +`))}ignoreFallback(e){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=Y.none,r=Y.none;for(let i=0;i{s.clearMark(l)&&(r=l.addToSet(r))}):t=this.parser.schema.marks[s.mark].create(s.attrs).addToSet(t),s.consuming===!1)o=s;else break}return[t,r]}addElementByRule(e,t,r){let i,o,s;t.node?(o=this.parser.schema.nodes[t.node],o.isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):i=this.enter(o,t.attrs||null,t.preserveWhitespace)):(s=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(s));let l=this.top;if(o&&o.isLeaf)this.findInside(e);else if(r)this.addElement(e,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(a=>this.insertNode(a));else{let a=e;typeof t.contentElement=="string"?a=e.querySelector(t.contentElement):typeof t.contentElement=="function"?a=t.contentElement(e):t.contentElement&&(a=t.contentElement),this.findAround(e,a,!0),this.addAll(a)}i&&this.sync(l)&&this.open--,s&&this.removePendingMark(s,l)}addAll(e,t,r){let i=t||0;for(let o=t?e.childNodes[t]:e.firstChild,s=r==null?null:e.childNodes[r];o!=s;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o);this.findAtPoint(e,i)}findPlace(e){let t,r;for(let i=this.open;i>=0;i--){let o=this.nodes[i],s=o.findWrapping(e);if(s&&(!t||t.length>s.length)&&(t=s,r=o,!s.length)||o.solid)break}if(!t)return!1;this.sync(r);for(let i=0;ithis.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let r=this.nodes[t].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),s=(l,a)=>{for(;l>=0;l--){let c=t[l];if(c==""){if(l==t.length-1||l==0)continue;for(;a>=o;a--)if(s(l-1,a))return!0;return!1}else{let u=a>0||a==0&&i?this.nodes[a].type:r&&a>=o?r.node(a-o).type:null;if(!u||u.name!=c&&u.groups.indexOf(c)==-1)return!1;a--}}return!0};return s(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let r=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let t in this.parser.schema.nodes){let r=this.parser.schema.nodes[t];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(e){let t=Yy(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,t){for(let r=this.open;r>=0;r--){let i=this.nodes[r];if(i.pendingMarks.lastIndexOf(e)>-1)i.pendingMarks=e.removeFromSet(i.pendingMarks);else{i.activeMarks=e.removeFromSet(i.activeMarks);let s=i.popFromStashMark(e);s&&i.type&&i.type.allowsMarkType(s.type)&&(i.activeMarks=s.addToSet(i.activeMarks))}if(i==t)break}}}function Ky(n){for(let e=n.firstChild,t=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&xd.hasOwnProperty(r)&&t?(t.appendChild(e),e=t):r=="li"?t=e:r&&(t=null)}}function Uy(n,e){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,e)}function Jy(n){let e=/\s*([\w-]+)\s*:\s*([^;]+)/g,t,r=[];for(;t=e.exec(n);)r.push(t[1],t[2].trim());return r}function iu(n){let e={};for(let t in n)e[t]=n[t];return e}function Gy(n,e){let t=e.schema.nodes;for(let r in t){let i=t[r];if(!i.allowsMarkType(n))continue;let o=[],s=l=>{o.push(l);for(let a=0;a{if(o.length||s.marks.length){let l=0,a=0;for(;l=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,t,r={}){let i=this.marks[e.type.name];return i&&Nt.renderSpec(Os(r),i(e,t))}static renderSpec(e,t,r=null){if(typeof t=="string")return{dom:e.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let i=t[0],o=i.indexOf(" ");o>0&&(r=i.slice(0,o),i=i.slice(o+1));let s,l=r?e.createElementNS(r,i):e.createElement(i),a=t[1],c=1;if(a&&typeof a=="object"&&a.nodeType==null&&!Array.isArray(a)){c=2;for(let u in a)if(a[u]!=null){let h=u.indexOf(" ");h>0?l.setAttributeNS(u.slice(0,h),u.slice(h+1),a[u]):l.setAttribute(u,a[u])}}for(let u=c;uc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:d,contentDOM:f}=Nt.renderSpec(e,h,r);if(l.appendChild(d),f){if(s)throw new RangeError("Multiple content holes");s=f}}}return{dom:l,contentDOM:s}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Nt(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=ou(e.nodes);return t.text||(t.text=r=>r.text),t}static marksFromSchema(e){return ou(e.marks)}}function ou(n){let e={};for(let t in n){let r=n[t].spec.toDOM;r&&(e[t]=r)}return e}function Os(n){return n.document||window.document}const bd=65535,wd=Math.pow(2,16);function Qy(n,e){return n+e*wd}function su(n){return n&bd}function Zy(n){return(n-(n&bd))/wd}const Cd=1,Sd=2,lo=4,Md=8;class xl{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(this.delInfo&Md)>0}get deletedBefore(){return(this.delInfo&(Cd|lo))>0}get deletedAfter(){return(this.delInfo&(Sd|lo))>0}get deletedAcross(){return(this.delInfo&lo)>0}}class Ue{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Ue.empty)return Ue.empty}recover(e){let t=0,r=su(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[l+o],u=this.ranges[l+s],h=a+c;if(e<=h){let d=c?e==a?-1:e==h?1:t:t,f=a+i+(d<0?0:u);if(r)return f;let p=e==(t<0?a:h)?null:Qy(l/3,e-a),m=e==a?Sd:e==h?Cd:lo;return(t<0?e!=a:e!=h)&&(m|=Md),new xl(f,m,p)}i+=u-c}return r?e+i:new xl(e+i,0,null)}touches(e,t){let r=0,i=su(t),o=this.inverted?2:1,s=this.inverted?1:2;for(let l=0;le)break;let c=this.ranges[l+o],u=a+c;if(e<=u&&l==i*3)return!0;r+=this.ranges[l+s]-c}return!1}forEach(e){let t=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i=0;t--){let i=e.getMirror(t);this.appendMap(e.maps[t].invert(),i!=null&&i>t?r-i-1:void 0)}}invert(){let e=new xr;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let r=this.from;ro&&a!s.isAtom||!l.type.allowsMarkType(this.mark.type)?s:s.mark(this.mark.addToSet(s.marks)),i),t.openStart,t.openEnd);return de.fromReplace(e,this.from,this.to,o)}invert(){return new Et(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new Vt(t.pos,r.pos,this.mark)}merge(e){return e instanceof Vt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Vt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Vt(t.from,t.to,e.markFromJSON(t.mark))}}Oe.jsonID("addMark",Vt);class Et extends Oe{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=new A(ca(t.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),t.openStart,t.openEnd);return de.fromReplace(e,this.from,this.to,r)}invert(){return new Vt(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new Et(t.pos,r.pos,this.mark)}merge(e){return e instanceof Et&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Et(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Et(t.from,t.to,e.markFromJSON(t.mark))}}Oe.jsonID("removeMark",Et);class an extends Oe{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return de.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return de.fromReplace(e,this.pos,this.pos+1,new A(E.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let r=this.mark.addToSet(t.marks);if(r.length==t.marks.length){for(let i=0;ir.pos?null:new Te(t.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number"||typeof t.gapFrom!="number"||typeof t.gapTo!="number"||typeof t.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Te(t.from,t.to,t.gapFrom,t.gapTo,A.fromJSON(e,t.slice),t.insert,!!t.structure)}}Oe.jsonID("replaceAround",Te);function bl(n,e,t){let r=n.resolve(e),i=t-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let s=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,i--}}return!1}function Xy(n,e,t,r){let i=[],o=[],s,l;n.doc.nodesBetween(e,t,(a,c,u)=>{if(!a.isInline)return;let h=a.marks;if(!r.isInSet(h)&&u.type.allowsMarkType(r.type)){let d=Math.max(c,e),f=Math.min(c+a.nodeSize,t),p=r.addToSet(h);for(let m=0;mn.step(a)),o.forEach(a=>n.step(a))}function ek(n,e,t,r){let i=[],o=0;n.doc.nodesBetween(e,t,(s,l)=>{if(!s.isInline)return;o++;let a=null;if(r instanceof rs){let c=s.marks,u;for(;u=r.isInSet(c);)(a||(a=[])).push(u),c=u.removeFromSet(c)}else r?r.isInSet(s.marks)&&(a=[r]):a=s.marks;if(a&&a.length){let c=Math.min(l+s.nodeSize,t);for(let u=0;un.step(new Et(s.from,s.to,s.style)))}function tk(n,e,t,r=t.contentMatch){let i=n.doc.nodeAt(e),o=[],s=e+1;for(let l=0;l=0;l--)n.step(o[l])}function nk(n,e,t){return(e==0||n.canReplace(e,n.childCount))&&(t==n.childCount||n.canReplace(0,t))}function is(n){let t=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let r=n.depth;;--r){let i=n.$from.node(r),o=n.$from.index(r),s=n.$to.indexAfter(r);if(rt;p--)m||r.index(p)>0?(m=!0,u=E.from(r.node(p).copy(u)),h++):a--;let d=E.empty,f=0;for(let p=o,m=!1;p>t;p--)m||i.after(p+1)=0;s--){if(r.size){let l=t[s].type.contentMatch.matchFragment(r);if(!l||!l.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=E.from(t[s].type.create(t[s].attrs,r))}let i=e.start,o=e.end;n.step(new Te(i,o,i,o,new A(r,0,0),t.length,!0))}function lk(n,e,t,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=n.steps.length;n.doc.nodesBetween(e,t,(s,l)=>{if(s.isTextblock&&!s.hasMarkup(r,i)&&ak(n.doc,n.mapping.slice(o).map(l),r)){n.clearIncompatible(n.mapping.slice(o).map(l,1),r);let a=n.mapping.slice(o),c=a.map(l,1),u=a.map(l+s.nodeSize,1);return n.step(new Te(c,u,c+1,u-1,new A(E.from(r.create(i,null,s.marks)),0,0),1,!0)),!1}})}function ak(n,e,t){let r=n.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,t)}function ck(n,e,t,r,i){let o=n.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");t||(t=o.type);let s=t.create(r,null,i||o.marks);if(o.isLeaf)return n.replaceWith(e,e+o.nodeSize,s);if(!t.validContent(o.content))throw new RangeError("Invalid content for node type "+t.name);n.step(new Te(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new A(E.from(s),0,0),1,!0))}function ki(n,e,t=1,r){let i=n.resolve(e),o=i.depth-t,s=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!s.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,u=t-2;c>o;c--,u--){let h=i.node(c),d=i.index(c);if(h.type.spec.isolating)return!1;let f=h.content.cutByIndex(d,h.childCount),p=r&&r[u+1];p&&(f=f.replaceChild(0,p.type.create(p.attrs)));let m=r&&r[u]||h;if(!h.canReplace(d+1,h.childCount)||!m.type.validContent(f))return!1}let l=i.indexAfter(o),a=r&&r[0];return i.node(o).canReplaceWith(l,l,a?a.type:i.node(o+1).type)}function uk(n,e,t=1,r){let i=n.doc.resolve(e),o=E.empty,s=E.empty;for(let l=i.depth,a=i.depth-t,c=t-1;l>a;l--,c--){o=E.from(i.node(l).copy(o));let u=r&&r[c];s=E.from(u?u.type.create(u.attrs,s):i.node(l).copy(s))}n.step(new we(e,e,new A(o.append(s),t,t),!0))}function ss(n,e){let t=n.resolve(e),r=t.index();return hk(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(r,r+1)}function hk(n,e){return!!(n&&e&&!n.isLeaf&&n.canAppend(e))}function dk(n,e,t){let r=new we(e-t,e+t,A.empty,!0);n.step(r)}function fk(n,e,t){let r=n.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),t))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,t))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,t))return r.after(i+1);if(o=0;s--){let l=s==r.depth?0:r.pos<=(r.start(s+1)+r.end(s+1))/2?-1:1,a=r.index(s)+(l>0?1:0),c=r.node(s),u=!1;if(o==1)u=c.canReplace(a,a,i);else{let h=c.contentMatchAt(a).findWrapping(i.firstChild.type);u=h&&c.canReplaceWith(a,a,h[0])}if(u)return l==0?r.pos:l<0?r.before(s+1):r.after(s+1)}return null}function ua(n,e,t=e,r=A.empty){if(e==t&&!r.size)return null;let i=n.resolve(e),o=n.resolve(t);return Ed(i,o,r)?new we(e,t,r):new mk(i,o,r).fit()}function Ed(n,e,t){return!t.openStart&&!t.openEnd&&n.start()==e.start()&&n.parent.canReplace(n.index(),e.index(),t.content)}class mk{constructor(e,t,r){this.$from=e,this.$to=t,this.unplaced=r,this.frontier=[],this.placed=E.empty;for(let i=0;i<=e.depth;i++){let o=e.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=E.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let o=this.placed,s=r.depth,l=i.depth;for(;s&&l&&o.childCount==1;)o=o.firstChild.content,s--,l--;let a=new A(o,s,l);return e>-1?new Te(r.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||r.pos!=this.$to.pos?new we(r.pos,i.pos,a):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),o.type.spec.isolating&&i<=r){e=r;break}t=o.content}for(let t=1;t<=2;t++)for(let r=t==1?e:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=vs(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let s=i.firstChild;for(let l=this.depth;l>=0;l--){let{type:a,match:c}=this.frontier[l],u,h=null;if(t==1&&(s?c.matchType(s.type)||(h=c.fillBefore(E.from(s),!1)):o&&a.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:l,parent:o,inject:h};if(t==2&&s&&(u=c.findWrapping(s.type)))return{sliceDepth:r,frontierDepth:l,parent:o,wrap:u};if(o&&c.matchType(o.type))break}}}openMore(){let{content:e,openStart:t,openEnd:r}=this.unplaced,i=vs(e,t);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new A(e,t+1,Math.max(r,i.size+t>=e.size-r?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:r}=this.unplaced,i=vs(e,t);if(i.childCount<=1&&t>0){let o=e.size-t<=t+i.size;this.unplaced=new A(Jr(e,t-1,1),t-1,o?t-1:r)}else this.unplaced=new A(Jr(e,t,1),t,r)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:i,wrap:o}){for(;this.depth>t;)this.closeFrontierNode();if(o)for(let m=0;m1||a==0||m.content.size)&&(h=y,u.push(Td(m.mark(d.allowedMarks(m.marks)),c==1?a:0,c==l.childCount?f:-1)))}let p=c==l.childCount;p||(f=-1),this.placed=Gr(this.placed,t,E.from(u)),this.frontier[t].match=h,p&&f<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,y=l;m1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:r,type:i}=this.frontier[t],o=t=0;l--){let{match:a,type:c}=this.frontier[l],u=Is(e,l,c,a,!0);if(!u||u.childCount)continue e}return{depth:t,fit:s,move:o?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=Gr(this.placed,t.depth,t.fit)),e=t.move;for(let r=t.depth+1;r<=e.depth;r++){let i=e.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,o)}return e}openFrontierNode(e,t=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=Gr(this.placed,this.depth,E.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(E.empty,!0);t.childCount&&(this.placed=Gr(this.placed,this.frontier.length,t))}}function Jr(n,e,t){return e==0?n.cutByIndex(t,n.childCount):n.replaceChild(0,n.firstChild.copy(Jr(n.firstChild.content,e-1,t)))}function Gr(n,e,t){return e==0?n.append(t):n.replaceChild(n.childCount-1,n.lastChild.copy(Gr(n.lastChild.content,e-1,t)))}function vs(n,e){for(let t=0;t1&&(r=r.replaceChild(0,Td(r.firstChild,e-1,r.childCount==1?t-1:0))),e>0&&(r=n.type.contentMatch.fillBefore(r).append(r),t<=0&&(r=r.append(n.type.contentMatch.matchFragment(r).fillBefore(E.empty,!0)))),n.copy(r)}function Is(n,e,t,r,i){let o=n.node(e),s=i?n.indexAfter(e):n.index(e);if(s==o.childCount&&!t.compatibleContent(o.type))return null;let l=r.fillBefore(o.content,!0,s);return l&&!gk(t,o.content,s)?l:null}function gk(n,e,t){for(let r=t;r0;d--,f--){let p=i.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;s.indexOf(d)>-1?l=d:i.before(d)==f&&s.splice(1,0,-d)}let a=s.indexOf(l),c=[],u=r.openStart;for(let d=r.content,f=0;;f++){let p=d.firstChild;if(c.push(p),f==r.openStart)break;d=p.content}for(let d=u-1;d>=0;d--){let f=c[d],p=yk(f.type);if(p&&!f.sameMarkup(i.node(Math.abs(l)-1)))u=d;else if(p||!f.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let f=(d+u+1)%(r.openStart+1),p=c[f];if(p)for(let m=0;m=0&&(n.replace(e,t,r),!(n.steps.length>h));d--){let f=s[d];f<0||(e=i.before(f),t=o.after(f))}}function Od(n,e,t,r,i){if(er){let o=i.contentMatchAt(0),s=o.fillBefore(n).append(n);n=s.append(o.matchFragment(s).fillBefore(E.empty,!0))}return n}function xk(n,e,t,r){if(!r.isInline&&e==t&&n.doc.resolve(e).parent.content.size){let i=fk(n.doc,e,r.type);i!=null&&(e=t=i)}n.replaceRange(e,t,new A(E.from(r),0,0))}function bk(n,e,t){let r=n.doc.resolve(e),i=n.doc.resolve(t),o=Ad(r,i);for(let s=0;s0&&(a||r.node(l-1).canReplace(r.index(l-1),i.indexAfter(l-1))))return n.delete(r.before(l),i.after(l))}for(let s=1;s<=r.depth&&s<=i.depth;s++)if(e-r.start(s)==r.depth-s&&t>r.end(s)&&i.end(s)-t!=i.depth-s)return n.delete(r.before(s),t);n.delete(e,t)}function Ad(n,e){let t=[],r=Math.min(n.depth,e.depth);for(let i=r;i>=0;i--){let o=n.start(i);if(oe.pos+(e.depth-i)||n.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(o==e.start(i)||i==n.depth&&i==e.depth&&n.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==o-1)&&t.push(i)}return t}class br extends Oe{constructor(e,t,r){super(),this.pos=e,this.attr=t,this.value=r}apply(e){let t=e.nodeAt(this.pos);if(!t)return de.fail("No node at attribute step's position");let r=Object.create(null);for(let o in t.attrs)r[o]=t.attrs[o];r[this.attr]=this.value;let i=t.type.create(r,null,t.marks);return de.fromReplace(e,this.pos,this.pos+1,new A(E.from(i),0,t.isLeaf?0:1))}getMap(){return Ue.empty}invert(e){return new br(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new br(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.pos!="number"||typeof t.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new br(t.pos,t.attr,t.value)}}Oe.jsonID("attr",br);class Oi extends Oe{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let i in e.attrs)t[i]=e.attrs[i];t[this.attr]=this.value;let r=e.type.create(t,e.content,e.marks);return de.ok(r)}getMap(){return Ue.empty}invert(e){return new Oi(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Oi(t.attr,t.value)}}Oe.jsonID("docAttr",Oi);let Ar=class extends Error{};Ar=function n(e){let t=Error.call(this,e);return t.__proto__=n.prototype,t};Ar.prototype=Object.create(Error.prototype);Ar.prototype.constructor=Ar;Ar.prototype.name="TransformError";class vd{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new xr}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Ar(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,r=A.empty){let i=ua(this.doc,e,t,r);return i&&this.step(i),this}replaceWith(e,t,r){return this.replace(e,t,new A(E.from(r),0,0))}delete(e,t){return this.replace(e,t,A.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,r){return kk(this,e,t,r),this}replaceRangeWith(e,t,r){return xk(this,e,t,r),this}deleteRange(e,t){return bk(this,e,t),this}lift(e,t){return rk(this,e,t),this}join(e,t=1){return dk(this,e,t),this}wrap(e,t){return sk(this,e,t),this}setBlockType(e,t=e,r,i=null){return lk(this,e,t,r,i),this}setNodeMarkup(e,t,r=null,i){return ck(this,e,t,r,i),this}setNodeAttribute(e,t,r){return this.step(new br(e,t,r)),this}setDocAttribute(e,t){return this.step(new Oi(e,t)),this}addNodeMark(e,t){return this.step(new an(e,t)),this}removeNodeMark(e,t){if(!(t instanceof Y)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(t=t.isInSet(r.marks),!t)return this}return this.step(new Or(e,t)),this}split(e,t=1,r){return uk(this,e,t,r),this}addMark(e,t,r){return Xy(this,e,t,r),this}removeMark(e,t,r){return ek(this,e,t,r),this}clearIncompatible(e,t,r){return tk(this,e,t,r),this}}const Ds=Object.create(null);class V{constructor(e,t,r){this.$anchor=e,this.$head=t,this.ranges=r||[new Id(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t=0;o--){let s=t<0?lr(e.node(0),e.node(o),e.before(o+1),e.index(o),t,r):lr(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,t,r);if(s)return s}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Be(e.node(0))}static atStart(e){return lr(e,e,0,0,1)||new Be(e)}static atEnd(e){return lr(e,e,e.content.size,e.childCount,-1)||new Be(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Ds[t.type];if(!r)throw new RangeError(`No selection type ${t.type} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in Ds)throw new RangeError("Duplicate use of selection JSON ID "+e);return Ds[e]=t,t.prototype.jsonID=e,t}getBookmark(){return K.between(this.$anchor,this.$head).getBookmark()}}V.prototype.visible=!0;class Id{constructor(e,t){this.$from=e,this.$to=t}}let au=!1;function cu(n){!au&&!n.parent.inlineContent&&(au=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class K extends V{constructor(e,t=e){cu(e),cu(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return V.near(r);let i=e.resolve(t.map(this.anchor));return new K(i.parent.inlineContent?i:r,r)}replace(e,t=A.empty){if(super.replace(e,t),t==A.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof K&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new ls(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if(typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new K(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,r=t){let i=e.resolve(t);return new this(i,r==t?i:e.resolve(r))}static between(e,t,r){let i=e.pos-t.pos;if((!r||i)&&(r=i>=0?1:-1),!t.parent.inlineContent){let o=V.findFrom(t,r,!0)||V.findFrom(t,-r,!0);if(o)t=o.$head;else return V.near(t,r)}return e.parent.inlineContent||(i==0?e=t:(e=(V.findFrom(e,-r,!0)||V.findFrom(e,r,!0)).$anchor,e.pos0?0:1);i>0?s=0;s+=i){let l=e.child(s);if(l.isAtom){if(!o&&j.isSelectable(l))return j.create(n,t-(i<0?l.nodeSize:0))}else{let a=lr(n,l,t+i,i<0?l.childCount:0,i,o);if(a)return a}t+=l.nodeSize*i}return null}function uu(n,e,t){let r=n.steps.length-1;if(r{s==null&&(s=u)}),n.setSelection(V.near(n.doc.resolve(s),t))}const hu=1,eo=2,du=4;class Ck extends vd{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=eo,this}ensureMarks(e){return Y.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&eo)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~eo,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let r=this.selection;return t&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Y.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,r){let i=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=t),r=r??t,!e)return this.deleteRange(t,r);let o=this.storedMarks;if(!o){let s=this.doc.resolve(t);o=r==t?s.marks():s.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,i.text(e,o)),this.selection.empty||this.setSelection(V.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e=="string"?e:e.key]=t,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=du,this}get scrolledIntoView(){return(this.updated&du)>0}}function fu(n,e){return!e||!n?n:n.bind(e)}class Yr{constructor(e,t,r){this.name=e,this.init=fu(t.init,r),this.apply=fu(t.apply,r)}}const Sk=[new Yr("doc",{init(n){return n.doc||n.schema.topNodeType.createAndFill()},apply(n){return n.doc}}),new Yr("selection",{init(n,e){return n.selection||V.atStart(e.doc)},apply(n){return n.selection}}),new Yr("storedMarks",{init(n){return n.storedMarks||null},apply(n,e,t,r){return r.selection.$cursor?n.storedMarks:null}}),new Yr("scrollToSelection",{init(){return 0},apply(n,e){return n.scrolledIntoView?e+1:e}})];class Rs{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Sk.slice(),t&&t.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new Yr(r.key,r.spec.state,r))})}}class zn{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],o=i.spec.state;o&&o.toJSON&&(t[r]=o.toJSON.call(i,this[i.key]))}return t}static fromJSON(e,t,r){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new Rs(e.schema,e.plugins),o=new zn(i);return i.fields.forEach(s=>{if(s.name=="doc")o.doc=dt.fromJSON(e.schema,t.doc);else if(s.name=="selection")o.selection=V.fromJSON(o.doc,t.selection);else if(s.name=="storedMarks")t.storedMarks&&(o.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let l in r){let a=r[l],c=a.spec.state;if(a.key==s.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(t,l)){o[s.name]=c.fromJSON.call(a,e,t[l],o);return}}o[s.name]=s.init(e,o)}}),o}}function Dd(n,e,t){for(let r in n){let i=n[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=Dd(i,e,{})),t[r]=i}return t}class Pe{constructor(e){this.spec=e,this.props={},e.props&&Dd(e.props,this,this.props),this.key=e.key?e.key.key:Rd("plugin")}getState(e){return e[this.key]}}const zs=Object.create(null);function Rd(n){return n in zs?n+"$"+ ++zs[n]:(zs[n]=0,n+"$")}class Ae{constructor(e="key"){this.key=Rd(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const ve=function(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e},Ai=function(n){let e=n.assignedSlot||n.parentNode;return e&&e.nodeType==11?e.host:e};let pu=null;const Bt=function(n,e,t){let r=pu||(pu=document.createRange());return r.setEnd(n,t??n.nodeValue.length),r.setStart(n,e||0),r},Jn=function(n,e,t,r){return t&&(mu(n,e,t,r,-1)||mu(n,e,t,r,1))},Mk=/^(img|br|input|textarea|hr)$/i;function mu(n,e,t,r,i){for(;;){if(n==t&&e==r)return!0;if(e==(i<0?0:Mt(n))){let o=n.parentNode;if(!o||o.nodeType!=1||da(n)||Mk.test(n.nodeName)||n.contentEditable=="false")return!1;e=ve(n)+(i<0?0:1),n=o}else if(n.nodeType==1){if(n=n.childNodes[e+(i<0?-1:0)],n.contentEditable=="false")return!1;e=i<0?Mt(n):0}else return!1}}function Mt(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function Nk(n,e,t){for(let r=e==0,i=e==Mt(n);r||i;){if(n==t)return!0;let o=ve(n);if(n=n.parentNode,!n)return!1;r=r&&o==0,i=i&&o==Mt(n)}}function da(n){let e;for(let t=n;t&&!(e=t.pmViewDesc);t=t.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==n||e.contentDOM==n)}const as=function(n){return n.focusNode&&Jn(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function Rn(n,e){let t=document.createEvent("Event");return t.initEvent("keydown",!0,!0),t.keyCode=n,t.key=t.code=e,t}function Ek(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Tk(n,e,t){if(n.caretPositionFromPoint)try{let r=n.caretPositionFromPoint(e,t);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(n.caretRangeFromPoint){let r=n.caretRangeFromPoint(e,t);if(r)return{node:r.startContainer,offset:r.startOffset}}}const Tt=typeof navigator<"u"?navigator:null,gu=typeof document<"u"?document:null,kn=Tt&&Tt.userAgent||"",wl=/Edge\/(\d+)/.exec(kn),zd=/MSIE \d/.exec(kn),Cl=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(kn),je=!!(zd||Cl||wl),hn=zd?document.documentMode:Cl?+Cl[1]:wl?+wl[1]:0,mt=!je&&/gecko\/(\d+)/i.test(kn);mt&&+(/Firefox\/(\d+)/.exec(kn)||[0,0])[1];const Sl=!je&&/Chrome\/(\d+)/.exec(kn),Ne=!!Sl,Ok=Sl?+Sl[1]:0,De=!je&&!!Tt&&/Apple Computer/.test(Tt.vendor),vr=De&&(/Mobile\/\w+/.test(kn)||!!Tt&&Tt.maxTouchPoints>2),Qe=vr||(Tt?/Mac/.test(Tt.platform):!1),Ak=Tt?/Win/.test(Tt.platform):!1,ct=/Android \d/.test(kn),Fi=!!gu&&"webkitFontSmoothing"in gu.documentElement.style,vk=Fi?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Ik(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function Lt(n,e){return typeof n=="number"?n:n[e]}function Dk(n){let e=n.getBoundingClientRect(),t=e.width/n.offsetWidth||1,r=e.height/n.offsetHeight||1;return{left:e.left,right:e.left+n.clientWidth*t,top:e.top,bottom:e.top+n.clientHeight*r}}function yu(n,e,t){let r=n.someProp("scrollThreshold")||0,i=n.someProp("scrollMargin")||5,o=n.dom.ownerDocument;for(let s=t||n.dom;s;s=Ai(s)){if(s.nodeType!=1)continue;let l=s,a=l==o.body,c=a?Ik(o):Dk(l),u=0,h=0;if(e.topc.bottom-Lt(r,"bottom")&&(h=e.bottom-e.top>c.bottom-c.top?e.top+Lt(i,"top")-c.top:e.bottom-c.bottom+Lt(i,"bottom")),e.leftc.right-Lt(r,"right")&&(u=e.right-c.right+Lt(i,"right")),u||h)if(a)o.defaultView.scrollBy(u,h);else{let d=l.scrollLeft,f=l.scrollTop;h&&(l.scrollTop+=h),u&&(l.scrollLeft+=u);let p=l.scrollLeft-d,m=l.scrollTop-f;e={left:e.left-p,top:e.top-m,right:e.right-p,bottom:e.bottom-m}}if(a||/^(fixed|sticky)$/.test(getComputedStyle(s).position))break}}function Rk(n){let e=n.dom.getBoundingClientRect(),t=Math.max(0,e.top),r,i;for(let o=(e.left+e.right)/2,s=t+1;s=t-20){r=l,i=a.top;break}}return{refDOM:r,refTop:i,stack:Pd(n.dom)}}function Pd(n){let e=[],t=n.ownerDocument;for(let r=n;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),n!=t);r=Ai(r));return e}function zk({refDOM:n,refTop:e,stack:t}){let r=n?n.getBoundingClientRect().top:0;Ld(t,r==0?0:r-e)}function Ld(n,e){for(let t=0;t=l){s=Math.max(p.bottom,s),l=Math.min(p.top,l);let m=p.left>e.left?p.left-e.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>e.top&&!a&&p.left<=e.left&&p.right>=e.left&&(a=u,c={left:Math.max(p.left,Math.min(p.right,e.left)),top:p.top});!t&&(e.left>=p.right&&e.top>=p.top||e.left>=p.left&&e.top>=p.bottom)&&(o=h+1)}}return!t&&a&&(t=a,i=c,r=0),t&&t.nodeType==3?Lk(t,i):!t||r&&t.nodeType==1?{node:n,offset:o}:Fd(t,i)}function Lk(n,e){let t=n.nodeValue.length,r=document.createRange();for(let i=0;i=(o.left+o.right)/2?1:0)}}return{node:n,offset:0}}function fa(n,e){return n.left>=e.left-1&&n.left<=e.right+1&&n.top>=e.top-1&&n.top<=e.bottom+1}function Fk(n,e){let t=n.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left(s.left+s.right)/2?1:-1}return n.docView.posFromDOM(r,i,o)}function Bk(n,e,t,r){let i=-1;for(let o=e,s=!1;o!=n.dom;){let l=n.docView.nearestDesc(o,!0);if(!l)return null;if(l.dom.nodeType==1&&(l.node.isBlock&&l.parent&&!s||!l.contentDOM)){let a=l.dom.getBoundingClientRect();if(l.node.isBlock&&l.parent&&!s&&(s=!0,a.left>r.left||a.top>r.top?i=l.posBefore:(a.right-1?i:n.docView.posFromDOM(e,t,-1)}function $d(n,e,t){let r=n.childNodes.length;if(r&&t.tope.top&&i++}let c;Fi&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&i--,r==n.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?l=n.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(l=Bk(n,r,i,e))}l==null&&(l=$k(n,s,e));let a=n.docView.nearestDesc(s,!0);return{pos:l,inside:a?a.posAtStart-a.border:-1}}function ku(n){return n.top=0&&i==r.nodeValue.length?(a--,u=1):t<0?a--:c++,qr(Gt(Bt(r,a,c),u),u<0)}if(!n.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(t<0||i==Mt(r))){let a=r.childNodes[i-1];if(a.nodeType==1)return Ps(a.getBoundingClientRect(),!1)}if(o==null&&i=0)}if(o==null&&i&&(t<0||i==Mt(r))){let a=r.childNodes[i-1],c=a.nodeType==3?Bt(a,Mt(a)-(s?0:1)):a.nodeType==1&&(a.nodeName!="BR"||!a.nextSibling)?a:null;if(c)return qr(Gt(c,1),!1)}if(o==null&&i=0)}function qr(n,e){if(n.width==0)return n;let t=e?n.left:n.right;return{top:n.top,bottom:n.bottom,left:t,right:t}}function Ps(n,e){if(n.height==0)return n;let t=e?n.top:n.bottom;return{top:t,bottom:t,left:n.left,right:n.right}}function jd(n,e,t){let r=n.state,i=n.root.activeElement;r!=e&&n.updateState(e),i!=n.dom&&n.focus();try{return t()}finally{r!=e&&n.updateState(r),i!=n.dom&&i&&i.focus()}}function _k(n,e,t){let r=e.selection,i=t=="up"?r.$from:r.$to;return jd(n,e,()=>{let{node:o}=n.docView.domFromPos(i.pos,t=="up"?-1:1);for(;;){let l=n.docView.nearestDesc(o,!0);if(!l)break;if(l.node.isBlock){o=l.contentDOM||l.dom;break}o=l.dom.parentNode}let s=Bd(n,i.pos,1);for(let l=o.firstChild;l;l=l.nextSibling){let a;if(l.nodeType==1)a=l.getClientRects();else if(l.nodeType==3)a=Bt(l,0,l.nodeValue.length).getClientRects();else continue;for(let c=0;cu.top+1&&(t=="up"?s.top-u.top>(u.bottom-s.top)*2:u.bottom-s.bottom>(s.bottom-u.top)*2))return!1}}return!0})}const Wk=/[\u0590-\u08ac]/;function Hk(n,e,t){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,s=i==r.parent.content.size,l=n.domSelection();return!Wk.test(r.parent.textContent)||!l.modify?t=="left"||t=="backward"?o:s:jd(n,e,()=>{let{focusNode:a,focusOffset:c,anchorNode:u,anchorOffset:h}=n.domSelectionRange(),d=l.caretBidiLevel;l.modify("move",t,"character");let f=r.depth?n.docView.domAfterPos(r.before()):n.dom,{focusNode:p,focusOffset:m}=n.domSelectionRange(),y=p&&!f.contains(p.nodeType==1?p:p.parentNode)||a==p&&c==m;try{l.collapse(u,h),a&&(a!=u||c!=h)&&l.extend&&l.extend(a,c)}catch{}return d!=null&&(l.caretBidiLevel=d),y})}let xu=null,bu=null,wu=!1;function qk(n,e,t){return xu==e&&bu==t?wu:(xu=e,bu=t,wu=t=="up"||t=="down"?_k(n,e,t):Hk(n,e,t))}const et=0,Cu=1,Pn=2,Ot=3;class $i{constructor(e,t,r,i){this.parent=e,this.children=t,this.dom=r,this.contentDOM=i,this.dirty=et,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;tve(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(t==0)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&t==e.childNodes.length)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let r=!0,i=e;i;i=i.parentNode){let o=this.getDesc(i),s;if(o&&(!t||o.node))if(r&&(s=o.nodeDOM)&&!(s.nodeType==1?s.contains(e.nodeType==1?e:e.parentNode):s==e))r=!1;else return o}}getDesc(e){let t=e.pmViewDesc;for(let r=t;r;r=r.parent)if(r==this)return t}posFromDOM(e,t,r){for(let i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,t,r)}return-1}descAt(e){for(let t=0,r=0;te||s instanceof _d){i=e-o;break}o=l}if(i)return this.children[r].domFromPos(i-this.children[r].border,t);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof Vd&&o.side>=0;r--);if(t<=0){let o,s=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,s=!1);return o&&t&&s&&!o.border&&!o.domAtom?o.domFromPos(o.size,t):{node:this.contentDOM,offset:o?ve(o.dom)+1:0}}else{let o,s=!0;for(;o=r=u&&t<=c-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(e,t,u);e=s;for(let h=l;h>0;h--){let d=this.children[h-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){i=ve(d.dom)+1;break}e-=d.size}i==-1&&(i=0)}if(i>-1&&(c>t||l==this.children.length-1)){t=c;for(let u=l+1;uf&&st){let f=l;l=a,a=f}let d=document.createRange();d.setEnd(a.node,a.offset),d.setStart(l.node,l.offset),c.removeAllRanges(),c.addRange(d)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let r=0,i=0;i=r:er){let l=r+o.border,a=s-o.border;if(e>=l&&t<=a){this.dirty=e==r||t==s?Pn:Cu,e==l&&t==a&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=Ot:o.markDirty(e-l,t-l);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?Pn:Ot}r=s}this.dirty=Pn}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let r=e==1?Pn:Cu;t.dirty{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!t.type.spec.raw){if(s.nodeType!=1){let l=document.createElement("span");l.appendChild(s),s=l}s.contentEditable="false",s.classList.add("ProseMirror-widget")}super(e,[],s,null),this.widget=t,this.widget=t,o=this}matchesWidget(e){return this.dirty==et&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class Kk extends $i{constructor(e,t,r,i){super(e,[],t,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Gn extends $i{constructor(e,t,r,i){super(e,[],r,i),this.mark=t}static create(e,t,r,i){let o=i.nodeViews[t.type.name],s=o&&o(t,i,r);return(!s||!s.dom)&&(s=Nt.renderSpec(document,t.type.spec.toDOM(t,r))),new Gn(e,t,s.dom,s.contentDOM||s.dom)}parseRule(){return this.dirty&Ot||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Ot&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=et){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(o=El(o,0,e,r));for(let l=0;l{if(!a)return s;if(a.parent)return a.parent.posBeforeChild(a)},r,i),u=c&&c.dom,h=c&&c.contentDOM;if(t.isText){if(!u)u=document.createTextNode(t.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:h}=Nt.renderSpec(document,t.type.spec.toDOM(t)));!h&&!t.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));let d=u;return u=qd(u,r,t),c?a=new Uk(e,t,r,i,u,h||null,d,c,o,s+1):t.isText?new cs(e,t,r,i,u,d,o):new dn(e,t,r,i,u,h||null,d,o,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let t=this.children.length-1;t>=0;t--){let r=this.children[t];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>E.empty)}return e}matchesNode(e,t,r){return this.dirty==et&&e.eq(this.node)&&Nl(t,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let r=this.node.inlineContent,i=t,o=e.composing?this.localCompositionInfo(e,t):null,s=o&&o.pos>-1?o:null,l=o&&o.pos<0,a=new Gk(this,s&&s.node,e);Zk(this.node,this.innerDeco,(c,u,h)=>{c.spec.marks?a.syncToMarks(c.spec.marks,r,e):c.type.side>=0&&!h&&a.syncToMarks(u==this.node.childCount?Y.none:this.node.child(u).marks,r,e),a.placeWidget(c,e,i)},(c,u,h,d)=>{a.syncToMarks(c.marks,r,e);let f;a.findNodeMatch(c,u,h,d)||l&&e.state.selection.from>i&&e.state.selection.to-1&&a.updateNodeAt(c,u,h,f,e)||a.updateNextNode(c,u,h,e,d,i)||a.addNode(c,u,h,e,i),i+=c.nodeSize}),a.syncToMarks([],r,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||this.dirty==Pn)&&(s&&this.protectLocalComposition(e,s),Wd(this.contentDOM,this.children,e),vr&&Xk(this.dom))}localCompositionInfo(e,t){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof K)||rt+this.node.content.size)return null;let o=e.domSelectionRange(),s=e1(o.focusNode,o.focusOffset);if(!s||!this.dom.contains(s.parentNode))return null;if(this.node.inlineContent){let l=s.nodeValue,a=t1(this.node.content,l,r-t,i-t);return a<0?null:{node:s,pos:a,text:l}}else return{node:s,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:r,text:i}){if(this.getDesc(t))return;let o=t;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let s=new Kk(this,o,t,i);e.input.compositionNodes.push(s),this.children=El(this.children,r,r+i.length,e,s)}update(e,t,r,i){return this.dirty==Ot||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,r,i),!0)}updateInner(e,t,r,i){this.updateOuterDeco(t),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=et}updateOuterDeco(e){if(Nl(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=Hd(this.dom,this.nodeDOM,Ml(this.outerDeco,this.node,t),Ml(e,this.node,t)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function Su(n,e,t,r,i){qd(r,e,n);let o=new dn(void 0,n,e,t,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class cs extends dn{constructor(e,t,r,i,o,s,l){super(e,t,r,i,o,null,s,l,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,r,i){return this.dirty==Ot||this.dirty!=et&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=et||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=et,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,r){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,t,r){let i=this.node.cut(e,t),o=document.createTextNode(i.text);return new cs(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=Ot)}get domAtom(){return!1}}class _d extends $i{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==et&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class Uk extends dn{constructor(e,t,r,i,o,s,l,a,c,u){super(e,t,r,i,o,s,l,c,u),this.spec=a}update(e,t,r,i){if(this.dirty==Ot)return!1;if(this.spec.update){let o=this.spec.update(e,t,r);return o&&this.updateInner(e,t,r,i),o}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,r,i){this.spec.setSelection?this.spec.setSelection(e,t,r):super.setSelection(e,t,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Wd(n,e,t){let r=n.firstChild,i=!1;for(let o=0;o>1,s=Math.min(o,e.length);for(;i-1)l>this.index&&(this.changed=!0,this.destroyBetween(this.index,l)),this.top=this.top.children[this.index];else{let a=Gn.create(this.top,e[o],t,r);this.top.children.splice(this.index,0,a),this.top=a,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,r,i){let o=-1,s;if(i>=this.preMatch.index&&(s=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&s.matchesNode(e,t,r))o=this.top.children.indexOf(s,this.index);else for(let l=this.index,a=Math.min(this.top.children.length,l+5);l0;){let l;for(;;)if(r){let c=t.children[r-1];if(c instanceof Gn)t=c,r=c.children.length;else{l=c,r--;break}}else{if(t==e)break e;r=t.parent.children.indexOf(t),t=t.parent}let a=l.node;if(a){if(a!=n.child(i-1))break;--i,o.set(l,i),s.push(l)}}return{index:i,matched:o,matches:s.reverse()}}function Qk(n,e){return n.type.side-e.type.side}function Zk(n,e,t,r){let i=e.locals(n),o=0;if(i.length==0){for(let c=0;co;)l.push(i[s++]);let p=o+d.nodeSize;if(d.isText){let y=p;s!y.inline):l.slice();r(d,m,e.forChild(o,d),f),o=p}}function Xk(n){if(n.nodeName=="UL"||n.nodeName=="OL"){let e=n.style.cssText;n.style.cssText=e+"; list-style: square !important",window.getComputedStyle(n).listStyle,n.style.cssText=e}}function e1(n,e){for(;;){if(n.nodeType==3)return n;if(n.nodeType==1&&e>0){if(n.childNodes.length>e&&n.childNodes[e].nodeType==3)return n.childNodes[e];n=n.childNodes[e-1],e=Mt(n)}else if(n.nodeType==1&&e=t){if(o>=r&&a.slice(r-e.length-l,r-l)==e)return r-e.length;let c=l=0&&c+e.length+l>=t)return l+c;if(t==r&&a.length>=r+e.length-l&&a.slice(r-l,r-l+e.length)==e)return r}}return-1}function El(n,e,t,r,i){let o=[];for(let s=0,l=0;s=t||u<=e?o.push(a):(ct&&o.push(a.slice(t-c,a.size,r)))}return o}function pa(n,e=null){let t=n.domSelectionRange(),r=n.state.doc;if(!t.focusNode)return null;let i=n.docView.nearestDesc(t.focusNode),o=i&&i.size==0,s=n.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(s<0)return null;let l=r.resolve(s),a,c;if(as(t)){for(a=l;i&&!i.node;)i=i.parent;let u=i.node;if(i&&u.isAtom&&j.isSelectable(u)&&i.parent&&!(u.isInline&&Nk(t.focusNode,t.focusOffset,i.dom))){let h=i.posBefore;c=new j(s==h?l:r.resolve(h))}}else{let u=n.docView.posFromDOM(t.anchorNode,t.anchorOffset,1);if(u<0)return null;a=r.resolve(u)}if(!c){let u=e=="pointer"||n.state.selection.head{(t.anchorNode!=r||t.anchorOffset!=i)&&(e.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!Kd(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}function r1(n){let e=n.domSelection(),t=document.createRange(),r=n.cursorWrapper.dom,i=r.nodeName=="IMG";i?t.setEnd(r.parentNode,ve(r)+1):t.setEnd(r,0),t.collapse(!1),e.removeAllRanges(),e.addRange(t),!i&&!n.state.selection.visible&&je&&hn<=11&&(r.disabled=!0,r.disabled=!1)}function Ud(n,e){if(e instanceof j){let t=n.docView.descAt(e.from);t!=n.lastSelectedViewDesc&&(Ou(n),t&&t.selectNode(),n.lastSelectedViewDesc=t)}else Ou(n)}function Ou(n){n.lastSelectedViewDesc&&(n.lastSelectedViewDesc.parent&&n.lastSelectedViewDesc.deselectNode(),n.lastSelectedViewDesc=void 0)}function ma(n,e,t,r){return n.someProp("createSelectionBetween",i=>i(n,e,t))||K.between(e,t,r)}function Au(n){return n.editable&&!n.hasFocus()?!1:Jd(n)}function Jd(n){let e=n.domSelectionRange();if(!e.anchorNode)return!1;try{return n.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(n.editable||n.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function i1(n){let e=n.docView.domFromPos(n.state.selection.anchor,0),t=n.domSelectionRange();return Jn(e.node,e.offset,t.anchorNode,t.anchorOffset)}function Tl(n,e){let{$anchor:t,$head:r}=n.selection,i=e>0?t.max(r):t.min(r),o=i.parent.inlineContent?i.depth?n.doc.resolve(e>0?i.after():i.before()):null:i;return o&&V.findFrom(o,e)}function nn(n,e){return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()),!0}function vu(n,e,t){let r=n.state.selection;if(r instanceof K)if(t.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let s=n.state.doc.resolve(i.pos+o.nodeSize*(e<0?-1:1));return nn(n,new K(r.$anchor,s))}else if(r.empty){if(n.endOfTextblock(e>0?"forward":"backward")){let i=Tl(n.state,e);return i&&i instanceof j?nn(n,i):!1}else if(!(Qe&&t.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,s;if(!o||o.isText)return!1;let l=e<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(s=n.docView.descAt(l))&&!s.contentDOM?j.isSelectable(o)?nn(n,new j(e<0?n.state.doc.resolve(i.pos-o.nodeSize):i)):Fi?nn(n,new K(n.state.doc.resolve(e<0?l:l+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof j&&r.node.isInline)return nn(n,new K(e>0?r.$to:r.$from));{let i=Tl(n.state,e);return i?nn(n,i):!1}}}function Ko(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function bi(n,e){let t=n.pmViewDesc;return t&&t.size==0&&(e<0||n.nextSibling||n.nodeName!="BR")}function sr(n,e){return e<0?o1(n):s1(n)}function o1(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let i,o,s=!1;for(mt&&t.nodeType==1&&r0){if(t.nodeType!=1)break;{let l=t.childNodes[r-1];if(bi(l,-1))i=t,o=--r;else if(l.nodeType==3)t=l,r=t.nodeValue.length;else break}}else{if(Gd(t))break;{let l=t.previousSibling;for(;l&&bi(l,-1);)i=t.parentNode,o=ve(l),l=l.previousSibling;if(l)t=l,r=Ko(t);else{if(t=t.parentNode,t==n.dom)break;r=0}}}s?Ol(n,t,r):i&&Ol(n,i,o)}function s1(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let i=Ko(t),o,s;for(;;)if(r{n.state==i&&_t(n)},50)}function Iu(n,e){let t=n.state.doc.resolve(e);if(!(Ne||Ak)&&t.parent.inlineContent){let i=n.coordsAtPos(e);if(e>t.start()){let o=n.coordsAtPos(e-1),s=(o.top+o.bottom)/2;if(s>i.top&&s1)return o.lefti.top&&s1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(n.dom).direction=="rtl"?"rtl":"ltr"}function Du(n,e,t){let r=n.state.selection;if(r instanceof K&&!r.empty||t.indexOf("s")>-1||Qe&&t.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||n.endOfTextblock(e<0?"up":"down")){let s=Tl(n.state,e);if(s&&s instanceof j)return nn(n,s)}if(!i.parent.inlineContent){let s=e<0?i:o,l=r instanceof Be?V.near(s,e):V.findFrom(s,e);return l?nn(n,l):!1}return!1}function Ru(n,e){if(!(n.state.selection instanceof K))return!0;let{$head:t,$anchor:r,empty:i}=n.state.selection;if(!t.sameParent(r))return!0;if(!i)return!1;if(n.endOfTextblock(e>0?"forward":"backward"))return!0;let o=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(o&&!o.isText){let s=n.state.tr;return e<0?s.delete(t.pos-o.nodeSize,t.pos):s.delete(t.pos,t.pos+o.nodeSize),n.dispatch(s),!0}return!1}function zu(n,e,t){n.domObserver.stop(),e.contentEditable=t,n.domObserver.start()}function c1(n){if(!De||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:t}=n.domSelectionRange();if(e&&e.nodeType==1&&t==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;zu(n,r,"true"),setTimeout(()=>zu(n,r,"false"),20)}return!1}function u1(n){let e="";return n.ctrlKey&&(e+="c"),n.metaKey&&(e+="m"),n.altKey&&(e+="a"),n.shiftKey&&(e+="s"),e}function h1(n,e){let t=e.keyCode,r=u1(e);if(t==8||Qe&&t==72&&r=="c")return Ru(n,-1)||sr(n,-1);if(t==46&&!e.shiftKey||Qe&&t==68&&r=="c")return Ru(n,1)||sr(n,1);if(t==13||t==27)return!0;if(t==37||Qe&&t==66&&r=="c"){let i=t==37?Iu(n,n.state.selection.from)=="ltr"?-1:1:-1;return vu(n,i,r)||sr(n,i)}else if(t==39||Qe&&t==70&&r=="c"){let i=t==39?Iu(n,n.state.selection.from)=="ltr"?1:-1:1;return vu(n,i,r)||sr(n,i)}else{if(t==38||Qe&&t==80&&r=="c")return Du(n,-1,r)||sr(n,-1);if(t==40||Qe&&t==78&&r=="c")return c1(n)||Du(n,1,r)||sr(n,1);if(r==(Qe?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function Yd(n,e){n.someProp("transformCopied",f=>{e=f(e,n)});let t=[],{content:r,openStart:i,openEnd:o}=e;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let f=r.firstChild;t.push(f.type.name,f.attrs!=f.type.defaultAttrs?f.attrs:null),r=f.content}let s=n.someProp("clipboardSerializer")||Nt.fromSchema(n.state.schema),l=nf(),a=l.createElement("div");a.appendChild(s.serializeFragment(r,{document:l}));let c=a.firstChild,u,h=0;for(;c&&c.nodeType==1&&(u=tf[c.nodeName.toLowerCase()]);){for(let f=u.length-1;f>=0;f--){let p=l.createElement(u[f]);for(;a.firstChild;)p.appendChild(a.firstChild);a.appendChild(p),h++}c=a.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${o}${h?` -${h}`:""} ${JSON.stringify(t)}`);let d=n.someProp("clipboardTextSerializer",f=>f(e,n))||e.content.textBetween(0,e.content.size,` + +`);return{dom:a,text:d}}function Qd(n,e,t,r,i){let o=i.parent.type.spec.code,s,l;if(!t&&!e)return null;let a=e&&(r||o||!t);if(a){if(n.someProp("transformPastedText",d=>{e=d(e,o||r,n)}),o)return e?new A(E.from(n.state.schema.text(e.replace(/\r\n?/g,` +`))),0,0):A.empty;let h=n.someProp("clipboardTextParser",d=>d(e,i,r,n));if(h)l=h;else{let d=i.marks(),{schema:f}=n.state,p=Nt.fromSchema(f);s=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(m=>{let y=s.appendChild(document.createElement("p"));m&&y.appendChild(p.serializeNode(f.text(m,d)))})}}else n.someProp("transformPastedHTML",h=>{t=h(t,n)}),s=p1(t),Fi&&m1(s);let c=s&&s.querySelector("[data-pm-slice]"),u=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let h=+u[3];h>0;h--){let d=s.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;s=d}if(l||(l=(n.someProp("clipboardParser")||n.someProp("domParser")||Un.fromSchema(n.state.schema)).parseSlice(s,{preserveWhitespace:!!(a||u),context:i,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!d1.test(d.parentNode.nodeName)?{ignore:!0}:null}})),u)l=g1(Pu(l,+u[1],+u[2]),u[4]);else if(l=A.maxOpen(f1(l.content,i),!0),l.openStart||l.openEnd){let h=0,d=0;for(let f=l.content.firstChild;h{l=h(l,n)}),l}const d1=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function f1(n,e){if(n.childCount<2)return n;for(let t=e.depth;t>=0;t--){let i=e.node(t).contentMatchAt(e.index(t)),o,s=[];if(n.forEach(l=>{if(!s)return;let a=i.findWrapping(l.type),c;if(!a)return s=null;if(c=s.length&&o.length&&Xd(a,o,l,s[s.length-1],0))s[s.length-1]=c;else{s.length&&(s[s.length-1]=ef(s[s.length-1],o.length));let u=Zd(l,a);s.push(u),i=i.matchType(u.type),o=a}}),s)return E.from(s)}return n}function Zd(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,E.from(n));return n}function Xd(n,e,t,r,i){if(i1&&(o=0),i=t&&(l=e<0?s.contentMatchAt(0).fillBefore(l,o<=i).append(l):l.append(s.contentMatchAt(s.childCount).fillBefore(E.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,s.copy(l))}function Pu(n,e,t){return e]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=nf().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(n),i;if((i=r&&tf[r[1].toLowerCase()])&&(n=i.map(o=>"<"+o+">").join("")+n+i.map(o=>"").reverse().join("")),t.innerHTML=n,i)for(let o=0;o=0;l-=2){let a=t.nodes[r[l]];if(!a||a.hasRequiredAttrs())break;i=E.from(a.create(r[l+1],i)),o++,s++}return new A(i,o,s)}const Re={},ze={},y1={touchstart:!0,touchmove:!0};class k1{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function x1(n){for(let e in Re){let t=Re[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{w1(n,r)&&!ga(n,r)&&(n.editable||!(r.type in ze))&&t(n,r)},y1[e]?{passive:!0}:void 0)}De&&n.dom.addEventListener("input",()=>null),vl(n)}function cn(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function b1(n){n.domObserver.stop();for(let e in n.input.eventHandlers)n.dom.removeEventListener(e,n.input.eventHandlers[e]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}function vl(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>ga(n,r))})}function ga(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function w1(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=n.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function C1(n,e){!ga(n,e)&&Re[e.type]&&(n.editable||!(e.type in ze))&&Re[e.type](n,e)}ze.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!of(n,t)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(ct&&Ne&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),vr&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let r=Date.now();n.input.lastIOSEnter=r,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==r&&(n.someProp("handleKeyDown",i=>i(n,Rn(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||h1(n,t)?t.preventDefault():cn(n,"key")};ze.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)};ze.keypress=(n,e)=>{let t=e;if(of(n,t)||!t.charCode||t.ctrlKey&&!t.altKey||Qe&&t.metaKey)return;if(n.someProp("handleKeyPress",i=>i(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof K)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(t.charCode);!/[\r\n]/.test(i)&&!n.someProp("handleTextInput",o=>o(n,r.$from.pos,r.$to.pos,i))&&n.dispatch(n.state.tr.insertText(i).scrollIntoView()),t.preventDefault()}};function us(n){return{left:n.clientX,top:n.clientY}}function S1(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function ya(n,e,t,r,i){if(r==-1)return!1;let o=n.state.doc.resolve(r);for(let s=o.depth+1;s>0;s--)if(n.someProp(e,l=>s>o.depth?l(n,t,o.nodeAfter,o.before(s),i,!0):l(n,t,o.node(s),o.before(s),i,!1)))return!0;return!1}function wr(n,e,t){n.focused||n.focus();let r=n.state.tr.setSelection(e);t=="pointer"&&r.setMeta("pointer",!0),n.dispatch(r)}function M1(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&j.isSelectable(r)?(wr(n,new j(t),"pointer"),!0):!1}function N1(n,e){if(e==-1)return!1;let t=n.state.selection,r,i;t instanceof j&&(r=t.node);let o=n.state.doc.resolve(e);for(let s=o.depth+1;s>0;s--){let l=s>o.depth?o.nodeAfter:o.node(s);if(j.isSelectable(l)){r&&t.$from.depth>0&&s>=t.$from.depth&&o.before(t.$from.depth+1)==t.$from.pos?i=o.before(t.$from.depth):i=o.before(s);break}}return i!=null?(wr(n,j.create(n.state.doc,i),"pointer"),!0):!1}function E1(n,e,t,r,i){return ya(n,"handleClickOn",e,t,r)||n.someProp("handleClick",o=>o(n,e,r))||(i?N1(n,t):M1(n,t))}function T1(n,e,t,r){return ya(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",i=>i(n,e,r))}function O1(n,e,t,r){return ya(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",i=>i(n,e,r))||A1(n,t,r)}function A1(n,e,t){if(t.button!=0)return!1;let r=n.state.doc;if(e==-1)return r.inlineContent?(wr(n,K.create(r,0,r.content.size),"pointer"),!0):!1;let i=r.resolve(e);for(let o=i.depth+1;o>0;o--){let s=o>i.depth?i.nodeAfter:i.node(o),l=i.before(o);if(s.inlineContent)wr(n,K.create(r,l+1,l+1+s.content.size),"pointer");else if(j.isSelectable(s))wr(n,j.create(r,l),"pointer");else continue;return!0}}function ka(n){return Uo(n)}const rf=Qe?"metaKey":"ctrlKey";Re.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=ka(n),i=Date.now(),o="singleClick";i-n.input.lastClick.time<500&&S1(t,n.input.lastClick)&&!t[rf]&&(n.input.lastClick.type=="singleClick"?o="doubleClick":n.input.lastClick.type=="doubleClick"&&(o="tripleClick")),n.input.lastClick={time:i,x:t.clientX,y:t.clientY,type:o};let s=n.posAtCoords(us(t));s&&(o=="singleClick"?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new v1(n,s,t,!!r)):(o=="doubleClick"?T1:O1)(n,s.pos,s.inside,t)?t.preventDefault():cn(n,"pointer"))};class v1{constructor(e,t,r,i){this.view=e,this.pos=t,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[rf],this.allowDefault=r.shiftKey;let o,s;if(t.inside>-1)o=e.state.doc.nodeAt(t.inside),s=t.inside;else{let u=e.state.doc.resolve(t.pos);o=u.parent,s=u.depth?u.before():0}const l=i?null:r.target,a=l?e.docView.nearestDesc(l,!0):null;this.target=a?a.dom:null;let{selection:c}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||c instanceof j&&c.from<=s&&c.to>s)&&(this.mightDrag={node:o,pos:s,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&mt&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),cn(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>_t(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(us(e))),this.updateAllowDefault(e),this.allowDefault||!t?cn(this.view,"pointer"):E1(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||De&&this.mightDrag&&!this.mightDrag.node.isAtom||Ne&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(wr(this.view,V.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):cn(this.view,"pointer")}move(e){this.updateAllowDefault(e),cn(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}Re.touchstart=n=>{n.input.lastTouch=Date.now(),ka(n),cn(n,"pointer")};Re.touchmove=n=>{n.input.lastTouch=Date.now(),cn(n,"pointer")};Re.contextmenu=n=>ka(n);function of(n,e){return n.composing?!0:De&&Math.abs(e.timeStamp-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}const I1=ct?5e3:-1;ze.compositionstart=ze.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:e}=n,t=e.selection.$from;if(e.selection.empty&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))n.markCursor=n.state.storedMarks||t.marks(),Uo(n,!0),n.markCursor=null;else if(Uo(n),mt&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let s=o<0?i.lastChild:i.childNodes[o-1];if(!s)break;if(s.nodeType==3){n.domSelection().collapse(s,s.nodeValue.length);break}else i=s,o=-1}}n.input.composing=!0}sf(n,I1)};ze.compositionend=(n,e)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=e.timeStamp,n.input.compositionPendingChanges=n.domObserver.pendingRecords().length?n.input.compositionID:0,n.input.compositionPendingChanges&&Promise.resolve().then(()=>n.domObserver.flush()),n.input.compositionID++,sf(n,20))};function sf(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>Uo(n),e))}function lf(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=D1());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function D1(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}function Uo(n,e=!1){if(!(ct&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),lf(n),e||n.docView&&n.docView.dirty){let t=pa(n);return t&&!t.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(t)):n.updateState(n.state),!0}return!1}}function R1(n,e){if(!n.dom.parentNode)return;let t=n.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),n.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),n.focus()},50)}const vi=je&&hn<15||vr&&vk<604;Re.copy=ze.cut=(n,e)=>{let t=e,r=n.state.selection,i=t.type=="cut";if(r.empty)return;let o=vi?null:t.clipboardData,s=r.content(),{dom:l,text:a}=Yd(n,s);o?(t.preventDefault(),o.clearData(),o.setData("text/html",l.innerHTML),o.setData("text/plain",a)):R1(n,l),i&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function z1(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function P1(n,e){if(!n.dom.parentNode)return;let t=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,r=n.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=n.input.shiftKey&&n.input.lastKeyCode!=45;setTimeout(()=>{n.focus(),r.parentNode&&r.parentNode.removeChild(r),t?Ii(n,r.value,null,i,e):Ii(n,r.textContent,r.innerHTML,i,e)},50)}function Ii(n,e,t,r,i){let o=Qd(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",a=>a(n,i,o||A.empty)))return!0;if(!o)return!1;let s=z1(o),l=s?n.state.tr.replaceSelectionWith(s,r):n.state.tr.replaceSelection(o);return n.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function af(n){let e=n.getData("text/plain")||n.getData("Text");if(e)return e;let t=n.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}ze.paste=(n,e)=>{let t=e;if(n.composing&&!ct)return;let r=vi?null:t.clipboardData,i=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&Ii(n,af(r),r.getData("text/html"),i,t)?t.preventDefault():P1(n,t)};class cf{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}}const uf=Qe?"altKey":"ctrlKey";Re.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let i=n.state.selection,o=i.empty?null:n.posAtCoords(us(t)),s;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof j?i.to-1:i.to))){if(r&&r.mightDrag)s=j.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let u=n.docView.nearestDesc(t.target,!0);u&&u.node.type.spec.draggable&&u!=n.docView&&(s=j.create(n.state.doc,u.posBefore))}}let l=(s||n.state.selection).content(),{dom:a,text:c}=Yd(n,l);t.dataTransfer.clearData(),t.dataTransfer.setData(vi?"Text":"text/html",a.innerHTML),t.dataTransfer.effectAllowed="copyMove",vi||t.dataTransfer.setData("text/plain",c),n.dragging=new cf(l,!t[uf],s)};Re.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)};ze.dragover=ze.dragenter=(n,e)=>e.preventDefault();ze.drop=(n,e)=>{let t=e,r=n.dragging;if(n.dragging=null,!t.dataTransfer)return;let i=n.posAtCoords(us(t));if(!i)return;let o=n.state.doc.resolve(i.pos),s=r&&r.slice;s?n.someProp("transformPasted",p=>{s=p(s,n)}):s=Qd(n,af(t.dataTransfer),vi?null:t.dataTransfer.getData("text/html"),!1,o);let l=!!(r&&!t[uf]);if(n.someProp("handleDrop",p=>p(n,t,s||A.empty,l))){t.preventDefault();return}if(!s)return;t.preventDefault();let a=s?pk(n.state.doc,o.pos,s):o.pos;a==null&&(a=o.pos);let c=n.state.tr;if(l){let{node:p}=r;p?p.replace(c):c.deleteSelection()}let u=c.mapping.map(a),h=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,d=c.doc;if(h?c.replaceRangeWith(u,u,s.content.firstChild):c.replaceRange(u,u,s),c.doc.eq(d))return;let f=c.doc.resolve(u);if(h&&j.isSelectable(s.content.firstChild)&&f.nodeAfter&&f.nodeAfter.sameMarkup(s.content.firstChild))c.setSelection(new j(f));else{let p=c.mapping.map(a);c.mapping.maps[c.mapping.maps.length-1].forEach((m,y,g,N)=>p=N),c.setSelection(ma(n,f,c.doc.resolve(p)))}n.focus(),n.dispatch(c.setMeta("uiEvent","drop"))};Re.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&_t(n)},20))};Re.blur=(n,e)=>{let t=e;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),t.relatedTarget&&n.dom.contains(t.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)};Re.beforeinput=(n,e)=>{if(Ne&&ct&&e.inputType=="deleteContentBackward"){n.domObserver.flushSoon();let{domChangeCount:r}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=r||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",o=>o(n,Rn(8,"Backspace")))))return;let{$cursor:i}=n.state.selection;i&&i.pos>0&&n.dispatch(n.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let n in ze)Re[n]=ze[n];function Di(n,e){if(n==e)return!0;for(let t in n)if(n[t]!==e[t])return!1;for(let t in e)if(!(t in n))return!1;return!0}class Jo{constructor(e,t){this.toDOM=e,this.spec=t||Bn,this.side=this.spec.side||0}map(e,t,r,i){let{pos:o,deleted:s}=e.mapResult(t.from+i,this.side<0?-1:1);return s?null:new Ee(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Jo&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Di(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class fn{constructor(e,t){this.attrs=e,this.spec=t||Bn}map(e,t,r,i){let o=e.map(t.from+i,this.spec.inclusiveStart?-1:1)-r,s=e.map(t.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=s?null:new Ee(o,s,this)}valid(e,t){return t.from=e&&(!o||o(l.spec))&&r.push(l.copy(l.from+i,l.to+i))}for(let s=0;se){let l=this.children[s]+1;this.children[s+2].findInner(e-l,t-l,r,i+l,o)}}map(e,t,r){return this==Me||e.maps.length==0?this:this.mapInner(e,t,0,0,r||Bn)}mapInner(e,t,r,i,o){let s;for(let l=0;l{let c=a+r,u;if(u=df(t,l,c)){for(i||(i=this.children.slice());ol&&h.to=e){this.children[l]==e&&(r=this.children[l+2]);break}let o=e+1,s=o+t.content.size;for(let l=0;lo&&a.type instanceof fn){let c=Math.max(o,a.from)-o,u=Math.min(s,a.to)-o;ci.map(e,t,Bn));return sn.from(r)}forChild(e,t){if(t.isLeaf)return ue.empty;let r=[];for(let i=0;it instanceof ue)?e:e.reduce((t,r)=>t.concat(r instanceof ue?r:r.members),[]))}}}function L1(n,e,t,r,i,o,s){let l=n.slice();for(let c=0,u=o;c{let y=m-p-(f-d);for(let g=0;gN+u-h)continue;let M=l[g]+u-h;f>=M?l[g+1]=d<=M?-2:-1:d>=u&&y&&(l[g]+=y,l[g+1]+=y)}h+=y}),u=t.maps[c].map(u,-1)}let a=!1;for(let c=0;c=r.content.size){a=!0;continue}let d=t.map(n[c+1]+o,-1),f=d-i,{index:p,offset:m}=r.content.findIndex(h),y=r.maybeChild(p);if(y&&m==h&&m+y.nodeSize==f){let g=l[c+2].mapInner(t,y,u+1,n[c]+o+1,s);g!=Me?(l[c]=h,l[c+1]=f,l[c+2]=g):(l[c+1]=-2,a=!0)}else a=!0}if(a){let c=F1(l,n,e,t,i,o,s),u=Go(c,r,0,s);e=u.local;for(let h=0;ht&&s.to{let c=df(n,l,a+t);if(c){o=!0;let u=Go(c,l,t+a+1,r);u!=Me&&i.push(a,a+l.nodeSize,u)}});let s=hf(o?ff(n):n,-t).sort(jn);for(let l=0;l0;)e++;n.splice(e,0,t)}function Fs(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=Me&&e.push(r)}),n.cursorWrapper&&e.push(ue.create(n.state.doc,[n.cursorWrapper.deco])),sn.from(e)}const $1={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},B1=je&&hn<=11;class j1{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class V1{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new j1,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),B1&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,$1)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;tthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Au(this.view)){if(this.suppressingSelectionUpdates)return _t(this.view);if(je&&hn<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Jn(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,r;for(let o=e.focusNode;o;o=Ai(o))t.add(o);for(let o=e.anchorNode;o;o=Ai(o))if(t.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&Au(e)&&!this.ignoreSelectionChange(r),o=-1,s=-1,l=!1,a=[];if(e.editable)for(let u=0;u1){let u=a.filter(h=>h.nodeName=="BR");if(u.length==2){let h=u[0],d=u[1];h.parentNode&&h.parentNode.parentNode==d.parentNode?d.remove():h.remove()}}let c=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||i)&&(o>-1&&(e.docView.markDirty(o,s),_1(e)),this.handleDOMChange(o,s,l,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||_t(e),this.currentSelection.set(r))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let u=0;ui;y--){let g=r.childNodes[y-1],N=g.pmViewDesc;if(g.nodeName=="BR"&&!N){o=y;break}if(!N||N.size)break}let h=n.state.doc,d=n.someProp("domParser")||Un.fromSchema(n.state.schema),f=h.resolve(s),p=null,m=d.parse(r,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:i,to:o,preserveWhitespace:f.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:q1,context:f});if(c&&c[0].pos!=null){let y=c[0].pos,g=c[1]&&c[1].pos;g==null&&(g=y),p={anchor:y+s,head:g+s}}return{doc:m,sel:p,from:s,to:l}}function q1(n){let e=n.pmViewDesc;if(e)return e.parseRule();if(n.nodeName=="BR"&&n.parentNode){if(De&&/^(ul|ol)$/i.test(n.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}else if(n.parentNode.lastChild==n||De&&/^(tr|table)$/i.test(n.parentNode.nodeName))return{ignore:!0}}else if(n.nodeName=="IMG"&&n.getAttribute("mark-placeholder"))return{ignore:!0};return null}const K1=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function U1(n,e,t,r,i){let o=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let D=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,w=pa(n,D);if(w&&!n.state.selection.eq(w)){if(Ne&&ct&&n.input.lastKeyCode===13&&Date.now()-100L(n,Rn(13,"Enter"))))return;let z=n.state.tr.setSelection(w);D=="pointer"?z.setMeta("pointer",!0):D=="key"&&z.scrollIntoView(),o&&z.setMeta("composition",o),n.dispatch(z)}return}let s=n.state.doc.resolve(e),l=s.sharedDepth(t);e=s.before(l+1),t=n.state.doc.resolve(t).after(l+1);let a=n.state.selection,c=H1(n,e,t),u=n.state.doc,h=u.slice(c.from,c.to),d,f;n.input.lastKeyCode===8&&Date.now()-100Date.now()-225||ct)&&i.some(D=>D.nodeType==1&&!K1.test(D.nodeName))&&(!p||p.endA>=p.endB)&&n.someProp("handleKeyDown",D=>D(n,Rn(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!p)if(r&&a instanceof K&&!a.empty&&a.$head.sameParent(a.$anchor)&&!n.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))p={start:a.from,endA:a.to,endB:a.to};else{if(c.sel){let D=ju(n,n.state.doc,c.sel);if(D&&!D.eq(n.state.selection)){let w=n.state.tr.setSelection(D);o&&w.setMeta("composition",o),n.dispatch(w)}}return}if(Ne&&n.cursorWrapper&&c.sel&&c.sel.anchor==n.cursorWrapper.deco.from&&c.sel.head==c.sel.anchor){let D=p.endB-p.start;c.sel={anchor:c.sel.anchor+D,head:c.sel.anchor+D}}n.input.domChangeCount++,n.state.selection.fromn.state.selection.from&&p.start<=n.state.selection.from+2&&n.state.selection.from>=c.from?p.start=n.state.selection.from:p.endA=n.state.selection.to-2&&n.state.selection.to<=c.to&&(p.endB+=n.state.selection.to-p.endA,p.endA=n.state.selection.to)),je&&hn<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>c.from&&c.doc.textBetween(p.start-c.from-1,p.start-c.from+1)=="  "&&(p.start--,p.endA--,p.endB--);let m=c.doc.resolveNoCache(p.start-c.from),y=c.doc.resolveNoCache(p.endB-c.from),g=u.resolve(p.start),N=m.sameParent(y)&&m.parent.inlineContent&&g.end()>=p.endA,M;if((vr&&n.input.lastIOSEnter>Date.now()-225&&(!N||i.some(D=>D.nodeName=="DIV"||D.nodeName=="P"))||!N&&m.posD(n,Rn(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>p.start&&G1(u,p.start,p.endA,m,y)&&n.someProp("handleKeyDown",D=>D(n,Rn(8,"Backspace")))){ct&&Ne&&n.domObserver.suppressSelectionUpdates();return}Ne&&ct&&p.endB==p.start&&(n.input.lastAndroidDelete=Date.now()),ct&&!N&&m.start()!=y.start()&&y.parentOffset==0&&m.depth==y.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==p.endA&&(p.endB-=2,y=c.doc.resolveNoCache(p.endB-c.from),setTimeout(()=>{n.someProp("handleKeyDown",function(D){return D(n,Rn(13,"Enter"))})},20));let I=p.start,R=p.endA,b,F,q;if(N){if(m.pos==y.pos)je&&hn<=11&&m.parentOffset==0&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>_t(n),20)),b=n.state.tr.delete(I,R),F=u.resolve(p.start).marksAcross(u.resolve(p.endA));else if(p.endA==p.endB&&(q=J1(m.parent.content.cut(m.parentOffset,y.parentOffset),g.parent.content.cut(g.parentOffset,p.endA-g.start()))))b=n.state.tr,q.type=="add"?b.addMark(I,R,q.mark):b.removeMark(I,R,q.mark);else if(m.parent.child(m.index()).isText&&m.index()==y.index()-(y.textOffset?0:1)){let D=m.parent.textBetween(m.parentOffset,y.parentOffset);if(n.someProp("handleTextInput",w=>w(n,I,R,D)))return;b=n.state.tr.insertText(D,I,R)}}if(b||(b=n.state.tr.replace(I,R,c.doc.slice(p.start-c.from,p.endB-c.from))),c.sel){let D=ju(n,b.doc,c.sel);D&&!(Ne&&ct&&n.composing&&D.empty&&(p.start!=p.endB||n.input.lastAndroidDeletee.content.size?null:ma(n,e.resolve(t.anchor),e.resolve(t.head))}function J1(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,i=t,o=r,s,l,a;for(let u=0;uu.mark(l.addToSet(u.marks));else if(i.length==0&&o.length==1)l=o[0],s="remove",a=u=>u.mark(l.removeFromSet(u.marks));else return null;let c=[];for(let u=0;ut||$s(s,!0,!1)0&&(e||n.indexAfter(r)==n.node(r).childCount);)r--,i++,e=!1;if(t){let o=n.node(r).maybeChild(n.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function Y1(n,e,t,r,i){let o=n.findDiffStart(e,t);if(o==null)return null;let{a:s,b:l}=n.findDiffEnd(e,t+n.size,t+e.size);if(i=="end"){let a=Math.max(0,o-Math.min(s,l));r-=s+a-o}if(s=s?o-r:0;o-=a,o&&o=l?o-r:0;o-=a,o&&o=56320&&e<=57343&&t>=55296&&t<=56319}class Q1{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new k1,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Ku),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Hu(this),Wu(this),this.nodeViews=qu(this),this.docView=Su(this.state.doc,_u(this),Fs(this),this.dom,this),this.domObserver=new V1(this,(r,i,o,s)=>U1(this,r,i,o,s)),this.domObserver.start(),x1(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&vl(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Ku),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let r in this._props)t[r]=this._props[r];t.state=this.state;for(let r in e)t[r]=e[r];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var r;let i=this.state,o=!1,s=!1;e.storedMarks&&this.composing&&(lf(this),s=!0),this.state=e;let l=i.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let f=qu(this);X1(f,this.nodeViews)&&(this.nodeViews=f,o=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&vl(this),this.editable=Hu(this),Wu(this);let a=Fs(this),c=_u(this),u=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",h=o||!this.docView.matchesNode(e.doc,c,a);(h||!e.selection.eq(i.selection))&&(s=!0);let d=u=="preserve"&&s&&this.dom.style.overflowAnchor==null&&Rk(this);if(s){this.domObserver.stop();let f=h&&(je||Ne)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&Z1(i.selection,e.selection);if(h){let p=Ne?this.trackWrites=this.domSelectionRange().focusNode:null;(o||!this.docView.update(e.doc,c,a,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=Su(e.doc,c,a,this.dom,this)),p&&!this.trackWrites&&(f=!0)}f||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&i1(this))?_t(this,f):(Ud(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():d&&zk(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof j){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&yu(this,t.getBoundingClientRect(),e)}else yu(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new cf(e.slice,e.move,i<0?void 0:j.create(this.state.doc,i))}someProp(e,t){let r=this._props&&this._props[e],i;if(r!=null&&(i=t?t(r):r))return i;for(let s=0;st.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return jk(this,e)}coordsAtPos(e,t=1){return Bd(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,r=-1){let i=this.docView.posFromDOM(e,t,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,t){return qk(this,t||this.state,e)}pasteHTML(e,t){return Ii(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Ii(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(b1(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Fs(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(e){return C1(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return De&&this.root.nodeType===11&&Ek(this.dom.ownerDocument)==this.dom?W1(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function _u(n){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(n.editable),n.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(n.state)),t)for(let r in t)r=="class"?e.class+=" "+t[r]:r=="style"?e.style=(e.style?e.style+";":"")+t[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(t[r]))}),e.translate||(e.translate="no"),[Ee.node(0,n.state.doc.content.size,e)]}function Wu(n){if(n.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),n.cursorWrapper={dom:e,deco:Ee.widget(n.state.selection.head,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function Hu(n){return!n.someProp("editable",e=>e(n.state)===!1)}function Z1(n,e){let t=Math.min(n.$anchor.sharedDepth(n.head),e.$anchor.sharedDepth(e.head));return n.$anchor.start(t)!=e.$anchor.start(t)}function qu(n){let e=Object.create(null);function t(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return n.someProp("nodeViews",t),n.someProp("markViews",t),e}function X1(n,e){let t=0,r=0;for(let i in n){if(n[i]!=e[i])return!0;t++}for(let i in e)r++;return t!=r}function Ku(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}const pf=v.createContext({contentRef:()=>{},view:null,getPos:()=>0,setAttrs:()=>{},node:null,selected:!1,decorations:[],innerDecorations:null}),Xn=()=>v.useContext(pf),mf=v.createContext(n=>{throw new Error("out of scope")}),ex=()=>v.useContext(mf);let tx=class extends Ty{constructor(){super(...arguments),this.key=aa(),this.context={contentRef:e=>{e&&this.contentDOM&&e.firstChild!==this.contentDOM&&e.appendChild(this.contentDOM)},view:this.view,getPos:this.getPos,setAttrs:this.setAttrs,node:this.node,selected:this.selected,decorations:this.decorations,innerDecorations:this.innerDecorations},this.updateContext=()=>{Object.assign(this.context,{node:this.node,selected:this.selected,decorations:this.decorations,innerDecorations:this.innerDecorations})},this.render=()=>{const e=this.component;return ns.createPortal(ht.createElement(pf.Provider,{value:this.context},ht.createElement(e,null)),this.dom,this.key)}}};const nx=v.createContext({view:null}),rx=v.createContext(n=>{throw new Error("out of scope")}),ix=(n,e)=>v.useCallback(t=>(r,i,o,s,l)=>{const a=new tx({node:r,view:i,getPos:o,decorations:s,innerDecorations:l,options:{...t,onUpdate(){var c;(c=t.onUpdate)==null||c.call(t),n(a)},selectNode(){var c;(c=t.selectNode)==null||c.call(t),n(a)},deselectNode(){var c;(c=t.deselectNode)==null||c.call(t),n(a)},destroy(){var c;(c=t.destroy)==null||c.call(t),e(a)}}});return n(a,!1),a},[e,n]);let ox=class extends Oy{constructor(){super(...arguments),this.key=aa(),this.context={view:this.view,prevState:this.prevState},this.updateContext=()=>{Object.assign(this.context,{view:this.view,prevState:this.prevState})},this.render=()=>{const e=this.component;return ns.createPortal(ht.createElement(nx.Provider,{value:this.context},ht.createElement(e,null)),this.root,this.key)}}};const sx=(n,e)=>v.useCallback(t=>r=>{const i=new ox({view:r,options:{...t,update:(o,s)=>{var l;(l=t.update)==null||l.call(t,o,s),n(i)},destroy:()=>{var o;(o=t.destroy)==null||o.call(t),e(i)}}});return n(i,!1),i},[e,n]),lx=()=>{const[n,e]=v.useState({}),t=v.useRef(!1);v.useEffect(()=>(requestAnimationFrame(()=>{t.current=!0}),()=>{t.current=!1}),[]);const r=v.useCallback(s=>{t.current?ns.flushSync(s):s()},[]),i=v.useCallback((s,l=!0)=>{r(()=>{l&&s.updateContext(),e(a=>({...a,[s.key]:s.render()}))})},[r]),o=v.useCallback(s=>{r(()=>{e(l=>{const a={...l};return delete a[s.key],a})})},[r]);return{portals:n,renderReactRenderer:i,removeReactRenderer:o}},ax=v.createContext({view:null,getPos:()=>{}}),cx=v.createContext(n=>{throw new Error("out of scope")});let ux=class extends Ay{constructor(){super(...arguments),this.key=aa(),this.context={view:this.view,getPos:this.getPos,spec:this.spec},this.updateContext=()=>{Object.assign(this.context,{view:this.view,getPos:this.getPos,spec:this.spec})},this.render=()=>{const e=this.component;return ns.createPortal(ht.createElement(ax.Provider,{value:this.context},ht.createElement(e,null)),this.dom,this.key)}}};const hx=(n,e)=>v.useCallback(t=>(r,i={})=>{const o=new ux({pos:r,options:t}),s={...i,destroy:l=>{var a;(a=i.destroy)==null||a.call(i,l),e(o)}};return o.spec=s,Ee.widget(r,(l,a)=>(o.bind(l,a),n(o),o.dom),s)},[e,n]),dx=({children:n})=>{const{renderReactRenderer:e,removeReactRenderer:t,portals:r}=lx(),i=ix(e,t),o=sx(e,t),s=hx(e,t),l=v.useMemo(()=>Object.values(r),[r]);return ht.createElement(mf.Provider,{value:i},ht.createElement(rx.Provider,{value:o},ht.createElement(cx.Provider,{value:s},n,l)))};var _e=(n=>(n.docTypeError="docTypeError",n.contextNotFound="contextNotFound",n.timerNotFound="timerNotFound",n.ctxCallOutOfScope="ctxCallOutOfScope",n.createNodeInParserFail="createNodeInParserFail",n.stackOverFlow="stackOverFlow",n.parserMatchError="parserMatchError",n.serializerMatchError="serializerMatchError",n.getAtomFromSchemaFail="getAtomFromSchemaFail",n.expectDomTypeError="expectDomTypeError",n.callCommandBeforeEditorView="callCommandBeforeEditorView",n.missingRootElement="missingRootElement",n.missingNodeInSchema="missingNodeInSchema",n.missingMarkInSchema="missingMarkInSchema",n.ctxNotBind="ctxNotBind",n.missingYjsDoc="missingYjsDoc",n))(_e||{});let Ge=class extends Error{constructor(e,t){super(t),this.name="MilkdownError",this.code=e}};const fx=(n,e)=>typeof e=="function"?"[Function]":e,Ir=n=>JSON.stringify(n,fx);function px(n){return new Ge(_e.docTypeError,`Doc type error, unsupported type: ${Ir(n)}`)}function mx(n){return new Ge(_e.contextNotFound,`Context "${n}" not found, do you forget to inject it?`)}function gx(n){return new Ge(_e.timerNotFound,`Timer "${n}" not found, do you forget to record it?`)}function wa(){return new Ge(_e.ctxCallOutOfScope,"Should not call a context out of the plugin.")}function yx(...n){const e=n.reduce((t,r)=>{if(!r)return t;const i=o=>Array.isArray(o)?o.map(s=>i(s)).join(", "):o.toJSON?Ir(o.toJSON()):o.spec?Ir(o.spec):o.toString();return`${t}, ${i(r)}`},"Create prosemirror node from remark failed in parser");return new Ge(_e.createNodeInParserFail,e)}function gf(){return new Ge(_e.stackOverFlow,"Stack over flow, cannot pop on an empty stack.")}function kx(n){return new Ge(_e.parserMatchError,`Cannot match target parser for node: ${Ir(n)}.`)}function xx(n){return new Ge(_e.serializerMatchError,`Cannot match target serializer for node: ${Ir(n)}.`)}function bx(n,e){return new Ge(_e.getAtomFromSchemaFail,`Cannot get ${n}: ${e} from schema.`)}function yt(n){return new Ge(_e.expectDomTypeError,`Expect to be a dom, but get: ${Ir(n)}.`)}function wx(){return new Ge(_e.callCommandBeforeEditorView,"You're trying to call a command before editor view initialized, make sure to get commandManager from ctx after editor view has been initialized")}function Cx(n){return new Ge(_e.missingNodeInSchema,`Missing node in schema, milkdown cannot find "${n}" in schema.`)}function Sx(n){return new Ge(_e.missingMarkInSchema,`Missing mark in schema, milkdown cannot find "${n}" in schema.`)}var yf=(n,e,t)=>{if(!e.has(n))throw TypeError("Cannot "+t)},P=(n,e,t)=>(yf(n,e,"read from private field"),t?t.call(n):e.get(n)),he=(n,e,t)=>{if(e.has(n))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(n):e.set(n,t)},X=(n,e,t,r)=>(yf(n,e,"write to private field"),r?r.call(n,t):e.set(n,t),t);let kf=class{constructor(){this.sliceMap=new Map,this.get=e=>{const t=typeof e=="string"?[...this.sliceMap.values()].find(r=>r.type.name===e):this.sliceMap.get(e.id);if(!t){const r=typeof e=="string"?e:e.name;throw mx(r)}return t},this.remove=e=>{const t=typeof e=="string"?[...this.sliceMap.values()].find(r=>r.type.name===e):this.sliceMap.get(e.id);t&&this.sliceMap.delete(t.type.id)},this.has=e=>typeof e=="string"?[...this.sliceMap.values()].some(t=>t.type.name===e):this.sliceMap.has(e.id)}};var xt,Yt,Qr;let Mx=class{constructor(e,t,r){he(this,xt,void 0),he(this,Yt,void 0),he(this,Qr,void 0),X(this,xt,[]),X(this,Qr,()=>{P(this,xt).forEach(i=>i(P(this,Yt)))}),this.set=i=>{X(this,Yt,i),P(this,Qr).call(this)},this.get=()=>P(this,Yt),this.update=i=>{X(this,Yt,i(P(this,Yt))),P(this,Qr).call(this)},this.type=r,X(this,Yt,t),e.set(r.id,this)}on(e){return P(this,xt).push(e),()=>{X(this,xt,P(this,xt).filter(t=>t!==e))}}once(e){const t=this.on(r=>{e(r),t()});return t}off(e){X(this,xt,P(this,xt).filter(t=>t!==e))}offAll(){X(this,xt,[])}};xt=new WeakMap,Yt=new WeakMap,Qr=new WeakMap;let Nx=class{constructor(e,t){this.id=Symbol(`Context-${t}`),this.name=t,this._defaultValue=e,this._typeInfo=()=>{throw wa()}}create(e,t=this._defaultValue){return new Mx(e,t,this)}};const ee=(n,e)=>new Nx(n,e);var ao,co,uo,cr,Zr,An,Xr,ei,ti;let Ex=class{constructor(e,t,r){he(this,ao,void 0),he(this,co,void 0),he(this,uo,void 0),he(this,cr,void 0),he(this,Zr,void 0),he(this,An,void 0),he(this,Xr,void 0),he(this,ei,void 0),he(this,ti,void 0),X(this,cr,new Set),X(this,Zr,new Set),X(this,An,new Map),X(this,Xr,new Map),this.read=()=>({metadata:P(this,ao),injectedSlices:[...P(this,cr)].map(i=>({name:typeof i=="string"?i:i.name,value:P(this,ei).call(this,i)})),consumedSlices:[...P(this,Zr)].map(i=>({name:typeof i=="string"?i:i.name,value:P(this,ei).call(this,i)})),recordedTimers:[...P(this,An)].map(([i,{duration:o}])=>({name:i.name,duration:o,status:P(this,ti).call(this,i)})),waitTimers:[...P(this,Xr)].map(([i,{duration:o}])=>({name:i.name,duration:o,status:P(this,ti).call(this,i)}))}),this.onRecord=i=>{P(this,An).set(i,{start:Date.now(),duration:0})},this.onClear=i=>{P(this,An).delete(i)},this.onDone=i=>{const o=P(this,An).get(i);o&&(o.duration=Date.now()-o.start)},this.onWait=(i,o)=>{const s=Date.now();o.finally(()=>{P(this,Xr).set(i,{duration:Date.now()-s})})},this.onInject=i=>{P(this,cr).add(i)},this.onRemove=i=>{P(this,cr).delete(i)},this.onUse=i=>{P(this,Zr).add(i)},X(this,ei,i=>P(this,co).get(i).get()),X(this,ti,i=>P(this,uo).get(i).status),X(this,co,e),X(this,uo,t),X(this,ao,r)}};ao=new WeakMap,co=new WeakMap,uo=new WeakMap,cr=new WeakMap,Zr=new WeakMap,An=new WeakMap,Xr=new WeakMap,ei=new WeakMap,ti=new WeakMap;var Qt,Zt,ho,at;const Tx=class xf{constructor(e,t,r){he(this,Qt,void 0),he(this,Zt,void 0),he(this,ho,void 0),he(this,at,void 0),this.produce=i=>i&&Object.keys(i).length?new xf(P(this,Qt),P(this,Zt),{...i}):this,this.inject=(i,o)=>{var s;const l=i.create(P(this,Qt).sliceMap);return o!=null&&l.set(o),(s=P(this,at))==null||s.onInject(i),this},this.remove=i=>{var o;return P(this,Qt).remove(i),(o=P(this,at))==null||o.onRemove(i),this},this.record=i=>{var o;return i.create(P(this,Zt).store),(o=P(this,at))==null||o.onRecord(i),this},this.clearTimer=i=>{var o;return P(this,Zt).remove(i),(o=P(this,at))==null||o.onClear(i),this},this.isInjected=i=>P(this,Qt).has(i),this.isRecorded=i=>P(this,Zt).has(i),this.use=i=>{var o;return(o=P(this,at))==null||o.onUse(i),P(this,Qt).get(i)},this.get=i=>this.use(i).get(),this.set=(i,o)=>this.use(i).set(o),this.update=(i,o)=>this.use(i).update(o),this.timer=i=>P(this,Zt).get(i),this.done=i=>{var o;this.timer(i).done(),(o=P(this,at))==null||o.onDone(i)},this.wait=i=>{var o;const s=this.timer(i).start();return(o=P(this,at))==null||o.onWait(i,s),s},this.waitTimers=async i=>{await Promise.all(this.get(i).map(o=>this.wait(o)))},X(this,Qt,e),X(this,Zt,t),X(this,ho,r),r&&X(this,at,new Ex(e,t,r))}get meta(){return P(this,ho)}get inspector(){return P(this,at)}};Qt=new WeakMap,Zt=new WeakMap,ho=new WeakMap,at=new WeakMap;let Ox=Tx,Ax=class{constructor(){this.store=new Map,this.get=e=>{const t=this.store.get(e.id);if(!t)throw gx(e.name);return t},this.remove=e=>{this.store.delete(e.id)},this.has=e=>this.store.has(e.id)}};var ur,vn,ni,Xt,ri,fo;let vx=class{constructor(e,t){he(this,ur,void 0),he(this,vn,void 0),he(this,ni,void 0),he(this,Xt,void 0),he(this,ri,void 0),he(this,fo,void 0),X(this,ur,null),X(this,vn,null),X(this,Xt,"pending"),this.start=()=>(P(this,ur)??X(this,ur,new Promise((r,i)=>{X(this,vn,o=>{o instanceof CustomEvent&&o.detail.id===P(this,ni)&&(X(this,Xt,"resolved"),P(this,ri).call(this),o.stopImmediatePropagation(),r())}),P(this,fo).call(this,()=>{P(this,Xt)==="pending"&&X(this,Xt,"rejected"),P(this,ri).call(this),i(new Error(`Timing ${this.type.name} timeout.`))}),X(this,Xt,"pending"),addEventListener(this.type.name,P(this,vn))})),P(this,ur)),this.done=()=>{const r=new CustomEvent(this.type.name,{detail:{id:P(this,ni)}});dispatchEvent(r)},X(this,ri,()=>{P(this,vn)&&removeEventListener(this.type.name,P(this,vn))}),X(this,fo,r=>{setTimeout(()=>{r()},this.type.timeout)}),X(this,ni,Symbol(t.name)),this.type=t,e.set(t.id,this)}get status(){return P(this,Xt)}};ur=new WeakMap,vn=new WeakMap,ni=new WeakMap,Xt=new WeakMap,ri=new WeakMap,fo=new WeakMap;let Ix=class{constructor(e,t=3e3){this.create=r=>new vx(r,this),this.id=Symbol(`Timer-${e}`),this.name=e,this.timeout=t}};const xn=(n,e=3e3)=>new Ix(n,e),Dx={};function Ca(n,e){const t=e||Dx,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return bf(n,r,i)}function bf(n,e,t){if(Rx(n)){if("value"in n)return n.type==="html"&&!t?"":n.value;if(e&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Uu(n.children,e,t)}return Array.isArray(n)?Uu(n,e,t):""}function Uu(n,e,t){const r=[];let i=-1;for(;++ii?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)s=Array.from(r),s.unshift(e,t),n.splice(...s);else for(t&&n.splice(e,t);o0?(Je(n,n.length,0,e),n):e}const Gu={}.hasOwnProperty;function wf(n){const e={};let t=-1;for(;++t13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function ft(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Lx=bn(/\p{P}/u),Ie=bn(/[A-Za-z]/),$e=bn(/[\dA-Za-z]/),Fx=bn(/[#-'*+\--9=?A-Z^-~]/);function Yo(n){return n!==null&&(n<32||n===127)}const Il=bn(/\d/),$x=bn(/[\dA-Fa-f]/),Sf=bn(/[!-/:-@[-`{-~]/);function B(n){return n!==null&&n<-2}function oe(n){return n!==null&&(n<0||n===32)}function U(n){return n===-2||n===-1||n===32}function hs(n){return Sf(n)||Lx(n)}const Yn=bn(/\s/);function bn(n){return e;function e(t){return t!==null&&t>-1&&n.test(String.fromCharCode(t))}}function Q(n,e,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return s;function s(a){return U(a)?(n.enter(t),l(a)):e(a)}function l(a){return U(a)&&o++s))return;const F=e.events.length;let q=F,D,w;for(;q--;)if(e.events[q][0]==="exit"&&e.events[q][1].type==="chunkFlow"){if(D){w=e.events[q][1].end;break}D=!0}for(g(r),b=F;bM;){const R=t[I];e.containerState=R[1],R[0].exit.call(e,n)}t.length=M}function N(){i.write([null]),o=void 0,i=void 0,e.containerState._closeFlow=void 0}}function Wx(n,e,t){return Q(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Qo(n){if(n===null||oe(n)||Yn(n))return 1;if(hs(n))return 2}function ds(n,e,t){const r=[];let i=-1;for(;++i1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const h=Object.assign({},n[r][1].end),d=Object.assign({},n[t][1].start);Qu(h,-a),Qu(d,a),s={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},n[r][1].end)},l={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:d},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},n[r][1].end),end:Object.assign({},n[t][1].start)},i={type:a>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},l.end)},n[r][1].end=Object.assign({},s.start),n[t][1].start=Object.assign({},l.end),c=[],n[r][1].end.offset-n[r][1].start.offset&&(c=Ze(c,[["enter",n[r][1],e],["exit",n[r][1],e]])),c=Ze(c,[["enter",i,e],["enter",s,e],["exit",s,e],["enter",o,e]]),c=Ze(c,ds(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),c=Ze(c,[["exit",o,e],["enter",l,e],["exit",l,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(u=2,c=Ze(c,[["enter",n[t][1],e],["exit",n[t][1],e]])):u=0,Je(n,r-1,t-r+3,c),t=r+c.length-u-2;break}}for(t=-1;++t0&&U(b)?Q(n,N,"linePrefix",o+1)(b):N(b)}function N(b){return b===null||B(b)?n.check(Zu,m,I)(b):(n.enter("codeFlowValue"),M(b))}function M(b){return b===null||B(b)?(n.exit("codeFlowValue"),N(b)):(n.consume(b),M)}function I(b){return n.exit("codeFenced"),e(b)}function R(b,F,q){let D=0;return w;function w(Z){return b.enter("lineEnding"),b.consume(Z),b.exit("lineEnding"),z}function z(Z){return b.enter("codeFencedFence"),U(Z)?Q(b,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Z):L(Z)}function L(Z){return Z===l?(b.enter("codeFencedFenceSequence"),ie(Z)):q(Z)}function ie(Z){return Z===l?(D++,b.consume(Z),ie):D>=s?(b.exit("codeFencedFenceSequence"),U(Z)?Q(b,ae,"whitespace")(Z):ae(Z)):q(Z)}function ae(Z){return Z===null||B(Z)?(b.exit("codeFencedFence"),F(Z)):q(Z)}}}function t0(n,e,t){const r=this;return i;function i(s){return s===null?t(s):(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?t(s):e(s)}}const Bs={name:"codeIndented",tokenize:r0},n0={tokenize:i0,partial:!0};function r0(n,e,t){const r=this;return i;function i(c){return n.enter("codeIndented"),Q(n,o,"linePrefix",5)(c)}function o(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):t(c)}function s(c){return c===null?a(c):B(c)?n.attempt(n0,s,a)(c):(n.enter("codeFlowValue"),l(c))}function l(c){return c===null||B(c)?(n.exit("codeFlowValue"),s(c)):(n.consume(c),l)}function a(c){return n.exit("codeIndented"),e(c)}}function i0(n,e,t){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?t(s):B(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),i):Q(n,o,"linePrefix",5)(s)}function o(s){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?e(s):B(s)?i(s):t(s)}}const o0={name:"codeText",tokenize:a0,resolve:s0,previous:l0};function s0(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r=4?e(s):n.interrupt(r.parser.constructs.flow,t,e)(s)}}function Of(n,e,t,r,i,o,s,l,a){const c=a||Number.POSITIVE_INFINITY;let u=0;return h;function h(g){return g===60?(n.enter(r),n.enter(i),n.enter(o),n.consume(g),n.exit(o),d):g===null||g===32||g===41||Yo(g)?t(g):(n.enter(r),n.enter(s),n.enter(l),n.enter("chunkString",{contentType:"string"}),m(g))}function d(g){return g===62?(n.enter(o),n.consume(g),n.exit(o),n.exit(i),n.exit(r),e):(n.enter(l),n.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===62?(n.exit("chunkString"),n.exit(l),d(g)):g===null||g===60||B(g)?t(g):(n.consume(g),g===92?p:f)}function p(g){return g===60||g===62||g===92?(n.consume(g),f):f(g)}function m(g){return!u&&(g===null||g===41||oe(g))?(n.exit("chunkString"),n.exit(l),n.exit(s),n.exit(r),e(g)):u999||f===null||f===91||f===93&&!a||f===94&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?t(f):f===93?(n.exit(o),n.enter(i),n.consume(f),n.exit(i),n.exit(r),e):B(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),u):(n.enter("chunkString",{contentType:"string"}),h(f))}function h(f){return f===null||f===91||f===93||B(f)||l++>999?(n.exit("chunkString"),u(f)):(n.consume(f),a||(a=!U(f)),f===92?d:h)}function d(f){return f===91||f===92||f===93?(n.consume(f),l++,h):h(f)}}function vf(n,e,t,r,i,o){let s;return l;function l(d){return d===34||d===39||d===40?(n.enter(r),n.enter(i),n.consume(d),n.exit(i),s=d===40?41:d,a):t(d)}function a(d){return d===s?(n.enter(i),n.consume(d),n.exit(i),n.exit(r),e):(n.enter(o),c(d))}function c(d){return d===s?(n.exit(o),a(s)):d===null?t(d):B(d)?(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),Q(n,c,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===s||d===null||B(d)?(n.exit("chunkString"),c(d)):(n.consume(d),d===92?h:u)}function h(d){return d===s||d===92?(n.consume(d),u):u(d)}}function wi(n,e){let t;return r;function r(i){return B(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):U(i)?Q(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}const m0={name:"definition",tokenize:y0},g0={tokenize:k0,partial:!0};function y0(n,e,t){const r=this;let i;return o;function o(f){return n.enter("definition"),s(f)}function s(f){return Af.call(r,n,l,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function l(f){return i=ft(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(n.enter("definitionMarker"),n.consume(f),n.exit("definitionMarker"),a):t(f)}function a(f){return oe(f)?wi(n,c)(f):c(f)}function c(f){return Of(n,u,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function u(f){return n.attempt(g0,h,h)(f)}function h(f){return U(f)?Q(n,d,"whitespace")(f):d(f)}function d(f){return f===null||B(f)?(n.exit("definition"),r.parser.defined.push(i),e(f)):t(f)}}function k0(n,e,t){return r;function r(l){return oe(l)?wi(n,i)(l):t(l)}function i(l){return vf(n,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function o(l){return U(l)?Q(n,s,"whitespace")(l):s(l)}function s(l){return l===null||B(l)?e(l):t(l)}}const x0={name:"hardBreakEscape",tokenize:b0};function b0(n,e,t){return r;function r(o){return n.enter("hardBreakEscape"),n.consume(o),i}function i(o){return B(o)?(n.exit("hardBreakEscape"),e(o)):t(o)}}const w0={name:"headingAtx",tokenize:S0,resolve:C0};function C0(n,e){let t=n.length-2,r=3,i,o;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},o={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},Je(n,r,t-r+1,[["enter",i,e],["enter",o,e],["exit",o,e],["exit",i,e]])),n}function S0(n,e,t){let r=0;return i;function i(u){return n.enter("atxHeading"),o(u)}function o(u){return n.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&r++<6?(n.consume(u),s):u===null||oe(u)?(n.exit("atxHeadingSequence"),l(u)):t(u)}function l(u){return u===35?(n.enter("atxHeadingSequence"),a(u)):u===null||B(u)?(n.exit("atxHeading"),e(u)):U(u)?Q(n,l,"whitespace")(u):(n.enter("atxHeadingText"),c(u))}function a(u){return u===35?(n.consume(u),a):(n.exit("atxHeadingSequence"),l(u))}function c(u){return u===null||u===35||oe(u)?(n.exit("atxHeadingText"),l(u)):(n.consume(u),c)}}const M0=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eh=["pre","script","style","textarea"],N0={name:"htmlFlow",tokenize:A0,resolveTo:O0,concrete:!0},E0={tokenize:I0,partial:!0},T0={tokenize:v0,partial:!0};function O0(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function A0(n,e,t){const r=this;let i,o,s,l,a;return c;function c(x){return u(x)}function u(x){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(x),h}function h(x){return x===33?(n.consume(x),d):x===47?(n.consume(x),o=!0,m):x===63?(n.consume(x),i=3,r.interrupt?e:k):Ie(x)?(n.consume(x),s=String.fromCharCode(x),y):t(x)}function d(x){return x===45?(n.consume(x),i=2,f):x===91?(n.consume(x),i=5,l=0,p):Ie(x)?(n.consume(x),i=4,r.interrupt?e:k):t(x)}function f(x){return x===45?(n.consume(x),r.interrupt?e:k):t(x)}function p(x){const st="CDATA[";return x===st.charCodeAt(l++)?(n.consume(x),l===st.length?r.interrupt?e:L:p):t(x)}function m(x){return Ie(x)?(n.consume(x),s=String.fromCharCode(x),y):t(x)}function y(x){if(x===null||x===47||x===62||oe(x)){const st=x===47,Mn=s.toLowerCase();return!st&&!o&&eh.includes(Mn)?(i=1,r.interrupt?e(x):L(x)):M0.includes(s.toLowerCase())?(i=6,st?(n.consume(x),g):r.interrupt?e(x):L(x)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(x):o?N(x):M(x))}return x===45||$e(x)?(n.consume(x),s+=String.fromCharCode(x),y):t(x)}function g(x){return x===62?(n.consume(x),r.interrupt?e:L):t(x)}function N(x){return U(x)?(n.consume(x),N):w(x)}function M(x){return x===47?(n.consume(x),w):x===58||x===95||Ie(x)?(n.consume(x),I):U(x)?(n.consume(x),M):w(x)}function I(x){return x===45||x===46||x===58||x===95||$e(x)?(n.consume(x),I):R(x)}function R(x){return x===61?(n.consume(x),b):U(x)?(n.consume(x),R):M(x)}function b(x){return x===null||x===60||x===61||x===62||x===96?t(x):x===34||x===39?(n.consume(x),a=x,F):U(x)?(n.consume(x),b):q(x)}function F(x){return x===a?(n.consume(x),a=null,D):x===null||B(x)?t(x):(n.consume(x),F)}function q(x){return x===null||x===34||x===39||x===47||x===60||x===61||x===62||x===96||oe(x)?R(x):(n.consume(x),q)}function D(x){return x===47||x===62||U(x)?M(x):t(x)}function w(x){return x===62?(n.consume(x),z):t(x)}function z(x){return x===null||B(x)?L(x):U(x)?(n.consume(x),z):t(x)}function L(x){return x===45&&i===2?(n.consume(x),Se):x===60&&i===1?(n.consume(x),ye):x===62&&i===4?(n.consume(x),ot):x===63&&i===3?(n.consume(x),k):x===93&&i===5?(n.consume(x),Dt):B(x)&&(i===6||i===7)?(n.exit("htmlFlowData"),n.check(E0,Rt,ie)(x)):x===null||B(x)?(n.exit("htmlFlowData"),ie(x)):(n.consume(x),L)}function ie(x){return n.check(T0,ae,Rt)(x)}function ae(x){return n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),Z}function Z(x){return x===null||B(x)?ie(x):(n.enter("htmlFlowData"),L(x))}function Se(x){return x===45?(n.consume(x),k):L(x)}function ye(x){return x===47?(n.consume(x),s="",it):L(x)}function it(x){if(x===62){const st=s.toLowerCase();return eh.includes(st)?(n.consume(x),ot):L(x)}return Ie(x)&&s.length<8?(n.consume(x),s+=String.fromCharCode(x),it):L(x)}function Dt(x){return x===93?(n.consume(x),k):L(x)}function k(x){return x===62?(n.consume(x),ot):x===45&&i===2?(n.consume(x),k):L(x)}function ot(x){return x===null||B(x)?(n.exit("htmlFlowData"),Rt(x)):(n.consume(x),ot)}function Rt(x){return n.exit("htmlFlow"),e(x)}}function v0(n,e,t){const r=this;return i;function i(s){return B(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),o):t(s)}function o(s){return r.parser.lazy[r.now().line]?t(s):e(s)}}function I0(n,e,t){return r;function r(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),n.attempt(Bi,e,t)}}const D0={name:"htmlText",tokenize:R0};function R0(n,e,t){const r=this;let i,o,s;return l;function l(k){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(k),a}function a(k){return k===33?(n.consume(k),c):k===47?(n.consume(k),R):k===63?(n.consume(k),M):Ie(k)?(n.consume(k),q):t(k)}function c(k){return k===45?(n.consume(k),u):k===91?(n.consume(k),o=0,p):Ie(k)?(n.consume(k),N):t(k)}function u(k){return k===45?(n.consume(k),f):t(k)}function h(k){return k===null?t(k):k===45?(n.consume(k),d):B(k)?(s=h,ye(k)):(n.consume(k),h)}function d(k){return k===45?(n.consume(k),f):h(k)}function f(k){return k===62?Se(k):k===45?d(k):h(k)}function p(k){const ot="CDATA[";return k===ot.charCodeAt(o++)?(n.consume(k),o===ot.length?m:p):t(k)}function m(k){return k===null?t(k):k===93?(n.consume(k),y):B(k)?(s=m,ye(k)):(n.consume(k),m)}function y(k){return k===93?(n.consume(k),g):m(k)}function g(k){return k===62?Se(k):k===93?(n.consume(k),g):m(k)}function N(k){return k===null||k===62?Se(k):B(k)?(s=N,ye(k)):(n.consume(k),N)}function M(k){return k===null?t(k):k===63?(n.consume(k),I):B(k)?(s=M,ye(k)):(n.consume(k),M)}function I(k){return k===62?Se(k):M(k)}function R(k){return Ie(k)?(n.consume(k),b):t(k)}function b(k){return k===45||$e(k)?(n.consume(k),b):F(k)}function F(k){return B(k)?(s=F,ye(k)):U(k)?(n.consume(k),F):Se(k)}function q(k){return k===45||$e(k)?(n.consume(k),q):k===47||k===62||oe(k)?D(k):t(k)}function D(k){return k===47?(n.consume(k),Se):k===58||k===95||Ie(k)?(n.consume(k),w):B(k)?(s=D,ye(k)):U(k)?(n.consume(k),D):Se(k)}function w(k){return k===45||k===46||k===58||k===95||$e(k)?(n.consume(k),w):z(k)}function z(k){return k===61?(n.consume(k),L):B(k)?(s=z,ye(k)):U(k)?(n.consume(k),z):D(k)}function L(k){return k===null||k===60||k===61||k===62||k===96?t(k):k===34||k===39?(n.consume(k),i=k,ie):B(k)?(s=L,ye(k)):U(k)?(n.consume(k),L):(n.consume(k),ae)}function ie(k){return k===i?(n.consume(k),i=void 0,Z):k===null?t(k):B(k)?(s=ie,ye(k)):(n.consume(k),ie)}function ae(k){return k===null||k===34||k===39||k===60||k===61||k===96?t(k):k===47||k===62||oe(k)?D(k):(n.consume(k),ae)}function Z(k){return k===47||k===62||oe(k)?D(k):t(k)}function Se(k){return k===62?(n.consume(k),n.exit("htmlTextData"),n.exit("htmlText"),e):t(k)}function ye(k){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(k),n.exit("lineEnding"),it}function it(k){return U(k)?Q(n,Dt,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):Dt(k)}function Dt(k){return n.enter("htmlTextData"),s(k)}}const Ma={name:"labelEnd",tokenize:B0,resolveTo:$0,resolveAll:F0},z0={tokenize:j0},P0={tokenize:V0},L0={tokenize:_0};function F0(n){let e=-1;for(;++e=3&&(c===null||B(c))?(n.exit("thematicBreak"),e(c)):t(c)}function a(c){return c===i?(n.consume(c),r++,a):(n.exit("thematicBreakSequence"),U(c)?Q(n,l,"whitespace")(c):l(c))}}const Fe={name:"list",tokenize:Q0,continuation:{tokenize:Z0},exit:eb},G0={tokenize:tb,partial:!0},Y0={tokenize:X0,partial:!0};function Q0(n,e,t){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return l;function l(f){const p=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:Il(f)){if(r.containerState.type||(r.containerState.type=p,n.enter(p,{_container:!0})),p==="listUnordered")return n.enter("listItemPrefix"),f===42||f===45?n.check(po,t,c)(f):c(f);if(!r.interrupt||f===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),a(f)}return t(f)}function a(f){return Il(f)&&++s<10?(n.consume(f),a):(!r.interrupt||s<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(n.exit("listItemValue"),c(f)):t(f)}function c(f){return n.enter("listItemMarker"),n.consume(f),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,n.check(Bi,r.interrupt?t:u,n.attempt(G0,d,h))}function u(f){return r.containerState.initialBlankLine=!0,o++,d(f)}function h(f){return U(f)?(n.enter("listItemPrefixWhitespace"),n.consume(f),n.exit("listItemPrefixWhitespace"),d):t(f)}function d(f){return r.containerState.size=o+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(f)}}function Z0(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(Bi,i,o);function i(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Q(n,e,"listItemIndent",r.containerState.size+1)(l)}function o(l){return r.containerState.furtherBlankLines||!U(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(Y0,e,s)(l))}function s(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,Q(n,n.attempt(Fe,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function X0(n,e,t){const r=this;return Q(n,i,"listItemIndent",r.containerState.size+1);function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?e(o):t(o)}}function eb(n){n.exit(this.containerState.type)}function tb(n,e,t){const r=this;return Q(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const s=r.events[r.events.length-1];return!U(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):t(o)}}const th={name:"setextUnderline",tokenize:rb,resolveTo:nb};function nb(n,e){let t=n.length,r,i,o;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!o&&n[t][1].type==="definition"&&(o=t);const s={type:"setextHeading",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[i][1].type="setextHeadingText",o?(n.splice(i,0,["enter",s,e]),n.splice(o+1,0,["exit",n[r][1],e]),n[r][1].end=Object.assign({},n[o][1].end)):n[r][1]=s,n.push(["exit",s,e]),n}function rb(n,e,t){const r=this;let i;return o;function o(c){let u=r.events.length,h;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){h=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(n.enter("setextHeadingLine"),i=c,s(c)):t(c)}function s(c){return n.enter("setextHeadingLineSequence"),l(c)}function l(c){return c===i?(n.consume(c),l):(n.exit("setextHeadingLineSequence"),U(c)?Q(n,a,"lineSuffix")(c):a(c))}function a(c){return c===null||B(c)?(n.exit("setextHeadingLine"),e(c)):t(c)}}const ib={tokenize:ob};function ob(n){const e=this,t=n.attempt(Bi,r,n.attempt(this.parser.constructs.flowInitial,i,Q(n,n.attempt(this.parser.constructs.flow,i,n.attempt(u0,i)),"linePrefix")));return t;function r(o){if(o===null){n.consume(o);return}return n.enter("lineEndingBlank"),n.consume(o),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(o){if(o===null){n.consume(o);return}return n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const sb={resolveAll:Df()},lb=If("string"),ab=If("text");function If(n){return{tokenize:e,resolveAll:Df(n==="text"?cb:void 0)};function e(t){const r=this,i=this.parser.constructs[n],o=t.attempt(i,s,l);return s;function s(u){return c(u)?o(u):l(u)}function l(u){if(u===null){t.consume(u);return}return t.enter("data"),t.consume(u),a}function a(u){return c(u)?(t.exit("data"),o(u)):(t.consume(u),a)}function c(u){if(u===null)return!0;const h=i[u];let d=-1;if(h)for(;++d-1){const l=s[0];typeof l=="string"?s[0]=l.slice(r):s.shift()}o>0&&s.push(n[i].slice(0,o))}return s}function db(n,e){let t=-1;const r=[];let i;for(;++t0){const lt=W.tokenStack[W.tokenStack.length-1];(lt[1]||oh).call(W,void 0,lt[0])}for(O.position={start:Jt(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:Jt(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},re=-1;++re "),o.shift(2);const s=t.indentLines(t.containerFlow(n,o.current()),Pb);return i(),s}function Pb(n,e,t){return">"+(t?"":" ")+n}function Ff(n,e){return ah(n,e.inConstruct,!0)&&!ah(n,e.notInConstruct,!1)}function ah(n,e,t){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return t;let r=-1;for(;++rs&&(s=o):o=1,i=r+e.length,r=t.indexOf(e,i);return s}function Pl(n,e){return!!(e.options.fences===!1&&n.value&&!n.lang&&/[^ \r\n]/.test(n.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(n.value))}function Fb(n){const e=n.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function $b(n,e,t,r){const i=Fb(t),o=n.value||"",s=i==="`"?"GraveAccent":"Tilde";if(Pl(n,t)){const h=t.enter("codeIndented"),d=t.indentLines(o,Bb);return h(),d}const l=t.createTracker(r),a=i.repeat(Math.max(Lb(o,i)+1,3)),c=t.enter("codeFenced");let u=l.move(a);if(n.lang){const h=t.enter(`codeFencedLang${s}`);u+=l.move(t.safe(n.lang,{before:u,after:" ",encode:["`"],...l.current()})),h()}if(n.lang&&n.meta){const h=t.enter(`codeFencedMeta${s}`);u+=l.move(" "),u+=l.move(t.safe(n.meta,{before:u,after:` +`,encode:["`"],...l.current()})),h()}return u+=l.move(` +`),o&&(u+=l.move(o+` +`)),u+=l.move(a),c(),u}function Bb(n,e,t){return(t?"":" ")+n}function Na(n){const e=n.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function jb(n,e,t,r){const i=Na(t),o=i==='"'?"Quote":"Apostrophe",s=t.enter("definition");let l=t.enter("label");const a=t.createTracker(r);let c=a.move("[");return c+=a.move(t.safe(t.associationId(n),{before:c,after:"]",...a.current()})),c+=a.move("]: "),l(),!n.url||/[\0- \u007F]/.test(n.url)?(l=t.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(t.safe(n.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=t.enter("destinationRaw"),c+=a.move(t.safe(n.url,{before:c,after:n.title?" ":` +`,...a.current()}))),l(),n.title&&(l=t.enter(`title${o}`),c+=a.move(" "+i),c+=a.move(t.safe(n.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),s(),c}function Vb(n){const e=n.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}$f.peek=_b;function $f(n,e,t,r){const i=Vb(t),o=t.enter("emphasis"),s=t.createTracker(r);let l=s.move(i);return l+=s.move(t.containerPhrasing(n,{before:l,after:i,...s.current()})),l+=s.move(i),o(),l}function _b(n,e,t){return t.options.emphasis||"*"}const fs=function(n){if(n==null)return Kb;if(typeof n=="function")return ps(n);if(typeof n=="object")return Array.isArray(n)?Wb(n):Hb(n);if(typeof n=="string")return qb(n);throw new Error("Expected function, string, or object as test")};function Wb(n){const e=[];let t=-1;for(;++t":""))+")"})}return d;function d(){let f=Bf,p,m,y;if((!e||o(a,c,u[u.length-1]||void 0))&&(f=Gb(t(a,u)),f[0]===Ll))return f;if("children"in a&&a.children){const g=a;if(g.children&&f[0]!==Fl)for(m=(r?g.children.length:-1)+s,y=u.concat(g);m>-1&&m",...a.current()})),c+=a.move(">")):(l=t.enter("destinationRaw"),c+=a.move(t.safe(n.url,{before:c,after:n.title?" ":")",...a.current()}))),l(),n.title&&(l=t.enter(`title${o}`),c+=a.move(" "+i),c+=a.move(t.safe(n.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),s(),c}function Zb(){return"!"}Hf.peek=Xb;function Hf(n,e,t,r){const i=n.referenceType,o=t.enter("imageReference");let s=t.enter("label");const l=t.createTracker(r);let a=l.move("![");const c=t.safe(n.alt,{before:a,after:"]",...l.current()});a+=l.move(c+"]["),s();const u=t.stack;t.stack=[],s=t.enter("reference");const h=t.safe(t.associationId(n),{before:a,after:"]",...l.current()});return s(),t.stack=u,o(),i==="full"||!c||c!==h?a+=l.move(h+"]"):i==="shortcut"?a=a.slice(0,-1):a+=l.move("]"),a}function Xb(){return"!"}qf.peek=ew;function qf(n,e,t){let r=n.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o\u007F]/.test(n.url))}Uf.peek=tw;function Uf(n,e,t,r){const i=Na(t),o=i==='"'?"Quote":"Apostrophe",s=t.createTracker(r);let l,a;if(Kf(n,t)){const u=t.stack;t.stack=[],l=t.enter("autolink");let h=s.move("<");return h+=s.move(t.containerPhrasing(n,{before:h,after:">",...s.current()})),h+=s.move(">"),l(),t.stack=u,h}l=t.enter("link"),a=t.enter("label");let c=s.move("[");return c+=s.move(t.containerPhrasing(n,{before:c,after:"](",...s.current()})),c+=s.move("]("),a(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(a=t.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(t.safe(n.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(a=t.enter("destinationRaw"),c+=s.move(t.safe(n.url,{before:c,after:n.title?" ":")",...s.current()}))),a(),n.title&&(a=t.enter(`title${o}`),c+=s.move(" "+i),c+=s.move(t.safe(n.title,{before:c,after:i,...s.current()})),c+=s.move(i),a()),c+=s.move(")"),l(),c}function tw(n,e,t){return Kf(n,t)?"<":"["}Jf.peek=nw;function Jf(n,e,t,r){const i=n.referenceType,o=t.enter("linkReference");let s=t.enter("label");const l=t.createTracker(r);let a=l.move("[");const c=t.containerPhrasing(n,{before:a,after:"]",...l.current()});a+=l.move(c+"]["),s();const u=t.stack;t.stack=[],s=t.enter("reference");const h=t.safe(t.associationId(n),{before:a,after:"]",...l.current()});return s(),t.stack=u,o(),i==="full"||!c||c!==h?a+=l.move(h+"]"):i==="shortcut"?a=a.slice(0,-1):a+=l.move("]"),a}function nw(){return"["}function Ea(n){const e=n.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function rw(n){const e=Ea(n),t=n.options.bulletOther;if(!t)return e==="*"?"-":"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(t===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+t+"`) to be different");return t}function iw(n){const e=n.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function Gf(n){const e=n.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function ow(n,e,t,r){const i=t.enter("list"),o=t.bulletCurrent;let s=n.ordered?iw(t):Ea(t);const l=n.ordered?s==="."?")":".":rw(t);let a=e&&t.bulletLastUsed?s===t.bulletLastUsed:!1;if(!n.ordered){const u=n.children?n.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&t.stack[t.stack.length-1]==="list"&&t.stack[t.stack.length-2]==="listItem"&&t.stack[t.stack.length-3]==="list"&&t.stack[t.stack.length-4]==="listItem"&&t.indexStack[t.indexStack.length-1]===0&&t.indexStack[t.indexStack.length-2]===0&&t.indexStack[t.indexStack.length-3]===0&&(a=!0),Gf(t)===s&&u){let h=-1;for(;++h-1?e.start:1)+(t.options.incrementListMarker===!1?0:e.children.indexOf(n))+o);let s=o.length+1;(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||n.spread))&&(s=Math.ceil(s/4)*4);const l=t.createTracker(r);l.move(o+" ".repeat(s-o.length)),l.shift(s);const a=t.enter("listItem"),c=t.indentLines(t.containerFlow(n,l.current()),u);return a(),c;function u(h,d,f){return d?(f?"":" ".repeat(s))+h:(f?o:o+" ".repeat(s-o.length))+h}}function aw(n,e,t,r){const i=t.enter("paragraph"),o=t.enter("phrasing"),s=t.containerPhrasing(n,r);return o(),i(),s}const cw=fs(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function uw(n,e,t,r){return(n.children.some(function(s){return cw(s)})?t.containerPhrasing:t.containerFlow).call(t,n,r)}function hw(n){const e=n.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}Yf.peek=dw;function Yf(n,e,t,r){const i=hw(t),o=t.enter("strong"),s=t.createTracker(r);let l=s.move(i+i);return l+=s.move(t.containerPhrasing(n,{before:l,after:i,...s.current()})),l+=s.move(i+i),o(),l}function dw(n,e,t){return t.options.strong||"*"}function fw(n,e,t,r){return t.safe(n.value,r)}function pw(n){const e=n.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function mw(n,e,t){const r=(Gf(t)+(t.options.ruleSpaces?" ":"")).repeat(pw(t));return t.options.ruleSpaces?r.slice(0,-1):r}const Ta={blockquote:zb,break:ch,code:$b,definition:jb,emphasis:$f,hardBreak:ch,heading:Yb,html:_f,image:Wf,imageReference:Hf,inlineCode:qf,link:Uf,linkReference:Jf,list:ow,listItem:lw,paragraph:aw,root:uw,strong:Yf,text:fw,thematicBreak:mw},gw=[yw];function yw(n,e,t,r){if(e.type==="code"&&Pl(e,r)&&(n.type==="list"||n.type===e.type&&Pl(n,r)))return!1;if("spread"in t&&typeof t.spread=="boolean")return n.type==="paragraph"&&(n.type===e.type||e.type==="definition"||e.type==="heading"&&Vf(e,r))?void 0:t.spread?1:0}const Tn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],kw=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:` +`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Tn},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r +]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Tn},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r +*])`},{character:"*",inConstruct:"phrasing",notInConstruct:Tn},{atBreak:!0,character:"+",after:`(?:[ \r +])`},{atBreak:!0,character:"-",after:`(?:[ \r +-])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r +]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Tn},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Tn},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Tn},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Tn},{atBreak:!0,character:"~"}];function xw(n){return n.label||!n.identifier?n.label||"":Rf(n.identifier)}function bw(n){if(!n._compiled){const e=(n.atBreak?"[\\r\\n][\\t ]*":"")+(n.before?"(?:"+n.before+")":"");n._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(n.character)?"\\":"")+n.character+(n.after?"(?:"+n.after+")":""),"g")}return n._compiled}function ww(n,e,t){const r=e.indexStack,i=n.children||[],o=[];let s=-1,l=t.before;r.push(-1);let a=e.createTracker(t);for(;++s0&&(l==="\r"||l===` +`)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" ",a=e.createTracker(t),a.move(o.join(""))),o.push(a.move(e.handle(c,n,e,{...a.current(),before:l,after:u}))),l=o[o.length-1].slice(-1)}return r.pop(),o.join("")}function Cw(n,e,t){const r=e.indexStack,i=n.children||[],o=e.createTracker(t),s=[];let l=-1;for(r.push(-1);++l + +`}return` + +`}const Mw=/\r?\n|\r/g;function Nw(n,e){const t=[];let r=0,i=0,o;for(;o=Mw.exec(n);)s(n.slice(r,o.index)),t.push(o[0]),r=o.index+o[0].length,i++;return s(n.slice(r)),t.join("");function s(l){t.push(e(l,i,!l))}}function Ew(n,e,t){const r=(t.before||"")+(e||"")+(t.after||""),i=[],o=[],s={};let l=-1;for(;++l=c||u+1"u"||mo.call(e,i)},gh=function(e,t){dh&&t.name==="__proto__"?dh(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},yh=function(e,t){if(t==="__proto__")if(mo.call(e,t)){if(fh)return fh(e,t).value}else return;return e[t]},Lw=function n(){var e,t,r,i,o,s,l=arguments[0],a=1,c=arguments.length,u=!1;for(typeof l=="boolean"&&(u=l,l=arguments[1]||{},a=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});as.length;let a;l&&s.push(i);try{a=n.apply(this,s)}catch(c){const u=c;if(l&&t)throw u;return i(u)}l||(a instanceof Promise?a.then(o,i):a instanceof Error?i(a):o(a))}function i(s,...l){t||(t=!0,e(s,...l))}function o(s){i(null,s)}}class We extends Error{constructor(e,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",o={},s=!1;if(t&&("line"in t&&"column"in t?o={place:t}:"start"in t&&"end"in t?o={place:t}:"type"in t?o={ancestors:[t],place:t.position}:o={...t}),typeof e=="string"?i=e:!o.cause&&e&&(s=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof r=="string"){const a=r.indexOf(":");a===-1?o.ruleId=r:(o.source=r.slice(0,a),o.ruleId=r.slice(a+1))}if(!o.place&&o.ancestors&&o.ancestors){const a=o.ancestors[o.ancestors.length-1];a&&(o.place=a.position)}const l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=l?l.line:void 0,this.name=Ci(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}We.prototype.file="";We.prototype.name="";We.prototype.reason="";We.prototype.message="";We.prototype.stack="";We.prototype.column=void 0;We.prototype.line=void 0;We.prototype.ancestors=void 0;We.prototype.cause=void 0;We.prototype.fatal=void 0;We.prototype.place=void 0;We.prototype.ruleId=void 0;We.prototype.source=void 0;const wt={basename:Bw,dirname:jw,extname:Vw,join:_w,sep:"/"};function Bw(n,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');ji(n);let t=0,r=-1,i=n.length,o;if(e===void 0||e.length===0||e.length>n.length){for(;i--;)if(n.codePointAt(i)===47){if(o){t=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":n.slice(t,r)}if(e===n)return"";let s=-1,l=e.length-1;for(;i--;)if(n.codePointAt(i)===47){if(o){t=i+1;break}}else s<0&&(o=!0,s=i+1),l>-1&&(n.codePointAt(i)===e.codePointAt(l--)?l<0&&(r=i):(l=-1,r=s));return t===r?r=s:r<0&&(r=n.length),n.slice(t,r)}function jw(n){if(ji(n),n.length===0)return".";let e=-1,t=n.length,r;for(;--t;)if(n.codePointAt(t)===47){if(r){e=t;break}}else r||(r=!0);return e<0?n.codePointAt(0)===47?"/":".":e===1&&n.codePointAt(0)===47?"//":n.slice(0,e)}function Vw(n){ji(n);let e=n.length,t=-1,r=0,i=-1,o=0,s;for(;e--;){const l=n.codePointAt(e);if(l===47){if(s){r=e+1;break}continue}t<0&&(s=!0,t=e+1),l===46?i<0?i=e:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||t<0||o===0||o===1&&i===t-1&&i===r+1?"":n.slice(i,t)}function _w(...n){let e=-1,t;for(;++e0&&n.codePointAt(n.length-1)===47&&(t+="/"),e?"/"+t:t}function Hw(n,e){let t="",r=0,i=-1,o=0,s=-1,l,a;for(;++s<=n.length;){if(s2){if(a=t.lastIndexOf("/"),a!==t.length-1){a<0?(t="",r=0):(t=t.slice(0,a),r=t.length-1-t.lastIndexOf("/")),i=s,o=0;continue}}else if(t.length>0){t="",r=0,i=s,o=0;continue}}e&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+n.slice(i+1,s):t=n.slice(i+1,s),r=s-i-1;i=s,o=0}else l===46&&o>-1?o++:o=-1}return t}function ji(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const qw={cwd:Kw};function Kw(){return"/"}function jl(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function Uw(n){if(typeof n=="string")n=new URL(n);else if(!jl(n)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(n.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Jw(n)}function Jw(n){if(n.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=n.pathname;let t=-1;for(;++t0){let[f,...p]=u;const m=r[d][1];Bl(m)&&Bl(f)&&(f=Vs(!0,m,f)),r[d]=[c,f,...p]}}}}const Vl=new Oa().freeze();function qs(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function Ks(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function Us(n,e){if(e)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function xh(n){if(!Bl(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function bh(n,e,t){if(!t)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}function to(n){return Xw(n)?n:new Gw(n)}function Xw(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function eC(n){return typeof n=="string"||tC(n)}function tC(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}var Zf=(n,e,t)=>{if(!e.has(n))throw TypeError("Cannot "+t)},G=(n,e,t)=>(Zf(n,e,"read from private field"),t?t.call(n):e.get(n)),pe=(n,e,t)=>{if(e.has(n))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(n):e.set(n,t)},le=(n,e,t,r)=>(Zf(n,e,"write to private field"),r?r.call(n,t):e.set(n,t),t);let Xf=class{},ep=class{constructor(){this.elements=[],this.size=()=>this.elements.length,this.top=()=>this.elements.at(-1),this.push=e=>{var t;(t=this.top())==null||t.push(e)},this.open=e=>{this.elements.push(e)},this.close=()=>{const e=this.elements.pop();if(!e)throw gf();return e}}},nC=class tp extends Xf{constructor(e,t,r){super(),this.type=e,this.content=t,this.attrs=r}push(e,...t){this.content.push(e,...t)}pop(){return this.content.pop()}static create(e,t,r){return new tp(e,t,r)}};var bt,ii,go,yo,ko,oi,si;const _l=class extends ep{constructor(e){super(),pe(this,bt,void 0),pe(this,ii,void 0),pe(this,go,void 0),pe(this,yo,void 0),pe(this,ko,void 0),pe(this,oi,void 0),pe(this,si,void 0),le(this,bt,Y.none),le(this,ii,t=>t.isText),le(this,go,(t,r)=>{if(G(this,ii).call(this,t)&&G(this,ii).call(this,r)&&Y.sameSet(t.marks,r.marks))return this.schema.text(t.text+r.text,t.marks)}),le(this,yo,t=>{const r=Object.values({...this.schema.nodes,...this.schema.marks}).find(i=>i.spec.parseMarkdown.match(t));if(!r)throw kx(t);return r}),le(this,ko,t=>{const r=G(this,yo).call(this,t);r.spec.parseMarkdown.runner(this,t,r)}),this.injectRoot=(t,r,i)=>(this.openNode(r,i),this.next(t.children),this),this.openNode=(t,r)=>(this.open(nC.create(t,[],r)),this),le(this,oi,()=>{le(this,bt,Y.none);const t=this.close();return G(this,si).call(this,t.type,t.attrs,t.content)}),this.closeNode=()=>(G(this,oi).call(this),this),le(this,si,(t,r,i)=>{const o=t.createAndFill(r,i,G(this,bt));if(!o)throw yx(t,r,i);return this.push(o),o}),this.addNode=(t,r,i)=>(G(this,si).call(this,t,r,i),this),this.openMark=(t,r)=>{const i=t.create(r);return le(this,bt,i.addToSet(G(this,bt))),this},this.closeMark=t=>(le(this,bt,t.removeFromSet(G(this,bt))),this),this.addText=t=>{const r=this.top();if(!r)throw gf();const i=r.pop(),o=this.schema.text(t,G(this,bt));if(!i)return r.push(o),this;const s=G(this,go).call(this,i,o);return s?(r.push(s),this):(r.push(i,o),this)},this.build=()=>{let t;do t=G(this,oi).call(this);while(this.size());return t},this.next=(t=[])=>([t].flat().forEach(r=>G(this,ko).call(this,r)),this),this.toDoc=()=>this.build(),this.run=(t,r)=>{const i=t.runSync(t.parse(r),r);return this.next(i),this},this.schema=e}};bt=new WeakMap,ii=new WeakMap,go=new WeakMap,yo=new WeakMap,ko=new WeakMap,oi=new WeakMap,si=new WeakMap,_l.create=(n,e)=>{const t=new _l(n);return r=>(t.run(e,r),t.toDoc())};let rC=_l;const Wl=class extends Xf{constructor(e,t,r,i={}){super(),this.type=e,this.children=t,this.value=r,this.props=i,this.push=(o,...s)=>{this.children||(this.children=[]),this.children.push(o,...s)},this.pop=()=>{var o;return(o=this.children)==null?void 0:o.pop()}}};Wl.create=(n,e,t,r={})=>new Wl(n,e,t,r);let wh=Wl;const iC=n=>Object.prototype.hasOwnProperty.call(n,"size");var Ft,li,xo,bo,ai,wo,ci,Co,hr,ui,So,hi;const Hl=class extends ep{constructor(e){super(),pe(this,Ft,void 0),pe(this,li,void 0),pe(this,xo,void 0),pe(this,bo,void 0),pe(this,ai,void 0),pe(this,wo,void 0),pe(this,ci,void 0),pe(this,Co,void 0),pe(this,hr,void 0),pe(this,ui,void 0),pe(this,So,void 0),pe(this,hi,void 0),le(this,Ft,Y.none),le(this,li,t=>{const r=Object.values({...this.schema.nodes,...this.schema.marks}).find(i=>i.spec.toMarkdown.match(t));if(!r)throw xx(t.type);return r}),le(this,xo,t=>G(this,li).call(this,t).spec.toMarkdown.runner(this,t)),le(this,bo,(t,r)=>G(this,li).call(this,t).spec.toMarkdown.runner(this,t,r)),le(this,ai,t=>{const{marks:r}=t,i=o=>o.type.spec.priority??50;[...r].sort((o,s)=>i(o)-i(s)).every(o=>!G(this,bo).call(this,o,t))&&G(this,xo).call(this,t),r.forEach(o=>G(this,hi).call(this,o))}),le(this,wo,(t,r)=>{var i;if(t.type===r||((i=t.children)==null?void 0:i.length)!==1)return t;const o=c=>{var u;if(c.type===r)return c;if(((u=c.children)==null?void 0:u.length)!==1)return null;const[h]=c.children;return h?o(h):null},s=o(t);if(!s)return t;const l=s.children?[...s.children]:void 0,a={...t,children:l};return a.children=l,s.children=[a],s}),le(this,ci,t=>{const{children:r}=t;return r&&(t.children=r.reduce((i,o,s)=>{if(s===0)return[o];const l=i.at(-1);if(l&&l.isMark&&o.isMark){o=G(this,wo).call(this,o,l.type);const{children:a,...c}=o,{children:u,...h}=l;if(o.type===l.type&&a&&u&&JSON.stringify(c)===JSON.stringify(h)){const d={...h,children:[...u,...a]};return i.slice(0,-1).concat(G(this,ci).call(this,d))}}return i.concat(o)},[])),t}),le(this,Co,t=>{const r={...t.props,type:t.type};return t.children&&(r.children=t.children),t.value&&(r.value=t.value),r}),this.openNode=(t,r,i)=>(this.open(wh.create(t,void 0,r,i)),this),le(this,hr,()=>{const t=this.close();return G(this,ui).call(this,t.type,t.children,t.value,t.props)}),this.closeNode=()=>(G(this,hr).call(this),this),le(this,ui,(t,r,i,o)=>{const s=wh.create(t,r,i,o),l=G(this,ci).call(this,G(this,Co).call(this,s));return this.push(l),l}),this.addNode=(t,r,i,o)=>(G(this,ui).call(this,t,r,i,o),this),le(this,So,(t,r,i,o)=>t.isInSet(G(this,Ft))?this:(le(this,Ft,t.addToSet(G(this,Ft))),this.openNode(r,i,{...o,isMark:!0}))),le(this,hi,t=>{t.isInSet(G(this,Ft))&&(le(this,Ft,t.type.removeFromSet(G(this,Ft))),G(this,hr).call(this))}),this.withMark=(t,r,i,o)=>(G(this,So).call(this,t,r,i,o),this),this.closeMark=t=>(G(this,hi).call(this,t),this),this.build=()=>{let t=null;do t=G(this,hr).call(this);while(this.size());return t},this.next=t=>iC(t)?(t.forEach(r=>{G(this,ai).call(this,r)}),this):(G(this,ai).call(this,t),this),this.toString=t=>t.stringify(this.build()),this.run=t=>(this.next(t),this),this.schema=e}};Ft=new WeakMap,li=new WeakMap,xo=new WeakMap,bo=new WeakMap,ai=new WeakMap,wo=new WeakMap,ci=new WeakMap,Co=new WeakMap,hr=new WeakMap,ui=new WeakMap,So=new WeakMap,hi=new WeakMap,Hl.create=(n,e)=>{const t=new Hl(n);return r=>(t.run(r),t.toString(e))};let oC=Hl;class Le{constructor(e,t,r={}){this.match=e,this.match=e,this.handler=typeof t=="string"?sC(t):t,this.undoable=r.undoable!==!1}}function sC(n){return function(e,t,r,i){let o=n;if(t[1]){let s=t[0].lastIndexOf(t[1]);o+=t[0].slice(s+t[1].length),r+=s;let l=r-i;l>0&&(o=t[0].slice(s-l,s)+o,r=i)}return e.tr.insertText(o,r,i)}}const lC=(n,e)=>{let t=n.plugins;for(let r=0;r=0;a--)s.step(l.steps[a].invert(l.docs[a]));if(o.text){let a=s.doc.resolve(o.from).marks();s.replaceWith(o.from,o.to,n.schema.text(o.text,a))}else s.delete(o.from,o.to);e(s)}return!0}}return!1};new Le(/--$/,"—");new Le(/\.\.\.$/,"…");new Le(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“");new Le(/"$/,"”");new Le(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘");new Le(/'$/,"’");function Cr(n,e,t=null,r){return new Le(n,(i,o,s,l)=>{let a=t instanceof Function?t(o):t,c=i.tr.delete(s,l),u=c.doc.resolve(s),h=u.blockRange(),d=h&&Nd(h,e,a);if(!d)return null;c.wrap(h,d);let f=c.doc.resolve(s-1).nodeBefore;return f&&f.type==e&&ss(c.doc,s-1)&&(!r||r(o,f))&&c.join(s-1),c})}function np(n,e,t=null){return new Le(n,(r,i,o,s)=>{let l=r.doc.resolve(o),a=t instanceof Function?t(i):t;return l.node(-1).canReplaceWith(l.index(-1),l.indexAfter(-1),e)?r.tr.delete(o,s).setBlockType(o,o,e,a):null})}const gn=typeof navigator<"u"?navigator:null,Ch=typeof document<"u"?document:null,wn=gn&&gn.userAgent||"",ql=/Edge\/(\d+)/.exec(wn),rp=/MSIE \d/.exec(wn),Kl=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(wn),ms=!!(rp||Kl||ql),aC=rp?document.documentMode:Kl?+Kl[1]:ql?+ql[1]:0,ip=!ms&&/gecko\/(\d+)/i.test(wn),cC=ip&&+(/Firefox\/(\d+)/.exec(wn)||[0,0])[1],Ul=!ms&&/Chrome\/(\d+)/.exec(wn),uC=!!Ul,hC=Ul?+Ul[1]:0,op=!ms&&!!gn&&/Apple Computer/.test(gn.vendor),sp=op&&(/Mobile\/\w+/.test(wn)||!!gn&&gn.maxTouchPoints>2),dC=sp||(gn?/Mac/.test(gn.platform):!1),fC=/Android \d/.test(wn),lp=!!Ch&&"webkitFontSmoothing"in Ch.documentElement.style,pC=lp?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;var Sh=Object.freeze({__proto__:null,android:fC,chrome:uC,chrome_version:hC,gecko:ip,gecko_version:cC,ie:ms,ie_version:aC,ios:sp,mac:dC,safari:op,webkit:lp,webkit_version:pC});function Js(n,e,t,r,i,o){if(n.composing)return!1;const s=n.state,l=s.doc.resolve(e);if(l.parent.type.spec.code)return!1;const a=l.parent.textBetween(Math.max(0,l.parentOffset-500),l.parentOffset,void 0,"")+r;for(let c=0;c(setTimeout(()=>{const{$cursor:r}=t.state.selection;r&&Js(t,r.pos,r.pos,"",n,e)}),!1)},handleKeyDown(t,r){if(r.key!=="Enter")return!1;const{$cursor:i}=t.state.selection;return i?Js(t,i.pos,i.pos,` +`,n,e):!1}}});return e}function Vi(n,e,t={}){return new Le(n,(r,i,o,s)=>{var l,a,c,u;const{tr:h}=r,d=i.length;let f=i[d-1],p=i[0],m=[],y=s;const g={group:f,fullMatch:p,start:o,end:s},N=(l=t.updateCaptured)==null?void 0:l.call(t,g);if(Object.assign(g,N),{group:f,fullMatch:p,start:o,end:s}=g,p===null||f?.trim()==="")return null;if(f){const M=p.search(/\S/),I=o+p.indexOf(f),R=I+f.length;m=(a=h.storedMarks)!=null?a:[],Ro&&h.delete(o+M,I),y=o+M+f.length;const b=(c=t.getAttr)==null?void 0:c.call(t,i);h.addMark(o,y,e.create(b)),h.setStoredMarks(m),(u=t.beforeDispatch)==null||u.call(t,{match:i,start:o,end:s,tr:h})}return h})}function gs(n){return Object.assign(Object.create(n),n).setTime(Date.now())}function yC(n,e){return Array.isArray(n)&&n.includes(e.type)||e.type===n}function kC(n,e){const t=e.nodes[n];if(!t)throw bx("node",n);return t}function xC(n){return e=>{for(let t=e.depth;t>0;t--){const r=e.node(t);if(n(r))return{pos:t>0?e.before(t):0,start:e.start(t),depth:t,node:r}}}}function bC(n){return e=>xC(n)(e.$from)}function wC(n,e){if(!(n instanceof j))return;const{node:t,$from:r}=n;if(yC(e,t))return{node:t,pos:r.pos,start:r.start(r.depth),depth:r.depth}}const Aa=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function CC(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}const ap=(n,e,t)=>{let r=CC(n,t);if(!r)return!1;let i=up(r);if(!i){let s=r.blockRange(),l=s&&is(s);return l==null?!1:(e&&e(n.tr.lift(s,l).scrollIntoView()),!0)}let o=i.nodeBefore;if(!o.type.spec.isolating&&dp(n,i,e))return!0;if(r.parent.content.size==0&&(Dr(o,"end")||j.isSelectable(o))){let s=ua(n.doc,r.before(),r.after(),A.empty);if(s&&s.slice.size{let{$head:r,empty:i}=n.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;o=up(r)}let s=o&&o.nodeBefore;return!s||!j.isSelectable(s)?!1:(e&&e(n.tr.setSelection(j.create(n.doc,o.pos-s.nodeSize)).scrollIntoView()),!0)};function up(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){if(n.index(e)>0)return n.doc.resolve(n.before(e+1));if(n.node(e).type.spec.isolating)break}return null}function SC(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset{let r=SC(n,t);if(!r)return!1;let i=hp(r);if(!i)return!1;let o=i.nodeAfter;if(dp(n,i,e))return!0;if(r.parent.content.size==0&&(Dr(o,"start")||j.isSelectable(o))){let s=ua(n.doc,r.before(),r.after(),A.empty);if(s&&s.slice.size{let{$head:r,empty:i}=n.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset=0;e--){let t=n.node(e);if(n.index(e)+1{let{$head:t,$anchor:r}=n.selection;return!t.parent.type.spec.code||!t.sameParent(r)?!1:(e&&e(n.tr.insertText(` +`).scrollIntoView()),!0)};function va(n){for(let e=0;e{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let i=t.node(-1),o=t.indexAfter(-1),s=va(i.contentMatchAt(o));if(!s||!i.canReplaceWith(o,o,s))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,s.createAndFill());a.setSelection(V.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},OC=(n,e)=>{let t=n.selection,{$from:r,$to:i}=t;if(t instanceof Be||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=va(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let s=(!r.parentOffset&&i.index(){let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let o=t.before();if(ki(n.doc,o))return e&&e(n.tr.split(o).scrollIntoView()),!0}let r=t.blockRange(),i=r&&is(r);return i==null?!1:(e&&e(n.tr.lift(r,i).scrollIntoView()),!0)};function vC(n){return(e,t)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof j&&e.selection.node.isBlock)return!r.parentOffset||!ki(e.doc,r.pos)?!1:(t&&t(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(t){let o=i.parentOffset==i.parent.content.size,s=e.tr;(e.selection instanceof K||e.selection instanceof Be)&&s.deleteSelection();let l=r.depth==0?null:va(r.node(-1).contentMatchAt(r.indexAfter(-1))),a=n&&n(i.parent,o),c=a?[a]:o&&l?[{type:l}]:void 0,u=ki(s.doc,s.mapping.map(r.pos),1,c);if(!c&&!u&&ki(s.doc,s.mapping.map(r.pos),1,l?[{type:l}]:void 0)&&(l&&(c=[{type:l}]),u=!0),u&&(s.split(s.mapping.map(r.pos),1,c),!o&&!r.parentOffset&&r.parent.type!=l)){let h=s.mapping.map(r.before()),d=s.doc.resolve(h);l&&r.node(-1).canReplaceWith(d.index(),d.index()+1,l)&&s.setNodeMarkup(s.mapping.map(r.before()),l)}t(s.scrollIntoView())}return!0}}const IC=vC(),DC=(n,e)=>(e&&e(n.tr.setSelection(new Be(n.doc))),!0);function RC(n,e,t){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||ss(n.doc,e.pos))?!1:(t&&t(n.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function dp(n,e,t){let r=e.nodeBefore,i=e.nodeAfter,o,s;if(r.type.spec.isolating||i.type.spec.isolating)return!1;if(RC(n,e,t))return!0;let l=e.parent.canReplace(e.index(),e.index()+1);if(l&&(o=(s=r.contentMatchAt(r.childCount)).findWrapping(i.type))&&s.matchType(o[0]||i.type).validEnd){if(t){let h=e.pos+i.nodeSize,d=E.empty;for(let m=o.length-1;m>=0;m--)d=E.from(o[m].create(null,d));d=E.from(r.copy(d));let f=n.tr.step(new Te(e.pos-1,h,e.pos,h,new A(d,1,0),o.length,!0)),p=h+2*o.length;ss(f.doc,p)&&f.join(p),t(f.scrollIntoView())}return!0}let a=V.findFrom(e,1),c=a&&a.$from.blockRange(a.$to),u=c&&is(c);if(u!=null&&u>=e.depth)return t&&t(n.tr.lift(c,u).scrollIntoView()),!0;if(l&&Dr(i,"start",!0)&&Dr(r,"end")){let h=r,d=[];for(;d.push(h),!h.isTextblock;)h=h.lastChild;let f=i,p=1;for(;!f.isTextblock;f=f.firstChild)p++;if(h.canReplace(h.childCount,h.childCount,f.content)){if(t){let m=E.empty;for(let g=d.length-1;g>=0;g--)m=E.from(d[g].copy(m));let y=n.tr.step(new Te(e.pos-d.length,e.pos+i.nodeSize,e.pos+p,e.pos+i.nodeSize-p,new A(m,d.length,0),0,!0));t(y.scrollIntoView())}return!0}}return!1}function fp(n){return function(e,t){let r=e.selection,i=n<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(t&&t(e.tr.setSelection(K.create(e.doc,n<0?i.start(o):i.end(o)))),!0):!1}}const zC=fp(-1),PC=fp(1);function Ia(n,e=null){return function(t,r){let{$from:i,$to:o}=t.selection,s=i.blockRange(o),l=s&&Nd(s,n,e);return l?(r&&r(t.tr.wrap(s,l).scrollIntoView()),!0):!1}}function Qn(n,e=null){return function(t,r){let i=!1;for(let o=0;o{if(i)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)i=!0;else{let u=t.doc.resolve(c),h=u.index();i=u.parent.canReplaceWith(h,h+1,n)}})}if(!i)return!1;if(r){let o=t.tr;for(let s=0;s{if(s)return!1;s=l.inlineContent&&l.type.allowsMarkType(t)}),s)return!0}return!1}function ys(n,e=null){return function(t,r){let{empty:i,$cursor:o,ranges:s}=t.selection;if(i&&!o||!LC(t.doc,s,n))return!1;if(r)if(o)n.isInSet(t.storedMarks||o.marks())?r(t.tr.removeStoredMark(n)):r(t.tr.addStoredMark(n.create(e)));else{let l=!1,a=t.tr;for(let c=0;!l&&c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},BC=typeof navigator<"u"&&/Mac/.test(navigator.platform),jC=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ce=0;Ce<10;Ce++)yn[48+Ce]=yn[96+Ce]=String(Ce);for(var Ce=1;Ce<=24;Ce++)yn[Ce+111]="F"+Ce;for(var Ce=65;Ce<=90;Ce++)yn[Ce]=String.fromCharCode(Ce+32),Zo[Ce]=String.fromCharCode(Ce);for(var Ys in yn)Zo.hasOwnProperty(Ys)||(Zo[Ys]=yn[Ys]);function VC(n){var e=BC&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||jC&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?Zo:yn)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}const _C=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function WC(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let r,i,o,s;for(let l=0;l127)&&(o=yn[r.keyCode])&&o!=i){let l=e[Qs(o,r)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}var yp=(n,e,t)=>{if(!e.has(n))throw TypeError("Cannot "+t)},$=(n,e,t)=>(yp(n,e,"read from private field"),t?t.call(n):e.get(n)),xe=(n,e,t)=>{if(e.has(n))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(n):e.set(n,t)},ce=(n,e,t,r)=>(yp(n,e,"write to private field"),r?r.call(n,t):e.set(n,t),t);function Cn(n,e){return n.meta={package:"@milkdown/core",group:"System",...e},n}const kp={strong:(n,e,t,r)=>{const i=n.marker||t.options.strong||"*",o=t.enter("strong"),s=t.createTracker(r);let l=s.move(i+i);return l+=s.move(t.containerPhrasing(n,{before:l,after:i,...s.current()})),l+=s.move(i+i),o(),l},emphasis:(n,e,t,r)=>{const i=n.marker||t.options.emphasis||"*",o=t.enter("emphasis"),s=t.createTracker(r);let l=s.move(i);return l+=s.move(t.containerPhrasing(n,{before:l,after:i,...s.current()})),l+=s.move(i),o(),l}},Mo=xn("ConfigReady");function qC(n){const e=t=>(t.record(Mo),async()=>(await n(t),t.done(Mo),()=>{t.clearTimer(Mo)}));return Cn(e,{displayName:"Config"}),e}const Vn=xn("InitReady"),Zs=ee([],"initTimer"),Nh=ee({},"editor"),Ri=ee([],"inputRules"),gt=ee([],"prosePlugins"),zi=ee([],"remarkPlugins"),Pi=ee([],"nodeView"),Li=ee([],"markView"),pn=ee(Vl().use(zl).use($l),"remark"),_n=ee({handlers:kp},"remarkStringifyOptions");function KC(n){const e=t=>(t.inject(Nh,n).inject(gt,[]).inject(zi,[]).inject(Ri,[]).inject(Pi,[]).inject(Li,[]).inject(_n,{handlers:kp}).inject(pn,Vl().use(zl).use($l)).inject(Zs,[Mo]).record(Vn),async()=>{await t.waitTimers(Zs);const r=t.get(_n);return t.set(pn,Vl().use(zl).use($l,r)),t.done(Vn),()=>{t.remove(Nh).remove(gt).remove(zi).remove(Ri).remove(Pi).remove(Li).remove(_n).remove(pn).remove(Zs).clearTimer(Vn)}});return Cn(e,{displayName:"Init"}),e}const pt=xn("SchemaReady"),Xs=ee([],"schemaTimer"),tt=ee({},"schema"),Sr=ee([],"nodes"),Mr=ee([],"marks");function Eh(n){var e;return{...n,parseDOM:(e=n.parseDOM)==null?void 0:e.map(t=>({priority:n.priority,...t}))}}const xp=n=>(n.inject(tt,{}).inject(Sr,[]).inject(Mr,[]).inject(Xs,[Vn]).record(pt),async()=>{await n.waitTimers(Xs);const e=n.get(pn),t=n.get(zi).reduce((s,l)=>s.use(l.plugin,l.options),e);n.set(pn,t);const r=Object.fromEntries(n.get(Sr).map(([s,l])=>[s,Eh(l)])),i=Object.fromEntries(n.get(Mr).map(([s,l])=>[s,Eh(l)])),o=new Hy({nodes:r,marks:i});return n.set(tt,o),n.done(pt),()=>{n.remove(tt).remove(Sr).remove(Mr).remove(Xs).clearTimer(pt)}});Cn(xp,{displayName:"Schema"});const No=xn("ParserReady"),bp=()=>{throw wa()},Nr=ee(bp,"parser"),el=ee([],"parserTimer"),wp=n=>(n.inject(Nr,bp).inject(el,[pt]).record(No),async()=>{await n.waitTimers(el);const e=n.get(pn),t=n.get(tt);return n.set(Nr,rC.create(t,e)),n.done(No),()=>{n.remove(Nr).remove(el).clearTimer(No)}});Cn(wp,{displayName:"Parser"});const Si=xn("SerializerReady"),tl=ee([],"serializerTimer"),Cp=()=>{throw wa()},Er=ee(Cp,"serializer"),Sp=n=>(n.inject(Er,Cp).inject(tl,[pt]).record(Si),async()=>{await n.waitTimers(tl);const e=n.get(pn),t=n.get(tt);return n.set(Er,oC.create(t,e)),n.done(Si),()=>{n.remove(Er).remove(tl).clearTimer(Si)}});Cn(Sp,{displayName:"Serializer"});const Eo=ee("","defaultValue"),di=ee({},"editorState"),To=ee(n=>n,"stateOptions"),nl=ee([],"editorStateTimer"),Oo=xn("EditorStateReady");function UC(n,e,t){if(typeof n=="string")return e(n);if(n.type==="html")return Un.fromSchema(t).parse(n.dom);if(n.type==="json")return dt.fromJSON(t,n.value);throw px(n)}const JC=new Ae("MILKDOWN_STATE_TRACKER");function GC(n){const e=ks(lC,Aa,ap,cp);return n.Backspace=e,n}const Mp=n=>(n.inject(Eo,"").inject(di,{}).inject(To,e=>e).inject(nl,[No,Si,Ni]).record(Oo),async()=>{await n.waitTimers(nl);const e=n.get(tt),t=n.get(Nr),r=n.get(Ri),i=n.get(To),o=n.get(gt),s=n.get(Eo),l=UC(s,t,e),a=[...o,new Pe({key:JC,state:{init:()=>{},apply:(h,d,f,p)=>{n.set(di,p)}}}),gC({rules:r}),mp(GC($C))];n.set(gt,a);const c=i({schema:e,doc:l,plugins:a}),u=zn.create(c);return n.set(di,u),n.done(Oo),()=>{n.remove(Eo).remove(di).remove(To).remove(nl).clearTimer(Oo)}});Cn(Mp,{displayName:"EditorState"});const Ao=xn("EditorViewReady"),Wn=ee({},"editorView"),rl=ee([],"editorViewTimer"),Mi=ee({},"editorViewOptions"),vo=ee(null,"root"),Jl=ee(null,"rootDOM"),Gl=ee({},"rootAttrs");function YC(n,e){const t=document.createElement("div");t.className="milkdown",n.appendChild(t),e.set(Jl,t);const r=e.get(Gl);return Object.entries(r).forEach(([i,o])=>t.setAttribute(i,o)),t}function QC(n){n.classList.add("editor"),n.setAttribute("role","textbox")}const ZC=new Ae("MILKDOWN_VIEW_CLEAR"),Np=n=>(n.inject(vo,document.body).inject(Wn,{}).inject(Mi,{}).inject(Jl,null).inject(Gl,{}).inject(rl,[Oo]).record(Ao),async()=>{await n.wait(Vn);const e=n.get(vo)||document.body,t=typeof e=="string"?document.querySelector(e):e;n.update(gt,a=>[new Pe({key:ZC,view:c=>{const u=t?YC(t,n):void 0;return(()=>{if(u&&t){const h=c.dom;t.replaceChild(u,h),u.appendChild(h)}})(),{destroy:()=>{u!=null&&u.parentNode&&u?.parentNode.replaceChild(c.dom,u),u?.remove()}}}}),...a]),await n.waitTimers(rl);const r=n.get(di),i=n.get(Mi),o=Object.fromEntries(n.get(Pi)),s=Object.fromEntries(n.get(Li)),l=new Q1(t,{state:r,nodeViews:o,markViews:s,...i});return QC(l.dom),n.set(Wn,l),n.done(Ao),()=>{l?.destroy(),n.remove(vo).remove(Wn).remove(Mi).remove(Jl).remove(Gl).remove(rl).clearTimer(Ao)}});Cn(Np,{displayName:"EditorView"});var dr,In;let Ep=class{constructor(){xe(this,dr,void 0),xe(this,In,void 0),ce(this,dr,new kf),ce(this,In,null),this.setCtx=e=>{ce(this,In,e)}}get ctx(){return $(this,In)}create(e,t){const r=e.create($(this,dr).sliceMap);return r.set(t),r}get(e){return $(this,dr).get(e).get()}remove(e){return $(this,dr).remove(e)}call(e,t){if($(this,In)==null)throw wx();const r=this.get(e)(t),i=$(this,In).get(Wn);return r(i.state,i.dispatch,i)}};dr=new WeakMap,In=new WeakMap;function XC(n="cmdKey"){return ee(()=>()=>!1,n)}const te=ee(new Ep,"commands"),il=ee([pt],"commandsTimer"),Ni=xn("CommandsReady"),Tp=n=>{const e=new Ep;return e.setCtx(n),n.inject(te,e).inject(il,[pt]).record(Ni),async()=>(await n.waitTimers(il),n.done(Ni),()=>{n.remove(te).remove(il).clearTimer(Ni)})};Cn(Tp,{displayName:"Commands"});var Op=(n=>(n.Idle="Idle",n.OnCreate="OnCreate",n.Created="Created",n.OnDestroy="OnDestroy",n.Destroyed="Destroyed",n))(Op||{}),fr,Ye,en,fi,Io,Do,Ke,tn,pr,Ro,mr,pi,zo,Dn,mi;const eS=class Ap{constructor(){xe(this,fr,void 0),xe(this,Ye,void 0),xe(this,en,void 0),xe(this,fi,void 0),xe(this,Io,void 0),xe(this,Do,void 0),xe(this,Ke,void 0),xe(this,tn,void 0),xe(this,pr,void 0),xe(this,Ro,void 0),xe(this,mr,void 0),xe(this,pi,void 0),xe(this,zo,void 0),xe(this,Dn,void 0),xe(this,mi,void 0),ce(this,fr,!1),ce(this,Ye,"Idle"),ce(this,en,[]),ce(this,fi,()=>{}),ce(this,Io,new kf),ce(this,Do,new Ax),ce(this,Ke,new Map),ce(this,tn,new Map),ce(this,pr,new Ox($(this,Io),$(this,Do))),ce(this,Ro,()=>{const e=qC(async r=>{await Promise.all($(this,en).map(i=>i(r)))}),t=[xp,wp,Sp,Tp,Mp,Np,KC(this),e];$(this,mr).call(this,t,$(this,tn))}),ce(this,mr,(e,t)=>{e.forEach(r=>{const i=$(this,pr).produce($(this,fr)?r.meta:void 0),o=r(i);t.set(r,{ctx:i,handler:o,cleanup:void 0})})}),ce(this,pi,(e,t=!1)=>Promise.all([e].flat().map(r=>{const i=$(this,Ke).get(r),o=i?.cleanup;return t?$(this,Ke).delete(r):$(this,Ke).set(r,{ctx:void 0,handler:void 0,cleanup:void 0}),typeof o=="function"?o():o}))),ce(this,zo,async()=>{await Promise.all([...$(this,tn).entries()].map(([e,{cleanup:t}])=>typeof t=="function"?t():t)),$(this,tn).clear()}),ce(this,Dn,e=>{ce(this,Ye,e),$(this,fi).call(this,e)}),ce(this,mi,e=>[...e.entries()].map(async([t,r])=>{const{ctx:i,handler:o}=r;if(!o)return;const s=await o();e.set(t,{ctx:i,handler:o,cleanup:s})})),this.enableInspector=(e=!0)=>(ce(this,fr,e),this),this.onStatusChange=e=>(ce(this,fi,e),this),this.config=e=>($(this,en).push(e),this),this.removeConfig=e=>(ce(this,en,$(this,en).filter(t=>t!==e)),this),this.use=e=>{const t=[e].flat();return t.flat().forEach(r=>{$(this,Ke).set(r,{ctx:void 0,handler:void 0,cleanup:void 0})}),$(this,Ye)==="Created"&&$(this,mr).call(this,t,$(this,Ke)),this},this.remove=async e=>$(this,Ye)==="OnCreate"?(console.warn("[Milkdown]: You are trying to remove plugins when the editor is creating, this is not recommended, please check your code."),new Promise(t=>{setTimeout(()=>{t(this.remove(e))},50)})):(await $(this,pi).call(this,[e].flat(),!0),this),this.create=async()=>$(this,Ye)==="OnCreate"?this:($(this,Ye)==="Created"&&await this.destroy(),$(this,Dn).call(this,"OnCreate"),$(this,Ro).call(this),$(this,mr).call(this,[...$(this,Ke).keys()],$(this,Ke)),await Promise.all([$(this,mi).call(this,$(this,tn)),$(this,mi).call(this,$(this,Ke))].flat()),$(this,Dn).call(this,"Created"),this),this.destroy=async(e=!1)=>$(this,Ye)==="Destroyed"||$(this,Ye)==="OnDestroy"?this:$(this,Ye)==="OnCreate"?new Promise(t=>{setTimeout(()=>{t(this.destroy(e))},50)}):(e&&ce(this,en,[]),$(this,Dn).call(this,"OnDestroy"),await $(this,pi).call(this,[...$(this,Ke).keys()],e),await $(this,zo).call(this),$(this,Dn).call(this,"Destroyed"),this),this.action=e=>e($(this,pr)),this.inspect=()=>$(this,fr)?[...$(this,tn).values(),...$(this,Ke).values()].map(({ctx:e})=>{var t;return(t=e?.inspector)==null?void 0:t.read()}).filter(e=>!!e):(console.warn("[Milkdown]: You are trying to collect inspection when inspector is disabled, please enable inspector by `editor.enableInspector()` first."),[])}static make(){return new Ap}get ctx(){return $(this,pr)}get status(){return $(this,Ye)}};fr=new WeakMap,Ye=new WeakMap,en=new WeakMap,fi=new WeakMap,Io=new WeakMap,Do=new WeakMap,Ke=new WeakMap,tn=new WeakMap,pr=new WeakMap,Ro=new WeakMap,mr=new WeakMap,pi=new WeakMap,zo=new WeakMap,Dn=new WeakMap,mi=new WeakMap;let tS=eS;Xh("abcedfghicklmn",10);function H(n,e){const t=XC(n),r=i=>async()=>{r.key=t,await i.wait(Ni);const o=e(i);return i.get(te).create(t,o),r.run=s=>i.get(te).call(n,s),()=>{i.get(te).remove(t)}};return r}function me(n){const e=t=>async()=>{await t.wait(pt);const r=n(t);return t.update(Ri,i=>[...i,r]),e.inputRule=r,()=>{t.update(Ri,i=>i.filter(o=>o!==r))}};return e}function nS(n,e){const t=r=>async()=>{const i=e(r);return r.update(Mr,o=>[...o.filter(s=>s[0]!==n),[n,i]]),t.id=n,t.schema=i,()=>{r.update(Mr,o=>o.filter(([s])=>s!==n))}};return t.type=r=>{const i=r.get(tt).marks[n];if(!i)throw Sx(n);return i},t}function Da(n,e){const t=r=>async()=>{const i=e(r);return r.update(Sr,o=>[...o.filter(s=>s[0]!==n),[n,i]]),t.id=n,t.schema=i,()=>{r.update(Sr,o=>o.filter(([s])=>s!==n))}};return t.type=r=>{const i=r.get(tt).nodes[n];if(!i)throw Cx(n);return i},t}function vt(n){let e;const t=r=>async()=>(await r.wait(pt),e=n(r),r.update(gt,i=>[...i,e]),()=>{r.update(gt,i=>i.filter(o=>o!==e))});return t.plugin=()=>e,t.key=()=>e.spec.key,t}function vp(n){const e=t=>async()=>{await t.wait(pt);const r=n(t),i=mp(r);return t.update(gt,o=>[...o,i]),e.keymap=r,()=>{t.update(gt,o=>o.filter(s=>s!==i))}};return e}function Rr(n,e){const t=r=>async()=>{await r.wait(pt);const i=e(r);return n.type(r)instanceof Wo?r.update(Pi,o=>[...o,[n.id,i]]):r.update(Li,o=>[...o,[n.id,i]]),t.view=i,t.type=n,()=>{n.type(r)instanceof Wo?r.update(Pi,o=>o.filter(s=>s[0]!==n.id)):r.update(Li,o=>o.filter(s=>s[0]!==n.id))}};return t}function kt(n,e){const t=ee(n,e),r=i=>(i.inject(t),()=>()=>{i.remove(t)});return r.key=t,r}function fe(n,e){const t=kt(e,n),r=Da(n,o=>o.get(t.key)(o)),i=[t,r];return i.id=r.id,i.node=r,i.type=o=>r.type(o),i.schema=r.schema,i.ctx=t,i.key=t.key,i.extendSchema=o=>s=>()=>{const l=s.get(t.key),a=o(l)(s);s.update(Sr,c=>[...c.filter(u=>u[0]!==n),[n,a]]),i.schema=a},i}function _i(n,e){const t=kt(e,n),r=nS(n,o=>o.get(t.key)(o)),i=[t,r];return i.id=r.id,i.mark=r,i.type=r.type,i.schema=r.schema,i.ctx=t,i.key=t.key,i.extendSchema=o=>s=>()=>{const l=s.get(t.key),a=o(l)(s);s.update(Mr,c=>[...c.filter(u=>u[0]!==n),[n,a]]),i.schema=a},i}function He(n,e){const t=Object.fromEntries(Object.entries(e).map(([s,{shortcuts:l}])=>[s,l])),r=kt(t,`${n}Keymap`),i=vp(s=>{const l=s.get(r.key),a=Object.entries(e).flatMap(([c,{command:u}])=>[l[c]].flat().map(h=>[h,u(s)]));return Object.fromEntries(a)}),o=[r,i];return o.ctx=r,o.shortcuts=i,o.key=r.key,o.keymap=i.keymap,o}const rt=(n,e=()=>({}))=>kt(e,`${n}Attr`),Wi=(n,e=()=>({}))=>kt(e,`${n}Attr`);function Ht(n,e,t){const r=kt(t??{},n),i=s=>async()=>{await s.wait(Vn);const l={plugin:e(s),options:s.get(r.key)};return s.update(zi,a=>[...a,l]),()=>{s.update(zi,a=>a.filter(c=>c!==l))}},o=[r,i];return o.id=n,o.plugin=i,o.options=r,o}function rS(n,e=!1){return t=>{const r=t.get(Wn),i=t.get(Nr)(n);if(!i)return;if(!e){const{state:c}=r;return r.dispatch(c.tr.replace(0,c.doc.content.size,new A(i.content,0,0)))}const o=t.get(tt),s=t.get(To),l=t.get(gt),a=zn.create({schema:o,doc:i,plugins:l,...s});r.updateState(a)}}function Yl(n){if(!n)return!1;if(Array.isArray(n))return n.length>1?!1:Yl(n[0]);const e=n.content;return e?Yl(e):n.type==="text"}function iS(n){if(n.content.childCount===1){const e=n.content.firstChild;if(e?.type.name==="text"&&e.marks.length===0)return e;if(e?.type.name==="paragraph"&&e.childCount===1){const t=e.firstChild;if(t?.type.name==="text"&&t.marks.length===0)return t}}return!1}const Ip=vt(n=>{const e=n.get(tt);n.update(Mi,r=>({...r,editable:r.editable??(()=>!0)}));const t=new Ae("MILKDOWN_CLIPBOARD");return new Pe({key:t,props:{handlePaste:(r,i)=>{var o,s;const l=n.get(Nr),a=(s=(o=r.props).editable)==null?void 0:s.call(o,r.state),{clipboardData:c}=i;if(!a||!c||r.state.selection.$from.node().type.spec.code)return!1;const u=c.getData("text/plain"),h=c.getData("vscode-editor-data");if(h){const g=JSON.parse(h),N=g?.mode;if(u&&N){const{tr:M}=r.state,I=kC("code_block",e);return M.replaceSelectionWith(I.create({language:N})).setSelection(K.near(M.doc.resolve(Math.max(0,M.selection.from-2)))).insertText(u.replace(/\r\n?/g,` +`)),r.dispatch(M),!0}}const d=c.getData("text/html");if(d.length===0&&u.length===0)return!1;const f=Un.fromSchema(e);let p;if(d.length===0){const g=l(u);if(!g||typeof g=="string")return!1;p=Nt.fromSchema(e).serializeFragment(g.content)}else{const g=document.createElement("template");g.innerHTML=d,p=g.content.cloneNode(!0),g.remove()}const m=f.parseSlice(p),y=iS(m);return y?(r.dispatch(r.state.tr.replaceSelectionWith(y,!0)),!0):(r.dispatch(r.state.tr.replaceSelection(m)),!0)},clipboardTextSerializer:r=>{const i=n.get(Er);if(Yl(r.content.toJSON()))return r.content.textBetween(0,r.content.size,` + +`);const o=e.topNodeType.createAndFill(void 0,r.content);return o?i(o):""}}})});Ip.meta={displayName:"Prose",package:"@milkdown/plugin-clipboard"};var Xo=200,ge=function(){};ge.prototype.append=function(e){return e.length?(e=ge.from(e),!this.length&&e||e.length=t?ge.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))};ge.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};ge.prototype.forEach=function(e,t,r){t===void 0&&(t=0),r===void 0&&(r=this.length),t<=r?this.forEachInner(e,t,r,0):this.forEachInvertedInner(e,t,r,0)};ge.prototype.map=function(e,t,r){t===void 0&&(t=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,s){return i.push(e(o,s))},t,r),i};ge.from=function(e){return e instanceof ge?e:e&&e.length?new Dp(e):ge.empty};var Dp=function(n){function e(r){n.call(this),this.values=r}n&&(e.__proto__=n),e.prototype=Object.create(n&&n.prototype),e.prototype.constructor=e;var t={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new e(this.values.slice(i,o))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,o,s,l){for(var a=o;a=s;a--)if(i(this.values[a],l+a)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=Xo)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Xo)return new e(i.flatten().concat(this.values))},t.length.get=function(){return this.values.length},t.depth.get=function(){return 0},Object.defineProperties(e.prototype,t),e}(ge);ge.empty=new Dp([]);var oS=function(n){function e(t,r){n.call(this),this.left=t,this.right=r,this.length=t.length+r.length,this.depth=Math.max(t.depth,r.depth)+1}return n&&(e.__proto__=n),e.prototype=Object.create(n&&n.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rl&&this.right.forEachInner(r,Math.max(i-l,0),Math.min(this.length,o)-l,s+l)===!1)return!1},e.prototype.forEachInvertedInner=function(r,i,o,s){var l=this.left.length;if(i>l&&this.right.forEachInvertedInner(r,i-l,Math.max(o,l)-l,s+l)===!1||o=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},e.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e}(ge);const sS=500;class ut{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;t&&(i=this.remapping(r,this.items.length),o=i.maps.length);let s=e.tr,l,a,c=[],u=[];return this.items.forEach((h,d)=>{if(!h.step){i||(i=this.remapping(r,d+1),o=i.maps.length),o--,u.push(h);return}if(i){u.push(new Ct(h.map));let f=h.step.map(i.slice(o)),p;f&&s.maybeStep(f).doc&&(p=s.mapping.maps[s.mapping.maps.length-1],c.push(new Ct(p,void 0,void 0,c.length+u.length))),o--,p&&i.appendMap(p,o)}else s.maybeStep(h.step);if(h.selection)return l=i?h.selection.map(i.slice(o)):h.selection,a=new ut(this.items.slice(0,r).append(u.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:a,transform:s,selection:l}}addTransform(e,t,r,i){let o=[],s=this.eventCount,l=this.items,a=!i&&l.length?l.get(l.length-1):null;for(let u=0;uaS&&(l=lS(l,c),s-=c),new ut(l.append(o),s)}remapping(e,t){let r=new xr;return this.items.forEach((i,o)=>{let s=i.mirrorOffset!=null&&o-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,s)},e,t),r}addMaps(e){return this.eventCount==0?this:new ut(this.items.append(e.map(t=>new Ct(t))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-t),o=e.mapping,s=e.steps.length,l=this.eventCount;this.items.forEach(d=>{d.selection&&l--},i);let a=t;this.items.forEach(d=>{let f=o.getMirror(--a);if(f==null)return;s=Math.min(s,f);let p=o.maps[f];if(d.step){let m=e.steps[f].invert(e.docs[f]),y=d.selection&&d.selection.map(o.slice(a+1,f));y&&l++,r.push(new Ct(p,m,y))}else r.push(new Ct(p))},i);let c=[];for(let d=t;dsS&&(h=h.compress(this.items.length-r.length)),h}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),r=t.maps.length,i=[],o=0;return this.items.forEach((s,l)=>{if(l>=e)i.push(s),s.selection&&o++;else if(s.step){let a=s.step.map(t.slice(r)),c=a&&a.getMap();if(r--,c&&t.appendMap(c,r),a){let u=s.selection&&s.selection.map(t.slice(r));u&&o++;let h=new Ct(c.invert(),a,u),d,f=i.length-1;(d=i.length&&i[f].merge(h))?i[f]=d:i.push(h)}}else s.map&&r--},this.items.length,0),new ut(ge.from(i.reverse()),o)}}ut.empty=new ut(ge.empty,0);function lS(n,e){let t;return n.forEach((r,i)=>{if(r.selection&&e--==0)return t=i,!1}),n.slice(t)}class Ct{constructor(e,t,r,i){this.map=e,this.step=t,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new Ct(t.getMap().invert(),t,this.selection)}}}class rn{constructor(e,t,r,i,o){this.done=e,this.undone=t,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const aS=20;function cS(n,e,t,r){let i=t.getMeta(mn),o;if(i)return i.historyState;t.getMeta(hS)&&(n=new rn(n.done,n.undone,null,0,-1));let s=t.getMeta("appendedTransaction");if(t.steps.length==0)return n;if(s&&s.getMeta(mn))return s.getMeta(mn).redo?new rn(n.done.addTransform(t,void 0,r,Po(e)),n.undone,Th(t.mapping.maps[t.steps.length-1]),n.prevTime,n.prevComposition):new rn(n.done,n.undone.addTransform(t,void 0,r,Po(e)),null,n.prevTime,n.prevComposition);if(t.getMeta("addToHistory")!==!1&&!(s&&s.getMeta("addToHistory")===!1)){let l=t.getMeta("composition"),a=n.prevTime==0||!s&&n.prevComposition!=l&&(n.prevTime<(t.time||0)-r.newGroupDelay||!uS(t,n.prevRanges)),c=s?ol(n.prevRanges,t.mapping):Th(t.mapping.maps[t.steps.length-1]);return new rn(n.done.addTransform(t,a?e.selection.getBookmark():void 0,r,Po(e)),ut.empty,c,t.time,l??n.prevComposition)}else return(o=t.getMeta("rebased"))?new rn(n.done.rebased(t,o),n.undone.rebased(t,o),ol(n.prevRanges,t.mapping),n.prevTime,n.prevComposition):new rn(n.done.addMaps(t.mapping.maps),n.undone.addMaps(t.mapping.maps),ol(n.prevRanges,t.mapping),n.prevTime,n.prevComposition)}function uS(n,e){if(!e)return!1;if(!n.docChanged)return!0;let t=!1;return n.mapping.maps[0].forEach((r,i)=>{for(let o=0;o=e[o]&&(t=!0)}),t}function Th(n){let e=[];return n.forEach((t,r,i,o)=>e.push(i,o)),e}function ol(n,e){if(!n)return null;let t=[];for(let r=0;r{let t=mn.getState(n);return!t||t.done.eventCount==0?!1:(e&&Rp(t,n,e,!1),!0)},Pp=(n,e)=>{let t=mn.getState(n);return!t||t.undone.eventCount==0?!1:(e&&Rp(t,n,e,!0),!0)};function zr(n,e){return Object.assign(n,{meta:{package:"@milkdown/plugin-history",...e}}),n}const Ra=H("Undo",()=>()=>zp);zr(Ra,{displayName:"Command"});const za=H("Redo",()=>()=>Pp);zr(za,{displayName:"Command"});const Pa=kt({},"historyProviderConfig");zr(Pa,{displayName:"Ctx"});const Lp=vt(n=>dS(n.get(Pa.key)));zr(Lp,{displayName:"Ctx"});const La=He("historyKeymap",{Undo:{shortcuts:"Mod-z",command:n=>{const e=n.get(te);return()=>e.call(Ra.key)}},Redo:{shortcuts:["Mod-y","Shift-Mod-z"],command:n=>{const e=n.get(te);return()=>e.call(za.key)}}});zr(La.ctx,{displayName:"KeymapCtx"});zr(La.shortcuts,{displayName:"Keymap"});const fS=[Pa,Lp,La,Ra,za].flat();function pS(n,e){const{doc:t,selection:r}=n;if(!t||!r||!(r instanceof K||r instanceof Be))return n;const{to:i}=r,o=e.type==="space"?Array(e.size).fill(" ").join(""):" ";return n.insertText(o,i)}const Fa=kt({type:"space",size:2},"indentConfig");Fa.meta={package:"@milkdown/plugin-indent",displayName:"Ctx"};const Fp=vp(n=>({Tab:(e,t)=>{const r=n.get(Fa.key),{tr:i}=e,o=pS(i,r);return o.docChanged?(t?.(o),!0):!1}}));Fp.meta={package:"@milkdown/plugin-indent",displayName:"Shortcut"};const mS=[Fa,Fp];var gS="Expected a function",Ah=NaN,yS="[object Symbol]",kS=/^\s+|\s+$/g,xS=/^[-+]0x[0-9a-f]+$/i,bS=/^0b[01]+$/i,wS=/^0o[0-7]+$/i,CS=parseInt,SS=typeof Qi=="object"&&Qi&&Qi.Object===Object&&Qi,MS=typeof self=="object"&&self&&self.Object===Object&&self,NS=SS||MS||Function("return this")(),ES=Object.prototype,TS=ES.toString,OS=Math.max,AS=Math.min,ll=function(){return NS.Date.now()};function vS(n,e,t){var r,i,o,s,l,a,c=0,u=!1,h=!1,d=!0;if(typeof n!="function")throw new TypeError(gS);e=vh(e)||0,Ql(t)&&(u=!!t.leading,h="maxWait"in t,o=h?OS(vh(t.maxWait)||0,e):o,d="trailing"in t?!!t.trailing:d);function f(b){var F=r,q=i;return r=i=void 0,c=b,s=n.apply(q,F),s}function p(b){return c=b,l=setTimeout(g,e),u?f(b):s}function m(b){var F=b-a,q=b-c,D=e-F;return h?AS(D,o-q):D}function y(b){var F=b-a,q=b-c;return a===void 0||F>=e||F<0||h&&q>=o}function g(){var b=ll();if(y(b))return N(b);l=setTimeout(g,m(b))}function N(b){return l=void 0,d&&r?f(b):(r=i=void 0,s)}function M(){l!==void 0&&clearTimeout(l),c=0,r=a=i=l=void 0}function I(){return l===void 0?s:N(ll())}function R(){var b=ll(),F=y(b);if(r=arguments,i=this,a=b,F){if(l===void 0)return p(a);if(h)return l=setTimeout(g,e),f(a)}return l===void 0&&(l=setTimeout(g,e)),s}return R.cancel=M,R.flush=I,R}function Ql(n){var e=typeof n;return!!n&&(e=="object"||e=="function")}function IS(n){return!!n&&typeof n=="object"}function DS(n){return typeof n=="symbol"||IS(n)&&TS.call(n)==yS}function vh(n){if(typeof n=="number")return n;if(DS(n))return Ah;if(Ql(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=Ql(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=n.replace(kS,"");var t=bS.test(n);return t||wS.test(n)?CS(n.slice(2),t?2:8):xS.test(n)?Ah:+n}var RS=vS;const zS=Zh(RS);let $p=class{constructor(){this.beforeMountedListeners=[],this.mountedListeners=[],this.updatedListeners=[],this.markdownUpdatedListeners=[],this.blurListeners=[],this.focusListeners=[],this.destroyListeners=[],this.beforeMount=e=>(this.beforeMountedListeners.push(e),this),this.mounted=e=>(this.mountedListeners.push(e),this),this.updated=e=>(this.updatedListeners.push(e),this)}get listeners(){return{beforeMount:this.beforeMountedListeners,mounted:this.mountedListeners,updated:this.updatedListeners,markdownUpdated:this.markdownUpdatedListeners,blur:this.blurListeners,focus:this.focusListeners,destroy:this.destroyListeners}}markdownUpdated(e){return this.markdownUpdatedListeners.push(e),this}blur(e){return this.blurListeners.push(e),this}focus(e){return this.focusListeners.push(e),this}destroy(e){return this.destroyListeners.push(e),this}};const Zl=ee(new $p,"listener"),PS=new Ae("MILKDOWN_LISTENER"),Bp=n=>(n.inject(Zl,new $p),async()=>{await n.wait(Vn);const e=n.get(Zl),{listeners:t}=e;t.beforeMount.forEach(l=>l(n)),await n.wait(Si);const r=n.get(Er);let i=null,o=null;const s=new Pe({key:PS,view:()=>({destroy:()=>{t.destroy.forEach(l=>l(n))}}),props:{handleDOMEvents:{focus:()=>(t.focus.forEach(l=>l(n)),!1),blur:()=>(t.blur.forEach(l=>l(n)),!1)}},state:{init:(l,a)=>{i=a.doc,o=r(a.doc)},apply:l=>!l.docChanged||l.getMeta("addToHistory")===!1?void 0:zS(()=>{const{doc:a}=l;if(t.updated.length>0&&i&&!i.eq(a)&&t.updated.forEach(c=>{c(n,a,i)}),t.markdownUpdated.length>0&&i&&!i.eq(a)){const c=r(a);t.markdownUpdated.forEach(u=>{u(n,c,o)}),o=c}i=a},200)()}});n.update(gt,l=>l.concat(s)),await n.wait(Ao),t.mounted.forEach(l=>l(n))});Bp.meta={package:"@milkdown/plugin-listener",displayName:"Listener"};function xs(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const LS=[["ß","ss"],["ẞ","Ss"],["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","Ae"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","Oe"],["Ő","O"],["Ø","O"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","Ue"],["Ű","U"],["Ý","Y"],["Þ","TH"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["ő","o"],["ø","o"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["ẞ","SS"],["à","a"],["À","A"],["á","a"],["Á","A"],["â","a"],["Â","A"],["ã","a"],["Ã","A"],["è","e"],["È","E"],["é","e"],["É","E"],["ê","e"],["Ê","E"],["ì","i"],["Ì","I"],["í","i"],["Í","I"],["ò","o"],["Ò","O"],["ó","o"],["Ó","O"],["ô","o"],["Ô","O"],["õ","o"],["Õ","O"],["ù","u"],["Ù","U"],["ú","u"],["Ú","U"],["ý","y"],["Ý","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["ç","c"],["Ç","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["¢","c"],["¥","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["𝐀","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"],["𝐚","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"],["𝐴","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"],["𝑎","a"],["𝑏","b"],["𝑐","c"],["𝑑","d"],["𝑒","e"],["𝑓","f"],["𝑔","g"],["𝑖","i"],["𝑗","j"],["𝑘","k"],["𝑙","l"],["𝑚","m"],["𝑛","n"],["𝑜","o"],["𝑝","p"],["𝑞","q"],["𝑟","r"],["𝑠","s"],["𝑡","t"],["𝑢","u"],["𝑣","v"],["𝑤","w"],["𝑥","x"],["𝑦","y"],["𝑧","z"],["𝑨","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"],["𝒂","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"],["𝒜","A"],["𝒞","C"],["𝒟","D"],["𝒢","g"],["𝒥","J"],["𝒦","K"],["𝒩","N"],["𝒪","O"],["𝒫","P"],["𝒬","Q"],["𝒮","S"],["𝒯","T"],["𝒰","U"],["𝒱","V"],["𝒲","W"],["𝒳","X"],["𝒴","Y"],["𝒵","Z"],["𝒶","a"],["𝒷","b"],["𝒸","c"],["𝒹","d"],["𝒻","f"],["𝒽","h"],["𝒾","i"],["𝒿","j"],["𝓀","h"],["𝓁","l"],["𝓂","m"],["𝓃","n"],["𝓅","p"],["𝓆","q"],["𝓇","r"],["𝓈","s"],["𝓉","t"],["𝓊","u"],["𝓋","v"],["𝓌","w"],["𝓍","x"],["𝓎","y"],["𝓏","z"],["𝓐","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"],["𝓪","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"],["𝔄","A"],["𝔅","B"],["𝔇","D"],["𝔈","E"],["𝔉","F"],["𝔊","G"],["𝔍","J"],["𝔎","K"],["𝔏","L"],["𝔐","M"],["𝔑","N"],["𝔒","O"],["𝔓","P"],["𝔔","Q"],["𝔖","S"],["𝔗","T"],["𝔘","U"],["𝔙","V"],["𝔚","W"],["𝔛","X"],["𝔜","Y"],["𝔞","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"],["𝔸","A"],["𝔹","B"],["𝔻","D"],["𝔼","E"],["𝔽","F"],["𝔾","G"],["𝕀","I"],["𝕁","J"],["𝕂","K"],["𝕃","L"],["𝕄","M"],["𝕆","N"],["𝕊","S"],["𝕋","T"],["𝕌","U"],["𝕍","V"],["𝕎","W"],["𝕏","X"],["𝕐","Y"],["𝕒","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"],["𝕬","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"],["𝖆","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"],["𝖠","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"],["𝖺","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"],["𝗔","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"],["𝗮","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"],["𝘈","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"],["𝘢","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"],["𝘼","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"],["𝙖","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"],["𝙰","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"],["𝚊","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"],["𝚤","l"],["𝚥","j"],["𝛢","A"],["𝛣","B"],["𝛤","G"],["𝛥","D"],["𝛦","E"],["𝛧","Z"],["𝛨","I"],["𝛩","TH"],["𝛪","I"],["𝛫","K"],["𝛬","L"],["𝛭","M"],["𝛮","N"],["𝛯","KS"],["𝛰","O"],["𝛱","P"],["𝛲","R"],["𝛳","TH"],["𝛴","S"],["𝛵","T"],["𝛶","Y"],["𝛷","F"],["𝛸","x"],["𝛹","PS"],["𝛺","O"],["𝛻","D"],["𝛼","a"],["𝛽","b"],["𝛾","g"],["𝛿","d"],["𝜀","e"],["𝜁","z"],["𝜂","i"],["𝜃","th"],["𝜄","i"],["𝜅","k"],["𝜆","l"],["𝜇","m"],["𝜈","n"],["𝜉","ks"],["𝜊","o"],["𝜋","p"],["𝜌","r"],["𝜍","s"],["𝜎","s"],["𝜏","t"],["𝜐","y"],["𝜑","f"],["𝜒","x"],["𝜓","ps"],["𝜔","o"],["𝜕","d"],["𝜖","E"],["𝜗","TH"],["𝜘","K"],["𝜙","f"],["𝜚","r"],["𝜛","p"],["𝜜","A"],["𝜝","V"],["𝜞","G"],["𝜟","D"],["𝜠","E"],["𝜡","Z"],["𝜢","I"],["𝜣","TH"],["𝜤","I"],["𝜥","K"],["𝜦","L"],["𝜧","M"],["𝜨","N"],["𝜩","KS"],["𝜪","O"],["𝜫","P"],["𝜬","S"],["𝜭","TH"],["𝜮","S"],["𝜯","T"],["𝜰","Y"],["𝜱","F"],["𝜲","X"],["𝜳","PS"],["𝜴","O"],["𝜵","D"],["𝜶","a"],["𝜷","v"],["𝜸","g"],["𝜹","d"],["𝜺","e"],["𝜻","z"],["𝜼","i"],["𝜽","th"],["𝜾","i"],["𝜿","k"],["𝝀","l"],["𝝁","m"],["𝝂","n"],["𝝃","ks"],["𝝄","o"],["𝝅","p"],["𝝆","r"],["𝝇","s"],["𝝈","s"],["𝝉","t"],["𝝊","y"],["𝝋","f"],["𝝌","x"],["𝝍","ps"],["𝝎","o"],["𝝏","a"],["𝝐","e"],["𝝑","i"],["𝝒","k"],["𝝓","f"],["𝝔","r"],["𝝕","p"],["𝝖","A"],["𝝗","B"],["𝝘","G"],["𝝙","D"],["𝝚","E"],["𝝛","Z"],["𝝜","I"],["𝝝","TH"],["𝝞","I"],["𝝟","K"],["𝝠","L"],["𝝡","M"],["𝝢","N"],["𝝣","KS"],["𝝤","O"],["𝝥","P"],["𝝦","R"],["𝝧","TH"],["𝝨","S"],["𝝩","T"],["𝝪","Y"],["𝝫","F"],["𝝬","X"],["𝝭","PS"],["𝝮","O"],["𝝯","D"],["𝝰","a"],["𝝱","v"],["𝝲","g"],["𝝳","d"],["𝝴","e"],["𝝵","z"],["𝝶","i"],["𝝷","th"],["𝝸","i"],["𝝹","k"],["𝝺","l"],["𝝻","m"],["𝝼","n"],["𝝽","ks"],["𝝾","o"],["𝝿","p"],["𝞀","r"],["𝞁","s"],["𝞂","s"],["𝞃","t"],["𝞄","y"],["𝞅","f"],["𝞆","x"],["𝞇","ps"],["𝞈","o"],["𝞉","a"],["𝞊","e"],["𝞋","i"],["𝞌","k"],["𝞍","f"],["𝞎","r"],["𝞏","p"],["𝞐","A"],["𝞑","V"],["𝞒","G"],["𝞓","D"],["𝞔","E"],["𝞕","Z"],["𝞖","I"],["𝞗","TH"],["𝞘","I"],["𝞙","K"],["𝞚","L"],["𝞛","M"],["𝞜","N"],["𝞝","KS"],["𝞞","O"],["𝞟","P"],["𝞠","S"],["𝞡","TH"],["𝞢","S"],["𝞣","T"],["𝞤","Y"],["𝞥","F"],["𝞦","X"],["𝞧","PS"],["𝞨","O"],["𝞩","D"],["𝞪","av"],["𝞫","g"],["𝞬","d"],["𝞭","e"],["𝞮","z"],["𝞯","i"],["𝞰","i"],["𝞱","th"],["𝞲","i"],["𝞳","k"],["𝞴","l"],["𝞵","m"],["𝞶","n"],["𝞷","ks"],["𝞸","o"],["𝞹","p"],["𝞺","r"],["𝞻","s"],["𝞼","s"],["𝞽","t"],["𝞾","y"],["𝞿","f"],["𝟀","x"],["𝟁","ps"],["𝟂","o"],["𝟃","a"],["𝟄","e"],["𝟅","i"],["𝟆","k"],["𝟇","f"],["𝟈","r"],["𝟉","p"],["𝟊","F"],["𝟋","f"],["⒜","(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)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(b)"],["ⓓ","(c)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["𝟎","0"],["𝟏","1"],["𝟐","2"],["𝟑","3"],["𝟒","4"],["𝟓","5"],["𝟔","6"],["𝟕","7"],["𝟖","8"],["𝟗","9"],["𝟘","0"],["𝟙","1"],["𝟚","2"],["𝟛","3"],["𝟜","4"],["𝟝","5"],["𝟞","6"],["𝟟","7"],["𝟠","8"],["𝟡","9"],["𝟢","0"],["𝟣","1"],["𝟤","2"],["𝟥","3"],["𝟦","4"],["𝟧","5"],["𝟨","6"],["𝟩","7"],["𝟪","8"],["𝟫","9"],["𝟬","0"],["𝟭","1"],["𝟮","2"],["𝟯","3"],["𝟰","4"],["𝟱","5"],["𝟲","6"],["𝟳","7"],["𝟴","8"],["𝟵","9"],["𝟶","0"],["𝟷","1"],["𝟸","2"],["𝟹","3"],["𝟺","4"],["𝟻","5"],["𝟼","6"],["𝟽","7"],["𝟾","8"],["𝟿","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["🙰","&"],["🙱","&"],["🙲","&"],["🙳","&"],["🙴","&"],["🙵","&"],["🙶",'"'],["🙷",'"'],["🙸",'"'],["‽","?!"],["🙹","?!"],["🙺","?!"],["🙻","?!"],["🙼","/"],["🙽","\\"],["🜇","AR"],["🜈","V"],["🜉","V"],["🜆","VR"],["🜅","VF"],["🜩","2"],["🜪","5"],["🝡","f"],["🝢","W"],["🝣","U"],["🝧","V"],["🝨","T"],["🝪","V"],["🝫","MB"],["🝬","VB"],["🝲","3B"],["🝳","3B"],["💯","100"],["🔙","BACK"],["🔚","END"],["🔛","ON!"],["🔜","SOON"],["🔝","TOP"],["🔞","18"],["🔤","abc"],["🔠","ABCD"],["🔡","abcd"],["🔢","1234"],["🔣","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["🔟","10"],["🅰️","A"],["🅱️","B"],["🆎","AB"],["🆑","CL"],["🅾️","O"],["🅿","P"],["🆘","SOS"],["🅲","C"],["🅳","D"],["🅴","E"],["🅵","F"],["🅶","G"],["🅷","H"],["🅸","I"],["🅹","J"],["🅺","K"],["🅻","L"],["🅼","M"],["🅽","N"],["🆀","Q"],["🆁","R"],["🆂","S"],["🆃","T"],["🆄","U"],["🆅","V"],["🆆","W"],["🆇","X"],["🆈","Y"],["🆉","Z"]],FS=(n,e)=>{for(const[t,r]of e)n=n.replace(new RegExp(xs(t),"g"),r);return n};function $S(n,e){if(typeof n!="string")throw new TypeError(`Expected a string, got \`${typeof n}\``);e={customReplacements:[],...e};const t=new Map([...LS,...e.customReplacements]);return n=n.normalize(),n=FS(n,t),n=n.normalize("NFD").replace(/\p{Diacritic}/gu,"").normalize(),n}const BS=[["&"," and "],["🦄"," unicorn "],["♥"," love "]],jS=n=>n.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),VS=(n,e)=>{const t=xs(e);return n.replace(new RegExp(`${t}{2,}`,"g"),e).replace(new RegExp(`^${t}|${t}$`,"g"),"")},_S=n=>{let e="a-z\\d";if(e+=n.lowercase?"":"A-Z",n.preserveCharacters.length>0)for(const t of n.preserveCharacters){if(t===n.separator)throw new Error(`The separator character \`${n.separator}\` cannot be included in preserved characters: ${n.preserveCharacters}`);e+=xs(t)}return new RegExp(`[^${e}]+`,"g")};function WS(n,e){if(typeof n!="string")throw new TypeError(`Expected a string, got \`${typeof n}\``);e={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],...e};const t=e.preserveLeadingUnderscore&&n.startsWith("_"),r=e.preserveTrailingDash&&n.endsWith("-"),i=new Map([...BS,...e.customReplacements]);n=$S(n,{customReplacements:i}),e.decamelize&&(n=jS(n));const o=_S(e);return e.lowercase&&(n=n.toLowerCase()),n=n.replace(/([a-zA-Z\d]+)'([ts])(\s|$)/g,"$1$2$3"),n=n.replace(o,e.separator),n=n.replace(/\\/g,""),e.separator&&(n=VS(n,e.separator)),t&&(n=`_${n}`),r&&(n=`${n}-`),n}function HS(n,e){return function(t,r){let{$from:i,$to:o,node:s}=t.selection;if(s&&s.isBlock||i.depth<2||!i.sameParent(o))return!1;let l=i.node(-1);if(l.type!=n)return!1;if(i.parent.content.size==0&&i.node(-1).childCount==i.indexAfter(-1)){if(i.depth==3||i.node(-3).type!=n||i.index(-2)!=i.node(-2).childCount-1)return!1;if(r){let h=E.empty,d=i.index(-1)?1:i.index(-2)?2:3;for(let g=i.depth-d;g>=i.depth-3;g--)h=E.from(i.node(g).copy(h));let f=i.indexAfter(-1){if(y>-1)return!1;g.isTextblock&&g.content.size==0&&(y=N+1)}),y>-1&&m.setSelection(V.near(m.doc.resolve(y))),r(m.scrollIntoView())}return!0}let a=o.pos==i.end()?l.contentMatchAt(0).defaultType:null,c=t.tr.delete(i.pos,o.pos),u=a?[e?{type:n,attrs:e}:null,{type:a}]:void 0;return ki(c.doc,i.pos,2,u)?(r&&r(c.split(i.pos,2,u).scrollIntoView()),!0):!1}}function jp(n){return function(e,t){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,s=>s.childCount>0&&s.firstChild.type==n);return o?t?r.node(o.depth-1).type==n?qS(e,t,n,o):KS(e,t,o):!0:!1}}function qS(n,e,t,r){let i=n.tr,o=r.end,s=r.$to.end(r.depth);om;p--)f-=i.child(p).nodeSize,r.delete(f-1,f+1);let o=r.doc.resolve(t.start),s=o.nodeAfter;if(r.mapping.map(t.end)!=t.start+o.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==i.childCount,c=o.node(-1),u=o.index(-1);if(!c.canReplace(u+(l?0:1),u+1,s.content.append(a?E.empty:E.from(i))))return!1;let h=o.pos,d=h+s.nodeSize;return r.step(new Te(h-(l?1:0),d+(a?1:0),h+1,d-1,new A((l?E.empty:E.from(i.copy(E.empty))).append(a?E.empty:E.from(i.copy(E.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function US(n){return function(e,t){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==n);if(!o)return!1;let s=o.startIndex;if(s==0)return!1;let l=o.parent,a=l.child(s-1);if(a.type!=n)return!1;if(t){let c=a.lastChild&&a.lastChild.type==l.type,u=E.from(c?n.create():null),h=new A(E.from(n.create(null,E.from(l.type.create(null,u)))),c?3:1,0),d=o.start,f=o.end;t(e.tr.step(new Te(d-(c?3:1),f,d,f,h,1,!0)).scrollIntoView())}return!0}}function JS(n){const e=new Map;if(!n||!n.type)throw new Error("mdast-util-definitions expected node");return Wt(n,"definition",function(r){const i=Ih(r.identifier);i&&!e.get(i)&&e.set(i,r)}),t;function t(r){const i=Ih(r);return e.get(i)}}function Ih(n){return String(n||"").toUpperCase()}function GS(){return function(n){const e=JS(n);Wt(n,function(t,r,i){if(t.type==="definition"&&i!==void 0&&typeof r=="number")return i.children.splice(r,1),[Fl,r];if(t.type==="imageReference"||t.type==="linkReference"){const o=e(t.identifier);if(o&&i&&typeof r=="number")return i.children[r]=t.type==="imageReference"?{type:"image",url:o.url,title:o.title,alt:t.alt}:{type:"link",url:o.url,title:o.title,children:t.children},[Fl,r]}})}}function Vp(n,e){var t;if(!(e.childCount>=1&&((t=e.lastChild)==null?void 0:t.type.name)==="hardbreak")){n.next(e.content);return}const r=[];e.content.forEach((i,o,s)=>{s!==e.childCount-1&&r.push(i)}),n.next(E.fromArray(r))}function C(n,e){return Object.assign(n,{meta:{package:"@milkdown/preset-commonmark",...e}}),n}const $a=Wi("emphasis");C($a,{displayName:"Attr",group:"Emphasis"});const Pr=_i("emphasis",n=>({attrs:{marker:{default:n.get(_n).emphasis||"*"}},parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style",getAttrs:e=>e==="italic"}],toDOM:e=>["em",n.get($a.key)(e)],parseMarkdown:{match:e=>e.type==="emphasis",runner:(e,t,r)=>{e.openMark(r,{marker:t.marker}),e.next(t.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="emphasis",runner:(e,t)=>{e.withMark(t,"emphasis",void 0,{marker:t.attrs.marker})}}}));C(Pr.mark,{displayName:"MarkSchema",group:"Emphasis"});C(Pr.ctx,{displayName:"MarkSchemaCtx",group:"Emphasis"});const Ba=H("ToggleEmphasis",n=>()=>ys(Pr.type(n)));C(Ba,{displayName:"Command",group:"Emphasis"});const _p=me(n=>Vi(/(?:^|[^*])\*([^*]+)\*$/,Pr.type(n),{updateCaptured:({fullMatch:e,start:t})=>e.startsWith("*")?{}:{fullMatch:e.slice(1),start:t+1}}));C(_p,{displayName:"InputRule|Star",group:"Emphasis"});const Wp=me(n=>Vi(/(?:^|[^_])_([^_]+)_$/,Pr.type(n),{updateCaptured:({fullMatch:e,start:t})=>e.startsWith("_")?{}:{fullMatch:e.slice(1),start:t+1}}));C(Wp,{displayName:"InputRule|Underscore",group:"Emphasis"});const ja=He("emphasisKeymap",{ToggleEmphasis:{shortcuts:"Mod-i",command:n=>{const e=n.get(te);return()=>e.call(Ba.key)}}});C(ja.ctx,{displayName:"KeymapCtx",group:"Emphasis"});C(ja.shortcuts,{displayName:"Keymap",group:"Emphasis"});const Va=Wi("strong");C(Va,{displayName:"Attr",group:"Strong"});const Hi=_i("strong",n=>({attrs:{marker:{default:n.get(_n).strong||"*"}},parseDOM:[{tag:"b"},{tag:"strong"},{style:"font-style",getAttrs:e=>e==="bold"}],toDOM:e=>["strong",n.get(Va.key)(e)],parseMarkdown:{match:e=>e.type==="strong",runner:(e,t,r)=>{e.openMark(r,{marker:t.marker}),e.next(t.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="strong",runner:(e,t)=>{e.withMark(t,"strong",void 0,{marker:t.attrs.marker})}}}));C(Hi.mark,{displayName:"MarkSchema",group:"Strong"});C(Hi.ctx,{displayName:"MarkSchemaCtx",group:"Strong"});const _a=H("ToggleStrong",n=>()=>ys(Hi.type(n)));C(_a,{displayName:"Command",group:"Strong"});const Hp=me(n=>Vi(/(?:\*\*|__)([^*_]+)(?:\*\*|__)$/,Hi.type(n)));C(Hp,{displayName:"InputRule",group:"Strong"});const Wa=He("strongKeymap",{ToggleBold:{shortcuts:["Mod-b"],command:n=>{const e=n.get(te);return()=>e.call(_a.key)}}});C(Wa.ctx,{displayName:"KeymapCtx",group:"Strong"});C(Wa.shortcuts,{displayName:"Keymap",group:"Strong"});const Ha=Wi("inlineCode");C(Ha,{displayName:"Attr",group:"InlineCode"});const un=_i("inlineCode",n=>({priority:100,code:!0,inclusive:!1,parseDOM:[{tag:"code"}],toDOM:e=>["code",n.get(Ha.key)(e)],parseMarkdown:{match:e=>e.type==="inlineCode",runner:(e,t,r)=>{e.openMark(r),e.addText(t.value),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="inlineCode",runner:(e,t,r)=>{e.withMark(t,"inlineCode",r.text||"")}}}));C(un.mark,{displayName:"MarkSchema",group:"InlineCode"});C(un.ctx,{displayName:"MarkSchemaCtx",group:"InlineCode"});const qa=H("ToggleInlineCode",n=>()=>(e,t)=>{const{selection:r,tr:i}=e;if(r.empty)return!1;const{from:o,to:s}=r;return e.doc.rangeHasMark(o,s,un.type(n))?(t?.(i.removeMark(o,s,un.type(n))),!0):(Object.keys(e.schema.marks).filter(l=>l!==un.type.name).map(l=>e.schema.marks[l]).forEach(l=>{i.removeMark(o,s,l)}),t?.(i.addMark(o,s,un.type(n).create())),!0)});C(qa,{displayName:"Command",group:"InlineCode"});const qp=me(n=>Vi(/(?:\`)([^\`]+)(?:\`)$/,un.type(n)));C(qp,{displayName:"InputRule",group:"InlineCode"});const Ka=He("inlineCodeKeymap",{ToggleInlineCode:{shortcuts:"Mod-e",command:n=>{const e=n.get(te);return()=>e.call(qa.key)}}});C(Ka.ctx,{displayName:"KeymapCtx",group:"InlineCode"});C(Ka.shortcuts,{displayName:"Keymap",group:"InlineCode"});const Ua=Wi("link");C(Ua,{displayName:"Attr",group:"Link"});const Tr=_i("link",n=>({attrs:{href:{},title:{default:null}},parseDOM:[{tag:"a[href]",getAttrs:e=>{if(!(e instanceof HTMLElement))throw yt(e);return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM:e=>["a",{...n.get(Ua.key)(e),...e.attrs}],parseMarkdown:{match:e=>e.type==="link",runner:(e,t,r)=>{const i=t.url,o=t.title;e.openMark(r,{href:i,title:o}),e.next(t.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="link",runner:(e,t)=>{e.withMark(t,"link",void 0,{title:t.attrs.title,url:t.attrs.href})}}}));C(Tr.mark,{displayName:"MarkSchema",group:"Link"});const Kp=H("ToggleLink",n=>(e={})=>ys(Tr.type(n),e));C(Kp,{displayName:"Command",group:"Link"});const Up=H("UpdateLink",n=>(e={})=>(t,r)=>{if(!r)return!1;let i,o=-1;const{selection:s}=t,{from:l,to:a}=s;if(t.doc.nodesBetween(l,l===a?a+1:a,(p,m)=>{if(Tr.type(n).isInSet(p.marks))return i=p,o=m,!1}),!i)return!1;const c=i.marks.find(({type:p})=>p===Tr.type(n));if(!c)return!1;const u=o,h=o+i.nodeSize,{tr:d}=t,f=Tr.type(n).create({...c.attrs,...e});return f?(r(d.removeMark(u,h,c).addMark(u,h,f).setSelection(new K(d.selection.$anchor)).scrollIntoView()),!0):!1});C(Up,{displayName:"Command",group:"Link"});const Jp=Da("doc",()=>({content:"block+",parseMarkdown:{match:({type:n})=>n==="root",runner:(n,e,t)=>{n.injectRoot(e,t)}},toMarkdown:{match:n=>n.type.name==="doc",runner:(n,e)=>{n.openNode("root"),n.next(e.content)}}}));C(Jp,{displayName:"NodeSchema",group:"Doc"});const Ja=rt("paragraph");C(Ja,{displayName:"Attr",group:"Paragraph"});const qt=fe("paragraph",n=>({content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:e=>["p",n.get(Ja.key)(e),0],parseMarkdown:{match:e=>e.type==="paragraph",runner:(e,t,r)=>{e.openNode(r),t.children?e.next(t.children):e.addText(t.value||""),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="paragraph",runner:(e,t)=>{e.openNode("paragraph"),Vp(e,t),e.closeNode()}}}));C(qt.node,{displayName:"NodeSchema",group:"Paragraph"});C(qt.ctx,{displayName:"NodeSchemaCtx",group:"Paragraph"});const Ga=H("TurnIntoText",n=>()=>Qn(qt.type(n)));C(Ga,{displayName:"Command",group:"Paragraph"});const Ya=He("paragraphKeymap",{TurnIntoText:{shortcuts:"Mod-Alt-0",command:n=>{const e=n.get(te);return()=>e.call(Ga.key)}}});C(Ya.ctx,{displayName:"KeymapCtx",group:"Paragraph"});C(Ya.shortcuts,{displayName:"Keymap",group:"Paragraph"});const YS=Array(6).fill(0).map((n,e)=>e+1);function QS(n){return WS(n.textContent)}const bs=kt(QS,"headingIdGenerator");C(bs,{displayName:"Ctx",group:"Heading"});const Qa=rt("heading");C(Qa,{displayName:"Attr",group:"Heading"});const er=fe("heading",n=>{const e=n.get(bs.key);return{content:"inline*",group:"block",defining:!0,attrs:{id:{default:""},level:{default:1}},parseDOM:YS.map(t=>({tag:`h${t}`,getAttrs:r=>{if(!(r instanceof HTMLElement))throw yt(r);return{level:t,id:r.id}}})),toDOM:t=>[`h${t.attrs.level}`,{...n.get(Qa.key)(t),id:t.attrs.id||e(t)},0],parseMarkdown:{match:({type:t})=>t==="heading",runner:(t,r,i)=>{const o=r.depth;t.openNode(i,{level:o}),t.next(r.children),t.closeNode()}},toMarkdown:{match:t=>t.type.name==="heading",runner:(t,r)=>{t.openNode("heading",void 0,{depth:r.attrs.level}),Vp(t,r),t.closeNode()}}}});C(er.node,{displayName:"NodeSchema",group:"Heading"});C(er.ctx,{displayName:"NodeSchemaCtx",group:"Heading"});const Gp=me(n=>np(/^(?#+)\s$/,er.type(n),e=>{var t,r;const i=((r=(t=e.groups)==null?void 0:t.hashes)==null?void 0:r.length)||0,o=n.get(Wn),{$from:s}=o.state.selection,l=s.node();if(l.type.name==="heading"){let a=Number(l.attrs.level)+Number(i);return a>6&&(a=6),{level:a}}return{level:i}}));C(Gp,{displayName:"InputRule",group:"Heading"});const on=H("WrapInHeading",n=>e=>(e??(e=1),e<1?Qn(qt.type(n)):Qn(er.type(n),{level:e})));C(on,{displayName:"Command",group:"Heading"});const Za=H("DowngradeHeading",n=>()=>(e,t,r)=>{const{$from:i}=e.selection,o=i.node();if(o.type!==er.type(n)||!e.selection.empty||i.parentOffset!==0)return!1;const s=o.attrs.level-1;return s?(t?.(e.tr.setNodeMarkup(e.selection.$from.before(),void 0,{...o.attrs,level:s})),!0):Qn(qt.type(n))(e,t,r)});C(Za,{displayName:"Command",group:"Heading"});const Xa=He("headingKeymap",{TurnIntoH1:{shortcuts:"Mod-Alt-1",command:n=>{const e=n.get(te);return()=>e.call(on.key,1)}},TurnIntoH2:{shortcuts:"Mod-Alt-2",command:n=>{const e=n.get(te);return()=>e.call(on.key,2)}},TurnIntoH3:{shortcuts:"Mod-Alt-3",command:n=>{const e=n.get(te);return()=>e.call(on.key,3)}},TurnIntoH4:{shortcuts:"Mod-Alt-4",command:n=>{const e=n.get(te);return()=>e.call(on.key,4)}},TurnIntoH5:{shortcuts:"Mod-Alt-5",command:n=>{const e=n.get(te);return()=>e.call(on.key,5)}},TurnIntoH6:{shortcuts:"Mod-Alt-6",command:n=>{const e=n.get(te);return()=>e.call(on.key,6)}},DowngradeHeading:{shortcuts:["Delete","Backspace"],command:n=>{const e=n.get(te);return()=>e.call(Za.key)}}});C(Xa.ctx,{displayName:"KeymapCtx",group:"Heading"});C(Xa.shortcuts,{displayName:"Keymap",group:"Heading"});const ec=rt("blockquote");C(ec,{displayName:"Attr
    ",group:"Blockquote"});const Lr=fe("blockquote",n=>({content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM:e=>["blockquote",n.get(ec.key)(e),0],parseMarkdown:{match:({type:e})=>e==="blockquote",runner:(e,t,r)=>{e.openNode(r).next(t.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="blockquote",runner:(e,t)=>{e.openNode("blockquote").next(t.content).closeNode()}}}));C(Lr.node,{displayName:"NodeSchema
    ",group:"Blockquote"});C(Lr.ctx,{displayName:"NodeSchemaCtx
    ",group:"Blockquote"});const Yp=me(n=>Cr(/^\s*>\s$/,Lr.type(n)));C(Yp,{displayName:"InputRule",group:"Blockquote"});const tc=H("WrapInBlockquote",n=>()=>Ia(Lr.type(n)));C(tc,{displayName:"Command",group:"Blockquote"});const nc=He("blockquoteKeymap",{WrapInBlockquote:{shortcuts:"Mod-Shift-b",command:n=>{const e=n.get(te);return()=>e.call(tc.key)}}});C(nc.ctx,{displayName:"KeymapCtx
    ",group:"Blockquote"});C(nc.shortcuts,{displayName:"Keymap
    ",group:"Blockquote"});const rc=rt("codeBlock",()=>({pre:{},code:{}}));C(rc,{displayName:"Attr",group:"CodeBlock"});const Fr=fe("code_block",n=>({content:"text*",group:"block",marks:"",defining:!0,code:!0,attrs:{language:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:e=>{if(!(e instanceof HTMLElement))throw yt(e);return{language:e.dataset.language}}}],toDOM:e=>{const t=n.get(rc.key)(e);return["pre",{...t.pre,"data-language":e.attrs.language},["code",t.code,0]]},parseMarkdown:{match:({type:e})=>e==="code",runner:(e,t,r)=>{const i=t.lang,o=t.value;e.openNode(r,{language:i}),o&&e.addText(o),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="code_block",runner:(e,t)=>{var r;e.addNode("code",void 0,((r=t.content.firstChild)==null?void 0:r.text)||"",{lang:t.attrs.language})}}}));C(Fr.node,{displayName:"NodeSchema",group:"CodeBlock"});C(Fr.ctx,{displayName:"NodeSchemaCtx",group:"CodeBlock"});const Qp=me(n=>np(/^```(?[a-z]*)?[\s\n]$/,Fr.type(n),e=>{var t;return{language:((t=e.groups)==null?void 0:t.language)??""}}));C(Qp,{displayName:"InputRule",group:"CodeBlock"});const ic=H("CreateCodeBlock",n=>(e="")=>Qn(Fr.type(n),{language:e}));C(ic,{displayName:"Command",group:"CodeBlock"});const ZS=H("UpdateCodeBlockLanguage",()=>({pos:n,language:e}={pos:-1,language:""})=>(t,r)=>n>=0?(r?.(t.tr.setNodeAttribute(n,"language",e)),!0):!1);C(ZS,{displayName:"Command",group:"CodeBlock"});const oc=He("codeBlockKeymap",{CreateCodeBlock:{shortcuts:"Mod-Alt-c",command:n=>{const e=n.get(te);return()=>e.call(ic.key)}}});C(oc.ctx,{displayName:"KeymapCtx",group:"CodeBlock"});C(oc.shortcuts,{displayName:"Keymap",group:"CodeBlock"});const sc=rt("image");C(sc,{displayName:"Attr",group:"Image"});const tr=fe("image",n=>({inline:!0,group:"inline",selectable:!0,draggable:!0,marks:"",atom:!0,defining:!0,isolating:!0,attrs:{src:{default:""},alt:{default:""},title:{default:""}},parseDOM:[{tag:"img[src]",getAttrs:e=>{if(!(e instanceof HTMLElement))throw yt(e);return{src:e.getAttribute("src")||"",alt:e.getAttribute("alt")||"",title:e.getAttribute("title")||e.getAttribute("alt")||""}}}],toDOM:e=>["img",{...n.get(sc.key)(e),...e.attrs}],parseMarkdown:{match:({type:e})=>e==="image",runner:(e,t,r)=>{const i=t.url,o=t.alt,s=t.title;e.addNode(r,{src:i,alt:o,title:s})}},toMarkdown:{match:e=>e.type.name==="image",runner:(e,t)=>{e.addNode("image",void 0,void 0,{title:t.attrs.title,url:t.attrs.src,alt:t.attrs.alt})}}}));C(tr.node,{displayName:"NodeSchema",group:"Image"});C(tr.ctx,{displayName:"NodeSchemaCtx",group:"Image"});const Zp=H("InsertImage",n=>(e={})=>(t,r)=>{if(!r)return!0;const{src:i="",alt:o="",title:s=""}=e,l=tr.type(n).create({src:i,alt:o,title:s});return l&&r(t.tr.replaceSelectionWith(l).scrollIntoView()),!0});C(Zp,{displayName:"Command",group:"Image"});const Xp=H("UpdateImage",n=>(e={})=>(t,r)=>{const i=wC(t.selection,tr.type(n));if(!i)return!1;const{node:o,pos:s}=i,l={...o.attrs},{src:a,alt:c,title:u}=e;return a!==void 0&&(l.src=a),c!==void 0&&(l.alt=c),u!==void 0&&(l.title=u),r?.(t.tr.setNodeMarkup(s,void 0,l).scrollIntoView()),!0});C(Xp,{displayName:"Command",group:"Image"});const XS=me(n=>new Le(/!\[(?.*?)]\((?.*?)\s*(?="|\))"?(?[^"]+)?"?\)/,(e,t,r,i)=>{const[o,s,l="",a]=t;return o?e.tr.replaceWith(r,i,tr.type(n).create({src:l,alt:s,title:a})):null}));C(XS,{displayName:"InputRule<insertImageInputRule>",group:"Image"});const lc=rt("hardbreak",n=>({"data-is-inline":n.attrs.isInline}));C(lc,{displayName:"Attr<hardbreak>",group:"Hardbreak"});const Hn=fe("hardbreak",n=>({inline:!0,group:"inline",attrs:{isInline:{default:!1}},selectable:!1,parseDOM:[{tag:"br"}],toDOM:e=>["br",n.get(lc.key)(e)],parseMarkdown:{match:({type:e})=>e==="break",runner:(e,t,r)=>{var i;e.addNode(r,{isInline:!!((i=t.data)!=null&&i.isInline)})}},leafText:()=>` +`,toMarkdown:{match:e=>e.type.name==="hardbreak",runner:(e,t)=>{t.attrs.isInline?e.addNode("text",void 0,` +`):e.addNode("break")}}}));C(Hn.node,{displayName:"NodeSchema<hardbreak>",group:"Hardbreak"});C(Hn.ctx,{displayName:"NodeSchemaCtx<hardbreak>",group:"Hardbreak"});const ac=H("InsertHardbreak",n=>()=>(e,t)=>{var r;const{selection:i,tr:o}=e;if(!(i instanceof K))return!1;if(i.empty){const s=i.$from.node();if(s.childCount>0&&((r=s.lastChild)==null?void 0:r.type.name)==="hardbreak")return t?.(o.replaceRangeWith(i.to-1,i.to,e.schema.node("paragraph")).setSelection(V.near(o.doc.resolve(i.to))).scrollIntoView()),!0}return t?.(o.setMeta("hardbreak",!0).replaceSelectionWith(Hn.type(n).create()).scrollIntoView()),!0});C(ac,{displayName:"Command<insertHardbreakCommand>",group:"Hardbreak"});const cc=He("hardbreakKeymap",{InsertHardbreak:{shortcuts:"Shift-Enter",command:n=>{const e=n.get(te);return()=>e.call(ac.key)}}});C(cc.ctx,{displayName:"KeymapCtx<hardbreak>",group:"Hardbreak"});C(cc.shortcuts,{displayName:"Keymap<hardbreak>",group:"Hardbreak"});const uc=rt("hr");C(uc,{displayName:"Attr<hr>",group:"Hr"});const qi=fe("hr",n=>({group:"block",parseDOM:[{tag:"hr"}],toDOM:e=>["hr",n.get(uc.key)(e)],parseMarkdown:{match:({type:e})=>e==="thematicBreak",runner:(e,t,r)=>{e.addNode(r)}},toMarkdown:{match:e=>e.type.name==="hr",runner:e=>{e.addNode("thematicBreak")}}}));C(qi.node,{displayName:"NodeSchema<hr>",group:"Hr"});C(qi.ctx,{displayName:"NodeSchemaCtx<hr>",group:"Hr"});const em=me(n=>new Le(/^(?:---|___\s|\*\*\*\s)$/,(e,t,r,i)=>{const{tr:o}=e;return t[0]&&o.replaceWith(r-1,i,qi.type(n).create()),o}));C(em,{displayName:"InputRule<insertHrInputRule>",group:"Hr"});const tm=H("InsertHr",n=>()=>(e,t)=>{if(!t)return!0;const r=qt.node.type(n).create(),{tr:i,selection:o}=e,{from:s}=o,l=qi.type(n).create();if(!l)return!0;const a=i.replaceSelectionWith(l).insert(s,r),c=V.findFrom(a.doc.resolve(s),1,!0);return c&&t(a.setSelection(c).scrollIntoView()),!0});C(tm,{displayName:"Command<insertHrCommand>",group:"Hr"});const hc=rt("bulletList");C(hc,{displayName:"Attr<bulletList>",group:"BulletList"});const $r=fe("bullet_list",n=>({content:"listItem+",group:"block",attrs:{spread:{default:!1}},parseDOM:[{tag:"ul",getAttrs:e=>{if(!(e instanceof HTMLElement))throw yt(e);return{spread:e.dataset.spread}}}],toDOM:e=>["ul",{...n.get(hc.key)(e),"data-spread":e.attrs.spread},0],parseMarkdown:{match:({type:e,ordered:t})=>e==="list"&&!t,runner:(e,t,r)=>{const i=t.spread!=null?`${t.spread}`:"false";e.openNode(r,{spread:i}).next(t.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="bullet_list",runner:(e,t)=>{e.openNode("list",void 0,{ordered:!1,spread:t.attrs.spread==="true"}).next(t.content).closeNode()}}}));C($r.node,{displayName:"NodeSchema<bulletList>",group:"BulletList"});C($r.ctx,{displayName:"NodeSchemaCtx<bulletList>",group:"BulletList"});const nm=me(n=>Cr(/^\s*([-+*])\s$/,$r.type(n)));C(nm,{displayName:"InputRule<wrapInBulletListInputRule>",group:"BulletList"});const dc=H("WrapInBulletList",n=>()=>Ia($r.type(n)));C(dc,{displayName:"Command<wrapInBulletListCommand>",group:"BulletList"});const fc=He("bulletListKeymap",{WrapInBulletList:{shortcuts:"Mod-Alt-8",command:n=>{const e=n.get(te);return()=>e.call(dc.key)}}});C(fc.ctx,{displayName:"KeymapCtx<bulletListKeymap>",group:"BulletList"});C(fc.shortcuts,{displayName:"Keymap<bulletListKeymap>",group:"BulletList"});const pc=rt("orderedList");C(pc,{displayName:"Attr<orderedList>",group:"OrderedList"});const Br=fe("ordered_list",n=>({content:"listItem+",group:"block",attrs:{order:{default:1},spread:{default:!1}},parseDOM:[{tag:"ol",getAttrs:e=>{if(!(e instanceof HTMLElement))throw yt(e);return{spread:e.dataset.spread,order:e.hasAttribute("start")?Number(e.getAttribute("start")):1}}}],toDOM:e=>["ol",{...n.get(pc.key)(e),...e.attrs.order===1?{}:e.attrs.order,"data-spread":e.attrs.spread},0],parseMarkdown:{match:({type:e,ordered:t})=>e==="list"&&!!t,runner:(e,t,r)=>{const i=t.spread!=null?`${t.spread}`:"true";e.openNode(r,{spread:i}).next(t.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="ordered_list",runner:(e,t)=>{e.openNode("list",void 0,{ordered:!0,start:1,spread:t.attrs.spread==="true"}),e.next(t.content),e.closeNode()}}}));C(Br.node,{displayName:"NodeSchema<orderedList>",group:"OrderedList"});C(Br.ctx,{displayName:"NodeSchemaCtx<orderedList>",group:"OrderedList"});const rm=me(n=>Cr(/^\s*(\d+)\.\s$/,Br.type(n),e=>({order:Number(e[1])}),(e,t)=>t.childCount+t.attrs.order===Number(e[1])));C(rm,{displayName:"InputRule<wrapInOrderedListInputRule>",group:"OrderedList"});const mc=H("WrapInOrderedList",n=>()=>Ia(Br.type(n)));C(mc,{displayName:"Command<wrapInOrderedListCommand>",group:"OrderedList"});const gc=He("orderedListKeymap",{WrapInOrderedList:{shortcuts:"Mod-Alt-7",command:n=>{const e=n.get(te);return()=>e.call(mc.key)}}});C(gc.ctx,{displayName:"KeymapCtx<orderedList>",group:"OrderedList"});C(gc.shortcuts,{displayName:"Keymap<orderedList>",group:"OrderedList"});const yc=rt("listItem");C(yc,{displayName:"Attr<listItem>",group:"ListItem"});const At=fe("list_item",n=>({group:"listItem",content:"paragraph block*",attrs:{label:{default:"•"},listType:{default:"bullet"},spread:{default:"true"}},defining:!0,parseDOM:[{tag:"li",getAttrs:e=>{if(!(e instanceof HTMLElement))throw yt(e);return{label:e.dataset.label,listType:e.dataset["list-type"],spread:e.dataset.spread}}}],toDOM:e=>["li",{...n.get(yc.key)(e),"data-label":e.attrs.label,"data-list-type":e.attrs.listType,"data-spread":e.attrs.spread},0],parseMarkdown:{match:({type:e})=>e==="listItem",runner:(e,t,r)=>{const i=t.label!=null?`${t.label}.`:"•",o=t.label!=null?"ordered":"bullet",s=t.spread!=null?`${t.spread}`:"true";e.openNode(r,{label:i,listType:o,spread:s}),e.next(t.children),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="list_item",runner:(e,t)=>{e.openNode("listItem",void 0,{spread:t.attrs.spread==="true"}),e.next(t.content),e.closeNode()}}}));C(At.node,{displayName:"NodeSchema<listItem>",group:"ListItem"});C(At.ctx,{displayName:"NodeSchemaCtx<listItem>",group:"ListItem"});const kc=H("SinkListItem",n=>()=>US(At.type(n)));C(kc,{displayName:"Command<sinkListItemCommand>",group:"ListItem"});const xc=H("SplitListItem",n=>()=>jp(At.type(n)));C(xc,{displayName:"Command<liftListItemCommand>",group:"ListItem"});const bc=H("SplitListItem",n=>()=>HS(At.type(n)));C(bc,{displayName:"Command<splitListItemCommand>",group:"ListItem"});function eM(n){return(e,t,r)=>{const{selection:i}=e;if(!(i instanceof K))return!1;const{empty:o,$from:s}=i;if(!o||s.parentOffset!==0)return!1;const l=s.node(-1);return l.type!==At.type(n)||l.firstChild!==s.node()||s.node(-2).childCount>1?!1:jp(At.type(n))(e,t,r)}}const wc=H("LiftFirstListItem",n=>()=>eM(n));C(wc,{displayName:"Command<liftFirstListItemCommand>",group:"ListItem"});const Cc=He("listItemKeymap",{NextListItem:{shortcuts:"Enter",command:n=>{const e=n.get(te);return()=>e.call(bc.key)}},SinkListItem:{shortcuts:["Tab","Mod-]"],command:n=>{const e=n.get(te);return()=>e.call(kc.key)}},LiftListItem:{shortcuts:["Shift-Tab","Mod-["],command:n=>{const e=n.get(te);return()=>e.call(xc.key)}},LiftFirstListItem:{shortcuts:["Backspace","Delete"],command:n=>{const e=n.get(te);return()=>e.call(wc.key)}}});C(Cc.ctx,{displayName:"KeymapCtx<listItem>",group:"ListItem"});C(Cc.shortcuts,{displayName:"Keymap<listItem>",group:"ListItem"});const im=Da("text",()=>({group:"inline",parseMarkdown:{match:({type:n})=>n==="text",runner:(n,e)=>{n.addText(e.value)}},toMarkdown:{match:n=>n.type.name==="text",runner:(n,e)=>{n.addNode("text",void 0,e.text)}}}));C(im,{displayName:"NodeSchema<text>",group:"Text"});const Sc=rt("html");C(Sc,{displayName:"Attr<html>",group:"Html"});const Mc=fe("html",n=>({atom:!0,group:"inline",inline:!0,attrs:{value:{default:""}},toDOM:e=>{const t=document.createElement("span"),r={...n.get(Sc.key)(e),"data-value":e.attrs.value,"data-type":"html"};return t.textContent=e.attrs.value,["span",r,e.attrs.value]},parseDOM:[{tag:'span[data-type="html"]',getAttrs:e=>({value:e.dataset.value??""})}],parseMarkdown:{match:({type:e})=>e==="html",runner:(e,t,r)=>{e.addNode(r,{value:t.value})}},toMarkdown:{match:e=>e.type.name==="html",runner:(e,t)=>{e.addNode("html",void 0,t.attrs.value)}}}));C(Mc.node,{displayName:"NodeSchema<html>",group:"Html"});C(Mc.ctx,{displayName:"NodeSchemaCtx<html>",group:"Html"});const tM=[Jp,Ja,qt,bs,Qa,er,lc,Hn,ec,Lr,rc,Fr,uc,qi,sc,tr,hc,$r,pc,Br,yc,At,$a,Pr,Va,Hi,Ha,un,Ua,Tr,Sc,Mc,im].flat(),nM=[Yp,nm,rm,Qp,em,Gp].flat(),rM=[_p,Wp,qp,Hp],iM=[Ga,tc,on,Za,ic,ac,tm,Zp,Xp,mc,dc,kc,bc,xc,wc,Ba,qa,_a,Kp,Up],oM=[nc,oc,cc,Xa,Cc,gc,fc,Ya,ja,Ka,Wa].flat(),Nc=Ht("remarkAddOrderInList",()=>()=>n=>{Wt(n,"list",e=>{if(e.ordered){const t=e.start??1;e.children.forEach((r,i)=>{r.label=i+t})}})});C(Nc.plugin,{displayName:"Remark<remarkAddOrderInListPlugin>",group:"Remark"});C(Nc.options,{displayName:"RemarkConfig<remarkAddOrderInListPlugin>",group:"Remark"});const Ec=Ht("remarkLineBreak",()=>()=>n=>{const e=/[\t ]*(?:\r?\n|\r)/g;Wt(n,"text",(t,r,i)=>{if(!t.value||typeof t.value!="string")return;const o=[];let s=0;e.lastIndex=0;let l=e.exec(t.value);for(;l;){const a=l.index;s!==a&&o.push({type:"text",value:t.value.slice(s,a)}),o.push({type:"break",data:{isInline:!0}}),s=a+l[0].length,l=e.exec(t.value)}if(o.length>0&&i&&typeof r=="number")return s<t.value.length&&o.push({type:"text",value:t.value.slice(s)}),i.children.splice(r,1,...o),r+o.length})});C(Ec.plugin,{displayName:"Remark<remarkLineBreak>",group:"Remark"});C(Ec.options,{displayName:"RemarkConfig<remarkLineBreak>",group:"Remark"});const Tc=Ht("remarkInlineLink",()=>GS);C(Tc.plugin,{displayName:"Remark<remarkInlineLinkPlugin>",group:"Remark"});C(Tc.options,{displayName:"RemarkConfig<remarkInlineLinkPlugin>",group:"Remark"});const sM=n=>!!n.children,lM=n=>n.type==="html";function aM(n,e){return t(n,0,null)[0];function t(r,i,o){if(sM(r)){const s=[];for(let l=0,a=r.children.length;l<a;l++){const c=r.children[l];if(c){const u=t(c,l,r);if(u)for(let h=0,d=u.length;h<d;h++){const f=u[h];f&&s.push(f)}}}r.children=s}return e(r,i,o)}}const Oc=Ht("remarkHTMLTransformer",()=>()=>n=>{aM(n,(e,t,r)=>lM(e)?(r?.type==="root"&&(e.children=[{...e}],delete e.value,e.type="paragraph"),[e]):[e])});C(Oc.plugin,{displayName:"Remark<remarkHtmlTransformer>",group:"Remark"});C(Oc.options,{displayName:"RemarkConfig<remarkHtmlTransformer>",group:"Remark"});const Ac=Ht("remarkMarker",()=>()=>(n,e)=>{const t=r=>e.value.charAt(r.position.start.offset);Wt(n,r=>["strong","emphasis"].includes(r.type),r=>{r.marker=t(r)})});C(Ac.plugin,{displayName:"Remark<remarkMarker>",group:"Remark"});C(Ac.options,{displayName:"RemarkConfig<remarkMarker>",group:"Remark"});const om=vt(()=>{let n=!1;const e=new Ae("MILKDOWN_INLINE_NODES_CURSOR"),t=new Pe({key:e,state:{init(){return!1},apply(r){if(!r.selection.empty)return!1;const i=r.selection.$from,o=i.nodeBefore,s=i.nodeAfter;return!!(o&&s&&o.isInline&&!o.isText&&s.isInline&&!s.isText)}},props:{handleDOMEvents:{compositionend:(r,i)=>n?(n=!1,requestAnimationFrame(()=>{if(t.getState(r.state)){const o=r.state.selection.from;i.preventDefault(),r.dispatch(r.state.tr.insertText(i.data||"",o))}}),!0):!1,compositionstart:r=>(t.getState(r.state)&&(n=!0),!1),beforeinput:(r,i)=>{if(t.getState(r.state)&&i instanceof InputEvent&&i.data&&!n){const o=r.state.selection.from;return i.preventDefault(),r.dispatch(r.state.tr.insertText(i.data||"",o)),!0}return!1}},decorations(r){if(t.getState(r)){const i=r.selection.$from.pos,o=document.createElement("span"),s=Ee.widget(i,o,{side:-1}),l=document.createElement("span"),a=Ee.widget(i,l);return setTimeout(()=>{o.contentEditable="true",l.contentEditable="true"}),ue.create(r.doc,[s,a])}return ue.empty}}});return t});C(om,{displayName:"Prose<inlineNodesCursorPlugin>",group:"Prose"});const sm=vt(n=>new Pe({key:new Ae("MILKDOWN_HARDBREAK_MARKS"),appendTransaction:(e,t,r)=>{if(!e.length)return;const[i]=e;if(!i)return;const[o]=i.steps;if(i.getMeta("hardbreak")){if(!(o instanceof we))return;const{from:s}=o;return r.tr.setNodeMarkup(s,Hn.type(n),void 0,[])}if(o instanceof Vt){let s=r.tr;const{from:l,to:a}=o;return r.doc.nodesBetween(l,a,(c,u)=>{c.type===Hn.type(n)&&(s=s.setNodeMarkup(u,Hn.type(n),void 0,[]))}),s}}}));C(sm,{displayName:"Prose<hardbreakClearMarkPlugin>",group:"Prose"});const vc=kt(["table","code_block"],"hardbreakFilterNodes");C(vc,{displayName:"Ctx<hardbreakFilterNodes>",group:"Prose"});const lm=vt(n=>{const e=n.get(vc.key);return new Pe({key:new Ae("MILKDOWN_HARDBREAK_FILTER"),filterTransaction:(t,r)=>{const i=t.getMeta("hardbreak"),[o]=t.steps;if(i&&o){const{from:s}=o,l=r.doc.resolve(s);let a=l.depth,c=!0;for(;a>0;)e.includes(l.node(a).type.name)&&(c=!1),a--;return c}return!0}})});C(lm,{displayName:"Prose<hardbreakFilterPlugin>",group:"Prose"});const am=vt(n=>{const e=new Ae("MILKDOWN_HEADING_ID"),t=r=>{if(r.composing||!r.editable)return;const i=n.get(bs.key),o=r.state.tr.setMeta("addToHistory",!1);let s=!1;r.state.doc.descendants((l,a)=>{if(l.type===er.type(n)){if(l.textContent.trim().length===0)return;const c=l.attrs,u=i(l);c.id!==u&&(s=!0,o.setMeta(e,!0).setNodeMarkup(a,void 0,{...c,id:u}))}}),s&&r.dispatch(o)};return new Pe({key:e,view:r=>(t(r),{update:i=>{t(i)}})})});C(am,{displayName:"Prose<syncHeadingIdPlugin>",group:"Prose"});const cm=vt(n=>{const e=t=>{if(t.composing||!t.editable)return;const r=Br.type(n),i=$r.type(n),o=At.type(n),s=t.state,l=(u,h)=>{let d=!1;const f=`${h+1}.`;return u.label!==f&&(u.label=f,d=!0),d};let a=s.tr,c=!1;s.doc.descendants((u,h,d,f)=>{if(u.type===i){const p=u.maybeChild(0);p?.type===o&&p.attrs.listType==="ordered"&&(c=!0,a.setNodeMarkup(h,r,{spread:"true"}),u.descendants((m,y,g,N)=>{if(m.type===o){const M={...m.attrs};l(M,N)&&(a=a.setNodeMarkup(y,void 0,M))}return!1}))}else if(u.type===o&&d?.type===r){const p={...u.attrs};let m=!1;p.listType!=="ordered"&&(p.listType="ordered",m=!0),d?.maybeChild(0)&&(m=l(p,f)),m&&(a=a.setNodeMarkup(h,void 0,p),c=!0)}}),c&&t.dispatch(a.setMeta("addToHistory",!1))};return new Pe({key:new Ae("MILKDOWN_KEEP_LIST_ORDER"),view:t=>(e(t),{update:r=>{e(r)}})})});C(cm,{displayName:"Prose<syncListOrderPlugin>",group:"Prose"});const cM=[sm,vc,lm,om,Nc,Tc,Ec,Oc,Ac,am,cm].flat(),uM=[tM,nM,rM,iM,oM,cM].flat();var Xl,ea;if(typeof WeakMap<"u"){let n=new WeakMap;Xl=e=>n.get(e),ea=(e,t)=>(n.set(e,t),t)}else{const n=[];let t=0;Xl=r=>{for(let i=0;i<n.length;i+=2)if(n[i]==r)return n[i+1]},ea=(r,i)=>(t==10&&(t=0),n[t++]=r,n[t++]=i)}var ne=class{constructor(n,e,t,r){this.width=n,this.height=e,this.map=t,this.problems=r}findCell(n){for(let e=0;e<this.map.length;e++){const t=this.map[e];if(t!=n)continue;const r=e%this.width,i=e/this.width|0;let o=r+1,s=i+1;for(let l=1;o<this.width&&this.map[e+l]==t;l++)o++;for(let l=1;s<this.height&&this.map[e+this.width*l]==t;l++)s++;return{left:r,top:i,right:o,bottom:s}}throw new RangeError(`No cell with offset ${n} found`)}colCount(n){for(let e=0;e<this.map.length;e++)if(this.map[e]==n)return e%this.width;throw new RangeError(`No cell with offset ${n} found`)}nextCell(n,e,t){const{left:r,right:i,top:o,bottom:s}=this.findCell(n);return e=="horiz"?(t<0?r==0:i==this.width)?null:this.map[o*this.width+(t<0?r-1:i)]:(t<0?o==0:s==this.height)?null:this.map[r+this.width*(t<0?o-1:s)]}rectBetween(n,e){const{left:t,right:r,top:i,bottom:o}=this.findCell(n),{left:s,right:l,top:a,bottom:c}=this.findCell(e);return{left:Math.min(t,s),top:Math.min(i,a),right:Math.max(r,l),bottom:Math.max(o,c)}}cellsInRect(n){const e=[],t={};for(let r=n.top;r<n.bottom;r++)for(let i=n.left;i<n.right;i++){const o=r*this.width+i,s=this.map[o];t[s]||(t[s]=!0,!(i==n.left&&i&&this.map[o-1]==s||r==n.top&&r&&this.map[o-this.width]==s)&&e.push(s))}return e}positionAt(n,e,t){for(let r=0,i=0;;r++){const o=i+t.child(r).nodeSize;if(r==n){let s=e+n*this.width;const l=(n+1)*this.width;for(;s<l&&this.map[s]<i;)s++;return s==l?o-1:this.map[s]}i=o}}static get(n){return Xl(n)||ea(n,hM(n))}};function hM(n){if(n.type.spec.tableRole!="table")throw new RangeError("Not a table node: "+n.type.name);const e=dM(n),t=n.childCount,r=[];let i=0,o=null;const s=[];for(let c=0,u=e*t;c<u;c++)r[c]=0;for(let c=0,u=0;c<t;c++){const h=n.child(c);u++;for(let p=0;;p++){for(;i<r.length&&r[i]!=0;)i++;if(p==h.childCount)break;const m=h.child(p),{colspan:y,rowspan:g,colwidth:N}=m.attrs;for(let M=0;M<g;M++){if(M+c>=t){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:g-M});break}const I=i+M*e;for(let R=0;R<y;R++){r[I+R]==0?r[I+R]=u:(o||(o=[])).push({type:"collision",row:c,pos:u,n:y-R});const b=N&&N[R];if(b){const F=(I+R)%e*2,q=s[F];q==null||q!=b&&s[F+1]==1?(s[F]=b,s[F+1]=1):q==b&&s[F+1]++}}}i+=y,u+=m.nodeSize}const d=(c+1)*e;let f=0;for(;i<d;)r[i++]==0&&f++;f&&(o||(o=[])).push({type:"missing",row:c,n:f}),u++}const l=new ne(e,t,r,o);let a=!1;for(let c=0;!a&&c<s.length;c+=2)s[c]!=null&&s[c+1]<t&&(a=!0);return a&&fM(l,s,n),l}function dM(n){let e=-1,t=!1;for(let r=0;r<n.childCount;r++){const i=n.child(r);let o=0;if(t)for(let s=0;s<r;s++){const l=n.child(s);for(let a=0;a<l.childCount;a++){const c=l.child(a);s+c.attrs.rowspan>r&&(o+=c.attrs.colspan)}}for(let s=0;s<i.childCount;s++){const l=i.child(s);o+=l.attrs.colspan,l.attrs.rowspan>1&&(t=!0)}e==-1?e=o:e!=o&&(e=Math.max(e,o))}return e}function fM(n,e,t){n.problems||(n.problems=[]);const r={};for(let i=0;i<n.map.length;i++){const o=n.map[i];if(r[o])continue;r[o]=!0;const s=t.nodeAt(o);if(!s)throw new RangeError(`No cell with offset ${o} found`);let l=null;const a=s.attrs;for(let c=0;c<a.colspan;c++){const u=(i+c)%n.width,h=e[u*2];h!=null&&(!a.colwidth||a.colwidth[c]!=h)&&((l||(l=pM(a)))[c]=h)}l&&n.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:l})}}function pM(n){if(n.colwidth)return n.colwidth.slice();const e=[];for(let t=0;t<n.colspan;t++)e.push(0);return e}function Dh(n,e){if(typeof n=="string")return{};const t=n.getAttribute("data-colwidth"),r=t&&/^\d+(,\d+)*$/.test(t)?t.split(",").map(s=>Number(s)):null,i=Number(n.getAttribute("colspan")||1),o={colspan:i,rowspan:Number(n.getAttribute("rowspan")||1),colwidth:r&&r.length==i?r:null};for(const s in e){const l=e[s].getFromDOM,a=l&&l(n);a!=null&&(o[s]=a)}return o}function Rh(n,e){const t={};n.attrs.colspan!=1&&(t.colspan=n.attrs.colspan),n.attrs.rowspan!=1&&(t.rowspan=n.attrs.rowspan),n.attrs.colwidth&&(t["data-colwidth"]=n.attrs.colwidth.join(","));for(const r in e){const i=e[r].setDOMAttr;i&&i(n.attrs[r],t)}return t}function mM(n){const e=n.cellAttributes||{},t={colspan:{default:1},rowspan:{default:1},colwidth:{default:null}};for(const r in e)t[r]={default:e[r].default};return{table:{content:"table_row+",tableRole:"table",isolating:!0,group:n.tableGroup,parseDOM:[{tag:"table"}],toDOM(){return["table",["tbody",0]]}},table_row:{content:"(table_cell | table_header)*",tableRole:"row",parseDOM:[{tag:"tr"}],toDOM(){return["tr",0]}},table_cell:{content:n.cellContent,attrs:t,tableRole:"cell",isolating:!0,parseDOM:[{tag:"td",getAttrs:r=>Dh(r,e)}],toDOM(r){return["td",Rh(r,e),0]}},table_header:{content:n.cellContent,attrs:t,tableRole:"header_cell",isolating:!0,parseDOM:[{tag:"th",getAttrs:r=>Dh(r,e)}],toDOM(r){return["th",Rh(r,e),0]}}}}function nt(n){let e=n.cached.tableNodeTypes;if(!e){e=n.cached.tableNodeTypes={};for(const t in n.nodes){const r=n.nodes[t],i=r.spec.tableRole;i&&(e[i]=r)}}return e}var ln=new Ae("selectingCells");function Ki(n){for(let e=n.depth-1;e>0;e--)if(n.node(e).type.spec.tableRole=="row")return n.node(0).resolve(n.before(e+1));return null}function Ve(n){const e=n.selection.$head;for(let t=e.depth;t>0;t--)if(e.node(t).type.spec.tableRole=="row")return!0;return!1}function ws(n){const e=n.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const t=Ki(e.$head)||gM(e.$head);if(t)return t;throw new RangeError(`No cell found around position ${e.head}`)}function gM(n){for(let e=n.nodeAfter,t=n.pos;e;e=e.firstChild,t++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return n.doc.resolve(t)}for(let e=n.nodeBefore,t=n.pos;e;e=e.lastChild,t--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return n.doc.resolve(t-e.nodeSize)}}function ta(n){return n.parent.type.spec.tableRole=="row"&&!!n.nodeAfter}function yM(n){return n.node(0).resolve(n.pos+n.nodeAfter.nodeSize)}function Ic(n,e){return n.depth==e.depth&&n.pos>=e.start(-1)&&n.pos<=e.end(-1)}function um(n,e,t){const r=n.node(-1),i=ne.get(r),o=n.start(-1),s=i.nextCell(n.pos-o,e,t);return s==null?null:n.node(0).resolve(o+s)}function Zn(n,e,t=1){const r={...n,colspan:n.colspan-t};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,t),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function kM(n,e,t=1){const r={...n,colspan:n.colspan+t};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;i<t;i++)r.colwidth.splice(e,0,0)}return r}function xM(n,e,t){const r=nt(e.type.schema).header_cell;for(let i=0;i<n.height;i++)if(e.nodeAt(n.map[t+i*n.width]).type!=r)return!1;return!0}var se=class $t extends V{constructor(e,t=e){const r=e.node(-1),i=ne.get(r),o=e.start(-1),s=i.rectBetween(e.pos-o,t.pos-o),l=e.node(0),a=i.cellsInRect(s).filter(u=>u!=t.pos-o);a.unshift(t.pos-o);const c=a.map(u=>{const h=r.nodeAt(u);if(!h)throw RangeError(`No cell with offset ${u} found`);const d=o+u+1;return new Id(l.resolve(d),l.resolve(d+h.content.size))});super(c[0].$from,c[0].$to,c),this.$anchorCell=e,this.$headCell=t}map(e,t){const r=e.resolve(t.map(this.$anchorCell.pos)),i=e.resolve(t.map(this.$headCell.pos));if(ta(r)&&ta(i)&&Ic(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?$t.rowSelection(r,i):o&&this.isColSelection()?$t.colSelection(r,i):new $t(r,i)}return K.between(r,i)}content(){const e=this.$anchorCell.node(-1),t=ne.get(e),r=this.$anchorCell.start(-1),i=t.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},s=[];for(let a=i.top;a<i.bottom;a++){const c=[];for(let u=a*t.width+i.left,h=i.left;h<i.right;h++,u++){const d=t.map[u];if(o[d])continue;o[d]=!0;const f=t.findCell(d);let p=e.nodeAt(d);if(!p)throw RangeError(`No cell with offset ${d} found`);const m=i.left-f.left,y=f.right-i.right;if(m>0||y>0){let g=p.attrs;if(m>0&&(g=Zn(g,0,m)),y>0&&(g=Zn(g,g.colspan-y,y)),f.left<i.left){if(p=p.type.createAndFill(g),!p)throw RangeError(`Could not create cell with attrs ${JSON.stringify(g)}`)}else p=p.type.create(g,p.content)}if(f.top<i.top||f.bottom>i.bottom){const g={...p.attrs,rowspan:Math.min(f.bottom,i.bottom)-Math.max(f.top,i.top)};f.top<i.top?p=p.type.createAndFill(g):p=p.type.create(g,p.content)}c.push(p)}s.push(e.child(a).copy(E.from(c)))}const l=this.isColSelection()&&this.isRowSelection()?e:s;return new A(E.from(l),1,1)}replace(e,t=A.empty){const r=e.steps.length,i=this.ranges;for(let s=0;s<i.length;s++){const{$from:l,$to:a}=i[s],c=e.mapping.slice(r);e.replace(c.map(l.pos),c.map(a.pos),s?A.empty:t)}const o=V.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,t){this.replace(e,new A(E.from(t),0,0))}forEachCell(e){const t=this.$anchorCell.node(-1),r=ne.get(t),i=this.$anchorCell.start(-1),o=r.cellsInRect(r.rectBetween(this.$anchorCell.pos-i,this.$headCell.pos-i));for(let s=0;s<o.length;s++)e(t.nodeAt(o[s]),i+o[s])}isColSelection(){const e=this.$anchorCell.index(-1),t=this.$headCell.index(-1);if(Math.min(e,t)>0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,i=t+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(e,t=e){const r=e.node(-1),i=ne.get(r),o=e.start(-1),s=i.findCell(e.pos-o),l=i.findCell(t.pos-o),a=e.node(0);return s.top<=l.top?(s.top>0&&(e=a.resolve(o+i.map[s.left])),l.bottom<i.height&&(t=a.resolve(o+i.map[i.width*(i.height-1)+l.right-1]))):(l.top>0&&(t=a.resolve(o+i.map[l.left])),s.bottom<i.height&&(e=a.resolve(o+i.map[i.width*(i.height-1)+s.right-1]))),new $t(e,t)}isRowSelection(){const e=this.$anchorCell.node(-1),t=ne.get(e),r=this.$anchorCell.start(-1),i=t.colCount(this.$anchorCell.pos-r),o=t.colCount(this.$headCell.pos-r);if(Math.min(i,o)>0)return!1;const s=i+this.$anchorCell.nodeAfter.attrs.colspan,l=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(s,l)==t.width}eq(e){return e instanceof $t&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,t=e){const r=e.node(-1),i=ne.get(r),o=e.start(-1),s=i.findCell(e.pos-o),l=i.findCell(t.pos-o),a=e.node(0);return s.left<=l.left?(s.left>0&&(e=a.resolve(o+i.map[s.top*i.width])),l.right<i.width&&(t=a.resolve(o+i.map[i.width*(l.top+1)-1]))):(l.left>0&&(t=a.resolve(o+i.map[l.top*i.width])),s.right<i.width&&(e=a.resolve(o+i.map[i.width*(s.top+1)-1]))),new $t(e,t)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,t){return new $t(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,r=t){return new $t(e.resolve(t),e.resolve(r))}getBookmark(){return new bM(this.$anchorCell.pos,this.$headCell.pos)}};se.prototype.visible=!1;V.jsonID("cell",se);var bM=class hm{constructor(e,t){this.anchor=e,this.head=t}map(e){return new hm(e.map(this.anchor),e.map(this.head))}resolve(e){const t=e.resolve(this.anchor),r=e.resolve(this.head);return t.parent.type.spec.tableRole=="row"&&r.parent.type.spec.tableRole=="row"&&t.index()<t.parent.childCount&&r.index()<r.parent.childCount&&Ic(t,r)?new se(t,r):V.near(r,1)}};function wM(n){if(!(n.selection instanceof se))return null;const e=[];return n.selection.forEachCell((t,r)=>{e.push(Ee.node(r,r+t.nodeSize,{class:"selectedCell"}))}),ue.create(n.doc,e)}function CM({$from:n,$to:e}){if(n.pos==e.pos||n.pos<n.pos-6)return!1;let t=n.pos,r=e.pos,i=n.depth;for(;i>=0&&!(n.after(i+1)<n.end(i));i--,t++);for(let o=e.depth;o>=0&&!(e.before(o+1)>e.start(o));o--,r--);return t==r&&/row|table/.test(n.node(i).type.spec.tableRole)}function SM({$from:n,$to:e}){let t,r;for(let i=n.depth;i>0;i--){const o=n.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){t=o;break}}for(let i=e.depth;i>0;i--){const o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return t!==r&&e.parentOffset===0}function MM(n,e,t){const r=(e||n).selection,i=(e||n).doc;let o,s;if(r instanceof j&&(s=r.node.type.spec.tableRole)){if(s=="cell"||s=="header_cell")o=se.create(i,r.from);else if(s=="row"){const l=i.resolve(r.from+1);o=se.rowSelection(l,l)}else if(!t){const l=ne.get(r.node),a=r.from+1,c=a+l.map[l.width*l.height-1];o=se.create(i,a+1,c)}}else r instanceof K&&CM(r)?o=K.create(i,r.from):r instanceof K&&SM(r)&&(o=K.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=n.tr)).setSelection(o),e}var NM=new Ae("fix-tables");function dm(n,e,t,r){const i=n.childCount,o=e.childCount;e:for(let s=0,l=0;s<o;s++){const a=e.child(s);for(let c=l,u=Math.min(i,s+3);c<u;c++)if(n.child(c)==a){l=c+1,t+=a.nodeSize;continue e}r(a,t),l<i&&n.child(l).sameMarkup(a)?dm(n.child(l),a,t+1,r):a.nodesBetween(0,a.content.size,r,t+1),t+=a.nodeSize}}function EM(n,e){let t;const r=(i,o)=>{i.type.spec.tableRole=="table"&&(t=TM(n,i,o,t))};return e?e.doc!=n.doc&&dm(e.doc,n.doc,0,r):n.doc.descendants(r),t}function TM(n,e,t,r){const i=ne.get(e);if(!i.problems)return r;r||(r=n.tr);const o=[];for(let a=0;a<i.height;a++)o.push(0);for(let a=0;a<i.problems.length;a++){const c=i.problems[a];if(c.type=="collision"){const u=e.nodeAt(c.pos);if(!u)continue;const h=u.attrs;for(let d=0;d<h.rowspan;d++)o[c.row+d]+=c.n;r.setNodeMarkup(r.mapping.map(t+1+c.pos),null,Zn(h,h.colspan-c.n,c.n))}else if(c.type=="missing")o[c.row]+=c.n;else if(c.type=="overlong_rowspan"){const u=e.nodeAt(c.pos);if(!u)continue;r.setNodeMarkup(r.mapping.map(t+1+c.pos),null,{...u.attrs,rowspan:u.attrs.rowspan-c.n})}else if(c.type=="colwidth mismatch"){const u=e.nodeAt(c.pos);if(!u)continue;r.setNodeMarkup(r.mapping.map(t+1+c.pos),null,{...u.attrs,colwidth:c.colwidth})}}let s,l;for(let a=0;a<o.length;a++)o[a]&&(s==null&&(s=a),l=a);for(let a=0,c=t+1;a<i.height;a++){const u=e.child(a),h=c+u.nodeSize,d=o[a];if(d>0){let f="cell";u.firstChild&&(f=u.firstChild.type.spec.tableRole);const p=[];for(let y=0;y<d;y++){const g=nt(n.schema)[f].createAndFill();g&&p.push(g)}const m=(a==0||s==a-1)&&l==a?c+1:h-1;r.insert(r.mapping.map(m),p)}c=h}return r.setMeta(NM,{fixTables:!0})}function OM(n){if(!n.size)return null;let{content:e,openStart:t,openEnd:r}=n;for(;e.childCount==1&&(t>0&&r>0||e.child(0).type.spec.tableRole=="table");)t--,r--,e=e.child(0).content;const i=e.child(0),o=i.type.spec.tableRole,s=i.type.schema,l=[];if(o=="row")for(let a=0;a<e.childCount;a++){let c=e.child(a).content;const u=a?0:Math.max(0,t-1),h=a<e.childCount-1?0:Math.max(0,r-1);(u||h)&&(c=na(nt(s).row,new A(c,u,h)).content),l.push(c)}else if(o=="cell"||o=="header_cell")l.push(t||r?na(nt(s).row,new A(e,t,r)).content:e);else return null;return AM(s,l)}function AM(n,e){const t=[];for(let i=0;i<e.length;i++){const o=e[i];for(let s=o.childCount-1;s>=0;s--){const{rowspan:l,colspan:a}=o.child(s).attrs;for(let c=i;c<i+l;c++)t[c]=(t[c]||0)+a}}let r=0;for(let i=0;i<t.length;i++)r=Math.max(r,t[i]);for(let i=0;i<t.length;i++)if(i>=e.length&&e.push(E.empty),t[i]<r){const o=nt(n).cell.createAndFill(),s=[];for(let l=t[i];l<r;l++)s.push(o);e[i]=e[i].append(E.from(s))}return{height:e.length,width:r,rows:e}}function na(n,e){const t=n.createAndFill();return new vd(t).replace(0,t.content.size,e).doc}function vM({width:n,height:e,rows:t},r,i){if(n!=r){const o=[],s=[];for(let l=0;l<t.length;l++){const a=t[l],c=[];for(let u=o[l]||0,h=0;u<r;h++){let d=a.child(h%a.childCount);u+d.attrs.colspan>r&&(d=d.type.createChecked(Zn(d.attrs,d.attrs.colspan,u+d.attrs.colspan-r),d.content)),c.push(d),u+=d.attrs.colspan;for(let f=1;f<d.attrs.rowspan;f++)o[l+f]=(o[l+f]||0)+d.attrs.colspan}s.push(E.from(c))}t=s,n=r}if(e!=i){const o=[];for(let s=0,l=0;s<i;s++,l++){const a=[],c=t[l%e];for(let u=0;u<c.childCount;u++){let h=c.child(u);s+h.attrs.rowspan>i&&(h=h.type.create({...h.attrs,rowspan:Math.max(1,i-h.attrs.rowspan)},h.content)),a.push(h)}o.push(E.from(a))}t=o,e=i}return{width:n,height:e,rows:t}}function IM(n,e,t,r,i,o,s){const l=n.doc.type.schema,a=nt(l);let c,u;if(i>e.width)for(let h=0,d=0;h<e.height;h++){const f=t.child(h);d+=f.nodeSize;const p=[];let m;f.lastChild==null||f.lastChild.type==a.cell?m=c||(c=a.cell.createAndFill()):m=u||(u=a.header_cell.createAndFill());for(let y=e.width;y<i;y++)p.push(m);n.insert(n.mapping.slice(s).map(d-1+r),p)}if(o>e.height){const h=[];for(let p=0,m=(e.height-1)*e.width;p<Math.max(e.width,i);p++){const y=p>=e.width?!1:t.nodeAt(e.map[m+p]).type==a.header_cell;h.push(y?u||(u=a.header_cell.createAndFill()):c||(c=a.cell.createAndFill()))}const d=a.row.create(null,E.from(h)),f=[];for(let p=e.height;p<o;p++)f.push(d);n.insert(n.mapping.slice(s).map(r+t.nodeSize-2),f)}return!!(c||u)}function zh(n,e,t,r,i,o,s,l){if(s==0||s==e.height)return!1;let a=!1;for(let c=i;c<o;c++){const u=s*e.width+c,h=e.map[u];if(e.map[u-e.width]==h){a=!0;const d=t.nodeAt(h),{top:f,left:p}=e.findCell(h);n.setNodeMarkup(n.mapping.slice(l).map(h+r),null,{...d.attrs,rowspan:s-f}),n.insert(n.mapping.slice(l).map(e.positionAt(s,p,t)),d.type.createAndFill({...d.attrs,rowspan:f+d.attrs.rowspan-s})),c+=d.attrs.colspan-1}}return a}function Ph(n,e,t,r,i,o,s,l){if(s==0||s==e.width)return!1;let a=!1;for(let c=i;c<o;c++){const u=c*e.width+s,h=e.map[u];if(e.map[u-1]==h){a=!0;const d=t.nodeAt(h),f=e.colCount(h),p=n.mapping.slice(l).map(h+r);n.setNodeMarkup(p,null,Zn(d.attrs,s-f,d.attrs.colspan-(s-f))),n.insert(p+d.nodeSize,d.type.createAndFill(Zn(d.attrs,0,s-f))),c+=d.attrs.rowspan-1}}return a}function Lh(n,e,t,r,i){let o=t?n.doc.nodeAt(t-1):n.doc;if(!o)throw new Error("No table found");let s=ne.get(o);const{top:l,left:a}=r,c=a+i.width,u=l+i.height,h=n.tr;let d=0;function f(){if(o=t?h.doc.nodeAt(t-1):h.doc,!o)throw new Error("No table found");s=ne.get(o),d=h.mapping.maps.length}IM(h,s,o,t,c,u,d)&&f(),zh(h,s,o,t,a,c,l,d)&&f(),zh(h,s,o,t,a,c,u,d)&&f(),Ph(h,s,o,t,l,u,a,d)&&f(),Ph(h,s,o,t,l,u,c,d)&&f();for(let p=l;p<u;p++){const m=s.positionAt(p,a,o),y=s.positionAt(p,c,o);h.replace(h.mapping.slice(d).map(m+t),h.mapping.slice(d).map(y+t),new A(i.rows[p-l],0,0))}f(),h.setSelection(new se(h.doc.resolve(t+s.positionAt(l,a,o)),h.doc.resolve(t+s.positionAt(u-1,c-1,o)))),e(h)}var DM=gp({ArrowLeft:no("horiz",-1),ArrowRight:no("horiz",1),ArrowUp:no("vert",-1),ArrowDown:no("vert",1),"Shift-ArrowLeft":ro("horiz",-1),"Shift-ArrowRight":ro("horiz",1),"Shift-ArrowUp":ro("vert",-1),"Shift-ArrowDown":ro("vert",1),Backspace:io,"Mod-Backspace":io,Delete:io,"Mod-Delete":io});function Lo(n,e,t){return t.eq(n.selection)?!1:(e&&e(n.tr.setSelection(t).scrollIntoView()),!0)}function no(n,e){return(t,r,i)=>{if(!i)return!1;const o=t.selection;if(o instanceof se)return Lo(t,r,V.near(o.$headCell,e));if(n!="horiz"&&!o.empty)return!1;const s=fm(i,n,e);if(s==null)return!1;if(n=="horiz")return Lo(t,r,V.near(t.doc.resolve(o.head+e),e));{const l=t.doc.resolve(s),a=um(l,n,e);let c;return a?c=V.near(a,1):e<0?c=V.near(t.doc.resolve(l.before(-1)),-1):c=V.near(t.doc.resolve(l.after(-1)),1),Lo(t,r,c)}}}function ro(n,e){return(t,r,i)=>{if(!i)return!1;const o=t.selection;let s;if(o instanceof se)s=o;else{const a=fm(i,n,e);if(a==null)return!1;s=new se(t.doc.resolve(a))}const l=um(s.$headCell,n,e);return l?Lo(t,r,new se(s.$anchorCell,l)):!1}}function io(n,e){const t=n.selection;if(!(t instanceof se))return!1;if(e){const r=n.tr,i=nt(n.schema).cell.createAndFill().content;t.forEachCell((o,s)=>{o.content.eq(i)||r.replace(r.mapping.map(s+1),r.mapping.map(s+o.nodeSize-1),new A(i,0,0))}),r.docChanged&&e(r)}return!0}function RM(n,e){const t=n.state.doc,r=Ki(t.resolve(e));return r?(n.dispatch(n.state.tr.setSelection(new se(r))),!0):!1}function zM(n,e,t){if(!Ve(n.state))return!1;let r=OM(t);const i=n.state.selection;if(i instanceof se){r||(r={width:1,height:1,rows:[E.from(na(nt(n.state.schema).cell,t))]});const o=i.$anchorCell.node(-1),s=i.$anchorCell.start(-1),l=ne.get(o).rectBetween(i.$anchorCell.pos-s,i.$headCell.pos-s);return r=vM(r,l.right-l.left,l.bottom-l.top),Lh(n.state,n.dispatch,s,l,r),!0}else if(r){const o=ws(n.state),s=o.start(-1);return Lh(n.state,n.dispatch,s,ne.get(o.node(-1)).findCell(o.pos-s),r),!0}else return!1}function PM(n,e){var t;if(e.ctrlKey||e.metaKey)return;const r=Fh(n,e.target);let i;if(e.shiftKey&&n.state.selection instanceof se)o(n.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=Ki(n.state.selection.$anchor))!=null&&((t=al(n,e))==null?void 0:t.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(a,c){let u=al(n,c);const h=ln.getState(n.state)==null;if(!u||!Ic(a,u))if(h)u=a;else return;const d=new se(a,u);if(h||!n.state.selection.eq(d)){const f=n.state.tr.setSelection(d);h&&f.setMeta(ln,a.pos),n.dispatch(f)}}function s(){n.root.removeEventListener("mouseup",s),n.root.removeEventListener("dragstart",s),n.root.removeEventListener("mousemove",l),ln.getState(n.state)!=null&&n.dispatch(n.state.tr.setMeta(ln,-1))}function l(a){const c=a,u=ln.getState(n.state);let h;if(u!=null)h=n.state.doc.resolve(u);else if(Fh(n,c.target)!=r&&(h=al(n,e),!h))return s();h&&o(h,c)}n.root.addEventListener("mouseup",s),n.root.addEventListener("dragstart",s),n.root.addEventListener("mousemove",l)}function fm(n,e,t){if(!(n.state.selection instanceof K))return null;const{$head:r}=n.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((t<0?r.index(i):r.indexAfter(i))!=(t<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){const l=r.before(i),a=e=="vert"?t>0?"down":"up":t>0?"right":"left";return n.endOfTextblock(a)?l:null}}return null}function Fh(n,e){for(;e&&e!=n.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function al(n,e){const t=n.posAtCoords({left:e.clientX,top:e.clientY});return t&&t?Ki(n.state.doc.resolve(t.pos)):null}var LM=class{constructor(n,e){this.node=n,this.cellMinWidth=e,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),ra(n,this.colgroup,this.table,e),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(n){return n.type!=this.node.type?!1:(this.node=n,ra(n,this.colgroup,this.table,this.cellMinWidth),!0)}ignoreMutation(n){return n.type=="attributes"&&(n.target==this.table||this.colgroup.contains(n.target))}};function ra(n,e,t,r,i,o){var s;let l=0,a=!0,c=e.firstChild;const u=n.firstChild;if(u){for(let h=0,d=0;h<u.childCount;h++){const{colspan:f,colwidth:p}=u.child(h).attrs;for(let m=0;m<f;m++,d++){const y=i==d?o:p&&p[m],g=y?y+"px":"";l+=y||r,y||(a=!1),c?(c.style.width!=g&&(c.style.width=g),c=c.nextSibling):e.appendChild(document.createElement("col")).style.width=g}}for(;c;){const h=c.nextSibling;(s=c.parentNode)==null||s.removeChild(c),c=h}a?(t.style.width=l+"px",t.style.minWidth=""):(t.style.width="",t.style.minWidth=l+"px")}}var Xe=new Ae("tableColumnResizing");function FM({handleWidth:n=5,cellMinWidth:e=25,View:t=LM,lastColumnResizable:r=!0}={}){const i=new Pe({key:Xe,state:{init(o,s){return i.spec.props.nodeViews[nt(s.schema).table.name]=(l,a)=>new t(l,e,a),new $M(-1,!1)},apply(o,s){return s.apply(o)}},props:{attributes:o=>{const s=Xe.getState(o);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,s)=>{BM(o,s,n,e,r)},mouseleave:o=>{jM(o)},mousedown:(o,s)=>{VM(o,s,e)}},decorations:o=>{const s=Xe.getState(o);if(s&&s.activeHandle>-1)return UM(o,s.activeHandle)},nodeViews:{}}});return i}var $M=class Fo{constructor(e,t){this.activeHandle=e,this.dragging=t}apply(e){const t=this,r=e.getMeta(Xe);if(r&&r.setHandle!=null)return new Fo(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new Fo(t.activeHandle,r.setDragging);if(t.activeHandle>-1&&e.docChanged){let i=e.mapping.map(t.activeHandle,-1);return ta(e.doc.resolve(i))||(i=-1),new Fo(i,t.dragging)}return t}};function BM(n,e,t,r,i){const o=Xe.getState(n.state);if(o&&!o.dragging){const s=WM(e.target);let l=-1;if(s){const{left:a,right:c}=s.getBoundingClientRect();e.clientX-a<=t?l=$h(n,e,"left",t):c-e.clientX<=t&&(l=$h(n,e,"right",t))}if(l!=o.activeHandle){if(!i&&l!==-1){const a=n.state.doc.resolve(l),c=a.node(-1),u=ne.get(c),h=a.start(-1);if(u.colCount(a.pos-h)+a.nodeAfter.attrs.colspan-1==u.width-1)return}pm(n,l)}}}function jM(n){const e=Xe.getState(n.state);e&&e.activeHandle>-1&&!e.dragging&&pm(n,-1)}function VM(n,e,t){const r=Xe.getState(n.state);if(!r||r.activeHandle==-1||r.dragging)return!1;const i=n.state.doc.nodeAt(r.activeHandle),o=_M(n,r.activeHandle,i.attrs);n.dispatch(n.state.tr.setMeta(Xe,{setDragging:{startX:e.clientX,startWidth:o}}));function s(a){window.removeEventListener("mouseup",s),window.removeEventListener("mousemove",l);const c=Xe.getState(n.state);c?.dragging&&(HM(n,c.activeHandle,Bh(c.dragging,a,t)),n.dispatch(n.state.tr.setMeta(Xe,{setDragging:null})))}function l(a){if(!a.which)return s(a);const c=Xe.getState(n.state);if(c&&c.dragging){const u=Bh(c.dragging,a,t);qM(n,c.activeHandle,u,t)}}return window.addEventListener("mouseup",s),window.addEventListener("mousemove",l),e.preventDefault(),!0}function _M(n,e,{colspan:t,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=n.domAtPos(e);let l=o.node.childNodes[o.offset].offsetWidth,a=t;if(r)for(let c=0;c<t;c++)r[c]&&(l-=r[c],a--);return l/a}function WM(n){for(;n&&n.nodeName!="TD"&&n.nodeName!="TH";)n=n.classList&&n.classList.contains("ProseMirror")?null:n.parentNode;return n}function $h(n,e,t,r){const i=t=="right"?-r:r,o=n.posAtCoords({left:e.clientX+i,top:e.clientY});if(!o)return-1;const{pos:s}=o,l=Ki(n.state.doc.resolve(s));if(!l)return-1;if(t=="right")return l.pos;const a=ne.get(l.node(-1)),c=l.start(-1),u=a.map.indexOf(l.pos-c);return u%a.width==0?-1:c+a.map[u-1]}function Bh(n,e,t){const r=e.clientX-n.startX;return Math.max(t,n.startWidth+r)}function pm(n,e){n.dispatch(n.state.tr.setMeta(Xe,{setHandle:e}))}function HM(n,e,t){const r=n.state.doc.resolve(e),i=r.node(-1),o=ne.get(i),s=r.start(-1),l=o.colCount(r.pos-s)+r.nodeAfter.attrs.colspan-1,a=n.state.tr;for(let c=0;c<o.height;c++){const u=c*o.width+l;if(c&&o.map[u]==o.map[u-o.width])continue;const h=o.map[u],d=i.nodeAt(h).attrs,f=d.colspan==1?0:l-o.colCount(h);if(d.colwidth&&d.colwidth[f]==t)continue;const p=d.colwidth?d.colwidth.slice():KM(d.colspan);p[f]=t,a.setNodeMarkup(s+h,null,{...d,colwidth:p})}a.docChanged&&n.dispatch(a)}function qM(n,e,t,r){const i=n.state.doc.resolve(e),o=i.node(-1),s=i.start(-1),l=ne.get(o).colCount(i.pos-s)+i.nodeAfter.attrs.colspan-1;let a=n.domAtPos(i.start(-1)).node;for(;a&&a.nodeName!="TABLE";)a=a.parentNode;a&&ra(o,a.firstChild,a,r,l,t)}function KM(n){return Array(n).fill(0)}function UM(n,e){const t=[],r=n.doc.resolve(e),i=r.node(-1);if(!i)return ue.empty;const o=ne.get(i),s=r.start(-1),l=o.colCount(r.pos-s)+r.nodeAfter.attrs.colspan;for(let a=0;a<o.height;a++){const c=l+a*o.width-1;if((l==o.width||o.map[c]!=o.map[c+1])&&(a==0||o.map[c]!=o.map[c-o.width])){const u=o.map[c],h=s+u+i.nodeAt(u).nodeSize-1,d=document.createElement("div");d.className="column-resize-handle",t.push(Ee.widget(h,d))}}return ue.create(n.doc,t)}function Sn(n){const e=n.selection,t=ws(n),r=t.node(-1),i=t.start(-1),o=ne.get(r);return{...e instanceof se?o.rectBetween(e.$anchorCell.pos-i,e.$headCell.pos-i):o.findCell(t.pos-i),tableStart:i,map:o,table:r}}function mm(n,{map:e,tableStart:t,table:r},i){let o=i>0?-1:0;xM(e,r,i+o)&&(o=i==0||i==e.width?null:0);for(let s=0;s<e.height;s++){const l=s*e.width+i;if(i>0&&i<e.width&&e.map[l-1]==e.map[l]){const a=e.map[l],c=r.nodeAt(a);n.setNodeMarkup(n.mapping.map(t+a),null,kM(c.attrs,i-e.colCount(a))),s+=c.attrs.rowspan-1}else{const a=o==null?nt(r.type.schema).cell:r.nodeAt(e.map[l+o]).type,c=e.positionAt(s,i,r);n.insert(n.mapping.map(t+c),a.createAndFill())}}return n}function JM(n,e){if(!Ve(n))return!1;if(e){const t=Sn(n);e(mm(n.tr,t,t.left))}return!0}function GM(n,e){if(!Ve(n))return!1;if(e){const t=Sn(n);e(mm(n.tr,t,t.right))}return!0}function YM(n,{map:e,table:t,tableStart:r},i){const o=n.mapping.maps.length;for(let s=0;s<e.height;){const l=s*e.width+i,a=e.map[l],c=t.nodeAt(a),u=c.attrs;if(i>0&&e.map[l-1]==a||i<e.width-1&&e.map[l+1]==a)n.setNodeMarkup(n.mapping.slice(o).map(r+a),null,Zn(u,i-e.colCount(a)));else{const h=n.mapping.slice(o).map(r+a);n.delete(h,h+c.nodeSize)}s+=u.rowspan}}function QM(n,e){if(!Ve(n))return!1;if(e){const t=Sn(n),r=n.tr;if(t.left==0&&t.right==t.map.width)return!1;for(let i=t.right-1;YM(r,t,i),i!=t.left;i--){const o=t.tableStart?r.doc.nodeAt(t.tableStart-1):r.doc;if(!o)throw RangeError("No table found");t.table=o,t.map=ne.get(o)}e(r)}return!0}function ZM(n,{map:e,table:t,tableStart:r},i){let o=0;for(let c=0;c<i;c++)o+=t.child(c).nodeSize;const s=o+t.child(i).nodeSize,l=n.mapping.maps.length;n.delete(o+r,s+r);const a=new Set;for(let c=0,u=i*e.width;c<e.width;c++,u++){const h=e.map[u];if(!a.has(h)){if(a.add(h),i>0&&h==e.map[u-e.width]){const d=t.nodeAt(h).attrs;n.setNodeMarkup(n.mapping.slice(l).map(h+r),null,{...d,rowspan:d.rowspan-1}),c+=d.colspan-1}else if(i<e.height&&h==e.map[u+e.width]){const d=t.nodeAt(h),f=d.attrs,p=d.type.create({...f,rowspan:d.attrs.rowspan-1},d.content),m=e.positionAt(i+1,c,t);n.insert(n.mapping.slice(l).map(r+m),p),c+=f.colspan-1}}}}function XM(n,e){if(!Ve(n))return!1;if(e){const t=Sn(n),r=n.tr;if(t.top==0&&t.bottom==t.map.height)return!1;for(let i=t.bottom-1;ZM(r,t,i),i!=t.top;i--){const o=t.tableStart?r.doc.nodeAt(t.tableStart-1):r.doc;if(!o)throw RangeError("No table found");t.table=o,t.map=ne.get(t.table)}e(r)}return!0}function eN(n,e){return function(t,r){if(!Ve(t))return!1;const i=ws(t);if(i.nodeAfter.attrs[n]===e)return!1;if(r){const o=t.tr;t.selection instanceof se?t.selection.forEachCell((s,l)=>{s.attrs[n]!==e&&o.setNodeMarkup(l,null,{...s.attrs,[n]:e})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[n]:e}),r(o)}return!0}}function tN(n){return function(e,t){if(!Ve(e))return!1;if(t){const r=nt(e.schema),i=Sn(e),o=e.tr,s=i.map.cellsInRect(n=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:n=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),l=s.map(a=>i.table.nodeAt(a));for(let a=0;a<s.length;a++)l[a].type==r.header_cell&&o.setNodeMarkup(i.tableStart+s[a],r.cell,l[a].attrs);if(o.steps.length==0)for(let a=0;a<s.length;a++)o.setNodeMarkup(i.tableStart+s[a],r.header_cell,l[a].attrs);t(o)}return!0}}function jh(n,e,t){const r=e.map.cellsInRect({left:0,top:0,right:n=="row"?e.map.width:1,bottom:n=="column"?e.map.height:1});for(let i=0;i<r.length;i++){const o=e.table.nodeAt(r[i]);if(o&&o.type!==t.header_cell)return!1}return!0}function Dc(n,e){return e=e||{useDeprecatedLogic:!1},e.useDeprecatedLogic?tN(n):function(t,r){if(!Ve(t))return!1;if(r){const i=nt(t.schema),o=Sn(t),s=t.tr,l=jh("row",o,i),a=jh("column",o,i),u=(n==="column"?l:n==="row"?a:!1)?1:0,h=n=="column"?{left:0,top:u,right:1,bottom:o.map.height}:n=="row"?{left:u,top:0,right:o.map.width,bottom:1}:o,d=n=="column"?a?i.cell:i.header_cell:n=="row"?l?i.cell:i.header_cell:i.cell;o.map.cellsInRect(h).forEach(f=>{const p=f+o.tableStart,m=s.doc.nodeAt(p);m&&s.setNodeMarkup(p,d,m.attrs)}),r(s)}return!0}}Dc("row",{useDeprecatedLogic:!0});Dc("column",{useDeprecatedLogic:!0});Dc("cell",{useDeprecatedLogic:!0});function nN(n,e){if(e<0){const t=n.nodeBefore;if(t)return n.pos-t.nodeSize;for(let r=n.index(-1)-1,i=n.before();r>=0;r--){const o=n.node(-1).child(r),s=o.lastChild;if(s)return i-1-s.nodeSize;i-=o.nodeSize}}else{if(n.index()<n.parent.childCount-1)return n.pos+n.nodeAfter.nodeSize;const t=n.node(-1);for(let r=n.indexAfter(-1),i=n.after();r<t.childCount;r++){const o=t.child(r);if(o.childCount)return i+1;i+=o.nodeSize}}return null}function gm(n){return function(e,t){if(!Ve(e))return!1;const r=nN(ws(e),n);if(r==null)return!1;if(t){const i=e.doc.resolve(r);t(e.tr.setSelection(K.between(i,yM(i))).scrollIntoView())}return!0}}function rN(n,e){const t=n.selection.$anchor;for(let r=t.depth;r>0;r--)if(t.node(r).type.spec.tableRole=="table")return e&&e(n.tr.delete(t.before(r),t.after(r)).scrollIntoView()),!0;return!1}function iN({allowTableNodeSelection:n=!1}={}){return new Pe({key:ln,state:{init(){return null},apply(e,t){const r=e.getMeta(ln);if(r!=null)return r==-1?null:r;if(t==null||!e.docChanged)return t;const{deleted:i,pos:o}=e.mapping.mapResult(t);return i?null:o}},props:{decorations:wM,handleDOMEvents:{mousedown:PM},createSelectionBetween(e){return ln.getState(e.state)!=null?e.state.selection:null},handleTripleClick:RM,handleKeyDown:DM,handlePaste:zM},appendTransaction(e,t,r){return MM(r,EM(r,t),n)}})}function Vh(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=t.indexOf(e);for(;i!==-1;)r++,i=t.indexOf(e,i+e.length);return r}function oN(n,e,t){const i=fs((t||{}).ignore||[]),o=sN(e);let s=-1;for(;++s<o.length;)jf(n,"text",l);function l(c,u){let h=-1,d;for(;++h<u.length;){const f=u[h],p=d?d.children:void 0;if(i(f,p?p.indexOf(f):void 0,d))return;d=f}if(d)return a(c,u)}function a(c,u){const h=u[u.length-1],d=o[s][0],f=o[s][1];let p=0;const y=h.children.indexOf(c);let g=!1,N=[];d.lastIndex=0;let M=d.exec(c.value);for(;M;){const I=M.index,R={index:M.index,input:M.input,stack:[...u,c]};let b=f(...M,R);if(typeof b=="string"&&(b=b.length>0?{type:"text",value:b}:void 0),b===!1?d.lastIndex=I+1:(p!==I&&N.push({type:"text",value:c.value.slice(p,I)}),Array.isArray(b)?N.push(...b):b&&N.push(b),p=I+M[0].length,g=!0),!d.global)break;M=d.exec(c.value)}return g?(p<c.value.length&&N.push({type:"text",value:c.value.slice(p)}),h.children.splice(y,1,...N)):N=[c],y+N.length}}function sN(n){const e=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const t=!n[0]||Array.isArray(n[0])?n:[n];let r=-1;for(;++r<t.length;){const i=t[r];e.push([lN(i[0]),aN(i[1])])}return e}function lN(n){return typeof n=="string"?new RegExp(xs(n),"g"):n}function aN(n){return typeof n=="function"?n:function(){return n}}const cl="phrasing",ul=["autolink","link","image","label"];function cN(){return{transforms:[gN],enter:{literalAutolink:hN,literalAutolinkEmail:hl,literalAutolinkHttp:hl,literalAutolinkWww:hl},exit:{literalAutolink:mN,literalAutolinkEmail:pN,literalAutolinkHttp:dN,literalAutolinkWww:fN}}}function uN(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:cl,notInConstruct:ul},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:cl,notInConstruct:ul},{character:":",before:"[ps]",after:"\\/",inConstruct:cl,notInConstruct:ul}]}}function hN(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function hl(n){this.config.enter.autolinkProtocol.call(this,n)}function dN(n){this.config.exit.autolinkProtocol.call(this,n)}function fN(n){this.config.exit.data.call(this,n);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(n)}function pN(n){this.config.exit.autolinkEmail.call(this,n)}function mN(n){this.exit(n)}function gN(n){oN(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,yN],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,kN]],{ignore:["link","linkReference"]})}function yN(n,e,t,r,i){let o="";if(!ym(i)||(/^w/i.test(e)&&(t=e+t,e="",o="http://"),!xN(t)))return!1;const s=bN(t+r);if(!s[0])return!1;const l={type:"link",title:null,url:o+e+s[0],children:[{type:"text",value:e+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function kN(n,e,t,r){return!ym(r,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+t,children:[{type:"text",value:e+"@"+t}]}}function xN(n){const e=n.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function bN(n){const e=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!e)return[n,void 0];n=n.slice(0,e.index);let t=e[0],r=t.indexOf(")");const i=Vh(n,"(");let o=Vh(n,")");for(;r!==-1&&i>o;)n+=t.slice(0,r+1),t=t.slice(r+1),r=t.indexOf(")"),o++;return[n,t]}function ym(n,e){const t=n.input.charCodeAt(n.index-1);return(n.index===0||Yn(t)||hs(t))&&(!e||t!==47)}km.peek=IN;function wN(){return{enter:{gfmFootnoteDefinition:SN,gfmFootnoteDefinitionLabelString:MN,gfmFootnoteCall:TN,gfmFootnoteCallString:ON},exit:{gfmFootnoteDefinition:EN,gfmFootnoteDefinitionLabelString:NN,gfmFootnoteCall:vN,gfmFootnoteCallString:AN}}}function CN(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:DN,footnoteReference:km}}}function SN(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function MN(){this.buffer()}function NN(n){const e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.label=e,t.identifier=ft(this.sliceSerialize(n)).toLowerCase()}function EN(n){this.exit(n)}function TN(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function ON(){this.buffer()}function AN(n){const e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.label=e,t.identifier=ft(this.sliceSerialize(n)).toLowerCase()}function vN(n){this.exit(n)}function km(n,e,t,r){const i=t.createTracker(r);let o=i.move("[^");const s=t.enter("footnoteReference"),l=t.enter("reference");return o+=i.move(t.safe(t.associationId(n),{...i.current(),before:o,after:"]"})),l(),s(),o+=i.move("]"),o}function IN(){return"["}function DN(n,e,t,r){const i=t.createTracker(r);let o=i.move("[^");const s=t.enter("footnoteDefinition"),l=t.enter("label");return o+=i.move(t.safe(t.associationId(n),{...i.current(),before:o,after:"]"})),l(),o+=i.move("]:"+(n.children&&n.children.length>0?" ":"")),i.shift(4),o+=i.move(t.indentLines(t.containerFlow(n,i.current()),RN)),s(),o}function RN(n,e,t){return e===0?n:(t?"":" ")+n}const zN=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];xm.peek=BN;function PN(){return{canContainEols:["delete"],enter:{strikethrough:FN},exit:{strikethrough:$N}}}function LN(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:zN}],handlers:{delete:xm}}}function FN(n){this.enter({type:"delete",children:[]},n)}function $N(n){this.exit(n)}function xm(n,e,t,r){const i=t.createTracker(r),o=t.enter("strikethrough");let s=i.move("~~");return s+=t.containerPhrasing(n,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),o(),s}function BN(){return"~"}function jN(n,e={}){const t=(e.align||[]).concat(),r=e.stringLength||_N,i=[],o=[],s=[],l=[];let a=0,c=-1;for(;++c<n.length;){const p=[],m=[];let y=-1;for(n[c].length>a&&(a=n[c].length);++y<n[c].length;){const g=VN(n[c][y]);if(e.alignDelimiters!==!1){const N=r(g);m[y]=N,(l[y]===void 0||N>l[y])&&(l[y]=N)}p.push(g)}o[c]=p,s[c]=m}let u=-1;if(typeof t=="object"&&"length"in t)for(;++u<a;)i[u]=_h(t[u]);else{const p=_h(t);for(;++u<a;)i[u]=p}u=-1;const h=[],d=[];for(;++u<a;){const p=i[u];let m="",y="";p===99?(m=":",y=":"):p===108?m=":":p===114&&(y=":");let g=e.alignDelimiters===!1?1:Math.max(1,l[u]-m.length-y.length);const N=m+"-".repeat(g)+y;e.alignDelimiters!==!1&&(g=m.length+g+y.length,g>l[u]&&(l[u]=g),d[u]=g),h[u]=N}o.splice(1,0,h),s.splice(1,0,d),c=-1;const f=[];for(;++c<o.length;){const p=o[c],m=s[c];u=-1;const y=[];for(;++u<a;){const g=p[u]||"";let N="",M="";if(e.alignDelimiters!==!1){const I=l[u]-(m[u]||0),R=i[u];R===114?N=" ".repeat(I):R===99?I%2?(N=" ".repeat(I/2+.5),M=" ".repeat(I/2-.5)):(N=" ".repeat(I/2),M=N):M=" ".repeat(I)}e.delimiterStart!==!1&&!u&&y.push("|"),e.padding!==!1&&!(e.alignDelimiters===!1&&g==="")&&(e.delimiterStart!==!1||u)&&y.push(" "),e.alignDelimiters!==!1&&y.push(N),y.push(g),e.alignDelimiters!==!1&&y.push(M),e.padding!==!1&&y.push(" "),(e.delimiterEnd!==!1||u!==a-1)&&y.push("|")}f.push(e.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return f.join(` +`)}function VN(n){return n==null?"":String(n)}function _N(n){return n.length}function _h(n){const e=typeof n=="string"?n.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}function WN(){return{enter:{table:HN,tableData:Wh,tableHeader:Wh,tableRow:KN},exit:{codeText:UN,table:qN,tableData:dl,tableHeader:dl,tableRow:dl}}}function HN(n){const e=n._align;this.enter({type:"table",align:e.map(function(t){return t==="none"?null:t}),children:[]},n),this.data.inTable=!0}function qN(n){this.exit(n),this.data.inTable=void 0}function KN(n){this.enter({type:"tableRow",children:[]},n)}function dl(n){this.exit(n)}function Wh(n){this.enter({type:"tableCell",children:[]},n)}function UN(n){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,JN));const t=this.stack[this.stack.length-1];t.type,t.value=e,this.exit(n)}function JN(n,e){return e==="|"?e:n}function GN(n){const e=n||{},t=e.tableCellPadding,r=e.tablePipeAlign,i=e.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:s,tableCell:a,tableRow:l}};function s(f,p,m,y){return c(u(f,m,y),f.align)}function l(f,p,m,y){const g=h(f,m,y),N=c([g]);return N.slice(0,N.indexOf(` +`))}function a(f,p,m,y){const g=m.enter("tableCell"),N=m.enter("phrasing"),M=m.containerPhrasing(f,{...y,before:o,after:o});return N(),g(),M}function c(f,p){return jN(f,{align:p,alignDelimiters:r,padding:t,stringLength:i})}function u(f,p,m){const y=f.children;let g=-1;const N=[],M=p.enter("table");for(;++g<y.length;)N[g]=h(y[g],p,m);return M(),N}function h(f,p,m){const y=f.children;let g=-1;const N=[],M=p.enter("tableRow");for(;++g<y.length;)N[g]=a(y[g],f,p,m);return M(),N}function d(f,p,m){let y=Ta.inlineCode(f,p,m);return m.stack.includes("tableCell")&&(y=y.replace(/\|/g,"\\$&")),y}}function YN(){return{exit:{taskListCheckValueChecked:Hh,taskListCheckValueUnchecked:Hh,paragraph:ZN}}}function QN(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:XN}}}function Hh(n){const e=this.stack[this.stack.length-2];e.type,e.checked=n.type==="taskListCheckValueChecked"}function ZN(n){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const t=this.stack[this.stack.length-1];t.type;const r=t.children[0];if(r&&r.type==="text"){const i=e.children;let o=-1,s;for(;++o<i.length;){const l=i[o];if(l.type==="paragraph"){s=l;break}}s===t&&(r.value=r.value.slice(1),r.value.length===0?t.children.shift():t.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,t.position.start=Object.assign({},r.position.start)))}}this.exit(n)}function XN(n,e,t,r){const i=n.children[0],o=typeof n.checked=="boolean"&&i&&i.type==="paragraph",s="["+(n.checked?"x":" ")+"] ",l=t.createTracker(r);o&&l.move(s);let a=Ta.listItem(n,e,t,{...r,...l.current()});return o&&(a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),a;function c(u){return u+s}}function eE(){return[cN(),wN(),PN(),WN(),YN()]}function tE(n){return{extensions:[uN(),CN(),LN(),GN(n),QN()]}}const nE={tokenize:aE,partial:!0},bm={tokenize:cE,partial:!0},wm={tokenize:uE,partial:!0},Cm={tokenize:hE,partial:!0},rE={tokenize:dE,partial:!0},Sm={tokenize:sE,previous:Nm},Mm={tokenize:lE,previous:Em},Kt={tokenize:oE,previous:Tm},It={};function iE(){return{text:It}}let On=48;for(;On<123;)It[On]=Kt,On++,On===58?On=65:On===91&&(On=97);It[43]=Kt;It[45]=Kt;It[46]=Kt;It[95]=Kt;It[72]=[Kt,Mm];It[104]=[Kt,Mm];It[87]=[Kt,Sm];It[119]=[Kt,Sm];function oE(n,e,t){const r=this;let i,o;return s;function s(h){return!ia(h)||!Tm.call(r,r.previous)||Rc(r.events)?t(h):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),l(h))}function l(h){return ia(h)?(n.consume(h),l):h===64?(n.consume(h),a):t(h)}function a(h){return h===46?n.check(rE,u,c)(h):h===45||h===95||$e(h)?(o=!0,n.consume(h),a):u(h)}function c(h){return n.consume(h),i=!0,a}function u(h){return o&&i&&Ie(r.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),e(h)):t(h)}}function sE(n,e,t){const r=this;return i;function i(s){return s!==87&&s!==119||!Nm.call(r,r.previous)||Rc(r.events)?t(s):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(nE,n.attempt(bm,n.attempt(wm,o),t),t)(s))}function o(s){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),e(s)}}function lE(n,e,t){const r=this;let i="",o=!1;return s;function s(h){return(h===72||h===104)&&Em.call(r,r.previous)&&!Rc(r.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),n.consume(h),l):t(h)}function l(h){if(Ie(h)&&i.length<5)return i+=String.fromCodePoint(h),n.consume(h),l;if(h===58){const d=i.toLowerCase();if(d==="http"||d==="https")return n.consume(h),a}return t(h)}function a(h){return h===47?(n.consume(h),o?c:(o=!0,a)):t(h)}function c(h){return h===null||Yo(h)||oe(h)||Yn(h)||hs(h)?t(h):n.attempt(bm,n.attempt(wm,u),t)(h)}function u(h){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),e(h)}}function aE(n,e,t){let r=0;return i;function i(s){return(s===87||s===119)&&r<3?(r++,n.consume(s),i):s===46&&r===3?(n.consume(s),o):t(s)}function o(s){return s===null?t(s):e(s)}}function cE(n,e,t){let r,i,o;return s;function s(c){return c===46||c===95?n.check(Cm,a,l)(c):c===null||oe(c)||Yn(c)||c!==45&&hs(c)?a(c):(o=!0,n.consume(c),s)}function l(c){return c===95?r=!0:(i=r,r=void 0),n.consume(c),s}function a(c){return i||r||!o?t(c):e(c)}}function uE(n,e){let t=0,r=0;return i;function i(s){return s===40?(t++,n.consume(s),i):s===41&&r<t?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?n.check(Cm,e,o)(s):s===null||oe(s)||Yn(s)?e(s):(n.consume(s),i)}function o(s){return s===41&&r++,n.consume(s),i}}function hE(n,e,t){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(n.consume(l),r):l===38?(n.consume(l),o):l===93?(n.consume(l),i):l===60||l===null||oe(l)||Yn(l)?e(l):t(l)}function i(l){return l===null||l===40||l===91||oe(l)||Yn(l)?e(l):r(l)}function o(l){return Ie(l)?s(l):t(l)}function s(l){return l===59?(n.consume(l),r):Ie(l)?(n.consume(l),s):t(l)}}function dE(n,e,t){return r;function r(o){return n.consume(o),i}function i(o){return $e(o)?t(o):e(o)}}function Nm(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||oe(n)}function Em(n){return!Ie(n)}function Tm(n){return!(n===47||ia(n))}function ia(n){return n===43||n===45||n===46||n===95||$e(n)}function Rc(n){let e=n.length,t=!1;for(;e--;){const r=n[e][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){t=!0;break}if(r._gfmAutolinkLiteralWalkedInto){t=!1;break}}return n.length>0&&!t&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}const fE={tokenize:wE,partial:!0};function pE(){return{document:{91:{tokenize:kE,continuation:{tokenize:xE},exit:bE}},text:{91:{tokenize:yE},93:{add:"after",tokenize:mE,resolveTo:gE}}}}function mE(n,e,t){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const a=r.events[i][1];if(a.type==="labelImage"){s=a;break}if(a.type==="gfmFootnoteCall"||a.type==="labelLink"||a.type==="label"||a.type==="image"||a.type==="link")break}return l;function l(a){if(!s||!s._balanced)return t(a);const c=ft(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?t(a):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(a),n.exit("gfmFootnoteCallLabelMarker"),e(a))}}function gE(n,e){let t=n.length;for(;t--;)if(n[t][1].type==="labelImage"&&n[t][0]==="enter"){n[t][1];break}n[t+1][1].type="data",n[t+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},n[t+3][1].start),end:Object.assign({},n[n.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},n[t+3][1].end),end:Object.assign({},n[t+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},n[n.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},l=[n[t+1],n[t+2],["enter",r,e],n[t+3],n[t+4],["enter",i,e],["exit",i,e],["enter",o,e],["enter",s,e],["exit",s,e],["exit",o,e],n[n.length-2],n[n.length-1],["exit",r,e]];return n.splice(t,n.length-t+1,...l),n}function yE(n,e,t){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,s;return l;function l(h){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(h),n.exit("gfmFootnoteCallLabelMarker"),a}function a(h){return h!==94?t(h):(n.enter("gfmFootnoteCallMarker"),n.consume(h),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",c)}function c(h){if(o>999||h===93&&!s||h===null||h===91||oe(h))return t(h);if(h===93){n.exit("chunkString");const d=n.exit("gfmFootnoteCallString");return i.includes(ft(r.sliceSerialize(d)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(h),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),e):t(h)}return oe(h)||(s=!0),o++,n.consume(h),h===92?u:c}function u(h){return h===91||h===92||h===93?(n.consume(h),o++,c):c(h)}}function kE(n,e,t){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,s=0,l;return a;function a(p){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(p),n.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(p){return p===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(p),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",u):t(p)}function u(p){if(s>999||p===93&&!l||p===null||p===91||oe(p))return t(p);if(p===93){n.exit("chunkString");const m=n.exit("gfmFootnoteDefinitionLabelString");return o=ft(r.sliceSerialize(m)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(p),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),d}return oe(p)||(l=!0),s++,n.consume(p),p===92?h:u}function h(p){return p===91||p===92||p===93?(n.consume(p),s++,u):u(p)}function d(p){return p===58?(n.enter("definitionMarker"),n.consume(p),n.exit("definitionMarker"),i.includes(o)||i.push(o),Q(n,f,"gfmFootnoteDefinitionWhitespace")):t(p)}function f(p){return e(p)}}function xE(n,e,t){return n.check(Bi,e,n.attempt(fE,e,t))}function bE(n){n.exit("gfmFootnoteDefinition")}function wE(n,e,t){const r=this;return Q(n,i,"gfmFootnoteDefinitionIndent",5);function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):t(o)}}function CE(n){let t=(n||{}).singleTilde;const r={tokenize:o,resolveAll:i};return t==null&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(s,l){let a=-1;for(;++a<s.length;)if(s[a][0]==="enter"&&s[a][1].type==="strikethroughSequenceTemporary"&&s[a][1]._close){let c=a;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[a][1].end.offset-s[a][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[a][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[a][1].end)},h={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[a][1].start)},d=[["enter",u,l],["enter",s[c][1],l],["exit",s[c][1],l],["enter",h,l]],f=l.parser.constructs.insideSpan.null;f&&Je(d,d.length,0,ds(f,s.slice(c+1,a),l)),Je(d,d.length,0,[["exit",h,l],["enter",s[a][1],l],["exit",s[a][1],l],["exit",u,l]]),Je(s,c-1,a-c+3,d),a=c+d.length-2;break}}for(a=-1;++a<s.length;)s[a][1].type==="strikethroughSequenceTemporary"&&(s[a][1].type="data");return s}function o(s,l,a){const c=this.previous,u=this.events;let h=0;return d;function d(p){return c===126&&u[u.length-1][1].type!=="characterEscape"?a(p):(s.enter("strikethroughSequenceTemporary"),f(p))}function f(p){const m=Qo(c);if(p===126)return h>1?a(p):(s.consume(p),h++,f);if(h<2&&!t)return a(p);const y=s.exit("strikethroughSequenceTemporary"),g=Qo(p);return y._open=!g||g===2&&!!m,y._close=!m||m===2&&!!g,l(p)}}}class SE{constructor(){this.map=[]}add(e,t,r){ME(this,e,t,r)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let t=this.map.length;const r=[];for(;t>0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];r.push([...e]),e.length=0;let i=r.pop();for(;i;)e.push(...i),i=r.pop();this.map.length=0}}function ME(n,e,t,r){let i=0;if(!(t===0&&r.length===0)){for(;i<n.map.length;){if(n.map[i][0]===e){n.map[i][1]+=t,n.map[i][2].push(...r);return}i+=1}n.map.push([e,t,r])}}function NE(n,e){let t=!1;const r=[];for(;e<n.length;){const i=n[e];if(t){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(n[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(n[e-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(t=!0);e+=1}return r}function EE(){return{flow:{null:{tokenize:TE,resolveAll:OE}}}}function TE(n,e,t){const r=this;let i=0,o=0,s;return l;function l(w){let z=r.events.length-1;for(;z>-1;){const ae=r.events[z][1].type;if(ae==="lineEnding"||ae==="linePrefix")z--;else break}const L=z>-1?r.events[z][1].type:null,ie=L==="tableHead"||L==="tableRow"?b:a;return ie===b&&r.parser.lazy[r.now().line]?t(w):ie(w)}function a(w){return n.enter("tableHead"),n.enter("tableRow"),c(w)}function c(w){return w===124||(s=!0,o+=1),u(w)}function u(w){return w===null?t(w):B(w)?o>1?(o=0,r.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(w),n.exit("lineEnding"),f):t(w):U(w)?Q(n,u,"whitespace")(w):(o+=1,s&&(s=!1,i+=1),w===124?(n.enter("tableCellDivider"),n.consume(w),n.exit("tableCellDivider"),s=!0,u):(n.enter("data"),h(w)))}function h(w){return w===null||w===124||oe(w)?(n.exit("data"),u(w)):(n.consume(w),w===92?d:h)}function d(w){return w===92||w===124?(n.consume(w),h):h(w)}function f(w){return r.interrupt=!1,r.parser.lazy[r.now().line]?t(w):(n.enter("tableDelimiterRow"),s=!1,U(w)?Q(n,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):p(w))}function p(w){return w===45||w===58?y(w):w===124?(s=!0,n.enter("tableCellDivider"),n.consume(w),n.exit("tableCellDivider"),m):R(w)}function m(w){return U(w)?Q(n,y,"whitespace")(w):y(w)}function y(w){return w===58?(o+=1,s=!0,n.enter("tableDelimiterMarker"),n.consume(w),n.exit("tableDelimiterMarker"),g):w===45?(o+=1,g(w)):w===null||B(w)?I(w):R(w)}function g(w){return w===45?(n.enter("tableDelimiterFiller"),N(w)):R(w)}function N(w){return w===45?(n.consume(w),N):w===58?(s=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(w),n.exit("tableDelimiterMarker"),M):(n.exit("tableDelimiterFiller"),M(w))}function M(w){return U(w)?Q(n,I,"whitespace")(w):I(w)}function I(w){return w===124?p(w):w===null||B(w)?!s||i!==o?R(w):(n.exit("tableDelimiterRow"),n.exit("tableHead"),e(w)):R(w)}function R(w){return t(w)}function b(w){return n.enter("tableRow"),F(w)}function F(w){return w===124?(n.enter("tableCellDivider"),n.consume(w),n.exit("tableCellDivider"),F):w===null||B(w)?(n.exit("tableRow"),e(w)):U(w)?Q(n,F,"whitespace")(w):(n.enter("data"),q(w))}function q(w){return w===null||w===124||oe(w)?(n.exit("data"),F(w)):(n.consume(w),w===92?D:q)}function D(w){return w===92||w===124?(n.consume(w),q):q(w)}}function OE(n,e){let t=-1,r=!0,i=0,o=[0,0,0,0],s=[0,0,0,0],l=!1,a=0,c,u,h;const d=new SE;for(;++t<n.length;){const f=n[t],p=f[1];f[0]==="enter"?p.type==="tableHead"?(l=!1,a!==0&&(qh(d,e,a,c,u),u=void 0,a=0),c={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},d.add(t,0,[["enter",c,e]])):p.type==="tableRow"||p.type==="tableDelimiterRow"?(r=!0,h=void 0,o=[0,0,0,0],s=[0,t+1,0,0],l&&(l=!1,u={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},d.add(t,0,[["enter",u,e]])),i=p.type==="tableDelimiterRow"?2:u?3:1):i&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],h=oo(d,e,o,i,void 0,h),o=[0,0,0,0]),s[2]=t)):p.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(s[0]=s[1],h=oo(d,e,o,i,void 0,h)),o=s,s=[o[1],t,0,0])):p.type==="tableHead"?(l=!0,a=t):p.type==="tableRow"||p.type==="tableDelimiterRow"?(a=t,o[1]!==0?(s[0]=s[1],h=oo(d,e,o,i,t,h)):s[1]!==0&&(h=oo(d,e,s,i,t,h)),i=0):i&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")&&(s[3]=t)}for(a!==0&&qh(d,e,a,c,u),d.consume(e.events),t=-1;++t<e.events.length;){const f=e.events[t];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=NE(e.events,t))}return n}function oo(n,e,t,r,i,o){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";t[0]!==0&&(o.end=Object.assign({},gr(e.events,t[0])),n.add(t[0],0,[["exit",o,e]]));const a=gr(e.events,t[1]);if(o={type:s,start:Object.assign({},a),end:Object.assign({},a)},n.add(t[1],0,[["enter",o,e]]),t[2]!==0){const c=gr(e.events,t[2]),u=gr(e.events,t[3]),h={type:l,start:Object.assign({},c),end:Object.assign({},u)};if(n.add(t[2],0,[["enter",h,e]]),r!==2){const d=e.events[t[2]],f=e.events[t[3]];if(d[1].end=Object.assign({},f[1].end),d[1].type="chunkText",d[1].contentType="text",t[3]>t[2]+1){const p=t[2]+1,m=t[3]-t[2]-1;n.add(p,m,[])}}n.add(t[3]+1,0,[["exit",h,e]])}return i!==void 0&&(o.end=Object.assign({},gr(e.events,i)),n.add(i,0,[["exit",o,e]]),o=void 0),o}function qh(n,e,t,r,i){const o=[],s=gr(e.events,t);i&&(i.end=Object.assign({},s),o.push(["exit",i,e])),r.end=Object.assign({},s),o.push(["exit",r,e]),n.add(t+1,0,o)}function gr(n,e){const t=n[e],r=t[0]==="enter"?"start":"end";return t[1][r]}const AE={tokenize:IE};function vE(){return{text:{91:AE}}}function IE(n,e,t){const r=this;return i;function i(a){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?t(a):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(a),n.exit("taskListCheckMarker"),o)}function o(a){return oe(a)?(n.enter("taskListCheckValueUnchecked"),n.consume(a),n.exit("taskListCheckValueUnchecked"),s):a===88||a===120?(n.enter("taskListCheckValueChecked"),n.consume(a),n.exit("taskListCheckValueChecked"),s):t(a)}function s(a){return a===93?(n.enter("taskListCheckMarker"),n.consume(a),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),l):t(a)}function l(a){return B(a)?e(a):U(a)?n.check({tokenize:DE},e,t)(a):t(a)}}function DE(n,e,t){return Q(n,r,"whitespace");function r(i){return i===null?t(i):e(i)}}function RE(n){return wf([iE(),pE(),CE(n),EE(),vE()])}const zE={};function PE(n){const e=this,t=n||zE,r=e.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(RE(t)),o.push(eE()),s.push(tE(t))}function _(n,e){return Object.assign(n,{meta:{package:"@milkdown/preset-gfm",...e}}),n}const zc=Wi("strike_through");_(zc,{displayName:"Attr<strikethrough>",group:"Strikethrough"});const Ui=_i("strike_through",n=>({parseDOM:[{tag:"del"},{style:"text-decoration",getAttrs:e=>e==="line-through"}],toDOM:e=>["del",n.get(zc.key)(e)],parseMarkdown:{match:e=>e.type==="delete",runner:(e,t,r)=>{e.openMark(r),e.next(t.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="strike_through",runner:(e,t)=>{e.withMark(t,"delete")}}}));_(Ui.mark,{displayName:"MarkSchema<strikethrough>",group:"Strikethrough"});_(Ui.ctx,{displayName:"MarkSchemaCtx<strikethrough>",group:"Strikethrough"});const Pc=H("ToggleStrikeThrough",n=>()=>ys(Ui.type(n)));_(Pc,{displayName:"Command<ToggleStrikethrough>",group:"Strikethrough"});const Om=me(n=>Vi(/~([^~]+)~$/,Ui.type(n)));_(Om,{displayName:"InputRule<strikethrough>",group:"Strikethrough"});const Lc=He("strikeThroughKeymap",{ToggleStrikethrough:{shortcuts:"Mod-Alt-x",command:n=>{const e=n.get(te);return()=>e.call(Pc.key)}}});_(Lc.ctx,{displayName:"KeymapCtx<strikethrough>",group:"Strikethrough"});_(Lc.shortcuts,{displayName:"Keymap<strikethrough>",group:"Strikethrough"});function Am(n,e=3,t=3){const r=Array(t).fill(0).map(()=>Yi.type(n).createAndFill()),i=Array(t).fill(0).map(()=>Ss.type(n).createAndFill()),o=Array(e).fill(0).map((s,l)=>Gi.type(n).create(null,l===0?i:r));return Ji.type(n).create(null,o)}function jr(n){return bC(e=>e.type.spec.tableRole==="table")(n)}function yr(n,e){const t=jr(e);if(!t)return;const r=ne.get(t.node);if(!(n<0||n>=r.width))return r.cellsInRect({left:n,right:n+1,top:0,bottom:r.height}).map(i=>{const o=t.node.nodeAt(i);if(!o)return;const s=i+t.start;return{pos:s,start:s+1,node:o}}).filter(i=>i!=null)}function kr(n,e){const t=jr(e);if(!t)return;const r=ne.get(t.node);if(!(n<0||n>=r.height))return r.cellsInRect({left:0,right:r.width,top:n,bottom:n+1}).map(i=>{const o=t.node.nodeAt(i);if(!o)return;const s=i+t.start;return{pos:s,start:s+1,node:o}}).filter(i=>i!=null)}function LE(n){const e=jr(n);if(!e)return;const t=ne.get(e.node);return t.cellsInRect({left:0,right:t.width,top:0,bottom:t.height}).map(r=>{const i=e.node.nodeAt(r),o=r+e.start;return{pos:o,start:o+1,node:i}})}function FE(n){const e=LE(n.selection);if(e&&e[0]){const t=n.doc.resolve(e[0].pos),r=e[e.length-1];if(r){const i=n.doc.resolve(r.pos);return gs(n.setSelection(new se(i,t)))}}return n}function vm(n,e,{map:t,tableStart:r,table:i},o){const s=Array(o).fill(0).reduce((a,c,u)=>a+i.child(u).nodeSize,r),l=Array(t.width).fill(0).map((a,c)=>{const u=i.nodeAt(t.map[c]);return Yi.type(n).createAndFill({alignment:u?.attrs.alignment})});return e.insert(s,Gi.type(n).create(null,l)),e}function Im(n){return e=>t=>{const r=jr(t.selection),i=n==="row";if(r){const o=ne.get(r.node);if(e>=0&&e<(i?o.height:o.width)){const s=o.positionAt(i?e:o.height-1,i?o.width-1:e,r.node),l=t.doc.resolve(r.start+s),a=i?se.rowSelection:se.colSelection,c=o.positionAt(i?e:0,i?0:e,r.node),u=t.doc.resolve(r.start+c);return gs(t.setSelection(a(l,u)))}}return t}}const $E=Im("row"),BE=Im("col");function Kh(n){return n[0].map((e,t)=>n.map(r=>r[t]))}function Dm(n,e){const t=[],r=ne.get(n);for(let i=0;i<r.height;i++){const o=n.child(i),s=[];for(let l=0;l<r.width;l++){if(!e[i][l])continue;const a=r.map[i*r.width+l],c=e[i][l],u=n.nodeAt(a).type.createChecked(Object.assign({},c.attrs),c.content,c.marks);s.push(u)}t.push(o.type.createChecked(o.attrs,s,o.marks))}return n.type.createChecked(n.attrs,t,n.marks)}function Rm(n){const e=ne.get(n),t=[];for(let r=0;r<e.height;r++){const i=[],o={};for(let s=0;s<e.width;s++){const l=e.map[r*e.width+s],a=n.nodeAt(l),c=e.findCell(l);if(o[l]||c.top!==r){i.push(null);continue}o[l]=!0,i.push(a)}t.push(i)}return t}function zm(n,e,t,r){const i=e[0]>t[0]?-1:1,o=n.splice(e[0],e.length),s=o.length%2===0?1:0;let l;return r===-1&&i===1?l=t[0]-1:r===1&&i===-1?l=t[t.length-1]-s+1:l=i===-1?t[0]:t[t.length-1]-s,n.splice(l,0,...o),n}function jE(n,e,t,r){let i=Kh(Rm(n.node));return i=zm(i,e,t,r),i=Kh(i),Dm(n.node,i)}function VE(n,e,t,r){let i=Rm(n.node);return i=zm(i,e,t,r),Dm(n.node,i)}function Uh(n,e){let t=n,r=n;for(let u=n;u>=0;u--){const h=yr(u,e.selection);h&&h.forEach(d=>{const f=d.node.attrs.colspan+u-1;f>=t&&(t=u),f>r&&(r=f)})}for(let u=n;u<=r;u++){const h=yr(u,e.selection);h&&h.forEach(d=>{const f=d.node.attrs.colspan+u-1;d.node.attrs.colspan>1&&f>r&&(r=f)})}const i=[];for(let u=t;u<=r;u++){const h=yr(u,e.selection);h&&h.length&&i.push(u)}t=i[0],r=i[i.length-1];const o=yr(t,e.selection),s=kr(0,e.selection),l=e.doc.resolve(o[o.length-1].pos);let a;for(let u=r;u>=t;u--){const h=yr(u,e.selection);if(h&&h.length){for(let d=s.length-1;d>=0;d--)if(s[d].pos===h[0].pos){a=h[0];break}if(a)break}}const c=e.doc.resolve(a.pos);return{$anchor:l,$head:c,indexes:i}}function Jh(n,e){let t=n,r=n;for(let u=n;u>=0;u--)kr(u,e.selection).forEach(h=>{const d=h.node.attrs.rowspan+u-1;d>=t&&(t=u),d>r&&(r=d)});for(let u=n;u<=r;u++)kr(u,e.selection).forEach(h=>{const d=h.node.attrs.rowspan+u-1;h.node.attrs.rowspan>1&&d>r&&(r=d)});const i=[];for(let u=t;u<=r;u++){const h=kr(u,e.selection);h&&h.length&&i.push(u)}t=i[0],r=i[i.length-1];const o=kr(t,e.selection),s=yr(0,e.selection),l=e.doc.resolve(o[o.length-1].pos);let a;for(let u=r;u>=t;u--){const h=kr(u,e.selection);if(h&&h.length){for(let d=s.length-1;d>=0;d--)if(s[d].pos===h[0].pos){a=h[0];break}if(a)break}}const c=e.doc.resolve(a.pos);return{$anchor:l,$head:c,indexes:i}}function _E(n,e,t,r=!0){const i=jr(n.selection);if(!i)return n;const{indexes:o}=Uh(e,n),{indexes:s}=Uh(t,n);if(o.includes(t))return n;const l=jE(i,o,s,0),a=gs(n).replaceWith(i.pos,i.pos+i.node.nodeSize,l);if(!r)return a;const c=ne.get(l),u=i.start,h=t,d=c.positionAt(c.height-1,h,l),f=a.doc.resolve(u+d),p=se.colSelection,m=c.positionAt(0,h,l),y=a.doc.resolve(u+m);return a.setSelection(p(f,y))}function WE(n,e,t,r=!0){const i=jr(n.selection);if(!i)return n;const{indexes:o}=Jh(e,n),{indexes:s}=Jh(t,n);if(o.includes(t))return n;const l=VE(i,o,s,0),a=gs(n).replaceWith(i.pos,i.pos+i.node.nodeSize,l);if(!r)return a;const c=ne.get(l),u=i.start,h=t,d=c.positionAt(h,c.width-1,l),f=a.doc.resolve(u+d),p=se.rowSelection,m=c.positionAt(h,0,l),y=a.doc.resolve(u+m);return a.setSelection(p(f,y))}const Cs=mM({tableGroup:"block",cellContent:"paragraph",cellAttributes:{alignment:{default:"left",getFromDOM:n=>n.style.textAlign||"left",setDOMAttr:(n,e)=>{e.style=`text-align: ${n||"left"}`}}}}),Ji=fe("table",()=>({...Cs.table,parseMarkdown:{match:n=>n.type==="table",runner:(n,e,t)=>{const r=e.align,i=e.children.map((o,s)=>({...o,align:r,isHeader:s===0}));n.openNode(t),n.next(i),n.closeNode()}},toMarkdown:{match:n=>n.type.name==="table",runner:(n,e)=>{var t;const r=(t=e.content.firstChild)==null?void 0:t.content;if(!r)return;const i=[];r.forEach(o=>{i.push(o.attrs.alignment)}),n.openNode("table",void 0,{align:i}),n.next(e.content),n.closeNode()}}}));_(Ji.node,{displayName:"NodeSchema<table>",group:"Table"});_(Ji.ctx,{displayName:"NodeSchemaCtx<table>",group:"Table"});const Gi=fe("table_row",()=>({...Cs.table_row,parseMarkdown:{match:n=>n.type==="tableRow",runner:(n,e,t)=>{const r=e.align,i=e.children.map((o,s)=>({...o,align:r[s],isHeader:e.isHeader}));n.openNode(t),n.next(i),n.closeNode()}},toMarkdown:{match:n=>n.type.name==="table_row",runner:(n,e)=>{n.openNode("tableRow"),n.next(e.content),n.closeNode()}}}));_(Gi.node,{displayName:"NodeSchema<tableRow>",group:"Table"});_(Gi.ctx,{displayName:"NodeSchemaCtx<tableRow>",group:"Table"});const Yi=fe("table_cell",()=>({...Cs.table_cell,parseMarkdown:{match:n=>n.type==="tableCell"&&!n.isHeader,runner:(n,e,t)=>{const r=e.align;n.openNode(t,{alignment:r}).openNode(n.schema.nodes.paragraph).next(e.children).closeNode().closeNode()}},toMarkdown:{match:n=>n.type.name==="table_cell",runner:(n,e)=>{n.openNode("tableCell").next(e.content).closeNode()}}}));_(Yi.node,{displayName:"NodeSchema<tableCell>",group:"Table"});_(Yi.ctx,{displayName:"NodeSchemaCtx<tableCell>",group:"Table"});const Ss=fe("table_header",()=>({...Cs.table_header,parseMarkdown:{match:n=>n.type==="tableCell"&&!!n.isHeader,runner:(n,e,t)=>{const r=e.align;n.openNode(t,{alignment:r}),n.openNode(n.schema.nodes.paragraph),n.next(e.children),n.closeNode(),n.closeNode()}},toMarkdown:{match:n=>n.type.name==="table_header",runner:(n,e)=>{n.openNode("tableCell"),n.next(e.content),n.closeNode()}}}));_(Ss.node,{displayName:"NodeSchema<tableHeader>",group:"Table"});_(Ss.ctx,{displayName:"NodeSchemaCtx<tableHeader>",group:"Table"});const Pm=me(n=>new Le(/^\|(?<col>\d+)[xX](?<row>\d+)\|\s$/,(e,t,r,i)=>{var o,s;const l=e.doc.resolve(r);if(!l.node(-1).canReplaceWith(l.index(-1),l.indexAfter(-1),Ji.type(n)))return null;const a=Am(n,Number((o=t.groups)==null?void 0:o.row),Number((s=t.groups)==null?void 0:s.col)),c=e.tr.replaceRangeWith(r,i,a);return c.setSelection(K.create(c.doc,r+3)).scrollIntoView()}));_(Pm,{displayName:"InputRule<insertTableInputRule>",group:"Table"});const Fc=H("GoToPrevTableCell",()=>()=>gm(-1));_(Fc,{displayName:"Command<goToPrevTableCellCommand>",group:"Table"});const $c=H("GoToNextTableCell",()=>()=>gm(1));_($c,{displayName:"Command<goToNextTableCellCommand>",group:"Table"});const Bc=H("BreakTable",n=>()=>(e,t)=>{if(!Ve(e))return!1;const{$head:r}=e.selection,i=r.after(),o=e.tr.replaceWith(i,i,qt.type(n).createAndFill());return o.setSelection(V.near(o.doc.resolve(i),1)).scrollIntoView(),t?.(o),!0});_(Bc,{displayName:"Command<breakTableCommand>",group:"Table"});const Lm=H("InsertTable",n=>({row:e,col:t}={})=>(r,i)=>{const{selection:o,tr:s}=r,{from:l}=o,a=Am(n,e,t),c=s.replaceSelectionWith(a),u=V.findFrom(c.doc.resolve(l),1,!0);return u&&c.setSelection(u),i?.(c),!0});_(Lm,{displayName:"Command<insertTableCommand>",group:"Table"});const Fm=H("MoveRow",()=>({from:n,to:e}={})=>(t,r)=>{const{tr:i}=t;return!!r?.(WE(i,n??0,e??0,!0))});_(Fm,{displayName:"Command<moveRowCommand>",group:"Table"});const $m=H("MoveCol",()=>({from:n,to:e}={})=>(t,r)=>{const{tr:i}=t;return!!r?.(_E(i,n??0,e??0,!0))});_($m,{displayName:"Command<moveColCommand>",group:"Table"});const Bm=H("SelectRow",()=>(n=0)=>(e,t)=>{const{tr:r}=e;return!!t?.($E(n)(r))});_(Bm,{displayName:"Command<selectRowCommand>",group:"Table"});const jm=H("SelectCol",()=>(n=0)=>(e,t)=>{const{tr:r}=e;return!!t?.(BE(n)(r))});_(jm,{displayName:"Command<selectColCommand>",group:"Table"});const Vm=H("SelectTable",()=>()=>(n,e)=>{const{tr:t}=n;return!!e?.(FE(t))});_(Vm,{displayName:"Command<selectTableCommand>",group:"Table"});const _m=H("DeleteSelectedCells",()=>()=>(n,e)=>{const{selection:t}=n;if(!(t instanceof se))return!1;const r=t.isRowSelection(),i=t.isColSelection();return r&&i?rN(n,e):i?QM(n,e):XM(n,e)});_(_m,{displayName:"Command<deleteSelectedCellsCommand>",group:"Table"});const Wm=H("AddColBefore",()=>()=>JM);_(Wm,{displayName:"Command<addColBeforeCommand>",group:"Table"});const Hm=H("AddColAfter",()=>()=>GM);_(Hm,{displayName:"Command<addColAfterCommand>",group:"Table"});const qm=H("AddRowBefore",n=>()=>(e,t)=>{if(!Ve(e))return!1;if(t){const r=Sn(e);t(vm(n,e.tr,r,r.top))}return!0});_(qm,{displayName:"Command<addRowBeforeCommand>",group:"Table"});const Km=H("AddRowAfter",n=>()=>(e,t)=>{if(!Ve(e))return!1;if(t){const r=Sn(e);t(vm(n,e.tr,r,r.bottom))}return!0});_(Km,{displayName:"Command<addRowAfterCommand>",group:"Table"});const Um=H("SetAlign",()=>(n="left")=>eN("alignment",n));_(Um,{displayName:"Command<setAlignCommand>",group:"Table"});const jc=He("tableKeymap",{NextCell:{shortcuts:["Mod-]","Tab"],command:n=>{const e=n.get(te);return()=>e.call($c.key)}},PrevCell:{shortcuts:["Mod-[","Shift-Tab"],command:n=>{const e=n.get(te);return()=>e.call(Fc.key)}},ExitTable:{shortcuts:["Mod-Enter"],command:n=>{const e=n.get(te);return()=>e.call(Bc.key)}}});_(jc.ctx,{displayName:"KeymapCtx<table>",group:"Table"});_(jc.shortcuts,{displayName:"Keymap<table>",group:"Table"});const fl="footnote_definition",Gh="footnoteDefinition",Vc=fe("footnote_definition",()=>({group:"block",content:"block+",defining:!0,attrs:{label:{default:""}},parseDOM:[{tag:`dl[data-type="${fl}"]`,getAttrs:n=>{if(!(n instanceof HTMLElement))throw yt(n);return{label:n.dataset.label}},contentElement:"dd"}],toDOM:n=>{const e=n.attrs.label;return["dl",{"data-label":e,"data-type":fl},["dt",e],["dd",0]]},parseMarkdown:{match:({type:n})=>n===Gh,runner:(n,e,t)=>{n.openNode(t,{label:e.label}).next(e.children).closeNode()}},toMarkdown:{match:n=>n.type.name===fl,runner:(n,e)=>{n.openNode(Gh,void 0,{label:e.attrs.label,identifier:e.attrs.label}).next(e.content).closeNode()}}}));_(Vc.ctx,{displayName:"NodeSchemaCtx<footnodeDef>",group:"footnote"});_(Vc.node,{displayName:"NodeSchema<footnodeDef>",group:"footnote"});const pl="footnote_reference",_c=fe("footnote_reference",()=>({group:"inline",inline:!0,atom:!0,attrs:{label:{default:""}},parseDOM:[{tag:`sup[data-type="${pl}"]`,getAttrs:n=>{if(!(n instanceof HTMLElement))throw yt(n);return{label:n.dataset.label}}}],toDOM:n=>{const e=n.attrs.label;return["sup",{"data-label":e,"data-type":pl},e]},parseMarkdown:{match:({type:n})=>n==="footnoteReference",runner:(n,e,t)=>{n.addNode(t,{label:e.label})}},toMarkdown:{match:n=>n.type.name===pl,runner:(n,e)=>{n.addNode("footnoteReference",void 0,void 0,{label:e.attrs.label,identifier:e.attrs.label})}}}));_(_c.ctx,{displayName:"NodeSchemaCtx<footnodeRef>",group:"footnote"});_(_c.node,{displayName:"NodeSchema<footnodeRef>",group:"footnote"});const Jm=At.extendSchema(n=>e=>{const t=n(e);return{...t,attrs:{...t.attrs,checked:{default:null}},parseDOM:[{tag:'li[data-item-type="task"]',getAttrs:r=>{if(!(r instanceof HTMLElement))throw yt(r);return{label:r.dataset.label,listType:r.dataset["list-type"],spread:r.dataset.spread,checked:r.dataset.checked?r.dataset.checked==="true":null}}},...t?.parseDOM||[]],toDOM:r=>t.toDOM&&r.attrs.checked==null?t.toDOM(r):["li",{"data-item-type":"task","data-label":r.attrs.label,"data-list-type":r.attrs.listType,"data-spread":r.attrs.spread,"data-checked":r.attrs.checked},0],parseMarkdown:{match:({type:r})=>r==="listItem",runner:(r,i,o)=>{if(i.checked==null){t.parseMarkdown.runner(r,i,o);return}const s=i.label!=null?`${i.label}.`:"•",l=i.checked!=null?!!i.checked:null,a=i.label!=null?"ordered":"bullet",c=i.spread!=null?`${i.spread}`:"true";r.openNode(o,{label:s,listType:a,spread:c,checked:l}),r.next(i.children),r.closeNode()}},toMarkdown:{match:r=>r.type.name==="list_item",runner:(r,i)=>{if(i.attrs.checked==null){t.toMarkdown.runner(r,i);return}const o=i.attrs.label,s=i.attrs.listType,l=i.attrs.spread==="true",a=i.attrs.checked;r.openNode("listItem",void 0,{label:o,listType:s,spread:l,checked:a}),r.next(i.content),r.closeNode()}}}});_(Jm,{displayName:"NodeSchema<listItem>",group:"ListItem"});const Gm=me(()=>new Le(/^\[(?<checked>\s|x)\]\s$/,(n,e,t,r)=>{var i;const o=n.doc.resolve(t);let s=0,l=o.node(s);for(;l&&l.type.name!=="list_item";)s--,l=o.node(s);if(!l||l.attrs.checked!=null)return null;const a=((i=e.groups)==null?void 0:i.checked)==="x",c=o.before(s),u=n.tr;return u.deleteRange(t,r).setNodeMarkup(c,void 0,{...l.attrs,checked:a}),u}));_(Gm,{displayName:"InputRule<wrapInTaskListInputRule>",group:"ListItem"});const HE=[Lc,jc].flat(),qE=[Pm,Gm],KE=[Om],Ym=vt(n=>{const e=new Ae("MILKDOWN_AUTO_INSERT_ZERO_SPACE"),t=i=>i.type===qt.type(n),r=i=>t(i)&&i.nodeSize===2;return new Pe({key:e,props:{handleDOMEvents:{compositionstart(i){const{state:o,dispatch:s}=i,{tr:l,selection:a}=o,{$from:c}=a;return Sh.safari&&Ve(o)&&a.empty&&r(c.parent)&&s(l.insertText("⁠",c.start())),!1},compositionend(i){const{state:o,dispatch:s}=i,{tr:l,selection:a}=o,{$from:c}=a;return Sh.safari&&Ve(o)&&a.empty&&t(c.parent)&&c.parent.textContent.startsWith("⁠")&&s(l.delete(c.start(),c.start()+1)),!1}}}})});_(Ym,{displayName:"Prose<autoInsertZeroSpaceInTablePlugin>",group:"Prose"});const Qm=vt(()=>FM({}));_(Qm,{displayName:"Prose<columnResizingPlugin>",group:"Prose"});const Zm=vt(()=>iN());_(Zm,{displayName:"Prose<tableEditingPlugin>",group:"Prose"});const Wc=Ht("remarkGFM",()=>PE);_(Wc.plugin,{displayName:"Remark<remarkGFMPlugin>",group:"Remark"});_(Wc.options,{displayName:"RemarkConfig<remarkGFMPlugin>",group:"Remark"});const UE=[Ym,Qm,Zm,Wc].flat(),JE=[Jm,Ji,Gi,Ss,Yi,Vc,_c,zc,Ui].flat(),GE=[$c,Fc,Bc,Lm,Fm,$m,Bm,jm,Vm,_m,qm,Km,Wm,Hm,Um,Pc],YE=[JE,qE,KE,HE,UE,GE].flat(),Xm=Ig(null),eg=()=>Dg(Xm),QE=n=>oa.set(Xm,n),ZE={alert:(n,e,t,r)=>{const i=t.enter("alert");let s=t.createTracker(r).move("");const{type:l,text:a}=n.value;return s+=`> [!${l.toUpperCase()}] +${a.split(` +`).map(c=>`> ${c}`).join(` +`)} +`,i(),s}},XE="_editor_xk7tm_1",eT="_tableWrapper_xk7tm_74",tT="_ProseMirror_xk7tm_107",nT="_selectedCell_xk7tm_107",rT={editor:XE,tableWrapper:eT,ProseMirror:tT,selectedCell:nT};function iT(n){return{type:"diagram",value:n}}function oT(n){return Wt(n,"code",(e,t,r)=>{const{lang:i,value:o}=e;if(i!=="mermaid")return e;const s=iT(o);return r&&t!=null&&r.children.splice(t,1,s),e})}function sT(){function n(e){oT(e)}return n}const lT=Xh("abcdefg",8),es=n=>{var e;return((e=n?.attrs)==null?void 0:e.identity)||lT()};function nr(n,e){return Object.assign(n,{meta:{package:"@milkdown/plugin-diagram",...e}}),n}const Hc=kt({startOnLoad:!1},"mermaidConfig");nr(Hc,{displayName:"Ctx<mermaidConfig>"});const Kr="diagram",Vr=fe(Kr,n=>(Yg.initialize({...n.get(Hc.key)}),{content:"text*",group:"block",marks:"",defining:!0,atom:!0,isolating:!0,attrs:{value:{default:""},identity:{default:""}},parseDOM:[{tag:`div[data-type="${Kr}"]`,preserveWhitespace:"full",getAttrs:e=>{if(!(e instanceof HTMLElement))throw yt(e);return{value:e.dataset.value,identity:e.dataset.id}}}],toDOM:e=>{const t=es(e),r=e.attrs.value,i=document.createElement("div");return i.dataset.type=Kr,i.dataset.id=t,i.dataset.value=r,i.textContent=r,i},parseMarkdown:{match:({type:e})=>e===Kr,runner:(e,t,r)=>{const i=t.value;e.addNode(r,{value:i,identity:es()})}},toMarkdown:{match:e=>e.type.name===Kr,runner:(e,t)=>{e.addNode("code",void 0,t.attrs.value||"",{lang:"mermaid"})}}}));nr(Vr.node,{displayName:"NodeSchema<diagram>"});nr(Vr.ctx,{displayName:"NodeSchemaCtx<diagram>"});const tg=me(n=>new Le(/^```mermaid$/,(e,t,r,i)=>{const o=Vr.type(n),s=e.doc.resolve(r);return s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),o)?e.tr.delete(r,i).setBlockType(r,r,o,{identity:es()}):null}));nr(tg,{displayName:"InputRule<insertDiagramInputRules>"});const qc=Ht("remarkMermaid",()=>sT);nr(qc.plugin,{displayName:"Remark<diagram>"});nr(qc.options,{displayName:"RemarkConfig<diagram>"});const ng=H("InsertDiagramCommand",n=>()=>Qn(Vr.type(n),{identity:es()}));nr(ng,{displayName:"Command<insertDiagramCommand>"});const aT=[qc,Hc,Vr,ng,tg].flat(),rg=rt("alert"),Ei=fe("alert",n=>({content:"block+",group:"block",attrs:{type:{default:""},text:{default:""}},defining:!0,parseDOM:[{tag:"blockquote"}],toDOM:e=>["blockquote",n.get(rg.key)(e),0],parseMarkdown:{match:({type:e})=>e==="alert",runner:(e,t,r)=>{e.openNode(r,t.value).closeNode()}},toMarkdown:{match:e=>e.type.name==="alert",runner:(e,t)=>{e.openNode("alert",t.attrs).closeNode()}}}));function cT(n){return{type:"alert",value:n}}function uT(n,e){return Wt(n,"blockquote",(t,r,i)=>{if(t.children.length<1)return t;const o=t.children[0];if(o.type!=="paragraph")return t;const s=o.children[0];if(!s||s.type!=="text")return t;const a=s.value.split(` +`)[0].match(/^\[!(.*?)\]$/);if(!a)return t;const c=Pg(t);c.children[0].children=c.children[0].children.slice(1),c.type="root";const u=cT({text:e(c).replace(/\\/g,"")||"",type:a[1]||"NOTE"});return i&&r!=null&&i.children.splice(r,1,u),t})}function hT(n){function e(t){uT(t,r=>n.get(pn).stringify(r))}return e}const dT=Ht("remarkAlert",n=>hT.bind(null,n)),fT=[me(n=>Cr(/^\s*>\[\s$/,Ei.type(n))),me(n=>Cr(/^\s*> \[!\s$/,Ei.type(n))),me(n=>Cr(/^\s*> \[!(?<type>NOTE|IMPORTANT|WARNING)\]\s$/,Ei.type(n),e=>({type:e.groups?.type})))],pT=()=>{const{contentRef:n,setAttrs:e,node:t,selected:r}=Xn(),i=t.attrs,o=i.type;return T.jsx("div",{children:T.jsxs("blockquote",{className:"my-4 flex flex-col rounded !bg-accent/10 p-0.5",contentEditable:!1,children:[T.jsx(Fg,{type:o}),T.jsx("div",{children:i.text})]})})},mT=({nodeViewFactory:n})=>[Rr(Ei.node,()=>n({component:pT})),Ei,rg,dT,...fT.flat()],gT=()=>{const{contentRef:n}=Xn();return T.jsx("blockquote",{className:"my-4 rounded !bg-accent/10 p-0.5",ref:n})},yT=({nodeViewFactory:n})=>[Rr(Lr.node,()=>n({component:gT}))],kT=()=>{const{node:n}=Xn(),e=n.attrs.language,t=n.content.firstChild?.text;return T.jsx("div",{className:"my-4",contentEditable:!1,children:T.jsx(xT,{content:t||"",language:e})})},xT=({content:n,language:e})=>{const t=Xn(),r=eg();return T.jsxs("div",{className:"group relative",children:[T.jsx(Qg,{ref:i=>{!n&&i&&requestAnimationFrame(()=>requestAnimationFrame(()=>i.focus()))},content:n,minHeight:"20px",className:"rounded-md border bg-gray-100 dark:bg-zinc-900",padding:8,language:e,onChange:i=>{const o=t.view,s=t.node,l=t.getPos(),a=o.state.tr;if(typeof l>"u")return;if(!i){o.dispatch(o.state.tr.delete(l,l+s.nodeSize));return}const c=r.get(tt).text(i);a.replaceWith(l+1,l+s.nodeSize,c),o.dispatch(a)}}),T.jsx("div",{className:"absolute bottom-1 right-1 opacity-0 duration-200 group-hover:opacity-100",children:T.jsx(qg,{defaultValue:e,onBlur:i=>{const o=i.target.value;t.setAttrs({language:o})}})})]})},bT=({nodeViewFactory:n})=>[Rr(Fr.node,()=>n({component:kT}))],Yh=({label:n,checked:e,disabled:t,onCheckChange:r})=>{const i=v.useId();return T.jsxs("div",{className:"inline-flex items-center gap-2",children:[T.jsx("input",{onChange:o=>{t||r?.(o.target.checked)},disabled:t,checked:e,type:"checkbox",className:Zc("checkbox-accent checkbox",t&&"cursor-not-allowed opacity-50"),id:i}),T.jsx("label",{htmlFor:i,className:Zc("text-sm text-gray-500",t&&"cursor-not-allowed opacity-50"),children:n})]})};var ig=(n=>(n.Icon="icon",n.Photo="photo",n.File="file",n.Avatar="avatar",n))(ig||{});const wT=(n,e)=>{const t=new FormData;return t.append("file",e),xg.proxy.objects.upload.post({data:t,headers:{"Content-Type":"multipart/form-data"},params:{type:n}})},CT=({nodeCtx:n,getValue:e,save:t,children:r})=>{const{getPos:i,view:o,node:s}=n,{dismiss:l}=ed(),a=eg(),c=()=>{const d=i();typeof d>"u"||(o.dispatch(o.state.tr.delete(d,d+s.nodeSize)),l())},[u,h]=v.useState(!1);return T.jsxs("div",{className:"mt-4 flex justify-end space-x-2 p-2",children:[r,T.jsx(qn,{variant:"secondary",onClick:c,children:"删除"}),T.jsx(qn,{isLoading:u,onClick:async()=>{if(t){h(!0),await t(e()),h(!1),l();return}const d=i();if(typeof d>"u")return;const f=o.state.tr,p=e(),m=a.get(tt).text(p);f.replaceWith(d+1,d+s.nodeSize,m),o.dispatch(f),l()},children:"保存"})]})};function ST(n){return{type:"excalidraw",value:n}}function MT(n){return Wt(n,"code",(e,t,r)=>{const{lang:i,value:o}=e;if(i!=="excalidraw")return e;const s=ST(o);return r&&t!=null&&r.children.splice(t,1,s),e})}function NT(){function n(e){MT(e)}return n}const Ur="excalidraw",ts=fe(Ur,()=>({content:"text*",group:"block",marks:"",defining:!0,atom:!0,isolating:!0,attrs:{value:{default:""}},parseDOM:[{tag:`div[data-type="${Ur}"]`,preserveWhitespace:"full",getAttrs:n=>({value:n?.dataset?.value||""})}],toDOM:n=>{const e=n.attrs.value,t=document.createElement("div");return t.dataset.type=Ur,t.dataset.value=e,t.textContent=e,t},parseMarkdown:{match:({type:n})=>n===Ur,runner:(n,e,t)=>{const r=e.value;n.addNode(t,{value:r})}},toMarkdown:{match:n=>n.type.name===Ur,runner:(n,e)=>{n.addNode("code",void 0,e.attrs.value||"",{lang:"excalidraw"})}}})),ET=me(n=>new Le(/^```excalidraw$/,(e,t,r,i)=>{const o=ts.type(n),s=e.doc.resolve(r);return s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),o)?e.tr.delete(r,i).setBlockType(r,r,o,{}):null})),TT=Ht("remarkExcalidraw",()=>NT),OT=H("InsertExcalidrawCommand",n=>()=>Qn(ts.type(n))),AT=bg(Vg("excalidraw"),{embed:!1,delta:!0}),vT=({nodeViewFactory:n})=>[ET,OT,ts,TT,Rr(ts.node,()=>n({component:IT}))],IT=()=>{const n=sa(),e=Xn(),t=e.node.attrs.value,[r,i]=v.useState(t),[o,s]=my();v.useEffect(()=>{o()},[t]);const l=v.useMemo(()=>v.lazy(()=>$o(()=>import("./index-eOZlXeNv.js").then(c=>c.a),__vite__mapDeps([25,1,2,26,4,5,6,7,8,27,28,9,29,16,22,12,13,14,15,17,18]),import.meta.url).then(c=>({default:c.Excalidraw}))),[]),a=()=>{const c=()=>{const u=v.useRef(t),h=v.useRef(()=>u.current),[d,f]=Rg(AT),p=v.useRef(null),m=v.useRef({}).current,y=async()=>{if(d.delta){const N=u.current;if(!N){St.error("无法获取当前数据,更新失败");return}if(!r||ny(r))return g();const I=p.current?.getRefData();if(!I){St.error("无法获取原始数据增量更新失败");return}const R=Zg(I,JSON.parse(N));return[r.split(` +`)[0],JSON.stringify(R,null,0)].join(` +`)}else if(d.embed)return u.current;if(!d.delta&&!d.embed)return g();async function g(){const N=u.current;if(!N)return;const M=m[N];if(M)return M;const I=new File([N],"file.excalidraw",{}),R=St.info("正在上传文件",{position:"top-right"}),b=await wT(ig.File,I);St.success("上传成功",{position:"top-right"}),St.dismiss(R);const F=`ref:file/${b.name}`;return m[N]=F,F}};return T.jsx("div",{className:"flex h-full w-full flex-col",children:T.jsxs(v.Suspense,{children:[T.jsx(l,{ref:p,className:"h-full w-full flex-grow",data:t,viewModeEnabled:!1,zenModeEnabled:!1,onChange:async(g,N,M)=>{const I=await $o(()=>import("./main-pGz5eUwv.js").then(R=>R.m),__vite__mapDeps([28,1,2]),import.meta.url).then(R=>R.serializeAsJSON);u.current=JSON.stringify(JSON.parse(I(g,N,M,"database")),null,0)}}),T.jsxs("div",{className:"relative",children:[T.jsxs("div",{className:"absolute bottom-1 left-1 space-x-2",children:[T.jsx(Yh,{label:"使用内嵌数据",onCheckChange:g=>{f(N=>({...N,embed:g}))},checked:d.embed}),T.jsx(Yh,{label:"使用增量存储",checked:d.embed?!1:d.delta,disabled:d.embed,onCheckChange:g=>{f(N=>({...N,delta:g}))}})]}),T.jsx(CT,{getValue:h.current,nodeCtx:e,save:async()=>{const g=await y();g&&(e.setAttrs({value:g}),i(g))},children:T.jsx(qn,{variant:"secondary",onClick:async()=>{const g=await y();if(!g){St.error("无法获取当前数据");return}await navigator.clipboard.writeText(`\`\`\`excalidraw +${g} +\`\`\``),St.success("已复制",{position:"top-right"})},children:"复制"})})]})]})})};n.present({title:"Excalidraw",max:!0,content:c})};return T.jsx("div",{onClick:a,className:"cursor-pointer",children:T.jsx(v.Suspense,{fallback:T.jsx(Xg,{}),children:T.jsx(l,{className:"pointer-events-none",showExtendButton:!1,data:t},s)})})},DT=n=>{const e=n.split(","),t=e[0].match(/:(.*?);/)[1],r=atob(e[1]);let i=r.length;const o=new Uint8Array(i);for(;i--;)o[i]=r.charCodeAt(i);return new File([o],"image.png",{type:t})},RT=()=>{const{node:n,setAttrs:e}=Xn(),{src:t,alt:r,title:i}=n.attrs,o=_g(),s=t.startsWith("http"),l=()=>{if(t.startsWith("http"))return;const c=new FormData;c.append("file",DT(t)),fetch("/api/s3",{method:"POST",body:c}).then(u=>u.json()).then(u=>{u.url?(St.success("上传成功"),e({src:u.url})):St.error("上传失败")}).catch(u=>{console.error(u),St.error(`上传失败${u?.message}`)})},a=sa();return T.jsx("div",{className:"my-4 flex center",children:T.jsxs("div",{className:"group relative inline-block",children:[T.jsx(Og,{className:"max-h-[80vh]",src:t,containerWidth:o?450:600}),T.jsx("div",{className:"absolute bottom-1 left-1 z-[10] opacity-0 duration-200 group-hover:opacity-100",children:T.jsx(qn,{onClick:()=>{a.present({title:"编辑图片",content:()=>T.jsx(PT,{onSubmit:c=>{e(c)},src:t,alt:r,title:i})})},variant:"secondary",className:"box-content flex h-6 w-6 rounded-full p-2 center",children:T.jsx("i",{className:"icon-[mingcute--edit-line] text-[16px]"})})}),!s&&T.jsx(ry,{type:"tooltip",placement:"right",triggerElement:T.jsx(ty,{onClick:l,className:"absolute bottom-1 right-1 box-content flex rounded-full bg-base-100 text-red-500 center",children:T.jsx("i",{className:"icon-[mingcute--warning-line] text-[24px]"})}),children:"此图片是一个内嵌图片,还没有上传到服务器,点击上传到服务器(需要配置 S3)"})]})})},zT=({nodeViewFactory:n})=>[Rr(tr.node,()=>n({component:RT}))],PT=({onSubmit:n,src:e,alt:t,title:r})=>{const i=ed(),o=v.useRef([{name:"src",placeholder:"https://",rules:[{validator:h=>h.startsWith("http"),message:"请输入正确的图片链接 https://"}]},{name:"alt",placeholder:"图片信息",rules:[{validator:h=>h.length<=200,message:"图片信息不能超过200个字符"}]},{name:"title",placeholder:"图片标题",rules:[{validator:h=>h.length<=50,message:"图片标题不能超过50个字符"}]}]).current,s=()=>{n(l),i.dismiss()},[l,a]=v.useState({src:e,alt:t||"",title:r||""}),c=v.useCallback((h,d)=>{a(f=>({...f,[h]:d}))},[]),u=v.useCallback(h=>{c(h.target.name,h.target.value)},[]);return T.jsxs(iy,{className:"w-[300px] space-y-4 text-center",onSubmit:s,children:[o.map(h=>T.jsx(Kg,{value:l[h.name],onChange:u,...h},h.name)),T.jsx(qn,{variant:"primary",type:"submit",children:"好"})]})},LT=n=>{const e=v.useRef(null);return v.useLayoutEffect(()=>{n&&e.current&&(e.current.value=n)},[]),[e.current?.value,v.useCallback(()=>e.current?.value,[]),e]},Qh="<auto_open>",FT=()=>{const{contentRef:n,node:e,setAttrs:t,view:r,getPos:i}=Xn(),o=e.attrs.value,s=o===Qh,l=sa(),a=()=>{const u=({dismiss:h})=>{const d=()=>{const y=i();typeof y>"u"||(r.dispatch(r.state.tr.delete(y,y+e.nodeSize)),h())},f=o===Qh?"":o,[,p,m]=LT(f);return T.jsxs("div",{className:"flex h-[450px] max-h-[80vh] w-[60ch] max-w-full flex-col",children:[T.jsx(Ug,{defaultValue:f,className:"flex-grow",ref:m}),T.jsxs("div",{className:"mt-4 flex justify-end space-x-2",children:[T.jsx(qn,{variant:"secondary",onClick:d,children:"删除"}),T.jsx(qn,{onClick:()=>{t({value:p()}),h()},children:"保存"})]})]})};l.present({title:"Edit Diagram",content:u})},c=v.useRef(!1);return v.useEffect(()=>{s&&(c.current||(c.current=!0,t({value:""}),requestAnimationFrame(()=>{requestAnimationFrame(()=>{a()})})))},[]),!o||s?T.jsx("div",{ref:n,className:"my-4 flex h-12 w-full max-w-full cursor-pointer rounded bg-slate-100 text-sm center dark:bg-neutral-800",onClick:a,contentEditable:!1,children:"Empty Diagram, Click to edit"}):T.jsx("div",{ref:n,className:"my-4 max-w-full cursor-pointer [&_*]:!select-none",onClick:a,contentEditable:!1,children:T.jsx("div",{className:"pointer-events-none",children:T.jsx(ey,{content:o})})})},$T=({nodeViewFactory:n})=>[Rr(Vr.node,()=>n({component:FT}))],BT=n=>[yT(n),bT(n),$T(n),zT(n),aT,vT(n),mT(n)].flat(),og=v.forwardRef((n,e)=>T.jsx(My,{children:T.jsx(dx,{children:T.jsx(sg,{ref:e,...n})})}));og.displayName="MilkdownEditor";const sg=v.forwardRef((n,e)=>{const{initialMarkdown:t}=n,r=v.useRef(),i=v.useRef(),o=v.useCallback(()=>i.current?.action(d=>{const f=d.get(Wn);return d.get(Er)(f.state.doc)}),[]),s=ex(),{get:l}=Ny(d=>{const f=tS.make();return i.current=f,f.config(p=>{QE(p),r.current=p,p.set(vo,d),p.set(Eo,t||""),r.current.update(Mi,y=>({...y,editable:()=>!n.readonly}));const m=p.get(_n);p.set(_n,{handlers:{...m.handlers,...ZE}}),p.get(Zl).markdownUpdated((y,g)=>{u.current||(n.onMarkdownChange?.(g),n.onChange?.({target:{value:g}}))}).blur(()=>{n.onBlur?.()})}).use(uM).use(Bp).use(Ip).use(fS).use(mS).use(YE).use(BT({nodeViewFactory:s})).onStatusChange(p=>{p===Op.Created&&n.onCreated?.()})},[]),a=v.useCallback(d=>{l()?.action(rS(d))},[l]),c=v.useCallback(d=>{l()?.action(d)},[l]);v.useImperativeHandle(e,()=>({getMarkdown:o,setMarkdown:a,getAction:c,get editor(){return i.current}}));const u=Gg(),h=v.useId();return T.jsx("div",{id:`milkdown-${h}`,className:rT.editor,children:T.jsx(Sy,{})})});sg.displayName="MilkdownEditorImpl";const lg=()=>T.jsx(wy,{children:T.jsx("div",{className:"m-auto w-[60ch] border p-2",children:T.jsx(og,{initialMarkdown:`::iframe{src="https://saul-mirone.github.io"} +> 1111 +> 2222 + + +\`\`\`excalidraw +{"type":"excalidraw/clipboard","elements":[{"id":"PmE_-ljCxW_Xt7-aTwGCG","type":"rectangle","x":3201.9504923319187,"y":2568.8218349216327,"width":125.64409355058388,"height":45.82037362686515,"angle":0,"strokeColor":"#f08c00","backgroundColor":"transparent","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":3},"seed":159580388,"version":8,"versionNonce":108767588,"isDeleted":false,"boundElements":null,"updated":1706773637699,"link":null,"locked":false}],"files":{}} +\`\`\` + + +\`\`\`js +const a = 1 +\`\`\` + + +\`\`\`mermaid +flowchart TD + 1([手动打 tag 发布一个 release]) --> + 2([CI 监视 release 的发布 开始构建和发布]) --> + 3([云构建打包产物 zip 发布到 GitHub Release]) -- SSH 连接到服务器--> + 4([执行部署脚本]) --> + 5([下载构建产物解压]) --> + 6([直接运行或使用 PM2 托管]) +\`\`\` + + +## Alerts + + +> [!NOTE] +> Highlights information that users should take into account, even when skimming. + +> [!IMPORTANT] +> Crucial information necessary for users to succeed. + +> [!WARNING] +> Critical content demanding immediate user attention due to potential risks. + +~~11~~ + +aa||aaa11||aaaa |||aaa||| + +1111111111111112222222222 ~~22222~~ **a** aaaaaaaaaaaa.. + +:::grid[cols=3,gap=4] + +Grid 1 + +Grid 2 + +Grid 3 + +https://loremflickr.com/640/480/city?1 + +https://loremflickr.com/640/480/city?2 + +https://loremflickr.com/640/480/city?3 + +![](https://loremflickr.com/640/480/city?4 'Image') + +![](https://loremflickr.com/640/480/city?4 'Image') + +![](https://loremflickr.com/640/480/city?4 'Image') + + +`})})});lg.meta={title:"Editor"};const AO=Object.freeze(Object.defineProperty({__proto__:null,EditorDemo:lg},Symbol.toStringTag,{value:"Module"}));export{Sa as d,AO as i}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index-ISduWuPC.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./FormInput-i0fsPScC.js","./request-bY2SEZNN.js","./toast-dlXalurG.js","./motion-minimal-epsqYg85.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js","./viewport-l4O6ZIBM.js","./LinkCard-AonZnIUQ.js","./image-fdtjzFNr.js","./provider-XKwIHqOQ.js","./use-is-unmounted-dmgvzXDy.js","./spring-hnK4kZop.js","./use-event-callback-ULpIcVk8.js","./dom-NuJWIaAq.js","./visual-element-tlU1-krp.js","./index-LA8z4iWc.js","./use-is-client-6Iy0halI.js","./LinkCard-YJIkKfPg.css","./AutoResizeHeight-dtcKGJMw.js","./lodash-lrAbnKsZ.js","./framer-lazy-feature-TidPbDJU.js","./features-max-xJxYem1n.js","./index-eOZlXeNv.js","./useQuery-3CoUXB5U.js","./index-D4F-WjWJ.js","./main-pGz5eUwv.js","./use-is-dark-IiysOCcN.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/index.demo-UwCoPzJE.js b/assets/index.demo-UwCoPzJE.js new file mode 100644 index 00000000000..897ba99f1a8 --- /dev/null +++ b/assets/index.demo-UwCoPzJE.js @@ -0,0 +1,2 @@ +import{j as o}from"./index-ZXl4th35.js";import{C as r}from"./CodeEditor-AByBrAxP.js";import"./dom-NuJWIaAq.js";import"./motion-minimal-epsqYg85.js";import"./CodeHighlighter-Mm1eioOt.js";import"./toast-dlXalurG.js";import"./StyledButton-VgryXAte.js";import"./use-is-dark-IiysOCcN.js";const t=()=>o.jsx("div",{className:"h-[300px] overflow-auto border p-4",children:o.jsx(r,{content:Array(100).fill(null).map(()=>`const a = ${Math.random()}; +`).join(""),language:"javascript"})});t.meta={title:"CodeEditor"};export{t as CodeEditorDemo}; diff --git a/assets/index.demo-_HCT0BHE.js b/assets/index.demo-_HCT0BHE.js new file mode 100644 index 00000000000..3c05e5bdba1 --- /dev/null +++ b/assets/index.demo-_HCT0BHE.js @@ -0,0 +1 @@ +import{j as i}from"./index-ZXl4th35.js";import{L as r,a as t}from"./LinkCard-AonZnIUQ.js";import"./image-fdtjzFNr.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./request-bY2SEZNN.js";import"./toast-dlXalurG.js";import"./env-y9k74Ds6.js";import"./viewport-l4O6ZIBM.js";import"./provider-XKwIHqOQ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./use-is-client-6Iy0halI.js";const o=()=>i.jsx(r,{id:"notes/145",source:t.MixSpace});o.meta={description:"Show Mix Space Note LinkCard",title:"LinkCard - Mix Space Note"};const e=()=>i.jsx(r,{id:"innei/innei",source:t.GHRepo});e.meta={description:"Show Github Repo LinkCard",title:"LinkCard - GitHub Repo"};const n=()=>i.jsx(r,{id:"notes/1451",source:t.MixSpace});n.meta={description:"Error LinkCard",title:"LinkCard - Error"};const m=()=>i.jsx(r,{id:"innei/shiro/132",source:t.GHPr});m.meta={description:"Show Github PR LinkCard",title:"LinkCard - GitHub PR"};const a=()=>i.jsx(r,{id:"innei/shiro/commit/0bf51cd8cf8457a2666906dea4a333081fc2a2b8",source:t.GHCommit});a.meta={description:"Show Github Commit LinkCard",title:"LinkCard - GitHub Commit"};export{o as LinkCardDemo1,e as LinkCardDemo2,n as LinkCardDemo3,m as LinkCardDemo4,a as LinkCardDemo5}; diff --git a/assets/index.demo-vRHkS__q.js b/assets/index.demo-vRHkS__q.js new file mode 100644 index 00000000000..70229e20a14 --- /dev/null +++ b/assets/index.demo-vRHkS__q.js @@ -0,0 +1,433 @@ +import{R as m,a,j as n,r as e,_ as l}from"./index-ZXl4th35.js";import{Q as p,a as h}from"./request-bY2SEZNN.js";import{R as d,E as c}from"./ExcalidrawLoading-Id2ozXoI.js";import{Q as f}from"./toast-dlXalurG.js";import{e as u}from"./Gallery-QJ8JjQGt.js";import{$ as k}from"./use-is-dark-IiysOCcN.js";import{M as g,B as y}from"./Mermaid-gWIn58QC.js";import{ShikiHighLighter as b}from"./Shiki-YdqsEpEt.js";import{M as x}from"./alert-fERsLyJJ.js";import"./env-y9k74Ds6.js";import"./react-error-boundary.esm-e5Yyzoa4.js";import"./CodeHighlighter-Mm1eioOt.js";import"./motion-minimal-epsqYg85.js";import"./lodash-lrAbnKsZ.js";import"./StyledButton-VgryXAte.js";import"./image-fdtjzFNr.js";import"./viewport-l4O6ZIBM.js";import"./use-is-unmounted-dmgvzXDy.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./utils-JJoYnXdw.js";import"./FloatPopover-3waN72gb.js";import"./use-is-client-6Iy0halI.js";import"./index-LA8z4iWc.js";import"./visual-element-tlU1-krp.js";import"./LinkCard-AonZnIUQ.js";import"./provider-XKwIHqOQ.js";import"./dom-NuJWIaAq.js";import"./SocialSourceLink-Fjgxzjol.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";const I=` + +## List and GFM Tasks + +1. First +2. Second + 1. 2.1 + 2. 2.2 + 1. 3.1 +3. Third +4. Fourth + +- [ ] Checkbox +- [x] Checkbox Completed + +--- + +- Line + - Line 1.1 +- Line 2 + +## Definition lists + +Term 1 + +: Definition 1 +with lazy continuation. + +Term 2 with _inline markup_ + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +_Compact style:_ + +Term 1 +~ Definition 1 + +Term 2 +~ Definition 2a +~ Definition 2b + +## [Abbreviations](https://github.com/markdown-it/markdown-it-abbr) + +This is HTML abbreviation example. + +It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. + +\\*[HTML]: Hyper Text Markup Language + +## Table + +| 表达内容 | 示例 | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ------------- | +| 表示文件 | \`options.txt\` | +| 表示变量 | <版本名> | +| 在文件或文件夹末尾加上 \`!\` 表示 Minecraft 本体,分发这些文件违反了 [Minecraft Eula](https://account.mojang.com/documents/minecraft_eula) | libraries ! | +| 在文件或文件夹末尾加上 \`*\` 表示可删除,\`**\` 表示建议删除,\`***\` 表示必须删除 | libraries \\* | + +## Token + +This is a ||Spoiler|| + +A \`code\`. + +==mark== it. + +++Something Insert++ + +## Latex + +$ c = \\pm\\sqrt{a^2 + b^2} $ + +## Container + +### banner + +\`\`\` +::: warning +_here be dragons_ +::: + +::: banner {error} +_here be dragons_ +::: +\`\`\` + +::: warning +_here be dragons_ +::: + +::: banner {error} +_here be dragons_ +::: + +### Gallery + +\`\`\` +::: gallery +https://loremflickr.com/640/480/city?1 +https://loremflickr.com/640/480/city?2 +https://loremflickr.com/640/480/city?3 +![](https://loremflickr.com/640/480/city?4 'Image') +::: + +\`\`\` + +::: gallery +https://loremflickr.com/640/480/city?1 +https://loremflickr.com/640/480/city?2 +https://loremflickr.com/640/480/city?3 +![](https://loremflickr.com/640/480/city?4 'Image') +::: + +### Grid + +\`\`\`md +::: grid {cols=3,gap=4} + +Grid 1 + +Grid 2 + +Grid 3 + +https://loremflickr.com/640/480/city?1 + +https://loremflickr.com/640/480/city?2 + +https://loremflickr.com/640/480/city?3 + +![](https://loremflickr.com/640/480/city?4 'Image') + +![](https://loremflickr.com/640/480/city?4 'Image') + +![](https://loremflickr.com/640/480/city?4 'Image') + +::: +\`\`\` + +::: grid {cols=3,gap=4} + +Grid 1 + +Grid 2 + +Grid 3 + +https://loremflickr.com/640/480/city?1 + +https://loremflickr.com/640/480/city?2 + +https://loremflickr.com/640/480/city?3 + +![](https://loremflickr.com/640/480/city?4) + +![](https://loremflickr.com/640/480/city?6) + +![](https://loremflickr.com/640/480/city?40) + +::: + +### Images Grid + +\`\`\`md +::: grid {cols=2,rows=2,gap=4,type=images} +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +::: +\`\`\` + +::: grid {cols=3,rows=3,gap=12,type=images} +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +::: + +\`\`\` +::: grid {cols=3,rows=2,gap=12,type=images} +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +::: + +\`\`\` + +::: grid {cols=3,rows=2,gap=12,type=images} +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +![](https://loremflickr.com/640/480/city?4) +::: + + + +## Rich Link + +\`\`\` +https://github.com/Innei/Shiro +\`\`\` + +https://github.com/Innei/Shiro + +\`\`\` +https://twitter.com/zhizijun/status/1649822091234148352?s=20 +\`\`\` + +https://twitter.com/zhizijun/status/1649822091234148352?s=20 + +\`\`\` +https://www.youtube.com/watch?v=N93cTbtLCIM +\`\`\` + +https://www.youtube.com/watch?v=N93cTbtLCIM + +\`\`\` +https://gist.github.com/Innei/94b3e8f078d29e1820813a24a3d8b04e +\`\`\` + +https://gist.github.com/Innei/94b3e8f078d29e1820813a24a3d8b04e + +\`\`\` +https://github.com/vuejs/vitepress/commit/71eb11f72e60706a546b756dc3fd72d06e2ae4e2 +\`\`\` + +https://github.com/vuejs/vitepress/commit/71eb11f72e60706a546b756dc3fd72d06e2ae4e2 + +\`\`\` +https://codesandbox.io/s/framer-motion-layoutroot-prop-forked-p39g96 +\`\`\` + +https://codesandbox.io/s/framer-motion-layoutroot-prop-forked-p39g96 + +\`\`\` +https://github.com/Innei/Shiro/blob/108d4c3e927e1c9c9304e41a0631f91958477d9f/src/providers/root/modal-stack-provider.tsx +\`\`\` + +https://github.com/Innei/Shiro/blob/108d4c3e927e1c9c9304e41a0631f91958477d9f/src/providers/root/modal-stack-provider.tsx + +\`\`\` +https://github.com/Innei/Shiro/pull/129 +\`\`\` + +https://github.com/Innei/Shiro/pull/129 + +\`\`\` +https://github.com/Innei/Shiro/commit/6957e011439eb2d3cbf42bfb67ed81b07d4bcc2a +\`\`\` + +https://github.com/Innei/Shiro/commit/6957e011439eb2d3cbf42bfb67ed81b07d4bcc2a + +\`\`\` +https://trpc.io/docs/client/react/useInfiniteQuery +\`\`\` + +https://trpc.io/docs/client/react/useInfiniteQuery + +\`\`\` +[TRPC](https://trpc.io/docs/client/react/useInfiniteQuery) +\`\`\` + +[TRPC](https://trpc.io/docs/client/react/useInfiniteQuery) + +## LinkCard + +\`\`\` +<LinkCard source="gh" id="mx-space/kami"> +\`\`\` + +<LinkCard source="gh" id="mx-space/kami"> + +\`\`\` +<LinkCard source="gh-commit" id="mx-space/kami/commit/e1eee4136c21ab03ab5690e17025777984c362a0"> +\`\`\` + +<LinkCard source="gh-commit" id="mx-space/kami/commit/e1eee4136c21ab03ab5690e17025777984c362a0"> + +## Inline Link Parser + +\`\`\` +Inline [Innei](https://github.com/Innei) +\`\`\` + +Inline [Innei](https://github.com/Innei) + +\`\`\` +Inline [pseudoyu](https://twitter.com/pseudo_yu) +\`\`\` + +Inline [pseudoyu](https://twitter.com/pseudo_yu) + +\`\`\` +Inline <https://github.com/Innei> +\`\`\` + +Inline <https://github.com/Innei> + +\`\`\` +Inline https://github.com/Innei +\`\`\` + +Inline https://github.com/Innei + +## Mention + +\`\`\` +[Innei]{GH@Innei} +\`\`\` + +[Innei 太菜了]{GH@Innei} + +## Alerts + +\`\`\` +> [!NOTE] +> Highlights information that users should take into account, even when skimming. + +> [!IMPORTANT] +> Crucial information necessary for users to succeed. + +> [!WARNING] +> Critical content demanding immediate user attention due to potential risks. +\`\`\` + +> [!NOTE] +> Highlights information that users should take into account, even when skimming. + +> [!IMPORTANT] +> Crucial information necessary for users to succeed. + +> [!WARNING] +> Critical content demanding immediate user attention due to potential risks. + +## KateX + +\`\`\` +$ c = \\pm\\sqrt{a^2 + b^2} $ +\`\`\` + +$ c = \\pm\\sqrt{a^2 + b^2} $ + +\`\`\` +$c = \\pm\\sqrt{a^2 + b^2}$ +\`\`\` + +$c = \\pm\\sqrt{a^2 + b^2}$ + +$P(x) = a_nx^n+a_{n-1}x^{n-1} + \\dots + a_1x + a_0$ + +\`\`\` +$P(x) = a_nx^n+a_{n-1}x^{n-1} + \\dots + a_1x + a_0$ +\`\`\` + +\`\`\` +$$ + +P\\left(U,T\\right)=100\\left.\\left(0.6\\min\\left(1,\\frac{U-0.70}{0.90-0.70}\\right)+0.4\\min\\left(1,\\frac{T-4000}{14000-4000}\\right)\\right)\\right. + +$$ +\`\`\` + +$$ + +P\\left(U,T\\right)=100\\left.\\left(0.6\\min\\left(1,\\frac{U-0.70}{0.90-0.70}\\right)+0.4\\min\\left(1,\\frac{T-4000}{14000-4000}\\right)\\right)\\right. + + +$$ + + +## Excalidraw + +\`\`\`excalidraw +{"type":"excalidraw/clipboard","elements":[{"type":"rectangle","version":14,"versionNonce":1361369853,"isDeleted":false,"id":"_PSpf6pLwkWIJubC_tf9D","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":545.0390625,"y":387.296875,"strokeColor":"#1e1e1e","backgroundColor":"transparent","width":177.53515625,"height":138.328125,"seed":1495751197,"groupIds":[],"frameId":null,"roundness":{"type":3},"boundElements":[],"updated":1706954302946,"link":null,"locked":false}],"files":{}} +\`\`\` + +\`\`\`\`markdown +\`\`\`excalidraw +{"type":"excalidraw/clipboard","elements":[{"type":"rectangle","version":14,"versionNonce":1361369853,"isDeleted":false,"id":"_PSpf6pLwkWIJubC_tf9D","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":545.0390625,"y":387.296875,"strokeColor":"#1e1e1e","backgroundColor":"transparent","width":177.53515625,"height":138.328125,"seed":1495751197,"groupIds":[],"frameId":null,"roundness":{"type":3},"boundElements":[],"updated":1706954302946,"link":null,"locked":false}],"files":{}} +\`\`\` +\`\`\`\` + +## React Remote Component Render +<!-- +\`\`\`component +import=http://127.0.0.1:2333/snippets/js/components +name=MyComponents.Card +\`\`\` + +\`\`\`\`markdown +\`\`\`component +import=http://127.0.0.1:2333/snippets/js/components +name=MyComponents.Card +\`\`\` +\`\`\`\` --> + + +\`\`\`component +import=https://cdn.jsdelivr.net/npm/@innei/react-cdn-components@0.0.7/dist/components/Firework.js +name=MDX.Firework +height=25 +\`\`\` + +\`\`\`\`markdown +\`\`\`component +import=https://cdn.jsdelivr.net/npm/@innei/react-cdn-components@0.0.7/dist/components/Firework.js +name=MDX.Firework +height=25 +\`\`\` +\`\`\`\` + +`,w=new p,C=({data:t})=>{const[i,o]=e.useState(null);return u(()=>{const s=e.lazy(()=>l(()=>import("./index-eOZlXeNv.js").then(r=>r.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url).then(r=>({default:r.Excalidraw})));o(n.jsx(s,{data:t},t))},[t]),n.jsx(e.Suspense,{fallback:n.jsx(c,{}),children:i??n.jsx(c,{})})},_=t=>{const i=e.useMemo(()=>{switch(t.lang){case"mermaid":return n.jsx(g,{...t});case"excalidraw":return n.jsx(C,{data:t.content});case"component":return n.jsx(d,{dls:t.content});default:return n.jsx(b,{...t})}},[t]);return n.jsx(e.Suspense,{fallback:n.jsx(y,{children:"CodeBlock Loading..."}),children:i})};window.React=m;window.ReactDOM=a;const T=()=>n.jsx(h,{client:w,children:n.jsxs(k,{children:[n.jsx("main",{className:"relative m-auto mt-6 max-w-[800px]",children:n.jsx(x,{value:I,extendsRules:{codeBlock:{react(t,i,o){return n.jsx(_,{content:t.content,lang:t.lang},o?.key)}}},className:"prose",as:"article"})}),n.jsx(f,{})]})});T.meta={title:"Markdown Customize"};export{T as MarkdownCustomize}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index-eOZlXeNv.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./useQuery-3CoUXB5U.js","./request-bY2SEZNN.js","./toast-dlXalurG.js","./motion-minimal-epsqYg85.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js","./index-D4F-WjWJ.js","./main-pGz5eUwv.js","./viewport-l4O6ZIBM.js","./use-is-dark-IiysOCcN.js","./dom-NuJWIaAq.js","./lodash-lrAbnKsZ.js","./provider-XKwIHqOQ.js","./use-is-unmounted-dmgvzXDy.js","./spring-hnK4kZop.js","./use-event-callback-ULpIcVk8.js","./visual-element-tlU1-krp.js","./index-LA8z4iWc.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/index.demo-wym_-kfv.js b/assets/index.demo-wym_-kfv.js new file mode 100644 index 00000000000..57333dc5bb1 --- /dev/null +++ b/assets/index.demo-wym_-kfv.js @@ -0,0 +1 @@ +import{j as t}from"./index-ZXl4th35.js";import{W as i,M as m,G as a}from"./Gallery-QJ8JjQGt.js";import"./image-fdtjzFNr.js";import"./motion-minimal-epsqYg85.js";import"./lodash-lrAbnKsZ.js";import"./request-bY2SEZNN.js";import"./toast-dlXalurG.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./viewport-l4O6ZIBM.js";import"./use-is-unmounted-dmgvzXDy.js";const n=()=>Math.floor(Math.random()*255).toString(16).padStart(2,"0"),o=Array.from({length:10}).map((r,e)=>({src:`https://loremflickr.com/640/480/city?${e}`,height:480,width:640,type:"image",accent:`#${n()}`})),s=()=>t.jsx("div",{className:"inline-block overflow-hidden border border-accent",style:{width:"600px"},children:t.jsx(i,{children:t.jsx(m,{images:o,children:t.jsx(a,{images:o.map(r=>({...r,url:r.src,name:r.src,footnote:r.src}))})})})});s.meta={title:"Gallery",description:"Gallery component"};export{s as Demo1}; diff --git a/assets/index.demo-y6Hsg3BO.js b/assets/index.demo-y6Hsg3BO.js new file mode 100644 index 00000000000..0fb7ab780f1 --- /dev/null +++ b/assets/index.demo-y6Hsg3BO.js @@ -0,0 +1,4 @@ +import{j as e}from"./index-ZXl4th35.js";import{Q as l}from"./toast-dlXalurG.js";import{$ as t}from"./use-is-dark-IiysOCcN.js";import{M as o}from"./provider-XKwIHqOQ.js";import{E as n}from"./index-eOZlXeNv.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./request-bY2SEZNN.js";import"./env-y9k74Ds6.js";import"./viewport-l4O6ZIBM.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./useQuery-3CoUXB5U.js";import"./index-D4F-WjWJ.js";import"./main-pGz5eUwv.js";import"./lodash-lrAbnKsZ.js";const s="excalidraw/clipboard",r=[{type:"rectangle",version:84,versionNonce:519052070,isDeleted:!1,id:"TONZ4Br348v2na2Whlw_b",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2458.412109375,y:1770.27734375,strokeColor:"#1971c2",backgroundColor:"transparent",width:745.1640625,height:439.69140625,seed:1471445862,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1},{type:"rectangle",version:109,versionNonce:1036895846,isDeleted:!1,id:"eWJST9bciuWnXIcTmPy9C",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2472.830078125,y:1783.28515625,strokeColor:"#1971c2",backgroundColor:"transparent",width:189.1015625,height:29.765625000000007,seed:1469849254,groupIds:[],frameId:null,roundness:{type:3},boundElements:[],updated:1706597235079,link:null,locked:!1},{type:"rectangle",version:79,versionNonce:1649674662,isDeleted:!1,id:"wzJsT9se2LjeWE_fqgw_p",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2475.228515625,y:1820.58984375,strokeColor:"#1971c2",backgroundColor:"transparent",width:238.86328125,height:280.91796875,seed:422402534,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1},{type:"rectangle",version:96,versionNonce:100041082,isDeleted:!1,id:"D7KhNCUOooAPe-6I8ynNp",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2483.798828125,y:1833.99609375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:220.75390625,height:45.94140625,seed:1668623654,groupIds:[],frameId:null,roundness:null,boundElements:[{id:"LqIDSog74JHQaNn_72FLe",type:"arrow"}],updated:1706597239431,link:null,locked:!1},{type:"rectangle",version:153,versionNonce:82272870,isDeleted:!1,id:"p85e_Kj3hH0ufPxqjSaf_",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2487.39453125,y:1893.615234375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:220.75390625,height:45.94140625,seed:333486182,groupIds:[],frameId:null,roundness:null,boundElements:[{id:"EeUgfLW4u0fDov5IZDq2T",type:"arrow"}],updated:1706597257204,link:null,locked:!1},{type:"rectangle",version:197,versionNonce:1746616806,isDeleted:!1,id:"uq18cpOm0rlL2Fq72ZGor",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2488.40234375,y:1959.740234375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:220.75390625,height:45.94140625,seed:1379703718,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1},{type:"rectangle",version:222,versionNonce:1391144486,isDeleted:!1,id:"fL6WteWNbAmUzKlWqZCyn",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2487.15234375,y:2024.458984375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:220.75390625,height:45.94140625,seed:1152792294,groupIds:[],frameId:null,roundness:null,boundElements:[{type:"text",id:"QBOzjh5j87a7oQSV-fdFg"}],updated:1706597237756,link:null,locked:!1},{type:"text",version:29,versionNonce:510951526,isDeleted:!1,id:"QBOzjh5j87a7oQSV-fdFg",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2569.577323913574,y:2037.4296875,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:55.90394592285156,height:20,seed:1138387494,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"Asset4",textAlign:"center",verticalAlign:"middle",containerId:"fL6WteWNbAmUzKlWqZCyn",originalText:"Asset4",lineHeight:1.25,baseline:14},{type:"rectangle",version:122,versionNonce:475820646,isDeleted:!1,id:"DBHN95sdWL7KLDBPLLRtU",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2744.705078125,y:1792.71484375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:311.22265625,height:404.6953125,seed:244725094,groupIds:[],frameId:null,roundness:null,boundElements:[{id:"TPgi3mjx3TIih-5zjgjRB",type:"arrow"},{id:"esIKdSKwVF-EMEnXphq9z",type:"arrow"}],updated:1706597294503,link:null,locked:!1},{type:"text",version:78,versionNonce:1542856038,isDeleted:!1,id:"ZphvidfA6xw68HKU1kDWi",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2565.181640625,y:1845.6328125,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:49.99995422363281,height:20,seed:2117507238,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"Asset1",textAlign:"left",verticalAlign:"top",containerId:null,originalText:"Asset1",lineHeight:1.25,baseline:14},{type:"text",version:31,versionNonce:2105203814,isDeleted:!1,id:"I7hF7Onukg7Qq7angsfvy",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2563.580078125,y:1913.7109375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:57.05595397949219,height:20,seed:979932134,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597237151,link:null,locked:!1,fontSize:16,fontFamily:1,text:"Asset2",textAlign:"left",verticalAlign:"top",containerId:null,originalText:"Asset2",lineHeight:1.25,baseline:14},{type:"text",version:29,versionNonce:1220677414,isDeleted:!1,id:"e0mzuPk_v-7QKeSLz7Y2W",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2565.580078125,y:1978.7109375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:56.55995178222656,height:20,seed:1832462118,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"Asset3",textAlign:"left",verticalAlign:"top",containerId:null,originalText:"Asset3",lineHeight:1.25,baseline:14},{type:"text",version:73,versionNonce:1094793830,isDeleted:!1,id:"j6dhs248vyhpWLKiG3bz3",fillStyle:"cross-hatch",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2833.611328125,y:1818.640625,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:106.65592956542969,height:20,seed:1997886054,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"Asset1 Detail",textAlign:"left",verticalAlign:"top",containerId:null,originalText:"Asset1 Detail",lineHeight:1.25,baseline:14},{type:"rectangle",version:70,versionNonce:255393190,isDeleted:!1,id:"HO6ueqS-GO2qdJeZg5Ec-",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2486.029296875,y:1790.83203125,strokeColor:"#1e1e1e",backgroundColor:"#a5d8ff",width:62.1796875,height:14.94140625,seed:583669158,groupIds:[],frameId:null,roundness:{type:3},boundElements:[],updated:1706597235079,link:null,locked:!1},{type:"rectangle",version:67,versionNonce:1929441082,isDeleted:!1,id:"tQVBMMgRT8ifKGtNb6MSd",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3077.392578125,y:1795.19921875,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:112.57421875,height:203.3203125,seed:1501851878,groupIds:[],frameId:null,roundness:{type:3},boundElements:[{id:"4bUMW2660GuFUortPVuOh",type:"arrow"}],updated:1706597304786,link:null,locked:!1},{type:"rectangle",version:120,versionNonce:1386630182,isDeleted:!1,id:"gFQ72WJ8mza3ybLna0r-4",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3090.619140625,y:1870.81640625,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:81.91015625,height:30,seed:1456563238,groupIds:[],frameId:null,roundness:null,boundElements:[{type:"text",id:"gwra6w7xO1As_SQUCtP_m"}],updated:1706597235079,link:null,locked:!1},{type:"text",version:91,versionNonce:1570101094,isDeleted:!1,id:"gwra6w7xO1As_SQUCtP_m",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3099.046241760254,y:1875.81640625,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:65.05595397949219,height:20,seed:1553854310,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"Asset 2",textAlign:"center",verticalAlign:"middle",containerId:"gFQ72WJ8mza3ybLna0r-4",originalText:"Asset 2",lineHeight:1.25,baseline:14},{type:"rectangle",version:136,versionNonce:116291942,isDeleted:!1,id:"Y73FXwlbsBsjwi3zxKN3r",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3092.26953125,y:1928.38671875,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:81.91015625,height:30,seed:1731662502,groupIds:[],frameId:null,roundness:null,boundElements:[{type:"text",id:"eiOkFO5hOkct0KwMPZORX"}],updated:1706597237756,link:null,locked:!1},{type:"text",version:105,versionNonce:593999334,isDeleted:!1,id:"eiOkFO5hOkct0KwMPZORX",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3101.272636413574,y:1933.38671875,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:63.90394592285156,height:20,seed:1632226790,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"Asset 4",textAlign:"center",verticalAlign:"middle",containerId:"Y73FXwlbsBsjwi3zxKN3r",originalText:"Asset 4",lineHeight:1.25,baseline:14},{type:"text",version:113,versionNonce:540275814,isDeleted:!1,id:"er1mQi6xE_d7Llf-blv8W",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3087.896484375,y:1818.20703125,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:88.71621704101562,height:15.406250000000004,seed:1474502950,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:12.325000000000003,fontFamily:1,text:"Related asset",textAlign:"left",verticalAlign:"top",containerId:null,originalText:"Related asset",lineHeight:1.25,baseline:11},{type:"rectangle",version:88,versionNonce:358367802,isDeleted:!1,id:"Sp1iL8u66BgUuMAZmE0I1",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2770.236328125,y:1864.46484375,strokeColor:"#1e1e1e",backgroundColor:"#e9ecef",width:246.16015625,height:110.27734375,seed:779095142,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597239431,link:null,locked:!1},{type:"line",version:74,versionNonce:1377519142,isDeleted:!1,id:"Dqk-TH6-TAMc97Zx7Pw1S",fillStyle:"hachure",strokeWidth:2,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2773.802734375,y:2010.41796875,strokeColor:"#1e1e1e",backgroundColor:"#e9ecef",width:224.93359375,height:.6640625,seed:1388154790,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,startBinding:null,endBinding:null,lastCommittedPoint:null,startArrowhead:null,endArrowhead:null,points:[[0,0],[224.93359375,.6640625]]},{type:"line",version:89,versionNonce:1482396006,isDeleted:!1,id:"QgOO1kUdVSxZH9qhs6JpC",fillStyle:"hachure",strokeWidth:2,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2774.75,y:2033.1479786874206,strokeColor:"#1e1e1e",backgroundColor:"#e9ecef",width:224.93359375,height:.6640625,seed:1895344870,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,startBinding:null,endBinding:null,lastCommittedPoint:null,startArrowhead:null,endArrowhead:null,points:[[0,0],[224.93359375,.6640625]]},{type:"line",version:90,versionNonce:519074982,isDeleted:!1,id:"xjm9NOAQeMsUm3YT9c8Wg",fillStyle:"hachure",strokeWidth:2,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2775.02734375,y:2060.1596974374206,strokeColor:"#1e1e1e",backgroundColor:"#e9ecef",width:224.93359375,height:.6640625,seed:665738790,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,startBinding:null,endBinding:null,lastCommittedPoint:null,startArrowhead:null,endArrowhead:null,points:[[0,0],[224.93359375,.6640625]]},{type:"line",version:105,versionNonce:1602678758,isDeleted:!1,id:"v5u9rOX2PS3dUiY_CHHrz",fillStyle:"hachure",strokeWidth:2,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2778.50390625,y:2088.9878224374206,strokeColor:"#1e1e1e",backgroundColor:"#e9ecef",width:224.93359375,height:.6640625,seed:1003202918,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,startBinding:null,endBinding:null,lastCommittedPoint:null,startArrowhead:null,endArrowhead:null,points:[[0,0],[224.93359375,.6640625]]},{type:"arrow",version:284,versionNonce:1187631014,isDeleted:!1,id:"LqIDSog74JHQaNn_72FLe",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2370.2670945801838,y:1688.79296875,strokeColor:"#1e1e1e",backgroundColor:"#e9ecef",width:105.34277079651565,height:135.66616293367088,seed:1285393574,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597243764,link:null,locked:!1,startBinding:{elementId:"fhRWvR6trzTbIC3E9GlLA",focus:.5324848235368168,gap:3.44921875},endBinding:{elementId:"D7KhNCUOooAPe-6I8ynNp",focus:-.7278819525299076,gap:12.5703125},lastCommittedPoint:null,startArrowhead:null,endArrowhead:"arrow",points:[[0,0],[105.34277079651565,135.66616293367088]]},{type:"rectangle",version:128,versionNonce:1979670822,isDeleted:!1,id:"fhRWvR6trzTbIC3E9GlLA",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2328.048828125,y:1636.7734375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:131.40234375,height:48.5703125,seed:131139558,groupIds:[],frameId:null,roundness:null,boundElements:[{id:"LqIDSog74JHQaNn_72FLe",type:"arrow"}],updated:1706597243764,link:null,locked:!1},{type:"text",version:34,versionNonce:2123680998,isDeleted:!1,id:"RTExENqFKvxAtgTTdbf4l",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2351.580078125,y:1649.7109375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:68.63995361328125,height:20,seed:1567824678,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"module A",textAlign:"left",verticalAlign:"top",containerId:null,originalText:"module A",lineHeight:1.25,baseline:14},{type:"rectangle",version:102,versionNonce:829833254,isDeleted:!1,id:"wHrR0-mbLj4dvR6aAz6ua",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2795.2734375,y:1634.3125,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:131.40234375,height:48.5703125,seed:871417446,groupIds:[],frameId:null,roundness:null,boundElements:[{type:"text",id:"1gDbe_ji6iFBNyMI1ERTj"},{id:"TPgi3mjx3TIih-5zjgjRB",type:"arrow"}],updated:1706597235079,link:null,locked:!1},{type:"text",version:47,versionNonce:1179077478,isDeleted:!1,id:"1gDbe_ji6iFBNyMI1ERTj",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2826.0866317749023,y:1648.59765625,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:69.77595520019531,height:20,seed:471271846,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"module B",textAlign:"center",verticalAlign:"middle",containerId:"wHrR0-mbLj4dvR6aAz6ua",originalText:"module B",lineHeight:1.25,baseline:14},{type:"arrow",version:99,versionNonce:107355898,isDeleted:!1,id:"TPgi3mjx3TIih-5zjgjRB",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2856.724609375,y:1689.3828125,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:2.46484375,height:99.078125,seed:85124326,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235083,link:null,locked:!1,startBinding:{elementId:"wHrR0-mbLj4dvR6aAz6ua",focus:.07564800794178884,gap:6.5},endBinding:{elementId:"DBHN95sdWL7KLDBPLLRtU",focus:-.2240163115727252,gap:4.25390625},lastCommittedPoint:null,startArrowhead:null,endArrowhead:"arrow",points:[[0,0],[2.46484375,99.078125]]},{type:"rectangle",version:35,versionNonce:2067397926,isDeleted:!1,id:"zGUI7z4YbXGajFx6BNOru",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3171.126953125,y:1650.24609375,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:162.00390625,height:53.453125,seed:1886476326,groupIds:[],frameId:null,roundness:null,boundElements:[{type:"text",id:"rtpX8GZu8EL7RBExXbnct"}],updated:1706597235079,link:null,locked:!1},{type:"text",version:34,versionNonce:2055956582,isDeleted:!1,id:"rtpX8GZu8EL7RBExXbnct",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3217.904930114746,y:1666.97265625,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:68.44795227050781,height:20,seed:639591270,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,fontSize:16,fontFamily:1,text:"module C",textAlign:"center",verticalAlign:"middle",containerId:"zGUI7z4YbXGajFx6BNOru",originalText:"module C",lineHeight:1.25,baseline:14},{type:"arrow",version:46,versionNonce:990735270,isDeleted:!1,id:"6pmK4eJ8aDWwvSm0xviBn",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3210.103515625,y:1703.19140625,strokeColor:"#1e1e1e",backgroundColor:"transparent",width:66.2109375,height:94.6484375,seed:1751778982,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597235079,link:null,locked:!1,startBinding:null,endBinding:null,lastCommittedPoint:null,startArrowhead:null,endArrowhead:"arrow",points:[[0,0],[-66.2109375,94.6484375]]},{id:"EeUgfLW4u0fDov5IZDq2T",type:"arrow",x:2348.0859375,y:1919.28515625,width:124.953125,height:3.13671875,angle:0,strokeColor:"#e03131",backgroundColor:"transparent",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,groupIds:[],frameId:null,roundness:{type:2},seed:1181892410,version:55,versionNonce:195753018,isDeleted:!1,boundElements:null,updated:1706597268369,link:null,locked:!1,points:[[0,0],[124.953125,-3.13671875]],lastCommittedPoint:null,startBinding:{elementId:"dd7I-2KIQDok7fscJR_9t",focus:.39673168789391766,gap:2.609375},endBinding:{elementId:"p85e_Kj3hH0ufPxqjSaf_",focus:.138635141064639,gap:14.35546875},startArrowhead:"arrow",endArrowhead:null},{id:"dd7I-2KIQDok7fscJR_9t",type:"rectangle",x:2198.96484375,y:1872,width:146.51171874999994,height:69.390625,angle:0,strokeColor:"#e03131",backgroundColor:"transparent",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,groupIds:[],frameId:null,roundness:null,seed:958829050,version:36,versionNonce:286938662,isDeleted:!1,boundElements:[{id:"EeUgfLW4u0fDov5IZDq2T",type:"arrow"},{type:"text",id:"es3dJ1grBR5fRsJjd9N52"}],updated:1706597268762,link:null,locked:!1},{id:"es3dJ1grBR5fRsJjd9N52",type:"text",x:2222.532730102539,y:1886.6953125,width:99.37594604492188,height:40,angle:0,strokeColor:"#e03131",backgroundColor:"transparent",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,groupIds:[],frameId:null,roundness:null,seed:2133386874,version:44,versionNonce:213702714,isDeleted:!1,boundElements:null,updated:1706597280544,link:null,locked:!1,text:`query 1 hold +data`,fontSize:16,fontFamily:1,textAlign:"center",verticalAlign:"middle",baseline:34,containerId:"dd7I-2KIQDok7fscJR_9t",originalText:"query 1 hold data",lineHeight:1.25},{type:"arrow",version:280,versionNonce:556202598,isDeleted:!1,id:"esIKdSKwVF-EMEnXphq9z",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2734.0206365177833,y:1630.57421875,strokeColor:"#e03131",backgroundColor:"transparent",width:27.99626761697209,height:157.9609375,seed:142577254,groupIds:[],frameId:null,roundness:{type:2},boundElements:[],updated:1706597297630,link:null,locked:!1,startBinding:{elementId:"mMrWjJoMo50zIetqa8KrC",focus:-.014550035266201834,gap:6.1796875},endBinding:{elementId:"DBHN95sdWL7KLDBPLLRtU",focus:-.5311179949502155,gap:4.1796875},lastCommittedPoint:null,startArrowhead:"arrow",endArrowhead:null,points:[[0,0],[27.99626761697209,157.9609375]]},{type:"rectangle",version:107,versionNonce:426197158,isDeleted:!1,id:"mMrWjJoMo50zIetqa8KrC",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2652.343751921877,y:1555.00390625,strokeColor:"#e03131",backgroundColor:"transparent",width:146.51171874999994,height:69.390625,seed:59560358,groupIds:[],frameId:null,roundness:null,boundElements:[{id:"esIKdSKwVF-EMEnXphq9z",type:"arrow"},{type:"text",id:"A1xhXFtT2cVyB5mohyygN"}],updated:1706597297630,link:null,locked:!1},{type:"text",version:116,versionNonce:258214950,isDeleted:!1,id:"A1xhXFtT2cVyB5mohyygN",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:2672.3836383964863,y:1569.69921875,strokeColor:"#e03131",backgroundColor:"transparent",width:106.43194580078125,height:40,seed:177188070,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597299551,link:null,locked:!1,fontSize:16,fontFamily:1,text:`query 2 hold +data`,textAlign:"center",verticalAlign:"middle",containerId:"mMrWjJoMo50zIetqa8KrC",originalText:"query 2 hold data",lineHeight:1.25,baseline:34},{type:"arrow",version:146,versionNonce:365408826,isDeleted:!1,id:"4bUMW2660GuFUortPVuOh",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3282.730470671877,y:1815.046875,strokeColor:"#e03131",backgroundColor:"transparent",width:83.0078125,height:70.8828125,seed:2111949094,groupIds:[],frameId:null,roundness:{type:2},boundElements:[],updated:1706597309136,link:null,locked:!1,startBinding:{elementId:"kndLLmQ_7jC-GMjIhR5_i",focus:.6286335737704571,gap:5.41796875},endBinding:{elementId:"tQVBMMgRT8ifKGtNb6MSd",focus:.30366494500008334,gap:9.755861296876901},lastCommittedPoint:null,startArrowhead:"arrow",endArrowhead:null,points:[[0,0],[-83.0078125,70.8828125]]},{type:"rectangle",version:38,versionNonce:76983546,isDeleted:!1,id:"kndLLmQ_7jC-GMjIhR5_i",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3288.148439421877,y:1774.3046875,strokeColor:"#e03131",backgroundColor:"transparent",width:146.51171874999994,height:69.390625,seed:1851372646,groupIds:[],frameId:null,roundness:null,boundElements:[{id:"4bUMW2660GuFUortPVuOh",type:"arrow"},{type:"text",id:"pQXBjuxSVbB-pOjLTZvb-"}],updated:1706597301130,link:null,locked:!1},{type:"text",version:50,versionNonce:474596134,isDeleted:!1,id:"pQXBjuxSVbB-pOjLTZvb-",fillStyle:"hachure",strokeWidth:1,strokeStyle:"solid",roughness:1,opacity:100,angle:0,x:3308.436326995119,y:1789,strokeColor:"#e03131",backgroundColor:"transparent",width:105.93594360351562,height:40,seed:926037926,groupIds:[],frameId:null,roundness:null,boundElements:[],updated:1706597303034,link:null,locked:!1,fontSize:16,fontFamily:1,text:`query 3 hold +data`,textAlign:"center",verticalAlign:"middle",containerId:"kndLLmQ_7jC-GMjIhR5_i",originalText:"query 3 hold data",lineHeight:1.25,baseline:34}],d={},i={type:s,elements:r,files:d},a=()=>e.jsxs(t,{children:[e.jsx(o,{children:e.jsx("main",{className:"relative m-auto mt-6 max-w-[800px]",children:e.jsx(n,{data:JSON.stringify(i)})})}),e.jsx(l,{})]});a.meta={title:"Excalidraw"};export{a as Draw}; diff --git a/assets/infoDiagram-db7b18fc-SaLgFibE.js b/assets/infoDiagram-db7b18fc-SaLgFibE.js new file mode 100644 index 00000000000..6fb2483e427 --- /dev/null +++ b/assets/infoDiagram-db7b18fc-SaLgFibE.js @@ -0,0 +1,7 @@ +import{l as Y,B,i as D}from"./mermaid.core-wTs8WatG.js";import"./request-bY2SEZNN.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";var O=function(){var a=function(u,t,e,n){for(e=e||{},n=u.length;n--;e[u[n]]=t);return e},f=[6,9,10],m={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,d){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},a(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},a(f,[2,3]),a(f,[2,4]),a(f,[2,5]),a(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],d=this.table,P="",v=0,L=0,N=2,T=1,R=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(p.yy[E]=this.yy[E]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var z=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var y;return y=s.pop()||o.lex()||T,typeof y!="number"&&(y instanceof Array&&(s=y,y=s.pop()),y=e.symbols_[y]||y),y}for(var l,g,h,w,_={},b,c,F,S;;){if(g=n[n.length-1],this.defaultActions[g]?h=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),h=d[g]&&d[g][l]),typeof h>"u"||!h.length||!h[0]){var A="";S=[];for(b in d[g])this.terminals_[b]&&b>N&&S.push("'"+this.terminals_[b]+"'");o.showPosition?A="Parse error on line "+(v+1)+`: +`+o.showPosition()+` +Expecting `+S.join(", ")+", got '"+(this.terminals_[l]||l)+"'":A="Parse error on line "+(v+1)+": Unexpected "+(l==T?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(A,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:I,expected:S})}if(h[0]instanceof Array&&h.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+l);switch(h[0]){case 1:n.push(l),r.push(o.yytext),i.push(o.yylloc),n.push(h[1]),l=null,L=o.yyleng,P=o.yytext,v=o.yylineno,I=o.yylloc;break;case 2:if(c=this.productions_[h[1]][1],_.$=r[r.length-c],_._$={first_line:i[i.length-(c||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(c||1)].first_column,last_column:i[i.length-1].last_column},z&&(_._$.range=[i[i.length-(c||1)].range[0],i[i.length-1].range[1]]),w=this.performAction.apply(_,[P,L,v,p.yy,h[1],r,i].concat(R)),typeof w<"u")return w;c&&(n=n.slice(0,-1*c*2),r=r.slice(0,-1*c),i=i.slice(0,-1*c)),n.push(this.productions_[h[1]][0]),r.push(_.$),i.push(_._$),F=d[n[n.length-2]][n[n.length-1]],n.push(F);break;case 3:return!0}}return!0}},k=function(){var u={EOF:1,parseError:function(e,n){if(this.yy.parser)this.yy.parser.parseError(e,n);else throw new Error(e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+` +`+e+"^"},test_match:function(t,e){var n,s,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),s=t[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in r)this[i]=r[i];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,e,n,s;this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),i=0;i<r.length;i++)if(n=this._input.match(this.rules[r[i]]),n&&(!e||n[0].length>e[0].length)){if(e=n,s=i,this.options.backtrack_lexer){if(t=this.test_match(n,r[i]),t!==!1)return t;if(this._backtrack){e=!1;continue}else return!1}else if(!this.options.flex)break}return e?(t=this.test_match(e,r[s]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){var e=this.conditionStack.length-1;return e>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,n,s,r){switch(s){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};return u}();m.lexer=k;function x(){this.yy={}}return x.prototype=m,m.Parser=x,new x}();O.parser=O;const M=O,j={info:!1};let $=j.info;const V=a=>{$=a},X=()=>$,q=()=>{$=j.info},C={clear:q,setInfo:V,getInfo:X},G=(a,f,m)=>{Y.debug(`rendering info diagram +`+a);const k=B(f);D(k,100,400,!0),k.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${m}`)},H={draw:G},nt={parser:M,db:C,renderer:H};export{nt as diagram}; diff --git a/assets/init-Hi12RPRh.js b/assets/init-Hi12RPRh.js new file mode 100644 index 00000000000..d44de94168e --- /dev/null +++ b/assets/init-Hi12RPRh.js @@ -0,0 +1 @@ +function t(e,a){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(a).domain(e);break}return this}export{t as i}; diff --git a/assets/javascript-JMZ6uy5M.js b/assets/javascript-JMZ6uy5M.js new file mode 100644 index 00000000000..f429ddc374b --- /dev/null +++ b/assets/javascript-JMZ6uy5M.js @@ -0,0 +1,699 @@ +const e=Object.freeze({displayName:"JavaScript",name:"javascript",patterns:[{include:"#directives"},{include:"#statements"},{include:"#shebang"}],repository:{"access-modifier":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(abstract|declare|override|public|protected|private|readonly|static)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.js"},"after-operator-block-as-object-literal":{begin:"(?<!\\+\\+|--)(?<=[:=(,\\[?+!>]|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^yield|[^\\._$[:alnum:]]yield|^throw|[^\\._$[:alnum:]]throw|^in|[^\\._$[:alnum:]]in|^of|[^\\._$[:alnum:]]of|^typeof|[^\\._$[:alnum:]]typeof|&&|\\|\\||\\*)\\s*(\\{)",beginCaptures:{1:{name:"punctuation.definition.block.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},name:"meta.objectliteral.js",patterns:[{include:"#object-member"}]},"array-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.js"},2:{name:"punctuation.definition.binding-pattern.array.js"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.js"}},patterns:[{include:"#binding-element"},{include:"#punctuation-comma"}]},"array-binding-pattern-const":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.js"},2:{name:"punctuation.definition.binding-pattern.array.js"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.js"}},patterns:[{include:"#binding-element-const"},{include:"#punctuation-comma"}]},"array-literal":{begin:"\\s*(\\[)",beginCaptures:{1:{name:"meta.brace.square.js"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.js"}},name:"meta.array.literal.js",patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},"arrow-function":{patterns:[{captures:{1:{name:"storage.modifier.async.js"},2:{name:"variable.parameter.js"}},match:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync)\\s+)?([_$[:alpha:]][_$[:alnum:]]*)\\s*(?==>)",name:"meta.arrow.js"},{begin:`(?x) (?: +(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync) +)? ((?<![})!\\]])\\s* +(?= + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +) +)`,beginCaptures:{1:{name:"storage.modifier.async.js"}},end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",name:"meta.arrow.js",patterns:[{include:"#comment"},{include:"#type-parameters"},{include:"#function-parameters"},{include:"#arrow-return-type"},{include:"#possibly-arrow-return-type"}]},{begin:"=>",beginCaptures:{0:{name:"storage.type.function.arrow.js"}},end:"((?<=\\}|\\S)(?<!=>)|((?!\\{)(?=\\S)))(?!\\/[\\/\\*])",name:"meta.arrow.js",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#decl-block"},{include:"#expression"}]}]},"arrow-return-type":{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js"}},end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",name:"meta.return.type.arrow.js",patterns:[{include:"#arrow-return-type-body"}]},"arrow-return-type-body":{patterns:[{begin:"(?<=[:])(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},"async-modifier":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(async)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.async.js"},"binding-element":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#object-binding-pattern"},{include:"#array-binding-pattern"},{include:"#destructuring-variable-rest"},{include:"#variable-initializer"}]},"binding-element-const":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#object-binding-pattern-const"},{include:"#array-binding-pattern-const"},{include:"#destructuring-variable-rest-const"},{include:"#variable-initializer"}]},"boolean-literal":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))true(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.boolean.true.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))false(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.boolean.false.js"}]},brackets:{patterns:[{begin:"{",end:"}|(?=\\*/)",patterns:[{include:"#brackets"}]},{begin:"\\[",end:"\\]|(?=\\*/)",patterns:[{include:"#brackets"}]}]},cast:{patterns:[{include:"#jsx"}]},"class-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(class)\\b(?=\\s+|/[/*])",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.modifier.js"},4:{name:"storage.type.class.js"}},end:"(?<=\\})",name:"meta.class.js",patterns:[{include:"#class-declaration-or-expression-patterns"}]},"class-declaration-or-expression-patterns":{patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{captures:{0:{name:"entity.name.type.class.js"}},match:"[_$[:alpha:]][_$[:alnum:]]*"},{include:"#type-parameters"},{include:"#class-or-interface-body"}]},"class-expression":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(class)\\b(?=\\s+|[<{]|\\/[\\/*])",beginCaptures:{1:{name:"storage.modifier.js"},2:{name:"storage.type.class.js"}},end:"(?<=\\})",name:"meta.class.js",patterns:[{include:"#class-declaration-or-expression-patterns"}]},"class-or-interface-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},patterns:[{include:"#comment"},{include:"#decorator"},{begin:"(?<=:)\\s*",end:"(?=\\s|[;),}\\]:\\-\\+]|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{include:"#method-declaration"},{include:"#indexer-declaration"},{include:"#field-declaration"},{include:"#string"},{include:"#type-annotation"},{include:"#variable-initializer"},{include:"#access-modifier"},{include:"#property-accessor"},{include:"#async-modifier"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#expression"},{include:"#punctuation-comma"},{include:"#punctuation-semicolon"}]},"class-or-interface-heritage":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(extends|implements)\\b)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"storage.modifier.js"}},end:"(?=\\{)",patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{include:"#type-parameters"},{include:"#expressionWithoutIdentifiers"},{captures:{1:{name:"entity.name.type.module.js"},2:{name:"punctuation.accessor.js"},3:{name:"punctuation.accessor.optional.js"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))(?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s*\\??\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)*\\s*)"},{captures:{1:{name:"entity.other.inherited-class.js"}},match:"([_$[:alpha:]][_$[:alnum:]]*)"},{include:"#expressionPunctuations"}]},comment:{patterns:[{begin:"/\\*\\*(?!/)",beginCaptures:{0:{name:"punctuation.definition.comment.js"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.js"}},name:"comment.block.documentation.js",patterns:[{include:"#docblock"}]},{begin:"(/\\*)(?:\\s*((@)internal)(?=\\s|(\\*/)))?",beginCaptures:{1:{name:"punctuation.definition.comment.js"},2:{name:"storage.type.internaldeclaration.js"},3:{name:"punctuation.decorator.internaldeclaration.js"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.js"}},name:"comment.block.js"},{begin:"(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.js"},2:{name:"comment.line.double-slash.js"},3:{name:"punctuation.definition.comment.js"},4:{name:"storage.type.internaldeclaration.js"},5:{name:"punctuation.decorator.internaldeclaration.js"}},contentName:"comment.line.double-slash.js",end:"(?=$)"}]},"control-statement":{patterns:[{include:"#switch-statement"},{include:"#for-loop"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(catch|finally|throw|try)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.trycatch.js"},{captures:{1:{name:"keyword.control.loop.js"},2:{name:"entity.name.label.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|goto)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|do|goto|while)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.loop.js"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(return)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{0:{name:"keyword.control.flow.js"}},end:"(?=[;}]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default|switch)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.switch.js"},{include:"#if-statement"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(else|if)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.conditional.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(with)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.with.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(package)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(debugger)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.other.debugger.js"}]},"decl-block":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},name:"meta.block.js",patterns:[{include:"#statements"}]},declaration:{patterns:[{include:"#decorator"},{include:"#var-expr"},{include:"#function-declaration"},{include:"#class-declaration"},{include:"#interface-declaration"},{include:"#enum-declaration"},{include:"#namespace-declaration"},{include:"#type-alias-declaration"},{include:"#import-equals-declaration"},{include:"#import-declaration"},{include:"#export-declaration"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(declare|export)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.js"}]},decorator:{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))\\@",beginCaptures:{0:{name:"punctuation.decorator.js"}},end:"(?=\\s)",name:"meta.decorator.js",patterns:[{include:"#expression"}]},"destructuring-const":{patterns:[{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\{)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.object-binding-pattern-variable.js",patterns:[{include:"#object-binding-pattern-const"},{include:"#type-annotation"},{include:"#comment"}]},{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\[)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.array-binding-pattern-variable.js",patterns:[{include:"#array-binding-pattern-const"},{include:"#type-annotation"},{include:"#comment"}]}]},"destructuring-parameter":{patterns:[{begin:"(?<!=|:)\\s*(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.js"},2:{name:"punctuation.definition.binding-pattern.object.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.js"}},name:"meta.parameter.object-binding-pattern.js",patterns:[{include:"#parameter-object-binding-element"}]},{begin:"(?<!=|:)\\s*(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.js"},2:{name:"punctuation.definition.binding-pattern.array.js"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.js"}},name:"meta.paramter.array-binding-pattern.js",patterns:[{include:"#parameter-binding-element"},{include:"#punctuation-comma"}]}]},"destructuring-parameter-rest":{captures:{1:{name:"keyword.operator.rest.js"},2:{name:"variable.parameter.js"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},"destructuring-variable":{patterns:[{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\{)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.object-binding-pattern-variable.js",patterns:[{include:"#object-binding-pattern"},{include:"#type-annotation"},{include:"#comment"}]},{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\[)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.array-binding-pattern-variable.js",patterns:[{include:"#array-binding-pattern"},{include:"#type-annotation"},{include:"#comment"}]}]},"destructuring-variable-rest":{captures:{1:{name:"keyword.operator.rest.js"},2:{name:"meta.definition.variable.js variable.other.readwrite.js"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},"destructuring-variable-rest-const":{captures:{1:{name:"keyword.operator.rest.js"},2:{name:"meta.definition.variable.js variable.other.constant.js"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},directives:{begin:"^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",beginCaptures:{1:{name:"punctuation.definition.comment.js"}},end:"(?=$)",name:"comment.line.triple-slash.directive.js",patterns:[{begin:"(<)(reference|amd-dependency|amd-module)",beginCaptures:{1:{name:"punctuation.definition.tag.directive.js"},2:{name:"entity.name.tag.directive.js"}},end:"/>",endCaptures:{0:{name:"punctuation.definition.tag.directive.js"}},name:"meta.tag.js",patterns:[{match:"path|types|no-default-lib|lib|name|resolution-mode",name:"entity.other.attribute-name.directive.js"},{match:"=",name:"keyword.operator.assignment.js"},{include:"#string"}]}]},docblock:{patterns:[{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"constant.language.access-type.jsdoc"}},match:`(?x) +((@)(?:access|api)) +\\s+ +(private|protected|public) +\\b`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"},4:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},5:{name:"constant.other.email.link.underline.jsdoc"},6:{name:"punctuation.definition.bracket.angle.end.jsdoc"}},match:`(?x) +((@)author) +\\s+ +( +[^@\\s<>*/] +(?:[^@<>*/]|\\*[^/])* +) +(?: +\\s* +(<) +([^>\\s]+) +(>) +)?`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"},4:{name:"keyword.operator.control.jsdoc"},5:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +((@)borrows) \\s+ +((?:[^@\\s*/]|\\*[^/])+) +\\s+ (as) \\s+ +((?:[^@\\s*/]|\\*[^/])+)`},{begin:"((@)example)\\s+",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=@|\\*/)",name:"meta.example.jsdoc",patterns:[{match:"^\\s\\*\\s+"},{begin:"\\G(<)caption(>)",beginCaptures:{0:{name:"entity.name.tag.inline.jsdoc"},1:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},2:{name:"punctuation.definition.bracket.angle.end.jsdoc"}},contentName:"constant.other.description.jsdoc",end:"(</)caption(>)|(?=\\*/)",endCaptures:{0:{name:"entity.name.tag.inline.jsdoc"},1:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},2:{name:"punctuation.definition.bracket.angle.end.jsdoc"}}},{captures:{0:{name:"source.embedded.js"}},match:"[^\\s@*](?:[^*]|\\*[^/])*"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"constant.language.symbol-type.jsdoc"}},match:"(?x) ((@)kind) \\s+ (class|constant|event|external|file|function|member|mixin|module|namespace|typedef) \\b"},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.link.underline.jsdoc"},4:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +((@)see) +\\s+ +(?: + +( +(?=https?://) +(?:[^\\s*]|\\*[^/])+ +) +| + +( +(?! + +https?:// +| + +(?:\\[[^\\[\\]]*\\])? +{@(?:link|linkcode|linkplain|tutorial)\\b +) + +(?:[^@\\s*/]|\\*[^/])+ +) +)`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:`(?x) +((@)template) +\\s+ +# One or more valid identifiers +( +[A-Za-z_$] +[\\w$.\\[\\]]* +(?: +\\s* , \\s* +[A-Za-z_$] +[\\w$.\\[\\]]* +)* +)`},{begin:"(?x)((@)template)\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"([A-Za-z_$][\\w$.\\[\\]]*)",name:"variable.other.jsdoc"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:`(?x) +( +(@) +(?:arg|argument|const|constant|member|namespace|param|var) +) +\\s+ +( +[A-Za-z_$] +[\\w$.\\[\\]]* +)`},{begin:"((@)typedef)\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"(?:[^@\\s*/]|\\*[^/])+",name:"entity.name.type.instance.jsdoc"}]},{begin:"((@)(?:arg|argument|const|constant|member|namespace|param|prop|property|var))\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"([A-Za-z_$][\\w$.\\[\\]]*)",name:"variable.other.jsdoc"},{captures:{1:{name:"punctuation.definition.optional-value.begin.bracket.square.jsdoc"},2:{name:"keyword.operator.assignment.jsdoc"},3:{name:"source.embedded.js"},4:{name:"punctuation.definition.optional-value.end.bracket.square.jsdoc"},5:{name:"invalid.illegal.syntax.jsdoc"}},match:`(?x) +(\\[)\\s* +[\\w$]+ +(?: +(?:\\[\\])? +\\. +[\\w$]+ +)* +(?: +\\s* +(=) +\\s* +( + +(?> +"(?:(?:\\*(?!/))|(?:\\\\(?!"))|[^*\\\\])*?" | +'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?' | +\\[ (?:(?:\\*(?!/))|[^*])*? \\] | +(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])* +)* +) +)? +\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))`,name:"variable.other.jsdoc"}]},{begin:`(?x) +( +(@) +(?:define|enum|exception|export|extends|lends|implements|modifies +|namespace|private|protected|returns?|satisfies|suppress|this|throws|type +|yields?) +) +\\s+(?={)`,beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +( +(@) +(?:alias|augments|callback|constructs|emits|event|fires|exports? +|extends|external|function|func|host|lends|listens|interface|memberof!? +|method|module|mixes|mixin|name|requires|see|this|typedef|uses) +) +\\s+ +( +(?: +[^{}@\\s*] | \\*[^/] +)+ +)`},{begin:`((@)(?:default(?:value)?|license|version))\\s+(([''"]))`,beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"},4:{name:"punctuation.definition.string.begin.jsdoc"}},contentName:"variable.other.jsdoc",end:"(\\3)|(?=$|\\*/)",endCaptures:{0:{name:"variable.other.jsdoc"},1:{name:"punctuation.definition.string.end.jsdoc"}}},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:"((@)(?:default(?:value)?|license|tutorial|variation|version))\\s+([^\\s*]+)"},{captures:{1:{name:"punctuation.definition.block.tag.jsdoc"}},match:"(?x) (@) (?:abstract|access|alias|api|arg|argument|async|attribute|augments|author|beta|borrows|bubbles |callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright |default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exception |exports?|extends|extension(?:_?for)?|external|externs|file|fileoverview|final|fires|for|func |function|generator|global|hideconstructor|host|ignore|implements|implicitCast|inherit[Dd]oc |inner|instance|interface|internal|kind|lends|license|listens|main|member|memberof!?|method |mixes|mixins?|modifies|module|name|namespace|noalias|nocollapse|nocompile|nosideeffects |override|overview|package|param|polymer(?:Behavior)?|preserve|private|prop|property|protected |public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary |suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation |version|virtual|writeOnce|yields?) \\b",name:"storage.type.class.jsdoc"},{include:"#inline-tags"},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},match:"((@)(?:[_$[:alpha:]][_$[:alnum:]]*))(?=\\s+)"}]},"enum-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(?:\\b(const)\\s+)?\\b(enum)\\s+([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.modifier.js"},4:{name:"storage.type.enum.js"},5:{name:"entity.name.type.enum.js"}},end:"(?<=\\})",name:"meta.enum.declaration.js",patterns:[{include:"#comment"},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},patterns:[{include:"#comment"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{0:{name:"variable.other.enummember.js"}},end:"(?=,|\\}|$)",patterns:[{include:"#comment"},{include:"#variable-initializer"}]},{begin:"(?=((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\])))",end:"(?=,|\\}|$)",patterns:[{include:"#string"},{include:"#array-literal"},{include:"#comment"},{include:"#variable-initializer"}]},{include:"#punctuation-comma"}]}]},"export-declaration":{patterns:[{captures:{1:{name:"keyword.control.export.js"},2:{name:"keyword.control.as.js"},3:{name:"storage.type.namespace.js"},4:{name:"entity.name.type.module.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)\\s+(as)\\s+(namespace)\\s+([_$[:alpha:]][_$[:alnum:]]*)"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)(?:\\s+(type))?(?:(?:\\s*(=))|(?:\\s+(default)(?=\\s+)))",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"keyword.control.type.js"},3:{name:"keyword.operator.assignment.js"},4:{name:"keyword.control.default.js"}},end:"(?=$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.export.default.js",patterns:[{include:"#interface-declaration"},{include:"#expression"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)(?:\\s+(type))?\\b(?!(\\$)|(\\s*:))((?=\\s*[\\{*])|((?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s|,))(?!\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"keyword.control.type.js"}},end:"(?=$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.export.js",patterns:[{include:"#import-export-declaration"}]}]},expression:{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},"expression-inside-possibly-arrow-parens":{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#comment"},{include:"#string"},{include:"#decorator"},{include:"#destructuring-parameter"},{captures:{1:{name:"storage.modifier.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|protected|private|readonly)\\s+(?=(override|public|protected|private|readonly)\\s+)"},{captures:{1:{name:"storage.modifier.js"},2:{name:"keyword.operator.rest.js"},3:{name:"entity.name.function.js variable.language.this.js"},4:{name:"entity.name.function.js"},5:{name:"keyword.operator.optional.js"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{captures:{1:{name:"storage.modifier.js"},2:{name:"keyword.operator.rest.js"},3:{name:"variable.parameter.js variable.language.this.js"},4:{name:"variable.parameter.js"},5:{name:"keyword.operator.optional.js"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s*[:,]|$)"},{include:"#type-annotation"},{include:"#variable-initializer"},{match:",",name:"punctuation.separator.parameter.js"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},"expression-operators":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(await)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.flow.js"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(yield)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?=\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*\\*)",beginCaptures:{1:{name:"keyword.control.flow.js"}},end:"\\*",endCaptures:{0:{name:"keyword.generator.asterisk.js"}},patterns:[{include:"#comment"}]},{captures:{1:{name:"keyword.control.flow.js"},2:{name:"keyword.generator.asterisk.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(yield)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s*(\\*))?"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))delete(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.delete.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))in(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?!\\()",name:"keyword.operator.expression.in.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))of(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?!\\()",name:"keyword.operator.expression.of.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))instanceof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.instanceof.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))new(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.new.js"},{include:"#typeof-operator"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))void(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.void.js"},{captures:{1:{name:"keyword.control.as.js"},2:{name:"storage.modifier.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+(const)(?=\\s*($|[;,:})\\]]))"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(as)|(satisfies))\\s+",beginCaptures:{1:{name:"keyword.control.as.js"},2:{name:"keyword.control.satisfies.js"}},end:"(?=^|[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as|satisfies)\\s+)|(\\s+\\<))",patterns:[{include:"#type"}]},{match:"\\.\\.\\.",name:"keyword.operator.spread.js"},{match:"\\*=|(?<!\\()/=|%=|\\+=|\\-=",name:"keyword.operator.assignment.compound.js"},{match:"\\&=|\\^=|<<=|>>=|>>>=|\\|=",name:"keyword.operator.assignment.compound.bitwise.js"},{match:"<<|>>>|>>",name:"keyword.operator.bitwise.shift.js"},{match:"===|!==|==|!=",name:"keyword.operator.comparison.js"},{match:"<=|>=|<>|<|>",name:"keyword.operator.relational.js"},{captures:{1:{name:"keyword.operator.logical.js"},2:{name:"keyword.operator.assignment.compound.js"},3:{name:"keyword.operator.arithmetic.js"}},match:"(?<=[_$[:alnum:]])(\\!)\\s*(?:(/=)|(?:(/)(?![/*])))"},{match:"\\!|&&|\\|\\||\\?\\?",name:"keyword.operator.logical.js"},{match:"\\&|~|\\^|\\|",name:"keyword.operator.bitwise.js"},{match:"\\=",name:"keyword.operator.assignment.js"},{match:"--",name:"keyword.operator.decrement.js"},{match:"\\+\\+",name:"keyword.operator.increment.js"},{match:"%|\\*|/|-|\\+",name:"keyword.operator.arithmetic.js"},{begin:"(?<=[_$[:alnum:])\\]])\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)+(?:(/=)|(?:(/)(?![/*]))))",end:"(?:(/=)|(?:(/)(?!\\*([^\\*]|(\\*[^\\/]))*\\*\\/)))",endCaptures:{1:{name:"keyword.operator.assignment.compound.js"},2:{name:"keyword.operator.arithmetic.js"}},patterns:[{include:"#comment"}]},{captures:{1:{name:"keyword.operator.assignment.compound.js"},2:{name:"keyword.operator.arithmetic.js"}},match:"(?<=[_$[:alnum:])\\]])\\s*(?:(/=)|(?:(/)(?![/*])))"}]},expressionPunctuations:{patterns:[{include:"#punctuation-comma"},{include:"#punctuation-accessor"}]},expressionWithoutIdentifiers:{patterns:[{include:"#jsx"},{include:"#string"},{include:"#regex"},{include:"#comment"},{include:"#function-expression"},{include:"#class-expression"},{include:"#arrow-function"},{include:"#paren-expression-possibly-arrow"},{include:"#cast"},{include:"#ternary-expression"},{include:"#new-expr"},{include:"#instanceof-expr"},{include:"#object-literal"},{include:"#expression-operators"},{include:"#function-call"},{include:"#literal"},{include:"#support-objects"},{include:"#paren-expression"}]},"field-declaration":{begin:`(?x)(?<!\\()(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)\\s+)?(?=\\s*((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|(\\#?[_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(?:(?:(\\?)|(\\!))\\s*)?(=|:|;|,|\\}|$))`,beginCaptures:{1:{name:"storage.modifier.js"}},end:`(?x)(?=\\}|;|,|$|(^(?!\\s*((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|(\\#?[_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(?:(?:(\\?)|(\\!))\\s*)?(=|:|;|,|$))))|(?<=\\})`,name:"meta.field.declaration.js",patterns:[{include:"#variable-initializer"},{include:"#type-annotation"},{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{include:"#comment"},{captures:{1:{name:"meta.definition.property.js entity.name.function.js"},2:{name:"keyword.operator.optional.js"},3:{name:"keyword.operator.definiteassignment.js"}},match:`(?x)(\\#?[_$[:alpha:]][_$[:alnum:]]*)(?:(\\?)|(\\!))?(?=\\s*\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{match:"\\#?[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.property.js variable.object.property.js"},{match:"\\?",name:"keyword.operator.optional.js"},{match:"\\!",name:"keyword.operator.definiteassignment.js"}]},"for-loop":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))for(?=((\\s+|(\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*))await)?\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)?(\\())",beginCaptures:{0:{name:"keyword.control.loop.js"}},end:"(?<=\\))",patterns:[{include:"#comment"},{match:"await",name:"keyword.control.loop.js"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},patterns:[{include:"#var-expr"},{include:"#expression"},{include:"#punctuation-semicolon"}]}]},"function-body":{patterns:[{include:"#comment"},{include:"#type-parameters"},{include:"#function-parameters"},{include:"#return-type"},{include:"#type-function-return-type"},{include:"#decl-block"},{match:"\\*",name:"keyword.generator.asterisk.js"}]},"function-call":{patterns:[{begin:"(?=(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",end:"(?<=\\))(?!(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))",end:"(?=\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",name:"meta.function-call.js",patterns:[{include:"#function-call-target"}]},{include:"#comment"},{include:"#function-call-optionals"},{include:"#type-arguments"},{include:"#paren-expression"}]},{begin:"(?=(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))(<\\s*[\\{\\[\\(]\\s*$))",end:"(?<=\\>)(?!(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))(<\\s*[\\{\\[\\(]\\s*$))",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))",end:"(?=(<\\s*[\\{\\[\\(]\\s*$))",name:"meta.function-call.js",patterns:[{include:"#function-call-target"}]},{include:"#comment"},{include:"#function-call-optionals"},{include:"#type-arguments"}]}]},"function-call-optionals":{patterns:[{match:"\\?\\.",name:"meta.function-call.js punctuation.accessor.optional.js"},{match:"\\!",name:"meta.function-call.js keyword.operator.definiteassignment.js"}]},"function-call-target":{patterns:[{include:"#support-function-call-identifiers"},{match:"(\\#?[_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.function.js"}]},"function-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(?:(async)\\s+)?(function\\b)(?:\\s*(\\*))?(?:(?:\\s+|(?<=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.modifier.async.js"},4:{name:"storage.type.function.js"},5:{name:"keyword.generator.asterisk.js"},6:{name:"meta.definition.function.js entity.name.function.js"}},end:"(?=;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|(?<=\\})",name:"meta.function.js",patterns:[{include:"#function-name"},{include:"#function-body"}]},"function-expression":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(async)\\s+)?(function\\b)(?:\\s*(\\*))?(?:(?:\\s+|(?<=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*",beginCaptures:{1:{name:"storage.modifier.async.js"},2:{name:"storage.type.function.js"},3:{name:"keyword.generator.asterisk.js"},4:{name:"meta.definition.function.js entity.name.function.js"}},end:"(?=;)|(?<=\\})",name:"meta.function.expression.js",patterns:[{include:"#function-name"},{include:"#single-line-comment-consuming-line-ending"},{include:"#function-body"}]},"function-name":{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.function.js entity.name.function.js"},"function-parameters":{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.js"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.js"}},name:"meta.parameters.js",patterns:[{include:"#function-parameters-body"}]},"function-parameters-body":{patterns:[{include:"#comment"},{include:"#string"},{include:"#decorator"},{include:"#destructuring-parameter"},{include:"#parameter-name"},{include:"#parameter-type-annotation"},{include:"#variable-initializer"},{match:",",name:"punctuation.separator.parameter.js"}]},identifiers:{patterns:[{include:"#object-identifiers"},{captures:{1:{name:"punctuation.accessor.js"},2:{name:"punctuation.accessor.optional.js"},3:{name:"entity.name.function.js"}},match:`(?x)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*)?([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +))`},{captures:{1:{name:"punctuation.accessor.js"},2:{name:"punctuation.accessor.optional.js"},3:{name:"variable.other.constant.property.js"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(\\#?[[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])"},{captures:{1:{name:"punctuation.accessor.js"},2:{name:"punctuation.accessor.optional.js"},3:{name:"variable.other.property.js"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*)"},{match:"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])",name:"variable.other.constant.js"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"variable.other.readwrite.js"}]},"if-statement":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?=\\bif\\s*(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))\\s*(?!\\{))",end:"(?=;|$|\\})",patterns:[{include:"#comment"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(if)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.conditional.js"},2:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},patterns:[{include:"#expression"}]},{begin:"(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{0:{name:"punctuation.definition.string.begin.js"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.js"},2:{name:"keyword.other.js"}},name:"string.regexp.js",patterns:[{include:"#regexp"}]},{include:"#statements"}]}]},"import-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type)(?!\\s+from))?(?!\\s*[:\\(])(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"keyword.control.import.js"},4:{name:"keyword.control.type.js"}},end:"(?<!^import|[^\\._$[:alnum:]]import)(?=;|$|^)",name:"meta.import.js",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#string"},{begin:`(?<=^import|[^\\._$[:alnum:]]import)(?!\\s*["'])`,end:"\\bfrom\\b",endCaptures:{0:{name:"keyword.control.from.js"}},patterns:[{include:"#import-export-declaration"}]},{include:"#import-export-declaration"}]},"import-equals-declaration":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type))?\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)\\s*(require)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"keyword.control.import.js"},4:{name:"keyword.control.type.js"},5:{name:"variable.other.readwrite.alias.js"},6:{name:"keyword.operator.assignment.js"},7:{name:"keyword.control.require.js"},8:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},name:"meta.import-equals.external.js",patterns:[{include:"#comment"},{include:"#string"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type))?\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)\\s*(?!require\\b)",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"keyword.control.import.js"},4:{name:"keyword.control.type.js"},5:{name:"variable.other.readwrite.alias.js"},6:{name:"keyword.operator.assignment.js"}},end:"(?=;|$|^)",name:"meta.import-equals.internal.js",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{captures:{1:{name:"entity.name.type.module.js"},2:{name:"punctuation.accessor.js"},3:{name:"punctuation.accessor.optional.js"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.other.readwrite.js"}]}]},"import-export-assert-clause":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(with)|(assert))\\s*(\\{)",beginCaptures:{1:{name:"keyword.control.with.js"},2:{name:"keyword.control.assert.js"},3:{name:"punctuation.definition.block.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},patterns:[{include:"#comment"},{include:"#string"},{match:"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object-literal.key.js"},{match:":",name:"punctuation.separator.key-value.js"}]},"import-export-block":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},name:"meta.block.js",patterns:[{include:"#import-export-clause"}]},"import-export-clause":{patterns:[{include:"#comment"},{captures:{1:{name:"keyword.control.type.js"},2:{name:"keyword.control.default.js"},3:{name:"constant.language.import-export-all.js"},4:{name:"variable.other.readwrite.js"},5:{name:"keyword.control.as.js"},6:{name:"keyword.control.default.js"},7:{name:"variable.other.readwrite.alias.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$[:alpha:]][_$[:alnum:]]*)))\\s+(as)\\s+(?:(default(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$[:alpha:]][_$[:alnum:]]*))"},{include:"#punctuation-comma"},{match:"\\*",name:"constant.language.import-export-all.js"},{match:"\\b(default)\\b",name:"keyword.control.default.js"},{captures:{1:{name:"keyword.control.type.js"},2:{name:"variable.other.readwrite.alias.js"}},match:"(?:(\\btype)\\s+)?([_$[:alpha:]][_$[:alnum:]]*)"}]},"import-export-declaration":{patterns:[{include:"#comment"},{include:"#string"},{include:"#import-export-block"},{match:"\\bfrom\\b",name:"keyword.control.from.js"},{include:"#import-export-assert-clause"},{include:"#import-export-clause"}]},"indexer-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)\\s*)?\\s*(\\[)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=:)",beginCaptures:{1:{name:"storage.modifier.js"},2:{name:"meta.brace.square.js"},3:{name:"variable.parameter.js"}},end:"(\\])\\s*(\\?\\s*)?|$",endCaptures:{1:{name:"meta.brace.square.js"},2:{name:"keyword.operator.optional.js"}},name:"meta.indexer.declaration.js",patterns:[{include:"#type-annotation"}]},"indexer-mapped-type-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([+-])?(readonly)\\s*)?\\s*(\\[)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s+(in)\\s+",beginCaptures:{1:{name:"keyword.operator.type.modifier.js"},2:{name:"storage.modifier.js"},3:{name:"meta.brace.square.js"},4:{name:"entity.name.type.js"},5:{name:"keyword.operator.expression.in.js"}},end:"(\\])([+-])?\\s*(\\?\\s*)?|$",endCaptures:{1:{name:"meta.brace.square.js"},2:{name:"keyword.operator.type.modifier.js"},3:{name:"keyword.operator.optional.js"}},name:"meta.indexer.mappedtype.declaration.js",patterns:[{captures:{1:{name:"keyword.control.as.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+"},{include:"#type"}]},"inline-tags":{patterns:[{captures:{1:{name:"punctuation.definition.bracket.square.begin.jsdoc"},2:{name:"punctuation.definition.bracket.square.end.jsdoc"}},match:"(\\[)[^\\]]+(\\])(?={@(?:link|linkcode|linkplain|tutorial))",name:"constant.other.description.jsdoc"},{begin:"({)((@)(?:link(?:code|plain)?|tutorial))\\s*",beginCaptures:{1:{name:"punctuation.definition.bracket.curly.begin.jsdoc"},2:{name:"storage.type.class.jsdoc"},3:{name:"punctuation.definition.inline.tag.jsdoc"}},end:"}|(?=\\*/)",endCaptures:{0:{name:"punctuation.definition.bracket.curly.end.jsdoc"}},name:"entity.name.type.instance.jsdoc",patterns:[{captures:{1:{name:"variable.other.link.underline.jsdoc"},2:{name:"punctuation.separator.pipe.jsdoc"}},match:"\\G((?=https?://)(?:[^|}\\s*]|\\*[/])+)(\\|)?"},{captures:{1:{name:"variable.other.description.jsdoc"},2:{name:"punctuation.separator.pipe.jsdoc"}},match:"\\G((?:[^{}@\\s|*]|\\*[^/])+)(\\|)?"}]}]},"instanceof-expr":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(instanceof)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.expression.instanceof.js"}},end:"(?<=\\))|(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|(===|!==|==|!=)|(([\\&\\~\\^\\|]\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s+instanceof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))function((\\s+[_$[:alpha:]][_$[:alnum:]]*)|(\\s*[\\(]))))",patterns:[{include:"#type"}]},"interface-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(interface)\\b(?=\\s+|/[/*])",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.modifier.js"},4:{name:"storage.type.interface.js"}},end:"(?<=\\})",name:"meta.interface.js",patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{captures:{0:{name:"entity.name.type.interface.js"}},match:"[_$[:alpha:]][_$[:alnum:]]*"},{include:"#type-parameters"},{include:"#class-or-interface-body"}]},jsdoctype:{patterns:[{begin:"\\G({)",beginCaptures:{0:{name:"entity.name.type.instance.jsdoc"},1:{name:"punctuation.definition.bracket.curly.begin.jsdoc"}},contentName:"entity.name.type.instance.jsdoc",end:"((}))\\s*|(?=\\*/)",endCaptures:{1:{name:"entity.name.type.instance.jsdoc"},2:{name:"punctuation.definition.bracket.curly.end.jsdoc"}},patterns:[{include:"#brackets"}]}]},jsx:{patterns:[{include:"#jsx-tag-without-attributes-in-expression"},{include:"#jsx-tag-in-expression"}]},"jsx-children":{patterns:[{include:"#jsx-tag-without-attributes"},{include:"#jsx-tag"},{include:"#jsx-evaluated-code"},{include:"#jsx-entities"}]},"jsx-entities":{patterns:[{captures:{1:{name:"punctuation.definition.entity.js"},3:{name:"punctuation.definition.entity.js"}},match:"(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",name:"constant.character.entity.js"}]},"jsx-evaluated-code":{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.embedded.begin.js"}},contentName:"meta.embedded.expression.js",end:"\\}",endCaptures:{0:{name:"punctuation.section.embedded.end.js"}},patterns:[{include:"#expression"}]},"jsx-string-double-quoted":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.js"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.js"}},name:"string.quoted.double.js",patterns:[{include:"#jsx-entities"}]},"jsx-string-single-quoted":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.js"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.js"}},name:"string.quoted.single.js",patterns:[{include:"#jsx-entities"}]},"jsx-tag":{begin:"(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))",end:"(/>)|(?:(</)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",endCaptures:{1:{name:"punctuation.definition.tag.end.js"},2:{name:"punctuation.definition.tag.begin.js"},3:{name:"entity.name.tag.namespace.js"},4:{name:"punctuation.separator.namespace.js"},5:{name:"entity.name.tag.js"},6:{name:"support.class.component.js"},7:{name:"punctuation.definition.tag.end.js"}},name:"meta.tag.js",patterns:[{begin:"(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.js"},2:{name:"entity.name.tag.namespace.js"},3:{name:"punctuation.separator.namespace.js"},4:{name:"entity.name.tag.js"},5:{name:"support.class.component.js"}},end:"(?=[/]?>)",patterns:[{include:"#comment"},{include:"#type-arguments"},{include:"#jsx-tag-attributes"}]},{begin:"(>)",beginCaptures:{1:{name:"punctuation.definition.tag.end.js"}},contentName:"meta.jsx.children.js",end:"(?=</)",patterns:[{include:"#jsx-children"}]}]},"jsx-tag-attribute-assignment":{match:`=(?=\\s*(?:'|"|{|/\\*|//|\\n))`,name:"keyword.operator.assignment.js"},"jsx-tag-attribute-name":{captures:{1:{name:"entity.other.attribute-name.namespace.js"},2:{name:"punctuation.separator.namespace.js"},3:{name:"entity.other.attribute-name.js"}},match:`(?x) +\\s* +(?:([_$[:alpha:]][-_$[:alnum:].]*)(:))? +([_$[:alpha:]][-_$[:alnum:]]*) +(?=\\s|=|/?>|/\\*|//)`},"jsx-tag-attributes":{begin:"\\s+",end:"(?=[/]?>)",name:"meta.tag.attributes.js",patterns:[{include:"#comment"},{include:"#jsx-tag-attribute-name"},{include:"#jsx-tag-attribute-assignment"},{include:"#jsx-string-double-quoted"},{include:"#jsx-string-single-quoted"},{include:"#jsx-evaluated-code"},{include:"#jsx-tag-attributes-illegal"}]},"jsx-tag-attributes-illegal":{match:"\\S+",name:"invalid.illegal.attribute.js"},"jsx-tag-in-expression":{begin:`(?x) +(?<!\\+\\+|--)(?<=[({\\[,?=>:*]|&&|\\|\\||\\?|\\*\\/|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^default|[^\\._$[:alnum:]]default|^yield|[^\\._$[:alnum:]]yield|^)\\s* +(?!<\\s*[_$[:alpha:]][_$[:alnum:]]*((\\s+extends\\s+[^=>])|,)) +(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))`,end:"(?!(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))",patterns:[{include:"#jsx-tag"}]},"jsx-tag-without-attributes":{begin:"(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.js"},2:{name:"entity.name.tag.namespace.js"},3:{name:"punctuation.separator.namespace.js"},4:{name:"entity.name.tag.js"},5:{name:"support.class.component.js"},6:{name:"punctuation.definition.tag.end.js"}},contentName:"meta.jsx.children.js",end:"(</)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.js"},2:{name:"entity.name.tag.namespace.js"},3:{name:"punctuation.separator.namespace.js"},4:{name:"entity.name.tag.js"},5:{name:"support.class.component.js"},6:{name:"punctuation.definition.tag.end.js"}},name:"meta.tag.without-attributes.js",patterns:[{include:"#jsx-children"}]},"jsx-tag-without-attributes-in-expression":{begin:"(?<!\\+\\+|--)(?<=[({\\[,?=>:*]|&&|\\|\\||\\?|\\*\\/|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^default|[^\\._$[:alnum:]]default|^yield|[^\\._$[:alnum:]]yield|^)\\s*(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",end:"(?!(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",patterns:[{include:"#jsx-tag-without-attributes"}]},label:{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)(?=\\s*\\{)",beginCaptures:{1:{name:"entity.name.label.js"},2:{name:"punctuation.separator.label.js"}},end:"(?<=\\})",patterns:[{include:"#decl-block"}]},{captures:{1:{name:"entity.name.label.js"},2:{name:"punctuation.separator.label.js"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)"}]},literal:{patterns:[{include:"#numeric-literal"},{include:"#boolean-literal"},{include:"#null-literal"},{include:"#undefined-literal"},{include:"#numericConstant-literal"},{include:"#array-literal"},{include:"#this-literal"},{include:"#super-literal"}]},"method-declaration":{patterns:[{begin:"(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?\\s*\\b(constructor)\\b(?!:)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"storage.modifier.js"},2:{name:"storage.modifier.js"},3:{name:"storage.modifier.js"},4:{name:"storage.modifier.async.js"},5:{name:"storage.type.js"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.js",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]},{begin:"(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?(?:(?:\\s*\\b(new)\\b(?!:)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|(?:(\\*)\\s*)?)(?=\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])",beginCaptures:{1:{name:"storage.modifier.js"},2:{name:"storage.modifier.js"},3:{name:"storage.modifier.js"},4:{name:"storage.modifier.async.js"},5:{name:"keyword.operator.new.js"},6:{name:"keyword.generator.asterisk.js"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.js",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]},{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.js"},2:{name:"storage.modifier.js"},3:{name:"storage.modifier.js"},4:{name:"storage.modifier.async.js"},5:{name:"storage.type.property.js"},6:{name:"keyword.generator.asterisk.js"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.js",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]}]},"method-declaration-name":{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??)\\s*[\\(\\<])`,end:"(?=\\(|\\<)",patterns:[{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.method.js entity.name.function.js"},{match:"\\?",name:"keyword.operator.optional.js"}]},"namespace-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(namespace|module)\\s+(?=[_$[:alpha:]\"'`]))",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.type.namespace.js"}},end:"(?<=\\})|(?=;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.namespace.declaration.js",patterns:[{include:"#comment"},{include:"#string"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.type.module.js"},{include:"#punctuation-accessor"},{include:"#decl-block"}]},"new-expr":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(new)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.new.js"}},end:"(?<=\\))|(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))new(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))function((\\s+[_$[:alpha:]][_$[:alnum:]]*)|(\\s*[\\(]))))",name:"new.expr.js",patterns:[{include:"#expression"}]},"null-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))null(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.null.js"},"numeric-literal":{patterns:[{captures:{1:{name:"storage.type.numeric.bigint.js"}},match:"\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$)",name:"constant.numeric.hex.js"},{captures:{1:{name:"storage.type.numeric.bigint.js"}},match:"\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$)",name:"constant.numeric.binary.js"},{captures:{1:{name:"storage.type.numeric.bigint.js"}},match:"\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$)",name:"constant.numeric.octal.js"},{captures:{0:{name:"constant.numeric.decimal.js"},1:{name:"meta.delimiter.decimal.period.js"},2:{name:"storage.type.numeric.bigint.js"},3:{name:"meta.delimiter.decimal.period.js"},4:{name:"storage.type.numeric.bigint.js"},5:{name:"meta.delimiter.decimal.period.js"},6:{name:"storage.type.numeric.bigint.js"},7:{name:"storage.type.numeric.bigint.js"},8:{name:"meta.delimiter.decimal.period.js"},9:{name:"storage.type.numeric.bigint.js"},10:{name:"meta.delimiter.decimal.period.js"},11:{name:"storage.type.numeric.bigint.js"},12:{name:"meta.delimiter.decimal.period.js"},13:{name:"storage.type.numeric.bigint.js"},14:{name:"storage.type.numeric.bigint.js"}},match:`(?x) +(?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$)`}]},"numericConstant-literal":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))NaN(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.nan.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Infinity(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.infinity.js"}]},"object-binding-element":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#binding-element"}]},{include:"#object-binding-pattern"},{include:"#destructuring-variable-rest"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"object-binding-element-const":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#binding-element-const"}]},{include:"#object-binding-pattern-const"},{include:"#destructuring-variable-rest-const"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"object-binding-element-propertyName":{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(:)",endCaptures:{0:{name:"punctuation.destructuring.js"}},patterns:[{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.object.property.js"}]},"object-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.js"},2:{name:"punctuation.definition.binding-pattern.object.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.js"}},patterns:[{include:"#object-binding-element"}]},"object-binding-pattern-const":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.js"},2:{name:"punctuation.definition.binding-pattern.object.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.js"}},patterns:[{include:"#object-binding-element-const"}]},"object-identifiers":{patterns:[{match:"([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*\\??\\.\\s*prototype\\b(?!\\$))",name:"support.class.js"},{captures:{1:{name:"punctuation.accessor.js"},2:{name:"punctuation.accessor.optional.js"},3:{name:"variable.other.constant.object.property.js"},4:{name:"variable.other.object.property.js"}},match:`(?x)(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(?: +(\\#?[[:upper:]][_$[:digit:][:upper:]]*) | +(\\#?[_$[:alpha:]][_$[:alnum:]]*) +)(?=\\s*\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*)`},{captures:{1:{name:"variable.other.constant.object.js"},2:{name:"variable.other.object.js"}},match:`(?x)(?: +([[:upper:]][_$[:digit:][:upper:]]*) | +([_$[:alpha:]][_$[:alnum:]]*) +)(?=\\s*\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*)`}]},"object-literal":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},name:"meta.objectliteral.js",patterns:[{include:"#object-member"}]},"object-literal-method-declaration":{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.async.js"},2:{name:"storage.type.property.js"},3:{name:"keyword.generator.asterisk.js"}},end:"(?=\\}|;|,)|(?<=\\})",name:"meta.method.declaration.js",patterns:[{include:"#method-declaration-name"},{include:"#function-body"},{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.async.js"},2:{name:"storage.type.property.js"},3:{name:"keyword.generator.asterisk.js"}},end:"(?=\\(|\\<)",patterns:[{include:"#method-declaration-name"}]}]},"object-member":{patterns:[{include:"#comment"},{include:"#object-literal-method-declaration"},{begin:"(?=\\[)",end:"(?=:)|((?<=[\\]])(?=\\s*[\\(\\<]))",name:"meta.object.member.js meta.object-literal.key.js",patterns:[{include:"#comment"},{include:"#array-literal"}]},{begin:"(?=[\\'\\\"\\`])",end:"(?=:)|((?<=[\\'\\\"\\`])(?=((\\s*[\\(\\<,}])|(\\s+(as|satisifies)\\s+))))",name:"meta.object.member.js meta.object-literal.key.js",patterns:[{include:"#comment"},{include:"#string"}]},{begin:`(?x)(?=(\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$)))`,end:"(?=:)|(?=\\s*([\\(\\<,}])|(\\s+as|satisifies\\s+))",name:"meta.object.member.js meta.object-literal.key.js",patterns:[{include:"#comment"},{include:"#numeric-literal"}]},{begin:"(?<=[\\]\\'\\\"\\`])(?=\\s*[\\(\\<])",end:"(?=\\}|;|,)|(?<=\\})",name:"meta.method.declaration.js",patterns:[{include:"#function-body"}]},{captures:{0:{name:"meta.object-literal.key.js"},1:{name:"constant.numeric.decimal.js"}},match:"(?![_$[:alpha:]])([[:digit:]]+)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object.member.js"},{captures:{0:{name:"meta.object-literal.key.js"},1:{name:"entity.name.function.js"}},match:`(?x)(?:([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:(\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/)*\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,name:"meta.object.member.js"},{captures:{0:{name:"meta.object-literal.key.js"}},match:"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object.member.js"},{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.js"}},end:"(?=,|\\})",name:"meta.object.member.js",patterns:[{include:"#expression"}]},{captures:{1:{name:"variable.other.readwrite.js"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=,|\\}|$|\\/\\/|\\/\\*)",name:"meta.object.member.js"},{captures:{1:{name:"keyword.control.as.js"},2:{name:"storage.modifier.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+(const)(?=\\s*([,}]|$))",name:"meta.object.member.js"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(as)|(satisfies))\\s+",beginCaptures:{1:{name:"keyword.control.as.js"},2:{name:"keyword.control.satisfies.js"}},end:"(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|^|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as|satisifies)\\s+))",name:"meta.object.member.js",patterns:[{include:"#type"}]},{begin:"(?=[_$[:alpha:]][_$[:alnum:]]*\\s*=)",end:"(?=,|\\}|$|\\/\\/|\\/\\*)",name:"meta.object.member.js",patterns:[{include:"#expression"}]},{begin:":",beginCaptures:{0:{name:"meta.object-literal.key.js punctuation.separator.key-value.js"}},end:"(?=,|\\})",name:"meta.object.member.js",patterns:[{begin:"(?<=:)\\s*(async)?(?=\\s*(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)\\(\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.js"}},end:"(?<=\\))",patterns:[{include:"#type-parameters"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]}]},{begin:"(?<=:)\\s*(async)?\\s*(\\()(?=\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.js"},2:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]},{begin:"(?<=:)\\s*(async)?\\s*(?=\\<\\s*$)",beginCaptures:{1:{name:"storage.modifier.async.js"}},end:"(?<=\\>)",patterns:[{include:"#type-parameters"}]},{begin:"(?<=\\>)\\s*(\\()(?=\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]},{include:"#possibly-arrow-return-type"},{include:"#expression"}]},{include:"#punctuation-comma"},{include:"#decl-block"}]},"parameter-array-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.js"},2:{name:"punctuation.definition.binding-pattern.array.js"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.js"}},patterns:[{include:"#parameter-binding-element"},{include:"#punctuation-comma"}]},"parameter-binding-element":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#parameter-object-binding-pattern"},{include:"#parameter-array-binding-pattern"},{include:"#destructuring-parameter-rest"},{include:"#variable-initializer"}]},"parameter-name":{patterns:[{captures:{1:{name:"storage.modifier.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|protected|private|readonly)\\s+(?=(override|public|protected|private|readonly)\\s+)"},{captures:{1:{name:"storage.modifier.js"},2:{name:"keyword.operator.rest.js"},3:{name:"entity.name.function.js variable.language.this.js"},4:{name:"entity.name.function.js"},5:{name:"keyword.operator.optional.js"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{captures:{1:{name:"storage.modifier.js"},2:{name:"keyword.operator.rest.js"},3:{name:"variable.parameter.js variable.language.this.js"},4:{name:"variable.parameter.js"},5:{name:"keyword.operator.optional.js"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)"}]},"parameter-object-binding-element":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#parameter-binding-element"},{include:"#paren-expression"}]},{include:"#parameter-object-binding-pattern"},{include:"#destructuring-parameter-rest"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"parameter-object-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.js"},2:{name:"punctuation.definition.binding-pattern.object.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.js"}},patterns:[{include:"#parameter-object-binding-element"}]},"parameter-type-annotation":{patterns:[{begin:"(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js"}},end:"(?=[,)])|(?==[^>])",name:"meta.type.annotation.js",patterns:[{include:"#type"}]}]},"paren-expression":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},patterns:[{include:"#expression"}]},"paren-expression-possibly-arrow":{patterns:[{begin:"(?<=[(=,])\\s*(async)?(?=\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?\\(\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.js"}},end:"(?<=\\))",patterns:[{include:"#paren-expression-possibly-arrow-with-typeparameters"}]},{begin:"(?<=[(=,]|=>|^return|[^\\._$[:alnum:]]return)\\s*(async)?(?=\\s*((((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?\\()|(<)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)))\\s*$)",beginCaptures:{1:{name:"storage.modifier.async.js"}},end:"(?<=\\))",patterns:[{include:"#paren-expression-possibly-arrow-with-typeparameters"}]},{include:"#possibly-arrow-return-type"}]},"paren-expression-possibly-arrow-with-typeparameters":{patterns:[{include:"#type-parameters"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]}]},"possibly-arrow-return-type":{begin:"(?<=\\)|^)\\s*(:)(?=\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*=>)",beginCaptures:{1:{name:"meta.arrow.js meta.return.type.arrow.js keyword.operator.type.annotation.js"}},contentName:"meta.arrow.js meta.return.type.arrow.js",end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",patterns:[{include:"#arrow-return-type-body"}]},"property-accessor":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.type.property.js"},"punctuation-accessor":{captures:{1:{name:"punctuation.accessor.js"},2:{name:"punctuation.accessor.optional.js"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},"punctuation-comma":{match:",",name:"punctuation.separator.comma.js"},"punctuation-semicolon":{match:";",name:"punctuation.terminator.statement.js"},"qstring-double":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.js"}},end:'(")|((?:[^\\\\\\n])$)',endCaptures:{1:{name:"punctuation.definition.string.end.js"},2:{name:"invalid.illegal.newline.js"}},name:"string.quoted.double.js",patterns:[{include:"#string-character-escape"}]},"qstring-single":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.js"}},end:"(\\')|((?:[^\\\\\\n])$)",endCaptures:{1:{name:"punctuation.definition.string.end.js"},2:{name:"invalid.illegal.newline.js"}},name:"string.quoted.single.js",patterns:[{include:"#string-character-escape"}]},regex:{patterns:[{begin:"(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[\\()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^\\)\\\\]|\\\\.)+\\))+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{1:{name:"punctuation.definition.string.begin.js"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.js"},2:{name:"keyword.other.js"}},name:"string.regexp.js",patterns:[{include:"#regexp"}]},{begin:"((?<![_$[:alnum:])\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{0:{name:"punctuation.definition.string.begin.js"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.js"},2:{name:"keyword.other.js"}},name:"string.regexp.js",patterns:[{include:"#regexp"}]}]},"regex-character-class":{patterns:[{match:"\\\\[wWsSdDtrnvf]|\\.",name:"constant.other.character-class.regexp"},{match:"\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})",name:"constant.character.numeric.regexp"},{match:"\\\\c[A-Z]",name:"constant.character.control.regexp"},{match:"\\\\.",name:"constant.character.escape.backslash.regexp"}]},regexp:{patterns:[{match:"\\\\[bB]|\\^|\\$",name:"keyword.control.anchor.regexp"},{captures:{0:{name:"keyword.other.back-reference.regexp"},1:{name:"variable.other.regexp"}},match:"\\\\[1-9]\\d*|\\\\k<([a-zA-Z_$][\\w$]*)>"},{match:"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??",name:"keyword.operator.quantifier.regexp"},{match:"\\|",name:"keyword.operator.or.regexp"},{begin:"(\\()((\\?=)|(\\?!)|(\\?<=)|(\\?<!))",beginCaptures:{1:{name:"punctuation.definition.group.regexp"},2:{name:"punctuation.definition.group.assertion.regexp"},3:{name:"meta.assertion.look-ahead.regexp"},4:{name:"meta.assertion.negative-look-ahead.regexp"},5:{name:"meta.assertion.look-behind.regexp"},6:{name:"meta.assertion.negative-look-behind.regexp"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.group.regexp"}},name:"meta.group.assertion.regexp",patterns:[{include:"#regexp"}]},{begin:"\\((?:(\\?:)|(?:\\?<([a-zA-Z_$][\\w$]*)>))?",beginCaptures:{0:{name:"punctuation.definition.group.regexp"},1:{name:"punctuation.definition.group.no-capture.regexp"},2:{name:"variable.other.regexp"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.regexp"}},name:"meta.group.regexp",patterns:[{include:"#regexp"}]},{begin:"(\\[)(\\^)?",beginCaptures:{1:{name:"punctuation.definition.character-class.regexp"},2:{name:"keyword.operator.negation.regexp"}},end:"(\\])",endCaptures:{1:{name:"punctuation.definition.character-class.regexp"}},name:"constant.other.character-class.set.regexp",patterns:[{captures:{1:{name:"constant.character.numeric.regexp"},2:{name:"constant.character.control.regexp"},3:{name:"constant.character.escape.backslash.regexp"},4:{name:"constant.character.numeric.regexp"},5:{name:"constant.character.control.regexp"},6:{name:"constant.character.escape.backslash.regexp"}},match:"(?:.|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))",name:"constant.other.character-class.range.regexp"},{include:"#regex-character-class"}]},{include:"#regex-character-class"}]},"return-type":{patterns:[{begin:"(?<=\\))\\s*(:)(?=\\s*\\S)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js"}},end:"(?<![:|&])(?=$|^|[{};,]|//)",name:"meta.return.type.js",patterns:[{include:"#return-type-core"}]},{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js"}},end:"(?<![:|&])((?=[{};,]|//|^\\s*$)|((?<=\\S)(?=\\s*$)))",name:"meta.return.type.js",patterns:[{include:"#return-type-core"}]}]},"return-type-core":{patterns:[{include:"#comment"},{begin:"(?<=[:|&])(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},shebang:{captures:{1:{name:"punctuation.definition.comment.js"}},match:"\\A(#!).*(?=$)",name:"comment.line.shebang.js"},"single-line-comment-consuming-line-ending":{begin:"(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.js"},2:{name:"comment.line.double-slash.js"},3:{name:"punctuation.definition.comment.js"},4:{name:"storage.type.internaldeclaration.js"},5:{name:"punctuation.decorator.internaldeclaration.js"}},contentName:"comment.line.double-slash.js",end:"(?=^)"},statements:{patterns:[{include:"#declaration"},{include:"#control-statement"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#label"},{include:"#expression"},{include:"#punctuation-semicolon"},{include:"#string"},{include:"#comment"}]},string:{patterns:[{include:"#qstring-single"},{include:"#qstring-double"},{include:"#template"}]},"string-character-escape":{match:"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\\{[0-9A-Fa-f]+\\}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)",name:"constant.character.escape.js"},"super-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))super\\b(?!\\$)",name:"variable.language.super.js"},"support-function-call-identifiers":{patterns:[{include:"#literal"},{include:"#support-objects"},{include:"#object-identifiers"},{include:"#punctuation-accessor"},{match:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*[\\(]\\s*[\\\"\\'\\`]))",name:"keyword.operator.expression.import.js"}]},"support-objects":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(arguments)\\b(?!\\$)",name:"variable.language.arguments.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Promise)\\b(?!\\$)",name:"support.class.promise.js"},{captures:{1:{name:"keyword.control.import.js"},2:{name:"punctuation.accessor.js"},3:{name:"punctuation.accessor.optional.js"},4:{name:"support.variable.property.importmeta.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(import)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(meta)\\b(?!\\$)"},{captures:{1:{name:"keyword.operator.new.js"},2:{name:"punctuation.accessor.js"},3:{name:"punctuation.accessor.optional.js"},4:{name:"support.variable.property.target.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(new)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(target)\\b(?!\\$)"},{captures:{1:{name:"punctuation.accessor.js"},2:{name:"punctuation.accessor.optional.js"},3:{name:"support.variable.property.js"},4:{name:"support.constant.js"}},match:`(?x) (?:(\\.)|(\\?\\.(?!\\s*[[:digit:]]))) \\s* (?: +(?:(constructor|length|prototype|__proto__)\\b(?!\\$|\\s*(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?\\()) +| +(?:(EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY)\\b(?!\\$)))`},{captures:{1:{name:"support.type.object.module.js"},2:{name:"support.type.object.module.js"},3:{name:"punctuation.accessor.js"},4:{name:"punctuation.accessor.optional.js"},5:{name:"support.type.object.module.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(exports)|(module)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))(exports|id|filename|loaded|parent|children))?)\\b(?!\\$)"}]},"switch-statement":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?=\\bswitch\\s*\\()",end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},name:"switch-statement.expr.js",patterns:[{include:"#comment"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(switch)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.switch.js"},2:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},name:"switch-expression.expr.js",patterns:[{include:"#expression"}]},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js"}},end:"(?=\\})",name:"switch-block.expr.js",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default(?=:))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.control.switch.js"}},end:"(?=:)",name:"case-clause.expr.js",patterns:[{include:"#expression"}]},{begin:"(:)\\s*(\\{)",beginCaptures:{1:{name:"case-clause.expr.js punctuation.definition.section.case-statement.js"},2:{name:"meta.block.js punctuation.definition.block.js"}},contentName:"meta.block.js",end:"\\}",endCaptures:{0:{name:"meta.block.js punctuation.definition.block.js"}},patterns:[{include:"#statements"}]},{captures:{0:{name:"case-clause.expr.js punctuation.definition.section.case-statement.js"}},match:"(:)"},{include:"#statements"}]}]},template:{patterns:[{include:"#template-call"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?(`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.js"},2:{name:"string.template.js punctuation.definition.string.template.begin.js"}},contentName:"string.template.js",end:"`",endCaptures:{0:{name:"string.template.js punctuation.definition.string.template.end.js"}},patterns:[{include:"#template-substitution-element"},{include:"#string-character-escape"}]}]},"template-call":{patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*)(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?`)",end:"(?=`)",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*))",end:"(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?`)",patterns:[{include:"#support-function-call-identifiers"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.function.tagged-template.js"}]},{include:"#type-arguments"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?\\s*(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.js"}},end:"(?=`)",patterns:[{include:"#type-arguments"}]}]},"template-substitution-element":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.js"}},contentName:"meta.embedded.line.js",end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.js"}},name:"meta.template.expression.js",patterns:[{include:"#expression"}]},"template-type":{patterns:[{include:"#template-call"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?(`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.js"},2:{name:"string.template.js punctuation.definition.string.template.begin.js"}},contentName:"string.template.js",end:"`",endCaptures:{0:{name:"string.template.js punctuation.definition.string.template.end.js"}},patterns:[{include:"#template-type-substitution-element"},{include:"#string-character-escape"}]}]},"template-type-substitution-element":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.js"}},contentName:"meta.embedded.line.js",end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.js"}},name:"meta.template.expression.js",patterns:[{include:"#type"}]},"ternary-expression":{begin:"(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)",beginCaptures:{1:{name:"keyword.operator.ternary.js"}},end:"\\s*(:)",endCaptures:{1:{name:"keyword.operator.ternary.js"}},patterns:[{include:"#expression"}]},"this-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))this\\b(?!\\$)",name:"variable.language.this.js"},type:{patterns:[{include:"#comment"},{include:"#type-string"},{include:"#numeric-literal"},{include:"#type-primitive"},{include:"#type-builtin-literals"},{include:"#type-parameters"},{include:"#type-tuple"},{include:"#type-object"},{include:"#type-operators"},{include:"#type-conditional"},{include:"#type-fn-type-parameters"},{include:"#type-paren-or-function-parameters"},{include:"#type-function-return-type"},{captures:{1:{name:"storage.modifier.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*"},{include:"#type-name"}]},"type-alias-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(type)\\b\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.type.type.js"},4:{name:"entity.name.type.alias.js"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.type.declaration.js",patterns:[{include:"#comment"},{include:"#type-parameters"},{begin:"(=)\\s*(intrinsic)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.assignment.js"},2:{name:"keyword.control.intrinsic.js"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type"}]},{begin:"(=)\\s*",beginCaptures:{1:{name:"keyword.operator.assignment.js"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type"}]}]},"type-annotation":{patterns:[{begin:"(:)(?=\\s*\\S)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js"}},end:"(?<![:|&])(?!\\s*[|&]\\s+)((?=^|[,);\\}\\]]|//)|(?==[^>])|((?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)))",name:"meta.type.annotation.js",patterns:[{include:"#type"}]},{begin:"(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js"}},end:"(?<![:|&])((?=[,);\\}\\]]|\\/\\/)|(?==[^>])|(?=^\\s*$)|((?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)))",name:"meta.type.annotation.js",patterns:[{include:"#type"}]}]},"type-arguments":{begin:"\\<",beginCaptures:{0:{name:"punctuation.definition.typeparameters.begin.js"}},end:"\\>",endCaptures:{0:{name:"punctuation.definition.typeparameters.end.js"}},name:"meta.type.parameters.js",patterns:[{include:"#type-arguments-body"}]},"type-arguments-body":{patterns:[{captures:{0:{name:"keyword.operator.type.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(_)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{include:"#type"},{include:"#punctuation-comma"}]},"type-builtin-literals":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(this|true|false|undefined|null|object)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"support.type.builtin.js"},"type-conditional":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends)\\s+",beginCaptures:{1:{name:"storage.modifier.js"}},end:"(?<=:)",patterns:[{begin:"\\?",beginCaptures:{0:{name:"keyword.operator.ternary.js"}},end:":",endCaptures:{0:{name:"keyword.operator.ternary.js"}},patterns:[{include:"#type"}]},{include:"#type"}]}]},"type-fn-type-parameters":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(new)\\b(?=\\s*\\<)",beginCaptures:{1:{name:"meta.type.constructor.js storage.modifier.js"},2:{name:"meta.type.constructor.js keyword.control.new.js"}},end:"(?<=>)",patterns:[{include:"#comment"},{include:"#type-parameters"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(new)\\b\\s*(?=\\()",beginCaptures:{1:{name:"storage.modifier.js"},2:{name:"keyword.control.new.js"}},end:"(?<=\\))",name:"meta.type.constructor.js",patterns:[{include:"#function-parameters"}]},{begin:`(?x)( +(?= +[(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +) +) +)`,end:"(?<=\\))",name:"meta.type.function.js",patterns:[{include:"#function-parameters"}]}]},"type-function-return-type":{patterns:[{begin:"(=>)(?=\\s*\\S)",beginCaptures:{1:{name:"storage.type.function.arrow.js"}},end:"(?<!=>)(?<![|&])(?=[,\\]\\)\\{\\}=;>:\\?]|//|$)",name:"meta.type.function.return.js",patterns:[{include:"#type-function-return-type-core"}]},{begin:"=>",beginCaptures:{0:{name:"storage.type.function.arrow.js"}},end:"(?<!=>)(?<![|&])((?=[,\\]\\)\\{\\}=;:\\?>]|//|^\\s*$)|((?<=\\S)(?=\\s*$)))",name:"meta.type.function.return.js",patterns:[{include:"#type-function-return-type-core"}]}]},"type-function-return-type-core":{patterns:[{include:"#comment"},{begin:"(?<==>)(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},"type-infer":{patterns:[{captures:{1:{name:"keyword.operator.expression.infer.js"},2:{name:"entity.name.type.js"},3:{name:"keyword.operator.expression.extends.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",name:"meta.type.infer.js"}]},"type-name":{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(<)",captures:{1:{name:"entity.name.type.module.js"},2:{name:"punctuation.accessor.js"},3:{name:"punctuation.accessor.optional.js"},4:{name:"meta.type.parameters.js punctuation.definition.typeparameters.begin.js"}},contentName:"meta.type.parameters.js",end:"(>)",endCaptures:{1:{name:"meta.type.parameters.js punctuation.definition.typeparameters.end.js"}},patterns:[{include:"#type-arguments-body"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(<)",beginCaptures:{1:{name:"entity.name.type.js"},2:{name:"meta.type.parameters.js punctuation.definition.typeparameters.begin.js"}},contentName:"meta.type.parameters.js",end:"(>)",endCaptures:{1:{name:"meta.type.parameters.js punctuation.definition.typeparameters.end.js"}},patterns:[{include:"#type-arguments-body"}]},{captures:{1:{name:"entity.name.type.module.js"},2:{name:"punctuation.accessor.js"},3:{name:"punctuation.accessor.optional.js"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"entity.name.type.js"}]},"type-object":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js"}},name:"meta.object.type.js",patterns:[{include:"#comment"},{include:"#method-declaration"},{include:"#indexer-declaration"},{include:"#indexer-mapped-type-declaration"},{include:"#field-declaration"},{include:"#type-annotation"},{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.js"}},end:"(?=\\}|;|,|$)|(?<=\\})",patterns:[{include:"#type"}]},{include:"#punctuation-comma"},{include:"#punctuation-semicolon"},{include:"#type"}]},"type-operators":{patterns:[{include:"#typeof-operator"},{include:"#type-infer"},{begin:"([&|])(?=\\s*\\{)",beginCaptures:{0:{name:"keyword.operator.type.js"}},end:"(?<=\\})",patterns:[{include:"#type-object"}]},{begin:"[&|]",beginCaptures:{0:{name:"keyword.operator.type.js"}},end:"(?=\\S)"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))keyof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.keyof.js"},{match:"(\\?|\\:)",name:"keyword.operator.ternary.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()",name:"keyword.operator.expression.import.js"}]},"type-parameters":{begin:"(<)",beginCaptures:{1:{name:"punctuation.definition.typeparameters.begin.js"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.typeparameters.end.js"}},name:"meta.type.parameters.js",patterns:[{include:"#comment"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out|const)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.js"},{include:"#type"},{include:"#punctuation-comma"},{match:"(=)(?!>)",name:"keyword.operator.assignment.js"}]},"type-paren-or-function-parameters":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js"}},name:"meta.type.paren.cover.js",patterns:[{captures:{1:{name:"storage.modifier.js"},2:{name:"keyword.operator.rest.js"},3:{name:"entity.name.function.js variable.language.this.js"},4:{name:"entity.name.function.js"},5:{name:"keyword.operator.optional.js"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s*(\\??)(?=\\s*(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))))`},{captures:{1:{name:"storage.modifier.js"},2:{name:"keyword.operator.rest.js"},3:{name:"variable.parameter.js variable.language.this.js"},4:{name:"variable.parameter.js"},5:{name:"keyword.operator.optional.js"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s*(\\??)(?=:)"},{include:"#type-annotation"},{match:",",name:"punctuation.separator.parameter.js"},{include:"#type"}]},"type-predicate-operator":{patterns:[{captures:{1:{name:"keyword.operator.type.asserts.js"},2:{name:"variable.parameter.js variable.language.this.js"},3:{name:"variable.parameter.js"},4:{name:"keyword.operator.expression.is.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(asserts)\\s+)?(?!asserts)(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s(is)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{captures:{1:{name:"keyword.operator.type.asserts.js"},2:{name:"variable.parameter.js variable.language.this.js"},3:{name:"variable.parameter.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(asserts)\\s+(?!is)(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))asserts(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.type.asserts.js"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))is(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.is.js"}]},"type-primitive":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(string|number|bigint|boolean|symbol|any|void|never|unknown)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"support.type.primitive.js"},"type-string":{patterns:[{include:"#qstring-single"},{include:"#qstring-double"},{include:"#template-type"}]},"type-tuple":{begin:"\\[",beginCaptures:{0:{name:"meta.brace.square.js"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.js"}},name:"meta.type.tuple.js",patterns:[{match:"\\.\\.\\.",name:"keyword.operator.rest.js"},{captures:{1:{name:"entity.name.label.js"},2:{name:"keyword.operator.optional.js"},3:{name:"punctuation.separator.label.js"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\?)?\\s*(:)"},{include:"#type"},{include:"#punctuation-comma"}]},"typeof-operator":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))typeof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{0:{name:"keyword.operator.expression.typeof.js"}},end:"(?=[,);}\\]=>:&|{\\?]|(extends\\s+)|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type-arguments"},{include:"#expression"}]},"undefined-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))undefined(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.undefined.js"},"var-expr":{patterns:[{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=^|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^let|[^\\._$[:alnum:]]let|^var|[^\\._$[:alnum:]]var)(?=\\s*$)))",name:"meta.var.expr.js",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.type.js"}},end:"(?=\\S)"},{include:"#destructuring-variable"},{include:"#var-single-variable"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*(?=$|\\/\\/)",beginCaptures:{1:{name:"punctuation.separator.comma.js"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#destructuring-variable"},{include:"#var-single-variable"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]},{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.type.js"}},end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=^|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^const|[^\\._$[:alnum:]]const)(?=\\s*$)))",name:"meta.var.expr.js",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.type.js"}},end:"(?=\\S)"},{include:"#destructuring-const"},{include:"#var-single-const"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*(?=$|\\/\\/)",beginCaptures:{1:{name:"punctuation.separator.comma.js"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#destructuring-const"},{include:"#var-single-const"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]},{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.type.js"}},end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^using|[^\\._$[:alnum:]]using|^await\\s+using|[^\\._$[:alnum:]]await\\s+using)(?=\\s*$)))",name:"meta.var.expr.js",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.js"},2:{name:"storage.modifier.js"},3:{name:"storage.type.js"}},end:"(?=\\S)"},{include:"#var-single-const"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*((?!\\S)|(?=\\/\\/))",beginCaptures:{1:{name:"punctuation.separator.comma.js"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#var-single-const"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]}]},"var-single-const":{patterns:[{begin:`(?x)([_$[:alpha:]][_$[:alnum:]]*)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,beginCaptures:{1:{name:"meta.definition.variable.js variable.other.constant.js entity.name.function.js"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{1:{name:"meta.definition.variable.js variable.other.constant.js"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js",patterns:[{include:"#var-single-variable-type-annotation"}]}]},"var-single-variable":{patterns:[{begin:`(?x)([_$[:alpha:]][_$[:alnum:]]*)(\\!)?(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,beginCaptures:{1:{name:"meta.definition.variable.js entity.name.function.js"},2:{name:"keyword.operator.definiteassignment.js"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])(\\!)?",beginCaptures:{1:{name:"meta.definition.variable.js variable.other.constant.js"},2:{name:"keyword.operator.definiteassignment.js"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)(\\!)?",beginCaptures:{1:{name:"meta.definition.variable.js variable.other.readwrite.js"},2:{name:"keyword.operator.definiteassignment.js"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js",patterns:[{include:"#var-single-variable-type-annotation"}]}]},"var-single-variable-type-annotation":{patterns:[{include:"#type-annotation"},{include:"#string"},{include:"#comment"}]},"variable-initializer":{patterns:[{begin:"(?<!=|!)(=)(?!=)(?=\\s*\\S)(?!\\s*.*=>\\s*$)",beginCaptures:{1:{name:"keyword.operator.assignment.js"}},end:"(?=$|^|[,);}\\]]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",patterns:[{include:"#expression"}]},{begin:"(?<!=|!)(=)(?!=)",beginCaptures:{1:{name:"keyword.operator.assignment.js"}},end:"(?=[,);}\\]]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))|(?=^\\s*$)|(?<![\\|\\&\\+\\-\\*\\/])(?<=\\S)(?<!=)(?=\\s*$)",patterns:[{include:"#expression"}]}]}},scopeName:"source.js",aliases:["js"]});var n=[e];export{n as default}; diff --git a/assets/journeyDiagram-d5636530-wsnii4kk.js b/assets/journeyDiagram-d5636530-wsnii4kk.js new file mode 100644 index 00000000000..1633c1f52d4 --- /dev/null +++ b/assets/journeyDiagram-d5636530-wsnii4kk.js @@ -0,0 +1,139 @@ +import{c as I,p as yt,q as ft,s as dt,g as pt,b as gt,a as mt,r as xt,h as W,i as kt}from"./mermaid.core-wTs8WatG.js";import{d as _t,f as bt,a as vt,g as it}from"./svgDrawCommon-0ee1b4e9-rINZtLwd.js";import"./request-bY2SEZNN.js";import{a as Q}from"./arc-O3u_vsTK.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./path-aUcfwwLI.js";var G=function(){var t=function(p,s,r,a){for(r=r||{},a=p.length;a--;r[p[a]]=s);return r},e=[6,8,10,11,12,14,16,17,18],i=[1,9],l=[1,10],n=[1,11],h=[1,12],c=[1,13],f=[1,14],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(s,r,a,u,d,o,w){var k=o.length-1;switch(d){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 13:u.addTask(o[k-1],o[k]),this.$="task";break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:l,14:n,16:h,17:c,18:f},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:l,14:n,16:h,17:c,18:f},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(s,r){if(r.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=r,a}},parse:function(s){var r=this,a=[0],u=[],d=[null],o=[],w=this.table,k="",R=0,Z=0,lt=2,J=1,ct=o.slice.call(arguments,1),x=Object.create(this.lexer),S={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(S.yy[z]=this.yy[z]);x.setInput(s,S.yy),S.yy.lexer=x,S.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var Y=x.yylloc;o.push(Y);var ht=x.options&&x.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ut(){var T;return T=u.pop()||x.lex()||J,typeof T!="number"&&(T instanceof Array&&(u=T,T=u.pop()),T=r.symbols_[T]||T),T}for(var _,E,b,q,A={},N,$,K,B;;){if(E=a[a.length-1],this.defaultActions[E]?b=this.defaultActions[E]:((_===null||typeof _>"u")&&(_=ut()),b=w[E]&&w[E][_]),typeof b>"u"||!b.length||!b[0]){var O="";B=[];for(N in w[E])this.terminals_[N]&&N>lt&&B.push("'"+this.terminals_[N]+"'");x.showPosition?O="Parse error on line "+(R+1)+`: +`+x.showPosition()+` +Expecting `+B.join(", ")+", got '"+(this.terminals_[_]||_)+"'":O="Parse error on line "+(R+1)+": Unexpected "+(_==J?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(O,{text:x.match,token:this.terminals_[_]||_,line:x.yylineno,loc:Y,expected:B})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+_);switch(b[0]){case 1:a.push(_),d.push(x.yytext),o.push(x.yylloc),a.push(b[1]),_=null,Z=x.yyleng,k=x.yytext,R=x.yylineno,Y=x.yylloc;break;case 2:if($=this.productions_[b[1]][1],A.$=d[d.length-$],A._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},ht&&(A._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),q=this.performAction.apply(A,[k,Z,R,S.yy,b[1],d,o].concat(ct)),typeof q<"u")return q;$&&(a=a.slice(0,-1*$*2),d=d.slice(0,-1*$),o=o.slice(0,-1*$)),a.push(this.productions_[b[1]][0]),d.push(A.$),o.push(A._$),K=w[a[a.length-2]][a[a.length-1]],a.push(K);break;case 3:return!0}}return!0}},m=function(){var p={EOF:1,parseError:function(r,a){if(this.yy.parser)this.yy.parser.parseError(r,a);else throw new Error(r)},setInput:function(s,r){return this.yy=r||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var r=s.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},unput:function(s){var r=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===u.length?this.yylloc.first_column:0)+u[u.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),r=new Array(s.length+1).join("-");return s+this.upcomingInput()+` +`+r+"^"},test_match:function(s,r){var a,u,d;if(this.options.backtrack_lexer&&(d={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(d.yylloc.range=this.yylloc.range.slice(0))),u=s[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],a=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var o in d)this[o]=d[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,r,a,u;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),o=0;o<d.length;o++)if(a=this._input.match(this.rules[d[o]]),a&&(!r||a[0].length>r[0].length)){if(r=a,u=o,this.options.backtrack_lexer){if(s=this.test_match(a,d[o]),s!==!1)return s;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(s=this.test_match(r,d[u]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,a,u,d){switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return p}();y.lexer=m;function g(){this.yy={}}return g.prototype=y,y.Parser=g,new g}();G.parser=G;const wt=G;let C="";const H=[],V=[],F=[],$t=function(){H.length=0,V.length=0,C="",F.length=0,xt()},Tt=function(t){C=t,H.push(t)},Mt=function(){return H},St=function(){let t=D();const e=100;let i=0;for(;!t&&i<e;)t=D(),i++;return V.push(...F),V},Et=function(){const t=[];return V.forEach(i=>{i.people&&t.push(...i.people)}),[...new Set(t)].sort()},Pt=function(t,e){const i=e.substr(1).split(":");let l=0,n=[];i.length===1?(l=Number(i[0]),n=[]):(l=Number(i[0]),n=i[1].split(","));const h=n.map(f=>f.trim()),c={section:C,type:C,people:h,task:t,score:l};F.push(c)},It=function(t){const e={section:C,type:C,description:t,task:t,classes:[]};V.push(e)},D=function(){const t=function(i){return F[i].processed};let e=!0;for(const[i,l]of F.entries())t(i),e=e&&l.processed;return e},At=function(){return Et()},tt={getConfig:()=>I().journey,clear:$t,setDiagramTitle:yt,getDiagramTitle:ft,setAccTitle:dt,getAccTitle:pt,setAccDescription:gt,getAccDescription:mt,addSection:Tt,getSections:Mt,getTasks:St,addTask:Pt,addTaskOrg:It,getActors:At},Ct=t=>`.label { + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + color: ${t.textColor}; + } + .mouth { + stroke: #666; + } + + line { + stroke: ${t.textColor} + } + + .legend { + fill: ${t.textColor}; + } + + .label text { + fill: #333; + } + .label { + color: ${t.textColor} + } + + .face { + ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"}; + stroke: #999; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: 1px; + } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${t.arrowheadColor}; + } + + .edgePath .path { + stroke: ${t.lineColor}; + stroke-width: 1.5px; + } + + .flowchart-link { + stroke: ${t.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + rect { + opacity: 0.5; + } + text-align: center; + } + + .cluster rect { + } + + .cluster text { + fill: ${t.titleColor}; + } + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + font-size: 12px; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .task-type-0, .section-type-0 { + ${t.fillType0?`fill: ${t.fillType0}`:""}; + } + .task-type-1, .section-type-1 { + ${t.fillType0?`fill: ${t.fillType1}`:""}; + } + .task-type-2, .section-type-2 { + ${t.fillType0?`fill: ${t.fillType2}`:""}; + } + .task-type-3, .section-type-3 { + ${t.fillType0?`fill: ${t.fillType3}`:""}; + } + .task-type-4, .section-type-4 { + ${t.fillType0?`fill: ${t.fillType4}`:""}; + } + .task-type-5, .section-type-5 { + ${t.fillType0?`fill: ${t.fillType5}`:""}; + } + .task-type-6, .section-type-6 { + ${t.fillType0?`fill: ${t.fillType6}`:""}; + } + .task-type-7, .section-type-7 { + ${t.fillType0?`fill: ${t.fillType7}`:""}; + } + + .actor-0 { + ${t.actor0?`fill: ${t.actor0}`:""}; + } + .actor-1 { + ${t.actor1?`fill: ${t.actor1}`:""}; + } + .actor-2 { + ${t.actor2?`fill: ${t.actor2}`:""}; + } + .actor-3 { + ${t.actor3?`fill: ${t.actor3}`:""}; + } + .actor-4 { + ${t.actor4?`fill: ${t.actor4}`:""}; + } + .actor-5 { + ${t.actor5?`fill: ${t.actor5}`:""}; + } +`,Vt=Ct,U=function(t,e){return _t(t,e)},Ft=function(t,e){const l=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),n=t.append("g");n.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(y){const m=Q().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function c(y){const m=Q().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function f(y){y.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return e.score>3?h(n):e.score<3?c(n):f(n),l},rt=function(t,e){const i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),i.class!==void 0&&i.attr("class",i.class),e.title!==void 0&&i.append("title").text(e.title),i},at=function(t,e){return bt(t,e)},Lt=function(t,e){function i(n,h,c,f,y){return n+","+h+" "+(n+c)+","+h+" "+(n+c)+","+(h+f-y)+" "+(n+c-y*1.2)+","+(h+f)+" "+n+","+(h+f)}const l=t.append("polygon");l.attr("points",i(e.x,e.y,50,20,7)),l.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,at(t,e)},Rt=function(t,e,i){const l=t.append("g"),n=it();n.x=e.x,n.y=e.y,n.fill=e.fill,n.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),n.height=i.height,n.class="journey-section section-type-"+e.num,n.rx=3,n.ry=3,U(l,n),ot(i)(e.text,l,n.x,n.y,n.width,n.height,{class:"journey-section section-type-"+e.num},i,e.colour)};let et=-1;const Nt=function(t,e,i){const l=e.x+i.width/2,n=t.append("g");et++;const h=300+5*30;n.append("line").attr("id","task"+et).attr("x1",l).attr("y1",e.y).attr("x2",l).attr("y2",h).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Ft(n,{cx:l,cy:300+(5-e.score)*30,score:e.score});const c=it();c.x=e.x,c.y=e.y,c.fill=e.fill,c.width=i.width,c.height=i.height,c.class="task task-type-"+e.num,c.rx=3,c.ry=3,U(n,c);let f=e.x+14;e.people.forEach(y=>{const m=e.actors[y].color,g={cx:f,cy:e.y,r:7,fill:m,stroke:"#000",title:y,pos:e.actors[y].position};rt(n,g),f+=10}),ot(i)(e.task,n,c.x,c.y,c.width,c.height,{class:"task"},i,e.colour)},Bt=function(t,e){vt(t,e)},ot=function(){function t(n,h,c,f,y,m,g,p){const s=h.append("text").attr("x",c+y/2).attr("y",f+m/2+5).style("font-color",p).style("text-anchor","middle").text(n);l(s,g)}function e(n,h,c,f,y,m,g,p,s){const{taskFontSize:r,taskFontFamily:a}=p,u=n.split(/<br\s*\/?>/gi);for(let d=0;d<u.length;d++){const o=d*r-r*(u.length-1)/2,w=h.append("text").attr("x",c+y/2).attr("y",f).attr("fill",s).style("text-anchor","middle").style("font-size",r).style("font-family",a);w.append("tspan").attr("x",c+y/2).attr("dy",o).text(u[d]),w.attr("y",f+m/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(w,g)}}function i(n,h,c,f,y,m,g,p){const s=h.append("switch"),a=s.append("foreignObject").attr("x",c).attr("y",f).attr("width",y).attr("height",m).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(n),e(n,s,c,f,y,m,g,p),l(a,g)}function l(n,h){for(const c in h)c in h&&n.attr(c,h[c])}return function(n){return n.textPlacement==="fo"?i:n.textPlacement==="old"?t:e}}(),jt=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},L={drawRect:U,drawCircle:rt,drawSection:Rt,drawText:at,drawLabel:Lt,drawTask:Nt,drawBackgroundRect:Bt,initGraphics:jt},zt=function(t){Object.keys(t).forEach(function(i){j[i]=t[i]})},M={};function Yt(t){const e=I().journey;let i=60;Object.keys(M).forEach(l=>{const n=M[l].color,h={cx:20,cy:i,r:7,fill:n,stroke:"#000",pos:M[l].position};L.drawCircle(t,h);const c={x:40,y:i+7,fill:"#666",text:l,textMargin:e.boxTextMargin|5};L.drawText(t,c),i+=20})}const j=I().journey,P=j.leftMargin,qt=function(t,e,i,l){const n=I().journey,h=I().securityLevel;let c;h==="sandbox"&&(c=W("#i"+e));const f=h==="sandbox"?W(c.nodes()[0].contentDocument.body):W("body");v.init();const y=f.select("#"+e);L.initGraphics(y);const m=l.db.getTasks(),g=l.db.getDiagramTitle(),p=l.db.getActors();for(const o in M)delete M[o];let s=0;p.forEach(o=>{M[o]={color:n.actorColours[s%n.actorColours.length],position:s},s++}),Yt(y),v.insert(0,0,P,Object.keys(M).length*50),Ot(y,m,0);const r=v.getBounds();g&&y.append("text").text(g).attr("x",P).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const a=r.stopy-r.starty+2*n.diagramMarginY,u=P+r.stopx+2*n.diagramMarginX;kt(y,a,u,n.useMaxWidth),y.append("line").attr("x1",P).attr("y1",n.height*4).attr("x2",u-P-4).attr("y2",n.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const d=g?70:0;y.attr("viewBox",`${r.startx} -25 ${u} ${a+d}`),y.attr("preserveAspectRatio","xMinYMin meet"),y.attr("height",a+d+25)},v={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,i,l){t[e]===void 0?t[e]=i:t[e]=l(i,t[e])},updateBounds:function(t,e,i,l){const n=I().journey,h=this;let c=0;function f(y){return function(g){c++;const p=h.sequenceItems.length-c+1;h.updateVal(g,"starty",e-p*n.boxMargin,Math.min),h.updateVal(g,"stopy",l+p*n.boxMargin,Math.max),h.updateVal(v.data,"startx",t-p*n.boxMargin,Math.min),h.updateVal(v.data,"stopx",i+p*n.boxMargin,Math.max),y!=="activation"&&(h.updateVal(g,"startx",t-p*n.boxMargin,Math.min),h.updateVal(g,"stopx",i+p*n.boxMargin,Math.max),h.updateVal(v.data,"starty",e-p*n.boxMargin,Math.min),h.updateVal(v.data,"stopy",l+p*n.boxMargin,Math.max))}}this.sequenceItems.forEach(f())},insert:function(t,e,i,l){const n=Math.min(t,i),h=Math.max(t,i),c=Math.min(e,l),f=Math.max(e,l);this.updateVal(v.data,"startx",n,Math.min),this.updateVal(v.data,"starty",c,Math.min),this.updateVal(v.data,"stopx",h,Math.max),this.updateVal(v.data,"stopy",f,Math.max),this.updateBounds(n,c,h,f)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},X=j.sectionFills,st=j.sectionColours,Ot=function(t,e,i){const l=I().journey;let n="";const h=l.height*2+l.diagramMarginY,c=i+h;let f=0,y="#CCC",m="black",g=0;for(const[p,s]of e.entries()){if(n!==s.section){y=X[f%X.length],g=f%X.length,m=st[f%st.length];let a=0;const u=s.section;for(let o=p;o<e.length&&e[o].section==u;o++)a=a+1;const d={x:p*l.taskMargin+p*l.width+P,y:50,text:s.section,fill:y,num:g,colour:m,taskCount:a};L.drawSection(t,d,l),n=s.section,f++}const r=s.people.reduce((a,u)=>(M[u]&&(a[u]=M[u]),a),{});s.x=p*l.taskMargin+p*l.width+P,s.y=c,s.width=l.diagramMarginX,s.height=l.diagramMarginY,s.colour=m,s.fill=y,s.num=g,s.actors=r,L.drawTask(t,s,l),v.insert(s.x,s.y,s.x+s.width+l.taskMargin,300+5*30)}},nt={setConf:zt,draw:qt},te={parser:wt,db:tt,renderer:nt,styles:Vt,init:t=>{nt.setConf(t.journey),tt.clear()}};export{te as diagram}; diff --git a/assets/json-xL80yL3n.js b/assets/json-xL80yL3n.js new file mode 100644 index 00000000000..312d1d8efff --- /dev/null +++ b/assets/json-xL80yL3n.js @@ -0,0 +1,25 @@ +const n=Object.freeze({displayName:"JSON",name:"json",patterns:[{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.json"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.json"}},name:"meta.structure.array.json",patterns:[{include:"#value"},{match:",",name:"punctuation.separator.array.json"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json"}]},comments:{patterns:[{begin:"/\\*\\*(?!/)",captures:{0:{name:"punctuation.definition.comment.json"}},end:"\\*/",name:"comment.block.documentation.json"},{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.json"}},end:"\\*/",name:"comment.block.json"},{captures:{1:{name:"punctuation.definition.comment.json"}},match:"(//).*$\\n?",name:"comment.line.double-slash.js"}]},constant:{match:"\\b(?:true|false|null)\\b",name:"constant.language.json"},number:{match:`(?x) +-? +(?: +0 +| +[1-9] +\\d* +) +(?: +(?: +\\. +\\d+ +)? +(?: +[eE] +[+-]? +\\d+ +)? +)?`,name:"constant.numeric.json"},object:{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.dictionary.begin.json"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.dictionary.end.json"}},name:"meta.structure.dictionary.json",patterns:[{comment:"the JSON object key",include:"#objectkey"},{include:"#comments"},{begin:":",beginCaptures:{0:{name:"punctuation.separator.dictionary.key-value.json"}},end:"(,)|(?=\\})",endCaptures:{1:{name:"punctuation.separator.dictionary.pair.json"}},name:"meta.structure.dictionary.value.json",patterns:[{comment:"the JSON object value",include:"#value"},{match:"[^\\s,]",name:"invalid.illegal.expected-dictionary-separator.json"}]},{match:"[^\\s\\}]",name:"invalid.illegal.expected-dictionary-separator.json"}]},objectkey:{begin:'"',beginCaptures:{0:{name:"punctuation.support.type.property-name.begin.json"}},end:'"',endCaptures:{0:{name:"punctuation.support.type.property-name.end.json"}},name:"string.json support.type.property-name.json",patterns:[{include:"#stringcontent"}]},string:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.json"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.json"}},name:"string.quoted.double.json",patterns:[{include:"#stringcontent"}]},stringcontent:{patterns:[{match:`(?x) +\\\\ +(?: +["\\\\/bfnrt] +| +u +[0-9a-fA-F]{4})`,name:"constant.character.escape.json"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json"}]},value:{patterns:[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"}]}},scopeName:"source.json"});var e=[n];export{e as default}; diff --git a/assets/jsx-3LZ_BoLB.js b/assets/jsx-3LZ_BoLB.js new file mode 100644 index 00000000000..b32aeb712ad --- /dev/null +++ b/assets/jsx-3LZ_BoLB.js @@ -0,0 +1,699 @@ +const e=Object.freeze({displayName:"JSX",name:"jsx",patterns:[{include:"#directives"},{include:"#statements"},{include:"#shebang"}],repository:{"access-modifier":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(abstract|declare|override|public|protected|private|readonly|static)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.js.jsx"},"after-operator-block-as-object-literal":{begin:"(?<!\\+\\+|--)(?<=[:=(,\\[?+!>]|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^yield|[^\\._$[:alnum:]]yield|^throw|[^\\._$[:alnum:]]throw|^in|[^\\._$[:alnum:]]in|^of|[^\\._$[:alnum:]]of|^typeof|[^\\._$[:alnum:]]typeof|&&|\\|\\||\\*)\\s*(\\{)",beginCaptures:{1:{name:"punctuation.definition.block.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},name:"meta.objectliteral.js.jsx",patterns:[{include:"#object-member"}]},"array-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"punctuation.definition.binding-pattern.array.js.jsx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.js.jsx"}},patterns:[{include:"#binding-element"},{include:"#punctuation-comma"}]},"array-binding-pattern-const":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"punctuation.definition.binding-pattern.array.js.jsx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.js.jsx"}},patterns:[{include:"#binding-element-const"},{include:"#punctuation-comma"}]},"array-literal":{begin:"\\s*(\\[)",beginCaptures:{1:{name:"meta.brace.square.js.jsx"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.js.jsx"}},name:"meta.array.literal.js.jsx",patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},"arrow-function":{patterns:[{captures:{1:{name:"storage.modifier.async.js.jsx"},2:{name:"variable.parameter.js.jsx"}},match:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync)\\s+)?([_$[:alpha:]][_$[:alnum:]]*)\\s*(?==>)",name:"meta.arrow.js.jsx"},{begin:`(?x) (?: +(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync) +)? ((?<![})!\\]])\\s* +(?= + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +) +)`,beginCaptures:{1:{name:"storage.modifier.async.js.jsx"}},end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",name:"meta.arrow.js.jsx",patterns:[{include:"#comment"},{include:"#type-parameters"},{include:"#function-parameters"},{include:"#arrow-return-type"},{include:"#possibly-arrow-return-type"}]},{begin:"=>",beginCaptures:{0:{name:"storage.type.function.arrow.js.jsx"}},end:"((?<=\\}|\\S)(?<!=>)|((?!\\{)(?=\\S)))(?!\\/[\\/\\*])",name:"meta.arrow.js.jsx",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#decl-block"},{include:"#expression"}]}]},"arrow-return-type":{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js.jsx"}},end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",name:"meta.return.type.arrow.js.jsx",patterns:[{include:"#arrow-return-type-body"}]},"arrow-return-type-body":{patterns:[{begin:"(?<=[:])(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},"async-modifier":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(async)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.async.js.jsx"},"binding-element":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#object-binding-pattern"},{include:"#array-binding-pattern"},{include:"#destructuring-variable-rest"},{include:"#variable-initializer"}]},"binding-element-const":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#object-binding-pattern-const"},{include:"#array-binding-pattern-const"},{include:"#destructuring-variable-rest-const"},{include:"#variable-initializer"}]},"boolean-literal":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))true(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.boolean.true.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))false(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.boolean.false.js.jsx"}]},brackets:{patterns:[{begin:"{",end:"}|(?=\\*/)",patterns:[{include:"#brackets"}]},{begin:"\\[",end:"\\]|(?=\\*/)",patterns:[{include:"#brackets"}]}]},cast:{patterns:[{include:"#jsx"}]},"class-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(class)\\b(?=\\s+|/[/*])",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.modifier.js.jsx"},4:{name:"storage.type.class.js.jsx"}},end:"(?<=\\})",name:"meta.class.js.jsx",patterns:[{include:"#class-declaration-or-expression-patterns"}]},"class-declaration-or-expression-patterns":{patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{captures:{0:{name:"entity.name.type.class.js.jsx"}},match:"[_$[:alpha:]][_$[:alnum:]]*"},{include:"#type-parameters"},{include:"#class-or-interface-body"}]},"class-expression":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(class)\\b(?=\\s+|[<{]|\\/[\\/*])",beginCaptures:{1:{name:"storage.modifier.js.jsx"},2:{name:"storage.type.class.js.jsx"}},end:"(?<=\\})",name:"meta.class.js.jsx",patterns:[{include:"#class-declaration-or-expression-patterns"}]},"class-or-interface-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},patterns:[{include:"#comment"},{include:"#decorator"},{begin:"(?<=:)\\s*",end:"(?=\\s|[;),}\\]:\\-\\+]|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{include:"#method-declaration"},{include:"#indexer-declaration"},{include:"#field-declaration"},{include:"#string"},{include:"#type-annotation"},{include:"#variable-initializer"},{include:"#access-modifier"},{include:"#property-accessor"},{include:"#async-modifier"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#expression"},{include:"#punctuation-comma"},{include:"#punctuation-semicolon"}]},"class-or-interface-heritage":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(extends|implements)\\b)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"storage.modifier.js.jsx"}},end:"(?=\\{)",patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{include:"#type-parameters"},{include:"#expressionWithoutIdentifiers"},{captures:{1:{name:"entity.name.type.module.js.jsx"},2:{name:"punctuation.accessor.js.jsx"},3:{name:"punctuation.accessor.optional.js.jsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))(?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s*\\??\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)*\\s*)"},{captures:{1:{name:"entity.other.inherited-class.js.jsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)"},{include:"#expressionPunctuations"}]},comment:{patterns:[{begin:"/\\*\\*(?!/)",beginCaptures:{0:{name:"punctuation.definition.comment.js.jsx"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.js.jsx"}},name:"comment.block.documentation.js.jsx",patterns:[{include:"#docblock"}]},{begin:"(/\\*)(?:\\s*((@)internal)(?=\\s|(\\*/)))?",beginCaptures:{1:{name:"punctuation.definition.comment.js.jsx"},2:{name:"storage.type.internaldeclaration.js.jsx"},3:{name:"punctuation.decorator.internaldeclaration.js.jsx"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.js.jsx"}},name:"comment.block.js.jsx"},{begin:"(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.js.jsx"},2:{name:"comment.line.double-slash.js.jsx"},3:{name:"punctuation.definition.comment.js.jsx"},4:{name:"storage.type.internaldeclaration.js.jsx"},5:{name:"punctuation.decorator.internaldeclaration.js.jsx"}},contentName:"comment.line.double-slash.js.jsx",end:"(?=$)"}]},"control-statement":{patterns:[{include:"#switch-statement"},{include:"#for-loop"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(catch|finally|throw|try)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.trycatch.js.jsx"},{captures:{1:{name:"keyword.control.loop.js.jsx"},2:{name:"entity.name.label.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|goto)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|do|goto|while)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.loop.js.jsx"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(return)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{0:{name:"keyword.control.flow.js.jsx"}},end:"(?=[;}]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default|switch)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.switch.js.jsx"},{include:"#if-statement"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(else|if)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.conditional.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(with)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.with.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(package)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(debugger)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.other.debugger.js.jsx"}]},"decl-block":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},name:"meta.block.js.jsx",patterns:[{include:"#statements"}]},declaration:{patterns:[{include:"#decorator"},{include:"#var-expr"},{include:"#function-declaration"},{include:"#class-declaration"},{include:"#interface-declaration"},{include:"#enum-declaration"},{include:"#namespace-declaration"},{include:"#type-alias-declaration"},{include:"#import-equals-declaration"},{include:"#import-declaration"},{include:"#export-declaration"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(declare|export)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.js.jsx"}]},decorator:{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))\\@",beginCaptures:{0:{name:"punctuation.decorator.js.jsx"}},end:"(?=\\s)",name:"meta.decorator.js.jsx",patterns:[{include:"#expression"}]},"destructuring-const":{patterns:[{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\{)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.object-binding-pattern-variable.js.jsx",patterns:[{include:"#object-binding-pattern-const"},{include:"#type-annotation"},{include:"#comment"}]},{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\[)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.array-binding-pattern-variable.js.jsx",patterns:[{include:"#array-binding-pattern-const"},{include:"#type-annotation"},{include:"#comment"}]}]},"destructuring-parameter":{patterns:[{begin:"(?<!=|:)\\s*(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"punctuation.definition.binding-pattern.object.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.js.jsx"}},name:"meta.parameter.object-binding-pattern.js.jsx",patterns:[{include:"#parameter-object-binding-element"}]},{begin:"(?<!=|:)\\s*(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"punctuation.definition.binding-pattern.array.js.jsx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.js.jsx"}},name:"meta.paramter.array-binding-pattern.js.jsx",patterns:[{include:"#parameter-binding-element"},{include:"#punctuation-comma"}]}]},"destructuring-parameter-rest":{captures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"variable.parameter.js.jsx"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},"destructuring-variable":{patterns:[{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\{)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.object-binding-pattern-variable.js.jsx",patterns:[{include:"#object-binding-pattern"},{include:"#type-annotation"},{include:"#comment"}]},{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\[)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.array-binding-pattern-variable.js.jsx",patterns:[{include:"#array-binding-pattern"},{include:"#type-annotation"},{include:"#comment"}]}]},"destructuring-variable-rest":{captures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"meta.definition.variable.js.jsx variable.other.readwrite.js.jsx"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},"destructuring-variable-rest-const":{captures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"meta.definition.variable.js.jsx variable.other.constant.js.jsx"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},directives:{begin:"^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",beginCaptures:{1:{name:"punctuation.definition.comment.js.jsx"}},end:"(?=$)",name:"comment.line.triple-slash.directive.js.jsx",patterns:[{begin:"(<)(reference|amd-dependency|amd-module)",beginCaptures:{1:{name:"punctuation.definition.tag.directive.js.jsx"},2:{name:"entity.name.tag.directive.js.jsx"}},end:"/>",endCaptures:{0:{name:"punctuation.definition.tag.directive.js.jsx"}},name:"meta.tag.js.jsx",patterns:[{match:"path|types|no-default-lib|lib|name|resolution-mode",name:"entity.other.attribute-name.directive.js.jsx"},{match:"=",name:"keyword.operator.assignment.js.jsx"},{include:"#string"}]}]},docblock:{patterns:[{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"constant.language.access-type.jsdoc"}},match:`(?x) +((@)(?:access|api)) +\\s+ +(private|protected|public) +\\b`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"},4:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},5:{name:"constant.other.email.link.underline.jsdoc"},6:{name:"punctuation.definition.bracket.angle.end.jsdoc"}},match:`(?x) +((@)author) +\\s+ +( +[^@\\s<>*/] +(?:[^@<>*/]|\\*[^/])* +) +(?: +\\s* +(<) +([^>\\s]+) +(>) +)?`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"},4:{name:"keyword.operator.control.jsdoc"},5:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +((@)borrows) \\s+ +((?:[^@\\s*/]|\\*[^/])+) +\\s+ (as) \\s+ +((?:[^@\\s*/]|\\*[^/])+)`},{begin:"((@)example)\\s+",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=@|\\*/)",name:"meta.example.jsdoc",patterns:[{match:"^\\s\\*\\s+"},{begin:"\\G(<)caption(>)",beginCaptures:{0:{name:"entity.name.tag.inline.jsdoc"},1:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},2:{name:"punctuation.definition.bracket.angle.end.jsdoc"}},contentName:"constant.other.description.jsdoc",end:"(</)caption(>)|(?=\\*/)",endCaptures:{0:{name:"entity.name.tag.inline.jsdoc"},1:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},2:{name:"punctuation.definition.bracket.angle.end.jsdoc"}}},{captures:{0:{name:"source.embedded.js.jsx"}},match:"[^\\s@*](?:[^*]|\\*[^/])*"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"constant.language.symbol-type.jsdoc"}},match:"(?x) ((@)kind) \\s+ (class|constant|event|external|file|function|member|mixin|module|namespace|typedef) \\b"},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.link.underline.jsdoc"},4:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +((@)see) +\\s+ +(?: + +( +(?=https?://) +(?:[^\\s*]|\\*[^/])+ +) +| + +( +(?! + +https?:// +| + +(?:\\[[^\\[\\]]*\\])? +{@(?:link|linkcode|linkplain|tutorial)\\b +) + +(?:[^@\\s*/]|\\*[^/])+ +) +)`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:`(?x) +((@)template) +\\s+ +# One or more valid identifiers +( +[A-Za-z_$] +[\\w$.\\[\\]]* +(?: +\\s* , \\s* +[A-Za-z_$] +[\\w$.\\[\\]]* +)* +)`},{begin:"(?x)((@)template)\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"([A-Za-z_$][\\w$.\\[\\]]*)",name:"variable.other.jsdoc"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:`(?x) +( +(@) +(?:arg|argument|const|constant|member|namespace|param|var) +) +\\s+ +( +[A-Za-z_$] +[\\w$.\\[\\]]* +)`},{begin:"((@)typedef)\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"(?:[^@\\s*/]|\\*[^/])+",name:"entity.name.type.instance.jsdoc"}]},{begin:"((@)(?:arg|argument|const|constant|member|namespace|param|prop|property|var))\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"([A-Za-z_$][\\w$.\\[\\]]*)",name:"variable.other.jsdoc"},{captures:{1:{name:"punctuation.definition.optional-value.begin.bracket.square.jsdoc"},2:{name:"keyword.operator.assignment.jsdoc"},3:{name:"source.embedded.js.jsx"},4:{name:"punctuation.definition.optional-value.end.bracket.square.jsdoc"},5:{name:"invalid.illegal.syntax.jsdoc"}},match:`(?x) +(\\[)\\s* +[\\w$]+ +(?: +(?:\\[\\])? +\\. +[\\w$]+ +)* +(?: +\\s* +(=) +\\s* +( + +(?> +"(?:(?:\\*(?!/))|(?:\\\\(?!"))|[^*\\\\])*?" | +'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?' | +\\[ (?:(?:\\*(?!/))|[^*])*? \\] | +(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])* +)* +) +)? +\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))`,name:"variable.other.jsdoc"}]},{begin:`(?x) +( +(@) +(?:define|enum|exception|export|extends|lends|implements|modifies +|namespace|private|protected|returns?|satisfies|suppress|this|throws|type +|yields?) +) +\\s+(?={)`,beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +( +(@) +(?:alias|augments|callback|constructs|emits|event|fires|exports? +|extends|external|function|func|host|lends|listens|interface|memberof!? +|method|module|mixes|mixin|name|requires|see|this|typedef|uses) +) +\\s+ +( +(?: +[^{}@\\s*] | \\*[^/] +)+ +)`},{begin:`((@)(?:default(?:value)?|license|version))\\s+(([''"]))`,beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"},4:{name:"punctuation.definition.string.begin.jsdoc"}},contentName:"variable.other.jsdoc",end:"(\\3)|(?=$|\\*/)",endCaptures:{0:{name:"variable.other.jsdoc"},1:{name:"punctuation.definition.string.end.jsdoc"}}},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:"((@)(?:default(?:value)?|license|tutorial|variation|version))\\s+([^\\s*]+)"},{captures:{1:{name:"punctuation.definition.block.tag.jsdoc"}},match:"(?x) (@) (?:abstract|access|alias|api|arg|argument|async|attribute|augments|author|beta|borrows|bubbles |callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright |default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exception |exports?|extends|extension(?:_?for)?|external|externs|file|fileoverview|final|fires|for|func |function|generator|global|hideconstructor|host|ignore|implements|implicitCast|inherit[Dd]oc |inner|instance|interface|internal|kind|lends|license|listens|main|member|memberof!?|method |mixes|mixins?|modifies|module|name|namespace|noalias|nocollapse|nocompile|nosideeffects |override|overview|package|param|polymer(?:Behavior)?|preserve|private|prop|property|protected |public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary |suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation |version|virtual|writeOnce|yields?) \\b",name:"storage.type.class.jsdoc"},{include:"#inline-tags"},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},match:"((@)(?:[_$[:alpha:]][_$[:alnum:]]*))(?=\\s+)"}]},"enum-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(?:\\b(const)\\s+)?\\b(enum)\\s+([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.modifier.js.jsx"},4:{name:"storage.type.enum.js.jsx"},5:{name:"entity.name.type.enum.js.jsx"}},end:"(?<=\\})",name:"meta.enum.declaration.js.jsx",patterns:[{include:"#comment"},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},patterns:[{include:"#comment"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{0:{name:"variable.other.enummember.js.jsx"}},end:"(?=,|\\}|$)",patterns:[{include:"#comment"},{include:"#variable-initializer"}]},{begin:"(?=((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\])))",end:"(?=,|\\}|$)",patterns:[{include:"#string"},{include:"#array-literal"},{include:"#comment"},{include:"#variable-initializer"}]},{include:"#punctuation-comma"}]}]},"export-declaration":{patterns:[{captures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"keyword.control.as.js.jsx"},3:{name:"storage.type.namespace.js.jsx"},4:{name:"entity.name.type.module.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)\\s+(as)\\s+(namespace)\\s+([_$[:alpha:]][_$[:alnum:]]*)"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)(?:\\s+(type))?(?:(?:\\s*(=))|(?:\\s+(default)(?=\\s+)))",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"keyword.control.type.js.jsx"},3:{name:"keyword.operator.assignment.js.jsx"},4:{name:"keyword.control.default.js.jsx"}},end:"(?=$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.export.default.js.jsx",patterns:[{include:"#interface-declaration"},{include:"#expression"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)(?:\\s+(type))?\\b(?!(\\$)|(\\s*:))((?=\\s*[\\{*])|((?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s|,))(?!\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"keyword.control.type.js.jsx"}},end:"(?=$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.export.js.jsx",patterns:[{include:"#import-export-declaration"}]}]},expression:{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},"expression-inside-possibly-arrow-parens":{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#comment"},{include:"#string"},{include:"#decorator"},{include:"#destructuring-parameter"},{captures:{1:{name:"storage.modifier.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|protected|private|readonly)\\s+(?=(override|public|protected|private|readonly)\\s+)"},{captures:{1:{name:"storage.modifier.js.jsx"},2:{name:"keyword.operator.rest.js.jsx"},3:{name:"entity.name.function.js.jsx variable.language.this.js.jsx"},4:{name:"entity.name.function.js.jsx"},5:{name:"keyword.operator.optional.js.jsx"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{captures:{1:{name:"storage.modifier.js.jsx"},2:{name:"keyword.operator.rest.js.jsx"},3:{name:"variable.parameter.js.jsx variable.language.this.js.jsx"},4:{name:"variable.parameter.js.jsx"},5:{name:"keyword.operator.optional.js.jsx"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s*[:,]|$)"},{include:"#type-annotation"},{include:"#variable-initializer"},{match:",",name:"punctuation.separator.parameter.js.jsx"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},"expression-operators":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(await)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.flow.js.jsx"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(yield)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?=\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*\\*)",beginCaptures:{1:{name:"keyword.control.flow.js.jsx"}},end:"\\*",endCaptures:{0:{name:"keyword.generator.asterisk.js.jsx"}},patterns:[{include:"#comment"}]},{captures:{1:{name:"keyword.control.flow.js.jsx"},2:{name:"keyword.generator.asterisk.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(yield)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s*(\\*))?"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))delete(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.delete.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))in(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?!\\()",name:"keyword.operator.expression.in.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))of(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?!\\()",name:"keyword.operator.expression.of.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))instanceof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.instanceof.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))new(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.new.js.jsx"},{include:"#typeof-operator"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))void(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.void.js.jsx"},{captures:{1:{name:"keyword.control.as.js.jsx"},2:{name:"storage.modifier.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+(const)(?=\\s*($|[;,:})\\]]))"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(as)|(satisfies))\\s+",beginCaptures:{1:{name:"keyword.control.as.js.jsx"},2:{name:"keyword.control.satisfies.js.jsx"}},end:"(?=^|[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as|satisfies)\\s+)|(\\s+\\<))",patterns:[{include:"#type"}]},{match:"\\.\\.\\.",name:"keyword.operator.spread.js.jsx"},{match:"\\*=|(?<!\\()/=|%=|\\+=|\\-=",name:"keyword.operator.assignment.compound.js.jsx"},{match:"\\&=|\\^=|<<=|>>=|>>>=|\\|=",name:"keyword.operator.assignment.compound.bitwise.js.jsx"},{match:"<<|>>>|>>",name:"keyword.operator.bitwise.shift.js.jsx"},{match:"===|!==|==|!=",name:"keyword.operator.comparison.js.jsx"},{match:"<=|>=|<>|<|>",name:"keyword.operator.relational.js.jsx"},{captures:{1:{name:"keyword.operator.logical.js.jsx"},2:{name:"keyword.operator.assignment.compound.js.jsx"},3:{name:"keyword.operator.arithmetic.js.jsx"}},match:"(?<=[_$[:alnum:]])(\\!)\\s*(?:(/=)|(?:(/)(?![/*])))"},{match:"\\!|&&|\\|\\||\\?\\?",name:"keyword.operator.logical.js.jsx"},{match:"\\&|~|\\^|\\|",name:"keyword.operator.bitwise.js.jsx"},{match:"\\=",name:"keyword.operator.assignment.js.jsx"},{match:"--",name:"keyword.operator.decrement.js.jsx"},{match:"\\+\\+",name:"keyword.operator.increment.js.jsx"},{match:"%|\\*|/|-|\\+",name:"keyword.operator.arithmetic.js.jsx"},{begin:"(?<=[_$[:alnum:])\\]])\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)+(?:(/=)|(?:(/)(?![/*]))))",end:"(?:(/=)|(?:(/)(?!\\*([^\\*]|(\\*[^\\/]))*\\*\\/)))",endCaptures:{1:{name:"keyword.operator.assignment.compound.js.jsx"},2:{name:"keyword.operator.arithmetic.js.jsx"}},patterns:[{include:"#comment"}]},{captures:{1:{name:"keyword.operator.assignment.compound.js.jsx"},2:{name:"keyword.operator.arithmetic.js.jsx"}},match:"(?<=[_$[:alnum:])\\]])\\s*(?:(/=)|(?:(/)(?![/*])))"}]},expressionPunctuations:{patterns:[{include:"#punctuation-comma"},{include:"#punctuation-accessor"}]},expressionWithoutIdentifiers:{patterns:[{include:"#jsx"},{include:"#string"},{include:"#regex"},{include:"#comment"},{include:"#function-expression"},{include:"#class-expression"},{include:"#arrow-function"},{include:"#paren-expression-possibly-arrow"},{include:"#cast"},{include:"#ternary-expression"},{include:"#new-expr"},{include:"#instanceof-expr"},{include:"#object-literal"},{include:"#expression-operators"},{include:"#function-call"},{include:"#literal"},{include:"#support-objects"},{include:"#paren-expression"}]},"field-declaration":{begin:`(?x)(?<!\\()(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)\\s+)?(?=\\s*((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|(\\#?[_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(?:(?:(\\?)|(\\!))\\s*)?(=|:|;|,|\\}|$))`,beginCaptures:{1:{name:"storage.modifier.js.jsx"}},end:`(?x)(?=\\}|;|,|$|(^(?!\\s*((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|(\\#?[_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(?:(?:(\\?)|(\\!))\\s*)?(=|:|;|,|$))))|(?<=\\})`,name:"meta.field.declaration.js.jsx",patterns:[{include:"#variable-initializer"},{include:"#type-annotation"},{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{include:"#comment"},{captures:{1:{name:"meta.definition.property.js.jsx entity.name.function.js.jsx"},2:{name:"keyword.operator.optional.js.jsx"},3:{name:"keyword.operator.definiteassignment.js.jsx"}},match:`(?x)(\\#?[_$[:alpha:]][_$[:alnum:]]*)(?:(\\?)|(\\!))?(?=\\s*\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{match:"\\#?[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.property.js.jsx variable.object.property.js.jsx"},{match:"\\?",name:"keyword.operator.optional.js.jsx"},{match:"\\!",name:"keyword.operator.definiteassignment.js.jsx"}]},"for-loop":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))for(?=((\\s+|(\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*))await)?\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)?(\\())",beginCaptures:{0:{name:"keyword.control.loop.js.jsx"}},end:"(?<=\\))",patterns:[{include:"#comment"},{match:"await",name:"keyword.control.loop.js.jsx"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},patterns:[{include:"#var-expr"},{include:"#expression"},{include:"#punctuation-semicolon"}]}]},"function-body":{patterns:[{include:"#comment"},{include:"#type-parameters"},{include:"#function-parameters"},{include:"#return-type"},{include:"#type-function-return-type"},{include:"#decl-block"},{match:"\\*",name:"keyword.generator.asterisk.js.jsx"}]},"function-call":{patterns:[{begin:"(?=(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",end:"(?<=\\))(?!(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))",end:"(?=\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",name:"meta.function-call.js.jsx",patterns:[{include:"#function-call-target"}]},{include:"#comment"},{include:"#function-call-optionals"},{include:"#type-arguments"},{include:"#paren-expression"}]},{begin:"(?=(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))(<\\s*[\\{\\[\\(]\\s*$))",end:"(?<=\\>)(?!(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))(<\\s*[\\{\\[\\(]\\s*$))",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))",end:"(?=(<\\s*[\\{\\[\\(]\\s*$))",name:"meta.function-call.js.jsx",patterns:[{include:"#function-call-target"}]},{include:"#comment"},{include:"#function-call-optionals"},{include:"#type-arguments"}]}]},"function-call-optionals":{patterns:[{match:"\\?\\.",name:"meta.function-call.js.jsx punctuation.accessor.optional.js.jsx"},{match:"\\!",name:"meta.function-call.js.jsx keyword.operator.definiteassignment.js.jsx"}]},"function-call-target":{patterns:[{include:"#support-function-call-identifiers"},{match:"(\\#?[_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.function.js.jsx"}]},"function-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(?:(async)\\s+)?(function\\b)(?:\\s*(\\*))?(?:(?:\\s+|(?<=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.modifier.async.js.jsx"},4:{name:"storage.type.function.js.jsx"},5:{name:"keyword.generator.asterisk.js.jsx"},6:{name:"meta.definition.function.js.jsx entity.name.function.js.jsx"}},end:"(?=;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|(?<=\\})",name:"meta.function.js.jsx",patterns:[{include:"#function-name"},{include:"#function-body"}]},"function-expression":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(async)\\s+)?(function\\b)(?:\\s*(\\*))?(?:(?:\\s+|(?<=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*",beginCaptures:{1:{name:"storage.modifier.async.js.jsx"},2:{name:"storage.type.function.js.jsx"},3:{name:"keyword.generator.asterisk.js.jsx"},4:{name:"meta.definition.function.js.jsx entity.name.function.js.jsx"}},end:"(?=;)|(?<=\\})",name:"meta.function.expression.js.jsx",patterns:[{include:"#function-name"},{include:"#single-line-comment-consuming-line-ending"},{include:"#function-body"}]},"function-name":{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.function.js.jsx entity.name.function.js.jsx"},"function-parameters":{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.js.jsx"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.js.jsx"}},name:"meta.parameters.js.jsx",patterns:[{include:"#function-parameters-body"}]},"function-parameters-body":{patterns:[{include:"#comment"},{include:"#string"},{include:"#decorator"},{include:"#destructuring-parameter"},{include:"#parameter-name"},{include:"#parameter-type-annotation"},{include:"#variable-initializer"},{match:",",name:"punctuation.separator.parameter.js.jsx"}]},identifiers:{patterns:[{include:"#object-identifiers"},{captures:{1:{name:"punctuation.accessor.js.jsx"},2:{name:"punctuation.accessor.optional.js.jsx"},3:{name:"entity.name.function.js.jsx"}},match:`(?x)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*)?([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +))`},{captures:{1:{name:"punctuation.accessor.js.jsx"},2:{name:"punctuation.accessor.optional.js.jsx"},3:{name:"variable.other.constant.property.js.jsx"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(\\#?[[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])"},{captures:{1:{name:"punctuation.accessor.js.jsx"},2:{name:"punctuation.accessor.optional.js.jsx"},3:{name:"variable.other.property.js.jsx"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*)"},{match:"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])",name:"variable.other.constant.js.jsx"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"variable.other.readwrite.js.jsx"}]},"if-statement":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?=\\bif\\s*(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))\\s*(?!\\{))",end:"(?=;|$|\\})",patterns:[{include:"#comment"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(if)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.conditional.js.jsx"},2:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},patterns:[{include:"#expression"}]},{begin:"(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{0:{name:"punctuation.definition.string.begin.js.jsx"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.js.jsx"},2:{name:"keyword.other.js.jsx"}},name:"string.regexp.js.jsx",patterns:[{include:"#regexp"}]},{include:"#statements"}]}]},"import-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type)(?!\\s+from))?(?!\\s*[:\\(])(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"keyword.control.import.js.jsx"},4:{name:"keyword.control.type.js.jsx"}},end:"(?<!^import|[^\\._$[:alnum:]]import)(?=;|$|^)",name:"meta.import.js.jsx",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#string"},{begin:`(?<=^import|[^\\._$[:alnum:]]import)(?!\\s*["'])`,end:"\\bfrom\\b",endCaptures:{0:{name:"keyword.control.from.js.jsx"}},patterns:[{include:"#import-export-declaration"}]},{include:"#import-export-declaration"}]},"import-equals-declaration":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type))?\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)\\s*(require)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"keyword.control.import.js.jsx"},4:{name:"keyword.control.type.js.jsx"},5:{name:"variable.other.readwrite.alias.js.jsx"},6:{name:"keyword.operator.assignment.js.jsx"},7:{name:"keyword.control.require.js.jsx"},8:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},name:"meta.import-equals.external.js.jsx",patterns:[{include:"#comment"},{include:"#string"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type))?\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)\\s*(?!require\\b)",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"keyword.control.import.js.jsx"},4:{name:"keyword.control.type.js.jsx"},5:{name:"variable.other.readwrite.alias.js.jsx"},6:{name:"keyword.operator.assignment.js.jsx"}},end:"(?=;|$|^)",name:"meta.import-equals.internal.js.jsx",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{captures:{1:{name:"entity.name.type.module.js.jsx"},2:{name:"punctuation.accessor.js.jsx"},3:{name:"punctuation.accessor.optional.js.jsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.other.readwrite.js.jsx"}]}]},"import-export-assert-clause":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(with)|(assert))\\s*(\\{)",beginCaptures:{1:{name:"keyword.control.with.js.jsx"},2:{name:"keyword.control.assert.js.jsx"},3:{name:"punctuation.definition.block.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},patterns:[{include:"#comment"},{include:"#string"},{match:"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object-literal.key.js.jsx"},{match:":",name:"punctuation.separator.key-value.js.jsx"}]},"import-export-block":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},name:"meta.block.js.jsx",patterns:[{include:"#import-export-clause"}]},"import-export-clause":{patterns:[{include:"#comment"},{captures:{1:{name:"keyword.control.type.js.jsx"},2:{name:"keyword.control.default.js.jsx"},3:{name:"constant.language.import-export-all.js.jsx"},4:{name:"variable.other.readwrite.js.jsx"},5:{name:"keyword.control.as.js.jsx"},6:{name:"keyword.control.default.js.jsx"},7:{name:"variable.other.readwrite.alias.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$[:alpha:]][_$[:alnum:]]*)))\\s+(as)\\s+(?:(default(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$[:alpha:]][_$[:alnum:]]*))"},{include:"#punctuation-comma"},{match:"\\*",name:"constant.language.import-export-all.js.jsx"},{match:"\\b(default)\\b",name:"keyword.control.default.js.jsx"},{captures:{1:{name:"keyword.control.type.js.jsx"},2:{name:"variable.other.readwrite.alias.js.jsx"}},match:"(?:(\\btype)\\s+)?([_$[:alpha:]][_$[:alnum:]]*)"}]},"import-export-declaration":{patterns:[{include:"#comment"},{include:"#string"},{include:"#import-export-block"},{match:"\\bfrom\\b",name:"keyword.control.from.js.jsx"},{include:"#import-export-assert-clause"},{include:"#import-export-clause"}]},"indexer-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)\\s*)?\\s*(\\[)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=:)",beginCaptures:{1:{name:"storage.modifier.js.jsx"},2:{name:"meta.brace.square.js.jsx"},3:{name:"variable.parameter.js.jsx"}},end:"(\\])\\s*(\\?\\s*)?|$",endCaptures:{1:{name:"meta.brace.square.js.jsx"},2:{name:"keyword.operator.optional.js.jsx"}},name:"meta.indexer.declaration.js.jsx",patterns:[{include:"#type-annotation"}]},"indexer-mapped-type-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([+-])?(readonly)\\s*)?\\s*(\\[)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s+(in)\\s+",beginCaptures:{1:{name:"keyword.operator.type.modifier.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"meta.brace.square.js.jsx"},4:{name:"entity.name.type.js.jsx"},5:{name:"keyword.operator.expression.in.js.jsx"}},end:"(\\])([+-])?\\s*(\\?\\s*)?|$",endCaptures:{1:{name:"meta.brace.square.js.jsx"},2:{name:"keyword.operator.type.modifier.js.jsx"},3:{name:"keyword.operator.optional.js.jsx"}},name:"meta.indexer.mappedtype.declaration.js.jsx",patterns:[{captures:{1:{name:"keyword.control.as.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+"},{include:"#type"}]},"inline-tags":{patterns:[{captures:{1:{name:"punctuation.definition.bracket.square.begin.jsdoc"},2:{name:"punctuation.definition.bracket.square.end.jsdoc"}},match:"(\\[)[^\\]]+(\\])(?={@(?:link|linkcode|linkplain|tutorial))",name:"constant.other.description.jsdoc"},{begin:"({)((@)(?:link(?:code|plain)?|tutorial))\\s*",beginCaptures:{1:{name:"punctuation.definition.bracket.curly.begin.jsdoc"},2:{name:"storage.type.class.jsdoc"},3:{name:"punctuation.definition.inline.tag.jsdoc"}},end:"}|(?=\\*/)",endCaptures:{0:{name:"punctuation.definition.bracket.curly.end.jsdoc"}},name:"entity.name.type.instance.jsdoc",patterns:[{captures:{1:{name:"variable.other.link.underline.jsdoc"},2:{name:"punctuation.separator.pipe.jsdoc"}},match:"\\G((?=https?://)(?:[^|}\\s*]|\\*[/])+)(\\|)?"},{captures:{1:{name:"variable.other.description.jsdoc"},2:{name:"punctuation.separator.pipe.jsdoc"}},match:"\\G((?:[^{}@\\s|*]|\\*[^/])+)(\\|)?"}]}]},"instanceof-expr":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(instanceof)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.expression.instanceof.js.jsx"}},end:"(?<=\\))|(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|(===|!==|==|!=)|(([\\&\\~\\^\\|]\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s+instanceof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))function((\\s+[_$[:alpha:]][_$[:alnum:]]*)|(\\s*[\\(]))))",patterns:[{include:"#type"}]},"interface-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(interface)\\b(?=\\s+|/[/*])",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.modifier.js.jsx"},4:{name:"storage.type.interface.js.jsx"}},end:"(?<=\\})",name:"meta.interface.js.jsx",patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{captures:{0:{name:"entity.name.type.interface.js.jsx"}},match:"[_$[:alpha:]][_$[:alnum:]]*"},{include:"#type-parameters"},{include:"#class-or-interface-body"}]},jsdoctype:{patterns:[{begin:"\\G({)",beginCaptures:{0:{name:"entity.name.type.instance.jsdoc"},1:{name:"punctuation.definition.bracket.curly.begin.jsdoc"}},contentName:"entity.name.type.instance.jsdoc",end:"((}))\\s*|(?=\\*/)",endCaptures:{1:{name:"entity.name.type.instance.jsdoc"},2:{name:"punctuation.definition.bracket.curly.end.jsdoc"}},patterns:[{include:"#brackets"}]}]},jsx:{patterns:[{include:"#jsx-tag-without-attributes-in-expression"},{include:"#jsx-tag-in-expression"}]},"jsx-children":{patterns:[{include:"#jsx-tag-without-attributes"},{include:"#jsx-tag"},{include:"#jsx-evaluated-code"},{include:"#jsx-entities"}]},"jsx-entities":{patterns:[{captures:{1:{name:"punctuation.definition.entity.js.jsx"},3:{name:"punctuation.definition.entity.js.jsx"}},match:"(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",name:"constant.character.entity.js.jsx"}]},"jsx-evaluated-code":{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.embedded.begin.js.jsx"}},contentName:"meta.embedded.expression.js.jsx",end:"\\}",endCaptures:{0:{name:"punctuation.section.embedded.end.js.jsx"}},patterns:[{include:"#expression"}]},"jsx-string-double-quoted":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.js.jsx"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.js.jsx"}},name:"string.quoted.double.js.jsx",patterns:[{include:"#jsx-entities"}]},"jsx-string-single-quoted":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.js.jsx"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.js.jsx"}},name:"string.quoted.single.js.jsx",patterns:[{include:"#jsx-entities"}]},"jsx-tag":{begin:"(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))",end:"(/>)|(?:(</)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",endCaptures:{1:{name:"punctuation.definition.tag.end.js.jsx"},2:{name:"punctuation.definition.tag.begin.js.jsx"},3:{name:"entity.name.tag.namespace.js.jsx"},4:{name:"punctuation.separator.namespace.js.jsx"},5:{name:"entity.name.tag.js.jsx"},6:{name:"support.class.component.js.jsx"},7:{name:"punctuation.definition.tag.end.js.jsx"}},name:"meta.tag.js.jsx",patterns:[{begin:"(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.js.jsx"},2:{name:"entity.name.tag.namespace.js.jsx"},3:{name:"punctuation.separator.namespace.js.jsx"},4:{name:"entity.name.tag.js.jsx"},5:{name:"support.class.component.js.jsx"}},end:"(?=[/]?>)",patterns:[{include:"#comment"},{include:"#type-arguments"},{include:"#jsx-tag-attributes"}]},{begin:"(>)",beginCaptures:{1:{name:"punctuation.definition.tag.end.js.jsx"}},contentName:"meta.jsx.children.js.jsx",end:"(?=</)",patterns:[{include:"#jsx-children"}]}]},"jsx-tag-attribute-assignment":{match:`=(?=\\s*(?:'|"|{|/\\*|//|\\n))`,name:"keyword.operator.assignment.js.jsx"},"jsx-tag-attribute-name":{captures:{1:{name:"entity.other.attribute-name.namespace.js.jsx"},2:{name:"punctuation.separator.namespace.js.jsx"},3:{name:"entity.other.attribute-name.js.jsx"}},match:`(?x) +\\s* +(?:([_$[:alpha:]][-_$[:alnum:].]*)(:))? +([_$[:alpha:]][-_$[:alnum:]]*) +(?=\\s|=|/?>|/\\*|//)`},"jsx-tag-attributes":{begin:"\\s+",end:"(?=[/]?>)",name:"meta.tag.attributes.js.jsx",patterns:[{include:"#comment"},{include:"#jsx-tag-attribute-name"},{include:"#jsx-tag-attribute-assignment"},{include:"#jsx-string-double-quoted"},{include:"#jsx-string-single-quoted"},{include:"#jsx-evaluated-code"},{include:"#jsx-tag-attributes-illegal"}]},"jsx-tag-attributes-illegal":{match:"\\S+",name:"invalid.illegal.attribute.js.jsx"},"jsx-tag-in-expression":{begin:`(?x) +(?<!\\+\\+|--)(?<=[({\\[,?=>:*]|&&|\\|\\||\\?|\\*\\/|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^default|[^\\._$[:alnum:]]default|^yield|[^\\._$[:alnum:]]yield|^)\\s* +(?!<\\s*[_$[:alpha:]][_$[:alnum:]]*((\\s+extends\\s+[^=>])|,)) +(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))`,end:"(?!(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))",patterns:[{include:"#jsx-tag"}]},"jsx-tag-without-attributes":{begin:"(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.js.jsx"},2:{name:"entity.name.tag.namespace.js.jsx"},3:{name:"punctuation.separator.namespace.js.jsx"},4:{name:"entity.name.tag.js.jsx"},5:{name:"support.class.component.js.jsx"},6:{name:"punctuation.definition.tag.end.js.jsx"}},contentName:"meta.jsx.children.js.jsx",end:"(</)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.js.jsx"},2:{name:"entity.name.tag.namespace.js.jsx"},3:{name:"punctuation.separator.namespace.js.jsx"},4:{name:"entity.name.tag.js.jsx"},5:{name:"support.class.component.js.jsx"},6:{name:"punctuation.definition.tag.end.js.jsx"}},name:"meta.tag.without-attributes.js.jsx",patterns:[{include:"#jsx-children"}]},"jsx-tag-without-attributes-in-expression":{begin:"(?<!\\+\\+|--)(?<=[({\\[,?=>:*]|&&|\\|\\||\\?|\\*\\/|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^default|[^\\._$[:alnum:]]default|^yield|[^\\._$[:alnum:]]yield|^)\\s*(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",end:"(?!(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",patterns:[{include:"#jsx-tag-without-attributes"}]},label:{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)(?=\\s*\\{)",beginCaptures:{1:{name:"entity.name.label.js.jsx"},2:{name:"punctuation.separator.label.js.jsx"}},end:"(?<=\\})",patterns:[{include:"#decl-block"}]},{captures:{1:{name:"entity.name.label.js.jsx"},2:{name:"punctuation.separator.label.js.jsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)"}]},literal:{patterns:[{include:"#numeric-literal"},{include:"#boolean-literal"},{include:"#null-literal"},{include:"#undefined-literal"},{include:"#numericConstant-literal"},{include:"#array-literal"},{include:"#this-literal"},{include:"#super-literal"}]},"method-declaration":{patterns:[{begin:"(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?\\s*\\b(constructor)\\b(?!:)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"storage.modifier.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.modifier.js.jsx"},4:{name:"storage.modifier.async.js.jsx"},5:{name:"storage.type.js.jsx"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.js.jsx",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]},{begin:"(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?(?:(?:\\s*\\b(new)\\b(?!:)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|(?:(\\*)\\s*)?)(?=\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])",beginCaptures:{1:{name:"storage.modifier.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.modifier.js.jsx"},4:{name:"storage.modifier.async.js.jsx"},5:{name:"keyword.operator.new.js.jsx"},6:{name:"keyword.generator.asterisk.js.jsx"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.js.jsx",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]},{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.modifier.js.jsx"},4:{name:"storage.modifier.async.js.jsx"},5:{name:"storage.type.property.js.jsx"},6:{name:"keyword.generator.asterisk.js.jsx"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.js.jsx",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]}]},"method-declaration-name":{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??)\\s*[\\(\\<])`,end:"(?=\\(|\\<)",patterns:[{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.method.js.jsx entity.name.function.js.jsx"},{match:"\\?",name:"keyword.operator.optional.js.jsx"}]},"namespace-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(namespace|module)\\s+(?=[_$[:alpha:]\"'`]))",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.type.namespace.js.jsx"}},end:"(?<=\\})|(?=;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.namespace.declaration.js.jsx",patterns:[{include:"#comment"},{include:"#string"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.type.module.js.jsx"},{include:"#punctuation-accessor"},{include:"#decl-block"}]},"new-expr":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(new)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.new.js.jsx"}},end:"(?<=\\))|(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))new(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))function((\\s+[_$[:alpha:]][_$[:alnum:]]*)|(\\s*[\\(]))))",name:"new.expr.js.jsx",patterns:[{include:"#expression"}]},"null-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))null(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.null.js.jsx"},"numeric-literal":{patterns:[{captures:{1:{name:"storage.type.numeric.bigint.js.jsx"}},match:"\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$)",name:"constant.numeric.hex.js.jsx"},{captures:{1:{name:"storage.type.numeric.bigint.js.jsx"}},match:"\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$)",name:"constant.numeric.binary.js.jsx"},{captures:{1:{name:"storage.type.numeric.bigint.js.jsx"}},match:"\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$)",name:"constant.numeric.octal.js.jsx"},{captures:{0:{name:"constant.numeric.decimal.js.jsx"},1:{name:"meta.delimiter.decimal.period.js.jsx"},2:{name:"storage.type.numeric.bigint.js.jsx"},3:{name:"meta.delimiter.decimal.period.js.jsx"},4:{name:"storage.type.numeric.bigint.js.jsx"},5:{name:"meta.delimiter.decimal.period.js.jsx"},6:{name:"storage.type.numeric.bigint.js.jsx"},7:{name:"storage.type.numeric.bigint.js.jsx"},8:{name:"meta.delimiter.decimal.period.js.jsx"},9:{name:"storage.type.numeric.bigint.js.jsx"},10:{name:"meta.delimiter.decimal.period.js.jsx"},11:{name:"storage.type.numeric.bigint.js.jsx"},12:{name:"meta.delimiter.decimal.period.js.jsx"},13:{name:"storage.type.numeric.bigint.js.jsx"},14:{name:"storage.type.numeric.bigint.js.jsx"}},match:`(?x) +(?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$)`}]},"numericConstant-literal":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))NaN(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.nan.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Infinity(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.infinity.js.jsx"}]},"object-binding-element":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#binding-element"}]},{include:"#object-binding-pattern"},{include:"#destructuring-variable-rest"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"object-binding-element-const":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#binding-element-const"}]},{include:"#object-binding-pattern-const"},{include:"#destructuring-variable-rest-const"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"object-binding-element-propertyName":{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(:)",endCaptures:{0:{name:"punctuation.destructuring.js.jsx"}},patterns:[{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.object.property.js.jsx"}]},"object-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"punctuation.definition.binding-pattern.object.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.js.jsx"}},patterns:[{include:"#object-binding-element"}]},"object-binding-pattern-const":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"punctuation.definition.binding-pattern.object.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.js.jsx"}},patterns:[{include:"#object-binding-element-const"}]},"object-identifiers":{patterns:[{match:"([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*\\??\\.\\s*prototype\\b(?!\\$))",name:"support.class.js.jsx"},{captures:{1:{name:"punctuation.accessor.js.jsx"},2:{name:"punctuation.accessor.optional.js.jsx"},3:{name:"variable.other.constant.object.property.js.jsx"},4:{name:"variable.other.object.property.js.jsx"}},match:`(?x)(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(?: +(\\#?[[:upper:]][_$[:digit:][:upper:]]*) | +(\\#?[_$[:alpha:]][_$[:alnum:]]*) +)(?=\\s*\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*)`},{captures:{1:{name:"variable.other.constant.object.js.jsx"},2:{name:"variable.other.object.js.jsx"}},match:`(?x)(?: +([[:upper:]][_$[:digit:][:upper:]]*) | +([_$[:alpha:]][_$[:alnum:]]*) +)(?=\\s*\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*)`}]},"object-literal":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},name:"meta.objectliteral.js.jsx",patterns:[{include:"#object-member"}]},"object-literal-method-declaration":{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.async.js.jsx"},2:{name:"storage.type.property.js.jsx"},3:{name:"keyword.generator.asterisk.js.jsx"}},end:"(?=\\}|;|,)|(?<=\\})",name:"meta.method.declaration.js.jsx",patterns:[{include:"#method-declaration-name"},{include:"#function-body"},{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.async.js.jsx"},2:{name:"storage.type.property.js.jsx"},3:{name:"keyword.generator.asterisk.js.jsx"}},end:"(?=\\(|\\<)",patterns:[{include:"#method-declaration-name"}]}]},"object-member":{patterns:[{include:"#comment"},{include:"#object-literal-method-declaration"},{begin:"(?=\\[)",end:"(?=:)|((?<=[\\]])(?=\\s*[\\(\\<]))",name:"meta.object.member.js.jsx meta.object-literal.key.js.jsx",patterns:[{include:"#comment"},{include:"#array-literal"}]},{begin:"(?=[\\'\\\"\\`])",end:"(?=:)|((?<=[\\'\\\"\\`])(?=((\\s*[\\(\\<,}])|(\\s+(as|satisifies)\\s+))))",name:"meta.object.member.js.jsx meta.object-literal.key.js.jsx",patterns:[{include:"#comment"},{include:"#string"}]},{begin:`(?x)(?=(\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$)))`,end:"(?=:)|(?=\\s*([\\(\\<,}])|(\\s+as|satisifies\\s+))",name:"meta.object.member.js.jsx meta.object-literal.key.js.jsx",patterns:[{include:"#comment"},{include:"#numeric-literal"}]},{begin:"(?<=[\\]\\'\\\"\\`])(?=\\s*[\\(\\<])",end:"(?=\\}|;|,)|(?<=\\})",name:"meta.method.declaration.js.jsx",patterns:[{include:"#function-body"}]},{captures:{0:{name:"meta.object-literal.key.js.jsx"},1:{name:"constant.numeric.decimal.js.jsx"}},match:"(?![_$[:alpha:]])([[:digit:]]+)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object.member.js.jsx"},{captures:{0:{name:"meta.object-literal.key.js.jsx"},1:{name:"entity.name.function.js.jsx"}},match:`(?x)(?:([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:(\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/)*\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,name:"meta.object.member.js.jsx"},{captures:{0:{name:"meta.object-literal.key.js.jsx"}},match:"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object.member.js.jsx"},{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.js.jsx"}},end:"(?=,|\\})",name:"meta.object.member.js.jsx",patterns:[{include:"#expression"}]},{captures:{1:{name:"variable.other.readwrite.js.jsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=,|\\}|$|\\/\\/|\\/\\*)",name:"meta.object.member.js.jsx"},{captures:{1:{name:"keyword.control.as.js.jsx"},2:{name:"storage.modifier.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+(const)(?=\\s*([,}]|$))",name:"meta.object.member.js.jsx"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(as)|(satisfies))\\s+",beginCaptures:{1:{name:"keyword.control.as.js.jsx"},2:{name:"keyword.control.satisfies.js.jsx"}},end:"(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|^|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as|satisifies)\\s+))",name:"meta.object.member.js.jsx",patterns:[{include:"#type"}]},{begin:"(?=[_$[:alpha:]][_$[:alnum:]]*\\s*=)",end:"(?=,|\\}|$|\\/\\/|\\/\\*)",name:"meta.object.member.js.jsx",patterns:[{include:"#expression"}]},{begin:":",beginCaptures:{0:{name:"meta.object-literal.key.js.jsx punctuation.separator.key-value.js.jsx"}},end:"(?=,|\\})",name:"meta.object.member.js.jsx",patterns:[{begin:"(?<=:)\\s*(async)?(?=\\s*(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)\\(\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.js.jsx"}},end:"(?<=\\))",patterns:[{include:"#type-parameters"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]}]},{begin:"(?<=:)\\s*(async)?\\s*(\\()(?=\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.js.jsx"},2:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]},{begin:"(?<=:)\\s*(async)?\\s*(?=\\<\\s*$)",beginCaptures:{1:{name:"storage.modifier.async.js.jsx"}},end:"(?<=\\>)",patterns:[{include:"#type-parameters"}]},{begin:"(?<=\\>)\\s*(\\()(?=\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]},{include:"#possibly-arrow-return-type"},{include:"#expression"}]},{include:"#punctuation-comma"},{include:"#decl-block"}]},"parameter-array-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"punctuation.definition.binding-pattern.array.js.jsx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.js.jsx"}},patterns:[{include:"#parameter-binding-element"},{include:"#punctuation-comma"}]},"parameter-binding-element":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#parameter-object-binding-pattern"},{include:"#parameter-array-binding-pattern"},{include:"#destructuring-parameter-rest"},{include:"#variable-initializer"}]},"parameter-name":{patterns:[{captures:{1:{name:"storage.modifier.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|protected|private|readonly)\\s+(?=(override|public|protected|private|readonly)\\s+)"},{captures:{1:{name:"storage.modifier.js.jsx"},2:{name:"keyword.operator.rest.js.jsx"},3:{name:"entity.name.function.js.jsx variable.language.this.js.jsx"},4:{name:"entity.name.function.js.jsx"},5:{name:"keyword.operator.optional.js.jsx"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{captures:{1:{name:"storage.modifier.js.jsx"},2:{name:"keyword.operator.rest.js.jsx"},3:{name:"variable.parameter.js.jsx variable.language.this.js.jsx"},4:{name:"variable.parameter.js.jsx"},5:{name:"keyword.operator.optional.js.jsx"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)"}]},"parameter-object-binding-element":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#parameter-binding-element"},{include:"#paren-expression"}]},{include:"#parameter-object-binding-pattern"},{include:"#destructuring-parameter-rest"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"parameter-object-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.js.jsx"},2:{name:"punctuation.definition.binding-pattern.object.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.js.jsx"}},patterns:[{include:"#parameter-object-binding-element"}]},"parameter-type-annotation":{patterns:[{begin:"(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js.jsx"}},end:"(?=[,)])|(?==[^>])",name:"meta.type.annotation.js.jsx",patterns:[{include:"#type"}]}]},"paren-expression":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},patterns:[{include:"#expression"}]},"paren-expression-possibly-arrow":{patterns:[{begin:"(?<=[(=,])\\s*(async)?(?=\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?\\(\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.js.jsx"}},end:"(?<=\\))",patterns:[{include:"#paren-expression-possibly-arrow-with-typeparameters"}]},{begin:"(?<=[(=,]|=>|^return|[^\\._$[:alnum:]]return)\\s*(async)?(?=\\s*((((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?\\()|(<)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)))\\s*$)",beginCaptures:{1:{name:"storage.modifier.async.js.jsx"}},end:"(?<=\\))",patterns:[{include:"#paren-expression-possibly-arrow-with-typeparameters"}]},{include:"#possibly-arrow-return-type"}]},"paren-expression-possibly-arrow-with-typeparameters":{patterns:[{include:"#type-parameters"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]}]},"possibly-arrow-return-type":{begin:"(?<=\\)|^)\\s*(:)(?=\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*=>)",beginCaptures:{1:{name:"meta.arrow.js.jsx meta.return.type.arrow.js.jsx keyword.operator.type.annotation.js.jsx"}},contentName:"meta.arrow.js.jsx meta.return.type.arrow.js.jsx",end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",patterns:[{include:"#arrow-return-type-body"}]},"property-accessor":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.type.property.js.jsx"},"punctuation-accessor":{captures:{1:{name:"punctuation.accessor.js.jsx"},2:{name:"punctuation.accessor.optional.js.jsx"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},"punctuation-comma":{match:",",name:"punctuation.separator.comma.js.jsx"},"punctuation-semicolon":{match:";",name:"punctuation.terminator.statement.js.jsx"},"qstring-double":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.js.jsx"}},end:'(")|((?:[^\\\\\\n])$)',endCaptures:{1:{name:"punctuation.definition.string.end.js.jsx"},2:{name:"invalid.illegal.newline.js.jsx"}},name:"string.quoted.double.js.jsx",patterns:[{include:"#string-character-escape"}]},"qstring-single":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.js.jsx"}},end:"(\\')|((?:[^\\\\\\n])$)",endCaptures:{1:{name:"punctuation.definition.string.end.js.jsx"},2:{name:"invalid.illegal.newline.js.jsx"}},name:"string.quoted.single.js.jsx",patterns:[{include:"#string-character-escape"}]},regex:{patterns:[{begin:"(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[\\()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^\\)\\\\]|\\\\.)+\\))+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{1:{name:"punctuation.definition.string.begin.js.jsx"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.js.jsx"},2:{name:"keyword.other.js.jsx"}},name:"string.regexp.js.jsx",patterns:[{include:"#regexp"}]},{begin:"((?<![_$[:alnum:])\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{0:{name:"punctuation.definition.string.begin.js.jsx"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.js.jsx"},2:{name:"keyword.other.js.jsx"}},name:"string.regexp.js.jsx",patterns:[{include:"#regexp"}]}]},"regex-character-class":{patterns:[{match:"\\\\[wWsSdDtrnvf]|\\.",name:"constant.other.character-class.regexp"},{match:"\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})",name:"constant.character.numeric.regexp"},{match:"\\\\c[A-Z]",name:"constant.character.control.regexp"},{match:"\\\\.",name:"constant.character.escape.backslash.regexp"}]},regexp:{patterns:[{match:"\\\\[bB]|\\^|\\$",name:"keyword.control.anchor.regexp"},{captures:{0:{name:"keyword.other.back-reference.regexp"},1:{name:"variable.other.regexp"}},match:"\\\\[1-9]\\d*|\\\\k<([a-zA-Z_$][\\w$]*)>"},{match:"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??",name:"keyword.operator.quantifier.regexp"},{match:"\\|",name:"keyword.operator.or.regexp"},{begin:"(\\()((\\?=)|(\\?!)|(\\?<=)|(\\?<!))",beginCaptures:{1:{name:"punctuation.definition.group.regexp"},2:{name:"punctuation.definition.group.assertion.regexp"},3:{name:"meta.assertion.look-ahead.regexp"},4:{name:"meta.assertion.negative-look-ahead.regexp"},5:{name:"meta.assertion.look-behind.regexp"},6:{name:"meta.assertion.negative-look-behind.regexp"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.group.regexp"}},name:"meta.group.assertion.regexp",patterns:[{include:"#regexp"}]},{begin:"\\((?:(\\?:)|(?:\\?<([a-zA-Z_$][\\w$]*)>))?",beginCaptures:{0:{name:"punctuation.definition.group.regexp"},1:{name:"punctuation.definition.group.no-capture.regexp"},2:{name:"variable.other.regexp"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.regexp"}},name:"meta.group.regexp",patterns:[{include:"#regexp"}]},{begin:"(\\[)(\\^)?",beginCaptures:{1:{name:"punctuation.definition.character-class.regexp"},2:{name:"keyword.operator.negation.regexp"}},end:"(\\])",endCaptures:{1:{name:"punctuation.definition.character-class.regexp"}},name:"constant.other.character-class.set.regexp",patterns:[{captures:{1:{name:"constant.character.numeric.regexp"},2:{name:"constant.character.control.regexp"},3:{name:"constant.character.escape.backslash.regexp"},4:{name:"constant.character.numeric.regexp"},5:{name:"constant.character.control.regexp"},6:{name:"constant.character.escape.backslash.regexp"}},match:"(?:.|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))",name:"constant.other.character-class.range.regexp"},{include:"#regex-character-class"}]},{include:"#regex-character-class"}]},"return-type":{patterns:[{begin:"(?<=\\))\\s*(:)(?=\\s*\\S)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js.jsx"}},end:"(?<![:|&])(?=$|^|[{};,]|//)",name:"meta.return.type.js.jsx",patterns:[{include:"#return-type-core"}]},{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js.jsx"}},end:"(?<![:|&])((?=[{};,]|//|^\\s*$)|((?<=\\S)(?=\\s*$)))",name:"meta.return.type.js.jsx",patterns:[{include:"#return-type-core"}]}]},"return-type-core":{patterns:[{include:"#comment"},{begin:"(?<=[:|&])(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},shebang:{captures:{1:{name:"punctuation.definition.comment.js.jsx"}},match:"\\A(#!).*(?=$)",name:"comment.line.shebang.js.jsx"},"single-line-comment-consuming-line-ending":{begin:"(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.js.jsx"},2:{name:"comment.line.double-slash.js.jsx"},3:{name:"punctuation.definition.comment.js.jsx"},4:{name:"storage.type.internaldeclaration.js.jsx"},5:{name:"punctuation.decorator.internaldeclaration.js.jsx"}},contentName:"comment.line.double-slash.js.jsx",end:"(?=^)"},statements:{patterns:[{include:"#declaration"},{include:"#control-statement"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#label"},{include:"#expression"},{include:"#punctuation-semicolon"},{include:"#string"},{include:"#comment"}]},string:{patterns:[{include:"#qstring-single"},{include:"#qstring-double"},{include:"#template"}]},"string-character-escape":{match:"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\\{[0-9A-Fa-f]+\\}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)",name:"constant.character.escape.js.jsx"},"super-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))super\\b(?!\\$)",name:"variable.language.super.js.jsx"},"support-function-call-identifiers":{patterns:[{include:"#literal"},{include:"#support-objects"},{include:"#object-identifiers"},{include:"#punctuation-accessor"},{match:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*[\\(]\\s*[\\\"\\'\\`]))",name:"keyword.operator.expression.import.js.jsx"}]},"support-objects":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(arguments)\\b(?!\\$)",name:"variable.language.arguments.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Promise)\\b(?!\\$)",name:"support.class.promise.js.jsx"},{captures:{1:{name:"keyword.control.import.js.jsx"},2:{name:"punctuation.accessor.js.jsx"},3:{name:"punctuation.accessor.optional.js.jsx"},4:{name:"support.variable.property.importmeta.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(import)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(meta)\\b(?!\\$)"},{captures:{1:{name:"keyword.operator.new.js.jsx"},2:{name:"punctuation.accessor.js.jsx"},3:{name:"punctuation.accessor.optional.js.jsx"},4:{name:"support.variable.property.target.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(new)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(target)\\b(?!\\$)"},{captures:{1:{name:"punctuation.accessor.js.jsx"},2:{name:"punctuation.accessor.optional.js.jsx"},3:{name:"support.variable.property.js.jsx"},4:{name:"support.constant.js.jsx"}},match:`(?x) (?:(\\.)|(\\?\\.(?!\\s*[[:digit:]]))) \\s* (?: +(?:(constructor|length|prototype|__proto__)\\b(?!\\$|\\s*(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?\\()) +| +(?:(EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY)\\b(?!\\$)))`},{captures:{1:{name:"support.type.object.module.js.jsx"},2:{name:"support.type.object.module.js.jsx"},3:{name:"punctuation.accessor.js.jsx"},4:{name:"punctuation.accessor.optional.js.jsx"},5:{name:"support.type.object.module.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(exports)|(module)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))(exports|id|filename|loaded|parent|children))?)\\b(?!\\$)"}]},"switch-statement":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?=\\bswitch\\s*\\()",end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},name:"switch-statement.expr.js.jsx",patterns:[{include:"#comment"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(switch)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.switch.js.jsx"},2:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},name:"switch-expression.expr.js.jsx",patterns:[{include:"#expression"}]},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},end:"(?=\\})",name:"switch-block.expr.js.jsx",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default(?=:))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.control.switch.js.jsx"}},end:"(?=:)",name:"case-clause.expr.js.jsx",patterns:[{include:"#expression"}]},{begin:"(:)\\s*(\\{)",beginCaptures:{1:{name:"case-clause.expr.js.jsx punctuation.definition.section.case-statement.js.jsx"},2:{name:"meta.block.js.jsx punctuation.definition.block.js.jsx"}},contentName:"meta.block.js.jsx",end:"\\}",endCaptures:{0:{name:"meta.block.js.jsx punctuation.definition.block.js.jsx"}},patterns:[{include:"#statements"}]},{captures:{0:{name:"case-clause.expr.js.jsx punctuation.definition.section.case-statement.js.jsx"}},match:"(:)"},{include:"#statements"}]}]},template:{patterns:[{include:"#template-call"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?(`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.js.jsx"},2:{name:"string.template.js.jsx punctuation.definition.string.template.begin.js.jsx"}},contentName:"string.template.js.jsx",end:"`",endCaptures:{0:{name:"string.template.js.jsx punctuation.definition.string.template.end.js.jsx"}},patterns:[{include:"#template-substitution-element"},{include:"#string-character-escape"}]}]},"template-call":{patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*)(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?`)",end:"(?=`)",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*))",end:"(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?`)",patterns:[{include:"#support-function-call-identifiers"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.function.tagged-template.js.jsx"}]},{include:"#type-arguments"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?\\s*(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.js.jsx"}},end:"(?=`)",patterns:[{include:"#type-arguments"}]}]},"template-substitution-element":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.js.jsx"}},contentName:"meta.embedded.line.js.jsx",end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.js.jsx"}},name:"meta.template.expression.js.jsx",patterns:[{include:"#expression"}]},"template-type":{patterns:[{include:"#template-call"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?(`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.js.jsx"},2:{name:"string.template.js.jsx punctuation.definition.string.template.begin.js.jsx"}},contentName:"string.template.js.jsx",end:"`",endCaptures:{0:{name:"string.template.js.jsx punctuation.definition.string.template.end.js.jsx"}},patterns:[{include:"#template-type-substitution-element"},{include:"#string-character-escape"}]}]},"template-type-substitution-element":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.js.jsx"}},contentName:"meta.embedded.line.js.jsx",end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.js.jsx"}},name:"meta.template.expression.js.jsx",patterns:[{include:"#type"}]},"ternary-expression":{begin:"(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)",beginCaptures:{1:{name:"keyword.operator.ternary.js.jsx"}},end:"\\s*(:)",endCaptures:{1:{name:"keyword.operator.ternary.js.jsx"}},patterns:[{include:"#expression"}]},"this-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))this\\b(?!\\$)",name:"variable.language.this.js.jsx"},type:{patterns:[{include:"#comment"},{include:"#type-string"},{include:"#numeric-literal"},{include:"#type-primitive"},{include:"#type-builtin-literals"},{include:"#type-parameters"},{include:"#type-tuple"},{include:"#type-object"},{include:"#type-operators"},{include:"#type-conditional"},{include:"#type-fn-type-parameters"},{include:"#type-paren-or-function-parameters"},{include:"#type-function-return-type"},{captures:{1:{name:"storage.modifier.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*"},{include:"#type-name"}]},"type-alias-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(type)\\b\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.type.type.js.jsx"},4:{name:"entity.name.type.alias.js.jsx"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.type.declaration.js.jsx",patterns:[{include:"#comment"},{include:"#type-parameters"},{begin:"(=)\\s*(intrinsic)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.assignment.js.jsx"},2:{name:"keyword.control.intrinsic.js.jsx"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type"}]},{begin:"(=)\\s*",beginCaptures:{1:{name:"keyword.operator.assignment.js.jsx"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type"}]}]},"type-annotation":{patterns:[{begin:"(:)(?=\\s*\\S)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js.jsx"}},end:"(?<![:|&])(?!\\s*[|&]\\s+)((?=^|[,);\\}\\]]|//)|(?==[^>])|((?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)))",name:"meta.type.annotation.js.jsx",patterns:[{include:"#type"}]},{begin:"(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.js.jsx"}},end:"(?<![:|&])((?=[,);\\}\\]]|\\/\\/)|(?==[^>])|(?=^\\s*$)|((?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)))",name:"meta.type.annotation.js.jsx",patterns:[{include:"#type"}]}]},"type-arguments":{begin:"\\<",beginCaptures:{0:{name:"punctuation.definition.typeparameters.begin.js.jsx"}},end:"\\>",endCaptures:{0:{name:"punctuation.definition.typeparameters.end.js.jsx"}},name:"meta.type.parameters.js.jsx",patterns:[{include:"#type-arguments-body"}]},"type-arguments-body":{patterns:[{captures:{0:{name:"keyword.operator.type.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(_)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{include:"#type"},{include:"#punctuation-comma"}]},"type-builtin-literals":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(this|true|false|undefined|null|object)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"support.type.builtin.js.jsx"},"type-conditional":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends)\\s+",beginCaptures:{1:{name:"storage.modifier.js.jsx"}},end:"(?<=:)",patterns:[{begin:"\\?",beginCaptures:{0:{name:"keyword.operator.ternary.js.jsx"}},end:":",endCaptures:{0:{name:"keyword.operator.ternary.js.jsx"}},patterns:[{include:"#type"}]},{include:"#type"}]}]},"type-fn-type-parameters":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(new)\\b(?=\\s*\\<)",beginCaptures:{1:{name:"meta.type.constructor.js.jsx storage.modifier.js.jsx"},2:{name:"meta.type.constructor.js.jsx keyword.control.new.js.jsx"}},end:"(?<=>)",patterns:[{include:"#comment"},{include:"#type-parameters"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(new)\\b\\s*(?=\\()",beginCaptures:{1:{name:"storage.modifier.js.jsx"},2:{name:"keyword.control.new.js.jsx"}},end:"(?<=\\))",name:"meta.type.constructor.js.jsx",patterns:[{include:"#function-parameters"}]},{begin:`(?x)( +(?= +[(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +) +) +)`,end:"(?<=\\))",name:"meta.type.function.js.jsx",patterns:[{include:"#function-parameters"}]}]},"type-function-return-type":{patterns:[{begin:"(=>)(?=\\s*\\S)",beginCaptures:{1:{name:"storage.type.function.arrow.js.jsx"}},end:"(?<!=>)(?<![|&])(?=[,\\]\\)\\{\\}=;>:\\?]|//|$)",name:"meta.type.function.return.js.jsx",patterns:[{include:"#type-function-return-type-core"}]},{begin:"=>",beginCaptures:{0:{name:"storage.type.function.arrow.js.jsx"}},end:"(?<!=>)(?<![|&])((?=[,\\]\\)\\{\\}=;:\\?>]|//|^\\s*$)|((?<=\\S)(?=\\s*$)))",name:"meta.type.function.return.js.jsx",patterns:[{include:"#type-function-return-type-core"}]}]},"type-function-return-type-core":{patterns:[{include:"#comment"},{begin:"(?<==>)(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},"type-infer":{patterns:[{captures:{1:{name:"keyword.operator.expression.infer.js.jsx"},2:{name:"entity.name.type.js.jsx"},3:{name:"keyword.operator.expression.extends.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",name:"meta.type.infer.js.jsx"}]},"type-name":{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(<)",captures:{1:{name:"entity.name.type.module.js.jsx"},2:{name:"punctuation.accessor.js.jsx"},3:{name:"punctuation.accessor.optional.js.jsx"},4:{name:"meta.type.parameters.js.jsx punctuation.definition.typeparameters.begin.js.jsx"}},contentName:"meta.type.parameters.js.jsx",end:"(>)",endCaptures:{1:{name:"meta.type.parameters.js.jsx punctuation.definition.typeparameters.end.js.jsx"}},patterns:[{include:"#type-arguments-body"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(<)",beginCaptures:{1:{name:"entity.name.type.js.jsx"},2:{name:"meta.type.parameters.js.jsx punctuation.definition.typeparameters.begin.js.jsx"}},contentName:"meta.type.parameters.js.jsx",end:"(>)",endCaptures:{1:{name:"meta.type.parameters.js.jsx punctuation.definition.typeparameters.end.js.jsx"}},patterns:[{include:"#type-arguments-body"}]},{captures:{1:{name:"entity.name.type.module.js.jsx"},2:{name:"punctuation.accessor.js.jsx"},3:{name:"punctuation.accessor.optional.js.jsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"entity.name.type.js.jsx"}]},"type-object":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.js.jsx"}},name:"meta.object.type.js.jsx",patterns:[{include:"#comment"},{include:"#method-declaration"},{include:"#indexer-declaration"},{include:"#indexer-mapped-type-declaration"},{include:"#field-declaration"},{include:"#type-annotation"},{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.js.jsx"}},end:"(?=\\}|;|,|$)|(?<=\\})",patterns:[{include:"#type"}]},{include:"#punctuation-comma"},{include:"#punctuation-semicolon"},{include:"#type"}]},"type-operators":{patterns:[{include:"#typeof-operator"},{include:"#type-infer"},{begin:"([&|])(?=\\s*\\{)",beginCaptures:{0:{name:"keyword.operator.type.js.jsx"}},end:"(?<=\\})",patterns:[{include:"#type-object"}]},{begin:"[&|]",beginCaptures:{0:{name:"keyword.operator.type.js.jsx"}},end:"(?=\\S)"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))keyof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.keyof.js.jsx"},{match:"(\\?|\\:)",name:"keyword.operator.ternary.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()",name:"keyword.operator.expression.import.js.jsx"}]},"type-parameters":{begin:"(<)",beginCaptures:{1:{name:"punctuation.definition.typeparameters.begin.js.jsx"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.typeparameters.end.js.jsx"}},name:"meta.type.parameters.js.jsx",patterns:[{include:"#comment"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out|const)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.js.jsx"},{include:"#type"},{include:"#punctuation-comma"},{match:"(=)(?!>)",name:"keyword.operator.assignment.js.jsx"}]},"type-paren-or-function-parameters":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.js.jsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.js.jsx"}},name:"meta.type.paren.cover.js.jsx",patterns:[{captures:{1:{name:"storage.modifier.js.jsx"},2:{name:"keyword.operator.rest.js.jsx"},3:{name:"entity.name.function.js.jsx variable.language.this.js.jsx"},4:{name:"entity.name.function.js.jsx"},5:{name:"keyword.operator.optional.js.jsx"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s*(\\??)(?=\\s*(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))))`},{captures:{1:{name:"storage.modifier.js.jsx"},2:{name:"keyword.operator.rest.js.jsx"},3:{name:"variable.parameter.js.jsx variable.language.this.js.jsx"},4:{name:"variable.parameter.js.jsx"},5:{name:"keyword.operator.optional.js.jsx"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s*(\\??)(?=:)"},{include:"#type-annotation"},{match:",",name:"punctuation.separator.parameter.js.jsx"},{include:"#type"}]},"type-predicate-operator":{patterns:[{captures:{1:{name:"keyword.operator.type.asserts.js.jsx"},2:{name:"variable.parameter.js.jsx variable.language.this.js.jsx"},3:{name:"variable.parameter.js.jsx"},4:{name:"keyword.operator.expression.is.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(asserts)\\s+)?(?!asserts)(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s(is)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{captures:{1:{name:"keyword.operator.type.asserts.js.jsx"},2:{name:"variable.parameter.js.jsx variable.language.this.js.jsx"},3:{name:"variable.parameter.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(asserts)\\s+(?!is)(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))asserts(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.type.asserts.js.jsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))is(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.is.js.jsx"}]},"type-primitive":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(string|number|bigint|boolean|symbol|any|void|never|unknown)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"support.type.primitive.js.jsx"},"type-string":{patterns:[{include:"#qstring-single"},{include:"#qstring-double"},{include:"#template-type"}]},"type-tuple":{begin:"\\[",beginCaptures:{0:{name:"meta.brace.square.js.jsx"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.js.jsx"}},name:"meta.type.tuple.js.jsx",patterns:[{match:"\\.\\.\\.",name:"keyword.operator.rest.js.jsx"},{captures:{1:{name:"entity.name.label.js.jsx"},2:{name:"keyword.operator.optional.js.jsx"},3:{name:"punctuation.separator.label.js.jsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\?)?\\s*(:)"},{include:"#type"},{include:"#punctuation-comma"}]},"typeof-operator":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))typeof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{0:{name:"keyword.operator.expression.typeof.js.jsx"}},end:"(?=[,);}\\]=>:&|{\\?]|(extends\\s+)|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type-arguments"},{include:"#expression"}]},"undefined-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))undefined(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.undefined.js.jsx"},"var-expr":{patterns:[{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=^|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^let|[^\\._$[:alnum:]]let|^var|[^\\._$[:alnum:]]var)(?=\\s*$)))",name:"meta.var.expr.js.jsx",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.type.js.jsx"}},end:"(?=\\S)"},{include:"#destructuring-variable"},{include:"#var-single-variable"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*(?=$|\\/\\/)",beginCaptures:{1:{name:"punctuation.separator.comma.js.jsx"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#destructuring-variable"},{include:"#var-single-variable"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]},{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.type.js.jsx"}},end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=^|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^const|[^\\._$[:alnum:]]const)(?=\\s*$)))",name:"meta.var.expr.js.jsx",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.type.js.jsx"}},end:"(?=\\S)"},{include:"#destructuring-const"},{include:"#var-single-const"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*(?=$|\\/\\/)",beginCaptures:{1:{name:"punctuation.separator.comma.js.jsx"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#destructuring-const"},{include:"#var-single-const"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]},{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.type.js.jsx"}},end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^using|[^\\._$[:alnum:]]using|^await\\s+using|[^\\._$[:alnum:]]await\\s+using)(?=\\s*$)))",name:"meta.var.expr.js.jsx",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.js.jsx"},2:{name:"storage.modifier.js.jsx"},3:{name:"storage.type.js.jsx"}},end:"(?=\\S)"},{include:"#var-single-const"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*((?!\\S)|(?=\\/\\/))",beginCaptures:{1:{name:"punctuation.separator.comma.js.jsx"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#var-single-const"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]}]},"var-single-const":{patterns:[{begin:`(?x)([_$[:alpha:]][_$[:alnum:]]*)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,beginCaptures:{1:{name:"meta.definition.variable.js.jsx variable.other.constant.js.jsx entity.name.function.js.jsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js.jsx",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{1:{name:"meta.definition.variable.js.jsx variable.other.constant.js.jsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js.jsx",patterns:[{include:"#var-single-variable-type-annotation"}]}]},"var-single-variable":{patterns:[{begin:`(?x)([_$[:alpha:]][_$[:alnum:]]*)(\\!)?(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,beginCaptures:{1:{name:"meta.definition.variable.js.jsx entity.name.function.js.jsx"},2:{name:"keyword.operator.definiteassignment.js.jsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js.jsx",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])(\\!)?",beginCaptures:{1:{name:"meta.definition.variable.js.jsx variable.other.constant.js.jsx"},2:{name:"keyword.operator.definiteassignment.js.jsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js.jsx",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)(\\!)?",beginCaptures:{1:{name:"meta.definition.variable.js.jsx variable.other.readwrite.js.jsx"},2:{name:"keyword.operator.definiteassignment.js.jsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.js.jsx",patterns:[{include:"#var-single-variable-type-annotation"}]}]},"var-single-variable-type-annotation":{patterns:[{include:"#type-annotation"},{include:"#string"},{include:"#comment"}]},"variable-initializer":{patterns:[{begin:"(?<!=|!)(=)(?!=)(?=\\s*\\S)(?!\\s*.*=>\\s*$)",beginCaptures:{1:{name:"keyword.operator.assignment.js.jsx"}},end:"(?=$|^|[,);}\\]]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",patterns:[{include:"#expression"}]},{begin:"(?<!=|!)(=)(?!=)",beginCaptures:{1:{name:"keyword.operator.assignment.js.jsx"}},end:"(?=[,);}\\]]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))|(?=^\\s*$)|(?<![\\|\\&\\+\\-\\*\\/])(?<=\\S)(?<!=)(?=\\s*$)",patterns:[{include:"#expression"}]}]}},scopeName:"source.js.jsx"});var n=[e];export{n as default}; diff --git a/assets/layout-NmVD1Bdh.js b/assets/layout-NmVD1Bdh.js new file mode 100644 index 00000000000..f02aa917913 --- /dev/null +++ b/assets/layout-NmVD1Bdh.js @@ -0,0 +1 @@ +import{a as F,c as xn,b as zn,d as L,k as Un,e as Hn,g as Jn,j as P,l as En,m as kn,n as yn,t as Kn,o as Nn,p as Zn,q as jn,f as s,G as x,h as w,i as g,r as M,v as y,s as Y}from"./graph-sxtH378E.js";import{ao as A,ap as Qn,aq as ne,ar as ee,as as Ln,at as B,au as _n,av as re,aw as Cn,ax as K,ay as te,az as ie,aA as Z,aB as ae,aC as In,aD as oe,aE as ue,aF as H}from"./mermaid.core-wTs8WatG.js";var de=/\s/;function fe(n){for(var e=n.length;e--&&de.test(n.charAt(e)););return e}var se=/^\s+/;function ce(n){return n&&n.slice(0,fe(n)+1).replace(se,"")}var un=NaN,he=/^[-+]0x[0-9a-f]+$/i,le=/^0b[01]+$/i,ve=/^0o[0-7]+$/i,pe=parseInt;function we(n){if(typeof n=="number")return n;if(F(n))return un;if(A(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=A(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=ce(n);var r=le.test(n);return r||ve.test(n)?pe(n.slice(2),r?2:8):he.test(n)?un:+n}var dn=1/0,me=17976931348623157e292;function S(n){if(!n)return n===0?n:0;if(n=we(n),n===dn||n===-dn){var e=n<0?-1:1;return e*me}return n===n?n:0}function be(n){var e=S(n),r=e%1;return e===e?r?e-r:e:0}function _(n){var e=n==null?0:n.length;return e?xn(n,1):[]}function ge(n){return Qn(ne(n,void 0,_),n+"")}var xe=1,Ee=4;function ke(n){return zn(n,xe|Ee)}var fn=function(){return ee.Date.now()},Rn=Object.prototype,ye=Rn.hasOwnProperty,Ne=Ln(function(n,e){n=Object(n);var r=-1,t=e.length,i=t>2?e[2]:void 0;for(i&&B(e[0],e[1],i)&&(t=1);++r<t;)for(var o=e[r],a=_n(o),u=-1,d=a.length;++u<d;){var f=a[u],c=n[f];(c===void 0||re(c,Rn[f])&&!ye.call(n,f))&&(n[f]=o[f])}return n});const Le=Ne;function G(n){var e=n==null?0:n.length;return e?n[e-1]:void 0}function _e(n){return function(e,r,t){var i=Object(e);if(!Cn(e)){var o=L(r);e=Un(e),r=function(u){return o(i[u],u,i)}}var a=n(e,r,t);return a>-1?i[o?e[a]:a]:void 0}}var Ce=Math.max;function Ie(n,e,r){var t=n==null?0:n.length;if(!t)return-1;var i=r==null?0:be(r);return i<0&&(i=Ce(t+i,0)),Hn(n,L(e),i)}var j=_e(Ie);function Tn(n,e){var r=-1,t=Cn(n)?Array(n.length):[];return Jn(n,function(i,o,a){t[++r]=e(i,o,a)}),t}function m(n,e){var r=K(n)?P:Tn;return r(n,L(e))}function Re(n,e){return n==null?n:te(n,En(e),_n)}function Te(n,e){return n&&kn(n,En(e))}function Me(n,e){return n>e}function Mn(n,e){return n<e}function $(n,e){var r={};return e=L(e),kn(n,function(t,i,o){ie(r,i,e(t,i,o))}),r}function Q(n,e,r){for(var t=-1,i=n.length;++t<i;){var o=n[t],a=e(o);if(a!=null&&(u===void 0?a===a&&!F(a):r(a,u)))var u=a,d=o}return d}function E(n){return n&&n.length?Q(n,Z,Me):void 0}function R(n){return n&&n.length?Q(n,Z,Mn):void 0}function nn(n,e){return n&&n.length?Q(n,L(e),Mn):void 0}function Oe(n,e,r,t){if(!A(n))return n;e=yn(e,n);for(var i=-1,o=e.length,a=o-1,u=n;u!=null&&++i<o;){var d=Kn(e[i]),f=r;if(d==="__proto__"||d==="constructor"||d==="prototype")return n;if(i!=a){var c=u[d];f=t?t(c,d,u):void 0,f===void 0&&(f=A(c)?c:ae(e[i+1])?[]:{})}In(u,d,f),u=u[d]}return n}function Pe(n,e,r){for(var t=-1,i=e.length,o={};++t<i;){var a=e[t],u=Nn(n,a);r(u,a)&&Oe(o,yn(a,n),u)}return o}function Se(n,e){var r=n.length;for(n.sort(e);r--;)n[r]=n[r].value;return n}function Fe(n,e){if(n!==e){var r=n!==void 0,t=n===null,i=n===n,o=F(n),a=e!==void 0,u=e===null,d=e===e,f=F(e);if(!u&&!f&&!o&&n>e||o&&a&&d&&!u&&!f||t&&a&&d||!r&&d||!i)return 1;if(!t&&!o&&!f&&n<e||f&&r&&i&&!t&&!o||u&&r&&i||!a&&i||!d)return-1}return 0}function Ae(n,e,r){for(var t=-1,i=n.criteria,o=e.criteria,a=i.length,u=r.length;++t<a;){var d=Fe(i[t],o[t]);if(d){if(t>=u)return d;var f=r[t];return d*(f=="desc"?-1:1)}}return n.index-e.index}function Be(n,e,r){e.length?e=P(e,function(o){return K(o)?function(a){return Nn(a,o.length===1?o[0]:o)}:o}):e=[Z];var t=-1;e=P(e,oe(L));var i=Tn(n,function(o,a,u){var d=P(e,function(f){return f(o)});return{criteria:d,index:++t,value:o}});return Se(i,function(o,a){return Ae(o,a,r)})}function Ge(n,e){return Pe(n,e,function(r,t){return Zn(n,t)})}var V=ge(function(n,e){return n==null?{}:Ge(n,e)}),Ve=Math.ceil,Ye=Math.max;function $e(n,e,r,t){for(var i=-1,o=Ye(Ve((e-n)/(r||1)),0),a=Array(o);o--;)a[t?o:++i]=n,n+=r;return a}function De(n){return function(e,r,t){return t&&typeof t!="number"&&B(e,r,t)&&(r=t=void 0),e=S(e),r===void 0?(r=e,e=0):r=S(r),t=t===void 0?e<r?1:-1:S(t),$e(e,r,t,n)}}var N=De(),O=Ln(function(n,e){if(n==null)return[];var r=e.length;return r>1&&B(n,e[0],e[1])?e=[]:r>2&&B(e[0],e[1],e[2])&&(e=[e[0]]),Be(n,xn(e,1),[])}),qe=0;function en(n){var e=++qe;return jn(n)+e}function We(n,e,r){for(var t=-1,i=n.length,o=e.length,a={};++t<i;){var u=t<o?e[t]:void 0;r(a,n[t],u)}return a}function Xe(n,e){return We(n||[],e||[],In)}class ze{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,r=e._prev;if(r!==e)return sn(r),r}enqueue(e){var r=this._sentinel;e._prev&&e._next&&sn(e),e._next=r._next,r._next._prev=e,r._next=e,e._prev=r}toString(){for(var e=[],r=this._sentinel,t=r._prev;t!==r;)e.push(JSON.stringify(t,Ue)),t=t._prev;return"["+e.join(", ")+"]"}}function sn(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function Ue(n,e){if(n!=="_next"&&n!=="_prev")return e}var He=ue(1);function Je(n,e){if(n.nodeCount()<=1)return[];var r=Ze(n,e||He),t=Ke(r.graph,r.buckets,r.zeroIdx);return _(m(t,function(i){return n.outEdges(i.v,i.w)}))}function Ke(n,e,r){for(var t=[],i=e[e.length-1],o=e[0],a;n.nodeCount();){for(;a=o.dequeue();)q(n,e,r,a);for(;a=i.dequeue();)q(n,e,r,a);if(n.nodeCount()){for(var u=e.length-2;u>0;--u)if(a=e[u].dequeue(),a){t=t.concat(q(n,e,r,a,!0));break}}}return t}function q(n,e,r,t,i){var o=i?[]:void 0;return s(n.inEdges(t.v),function(a){var u=n.edge(a),d=n.node(a.v);i&&o.push({v:a.v,w:a.w}),d.out-=u,J(e,r,d)}),s(n.outEdges(t.v),function(a){var u=n.edge(a),d=a.w,f=n.node(d);f.in-=u,J(e,r,f)}),n.removeNode(t.v),o}function Ze(n,e){var r=new x,t=0,i=0;s(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(n.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=e(u),c=d+f;r.setEdge(u.v,u.w,c),i=Math.max(i,r.node(u.v).out+=f),t=Math.max(t,r.node(u.w).in+=f)});var o=N(i+t+3).map(function(){return new ze}),a=t+1;return s(r.nodes(),function(u){J(o,a,r.node(u))}),{graph:r,buckets:o,zeroIdx:a}}function J(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function je(n){var e=n.graph().acyclicer==="greedy"?Je(n,r(n)):Qe(n);s(e,function(t){var i=n.edge(t);n.removeEdge(t),i.forwardName=t.name,i.reversed=!0,n.setEdge(t.w,t.v,i,en("rev"))});function r(t){return function(i){return t.edge(i).weight}}}function Qe(n){var e=[],r={},t={};function i(o){w(t,o)||(t[o]=!0,r[o]=!0,s(n.outEdges(o),function(a){w(r,a.w)?e.push(a):i(a.w)}),delete r[o])}return s(n.nodes(),i),e}function nr(n){s(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var t=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,t)}})}function C(n,e,r,t){var i;do i=en(t);while(n.hasNode(i));return r.dummy=e,n.setNode(i,r),i}function er(n){var e=new x().setGraph(n.graph());return s(n.nodes(),function(r){e.setNode(r,n.node(r))}),s(n.edges(),function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},i=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),e}function On(n){var e=new x({multigraph:n.isMultigraph()}).setGraph(n.graph());return s(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),s(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function cn(n,e){var r=n.x,t=n.y,i=e.x-r,o=e.y-t,a=n.width/2,u=n.height/2;if(!i&&!o)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(o)*a>Math.abs(i)*u?(o<0&&(u=-u),d=u*i/o,f=u):(i<0&&(a=-a),d=a,f=a*o/i),{x:r+d,y:t+f}}function D(n){var e=m(N(Pn(n)+1),function(){return[]});return s(n.nodes(),function(r){var t=n.node(r),i=t.rank;g(i)||(e[i][t.order]=r)}),e}function rr(n){var e=R(m(n.nodes(),function(r){return n.node(r).rank}));s(n.nodes(),function(r){var t=n.node(r);w(t,"rank")&&(t.rank-=e)})}function tr(n){var e=R(m(n.nodes(),function(o){return n.node(o).rank})),r=[];s(n.nodes(),function(o){var a=n.node(o).rank-e;r[a]||(r[a]=[]),r[a].push(o)});var t=0,i=n.graph().nodeRankFactor;s(r,function(o,a){g(o)&&a%i!==0?--t:t&&s(o,function(u){n.node(u).rank+=t})})}function hn(n,e,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),C(n,"border",i,e)}function Pn(n){return E(m(n.nodes(),function(e){var r=n.node(e).rank;if(!g(r))return r}))}function ir(n,e){var r={lhs:[],rhs:[]};return s(n,function(t){e(t)?r.lhs.push(t):r.rhs.push(t)}),r}function ar(n,e){var r=fn();try{return e()}finally{console.log(n+" time: "+(fn()-r)+"ms")}}function or(n,e){return e()}function ur(n){function e(r){var t=n.children(r),i=n.node(r);if(t.length&&s(t,e),w(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var o=i.minRank,a=i.maxRank+1;o<a;++o)ln(n,"borderLeft","_bl",r,i,o),ln(n,"borderRight","_br",r,i,o)}}s(n.children(),e)}function ln(n,e,r,t,i,o){var a={width:0,height:0,rank:o,borderType:e},u=i[e][o-1],d=C(n,"border",a,r);i[e][o]=d,n.setParent(d,t),u&&n.setEdge(u,d,{weight:1})}function dr(n){var e=n.graph().rankdir.toLowerCase();(e==="lr"||e==="rl")&&Sn(n)}function fr(n){var e=n.graph().rankdir.toLowerCase();(e==="bt"||e==="rl")&&sr(n),(e==="lr"||e==="rl")&&(cr(n),Sn(n))}function Sn(n){s(n.nodes(),function(e){vn(n.node(e))}),s(n.edges(),function(e){vn(n.edge(e))})}function vn(n){var e=n.width;n.width=n.height,n.height=e}function sr(n){s(n.nodes(),function(e){W(n.node(e))}),s(n.edges(),function(e){var r=n.edge(e);s(r.points,W),w(r,"y")&&W(r)})}function W(n){n.y=-n.y}function cr(n){s(n.nodes(),function(e){X(n.node(e))}),s(n.edges(),function(e){var r=n.edge(e);s(r.points,X),w(r,"x")&&X(r)})}function X(n){var e=n.x;n.x=n.y,n.y=e}function hr(n){n.graph().dummyChains=[],s(n.edges(),function(e){lr(n,e)})}function lr(n,e){var r=e.v,t=n.node(r).rank,i=e.w,o=n.node(i).rank,a=e.name,u=n.edge(e),d=u.labelRank;if(o!==t+1){n.removeEdge(e);var f,c,h;for(h=0,++t;t<o;++h,++t)u.points=[],c={width:0,height:0,edgeLabel:u,edgeObj:e,rank:t},f=C(n,"edge",c,"_d"),t===d&&(c.width=u.width,c.height=u.height,c.dummy="edge-label",c.labelpos=u.labelpos),n.setEdge(r,f,{weight:u.weight},a),h===0&&n.graph().dummyChains.push(f),r=f;n.setEdge(r,i,{weight:u.weight},a)}}function vr(n){s(n.graph().dummyChains,function(e){var r=n.node(e),t=r.edgeLabel,i;for(n.setEdge(r.edgeObj,t);r.dummy;)i=n.successors(e)[0],n.removeNode(e),t.points.push({x:r.x,y:r.y}),r.dummy==="edge-label"&&(t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height),e=i,r=n.node(e)})}function rn(n){var e={};function r(t){var i=n.node(t);if(w(e,t))return i.rank;e[t]=!0;var o=R(m(n.outEdges(t),function(a){return r(a.w)-n.edge(a).minlen}));return(o===Number.POSITIVE_INFINITY||o===void 0||o===null)&&(o=0),i.rank=o}s(n.sources(),r)}function T(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function Fn(n){var e=new x({directed:!1}),r=n.nodes()[0],t=n.nodeCount();e.setNode(r,{});for(var i,o;pr(e,n)<t;)i=wr(e,n),o=e.hasNode(i.v)?T(n,i):-T(n,i),mr(e,n,o);return e}function pr(n,e){function r(t){s(e.nodeEdges(t),function(i){var o=i.v,a=t===o?i.w:o;!n.hasNode(a)&&!T(e,i)&&(n.setNode(a,{}),n.setEdge(t,a,{}),r(a))})}return s(n.nodes(),r),n.nodeCount()}function wr(n,e){return nn(e.edges(),function(r){if(n.hasNode(r.v)!==n.hasNode(r.w))return T(e,r)})}function mr(n,e,r){s(n.nodes(),function(t){e.node(t).rank+=r})}function br(){}br.prototype=new Error;function An(n,e,r){K(e)||(e=[e]);var t=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],o={};return s(e,function(a){if(!n.hasNode(a))throw new Error("Graph does not have node: "+a);Bn(n,a,r==="post",o,t,i)}),i}function Bn(n,e,r,t,i,o){w(t,e)||(t[e]=!0,r||o.push(e),s(i(e),function(a){Bn(n,a,r,t,i,o)}),r&&o.push(e))}function gr(n,e){return An(n,e,"post")}function xr(n,e){return An(n,e,"pre")}k.initLowLimValues=an;k.initCutValues=tn;k.calcCutValue=Gn;k.leaveEdge=Yn;k.enterEdge=$n;k.exchangeEdges=Dn;function k(n){n=er(n),rn(n);var e=Fn(n);an(e),tn(e,n);for(var r,t;r=Yn(e);)t=$n(e,n,r),Dn(e,n,r,t)}function tn(n,e){var r=gr(n,n.nodes());r=r.slice(0,r.length-1),s(r,function(t){Er(n,e,t)})}function Er(n,e,r){var t=n.node(r),i=t.parent;n.edge(r,i).cutvalue=Gn(n,e,r)}function Gn(n,e,r){var t=n.node(r),i=t.parent,o=!0,a=e.edge(r,i),u=0;return a||(o=!1,a=e.edge(i,r)),u=a.weight,s(e.nodeEdges(r),function(d){var f=d.v===r,c=f?d.w:d.v;if(c!==i){var h=f===o,l=e.edge(d).weight;if(u+=h?l:-l,yr(n,r,c)){var v=n.edge(r,c).cutvalue;u+=h?-v:v}}}),u}function an(n,e){arguments.length<2&&(e=n.nodes()[0]),Vn(n,{},1,e)}function Vn(n,e,r,t,i){var o=r,a=n.node(t);return e[t]=!0,s(n.neighbors(t),function(u){w(e,u)||(r=Vn(n,e,r,u,t))}),a.low=o,a.lim=r++,i?a.parent=i:delete a.parent,r}function Yn(n){return j(n.edges(),function(e){return n.edge(e).cutvalue<0})}function $n(n,e,r){var t=r.v,i=r.w;e.hasEdge(t,i)||(t=r.w,i=r.v);var o=n.node(t),a=n.node(i),u=o,d=!1;o.lim>a.lim&&(u=a,d=!0);var f=M(e.edges(),function(c){return d===pn(n,n.node(c.v),u)&&d!==pn(n,n.node(c.w),u)});return nn(f,function(c){return T(e,c)})}function Dn(n,e,r,t){var i=r.v,o=r.w;n.removeEdge(i,o),n.setEdge(t.v,t.w,{}),an(n),tn(n,e),kr(n,e)}function kr(n,e){var r=j(n.nodes(),function(i){return!e.node(i).parent}),t=xr(n,r);t=t.slice(1),s(t,function(i){var o=n.node(i).parent,a=e.edge(i,o),u=!1;a||(a=e.edge(o,i),u=!0),e.node(i).rank=e.node(o).rank+(u?a.minlen:-a.minlen)})}function yr(n,e,r){return n.hasEdge(e,r)}function pn(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function Nr(n){switch(n.graph().ranker){case"network-simplex":wn(n);break;case"tight-tree":_r(n);break;case"longest-path":Lr(n);break;default:wn(n)}}var Lr=rn;function _r(n){rn(n),Fn(n)}function wn(n){k(n)}function Cr(n){var e=C(n,"root",{},"_root"),r=Ir(n),t=E(y(r))-1,i=2*t+1;n.graph().nestingRoot=e,s(n.edges(),function(a){n.edge(a).minlen*=i});var o=Rr(n)+1;s(n.children(),function(a){qn(n,e,i,o,t,r,a)}),n.graph().nodeRankFactor=i}function qn(n,e,r,t,i,o,a){var u=n.children(a);if(!u.length){a!==e&&n.setEdge(e,a,{weight:0,minlen:r});return}var d=hn(n,"_bt"),f=hn(n,"_bb"),c=n.node(a);n.setParent(d,a),c.borderTop=d,n.setParent(f,a),c.borderBottom=f,s(u,function(h){qn(n,e,r,t,i,o,h);var l=n.node(h),v=l.borderTop?l.borderTop:h,p=l.borderBottom?l.borderBottom:h,b=l.borderTop?t:2*t,I=v!==p?1:i-o[a]+1;n.setEdge(d,v,{weight:b,minlen:I,nestingEdge:!0}),n.setEdge(p,f,{weight:b,minlen:I,nestingEdge:!0})}),n.parent(a)||n.setEdge(e,d,{weight:0,minlen:i+o[a]})}function Ir(n){var e={};function r(t,i){var o=n.children(t);o&&o.length&&s(o,function(a){r(a,i+1)}),e[t]=i}return s(n.children(),function(t){r(t,1)}),e}function Rr(n){return Y(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function Tr(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,s(n.edges(),function(r){var t=n.edge(r);t.nestingEdge&&n.removeEdge(r)})}function Mr(n,e,r){var t={},i;s(r,function(o){for(var a=n.parent(o),u,d;a;){if(u=n.parent(a),u?(d=t[u],t[u]=a):(d=i,i=a),d&&d!==a){e.setEdge(d,a);return}a=u}})}function Or(n,e,r){var t=Pr(n),i=new x({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(o){return n.node(o)});return s(n.nodes(),function(o){var a=n.node(o),u=n.parent(o);(a.rank===e||a.minRank<=e&&e<=a.maxRank)&&(i.setNode(o),i.setParent(o,u||t),s(n[r](o),function(d){var f=d.v===o?d.w:d.v,c=i.edge(f,o),h=g(c)?0:c.weight;i.setEdge(f,o,{weight:n.edge(d).weight+h})}),w(a,"minRank")&&i.setNode(o,{borderLeft:a.borderLeft[e],borderRight:a.borderRight[e]}))}),i}function Pr(n){for(var e;n.hasNode(e=en("_root")););return e}function Sr(n,e){for(var r=0,t=1;t<e.length;++t)r+=Fr(n,e[t-1],e[t]);return r}function Fr(n,e,r){for(var t=Xe(r,m(r,function(f,c){return c})),i=_(m(e,function(f){return O(m(n.outEdges(f),function(c){return{pos:t[c.w],weight:n.edge(c).weight}}),"pos")})),o=1;o<r.length;)o<<=1;var a=2*o-1;o-=1;var u=m(new Array(a),function(){return 0}),d=0;return s(i.forEach(function(f){var c=f.pos+o;u[c]+=f.weight;for(var h=0;c>0;)c%2&&(h+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*h})),d}function Ar(n){var e={},r=M(n.nodes(),function(u){return!n.children(u).length}),t=E(m(r,function(u){return n.node(u).rank})),i=m(N(t+1),function(){return[]});function o(u){if(!w(e,u)){e[u]=!0;var d=n.node(u);i[d.rank].push(u),s(n.successors(u),o)}}var a=O(r,function(u){return n.node(u).rank});return s(a,o),i}function Br(n,e){return m(e,function(r){var t=n.inEdges(r);if(t.length){var i=Y(t,function(o,a){var u=n.edge(a),d=n.node(a.v);return{sum:o.sum+u.weight*d.order,weight:o.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function Gr(n,e){var r={};s(n,function(i,o){var a=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:o};g(i.barycenter)||(a.barycenter=i.barycenter,a.weight=i.weight)}),s(e.edges(),function(i){var o=r[i.v],a=r[i.w];!g(o)&&!g(a)&&(a.indegree++,o.out.push(r[i.w]))});var t=M(r,function(i){return!i.indegree});return Vr(t)}function Vr(n){var e=[];function r(o){return function(a){a.merged||(g(a.barycenter)||g(o.barycenter)||a.barycenter>=o.barycenter)&&Yr(o,a)}}function t(o){return function(a){a.in.push(o),--a.indegree===0&&n.push(a)}}for(;n.length;){var i=n.pop();e.push(i),s(i.in.reverse(),r(i)),s(i.out,t(i))}return m(M(e,function(o){return!o.merged}),function(o){return V(o,["vs","i","barycenter","weight"])})}function Yr(n,e){var r=0,t=0;n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/t,n.weight=t,n.i=Math.min(e.i,n.i),e.merged=!0}function $r(n,e){var r=ir(n,function(c){return w(c,"barycenter")}),t=r.lhs,i=O(r.rhs,function(c){return-c.i}),o=[],a=0,u=0,d=0;t.sort(Dr(!!e)),d=mn(o,i,d),s(t,function(c){d+=c.vs.length,o.push(c.vs),a+=c.barycenter*c.weight,u+=c.weight,d=mn(o,i,d)});var f={vs:_(o)};return u&&(f.barycenter=a/u,f.weight=u),f}function mn(n,e,r){for(var t;e.length&&(t=G(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function Dr(n){return function(e,r){return e.barycenter<r.barycenter?-1:e.barycenter>r.barycenter?1:n?r.i-e.i:e.i-r.i}}function Wn(n,e,r,t){var i=n.children(e),o=n.node(e),a=o?o.borderLeft:void 0,u=o?o.borderRight:void 0,d={};a&&(i=M(i,function(p){return p!==a&&p!==u}));var f=Br(n,i);s(f,function(p){if(n.children(p.v).length){var b=Wn(n,p.v,r,t);d[p.v]=b,w(b,"barycenter")&&Wr(p,b)}});var c=Gr(f,r);qr(c,d);var h=$r(c,t);if(a&&(h.vs=_([a,h.vs,u]),n.predecessors(a).length)){var l=n.node(n.predecessors(a)[0]),v=n.node(n.predecessors(u)[0]);w(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+l.order+v.order)/(h.weight+2),h.weight+=2}return h}function qr(n,e){s(n,function(r){r.vs=_(r.vs.map(function(t){return e[t]?e[t].vs:t}))})}function Wr(n,e){g(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function Xr(n){var e=Pn(n),r=bn(n,N(1,e+1),"inEdges"),t=bn(n,N(e-1,-1,-1),"outEdges"),i=Ar(n);gn(n,i);for(var o=Number.POSITIVE_INFINITY,a,u=0,d=0;d<4;++u,++d){zr(u%2?r:t,u%4>=2),i=D(n);var f=Sr(n,i);f<o&&(d=0,a=ke(i),o=f)}gn(n,a)}function bn(n,e,r){return m(e,function(t){return Or(n,t,r)})}function zr(n,e){var r=new x;s(n,function(t){var i=t.graph().root,o=Wn(t,i,r,e);s(o.vs,function(a,u){t.node(a).order=u}),Mr(t,r,o.vs)})}function gn(n,e){s(e,function(r){s(r,function(t,i){n.node(t).order=i})})}function Ur(n){var e=Jr(n);s(n.graph().dummyChains,function(r){for(var t=n.node(r),i=t.edgeObj,o=Hr(n,e,i.v,i.w),a=o.path,u=o.lca,d=0,f=a[d],c=!0;r!==i.w;){if(t=n.node(r),c){for(;(f=a[d])!==u&&n.node(f).maxRank<t.rank;)d++;f===u&&(c=!1)}if(!c){for(;d<a.length-1&&n.node(f=a[d+1]).minRank<=t.rank;)d++;f=a[d]}n.setParent(r,f),r=n.successors(r)[0]}})}function Hr(n,e,r,t){var i=[],o=[],a=Math.min(e[r].low,e[t].low),u=Math.max(e[r].lim,e[t].lim),d,f;d=r;do d=n.parent(d),i.push(d);while(d&&(e[d].low>a||u>e[d].lim));for(f=d,d=t;(d=n.parent(d))!==f;)o.push(d);return{path:i.concat(o.reverse()),lca:f}}function Jr(n){var e={},r=0;function t(i){var o=r;s(n.children(i),t),e[i]={low:o,lim:r++}}return s(n.children(),t),e}function Kr(n,e){var r={};function t(i,o){var a=0,u=0,d=i.length,f=G(o);return s(o,function(c,h){var l=jr(n,c),v=l?n.node(l).order:d;(l||c===f)&&(s(o.slice(u,h+1),function(p){s(n.predecessors(p),function(b){var I=n.node(b),on=I.order;(on<a||v<on)&&!(I.dummy&&n.node(p).dummy)&&Xn(r,b,p)})}),u=h+1,a=v)}),o}return Y(e,t),r}function Zr(n,e){var r={};function t(o,a,u,d,f){var c;s(N(a,u),function(h){c=o[h],n.node(c).dummy&&s(n.predecessors(c),function(l){var v=n.node(l);v.dummy&&(v.order<d||v.order>f)&&Xn(r,l,c)})})}function i(o,a){var u=-1,d,f=0;return s(a,function(c,h){if(n.node(c).dummy==="border"){var l=n.predecessors(c);l.length&&(d=n.node(l[0]).order,t(a,f,h,u,d),f=h,u=d)}t(a,f,a.length,d,o.length)}),a}return Y(e,i),r}function jr(n,e){if(n.node(e).dummy)return j(n.predecessors(e),function(r){return n.node(r).dummy})}function Xn(n,e,r){if(e>r){var t=e;e=r,r=t}var i=n[e];i||(n[e]=i={}),i[r]=!0}function Qr(n,e,r){if(e>r){var t=e;e=r,r=t}return w(n[e],r)}function nt(n,e,r,t){var i={},o={},a={};return s(e,function(u){s(u,function(d,f){i[d]=d,o[d]=d,a[d]=f})}),s(e,function(u){var d=-1;s(u,function(f){var c=t(f);if(c.length){c=O(c,function(b){return a[b]});for(var h=(c.length-1)/2,l=Math.floor(h),v=Math.ceil(h);l<=v;++l){var p=c[l];o[f]===f&&d<a[p]&&!Qr(r,f,p)&&(o[p]=f,o[f]=i[f]=i[p],d=a[p])}}})}),{root:i,align:o}}function et(n,e,r,t,i){var o={},a=rt(n,e,r,i),u=i?"borderLeft":"borderRight";function d(h,l){for(var v=a.nodes(),p=v.pop(),b={};p;)b[p]?h(p):(b[p]=!0,v.push(p),v=v.concat(l(p))),p=v.pop()}function f(h){o[h]=a.inEdges(h).reduce(function(l,v){return Math.max(l,o[v.v]+a.edge(v))},0)}function c(h){var l=a.outEdges(h).reduce(function(p,b){return Math.min(p,o[b.w]-a.edge(b))},Number.POSITIVE_INFINITY),v=n.node(h);l!==Number.POSITIVE_INFINITY&&v.borderType!==u&&(o[h]=Math.max(o[h],l))}return d(f,a.predecessors.bind(a)),d(c,a.successors.bind(a)),s(t,function(h){o[h]=o[r[h]]}),o}function rt(n,e,r,t){var i=new x,o=n.graph(),a=ut(o.nodesep,o.edgesep,t);return s(e,function(u){var d;s(u,function(f){var c=r[f];if(i.setNode(c),d){var h=r[d],l=i.edge(h,c);i.setEdge(h,c,Math.max(a(n,f,d),l||0))}d=f})}),i}function tt(n,e){return nn(y(e),function(r){var t=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return Re(r,function(o,a){var u=dt(n,a)/2;t=Math.max(o+u,t),i=Math.min(o-u,i)}),t-i})}function it(n,e){var r=y(e),t=R(r),i=E(r);s(["u","d"],function(o){s(["l","r"],function(a){var u=o+a,d=n[u],f;if(d!==e){var c=y(d);f=a==="l"?t-R(c):i-E(c),f&&(n[u]=$(d,function(h){return h+f}))}})})}function at(n,e){return $(n.ul,function(r,t){if(e)return n[e.toLowerCase()][t];var i=O(m(n,t));return(i[1]+i[2])/2})}function ot(n){var e=D(n),r=H(Kr(n,e),Zr(n,e)),t={},i;s(["u","d"],function(a){i=a==="u"?e:y(e).reverse(),s(["l","r"],function(u){u==="r"&&(i=m(i,function(h){return y(h).reverse()}));var d=(a==="u"?n.predecessors:n.successors).bind(n),f=nt(n,i,r,d),c=et(n,i,f.root,f.align,u==="r");u==="r"&&(c=$(c,function(h){return-h})),t[a+u]=c})});var o=tt(n,t);return it(t,o),at(t,n.graph().align)}function ut(n,e,r){return function(t,i,o){var a=t.node(i),u=t.node(o),d=0,f;if(d+=a.width/2,w(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":f=-a.width/2;break;case"r":f=a.width/2;break}if(f&&(d+=r?f:-f),f=0,d+=(a.dummy?e:n)/2,d+=(u.dummy?e:n)/2,d+=u.width/2,w(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":f=u.width/2;break;case"r":f=-u.width/2;break}return f&&(d+=r?f:-f),f=0,d}}function dt(n,e){return n.node(e).width}function ft(n){n=On(n),st(n),Te(ot(n),function(e,r){n.node(r).x=e})}function st(n){var e=D(n),r=n.graph().ranksep,t=0;s(e,function(i){var o=E(m(i,function(a){return n.node(a).height}));s(i,function(a){n.node(a).y=t+o/2}),t+=o+r})}function At(n,e){var r=e&&e.debugTiming?ar:or;r("layout",function(){var t=r(" buildLayoutGraph",function(){return Et(n)});r(" runLayout",function(){ct(t,r)}),r(" updateInputGraph",function(){ht(n,t)})})}function ct(n,e){e(" makeSpaceForEdgeLabels",function(){kt(n)}),e(" removeSelfEdges",function(){Mt(n)}),e(" acyclic",function(){je(n)}),e(" nestingGraph.run",function(){Cr(n)}),e(" rank",function(){Nr(On(n))}),e(" injectEdgeLabelProxies",function(){yt(n)}),e(" removeEmptyRanks",function(){tr(n)}),e(" nestingGraph.cleanup",function(){Tr(n)}),e(" normalizeRanks",function(){rr(n)}),e(" assignRankMinMax",function(){Nt(n)}),e(" removeEdgeLabelProxies",function(){Lt(n)}),e(" normalize.run",function(){hr(n)}),e(" parentDummyChains",function(){Ur(n)}),e(" addBorderSegments",function(){ur(n)}),e(" order",function(){Xr(n)}),e(" insertSelfEdges",function(){Ot(n)}),e(" adjustCoordinateSystem",function(){dr(n)}),e(" position",function(){ft(n)}),e(" positionSelfEdges",function(){Pt(n)}),e(" removeBorderNodes",function(){Tt(n)}),e(" normalize.undo",function(){vr(n)}),e(" fixupEdgeLabelCoords",function(){It(n)}),e(" undoCoordinateSystem",function(){fr(n)}),e(" translateGraph",function(){_t(n)}),e(" assignNodeIntersects",function(){Ct(n)}),e(" reversePoints",function(){Rt(n)}),e(" acyclic.undo",function(){nr(n)})}function ht(n,e){s(n.nodes(),function(r){var t=n.node(r),i=e.node(r);t&&(t.x=i.x,t.y=i.y,e.children(r).length&&(t.width=i.width,t.height=i.height))}),s(n.edges(),function(r){var t=n.edge(r),i=e.edge(r);t.points=i.points,w(i,"x")&&(t.x=i.x,t.y=i.y)}),n.graph().width=e.graph().width,n.graph().height=e.graph().height}var lt=["nodesep","edgesep","ranksep","marginx","marginy"],vt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},pt=["acyclicer","ranker","rankdir","align"],wt=["width","height"],mt={width:0,height:0},bt=["minlen","weight","width","height","labeloffset"],gt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},xt=["labelpos"];function Et(n){var e=new x({multigraph:!0,compound:!0}),r=U(n.graph());return e.setGraph(H({},vt,z(r,lt),V(r,pt))),s(n.nodes(),function(t){var i=U(n.node(t));e.setNode(t,Le(z(i,wt),mt)),e.setParent(t,n.parent(t))}),s(n.edges(),function(t){var i=U(n.edge(t));e.setEdge(t,H({},gt,z(i,bt),V(i,xt)))}),e}function kt(n){var e=n.graph();e.ranksep/=2,s(n.edges(),function(r){var t=n.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(e.rankdir==="TB"||e.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function yt(n){s(n.edges(),function(e){var r=n.edge(e);if(r.width&&r.height){var t=n.node(e.v),i=n.node(e.w),o={rank:(i.rank-t.rank)/2+t.rank,e};C(n,"edge-proxy",o,"_ep")}})}function Nt(n){var e=0;s(n.nodes(),function(r){var t=n.node(r);t.borderTop&&(t.minRank=n.node(t.borderTop).rank,t.maxRank=n.node(t.borderBottom).rank,e=E(e,t.maxRank))}),n.graph().maxRank=e}function Lt(n){s(n.nodes(),function(e){var r=n.node(e);r.dummy==="edge-proxy"&&(n.edge(r.e).labelRank=r.rank,n.removeNode(e))})}function _t(n){var e=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,i=0,o=n.graph(),a=o.marginx||0,u=o.marginy||0;function d(f){var c=f.x,h=f.y,l=f.width,v=f.height;e=Math.min(e,c-l/2),r=Math.max(r,c+l/2),t=Math.min(t,h-v/2),i=Math.max(i,h+v/2)}s(n.nodes(),function(f){d(n.node(f))}),s(n.edges(),function(f){var c=n.edge(f);w(c,"x")&&d(c)}),e-=a,t-=u,s(n.nodes(),function(f){var c=n.node(f);c.x-=e,c.y-=t}),s(n.edges(),function(f){var c=n.edge(f);s(c.points,function(h){h.x-=e,h.y-=t}),w(c,"x")&&(c.x-=e),w(c,"y")&&(c.y-=t)}),o.width=r-e+a,o.height=i-t+u}function Ct(n){s(n.edges(),function(e){var r=n.edge(e),t=n.node(e.v),i=n.node(e.w),o,a;r.points?(o=r.points[0],a=r.points[r.points.length-1]):(r.points=[],o=i,a=t),r.points.unshift(cn(t,o)),r.points.push(cn(i,a))})}function It(n){s(n.edges(),function(e){var r=n.edge(e);if(w(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function Rt(n){s(n.edges(),function(e){var r=n.edge(e);r.reversed&&r.points.reverse()})}function Tt(n){s(n.nodes(),function(e){if(n.children(e).length){var r=n.node(e),t=n.node(r.borderTop),i=n.node(r.borderBottom),o=n.node(G(r.borderLeft)),a=n.node(G(r.borderRight));r.width=Math.abs(a.x-o.x),r.height=Math.abs(i.y-t.y),r.x=o.x+r.width/2,r.y=t.y+r.height/2}}),s(n.nodes(),function(e){n.node(e).dummy==="border"&&n.removeNode(e)})}function Mt(n){s(n.edges(),function(e){if(e.v===e.w){var r=n.node(e.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e,label:n.edge(e)}),n.removeEdge(e)}})}function Ot(n){var e=D(n);s(e,function(r){var t=0;s(r,function(i,o){var a=n.node(i);a.order=o+t,s(a.selfEdges,function(u){C(n,"selfedge",{width:u.label.width,height:u.label.height,rank:a.rank,order:o+ ++t,e:u.e,label:u.label},"_se")}),delete a.selfEdges})})}function Pt(n){s(n.nodes(),function(e){var r=n.node(e);if(r.dummy==="selfedge"){var t=n.node(r.e.v),i=t.x+t.width/2,o=t.y,a=r.x-i,u=t.height/2;n.setEdge(r.e,r.label),n.removeNode(e),r.label.points=[{x:i+2*a/3,y:o-u},{x:i+5*a/6,y:o-u},{x:i+a,y:o},{x:i+5*a/6,y:o+u},{x:i+2*a/3,y:o+u}],r.label.x=r.x,r.label.y=r.y}})}function z(n,e){return $(V(n,e),Number)}function U(n){var e={};return s(n,function(r,t){e[t.toLowerCase()]=r}),e}export{Le as d,At as l,m,V as p,N as r,en as u}; diff --git a/assets/line-NZ5yCA7P.js b/assets/line-NZ5yCA7P.js new file mode 100644 index 00000000000..0d2b8e906d9 --- /dev/null +++ b/assets/line-NZ5yCA7P.js @@ -0,0 +1 @@ +import{a as h}from"./array-Nw74a44z.js";import{w as d,c as o}from"./path-aUcfwwLI.js";import{Y as v}from"./mermaid.core-wTs8WatG.js";function w(t){return t[0]}function b(t){return t[1]}function P(t,u){var s=o(!0),i=null,l=v,r=null,m=d(e);t=typeof t=="function"?t:t===void 0?w:o(t),u=typeof u=="function"?u:u===void 0?b:o(u);function e(n){var f,g=(n=h(n)).length,p,c=!1,a;for(i==null&&(r=l(a=m())),f=0;f<=g;++f)!(f<g&&s(p=n[f],f,n))===c&&((c=!c)?r.lineStart():r.lineEnd()),c&&r.point(+t(p,f,n),+u(p,f,n));if(a)return r=null,a+""||null}return e.x=function(n){return arguments.length?(t=typeof n=="function"?n:o(+n),e):t},e.y=function(n){return arguments.length?(u=typeof n=="function"?n:o(+n),e):u},e.defined=function(n){return arguments.length?(s=typeof n=="function"?n:o(!!n),e):s},e.curve=function(n){return arguments.length?(l=n,i!=null&&(r=l(i)),e):l},e.context=function(n){return arguments.length?(n==null?i=r=null:r=l(i=n),e):i},e}export{P as l}; diff --git a/assets/linear-2m3rEmg6.js b/assets/linear-2m3rEmg6.js new file mode 100644 index 00000000000..a443b506766 --- /dev/null +++ b/assets/linear-2m3rEmg6.js @@ -0,0 +1 @@ +import{ai as un,aj as I,ak as U,al as Y,am as fn}from"./mermaid.core-wTs8WatG.js";import{i as cn}from"./init-Hi12RPRh.js";function F(n,t){return n==null||t==null?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function _(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o<s){if(t(c,c)!==0)return s;do{const h=o+s>>>1;e(u[h],c)<0?o=h+1:s=h}while(o<s)}return o}function f(u,c,o=0,s=u.length){if(o<s){if(t(c,c)!==0)return s;do{const h=o+s>>>1;e(u[h],c)<=0?o=h+1:s=h}while(o<s)}return o}function a(u,c,o=0,s=u.length){const h=i(u,c,o,s-1);return h>o&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=_(F),dn=sn.right;_(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/o<n&&++u,c/o>t&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*o<n&&++u,c*o>t&&--c),c<u&&.5<=e&&e<2?R(n,t,e*2):[u,c,o]}function pn(n,t,e){if(t=+t,n=+n,e=+e,!(e>0))return[];if(n===t)return[n];const r=t<n,[i,f,a]=r?R(t,n,e):R(n,t,e);if(!(f>=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o<u;++o)c[o]=(f-o)/-a;else for(let o=0;o<u;++o)c[o]=(f-o)*a;else if(a<0)for(let o=0;o<u;++o)c[o]=(i+o)/-a;else for(let o=0;o<u;++o)c[o]=(i+o)*a;return c}function L(n,t,e){return t=+t,n=+n,e=+e,R(n,t,e)[2]}function wn(n,t,e){t=+t,n=+n,e=+e;const r=t<n,i=r?L(t,n,e):L(n,t,e);return(r?-1:1)*(i<0?1/-i:i)}function Nn(n,t){t||(t=[]);var e=n?Math.min(t.length,n.length):0,r=t.slice(),i;return function(f){for(i=0;i<e;++i)r[i]=n[i]*(1-f)+t[i]*f;return r}}function kn(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function xn(n,t){var e=t?t.length:0,r=n?Math.min(e,n.length):0,i=new Array(r),f=new Array(e),a;for(a=0;a<r;++a)i[a]=C(n[a],t[a]);for(;a<e;++a)f[a]=t[a];return function(u){for(a=0;a<r;++a)f[a]=i[a](u);return f}}function An(n,t){var e=new Date;return n=+n,t=+t,function(r){return e.setTime(n*(1-r)+t*r),e}}function vn(n,t){var e={},r={},i;(n===null||typeof n!="object")&&(n={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in n?e[i]=C(n[i],t[i]):r[i]=t[i];return function(f){for(i in e)r[i]=e[i](f);return r}}function C(n,t){var e=typeof t,r;return t==null||e==="boolean"?un(t):(e==="number"?I:e==="string"?(r=U(t))?(t=r,Y):fn:t instanceof U?Y:t instanceof Date?An:kn(t)?Nn:Array.isArray(t)?xn:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?vn:I)(n,t)}function Sn(n,t){return n=+n,t=+t,function(e){return Math.round(n*(1-e)+t*e)}}function bn(n){return Math.abs(n=Math.round(n))>=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({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]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e<t;++e)switch(n[e]){case".":r=i=e;break;case"0":r===0&&(r=e),i=e;break;default:if(!+n[e])break n;r>0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function Z(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[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")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:bn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?J:jn(K.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?J:Pn(K.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,S=h.symbol,k=h.zero,b=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):H[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=S==="$"?e:S==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=S==="$"?r:/[%p]/.test(d)?a:"",O=H[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?Q[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++x<X;)if(j=m.charCodeAt(x),48>j||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z<b?new Array(b-z+1).join(l):"";switch(T&&k&&(m=t(M+m,M.length?b-g.length:1/0),M=""),p){case"<":m=N+m+g+M;break;case"=":m=N+M+m+g;break;case"^":m=M.slice(0,z=M.length>>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,S=Math.pow(10,-y),k=Q[8+y/3];return function(b){return p(S*b)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var W=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i<r?(r=q(i,r),f=e(a,f)):(r=q(r,i),f=e(f,a)),function(u){return f(r(u))}}function Gn(n,t,e){var r=Math.min(n.length,t.length)-1,i=new Array(r),f=new Array(r),a=-1;for(n[r]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=q(n[a],n[a+1]),f[a]=e(t[a],t[a+1]);return function(u){var c=dn(n,u,1,r)-1;return f[c](i[c](u))}}function On(n,t){return t.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function Vn(){var n=W,t=W,e=C,r,i,f,a=A,u,c,o;function s(){var l=Math.min(n.length,t.length);return a!==A&&(a=Cn(n[0],n[l-1])),u=l>2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=Sn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Un(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Yn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Un(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u<a&&(o=a,a=u,u=o,o=i,i=f,f=o);s-- >0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Zn(){var n=Xn();return n.copy=function(){return On(n,Zn())},cn.apply(n,arguments),Yn(n)}export{On as a,_ as b,Xn as c,Zn as l,wn as t}; diff --git a/assets/lodash-lrAbnKsZ.js b/assets/lodash-lrAbnKsZ.js new file mode 100644 index 00000000000..f159af5de12 --- /dev/null +++ b/assets/lodash-lrAbnKsZ.js @@ -0,0 +1 @@ +const a=(e,o,n={})=>{let t,s,i;const r=()=>{t=void 0,s!==void 0&&(e.apply(void 0,s),s=void 0,i=Date.now(),t=setTimeout(r,o))};return function(...c){const f=Date.now();i===void 0&&n.leading===!1&&(i=f);const l=o-(f-(i??0));l<=0||l>o?(t!==void 0&&clearTimeout(t),e.apply(this,c),i=f,t=setTimeout(r,o)):n.trailing!==!1&&(s=c,t===void 0&&(t=setTimeout(r,l)))}},d=e=>typeof e>"u",u=e=>{if(Array.isArray(e))return e.map(u);if(typeof e=="object"&&e!==null){const o={};for(const n in e)o[n]=u(e[n]);return o}else return e},m=e=>e[Math.floor(Math.random()*e.length)],p=(...e)=>{const o={};for(const n of e)for(const t in n)o[t]=n[t];return o};function y(e,o){const n=o.split(".");let t=e;for(const s of n)if(t=t[s],t===void 0)return t;return t}export{u as c,y as g,d as i,p as m,m as s,a as t}; diff --git a/assets/main-pGz5eUwv.js b/assets/main-pGz5eUwv.js new file mode 100644 index 00000000000..9431911ac61 --- /dev/null +++ b/assets/main-pGz5eUwv.js @@ -0,0 +1,293 @@ +import{r as dl,b as fl,j as ml,g as gl}from"./index-ZXl4th35.js";function vl(ja,rl){for(var Yi=0;Yi<rl.length;Yi++){const li=rl[Yi];if(typeof li!="string"&&!Array.isArray(li)){for(const ji in li)if(ji!=="default"&&!(ji in ja)){const ri=Object.getOwnPropertyDescriptor(li,ji);ri&&Object.defineProperty(ja,ji,ri.get?ri:{enumerable:!0,get:()=>li[ji]})}}}return Object.freeze(Object.defineProperty(ja,Symbol.toStringTag,{value:"Module"}))}var cl={exports:{}},al={exports:{}};/*! For license information please see excalidraw.production.min.js.LICENSE.txt */var sl;function bl(){return sl||(sl=1,function(ja,rl){(function(Yi,li){ja.exports=li(dl,fl)})(self,function(Yi,li){return function(){var ji,ri,ci,Bi,Fa={5779:function(et,fe){fe.N=void 0;var t=/^([^\w]*)(javascript|data|vbscript)/im,e=/&#(\w+)(^\w|;)?/g,P=/&(newline|tab);/gi,w=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,m=/^.+(:|:)/gim,v=[".","/"];fe.N=function(I){var x,c=(x=I||"",x.replace(e,function(N,W){return String.fromCharCode(W)})).replace(P,"").replace(w,"").trim();if(!c)return"about:blank";if(function(N){return v.indexOf(N[0])>-1}(c))return c;var f=c.match(m);if(!f)return c;var Z=f[0];return t.test(Z)?"about:blank":c}},7217:function(et,fe,t){function e(P,w,{checkForDefaultPrevented:m=!0}={}){return function(v){if(P?.(v),m===!1||!v.defaultPrevented)return w?.(v)}}t.d(fe,{M:function(){return e}})},9335:function(et,fe,t){t.d(fe,{F:function(){return P},e:function(){return w}});var e=t(9787);function P(...m){return v=>m.forEach(I=>function(x,c){typeof x=="function"?x(c):x!=null&&(x.current=c)}(I,v))}function w(...m){return(0,e.useCallback)(P(...m),m)}},1267:function(et,fe,t){t.d(fe,{b:function(){return P}});var e=t(9787);function P(m,v=[]){let I=[];const x=()=>{const c=I.map(f=>(0,e.createContext)(f));return function(f){const Z=f?.[m]||c;return(0,e.useMemo)(()=>({[`__scope${m}`]:{...f,[m]:Z}}),[f,Z])}};return x.scopeName=m,[function(c,f){const Z=(0,e.createContext)(f),N=I.length;function W(k){const{scope:S,children:J,...ce}=k,he=S?.[m][N]||Z,ve=(0,e.useMemo)(()=>ce,Object.values(ce));return(0,e.createElement)(he.Provider,{value:ve},J)}return I=[...I,f],W.displayName=c+"Provider",[W,function(k,S){const J=S?.[m][N]||Z,ce=(0,e.useContext)(J);if(ce)return ce;if(f!==void 0)return f;throw new Error(`\`${k}\` must be used within \`${c}\``)}]},w(x,...v)]}function w(...m){const v=m[0];if(m.length===1)return v;const I=()=>{const x=m.map(c=>({useScope:c(),scopeName:c.scopeName}));return function(c){const f=x.reduce((Z,{useScope:N,scopeName:W})=>({...Z,...N(c)[`__scope${W}`]}),{});return(0,e.useMemo)(()=>({[`__scope${v.scopeName}`]:f}),[f])}};return I.scopeName=v.scopeName,I}},5622:function(et,fe,t){t.d(fe,{M:function(){return v}});var e=t(9787),P=t(3348);const w=e.useId||(()=>{});let m=0;function v(I){const[x,c]=e.useState(w());return(0,P.b)(()=>{I||c(f=>f??String(m++))},[I]),I||(x?`radix-${x}`:"")}},1483:function(et,fe,t){t.d(fe,{z:function(){return v}});var e=t(9787),P=t(5156),w=t(9335),m=t(3348);const v=x=>{const{present:c,children:f}=x,Z=function(k){const[S,J]=(0,e.useState)(),ce=(0,e.useRef)({}),he=(0,e.useRef)(k),ve=(0,e.useRef)("none"),le=k?"mounted":"unmounted",[G,U]=function(H,M){return(0,e.useReducer)((A,b)=>{const y=M[A][b];return y??A},H)}(le,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,e.useEffect)(()=>{const H=I(ce.current);ve.current=G==="mounted"?H:"none"},[G]),(0,m.b)(()=>{const H=ce.current,M=he.current;if(M!==k){const A=ve.current,b=I(H);k?U("MOUNT"):b==="none"||H?.display==="none"?U("UNMOUNT"):U(M&&A!==b?"ANIMATION_OUT":"UNMOUNT"),he.current=k}},[k,U]),(0,m.b)(()=>{if(S){const H=A=>{const b=I(ce.current).includes(A.animationName);A.target===S&&b&&(0,P.flushSync)(()=>U("ANIMATION_END"))},M=A=>{A.target===S&&(ve.current=I(ce.current))};return S.addEventListener("animationstart",M),S.addEventListener("animationcancel",H),S.addEventListener("animationend",H),()=>{S.removeEventListener("animationstart",M),S.removeEventListener("animationcancel",H),S.removeEventListener("animationend",H)}}U("ANIMATION_END")},[S,U]),{isPresent:["mounted","unmountSuspended"].includes(G),ref:(0,e.useCallback)(H=>{H&&(ce.current=getComputedStyle(H)),J(H)},[])}}(c),N=typeof f=="function"?f({present:Z.isPresent}):e.Children.only(f),W=(0,w.e)(Z.ref,N.ref);return typeof f=="function"||Z.isPresent?(0,e.cloneElement)(N,{ref:W}):null};function I(x){return x?.animationName||"none"}v.displayName="Presence"},3119:function(et,fe,t){t.d(fe,{WV:function(){return v},jH:function(){return I}});var e=t(11),P=t(9787),w=t(5156),m=t(4801);const v=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((x,c)=>{const f=(0,P.forwardRef)((Z,N)=>{const{asChild:W,...k}=Z,S=W?m.g7:c;return(0,P.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,P.createElement)(S,(0,e.Z)({},k,{ref:N}))});return f.displayName=`Primitive.${c}`,{...x,[c]:f}},{});function I(x,c){x&&(0,w.flushSync)(()=>x.dispatchEvent(c))}},4801:function(et,fe,t){t.d(fe,{g7:function(){return m}});var e=t(11),P=t(9787),w=t(9335);const m=(0,P.forwardRef)((f,Z)=>{const{children:N,...W}=f,k=P.Children.toArray(N),S=k.find(x);if(S){const J=S.props.children,ce=k.map(he=>he===S?P.Children.count(J)>1?P.Children.only(null):(0,P.isValidElement)(J)?J.props.children:null:he);return(0,P.createElement)(v,(0,e.Z)({},W,{ref:Z}),(0,P.isValidElement)(J)?(0,P.cloneElement)(J,void 0,ce):null)}return(0,P.createElement)(v,(0,e.Z)({},W,{ref:Z}),N)});m.displayName="Slot";const v=(0,P.forwardRef)((f,Z)=>{const{children:N,...W}=f;return(0,P.isValidElement)(N)?(0,P.cloneElement)(N,{...c(W,N.props),ref:(0,w.F)(Z,N.ref)}):P.Children.count(N)>1?P.Children.only(null):null});v.displayName="SlotClone";const I=({children:f})=>(0,P.createElement)(P.Fragment,null,f);function x(f){return(0,P.isValidElement)(f)&&f.type===I}function c(f,Z){const N={...Z};for(const W in Z){const k=f[W],S=Z[W];/^on[A-Z]/.test(W)?k&&S?N[W]=(...J)=>{S(...J),k(...J)}:k&&(N[W]=k):W==="style"?N[W]={...k,...S}:W==="className"&&(N[W]=[k,S].filter(Boolean).join(" "))}return{...f,...N}}},3060:function(et,fe,t){t.d(fe,{W:function(){return P}});var e=t(9787);function P(w){const m=(0,e.useRef)(w);return(0,e.useEffect)(()=>{m.current=w}),(0,e.useMemo)(()=>(...v)=>{var I;return(I=m.current)===null||I===void 0?void 0:I.call(m,...v)},[])}},2673:function(et,fe,t){t.d(fe,{T:function(){return w}});var e=t(9787),P=t(3060);function w({prop:m,defaultProp:v,onChange:I=()=>{}}){const[x,c]=function({defaultProp:W,onChange:k}){const S=(0,e.useState)(W),[J]=S,ce=(0,e.useRef)(J),he=(0,P.W)(k);return(0,e.useEffect)(()=>{ce.current!==J&&(he(J),ce.current=J)},[J,ce,he]),S}({defaultProp:v,onChange:I}),f=m!==void 0,Z=f?m:x,N=(0,P.W)(I);return[Z,(0,e.useCallback)(W=>{if(f){const k=W,S=typeof W=="function"?k(m):W;S!==m&&N(S)}else c(W)},[f,m,c,N])]}},3348:function(et,fe,t){t.d(fe,{b:function(){return P}});var e=t(9787);const P=globalThis?.document?e.useLayoutEffect:()=>{}},45:function(et,fe,t){function e(w){var m,v,I="";if(typeof w=="string"||typeof w=="number")I+=w;else if(typeof w=="object")if(Array.isArray(w))for(m=0;m<w.length;m++)w[m]&&(v=e(w[m]))&&(I&&(I+=" "),I+=v);else for(m in w)w[m]&&(I&&(I+=" "),I+=m);return I}function P(){for(var w,m,v=0,I="";v<arguments.length;)(w=arguments[v++])&&(m=e(w))&&(I&&(I+=" "),I+=m);return I}t.d(fe,{Z:function(){return P}})},6233:function(et,fe){var t;t=function(e){e.version="0.3.0";var P=function(){for(var v=0,I=new Array(256),x=0;x!=256;++x)v=1&(v=1&(v=1&(v=1&(v=1&(v=1&(v=1&(v=1&(v=x)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1,I[x]=v;return typeof Int32Array<"u"?new Int32Array(I):I}(),w=typeof Buffer<"u";function m(v){for(var I=-1,x=0,c=v.length-7;x<c;)I=(I=(I=(I=(I=(I=(I=(I=I>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])];for(;x<c+7;)I=I>>>8^P[255&(I^v[x++])];return-1^I}e.table=P,e.bstr=function(v){if(v.length>32768&&w)return m(new Buffer(v));for(var I=-1,x=v.length-1,c=0;c<x;)I=P[255&(I^v.charCodeAt(c++))]^I>>>8,I=P[255&(I^v.charCodeAt(c++))]^I>>>8;return c===x&&(I=I>>>8^P[255&(I^v.charCodeAt(c))]),-1^I},e.buf=function(v){if(v.length>1e4)return m(v);for(var I=-1,x=0,c=v.length-3;x<c;)I=(I=(I=(I=I>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])])>>>8^P[255&(I^v[x++])];for(;x<c+3;)I=I>>>8^P[255&(I^v[x++])];return-1^I},e.str=function(v){for(var I,x,c=-1,f=0,Z=v.length;f<Z;)(I=v.charCodeAt(f++))<128?c=c>>>8^P[255&(c^I)]:I<2048?c=(c=c>>>8^P[255&(c^(192|I>>6&31))])>>>8^P[255&(c^(128|63&I))]:I>=55296&&I<57344?(I=64+(1023&I),x=1023&v.charCodeAt(f++),c=(c=(c=(c=c>>>8^P[255&(c^(240|I>>8&7))])>>>8^P[255&(c^(128|I>>2&63))])>>>8^P[255&(c^(128|x>>6&15|3&I))])>>>8^P[255&(c^(128|63&x))]):c=(c=(c=c>>>8^P[255&(c^(224|I>>12&15))])>>>8^P[255&(c^(128|I>>6&63))])>>>8^P[255&(c^(128|63&I))];return-1^c}},t(typeof DO_NOT_EXPORT_CRC>"u"?fe:{})},200:function(et,fe,t){var e="Expected a function",P=/^\s+|\s+$/g,w=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,v=/^0o[0-7]+$/i,I=parseInt,x=typeof t.g=="object"&&t.g&&t.g.Object===Object&&t.g,c=typeof self=="object"&&self&&self.Object===Object&&self,f=x||c||Function("return this")(),Z=Object.prototype.toString,N=Math.max,W=Math.min,k=function(){return f.Date.now()};function S(he,ve,le){var G,U,H,M,A,b,y=0,h=!1,d=!1,r=!0;if(typeof he!="function")throw new TypeError(e);function n(L){var _=G,E=U;return G=U=void 0,y=L,M=he.apply(E,_)}function p(L){return y=L,A=setTimeout(l,ve),h?n(L):M}function a(L){var _=L-b;return b===void 0||_>=ve||_<0||d&&L-y>=H}function l(){var L=k();if(a(L))return u(L);A=setTimeout(l,function(_){var E=ve-(_-b);return d?W(E,H-(_-y)):E}(L))}function u(L){return A=void 0,r&&G?n(L):(G=U=void 0,M)}function C(){var L=k(),_=a(L);if(G=arguments,U=this,b=L,_){if(A===void 0)return p(b);if(d)return A=setTimeout(l,ve),n(b)}return A===void 0&&(A=setTimeout(l,ve)),M}return ve=ce(ve)||0,J(le)&&(h=!!le.leading,H=(d="maxWait"in le)?N(ce(le.maxWait)||0,ve):H,r="trailing"in le?!!le.trailing:r),C.cancel=function(){A!==void 0&&clearTimeout(A),y=0,G=b=U=A=void 0},C.flush=function(){return A===void 0?M:u(k())},C}function J(he){var ve=typeof he;return!!he&&(ve=="object"||ve=="function")}function ce(he){if(typeof he=="number")return he;if(function(G){return typeof G=="symbol"||function(U){return!!U&&typeof U=="object"}(G)&&Z.call(G)=="[object Symbol]"}(he))return NaN;if(J(he)){var ve=typeof he.valueOf=="function"?he.valueOf():he;he=J(ve)?ve+"":ve}if(typeof he!="string")return he===0?he:+he;he=he.replace(P,"");var le=m.test(he);return le||v.test(he)?I(he.slice(2),le?2:8):w.test(he)?NaN:+he}et.exports=function(he,ve,le){var G=!0,U=!0;if(typeof he!="function")throw new TypeError(e);return J(le)&&(G="leading"in le?!!le.leading:G,U="trailing"in le?!!le.trailing:U),S(he,ve,{leading:G,maxWait:ve,trailing:U})}},2744:function(et,fe,t){var e={};(0,t(9187).assign)(e,t(4395),t(578),t(2684)),et.exports=e},4395:function(et,fe,t){var e=t(6193),P=t(9187),w=t(8592),m=t(5604),v=t(249),I=Object.prototype.toString;function x(f){if(!(this instanceof x))return new x(f);this.options=P.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},f||{});var Z=this.options;Z.raw&&Z.windowBits>0?Z.windowBits=-Z.windowBits:Z.gzip&&Z.windowBits>0&&Z.windowBits<16&&(Z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new v,this.strm.avail_out=0;var N=e.deflateInit2(this.strm,Z.level,Z.method,Z.windowBits,Z.memLevel,Z.strategy);if(N!==0)throw new Error(m[N]);if(Z.header&&e.deflateSetHeader(this.strm,Z.header),Z.dictionary){var W;if(W=typeof Z.dictionary=="string"?w.string2buf(Z.dictionary):I.call(Z.dictionary)==="[object ArrayBuffer]"?new Uint8Array(Z.dictionary):Z.dictionary,(N=e.deflateSetDictionary(this.strm,W))!==0)throw new Error(m[N]);this._dict_set=!0}}function c(f,Z){var N=new x(Z);if(N.push(f,!0),N.err)throw N.msg||m[N.err];return N.result}x.prototype.push=function(f,Z){var N,W,k=this.strm,S=this.options.chunkSize;if(this.ended)return!1;W=Z===~~Z?Z:Z===!0?4:0,typeof f=="string"?k.input=w.string2buf(f):I.call(f)==="[object ArrayBuffer]"?k.input=new Uint8Array(f):k.input=f,k.next_in=0,k.avail_in=k.input.length;do{if(k.avail_out===0&&(k.output=new P.Buf8(S),k.next_out=0,k.avail_out=S),(N=e.deflate(k,W))!==1&&N!==0)return this.onEnd(N),this.ended=!0,!1;k.avail_out!==0&&(k.avail_in!==0||W!==4&&W!==2)||(this.options.to==="string"?this.onData(w.buf2binstring(P.shrinkBuf(k.output,k.next_out))):this.onData(P.shrinkBuf(k.output,k.next_out)))}while((k.avail_in>0||k.avail_out===0)&&N!==1);return W===4?(N=e.deflateEnd(this.strm),this.onEnd(N),this.ended=!0,N===0):W!==2||(this.onEnd(0),k.avail_out=0,!0)},x.prototype.onData=function(f){this.chunks.push(f)},x.prototype.onEnd=function(f){f===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=P.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg},fe.Deflate=x,fe.deflate=c,fe.deflateRaw=function(f,Z){return(Z=Z||{}).raw=!0,c(f,Z)},fe.gzip=function(f,Z){return(Z=Z||{}).gzip=!0,c(f,Z)}},578:function(et,fe,t){var e=t(7823),P=t(9187),w=t(8592),m=t(2684),v=t(5604),I=t(249),x=t(9968),c=Object.prototype.toString;function f(N){if(!(this instanceof f))return new f(N);this.options=P.assign({chunkSize:16384,windowBits:0,to:""},N||{});var W=this.options;W.raw&&W.windowBits>=0&&W.windowBits<16&&(W.windowBits=-W.windowBits,W.windowBits===0&&(W.windowBits=-15)),!(W.windowBits>=0&&W.windowBits<16)||N&&N.windowBits||(W.windowBits+=32),W.windowBits>15&&W.windowBits<48&&!(15&W.windowBits)&&(W.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new I,this.strm.avail_out=0;var k=e.inflateInit2(this.strm,W.windowBits);if(k!==m.Z_OK)throw new Error(v[k]);if(this.header=new x,e.inflateGetHeader(this.strm,this.header),W.dictionary&&(typeof W.dictionary=="string"?W.dictionary=w.string2buf(W.dictionary):c.call(W.dictionary)==="[object ArrayBuffer]"&&(W.dictionary=new Uint8Array(W.dictionary)),W.raw&&(k=e.inflateSetDictionary(this.strm,W.dictionary))!==m.Z_OK))throw new Error(v[k])}function Z(N,W){var k=new f(W);if(k.push(N,!0),k.err)throw k.msg||v[k.err];return k.result}f.prototype.push=function(N,W){var k,S,J,ce,he,ve=this.strm,le=this.options.chunkSize,G=this.options.dictionary,U=!1;if(this.ended)return!1;S=W===~~W?W:W===!0?m.Z_FINISH:m.Z_NO_FLUSH,typeof N=="string"?ve.input=w.binstring2buf(N):c.call(N)==="[object ArrayBuffer]"?ve.input=new Uint8Array(N):ve.input=N,ve.next_in=0,ve.avail_in=ve.input.length;do{if(ve.avail_out===0&&(ve.output=new P.Buf8(le),ve.next_out=0,ve.avail_out=le),(k=e.inflate(ve,m.Z_NO_FLUSH))===m.Z_NEED_DICT&&G&&(k=e.inflateSetDictionary(this.strm,G)),k===m.Z_BUF_ERROR&&U===!0&&(k=m.Z_OK,U=!1),k!==m.Z_STREAM_END&&k!==m.Z_OK)return this.onEnd(k),this.ended=!0,!1;ve.next_out&&(ve.avail_out!==0&&k!==m.Z_STREAM_END&&(ve.avail_in!==0||S!==m.Z_FINISH&&S!==m.Z_SYNC_FLUSH)||(this.options.to==="string"?(J=w.utf8border(ve.output,ve.next_out),ce=ve.next_out-J,he=w.buf2string(ve.output,J),ve.next_out=ce,ve.avail_out=le-ce,ce&&P.arraySet(ve.output,ve.output,J,ce,0),this.onData(he)):this.onData(P.shrinkBuf(ve.output,ve.next_out)))),ve.avail_in===0&&ve.avail_out===0&&(U=!0)}while((ve.avail_in>0||ve.avail_out===0)&&k!==m.Z_STREAM_END);return k===m.Z_STREAM_END&&(S=m.Z_FINISH),S===m.Z_FINISH?(k=e.inflateEnd(this.strm),this.onEnd(k),this.ended=!0,k===m.Z_OK):S!==m.Z_SYNC_FLUSH||(this.onEnd(m.Z_OK),ve.avail_out=0,!0)},f.prototype.onData=function(N){this.chunks.push(N)},f.prototype.onEnd=function(N){N===m.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=P.flattenChunks(this.chunks)),this.chunks=[],this.err=N,this.msg=this.strm.msg},fe.Inflate=f,fe.inflate=Z,fe.inflateRaw=function(N,W){return(W=W||{}).raw=!0,Z(N,W)},fe.ungzip=Z},9187:function(et,fe){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function e(m,v){return Object.prototype.hasOwnProperty.call(m,v)}fe.assign=function(m){for(var v=Array.prototype.slice.call(arguments,1);v.length;){var I=v.shift();if(I){if(typeof I!="object")throw new TypeError(I+"must be non-object");for(var x in I)e(I,x)&&(m[x]=I[x])}}return m},fe.shrinkBuf=function(m,v){return m.length===v?m:m.subarray?m.subarray(0,v):(m.length=v,m)};var P={arraySet:function(m,v,I,x,c){if(v.subarray&&m.subarray)m.set(v.subarray(I,I+x),c);else for(var f=0;f<x;f++)m[c+f]=v[I+f]},flattenChunks:function(m){var v,I,x,c,f,Z;for(x=0,v=0,I=m.length;v<I;v++)x+=m[v].length;for(Z=new Uint8Array(x),c=0,v=0,I=m.length;v<I;v++)f=m[v],Z.set(f,c),c+=f.length;return Z}},w={arraySet:function(m,v,I,x,c){for(var f=0;f<x;f++)m[c+f]=v[I+f]},flattenChunks:function(m){return[].concat.apply([],m)}};fe.setTyped=function(m){m?(fe.Buf8=Uint8Array,fe.Buf16=Uint16Array,fe.Buf32=Int32Array,fe.assign(fe,P)):(fe.Buf8=Array,fe.Buf16=Array,fe.Buf32=Array,fe.assign(fe,w))},fe.setTyped(t)},8592:function(et,fe,t){var e=t(9187),P=!0,w=!0;try{String.fromCharCode.apply(null,[0])}catch{P=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{w=!1}for(var m=new e.Buf8(256),v=0;v<256;v++)m[v]=v>=252?6:v>=248?5:v>=240?4:v>=224?3:v>=192?2:1;function I(x,c){if(c<65534&&(x.subarray&&w||!x.subarray&&P))return String.fromCharCode.apply(null,e.shrinkBuf(x,c));for(var f="",Z=0;Z<c;Z++)f+=String.fromCharCode(x[Z]);return f}m[254]=m[254]=1,fe.string2buf=function(x){var c,f,Z,N,W,k=x.length,S=0;for(N=0;N<k;N++)(64512&(f=x.charCodeAt(N)))==55296&&N+1<k&&(64512&(Z=x.charCodeAt(N+1)))==56320&&(f=65536+(f-55296<<10)+(Z-56320),N++),S+=f<128?1:f<2048?2:f<65536?3:4;for(c=new e.Buf8(S),W=0,N=0;W<S;N++)(64512&(f=x.charCodeAt(N)))==55296&&N+1<k&&(64512&(Z=x.charCodeAt(N+1)))==56320&&(f=65536+(f-55296<<10)+(Z-56320),N++),f<128?c[W++]=f:f<2048?(c[W++]=192|f>>>6,c[W++]=128|63&f):f<65536?(c[W++]=224|f>>>12,c[W++]=128|f>>>6&63,c[W++]=128|63&f):(c[W++]=240|f>>>18,c[W++]=128|f>>>12&63,c[W++]=128|f>>>6&63,c[W++]=128|63&f);return c},fe.buf2binstring=function(x){return I(x,x.length)},fe.binstring2buf=function(x){for(var c=new e.Buf8(x.length),f=0,Z=c.length;f<Z;f++)c[f]=x.charCodeAt(f);return c},fe.buf2string=function(x,c){var f,Z,N,W,k=c||x.length,S=new Array(2*k);for(Z=0,f=0;f<k;)if((N=x[f++])<128)S[Z++]=N;else if((W=m[N])>4)S[Z++]=65533,f+=W-1;else{for(N&=W===2?31:W===3?15:7;W>1&&f<k;)N=N<<6|63&x[f++],W--;W>1?S[Z++]=65533:N<65536?S[Z++]=N:(N-=65536,S[Z++]=55296|N>>10&1023,S[Z++]=56320|1023&N)}return I(S,Z)},fe.utf8border=function(x,c){var f;for((c=c||x.length)>x.length&&(c=x.length),f=c-1;f>=0&&(192&x[f])==128;)f--;return f<0||f===0?c:f+m[x[f]]>c?f:c}},3693:function(et){et.exports=function(fe,t,e,P){for(var w=65535&fe|0,m=fe>>>16&65535|0,v=0;e!==0;){e-=v=e>2e3?2e3:e;do m=m+(w=w+t[P++]|0)|0;while(--v);w%=65521,m%=65521}return w|m<<16|0}},2684:function(et){et.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},8464:function(et){var fe=function(){for(var t,e=[],P=0;P<256;P++){t=P;for(var w=0;w<8;w++)t=1&t?3988292384^t>>>1:t>>>1;e[P]=t}return e}();et.exports=function(t,e,P,w){var m=fe,v=w+P;t^=-1;for(var I=w;I<v;I++)t=t>>>8^m[255&(t^e[I])];return-1^t}},6193:function(et,fe,t){var e,P=t(9187),w=t(8676),m=t(3693),v=t(8464),I=t(5604),x=-2,c=258,f=262,Z=103,N=113,W=666;function k(r,n){return r.msg=I[n],n}function S(r){return(r<<1)-(r>4?9:0)}function J(r){for(var n=r.length;--n>=0;)r[n]=0}function ce(r){var n=r.state,p=n.pending;p>r.avail_out&&(p=r.avail_out),p!==0&&(P.arraySet(r.output,n.pending_buf,n.pending_out,p,r.next_out),r.next_out+=p,n.pending_out+=p,r.total_out+=p,r.avail_out-=p,n.pending-=p,n.pending===0&&(n.pending_out=0))}function he(r,n){w._tr_flush_block(r,r.block_start>=0?r.block_start:-1,r.strstart-r.block_start,n),r.block_start=r.strstart,ce(r.strm)}function ve(r,n){r.pending_buf[r.pending++]=n}function le(r,n){r.pending_buf[r.pending++]=n>>>8&255,r.pending_buf[r.pending++]=255&n}function G(r,n){var p,a,l=r.max_chain_length,u=r.strstart,C=r.prev_length,L=r.nice_match,_=r.strstart>r.w_size-f?r.strstart-(r.w_size-f):0,E=r.window,D=r.w_mask,F=r.prev,ee=r.strstart+c,te=E[u+C-1],re=E[u+C];r.prev_length>=r.good_match&&(l>>=2),L>r.lookahead&&(L=r.lookahead);do if(E[(p=n)+C]===re&&E[p+C-1]===te&&E[p]===E[u]&&E[++p]===E[u+1]){u+=2,p++;do;while(E[++u]===E[++p]&&E[++u]===E[++p]&&E[++u]===E[++p]&&E[++u]===E[++p]&&E[++u]===E[++p]&&E[++u]===E[++p]&&E[++u]===E[++p]&&E[++u]===E[++p]&&u<ee);if(a=c-(ee-u),u=ee-c,a>C){if(r.match_start=n,C=a,a>=L)break;te=E[u+C-1],re=E[u+C]}}while((n=F[n&D])>_&&--l!=0);return C<=r.lookahead?C:r.lookahead}function U(r){var n,p,a,l,u,C,L,_,E,D,F=r.w_size;do{if(l=r.window_size-r.lookahead-r.strstart,r.strstart>=F+(F-f)){P.arraySet(r.window,r.window,F,F,0),r.match_start-=F,r.strstart-=F,r.block_start-=F,n=p=r.hash_size;do a=r.head[--n],r.head[n]=a>=F?a-F:0;while(--p);n=p=F;do a=r.prev[--n],r.prev[n]=a>=F?a-F:0;while(--p);l+=F}if(r.strm.avail_in===0)break;if(C=r.strm,L=r.window,_=r.strstart+r.lookahead,E=l,D=void 0,(D=C.avail_in)>E&&(D=E),p=D===0?0:(C.avail_in-=D,P.arraySet(L,C.input,C.next_in,D,_),C.state.wrap===1?C.adler=m(C.adler,L,D,_):C.state.wrap===2&&(C.adler=v(C.adler,L,D,_)),C.next_in+=D,C.total_in+=D,D),r.lookahead+=p,r.lookahead+r.insert>=3)for(u=r.strstart-r.insert,r.ins_h=r.window[u],r.ins_h=(r.ins_h<<r.hash_shift^r.window[u+1])&r.hash_mask;r.insert&&(r.ins_h=(r.ins_h<<r.hash_shift^r.window[u+3-1])&r.hash_mask,r.prev[u&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=u,u++,r.insert--,!(r.lookahead+r.insert<3)););}while(r.lookahead<f&&r.strm.avail_in!==0)}function H(r,n){for(var p,a;;){if(r.lookahead<f){if(U(r),r.lookahead<f&&n===0)return 1;if(r.lookahead===0)break}if(p=0,r.lookahead>=3&&(r.ins_h=(r.ins_h<<r.hash_shift^r.window[r.strstart+3-1])&r.hash_mask,p=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart),p!==0&&r.strstart-p<=r.w_size-f&&(r.match_length=G(r,p)),r.match_length>=3)if(a=w._tr_tally(r,r.strstart-r.match_start,r.match_length-3),r.lookahead-=r.match_length,r.match_length<=r.max_lazy_match&&r.lookahead>=3){r.match_length--;do r.strstart++,r.ins_h=(r.ins_h<<r.hash_shift^r.window[r.strstart+3-1])&r.hash_mask,p=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart;while(--r.match_length!=0);r.strstart++}else r.strstart+=r.match_length,r.match_length=0,r.ins_h=r.window[r.strstart],r.ins_h=(r.ins_h<<r.hash_shift^r.window[r.strstart+1])&r.hash_mask;else a=w._tr_tally(r,0,r.window[r.strstart]),r.lookahead--,r.strstart++;if(a&&(he(r,!1),r.strm.avail_out===0))return 1}return r.insert=r.strstart<2?r.strstart:2,n===4?(he(r,!0),r.strm.avail_out===0?3:4):r.last_lit&&(he(r,!1),r.strm.avail_out===0)?1:2}function M(r,n){for(var p,a,l;;){if(r.lookahead<f){if(U(r),r.lookahead<f&&n===0)return 1;if(r.lookahead===0)break}if(p=0,r.lookahead>=3&&(r.ins_h=(r.ins_h<<r.hash_shift^r.window[r.strstart+3-1])&r.hash_mask,p=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart),r.prev_length=r.match_length,r.prev_match=r.match_start,r.match_length=2,p!==0&&r.prev_length<r.max_lazy_match&&r.strstart-p<=r.w_size-f&&(r.match_length=G(r,p),r.match_length<=5&&(r.strategy===1||r.match_length===3&&r.strstart-r.match_start>4096)&&(r.match_length=2)),r.prev_length>=3&&r.match_length<=r.prev_length){l=r.strstart+r.lookahead-3,a=w._tr_tally(r,r.strstart-1-r.prev_match,r.prev_length-3),r.lookahead-=r.prev_length-1,r.prev_length-=2;do++r.strstart<=l&&(r.ins_h=(r.ins_h<<r.hash_shift^r.window[r.strstart+3-1])&r.hash_mask,p=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart);while(--r.prev_length!=0);if(r.match_available=0,r.match_length=2,r.strstart++,a&&(he(r,!1),r.strm.avail_out===0))return 1}else if(r.match_available){if((a=w._tr_tally(r,0,r.window[r.strstart-1]))&&he(r,!1),r.strstart++,r.lookahead--,r.strm.avail_out===0)return 1}else r.match_available=1,r.strstart++,r.lookahead--}return r.match_available&&(a=w._tr_tally(r,0,r.window[r.strstart-1]),r.match_available=0),r.insert=r.strstart<2?r.strstart:2,n===4?(he(r,!0),r.strm.avail_out===0?3:4):r.last_lit&&(he(r,!1),r.strm.avail_out===0)?1:2}function A(r,n,p,a,l){this.good_length=r,this.max_lazy=n,this.nice_length=p,this.max_chain=a,this.func=l}function b(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new P.Buf16(1146),this.dyn_dtree=new P.Buf16(122),this.bl_tree=new P.Buf16(78),J(this.dyn_ltree),J(this.dyn_dtree),J(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new P.Buf16(16),this.heap=new P.Buf16(573),J(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new P.Buf16(573),J(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function y(r){var n;return r&&r.state?(r.total_in=r.total_out=0,r.data_type=2,(n=r.state).pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap?42:N,r.adler=n.wrap===2?0:1,n.last_flush=0,w._tr_init(n),0):k(r,x)}function h(r){var n,p=y(r);return p===0&&((n=r.state).window_size=2*n.w_size,J(n.head),n.max_lazy_match=e[n.level].max_lazy,n.good_match=e[n.level].good_length,n.nice_match=e[n.level].nice_length,n.max_chain_length=e[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=2,n.match_available=0,n.ins_h=0),p}function d(r,n,p,a,l,u){if(!r)return x;var C=1;if(n===-1&&(n=6),a<0?(C=0,a=-a):a>15&&(C=2,a-=16),l<1||l>9||p!==8||a<8||a>15||n<0||n>9||u<0||u>4)return k(r,x);a===8&&(a=9);var L=new b;return r.state=L,L.strm=r,L.wrap=C,L.gzhead=null,L.w_bits=a,L.w_size=1<<L.w_bits,L.w_mask=L.w_size-1,L.hash_bits=l+7,L.hash_size=1<<L.hash_bits,L.hash_mask=L.hash_size-1,L.hash_shift=~~((L.hash_bits+3-1)/3),L.window=new P.Buf8(2*L.w_size),L.head=new P.Buf16(L.hash_size),L.prev=new P.Buf16(L.w_size),L.lit_bufsize=1<<l+6,L.pending_buf_size=4*L.lit_bufsize,L.pending_buf=new P.Buf8(L.pending_buf_size),L.d_buf=1*L.lit_bufsize,L.l_buf=3*L.lit_bufsize,L.level=n,L.strategy=u,L.method=p,h(r)}e=[new A(0,0,0,0,function(r,n){var p=65535;for(p>r.pending_buf_size-5&&(p=r.pending_buf_size-5);;){if(r.lookahead<=1){if(U(r),r.lookahead===0&&n===0)return 1;if(r.lookahead===0)break}r.strstart+=r.lookahead,r.lookahead=0;var a=r.block_start+p;if((r.strstart===0||r.strstart>=a)&&(r.lookahead=r.strstart-a,r.strstart=a,he(r,!1),r.strm.avail_out===0)||r.strstart-r.block_start>=r.w_size-f&&(he(r,!1),r.strm.avail_out===0))return 1}return r.insert=0,n===4?(he(r,!0),r.strm.avail_out===0?3:4):(r.strstart>r.block_start&&(he(r,!1),r.strm.avail_out),1)}),new A(4,4,8,4,H),new A(4,5,16,8,H),new A(4,6,32,32,H),new A(4,4,16,16,M),new A(8,16,32,32,M),new A(8,16,128,128,M),new A(8,32,128,256,M),new A(32,128,258,1024,M),new A(32,258,258,4096,M)],fe.deflateInit=function(r,n){return d(r,n,8,15,8,0)},fe.deflateInit2=d,fe.deflateReset=h,fe.deflateResetKeep=y,fe.deflateSetHeader=function(r,n){return r&&r.state?r.state.wrap!==2?x:(r.state.gzhead=n,0):x},fe.deflate=function(r,n){var p,a,l,u;if(!r||!r.state||n>5||n<0)return r?k(r,x):x;if(a=r.state,!r.output||!r.input&&r.avail_in!==0||a.status===W&&n!==4)return k(r,r.avail_out===0?-5:x);if(a.strm=r,p=a.last_flush,a.last_flush=n,a.status===42)if(a.wrap===2)r.adler=0,ve(a,31),ve(a,139),ve(a,8),a.gzhead?(ve(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),ve(a,255&a.gzhead.time),ve(a,a.gzhead.time>>8&255),ve(a,a.gzhead.time>>16&255),ve(a,a.gzhead.time>>24&255),ve(a,a.level===9?2:a.strategy>=2||a.level<2?4:0),ve(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(ve(a,255&a.gzhead.extra.length),ve(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(r.adler=v(r.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69):(ve(a,0),ve(a,0),ve(a,0),ve(a,0),ve(a,0),ve(a,a.level===9?2:a.strategy>=2||a.level<2?4:0),ve(a,3),a.status=N);else{var C=8+(a.w_bits-8<<4)<<8;C|=(a.strategy>=2||a.level<2?0:a.level<6?1:a.level===6?2:3)<<6,a.strstart!==0&&(C|=32),C+=31-C%31,a.status=N,le(a,C),a.strstart!==0&&(le(a,r.adler>>>16),le(a,65535&r.adler)),r.adler=1}if(a.status===69)if(a.gzhead.extra){for(l=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>l&&(r.adler=v(r.adler,a.pending_buf,a.pending-l,l)),ce(r),l=a.pending,a.pending!==a.pending_buf_size));)ve(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>l&&(r.adler=v(r.adler,a.pending_buf,a.pending-l,l)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=73)}else a.status=73;if(a.status===73)if(a.gzhead.name){l=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>l&&(r.adler=v(r.adler,a.pending_buf,a.pending-l,l)),ce(r),l=a.pending,a.pending===a.pending_buf_size)){u=1;break}u=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,ve(a,u)}while(u!==0);a.gzhead.hcrc&&a.pending>l&&(r.adler=v(r.adler,a.pending_buf,a.pending-l,l)),u===0&&(a.gzindex=0,a.status=91)}else a.status=91;if(a.status===91)if(a.gzhead.comment){l=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>l&&(r.adler=v(r.adler,a.pending_buf,a.pending-l,l)),ce(r),l=a.pending,a.pending===a.pending_buf_size)){u=1;break}u=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,ve(a,u)}while(u!==0);a.gzhead.hcrc&&a.pending>l&&(r.adler=v(r.adler,a.pending_buf,a.pending-l,l)),u===0&&(a.status=Z)}else a.status=Z;if(a.status===Z&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&ce(r),a.pending+2<=a.pending_buf_size&&(ve(a,255&r.adler),ve(a,r.adler>>8&255),r.adler=0,a.status=N)):a.status=N),a.pending!==0){if(ce(r),r.avail_out===0)return a.last_flush=-1,0}else if(r.avail_in===0&&S(n)<=S(p)&&n!==4)return k(r,-5);if(a.status===W&&r.avail_in!==0)return k(r,-5);if(r.avail_in!==0||a.lookahead!==0||n!==0&&a.status!==W){var L=a.strategy===2?function(_,E){for(var D;;){if(_.lookahead===0&&(U(_),_.lookahead===0)){if(E===0)return 1;break}if(_.match_length=0,D=w._tr_tally(_,0,_.window[_.strstart]),_.lookahead--,_.strstart++,D&&(he(_,!1),_.strm.avail_out===0))return 1}return _.insert=0,E===4?(he(_,!0),_.strm.avail_out===0?3:4):_.last_lit&&(he(_,!1),_.strm.avail_out===0)?1:2}(a,n):a.strategy===3?function(_,E){for(var D,F,ee,te,re=_.window;;){if(_.lookahead<=c){if(U(_),_.lookahead<=c&&E===0)return 1;if(_.lookahead===0)break}if(_.match_length=0,_.lookahead>=3&&_.strstart>0&&(F=re[ee=_.strstart-1])===re[++ee]&&F===re[++ee]&&F===re[++ee]){te=_.strstart+c;do;while(F===re[++ee]&&F===re[++ee]&&F===re[++ee]&&F===re[++ee]&&F===re[++ee]&&F===re[++ee]&&F===re[++ee]&&F===re[++ee]&&ee<te);_.match_length=c-(te-ee),_.match_length>_.lookahead&&(_.match_length=_.lookahead)}if(_.match_length>=3?(D=w._tr_tally(_,1,_.match_length-3),_.lookahead-=_.match_length,_.strstart+=_.match_length,_.match_length=0):(D=w._tr_tally(_,0,_.window[_.strstart]),_.lookahead--,_.strstart++),D&&(he(_,!1),_.strm.avail_out===0))return 1}return _.insert=0,E===4?(he(_,!0),_.strm.avail_out===0?3:4):_.last_lit&&(he(_,!1),_.strm.avail_out===0)?1:2}(a,n):e[a.level].func(a,n);if(L!==3&&L!==4||(a.status=W),L===1||L===3)return r.avail_out===0&&(a.last_flush=-1),0;if(L===2&&(n===1?w._tr_align(a):n!==5&&(w._tr_stored_block(a,0,0,!1),n===3&&(J(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),ce(r),r.avail_out===0))return a.last_flush=-1,0}return n!==4?0:a.wrap<=0?1:(a.wrap===2?(ve(a,255&r.adler),ve(a,r.adler>>8&255),ve(a,r.adler>>16&255),ve(a,r.adler>>24&255),ve(a,255&r.total_in),ve(a,r.total_in>>8&255),ve(a,r.total_in>>16&255),ve(a,r.total_in>>24&255)):(le(a,r.adler>>>16),le(a,65535&r.adler)),ce(r),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?0:1)},fe.deflateEnd=function(r){var n;return r&&r.state?(n=r.state.status)!==42&&n!==69&&n!==73&&n!==91&&n!==Z&&n!==N&&n!==W?k(r,x):(r.state=null,n===N?k(r,-3):0):x},fe.deflateSetDictionary=function(r,n){var p,a,l,u,C,L,_,E,D=n.length;if(!r||!r.state||(u=(p=r.state).wrap)===2||u===1&&p.status!==42||p.lookahead)return x;for(u===1&&(r.adler=m(r.adler,n,D,0)),p.wrap=0,D>=p.w_size&&(u===0&&(J(p.head),p.strstart=0,p.block_start=0,p.insert=0),E=new P.Buf8(p.w_size),P.arraySet(E,n,D-p.w_size,p.w_size,0),n=E,D=p.w_size),C=r.avail_in,L=r.next_in,_=r.input,r.avail_in=D,r.next_in=0,r.input=n,U(p);p.lookahead>=3;){a=p.strstart,l=p.lookahead-2;do p.ins_h=(p.ins_h<<p.hash_shift^p.window[a+3-1])&p.hash_mask,p.prev[a&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=a,a++;while(--l);p.strstart=a,p.lookahead=2,U(p)}return p.strstart+=p.lookahead,p.block_start=p.strstart,p.insert=p.lookahead,p.lookahead=0,p.match_length=p.prev_length=2,p.match_available=0,r.next_in=L,r.input=_,r.avail_in=C,p.wrap=u,0},fe.deflateInfo="pako deflate (from Nodeca project)"},9968:function(et){et.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},9365:function(et){et.exports=function(fe,t){var e,P,w,m,v,I,x,c,f,Z,N,W,k,S,J,ce,he,ve,le,G,U,H,M,A,b;e=fe.state,P=fe.next_in,A=fe.input,w=P+(fe.avail_in-5),m=fe.next_out,b=fe.output,v=m-(t-fe.avail_out),I=m+(fe.avail_out-257),x=e.dmax,c=e.wsize,f=e.whave,Z=e.wnext,N=e.window,W=e.hold,k=e.bits,S=e.lencode,J=e.distcode,ce=(1<<e.lenbits)-1,he=(1<<e.distbits)-1;e:do{k<15&&(W+=A[P++]<<k,k+=8,W+=A[P++]<<k,k+=8),ve=S[W&ce];t:for(;;){if(W>>>=le=ve>>>24,k-=le,(le=ve>>>16&255)===0)b[m++]=65535&ve;else{if(!(16&le)){if(!(64&le)){ve=S[(65535&ve)+(W&(1<<le)-1)];continue t}if(32&le){e.mode=12;break e}fe.msg="invalid literal/length code",e.mode=30;break e}G=65535&ve,(le&=15)&&(k<le&&(W+=A[P++]<<k,k+=8),G+=W&(1<<le)-1,W>>>=le,k-=le),k<15&&(W+=A[P++]<<k,k+=8,W+=A[P++]<<k,k+=8),ve=J[W&he];r:for(;;){if(W>>>=le=ve>>>24,k-=le,!(16&(le=ve>>>16&255))){if(!(64&le)){ve=J[(65535&ve)+(W&(1<<le)-1)];continue r}fe.msg="invalid distance code",e.mode=30;break e}if(U=65535&ve,k<(le&=15)&&(W+=A[P++]<<k,(k+=8)<le&&(W+=A[P++]<<k,k+=8)),(U+=W&(1<<le)-1)>x){fe.msg="invalid distance too far back",e.mode=30;break e}if(W>>>=le,k-=le,U>(le=m-v)){if((le=U-le)>f&&e.sane){fe.msg="invalid distance too far back",e.mode=30;break e}if(H=0,M=N,Z===0){if(H+=c-le,le<G){G-=le;do b[m++]=N[H++];while(--le);H=m-U,M=b}}else if(Z<le){if(H+=c+Z-le,(le-=Z)<G){G-=le;do b[m++]=N[H++];while(--le);if(H=0,Z<G){G-=le=Z;do b[m++]=N[H++];while(--le);H=m-U,M=b}}}else if(H+=Z-le,le<G){G-=le;do b[m++]=N[H++];while(--le);H=m-U,M=b}for(;G>2;)b[m++]=M[H++],b[m++]=M[H++],b[m++]=M[H++],G-=3;G&&(b[m++]=M[H++],G>1&&(b[m++]=M[H++]))}else{H=m-U;do b[m++]=b[H++],b[m++]=b[H++],b[m++]=b[H++],G-=3;while(G>2);G&&(b[m++]=b[H++],G>1&&(b[m++]=b[H++]))}break}}break}}while(P<w&&m<I);P-=G=k>>3,W&=(1<<(k-=G<<3))-1,fe.next_in=P,fe.next_out=m,fe.avail_in=P<w?w-P+5:5-(P-w),fe.avail_out=m<I?I-m+257:257-(m-I),e.hold=W,e.bits=k}},7823:function(et,fe,t){var e=t(9187),P=t(3693),w=t(8464),m=t(9365),v=t(6446),I=-2,x=12,c=30;function f(G){return(G>>>24&255)+(G>>>8&65280)+((65280&G)<<8)+((255&G)<<24)}function Z(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new e.Buf16(320),this.work=new e.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function N(G){var U;return G&&G.state?(U=G.state,G.total_in=G.total_out=U.total=0,G.msg="",U.wrap&&(G.adler=1&U.wrap),U.mode=1,U.last=0,U.havedict=0,U.dmax=32768,U.head=null,U.hold=0,U.bits=0,U.lencode=U.lendyn=new e.Buf32(852),U.distcode=U.distdyn=new e.Buf32(592),U.sane=1,U.back=-1,0):I}function W(G){var U;return G&&G.state?((U=G.state).wsize=0,U.whave=0,U.wnext=0,N(G)):I}function k(G,U){var H,M;return G&&G.state?(M=G.state,U<0?(H=0,U=-U):(H=1+(U>>4),U<48&&(U&=15)),U&&(U<8||U>15)?I:(M.window!==null&&M.wbits!==U&&(M.window=null),M.wrap=H,M.wbits=U,W(G))):I}function S(G,U){var H,M;return G?(M=new Z,G.state=M,M.window=null,(H=k(G,U))!==0&&(G.state=null),H):I}var J,ce,he=!0;function ve(G){if(he){var U;for(J=new e.Buf32(512),ce=new e.Buf32(32),U=0;U<144;)G.lens[U++]=8;for(;U<256;)G.lens[U++]=9;for(;U<280;)G.lens[U++]=7;for(;U<288;)G.lens[U++]=8;for(v(1,G.lens,0,288,J,0,G.work,{bits:9}),U=0;U<32;)G.lens[U++]=5;v(2,G.lens,0,32,ce,0,G.work,{bits:5}),he=!1}G.lencode=J,G.lenbits=9,G.distcode=ce,G.distbits=5}function le(G,U,H,M){var A,b=G.state;return b.window===null&&(b.wsize=1<<b.wbits,b.wnext=0,b.whave=0,b.window=new e.Buf8(b.wsize)),M>=b.wsize?(e.arraySet(b.window,U,H-b.wsize,b.wsize,0),b.wnext=0,b.whave=b.wsize):((A=b.wsize-b.wnext)>M&&(A=M),e.arraySet(b.window,U,H-M,A,b.wnext),(M-=A)?(e.arraySet(b.window,U,H-M,M,0),b.wnext=M,b.whave=b.wsize):(b.wnext+=A,b.wnext===b.wsize&&(b.wnext=0),b.whave<b.wsize&&(b.whave+=A))),0}fe.inflateReset=W,fe.inflateReset2=k,fe.inflateResetKeep=N,fe.inflateInit=function(G){return S(G,15)},fe.inflateInit2=S,fe.inflate=function(G,U){var H,M,A,b,y,h,d,r,n,p,a,l,u,C,L,_,E,D,F,ee,te,re,oe,Y,V=0,ie=new e.Buf8(4),we=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!G||!G.state||!G.output||!G.input&&G.avail_in!==0)return I;(H=G.state).mode===x&&(H.mode=13),y=G.next_out,A=G.output,d=G.avail_out,b=G.next_in,M=G.input,h=G.avail_in,r=H.hold,n=H.bits,p=h,a=d,re=0;e:for(;;)switch(H.mode){case 1:if(H.wrap===0){H.mode=13;break}for(;n<16;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(2&H.wrap&&r===35615){H.check=0,ie[0]=255&r,ie[1]=r>>>8&255,H.check=w(H.check,ie,2,0),r=0,n=0,H.mode=2;break}if(H.flags=0,H.head&&(H.head.done=!1),!(1&H.wrap)||(((255&r)<<8)+(r>>8))%31){G.msg="incorrect header check",H.mode=c;break}if((15&r)!=8){G.msg="unknown compression method",H.mode=c;break}if(n-=4,te=8+(15&(r>>>=4)),H.wbits===0)H.wbits=te;else if(te>H.wbits){G.msg="invalid window size",H.mode=c;break}H.dmax=1<<te,G.adler=H.check=1,H.mode=512&r?10:x,r=0,n=0;break;case 2:for(;n<16;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(H.flags=r,(255&H.flags)!=8){G.msg="unknown compression method",H.mode=c;break}if(57344&H.flags){G.msg="unknown header flags set",H.mode=c;break}H.head&&(H.head.text=r>>8&1),512&H.flags&&(ie[0]=255&r,ie[1]=r>>>8&255,H.check=w(H.check,ie,2,0)),r=0,n=0,H.mode=3;case 3:for(;n<32;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}H.head&&(H.head.time=r),512&H.flags&&(ie[0]=255&r,ie[1]=r>>>8&255,ie[2]=r>>>16&255,ie[3]=r>>>24&255,H.check=w(H.check,ie,4,0)),r=0,n=0,H.mode=4;case 4:for(;n<16;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}H.head&&(H.head.xflags=255&r,H.head.os=r>>8),512&H.flags&&(ie[0]=255&r,ie[1]=r>>>8&255,H.check=w(H.check,ie,2,0)),r=0,n=0,H.mode=5;case 5:if(1024&H.flags){for(;n<16;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}H.length=r,H.head&&(H.head.extra_len=r),512&H.flags&&(ie[0]=255&r,ie[1]=r>>>8&255,H.check=w(H.check,ie,2,0)),r=0,n=0}else H.head&&(H.head.extra=null);H.mode=6;case 6:if(1024&H.flags&&((l=H.length)>h&&(l=h),l&&(H.head&&(te=H.head.extra_len-H.length,H.head.extra||(H.head.extra=new Array(H.head.extra_len)),e.arraySet(H.head.extra,M,b,l,te)),512&H.flags&&(H.check=w(H.check,M,l,b)),h-=l,b+=l,H.length-=l),H.length))break e;H.length=0,H.mode=7;case 7:if(2048&H.flags){if(h===0)break e;l=0;do te=M[b+l++],H.head&&te&&H.length<65536&&(H.head.name+=String.fromCharCode(te));while(te&&l<h);if(512&H.flags&&(H.check=w(H.check,M,l,b)),h-=l,b+=l,te)break e}else H.head&&(H.head.name=null);H.length=0,H.mode=8;case 8:if(4096&H.flags){if(h===0)break e;l=0;do te=M[b+l++],H.head&&te&&H.length<65536&&(H.head.comment+=String.fromCharCode(te));while(te&&l<h);if(512&H.flags&&(H.check=w(H.check,M,l,b)),h-=l,b+=l,te)break e}else H.head&&(H.head.comment=null);H.mode=9;case 9:if(512&H.flags){for(;n<16;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(r!==(65535&H.check)){G.msg="header crc mismatch",H.mode=c;break}r=0,n=0}H.head&&(H.head.hcrc=H.flags>>9&1,H.head.done=!0),G.adler=H.check=0,H.mode=x;break;case 10:for(;n<32;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}G.adler=H.check=f(r),r=0,n=0,H.mode=11;case 11:if(H.havedict===0)return G.next_out=y,G.avail_out=d,G.next_in=b,G.avail_in=h,H.hold=r,H.bits=n,2;G.adler=H.check=1,H.mode=x;case x:if(U===5||U===6)break e;case 13:if(H.last){r>>>=7&n,n-=7&n,H.mode=27;break}for(;n<3;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}switch(H.last=1&r,n-=1,3&(r>>>=1)){case 0:H.mode=14;break;case 1:if(ve(H),H.mode=20,U===6){r>>>=2,n-=2;break e}break;case 2:H.mode=17;break;case 3:G.msg="invalid block type",H.mode=c}r>>>=2,n-=2;break;case 14:for(r>>>=7&n,n-=7&n;n<32;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if((65535&r)!=(r>>>16^65535)){G.msg="invalid stored block lengths",H.mode=c;break}if(H.length=65535&r,r=0,n=0,H.mode=15,U===6)break e;case 15:H.mode=16;case 16:if(l=H.length){if(l>h&&(l=h),l>d&&(l=d),l===0)break e;e.arraySet(A,M,b,l,y),h-=l,b+=l,d-=l,y+=l,H.length-=l;break}H.mode=x;break;case 17:for(;n<14;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(H.nlen=257+(31&r),r>>>=5,n-=5,H.ndist=1+(31&r),r>>>=5,n-=5,H.ncode=4+(15&r),r>>>=4,n-=4,H.nlen>286||H.ndist>30){G.msg="too many length or distance symbols",H.mode=c;break}H.have=0,H.mode=18;case 18:for(;H.have<H.ncode;){for(;n<3;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}H.lens[we[H.have++]]=7&r,r>>>=3,n-=3}for(;H.have<19;)H.lens[we[H.have++]]=0;if(H.lencode=H.lendyn,H.lenbits=7,oe={bits:H.lenbits},re=v(0,H.lens,0,19,H.lencode,0,H.work,oe),H.lenbits=oe.bits,re){G.msg="invalid code lengths set",H.mode=c;break}H.have=0,H.mode=19;case 19:for(;H.have<H.nlen+H.ndist;){for(;_=(V=H.lencode[r&(1<<H.lenbits)-1])>>>16&255,E=65535&V,!((L=V>>>24)<=n);){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(E<16)r>>>=L,n-=L,H.lens[H.have++]=E;else{if(E===16){for(Y=L+2;n<Y;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(r>>>=L,n-=L,H.have===0){G.msg="invalid bit length repeat",H.mode=c;break}te=H.lens[H.have-1],l=3+(3&r),r>>>=2,n-=2}else if(E===17){for(Y=L+3;n<Y;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}n-=L,te=0,l=3+(7&(r>>>=L)),r>>>=3,n-=3}else{for(Y=L+7;n<Y;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}n-=L,te=0,l=11+(127&(r>>>=L)),r>>>=7,n-=7}if(H.have+l>H.nlen+H.ndist){G.msg="invalid bit length repeat",H.mode=c;break}for(;l--;)H.lens[H.have++]=te}}if(H.mode===c)break;if(H.lens[256]===0){G.msg="invalid code -- missing end-of-block",H.mode=c;break}if(H.lenbits=9,oe={bits:H.lenbits},re=v(1,H.lens,0,H.nlen,H.lencode,0,H.work,oe),H.lenbits=oe.bits,re){G.msg="invalid literal/lengths set",H.mode=c;break}if(H.distbits=6,H.distcode=H.distdyn,oe={bits:H.distbits},re=v(2,H.lens,H.nlen,H.ndist,H.distcode,0,H.work,oe),H.distbits=oe.bits,re){G.msg="invalid distances set",H.mode=c;break}if(H.mode=20,U===6)break e;case 20:H.mode=21;case 21:if(h>=6&&d>=258){G.next_out=y,G.avail_out=d,G.next_in=b,G.avail_in=h,H.hold=r,H.bits=n,m(G,a),y=G.next_out,A=G.output,d=G.avail_out,b=G.next_in,M=G.input,h=G.avail_in,r=H.hold,n=H.bits,H.mode===x&&(H.back=-1);break}for(H.back=0;_=(V=H.lencode[r&(1<<H.lenbits)-1])>>>16&255,E=65535&V,!((L=V>>>24)<=n);){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(_&&!(240&_)){for(D=L,F=_,ee=E;_=(V=H.lencode[ee+((r&(1<<D+F)-1)>>D)])>>>16&255,E=65535&V,!(D+(L=V>>>24)<=n);){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}r>>>=D,n-=D,H.back+=D}if(r>>>=L,n-=L,H.back+=L,H.length=E,_===0){H.mode=26;break}if(32&_){H.back=-1,H.mode=x;break}if(64&_){G.msg="invalid literal/length code",H.mode=c;break}H.extra=15&_,H.mode=22;case 22:if(H.extra){for(Y=H.extra;n<Y;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}H.length+=r&(1<<H.extra)-1,r>>>=H.extra,n-=H.extra,H.back+=H.extra}H.was=H.length,H.mode=23;case 23:for(;_=(V=H.distcode[r&(1<<H.distbits)-1])>>>16&255,E=65535&V,!((L=V>>>24)<=n);){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(!(240&_)){for(D=L,F=_,ee=E;_=(V=H.distcode[ee+((r&(1<<D+F)-1)>>D)])>>>16&255,E=65535&V,!(D+(L=V>>>24)<=n);){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}r>>>=D,n-=D,H.back+=D}if(r>>>=L,n-=L,H.back+=L,64&_){G.msg="invalid distance code",H.mode=c;break}H.offset=E,H.extra=15&_,H.mode=24;case 24:if(H.extra){for(Y=H.extra;n<Y;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}H.offset+=r&(1<<H.extra)-1,r>>>=H.extra,n-=H.extra,H.back+=H.extra}if(H.offset>H.dmax){G.msg="invalid distance too far back",H.mode=c;break}H.mode=25;case 25:if(d===0)break e;if(l=a-d,H.offset>l){if((l=H.offset-l)>H.whave&&H.sane){G.msg="invalid distance too far back",H.mode=c;break}l>H.wnext?(l-=H.wnext,u=H.wsize-l):u=H.wnext-l,l>H.length&&(l=H.length),C=H.window}else C=A,u=y-H.offset,l=H.length;l>d&&(l=d),d-=l,H.length-=l;do A[y++]=C[u++];while(--l);H.length===0&&(H.mode=21);break;case 26:if(d===0)break e;A[y++]=H.length,d--,H.mode=21;break;case 27:if(H.wrap){for(;n<32;){if(h===0)break e;h--,r|=M[b++]<<n,n+=8}if(a-=d,G.total_out+=a,H.total+=a,a&&(G.adler=H.check=H.flags?w(H.check,A,a,y-a):P(H.check,A,a,y-a)),a=d,(H.flags?r:f(r))!==H.check){G.msg="incorrect data check",H.mode=c;break}r=0,n=0}H.mode=28;case 28:if(H.wrap&&H.flags){for(;n<32;){if(h===0)break e;h--,r+=M[b++]<<n,n+=8}if(r!==(4294967295&H.total)){G.msg="incorrect length check",H.mode=c;break}r=0,n=0}H.mode=29;case 29:re=1;break e;case c:re=-3;break e;case 31:return-4;default:return I}return G.next_out=y,G.avail_out=d,G.next_in=b,G.avail_in=h,H.hold=r,H.bits=n,(H.wsize||a!==G.avail_out&&H.mode<c&&(H.mode<27||U!==4))&&le(G,G.output,G.next_out,a-G.avail_out)?(H.mode=31,-4):(p-=G.avail_in,a-=G.avail_out,G.total_in+=p,G.total_out+=a,H.total+=a,H.wrap&&a&&(G.adler=H.check=H.flags?w(H.check,A,a,G.next_out-a):P(H.check,A,a,G.next_out-a)),G.data_type=H.bits+(H.last?64:0)+(H.mode===x?128:0)+(H.mode===20||H.mode===15?256:0),(p===0&&a===0||U===4)&&re===0&&(re=-5),re)},fe.inflateEnd=function(G){if(!G||!G.state)return I;var U=G.state;return U.window&&(U.window=null),G.state=null,0},fe.inflateGetHeader=function(G,U){var H;return G&&G.state&&2&(H=G.state).wrap?(H.head=U,U.done=!1,0):I},fe.inflateSetDictionary=function(G,U){var H,M=U.length;return G&&G.state?(H=G.state).wrap!==0&&H.mode!==11?I:H.mode===11&&P(1,U,M,0)!==H.check?-3:le(G,U,M,M)?(H.mode=31,-4):(H.havedict=1,0):I},fe.inflateInfo="pako inflate (from Nodeca project)"},6446:function(et,fe,t){var e=t(9187),P=15,w=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],m=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],v=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],I=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];et.exports=function(x,c,f,Z,N,W,k,S){var J,ce,he,ve,le,G,U,H,M,A=S.bits,b=0,y=0,h=0,d=0,r=0,n=0,p=0,a=0,l=0,u=0,C=null,L=0,_=new e.Buf16(16),E=new e.Buf16(16),D=null,F=0;for(b=0;b<=P;b++)_[b]=0;for(y=0;y<Z;y++)_[c[f+y]]++;for(r=A,d=P;d>=1&&_[d]===0;d--);if(r>d&&(r=d),d===0)return N[W++]=20971520,N[W++]=20971520,S.bits=1,0;for(h=1;h<d&&_[h]===0;h++);for(r<h&&(r=h),a=1,b=1;b<=P;b++)if(a<<=1,(a-=_[b])<0)return-1;if(a>0&&(x===0||d!==1))return-1;for(E[1]=0,b=1;b<P;b++)E[b+1]=E[b]+_[b];for(y=0;y<Z;y++)c[f+y]!==0&&(k[E[c[f+y]]++]=y);if(x===0?(C=D=k,G=19):x===1?(C=w,L-=257,D=m,F-=257,G=256):(C=v,D=I,G=-1),u=0,y=0,b=h,le=W,n=r,p=0,he=-1,ve=(l=1<<r)-1,x===1&&l>852||x===2&&l>592)return 1;for(;;){U=b-p,k[y]<G?(H=0,M=k[y]):k[y]>G?(H=D[F+k[y]],M=C[L+k[y]]):(H=96,M=0),J=1<<b-p,h=ce=1<<n;do N[le+(u>>p)+(ce-=J)]=U<<24|H<<16|M|0;while(ce!==0);for(J=1<<b-1;u&J;)J>>=1;if(J!==0?(u&=J-1,u+=J):u=0,y++,--_[b]==0){if(b===d)break;b=c[f+k[y]]}if(b>r&&(u&ve)!==he){for(p===0&&(p=r),le+=h,a=1<<(n=b-p);n+p<d&&!((a-=_[n+p])<=0);)n++,a<<=1;if(l+=1<<n,x===1&&l>852||x===2&&l>592)return 1;N[he=u&ve]=r<<24|n<<16|le-W|0}}return u!==0&&(N[le+u]=b-p<<24|4194304|0),S.bits=r,0}},5604:function(et){et.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},8676:function(et,fe,t){var e=t(9187);function P(E){for(var D=E.length;--D>=0;)E[D]=0}var w=256,m=286,v=30,I=15,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=new Array(576);P(N);var W=new Array(60);P(W);var k=new Array(512);P(k);var S=new Array(256);P(S);var J=new Array(29);P(J);var ce,he,ve,le=new Array(v);function G(E,D,F,ee,te){this.static_tree=E,this.extra_bits=D,this.extra_base=F,this.elems=ee,this.max_length=te,this.has_stree=E&&E.length}function U(E,D){this.dyn_tree=E,this.max_code=0,this.stat_desc=D}function H(E){return E<256?k[E]:k[256+(E>>>7)]}function M(E,D){E.pending_buf[E.pending++]=255&D,E.pending_buf[E.pending++]=D>>>8&255}function A(E,D,F){E.bi_valid>16-F?(E.bi_buf|=D<<E.bi_valid&65535,M(E,E.bi_buf),E.bi_buf=D>>16-E.bi_valid,E.bi_valid+=F-16):(E.bi_buf|=D<<E.bi_valid&65535,E.bi_valid+=F)}function b(E,D,F){A(E,F[2*D],F[2*D+1])}function y(E,D){var F=0;do F|=1&E,E>>>=1,F<<=1;while(--D>0);return F>>>1}function h(E,D,F){var ee,te,re=new Array(16),oe=0;for(ee=1;ee<=I;ee++)re[ee]=oe=oe+F[ee-1]<<1;for(te=0;te<=D;te++){var Y=E[2*te+1];Y!==0&&(E[2*te]=y(re[Y]++,Y))}}function d(E){var D;for(D=0;D<m;D++)E.dyn_ltree[2*D]=0;for(D=0;D<v;D++)E.dyn_dtree[2*D]=0;for(D=0;D<19;D++)E.bl_tree[2*D]=0;E.dyn_ltree[512]=1,E.opt_len=E.static_len=0,E.last_lit=E.matches=0}function r(E){E.bi_valid>8?M(E,E.bi_buf):E.bi_valid>0&&(E.pending_buf[E.pending++]=E.bi_buf),E.bi_buf=0,E.bi_valid=0}function n(E,D,F,ee){var te=2*D,re=2*F;return E[te]<E[re]||E[te]===E[re]&&ee[D]<=ee[F]}function p(E,D,F){for(var ee=E.heap[F],te=F<<1;te<=E.heap_len&&(te<E.heap_len&&n(D,E.heap[te+1],E.heap[te],E.depth)&&te++,!n(D,ee,E.heap[te],E.depth));)E.heap[F]=E.heap[te],F=te,te<<=1;E.heap[F]=ee}function a(E,D,F){var ee,te,re,oe,Y=0;if(E.last_lit!==0)do ee=E.pending_buf[E.d_buf+2*Y]<<8|E.pending_buf[E.d_buf+2*Y+1],te=E.pending_buf[E.l_buf+Y],Y++,ee===0?b(E,te,D):(b(E,(re=S[te])+w+1,D),(oe=x[re])!==0&&A(E,te-=J[re],oe),b(E,re=H(--ee),F),(oe=c[re])!==0&&A(E,ee-=le[re],oe));while(Y<E.last_lit);b(E,256,D)}function l(E,D){var F,ee,te,re=D.dyn_tree,oe=D.stat_desc.static_tree,Y=D.stat_desc.has_stree,V=D.stat_desc.elems,ie=-1;for(E.heap_len=0,E.heap_max=573,F=0;F<V;F++)re[2*F]!==0?(E.heap[++E.heap_len]=ie=F,E.depth[F]=0):re[2*F+1]=0;for(;E.heap_len<2;)re[2*(te=E.heap[++E.heap_len]=ie<2?++ie:0)]=1,E.depth[te]=0,E.opt_len--,Y&&(E.static_len-=oe[2*te+1]);for(D.max_code=ie,F=E.heap_len>>1;F>=1;F--)p(E,re,F);te=V;do F=E.heap[1],E.heap[1]=E.heap[E.heap_len--],p(E,re,1),ee=E.heap[1],E.heap[--E.heap_max]=F,E.heap[--E.heap_max]=ee,re[2*te]=re[2*F]+re[2*ee],E.depth[te]=(E.depth[F]>=E.depth[ee]?E.depth[F]:E.depth[ee])+1,re[2*F+1]=re[2*ee+1]=te,E.heap[1]=te++,p(E,re,1);while(E.heap_len>=2);E.heap[--E.heap_max]=E.heap[1],function(we,Ae){var Re,je,ye,Ee,Oe,ge,ue=Ae.dyn_tree,se=Ae.max_code,j=Ae.stat_desc.static_tree,i=Ae.stat_desc.has_stree,s=Ae.stat_desc.extra_bits,O=Ae.stat_desc.extra_base,z=Ae.stat_desc.max_length,K=0;for(Ee=0;Ee<=I;Ee++)we.bl_count[Ee]=0;for(ue[2*we.heap[we.heap_max]+1]=0,Re=we.heap_max+1;Re<573;Re++)(Ee=ue[2*ue[2*(je=we.heap[Re])+1]+1]+1)>z&&(Ee=z,K++),ue[2*je+1]=Ee,je>se||(we.bl_count[Ee]++,Oe=0,je>=O&&(Oe=s[je-O]),ge=ue[2*je],we.opt_len+=ge*(Ee+Oe),i&&(we.static_len+=ge*(j[2*je+1]+Oe)));if(K!==0){do{for(Ee=z-1;we.bl_count[Ee]===0;)Ee--;we.bl_count[Ee]--,we.bl_count[Ee+1]+=2,we.bl_count[z]--,K-=2}while(K>0);for(Ee=z;Ee!==0;Ee--)for(je=we.bl_count[Ee];je!==0;)(ye=we.heap[--Re])>se||(ue[2*ye+1]!==Ee&&(we.opt_len+=(Ee-ue[2*ye+1])*ue[2*ye],ue[2*ye+1]=Ee),je--)}}(E,D),h(re,ie,E.bl_count)}function u(E,D,F){var ee,te,re=-1,oe=D[1],Y=0,V=7,ie=4;for(oe===0&&(V=138,ie=3),D[2*(F+1)+1]=65535,ee=0;ee<=F;ee++)te=oe,oe=D[2*(ee+1)+1],++Y<V&&te===oe||(Y<ie?E.bl_tree[2*te]+=Y:te!==0?(te!==re&&E.bl_tree[2*te]++,E.bl_tree[32]++):Y<=10?E.bl_tree[34]++:E.bl_tree[36]++,Y=0,re=te,oe===0?(V=138,ie=3):te===oe?(V=6,ie=3):(V=7,ie=4))}function C(E,D,F){var ee,te,re=-1,oe=D[1],Y=0,V=7,ie=4;for(oe===0&&(V=138,ie=3),ee=0;ee<=F;ee++)if(te=oe,oe=D[2*(ee+1)+1],!(++Y<V&&te===oe)){if(Y<ie)do b(E,te,E.bl_tree);while(--Y!=0);else te!==0?(te!==re&&(b(E,te,E.bl_tree),Y--),b(E,16,E.bl_tree),A(E,Y-3,2)):Y<=10?(b(E,17,E.bl_tree),A(E,Y-3,3)):(b(E,18,E.bl_tree),A(E,Y-11,7));Y=0,re=te,oe===0?(V=138,ie=3):te===oe?(V=6,ie=3):(V=7,ie=4)}}P(le);var L=!1;function _(E,D,F,ee){A(E,0+(ee?1:0),3),function(te,re,oe,Y){r(te),Y&&(M(te,oe),M(te,~oe)),e.arraySet(te.pending_buf,te.window,re,oe,te.pending),te.pending+=oe}(E,D,F,!0)}fe._tr_init=function(E){L||(function(){var D,F,ee,te,re,oe=new Array(16);for(ee=0,te=0;te<28;te++)for(J[te]=ee,D=0;D<1<<x[te];D++)S[ee++]=te;for(S[ee-1]=te,re=0,te=0;te<16;te++)for(le[te]=re,D=0;D<1<<c[te];D++)k[re++]=te;for(re>>=7;te<v;te++)for(le[te]=re<<7,D=0;D<1<<c[te]-7;D++)k[256+re++]=te;for(F=0;F<=I;F++)oe[F]=0;for(D=0;D<=143;)N[2*D+1]=8,D++,oe[8]++;for(;D<=255;)N[2*D+1]=9,D++,oe[9]++;for(;D<=279;)N[2*D+1]=7,D++,oe[7]++;for(;D<=287;)N[2*D+1]=8,D++,oe[8]++;for(h(N,287,oe),D=0;D<v;D++)W[2*D+1]=5,W[2*D]=y(D,5);ce=new G(N,x,257,m,I),he=new G(W,c,0,v,I),ve=new G(new Array(0),f,0,19,7)}(),L=!0),E.l_desc=new U(E.dyn_ltree,ce),E.d_desc=new U(E.dyn_dtree,he),E.bl_desc=new U(E.bl_tree,ve),E.bi_buf=0,E.bi_valid=0,d(E)},fe._tr_stored_block=_,fe._tr_flush_block=function(E,D,F,ee){var te,re,oe=0;E.level>0?(E.strm.data_type===2&&(E.strm.data_type=function(Y){var V,ie=4093624447;for(V=0;V<=31;V++,ie>>>=1)if(1&ie&&Y.dyn_ltree[2*V]!==0)return 0;if(Y.dyn_ltree[18]!==0||Y.dyn_ltree[20]!==0||Y.dyn_ltree[26]!==0)return 1;for(V=32;V<w;V++)if(Y.dyn_ltree[2*V]!==0)return 1;return 0}(E)),l(E,E.l_desc),l(E,E.d_desc),oe=function(Y){var V;for(u(Y,Y.dyn_ltree,Y.l_desc.max_code),u(Y,Y.dyn_dtree,Y.d_desc.max_code),l(Y,Y.bl_desc),V=18;V>=3&&Y.bl_tree[2*Z[V]+1]===0;V--);return Y.opt_len+=3*(V+1)+5+5+4,V}(E),te=E.opt_len+3+7>>>3,(re=E.static_len+3+7>>>3)<=te&&(te=re)):te=re=F+5,F+4<=te&&D!==-1?_(E,D,F,ee):E.strategy===4||re===te?(A(E,2+(ee?1:0),3),a(E,N,W)):(A(E,4+(ee?1:0),3),function(Y,V,ie,we){var Ae;for(A(Y,V-257,5),A(Y,ie-1,5),A(Y,we-4,4),Ae=0;Ae<we;Ae++)A(Y,Y.bl_tree[2*Z[Ae]+1],3);C(Y,Y.dyn_ltree,V-1),C(Y,Y.dyn_dtree,ie-1)}(E,E.l_desc.max_code+1,E.d_desc.max_code+1,oe+1),a(E,E.dyn_ltree,E.dyn_dtree)),d(E),ee&&r(E)},fe._tr_tally=function(E,D,F){return E.pending_buf[E.d_buf+2*E.last_lit]=D>>>8&255,E.pending_buf[E.d_buf+2*E.last_lit+1]=255&D,E.pending_buf[E.l_buf+E.last_lit]=255&F,E.last_lit++,D===0?E.dyn_ltree[2*F]++:(E.matches++,D--,E.dyn_ltree[2*(S[F]+w+1)]++,E.dyn_dtree[2*H(D)]++),E.last_lit===E.lit_bufsize-1},fe._tr_align=function(E){A(E,2,3),b(E,256,N),function(D){D.bi_valid===16?(M(D,D.bi_buf),D.bi_buf=0,D.bi_valid=0):D.bi_valid>=8&&(D.pending_buf[D.pending++]=255&D.bi_buf,D.bi_buf>>=8,D.bi_valid-=8)}(E)}},249:function(et){et.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},9066:function(et){et.exports=function(fe){fe.data&&fe.name&&(fe=fe.data);for(var t=!0,e="",P="",w=0;w<fe.length;w++){var m=fe[w];if(t)m?P+=String.fromCharCode(m):t=!1;else{if(!m)throw new Error("Invalid NULL character found. 0x00 character is not permitted in tEXt content");e+=String.fromCharCode(m)}}return{keyword:P,text:e}}},9686:function(et){et.exports=function(fe,t){if(fe=String(fe),t=String(t),!/^[\x00-\xFF]+$/.test(fe)||!/^[\x00-\xFF]+$/.test(t))throw new Error("Only Latin-1 characters are permitted in PNG tEXt chunks. You might want to consider base64 encoding and/or zEXt compression");if(fe.length>=80)throw new Error('Keyword "'+fe+'" is longer than the 79-character limit imposed by the PNG specification');for(var e,P=fe.length+t.length+1,w=new Uint8Array(P),m=0,v=0;v<fe.length;v++){if(!(e=fe.charCodeAt(v)))throw new Error("0x00 character is not permitted in tEXt keywords");w[m++]=e}w[m++]=0;for(var I=0;I<t.length;I++){if(!(e=t.charCodeAt(I)))throw new Error("0x00 character is not permitted in tEXt content");w[m++]=e}return{name:"tEXt",data:w}}},1194:function(et,fe,t){fe.encode=t(9686),fe.decode=t(9066)},3434:function(et,fe,t){var e=t(5714),P=t(6233);et.exports=function(I){var x,c=8,f=c;for(x=0;x<I.length;x++)c+=I[x].data.length,c+=12;var Z=new Uint8Array(c);for(Z[0]=137,Z[1]=80,Z[2]=78,Z[3]=71,Z[4]=13,Z[5]=10,Z[6]=26,Z[7]=10,x=0;x<I.length;x++){var N=I[x],W=N.name,k=N.data,S=k.length,J=[W.charCodeAt(0),W.charCodeAt(1),W.charCodeAt(2),W.charCodeAt(3)];v[0]=S,Z[f++]=w[3],Z[f++]=w[2],Z[f++]=w[1],Z[f++]=w[0],Z[f++]=J[0],Z[f++]=J[1],Z[f++]=J[2],Z[f++]=J[3];for(var ce=0;ce<S;)Z[f++]=k[ce++];var he=J.concat(e(k)),ve=P.buf(he);m[0]=ve,Z[f++]=w[3],Z[f++]=w[2],Z[f++]=w[1],Z[f++]=w[0]}return Z};var w=new Uint8Array(4),m=new Int32Array(w.buffer),v=new Uint32Array(w.buffer)},2983:function(et,fe,t){var e=t(6233);et.exports=function(v){if(v[0]!==137)throw new Error("Invalid .png file header");if(v[1]!==80)throw new Error("Invalid .png file header");if(v[2]!==78)throw new Error("Invalid .png file header");if(v[3]!==71)throw new Error("Invalid .png file header");if(v[4]!==13)throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");if(v[5]!==10)throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");if(v[6]!==26)throw new Error("Invalid .png file header");if(v[7]!==10)throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");for(var I=!1,x=[],c=8;c<v.length;){P[3]=v[c++],P[2]=v[c++],P[1]=v[c++],P[0]=v[c++];var f=m[0]+4,Z=new Uint8Array(f);Z[0]=v[c++],Z[1]=v[c++],Z[2]=v[c++],Z[3]=v[c++];var N=String.fromCharCode(Z[0])+String.fromCharCode(Z[1])+String.fromCharCode(Z[2])+String.fromCharCode(Z[3]);if(!x.length&&N!=="IHDR")throw new Error("IHDR header missing");if(N==="IEND"){I=!0,x.push({name:N,data:new Uint8Array(0)});break}for(var W=4;W<f;W++)Z[W]=v[c++];P[3]=v[c++],P[2]=v[c++],P[1]=v[c++],P[0]=v[c++];var k=w[0];if(e.buf(Z)!==k)throw new Error("CRC values for "+N+" header do not match, PNG file is likely corrupted");var S=new Uint8Array(Z.buffer.slice(4));x.push({name:N,data:S})}if(!I)throw new Error(".png file ended prematurely: no IEND header was found");return x};var P=new Uint8Array(4),w=new Int32Array(P.buffer),m=new Uint32Array(P.buffer)},1493:function(et,fe,t){function e(c,f){return Math.pow(c[0]-f[0],2)+Math.pow(c[1]-f[1],2)}function P(c,f,Z){const N=e(f,Z);if(N===0)return e(c,f);let W=((c[0]-f[0])*(Z[0]-f[0])+(c[1]-f[1])*(Z[1]-f[1]))/N;return W=Math.max(0,Math.min(1,W)),e(c,w(f,Z,W))}function w(c,f,Z){return[c[0]+(f[0]-c[0])*Z,c[1]+(f[1]-c[1])*Z]}function m(c,f,Z,N){const W=N||[];if(function(J,ce){const he=J[ce+0],ve=J[ce+1],le=J[ce+2],G=J[ce+3];let U=3*ve[0]-2*he[0]-G[0];U*=U;let H=3*ve[1]-2*he[1]-G[1];H*=H;let M=3*le[0]-2*G[0]-he[0];M*=M;let A=3*le[1]-2*G[1]-he[1];return A*=A,U<M&&(U=M),H<A&&(H=A),U+H}(c,f)<Z){const J=c[f+0];W.length?(k=W[W.length-1],S=J,Math.sqrt(e(k,S))>1&&W.push(J)):W.push(J),W.push(c[f+3])}else{const ce=c[f+0],he=c[f+1],ve=c[f+2],le=c[f+3],G=w(ce,he,.5),U=w(he,ve,.5),H=w(ve,le,.5),M=w(G,U,.5),A=w(U,H,.5),b=w(M,A,.5);m([ce,G,M,b],0,Z,W),m([b,A,H,le],0,Z,W)}var k,S;return W}function v(c,f){return I(c,0,c.length,f)}function I(c,f,Z,N,W){const k=W||[],S=c[f],J=c[Z-1];let ce=0,he=1;for(let ve=f+1;ve<Z-1;++ve){const le=P(c[ve],S,J);le>ce&&(ce=le,he=ve)}return Math.sqrt(ce)>N?(I(c,f,he+1,N,k),I(c,he,Z,N,k)):(k.length||k.push(S),k.push(J)),k}function x(c,f=.15,Z){const N=[],W=(c.length-1)/3;for(let k=0;k<W;k++)m(c,3*k,f,N);return Z&&Z>0?I(N,0,N.length,Z):N}t.d(fe,{og:function(){return v},sU:function(){return x}})},6094:function(et,fe,t){var e=t(9787),P=Symbol.for("react.element"),w=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,v=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0};function x(c,f,Z){var N,W={},k=null,S=null;for(N in Z!==void 0&&(k=""+Z),f.key!==void 0&&(k=""+f.key),f.ref!==void 0&&(S=f.ref),f)m.call(f,N)&&!I.hasOwnProperty(N)&&(W[N]=f[N]);if(c&&c.defaultProps)for(N in f=c.defaultProps)W[N]===void 0&&(W[N]=f[N]);return{$$typeof:P,type:c,key:k,ref:S,props:W,_owner:v.current}}fe.Fragment=w,fe.jsx=x,fe.jsxs=x},4512:function(et,fe,t){et.exports=t(6094)},8128:function(et,fe,t){function e(se,j,i){if(se&&se.length){const[s,O]=j,z=Math.PI/180*i,K=Math.cos(z),$=Math.sin(z);for(const Q of se){const[ae,be]=Q;Q[0]=(ae-s)*K-(be-O)*$+s,Q[1]=(ae-s)*$+(be-O)*K+O}}}function P(se,j){return se[0]===j[0]&&se[1]===j[1]}function w(se,j,i,s=1){const O=i,z=Math.max(j,.1),K=se[0]&&se[0][0]&&typeof se[0][0]=="number"?[se]:se,$=[0,0];if(O)for(const ae of K)e(ae,$,O);const Q=function(ae,be,Ce){const Ze=[];for(const Me of ae){const me=[...Me];P(me[0],me[me.length-1])||me.push([me[0][0],me[0][1]]),me.length>2&&Ze.push(me)}const Be=[];be=Math.max(be,.1);const Te=[];for(const Me of Ze)for(let me=0;me<Me.length-1;me++){const Se=Me[me],Ne=Me[me+1];if(Se[1]!==Ne[1]){const Ye=Math.min(Se[1],Ne[1]);Te.push({ymin:Ye,ymax:Math.max(Se[1],Ne[1]),x:Ye===Se[1]?Se[0]:Ne[0],islope:(Ne[0]-Se[0])/(Ne[1]-Se[1])})}}if(Te.sort((Me,me)=>Me.ymin<me.ymin?-1:Me.ymin>me.ymin?1:Me.x<me.x?-1:Me.x>me.x?1:Me.ymax===me.ymax?0:(Me.ymax-me.ymax)/Math.abs(Me.ymax-me.ymax)),!Te.length)return Be;let He=[],Ve=Te[0].ymin,Je=0;for(;He.length||Te.length;){if(Te.length){let Me=-1;for(let me=0;me<Te.length&&!(Te[me].ymin>Ve);me++)Me=me;Te.splice(0,Me+1).forEach(me=>{He.push({s:Ve,edge:me})})}if(He=He.filter(Me=>!(Me.edge.ymax<=Ve)),He.sort((Me,me)=>Me.edge.x===me.edge.x?0:(Me.edge.x-me.edge.x)/Math.abs(Me.edge.x-me.edge.x)),(Ce!==1||Je%be==0)&&He.length>1)for(let Me=0;Me<He.length;Me+=2){const me=Me+1;if(me>=He.length)break;const Se=He[Me].edge,Ne=He[me].edge;Be.push([[Math.round(Se.x),Ve],[Math.round(Ne.x),Ve]])}Ve+=Ce,He.forEach(Me=>{Me.edge.x=Me.edge.x+Ce*Me.edge.islope}),Je++}return Be}(K,z,s);if(O){for(const ae of K)e(ae,$,-O);(function(ae,be,Ce){const Ze=[];ae.forEach(Be=>Ze.push(...Be)),e(Ze,be,Ce)})(Q,$,-O)}return Q}function m(se,j){var i;const s=j.hachureAngle+90;let O=j.hachureGap;O<0&&(O=4*j.strokeWidth),O=Math.max(O,.1);let z=1;return j.roughness>=1&&(((i=j.randomizer)===null||i===void 0?void 0:i.next())||Math.random())>.7&&(z=O),w(se,O,s,z||1)}t.d(fe,{V:function(){return ue}});class v{constructor(j){this.helper=j}fillPolygons(j,i){return this._fillPolygons(j,i)}_fillPolygons(j,i){const s=m(j,i);return{type:"fillSketch",ops:this.renderLines(s,i)}}renderLines(j,i){const s=[];for(const O of j)s.push(...this.helper.doubleLineOps(O[0][0],O[0][1],O[1][0],O[1][1],i));return s}}function I(se){const j=se[0],i=se[1];return Math.sqrt(Math.pow(j[0]-i[0],2)+Math.pow(j[1]-i[1],2))}class x extends v{fillPolygons(j,i){let s=i.hachureGap;s<0&&(s=4*i.strokeWidth),s=Math.max(s,.1);const O=m(j,Object.assign({},i,{hachureGap:s})),z=Math.PI/180*i.hachureAngle,K=[],$=.5*s*Math.cos(z),Q=.5*s*Math.sin(z);for(const[ae,be]of O)I([ae,be])&&K.push([[ae[0]-$,ae[1]+Q],[...be]],[[ae[0]+$,ae[1]-Q],[...be]]);return{type:"fillSketch",ops:this.renderLines(K,i)}}}class c extends v{fillPolygons(j,i){const s=this._fillPolygons(j,i),O=Object.assign({},i,{hachureAngle:i.hachureAngle+90}),z=this._fillPolygons(j,O);return s.ops=s.ops.concat(z.ops),s}}class f{constructor(j){this.helper=j}fillPolygons(j,i){const s=m(j,i=Object.assign({},i,{hachureAngle:0}));return this.dotsOnLines(s,i)}dotsOnLines(j,i){const s=[];let O=i.hachureGap;O<0&&(O=4*i.strokeWidth),O=Math.max(O,.1);let z=i.fillWeight;z<0&&(z=i.strokeWidth/2);const K=O/4;for(const $ of j){const Q=I($),ae=Q/O,be=Math.ceil(ae)-1,Ce=Q-be*O,Ze=($[0][0]+$[1][0])/2-O/4,Be=Math.min($[0][1],$[1][1]);for(let Te=0;Te<be;Te++){const He=Be+Ce+Te*O,Ve=Ze-K+2*Math.random()*K,Je=He-K+2*Math.random()*K,Me=this.helper.ellipse(Ve,Je,z,z,i);s.push(...Me.ops)}}return{type:"fillSketch",ops:s}}}class Z{constructor(j){this.helper=j}fillPolygons(j,i){const s=m(j,i);return{type:"fillSketch",ops:this.dashedLine(s,i)}}dashedLine(j,i){const s=i.dashOffset<0?i.hachureGap<0?4*i.strokeWidth:i.hachureGap:i.dashOffset,O=i.dashGap<0?i.hachureGap<0?4*i.strokeWidth:i.hachureGap:i.dashGap,z=[];return j.forEach(K=>{const $=I(K),Q=Math.floor($/(s+O)),ae=($+O-Q*(s+O))/2;let be=K[0],Ce=K[1];be[0]>Ce[0]&&(be=K[1],Ce=K[0]);const Ze=Math.atan((Ce[1]-be[1])/(Ce[0]-be[0]));for(let Be=0;Be<Q;Be++){const Te=Be*(s+O),He=Te+s,Ve=[be[0]+Te*Math.cos(Ze)+ae*Math.cos(Ze),be[1]+Te*Math.sin(Ze)+ae*Math.sin(Ze)],Je=[be[0]+He*Math.cos(Ze)+ae*Math.cos(Ze),be[1]+He*Math.sin(Ze)+ae*Math.sin(Ze)];z.push(...this.helper.doubleLineOps(Ve[0],Ve[1],Je[0],Je[1],i))}}),z}}class N{constructor(j){this.helper=j}fillPolygons(j,i){const s=i.hachureGap<0?4*i.strokeWidth:i.hachureGap,O=i.zigzagOffset<0?s:i.zigzagOffset,z=m(j,i=Object.assign({},i,{hachureGap:s+O}));return{type:"fillSketch",ops:this.zigzagLines(z,O,i)}}zigzagLines(j,i,s){const O=[];return j.forEach(z=>{const K=I(z),$=Math.round(K/(2*i));let Q=z[0],ae=z[1];Q[0]>ae[0]&&(Q=z[1],ae=z[0]);const be=Math.atan((ae[1]-Q[1])/(ae[0]-Q[0]));for(let Ce=0;Ce<$;Ce++){const Ze=2*Ce*i,Be=2*(Ce+1)*i,Te=Math.sqrt(2*Math.pow(i,2)),He=[Q[0]+Ze*Math.cos(be),Q[1]+Ze*Math.sin(be)],Ve=[Q[0]+Be*Math.cos(be),Q[1]+Be*Math.sin(be)],Je=[He[0]+Te*Math.cos(be+Math.PI/4),He[1]+Te*Math.sin(be+Math.PI/4)];O.push(...this.helper.doubleLineOps(He[0],He[1],Je[0],Je[1],s),...this.helper.doubleLineOps(Je[0],Je[1],Ve[0],Ve[1],s))}}),O}}const W={};var k=t(8152);const S={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function J(se,j){return se.type===j}function ce(se){const j=[],i=function(K){const $=new Array;for(;K!=="";)if(K.match(/^([ \t\r\n,]+)/))K=K.substr(RegExp.$1.length);else if(K.match(/^([aAcChHlLmMqQsStTvVzZ])/))$[$.length]={type:0,text:RegExp.$1},K=K.substr(RegExp.$1.length);else{if(!K.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];$[$.length]={type:1,text:`${parseFloat(RegExp.$1)}`},K=K.substr(RegExp.$1.length)}return $[$.length]={type:2,text:""},$}(se);let s="BOD",O=0,z=i[O];for(;!J(z,2);){let K=0;const $=[];if(s==="BOD"){if(z.text!=="M"&&z.text!=="m")return ce("M0,0"+se);O++,K=S[z.text],s=z.text}else J(z,1)?K=S[s]:(O++,K=S[z.text],s=z.text);if(!(O+K<i.length))throw new Error("Path data ended short");for(let Q=O;Q<O+K;Q++){const ae=i[Q];if(!J(ae,1))throw new Error("Param not a number: "+s+","+ae.text);$[$.length]=+ae.text}if(typeof S[s]!="number")throw new Error("Bad segment: "+s);{const Q={key:s,data:$};j.push(Q),O+=K,z=i[O],s==="M"&&(s="L"),s==="m"&&(s="l")}}return j}function he(se){let j=0,i=0,s=0,O=0;const z=[];for(const{key:K,data:$}of se)switch(K){case"M":z.push({key:"M",data:[...$]}),[j,i]=$,[s,O]=$;break;case"m":j+=$[0],i+=$[1],z.push({key:"M",data:[j,i]}),s=j,O=i;break;case"L":z.push({key:"L",data:[...$]}),[j,i]=$;break;case"l":j+=$[0],i+=$[1],z.push({key:"L",data:[j,i]});break;case"C":z.push({key:"C",data:[...$]}),j=$[4],i=$[5];break;case"c":{const Q=$.map((ae,be)=>be%2?ae+i:ae+j);z.push({key:"C",data:Q}),j=Q[4],i=Q[5];break}case"Q":z.push({key:"Q",data:[...$]}),j=$[2],i=$[3];break;case"q":{const Q=$.map((ae,be)=>be%2?ae+i:ae+j);z.push({key:"Q",data:Q}),j=Q[2],i=Q[3];break}case"A":z.push({key:"A",data:[...$]}),j=$[5],i=$[6];break;case"a":j+=$[5],i+=$[6],z.push({key:"A",data:[$[0],$[1],$[2],$[3],$[4],j,i]});break;case"H":z.push({key:"H",data:[...$]}),j=$[0];break;case"h":j+=$[0],z.push({key:"H",data:[j]});break;case"V":z.push({key:"V",data:[...$]}),i=$[0];break;case"v":i+=$[0],z.push({key:"V",data:[i]});break;case"S":z.push({key:"S",data:[...$]}),j=$[2],i=$[3];break;case"s":{const Q=$.map((ae,be)=>be%2?ae+i:ae+j);z.push({key:"S",data:Q}),j=Q[2],i=Q[3];break}case"T":z.push({key:"T",data:[...$]}),j=$[0],i=$[1];break;case"t":j+=$[0],i+=$[1],z.push({key:"T",data:[j,i]});break;case"Z":case"z":z.push({key:"Z",data:[]}),j=s,i=O}return z}function ve(se){const j=[];let i="",s=0,O=0,z=0,K=0,$=0,Q=0;for(const{key:ae,data:be}of se){switch(ae){case"M":j.push({key:"M",data:[...be]}),[s,O]=be,[z,K]=be;break;case"C":j.push({key:"C",data:[...be]}),s=be[4],O=be[5],$=be[2],Q=be[3];break;case"L":j.push({key:"L",data:[...be]}),[s,O]=be;break;case"H":s=be[0],j.push({key:"L",data:[s,O]});break;case"V":O=be[0],j.push({key:"L",data:[s,O]});break;case"S":{let Ce=0,Ze=0;i==="C"||i==="S"?(Ce=s+(s-$),Ze=O+(O-Q)):(Ce=s,Ze=O),j.push({key:"C",data:[Ce,Ze,...be]}),$=be[0],Q=be[1],s=be[2],O=be[3];break}case"T":{const[Ce,Ze]=be;let Be=0,Te=0;i==="Q"||i==="T"?(Be=s+(s-$),Te=O+(O-Q)):(Be=s,Te=O);const He=s+2*(Be-s)/3,Ve=O+2*(Te-O)/3,Je=Ce+2*(Be-Ce)/3,Me=Ze+2*(Te-Ze)/3;j.push({key:"C",data:[He,Ve,Je,Me,Ce,Ze]}),$=Be,Q=Te,s=Ce,O=Ze;break}case"Q":{const[Ce,Ze,Be,Te]=be,He=s+2*(Ce-s)/3,Ve=O+2*(Ze-O)/3,Je=Be+2*(Ce-Be)/3,Me=Te+2*(Ze-Te)/3;j.push({key:"C",data:[He,Ve,Je,Me,Be,Te]}),$=Ce,Q=Ze,s=Be,O=Te;break}case"A":{const Ce=Math.abs(be[0]),Ze=Math.abs(be[1]),Be=be[2],Te=be[3],He=be[4],Ve=be[5],Je=be[6];Ce===0||Ze===0?(j.push({key:"C",data:[s,O,Ve,Je,Ve,Je]}),s=Ve,O=Je):(s!==Ve||O!==Je)&&(G(s,O,Ve,Je,Ce,Ze,Be,Te,He).forEach(function(Me){j.push({key:"C",data:Me})}),s=Ve,O=Je);break}case"Z":j.push({key:"Z",data:[]}),s=z,O=K}i=ae}return j}function le(se,j,i){return[se*Math.cos(i)-j*Math.sin(i),se*Math.sin(i)+j*Math.cos(i)]}function G(se,j,i,s,O,z,K,$,Q,ae){const be=(Ce=K,Math.PI*Ce/180);var Ce;let Ze=[],Be=0,Te=0,He=0,Ve=0;if(ae)[Be,Te,He,Ve]=ae;else{[se,j]=le(se,j,-be),[i,s]=le(i,s,-be);const Pt=(se-i)/2,Et=(j-s)/2;let Mt=Pt*Pt/(O*O)+Et*Et/(z*z);Mt>1&&(Mt=Math.sqrt(Mt),O*=Mt,z*=Mt);const Yt=O*O,lt=z*z,ot=Yt*lt-Yt*Et*Et-lt*Pt*Pt,mt=Yt*Et*Et+lt*Pt*Pt,pt=($===Q?-1:1)*Math.sqrt(Math.abs(ot/mt));He=pt*O*Et/z+(se+i)/2,Ve=pt*-z*Pt/O+(j+s)/2,Be=Math.asin(parseFloat(((j-Ve)/z).toFixed(9))),Te=Math.asin(parseFloat(((s-Ve)/z).toFixed(9))),se<He&&(Be=Math.PI-Be),i<He&&(Te=Math.PI-Te),Be<0&&(Be=2*Math.PI+Be),Te<0&&(Te=2*Math.PI+Te),Q&&Be>Te&&(Be-=2*Math.PI),!Q&&Te>Be&&(Te-=2*Math.PI)}let Je=Te-Be;if(Math.abs(Je)>120*Math.PI/180){const Pt=Te,Et=i,Mt=s;Te=Q&&Te>Be?Be+120*Math.PI/180*1:Be+120*Math.PI/180*-1,Ze=G(i=He+O*Math.cos(Te),s=Ve+z*Math.sin(Te),Et,Mt,O,z,K,0,Q,[Te,Pt,He,Ve])}Je=Te-Be;const Me=Math.cos(Be),me=Math.sin(Be),Se=Math.cos(Te),Ne=Math.sin(Te),Ye=Math.tan(Je/4),Qe=4/3*O*Ye,rt=4/3*z*Ye,ft=[se,j],at=[se+Qe*me,j-rt*Me],ut=[i+Qe*Ne,s-rt*Se],Ot=[i,s];if(at[0]=2*ft[0]-at[0],at[1]=2*ft[1]-at[1],ae)return[at,ut,Ot].concat(Ze);{Ze=[at,ut,Ot].concat(Ze);const Pt=[];for(let Et=0;Et<Ze.length;Et+=3){const Mt=le(Ze[Et][0],Ze[Et][1],be),Yt=le(Ze[Et+1][0],Ze[Et+1][1],be),lt=le(Ze[Et+2][0],Ze[Et+2][1],be);Pt.push([Mt[0],Mt[1],Yt[0],Yt[1],lt[0],lt[1]])}return Pt}}const U={randOffset:function(se,j){return u(se,j)},randOffsetWithRange:function(se,j,i){return l(se,j,i)},ellipse:function(se,j,i,s,O){const z=y(i,s,O);return h(se,j,O,z).opset},doubleLineOps:function(se,j,i,s,O){return C(se,j,i,s,O,!0)}};function H(se,j,i,s,O){return{type:"path",ops:C(se,j,i,s,O)}}function M(se,j,i){const s=(se||[]).length;if(s>2){const O=[];for(let z=0;z<s-1;z++)O.push(...C(se[z][0],se[z][1],se[z+1][0],se[z+1][1],i));return j&&O.push(...C(se[s-1][0],se[s-1][1],se[0][0],se[0][1],i)),{type:"path",ops:O}}return s===2?H(se[0][0],se[0][1],se[1][0],se[1][1],i):{type:"path",ops:[]}}function A(se,j,i,s,O){return function(z,K){return M(z,!0,K)}([[se,j],[se+i,j],[se+i,j+s],[se,j+s]],O)}function b(se,j){let i=_(se,1*(1+.2*j.roughness),j);if(!j.disableMultiStroke){const s=_(se,1.5*(1+.22*j.roughness),function(O){const z=Object.assign({},O);return z.randomizer=void 0,O.seed&&(z.seed=O.seed+1),z}(j));i=i.concat(s)}return{type:"path",ops:i}}function y(se,j,i){const s=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(se/2,2)+Math.pow(j/2,2))/2)),O=Math.ceil(Math.max(i.curveStepCount,i.curveStepCount/Math.sqrt(200)*s)),z=2*Math.PI/O;let K=Math.abs(se/2),$=Math.abs(j/2);const Q=1-i.curveFitting;return K+=u(K*Q,i),$+=u($*Q,i),{increment:z,rx:K,ry:$}}function h(se,j,i,s){const[O,z]=D(s.increment,se,j,s.rx,s.ry,1,s.increment*l(.1,l(.4,1,i),i),i);let K=E(O,null,i);if(!i.disableMultiStroke&&i.roughness!==0){const[$]=D(s.increment,se,j,s.rx,s.ry,1.5,0,i),Q=E($,null,i);K=K.concat(Q)}return{estimatedPoints:z,opset:{type:"path",ops:K}}}function d(se,j,i,s,O,z,K,$,Q){const ae=se,be=j;let Ce=Math.abs(i/2),Ze=Math.abs(s/2);Ce+=u(.01*Ce,Q),Ze+=u(.01*Ze,Q);let Be=O,Te=z;for(;Be<0;)Be+=2*Math.PI,Te+=2*Math.PI;Te-Be>2*Math.PI&&(Be=0,Te=2*Math.PI);const He=2*Math.PI/Q.curveStepCount,Ve=Math.min(He/2,(Te-Be)/2),Je=F(Ve,ae,be,Ce,Ze,Be,Te,1,Q);if(!Q.disableMultiStroke){const Me=F(Ve,ae,be,Ce,Ze,Be,Te,1.5,Q);Je.push(...Me)}return K&&($?Je.push(...C(ae,be,ae+Ce*Math.cos(Be),be+Ze*Math.sin(Be),Q),...C(ae,be,ae+Ce*Math.cos(Te),be+Ze*Math.sin(Te),Q)):Je.push({op:"lineTo",data:[ae,be]},{op:"lineTo",data:[ae+Ce*Math.cos(Be),be+Ze*Math.sin(Be)]})),{type:"path",ops:Je}}function r(se,j){const i=ve(he(ce(se))),s=[];let O=[0,0],z=[0,0];for(const{key:K,data:$}of i)switch(K){case"M":z=[$[0],$[1]],O=[$[0],$[1]];break;case"L":s.push(...C(z[0],z[1],$[0],$[1],j)),z=[$[0],$[1]];break;case"C":{const[Q,ae,be,Ce,Ze,Be]=$;s.push(...ee(Q,ae,be,Ce,Ze,Be,z,j)),z=[Ze,Be];break}case"Z":s.push(...C(z[0],z[1],O[0],O[1],j)),z=[O[0],O[1]]}return{type:"path",ops:s}}function n(se,j){const i=[];for(const s of se)if(s.length){const O=j.maxRandomnessOffset||0,z=s.length;if(z>2){i.push({op:"move",data:[s[0][0]+u(O,j),s[0][1]+u(O,j)]});for(let K=1;K<z;K++)i.push({op:"lineTo",data:[s[K][0]+u(O,j),s[K][1]+u(O,j)]})}}return{type:"fillPath",ops:i}}function p(se,j){return function(i,s){let O=i.fillStyle||"hachure";if(!W[O])switch(O){case"zigzag":W[O]||(W[O]=new x(s));break;case"cross-hatch":W[O]||(W[O]=new c(s));break;case"dots":W[O]||(W[O]=new f(s));break;case"dashed":W[O]||(W[O]=new Z(s));break;case"zigzag-line":W[O]||(W[O]=new N(s));break;default:O="hachure",W[O]||(W[O]=new v(s))}return W[O]}(j,U).fillPolygons(se,j)}function a(se){return se.randomizer||(se.randomizer=new k.k(se.seed||0)),se.randomizer.next()}function l(se,j,i,s=1){return i.roughness*s*(a(i)*(j-se)+se)}function u(se,j,i=1){return l(-se,se,j,i)}function C(se,j,i,s,O,z=!1){const K=z?O.disableMultiStrokeFill:O.disableMultiStroke,$=L(se,j,i,s,O,!0,!1);if(K)return $;const Q=L(se,j,i,s,O,!0,!0);return $.concat(Q)}function L(se,j,i,s,O,z,K){const $=Math.pow(se-i,2)+Math.pow(j-s,2),Q=Math.sqrt($);let ae=1;ae=Q<200?1:Q>500?.4:-.0016668*Q+1.233334;let be=O.maxRandomnessOffset||0;be*be*100>$&&(be=Q/10);const Ce=be/2,Ze=.2+.2*a(O);let Be=O.bowing*O.maxRandomnessOffset*(s-j)/200,Te=O.bowing*O.maxRandomnessOffset*(se-i)/200;Be=u(Be,O,ae),Te=u(Te,O,ae);const He=[],Ve=()=>u(Ce,O,ae),Je=()=>u(be,O,ae),Me=O.preserveVertices;return z&&(K?He.push({op:"move",data:[se+(Me?0:Ve()),j+(Me?0:Ve())]}):He.push({op:"move",data:[se+(Me?0:u(be,O,ae)),j+(Me?0:u(be,O,ae))]})),K?He.push({op:"bcurveTo",data:[Be+se+(i-se)*Ze+Ve(),Te+j+(s-j)*Ze+Ve(),Be+se+2*(i-se)*Ze+Ve(),Te+j+2*(s-j)*Ze+Ve(),i+(Me?0:Ve()),s+(Me?0:Ve())]}):He.push({op:"bcurveTo",data:[Be+se+(i-se)*Ze+Je(),Te+j+(s-j)*Ze+Je(),Be+se+2*(i-se)*Ze+Je(),Te+j+2*(s-j)*Ze+Je(),i+(Me?0:Je()),s+(Me?0:Je())]}),He}function _(se,j,i){const s=[];s.push([se[0][0]+u(j,i),se[0][1]+u(j,i)]),s.push([se[0][0]+u(j,i),se[0][1]+u(j,i)]);for(let O=1;O<se.length;O++)s.push([se[O][0]+u(j,i),se[O][1]+u(j,i)]),O===se.length-1&&s.push([se[O][0]+u(j,i),se[O][1]+u(j,i)]);return E(s,null,i)}function E(se,j,i){const s=se.length,O=[];if(s>3){const z=[],K=1-i.curveTightness;O.push({op:"move",data:[se[1][0],se[1][1]]});for(let $=1;$+2<s;$++){const Q=se[$];z[0]=[Q[0],Q[1]],z[1]=[Q[0]+(K*se[$+1][0]-K*se[$-1][0])/6,Q[1]+(K*se[$+1][1]-K*se[$-1][1])/6],z[2]=[se[$+1][0]+(K*se[$][0]-K*se[$+2][0])/6,se[$+1][1]+(K*se[$][1]-K*se[$+2][1])/6],z[3]=[se[$+1][0],se[$+1][1]],O.push({op:"bcurveTo",data:[z[1][0],z[1][1],z[2][0],z[2][1],z[3][0],z[3][1]]})}if(j&&j.length===2){const $=i.maxRandomnessOffset;O.push({op:"lineTo",data:[j[0]+u($,i),j[1]+u($,i)]})}}else s===3?(O.push({op:"move",data:[se[1][0],se[1][1]]}),O.push({op:"bcurveTo",data:[se[1][0],se[1][1],se[2][0],se[2][1],se[2][0],se[2][1]]})):s===2&&O.push(...C(se[0][0],se[0][1],se[1][0],se[1][1],i));return O}function D(se,j,i,s,O,z,K,$){const Q=[],ae=[];if($.roughness===0){se/=4,ae.push([j+s*Math.cos(-se),i+O*Math.sin(-se)]);for(let be=0;be<=2*Math.PI;be+=se){const Ce=[j+s*Math.cos(be),i+O*Math.sin(be)];Q.push(Ce),ae.push(Ce)}ae.push([j+s*Math.cos(0),i+O*Math.sin(0)]),ae.push([j+s*Math.cos(se),i+O*Math.sin(se)])}else{const be=u(.5,$)-Math.PI/2;ae.push([u(z,$)+j+.9*s*Math.cos(be-se),u(z,$)+i+.9*O*Math.sin(be-se)]);const Ce=2*Math.PI+be-.01;for(let Ze=be;Ze<Ce;Ze+=se){const Be=[u(z,$)+j+s*Math.cos(Ze),u(z,$)+i+O*Math.sin(Ze)];Q.push(Be),ae.push(Be)}ae.push([u(z,$)+j+s*Math.cos(be+2*Math.PI+.5*K),u(z,$)+i+O*Math.sin(be+2*Math.PI+.5*K)]),ae.push([u(z,$)+j+.98*s*Math.cos(be+K),u(z,$)+i+.98*O*Math.sin(be+K)]),ae.push([u(z,$)+j+.9*s*Math.cos(be+.5*K),u(z,$)+i+.9*O*Math.sin(be+.5*K)])}return[ae,Q]}function F(se,j,i,s,O,z,K,$,Q){const ae=z+u(.1,Q),be=[];be.push([u($,Q)+j+.9*s*Math.cos(ae-se),u($,Q)+i+.9*O*Math.sin(ae-se)]);for(let Ce=ae;Ce<=K;Ce+=se)be.push([u($,Q)+j+s*Math.cos(Ce),u($,Q)+i+O*Math.sin(Ce)]);return be.push([j+s*Math.cos(K),i+O*Math.sin(K)]),be.push([j+s*Math.cos(K),i+O*Math.sin(K)]),E(be,null,Q)}function ee(se,j,i,s,O,z,K,$){const Q=[],ae=[$.maxRandomnessOffset||1,($.maxRandomnessOffset||1)+.3];let be=[0,0];const Ce=$.disableMultiStroke?1:2,Ze=$.preserveVertices;for(let Be=0;Be<Ce;Be++)Be===0?Q.push({op:"move",data:[K[0],K[1]]}):Q.push({op:"move",data:[K[0]+(Ze?0:u(ae[0],$)),K[1]+(Ze?0:u(ae[0],$))]}),be=Ze?[O,z]:[O+u(ae[Be],$),z+u(ae[Be],$)],Q.push({op:"bcurveTo",data:[se+u(ae[Be],$),j+u(ae[Be],$),i+u(ae[Be],$),s+u(ae[Be],$),be[0],be[1]]});return Q}function te(se){return[...se]}function re(se,j){return Math.pow(se[0]-j[0],2)+Math.pow(se[1]-j[1],2)}function oe(se,j,i){const s=re(j,i);if(s===0)return re(se,j);let O=((se[0]-j[0])*(i[0]-j[0])+(se[1]-j[1])*(i[1]-j[1]))/s;return O=Math.max(0,Math.min(1,O)),re(se,Y(j,i,O))}function Y(se,j,i){return[se[0]+(j[0]-se[0])*i,se[1]+(j[1]-se[1])*i]}function V(se,j,i,s){const O=s||[];if(function($,Q){const ae=$[Q+0],be=$[Q+1],Ce=$[Q+2],Ze=$[Q+3];let Be=3*be[0]-2*ae[0]-Ze[0];Be*=Be;let Te=3*be[1]-2*ae[1]-Ze[1];Te*=Te;let He=3*Ce[0]-2*Ze[0]-ae[0];He*=He;let Ve=3*Ce[1]-2*Ze[1]-ae[1];return Ve*=Ve,Be<He&&(Be=He),Te<Ve&&(Te=Ve),Be+Te}(se,j)<i){const $=se[j+0];O.length?(z=O[O.length-1],K=$,Math.sqrt(re(z,K))>1&&O.push($)):O.push($),O.push(se[j+3])}else{const Q=se[j+0],ae=se[j+1],be=se[j+2],Ce=se[j+3],Ze=Y(Q,ae,.5),Be=Y(ae,be,.5),Te=Y(be,Ce,.5),He=Y(Ze,Be,.5),Ve=Y(Be,Te,.5),Je=Y(He,Ve,.5);V([Q,Ze,He,Je],0,i,O),V([Je,Ve,Te,Ce],0,i,O)}var z,K;return O}function ie(se,j,i,s,O){const z=O||[],K=se[j],$=se[i-1];let Q=0,ae=1;for(let be=j+1;be<i-1;++be){const Ce=oe(se[be],K,$);Ce>Q&&(Q=Ce,ae=be)}return Math.sqrt(Q)>s?(ie(se,j,ae+1,s,z),ie(se,ae,i,s,z)):(z.length||z.push(K),z.push($)),z}function we(se,j){return Math.pow(se[0]-j[0],2)+Math.pow(se[1]-j[1],2)}function Ae(se,j,i){const s=we(j,i);if(s===0)return we(se,j);let O=((se[0]-j[0])*(i[0]-j[0])+(se[1]-j[1])*(i[1]-j[1]))/s;return O=Math.max(0,Math.min(1,O)),we(se,Re(j,i,O))}function Re(se,j,i){return[se[0]+(j[0]-se[0])*i,se[1]+(j[1]-se[1])*i]}function je(se,j,i,s){const O=s||[];if(function($,Q){const ae=$[Q+0],be=$[Q+1],Ce=$[Q+2],Ze=$[Q+3];let Be=3*be[0]-2*ae[0]-Ze[0];Be*=Be;let Te=3*be[1]-2*ae[1]-Ze[1];Te*=Te;let He=3*Ce[0]-2*Ze[0]-ae[0];He*=He;let Ve=3*Ce[1]-2*Ze[1]-ae[1];return Ve*=Ve,Be<He&&(Be=He),Te<Ve&&(Te=Ve),Be+Te}(se,j)<i){const $=se[j+0];O.length?(z=O[O.length-1],K=$,Math.sqrt(we(z,K))>1&&O.push($)):O.push($),O.push(se[j+3])}else{const Q=se[j+0],ae=se[j+1],be=se[j+2],Ce=se[j+3],Ze=Re(Q,ae,.5),Be=Re(ae,be,.5),Te=Re(be,Ce,.5),He=Re(Ze,Be,.5),Ve=Re(Be,Te,.5),Je=Re(He,Ve,.5);je([Q,Ze,He,Je],0,i,O),je([Je,Ve,Te,Ce],0,i,O)}var z,K;return O}function ye(se,j){return Ee(se,0,se.length,j)}function Ee(se,j,i,s,O){const z=O||[],K=se[j],$=se[i-1];let Q=0,ae=1;for(let be=j+1;be<i-1;++be){const Ce=Ae(se[be],K,$);Ce>Q&&(Q=Ce,ae=be)}return Math.sqrt(Q)>s?(Ee(se,j,ae+1,s,z),Ee(se,ae,i,s,z)):(z.length||z.push(K),z.push($)),z}function Oe(se,j,i){const s=ve(he(ce(se))),O=[];let z=[],K=[0,0],$=[];const Q=()=>{$.length>=4&&z.push(...function(Ce,Ze=.15,Be){const Te=[],He=(Ce.length-1)/3;for(let Ve=0;Ve<He;Ve++)je(Ce,3*Ve,Ze,Te);return Be&&Be>0?Ee(Te,0,Te.length,Be):Te}($,j)),$=[]},ae=()=>{Q(),z.length&&(O.push(z),z=[])};for(const{key:Ce,data:Ze}of s)switch(Ce){case"M":ae(),K=[Ze[0],Ze[1]],z.push(K);break;case"L":Q(),z.push([Ze[0],Ze[1]]);break;case"C":if(!$.length){const Be=z.length?z[z.length-1]:K;$.push([Be[0],Be[1]])}$.push([Ze[0],Ze[1]]),$.push([Ze[2],Ze[3]]),$.push([Ze[4],Ze[5]]);break;case"Z":Q(),z.push([K[0],K[1]])}if(ae(),!i)return O;const be=[];for(const Ce of O){const Ze=ye(Ce,i);Ze.length&&be.push(Ze)}return be}const ge="none";class ue{constructor(j){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=j||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return(0,k.W)()}_o(j){return j?Object.assign({},this.defaultOptions,j):this.defaultOptions}_d(j,i,s){return{shape:j,sets:i||[],options:s||this.defaultOptions}}line(j,i,s,O,z){const K=this._o(z);return this._d("line",[H(j,i,s,O,K)],K)}rectangle(j,i,s,O,z){const K=this._o(z),$=[],Q=A(j,i,s,O,K);if(K.fill){const ae=[[j,i],[j+s,i],[j+s,i+O],[j,i+O]];K.fillStyle==="solid"?$.push(n([ae],K)):$.push(p([ae],K))}return K.stroke!==ge&&$.push(Q),this._d("rectangle",$,K)}ellipse(j,i,s,O,z){const K=this._o(z),$=[],Q=y(s,O,K),ae=h(j,i,K,Q);if(K.fill)if(K.fillStyle==="solid"){const be=h(j,i,K,Q).opset;be.type="fillPath",$.push(be)}else $.push(p([ae.estimatedPoints],K));return K.stroke!==ge&&$.push(ae.opset),this._d("ellipse",$,K)}circle(j,i,s,O){const z=this.ellipse(j,i,s,s,O);return z.shape="circle",z}linearPath(j,i){const s=this._o(i);return this._d("linearPath",[M(j,!1,s)],s)}arc(j,i,s,O,z,K,$=!1,Q){const ae=this._o(Q),be=[],Ce=d(j,i,s,O,z,K,$,!0,ae);if($&&ae.fill)if(ae.fillStyle==="solid"){const Ze=Object.assign({},ae);Ze.disableMultiStroke=!0;const Be=d(j,i,s,O,z,K,!0,!1,Ze);Be.type="fillPath",be.push(Be)}else be.push(function(Ze,Be,Te,He,Ve,Je,Me){const me=Ze,Se=Be;let Ne=Math.abs(Te/2),Ye=Math.abs(He/2);Ne+=u(.01*Ne,Me),Ye+=u(.01*Ye,Me);let Qe=Ve,rt=Je;for(;Qe<0;)Qe+=2*Math.PI,rt+=2*Math.PI;rt-Qe>2*Math.PI&&(Qe=0,rt=2*Math.PI);const ft=(rt-Qe)/Me.curveStepCount,at=[];for(let ut=Qe;ut<=rt;ut+=ft)at.push([me+Ne*Math.cos(ut),Se+Ye*Math.sin(ut)]);return at.push([me+Ne*Math.cos(rt),Se+Ye*Math.sin(rt)]),at.push([me,Se]),p([at],Me)}(j,i,s,O,z,K,ae));return ae.stroke!==ge&&be.push(Ce),this._d("arc",be,ae)}curve(j,i){const s=this._o(i),O=[],z=b(j,s);if(s.fill&&s.fill!==ge&&j.length>=3)if(s.fillStyle==="solid"){const K=b(j,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));O.push({type:"fillPath",ops:this._mergedShape(K.ops)})}else{const K=function(Q,ae=0){const be=Q.length;if(be<3)throw new Error("A curve must have at least three points.");const Ce=[];if(be===3)Ce.push(te(Q[0]),te(Q[1]),te(Q[2]),te(Q[2]));else{const Ze=[];Ze.push(Q[0],Q[0]);for(let He=1;He<Q.length;He++)Ze.push(Q[He]),He===Q.length-1&&Ze.push(Q[He]);const Be=[],Te=1-ae;Ce.push(te(Ze[0]));for(let He=1;He+2<Ze.length;He++){const Ve=Ze[He];Be[0]=[Ve[0],Ve[1]],Be[1]=[Ve[0]+(Te*Ze[He+1][0]-Te*Ze[He-1][0])/6,Ve[1]+(Te*Ze[He+1][1]-Te*Ze[He-1][1])/6],Be[2]=[Ze[He+1][0]+(Te*Ze[He][0]-Te*Ze[He+2][0])/6,Ze[He+1][1]+(Te*Ze[He][1]-Te*Ze[He+2][1])/6],Be[3]=[Ze[He+1][0],Ze[He+1][1]],Ce.push(Be[1],Be[2],Be[3])}}return Ce}(j),$=function(Q,ae=.15,be){const Ce=[],Ze=(Q.length-1)/3;for(let Be=0;Be<Ze;Be++)V(Q,3*Be,ae,Ce);return be&&be>0?ie(Ce,0,Ce.length,be):Ce}(K,10,(1+s.roughness)/2);O.push(p([$],s))}return s.stroke!==ge&&O.push(z),this._d("curve",O,s)}polygon(j,i){const s=this._o(i),O=[],z=M(j,!0,s);return s.fill&&(s.fillStyle==="solid"?O.push(n([j],s)):O.push(p([j],s))),s.stroke!==ge&&O.push(z),this._d("polygon",O,s)}path(j,i){const s=this._o(i),O=[];if(!j)return this._d("path",O,s);j=(j||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const z=s.fill&&s.fill!=="transparent"&&s.fill!==ge,K=s.stroke!==ge,$=!!(s.simplification&&s.simplification<1),Q=Oe(j,1,$?4-4*(s.simplification||1):(1+s.roughness)/2),ae=r(j,s);if(z)if(s.fillStyle==="solid")if(Q.length===1){const be=r(j,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));O.push({type:"fillPath",ops:this._mergedShape(be.ops)})}else O.push(n(Q,s));else O.push(p(Q,s));return K&&($?Q.forEach(be=>{O.push(M(be,!1,s))}):O.push(ae)),this._d("path",O,s)}opsToPath(j,i){let s="";for(const O of j.ops){const z=typeof i=="number"&&i>=0?O.data.map(K=>+K.toFixed(i)):O.data;switch(O.op){case"move":s+=`M${z[0]} ${z[1]} `;break;case"bcurveTo":s+=`C${z[0]} ${z[1]}, ${z[2]} ${z[3]}, ${z[4]} ${z[5]} `;break;case"lineTo":s+=`L${z[0]} ${z[1]} `}}return s.trim()}toPaths(j){const i=j.sets||[],s=j.options||this.defaultOptions,O=[];for(const z of i){let K=null;switch(z.type){case"path":K={d:this.opsToPath(z),stroke:s.stroke,strokeWidth:s.strokeWidth,fill:ge};break;case"fillPath":K={d:this.opsToPath(z),stroke:ge,strokeWidth:0,fill:s.fill||ge};break;case"fillSketch":K=this.fillSketch(z,s)}K&&O.push(K)}return O}fillSketch(j,i){let s=i.fillWeight;return s<0&&(s=i.strokeWidth/2),{d:this.opsToPath(j),stroke:i.fill||ge,strokeWidth:s,fill:ge}}_mergedShape(j){return j.filter((i,s)=>s===0||i.op!=="move")}}},8152:function(et,fe,t){function e(){return Math.floor(Math.random()*2147483648)}t.d(fe,{W:function(){return e},k:function(){return P}});class P{constructor(m){this.seed=m}next(){return this.seed?(2147483647&(this.seed=Math.imul(48271,this.seed)))/2147483648:Math.random()}}},9845:function(et,fe,t){t.d(fe,{Z:function(){return v}});var e=t(8128);class P{constructor(x,c){this.canvas=x,this.ctx=this.canvas.getContext("2d"),this.gen=new e.V(c)}draw(x){const c=x.sets||[],f=x.options||this.getDefaultOptions(),Z=this.ctx,N=x.options.fixedDecimalPlaceDigits;for(const W of c)switch(W.type){case"path":Z.save(),Z.strokeStyle=f.stroke==="none"?"transparent":f.stroke,Z.lineWidth=f.strokeWidth,f.strokeLineDash&&Z.setLineDash(f.strokeLineDash),f.strokeLineDashOffset&&(Z.lineDashOffset=f.strokeLineDashOffset),this._drawToContext(Z,W,N),Z.restore();break;case"fillPath":{Z.save(),Z.fillStyle=f.fill||"";const k=x.shape==="curve"||x.shape==="polygon"||x.shape==="path"?"evenodd":"nonzero";this._drawToContext(Z,W,N,k),Z.restore();break}case"fillSketch":this.fillSketch(Z,W,f)}}fillSketch(x,c,f){let Z=f.fillWeight;Z<0&&(Z=f.strokeWidth/2),x.save(),f.fillLineDash&&x.setLineDash(f.fillLineDash),f.fillLineDashOffset&&(x.lineDashOffset=f.fillLineDashOffset),x.strokeStyle=f.fill||"",x.lineWidth=Z,this._drawToContext(x,c,f.fixedDecimalPlaceDigits),x.restore()}_drawToContext(x,c,f,Z="nonzero"){x.beginPath();for(const N of c.ops){const W=typeof f=="number"&&f>=0?N.data.map(k=>+k.toFixed(f)):N.data;switch(N.op){case"move":x.moveTo(W[0],W[1]);break;case"bcurveTo":x.bezierCurveTo(W[0],W[1],W[2],W[3],W[4],W[5]);break;case"lineTo":x.lineTo(W[0],W[1])}}c.type==="fillPath"?x.fill(Z):x.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(x,c,f,Z,N){const W=this.gen.line(x,c,f,Z,N);return this.draw(W),W}rectangle(x,c,f,Z,N){const W=this.gen.rectangle(x,c,f,Z,N);return this.draw(W),W}ellipse(x,c,f,Z,N){const W=this.gen.ellipse(x,c,f,Z,N);return this.draw(W),W}circle(x,c,f,Z){const N=this.gen.circle(x,c,f,Z);return this.draw(N),N}linearPath(x,c){const f=this.gen.linearPath(x,c);return this.draw(f),f}polygon(x,c){const f=this.gen.polygon(x,c);return this.draw(f),f}arc(x,c,f,Z,N,W,k=!1,S){const J=this.gen.arc(x,c,f,Z,N,W,k,S);return this.draw(J),J}curve(x,c){const f=this.gen.curve(x,c);return this.draw(f),f}path(x,c){const f=this.gen.path(x,c);return this.draw(f),f}}const w="http://www.w3.org/2000/svg";class m{constructor(x,c){this.svg=x,this.gen=new e.V(c)}draw(x){const c=x.sets||[],f=x.options||this.getDefaultOptions(),Z=this.svg.ownerDocument||window.document,N=Z.createElementNS(w,"g"),W=x.options.fixedDecimalPlaceDigits;for(const k of c){let S=null;switch(k.type){case"path":S=Z.createElementNS(w,"path"),S.setAttribute("d",this.opsToPath(k,W)),S.setAttribute("stroke",f.stroke),S.setAttribute("stroke-width",f.strokeWidth+""),S.setAttribute("fill","none"),f.strokeLineDash&&S.setAttribute("stroke-dasharray",f.strokeLineDash.join(" ").trim()),f.strokeLineDashOffset&&S.setAttribute("stroke-dashoffset",`${f.strokeLineDashOffset}`);break;case"fillPath":S=Z.createElementNS(w,"path"),S.setAttribute("d",this.opsToPath(k,W)),S.setAttribute("stroke","none"),S.setAttribute("stroke-width","0"),S.setAttribute("fill",f.fill||""),x.shape!=="curve"&&x.shape!=="polygon"||S.setAttribute("fill-rule","evenodd");break;case"fillSketch":S=this.fillSketch(Z,k,f)}S&&N.appendChild(S)}return N}fillSketch(x,c,f){let Z=f.fillWeight;Z<0&&(Z=f.strokeWidth/2);const N=x.createElementNS(w,"path");return N.setAttribute("d",this.opsToPath(c,f.fixedDecimalPlaceDigits)),N.setAttribute("stroke",f.fill||""),N.setAttribute("stroke-width",Z+""),N.setAttribute("fill","none"),f.fillLineDash&&N.setAttribute("stroke-dasharray",f.fillLineDash.join(" ").trim()),f.fillLineDashOffset&&N.setAttribute("stroke-dashoffset",`${f.fillLineDashOffset}`),N}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(x,c){return this.gen.opsToPath(x,c)}line(x,c,f,Z,N){const W=this.gen.line(x,c,f,Z,N);return this.draw(W)}rectangle(x,c,f,Z,N){const W=this.gen.rectangle(x,c,f,Z,N);return this.draw(W)}ellipse(x,c,f,Z,N){const W=this.gen.ellipse(x,c,f,Z,N);return this.draw(W)}circle(x,c,f,Z){const N=this.gen.circle(x,c,f,Z);return this.draw(N)}linearPath(x,c){const f=this.gen.linearPath(x,c);return this.draw(f)}polygon(x,c){const f=this.gen.polygon(x,c);return this.draw(f)}arc(x,c,f,Z,N,W,k=!1,S){const J=this.gen.arc(x,c,f,Z,N,W,k,S);return this.draw(J)}curve(x,c){const f=this.gen.curve(x,c);return this.draw(f)}path(x,c){const f=this.gen.path(x,c);return this.draw(f)}}var v={canvas:(I,x)=>new P(I,x),svg:(I,x)=>new m(I,x),generator:I=>new e.V(I),newSeed:()=>e.V.newSeed()}},5714:function(et){et.exports=function(fe,t,e){var P=[],w=fe.length;if(w===0)return P;var m=t<0?Math.max(0,t+w):t||0;for(e!==void 0&&(w=e<0?e+w:e);w-- >m;)P[w-m]=fe[w];return P}},2173:function(et,fe,t){var e=t(9787),P=typeof Object.is=="function"?Object.is:function(f,Z){return f===Z&&(f!==0||1/f==1/Z)||f!=f&&Z!=Z},w=e.useState,m=e.useEffect,v=e.useLayoutEffect,I=e.useDebugValue;function x(f){var Z=f.getSnapshot;f=f.value;try{var N=Z();return!P(f,N)}catch{return!0}}var c=typeof window>"u"||window.document===void 0||window.document.createElement===void 0?function(f,Z){return Z()}:function(f,Z){var N=Z(),W=w({inst:{value:N,getSnapshot:Z}}),k=W[0].inst,S=W[1];return v(function(){k.value=N,k.getSnapshot=Z,x(k)&&S({inst:k})},[f,N,Z]),m(function(){return x(k)&&S({inst:k}),f(function(){x(k)&&S({inst:k})})},[f]),I(N),N};fe.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c},5917:function(et,fe,t){var e=t(9787),P=t(1374),w=typeof Object.is=="function"?Object.is:function(f,Z){return f===Z&&(f!==0||1/f==1/Z)||f!=f&&Z!=Z},m=P.useSyncExternalStore,v=e.useRef,I=e.useEffect,x=e.useMemo,c=e.useDebugValue;fe.useSyncExternalStoreWithSelector=function(f,Z,N,W,k){var S=v(null);if(S.current===null){var J={hasValue:!1,value:null};S.current=J}else J=S.current;S=x(function(){function he(H){if(!G){if(G=!0,ve=H,H=W(H),k!==void 0&&J.hasValue){var M=J.value;if(k(M,H))return le=M}return le=H}if(M=le,w(ve,H))return M;var A=W(H);return k!==void 0&&k(M,A)?M:(ve=H,le=A)}var ve,le,G=!1,U=N===void 0?null:N;return[function(){return he(Z())},U===null?void 0:function(){return he(U())}]},[Z,N,W,k]);var ce=m(f,S[0],S[1]);return I(function(){J.hasValue=!0,J.value=ce},[ce]),c(ce),ce}},1374:function(et,fe,t){et.exports=t(2173)},5668:function(et,fe,t){et.exports=t(5917)},940:function(et,fe,t){var e={"./ar-SA.json":[7822,2091],"./az-AZ.json":[9753,4568],"./bg-BG.json":[1203,1628],"./bn-BD.json":[8525,7429],"./ca-ES.json":[510,5130],"./cs-CZ.json":[7605,6265],"./da-DK.json":[2392,1790],"./de-DE.json":[2853,3082],"./el-GR.json":[9876,1513],"./en.json":[1463],"./es-ES.json":[2264,8759],"./eu-ES.json":[5658,8081],"./fa-IR.json":[3747,5330],"./fi-FI.json":[9490,3512],"./fr-FR.json":[7830,3682],"./gl-ES.json":[5199,2943],"./he-IL.json":[1994,2312],"./hi-IN.json":[4646,9828],"./hu-HU.json":[6373,7368],"./id-ID.json":[3247,3808],"./it-IT.json":[3257,6239],"./ja-JP.json":[198,1204],"./kaa.json":[7941,663],"./kab-KAB.json":[228,9551],"./kk-KZ.json":[8972,22],"./km-KH.json":[5845,6566],"./ko-KR.json":[7596,6844],"./ku-TR.json":[2508,3031],"./lt-LT.json":[3755,8340],"./lv-LV.json":[2327,6768],"./mr-IN.json":[5297,3397],"./my-MM.json":[7704,1477],"./nb-NO.json":[1167,2359],"./nl-NL.json":[290,3024],"./nn-NO.json":[4481,3885],"./oc-FR.json":[2284,1690],"./pa-IN.json":[6773,3162],"./percentages.json":[4451],"./pl-PL.json":[3661,3674],"./pt-BR.json":[8881,3721],"./pt-PT.json":[125,5395],"./ro-RO.json":[2013,5089],"./ru-RU.json":[2253,8124],"./si-LK.json":[5497,1302],"./sk-SK.json":[4570,8750],"./sl-SI.json":[1984,6071],"./sv-SE.json":[976,8534],"./ta-IN.json":[3952,2404],"./th-TH.json":[2596,537],"./tr-TR.json":[7315,4977],"./uk-UA.json":[3458,7759],"./vi-VN.json":[456,4e3],"./zh-CN.json":[1037,4680],"./zh-HK.json":[5334,7920],"./zh-TW.json":[931,3421]};function P(w){if(!t.o(e,w))return Promise.resolve().then(function(){var I=new Error("Cannot find module '"+w+"'");throw I.code="MODULE_NOT_FOUND",I});var m=e[w],v=m[0];return Promise.all(m.slice(1).map(t.e)).then(function(){return t.t(v,19)})}P.keys=function(){return Object.keys(e)},P.id=940,et.exports=P},9713:function(et){et.exports=function(fe,t,e){return t in fe?Object.defineProperty(fe,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):fe[t]=e,fe}},6479:function(et,fe,t){var e=t(7316);et.exports=function(P,w){if(P==null)return{};var m,v,I=e(P,w);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(P);for(v=0;v<x.length;v++)m=x[v],w.indexOf(m)>=0||Object.prototype.propertyIsEnumerable.call(P,m)&&(I[m]=P[m])}return I}},7316:function(et){et.exports=function(fe,t){if(fe==null)return{};var e,P,w={},m=Object.keys(fe);for(P=0;P<m.length;P++)e=m[P],t.indexOf(e)>=0||(w[e]=fe[e]);return w}},4295:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w),v=t(1667),I=t.n(v),x=new URL(t(3940),t.b),c=new URL(t(3147),t.b),f=new URL(t(8303),t.b),Z=new URL(t(1273),t.b),N=new URL(t(9577),t.b),W=new URL(t(9729),t.b),k=m()(P()),S=I()(x),J=I()(c),ce=I()(f),he=I()(Z),ve=I()(N),le=I()(W);k.push([et.id,'@font-face{font-family:"Virgil";src:url('+S+');font-display:swap}@font-face{font-family:"Cascadia";src:url('+J+');font-display:swap}@font-face{font-family:"Assistant";src:url('+ce+');font-display:swap;font-weight:400}@font-face{font-family:"Assistant";src:url('+he+');font-display:swap;font-weight:500}@font-face{font-family:"Assistant";src:url('+ve+');font-display:swap;font-weight:600}@font-face{font-family:"Assistant";src:url('+le+");font-display:swap;font-weight:700}",""]),fe.Z=k},6086:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".zoom-actions,.undo-redo-buttons{background-color:var(--island-bg-color);border-radius:var(--border-radius-lg);box-shadow:0 0 0 1px var(--color-surface-lowest)}.zoom-button,.undo-redo-buttons button{border-radius:0 !important;background-color:var(--color-surface-low) !important;font-size:.875rem !important;width:var(--lg-button-size);height:var(--lg-button-size)}.zoom-button svg,.undo-redo-buttons button svg{width:var(--lg-icon-size) !important;height:var(--lg-icon-size) !important}.zoom-button .ToolIcon__icon,.undo-redo-buttons button .ToolIcon__icon{width:100%;height:100%}.reset-zoom-button{border-left:0 !important;border-right:0 !important;padding:0 .625rem !important;width:3.75rem !important;justify-content:center;color:var(--text-primary-color)}.zoom-out-button{border-top-left-radius:var(--border-radius-lg) !important;border-bottom-left-radius:var(--border-radius-lg) !important}:root[dir=rtl] .zoom-out-button{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.zoom-out-button .ToolIcon__icon{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.zoom-in-button{border-top-right-radius:var(--border-radius-lg) !important;border-bottom-right-radius:var(--border-radius-lg) !important}:root[dir=rtl] .zoom-in-button{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.zoom-in-button .ToolIcon__icon{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.undo-redo-buttons .undo-button-container button{border-top-left-radius:var(--border-radius-lg) !important;border-bottom-left-radius:var(--border-radius-lg) !important;border-right:0 !important}:root[dir=rtl] .undo-redo-buttons .undo-button-container button{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.undo-redo-buttons .undo-button-container button .ToolIcon__icon{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.undo-redo-buttons .redo-button-container button{border-top-right-radius:var(--border-radius-lg) !important;border-bottom-right-radius:var(--border-radius-lg) !important}:root[dir=rtl] .undo-redo-buttons .redo-button-container button{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.undo-redo-buttons .redo-button-container button .ToolIcon__icon{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}",""]),fe.Z=m},3729:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Avatar{width:1.25rem;height:1.25rem;position:relative;border-radius:100%;outline-offset:2px;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:.75rem;font-weight:800;line-height:1}.excalidraw .Avatar-img{width:100%;height:100%;border-radius:100%}.excalidraw .Avatar::before{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:1px solid var(--avatar-border-color);border-radius:100%}',""]),fe.Z=m},3137:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w),v=t(1667),I=t.n(v),x=new URL(t(7984),t.b),c=new URL(t(1639),t.b),f=m()(P()),Z=I()(x),N=I()(c);f.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--theme-filter: none;--button-destructive-bg-color: #ffe3e3;--button-destructive-color: #c92a2a;--button-gray-1: #e9ecef;--button-gray-2: #ced4da;--button-gray-3: #adb5bd;--button-special-active-bg-color: #ebfbee;--dialog-border-color: var(--color-gray-20);--dropdown-icon: url("+Z+");--focus-highlight-color: #a5d8ff;--icon-fill-color: var(--color-on-surface);--icon-green-fill-color: #2b8a3e;--default-bg-color: #ffffff;--input-bg-color: #ffffff;--input-border-color: #ced4da;--input-hover-bg-color: #f1f3f5;--input-label-color: #495057;--island-bg-color: #ffffff;--keybinding-color: var(--color-gray-40);--link-color: #1c7ed6;--overlay-bg-color: rgba(255, 255, 255, 0.88);--popup-bg-color: var(--island-bg-color);--popup-secondary-bg-color: #f1f3f5;--popup-text-color: #000000;--popup-text-inverted-color: #ffffff;--select-highlight-color: #339af0;--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17), 0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);--button-hover-bg: var(--color-surface-high);--button-active-bg: var(--color-surface-high);--button-active-border: var(--color-brand-active);--default-border-color: var(--color-surface-high);--default-button-size: 2rem;--default-icon-size: 1rem;--lg-button-size: 2.25rem;--lg-icon-size: 1rem;--editor-container-padding: 1rem;--scrollbar-thumb: var(--button-gray-2);--scrollbar-thumb-hover: var(--button-gray-3);--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--avatar-border-color: var(--color-gray-20);--sidebar-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--sidebar-border-color: var(--color-surface-high);--sidebar-bg-color: var(--island-bg-color);--library-dropdown-shadow: 0px 15px 6px rgba(0, 0, 0, 0.01), 0px 8px 5px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.09), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);--space-factor: 0.25rem;--text-primary-color: var(--color-on-surface);--color-selection: #6965db;--color-icon-white: #ffffff;--color-primary: #6965db;--color-primary-darker: #5b57d1;--color-primary-darkest: #4a47b1;--color-primary-light: #e3e2fe;--color-primary-light-darker: #d7d5ff;--color-gray-10: #f5f5f5;--color-gray-20: #ebebeb;--color-gray-30: #d6d6d6;--color-gray-40: #b8b8b8;--color-gray-50: #999999;--color-gray-60: #7a7a7a;--color-gray-70: #5c5c5c;--color-gray-80: #3d3d3d;--color-gray-85: #242424;--color-gray-90: #1e1e1e;--color-gray-100: #121212;--color-warning: #fceeca;--color-warning-dark: #f5c354;--color-warning-darker: #f3ab2c;--color-warning-darkest: #ec8b14;--color-text-warning: var(--text-primary-color);--color-danger: #db6965;--color-danger-dark: #db6965;--color-danger-darker: #d65550;--color-danger-darkest: #d1413c;--color-danger-text: black;--color-danger-background: #fff0f0;--color-danger-icon-background: #ffdad6;--color-danger-color: #700000;--color-danger-icon-color: #700000;--color-warning-background: var(--color-warning);--color-warning-icon-background: var(--color-warning-dark);--color-warning-color: var(--text-primary-color);--color-warning-icon-color: var(--text-primary-color);--color-muted: var(--color-gray-30);--color-muted-darker: var(--color-gray-60);--color-muted-darkest: var(--color-gray-100);--color-muted-background: var(--color-gray-80);--color-muted-background-darker: var(--color-gray-100);--color-promo: #e70078;--color-success: #268029;--color-success-lighter: #cafccc;--color-logo-icon: var(--color-primary);--color-logo-text: #190064;--border-radius-md: 0.375rem;--border-radius-lg: 0.5rem;--color-surface-high: hsl(244, 100%, 97%);--color-surface-mid: hsl(240 25% 96%);--color-surface-low: hsl(240 25% 94%);--color-surface-lowest: #ffffff;--color-on-surface: #1b1b1f;--color-brand-hover: #5753d0;--color-on-primary-container: #030064;--color-surface-primary-container: #e0dfff;--color-brand-active: #4440bf;--color-border-outline: #767680;--color-border-outline-variant: #c5c5d0;--color-surface-primary-container: #e0dfff}@media screen and (min-device-width: 1921px){.excalidraw{--lg-button-size: 2.5rem;--lg-icon-size: 1.25rem;--default-button-size: 2.25rem;--default-icon-size: 1.25rem}}.excalidraw.theme--dark.theme--dark-background-none{background:none}.excalidraw.theme--dark{--theme-filter: invert(93%) hue-rotate(180deg);--button-destructive-bg-color: #5a0000;--button-destructive-color: #ffa8a8;--button-gray-1: #363636;--button-gray-2: #272727;--button-gray-3: #222;--button-special-active-bg-color: #204624;--dialog-border-color: var(--color-gray-80);--dropdown-icon: url("+N+");--focus-highlight-color: #228be6;--icon-green-fill-color: #69db7c;--default-bg-color: #121212;--input-bg-color: #121212;--input-border-color: #2e2e2e;--input-hover-bg-color: #181818;--input-label-color: #e9ecef;--island-bg-color: #232329;--keybinding-color: var(--color-gray-60);--link-color: #4dabf7;--overlay-bg-color: rgba(52, 58, 64, 0.12);--popup-secondary-bg-color: #222;--popup-text-color: #ced4da;--popup-text-inverted-color: #2c2c2c;--select-highlight-color: #4dabf7;--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17), 0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--avatar-border-color: var(--color-gray-85);--scrollbar-thumb: #343a40;--scrollbar-thumb-hover: #495057;--color-selection: #3530c4;--color-icon-white: var(--color-gray-90);--color-primary: #a8a5ff;--color-primary-darker: #b2aeff;--color-primary-darkest: #beb9ff;--color-primary-light: #4f4d6f;--color-primary-light-darker: #43415e;--color-text-warning: var(--color-gray-80);--color-danger: #ffa8a5;--color-danger-dark: #672120;--color-danger-darker: #8f2625;--color-danger-darkest: #ac2b29;--color-danger-text: #fbcbcc;--color-danger-background: #fbcbcc;--color-danger-icon-background: #672120;--color-danger-color: #261919;--color-danger-icon-color: #fbcbcc;--color-warning-background: var(--color-warning);--color-warning-icon-background: var(--color-warning-dark);--color-warning-color: var(--color-gray-80);--color-warning-icon-color: var(--color-gray-80);--color-muted: var(--color-gray-80);--color-muted-darker: var(--color-gray-60);--color-muted-darkest: var(--color-gray-20);--color-muted-background: var(--color-gray-40);--color-muted-background-darker: var(--color-gray-20);--color-promo: #d297ff;--color-logo-text: #e2dfff;--color-surface-high: hsl(245, 10%, 21%);--color-surface-low: hsl(240, 8%, 15%);--color-surface-mid: hsl(240 6% 10%);--color-surface-lowest: hsl(0, 0%, 7%);--color-on-surface: #e3e3e8;--color-brand-hover: #bbb8ff;--color-on-primary-container: #e0dfff;--color-surface-primary-container: #403e6a;--color-brand-active: #d0ccff;--color-border-outline: #8e8d9c;--color-border-outline-variant: #46464f;--color-surface-primary-container: #403e6a}.excalidraw .excalidraw-button{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface))}.excalidraw .excalidraw-button svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .excalidraw-button:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .excalidraw-button:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .excalidraw-button.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .excalidraw-button.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .excalidraw-button.active svg{color:var(--button-color, var(--color-on-primary-container))}",""]),fe.Z=f},4241:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Card{display:flex;flex-direction:column;align-items:center;max-width:290px;margin:1em;text-align:center}.excalidraw .Card .Card-icon{font-size:2.6em;display:flex;flex:0 0 auto;padding:1.4rem;border-radius:50%;background:var(--card-color);color:#fff}.excalidraw .Card .Card-icon svg{width:2.8rem;height:2.8rem}.excalidraw .Card .Card-details{font-size:.96em;min-height:90px;padding:0 1em;margin-bottom:auto}.excalidraw .Card .Card-button.ToolIcon_type_button{height:2.5rem;margin-top:1em;margin-bottom:.3em;background-color:var(--card-color)}.excalidraw .Card .Card-button.ToolIcon_type_button:hover{background-color:var(--card-color-darker)}.excalidraw .Card .Card-button.ToolIcon_type_button:active{background-color:var(--card-color-darkest)}.excalidraw .Card .Card-button.ToolIcon_type_button .ToolIcon__label{color:#fff}.excalidraw .Card .Card-button.ToolIcon_type_button .Spinner{--spinner-color: #fff}",""]),fe.Z=m},6029:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Checkbox{margin:4px .3em;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.excalidraw .Checkbox:hover:not(.is-checked) .Checkbox-box:not(:focus){box-shadow:0 0 0 2px #4dabf7}.excalidraw .Checkbox:hover:not(.is-checked) .Checkbox-box:not(:focus) svg{display:block;opacity:.3}.excalidraw .Checkbox:active .Checkbox-box{box-shadow:0 0 2px 1px inset #1c7ed6 !important}.excalidraw .Checkbox:hover .Checkbox-box{background-color:rgba(208,235,255,.2)}.excalidraw .Checkbox.is-checked .Checkbox-box{background-color:#d0ebff}.excalidraw .Checkbox.is-checked .Checkbox-box svg{display:block}.excalidraw .Checkbox.is-checked:hover .Checkbox-box{background-color:#a5d8ff}.excalidraw .Checkbox .Checkbox-box{width:22px;height:22px;padding:0;flex:0 0 auto;margin:0 1em;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #1c7ed6;background-color:rgba(0,0,0,0);border-radius:4px;color:#1c7ed6;border:0}.excalidraw .Checkbox .Checkbox-box:focus{box-shadow:0 0 0 3px #1c7ed6}.excalidraw .Checkbox .Checkbox-box svg{display:none;width:16px;height:16px;stroke-width:3px}.excalidraw .Checkbox .Checkbox-label{display:flex;align-items:center}.excalidraw .Checkbox .excalidraw-tooltip-icon{width:1em;height:1em}",""]),fe.Z=m},4269:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w),v=t(1667),I=t.n(v),x=new URL(t(9669),t.b),c=m()(P()),f=I()(x);c.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .focus-visible-none:focus-visible{outline:none !important}.excalidraw .color-picker__heading{padding:0 .5rem;font-size:.75rem;text-align:left}.excalidraw .color-picker-container{display:grid;grid-template-columns:1fr 20px 1.625rem;padding:.25rem 0px;align-items:center}.excalidraw--mobile.excalidraw .color-picker-container{max-width:175px}.excalidraw .color-picker__top-picks{display:flex;justify-content:space-between}.excalidraw .color-picker__button{--radius: 0.25rem;padding:0;margin:0;width:1.35rem;height:1.35rem;border:1px solid var(--color-gray-30);border-radius:var(--radius);-webkit-filter:var(--theme-filter);filter:var(--theme-filter);background-color:var(--swatch-color);background-position:left center;position:relative;font-family:inherit;box-sizing:border-box}.excalidraw .color-picker__button:hover::after{content:"";position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;box-shadow:0 0 0 1px var(--color-gray-30);border-radius:calc(var(--radius) + 1px);-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .color-picker__button.active .color-picker__button-outline{position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;box-shadow:0 0 0 1px var(--color-primary-darkest);z-index:1;border-radius:calc(var(--radius) + 1px);-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .color-picker__button:focus-visible{outline:none}.excalidraw .color-picker__button:focus-visible::after{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border:3px solid var(--focus-highlight-color);border-radius:calc(var(--radius) + 1px)}.excalidraw .color-picker__button:focus-visible.active .color-picker__button-outline{display:none}.excalidraw .color-picker__button--large{--radius: 0.5rem;width:1.875rem;height:1.875rem}.excalidraw .color-picker__button.is-transparent{background-image:url('+f+")}.excalidraw .color-picker__button--no-focus-visible{border:0}.excalidraw .color-picker__button--no-focus-visible::after{display:none}.excalidraw .color-picker__button--no-focus-visible:focus-visible{outline:none !important}.excalidraw .color-picker__button.active-color{border-radius:calc(var(--radius) + 1px);width:1.625rem;height:1.625rem}.excalidraw .color-picker__button__hotkey-label{position:absolute;right:4px;bottom:4px;-webkit-filter:none;filter:none;font-size:11px}.excalidraw .color-picker{background:var(--popup-bg-color);border:0 solid rgba(255,255,255,.25);box-shadow:rgba(0,0,0,.25) 0 1px 4px;border-radius:4px;position:absolute}:root[dir=ltr] .excalidraw .color-picker{left:-5.5px}:root[dir=rtl] .excalidraw .color-picker{right:-5.5px}.excalidraw .color-picker-control-container{display:grid;grid-template-columns:auto 1fr;align-items:center;-webkit-column-gap:.5rem;column-gap:.5rem}.excalidraw .color-picker-control-container+.popover{position:static}.excalidraw .color-picker-popover-container{margin-top:-0.25rem}:root[dir=ltr] .excalidraw .color-picker-popover-container{margin-left:.5rem}:root[dir=rtl] .excalidraw .color-picker-popover-container{margin-left:-3rem}.excalidraw .color-picker-triangle{width:0;height:0;border-style:solid;border-width:0 9px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) var(--popup-bg-color);position:absolute;top:10px}:root[dir=ltr] .excalidraw .color-picker-triangle{-webkit-transform:rotate(270deg);transform:rotate(270deg);left:-14px}:root[dir=rtl] .excalidraw .color-picker-triangle{-webkit-transform:rotate(90deg);transform:rotate(90deg);right:-14px}.excalidraw .color-picker-triangle-shadow{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.1)}:root[dir=ltr] .excalidraw .color-picker-triangle-shadow{left:-14px}:root[dir=rtl] .excalidraw .color-picker-triangle-shadow{right:-16px}.excalidraw .color-picker-content{display:flex;flex-direction:column;gap:.75rem;outline:none}.excalidraw .color-picker-content--default{padding:.5rem;display:grid;grid-template-columns:repeat(5, 1.875rem);grid-gap:.25rem;border-radius:4px}.excalidraw .color-picker-content--default:focus{outline:none;box-shadow:0 0 0 2px var(--focus-highlight-color)}.excalidraw .color-picker-content--canvas{display:flex;flex-direction:column;padding:.25rem}.excalidraw .color-picker-content--canvas-title{color:#868e96;font-size:12px;padding:0 .25rem}.excalidraw .color-picker-content--canvas-colors{padding:.5rem 0}.excalidraw .color-picker-content--canvas-colors .color-picker-swatch{margin:0 .25rem}.excalidraw .color-picker-content .color-input-container{grid-column:1/span 5}.excalidraw .color-picker-swatch{position:relative;height:1.875rem;width:1.875rem;cursor:pointer;border-radius:4px;margin:0;box-sizing:border-box;border:1px solid #ddd;background-color:currentColor !important;-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .color-picker-swatch:focus{box-shadow:0 0 4px 1px currentColor;border-color:var(--select-highlight-color)}.excalidraw .color-picker-transparent{border-radius:4px;box-shadow:rgba(0,0,0,.1) 0 0 0 1px inset;position:absolute;top:0;right:0;bottom:0;left:0}.excalidraw .color-picker-transparent,.excalidraw .color-picker-label-swatch{background:url("+f+') left center}.excalidraw .color-picker-hash{height:var(--default-button-size);flex-shrink:0;padding:.5rem .5rem .5rem .75rem;border:1px solid var(--default-border-color);border-right:0;box-sizing:border-box;color:var(--input-label-color);display:flex;align-items:center;justify-content:center;position:relative}:root[dir=ltr] .excalidraw .color-picker-hash{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg)}:root[dir=rtl] .excalidraw .color-picker-hash{border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0;border-right:1px solid var(--default-border-color);border-left:0}.excalidraw .color-input-container{display:flex}.excalidraw .color-input-container:focus-within{box-shadow:0 0 0 1px var(--color-primary-darkest);border-radius:var(--border-radius-lg)}.excalidraw .color-picker__input-label{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center;border:1px solid var(--default-border-color);border-radius:8px;padding:0 12px;margin:8px;box-sizing:border-box}.excalidraw .color-picker__input-label:focus-within{box-shadow:0 0 0 1px var(--color-primary-darkest);border-radius:var(--border-radius-lg)}.excalidraw .color-picker__input-hash{padding:0 .25rem}.excalidraw .color-picker-input{box-sizing:border-box;width:100%;margin:0;font-size:.875rem;font-family:inherit;background-color:rgba(0,0,0,0);color:var(--text-primary-color);border:0;outline:none;height:var(--default-button-size);border:1px solid var(--default-border-color);border-left:0;letter-spacing:.4px;padding:.5rem;padding-left:.25rem;-webkit-appearance:none;appearance:none}:root[dir=ltr] .excalidraw .color-picker-input{border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0}:root[dir=rtl] .excalidraw .color-picker-input{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);border-left:1px solid var(--default-border-color);border-right:0}.excalidraw .color-picker-input:focus-visible{box-shadow:none}.excalidraw .color-picker-label-swatch-container{border:1px solid var(--default-border-color);border-radius:var(--border-radius-lg);width:var(--default-button-size);height:var(--default-button-size);box-sizing:border-box;overflow:hidden}.excalidraw .color-picker-label-swatch{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));background-color:var(--swatch-color) !important;overflow:hidden;position:relative;-webkit-filter:var(--theme-filter);filter:var(--theme-filter);border:0 !important}.excalidraw .color-picker-label-swatch svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .color-picker-label-swatch:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .color-picker-label-swatch:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .color-picker-label-swatch.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .color-picker-label-swatch.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .color-picker-label-swatch.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .color-picker-label-swatch:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--swatch-color)}.excalidraw .color-picker-keybinding{position:absolute;bottom:2px;font-size:.7em}:root[dir=ltr] .excalidraw .color-picker-keybinding{right:2px}:root[dir=rtl] .excalidraw .color-picker-keybinding{left:2px}.excalidraw--mobile.excalidraw .color-picker-keybinding{display:none}.excalidraw .color-picker-type-canvasBackground .color-picker-keybinding{color:#aaa}.excalidraw .color-picker-type-elementBackground .color-picker-keybinding{color:#fff}.excalidraw .color-picker-swatch[aria-label=transparent] .color-picker-keybinding{color:#aaa}.excalidraw .color-picker-type-elementStroke .color-picker-keybinding{color:#d4d4d4}.excalidraw.theme--dark .color-picker-type-elementBackground .color-picker-keybinding{color:#000}.excalidraw.theme--dark .color-picker-swatch[aria-label=transparent] .color-picker-keybinding{color:#000}',""]),fe.Z=c},9393:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .confirm-dialog-buttons{display:flex;-webkit-column-gap:.5rem;column-gap:.5rem;justify-content:flex-end}",""]),fe.Z=m},6578:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .context-menu{position:relative;border-radius:4px;box-shadow:0 3px 10px rgba(0,0,0,.2);padding:0;list-style:none;-webkit-user-select:none;user-select:none;margin:-0.25rem 0 0 .125rem;padding:.5rem 0;background-color:var(--popup-secondary-bg-color);border:1px solid var(--button-gray-3);cursor:default}.excalidraw .context-menu button{color:var(--popup-text-color)}.excalidraw .context-menu-item{position:relative;width:100%;min-width:9.5rem;margin:0;padding:.25rem 1rem .25rem 1.25rem;text-align:start;border-radius:0;background-color:rgba(0,0,0,0);border:none;white-space:nowrap;font-family:inherit;display:grid;grid-template-columns:1fr .2fr;align-items:center}.excalidraw .context-menu-item.checkmark::before{position:absolute;left:6px;margin-bottom:1px;content:"✓"}.excalidraw .context-menu-item.dangerous .context-menu-item__label{color:#f03e3e}.excalidraw .context-menu-item .context-menu-item__label{justify-self:start;-webkit-margin-end:20px;margin-inline-end:20px}.excalidraw .context-menu-item .context-menu-item__shortcut{justify-self:end;opacity:.6;font-family:inherit;font-size:.7rem}.excalidraw .context-menu-item:hover{color:var(--popup-bg-color);background-color:var(--select-highlight-color)}.excalidraw .context-menu-item:hover.dangerous{background-color:#fa5252}.excalidraw .context-menu-item:hover.dangerous .context-menu-item__label{color:var(--popup-bg-color)}.excalidraw .context-menu-item:focus{z-index:1}.excalidraw--mobile.excalidraw .context-menu-item{display:block}.excalidraw--mobile.excalidraw .context-menu-item .context-menu-item__label{-webkit-margin-end:0;margin-inline-end:0}.excalidraw--mobile.excalidraw .context-menu-item .context-menu-item__shortcut{display:none}.excalidraw .context-menu-item-separator{border:none;border-top:1px solid #adb5bd}',""]),fe.Z=m},9482:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Dialog{-webkit-user-select:text;user-select:text;cursor:auto}.excalidraw .Dialog__title{margin:0;text-align:left;font-size:1.25rem;border-bottom:1px solid var(--dialog-border-color);padding:0 0 .75rem;margin-bottom:1.5rem}.excalidraw .Dialog__close{color:var(--color-gray-40);margin:0;position:absolute;top:.75rem;right:.5rem;border:0;background-color:rgba(0,0,0,0);line-height:0;cursor:pointer}.excalidraw .Dialog__close:hover{color:var(--color-gray-60)}.excalidraw .Dialog__close:active{color:var(--color-gray-40)}.excalidraw .Dialog__close svg{width:1.5rem;height:1.5rem}.excalidraw .Dialog--fullscreen .Dialog__close{top:1.25rem;right:1.25rem}",""]),fe.Z=m},6148:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .Dialog__action-button{position:relative;display:flex;-webkit-column-gap:.5rem;column-gap:.5rem;align-items:center;padding:.5rem 1.5rem;border:1px solid var(--default-border-color);background-color:rgba(0,0,0,0);height:3rem;border-radius:var(--border-radius-lg);letter-spacing:.4px;color:inherit;font-family:inherit;font-size:.875rem;font-weight:600;-webkit-user-select:none;user-select:none}.excalidraw .Dialog__action-button svg{display:block;width:1rem;height:1rem}.excalidraw .Dialog__action-button--danger{background-color:var(--color-danger);border-color:var(--color-danger);color:#fff}.excalidraw .Dialog__action-button--primary{background-color:var(--color-primary);border-color:var(--color-primary);color:#fff}.excalidraw.theme--dark .Dialog__action-button--danger{color:var(--color-gray-100)}.excalidraw.theme--dark .Dialog__action-button--primary{color:var(--color-gray-100)}",""]),fe.Z=m},5744:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .ExcalidrawLogo{--logo-icon--xs: 2rem;--logo-text--xs: 1.5rem;--logo-icon--small: 2.5rem;--logo-text--small: 1.75rem;--logo-icon--normal: 3rem;--logo-text--normal: 2.2rem;--logo-icon--large: 90px;--logo-text--large: 65px;display:flex;align-items:center}.excalidraw .ExcalidrawLogo svg{flex:0 0 auto}.excalidraw .ExcalidrawLogo .ExcalidrawLogo-icon{width:auto;color:var(--color-logo-icon)}.excalidraw .ExcalidrawLogo .ExcalidrawLogo-text{margin-left:.75rem;width:auto;color:var(--color-logo-text)}.excalidraw .ExcalidrawLogo.is-xs .ExcalidrawLogo-icon{height:var(--logo-icon--xs)}.excalidraw .ExcalidrawLogo.is-xs .ExcalidrawLogo-text{height:var(--logo-text--xs)}.excalidraw .ExcalidrawLogo.is-small .ExcalidrawLogo-icon{height:var(--logo-icon--small)}.excalidraw .ExcalidrawLogo.is-small .ExcalidrawLogo-text{height:var(--logo-text--small)}.excalidraw .ExcalidrawLogo.is-normal .ExcalidrawLogo-icon{height:var(--logo-icon--normal)}.excalidraw .ExcalidrawLogo.is-normal .ExcalidrawLogo-text{height:var(--logo-text--normal)}.excalidraw .ExcalidrawLogo.is-large .ExcalidrawLogo-icon{height:var(--logo-icon--large)}.excalidraw .ExcalidrawLogo.is-large .ExcalidrawLogo-text{height:var(--logo-text--large)}",""]),fe.Z=m},7955:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w),v=t(1667),I=t.n(v),x=new URL(t(9669),t.b),c=m()(P()),f=I()(x);c.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .ExportDialog__preview{--preview-padding: calc(var(--space-factor) * 4);background:url("+f+") left center;text-align:center;padding:var(--preview-padding);margin-bottom:calc(var(--space-factor)*3);display:flex;justify-content:center;align-items:center}.excalidraw .ExportDialog__preview canvas{max-width:calc(100% - var(--preview-padding)*2);max-height:25rem}.excalidraw.theme--dark .ExportDialog__preview canvas{-webkit-filter:none;filter:none}.excalidraw .ExportDialog__actions{width:100%;display:flex;grid-gap:calc(var(--space-factor)*2);align-items:top;justify-content:space-between}.excalidraw--mobile.excalidraw .ExportDialog{display:flex;flex-direction:column}.excalidraw--mobile.excalidraw .ExportDialog__actions{flex-direction:column;align-items:center}.excalidraw--mobile.excalidraw .ExportDialog__actions>*{margin-bottom:calc(var(--space-factor)*3)}.excalidraw--mobile.excalidraw .ExportDialog__preview canvas{max-height:30vh}.excalidraw--mobile.excalidraw .ExportDialog__dialog,.excalidraw--mobile.excalidraw .ExportDialog__dialog .Island{height:100%;box-sizing:border-box}.excalidraw--mobile.excalidraw .ExportDialog__dialog .Island{overflow-y:auto}.excalidraw .ExportDialog--json .ExportDialog-cards{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));justify-items:center;row-gap:2em}@media(max-width: 460px){.excalidraw .ExportDialog--json .ExportDialog-cards{grid-template-columns:repeat(auto-fit, minmax(240px, 1fr))}.excalidraw .ExportDialog--json .ExportDialog-cards .Card-details{min-height:40px}}.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:1em auto;align-items:flex-start;flex-direction:column}.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName .TextInput{width:auto}.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName-label{margin:.625em 0;font-weight:bold}.excalidraw button.ExportDialog-imageExportButton{border:0;width:5rem;height:5rem;margin:0 .2em;padding:0;display:flex;align-items:center;justify-content:center;border-radius:1rem;background-color:var(--button-color);box-shadow:0 3px 5px -1px rgba(0,0,0,.28),0 6px 10px 0 rgba(0,0,0,.14);font-family:Cascadia;font-size:1.8em;color:#fff}.excalidraw button.ExportDialog-imageExportButton:hover{background-color:var(--button-color-darker)}.excalidraw button.ExportDialog-imageExportButton:active{background-color:var(--button-color-darkest);box-shadow:none}.excalidraw button.ExportDialog-imageExportButton svg{width:.9em}",""]),fe.Z=c},7522:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .excalidraw-eye-dropper-container,.excalidraw .excalidraw-eye-dropper-backdrop{position:absolute;width:100%;height:100%;z-index:var(--zIndex-eyeDropperBackdrop);touch-action:none}.excalidraw .excalidraw-eye-dropper-container{pointer-events:none}.excalidraw .excalidraw-eye-dropper-backdrop{pointer-events:all}.excalidraw .excalidraw-eye-dropper-preview{pointer-events:none;width:3rem;height:3rem;position:fixed;z-index:var(--zIndex-eyeDropperPreview);border-radius:1rem;border:1px solid var(--default-border-color);-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .excalidraw-eye-dropper-trigger{width:1.25rem;height:1.25rem;cursor:pointer;padding:4px;margin-right:-4px;margin-left:-2px;border-radius:.5rem;color:var(--icon-fill-color)}.excalidraw .excalidraw-eye-dropper-trigger:hover{background:var(--button-hover-bg)}.excalidraw .excalidraw-eye-dropper-trigger.selected{color:var(--color-primary);background:var(--color-primary-light)}",""]),fe.Z=m},8960:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .ExcButton{--text-color: transparent;--border-color: transparent;--back-color: transparent;color:var(--text-color);background-color:var(--back-color);border-color:var(--border-color);display:flex;justify-content:center;align-items:center;flex-shrink:0;flex-wrap:nowrap;border-radius:.5rem;border-width:1px;border-style:solid;font-family:"Assistant";-webkit-user-select:none;user-select:none;transition:all 150ms ease-out}.excalidraw .ExcButton--color-primary.ExcButton--variant-filled{--text-color: var(--color-surface-lowest);--back-color: var(--color-primary)}.excalidraw .ExcButton--color-primary.ExcButton--variant-filled:hover{--back-color: var(--color-brand-hover)}.excalidraw .ExcButton--color-primary.ExcButton--variant-filled:active{--back-color: var(--color-brand-active)}.excalidraw .ExcButton--color-primary.ExcButton--variant-outlined,.excalidraw .ExcButton--color-primary.ExcButton--variant-icon{--text-color: var(--color-primary);--border-color: var(--color-border-outline);--back-color: transparent}.excalidraw .ExcButton--color-primary.ExcButton--variant-outlined:hover,.excalidraw .ExcButton--color-primary.ExcButton--variant-icon:hover{--text-color: var(--color-brand-hover);--border-color: var(--color-brand-hover)}.excalidraw .ExcButton--color-primary.ExcButton--variant-outlined:active,.excalidraw .ExcButton--color-primary.ExcButton--variant-icon:active{--text-color: var(--color-brand-active);--border-color: var(--color-brand-active)}.excalidraw .ExcButton--color-danger.ExcButton--variant-filled{--text-color: var(--color-danger-text);--back-color: var(--color-danger-dark)}.excalidraw .ExcButton--color-danger.ExcButton--variant-filled:hover{--back-color: var(--color-danger-darker)}.excalidraw .ExcButton--color-danger.ExcButton--variant-filled:active{--back-color: var(--color-danger-darkest)}.excalidraw .ExcButton--color-danger.ExcButton--variant-outlined,.excalidraw .ExcButton--color-danger.ExcButton--variant-icon{--text-color: var(--color-danger);--border-color: var(--color-danger);--back-color: transparent}.excalidraw .ExcButton--color-danger.ExcButton--variant-outlined:hover,.excalidraw .ExcButton--color-danger.ExcButton--variant-icon:hover{--text-color: var(--color-danger-darkest);--border-color: var(--color-danger-darkest)}.excalidraw .ExcButton--color-danger.ExcButton--variant-outlined:active,.excalidraw .ExcButton--color-danger.ExcButton--variant-icon:active{--text-color: var(--color-danger-darker);--border-color: var(--color-danger-darker)}.excalidraw .ExcButton--color-muted.ExcButton--variant-filled{--text-color: var(--island-bg-color);--back-color: var(--color-gray-50)}.excalidraw .ExcButton--color-muted.ExcButton--variant-filled:hover{--back-color: var(--color-gray-60)}.excalidraw .ExcButton--color-muted.ExcButton--variant-filled:active{--back-color: var(--color-gray-80)}.excalidraw .ExcButton--color-muted.ExcButton--variant-outlined,.excalidraw .ExcButton--color-muted.ExcButton--variant-icon{--text-color: var(--color-muted-background);--border-color: var(--color-muted);--back-color: var(--island-bg-color)}.excalidraw .ExcButton--color-muted.ExcButton--variant-outlined:hover,.excalidraw .ExcButton--color-muted.ExcButton--variant-icon:hover{--text-color: var(--color-muted-background-darker);--border-color: var(--color-muted-darker)}.excalidraw .ExcButton--color-muted.ExcButton--variant-outlined:active,.excalidraw .ExcButton--color-muted.ExcButton--variant-icon:active{--text-color: var(--color-muted-background-darker);--border-color: var(--color-muted-darkest)}.excalidraw .ExcButton--color-warning.ExcButton--variant-filled{--text-color: black;--back-color: var(--color-warning-dark)}.excalidraw .ExcButton--color-warning.ExcButton--variant-filled:hover{--back-color: var(--color-warning-darker)}.excalidraw .ExcButton--color-warning.ExcButton--variant-filled:active{--back-color: var(--color-warning-darkest)}.excalidraw .ExcButton--color-warning.ExcButton--variant-outlined,.excalidraw .ExcButton--color-warning.ExcButton--variant-icon{--text-color: var(--color-warning-dark);--border-color: var(--color-warning-dark);--back-color: var(--input-bg-color)}.excalidraw .ExcButton--color-warning.ExcButton--variant-outlined:hover,.excalidraw .ExcButton--color-warning.ExcButton--variant-icon:hover{--text-color: var(--color-warning-darker);--border-color: var(--color-warning-darker)}.excalidraw .ExcButton--color-warning.ExcButton--variant-outlined:active,.excalidraw .ExcButton--color-warning.ExcButton--variant-icon:active{--text-color: var(--color-warning-darkest);--border-color: var(--color-warning-darkest)}.excalidraw .ExcButton--size-large{font-weight:600;font-size:.875rem;min-height:3rem;padding:.5rem 1.5rem;gap:.75rem;letter-spacing:.4px}.excalidraw .ExcButton--size-medium{font-weight:600;font-size:.75rem;min-height:2.5rem;padding:.5rem 1rem;gap:.5rem;letter-spacing:normal}.excalidraw .ExcButton--variant-icon{padding:.5rem .75rem;width:3rem}.excalidraw .ExcButton--fullWidth{width:100%}.excalidraw .ExcButton__icon{width:1.25rem;height:1.25rem}',""]),fe.Z=m},3195:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .FixedSideContainer{position:absolute;pointer-events:none}.excalidraw .FixedSideContainer>*{pointer-events:var(--ui-pointerEvents)}.excalidraw .FixedSideContainer_side_top{left:var(--editor-container-padding);top:var(--editor-container-padding);right:var(--editor-container-padding);bottom:var(--editor-container-padding);z-index:2}.excalidraw .FixedSideContainer_side_top.zen-mode{right:42px}",""]),fe.Z=m},2978:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .HelpDialog .Modal__content{max-width:960px}.excalidraw .HelpDialog h3{margin:1.5rem 0;font-weight:bold;font-size:1.125rem}.excalidraw .HelpDialog__header{display:flex;flex-wrap:wrap;gap:.75rem}.excalidraw .HelpDialog__btn{--background: var(--color-surface-mid);display:flex;-webkit-column-gap:.5rem;column-gap:.5rem;align-items:center;background-color:var(--background);padding:.625rem 1rem;border:1px solid var(--background);border-radius:var(--border-radius-lg);color:var(--text-primary-color);font-weight:600;font-size:.75rem;letter-spacing:.4px}.excalidraw.theme--dark.excalidraw .HelpDialog__btn{--background: var(--color-surface-high)}.excalidraw.theme--dark.excalidraw .HelpDialog__btn:hover{--background: #363541}.excalidraw .HelpDialog__btn:hover{--background: var(--color-surface-high);text-decoration:none}.excalidraw .HelpDialog__btn:active{border-color:var(--color-primary)}.excalidraw .HelpDialog__link-icon{line-height:0}.excalidraw .HelpDialog__link-icon svg{width:1rem;height:1rem}.excalidraw .HelpDialog__islands-container{display:grid;grid-column-gap:1.5rem;grid-row-gap:2rem}@media screen and (min-width: 1024px){.excalidraw .HelpDialog__islands-container{grid-template-columns:1fr 1fr}}@media screen and (min-width: 1024px){.excalidraw .HelpDialog__island--tools{grid-area:1/1/2/2}.excalidraw .HelpDialog__island--view{grid-area:2/1/3/2}.excalidraw .HelpDialog__island--editor{grid-area:1/2/3/3}}.excalidraw .HelpDialog__island h4{font-size:1rem;font-weight:bold;margin:0;margin-bottom:.625rem}.excalidraw .HelpDialog__island-content{border:1px solid var(--dialog-border-color);border-radius:var(--border-radius-lg)}.excalidraw .HelpDialog__shortcut{border-bottom:1px solid var(--dialog-border-color);padding:.375rem .75rem;display:flex;justify-content:space-between;align-items:center;font-size:.875rem;-webkit-column-gap:.5rem;column-gap:.5rem}.excalidraw .HelpDialog__shortcut:last-child{border-bottom:none}.excalidraw .HelpDialog__key-container{display:flex;align-items:center;-webkit-column-gap:.25rem;column-gap:.25rem;flex-shrink:0}.excalidraw .HelpDialog__key{display:flex;box-sizing:border-box;font-size:.625rem;background-color:var(--color-primary-light);border-radius:var(--border-radius-md);padding:.5rem;word-break:keep-all;align-items:center;font-family:inherit;line-height:1}",""]),fe.Z=m},1587:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .HintViewer{pointer-events:none;box-sizing:border-box;position:absolute;display:flex;justify-content:center;left:0;top:100%;max-width:100%;width:100%;margin-top:.5rem;text-align:center;color:var(--color-gray-40);font-size:.75rem}.excalidraw--mobile.excalidraw .HintViewer{position:static;padding-right:2rem}.excalidraw .HintViewer>span{padding:.25rem}.excalidraw.theme--dark .HintViewer{color:var(--color-gray-60)}",""]),fe.Z=m},9478:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .picker-container{display:inline-block;box-sizing:border-box;margin-right:.25rem}.excalidraw .picker{background:var(--popup-bg-color);border:0 solid rgba(255,255,255,.25);box-shadow:rgba(0,0,0,.25) 2px 2px 4px 2px;border-radius:4px;position:absolute}.excalidraw .picker-container button,.excalidraw .picker button{position:relative;display:flex;align-items:center;justify-content:center}.excalidraw .picker-container button:focus-visible,.excalidraw .picker button:focus-visible{outline:rgba(0,0,0,0);background-color:var(--button-gray-2)}.excalidraw .picker-container button:focus-visible svg,.excalidraw .picker button:focus-visible svg{opacity:1}.excalidraw .picker-container button:hover,.excalidraw .picker button:hover{background-color:var(--button-gray-2)}.excalidraw .picker-container button:active,.excalidraw .picker button:active{background-color:var(--button-gray-3)}.excalidraw .picker-container button:disabled,.excalidraw .picker button:disabled{cursor:not-allowed}.excalidraw .picker-container button svg,.excalidraw .picker button svg{margin:0;width:36px;height:18px;pointer-events:none}.excalidraw .picker button{padding:.25rem .28rem .35rem .25rem}.excalidraw .picker-triangle{width:0;height:0;position:relative;top:-10px;z-index:10}:root[dir=ltr] .excalidraw .picker-triangle{left:12px}:root[dir=rtl] .excalidraw .picker-triangle{right:12px}.excalidraw .picker-triangle:before{content:"";position:absolute;border-style:solid;border-width:0 9px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.1);top:-1px}.excalidraw .picker-triangle:after{content:"";position:absolute;border-style:solid;border-width:0 9px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) var(--popup-bg-color)}.excalidraw .picker-content{padding:.5rem;display:grid;grid-template-columns:repeat(3, auto);grid-gap:.5rem;border-radius:4px}:root[dir=rtl] .excalidraw .picker-content{padding:.4rem}.excalidraw .picker-keybinding{position:absolute;bottom:2px;font-size:.7em;color:var(--keybinding-color)}:root[dir=ltr] .excalidraw .picker-keybinding{right:2px}:root[dir=rtl] .excalidraw .picker-keybinding{left:2px}.excalidraw--mobile.excalidraw .picker-keybinding{display:none}.excalidraw .picker-type-canvasBackground .picker-keybinding{color:#aaa}.excalidraw .picker-type-elementBackground .picker-keybinding{color:#fff}.excalidraw .picker-swatch[aria-label=transparent] .picker-keybinding{color:#aaa}.excalidraw .picker-type-elementStroke .picker-keybinding{color:#d4d4d4}.excalidraw.theme--dark .picker-type-elementBackground .picker-keybinding{color:#000}.excalidraw.theme--dark .picker-swatch[aria-label=transparent] .picker-keybinding{color:#000}',""]),fe.Z=m},9706:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w),v=t(1667),I=t.n(v),x=new URL(t(9669),t.b),c=m()(P()),f=I()(x);c.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--ImageExportModal-preview-border: #d6d6d6}.excalidraw.theme--dark{--ImageExportModal-preview-border: #5c5c5c}.excalidraw .ImageExportModal{display:flex;flex-direction:row;justify-content:space-between}.excalidraw .ImageExportModal h3{font-family:"Assistant";font-style:normal;font-weight:700;font-size:1.313rem;line-height:130%;padding:0;margin:0}.excalidraw--mobile.excalidraw .ImageExportModal h3{display:none}.excalidraw .ImageExportModal>h3{display:none}.excalidraw--mobile.excalidraw .ImageExportModal>h3{display:block}.excalidraw--mobile.excalidraw .ImageExportModal{flex-direction:column;height:calc(100vh - 5rem)}.excalidraw .ImageExportModal__preview{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;height:360px;width:55%;margin-right:1.5rem}.excalidraw--mobile.excalidraw .ImageExportModal__preview{max-width:unset;margin-right:unset;width:100%;height:unset;flex-grow:1}.excalidraw .ImageExportModal__preview__filename>input{margin-top:1rem}.excalidraw .ImageExportModal__preview__canvas{box-sizing:border-box;width:100%;height:100%;display:flex;flex-grow:1;justify-content:center;align-items:center;background:url('+f+') left center;border:1px solid var(--ImageExportModal-preview-border);border-radius:12px;overflow:hidden;padding:1rem}.excalidraw .ImageExportModal__preview__canvas>canvas{max-width:calc(100% - 2rem);max-height:calc(100% - 2rem);-webkit-filter:none !important;filter:none !important}.excalidraw--mobile.excalidraw .ImageExportModal__preview__canvas>canvas{max-height:100%}.excalidraw--mobile.excalidraw .ImageExportModal__preview__canvas{margin-top:24px;max-width:unset}.excalidraw .ImageExportModal__settings{display:flex;flex-direction:column;flex-wrap:wrap;gap:18px}.excalidraw--mobile.excalidraw .ImageExportModal__settings{margin-left:unset;margin-top:1rem;flex-direction:row;gap:6px 34px;align-content:flex-start}.excalidraw .ImageExportModal__settings__setting{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.excalidraw--mobile.excalidraw .ImageExportModal__settings__setting{flex-direction:column;align-items:start;justify-content:unset;height:52px}.excalidraw .ImageExportModal__settings__setting__label{display:flex;flex-direction:row;align-items:center;font-family:"Assistant";font-weight:600;font-size:1rem;line-height:150%}.excalidraw .ImageExportModal__settings__setting__label svg{width:20px;height:20px;margin-left:10px}.excalidraw .ImageExportModal__settings__setting__content{display:flex;height:100%;align-items:center}.excalidraw .ImageExportModal__settings__buttons{flex-grow:1;flex-wrap:wrap;display:flex;flex-direction:row;gap:11px;align-items:flex-end;align-content:flex-end}.excalidraw--mobile.excalidraw .ImageExportModal__settings__buttons{padding-top:32px;flex-basis:100%;justify-content:center}',""]),fe.Z=c},7369:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .Island{--padding: 0;box-sizing:border-box;background-color:var(--island-bg-color);box-shadow:var(--shadow-island);border-radius:var(--border-radius-lg);padding:calc(var(--padding)*var(--space-factor));position:relative;transition:box-shadow .5s ease-in-out}.excalidraw .Island.zen-mode{box-shadow:none}",""]),fe.Z=m},7930:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .LaserToolOverlay{pointer-events:none;width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:2}.excalidraw .LaserToolOverlay .LaserToolOverlayCanvas{image-rendering:auto;overflow:visible;position:absolute;top:0;left:0}",""]),fe.Z=m},1434:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .layer-ui__wrapper.animate{transition:width .1s ease-in-out}.excalidraw .layer-ui__wrapper{position:absolute;width:100%;height:100%;pointer-events:none;z-index:var(--zIndex-layerUI)}.excalidraw .layer-ui__wrapper__top-right{display:flex;gap:.75rem}.excalidraw .layer-ui__wrapper__footer{width:100%}.excalidraw .layer-ui__wrapper__footer-right{z-index:100;display:flex}.excalidraw .layer-ui__wrapper .zen-mode-transition{transition:-webkit-transform .5s ease-in-out;transition:transform .5s ease-in-out;transition:transform .5s ease-in-out, -webkit-transform .5s ease-in-out}:root[dir=ltr] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-left{-webkit-transform:translate(-999px, 0);transform:translate(-999px, 0)}:root[dir=ltr] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-right{-webkit-transform:translate(999px, 0);transform:translate(999px, 0)}:root[dir=rtl] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-left{-webkit-transform:translate(999px, 0);transform:translate(999px, 0)}:root[dir=rtl] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-right{-webkit-transform:translate(-999px, 0);transform:translate(-999px, 0)}.excalidraw .layer-ui__wrapper .zen-mode-transition.layer-ui__wrapper__footer-left--transition-bottom{-webkit-transform:translate(0, 92px);transform:translate(0, 92px)}.excalidraw .layer-ui__wrapper .disable-zen-mode{padding:10px;position:absolute;bottom:0;opacity:0;visibility:hidden;transition:visibility 0s linear 0s,opacity .5s;font-family:var(--ui-font);font-size:.75rem;font-weight:500;line-height:1;border-radius:var(--border-radius-lg);border:1px solid var(--default-border-color);background-color:var(--island-bg-color);color:var(--text-primary-color)}[dir=ltr] .excalidraw .layer-ui__wrapper .disable-zen-mode{right:1rem}[dir=rtl] .excalidraw .layer-ui__wrapper .disable-zen-mode{left:1rem}.excalidraw .layer-ui__wrapper .disable-zen-mode:hover{background-color:var(--button-hover-bg)}.excalidraw .layer-ui__wrapper .disable-zen-mode:active{border-color:var(--color-primary)}.excalidraw .layer-ui__wrapper .disable-zen-mode--visible{opacity:1;visibility:visible;transition:visibility 0s linear 300ms,opacity .5s;transition-delay:.8s;pointer-events:var(--ui-pointerEvents)}.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-left>*,.excalidraw .layer-ui__wrapper .footer-center>*,.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-right>*{pointer-events:var(--ui-pointerEvents)}.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-right{margin-top:auto;margin-bottom:auto}",""]),fe.Z=m},8923:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,'.excalidraw .layer-ui__library{display:flex;flex-direction:column;flex:1 1 auto}.excalidraw .library-actions-counter{background-color:var(--color-primary);color:var(--color-primary-light);font-weight:bold;display:flex;align-items:center;justify-content:center;border-radius:50%;width:1rem;height:1rem;position:absolute;bottom:-0.25rem;right:-0.25rem;font-size:.625rem;pointer-events:none}.excalidraw .layer-ui__library-message{padding:2rem;min-width:200px;display:flex;flex-direction:column;align-items:center;flex-grow:1;justify-content:center}.excalidraw .layer-ui__library-message span{font-size:.8em}.excalidraw .publish-library-success .Dialog__content{display:flex;flex-direction:column}.excalidraw .publish-library-success-close.ToolIcon_type_button{background-color:#228be6;align-self:flex-end}.excalidraw .publish-library-success-close.ToolIcon_type_button:hover{background-color:#1971c2}.excalidraw .publish-library-success-close.ToolIcon_type_button .ToolIcon__icon{width:auto;font-size:1rem;color:#fff;padding:0 .5rem}.excalidraw .library-menu-control-buttons{display:flex;align-items:center;justify-content:center;gap:.625rem;position:relative}.excalidraw .library-menu-control-buttons--at-bottom::before{content:"";width:calc(100% - 1.5rem);height:1px;position:absolute;top:-1px;background:var(--sidebar-border-color)}.excalidraw .library-menu-browse-button{flex:1;height:var(--lg-button-size);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;border-radius:var(--border-radius-lg);background-color:var(--color-primary);color:#fff;text-align:center;white-space:nowrap;text-decoration:none !important;font-weight:600;font-size:.75rem}.excalidraw .library-menu-browse-button:hover{background-color:var(--color-brand-hover)}.excalidraw .library-menu-browse-button:active{background-color:var(--color-brand-active)}.excalidraw.theme--dark .library-menu-browse-button{color:var(--color-gray-100)}.excalidraw.excalidraw--mobile .library-menu-browse-button{height:var(--default-button-size)}.excalidraw .layer-ui__library .dropdown-menu{width:auto;top:initial;right:0;left:initial;bottom:100%;margin-bottom:.625rem}.excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container{width:196px;box-shadow:var(--library-dropdown-shadow);border-radius:var(--border-radius-lg);padding:.25rem .5rem}.excalidraw .layer-ui__library .library-menu-dropdown-container{position:relative}.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading{padding:0;position:absolute;top:1rem;right:.75rem;z-index:1}.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu{top:100%}',""]),fe.Z=m},6440:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw{--container-padding-y: 1.5rem;--container-padding-x: 0.75rem}.excalidraw .library-menu-items__no-items{text-align:center;color:var(--color-gray-70);line-height:1.5;font-size:.875rem;width:100%}.excalidraw .library-menu-items__no-items__label{color:var(--color-primary);font-weight:bold;font-size:1.125rem;margin-bottom:.75rem}.excalidraw.theme--dark .library-menu-items__no-items{color:var(--color-gray-40)}.excalidraw .library-menu-items-container{width:100%;display:flex;flex-grow:1;flex-shrink:1;flex-basis:0;overflow-y:auto;flex-direction:column;height:100%;justify-content:center;margin:0;position:relative}.excalidraw .library-menu-items-container>div{padding-left:.75rem;padding-right:.75rem}.excalidraw .library-menu-items-container__row{display:grid;grid-template-columns:repeat(4, 1fr);gap:1rem}.excalidraw .library-menu-items-container__items{row-gap:.5rem;padding:var(--container-padding-y) 0;flex:1;overflow-y:auto;overflow-x:hidden;margin-bottom:1rem}.excalidraw .library-menu-items-container__header{color:var(--color-primary);font-size:1.125rem;font-weight:bold;margin-bottom:.75rem;width:100%;padding-right:4rem;box-sizing:border-box}.excalidraw .library-menu-items-container__header--excal{margin-top:2rem}.excalidraw .library-menu-items-container__grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:1rem}.excalidraw .library-menu-items-container .separator{width:100%;display:flex;align-items:center;font-weight:500;font-size:.9rem;margin:.6em .2em;color:var(--text-primary-color)}.excalidraw .library-menu-items-private-library-container{min-height:3.75rem;width:100%}",""]),fe.Z=m},5644:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .library-unit{align-items:center;border:1px solid rgba(0,0,0,0);display:flex;justify-content:center;position:relative;width:55px;height:55px;box-sizing:border-box;border-radius:var(--border-radius-lg)}.excalidraw .library-unit svg{pointer-events:none}.excalidraw .library-unit--hover{border-color:var(--color-primary)}.excalidraw .library-unit--selected{border-color:var(--color-primary);border-width:1px}.excalidraw .library-unit--skeleton{opacity:.5;background:linear-gradient(-45deg, var(--color-gray-10), var(--color-gray-20), var(--color-gray-10));background-size:200% 200%;-webkit-animation:library-unit__skeleton-opacity-animation .2s linear;animation:library-unit__skeleton-opacity-animation .2s linear}.excalidraw.theme--dark .library-unit--skeleton{background-image:linear-gradient(-45deg, var(--color-gray-100), var(--color-gray-80), var(--color-gray-100))}.excalidraw .library-unit__dragger{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.excalidraw .library-unit__dragger>svg{-webkit-filter:var(--theme-filter);filter:var(--theme-filter);flex-grow:1;max-height:100%;max-width:100%}.excalidraw .library-unit__checkbox-container,.excalidraw .library-unit__checkbox-container:hover,.excalidraw .library-unit__checkbox-container:active{align-items:center;background:none;border:none;color:var(--icon-fill-color);display:flex;justify-content:center;margin:0;padding:.5rem;position:absolute;left:2rem;bottom:2rem;cursor:pointer}.excalidraw .library-unit__checkbox-container input,.excalidraw .library-unit__checkbox-container:hover input,.excalidraw .library-unit__checkbox-container:active input{cursor:pointer}.excalidraw .library-unit__checkbox{position:absolute;top:.125rem;right:.125rem;margin:0}.excalidraw .library-unit__checkbox .Checkbox-box{margin:0;width:1rem;height:1rem;border-radius:4px;background-color:var(--color-primary-light);border:1px solid var(--color-primary);box-shadow:none !important;padding:2px}.excalidraw .library-unit__checkbox.Checkbox:hover .Checkbox-box{background-color:var(--color-primary-light)}.excalidraw .library-unit__checkbox.is-checked .Checkbox-box{background-color:var(--color-primary) !important}.excalidraw .library-unit__checkbox.is-checked .Checkbox-box svg{color:var(--color-primary-light)}.excalidraw .library-unit__removeFromLibrary>svg{height:16px;width:16px}.excalidraw .library-unit__adder{-webkit-transform:scale(1);transform:scale(1);-webkit-animation:library-unit__adder-animation 1s ease-in infinite;animation:library-unit__adder-animation 1s ease-in infinite;position:absolute;width:1.5rem;height:1.5rem;background-color:var(--color-primary);border-radius:var(--border-radius-md);display:flex;justify-content:center;align-items:center;pointer-events:none}.excalidraw .library-unit__adder svg{color:var(--color-primary-light);width:1rem;height:1rem}.excalidraw .library-unit:active .library-unit__adder{-webkit-animation:none;animation:none;-webkit-transform:scale(0.8);transform:scale(0.8)}.excalidraw .library-unit__active{cursor:pointer}@-webkit-keyframes library-unit__adder-animation{0%{-webkit-transform:scale(0.85);transform:scale(0.85)}50%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.85);transform:scale(0.85)}}@keyframes library-unit__adder-animation{0%{-webkit-transform:scale(0.85);transform:scale(0.85)}50%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.85);transform:scale(0.85)}}@-webkit-keyframes library-unit__skeleton-opacity-animation{0%{opacity:0}75%{opacity:0}100%{opacity:.5}}@keyframes library-unit__skeleton-opacity-animation{0%{opacity:0}75%{opacity:0}100%{opacity:.5}}",""]),fe.Z=m},5830:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w),v=t(1667),I=t.n(v),x=new URL(t(9669),t.b),c=m()(P()),f=I()(x);c.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .dialog-mermaid-title{margin-bottom:5px;margin-top:2px}.excalidraw .dialog-mermaid-desc{font-size:15px;font-style:italic;font-weight:500}.excalidraw .dialog-mermaid .Modal__content .Island{box-shadow:none}.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid{padding:1.25rem}.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid .Modal__content{height:100%;max-height:750px}@media screen and (max-width: 860px){.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid .Modal__content{height:auto;max-height:100%}}.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid .Modal__content .Island{height:100%;display:flex;flex-direction:column;flex:1 1 auto}.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid .Modal__content .Island .Dialog__content{display:flex;flex:1 1 auto}.excalidraw .dialog-mermaid-body{width:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto;height:100%;-webkit-column-gap:4rem;column-gap:4rem}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-body{flex-direction:column;display:flex;gap:1rem}}.excalidraw .dialog-mermaid-panels{display:grid;width:100%;grid-template-columns:1fr 1fr;justify-content:space-between;gap:4rem;grid-row:1;grid-column:1/3}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-panels{flex-direction:column;display:flex;gap:1rem}}.excalidraw .dialog-mermaid-panels label{font-size:14px;font-style:normal;font-weight:600;margin-bottom:4px;margin-left:4px}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-panels label{margin-top:4px}}.excalidraw .dialog-mermaid-panels-text{display:flex;flex-direction:column}.excalidraw .dialog-mermaid-panels-text textarea{width:20rem;height:100%;resize:none;border-radius:var(--border-radius-lg);border:1px solid var(--dialog-border-color);white-space:pre-wrap;padding:.85rem;box-sizing:border-box;width:100%;font-family:monospace}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-panels-text textarea{width:auto;height:10rem}}.excalidraw .dialog-mermaid-panels-preview-wrapper{display:flex;align-items:center;justify-content:center;padding:.85rem;box-sizing:border-box;width:100%;height:200px;flex-grow:1;position:relative;background:url("+f+') left center;border-radius:var(--border-radius-lg);border:1px solid var(--dialog-border-color)}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-panels-preview-wrapper{height:400px;width:auto}}.excalidraw .dialog-mermaid-panels-preview-wrapper canvas{max-width:100%;max-height:100%}.excalidraw .dialog-mermaid-panels-preview-canvas-container{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-grow:1}.excalidraw .dialog-mermaid-panels-preview{display:flex;flex-direction:column}.excalidraw .dialog-mermaid-panels .mermaid-error{color:red;font-weight:800;font-size:30px;word-break:break-word;overflow:auto;max-height:100%;height:100%;width:100%;text-align:center;position:absolute;z-index:10}.excalidraw .dialog-mermaid-panels .mermaid-error p{font-weight:500;font-family:Cascadia;text-align:left;white-space:pre-wrap;font-size:.875rem;padding:0 10px}.excalidraw .dialog-mermaid-buttons{grid-column:2}.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button{font-family:"Assistant";font-weight:600;height:2.5rem;margin-top:1em;margin-bottom:.3em;width:7.5rem;font-size:12px;color:#fff;background-color:var(--color-primary)}.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button:hover{background-color:var(--color-primary-darker)}.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button:active{background-color:var(--color-primary-darkest)}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button{width:100%}}.excalidraw.theme--dark.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button{color:var(--color-gray-100)}.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert span{padding-left:.5rem;display:flex}',""]),fe.Z=c},6843:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw.excalidraw-modal-container{position:absolute;z-index:var(--zIndex-modal)}.excalidraw .Modal{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:calc(var(--space-factor)*10)}.excalidraw .Modal .Island{padding:2.5rem !important}.excalidraw .Modal__background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1;background-color:rgba(18,18,18,.2);-webkit-animation:Modal__background__fade-in .125s linear forwards;animation:Modal__background__fade-in .125s linear forwards}.excalidraw .Modal__content{position:relative;z-index:2;width:100%;max-width:var(--max-width);max-height:100%;opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px);-webkit-animation:Modal__content_fade-in .1s ease-out .05s forwards;animation:Modal__content_fade-in .1s ease-out .05s forwards;position:relative;overflow-y:auto;background:var(--island-bg-color);border:1px solid var(--dialog-border-color);box-shadow:var(--modal-shadow);border-radius:6px;box-sizing:border-box}.excalidraw .Modal__content:focus{outline:none}@-webkit-keyframes Modal__background__fade-in{from{opacity:0}to{opacity:1}}@keyframes Modal__background__fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes Modal__content_fade-in{from{opacity:0;-webkit-transform:scale(0.9);transform:scale(0.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes Modal__content_fade-in{from{opacity:0;-webkit-transform:scale(0.9);transform:scale(0.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.excalidraw .Modal__close{color:var(--icon-fill-color);margin:0;padding:.375rem;position:absolute;top:1rem;right:1rem;border:0;background-color:rgba(0,0,0,0);line-height:0;cursor:pointer}.excalidraw .Modal__close svg{width:1.5rem;height:1.5rem}.excalidraw .Dialog--fullscreen .Modal{padding:0}.excalidraw .Dialog--fullscreen .Modal__content{position:absolute;top:0;left:0;right:0;bottom:0;max-width:100%;border:0;border-radius:0}",""]),fe.Z=m},9439:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .OverwriteConfirm{display:flex;flex-direction:column;align-items:center;gap:.75rem;isolation:isolate}.excalidraw .OverwriteConfirm h3{margin:0;font-weight:700;font-size:1.3125rem;line-height:130%;align-self:flex-start;color:var(--text-primary-color)}.excalidraw .OverwriteConfirm__Description{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;width:100%;gap:1rem;padding:2.5rem;background:var(--color-danger-background);border-radius:.5rem;font-family:"Assistant";font-style:normal;font-weight:400;font-size:1rem;line-height:150%;color:var(--color-danger-color)}.excalidraw--mobile.excalidraw .OverwriteConfirm__Description{flex-direction:column;text-align:center}.excalidraw .OverwriteConfirm__Description__spacer{flex-grow:1}.excalidraw .OverwriteConfirm__Description__icon{box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:2.5rem;background:var(--color-danger-icon-background);width:3.5rem;height:3.5rem;padding:.75rem}.excalidraw .OverwriteConfirm__Description__icon svg{color:var(--color-danger-icon-color);width:1.5rem;height:1.5rem}.excalidraw .OverwriteConfirm__Description.OverwriteConfirm__Description--color-warning{background:var(--color-warning-background);color:var(--color-warning-color)}.excalidraw .OverwriteConfirm__Description.OverwriteConfirm__Description--color-warning .OverwriteConfirm__Description__icon{background:var(--color-warning-icon-background);flex:0 0 auto}.excalidraw .OverwriteConfirm__Description.OverwriteConfirm__Description--color-warning .OverwriteConfirm__Description__icon svg{color:var(--color-warning-icon-color)}.excalidraw .OverwriteConfirm__Actions{display:flex;flex-direction:row;align-items:stretch;justify-items:stretch;justify-content:center;gap:1.5rem}.excalidraw--mobile.excalidraw .OverwriteConfirm__Actions{flex-direction:column}.excalidraw .OverwriteConfirm__Actions__Action{display:flex;flex-direction:column;align-items:center;padding:1.5rem;gap:.75rem;flex-basis:50%;flex-grow:0}.excalidraw .OverwriteConfirm__Actions__Action__content{height:100%;font-size:.875rem;text-align:center}.excalidraw .OverwriteConfirm__Actions__Action h4{font-weight:700;font-size:1.125rem;line-height:130%;margin:0;color:var(--text-primary-color)}',""]),fe.Z=m},8461:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw--mobile.excalidraw .PasteChartDialog .Island{display:flex;flex-direction:column}.excalidraw .PasteChartDialog .container{display:flex;align-items:center;justify-content:space-around;flex-wrap:wrap}.excalidraw--mobile.excalidraw .PasteChartDialog .container{flex-direction:column;justify-content:center}.excalidraw .PasteChartDialog .ChartPreview{margin:8px;text-align:center;width:192px;height:128px;border-radius:2px;padding:1px;border:1px solid #ced4da;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0)}.excalidraw .PasteChartDialog .ChartPreview div{display:inline-block}.excalidraw .PasteChartDialog .ChartPreview svg{max-height:120px;max-width:186px}.excalidraw .PasteChartDialog .ChartPreview:hover{padding:0;border:2px solid #339af0}",""]),fe.Z=m},9935:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .popover{position:absolute;z-index:10;padding:5px 0 5px;outline:none}",""]),fe.Z=m},532:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".ProjectName{margin:auto;display:flex;align-items:center}.ProjectName .TextInput{height:calc(1rem - 3px);width:200px;overflow:hidden;text-align:center;margin-left:8px;text-overflow:ellipsis}.ProjectName .TextInput--readonly{background:none;border:none;width:auto;max-width:200px;padding-left:2px}.ProjectName .TextInput--readonly:hover{background:none}",""]),fe.Z=m},7589:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .publish-library__fields{display:flex;flex-direction:column}.excalidraw .publish-library__fields label{padding:1em 0;display:flex;justify-content:space-between;align-items:center}.excalidraw .publish-library__fields label span{font-weight:500;font-size:1rem;color:#868e96}.excalidraw .publish-library__fields label input,.excalidraw .publish-library__fields label textarea{width:70%;padding:.6em;font-family:var(--ui-font)}.excalidraw .publish-library__fields label .required{color:#e03131;margin:.2rem}.excalidraw .publish-library__buttons{display:flex;padding:.2rem 0;justify-content:flex-end;gap:.5rem}.excalidraw .publish-library__buttons .ToolIcon__icon{min-width:2.5rem;width:auto;font-size:1rem}.excalidraw .publish-library__buttons .ToolIcon_type_button{margin-left:1rem;padding:0 .5rem}.excalidraw .publish-library__buttons--confirm.ToolIcon_type_button{background-color:#228be6}.excalidraw .publish-library__buttons--confirm.ToolIcon_type_button:hover{background-color:#1971c2}.excalidraw .publish-library__buttons--cancel.ToolIcon_type_button{background-color:#adb5bd}.excalidraw .publish-library__buttons--cancel.ToolIcon_type_button:hover{background-color:#868e96}.excalidraw .publish-library__buttons .ToolIcon__icon{color:#fff}.excalidraw .publish-library__buttons .ToolIcon__icon .Spinner{--spinner-color: #fff}.excalidraw .publish-library__buttons .ToolIcon__icon .Spinner svg{padding:.5rem}.excalidraw .publish-library .selected-library-items{display:flex;flex-wrap:wrap}.excalidraw .publish-library .selected-library-items .single-library-item-wrapper{width:9rem}.excalidraw .publish-library-warning{color:#fa5252}.excalidraw .publish-library-note{padding:1em 0;font-style:italic;font-size:14px;display:block}.excalidraw .single-library-item{position:relative}.excalidraw .single-library-item-status{position:absolute;top:.3rem;left:.3rem;font-size:.7rem;color:#f03e3e;background:rgba(255,255,255,.9);padding:.1rem .2rem;border-radius:.2rem}.excalidraw .single-library-item__svg{background-color:#fff;padding:.3rem;width:7.5rem;height:7.5rem;border:1px solid var(--button-gray-2)}.excalidraw .single-library-item__svg svg{width:100%;height:100%}.excalidraw .single-library-item .ToolIcon__icon{background-color:#fff;width:auto;height:auto;margin:0 .5rem}.excalidraw .single-library-item .ToolIcon,.excalidraw .single-library-item .ToolIcon_type_button:hover{background-color:#fff}.excalidraw .single-library-item .required,.excalidraw .single-library-item .error{color:#e03131;font-weight:bold;font-size:1rem;margin:.2rem}.excalidraw .single-library-item .error{font-weight:500;margin:0;padding:.3em 0}.excalidraw .single-library-item--remove{position:absolute;top:.2rem;right:1rem}.excalidraw .single-library-item--remove .ToolIcon__icon{margin:0}.excalidraw .single-library-item--remove .ToolIcon__icon{background-color:#fa5252}.excalidraw .single-library-item--remove .ToolIcon__icon:hover{background-color:#f03e3e}.excalidraw .single-library-item--remove .ToolIcon__icon:active{background-color:#e03131}.excalidraw .single-library-item--remove svg{color:#fff;padding:.26rem;border-radius:.3em;width:1rem;height:1rem}",""]),fe.Z=m},6217:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--RadioGroup-background: var(--island-bg-color);--RadioGroup-border: var(--color-surface-high);--RadioGroup-choice-color-off: var(--color-primary);--RadioGroup-choice-color-off-hover: var(--color-brand-hover);--RadioGroup-choice-background-off: var(--island-bg-color);--RadioGroup-choice-background-off-active: var(--color-surface-high);--RadioGroup-choice-color-on: var(--color-surface-lowest);--RadioGroup-choice-background-on: var(--color-primary);--RadioGroup-choice-background-on-hover: var(--color-brand-hover);--RadioGroup-choice-background-on-active: var(--color-brand-active)}.excalidraw .RadioGroup{box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;padding:3px;border-radius:10px;background:var(--RadioGroup-background);border:1px solid var(--RadioGroup-border)}.excalidraw .RadioGroup__choice{position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:24px;color:var(--RadioGroup-choice-color-off);background:var(--RadioGroup-choice-background-off);border-radius:8px;font-family:"Assistant";font-style:normal;font-weight:600;font-size:.75rem;line-height:100%;-webkit-user-select:none;user-select:none;letter-spacing:.4px;transition:all 75ms ease-out}.excalidraw .RadioGroup__choice:hover{color:var(--RadioGroup-choice-color-off-hover)}.excalidraw .RadioGroup__choice:active{background:var(--RadioGroup-choice-background-off-active)}.excalidraw .RadioGroup__choice.active{color:var(--RadioGroup-choice-color-on);background:var(--RadioGroup-choice-background-on)}.excalidraw .RadioGroup__choice.active:hover{background:var(--RadioGroup-choice-background-on-hover)}.excalidraw .RadioGroup__choice.active:active{background:var(--RadioGroup-choice-background-on-active)}.excalidraw .RadioGroup__choice input{z-index:1;position:absolute;width:100%;height:100%;margin:0;padding:0;border-radius:8px;-webkit-appearance:none;appearance:none;cursor:pointer}',""]),fe.Z=m},8208:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .sidebar{display:flex;flex-direction:column;position:absolute;top:0;bottom:0;right:0;z-index:5;margin:0;padding:0;box-sizing:border-box;background-color:var(--sidebar-bg-color);box-shadow:var(--sidebar-shadow);pointer-events:var(--ui-pointerEvents);overflow:hidden;border-radius:0;width:calc(302px - var(--space-factor) * 2);border-left:1px solid var(--sidebar-border-color)}:root[dir=rtl] .excalidraw .sidebar{left:0;right:auto}.excalidraw .sidebar--docked{box-shadow:none}:root[dir=rtl] .excalidraw .sidebar{border-right:1px solid var(--sidebar-border-color);border-left:0}.excalidraw .sidebar__header{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;width:100%;padding:1rem .75rem;position:relative}.excalidraw .sidebar__header::after{content:"";width:calc(100% - 1.5rem);height:1px;background:var(--sidebar-border-color);position:absolute;bottom:-1px}.excalidraw .sidebar__header__buttons{gap:0;display:flex;align-items:center;margin-left:auto}.excalidraw .sidebar__header__buttons button{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));--button-bg: transparent;border:0 !important;width:var(--lg-button-size);height:var(--lg-button-size);padding:0}.excalidraw .sidebar__header__buttons button svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .sidebar__header__buttons button:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .sidebar__header__buttons button:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .sidebar__header__buttons button.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .sidebar__header__buttons button.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .sidebar__header__buttons button.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .sidebar__header__buttons button svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .sidebar__header__buttons button:hover{background:var(--button-hover-bg, var(--island-bg-color))}.excalidraw .sidebar__header__buttons .sidebar__dock.selected svg{stroke:var(--color-primary);fill:var(--color-primary)}.excalidraw .sidebar-tabs-root{display:flex;flex-direction:column;flex:1 1 auto;padding:1rem 0}.excalidraw .sidebar-tabs-root [role=tabpanel]{flex:1;outline:none;flex:1 1 auto;display:flex;flex-direction:column;outline:none}.excalidraw .sidebar-tabs-root [role=tabpanel][data-state=inactive]{display:none !important}.excalidraw .sidebar-tabs-root [role=tablist]{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit, minmax(0, 1fr))}.excalidraw .sidebar-tabs-root>.sidebar__header{padding-top:0;padding-bottom:1rem}.excalidraw .sidebar-tab-trigger{--button-width: auto;--button-bg: transparent;--button-hover-bg: transparent;--button-active-bg: var(--color-primary);--button-hover-color: var(--color-primary);--button-hover-border: var(--color-primary)}.excalidraw .sidebar-tab-trigger[data-state=active]{--button-bg: var(--color-primary);--button-hover-bg: var(--color-primary-darker);--button-hover-color: var(--color-icon-white);--button-border: var(--color-primary);color:var(--color-icon-white)}.excalidraw .default-sidebar{display:flex;flex-direction:column}.excalidraw .default-sidebar .sidebar-triggers{display:flex;gap:0;padding:2px;margin-top:-3px;margin-bottom:-3px;border:1px solid var(--sidebar-border-color);background:var(--default-bg-color);border-radius:.625rem}.excalidraw .default-sidebar .sidebar-triggers .sidebar-tab-trigger{height:var(--lg-button-size);width:var(--lg-button-size);border:none}',""]),fe.Z=m},7051:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .sidebar-trigger{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));border:none;box-shadow:0 0 0 1px var(--color-surface-lowest);background-color:var(--color-surface-low);width:auto;height:var(--lg-button-size);display:flex;align-items:center;gap:.5rem;line-height:0;font-size:.75rem;letter-spacing:.4px}.excalidraw .sidebar-trigger svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .sidebar-trigger:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .sidebar-trigger:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .sidebar-trigger.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .sidebar-trigger.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .sidebar-trigger.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .sidebar-trigger:active{box-shadow:0 0 0 1px var(--color-brand-active)}.excalidraw .sidebar-trigger svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .default-sidebar-trigger .sidebar-trigger__label{display:block}.excalidraw.excalidraw--mobile .default-sidebar-trigger .sidebar-trigger__label{display:none}",""]),fe.Z=m},5892:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .Spinner{display:flex;align-items:center;justify-content:center;height:100%;margin-left:auto;margin-right:auto;--spinner-color: var(--icon-fill-color)}.excalidraw .Spinner svg{-webkit-animation:rotate 1.6s linear infinite;animation:rotate 1.6s linear infinite;-webkit-animation-delay:var(--spinner-delay);animation-delay:var(--spinner-delay);-webkit-transform-origin:center center;transform-origin:center center}.excalidraw .Spinner circle{stroke:var(--spinner-color);-webkit-animation:dash 1.6s linear 0s infinite;animation:dash 1.6s linear 0s infinite;stroke-linecap:round}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,300;stroke-dashoffset:0}50%{stroke-dasharray:150,300;stroke-dashoffset:-200}100%{stroke-dasharray:1,300;stroke-dashoffset:-280}}@keyframes dash{0%{stroke-dasharray:1,300;stroke-dashoffset:0}50%{stroke-dasharray:150,300;stroke-dashoffset:-200}100%{stroke-dasharray:1,300;stroke-dashoffset:-280}}",""]),fe.Z=m},3874:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .Stack{--gap: 0;display:grid;gap:calc(var(--space-factor)*var(--gap))}.excalidraw .Stack_vertical{grid-template-columns:auto;grid-auto-flow:row;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.excalidraw .Stack_horizontal{grid-template-rows:auto;grid-auto-flow:column;grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content}",""]),fe.Z=m},2681:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Stats{position:absolute;top:64px;right:12px;font-size:12px;z-index:10;pointer-events:var(--ui-pointerEvents)}.excalidraw .Stats h3{margin:0 24px 8px 0;white-space:nowrap}.excalidraw .Stats .close{float:right;height:16px;width:16px;cursor:pointer}.excalidraw .Stats .close svg{width:100%;height:100%}.excalidraw .Stats table{width:100%}.excalidraw .Stats table th{border-bottom:1px solid var(--input-border-color);padding:4px}.excalidraw .Stats table tr td:nth-child(2){min-width:24px;text-align:right}:root[dir=rtl] .excalidraw .Stats{left:12px;right:initial}:root[dir=rtl] .excalidraw .Stats h3{margin:0 0 8px 24px}:root[dir=rtl] .excalidraw .Stats .close{float:left}",""]),fe.Z=m},7802:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--Switch-disabled-color: var(--color-border-outline);--Switch-disabled-toggled-background: var(--color-border-outline-variant);--Switch-disabled-border: var(--color-border-outline-variant);--Switch-track-background: var(--island-bg-color);--Switch-thumb-background: var(--color-on-surface);--Switch-hover-background: var(--color-brand-hover);--Switch-active-background: var(--color-brand-active)}.excalidraw .Switch{position:relative;box-sizing:border-box;width:40px;height:20px;border-radius:12px;transition-property:background,border;transition-duration:150ms;transition-timing-function:ease-out;background:var(--Switch-track-background);border:1px solid var(--Switch-disabled-color)}.excalidraw .Switch:hover{background:var(--Switch-track-background);border:1px solid var(--Switch-hover-background)}.excalidraw .Switch:active{border:1px solid var(--Switch-active-background)}.excalidraw .Switch.toggled{background:var(--color-primary);border:1px solid var(--color-primary)}.excalidraw .Switch.toggled:hover{background:var(--color-primary-darker);border:1px solid var(--color-primary-darker)}.excalidraw .Switch.disabled{background:var(--Switch-track-background);border:1px solid var(--Switch-disabled-border)}.excalidraw .Switch.disabled.toggled{background:var(--Switch-disabled-toggled-background);border:1px solid var(--Switch-disabled-toggled-background)}.excalidraw .Switch:before{content:"";box-sizing:border-box;display:block;pointer-events:none;position:absolute;border-radius:100%;transition:all 150ms ease-out;width:10px;height:10px;top:4px;left:4px;background:var(--Switch-thumb-background)}.excalidraw .Switch:active:before{width:12px}.excalidraw .Switch.toggled:before{width:14px;height:14px;left:22px;top:2px;background:var(--Switch-track-background)}.excalidraw .Switch.toggled:active:before{width:16px;left:20px}.excalidraw .Switch.disabled:before{background:var(--Switch-disabled-color)}.excalidraw .Switch.disabled.toggled:before{background:var(--Switch-disabled-color)}.excalidraw .Switch input{width:100%;height:100%;margin:0;border-radius:12px;-webkit-appearance:none;appearance:none;cursor:pointer}.excalidraw .Switch input:disabled{cursor:unset}',""]),fe.Z=m},6759:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .TextInput{display:inline-block}",""]),fe.Z=m},9650:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Toast{-webkit-animation:fade-in .5s;animation:fade-in .5s;background-color:var(--button-gray-1);border-radius:4px;bottom:10px;box-sizing:border-box;cursor:default;left:50%;margin-left:-150px;padding:4px 0;position:absolute;text-align:center;width:300px;z-index:999999}.excalidraw .Toast .Toast__message{padding:0 1.6rem;color:var(--popup-text-color);white-space:pre-wrap}.excalidraw .Toast .close{position:absolute;top:0;right:0;padding:.4rem}.excalidraw .Toast .close .ToolIcon__icon{width:1.2rem;height:1.2rem}@-webkit-keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fade-in{from{opacity:0}to{opacity:1}}",""]),fe.Z=m},2044:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .ToolIcon{border-radius:var(--border-radius-lg);display:inline-flex;align-items:center;position:relative;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none}.excalidraw .ToolIcon__hidden{display:none !important}.excalidraw .ToolIcon.fillable .ToolIcon_type_radio:checked+.ToolIcon__icon,.excalidraw .ToolIcon.fillable .ToolIcon_type_checkbox:checked+.ToolIcon__icon{--icon-fill-color: var(--color-on-primary-container)}.excalidraw .ToolIcon.fillable .ToolIcon_type_radio:checked+.ToolIcon__icon svg,.excalidraw .ToolIcon.fillable .ToolIcon_type_checkbox:checked+.ToolIcon__icon svg{fill:var(--icon-fill-color)}.excalidraw .ToolIcon .ToolIcon_type_radio:checked+.ToolIcon__icon,.excalidraw .ToolIcon .ToolIcon_type_checkbox:checked+.ToolIcon__icon{background:var(--color-surface-primary-container);--keybinding-color: var(--color-on-primary-container)}.excalidraw .ToolIcon .ToolIcon_type_radio:checked+.ToolIcon__icon svg,.excalidraw .ToolIcon .ToolIcon_type_checkbox:checked+.ToolIcon__icon svg{color:var(--color-on-primary-container)}.excalidraw .ToolIcon .ToolIcon__keybinding{bottom:4px;right:4px}.excalidraw .ToolIcon .ToolIcon__icon:hover{background:var(--button-hover-bg)}.excalidraw .ToolIcon .ToolIcon__icon:active{background:var(--button-hover-bg);border:1px solid var(--button-active-border)}.excalidraw .ToolIcon .ToolIcon__icon:active svg{color:var(--color-on-primary-container)}.excalidraw .ToolIcon--plain{background-color:rgba(0,0,0,0)}.excalidraw .ToolIcon--plain .ToolIcon__icon{width:2rem;height:2rem}.excalidraw .ToolIcon_type_radio,.excalidraw .ToolIcon_type_checkbox{position:absolute;opacity:0;pointer-events:none}.excalidraw .ToolIcon__icon{box-sizing:border-box;width:var(--default-button-size);height:var(--default-button-size);color:var(--icon-fill-color);display:flex;justify-content:center;align-items:center;border-radius:var(--border-radius-lg)}.excalidraw .ToolIcon__icon+.ToolIcon__label{-webkit-margin-start:0;margin-inline-start:0}.excalidraw .ToolIcon__icon svg{position:relative;width:var(--default-icon-size);height:var(--default-icon-size);color:var(--icon-fill-color)}.excalidraw .ToolIcon__label{display:flex;align-items:center;color:var(--icon-fill-color);font-family:var(--ui-font);margin:0 .8em;text-overflow:ellipsis}.excalidraw .ToolIcon__label .Spinner{margin-left:.6em}.excalidraw .ToolIcon_size_small .ToolIcon__icon{width:2rem;height:2rem;font-size:.8em}.excalidraw .ToolIcon_type_button,.excalidraw .Modal .ToolIcon_type_button,.excalidraw .ToolIcon_type_button{padding:0;border:none;margin:0;font-size:inherit;background-color:initial}.excalidraw .ToolIcon_type_button:focus-visible,.excalidraw .Modal .ToolIcon_type_button:focus-visible,.excalidraw .ToolIcon_type_button:focus-visible{box-shadow:0 0 0 2px var(--focus-highlight-color)}.excalidraw .ToolIcon_type_button.ToolIcon--selected,.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected,.excalidraw .ToolIcon_type_button.ToolIcon--selected{background-color:var(--button-gray-2)}.excalidraw .ToolIcon_type_button.ToolIcon--selected:active,.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected:active,.excalidraw .ToolIcon_type_button.ToolIcon--selected:active{background-color:var(--button-gray-3)}.excalidraw .ToolIcon_type_button:active,.excalidraw .Modal .ToolIcon_type_button:active,.excalidraw .ToolIcon_type_button:active{background-color:var(--button-gray-3)}.excalidraw .ToolIcon_type_button--show,.excalidraw .Modal .ToolIcon_type_button--show,.excalidraw .ToolIcon_type_button--show{visibility:visible}.excalidraw .ToolIcon_type_button--hide,.excalidraw .Modal .ToolIcon_type_button--hide,.excalidraw .ToolIcon_type_button--hide{display:none !important}.excalidraw .ToolIcon_type_floating{background-color:rgba(0,0,0,0)}.excalidraw .ToolIcon_type_floating:hover{background-color:rgba(0,0,0,0)}.excalidraw .ToolIcon_type_floating:active{background-color:rgba(0,0,0,0)}.excalidraw .ToolIcon_type_floating .ToolIcon__icon{background-color:var(--button-gray-1);width:2rem;height:2rem}.excalidraw .ToolIcon_type_floating .ToolIcon__icon:hover{background-color:var(--button-gray-2)}.excalidraw .ToolIcon_type_floating .ToolIcon__icon:active{background-color:var(--button-gray-3)}.excalidraw .ToolIcon__keybinding{position:absolute;bottom:2px;right:3px;font-size:.625rem;color:var(--keybinding-color);font-family:var(--ui-font);-webkit-user-select:none;user-select:none}:root[dir=ltr] .excalidraw .unlocked-icon{left:2px}:root[dir=rtl] .excalidraw .unlocked-icon{right:2px}.excalidraw .App-toolbar-container .ToolIcon__icon{width:var(--lg-button-size);height:var(--lg-button-size)}@media screen and (max-width: 450px){.excalidraw .App-toolbar-container .ToolIcon__icon{width:1.8rem;height:1.8rem}}@media screen and (max-width: 379px){.excalidraw .App-toolbar-container .ToolIcon__icon{width:1.5rem;height:1.5rem}}.excalidraw .App-toolbar-container .ToolIcon__icon svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .App-toolbar-container .ToolIcon__LaserPointer .ToolIcon__icon{width:var(--default-button-size);height:var(--default-button-size)}",""]),fe.Z=m},9144:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .App-toolbar.zen-mode .ToolIcon__keybinding,.excalidraw .App-toolbar.zen-mode .HintViewer{display:none}.excalidraw .App-toolbar__divider{width:1px;height:1.5rem;align-self:center;background-color:var(--default-border-color);margin:0 .25rem}.excalidraw--mobile.excalidraw .App-toolbar__divider{margin:0}.excalidraw .App-toolbar__extra-tools-trigger{box-shadow:none;border:0;background-color:rgba(0,0,0,0)}.excalidraw .App-toolbar__extra-tools-trigger:active{background-color:var(--button-hover-bg);box-shadow:0 0 0 1px var(--button-active-border, var(--color-primary-darkest)) inset}.excalidraw .App-toolbar__extra-tools-trigger--selected,.excalidraw .App-toolbar__extra-tools-trigger--selected:hover{background:var(--color-primary-light);color:var(--color-primary)}.excalidraw .App-toolbar__extra-tools-dropdown{margin-top:.375rem;right:0;min-width:11.875rem;z-index:1}",""]),fe.Z=m},6626:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw-tooltip{--ui-font: Assistant, system-ui, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;font-family:var(--ui-font);position:fixed;z-index:var(--zIndex-popup);padding:8px;border-radius:6px;box-sizing:border-box;pointer-events:none;word-wrap:break-word;background:#000;line-height:1.5;text-align:center;font-size:13px;font-weight:500;color:#fff;display:none}.excalidraw-tooltip.excalidraw-tooltip--visible{display:block}.excalidraw-tooltip-wrapper{display:flex}.excalidraw-tooltip-icon{width:.9em;height:.9em;margin-left:5px;margin-top:1px;display:flex}.excalidraw--mobile.excalidraw-tooltip-icon{display:none}",""]),fe.Z=m},6359:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .UserList{pointer-events:none;padding:var(--space-factor) var(--space-factor) var(--space-factor) var(--space-factor);display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.625rem;max-height:140px;max-width:290px;overflow:hidden}.excalidraw .UserList:empty{display:none}.excalidraw .UserList>*{pointer-events:var(--ui-pointerEvents)}.excalidraw .UserList_mobile{padding:0;justify-content:normal;margin:.5rem 0}",""]),fe.Z=m},7399:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .dropdown-menu{position:absolute;top:100%;margin-top:.25rem}.excalidraw .dropdown-menu--mobile{left:0;width:100%;row-gap:.75rem}.excalidraw .dropdown-menu--mobile .dropdown-menu-container{padding:8px 8px;box-sizing:border-box;box-shadow:var(--shadow-island);border-radius:var(--border-radius-lg);position:relative;transition:box-shadow .5s ease-in-out}.excalidraw .dropdown-menu--mobile .dropdown-menu-container.zen-mode{box-shadow:none}.excalidraw .dropdown-menu .dropdown-menu-container{background-color:var(--island-bg-color);max-height:calc(100vh - 150px);overflow-y:auto;--gap: 2}.excalidraw .dropdown-menu .dropdown-menu-item-base{display:flex;padding:0 .625rem;-webkit-column-gap:.625rem;column-gap:.625rem;font-size:.875rem;color:var(--color-on-surface);width:100%;box-sizing:border-box;font-weight:normal;font-family:inherit}.excalidraw .dropdown-menu .dropdown-menu-item{background-color:rgba(0,0,0,0);border:1px solid rgba(0,0,0,0);align-items:center;height:2rem;cursor:pointer;border-radius:var(--border-radius-md)}@media screen and (min-width: 1921px){.excalidraw .dropdown-menu .dropdown-menu-item{height:2.25rem}}.excalidraw .dropdown-menu .dropdown-menu-item--selected{background:var(--color-primary-light);--icon-fill-color: var(--color-primary-darker)}.excalidraw .dropdown-menu .dropdown-menu-item__text{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.excalidraw .dropdown-menu .dropdown-menu-item__shortcut{-webkit-margin-start:auto;margin-inline-start:auto;opacity:.5}.excalidraw .dropdown-menu .dropdown-menu-item:hover{background-color:var(--button-hover-bg);text-decoration:none}.excalidraw .dropdown-menu .dropdown-menu-item:active{background-color:var(--button-hover-bg);border-color:var(--color-brand-active)}.excalidraw .dropdown-menu .dropdown-menu-item svg{width:1rem;height:1rem;display:block}.excalidraw .dropdown-menu .dropdown-menu-item-custom{margin-top:.5rem}.excalidraw .dropdown-menu .dropdown-menu-group-title{font-size:14px;text-align:left;margin:10px 0;font-weight:500}.excalidraw .dropdown-menu-button{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));width:var(--lg-button-size);height:var(--lg-button-size);--background: var(--color-surface-mid);background-color:var(--background)}.excalidraw .dropdown-menu-button svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .dropdown-menu-button:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .dropdown-menu-button:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .dropdown-menu-button.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .dropdown-menu-button.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .dropdown-menu-button.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw.theme--dark.excalidraw .dropdown-menu-button{--background: var(--color-surface-high)}.excalidraw.theme--dark.excalidraw .dropdown-menu-button:hover{--background: #363541}.excalidraw .dropdown-menu-button:hover{--background: var(--color-surface-high);background-color:var(--background);text-decoration:none}.excalidraw .dropdown-menu-button:active{border-color:var(--color-primary)}.excalidraw .dropdown-menu-button svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .dropdown-menu-button--mobile{border:none;margin:0;padding:0;width:var(--default-button-size);height:var(--default-button-size)}",""]),fe.Z=m},8793:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".footer-center{pointer-events:none;display:flex;width:100%;justify-content:flex-start;-webkit-margin-end:.6rem;margin-inline-end:.6rem}.footer-center>*{pointer-events:var(--ui-pointerEvents)}",""]),fe.Z=m},3397:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .collab-button{--button-bg: var(--color-primary);--button-color: white;--button-border: var(--color-primary);--button-width: var(--lg-button-size);--button-height: var(--lg-button-size);--button-hover-bg: var(--color-primary-darker);--button-hover-border: var(--color-primary-darker);--button-active-bg: var(--color-primary-darker);box-shadow:0 0 0 1px var(--color-surface-lowest);flex-shrink:0}.excalidraw .collab-button.active.active{background-color:#0fb884;border-color:#0fb884}.excalidraw .collab-button.active.active svg{color:#fff}.excalidraw .collab-button.active.active:hover,.excalidraw .collab-button.active.active:active{background-color:#0fb884;border-color:#0fb884}.excalidraw.theme--dark .collab-button{color:var(--color-gray-90)}.excalidraw .CollabButton.is-collaborating{background-color:var(--button-special-active-bg-color)}.excalidraw .CollabButton.is-collaborating .ToolIcon__icon svg,.excalidraw .CollabButton.is-collaborating .ToolIcon__label{color:var(--icon-green-fill-color)}.excalidraw .CollabButton-collaborators{min-width:1em;min-height:1em;line-height:1;position:absolute;bottom:-5px;padding:3px;border-radius:50%;background-color:#b2f2bb;color:#2b8a3e;font-size:.6rem;font-family:"Cascadia"}:root[dir=ltr] .excalidraw .CollabButton-collaborators{right:-5px}:root[dir=rtl] .excalidraw .CollabButton-collaborators{left:-5px}',""]),fe.Z=m},4343:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".excalidraw .ActiveFile .ActiveFile__fileName{display:flex;align-items:center}.excalidraw .ActiveFile .ActiveFile__fileName span{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:9.3em}.excalidraw .ActiveFile .ActiveFile__fileName svg{width:1.15em;-webkit-margin-end:.3em;margin-inline-end:.3em;-webkit-transform:scaleY(0.9);transform:scaleY(0.9)}",""]),fe.Z=m},1569:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,'.excalidraw .virgil{font-family:"Virgil"}.excalidraw .welcome-screen-decor{pointer-events:none;color:var(--color-gray-40)}.excalidraw .welcome-screen-decor a{--color: var(--color-primary);color:var(--color);text-decoration:none;margin-bottom:-6px}.excalidraw.theme--dark .welcome-screen-decor{color:var(--color-gray-60)}@media(max-height: 599px){.excalidraw .welcome-screen-decor-hint{display:none !important}}@media(max-width: 1024px),(max-width: 800px){.excalidraw .welcome-screen-decor-hint .welcome-screen-decor--help,.excalidraw .welcome-screen-decor-hint .welcome-screen-decor--menu{display:none}}.excalidraw .welcome-screen-decor-hint--help{display:flex;position:absolute;right:0;bottom:100%}:root[dir=rtl] .excalidraw .welcome-screen-decor-hint--help{left:0;right:auto}.excalidraw .welcome-screen-decor-hint--help svg{margin-top:.5rem;width:85px;height:71px;-webkit-transform:scaleX(-1) rotate(80deg);transform:scaleX(-1) rotate(80deg)}:root[dir=rtl] .excalidraw .welcome-screen-decor-hint--help svg{-webkit-transform:rotate(80deg);transform:rotate(80deg)}.excalidraw .welcome-screen-decor-hint--toolbar{position:absolute;top:100%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);margin-top:2.5rem;display:flex;align-items:baseline}.excalidraw .welcome-screen-decor-hint--toolbar .welcome-screen-decor-hint__label{width:120px;position:relative;top:-0.5rem}.excalidraw .welcome-screen-decor-hint--toolbar svg{width:38px;height:78px}:root[dir=rtl] .excalidraw .welcome-screen-decor-hint--toolbar svg{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.excalidraw .welcome-screen-decor-hint--menu{position:absolute;width:320px;font-size:1rem;top:100%;margin-top:.25rem;-webkit-margin-start:.6rem;margin-inline-start:.6rem;display:flex;align-items:flex-end;gap:.5rem}.excalidraw .welcome-screen-decor-hint--menu svg{width:41px;height:94px}:root[dir=rtl] .excalidraw .welcome-screen-decor-hint--menu svg{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@media(max-width: 860px){.excalidraw .welcome-screen-decor-hint--menu .welcome-screen-decor-hint__label{max-width:160px}}.excalidraw .welcome-screen-center{display:flex;flex-direction:column;gap:2rem;justify-content:center;align-items:center;position:absolute;pointer-events:none;left:1rem;top:1rem;right:1rem;bottom:1rem}.excalidraw .welcome-screen-center__logo{display:flex;align-items:center;-webkit-column-gap:.75rem;column-gap:.75rem;font-size:2.25rem}.excalidraw .welcome-screen-center__heading{font-size:1.125rem;text-align:center}.excalidraw .welcome-screen-menu{display:flex;flex-direction:column;gap:2px;justify-content:center;align-items:center}.excalidraw .welcome-screen-menu-item{box-sizing:border-box;pointer-events:var(--ui-pointerEvents);color:var(--color-gray-50);font-size:.875rem;width:100%;min-width:300px;max-width:400px;display:grid;align-items:center;justify-content:space-between;background:none;border:1px solid rgba(0,0,0,0);padding:.75rem;border-radius:var(--border-radius-md);grid-template-columns:calc(var(--default-icon-size) + .5rem) 1fr 3rem}.excalidraw .welcome-screen-menu-item__text{display:flex;align-items:center;margin-right:auto;text-align:left;-webkit-column-gap:.5rem;column-gap:.5rem}.excalidraw .welcome-screen-menu-item__icon{width:var(--default-icon-size);height:var(--default-icon-size)}.excalidraw .welcome-screen-menu-item__shortcut{margin-left:auto;color:var(--color-gray-40);font-size:.75rem}.excalidraw .welcome-screen-menu-item:hover{text-decoration:none;background:var(--button-hover-bg)}.excalidraw .welcome-screen-menu-item:hover .welcome-screen-menu-item__shortcut{color:var(--color-gray-50)}.excalidraw .welcome-screen-menu-item:hover .welcome-screen-menu-item__text{color:var(--color-gray-100)}.excalidraw .welcome-screen-menu-item:active{background:var(--button-hover-bg);border-color:var(--color-brand-active)}.excalidraw .welcome-screen-menu-item:active .welcome-screen-menu-item__shortcut{color:var(--color-gray-50)}.excalidraw .welcome-screen-menu-item:active .welcome-screen-menu-item__text{color:var(--color-gray-100)}.excalidraw .welcome-screen-menu-item:active--promo{color:var(--color-promo) !important}.excalidraw .welcome-screen-menu-item:active--promo:hover .welcome-screen-menu-item__text{color:var(--color-promo) !important}.excalidraw.theme--dark .welcome-screen-menu-item{color:var(--color-gray-60)}.excalidraw.theme--dark .welcome-screen-menu-item__shortcut{color:var(--color-gray-60)}.excalidraw.theme--dark .welcome-screen-menu-item:hover{background-color:var(--color-surface-low)}.excalidraw.theme--dark .welcome-screen-menu-item:hover .welcome-screen-menu-item__shortcut{color:var(--color-gray-50)}.excalidraw.theme--dark .welcome-screen-menu-item:hover .welcome-screen-menu-item__text{color:var(--color-gray-10)}.excalidraw.theme--dark .welcome-screen-menu-item:active .welcome-screen-menu-item__text{color:var(--color-gray-10)}@media(max-height: 599px){.excalidraw .welcome-screen-center{margin-top:4rem}}@media(min-height: 600px)and (max-height: 900px){.excalidraw .welcome-screen-center{margin-top:8rem}}@media(max-height: 500px),(max-width: 320px){.excalidraw .welcome-screen-center{display:none}}',""]),fe.Z=m},9915:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,".visually-hidden{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);white-space:nowrap;-webkit-user-select:none;user-select:none}.LoadingMessage{position:absolute;top:0;right:0;bottom:0;left:0;z-index:999;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.LoadingMessage .Spinner{font-size:2.8em}.LoadingMessage .LoadingMessage-text{margin-top:1em;font-size:.8em}.LoadingMessage--dark{background-color:#121212;color:#ced4da}",""]),fe.Z=m},9310:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w),v=t(1667),I=t.n(v),x=new URL(t(7984),t.b),c=new URL(t(1639),t.b),f=m()(P()),Z=I()(x),N=I()(c);f.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}:export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--theme-filter: none;--button-destructive-bg-color: #ffe3e3;--button-destructive-color: #c92a2a;--button-gray-1: #e9ecef;--button-gray-2: #ced4da;--button-gray-3: #adb5bd;--button-special-active-bg-color: #ebfbee;--dialog-border-color: var(--color-gray-20);--dropdown-icon: url("+Z+");--focus-highlight-color: #a5d8ff;--icon-fill-color: var(--color-on-surface);--icon-green-fill-color: #2b8a3e;--default-bg-color: #ffffff;--input-bg-color: #ffffff;--input-border-color: #ced4da;--input-hover-bg-color: #f1f3f5;--input-label-color: #495057;--island-bg-color: #ffffff;--keybinding-color: var(--color-gray-40);--link-color: #1c7ed6;--overlay-bg-color: rgba(255, 255, 255, 0.88);--popup-bg-color: var(--island-bg-color);--popup-secondary-bg-color: #f1f3f5;--popup-text-color: #000000;--popup-text-inverted-color: #ffffff;--select-highlight-color: #339af0;--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17), 0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);--button-hover-bg: var(--color-surface-high);--button-active-bg: var(--color-surface-high);--button-active-border: var(--color-brand-active);--default-border-color: var(--color-surface-high);--default-button-size: 2rem;--default-icon-size: 1rem;--lg-button-size: 2.25rem;--lg-icon-size: 1rem;--editor-container-padding: 1rem;--scrollbar-thumb: var(--button-gray-2);--scrollbar-thumb-hover: var(--button-gray-3);--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--avatar-border-color: var(--color-gray-20);--sidebar-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--sidebar-border-color: var(--color-surface-high);--sidebar-bg-color: var(--island-bg-color);--library-dropdown-shadow: 0px 15px 6px rgba(0, 0, 0, 0.01), 0px 8px 5px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.09), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);--space-factor: 0.25rem;--text-primary-color: var(--color-on-surface);--color-selection: #6965db;--color-icon-white: #ffffff;--color-primary: #6965db;--color-primary-darker: #5b57d1;--color-primary-darkest: #4a47b1;--color-primary-light: #e3e2fe;--color-primary-light-darker: #d7d5ff;--color-gray-10: #f5f5f5;--color-gray-20: #ebebeb;--color-gray-30: #d6d6d6;--color-gray-40: #b8b8b8;--color-gray-50: #999999;--color-gray-60: #7a7a7a;--color-gray-70: #5c5c5c;--color-gray-80: #3d3d3d;--color-gray-85: #242424;--color-gray-90: #1e1e1e;--color-gray-100: #121212;--color-warning: #fceeca;--color-warning-dark: #f5c354;--color-warning-darker: #f3ab2c;--color-warning-darkest: #ec8b14;--color-text-warning: var(--text-primary-color);--color-danger: #db6965;--color-danger-dark: #db6965;--color-danger-darker: #d65550;--color-danger-darkest: #d1413c;--color-danger-text: black;--color-danger-background: #fff0f0;--color-danger-icon-background: #ffdad6;--color-danger-color: #700000;--color-danger-icon-color: #700000;--color-warning-background: var(--color-warning);--color-warning-icon-background: var(--color-warning-dark);--color-warning-color: var(--text-primary-color);--color-warning-icon-color: var(--text-primary-color);--color-muted: var(--color-gray-30);--color-muted-darker: var(--color-gray-60);--color-muted-darkest: var(--color-gray-100);--color-muted-background: var(--color-gray-80);--color-muted-background-darker: var(--color-gray-100);--color-promo: #e70078;--color-success: #268029;--color-success-lighter: #cafccc;--color-logo-icon: var(--color-primary);--color-logo-text: #190064;--border-radius-md: 0.375rem;--border-radius-lg: 0.5rem;--color-surface-high: hsl(244, 100%, 97%);--color-surface-mid: hsl(240 25% 96%);--color-surface-low: hsl(240 25% 94%);--color-surface-lowest: #ffffff;--color-on-surface: #1b1b1f;--color-brand-hover: #5753d0;--color-on-primary-container: #030064;--color-surface-primary-container: #e0dfff;--color-brand-active: #4440bf;--color-border-outline: #767680;--color-border-outline-variant: #c5c5d0;--color-surface-primary-container: #e0dfff}@media screen and (min-device-width: 1921px){.excalidraw{--lg-button-size: 2.5rem;--lg-icon-size: 1.25rem;--default-button-size: 2.25rem;--default-icon-size: 1.25rem}}.excalidraw.theme--dark.theme--dark-background-none{background:none}.excalidraw.theme--dark{--theme-filter: invert(93%) hue-rotate(180deg);--button-destructive-bg-color: #5a0000;--button-destructive-color: #ffa8a8;--button-gray-1: #363636;--button-gray-2: #272727;--button-gray-3: #222;--button-special-active-bg-color: #204624;--dialog-border-color: var(--color-gray-80);--dropdown-icon: url("+N+');--focus-highlight-color: #228be6;--icon-green-fill-color: #69db7c;--default-bg-color: #121212;--input-bg-color: #121212;--input-border-color: #2e2e2e;--input-hover-bg-color: #181818;--input-label-color: #e9ecef;--island-bg-color: #232329;--keybinding-color: var(--color-gray-60);--link-color: #4dabf7;--overlay-bg-color: rgba(52, 58, 64, 0.12);--popup-secondary-bg-color: #222;--popup-text-color: #ced4da;--popup-text-inverted-color: #2c2c2c;--select-highlight-color: #4dabf7;--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17), 0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--avatar-border-color: var(--color-gray-85);--scrollbar-thumb: #343a40;--scrollbar-thumb-hover: #495057;--color-selection: #3530c4;--color-icon-white: var(--color-gray-90);--color-primary: #a8a5ff;--color-primary-darker: #b2aeff;--color-primary-darkest: #beb9ff;--color-primary-light: #4f4d6f;--color-primary-light-darker: #43415e;--color-text-warning: var(--color-gray-80);--color-danger: #ffa8a5;--color-danger-dark: #672120;--color-danger-darker: #8f2625;--color-danger-darkest: #ac2b29;--color-danger-text: #fbcbcc;--color-danger-background: #fbcbcc;--color-danger-icon-background: #672120;--color-danger-color: #261919;--color-danger-icon-color: #fbcbcc;--color-warning-background: var(--color-warning);--color-warning-icon-background: var(--color-warning-dark);--color-warning-color: var(--color-gray-80);--color-warning-icon-color: var(--color-gray-80);--color-muted: var(--color-gray-80);--color-muted-darker: var(--color-gray-60);--color-muted-darkest: var(--color-gray-20);--color-muted-background: var(--color-gray-40);--color-muted-background-darker: var(--color-gray-20);--color-promo: #d297ff;--color-logo-text: #e2dfff;--color-surface-high: hsl(245, 10%, 21%);--color-surface-low: hsl(240, 8%, 15%);--color-surface-mid: hsl(240 6% 10%);--color-surface-lowest: hsl(0, 0%, 7%);--color-on-surface: #e3e3e8;--color-brand-hover: #bbb8ff;--color-on-primary-container: #e0dfff;--color-surface-primary-container: #403e6a;--color-brand-active: #d0ccff;--color-border-outline: #8e8d9c;--color-border-outline-variant: #46464f;--color-surface-primary-container: #403e6a}:root{--zIndex-canvas: 1;--zIndex-interactiveCanvas: 2;--zIndex-wysiwyg: 3;--zIndex-layerUI: 4;--zIndex-eyeDropperBackdrop: 5;--zIndex-eyeDropperPreview: 6;--zIndex-modal: 1000;--zIndex-popup: 1001;--zIndex-toast: 999999;--sab: env(safe-area-inset-bottom);--sal: env(safe-area-inset-left);--sar: env(safe-area-inset-right);--sat: env(safe-area-inset-top)}.excalidraw{--ui-font: Assistant, system-ui, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;font-family:var(--ui-font);position:relative;overflow:hidden;color:var(--text-primary-color);display:flex;top:0;bottom:0;left:0;right:0;height:100%;width:100%;-webkit-user-select:none;user-select:none}.excalidraw button{cursor:pointer}.excalidraw:focus{outline:none}.excalidraw a{font-weight:500;text-decoration:none;color:var(--link-color)}.excalidraw a:hover{text-decoration:underline}.excalidraw canvas{touch-action:none;image-rendering:pixelated;image-rendering:-moz-crisp-edges;z-index:var(--zIndex-canvas)}.excalidraw canvas.interactive{z-index:var(--zIndex-interactiveCanvas)}.excalidraw__canvas-wrapper,.excalidraw__canvas.static{pointer-events:none}.excalidraw__canvas{position:absolute}.excalidraw__embeddable{width:100%;height:100%;border:0}.excalidraw__embeddable-container{position:absolute;z-index:2;-webkit-transform-origin:top left;transform-origin:top left;pointer-events:none}.excalidraw.theme--dark canvas{-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .FixedSideContainer{padding-top:var(--sat, 0);padding-right:var(--sar, 0);padding-bottom:var(--sab, 0);padding-left:var(--sal, 0)}.excalidraw .panelRow{display:flex;justify-content:space-between}.excalidraw .panelColumn{display:flex;flex-direction:column;row-gap:.75rem}.excalidraw .panelColumn h3,.excalidraw .panelColumn legend,.excalidraw .panelColumn .control-label{margin:0;margin-bottom:.25rem;font-size:.75rem;color:var(--text-primary-color);font-weight:normal;display:block}.excalidraw .panelColumn .control-label input{display:block;width:100%}.excalidraw .panelColumn legend{padding:0}.excalidraw .panelColumn .iconSelectList{flex-wrap:wrap;position:relative}.excalidraw .panelColumn .buttonList{flex-wrap:wrap;display:flex;-webkit-column-gap:.5rem;column-gap:.5rem;row-gap:.5rem}.excalidraw .panelColumn .buttonList label{font-size:.75rem}.excalidraw .panelColumn .buttonList input[type=radio],.excalidraw .panelColumn .buttonList input[type=button]{opacity:0;position:absolute;pointer-events:none}.excalidraw .panelColumn .buttonList .iconRow{margin-top:8px}.excalidraw .panelColumn fieldset{margin:0;padding:0;border:none}.excalidraw .divider{width:1px;background-color:#e9ecef;margin:1px}.excalidraw .welcome-screen-menu-item:focus-visible,.excalidraw .dropdown-menu-item:focus-visible,.excalidraw button:focus-visible,.excalidraw .buttonList label:focus-within,.excalidraw input:focus-visible{outline:rgba(0,0,0,0);box-shadow:0 0 0 1px var(--color-brand-hover)}.excalidraw .buttonList .ToolIcon__icon{all:unset !important;display:flex !important}.excalidraw .buttonList button{background-color:rgba(0,0,0,0)}.excalidraw .buttonList label,.excalidraw .buttonList button,.excalidraw .buttonList .zIndexButton{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));padding:0}.excalidraw .buttonList label svg,.excalidraw .buttonList button svg,.excalidraw .buttonList .zIndexButton svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .buttonList label:hover,.excalidraw .buttonList button:hover,.excalidraw .buttonList .zIndexButton:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .buttonList label:active,.excalidraw .buttonList button:active,.excalidraw .buttonList .zIndexButton:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .buttonList label.active,.excalidraw .buttonList button.active,.excalidraw .buttonList .zIndexButton.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .buttonList label.active:hover,.excalidraw .buttonList button.active:hover,.excalidraw .buttonList .zIndexButton.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .buttonList label.active svg,.excalidraw .buttonList button.active svg,.excalidraw .buttonList .zIndexButton.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .buttonList label svg,.excalidraw .buttonList button svg,.excalidraw .buttonList .zIndexButton svg{width:var(--default-icon-size);height:var(--default-icon-size)}.excalidraw .App-top-bar{z-index:var(--zIndex-layerUI);display:flex;flex-direction:column;align-items:center}.excalidraw .App-bottom-bar{position:absolute;top:0;bottom:0;left:0;right:0;--bar-padding: calc(4 * var(--space-factor));padding-top:max(var(--bar-padding), var(--sat,0));padding-right:var(--sar, 0);padding-bottom:var(--sab, 0);padding-left:var(--sal, 0);z-index:4;display:flex;align-items:flex-end;pointer-events:none}.excalidraw .App-bottom-bar>.Island{width:100%;max-width:100%;min-width:100%;box-sizing:border-box;max-height:100%;display:flex;flex-direction:column;pointer-events:var(--ui-pointerEvents)}.excalidraw .App-bottom-bar>.Island .panelColumn{padding:8px 8px 0 8px}.excalidraw .App-toolbar{width:100%}.excalidraw .App-toolbar .eraser.ToolIcon:hover{--icon-fill-color: #fff;--keybinding-color: #fff}.excalidraw .App-toolbar .eraser.active{background-color:var(--color-primary)}.excalidraw .App-toolbar-content{display:flex;align-items:center;justify-content:space-between;padding:8px}.excalidraw .App-toolbar-content .dropdown-menu--mobile{bottom:55px;top:auto}.excalidraw .App-mobile-menu{width:100%;overflow-x:visible;overflow-y:auto;box-sizing:border-box;margin-bottom:var(--bar-padding)}.excalidraw .App-menu{display:grid;color:var(--icon-fill-color)}.excalidraw .shapes-section{display:flex;justify-content:center;pointer-events:none !important}.excalidraw .shapes-section>*{pointer-events:var(--ui-pointerEvents)}.excalidraw .App-menu_top{grid-template-columns:1fr 2fr 1fr;grid-gap:2rem;align-items:flex-start;cursor:default;pointer-events:none !important}.excalidraw .App-menu_top>*{pointer-events:var(--ui-pointerEvents)}@media(min-width: 1536px){.excalidraw .App-menu_top{grid-template-columns:1fr 1fr 1fr;grid-gap:3rem}}.excalidraw .App-menu_top>*:first-child{justify-self:flex-start}.excalidraw .App-menu_top>*:last-child{justify-self:flex-end}.excalidraw .App-menu_bottom{position:absolute;bottom:1rem;display:flex;justify-content:space-between;align-items:flex-start;cursor:default;pointer-events:none !important;box-sizing:border-box;padding:0 1rem}.excalidraw .App-menu_bottom--transition-left section{width:185px}.excalidraw .App-menu_bottom section{display:flex}.excalidraw .App-menu_bottom>*:first-child{justify-self:flex-start}.excalidraw .App-menu_bottom>*:last-child{justify-self:flex-end}.excalidraw .App-menu_left{grid-template-rows:1fr auto 1fr;height:100%}.excalidraw .App-menu_right{grid-template-rows:1fr;height:100%}.excalidraw .App-menu__left{overflow-y:auto;padding:.75rem;width:202px;box-sizing:border-box;position:absolute}.excalidraw .dropdown-select{height:1.5rem;padding:0;-webkit-padding-start:.5rem;padding-inline-start:.5rem;-webkit-padding-end:1.5rem;padding-inline-end:1.5rem;color:var(--icon-fill-color);background-color:var(--button-gray-1);border-radius:var(--space-factor);border:1px solid var(--button-gray-2);font-size:.8rem;font-family:inherit;outline:none;-webkit-appearance:none;appearance:none;background-image:var(--dropdown-icon);background-repeat:no-repeat;background-position:right .7rem top 50%,0 0;background-size:.65em auto,100%}:root[dir=rtl] .excalidraw .dropdown-select{background-position:left .7rem top 50%,0 0}.excalidraw .dropdown-select:focus{box-shadow:0 0 0 2px var(--focus-highlight-color)}.excalidraw .dropdown-select:hover{background-color:var(--button-gray-2)}.excalidraw .dropdown-select:active{background-color:var(--button-gray-2)}.excalidraw .dropdown-select__language{height:2rem;background-color:var(--island-bg-color);border-color:var(--default-border-color) !important;cursor:pointer}.excalidraw .dropdown-select__language:hover{background-color:var(--island-bg-color)}.excalidraw .scroll-back-to-content{border-radius:var(--border-radius-lg);background-color:var(--island-bg-color);color:var(--icon-fill-color);border:1px solid var(--default-border-color);padding:10px 20px;position:absolute;left:50%;bottom:30px;-webkit-transform:translateX(-50%);transform:translateX(-50%);pointer-events:var(--ui-pointerEvents);font-family:inherit}.excalidraw .scroll-back-to-content:hover{background-color:var(--button-hover-bg)}.excalidraw .scroll-back-to-content:active{border:1px solid var(--button-active-border)}.excalidraw .help-icon{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));border:none;box-shadow:0 0 0 1px var(--color-surface-lowest);background-color:var(--color-surface-low);width:var(--lg-button-size);height:var(--lg-button-size)}.excalidraw .help-icon svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .help-icon:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .help-icon:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .help-icon.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .help-icon.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .help-icon.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .help-icon:active{box-shadow:0 0 0 1px var(--color-brand-active)}.excalidraw .help-icon svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .reset-zoom-button{font-family:var(--ui-font)}.excalidraw .finalize-button{display:grid;grid-auto-flow:column;gap:.4em;margin-top:auto;margin-bottom:auto;-webkit-margin-start:.6em;margin-inline-start:.6em}.excalidraw .undo-redo-buttons,.excalidraw .eraser-buttons{display:grid;grid-auto-flow:column;margin-top:auto;margin-bottom:auto;-webkit-margin-start:.6em;margin-inline-start:.6em}.excalidraw--mobile.excalidraw aside{display:none}.excalidraw--mobile.excalidraw .scroll-back-to-content{bottom:calc(80px + var(--sab, 0));z-index:-1}:root[dir=rtl] .excalidraw .rtl-mirror{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.excalidraw .zen-mode-visibility{visibility:visible;opacity:1;height:auto;width:auto;transition:opacity .5s}.excalidraw .zen-mode-visibility.zen-mode-visibility--hidden{visibility:hidden;opacity:0;height:0;width:0;transition:opacity .5s}.excalidraw .disable-pointerEvents{pointer-events:none !important}.excalidraw.excalidraw--view-mode .App-menu{display:flex;justify-content:space-between}.excalidraw input[type=text],.excalidraw textarea:not(.excalidraw-wysiwyg){color:var(--text-primary-color);border:1.5px solid var(--input-border-color);padding:.75rem;white-space:nowrap;border-radius:var(--space-factor);background-color:var(--input-bg-color)}.excalidraw input[type=text]:not(:focus):hover,.excalidraw textarea:not(.excalidraw-wysiwyg):not(:focus):hover{border-color:var(--color-brand-hover)}.excalidraw input[type=text]:focus,.excalidraw textarea:not(.excalidraw-wysiwyg):focus{outline:none;border-color:var(--color-brand-hover)}@media print{.excalidraw .App-bottom-bar,.excalidraw .FixedSideContainer,.excalidraw .layer-ui__wrapper{display:none}}.excalidraw ::-webkit-scrollbar{width:3px;height:3px}.excalidraw select::-webkit-scrollbar{width:10px}.excalidraw ::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:10px}.excalidraw ::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.excalidraw ::-webkit-scrollbar-thumb:active{background:var(--scrollbar-thumb)}.excalidraw .mobile-misc-tools-container{position:absolute;top:calc(5rem - var(--editor-container-padding));right:calc(var(--editor-container-padding)*-1);display:flex;flex-direction:column;border:1px solid var(--sidebar-border-color);border-top-left-radius:var(--border-radius-lg);border-bottom-left-radius:var(--border-radius-lg);border-right:0;overflow:hidden;background-color:var(--island-bg-color)}.excalidraw .mobile-misc-tools-container .ToolIcon__icon{width:2rem;height:2rem;border-radius:0}.excalidraw .mobile-misc-tools-container .default-sidebar-trigger{border:0}.excalidraw .App-toolbar--mobile{overflow:visible;max-width:98vw}.excalidraw .App-toolbar--mobile .ToolIcon__keybinding{display:none}.excalidraw .UserList-Wrapper{margin:0;padding:0;border:none;text-align:left}.excalidraw .UserList-Wrapper legend{display:block;font-size:.75rem;font-weight:400;margin:0 0 .25rem;padding:0}.excalidraw .main-menu-trigger{border:none;box-shadow:0 0 0 1px var(--color-surface-lowest);background-color:var(--color-surface-low)}.excalidraw .main-menu-trigger:active{box-shadow:0 0 0 1px var(--color-brand-active)}.excalidraw .App-menu__left{--button-border: transparent;--button-bg: var(--color-surface-mid)}.excalidraw.theme--dark.excalidraw .App-menu__left{--button-hover-bg: #363541;--button-bg: var(--color-surface-high)}.ErrorSplash.excalidraw{min-height:100vh;padding:20px 0;overflow:auto;display:flex;align-items:center;justify-content:center;-webkit-user-select:text;user-select:text}.ErrorSplash.excalidraw .ErrorSplash-messageContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;background-color:#ffe3e3;border:3px solid #c92a2a}.ErrorSplash.excalidraw .ErrorSplash-paragraph{margin:15px 0;max-width:600px}.ErrorSplash.excalidraw .ErrorSplash-paragraph.align-center{text-align:center}.ErrorSplash.excalidraw .bigger,.ErrorSplash.excalidraw .bigger button{font-size:1.1em}.ErrorSplash.excalidraw .smaller,.ErrorSplash.excalidraw .smaller button{font-size:.9em}.ErrorSplash.excalidraw .ErrorSplash-details{display:flex;flex-direction:column;align-items:flex-start}.ErrorSplash.excalidraw .ErrorSplash-details textarea{width:100%;margin:10px 0;font-family:"Cascadia";font-size:.8em}.excalidraw__embeddable-container .excalidraw__embeddable-container__inner{overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:var(--embeddable-radius)}.excalidraw__embeddable-container .excalidraw__embeddable__outer{width:100%;height:100%}.excalidraw__embeddable-container .excalidraw__embeddable__outer>*{border-radius:var(--embeddable-radius)}.excalidraw__embeddable-container .excalidraw__embeddable-hint{position:absolute;z-index:1;background:rgba(0,0,0,.5);padding:1rem 1.6rem;border-radius:12px;color:#fff;font-weight:bold;letter-spacing:.6px;font-family:"Assistant"}',""]),fe.Z=f},6464:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,"",""]),m.locals={themeFilter:"invert(93%) hue-rotate(180deg)",rightSidebarWidth:"302px"},fe.Z=m},5260:function(et,fe,t){var e=t(8081),P=t.n(e),w=t(3645),m=t.n(w)()(P());m.push([et.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw-hyperlinkContainer{display:flex;align-items:center;justify-content:space-between;position:absolute;box-shadow:0px 2px 4px 0 rgba(0,0,0,.3);z-index:100;background:var(--island-bg-color);border-radius:var(--border-radius-md);box-sizing:border-box;min-height:42px}.excalidraw-hyperlinkContainer-input,.excalidraw-hyperlinkContainer button{z-index:100}.excalidraw-hyperlinkContainer-input,.excalidraw-hyperlinkContainer-link{height:24px;padding:0 8px;line-height:24px;font-size:.9rem;font-weight:500;font-family:var(--ui-font)}.excalidraw-hyperlinkContainer-input{width:18rem;border:none;background-color:rgba(0,0,0,0);color:var(--text-primary-color);outline:none;border:none;box-shadow:none !important}.excalidraw-hyperlinkContainer-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:15rem}.excalidraw-hyperlinkContainer button{color:#228be6;background-color:rgba(0,0,0,0) !important;font-weight:500}.excalidraw-hyperlinkContainer button.excalidraw-hyperlinkContainer--remove{color:#c92a2a}.excalidraw-hyperlinkContainer--remove .ToolIcon__icon svg{color:#fa5252}.excalidraw-hyperlinkContainer .ToolIcon__icon{width:2rem;height:2rem}.excalidraw-hyperlinkContainer__buttons{flex:0 0 auto}",""]),fe.Z=m},3645:function(et){et.exports=function(fe){var t=[];return t.toString=function(){return this.map(function(e){var P="",w=e[5]!==void 0;return e[4]&&(P+="@supports (".concat(e[4],") {")),e[2]&&(P+="@media ".concat(e[2]," {")),w&&(P+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),P+=fe(e),w&&(P+="}"),e[2]&&(P+="}"),e[4]&&(P+="}"),P}).join("")},t.i=function(e,P,w,m,v){typeof e=="string"&&(e=[[null,e,void 0]]);var I={};if(w)for(var x=0;x<this.length;x++){var c=this[x][0];c!=null&&(I[c]=!0)}for(var f=0;f<e.length;f++){var Z=[].concat(e[f]);w&&I[Z[0]]||(v!==void 0&&(Z[5]===void 0||(Z[1]="@layer".concat(Z[5].length>0?" ".concat(Z[5]):""," {").concat(Z[1],"}")),Z[5]=v),P&&(Z[2]&&(Z[1]="@media ".concat(Z[2]," {").concat(Z[1],"}")),Z[2]=P),m&&(Z[4]?(Z[1]="@supports (".concat(Z[4],") {").concat(Z[1],"}"),Z[4]=m):Z[4]="".concat(m)),t.push(Z))}},t}},1667:function(et){et.exports=function(fe,t){return t||(t={}),fe&&(fe=String(fe.__esModule?fe.default:fe),/^['"].*['"]$/.test(fe)&&(fe=fe.slice(1,-1)),t.hash&&(fe+=t.hash),/["'() \t\n]|(%20)/.test(fe)||t.needQuotes?'"'.concat(fe.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):fe)}},8081:function(et){et.exports=function(fe){return fe[1]}},7392:function(et,fe,t){t.d(fe,{JQ:function(){return ve},vD:function(){return ce},y7:function(){return J}});var e=t(1930),P=t(7169),w=t(9937),m=t(7651),v=t(583),I=t(4761),x=t(3474),c=t(4183),f=t(9827),Z=t(2767);function N(le,G){var U=typeof Symbol<"u"&&le[Symbol.iterator]||le["@@iterator"];if(!U){if(Array.isArray(le)||(U=function(h,d){if(h){if(typeof h=="string")return W(h,d);var r=Object.prototype.toString.call(h).slice(8,-1);if(r==="Object"&&h.constructor&&(r=h.constructor.name),r==="Map"||r==="Set")return Array.from(h);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return W(h,d)}}(le))||G&&le&&typeof le.length=="number"){U&&(le=U);var H=0,M=function(){};return{s:M,n:function(){return H>=le.length?{done:!0}:{done:!1,value:le[H++]}},e:function(h){throw h},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var A,b=!0,y=!1;return{s:function(){U=U.call(le)},n:function(){var h=U.next();return b=h.done,h},e:function(h){y=!0,A=h},f:function(){try{b||U.return==null||U.return()}finally{if(y)throw A}}}}function W(le,G){(G==null||G>le.length)&&(G=le.length);for(var U=0,H=new Array(G);U<G;U++)H[U]=le[U];return H}function k(le,G){var U=Object.keys(le);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(le);G&&(H=H.filter(function(M){return Object.getOwnPropertyDescriptor(le,M).enumerable})),U.push.apply(U,H)}return U}function S(le){for(var G=1;G<arguments.length;G++){var U=arguments[G]!=null?arguments[G]:{};G%2?k(Object(U),!0).forEach(function(H){(0,P.Z)(le,H,U[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(U)):k(Object(U)).forEach(function(H){Object.defineProperty(le,H,Object.getOwnPropertyDescriptor(U,H))})}return le}var J=(0,Z.z)({name:"unbindText",contextItemLabel:"labels.unbindText",trackEvent:{category:"element"},predicate:function(le,G,U,H){return H.scene.getSelectedElements(G).some(function(M){return(0,c.Xo)(M)})},perform:function(le,G,U,H){return H.scene.getSelectedElements(G).forEach(function(M){var A=(0,I.WJ)(M);if(A){var b,y=(0,I.X1)(A.originalText,(0,f.mO)(A),A.lineHeight),h=y.width,d=y.height,r=y.baseline,n=(0,x.eR)(M.id);(0,x.kT)(M.id);var p=(0,I.FE)(M,A),a=p.x,l=p.y;(0,v.DR)(A,{containerId:null,width:h,height:d,baseline:r,text:A.originalText,x:a,y:l}),(0,v.DR)(M,{boundElements:(b=M.boundElements)===null||b===void 0?void 0:b.filter(function(u){return u.id!==A.id}),height:n||M.height})}}),{elements:le,appState:G,commitToHistory:!0}}}),ce=(0,Z.z)({name:"bindText",contextItemLabel:"labels.bindText",trackEvent:{category:"element"},predicate:function(le,G,U,H){var M=H.scene.getSelectedElements(G);if(M.length===2){var A,b=(0,m.iB)(M[0])||(0,m.iB)(M[1]);if((0,c.mG)(M[0])?A=M[0]:(0,c.mG)(M[1])&&(A=M[1]),b&&A&&(0,I.WJ)(A)===null)return!0}return!1},perform:function(le,G,U,H){var M,A,b=H.scene.getSelectedElements(G);(0,m.iB)(b[0])&&(0,c.mG)(b[1])?(M=b[0],A=b[1]):(M=b[1],A=b[0]),(0,v.DR)(M,{containerId:A.id,verticalAlign:w.oX.MIDDLE,textAlign:w.I8.CENTER}),(0,v.DR)(A,{boundElements:(A.boundElements||[]).concat({type:"text",id:M.id})});var y=A.height;return(0,I.oN)(M,A),(0,x.h_)(A.id,y),{elements:he(le,A,M),appState:S(S({},G),{},{selectedElementIds:(0,P.Z)({},A.id,!0)}),commitToHistory:!0}}}),he=function(le,G,U){var H=le.slice(),M=H.findIndex(function(b){return b.id===U.id});H.splice(M,1);var A=H.findIndex(function(b){return b.id===G.id});return H.splice(A+1,0,U),H},ve=(0,Z.z)({name:"wrapTextInContainer",contextItemLabel:"labels.createContainerFromText",trackEvent:{category:"element"},predicate:function(le,G,U,H){var M=H.scene.getSelectedElements(G),A=M.every(function(b){return(0,m.iB)(b)});return M.length>0&&A},perform:function(le,G,U,H){var M,A=H.scene.getSelectedElements(G),b=le.slice(),y={},h=N(A);try{var d=function(){var r=M.value;if((0,m.iB)(r)){var n,p=(0,m.Up)({type:"rectangle",backgroundColor:G.currentItemBackgroundColor,boundElements:[].concat((0,e.Z)(r.boundElements||[]),[{id:r.id,type:"text"}]),angle:r.angle,fillStyle:G.currentItemFillStyle,strokeColor:G.currentItemStrokeColor,roughness:G.currentItemRoughness,strokeWidth:G.currentItemStrokeWidth,strokeStyle:G.currentItemStrokeStyle,roundness:G.currentItemRoundness==="round"?{type:(0,c.QI)("rectangle")?w.a6.ADAPTIVE_RADIUS:w.a6.PROPORTIONAL_RADIUS}:null,opacity:100,locked:!1,x:r.x-w.gK,y:r.y-w.gK,width:(0,I.NS)(r.width,"rectangle"),height:(0,I.NS)(r.height,"rectangle"),groupIds:r.groupIds,frameId:r.frameId});if((n=r.boundElements)!==null&&n!==void 0&&n.length){var a=r.boundElements.filter(function(l){return l.type==="arrow"}).map(function(l){return l.id});b.filter(function(l){return a.includes(l.id)}).forEach(function(l){var u,C,L=l.startBinding,_=l.endBinding;((u=L)===null||u===void 0?void 0:u.elementId)===r.id&&(L=S(S({},L),{},{elementId:p.id})),((C=_)===null||C===void 0?void 0:C.elementId)===r.id&&(_=S(S({},_),{},{elementId:p.id})),(L||_)&&(0,v.DR)(l,{startBinding:L,endBinding:_},!1)})}(0,v.DR)(r,{containerId:p.id,verticalAlign:w.oX.MIDDLE,boundElements:null,textAlign:w.I8.CENTER},!1),(0,I.oN)(r,p),b=function(l,u,C){var L=l.slice(),_=L.findIndex(function(D){return D.id===u.id});L.splice(_,1);var E=L.findIndex(function(D){return D.id===C.id});return L.splice(E,0,u),L}([].concat((0,e.Z)(b),[p]),p,r),y[p.id]=!0}};for(h.s();!(M=h.n()).done;)d()}catch(r){h.e(r)}finally{h.f()}return{elements:b,appState:S(S({},G),{},{selectedElementIds:y}),commitToHistory:!0}}})},6006:function(et,fe,t){t.d(fe,{CZ:function(){return b},JB:function(){return y},Lo:function(){return A},Zp:function(){return h},eF:function(){return d},mo:function(){return M}});var e=t(2577),P=t(7169),w=t(193),m=t(8935),v=t(1512),I=t(9937),x=t(7651),c=t(8227),f=t(5491),Z=t(4105),N=t(2382),W=t(4116),k=t(9827),S=t(2767),J=t(8925),ce=t(583),he=t(6853),ve=t(9240),le=t(7652),G=t(4512);function U(r,n){var p=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),p.push.apply(p,a)}return p}function H(r){for(var n=1;n<arguments.length;n++){var p=arguments[n]!=null?arguments[n]:{};n%2?U(Object(p),!0).forEach(function(a){(0,P.Z)(r,a,p[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(p)):U(Object(p)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(p,a))})}return r}(0,S.z)({name:"changeViewBackgroundColor",trackEvent:!1,predicate:function(r,n,p,a){return!!a.props.UIOptions.canvasActions.changeViewBackgroundColor&&!n.viewModeEnabled},perform:function(r,n,p){return{appState:H(H({},n),p),commitToHistory:!!p.viewBackgroundColor}},PanelComponent:function(r){var n=r.elements,p=r.appState,a=r.updateData;return r.appProps,(0,G.jsx)(w.z,{palette:null,topPicks:ve.ay,label:(0,c.t)("labels.canvasBackground"),type:"canvasBackground",color:p.viewBackgroundColor,onChange:function(l){return a({viewBackgroundColor:l})},"data-testid":"canvas-background-picker",elements:n,appState:p,updateData:a})}});var M=(0,S.z)({name:"clearCanvas",trackEvent:{category:"canvas"},predicate:function(r,n,p,a){return!!a.props.UIOptions.canvasActions.clearCanvas&&!n.viewModeEnabled},perform:function(r,n,p,a){return a.imageCache.clear(),{elements:r.map(function(l){return(0,ce.BE)(l,{isDeleted:!0})}),appState:H(H({},(0,he.im)()),{},{files:{},theme:n.theme,penMode:n.penMode,penDetected:n.penDetected,exportBackground:n.exportBackground,exportEmbedScene:n.exportEmbedScene,gridSize:n.gridSize,showStats:n.showStats,pasteDialog:n.pasteDialog,activeTool:n.activeTool.type==="image"?H(H({},n.activeTool),{},{type:"selection"}):n.activeTool}),commitToHistory:!0}}}),A=(0,S.z)({name:"zoomIn",viewMode:!0,trackEvent:{category:"canvas"},perform:function(r,n,p,a){return{appState:H(H({},n),(0,W.E)({viewportX:n.width/2+n.offsetLeft,viewportY:n.height/2+n.offsetTop,nextZoom:(0,Z.j)(n.zoom.value+I.V4)},n)),commitToHistory:!1}},PanelComponent:function(r){var n=r.updateData;return(0,G.jsx)(v.V,{type:"button",className:"zoom-in-button zoom-button",icon:m.Sd,title:"".concat((0,c.t)("buttons.zoomIn")," — ").concat((0,k.uY)("CtrlOrCmd++")),"aria-label":(0,c.t)("buttons.zoomIn"),onClick:function(){n(null)}})},keyTest:function(r){return(r.code===f.aU.EQUAL||r.code===f.aU.NUM_ADD)&&(r[f.tW.CTRL_OR_CMD]||r.shiftKey)}}),b=(0,S.z)({name:"zoomOut",viewMode:!0,trackEvent:{category:"canvas"},perform:function(r,n,p,a){return{appState:H(H({},n),(0,W.E)({viewportX:n.width/2+n.offsetLeft,viewportY:n.height/2+n.offsetTop,nextZoom:(0,Z.j)(n.zoom.value-I.V4)},n)),commitToHistory:!1}},PanelComponent:function(r){var n=r.updateData;return(0,G.jsx)(v.V,{type:"button",className:"zoom-out-button zoom-button",icon:m.xL,title:"".concat((0,c.t)("buttons.zoomOut")," — ").concat((0,k.uY)("CtrlOrCmd+-")),"aria-label":(0,c.t)("buttons.zoomOut"),onClick:function(){n(null)}})},keyTest:function(r){return(r.code===f.aU.MINUS||r.code===f.aU.NUM_SUBTRACT)&&(r[f.tW.CTRL_OR_CMD]||r.shiftKey)}}),y=((0,S.z)({name:"resetZoom",viewMode:!0,trackEvent:{category:"canvas"},perform:function(r,n,p,a){return{appState:H(H({},n),(0,W.E)({viewportX:n.width/2+n.offsetLeft,viewportY:n.height/2+n.offsetTop,nextZoom:(0,Z.j)(1)},n)),commitToHistory:!1}},PanelComponent:function(r){var n=r.updateData,p=r.appState;return(0,G.jsx)(J.u,{label:(0,c.t)("buttons.resetZoom"),style:{height:"100%"},children:(0,G.jsxs)(v.V,{type:"button",className:"reset-zoom-button zoom-button",title:(0,c.t)("buttons.resetZoom"),"aria-label":(0,c.t)("buttons.resetZoom"),onClick:function(){n(null)},children:[(100*p.zoom.value).toFixed(0),"%"]})})},keyTest:function(r){return(r.code===f.aU.ZERO||r.code===f.aU.NUM_ZERO)&&(r[f.tW.CTRL_OR_CMD]||r.shiftKey)}}),function(r){var n,p,a,l=r.targetElements,u=r.appState,C=r.fitToViewport,L=C!==void 0&&C,_=r.viewportZoomFactor,E=_===void 0?.7:_,D=(0,x.KP)((0,x.Lm)(l)),F=(0,e.Z)(D,4),ee=F[0],te=F[1],re=F[2],oe=F[3],Y=(ee+re)/2,V=(te+oe)/2;if(L){var ie=re-ee,we=oe-te;n=Math.min(u.width/ie,u.height/we)*Math.min(1,Math.max(E,.1)),n=Math.min(Math.max(n,.1),30),p=u.width/2*(1/n)-Y,a=u.height/2*(1/n)-V}else{n=function(Re,je){var ye=(0,e.Z)(Re,4),Ee=ye[0],Oe=ye[1],ge=ye[2],ue=ye[3],se=ge-Ee,j=je.width/se,i=ue-Oe,s=je.height/i,O=Math.min(j,s),z=Math.floor(O/I.V4)*I.V4;return Math.min(Math.max(z,I.Zj),1)}(D,{width:u.width,height:u.height});var Ae=(0,N.s)({scenePoint:{x:Y,y:V},viewportDimensions:{width:u.width,height:u.height},zoom:{value:n}});p=Ae.scrollX,a=Ae.scrollY}return{appState:H(H({},u),{},{scrollX:p,scrollY:a,zoom:{value:n}}),commitToHistory:!1}}),h=((0,S.z)({name:"zoomToFitSelectionInViewport",trackEvent:{category:"canvas"},perform:function(r,n,p,a){var l=a.scene.getSelectedElements(n);return y({targetElements:l.length?l:r,appState:n,fitToViewport:!1})},keyTest:function(r){return r.code===f.aU.TWO&&r.shiftKey&&!r.altKey&&!r[f.tW.CTRL_OR_CMD]}}),(0,S.z)({name:"zoomToFitSelection",trackEvent:{category:"canvas"},perform:function(r,n,p,a){var l=a.scene.getSelectedElements(n);return y({targetElements:l.length?l:r,appState:n,fitToViewport:!0})},keyTest:function(r){return r.code===f.aU.THREE&&r.shiftKey&&!r.altKey&&!r[f.tW.CTRL_OR_CMD]}}),(0,S.z)({name:"zoomToFit",viewMode:!0,trackEvent:{category:"canvas"},perform:function(r,n){return y({targetElements:r,appState:n,fitToViewport:!1})},keyTest:function(r){return r.code===f.aU.ONE&&r.shiftKey&&!r.altKey&&!r[f.tW.CTRL_OR_CMD]}}),(0,S.z)({name:"toggleTheme",viewMode:!0,trackEvent:{category:"canvas"},perform:function(r,n,p){return{appState:H(H({},n),{},{theme:p||(n.theme===I.C6.LIGHT?I.C6.DARK:I.C6.LIGHT)}),commitToHistory:!1}},keyTest:function(r){return r.altKey&&r.shiftKey&&r.code===f.aU.D},predicate:function(r,n,p,a){return!!a.props.UIOptions.canvasActions.toggleTheme}})),d=((0,S.z)({name:"toggleEraserTool",trackEvent:{category:"toolbar"},perform:function(r,n){var p;return p=(0,he.EN)(n)?(0,k.Om)(n,H(H({},n.activeTool.lastActiveTool||{type:"selection"}),{},{lastActiveToolBeforeEraser:null})):(0,k.Om)(n,{type:"eraser",lastActiveToolBeforeEraser:n.activeTool}),{appState:H(H({},n),{},{selectedElementIds:{},selectedGroupIds:{},activeEmbeddable:null,activeTool:p}),commitToHistory:!0}},keyTest:function(r){return r.key===f.tW.E}}),(0,S.z)({name:"toggleHandTool",trackEvent:{category:"toolbar"},perform:function(r,n,p,a){var l;return(0,he.l$)(n)?l=(0,k.Om)(n,H(H({},n.activeTool.lastActiveTool||{type:"selection"}),{},{lastActiveToolBeforeEraser:null})):(l=(0,k.Om)(n,{type:"hand",lastActiveToolBeforeEraser:n.activeTool}),(0,le.KJ)(a.interactiveCanvas,I.oc.GRAB)),{appState:H(H({},n),{},{selectedElementIds:{},selectedGroupIds:{},activeEmbeddable:null,activeTool:l}),commitToHistory:!0}},keyTest:function(r){return!r.altKey&&!r[f.tW.CTRL_OR_CMD]&&r.key===f.tW.H}}))},5047:function(et,fe,t){t.d(fe,{FA:function(){return H},ZM:function(){return U},jK:function(){return M},uN:function(){return le},yQ:function(){return G},zp:function(){return A}});var e=t(7169),P=t(8950),w=t(2975),m=t.n(w),v=t(5491),I=t(2767),x=t(4694),c=t(2448),f=t(2435),Z=t(7651),N=t(8227),W=t(9937);function k(b,y){var h=Object.keys(b);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(b);y&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(b,r).enumerable})),h.push.apply(h,d)}return h}function S(b){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?k(Object(h),!0).forEach(function(d){(0,e.Z)(b,d,h[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(h)):k(Object(h)).forEach(function(d){Object.defineProperty(b,d,Object.getOwnPropertyDescriptor(h,d))})}return b}var J,ce,he,ve,le=(0,I.z)({name:"copy",trackEvent:{category:"element"},perform:(J=(0,P.Z)(m().mark(function b(y,h,d,r){var n;return m().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return n=r.scene.getSelectedElements({selectedElementIds:h.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0}),p.prev=1,p.next=4,(0,x.vQ)(n,r.files,d);case 4:p.next=9;break;case 6:return p.prev=6,p.t0=p.catch(1),p.abrupt("return",{commitToHistory:!1,appState:S(S({},h),{},{errorMessage:p.t0.message})});case 9:return p.abrupt("return",{commitToHistory:!1});case 10:case"end":return p.stop()}},b,null,[[1,6]])})),function(b,y,h,d){return J.apply(this,arguments)}),contextItemLabel:"labels.copy",keyTest:void 0}),G=(0,I.z)({name:"paste",trackEvent:{category:"element"},perform:(ce=(0,P.Z)(m().mark(function b(y,h,d,r){var n;return m().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,(0,x.Se)();case 3:n=p.sent,p.next=14;break;case 6:if(p.prev=6,p.t0=p.catch(0),p.t0.name!=="AbortError"&&p.t0.name!=="NotAllowedError"){p.next=10;break}return p.abrupt("return",!1);case 10:if(console.error("actionPaste ".concat(p.t0.name,": ").concat(p.t0.message)),!W.vU){p.next=13;break}return p.abrupt("return",{commitToHistory:!1,appState:S(S({},h),{},{errorMessage:(0,N.t)("hints.firefox_clipboard_write")})});case 13:return p.abrupt("return",{commitToHistory:!1,appState:S(S({},h),{},{errorMessage:(0,N.t)("errors.asyncPasteFailedOnRead")})});case 14:p.prev=14,r.pasteFromClipboard((0,x.OO)({types:n})),p.next=22;break;case 18:return p.prev=18,p.t1=p.catch(14),console.error(p.t1),p.abrupt("return",{commitToHistory:!1,appState:S(S({},h),{},{errorMessage:(0,N.t)("errors.asyncPasteFailedOnParse")})});case 22:return p.abrupt("return",{commitToHistory:!1});case 23:case"end":return p.stop()}},b,null,[[0,6],[14,18]])})),function(b,y,h,d){return ce.apply(this,arguments)}),contextItemLabel:"labels.paste",keyTest:void 0}),U=(0,I.z)({name:"cut",trackEvent:{category:"element"},perform:function(b,y,h,d){return le.perform(b,y,h,d),c.X.perform(b,y)},contextItemLabel:"labels.cut",keyTest:function(b){return b[v.tW.CTRL_OR_CMD]&&b.key===v.tW.X}}),H=(0,I.z)({name:"copyAsSvg",trackEvent:{category:"element"},perform:(he=(0,P.Z)(m().mark(function b(y,h,d,r){var n,p,a;return m().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(r.canvas){l.next=2;break}return l.abrupt("return",{commitToHistory:!1});case 2:return n=(0,f.HD)(y,h,!0),p=n.exportedElements,a=n.exportingFrame,l.prev=3,l.next=6,(0,f.p1)("clipboard-svg",p,h,r.files,S(S({},h),{},{exportingFrame:a}));case 6:return l.abrupt("return",{commitToHistory:!1});case 9:return l.prev=9,l.t0=l.catch(3),console.error(l.t0),l.abrupt("return",{appState:S(S({},h),{},{errorMessage:l.t0.message}),commitToHistory:!1});case 13:case"end":return l.stop()}},b,null,[[3,9]])})),function(b,y,h,d){return he.apply(this,arguments)}),predicate:function(b){return x.wx&&b.length>0},contextItemLabel:"labels.copyAsSvg"}),M=(0,I.z)({name:"copyAsPng",trackEvent:{category:"element"},perform:(ve=(0,P.Z)(m().mark(function b(y,h,d,r){var n,p,a,l;return m().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(r.canvas){u.next=2;break}return u.abrupt("return",{commitToHistory:!1});case 2:return n=r.scene.getSelectedElements({selectedElementIds:h.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0}),p=(0,f.HD)(y,h,!0),a=p.exportedElements,l=p.exportingFrame,u.prev=4,u.next=7,(0,f.p1)("clipboard",a,h,r.files,S(S({},h),{},{exportingFrame:l}));case 7:return u.abrupt("return",{appState:S(S({},h),{},{toast:{message:(0,N.t)("toast.copyToClipboardAsPng",{exportSelection:n.length?(0,N.t)("toast.selection"):(0,N.t)("toast.canvas"),exportColorScheme:h.exportWithDarkMode?(0,N.t)("buttons.darkMode"):(0,N.t)("buttons.lightMode")})}}),commitToHistory:!1});case 10:return u.prev=10,u.t0=u.catch(4),console.error(u.t0),u.abrupt("return",{appState:S(S({},h),{},{errorMessage:u.t0.message}),commitToHistory:!1});case 14:case"end":return u.stop()}},b,null,[[4,10]])})),function(b,y,h,d){return ve.apply(this,arguments)}),predicate:function(b){return x.vt&&b.length>0},contextItemLabel:"labels.copyAsPng",keyTest:function(b){return b.code===v.aU.C&&b.altKey&&b.shiftKey}}),A=(0,I.z)({name:"copyText",trackEvent:{category:"element"},perform:function(b,y,h,d){var r=d.scene.getSelectedElements({selectedElementIds:y.selectedElementIds,includeBoundTextElement:!0}).reduce(function(n,p){return(0,Z.iB)(p)&&n.push(p.text),n},[]).join(` + +`);return(0,x.dd)(r),{commitToHistory:!1}},predicate:function(b,y,h,d){return x.wx&&d.scene.getSelectedElements({selectedElementIds:y.selectedElementIds,includeBoundTextElement:!0}).some(Z.iB)},contextItemLabel:"labels.copyText"})},2448:function(et,fe,t){t.d(fe,{X:function(){return le}});var e=t(7169),P=t(4105),w=t(5491),m=t(1512),v=t(8227),I=t(2767),x=t(7651),c=t(583),f=t(9215),Z=t(7422),N=t(9645),W=t(4183),k=t(9827),S=t(8935),J=t(4512);function ce(G,U){var H=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);U&&(M=M.filter(function(A){return Object.getOwnPropertyDescriptor(G,A).enumerable})),H.push.apply(H,M)}return H}function he(G){for(var U=1;U<arguments.length;U++){var H=arguments[U]!=null?arguments[U]:{};U%2?ce(Object(H),!0).forEach(function(M){(0,e.Z)(G,M,H[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(H)):ce(Object(H)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(H,M))})}return G}var ve=function(G,U){if(G.editingGroupId){var H=(0,f.Fb)((0,x.Lm)(U),G.editingGroupId);if(H.length)return he(he({},G),{},{selectedElementIds:(0,e.Z)({},H[0].id,!0)})}return G},le=(0,I.z)({name:"deleteSelectedElements",trackEvent:{category:"element",action:"delete"},perform:function(G,U){if(U.editingLinearElement){var H=U.editingLinearElement,M=H.elementId,A=H.selectedPointsIndices,b=H.startBindingElement,y=H.endBindingElement,h=Z._.getElement(M);if(!h||A==null)return!1;if(h.points.length<2){var d=G.map(function(l){return l.id===h.id?(0,c.BE)(l,{isDeleted:!0}):l});return{elements:d,appState:he(he({},ve(U,d)),{},{editingLinearElement:null}),commitToHistory:!1}}var r={startBindingElement:A!=null&&A.includes(0)?null:b,endBindingElement:A!=null&&A.includes(h.points.length-1)?null:y};return Z._.deletePoints(h,A),{elements:G,appState:he(he({},U),{},{editingLinearElement:he(he(he({},U.editingLinearElement),r),{},{selectedPointsIndices:A?.[0]>0?[A[0]-1]:[0]})}),commitToHistory:!0}}var n=function(l,u){var C=new Set((0,P.eD)(l.filter(function(L){return L.type==="frame"}),u).map(function(L){return L.id}));return{elements:l.map(function(L){return u.selectedElementIds[L.id]||L.frameId&&C.has(L.frameId)||(0,W.Xh)(L)&&u.selectedElementIds[L.containerId]?(0,c.BE)(L,{isDeleted:!0}):L}),appState:he(he({},u),{},{selectedElementIds:{},selectedGroupIds:{}})}}(G,U),p=n.elements,a=n.appState;return(0,N.$q)(p,G.filter(function(l){var u=l.id;return U.selectedElementIds[u]})),{elements:p,appState:he(he({},a=ve(a,p)),{},{activeTool:(0,k.Om)(U,{type:"selection"}),multiElement:null,activeEmbeddable:null}),commitToHistory:(0,P.N)((0,x.Lm)(G),U)}},contextItemLabel:"labels.delete",keyTest:function(G,U,H){return(G.key===w.tW.BACKSPACE||G.key===w.tW.DELETE)&&!G[w.tW.CTRL_OR_CMD]},PanelComponent:function(G){var U=G.elements,H=G.appState,M=G.updateData;return(0,J.jsx)(m.V,{type:"button",icon:S.XH,title:(0,v.t)("labels.delete"),"aria-label":(0,v.t)("labels.delete"),onClick:function(){return M(null)},visible:(0,P.N)((0,x.Lm)(U),H)})}})},9672:function(et,fe,t){t.d(fe,{$:function(){return f},U:function(){return Z}});var e=t(7169),P=t(583),w=t(5491),m=t(9827),v=t(2767);function I(N,W){var k=Object.keys(N);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(N);W&&(S=S.filter(function(J){return Object.getOwnPropertyDescriptor(N,J).enumerable})),k.push.apply(k,S)}return k}function x(N){for(var W=1;W<arguments.length;W++){var k=arguments[W]!=null?arguments[W]:{};W%2?I(Object(k),!0).forEach(function(S){(0,e.Z)(N,S,k[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(k)):I(Object(k)).forEach(function(S){Object.defineProperty(N,S,Object.getOwnPropertyDescriptor(k,S))})}return N}var c=function(N){return N.every(function(W){return!W.locked})},f=(0,v.z)({name:"toggleElementLock",trackEvent:{category:"element"},predicate:function(N,W,k,S){return!S.scene.getSelectedElements(W).some(function(J){return J.locked&&J.frameId})},perform:function(N,W,k,S){var J=S.scene.getSelectedElements({selectedElementIds:W.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0});if(!J.length)return!1;var ce=c(J),he=(0,m.xn)(J);return{elements:N.map(function(ve){return he.has(ve.id)?(0,P.BE)(ve,{locked:ce}):ve}),appState:x(x({},W),{},{selectedLinearElement:ce?null:W.selectedLinearElement}),commitToHistory:!0}},contextItemLabel:function(N,W,k){var S=k.scene.getSelectedElements({selectedElementIds:W.selectedElementIds,includeBoundTextElement:!1});return S.length===1&&S[0].type!=="frame"?S[0].locked?"labels.elementLock.unlock":"labels.elementLock.lock":c(S)?"labels.elementLock.lockAll":"labels.elementLock.unlockAll"},keyTest:function(N,W,k,S){return N.key.toLocaleLowerCase()===w.tW.L&&N[w.tW.CTRL_OR_CMD]&&N.shiftKey&&S.scene.getSelectedElements({selectedElementIds:W.selectedElementIds,includeBoundTextElement:!1}).length>0}}),Z=(0,v.z)({name:"unlockAllElements",trackEvent:{category:"canvas"},viewMode:!1,predicate:function(N){return N.some(function(W){return W.locked})},perform:function(N,W){var k=N.filter(function(S){return S.locked});return{elements:N.map(function(S){return S.locked?(0,P.BE)(S,{locked:!1}):S}),appState:x(x({},W),{},{selectedElementIds:Object.fromEntries(k.map(function(S){return[S.id,!0]}))}),commitToHistory:!0}},contextItemLabel:"labels.elementLock.unlockAll"})},4406:function(et,fe,t){t.d(fe,{XA:function(){return Ee},Du:function(){return Oe},sK:function(){return ye},zX:function(){return je},bJ:function(){return j},_d:function(){return se},mM:function(){return ue},ns:function(){return ge}});var e=t(8950),P=t(2577),w=t(7169),m=t(2975),v=t.n(m),I=t(8935),x=t(3379),c=t.n(x),f=t(7795),Z=t.n(f),N=t(569),W=t.n(N),k=t(3565),S=t.n(k),J=t(9216),ce=t.n(J),he=t(4589),ve=t.n(he),le=t(6759),G={};G.styleTagTransform=ve(),G.setAttributes=S(),G.insert=W().bind(null,"head"),G.domAPI=Z(),G.insertStyleElement=ce(),c()(le.Z,G),le.Z&&le.Z.locals&&le.Z.locals;var U=t(9787),H=t(9827),M=t(532),A={};A.styleTagTransform=ve(),A.setAttributes=S(),A.insert=W().bind(null,"head"),A.domAPI=Z(),A.insertStyleElement=ce(),c()(M.Z,A),M.Z&&M.Z.locals&&M.Z.locals;var b=t(8242),y=t(5491),h=t(4512),d=function(i){var s=(0,b.J0)().id,O=(0,U.useState)(i.value),z=(0,P.Z)(O,2),K=z[0],$=z[1];return(0,h.jsxs)("div",{className:"ProjectName",children:[(0,h.jsx)("label",{className:"ProjectName-label",htmlFor:"filename",children:"".concat(i.label).concat(i.isNameEditable?"":":")}),i.isNameEditable?(0,h.jsx)("input",{type:"text",className:"TextInput",onBlur:function(Q){i.ignoreFocus||(0,H.qz)(Q.target);var ae=Q.target.value;ae!==i.value&&i.onChange(ae)},onKeyDown:function(Q){if(Q.key===y.tW.ENTER){if(Q.preventDefault(),Q.nativeEvent.isComposing||Q.keyCode===229)return;Q.currentTarget.blur()}},id:"".concat(s,"-filename"),value:K,onChange:function(Q){return $(Q.target.value)}}):(0,h.jsx)("span",{className:"TextInput TextInput--readonly",id:"".concat(s,"-filename"),children:i.value})]})},r=t(1512),n=t(8925),p=(t(3041),t(8227)),a=t(9937),l=function(i){var s=i.title||(i.value==="dark"?(0,p.t)("buttons.lightMode"):(0,p.t)("buttons.darkMode"));return(0,h.jsx)(r.V,{type:"icon",icon:i.value===a.C6.LIGHT?u.MOON:u.SUN,title:s,"aria-label":s,onClick:function(){return i.onChange(i.value===a.C6.DARK?a.C6.LIGHT:a.C6.DARK)},"data-testid":"toggle-dark-mode"})},u={SUN:(0,h.jsx)("svg",{width:"512",height:"512",className:"rtl-mirror",viewBox:"0 0 512 512",children:(0,h.jsx)("path",{fill:"currentColor",d:"M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z"})}),MOON:(0,h.jsx)("svg",{width:"512",height:"512",className:"rtl-mirror",viewBox:"0 0 512 512",children:(0,h.jsx)("path",{fill:"currentColor",d:"M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"})})},C=t(2435),L=t(5796);function _(i,s){var O=Object.keys(i);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(i);s&&(z=z.filter(function(K){return Object.getOwnPropertyDescriptor(i,K).enumerable})),O.push.apply(O,z)}return O}function E(i){for(var s=1;s<arguments.length;s++){var O=arguments[s]!=null?arguments[s]:{};s%2?_(Object(O),!0).forEach(function(z){(0,w.Z)(i,z,O[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(O)):_(Object(O)).forEach(function(z){Object.defineProperty(i,z,Object.getOwnPropertyDescriptor(O,z))})}return i}var D=function(){var i=(0,e.Z)(v().mark(function s(O,z,K){var $,Q,ae,be,Ce,Ze,Be,Te,He;return v().wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(Q=($=z).exportBackground,ae=$.viewBackgroundColor,be=$.name,Ce=$.fileHandle,Ze=(0,L.Qk)(Ce),Ce&&(0,L.DQ)(Ze)){Ve.next=4;break}throw new Error("fileHandle should exist and should be of type svg or png when resaving");case 4:return z=E(E({},z),{},{exportEmbedScene:!0}),Be=(0,C.HD)(O,z,!1),Te=Be.exportedElements,He=Be.exportingFrame,Ve.next=8,(0,C.p1)(Ze,Te,z,K,{exportBackground:Q,viewBackgroundColor:ae,name:be,fileHandle:Ce,exportingFrame:He});case 8:return Ve.abrupt("return",{fileHandle:Ce});case 9:case"end":return Ve.stop()}},s)}));return function(s,O,z){return i.apply(this,arguments)}}(),F=t(2767),ee=t(6238),te=t(3668),re=t(4105),oe=t(7651),Y=t(6548);function V(i,s){var O=Object.keys(i);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(i);s&&(z=z.filter(function(K){return Object.getOwnPropertyDescriptor(i,K).enumerable})),O.push.apply(O,z)}return O}function ie(i){for(var s=1;s<arguments.length;s++){var O=arguments[s]!=null?arguments[s]:{};s%2?V(Object(O),!0).forEach(function(z){(0,w.Z)(i,z,O[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(O)):V(Object(O)).forEach(function(z){Object.defineProperty(i,z,Object.getOwnPropertyDescriptor(O,z))})}return i}var we,Ae,Re,je=(0,F.z)({name:"changeProjectName",trackEvent:!1,perform:function(i,s,O){return{appState:ie(ie({},s),{},{name:O}),commitToHistory:!1}},PanelComponent:function(i){var s,O=i.appState,z=i.updateData,K=i.appProps,$=i.data;return(0,h.jsx)(d,{label:(0,p.t)("labels.fileTitle"),value:O.name||"Unnamed",onChange:function(Q){return z(Q)},isNameEditable:K.name===void 0&&!O.viewModeEnabled,ignoreFocus:(s=$?.ignoreFocus)!==null&&s!==void 0&&s})}}),ye=(0,F.z)({name:"changeExportScale",trackEvent:{category:"export",action:"scale"},perform:function(i,s,O){return{appState:ie(ie({},s),{},{exportScale:O}),commitToHistory:!1}},PanelComponent:function(i){var s=i.elements,O=i.appState,z=i.updateData,K=(0,oe.Lm)(s),$=(0,re.N)(K,O)?(0,re.eD)(K,O):K;return(0,h.jsx)(h.Fragment,{children:a.ZB.map(function(Q){var ae=(0,te.Cg)($,a.qy,Q),be=(0,P.Z)(ae,2),Ce=be[0],Ze=be[1],Be="".concat((0,p.t)("imageExportDialog.label.scale")," ").concat(Q,"x (").concat(Ce,"x").concat(Ze,")");return(0,h.jsx)(r.V,{size:"small",type:"radio",icon:"".concat(Q,"x"),name:"export-canvas-scale",title:Be,"aria-label":Be,id:"export-canvas-scale",checked:Q===O.exportScale,onChange:function(){return z(Q)}},Q)})})}}),Ee=(0,F.z)({name:"changeExportBackground",trackEvent:{category:"export",action:"toggleBackground"},perform:function(i,s,O){return{appState:ie(ie({},s),{},{exportBackground:O}),commitToHistory:!1}},PanelComponent:function(i){var s=i.appState,O=i.updateData;return(0,h.jsx)(ee.o,{checked:s.exportBackground,onChange:function(z){return O(z)},children:(0,p.t)("imageExportDialog.label.withBackground")})}}),Oe=(0,F.z)({name:"changeExportEmbedScene",trackEvent:{category:"export",action:"embedScene"},perform:function(i,s,O){return{appState:ie(ie({},s),{},{exportEmbedScene:O}),commitToHistory:!1}},PanelComponent:function(i){var s=i.appState,O=i.updateData;return(0,h.jsxs)(ee.o,{checked:s.exportEmbedScene,onChange:function(z){return O(z)},children:[(0,p.t)("imageExportDialog.label.embedScene"),(0,h.jsx)(n.u,{label:(0,p.t)("imageExportDialog.tooltip.embedScene"),long:!0,children:(0,h.jsx)("div",{className:"excalidraw-tooltip-icon",children:I.Vl})})]})}}),ge=(0,F.z)({name:"saveToActiveFile",trackEvent:{category:"export"},predicate:function(i,s,O,z){return!!z.props.UIOptions.canvasActions.saveToActiveFile&&!!s.fileHandle&&!s.viewModeEnabled},perform:(we=(0,e.Z)(v().mark(function i(s,O,z,K){var $,Q,ae;return v().wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if($=!!O.fileHandle,be.prev=1,!(0,L.g8)(O.fileHandle)){be.next=8;break}return be.next=5,D(s,O,K.files);case 5:be.t0=be.sent,be.next=11;break;case 8:return be.next=10,(0,C.Um)(s,O,K.files);case 10:be.t0=be.sent;case 11:return Q=be.t0,ae=Q.fileHandle,be.abrupt("return",{commitToHistory:!1,appState:ie(ie({},O),{},{fileHandle:ae,toast:$?{message:ae!=null&&ae.name?(0,p.t)("toast.fileSavedToFilename").replace("{filename}",'"'.concat(ae.name,'"')):(0,p.t)("toast.fileSaved")}:null})});case 16:return be.prev=16,be.t1=be.catch(1),(be.t1===null||be.t1===void 0?void 0:be.t1.name)!=="AbortError"?console.error(be.t1):console.warn(be.t1),be.abrupt("return",{commitToHistory:!1});case 20:case"end":return be.stop()}},i,null,[[1,16]])})),function(i,s,O,z){return we.apply(this,arguments)}),keyTest:function(i){return i.key===y.tW.S&&i[y.tW.CTRL_OR_CMD]&&!i.shiftKey}}),ue=(0,F.z)({name:"saveFileToDisk",viewMode:!0,trackEvent:{category:"export"},perform:(Ae=(0,e.Z)(v().mark(function i(s,O,z,K){var $,Q;return v().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.prev=0,ae.next=3,(0,C.Um)(s,ie(ie({},O),{},{fileHandle:null}),K.files);case 3:return $=ae.sent,Q=$.fileHandle,ae.abrupt("return",{commitToHistory:!1,appState:ie(ie({},O),{},{openDialog:null,fileHandle:Q,toast:{message:(0,p.t)("toast.fileSaved")}})});case 8:return ae.prev=8,ae.t0=ae.catch(0),(ae.t0===null||ae.t0===void 0?void 0:ae.t0.name)!=="AbortError"?console.error(ae.t0):console.warn(ae.t0),ae.abrupt("return",{commitToHistory:!1});case 12:case"end":return ae.stop()}},i,null,[[0,8]])})),function(i,s,O,z){return Ae.apply(this,arguments)}),keyTest:function(i){return i.key===y.tW.S&&i.shiftKey&&i[y.tW.CTRL_OR_CMD]},PanelComponent:function(i){var s=i.updateData;return(0,h.jsx)(r.V,{type:"button",icon:I.po,title:(0,p.t)("buttons.saveAs"),"aria-label":(0,p.t)("buttons.saveAs"),showAriaLabel:(0,b.Fy)().editor.isMobile,hidden:!Y.kr,onClick:function(){return s(null)},"data-testid":"save-as-button"})}}),se=(0,F.z)({name:"loadScene",trackEvent:{category:"export"},predicate:function(i,s,O,z){return!!z.props.UIOptions.canvasActions.loadScene&&!s.viewModeEnabled},perform:(Re=(0,e.Z)(v().mark(function i(s,O,z,K){var $,Q,ae,be;return v().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return Ce.prev=0,Ce.next=3,(0,C.n8)(O,s);case 3:return $=Ce.sent,Q=$.elements,ae=$.appState,be=$.files,Ce.abrupt("return",{elements:Q,appState:ae,files:be,commitToHistory:!0});case 10:if(Ce.prev=10,Ce.t0=Ce.catch(0),(Ce.t0===null||Ce.t0===void 0?void 0:Ce.t0.name)!=="AbortError"){Ce.next=15;break}return console.warn(Ce.t0),Ce.abrupt("return",!1);case 15:return Ce.abrupt("return",{elements:s,appState:ie(ie({},O),{},{errorMessage:Ce.t0.message}),files:K.files,commitToHistory:!1});case 16:case"end":return Ce.stop()}},i,null,[[0,10]])})),function(i,s,O,z){return Re.apply(this,arguments)}),keyTest:function(i){return i[y.tW.CTRL_OR_CMD]&&i.key===y.tW.O}}),j=(0,F.z)({name:"exportWithDarkMode",trackEvent:{category:"export",action:"toggleTheme"},perform:function(i,s,O){return{appState:ie(ie({},s),{},{exportWithDarkMode:O}),commitToHistory:!1}},PanelComponent:function(i){var s=i.appState,O=i.updateData;return(0,h.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"-45px",marginBottom:"10px"},children:(0,h.jsx)(l,{value:s.exportWithDarkMode?a.C6.DARK:a.C6.LIGHT,onChange:function(z){O(z===a.C6.DARK)},title:(0,p.t)("imageExportDialog.label.darkMode")})})}})},3361:function(et,fe,t){t.d(fe,{Tu:function(){return Ae},Zq:function(){return Re}});var e=t(1930),P=t(7169),w=t(9240),m=t(3646),v=t(45),I=t(4512),x=function(je){return(0,I.jsx)("div",{className:"buttonList buttonListIcon",children:je.options.map(function(ye){var Ee;return je.type==="button"?(0,I.jsx)("button",{onClick:function(Oe){return je.onClick(ye.value,Oe)},className:(0,v.Z)({active:(Ee=ye.active)!==null&&Ee!==void 0?Ee:je.value===ye.value}),"data-testid":ye.testId,title:ye.text,children:ye.icon},ye.text):(0,I.jsxs)("label",{className:(0,v.Z)({active:je.value===ye.value}),title:ye.text,children:[(0,I.jsx)("input",{type:"radio",name:je.group,onChange:function(){return je.onChange(ye.value)},checked:je.value===ye.value,"data-testid":ye.testId}),ye.icon]},ye.text)})})},c=t(193),f=t(2577),Z=t(9787),N=t.n(Z),W=t(3204),k=t(3379),S=t.n(k),J=t(7795),ce=t.n(J),he=t(569),ve=t.n(he),le=t(3565),G=t.n(le),U=t(9216),H=t.n(U),M=t(4589),A=t.n(M),b=t(9478),y={};y.styleTagTransform=A(),y.setAttributes=G(),y.insert=ve().bind(null,"head"),y.domAPI=ce(),y.insertStyleElement=H(),S()(b.Z,y),b.Z&&b.Z.locals&&b.Z.locals;var h=t(5491),d=t(8227);function r(je,ye){var Ee=Object.keys(je);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(je);ye&&(Oe=Oe.filter(function(ge){return Object.getOwnPropertyDescriptor(je,ge).enumerable})),Ee.push.apply(Ee,Oe)}return Ee}function n(je){for(var ye=1;ye<arguments.length;ye++){var Ee=arguments[ye]!=null?arguments[ye]:{};ye%2?r(Object(Ee),!0).forEach(function(Oe){(0,P.Z)(je,Oe,Ee[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Ee)):r(Object(Ee)).forEach(function(Oe){Object.defineProperty(je,Oe,Object.getOwnPropertyDescriptor(Ee,Oe))})}return je}function p(je){var ye=je.options,Ee=je.value,Oe=je.label,ge=je.onChange,ue=je.onClose,se=N().useRef(),j=N().useRef(),i=N().useRef(null);return N().useEffect(function(){j.current?j.current.focus():i.current&&i.current.focus()},[]),(0,I.jsx)("div",{className:"picker",role:"dialog","aria-modal":"true","aria-label":Oe,onKeyDown:function(s){var O=ye.find(function(Ce){return Ce.keyBinding===s.key.toLowerCase()});if(s.metaKey||s.altKey||s.ctrlKey||!O)if(s.key===h.tW.TAB)setTimeout(function(){j.current!==document.activeElement&&ue()},0);else if((0,h.Wl)(s.key)){var z=document.activeElement,K=(0,d.G3)().rtl,$=Array.prototype.indexOf.call(i.current.children,z);if($!==-1){var Q=ye.length,ae=$;switch(s.key){case(K?h.tW.ARROW_LEFT:h.tW.ARROW_RIGHT):case h.tW.ARROW_DOWN:ae=($+1)%Q;break;case(K?h.tW.ARROW_RIGHT:h.tW.ARROW_LEFT):case h.tW.ARROW_UP:ae=(Q+$-1)%Q}i.current.children[ae].focus()}s.preventDefault()}else s.key!==h.tW.ESCAPE&&s.key!==h.tW.ENTER||(s.preventDefault(),ue());else{var be=ye.indexOf(O);i.current.children[be].focus(),s.preventDefault()}s.nativeEvent.stopImmediatePropagation(),s.stopPropagation()},children:(0,I.jsx)("div",{className:"picker-content",ref:i,children:ye.map(function(s,O){return(0,I.jsxs)("button",{className:(0,v.Z)("picker-option",{active:Ee===s.value}),onClick:function(z){z.currentTarget.focus(),ge(s.value)},title:"".concat(s.text," — ").concat(s.keyBinding.toUpperCase()),"aria-label":s.text||"none","aria-keyshortcuts":s.keyBinding,ref:function(z){z&&O===0&&(se.current=z),z&&s.value===Ee&&(j.current=z)},onFocus:function(){ge(s.value)},children:[s.icon,(0,I.jsx)("span",{className:"picker-keybinding",children:s.keyBinding})]},s.text)})})})}function a(je){var ye,Ee=je.value,Oe=je.label,ge=je.options,ue=je.onChange,se=je.group,j=se===void 0?"":se,i=N().useState(!1),s=(0,f.Z)(i,2),O=s[0],z=s[1],K=N().useRef(null),$=(0,d.G3)().rtl;return(0,I.jsxs)("div",{children:[(0,I.jsx)("button",{name:j,className:O?"active":"","aria-label":Oe,onClick:function(){return z(!O)},ref:K,children:(ye=ge.find(function(Q){return Q.value===Ee}))===null||ye===void 0?void 0:ye.icon}),(0,I.jsx)(N().Suspense,{fallback:"",children:O?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(W.J,n(n({onCloseRequest:function(Q){return Q.target!==K.current&&z(!1)}},$?{right:5.5}:{left:-5.5}),{},{children:(0,I.jsx)(p,{options:ge,value:Ee,label:Oe,onChange:ue,onClose:function(){var Q;z(!1),(Q=K.current)===null||Q===void 0||Q.focus()}})})),(0,I.jsx)("div",{className:"picker-triangle"})]}):null})]})}var l=t(8935),u=t(9937),C=t(7651),L=t(583),_=t(4761),E=t(4183),D=t(4643),F=t(4105),ee=t(1648),te=t(9827),re=t(2767);function oe(je,ye){var Ee=Object.keys(je);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(je);ye&&(Oe=Oe.filter(function(ge){return Object.getOwnPropertyDescriptor(je,ge).enumerable})),Ee.push.apply(Ee,Oe)}return Ee}function Y(je){for(var ye=1;ye<arguments.length;ye++){var Ee=arguments[ye]!=null?arguments[ye]:{};ye%2?oe(Object(Ee),!0).forEach(function(Oe){(0,P.Z)(je,Oe,Ee[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Ee)):oe(Object(Ee)).forEach(function(Oe){Object.defineProperty(je,Oe,Object.getOwnPropertyDescriptor(Ee,Oe))})}return je}var V=function(je,ye,Ee){var Oe=arguments.length>3&&arguments[3]!==void 0&&arguments[3],ge=(0,te.xn)((0,F.eD)(je,ye,{includeBoundTextElement:Oe}));return je.map(function(ue){var se;return ge.get(ue.id)||ue.id===((se=ye.editingElement)===null||se===void 0?void 0:se.id)?Ee(ue):ue})},ie=function(je,ye,Ee,Oe,ge){var ue,se=ye.editingElement,j=(0,C.Lm)(je),i=null;return se&&(i=Ee(se)),i||(i=(0,F.N)(j,ye)?(ue=(0,F.PR)(Oe===!0?j:j.filter(function(s){return Oe(s)}),ye,Ee))!==null&&ue!==void 0?ue:typeof ge=="function"?ge(!0):ge:typeof ge=="function"?ge(!1):ge),i},we=function(je,ye,Ee,Oe){var ge=new Set;return{elements:V(je,ye,function(ue){if((0,C.iB)(ue)){var se=Ee(ue);ge.add(se);var j=(0,L.BE)(ue,{fontSize:se});return(0,C.oN)(j,(0,_.tl)(ue)),i=ue,s=j,j=(0,E.Xh)(s)?s:(0,L.DR)(s,{x:i.textAlign==="left"?i.x:i.x+(i.width-s.width)/(i.textAlign==="center"?2:1),y:i.y+(i.height-s.height)/2},!1)}var i,s;return ue},!0),appState:Y(Y({},ye),{},{currentItemFontSize:ge.size===1?(0,e.Z)(ge)[0]:Oe??ye.currentItemFontSize}),commitToHistory:!0}},Ae=((0,re.z)({name:"changeStrokeColor",trackEvent:!1,perform:function(je,ye,Ee){return Y(Y({},Ee.currentItemStrokeColor&&{elements:V(je,ye,function(Oe){return(0,ee.PD)(Oe.type)?(0,L.BE)(Oe,{strokeColor:Ee.currentItemStrokeColor}):Oe},!0)}),{},{appState:Y(Y({},ye),Ee),commitToHistory:!!Ee.currentItemStrokeColor})},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData;return je.appProps,(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("h3",{"aria-hidden":"true",children:(0,d.t)("labels.stroke")}),(0,I.jsx)(c.z,{topPicks:w.fY,palette:w.Wk,type:"elementStroke",label:(0,d.t)("labels.stroke"),color:ie(ye,Ee,function(ge){return ge.strokeColor},!0,Ee.currentItemStrokeColor),onChange:function(ge){return Oe({currentItemStrokeColor:ge})},elements:ye,appState:Ee,updateData:Oe})]})}}),(0,re.z)({name:"changeBackgroundColor",trackEvent:!1,perform:function(je,ye,Ee){return Y(Y({},Ee.currentItemBackgroundColor&&{elements:V(je,ye,function(Oe){return(0,L.BE)(Oe,{backgroundColor:Ee.currentItemBackgroundColor})})}),{},{appState:Y(Y({},ye),Ee),commitToHistory:!!Ee.currentItemBackgroundColor})},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData;return je.appProps,(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("h3",{"aria-hidden":"true",children:(0,d.t)("labels.background")}),(0,I.jsx)(c.z,{topPicks:w.eq,palette:w.SF,type:"elementBackground",label:(0,d.t)("labels.background"),color:ie(ye,Ee,function(ge){return ge.backgroundColor},!0,Ee.currentItemBackgroundColor),onChange:function(ge){return Oe({currentItemBackgroundColor:ge})},elements:ye,appState:Ee,updateData:Oe})]})}}),(0,re.z)({name:"changeFillStyle",trackEvent:!1,perform:function(je,ye,Ee,Oe){return(0,m.L)("element","changeFillStyle","".concat(Ee," (").concat(Oe.device.editor.isMobile?"mobile":"desktop",")")),{elements:V(je,ye,function(ge){return(0,L.BE)(ge,{fillStyle:Ee})}),appState:Y(Y({},ye),{},{currentItemFillStyle:Ee}),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData,ge=(0,F.eD)(ye,Ee),ue=ge.length>0&&ge.every(function(se){return se.fillStyle==="zigzag"});return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.fill")}),(0,I.jsx)(x,{type:"button",options:[{value:"hachure",text:"".concat(ue?(0,d.t)("labels.zigzag"):(0,d.t)("labels.hachure")," (").concat((0,te.uY)("Alt-Click"),")"),icon:ue?l.lF:l.a0,active:!!ue||void 0,testId:"fill-hachure"},{value:"cross-hatch",text:(0,d.t)("labels.crossHatch"),icon:l.np,testId:"fill-cross-hatch"},{value:"solid",text:(0,d.t)("labels.solid"),icon:l.X7,testId:"fill-solid"}],value:ie(ye,Ee,function(se){return se.fillStyle},function(se){return se.hasOwnProperty("fillStyle")},function(se){return se?null:Ee.currentItemFillStyle}),onClick:function(se,j){var i=j.altKey&&se==="hachure"&&ge.every(function(s){return s.fillStyle==="hachure"})?"zigzag":se;Oe(i)}})]})}}),(0,re.z)({name:"changeStrokeWidth",trackEvent:!1,perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){return(0,L.BE)(Oe,{strokeWidth:Ee})}),appState:Y(Y({},ye),{},{currentItemStrokeWidth:Ee}),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData;return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.strokeWidth")}),(0,I.jsx)(x,{group:"stroke-width",options:[{value:u.dg.thin,text:(0,d.t)("labels.thin"),icon:l.ZA,testId:"strokeWidth-thin"},{value:u.dg.bold,text:(0,d.t)("labels.bold"),icon:l.Wl,testId:"strokeWidth-bold"},{value:u.dg.extraBold,text:(0,d.t)("labels.extraBold"),icon:l.m9,testId:"strokeWidth-extraBold"}],value:ie(ye,Ee,function(ge){return ge.strokeWidth},function(ge){return ge.hasOwnProperty("strokeWidth")},function(ge){return ge?null:Ee.currentItemStrokeWidth}),onChange:function(ge){return Oe(ge)}})]})}}),(0,re.z)({name:"changeSloppiness",trackEvent:!1,perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){return(0,L.BE)(Oe,{seed:(0,D.LU)(),roughness:Ee})}),appState:Y(Y({},ye),{},{currentItemRoughness:Ee}),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData;return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.sloppiness")}),(0,I.jsx)(x,{group:"sloppiness",options:[{value:0,text:(0,d.t)("labels.architect"),icon:l.bf},{value:1,text:(0,d.t)("labels.artist"),icon:l.kM},{value:2,text:(0,d.t)("labels.cartoonist"),icon:l.W2}],value:ie(ye,Ee,function(ge){return ge.roughness},function(ge){return ge.hasOwnProperty("roughness")},function(ge){return ge?null:Ee.currentItemRoughness}),onChange:function(ge){return Oe(ge)}})]})}}),(0,re.z)({name:"changeStrokeStyle",trackEvent:!1,perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){return(0,L.BE)(Oe,{strokeStyle:Ee})}),appState:Y(Y({},ye),{},{currentItemStrokeStyle:Ee}),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData;return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.strokeStyle")}),(0,I.jsx)(x,{group:"strokeStyle",options:[{value:"solid",text:(0,d.t)("labels.strokeStyle_solid"),icon:l.ZA},{value:"dashed",text:(0,d.t)("labels.strokeStyle_dashed"),icon:l.a5},{value:"dotted",text:(0,d.t)("labels.strokeStyle_dotted"),icon:l.aT}],value:ie(ye,Ee,function(ge){return ge.strokeStyle},function(ge){return ge.hasOwnProperty("strokeStyle")},function(ge){return ge?null:Ee.currentItemStrokeStyle}),onChange:function(ge){return Oe(ge)}})]})}}),(0,re.z)({name:"changeOpacity",trackEvent:!1,perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){return(0,L.BE)(Oe,{opacity:Ee})},!0),appState:Y(Y({},ye),{},{currentItemOpacity:Ee}),commitToHistory:!0}},PanelComponent:function(je){var ye,Ee=je.elements,Oe=je.appState,ge=je.updateData;return(0,I.jsxs)("label",{className:"control-label",children:[(0,d.t)("labels.opacity"),(0,I.jsx)("input",{type:"range",min:"0",max:"100",step:"10",onChange:function(ue){return ge(+ue.target.value)},value:(ye=ie(Ee,Oe,function(ue){return ue.opacity},!0,Oe.currentItemOpacity))!==null&&ye!==void 0?ye:void 0})]})}}),(0,re.z)({name:"changeFontSize",trackEvent:!1,perform:function(je,ye,Ee){return we(je,ye,function(){return Ee},Ee)},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData;return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.fontSize")}),(0,I.jsx)(x,{group:"font-size",options:[{value:16,text:(0,d.t)("labels.small"),icon:l.q0,testId:"fontSize-small"},{value:20,text:(0,d.t)("labels.medium"),icon:l.nq,testId:"fontSize-medium"},{value:28,text:(0,d.t)("labels.large"),icon:l.tW,testId:"fontSize-large"},{value:36,text:(0,d.t)("labels.veryLarge"),icon:l.OA,testId:"fontSize-veryLarge"}],value:ie(ye,Ee,function(ge){if((0,C.iB)(ge))return ge.fontSize;var ue=(0,_.WJ)(ge);return ue?ue.fontSize:null},function(ge){return(0,C.iB)(ge)||(0,_.WJ)(ge)!==null},function(ge){return ge?null:Ee.currentItemFontSize||u.n5}),onChange:function(ge){return Oe(ge)}})]})}}),(0,re.z)({name:"decreaseFontSize",trackEvent:!1,perform:function(je,ye,Ee){return we(je,ye,function(Oe){return Math.round(1/1.1*Oe.fontSize)})},keyTest:function(je){return je[h.tW.CTRL_OR_CMD]&&je.shiftKey&&(je.key===h.tW.CHEVRON_LEFT||je.key===h.tW.COMMA)}})),Re=(0,re.z)({name:"increaseFontSize",trackEvent:!1,perform:function(je,ye,Ee){return we(je,ye,function(Oe){return Math.round(1.1*Oe.fontSize)})},keyTest:function(je){return je[h.tW.CTRL_OR_CMD]&&je.shiftKey&&(je.key===h.tW.CHEVRON_RIGHT||je.key===h.tW.PERIOD)}});(0,re.z)({name:"changeFontFamily",trackEvent:!1,perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){if((0,C.iB)(Oe)){var ge=(0,L.BE)(Oe,{fontFamily:Ee,lineHeight:(0,_.PT)(Ee)});return(0,C.oN)(ge,(0,_.tl)(Oe)),ge}return Oe},!0),appState:Y(Y({},ye),{},{currentItemFontFamily:Ee}),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData,ge=[{value:u.ut.Virgil,text:(0,d.t)("labels.handDrawn"),icon:l.Pm,testId:"font-family-virgil"},{value:u.ut.Helvetica,text:(0,d.t)("labels.normal"),icon:l.vo,testId:"font-family-normal"},{value:u.ut.Cascadia,text:(0,d.t)("labels.code"),icon:l.z6,testId:"font-family-code"}];return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.fontFamily")}),(0,I.jsx)(x,{group:"font-family",options:ge,value:ie(ye,Ee,function(ue){if((0,C.iB)(ue))return ue.fontFamily;var se=(0,_.WJ)(ue);return se?se.fontFamily:null},function(ue){return(0,C.iB)(ue)||(0,_.WJ)(ue)!==null},function(ue){return ue?null:Ee.currentItemFontFamily||u.rk}),onChange:function(ue){return Oe(ue)}})]})}}),(0,re.z)({name:"changeTextAlign",trackEvent:!1,perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){if((0,C.iB)(Oe)){var ge=(0,L.BE)(Oe,{textAlign:Ee});return(0,C.oN)(ge,(0,_.tl)(Oe)),ge}return Oe},!0),appState:Y(Y({},ye),{},{currentItemTextAlign:Ee}),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData;return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.textAlign")}),(0,I.jsx)(x,{group:"text-align",options:[{value:"left",text:(0,d.t)("labels.left"),icon:l.rr,testId:"align-left"},{value:"center",text:(0,d.t)("labels.center"),icon:l.o3,testId:"align-horizontal-center"},{value:"right",text:(0,d.t)("labels.right"),icon:l.oT,testId:"align-right"}],value:ie(ye,Ee,function(ge){if((0,C.iB)(ge))return ge.textAlign;var ue=(0,_.WJ)(ge);return ue?ue.textAlign:null},function(ge){return(0,C.iB)(ge)||(0,_.WJ)(ge)!==null},function(ge){return ge?null:Ee.currentItemTextAlign}),onChange:function(ge){return Oe(ge)}})]})}}),(0,re.z)({name:"changeVerticalAlign",trackEvent:{category:"element"},perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){if((0,C.iB)(Oe)){var ge=(0,L.BE)(Oe,{verticalAlign:Ee});return(0,C.oN)(ge,(0,_.tl)(Oe)),ge}return Oe},!0),appState:Y({},ye),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData;return(0,I.jsx)("fieldset",{children:(0,I.jsx)(x,{group:"text-align",options:[{value:u.oX.TOP,text:(0,d.t)("labels.alignTop"),icon:(0,I.jsx)(l.EO,{theme:Ee.theme}),testId:"align-top"},{value:u.oX.MIDDLE,text:(0,d.t)("labels.centerVertically"),icon:(0,I.jsx)(l.P7,{theme:Ee.theme}),testId:"align-middle"},{value:u.oX.BOTTOM,text:(0,d.t)("labels.alignBottom"),icon:(0,I.jsx)(l.aA,{theme:Ee.theme}),testId:"align-bottom"}],value:ie(ye,Ee,function(ge){if((0,C.iB)(ge)&&ge.containerId)return ge.verticalAlign;var ue=(0,_.WJ)(ge);return ue?ue.verticalAlign:null},function(ge){return(0,C.iB)(ge)||(0,_.WJ)(ge)!==null},function(ge){return ge?null:u.oX.MIDDLE}),onChange:function(ge){return Oe(ge)}})})}}),(0,re.z)({name:"changeRoundness",trackEvent:!1,perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){return(0,L.BE)(Oe,{roundness:Ee==="round"?{type:(0,E.QI)(Oe.type)?u.a6.ADAPTIVE_RADIUS:u.a6.PROPORTIONAL_RADIUS}:null})}),appState:Y(Y({},ye),{},{currentItemRoundness:Ee}),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData,ge=(0,F.Zs)((0,C.Lm)(ye),Ee).some(function(ue){var se;return((se=ue.roundness)===null||se===void 0?void 0:se.type)===u.a6.LEGACY});return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.edges")}),(0,I.jsx)(x,{group:"edges",options:[{value:"sharp",text:(0,d.t)("labels.sharp"),icon:l.wr},{value:"round",text:(0,d.t)("labels.round"),icon:l.DS}],value:ie(ye,Ee,function(ue){return ge?null:ue.roundness?"round":"sharp"},function(ue){return ue.hasOwnProperty("roundness")},function(ue){return ue?null:Ee.currentItemRoundness}),onChange:function(ue){return Oe(ue)}})]})}}),(0,re.z)({name:"changeArrowhead",trackEvent:!1,perform:function(je,ye,Ee){return{elements:V(je,ye,function(Oe){if((0,E.bt)(Oe)){var ge=Ee.position,ue=Ee.type;if(ge==="start")return(0,L.BE)(Oe,{startArrowhead:ue});if(ge==="end")return(0,L.BE)(Oe,{endArrowhead:ue})}return Oe}),appState:Y(Y({},ye),{},(0,P.Z)({},Ee.position==="start"?"currentItemStartArrowhead":"currentItemEndArrowhead",Ee.type)),commitToHistory:!0}},PanelComponent:function(je){var ye=je.elements,Ee=je.appState,Oe=je.updateData,ge=(0,d.G3)().rtl;return(0,I.jsxs)("fieldset",{children:[(0,I.jsx)("legend",{children:(0,d.t)("labels.arrowheads")}),(0,I.jsxs)("div",{className:"iconSelectList buttonList",children:[(0,I.jsx)(a,{label:"arrowhead_start",options:[{value:null,text:(0,d.t)("labels.arrowhead_none"),icon:l.fr,keyBinding:"q"},{value:"arrow",text:(0,d.t)("labels.arrowhead_arrow"),icon:(0,I.jsx)(l.il,{flip:!ge}),keyBinding:"w"},{value:"bar",text:(0,d.t)("labels.arrowhead_bar"),icon:(0,I.jsx)(l.m,{flip:!ge}),keyBinding:"e"},{value:"dot",text:(0,d.t)("labels.arrowhead_dot"),icon:(0,I.jsx)(l.tn,{flip:!ge}),keyBinding:"r"},{value:"triangle",text:(0,d.t)("labels.arrowhead_triangle"),icon:(0,I.jsx)(l.j8,{flip:!ge}),keyBinding:"t"}],value:ie(ye,Ee,function(ue){return(0,E.bt)(ue)&&(0,F.Un)(ue.type)?ue.startArrowhead:Ee.currentItemStartArrowhead},!0,Ee.currentItemStartArrowhead),onChange:function(ue){return Oe({position:"start",type:ue})}}),(0,I.jsx)(a,{label:"arrowhead_end",group:"arrowheads",options:[{value:null,text:(0,d.t)("labels.arrowhead_none"),keyBinding:"q",icon:l.fr},{value:"arrow",text:(0,d.t)("labels.arrowhead_arrow"),keyBinding:"w",icon:(0,I.jsx)(l.il,{flip:ge})},{value:"bar",text:(0,d.t)("labels.arrowhead_bar"),keyBinding:"e",icon:(0,I.jsx)(l.m,{flip:ge})},{value:"dot",text:(0,d.t)("labels.arrowhead_dot"),keyBinding:"r",icon:(0,I.jsx)(l.tn,{flip:ge})},{value:"triangle",text:(0,d.t)("labels.arrowhead_triangle"),icon:(0,I.jsx)(l.j8,{flip:ge}),keyBinding:"t"}],value:ie(ye,Ee,function(ue){return(0,E.bt)(ue)&&(0,F.Un)(ue.type)?ue.endArrowhead:Ee.currentItemEndArrowhead},!0,Ee.currentItemEndArrowhead),onChange:function(ue){return Oe({position:"end",type:ue})}})]})]})}})},7080:function(et,fe,t){t.d(fe,{u:function(){return I}});var e=t(7169),P=t(2767),w=t(5491);function m(x,c){var f=Object.keys(x);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(x);c&&(Z=Z.filter(function(N){return Object.getOwnPropertyDescriptor(x,N).enumerable})),f.push.apply(f,Z)}return f}function v(x){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?arguments[c]:{};c%2?m(Object(f),!0).forEach(function(Z){(0,e.Z)(x,Z,f[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(f)):m(Object(f)).forEach(function(Z){Object.defineProperty(x,Z,Object.getOwnPropertyDescriptor(f,Z))})}return x}var I=(0,P.z)({name:"stats",viewMode:!0,trackEvent:{category:"menu"},perform:function(x,c){return{appState:v(v({},c),{},{showStats:!this.checked(c)}),commitToHistory:!1}},checked:function(x){return x.showStats},contextItemLabel:"stats.title",keyTest:function(x){return!x[w.tW.CTRL_OR_CMD]&&x.altKey&&x.code===w.aU.SLASH}})},5463:function(et,fe,t){t.d(fe,{FL:function(){return At},vD:function(){return Mn.vD},yA:function(){return p},BZ:function(){return l},mo:function(){return ge.mo},uN:function(){return hr.uN},jK:function(){return hr.jK},FA:function(){return hr.FA},pw:function(){return Q},ZM:function(){return hr.ZM},X9:function(){return e.X},xF:function(){return Ee},pL:function(){return s},jl:function(){return ar},kt:function(){return ir},EQ:function(){return Se},nz:function(){return Zn.nz},_d:function(){return O._d},W3:function(){return ae},mM:function(){return O.mM},ns:function(){return O.ns},Yy:function(){return F},V:function(){return n},zi:function(){return a},jY:function(){return Ze},$h:function(){return zn.$},Pb:function(){return sr},Qs:function(){return Ln},pm:function(){return $r},u0:function(){return fn.u},Zp:function(){return ge.Zp},JN:function(){return jr},y7:function(){return Mn.y7},s:function(){return Ne},zp:function(){return hr.zp}});var e=t(2448),P=t(2577),w=t(1930),m=t(583),v=t(4183),I=t(9215),x=t(4105),c=t(457),f=t(9827);function Z(We,pe){var _e=typeof Symbol<"u"&&We[Symbol.iterator]||We["@@iterator"];if(!_e){if(Array.isArray(We)||(_e=function(It,_t){if(It){if(typeof It=="string")return N(It,_t);var Jt=Object.prototype.toString.call(It).slice(8,-1);if(Jt==="Object"&&It.constructor&&(Jt=It.constructor.name),Jt==="Map"||Jt==="Set")return Array.from(It);if(Jt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Jt))return N(It,_t)}}(We))||pe&&We&&typeof We.length=="number"){_e&&(We=_e);var De=0,Xe=function(){};return{s:Xe,n:function(){return De>=We.length?{done:!0}:{done:!1,value:We[De++]}},e:function(It){throw It},f:Xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var St,Gt=!0,Xt=!1;return{s:function(){_e=_e.call(We)},n:function(){var It=_e.next();return Gt=It.done,It},e:function(It){Xt=!0,St=It},f:function(){try{Gt||_e.return==null||_e.return()}finally{if(Xt)throw St}}}}function N(We,pe){(pe==null||pe>We.length)&&(pe=We.length);for(var _e=0,De=new Array(pe);_e<pe;_e++)De[_e]=We[_e];return De}var W=function(We,pe){return We.frameId===pe||We.id===pe},k=function(We,pe,_e){for(var De=[],Xe=[],St=null,Gt=-1,Xt=(0,f.xn)(_e||(0,x.eD)(We,pe,{includeBoundTextElement:!0,includeElementsInFrames:!0}));++Gt<We.length;){var It=We[Gt];Xt.get(It.id)?(Xe.length&&(De=De.concat(Xe),Xe=[]),De.push(Gt),St=Gt+1):It.isDeleted&&St===Gt?(St=Gt+1,Xe.push(Gt)):Xe=[]}return De},S=function(We,pe,_e){if("containerId"in We&&We.containerId){if(_e!=="left")return pe.indexOf(We);var De=c.Z.getScene(We).getElement(We.containerId);if(De)return pe.indexOf(De)}else{var Xe,St,Gt=(Xe=We.boundElements)===null||Xe===void 0||(St=Xe.find(function(It){return It.type!=="arrow"}))===null||St===void 0?void 0:St.id;if(Gt){if(_e==="left")return pe.indexOf(We);var Xt=c.Z.getScene(We).getElement(Gt);if(Xt)return pe.indexOf(Xt)}}},J=function(We,pe,_e,De,Xe){var St,Gt,Xt,It,_t,Jt=pe[_e],ur=function(rn){return!rn.isDeleted&&(Xe?rn.frameId===Xe:!We.editingGroupId||rn.groupIds.includes(We.editingGroupId))},_r=De==="left"?(0,f.qr)(pe,function(rn){return ur(rn)},Math.max(0,_e-1)):(0,f.cx)(pe,function(rn){return ur(rn)},_e+1),Cr=pe[_r];if(!Cr)return-1;if(We.editingGroupId){var Rr;if(Jt?.groupIds.join("")===Cr?.groupIds.join(""))return(Rr=S(Cr,pe,De))!==null&&Rr!==void 0?Rr:_r;if(Cr==null||!Cr.groupIds.includes(We.editingGroupId))return-1}if(!Xe&&(Cr.frameId||Cr.type==="frame")){var Wr=(St=pe,Gt=Cr.frameId||Cr.id,Xt=-1,It=-1,St.forEach(function(rn,mn){W(rn,Gt)&&(Xt===-1&&(Xt=mn),It=mn)}),Xt===-1?[]:St.slice(Xt,It+1));return De==="left"?pe.indexOf(Wr[0]):pe.indexOf(Wr[Wr.length-1])}if(!Cr.groupIds.length)return(_t=S(Cr,pe,De))!==null&&_t!==void 0?_t:_r;var Lr=We.editingGroupId?Cr.groupIds[Cr.groupIds.indexOf(We.editingGroupId)-1]:Cr.groupIds[Cr.groupIds.length-1],zr=(0,I.Fb)(pe,Lr);return zr.length?De==="left"?pe.indexOf(zr[0]):pe.indexOf(zr[zr.length-1]):_r},ce=function(We,pe){return pe.reduce(function(_e,De){var Xe=We[De];return _e[Xe.id]=Xe,_e},{})},he=function(We,pe,_e){var De=k(We,pe),Xe=ce(We,De),St=function(Xt){var It=0;return Xt.reduce(function(_t,Jt,ur){return ur>0&&Xt[ur-1]!==Jt-1&&(It=++It),(_t[It]||(_t[It]=[])).push(Jt),_t},[])}(De);_e==="right"&&(St=St.reverse());var Gt=new Set(De.filter(function(Xt){return We[Xt].type==="frame"}).map(function(Xt){return We[Xt].id}));return St.forEach(function(Xt,It){var _t,Jt=Xt[0],ur=Xt[Xt.length-1],_r=_e==="left"?Jt:ur,Cr=Xt.some(function(mn){var Hn=We[mn];return Hn.frameId&&Gt.has(Hn.frameId)})?null:(_t=We[_r])===null||_t===void 0?void 0:_t.frameId,Rr=J(pe,We,_r,_e,Cr);if(Rr!==-1&&_r!==Rr){var Wr=_e==="left"?We.slice(0,Rr):We.slice(0,Jt),Lr=We.slice(Jt,ur+1),zr=_e==="left"?We.slice(Rr,Jt):We.slice(ur+1,Rr+1),rn=_e==="left"?We.slice(ur+1):We.slice(Rr+1);We=_e==="left"?[].concat((0,w.Z)(Wr),(0,w.Z)(Lr),(0,w.Z)(zr),(0,w.Z)(rn)):[].concat((0,w.Z)(Wr),(0,w.Z)(zr),(0,w.Z)(Lr),(0,w.Z)(rn))}}),We.map(function(Xt){return Xe[Xt.id]?(0,m.ZP)(Xt):Xt})},ve=function(We,pe,_e,De,Xe){var St,Gt,Xt=k(We,pe,Xe),It=ce(We,Xt),_t=[];if(_e==="left"){if(De)St=(0,f.cx)(We,function(Lr){return W(Lr,De)});else if(pe.editingGroupId){var Jt=(0,I.Fb)(We,pe.editingGroupId);if(!Jt.length)return We;St=We.indexOf(Jt[0])}else St=0;Gt=Xt[Xt.length-1]}else{if(De)Gt=(0,f.qr)(We,function(Lr){return W(Lr,De)});else if(pe.editingGroupId){var ur=(0,I.Fb)(We,pe.editingGroupId);if(!ur.length)return We;Gt=We.indexOf(ur[ur.length-1])}else Gt=We.length-1;St=Xt[0]}St===-1&&(St=0);for(var _r=St;_r<Gt+1;_r++)Xt.includes(_r)||_t.push(We[_r]);var Cr=Object.values(It).map(function(Lr){return(0,m.ZP)(Lr)}),Rr=We.slice(0,St),Wr=We.slice(Gt+1);return _e==="left"?[].concat((0,w.Z)(Rr),(0,w.Z)(Cr),_t,(0,w.Z)(Wr)):[].concat((0,w.Z)(Rr),_t,(0,w.Z)(Cr),(0,w.Z)(Wr))};function le(We,pe,_e,De){var Xe,St=(0,f.xn)((0,x.eD)(We,pe,{includeBoundTextElement:!0,includeElementsInFrames:!0})),Gt={regularElements:[],frameChildren:new Map},Xt=new Set,It=Z(We);try{for(It.s();!(Xe=It.n()).done;){var _t=Xe.value;St.has(_t.id)&&(0,v.He)(_t)&&Xt.add(_t.id)}}catch(rn){It.e(rn)}finally{It.f()}var Jt,ur=Z(We);try{for(ur.s();!(Jt=ur.n()).done;){var _r=Jt.value;if(St.has(_r.id))if((0,v.He)(_r)||_r.frameId&&Xt.has(_r.frameId))Gt.regularElements.push(_r);else if(_r.frameId){var Cr=Gt.frameChildren.get(_r.frameId)||[];Cr.push(_r),Gt.frameChildren.set(_r.frameId,Cr)}else Gt.regularElements.push(_r)}}catch(rn){ur.e(rn)}finally{ur.f()}for(var Rr=We,Wr=0,Lr=Array.from(Gt.frameChildren.entries());Wr<Lr.length;Wr++){var zr=(0,P.Z)(Lr[Wr],2);Rr=De(We,pe,_e,zr[0],zr[1])}return De(Rr,pe,_e,null,Gt.regularElements)}var G=function(We,pe){return he(We,pe,"left")},U=function(We,pe){return he(We,pe,"right")},H=function(We,pe){return le(We,pe,"left",ve)},M=function(We,pe){return le(We,pe,"right",ve)},A=t(5491),b=t(8227),y=t(2767),h=t(8935),d=t(9937),r=t(4512),n=(0,y.z)({name:"sendBackward",trackEvent:{category:"element"},perform:function(We,pe){return{elements:G(We,pe),appState:pe,commitToHistory:!0}},contextItemLabel:"labels.sendBackward",keyPriority:40,keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&!We.shiftKey&&We.code===A.aU.BRACKET_LEFT},PanelComponent:function(We){var pe=We.updateData;return We.appState,(0,r.jsx)("button",{type:"button",className:"zIndexButton",onClick:function(){return pe(null)},title:"".concat((0,b.t)("labels.sendBackward")," — ").concat((0,f.uY)("CtrlOrCmd+[")),children:h.Gc})}}),p=(0,y.z)({name:"bringForward",trackEvent:{category:"element"},perform:function(We,pe){return{elements:U(We,pe),appState:pe,commitToHistory:!0}},contextItemLabel:"labels.bringForward",keyPriority:40,keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&!We.shiftKey&&We.code===A.aU.BRACKET_RIGHT},PanelComponent:function(We){var pe=We.updateData;return We.appState,(0,r.jsx)("button",{type:"button",className:"zIndexButton",onClick:function(){return pe(null)},title:"".concat((0,b.t)("labels.bringForward")," — ").concat((0,f.uY)("CtrlOrCmd+]")),children:h.t5})}}),a=(0,y.z)({name:"sendToBack",trackEvent:{category:"element"},perform:function(We,pe){return{elements:H(We,pe),appState:pe,commitToHistory:!0}},contextItemLabel:"labels.sendToBack",keyTest:function(We){return d.Um?We[A.tW.CTRL_OR_CMD]&&We.altKey&&We.code===A.aU.BRACKET_LEFT:We[A.tW.CTRL_OR_CMD]&&We.shiftKey&&We.code===A.aU.BRACKET_LEFT},PanelComponent:function(We){var pe=We.updateData;return We.appState,(0,r.jsx)("button",{type:"button",className:"zIndexButton",onClick:function(){return pe(null)},title:"".concat((0,b.t)("labels.sendToBack")," — ").concat(d.Um?(0,f.uY)("CtrlOrCmd+Alt+["):(0,f.uY)("CtrlOrCmd+Shift+[")),children:h.pw})}}),l=(0,y.z)({name:"bringToFront",trackEvent:{category:"element"},perform:function(We,pe){return{elements:M(We,pe),appState:pe,commitToHistory:!0}},contextItemLabel:"labels.bringToFront",keyTest:function(We){return d.Um?We[A.tW.CTRL_OR_CMD]&&We.altKey&&We.code===A.aU.BRACKET_RIGHT:We[A.tW.CTRL_OR_CMD]&&We.shiftKey&&We.code===A.aU.BRACKET_RIGHT},PanelComponent:function(We){var pe=We.updateData;return We.appState,(0,r.jsx)("button",{type:"button",className:"zIndexButton",onClick:function(_e){return pe(null)},title:"".concat((0,b.t)("labels.bringToFront")," — ").concat(d.Um?(0,f.uY)("CtrlOrCmd+Alt+]"):(0,f.uY)("CtrlOrCmd+Shift+]")),children:h.IN})}}),u=t(7169),C=t(7651),L=t(7422),_=t(6264);function E(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function D(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?E(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):E(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var F=(0,y.z)({name:"selectAll",trackEvent:{category:"canvas"},perform:function(We,pe,_e,De){if(pe.editingLinearElement)return!1;var Xe=(0,_.aI)(We.filter(function(St){return!(St.isDeleted||(0,C.iB)(St)&&St.containerId||St.locked)})).reduce(function(St,Gt){return St[Gt.id]=!0,St},{});return{appState:D(D(D({},pe),(0,I.bO)({editingGroupId:null,selectedElementIds:Xe},(0,C.Lm)(We),pe,De)),{},{selectedLinearElement:Object.keys(Xe).length===1&&(0,v.bt)(We[0])?new L._(We[0],De.scene):null}),commitToHistory:!0}},contextItemLabel:"labels.selectAll",keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.key===A.tW.A}}),ee=t(1512),te=t(9645),re=t(4761);function oe(We,pe){var _e=typeof Symbol<"u"&&We[Symbol.iterator]||We["@@iterator"];if(!_e){if(Array.isArray(We)||(_e=function(It,_t){if(It){if(typeof It=="string")return Y(It,_t);var Jt=Object.prototype.toString.call(It).slice(8,-1);if(Jt==="Object"&&It.constructor&&(Jt=It.constructor.name),Jt==="Map"||Jt==="Set")return Array.from(It);if(Jt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Jt))return Y(It,_t)}}(We))||pe&&We&&typeof We.length=="number"){_e&&(We=_e);var De=0,Xe=function(){};return{s:Xe,n:function(){return De>=We.length?{done:!0}:{done:!1,value:We[De++]}},e:function(It){throw It},f:Xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var St,Gt=!0,Xt=!1;return{s:function(){_e=_e.call(We)},n:function(){var It=_e.next();return Gt=It.done,It},e:function(It){Xt=!0,St=It},f:function(){try{Gt||_e.return==null||_e.return()}finally{if(Xt)throw St}}}}function Y(We,pe){(pe==null||pe>We.length)&&(pe=We.length);for(var _e=0,De=new Array(pe);_e<pe;_e++)De[_e]=We[_e];return De}var V=function(We){var pe=We.slice(),_e=new Set,De=function St(Gt){var Xt,It,_t,Jt=(Xt=Gt[0])===null||Xt===void 0||(It=Xt.groupIds)===null||It===void 0?void 0:It.join(""),ur=[Gt[0]],_r=[],Cr=oe(Gt.slice(1));try{for(Cr.s();!(_t=Cr.n()).done;){var Rr,Wr=_t.value;((Rr=Wr.groupIds)===null||Rr===void 0?void 0:Rr.join(""))===Jt?ur.push(Wr):_r.push(Wr)}}catch(Lr){Cr.e(Lr)}finally{Cr.f()}return _r.length?[].concat(ur,(0,w.Z)(St(_r))):ur},Xe=new Map;return pe.forEach(function(St,Gt){var Xt;if(!Xe.has(St.id))if((Xt=St.groupIds)!==null&&Xt!==void 0&&Xt.length){var It,_t=St.groupIds[St.groupIds.length-1],Jt=pe.slice(Gt).filter(function(Cr){var Rr,Wr=Cr==null||(Rr=Cr.groupIds)===null||Rr===void 0?void 0:Rr.some(function(Lr){return Lr===_t});return Wr&&Xe.set(Cr.id,!0),Wr}),ur=oe(De(Jt));try{for(ur.s();!(It=ur.n()).done;){var _r=It.value;_e.add(_r)}}catch(Cr){ur.e(Cr)}finally{ur.f()}}else _e.add(St)}),_e.size!==We.length?(console.error("normalizeGroupElementOrder: lost some elements... bailing!"),We):(0,w.Z)(_e)},ie=function(We){var pe=function(_e){var De=(0,f.I4)(_e),Xe=_e.slice(),St=new Set;return Xe.forEach(function(Gt,Xt){var It;if(Gt)if((It=Gt.boundElements)!==null&&It!==void 0&&It.length)St.add(Gt),Xe[Xt]=null,Gt.boundElements.forEach(function(ur){var _r=De.get(ur.id);_r&&ur.type==="text"&&(St.add(_r[0]),Xe[_r[1]]=null)});else if(Gt.type==="text"&&Gt.containerId){var _t,Jt=De.get(Gt.containerId);Jt!=null&&(_t=Jt[0].boundElements)!==null&&_t!==void 0&&_t.find(function(ur){return ur.id===Gt.id})||(St.add(Gt),Xe[Xt]=null)}else St.add(Gt),Xe[Xt]=null}),St.size!==_e.length?(console.error("normalizeBoundElementsOrder: lost some elements... bailing!"),_e):(0,w.Z)(St)}(V(We));return pe},we=t(4682);function Ae(We,pe){var _e=typeof Symbol<"u"&&We[Symbol.iterator]||We["@@iterator"];if(!_e){if(Array.isArray(We)||(_e=function(It,_t){if(It){if(typeof It=="string")return Re(It,_t);var Jt=Object.prototype.toString.call(It).slice(8,-1);if(Jt==="Object"&&It.constructor&&(Jt=It.constructor.name),Jt==="Map"||Jt==="Set")return Array.from(It);if(Jt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Jt))return Re(It,_t)}}(We))||pe&&We&&typeof We.length=="number"){_e&&(We=_e);var De=0,Xe=function(){};return{s:Xe,n:function(){return De>=We.length?{done:!0}:{done:!1,value:We[De++]}},e:function(It){throw It},f:Xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var St,Gt=!0,Xt=!1;return{s:function(){_e=_e.call(We)},n:function(){var It=_e.next();return Gt=It.done,It},e:function(It){Xt=!0,St=It},f:function(){try{Gt||_e.return==null||_e.return()}finally{if(Xt)throw St}}}}function Re(We,pe){(pe==null||pe>We.length)&&(pe=We.length);for(var _e=0,De=new Array(pe);_e<pe;_e++)De[_e]=We[_e];return De}function je(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function ye(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?je(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):je(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var Ee=(0,y.z)({name:"duplicateSelection",trackEvent:{category:"element"},perform:function(We,pe){if(pe.editingLinearElement){var _e=L._.duplicateSelectedPoints(pe);return!!_e&&{elements:We,appState:_e.appState,commitToHistory:!0}}return ye(ye({},Oe(We,pe)),{},{commitToHistory:!0})},contextItemLabel:"labels.duplicateSelection",keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.key===A.tW.D},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData;return(0,r.jsx)(ee.V,{type:"button",icon:h.NA,title:"".concat((0,b.t)("labels.duplicateSelection")," — ").concat((0,f.uY)("CtrlOrCmd+D")),"aria-label":(0,b.t)("labels.duplicateSelection"),onClick:function(){return De(null)},visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),Oe=function(We,pe){for(var _e=ie(We),De=new Map,Xe=[],St=[],Gt=new Map,Xt=function(Br){var un=(0,C.Sy)(pe.editingGroupId,De,Br,{x:Br.x+d.k/2,y:Br.y+d.k/2});return Gt.set(Br.id,un.id),St.push(Br),Xe.push(un),un},It=(0,f.xn)((0,_.eD)(_e,pe,{includeBoundTextElement:!0,includeElementsInFrames:!0})),_t=new Map,Jt=function(Br){var un,wn=Ae(Br);try{for(wn.s();!(un=wn.n()).done;){var Wn=un.value;_t.set(Wn.id,!0)}}catch(io){wn.e(io)}finally{wn.f()}return Br},ur=[],_r=-1;++_r<_e.length;){var Cr=_e[_r];if(!_t.get(Cr.id)){var Rr=(0,re.WJ)(Cr),Wr=(0,v.He)(Cr);if(It.get(Cr.id)){if(Cr.groupIds.length||Rr||Wr){var Lr=(0,I.yO)(pe,Cr);if(Lr){var zr=(0,I.Fb)(_e,Lr).flatMap(function(Br){return(0,v.He)(Br)?[].concat((0,w.Z)((0,we.zD)(We,Br.id)),[Br]):[Br]});ur.push.apply(ur,(0,w.Z)(Jt([].concat((0,w.Z)(zr),(0,w.Z)(zr.map(function(Br){return Xt(Br)}))))));continue}if(Rr){ur.push.apply(ur,(0,w.Z)(Jt([Cr,Rr,Xt(Cr),Xt(Rr)])));continue}if(Wr){var rn=(0,we.zD)(_e,Cr.id);ur.push.apply(ur,(0,w.Z)(Jt([].concat((0,w.Z)(rn),[Cr],(0,w.Z)(rn.map(function(Br){return Xt(Br)})),[Xt(Cr)]))));continue}}Cr.frameId&&It.has(Cr.frameId)||ur.push.apply(ur,(0,w.Z)(Jt([Cr,Xt(Cr)])))}else ur.push.apply(ur,(0,w.Z)(Jt([Cr])))}}var mn=[],Hn=new Map;for(_r=ur.length;--_r>=0;){var qn=ur[_r];Hn.get(qn.id)||(Hn.set(qn.id,!0),mn.push(qn))}var fo=mn.reverse();(0,re.P7)(ur,St,Gt),(0,te.ek)(ur,St,Gt),(0,we.xr)(fo,St,Gt);var qr=(0,_.aI)(Xe);return{elements:fo,appState:ye(ye({},pe),(0,I.bO)({editingGroupId:pe.editingGroupId,selectedElementIds:qr.reduce(function(Br,un){return(0,v.Xh)(un)||(Br[un.id]=!0),Br},{})},(0,C.Lm)(fo),pe,null))}},ge=(t(3361),t(6006)),ue=t(2361),se=t(7652);function j(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function i(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?j(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):j(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var s=(0,y.z)({name:"finalize",trackEvent:!1,perform:function(We,pe,_e,De){var Xe,St=De.interactiveCanvas,Gt=De.focusContainer,Xt=De.scene;if(pe.editingLinearElement){var It=pe.editingLinearElement,_t=It.elementId,Jt=It.startBindingElement,ur=It.endBindingElement,_r=L._.getElement(_t);if(_r)return(0,v.Mn)(_r)&&(0,te.HG)(_r,Jt,ur),{elements:_r.points.length<2||(0,C.QD)(_r)?We.filter(function(wn){return wn.id!==_r.id}):void 0,appState:i(i({},pe),{},{cursorButton:"up",editingLinearElement:null}),commitToHistory:!0}}var Cr=We,Rr=pe.pendingImageElementId&&Xt.getElement(pe.pendingImageElementId);Rr&&(0,m.DR)(Rr,{isDeleted:!0},!1),window.document.activeElement instanceof HTMLElement&&Gt();var Wr,Lr=pe.multiElement?pe.multiElement:((Xe=pe.editingElement)===null||Xe===void 0?void 0:Xe.type)==="freedraw"?pe.editingElement:null;if(Lr){if(Lr.type!=="freedraw"&&pe.lastPointerDownWith!=="touch"){var zr=Lr.points,rn=Lr.lastCommittedPoint;rn&&zr[zr.length-1]===rn||(0,m.DR)(Lr,{points:Lr.points.slice(0,-1)})}(0,C.QD)(Lr)&&(Cr=Cr.filter(function(wn){return wn.id!==Lr.id}));var mn=(0,ue.g6)(Lr.points,pe.zoom.value);if((Lr.type==="line"||Lr.type==="freedraw")&&mn){var Hn=Lr.points,qn=Hn[0];(0,m.DR)(Lr,{points:Hn.map(function(wn,Wn){return Wn===Hn.length-1?[qn[0],qn[1]]:wn})})}if((0,v.Mn)(Lr)&&!mn&&Lr.points.length>1){var fo=L._.getPointAtIndexGlobalCoordinates(Lr,-1),qr=(0,P.Z)(fo,2),Br=qr[0],un=qr[1];(0,te.R)(Lr,pe,c.Z.getScene(Lr),{x:Br,y:un})}}return(pe.activeTool.locked||pe.activeTool.type==="freedraw")&&Lr||(0,se.z8)(St),Wr=pe.activeTool.type==="eraser"?(0,f.Om)(pe,i(i({},pe.activeTool.lastActiveTool||{type:"selection"}),{},{lastActiveToolBeforeEraser:null})):(0,f.Om)(pe,{type:"selection"}),{elements:Cr,appState:i(i({},pe),{},{cursorButton:"up",activeTool:(pe.activeTool.locked||pe.activeTool.type==="freedraw")&&Lr?pe.activeTool:Wr,activeEmbeddable:null,draggingElement:null,multiElement:null,editingElement:null,startBoundElement:null,suggestedBindings:[],selectedElementIds:Lr&&!pe.activeTool.locked&&pe.activeTool.type!=="freedraw"?i(i({},pe.selectedElementIds),{},(0,u.Z)({},Lr.id,!0)):pe.selectedElementIds,selectedLinearElement:Lr&&(0,v.bt)(Lr)?new L._(Lr,Xt):pe.selectedLinearElement,pendingImageElementId:null}),commitToHistory:pe.activeTool.type==="freedraw"}},keyTest:function(We,pe){return We.key===A.tW.ESCAPE&&(pe.editingLinearElement!==null||!pe.draggingElement&&pe.multiElement===null)||(We.key===A.tW.ESCAPE||We.key===A.tW.ENTER)&&pe.multiElement!==null},PanelComponent:function(We){var pe=We.appState,_e=We.updateData,De=We.data;return(0,r.jsx)(ee.V,{type:"button",icon:h.$c,title:(0,b.t)("buttons.done"),"aria-label":(0,b.t)("buttons.done"),onClick:_e,visible:pe.multiElement!=null,size:De?.size||"medium"})}}),O=t(4406);function z(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function K(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?z(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):z(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var $="{}",Q=(0,y.z)({name:"copyStyles",trackEvent:{category:"element"},perform:function(We,pe){var _e=[],De=We.find(function(St){return pe.selectedElementIds[St.id]});if(_e.push(De),De&&(0,v.Xo)(De)){var Xe=(0,re.WJ)(De);_e.push(Xe)}return De&&($=JSON.stringify(_e)),{appState:K(K({},pe),{},{toast:{message:(0,b.t)("toast.copyStyles")}}),commitToHistory:!1}},contextItemLabel:"labels.copyStyles",keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.altKey&&We.code===A.aU.C}}),ae=(0,y.z)({name:"pasteStyles",trackEvent:{category:"element"},perform:function(We,pe){var _e=JSON.parse($),De=_e[0],Xe=_e[1];if(!(0,C.r2)(De))return{elements:We,commitToHistory:!1};var St=(0,x.eD)(We,pe,{includeBoundTextElement:!0}),Gt=St.map(function(Xt){return Xt.id});return{elements:We.map(function(Xt){if(Gt.includes(Xt.id)){var It,_t,Jt,ur,_r,Cr,Rr,Wr=De;if((0,C.iB)(Xt)&&Xt.containerId&&(Wr=Xe),!Wr)return Xt;var Lr=(0,m.BE)(Xt,{backgroundColor:(It=Wr)===null||It===void 0?void 0:It.backgroundColor,strokeWidth:(_t=Wr)===null||_t===void 0?void 0:_t.strokeWidth,strokeColor:(Jt=Wr)===null||Jt===void 0?void 0:Jt.strokeColor,strokeStyle:(ur=Wr)===null||ur===void 0?void 0:ur.strokeStyle,fillStyle:(_r=Wr)===null||_r===void 0?void 0:_r.fillStyle,opacity:(Cr=Wr)===null||Cr===void 0?void 0:Cr.opacity,roughness:(Rr=Wr)===null||Rr===void 0?void 0:Rr.roughness,roundness:Wr.roundness?(0,v.eK)(Wr.roundness.type,Xt)?Wr.roundness:(0,v.UQ)(Xt):null});if((0,C.iB)(Lr)){var zr=Wr.fontSize||d.n5,rn=Wr.fontFamily||d.rk,mn=null;(Lr=(0,m.BE)(Lr,{fontSize:zr,fontFamily:rn,textAlign:Wr.textAlign||d.Hg,lineHeight:Wr.lineHeight||(0,re.PT)(rn)})).containerId&&(mn=St.find(function(Hn){return(0,C.iB)(Lr)&&Hn.id===Lr.containerId})||null),(0,C.oN)(Lr,mn)}return Lr.type==="arrow"&&(0,v.Yv)(Wr)&&(Lr=(0,m.BE)(Lr,{startArrowhead:Wr.startArrowhead,endArrowhead:Wr.endArrowhead})),(0,v.He)(Xt)&&(Lr=(0,m.BE)(Lr,{roundness:null,backgroundColor:"transparent"})),Lr}return Xt}),commitToHistory:!0}},contextItemLabel:"labels.pasteStyles",keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.altKey&&We.code===A.aU.V}});function be(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function Ce(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?be(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):be(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}(0,y.z)({name:"toggleCanvasMenu",trackEvent:{category:"menu"},perform:function(We,pe){return{appState:Ce(Ce({},pe),{},{openMenu:pe.openMenu==="canvas"?null:"canvas"}),commitToHistory:!1}},PanelComponent:function(We){var pe=We.appState,_e=We.updateData;return(0,r.jsx)(ee.V,{type:"button",icon:h.RY,"aria-label":(0,b.t)("buttons.menu"),onClick:_e,selected:pe.openMenu==="canvas"})}}),(0,y.z)({name:"toggleEditMenu",trackEvent:{category:"menu"},perform:function(We,pe){return{appState:Ce(Ce({},pe),{},{openMenu:pe.openMenu==="shape"?null:"shape"}),commitToHistory:!1}},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData;return(0,r.jsx)(ee.V,{visible:(0,C.RT)(_e,(0,C.Lm)(pe)),type:"button",icon:h.DG,"aria-label":(0,b.t)("buttons.edit"),onClick:De,selected:_e.openMenu==="shape"})}});var Ze=(0,y.z)({name:"toggleShortcuts",viewMode:!0,trackEvent:{category:"menu",action:"toggleHelpDialog"},perform:function(We,pe,_e,De){var Xe=De.focusContainer;return pe.openDialog==="help"&&Xe(),{appState:Ce(Ce({},pe),{},{openDialog:pe.openDialog==="help"?null:"help"}),commitToHistory:!1}},keyTest:function(We){return We.key===A.tW.QUESTION_MARK}}),Be=t(6655),Te=t(4643);function He(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function Ve(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?He(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):He(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}function Je(We,pe){var _e=typeof Symbol<"u"&&We[Symbol.iterator]||We["@@iterator"];if(!_e){if(Array.isArray(We)||(_e=function(It,_t){if(It){if(typeof It=="string")return Me(It,_t);var Jt=Object.prototype.toString.call(It).slice(8,-1);if(Jt==="Object"&&It.constructor&&(Jt=It.constructor.name),Jt==="Map"||Jt==="Set")return Array.from(It);if(Jt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Jt))return Me(It,_t)}}(We))||pe&&We&&typeof We.length=="number"){_e&&(We=_e);var De=0,Xe=function(){};return{s:Xe,n:function(){return De>=We.length?{done:!0}:{done:!1,value:We[De++]}},e:function(It){throw It},f:Xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var St,Gt=!0,Xt=!1;return{s:function(){_e=_e.call(We)},n:function(){var It=_e.next();return Gt=It.done,It},e:function(It){Xt=!0,St=It},f:function(){try{Gt||_e.return==null||_e.return()}finally{if(Xt)throw St}}}}function Me(We,pe){(pe==null||pe>We.length)&&(pe=We.length);for(var _e=0,De=new Array(pe);_e<pe;_e++)De[_e]=We[_e];return De}var me=function(We,pe,_e){var De=_e.scene.getSelectedElements({selectedElementIds:pe.selectedElementIds,includeBoundTextElement:!0});return De.length>=2&&!function(Xe){if(Xe.length>=2){var St,Gt=Je(Xe[0].groupIds);try{var Xt=function(){var _t=St.value;if(Xe.reduce(function(Jt,ur){return Jt&&(0,I.Nd)(ur,_t)},!0))return{v:!0}};for(Gt.s();!(St=Gt.n()).done;){var It=Xt();if((0,Be.Z)(It)==="object")return It.v}}catch(_t){Gt.e(_t)}finally{Gt.f()}}return!1}(De)},Se=(0,y.z)({name:"group",trackEvent:{category:"element"},perform:function(We,pe,_e,De){var Xe=De.scene.getSelectedElements({selectedElementIds:pe.selectedElementIds,includeBoundTextElement:!0});if(Xe.length<2)return{appState:pe,elements:We,commitToHistory:!1};var St=(0,I.iJ)(pe);if(St.length===1){var Gt=St[0],Xt=new Set((0,I.Fb)(We,Gt).map(function(zr){return zr.id})),It=new Set(Xe.map(function(zr){return zr.id}));if(new Set([].concat((0,w.Z)(Array.from(Xt)),(0,w.Z)(Array.from(It)))).size===Xt.size)return{appState:pe,elements:We,commitToHistory:!1}}var _t=(0,w.Z)(We);new Set(Xe.map(function(zr){return zr.frameId})).size>1&&(0,we.SH)(Xe).forEach(function(zr,rn){_t=(0,we.lz)(_t,zr,pe)});var Jt=(0,Te.kb)(),ur=(0,f.xn)(Xe);_t=_t.map(function(zr){return ur.get(zr.id)?(0,m.BE)(zr,{groupIds:(0,I.S_)(zr.groupIds,Jt,pe.editingGroupId)}):zr});var _r=(0,I.Fb)(_t,Jt),Cr=_r[_r.length-1],Rr=_t.lastIndexOf(Cr),Wr=_t.slice(Rr+1),Lr=_t.slice(0,Rr).filter(function(zr){return!(0,I.Nd)(zr,Jt)});return _t=[].concat((0,w.Z)(Lr),(0,w.Z)(_r),(0,w.Z)(Wr)),{appState:Ve(Ve({},pe),(0,I.F$)(Jt,Ve(Ve({},pe),{},{selectedGroupIds:{}}),(0,C.Lm)(_t))),elements:_t,commitToHistory:!0}},contextItemLabel:"labels.group",predicate:function(We,pe,_e,De){return me(0,pe,De)},keyTest:function(We){return!We.shiftKey&&We[A.tW.CTRL_OR_CMD]&&We.key===A.tW.G},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!me(0,_e,Xe),type:"button",icon:(0,r.jsx)(h.BF,{theme:_e.theme}),onClick:function(){return De(null)},title:"".concat((0,b.t)("labels.group")," — ").concat((0,f.uY)("CtrlOrCmd+G")),"aria-label":(0,b.t)("labels.group"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),Ne=(0,y.z)({name:"ungroup",trackEvent:{category:"element"},perform:function(We,pe,_e,De){if((0,I.iJ)(pe).length===0)return{appState:pe,elements:We,commitToHistory:!1};var Xe=(0,w.Z)(We),St=[];Xe=Xe.map(function(_t){(0,v.Xh)(_t)&&St.push(_t.id);var Jt=(0,I.h6)(_t.groupIds,pe.selectedGroupIds);return Jt.length===_t.groupIds.length?_t:(0,m.BE)(_t,{groupIds:Jt})});var Gt=(0,I.bO)(pe,(0,C.Lm)(Xe),pe,null),Xt=De.scene.getSelectedElements(pe),It=new Set(Xt.filter(function(_t){return _t.frameId}).map(function(_t){return _t.frameId}));return(0,we.wO)(We).filter(function(_t){return It.has(_t.id)}).forEach(function(_t){_t&&(Xe=(0,we.pr)(Xe,(0,we.ni)(Xe,_t,pe),_t,pe))}),Gt.selectedElementIds=Object.entries(Gt.selectedElementIds).reduce(function(_t,Jt){var ur=(0,P.Z)(Jt,2),_r=ur[0];return ur[1]&&!St.includes(_r)&&(_t[_r]=!0),_t},{}),{appState:Ve(Ve({},pe),Gt),elements:Xe,commitToHistory:!0}},keyTest:function(We){return We.shiftKey&&We[A.tW.CTRL_OR_CMD]&&We.key===A.tW.G.toUpperCase()},contextItemLabel:"labels.ungroup",predicate:function(We,pe){return(0,I.iJ)(pe).length>0},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData;return(0,r.jsx)(ee.V,{type:"button",hidden:(0,I.iJ)(_e).length===0,icon:(0,r.jsx)(h.RJ,{theme:_e.theme}),onClick:function(){return De(null)},title:"".concat((0,b.t)("labels.ungroup")," — ").concat((0,f.uY)("CtrlOrCmd+Shift+G")),"aria-label":(0,b.t)("labels.ungroup"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),Ye=t(957),Qe=t(3379),rt=t.n(Qe),ft=t(7795),at=t.n(ft),ut=t(569),Ot=t.n(ut),Pt=t(3565),Et=t.n(Pt),Mt=t(9216),Yt=t.n(Mt),lt=t(4589),ot=t.n(lt),mt=t(3729),pt={};pt.styleTagTransform=ot(),pt.setAttributes=Et(),pt.insert=Ot().bind(null,"head"),pt.domAPI=at(),pt.insertStyleElement=Yt(),rt()(mt.Z,pt),mt.Z&&mt.Z.locals&&mt.Z.locals;var ht=t(9787),yt=function(We){var pe=We.color,_e=We.onClick,De=We.name,Xe=We.src,St=(0,Ye.l)(De),Gt=(0,ht.useState)(!1),Xt=(0,P.Z)(Gt,2),It=Xt[0],_t=Xt[1],Jt=!It&&Xe,ur=Jt?void 0:{background:pe};return(0,r.jsx)("div",{className:"Avatar",style:ur,onClick:_e,children:Jt?(0,r.jsx)("img",{className:"Avatar-img",src:Xe,alt:St,referrerPolicy:"no-referrer",onError:function(){return _t(!0)}}):St})},Ct=t(2382);function Bt(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function zt(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?Bt(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):Bt(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}(0,y.z)({name:"goToCollaborator",viewMode:!0,trackEvent:{category:"collab"},perform:function(We,pe,_e){var De=_e;return De?{appState:zt(zt(zt({},pe),(0,Ct.s)({scenePoint:De,viewportDimensions:{width:pe.width,height:pe.height},zoom:pe.zoom})),{},{openMenu:pe.openMenu==="canvas"?null:pe.openMenu}),commitToHistory:!1}:{appState:pe,commitToHistory:!1}},PanelComponent:function(We){var pe=We.updateData,_e=We.data,De=(0,P.Z)(_e,2),Xe=De[0],St=De[1],Gt=(0,Ye.G)(Xe);return(0,r.jsx)(yt,{color:Gt,onClick:function(){return pe(St.pointer)},name:St.username||"",src:St.avatarUrl})}});var tr=t(5742);function cr(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function mr(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?cr(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):cr(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}function Ft(We,pe){var _e=typeof Symbol<"u"&&We[Symbol.iterator]||We["@@iterator"];if(!_e){if(Array.isArray(We)||(_e=function(It,_t){if(It){if(typeof It=="string")return xt(It,_t);var Jt=Object.prototype.toString.call(It).slice(8,-1);if(Jt==="Object"&&It.constructor&&(Jt=It.constructor.name),Jt==="Map"||Jt==="Set")return Array.from(It);if(Jt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Jt))return xt(It,_t)}}(We))||pe&&We&&typeof We.length=="number"){_e&&(We=_e);var De=0,Xe=function(){};return{s:Xe,n:function(){return De>=We.length?{done:!0}:{done:!1,value:We[De++]}},e:function(It){throw It},f:Xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var St,Gt=!0,Xt=!1;return{s:function(){_e=_e.call(We)},n:function(){var It=_e.next();return Gt=It.done,It},e:function(It){Xt=!0,St=It},f:function(){try{Gt||_e.return==null||_e.return()}finally{if(Xt)throw St}}}}function xt(We,pe){(pe==null||pe>We.length)&&(pe=We.length);for(var _e=0,De=new Array(pe);_e<pe;_e++)De[_e]=We[_e];return De}var At=(0,y.z)({name:"addToLibrary",trackEvent:{category:"element"},perform:function(We,pe,_e,De){var Xe,St=De.scene.getSelectedElements({selectedElementIds:pe.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0}),Gt=Ft(d.PR);try{var Xt=function(){var _t=Xe.value;if(St.some(function(Jt){return Jt.type===_t}))return{v:{commitToHistory:!1,appState:mr(mr({},pe),{},{errorMessage:(0,b.t)("errors.libraryElementTypeError.".concat(_t))})}}};for(Gt.s();!(Xe=Gt.n()).done;){var It=Xt();if((0,Be.Z)(It)==="object")return It.v}}catch(_t){Gt.e(_t)}finally{Gt.f()}return De.library.getLatestLibrary().then(function(_t){return De.library.setLibrary([{id:(0,Te.kb)(),status:"unpublished",elements:St.map(tr.OL),created:Date.now()}].concat((0,w.Z)(_t)))}).then(function(){return{commitToHistory:!1,appState:mr(mr({},pe),{},{toast:{message:(0,b.t)("toast.addedToLibrary")}})}}).catch(function(_t){return{commitToHistory:!1,appState:mr(mr({},pe),{},{errorMessage:_t.message})}})},contextItemLabel:"labels.addToLibrary"}),Tt=t(4949);function nr(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function yr(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?nr(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):nr(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var kr=function(We,pe,_e){var De=_e.axis,Xe=_e.position,St=(0,Tt.v2)(We),Gt=De==="x"?["minX","maxX"]:["minY","maxY"],Xt=(0,P.Z)(Gt,2),It=Xt[0],_t=Xt[1],Jt={x:0,y:0};return yr(yr({},Jt),{},Xe==="start"?(0,u.Z)({},De,pe[It]-St[It]):Xe==="end"?(0,u.Z)({},De,pe[_t]-St[_t]):(0,u.Z)({},De,(pe[It]+pe[_t])/2-(St[It]+St[_t])/2))},Tr=function(We,pe,_e,De){var Xe=De.scene.getSelectedElements(pe);return Xe.length>1&&!Xe.some(function(St){return St.type==="frame"})},Or=function(We,pe,_e,De){var Xe=function(Gt,Xt){var It=(0,I.AI)(Gt),_t=(0,Tt.v2)(Gt);return It.flatMap(function(Jt){var ur=kr(Jt,_t,Xt);return Jt.map(function(_r){return(0,m.BE)(_r,{x:_r.x+ur.x,y:_r.y+ur.y})})})}(_e.scene.getSelectedElements(pe),De),St=(0,f.xn)(Xe);return(0,we.Tq)(We.map(function(Gt){return St.get(Gt.id)||Gt}),pe,_e)};(0,y.z)({name:"alignTop",trackEvent:{category:"element"},predicate:Tr,perform:function(We,pe,_e,De){return{appState:pe,elements:Or(We,pe,De,{position:"start",axis:"y"}),commitToHistory:!0}},keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.shiftKey&&We.key===A.tW.ARROW_UP},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!Tr(0,_e,0,Xe),type:"button",icon:h.Ct,onClick:function(){return De(null)},title:"".concat((0,b.t)("labels.alignTop")," — ").concat((0,f.uY)("CtrlOrCmd+Shift+Up")),"aria-label":(0,b.t)("labels.alignTop"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),(0,y.z)({name:"alignBottom",trackEvent:{category:"element"},predicate:Tr,perform:function(We,pe,_e,De){return{appState:pe,elements:Or(We,pe,De,{position:"end",axis:"y"}),commitToHistory:!0}},keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.shiftKey&&We.key===A.tW.ARROW_DOWN},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!Tr(0,_e,0,Xe),type:"button",icon:h.HL,onClick:function(){return De(null)},title:"".concat((0,b.t)("labels.alignBottom")," — ").concat((0,f.uY)("CtrlOrCmd+Shift+Down")),"aria-label":(0,b.t)("labels.alignBottom"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),(0,y.z)({name:"alignLeft",trackEvent:{category:"element"},predicate:Tr,perform:function(We,pe,_e,De){return{appState:pe,elements:Or(We,pe,De,{position:"start",axis:"x"}),commitToHistory:!0}},keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.shiftKey&&We.key===A.tW.ARROW_LEFT},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!Tr(0,_e,0,Xe),type:"button",icon:h.xs,onClick:function(){return De(null)},title:"".concat((0,b.t)("labels.alignLeft")," — ").concat((0,f.uY)("CtrlOrCmd+Shift+Left")),"aria-label":(0,b.t)("labels.alignLeft"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),(0,y.z)({name:"alignRight",trackEvent:{category:"element"},predicate:Tr,perform:function(We,pe,_e,De){return{appState:pe,elements:Or(We,pe,De,{position:"end",axis:"x"}),commitToHistory:!0}},keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.shiftKey&&We.key===A.tW.ARROW_RIGHT},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!Tr(0,_e,0,Xe),type:"button",icon:h.mh,onClick:function(){return De(null)},title:"".concat((0,b.t)("labels.alignRight")," — ").concat((0,f.uY)("CtrlOrCmd+Shift+Right")),"aria-label":(0,b.t)("labels.alignRight"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),(0,y.z)({name:"alignVerticallyCentered",trackEvent:{category:"element"},predicate:Tr,perform:function(We,pe,_e,De){return{appState:pe,elements:Or(We,pe,De,{position:"center",axis:"y"}),commitToHistory:!0}},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!Tr(0,_e,0,Xe),type:"button",icon:h.ST,onClick:function(){return De(null)},title:(0,b.t)("labels.centerVertically"),"aria-label":(0,b.t)("labels.centerVertically"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),(0,y.z)({name:"alignHorizontallyCentered",trackEvent:{category:"element"},predicate:Tr,perform:function(We,pe,_e,De){return{appState:pe,elements:Or(We,pe,De,{position:"center",axis:"x"}),commitToHistory:!0}},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!Tr(0,_e,0,Xe),type:"button",icon:h.gK,onClick:function(){return De(null)},title:(0,b.t)("labels.centerHorizontally"),"aria-label":(0,b.t)("labels.centerHorizontally"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}});function Rt(We,pe){var _e=typeof Symbol<"u"&&We[Symbol.iterator]||We["@@iterator"];if(!_e){if(Array.isArray(We)||(_e=function(It,_t){if(It){if(typeof It=="string")return dt(It,_t);var Jt=Object.prototype.toString.call(It).slice(8,-1);if(Jt==="Object"&&It.constructor&&(Jt=It.constructor.name),Jt==="Map"||Jt==="Set")return Array.from(It);if(Jt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Jt))return dt(It,_t)}}(We))||pe&&We&&typeof We.length=="number"){_e&&(We=_e);var De=0,Xe=function(){};return{s:Xe,n:function(){return De>=We.length?{done:!0}:{done:!1,value:We[De++]}},e:function(It){throw It},f:Xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var St,Gt=!0,Xt=!1;return{s:function(){_e=_e.call(We)},n:function(){var It=_e.next();return Gt=It.done,It},e:function(It){Xt=!0,St=It},f:function(){try{Gt||_e.return==null||_e.return()}finally{if(Xt)throw St}}}}function dt(We,pe){(pe==null||pe>We.length)&&(pe=We.length);for(var _e=0,De=new Array(pe);_e<pe;_e++)De[_e]=We[_e];return De}var gt=function(We,pe){var _e=pe.scene.getSelectedElements(We);return _e.length>1&&!_e.some(function(De){return De.type==="frame"})},wt=function(We,pe,_e,De){var Xe=function(Gt,Xt){var It,_t=Xt.axis==="x"?["minX","midX","maxX","width"]:["minY","midY","maxY","height"],Jt=(0,P.Z)(_t,4),ur=Jt[0],_r=Jt[1],Cr=Jt[2],Rr=Jt[3],Wr=(0,Tt.v2)(Gt),Lr=(0,I.AI)(Gt).map(function(un){return[un,(0,Tt.v2)(un)]}).sort(function(un,wn){return un[1][_r]-wn[1][_r]}),zr=0,rn=Rt(Lr);try{for(rn.s();!(It=rn.n()).done;)zr+=It.value[1][Rr]}catch(un){rn.e(un)}finally{rn.f()}var mn=(Wr[Rr]-zr)/(Lr.length-1);if(mn<0){var Hn=Lr.findIndex(function(un){return un[1][ur]===Wr[ur]}),qn=Lr.findIndex(function(un){return un[1][Cr]===Wr[Cr]}),fo=(Lr[qn][1][_r]-Lr[Hn][1][_r])/(Lr.length-1),qr=Lr[Hn][1][_r];return Lr.flatMap(function(un,wn){var Wn=(0,P.Z)(un,2),io=Wn[0],go=Wn[1],vo={x:0,y:0};return wn!==Hn&&wn!==qn&&(qr+=fo,vo[Xt.axis]=qr-go[_r]),io.map(function(ho){return(0,m.BE)(ho,{x:ho.x+vo.x,y:ho.y+vo.y})})})}var Br=Wr[ur];return Lr.flatMap(function(un){var wn=(0,P.Z)(un,2),Wn=wn[0],io=wn[1],go={x:0,y:0};return go[Xt.axis]=Br-io[ur],Br+=mn,Br+=io[Rr],Wn.map(function(vo){return(0,m.BE)(vo,{x:vo.x+go.x,y:vo.y+go.y})})})}(_e.scene.getSelectedElements(pe),De),St=(0,f.xn)(Xe);return(0,we.Tq)(We.map(function(Gt){return St.get(Gt.id)||Gt}),pe,_e)},Ut=((0,y.z)({name:"distributeHorizontally",trackEvent:{category:"element"},perform:function(We,pe,_e,De){return{appState:pe,elements:wt(We,pe,De,{space:"between",axis:"x"}),commitToHistory:!0}},keyTest:function(We){return!We[A.tW.CTRL_OR_CMD]&&We.altKey&&We.code===A.aU.H},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!gt(_e,Xe),type:"button",icon:h.uD,onClick:function(){return De(null)},title:"".concat((0,b.t)("labels.distributeHorizontally")," — ").concat((0,f.uY)("Alt+H")),"aria-label":(0,b.t)("labels.distributeHorizontally"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),(0,y.z)({name:"distributeVertically",trackEvent:{category:"element"},perform:function(We,pe,_e,De){return{appState:pe,elements:wt(We,pe,De,{space:"between",axis:"y"}),commitToHistory:!0}},keyTest:function(We){return!We[A.tW.CTRL_OR_CMD]&&We.altKey&&We.code===A.aU.V},PanelComponent:function(We){var pe=We.elements,_e=We.appState,De=We.updateData,Xe=We.app;return(0,r.jsx)(ee.V,{hidden:!gt(_e,Xe),type:"button",icon:h.W5,onClick:function(){return De(null)},title:"".concat((0,b.t)("labels.distributeVertically")," — ").concat((0,f.uY)("Alt+V")),"aria-label":(0,b.t)("labels.distributeVertically"),visible:(0,x.N)((0,C.Lm)(pe),_e)})}}),t(4381)),ar=(0,y.z)({name:"flipHorizontal",trackEvent:{category:"element"},perform:function(We,pe,_e,De){return{elements:(0,we.Tq)(dr(We,pe,"horizontal"),pe,De),appState:pe,commitToHistory:!0}},keyTest:function(We){return We.shiftKey&&We.code===A.aU.H},contextItemLabel:"labels.flipHorizontal"}),ir=(0,y.z)({name:"flipVertical",trackEvent:{category:"element"},perform:function(We,pe,_e,De){return{elements:(0,we.Tq)(dr(We,pe,"vertical"),pe,De),appState:pe,commitToHistory:!0}},keyTest:function(We){return We.shiftKey&&We.code===A.aU.V&&!We[A.tW.CTRL_OR_CMD]},contextItemLabel:"labels.flipVertical"}),dr=function(We,pe,_e){var De=(0,x.eD)((0,C.Lm)(We),pe,{includeBoundTextElement:!0,includeElementsInFrames:!0}),Xe=br(De,pe,_e),St=(0,f.xn)(Xe);return We.map(function(Gt){return St.get(Gt.id)||Gt})},br=function(We,pe,_e){var De=(0,Tt.v2)(We),Xe=De.minX,St=De.minY,Gt=De.maxX,Xt=De.maxY;return(0,Ut.LM)({originalElements:(0,f.xn)(We)},We,"nw",!0,_e==="horizontal"?Gt:Xe,_e==="horizontal"?St:Xt),((0,te.N1)(pe)?te.el:te.H)(We),We},hr=t(5047);function Ir(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function wr(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?Ir(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):Ir(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var sr=(0,y.z)({name:"gridMode",viewMode:!0,trackEvent:{category:"canvas",predicate:function(We){return!We.gridSize}},perform:function(We,pe){return{appState:wr(wr({},pe),{},{gridSize:this.checked(pe)?null:d.k,objectsSnapModeEnabled:!1}),commitToHistory:!1}},checked:function(We){return We.gridSize!==null},predicate:function(We,pe,_e){return _e.gridModeEnabled===void 0},contextItemLabel:"labels.showGrid",keyTest:function(We){return We[A.tW.CTRL_OR_CMD]&&We.code===A.aU.QUOTE}});function fr(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function pr(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?fr(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):fr(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var jr=(0,y.z)({name:"zenMode",viewMode:!0,trackEvent:{category:"canvas",predicate:function(We){return!We.zenModeEnabled}},perform:function(We,pe){return{appState:pr(pr({},pe),{},{zenModeEnabled:!this.checked(pe)}),commitToHistory:!1}},checked:function(We){return We.zenModeEnabled},predicate:function(We,pe,_e){return _e.zenModeEnabled===void 0},contextItemLabel:"buttons.zenMode",keyTest:function(We){return!We[A.tW.CTRL_OR_CMD]&&We.altKey&&We.code===A.aU.Z}});function Pr(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function Mr(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?Pr(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):Pr(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var $r=(0,y.z)({name:"objectsSnapMode",viewMode:!0,trackEvent:{category:"canvas",predicate:function(We){return!We.objectsSnapModeEnabled}},perform:function(We,pe){return{appState:Mr(Mr({},pe),{},{objectsSnapModeEnabled:!this.checked(pe),gridSize:null}),commitToHistory:!1}},checked:function(We){return We.objectsSnapModeEnabled},predicate:function(We,pe,_e){return _e.objectsSnapModeEnabled===void 0},contextItemLabel:"buttons.objectsSnapMode",keyTest:function(We){return!We[A.tW.CTRL_OR_CMD]&&We.altKey&&We.code===A.aU.S}}),fn=t(7080),Mn=t(7392),Zn=t(5992),zn=t(9672);function Cn(We,pe){var _e=Object.keys(We);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(We);pe&&(De=De.filter(function(Xe){return Object.getOwnPropertyDescriptor(We,Xe).enumerable})),_e.push.apply(_e,De)}return _e}function vn(We){for(var pe=1;pe<arguments.length;pe++){var _e=arguments[pe]!=null?arguments[pe]:{};pe%2?Cn(Object(_e),!0).forEach(function(De){(0,u.Z)(We,De,_e[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(We,Object.getOwnPropertyDescriptors(_e)):Cn(Object(_e)).forEach(function(De){Object.defineProperty(We,De,Object.getOwnPropertyDescriptor(_e,De))})}return We}var Ln=(0,y.z)({name:"toggleLinearEditor",trackEvent:{category:"element"},predicate:function(We,pe,_e,De){var Xe=De.scene.getSelectedElements(pe);return!(Xe.length!==1||!(0,v.bt)(Xe[0]))},perform:function(We,pe,_e,De){var Xe,St=De.scene.getSelectedElements({selectedElementIds:pe.selectedElementIds,includeBoundTextElement:!0})[0],Gt=((Xe=pe.editingLinearElement)===null||Xe===void 0?void 0:Xe.elementId)===St.id?null:new L._(St,De.scene);return{appState:vn(vn({},pe),{},{editingLinearElement:Gt}),commitToHistory:!1}},contextItemLabel:function(We,pe,_e){var De,Xe=_e.scene.getSelectedElements({selectedElementIds:pe.selectedElementIds,includeBoundTextElement:!0})[0];return((De=pe.editingLinearElement)===null||De===void 0?void 0:De.elementId)===Xe.id?"labels.lineEditor.exit":"labels.lineEditor.edit"}})},2767:function(et,fe,t){t.d(fe,{N:function(){return e},z:function(){return P}});var e=[],P=function(w){return e=e.concat(w),w}},2529:function(et,fe,t){t.d(fe,{C:function(){return v}});var e=t(9937),P=t(8227),w=t(9827),m={toggleTheme:[(0,w.uY)("Shift+Alt+D")],saveScene:[(0,w.uY)("CtrlOrCmd+S")],loadScene:[(0,w.uY)("CtrlOrCmd+O")],clearCanvas:[(0,w.uY)("CtrlOrCmd+Delete")],imageExport:[(0,w.uY)("CtrlOrCmd+Shift+E")],cut:[(0,w.uY)("CtrlOrCmd+X")],copy:[(0,w.uY)("CtrlOrCmd+C")],paste:[(0,w.uY)("CtrlOrCmd+V")],copyStyles:[(0,w.uY)("CtrlOrCmd+Alt+C")],pasteStyles:[(0,w.uY)("CtrlOrCmd+Alt+V")],selectAll:[(0,w.uY)("CtrlOrCmd+A")],deleteSelectedElements:[(0,w.uY)("Delete")],duplicateSelection:[(0,w.uY)("CtrlOrCmd+D"),(0,w.uY)("Alt+".concat((0,P.t)("helpDialog.drag")))],sendBackward:[(0,w.uY)("CtrlOrCmd+[")],bringForward:[(0,w.uY)("CtrlOrCmd+]")],sendToBack:[e.Um?(0,w.uY)("CtrlOrCmd+Alt+["):(0,w.uY)("CtrlOrCmd+Shift+[")],bringToFront:[e.Um?(0,w.uY)("CtrlOrCmd+Alt+]"):(0,w.uY)("CtrlOrCmd+Shift+]")],copyAsPng:[(0,w.uY)("Shift+Alt+C")],copyAsSvg:[],group:[(0,w.uY)("CtrlOrCmd+G")],ungroup:[(0,w.uY)("CtrlOrCmd+Shift+G")],gridMode:[(0,w.uY)("CtrlOrCmd+'")],zenMode:[(0,w.uY)("Alt+Z")],objectsSnapMode:[(0,w.uY)("Alt+S")],stats:[(0,w.uY)("Alt+/")],addToLibrary:[],flipHorizontal:[(0,w.uY)("Shift+H")],flipVertical:[(0,w.uY)("Shift+V")],viewMode:[(0,w.uY)("Alt+R")],hyperlink:[(0,w.uY)("CtrlOrCmd+K")],toggleElementLock:[(0,w.uY)("CtrlOrCmd+Shift+L")]},v=function(I){var x=m[I];return x&&x.length>0?x[0]:""}},3646:function(et,fe,t){t.d(fe,{L:function(){return e}});var e=function(P,w,m,v){try{if(typeof window>"u"||{VITE_APP_BACKEND_V2_GET_URL:"https://json.excalidraw.com/api/v2/",VITE_APP_BACKEND_V2_POST_URL:"https://json.excalidraw.com/api/v2/post/",VITE_APP_LIBRARY_URL:"https://libraries.excalidraw.com",VITE_APP_LIBRARY_BACKEND:"https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries",VITE_APP_PORTAL_URL:"https://portal.excalidraw.com",VITE_APP_PLUS_LP:"https://plus.excalidraw.com",VITE_APP_PLUS_APP:"https://app.excalidraw.com",VITE_APP_WS_SERVER_URL:"",VITE_APP_FIREBASE_CONFIG:'{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}',VITE_APP_DISABLE_TRACKING:"",VITE_PKG_NAME:"@excalidraw/excalidraw",VITE_PKG_VERSION:"0.17.3",VITE_IS_EXCALIDRAW_NPM_PACKAGE:!0}.VITE_WORKER_ID||![].includes(P))return;window.sa_event&&window.sa_event(w,{category:P,label:m,value:v})}catch(I){console.error("error during analytics",I)}}},6853:function(et,fe,t){t.d(fe,{EN:function(){return N},eS:function(){return Z},im:function(){return I},l$:function(){return W},s:function(){return f}});var e=t(9240),P=t(9937),w=t(8227),m=t(9827),v=P.ZB.includes(devicePixelRatio)?devicePixelRatio:1,I=function(){return{showWelcomeScreen:!1,theme:P.C6.LIGHT,collaborators:new Map,currentChartType:"bar",currentItemBackgroundColor:P.HN.backgroundColor,currentItemEndArrowhead:"arrow",currentItemFillStyle:P.HN.fillStyle,currentItemFontFamily:P.rk,currentItemFontSize:P.n5,currentItemOpacity:P.HN.opacity,currentItemRoughness:P.HN.roughness,currentItemStartArrowhead:null,currentItemStrokeColor:P.HN.strokeColor,currentItemRoundness:"round",currentItemStrokeStyle:P.HN.strokeStyle,currentItemStrokeWidth:P.HN.strokeWidth,currentItemTextAlign:P.Hg,cursorButton:"up",activeEmbeddable:null,draggingElement:null,editingElement:null,editingGroupId:null,editingLinearElement:null,activeTool:{type:"selection",customType:null,locked:P.HN.locked,lastActiveTool:null},penMode:!1,penDetected:!1,errorMessage:null,exportBackground:!0,exportScale:v,exportEmbedScene:!1,exportWithDarkMode:!1,fileHandle:null,gridSize:null,isBindingEnabled:!0,defaultSidebarDockedPreference:!1,isLoading:!1,isResizing:!1,isRotating:!1,lastPointerDownWith:"mouse",multiElement:null,name:"".concat((0,w.t)("labels.untitled"),"-").concat((0,m.Fc)()),contextMenu:null,openMenu:null,openPopup:null,openSidebar:null,openDialog:null,pasteDialog:{shown:!1,data:null},previousSelectedElementIds:{},resizingElement:null,scrolledOutside:!1,scrollX:0,scrollY:0,selectedElementIds:{},selectedGroupIds:{},selectedElementsAreBeingDragged:!1,selectionElement:null,shouldCacheIgnoreZoom:!1,showStats:!1,startBoundElement:null,suggestedBindings:[],frameRendering:{enabled:!0,clip:!0,name:!0,outline:!0},frameToHighlight:null,editingFrame:null,elementsToHighlight:null,toast:null,viewBackgroundColor:e.HO.white,zenModeEnabled:!1,zoom:{value:1},viewModeEnabled:!1,pendingImageElementId:null,showHyperlinkPopup:!1,selectedLinearElement:null,snapLines:[],originSnapOffset:{x:0,y:0},objectsSnapModeEnabled:!1}},x={showWelcomeScreen:{browser:!0,export:!1,server:!1},theme:{browser:!0,export:!1,server:!1},collaborators:{browser:!1,export:!1,server:!1},currentChartType:{browser:!0,export:!1,server:!1},currentItemBackgroundColor:{browser:!0,export:!1,server:!1},currentItemEndArrowhead:{browser:!0,export:!1,server:!1},currentItemFillStyle:{browser:!0,export:!1,server:!1},currentItemFontFamily:{browser:!0,export:!1,server:!1},currentItemFontSize:{browser:!0,export:!1,server:!1},currentItemRoundness:{browser:!0,export:!1,server:!1},currentItemOpacity:{browser:!0,export:!1,server:!1},currentItemRoughness:{browser:!0,export:!1,server:!1},currentItemStartArrowhead:{browser:!0,export:!1,server:!1},currentItemStrokeColor:{browser:!0,export:!1,server:!1},currentItemStrokeStyle:{browser:!0,export:!1,server:!1},currentItemStrokeWidth:{browser:!0,export:!1,server:!1},currentItemTextAlign:{browser:!0,export:!1,server:!1},cursorButton:{browser:!0,export:!1,server:!1},activeEmbeddable:{browser:!1,export:!1,server:!1},draggingElement:{browser:!1,export:!1,server:!1},editingElement:{browser:!1,export:!1,server:!1},editingGroupId:{browser:!0,export:!1,server:!1},editingLinearElement:{browser:!1,export:!1,server:!1},activeTool:{browser:!0,export:!1,server:!1},penMode:{browser:!0,export:!1,server:!1},penDetected:{browser:!0,export:!1,server:!1},errorMessage:{browser:!1,export:!1,server:!1},exportBackground:{browser:!0,export:!1,server:!1},exportEmbedScene:{browser:!0,export:!1,server:!1},exportScale:{browser:!0,export:!1,server:!1},exportWithDarkMode:{browser:!0,export:!1,server:!1},fileHandle:{browser:!1,export:!1,server:!1},gridSize:{browser:!0,export:!0,server:!0},height:{browser:!1,export:!1,server:!1},isBindingEnabled:{browser:!1,export:!1,server:!1},defaultSidebarDockedPreference:{browser:!0,export:!1,server:!1},isLoading:{browser:!1,export:!1,server:!1},isResizing:{browser:!1,export:!1,server:!1},isRotating:{browser:!1,export:!1,server:!1},lastPointerDownWith:{browser:!0,export:!1,server:!1},multiElement:{browser:!1,export:!1,server:!1},name:{browser:!0,export:!1,server:!1},offsetLeft:{browser:!1,export:!1,server:!1},offsetTop:{browser:!1,export:!1,server:!1},contextMenu:{browser:!1,export:!1,server:!1},openMenu:{browser:!0,export:!1,server:!1},openPopup:{browser:!1,export:!1,server:!1},openSidebar:{browser:!0,export:!1,server:!1},openDialog:{browser:!1,export:!1,server:!1},pasteDialog:{browser:!1,export:!1,server:!1},previousSelectedElementIds:{browser:!0,export:!1,server:!1},resizingElement:{browser:!1,export:!1,server:!1},scrolledOutside:{browser:!0,export:!1,server:!1},scrollX:{browser:!0,export:!1,server:!1},scrollY:{browser:!0,export:!1,server:!1},selectedElementIds:{browser:!0,export:!1,server:!1},selectedGroupIds:{browser:!0,export:!1,server:!1},selectedElementsAreBeingDragged:{browser:!1,export:!1,server:!1},selectionElement:{browser:!1,export:!1,server:!1},shouldCacheIgnoreZoom:{browser:!0,export:!1,server:!1},showStats:{browser:!0,export:!1,server:!1},startBoundElement:{browser:!1,export:!1,server:!1},suggestedBindings:{browser:!1,export:!1,server:!1},frameRendering:{browser:!1,export:!1,server:!1},frameToHighlight:{browser:!1,export:!1,server:!1},editingFrame:{browser:!1,export:!1,server:!1},elementsToHighlight:{browser:!1,export:!1,server:!1},toast:{browser:!1,export:!1,server:!1},viewBackgroundColor:{browser:!0,export:!0,server:!0},width:{browser:!1,export:!1,server:!1},zenModeEnabled:{browser:!0,export:!1,server:!1},zoom:{browser:!0,export:!1,server:!1},viewModeEnabled:{browser:!1,export:!1,server:!1},pendingImageElementId:{browser:!1,export:!1,server:!1},showHyperlinkPopup:{browser:!1,export:!1,server:!1},selectedLinearElement:{browser:!0,export:!1,server:!1},snapLines:{browser:!1,export:!1,server:!1},originSnapOffset:{browser:!1,export:!1,server:!1},objectsSnapModeEnabled:{browser:!0,export:!1,server:!1}},c=function(k,S){for(var J={},ce=0,he=Object.keys(k);ce<he.length;ce++){var ve=he[ce],le=x[ve];if(le!=null&&le[S]){var G=k[ve];J[ve]=G}}return J},f=function(k){return c(k,"export")},Z=function(k){return c(k,"server")},N=function(k){return k.activeTool.type==="eraser"},W=function(k){return k.activeTool.type==="hand"}},901:function(et,fe,t){t.d(fe,{dz:function(){return G},i$:function(){return ce},ps:function(){return b}});var e=t(1930),P=t(7169),w=t(2577),m=t(9240),v=t(9937),I=t(7651),x=t(4643);function c(y,h){var d=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!d){if(Array.isArray(y)||(d=function(u,C){if(u){if(typeof u=="string")return f(u,C);var L=Object.prototype.toString.call(u).slice(8,-1);if(L==="Object"&&u.constructor&&(L=u.constructor.name),L==="Map"||L==="Set")return Array.from(u);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return f(u,C)}}(y))||h&&y&&typeof y.length=="number"){d&&(y=d);var r=0,n=function(){};return{s:n,n:function(){return r>=y.length?{done:!0}:{done:!1,value:y[r++]}},e:function(u){throw u},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,a=!0,l=!1;return{s:function(){d=d.call(y)},n:function(){var u=d.next();return a=u.done,u},e:function(u){l=!0,p=u},f:function(){try{a||d.return==null||d.return()}finally{if(l)throw p}}}}function f(y,h){(h==null||h>y.length)&&(h=y.length);for(var d=0,r=new Array(h);d<h;d++)r[d]=y[d];return r}function Z(y,h){var d=Object.keys(y);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(y);h&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(y,n).enumerable})),d.push.apply(d,r)}return d}function N(y){for(var h=1;h<arguments.length;h++){var d=arguments[h]!=null?arguments[h]:{};h%2?Z(Object(d),!0).forEach(function(r){(0,P.Z)(y,r,d[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(d)):Z(Object(d)).forEach(function(r){Object.defineProperty(y,r,Object.getOwnPropertyDescriptor(d,r))})}return y}var W=32,k=12,S=256,J="NOT_SPREADSHEET",ce="VALID_SPREADSHEET",he=function(y){var h=/^([-+]?)[$€£¥₩]?([-+]?)([\d.,]+)[%]?$/.exec(y);return h?parseFloat("".concat((h[1]||h[2])+h[3]).replace(/,/g,"")):null},ve=function(y,h){return y.slice(1).every(function(d){return he(d[h])!==null})},le=function(y){var h=y[0].length;if(h>2)return{type:J,reason:"More than 2 columns"};if(h===1){if(!ve(y,0))return{type:J,reason:"Value is not numeric"};var d=he(y[0][0])===null,r=(d?y.slice(1):y).map(function(E){return he(E[0])});return r.length<2?{type:J,reason:"Less than two rows"}:{type:ce,spreadsheet:{title:d?y[0][0]:null,labels:null,values:r}}}var n=ve(y,0),p=ve(y,1);if(!n&&!p)return{type:J,reason:"Value is not numeric"};var a=p?[0,1]:[1,0],l=(0,w.Z)(a,2),u=l[0],C=l[1],L=he(y[0][C])===null,_=L?y.slice(1):y;return _.length<2?{type:J,reason:"Less than 2 rows"}:{type:ce,spreadsheet:{title:L?y[0][C]:null,labels:_.map(function(E){return E[u]}),values:_.map(function(E){return he(E[C])})}}},G=function(y){var h=y.trim().split(` +`).map(function(p){return p.trim().split(" ")});if(h.length&&h[0].length!==2&&(h=y.trim().split(` +`).map(function(p){return p.trim().split(",")})),h.length===0)return{type:J,reason:"No values"};var d=h[0].length;if(!h.every(function(p){return p.length===d}))return{type:J,reason:"All rows don't have same number of columns"};var r=le(h);if(r.type!==ce){var n=le(function(p){for(var a=[],l=0;l<p[0].length;l++){for(var u=[],C=0;C<p.length;C++)u.push(p[C][l]);a.push(u)}return a}(h));if(n.type===ce)return n}return r},U=(0,m.sF)(m.C2),H={fillStyle:"hachure",fontFamily:v.rk,fontSize:v.n5,opacity:100,roughness:1,strokeColor:m.HO.black,roundness:null,strokeStyle:"solid",strokeWidth:1,verticalAlign:v.oX.MIDDLE,locked:!1},M=function(y){return{chartWidth:44*y.values.length+k,chartHeight:280}},A=function(y,h,d,r,n,p){var a=M(y),l=a.chartWidth,u=a.chartHeight,C=y.title?(0,I.VL)(N(N({backgroundColor:n,groupIds:[r]},H),{},{text:y.title,x:h+l/2,y:d-S-24-v.n5,roundness:null,textAlign:"center"})):null,L=p?(0,I.Up)(N(N({backgroundColor:n,groupIds:[r]},H),{},{type:"rectangle",x:h,y:d-u,width:l,height:u,strokeColor:m.HO.black,fillStyle:"solid",opacity:6})):null;return[].concat((0,e.Z)(L?[L]:[]),(0,e.Z)(C?[C]:[]),(0,e.Z)(function(_,E,D,F,ee){var te;return((te=_.labels)===null||te===void 0?void 0:te.map(function(re,oe){return(0,I.VL)(N(N({groupIds:[F],backgroundColor:ee},H),{},{text:re.length>8?"".concat(re.slice(0,5),"..."):re,x:E+44*oe+24,y:D+6,width:W,angle:5.87,fontSize:16,textAlign:"center",verticalAlign:"top"}))}))||[]}(y,h,d,r,n)),(0,e.Z)(function(_,E,D,F,ee){var te=(0,I.VL)(N(N({groupIds:[F],backgroundColor:ee},H),{},{x:E-k,y:D-k,text:"0",textAlign:"right"}));return[te,(0,I.VL)(N(N({groupIds:[F],backgroundColor:ee},H),{},{x:E-k,y:D-S-te.height/2,text:Math.max.apply(Math,(0,e.Z)(_.values)).toLocaleString(),textAlign:"right"}))]}(y,h,d,r,n)),(0,e.Z)(function(_,E,D,F,ee){var te=M(_),re=te.chartWidth,oe=te.chartHeight;return[(0,I.y8)(N(N({backgroundColor:ee,groupIds:[F]},H),{},{type:"line",x:E,y:D,startArrowhead:null,endArrowhead:null,width:re,points:[[0,0],[re,0]]})),(0,I.y8)(N(N({backgroundColor:ee,groupIds:[F]},H),{},{type:"line",x:E,y:D,startArrowhead:null,endArrowhead:null,height:oe,points:[[0,0],[0,-oe]]})),(0,I.y8)(N(N({backgroundColor:ee,groupIds:[F]},H),{},{type:"line",x:E,y:D-S-k,startArrowhead:null,endArrowhead:null,strokeStyle:"dotted",width:re,opacity:50,points:[[0,0],[re,0]]}))]}(y,h,d,r,n)))},b=function(y,h,d,r){return y==="line"?function(n,p,a){var l,u=Math.max.apply(Math,(0,e.Z)(n.values)),C=(0,x.kb)(),L=U[Math.floor(Math.random()*U.length)],_=0,E=[],D=c(n.values);try{for(D.s();!(l=D.n()).done;){var F=l.value,ee=44*_,te=-F/u*S;E.push([ee,te]),_++}}catch(Re){D.e(Re)}finally{D.f()}var re=Math.max.apply(Math,(0,e.Z)(E.map(function(Re){return Re[0]}))),oe=Math.max.apply(Math,(0,e.Z)(E.map(function(Re){return Re[1]}))),Y=Math.min.apply(Math,(0,e.Z)(E.map(function(Re){return Re[0]}))),V=Math.min.apply(Math,(0,e.Z)(E.map(function(Re){return Re[1]}))),ie=(0,I.y8)(N(N({backgroundColor:L,groupIds:[C]},H),{},{type:"line",x:p+k+16,y:a-k,startArrowhead:null,endArrowhead:null,height:oe-V,width:re-Y,strokeWidth:2,points:E})),we=n.values.map(function(Re,je){var ye=44*je+6,Ee=-Re/u*S+6;return(0,I.Up)(N(N({backgroundColor:L,groupIds:[C]},H),{},{fillStyle:"solid",strokeWidth:2,type:"ellipse",x:p+ye+16,y:a+Ee-24,width:k,height:k}))}),Ae=n.values.map(function(Re,je){var ye=44*je+6,Ee=Re/u*S+6+k;return(0,I.y8)(N(N({backgroundColor:L,groupIds:[C]},H),{},{type:"line",x:p+ye+16+6,y:a-Ee,startArrowhead:null,endArrowhead:null,height:Ee,strokeStyle:"dotted",opacity:50,points:[[0,0],[0,Ee]]}))});return[].concat((0,e.Z)(A(n,p,a,C,L,!1)),[ie],(0,e.Z)(Ae),(0,e.Z)(we))}(h,d,r):function(n,p,a){var l=Math.max.apply(Math,(0,e.Z)(n.values)),u=(0,x.kb)(),C=U[Math.floor(Math.random()*U.length)],L=n.values.map(function(_,E){var D=_/l*S;return(0,I.Up)(N(N({backgroundColor:C,groupIds:[u]},H),{},{type:"rectangle",x:p+44*E+k,y:a-D-k,width:W,height:D}))});return[].concat((0,e.Z)(L),(0,e.Z)(A(n,p,a,u,C,!1)))}(h,d,r)}},957:function(et,fe,t){t.d(fe,{G:function(){return e},l:function(){return P}});var e=function(w){var m=Math.abs(function(v){var I=0;if(v.length===0)return I;for(var x=0;x<v.length;x++)I=(I<<5)-I+v.charCodeAt(x);return I}(w));return"hsl(".concat(m%37*10,", ").concat(100,"%, ").concat(83,"%)")},P=function(w){var m,v=w==null||(m=w.trim())===null||m===void 0?void 0:m.codePointAt(0);return(v?String.fromCodePoint(v):"?").toUpperCase()}},4694:function(et,fe,t){t.d(fe,{OO:function(){return le},Se:function(){return b},dd:function(){return r},mQ:function(){return h},uR:function(){return d},vQ:function(){return U},vt:function(){return he},wx:function(){return ce}});var e=t(7169),P=t(8950),w=t(2577),m=t(2975),v=t.n(m),I=t(901),x=t(9937),c=t(4183),f=t(5742),Z=t(583),N=t(4682),W=t(9827),k=t(8227);function S(p,a){var l=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!l){if(Array.isArray(p)||(l=function(D,F){if(D){if(typeof D=="string")return J(D,F);var ee=Object.prototype.toString.call(D).slice(8,-1);if(ee==="Object"&&D.constructor&&(ee=D.constructor.name),ee==="Map"||ee==="Set")return Array.from(D);if(ee==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ee))return J(D,F)}}(p))||a&&p&&typeof p.length=="number"){l&&(p=l);var u=0,C=function(){};return{s:C,n:function(){return u>=p.length?{done:!0}:{done:!1,value:p[u++]}},e:function(D){throw D},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L,_=!0,E=!1;return{s:function(){l=l.call(p)},n:function(){var D=l.next();return _=D.done,D},e:function(D){E=!0,L=D},f:function(){try{_||l.return==null||l.return()}finally{if(E)throw L}}}}function J(p,a){(a==null||a>p.length)&&(a=p.length);for(var l=0,u=new Array(a);l<a;l++)u[l]=p[l];return u}var ce="clipboard"in navigator&&"writeText"in navigator.clipboard,he="clipboard"in navigator&&"write"in navigator.clipboard&&"ClipboardItem"in window&&"toBlob"in HTMLCanvasElement.prototype,ve=function(p){return!(![x.r8.excalidraw,x.r8.excalidrawClipboard,x.r8.excalidrawClipboardWithAPI].includes(p?.type)||!Array.isArray(p.elements))},le=function(p){var a=p.types,l=p.files;a||l||console.warn("createPasteEvent: no types or files provided");var u=new ClipboardEvent("paste",{clipboardData:new DataTransfer});if(a)for(var C=0,L=Object.entries(a);C<L.length;C++){var _=(0,w.Z)(L[C],2),E=_[0],D=_[1];try{var F,ee;if((F=u.clipboardData)===null||F===void 0||F.setData(E,D),((ee=u.clipboardData)===null||ee===void 0?void 0:ee.getData(E))!==D)throw new Error('Failed to set "'.concat(E,'" as clipboardData item'))}catch(we){throw new Error(we.message)}}if(l){var te,re=-1,oe=S(l);try{for(oe.s();!(te=oe.n()).done;){var Y=te.value;re++;try{var V,ie;if((V=u.clipboardData)===null||V===void 0||V.items.add(Y),((ie=u.clipboardData)===null||ie===void 0?void 0:ie.files[re])!==Y)throw new Error('Failed to set file "'.concat(Y.name,'" as clipboardData item'))}catch(we){throw new Error(we.message)}}}catch(we){oe.e(we)}finally{oe.f()}}return u},G=function(p){var a=p.elements,l=p.files,u=new Set(a.filter(function(E){return E.type==="frame"})),C=!1,L=a.reduce(function(E,D){return(0,c.wi)(D)&&(C=!0,l&&l[D.fileId]&&(E[D.fileId]=l[D.fileId])),E},{});C&&!l&&console.warn("copyToClipboard: attempting to file element(s) without providing associated `files` object.");var _={type:x.r8.excalidrawClipboard,elements:a.map(function(E){if((0,N.$Z)(E)&&!u.has((0,N.$Z)(E))){var D=(0,f.OL)(E);return(0,Z.DR)(D,{frameId:null}),D}return E}),files:l?L:void 0};return JSON.stringify(_)},U=function(){var p=(0,P.Z)(v().mark(function a(l,u,C){return v().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,r(G({elements:l,files:u}),C);case 2:case"end":return L.stop()}},a)}));return function(a,l,u){return p.apply(this,arguments)}}(),H=function(p){var a=(0,I.dz)(p);return a.type===I.i$?{spreadsheet:a.spreadsheet}:null};function M(p){var a,l=[],u=S(p.childNodes);try{for(u.s();!(a=u.n()).done;){var C=a.value;if(C.nodeType===3){var L,_=(L=C.textContent)===null||L===void 0?void 0:L.trim();_&&l.push({type:"text",value:_})}else if(C instanceof HTMLImageElement){var E=C.getAttribute("src");E&&E.startsWith("http")&&l.push({type:"imageUrl",value:E})}else l=l.concat(M(C))}}catch(D){u.e(D)}finally{u.f()}return l}var A=function(p){var a,l=(a=p.clipboardData)===null||a===void 0?void 0:a.getData("text/html");if(!l)return null;try{var u=M(new DOMParser().parseFromString(l,"text/html").body);if(u.length)return{type:"mixedContent",value:u}}catch(C){console.error("error in parseHTMLFromPaste: ".concat(C.message))}return null},b=function(){var p=(0,P.Z)(v().mark(function a(){var l,u,C,L,_,E,D,F,ee,te,re,oe;return v().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(l={},Y.prev=1,(u=navigator.clipboard)===null||u===void 0||!u.readText){Y.next=7;break}return Y.next=5,(C=navigator.clipboard)===null||C===void 0?void 0:C.readText();case 5:return Y.t0=Y.sent,Y.abrupt("return",{"text/plain":Y.t0});case 7:Y.next=16;break;case 9:if(Y.prev=9,Y.t1=Y.catch(1),(L=navigator.clipboard)===null||L===void 0||!L.read){Y.next=15;break}console.warn("navigator.clipboard.readText() failed (".concat(Y.t1.message,"). Failling back to navigator.clipboard.read()")),Y.next=16;break;case 15:throw Y.t1;case 16:return Y.prev=16,Y.next=19,(E=navigator.clipboard)===null||E===void 0?void 0:E.read();case 19:_=Y.sent,Y.next=28;break;case 22:if(Y.prev=22,Y.t2=Y.catch(16),Y.t2.name!=="DataError"){Y.next=27;break}return console.warn("navigator.clipboard.read() error, clipboard is probably empty: ".concat(Y.t2.message)),Y.abrupt("return",l);case 27:throw Y.t2;case 28:D=S(_),Y.prev=29,D.s();case 31:if((F=D.n()).done){Y.next=63;break}ee=F.value,te=S(ee.types),Y.prev=34,te.s();case 36:if((re=te.n()).done){Y.next=53;break}if(oe=re.value,(0,W.XF)(x.wL,oe)){Y.next=40;break}return Y.abrupt("continue",51);case 40:return Y.prev=40,Y.next=43,ee.getType(oe);case 43:return Y.next=45,Y.sent.text();case 45:l[oe]=Y.sent,Y.next=51;break;case 48:Y.prev=48,Y.t3=Y.catch(40),console.warn("Cannot retrieve ".concat(oe," from clipboardItem: ").concat(Y.t3.message));case 51:Y.next=36;break;case 53:Y.next=58;break;case 55:Y.prev=55,Y.t4=Y.catch(34),te.e(Y.t4);case 58:return Y.prev=58,te.f(),Y.finish(58);case 61:Y.next=31;break;case 63:Y.next=68;break;case 65:Y.prev=65,Y.t5=Y.catch(29),D.e(Y.t5);case 68:return Y.prev=68,D.f(),Y.finish(68);case 71:if(Object.keys(l).length!==0){Y.next=74;break}return console.warn("No clipboard data found from clipboard.read()."),Y.abrupt("return",l);case 74:return Y.abrupt("return",l);case 75:case"end":return Y.stop()}},a,null,[[1,9],[16,22],[29,65,68,71],[34,55,58,61],[40,48]])}));return function(){return p.apply(this,arguments)}}(),y=function(){var p=(0,P.Z)(v().mark(function a(l){var u,C,L,_,E,D=arguments;return v().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(u=D.length>1&&D[1]!==void 0&&D[1],F.prev=1,!(L=!u&&l&&A(l))){F.next=7;break}if(!L.value.every(function(ee){return ee.type==="text"})){F.next=6;break}return F.abrupt("return",{type:"text",value:((_=l.clipboardData)===null||_===void 0?void 0:_.getData("text/plain"))||L.value.map(function(ee){return ee.value}).join(` +`).trim()});case 6:return F.abrupt("return",L);case 7:return E=(C=l.clipboardData)===null||C===void 0?void 0:C.getData("text/plain"),F.abrupt("return",{type:"text",value:(E||"").trim()});case 11:return F.prev=11,F.t0=F.catch(1),F.abrupt("return",{type:"text",value:""});case 14:case"end":return F.stop()}},a,null,[[1,11]])}));return function(a){return p.apply(this,arguments)}}(),h=function(){var p=(0,P.Z)(v().mark(function a(l){var u,C,L,_,E,D=arguments;return v().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return u=D.length>1&&D[1]!==void 0&&D[1],F.next=3,y(l,u);case 3:if((C=F.sent).type!=="mixedContent"){F.next=6;break}return F.abrupt("return",{mixedContent:C.value});case 6:if(F.prev=6,!(L=!u&&H(C.value))){F.next=10;break}return F.abrupt("return",L);case 10:F.next=15;break;case 12:F.prev=12,F.t0=F.catch(6),console.error(F.t0);case 15:if(F.prev=15,_=JSON.parse(C.value),E=_.type===x.r8.excalidrawClipboardWithAPI,!ve(_)){F.next=20;break}return F.abrupt("return",{elements:_.elements,files:_.files,text:u?JSON.stringify(_.elements,null,2):void 0,programmaticAPI:E});case 20:F.next=24;break;case 22:F.prev=22,F.t1=F.catch(15);case 24:return F.abrupt("return",{text:C.value});case 25:case"end":return F.stop()}},a,null,[[6,12],[15,22]])}));return function(a){return p.apply(this,arguments)}}(),d=function(){var p=(0,P.Z)(v().mark(function a(l){return v().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,navigator.clipboard.write([new window.ClipboardItem((0,e.Z)({},x.LO.png,l))]);case 3:case 21:u.next=24;break;case 5:if(u.prev=5,u.t0=u.catch(0),!(0,W.y8)(l)){u.next=23;break}return u.t1=navigator.clipboard,u.t2=window.ClipboardItem,u.t3=e.Z,u.t4={},u.t5=x.LO.png,u.next=15,l;case 15:return u.t6=u.sent,u.t7=(0,u.t3)(u.t4,u.t5,u.t6),u.t8=new u.t2(u.t7),u.t9=[u.t8],u.next=21,u.t1.write.call(u.t1,u.t9);case 23:throw u.t0;case 24:case"end":return u.stop()}},a,null,[[0,5]])}));return function(a){return p.apply(this,arguments)}}(),r=function(){var p=(0,P.Z)(v().mark(function a(l,u){var C,L;return v().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(!ce){_.next=10;break}return _.prev=1,_.next=4,navigator.clipboard.writeText(l||"");case 4:return _.abrupt("return");case 7:_.prev=7,_.t0=_.catch(1),console.error(_.t0);case 10:if(_.prev=10,!u){_.next=16;break}if((C=u.clipboardData)===null||C===void 0||C.setData("text/plain",l||""),((L=u.clipboardData)===null||L===void 0?void 0:L.getData("text/plain"))===l){_.next=15;break}throw new Error("Failed to setData on clipboardEvent");case 15:return _.abrupt("return");case 16:_.next=21;break;case 18:_.prev=18,_.t1=_.catch(10),console.error(_.t1);case 21:if(n(l)){_.next=23;break}throw new Error((0,k.t)("errors.copyToSystemClipboardFailed"));case 23:case"end":return _.stop()}},a,null,[[1,7],[10,18]])}));return function(a,l){return p.apply(this,arguments)}}(),n=function(p){p||(p=" ");var a=document.documentElement.getAttribute("dir")==="rtl",l=document.createElement("textarea");l.style.border="0",l.style.padding="0",l.style.margin="0",l.style.position="absolute",l.style[a?"right":"left"]="-9999px";var u=window.pageYOffset||document.documentElement.scrollTop;l.style.top="".concat(u,"px"),l.style.fontSize="12pt",l.setAttribute("readonly",""),l.value=p,document.body.appendChild(l);var C=!1;try{l.select(),l.setSelectionRange(0,l.value.length),C=document.execCommand("copy")}catch(L){console.error(L)}return l.remove(),C}},9240:function(et,fe,t){t.d(fe,{C2:function(){return c},HO:function(){return k},Lx:function(){return I},SF:function(){return le},Wk:function(){return ve},_T:function(){return Z},ay:function(){return he},dC:function(){return x},eq:function(){return ce},fY:function(){return J},sF:function(){return G},vq:function(){return U},z8:function(){return f}});var e=t(7169),P=t(5284);function w(H,M){var A=Object.keys(H);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(H);M&&(b=b.filter(function(y){return Object.getOwnPropertyDescriptor(H,y).enumerable})),A.push.apply(A,b)}return A}function m(H){for(var M=1;M<arguments.length;M++){var A=arguments[M]!=null?arguments[M]:{};M%2?w(Object(A),!0).forEach(function(b){(0,e.Z)(H,b,A[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(A)):w(Object(A)).forEach(function(b){Object.defineProperty(H,b,Object.getOwnPropertyDescriptor(A,b))})}return H}var v,I=5,x=5,c=4,f=4,Z=1,N=[0,2,4,6,8],W=function(H,M){return M.map(function(A){return P[H][A]})},k={transparent:"transparent",black:"#1e1e1e",white:"#ffffff",gray:W("gray",N),red:W("red",N),pink:W("pink",N),grape:W("grape",N),violet:W("violet",N),blue:W("blue",N),cyan:W("cyan",N),teal:W("teal",N),green:W("green",N),yellow:W("yellow",N),orange:W("orange",N),bronze:["#f8f1ee","#eaddd7","#d2bab0","#a18072","#846358"]},S=(v=k,["cyan","blue","violet","grape","pink","green","teal","yellow","orange","red"].reduce(function(H,M){return M in v&&(H[M]=v[M]),H},{})),J=[k.black,k.red[f],k.green[f],k.blue[f],k.yellow[f]],ce=[k.transparent,k.red[Z],k.green[Z],k.blue[Z],k.yellow[Z]],he=[k.white,"#f8f9fa","#f5faff","#fffce8","#fdf8f6"],ve=m({transparent:k.transparent,white:k.white,gray:k.gray,black:k.black,bronze:k.bronze},S),le=m({transparent:k.transparent,white:k.white,gray:k.gray,black:k.black,bronze:k.bronze},S),G=function(H){return[k.cyan[H],k.blue[H],k.violet[H],k.grape[H],k.pink[H],k.green[H],k.teal[H],k.yellow[H],k.orange[H],k.red[H]]},U=function(H,M,A){return"#".concat(((1<<24)+(H<<16)+(M<<8)+A).toString(16).slice(1))}},8973:function(et,fe,t){t.d(fe,{o:function(){return Z},w:function(){return f}});var e=t(2577),P=t(3607),w=t(5463),m=t(8227),v=t(453),I=t(8242),x=t(6887),c=t(4512),f=(0,P.cn)(null),Z=function(){var N=(0,P.KO)(f,v.yE),W=(0,e.Z)(N,2),k=W[0],S=W[1],J=(0,I.eh)();return k&&k==="clearCanvas"?(0,c.jsx)(x.Z,{onConfirm:function(){J.executeAction(w.mo),S(null)},onCancel:function(){return S(null)},title:(0,m.t)("clearCanvasDialog.title"),children:(0,c.jsxs)("p",{className:"clear-canvas__content",children:[" ",(0,m.t)("alerts.clearReset")]})}):null}},8242:function(et,fe,t){t.d(fe,{ZP:function(){return nl},qD:function(){return La},hY:function(){return Ua},Fy:function(){return Za},eh:function(){return Ga},gF:function(){return $a},J0:function(){return ka},bd:function(){return Ka},n9:function(){return qa}});var e=t(6655),P=t(2577),w=t(1930),m=t(8950),v=t(8821),I=t(5169),x=t(3173),c=t(2248),f=t(7245),Z=t(2312),N=t(7169),W=t(2975),k=t.n(W),S=t(9787),J=t.n(S),ce=t(5156),he=t(9845),ve=t(45),le=t(5605),G=t(5463),U=t(8935),H=t(1512),M=t(8227),A=t(5491),b=t(583),y=t(9645),h=t(9827),d=t(9937),r=t(4512);function n(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function p(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?n(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):n(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}var a=function(T,o,g){var R=!1;if(!(o.multiElement||o.resizingElement||o.editingElement||o.draggingElement)){var q=g();if(q===null)return{commitToHistory:R};var de=(0,h.xn)(T),ne=q.elements,B=(0,h.xn)(ne),X=T.filter(function(Ie){return!B.has(Ie.id)}),ke=ne.map(function(Ie){return(0,b.BE)(de.get(Ie.id)||Ie,Ie)}).concat(X.map(function(Ie){return(0,b.BE)(Ie,{isDeleted:!0})}));return(0,y.$q)(ke,X),{elements:ke,appState:p(p({},o),q.appState),commitToHistory:R,syncHistory:!0}}return{commitToHistory:R}},l=t(3646),u=function(T,o,g,R,q,de){if(T.trackEvent)try{(0,e.Z)(T.trackEvent)==="object"&&(!T.trackEvent.predicate||T.trackEvent.predicate(g,R,de))&&(0,l.L)(T.trackEvent.category,T.trackEvent.action||T.name,"".concat(o," (").concat(q.device.editor.isMobile?"mobile":"desktop",")"))}catch(ne){console.error("error while logging action:",ne)}},C=function(){function T(o,g,R,q){var de=this;(0,v.Z)(this,T),this.actions={},this.renderAction=function(ne,B){var X=de.app.props.UIOptions.canvasActions;if(de.actions[ne]&&"PanelComponent"in de.actions[ne]&&(!(ne in X)||X[ne])){var ke=de.actions[ne],Ie=ke.PanelComponent;Ie.displayName="PanelComponent";var Pe=de.getElementsIncludingDeleted(),Fe=de.getAppState();return(0,r.jsx)(Ie,{elements:de.getElementsIncludingDeleted(),appState:de.getAppState(),updateData:function(Ge){u(ke,"ui",Fe,Pe,de.app,Ge),de.updater(ke.perform(de.getElementsIncludingDeleted(),de.getAppState(),Ge,de.app))},appProps:de.app.props,app:de.app,data:B})}return null},this.isActionEnabled=function(ne){var B=de.getElementsIncludingDeleted(),X=de.getAppState();return!ne.predicate||ne.predicate(B,X,de.app.props,de.app)},this.updater=function(ne){if(!ne||!("then"in ne))return o(ne);ne.then(function(B){return o(B)})},this.getAppState=g,this.getElementsIncludingDeleted=R,this.app=q}return(0,I.Z)(T,[{key:"registerAction",value:function(o){this.actions[o.name]=o}},{key:"registerAll",value:function(o){var g=this;o.forEach(function(R){return g.registerAction(R)})}},{key:"handleKeyDown",value:function(o){var g=this,R=this.app.props.UIOptions.canvasActions,q=Object.values(this.actions).sort(function(X,ke){return(ke.keyPriority||0)-(X.keyPriority||0)}).filter(function(X){return(!(X.name in R)||R[X.name])&&X.keyTest&&X.keyTest(o,g.getAppState(),g.getElementsIncludingDeleted(),g.app)});if(q.length!==1)return q.length>1&&console.warn("Canceling as multiple actions match this shortcut",q),!1;var de=q[0];if(this.getAppState().viewModeEnabled&&de.viewMode!==!0)return!1;var ne=this.getElementsIncludingDeleted(),B=this.getAppState();return u(de,"keyboard",B,ne,this.app,null),o.preventDefault(),o.stopPropagation(),this.updater(q[0].perform(ne,B,null,this.app)),!0}},{key:"executeAction",value:function(o){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"api",R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,q=this.getElementsIncludingDeleted(),de=this.getAppState();u(o,g,de,q,this.app,R),this.updater(o.perform(q,de,R,this.app))}}]),T}(),L=t(2767),_=t(6853),E=t(4694),D=t(2435),F=t(9326),ee=t(7994),te=t(7651),re=t(7422),oe=t(5742),Y=t(4183),V=function(T){var o=Array.from(T.values());return{x:we(o,function(g){return g.x})/o.length,y:we(o,function(g){return g.y})/o.length}},ie=function(T){var o=(0,P.Z)(T,2),g=o[0],R=o[1];return Math.hypot(g.x-R.x,g.y-R.y)},we=function(T,o){return T.reduce(function(g,R){return g+o(R)},0)},Ae=t(9215);function Re(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function je(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?Re(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):Re(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}var ye=function(T){return{selectedElementIds:T.selectedElementIds,selectedGroupIds:T.selectedGroupIds,viewBackgroundColor:T.viewBackgroundColor,editingLinearElement:T.editingLinearElement,editingGroupId:T.editingGroupId,name:T.name}},Ee=function(){function T(){var o=this;(0,v.Z)(this,T),this.elementCache=new Map,this.recording=!0,this.stateHistory=[],this.redoStack=[],this.lastEntry=null,this.generateEntry=function(g,R){return o.dehydrateHistoryEntry({appState:ye(g),elements:R.reduce(function(q,de){if((0,Y.bt)(de)&&g.multiElement&&g.multiElement.id===de.id){if(g.multiElement&&g.multiElement.id===de.id&&de.points.length<2)return q;q.push(je(je({},de),{},{points:de.lastCommittedPoint!==de.points[de.points.length-1]?de.points.slice(0,-1):de.points}))}else q.push(de);return q},[])})}}return(0,I.Z)(T,[{key:"hydrateHistoryEntry",value:function(o){var g=this,R=o.appState,q=o.elements;return{appState:JSON.parse(R),elements:q.map(function(de){var ne,B=(ne=g.elementCache.get(de.id))===null||ne===void 0?void 0:ne.get(de.versionNonce);if(!B)throw new Error("Element not found: ".concat(de.id,":").concat(de.versionNonce));return B})}}},{key:"dehydrateHistoryEntry",value:function(o){var g=this,R=o.appState,q=o.elements;return{appState:JSON.stringify(R),elements:q.map(function(de){g.elementCache.has(de.id)||g.elementCache.set(de.id,new Map);var ne=g.elementCache.get(de.id);return ne.has(de.versionNonce)||ne.set(de.versionNonce,(0,oe.OL)(de)),{id:de.id,versionNonce:de.versionNonce}})}}},{key:"getSnapshotForTest",value:function(){var o=this;return{recording:this.recording,stateHistory:this.stateHistory.map(function(g){return o.hydrateHistoryEntry(g)}),redoStack:this.redoStack.map(function(g){return o.hydrateHistoryEntry(g)})}}},{key:"clear",value:function(){this.stateHistory.length=0,this.redoStack.length=0,this.lastEntry=null,this.elementCache.clear()}},{key:"shouldCreateEntry",value:function(o){var g,R=this.lastEntry;if(!R||o.elements.length!==R.elements.length)return!0;for(var q=o.elements.length-1;q>-1;q--){var de=o.elements[q],ne=R.elements[q];if(!de||!ne||de.id!==ne.id||de.versionNonce!==ne.versionNonce)return!0}for(g in o.appState){var B,X;if(!(g==="editingLinearElement"&&((B=o.appState[g])===null||B===void 0?void 0:B.elementId)===((X=R.appState[g])===null||X===void 0?void 0:X.elementId))&&g!=="selectedElementIds"&&g!=="selectedGroupIds"&&o.appState[g]!==R.appState[g])return!0}return!1}},{key:"pushEntry",value:function(o,g){var R=this.generateEntry(o,g),q=this.hydrateHistoryEntry(R);if(q){if(!this.shouldCreateEntry(q))return;this.stateHistory.push(R),this.lastEntry=q,this.clearRedoStack()}}},{key:"clearRedoStack",value:function(){this.redoStack.splice(0,this.redoStack.length)}},{key:"redoOnce",value:function(){if(this.redoStack.length===0)return null;var o=this.redoStack.pop();return o!==void 0?(this.stateHistory.push(o),this.hydrateHistoryEntry(o)):null}},{key:"undoOnce",value:function(){if(this.stateHistory.length===1)return null;var o=this.stateHistory.pop(),g=this.stateHistory[this.stateHistory.length-1];return o!==void 0?(this.redoStack.push(o),this.hydrateHistoryEntry(g)):null}},{key:"setCurrentState",value:function(o,g){this.lastEntry=this.hydrateHistoryEntry(this.generateEntry(o,g))}},{key:"resumeRecording",value:function(){this.recording=!0}},{key:"record",value:function(o,g){this.recording&&(this.pushEntry(o,g),this.recording=!1)}}]),T}(),Oe=t(7935),ge=t(2361),ue=t(4105),se=t(457),j=t(4116),i=[{icon:U.zu,value:"selection",key:A.tW.V,numericKey:A.tW[1],fillable:!0},{icon:U.OW,value:"rectangle",key:A.tW.R,numericKey:A.tW[2],fillable:!0},{icon:U.nb,value:"diamond",key:A.tW.D,numericKey:A.tW[3],fillable:!0},{icon:U.Re,value:"ellipse",key:A.tW.O,numericKey:A.tW[4],fillable:!0},{icon:U.e0,value:"arrow",key:A.tW.A,numericKey:A.tW[5],fillable:!0},{icon:U.zb,value:"line",key:A.tW.L,numericKey:A.tW[6],fillable:!0},{icon:U.Pm,value:"freedraw",key:[A.tW.P,A.tW.X],numericKey:A.tW[7],fillable:!1},{icon:U.VL,value:"text",key:A.tW.T,numericKey:A.tW[8],fillable:!1},{icon:U.XB,value:"image",key:null,numericKey:A.tW[9],fillable:!1},{icon:U.$q,value:"eraser",key:A.tW.E,numericKey:A.tW[0],fillable:!1}],s=t(761),O=t(3204),z=t(3379),K=t.n(z),$=t(7795),Q=t.n($),ae=t(569),be=t.n(ae),Ce=t(3565),Ze=t.n(Ce),Be=t(9216),Te=t.n(Be),He=t(4589),Ve=t.n(He),Je=t(6578),Me={};Me.styleTagTransform=Ve(),Me.setAttributes=Ze(),Me.insert=be().bind(null,"head"),Me.domAPI=Q(),Me.insertStyleElement=Te(),K()(Je.Z,Me),Je.Z&&Je.Z.locals&&Je.Z.locals;var me=t(2529),Se="separator",Ne=J().memo(function(T){var o=T.actionManager,g=T.items,R=T.top,q=T.left,de=T.onClose,ne=$a(),B=Ka(),X=g.reduce(function(ke,Ie){return!Ie||Ie!==Se&&Ie.predicate&&!Ie.predicate(B,ne,o.app.props,o.app)||ke.push(Ie),ke},[]);return(0,r.jsx)(O.J,{onCloseRequest:function(){de()},top:R,left:q,fitInViewport:!0,offsetLeft:ne.offsetLeft,offsetTop:ne.offsetTop,viewportWidth:ne.width,viewportHeight:ne.height,children:(0,r.jsx)("ul",{className:"context-menu",onContextMenu:function(ke){return ke.preventDefault()},children:X.map(function(ke,Ie){var Pe;if(ke===Se)return X[Ie-1]&&X[Ie-1]!==Se?(0,r.jsx)("hr",{className:"context-menu-item-separator"},Ie):null;var Fe=ke.name,Ge="";return ke.contextItemLabel&&(Ge=typeof ke.contextItemLabel=="function"?(0,M.t)(ke.contextItemLabel(B,ne,o.app)):(0,M.t)(ke.contextItemLabel)),(0,r.jsx)("li",{"data-testid":Fe,onClick:function(){de(function(){o.executeAction(ke,"contextMenu")})},children:(0,r.jsxs)("button",{className:(0,ve.Z)("context-menu-item",{dangerous:Fe==="deleteSelectedElements",checkmark:(Pe=ke.checked)===null||Pe===void 0?void 0:Pe.call(ke,ne)}),children:[(0,r.jsx)("div",{className:"context-menu-item__label",children:Ge}),(0,r.jsx)("kbd",{className:"context-menu-item__shortcut",children:Fe?(0,me.C)(Fe):""})]})},Ie)})})})}),Ye=t(2726),Qe=t(2540),rt=t(1648),ft=t(8925),at=t(4761),ut=t(6086),Ot={};Ot.styleTagTransform=Ve(),Ot.setAttributes=Ze(),Ot.insert=be().bind(null,"head"),Ot.domAPI=Q(),Ot.insertStyleElement=Te(),K()(ut.Z,Ot),ut.Z&&ut.Z.locals&&ut.Z.locals;var Pt=t(7104);function Et(T,o){var g=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!g){if(Array.isArray(T)||(g=function(X,ke){if(X){if(typeof X=="string")return Mt(X,ke);var Ie=Object.prototype.toString.call(X).slice(8,-1);if(Ie==="Object"&&X.constructor&&(Ie=X.constructor.name),Ie==="Map"||Ie==="Set")return Array.from(X);if(Ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return Mt(X,ke)}}(T))||o&&T&&typeof T.length=="number"){g&&(T=g);var R=0,q=function(){};return{s:q,n:function(){return R>=T.length?{done:!0}:{done:!1,value:T[R++]}},e:function(X){throw X},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var de,ne=!0,B=!1;return{s:function(){g=g.call(T)},n:function(){var X=g.next();return ne=X.done,X},e:function(X){B=!0,de=X},f:function(){try{ne||g.return==null||g.return()}finally{if(B)throw de}}}}function Mt(T,o){(o==null||o>T.length)&&(o=T.length);for(var g=0,R=new Array(o);g<o;g++)R[g]=T[g];return R}var Yt=function(T){var o,g=T.appState,R=T.elements,q=T.renderAction,de=(0,ue.Zs)((0,te.Lm)(R),g),ne=!1;de.length===2&&((0,Y.Xo)(de[0])||(0,Y.Xo)(de[1]))&&(ne=!0);var B,X=!!g.editingElement,ke=Za(),Ie=document.documentElement.getAttribute("dir")==="rtl",Pe=(0,ue.$b)(g.activeTool.type)&&!(0,h.Qm)(g.currentItemBackgroundColor)||de.some(function(st){return(0,ue.$b)(st.type)&&!(0,h.Qm)(st.backgroundColor)}),Fe=(0,ue.$b)(g.activeTool.type)||de.some(function(st){return(0,ue.$b)(st.type)}),Ge=de.length===1||ne,qe=((o=de[0])===null||o===void 0?void 0:o.type)||null,it=Et(de);try{for(it.s();!(B=it.n()).done;)if(B.value.type!==qe){qe=null;break}}catch(st){it.e(st)}finally{it.f()}return(0,r.jsxs)("div",{className:"panelColumn",children:[(0,r.jsx)("div",{children:((0,rt.PD)(g.activeTool.type)&&g.activeTool.type!=="image"&&qe!=="image"&&qe!=="frame"||de.some(function(st){return(0,rt.PD)(st.type)}))&&q("changeStrokeColor")}),Fe&&(0,r.jsx)("div",{children:q("changeBackgroundColor")}),Pe&&q("changeFillStyle"),((0,ue.Zd)(g.activeTool.type)||de.some(function(st){return(0,ue.Zd)(st.type)}))&&q("changeStrokeWidth"),(g.activeTool.type==="freedraw"||de.some(function(st){return st.type==="freedraw"}))&&q("changeStrokeShape"),((0,ue.M9)(g.activeTool.type)||de.some(function(st){return(0,ue.M9)(st.type)}))&&(0,r.jsxs)(r.Fragment,{children:[q("changeStrokeStyle"),q("changeSloppiness")]}),((0,ue.sh)(g.activeTool.type)||de.some(function(st){return(0,ue.sh)(st.type)}))&&(0,r.jsx)(r.Fragment,{children:q("changeRoundness")}),(g.activeTool.type==="text"||de.some(Y.iB))&&(0,r.jsxs)(r.Fragment,{children:[q("changeFontSize"),q("changeFontFamily"),(g.activeTool.type==="text"||(0,at.aV)(de))&&q("changeTextAlign")]}),(0,at.cn)(de)&&q("changeVerticalAlign"),((0,ue.Un)(g.activeTool.type)||de.some(function(st){return(0,ue.Un)(st.type)}))&&(0,r.jsx)(r.Fragment,{children:q("changeArrowhead")}),q("changeOpacity"),(0,r.jsxs)("fieldset",{children:[(0,r.jsx)("legend",{children:(0,M.t)("labels.layers")}),(0,r.jsxs)("div",{className:"buttonList",children:[q("sendToBack"),q("sendBackward"),q("bringToFront"),q("bringForward")]})]}),de.length>1&&!ne&&(0,r.jsxs)("fieldset",{children:[(0,r.jsx)("legend",{children:(0,M.t)("labels.align")}),(0,r.jsxs)("div",{className:"buttonList",children:[Ie?(0,r.jsxs)(r.Fragment,{children:[q("alignRight"),q("alignHorizontallyCentered"),q("alignLeft")]}):(0,r.jsxs)(r.Fragment,{children:[q("alignLeft"),q("alignHorizontallyCentered"),q("alignRight")]}),de.length>2&&q("distributeHorizontally"),(0,r.jsx)("div",{style:{flexBasis:"100%",height:0}}),(0,r.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:".5rem",marginTop:"-0.5rem"},children:[q("alignTop"),q("alignVerticallyCentered"),q("alignBottom"),de.length>2&&q("distributeVertically")]})]})]}),!X&&de.length>0&&(0,r.jsxs)("fieldset",{children:[(0,r.jsx)("legend",{children:(0,M.t)("labels.actions")}),(0,r.jsxs)("div",{className:"buttonList",children:[!ke.editor.isMobile&&q("duplicateSelection"),!ke.editor.isMobile&&q("deleteSelectedElements"),q("group"),q("ungroup"),Ge&&q("hyperlink")]})]})]})},lt=function(T){var o=T.activeTool,g=T.appState,R=T.app,q=T.UIOptions,de=(0,S.useState)(!1),ne=(0,P.Z)(de,2),B=ne[0],X=ne[1],ke=o.type==="frame",Ie=o.type==="laser",Pe=o.type==="embeddable";return(0,r.jsxs)(r.Fragment,{children:[i.map(function(Fe,Ge){var qe,it=Fe.value,st=Fe.icon,kt=Fe.key,Lt=Fe.numericKey,bt=Fe.fillable;if(((qe=q.tools)===null||qe===void 0?void 0:qe[it])===!1)return null;var vt=(0,M.t)("toolBar.".concat(it)),jt=kt&&(0,h.Oo)(typeof kt=="string"?kt:kt[0]),Nt=jt?"".concat(jt," ").concat((0,M.t)("helpDialog.or")," ").concat(Lt):"".concat(Lt);return(0,r.jsx)(H.V,{className:(0,ve.Z)("Shape",{fillable:bt}),type:"radio",icon:st,checked:o.type===it,name:"editor-current-shape",title:"".concat((0,h.Oo)(vt)," — ").concat(Nt),keyBindingLabel:Lt||jt,"aria-label":(0,h.Oo)(vt),"aria-keyshortcuts":Nt,"data-testid":"toolbar-".concat(it),onPointerDown:function(Vt){var Zt=Vt.pointerType;g.penDetected||Zt!=="pen"||R.togglePenMode(!0)},onChange:function(Vt){var Zt=Vt.pointerType;g.activeTool.type!==it&&(0,l.L)("toolbar",it,"ui"),it==="image"?R.setActiveTool({type:it,insertOnCanvasDirectly:Zt!=="mouse"}):R.setActiveTool({type:it})}},it)}),(0,r.jsx)("div",{className:"App-toolbar__divider"}),(0,r.jsxs)(Pt.Z,{open:B,children:[(0,r.jsx)(Pt.Z.Trigger,{className:(0,ve.Z)("App-toolbar__extra-tools-trigger",{"App-toolbar__extra-tools-trigger--selected":ke||Pe||Ie&&!R.props.isCollaborating}),onToggle:function(){return X(!B)},title:(0,M.t)("toolBar.extraTools"),children:U.dg}),(0,r.jsxs)(Pt.Z.Content,{onClickOutside:function(){return X(!1)},onSelect:function(){return X(!1)},className:"App-toolbar__extra-tools-dropdown",children:[(0,r.jsx)(Pt.Z.Item,{onSelect:function(){return R.setActiveTool({type:"frame"})},icon:U.zl,shortcut:A.tW.F.toLocaleUpperCase(),"data-testid":"toolbar-frame",selected:ke,children:(0,M.t)("toolBar.frame")}),(0,r.jsx)(Pt.Z.Item,{onSelect:function(){return R.setActiveTool({type:"embeddable"})},icon:U.FL,"data-testid":"toolbar-embeddable",selected:Pe,children:(0,M.t)("toolBar.embeddable")}),(0,r.jsx)(Pt.Z.Item,{onSelect:function(){return R.setActiveTool({type:"laser"})},icon:U.d,"data-testid":"toolbar-laser",selected:Ie,shortcut:A.tW.K.toLocaleUpperCase(),children:(0,M.t)("toolBar.laser")}),(0,r.jsx)(Pt.Z.Item,{onSelect:function(){return R.setOpenDialog("mermaid")},icon:U.II,"data-testid":"toolbar-embeddable",children:(0,M.t)("toolBar.mermaidToExcalidraw")})]})]})]})},ot=function(T){var o=T.renderAction;return T.zoom,(0,r.jsx)(Qe.Z.Col,{gap:1,className:"zoom-actions",children:(0,r.jsxs)(Qe.Z.Row,{align:"center",children:[o("zoomOut"),o("resetZoom"),o("zoomIn")]})})},mt=function(T){var o=T.renderAction,g=T.className;return(0,r.jsxs)("div",{className:"undo-redo-buttons ".concat(g),children:[(0,r.jsx)("div",{className:"undo-button-container",children:(0,r.jsx)(ft.u,{label:(0,M.t)("buttons.undo"),children:o("undo")})}),(0,r.jsx)("div",{className:"redo-button-container",children:(0,r.jsxs)(ft.u,{label:(0,M.t)("buttons.redo"),children:[" ",o("redo")]})})]})},pt=function(T){var o=T.actionManager,g=T.showExitZenModeBtn;return(0,r.jsx)("button",{className:(0,ve.Z)("disable-zen-mode",{"disable-zen-mode--visible":g}),onClick:function(){return o.executeAction(G.JN)},children:(0,M.t)("buttons.exitZenMode")})},ht=function(T){var o=T.renderAction,g=T.className;return(0,r.jsx)("div",{className:"finalize-button ".concat(g),children:o("finalize",{size:"small"})})},yt=t(1300),Ct=function(T){var o=T.children,g=T.onClose,R=(0,S.useState)(!!o),q=(0,P.Z)(R,2),de=q[0],ne=q[1],B=ka().container,X=J().useCallback(function(){ne(!1),g&&g(),B?.focus()},[g,B]);return(0,r.jsx)(r.Fragment,{children:de&&(0,r.jsx)(yt.V,{size:"small",onCloseRequest:X,title:(0,M.t)("errorDialog.title"),children:(0,r.jsx)("div",{style:{whiteSpace:"pre-wrap"},children:o})})})},Bt=t(4406),zt=t(5796),tr=t(6548),cr=t(507),mr=t(6217),Ft={};Ft.styleTagTransform=Ve(),Ft.setAttributes=Ze(),Ft.insert=be().bind(null,"head"),Ft.domAPI=Q(),Ft.insertStyleElement=Te(),K()(mr.Z,Ft),mr.Z&&mr.Z.locals&&mr.Z.locals;var xt=function(T){var o=T.onChange,g=T.value,R=T.choices,q=T.name;return(0,r.jsx)("div",{className:"RadioGroup",children:R.map(function(de){return(0,r.jsxs)("div",{className:(0,ve.Z)("RadioGroup__choice",{active:de.value===g}),children:[(0,r.jsx)("input",{name:q,type:"radio",checked:de.value===g,onChange:function(){return o(de.value)}}),de.label]},de.label)})})},At=t(7802),Tt={};Tt.styleTagTransform=Ve(),Tt.setAttributes=Ze(),Tt.insert=be().bind(null,"head"),Tt.domAPI=Q(),Tt.insertStyleElement=Te(),K()(At.Z,Tt),At.Z&&At.Z.locals&&At.Z.locals;var nr=function(T){var o=T.title,g=T.name,R=T.checked,q=T.onChange,de=T.disabled,ne=de!==void 0&&de;return(0,r.jsx)("div",{className:(0,ve.Z)("Switch",{toggled:R,disabled:ne}),children:(0,r.jsx)("input",{name:g,id:g,title:o,type:"checkbox",checked:R,disabled:ne,onChange:function(){return q(!R)},onKeyDown:function(B){B.key===" "&&q(!R)}})})},yr=t(9706),kr={};kr.styleTagTransform=Ve(),kr.setAttributes=Ze(),kr.insert=be().bind(null,"head"),kr.domAPI=Q(),kr.insertStyleElement=Te(),K()(yr.Z,kr),yr.Z&&yr.Z.locals&&yr.Z.locals;var Tr=t(8960),Or={};Or.styleTagTransform=Ve(),Or.setAttributes=Ze(),Or.insert=be().bind(null,"head"),Or.domAPI=Q(),Or.insertStyleElement=Te(),K()(Tr.Z,Or),Tr.Z&&Tr.Z.locals&&Tr.Z.locals;var Rt=(0,S.forwardRef)(function(T,o){var g=T.children,R=T.startIcon,q=T.onClick,de=T.label,ne=T.variant,B=ne===void 0?"filled":ne,X=T.color,ke=X===void 0?"primary":X,Ie=T.size,Pe=Ie===void 0?"medium":Ie,Fe=T.fullWidth,Ge=T.className;return(0,r.jsxs)("button",{className:(0,ve.Z)("ExcButton","ExcButton--color-".concat(ke),"ExcButton--variant-".concat(B),"ExcButton--size-".concat(Pe),{"ExcButton--fullWidth":Fe},Ge),onClick:q,type:"button","aria-label":de,ref:o,children:[R&&(0,r.jsx)("div",{className:"ExcButton__icon","aria-hidden":!0,children:R}),B!=="icon"&&(g??de)]})});function dt(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function gt(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?dt(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):dt(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}var wt="filter"in document.createElement("canvas").getContext("2d"),Ut=function(){return(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{children:(0,M.t)("canvasError.cannotShowPreview")}),(0,r.jsx)("p",{children:(0,r.jsx)("span",{children:(0,M.t)("canvasError.canvasTooBig")})}),(0,r.jsxs)("em",{children:["(",(0,M.t)("canvasError.canvasTooBigTip"),")"]})]})},ar=function(T){var o=T.appStateSnapshot,g=T.elementsSnapshot,R=T.files,q=T.actionManager,de=T.onExportImage,ne=(0,ue.N)(g,o),B=Ua(),X=(0,S.useState)(o.name),ke=(0,P.Z)(X,2),Ie=ke[0],Pe=ke[1],Fe=(0,S.useState)(ne),Ge=(0,P.Z)(Fe,2),qe=Ge[0],it=Ge[1],st=(0,S.useState)(o.exportBackground),kt=(0,P.Z)(st,2),Lt=kt[0],bt=kt[1],vt=(0,S.useState)(o.exportWithDarkMode),jt=(0,P.Z)(vt,2),Nt=jt[0],Vt=jt[1],Zt=(0,S.useState)(o.exportEmbedScene),Ht=(0,P.Z)(Zt,2),or=Ht[0],Er=Ht[1],Zr=(0,S.useState)(o.exportScale),Kr=(0,P.Z)(Zr,2),tn=Kr[0],nn=Kr[1],Ur=(0,S.useRef)(null),Gr=(0,S.useState)(null),Xr=(0,P.Z)(Gr,2),Yr=Xr[0],cn=Xr[1],gn=(0,D.HD)(g,o,qe),hn=gn.exportedElements,xn=gn.exportingFrame;return(0,S.useEffect)(function(){var sn=Ur.current;if(sn){var on=sn.offsetWidth,Sn=sn.offsetHeight;on&&(0,cr.NL)({elements:hn,appState:gt(gt({},o),{},{name:Ie,exportBackground:Lt,exportWithDarkMode:Nt,exportScale:tn,exportEmbedScene:or}),files:R,exportPadding:d.qy,maxWidthOrHeight:Math.max(on,Sn),exportingFrame:xn}).then(function(Nn){return cn(null),(0,zt._c)(Nn).then(function(){sn.replaceChildren(Nn)})}).catch(function(Nn){console.error(Nn),cn(Nn)})}},[o,R,hn,xn,Ie,Lt,Nt,tn,or]),(0,r.jsxs)("div",{className:"ImageExportModal",children:[(0,r.jsx)("h3",{children:(0,M.t)("imageExportDialog.header")}),(0,r.jsxs)("div",{className:"ImageExportModal__preview",children:[(0,r.jsx)("div",{className:"ImageExportModal__preview__canvas",ref:Ur,children:Yr&&(0,r.jsx)(Ut,{})}),(0,r.jsx)("div",{className:"ImageExportModal__preview__filename",children:!tr.kr&&(0,r.jsx)("input",{type:"text",className:"TextInput",value:Ie,style:{width:"30ch"},disabled:B.name!==void 0||o.viewModeEnabled,onChange:function(sn){Pe(sn.target.value),q.executeAction(Bt.zX,"ui",sn.target.value)}})})]}),(0,r.jsxs)("div",{className:"ImageExportModal__settings",children:[(0,r.jsx)("h3",{children:(0,M.t)("imageExportDialog.header")}),ne&&(0,r.jsx)(ir,{label:(0,M.t)("imageExportDialog.label.onlySelected"),name:"exportOnlySelected",children:(0,r.jsx)(nr,{name:"exportOnlySelected",checked:qe,onChange:function(sn){it(sn)}})}),(0,r.jsx)(ir,{label:(0,M.t)("imageExportDialog.label.withBackground"),name:"exportBackgroundSwitch",children:(0,r.jsx)(nr,{name:"exportBackgroundSwitch",checked:Lt,onChange:function(sn){bt(sn),q.executeAction(Bt.XA,"ui",sn)}})}),wt&&(0,r.jsx)(ir,{label:(0,M.t)("imageExportDialog.label.darkMode"),name:"exportDarkModeSwitch",children:(0,r.jsx)(nr,{name:"exportDarkModeSwitch",checked:Nt,onChange:function(sn){Vt(sn),q.executeAction(Bt.bJ,"ui",sn)}})}),(0,r.jsx)(ir,{label:(0,M.t)("imageExportDialog.label.embedScene"),tooltip:(0,M.t)("imageExportDialog.tooltip.embedScene"),name:"exportEmbedSwitch",children:(0,r.jsx)(nr,{name:"exportEmbedSwitch",checked:or,onChange:function(sn){Er(sn),q.executeAction(Bt.Du,"ui",sn)}})}),(0,r.jsx)(ir,{label:(0,M.t)("imageExportDialog.label.scale"),name:"exportScale",children:(0,r.jsx)(xt,{name:"exportScale",value:tn,onChange:function(sn){nn(sn),q.executeAction(Bt.sK,"ui",sn)},choices:d.ZB.map(function(sn){return{value:sn,label:"".concat(sn,"×")}})})}),(0,r.jsxs)("div",{className:"ImageExportModal__settings__buttons",children:[(0,r.jsx)(Rt,{className:"ImageExportModal__settings__buttons__button",label:(0,M.t)("imageExportDialog.title.exportToPng"),onClick:function(){return de(d.I_.png,hn,{exportingFrame:xn})},startIcon:U.aL,children:(0,M.t)("imageExportDialog.button.exportToPng")}),(0,r.jsx)(Rt,{className:"ImageExportModal__settings__buttons__button",label:(0,M.t)("imageExportDialog.title.exportToSvg"),onClick:function(){return de(d.I_.svg,hn,{exportingFrame:xn})},startIcon:U.aL,children:(0,M.t)("imageExportDialog.button.exportToSvg")}),(E.vt||d.vU)&&(0,r.jsx)(Rt,{className:"ImageExportModal__settings__buttons__button",label:(0,M.t)("imageExportDialog.title.copyPngToClipboard"),onClick:function(){return de(d.I_.clipboard,hn,{exportingFrame:xn})},startIcon:U.UI,children:(0,M.t)("imageExportDialog.button.copyPngToClipboard")})]})]})]})},ir=function(T){var o=T.label,g=T.children,R=T.tooltip,q=T.name;return(0,r.jsxs)("div",{className:"ImageExportModal__settings__setting",title:o,children:[(0,r.jsxs)("label",{htmlFor:q,className:"ImageExportModal__settings__setting__label",children:[o,R&&(0,r.jsx)(ft.u,{label:R,long:!0,children:U.mv})]}),(0,r.jsx)("div",{className:"ImageExportModal__settings__setting__content",children:g})]})},dr=function(T){var o=T.elements,g=T.appState,R=T.files,q=T.actionManager,de=T.onExportImage,ne=T.onCloseRequest,B=(0,S.useState)(function(){return{appStateSnapshot:(0,h.xU)(g),elementsSnapshot:(0,h.xU)(o)}}),X=(0,P.Z)(B,1)[0],ke=X.appStateSnapshot,Ie=X.elementsSnapshot;return(0,r.jsx)(yt.V,{onCloseRequest:ne,size:"wide",title:!1,children:(0,r.jsx)(ar,{elementsSnapshot:Ie,appStateSnapshot:ke,files:R,actionManager:q,onExportImage:de})})},br=t(3195),hr={};hr.styleTagTransform=Ve(),hr.setAttributes=Ze(),hr.insert=be().bind(null,"head"),hr.domAPI=Q(),hr.insertStyleElement=Te(),K()(br.Z,hr),br.Z&&br.Z.locals&&br.Z.locals;var Ir=function(T){var o=T.children,g=T.side,R=T.className;return(0,r.jsx)("div",{className:(0,ve.Z)("FixedSideContainer","FixedSideContainer_side_".concat(g),R),children:o})},wr=t(1587),sr={};sr.styleTagTransform=Ve(),sr.setAttributes=Ze(),sr.insert=be().bind(null,"head"),sr.domAPI=Q(),sr.insertStyleElement=Te(),K()(wr.Z,sr),wr.Z&&wr.Z.locals&&wr.Z.locals;var fr=function(T){var o=function(g){var R=g.appState,q=g.isMobile,de=g.device,ne=g.app,B=R.activeTool,X=R.isResizing,ke=R.isRotating,Ie=R.lastPointerDownWith,Pe=R.multiElement!==null;if(R.openSidebar&&!de.editor.canFitSidebar)return null;if((0,_.EN)(R))return(0,M.t)("hints.eraserRevert");if(B.type==="arrow"||B.type==="line")return Pe?(0,M.t)("hints.linearElementMulti"):(0,M.t)("hints.linearElement");if(B.type==="freedraw")return(0,M.t)("hints.freeDraw");if(B.type==="text")return(0,M.t)("hints.text");if(B.type==="embeddable")return(0,M.t)("hints.embeddable");if(R.activeTool.type==="image"&&R.pendingImageElementId)return(0,M.t)("hints.placeImage");var Fe=ne.scene.getSelectedElements(R);if(X&&Ie==="mouse"&&Fe.length===1){var Ge=Fe[0];return(0,Y.bt)(Ge)&&Ge.points.length===2?(0,M.t)("hints.lockAngle"):(0,Y.pC)(Ge)?(0,M.t)("hints.resizeImage"):(0,M.t)("hints.resize")}if(ke&&Ie==="mouse")return(0,M.t)("hints.rotate");if(Fe.length===1&&(0,Y.iB)(Fe[0]))return(0,M.t)("hints.text_selected");if(R.editingElement&&(0,Y.iB)(R.editingElement))return(0,M.t)("hints.text_editing");if(B.type==="selection"){var qe;if(((qe=R.draggingElement)===null||qe===void 0?void 0:qe.type)==="selection"&&!Fe.length&&!R.editingElement&&!R.editingLinearElement)return(0,M.t)("hints.deepBoxSelect");if(R.gridSize&&R.draggingElement)return(0,M.t)("hints.disableSnapping");if(!Fe.length&&!q)return(0,M.t)("hints.canvasPanning");if(Fe.length===1){if((0,Y.bt)(Fe[0]))return R.editingLinearElement?R.editingLinearElement.selectedPointsIndices?(0,M.t)("hints.lineEditor_pointSelected"):(0,M.t)("hints.lineEditor_nothingSelected"):(0,M.t)("hints.lineEditor_info");if(!R.draggingElement&&(0,Y.mG)(Fe[0]))return(0,M.t)("hints.bindTextToElement")}}return null}({appState:T.appState,isMobile:T.isMobile,device:T.device,app:T.app});return o?(o=(0,h.uY)(o),(0,r.jsx)("div",{className:"HintViewer",children:(0,r.jsx)("span",{children:o})})):null},pr=t(1404),jr=t(7165),Pr=(t(3041),{CHECKED:U.FC,UNCHECKED:U._C}),Mr=function(T){return(0,r.jsxs)("label",{className:(0,ve.Z)("ToolIcon ToolIcon__lock","ToolIcon_size_".concat("medium"),{"is-mobile":T.isMobile}),title:"".concat(T.title," — Q"),children:[(0,r.jsx)("input",{className:"ToolIcon_type_checkbox",type:"checkbox",name:T.name,onChange:T.onChange,checked:T.checked,"aria-label":T.title,"data-testid":"toolbar-lock"}),(0,r.jsx)("div",{className:"ToolIcon__icon",children:T.checked?Pr.CHECKED:Pr.UNCHECKED})]})},$r=["heading","children"];function fn(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function Mn(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?fn(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):fn(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}var Zn=function(T){var o=T.heading,g=T.children,R=(0,Ye.Z)(T,$r),q=ka().id,de=(0,r.jsx)("h2",{className:"visually-hidden",id:"".concat(q,"-").concat(o,"-title"),children:(0,M.t)("headings.".concat(o))});return(0,r.jsx)("section",Mn(Mn({},R),{},{"aria-labelledby":"".concat(q,"-").concat(o,"-title"),children:typeof g=="function"?g(de):(0,r.jsxs)(r.Fragment,{children:[de,g]})}))},zn=t(4726),Cn=function(T){return T.penDetected?(0,r.jsxs)("label",{className:(0,ve.Z)("ToolIcon ToolIcon__penMode","ToolIcon_size_".concat("medium"),{"is-mobile":T.isMobile}),title:"".concat(T.title),children:[(0,r.jsx)("input",{className:"ToolIcon_type_checkbox",type:"checkbox",name:T.name,onChange:T.onChange,checked:T.checked,"aria-label":T.title}),(0,r.jsx)("div",{className:"ToolIcon__icon",children:U.tb})]}):null},vn=t(4949),Ln=t(2681),We={};We.styleTagTransform=Ve(),We.setAttributes=Ze(),We.insert=be().bind(null,"head"),We.domAPI=Q(),We.insertStyleElement=Te(),K()(Ln.Z,We),Ln.Z&&Ln.Z.locals&&Ln.Z.locals;var pe=function(T){var o,g=(0,vn.KP)(T.elements),R=(0,ue.Zs)(T.elements,T.appState),q=(0,vn.KP)(R);return(0,r.jsx)("div",{className:"Stats",children:(0,r.jsxs)(pr.W,{padding:2,children:[(0,r.jsx)("div",{className:"close",onClick:T.onClose,children:U.Tw}),(0,r.jsx)("h3",{children:(0,M.t)("stats.title")}),(0,r.jsx)("table",{children:(0,r.jsxs)("tbody",{children:[(0,r.jsx)("tr",{children:(0,r.jsx)("th",{colSpan:2,children:(0,M.t)("stats.scene")})}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,M.t)("stats.elements")}),(0,r.jsx)("td",{children:T.elements.length})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,M.t)("stats.width")}),(0,r.jsx)("td",{children:Math.round(g[2])-Math.round(g[0])})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,M.t)("stats.height")}),(0,r.jsx)("td",{children:Math.round(g[3])-Math.round(g[1])})]}),R.length===1&&(0,r.jsx)("tr",{children:(0,r.jsx)("th",{colSpan:2,children:(0,M.t)("stats.element")})}),R.length>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("tr",{children:(0,r.jsx)("th",{colSpan:2,children:(0,M.t)("stats.selected")})}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,M.t)("stats.elements")}),(0,r.jsx)("td",{children:R.length})]})]}),R.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:"x"}),(0,r.jsx)("td",{children:Math.round(q[0])})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:"y"}),(0,r.jsx)("td",{children:Math.round(q[1])})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,M.t)("stats.width")}),(0,r.jsx)("td",{children:Math.round(q[2]-q[0])})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,M.t)("stats.height")}),(0,r.jsx)("td",{children:Math.round(q[3]-q[1])})]})]}),R.length===1&&(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,M.t)("stats.angle")}),(0,r.jsx)("td",{children:"".concat(Math.round(180*R[0].angle/Math.PI),"°")})]}),(o=T.renderCustomStats)===null||o===void 0?void 0:o.call(T,T.elements,T.appState)]})})]})})},_e=function(T){return(0,r.jsx)(H.V,{className:(0,ve.Z)("Shape",{fillable:!1}),type:"radio",icon:U.Hk,name:"editor-current-shape",checked:T.checked,title:"".concat(T.title," — H"),keyBindingLabel:T.isMobile?void 0:A.tW.H.toLocaleUpperCase(),"aria-label":"".concat(T.title," — H"),"aria-keyshortcuts":A.tW.H,"data-testid":"toolbar-hand",onChange:function(){var o;return(o=T.onChange)===null||o===void 0?void 0:o.call(T)}})},De=t(4572);function Xe(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}var St=function(T){var o=T.appState,g=T.elements,R=T.actionManager,q=T.setAppState,de=T.onLockToggle,ne=T.onHandToolToggle,B=T.onPenModeToggle,X=T.renderTopRightUI,ke=T.renderCustomStats,Ie=T.renderSidebars,Pe=T.device,Fe=T.renderWelcomeScreen,Ge=T.UIOptions,qe=T.app,it=(0,De.R6)(),st=it.WelcomeScreenCenterTunnel,kt=it.MainMenuTunnel,Lt=it.DefaultSidebarTriggerTunnel;return(0,r.jsxs)(r.Fragment,{children:[Ie(),!o.viewModeEnabled&&(0,r.jsxs)(Ir,{side:"top",className:"App-top-bar",children:[Fe&&(0,r.jsx)(st.Out,{}),(0,r.jsx)(Zn,{heading:"shapes",children:function(bt){return(0,r.jsx)(Qe.Z.Col,{gap:4,align:"center",children:(0,r.jsxs)(Qe.Z.Row,{gap:1,className:"App-toolbar-container",children:[(0,r.jsxs)(pr.W,{padding:1,className:"App-toolbar App-toolbar--mobile",children:[bt,(0,r.jsx)(Qe.Z.Row,{gap:1,children:(0,r.jsx)(lt,{appState:o,activeTool:o.activeTool,UIOptions:Ge,app:qe})})]}),X&&X(!0,o),(0,r.jsxs)("div",{className:"mobile-misc-tools-container",children:[!o.viewModeEnabled&&(0,r.jsx)(Lt.Out,{}),(0,r.jsx)(Cn,{checked:o.penMode,onChange:function(){return B(null)},title:(0,M.t)("toolBar.penMode"),isMobile:!0,penDetected:o.penDetected}),(0,r.jsx)(Mr,{checked:o.activeTool.locked,onChange:de,title:(0,M.t)("toolBar.lock"),isMobile:!0}),(0,r.jsx)(_e,{checked:(0,_.l$)(o),onChange:function(){return ne()},title:(0,M.t)("toolBar.hand"),isMobile:!0})]})]})})}}),(0,r.jsx)(fr,{appState:o,isMobile:!0,device:Pe,app:qe})]}),!o.openMenu&&o.showStats&&(0,r.jsx)(pe,{appState:o,setAppState:q,elements:g,onClose:function(){R.executeAction(G.u0)},renderCustomStats:ke}),(0,r.jsx)("div",{className:"App-bottom-bar",style:{marginBottom:zn.nn+2*zn.WM,marginLeft:zn.nn+2*zn.WM,marginRight:zn.nn+2*zn.WM},children:(0,r.jsxs)(pr.W,{padding:0,children:[o.openMenu==="shape"&&!o.viewModeEnabled&&(0,te.RT)(o,g)?(0,r.jsx)(Zn,{className:"App-mobile-menu",heading:"selectedShapeActions",children:(0,r.jsx)(Yt,{appState:o,elements:g,renderAction:R.renderAction})}):null,(0,r.jsxs)("footer",{className:"App-toolbar",children:[o.viewModeEnabled?(0,r.jsx)("div",{className:"App-toolbar-content",children:(0,r.jsx)(kt.Out,{})}):(0,r.jsxs)("div",{className:"App-toolbar-content",children:[(0,r.jsx)(kt.Out,{}),R.renderAction("toggleEditMenu"),R.renderAction("undo"),R.renderAction("redo"),R.renderAction(o.multiElement?"finalize":"duplicateSelection"),R.renderAction("deleteSelectedElements")]}),o.scrolledOutside&&!o.openMenu&&!o.openSidebar&&(0,r.jsx)("button",{className:"scroll-back-to-content",onClick:function(){q(function(bt){return function(vt){for(var jt=1;jt<arguments.length;jt++){var Nt=arguments[jt]!=null?arguments[jt]:{};jt%2?Xe(Object(Nt),!0).forEach(function(Vt){(0,N.Z)(vt,Vt,Nt[Vt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(vt,Object.getOwnPropertyDescriptors(Nt)):Xe(Object(Nt)).forEach(function(Vt){Object.defineProperty(vt,Vt,Object.getOwnPropertyDescriptor(Nt,Vt))})}return vt}({},(0,ue.W)(g,bt))})},children:(0,M.t)("buttons.scrollBackToContent")})]})]})})]})},Gt=t(5284),Xt=t(901),It=t(3668),_t=t(8461),Jt={};Jt.styleTagTransform=Ve(),Jt.setAttributes=Ze(),Jt.insert=be().bind(null,"head"),Jt.domAPI=Q(),Jt.insertStyleElement=Te(),K()(_t.Z,Jt),_t.Z&&_t.Z.locals&&_t.Z.locals;var ur=function(T){var o=(0,S.useRef)(null),g=(0,S.useState)(null),R=(0,P.Z)(g,2),q=R[0],de=R[1];return(0,S.useLayoutEffect)(function(){if(T.spreadsheet){var ne,B=(0,Xt.ps)(T.chartType,T.spreadsheet,0,0);de(B);var X=o.current;return(0,m.Z)(k().mark(function ke(){var Ie;return k().wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return Pe.next=2,(0,It.$D)(B,{exportBackground:!1,viewBackgroundColor:Gt.white},null);case 2:ne=Pe.sent,(Ie=ne.querySelector(".style-fonts"))===null||Ie===void 0||Ie.remove(),X.replaceChildren(),X.appendChild(ne),T.selected&&X.parentNode.focus();case 7:case"end":return Pe.stop()}},ke)}))(),function(){X.replaceChildren()}}},[T.spreadsheet,T.chartType,T.selected]),(0,r.jsx)("button",{className:"ChartPreview",onClick:function(){q&&T.onClick(T.chartType,q)},children:(0,r.jsx)("div",{ref:o})})},_r=function(T){var o=T.setAppState,g=T.appState,R=T.onClose,q=La().onInsertElements,de=J().useCallback(function(){R&&R()},[R]),ne=function(B,X){q(X),(0,l.L)("magic","chart",B),o({currentChartType:B,pasteDialog:{shown:!1,data:null}})};return(0,r.jsx)(yt.V,{size:"small",onCloseRequest:de,title:(0,M.t)("labels.pasteCharts"),className:"PasteChartDialog",autofocus:!1,children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)(ur,{chartType:"bar",spreadsheet:g.pasteDialog.data,selected:g.currentChartType==="bar",onClick:ne}),(0,r.jsx)(ur,{chartType:"line",spreadsheet:g.pasteDialog.data,selected:g.currentChartType==="line",onClick:ne})]})})},Cr=t(2978),Rr={};Rr.styleTagTransform=Ve(),Rr.setAttributes=Ze(),Rr.insert=be().bind(null,"head"),Rr.domAPI=Q(),Rr.insertStyleElement=Te(),K()(Cr.Z,Rr),Cr.Z&&Cr.Z.locals&&Cr.Z.locals;function Wr(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}var Lr=k().mark(fo);function zr(T,o){var g=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!g){if(Array.isArray(T)||(g=function(X,ke){if(X){if(typeof X=="string")return rn(X,ke);var Ie=Object.prototype.toString.call(X).slice(8,-1);if(Ie==="Object"&&X.constructor&&(Ie=X.constructor.name),Ie==="Map"||Ie==="Set")return Array.from(X);if(Ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return rn(X,ke)}}(T))||o&&T&&typeof T.length=="number"){g&&(T=g);var R=0,q=function(){};return{s:q,n:function(){return R>=T.length?{done:!0}:{done:!1,value:T[R++]}},e:function(X){throw X},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var de,ne=!0,B=!1;return{s:function(){g=g.call(T)},n:function(){var X=g.next();return ne=X.done,X},e:function(X){B=!0,de=X},f:function(){try{ne||g.return==null||g.return()}finally{if(B)throw de}}}}function rn(T,o){(o==null||o>T.length)&&(o=T.length);for(var g=0,R=new Array(o);g<o;g++)R[g]=T[g];return R}var mn=function(){return(0,r.jsxs)("div",{className:"HelpDialog__header",children:[(0,r.jsxs)("a",{className:"HelpDialog__btn",href:"https://docs.excalidraw.com",target:"_blank",rel:"noopener noreferrer",children:[(0,M.t)("helpDialog.documentation"),(0,r.jsx)("div",{className:"HelpDialog__link-icon",children:U.h0})]}),(0,r.jsxs)("a",{className:"HelpDialog__btn",href:"https://blog.excalidraw.com",target:"_blank",rel:"noopener noreferrer",children:[(0,M.t)("helpDialog.blog"),(0,r.jsx)("div",{className:"HelpDialog__link-icon",children:U.h0})]}),(0,r.jsxs)("a",{className:"HelpDialog__btn",href:"https://github.com/excalidraw/excalidraw/issues",target:"_blank",rel:"noopener noreferrer",children:[(0,M.t)("helpDialog.github"),(0,r.jsx)("div",{className:"HelpDialog__link-icon",children:U.h0})]})]})},Hn=function(T){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{children:T.title}),(0,r.jsx)("div",{className:"HelpDialog__islands-container",children:T.children})]})},qn=function(T){return(0,r.jsxs)("div",{className:"HelpDialog__island ".concat(T.className),children:[(0,r.jsx)("h4",{className:"HelpDialog__island-title",children:T.caption}),(0,r.jsx)("div",{className:"HelpDialog__island-content",children:T.children})]})};function fo(T,o){var g,R,q,de;return k().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:g=!0,R=zr(T),ne.prev=2,R.s();case 4:if((q=R.n()).done){ne.next=14;break}if(de=q.value,g){ne.next=9;break}return ne.next=9,o;case 9:return g=!1,ne.next=12,de;case 12:ne.next=4;break;case 14:ne.next=19;break;case 16:ne.prev=16,ne.t0=ne.catch(2),R.e(ne.t0);case 19:return ne.prev=19,R.f(),ne.finish(19);case 22:case"end":return ne.stop()}},Lr,null,[[2,16,19,22]])}var qr=function(T){var o=T.label,g=T.shortcuts,R=T.isOr,q=R===void 0||R,de=g.map(function(ne){return(ne.endsWith("++")?[].concat((0,w.Z)(ne.slice(0,-2).split("+")),["+"]):ne.split("+")).map(function(B){return(0,r.jsx)(Br,{children:(X=B,X.replace(/\b[a-z]\b/,function(ke){return ke.toUpperCase()}))},B);var X})});return(0,r.jsxs)("div",{className:"HelpDialog__shortcut",children:[(0,r.jsx)("div",{children:o}),(0,r.jsx)("div",{className:"HelpDialog__key-container",children:(0,w.Z)(fo(de,q?(0,M.t)("helpDialog.or"):null))})]})},Br=function(T){return(0,r.jsx)("kbd",function(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?Wr(Object(R),!0).forEach(function(q){(0,N.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):Wr(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}({className:"HelpDialog__key"},T))},un=function(T){var o=T.onClose,g=J().useCallback(function(){o&&o()},[o]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(yt.V,{onCloseRequest:g,title:(0,M.t)("helpDialog.title"),className:"HelpDialog",children:[(0,r.jsx)(mn,{}),(0,r.jsxs)(Hn,{title:(0,M.t)("helpDialog.shortcuts"),children:[(0,r.jsxs)(qn,{className:"HelpDialog__island--tools",caption:(0,M.t)("helpDialog.tools"),children:[(0,r.jsx)(qr,{label:(0,M.t)("toolBar.hand"),shortcuts:[A.tW.H]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.selection"),shortcuts:[A.tW.V,A.tW[1]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.rectangle"),shortcuts:[A.tW.R,A.tW[2]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.diamond"),shortcuts:[A.tW.D,A.tW[3]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.ellipse"),shortcuts:[A.tW.O,A.tW[4]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.arrow"),shortcuts:[A.tW.A,A.tW[5]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.line"),shortcuts:[A.tW.L,A.tW[6]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.freedraw"),shortcuts:[A.tW.P,A.tW[7]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.text"),shortcuts:[A.tW.T,A.tW[8]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.image"),shortcuts:[A.tW[9]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.eraser"),shortcuts:[A.tW.E,A.tW[0]]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.frame"),shortcuts:[A.tW.F]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.laser"),shortcuts:[A.tW.K]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.eyeDropper"),shortcuts:[A.tW.I,"Shift+S","Shift+G"]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.editLineArrowPoints"),shortcuts:[(0,h.uY)("CtrlOrCmd+Enter")]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.editText"),shortcuts:[(0,h.uY)("Enter")]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.textNewLine"),shortcuts:[(0,h.uY)("Enter"),(0,h.uY)("Shift+Enter")]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.textFinish"),shortcuts:[(0,h.uY)("Esc"),(0,h.uY)("CtrlOrCmd+Enter")]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.curvedArrow"),shortcuts:["A",(0,M.t)("helpDialog.click"),(0,M.t)("helpDialog.click"),(0,M.t)("helpDialog.click")],isOr:!1}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.curvedLine"),shortcuts:["L",(0,M.t)("helpDialog.click"),(0,M.t)("helpDialog.click"),(0,M.t)("helpDialog.click")],isOr:!1}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.lock"),shortcuts:[A.tW.Q]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.preventBinding"),shortcuts:[(0,h.uY)("CtrlOrCmd")]}),(0,r.jsx)(qr,{label:(0,M.t)("toolBar.link"),shortcuts:[(0,h.uY)("CtrlOrCmd+K")]})]}),(0,r.jsxs)(qn,{className:"HelpDialog__island--view",caption:(0,M.t)("helpDialog.view"),children:[(0,r.jsx)(qr,{label:(0,M.t)("buttons.zoomIn"),shortcuts:[(0,h.uY)("CtrlOrCmd++")]}),(0,r.jsx)(qr,{label:(0,M.t)("buttons.zoomOut"),shortcuts:[(0,h.uY)("CtrlOrCmd+-")]}),(0,r.jsx)(qr,{label:(0,M.t)("buttons.resetZoom"),shortcuts:[(0,h.uY)("CtrlOrCmd+0")]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.zoomToFit"),shortcuts:["Shift+1"]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.zoomToSelection"),shortcuts:["Shift+2"]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.movePageUpDown"),shortcuts:["PgUp/PgDn"]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.movePageLeftRight"),shortcuts:["Shift+PgUp/PgDn"]}),(0,r.jsx)(qr,{label:(0,M.t)("buttons.zenMode"),shortcuts:[(0,h.uY)("Alt+Z")]}),(0,r.jsx)(qr,{label:(0,M.t)("buttons.objectsSnapMode"),shortcuts:[(0,h.uY)("Alt+S")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.showGrid"),shortcuts:[(0,h.uY)("CtrlOrCmd+'")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.viewMode"),shortcuts:[(0,h.uY)("Alt+R")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.toggleTheme"),shortcuts:[(0,h.uY)("Alt+Shift+D")]}),(0,r.jsx)(qr,{label:(0,M.t)("stats.title"),shortcuts:[(0,h.uY)("Alt+/")]})]}),(0,r.jsxs)(qn,{className:"HelpDialog__island--editor",caption:(0,M.t)("helpDialog.editor"),children:[(0,r.jsx)(qr,{label:(0,M.t)("labels.moveCanvas"),shortcuts:[(0,h.uY)("Space+".concat((0,M.t)("helpDialog.drag"))),(0,h.uY)("Wheel+".concat((0,M.t)("helpDialog.drag")))],isOr:!0}),(0,r.jsx)(qr,{label:(0,M.t)("buttons.clearReset"),shortcuts:[(0,h.uY)("CtrlOrCmd+Delete")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.delete"),shortcuts:[(0,h.uY)("Delete")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.cut"),shortcuts:[(0,h.uY)("CtrlOrCmd+X")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.copy"),shortcuts:[(0,h.uY)("CtrlOrCmd+C")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.paste"),shortcuts:[(0,h.uY)("CtrlOrCmd+V")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.pasteAsPlaintext"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+V")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.selectAll"),shortcuts:[(0,h.uY)("CtrlOrCmd+A")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.multiSelect"),shortcuts:[(0,h.uY)("Shift+".concat((0,M.t)("helpDialog.click")))]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.deepSelect"),shortcuts:[(0,h.uY)("CtrlOrCmd+".concat((0,M.t)("helpDialog.click")))]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.deepBoxSelect"),shortcuts:[(0,h.uY)("CtrlOrCmd+".concat((0,M.t)("helpDialog.drag")))]}),(E.vt||d.vU)&&(0,r.jsx)(qr,{label:(0,M.t)("labels.copyAsPng"),shortcuts:[(0,h.uY)("Shift+Alt+C")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.copyStyles"),shortcuts:[(0,h.uY)("CtrlOrCmd+Alt+C")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.pasteStyles"),shortcuts:[(0,h.uY)("CtrlOrCmd+Alt+V")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.sendToBack"),shortcuts:[d.Um?(0,h.uY)("CtrlOrCmd+Alt+["):(0,h.uY)("CtrlOrCmd+Shift+[")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.bringToFront"),shortcuts:[d.Um?(0,h.uY)("CtrlOrCmd+Alt+]"):(0,h.uY)("CtrlOrCmd+Shift+]")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.sendBackward"),shortcuts:[(0,h.uY)("CtrlOrCmd+[")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.bringForward"),shortcuts:[(0,h.uY)("CtrlOrCmd+]")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.alignTop"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+Up")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.alignBottom"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+Down")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.alignLeft"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+Left")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.alignRight"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+Right")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.duplicateSelection"),shortcuts:[(0,h.uY)("CtrlOrCmd+D"),(0,h.uY)("Alt+".concat((0,M.t)("helpDialog.drag")))]}),(0,r.jsx)(qr,{label:(0,M.t)("helpDialog.toggleElementLock"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+L")]}),(0,r.jsx)(qr,{label:(0,M.t)("buttons.undo"),shortcuts:[(0,h.uY)("CtrlOrCmd+Z")]}),(0,r.jsx)(qr,{label:(0,M.t)("buttons.redo"),shortcuts:d.ED?[(0,h.uY)("CtrlOrCmd+Y"),(0,h.uY)("CtrlOrCmd+Shift+Z")]:[(0,h.uY)("CtrlOrCmd+Shift+Z")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.group"),shortcuts:[(0,h.uY)("CtrlOrCmd+G")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.ungroup"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+G")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.flipHorizontal"),shortcuts:[(0,h.uY)("Shift+H")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.flipVertical"),shortcuts:[(0,h.uY)("Shift+V")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.showStroke"),shortcuts:[(0,h.uY)("S")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.showBackground"),shortcuts:[(0,h.uY)("G")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.decreaseFontSize"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+<")]}),(0,r.jsx)(qr,{label:(0,M.t)("labels.increaseFontSize"),shortcuts:[(0,h.uY)("CtrlOrCmd+Shift+>")]})]})]})]})})},wn=t(4704),Wn=t(4241),io={};io.styleTagTransform=Ve(),io.setAttributes=Ze(),io.insert=be().bind(null,"head"),io.domAPI=Q(),io.insertStyleElement=Te(),K()(Wn.Z,io),Wn.Z&&Wn.Z.locals&&Wn.Z.locals;var go=function(T){var o,g=T.children,R=T.color;return(0,r.jsx)("div",{className:"Card",style:(o={},(0,N.Z)(o,"--card-color",R==="primary"?"var(--color-primary)":Gt[R][7]),(0,N.Z)(o,"--card-color-darker",R==="primary"?"var(--color-primary-darker)":Gt[R][8]),(0,N.Z)(o,"--card-color-darkest",R==="primary"?"var(--color-primary-darkest)":Gt[R][9]),o),children:g})},vo=t(7955),ho={};ho.styleTagTransform=Ve(),ho.setAttributes=Ze(),ho.insert=be().bind(null,"head"),ho.domAPI=Q(),ho.insertStyleElement=Te(),K()(vo.Z,ho),vo.Z&&vo.Z.locals&&vo.Z.locals;var Mo=function(T){var o=T.elements,g=T.appState,R=T.setAppState,q=T.files,de=T.actionManager,ne=T.exportOpts,B=T.canvas,X=T.onCloseRequest,ke=ne.onExportToBackend;return(0,r.jsx)("div",{className:"ExportDialog ExportDialog--json",children:(0,r.jsxs)("div",{className:"ExportDialog-cards",children:[ne.saveFileToDisk&&(0,r.jsxs)(go,{color:"lime",children:[(0,r.jsx)("div",{className:"Card-icon",children:U.TP}),(0,r.jsx)("h2",{children:(0,M.t)("exportDialog.disk_title")}),(0,r.jsxs)("div",{className:"Card-details",children:[(0,M.t)("exportDialog.disk_details"),!tr.kr&&de.renderAction("changeProjectName")]}),(0,r.jsx)(H.V,{className:"Card-button",type:"button",title:(0,M.t)("exportDialog.disk_button"),"aria-label":(0,M.t)("exportDialog.disk_button"),showAriaLabel:!0,onClick:function(){de.executeAction(Bt.mM,"ui")}})]}),ke&&(0,r.jsxs)(go,{color:"pink",children:[(0,r.jsx)("div",{className:"Card-icon",children:U.xP}),(0,r.jsx)("h2",{children:(0,M.t)("exportDialog.link_title")}),(0,r.jsx)("div",{className:"Card-details",children:(0,M.t)("exportDialog.link_details")}),(0,r.jsx)(H.V,{className:"Card-button",type:"button",title:(0,M.t)("exportDialog.link_button"),"aria-label":(0,M.t)("exportDialog.link_button"),showAriaLabel:!0,onClick:(0,m.Z)(k().mark(function Ie(){return k().wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return Pe.prev=0,(0,l.L)("export","link","ui (".concat((0,h.$h)(),")")),Pe.next=4,ke(o,g,q,B);case 4:X(),Pe.next=10;break;case 7:Pe.prev=7,Pe.t0=Pe.catch(0),R({errorMessage:Pe.t0.message});case 10:case"end":return Pe.stop()}},Ie,null,[[0,7]])}))})]}),ne.renderCustomUI&&ne.renderCustomUI(o,g,q,B)]})})},yi=function(T){var o=T.elements,g=T.appState,R=T.files,q=T.actionManager,de=T.exportOpts,ne=T.canvas,B=T.setAppState,X=J().useCallback(function(){B({openDialog:null})},[B]);return(0,r.jsx)(r.Fragment,{children:g.openDialog==="jsonExport"&&(0,r.jsx)(yt.V,{onCloseRequest:X,title:(0,M.t)("buttons.export"),children:(0,r.jsx)(Mo,{elements:o,appState:g,setAppState:B,files:R,actionManager:q,onCloseRequest:X,exportOpts:de,canvas:ne})})})},_i=t(7080),sa=function(T){return(0,r.jsx)("button",{className:"help-icon",onClick:T.onClick,type:"button",title:"".concat((0,M.t)("helpDialog.title")," — ?"),"aria-label":(0,M.t)("helpDialog.title"),children:U.by})},ua=function(T){var o=T.appState,g=T.actionManager,R=T.showExitZenModeBtn,q=T.renderWelcomeScreen,de=(0,De.R6)(),ne=de.FooterCenterTunnel,B=de.WelcomeScreenHelpHintTunnel,X=Za(),ke=!o.viewModeEnabled&&o.multiElement&&X.isTouchScreen;return(0,r.jsxs)("footer",{role:"contentinfo",className:"layer-ui__wrapper__footer App-menu App-menu_bottom",children:[(0,r.jsx)("div",{className:(0,ve.Z)("layer-ui__wrapper__footer-left zen-mode-transition",{"layer-ui__wrapper__footer-left--transition-left":o.zenModeEnabled}),children:(0,r.jsx)(Qe.Z.Col,{gap:2,children:(0,r.jsxs)(Zn,{heading:"canvasActions",children:[(0,r.jsx)(ot,{renderAction:g.renderAction,zoom:o.zoom}),!o.viewModeEnabled&&(0,r.jsx)(mt,{renderAction:g.renderAction,className:(0,ve.Z)("zen-mode-transition",{"layer-ui__wrapper__footer-left--transition-bottom":o.zenModeEnabled})}),ke&&(0,r.jsx)(ht,{renderAction:g.renderAction,className:(0,ve.Z)("zen-mode-transition",{"layer-ui__wrapper__footer-left--transition-left":o.zenModeEnabled})})]})})}),(0,r.jsx)(ne.Out,{}),(0,r.jsx)("div",{className:(0,ve.Z)("layer-ui__wrapper__footer-right zen-mode-transition",{"transition-right":o.zenModeEnabled}),children:(0,r.jsxs)("div",{style:{position:"relative"},children:[q&&(0,r.jsx)(B.Out,{}),(0,r.jsx)(sa,{onClick:function(){return g.executeAction(G.jY)}})]})}),(0,r.jsx)(pt,{actionManager:g,showExitZenModeBtn:R})]})},Vi=ua;ua.displayName="Footer";var Xi=t(5902),Qo=t(453),Uo=t(3607),yo=t(7021),jo=t(8973),da=t(6922),$i=t(7827),ni=function(T){var o=T.title,g=T.children,R=T.actionLabel,q=T.onClick;return(0,r.jsxs)("div",{className:"OverwriteConfirm__Actions__Action",children:[(0,r.jsx)("h4",{children:o}),(0,r.jsx)("div",{className:"OverwriteConfirm__Actions__Action__content",children:g}),(0,r.jsx)(Rt,{variant:"outlined",color:"muted",label:R,size:"large",fullWidth:!0,onClick:q})]})},No=Object.assign(function(T){var o=T.children;return(0,r.jsx)("div",{className:"OverwriteConfirm__Actions",children:o})},{ExportToImage:function(){var T=(0,M.QT)().t,o=Ga(),g=qa();return(0,r.jsx)(ni,{title:T("overwriteConfirm.action.exportToImage.title"),actionLabel:T("overwriteConfirm.action.exportToImage.button"),onClick:function(){o.executeAction(Bt.Du,"ui",!0),g({openDialog:"imageExport"})},children:T("overwriteConfirm.action.exportToImage.description")})},SaveToDisk:function(){var T=(0,M.QT)().t,o=Ga();return(0,r.jsx)(ni,{title:T("overwriteConfirm.action.saveToDisk.title"),actionLabel:T("overwriteConfirm.action.saveToDisk.button"),onClick:function(){o.executeAction(G.mM,"ui")},children:T("overwriteConfirm.action.saveToDisk.description")})}}),Ko=t(9439),Go={};Go.styleTagTransform=Ve(),Go.setAttributes=Ze(),Go.insert=be().bind(null,"head"),Go.domAPI=Q(),Go.insertStyleElement=Te(),K()(Ko.Z,Go),Ko.Z&&Ko.Z.locals&&Ko.Z.locals;function ei(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function si(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?ei(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):ei(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}var Xo=Object.assign((0,da.$)("OverwriteConfirmDialog",function(T){var o=T.children,g=(0,De.R6)().OverwriteConfirmDialogTunnel,R=(0,Uo.KO)($i.K,Qo.yE),q=(0,P.Z)(R,2),de=q[0],ne=q[1];return de.active?(0,r.jsx)(g.In,{children:(0,r.jsx)(yt.V,{onCloseRequest:function(){de.onClose(),ne(function(B){return si(si({},B),{},{active:!1})})},title:!1,size:916,children:(0,r.jsxs)("div",{className:"OverwriteConfirm",children:[(0,r.jsx)("h3",{children:de.title}),(0,r.jsxs)("div",{className:"OverwriteConfirm__Description OverwriteConfirm__Description--color-".concat(de.color),children:[(0,r.jsx)("div",{className:"OverwriteConfirm__Description__icon",children:U.UT}),(0,r.jsx)("div",{children:de.description}),(0,r.jsx)("div",{className:"OverwriteConfirm__Description__spacer"}),(0,r.jsx)(Rt,{color:de.color,size:"large",label:de.actionLabel,onClick:function(){de.onConfirm(),ne(function(B){return si(si({},B),{},{active:!1})})}})]}),(0,r.jsx)(No,{children:o})]})})}):null}),{Actions:No,Action:ni}),ui=t(100),Hi=t(1925),Oi=t(8924),xi=t(1434),_o={};_o.styleTagTransform=Ve(),_o.setAttributes=Ze(),_o.insert=be().bind(null,"head"),_o.domAPI=Q(),_o.insertStyleElement=Te(),K()(xi.Z,_o),xi.Z&&xi.Z.locals&&xi.Z.locals;var ko=t(9144),$o={};$o.styleTagTransform=Ve(),$o.setAttributes=Ze(),$o.insert=be().bind(null,"head"),$o.domAPI=Q(),$o.insertStyleElement=Te(),K()(ko.Z,$o),ko.Z&&ko.Z.locals&&ko.Z.locals;var Po=t(2921),oi=function(T){return(0,r.jsxs)("label",{className:(0,ve.Z)("ToolIcon ToolIcon__LaserPointer","ToolIcon_size_".concat("small"),{"is-mobile":T.isMobile}),title:"".concat(T.title),children:[(0,r.jsx)("input",{className:"ToolIcon_type_checkbox",type:"checkbox",name:T.name,onChange:T.onChange,checked:T.checked,"aria-label":T.title,"data-testid":"toolbar-LaserPointer"}),(0,r.jsx)("div",{className:"ToolIcon__icon",children:U.d})]})},fa=["suggestedBindings","startBoundElement","cursorButton","scrollX","scrollY"],qi=["canvas","appState"],_a=["canvas","appState"];function Wi(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function Ci(T,o){var g=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!g){if(Array.isArray(T)||(g=function(X,ke){if(X){if(typeof X=="string")return di(X,ke);var Ie=Object.prototype.toString.call(X).slice(8,-1);if(Ie==="Object"&&X.constructor&&(Ie=X.constructor.name),Ie==="Map"||Ie==="Set")return Array.from(X);if(Ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return di(X,ke)}}(T))||o&&T&&typeof T.length=="number"){g&&(T=g);var R=0,q=function(){};return{s:q,n:function(){return R>=T.length?{done:!0}:{done:!1,value:T[R++]}},e:function(X){throw X},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var de,ne=!0,B=!1;return{s:function(){g=g.call(T)},n:function(){var X=g.next();return ne=X.done,X},e:function(X){B=!0,de=X},f:function(){try{ne||g.return==null||g.return()}finally{if(B)throw de}}}}function di(T,o){(o==null||o>T.length)&&(o=T.length);for(var g=0,R=new Array(o);g<o;g++)R[g]=T[g];return R}var fi=function(T){var o=T.UIOptions;return(0,r.jsxs)(yo.Z,{__fallback:!0,children:[(0,r.jsx)(yo.Z.DefaultItems.LoadScene,{}),(0,r.jsx)(yo.Z.DefaultItems.SaveToActiveFile,{}),o.canvasActions.export&&(0,r.jsx)(yo.Z.DefaultItems.Export,{}),o.canvasActions.saveAsImage&&(0,r.jsx)(yo.Z.DefaultItems.SaveAsImage,{}),(0,r.jsx)(yo.Z.DefaultItems.Help,{}),(0,r.jsx)(yo.Z.DefaultItems.ClearCanvas,{}),(0,r.jsx)(yo.Z.Separator,{}),(0,r.jsx)(yo.Z.Group,{title:"Excalidraw links",children:(0,r.jsx)(yo.Z.DefaultItems.Socials,{})}),(0,r.jsx)(yo.Z.Separator,{}),(0,r.jsx)(yo.Z.DefaultItems.ToggleTheme,{}),(0,r.jsx)(yo.Z.DefaultItems.ChangeCanvasBackground,{})]})},Oa=function(){return(0,r.jsxs)(Xo,{__fallback:!0,children:[(0,r.jsx)(Xo.Actions.SaveToDisk,{}),(0,r.jsx)(Xo.Actions.ExportToImage,{})]})},Ca=function(T){var o,g,R=T.actionManager,q=T.appState,de=T.files,ne=T.setAppState,B=T.elements,X=T.canvas,ke=T.onLockToggle,Ie=T.onHandToolToggle,Pe=T.onPenModeToggle,Fe=T.showExitZenModeBtn,Ge=T.renderTopRightUI,qe=T.renderCustomStats,it=T.UIOptions,st=T.onExportImage,kt=T.renderWelcomeScreen,Lt=T.children,bt=T.app,vt=T.isCollaborating,jt=Za(),Nt=(0,De.ZC)(),Vt=(0,Uo.KO)(Oi.$,Qo.yE),Zt=(0,P.Z)(Vt,2),Ht=Zt[0],or=Zt[1],Er=function(){return it.canvasActions.export?(0,r.jsx)(yi,{elements:B,appState:q,files:de,actionManager:R,exportOpts:it.canvasActions.export,canvas:X,setAppState:ne}):null},Zr=function(){return it.canvasActions.saveAsImage&&q.openDialog==="imageExport"?(0,r.jsx)(dr,{elements:B,appState:q,files:de,actionManager:R,onExportImage:st,onCloseRequest:function(){return ne({openDialog:null})}}):null},Kr=function(){return(0,r.jsx)(Hi.O,{__fallback:!0,onDock:function(Ur){(0,l.L)("sidebar","toggleDock (".concat(Ur?"dock":"undock",")"),"(".concat(jt.editor.isMobile?"mobile":"desktop",")"))}})},tn=(0,Uo.Dv)(Xi.t6,Qo.yE),nn=(0,r.jsxs)(r.Fragment,{children:[Lt,(0,r.jsx)(fi,{UIOptions:it}),(0,r.jsx)(Hi.O.Trigger,{__fallback:!0,icon:U.Vq,title:(0,h.Oo)((0,M.t)("toolBar.library")),onToggle:function(Ur){Ur&&(0,l.L)("sidebar","".concat(d.Cc.name," (open)"),"button (".concat(jt.editor.isMobile?"mobile":"desktop",")"))},tab:d.Cc.defaultTab,children:(0,M.t)("toolBar.library")}),(0,r.jsx)(Oa,{}),q.isLoading&&(0,r.jsx)(jr.z,{delay:250}),q.errorMessage&&(0,r.jsx)(Ct,{onClose:function(){return ne({errorMessage:null})},children:q.errorMessage}),Ht&&!jt.editor.isMobile&&(0,r.jsx)(Oi.p,{colorPickerType:Ht.colorPickerType,onCancel:function(){or(null)},onChange:function(Ur,Gr,Xr,Yr){var cn=Yr.altKey;if(Ur==="elementBackground"||Ur==="elementStroke")if(Xr.length){var gn,hn,xn=Ci(Xr);try{for(xn.s();!(hn=xn.n()).done;){var sn=hn.value;(0,b.DR)(sn,(0,N.Z)({},cn&&Ht.swapPreviewOnAlt?Ur==="elementBackground"?"strokeColor":"backgroundColor":Ur==="elementBackground"?"backgroundColor":"strokeColor",Gr),!1),Po.R.delete(sn)}}catch(on){xn.e(on)}finally{xn.f()}(gn=se.Z.getScene(Xr[0]))===null||gn===void 0||gn.informMutation()}else ne(Ur==="elementBackground"?{currentItemBackgroundColor:Gr}:{currentItemStrokeColor:Gr})},onSelect:function(Ur,Gr){var Xr;or(function(Yr){return Yr!=null&&Yr.keepOpenOnAlt&&Gr.altKey?Yr:null}),Ht==null||(Xr=Ht.onSelect)===null||Xr===void 0||Xr.call(Ht,Ur,Gr)}}),q.openDialog==="help"&&(0,r.jsx)(un,{onClose:function(){ne({openDialog:null})}}),(0,r.jsx)(jo.o,{}),(0,r.jsx)(Nt.OverwriteConfirmDialogTunnel.Out,{}),Zr(),Er(),q.pasteDialog.shown&&(0,r.jsx)(_r,{setAppState:ne,appState:q,onClose:function(){return ne({pasteDialog:{shown:!1,data:null}})}}),jt.editor.isMobile&&(0,r.jsx)(St,{app:bt,appState:q,elements:B,actionManager:R,renderJSONExportDialog:Er,renderImageExportDialog:Zr,setAppState:ne,onLockToggle:ke,onHandToolToggle:Ie,onPenModeToggle:Pe,renderTopRightUI:Ge,renderCustomStats:qe,renderSidebars:Kr,device:jt,renderWelcomeScreen:kt,UIOptions:it}),!jt.editor.isMobile&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"layer-ui__wrapper",style:q.openSidebar&&tn&&jt.editor.canFitSidebar?{width:"calc(100% - ".concat(d.EE,"px)")}:{},children:[kt&&(0,r.jsx)(Nt.WelcomeScreenCenterTunnel.Out,{}),(g=(0,te.RT)(q,B),(0,r.jsx)(Ir,{side:"top",children:(0,r.jsxs)("div",{className:"App-menu App-menu_top",children:[(0,r.jsxs)(Qe.Z.Col,{gap:6,className:(0,ve.Z)("App-menu_top__left"),children:[(0,r.jsxs)("div",{style:{position:"relative"},children:[(0,r.jsx)(Nt.MainMenuTunnel.Out,{}),kt&&(0,r.jsx)(Nt.WelcomeScreenMenuHintTunnel.Out,{})]}),g&&(0,r.jsx)(Zn,{heading:"selectedShapeActions",className:(0,ve.Z)("selected-shape-actions zen-mode-transition",{"transition-left":q.zenModeEnabled}),children:(0,r.jsx)(pr.W,{className:d.$C.SHAPE_ACTIONS_MENU,padding:2,style:{maxHeight:"".concat(q.height-166,"px")},children:(0,r.jsx)(Yt,{appState:q,elements:B,renderAction:R.renderAction})})})]}),!q.viewModeEnabled&&(0,r.jsx)(Zn,{heading:"shapes",className:"shapes-section",children:function(Ur){return(0,r.jsxs)("div",{style:{position:"relative"},children:[kt&&(0,r.jsx)(Nt.WelcomeScreenToolbarHintTunnel.Out,{}),(0,r.jsx)(Qe.Z.Col,{gap:4,align:"start",children:(0,r.jsxs)(Qe.Z.Row,{gap:1,className:(0,ve.Z)("App-toolbar-container",{"zen-mode":q.zenModeEnabled}),children:[(0,r.jsxs)(pr.W,{padding:1,className:(0,ve.Z)("App-toolbar",{"zen-mode":q.zenModeEnabled}),children:[(0,r.jsx)(fr,{appState:q,isMobile:jt.editor.isMobile,device:jt,app:bt}),Ur,(0,r.jsxs)(Qe.Z.Row,{gap:1,children:[(0,r.jsx)(Cn,{zenModeEnabled:q.zenModeEnabled,checked:q.penMode,onChange:function(){return Pe(null)},title:(0,M.t)("toolBar.penMode"),penDetected:q.penDetected}),(0,r.jsx)(Mr,{checked:q.activeTool.locked,onChange:ke,title:(0,M.t)("toolBar.lock")}),(0,r.jsx)("div",{className:"App-toolbar__divider"}),(0,r.jsx)(_e,{checked:(0,_.l$)(q),onChange:function(){return Ie()},title:(0,M.t)("toolBar.hand"),isMobile:!0}),(0,r.jsx)(lt,{appState:q,activeTool:q.activeTool,UIOptions:it,app:bt})]})]}),vt&&(0,r.jsx)(pr.W,{style:{marginLeft:8,alignSelf:"center",height:"fit-content"},children:(0,r.jsx)(oi,{title:(0,M.t)("toolBar.laser"),checked:q.activeTool.type==="laser",onChange:function(){return bt.setActiveTool({type:"laser"})},isMobile:!0})})]})})]})}}),(0,r.jsxs)("div",{className:(0,ve.Z)("layer-ui__wrapper__top-right zen-mode-transition",{"transition-right":q.zenModeEnabled}),children:[(0,r.jsx)(wn.Z,{collaborators:q.collaborators}),Ge?.(jt.editor.isMobile,q),!q.viewModeEnabled&&(!tn||((o=q.openSidebar)===null||o===void 0?void 0:o.name)!==d.Cc.name)&&(0,r.jsx)(Nt.DefaultSidebarTriggerTunnel.Out,{})]})]})})),(0,r.jsx)(Vi,{appState:q,actionManager:R,showExitZenModeBtn:Fe,renderWelcomeScreen:kt}),q.showStats&&(0,r.jsx)(pe,{appState:q,setAppState:ne,elements:B,onClose:function(){R.executeAction(_i.u)},renderCustomStats:qe}),q.scrolledOutside&&(0,r.jsx)("button",{className:"scroll-back-to-content",onClick:function(){ne(function(Ur){return function(Gr){for(var Xr=1;Xr<arguments.length;Xr++){var Yr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Wi(Object(Yr),!0).forEach(function(cn){(0,N.Z)(Gr,cn,Yr[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Gr,Object.getOwnPropertyDescriptors(Yr)):Wi(Object(Yr)).forEach(function(cn){Object.defineProperty(Gr,cn,Object.getOwnPropertyDescriptor(Yr,cn))})}return Gr}({},(0,ue.W)(B,Ur))})},children:(0,M.t)("buttons.scrollBackToContent")})]}),Kr()]})]});return(0,r.jsx)(ui.k.Provider,{value:q,children:(0,r.jsx)(Uo.zt,{scope:Nt.jotaiScope,children:(0,r.jsx)(De.A3.Provider,{value:Nt,children:nn})})})},Ji=function(T){return T.suggestedBindings,T.startBoundElement,T.cursorButton,T.scrollX,T.scrollY,(0,Ye.Z)(T,fa)},Qi=function(T,o){if(T.children!==o.children)return!1;T.canvas;var g=T.appState,R=(0,Ye.Z)(T,qi),q=(o.canvas,o.appState),de=(0,Ye.Z)(o,_a);return(0,h.w8)(Ji(g),Ji(q),{selectedElementIds:h.w8,selectedGroupIds:h.w8})&&(0,h.w8)(R,de)},Ia=J().memo(Ca,Qi),Fi=t(9650),To={};To.styleTagTransform=Ve(),To.setAttributes=Ze(),To.insert=be().bind(null,"head"),To.domAPI=Q(),To.insertStyleElement=Te(),K()(Fi.Z,To),Fi.Z&&Fi.Z.locals&&Fi.Z.locals;var qo=function(T){var o=T.message,g=T.onClose,R=T.closable,q=R!==void 0&&R,de=T.duration,ne=de===void 0?5e3:de,B=(0,S.useRef)(0),X=ne!==1/0,ke=(0,S.useCallback)(function(){X&&(B.current=window.setTimeout(function(){return g()},ne))},[g,ne,X]);(0,S.useEffect)(function(){if(X)return ke(),function(){return clearTimeout(B.current)}},[ke,o,ne,X]);var Ie=X?function(){return clearTimeout(B?.current)}:void 0,Pe=X?ke:void 0;return(0,r.jsxs)("div",{className:"Toast",onMouseEnter:Ie,onMouseLeave:Pe,children:[(0,r.jsx)("p",{className:"Toast__message",children:o}),q&&(0,r.jsx)(H.V,{icon:U.Tw,"aria-label":"close",type:"icon",onClick:g,className:"close"})]})};function pa(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function ea(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?pa(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):pa(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}var Ui=(0,L.z)({name:"viewMode",viewMode:!0,trackEvent:{category:"canvas",predicate:function(T){return!T.viewModeEnabled}},perform:function(T,o){return{appState:ea(ea({},o),{},{viewModeEnabled:!this.checked(o)}),commitToHistory:!1}},checked:function(T){return T.viewModeEnabled},predicate:function(T,o,g){return g.viewModeEnabled===void 0},contextItemLabel:"labels.viewMode",keyTest:function(T){return!T[A.tW.CTRL_OR_CMD]&&T.altKey&&T.code===A.aU.R}}),wi=t(4178),Ii=t(200),ha=t.n(Ii),ma=t(3528),ii=t(5992),Yo=t(8020),Mi=t(4048),ta=t(9672);function Pi(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}var Ki=(0,I.Z)(function T(o){var g=this,R=o.scene,q=o.onSceneUpdated;(0,v.Z)(this,T),this.onFontsLoaded=function(de){if(de.every(function(B){var X="".concat(B.family,"-").concat(B.style,"-").concat(B.weight);return!!T.loadedFontFaces.has(X)||(T.loadedFontFaces.add(X),!1)}))return!1;var ne=!1;g.scene.mapElements(function(B){return(0,te.iB)(B)&&!(0,Y.Xh)(B)?(Po.R.delete(B),ne=!0,(0,b.BE)(B,function(X){for(var ke=1;ke<arguments.length;ke++){var Ie=arguments[ke]!=null?arguments[ke]:{};ke%2?Pi(Object(Ie),!0).forEach(function(Pe){(0,N.Z)(X,Pe,Ie[Pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(Ie)):Pi(Object(Ie)).forEach(function(Pe){Object.defineProperty(X,Pe,Object.getOwnPropertyDescriptor(Ie,Pe))})}return X}({},(0,te.JZ)(B)))):B}),ne&&g.onSceneUpdated()},this.loadFontsForElements=function(){var de=(0,m.Z)(k().mark(function ne(B){var X;return k().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,Promise.all((0,w.Z)(new Set(B.filter(function(Ie){return(0,te.iB)(Ie)}).map(function(Ie){return Ie.fontFamily}))).map(function(Ie){var Pe,Fe,Ge,qe,it=(0,h.mO)({fontFamily:Ie,fontSize:16});if((Pe=document.fonts)===null||Pe===void 0||(Fe=Pe.check)===null||Fe===void 0||!Fe.call(Pe,it))return(Ge=document.fonts)===null||Ge===void 0||(qe=Ge.load)===null||qe===void 0?void 0:qe.call(Ge,it)}));case 2:X=ke.sent,g.onFontsLoaded(X.flat().filter(Boolean));case 4:case"end":return ke.stop()}},ne)}));return function(ne){return de.apply(this,arguments)}}(),this.scene=R,this.onSceneUpdated=q});Ki.loadedFontFaces=new Set;var so=t(4682),bn=t(6264),Vn=t(5047),Pn=t(7652);function Tn(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function Do(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?Tn(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):Tn(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}var Ao=function(T,o){var g=o.scene.getSelectedElements(T);return g.length===1&&g[0].type==="frame"},ga=(0,L.z)({name:"selectAllElementsInFrame",trackEvent:{category:"canvas"},perform:function(T,o,g,R){var q=R.scene.getSelectedElements(o)[0];if(q&&q.type==="frame"){var de=(0,so.zD)((0,te.Lm)(T),q.id).filter(function(ne){return!(ne.type==="text"&&ne.containerId)});return{elements:T,appState:Do(Do({},o),{},{selectedElementIds:de.reduce(function(ne,B){return ne[B.id]=!0,ne},{})}),commitToHistory:!1}}return{elements:T,appState:o,commitToHistory:!1}},contextItemLabel:"labels.selectAllElementsInFrame",predicate:function(T,o,g,R){return Ao(o,R)}}),Ma=(0,L.z)({name:"removeAllElementsFromFrame",trackEvent:{category:"history"},perform:function(T,o,g,R){var q=R.scene.getSelectedElements(o)[0];return q&&q.type==="frame"?{elements:(0,so.yZ)(T,q,o),appState:Do(Do({},o),{},{selectedElementIds:(0,N.Z)({},q.id,!0)}),commitToHistory:!0}:{elements:T,appState:o,commitToHistory:!1}},contextItemLabel:"labels.removeAllElementsFromFrame",predicate:function(T,o,g,R){return Ao(o,R)}}),va=((0,L.z)({name:"updateFrameRendering",viewMode:!0,trackEvent:{category:"canvas"},perform:function(T,o){return{elements:T,appState:Do(Do({},o),{},{frameRendering:Do(Do({},o.frameRendering),{},{enabled:!o.frameRendering.enabled})}),commitToHistory:!1}},contextItemLabel:"labels.updateFrameRendering",checked:function(T){return T.frameRendering.enabled}}),(0,L.z)({name:"setFrameAsActiveTool",trackEvent:{category:"toolbar"},perform:function(T,o,g,R){var q=(0,h.Om)(o,{type:"frame"});return(0,Pn.Uk)(R.interactiveCanvas,Do(Do({},o),{},{activeTool:q})),{elements:T,appState:Do(Do({},o),{},{activeTool:(0,h.Om)(o,{type:"frame"})}),commitToHistory:!1}},keyTest:function(T){return!T[A.tW.CTRL_OR_CMD]&&!T.shiftKey&&!T.altKey&&T.key.toLocaleLowerCase()===A.tW.F}}),t(6006)),ba=t(3506);function ya(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function ra(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?ya(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):ya(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}function Bo(T,o){var g=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!g){if(Array.isArray(T)||(g=function(X,ke){if(X){if(typeof X=="string")return Eo(X,ke);var Ie=Object.prototype.toString.call(X).slice(8,-1);if(Ie==="Object"&&X.constructor&&(Ie=X.constructor.name),Ie==="Map"||Ie==="Set")return Array.from(X);if(Ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return Eo(X,ke)}}(T))||o&&T&&typeof T.length=="number"){g&&(T=g);var R=0,q=function(){};return{s:q,n:function(){return R>=T.length?{done:!0}:{done:!1,value:T[R++]}},e:function(X){throw X},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var de,ne=!0,B=!1;return{s:function(){g=g.call(T)},n:function(){var X=g.next();return ne=X.done,X},e:function(X){B=!0,de=X},f:function(){try{ne||g.return==null||g.return()}finally{if(B)throw de}}}}function Eo(T,o){(o==null||o>T.length)&&(o=T.length);for(var g=0,R=new Array(o);g<o;g++)R[g]=T[g];return R}var Lo=function(T){return 8/T},Jn=(0,I.Z)(function T(){(0,v.Z)(this,T)});Jn.referenceSnapPoints=null,Jn.visibleGaps=null,Jn.setReferenceSnapPoints=function(T){Jn.referenceSnapPoints=T},Jn.getReferenceSnapPoints=function(){return Jn.referenceSnapPoints},Jn.setVisibleGaps=function(T){Jn.visibleGaps=T},Jn.getVisibleGaps=function(){return Jn.visibleGaps},Jn.destroy=function(){Jn.referenceSnapPoints=null,Jn.visibleGaps=null};var Qn=function(T){var o=T.event,g=T.appState,R=T.selectedElements;return o?g.objectsSnapModeEnabled&&!o[A.tW.CTRL_OR_CMD]||!g.objectsSnapModeEnabled&&o[A.tW.CTRL_OR_CMD]&&g.gridSize===null:(R.length!==1||R[0].type!=="arrow")&&g.objectsSnapModeEnabled},Zo=function(T){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{omitCenter:!1,boundingBoxCorners:!1},g=o.omitCenter,R=o.boundingBoxCorners,q=o.dragOffset,de=[];if(T.length===1){var ne=T[0],B=(0,vn.qf)(ne),X=(0,P.Z)(B,6),ke=X[0],Ie=X[1],Pe=X[2],Fe=X[3],Ge=X[4],qe=X[5];q&&(ke+=q.x,Pe+=q.x,Ge+=q.x,Ie+=q.y,Fe+=q.y,qe+=q.y);var it=(Pe-ke)/2,st=(Fe-Ie)/2;if(ne.type!=="diamond"&&ne.type!=="ellipse"||R){var kt=(0,ge.xj)([ke,Ie],[Ge,qe],ne.angle),Lt=(0,ge.xj)([Pe,Ie],[Ge,qe],ne.angle),bt=(0,ge.xj)([ke,Fe],[Ge,qe],ne.angle),vt=(0,ge.xj)([Pe,Fe],[Ge,qe],ne.angle),jt=[Ge,qe];de=g?[kt,Lt,bt,vt]:[kt,Lt,bt,vt,jt]}else{var Nt=(0,ge.xj)([ke,Ie+st],[Ge,qe],ne.angle),Vt=(0,ge.xj)([ke+it,Ie],[Ge,qe],ne.angle),Zt=(0,ge.xj)([Pe,Ie+st],[Ge,qe],ne.angle),Ht=(0,ge.xj)([ke+it,Fe],[Ge,qe],ne.angle),or=[Ge,qe];de=g?[Nt,Vt,Zt,Ht]:[Nt,Vt,Zt,Ht,or]}}else if(T.length>1){var Er=(0,vn.hC)(T,q??{x:0,y:0}),Zr=(0,P.Z)(Er,4),Kr=Zr[0],tn=Zr[1],nn=Zr[2],Ur=Zr[3],Gr=nn-Kr,Xr=Ur-tn,Yr=[Kr,tn],cn=[nn,tn],gn=[Kr,Ur],hn=[nn,Ur],xn=[Kr+Gr/2,tn+Xr/2];de=g?[Yr,cn,gn,hn]:[Yr,cn,gn,hn,xn]}return de.map(function(sn){return[ze(sn[0]),ze(sn[1])]})},ki=function(T,o,g){var R=o.filter(function(q){return(0,Y.He)(q)}).map(function(q){return q.id});return(0,bn.CF)(T,o,g).filter(function(q){return!(q.frameId&&R.includes(q.frameId))})},xa=function(T,o,g){var R=ki(T,o,g),q=(0,Ae.AI)(R).filter(function(Xr){return!(Xr.length===1&&(0,Y.Xh)(Xr[0]))}).map(function(Xr){return(0,vn.KP)(Xr).map(function(Yr){return ze(Yr)})}),de=q.sort(function(Xr,Yr){return Xr[0]-Yr[0]}),ne=[],B=0;e:for(var X=0;X<de.length;X++)for(var ke=de[X],Ie=X+1;Ie<de.length;Ie++){if(++B>99999)break e;var Pe=de[Ie],Fe=(0,P.Z)(ke,4),Ge=Fe[1],qe=Fe[2],it=Fe[3],st=(0,P.Z)(Pe,4),kt=st[0],Lt=st[1],bt=st[3];qe<kt&&(0,ge.ep)([Ge,it],[Lt,bt])&&ne.push({startBounds:ke,endBounds:Pe,startSide:[[qe,Ge],[qe,it]],endSide:[[kt,Lt],[kt,bt]],length:kt-qe,overlap:(0,ge.mW)([Ge,it],[Lt,bt])})}var vt=q.sort(function(Xr,Yr){return Xr[1]-Yr[1]}),jt=[];B=0;e:for(var Nt=0;Nt<vt.length;Nt++)for(var Vt=vt[Nt],Zt=Nt+1;Zt<vt.length;Zt++){if(++B>99999)break e;var Ht=vt[Zt],or=(0,P.Z)(Vt,4),Er=or[0],Zr=or[2],Kr=or[3],tn=(0,P.Z)(Ht,3),nn=tn[0],Ur=tn[1],Gr=tn[2];Kr<Ur&&(0,ge.ep)([Er,Zr],[nn,Gr])&&jt.push({startBounds:Vt,endBounds:Ht,startSide:[[Er,Kr],[Zr,Kr]],endSide:[[nn,Ur],[Gr,Ur]],length:Ur-Kr,overlap:(0,ge.mW)([Er,Zr],[nn,Gr])})}return{horizontalGaps:ne,verticalGaps:jt}},Ke=function(T,o,g,R,q,de,ne){if(!Qn({appState:g,event:R,selectedElements:T}))return[];if(T.length===0)return[];var B=Jn.getVisibleGaps();if(B){var X,ke=B.horizontalGaps,Ie=B.verticalGaps,Pe=(0,vn.hC)(T,o).map(function(Nn){return ze(Nn)}),Fe=(0,P.Z)(Pe,4),Ge=Fe[0],qe=Fe[1],it=Fe[2],st=Fe[3],kt=(Ge+it)/2,Lt=(qe+st)/2,bt=Bo(ke);try{for(bt.s();!(X=bt.n()).done;){var vt=X.value;if((0,ge.ep)([qe,st],vt.overlap)){var jt=vt.startSide[0][0]+vt.length/2,Nt=ze(jt-kt);if(vt.length>it-Ge&&Math.abs(Nt)<=ne.x){Math.abs(Nt)<ne.x&&(q.length=0),ne.x=Math.abs(Nt);var Vt={type:"gap",direction:"center_horizontal",gap:vt,offset:Nt};q.push(Vt)}else{var Zt=Ge-(0,P.Z)(vt.endBounds,3)[2],Ht=ze(vt.length-Zt);if(Math.abs(Ht)<=ne.x){Math.abs(Ht)<ne.x&&(q.length=0),ne.x=Math.abs(Ht);var or={type:"gap",direction:"side_right",gap:vt,offset:Ht};q.push(or)}else{var Er=(0,P.Z)(vt.startBounds,3)[0],Zr=ze(Er-it-vt.length);if(Math.abs(Zr)<=ne.x){Math.abs(Zr)<ne.x&&(q.length=0),ne.x=Math.abs(Zr);var Kr={type:"gap",direction:"side_left",gap:vt,offset:Zr};q.push(Kr)}}}}}}catch(Nn){bt.e(Nn)}finally{bt.f()}var tn,nn=Bo(Ie);try{for(nn.s();!(tn=nn.n()).done;){var Ur=tn.value;if((0,ge.ep)([Ge,it],Ur.overlap)){var Gr=Ur.startSide[0][1]+Ur.length/2,Xr=ze(Gr-Lt);if(Ur.length>st-qe&&Math.abs(Xr)<=ne.y){Math.abs(Xr)<ne.y&&(de.length=0),ne.y=Math.abs(Xr);var Yr={type:"gap",direction:"center_vertical",gap:Ur,offset:Xr};de.push(Yr)}else{var cn=(0,P.Z)(Ur.startBounds,3)[1],gn=ze(cn-st-Ur.length);if(Math.abs(gn)<=ne.y){Math.abs(gn)<ne.y&&(de.length=0),ne.y=Math.abs(gn);var hn={type:"gap",direction:"side_top",gap:Ur,offset:gn};de.push(hn)}else{var xn=(0,P.Z)(Ur.endBounds,4)[3],sn=ze(qe-xn),on=Ur.length-sn;if(Math.abs(on)<=ne.y){Math.abs(on)<ne.y&&(de.length=0),ne.y=Math.abs(on);var Sn={type:"gap",direction:"side_bottom",gap:Ur,offset:on};de.push(Sn)}}}}}}catch(Nn){nn.e(Nn)}finally{nn.f()}}},xe=function(T,o,g){var R=ki(T,o,g);return(0,Ae.AI)(R).filter(function(q){return!(q.length===1&&(0,Y.Xh)(q[0]))}).flatMap(function(q){return Zo(q)})},Le=function(T,o,g,R,q,de,ne){if(!Qn({appState:g,event:R,selectedElements:T})||T.length===0&&o.length===0)return[];var B=Jn.getReferenceSnapPoints();if(B){var X,ke=Bo(o);try{for(ke.s();!(X=ke.n()).done;){var Ie,Pe=X.value,Fe=Bo(B);try{for(Fe.s();!(Ie=Fe.n()).done;){var Ge=Ie.value,qe=Ge[0]-Pe[0],it=Ge[1]-Pe[1];Math.abs(qe)<=ne.x&&(Math.abs(qe)<ne.x&&(q.length=0),q.push({type:"point",points:[Pe,Ge],offset:qe}),ne.x=Math.abs(qe)),Math.abs(it)<=ne.y&&(Math.abs(it)<ne.y&&(de.length=0),de.push({type:"point",points:[Pe,Ge],offset:it}),ne.y=Math.abs(it))}}catch(st){Fe.e(st)}finally{Fe.f()}}}catch(st){ke.e(st)}finally{ke.f()}}},ze=function(T){return Math.round(T*Math.pow(10,6))/Math.pow(10,6)},Ue=function(T){var o,g=new Map,R=Bo(T);try{for(R.s();!(o=R.n()).done;){var q=o.value,de=q.join(",");g.has(de)||g.set(de,q)}}catch(ne){R.e(ne)}finally{R.f()}return Array.from(g.values())},$e=function(T,o){var g={},R={};if(T.length>0){var q,de=Bo(T);try{for(de.s();!(q=de.n()).done;){var ne=q.value;if(ne.type==="point"){var B,X=ze(ne.points[0][0]);g[X]||(g[X]=[]),(B=g[X]).push.apply(B,(0,w.Z)(ne.points.map(function(qe){return[ze(qe[0]),ze(qe[1])]})))}}}catch(qe){de.e(qe)}finally{de.f()}}if(o.length>0){var ke,Ie=Bo(o);try{for(Ie.s();!(ke=Ie.n()).done;){var Pe=ke.value;if(Pe.type==="point"){var Fe,Ge=ze(Pe.points[0][1]);R[Ge]||(R[Ge]=[]),(Fe=R[Ge]).push.apply(Fe,(0,w.Z)(Pe.points.map(function(qe){return[ze(qe[0]),ze(qe[1])]})))}}}catch(qe){Ie.e(qe)}finally{Ie.f()}}return Object.entries(g).map(function(qe){var it=(0,P.Z)(qe,2),st=it[0],kt=it[1];return{type:"points",points:Ue(kt.map(function(Lt){return[Number(st),Lt[1]]}).sort(function(Lt,bt){return Lt[1]-bt[1]}))}}).concat(Object.entries(R).map(function(qe){var it=(0,P.Z)(qe,2),st=it[0],kt=it[1];return{type:"points",points:Ue(kt.map(function(Lt){return[Lt[0],Number(st)]}).sort(function(Lt,bt){return Lt[0]-bt[0]}))}}))},nt=function(T,o,g){var R,q=(0,vn.hC)(T,o),de=(0,P.Z)(q,4),ne=de[0],B=de[1],X=de[2],ke=de[3],Ie=[],Pe=Bo(g);try{for(Pe.s();!(R=Pe.n()).done;){var Fe=R.value,Ge=(0,P.Z)(Fe.gap.startBounds,4),qe=Ge[0],it=Ge[1],st=Ge[2],kt=Ge[3],Lt=(0,P.Z)(Fe.gap.endBounds,4),bt=Lt[0],vt=Lt[1],jt=Lt[2],Nt=Lt[3],Vt=(0,ge.mW)([B,ke],Fe.gap.overlap),Zt=(0,ge.mW)([ne,X],Fe.gap.overlap);switch(Fe.direction){case"center_horizontal":if(Vt){var Ht=(Vt[0]+Vt[1])/2;Ie.push({type:"gap",direction:"horizontal",points:[[Fe.gap.startSide[0][0],Ht],[ne,Ht]]},{type:"gap",direction:"horizontal",points:[[X,Ht],[Fe.gap.endSide[0][0],Ht]]})}break;case"center_vertical":if(Zt){var or=(Zt[0]+Zt[1])/2;Ie.push({type:"gap",direction:"vertical",points:[[or,Fe.gap.startSide[0][1]],[or,B]]},{type:"gap",direction:"vertical",points:[[or,ke],[or,Fe.gap.endSide[0][1]]]})}break;case"side_right":if(Vt){var Er=(Vt[0]+Vt[1])/2;Ie.push({type:"gap",direction:"horizontal",points:[[st,Er],[bt,Er]]},{type:"gap",direction:"horizontal",points:[[jt,Er],[ne,Er]]})}break;case"side_left":if(Vt){var Zr=(Vt[0]+Vt[1])/2;Ie.push({type:"gap",direction:"horizontal",points:[[X,Zr],[qe,Zr]]},{type:"gap",direction:"horizontal",points:[[st,Zr],[bt,Zr]]})}break;case"side_top":if(Zt){var Kr=(Zt[0]+Zt[1])/2;Ie.push({type:"gap",direction:"vertical",points:[[Kr,ke],[Kr,it]]},{type:"gap",direction:"vertical",points:[[Kr,kt],[Kr,vt]]})}break;case"side_bottom":if(Zt){var tn=(Zt[0]+Zt[1])/2;Ie.push({type:"gap",direction:"vertical",points:[[tn,kt],[tn,vt]]},{type:"gap",direction:"vertical",points:[[tn,Nt],[tn,B]]})}}}}catch(nn){Pe.e(nn)}finally{Pe.f()}return function(nn){var Ur,Gr=new Map,Xr=Bo(nn);try{for(Xr.s();!(Ur=Xr.n()).done;){var Yr=Ur.value,cn=Yr.points.flat().map(function(gn){return[ze(gn)]}).join(",");Gr.has(cn)||Gr.set(cn,Yr)}}catch(gn){Xr.e(gn)}finally{Xr.f()}return Array.from(Gr.values())}(Ie.map(function(nn){return ra(ra({},nn),{},{points:nn.points.map(function(Ur){return[ze(Ur[0]),ze(Ur[1])]})})}))},tt=function(T,o,g,R,q,de){var ne,B,X,ke;if(!Qn({event:R,selectedElements:T,appState:g})||T.length===0||T.length===1&&!function(Zr,Kr){var tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.01;return Math.abs(Zr-Kr)<=tn}(T[0].angle,0))return{snapOffset:{x:0,y:0},snapLines:[]};var Ie=(0,vn.KP)(o),Pe=(0,P.Z)(Ie,4),Fe=Pe[0],Ge=Pe[1],qe=Pe[2],it=Pe[3];de&&(de.includes("e")?qe+=q.x:de.includes("w")&&(Fe+=q.x),de.includes("n")?Ge+=q.y:de.includes("s")&&(it+=q.y));var st=[];if(de)switch(de){case"e":st.push([qe,Ge],[qe,it]);break;case"w":st.push([Fe,Ge],[Fe,it]);break;case"n":st.push([Fe,Ge],[qe,Ge]);break;case"s":st.push([Fe,it],[qe,it]);break;case"ne":st.push([qe,Ge]);break;case"nw":st.push([Fe,Ge]);break;case"se":st.push([qe,it]);break;case"sw":st.push([Fe,it])}var kt=Lo(g.zoom.value),Lt={x:kt,y:kt},bt=[],vt=[];Le(o,st,g,R,bt,vt,Lt);var jt={x:(ne=(B=bt[0])===null||B===void 0?void 0:B.offset)!==null&&ne!==void 0?ne:0,y:(X=(ke=vt[0])===null||ke===void 0?void 0:ke.offset)!==null&&X!==void 0?X:0};Lt.x=0,Lt.y=0,bt.length=0,vt.length=0;var Nt=(0,vn.KP)(T).map(function(Zr){return ze(Zr)}),Vt=(0,P.Z)(Nt,4),Zt=Vt[0],Ht=Vt[1],or=Vt[2],Er=Vt[3];return Le(T,[[Zt,Ht],[Zt,Er],[or,Ht],[or,Er]],g,R,bt,vt,Lt),{snapOffset:jt,snapLines:$e(bt,vt)}},ct=t(7392),Kt=t(9247),qt=function(){return(0,r.jsxs)("div",{"data-testid":"brave-measure-text-error",children:[(0,r.jsx)("p",{children:(0,r.jsx)(Kt.Z,{i18nKey:"errors.brave_measure_text_error.line1",bold:function(T){return(0,r.jsx)("span",{style:{fontWeight:600},children:T})}})}),(0,r.jsx)("p",{children:(0,r.jsx)(Kt.Z,{i18nKey:"errors.brave_measure_text_error.line2",bold:function(T){return(0,r.jsx)("span",{style:{fontWeight:600},children:T})}})}),(0,r.jsx)("p",{children:(0,r.jsx)(Kt.Z,{i18nKey:"errors.brave_measure_text_error.line3",link:function(T){return(0,r.jsx)("a",{href:"http://docs.excalidraw.com/docs/@excalidraw/excalidraw/faq#turning-off-aggresive-block-fingerprinting-in-brave-browser",children:T})}})}),(0,r.jsx)("p",{children:(0,r.jsx)(Kt.Z,{i18nKey:"errors.brave_measure_text_error.line4",issueLink:function(T){return(0,r.jsx)("a",{href:"https://github.com/excalidraw/excalidraw/issues/new",children:T})},discordLink:function(T){return(0,r.jsxs)("a",{href:"https://discord.gg/UexuTaE",children:[T,"."]})}})})]})},Dt=t(6199),Wt=t(7766),Qt=function(T){var o=(0,S.useRef)(!1);return(0,S.useEffect)(function(){var g;if(o.current){var R={},q={},de={},ne={},B={};T.appState.collaborators.forEach(function(ke,Ie){if(ke.selectedElementIds)for(var Pe=0,Fe=Object.keys(ke.selectedElementIds);Pe<Fe.length;Pe++){var Ge=Fe[Pe];Ge in de||(de[Ge]=[]),de[Ge].push(Ie)}ke.pointer&&(ke.username&&(ne[Ie]=ke.username),ke.userState&&(B[Ie]=ke.userState),q[Ie]=(0,h._i)({sceneX:ke.pointer.x,sceneY:ke.pointer.y},T.appState),R[Ie]=ke.button)});var X=((g=T.containerRef)===null||g===void 0?void 0:g.current)&&getComputedStyle(T.containerRef.current).getPropertyValue("--color-selection")||"#6965db";(0,Wt.tp)({canvas:T.canvas,elements:T.elements,visibleElements:T.visibleElements,selectedElements:T.selectedElements,scale:window.devicePixelRatio,appState:T.appState,renderConfig:{remotePointerViewportCoords:q,remotePointerButton:R,remoteSelectedElementIds:de,remotePointerUsernames:ne,remotePointerUserStates:B,selectionColor:X,renderScrollbars:!1},callback:T.renderInteractiveSceneCallback},(0,h.G9)())}else o.current=!0}),(0,r.jsx)("canvas",{className:"excalidraw__canvas interactive",style:{width:T.appState.width,height:T.appState.height,cursor:T.appState.viewModeEnabled?d.oc.GRAB:d.oc.AUTO},width:T.appState.width*T.scale,height:T.appState.height*T.scale,ref:T.handleCanvasRef,onContextMenu:T.onContextMenu,onPointerMove:T.onPointerMove,onPointerUp:T.onPointerUp,onPointerCancel:T.onPointerCancel,onTouchMove:T.onTouchMove,onPointerDown:T.onPointerDown,onDoubleClick:T.appState.viewModeEnabled?void 0:T.onDoubleClick,children:(0,M.t)("labels.drawingCanvas")})},rr=function(T){return{zoom:T.zoom,scrollX:T.scrollX,scrollY:T.scrollY,width:T.width,height:T.height,viewModeEnabled:T.viewModeEnabled,editingGroupId:T.editingGroupId,editingLinearElement:T.editingLinearElement,selectedElementIds:T.selectedElementIds,frameToHighlight:T.frameToHighlight,offsetLeft:T.offsetLeft,offsetTop:T.offsetTop,theme:T.theme,pendingImageElementId:T.pendingImageElementId,selectionElement:T.selectionElement,selectedGroupIds:T.selectedGroupIds,selectedLinearElement:T.selectedLinearElement,multiElement:T.multiElement,isBindingEnabled:T.isBindingEnabled,suggestedBindings:T.suggestedBindings,isRotating:T.isRotating,elementsToHighlight:T.elementsToHighlight,openSidebar:T.openSidebar,showHyperlinkPopup:T.showHyperlinkPopup,collaborators:T.collaborators,activeEmbeddable:T.activeEmbeddable,snapLines:T.snapLines,zenModeEnabled:T.zenModeEnabled}},er=function(T,o){return T.selectionNonce===o.selectionNonce&&T.versionNonce===o.versionNonce&&T.scale===o.scale&&T.elements===o.elements&&T.visibleElements===o.visibleElements&&T.selectedElements===o.selectedElements&&(0,h.w8)(rr(T.appState),rr(o.appState))},$t=J().memo(Qt,er),lr=function(T){var o=(0,S.useRef)(null),g=(0,S.useRef)(!1);return(0,S.useEffect)(function(){var R=o.current;if(R){var q=T.canvas;g.current||(g.current=!0,R.replaceChildren(q),q.classList.add("excalidraw__canvas","static"));var de="".concat(T.appState.width,"px"),ne="".concat(T.appState.height,"px");q.style.width!==de&&(q.style.width=de),q.style.height!==ne&&(q.style.height=ne);var B=T.appState.width*T.scale,X=T.appState.height*T.scale;q.width!==B&&(q.width=B),q.height!==X&&(q.height=X),(0,Wt.AW)({canvas:q,rc:T.rc,scale:T.scale,elements:T.elements,visibleElements:T.visibleElements,appState:T.appState,renderConfig:T.renderConfig},(0,h.G9)())}}),(0,r.jsx)("div",{className:"excalidraw__canvas-wrapper",ref:o})},vr=function(T){return{zoom:T.zoom,scrollX:T.scrollX,scrollY:T.scrollY,width:T.width,height:T.height,viewModeEnabled:T.viewModeEnabled,offsetLeft:T.offsetLeft,offsetTop:T.offsetTop,theme:T.theme,pendingImageElementId:T.pendingImageElementId,shouldCacheIgnoreZoom:T.shouldCacheIgnoreZoom,viewBackgroundColor:T.viewBackgroundColor,exportScale:T.exportScale,selectedElementsAreBeingDragged:T.selectedElementsAreBeingDragged,gridSize:T.gridSize,frameRendering:T.frameRendering,selectedElementIds:T.selectedElementIds,frameToHighlight:T.frameToHighlight,editingGroupId:T.editingGroupId}},xr=function(T,o){return T.versionNonce===o.versionNonce&&T.scale===o.scale&&T.elements===o.elements&&T.visibleElements===o.visibleElements&&(0,h.w8)(vr(T.appState),vr(o.appState))&&(0,h.w8)(T.renderConfig,o.renderConfig)},gr=J().memo(lr,xr),Sr=function(){function T(o){var g=this;(0,v.Z)(this,T),this.getRenderableElements=(0,h.HP)(function(R){var q=R.zoom,de=R.offsetLeft,ne=R.offsetTop,B=R.scrollX,X=R.scrollY,ke=R.height,Ie=R.width,Pe=R.editingElement,Fe=R.pendingImageElementId,Ge=(R.versionNonce,function(it){var st=it.editingElement,kt=it.elements,Lt=it.pendingImageElementId;return kt.filter(function(bt){return!((0,Y.pC)(bt)&&Lt===bt.id||st&&st.type==="text"&&bt.id===st.id)})}({elements:g.scene.getNonDeletedElements(),editingElement:Pe,pendingImageElementId:Fe})),qe=function(it){var st=it.elements,kt=it.zoom,Lt=it.offsetLeft,bt=it.offsetTop,vt=it.scrollX,jt=it.scrollY,Nt=it.height,Vt=it.width;return st.filter(function(Zt){return(0,Oe.PZ)(Zt,Vt,Nt,{zoom:kt,offsetLeft:Lt,offsetTop:bt,scrollX:vt,scrollY:jt})})}({elements:Ge,zoom:q,offsetLeft:de,offsetTop:ne,scrollX:B,scrollY:X,height:ke,width:Ie});return{canvasElements:Ge,visibleElements:qe}}),this.scene=o}return(0,I.Z)(T,[{key:"destroy",value:function(){(0,Wt.n_)(),this.getRenderableElements.clear()}}]),T}(),Fr=t(8806),Jr=t(4864),Hr=t(8531),Nr=t(5830),Vr={};Vr.styleTagTransform=Ve(),Vr.setAttributes=Ze(),Vr.insert=be().bind(null,"head"),Vr.domAPI=Q(),Vr.insertStyleElement=Te(),K()(Nr.Z,Vr),Nr.Z&&Nr.Z.locals&&Nr.Z.locals;var Qr="mermaid-to-excalidraw",an=function(T){var o=T.error;return(0,r.jsxs)("div",{"data-testid":"mermaid-error",className:"mermaid-error",children:["Error! ",(0,r.jsx)("p",{children:o})]})},dn=function(){var T=(0,S.useState)({loaded:!1,api:null}),o=(0,P.Z)(T,2),g=o[0],R=o[1],q=(0,S.useState)(""),de=(0,P.Z)(q,2),ne=de[0],B=de[1],X=(0,S.useDeferredValue)(ne.trim()),ke=(0,S.useState)(null),Ie=(0,P.Z)(ke,2),Pe=Ie[0],Fe=Ie[1],Ge=(0,S.useRef)(null),qe=(0,S.useRef)({elements:[],files:null}),it=La(),st=function(){var Lt=Ge.current;if(Lt){var bt=Lt.parentElement;bt&&(bt.style.background="",Fe(null),Lt.replaceChildren())}};(0,S.useEffect)(function(){var Lt=function(){var bt=(0,m.Z)(k().mark(function vt(){var jt;return k().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:return Nt.next=2,t.e(4736).then(t.bind(t,1049));case 2:jt=Nt.sent,R({loaded:!0,api:jt});case 4:case"end":return Nt.stop()}},vt)}));return function(){return bt.apply(this,arguments)}}();Lt()},[]),(0,S.useEffect)(function(){var Lt=function(){try{var bt=localStorage.getItem(Qr);if(bt)return bt}catch(vt){console.error(vt)}return null}()||`flowchart TD + A[Christmas] -->|Get money| B(Go shopping) + B --> C{Let me think} + C -->|One| D[Laptop] + C -->|Two| E[iPhone] + C -->|Three| F[Car]`;B(Lt)},[]),(0,S.useEffect)(function(){var Lt=function(){var bt=(0,m.Z)(k().mark(function vt(){var jt,Nt,Vt,Zt,Ht,or;return k().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:if(jt=Ge.current,Nt=jt?.parentElement,g.loaded&&jt&&Nt&&g.api){Er.next=4;break}return Er.abrupt("return");case 4:if(X){Er.next=7;break}return st(),Er.abrupt("return");case 7:return Er.prev=7,Er.next=10,g.api.parseMermaidToExcalidraw(X,{fontSize:d.n5});case 10:return Vt=Er.sent,Zt=Vt.elements,Ht=Vt.files,Fe(null),qe.current={elements:(0,Jr.wc)(Zt,{regenerateIds:!0}),files:Ht},Er.next=17,(0,Jr.NL)({elements:qe.current.elements,files:qe.current.files,exportPadding:d.qy,maxWidthOrHeight:Math.max(Nt.offsetWidth,Nt.offsetHeight)*window.devicePixelRatio});case 17:return or=Er.sent,Er.next=20,(0,zt._c)(or);case 20:Nt.style.background="var(--default-bg-color)",jt.replaceChildren(or),Er.next=28;break;case 24:Er.prev=24,Er.t0=Er.catch(7),Nt.style.background="var(--default-bg-color)",X&&Fe(Er.t0.message);case 28:case"end":return Er.stop()}},vt,null,[[7,24]])}));return function(){return bt.apply(this,arguments)}}();Lt()},[X,g]);var kt=function(){it.setOpenDialog(null),function(Lt){try{localStorage.setItem(Qr,Lt)}catch(bt){console.error(bt)}}(ne)};return(0,r.jsx)(yt.V,{className:"dialog-mermaid",onCloseRequest:kt,size:1200,title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"dialog-mermaid-title",children:(0,M.t)("mermaid.title")}),(0,r.jsxs)("span",{className:"dialog-mermaid-desc",children:[(0,r.jsx)(Kt.Z,{i18nKey:"mermaid.description",flowchartLink:function(Lt){return(0,r.jsx)("a",{href:"https://mermaid.js.org/syntax/flowchart.html",children:Lt})},sequenceLink:function(Lt){return(0,r.jsx)("a",{href:"https://mermaid.js.org/syntax/sequenceDiagram.html",children:Lt})}}),(0,r.jsx)("br",{})]})]}),children:(0,r.jsxs)("div",{className:"dialog-mermaid-body",children:[(0,r.jsxs)("div",{className:"dialog-mermaid-panels",children:[(0,r.jsxs)("div",{className:"dialog-mermaid-panels-text",children:[(0,r.jsx)("label",{children:(0,M.t)("mermaid.syntax")}),(0,r.jsx)("textarea",{onChange:function(Lt){return B(Lt.target.value)},value:ne})]}),(0,r.jsxs)("div",{className:"dialog-mermaid-panels-preview",children:[(0,r.jsx)("label",{children:(0,M.t)("mermaid.preview")}),(0,r.jsxs)("div",{className:"dialog-mermaid-panels-preview-wrapper",children:[Pe&&(0,r.jsx)(an,{error:Pe}),g.loaded?(0,r.jsx)("div",{ref:Ge,style:{opacity:Pe?"0.15":1},className:"dialog-mermaid-panels-preview-canvas-container"}):(0,r.jsx)(Hr.Z,{size:"2rem"})]})]})]}),(0,r.jsx)("div",{className:"dialog-mermaid-buttons",children:(0,r.jsxs)(Fr.z,{className:"dialog-mermaid-insert",onSelect:function(){var Lt=qe.current,bt=Lt.elements,vt=Lt.files;it.addElementsFromPasteOrLibrary({elements:bt,files:vt,position:"center",fitToContent:!0}),kt()},children:[(0,M.t)("mermaid.button"),(0,r.jsx)("span",{children:U.LZ})]})})]})})},pn=t(7930),kn={};kn.styleTagTransform=Ve(),kn.setAttributes=Ze(),kn.insert=be().bind(null,"head"),kn.domAPI=Q(),kn.insertStyleElement=Te(),K()(pn.Z,kn),pn.Z&&pn.Z.locals&&pn.Z.locals;var Kn=function(T){var o=T.manager,g=(0,S.useRef)(null);return(0,S.useEffect)(function(){return g.current&&o.start(g.current),function(){o.stop()}},[o]),(0,r.jsx)("div",{className:"LaserToolOverlay",children:(0,r.jsx)("svg",{ref:g,className:"LaserToolOverlayCanvas"})})},lo,po,Oo,xo;function Yn([T,o,g],[R,q,de]){return[T+R,o+q,g+de]}function Xn([T,o,g],[R,q,de]){return[T-R,o-q,g-de]}function ro([T,o,g],R){return[T*R,o*R,g*R]}function $n([T,o,g]){return[T/Math.sqrt(T**2+o**2),o/Math.sqrt(T**2+o**2),g]}function oo([T,o,g],R){return[Math.cos(R)*T-Math.sin(R)*o,Math.sin(R)*T+Math.cos(R)*o,g]}function mo(T,o,g){return Math.atan2(g[1]-T[1],g[0]-T[0])-Math.atan2(o[1]-T[1],o[0]-T[0])}function Ho(T){return Math.atan2(Math.sin(T),Math.cos(T))}function Wo([T,o]){return Math.sqrt(T**2+o**2)}function Co([T,o],[g,R]){return Math.sqrt((g-T)**2+(R-o)**2)}lo={},po="LaserPointer",Oo=()=>Ro,Object.defineProperty(lo,po,{get:Oo,set:xo,enumerable:!0,configurable:!0});function Fo(T,o,g){const R=Co(o,g);if(R===0)return Co(T,o);const q=((de,ne,B)=>Math.max(ne,Math.min(B,de)))(((T[0]-o[0])*(g[0]-o[0])+(T[1]-o[1])*(g[1]-o[1]))/R**2,0,1);return Co([o[0]+q*(g[0]-o[0]),o[1]+q*(g[1]-o[1]),T[2]],T)}function Ti(T,o){if(o===0||T.length<=2)return T;const g=T[0],R=T[T.length-1],[q,de]=T.reduce(([ne,B],X,ke)=>{const Ie=Fo(X,g,R);return Ie>ne?[Ie,ke]:[ne,B]},[0,-1]);if(q>=o){const ne=T[de];return[...Ti([g,...T.slice(1,de),ne],o).slice(0,-1),ne,...Ti([ne,...T.slice(de,-1),R],o).slice(1)]}return[g,R]}class Ro{static#e=(()=>{this.defaults={size:2,streamline:.45,simplify:.1,simplifyPhase:"output",sizeMapping:()=>1}})();static#t=(()=>{this.constants={cornerDetectionMaxAngle:120,cornerDetectionVariance:o=>o>35?.5:1,maxTailLength:50}})();constructor(o){this.originalPoints=[],this.stablePoints=[],this.tailPoints=[],this.isFresh=!0,this.options=Object.assign({},Ro.defaults,o)}get lastPoint(){return this.tailPoints[this.tailPoints.length-1]??this.stablePoints[this.stablePoints.length-1]}addPoint(o){const g=this.originalPoints[this.originalPoints.length-1];if(!g||g[0]!==o[0]||g[1]!==o[1]){if(this.originalPoints.push(o),this.isFresh)return this.isFresh=!1,void this.stablePoints.push(o);var R,q,de;this.options.streamline>0&&(R=this.lastPoint,q=o,de=1-this.options.streamline,o=Yn(R,ro(Xn(q,R),de))),this.tailPoints.push(o),function(ne){if(ne.length<2)return 0;let B=0;for(let X=1;X<=ne.length-1;X++)B+=Co(ne[X-1],ne[X]);return B+=Co(ne[ne.length-2],ne[ne.length-1]),B}(this.tailPoints)>Ro.constants.maxTailLength&&this.stabilizeTail()}}close(){this.stabilizeTail()}stabilizeTail(){if(this.options.simplify>0&&this.options.simplifyPhase=="tail")throw new Error("Not implemented yet");this.stablePoints.push(...this.tailPoints),this.tailPoints=[]}getSize(o,g,R,q,de){return(o??this.options.size)*this.options.sizeMapping({pressure:g,runningLength:de,currentIndex:R,totalLength:q})}getStrokeOutline(o){if(this.isFresh)return[];let g=[...this.stablePoints,...this.tailPoints];this.options.simplify>0&&this.options.simplifyPhase==="input"&&(g=Ti(g,this.options.simplify));const R=g.length;if(R===0)return[];if(R===1){const Vt=g[0],Zt=[];for(let Ht=0;Ht<=2*Math.PI;Ht+=Math.PI/16)Zt.push(Yn(Vt,ro(oo([1,0,0],Ht),this.getSize(o,Vt[2],0,R,0))));return Zt.push(Yn(Vt,ro([1,0,0],this.getSize(o,Vt[2],0,R,0)))),Zt}if(R===2){const Vt=g[0],Zt=g[1],Ht=[],or=mo(Vt,[Vt[0],Vt[1]-100,Vt[2]],Zt);for(let Er=or;Er<=Math.PI+or;Er+=Math.PI/16)Ht.push(Yn(Vt,ro(oo([1,0,0],Er),this.getSize(o,Vt[2],0,R,0))));for(let Er=Math.PI+or;Er<=2*Math.PI+or;Er+=Math.PI/16)Ht.push(Yn(Zt,ro(oo([1,0,0],Er),this.getSize(o,Zt[2],0,R,0))));return Ht.push(Ht[0]),Ht}const q=[],de=[];let ne=0,B=0,X=0,ke=0;for(let Vt=1;Vt<R-1;Vt++){const Zt=g[Vt-1],Ht=g[Vt],or=g[Vt+1];let Er=Ht[2];const Zr=Co(Zt,Ht);ke+=Zr,ne=B+.2*(Zr-B);const Kr=this.getSize(o,Er,Vt,R,ke);if(Kr===0){X=Vt+1;continue}const tn=$n(Xn(Zt,Ht)),nn=$n(Xn(or,Ht)),Ur=oo(tn,Math.PI/2),Gr=oo(tn,-Math.PI/2),Xr=oo(nn,Math.PI/2),Yr=oo(nn,-Math.PI/2),cn=Yn(Ht,ro(Ur,Kr)),gn=Yn(Ht,ro(Gr,Kr)),hn=Yn(Ht,ro(Xr,Kr)),xn=Yn(Ht,ro(Yr,Kr)),sn=Yn(Ur,Yr),on=Yn(Gr,Xr),Sn=Yn(Ht,ro(Wo(sn)===0?tn:$n(sn),Kr)),Nn=Yn(Ht,ro(Wo(on)===0?nn:$n(on),Kr)),Bn=Ho(mo(Ht,Zt,or)),Dn=Ro.constants.cornerDetectionMaxAngle/180*Math.PI*Ro.constants.cornerDetectionVariance(ne);if(Math.abs(Bn)<Dn){const In=Math.abs(Ho(Math.PI-Bn));if(In===0)continue;if(Bn<0){de.push(gn,Nn);for(let Rn=0;Rn<=In;Rn+=In/4)q.push(Yn(Ht,oo(ro(Ur,Kr),Rn)));for(let Rn=In;Rn>=0;Rn-=In/4)de.push(Yn(Ht,oo(ro(Ur,Kr),Rn)));de.push(Nn,hn)}else{q.push(cn,Sn);for(let Rn=0;Rn<=In;Rn+=In/4)de.push(Yn(Ht,oo(ro(Ur,-Kr),-Rn)));for(let Rn=In;Rn>=0;Rn-=In/4)q.push(Yn(Ht,oo(ro(Ur,-Kr),-Rn)));q.push(Sn,xn)}}else q.push(Sn),de.push(Nn);B=ne}const Ie=g[X],Pe=g[X+1],Fe=g[R-2],Ge=g[R-1];if(X>=R-2)return[];const qe=$n(Xn(Pe,Ie)),it=$n(Xn(Fe,Ge)),st=oo(qe,-Math.PI/2),kt=oo(it,Math.PI/2),Lt=this.getSize(o,Ie[2],0,R,0),bt=[],vt=this.getSize(o,Fe[2],R-2,R,ke),jt=[];for(let Vt=0;Vt<=Math.PI;Vt+=Math.PI/16)bt.unshift(Yn(Ie,oo(ro(st,Lt),-Vt)));bt.unshift(Yn(Ie,ro(st,-Lt)));for(let Vt=0;Vt<=Math.PI;Vt+=Math.PI/16)jt.push(Yn(Ge,oo(ro(kt,-vt),-Vt)));const Nt=[...bt,...q,...jt.reverse(),...de.reverse()];return bt.length>0&&Nt.push(bt[0]),this.options.simplify>0&&this.options.simplifyPhase==="output"?Ti(Nt,this.options.simplify):Nt}}var Jo=t(957);function wa(T,o){var g=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!g){if(Array.isArray(T)||(g=function(X,ke){if(X){if(typeof X=="string")return na(X,ke);var Ie=Object.prototype.toString.call(X).slice(8,-1);if(Ie==="Object"&&X.constructor&&(Ie=X.constructor.name),Ie==="Map"||Ie==="Set")return Array.from(X);if(Ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return na(X,ke)}}(T))||o&&T&&typeof T.length=="number"){g&&(T=g);var R=0,q=function(){};return{s:q,n:function(){return R>=T.length?{done:!0}:{done:!1,value:T[R++]}},e:function(X){throw X},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var de,ne=!0,B=!1;return{s:function(){g=g.call(T)},n:function(){var X=g.next();return ne=X.done,X},e:function(X){B=!0,de=X},f:function(){try{ne||g.return==null||g.return()}finally{if(B)throw de}}}}function na(T,o){(o==null||o>T.length)&&(o=T.length);for(var g=0,R=new Array(o);g<o;g++)R[g]=T[g];return R}var oa=1e3,Di=function(T,o){return(T+o)/2};function Ai(T){return 1-Math.pow(1-T,3)}function ti(){return{currentPath:void 0,finishedPaths:[],lastPoint:[-1e4,-1e4],svg:document.createElementNS("http://www.w3.org/2000/svg","path")}}function zo(){return Ro.constants.cornerDetectionMaxAngle=70,new Ro({simplify:0,streamline:.4,sizeMapping:function(T){var o=Math.max(0,1-(performance.now()-T.pressure)/1e3),g=(50-Math.min(50,T.totalLength-T.currentIndex))/50;return Math.min(Ai(g),Ai(o))}})}var pi=function(){function T(o){(0,v.Z)(this,T),this.app=o,this.collaboratorsState=new Map,this.isDrawing=!1,this.isRunning=!1,this.ownState=ti()}return(0,I.Z)(T,[{key:"destroy",value:function(){this.stop(),this.isDrawing=!1,this.ownState=ti(),this.collaboratorsState=new Map}},{key:"startPath",value:function(o,g){this.ownState.currentPath=zo(),this.ownState.currentPath.addPoint([o,g,performance.now()]),this.updatePath(this.ownState)}},{key:"addPointToPath",value:function(o,g){var R;this.ownState.currentPath&&((R=this.ownState.currentPath)===null||R===void 0||R.addPoint([o,g,performance.now()]),this.updatePath(this.ownState))}},{key:"endPath",value:function(){this.ownState.currentPath&&(this.ownState.currentPath.close(),this.ownState.finishedPaths.push(this.ownState.currentPath),this.updatePath(this.ownState))}},{key:"updatePath",value:function(o){this.isDrawing=!0,this.isRunning||this.start()}},{key:"start",value:function(o){o&&(this.container=o,this.container.appendChild(this.ownState.svg)),this.stop(),this.isRunning=!0,this.loop()}},{key:"stop",value:function(){this.isRunning=!1,this.rafId&&cancelAnimationFrame(this.rafId),this.rafId=void 0}},{key:"loop",value:function(){this.rafId=requestAnimationFrame(this.loop.bind(this)),this.updateCollabolatorsState(),this.isDrawing?this.update():this.isRunning=!1}},{key:"draw",value:function(o){var g=this;return function(R){var q=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],de=R.length;if(de<4)return"";for(var ne=R[0],B=R[1],X=R[2],ke="M".concat(ne[0].toFixed(2),",").concat(ne[1].toFixed(2)," Q").concat(B[0].toFixed(2),",").concat(B[1].toFixed(2)," ").concat(Di(B[0],X[0]).toFixed(2),",").concat(Di(B[1],X[1]).toFixed(2)," T"),Ie=2,Pe=de-1;Ie<Pe;Ie++)ne=R[Ie],B=R[Ie+1],ke+="".concat(Di(ne[0],B[0]).toFixed(2),",").concat(Di(ne[1],B[1]).toFixed(2)," ");return q&&(ke+="Z"),ke}(o.getStrokeOutline(o.options.size/this.app.state.zoom.value).map(function(R){var q=(0,P.Z)(R,2),de=q[0],ne=q[1],B=(0,h._i)({sceneX:de,sceneY:ne},g.app.state);return[B.x,B.y]}),!0)}},{key:"updateCollabolatorsState",value:function(){if(this.container&&this.app.state.collaborators.size){var o,g=wa(this.app.state.collaborators.entries());try{for(g.s();!(o=g.n()).done;){var R=(0,P.Z)(o.value,2),q=R[0],de=R[1];if(!this.collaboratorsState.has(q)){var ne=ti();this.container.appendChild(ne.svg),this.collaboratorsState.set(q,ne),this.updatePath(ne)}var B=this.collaboratorsState.get(q);de.pointer&&de.pointer.tool==="laser"&&(de.button==="down"&&B.currentPath===void 0&&(B.lastPoint=[de.pointer.x,de.pointer.y],B.currentPath=zo(),B.currentPath.addPoint([de.pointer.x,de.pointer.y,performance.now()]),this.updatePath(B)),de.button==="down"&&B.currentPath!==void 0&&(de.pointer.x===B.lastPoint[0]&&de.pointer.y===B.lastPoint[1]||(B.lastPoint=[de.pointer.x,de.pointer.y],B.currentPath.addPoint([de.pointer.x,de.pointer.y,performance.now()]),this.updatePath(B))),de.button==="up"&&B.currentPath!==void 0&&(B.lastPoint=[de.pointer.x,de.pointer.y],B.currentPath.addPoint([de.pointer.x,de.pointer.y,performance.now()]),B.currentPath.close(),B.finishedPaths.push(B.currentPath),B.currentPath=void 0,this.updatePath(B)))}}catch(X){g.e(X)}finally{g.f()}}}},{key:"update",value:function(){var o=this;if(this.container){var g,R=!1,q=wa(this.collaboratorsState.entries());try{for(q.s();!(g=q.n()).done;){var de=(0,P.Z)(g.value,2),ne=de[0],B=de[1];if(this.app.state.collaborators.has(ne)){B.finishedPaths=B.finishedPaths.filter(function(Ie){var Pe=Ie.originalPoints[Ie.originalPoints.length-1];return!(Pe&&Pe[2]<performance.now()-oa)});var X=B.finishedPaths.map(function(Ie){return o.draw(Ie)}).join(" ");B.currentPath&&(X+=" ".concat(this.draw(B.currentPath))),X.trim()&&(R=!0),B.svg.setAttribute("d",X),B.svg.setAttribute("fill",(0,Jo.G)(ne))}else B.svg.remove(),this.collaboratorsState.delete(ne)}}catch(Ie){q.e(Ie)}finally{q.f()}this.ownState.finishedPaths=this.ownState.finishedPaths.filter(function(Ie){var Pe=Ie.originalPoints[Ie.originalPoints.length-1];return!(Pe&&Pe[2]<performance.now()-oa)});var ke=this.ownState.finishedPaths.map(function(Ie){return o.draw(Ie)}).join(" ");this.ownState.currentPath&&(ke+=" ".concat(this.draw(this.ownState.currentPath))),(ke=ke.trim())&&(R=!0),this.ownState.svg.setAttribute("d",ke),this.ownState.svg.setAttribute("fill","red"),R||(this.isDrawing=!1)}}}]),T}(),bo=function(){function T(o){var g;(0,v.Z)(this,T),this.subscribers=[],this.updateOnChangeOnly=(g=o?.updateOnChangeOnly)!==null&&g!==void 0&&g,this.value=o?.initialState}return(0,I.Z)(T,[{key:"on",value:function(){for(var o,g=this,R=arguments.length,q=new Array(R),de=0;de<R;de++)q[de]=arguments[de];var ne=q.flat().filter(function(B){return typeof B=="function"});return(o=this.subscribers).push.apply(o,(0,w.Z)(ne)),function(){return g.off(ne)}}},{key:"off",value:function(){for(var o=arguments.length,g=new Array(o),R=0;R<o;R++)g[R]=arguments[R];var q=g.flat();this.subscribers=this.subscribers.filter(function(de){return!q.includes(de)})}},{key:"trigger",value:function(){for(var o=arguments.length,g=new Array(o),R=0;R<o;R++)g[R]=arguments[R];return this.updateOnChangeOnly&&this.value===g?[]:(this.value=g,this.subscribers.map(function(q){return q.apply(void 0,g)}))}},{key:"destroy",value:function(){this.subscribers=[],this.value=void 0}}]),T}();function uo(T,o){var g=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!g){if(Array.isArray(T)||(g=function(X,ke){if(X){if(typeof X=="string")return Io(X,ke);var Ie=Object.prototype.toString.call(X).slice(8,-1);if(Ie==="Object"&&X.constructor&&(Ie=X.constructor.name),Ie==="Map"||Ie==="Set")return Array.from(X);if(Ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return Io(X,ke)}}(T))||o&&T&&typeof T.length=="number"){g&&(T=g);var R=0,q=function(){};return{s:q,n:function(){return R>=T.length?{done:!0}:{done:!1,value:T[R++]}},e:function(X){throw X},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var de,ne=!0,B=!1;return{s:function(){g=g.call(T)},n:function(){var X=g.next();return ne=X.done,X},e:function(X){B=!0,de=X},f:function(){try{ne||g.return==null||g.return()}finally{if(B)throw de}}}}function Io(T,o){(o==null||o>T.length)&&(o=T.length);for(var g=0,R=new Array(o);g<o;g++)R[g]=T[g];return R}function hi(T){var o=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var g,R=(0,Z.Z)(T);if(o){var q=(0,Z.Z)(this).constructor;g=Reflect.construct(R,arguments,q)}else g=R.apply(this,arguments);return(0,f.Z)(this,g)}}function Li(T,o){var g=Object.keys(T);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(T);o&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(T,q).enumerable})),g.push.apply(g,R)}return g}function Dr(T){for(var o=1;o<arguments.length;o++){var g=arguments[o]!=null?arguments[o]:{};o%2?Li(Object(g),!0).forEach(function(R){(0,N.Z)(T,R,g[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(g)):Li(Object(g)).forEach(function(R){Object.defineProperty(T,R,Object.getOwnPropertyDescriptor(g,R))})}return T}var Ar=J().createContext(null),mi=J().createContext(null),gi={viewport:{isMobile:!1,isLandscape:!1},editor:{isMobile:!1,canFitSidebar:!1},isTouchScreen:!1},vi=J().createContext(gi);vi.displayName="DeviceContext";var Gi=J().createContext({container:null,id:null});Gi.displayName="ExcalidrawContainerContext";var Pa=J().createContext([]);Pa.displayName="ExcalidrawElementsContext";var Ta=J().createContext(Dr(Dr({},(0,_.im)()),{},{width:0,height:0,offsetLeft:0,offsetTop:0}));Ta.displayName="ExcalidrawAppStateContext";var Da=J().createContext(function(){console.warn("unitialized ExcalidrawSetAppStateContext context!")});Da.displayName="ExcalidrawSetAppStateContext";var Aa=J().createContext(null);Aa.displayName="ExcalidrawActionManagerContext";var La=function(){return(0,S.useContext)(Ar)},Ua=function(){return(0,S.useContext)(mi)},Za=function(){return(0,S.useContext)(vi)},ka=function(){return(0,S.useContext)(Gi)},Ka=function(){return(0,S.useContext)(Pa)},$a=function(){return(0,S.useContext)(Ta)},qa=function(){return(0,S.useContext)(Da)},Ga=function(){return(0,S.useContext)(Aa)},Ya=typeof window<"u"&&"ResizeObserver"in window,Ea=!1,ia=0,Zi=!1,bi=!1,aa=!1,Ra={horizontal:null,vertical:null},Ei=0,ai=!1,la=new Map,za=!1,Va=0,Ja=!1,Ri=null,Gn={pointers:new Map,lastCenter:null,initialDistance:null,initialScale:null},eo=function(T){(0,c.Z)(de,T);var o,g,R,q=hi(de);function de(ne){var B;(0,v.Z)(this,de),B=q.call(this,ne),Qa.call((0,x.Z)(B));var X,ke=(0,_.im)(),Ie=ne.excalidrawAPI,Pe=ne.viewModeEnabled,Fe=Pe!==void 0&&Pe,Ge=ne.zenModeEnabled,qe=Ge!==void 0&&Ge,it=ne.gridModeEnabled,st=it!==void 0&&it,kt=ne.objectsSnapModeEnabled,Lt=kt!==void 0&&kt,bt=ne.theme,vt=bt===void 0?ke.theme:bt,jt=ne.name,Nt=jt===void 0?ke.name:jt;if(B.state=Dr(Dr(Dr({},ke),{},{theme:vt,isLoading:!0},B.getCanvasOffsets()),{},{viewModeEnabled:Fe,zenModeEnabled:qe,objectsSnapModeEnabled:Lt,gridSize:st?d.k:null,name:Nt,width:window.innerWidth,height:window.innerHeight}),B.id=(0,le.x0)(),B.library=new F.ZP((0,x.Z)(B)),B.scene=new se.Z,B.canvas=document.createElement("canvas"),B.rc=he.Z.canvas(B.canvas),B.renderer=new Sr(B.scene),Ie){var Vt={updateScene:B.updateScene,updateLibrary:B.library.updateLibrary,addFiles:B.addFiles,resetScene:B.resetScene,getSceneElementsIncludingDeleted:B.getSceneElementsIncludingDeleted,history:{clear:B.resetHistory},scrollToContent:B.scrollToContent,getSceneElements:B.getSceneElements,getAppState:function(){return B.state},getFiles:function(){return B.files},refresh:B.refresh,setToast:B.setToast,id:B.id,setActiveTool:B.setActiveTool,setCursor:B.setCursor,resetCursor:B.resetCursor,updateFrameRendering:B.updateFrameRendering,toggleSidebar:B.toggleSidebar,onChange:function(Zt){return B.onChangeEmitter.on(Zt)},onPointerDown:function(Zt){return B.onPointerDownEmitter.on(Zt)},onPointerUp:function(Zt){return B.onPointerUpEmitter.on(Zt)}};typeof Ie=="function"?Ie(Vt):console.error("excalidrawAPI should be a function!")}return B.excalidrawContainerValue={container:B.excalidrawContainerRef.current,id:B.id},B.fonts=new Ki({scene:B.scene,onSceneUpdated:B.onSceneUpdated}),B.history=new Ee,B.actionManager=new C(B.syncActionResult,function(){return B.state},function(){return B.scene.getElementsIncludingDeleted()},(0,x.Z)(B)),B.actionManager.registerAll(L.N),B.actionManager.registerAction((X=B.history,{name:"undo",trackEvent:{category:"history"},perform:function(Zt,Ht){return a(Zt,Ht,function(){return X.undoOnce()})},keyTest:function(Zt){return Zt[A.tW.CTRL_OR_CMD]&&Zt.key.toLowerCase()===A.tW.Z&&!Zt.shiftKey},PanelComponent:function(Zt){var Ht=Zt.updateData,or=Zt.data;return(0,r.jsx)(H.V,{type:"button",icon:U.UE,"aria-label":(0,M.t)("buttons.undo"),onClick:Ht,size:or?.size||"medium"})},commitToHistory:function(){return!1}})),B.actionManager.registerAction(function(Zt){return{name:"redo",trackEvent:{category:"history"},perform:function(Ht,or){return a(Ht,or,function(){return Zt.redoOnce()})},keyTest:function(Ht){return Ht[A.tW.CTRL_OR_CMD]&&Ht.shiftKey&&Ht.key.toLowerCase()===A.tW.Z||d.ED&&Ht.ctrlKey&&!Ht.shiftKey&&Ht.key===A.tW.Y},PanelComponent:function(Ht){var or=Ht.updateData,Er=Ht.data;return(0,r.jsx)(H.V,{type:"button",icon:U.zG,"aria-label":(0,M.t)("buttons.redo"),onClick:or,size:Er?.size||"medium"})},commitToHistory:function(){return!1}}}(B.history)),B}return(0,I.Z)(de,[{key:"onWindowMessage",value:function(ne){if(ne.origin==="https://player.vimeo.com"||ne.origin==="https://www.youtube.com"){var B=null;try{B=JSON.parse(ne.data)}catch{}if(B)switch(ne.origin){case"https://player.vimeo.com":if(B.method==="paused"){var X,ke=null,Ie=document.body.querySelectorAll("iframe.excalidraw__embeddable");if(!Ie)break;var Pe,Fe=uo(Ie);try{for(Fe.s();!(Pe=Fe.n()).done;){var Ge=Pe.value;Ge.contentWindow===ne.source&&(ke=Ge.contentWindow)}}catch(st){Fe.e(st)}finally{Fe.f()}(X=ke)===null||X===void 0||X.postMessage(JSON.stringify({method:B.value?"play":"pause",value:!0}),"*")}break;case"https://www.youtube.com":if(B.event==="infoDelivery"&&B.info&&B.id&&typeof B.info.playerState=="number"){var qe=B.id,it=B.info.playerState;Object.values(d.vf).includes(it)&&la.set(qe,it)}}}}},{key:"updateEmbeddableRef",value:function(ne,B){B&&this.iFrameRefs.set(ne,B)}},{key:"getHTMLIFrameElement",value:function(ne){return this.iFrameRefs.get(ne)}},{key:"handleEmbeddableCenterClick",value:function(ne){var B,X,ke,Ie,Pe=this;if(((B=this.state.activeEmbeddable)===null||B===void 0?void 0:B.element)!==ne||((X=this.state.activeEmbeddable)===null||X===void 0?void 0:X.state)!=="active"){setTimeout(function(){Pe.setState({activeEmbeddable:{element:ne,state:"active"},selectedElementIds:(0,N.Z)({},ne.id,!0),draggingElement:null,selectionElement:null})},100);var Fe=this.getHTMLIFrameElement(ne.id);if(Fe!=null&&Fe.contentWindow){if(Fe.src.includes("youtube")){var Ge=la.get(ne.id);switch(Ge||(la.set(ne.id,d.vf.UNSTARTED),Fe.contentWindow.postMessage(JSON.stringify({event:"listening",id:ne.id}),"*")),Ge){case d.vf.PLAYING:case d.vf.BUFFERING:(ke=Fe.contentWindow)===null||ke===void 0||ke.postMessage(JSON.stringify({event:"command",func:"pauseVideo",args:""}),"*");break;default:(Ie=Fe.contentWindow)===null||Ie===void 0||Ie.postMessage(JSON.stringify({event:"command",func:"playVideo",args:""}),"*")}}Fe.src.includes("player.vimeo.com")&&Fe.contentWindow.postMessage(JSON.stringify({method:"paused"}),"*")}}}},{key:"isEmbeddableCenter",value:function(ne,B,X,ke){var Ie,Pe;return ne&&!B.altKey&&!B.shiftKey&&!B.metaKey&&!B.ctrlKey&&(((Ie=this.state.activeEmbeddable)===null||Ie===void 0?void 0:Ie.element)!==ne||((Pe=this.state.activeEmbeddable)===null||Pe===void 0?void 0:Pe.state)==="hover"||!this.state.activeEmbeddable)&&X>=ne.x+ne.width/3&&X<=ne.x+2*ne.width/3&&ke>=ne.y+ne.height/3&&ke<=ne.y+2*ne.height/3}},{key:"renderEmbeddables",value:function(){var ne=this,B=this.state.zoom.value,X=this.state.width,ke=this.state.height,Ie=this.scene.getNonDeletedElements().filter(function(Pe){return(0,Y.gs)(Pe)&&!!Pe.validated});return(0,r.jsx)(r.Fragment,{children:Ie.map(function(Pe){var Fe,Ge,qe,it,st,kt,Lt,bt,vt=(0,h._i)({sceneX:Pe.x,sceneY:Pe.y},ne.state),jt=vt.x,Nt=vt.y,Vt=(0,s.LM)((0,Yo.ye)(Pe.link||"")),Zt=(0,Oe.PZ)(Pe,X,ke,ne.state),Ht=((Fe=ne.state.activeEmbeddable)===null||Fe===void 0?void 0:Fe.element)===Pe&&((Ge=ne.state.activeEmbeddable)===null||Ge===void 0?void 0:Ge.state)==="active",or=((qe=ne.state.activeEmbeddable)===null||qe===void 0?void 0:qe.element)===Pe&&((it=ne.state.activeEmbeddable)===null||it===void 0?void 0:it.state)==="hover";return(0,r.jsx)("div",{className:(0,ve.Z)("excalidraw__embeddable-container",{"is-hovered":or}),style:(0,N.Z)({transform:Zt?"translate(".concat(jt-ne.state.offsetLeft,"px, ").concat(Nt-ne.state.offsetTop,"px) scale(").concat(B,")"):"none",display:Zt?"block":"none",opacity:Pe.opacity/100},"--embeddable-radius","".concat((0,ge.yW)(Math.min(Pe.width,Pe.height),Pe),"px")),children:(0,r.jsxs)("div",{className:"excalidraw__embeddable-container__inner",style:{width:Zt?"".concat(Pe.width,"px"):0,height:Zt?"".concat(Pe.height,"px"):0,transform:Zt?"rotate(".concat(Pe.angle,"rad)"):"none",pointerEvents:Ht?d.XI.enabled:d.XI.disabled},children:[or&&(0,r.jsx)("div",{className:"excalidraw__embeddable-hint",children:(0,M.t)("buttons.embeddableInteractionButton")}),(0,r.jsx)("div",{className:"excalidraw__embeddable__outer",style:{padding:"".concat(Pe.strokeWidth,"px")},children:(st=(kt=(Lt=ne.props).renderEmbeddable)===null||kt===void 0?void 0:kt.call(Lt,Pe,ne.state))!==null&&st!==void 0?st:(0,r.jsx)("iframe",{ref:function(Er){return ne.updateEmbeddableRef(Pe.id,Er)},className:"excalidraw__embeddable",srcDoc:Vt?.type==="document"?Vt.srcdoc(ne.state.theme):void 0,src:Vt?.type!=="document"?(bt=Vt?.link)!==null&&bt!==void 0?bt:"":void 0,scrolling:"no",referrerPolicy:"no-referrer-when-downgrade",title:"Excalidraw Embedded Content",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,sandbox:"allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-downloads"})})]})},Pe.id)})})}},{key:"render",value:function(){var ne,B,X,ke=this,Ie=this.scene.getSelectedElements(this.state),Pe=this.props,Fe=Pe.renderTopRightUI,Ge=Pe.renderCustomStats,qe=this.scene.getVersionNonce(),it=this.renderer.getRenderableElements({versionNonce:qe,zoom:this.state.zoom,offsetLeft:this.state.offsetLeft,offsetTop:this.state.offsetTop,scrollX:this.state.scrollX,scrollY:this.state.scrollY,height:this.state.height,width:this.state.width,editingElement:this.state.editingElement,pendingImageElementId:this.state.pendingImageElementId}),st=it.canvasElements,kt=it.visibleElements,Lt=!(this.state.editingElement&&(0,Y.bt)(this.state.editingElement))&&(this.state.selectionElement||this.state.draggingElement||this.state.resizingElement||this.state.activeTool.type==="laser"&&this.state.cursorButton==="down"||this.state.editingElement&&!(0,te.iB)(this.state.editingElement));return(0,r.jsx)("div",{className:(0,ve.Z)("excalidraw excalidraw-container",{"excalidraw--view-mode":this.state.viewModeEnabled,"excalidraw--mobile":this.device.editor.isMobile}),style:(0,N.Z)({},"--ui-pointerEvents",Lt?d.XI.disabled:d.XI.enabled),ref:this.excalidrawContainerRef,onDrop:this.handleAppOnDrop,tabIndex:0,onKeyDown:this.props.handleKeyboardGlobally?void 0:this.onKeyDown,children:(0,r.jsx)(Ar.Provider,{value:this,children:(0,r.jsx)(mi.Provider,{value:this.props,children:(0,r.jsx)(Gi.Provider,{value:this.excalidrawContainerValue,children:(0,r.jsx)(vi.Provider,{value:this.device,children:(0,r.jsx)(Da.Provider,{value:this.setAppState,children:(0,r.jsx)(Ta.Provider,{value:this.state,children:(0,r.jsxs)(Pa.Provider,{value:this.scene.getNonDeletedElements(),children:[(0,r.jsxs)(Aa.Provider,{value:this.actionManager,children:[(0,r.jsxs)(Ia,{canvas:this.canvas,appState:this.state,files:this.files,setAppState:this.setAppState,actionManager:this.actionManager,elements:this.scene.getNonDeletedElements(),onLockToggle:this.toggleLock,onPenModeToggle:this.togglePenMode,onHandToolToggle:this.onHandToolToggle,langCode:(0,M.G3)().code,renderTopRightUI:Fe,renderCustomStats:Ge,showExitZenModeBtn:((ne=this.props)===null||ne===void 0?void 0:ne.zenModeEnabled)===void 0&&this.state.zenModeEnabled,UIOptions:this.props.UIOptions,onExportImage:this.onExportImage,renderWelcomeScreen:!this.state.isLoading&&this.state.showWelcomeScreen&&this.state.activeTool.type==="selection"&&!this.state.zenModeEnabled&&!this.scene.getElementsIncludingDeleted().length,app:this,isCollaborating:this.props.isCollaborating,children:[this.props.children,this.state.openDialog==="mermaid"&&(0,r.jsx)(dn,{})]}),(0,r.jsx)("div",{className:"excalidraw-textEditorContainer"}),(0,r.jsx)("div",{className:"excalidraw-contextMenuContainer"}),(0,r.jsx)("div",{className:"excalidraw-eye-dropper-container"}),(0,r.jsx)(Kn,{manager:this.laserPathManager}),Ie.length===1&&!this.state.contextMenu&&this.state.showHyperlinkPopup&&(0,r.jsx)(ii.nW,{element:Ie[0],setAppState:this.setAppState,onLinkOpen:this.props.onLinkOpen,setToast:this.setToast},Ie[0].id),this.state.toast!==null&&(0,r.jsx)(qo,{message:this.state.toast.message,onClose:function(){return ke.setToast(null)},duration:this.state.toast.duration,closable:this.state.toast.closable}),this.state.contextMenu&&(0,r.jsx)(Ne,{items:this.state.contextMenu.items,top:this.state.contextMenu.top,left:this.state.contextMenu.left,actionManager:this.actionManager,onClose:function(bt){ke.setState({contextMenu:null},function(){ke.focusContainer(),bt?.()})}}),(0,r.jsx)(gr,{canvas:this.canvas,rc:this.rc,elements:st,visibleElements:kt,versionNonce:qe,selectionNonce:(B=this.state.selectionElement)===null||B===void 0?void 0:B.versionNonce,scale:window.devicePixelRatio,appState:this.state,renderConfig:{imageCache:this.imageCache,isExporting:!1,renderGrid:!0}}),(0,r.jsx)($t,{containerRef:this.excalidrawContainerRef,canvas:this.interactiveCanvas,elements:st,visibleElements:kt,selectedElements:Ie,versionNonce:qe,selectionNonce:(X=this.state.selectionElement)===null||X===void 0?void 0:X.versionNonce,scale:window.devicePixelRatio,appState:this.state,renderInteractiveSceneCallback:this.renderInteractiveSceneCallback,handleCanvasRef:this.handleInteractiveCanvasRef,onContextMenu:this.handleCanvasContextMenu,onPointerMove:this.handleCanvasPointerMove,onPointerUp:this.handleCanvasPointerUp,onPointerCancel:this.removePointer,onTouchMove:this.handleTouchMove,onPointerDown:this.handleCanvasPointerDown,onDoubleClick:this.handleCanvasDoubleClick}),this.renderFrameNames()]}),this.renderEmbeddables()]})})})})})})})})}},{key:"componentDidMount",value:(R=(0,m.Z)(k().mark(function ne(){var B,X=this;return k().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:this.unmounted=!1,this.excalidrawContainerValue.container=this.excalidrawContainerRef.current,d.Vi.TEST==="production"&&(this.setState.bind(this),Object.defineProperties(window.h,{state:{configurable:!0,get:function(){return X.state}},setState:{configurable:!0,value:function(){return X.setState.apply(X,arguments)}},app:{configurable:!0,value:this},history:{configurable:!0,value:this.history}})),this.scene.addCallback(this.onSceneUpdated),this.addEventListeners(),this.props.autoFocus&&this.excalidrawContainerRef.current&&this.focusContainer(),(0,h.h2)()||(this.refreshViewportBreakpoints(),this.refreshEditorBreakpoints()),Ya&&this.excalidrawContainerRef.current&&(this.resizeObserver=new ResizeObserver(function(){X.refreshEditorBreakpoints(),X.updateDOMRect()}),(B=this.resizeObserver)===null||B===void 0||B.observe(this.excalidrawContainerRef.current)),new URLSearchParams(window.location.search.slice(1)).has("web-share-target")?this.restoreFileFromShare():this.updateDOMRect(this.initializeScene),(0,d.jP)()&&!(0,at.eB)()&&this.setState({errorMessage:(0,r.jsx)(qt,{})});case 11:case"end":return ke.stop()}},ne,this)})),function(){return R.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){var ne;this.renderer.destroy(),this.scene=new se.Z,this.renderer=new Sr(this.scene),this.files={},this.imageCache.clear(),(ne=this.resizeObserver)===null||ne===void 0||ne.disconnect(),this.unmounted=!0,this.removeEventListeners(),this.scene.destroy(),this.library.destroy(),this.laserPathManager.destroy(),this.onChangeEmitter.destroy(),Po.R.destroy(),Jn.destroy(),clearTimeout(Ei),ue.N.clearCache(),Ae.bO.clearCache(),Ei=0}},{key:"removeEventListeners",value:function(){var ne,B,X,ke;document.removeEventListener(d.Ks.POINTER_UP,this.removePointer),document.removeEventListener(d.Ks.COPY,this.onCopy),document.removeEventListener(d.Ks.PASTE,this.pasteFromClipboard),document.removeEventListener(d.Ks.CUT,this.onCut),(ne=this.excalidrawContainerRef.current)===null||ne===void 0||ne.removeEventListener(d.Ks.WHEEL,this.onWheel),(B=this.nearestScrollableContainer)===null||B===void 0||B.removeEventListener(d.Ks.SCROLL,this.onScroll),document.removeEventListener(d.Ks.KEYDOWN,this.onKeyDown,!1),document.removeEventListener(d.Ks.MOUSE_MOVE,this.updateCurrentCursorPosition,!1),document.removeEventListener(d.Ks.KEYUP,this.onKeyUp),window.removeEventListener(d.Ks.RESIZE,this.onResize,!1),window.removeEventListener(d.Ks.UNLOAD,this.onUnload,!1),window.removeEventListener(d.Ks.BLUR,this.onBlur,!1),(X=this.excalidrawContainerRef.current)===null||X===void 0||X.removeEventListener(d.Ks.DRAG_OVER,this.disableEvent,!1),(ke=this.excalidrawContainerRef.current)===null||ke===void 0||ke.removeEventListener(d.Ks.DROP,this.disableEvent,!1),document.removeEventListener(d.Ks.GESTURE_START,this.onGestureStart,!1),document.removeEventListener(d.Ks.GESTURE_CHANGE,this.onGestureChange,!1),document.removeEventListener(d.Ks.GESTURE_END,this.onGestureEnd,!1),window.removeEventListener(d.Ks.MESSAGE,this.onWindowMessage,!1)}},{key:"addEventListeners",value:function(){var ne,B,X,ke,Ie,Pe=this;this.removeEventListeners(),window.addEventListener(d.Ks.MESSAGE,this.onWindowMessage,!1),document.addEventListener(d.Ks.POINTER_UP,this.removePointer),document.addEventListener(d.Ks.COPY,this.onCopy),(ne=this.excalidrawContainerRef.current)===null||ne===void 0||ne.addEventListener(d.Ks.WHEEL,this.onWheel,{passive:!1}),this.props.handleKeyboardGlobally&&document.addEventListener(d.Ks.KEYDOWN,this.onKeyDown,!1),document.addEventListener(d.Ks.KEYUP,this.onKeyUp,{passive:!0}),document.addEventListener(d.Ks.MOUSE_MOVE,this.updateCurrentCursorPosition),(B=document.fonts)===null||B===void 0||(X=B.addEventListener)===null||X===void 0||X.call(B,"loadingdone",function(Fe){var Ge=Fe.fontfaces;Pe.fonts.onFontsLoaded(Ge)}),document.addEventListener(d.Ks.GESTURE_START,this.onGestureStart,!1),document.addEventListener(d.Ks.GESTURE_CHANGE,this.onGestureChange,!1),document.addEventListener(d.Ks.GESTURE_END,this.onGestureEnd,!1),this.state.viewModeEnabled||(document.addEventListener(d.Ks.PASTE,this.pasteFromClipboard),document.addEventListener(d.Ks.CUT,this.onCut),this.props.detectScroll&&(this.nearestScrollableContainer=(0,h.Ip)(this.excalidrawContainerRef.current),this.nearestScrollableContainer.addEventListener(d.Ks.SCROLL,this.onScroll)),window.addEventListener(d.Ks.RESIZE,this.onResize,!1),window.addEventListener(d.Ks.UNLOAD,this.onUnload,!1),window.addEventListener(d.Ks.BLUR,this.onBlur,!1),(ke=this.excalidrawContainerRef.current)===null||ke===void 0||ke.addEventListener(d.Ks.DRAG_OVER,this.disableEvent,!1),(Ie=this.excalidrawContainerRef.current)===null||Ie===void 0||Ie.addEventListener(d.Ks.DROP,this.disableEvent,!1))}},{key:"componentDidUpdate",value:function(ne,B){var X,ke,Ie,Pe,Fe=this;this.updateEmbeddables(),this.state.showWelcomeScreen||this.scene.getElementsIncludingDeleted().length||this.setState({showWelcomeScreen:!0}),ne.UIOptions.dockedSidebarBreakpoint!==this.props.UIOptions.dockedSidebarBreakpoint&&this.refreshEditorBreakpoints(),(B.scrollX!==this.state.scrollX||B.scrollY!==this.state.scrollY)&&((Ie=this.props)===null||Ie===void 0||(Pe=Ie.onScrollChange)===null||Pe===void 0||Pe.call(Ie,this.state.scrollX,this.state.scrollY)),Object.keys(this.state.selectedElementIds).length&&(0,_.EN)(this.state)&&this.setState({activeTool:(0,h.Om)(this.state,{type:"selection"})}),this.state.activeTool.type==="eraser"&&B.theme!==this.state.theme&&(0,Pn.OF)(this.interactiveCanvas,this.state.theme),B.activeTool.type==="selection"&&this.state.activeTool.type!=="selection"&&this.state.showHyperlinkPopup&&this.setState({showHyperlinkPopup:!1}),ne.langCode!==this.props.langCode&&this.updateLanguage(),ne.viewModeEnabled!==this.props.viewModeEnabled&&this.setState({viewModeEnabled:!!this.props.viewModeEnabled}),B.viewModeEnabled!==this.state.viewModeEnabled&&(this.addEventListeners(),this.deselectElements()),ne.zenModeEnabled!==this.props.zenModeEnabled&&this.setState({zenModeEnabled:!!this.props.zenModeEnabled}),ne.theme!==this.props.theme&&this.props.theme&&this.setState({theme:this.props.theme}),ne.gridModeEnabled!==this.props.gridModeEnabled&&this.setState({gridSize:this.props.gridModeEnabled?d.k:null}),this.props.name&&ne.name!==this.props.name&&this.setState({name:this.props.name}),(X=this.excalidrawContainerRef.current)===null||X===void 0||X.classList.toggle("theme--dark",this.state.theme==="dark"),this.state.editingLinearElement&&!this.state.selectedElementIds[this.state.editingLinearElement.elementId]&&setTimeout(function(){Fe.state.editingLinearElement&&Fe.actionManager.executeAction(G.pL)}),(ke=this.state.editingElement)!==null&&ke!==void 0&&ke.isDeleted&&this.setState({editingElement:null}),this.state.selectedLinearElement&&!this.state.selectedElementIds[this.state.selectedLinearElement.elementId]&&this.setState({selectedLinearElement:null});var Ge,qe,it=B.multiElement;B.activeTool!==this.state.activeTool&&it!=null&&(0,y.N1)(this.state)&&(0,Y.Mn)(it,!1)&&(0,y.R)(it,this.state,this.scene,(0,h.AK)(re._.getPointAtIndexGlobalCoordinates(it,-1))),this.history.record(this.state,this.scene.getElementsIncludingDeleted()),this.state.isLoading||((Ge=(qe=this.props).onChange)===null||Ge===void 0||Ge.call(qe,this.scene.getElementsIncludingDeleted(),this.state,this.files),this.onChangeEmitter.trigger(this.scene.getElementsIncludingDeleted(),this.state,this.files))}},{key:"addElementsFromMixedContentPaste",value:(g=(0,m.Z)(k().mark(function ne(B,X){var ke,Ie,Pe,Fe,Ge,qe,it,st,kt,Lt,bt,vt,jt,Nt,Vt;return k().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(ke=X.isPlainPaste,Ie=X.sceneX,Pe=X.sceneY,ke||!B.some(function(Ht){return Ht.type==="imageUrl"})||!this.isToolSupported("image")){Zt.next=35;break}return Fe=B.filter(function(Ht){return Ht.type==="imageUrl"}).map(function(Ht){return Ht.value}),Zt.next=5,Promise.all(Fe.map(function(){var Ht=(0,m.Z)(k().mark(function or(Er){return k().wrap(function(Zr){for(;;)switch(Zr.prev=Zr.next){case 0:return Zr.prev=0,Zr.next=3,(0,zt._p)(Er);case 3:return Zr.t0=Zr.sent,Zr.abrupt("return",{file:Zr.t0});case 7:return Zr.prev=7,Zr.t1=Zr.catch(0),Zr.abrupt("return",{errorMessage:Zr.t1.message});case 10:case"end":return Zr.stop()}},or,null,[[0,7]])}));return function(or){return Ht.apply(this,arguments)}}()));case 5:Ge=Zt.sent,qe=Pe,it=!1,st={},kt=uo(Ge),Zt.prev=10,kt.s();case 12:if((Lt=kt.n()).done){Zt.next=22;break}if(!(bt=Lt.value).file){Zt.next=20;break}return vt=this.createImageElement({sceneX:Ie,sceneY:qe}),Zt.next=18,this.insertImageElement(vt,bt.file);case 18:(jt=Zt.sent)&&(it||(it=!0,qe-=jt.height/2),(0,b.DR)(jt,{y:qe},!1),qe=vt.y+vt.height+25,st[vt.id]=!0);case 20:Zt.next=12;break;case 22:Zt.next=27;break;case 24:Zt.prev=24,Zt.t0=Zt.catch(10),kt.e(Zt.t0);case 27:return Zt.prev=27,kt.f(),Zt.finish(27);case 30:this.setState({selectedElementIds:(0,bn.Oh)(st,this.state)}),Nt=Ge.find(function(Ht){return!!Ht.errorMessage}),Nt&&Nt.errorMessage&&this.setState({errorMessage:Nt.errorMessage}),Zt.next=37;break;case 35:(Vt=B.filter(function(Ht){return Ht.type==="text"})).length&&this.addTextFromPaste(Vt.map(function(Ht){return Ht.value}).join(` + +`),ke);case 37:case"end":return Zt.stop()}},ne,this,[[10,24,27,30]])})),function(ne,B){return g.apply(this,arguments)})},{key:"addTextFromPaste",value:function(ne){var B=this,X=arguments.length>1&&arguments[1]!==void 0&&arguments[1],ke=(0,h.dE)({clientX:this.lastViewportPosition.x,clientY:this.lastViewportPosition.y},this.state),Ie=ke.x,Pe=ke.y,Fe={x:Ie,y:Pe,strokeColor:this.state.currentItemStrokeColor,backgroundColor:this.state.currentItemBackgroundColor,fillStyle:this.state.currentItemFillStyle,strokeWidth:this.state.currentItemStrokeWidth,strokeStyle:this.state.currentItemStrokeStyle,roundness:null,roughness:this.state.currentItemRoughness,opacity:this.state.currentItemOpacity,text:ne,fontSize:this.state.currentItemFontSize,fontFamily:this.state.currentItemFontFamily,textAlign:this.state.currentItemTextAlign,verticalAlign:d.hs,locked:!1},Ge=10,qe=Pe,it=X?[ne]:ne.split(` +`),st=it.reduce(function(Lt,bt,vt){var jt=bt.trim(),Nt=(0,at.PT)(Fe.fontFamily);if(jt.length){var Vt=B.getTopLayerFrameAtSceneCoords({x:Ie,y:qe}),Zt=(0,te.VL)(Dr(Dr({},Fe),{},{x:Ie,y:qe,text:jt,lineHeight:Nt,frameId:Vt?Vt.id:null}));Lt.push(Zt),qe+=Zt.height+Ge}else{var Ht;!((Ht=it[vt-1])===null||Ht===void 0)&&Ht.trim()&&(qe+=(0,at.Rg)(Fe.fontSize,Nt)+Ge)}return Lt},[]);if(st.length!==0){var kt=st[0].frameId;kt?this.scene.insertElementsAtIndex(st,this.scene.getElementIndex(kt)):this.scene.replaceAllElements([].concat((0,w.Z)(this.scene.getElementsIncludingDeleted()),(0,w.Z)(st))),this.setState({selectedElementIds:(0,bn.Oh)(Object.fromEntries(st.map(function(Lt){return[Lt.id,!0]})),this.state)}),!X&&st.length>1&&Ja===!1&&!this.device.editor.isMobile&&(this.setToast({message:(0,M.t)("toast.pasteAsSingleElement",{shortcut:(0,h.uY)("CtrlOrCmd+Shift+V")}),duration:5e3}),Ja=!0),this.history.resumeRecording()}}},{key:"handleTextWysiwyg",value:function(ne,B){var X=this,ke=B.isExistingElement,Ie=ke!==void 0&&ke,Pe=function(Fe,Ge,qe){X.scene.replaceAllElements((0,w.Z)(X.scene.getElementsIncludingDeleted().map(function(it){return it.id===ne.id&&(0,te.iB)(it)?(0,te.N_)(it,{text:Fe,isDeleted:qe,originalText:Ge}):it})))};(0,te.b_)({id:ne.id,canvas:this.canvas,getViewportCoords:function(Fe,Ge){var qe=(0,h._i)({sceneX:Fe,sceneY:Ge},X.state),it=qe.x,st=qe.y;return[it-X.state.offsetLeft,st-X.state.offsetTop]},onChange:(0,h.tH)(function(Fe){Pe(Fe,Fe,!1),(0,te.qP)(ne)&&(0,y.Ww)(ne)}),onSubmit:(0,h.tH)(function(Fe){var Ge=Fe.text,qe=Fe.viaKeyboard,it=Fe.originalText,st=!Ge.trim();if(Pe(Ge,it,st),!st&&qe){var kt=ne.containerId?ne.containerId:ne.id;X.setState(function(Lt){return{selectedElementIds:(0,bn.Oh)(Dr(Dr({},Lt.selectedElementIds),{},(0,N.Z)({},kt,!0)),Lt)}})}st&&(0,y.$q)(X.scene.getNonDeletedElements(),[ne]),st&&!Ie||X.history.resumeRecording(),X.setState({draggingElement:null,editingElement:null}),X.state.activeTool.locked&&(0,Pn.Uk)(X.interactiveCanvas,X.state),X.focusContainer()}),element:ne,excalidrawContainer:this.excalidrawContainerRef.current,app:this}),this.deselectElements(),Pe(ne.text,ne.originalText,!1)}},{key:"deselectElements",value:function(){this.setState({selectedElementIds:(0,bn.Oh)({},this.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null})}},{key:"getTextElementAtPosition",value:function(ne,B){var X=this.getElementAtPosition(ne,B,{includeBoundTextElement:!0});return X&&(0,te.iB)(X)&&!X.isDeleted?X:null}},{key:"getElementAtPosition",value:function(ne,B,X){var ke=this.getElementsAtPosition(ne,B,X?.includeBoundTextElement,X?.includeLockedElements);if(ke.length>1){if(X!=null&&X.preferSelected){for(var Ie=ke.length-1;Ie>-1;Ie--)if(this.state.selectedElementIds[ke[Ie].id])return ke[Ie]}var Pe=ke[ke.length-1];return(0,te.wB)(Pe,this.state,this.frameNameBoundsCache,ne,B)?ke[ke.length-2]:Pe}return ke.length===1?ke[0]:null}},{key:"getElementsAtPosition",value:function(ne,B){var X=this,ke=arguments.length>2&&arguments[2]!==void 0&&arguments[2],Ie=arguments.length>3&&arguments[3]!==void 0&&arguments[3],Pe=ke&&Ie?this.scene.getNonDeletedElements():this.scene.getNonDeletedElements().filter(function(Fe){return(Ie||!Fe.locked)&&(ke||!((0,te.iB)(Fe)&&Fe.containerId))});return(0,ue.CJ)(Pe,function(Fe){return(0,te.wX)(Fe,X.state,X.frameNameBoundsCache,ne,B)}).filter(function(Fe){var Ge=(0,so.$Z)(Fe);return!(Ge&&X.state.frameRendering.enabled&&X.state.frameRendering.clip)||(0,so.Dn)({x:ne,y:B},Ge)})}},{key:"handleHoverSelectedLinearElement",value:function(ne,B,X){var ke=re._.getElement(ne.elementId),Ie=(0,at.WJ)(ke);if(ke)if(this.state.selectedLinearElement){var Pe=-1,Fe=null;(0,ma.Qu)(ke,this.state,this.frameNameBoundsCache,[B,X])?(Pe=re._.getPointIndexUnderCursor(ke,this.state.zoom,B,X),Fe=re._.getSegmentMidpointHitCoords(ne,{x:B,y:X},this.state),Pe>=0||Fe?(0,Pn.KJ)(this.interactiveCanvas,d.oc.POINTER):(0,Pn.KJ)(this.interactiveCanvas,d.oc.MOVE)):((0,Mi.oY)([ke],this.state)&&(0,te.wB)(ke,this.state,this.frameNameBoundsCache,B,X)||Ie&&(0,te.wX)(Ie,this.state,this.frameNameBoundsCache,B,X))&&(0,Pn.KJ)(this.interactiveCanvas,d.oc.MOVE),this.state.selectedLinearElement.hoverPointIndex!==Pe&&this.setState({selectedLinearElement:Dr(Dr({},this.state.selectedLinearElement),{},{hoverPointIndex:Pe})}),re._.arePointsEqual(this.state.selectedLinearElement.segmentMidPointHoveredCoords,Fe)||this.setState({selectedLinearElement:Dr(Dr({},this.state.selectedLinearElement),{},{segmentMidPointHoveredCoords:Fe})})}else(0,Pn.KJ)(this.interactiveCanvas,d.oc.AUTO)}},{key:"maybeCleanupAfterMissingPointerUp",value:function(ne){Ri!==null&&Ri(ne)}},{key:"updateGestureOnPointerDown",value:function(ne){Gn.pointers.set(ne.pointerId,{x:ne.clientX,y:ne.clientY}),Gn.pointers.size===2&&(Gn.lastCenter=V(Gn.pointers),Gn.initialScale=this.state.zoom.value,Gn.initialDistance=ie(Array.from(Gn.pointers.values())))}},{key:"initialPointerDownState",value:function(ne){var B=(0,h.dE)(ne,this.state),X=this.scene.getSelectedElements(this.state),ke=(0,te.KP)(X),Ie=(0,P.Z)(ke,4),Pe=Ie[0],Fe=Ie[1],Ge=Ie[2],qe=Ie[3];return{origin:B,withCmdOrCtrl:ne[A.tW.CTRL_OR_CMD],originInGrid:(0,h.AK)((0,ge.wC)(B.x,B.y,ne[A.tW.CTRL_OR_CMD]?null:this.state.gridSize)),scrollbars:(0,ue._4)(Ra,ne.clientX-this.state.offsetLeft,ne.clientY-this.state.offsetTop),lastCoords:Dr({},B),originalElements:this.scene.getNonDeletedElements().reduce(function(it,st){return it.set(st.id,(0,oe.OL)(st)),it},new Map),resize:{handleType:!1,isResizing:!1,offset:{x:0,y:0},arrowDirection:"origin",center:{x:(Ge+Pe)/2,y:(qe+Fe)/2}},hit:{element:null,allHitElements:[],wasAddedToSelection:!1,hasBeenDuplicated:!1,hasHitCommonBoundingBoxOfSelectedElements:this.isHittingCommonBoundingBoxOfSelectedElements(B,X)},drag:{hasOccurred:!1,offset:null},eventListeners:{onMove:null,onUp:null,onKeyUp:null,onKeyDown:null},boxSelection:{hasOccurred:!1},elementIdsToErase:{}}}},{key:"handleDraggingScrollBar",value:function(ne,B){var X=this;if(!B.scrollbars.isOverEither||this.state.multiElement)return!1;aa=!0,B.lastCoords.x=ne.clientX,B.lastCoords.y=ne.clientY;var ke=(0,h.$9)(function(Pe){Pe.target instanceof HTMLElement&&X.handlePointerMoveOverScrollbars(Pe,B)}),Ie=(0,h.tH)(function(){aa=!1,(0,Pn.Uk)(X.interactiveCanvas,X.state),Ri=null,X.setState({cursorButton:"up"}),X.savePointer(ne.clientX,ne.clientY,"up"),window.removeEventListener(d.Ks.POINTER_MOVE,ke),window.removeEventListener(d.Ks.POINTER_UP,Ie),ke.flush()});return Ri=Ie,window.addEventListener(d.Ks.POINTER_MOVE,ke),window.addEventListener(d.Ks.POINTER_UP,Ie),!0}},{key:"isASelectedElement",value:function(ne){return ne!=null&&this.state.selectedElementIds[ne.id]}},{key:"isHittingCommonBoundingBoxOfSelectedElements",value:function(ne,B){if(B.length<2)return!1;var X=10/this.state.zoom.value,ke=(0,te.KP)(B),Ie=(0,P.Z)(ke,4),Pe=Ie[0],Fe=Ie[1],Ge=Ie[2],qe=Ie[3];return ne.x>Pe-X&&ne.x<Ge+X&&ne.y>Fe-X&&ne.y<qe+X}},{key:"getCurrentItemRoundness",value:function(ne){return this.state.currentItemRoundness==="round"?{type:(0,Y.QI)(ne)?d.a6.ADAPTIVE_RADIUS:d.a6.PROPORTIONAL_RADIUS}:null}},{key:"maybeCacheReferenceSnapPoints",value:function(ne,B){var X=arguments.length>2&&arguments[2]!==void 0&&arguments[2];!Qn({event:ne,appState:this.state,selectedElements:B})||!X&&Jn.getReferenceSnapPoints()||Jn.setReferenceSnapPoints(xe(this.scene.getNonDeletedElements(),B,this.state))}},{key:"maybeCacheVisibleGaps",value:function(ne,B){var X=arguments.length>2&&arguments[2]!==void 0&&arguments[2];!Qn({event:ne,appState:this.state,selectedElements:B})||!X&&Jn.getVisibleGaps()||Jn.setVisibleGaps(xa(this.scene.getNonDeletedElements(),B,this.state))}},{key:"onKeyDownFromPointerDownHandler",value:function(ne){var B=this;return(0,h.tH)(function(X){B.maybeHandleResize(ne,X)||B.maybeDragNewGenericElement(ne,X)})}},{key:"onKeyUpFromPointerDownHandler",value:function(ne){var B=this;return(0,h.tH)(function(X){X.key===A.tW.ALT&&X.preventDefault(),B.maybeHandleResize(ne,X)||B.maybeDragNewGenericElement(ne,X)})}},{key:"onPointerMoveFromPointerDownHandler",value:function(ne){var B=this;return(0,h.$9)(function(X){var ke;if(ne.drag.offset===null&&(ne.drag.offset=(0,h.AK)((0,te.$V)(B.scene.getSelectedElements(B.state),ne.origin.x,ne.origin.y))),X.target instanceof HTMLElement&&!B.handlePointerMoveOverScrollbars(X,ne)){var Ie=(0,h.dE)(X,B.state);if((0,_.EN)(B.state))B.handleEraser(X,ne,Ie);else{B.state.activeTool.type==="laser"&&B.laserPathManager.addPointToPath(Ie.x,Ie.y);var Pe=(0,ge.wC)(Ie.x,Ie.y,X[A.tW.CTRL_OR_CMD]?null:B.state.gridSize),Fe=(0,P.Z)(Pe,2),Ge=Fe[0],qe=Fe[1];if(ne.drag.hasOccurred||B.state.activeTool.type!=="arrow"&&B.state.activeTool.type!=="line"||!((0,ge.LW)(Ie.x,Ie.y,ne.origin.x,ne.origin.y)<d.f)){if(ne.resize.isResizing&&(ne.lastCoords.x=Ie.x,ne.lastCoords.y=Ie.y,B.maybeHandleResize(ne,X)))return!0;if(B.state.selectedLinearElement){var it=B.state.editingLinearElement||B.state.selectedLinearElement;if(re._.shouldAddMidpoint(B.state.selectedLinearElement,Ie,B.state)){var st=re._.addMidpoint(B.state.selectedLinearElement,Ie,B.state,!X[A.tW.CTRL_OR_CMD]);return st?void(0,ce.flushSync)(function(){B.state.selectedLinearElement&&B.setState({selectedLinearElement:Dr(Dr({},B.state.selectedLinearElement),{},{pointerDownState:st.pointerDownState,selectedPointsIndices:st.selectedPointsIndices})}),B.state.editingLinearElement&&B.setState({editingLinearElement:Dr(Dr({},B.state.editingLinearElement),{},{pointerDownState:st.pointerDownState,selectedPointsIndices:st.selectedPointsIndices})})}):void 0}if(it.pointerDownState.segmentMidpoint.value!==null&&!it.pointerDownState.segmentMidpoint.added)return;var kt=re._.handlePointDragging(X,B.state,Ie.x,Ie.y,function(An,On){B.maybeSuggestBindingsForLinearElementAtCoords(An,On)},it);if(kt)return ne.lastCoords.x=Ie.x,ne.lastCoords.y=Ie.y,ne.drag.hasOccurred=!0,B.state.editingLinearElement&&!B.state.editingLinearElement.isDragging&&B.setState({editingLinearElement:Dr(Dr({},B.state.editingLinearElement),{},{isDragging:!0})}),void(B.state.selectedLinearElement.isDragging||B.setState({selectedLinearElement:Dr(Dr({},B.state.selectedLinearElement),{},{isDragging:!0})}))}var Lt=ne.hit.allHitElements.some(function(An){return B.isASelectedElement(An)}),bt=B.state.editingLinearElement&&X.shiftKey&&B.state.editingLinearElement.elementId===((ke=ne.hit.element)===null||ke===void 0?void 0:ke.id);if((Lt||ne.hit.hasHitCommonBoundingBoxOfSelectedElements)&&!bt){var vt,jt=B.scene.getSelectedElements(B.state);if(jt.every(function(An){return An.locked}))return;var Nt=jt.find(function(An){return(0,Y.He)(An)}),Vt=B.getTopLayerFrameAtSceneCoords(Ie);if(B.setState({frameToHighlight:Vt&&!Nt?Vt:null}),ne.drag.hasOccurred=!0,B.setState({selectedElementsAreBeingDragged:!0}),jt.length>0&&!ne.withCmdOrCtrl&&!B.state.editingElement&&((vt=B.state.activeEmbeddable)===null||vt===void 0?void 0:vt.state)!=="active"){var Zt={x:Ie.x-ne.origin.x,y:Ie.y-ne.origin.y},Ht=(0,w.Z)(ne.originalElements.values()),or=X.shiftKey;if(or){var Er=Math.abs(Zt.x),Zr=Math.abs(Zt.y),Kr=or&&Er>Zr;or&&Er<Zr&&(Zt.x=0),Kr&&(Zt.y=0)}B.maybeCacheVisibleGaps(X,jt),B.maybeCacheReferenceSnapPoints(X,jt);var tn=function(An,On,co,So){var zi,Na,Ba,Ha;if(!Qn({appState:co,event:So,selectedElements:An})||An.length===0)return{snapOffset:{x:0,y:0},snapLines:[]};On.x=ze(On.x),On.y=ze(On.y);var Si=[],Vo=[],Ni=Lo(co.zoom.value),ca={x:Ni,y:Ni},Sa=Zo(An,{dragOffset:On});Le(An,Sa,co,So,Si,Vo,ca),Ke(An,On,co,So,Si,Vo,ca);var el={x:(zi=(Na=Si[0])===null||Na===void 0?void 0:Na.offset)!==null&&zi!==void 0?zi:0,y:(Ba=(Ha=Vo[0])===null||Ha===void 0?void 0:Ha.offset)!==null&&Ba!==void 0?Ba:0};ca.x=0,ca.y=0,Si.length=0,Vo.length=0;var Wa={x:ze(On.x+el.x),y:ze(On.y+el.y)};Le(An,Zo(An,{dragOffset:Wa}),co,So,Si,Vo,ca),Ke(An,Wa,co,So,Si,Vo,ca);var tl=$e(Si,Vo),ol=nt(An,Wa,[].concat(Si,Vo).filter(function(il){return il.type==="gap"}));return{snapOffset:el,snapLines:[].concat(tl,ol)}}((0,ue.eD)(Ht,B.state),Zt,B.state,X),nn=tn.snapOffset,Ur=tn.snapLines;if(B.setState({snapLines:Ur}),!B.state.editingFrame&&(0,te.o8)(ne,jt,Zt,B.state,B.scene,nn,X[A.tW.CTRL_OR_CMD]?null:B.state.gridSize),B.maybeSuggestBindingForAll(jt),X.altKey&&!ne.hit.hasBeenDuplicated){ne.hit.hasBeenDuplicated=!0;var Gr,Xr=[],Yr=[],cn=new Map,gn=new Map,hn=ne.hit.element,xn=new Set(B.scene.getSelectedElements({selectedElementIds:B.state.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0}).map(function(An){return An.id})),sn=uo(B.scene.getElementsIncludingDeleted());try{for(sn.s();!(Gr=sn.n()).done;){var on=Gr.value;if(xn.has(on.id)||on.id===hn?.id&&ne.hit.wasAddedToSelection){var Sn=(0,te.Sy)(B.state.editingGroupId,cn,on),Nn=ne.originalElements.get(on.id);(0,b.DR)(Sn,{x:Nn.x,y:Nn.y}),ne.originalElements.set(Sn.id,Sn),Xr.push(Sn),Yr.push(on),gn.set(on.id,Sn.id)}else Xr.push(on)}}catch(An){sn.e(An)}finally{sn.f()}var Bn=[].concat(Xr,Yr);(0,at.P7)(Xr,Yr,gn),(0,y.ek)(Bn,Yr,gn,"duplicatesServeAsOld"),(0,so.xr)(Bn,Yr,gn),B.scene.replaceAllElements(Bn),B.maybeCacheVisibleGaps(X,jt,!0),B.maybeCacheReferenceSnapPoints(X,jt,!0)}return}}var Dn=B.state.draggingElement;if(Dn){if(Dn.type==="freedraw"){var In=Dn.points,Rn=Ie.x-Dn.x,yn=Ie.y-Dn.y,Fn=In.length>0&&In[In.length-1];if(!(Fn&&Fn[0]===Rn&&Fn[1]===yn)){var wo=Dn.simulatePressure?Dn.pressures:[].concat((0,w.Z)(Dn.pressures),[X.pressure]);(0,b.DR)(Dn,{points:[].concat((0,w.Z)(In),[[Rn,yn]]),pressures:wo})}}else if((0,Y.bt)(Dn)){ne.drag.hasOccurred=!0,B.setState({selectedElementsAreBeingDragged:!0});var ln=Dn.points,en=Ge-Dn.x,_n=qe-Dn.y;if((0,A.Ge)(X)&&ln.length===2){var Un=(0,te.o4)(Dn.x,Dn.y,Ie.x,Ie.y);en=Un.width,_n=Un.height}ln.length===1?(0,b.DR)(Dn,{points:[].concat((0,w.Z)(ln),[[en,_n]])}):ln.length===2&&(0,b.DR)(Dn,{points:[].concat((0,w.Z)(ln.slice(0,-1)),[[en,_n]])}),(0,Y.Mn)(Dn,!1)&&B.maybeSuggestBindingsForLinearElementAtCoords(Dn,[Ie],B.state.startBoundElement)}else ne.lastCoords.x=Ie.x,ne.lastCoords.y=Ie.y,B.maybeDragNewGenericElement(ne,X);if(B.state.activeTool.type==="selection"){ne.boxSelection.hasOccurred=!0;var to=B.scene.getNonDeletedElements();if(B.state.editingLinearElement)re._.handleBoxSelection(X,B.state,B.setState.bind(B));else{var no=!0;!X.shiftKey&&(0,ue.N)(to,B.state)&&(ne.withCmdOrCtrl&&ne.hit.element?B.setState(function(An){return(0,Ae.bO)(Dr(Dr({},An),{},{selectedElementIds:(0,N.Z)({},ne.hit.element.id,!0)}),B.scene.getNonDeletedElements(),An,B)}):no=!1);var ao=(0,ue.Yp)(to,Dn);B.setState(function(An){var On=Dr(Dr({},no&&An.selectedElementIds),ao.reduce(function(co,So){return co[So.id]=!0,co},{}));return ne.hit.element&&(ao.length?delete On[ne.hit.element.id]:On[ne.hit.element.id]=!0),An=no?An:Dr(Dr({},An),{},{selectedGroupIds:{},editingGroupId:null}),Dr(Dr({},(0,Ae.bO)({editingGroupId:An.editingGroupId,selectedElementIds:On},B.scene.getNonDeletedElements(),An,B)),{},{selectedLinearElement:ao.length===1&&(0,Y.bt)(ao[0])?new re._(ao[0],B.scene):null,showHyperlinkPopup:!(ao.length!==1||!ao[0].link&&!(0,Y.gs)(ao[0]))&&"info"})})}}}}}}})}},{key:"handlePointerMoveOverScrollbars",value:function(ne,B){if(B.scrollbars.isOverHorizontal){var X=ne.clientX,ke=X-B.lastCoords.x;return this.translateCanvas({scrollX:this.state.scrollX-ke/this.state.zoom.value}),B.lastCoords.x=X,!0}if(B.scrollbars.isOverVertical){var Ie=ne.clientY,Pe=Ie-B.lastCoords.y;return this.translateCanvas({scrollY:this.state.scrollY-Pe/this.state.zoom.value}),B.lastCoords.y=Ie,!0}return!1}},{key:"onPointerUpFromPointerDownHandler",value:function(ne){var B=this;return(0,h.tH)(function(X){var ke;ne.eventListeners.onMove&&ne.eventListeners.onMove.flush();var Ie,Pe,Fe=B.state,Ge=Fe.draggingElement,qe=Fe.resizingElement,it=Fe.multiElement,st=Fe.activeTool,kt=Fe.isResizing,Lt=Fe.isRotating;if(B.setState({isResizing:!1,isRotating:!1,resizingElement:null,selectionElement:null,frameToHighlight:null,elementsToHighlight:null,cursorButton:"up",editingElement:it||(0,te.iB)(B.state.editingElement)?B.state.editingElement:null,snapLines:[],originSnapOffset:null}),Jn.setReferenceSnapPoints(null),Jn.setVisibleGaps(null),B.savePointer(X.clientX,X.clientY,"up"),B.setState({selectedElementsAreBeingDragged:!1}),B.state.editingLinearElement)if(ne.boxSelection.hasOccurred||((Ie=ne.hit)===null||Ie===void 0||(Pe=Ie.element)===null||Pe===void 0?void 0:Pe.id)===B.state.editingLinearElement.elementId){var bt=re._.handlePointerUp(X,B.state.editingLinearElement,B.state);bt!==B.state.editingLinearElement&&B.setState({editingLinearElement:bt,suggestedBindings:[]})}else B.actionManager.executeAction(G.pL);else if(B.state.selectedLinearElement){var vt,jt;if(((vt=ne.hit)===null||vt===void 0||(jt=vt.element)===null||jt===void 0?void 0:jt.id)!==B.state.selectedLinearElement.elementId)B.scene.getSelectedElements(B.state).length>1&&B.setState({selectedLinearElement:null});else{var Nt=re._.handlePointerUp(X,B.state.selectedLinearElement,B.state),Vt=Nt.startBindingElement,Zt=Nt.endBindingElement,Ht=B.scene.getElement(Nt.elementId);(0,Y.Mn)(Ht)&&(0,y.HG)(Ht,Vt,Zt),Nt!==B.state.selectedLinearElement&&B.setState({selectedLinearElement:Dr(Dr({},Nt),{},{selectedPointsIndices:null}),suggestedBindings:[]})}}if(Ri=null,window.removeEventListener(d.Ks.POINTER_MOVE,ne.eventListeners.onMove),window.removeEventListener(d.Ks.POINTER_UP,ne.eventListeners.onUp),window.removeEventListener(d.Ks.KEYDOWN,ne.eventListeners.onKeyDown),window.removeEventListener(d.Ks.KEYUP,ne.eventListeners.onKeyUp),B.state.pendingImageElementId&&B.setState({pendingImageElementId:null}),B.onPointerUpEmitter.trigger(B.state.activeTool,ne,X),Ge?.type==="freedraw"){var or=(0,h.dE)(X,B.state),Er=Ge.points,Zr=or.x-Ge.x,Kr=or.y-Ge.y;Zr===Er[0][0]&&Kr===Er[0][1]&&(Kr+=1e-4,Zr+=1e-4);var tn=Ge.simulatePressure?[]:[].concat((0,w.Z)(Ge.pressures),[X.pressure]);return(0,b.DR)(Ge,{points:[].concat((0,w.Z)(Er),[[Zr,Kr]]),pressures:tn,lastCommittedPoint:[Zr,Kr]}),void B.actionManager.executeAction(G.pL)}if((0,Y.pC)(Ge)){var nn=Ge;try{B.initializeImageDimensions(nn),B.setState({selectedElementIds:(0,bn.Oh)((0,N.Z)({},nn.id,!0),B.state)},function(){B.actionManager.executeAction(G.pL)})}catch(ln){console.error(ln),B.scene.replaceAllElements(B.scene.getElementsIncludingDeleted().filter(function(en){return en.id!==nn.id})),B.actionManager.executeAction(G.pL)}}else if((0,Y.bt)(Ge)){Ge.points.length>1&&B.history.resumeRecording();var Ur=(0,h.dE)(X,B.state);ne.drag.hasOccurred||!Ge||it?ne.drag.hasOccurred&&!it&&((0,y.N1)(B.state)&&(0,Y.Mn)(Ge,!1)&&(0,y.R)(Ge,B.state,B.scene,Ur),B.setState({suggestedBindings:[],startBoundElement:null}),st.locked?B.setState(function(ln){return{draggingElement:null}}):((0,Pn.z8)(B.interactiveCanvas),B.setState(function(ln){return{draggingElement:null,activeTool:(0,h.Om)(B.state,{type:"selection"}),selectedElementIds:(0,bn.Oh)(Dr(Dr({},ln.selectedElementIds),{},(0,N.Z)({},Ge.id,!0)),ln),selectedLinearElement:new re._(Ge,B.scene)}}))):((0,b.DR)(Ge,{points:[].concat((0,w.Z)(Ge.points),[[Ur.x-Ge.x,Ur.y-Ge.y]])}),B.setState({multiElement:Ge,editingElement:B.state.draggingElement}))}else{if(st.type!=="selection"&&Ge&&(0,te.QD)(Ge))return B.scene.replaceAllElements(B.scene.getElementsIncludingDeleted().filter(function(ln){return ln.id!==Ge.id})),void B.setState({draggingElement:null});if(Ge){if(ne.drag.hasOccurred){var Gr=(0,h.dE)(X,B.state);if(B.state.selectedLinearElement&&B.state.selectedLinearElement.isDragging){var Xr=B.scene.getElement(B.state.selectedLinearElement.elementId);if(Xr!=null&&Xr.frameId){var Yr=(0,so.$Z)(Xr);Yr&&Xr&&((0,so.cO)(Xr,Yr)||((0,b.DR)(Xr,{groupIds:[]}),B.scene.replaceAllElements((0,so.lz)(B.scene.getElementsIncludingDeleted(),[Xr],B.state))))}}else{var cn=B.getTopLayerFrameAtSceneCoords(Gr),gn=B.scene.getSelectedElements(B.state),hn=B.scene.getElementsIncludingDeleted(),xn=function(ln){if(ln.length>0){var en,_n=uo(ln);try{for(_n.s();!(en=_n.n()).done;){var Un=en.value,to=Un.groupIds.indexOf(B.state.editingGroupId);(0,b.DR)(Un,{groupIds:Un.groupIds.slice(0,to)},!1)}}catch(no){_n.e(no)}finally{_n.f()}hn.forEach(function(no){no.groupIds.length&&(0,Ae.Fb)(hn,no.groupIds[no.groupIds.length-1]).length<2&&(0,b.DR)(no,{groupIds:[]},!1)}),B.setState({editingGroupId:null})}};if(cn&&!B.state.selectedElementIds[cn.id]){var sn=gn.filter(function(ln){return ln.frameId!==cn.id&&(0,so.Qs)(ln,hn,B.state)});B.state.editingGroupId&&xn(sn),hn=(0,so.A_)(hn,sn,cn)}else if(!cn&&B.state.editingGroupId){var on=gn.filter(function(ln){return ln.frameId&&!(0,so.Qs)(ln,hn,B.state)});xn(on)}hn=(0,so.Tq)(hn,B.state,B),B.scene.replaceAllElements(hn)}}if(Ge.type==="frame"){var Sn=(0,so.fj)(B.scene.getElementsIncludingDeleted(),Ge);B.scene.replaceAllElements((0,so.A_)(B.scene.getElementsIncludingDeleted(),Sn,Ge))}(0,b.DR)(Ge,(0,te.Qp)(Ge))}if(qe&&B.history.resumeRecording(),qe&&(0,te.QD)(qe)&&B.scene.replaceAllElements(B.scene.getElementsIncludingDeleted().filter(function(ln){return ln.id!==qe.id})),ne.resize.isResizing){var Nn,Bn=(0,so.Tq)(B.scene.getElementsIncludingDeleted(),B.state,B),Dn=B.scene.getSelectedElements(B.state).filter(function(ln){return ln.type==="frame"}),In=uo(Dn);try{for(In.s();!(Nn=In.n()).done;){var Rn=Nn.value;Bn=(0,so.pr)(Bn,(0,so.ni)(B.scene.getElementsIncludingDeleted(),Rn,B.state),Rn,B.state)}}catch(ln){In.e(ln)}finally{In.f()}B.scene.replaceAllElements(Bn)}var yn=ne.hit.element;if(((ke=B.state.selectedLinearElement)===null||ke===void 0?void 0:ke.elementId)!==yn?.id&&(0,Y.bt)(yn)&&B.scene.getSelectedElements(B.state).length===1&&B.setState({selectedLinearElement:new re._(yn,B.scene)}),(0,_.EN)(B.state)){if((0,ge.LW)(B.lastPointerDownEvent.clientX,B.lastPointerDownEvent.clientY,B.lastPointerUpEvent.clientX,B.lastPointerUpEvent.clientY)===0){var Fn=(0,h.dE)({clientX:B.lastPointerUpEvent.clientX,clientY:B.lastPointerUpEvent.clientY},B.state);B.getElementsAtPosition(Fn.x,Fn.y).forEach(function(ln){return ne.elementIdsToErase[ln.id]={erase:!0,opacity:ln.opacity}})}B.eraseElements(ne)}else{var wo;Object.keys(ne.elementIdsToErase).length&&B.restoreReadyToEraseElements(ne),yn&&!ne.drag.hasOccurred&&!ne.hit.wasAddedToSelection&&(!B.state.editingLinearElement||!ne.boxSelection.hasOccurred)&&(X.shiftKey&&!B.state.editingLinearElement?B.state.selectedElementIds[yn.id]?(0,Ae.zq)(B.state,yn)?B.setState(function(ln){var en,_n=Dr({},ln.selectedElementIds),Un=uo(yn.groupIds.flatMap(function(to){return(0,Ae.Fb)(B.scene.getNonDeletedElements(),to)}));try{for(Un.s();!(en=Un.n()).done;)delete _n[en.value.id]}catch(to){Un.e(to)}finally{Un.f()}return{selectedGroupIds:Dr(Dr({},ln.selectedElementIds),yn.groupIds.map(function(to){return(0,N.Z)({},to,!1)}).reduce(function(to,no){return Dr(Dr({},to),no)},{})),selectedElementIds:(0,bn.Oh)(_n,ln)}}):(wo=B.state.selectedLinearElement)!==null&&wo!==void 0&&wo.isDragging||B.setState(function(ln){var en=Dr({},ln.selectedElementIds);delete en[yn.id];var _n=(0,ue.eD)(B.scene.getNonDeletedElements(),{selectedElementIds:en});return Dr(Dr({},(0,Ae.bO)({editingGroupId:ln.editingGroupId,selectedElementIds:en},B.scene.getNonDeletedElements(),ln,B)),{},{selectedLinearElement:_n.length===1&&(0,Y.bt)(_n[0])?new re._(_n[0],B.scene):ln.selectedLinearElement})}):yn.frameId&&B.state.selectedElementIds[yn.frameId]?B.setState(function(ln){var en,_n,Un=Dr(Dr({},ln.selectedElementIds),{},(0,N.Z)({},yn.id,!0));return delete Un[yn.frameId],((en=(_n=B.scene.getElement(yn.frameId))===null||_n===void 0?void 0:_n.groupIds)!==null&&en!==void 0?en:[]).flatMap(function(to){return(0,Ae.Fb)(B.scene.getNonDeletedElements(),to)}).forEach(function(to){delete Un[to.id]}),Dr(Dr({},(0,Ae.bO)({editingGroupId:ln.editingGroupId,selectedElementIds:Un},B.scene.getNonDeletedElements(),ln,B)),{},{showHyperlinkPopup:!(!yn.link&&!(0,Y.gs)(yn))&&"info"})}):B.setState(function(ln){return{selectedElementIds:(0,bn.Oh)(Dr(Dr({},ln.selectedElementIds),{},(0,N.Z)({},yn.id,!0)),ln)}}):B.setState(function(ln){var en;return Dr(Dr({},(0,Ae.bO)({editingGroupId:ln.editingGroupId,selectedElementIds:(0,N.Z)({},yn.id,!0)},B.scene.getNonDeletedElements(),ln,B)),{},{selectedLinearElement:(0,Y.bt)(yn)&&((en=ln.selectedLinearElement)===null||en===void 0?void 0:en.elementId)!==yn.id?new re._(yn,B.scene):ln.selectedLinearElement})})),ne.drag.hasOccurred||B.state.isResizing||!(yn&&(0,te.wB)(yn,B.state,B.frameNameBoundsCache,ne.origin.x,ne.origin.y)||!yn&&ne.hit.hasHitCommonBoundingBoxOfSelectedElements)?(!st.locked&&st.type!=="freedraw"&&Ge&&Ge.type!=="selection"&&B.setState(function(ln){return{selectedElementIds:(0,bn.Oh)(Dr(Dr({},ln.selectedElementIds),{},(0,N.Z)({},Ge.id,!0)),ln),showHyperlinkPopup:(0,Y.gs)(Ge)&&!Ge.link?"editor":ln.showHyperlinkPopup}}),(st.type!=="selection"||(0,ue.N)(B.scene.getNonDeletedElements(),B.state))&&B.history.resumeRecording(),(ne.drag.hasOccurred||kt||Lt)&&((0,y.N1)(B.state)?y.el:y.H)(B.scene.getSelectedElements(B.state)),st.type!=="laser"?(st.locked||st.type==="freedraw"?B.setState({draggingElement:null,suggestedBindings:[]}):((0,Pn.z8)(B.interactiveCanvas),B.setState({draggingElement:null,suggestedBindings:[],activeTool:(0,h.Om)(B.state,{type:"selection"})})),yn&&B.lastPointerUpEvent&&B.lastPointerDownEvent&&B.lastPointerUpEvent.timeStamp-B.lastPointerDownEvent.timeStamp<300&&Gn.pointers.size<=1&&(0,Y.gs)(yn)&&B.isEmbeddableCenter(yn,B.lastPointerUpEvent,ne.origin.x,ne.origin.y)&&B.handleEmbeddableCenterClick(yn)):B.laserPathManager.endPath()):B.state.editingLinearElement?B.setState({editingLinearElement:null}):B.setState({selectedElementIds:(0,bn.Oh)({},B.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null})}}})}},{key:"maybeSuggestBindingForAll",value:function(ne){if(!(ne.length>50)){var B=(0,y.ZB)(ne);this.setState({suggestedBindings:B})}}},{key:"clearSelection",value:function(ne){this.setState(function(B){return{selectedElementIds:(0,bn.Oh)({},B),activeEmbeddable:null,selectedGroupIds:{},editingGroupId:B.editingGroupId&&ne!=null&&(0,Ae.Nd)(ne,B.editingGroupId)?B.editingGroupId:null}}),this.setState({selectedElementIds:(0,bn.Oh)({},this.state),activeEmbeddable:null,previousSelectedElementIds:this.state.selectedElementIds})}},{key:"getTextWysiwygSnappedToCenterPosition",value:function(ne,B,X,ke){if(ke){var Ie=ke.x+ke.width/2,Pe=ke.y+ke.height/2,Fe=(0,at.TP)(ke,X);if(Fe&&(Ie=Fe.x,Pe=Fe.y),Math.hypot(ne-Ie,B-Pe)<d.wZ){var Ge=(0,h._i)({sceneX:Ie,sceneY:Pe},X);return{viewportX:Ge.x,viewportY:Ge.y,elementCenterX:Ie,elementCenterY:Pe}}}}},{key:"getCanvasOffsets",value:function(){var ne;if((ne=this.excalidrawContainerRef)!==null&&ne!==void 0&&ne.current){var B=this.excalidrawContainerRef.current.getBoundingClientRect();return{offsetLeft:B.left,offsetTop:B.top}}return{offsetLeft:0,offsetTop:0}}},{key:"updateLanguage",value:(o=(0,m.Z)(k().mark(function ne(){var B,X=this;return k().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return B=M.Mj.find(function(Ie){return Ie.code===X.props.langCode})||M.Fp,ke.next=3,(0,M.m0)(B);case 3:this.setAppState({});case 4:case"end":return ke.stop()}},ne,this)})),function(){return o.apply(this,arguments)})}],[{key:"resetTapTwice",value:function(){Ea=!1}}]),de}(J().Component);eo.defaultProps={UIOptions:d.cW};var Qa=function(){var T=this;this.interactiveCanvas=null,this.unmounted=!1,this.device=gi,this.excalidrawContainerRef=J().createRef(),this.files={},this.imageCache=new Map,this.iFrameRefs=new Map,this.lastPointerDownEvent=null,this.lastPointerUpEvent=null,this.lastViewportPosition={x:0,y:0},this.laserPathManager=new pi(this),this.onChangeEmitter=new bo,this.onPointerDownEmitter=new bo,this.onPointerUpEmitter=new bo,this.updateEmbeddables=function(){var o=new Map,g=!1;T.scene.getNonDeletedElements().filter(function(R){if((0,Y.gs)(R)&&(o.set(R.id,!0),R.validated==null)){g=!0;var q=(0,s.xm)(R.link,T.props.validateEmbeddable);(0,b.DR)(R,{validated:q},!1),Po.R.delete(R)}return!1}),g&&T.scene.informMutation(),T.iFrameRefs.forEach(function(R,q){o.has(q)||T.iFrameRefs.delete(q)})},this.getFrameNameDOMId=function(o){return"".concat(T.id,"-frame-name-").concat(o.id)},this.frameNameBoundsCache={get:function(o){var g=T.frameNameBoundsCache._cache.get(o.id);if(!g||g.zoom!==T.state.zoom.value||g.versionNonce!==o.versionNonce){var R=document.getElementById(T.getFrameNameDOMId(o));if(R){var q=R.getBoundingClientRect(),de=(0,h.dE)({clientX:q.x,clientY:q.y},T.state),ne=(0,h.dE)({clientX:q.right,clientY:q.bottom},T.state);return g={x:de.x,y:de.y,width:ne.x-de.x,height:ne.y-de.y,angle:0,zoom:T.state.zoom.value,versionNonce:o.versionNonce},T.frameNameBoundsCache._cache.set(o.id,g),g}return null}return g},_cache:new Map},this.renderFrameNames=function(){if(!T.state.frameRendering.enabled||!T.state.frameRendering.name)return null;var o=T.state.theme==="dark";return T.scene.getNonDeletedFrames().map(function(g,R){if(!(0,Oe.PZ)(g,T.canvas.width/window.devicePixelRatio,T.canvas.height/window.devicePixelRatio,{offsetLeft:T.state.offsetLeft,offsetTop:T.state.offsetTop,scrollX:T.state.scrollX,scrollY:T.state.scrollY,zoom:T.state.zoom}))return null;var q,de=(0,h._i)({sceneX:g.x,sceneY:g.y},T.state),ne=de.x,B=de.y,X=function(){var Ie;((Ie=g.name)===null||Ie===void 0?void 0:Ie.trim())===""&&(0,b.DR)(g,{name:null}),T.setState({editingFrame:null})};if(g.id===T.state.editingFrame){var ke=g.name==null?"Frame ".concat(R+1):g.name;q=(0,r.jsx)("input",{autoFocus:!0,value:ke,onChange:function(Ie){(0,b.DR)(g,{name:Ie.target.value})},onBlur:function(){return X()},onKeyDown:function(Ie){Ie.key!==A.tW.ESCAPE&&Ie.key!==A.tW.ENTER||X()},style:{background:T.state.viewBackgroundColor,filter:o?d.ZF:"none",zIndex:2,border:"none",display:"block",padding:"".concat(6,"px"),borderRadius:4,boxShadow:"inset 0 0 0 1px var(--color-primary)",fontFamily:"Assistant",fontSize:"14px",transform:"translate(-".concat(6,"px, ").concat(6,"px)"),color:"var(--color-gray-80)",overflow:"hidden",maxWidth:"".concat(document.body.clientWidth-ne-6,"px")},size:ke.length+1||1,dir:"auto",autoComplete:"off",autoCapitalize:"off",autoCorrect:"off"})}else q=g.name==null||g.name.trim()===""?"Frame ".concat(R+1):g.name.trim();return(0,r.jsx)("div",{id:T.getFrameNameDOMId(g),style:{position:"absolute",bottom:"".concat(T.state.height+d.iG.nameOffsetY-B+T.state.offsetTop,"px"),left:"".concat(ne-T.state.offsetLeft,"px"),zIndex:2,fontSize:d.iG.nameFontSize,color:o?d.iG.nameColorDarkTheme:d.iG.nameColorLightTheme,lineHeight:d.iG.nameLineHeight,width:"max-content",maxWidth:"".concat(g.width,"px"),overflow:g.id===T.state.editingFrame?"visible":"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",cursor:d.oc.MOVE,pointerEvents:T.state.viewModeEnabled?d.XI.disabled:d.XI.enabled},onPointerDown:function(Ie){return T.handleCanvasPointerDown(Ie)},onWheel:function(Ie){return T.handleWheel(Ie)},onContextMenu:T.handleCanvasContextMenu,onDoubleClick:function(){T.setState({editingFrame:g.id})},children:q},g.id)})},this.focusContainer=function(){var o;(o=T.excalidrawContainerRef.current)===null||o===void 0||o.focus()},this.getSceneElementsIncludingDeleted=function(){return T.scene.getElementsIncludingDeleted()},this.getSceneElements=function(){return T.scene.getNonDeletedElements()},this.onInsertElements=function(o){T.addElementsFromPasteOrLibrary({elements:o,position:"center",files:null})},this.onExportImage=function(){var o=(0,m.Z)(k().mark(function g(R,q,de){var ne;return k().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return(0,l.L)("export",R,"ui"),B.next=3,(0,D.p1)(R,q,T.state,T.files,{exportBackground:T.state.exportBackground,name:T.state.name,viewBackgroundColor:T.state.viewBackgroundColor,exportingFrame:de.exportingFrame}).catch(h.FG).catch(function(X){console.error(X),T.setState({errorMessage:X.message})});case 3:ne=B.sent,T.state.exportEmbedScene&&ne&&(0,zt.g8)(ne)&&T.setState({fileHandle:ne});case 5:case"end":return B.stop()}},g)}));return function(g,R,q){return o.apply(this,arguments)}}(),this.openEyeDropper=function(o){var g=o.type;Qo.e_.set(Oi.$,{swapPreviewOnAlt:!0,colorPickerType:g==="stroke"?"elementStroke":"elementBackground",onSelect:function(R,q){var de=g==="background"&&q.altKey||g==="stroke"&&!q.altKey;T.scene.getSelectedElements(T.state).length&&T.state.activeTool.type==="selection"?T.updateScene({elements:T.scene.getElementsIncludingDeleted().map(function(ne){return T.state.selectedElementIds[ne.id]?(0,b.BE)(ne,(0,N.Z)({},de?"strokeColor":"backgroundColor",R)):ne})}):de?T.syncActionResult({appState:Dr(Dr({},T.state),{},{currentItemStrokeColor:R}),commitToHistory:!0}):T.syncActionResult({appState:Dr(Dr({},T.state),{},{currentItemBackgroundColor:R}),commitToHistory:!0})},keepOpenOnAlt:!1})},this.syncActionResult=(0,h.tH)(function(o){if(!T.unmounted&&o!==!1){var g=null;if(o.elements&&(o.elements.forEach(function(bt){var vt;((vt=T.state.editingElement)===null||vt===void 0?void 0:vt.id)===bt.id&&T.state.editingElement!==bt&&(0,te.qP)(bt)&&(g=bt)}),T.scene.replaceAllElements(o.elements),o.commitToHistory&&T.history.resumeRecording()),o.files&&(T.files=o.replaceFiles?o.files:Dr(Dr({},T.files),o.files),T.addNewImagesToImageCache()),o.appState||g||T.state.contextMenu){var R,q,de,ne,B,X,ke,Ie,Pe,Fe;o.commitToHistory&&T.history.resumeRecording();var Ge=(o==null||(R=o.appState)===null||R===void 0?void 0:R.viewModeEnabled)||!1,qe=(o==null||(q=o.appState)===null||q===void 0?void 0:q.zenModeEnabled)||!1,it=(o==null||(de=o.appState)===null||de===void 0?void 0:de.gridSize)||null,st=(o==null||(ne=o.appState)===null||ne===void 0?void 0:ne.theme)||T.props.theme||d.C6.LIGHT,kt=(B=o==null||(X=o.appState)===null||X===void 0?void 0:X.name)!==null&&B!==void 0?B:T.state.name,Lt=(ke=o==null||(Ie=o.appState)===null||Ie===void 0?void 0:Ie.errorMessage)!==null&&ke!==void 0?ke:T.state.errorMessage;T.props.viewModeEnabled!==void 0&&(Ge=T.props.viewModeEnabled),T.props.zenModeEnabled!==void 0&&(qe=T.props.zenModeEnabled),T.props.gridModeEnabled!==void 0&&(it=T.props.gridModeEnabled?d.k:null),T.props.name!==void 0&&(kt=T.props.name),(Fe=g=g||((Pe=o.appState)===null||Pe===void 0?void 0:Pe.editingElement)||null)!==null&&Fe!==void 0&&Fe.isDeleted&&(g=null),T.setState(function(bt){return Object.assign(o.appState||{},{contextMenu:null,editingElement:g,viewModeEnabled:Ge,zenModeEnabled:qe,gridSize:it,theme:st,name:kt,errorMessage:Lt})},function(){o.syncHistory&&T.history.setCurrentState(T.state,T.scene.getElementsIncludingDeleted())})}}}),this.onBlur=(0,h.tH)(function(){Zi=!1,T.setState({isBindingEnabled:!0})}),this.onUnload=function(){T.onBlur()},this.disableEvent=function(o){o.preventDefault()},this.resetHistory=function(){T.history.clear()},this.resetScene=(0,h.tH)(function(o){T.scene.replaceAllElements([]),T.setState(function(g){return Dr(Dr({},(0,_.im)()),{},{isLoading:(o==null||!o.resetLoadingState)&&g.isLoading,theme:T.state.theme})}),T.resetHistory()}),this.initializeScene=(0,m.Z)(k().mark(function o(){var g,R,q,de,ne;return k().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return"launchQueue"in window&&"LaunchParams"in window&&window.launchQueue.setConsumer(function(){var X=(0,m.Z)(k().mark(function ke(Ie){var Pe,Fe;return k().wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(Ie.files.length){Ge.next=2;break}return Ge.abrupt("return");case 2:return Pe=Ie.files[0],Ge.next=5,Pe.getFile();case 5:Fe=Ge.sent,T.loadFileToCanvas(new File([Fe],Fe.name||"",{type:Fe.type}),Pe);case 7:case"end":return Ge.stop()}},ke)}));return function(ke){return X.apply(this,arguments)}}()),T.props.theme&&T.setState({theme:T.props.theme}),T.state.isLoading||T.setState({isLoading:!0}),q=null,B.prev=4,B.next=7,T.props.initialData;case 7:if(B.t0=B.sent,B.t0){B.next=10;break}B.t0=null;case 10:q=B.t0,(de=q)!==null&&de!==void 0&&de.libraryItems&&T.library.updateLibrary({libraryItems:q.libraryItems,merge:!0}).catch(function(X){console.error(X)}),B.next=18;break;case 14:B.prev=14,B.t1=B.catch(4),console.error(B.t1),q={appState:{errorMessage:B.t1.message||"Encountered an error during importing or restoring scene data"}};case 18:(ne=(0,ee.nu)(q,null,null,{repairBindings:!0})).appState=Dr(Dr({},ne.appState),{},{theme:T.props.theme||ne.appState.theme,openSidebar:((g=ne.appState)===null||g===void 0?void 0:g.openSidebar)||T.state.openSidebar,activeTool:ne.appState.activeTool.type==="image"?Dr(Dr({},ne.appState.activeTool),{},{type:"selection"}):ne.appState.activeTool,isLoading:!1,toast:T.state.toast}),(R=q)!==null&&R!==void 0&&R.scrollToContent&&(ne.appState=Dr(Dr({},ne.appState),(0,ue.W)(ne.elements,Dr(Dr({},ne.appState),{},{width:T.state.width,height:T.state.height,offsetTop:T.state.offsetTop,offsetLeft:T.state.offsetLeft})))),T.fonts.loadFontsForElements(ne.elements),T.resetHistory(),T.syncActionResult(Dr(Dr({},ne),{},{commitToHistory:!0}));case 24:case"end":return B.stop()}},o,null,[[4,14]])})),this.isMobileBreakpoint=function(o,g){return o<d.kV||g<d.Yx&&o<d.sS},this.refreshViewportBreakpoints=function(){if(T.excalidrawContainerRef.current){var o=document.body,g=o.clientWidth,R=o.clientHeight,q=T.device.viewport,de=(0,h.v4)(q,{isLandscape:g>R,isMobile:T.isMobileBreakpoint(g,R)});return q!==de&&(T.device=Dr(Dr({},T.device),{},{viewport:de}),!0)}},this.refreshEditorBreakpoints=function(){var o=T.excalidrawContainerRef.current;if(o){var g=o.getBoundingClientRect(),R=g.width,q=g.height,de=T.props.UIOptions.dockedSidebarBreakpoint!=null?T.props.UIOptions.dockedSidebarBreakpoint:d.sk,ne=T.device.editor,B=(0,h.v4)(ne,{isMobile:T.isMobileBreakpoint(R,q),canFitSidebar:R>de});return ne!==B&&(T.device=Dr(Dr({},T.device),{},{editor:B}),!0)}},this.onResize=(0,h.tH)(function(){T.scene.getElementsIncludingDeleted().forEach(function(o){return Po.R.delete(o)}),T.refreshViewportBreakpoints(),T.updateDOMRect(),Ya||T.refreshEditorBreakpoints(),T.setState({})}),this.renderInteractiveSceneCallback=function(o){var g=o.atLeastOneVisibleElement,R=o.scrollBars,q=o.elements;R&&(Ra=R);var de=!(0,te.iB)(T.state.editingElement)&&!g&&q.length>0;T.state.scrolledOutside!==de&&T.setState({scrolledOutside:de}),T.scheduleImageRefresh()},this.onScroll=(0,h.Ds)(function(){var o=T.getCanvasOffsets(),g=o.offsetTop,R=o.offsetLeft;T.setState(function(q){return q.offsetLeft===R&&q.offsetTop===g?null:{offsetTop:g,offsetLeft:R}})},d.HM),this.onCut=(0,h.tH)(function(o){var g;!((g=T.excalidrawContainerRef.current)===null||g===void 0)&&g.contains(document.activeElement)&&!(0,h.s)(o.target)&&(T.actionManager.executeAction(G.ZM,"keyboard",o),o.preventDefault(),o.stopPropagation())}),this.onCopy=(0,h.tH)(function(o){var g;!((g=T.excalidrawContainerRef.current)===null||g===void 0)&&g.contains(document.activeElement)&&!(0,h.s)(o.target)&&(T.actionManager.executeAction(G.uN,"keyboard",o),o.preventDefault(),o.stopPropagation())}),this.onTouchStart=function(o){if(d.Dt||o.preventDefault(),!Ea)return Ea=!0,clearTimeout(ia),void(ia=window.setTimeout(eo.resetTapTwice,d.Gj));if(Ea&&o.touches.length===1){var g=o.touches[0];T.handleCanvasDoubleClick({clientX:g.clientX,clientY:g.clientY}),Ea=!1,clearTimeout(ia)}d.Dt&&o.preventDefault(),o.touches.length===2&&T.setState({selectedElementIds:(0,bn.Oh)({},T.state),activeEmbeddable:null})},this.onTouchEnd=function(o){T.resetContextMenuTimer(),o.touches.length>0?T.setState({previousSelectedElementIds:{},selectedElementIds:(0,bn.Oh)(T.state.previousSelectedElementIds,T.state)}):Gn.pointers.clear()},this.pasteFromClipboard=(0,h.tH)(function(){var o=(0,m.Z)(k().mark(function g(R){var q,de,ne,B,X,ke,Ie,Pe,Fe,Ge,qe,it,st,kt,Lt,bt,vt;return k().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:if(ne=!!za,B=document.activeElement,X=(q=T.excalidrawContainerRef.current)===null||q===void 0?void 0:q.contains(B),!R||X){jt.next=5;break}return jt.abrupt("return");case 5:if(ke=document.elementFromPoint(T.lastViewportPosition.x,T.lastViewportPosition.y),!R||ke instanceof HTMLCanvasElement&&!(0,h.s)(B)){jt.next=8;break}return jt.abrupt("return");case 8:return Ie=(0,h.dE)({clientX:T.lastViewportPosition.x,clientY:T.lastViewportPosition.y},T.state),Pe=Ie.x,Fe=Ie.y,Ge=R==null||(de=R.clipboardData)===null||de===void 0?void 0:de.files[0],jt.next=12,(0,E.mQ)(R,ne);case 12:if(qe=jt.sent,Ge||ne){jt.next=19;break}if(!qe.mixedContent){jt.next=18;break}return jt.abrupt("return",T.addElementsFromMixedContentPaste(qe.mixedContent,{isPlainPaste:ne,sceneX:Pe,sceneY:Fe}));case 18:qe.text&&(it=qe.text.trim()).startsWith("<svg")&&it.endsWith("</svg>")&&(Ge=(0,zt.Pn)(it));case 19:if(!(0,zt.Wr)(Ge)||qe.spreadsheet){jt.next=28;break}if(T.isToolSupported("image")){jt.next=23;break}return T.setState({errorMessage:(0,M.t)("errors.imageToolNotSupported")}),jt.abrupt("return");case 23:return st=T.createImageElement({sceneX:Pe,sceneY:Fe}),T.insertImageElement(st,Ge),T.initializeImageDimensions(st),T.setState({selectedElementIds:(0,bn.Oh)((0,N.Z)({},st.id,!0),T.state)}),jt.abrupt("return");case 28:if(!T.props.onPaste){jt.next=40;break}return jt.prev=29,jt.next=32,T.props.onPaste(qe,R);case 32:if(jt.t0=jt.sent,jt.t0!==!1){jt.next=35;break}return jt.abrupt("return");case 35:jt.next=40;break;case 37:jt.prev=37,jt.t1=jt.catch(29),console.error(jt.t1);case 40:if(!qe.errorMessage){jt.next=44;break}T.setState({errorMessage:qe.errorMessage}),jt.next=60;break;case 44:if(!qe.spreadsheet||ne){jt.next=48;break}T.setState({pasteDialog:{data:qe.spreadsheet,shown:!0}}),jt.next=60;break;case 48:if(!qe.elements){jt.next=53;break}kt=qe.programmaticAPI?(0,Dt.w)(qe.elements):qe.elements,T.addElementsFromPasteOrLibrary({elements:kt,files:qe.files||null,position:"cursor",retainSeed:ne}),jt.next=60;break;case 53:if(!qe.text){jt.next=60;break}if(bt=(0,s.eX)(qe.text),ne||!(0,s.xm)(bt,T.props.validateEmbeddable)||!/^(http|https):\/\/[^\s/$.?#].[^\s]*$/.test(bt)&&((Lt=(0,s.LM)(bt))===null||Lt===void 0?void 0:Lt.type)!=="video"){jt.next=59;break}return(vt=T.insertEmbeddableElement({sceneX:Pe,sceneY:Fe,link:(0,Yo.$u)(bt)}))&&T.setState({selectedElementIds:(0,N.Z)({},vt.id,!0)}),jt.abrupt("return");case 59:T.addTextFromPaste(qe.text,ne);case 60:T.setActiveTool({type:"selection"}),R?.preventDefault();case 62:case"end":return jt.stop()}},g,null,[[29,37]])}));return function(g){return o.apply(this,arguments)}}()),this.addElementsFromPasteOrLibrary=function(o){var g=(0,ee.ET)(o.elements,null,void 0),R=(0,te.KP)(g),q=(0,P.Z)(R,4),de=q[0],ne=q[1],B=q[2],X=q[3],ke=(0,h.TE)(de,B)/2,Ie=(0,h.TE)(ne,X)/2,Pe=(0,e.Z)(o.position)==="object"?o.position.clientX:o.position==="cursor"?T.lastViewportPosition.x:T.state.width/2+T.state.offsetLeft,Fe=(0,e.Z)(o.position)==="object"?o.position.clientY:o.position==="cursor"?T.lastViewportPosition.y:T.state.height/2+T.state.offsetTop,Ge=(0,h.dE)({clientX:Pe,clientY:Fe},T.state),qe=Ge.x-ke,it=Ge.y-Ie,st=(0,ge.wC)(qe,it,T.state.gridSize),kt=(0,P.Z)(st,2),Lt=kt[0],bt=kt[1],vt=(0,oe._N)(g.map(function(Vt){return(0,b.BE)(Vt,{x:Vt.x+Lt-de,y:Vt.y+bt-ne})}),{randomizeSeed:!o.retainSeed}),jt=[].concat((0,w.Z)(T.scene.getElementsIncludingDeleted()),(0,w.Z)(vt));T.scene.replaceAllElements(jt),vt.forEach(function(Vt){if((0,te.iB)(Vt)&&(0,Y.Xh)(Vt)){var Zt=(0,at.tl)(Vt);(0,te.oN)(Vt,Zt)}}),o.files&&(T.files=Dr(Dr({},T.files),o.files)),T.history.resumeRecording();var Nt=(0,bn.aI)(vt);T.setState(Dr(Dr({},T.state),{},{openSidebar:T.state.openSidebar&&T.device.editor.canFitSidebar&&Qo.e_.get(Xi.t6)?T.state.openSidebar:null},(0,Ae.bO)({editingGroupId:null,selectedElementIds:Nt.reduce(function(Vt,Zt){return(0,Y.Xh)(Zt)||(Vt[Zt.id]=!0),Vt},{})},T.scene.getNonDeletedElements(),T.state,T)),function(){o.files&&T.addNewImagesToImageCache()}),T.setActiveTool({type:"selection"}),o.fitToContent&&T.scrollToContent(vt,{fitToContent:!0})},this.setAppState=function(o,g){T.setState(o,g)},this.removePointer=function(o){Ei&&T.resetContextMenuTimer(),Gn.pointers.delete(o.pointerId)},this.toggleLock=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ui";T.state.activeTool.locked||(0,l.L)("toolbar","toggleLock","".concat(o," (").concat(T.device.editor.isMobile?"mobile":"desktop",")")),T.setState(function(g){return{activeTool:Dr(Dr(Dr({},g.activeTool),(0,h.Om)(T.state,g.activeTool.locked?{type:"selection"}:g.activeTool)),{},{locked:!g.activeTool.locked})}})},this.updateFrameRendering=function(o){T.setState(function(g){var R,q,de,ne,B=typeof o=="function"?o(g.frameRendering):o;return{frameRendering:{enabled:(R=B?.enabled)!==null&&R!==void 0?R:g.frameRendering.enabled,clip:(q=B?.clip)!==null&&q!==void 0?q:g.frameRendering.clip,name:(de=B?.name)!==null&&de!==void 0?de:g.frameRendering.name,outline:(ne=B?.outline)!==null&&ne!==void 0?ne:g.frameRendering.outline}}})},this.togglePenMode=function(o){T.setState(function(g){return{penMode:o??!g.penMode,penDetected:!0}})},this.onHandToolToggle=function(){T.actionManager.executeAction(va.eF)},this.zoomCanvas=function(o){T.setState(Dr({},(0,j.E)({viewportX:T.state.width/2+T.state.offsetLeft,viewportY:T.state.height/2+T.state.offsetTop,nextZoom:(0,ue.j)(o)},T.state)))},this.cancelInProgresAnimation=null,this.scrollToContent=function(){var o,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:T.scene.getNonDeletedElements(),R=arguments.length>1?arguments[1]:void 0;(o=T.cancelInProgresAnimation)===null||o===void 0||o.call(T);var q=Array.isArray(g)?g:[g],de=T.state.zoom,ne=T.state.scrollX,B=T.state.scrollY;if(R!=null&&R.fitToContent||R!=null&&R.fitToViewport){var X=(0,va.JB)({targetElements:q,appState:T.state,fitToViewport:!(R==null||!R.fitToViewport),viewportZoomFactor:R?.viewportZoomFactor}),ke=X.appState;de=ke.zoom,ne=ke.scrollX,B=ke.scrollY}else{var Ie=(0,ue.W)(q,T.state);ne=Ie.scrollX,B=Ie.scrollY}if(R!=null&&R.animate){var Pe,Fe=T.state.scrollX,Ge=T.state.scrollY,qe=T.state.zoom.value,it=(0,h.B4)({fromValues:{scrollX:Fe,scrollY:Ge,zoom:qe},toValues:{scrollX:ne,scrollY:B,zoom:de.value},interpolateValue:function(st,kt,Lt,bt){if(bt==="zoom")return st*Math.pow(kt/st,(0,h.Vv)(Lt))},onStep:function(st){var kt=st.scrollX,Lt=st.scrollY,bt=st.zoom;T.setState({scrollX:kt,scrollY:Lt,zoom:{value:bt}})},onStart:function(){T.setState({shouldCacheIgnoreZoom:!0})},onEnd:function(){T.setState({shouldCacheIgnoreZoom:!1})},onCancel:function(){T.setState({shouldCacheIgnoreZoom:!1})},duration:(Pe=R?.duration)!==null&&Pe!==void 0?Pe:500});T.cancelInProgresAnimation=function(){it(),T.cancelInProgresAnimation=null}}else T.setState({scrollX:ne,scrollY:B,zoom:de})},this.translateCanvas=function(o){var g;(g=T.cancelInProgresAnimation)===null||g===void 0||g.call(T),T.setState(o)},this.setToast=function(o){T.setState({toast:o})},this.restoreFileFromShare=(0,m.Z)(k().mark(function o(){var g,R,q,de;return k().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.prev=0,ne.next=3,caches.open("web-share-target");case 3:return g=ne.sent,ne.next=6,g.match("shared-file");case 6:if(!(R=ne.sent)){ne.next=16;break}return ne.next=10,R.blob();case 10:return q=ne.sent,de=new File([q],q.name||"",{type:q.type}),T.loadFileToCanvas(de,null),ne.next=15,g.delete("shared-file");case 15:window.history.replaceState(null,d.iC,window.location.pathname);case 16:ne.next=21;break;case 18:ne.prev=18,ne.t0=ne.catch(0),T.setState({errorMessage:ne.t0.message});case 21:case"end":return ne.stop()}},o,null,[[0,18]])})),this.addFiles=(0,h.tH)(function(o){var g=o.reduce(function(R,q){return R.set(q.id,q),R},new Map);T.files=Dr(Dr({},T.files),Object.fromEntries(g)),T.scene.getNonDeletedElements().forEach(function(R){(0,Y.wi)(R)&&g.has(R.fileId)&&(T.imageCache.delete(R.fileId),Po.R.delete(R))}),T.scene.informMutation(),T.addNewImagesToImageCache()}),this.updateScene=(0,h.tH)(function(o){o.commitToHistory&&T.history.resumeRecording(),o.appState&&T.setState(o.appState),o.elements&&T.scene.replaceAllElements(o.elements),o.collaborators&&T.setState({collaborators:o.collaborators})}),this.onSceneUpdated=function(){T.setState({})},this.toggleSidebar=function(o){var g,R,q=o.name,de=o.tab,ne=o.force;return ne===void 0?g=((R=T.state.openSidebar)===null||R===void 0?void 0:R.name)===q?null:q:g=ne?q:null,T.setState({openSidebar:g?{name:g,tab:de}:null}),!!g},this.updateCurrentCursorPosition=(0,h.tH)(function(o){T.lastViewportPosition.x=o.clientX,T.lastViewportPosition.y=o.clientY}),this.onKeyDown=(0,h.tH)(function(o){if("Proxy"in window&&(!o.shiftKey&&/^[A-Z]$/.test(o.key)||o.shiftKey&&/^[a-z]$/.test(o.key))&&(o=new Proxy(o,{get:function(Lt,bt){var vt=Lt[bt];return typeof vt=="function"?vt.bind(Lt):bt==="key"?o.shiftKey?Lt.key.toUpperCase():Lt.key.toLowerCase():vt}})),o[A.tW.CTRL_OR_CMD]&&o.key.toLowerCase()===A.tW.V&&(za=o.shiftKey,clearTimeout(Va),Va=window.setTimeout(function(){za=!1},100)),!o[A.tW.CTRL_OR_CMD]||!(0,h.s)(o.target)||o.code!==A.aU.MINUS&&o.code!==A.aU.EQUAL){if(!((0,h.s)(o.target)&&o.key!==A.tW.ESCAPE||(0,A.Wl)(o.key)&&(0,h._Z)(o.target)))if(o.key!==A.tW.QUESTION_MARK){if(o.key.toLowerCase()===A.tW.E&&o.shiftKey&&o[A.tW.CTRL_OR_CMD])return o.preventDefault(),void T.setState({openDialog:"imageExport"});if(o.key===A.tW.PAGE_UP||o.key===A.tW.PAGE_DOWN){var g=(o.shiftKey?T.state.width:T.state.height)/T.state.zoom.value;o.key===A.tW.PAGE_DOWN&&(g=-g),o.shiftKey?T.translateCanvas(function(Lt){return{scrollX:Lt.scrollX+g}}):T.translateCanvas(function(Lt){return{scrollY:Lt.scrollY+g}})}if(!T.actionManager.handleKeyDown(o)&&!T.state.viewModeEnabled){if(o[A.tW.CTRL_OR_CMD]&&T.state.isBindingEnabled&&T.setState({isBindingEnabled:!1}),(0,A.Wl)(o.key)){var R=T.state.gridSize&&(o.shiftKey?d.$e:T.state.gridSize)||(o.shiftKey?d.Iw:d.$e),q=0,de=0;o.key===A.tW.ARROW_LEFT?q=-R:o.key===A.tW.ARROW_RIGHT?q=R:o.key===A.tW.ARROW_UP?de=-R:o.key===A.tW.ARROW_DOWN&&(de=R);var ne=T.scene.getSelectedElements({selectedElementIds:T.state.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0});ne.forEach(function(Lt){(0,b.DR)(Lt,{x:Lt.x+q,y:Lt.y+de}),(0,y.Ww)(Lt,{simultaneouslyUpdated:ne})}),T.maybeSuggestBindingForAll(ne),o.preventDefault()}else if(o.key===A.tW.ENTER){var B=T.scene.getSelectedElements(T.state);if(B.length===1){var X=B[0];if(o[A.tW.CTRL_OR_CMD])(0,Y.bt)(X)&&(T.state.editingLinearElement&&T.state.editingLinearElement.elementId===B[0].id||(T.history.resumeRecording(),T.setState({editingLinearElement:new re._(X,T.scene)})));else{if((0,te.iB)(X)||(0,at.Zr)(X)){var ke;(0,te.iB)(X)||(ke=X);var Ie=(0,at.TP)(X,T.state),Pe=Ie.x,Fe=Ie.y;return T.startTextEditing({sceneX:Pe,sceneY:Fe,container:ke}),void o.preventDefault()}(0,Y.He)(X)&&T.setState({editingFrame:X.id})}}}else if(!o.ctrlKey&&!o.altKey&&!o.metaKey&&T.state.draggingElement===null){var Ge=function(Lt){var bt=i.find(function(vt,jt){return vt.numericKey!=null&&Lt===vt.numericKey.toString()||vt.key&&(typeof vt.key=="string"?vt.key===Lt:vt.key.includes(Lt))});return bt?.value||null}(o.key);Ge?(T.state.activeTool.type!==Ge&&(0,l.L)("toolbar",Ge,"keyboard (".concat(T.device.editor.isMobile?"mobile":"desktop",")")),T.setActiveTool({type:Ge}),o.stopPropagation()):o.key===A.tW.Q&&(T.toggleLock("keyboard"),o.stopPropagation())}if(o.key===A.tW.SPACE&&Gn.pointers.size===0&&(Zi=!0,(0,Pn.KJ)(T.interactiveCanvas,d.oc.GRAB),o.preventDefault()),!(o.key!==A.tW.G&&o.key!==A.tW.S||o.altKey||o[A.tW.CTRL_OR_CMD])){var qe=T.scene.getSelectedElements(T.state);if(T.state.activeTool.type==="selection"&&!qe.length)return;o.key===A.tW.G&&((0,ue.$b)(T.state.activeTool.type)||qe.some(function(Lt){return(0,ue.$b)(Lt.type)}))&&(T.setState({openPopup:"elementBackground"}),o.stopPropagation()),o.key===A.tW.S&&(T.setState({openPopup:"elementStroke"}),o.stopPropagation())}if(o.key!==A.tW.K||o.altKey||o[A.tW.CTRL_OR_CMD]){!o[A.tW.CTRL_OR_CMD]||o.key!==A.tW.BACKSPACE&&o.key!==A.tW.DELETE||Qo.e_.set(jo.w,"clearCanvas");var it=o.key.toLocaleLowerCase(),st=it===A.tW.S&&o.shiftKey,kt=o.key===A.tW.I||it===A.tW.G&&o.shiftKey;(st||kt)&&T.openEyeDropper({type:st?"stroke":"background"})}else T.state.activeTool.type==="laser"?T.setActiveTool({type:"selection"}):T.setActiveTool({type:"laser"})}}else T.setState({openDialog:"help"})}else o.preventDefault()}),this.onWheel=(0,h.tH)(function(o){o.target instanceof HTMLCanvasElement||!o.ctrlKey||o.preventDefault()}),this.onKeyUp=(0,h.tH)(function(o){if(o.key===A.tW.SPACE&&(T.state.viewModeEnabled?(0,Pn.KJ)(T.interactiveCanvas,d.oc.GRAB):T.state.activeTool.type==="selection"?(0,Pn.z8)(T.interactiveCanvas):((0,Pn.Uk)(T.interactiveCanvas,T.state),T.setState({selectedElementIds:(0,bn.Oh)({},T.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null})),Zi=!1),o[A.tW.CTRL_OR_CMD]||T.state.isBindingEnabled||T.setState({isBindingEnabled:!0}),(0,A.Wl)(o.key)){var g=T.scene.getSelectedElements(T.state);(0,y.N1)(T.state)?(0,y.el)(g):(0,y.H)(g),T.setState({suggestedBindings:[]})}}),this.isToolSupported=function(o){var g;return((g=T.props.UIOptions.tools)===null||g===void 0?void 0:g[o])!==!1},this.setActiveTool=function(o){if(T.isToolSupported(o.type)){var g,R=(0,h.Om)(T.state,o);R.type==="hand"?(0,Pn.KJ)(T.interactiveCanvas,d.oc.GRAB):Zi||(0,Pn.Uk)(T.interactiveCanvas,T.state),(0,h.wO)(document.activeElement)&&T.focusContainer(),(0,Y.dt)(R.type)||T.setState({suggestedBindings:[]}),R.type==="image"&&T.onImageAction({insertOnCanvasDirectly:(g=o.type==="image"&&o.insertOnCanvasDirectly)!==null&&g!==void 0&&g}),T.setState(function(q){var de={snapLines:q.snapLines.length?[]:q.snapLines,originSnapOffset:null,activeEmbeddable:null};return R.type!=="selection"?Dr(Dr({},q),{},{activeTool:R,selectedElementIds:(0,bn.Oh)({},q),selectedGroupIds:(0,bn.Oh)({},q),editingGroupId:null,multiElement:null},de):Dr(Dr({},q),{},{activeTool:R},de)})}else console.warn('"'.concat(o.type,'" tool is disabled via "UIOptions.canvasActions.tools.').concat(o.type,'"'))},this.setOpenDialog=function(o){T.setState({openDialog:o})},this.setCursor=function(o){(0,Pn.KJ)(T.interactiveCanvas,o)},this.resetCursor=function(){(0,Pn.z8)(T.interactiveCanvas)},this.isTouchScreenMultiTouchGesture=function(){return Gn.pointers.size>=2},this.onGestureStart=(0,h.tH)(function(o){o.preventDefault(),T.isTouchScreenMultiTouchGesture()&&T.setState({selectedElementIds:(0,bn.Oh)({},T.state),activeEmbeddable:null}),Gn.initialScale=T.state.zoom.value}),this.onGestureChange=(0,h.tH)(function(o){if(o.preventDefault(),!T.isTouchScreenMultiTouchGesture()){var g=Gn.initialScale;g&&T.setState(function(R){return Dr({},(0,j.E)({viewportX:T.lastViewportPosition.x,viewportY:T.lastViewportPosition.y,nextZoom:(0,ue.j)(g*o.scale)},R))})}}),this.onGestureEnd=(0,h.tH)(function(o){o.preventDefault(),T.isTouchScreenMultiTouchGesture()&&T.setState({previousSelectedElementIds:{},selectedElementIds:(0,bn.Oh)(T.state.previousSelectedElementIds,T.state)}),Gn.initialScale=null}),this.startTextEditing=function(o){var g,R,q,de,ne=o.sceneX,B=o.sceneY,X=o.insertAtParentCenter,ke=X===void 0||X,Ie=o.container,Pe=!1,Fe=ke&&T.getTextWysiwygSnappedToCenterPosition(ne,B,T.state,Ie);Ie&&Fe&&((0,at.WJ)(Ie)||(Pe=!0));var Ge=null,qe=T.scene.getSelectedElements(T.state),it=((g=Ge=qe.length===1?(0,te.iB)(qe[0])?qe[0]:Ie?(0,at.WJ)(qe[0]):T.getTextElementAtPosition(ne,B):T.getTextElementAtPosition(ne,B))===null||g===void 0?void 0:g.fontFamily)||T.state.currentItemFontFamily,st=((R=Ge)===null||R===void 0?void 0:R.lineHeight)||(0,at.PT)(it),kt=T.state.currentItemFontSize;if(!Ge&&Pe&&Ie&&!(0,Y.Yv)(Ie)){var Lt={fontSize:kt,fontFamily:it},bt=(0,at.AT)((0,h.mO)(Lt),st),vt=(0,at.w_)(kt,st),jt=Math.max(Ie.height,vt),Nt=Math.max(Ie.width,bt);(0,b.DR)(Ie,{height:jt,width:Nt}),ne=Ie.x+Nt/2,B=Ie.y+jt/2,Fe&&(Fe=T.getTextWysiwygSnappedToCenterPosition(ne,B,T.state,Ie))}var Vt=T.getTopLayerFrameAtSceneCoords({x:ne,y:B}),Zt=Ge||(0,te.VL)({x:Fe?Fe.elementCenterX:ne,y:Fe?Fe.elementCenterY:B,strokeColor:T.state.currentItemStrokeColor,backgroundColor:T.state.currentItemBackgroundColor,fillStyle:T.state.currentItemFillStyle,strokeWidth:T.state.currentItemStrokeWidth,strokeStyle:T.state.currentItemStrokeStyle,roughness:T.state.currentItemRoughness,opacity:T.state.currentItemOpacity,text:"",fontSize:kt,fontFamily:it,textAlign:Fe?"center":T.state.currentItemTextAlign,verticalAlign:Fe?d.oX.MIDDLE:d.hs,containerId:Pe?Ie?.id:void 0,groupIds:(q=Ie?.groupIds)!==null&&q!==void 0?q:[],lineHeight:st,angle:(de=Ie?.angle)!==null&&de!==void 0?de:0,frameId:Vt?Vt.id:null});if(!Ge&&Pe&&Ie&&(0,b.DR)(Ie,{boundElements:(Ie.boundElements||[]).concat({type:"text",id:Zt.id})}),T.setState({editingElement:Zt}),!Ge)if(Ie&&Pe){var Ht=T.scene.getElementIndex(Ie.id);T.scene.insertElementAtIndex(Zt,Ht+1)}else T.scene.addNewElement(Zt);T.setState({editingElement:Zt}),T.handleTextWysiwyg(Zt,{isExistingElement:!!Ge})},this.handleCanvasDoubleClick=function(o){if(!T.state.multiElement&&T.state.activeTool.type==="selection"){var g=T.scene.getSelectedElements(T.state);if(g.length===1&&(0,Y.bt)(g[0])){if(o[A.tW.CTRL_OR_CMD]&&(!T.state.editingLinearElement||T.state.editingLinearElement.elementId!==g[0].id))return T.history.resumeRecording(),void T.setState({editingLinearElement:new re._(g[0],T.scene)});if(T.state.editingLinearElement&&T.state.editingLinearElement.elementId===g[0].id)return}(0,Pn.z8)(T.interactiveCanvas);var R=(0,h.dE)(o,T.state),q=R.x,de=R.y;if((0,Ae.iJ)(T.state).length>0){var ne=T.getElementAtPosition(q,de),B=ne&&(0,Ae.YS)(ne,T.state.selectedGroupIds);if(B)return void T.setState(function(Pe){return Dr(Dr({},Pe),(0,Ae.bO)({editingGroupId:B,selectedElementIds:(0,N.Z)({},ne.id,!0)},T.scene.getNonDeletedElements(),Pe,T))})}if((0,Pn.z8)(T.interactiveCanvas),!o[A.tW.CTRL_OR_CMD]&&!T.state.viewModeEnabled){var X=T.getElementAtPosition(q,de);if((0,Y.gs)(X))return void T.setState({activeEmbeddable:{element:X,state:"active"}});var ke=(0,at.OW)(T.scene.getNonDeletedElements(),T.state,q,de);if(ke&&((0,Y.Xo)(ke)||!(0,h.Qm)(ke.backgroundColor)||(0,ma.Qu)(ke,T.state,T.frameNameBoundsCache,[q,de]))){var Ie=(0,at.TP)(ke,T.state);q=Ie.x,de=Ie.y}T.startTextEditing({sceneX:q,sceneY:de,insertAtParentCenter:!o.altKey,container:ke})}}},this.getElementLinkAtPosition=function(o,g){var R=T.scene.getNonDeletedElements().slice().reverse(),q=1/0;return R.find(function(de,ne){return g&&de.id===g.id&&(q=ne),de.link&&ne<=q&&(0,ii.Ni)(de,T.state,[o.x,o.y],T.device.editor.isMobile)})},this.redirectToLink=function(o,g){var R=(0,ge.LW)(T.lastPointerDownEvent.clientX,T.lastPointerDownEvent.clientY,T.lastPointerUpEvent.clientX,T.lastPointerUpEvent.clientY);if(!(!T.hitLinkElement||g&&R>d.f||!g&&R!==0)){var q=(0,h.dE)(T.lastPointerDownEvent,T.state),de=(0,ii.Ni)(T.hitLinkElement,T.state,[q.x,q.y],T.device.editor.isMobile),ne=(0,h.dE)(T.lastPointerUpEvent,T.state),B=(0,ii.Ni)(T.hitLinkElement,T.state,[ne.x,ne.y],T.device.editor.isMobile);if(de&&B){var X,ke,Ie=T.hitLinkElement.link;if(Ie&&(Ie=(0,Yo.$u)(Ie),T.props.onLinkOpen&&(ke=(0,h.ag)(d.Ks.EXCALIDRAW_LINK,o.nativeEvent),T.props.onLinkOpen(Dr(Dr({},T.hitLinkElement),{},{link:Ie}),ke)),(X=ke)===null||X===void 0||!X.defaultPrevented)){var Pe=(0,Yo.q$)(Ie)?"_self":"_blank",Fe=window.open(void 0,Pe);Fe&&(Fe.opener=null,Fe.location=Ie)}}}},this.getTopLayerFrameAtSceneCoords=function(o){var g=T.scene.getNonDeletedFrames().filter(function(R){return(0,so.Dn)(o,R)});return g.length?g[g.length-1]:null},this.handleCanvasPointerMove=function(o){T.savePointer(o.clientX,o.clientY,T.state.cursorButton),Gn.pointers.has(o.pointerId)&&Gn.pointers.set(o.pointerId,{x:o.clientX,y:o.clientY});var g=Gn.initialScale;if(Gn.pointers.size===2&&Gn.lastCenter&&g&&Gn.initialDistance){var R=V(Gn.pointers),q=R.x-Gn.lastCenter.x,de=R.y-Gn.lastCenter.y;Gn.lastCenter=R;var ne=ie(Array.from(Gn.pointers.values())),B=T.state.activeTool.type==="freedraw"&&T.state.penMode?1:ne/Gn.initialDistance,X=B?(0,ue.j)(g*B):T.state.zoom.value;T.setState(function(Nn){var Bn=(0,j.E)({viewportX:R.x,viewportY:R.y,nextZoom:X},Nn);T.translateCanvas({zoom:Bn.zoom,scrollX:Bn.scrollX+q/X,scrollY:Bn.scrollY+de/X,shouldCacheIgnoreZoom:!0})}),T.resetShouldCacheIgnoreZoomDebounced()}else Gn.lastCenter=Gn.initialDistance=Gn.initialScale=null;if(!(Zi||bi||aa||(0,_.l$)(T.state))){var ke=(0,ue._4)(Ra,o.clientX-T.state.offsetLeft,o.clientY-T.state.offsetTop).isOverEither;T.state.draggingElement||T.state.multiElement||(ke?(0,Pn.z8)(T.interactiveCanvas):(0,Pn.Uk)(T.interactiveCanvas,T.state));var Ie,Pe=(0,h.dE)(o,T.state),Fe=Pe.x,Ge=Pe.y;if(T.state.draggingElement||(Ie=T.state.activeTool.type)!=="rectangle"&&Ie!=="ellipse"&&Ie!=="diamond"&&Ie!=="frame"&&Ie!=="image")T.state.draggingElement||T.setState({snapLines:[]});else{var qe=function(Nn,Bn,Dn,In){if(!Qn({event:In,selectedElements:[],appState:Bn}))return{originOffset:{x:0,y:0},snapLines:[]};var Rn,yn=(0,bn.CF)(Nn,[],Bn),Fn=Lo(Bn.zoom.value),wo={x:Fn,y:Fn},ln=[],en=[],_n=Bo(yn);try{for(_n.s();!(Rn=_n.n()).done;){var Un,to=Rn.value,no=Bo(Zo([to]));try{for(no.s();!(Un=no.n()).done;){var ao=Un.value,An=ao[0]-Dn.x;Math.abs(An)<=Math.abs(wo.x)&&(Math.abs(An)<Math.abs(wo.x)&&(en.length=0),en.push({type:"pointer",points:[ao,[ao[0],Dn.y]],direction:"vertical"}),wo.x=An);var On=ao[1]-Dn.y;Math.abs(On)<=Math.abs(wo.y)&&(Math.abs(On)<Math.abs(wo.y)&&(ln.length=0),ln.push({type:"pointer",points:[ao,[Dn.x,ao[1]]],direction:"horizontal"}),wo.y=On)}}catch(co){no.e(co)}finally{no.f()}}}catch(co){_n.e(co)}finally{_n.f()}return{originOffset:{x:en.length>0?en[0].points[0][0]-Dn.x:0,y:ln.length>0?ln[0].points[0][1]-Dn.y:0},snapLines:[].concat(en,ln)}}(T.scene.getNonDeletedElements(),T.state,{x:Fe,y:Ge},o),it=qe.originOffset,st=qe.snapLines;T.setState({snapLines:st,originSnapOffset:it})}if(T.state.editingLinearElement&&!T.state.editingLinearElement.isDragging){var kt=re._.handlePointerMove(o,Fe,Ge,T.state);kt&&kt!==T.state.editingLinearElement&&(0,ce.flushSync)(function(){T.setState({editingLinearElement:kt})}),kt?.lastUncommittedPoint!=null?T.maybeSuggestBindingAtCursor(Pe):(0,ce.flushSync)(function(){T.setState({suggestedBindings:[]})})}if((0,Y.Lx)(T.state.activeTool.type)){var Lt=T.state.draggingElement;(0,Y.Mn)(Lt,!1)?T.maybeSuggestBindingsForLinearElementAtCoords(Lt,[Pe],T.state.startBoundElement):T.maybeSuggestBindingAtCursor(Pe)}if(T.state.multiElement){var bt=T.state.multiElement,vt=bt.x,jt=bt.y,Nt=bt.points,Vt=bt.lastCommittedPoint,Zt=Nt[Nt.length-1];if((0,Pn.Uk)(T.interactiveCanvas,T.state),Zt===Vt)(0,ge.LW)(Fe-vt,Ge-jt,Zt[0],Zt[1])>=d.qx?(0,b.DR)(bt,{points:[].concat((0,w.Z)(Nt),[[Fe-vt,Ge-jt]])}):(0,Pn.KJ)(T.interactiveCanvas,d.oc.POINTER);else if(Nt.length>2&&Vt&&(0,ge.LW)(Fe-vt,Ge-jt,Vt[0],Vt[1])<d.qx)(0,Pn.KJ)(T.interactiveCanvas,d.oc.POINTER),(0,b.DR)(bt,{points:Nt.slice(0,-1)});else{var Ht,or=(0,ge.wC)(Fe,Ge,o[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),Er=(0,P.Z)(or,2),Zr=Er[0],Kr=Er[1],tn=(Ht=bt?.lastCommittedPoint)!==null&&Ht!==void 0?Ht:[0,0],nn=(0,P.Z)(tn,2),Ur=nn[0],Gr=nn[1],Xr=Zr-vt-Ur,Yr=Kr-jt-Gr;if((0,A.Ge)(o)){var cn=(0,te.o4)(Ur+vt,Gr+jt,Zr,Kr);Xr=cn.width,Yr=cn.height}(0,ge.g6)(Nt,T.state.zoom.value)&&(0,Pn.KJ)(T.interactiveCanvas,d.oc.POINTER),(0,b.DR)(bt,{points:[].concat((0,w.Z)(Nt.slice(0,-1)),[[Ur+Xr,Gr+Yr]])})}}else if(!(o.buttons||T.state.activeTool.type!=="selection"&&T.state.activeTool.type!=="text"&&T.state.activeTool.type!=="eraser")){var gn=T.scene.getNonDeletedElements(),hn=T.scene.getSelectedElements(T.state);if(hn.length!==1||ke||T.state.editingLinearElement){if(hn.length>1&&!ke){var xn=(0,te.n2)((0,te.KP)(hn),Fe,Ge,T.state.zoom,o.pointerType);if(xn)return void(0,Pn.KJ)(T.interactiveCanvas,(0,te.Un)({transformHandleType:xn}))}}else{var sn=(0,te.jt)(gn,T.state,Fe,Ge,T.state.zoom,o.pointerType);if(sn&&sn.transformHandleType)return void(0,Pn.KJ)(T.interactiveCanvas,(0,te.Un)(sn))}var on=T.getElementAtPosition(Pe.x,Pe.y);if(T.hitLinkElement=T.getElementLinkAtPosition(Pe,on),!(0,_.EN)(T.state))if(T.hitLinkElement&&!T.state.selectedElementIds[T.hitLinkElement.id])(0,Pn.KJ)(T.interactiveCanvas,d.oc.POINTER),(0,ii.Pp)(T.hitLinkElement,T.state);else if((0,ii.lV)(),on&&(on.link||(0,Y.gs)(on))&&T.state.selectedElementIds[on.id]&&!T.state.contextMenu&&!T.state.showHyperlinkPopup)T.setState({showHyperlinkPopup:"info"});else if(T.state.activeTool.type==="text")(0,Pn.KJ)(T.interactiveCanvas,(0,te.iB)(on)?d.oc.TEXT:d.oc.CROSSHAIR);else if(T.state.viewModeEnabled)(0,Pn.KJ)(T.interactiveCanvas,d.oc.GRAB);else if(ke)(0,Pn.KJ)(T.interactiveCanvas,d.oc.AUTO);else if(T.state.selectedLinearElement)T.handleHoverSelectedLinearElement(T.state.selectedLinearElement,Fe,Ge);else if(o[A.tW.CTRL_OR_CMD])(0,Pn.KJ)(T.interactiveCanvas,d.oc.AUTO);else{var Sn;(on||T.isHittingCommonBoundingBoxOfSelectedElements(Pe,hn))&&(on==null||!on.locked)&&(on&&(0,Y.gs)(on)&&T.isEmbeddableCenter(on,o,Fe,Ge)?((0,Pn.KJ)(T.interactiveCanvas,d.oc.POINTER),T.setState({activeEmbeddable:{element:on,state:"hover"}})):((0,Pn.KJ)(T.interactiveCanvas,d.oc.MOVE),((Sn=T.state.activeEmbeddable)===null||Sn===void 0?void 0:Sn.state)==="hover"&&T.setState({activeEmbeddable:null})))}}}},this.handleEraser=function(o,g,R){for(var q=function(qe){qe.forEach(function(it){it.locked||(de.push(it.id),o.altKey?g.elementIdsToErase[it.id]&&g.elementIdsToErase[it.id].erase&&(g.elementIdsToErase[it.id].erase=!1):g.elementIdsToErase[it.id]||(g.elementIdsToErase[it.id]={erase:!0,opacity:it.opacity}))})},de=[],ne=(0,ge.LW)(g.lastCoords.x,g.lastCoords.y,R.x,R.y),B=10/T.state.zoom.value,X=Dr({},g.lastCoords),ke=0;ke<=ne&&(q(T.getElementsAtPosition(X.x,X.y)),ke!==ne);){var Ie=(ke=Math.min(ke+B,ne))/ne,Pe=(1-Ie)*X.x+Ie*R.x,Fe=(1-Ie)*X.y+Ie*R.y;X.x=Pe,X.y=Fe}var Ge=T.scene.getElementsIncludingDeleted().map(function(qe){var it=(0,Y.Xh)(qe)&&de.includes(qe.containerId)?qe.containerId:qe.id;if(de.includes(it)){if(!o.altKey)return(0,b.BE)(qe,{opacity:d.xY});if(g.elementIdsToErase[it]&&g.elementIdsToErase[it].erase===!1)return(0,b.BE)(qe,{opacity:g.elementIdsToErase[it].opacity})}return qe});T.scene.replaceAllElements(Ge),g.lastCoords.x=R.x,g.lastCoords.y=R.y},this.handleTouchMove=function(o){ai=!0},this.handleCanvasPointerDown=function(o){var g,R;if(T.state.contextMenu&&T.setState({contextMenu:null}),T.state.snapLines&&T.setAppState({snapLines:[]}),T.updateGestureOnPointerDown(o),o.pointerType==="touch"&&T.state.draggingElement&&T.state.draggingElement.type==="freedraw"){var q=T.state.draggingElement;T.updateScene(Dr(Dr({},q.points.length<10?{elements:T.scene.getElementsIncludingDeleted().filter(function(st){return st.id!==q.id})}:{}),{},{appState:{draggingElement:null,editingElement:null,startBoundElement:null,suggestedBindings:[],selectedElementIds:(0,bn.Oh)(Object.keys(T.state.selectedElementIds).filter(function(st){return st!==q.id}).reduce(function(st,kt){return st[kt]=T.state.selectedElementIds[kt],st},{}),T.state)}}))}else{var de=document.getSelection();if(de!=null&&de.anchorNode&&de.removeAllRanges(),T.maybeOpenContextMenuAfterPointerDownOnTouchDevices(o),T.maybeCleanupAfterMissingPointerUp(o),T.state.penDetected||o.pointerType!=="pen"||T.setState(function(st){return{penMode:!0,penDetected:!0}}),!T.device.isTouchScreen&&["pen","touch"].includes(o.pointerType)&&(T.device=(0,h.v4)(T.device,{isTouchScreen:!0})),!(bi||(T.lastPointerDownEvent=o,T.handleCanvasPanUsingWheelOrSpaceDrag(o)||(T.setState({lastPointerDownWith:o.pointerType,cursorButton:"down"}),T.savePointer(o.clientX,o.clientY,"down"),o.button!==d.Oh.MAIN&&o.button!==d.Oh.TOUCH||Gn.pointers.size>1)))){var ne=T.initialPointerDownState(o);if(T.setState({selectedElementsAreBeingDragged:!1}),!T.handleDraggingScrollBar(o,ne)&&(T.clearSelectionIfNotUsingSelection(),T.updateBindingEnabledOnPointerMove(o),!T.handleSelectionOnPointerDown(o,ne)&&(!T.state.penMode||o.pointerType!=="touch"||T.state.activeTool.type==="selection"||T.state.activeTool.type==="text"||T.state.activeTool.type==="image")))if(T.state.activeTool.type!=="text"){if(T.state.activeTool.type==="arrow"||T.state.activeTool.type==="line")T.handleLinearElementOnPointerDown(o,T.state.activeTool.type,ne);else if(T.state.activeTool.type==="image"){(0,Pn.KJ)(T.interactiveCanvas,d.oc.CROSSHAIR);var B=T.state.pendingImageElementId&&T.scene.getElement(T.state.pendingImageElementId);if(!B)return;T.setState({draggingElement:B,editingElement:B,pendingImageElementId:null,multiElement:null});var X=(0,h.dE)(o,T.state),ke=X.x,Ie=X.y,Pe=T.getTopLayerFrameAtSceneCoords({x:ke,y:Ie});(0,b.DR)(B,{x:ke,y:Ie,frameId:Pe?Pe.id:null})}else T.state.activeTool.type==="freedraw"?T.handleFreeDrawElementOnPointerDown(o,T.state.activeTool.type,ne):T.state.activeTool.type==="custom"?(0,Pn.Uk)(T.interactiveCanvas,T.state):T.state.activeTool.type==="frame"?T.createFrameElementOnPointerDown(ne):T.state.activeTool.type==="laser"?T.laserPathManager.startPath(ne.lastCoords.x,ne.lastCoords.y):T.state.activeTool.type!=="eraser"&&T.state.activeTool.type!=="hand"&&T.createGenericElementOnPointerDown(T.state.activeTool.type,ne);(g=T.props)===null||g===void 0||(R=g.onPointerDown)===null||R===void 0||R.call(g,T.state.activeTool,ne),T.onPointerDownEmitter.trigger(T.state.activeTool,ne,o);var Fe=T.onPointerMoveFromPointerDownHandler(ne),Ge=T.onPointerUpFromPointerDownHandler(ne),qe=T.onKeyDownFromPointerDownHandler(ne),it=T.onKeyUpFromPointerDownHandler(ne);Ri=Ge,T.state.viewModeEnabled&&T.state.activeTool.type!=="laser"||(window.addEventListener(d.Ks.POINTER_MOVE,Fe),window.addEventListener(d.Ks.POINTER_UP,Ge),window.addEventListener(d.Ks.KEYDOWN,qe),window.addEventListener(d.Ks.KEYUP,it),ne.eventListeners.onMove=Fe,ne.eventListeners.onUp=Ge,ne.eventListeners.onKeyUp=it,ne.eventListeners.onKeyDown=qe)}else T.handleTextOnPointerDown(o,ne)}}},this.handleCanvasPointerUp=function(o){var g,R;T.removePointer(o),T.lastPointerUpEvent=o;var q=(0,h.dE)({clientX:o.clientX,clientY:o.clientY},T.state),de=o.timeStamp-((g=(R=T.lastPointerDownEvent)===null||R===void 0?void 0:R.timeStamp)!==null&&g!==void 0?g:0);if(T.device.editor.isMobile&&de<300){var ne=T.getElementAtPosition(q.x,q.y);if((0,Y.gs)(ne)&&T.isEmbeddableCenter(ne,o,q.x,q.y))return void T.handleEmbeddableCenterClick(ne)}if(T.device.isTouchScreen){var B=T.getElementAtPosition(q.x,q.y);T.hitLinkElement=T.getElementLinkAtPosition(q,B)}T.hitLinkElement&&!T.state.selectedElementIds[T.hitLinkElement.id]?de<300&&T.hitLinkElement.type==="embeddable"&&!(0,ii.wq)(T.hitLinkElement,T.state,[q.x,q.y])?T.handleEmbeddableCenterClick(T.hitLinkElement):T.redirectToLink(o,T.device.isTouchScreen):T.state.viewModeEnabled&&T.setState({activeEmbeddable:null,selectedElementIds:{}})},this.maybeOpenContextMenuAfterPointerDownOnTouchDevices=function(o){o.pointerType==="touch"&&(ai=!1,Ei?ai=!0:Ei=window.setTimeout(function(){Ei=0,ai||T.handleCanvasContextMenu(o)},d.nM))},this.resetContextMenuTimer=function(){clearTimeout(Ei),Ei=0,ai=!1},this.handleCanvasPanUsingWheelOrSpaceDrag=function(o){if(!(Gn.pointers.size<=1&&(o.button===d.Oh.WHEEL||o.button===d.Oh.MAIN&&Zi||(0,_.l$)(T.state)||T.state.viewModeEnabled))||(0,te.iB)(T.state.editingElement))return!1;bi=!0,o.preventDefault();var g=!1,R=/Linux/.test(window.navigator.platform);(0,Pn.KJ)(T.interactiveCanvas,d.oc.GRABBING);var q=o.clientX,de=o.clientY,ne=(0,h.$9)(function(X){var ke=q-X.clientX,Ie=de-X.clientY;if(q=X.clientX,de=X.clientY,R&&!g&&(Math.abs(ke)>1||Math.abs(Ie)>1)){g=!0;var Pe=function Fe(Ge){document.body.removeEventListener(d.Ks.PASTE,Fe),Ge.stopPropagation()};document.body.addEventListener(d.Ks.PASTE,Pe),window.addEventListener(d.Ks.POINTER_UP,function Fe(){setTimeout(function(){document.body.removeEventListener(d.Ks.PASTE,Pe),window.removeEventListener(d.Ks.POINTER_UP,Fe)},100)})}T.translateCanvas({scrollX:T.state.scrollX-ke/T.state.zoom.value,scrollY:T.state.scrollY-Ie/T.state.zoom.value})}),B=(0,h.tH)(Ri=function(){Ri=null,bi=!1,Zi||(T.state.viewModeEnabled?(0,Pn.KJ)(T.interactiveCanvas,d.oc.GRAB):(0,Pn.Uk)(T.interactiveCanvas,T.state)),T.setState({cursorButton:"up"}),T.savePointer(o.clientX,o.clientY,"up"),window.removeEventListener(d.Ks.POINTER_MOVE,ne),window.removeEventListener(d.Ks.POINTER_UP,B),window.removeEventListener(d.Ks.BLUR,B),ne.flush()});return window.addEventListener(d.Ks.BLUR,B),window.addEventListener(d.Ks.POINTER_MOVE,ne,{passive:!0}),window.addEventListener(d.Ks.POINTER_UP,B),!0},this.clearSelectionIfNotUsingSelection=function(){T.state.activeTool.type!=="selection"&&T.setState({selectedElementIds:(0,bn.Oh)({},T.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null})},this.handleSelectionOnPointerDown=function(o,g){if(T.state.activeTool.type==="selection"){var R=T.scene.getNonDeletedElements(),q=T.scene.getSelectedElements(T.state);if(q.length!==1||T.state.editingLinearElement)q.length>1&&(g.resize.handleType=(0,te.n2)((0,te.KP)(q),g.origin.x,g.origin.y,T.state.zoom,o.pointerType));else{var de=(0,te.jt)(R,T.state,g.origin.x,g.origin.y,T.state.zoom,o.pointerType);de!=null&&(T.setState({resizingElement:de.element}),g.resize.handleType=de.transformHandleType)}if(g.resize.handleType)g.resize.isResizing=!0,g.resize.offset=(0,h.AK)((0,te.xx)(g.resize.handleType,q,g.origin.x,g.origin.y)),q.length===1&&(0,Y.bt)(q[0])&&q[0].points.length===2&&(g.resize.arrowDirection=(0,te.T)(g.resize.handleType,q[0]));else{var ne;if(T.state.selectedLinearElement){var B=T.state.editingLinearElement||T.state.selectedLinearElement,X=re._.handlePointerDown(o,T.state,T.history,g.origin,B);if(X.hitElement&&(g.hit.element=X.hitElement),X.linearElementEditor&&(T.setState({selectedLinearElement:X.linearElementEditor}),T.state.editingLinearElement&&T.setState({editingLinearElement:X.linearElementEditor})),X.didAddPoint)return!0}if(g.hit.element=(ne=g.hit.element)!==null&&ne!==void 0?ne:T.getElementAtPosition(g.origin.x,g.origin.y),g.hit.element&&T.getElementLinkAtPosition({x:g.origin.x,y:g.origin.y},g.hit.element))return!1;g.hit.allHitElements=T.getElementsAtPosition(g.origin.x,g.origin.y);var ke=g.hit.element,Ie=g.hit.allHitElements.some(function(Pe){return T.isASelectedElement(Pe)});if(ke!==null&&Ie||o.shiftKey||g.hit.hasHitCommonBoundingBoxOfSelectedElements||T.clearSelection(ke),T.state.editingLinearElement)T.setState({selectedElementIds:(0,bn.Oh)((0,N.Z)({},T.state.editingLinearElement.elementId,!0),T.state)});else if(ke!=null){if(o[A.tW.CTRL_OR_CMD])return T.state.selectedElementIds[ke.id]||(g.hit.wasAddedToSelection=!0),T.setState(function(Pe){return Dr(Dr({},(0,Ae.iE)(Pe,ke)),{},{previousSelectedElementIds:T.state.selectedElementIds})}),!1;T.state.selectedElementIds[ke.id]||(T.state.editingGroupId&&!(0,Ae.Nd)(ke,T.state.editingGroupId)&&T.setState({selectedElementIds:(0,bn.Oh)({},T.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null}),Ie||g.hit.hasHitCommonBoundingBoxOfSelectedElements||(T.setState(function(Pe){var Fe=Dr(Dr({},Pe.selectedElementIds),{},(0,N.Z)({},ke.id,!0)),Ge=[];if(Object.keys(Pe.selectedElementIds).forEach(function(st){var kt=T.scene.getElement(st);kt&&Ge.push(kt)}),ke.type==="frame")(0,so.zD)(Ge,ke.id).forEach(function(st){delete Fe[st.id]});else if(ke.frameId)Fe[ke.frameId]&&delete Fe[ke.id];else{var qe=ke.groupIds,it=new Set(qe.flatMap(function(st){return(0,Ae.Fb)(T.scene.getNonDeletedElements(),st)}).filter(function(st){return st.type==="frame"}).map(function(st){return st.id}));it.size>0&&Ge.forEach(function(st){st.frameId&&it.has(st.frameId)&&(delete Fe[st.id],st.groupIds.flatMap(function(kt){return(0,Ae.Fb)(T.scene.getNonDeletedElements(),kt)}).forEach(function(kt){delete Fe[kt.id]}))})}return Dr(Dr({},(0,Ae.bO)({editingGroupId:Pe.editingGroupId,selectedElementIds:Fe},T.scene.getNonDeletedElements(),Pe,T)),{},{showHyperlinkPopup:!(!ke.link&&!(0,Y.gs)(ke))&&"info"})}),g.hit.wasAddedToSelection=!0))}T.setState({previousSelectedElementIds:T.state.selectedElementIds})}}return!1},this.handleTextOnPointerDown=function(o,g){if(!(0,te.iB)(T.state.editingElement)){var R=g.origin.x,q=g.origin.y,de=T.getElementAtPosition(R,q,{includeBoundTextElement:!0}),ne=(0,at.OW)(T.scene.getNonDeletedElements(),T.state,R,q);(0,Y.Xo)(de)&&(ne=de,R=de.x+de.width/2,q=de.y+de.height/2),T.startTextEditing({sceneX:R,sceneY:q,insertAtParentCenter:!o.altKey,container:ne}),(0,Pn.z8)(T.interactiveCanvas),T.state.activeTool.locked||T.setState({activeTool:(0,h.Om)(T.state,{type:"selection"})})}},this.handleFreeDrawElementOnPointerDown=function(o,g,R){var q=(0,ge.wC)(R.origin.x,R.origin.y,null),de=(0,P.Z)(q,2),ne=de[0],B=de[1],X=T.getTopLayerFrameAtSceneCoords({x:ne,y:B}),ke=(0,oe.KE)({type:g,x:ne,y:B,strokeColor:T.state.currentItemStrokeColor,backgroundColor:T.state.currentItemBackgroundColor,fillStyle:T.state.currentItemFillStyle,strokeWidth:T.state.currentItemStrokeWidth,strokeStyle:T.state.currentItemStrokeStyle,roughness:T.state.currentItemRoughness,opacity:T.state.currentItemOpacity,roundness:null,simulatePressure:o.pressure===.5,locked:!1,frameId:X?X.id:null});T.setState(function(Fe){var Ge=Dr({},Fe.selectedElementIds);return delete Ge[ke.id],{selectedElementIds:(0,bn.Oh)(Ge,Fe)}});var Ie=ke.simulatePressure?ke.pressures:[].concat((0,w.Z)(ke.pressures),[o.pressure]);(0,b.DR)(ke,{points:[[0,0]],pressures:Ie});var Pe=(0,y.Y9)(R.origin,T.scene);T.scene.addNewElement(ke),T.setState({draggingElement:ke,editingElement:ke,startBoundElement:Pe,suggestedBindings:[]})},this.insertEmbeddableElement=function(o){var g,R=o.sceneX,q=o.sceneY,de=o.link,ne=(0,ge.wC)(R,q,(g=T.lastPointerDownEvent)!==null&&g!==void 0&&g[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),B=(0,P.Z)(ne,2),X=B[0],ke=B[1],Ie=(0,s.LM)(de);if(Ie){Ie.warning&&T.setToast({message:Ie.warning,closable:!0});var Pe=(0,oe.M)({type:"embeddable",x:X,y:ke,strokeColor:"transparent",backgroundColor:"transparent",fillStyle:T.state.currentItemFillStyle,strokeWidth:T.state.currentItemStrokeWidth,strokeStyle:T.state.currentItemStrokeStyle,roughness:T.state.currentItemRoughness,roundness:T.getCurrentItemRoundness("embeddable"),opacity:T.state.currentItemOpacity,locked:!1,width:Ie.aspectRatio.w,height:Ie.aspectRatio.h,link:de,validated:null});return T.scene.replaceAllElements([].concat((0,w.Z)(T.scene.getElementsIncludingDeleted()),[Pe])),Pe}},this.createImageElement=function(o){var g,R=o.sceneX,q=o.sceneY,de=o.addToFrameUnderCursor,ne=de===void 0||de,B=(0,ge.wC)(R,q,(g=T.lastPointerDownEvent)!==null&&g!==void 0&&g[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),X=(0,P.Z)(B,2),ke=X[0],Ie=X[1],Pe=ne?T.getTopLayerFrameAtSceneCoords({x:ke,y:Ie}):null;return(0,te.vw)({type:"image",x:ke,y:Ie,strokeColor:T.state.currentItemStrokeColor,backgroundColor:T.state.currentItemBackgroundColor,fillStyle:T.state.currentItemFillStyle,strokeWidth:T.state.currentItemStrokeWidth,strokeStyle:T.state.currentItemStrokeStyle,roughness:T.state.currentItemRoughness,roundness:null,opacity:T.state.currentItemOpacity,locked:!1,frameId:Pe?Pe.id:null})},this.handleLinearElementOnPointerDown=function(o,g,R){if(T.state.multiElement){var q=T.state.multiElement;if(q.type==="line"&&(0,ge.g6)(q.points,T.state.zoom.value))return(0,b.DR)(q,{lastCommittedPoint:q.points[q.points.length-1]}),void T.actionManager.executeAction(G.pL);var de=q.x,ne=q.y,B=q.lastCommittedPoint;if(q.points.length>1&&B&&(0,ge.LW)(R.origin.x-de,R.origin.y-ne,B[0],B[1])<d.qx)return void T.actionManager.executeAction(G.pL);T.setState(function(Nt){return{selectedElementIds:(0,bn.Oh)(Dr(Dr({},Nt.selectedElementIds),{},(0,N.Z)({},q.id,!0)),Nt)}}),(0,b.DR)(q,{lastCommittedPoint:q.points[q.points.length-1]}),(0,Pn.KJ)(T.interactiveCanvas,d.oc.POINTER)}else{var X=(0,ge.wC)(R.origin.x,R.origin.y,o[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),ke=(0,P.Z)(X,2),Ie=ke[0],Pe=ke[1],Fe=T.getTopLayerFrameAtSceneCoords({x:Ie,y:Pe}),Ge=T.state,qe=Ge.currentItemStartArrowhead,it=Ge.currentItemEndArrowhead,st=g==="arrow"?[qe,it]:[null,null],kt=(0,P.Z)(st,2),Lt=kt[0],bt=kt[1],vt=(0,te.y8)({type:g,x:Ie,y:Pe,strokeColor:T.state.currentItemStrokeColor,backgroundColor:T.state.currentItemBackgroundColor,fillStyle:T.state.currentItemFillStyle,strokeWidth:T.state.currentItemStrokeWidth,strokeStyle:T.state.currentItemStrokeStyle,roughness:T.state.currentItemRoughness,opacity:T.state.currentItemOpacity,roundness:T.state.currentItemRoundness==="round"?{type:d.a6.PROPORTIONAL_RADIUS}:null,startArrowhead:Lt,endArrowhead:bt,locked:!1,frameId:Fe?Fe.id:null});T.setState(function(Nt){var Vt=Dr({},Nt.selectedElementIds);return delete Vt[vt.id],{selectedElementIds:(0,bn.Oh)(Vt,Nt)}}),(0,b.DR)(vt,{points:[].concat((0,w.Z)(vt.points),[[0,0]])});var jt=(0,y.Y9)(R.origin,T.scene);T.scene.addNewElement(vt),T.setState({draggingElement:vt,editingElement:vt,startBoundElement:jt,suggestedBindings:[]})}},this.createGenericElementOnPointerDown=function(o,g){var R,q,de=(0,ge.wC)(g.origin.x,g.origin.y,(R=T.lastPointerDownEvent)!==null&&R!==void 0&&R[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),ne=(0,P.Z)(de,2),B=ne[0],X=ne[1],ke=T.getTopLayerFrameAtSceneCoords({x:B,y:X}),Ie={x:B,y:X,strokeColor:T.state.currentItemStrokeColor,backgroundColor:T.state.currentItemBackgroundColor,fillStyle:T.state.currentItemFillStyle,strokeWidth:T.state.currentItemStrokeWidth,strokeStyle:T.state.currentItemStrokeStyle,roughness:T.state.currentItemRoughness,opacity:T.state.currentItemOpacity,roundness:T.getCurrentItemRoundness(o),locked:!1,frameId:ke?ke.id:null};(q=o==="embeddable"?(0,oe.M)(Dr({type:"embeddable",validated:null},Ie)):(0,te.Up)(Dr({type:o},Ie))).type==="selection"?T.setState({selectionElement:q,draggingElement:q}):(T.scene.addNewElement(q),T.setState({multiElement:null,draggingElement:q,editingElement:q}))},this.createFrameElementOnPointerDown=function(o){var g,R=(0,ge.wC)(o.origin.x,o.origin.y,(g=T.lastPointerDownEvent)!==null&&g!==void 0&&g[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),q=(0,P.Z)(R,2),de=q[0],ne=q[1],B=(0,oe.M3)(Dr({x:de,y:ne,opacity:T.state.currentItemOpacity,locked:!1},d.iG));T.scene.replaceAllElements([].concat((0,w.Z)(T.scene.getElementsIncludingDeleted()),[B])),T.setState({multiElement:null,draggingElement:B,editingElement:B})},this.restoreReadyToEraseElements=function(o){var g=T.scene.getElementsIncludingDeleted().map(function(R){return o.elementIdsToErase[R.id]&&o.elementIdsToErase[R.id].erase?(0,b.BE)(R,{opacity:o.elementIdsToErase[R.id].opacity}):(0,Y.Xh)(R)&&o.elementIdsToErase[R.containerId]&&o.elementIdsToErase[R.containerId].erase?(0,b.BE)(R,{opacity:o.elementIdsToErase[R.containerId].opacity}):R.frameId&&o.elementIdsToErase[R.frameId]&&o.elementIdsToErase[R.frameId].erase?(0,b.BE)(R,{opacity:o.elementIdsToErase[R.frameId].opacity}):R});T.scene.replaceAllElements(g)},this.eraseElements=function(o){var g=T.scene.getElementsIncludingDeleted().map(function(R){return o.elementIdsToErase[R.id]&&o.elementIdsToErase[R.id].erase||(0,Y.Xh)(R)&&o.elementIdsToErase[R.containerId]&&o.elementIdsToErase[R.containerId].erase||R.frameId&&o.elementIdsToErase[R.frameId]&&o.elementIdsToErase[R.frameId].erase?(0,b.BE)(R,{isDeleted:!0}):R});T.history.resumeRecording(),T.scene.replaceAllElements(g)},this.initializeImage=function(){var o=(0,m.Z)(k().mark(function g(R){var q,de,ne,B,X,ke,Ie,Pe,Fe,Ge,qe,it,st,kt,Lt;return k().wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:if(B=R.imageFile,X=R.imageElement,ke=R.showCursorImagePreview,Ie=ke!==void 0&&ke,(0,zt.Wr)(B)){bt.next=3;break}throw new Error((0,M.t)("errors.unsupportedFileType"));case 3:if(Pe=B.type,(0,Pn.KJ)(T.interactiveCanvas,"wait"),Pe!==d.LO.svg){bt.next=23;break}return bt.prev=6,bt.t0=zt.Pn,bt.t1=wi.bp,bt.next=11,B.text();case 11:return bt.t2=bt.sent,bt.next=14,(0,bt.t1)(bt.t2);case 14:bt.t3=bt.sent,bt.t4=B.name,B=(0,bt.t0)(bt.t3,bt.t4),bt.next=23;break;case 19:throw bt.prev=19,bt.t5=bt.catch(6),console.warn(bt.t5),new Error((0,M.t)("errors.svgImageInsertError"));case 23:return bt.next=25,((q=(de=T.props).generateIdForFile)===null||q===void 0?void 0:q.call(de,B))||(0,zt.tW)(B);case 25:if(Fe=bt.sent){bt.next=29;break}throw console.warn("Couldn't generate file id or the supplied `generateIdForFile` didn't resolve to one."),new Error((0,M.t)("errors.imageInsertError"));case 29:if((Ge=T.files[Fe])!=null&&Ge.dataURL){bt.next=42;break}return bt.prev=31,bt.next=34,(0,zt.Tu)(B,{maxWidthOrHeight:d.h6});case 34:B=bt.sent,bt.next=40;break;case 37:bt.prev=37,bt.t6=bt.catch(31),console.error("error trying to resing image file on insertion",bt.t6);case 40:if(!(B.size>d.$n)){bt.next=42;break}throw new Error((0,M.t)("errors.fileTooBig",{maxSize:"".concat(Math.trunc(d.$n/1024/1024),"MB")}));case 42:if(Ie&&(it=(qe=T.files[Fe])===null||qe===void 0?void 0:qe.dataURL,st=it&&(0,zt.KG)(it),T.setImagePreviewCursor(st||B)),bt.t7=(ne=T.files[Fe])===null||ne===void 0?void 0:ne.dataURL,bt.t7){bt.next=48;break}return bt.next=47,(0,zt.Sf)(B);case 47:bt.t7=bt.sent;case 48:return kt=bt.t7,Lt=(0,b.DR)(X,{fileId:Fe},!1),bt.abrupt("return",new Promise(function(){var vt=(0,m.Z)(k().mark(function jt(Nt,Vt){var Zt,Ht;return k().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:if(or.prev=0,T.files=Dr(Dr({},T.files),{},(0,N.Z)({},Fe,{mimeType:Pe,id:Fe,dataURL:kt,created:Date.now(),lastRetrieved:Date.now()})),Ht=T.imageCache.get(Fe)){or.next=7;break}return T.addNewImagesToImageCache(),or.next=7,T.updateImageCache([Lt]);case 7:if(!(Ht?.image instanceof Promise)){or.next=10;break}return or.next=10,Ht.image;case 10:T.state.pendingImageElementId!==Lt.id&&((Zt=T.state.draggingElement)===null||Zt===void 0?void 0:Zt.id)!==Lt.id&&T.initializeImageDimensions(Lt,!0),Nt(Lt),or.next=18;break;case 14:or.prev=14,or.t0=or.catch(0),console.error(or.t0),Vt(new Error((0,M.t)("errors.imageInsertError")));case 18:return or.prev=18,Ie||(0,Pn.z8)(T.interactiveCanvas),or.finish(18);case 21:case"end":return or.stop()}},jt,null,[[0,14,18,21]])}));return function(jt,Nt){return vt.apply(this,arguments)}}()));case 51:case"end":return bt.stop()}},g,null,[[6,19],[31,37]])}));return function(g){return o.apply(this,arguments)}}(),this.insertImageElement=function(){var o=(0,m.Z)(k().mark(function g(R,q,de){return k().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:if(T.isToolSupported("image")){ne.next=3;break}return T.setState({errorMessage:(0,M.t)("errors.imageToolNotSupported")}),ne.abrupt("return");case 3:return T.scene.addNewElement(R),ne.prev=4,ne.next=7,T.initializeImage({imageFile:q,imageElement:R,showCursorImagePreview:de});case 7:return ne.abrupt("return",ne.sent);case 10:return ne.prev=10,ne.t0=ne.catch(4),(0,b.DR)(R,{isDeleted:!0}),T.actionManager.executeAction(G.pL),T.setState({errorMessage:ne.t0.message||(0,M.t)("errors.imageInsertError")}),ne.abrupt("return",null);case 16:case"end":return ne.stop()}},g,null,[[4,10]])}));return function(g,R,q){return o.apply(this,arguments)}}(),this.setImagePreviewCursor=function(){var o=(0,m.Z)(k().mark(function g(R){var q,de,ne,B,X,ke,Ie;return k().wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return q=96,Pe.next=3,(0,zt.Tu)(R,{maxWidthOrHeight:q});case 3:return de=Pe.sent,Pe.next=6,(0,zt.Sf)(de);case 6:if(ne=Pe.sent,R.type!==d.LO.svg){Pe.next=20;break}return Pe.next=10,(0,wi.PK)(ne);case 10:B=Pe.sent,X=Math.min(B.height,q),(ke=X*(B.width/B.height))>q&&(X=(ke=q)*(B.height/B.width)),(Ie=document.createElement("canvas")).height=X,Ie.width=ke,Ie.getContext("2d").drawImage(B,0,0,ke,X),ne=Ie.toDataURL(d.LO.svg);case 20:T.state.pendingImageElementId&&(0,Pn.KJ)(T.interactiveCanvas,"url(".concat(ne,") 4 4, auto"));case 21:case"end":return Pe.stop()}},g)}));return function(g){return o.apply(this,arguments)}}(),this.onImageAction=function(){var o=(0,m.Z)(k().mark(function g(R){var q,de,ne,B,X,ke,Ie,Pe;return k().wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return q=R.insertOnCanvasDirectly,Fe.prev=1,de=T.state.width/2+T.state.offsetLeft,ne=T.state.height/2+T.state.offsetTop,B=(0,h.dE)({clientX:de,clientY:ne},T.state),X=B.x,ke=B.y,Fe.next=7,(0,tr.I$)({description:"Image",extensions:Object.keys(d.KL)});case 7:Ie=Fe.sent,Pe=T.createImageElement({sceneX:X,sceneY:ke,addToFrameUnderCursor:!1}),q?(T.insertImageElement(Pe,Ie),T.initializeImageDimensions(Pe),T.setState({selectedElementIds:(0,bn.Oh)((0,N.Z)({},Pe.id,!0),T.state)},function(){T.actionManager.executeAction(G.pL)})):T.setState({pendingImageElementId:Pe.id},function(){T.insertImageElement(Pe,Ie,!0)}),Fe.next=16;break;case 12:Fe.prev=12,Fe.t0=Fe.catch(1),Fe.t0.name!=="AbortError"?console.error(Fe.t0):console.warn(Fe.t0),T.setState({pendingImageElementId:null,editingElement:null,activeTool:(0,h.Om)(T.state,{type:"selection"})},function(){T.actionManager.executeAction(G.pL)});case 16:case"end":return Fe.stop()}},g,null,[[1,12]])}));return function(g){return o.apply(this,arguments)}}(),this.initializeImageDimensions=function(o){var g,R=arguments.length>1&&arguments[1]!==void 0&&arguments[1],q=(0,Y.wi)(o)&&((g=T.imageCache.get(o.fileId))===null||g===void 0?void 0:g.image);if(!q||q instanceof Promise){if(o.width<d.f/T.state.zoom.value&&o.height<d.f/T.state.zoom.value){var de=100/T.state.zoom.value;(0,b.DR)(o,{x:o.x-de/2,y:o.y-de/2,width:de,height:de})}}else if(R||o.width<d.f/T.state.zoom.value&&o.height<d.f/T.state.zoom.value){var ne=Math.max(T.state.height-120,160),B=Math.min(ne,Math.floor(.5*T.state.height)/T.state.zoom.value),X=Math.min(q.naturalHeight,B),ke=X*(q.naturalWidth/q.naturalHeight),Ie=o.x+o.width/2-ke/2,Pe=o.y+o.height/2-X/2;(0,b.DR)(o,{x:Ie,y:Pe,width:ke,height:X})}},this.updateImageCache=function(){var o=(0,m.Z)(k().mark(function g(R){var q,de,ne,B,X,ke,Ie,Pe=arguments;return k().wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return q=Pe.length>1&&Pe[1]!==void 0?Pe[1]:T.files,Fe.next=3,(0,wi.Xx)({imageCache:T.imageCache,fileIds:R.map(function(Ge){return Ge.fileId}),files:q});case 3:if(de=Fe.sent,ne=de.updatedFiles,B=de.erroredFiles,ne.size||B.size){X=uo(R);try{for(X.s();!(ke=X.n()).done;)Ie=ke.value,ne.has(Ie.fileId)&&Po.R.delete(Ie)}catch(Ge){X.e(Ge)}finally{X.f()}}return B.size&&T.scene.replaceAllElements(T.scene.getElementsIncludingDeleted().map(function(Ge){return(0,Y.wi)(Ge)&&B.has(Ge.fileId)?(0,b.BE)(Ge,{status:"error"}):Ge})),Fe.abrupt("return",{updatedFiles:ne,erroredFiles:B});case 9:case"end":return Fe.stop()}},g)}));return function(g){return o.apply(this,arguments)}}(),this.addNewImagesToImageCache=(0,m.Z)(k().mark(function o(){var g,R,q,de,ne=arguments;return k().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(g=ne.length>0&&ne[0]!==void 0?ne[0]:(0,wi.oA)(T.scene.getNonDeletedElements()),R=ne.length>1&&ne[1]!==void 0?ne[1]:T.files,!(q=g.filter(function(X){return!X.isDeleted&&!T.imageCache.has(X.fileId)})).length){B.next=9;break}return B.next=6,T.updateImageCache(q,R);case 6:de=B.sent,de.updatedFiles.size&&T.scene.informMutation();case 9:case"end":return B.stop()}},o)})),this.scheduleImageRefresh=ha()(function(){T.addNewImagesToImageCache()},d.LL),this.updateBindingEnabledOnPointerMove=function(o){var g=(0,y.cz)(o);T.state.isBindingEnabled!==g&&T.setState({isBindingEnabled:g})},this.maybeSuggestBindingAtCursor=function(o){var g=(0,y.Y9)(o,T.scene);T.setState({suggestedBindings:g!=null?[g]:[]})},this.maybeSuggestBindingsForLinearElementAtCoords=function(o,g,R){if(g.length){var q=g.reduce(function(de,ne){var B=(0,y.Y9)(ne,T.scene);return B==null||(0,y.DK)(o,R?.id,B)||de.push(B),de},[]);T.setState({suggestedBindings:q})}},this.handleInteractiveCanvasRef=function(o){var g,R,q;o!==null?(T.interactiveCanvas=o,T.interactiveCanvas.addEventListener(d.Ks.WHEEL,T.handleWheel),T.interactiveCanvas.addEventListener(d.Ks.TOUCH_START,T.onTouchStart),T.interactiveCanvas.addEventListener(d.Ks.TOUCH_END,T.onTouchEnd)):((g=T.interactiveCanvas)===null||g===void 0||g.removeEventListener(d.Ks.WHEEL,T.handleWheel),(R=T.interactiveCanvas)===null||R===void 0||R.removeEventListener(d.Ks.TOUCH_START,T.onTouchStart),(q=T.interactiveCanvas)===null||q===void 0||q.removeEventListener(d.Ks.TOUCH_END,T.onTouchEnd))},this.handleAppOnDrop=function(){var o=(0,m.Z)(k().mark(function g(R){var q,de,ne,B,X,ke,Ie,Pe,Fe,Ge,qe,it,st,kt,Lt,bt;return k().wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:return vt.next=2,(0,zt.bv)(R);case 2:if(ne=vt.sent,B=ne.file,X=ne.fileHandle,ke=(0,h.dE)(R,T.state),Ie=ke.x,Pe=ke.y,vt.prev=6,!(0,zt.Wr)(B)||!T.isToolSupported("image")){vt.next=26;break}if(B?.type!==d.LO.png&&B?.type!==d.LO.svg){vt.next=21;break}return vt.prev=9,vt.next=12,(0,D.cT)(B,T.state,T.scene.getElementsIncludingDeleted(),X);case 12:return Fe=vt.sent,T.syncActionResult(Dr(Dr({},Fe),{},{appState:Dr(Dr({},Fe.appState||T.state),{},{isLoading:!1}),replaceFiles:!0,commitToHistory:!0})),vt.abrupt("return");case 17:if(vt.prev=17,vt.t0=vt.catch(9),vt.t0.name==="EncodingError"){vt.next=21;break}throw vt.t0;case 21:return Ge=T.createImageElement({sceneX:Ie,sceneY:Pe}),T.insertImageElement(Ge,B),T.initializeImageDimensions(Ge),T.setState({selectedElementIds:(0,bn.Oh)((0,N.Z)({},Ge.id,!0),T.state)}),vt.abrupt("return");case 26:vt.next=31;break;case 28:return vt.prev=28,vt.t1=vt.catch(6),vt.abrupt("return",T.setState({isLoading:!1,errorMessage:vt.t1.message}));case 31:if(!(qe=R.dataTransfer.getData(d.LO.excalidrawlib))||typeof qe!="string"){vt.next=35;break}try{it=(0,zt.wf)(qe),T.addElementsFromPasteOrLibrary({elements:(0,F.WV)(it),position:R,files:null})}catch(jt){T.setState({errorMessage:jt.message})}return vt.abrupt("return");case 35:if(!B){vt.next=38;break}return vt.next=38,T.loadFileToCanvas(B,X);case 38:(q=R.dataTransfer)!==null&&q!==void 0&&(de=q.types)!==null&&de!==void 0&&de.includes("text/plain")&&(Lt=(st=R.dataTransfer)===null||st===void 0?void 0:st.getData("text"))&&(0,s.xm)(Lt,T.props.validateEmbeddable)&&(/^(http|https):\/\/[^\s/$.?#].[^\s]*$/.test(Lt)||((kt=(0,s.LM)(Lt))===null||kt===void 0?void 0:kt.type)==="video")&&(bt=T.insertEmbeddableElement({sceneX:Ie,sceneY:Pe,link:(0,Yo.$u)(Lt)}))&&T.setState({selectedElementIds:(0,N.Z)({},bt.id,!0)});case 39:case"end":return vt.stop()}},g,null,[[6,28],[9,17]])}));return function(g){return o.apply(this,arguments)}}(),this.loadFileToCanvas=function(){var o=(0,m.Z)(k().mark(function g(R,q){var de;return k().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.next=2,(0,zt.gY)(R);case 2:return R=ne.sent,ne.prev=3,ne.next=6,(0,zt.ZY)(R,T.state,T.scene.getElementsIncludingDeleted(),q);case 6:if((de=ne.sent).type!==d.LO.excalidraw){ne.next=12;break}T.setState({isLoading:!0}),T.syncActionResult(Dr(Dr({},de.data),{},{appState:Dr(Dr({},de.data.appState||T.state),{},{isLoading:!1}),replaceFiles:!0,commitToHistory:!0})),ne.next=15;break;case 12:if(de.type!==d.LO.excalidrawlib){ne.next=15;break}return ne.next=15,T.library.updateLibrary({libraryItems:R,merge:!0,openLibraryMenu:!0}).catch(function(B){console.error(B),T.setState({errorMessage:(0,M.t)("errors.importLibraryError")})});case 15:ne.next=23;break;case 17:if(ne.prev=17,ne.t0=ne.catch(3),!(ne.t0 instanceof ba.jk&&ne.t0.code==="IMAGE_NOT_CONTAINS_SCENE_DATA")||T.isToolSupported("image")){ne.next=22;break}return T.setState({isLoading:!1,errorMessage:(0,M.t)("errors.imageToolNotSupported")}),ne.abrupt("return");case 22:T.setState({isLoading:!1,errorMessage:ne.t0.message});case 23:case"end":return ne.stop()}},g,null,[[3,17]])}));return function(g,R){return o.apply(this,arguments)}}(),this.handleCanvasContextMenu=function(o){if(o.preventDefault(),!("pointerType"in o.nativeEvent&&o.nativeEvent.pointerType==="touch"||"pointerType"in o.nativeEvent&&o.nativeEvent.pointerType==="pen"&&o.button!==d.Oh.SECONDARY)||T.state.activeTool.type==="selection"){var g=(0,h.dE)(o,T.state),R=g.x,q=g.y,de=T.getElementAtPosition(R,q,{preferSelected:!0,includeLockedElements:!0}),ne=T.scene.getSelectedElements(T.state),B=T.isHittingCommonBoundingBoxOfSelectedElements({x:R,y:q},ne),X=de||B?"element":"canvas",ke=T.excalidrawContainerRef.current.getBoundingClientRect(),Ie=ke.top,Pe=ke.left,Fe=o.clientX-Pe,Ge=o.clientY-Ie;(0,l.L)("contextMenu","openContextMenu",X),T.setState(Dr(Dr({},de&&!T.state.selectedElementIds[de.id]?Dr(Dr(Dr({},T.state),(0,Ae.bO)({editingGroupId:T.state.editingGroupId,selectedElementIds:(0,N.Z)({},de.id,!0)},T.scene.getNonDeletedElements(),T.state,T)),{},{selectedLinearElement:(0,Y.bt)(de)?new re._(de,T.scene):null}):T.state),{},{showHyperlinkPopup:!1}),function(){T.setState({contextMenu:{top:Ge,left:Fe,items:T.getContextMenuItems(X)}})})}},this.maybeDragNewGenericElement=function(o,g){var R=T.state.draggingElement,q=o.lastCoords;if(R)if(R.type==="selection"&&T.state.activeTool.type!=="eraser")(0,te.EJ)(R,T.state.activeTool.type,o.origin.x,o.origin.y,q.x,q.y,(0,h.TE)(o.origin.x,q.x),(0,h.TE)(o.origin.y,q.y),(0,A.E0)(g),(0,A.OA)(g));else{var de,ne,B,X,ke,Ie=(0,ge.wC)(q.x,q.y,g[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),Pe=(0,P.Z)(Ie,2),Fe=Pe[0],Ge=Pe[1],qe=(0,Y.wi)(R)&&((de=T.imageCache.get(R.fileId))===null||de===void 0?void 0:de.image),it=!qe||qe instanceof Promise?null:qe.width/qe.height;T.maybeCacheReferenceSnapPoints(g,[R]);var st=function(bt,vt,jt,Nt,Vt){var Zt,Ht,or,Er;if(!Qn({event:jt,selectedElements:[bt],appState:vt}))return{snapOffset:{x:0,y:0},snapLines:[]};var Zr=[[Nt.x+Vt.x,Nt.y+Vt.y]],Kr=Lo(vt.zoom.value),tn={x:Kr,y:Kr},nn=[],Ur=[];Le([bt],Zr,vt,jt,nn,Ur,tn);var Gr={x:(Zt=(Ht=nn[0])===null||Ht===void 0?void 0:Ht.offset)!==null&&Zt!==void 0?Zt:0,y:(or=(Er=Ur[0])===null||Er===void 0?void 0:Er.offset)!==null&&or!==void 0?or:0};tn.x=0,tn.y=0,nn.length=0,Ur.length=0;var Xr=Zo([bt],{boundingBoxCorners:!0,omitCenter:!0});return Le([bt],Xr,vt,jt,nn,Ur,tn),{snapOffset:Gr,snapLines:$e(nn,Ur)}}(R,T.state,g,{x:o.originInGrid.x+((ne=(B=T.state.originSnapOffset)===null||B===void 0?void 0:B.x)!==null&&ne!==void 0?ne:0),y:o.originInGrid.y+((X=(ke=T.state.originSnapOffset)===null||ke===void 0?void 0:ke.y)!==null&&X!==void 0?X:0)},{x:Fe-o.originInGrid.x,y:Ge-o.originInGrid.y}),kt=st.snapOffset,Lt=st.snapLines;Fe+=kt.x,Ge+=kt.y,T.setState({snapLines:Lt}),(0,te.EJ)(R,T.state.activeTool.type,o.originInGrid.x,o.originInGrid.y,Fe,Ge,(0,h.TE)(o.originInGrid.x,Fe),(0,h.TE)(o.originInGrid.y,Ge),(0,Y.pC)(R)?!(0,A.E0)(g):(0,A.E0)(g),(0,A.OA)(g),it,T.state.originSnapOffset),T.maybeSuggestBindingForAll([R]),T.state.activeTool.type==="frame"&&T.setState({elementsToHighlight:(0,so.ni)(T.scene.getNonDeletedElements(),R,T.state)})}},this.maybeHandleResize=function(o,g){var R=T.scene.getSelectedElements(T.state),q=R.filter(function(Nt){return Nt.type==="frame"}),de=o.resize.handleType;if(q.length>0&&de==="rotation")return!1;T.setState({isResizing:de&&de!=="rotation",isRotating:de==="rotation",activeEmbeddable:null});var ne=o.lastCoords,B=(0,ge.wC)(ne.x-o.resize.offset.x,ne.y-o.resize.offset.y,g[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),X=(0,P.Z)(B,2),ke=X[0],Ie=X[1],Pe=new Map;if(q.forEach(function(Nt){(0,so.zD)(T.scene.getNonDeletedElements(),Nt.id).forEach(function(Vt){Pe.set(Nt.id+Vt.id,{x:Vt.x-Nt.x,y:Vt.y-Nt.y})})}),!T.state.selectedElementsAreBeingDragged){var Fe=(0,ge.wC)(ne.x,ne.y,g[A.tW.CTRL_OR_CMD]?null:T.state.gridSize),Ge=(0,P.Z)(Fe,2),qe=Ge[0],it=Ge[1],st={x:qe-o.originInGrid.x,y:it-o.originInGrid.y},kt=(0,w.Z)(o.originalElements.values());T.maybeCacheReferenceSnapPoints(g,R);var Lt=tt(R,(0,ue.eD)(kt,T.state),T.state,g,st,de),bt=Lt.snapOffset,vt=Lt.snapLines;ke+=bt.x,Ie+=bt.y,T.setState({snapLines:vt})}if((0,te.vY)(o,de,R,o.resize.arrowDirection,(0,A.Ge)(g),(0,A.OA)(g),R.length===1&&(0,Y.pC)(R[0])?!(0,A.E0)(g):(0,A.E0)(g),ke,Ie,o.resize.center.x,o.resize.center.y,T.state)){T.maybeSuggestBindingForAll(R);var jt=new Set;return q.forEach(function(Nt){var Vt=(0,so.zD)(T.scene.getNonDeletedElements(),Nt.id);de&&(de.includes("w")&&Vt.forEach(function(Zt){var Ht,or;(0,b.DR)(Zt,{x:Nt.x+(((Ht=Pe.get(Nt.id+Zt.id))===null||Ht===void 0?void 0:Ht.x)||0),y:Nt.y+(((or=Pe.get(Nt.id+Zt.id))===null||or===void 0?void 0:or.y)||0)})}),de.includes("n")&&Vt.forEach(function(Zt){var Ht,or;(0,b.DR)(Zt,{x:Nt.x+(((Ht=Pe.get(Nt.id+Zt.id))===null||Ht===void 0?void 0:Ht.x)||0),y:Nt.y+(((or=Pe.get(Nt.id+Zt.id))===null||or===void 0?void 0:or.y)||0)})})),(0,so.ni)(T.scene.getNonDeletedElements(),Nt,T.state).forEach(function(Zt){return jt.add(Zt)})}),T.setState({elementsToHighlight:(0,w.Z)(jt)}),!0}return!1},this.getContextMenuItems=function(o){var g=[];return g.push(G.jK,G.FA),o==="canvas"?T.state.viewModeEnabled?[].concat(g,[G.Pb,G.JN,Ui,G.u0]):[Vn.yQ,Se,G.jK,G.FA,G.zp,Se,G.Yy,ta.U,Se,G.Pb,G.pm,G.JN,Ui,G.u0]:(g.push(G.zp),T.state.viewModeEnabled?[G.uN].concat(g):[G.ZM,G.uN,Vn.yQ,ga,Ma,Se].concat(g,[Se,G.pw,G.W3,Se,G.EQ,G.y7,G.vD,ct.JQ,G.s,Se,G.FL,Se,G.V,G.yA,G.zi,G.BZ,Se,G.jl,G.kt,Se,G.Qs,G.nz,G.xF,G.$h,Se,G.X9]))},this.handleWheel=(0,h.tH)(function(o){if(o.preventDefault(),!bi){var g=o.deltaX,R=o.deltaY;if(o.metaKey||o.ctrlKey){var q=Math.sign(R),de=100*d.V4,ne=Math.abs(R),B=R;ne>de&&(B=de*q);var X=T.state.zoom.value-B/100;return X+=Math.log10(Math.max(1,T.state.zoom.value))*-q*Math.min(1,ne/20),T.translateCanvas(function(ke){return Dr(Dr({},(0,j.E)({viewportX:T.lastViewportPosition.x,viewportY:T.lastViewportPosition.y,nextZoom:(0,ue.j)(X)},ke)),{},{shouldCacheIgnoreZoom:!0})}),void T.resetShouldCacheIgnoreZoomDebounced()}o.shiftKey?T.translateCanvas(function(ke){var Ie=ke.zoom;return{scrollX:ke.scrollX-(R||g)/Ie.value}}):T.translateCanvas(function(ke){var Ie=ke.zoom,Pe=ke.scrollX,Fe=ke.scrollY;return{scrollX:Pe-g/Ie.value,scrollY:Fe-R/Ie.value}})}}),this.savePointer=function(o,g,R){var q,de;if(o&&g){var ne=(0,h.dE)({clientX:o,clientY:g},T.state),B=ne.x,X=ne.y,ke={x:B,y:X,tool:T.state.activeTool.type==="laser"?"laser":"pointer"};(q=(de=T.props).onPointerUpdate)===null||q===void 0||q.call(de,{pointer:ke,button:R,pointersMap:Gn.pointers})}},this.resetShouldCacheIgnoreZoomDebounced=(0,h.Ds)(function(){T.unmounted||T.setState({shouldCacheIgnoreZoom:!1})},300),this.updateDOMRect=function(o){var g;if((g=T.excalidrawContainerRef)!==null&&g!==void 0&&g.current){var R=T.excalidrawContainerRef.current.getBoundingClientRect(),q=R.width,de=R.height,ne=R.left,B=R.top,X=T.state,ke=X.width,Ie=X.height,Pe=X.offsetTop,Fe=X.offsetLeft;if(q===ke&&de===Ie&&ne===Fe&&B===Pe)return void(o&&o());T.setState({width:q,height:de,offsetLeft:ne,offsetTop:B},function(){o&&o()})}},this.refresh=function(){T.setState(Dr({},T.getCanvasOffsets()))}};d.Vi.TEST==="production"&&(window.h=window.h||{},Object.defineProperties(window.h,{elements:{configurable:!0,get:function(){var T;return(T=this.app)===null||T===void 0?void 0:T.scene.getElementsIncludingDeleted()},set:function(T){var o;return(o=this.app)===null||o===void 0?void 0:o.scene.replaceAllElements(T)}}}));var nl=eo},8806:function(et,fe,t){t.d(fe,{z:function(){return M}});var e=t(7169),P=t(2726),w=t(45),m=t(9827),v=t(3379),I=t.n(v),x=t(7795),c=t.n(x),f=t(569),Z=t.n(f),N=t(3565),W=t.n(N),k=t(9216),S=t.n(k),J=t(4589),ce=t.n(J),he=t(3137),ve={};ve.styleTagTransform=ce(),ve.setAttributes=W(),ve.insert=Z().bind(null,"head"),ve.domAPI=c(),ve.insertStyleElement=S(),I()(he.Z,ve),he.Z&&he.Z.locals&&he.Z.locals;var le=t(4512),G=["type","onSelect","selected","children","className"];function U(A,b){var y=Object.keys(A);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(A);b&&(h=h.filter(function(d){return Object.getOwnPropertyDescriptor(A,d).enumerable})),y.push.apply(y,h)}return y}function H(A){for(var b=1;b<arguments.length;b++){var y=arguments[b]!=null?arguments[b]:{};b%2?U(Object(y),!0).forEach(function(h){(0,e.Z)(A,h,y[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(y)):U(Object(y)).forEach(function(h){Object.defineProperty(A,h,Object.getOwnPropertyDescriptor(y,h))})}return A}var M=function(A){var b=A.type,y=b===void 0?"button":b,h=A.onSelect,d=A.selected,r=A.children,n=A.className,p=n===void 0?"":n,a=(0,P.Z)(A,G);return(0,le.jsx)("button",H(H({onClick:(0,m.Mj)(a.onClick,function(l){h()}),type:y,className:(0,w.Z)("excalidraw-button",p,{selected:d})},a),{},{children:r}))}},6238:function(et,fe,t){t.d(fe,{o:function(){return ve}});var e=t(45),P=t(8935),w=t(3379),m=t.n(w),v=t(7795),I=t.n(v),x=t(569),c=t.n(x),f=t(3565),Z=t.n(f),N=t(9216),W=t.n(N),k=t(4589),S=t.n(k),J=t(6029),ce={};ce.styleTagTransform=S(),ce.setAttributes=Z(),ce.insert=c().bind(null,"head"),ce.domAPI=I(),ce.insertStyleElement=W(),m()(J.Z,ce),J.Z&&J.Z.locals&&J.Z.locals;var he=t(4512),ve=function(le){var G=le.children,U=le.checked,H=le.onChange,M=le.className;return(0,he.jsxs)("div",{className:(0,e.Z)("Checkbox",M,{"is-checked":U}),onClick:function(A){H(!U,A),A.currentTarget.querySelector(".Checkbox-box").focus()},children:[(0,he.jsx)("button",{className:"Checkbox-box",role:"checkbox","aria-checked":U,children:P.eQ}),(0,he.jsx)("div",{className:"Checkbox-label",children:G})]})}},193:function(et,fe,t){t.d(fe,{z:function(){return xa},L:function(){return Qn}});var e=t(2577),P=t(9827),w=t(45),m=t(9240),v=t(4512),I=function(Ke){var xe,Le=Ke.onChange,ze=Ke.type,Ue=Ke.activeColor,$e=Ke.topPicks;return ze==="elementStroke"&&(xe=m.fY),ze==="elementBackground"&&(xe=m.eq),ze==="canvasBackground"&&(xe=m.ay),$e&&(xe=$e),xe?(0,v.jsx)("div",{className:"color-picker__top-picks",children:xe.map(function(nt){return(0,v.jsx)("button",{className:(0,w.Z)("color-picker__button",{active:nt===Ue,"is-transparent":nt==="transparent"||!nt}),style:{"--swatch-color":nt},type:"button",title:nt,onClick:function(){return Le(nt)},"data-testid":"color-top-pick-".concat(nt),children:(0,v.jsx)("div",{className:"color-picker__button-outline"})},nt)})}):(console.error("Invalid type for TopPicks"),null)},x=t(9787),c=t.n(x),f=t(8227),Z=t(3607),N=t(1930),W=function(Ke){for(var xe=Ke.palette,Le=Ke.color,ze=0,Ue=Object.entries(xe);ze<Ue.length;ze++){var $e=(0,e.Z)(Ue[ze],2),nt=$e[0],tt=$e[1];if(Array.isArray(tt)){var ct=tt.indexOf(Le);if(ct>-1)return{colorName:nt,shade:ct}}else if(tt===Le)return{colorName:nt,shade:null}}return null},k=[["q","w","e","r","t"],["a","s","d","f","g"],["z","x","c","v","b"]].flat(),S=function(Ke){var xe=Ke.color,Le=Ke.palette;return!Object.values(Le).flat().includes(xe)},J=(0,Z.cn)(null),ce=function(Ke,xe,Le){return(299*Ke+587*xe+114*Le)/1e3>=160?"black":"white"},he=function(Ke,xe){if(xe){var Le=new Option().style;if(Le.color=Ke,Le.color){var ze=Le.color.replace(/^(rgb|rgba)\(/,"").replace(/\)$/,"").replace(/\s/g,"").split(","),Ue=parseInt(ze[0]),$e=parseInt(ze[1]),nt=parseInt(ze[2]);return ce(Ue,$e,nt)}}if(Ke==="transparent")return"black";var tt=parseInt(Ke.substring(1,3),16),ct=parseInt(Ke.substring(3,5),16),Kt=parseInt(Ke.substring(5,7),16);return ce(tt,ct,Kt)},ve=function(Ke){var xe=Ke.color,Le=Ke.keyLabel,ze=Ke.isCustomColor,Ue=ze!==void 0&&ze,$e=Ke.isShade,nt=$e!==void 0&&$e;return(0,v.jsxs)("div",{className:"color-picker__button__hotkey-label",style:{color:he(xe,Ue)},children:[nt&&"⇧",Le]})},le=function(Ke){var xe=Ke.hex,Le=Ke.onChange,ze=Ke.palette,Ue=W({color:xe||"transparent",palette:ze}),$e=(0,Z.KO)(J),nt=(0,e.Z)($e,2),tt=nt[0],ct=nt[1],Kt=(0,x.useRef)(null);if((0,x.useEffect)(function(){Kt.current&&tt==="shades"&&Kt.current.focus()},[Ue,tt]),Ue){var qt=Ue.colorName,Dt=Ue.shade,Wt=ze[qt];if(Array.isArray(Wt))return(0,v.jsx)("div",{className:"color-picker-content--default shades",children:Wt.map(function(Qt,rr){return(0,v.jsxs)("button",{ref:rr===Dt&&tt==="shades"?Kt:void 0,tabIndex:-1,type:"button",className:(0,w.Z)("color-picker__button color-picker__button--large",{active:rr===Dt}),"aria-label":"Shade",title:"".concat(qt," - ").concat(rr+1),style:Qt?{"--swatch-color":Qt}:void 0,onClick:function(){Le(Qt),ct("shades")},children:[(0,v.jsx)("div",{className:"color-picker__button-outline"}),(0,v.jsx)(ve,{color:Qt,keyLabel:rr+1,isShade:!0})]},rr)})})}return(0,v.jsxs)("div",{className:"color-picker-content--default",style:{position:"relative"},tabIndex:-1,children:[(0,v.jsx)("button",{type:"button",tabIndex:-1,className:"color-picker__button color-picker__button--large color-picker__button--no-focus-visible"}),(0,v.jsx)("div",{tabIndex:-1,style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",fontSize:"0.75rem"},children:(0,f.t)("colorPicker.noShades")})]})},G=function(Ke){var xe=Ke.palette,Le=Ke.color,ze=Ke.onChange,Ue=(Ke.label,Ke.activeShade),$e=W({color:Le||"transparent",palette:xe}),nt=(0,Z.KO)(J),tt=(0,e.Z)(nt,2),ct=tt[0],Kt=tt[1],qt=(0,x.useRef)(null);return(0,x.useEffect)(function(){qt.current&&ct==="baseColors"&&qt.current.focus()},[$e?.colorName,ct]),(0,v.jsx)("div",{className:"color-picker-content--default",children:Object.entries(xe).map(function(Dt,Wt){var Qt=(0,e.Z)(Dt,2),rr=Qt[0],er=Qt[1],$t=(Array.isArray(er)?er[Ue]:er)||"transparent",lr=k[Wt],vr=(0,f.t)("colors.".concat(rr.replace(/\d+/,"")),null,"");return(0,v.jsxs)("button",{ref:$e?.colorName===rr?qt:void 0,tabIndex:-1,type:"button",className:(0,w.Z)("color-picker__button color-picker__button--large",{active:$e?.colorName===rr,"is-transparent":$t==="transparent"||!$t}),onClick:function(){ze($t),Kt("baseColors")},title:"".concat(vr).concat($t.startsWith("#")?" ".concat($t):""," — ").concat(lr),"aria-label":"".concat(vr," — ").concat(lr),style:$t?{"--swatch-color":$t}:void 0,"data-testid":"color-".concat(rr),children:[(0,v.jsx)("div",{className:"color-picker__button-outline"}),(0,v.jsx)(ve,{color:$t,keyLabel:lr})]},rr)})})},U=function(Ke){var xe=Ke.colors,Le=Ke.color,ze=Ke.onChange,Ue=Ke.label,$e=(0,Z.KO)(J),nt=(0,e.Z)($e,2),tt=nt[0],ct=nt[1],Kt=(0,x.useRef)(null);return(0,x.useEffect)(function(){Kt.current&&Kt.current.focus()},[Le,tt]),(0,v.jsx)("div",{className:"color-picker-content--default",children:xe.map(function(qt,Dt){return(0,v.jsxs)("button",{ref:Le===qt?Kt:void 0,tabIndex:-1,type:"button",className:(0,w.Z)("color-picker__button color-picker__button--large",{active:Le===qt,"is-transparent":qt==="transparent"||!qt}),onClick:function(){ze(qt),ct("custom")},title:qt,"aria-label":Ue,style:{"--swatch-color":qt},children:[(0,v.jsx)("div",{className:"color-picker__button-outline"}),(0,v.jsx)(ve,{color:qt,keyLabel:Dt+1,isCustomColor:!0})]},Dt)})})},H=t(5491),M=function(Ke,xe,Le){var ze,Ue=Math.ceil(Le/m.dC);switch(xe=(ze=xe)!==null&&ze!==void 0?ze:-1,Ke){case"ArrowLeft":var $e=xe-1;return $e<0?Le-1:$e;case"ArrowRight":return(xe+1)%Le;case"ArrowDown":var nt=xe+m.dC;return nt>=Le?xe%m.dC:nt;case"ArrowUp":var tt=xe-m.dC,ct=tt<0?m.dC*Ue+tt:tt;return ct>=Le?void 0:ct}},A=function(Ke){var xe=Ke.event,Le=Ke.activeColorPickerSection,ze=Ke.palette,Ue=Ke.color,$e=Ke.onChange,nt=Ke.customColors,tt=Ke.setActiveColorPickerSection,ct=(Ke.updateData,Ke.activeShade),Kt=Ke.onEyeDropperToggle,qt=Ke.onEscape;if(xe[H.tW.CTRL_OR_CMD])return!1;if(xe.key===H.tW.ESCAPE)return qt(xe),!0;if(xe.key===H.tW.ALT)return Kt(!0),!0;if(xe.key===H.tW.I)return Kt(),!0;var Dt=W({color:Ue,palette:ze});if(xe.key===H.tW.TAB){var Wt={custom:!!nt.length,baseColors:!0,shades:Dt?.shade!=null,hex:!0},Qt=Object.entries(Wt).reduce(function(Vr,Qr){var an=(0,e.Z)(Qr,2),dn=an[0];return an[1]&&Vr.push(dn),Vr},[]),rr=Qt.indexOf(Le),er=xe.shiftKey?-1:1,$t=Qt[rr+er>Qt.length-1?0:rr+er<0?Qt.length-1:rr+er];return $t&&tt($t),$t==="custom"?$e(nt[0]):$t==="baseColors"&&(Object.entries(ze).find(function(Vr){var Qr=(0,e.Z)(Vr,2),an=Qr[0],dn=Qr[1];return Array.isArray(dn)?dn.includes(Ue):dn===Ue?an:null})||$e(m.HO.black)),xe.preventDefault(),xe.stopPropagation(),!0}if(function(Vr){var Qr=Vr.e,an=Vr.colorObj,dn=Vr.onChange,pn=Vr.palette,kn=Vr.customColors,Kn=Vr.setActiveColorPickerSection,lo=Vr.activeShade;if(an?.shade!=null&&["Digit1","Digit2","Digit3","Digit4","Digit5"].includes(Qr.code)&&Qr.shiftKey){var po=Number(Qr.code.slice(-1))-1;return dn(pn[an.colorName][po]),Kn("shades"),!0}if(["1","2","3","4","5"].includes(Qr.key)&&kn[Number(Qr.key)-1])return dn(kn[Number(Qr.key)-1]),Kn("custom"),!0;if(k.includes(Qr.key)){var Oo=k.indexOf(Qr.key),xo=pn[Object.keys(pn)[Oo]];return dn(Array.isArray(xo)?xo[lo]:xo),Kn("baseColors"),!0}return!1}({e:xe,colorObj:Dt,onChange:$e,palette:ze,customColors:nt,setActiveColorPickerSection:tt,activeShade:ct}))return!0;if(Le==="shades"&&Dt){var lr=Dt.shade,vr=M(xe.key,lr,m.dC);if(vr!==void 0)return $e(ze[Dt.colorName][vr]),!0}if(Le==="baseColors"&&Dt){var xr=Dt.colorName,gr=Object.keys(ze),Sr=gr.indexOf(xr),Fr=M(xe.key,Sr,gr.length);if(Fr!==void 0){var Jr=ze[gr[Fr]];return $e(Array.isArray(Jr)?Jr[ct]:Jr),!0}}if(Le==="custom"){var Hr=nt.indexOf(Ue),Nr=M(xe.key,Hr,nt.length);if(Nr!==void 0)return $e(nt[Nr]),!0}return!1},b=function(Ke){var xe=Ke.children;return(0,v.jsx)("div",{className:"color-picker__heading",children:xe})},y=t(9937),h=function(Ke){var xe,Le=Ke.color,ze=Ke.onChange,Ue=Ke.label,$e=Ke.type,nt=Ke.elements,tt=Ke.palette,ct=Ke.updateData,Kt=Ke.children,qt=Ke.onEyeDropperToggle,Dt=Ke.onEscape,Wt=c().useState(function(){return $e==="canvasBackground"?[]:function(Hr,Nr,Vr){var Qr={elementBackground:"backgroundColor",elementStroke:"strokeColor"},an=Hr.filter(function(pn){if(pn.isDeleted)return!1;var kn=pn[Qr[Nr]];return S({color:kn,palette:Vr})}),dn=new Map;return an.forEach(function(pn){var kn=pn[Qr[Nr]];dn.has(kn)?dn.set(kn,dn.get(kn)+1):dn.set(kn,1)}),(0,N.Z)(dn.entries()).sort(function(pn,kn){return kn[1]-pn[1]}).map(function(pn){return pn[0]}).slice(0,m.Lx)}(nt,$e,tt)}),Qt=(0,e.Z)(Wt,1)[0],rr=(0,Z.KO)(J),er=(0,e.Z)(rr,2),$t=er[0],lr=er[1],vr=W({color:Le,palette:tt});(0,x.useEffect)(function(){if(!$t){var Hr=S({color:Le,palette:tt}),Nr=Hr&&!Qt.includes(Le);lr(Nr?"hex":Hr?"custom":vr?.shade!=null?"shades":"baseColors")}},[$t,Le,tt,lr,vr,Qt]);var xr=(0,x.useState)((xe=vr?.shade)!==null&&xe!==void 0?xe:$e==="elementBackground"?m._T:m.z8),gr=(0,e.Z)(xr,2),Sr=gr[0],Fr=gr[1];(0,x.useEffect)(function(){vr?.shade!=null&&Fr(vr.shade);var Hr=function(Nr){Nr.key===H.tW.ALT&&qt(!1)};return document.addEventListener(y.Ks.KEYUP,Hr,{capture:!0}),function(){document.removeEventListener(y.Ks.KEYUP,Hr,{capture:!0})}},[vr,qt]);var Jr=c().useRef(null);return(0,v.jsx)("div",{role:"dialog","aria-modal":"true","aria-label":(0,f.t)("labels.colorPicker"),children:(0,v.jsxs)("div",{ref:Jr,onKeyDown:function(Hr){A({event:Hr,activeColorPickerSection:$t,palette:tt,color:Le,onChange:ze,onEyeDropperToggle:qt,customColors:Qt,setActiveColorPickerSection:lr,updateData:ct,activeShade:Sr,onEscape:Dt})&&(Hr.preventDefault(),Hr.stopPropagation())},className:"color-picker-content",tabIndex:-1,children:[!!Qt.length&&(0,v.jsxs)("div",{children:[(0,v.jsx)(b,{children:(0,f.t)("colorPicker.mostUsedCustomColors")}),(0,v.jsx)(U,{colors:Qt,color:Le,label:(0,f.t)("colorPicker.mostUsedCustomColors"),onChange:ze})]}),(0,v.jsxs)("div",{children:[(0,v.jsx)(b,{children:(0,f.t)("colorPicker.colors")}),(0,v.jsx)(G,{color:Le,label:Ue,palette:tt,onChange:ze,activeShade:Sr})]}),(0,v.jsxs)("div",{children:[(0,v.jsx)(b,{children:(0,f.t)("colorPicker.shades")}),(0,v.jsx)(le,{hex:Le,onChange:ze,palette:tt})]}),Kt]})})},d=t(11),r=t(7217),n=t(9335),p=t(1267),a=t(3119),l=t(3060);const u="dismissableLayer.update",C="dismissableLayer.pointerDownOutside",L="dismissableLayer.focusOutside";let _;const E=(0,x.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),D=(0,x.forwardRef)((Ke,xe)=>{var Le;const{disableOutsidePointerEvents:ze=!1,onEscapeKeyDown:Ue,onPointerDownOutside:$e,onFocusOutside:nt,onInteractOutside:tt,onDismiss:ct,...Kt}=Ke,qt=(0,x.useContext)(E),[Dt,Wt]=(0,x.useState)(null),Qt=(Le=Dt?.ownerDocument)!==null&&Le!==void 0?Le:globalThis?.document,[,rr]=(0,x.useState)({}),er=(0,n.e)(xe,Hr=>Wt(Hr)),$t=Array.from(qt.layers),[lr]=[...qt.layersWithOutsidePointerEventsDisabled].slice(-1),vr=$t.indexOf(lr),xr=Dt?$t.indexOf(Dt):-1,gr=qt.layersWithOutsidePointerEventsDisabled.size>0,Sr=xr>=vr,Fr=function(Hr,Nr=globalThis?.document){const Vr=(0,l.W)(Hr),Qr=(0,x.useRef)(!1),an=(0,x.useRef)(()=>{});return(0,x.useEffect)(()=>{const dn=kn=>{if(kn.target&&!Qr.current){let lo=function(){ee(C,Vr,Kn,{discrete:!0})};const Kn={originalEvent:kn};kn.pointerType==="touch"?(Nr.removeEventListener("click",an.current),an.current=lo,Nr.addEventListener("click",an.current,{once:!0})):lo()}Qr.current=!1},pn=window.setTimeout(()=>{Nr.addEventListener("pointerdown",dn)},0);return()=>{window.clearTimeout(pn),Nr.removeEventListener("pointerdown",dn),Nr.removeEventListener("click",an.current)}},[Nr,Vr]),{onPointerDownCapture:()=>Qr.current=!0}}(Hr=>{const Nr=Hr.target,Vr=[...qt.branches].some(Qr=>Qr.contains(Nr));Sr&&!Vr&&($e?.(Hr),tt?.(Hr),Hr.defaultPrevented||ct==null||ct())},Qt),Jr=function(Hr,Nr=globalThis?.document){const Vr=(0,l.W)(Hr),Qr=(0,x.useRef)(!1);return(0,x.useEffect)(()=>{const an=dn=>{dn.target&&!Qr.current&&ee(L,Vr,{originalEvent:dn},{discrete:!1})};return Nr.addEventListener("focusin",an),()=>Nr.removeEventListener("focusin",an)},[Nr,Vr]),{onFocusCapture:()=>Qr.current=!0,onBlurCapture:()=>Qr.current=!1}}(Hr=>{const Nr=Hr.target;[...qt.branches].some(Vr=>Vr.contains(Nr))||(nt?.(Hr),tt?.(Hr),Hr.defaultPrevented||ct==null||ct())},Qt);return function(Hr,Nr=globalThis?.document){const Vr=(0,l.W)(Hr);(0,x.useEffect)(()=>{const Qr=an=>{an.key==="Escape"&&Vr(an)};return Nr.addEventListener("keydown",Qr),()=>Nr.removeEventListener("keydown",Qr)},[Vr,Nr])}(Hr=>{xr===qt.layers.size-1&&(Ue?.(Hr),!Hr.defaultPrevented&&ct&&(Hr.preventDefault(),ct()))},Qt),(0,x.useEffect)(()=>{if(Dt)return ze&&(qt.layersWithOutsidePointerEventsDisabled.size===0&&(_=Qt.body.style.pointerEvents,Qt.body.style.pointerEvents="none"),qt.layersWithOutsidePointerEventsDisabled.add(Dt)),qt.layers.add(Dt),F(),()=>{ze&&qt.layersWithOutsidePointerEventsDisabled.size===1&&(Qt.body.style.pointerEvents=_)}},[Dt,Qt,ze,qt]),(0,x.useEffect)(()=>()=>{Dt&&(qt.layers.delete(Dt),qt.layersWithOutsidePointerEventsDisabled.delete(Dt),F())},[Dt,qt]),(0,x.useEffect)(()=>{const Hr=()=>rr({});return document.addEventListener(u,Hr),()=>document.removeEventListener(u,Hr)},[]),(0,x.createElement)(a.WV.div,(0,d.Z)({},Kt,{ref:er,style:{pointerEvents:gr?Sr?"auto":"none":void 0,...Ke.style},onFocusCapture:(0,r.M)(Ke.onFocusCapture,Jr.onFocusCapture),onBlurCapture:(0,r.M)(Ke.onBlurCapture,Jr.onBlurCapture),onPointerDownCapture:(0,r.M)(Ke.onPointerDownCapture,Fr.onPointerDownCapture)}))});function F(){const Ke=new CustomEvent(u);document.dispatchEvent(Ke)}function ee(Ke,xe,Le,{discrete:ze}){const Ue=Le.originalEvent.target,$e=new CustomEvent(Ke,{bubbles:!1,cancelable:!0,detail:Le});xe&&Ue.addEventListener(Ke,xe,{once:!0}),ze?(0,a.jH)(Ue,$e):Ue.dispatchEvent($e)}let te=0;function re(){(0,x.useEffect)(()=>{var Ke,xe;const Le=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(Ke=Le[0])!==null&&Ke!==void 0?Ke:oe()),document.body.insertAdjacentElement("beforeend",(xe=Le[1])!==null&&xe!==void 0?xe:oe()),te++,()=>{te===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(ze=>ze.remove()),te--}},[])}function oe(){const Ke=document.createElement("span");return Ke.setAttribute("data-radix-focus-guard",""),Ke.tabIndex=0,Ke.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Ke}const Y="focusScope.autoFocusOnMount",V="focusScope.autoFocusOnUnmount",ie={bubbles:!1,cancelable:!0},we=(0,x.forwardRef)((Ke,xe)=>{const{loop:Le=!1,trapped:ze=!1,onMountAutoFocus:Ue,onUnmountAutoFocus:$e,...nt}=Ke,[tt,ct]=(0,x.useState)(null),Kt=(0,l.W)(Ue),qt=(0,l.W)($e),Dt=(0,x.useRef)(null),Wt=(0,n.e)(xe,er=>ct(er)),Qt=(0,x.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,x.useEffect)(()=>{if(ze){let er=function(lr){if(Qt.paused||!tt)return;const vr=lr.target;tt.contains(vr)?Dt.current=vr:ye(Dt.current,{select:!0})},$t=function(lr){!Qt.paused&&tt&&(tt.contains(lr.relatedTarget)||ye(Dt.current,{select:!0}))};return document.addEventListener("focusin",er),document.addEventListener("focusout",$t),()=>{document.removeEventListener("focusin",er),document.removeEventListener("focusout",$t)}}},[ze,tt,Qt.paused]),(0,x.useEffect)(()=>{if(tt){Ee.add(Qt);const $t=document.activeElement;if(!tt.contains($t)){const lr=new CustomEvent(Y,ie);tt.addEventListener(Y,Kt),tt.dispatchEvent(lr),lr.defaultPrevented||(function(vr,{select:xr=!1}={}){const gr=document.activeElement;for(const Sr of vr)if(ye(Sr,{select:xr}),document.activeElement!==gr)return}((er=Ae(tt),er.filter(vr=>vr.tagName!=="A")),{select:!0}),document.activeElement===$t&&ye(tt))}return()=>{tt.removeEventListener(Y,Kt),setTimeout(()=>{const lr=new CustomEvent(V,ie);tt.addEventListener(V,qt),tt.dispatchEvent(lr),lr.defaultPrevented||ye($t??document.body,{select:!0}),tt.removeEventListener(V,qt),Ee.remove(Qt)},0)}}var er},[tt,Kt,qt,Qt]);const rr=(0,x.useCallback)(er=>{if(!Le&&!ze||Qt.paused)return;const $t=er.key==="Tab"&&!er.altKey&&!er.ctrlKey&&!er.metaKey,lr=document.activeElement;if($t&&lr){const vr=er.currentTarget,[xr,gr]=function(Sr){const Fr=Ae(Sr),Jr=Re(Fr,Sr),Hr=Re(Fr.reverse(),Sr);return[Jr,Hr]}(vr);xr&&gr?er.shiftKey||lr!==gr?er.shiftKey&&lr===xr&&(er.preventDefault(),Le&&ye(gr,{select:!0})):(er.preventDefault(),Le&&ye(xr,{select:!0})):lr===vr&&er.preventDefault()}},[Le,ze,Qt.paused]);return(0,x.createElement)(a.WV.div,(0,d.Z)({tabIndex:-1},nt,{ref:Wt,onKeyDown:rr}))});function Ae(Ke){const xe=[],Le=document.createTreeWalker(Ke,NodeFilter.SHOW_ELEMENT,{acceptNode:ze=>{const Ue=ze.tagName==="INPUT"&&ze.type==="hidden";return ze.disabled||ze.hidden||Ue?NodeFilter.FILTER_SKIP:ze.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;Le.nextNode();)xe.push(Le.currentNode);return xe}function Re(Ke,xe){for(const Le of Ke)if(!je(Le,{upTo:xe}))return Le}function je(Ke,{upTo:xe}){if(getComputedStyle(Ke).visibility==="hidden")return!0;for(;Ke;){if(xe!==void 0&&Ke===xe)return!1;if(getComputedStyle(Ke).display==="none")return!0;Ke=Ke.parentElement}return!1}function ye(Ke,{select:xe=!1}={}){if(Ke&&Ke.focus){const Le=document.activeElement;Ke.focus({preventScroll:!0}),Ke!==Le&&function(ze){return ze instanceof HTMLInputElement&&"select"in ze}(Ke)&&xe&&Ke.select()}}const Ee=function(){let Ke=[];return{add(xe){const Le=Ke[0];xe!==Le&&Le?.pause(),Ke=Oe(Ke,xe),Ke.unshift(xe)},remove(xe){var Le;Ke=Oe(Ke,xe),(Le=Ke[0])===null||Le===void 0||Le.resume()}}}();function Oe(Ke,xe){const Le=[...Ke],ze=Le.indexOf(xe);return ze!==-1&&Le.splice(ze,1),Le}var ge=t(5622);function ue(Ke){return Ke.split("-")[0]}function se(Ke){return Ke.split("-")[1]}function j(Ke){return["top","bottom"].includes(ue(Ke))?"x":"y"}function i(Ke){return Ke==="y"?"height":"width"}function s(Ke,xe,Le){let{reference:ze,floating:Ue}=Ke;const $e=ze.x+ze.width/2-Ue.width/2,nt=ze.y+ze.height/2-Ue.height/2,tt=j(xe),ct=i(tt),Kt=ze[ct]/2-Ue[ct]/2,qt=tt==="x";let Dt;switch(ue(xe)){case"top":Dt={x:$e,y:ze.y-Ue.height};break;case"bottom":Dt={x:$e,y:ze.y+ze.height};break;case"right":Dt={x:ze.x+ze.width,y:nt};break;case"left":Dt={x:ze.x-Ue.width,y:nt};break;default:Dt={x:ze.x,y:ze.y}}switch(se(xe)){case"start":Dt[tt]-=Kt*(Le&&qt?-1:1);break;case"end":Dt[tt]+=Kt*(Le&&qt?-1:1)}return Dt}function O(Ke){return typeof Ke!="number"?function(xe){return{top:0,right:0,bottom:0,left:0,...xe}}(Ke):{top:Ke,right:Ke,bottom:Ke,left:Ke}}function z(Ke){return{...Ke,top:Ke.y,left:Ke.x,right:Ke.x+Ke.width,bottom:Ke.y+Ke.height}}async function K(Ke,xe){var Le;xe===void 0&&(xe={});const{x:ze,y:Ue,platform:$e,rects:nt,elements:tt,strategy:ct}=Ke,{boundary:Kt="clippingAncestors",rootBoundary:qt="viewport",elementContext:Dt="floating",altBoundary:Wt=!1,padding:Qt=0}=xe,rr=O(Qt),er=tt[Wt?Dt==="floating"?"reference":"floating":Dt],$t=z(await $e.getClippingRect({element:(Le=await($e.isElement==null?void 0:$e.isElement(er)))==null||Le?er:er.contextElement||await($e.getDocumentElement==null?void 0:$e.getDocumentElement(tt.floating)),boundary:Kt,rootBoundary:qt,strategy:ct})),lr=z($e.convertOffsetParentRelativeRectToViewportRelativeRect?await $e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Dt==="floating"?{...nt.floating,x:ze,y:Ue}:nt.reference,offsetParent:await($e.getOffsetParent==null?void 0:$e.getOffsetParent(tt.floating)),strategy:ct}):nt[Dt]);return{top:$t.top-lr.top+rr.top,bottom:lr.bottom-$t.bottom+rr.bottom,left:$t.left-lr.left+rr.left,right:lr.right-$t.right+rr.right}}const $=Math.min,Q=Math.max;function ae(Ke,xe,Le){return Q(Ke,$(xe,Le))}const be=Ke=>({name:"arrow",options:Ke,async fn(xe){const{element:Le,padding:ze=0}=Ke??{},{x:Ue,y:$e,placement:nt,rects:tt,platform:ct}=xe;if(Le==null)return{};const Kt=O(ze),qt={x:Ue,y:$e},Dt=j(nt),Wt=se(nt),Qt=i(Dt),rr=await ct.getDimensions(Le),er=Dt==="y"?"top":"left",$t=Dt==="y"?"bottom":"right",lr=tt.reference[Qt]+tt.reference[Dt]-qt[Dt]-tt.floating[Qt],vr=qt[Dt]-tt.reference[Dt],xr=await(ct.getOffsetParent==null?void 0:ct.getOffsetParent(Le));let gr=xr?Dt==="y"?xr.clientHeight||0:xr.clientWidth||0:0;gr===0&&(gr=tt.floating[Qt]);const Sr=lr/2-vr/2,Fr=Kt[er],Jr=gr-rr[Qt]-Kt[$t],Hr=gr/2-rr[Qt]/2+Sr,Nr=ae(Fr,Hr,Jr),Vr=(Wt==="start"?Kt[er]:Kt[$t])>0&&Hr!==Nr&&tt.reference[Qt]<=tt.floating[Qt];return{[Dt]:qt[Dt]-(Vr?Hr<Fr?Fr-Hr:Jr-Hr:0),data:{[Dt]:Nr,centerOffset:Hr-Nr}}}}),Ce={left:"right",right:"left",bottom:"top",top:"bottom"};function Ze(Ke){return Ke.replace(/left|right|bottom|top/g,xe=>Ce[xe])}function Be(Ke,xe,Le){Le===void 0&&(Le=!1);const ze=se(Ke),Ue=j(Ke),$e=i(Ue);let nt=Ue==="x"?ze===(Le?"end":"start")?"right":"left":ze==="start"?"bottom":"top";return xe.reference[$e]>xe.floating[$e]&&(nt=Ze(nt)),{main:nt,cross:Ze(nt)}}const Te={start:"end",end:"start"};function He(Ke){return Ke.replace(/start|end/g,xe=>Te[xe])}const Ve=["top","right","bottom","left"],Je=(Ve.reduce((Ke,xe)=>Ke.concat(xe,xe+"-start",xe+"-end"),[]),function(Ke){return Ke===void 0&&(Ke={}),{name:"flip",options:Ke,async fn(xe){var Le;const{placement:ze,middlewareData:Ue,rects:$e,initialPlacement:nt,platform:tt,elements:ct}=xe,{mainAxis:Kt=!0,crossAxis:qt=!0,fallbackPlacements:Dt,fallbackStrategy:Wt="bestFit",flipAlignment:Qt=!0,...rr}=Ke,er=ue(ze),$t=Dt||(er!==nt&&Qt?function(Hr){const Nr=Ze(Hr);return[He(Hr),Nr,He(Nr)]}(nt):[Ze(nt)]),lr=[nt,...$t],vr=await K(xe,rr),xr=[];let gr=((Le=Ue.flip)==null?void 0:Le.overflows)||[];if(Kt&&xr.push(vr[er]),qt){const{main:Hr,cross:Nr}=Be(ze,$e,await(tt.isRTL==null?void 0:tt.isRTL(ct.floating)));xr.push(vr[Hr],vr[Nr])}if(gr=[...gr,{placement:ze,overflows:xr}],!xr.every(Hr=>Hr<=0)){var Sr,Fr;const Hr=((Sr=(Fr=Ue.flip)==null?void 0:Fr.index)!=null?Sr:0)+1,Nr=lr[Hr];if(Nr)return{data:{index:Hr,overflows:gr},reset:{placement:Nr}};let Vr="bottom";switch(Wt){case"bestFit":{var Jr;const Qr=(Jr=gr.map(an=>[an,an.overflows.filter(dn=>dn>0).reduce((dn,pn)=>dn+pn,0)]).sort((an,dn)=>an[1]-dn[1])[0])==null?void 0:Jr[0].placement;Qr&&(Vr=Qr);break}case"initialPlacement":Vr=nt}if(ze!==Vr)return{reset:{placement:Vr}}}return{}}}});function Me(Ke,xe){return{top:Ke.top-xe.height,right:Ke.right-xe.width,bottom:Ke.bottom-xe.height,left:Ke.left-xe.width}}function me(Ke){return Ve.some(xe=>Ke[xe]>=0)}const Se=function(Ke){let{strategy:xe="referenceHidden",...Le}=Ke===void 0?{}:Ke;return{name:"hide",async fn(ze){const{rects:Ue}=ze;switch(xe){case"referenceHidden":{const $e=Me(await K(ze,{...Le,elementContext:"reference"}),Ue.reference);return{data:{referenceHiddenOffsets:$e,referenceHidden:me($e)}}}case"escaped":{const $e=Me(await K(ze,{...Le,altBoundary:!0}),Ue.floating);return{data:{escapedOffsets:$e,escaped:me($e)}}}default:return{}}}}},Ne=function(Ke){return Ke===void 0&&(Ke=0),{name:"offset",options:Ke,async fn(xe){const{x:Le,y:ze}=xe,Ue=await async function($e,nt){const{placement:tt,platform:ct,elements:Kt}=$e,qt=await(ct.isRTL==null?void 0:ct.isRTL(Kt.floating)),Dt=ue(tt),Wt=se(tt),Qt=j(tt)==="x",rr=["left","top"].includes(Dt)?-1:1,er=qt&&Qt?-1:1,$t=typeof nt=="function"?nt($e):nt;let{mainAxis:lr,crossAxis:vr,alignmentAxis:xr}=typeof $t=="number"?{mainAxis:$t,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...$t};return Wt&&typeof xr=="number"&&(vr=Wt==="end"?-1*xr:xr),Qt?{x:vr*er,y:lr*rr}:{x:lr*rr,y:vr*er}}(xe,Ke);return{x:Le+Ue.x,y:ze+Ue.y,data:Ue}}}};function Ye(Ke){return Ke==="x"?"y":"x"}const Qe=function(Ke){return Ke===void 0&&(Ke={}),{name:"shift",options:Ke,async fn(xe){const{x:Le,y:ze,placement:Ue}=xe,{mainAxis:$e=!0,crossAxis:nt=!1,limiter:tt={fn:$t=>{let{x:lr,y:vr}=$t;return{x:lr,y:vr}}},...ct}=Ke,Kt={x:Le,y:ze},qt=await K(xe,ct),Dt=j(ue(Ue)),Wt=Ye(Dt);let Qt=Kt[Dt],rr=Kt[Wt];if($e){const $t=Dt==="y"?"bottom":"right";Qt=ae(Qt+qt[Dt==="y"?"top":"left"],Qt,Qt-qt[$t])}if(nt){const $t=Wt==="y"?"bottom":"right";rr=ae(rr+qt[Wt==="y"?"top":"left"],rr,rr-qt[$t])}const er=tt.fn({...xe,[Dt]:Qt,[Wt]:rr});return{...er,data:{x:er.x-Le,y:er.y-ze}}}}},rt=function(Ke){return Ke===void 0&&(Ke={}),{options:Ke,fn(xe){const{x:Le,y:ze,placement:Ue,rects:$e,middlewareData:nt}=xe,{offset:tt=0,mainAxis:ct=!0,crossAxis:Kt=!0}=Ke,qt={x:Le,y:ze},Dt=j(Ue),Wt=Ye(Dt);let Qt=qt[Dt],rr=qt[Wt];const er=typeof tt=="function"?tt({...$e,placement:Ue}):tt,$t=typeof er=="number"?{mainAxis:er,crossAxis:0}:{mainAxis:0,crossAxis:0,...er};if(ct){const Sr=Dt==="y"?"height":"width",Fr=$e.reference[Dt]-$e.floating[Sr]+$t.mainAxis,Jr=$e.reference[Dt]+$e.reference[Sr]-$t.mainAxis;Qt<Fr?Qt=Fr:Qt>Jr&&(Qt=Jr)}if(Kt){var lr,vr,xr,gr;const Sr=Dt==="y"?"width":"height",Fr=["top","left"].includes(ue(Ue)),Jr=$e.reference[Wt]-$e.floating[Sr]+(Fr&&(lr=(vr=nt.offset)==null?void 0:vr[Wt])!=null?lr:0)+(Fr?0:$t.crossAxis),Hr=$e.reference[Wt]+$e.reference[Sr]+(Fr?0:(xr=(gr=nt.offset)==null?void 0:gr[Wt])!=null?xr:0)-(Fr?$t.crossAxis:0);rr<Jr?rr=Jr:rr>Hr&&(rr=Hr)}return{[Dt]:Qt,[Wt]:rr}}}},ft=function(Ke){return Ke===void 0&&(Ke={}),{name:"size",options:Ke,async fn(xe){const{placement:Le,rects:ze,platform:Ue,elements:$e}=xe,{apply:nt,...tt}=Ke,ct=await K(xe,tt),Kt=ue(Le),qt=se(Le);let Dt,Wt;Kt==="top"||Kt==="bottom"?(Dt=Kt,Wt=qt===(await(Ue.isRTL==null?void 0:Ue.isRTL($e.floating))?"start":"end")?"left":"right"):(Wt=Kt,Dt=qt==="end"?"top":"bottom");const Qt=Q(ct.left,0),rr=Q(ct.right,0),er=Q(ct.top,0),$t=Q(ct.bottom,0),lr={availableHeight:ze.floating.height-(["left","right"].includes(Le)?2*(er!==0||$t!==0?er+$t:Q(ct.top,ct.bottom)):ct[Dt]),availableWidth:ze.floating.width-(["top","bottom"].includes(Le)?2*(Qt!==0||rr!==0?Qt+rr:Q(ct.left,ct.right)):ct[Wt])},vr=await Ue.getDimensions($e.floating);nt?.({...xe,...lr});const xr=await Ue.getDimensions($e.floating);return vr.width!==xr.width||vr.height!==xr.height?{reset:{rects:!0}}:{}}}};function at(Ke){return Ke&&Ke.document&&Ke.location&&Ke.alert&&Ke.setInterval}function ut(Ke){if(Ke==null)return window;if(!at(Ke)){const xe=Ke.ownerDocument;return xe&&xe.defaultView||window}return Ke}function Ot(Ke){return ut(Ke).getComputedStyle(Ke)}function Pt(Ke){return at(Ke)?"":Ke?(Ke.nodeName||"").toLowerCase():""}function Et(){const Ke=navigator.userAgentData;return Ke!=null&&Ke.brands?Ke.brands.map(xe=>xe.brand+"/"+xe.version).join(" "):navigator.userAgent}function Mt(Ke){return Ke instanceof ut(Ke).HTMLElement}function Yt(Ke){return Ke instanceof ut(Ke).Element}function lt(Ke){return typeof ShadowRoot<"u"&&(Ke instanceof ut(Ke).ShadowRoot||Ke instanceof ShadowRoot)}function ot(Ke){const{overflow:xe,overflowX:Le,overflowY:ze}=Ot(Ke);return/auto|scroll|overlay|hidden/.test(xe+ze+Le)}function mt(Ke){return["table","td","th"].includes(Pt(Ke))}function pt(Ke){const xe=/firefox/i.test(Et()),Le=Ot(Ke);return Le.transform!=="none"||Le.perspective!=="none"||Le.contain==="paint"||["transform","perspective"].includes(Le.willChange)||xe&&Le.willChange==="filter"||xe&&!!Le.filter&&Le.filter!=="none"}function ht(){return!/^((?!chrome|android).)*safari/i.test(Et())}const yt=Math.min,Ct=Math.max,Bt=Math.round;function zt(Ke,xe,Le){var ze,Ue,$e,nt;xe===void 0&&(xe=!1),Le===void 0&&(Le=!1);const tt=Ke.getBoundingClientRect();let ct=1,Kt=1;xe&&Mt(Ke)&&(ct=Ke.offsetWidth>0&&Bt(tt.width)/Ke.offsetWidth||1,Kt=Ke.offsetHeight>0&&Bt(tt.height)/Ke.offsetHeight||1);const qt=Yt(Ke)?ut(Ke):window,Dt=!ht()&&Le,Wt=(tt.left+(Dt&&(ze=(Ue=qt.visualViewport)==null?void 0:Ue.offsetLeft)!=null?ze:0))/ct,Qt=(tt.top+(Dt&&($e=(nt=qt.visualViewport)==null?void 0:nt.offsetTop)!=null?$e:0))/Kt,rr=tt.width/ct,er=tt.height/Kt;return{width:rr,height:er,top:Qt,right:Wt+rr,bottom:Qt+er,left:Wt,x:Wt,y:Qt}}function tr(Ke){return(xe=Ke,(xe instanceof ut(xe).Node?Ke.ownerDocument:Ke.document)||window.document).documentElement;var xe}function cr(Ke){return Yt(Ke)?{scrollLeft:Ke.scrollLeft,scrollTop:Ke.scrollTop}:{scrollLeft:Ke.pageXOffset,scrollTop:Ke.pageYOffset}}function mr(Ke){return zt(tr(Ke)).left+cr(Ke).scrollLeft}function Ft(Ke,xe,Le){const ze=Mt(xe),Ue=tr(xe),$e=zt(Ke,ze&&function(ct){const Kt=zt(ct);return Bt(Kt.width)!==ct.offsetWidth||Bt(Kt.height)!==ct.offsetHeight}(xe),Le==="fixed");let nt={scrollLeft:0,scrollTop:0};const tt={x:0,y:0};if(ze||!ze&&Le!=="fixed")if((Pt(xe)!=="body"||ot(Ue))&&(nt=cr(xe)),Mt(xe)){const ct=zt(xe,!0);tt.x=ct.x+xe.clientLeft,tt.y=ct.y+xe.clientTop}else Ue&&(tt.x=mr(Ue));return{x:$e.left+nt.scrollLeft-tt.x,y:$e.top+nt.scrollTop-tt.y,width:$e.width,height:$e.height}}function xt(Ke){return Pt(Ke)==="html"?Ke:Ke.assignedSlot||Ke.parentNode||(lt(Ke)?Ke.host:null)||tr(Ke)}function At(Ke){return Mt(Ke)&&getComputedStyle(Ke).position!=="fixed"?Ke.offsetParent:null}function Tt(Ke){const xe=ut(Ke);let Le=At(Ke);for(;Le&&mt(Le)&&getComputedStyle(Le).position==="static";)Le=At(Le);return Le&&(Pt(Le)==="html"||Pt(Le)==="body"&&getComputedStyle(Le).position==="static"&&!pt(Le))?xe:Le||function(ze){let Ue=xt(ze);for(lt(Ue)&&(Ue=Ue.host);Mt(Ue)&&!["html","body"].includes(Pt(Ue));){if(pt(Ue))return Ue;Ue=Ue.parentNode}return null}(Ke)||xe}function nr(Ke){if(Mt(Ke))return{width:Ke.offsetWidth,height:Ke.offsetHeight};const xe=zt(Ke);return{width:xe.width,height:xe.height}}function yr(Ke){const xe=xt(Ke);return["html","body","#document"].includes(Pt(xe))?Ke.ownerDocument.body:Mt(xe)&&ot(xe)?xe:yr(xe)}function kr(Ke,xe){var Le;xe===void 0&&(xe=[]);const ze=yr(Ke),Ue=ze===((Le=Ke.ownerDocument)==null?void 0:Le.body),$e=ut(ze),nt=Ue?[$e].concat($e.visualViewport||[],ot(ze)?ze:[]):ze,tt=xe.concat(nt);return Ue?tt:tt.concat(kr(nt))}function Tr(Ke,xe,Le){return xe==="viewport"?z(function(ze,Ue){const $e=ut(ze),nt=tr(ze),tt=$e.visualViewport;let ct=nt.clientWidth,Kt=nt.clientHeight,qt=0,Dt=0;if(tt){ct=tt.width,Kt=tt.height;const Wt=ht();(Wt||!Wt&&Ue==="fixed")&&(qt=tt.offsetLeft,Dt=tt.offsetTop)}return{width:ct,height:Kt,x:qt,y:Dt}}(Ke,Le)):Yt(xe)?function(ze,Ue){const $e=zt(ze,!1,Ue==="fixed"),nt=$e.top+ze.clientTop,tt=$e.left+ze.clientLeft;return{top:nt,left:tt,x:tt,y:nt,right:tt+ze.clientWidth,bottom:nt+ze.clientHeight,width:ze.clientWidth,height:ze.clientHeight}}(xe,Le):z(function(ze){var Ue;const $e=tr(ze),nt=cr(ze),tt=(Ue=ze.ownerDocument)==null?void 0:Ue.body,ct=Ct($e.scrollWidth,$e.clientWidth,tt?tt.scrollWidth:0,tt?tt.clientWidth:0),Kt=Ct($e.scrollHeight,$e.clientHeight,tt?tt.scrollHeight:0,tt?tt.clientHeight:0);let qt=-nt.scrollLeft+mr(ze);const Dt=-nt.scrollTop;return Ot(tt||$e).direction==="rtl"&&(qt+=Ct($e.clientWidth,tt?tt.clientWidth:0)-ct),{width:ct,height:Kt,x:qt,y:Dt}}(tr(Ke)))}function Or(Ke){const xe=kr(Ke),Le=["absolute","fixed"].includes(Ot(Ke).position)&&Mt(Ke)?Tt(Ke):Ke;return Yt(Le)?xe.filter(ze=>Yt(ze)&&function(Ue,$e){const nt=$e.getRootNode==null?void 0:$e.getRootNode();if(Ue.contains($e))return!0;if(nt&<(nt)){let tt=$e;do{if(tt&&Ue===tt)return!0;tt=tt.parentNode||tt.host}while(tt)}return!1}(ze,Le)&&Pt(ze)!=="body"):[]}const Rt={getClippingRect:function(Ke){let{element:xe,boundary:Le,rootBoundary:ze,strategy:Ue}=Ke;const $e=[...Le==="clippingAncestors"?Or(xe):[].concat(Le),ze],nt=$e[0],tt=$e.reduce((ct,Kt)=>{const qt=Tr(xe,Kt,Ue);return ct.top=Ct(qt.top,ct.top),ct.right=yt(qt.right,ct.right),ct.bottom=yt(qt.bottom,ct.bottom),ct.left=Ct(qt.left,ct.left),ct},Tr(xe,nt,Ue));return{width:tt.right-tt.left,height:tt.bottom-tt.top,x:tt.left,y:tt.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(Ke){let{rect:xe,offsetParent:Le,strategy:ze}=Ke;const Ue=Mt(Le),$e=tr(Le);if(Le===$e)return xe;let nt={scrollLeft:0,scrollTop:0};const tt={x:0,y:0};if((Ue||!Ue&&ze!=="fixed")&&((Pt(Le)!=="body"||ot($e))&&(nt=cr(Le)),Mt(Le))){const ct=zt(Le,!0);tt.x=ct.x+Le.clientLeft,tt.y=ct.y+Le.clientTop}return{...xe,x:xe.x-nt.scrollLeft+tt.x,y:xe.y-nt.scrollTop+tt.y}},isElement:Yt,getDimensions:nr,getOffsetParent:Tt,getDocumentElement:tr,getElementRects:Ke=>{let{reference:xe,floating:Le,strategy:ze}=Ke;return{reference:Ft(xe,Tt(Le),ze),floating:{...nr(Le),x:0,y:0}}},getClientRects:Ke=>Array.from(Ke.getClientRects()),isRTL:Ke=>Ot(Ke).direction==="rtl"};function dt(Ke,xe,Le,ze){ze===void 0&&(ze={});const{ancestorScroll:Ue=!0,ancestorResize:$e=!0,elementResize:nt=!0,animationFrame:tt=!1}=ze,ct=Ue&&!tt,Kt=$e&&!tt,qt=ct||Kt?[...Yt(Ke)?kr(Ke):[],...kr(xe)]:[];qt.forEach(rr=>{ct&&rr.addEventListener("scroll",Le,{passive:!0}),Kt&&rr.addEventListener("resize",Le)});let Dt,Wt=null;if(nt){let rr=!0;Wt=new ResizeObserver(()=>{rr||Le(),rr=!1}),Yt(Ke)&&!tt&&Wt.observe(Ke),Wt.observe(xe)}let Qt=tt?zt(Ke):null;return tt&&function rr(){const er=zt(Ke);!Qt||er.x===Qt.x&&er.y===Qt.y&&er.width===Qt.width&&er.height===Qt.height||Le(),Qt=er,Dt=requestAnimationFrame(rr)}(),Le(),()=>{var rr;qt.forEach(er=>{ct&&er.removeEventListener("scroll",Le),Kt&&er.removeEventListener("resize",Le)}),(rr=Wt)==null||rr.disconnect(),Wt=null,tt&&cancelAnimationFrame(Dt)}}const gt=(Ke,xe,Le)=>(async(ze,Ue,$e)=>{const{placement:nt="bottom",strategy:tt="absolute",middleware:ct=[],platform:Kt}=$e,qt=await(Kt.isRTL==null?void 0:Kt.isRTL(Ue));let Dt=await Kt.getElementRects({reference:ze,floating:Ue,strategy:tt}),{x:Wt,y:Qt}=s(Dt,nt,qt),rr=nt,er={},$t=0;for(let lr=0;lr<ct.length;lr++){const{name:vr,fn:xr}=ct[lr],{x:gr,y:Sr,data:Fr,reset:Jr}=await xr({x:Wt,y:Qt,initialPlacement:nt,placement:rr,strategy:tt,middlewareData:er,rects:Dt,platform:Kt,elements:{reference:ze,floating:Ue}});Wt=gr??Wt,Qt=Sr??Qt,er={...er,[vr]:{...er[vr],...Fr}},Jr&&$t<=50&&($t++,typeof Jr=="object"&&(Jr.placement&&(rr=Jr.placement),Jr.rects&&(Dt=Jr.rects===!0?await Kt.getElementRects({reference:ze,floating:Ue,strategy:tt}):Jr.rects),{x:Wt,y:Qt}=s(Dt,rr,qt)),lr=-1)}return{x:Wt,y:Qt,placement:rr,strategy:tt,middlewareData:er}})(Ke,xe,{platform:Rt,...Le});var wt=t(5156),Ut=t.n(wt),ar=typeof document<"u"?x.useLayoutEffect:x.useEffect;function ir(Ke,xe){if(Ke===xe)return!0;if(typeof Ke!=typeof xe)return!1;if(typeof Ke=="function"&&Ke.toString()===xe.toString())return!0;let Le,ze,Ue;if(Ke&&xe&&typeof Ke=="object"){if(Array.isArray(Ke)){if(Le=Ke.length,Le!=xe.length)return!1;for(ze=Le;ze--!=0;)if(!ir(Ke[ze],xe[ze]))return!1;return!0}if(Ue=Object.keys(Ke),Le=Ue.length,Le!==Object.keys(xe).length)return!1;for(ze=Le;ze--!=0;)if(!Object.prototype.hasOwnProperty.call(xe,Ue[ze]))return!1;for(ze=Le;ze--!=0;){const $e=Ue[ze];if(($e!=="_owner"||!Ke.$$typeof)&&!ir(Ke[$e],xe[$e]))return!1}return!0}return Ke!=Ke&&xe!=xe}function dr(Ke){let{middleware:xe,placement:Le="bottom",strategy:ze="absolute",whileElementsMounted:Ue}=Ke===void 0?{}:Ke;const $e=x.useRef(null),nt=x.useRef(null),tt=function(xr){const gr=x.useRef(xr);return ar(()=>{gr.current=xr}),gr}(Ue),ct=x.useRef(null),[Kt,qt]=x.useState({x:null,y:null,strategy:ze,placement:Le,middlewareData:{}}),[Dt,Wt]=x.useState(xe);ir(Dt?.map(xr=>{let{options:gr}=xr;return gr}),xe?.map(xr=>{let{options:gr}=xr;return gr}))||Wt(xe);const Qt=x.useCallback(()=>{$e.current&&nt.current&>($e.current,nt.current,{middleware:Dt,placement:Le,strategy:ze}).then(xr=>{rr.current&&wt.flushSync(()=>{qt(xr)})})},[Dt,Le,ze]);ar(()=>{rr.current&&Qt()},[Qt]);const rr=x.useRef(!1);ar(()=>(rr.current=!0,()=>{rr.current=!1}),[]);const er=x.useCallback(()=>{if(typeof ct.current=="function"&&(ct.current(),ct.current=null),$e.current&&nt.current)if(tt.current){const xr=tt.current($e.current,nt.current,Qt);ct.current=xr}else Qt()},[Qt,tt]),$t=x.useCallback(xr=>{$e.current=xr,er()},[er]),lr=x.useCallback(xr=>{nt.current=xr,er()},[er]),vr=x.useMemo(()=>({reference:$e,floating:nt}),[]);return x.useMemo(()=>({...Kt,update:Qt,refs:vr,reference:$t,floating:lr}),[Kt,Qt,vr,$t,lr])}const br=Ke=>{const{element:xe,padding:Le}=Ke;return{name:"arrow",options:Ke,fn(ze){return Ue=xe,Object.prototype.hasOwnProperty.call(Ue,"current")?xe.current!=null?be({element:xe.current,padding:Le}).fn(ze):{}:xe?be({element:xe,padding:Le}).fn(ze):{};var Ue}}},hr=(0,x.forwardRef)((Ke,xe)=>{const{children:Le,width:ze=10,height:Ue=5,...$e}=Ke;return(0,x.createElement)(a.WV.svg,(0,d.Z)({},$e,{ref:xe,width:ze,height:Ue,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),Ke.asChild?Le:(0,x.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),Ir=hr;var wr=t(3348);const sr="Popper",[fr,pr]=(0,p.b)(sr),[jr,Pr]=fr(sr),Mr=Ke=>{const{__scopePopper:xe,children:Le}=Ke,[ze,Ue]=(0,x.useState)(null);return(0,x.createElement)(jr,{scope:xe,anchor:ze,onAnchorChange:Ue},Le)},$r="PopperAnchor",fn=(0,x.forwardRef)((Ke,xe)=>{const{__scopePopper:Le,virtualRef:ze,...Ue}=Ke,$e=Pr($r,Le),nt=(0,x.useRef)(null),tt=(0,n.e)(xe,nt);return(0,x.useEffect)(()=>{$e.onAnchorChange(ze?.current||nt.current)}),ze?null:(0,x.createElement)(a.WV.div,(0,d.Z)({},Ue,{ref:tt}))}),Mn="PopperContent",[Zn,zn]=fr(Mn),[Cn,vn]=fr(Mn,{hasParent:!1,positionUpdateFns:new Set}),Ln=(0,x.forwardRef)((Ke,xe)=>{var Le,ze,Ue,$e,nt,tt,ct,Kt;const{__scopePopper:qt,side:Dt="bottom",sideOffset:Wt=0,align:Qt="center",alignOffset:rr=0,arrowPadding:er=0,collisionBoundary:$t=[],collisionPadding:lr=0,sticky:vr="partial",hideWhenDetached:xr=!1,avoidCollisions:gr=!0,onPlaced:Sr,...Fr}=Ke,Jr=Pr(Mn,qt),[Hr,Nr]=(0,x.useState)(null),Vr=(0,n.e)(xe,bo=>Nr(bo)),[Qr,an]=(0,x.useState)(null),dn=function(bo){const[uo,Io]=(0,x.useState)(void 0);return(0,wr.b)(()=>{if(bo){Io({width:bo.offsetWidth,height:bo.offsetHeight});const hi=new ResizeObserver(Li=>{if(!Array.isArray(Li)||!Li.length)return;const Dr=Li[0];let Ar,mi;if("borderBoxSize"in Dr){const gi=Dr.borderBoxSize,vi=Array.isArray(gi)?gi[0]:gi;Ar=vi.inlineSize,mi=vi.blockSize}else Ar=bo.offsetWidth,mi=bo.offsetHeight;Io({width:Ar,height:mi})});return hi.observe(bo,{box:"border-box"}),()=>hi.unobserve(bo)}Io(void 0)},[bo]),uo}(Qr),pn=(Le=dn?.width)!==null&&Le!==void 0?Le:0,kn=(ze=dn?.height)!==null&&ze!==void 0?ze:0,Kn=Dt+(Qt!=="center"?"-"+Qt:""),lo=typeof lr=="number"?lr:{top:0,right:0,bottom:0,left:0,...lr},po=Array.isArray($t)?$t:[$t],Oo=po.length>0,xo={padding:lo,boundary:po.filter(Xe),altBoundary:Oo},{reference:Yn,floating:Xn,strategy:ro,x:$n,y:oo,placement:mo,middlewareData:Ho,update:Wo}=dr({strategy:"fixed",placement:Kn,whileElementsMounted:dt,middleware:[St(),Ne({mainAxis:Wt+kn,alignmentAxis:rr}),gr?Qe({mainAxis:!0,crossAxis:!1,limiter:vr==="partial"?rt():void 0,...xo}):void 0,Qr?br({element:Qr,padding:er}):void 0,gr?Je({...xo}):void 0,ft({...xo,apply:({elements:bo,availableWidth:uo,availableHeight:Io})=>{bo.floating.style.setProperty("--radix-popper-available-width",`${uo}px`),bo.floating.style.setProperty("--radix-popper-available-height",`${Io}px`)}}),Gt({arrowWidth:pn,arrowHeight:kn}),xr?Se({strategy:"referenceHidden"}):void 0].filter(De)});(0,wr.b)(()=>{Yn(Jr.anchor)},[Yn,Jr.anchor]);const Co=$n!==null&&oo!==null,[Fo,Ti]=Xt(mo),Ro=(0,l.W)(Sr);(0,wr.b)(()=>{Co&&Ro?.()},[Co,Ro]);const Jo=(Ue=Ho.arrow)===null||Ue===void 0?void 0:Ue.x,wa=($e=Ho.arrow)===null||$e===void 0?void 0:$e.y,na=((nt=Ho.arrow)===null||nt===void 0?void 0:nt.centerOffset)!==0,[oa,Di]=(0,x.useState)();(0,wr.b)(()=>{Hr&&Di(window.getComputedStyle(Hr).zIndex)},[Hr]);const{hasParent:Ai,positionUpdateFns:ti}=vn(Mn,qt),zo=!Ai;(0,x.useLayoutEffect)(()=>{if(!zo)return ti.add(Wo),()=>{ti.delete(Wo)}},[zo,ti,Wo]),(0,wr.b)(()=>{zo&&Co&&Array.from(ti).reverse().forEach(bo=>requestAnimationFrame(bo))},[zo,Co,ti]);const pi={"data-side":Fo,"data-align":Ti,...Fr,ref:Vr,style:{...Fr.style,animation:Co?void 0:"none",opacity:(tt=Ho.hide)!==null&&tt!==void 0&&tt.referenceHidden?0:void 0}};return(0,x.createElement)("div",{ref:Xn,"data-radix-popper-content-wrapper":"",style:{position:ro,left:0,top:0,transform:Co?`translate3d(${Math.round($n)}px, ${Math.round(oo)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:oa,"--radix-popper-transform-origin":[(ct=Ho.transformOrigin)===null||ct===void 0?void 0:ct.x,(Kt=Ho.transformOrigin)===null||Kt===void 0?void 0:Kt.y].join(" ")},dir:Ke.dir},(0,x.createElement)(Zn,{scope:qt,placedSide:Fo,onArrowChange:an,arrowX:Jo,arrowY:wa,shouldHideArrow:na},zo?(0,x.createElement)(Cn,{scope:qt,hasParent:!0,positionUpdateFns:ti},(0,x.createElement)(a.WV.div,pi)):(0,x.createElement)(a.WV.div,pi)))}),We="PopperArrow",pe={top:"bottom",right:"left",bottom:"top",left:"right"},_e=(0,x.forwardRef)(function(Ke,xe){const{__scopePopper:Le,...ze}=Ke,Ue=zn(We,Le),$e=pe[Ue.placedSide];return(0,x.createElement)("span",{ref:Ue.onArrowChange,style:{position:"absolute",left:Ue.arrowX,top:Ue.arrowY,[$e]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[Ue.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[Ue.placedSide],visibility:Ue.shouldHideArrow?"hidden":void 0}},(0,x.createElement)(Ir,(0,d.Z)({},ze,{ref:xe,style:{...ze.style,display:"block"}})))});function De(Ke){return Ke!==void 0}function Xe(Ke){return Ke!==null}const St=()=>({name:"anchorCssProperties",fn(Ke){const{rects:xe,elements:Le}=Ke,{width:ze,height:Ue}=xe.reference;return Le.floating.style.setProperty("--radix-popper-anchor-width",`${ze}px`),Le.floating.style.setProperty("--radix-popper-anchor-height",`${Ue}px`),{}}}),Gt=Ke=>({name:"transformOrigin",options:Ke,fn(xe){var Le,ze,Ue,$e,nt;const{placement:tt,rects:ct,middlewareData:Kt}=xe,qt=((Le=Kt.arrow)===null||Le===void 0?void 0:Le.centerOffset)!==0,Dt=qt?0:Ke.arrowWidth,Wt=qt?0:Ke.arrowHeight,[Qt,rr]=Xt(tt),er={start:"0%",center:"50%",end:"100%"}[rr],$t=((ze=(Ue=Kt.arrow)===null||Ue===void 0?void 0:Ue.x)!==null&&ze!==void 0?ze:0)+Dt/2,lr=(($e=(nt=Kt.arrow)===null||nt===void 0?void 0:nt.y)!==null&&$e!==void 0?$e:0)+Wt/2;let vr="",xr="";return Qt==="bottom"?(vr=qt?er:`${$t}px`,xr=-Wt+"px"):Qt==="top"?(vr=qt?er:`${$t}px`,xr=`${ct.floating.height+Wt}px`):Qt==="right"?(vr=-Wt+"px",xr=qt?er:`${lr}px`):Qt==="left"&&(vr=`${ct.floating.width+Wt}px`,xr=qt?er:`${lr}px`),{data:{x:vr,y:xr}}}});function Xt(Ke){const[xe,Le="center"]=Ke.split("-");return[xe,Le]}const It=Mr,_t=fn,Jt=Ln,ur=_e,_r=(0,x.forwardRef)((Ke,xe)=>{var Le;const{container:ze=globalThis==null||(Le=globalThis.document)===null||Le===void 0?void 0:Le.body,...Ue}=Ke;return ze?Ut().createPortal((0,x.createElement)(a.WV.div,(0,d.Z)({},Ue,{ref:xe})),ze):null});var Cr=t(1483),Rr=t(4801),Wr=t(2673),Lr=function(Ke){return typeof document>"u"?null:(Array.isArray(Ke)?Ke[0]:Ke).ownerDocument.body},zr=new WeakMap,rn=new WeakMap,mn={},Hn=0,qn=function(Ke){return Ke&&(Ke.host||qn(Ke.parentNode))},fo=function(Ke,xe,Le,ze){var Ue=function(Dt,Wt){return Wt.map(function(Qt){if(Dt.contains(Qt))return Qt;var rr=qn(Qt);return rr&&Dt.contains(rr)?rr:(console.error("aria-hidden",Qt,"in not contained inside",Dt,". Doing nothing"),null)}).filter(function(Qt){return!!Qt})}(xe,Array.isArray(Ke)?Ke:[Ke]);mn[Le]||(mn[Le]=new WeakMap);var $e=mn[Le],nt=[],tt=new Set,ct=new Set(Ue),Kt=function(Dt){Dt&&!tt.has(Dt)&&(tt.add(Dt),Kt(Dt.parentNode))};Ue.forEach(Kt);var qt=function(Dt){Dt&&!ct.has(Dt)&&Array.prototype.forEach.call(Dt.children,function(Wt){if(tt.has(Wt))qt(Wt);else{var Qt=Wt.getAttribute(ze),rr=Qt!==null&&Qt!=="false",er=(zr.get(Wt)||0)+1,$t=($e.get(Wt)||0)+1;zr.set(Wt,er),$e.set(Wt,$t),nt.push(Wt),er===1&&rr&&rn.set(Wt,!0),$t===1&&Wt.setAttribute(Le,"true"),rr||Wt.setAttribute(ze,"true")}})};return qt(xe),tt.clear(),Hn++,function(){nt.forEach(function(Dt){var Wt=zr.get(Dt)-1,Qt=$e.get(Dt)-1;zr.set(Dt,Wt),$e.set(Dt,Qt),Wt||(rn.has(Dt)||Dt.removeAttribute(ze),rn.delete(Dt)),Qt||Dt.removeAttribute(Le)}),--Hn||(zr=new WeakMap,zr=new WeakMap,rn=new WeakMap,mn={})}},qr=function(Ke,xe,Le){Le===void 0&&(Le="data-aria-hidden");var ze=Array.from(Array.isArray(Ke)?Ke:[Ke]),Ue=xe||Lr(Ke);return Ue?(ze.push.apply(ze,Array.from(Ue.querySelectorAll("[aria-live]"))),fo(ze,Ue,Le,"aria-hidden")):function(){return null}},Br=function(){return Br=Object.assign||function(Ke){for(var xe,Le=1,ze=arguments.length;Le<ze;Le++)for(var Ue in xe=arguments[Le])Object.prototype.hasOwnProperty.call(xe,Ue)&&(Ke[Ue]=xe[Ue]);return Ke},Br.apply(this,arguments)};function un(Ke,xe){var Le={};for(var ze in Ke)Object.prototype.hasOwnProperty.call(Ke,ze)&&xe.indexOf(ze)<0&&(Le[ze]=Ke[ze]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function"){var Ue=0;for(ze=Object.getOwnPropertySymbols(Ke);Ue<ze.length;Ue++)xe.indexOf(ze[Ue])<0&&Object.prototype.propertyIsEnumerable.call(Ke,ze[Ue])&&(Le[ze[Ue]]=Ke[ze[Ue]])}return Le}var wn="right-scroll-bar-position",Wn="width-before-scroll-bar";function io(Ke,xe){return Le=xe||null,ze=function($e){return Ke.forEach(function(nt){return function(tt,ct){return typeof tt=="function"?tt(ct):tt&&(tt.current=ct),tt}(nt,$e)})},(Ue=(0,x.useState)(function(){return{value:Le,callback:ze,facade:{get current(){return Ue.value},set current($e){var nt=Ue.value;nt!==$e&&(Ue.value=$e,Ue.callback($e,nt))}}}})[0]).callback=ze,Ue.facade;var Le,ze,Ue}function go(Ke){return Ke}function vo(Ke,xe){xe===void 0&&(xe=go);var Le=[],ze=!1,Ue={read:function(){if(ze)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return Le.length?Le[Le.length-1]:Ke},useMedium:function($e){var nt=xe($e,ze);return Le.push(nt),function(){Le=Le.filter(function(tt){return tt!==nt})}},assignSyncMedium:function($e){for(ze=!0;Le.length;){var nt=Le;Le=[],nt.forEach($e)}Le={push:function(tt){return $e(tt)},filter:function(){return Le}}},assignMedium:function($e){ze=!0;var nt=[];if(Le.length){var tt=Le;Le=[],tt.forEach($e),nt=Le}var ct=function(){var qt=nt;nt=[],qt.forEach($e)},Kt=function(){return Promise.resolve().then(ct)};Kt(),Le={push:function(qt){nt.push(qt),Kt()},filter:function(qt){return nt=nt.filter(qt),Le}}}};return Ue}var ho=function(Ke){Ke===void 0&&(Ke={});var xe=vo(null);return xe.options=Br({async:!0,ssr:!1},Ke),xe}(),Mo=function(){},yi=x.forwardRef(function(Ke,xe){var Le=x.useRef(null),ze=x.useState({onScrollCapture:Mo,onWheelCapture:Mo,onTouchMoveCapture:Mo}),Ue=ze[0],$e=ze[1],nt=Ke.forwardProps,tt=Ke.children,ct=Ke.className,Kt=Ke.removeScrollBar,qt=Ke.enabled,Dt=Ke.shards,Wt=Ke.sideCar,Qt=Ke.noIsolation,rr=Ke.inert,er=Ke.allowPinchZoom,$t=Ke.as,lr=$t===void 0?"div":$t,vr=un(Ke,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),xr=Wt,gr=io([Le,xe]),Sr=Br(Br({},vr),Ue);return x.createElement(x.Fragment,null,qt&&x.createElement(xr,{sideCar:ho,removeScrollBar:Kt,shards:Dt,noIsolation:Qt,inert:rr,setCallbacks:$e,allowPinchZoom:!!er,lockRef:Le}),nt?x.cloneElement(x.Children.only(tt),Br(Br({},Sr),{ref:gr})):x.createElement(lr,Br({},Sr,{className:ct,ref:gr}),tt))});yi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},yi.classNames={fullWidth:Wn,zeroRight:wn};var _i=function(Ke){var xe=Ke.sideCar,Le=un(Ke,["sideCar"]);if(!xe)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var ze=xe.read();if(!ze)throw new Error("Sidecar medium not found");return x.createElement(ze,Br({},Le))};_i.isSideCarExport=!0;function sa(){if(!document)return null;var Ke=document.createElement("style");Ke.type="text/css";var xe=t.nc;return xe&&Ke.setAttribute("nonce",xe),Ke}var ua=function(){var Ke=0,xe=null;return{add:function(Le){var ze,Ue;Ke==0&&(xe=sa())&&(Ue=Le,(ze=xe).styleSheet?ze.styleSheet.cssText=Ue:ze.appendChild(document.createTextNode(Ue)),function($e){(document.head||document.getElementsByTagName("head")[0]).appendChild($e)}(xe)),Ke++},remove:function(){!--Ke&&xe&&(xe.parentNode&&xe.parentNode.removeChild(xe),xe=null)}}},Vi=function(){var Ke,xe=(Ke=ua(),function(Le,ze){x.useEffect(function(){return Ke.add(Le),function(){Ke.remove()}},[Le&&ze])});return function(Le){var ze=Le.styles,Ue=Le.dynamic;return xe(ze,Ue),null}},Xi={left:0,top:0,right:0,gap:0},Qo=function(Ke){return parseInt(Ke||"",10)||0},Uo=function(Ke){if(Ke===void 0&&(Ke="margin"),typeof window>"u")return Xi;var xe=function(Ue){var $e=window.getComputedStyle(document.body),nt=$e[Ue==="padding"?"paddingLeft":"marginLeft"],tt=$e[Ue==="padding"?"paddingTop":"marginTop"],ct=$e[Ue==="padding"?"paddingRight":"marginRight"];return[Qo(nt),Qo(tt),Qo(ct)]}(Ke),Le=document.documentElement.clientWidth,ze=window.innerWidth;return{left:xe[0],top:xe[1],right:xe[2],gap:Math.max(0,ze-Le+xe[2]-xe[0])}},yo=Vi(),jo=function(Ke,xe,Le,ze){var Ue=Ke.left,$e=Ke.top,nt=Ke.right,tt=Ke.gap;return Le===void 0&&(Le="margin"),` + .`.concat("with-scroll-bars-hidden",` { + overflow: hidden `).concat(ze,`; + padding-right: `).concat(tt,"px ").concat(ze,`; + } + body { + overflow: hidden `).concat(ze,`; + overscroll-behavior: contain; + `).concat([xe&&"position: relative ".concat(ze,";"),Le==="margin"&&` + padding-left: `.concat(Ue,`px; + padding-top: `).concat($e,`px; + padding-right: `).concat(nt,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(tt,"px ").concat(ze,`; + `),Le==="padding"&&"padding-right: ".concat(tt,"px ").concat(ze,";")].filter(Boolean).join(""),` + } + + .`).concat(wn,` { + right: `).concat(tt,"px ").concat(ze,`; + } + + .`).concat(Wn,` { + margin-right: `).concat(tt,"px ").concat(ze,`; + } + + .`).concat(wn," .").concat(wn,` { + right: 0 `).concat(ze,`; + } + + .`).concat(Wn," .").concat(Wn,` { + margin-right: 0 `).concat(ze,`; + } + + body { + `).concat("--removed-body-scroll-bar-size",": ").concat(tt,`px; + } +`)},da=function(Ke){var xe=Ke.noRelative,Le=Ke.noImportant,ze=Ke.gapMode,Ue=ze===void 0?"margin":ze,$e=x.useMemo(function(){return Uo(Ue)},[Ue]);return x.createElement(yo,{styles:jo($e,!xe,Ue,Le?"":"!important")})},$i=!1;if(typeof window<"u")try{var ni=Object.defineProperty({},"passive",{get:function(){return $i=!0,!0}});window.addEventListener("test",ni,ni),window.removeEventListener("test",ni,ni)}catch{$i=!1}var No=!!$i&&{passive:!1},Ko=function(Ke,xe){var Le=window.getComputedStyle(Ke);return Le[xe]!=="hidden"&&!(Le.overflowY===Le.overflowX&&!function(ze){return ze.tagName==="TEXTAREA"}(Ke)&&Le[xe]==="visible")},Go=function(Ke,xe){var Le=xe;do{if(typeof ShadowRoot<"u"&&Le instanceof ShadowRoot&&(Le=Le.host),ei(Ke,Le)){var ze=si(Ke,Le);if(ze[1]>ze[2])return!0}Le=Le.parentNode}while(Le&&Le!==document.body);return!1},ei=function(Ke,xe){return Ke==="v"?function(Le){return Ko(Le,"overflowY")}(xe):function(Le){return Ko(Le,"overflowX")}(xe)},si=function(Ke,xe){return Ke==="v"?[(Le=xe).scrollTop,Le.scrollHeight,Le.clientHeight]:function(ze){return[ze.scrollLeft,ze.scrollWidth,ze.clientWidth]}(xe);var Le},Xo=function(Ke){return"changedTouches"in Ke?[Ke.changedTouches[0].clientX,Ke.changedTouches[0].clientY]:[0,0]},ui=function(Ke){return[Ke.deltaX,Ke.deltaY]},Hi=function(Ke){return Ke&&"current"in Ke?Ke.current:Ke},Oi=function(Ke){return` + .block-interactivity-`.concat(Ke,` {pointer-events: none;} + .allow-interactivity-`).concat(Ke,` {pointer-events: all;} +`)},xi=0,_o=[],ko,$o=(ko=function(Ke){var xe=x.useRef([]),Le=x.useRef([0,0]),ze=x.useRef(),Ue=x.useState(xi++)[0],$e=x.useState(function(){return Vi()})[0],nt=x.useRef(Ke);x.useEffect(function(){nt.current=Ke},[Ke]),x.useEffect(function(){if(Ke.inert){document.body.classList.add("block-interactivity-".concat(Ue));var er=function($t,lr,vr){if(vr||arguments.length===2)for(var xr,gr=0,Sr=lr.length;gr<Sr;gr++)!xr&&gr in lr||(xr||(xr=Array.prototype.slice.call(lr,0,gr)),xr[gr]=lr[gr]);return $t.concat(xr||Array.prototype.slice.call(lr))}([Ke.lockRef.current],(Ke.shards||[]).map(Hi),!0).filter(Boolean);return er.forEach(function($t){return $t.classList.add("allow-interactivity-".concat(Ue))}),function(){document.body.classList.remove("block-interactivity-".concat(Ue)),er.forEach(function($t){return $t.classList.remove("allow-interactivity-".concat(Ue))})}}},[Ke.inert,Ke.lockRef.current,Ke.shards]);var tt=x.useCallback(function(er,$t){if("touches"in er&&er.touches.length===2)return!nt.current.allowPinchZoom;var lr,vr=Xo(er),xr=Le.current,gr="deltaX"in er?er.deltaX:xr[0]-vr[0],Sr="deltaY"in er?er.deltaY:xr[1]-vr[1],Fr=er.target,Jr=Math.abs(gr)>Math.abs(Sr)?"h":"v";if("touches"in er&&Jr==="h"&&Fr.type==="range")return!1;var Hr=Go(Jr,Fr);if(!Hr)return!0;if(Hr?lr=Jr:(lr=Jr==="v"?"h":"v",Hr=Go(Jr,Fr)),!Hr)return!1;if(!ze.current&&"changedTouches"in er&&(gr||Sr)&&(ze.current=lr),!lr)return!0;var Nr=ze.current||lr;return function(Vr,Qr,an,dn,pn){var kn=function(mo,Ho){return mo==="h"&&Ho==="rtl"?-1:1}(Vr,window.getComputedStyle(Qr).direction),Kn=kn*dn,lo=an.target,po=Qr.contains(lo),Oo=!1,xo=Kn>0,Yn=0,Xn=0;do{var ro=si(Vr,lo),$n=ro[0],oo=ro[1]-ro[2]-kn*$n;($n||oo)&&ei(Vr,lo)&&(Yn+=oo,Xn+=$n),lo=lo.parentNode}while(!po&&lo!==document.body||po&&(Qr.contains(lo)||Qr===lo));return(xo&&(pn&&Yn===0||!pn&&Kn>Yn)||!xo&&(pn&&Xn===0||!pn&&-Kn>Xn))&&(Oo=!0),Oo}(Nr,$t,er,Nr==="h"?gr:Sr,!0)},[]),ct=x.useCallback(function(er){var $t=er;if(_o.length&&_o[_o.length-1]===$e){var lr="deltaY"in $t?ui($t):Xo($t),vr=xe.current.filter(function(gr){return gr.name===$t.type&&gr.target===$t.target&&function(Sr,Fr){return Sr[0]===Fr[0]&&Sr[1]===Fr[1]}(gr.delta,lr)})[0];if(vr&&vr.should)$t.cancelable&&$t.preventDefault();else if(!vr){var xr=(nt.current.shards||[]).map(Hi).filter(Boolean).filter(function(gr){return gr.contains($t.target)});(xr.length>0?tt($t,xr[0]):!nt.current.noIsolation)&&$t.cancelable&&$t.preventDefault()}}},[]),Kt=x.useCallback(function(er,$t,lr,vr){var xr={name:er,delta:$t,target:lr,should:vr};xe.current.push(xr),setTimeout(function(){xe.current=xe.current.filter(function(gr){return gr!==xr})},1)},[]),qt=x.useCallback(function(er){Le.current=Xo(er),ze.current=void 0},[]),Dt=x.useCallback(function(er){Kt(er.type,ui(er),er.target,tt(er,Ke.lockRef.current))},[]),Wt=x.useCallback(function(er){Kt(er.type,Xo(er),er.target,tt(er,Ke.lockRef.current))},[]);x.useEffect(function(){return _o.push($e),Ke.setCallbacks({onScrollCapture:Dt,onWheelCapture:Dt,onTouchMoveCapture:Wt}),document.addEventListener("wheel",ct,No),document.addEventListener("touchmove",ct,No),document.addEventListener("touchstart",qt,No),function(){_o=_o.filter(function(er){return er!==$e}),document.removeEventListener("wheel",ct,No),document.removeEventListener("touchmove",ct,No),document.removeEventListener("touchstart",qt,No)}},[]);var Qt=Ke.removeScrollBar,rr=Ke.inert;return x.createElement(x.Fragment,null,rr?x.createElement($e,{styles:Oi(Ue)}):null,Qt?x.createElement(da,{gapMode:"margin"}):null)},ho.useMedium(ko),_i),Po=x.forwardRef(function(Ke,xe){return x.createElement(yi,Br({},Ke,{ref:xe,sideCar:$o}))});Po.classNames=yi.classNames;var oi=Po;const fa="Popover",[qi,_a]=(0,p.b)(fa,[pr]),Wi=pr(),[Ci,di]=qi(fa),fi=Ke=>{const{__scopePopover:xe,children:Le,open:ze,defaultOpen:Ue,onOpenChange:$e,modal:nt=!1}=Ke,tt=Wi(xe),ct=(0,x.useRef)(null),[Kt,qt]=(0,x.useState)(!1),[Dt=!1,Wt]=(0,Wr.T)({prop:ze,defaultProp:Ue,onChange:$e});return(0,x.createElement)(It,tt,(0,x.createElement)(Ci,{scope:xe,contentId:(0,ge.M)(),triggerRef:ct,open:Dt,onOpenChange:Wt,onOpenToggle:(0,x.useCallback)(()=>Wt(Qt=>!Qt),[Wt]),hasCustomAnchor:Kt,onCustomAnchorAdd:(0,x.useCallback)(()=>qt(!0),[]),onCustomAnchorRemove:(0,x.useCallback)(()=>qt(!1),[]),modal:nt},Le))},Oa="PopoverTrigger",Ca=(0,x.forwardRef)((Ke,xe)=>{const{__scopePopover:Le,...ze}=Ke,Ue=di(Oa,Le),$e=Wi(Le),nt=(0,n.e)(xe,Ue.triggerRef),tt=(0,x.createElement)(a.WV.button,(0,d.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":Ue.open,"aria-controls":Ue.contentId,"data-state":Ii(Ue.open)},ze,{ref:nt,onClick:(0,r.M)(Ke.onClick,Ue.onOpenToggle)}));return Ue.hasCustomAnchor?tt:(0,x.createElement)(_t,(0,d.Z)({asChild:!0},$e),tt)}),Ji="PopoverPortal",[Qi,Ia]=qi(Ji,{forceMount:void 0}),Fi=Ke=>{const{__scopePopover:xe,forceMount:Le,children:ze,container:Ue}=Ke,$e=di(Ji,xe);return(0,x.createElement)(Qi,{scope:xe,forceMount:Le},(0,x.createElement)(Cr.z,{present:Le||$e.open},(0,x.createElement)(_r,{asChild:!0,container:Ue},ze)))},To="PopoverContent",qo=(0,x.forwardRef)((Ke,xe)=>{const Le=Ia(To,Ke.__scopePopover),{forceMount:ze=Le.forceMount,...Ue}=Ke,$e=di(To,Ke.__scopePopover);return(0,x.createElement)(Cr.z,{present:ze||$e.open},$e.modal?(0,x.createElement)(pa,(0,d.Z)({},Ue,{ref:xe})):(0,x.createElement)(ea,(0,d.Z)({},Ue,{ref:xe})))}),pa=(0,x.forwardRef)((Ke,xe)=>{const Le=di(To,Ke.__scopePopover),ze=(0,x.useRef)(null),Ue=(0,n.e)(xe,ze),$e=(0,x.useRef)(!1);return(0,x.useEffect)(()=>{const nt=ze.current;if(nt)return qr(nt)},[]),(0,x.createElement)(oi,{as:Rr.g7,allowPinchZoom:!0},(0,x.createElement)(Ui,(0,d.Z)({},Ke,{ref:Ue,trapFocus:Le.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.M)(Ke.onCloseAutoFocus,nt=>{var tt;nt.preventDefault(),$e.current||(tt=Le.triggerRef.current)===null||tt===void 0||tt.focus()}),onPointerDownOutside:(0,r.M)(Ke.onPointerDownOutside,nt=>{const tt=nt.detail.originalEvent,ct=tt.button===0&&tt.ctrlKey===!0,Kt=tt.button===2||ct;$e.current=Kt},{checkForDefaultPrevented:!1}),onFocusOutside:(0,r.M)(Ke.onFocusOutside,nt=>nt.preventDefault(),{checkForDefaultPrevented:!1})})))}),ea=(0,x.forwardRef)((Ke,xe)=>{const Le=di(To,Ke.__scopePopover),ze=(0,x.useRef)(!1);return(0,x.createElement)(Ui,(0,d.Z)({},Ke,{ref:xe,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:Ue=>{var $e,nt;($e=Ke.onCloseAutoFocus)===null||$e===void 0||$e.call(Ke,Ue),Ue.defaultPrevented||(ze.current||(nt=Le.triggerRef.current)===null||nt===void 0||nt.focus(),Ue.preventDefault()),ze.current=!1},onInteractOutside:Ue=>{var $e,nt;($e=Ke.onInteractOutside)===null||$e===void 0||$e.call(Ke,Ue),Ue.defaultPrevented||(ze.current=!0);const tt=Ue.target;!((nt=Le.triggerRef.current)===null||nt===void 0)&&nt.contains(tt)&&Ue.preventDefault()}}))}),Ui=(0,x.forwardRef)((Ke,xe)=>{const{__scopePopover:Le,trapFocus:ze,onOpenAutoFocus:Ue,onCloseAutoFocus:$e,disableOutsidePointerEvents:nt,onEscapeKeyDown:tt,onPointerDownOutside:ct,onFocusOutside:Kt,onInteractOutside:qt,...Dt}=Ke,Wt=di(To,Le),Qt=Wi(Le);return re(),(0,x.createElement)(we,{asChild:!0,loop:!0,trapped:ze,onMountAutoFocus:Ue,onUnmountAutoFocus:$e},(0,x.createElement)(D,{asChild:!0,disableOutsidePointerEvents:nt,onInteractOutside:qt,onEscapeKeyDown:tt,onPointerDownOutside:ct,onFocusOutside:Kt,onDismiss:()=>Wt.onOpenChange(!1)},(0,x.createElement)(Jt,(0,d.Z)({"data-state":Ii(Wt.open),role:"dialog",id:Wt.contentId},Qt,Dt,{ref:xe,style:{...Dt.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)"}}))))}),wi=(0,x.forwardRef)((Ke,xe)=>{const{__scopePopover:Le,...ze}=Ke,Ue=Wi(Le);return(0,x.createElement)(ur,(0,d.Z)({},Ue,ze,{ref:xe}))});function Ii(Ke){return Ke?"open":"closed"}const ha=fi,ma=Ca,ii=Fi,Yo=qo,Mi=wi;var ta=t(8242),Pi=t(453),Ki=t(8935),so=t(8924),bn=function(Ke){var xe=Ke.color,Le=Ke.onChange,ze=Ke.label,Ue=Ke.colorPickerType,$e=(0,ta.Fy)(),nt=(0,x.useState)(xe),tt=(0,e.Z)(nt,2),ct=tt[0],Kt=tt[1],qt=(0,Z.KO)(J),Dt=(0,e.Z)(qt,2),Wt=Dt[0],Qt=Dt[1];(0,x.useEffect)(function(){Kt(xe)},[xe]);var rr=(0,x.useCallback)(function(Sr){var Fr=Sr.toLowerCase(),Jr=Qn(Fr);Jr&&Le(Jr),Kt(Fr)},[Le]),er=(0,x.useRef)(null),$t=(0,x.useRef)(null);(0,x.useEffect)(function(){er.current&&er.current.focus()},[Wt]);var lr=(0,Z.KO)(so.$,Pi.yE),vr=(0,e.Z)(lr,2),xr=vr[0],gr=vr[1];return(0,x.useEffect)(function(){return function(){gr(null)}},[gr]),(0,v.jsxs)("div",{className:"color-picker__input-label",children:[(0,v.jsx)("div",{className:"color-picker__input-hash",children:"#"}),(0,v.jsx)("input",{ref:Wt==="hex"?er:void 0,style:{border:0,padding:0},spellCheck:!1,className:"color-picker-input","aria-label":ze,onChange:function(Sr){rr(Sr.target.value)},value:(ct||"").replace(/^#/,""),onBlur:function(){Kt(xe)},tabIndex:-1,onFocus:function(){return Qt("hex")},onKeyDown:function(Sr){var Fr;Sr.key!==H.tW.TAB&&(Sr.key===H.tW.ESCAPE&&((Fr=$t.current)===null||Fr===void 0||Fr.focus()),Sr.stopPropagation())}}),!$e.editor.isMobile&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{style:{width:"1px",height:"1.25rem",backgroundColor:"var(--default-border-color)"}}),(0,v.jsx)("div",{ref:$t,className:(0,w.Z)("excalidraw-eye-dropper-trigger",{selected:xr}),onClick:function(){return gr(function(Sr){return Sr?null:{keepOpenOnAlt:!1,onSelect:function(Fr){return Le(Fr)},colorPickerType:Ue}})},title:"".concat((0,f.t)("labels.eyeDropper")," — ").concat(H.tW.I.toLocaleUpperCase()," or ").concat((0,P.uY)("Alt")," "),children:Ki.$W})]})]})},Vn=t(3379),Pn=t.n(Vn),Tn=t(7795),Do=t.n(Tn),Ao=t(569),ga=t.n(Ao),Ma=t(3565),va=t.n(Ma),ba=t(9216),ya=t.n(ba),ra=t(4589),Bo=t.n(ra),Eo=t(4269),Lo={};Lo.styleTagTransform=Bo(),Lo.setAttributes=va(),Lo.insert=ga().bind(null,"head"),Lo.domAPI=Do(),Lo.insertStyleElement=ya(),Pn()(Eo.Z,Lo),Eo.Z&&Eo.Z.locals&&Eo.Z.locals;var Jn=function(Ke){var xe=new Option().style;return xe.color=Ke,!!xe.color},Qn=function(Ke){return(0,P.Qm)(Ke)?Ke:Jn("#".concat(Ke))?"#".concat(Ke):Jn(Ke)?Ke:null},Zo=function(Ke){var xe=Ke.type,Le=Ke.color,ze=Ke.onChange,Ue=Ke.label,$e=Ke.elements,nt=Ke.palette,tt=nt===void 0?m.HO:nt,ct=Ke.updateData,Kt=(0,Z.KO)(J),qt=(0,e.Z)(Kt,2)[1],Dt=(0,Z.KO)(so.$,Pi.yE),Wt=(0,e.Z)(Dt,2),Qt=Wt[0],rr=Wt[1],er=(0,ta.J0)().container,$t=(0,ta.Fy)(),lr=(0,v.jsxs)("div",{children:[(0,v.jsx)(b,{children:(0,f.t)("colorPicker.hexCode")}),(0,v.jsx)(bn,{color:Le,label:Ue,onChange:function(gr){ze(gr)},colorPickerType:xe})]}),vr=(0,x.useRef)(null),xr=function(){var gr,Sr;(gr=vr.current)===null||gr===void 0||(Sr=gr.querySelector(".color-picker-content"))===null||Sr===void 0||Sr.focus()};return(0,v.jsx)(ii,{container:er,children:(0,v.jsxs)(Yo,{ref:vr,className:"focus-visible-none","data-prevent-outside-click":!0,onFocusOutside:function(gr){xr(),gr.preventDefault()},onPointerDownOutside:function(gr){Qt&&gr.preventDefault()},onCloseAutoFocus:function(gr){gr.stopPropagation(),gr.preventDefault(),er&&!(0,P.y1)(document.activeElement)&&er.focus(),ct({openPopup:null}),qt(null)},side:$t.editor.isMobile&&!$t.viewport.isLandscape?"bottom":"right",align:$t.editor.isMobile&&!$t.viewport.isLandscape?"center":"start",alignOffset:-16,sideOffset:20,style:{zIndex:"var(--zIndex-layerUI)",backgroundColor:"var(--popup-bg-color)",maxWidth:"208px",maxHeight:window.innerHeight,padding:"12px",borderRadius:"8px",boxSizing:"border-box",overflowY:"auto",boxShadow:"0px 7px 14px rgba(0, 0, 0, 0.05), 0px 0px 3.12708px rgba(0, 0, 0, 0.0798), 0px 0px 0.931014px rgba(0, 0, 0, 0.1702)"},children:[tt?(0,v.jsx)(h,{palette:tt,color:Le,onChange:function(gr){ze(gr)},onEyeDropperToggle:function(gr){rr(function(Sr){return gr?((Sr=Sr||{keepOpenOnAlt:!0,onSelect:ze,colorPickerType:xe}).keepOpenOnAlt=!0,Sr):gr===!1||Sr?null:{keepOpenOnAlt:!1,onSelect:ze,colorPickerType:xe}})},onEscape:function(gr){Qt?rr(null):(0,P.s)(gr.target)?xr():ct({openPopup:null})},label:Ue,type:xe,elements:$e,updateData:ct,children:lr}):lr,(0,v.jsx)(Mi,{width:20,height:10,style:{fill:"var(--popup-bg-color)",filter:"drop-shadow(rgba(0, 0, 0, 0.05) 0px 3px 2px)"}})]})})},ki=function(Ke){var xe=Ke.label,Le=Ke.color,ze=Ke.type;return(0,v.jsx)(ma,{type:"button",className:(0,w.Z)("color-picker__button active-color",{"is-transparent":Le==="transparent"||!Le}),"aria-label":xe,style:Le?{"--swatch-color":Le}:void 0,title:ze==="elementStroke"?(0,f.t)("labels.showStroke"):(0,f.t)("labels.showBackground"),children:(0,v.jsx)("div",{className:"color-picker__button-outline"})})},xa=function(Ke){var xe=Ke.type,Le=Ke.color,ze=Ke.onChange,Ue=Ke.label,$e=Ke.elements,nt=Ke.palette,tt=nt===void 0?m.HO:nt,ct=Ke.topPicks,Kt=Ke.updateData,qt=Ke.appState;return(0,v.jsx)("div",{children:(0,v.jsxs)("div",{role:"dialog","aria-modal":"true",className:"color-picker-container",children:[(0,v.jsx)(I,{activeColor:Le,onChange:ze,type:xe,topPicks:ct}),(0,v.jsx)("div",{style:{width:1,height:"100%",backgroundColor:"var(--default-border-color)",margin:"0 auto"}}),(0,v.jsxs)(ha,{open:qt.openPopup===xe,onOpenChange:function(Dt){Kt({openPopup:Dt?xe:null})},children:[(0,v.jsx)(ki,{color:Le,label:Ue,type:xe}),qt.openPopup===xe&&(0,v.jsx)(Zo,{type:xe,color:Le,onChange:ze,label:Ue,elements:$e,palette:tt,updateData:Kt})]})]})})}},6887:function(et,fe,t){t.d(fe,{Z:function(){return d}});var e=t(7169),P=t(2726),w=t(8227),m=t(1300),v=t(3379),I=t.n(v),x=t(7795),c=t.n(x),f=t(569),Z=t.n(f),N=t(3565),W=t.n(N),k=t(9216),S=t.n(k),J=t(4589),ce=t.n(J),he=t(9393),ve={};ve.styleTagTransform=ce(),ve.setAttributes=W(),ve.insert=Z().bind(null,"head"),ve.domAPI=c(),ve.insertStyleElement=S(),I()(he.Z,ve),he.Z&&he.Z.locals&&he.Z.locals;var le=t(4932),G=t(3607),U=t(3116),H=t(8242),M=t(453),A=t(4512),b=["onConfirm","onCancel","children","confirmText","cancelText","className"];function y(r,n){var p=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),p.push.apply(p,a)}return p}function h(r){for(var n=1;n<arguments.length;n++){var p=arguments[n]!=null?arguments[n]:{};n%2?y(Object(p),!0).forEach(function(a){(0,e.Z)(r,a,p[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(p)):y(Object(p)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(p,a))})}return r}var d=function(r){var n=r.onConfirm,p=r.onCancel,a=r.children,l=r.confirmText,u=l===void 0?(0,w.t)("buttons.confirm"):l,C=r.cancelText,L=C===void 0?(0,w.t)("buttons.cancel"):C,_=r.className,E=_===void 0?"":_,D=(0,P.Z)(r,b),F=(0,H.n9)(),ee=(0,G.b9)(U.uh,M.yE),te=(0,H.J0)().container;return(0,A.jsxs)(m.V,h(h({onCloseRequest:p,size:"small"},D),{},{className:"confirm-dialog ".concat(E),children:[a,(0,A.jsxs)("div",{className:"confirm-dialog-buttons",children:[(0,A.jsx)(le.Z,{label:L,onClick:function(){F({openMenu:null}),ee(!1),p(),te?.focus()}}),(0,A.jsx)(le.Z,{label:u,onClick:function(){F({openMenu:null}),ee(!1),n(),te?.focus()},actionType:"danger"})]})]}))}},1925:function(et,fe,t){t.d(fe,{O:function(){return U}});var e=t(2726),P=t(7169),w=t(45),m=t(9937),v=t(4572),I=t(100),x=t(8227),c=t(9827),f=t(8242),Z=t(6922),N=t(3116),W=t(5902),k=t(4512),S=t(9787),J=["children"],ce=["children","className","onDock","docked"];function he(H,M){var A=Object.keys(H);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(H);M&&(b=b.filter(function(y){return Object.getOwnPropertyDescriptor(H,y).enumerable})),A.push.apply(A,b)}return A}function ve(H){for(var M=1;M<arguments.length;M++){var A=arguments[M]!=null?arguments[M]:{};M%2?he(Object(A),!0).forEach(function(b){(0,P.Z)(H,b,A[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(A)):he(Object(A)).forEach(function(b){Object.defineProperty(H,b,Object.getOwnPropertyDescriptor(A,b))})}return H}var le=(0,Z.$)("DefaultSidebarTrigger",function(H){var M=(0,v.R6)().DefaultSidebarTriggerTunnel;return(0,k.jsx)(M.In,{children:(0,k.jsx)(W.YE.Trigger,ve(ve({},H),{},{className:"default-sidebar-trigger",name:m.Cc.name}))})});le.displayName="DefaultSidebarTrigger";var G=function(H){var M=H.children,A=(0,e.Z)(H,J),b=(0,v.R6)().DefaultSidebarTabTriggersTunnel;return(0,k.jsx)(b.In,{children:(0,k.jsx)(W.YE.TabTriggers,ve(ve({},A),{},{children:M}))})};G.displayName="DefaultTabTriggers";var U=Object.assign((0,Z.$)("DefaultSidebar",function(H){var M=H.children,A=H.className,b=H.onDock,y=H.docked,h=(0,e.Z)(H,ce),d=(0,I.I)(),r=(0,f.n9)(),n=(0,v.R6)().DefaultSidebarTabTriggersTunnel;return(0,S.createElement)(W.YE,ve(ve({},h),{},{name:"default",key:"default",className:(0,w.Z)("default-sidebar",A),docked:y??d.defaultSidebarDockedPreference,onDock:b===!1||!b&&y!=null?void 0:(0,c.Mj)(b,function(p){r({defaultSidebarDockedPreference:p})})}),(0,k.jsxs)(W.YE.Tabs,{children:[(0,k.jsxs)(W.YE.Header,{children:[h.__fallback&&(0,k.jsx)("div",{style:{color:"var(--color-primary)",fontSize:"1.2em",fontWeight:"bold",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",paddingRight:"1em"},children:(0,x.t)("toolBar.library")}),(0,k.jsx)(n.Out,{})]}),(0,k.jsx)(W.YE.Tab,{tab:m.tf,children:(0,k.jsx)(N.rY,{})}),M]}))}),{Trigger:le,TabTriggers:G})},1300:function(et,fe,t){t.d(fe,{V:function(){return u}});var e=t(2577),P=t(45),w=t(9787),m=t(8227),v=t(8242),I=t(5491),x=t(3379),c=t.n(x),f=t(7795),Z=t.n(f),N=t(569),W=t.n(N),k=t(3565),S=t.n(k),J=t(9216),ce=t.n(J),he=t(4589),ve=t.n(he),le=t(9482),G={};G.styleTagTransform=ve(),G.setAttributes=S(),G.insert=W().bind(null,"head"),G.domAPI=Z(),G.insertStyleElement=ce(),c()(le.Z,G),le.Z&&le.Z.locals&&le.Z.locals;var U=t(8935),H=t(1404),M=t(6843),A={};A.styleTagTransform=ve(),A.setAttributes=S(),A.insert=W().bind(null,"head"),A.domAPI=Z(),A.insertStyleElement=ce(),c()(M.Z,A),M.Z&&M.Z.locals&&M.Z.locals;var b=t(5156),y=t(334),h=t(4512),d=function(C){var L=C.closeOnClickOutside,_=L===void 0||L,E=(0,y.F)({className:"excalidraw-modal-container"});return E?(0,b.createPortal)((0,h.jsxs)("div",{className:(0,P.Z)("Modal",C.className),role:"dialog","aria-modal":"true",onKeyDown:function(D){D.key===I.tW.ESCAPE&&(D.nativeEvent.stopImmediatePropagation(),D.stopPropagation(),C.onCloseRequest())},"aria-labelledby":C.labelledBy,"data-prevent-outside-click":!0,children:[(0,h.jsx)("div",{className:"Modal__background",onClick:_?C.onCloseRequest:void 0}),(0,h.jsx)("div",{className:"Modal__content",style:{"--max-width":"".concat(C.maxWidth,"px")},tabIndex:0,children:C.children})]}),E):null},r=t(9827),n=t(3607),p=t(3116),a=t(453);function l(C){if(C&&typeof C=="number")return C;switch(C){case"small":return 550;case"wide":return 1024;default:return 800}}var u=function(C){var L=function(){var ie=(0,w.useState)(null),we=(0,e.Z)(ie,2),Ae=we[0],Re=we[1];return[Ae,(0,w.useCallback)(function(je){return Re(je)},[])]}(),_=(0,e.Z)(L,2),E=_[0],D=_[1],F=(0,w.useState)(document.activeElement),ee=(0,e.Z)(F,1)[0],te=(0,v.J0)().id,re=(0,v.Fy)().viewport.isMobile;(0,w.useEffect)(function(){if(E){var ie=(0,r.xp)(E);ie.length>0&&C.autofocus!==!1&&(ie[1]||ie[0]).focus();var we=function(Ae){if(Ae.key===I.tW.TAB){var Re=(0,r.xp)(E),je=document.activeElement,ye=Re.findIndex(function(Ee){return Ee===je});ye===0&&Ae.shiftKey?(Re[Re.length-1].focus(),Ae.preventDefault()):ye!==Re.length-1||Ae.shiftKey||(Re[0].focus(),Ae.preventDefault())}};return E.addEventListener("keydown",we),function(){return E.removeEventListener("keydown",we)}}},[E,C.autofocus]);var oe=(0,v.n9)(),Y=(0,n.b9)(p.uh,a.yE),V=function(){oe({openMenu:null}),Y(!1),ee.focus(),C.onCloseRequest()};return(0,h.jsx)(d,{className:(0,P.Z)("Dialog",C.className,{"Dialog--fullscreen":re}),labelledBy:"dialog-title",maxWidth:l(C.size),onCloseRequest:V,closeOnClickOutside:C.closeOnClickOutside,children:(0,h.jsxs)(H.W,{ref:D,children:[C.title&&(0,h.jsx)("h2",{id:"".concat(te,"-dialog-title"),className:"Dialog__title",children:(0,h.jsx)("span",{className:"Dialog__titleContent",children:C.title})}),(0,h.jsx)("button",{className:"Dialog__close",onClick:V,title:(0,m.t)("buttons.close"),"aria-label":(0,m.t)("buttons.close"),children:re?U.op:U.Tw}),(0,h.jsx)("div",{className:"Dialog__content",children:C.children})]})})}},4932:function(et,fe,t){t.d(fe,{Z:function(){return M}});var e=t(7169),P=t(2726),w=t(45),m=t(3379),v=t.n(m),I=t(7795),x=t.n(I),c=t(569),f=t.n(c),Z=t(3565),N=t.n(Z),W=t(9216),k=t.n(W),S=t(4589),J=t.n(S),ce=t(6148),he={};he.styleTagTransform=J(),he.setAttributes=N(),he.insert=f().bind(null,"head"),he.domAPI=x(),he.insertStyleElement=k(),v()(ce.Z,he),ce.Z&&ce.Z.locals&&ce.Z.locals;var ve=t(8531),le=t(4512),G=["label","onClick","className","children","actionType","type","isLoading"];function U(A,b){var y=Object.keys(A);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(A);b&&(h=h.filter(function(d){return Object.getOwnPropertyDescriptor(A,d).enumerable})),y.push.apply(y,h)}return y}function H(A){for(var b=1;b<arguments.length;b++){var y=arguments[b]!=null?arguments[b]:{};b%2?U(Object(y),!0).forEach(function(h){(0,e.Z)(A,h,y[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(y)):U(Object(y)).forEach(function(h){Object.defineProperty(A,h,Object.getOwnPropertyDescriptor(y,h))})}return A}var M=function(A){var b=A.label,y=A.onClick,h=A.className,d=A.children,r=A.actionType,n=A.type,p=n===void 0?"button":n,a=A.isLoading,l=(0,P.Z)(A,G),u=r?"Dialog__action-button--".concat(r):"";return(0,le.jsxs)("button",H(H({className:(0,w.Z)("Dialog__action-button",u,h),type:p,"aria-label":b,onClick:y},l),{},{children:[d&&(0,le.jsx)("div",{style:a?{visibility:"hidden"}:{},children:d}),(0,le.jsx)("div",{style:a?{visibility:"hidden"}:{},children:b}),a&&(0,le.jsx)("div",{style:{position:"absolute",inset:0},children:(0,le.jsx)(ve.Z,{})})]}))}},8924:function(et,fe,t){t.d(fe,{p:function(){return d},$:function(){return h}});var e=t(3607),P=t(9787),w=t(5156),m=t(9240),v=t(9937),I=t(100),x=t(334),c=t(1901),f=t(5491),Z=t(4105),N=t(8242),W=t(3379),k=t.n(W),S=t(7795),J=t.n(S),ce=t(569),he=t.n(ce),ve=t(3565),le=t.n(ve),G=t(9216),U=t.n(G),H=t(4589),M=t.n(H),A=t(7522),b={};b.styleTagTransform=M(),b.setAttributes=le(),b.insert=he().bind(null,"head"),b.domAPI=J(),b.insertStyleElement=U(),k()(A.Z,b),A.Z&&A.Z.locals&&A.Z.locals;var y=t(4512),h=(0,e.cn)(null),d=function(r){var n=r.onCancel,p=r.onChange,a=r.onSelect,l=r.colorPickerType,u=(0,x.F)({className:"excalidraw-eye-dropper-backdrop",parentSelector:".excalidraw-eye-dropper-container"}),C=(0,I.I)(),L=(0,N.bd)(),_=(0,N.qD)(),E=(0,Z.eD)(L,C),D=function(te){var re=(0,P.useRef)(te);return Object.assign(re.current,te),re.current}({app:_,onCancel:n,onChange:p,onSelect:a,selectedElements:E}),F=(0,N.J0)().container;(0,P.useEffect)(function(){var te=ee.current;if(te&&_.canvas&&u){var re=!1,oe=_.canvas.getContext("2d"),Y=function(je){var ye=je.clientX,Ee=je.clientY,Oe=oe.getImageData((ye-C.offsetLeft)*window.devicePixelRatio,(Ee-C.offsetTop)*window.devicePixelRatio,1,1).data;return(0,m.vq)(Oe[0],Oe[1],Oe[2])},V=function(je){var ye=je.clientX,Ee=je.clientY,Oe=je.altKey;te.style.top="".concat(Ee+20,"px"),te.style.left="".concat(ye+20,"px");var ge=Y({clientX:ye,clientY:Ee});re&&D.onChange(l,ge,D.selectedElements,{altKey:Oe}),te.style.background=ge},ie=function(){D.onCancel()},we=function(je){re=!0,je.stopImmediatePropagation()},Ae=function(je){re=!1,F?.focus(),je.stopImmediatePropagation(),je.preventDefault(),function(ye,Ee){D.onSelect(ye,Ee)}(Y(je),je)},Re=function(je){je.key===f.tW.ESCAPE&&(je.preventDefault(),je.stopImmediatePropagation(),ie())};return u.tabIndex=-1,u.focus(),V({clientX:D.app.lastViewportPosition.x,clientY:D.app.lastViewportPosition.y,altKey:!1}),u.addEventListener(v.Ks.KEYDOWN,Re),u.addEventListener(v.Ks.POINTER_DOWN,we),u.addEventListener(v.Ks.POINTER_UP,Ae),window.addEventListener("pointermove",V,{passive:!0}),window.addEventListener(v.Ks.BLUR,ie),function(){re=!1,u.removeEventListener(v.Ks.KEYDOWN,Re),u.removeEventListener(v.Ks.POINTER_DOWN,we),u.removeEventListener(v.Ks.POINTER_UP,Ae),window.removeEventListener("pointermove",V),window.removeEventListener(v.Ks.BLUR,ie)}}},[D,_.canvas,u,l,F,C.offsetLeft,C.offsetTop]);var ee=(0,P.useRef)(null);return(0,c.O)(ee,function(){n()},function(te){return!!te.target.closest(".excalidraw-eye-dropper-trigger, .excalidraw-eye-dropper-backdrop")}),u?(0,w.createPortal)((0,y.jsx)("div",{ref:ee,className:"excalidraw-eye-dropper-preview"}),u):null}},1404:function(et,fe,t){t.d(fe,{W:function(){return H}});var e=t(7169),P=t(3379),w=t.n(P),m=t(7795),v=t.n(m),I=t(569),x=t.n(I),c=t(3565),f=t.n(c),Z=t(9216),N=t.n(Z),W=t(4589),k=t.n(W),S=t(7369),J={};J.styleTagTransform=k(),J.setAttributes=f(),J.insert=x().bind(null,"head"),J.domAPI=v(),J.insertStyleElement=N(),w()(S.Z,J),S.Z&&S.Z.locals&&S.Z.locals;var ce=t(9787),he=t.n(ce),ve=t(45),le=t(4512);function G(M,A){var b=Object.keys(M);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(M);A&&(y=y.filter(function(h){return Object.getOwnPropertyDescriptor(M,h).enumerable})),b.push.apply(b,y)}return b}function U(M){for(var A=1;A<arguments.length;A++){var b=arguments[A]!=null?arguments[A]:{};A%2?G(Object(b),!0).forEach(function(y){(0,e.Z)(M,y,b[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(b)):G(Object(b)).forEach(function(y){Object.defineProperty(M,y,Object.getOwnPropertyDescriptor(b,y))})}return M}var H=he().forwardRef(function(M,A){var b=M.children,y=M.padding,h=M.className,d=M.style;return(0,le.jsx)("div",{className:(0,ve.Z)("Island",h),style:U({"--padding":y},d),ref:A,children:b})})},3116:function(et,fe,t){t.d(fe,{rY:function(){return Yt},uh:function(){return Pt}});var e=t(6655),P=t(1930),w=t(8950),m=t(2577),v=t(2975),I=t.n(v),x=t(9787),c=t.n(x),f=t(9326),Z=t(8227),N=t(4643),W=t(7169),k=t(4419),S=t(9827),J=t(2540),ce=t(9937),he=t(8531),ve=t(5742),le=t(4512),G=function(lt){var ot=lt.theme,mt=lt.id,pt=lt.libraryReturnUrl||window.location.origin+window.location.pathname;return(0,le.jsx)("a",{className:"library-menu-browse-button",href:"".concat("https://libraries.excalidraw.com","?target=").concat(window.name||"_blank","&referrer=").concat(pt,"&useHash=true&token=").concat(mt,"&theme=").concat(ot,"&version=").concat(ce.Kr.excalidrawLibrary),target:"_excalidraw_libraries",children:(0,Z.t)("labels.libraries")})},U=t(45),H=function(lt){var ot=lt.libraryReturnUrl,mt=lt.theme,pt=lt.id,ht=lt.style,yt=lt.children,Ct=lt.className;return(0,le.jsxs)("div",{className:(0,U.Z)("library-menu-control-buttons",Ct),style:ht,children:[(0,le.jsx)(G,{id:pt,libraryReturnUrl:ot,theme:mt}),yt]})},M=t(9247),A=t(453),b=t(8242),y=t(8935),h=t(1512),d=t(6548),r=t(3607),n=t(6887),p=t(5284),a=t(1300),l=t(507),u=t(5796),C=t(4932),L=t(3379),_=t.n(L),E=t(7795),D=t.n(E),F=t(569),ee=t.n(F),te=t(3565),re=t.n(te),oe=t(9216),Y=t.n(oe),V=t(4589),ie=t.n(V),we=t(7589),Ae={};Ae.styleTagTransform=ie(),Ae.setAttributes=re(),Ae.insert=ee().bind(null,"head"),Ae.domAPI=D(),Ae.insertStyleElement=Y(),_()(we.Z,Ae),we.Z&&we.Z.locals&&we.Z.locals;function Re(lt,ot){var mt=Object.keys(lt);if(Object.getOwnPropertySymbols){var pt=Object.getOwnPropertySymbols(lt);ot&&(pt=pt.filter(function(ht){return Object.getOwnPropertyDescriptor(lt,ht).enumerable})),mt.push.apply(mt,pt)}return mt}function je(lt){for(var ot=1;ot<arguments.length;ot++){var mt=arguments[ot]!=null?arguments[ot]:{};ot%2?Re(Object(mt),!0).forEach(function(pt){(0,W.Z)(lt,pt,mt[pt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(lt,Object.getOwnPropertyDescriptors(mt)):Re(Object(mt)).forEach(function(pt){Object.defineProperty(lt,pt,Object.getOwnPropertyDescriptor(mt,pt))})}return lt}function ye(lt,ot){var mt=typeof Symbol<"u"&<[Symbol.iterator]||lt["@@iterator"];if(!mt){if(Array.isArray(lt)||(mt=function(zt,tr){if(zt){if(typeof zt=="string")return Ee(zt,tr);var cr=Object.prototype.toString.call(zt).slice(8,-1);if(cr==="Object"&&zt.constructor&&(cr=zt.constructor.name),cr==="Map"||cr==="Set")return Array.from(zt);if(cr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(cr))return Ee(zt,tr)}}(lt))||ot&<&&typeof lt.length=="number"){mt&&(lt=mt);var pt=0,ht=function(){};return{s:ht,n:function(){return pt>=lt.length?{done:!0}:{done:!1,value:lt[pt++]}},e:function(zt){throw zt},f:ht}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var yt,Ct=!0,Bt=!1;return{s:function(){mt=mt.call(lt)},n:function(){var zt=mt.next();return Ct=zt.done,zt},e:function(zt){Bt=!0,yt=zt},f:function(){try{Ct||mt.return==null||mt.return()}finally{if(Bt)throw yt}}}}function Ee(lt,ot){(ot==null||ot>lt.length)&&(ot=lt.length);for(var mt=0,pt=new Array(ot);mt<ot;mt++)pt[mt]=lt[mt];return pt}var Oe="publish-library-data",ge=function(){var lt=(0,w.Z)(I().mark(function ot(mt){var pt,ht,yt,Ct,Bt,zt,tr,cr,mr,Ft,xt,At,Tt,nr,yr,kr,Tr;return I().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:pt=6,ht=128,yt=Math.round(ht/16),Ct=Math.max(Math.round(ht/64),2),Bt=(0,S.yo)(mt,pt),(zt=document.createElement("canvas")).width=Bt[0].length*ht+(Bt[0].length+1)*(2*yt)-2*yt,zt.height=Bt.length*ht+(Bt.length+1)*(2*yt)-2*yt,(tr=zt.getContext("2d")).fillStyle=p.white,tr.fillRect(0,0,zt.width,zt.height),cr=ye(mt.entries()),Or.prev=12,cr.s();case 14:if((mr=cr.n()).done){Or.next=28;break}return Ft=(0,m.Z)(mr.value,2),xt=Ft[0],At=Ft[1],Or.next=18,(0,l.NL)({elements:At.elements,files:null,maxWidthOrHeight:ht});case 18:Tt=Or.sent,nr=Tt.width,yr=Tt.height,kr=Math.floor(xt/pt)*(ht+2*yt),Tr=xt%pt*(ht+2*yt),tr.drawImage(Tt,Tr+(ht-nr)/2+yt,kr+(ht-yr)/2+yt),tr.lineWidth=Ct,tr.strokeStyle=p.gray[4],tr.strokeRect(Tr+yt/2,kr+yt/2,ht+yt,ht+yt);case 26:Or.next=14;break;case 28:Or.next=33;break;case 30:Or.prev=30,Or.t0=Or.catch(12),cr.e(Or.t0);case 33:return Or.prev=33,cr.f(),Or.finish(33);case 36:return Or.t1=u.Tu,Or.t2=File,Or.next=40,(0,u._c)(zt);case 40:return Or.t3=Or.sent,Or.t4=[Or.t3],Or.t5={type:ce.LO.png},Or.t6=new Or.t2(Or.t4,"preview",Or.t5),Or.t7={outputType:ce.LO.jpg,maxWidthOrHeight:5e3},Or.next=47,(0,Or.t1)(Or.t6,Or.t7);case 47:return Or.abrupt("return",Or.sent);case 48:case"end":return Or.stop()}},ot,null,[[12,30,33,36]])}));return function(ot){return lt.apply(this,arguments)}}(),ue=function(lt){var ot=lt.libItem,mt=lt.appState,pt=lt.index,ht=lt.onChange,yt=lt.onRemove,Ct=(0,x.useRef)(null),Bt=(0,x.useRef)(null);return(0,x.useEffect)(function(){var zt=Ct.current;zt&&(0,w.Z)(I().mark(function tr(){var cr;return I().wrap(function(mr){for(;;)switch(mr.prev=mr.next){case 0:return mr.next=2,(0,l.$D)({elements:ot.elements,appState:je(je({},mt),{},{viewBackgroundColor:p.white,exportBackground:!0}),files:null});case 2:cr=mr.sent,zt.innerHTML=cr.outerHTML;case 4:case"end":return mr.stop()}},tr)}))()},[ot.elements,mt]),(0,le.jsxs)("div",{className:"single-library-item",children:[ot.status==="published"&&(0,le.jsx)("span",{className:"single-library-item-status",children:(0,Z.t)("labels.statusPublished")}),(0,le.jsx)("div",{ref:Ct,className:"single-library-item__svg"}),(0,le.jsx)(h.V,{"aria-label":(0,Z.t)("buttons.remove"),type:"button",icon:y.Tw,className:"single-library-item--remove",onClick:yt.bind(null,ot.id),title:(0,Z.t)("buttons.remove")}),(0,le.jsxs)("div",{style:{display:"flex",margin:"0.8rem 0",width:"100%",fontSize:"14px",fontWeight:500,flexDirection:"column"},children:[(0,le.jsxs)("label",{style:{display:"flex",justifyContent:"space-between",flexDirection:"column"},children:[(0,le.jsxs)("div",{style:{padding:"0.5em 0"},children:[(0,le.jsx)("span",{style:{fontWeight:500,color:p.gray[6]},children:(0,Z.t)("publishDialog.itemName")}),(0,le.jsx)("span",{"aria-hidden":"true",className:"required",children:"*"})]}),(0,le.jsx)("input",{type:"text",ref:Bt,style:{width:"80%",padding:"0.2rem"},defaultValue:ot.name,placeholder:"Item name",onChange:function(zt){ht(zt.target.value,pt)}})]}),(0,le.jsx)("span",{className:"error",children:ot.error})]})]})},se=function(lt){var ot=lt.onClose,mt=lt.libraryItems,pt=lt.appState,ht=lt.onSuccess,yt=lt.onError,Ct=lt.updateItemsInStorage,Bt=lt.onRemove,zt=(0,x.useState)({authorName:"",githubHandle:"",name:"",description:"",twitterHandle:"",website:""}),tr=(0,m.Z)(zt,2),cr=tr[0],mr=tr[1],Ft=(0,x.useState)(!1),xt=(0,m.Z)(Ft,2),At=xt[0],Tt=xt[1];(0,x.useEffect)(function(){var ar=function(){try{var ir=localStorage.getItem(Oe);if(ir)return JSON.parse(ir)}catch(dr){console.error(dr)}return null}();ar&&mr(ar)},[]);var nr=(0,x.useState)(mt.slice()),yr=(0,m.Z)(nr,2),kr=yr[0],Tr=yr[1];(0,x.useEffect)(function(){Tr(mt.slice())},[mt]);var Or,Rt=function(ar){mr(je(je({},cr),{},(0,W.Z)({},ar.target.name,ar.target.value)))},dt=function(){var ar=(0,w.Z)(I().mark(function ir(dr){var br,hr,Ir,wr,sr,fr,pr;return I().wrap(function(jr){for(;;)switch(jr.prev=jr.next){case 0:if(dr.preventDefault(),Tt(!0),br=[],hr=!1,kr.forEach(function(Pr){var Mr="";Pr.name||(Mr=(0,Z.t)("publishDialog.errors.required"),hr=!0),br.push(je(je({},Pr),{},{error:Mr}))}),!hr){jr.next=9;break}return Tr(br),Tt(!1),jr.abrupt("return");case 9:return jr.next=11,ge(kr);case 11:Ir=jr.sent,wr={type:ce.r8.excalidrawLibrary,version:ce.Kr.excalidrawLibrary,source:ce.pb,libraryItems:kr},sr=JSON.stringify(wr,null,2),fr=new Blob([sr],{type:"application/json"}),(pr=new FormData).append("excalidrawLib",fr),pr.append("previewImage",Ir),pr.append("previewImageType",Ir.type),pr.append("title",cr.name),pr.append("authorName",cr.authorName),pr.append("githubHandle",cr.githubHandle),pr.append("name",cr.name),pr.append("description",cr.description),pr.append("twitterHandle",cr.twitterHandle),pr.append("website",cr.website),fetch("".concat("https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries","/submit"),{method:"post",body:pr}).then(function(Pr){return Pr.ok?Pr.json().then(function(Mr){var $r=Mr.url;localStorage.removeItem(Oe),ht({url:$r,authorName:cr.authorName,items:kr})}):Pr.json().catch(function(){throw new Error(Pr.statusText||"something went wrong")}).then(function(Mr){throw new Error(Mr.message||Pr.statusText||"something went wrong")})},function(Pr){console.error(Pr),yt(Pr),Tt(!1)}).catch(function(Pr){console.error(Pr),yt(Pr),Tt(!1)});case 27:case"end":return jr.stop()}},ir)}));return function(ir){return ar.apply(this,arguments)}}(),gt=(0,x.useCallback)(function(){Ct(kr),function(ar){try{localStorage.setItem(Oe,JSON.stringify(ar))}catch(ir){console.error(ir)}}(cr),ot()},[kr,ot,Ct,cr]),wt=!!mt.length,Ut=mt.some(function(ar){return ar.status==="published"});return(0,le.jsx)(a.V,{onCloseRequest:gt,title:(0,Z.t)("publishDialog.title"),className:"publish-library",children:wt?(0,le.jsxs)("form",{onSubmit:dt,children:[(0,le.jsx)("div",{className:"publish-library-note",children:(0,le.jsx)(M.Z,{i18nKey:"publishDialog.noteDescription",link:function(ar){return(0,le.jsx)("a",{href:"https://libraries.excalidraw.com",target:"_blank",rel:"noopener noreferrer",children:ar})}})}),(0,le.jsx)("span",{className:"publish-library-note",children:(0,le.jsx)(M.Z,{i18nKey:"publishDialog.noteGuidelines",link:function(ar){return(0,le.jsx)("a",{href:"https://github.com/excalidraw/excalidraw-libraries#guidelines",target:"_blank",rel:"noopener noreferrer",children:ar})}})}),(0,le.jsx)("div",{className:"publish-library-note",children:(0,Z.t)("publishDialog.noteItems")}),Ut&&(0,le.jsx)("span",{className:"publish-library-note publish-library-warning",children:(0,Z.t)("publishDialog.republishWarning")}),(Or=[],kr.forEach(function(ar,ir){Or.push((0,le.jsx)("div",{className:"single-library-item-wrapper",children:(0,le.jsx)(ue,{libItem:ar,appState:pt,index:ir,onChange:function(dr,br){var hr=kr.slice();hr[br].name=dr,Tr(hr)},onRemove:Bt})},ir))}),(0,le.jsx)("div",{className:"selected-library-items",children:Or})),(0,le.jsxs)("div",{className:"publish-library__fields",children:[(0,le.jsxs)("label",{children:[(0,le.jsxs)("div",{children:[(0,le.jsx)("span",{children:(0,Z.t)("publishDialog.libraryName")}),(0,le.jsx)("span",{"aria-hidden":"true",className:"required",children:"*"})]}),(0,le.jsx)("input",{type:"text",name:"name",required:!0,value:cr.name,onChange:Rt,placeholder:(0,Z.t)("publishDialog.placeholder.libraryName")})]}),(0,le.jsxs)("label",{style:{alignItems:"flex-start"},children:[(0,le.jsxs)("div",{children:[(0,le.jsx)("span",{children:(0,Z.t)("publishDialog.libraryDesc")}),(0,le.jsx)("span",{"aria-hidden":"true",className:"required",children:"*"})]}),(0,le.jsx)("textarea",{name:"description",rows:4,required:!0,value:cr.description,onChange:Rt,placeholder:(0,Z.t)("publishDialog.placeholder.libraryDesc")})]}),(0,le.jsxs)("label",{children:[(0,le.jsxs)("div",{children:[(0,le.jsx)("span",{children:(0,Z.t)("publishDialog.authorName")}),(0,le.jsx)("span",{"aria-hidden":"true",className:"required",children:"*"})]}),(0,le.jsx)("input",{type:"text",name:"authorName",required:!0,value:cr.authorName,onChange:Rt,placeholder:(0,Z.t)("publishDialog.placeholder.authorName")})]}),(0,le.jsxs)("label",{children:[(0,le.jsx)("span",{children:(0,Z.t)("publishDialog.githubUsername")}),(0,le.jsx)("input",{type:"text",name:"githubHandle",value:cr.githubHandle,onChange:Rt,placeholder:(0,Z.t)("publishDialog.placeholder.githubHandle")})]}),(0,le.jsxs)("label",{children:[(0,le.jsx)("span",{children:(0,Z.t)("publishDialog.twitterUsername")}),(0,le.jsx)("input",{type:"text",name:"twitterHandle",value:cr.twitterHandle,onChange:Rt,placeholder:(0,Z.t)("publishDialog.placeholder.twitterHandle")})]}),(0,le.jsxs)("label",{children:[(0,le.jsx)("span",{children:(0,Z.t)("publishDialog.website")}),(0,le.jsx)("input",{type:"text",name:"website",pattern:"https?://.+",title:(0,Z.t)("publishDialog.errors.website"),value:cr.website,onChange:Rt,placeholder:(0,Z.t)("publishDialog.placeholder.website")})]}),(0,le.jsx)("span",{className:"publish-library-note",children:(0,le.jsx)(M.Z,{i18nKey:"publishDialog.noteLicense",link:function(ar){return(0,le.jsx)("a",{href:"https://github.com/excalidraw/excalidraw-libraries/blob/main/LICENSE",target:"_blank",rel:"noopener noreferrer",children:ar})}})})]}),(0,le.jsxs)("div",{className:"publish-library__buttons",children:[(0,le.jsx)(C.Z,{label:(0,Z.t)("buttons.cancel"),onClick:gt,"data-testid":"cancel-clear-canvas-button"}),(0,le.jsx)(C.Z,{type:"submit",label:(0,Z.t)("buttons.submit"),actionType:"primary",isLoading:At})]})]}):(0,le.jsx)("p",{style:{padding:"1em",textAlign:"center",fontWeight:500},children:(0,Z.t)("publishDialog.atleastOneLibItem")})})},j=t(7104),i=t(100),s=t(5832),O=function(lt,ot){return lt.filter(function(mt){return ot.includes(mt.id)})},z=function(lt){var ot,mt,pt=lt.setAppState,ht=lt.selectedItems,yt=lt.library,Ct=lt.onRemoveFromLibrary,Bt=lt.resetLibrary,zt=lt.onSelectItems,tr=lt.appState,cr=lt.className,mr=(0,r.KO)(f.rF,A.yE),Ft=(0,m.Z)(mr,1)[0],xt=(0,r.KO)(Pt,A.yE),At=(0,m.Z)(xt,2),Tt=At[0],nr=At[1],yr=(0,x.useState)(!1),kr=(0,m.Z)(yr,2),Tr=kr[0],Or=kr[1],Rt=!!ht.length,dt=Rt?Ft.libraryItems.filter(function(pr){return ht.includes(pr.id)}):Ft.libraryItems,gt=Rt?(0,Z.t)("buttons.remove"):(0,Z.t)("buttons.resetLibrary"),wt=(0,x.useState)(!1),Ut=(0,m.Z)(wt,2),ar=Ut[0],ir=Ut[1],dr=(0,x.useState)(null),br=(0,m.Z)(dr,2),hr=br[0],Ir=br[1],wr=(0,x.useCallback)(function(){return(0,le.jsxs)(a.V,{onCloseRequest:function(){return Ir(null)},title:(0,Z.t)("publishSuccessDialog.title"),className:"publish-library-success",size:"small",children:[(0,le.jsx)("p",{children:(0,le.jsx)(M.Z,{i18nKey:"publishSuccessDialog.content",authorName:hr.authorName,link:function(pr){return(0,le.jsx)("a",{href:hr?.url,target:"_blank",rel:"noopener noreferrer",children:pr})}})}),(0,le.jsx)(h.V,{type:"button",title:(0,Z.t)("buttons.close"),"aria-label":(0,Z.t)("buttons.close"),label:(0,Z.t)("buttons.close"),onClick:function(){return Ir(null)},"data-testid":"publish-library-success-close",className:"publish-library-success-close"})]})},[Ir,hr]),sr=function(){var pr=(0,w.Z)(I().mark(function jr(){return I().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:return Pr.prev=0,Pr.next=3,yt.updateLibrary({libraryItems:(0,d.I$)({description:"Excalidraw library files"}),merge:!0,openLibraryMenu:!0});case 3:Pr.next=11;break;case 5:if(Pr.prev=5,Pr.t0=Pr.catch(0),(Pr.t0===null||Pr.t0===void 0?void 0:Pr.t0.name)!=="AbortError"){Pr.next=10;break}return console.warn(Pr.t0),Pr.abrupt("return");case 10:pt({errorMessage:(0,Z.t)("errors.importLibraryError")});case 11:case"end":return Pr.stop()}},jr,null,[[0,5]])}));return function(){return pr.apply(this,arguments)}}(),fr=function(){var pr=(0,w.Z)(I().mark(function jr(){var Pr;return I().wrap(function(Mr){for(;;)switch(Mr.prev=Mr.next){case 0:if(!Rt){Mr.next=4;break}Mr.t0=dt,Mr.next=7;break;case 4:return Mr.next=6,yt.getLatestLibrary();case 6:Mr.t0=Mr.sent;case 7:Pr=Mr.t0,(0,k.t1)(Pr).catch(S.FG).catch(function($r){pt({errorMessage:$r.message})});case 9:case"end":return Mr.stop()}},jr)}));return function(){return pr.apply(this,arguments)}}();return(0,le.jsxs)("div",{className:(0,U.Z)("library-menu-dropdown-container",cr),children:[(0,le.jsxs)(j.Z,{open:Tt,children:[(0,le.jsx)(j.Z.Trigger,{onToggle:function(){return nr(!Tt)},children:y.YA}),(0,le.jsxs)(j.Z.Content,{onClickOutside:function(){return nr(!1)},onSelect:function(){return nr(!1)},className:"library-menu",children:[!Rt&&(0,le.jsx)(j.Z.Item,{onSelect:sr,icon:y.Tl,"data-testid":"lib-dropdown--load",children:(0,Z.t)("buttons.load")}),!!dt.length&&(0,le.jsx)(j.Z.Item,{onSelect:fr,icon:y.Hy,"data-testid":"lib-dropdown--export",children:(0,Z.t)("buttons.export")}),!!dt.length&&(0,le.jsx)(j.Z.Item,{onSelect:function(){return Or(!0)},icon:y.XH,children:gt}),Rt&&(0,le.jsx)(j.Z.Item,{icon:y.Nw,onSelect:function(){return ir(!0)},"data-testid":"lib-dropdown--remove",children:(0,Z.t)("buttons.publishLibrary")})]})]}),ht.length>0&&(0,le.jsx)("div",{className:"library-actions-counter",children:ht.length}),Tr&&(ot=ht.length?(0,Z.t)("alerts.removeItemsFromsLibrary",{count:ht.length}):(0,Z.t)("alerts.resetLibrary"),mt=ht.length?(0,Z.t)("confirmDialog.removeItemsFromLib"):(0,Z.t)("confirmDialog.resetLibrary"),(0,le.jsx)(n.Z,{onConfirm:function(){ht.length?Ct():Bt(),Or(!1)},onCancel:function(){Or(!1)},title:mt,children:(0,le.jsx)("p",{children:ot})})),ar&&(0,le.jsx)(se,{onClose:function(){return ir(!1)},libraryItems:O(Ft.libraryItems,ht),appState:tr,onSuccess:function(pr){return function(jr,Pr){ir(!1),Ir({url:jr.url,authorName:jr.authorName});var Mr=Pr.slice();Mr.forEach(function($r){ht.includes($r.id)&&($r.status="published")}),yt.setLibrary(Mr)}(pr,Ft.libraryItems)},onError:function(pr){return window.alert(pr)},updateItemsInStorage:function(){return yt.setLibrary(Ft.libraryItems)},onRemove:function(pr){return zt(ht.filter(function(jr){return jr!==pr}))}}),hr&&wr()]})},K=function(lt){var ot=lt.selectedItems,mt=lt.onSelectItems,pt=lt.className,ht=(0,b.qD)().library,yt=(0,s.yT)(),Ct=yt.clearLibraryCache,Bt=yt.deleteItemsFromLibraryCache,zt=(0,i.I)(),tr=(0,b.n9)(),cr=(0,r.KO)(f.rF,A.yE),mr=(0,m.Z)(cr,1)[0],Ft=function(){var xt=(0,w.Z)(I().mark(function At(Tt){var nr;return I().wrap(function(yr){for(;;)switch(yr.prev=yr.next){case 0:nr=Tt.filter(function(kr){return!ot.includes(kr.id)}),ht.setLibrary(nr).catch(function(){tr({errorMessage:(0,Z.t)("alerts.errorRemovingFromLibrary")})}),Bt(ot),mt([]);case 4:case"end":return yr.stop()}},At)}));return function(At){return xt.apply(this,arguments)}}();return(0,le.jsx)(z,{appState:zt,setAppState:tr,selectedItems:ot,onSelectItems:mt,library:ht,onRemoveFromLibrary:function(){return Ft(mr.libraryItems)},resetLibrary:function(){ht.resetLibrary(),Ct()},className:pt})},$=t(5644),Q={};Q.styleTagTransform=ie(),Q.setAttributes=re(),Q.insert=ee().bind(null,"head"),Q.domAPI=D(),Q.insertStyleElement=Y(),_()($.Z,Q),$.Z&&$.Z.locals&&$.Z.locals;var ae=t(6238),be=(0,x.memo)(function(lt){var ot=lt.id,mt=lt.elements,pt=lt.isPending,ht=lt.onClick,yt=lt.selected,Ct=lt.onToggle,Bt=lt.onDrag,zt=lt.svgCache,tr=(0,x.useRef)(null),cr=(0,s.mF)(ot,mt,zt);(0,x.useEffect)(function(){var yr=tr.current;if(yr)return cr&&(yr.innerHTML=cr.outerHTML),function(){yr.innerHTML=""}},[cr]);var mr=(0,x.useState)(!1),Ft=(0,m.Z)(mr,2),xt=Ft[0],At=Ft[1],Tt=(0,b.Fy)().editor.isMobile,nr=pt&&(0,le.jsx)("div",{className:"library-unit__adder",children:y.pO});return(0,le.jsxs)("div",{className:(0,U.Z)("library-unit",{"library-unit__active":mt,"library-unit--hover":mt&&xt,"library-unit--selected":yt,"library-unit--skeleton":!cr}),onMouseEnter:function(){return At(!0)},onMouseLeave:function(){return At(!1)},children:[(0,le.jsx)("div",{className:(0,U.Z)("library-unit__dragger",{"library-unit__pulse":!!pt}),ref:tr,draggable:!!mt,onClick:mt||pt?function(yr){ot&&yr.shiftKey?Ct(ot,yr):ht(ot)}:void 0,onDragStart:function(yr){ot?(At(!1),Bt(ot,yr)):yr.preventDefault()}}),nr,ot&&mt&&(xt||Tt||yt)&&(0,le.jsx)(ae.o,{checked:yt,onChange:function(yr,kr){return Ct(ot,kr)},className:"library-unit__checkbox"})]})}),Ce=function(){return(0,le.jsx)("div",{className:"library-unit library-unit--skeleton"})},Ze=c().useTransition||function(){return[!1,(0,x.useCallback)(function(lt){return lt()},[])]},Be=function(lt){var ot=lt.children;return(0,le.jsx)("div",{className:"library-menu-items-container__grid",children:ot})},Te=(0,x.memo)(function(lt){var ot=lt.items,mt=lt.onItemSelectToggle,pt=lt.onItemDrag,ht=lt.isItemSelected,yt=lt.onClick,Ct=lt.svgCache,Bt=lt.itemsRenderedPerBatch,zt=Ze(),tr=(0,m.Z)(zt,2)[1],cr=(0,x.useState)(0),mr=(0,m.Z)(cr,2),Ft=mr[0],xt=mr[1];return(0,x.useEffect)(function(){Ft<ot.length&&tr(function(){xt(Ft+Bt)})},[Ft,ot.length,tr,Bt]),(0,le.jsx)(le.Fragment,{children:ot.map(function(At,Tt){var nr;return Tt<Ft?(0,le.jsx)(be,{elements:At?.elements,isPending:!(At!=null&&At.id||At==null||!At.elements),onClick:yt,svgCache:Ct,id:At?.id,selected:ht(At.id),onToggle:mt,onDrag:pt},(nr=At?.id)!==null&&nr!==void 0?nr:Tt):(0,le.jsx)(Ce,{},Tt)})})}),He=t(200),Ve=t.n(He),Je=(0,r.cn)(0),Me=t(6440),me={};me.styleTagTransform=ie(),me.setAttributes=re(),me.insert=ee().bind(null,"head"),me.domAPI=D(),me.insertStyleElement=Y(),_()(Me.Z,me),Me.Z&&Me.Z.locals&&Me.Z.locals;function Se(lt,ot){var mt=Object.keys(lt);if(Object.getOwnPropertySymbols){var pt=Object.getOwnPropertySymbols(lt);ot&&(pt=pt.filter(function(ht){return Object.getOwnPropertyDescriptor(lt,ht).enumerable})),mt.push.apply(mt,pt)}return mt}function Ne(lt){for(var ot=1;ot<arguments.length;ot++){var mt=arguments[ot]!=null?arguments[ot]:{};ot%2?Se(Object(mt),!0).forEach(function(pt){(0,W.Z)(lt,pt,mt[pt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(lt,Object.getOwnPropertyDescriptors(mt)):Se(Object(mt)).forEach(function(pt){Object.defineProperty(lt,pt,Object.getOwnPropertyDescriptor(mt,pt))})}return lt}function Ye(lt){var ot=lt.isLoading,mt=lt.libraryItems,pt=lt.onAddToLibrary,ht=lt.onInsertLibraryItems,yt=lt.pendingElements,Ct=lt.theme,Bt=lt.id,zt=lt.libraryReturnUrl,tr=lt.onSelectItems,cr=lt.selectedItems,mr=(0,x.useRef)(null),Ft=function(br){var hr=(0,r.KO)(Je),Ir=(0,m.Z)(hr,2),wr=Ir[0],sr=Ir[1];return(0,x.useEffect)(function(){var fr=br.current;if(fr){var pr=Ve()(function(){var jr=fr.scrollTop;sr(jr)},200);return fr.addEventListener("scroll",pr),function(){pr.cancel(),fr.removeEventListener("scroll",pr)}}},[br,sr]),wr}(mr);(0,x.useEffect)(function(){var br;Ft>0&&((br=mr.current)===null||br===void 0||br.scrollTo(0,Ft))},[]);var xt=(0,s.yT)().svgCache,At=(0,x.useMemo)(function(){return mt.filter(function(br){return br.status!=="published"})},[mt]),Tt=(0,x.useMemo)(function(){return mt.filter(function(br){return br.status==="published"})},[mt]),nr=!mt.length&&!yt.length,yr=!yt.length&&!At.length&&!Tt.length,kr=(0,x.useState)(null),Tr=(0,m.Z)(kr,2),Or=Tr[0],Rt=Tr[1],dt=(0,x.useCallback)(function(br,hr){var Ir=!cr.includes(br),wr=[].concat((0,P.Z)(At),(0,P.Z)(Tt));if(Ir){if(hr.shiftKey&&Or){var sr=wr.findIndex(function(Pr){return Pr.id===Or}),fr=wr.findIndex(function(Pr){return Pr.id===br});if(sr===-1||fr===-1)return void tr([].concat((0,P.Z)(cr),[br]));var pr=(0,S.xn)(cr),jr=wr.reduce(function(Pr,Mr,$r){return($r>=sr&&$r<=fr||pr.has(Mr.id))&&Pr.push(Mr.id),Pr},[]);tr(jr)}else tr([].concat((0,P.Z)(cr),[br]));Rt(br)}else Rt(null),tr(cr.filter(function(Pr){return Pr!==br}))},[Or,tr,Tt,cr,At]),gt=(0,x.useCallback)(function(br){return(cr.includes(br)?mt.filter(function(hr){return cr.includes(hr.id)}):mt.filter(function(hr){return hr.id===br})).map(function(hr){return Ne(Ne({},hr),{},{elements:(0,ve._N)(hr.elements,{randomizeSeed:!0})})})},[mt,cr]),wt=(0,x.useCallback)(function(br,hr){hr.dataTransfer.setData(ce.LO.excalidrawlib,(0,k.NI)(gt(br)))},[gt]),Ut=(0,x.useCallback)(function(br){return!!br&&cr.includes(br)},[cr]),ar=(0,x.useCallback)(function(){pt(yt)},[yt,pt]),ir=(0,x.useCallback)(function(br){br&&ht(gt(br))},[gt,ht]),dr=xt.size>=mt.length?64:17;return(0,le.jsxs)("div",{className:"library-menu-items-container",style:yt.length||At.length||Tt.length?{justifyContent:"flex-start"}:{borderBottom:0},children:[!yr&&(0,le.jsx)(K,{selectedItems:cr,onSelectItems:tr,className:"library-menu-dropdown-container--in-heading"}),(0,le.jsxs)(J.Z.Col,{className:"library-menu-items-container__items",align:"start",gap:1,style:{flex:Tt.length>0?1:"0 1 auto",marginBottom:0},ref:mr,children:[(0,le.jsxs)(le.Fragment,{children:[!yr&&(0,le.jsx)("div",{className:"library-menu-items-container__header",children:(0,Z.t)("labels.personalLib")}),ot&&(0,le.jsx)("div",{style:{position:"absolute",top:"var(--container-padding-y)",right:"var(--container-padding-x)",transform:"translateY(50%)"},children:(0,le.jsx)(he.Z,{})}),yt.length||At.length?(0,le.jsxs)(Be,{children:[yt.length>0&&(0,le.jsx)(Te,{itemsRenderedPerBatch:dr,items:[{id:null,elements:yt}],onItemSelectToggle:dt,onItemDrag:wt,onClick:ar,isItemSelected:Ut,svgCache:xt}),(0,le.jsx)(Te,{itemsRenderedPerBatch:dr,items:At,onItemSelectToggle:dt,onItemDrag:wt,onClick:ir,isItemSelected:Ut,svgCache:xt})]}):(0,le.jsxs)("div",{className:"library-menu-items__no-items",children:[(0,le.jsx)("div",{className:"library-menu-items__no-items__label",children:(0,Z.t)("library.noItems")}),(0,le.jsx)("div",{className:"library-menu-items__no-items__hint",children:Tt.length>0?(0,Z.t)("library.hint_emptyPrivateLibrary"):(0,Z.t)("library.hint_emptyLibrary")})]})]}),(0,le.jsxs)(le.Fragment,{children:[(Tt.length>0||yt.length>0||At.length>0)&&(0,le.jsx)("div",{className:"library-menu-items-container__header library-menu-items-container__header--excal",children:(0,Z.t)("labels.excalidrawLib")}),Tt.length>0?(0,le.jsx)(Be,{children:(0,le.jsx)(Te,{itemsRenderedPerBatch:dr,items:Tt,onItemSelectToggle:dt,onItemDrag:wt,onClick:ir,isItemSelected:Ut,svgCache:xt})}):At.length>0?(0,le.jsx)("div",{style:{margin:"1rem 0",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",fontSize:".9rem"},children:(0,Z.t)("library.noItems")}):null]}),nr&&(0,le.jsx)(H,{style:{padding:"16px 0",width:"100%"},id:Bt,libraryReturnUrl:zt,theme:Ct,children:(0,le.jsx)(K,{selectedItems:cr,onSelectItems:tr})})]})]})}var Qe=t(3646),rt=t(4105),ft=t(8923),at={};at.styleTagTransform=ie(),at.setAttributes=re(),at.insert=ee().bind(null,"head"),at.domAPI=D(),at.insertStyleElement=Y(),_()(ft.Z,at),ft.Z&&ft.Z.locals&&ft.Z.locals;function ut(lt,ot){var mt=typeof Symbol<"u"&<[Symbol.iterator]||lt["@@iterator"];if(!mt){if(Array.isArray(lt)||(mt=function(zt,tr){if(zt){if(typeof zt=="string")return Ot(zt,tr);var cr=Object.prototype.toString.call(zt).slice(8,-1);if(cr==="Object"&&zt.constructor&&(cr=zt.constructor.name),cr==="Map"||cr==="Set")return Array.from(zt);if(cr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(cr))return Ot(zt,tr)}}(lt))||ot&<&&typeof lt.length=="number"){mt&&(lt=mt);var pt=0,ht=function(){};return{s:ht,n:function(){return pt>=lt.length?{done:!0}:{done:!1,value:lt[pt++]}},e:function(zt){throw zt},f:ht}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var yt,Ct=!0,Bt=!1;return{s:function(){mt=mt.call(lt)},n:function(){var zt=mt.next();return Ct=zt.done,zt},e:function(zt){Bt=!0,yt=zt},f:function(){try{Ct||mt.return==null||mt.return()}finally{if(Bt)throw yt}}}}function Ot(lt,ot){(ot==null||ot>lt.length)&&(ot=lt.length);for(var mt=0,pt=new Array(ot);mt<ot;mt++)pt[mt]=lt[mt];return pt}var Pt=(0,r.cn)(!1),Et=function(lt){var ot=lt.children;return(0,le.jsx)("div",{className:"layer-ui__library",children:ot})},Mt=function(lt){var ot=lt.onInsertLibraryItems,mt=lt.pendingElements,pt=lt.onAddToLibrary,ht=lt.setAppState,yt=lt.libraryReturnUrl,Ct=lt.library,Bt=lt.id,zt=lt.theme,tr=lt.selectedItems,cr=lt.onSelectItems,mr=(0,r.KO)(f.rF,A.yE),Ft=(0,m.Z)(mr,1)[0],xt=(0,x.useCallback)(function(nr){var yr=function(){var kr=(0,w.Z)(I().mark(function Tr(Or,Rt){var dt,gt,wt,Ut,ar;return I().wrap(function(ir){for(;;)switch(ir.prev=ir.next){case 0:(0,Qe.L)("element","addToLibrary","ui"),dt=ut(ce.PR),ir.prev=2,wt=function(){var dr=gt.value;if(Or.some(function(br){return br.type===dr}))return{v:ht({errorMessage:(0,Z.t)("errors.libraryElementTypeError.".concat(dr))})}},dt.s();case 5:if((gt=dt.n()).done){ir.next=11;break}if(Ut=wt(),(0,e.Z)(Ut)!=="object"){ir.next=9;break}return ir.abrupt("return",Ut.v);case 9:ir.next=5;break;case 11:ir.next=16;break;case 13:ir.prev=13,ir.t0=ir.catch(2),dt.e(ir.t0);case 16:return ir.prev=16,dt.f(),ir.finish(16);case 19:ar=[{status:"unpublished",elements:Or,id:(0,N.kb)(),created:Date.now()}].concat((0,P.Z)(Rt)),pt(),Ct.setLibrary(ar).catch(function(){ht({errorMessage:(0,Z.t)("alerts.errorAddingToLibrary")})});case 22:case"end":return ir.stop()}},Tr,null,[[2,13,16,19]])}));return function(Tr,Or){return kr.apply(this,arguments)}}();yr(nr,Ft.libraryItems)},[pt,Ct,ht,Ft.libraryItems]),At=(0,x.useMemo)(function(){return Ft.libraryItems},[Ft]);if(Ft.status==="loading"&&!Ft.isInitialized)return(0,le.jsx)(Et,{children:(0,le.jsx)("div",{className:"layer-ui__library-message",children:(0,le.jsxs)("div",{children:[(0,le.jsx)(he.Z,{size:"2em"}),(0,le.jsx)("span",{children:(0,Z.t)("labels.libraryLoadingMessage")})]})})});var Tt=Ft.libraryItems.length>0||mt.length>0;return(0,le.jsxs)(Et,{children:[(0,le.jsx)(Ye,{isLoading:Ft.status==="loading",libraryItems:At,onAddToLibrary:xt,onInsertLibraryItems:ot,pendingElements:mt,id:Bt,libraryReturnUrl:yt,theme:zt,onSelectItems:cr,selectedItems:tr}),Tt&&(0,le.jsx)(H,{className:"library-menu-control-buttons--at-bottom",style:{padding:"16px 12px 0 12px"},id:Bt,libraryReturnUrl:yt,theme:zt})]})},Yt=function(){var lt=(0,b.qD)(),ot=lt.library,mt=lt.id,pt=lt.onInsertElements,ht=(0,b.hY)(),yt=(0,i.I)(),Ct=(0,b.n9)(),Bt=(0,b.bd)(),zt=(0,x.useState)([]),tr=(0,m.Z)(zt,2),cr=tr[0],mr=tr[1],Ft=(0,x.useMemo)(function(){return ot},[ot]),xt=function(nr,yr){var kr=function(){return(0,rt.eD)(yr,nr,{includeBoundTextElement:!0,includeElementsInFrames:!0})},Tr=(0,x.useRef)(kr()),Or=(0,x.useRef)(nr),Rt=(0,x.useRef)(yr);return(0,S.w8)(nr.selectedElementIds,Or.current.selectedElementIds)&&(0,S.w8)(yr,Rt.current)||(Tr.current=kr(),Or.current=nr,Rt.current=yr),Tr.current}(yt,Bt),At=(0,x.useCallback)(function(nr){pt((0,f.WV)(nr))},[pt]),Tt=(0,x.useCallback)(function(){Ct({selectedElementIds:{},selectedGroupIds:{},activeEmbeddable:null})},[Ct]);return(0,le.jsx)(Mt,{pendingElements:xt,onInsertLibraryItems:At,onAddToLibrary:Tt,setAppState:Ct,libraryReturnUrl:ht.libraryReturnUrl,library:Ft,id:mt,theme:yt.theme,selectedItems:cr,onSelectItems:mr})}},7165:function(et,fe,t){t.d(fe,{z:function(){return c}});var e=t(2577),P=t(8227),w=t(9787),m=t(8531),v=t(45),I=t(9937),x=t(4512),c=function(f){var Z=f.delay,N=f.theme,W=(0,w.useState)(!!Z),k=(0,e.Z)(W,2),S=k[0],J=k[1];return(0,w.useEffect)(function(){if(Z){var ce=setTimeout(function(){J(!1)},Z);return function(){return clearTimeout(ce)}}},[Z]),S?null:(0,x.jsxs)("div",{className:(0,v.Z)("LoadingMessage",{"LoadingMessage--dark":N===I.C6.DARK}),children:[(0,x.jsx)("div",{children:(0,x.jsx)(m.Z,{})}),(0,x.jsx)("div",{className:"LoadingMessage-text",children:(0,P.t)("labels.loadingScene")})]})}},7827:function(et,fe,t){t.d(fe,{K:function(){return I},_:function(){return x}});var e=t(8950),P=t(2975),w=t.n(P),m=t(3607),v=t(453),I=(0,m.cn)({active:!1});function x(f){return c.apply(this,arguments)}function c(){return(c=(0,e.Z)(w().mark(function f(Z){var N,W,k,S;return w().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return N=Z.title,W=Z.description,k=Z.actionLabel,S=Z.color,J.abrupt("return",new Promise(function(ce){v.e_.set(I,{active:!0,onConfirm:function(){return ce(!0)},onClose:function(){return ce(!1)},onReject:function(){return ce(!1)},title:N,description:W,actionLabel:k,color:S})}));case 2:case"end":return J.stop()}},f)}))).apply(this,arguments)}},3204:function(et,fe,t){t.d(fe,{J:function(){return G}});var e=t(9787),P=t(3379),w=t.n(P),m=t(7795),v=t.n(m),I=t(569),x=t.n(I),c=t(3565),f=t.n(c),Z=t(9216),N=t.n(Z),W=t(4589),k=t.n(W),S=t(9935),J={};J.styleTagTransform=k(),J.setAttributes=f(),J.insert=x().bind(null,"head"),J.domAPI=v(),J.insertStyleElement=N(),w()(S.Z,J),S.Z&&S.Z.locals&&S.Z.locals;var ce=t(5156),he=t(9827),ve=t(5491),le=t(4512),G=function(U){var H=U.children,M=U.left,A=U.top,b=U.onCloseRequest,y=U.fitInViewport,h=y!==void 0&&y,d=U.offsetLeft,r=d===void 0?0:d,n=U.offsetTop,p=n===void 0?0:n,a=U.viewportWidth,l=a===void 0?window.innerWidth:a,u=U.viewportHeight,C=u===void 0?window.innerHeight:u,L=(0,e.useRef)(null);(0,e.useEffect)(function(){var E=L.current;if(E){E.contains(document.activeElement)||E.focus();var D=function(F){if(F.key===ve.tW.TAB){var ee=(0,he.xp)(E),te=document.activeElement,re=ee.findIndex(function(ie){return ie===te});if(te===E){var oe;F.shiftKey?(oe=ee[ee.length-1])===null||oe===void 0||oe.focus():ee[0].focus(),F.preventDefault(),F.stopImmediatePropagation()}else if(re===0&&F.shiftKey){var Y;(Y=ee[ee.length-1])===null||Y===void 0||Y.focus(),F.preventDefault(),F.stopImmediatePropagation()}else if(re===ee.length-1&&!F.shiftKey){var V;(V=ee[0])===null||V===void 0||V.focus(),F.preventDefault(),F.stopImmediatePropagation()}}};return E.addEventListener("keydown",D),function(){return E.removeEventListener("keydown",D)}}},[]);var _=(0,e.useRef)(null);return(0,e.useLayoutEffect)(function(){if(h&&L.current&&A!=null&&M!=null){var E,D,F=L.current,ee=F.getBoundingClientRect(),te=ee.width,re=ee.height;if(((E=_.current)===null||E===void 0?void 0:E.top)===A&&((D=_.current)===null||D===void 0?void 0:D.left)===M)return;_.current={top:A,left:M},te>=l?(F.style.width="".concat(l,"px"),F.style.left="0px",F.style.overflowX="scroll"):F.style.left="".concat(M+te-r>l?l-te-10:M,"px"),re>=C?(F.style.height="".concat(C-20,"px"),F.style.top="10px",F.style.overflowY="scroll"):F.style.top="".concat(A+re-p>C?C-re:A,"px")}},[A,M,h,l,C,r,p]),(0,e.useEffect)(function(){if(b){var E=function(D){var F;(F=L.current)!==null&&F!==void 0&&F.contains(D.target)||(0,ce.unstable_batchedUpdates)(function(){return b(D)})};return document.addEventListener("pointerdown",E,!1),function(){return document.removeEventListener("pointerdown",E,!1)}}},[b]),(0,le.jsx)("div",{className:"popover",ref:L,tabIndex:-1,children:H})}},5902:function(et,fe,t){t.d(fe,{YE:function(){return Or},t6:function(){return kr}});var e=t(2577),P=t(7169),w=t(2726),m=t(9787),v=t.n(m),I=t(1404),x=t(3607),c=t(453),f=v().createContext({}),Z=t(45),N=t(8227),W=t(8242),k=t(8935),S=t(8925),J=t(8806),ce=t(4512),he=function(Rt){var dt=Rt.children,gt=Rt.className,wt=(0,W.Fy)(),Ut=(0,m.useContext)(f),ar=!(!wt.editor.canFitSidebar||!Ut.shouldRenderDockButton);return(0,ce.jsxs)("div",{className:(0,Z.Z)("sidebar__header",gt),"data-testid":"sidebar-header",children:[dt,(0,ce.jsxs)("div",{className:"sidebar__header__buttons",children:[ar&&(0,ce.jsx)(S.u,{label:(0,N.t)("labels.sidebarLock"),children:(0,ce.jsx)(J.z,{onSelect:function(){var ir;return(ir=Ut.onDock)===null||ir===void 0?void 0:ir.call(Ut,!Ut.docked)},selected:!!Ut.docked,className:"sidebar__dock","data-testid":"sidebar-dock","aria-label":(0,N.t)("labels.sidebarLock"),children:k.qQ})}),(0,ce.jsx)(J.z,{"data-testid":"sidebar-close",className:"sidebar__close",onSelect:Ut.onCloseRequest,"aria-label":(0,N.t)("buttons.close"),children:k.Tw})]})]})};he.displayName="SidebarHeader";var ve=t(9827),le=t(5491),G=t(9937),U=t(100),H=t(3379),M=t.n(H),A=t(7795),b=t.n(A),y=t(569),h=t.n(y),d=t(3565),r=t.n(d),n=t(9216),p=t.n(n),a=t(4589),l=t.n(a),u=t(7051),C={};C.styleTagTransform=l(),C.setAttributes=r(),C.insert=h().bind(null,"head"),C.domAPI=b(),C.insertStyleElement=p(),M()(u.Z,C),u.Z&&u.Z.locals&&u.Z.locals;var L=function(Rt){var dt,gt=Rt.name,wt=Rt.tab,Ut=Rt.icon,ar=Rt.title,ir=Rt.children,dr=Rt.onToggle,br=Rt.className,hr=Rt.style,Ir=(0,W.n9)(),wr=(0,U.I)();return(0,ce.jsxs)("label",{title:ar,children:[(0,ce.jsx)("input",{className:"ToolIcon_type_checkbox",type:"checkbox",onChange:function(sr){var fr;(fr=document.querySelector(".layer-ui__wrapper"))===null||fr===void 0||fr.classList.remove("animate");var pr=sr.target.checked;Ir({openSidebar:pr?{name:gt,tab:wt}:null}),dr?.(pr)},checked:((dt=wr.openSidebar)===null||dt===void 0?void 0:dt.name)===gt,"aria-label":ar,"aria-keyshortcuts":"0"}),(0,ce.jsxs)("div",{className:(0,Z.Z)("sidebar-trigger",br),style:hr,children:[Ut&&(0,ce.jsx)("div",{children:Ut}),ir&&(0,ce.jsx)("div",{className:"sidebar-trigger__label",children:ir})]})]})};L.displayName="SidebarTrigger";var _=t(11),E=t(7217),D=t(1267),F=t(9335),ee=t(4801),te=t(5622),re=t(3119),oe=t(3060),Y=t(2673);const V=(0,m.createContext)(void 0);function ie(Rt){const dt=(0,m.useContext)(V);return Rt||dt||"ltr"}const we="rovingFocusGroup.onEntryFocus",Ae={bubbles:!1,cancelable:!0},Re="RovingFocusGroup",[je,ye,Ee]=function(Rt){const dt=Rt+"CollectionProvider",[gt,wt]=(0,D.b)(dt),[Ut,ar]=gt(dt,{collectionRef:{current:null},itemMap:new Map}),ir=sr=>{const{scope:fr,children:pr}=sr,jr=v().useRef(null),Pr=v().useRef(new Map).current;return v().createElement(Ut,{scope:fr,itemMap:Pr,collectionRef:jr},pr)},dr=Rt+"CollectionSlot",br=v().forwardRef((sr,fr)=>{const{scope:pr,children:jr}=sr,Pr=ar(dr,pr),Mr=(0,F.e)(fr,Pr.collectionRef);return v().createElement(ee.g7,{ref:Mr},jr)}),hr=Rt+"CollectionItemSlot",Ir="data-radix-collection-item",wr=v().forwardRef((sr,fr)=>{const{scope:pr,children:jr,...Pr}=sr,Mr=v().useRef(null),$r=(0,F.e)(fr,Mr),fn=ar(hr,pr);return v().useEffect(()=>(fn.itemMap.set(Mr,{ref:Mr,...Pr}),()=>{fn.itemMap.delete(Mr)})),v().createElement(ee.g7,{[Ir]:"",ref:$r},jr)});return[{Provider:ir,Slot:br,ItemSlot:wr},function(sr){const fr=ar(Rt+"CollectionConsumer",sr);return v().useCallback(()=>{const pr=fr.collectionRef.current;if(!pr)return[];const jr=Array.from(pr.querySelectorAll(`[${Ir}]`));return Array.from(fr.itemMap.values()).sort((Pr,Mr)=>jr.indexOf(Pr.ref.current)-jr.indexOf(Mr.ref.current))},[fr.collectionRef,fr.itemMap])},wt]}(Re),[Oe,ge]=(0,D.b)(Re,[Ee]),[ue,se]=Oe(Re),j=(0,m.forwardRef)((Rt,dt)=>(0,m.createElement)(je.Provider,{scope:Rt.__scopeRovingFocusGroup},(0,m.createElement)(je.Slot,{scope:Rt.__scopeRovingFocusGroup},(0,m.createElement)(i,(0,_.Z)({},Rt,{ref:dt}))))),i=(0,m.forwardRef)((Rt,dt)=>{const{__scopeRovingFocusGroup:gt,orientation:wt,loop:Ut=!1,dir:ar,currentTabStopId:ir,defaultCurrentTabStopId:dr,onCurrentTabStopIdChange:br,onEntryFocus:hr,...Ir}=Rt,wr=(0,m.useRef)(null),sr=(0,F.e)(dt,wr),fr=ie(ar),[pr=null,jr]=(0,Y.T)({prop:ir,defaultProp:dr,onChange:br}),[Pr,Mr]=(0,m.useState)(!1),$r=(0,oe.W)(hr),fn=ye(gt),Mn=(0,m.useRef)(!1),[Zn,zn]=(0,m.useState)(0);return(0,m.useEffect)(()=>{const Cn=wr.current;if(Cn)return Cn.addEventListener(we,$r),()=>Cn.removeEventListener(we,$r)},[$r]),(0,m.createElement)(ue,{scope:gt,orientation:wt,dir:fr,loop:Ut,currentTabStopId:pr,onItemFocus:(0,m.useCallback)(Cn=>jr(Cn),[jr]),onItemShiftTab:(0,m.useCallback)(()=>Mr(!0),[]),onFocusableItemAdd:(0,m.useCallback)(()=>zn(Cn=>Cn+1),[]),onFocusableItemRemove:(0,m.useCallback)(()=>zn(Cn=>Cn-1),[])},(0,m.createElement)(re.WV.div,(0,_.Z)({tabIndex:Pr||Zn===0?-1:0,"data-orientation":wt},Ir,{ref:sr,style:{outline:"none",...Rt.style},onMouseDown:(0,E.M)(Rt.onMouseDown,()=>{Mn.current=!0}),onFocus:(0,E.M)(Rt.onFocus,Cn=>{const vn=!Mn.current;if(Cn.target===Cn.currentTarget&&vn&&!Pr){const Ln=new CustomEvent(we,Ae);if(Cn.currentTarget.dispatchEvent(Ln),!Ln.defaultPrevented){const We=fn().filter(pe=>pe.focusable);K([We.find(pe=>pe.active),We.find(pe=>pe.id===pr),...We].filter(Boolean).map(pe=>pe.ref.current))}}Mn.current=!1}),onBlur:(0,E.M)(Rt.onBlur,()=>Mr(!1))})))}),s="RovingFocusGroupItem",O=(0,m.forwardRef)((Rt,dt)=>{const{__scopeRovingFocusGroup:gt,focusable:wt=!0,active:Ut=!1,tabStopId:ar,...ir}=Rt,dr=(0,te.M)(),br=ar||dr,hr=se(s,gt),Ir=hr.currentTabStopId===br,wr=ye(gt),{onFocusableItemAdd:sr,onFocusableItemRemove:fr}=hr;return(0,m.useEffect)(()=>{if(wt)return sr(),()=>fr()},[wt,sr,fr]),(0,m.createElement)(je.ItemSlot,{scope:gt,id:br,focusable:wt,active:Ut},(0,m.createElement)(re.WV.span,(0,_.Z)({tabIndex:Ir?0:-1,"data-orientation":hr.orientation},ir,{ref:dt,onMouseDown:(0,E.M)(Rt.onMouseDown,pr=>{wt?hr.onItemFocus(br):pr.preventDefault()}),onFocus:(0,E.M)(Rt.onFocus,()=>hr.onItemFocus(br)),onKeyDown:(0,E.M)(Rt.onKeyDown,pr=>{if(pr.key==="Tab"&&pr.shiftKey)return void hr.onItemShiftTab();if(pr.target!==pr.currentTarget)return;const jr=function($r,fn,Mn){const Zn=function(zn,Cn){return Cn!=="rtl"?zn:zn==="ArrowLeft"?"ArrowRight":zn==="ArrowRight"?"ArrowLeft":zn}($r.key,Mn);return fn==="vertical"&&["ArrowLeft","ArrowRight"].includes(Zn)||fn==="horizontal"&&["ArrowUp","ArrowDown"].includes(Zn)?void 0:z[Zn]}(pr,hr.orientation,hr.dir);if(jr!==void 0){pr.preventDefault();let $r=wr().filter(fn=>fn.focusable).map(fn=>fn.ref.current);if(jr==="last")$r.reverse();else if(jr==="prev"||jr==="next"){jr==="prev"&&$r.reverse();const fn=$r.indexOf(pr.currentTarget);$r=hr.loop?(Mr=fn+1,(Pr=$r).map((Mn,Zn)=>Pr[(Mr+Zn)%Pr.length])):$r.slice(fn+1)}setTimeout(()=>K($r))}var Pr,Mr})})))}),z={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function K(Rt){const dt=document.activeElement;for(const gt of Rt)if(gt===dt||(gt.focus(),document.activeElement!==dt))return}const $=j,Q=O;var ae=t(1483);const be="Tabs",[Ce,Ze]=(0,D.b)(be,[ge]),Be=ge(),[Te,He]=Ce(be),Ve=(0,m.forwardRef)((Rt,dt)=>{const{__scopeTabs:gt,value:wt,onValueChange:Ut,defaultValue:ar,orientation:ir="horizontal",dir:dr,activationMode:br="automatic",...hr}=Rt,Ir=ie(dr),[wr,sr]=(0,Y.T)({prop:wt,onChange:Ut,defaultProp:ar});return(0,m.createElement)(Te,{scope:gt,baseId:(0,te.M)(),value:wr,onValueChange:sr,orientation:ir,dir:Ir,activationMode:br},(0,m.createElement)(re.WV.div,(0,_.Z)({dir:Ir,"data-orientation":ir},hr,{ref:dt})))}),Je="TabsList",Me=(0,m.forwardRef)((Rt,dt)=>{const{__scopeTabs:gt,loop:wt=!0,...Ut}=Rt,ar=He(Je,gt),ir=Be(gt);return(0,m.createElement)($,(0,_.Z)({asChild:!0},ir,{orientation:ar.orientation,dir:ar.dir,loop:wt}),(0,m.createElement)(re.WV.div,(0,_.Z)({role:"tablist","aria-orientation":ar.orientation},Ut,{ref:dt})))}),me="TabsTrigger",Se=(0,m.forwardRef)((Rt,dt)=>{const{__scopeTabs:gt,value:wt,disabled:Ut=!1,...ar}=Rt,ir=He(me,gt),dr=Be(gt),br=Qe(ir.baseId,wt),hr=rt(ir.baseId,wt),Ir=wt===ir.value;return(0,m.createElement)(Q,(0,_.Z)({asChild:!0},dr,{focusable:!Ut,active:Ir}),(0,m.createElement)(re.WV.button,(0,_.Z)({type:"button",role:"tab","aria-selected":Ir,"aria-controls":hr,"data-state":Ir?"active":"inactive","data-disabled":Ut?"":void 0,disabled:Ut,id:br},ar,{ref:dt,onMouseDown:(0,E.M)(Rt.onMouseDown,wr=>{Ut||wr.button!==0||wr.ctrlKey!==!1?wr.preventDefault():ir.onValueChange(wt)}),onKeyDown:(0,E.M)(Rt.onKeyDown,wr=>{[" ","Enter"].includes(wr.key)&&ir.onValueChange(wt)}),onFocus:(0,E.M)(Rt.onFocus,()=>{const wr=ir.activationMode!=="manual";Ir||Ut||!wr||ir.onValueChange(wt)})})))}),Ne="TabsContent",Ye=(0,m.forwardRef)((Rt,dt)=>{const{__scopeTabs:gt,value:wt,forceMount:Ut,children:ar,...ir}=Rt,dr=He(Ne,gt),br=Qe(dr.baseId,wt),hr=rt(dr.baseId,wt),Ir=wt===dr.value,wr=(0,m.useRef)(Ir);return(0,m.useEffect)(()=>{const sr=requestAnimationFrame(()=>wr.current=!1);return()=>cancelAnimationFrame(sr)},[]),(0,m.createElement)(ae.z,{present:Ut||Ir},({present:sr})=>(0,m.createElement)(re.WV.div,(0,_.Z)({"data-state":Ir?"active":"inactive","data-orientation":dr.orientation,role:"tabpanel","aria-labelledby":br,hidden:!sr,id:hr,tabIndex:0},ir,{ref:dt,style:{...Rt.style,animationDuration:wr.current?"0s":void 0}}),sr&&ar))});function Qe(Rt,dt){return`${Rt}-trigger-${dt}`}function rt(Rt,dt){return`${Rt}-content-${dt}`}const ft=Ve,at=Me,ut=Se,Ot=Ye;var Pt=["children"];function Et(Rt,dt){var gt=Object.keys(Rt);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(Rt);dt&&(wt=wt.filter(function(Ut){return Object.getOwnPropertyDescriptor(Rt,Ut).enumerable})),gt.push.apply(gt,wt)}return gt}function Mt(Rt){for(var dt=1;dt<arguments.length;dt++){var gt=arguments[dt]!=null?arguments[dt]:{};dt%2?Et(Object(gt),!0).forEach(function(wt){(0,P.Z)(Rt,wt,gt[wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rt,Object.getOwnPropertyDescriptors(gt)):Et(Object(gt)).forEach(function(wt){Object.defineProperty(Rt,wt,Object.getOwnPropertyDescriptor(gt,wt))})}return Rt}var Yt=function(Rt){var dt=Rt.children,gt=(0,w.Z)(Rt,Pt);return(0,ce.jsx)(at,Mt(Mt({className:"sidebar-triggers"},gt),{},{children:dt}))};Yt.displayName="SidebarTabTriggers";var lt=["children","tab","onSelect"];function ot(Rt,dt){var gt=Object.keys(Rt);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(Rt);dt&&(wt=wt.filter(function(Ut){return Object.getOwnPropertyDescriptor(Rt,Ut).enumerable})),gt.push.apply(gt,wt)}return gt}function mt(Rt){for(var dt=1;dt<arguments.length;dt++){var gt=arguments[dt]!=null?arguments[dt]:{};dt%2?ot(Object(gt),!0).forEach(function(wt){(0,P.Z)(Rt,wt,gt[wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rt,Object.getOwnPropertyDescriptors(gt)):ot(Object(gt)).forEach(function(wt){Object.defineProperty(Rt,wt,Object.getOwnPropertyDescriptor(gt,wt))})}return Rt}var pt=function(Rt){var dt=Rt.children,gt=Rt.tab,wt=Rt.onSelect,Ut=(0,w.Z)(Rt,lt);return(0,ce.jsx)(ut,{value:gt,asChild:!0,onSelect:wt,children:(0,ce.jsx)("button",mt(mt({type:"button",className:"excalidraw-button sidebar-tab-trigger"},Ut),{},{children:dt}))})};pt.displayName="SidebarTabTrigger";var ht=["children"];function yt(Rt,dt){var gt=Object.keys(Rt);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(Rt);dt&&(wt=wt.filter(function(Ut){return Object.getOwnPropertyDescriptor(Rt,Ut).enumerable})),gt.push.apply(gt,wt)}return gt}function Ct(Rt){for(var dt=1;dt<arguments.length;dt++){var gt=arguments[dt]!=null?arguments[dt]:{};dt%2?yt(Object(gt),!0).forEach(function(wt){(0,P.Z)(Rt,wt,gt[wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rt,Object.getOwnPropertyDescriptors(gt)):yt(Object(gt)).forEach(function(wt){Object.defineProperty(Rt,wt,Object.getOwnPropertyDescriptor(gt,wt))})}return Rt}var Bt=function(Rt){var dt=Rt.children,gt=(0,w.Z)(Rt,ht),wt=(0,U.I)(),Ut=(0,W.n9)();if(!wt.openSidebar)return null;var ar=wt.openSidebar.name;return(0,ce.jsx)(ft,Ct(Ct({className:"sidebar-tabs-root",value:wt.openSidebar.tab,onValueChange:function(ir){return Ut(function(dr){return Ct(Ct({},dr),{},{openSidebar:Ct(Ct({},dr.openSidebar),{},{name:ar,tab:ir})})})}},gt),{},{children:dt}))};Bt.displayName="SidebarTabs";var zt=["tab","children"];function tr(Rt,dt){var gt=Object.keys(Rt);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(Rt);dt&&(wt=wt.filter(function(Ut){return Object.getOwnPropertyDescriptor(Rt,Ut).enumerable})),gt.push.apply(gt,wt)}return gt}function cr(Rt){for(var dt=1;dt<arguments.length;dt++){var gt=arguments[dt]!=null?arguments[dt]:{};dt%2?tr(Object(gt),!0).forEach(function(wt){(0,P.Z)(Rt,wt,gt[wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rt,Object.getOwnPropertyDescriptors(gt)):tr(Object(gt)).forEach(function(wt){Object.defineProperty(Rt,wt,Object.getOwnPropertyDescriptor(gt,wt))})}return Rt}var mr=function(Rt){var dt=Rt.tab,gt=Rt.children,wt=(0,w.Z)(Rt,zt);return(0,ce.jsx)(Ot,cr(cr({},wt),{},{value:dt,children:gt}))};mr.displayName="SidebarTab";var Ft=t(1901),xt=t(8208),At={};At.styleTagTransform=l(),At.setAttributes=r(),At.insert=h().bind(null,"head"),At.domAPI=b(),At.insertStyleElement=p(),M()(xt.Z,At),xt.Z&&xt.Z.locals&&xt.Z.locals;var Tt=["name","children","onDock","docked","className"];function nr(Rt,dt){var gt=Object.keys(Rt);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(Rt);dt&&(wt=wt.filter(function(Ut){return Object.getOwnPropertyDescriptor(Rt,Ut).enumerable})),gt.push.apply(gt,wt)}return gt}function yr(Rt){for(var dt=1;dt<arguments.length;dt++){var gt=arguments[dt]!=null?arguments[dt]:{};dt%2?nr(Object(gt),!0).forEach(function(wt){(0,P.Z)(Rt,wt,gt[wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rt,Object.getOwnPropertyDescriptors(gt)):nr(Object(gt)).forEach(function(wt){Object.defineProperty(Rt,wt,Object.getOwnPropertyDescriptor(gt,wt))})}return Rt}var kr=(0,x.cn)(!1),Tr=(0,m.forwardRef)(function(Rt,dt){Rt.name;var gt=Rt.children,wt=Rt.onDock,Ut=Rt.docked,ar=Rt.className,ir=(0,w.Z)(Rt,Tt),dr=(0,W.n9)(),br=(0,x.b9)(kr,c.yE);(0,m.useLayoutEffect)(function(){return br(!!Ut),function(){br(!1)}},[br,Ut]);var hr=(0,m.useRef)({});hr.current.onCloseRequest=function(){dr({openSidebar:null})},hr.current.onDock=function(fr){return wt?.(fr)},hr.current=(0,ve.v4)(hr.current,{docked:Ut,shouldRenderDockButton:!!wt&&Ut!=null});var Ir=(0,m.useRef)(null);(0,m.useImperativeHandle)(dt,function(){return Ir.current});var wr=(0,W.Fy)(),sr=(0,m.useCallback)(function(){document.querySelector(".Dialog")||dr({openSidebar:null})},[dr]);return(0,Ft.O)(Ir,(0,m.useCallback)(function(fr){fr.target.closest(".sidebar-trigger")||Ut&&wr.editor.canFitSidebar||sr()},[sr,Ut,wr.editor.canFitSidebar])),(0,m.useEffect)(function(){var fr=function(pr){pr.key!==le.tW.ESCAPE||Ut&&wr.editor.canFitSidebar||sr()};return document.addEventListener(G.Ks.KEYDOWN,fr),function(){document.removeEventListener(G.Ks.KEYDOWN,fr)}},[sr,Ut,wr.editor.canFitSidebar]),(0,ce.jsx)(I.W,yr(yr({},ir),{},{className:(0,Z.Z)("sidebar",{"sidebar--docked":Ut},ar),ref:Ir,children:(0,ce.jsx)(f.Provider,{value:hr.current,children:gt})}))});Tr.displayName="SidebarInner";var Or=Object.assign((0,m.forwardRef)(function(Rt,dt){var gt,wt=(0,U.I)(),Ut=Rt.onStateChange,ar=(0,m.useRef)(wt.openSidebar);(0,m.useEffect)(function(){var Ir,wr,sr,fr,pr;(!wt.openSidebar&&(ar==null||(Ir=ar.current)===null||Ir===void 0?void 0:Ir.name)===Rt.name||((wr=wt.openSidebar)===null||wr===void 0?void 0:wr.name)===Rt.name&&(ar==null||(sr=ar.current)===null||sr===void 0?void 0:sr.name)!==Rt.name||((fr=ar.current)===null||fr===void 0?void 0:fr.name)===Rt.name)&&wt.openSidebar!==ar.current&&Ut?.(((pr=wt.openSidebar)===null||pr===void 0?void 0:pr.name)!==Rt.name?null:wt.openSidebar),ar.current=wt.openSidebar},[wt.openSidebar,Ut,Rt.name]);var ir=(0,m.useState)(!1),dr=(0,e.Z)(ir,2),br=dr[0],hr=dr[1];return(0,m.useLayoutEffect)(function(){return hr(!0),function(){return hr(!1)}},[]),br&&((gt=wt.openSidebar)===null||gt===void 0?void 0:gt.name)===Rt.name?(0,m.createElement)(Tr,yr(yr({},Rt),{},{ref:dt,key:Rt.name})):null}),{Header:he,TabTriggers:Yt,TabTrigger:pt,Tabs:Bt,Tab:mr,Trigger:L});Or.displayName="Sidebar"},8531:function(et,fe,t){t.d(fe,{Z:function(){return le}});var e=t(7169),P=t(9787),w=t.n(P),m=t(3379),v=t.n(m),I=t(7795),x=t.n(I),c=t(569),f=t.n(c),Z=t(3565),N=t.n(Z),W=t(9216),k=t.n(W),S=t(4589),J=t.n(S),ce=t(5892),he={};he.styleTagTransform=J(),he.setAttributes=N(),he.insert=f().bind(null,"head"),he.domAPI=x(),he.insertStyleElement=k(),v()(ce.Z,he),ce.Z&&ce.Z.locals&&ce.Z.locals;var ve=t(4512),le=function(G){var U=G.size,H=U===void 0?"1em":U,M=G.circleWidth,A=M===void 0?8:M,b=G.synchronized,y=b!==void 0&&b,h=-w().useRef(Date.now()).current%1600;return(0,ve.jsx)("div",{className:"Spinner",children:(0,ve.jsx)("svg",{viewBox:"0 0 100 100",style:(0,e.Z)({width:H,height:H},"--spinner-delay",y?"".concat(h,"ms"):0),children:(0,ve.jsx)("circle",{cx:"50",cy:"50",r:50-A/2,strokeWidth:A,fill:"none",strokeMiterlimit:"10"})})})}},2540:function(et,fe,t){t.d(fe,{Z:function(){return U}});var e=t(7169),P=t(3379),w=t.n(P),m=t(7795),v=t.n(m),I=t(569),x=t.n(I),c=t(3565),f=t.n(c),Z=t(9216),N=t.n(Z),W=t(4589),k=t.n(W),S=t(3874),J={};J.styleTagTransform=k(),J.setAttributes=f(),J.insert=x().bind(null,"head"),J.domAPI=v(),J.insertStyleElement=N(),w()(S.Z,J),S.Z&&S.Z.locals&&S.Z.locals;var ce=t(9787),he=t(45),ve=t(4512);function le(H,M){var A=Object.keys(H);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(H);M&&(b=b.filter(function(y){return Object.getOwnPropertyDescriptor(H,y).enumerable})),A.push.apply(A,b)}return A}function G(H){for(var M=1;M<arguments.length;M++){var A=arguments[M]!=null?arguments[M]:{};M%2?le(Object(A),!0).forEach(function(b){(0,e.Z)(H,b,A[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(A)):le(Object(A)).forEach(function(b){Object.defineProperty(H,b,Object.getOwnPropertyDescriptor(A,b))})}return H}var U={Row:(0,ce.forwardRef)(function(H,M){var A=H.children,b=H.gap,y=H.align,h=H.justifyContent,d=H.className,r=H.style;return(0,ve.jsx)("div",{className:(0,he.Z)("Stack Stack_horizontal",d),style:G({"--gap":b,alignItems:y,justifyContent:h},r),ref:M,children:A})}),Col:(0,ce.forwardRef)(function(H,M){var A=H.children,b=H.gap,y=H.align,h=H.justifyContent,d=H.className,r=H.style;return(0,ve.jsx)("div",{className:(0,he.Z)("Stack Stack_vertical",d),style:G({"--gap":b,justifyItems:y,justifyContent:h},r),ref:M,children:A})})}},1512:function(et,fe,t){t.d(fe,{V:function(){return W}});var e=t(8950),P=t(2577),w=t(2975),m=t.n(w),v=(t(3041),t(9787)),I=t.n(v),x=t(45),c=t(8242),f=t(3506),Z=t(8531),N=t(4512),W=I().forwardRef(function(k,S){var J=(0,c.J0)().id,ce=I().useRef(null);I().useImperativeHandle(S,function(){return ce.current});var he="ToolIcon_size_".concat(k.size),ve=(0,v.useState)(!1),le=(0,P.Z)(ve,2),G=le[0],U=le[1],H=(0,v.useRef)(!0),M=function(){var y=(0,e.Z)(m().mark(function h(d){var r,n;return m().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(!(n="onClick"in k&&((r=k.onClick)===null||r===void 0?void 0:r.call(k,d)))||!("then"in n)){p.next=18;break}return p.prev=2,U(!0),p.next=6,n;case 6:p.next=15;break;case 8:if(p.prev=8,p.t0=p.catch(2),p.t0 instanceof f._L){p.next=14;break}throw p.t0;case 14:console.warn(p.t0);case 15:return p.prev=15,H.current&&U(!1),p.finish(15);case 18:case"end":return p.stop()}},h,null,[[2,8,15,18]])}));return function(h){return y.apply(this,arguments)}}();(0,v.useEffect)(function(){return H.current=!0,function(){H.current=!1}},[]);var A=(0,v.useRef)(null);if(k.type==="button"||k.type==="icon"||k.type==="submit"){var b=k.type==="icon"?"button":k.type;return(0,N.jsxs)("button",{className:(0,x.Z)("ToolIcon_type_button",he,k.className,k.visible&&!k.hidden?"ToolIcon_type_button--show":"ToolIcon_type_button--hide",{ToolIcon:!k.hidden,"ToolIcon--selected":k.selected,"ToolIcon--plain":k.type==="icon"}),style:k.style,"data-testid":k["data-testid"],hidden:k.hidden,title:k.title,"aria-label":k["aria-label"],type:b,onClick:M,ref:ce,disabled:G||k.isLoading,children:[(k.icon||k.label)&&(0,N.jsxs)("div",{className:"ToolIcon__icon","aria-hidden":"true",children:[k.icon||k.label,k.keyBindingLabel&&(0,N.jsx)("span",{className:"ToolIcon__keybinding",children:k.keyBindingLabel}),k.isLoading&&(0,N.jsx)(Z.Z,{})]}),k.showAriaLabel&&(0,N.jsxs)("div",{className:"ToolIcon__label",children:[k["aria-label"]," ",G&&(0,N.jsx)(Z.Z,{})]}),k.children]})}return(0,N.jsxs)("label",{className:(0,x.Z)("ToolIcon",k.className),title:k.title,onPointerDown:function(y){var h;A.current=y.pointerType||null,(h=k.onPointerDown)===null||h===void 0||h.call(k,{pointerType:y.pointerType||null})},onPointerUp:function(){requestAnimationFrame(function(){A.current=null})},children:[(0,N.jsx)("input",{className:"ToolIcon_type_radio ".concat(he),type:"radio",name:k.name,"aria-label":k["aria-label"],"aria-keyshortcuts":k["aria-keyshortcuts"],"data-testid":k["data-testid"],id:"".concat(J,"-").concat(k.id),onChange:function(){var y;(y=k.onChange)===null||y===void 0||y.call(k,{pointerType:A.current})},checked:k.checked,ref:ce}),(0,N.jsxs)("div",{className:"ToolIcon__icon",children:[k.icon,k.keyBindingLabel&&(0,N.jsx)("span",{className:"ToolIcon__keybinding",children:k.keyBindingLabel})]})]})});W.defaultProps={visible:!0,className:"",size:"medium"},W.displayName="ToolButton"},8925:function(et,fe,t){t.d(fe,{u:function(){return le},bK:function(){return he},Js:function(){return ve}});var e=t(3379),P=t.n(e),w=t(7795),m=t.n(w),v=t(569),I=t.n(v),x=t(3565),c=t.n(x),f=t(9216),Z=t.n(f),N=t(4589),W=t.n(N),k=t(6626),S={};S.styleTagTransform=W(),S.setAttributes=c(),S.insert=I().bind(null,"head"),S.domAPI=m(),S.insertStyleElement=Z(),P()(k.Z,S),k.Z&&k.Z.locals&&k.Z.locals;var J=t(9787),ce=t(4512),he=function(){var G=document.querySelector(".excalidraw-tooltip");if(G)return G;var U=document.createElement("div");return document.body.appendChild(U),U.classList.add("excalidraw-tooltip"),U},ve=function(G,U){var H,M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"bottom",A=G.getBoundingClientRect(),b=window.innerWidth,y=window.innerHeight,h=5,d=U.left+U.width/2-A.width/2;d<0?d=h:d+A.width>=b&&(d=b-A.width-h),M==="bottom"?(H=U.top+U.height+h)+A.height>=y&&(H=U.top-A.height-h):(H=U.top-A.height-h)<0&&(H=U.top+U.height+h),Object.assign(G.style,{top:"".concat(H,"px"),left:"".concat(d,"px")})},le=function(G){var U=G.children,H=G.label,M=G.long,A=M!==void 0&&M,b=G.style;return(0,J.useEffect)(function(){return function(){return he().classList.remove("excalidraw-tooltip--visible")}},[]),(0,ce.jsx)("div",{className:"excalidraw-tooltip-wrapper",onPointerEnter:function(y){return function(h,d,r,n){d.classList.add("excalidraw-tooltip--visible"),d.style.minWidth=n?"50ch":"10ch",d.style.maxWidth=n?"50ch":"15ch",d.textContent=r;var p=h.getBoundingClientRect();ve(d,p)}(y.currentTarget,he(),H,A)},onPointerLeave:function(){return he().classList.remove("excalidraw-tooltip--visible")},style:b,children:U})}},9247:function(et,fe,t){var e=t(2726),P=t(1930),w=t(9787),m=t.n(w),v=t(8227),I=["i18nKey","children"],x=/({{[\w-]+}})|(<[\w-]+>)|(<\/[\w-]+>)/g,c=/{{([\w-]+)}}/,f=/<([\w-]+)>/,Z=/<\/([\w-]+)>/;fe.Z=function(N){var W=N.i18nKey,k=(N.children,(0,e.Z)(N,I)),S=(0,v.QT)().t;return m().createElement.apply(m(),[m().Fragment,{}].concat((0,P.Z)(function(J,ce){var he=[{name:"",children:[]}];return J.split(x).filter(Boolean).forEach(function(ve){var le=ve.match(f),G=ve.match(Z),U=ve.match(c);if(le!==null){var H=le[1];ce.hasOwnProperty(H)?he.push({name:H,children:[]}):console.warn("Trans: missed to pass in prop ".concat(H," for interpolating ").concat(J))}else if(G!==null)if(G[1]===he[he.length-1].name){var M=he.pop(),A=m().createElement.apply(m(),[m().Fragment,{}].concat((0,P.Z)(M.children))),b=ce[M.name];typeof b=="function"&&he[he.length-1].children.push(b(A))}else console.warn("Trans: unexpected end tag ".concat(ve," for interpolating ").concat(J));else if(U!==null){var y=U[1];ce.hasOwnProperty(y)?he[he.length-1].children.push(ce[y]):console.warn("Trans: key ".concat(y," not in props for interpolating ").concat(J))}else he[he.length-1].children.push(ve)}),he.length!==1&&console.warn("Trans: stack not empty for interpolating ".concat(J)),he[0].children}(S(W),k))))}},4704:function(et,fe,t){t.d(fe,{Z:function(){return H}});var e=t(2577),P=t(3379),w=t.n(P),m=t(7795),v=t.n(m),I=t(569),x=t.n(I),c=t(3565),f=t.n(c),Z=t(9216),N=t.n(Z),W=t(4589),k=t.n(W),S=t(6359),J={};J.styleTagTransform=k(),J.setAttributes=f(),J.insert=x().bind(null,"head"),J.domAPI=v(),J.insertStyleElement=N(),w()(S.Z,J),S.Z&&S.Z.locals&&S.Z.locals;var ce=t(9787),he=t.n(ce),ve=t(45),le=t(8925),G=t(8242),U=t(4512),H=function(M){var A=M.className,b=M.mobile,y=M.collaborators,h=(0,G.eh)(),d=new Map;y.forEach(function(n,p){d.set(n.id||p,n)});var r=d.size>0&&Array.from(d).filter(function(n){var p=(0,e.Z)(n,2),a=(p[0],p[1]);return Object.keys(a).length!==0}).map(function(n){var p=(0,e.Z)(n,2),a=p[0],l=p[1],u=h.renderAction("goToCollaborator",[a,l]);return b?(0,U.jsx)(le.u,{label:l.username||"Unknown user",children:u},a):(0,U.jsx)(he().Fragment,{children:u},a)});return(0,U.jsx)("div",{className:(0,ve.Z)("UserList",A,{UserList_mobile:b}),children:r})}},7104:function(et,fe,t){t.d(fe,{Z:function(){return oe}});var e=t(7169),P=t(2726),w=t(45),m=t(8242),v=t(4512),I=["className","children","onToggle","title"];function x(Y,V){var ie=Object.keys(Y);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(Y);V&&(we=we.filter(function(Ae){return Object.getOwnPropertyDescriptor(Y,Ae).enumerable})),ie.push.apply(ie,we)}return ie}function c(Y){for(var V=1;V<arguments.length;V++){var ie=arguments[V]!=null?arguments[V]:{};V%2?x(Object(ie),!0).forEach(function(we){(0,e.Z)(Y,we,ie[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(ie)):x(Object(ie)).forEach(function(we){Object.defineProperty(Y,we,Object.getOwnPropertyDescriptor(ie,we))})}return Y}var f=function(Y){var V=Y.className,ie=V===void 0?"":V,we=Y.children,Ae=Y.onToggle,Re=Y.title,je=(0,P.Z)(Y,I),ye=(0,m.Fy)(),Ee=(0,w.Z)("dropdown-menu-button ".concat(ie),"zen-mode-transition",{"dropdown-menu-button--mobile":ye.editor.isMobile}).trim();return(0,v.jsx)("button",c(c({"data-prevent-outside-click":!0,className:Ee,onClick:Ae,type:"button","data-testid":"dropdown-menu-button",title:Re},je),{},{children:we}))},Z=f;f.displayName="DropdownMenuTrigger";var N=t(5735),W=function(){return(0,v.jsx)("div",{style:{height:"1px",backgroundColor:"var(--default-border-color)",margin:".5rem 0"}})},k=W;W.displayName="DropdownMenuSeparator";var S=function(Y){var V=Y.children,ie=Y.className,we=ie===void 0?"":ie,Ae=Y.style,Re=Y.title;return(0,v.jsxs)("div",{className:"dropdown-menu-group ".concat(we),style:Ae,children:[Re&&(0,v.jsx)("p",{className:"dropdown-menu-group-title",children:Re}),V]})},J=S;S.displayName="DropdownMenuGroup";var ce=t(1404),he=t(2540),ve=t(9787),le=t.n(ve),G=t(7009),U=t(1901),H=function(Y){var V=Y.children,ie=Y.onClickOutside,we=Y.className,Ae=we===void 0?"":we,Re=Y.onSelect,je=Y.style,ye=(0,m.Fy)(),Ee=(0,ve.useRef)(null);(0,U.O)(Ee,function(){ie?.()});var Oe=(0,w.Z)("dropdown-menu ".concat(Ae),{"dropdown-menu--mobile":ye.editor.isMobile}).trim();return(0,v.jsx)(G.N7.Provider,{value:{onSelect:Re},children:(0,v.jsx)("div",{ref:Ee,className:Oe,style:je,"data-testid":"dropdown-menu",children:ye.editor.isMobile?(0,v.jsx)(he.Z.Col,{className:"dropdown-menu-container",children:V}):(0,v.jsx)(ce.W,{className:"dropdown-menu-container",padding:2,style:{zIndex:2},children:V})})})};H.displayName="DropdownMenuContent";var M=H,A=t(3858),b=["children","className","selected"];function y(Y,V){var ie=Object.keys(Y);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(Y);V&&(we=we.filter(function(Ae){return Object.getOwnPropertyDescriptor(Y,Ae).enumerable})),ie.push.apply(ie,we)}return ie}function h(Y){for(var V=1;V<arguments.length;V++){var ie=arguments[V]!=null?arguments[V]:{};V%2?y(Object(ie),!0).forEach(function(we){(0,e.Z)(Y,we,ie[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(ie)):y(Object(ie)).forEach(function(we){Object.defineProperty(Y,we,Object.getOwnPropertyDescriptor(ie,we))})}return Y}var d=function(Y){var V=Y.children,ie=Y.className,we=ie===void 0?"":ie,Ae=Y.selected,Re=(0,P.Z)(Y,b);return(0,v.jsx)("div",h(h({},Re),{},{className:"dropdown-menu-item-base dropdown-menu-item-custom ".concat(we," ").concat(Ae?"dropdown-menu-item--selected":"").trim(),children:V}))},r=t(3379),n=t.n(r),p=t(7795),a=t.n(p),l=t(569),u=t.n(l),C=t(3565),L=t.n(C),_=t(9216),E=t.n(_),D=t(4589),F=t.n(D),ee=t(7399),te={};te.styleTagTransform=F(),te.setAttributes=L(),te.insert=u().bind(null,"head"),te.domAPI=a(),te.insertStyleElement=E(),n()(ee.Z,te),ee.Z&&ee.Z.locals&&ee.Z.locals;var re=function(Y){var V=Y.children,ie=Y.open,we=function(Re){return le().Children.toArray(Re).find(function(je){return le().isValidElement(je)&&typeof je.type!="string"&&je?.type.displayName&&je.type.displayName==="DropdownMenuTrigger"})||null}(V),Ae=function(Re){return le().Children.toArray(Re).find(function(je){return le().isValidElement(je)&&typeof je.type!="string"&&je?.type.displayName&&je.type.displayName==="DropdownMenuContent"})||null}(V);return(0,v.jsxs)(v.Fragment,{children:[we,ie&&Ae]})};re.Trigger=Z,re.Content=M,re.Item=N.Z,re.ItemLink=A.Z,re.ItemCustom=d,re.Group=J,re.Separator=k;var oe=re;re.displayName="DropdownMenu"},5735:function(et,fe,t){var e=t(7169),P=t(2726),w=t(7009),m=t(6732),v=t(4512),I=["icon","onSelect","children","shortcut","className","selected"];function x(Z,N){var W=Object.keys(Z);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(Z);N&&(k=k.filter(function(S){return Object.getOwnPropertyDescriptor(Z,S).enumerable})),W.push.apply(W,k)}return W}function c(Z){for(var N=1;N<arguments.length;N++){var W=arguments[N]!=null?arguments[N]:{};N%2?x(Object(W),!0).forEach(function(k){(0,e.Z)(Z,k,W[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Z,Object.getOwnPropertyDescriptors(W)):x(Object(W)).forEach(function(k){Object.defineProperty(Z,k,Object.getOwnPropertyDescriptor(W,k))})}return Z}var f=function(Z){var N,W=Z.icon,k=Z.onSelect,S=Z.children,J=Z.shortcut,ce=Z.className,he=Z.selected,ve=(0,P.Z)(Z,I),le=(0,w.qZ)(ve.onClick,k);return(0,v.jsx)("button",c(c({},ve),{},{onClick:le,type:"button",className:(0,w.n)(ce,he),title:(N=ve.title)!==null&&N!==void 0?N:ve["aria-label"],children:(0,v.jsx)(m.Z,{icon:W,shortcut:J,children:S})}))};fe.Z=f,f.displayName="DropdownMenuItem"},6732:function(et,fe,t){var e=t(8242),P=t(4512);fe.Z=function(w){var m=w.icon,v=w.shortcut,I=w.children,x=(0,e.Fy)();return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"dropdown-menu-item__icon",children:m}),(0,P.jsx)("div",{className:"dropdown-menu-item__text",children:I}),v&&!x.editor.isMobile&&(0,P.jsx)("div",{className:"dropdown-menu-item__shortcut",children:v})]})}},3858:function(et,fe,t){var e=t(7169),P=t(2726),w=t(6732),m=t(7009),v=t(4512),I=["icon","shortcut","href","children","onSelect","className","selected"];function x(Z,N){var W=Object.keys(Z);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(Z);N&&(k=k.filter(function(S){return Object.getOwnPropertyDescriptor(Z,S).enumerable})),W.push.apply(W,k)}return W}function c(Z){for(var N=1;N<arguments.length;N++){var W=arguments[N]!=null?arguments[N]:{};N%2?x(Object(W),!0).forEach(function(k){(0,e.Z)(Z,k,W[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Z,Object.getOwnPropertyDescriptors(W)):x(Object(W)).forEach(function(k){Object.defineProperty(Z,k,Object.getOwnPropertyDescriptor(W,k))})}return Z}var f=function(Z){var N,W=Z.icon,k=Z.shortcut,S=Z.href,J=Z.children,ce=Z.onSelect,he=Z.className,ve=he===void 0?"":he,le=Z.selected,G=(0,P.Z)(Z,I),U=(0,m.qZ)(G.onClick,ce);return(0,v.jsx)("a",c(c({},G),{},{href:S,target:"_blank",rel:"noreferrer",className:(0,m.n)(ve,le),title:(N=G.title)!==null&&N!==void 0?N:G["aria-label"],onClick:U,children:(0,v.jsx)(w.Z,{icon:W,shortcut:k,children:J})}))};fe.Z=f,f.displayName="DropdownMenuItemLink"},7009:function(et,fe,t){t.d(fe,{N7:function(){return v},n:function(){return I},qZ:function(){return x}});var e=t(9787),P=t.n(e),w=t(9937),m=t(9827),v=P().createContext({}),I=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",f=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return"dropdown-menu-item dropdown-menu-item-base ".concat(c," ").concat(f?"dropdown-menu-item--selected":"").trim()},x=function(c,f){var Z=(0,e.useContext)(v);return(0,m.Mj)(c,function(N){var W,k=new CustomEvent(w.Ks.MENU_ITEM_SELECT,{bubbles:!0,cancelable:!0});f?.(k),k.defaultPrevented||(W=Z.onSelect)===null||W===void 0||W.call(Z,k)})}},6922:function(et,fe,t){t.d(fe,{$:function(){return c}});var e=t(7169),P=t(2577),w=t(3607),m=t(9787),v=t(4572),I=t(4512);function x(f,Z){var N=Object.keys(f);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(f);Z&&(W=W.filter(function(k){return Object.getOwnPropertyDescriptor(f,k).enumerable})),N.push.apply(N,W)}return N}var c=function(f,Z){var N=(0,w.cn)(0),W=function(k){var S=(0,v.R6)().jotaiScope,J=(0,w.KO)(N,S),ce=(0,P.Z)(J,2)[1],he=(0,m.useRef)({preferHost:!1,counter:0});return(0,m.useLayoutEffect)(function(){var ve=he.current;return ce(function(le){var G=le+1;return ve.counter=G,G}),function(){ce(function(le){var G=le-1;return ve.counter=G,G||(ve.preferHost=!1),G})}},[ce]),k.__fallback||(he.current.preferHost=!0),!he.current.counter&&k.__fallback&&he.current.preferHost||he.current.counter>1&&k.__fallback?null:(0,I.jsx)(Z,function(ve){for(var le=1;le<arguments.length;le++){var G=arguments[le]!=null?arguments[le]:{};le%2?x(Object(G),!0).forEach(function(U){(0,e.Z)(ve,U,G[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ve,Object.getOwnPropertyDescriptors(G)):x(Object(G)).forEach(function(U){Object.defineProperty(ve,U,Object.getOwnPropertyDescriptor(G,U))})}return ve}({},k))};return W.displayName=f,W}},8935:function(et,fe,t){t.d(fe,{$W:function(){return ar},$c:function(){return j},$q:function(){return C},BF:function(){return Se},Ct:function(){return ae},D7:function(){return we},DG:function(){return ge},DJ:function(){return A},DS:function(){return mt},EO:function(){return yr},ET:function(){return ie},FC:function(){return U},FL:function(){return D},Gc:function(){return K},HL:function(){return be},Hk:function(){return Rt},Hy:function(){return oe},II:function(){return br},IN:function(){return $},J8:function(){return ue},LZ:function(){return hr},NA:function(){return F},NW:function(){return te},Nw:function(){return Or},OA:function(){return mr},OW:function(){return y},P7:function(){return Tr},Pm:function(){return a},RJ:function(){return Ne},RY:function(){return re},Re:function(){return d},ST:function(){return He},Sd:function(){return L},TP:function(){return se},Tl:function(){return Oe},Tw:function(){return Me},UE:function(){return i},UI:function(){return gt},UT:function(){return Ut},VL:function(){return l},Vl:function(){return O},Vq:function(){return ce},W2:function(){return lt},W5:function(){return Te},Wl:function(){return ut},X7:function(){return ft},XB:function(){return u},XH:function(){return E},YA:function(){return ve},ZA:function(){return at},Zm:function(){return Ae},_C:function(){return G},_U:function(){return M},a0:function(){return Qe},a1:function(){return ye},a5:function(){return Pt},aA:function(){return kr},aL:function(){return dt},aT:function(){return Et},bf:function(){return Mt},by:function(){return Y},d:function(){return Ir},dg:function(){return ir},e0:function(){return r},eQ:function(){return Re},fr:function(){return pt},gK:function(){return Ve},h0:function(){return V},il:function(){return ht},j8:function(){return Bt},jn:function(){return Je},kL:function(){return ee},kM:function(){return Yt},lF:function(){return Ye},m:function(){return Ct},m9:function(){return Ot},mh:function(){return Ze},mv:function(){return wt},nb:function(){return h},np:function(){return rt},nq:function(){return tr},o3:function(){return Tt},oQ:function(){return H},oT:function(){return nr},op:function(){return me},pO:function(){return he},po:function(){return Ee},pw:function(){return Q},q0:function(){return zt},qQ:function(){return le},rr:function(){return At},t5:function(){return z},tW:function(){return cr},tb:function(){return p},tn:function(){return yt},uD:function(){return Be},vo:function(){return Ft},wr:function(){return ot},xL:function(){return _},xP:function(){return je},xs:function(){return Ce},z6:function(){return xt},zG:function(){return s},zb:function(){return n},zl:function(){return dr},zu:function(){return b}});var e=t(7169),P=t(2726),w=t(9787),m=t.n(w),v=t(5284),I=t(45),x=t(9937),c=t(4512),f=["width","height","mirror","style"];function Z(wr,sr){var fr=Object.keys(wr);if(Object.getOwnPropertySymbols){var pr=Object.getOwnPropertySymbols(wr);sr&&(pr=pr.filter(function(jr){return Object.getOwnPropertyDescriptor(wr,jr).enumerable})),fr.push.apply(fr,pr)}return fr}function N(wr){for(var sr=1;sr<arguments.length;sr++){var fr=arguments[sr]!=null?arguments[sr]:{};sr%2?Z(Object(fr),!0).forEach(function(pr){(0,e.Z)(wr,pr,fr[pr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(wr,Object.getOwnPropertyDescriptors(fr)):Z(Object(fr)).forEach(function(pr){Object.defineProperty(wr,pr,Object.getOwnPropertyDescriptor(fr,pr))})}return wr}var W=function(wr){return wr===x.C6.LIGHT?v.white:"#1e1e1e"},k=function(wr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:512,fr=typeof sr=="number"?{width:sr}:sr,pr=fr.width,jr=pr===void 0?512:pr,Pr=fr.height,Mr=Pr===void 0?jr:Pr,$r=fr.mirror,fn=fr.style,Mn=(0,P.Z)(fr,f);return(0,c.jsx)("svg",N(N({"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 ".concat(jr," ").concat(Mr),className:(0,I.Z)({"rtl-mirror":$r}),style:fn},Mn),{},{children:typeof wr=="string"?(0,c.jsx)("path",{fill:"currentColor",d:wr}):wr}))},S={width:24,height:24,fill:"none",strokeWidth:2,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},J={width:20,height:20,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},ce=(k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("rect",{x:3,y:8,width:18,height:4,rx:1}),(0,c.jsx)("line",{x1:12,y1:8,x2:12,y2:21}),(0,c.jsx)("path",{d:"M19 12v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-7"}),(0,c.jsx)("path",{d:"M7.5 8a2.5 2.5 0 0 1 0 -5a4.8 8 0 0 1 4.5 5a4.8 8 0 0 1 4.5 -5a2.5 2.5 0 0 1 0 5"})]}),S),k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),(0,c.jsx)("path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),(0,c.jsx)("line",{x1:"3",y1:"6",x2:"3",y2:"19"}),(0,c.jsx)("line",{x1:"12",y1:"6",x2:"12",y2:"19"}),(0,c.jsx)("line",{x1:"21",y1:"6",x2:"21",y2:"19"})]}),S)),he=k((0,c.jsxs)("svg",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,c.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]}),S),ve=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("circle",{cx:"12",cy:"12",r:"1"}),(0,c.jsx)("circle",{cx:"12",cy:"19",r:"1"}),(0,c.jsx)("circle",{cx:"12",cy:"5",r:"1"})]}),S),le=k((0,c.jsxs)("svg",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M9 4v6l-2 4v2h10v-2l-2 -4v-6"}),(0,c.jsx)("line",{x1:"12",y1:"16",x2:"12",y2:"21"}),(0,c.jsx)("line",{x1:"8",y1:"4",x2:"16",y2:"4"})]}),S),G=k((0,c.jsxs)("g",{children:[(0,c.jsx)("path",{d:"M13.542 8.542H6.458a2.5 2.5 0 0 0-2.5 2.5v3.75a2.5 2.5 0 0 0 2.5 2.5h7.084a2.5 2.5 0 0 0 2.5-2.5v-3.75a2.5 2.5 0 0 0-2.5-2.5Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,c.jsx)("path",{d:"M10 13.958a1.042 1.042 0 1 0 0-2.083 1.042 1.042 0 0 0 0 2.083Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,c.jsx)("mask",{id:"UnlockedIcon",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:6,y:1,width:9,height:9,children:(0,c.jsx)("path",{stroke:"none",d:"M6.399 9.561V5.175c0-.93.401-1.823 1.116-2.48a3.981 3.981 0 0 1 2.693-1.028c1.01 0 1.98.37 2.694 1.027.715.658 1.116 1.55 1.116 2.481",fill:"#fff"})}),(0,c.jsx)("g",{mask:"url(#UnlockedIcon)",children:(0,c.jsx)("path",{stroke:"none",d:"M5.149 9.561v1.25h2.5v-1.25h-2.5Zm5.06-7.894V.417v1.25Zm2.559 3.508v1.25h2.5v-1.25h-2.5ZM7.648 8.51V5.175h-2.5V8.51h2.5Zm0-3.334c0-.564.243-1.128.713-1.561L6.668 1.775c-.959.883-1.52 2.104-1.52 3.4h2.5Zm.713-1.561a2.732 2.732 0 0 1 1.847-.697v-2.5c-1.31 0-2.585.478-3.54 1.358L8.36 3.614Zm1.847-.697c.71 0 1.374.26 1.847.697l1.694-1.839a5.231 5.231 0 0 0-3.54-1.358v2.5Zm1.847.697c.47.433.713.997.713 1.561h2.5c0-1.296-.56-2.517-1.52-3.4l-1.693 1.839Z",fill:"currentColor"})})]}),J),U=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M13.542 8.542H6.458a2.5 2.5 0 0 0-2.5 2.5v3.75a2.5 2.5 0 0 0 2.5 2.5h7.084a2.5 2.5 0 0 0 2.5-2.5v-3.75a2.5 2.5 0 0 0-2.5-2.5Z"}),(0,c.jsx)("path",{d:"M10 13.958a1.042 1.042 0 1 0 0-2.083 1.042 1.042 0 0 0 0 2.083Z"}),(0,c.jsx)("path",{d:"M6.667 8.333V5.417C6.667 3.806 8.159 2.5 10 2.5c1.841 0 3.333 1.306 3.333 2.917v2.916"})]}),J),H=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{d:"M38.5 83.5c-14-2-17.833-10.473-21-22.5C14.333 48.984 12 22 12 12.5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m12.005 10.478 7.905 14.423L6 25.75l6.005-15.273Z",fill:"currentColor"}),(0,c.jsx)("path",{d:"M12.005 10.478c1.92 3.495 3.838 7 7.905 14.423m-7.905-14.423c3.11 5.683 6.23 11.368 7.905 14.423m0 0c-3.68.226-7.35.455-13.91.85m13.91-.85c-5.279.33-10.566.647-13.91.85m0 0c1.936-4.931 3.882-9.86 6.005-15.273M6 25.75c2.069-5.257 4.135-10.505 6.005-15.272",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})]}),{width:41,height:94,fill:"none"}),M=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{d:"M18.026 1.232c-5.268 13.125-5.548 33.555 3.285 42.311 8.823 8.75 33.31 12.304 42.422 13.523",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m72.181 59.247-13.058-10-2.948 13.62 16.006-3.62Z",fill:"currentColor"}),(0,c.jsx)("path",{d:"M72.181 59.247c-3.163-2.429-6.337-4.856-13.058-10m13.058 10c-5.145-3.936-10.292-7.882-13.058-10m0 0c-.78 3.603-1.563 7.196-2.948 13.62m2.948-13.62c-1.126 5.168-2.24 10.346-2.948 13.62m0 0c5.168-1.166 10.334-2.343 16.006-3.62m-16.006 3.62c5.51-1.248 11.01-2.495 16.006-3.62",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})]}),{width:85,height:71,fill:"none"}),A=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{d:"M1 77c14-2 31.833-11.973 35-24 3.167-12.016-6-35-9.5-43.5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m24.165 1.093-2.132 16.309 13.27-4.258-11.138-12.05Z",fill:"currentColor"}),(0,c.jsx)("path",{d:"M24.165 1.093c-.522 3.953-1.037 7.916-2.132 16.309m2.131-16.309c-.835 6.424-1.68 12.854-2.13 16.308m0 0c3.51-1.125 7.013-2.243 13.27-4.257m-13.27 4.257c5.038-1.608 10.08-3.232 13.27-4.257m0 0c-3.595-3.892-7.197-7.777-11.14-12.05m11.14 12.05c-3.837-4.148-7.667-8.287-11.14-12.05",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})]}),{width:38,height:78,fill:"none"}),b=(k((0,c.jsx)("g",{fill:"currentColor",children:(0,c.jsx)("path",{d:"M39.9 32.889a.326.326 0 0 0-.279-.056c-2.094-3.083-4.774-6-7.343-8.833l-.419-.472a.212.212 0 0 0-.056-.139.586.586 0 0 0-.167-.111l-.084-.083-.056-.056c-.084-.167-.28-.278-.475-.167-.782.39-1.507.973-2.206 1.528-.92.722-1.842 1.445-2.708 2.25a8.405 8.405 0 0 0-.977 1.028c-.14.194-.028.361.14.444-.615.611-1.23 1.223-1.843 1.861a.315.315 0 0 0-.084.223c0 .083.056.166.111.194l1.09.833v.028c1.535 1.528 4.244 3.611 7.12 5.861.418.334.865.667 1.284 1 .195.223.39.473.558.695.084.11.28.139.391.055.056.056.14.111.196.167a.398.398 0 0 0 .167.056.255.255 0 0 0 .224-.111.394.394 0 0 0 .055-.167c.029 0 .028.028.056.028a.318.318 0 0 0 .224-.084l5.082-5.528a.309.309 0 0 0 0-.444Zm-14.63-1.917a.485.485 0 0 0 .111.14c.586.5 1.2 1 1.843 1.555l-2.569-1.945-.251-.166c-.056-.028-.112-.084-.168-.111l-.195-.167.056-.056.055-.055.112-.111c.866-.861 2.346-2.306 3.1-3.028-.81.805-2.43 3.167-2.095 3.944Zm8.767 6.89-2.122-1.612a44.713 44.713 0 0 0-2.625-2.5c1.145.861 2.122 1.611 2.262 1.75 1.117.972 1.06.806 1.815 1.445l.921.666a1.06 1.06 0 0 1-.251.25Zm.558.416-.056-.028c.084-.055.168-.111.252-.194l-.196.222ZM1.089 5.75c.055.361.14.722.195 1.056.335 1.833.67 3.5 1.284 4.75l.252.944c.084.361.223.806.363.917 1.424 1.25 3.602 3.11 5.947 4.889a.295.295 0 0 0 .363 0s0 .027.028.027a.254.254 0 0 0 .196.084.318.318 0 0 0 .223-.084c2.988-3.305 5.221-6.027 6.813-8.305.112-.111.14-.278.14-.417.111-.111.195-.25.307-.333.111-.111.111-.306 0-.39l-.028-.027c0-.055-.028-.139-.084-.167-.698-.666-1.2-1.138-1.731-1.638-.922-.862-1.871-1.75-3.881-3.75l-.028-.028c-.028-.028-.056-.056-.112-.056-.558-.194-1.703-.389-3.127-.639C6.087 2.223 3.21 1.723.614.944c0 0-.168 0-.196.028l-.083.084c-.028.027-.056.055-.224.11h.056-.056c.028.167.028.278.084.473 0 .055.112.5.112.555l.782 3.556Zm15.496 3.278-.335-.334c.084.112.196.195.335.334Zm-3.546 4.666-.056.056c0-.028.028-.056.056-.056Zm-2.038-10c.168.167.866.834 1.033.973-.726-.334-2.54-1.167-3.379-1.445.838.167 1.983.334 2.346.472ZM1.424 2.306c.419.722.754 3.222 1.089 5.666-.196-.778-.335-1.555-.503-2.278-.251-1.277-.503-2.416-.838-3.416.056 0 .14 0 .252.028Zm-.168-.584c-.112 0-.223-.028-.307-.028 0-.027 0-.055-.028-.055.14 0 .223.028.335.083Zm-1.089.222c0-.027 0-.027 0 0ZM39.453 1.333c.028-.11-.558-.61-.363-.639.42-.027.42-.666 0-.666-.558.028-1.144.166-1.675.25-.977.194-1.982.389-2.96.61-2.205.473-4.383.973-6.561 1.557-.67.194-1.424.333-2.066.666-.224.111-.196.333-.084.472-.056.028-.084.028-.14.056-.195.028-.363.056-.558.083-.168.028-.252.167-.224.334 0 .027.028.083.028.11-1.173 1.556-2.485 3.195-3.909 4.945-1.396 1.611-2.876 3.306-4.356 5.056-4.719 5.5-10.052 11.75-15.943 17.25a.268.268 0 0 0 0 .389c.028.027.056.055.084.055-.084.084-.168.14-.252.222-.056.056-.084.111-.084.167a.605.605 0 0 0-.111.139c-.112.111-.112.305.028.389.111.11.307.11.39-.028.029-.028.029-.056.056-.056a.44.44 0 0 1 .615 0c.335.362.67.723.977 1.028l-.698-.583c-.112-.111-.307-.083-.39.028-.113.11-.085.305.027.389l7.427 6.194c.056.056.112.056.196.056s.14-.028.195-.084l.168-.166c.028.027.083.027.111.027.084 0 .14-.027.196-.083 10.052-10.055 18.15-17.639 27.42-24.417.083-.055.111-.166.111-.25.112 0 .196-.083.251-.194 1.704-5.194 2.039-9.806 2.15-12.083v-.028c0-.028.028-.056.028-.083.028-.056.028-.084.028-.084a1.626 1.626 0 0 0-.111-1.028ZM21.472 9.5c.446-.5.893-1.028 1.34-1.5-2.876 3.778-7.65 9.583-14.408 16.5 4.607-5.083 9.242-10.333 13.068-15ZM5.193 35.778h.084-.084Zm3.462 3.194c-.027-.028-.027-.028 0-.028v.028Zm4.16-3.583c.224-.25.448-.472.699-.722 0 0 0 .027.028.027-.252.223-.475.445-.726.695Zm1.146-1.111c.14-.14.279-.334.446-.5l.028-.028c1.648-1.694 3.351-3.389 5.082-5.111l.028-.028c.419-.333.921-.694 1.368-1.028a379.003 379.003 0 0 0-6.952 6.695ZM24.794 6.472c-.921 1.195-1.954 2.778-2.82 4.028-2.736 3.944-11.532 13.583-11.727 13.75a1976.983 1976.983 0 0 1-8.042 7.639l-.167.167c-.14-.167-.14-.417.028-.556C14.49 19.861 22.03 10.167 25.074 5.917c-.084.194-.14.36-.28.555Zm4.83 5.695c-1.116-.64-1.646-1.64-1.34-2.611l.084-.334c.028-.083.084-.194.14-.277.307-.5.754-.917 1.257-1.167.027 0 .055 0 .083-.028-.028-.056-.028-.139-.028-.222.028-.167.14-.278.335-.278.335 0 1.369.306 1.76.639.111.083.223.194.335.305.14.167.363.445.474.667.056.028.112.306.196.445.056.222.111.472.084.694-.028.028 0 .194-.028.194a2.668 2.668 0 0 1-.363 1.028c-.028.028-.028.056-.056.084l-.028.027c-.14.223-.335.417-.53.556-.643.444-1.369.583-2.095.389 0 0-.195-.084-.28-.111Zm8.154-.834a39.098 39.098 0 0 1-.893 3.167c0 .028-.028.083 0 .111-.056 0-.084.028-.14.056-2.206 1.61-4.356 3.305-6.506 5.028 1.843-1.64 3.686-3.306 5.613-4.945.558-.5.949-1.139 1.06-1.861l.28-1.667v-.055c.14-.334.67-.195.586.166Z",fill:"currentColor"})}),{width:40,height:40,fill:"none"}),k((0,c.jsxs)("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M6 6l4.153 11.793a0.365 .365 0 0 0 .331 .207a0.366 .366 0 0 0 .332 -.207l2.184 -4.793l4.787 -1.994a0.355 .355 0 0 0 .213 -.323a0.355 .355 0 0 0 -.213 -.323l-11.787 -4.36z"}),(0,c.jsx)("path",{d:"M13.5 13.5l4.5 4.5"})]}),{fill:"none",width:22,height:22,strokeWidth:1.25})),y=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"})]}),S),h=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M10.5 20.4l-6.9 -6.9c-.781 -.781 -.781 -2.219 0 -3l6.9 -6.9c.781 -.781 2.219 -.781 3 0l6.9 6.9c.781 .781 .781 2.219 0 3l-6.9 6.9c-.781 .781 -2.219 .781 -3 0z"})]}),S),d=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("circle",{cx:"12",cy:"12",r:"9"})]}),S),r=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,c.jsx)("line",{x1:"15",y1:"16",x2:"19",y2:"12"}),(0,c.jsx)("line",{x1:"15",y1:"8",x2:"19",y2:"12"})]}),S),n=k((0,c.jsx)("path",{d:"M4.167 10h11.666",strokeWidth:"1.5"}),J),p=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M20 17v-12c0 -1.121 -.879 -2 -2 -2s-2 .879 -2 2v12l2 2l2 -2z"}),(0,c.jsx)("path",{d:"M16 7h4"}),(0,c.jsx)("path",{d:"M18 19h-13a2 2 0 1 1 0 -4h4a2 2 0 1 0 0 -4h-3"})]}),S),a=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{clipRule:"evenodd",d:"m7.643 15.69 7.774-7.773a2.357 2.357 0 1 0-3.334-3.334L4.31 12.357a3.333 3.333 0 0 0-.977 2.357v1.953h1.953c.884 0 1.732-.352 2.357-.977Z"}),(0,c.jsx)("path",{d:"m11.25 5.417 3.333 3.333"})]}),J),l=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"4",y1:"20",x2:"7",y2:"20"}),(0,c.jsx)("line",{x1:"14",y1:"20",x2:"21",y2:"20"}),(0,c.jsx)("line",{x1:"6.9",y1:"15",x2:"13.8",y2:"15"}),(0,c.jsx)("line",{x1:"10.2",y1:"6.3",x2:"16",y2:"20"}),(0,c.jsx)("polyline",{points:"5 20 11 4 13 4 20 20"})]}),S),u=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M12.5 6.667h.01"}),(0,c.jsx)("path",{d:"M4.91 2.625h10.18a2.284 2.284 0 0 1 2.285 2.284v10.182a2.284 2.284 0 0 1-2.284 2.284H4.909a2.284 2.284 0 0 1-2.284-2.284V4.909a2.284 2.284 0 0 1 2.284-2.284Z"}),(0,c.jsx)("path",{d:"m3.333 12.5 3.334-3.333c.773-.745 1.726-.745 2.5 0l4.166 4.166"}),(0,c.jsx)("path",{d:"m11.667 11.667.833-.834c.774-.744 1.726-.744 2.5 0l1.667 1.667"})]}),J),C=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M19 20h-10.5l-4.21 -4.3a1 1 0 0 1 0 -1.41l10 -10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41l-9.2 9.3"}),(0,c.jsx)("path",{d:"M18 13.3l-6.3 -6.3"})]}),S),L=k((0,c.jsx)("path",{strokeWidth:"1.25",d:"M10 4.167v11.666M4.167 10h11.666"}),J),_=k((0,c.jsx)("path",{d:"M5 10h10",strokeWidth:"1.25"}),J),E=k((0,c.jsx)("path",{strokeWidth:"1.25",d:"M3.333 5.833h13.334M8.333 9.167v5M11.667 9.167v5M4.167 5.833l.833 10c0 .92.746 1.667 1.667 1.667h6.666c.92 0 1.667-.746 1.667-1.667l.833-10M7.5 5.833v-2.5c0-.46.373-.833.833-.833h3.334c.46 0 .833.373.833.833v2.5"}),J),D=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("polyline",{points:"12 16 18 10 12 4"}),(0,c.jsx)("polyline",{points:"8 4 2 10 8 16"})]}),J),F=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M14.375 6.458H8.958a2.5 2.5 0 0 0-2.5 2.5v5.417a2.5 2.5 0 0 0 2.5 2.5h5.417a2.5 2.5 0 0 0 2.5-2.5V8.958a2.5 2.5 0 0 0-2.5-2.5Z"}),(0,c.jsx)("path",{clipRule:"evenodd",d:"M11.667 3.125c.517 0 .986.21 1.325.55.34.338.55.807.55 1.325v1.458H8.333c-.485 0-.927.185-1.26.487-.343.312-.57.75-.609 1.24l-.005 5.357H5a1.87 1.87 0 0 1-1.326-.55 1.87 1.87 0 0 1-.549-1.325V5c0-.518.21-.987.55-1.326.338-.34.807-.549 1.325-.549h6.667Z"})]}),J),ee=k((0,c.jsx)("path",{clipRule:"evenodd",d:"M10 2.5h.328a6.25 6.25 0 0 0 6.6 10.372A7.5 7.5 0 1 1 10 2.493V2.5Z",stroke:"currentColor"}),J),te=k((0,c.jsx)("g",{stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,c.jsx)("path",{d:"M10 12.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM10 4.167V2.5M14.167 5.833l1.166-1.166M15.833 10H17.5M14.167 14.167l1.166 1.166M10 15.833V17.5M5.833 14.167l-1.166 1.166M5 10H3.333M5.833 5.833 4.667 4.667"})}),J),re=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"4",y1:"6",x2:"20",y2:"6"}),(0,c.jsx)("line",{x1:"4",y1:"12",x2:"20",y2:"12"}),(0,c.jsx)("line",{x1:"4",y1:"18",x2:"20",y2:"18"})]}),S),oe=k((0,c.jsx)("path",{strokeWidth:"1.25",d:"M3.333 14.167v1.666c0 .92.747 1.667 1.667 1.667h10c.92 0 1.667-.746 1.667-1.667v-1.666M5.833 9.167 10 13.333l4.167-4.166M10 3.333v10"}),J),Y=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,c.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"17.01"}),(0,c.jsx)("path",{d:"M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4"})]}),S),V=k((0,c.jsx)("path",{strokeWidth:"1.25",d:"M9.167 5.833H5.833c-1.254 0-2.5 1.282-2.5 2.5v5.834c0 1.283 1.252 2.5 2.5 2.5h5.834c1.251 0 2.5-1.25 2.5-2.5v-3.334M8.333 11.667l8.334-8.334M12.5 3.333h4.167V7.5"}),J),ie=k((0,c.jsx)("path",{d:"M7.5 15.833c-3.583 1.167-3.583-2.083-5-2.5m10 4.167v-2.917c0-.833.083-1.166-.417-1.666 2.334-.25 4.584-1.167 4.584-5a3.833 3.833 0 0 0-1.084-2.667 3.5 3.5 0 0 0-.083-2.667s-.917-.25-2.917 1.084a10.25 10.25 0 0 0-5.166 0C5.417 2.333 4.5 2.583 4.5 2.583a3.5 3.5 0 0 0-.083 2.667 3.833 3.833 0 0 0-1.084 2.667c0 3.833 2.25 4.75 4.584 5-.5.5-.5 1-.417 1.666V17.5",strokeWidth:"1.25"}),J),we=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M7.5 10.833a.833.833 0 1 0 0-1.666.833.833 0 0 0 0 1.666ZM12.5 10.833a.833.833 0 1 0 0-1.666.833.833 0 0 0 0 1.666ZM6.25 6.25c2.917-.833 4.583-.833 7.5 0M5.833 13.75c2.917.833 5.417.833 8.334 0"}),(0,c.jsx)("path",{d:"M12.917 14.167c0 .833 1.25 2.5 1.666 2.5 1.25 0 2.361-1.39 2.917-2.5.556-1.39.417-4.861-1.25-9.584-1.214-.846-2.5-1.116-3.75-1.25l-.833 2.084M7.083 14.167c0 .833-1.13 2.5-1.526 2.5-1.191 0-2.249-1.39-2.778-2.5-.529-1.39-.397-4.861 1.19-9.584 1.157-.846 2.318-1.116 3.531-1.25l.833 2.084"})]}),J),Ae=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z"})]}),S),Re=k((0,c.jsx)("polyline",{fill:"none",stroke:"currentColor",points:"20 6 9 17 4 12"}),{width:24,height:24}),je=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M8.333 11.667a2.917 2.917 0 0 0 4.167 0l3.333-3.334a2.946 2.946 0 1 0-4.166-4.166l-.417.416"}),(0,c.jsx)("path",{d:"M11.667 8.333a2.917 2.917 0 0 0-4.167 0l-3.333 3.334a2.946 2.946 0 0 0 4.166 4.166l.417-.416"})]}),J),ye=k("M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z",{width:448,height:512}),Ee=k("M252 54L203 8a28 27 0 00-20-8H28C12 0 0 12 0 27v195c0 15 12 26 28 26h204c15 0 28-11 28-26V73a28 27 0 00-8-19zM130 213c-21 0-37-16-37-36 0-19 16-35 37-35 20 0 37 16 37 35 0 20-17 36-37 36zm56-169v56c0 4-4 6-7 6H44c-4 0-7-2-7-6V42c0-4 3-7 7-7h133l4 2 3 2a7 7 0 012 5z M296 201l87 95-188 205-78 9c-10 1-19-8-18-20l9-84zm141-14l-41-44a31 31 0 00-46 0l-38 41 87 95 38-42c13-14 13-36 0-50z",{width:448,height:512}),Oe=k((0,c.jsx)("path",{d:"m9.257 6.351.183.183H15.819c.34 0 .727.182 1.051.506.323.323.505.708.505 1.05v5.819c0 .316-.183.7-.52 1.035-.337.338-.723.522-1.037.522H4.182c-.352 0-.74-.181-1.058-.5-.318-.318-.499-.705-.499-1.057V5.182c0-.351.181-.736.5-1.054.32-.321.71-.503 1.057-.503H6.53l2.726 2.726Z",strokeWidth:"1.25"}),J),ge=(k("M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z",{width:384,height:512}),k("M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z")),ue=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M15 8h.01"}),(0,c.jsx)("path",{d:"M12 20h-5a3 3 0 0 1 -3 -3v-10a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v5"}),(0,c.jsx)("path",{d:"M4 15l4 -4c.928 -.893 2.072 -.893 3 0l4 4"}),(0,c.jsx)("path",{d:"M14 14l1 -1c.617 -.593 1.328 -.793 2.009 -.598"}),(0,c.jsx)("path",{d:"M19 16v6"}),(0,c.jsx)("path",{d:"M22 19l-3 3l-3 -3"})]}),S),se=k("M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z",{width:512,height:512}),j=(k("M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",{width:448,height:512}),k("M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",{width:448,height:512}),k("M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z")),i=(k("M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"),k((0,c.jsx)("path",{d:"M7.5 10.833 4.167 7.5 7.5 4.167M4.167 7.5h9.166a3.333 3.333 0 0 1 0 6.667H12.5",strokeWidth:"1.25"}),J)),s=k((0,c.jsx)("path",{d:"M12.5 10.833 15.833 7.5 12.5 4.167M15.833 7.5H6.667a3.333 3.333 0 1 0 0 6.667H7.5",strokeWidth:"1.25"}),J),O=k("M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z",{mirror:!0}),z=(k((0,c.jsx)("path",{d:"M5 12.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM15 7.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM15 17.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM7.25 8.917l5.5-2.834M7.25 11.083l5.5 2.834",strokeWidth:"1.5"}),J),k("M16 5l-1.42 1.42-1.59-1.59V16h-1.98V4.83L9.42 6.42 8 5l4-4 4 4zm4 5v11c0 1.1-.9 2-2 2H6c-1.11 0-2-.9-2-2V10c0-1.11.89-2 2-2h3v2H6v11h12V10h-3V8h3c1.1 0 2 .89 2 2z",{width:24,height:24}),k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{fill:"currentColor",d:"M40 5.6v6.1l-4.1.7c-8.9 1.4-16.5 6.9-20.6 15C13 32 10.9 43 12.4 43c.4 0 2.4-1.3 4.4-3 5-3.9 12.1-7 18.2-7.7l5-.6v12.8l11.2-11.3L62.5 22 51.2 10.8 40-.5v6.1zm10.2 22.6L44 34.5v-6.8l-6.9.6c-3.9.3-9.8 1.7-13.2 3.1-3.5 1.4-6.5 2.4-6.7 2.2-.9-1 3-7.5 6.4-10.8C28 18.6 34.4 16 40.1 16c3.7 0 3.9-.1 3.9-3.2V9.5l6.2 6.3 6.3 6.2-6.3 6.2z"}),(0,c.jsx)("path",{stroke:"currentColor",fill:"currentColor",d:"M0 36v20h48v-6.2c0-6 0-6.1-2-4.3-1.1 1-2 2.9-2 4.2V52H4V34c0-17.3-.1-18-2-18s-2 .7-2 20z"})]}),{width:64,height:64}),k((0,c.jsx)("path",{stroke:"currentColor",strokeWidth:"40",fill:"currentColor",d:"M148 560a318 318 0 0 0 522 110 316 316 0 0 0 0-450 316 316 0 0 0-450 0c-11 11-21 22-30 34v4h47c25 0 46 21 46 46s-21 45-46 45H90c-13 0-25-6-33-14-9-9-14-20-14-33V156c0-25 20-45 45-45s45 20 45 45v32l1 1a401 401 0 0 1 623 509l212 212a42 42 0 0 1-59 59L698 757A401 401 0 0 1 65 570a42 42 0 0 1 83-10z"}),{width:1024}),k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{d:"M13.889 4.167H8.333c-.767 0-1.389.622-1.389 1.389v5.555c0 .767.622 1.389 1.39 1.389h5.555c.767 0 1.389-.622 1.389-1.389V5.556c0-.767-.622-1.39-1.39-1.39Z",fill:"currentColor"}),(0,c.jsx)("path",{d:"M12.5 12.5v1.389a1.389 1.389 0 0 1-1.389 1.389H5.556a1.389 1.389 0 0 1-1.39-1.39V8.334a1.389 1.389 0 0 1 1.39-1.389h1.388"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J)),K=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.944 12.5H12.5v1.389a1.389 1.389 0 0 1-1.389 1.389H5.556a1.389 1.389 0 0 1-1.39-1.39V8.334a1.389 1.389 0 0 1 1.39-1.389h1.388",fill:"currentColor"}),(0,c.jsx)("path",{d:"M13.889 4.167H8.333c-.767 0-1.389.621-1.389 1.389v5.555c0 .767.622 1.389 1.39 1.389h5.555c.767 0 1.389-.622 1.389-1.389V5.556c0-.768-.622-1.39-1.39-1.39Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),$=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M8.775 6.458h2.45a2.316 2.316 0 0 1 2.317 2.316v2.452a2.316 2.316 0 0 1-2.316 2.316H8.774a2.316 2.316 0 0 1-2.317-2.316V8.774a2.316 2.316 0 0 1 2.317-2.316Z",fill:"currentColor"}),(0,c.jsx)("path",{d:"M5.441 9.792h2.451a2.316 2.316 0 0 1 2.316 2.316v2.45a2.316 2.316 0 0 1-2.316 2.317h-2.45a2.316 2.316 0 0 1-2.317-2.316v-2.451a2.316 2.316 0 0 1 2.316-2.316ZM12.108 3.125h2.45a2.316 2.316 0 0 1 2.317 2.316v2.451a2.316 2.316 0 0 1-2.316 2.316h-2.451a2.316 2.316 0 0 1-2.316-2.316v-2.45a2.316 2.316 0 0 1 2.316-2.317Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),Q=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",children:[(0,c.jsx)("path",{d:"M5.441 9.792h2.451a2.316 2.316 0 0 1 2.316 2.316v2.45a2.316 2.316 0 0 1-2.316 2.317h-2.45a2.316 2.316 0 0 1-2.317-2.316v-2.451a2.316 2.316 0 0 1 2.316-2.316Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,c.jsx)("path",{d:"M5.441 9.792h2.451a2.316 2.316 0 0 1 2.316 2.316v2.45a2.316 2.316 0 0 1-2.316 2.317h-2.45a2.316 2.316 0 0 1-2.317-2.316v-2.451a2.316 2.316 0 0 1 2.316-2.316Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,c.jsx)("mask",{id:"SendToBackIcon",fill:"#fff",children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.167 5.833v2.06a2.941 2.941 0 0 0 2.94 2.94h2.06v.393a2.941 2.941 0 0 1-2.941 2.94h-.393v-2.058a2.941 2.941 0 0 0-2.94-2.941h-2.06v-.393a2.941 2.941 0 0 1 2.942-2.94h.392Z"})}),(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.167 5.833v2.06a2.941 2.941 0 0 0 2.94 2.94h2.06v.393a2.941 2.941 0 0 1-2.941 2.94h-.393v-2.058a2.941 2.941 0 0 0-2.94-2.941h-2.06v-.393a2.941 2.941 0 0 1 2.942-2.94h.392Z",fill:"currentColor"}),(0,c.jsx)("path",{d:"M9.167 5.833h1.25v-1.25h-1.25v1.25Zm5 5h1.25v-1.25h-1.25v1.25Zm-3.334 3.334h-1.25v1.25h1.25v-1.25Zm-5-5h-1.25v1.25h1.25v-1.25Zm2.084-3.334v2.06h2.5v-2.06h-2.5Zm0 2.06a4.191 4.191 0 0 0 4.19 4.19v-2.5a1.691 1.691 0 0 1-1.69-1.69h-2.5Zm4.19 4.19h2.06v-2.5h-2.06v2.5Zm.81-1.25v.393h2.5v-.393h-2.5Zm0 .393c0 .933-.758 1.69-1.691 1.69v2.5a4.191 4.191 0 0 0 4.19-4.19h-2.5Zm-1.691 1.69h-.393v2.5h.393v-2.5Zm.857 1.25v-2.058h-2.5v2.059h2.5Zm0-2.058a4.191 4.191 0 0 0-4.19-4.191v2.5c.933 0 1.69.757 1.69 1.69h2.5Zm-4.19-4.191h-2.06v2.5h2.06v-2.5Zm-.81 1.25v-.393h-2.5v.393h2.5Zm0-.393c0-.934.758-1.69 1.692-1.69v-2.5a4.191 4.191 0 0 0-4.192 4.19h2.5Zm1.692-1.69h.392v-2.5h-.392v2.5Z",fill:"currentColor",mask:"url(#SendToBackIcon)"}),(0,c.jsx)("path",{d:"M12.108 3.125h2.45a2.316 2.316 0 0 1 2.317 2.316v2.451a2.316 2.316 0 0 1-2.316 2.316h-2.451a2.316 2.316 0 0 1-2.316-2.316v-2.45a2.316 2.316 0 0 1 2.316-2.317Z",stroke:"currentColor",strokeWidth:"1.25"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),ae=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M3.333 3.333h13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M13.542 6.458h-.417c-.92 0-1.667.747-1.667 1.667v7.083c0 .92.746 1.667 1.667 1.667h.417c.92 0 1.666-.746 1.666-1.667V8.125c0-.92-.746-1.667-1.666-1.667ZM6.875 6.458h-.417c-.92 0-1.666.747-1.666 1.667v3.75c0 .92.746 1.667 1.666 1.667h.417c.92 0 1.667-.746 1.667-1.667v-3.75c0-.92-.747-1.667-1.667-1.667Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),be=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M3.333 16.667h13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M6.875 3.125h-.417c-.92 0-1.666.746-1.666 1.667v7.083c0 .92.746 1.667 1.666 1.667h.417c.92 0 1.667-.746 1.667-1.667V4.792c0-.92-.747-1.667-1.667-1.667ZM13.542 5.817h-.417c-.92 0-1.667.747-1.667 1.667v4.391c0 .92.746 1.667 1.667 1.667h.417c.92 0 1.666-.746 1.666-1.667V7.484c0-.92-.746-1.667-1.666-1.667Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),Ce=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M3.333 3.333v13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M15.208 4.792H8.125c-.92 0-1.667.746-1.667 1.666v.417c0 .92.747 1.667 1.667 1.667h7.083c.92 0 1.667-.747 1.667-1.667v-.417c0-.92-.746-1.666-1.667-1.666ZM12.516 11.458H8.125c-.92 0-1.667.746-1.667 1.667v.417c0 .92.747 1.666 1.667 1.666h4.391c.92 0 1.667-.746 1.667-1.666v-.417c0-.92-.746-1.667-1.667-1.667Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),Ze=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M16.667 3.333v13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M11.875 4.792H4.792c-.92 0-1.667.746-1.667 1.666v.417c0 .92.746 1.667 1.667 1.667h7.083c.92 0 1.667-.747 1.667-1.667v-.417c0-.92-.746-1.666-1.667-1.666ZM11.683 11.458H7.292c-.92 0-1.667.746-1.667 1.667v.417c0 .92.746 1.666 1.667 1.666h4.39c.921 0 1.667-.746 1.667-1.666v-.417c0-.92-.746-1.667-1.666-1.667Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),Be=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M16.667 3.333v13.334M3.333 3.333v13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M14.375 10.208v-.416c0-.92-.746-1.667-1.667-1.667H7.292c-.92 0-1.667.746-1.667 1.667v.416c0 .92.746 1.667 1.667 1.667h5.416c.92 0 1.667-.746 1.667-1.667Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),Te=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M3.333 3.333h13.334M3.333 16.667h13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M10.208 5.625h-.416c-.92 0-1.667.746-1.667 1.667v5.416c0 .92.746 1.667 1.667 1.667h.416c.92 0 1.667-.746 1.667-1.667V7.292c0-.92-.746-1.667-1.667-1.667Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),He=k((0,c.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M1.667 10h2.916",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M8.333 10h3.334",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M15.417 10h2.916",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M6.875 4.792h-.417c-.92 0-1.666.746-1.666 1.666v7.084c0 .92.746 1.666 1.666 1.666h.417c.92 0 1.667-.746 1.667-1.666V6.458c0-.92-.747-1.666-1.667-1.666ZM13.542 6.458h-.417c-.92 0-1.667.747-1.667 1.667v3.75c0 .92.746 1.667 1.667 1.667h.417c.92 0 1.666-.746 1.666-1.667v-3.75c0-.92-.746-1.667-1.666-1.667Z"})]}),J),Ve=k((0,c.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M10 18.333v-2.916",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M10 11.667V8.333",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M10 4.583V1.667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M4.792 13.125v.417c0 .92.746 1.666 1.666 1.666h7.084c.92 0 1.666-.746 1.666-1.666v-.417c0-.92-.746-1.667-1.666-1.667H6.458c-.92 0-1.666.746-1.666 1.667ZM6.458 6.458v.417c0 .92.747 1.667 1.667 1.667h3.75c.92 0 1.667-.747 1.667-1.667v-.417c0-.92-.746-1.666-1.667-1.666h-3.75c-.92 0-1.667.746-1.667 1.666Z"})]}),J),Je=k((0,c.jsxs)("g",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,c.jsx)("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),(0,c.jsx)("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),(0,c.jsx)("path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"})]}),S),Me=(k("M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"),k("M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm96 328c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16v160z"),k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,c.jsx)("path",{d:"M15 5 5 15M5 5l10 10"})}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J)),me=k("M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z",{width:320,height:512,style:{marginLeft:"-0.2rem"},mirror:!0}),Se=(k("M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z",{mirror:!0}),k("M11.553 22.894a.998.998 0 00.894 0s3.037-1.516 5.465-4.097C19.616 16.987 21 14.663 21 12V5a1 1 0 00-.649-.936l-8-3a.998.998 0 00-.702 0l-8 3A1 1 0 003 5v7c0 2.663 1.384 4.987 3.088 6.797 2.428 2.581 5.465 4.097 5.465 4.097zm-1.303-8.481l6.644-6.644a.856.856 0 111.212 1.212l-7.25 7.25a.856.856 0 01-1.212 0l-3.75-3.75a.856.856 0 111.212-1.212l3.144 3.144z",{width:24}),k("M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z",{width:384,height:512}),m().memo(function(wr){var sr=wr.theme;return k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{d:"M25 26H111V111H25",fill:"var(--icon-fill-color)"}),(0,c.jsx)("path",{d:"M25 111C25 80.2068 25 49.4135 25 26M25 26C48.6174 26 72.2348 26 111 26H25ZM25 26C53.3671 26 81.7343 26 111 26H25ZM111 26C111 52.303 111 78.606 111 111V26ZM111 26C111 51.2947 111 76.5893 111 111V26ZM111 111C87.0792 111 63.1585 111 25 111H111ZM111 111C87.4646 111 63.9293 111 25 111H111ZM25 111C25 81.1514 25 51.3028 25 26V111Z",stroke:"var(--icon-fill-color)",strokeWidth:"2"}),(0,c.jsx)("path",{d:"M100 100H160V160H100",fill:"var(--icon-fill-color)"}),(0,c.jsx)("path",{d:"M100 160C100 144.106 100 128.211 100 100M100 100C117.706 100 135.412 100 160 100H100ZM100 100C114.214 100 128.428 100 160 100H100ZM160 100C160 120.184 160 140.369 160 160V100ZM160 100C160 113.219 160 126.437 160 160V100ZM160 160C145.534 160 131.068 160 100 160H160ZM160 160C143.467 160 126.934 160 100 160H160ZM100 160C100 143.661 100 127.321 100 100V160Z",stroke:"var(--icon-fill-color)",strokeWidth:"2"}),(0,c.jsxs)("g",{fill:W(sr),stroke:"var(--icon-fill-color)",strokeWidth:"6",children:[(0,c.jsx)("rect",{x:"2.5",y:"2.5",width:"30",height:"30"}),(0,c.jsx)("rect",{x:"2.5",y:"149.5",width:"30",height:"30"}),(0,c.jsx)("rect",{x:"147.5",y:"149.5",width:"30",height:"30"}),(0,c.jsx)("rect",{x:"147.5",y:"2.5",width:"30",height:"30"})]})]}),{width:182,height:182,mirror:!0})})),Ne=m().memo(function(wr){var sr=wr.theme;return k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{d:"M25 26H111V111H25",fill:"var(--icon-fill-color)"}),(0,c.jsx)("path",{d:"M25 111C25 80.2068 25 49.4135 25 26M25 26C48.6174 26 72.2348 26 111 26H25ZM25 26C53.3671 26 81.7343 26 111 26H25ZM111 26C111 52.303 111 78.606 111 111V26ZM111 26C111 51.2947 111 76.5893 111 111V26ZM111 111C87.0792 111 63.1585 111 25 111H111ZM111 111C87.4646 111 63.9293 111 25 111H111ZM25 111C25 81.1514 25 51.3028 25 26V111Z",stroke:"var(--icon-fill-color)",strokeWidth:"2"}),(0,c.jsx)("path",{d:"M100 100H160V160H100",fill:"var(--icon-fill-color)"}),(0,c.jsx)("path",{d:"M100 160C100 144.106 100 128.211 100 100M100 100C117.706 100 135.412 100 160 100H100ZM100 100C114.214 100 128.428 100 160 100H100ZM160 100C160 120.184 160 140.369 160 160V100ZM160 100C160 113.219 160 126.437 160 160V100ZM160 160C145.534 160 131.068 160 100 160H160ZM160 160C143.467 160 126.934 160 100 160H160ZM100 160C100 143.661 100 127.321 100 100V160Z",stroke:"var(--icon-fill-color)",strokeWidth:"2"}),(0,c.jsxs)("g",{fill:W(sr),stroke:"var(--icon-fill-color)",strokeWidth:"6",children:[(0,c.jsx)("rect",{x:"2.5",y:"2.5",width:"30",height:"30"}),(0,c.jsx)("rect",{x:"78.5",y:"149.5",width:"30",height:"30"}),(0,c.jsx)("rect",{x:"147.5",y:"149.5",width:"30",height:"30"}),(0,c.jsx)("rect",{x:"147.5",y:"78.5",width:"30",height:"30"}),(0,c.jsx)("rect",{x:"105.5",y:"2.5",width:"30",height:"30"}),(0,c.jsx)("rect",{x:"2.5",y:"102.5",width:"30",height:"30"})]})]}),{width:182,height:182,mirror:!0})}),Ye=k((0,c.jsx)("g",{strokeWidth:1.25,children:(0,c.jsx)("path",{d:"M5.879 2.625h8.242a3.27 3.27 0 0 1 3.254 3.254v8.242a3.27 3.27 0 0 1-3.254 3.254H5.88a3.27 3.27 0 0 1-3.254-3.254V5.88A3.27 3.27 0 0 1 5.88 2.626l-.001-.001ZM4.518 16.118l7.608-12.83m.198 13.934 5.051-9.897M2.778 9.675l9.348-6.387m-7.608 12.83 12.857-8.793"})}),J),Qe=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{d:"M5.879 2.625h8.242a3.254 3.254 0 0 1 3.254 3.254v8.242a3.254 3.254 0 0 1-3.254 3.254H5.88a3.254 3.254 0 0 1-3.254-3.254V5.88a3.254 3.254 0 0 1 3.254-3.254Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,c.jsx)("mask",{id:"FillHachureIcon",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:2,y:2,width:16,height:16,children:(0,c.jsx)("path",{d:"M5.879 2.625h8.242a3.254 3.254 0 0 1 3.254 3.254v8.242a3.254 3.254 0 0 1-3.254 3.254H5.88a3.254 3.254 0 0 1-3.254-3.254V5.88a3.254 3.254 0 0 1 3.254-3.254Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.25"})}),(0,c.jsx)("g",{mask:"url(#FillHachureIcon)",children:(0,c.jsx)("path",{d:"M2.258 15.156 15.156 2.258M7.324 20.222 20.222 7.325m-20.444 5.35L12.675-.222m-8.157 18.34L17.416 5.22",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})]}),J),rt=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("g",{clipPath:"url(#a)",children:[(0,c.jsx)("path",{d:"M5.879 2.625h8.242a3.254 3.254 0 0 1 3.254 3.254v8.242a3.254 3.254 0 0 1-3.254 3.254H5.88a3.254 3.254 0 0 1-3.254-3.254V5.88a3.254 3.254 0 0 1 3.254-3.254Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,c.jsx)("mask",{id:"FillCrossHatchIcon",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:-1,y:-1,width:22,height:22,children:(0,c.jsx)("path",{d:"M2.426 15.044 15.044 2.426M7.383 20 20 7.383M0 12.617 12.617 0m-7.98 17.941L17.256 5.324m-2.211 12.25L2.426 4.956M20 12.617 7.383 0m5.234 20L0 7.383m17.941 7.98L5.324 2.745",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,c.jsx)("g",{mask:"url(#FillCrossHatchIcon)",children:(0,c.jsx)("path",{d:"M14.121 2H5.88A3.879 3.879 0 0 0 2 5.879v8.242A3.879 3.879 0 0 0 5.879 18h8.242A3.879 3.879 0 0 0 18 14.121V5.88A3.879 3.879 0 0 0 14.121 2Z",fill:"currentColor"})})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),ft=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("g",{clipPath:"url(#a)",children:(0,c.jsx)("path",{d:"M4.91 2.625h10.18a2.284 2.284 0 0 1 2.285 2.284v10.182a2.284 2.284 0 0 1-2.284 2.284H4.909a2.284 2.284 0 0 1-2.284-2.284V4.909a2.284 2.284 0 0 1 2.284-2.284Z",stroke:"currentColor",strokeWidth:"1.25"})}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),N(N({},J),{},{fill:"currentColor"})),at=k((0,c.jsx)(c.Fragment,{children:(0,c.jsx)("path",{d:"M4.167 10h11.666",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),J),ut=k((0,c.jsx)("path",{d:"M5 10h10",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),J),Ot=k((0,c.jsx)("path",{d:"M5 10h10",stroke:"currentColor",strokeWidth:"3.75",strokeLinecap:"round",strokeLinejoin:"round"}),J),Pt=k((0,c.jsxs)("g",{strokeWidth:"2",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M5 12h2"}),(0,c.jsx)("path",{d:"M17 12h2"}),(0,c.jsx)("path",{d:"M11 12h2"})]}),S),Et=k((0,c.jsxs)("g",{strokeWidth:"2",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M4 12v.01"}),(0,c.jsx)("path",{d:"M8 12v.01"}),(0,c.jsx)("path",{d:"M12 12v.01"}),(0,c.jsx)("path",{d:"M16 12v.01"}),(0,c.jsx)("path",{d:"M20 12v.01"})]}),S),Mt=k((0,c.jsx)("path",{d:"M2.5 12.038c1.655-.885 5.9-3.292 8.568-4.354 2.668-1.063.101 2.821 1.32 3.104 1.218.283 5.112-1.814 5.112-1.814",strokeWidth:"1.25"}),J),Yt=k((0,c.jsx)("path",{d:"M2.5 12.563c1.655-.886 5.9-3.293 8.568-4.355 2.668-1.062.101 2.822 1.32 3.105 1.218.283 5.112-1.814 5.112-1.814m-13.469 2.23c2.963-1.586 6.13-5.62 7.468-4.998 1.338.623-1.153 4.11-.132 5.595 1.02 1.487 6.133-1.43 6.133-1.43",strokeWidth:"1.25"}),J),lt=k((0,c.jsx)("path",{d:"M2.5 11.936c1.737-.879 8.627-5.346 10.42-5.268 1.795.078-.418 5.138.345 5.736.763.598 3.53-1.789 4.235-2.147M2.929 9.788c1.164-.519 5.47-3.28 6.987-3.114 1.519.165 1 3.827 2.121 4.109 1.122.281 3.839-2.016 4.606-2.42",strokeWidth:"1.25"}),J),ot=k((0,c.jsxs)("svg",{strokeWidth:"1.5",children:[(0,c.jsx)("path",{d:"M3.33334 9.99998V6.66665C3.33334 6.04326 3.33403 4.9332 3.33539 3.33646C4.95233 3.33436 6.06276 3.33331 6.66668 3.33331H10"}),(0,c.jsx)("path",{d:"M13.3333 3.33331V3.34331"}),(0,c.jsx)("path",{d:"M16.6667 3.33331V3.34331"}),(0,c.jsx)("path",{d:"M16.6667 6.66669V6.67669"}),(0,c.jsx)("path",{d:"M16.6667 10V10.01"}),(0,c.jsx)("path",{d:"M3.33334 13.3333V13.3433"}),(0,c.jsx)("path",{d:"M16.6667 13.3333V13.3433"}),(0,c.jsx)("path",{d:"M3.33334 16.6667V16.6767"}),(0,c.jsx)("path",{d:"M6.66666 16.6667V16.6767"}),(0,c.jsx)("path",{d:"M10 16.6667V16.6767"}),(0,c.jsx)("path",{d:"M13.3333 16.6667V16.6767"}),(0,c.jsx)("path",{d:"M16.6667 16.6667V16.6767"})]}),J),mt=k((0,c.jsxs)("g",{strokeWidth:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M4 12v-4a4 4 0 0 1 4 -4h4"}),(0,c.jsx)("line",{x1:"16",y1:"4",x2:"16",y2:"4.01"}),(0,c.jsx)("line",{x1:"20",y1:"4",x2:"20",y2:"4.01"}),(0,c.jsx)("line",{x1:"20",y1:"8",x2:"20",y2:"8.01"}),(0,c.jsx)("line",{x1:"20",y1:"12",x2:"20",y2:"12.01"}),(0,c.jsx)("line",{x1:"4",y1:"16",x2:"4",y2:"16.01"}),(0,c.jsx)("line",{x1:"20",y1:"16",x2:"20",y2:"16.01"}),(0,c.jsx)("line",{x1:"4",y1:"20",x2:"4",y2:"20.01"}),(0,c.jsx)("line",{x1:"8",y1:"20",x2:"8",y2:"20.01"}),(0,c.jsx)("line",{x1:"12",y1:"20",x2:"12",y2:"20.01"}),(0,c.jsx)("line",{x1:"16",y1:"20",x2:"16",y2:"20.01"}),(0,c.jsx)("line",{x1:"20",y1:"20",x2:"20",y2:"20.01"})]}),S),pt=k((0,c.jsx)("path",{d:"M6 10H34",stroke:"currentColor",strokeWidth:2,fill:"none"}),{width:40,height:20}),ht=m().memo(function(wr){var sr=wr.flip,fr=sr!==void 0&&sr;return k((0,c.jsxs)("g",{transform:fr?"translate(40, 0) scale(-1, 1)":"",stroke:"currentColor",strokeWidth:2,fill:"none",children:[(0,c.jsx)("path",{d:"M34 10H6M34 10L27 5M34 10L27 15"}),(0,c.jsx)("path",{d:"M27.5 5L34.5 10L27.5 15"})]}),{width:40,height:20})}),yt=m().memo(function(wr){var sr=wr.flip,fr=sr!==void 0&&sr;return k((0,c.jsxs)("g",{stroke:"currentColor",fill:"currentColor",transform:fr?"translate(40, 0) scale(-1, 1)":"",children:[(0,c.jsx)("path",{d:"M32 10L6 10",strokeWidth:2}),(0,c.jsx)("circle",{r:"4",transform:"matrix(-1 0 0 1 30 10)"})]}),{width:40,height:20})}),Ct=m().memo(function(wr){var sr=wr.flip,fr=sr!==void 0&&sr;return k((0,c.jsx)("g",{transform:fr?"translate(40, 0) scale(-1, 1)":"",children:(0,c.jsx)("path",{d:"M34 10H5.99996M34 10L34 5M34 10L34 15",stroke:"currentColor",strokeWidth:2,fill:"none"})}),{width:40,height:20})}),Bt=m().memo(function(wr){var sr=wr.flip,fr=sr!==void 0&&sr;return k((0,c.jsxs)("g",{stroke:"currentColor",fill:"currentColor",transform:fr?"translate(40, 0) scale(-1, 1)":"",children:[(0,c.jsx)("path",{d:"M32 10L6 10",strokeWidth:2}),(0,c.jsx)("path",{d:"M27.5 5.5L34.5 10L27.5 14.5L27.5 5.5"})]}),{width:40,height:20})}),zt=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("g",{clipPath:"url(#a)",children:(0,c.jsx)("path",{d:"M14.167 6.667a3.333 3.333 0 0 0-3.334-3.334H9.167a3.333 3.333 0 0 0 0 6.667h1.666a3.333 3.333 0 0 1 0 6.667H9.167a3.333 3.333 0 0 1-3.334-3.334",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),tr=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("g",{clipPath:"url(#a)",children:(0,c.jsx)("path",{d:"M5 16.667V3.333L10 15l5-11.667v13.334",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),cr=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("g",{clipPath:"url(#a)",children:(0,c.jsx)("path",{d:"M5.833 3.333v13.334h8.334",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),mr=k((0,c.jsx)(c.Fragment,{children:(0,c.jsx)("path",{d:"m1.667 3.333 6.666 13.334M8.333 3.333 1.667 16.667M11.667 3.333v13.334h6.666",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),J),Ft=k((0,c.jsx)(c.Fragment,{children:(0,c.jsx)("g",{stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,c.jsx)("path",{d:"M5.833 16.667v-10a3.333 3.333 0 0 1 3.334-3.334h1.666a3.333 3.333 0 0 1 3.334 3.334v10M5.833 10.833h8.334"})})}),J),xt=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,c.jsx)("path",{d:"M5.833 6.667 2.5 10l3.333 3.333M14.167 6.667 17.5 10l-3.333 3.333M11.667 3.333 8.333 16.667"})}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"a",children:(0,c.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),J),At=k((0,c.jsxs)("g",{stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"4",y1:"8",x2:"20",y2:"8"}),(0,c.jsx)("line",{x1:"4",y1:"12",x2:"12",y2:"12"}),(0,c.jsx)("line",{x1:"4",y1:"16",x2:"16",y2:"16"})]}),S),Tt=k((0,c.jsxs)("g",{stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"4",y1:"8",x2:"20",y2:"8"}),(0,c.jsx)("line",{x1:"8",y1:"12",x2:"16",y2:"12"}),(0,c.jsx)("line",{x1:"6",y1:"16",x2:"18",y2:"16"})]}),S),nr=k((0,c.jsxs)("g",{stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"4",y1:"8",x2:"20",y2:"8"}),(0,c.jsx)("line",{x1:"10",y1:"12",x2:"20",y2:"12"}),(0,c.jsx)("line",{x1:"8",y1:"16",x2:"20",y2:"16"})]}),S),yr=m().memo(function(wr){return wr.theme,k((0,c.jsxs)("g",{strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"4",y1:"4",x2:"20",y2:"4"}),(0,c.jsx)("rect",{x:"9",y:"8",width:"6",height:"12",rx:"2"})]}),S)}),kr=m().memo(function(wr){return wr.theme,k((0,c.jsxs)("g",{strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"4",y1:"20",x2:"20",y2:"20"}),(0,c.jsx)("rect",{x:"9",y:"4",width:"6",height:"12",rx:"2"})]}),S)}),Tr=m().memo(function(wr){return wr.theme,k((0,c.jsxs)("g",{strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("line",{x1:"4",y1:"12",x2:"9",y2:"12"}),(0,c.jsx)("line",{x1:"15",y1:"12",x2:"20",y2:"12"}),(0,c.jsx)("rect",{x:"9",y:"6",width:"6",height:"12",rx:"2"})]}),S)}),Or=k((0,c.jsx)("path",{d:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z",fill:"currentColor"}),{width:640,height:512}),Rt=(k((0,c.jsx)("path",{d:"M480 416C497.7 416 512 430.3 512 448C512 465.7 497.7 480 480 480H150.6C133.7 480 117.4 473.3 105.4 461.3L25.37 381.3C.3786 356.3 .3786 315.7 25.37 290.7L258.7 57.37C283.7 32.38 324.3 32.38 349.3 57.37L486.6 194.7C511.6 219.7 511.6 260.3 486.6 285.3L355.9 416H480zM265.4 416L332.7 348.7L195.3 211.3L70.63 336L150.6 416L265.4 416z"})),k((0,c.jsxs)("g",{strokeWidth:1.25,children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),(0,c.jsx)("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),(0,c.jsx)("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),(0,c.jsx)("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"})]}),S)),dt=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),(0,c.jsx)("path",{d:"M7 11l5 5l5 -5"}),(0,c.jsx)("path",{d:"M12 4l0 12"})]}),S),gt=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"}),(0,c.jsx)("path",{d:"M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"})]}),S),wt=k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),(0,c.jsx)("path",{d:"M12 17l0 .01"}),(0,c.jsx)("path",{d:"M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4"})]}),S),Ut=(k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M7 4v16l13 -8z"})]}),S),k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z",strokeWidth:"0",fill:"currentColor"})]}),S),k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M5 12l5 5l10 -10"})]}),S),k((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M10.24 3.957l-8.422 14.06a1.989 1.989 0 0 0 1.7 2.983h16.845a1.989 1.989 0 0 0 1.7 -2.983l-8.423 -14.06a1.989 1.989 0 0 0 -3.4 0z"}),(0,c.jsx)("path",{d:"M12 9v4"}),(0,c.jsx)("path",{d:"M12 17h.01"})]}),S)),ar=k((0,c.jsxs)("g",{strokeWidth:1.25,children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M11 7l6 6"}),(0,c.jsx)("path",{d:"M4 16l11.7 -11.7a1 1 0 0 1 1.4 0l2.6 2.6a1 1 0 0 1 0 1.4l-11.7 11.7h-4v-4z"})]}),S),ir=k((0,c.jsxs)("g",{strokeWidth:1.5,children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M12 3l-4 7h8z"}),(0,c.jsx)("path",{d:"M17 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),(0,c.jsx)("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"})]}),S),dr=k((0,c.jsxs)("g",{strokeWidth:1.5,children:[(0,c.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,c.jsx)("path",{d:"M4 7l16 0"}),(0,c.jsx)("path",{d:"M4 17l16 0"}),(0,c.jsx)("path",{d:"M7 4l0 16"}),(0,c.jsx)("path",{d:"M17 4l0 16"})]}),S),br=k((0,c.jsx)("path",{fill:"currentColor",d:"M407.48,111.18C335.587,108.103 269.573,152.338 245.08,220C220.587,152.338 154.573,108.103 82.68,111.18C80.285,168.229 107.577,222.632 154.74,254.82C178.908,271.419 193.35,298.951 193.27,328.27L193.27,379.13L296.9,379.13L296.9,328.27C296.816,298.953 311.255,271.42 335.42,254.82C382.596,222.644 409.892,168.233 407.48,111.18Z"})),hr=k((0,c.jsxs)("g",{strokeWidth:"1.25",children:[(0,c.jsx)("path",{d:"M4.16602 10H15.8327"}),(0,c.jsx)("path",{d:"M12.5 13.3333L15.8333 10"}),(0,c.jsx)("path",{d:"M12.5 6.66666L15.8333 9.99999"})]}),J),Ir=k((0,c.jsxs)("g",{fill:"none",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",transform:"rotate(90 10 10)",children:[(0,c.jsx)("path",{clipRule:"evenodd",d:"m9.644 13.69 7.774-7.773a2.357 2.357 0 0 0-3.334-3.334l-7.773 7.774L8 12l1.643 1.69Z"}),(0,c.jsx)("path",{d:"m13.25 3.417 3.333 3.333M10 10l2-2M5 15l3-3M2.156 17.894l1-1M5.453 19.029l-.144-1.407M2.377 11.887l.866 1.118M8.354 17.273l-1.194-.758M.953 14.652l1.408.13"})]}),20)},7021:function(et,fe,t){t.d(fe,{Z:function(){return Ae}});var e={};t.r(e),t.d(e,{ChangeCanvasBackground:function(){return ee},ClearCanvas:function(){return D},Export:function(){return te},Help:function(){return E},LiveCollaborationTrigger:function(){return oe},LoadScene:function(){return C},SaveAsImage:function(){return _},SaveToActiveFile:function(){return L},Socials:function(){return re},ToggleTheme:function(){return F}});var P=t(8242),w=t(7104),m=t(8950),v=t(2975),I=t.n(v),x=t(2529),c=t(8227),f=t(8935),Z=t(5735),N=t(3858),W=t(5463),k=t(3379),S=t.n(k),J=t(7795),ce=t.n(J),he=t(569),ve=t.n(he),le=t(3565),G=t.n(le),U=t(9216),H=t.n(U),M=t(4589),A=t.n(M),b=t(4343),y={};y.styleTagTransform=A(),y.setAttributes=G(),y.insert=ve().bind(null,"head"),y.domAPI=ce(),y.insertStyleElement=H(),S()(b.Z,y),b.Z&&b.Z.locals&&b.Z.locals;var h=t(45),d=t(3607),r=t(8973),n=t(453),p=t(100),a=t(7827),l=t(9247),u=t(4512),C=function(){var Re=(0,c.QT)().t,je=(0,P.eh)(),ye=(0,P.bd)();if(!je.isActionEnabled(W._d))return null;var Ee=function(){var Oe=(0,m.Z)(I().mark(function ge(){return I().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(ue.t0=!ye.length,ue.t0){ue.next=5;break}return ue.next=4,(0,a._)({title:Re("overwriteConfirm.modal.loadFromFile.title"),actionLabel:Re("overwriteConfirm.modal.loadFromFile.button"),color:"warning",description:(0,u.jsx)(l.Z,{i18nKey:"overwriteConfirm.modal.loadFromFile.description",bold:function(se){return(0,u.jsx)("strong",{children:se})},br:function(){return(0,u.jsx)("br",{})}})});case 4:ue.t0=ue.sent;case 5:if(!ue.t0){ue.next=7;break}je.executeAction(W._d);case 7:case"end":return ue.stop()}},ge)}));return function(){return Oe.apply(this,arguments)}}();return(0,u.jsx)(Z.Z,{icon:f.Tl,onSelect:Ee,"data-testid":"load-button",shortcut:(0,x.C)("loadScene"),"aria-label":Re("buttons.load"),children:Re("buttons.load")})};C.displayName="LoadScene";var L=function(){var Re=(0,c.QT)().t,je=(0,P.eh)();return je.isActionEnabled(W.ns)?(0,u.jsx)(Z.Z,{shortcut:(0,x.C)("saveScene"),"data-testid":"save-button",onSelect:function(){return je.executeAction(W.ns)},icon:f.a1,"aria-label":"".concat(Re("buttons.save")),children:"".concat(Re("buttons.save"))}):null};L.displayName="SaveToActiveFile";var _=function(){var Re=(0,P.n9)(),je=(0,c.QT)().t;return(0,u.jsx)(Z.Z,{icon:f.J8,"data-testid":"image-export-button",onSelect:function(){return Re({openDialog:"imageExport"})},shortcut:(0,x.C)("imageExport"),"aria-label":je("buttons.exportImage"),children:je("buttons.exportImage")})};_.displayName="SaveAsImage";var E=function(){var Re=(0,c.QT)().t,je=(0,P.eh)();return(0,u.jsx)(Z.Z,{"data-testid":"help-menu-item",icon:f.by,onSelect:function(){return je.executeAction(W.jY)},shortcut:"?","aria-label":Re("helpDialog.title"),children:Re("helpDialog.title")})};E.displayName="Help";var D=function(){var Re=(0,c.QT)().t,je=(0,d.b9)(r.w,n.yE);return(0,P.eh)().isActionEnabled(W.mo)?(0,u.jsx)(Z.Z,{icon:f.XH,onSelect:function(){return je("clearCanvas")},"data-testid":"clear-canvas-button","aria-label":Re("buttons.clearReset"),children:Re("buttons.clearReset")}):null};D.displayName="ClearCanvas";var F=function(){var Re=(0,c.QT)().t,je=(0,p.I)(),ye=(0,P.eh)();return ye.isActionEnabled(W.Zp)?(0,u.jsx)(Z.Z,{onSelect:function(Ee){return Ee.preventDefault(),ye.executeAction(W.Zp)},icon:je.theme==="dark"?f.NW:f.kL,"data-testid":"toggle-dark-mode",shortcut:(0,x.C)("toggleTheme"),"aria-label":je.theme==="dark"?Re("buttons.lightMode"):Re("buttons.darkMode"),children:je.theme==="dark"?Re("buttons.lightMode"):Re("buttons.darkMode")}):null};F.displayName="ToggleTheme";var ee=function(){var Re=(0,c.QT)().t,je=(0,p.I)(),ye=(0,P.eh)(),Ee=(0,P.hY)();return je.viewModeEnabled||!Ee.UIOptions.canvasActions.changeViewBackgroundColor?null:(0,u.jsxs)("div",{style:{marginTop:"0.5rem"},children:[(0,u.jsx)("div",{"data-testid":"canvas-background-label",style:{fontSize:".75rem",marginBottom:".5rem"},children:Re("labels.canvasBackground")}),(0,u.jsx)("div",{style:{padding:"0 0.625rem"},children:ye.renderAction("changeViewBackgroundColor")})]})};ee.displayName="ChangeCanvasBackground";var te=function(){var Re=(0,c.QT)().t,je=(0,P.n9)();return(0,u.jsx)(Z.Z,{icon:f.Hy,onSelect:function(){je({openDialog:"jsonExport"})},"data-testid":"json-export-button","aria-label":Re("buttons.export"),children:Re("buttons.export")})};te.displayName="Export";var re=function(){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(N.Z,{icon:f.ET,href:"https://github.com/excalidraw/excalidraw","aria-label":"GitHub",children:"GitHub"}),(0,u.jsx)(N.Z,{icon:f.D7,href:"https://discord.gg/UexuTaE","aria-label":"Discord",children:"Discord"}),(0,u.jsx)(N.Z,{icon:f.Zm,href:"https://twitter.com/excalidraw","aria-label":"Twitter",children:"Twitter"})]})};re.displayName="Socials";var oe=function(Re){var je=Re.onSelect,ye=Re.isCollaborating,Ee=(0,c.QT)().t;return(0,u.jsx)(Z.Z,{"data-testid":"collab-button",icon:f.jn,className:(0,h.Z)({"active-collab":ye}),onSelect:je,children:Ee("labels.liveCollaboration")})};oe.displayName="LiveCollaborationTrigger";var Y=t(4704),V=t(6922),ie=t(9827),we=t(4572),Ae=Object.assign((0,V.$)("MainMenu",function(Re){var je=Re.children,ye=Re.onSelect,Ee=(0,we.R6)().MainMenuTunnel,Oe=(0,P.Fy)(),ge=(0,p.I)(),ue=(0,P.n9)(),se=Oe.editor.isMobile?void 0:function(){return ue({openMenu:null})};return(0,u.jsx)(Ee.In,{children:(0,u.jsxs)(w.Z,{open:ge.openMenu==="canvas",children:[(0,u.jsx)(w.Z.Trigger,{onToggle:function(){ue({openMenu:ge.openMenu==="canvas"?null:"canvas"})},"data-testid":"main-menu-trigger",className:"main-menu-trigger",children:f.RY}),(0,u.jsxs)(w.Z.Content,{onClickOutside:se,onSelect:(0,ie.Mj)(ye,function(){ue({openMenu:null})}),children:[je,Oe.editor.isMobile&&ge.collaborators.size>0&&(0,u.jsxs)("fieldset",{className:"UserList-Wrapper",children:[(0,u.jsx)("legend",{children:(0,c.t)("labels.collaborators")}),(0,u.jsx)(Y.Z,{mobile:!0,collaborators:ge.collaborators})]})]})]})})}),{Trigger:w.Z.Trigger,Item:w.Z.Item,ItemLink:w.Z.ItemLink,ItemCustom:w.Z.ItemCustom,Group:w.Z.Group,Separator:w.Z.Separator,DefaultItems:e})},9937:function(et,fe,t){t.d(fe,{wL:function(){return Re},iC:function(){return y},vL:function(){return Qe},bY:function(){return Ye},gK:function(){return Ne},$C:function(){return E},oc:function(){return l},_9:function(){return Ot},HN:function(){return lt},qy:function(){return Ve},rk:function(){return Y},n5:function(){return oe},h6:function(){return Je},Rx:function(){return ut},Cc:function(){return mt},Hg:function(){return V},cW:function(){return Q},hs:function(){return ie},f:function(){return h},xY:function(){return at},Iw:function(){return r},$e:function(){return n},Vi:function(){return _},Ks:function(){return le},r8:function(){return Ee},I_:function(){return ye},ZB:function(){return He},pb:function(){return Oe},ut:function(){return D},iG:function(){return ee},k:function(){return we},sA:function(){return O},KL:function(){return Ae},LL:function(){return ge},PR:function(){return pt},tf:function(){return ot},EE:function(){return Be},qx:function(){return d},$n:function(){return Me},zK:function(){return Te},LO:function(){return je},CP:function(){return re},Zj:function(){return s},Yx:function(){return Ce},sS:function(){return be},kV:function(){return ae},sk:function(){return Ze},Oh:function(){return u},XI:function(){return C},WR:function(){return Et},$h:function(){return Mt},a6:function(){return Pt},HM:function(){return j},ay:function(){return a},dg:function(){return Yt},hR:function(){return me},Gj:function(){return ue},I8:function(){return ft},wZ:function(){return p},C6:function(){return F},ZF:function(){return z},nM:function(){return se},ah:function(){return $},UO:function(){return K},Kr:function(){return Se},oX:function(){return rt},_D:function(){return te},vf:function(){return L},V4:function(){return i},Dt:function(){return H},jP:function(){return b},Um:function(){return G},vU:function(){return M},G6:function(){return A},ED:function(){return U}});var e=t(7169),P=t(3379),w=t.n(P),m=t(7795),v=t.n(m),I=t(569),x=t.n(I),c=t(3565),f=t.n(c),Z=t(9216),N=t.n(Z),W=t(4589),k=t.n(W),S=t(6464),J={};J.styleTagTransform=k(),J.setAttributes=f(),J.insert=x().bind(null,"head"),J.domAPI=v(),J.insertStyleElement=N(),w()(S.Z,J);var ce=S.Z&&S.Z.locals?S.Z.locals:void 0,he=t(9240);function ve(ht,yt){var Ct=Object.keys(ht);if(Object.getOwnPropertySymbols){var Bt=Object.getOwnPropertySymbols(ht);yt&&(Bt=Bt.filter(function(zt){return Object.getOwnPropertyDescriptor(ht,zt).enumerable})),Ct.push.apply(Ct,Bt)}return Ct}var le,G=/Mac|iPod|iPhone|iPad/.test(navigator.platform),U=/^Win/.test(navigator.platform),H=/\b(android)\b/i.test(navigator.userAgent),M="netscape"in window&&navigator.userAgent.indexOf("rv:")>1&&navigator.userAgent.indexOf("Gecko")>1,A=navigator.userAgent.indexOf("Chrome")===-1&&navigator.userAgent.indexOf("Safari")!==-1,b=function(){var ht,yt;return((ht=navigator.brave)===null||ht===void 0||(yt=ht.isBrave)===null||yt===void 0?void 0:yt.name)==="isBrave"},y="Excalidraw",h=10,d=8,r=5,n=1,p=30,a=Math.PI/12,l={TEXT:"text",CROSSHAIR:"crosshair",GRABBING:"grabbing",GRAB:"grab",POINTER:"pointer",MOVE:"move",AUTO:""},u={MAIN:0,WHEEL:1,SECONDARY:2,TOUCH:-1},C={enabled:"all",disabled:"none",inheritFromUI:"var(--ui-pointerEvents)"};(function(ht){ht.COPY="copy",ht.PASTE="paste",ht.CUT="cut",ht.KEYDOWN="keydown",ht.KEYUP="keyup",ht.MOUSE_MOVE="mousemove",ht.RESIZE="resize",ht.UNLOAD="unload",ht.FOCUS="focus",ht.BLUR="blur",ht.DRAG_OVER="dragover",ht.DROP="drop",ht.GESTURE_END="gestureend",ht.BEFORE_UNLOAD="beforeunload",ht.GESTURE_START="gesturestart",ht.GESTURE_CHANGE="gesturechange",ht.POINTER_MOVE="pointermove",ht.POINTER_DOWN="pointerdown",ht.POINTER_UP="pointerup",ht.STATE_CHANGE="statechange",ht.WHEEL="wheel",ht.TOUCH_START="touchstart",ht.TOUCH_END="touchend",ht.HASHCHANGE="hashchange",ht.VISIBILITY_CHANGE="visibilitychange",ht.SCROLL="scroll",ht.EXCALIDRAW_LINK="excalidraw-link",ht.MENU_ITEM_SELECT="menu.itemSelect",ht.MESSAGE="message"})(le||(le={}));var L={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5},_={TEST:"test",DEVELOPMENT:"development"},E={SHAPE_ACTIONS_MENU:"App-menu__left"},D={Virgil:1,Helvetica:2,Cascadia:3,Assistant:4},F={LIGHT:"light",DARK:"dark"},ee={strokeColor:"#bbb",strokeWidth:2,strokeStyle:"solid",fillStyle:"solid",roughness:0,roundness:null,backgroundColor:"transparent",radius:8,nameOffsetY:3,nameColorLightTheme:"#999999",nameColorDarkTheme:"#7a7a7a",nameFontSize:14,nameLineHeight:1.25},te="Segoe UI Emoji",re=1,oe=20,Y=D.Virgil,V="left",ie="top",we=20,Ae={svg:"image/svg+xml",png:"image/png",jpg:"image/jpeg",gif:"image/gif",webp:"image/webp",bmp:"image/bmp",ico:"image/x-icon",avif:"image/avif",jfif:"image/jfif"},Re=["text/plain","text/html"],je=function(ht){for(var yt=1;yt<arguments.length;yt++){var Ct=arguments[yt]!=null?arguments[yt]:{};yt%2?ve(Object(Ct),!0).forEach(function(Bt){(0,e.Z)(ht,Bt,Ct[Bt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ht,Object.getOwnPropertyDescriptors(Ct)):ve(Object(Ct)).forEach(function(Bt){Object.defineProperty(ht,Bt,Object.getOwnPropertyDescriptor(Ct,Bt))})}return ht}({json:"application/json",excalidraw:"application/vnd.excalidraw+json",excalidrawlib:"application/vnd.excalidrawlib+json","excalidraw.svg":"image/svg+xml","excalidraw.png":"image/png",binary:"application/octet-stream"},Ae),ye={png:"png",svg:"svg",clipboard:"clipboard"},Ee={excalidraw:"excalidraw",excalidrawClipboard:"excalidraw/clipboard",excalidrawLibrary:"excalidrawlib",excalidrawClipboardWithAPI:"excalidraw-api/clipboard"},Oe=window.EXCALIDRAW_EXPORT_SOURCE||window.location.origin,ge=500,ue=300,se=500,j=100,i=.1,s=.1,O=300,z=ce.themeFilter,K={addLibrary:"addLibrary"},$={addLibrary:"addLibrary"},Q={canvasActions:{changeViewBackgroundColor:!0,clearCanvas:!0,export:{saveFileToDisk:!0},loadScene:!0,saveToActiveFile:!0,toggleTheme:null,saveAsImage:!0},tools:{image:!0}},ae=730,be=1e3,Ce=500,Ze=1229,Be=parseInt(ce.rightSidebarWidth),Te=2,He=[1,2,3],Ve=10,Je=1440,Me=2097152,me="http://www.w3.org/2000/svg",Se={excalidraw:2,excalidrawLibrary:2},Ne=5,Ye=.7,Qe=11,rt={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom"},ft={LEFT:"left",CENTER:"center",RIGHT:"right"},at=20,ut=.25,Ot=32,Pt={LEGACY:1,PROPORTIONAL_RADIUS:2,ADAPTIVE_RADIUS:3},Et="__precedingElement__",Mt={architect:0,artist:1,cartoonist:2},Yt={thin:1,bold:2,extraBold:4},lt={strokeColor:he.HO.black,backgroundColor:he.HO.transparent,fillStyle:"solid",strokeWidth:2,strokeStyle:"solid",roughness:Mt.artist,opacity:100,locked:!1},ot="library",mt={name:"default",defaultTab:ot},pt=new Set(["embeddable","image"])},4572:function(et,fe,t){t.d(fe,{A3:function(){return k},ZC:function(){return J},R6:function(){return S}});var e=t(9787),P=t.n(e);const w=ce=>{let he;const ve=new Set,le=(H,M)=>{const A=typeof H=="function"?H(he):H;if(!Object.is(A,he)){const b=he;he=M??typeof A!="object"?A:Object.assign({},he,A),ve.forEach(y=>y(he,b))}},G=()=>he,U={setState:le,getState:G,subscribe:H=>(ve.add(H),()=>ve.delete(H)),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."),ve.clear()}};return he=ce(le,G,U),U},m=ce=>ce?w(ce):w;var v=t(5668);const{useSyncExternalStoreWithSelector:I}=v,x=ce=>{typeof ce!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const he=typeof ce=="function"?m(ce):ce,ve=(le,G)=>function(U,H=U.getState,M){const A=I(U.subscribe,U.getState,U.getServerState||U.getState,H,M);return(0,e.useDebugValue)(A),A}(he,le,G);return Object.assign(ve,he),ve},c=ce=>ce?x(ce):x;var f,Z;const N=typeof window<"u"&&((f=window.document)!=null&&f.createElement||((Z=window.navigator)==null?void 0:Z.product)==="ReactNative")?P().useLayoutEffect:P().useEffect;function W(){const ce=c(he=>({current:new Array,version:0,set:he}));return{In:({children:he})=>{const ve=ce(G=>G.set),le=ce(G=>G.version);return N(()=>{ve(G=>({version:G.version+1}))},[]),N(()=>(ve(({current:G})=>({current:[...G,he]})),()=>ve(({current:G})=>({current:G.filter(U=>U!==he)}))),[he,le]),null},Out:()=>{const he=ce(ve=>ve.current);return P().createElement(P().Fragment,null,he)}}}var k=P().createContext(null),S=function(){return P().useContext(k)},J=function(){return P().useMemo(function(){return{MainMenuTunnel:W(),WelcomeScreenMenuHintTunnel:W(),WelcomeScreenToolbarHintTunnel:W(),WelcomeScreenHelpHintTunnel:W(),WelcomeScreenCenterTunnel:W(),FooterCenterTunnel:W(),DefaultSidebarTriggerTunnel:W(),DefaultSidebarTabTriggersTunnel:W(),OverwriteConfirmDialogTunnel:W(),jotaiScope:Symbol()}},[])}},100:function(et,fe,t){t.d(fe,{I:function(){return m},k:function(){return w}});var e=t(9787),P=t.n(e),w=P().createContext(null),m=function(){return P().useContext(w)}},7652:function(et,fe,t){t.d(fe,{KJ:function(){return N},OF:function(){return W},Uk:function(){return k},z8:function(){return Z}});var e,P,w=t(9937),m=t(5284),v=t(6853),I='<svg viewBox="0 0 24 24" stroke-width="1" width="28" height="28" xmlns="http://www.w3.org/2000/svg">',x='<path stroke="#1b1b1f" fill="#fff" d="m7.868 11.113 7.773 7.774a2.359 2.359 0 0 0 1.667.691 2.368 2.368 0 0 0 2.357-2.358c0-.625-.248-1.225-.69-1.667L11.201 7.78 9.558 9.469l-1.69 1.643v.001Zm10.273 3.606-3.333 3.333m-3.25-6.583 2 2m-7-7 3 3M3.664 3.625l1 1M2.529 6.922l1.407-.144m5.735-2.932-1.118.866M4.285 9.823l.758-1.194m1.863-6.207-.13 1.408"/>',c="data:".concat(w.LO.svg,",").concat(encodeURIComponent("".concat(I).concat(x,"</svg>"))),f="data:".concat(w.LO.svg,",").concat(encodeURIComponent("".concat(I).concat('<path d="M6.164 11.755a5.314 5.314 0 0 1-4.932-5.298 5.314 5.314 0 0 1 5.311-5.311 5.314 5.314 0 0 1 5.307 5.113l8.773 8.773a3.322 3.322 0 0 1 0 4.696l-.895.895a3.322 3.322 0 0 1-4.696 0l-8.868-8.868Z" style="fill:#fff"/>').concat(x,"</svg>"))),Z=function(S){S&&(S.style.cursor="")},N=function(S,J){S&&(S.style.cursor=J)},W=function(S,J){e&&e.theme===J||function(){var ce=J===w.C6.DARK;(e=document.createElement("canvas")).theme=J,e.height=20,e.width=20;var he=e.getContext("2d");he.lineWidth=1,he.beginPath(),he.arc(e.width/2,e.height/2,5,0,2*Math.PI),he.fillStyle=ce?m.black:m.white,he.fill(),he.strokeStyle=ce?m.white:m.black,he.stroke(),P=e.toDataURL(w.LO.svg)}(),N(S,"url(".concat(P,") ").concat(10," ").concat(10,", auto"))},k=function(S,J){if(S)if(J.activeTool.type==="selection")Z(S);else if((0,v.l$)(J))S.style.cursor=w.oc.GRAB;else if((0,v.EN)(J))W(S,J.theme);else if(J.activeTool.type==="laser"){var ce=J.theme===w.C6.LIGHT?c:f;S.style.cursor="url(".concat(ce,"), auto")}else["image","custom"].includes(J.activeTool.type)?J.activeTool.type!=="image"&&(S.style.cursor=w.oc.AUTO):S.style.cursor=w.oc.CROSSHAIR}},5796:function(et,fe,t){t.d(fe,{DQ:function(){return H},KG:function(){return a},Pn:function(){return u},Qk:function(){return U},Sf:function(){return p},Tu:function(){return l},Wr:function(){return A},ZY:function(){return b},_c:function(){return r},_p:function(){return C},bv:function(){return L},cT:function(){return y},g8:function(){return M},gY:function(){return F},lV:function(){return d},tW:function(){return n},vZ:function(){return ee},wf:function(){return h}});var e=t(1930),P=t(2577),w=t(7169),m=t(8950),v=t(2975),I=t.n(v),x=t(5605),c=t(6853),f=t(9937),Z=t(7651),N=t(3506),W=t(8227),k=t(4105),S=t(9827),J=t(6548),ce=t(4419),he=t(7994);function ve(te,re){var oe=Object.keys(te);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(te);re&&(Y=Y.filter(function(V){return Object.getOwnPropertyDescriptor(te,V).enumerable})),oe.push.apply(oe,Y)}return oe}function le(te){for(var re=1;re<arguments.length;re++){var oe=arguments[re]!=null?arguments[re]:{};re%2?ve(Object(oe),!0).forEach(function(Y){(0,w.Z)(te,Y,oe[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(oe)):ve(Object(oe)).forEach(function(Y){Object.defineProperty(te,Y,Object.getOwnPropertyDescriptor(oe,Y))})}return te}var G=function(){var te=(0,m.Z)(I().mark(function re(oe){var Y;return I().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(oe.type!==f.LO.png){V.next=18;break}return V.prev=1,V.next=4,Promise.resolve().then(t.bind(t,250));case 4:return V.next=6,V.sent.decodePngMetadata(oe);case 6:return V.abrupt("return",V.sent);case 9:if(V.prev=9,V.t0=V.catch(1),V.t0.message!=="INVALID"){V.next=15;break}throw new N.jk((0,W.t)("alerts.imageDoesNotContainScene"),"IMAGE_NOT_CONTAINS_SCENE_DATA");case 15:throw new N.jk((0,W.t)("alerts.cannotRestoreFromImage"));case 16:V.next=43;break;case 18:if(!("text"in Blob)){V.next=24;break}return V.next=21,oe.text();case 21:Y=V.sent,V.next=27;break;case 24:return V.next=26,new Promise(function(ie){var we=new FileReader;we.readAsText(oe,"utf8"),we.onloadend=function(){we.readyState===FileReader.DONE&&ie(we.result)}});case 26:Y=V.sent;case 27:if(oe.type!==f.LO.svg){V.next=43;break}return V.prev=28,V.next=31,Promise.resolve().then(t.bind(t,250));case 31:return V.next=33,V.sent.decodeSvgMetadata({svg:Y});case 33:return V.abrupt("return",V.sent);case 36:if(V.prev=36,V.t1=V.catch(28),V.t1.message!=="INVALID"){V.next=42;break}throw new N.jk((0,W.t)("alerts.imageDoesNotContainScene"),"IMAGE_NOT_CONTAINS_SCENE_DATA");case 42:throw new N.jk((0,W.t)("alerts.cannotRestoreFromImage"));case 43:return V.abrupt("return",Y);case 44:case"end":return V.stop()}},re,null,[[1,9],[28,36]])}));return function(re){return te.apply(this,arguments)}}(),U=function(te){var re;return te&&((re=te.name.match(/\.(json|excalidraw|png|svg)$/))===null||re===void 0?void 0:re[1])||null},H=function(te){return te==="png"||te==="svg"},M=function(te){var re=U(te);return re==="png"||re==="svg"},A=function(te){var re=(te||{}).type;return!!re&&Object.values(f.KL).includes(re)},b=function(){var te=(0,m.Z)(I().mark(function re(oe,Y,V,ie){var we,Ae;return I().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.next=2,G(oe);case 2:we=Re.sent,Re.prev=3,Re.prev=4,Ae=JSON.parse(we),Re.next=13;break;case 8:if(Re.prev=8,Re.t0=Re.catch(4),!A(oe)){Re.next=12;break}throw new N.jk((0,W.t)("alerts.imageDoesNotContainScene"),"IMAGE_NOT_CONTAINS_SCENE_DATA");case 12:throw Re.t0;case 13:if(!(0,ce.dS)(Ae)){Re.next=17;break}return Re.abrupt("return",{type:f.LO.excalidraw,data:(0,he.nu)({elements:(0,Z._M)(Ae.elements||[]),appState:le(le({theme:Y?.theme,fileHandle:ie||oe.handle||null},(0,c.s)(Ae.appState||{})),Y?(0,k.W)(Ae.elements||[],Y):{}),files:Ae.files},Y,V,{repairBindings:!0,refreshDimensions:!1})});case 17:if(!(0,ce.HT)(Ae)){Re.next=19;break}return Re.abrupt("return",{type:f.LO.excalidrawlib,data:Ae});case 19:case 26:throw new Error((0,W.t)("alerts.couldNotLoadInvalidFile"));case 22:if(Re.prev=22,Re.t1=Re.catch(3),!(Re.t1 instanceof N.jk)){Re.next=26;break}throw Re.t1;case 27:case"end":return Re.stop()}},re,null,[[3,22],[4,8]])}));return function(re,oe,Y,V){return te.apply(this,arguments)}}(),y=function(){var te=(0,m.Z)(I().mark(function re(oe,Y,V,ie){var we;return I().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,b(oe,Y,V,ie);case 2:if((we=Ae.sent).type===f.LO.excalidraw){Ae.next=5;break}throw new Error((0,W.t)("alerts.couldNotLoadInvalidFile"));case 5:return Ae.abrupt("return",we.data);case 6:case"end":return Ae.stop()}},re)}));return function(re,oe,Y,V){return te.apply(this,arguments)}}(),h=function(te){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"unpublished",oe=JSON.parse(te);if(!(0,ce.HT)(oe))throw new Error("Invalid library");var Y=oe.libraryItems||oe.library;return(0,he.wJ)(Y,re)},d=function(){var te=(0,m.Z)(I().mark(function re(oe){var Y,V=arguments;return I().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return Y=V.length>1&&V[1]!==void 0?V[1]:"unpublished",ie.t0=h,ie.next=4,G(oe);case 4:return ie.t1=ie.sent,ie.t2=Y,ie.abrupt("return",(0,ie.t0)(ie.t1,ie.t2));case 7:case"end":return ie.stop()}},re)}));return function(re){return te.apply(this,arguments)}}(),r=function(){var te=(0,m.Z)(I().mark(function re(oe){return I().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.abrupt("return",new Promise(function(){var V=(0,m.Z)(I().mark(function ie(we,Ae){return I().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(Re.prev=0,!(0,S.y8)(oe)){Re.next=5;break}return Re.next=4,oe;case 4:oe=Re.sent;case 5:oe.toBlob(function(je){if(!je)return Ae(new N.lp((0,W.t)("canvasError.canvasTooBig"),"CANVAS_POSSIBLY_TOO_BIG"));we(je)}),Re.next=11;break;case 8:Re.prev=8,Re.t0=Re.catch(0),Ae(Re.t0);case 11:case"end":return Re.stop()}},ie,null,[[0,8]])}));return function(ie,we){return V.apply(this,arguments)}}()));case 1:case"end":return Y.stop()}},re)}));return function(re){return te.apply(this,arguments)}}(),n=function(){var te=(0,m.Z)(I().mark(function re(oe){var Y;return I().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.prev=0,V.t0=window.crypto.subtle,V.next=4,ee(oe);case 4:return V.t1=V.sent,V.next=7,V.t0.digest.call(V.t0,"SHA-1",V.t1);case 7:return Y=V.sent,V.abrupt("return",(0,S.G3)(new Uint8Array(Y)));case 11:return V.prev=11,V.t2=V.catch(0),console.error(V.t2),V.abrupt("return",(0,x.x0)(40));case 15:case"end":return V.stop()}},re,null,[[0,11]])}));return function(re){return te.apply(this,arguments)}}(),p=function(){var te=(0,m.Z)(I().mark(function re(oe){return I().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.abrupt("return",new Promise(function(V,ie){var we=new FileReader;we.onload=function(){var Ae=we.result;V(Ae)},we.onerror=function(Ae){return ie(Ae)},we.readAsDataURL(oe)}));case 1:case"end":return Y.stop()}},re)}));return function(re){return te.apply(this,arguments)}}(),a=function(te){for(var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",oe=te.indexOf(","),Y=atob(te.slice(oe+1)),V=te.slice(0,oe).split(":")[1].split(";")[0],ie=new ArrayBuffer(Y.length),we=new Uint8Array(ie),Ae=0;Ae<Y.length;Ae++)we[Ae]=Y.charCodeAt(Ae);return new File([ie],re,{type:V})},l=function(){var te=(0,m.Z)(I().mark(function re(oe,Y){var V,ie,we,Ae,Re,je;return I().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(oe.type!==f.LO.svg){ye.next=2;break}return ye.abrupt("return",oe);case 2:return ye.next=4,Promise.all([t.e(4736).then(t.t.bind(t,4881,23)).then(function(Ee){return Ee.default}),t.e(4736).then(t.bind(t,5446)).then(function(Ee){return Ee.default})]);case 4:if(V=ye.sent,ie=(0,P.Z)(V,2),we=ie[0],Ae=ie[1],Re=Ae({pica:we({features:["js","wasm"]})}),Y.outputType&&(je=Y.outputType,Re._create_blob=function(Ee){return this.pica.toBlob(Ee.out_canvas,je,.8).then(function(Oe){return Ee.out_blob=Oe,Ee})}),A(oe)){ye.next=12;break}throw new Error((0,W.t)("errors.unsupportedFileType"));case 12:return ye.t0=File,ye.next=15,Re.toBlob(oe,{max:Y.maxWidthOrHeight});case 15:return ye.t1=ye.sent,ye.t2=[ye.t1],ye.t3=oe.name,ye.t4={type:Y.outputType||oe.type},ye.abrupt("return",new ye.t0(ye.t2,ye.t3,ye.t4));case 20:case"end":return ye.stop()}},re)}));return function(re,oe){return te.apply(this,arguments)}}(),u=function(te){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new File([new TextEncoder().encode(te)],re,{type:f.LO.svg})},C=function(){var te=(0,m.Z)(I().mark(function re(oe){var Y,V,ie,we,Ae=arguments;return I().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Y=Ae.length>1&&Ae[1]!==void 0?Ae[1]:"",Re.prev=1,Re.next=4,fetch(oe);case 4:V=Re.sent,Re.next=10;break;case 7:throw Re.prev=7,Re.t0=Re.catch(1),new Error((0,W.t)("errors.failedToFetchImage"));case 10:if(V.ok){Re.next=12;break}throw new Error((0,W.t)("errors.failedToFetchImage"));case 12:return Re.next=14,V.blob();case 14:if(!(ie=Re.sent).type||!A(ie)){Re.next=18;break}return we=Y||ie.name||"",Re.abrupt("return",new File([ie],we,{type:ie.type}));case 18:throw new Error((0,W.t)("errors.unsupportedFileType"));case 19:case"end":return Re.stop()}},re,null,[[1,7]])}));return function(re){return te.apply(this,arguments)}}(),L=function(){var te=(0,m.Z)(I().mark(function re(oe){var Y,V;return I().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return Y=oe.dataTransfer.files.item(0),ie.next=3,_(oe);case 3:if(V=ie.sent,!Y){ie.next=10;break}return ie.next=7,F(Y);case 7:ie.t0=ie.sent,ie.next=11;break;case 10:ie.t0=null;case 11:return ie.t1=ie.t0,ie.t2=V,ie.abrupt("return",{file:ie.t1,fileHandle:ie.t2});case 14:case"end":return ie.stop()}},re)}));return function(re){return te.apply(this,arguments)}}(),_=function(){var te=(0,m.Z)(I().mark(function re(oe){var Y,V;return I().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:if(!J.kr){ie.next=16;break}return ie.prev=1,Y=oe.dataTransfer.items[0],ie.next=5,Y.getAsFileSystemHandle();case 5:if(ie.t0=ie.sent,ie.t0){ie.next=8;break}ie.t0=null;case 8:return V=ie.t0,ie.abrupt("return",V);case 12:return ie.prev=12,ie.t1=ie.catch(1),console.warn(ie.t1.name,ie.t1.message),ie.abrupt("return",null);case 16:return ie.abrupt("return",null);case 17:case"end":return ie.stop()}},re,null,[[1,12]])}));return function(re){return te.apply(this,arguments)}}(),E=function(te){var re=null,oe="".concat((0,e.Z)(new Uint8Array(te).slice(0,8)).join(" ")," "),Y="255 216 255 ",V="71 73 70 56 57 97 ";return oe==="137 80 78 71 13 10 26 10 "?re=f.LO.png:oe.startsWith(Y)?re=f.LO.jpg:oe.startsWith(V)&&(re=f.LO.gif),re},D=function(te,re,oe){return new File([te],oe||"",{type:re})},F=function(){var te=(0,m.Z)(I().mark(function re(oe){var Y,V,ie,we,Ae,Re,je,ye;return I().wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(oe.type){Ee.next=28;break}if((Y=oe)===null||Y===void 0||(V=Y.name)===null||V===void 0||!V.endsWith(".excalidrawlib")){Ee.next=11;break}return Ee.t0=D,Ee.next=5,ee(oe);case 5:Ee.t1=Ee.sent,Ee.t2=f.LO.excalidrawlib,Ee.t3=oe.name,oe=(0,Ee.t0)(Ee.t1,Ee.t2,Ee.t3),Ee.next=26;break;case 11:if((ie=oe)===null||ie===void 0||(we=ie.name)===null||we===void 0||!we.endsWith(".excalidraw")){Ee.next=21;break}return Ee.t4=D,Ee.next=15,ee(oe);case 15:Ee.t5=Ee.sent,Ee.t6=f.LO.excalidraw,Ee.t7=oe.name,oe=(0,Ee.t4)(Ee.t5,Ee.t6,Ee.t7),Ee.next=26;break;case 21:return Ee.next=23,ee(oe);case 23:Ae=Ee.sent,(Re=E(Ae))&&(oe=D(Ae,Re,oe.name));case 26:Ee.next=34;break;case 28:if(!A(oe)){Ee.next=34;break}return Ee.next=31,ee(oe);case 31:je=Ee.sent,(ye=E(je))&&ye!==oe.type&&(oe=D(je,ye,oe.name));case 34:return Ee.abrupt("return",oe);case 35:case"end":return Ee.stop()}},re)}));return function(re){return te.apply(this,arguments)}}(),ee=function(te){return"arrayBuffer"in te?te.arrayBuffer():new Promise(function(re,oe){var Y=new FileReader;Y.onload=function(V){var ie;if((ie=V.target)===null||ie===void 0||!ie.result)return oe(new Error("Couldn't convert blob to ArrayBuffer"));re(V.target.result)},Y.readAsArrayBuffer(te)})}},6548:function(et,fe,t){t.d(fe,{I$:function(){return W},NL:function(){return k},kr:function(){return m}});var e=t(1930),P=t(8950),w=t(2975),m=function(){if(typeof self>"u")return!1;if("top"in self&&self!==top)try{}catch{return!1}else if("showOpenFilePicker"in self)return"showOpenFilePicker";return!1}(),v=m?t.e(4736).then(t.bind(t,7464)):t.e(4736).then(t.bind(t,3948));function I(){return I=(0,P.Z)(w.mark(function S(){var J,ce=arguments;return w.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,v;case 2:return he.abrupt("return",(J=he.sent).default.apply(J,ce));case 3:case"end":return he.stop()}},S)})),I.apply(this,arguments)}m?t.e(4736).then(t.bind(t,4036)):t.e(4736).then(t.bind(t,7693));var x=m?t.e(4736).then(t.bind(t,357)):t.e(4736).then(t.bind(t,341));function c(){return c=(0,P.Z)(w.mark(function S(){var J,ce=arguments;return w.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,x;case 2:return he.abrupt("return",(J=he.sent).default.apply(J,ce));case 3:case"end":return he.stop()}},S)})),c.apply(this,arguments)}var f=t(9937),Z=t(3506),N=t(9827),W=function(S){var J,ce,he,ve=(J=S.extensions)===null||J===void 0?void 0:J.reduce(function(G,U){return G.push(f.LO[U]),G},[]),le=(ce=S.extensions)===null||ce===void 0?void 0:ce.reduce(function(G,U){return U==="jpg"?G.concat(".jpg",".jpeg"):G.concat(".".concat(U))},[]);return function(){return I.apply(this,arguments)}({description:S.description,extensions:le,mimeTypes:ve,multiple:(he=S.multiple)!==null&&he!==void 0&&he,legacySetup:function(G,U,H){var M=(0,N.Ds)(U,500),A=function(){b(),document.addEventListener(f.Ks.KEYUP,M),document.addEventListener(f.Ks.POINTER_UP,M),M()},b=function(){var h;if((h=H.files)!==null&&h!==void 0&&h.length){var d=S.multiple?(0,e.Z)(H.files):H.files[0];G(d)}};requestAnimationFrame(function(){window.addEventListener(f.Ks.FOCUS,A)});var y=window.setInterval(function(){b()},500);return function(h){clearInterval(y),M.cancel(),window.removeEventListener(f.Ks.FOCUS,A),document.removeEventListener(f.Ks.KEYUP,M),document.removeEventListener(f.Ks.POINTER_UP,M),h&&(console.warn("Opening the file was canceled (legacy-fs)."),h(new Z._L))}}})},k=function(S,J){return function(){return c.apply(this,arguments)}(S,{fileName:"".concat(J.name,".").concat(J.extension),description:J.description,extensions:[".".concat(J.extension)]},J.fileHandle)}},250:function(et,fe,t){t.r(fe),t.d(fe,{decodePngMetadata:function(){return U},decodeSvgMetadata:function(){return M},encodePngMetadata:function(){return G},encodeSvgMetadata:function(){return H},getTEXtChunk:function(){return le}});var e=t(8950),P=t(2975),w=t.n(P),m=t(2983),v=t.n(m),I=t(1194),x=t(3434),c=t.n(x),f=t(2744),Z=t(9937),N=t(5796),W=function(A){return new Promise(function(b,y){var h=typeof A=="string"?new Blob([new TextEncoder().encode(A)]):new Blob([A instanceof Uint8Array?A:new Uint8Array(A)]),d=new FileReader;d.onload=function(r){if(!r.target||typeof r.target.result!="string")return y(new Error("couldn't convert to byte string"));b(r.target.result)},d.readAsBinaryString(h)})},k=function(A){for(var b=new ArrayBuffer(A.length),y=new Uint8Array(b),h=0,d=A.length;h<d;h++)y[h]=A.charCodeAt(h);return b},S=function(A){return new TextDecoder("utf-8").decode(k(A))},J=function(){var A=(0,e.Z)(w().mark(function b(y){var h=arguments;return w().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!(h.length>1&&h[1]!==void 0&&h[1])){d.next=5;break}d.t0=window.btoa(y),d.next=10;break;case 5:return d.t1=window,d.next=8,W(y);case 8:d.t2=d.sent,d.t0=d.t1.btoa.call(d.t1,d.t2);case 10:return d.abrupt("return",d.t0);case 11:case"end":return d.stop()}},b)}));return function(b){return A.apply(this,arguments)}}(),ce=function(){var A=(0,e.Z)(w().mark(function b(y){var h,d=arguments;return w().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return h=d.length>1&&d[1]!==void 0&&d[1],r.abrupt("return",h?window.atob(y):S(window.atob(y)));case 2:case"end":return r.stop()}},b)}));return function(b){return A.apply(this,arguments)}}(),he=function(){var A=(0,e.Z)(w().mark(function b(y){var h,d;return w().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(h=y.text,y.compress===!1){r.next=11;break}return r.prev=2,r.next=5,W((0,f.deflate)(h));case 5:d=r.sent,r.next=11;break;case 8:r.prev=8,r.t0=r.catch(2),console.error("encode: cannot deflate",r.t0);case 11:if(r.t1=!!d,r.t2=d,r.t2){r.next=17;break}return r.next=16,W(h);case 16:r.t2=r.sent;case 17:return r.t3=r.t2,r.abrupt("return",{version:"1",encoding:"bstring",compressed:r.t1,encoded:r.t3});case 19:case"end":return r.stop()}},b,null,[[2,8]])}));return function(b){return A.apply(this,arguments)}}(),ve=function(){var A=(0,e.Z)(w().mark(function b(y){var h;return w().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:d.t0=y.encoding,d.next=d.t0==="bstring"?3:12;break;case 3:if(!y.compressed){d.next=7;break}d.t1=y.encoded,d.next=10;break;case 7:return d.next=9,S(y.encoded);case 9:d.t1=d.sent;case 10:return h=d.t1,d.abrupt("break",13);case 12:throw new Error('decode: unknown encoding "'.concat(y.encoding,'"'));case 13:if(!y.compressed){d.next=15;break}return d.abrupt("return",(0,f.inflate)(new Uint8Array(k(h)),{to:"string"}));case 15:return d.abrupt("return",h);case 16:case"end":return d.stop()}},b)}));return function(b){return A.apply(this,arguments)}}(),le=function(){var A=(0,e.Z)(w().mark(function b(y){var h,d;return w().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.t0=v(),r.t1=Uint8Array,r.next=4,(0,N.vZ)(y);case 4:if(r.t2=r.sent,r.t3=new r.t1(r.t2),h=(0,r.t0)(r.t3),!(d=h.find(function(n){return n.name==="tEXt"}))){r.next=10;break}return r.abrupt("return",I.decode(d.data));case 10:return r.abrupt("return",null);case 11:case"end":return r.stop()}},b)}));return function(b){return A.apply(this,arguments)}}(),G=function(){var A=(0,e.Z)(w().mark(function b(y){var h,d,r,n;return w().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return h=y.blob,d=y.metadata,p.t0=v(),p.t1=Uint8Array,p.next=5,(0,N.vZ)(h);case 5:return p.t2=p.sent,p.t3=new p.t1(p.t2),r=(0,p.t0)(p.t3),p.t4=I,p.t5=Z.LO.excalidraw,p.t6=JSON,p.next=13,he({text:d,compress:!0});case 13:return p.t7=p.sent,p.t8=p.t6.stringify.call(p.t6,p.t7),n=p.t4.encode.call(p.t4,p.t5,p.t8),r.splice(-1,0,n),p.abrupt("return",new Blob([c()(r)],{type:Z.LO.png}));case 18:case"end":return p.stop()}},b)}));return function(b){return A.apply(this,arguments)}}(),U=function(){var A=(0,e.Z)(w().mark(function b(y){var h,d;return w().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,le(y);case 2:if(((h=r.sent)==null?void 0:h.keyword)!==Z.LO.excalidraw){r.next=19;break}if(r.prev=4,"encoded"in(d=JSON.parse(h.text))){r.next=10;break}if(!("type"in d)||d.type!==Z.r8.excalidraw){r.next=9;break}return r.abrupt("return",h.text);case 9:throw new Error("FAILED");case 10:return r.next=12,ve(d);case 12:return r.abrupt("return",r.sent);case 15:throw r.prev=15,r.t0=r.catch(4),console.error(r.t0),new Error("FAILED");case 19:throw new Error("INVALID");case 20:case"end":return r.stop()}},b,null,[[4,15]])}));return function(b){return A.apply(this,arguments)}}(),H=function(){var A=(0,e.Z)(w().mark(function b(y){var h,d,r;return w().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=y.text,n.t0=J,n.t1=JSON,n.next=5,he({text:h});case 5:return n.t2=n.sent,n.t3=n.t1.stringify.call(n.t1,n.t2),n.next=9,(0,n.t0)(n.t3,!0);case 9:return d=n.sent,r="",r+="<!-- payload-type:".concat(Z.LO.excalidraw," -->"),r+="<!-- payload-version:2 -->",r+="<!-- payload-start -->",r+=d,r+="<!-- payload-end -->",n.abrupt("return",r);case 17:case"end":return n.stop()}},b)}));return function(b){return A.apply(this,arguments)}}(),M=function(){var A=(0,e.Z)(w().mark(function b(y){var h,d,r,n,p,a,l;return w().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!(h=y.svg).includes("payload-type:".concat(Z.LO.excalidraw))){u.next=26;break}if(d=h.match(/<!-- payload-start -->\s*(.+?)\s*<!-- payload-end -->/)){u.next=5;break}throw new Error("INVALID");case 5:return r=h.match(/<!-- payload-version:(\d+) -->/),n=r?.[1]||"1",p=n!=="1",u.prev=8,u.next=11,ce(d[1],p);case 11:if(a=u.sent,"encoded"in(l=JSON.parse(a))){u.next=17;break}if(!("type"in l)||l.type!==Z.r8.excalidraw){u.next=16;break}return u.abrupt("return",a);case 16:throw new Error("FAILED");case 17:return u.next=19,ve(l);case 19:return u.abrupt("return",u.sent);case 22:throw u.prev=22,u.t0=u.catch(8),console.error(u.t0),new Error("FAILED");case 26:throw new Error("INVALID");case 27:case"end":return u.stop()}},b,null,[[8,22]])}));return function(b){return A.apply(this,arguments)}}()},2435:function(et,fe,t){t.d(fe,{HD:function(){return J},Um:function(){return S.Um},cT:function(){return W.cT},n8:function(){return S.n8},p1:function(){return ce}});var e=t(8950),P=t(2975),w=t.n(P),m=t(4694),v=t(9937),I=t(7651),x=t(8227),c=t(6013),f=t(4105),Z=t(3668),N=t(9827),W=t(5796),k=t(6548),S=t(4419),J=function(he,ve,le){var G=ve.selectedElementIds;he=(0,I.Lm)(he);var U=le&&(0,f.N)(he,{selectedElementIds:G}),H=null,M=U?(0,f.eD)(he,{selectedElementIds:G},{includeBoundTextElement:!0}):he;return U&&(M.length===1&&(0,I.He)(M[0])?(H=M[0],M=(0,c.Xs)({elements:he,bounds:H,type:"overlap"})):M.length>1&&(M=(0,f.eD)(he,{selectedElementIds:G},{includeBoundTextElement:!0,includeElementsInFrames:!0}))),{exportingFrame:H,exportedElements:(0,N.xU)(M)}},ce=function(){var he=(0,e.Z)(w().mark(function ve(le,G,U,H,M){var A,b,y,h,d,r,n,p,a,l,u,C,L;return w().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(A=M.exportBackground,b=M.exportPadding,y=b===void 0?v.qy:b,h=M.viewBackgroundColor,d=M.name,r=M.fileHandle,n=r===void 0?null:r,p=M.exportingFrame,a=p===void 0?null:p,G.length!==0){_.next=3;break}throw new Error((0,x.t)("alerts.cannotExportEmptyCanvas"));case 3:if(le!=="svg"&&le!=="clipboard-svg"){_.next=17;break}return _.next=6,(0,Z.$D)(G,{exportBackground:A,exportWithDarkMode:U.exportWithDarkMode,viewBackgroundColor:h,exportPadding:y,exportScale:U.exportScale,exportEmbedScene:U.exportEmbedScene&&le==="svg"},H,{exportingFrame:a});case 6:if(l=_.sent,le!=="svg"){_.next=13;break}return _.next=10,(0,k.NL)(new Blob([l.outerHTML],{type:v.LO.svg}),{description:"Export to SVG",name:d,extension:U.exportEmbedScene?"excalidraw.svg":"svg",fileHandle:n});case 10:return _.abrupt("return",_.sent);case 13:if(le!=="clipboard-svg"){_.next=17;break}return _.next=16,(0,m.dd)(l.outerHTML);case 16:return _.abrupt("return");case 17:if(u=(0,Z.NL)(G,U,H,{exportBackground:A,viewBackgroundColor:h,exportPadding:y,exportingFrame:a}),le!=="png"){_.next=33;break}return _.next=21,(0,W._c)(u);case 21:if(C=_.sent,!U.exportEmbedScene){_.next=28;break}return _.next=25,Promise.resolve().then(t.bind(t,250));case 25:return _.next=27,_.sent.encodePngMetadata({blob:C,metadata:(0,S.I_)(G,U,H,"local")});case 27:C=_.sent;case 28:return _.next=30,(0,k.NL)(C,{description:"Export to PNG",name:d,extension:"png",fileHandle:n});case 30:return _.abrupt("return",_.sent);case 33:if(le!=="clipboard"){_.next=52;break}return _.prev=34,L=(0,W._c)(u),_.next=38,(0,m.uR)(L);case 38:_.next=50;break;case 40:if(_.prev=40,_.t0=_.catch(34),console.warn(_.t0),_.t0.name!=="CANVAS_POSSIBLY_TOO_BIG"){_.next=45;break}throw _.t0;case 45:if(!v.vU||_.t0.name!=="TypeError"){_.next=49;break}throw new Error("".concat((0,x.t)("alerts.couldNotCopyToClipboard"),` + +`).concat((0,x.t)("hints.firefox_clipboard_write")));case 49:throw new Error((0,x.t)("alerts.couldNotCopyToClipboard"));case 50:_.next=53;break;case 52:throw new Error("Unsupported export type");case 53:case"end":return _.stop()}},ve,null,[[34,40]])}));return function(ve,le,G,U,H){return he.apply(this,arguments)}}()},4419:function(et,fe,t){t.d(fe,{HT:function(){return he},I_:function(){return k},NI:function(){return ve},Um:function(){return S},dS:function(){return ce},n8:function(){return J},t1:function(){return le}});var e=t(6655),P=t(8950),w=t(2975),m=t.n(w),v=t(6548),I=t(6853),x=t(9937),c=t(7651),f=t(5796);function Z(G,U){var H=typeof Symbol<"u"&&G[Symbol.iterator]||G["@@iterator"];if(!H){if(Array.isArray(G)||(H=function(d,r){if(d){if(typeof d=="string")return N(d,r);var n=Object.prototype.toString.call(d).slice(8,-1);if(n==="Object"&&d.constructor&&(n=d.constructor.name),n==="Map"||n==="Set")return Array.from(d);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(d,r)}}(G))||U&&G&&typeof G.length=="number"){H&&(G=H);var M=0,A=function(){};return{s:A,n:function(){return M>=G.length?{done:!0}:{done:!1,value:G[M++]}},e:function(d){throw d},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b,y=!0,h=!1;return{s:function(){H=H.call(G)},n:function(){var d=H.next();return y=d.done,d},e:function(d){h=!0,b=d},f:function(){try{y||H.return==null||H.return()}finally{if(h)throw b}}}}function N(G,U){(U==null||U>G.length)&&(U=G.length);for(var H=0,M=new Array(U);H<U;H++)M[H]=G[H];return M}var W=function(G,U){var H,M={},A=Z(G);try{for(A.s();!(H=A.n()).done;){var b=H.value;!b.isDeleted&&"fileId"in b&&b.fileId&&U[b.fileId]&&(M[b.fileId]=U[b.fileId])}}catch(y){A.e(y)}finally{A.f()}return M},k=function(G,U,H,M){var A={type:x.r8.excalidraw,version:x.Kr.excalidraw,source:x.pb,elements:M==="local"?(0,c._M)(G):(0,c.BQ)(G),appState:M==="local"?(0,I.s)(U):(0,I.eS)(U),files:M==="local"?W(G,H):void 0};return JSON.stringify(A,null,2)},S=function(){var G=(0,P.Z)(m().mark(function U(H,M,A){var b,y,h;return m().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return b=k(H,M,A,"local"),y=new Blob([b],{type:x.LO.excalidraw}),d.next=4,(0,v.NL)(y,{name:M.name,extension:"excalidraw",description:"Excalidraw file",fileHandle:(0,f.g8)(M.fileHandle)?null:M.fileHandle});case 4:return h=d.sent,d.abrupt("return",{fileHandle:h});case 6:case"end":return d.stop()}},U)}));return function(U,H,M){return G.apply(this,arguments)}}(),J=function(){var G=(0,P.Z)(m().mark(function U(H,M){var A;return m().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,(0,v.I$)({description:"Excalidraw files"});case 2:return A=b.sent,b.t0=f.cT,b.next=6,(0,f.gY)(A);case 6:return b.t1=b.sent,b.t2=H,b.t3=M,b.t4=A.handle,b.abrupt("return",(0,b.t0)(b.t1,b.t2,b.t3,b.t4));case 11:case"end":return b.stop()}},U)}));return function(U,H){return G.apply(this,arguments)}}(),ce=function(G){return G?.type===x.r8.excalidraw&&(!G.elements||Array.isArray(G.elements)&&(!G.appState||(0,e.Z)(G.appState)==="object"))},he=function(G){return(0,e.Z)(G)==="object"&&G&&G.type===x.r8.excalidrawLibrary&&(G.version===1||G.version===2)},ve=function(G){var U={type:x.r8.excalidrawLibrary,version:x.Kr.excalidrawLibrary,source:x.pb,libraryItems:G};return JSON.stringify(U,null,2)},le=function(){var G=(0,P.Z)(m().mark(function U(H){var M;return m().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return M=ve(H),A.next=3,(0,v.NL)(new Blob([M],{type:x.LO.excalidrawlib}),{name:"library",extension:"excalidrawlib",description:"Excalidraw library file"});case 3:case"end":return A.stop()}},U)}));return function(U){return G.apply(this,arguments)}}()},9326:function(et,fe,t){t.d(fe,{Di:function(){return r},WV:function(){return d},rF:function(){return M},xS:function(){return n},zh:function(){return y}});var e=t(7169),P=t(8950),w=t(5169),m=t(8821),v=t(1930),I=t(2975),x=t.n(I),c=t(5796),f=t(7994),Z=t(3607),N=t(453),W=t(4949),k=t(3506),S=t(8227),J=t(9787),ce=t(9937),he=t(5832),ve=t(9827);function le(p,a){var l=Object.keys(p);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(p);a&&(u=u.filter(function(C){return Object.getOwnPropertyDescriptor(p,C).enumerable})),l.push.apply(l,u)}return l}function G(p){for(var a=1;a<arguments.length;a++){var l=arguments[a]!=null?arguments[a]:{};a%2?le(Object(l),!0).forEach(function(u){(0,e.Z)(p,u,l[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(l)):le(Object(l)).forEach(function(u){Object.defineProperty(p,u,Object.getOwnPropertyDescriptor(l,u))})}return p}function U(p,a){var l=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!l){if(Array.isArray(p)||(l=function(D,F){if(D){if(typeof D=="string")return H(D,F);var ee=Object.prototype.toString.call(D).slice(8,-1);if(ee==="Object"&&D.constructor&&(ee=D.constructor.name),ee==="Map"||ee==="Set")return Array.from(D);if(ee==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ee))return H(D,F)}}(p))||a&&p&&typeof p.length=="number"){l&&(p=l);var u=0,C=function(){};return{s:C,n:function(){return u>=p.length?{done:!0}:{done:!1,value:p[u++]}},e:function(D){throw D},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L,_=!0,E=!1;return{s:function(){l=l.call(p)},n:function(){var D=l.next();return _=D.done,D},e:function(D){E=!0,L=D},f:function(){try{_||l.return==null||l.return()}finally{if(E)throw L}}}}function H(p,a){(a==null||a>p.length)&&(a=p.length);for(var l=0,u=new Array(a);l<a;l++)u[l]=p[l];return u}var M=(0,Z.cn)({status:"loaded",isInitialized:!0,libraryItems:[]}),A=function(p){return(0,ve.xU)(p)},b=function(p,a){return!p.find(function(l){return l.elements.length===a.elements.length&&l.elements.every(function(u,C){return u.id===a.elements[C].id&&u.versionNonce===a.elements[C].versionNonce})})},y=function(p,a){var l,u=[],C=U(a);try{for(C.s();!(l=C.n()).done;){var L=l.value;b(p,L)&&u.push(L)}}catch(_){C.e(_)}finally{C.f()}return[].concat(u,(0,v.Z)(p))},h=(0,w.Z)(function p(a){var l=this;(0,m.Z)(this,p),this.lastLibraryItems=[],this.isInitialized=!1,this.updateQueue=[],this.getLastUpdateTask=function(){return l.updateQueue[l.updateQueue.length-1]},this.notifyListeners=function(){if(l.updateQueue.length>0)N.e_.set(M,{status:"loading",libraryItems:l.lastLibraryItems,isInitialized:l.isInitialized});else{l.isInitialized=!0,N.e_.set(M,{status:"loaded",libraryItems:l.lastLibraryItems,isInitialized:l.isInitialized});try{var u,C;(u=(C=l.app.props).onLibraryChange)===null||u===void 0||u.call(C,A(l.lastLibraryItems))}catch(L){console.error(L)}}},this.destroy=function(){l.isInitialized=!1,l.updateQueue=[],l.lastLibraryItems=[],N.e_.set(he.YX,new Map)},this.resetLibrary=function(){return l.setLibrary([])},this.getLatestLibrary=function(){return new Promise(function(){var u=(0,P.Z)(x().mark(function C(L){var _;return x().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.prev=0,E.next=3,l.getLastUpdateTask()||l.lastLibraryItems;case 3:_=E.sent,l.updateQueue.length>0?L(l.getLatestLibrary()):L(A(_)),E.next=10;break;case 7:return E.prev=7,E.t0=E.catch(0),E.abrupt("return",L(l.lastLibraryItems));case 10:case"end":return E.stop()}},C,null,[[0,7]])}));return function(C){return u.apply(this,arguments)}}())},this.updateLibrary=function(){var u=(0,P.Z)(x().mark(function C(L){var _,E,D,F,ee,te,re,oe,Y;return x().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return _=L.libraryItems,E=L.prompt,D=E!==void 0&&E,F=L.merge,ee=F!==void 0&&F,te=L.openLibraryMenu,re=te!==void 0&&te,oe=L.defaultStatus,Y=oe===void 0?"unpublished":oe,re&&l.app.setState({openSidebar:{name:ce.Cc.name,tab:ce.tf}}),V.abrupt("return",l.setLibrary(function(){return new Promise(function(){var ie=(0,P.Z)(x().mark(function we(Ae,Re){var je,ye;return x().wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return Ee.prev=0,Ee.next=3,typeof _!="function"||_ instanceof Blob?_:_(l.lastLibraryItems);case 3:if(!((je=Ee.sent)instanceof Blob)){Ee.next=10;break}return Ee.next=7,(0,c.lV)(je,Y);case 7:ye=Ee.sent,Ee.next=11;break;case 10:ye=(0,f.wJ)(je,Y);case 11:!D||window.confirm((0,S.t)("alerts.confirmAddLibrary",{numShapes:ye.length}))?(D&&l.app.focusContainer(),Ae(ee?y(l.lastLibraryItems,ye):ye)):Re(new k._L),Ee.next=17;break;case 14:Ee.prev=14,Ee.t0=Ee.catch(0),Re(Ee.t0);case 17:case"end":return Ee.stop()}},we,null,[[0,14]])}));return function(we,Ae){return ie.apply(this,arguments)}}())}));case 3:case"end":return V.stop()}},C)}));return function(C){return u.apply(this,arguments)}}(),this.setLibrary=function(u){var C=new Promise(function(){var L=(0,P.Z)(x().mark(function _(E,D){return x().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.prev=0,F.next=3,l.getLastUpdateTask();case 3:return typeof u=="function"&&(u=u(l.lastLibraryItems)),F.t0=A,F.next=7,u;case 7:F.t1=F.sent,l.lastLibraryItems=(0,F.t0)(F.t1),E(l.lastLibraryItems),F.next=15;break;case 12:F.prev=12,F.t2=F.catch(0),D(F.t2);case 15:case"end":return F.stop()}},_,null,[[0,12]])}));return function(_,E){return L.apply(this,arguments)}}()).catch(function(L){if(L.name==="AbortError")return console.warn("Library update aborted by user"),l.lastLibraryItems;throw L}).finally(function(){l.updateQueue=l.updateQueue.filter(function(L){return L!==C}),l.notifyListeners()});return l.updateQueue.push(C),l.notifyListeners(),C},this.app=a});fe.ZP=h;var d=function(p){var a,l=Math.ceil(Math.sqrt(p.length)),u=[],C=0,L=0,_=0,E=0,D=0,F=0,ee=0,te=U(p);try{var re=function(){var oe=a.value;D&&D%l==0&&(L+=_+50,C=0,F=0,ee++),F===0&&(_=function(ye){return p.slice(ye*l,ye*l+l).reduce(function(Ee,Oe){var ge=(0,W.v2)(Oe.elements).height;return Math.max(Ee,ge)},0)}(ee)),E=function(ye){var Ee,Oe=0,ge=0,ue=0,se=U(p);try{for(se.s();!(Ee=se.n()).done;){var j=Ee.value;if(Oe%l==0&&(ge=0),ge===ye){var i=(0,W.v2)(j.elements).width;ue=Math.max(ue,i)}Oe++,ge++}}catch(s){se.e(s)}finally{se.f()}return ue}(F);var Y=(0,W.v2)(oe.elements),V=Y.minX,ie=Y.minY,we=Y.width,Ae=Y.height,Re=(E-we)/2,je=(_-Ae)/2;u.push.apply(u,(0,v.Z)(oe.elements.map(function(ye){return G(G({},ye),{},{x:ye.x+C+Re-V,y:ye.y+L+je-ie})}))),C+=E+50,D++,F++};for(te.s();!(a=te.n()).done;)re()}catch(oe){te.e(oe)}finally{te.f()}return u},r=function(){var p=new URLSearchParams(window.location.hash.slice(1)).get(ce.ah.addLibrary)||new URLSearchParams(window.location.search).get(ce.UO.addLibrary),a=p?new URLSearchParams(window.location.hash.slice(1)).get("token"):null;return p?{libraryUrl:p,idToken:a}:null},n=function(p){var a=p.excalidrawAPI,l=p.getInitialLibraryItems,u=(0,J.useRef)(l);(0,J.useEffect)(function(){if(a){var C=function(){var E=(0,P.Z)(x().mark(function D(F){var ee,te,re,oe,Y,V;return x().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return ee=F.libraryUrl,te=F.idToken,re=new Promise(function(){var we=(0,P.Z)(x().mark(function Ae(Re,je){var ye,Ee;return x().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.prev=0,Oe.next=3,fetch(decodeURIComponent(ee));case 3:return ye=Oe.sent,Oe.next=6,ye.blob();case 6:Ee=Oe.sent,Re(Ee),Oe.next=13;break;case 10:Oe.prev=10,Oe.t0=Oe.catch(0),je(Oe.t0);case 13:case"end":return Oe.stop()}},Ae,null,[[0,10]])}));return function(Ae,Re){return we.apply(this,arguments)}}()),oe=te!==a.id,ie.next=5,oe&&document.hidden?new Promise(function(we){window.addEventListener("focus",function(){return we()},{once:!0})}):null;case 5:return ie.prev=5,ie.next=8,a.updateLibrary({libraryItems:re,prompt:oe,merge:!0,defaultStatus:"published",openLibraryMenu:!0});case 8:ie.next=13;break;case 10:throw ie.prev=10,ie.t0=ie.catch(5),ie.t0;case 13:return ie.prev=13,window.location.hash.includes(ce.ah.addLibrary)?((Y=new URLSearchParams(window.location.hash.slice(1))).delete(ce.ah.addLibrary),window.history.replaceState({},ce.iC,"#".concat(Y.toString()))):window.location.search.includes(ce.UO.addLibrary)&&((V=new URLSearchParams(window.location.search)).delete(ce.UO.addLibrary),window.history.replaceState({},ce.iC,"?".concat(V.toString()))),ie.finish(13);case 16:case"end":return ie.stop()}},D,null,[[5,10,13,16]])}));return function(D){return E.apply(this,arguments)}}(),L=function(E){E.preventDefault();var D=r();D&&(E.stopImmediatePropagation(),window.history.replaceState({},"",E.oldURL),C(D))};u.current&&a.updateLibrary({libraryItems:u.current()});var _=r();return _&&C(_),window.addEventListener(ce.Ks.HASHCHANGE,L),function(){window.removeEventListener(ce.Ks.HASHCHANGE,L)}}},[a])}},7994:function(et,fe,t){t.d(fe,{ET:function(){return A},lY:function(){return h},nu:function(){return d},wJ:function(){return n}});var e=t(2577),P=t(7169),w=t(7651),m=t(4183),v=t(4643),I=t(9937),x=t(6853),c=t(7422),f=t(583),Z=t(9827),N=t(4761),W=t(8020);function k(p,a){var l=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!l){if(Array.isArray(p)||(l=function(D,F){if(D){if(typeof D=="string")return S(D,F);var ee=Object.prototype.toString.call(D).slice(8,-1);if(ee==="Object"&&D.constructor&&(ee=D.constructor.name),ee==="Map"||ee==="Set")return Array.from(D);if(ee==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ee))return S(D,F)}}(p))||a&&p&&typeof p.length=="number"){l&&(p=l);var u=0,C=function(){};return{s:C,n:function(){return u>=p.length?{done:!0}:{done:!1,value:p[u++]}},e:function(D){throw D},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L,_=!0,E=!1;return{s:function(){l=l.call(p)},n:function(){var D=l.next();return _=D.done,D},e:function(D){E=!0,L=D},f:function(){try{_||l.return==null||l.return()}finally{if(E)throw L}}}}function S(p,a){(a==null||a>p.length)&&(a=p.length);for(var l=0,u=new Array(a);l<a;l++)u[l]=p[l];return u}function J(p,a){var l=Object.keys(p);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(p);a&&(u=u.filter(function(C){return Object.getOwnPropertyDescriptor(p,C).enumerable})),l.push.apply(l,u)}return l}function ce(p){for(var a=1;a<arguments.length;a++){var l=arguments[a]!=null?arguments[a]:{};a%2?J(Object(l),!0).forEach(function(u){(0,P.Z)(p,u,l[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(l)):J(Object(l)).forEach(function(u){Object.defineProperty(p,u,Object.getOwnPropertyDescriptor(l,u))})}return p}var he={selection:!0,text:!0,rectangle:!0,diamond:!0,ellipse:!0,line:!0,image:!0,arrow:!0,freedraw:!0,eraser:!1,custom:!0,frame:!0,embeddable:!0,hand:!0,laser:!1},ve=function(p){return Object.keys(I.ut).includes(p)?I.ut[p]:I.rk},le=function(p){return p?ce(ce({},p),{},{focus:p.focus||0}):null},G=function(p,a){var l,u,C,L,_,E,D,F,ee,te,re,oe,Y,V,ie={type:a.type||p.type,version:p.version||1,versionNonce:(l=p.versionNonce)!==null&&l!==void 0?l:0,isDeleted:(u=p.isDeleted)!==null&&u!==void 0&&u,id:p.id||(0,v.kb)(),fillStyle:p.fillStyle||I.HN.fillStyle,strokeWidth:p.strokeWidth||I.HN.strokeWidth,strokeStyle:(C=p.strokeStyle)!==null&&C!==void 0?C:I.HN.strokeStyle,roughness:(L=p.roughness)!==null&&L!==void 0?L:I.HN.roughness,opacity:p.opacity==null?I.HN.opacity:p.opacity,angle:p.angle||0,x:(_=(E=a.x)!==null&&E!==void 0?E:p.x)!==null&&_!==void 0?_:0,y:(D=(F=a.y)!==null&&F!==void 0?F:p.y)!==null&&D!==void 0?D:0,strokeColor:p.strokeColor||I.HN.strokeColor,backgroundColor:p.backgroundColor||I.HN.backgroundColor,width:p.width||0,height:p.height||0,seed:(ee=p.seed)!==null&&ee!==void 0?ee:1,groupIds:(te=p.groupIds)!==null&&te!==void 0?te:[],frameId:(re=p.frameId)!==null&&re!==void 0?re:null,roundness:p.roundness?p.roundness:p.strokeSharpness==="round"?{type:(0,m.QI)(p.type)?I.a6.LEGACY:I.a6.PROPORTIONAL_RADIUS}:null,boundElements:p.boundElementIds?p.boundElementIds.map(function(we){return{type:"arrow",id:we}}):(oe=p.boundElements)!==null&&oe!==void 0?oe:[],updated:(Y=p.updated)!==null&&Y!==void 0?Y:(0,Z.C3)(),link:p.link?(0,W.$u)(p.link):null,locked:(V=p.locked)!==null&&V!==void 0&&V};return"customData"in p&&(ie.customData=p.customData),I.WR in p&&(ie[I.WR]=p[I.WR]),ce(ce(ce({},ie),(0,w.Qp)(ie)),a)},U=function(p,a){if(p.boundElements){var l=p.boundElements.slice(),u=new Set;p.boundElements=l.reduce(function(C,L){var _=a.get(L.id);if(_&&!u.has(L.id)){if(u.add(L.id),_.isDeleted)return C;C.push(L),(0,m.iB)(_)&&!_.containerId&&(_.containerId=p.id)}return C},[])}},H=function(p,a){var l=p.containerId?a.get(p.containerId):null;if(l){if(!p.isDeleted&&l.boundElements&&!l.boundElements.find(function(C){return C.id===p.id})){var u=(l.boundElements||(l.boundElements=[])).slice();u.push({type:"text",id:p.id}),l.boundElements=u}}else p.containerId=null},M=function(p,a){p.frameId&&(a.get(p.frameId)||(p.frameId=null))},A=function(p,a,l){var u=new Set,C=a?(0,Z.xn)(a):null,L=(p||[]).reduce(function(ee,te){if(te.type!=="selection"&&!(0,w.QD)(te)){var re=function(Y){var V,ie,we=arguments.length>1&&arguments[1]!==void 0&&arguments[1];switch(Y.type){case"text":var Ae=Y.fontSize,Re=Y.fontFamily;if("font"in Y){var je=Y.font.split(" "),ye=(0,e.Z)(je,2),Ee=ye[0],Oe=ye[1];Ae=parseFloat(Ee),Re=ve(Oe)}var ge=typeof Y.text=="string"&&Y.text||"",ue=Y.lineHeight||(Y.height?(0,N.$2)(Y):(0,N.PT)(Y.fontFamily)),se=(0,N.R8)(Y.text,(0,Z.mO)(Y),ue);return Y=G(Y,{fontSize:Ae,fontFamily:Re,text:ge,textAlign:Y.textAlign||I.Hg,verticalAlign:Y.verticalAlign||I.hs,containerId:(V=Y.containerId)!==null&&V!==void 0?V:null,originalText:Y.originalText||ge,lineHeight:ue,baseline:se}),ge||Y.isDeleted||(Y=ce(ce({},Y),{},{originalText:ge,isDeleted:!0}),Y=(0,f.ZP)(Y)),we&&(Y=ce(ce({},Y),(0,w.JZ)(Y))),Y;case"freedraw":return G(Y,{points:Y.points,lastCommittedPoint:null,simulatePressure:Y.simulatePressure,pressures:Y.pressures});case"image":return G(Y,{status:Y.status||"pending",fileId:Y.fileId,scale:Y.scale||[1,1]});case"line":case"draw":case"arrow":var j=Y,i=j.startArrowhead,s=i===void 0?null:i,O=j.endArrowhead,z=O===void 0?Y.type==="arrow"?"arrow":null:O,K=Y.x,$=Y.y,Q=!Array.isArray(Y.points)||Y.points.length<2?[[0,0],[Y.width,Y.height]]:Y.points;if(Q[0][0]!==0||Q[0][1]!==0){var ae=c._.getNormalizedPoints(Y);Q=ae.points,K=ae.x,$=ae.y}return G(Y,{type:Y.type==="draw"?"line":Y.type,startBinding:le(Y.startBinding),endBinding:le(Y.endBinding),lastCommittedPoint:null,startArrowhead:s,endArrowhead:z,points:Q,x:K,y:$});case"ellipse":case"rectangle":case"diamond":return G(Y,{});case"embeddable":return G(Y,{validated:null});case"frame":return G(Y,{name:(ie=Y.name)!==null&&ie!==void 0?ie:null})}return null}(te,l?.refreshDimensions);if(re){var oe=C?.get(te.id);oe&&oe.version>re.version&&(re=(0,f.ZP)(re,oe.version)),u.has(re.id)&&(re=ce(ce({},re),{},{id:(0,v.kb)()})),u.add(re.id),ee.push(re)}}return ee},[]);if(l==null||!l.repairBindings)return L;var _,E=(0,Z.xn)(L),D=k(L);try{for(D.s();!(_=D.n()).done;){var F=_.value;F.frameId&&M(F,E),(0,m.iB)(F)&&F.containerId?H(F,E):F.boundElements&&U(F,E)}}catch(ee){D.e(ee)}finally{D.f()}return L},b=function(p,a,l){var u=a[p];return u!==void 0?u:l[p]},y={isSidebarDocked:function(p,a){var l;return["defaultSidebarDockedPreference",(l=p.isSidebarDocked)!==null&&l!==void 0?l:b("defaultSidebarDockedPreference",p,a)]}},h=function(p,a){var l,u,C,L;p=p||{};for(var _=(0,x.im)(),E={},D=0,F=Object.keys(y);D<F.length;D++){var ee=F[D];if(ee in p){var te=y[ee](p,_),re=(0,e.Z)(te,2),oe=re[0],Y=re[1];E[oe]=Y}}for(var V=0,ie=Object.entries(_);V<ie.length;V++){var we=(0,e.Z)(ie[V],2),Ae=we[0],Re=we[1],je=p[Ae],ye=a?a[Ae]:void 0;E[Ae]=je!==void 0?je:ye!==void 0?ye:Re}return ce(ce({},E),{},{cursorButton:a?.cursorButton||"up",penDetected:(l=a?.penDetected)!==null&&l!==void 0?l:!!p.penMode&&(u=p.penDetected)!==null&&u!==void 0&&u,activeTool:ce(ce({},(0,Z.Om)(_,E.activeTool.type&&he[E.activeTool.type]?E.activeTool:{type:"selection"})),{},{lastActiveTool:null,locked:(C=E.activeTool.locked)!==null&&C!==void 0&&C}),zoom:typeof p.zoom=="number"?{value:p.zoom}:(L=p.zoom)!==null&&L!==void 0&&L.value?p.zoom:_.zoom,openSidebar:typeof p.openSidebar=="string"?{name:I.Cc.name}:E.openSidebar})},d=function(p,a,l,u){return{elements:A(p?.elements,l,u),appState:h(p?.appState,a||null),files:p?.files||{}}},r=function(p){var a=A((0,w.Lm)(p.elements),null);return a.length?ce(ce({},p),{},{elements:a}):null},n=function(){var p,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0,u=[],C=k(a);try{for(C.s();!(p=C.n()).done;){var L=p.value;if(Array.isArray(L)){var _=r({status:l,elements:L,id:(0,v.kb)(),created:Date.now()});_&&u.push(_)}else{var E=L,D=r(ce(ce({},E),{},{id:E.id||(0,v.kb)(),status:E.status||l,created:E.created||Date.now()}));D&&u.push(D)}}}catch(F){C.e(F)}finally{C.f()}return u}},6199:function(et,fe,t){t.d(fe,{w:function(){return M}});var e=t(2577),P=t(5169),w=t(8821),m=t(7169),v=t(9937),I=t(7651),x=t(9645),c=t(5742),f=t(4761),Z=t(9827),N=t(5999),W=t(4643);function k(A,b){var y=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!y){if(Array.isArray(A)||(y=function(a,l){if(a){if(typeof a=="string")return S(a,l);var u=Object.prototype.toString.call(a).slice(8,-1);if(u==="Object"&&a.constructor&&(u=a.constructor.name),u==="Map"||u==="Set")return Array.from(a);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return S(a,l)}}(A))||b&&A&&typeof A.length=="number"){y&&(A=y);var h=0,d=function(){};return{s:d,n:function(){return h>=A.length?{done:!0}:{done:!1,value:A[h++]}},e:function(a){throw a},f:d}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,n=!0,p=!1;return{s:function(){y=y.call(A)},n:function(){var a=y.next();return n=a.done,a},e:function(a){p=!0,r=a},f:function(){try{n||y.return==null||y.return()}finally{if(p)throw r}}}}function S(A,b){(b==null||b>A.length)&&(b=A.length);for(var y=0,h=new Array(b);y<b;y++)h[y]=A[y];return h}function J(A,b){var y=Object.keys(A);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(A);b&&(h=h.filter(function(d){return Object.getOwnPropertyDescriptor(A,d).enumerable})),y.push.apply(y,h)}return y}function ce(A){for(var b=1;b<arguments.length;b++){var y=arguments[b]!=null?arguments[b]:{};b%2?J(Object(y),!0).forEach(function(h){(0,m.Z)(A,h,y[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(y)):J(Object(y)).forEach(function(h){Object.defineProperty(A,h,Object.getOwnPropertyDescriptor(y,h))})}return A}var he=100,ve=0,le=100,G=function(A,b){var y=(0,c.VL)(ce(ce({x:0,y:0,textAlign:v.I8.CENTER,verticalAlign:v.oX.MIDDLE},b),{},{containerId:A.id,strokeColor:b.strokeColor||A.strokeColor}));return Object.assign(A,{boundElements:(A.boundElements||[]).concat({type:"text",id:y.id})}),(0,I.oN)(y,A),[A,y]},U=function(A,b,y,h){var d,r;if(Object.assign(A,{startBinding:A?.startBinding||null,endBinding:A.endBinding||null}),b){var n,p,a,l=(n=b?.width)!==null&&n!==void 0?n:le,u=(p=b?.height)!==null&&p!==void 0?p:le;b.id&&((a=h.getElement(b.id))||console.error("No element for start binding with id ".concat(b.id," found")));var C=b.x||A.x-l,L=b.y||A.y-u/2,_=a?a.type:b.type;if(_){if(_==="text"){var E="";a&&a.type==="text"?E=a.text:b.type==="text"&&(E=b.text),E||console.error("No text found for start binding text element for ".concat(A.id)),d=(0,c.VL)(ce(ce(ce({x:C,y:L,type:"text"},a),b),{},{text:E})),Object.assign(d,{x:b.x||A.x-d.width,y:b.y||A.y-d.height/2})}else switch(_){case"rectangle":case"ellipse":case"diamond":d=(0,I.Up)(ce(ce(ce({x:C,y:L,width:l,height:u},a),b),{},{type:_}));break;default:(0,Z.vE)(A,'Unhandled element start type "'.concat(b.type,'"'),!0)}(0,x.UZ)(A,d,"start")}}if(y){var D,F,ee,te=(D=y?.height)!==null&&D!==void 0?D:le,re=(F=y?.width)!==null&&F!==void 0?F:le;y.id&&((ee=h.getElement(y.id))||console.error("No element for end binding with id ".concat(y.id," found")));var oe=y.x||A.x+A.width,Y=y.y||A.y-te/2,V=ee?ee.type:y.type;if(V){if(V==="text"){var ie="";ee&&ee.type==="text"?ie=ee.text:y.type==="text"&&(ie=y.text),ie||console.error("No text found for end binding text element for ".concat(A.id)),r=(0,c.VL)(ce(ce(ce({x:oe,y:Y,type:"text"},ee),y),{},{text:ie})),Object.assign(r,{y:y.y||A.y-r.height/2})}else switch(V){case"rectangle":case"ellipse":case"diamond":r=(0,I.Up)(ce(ce(ce({x:oe,y:Y,width:re,height:te},ee),y),{},{type:V}));break;default:(0,Z.vE)(A,'Unhandled element end type "'.concat(V,'"'),!0)}(0,x.UZ)(A,r,"end")}}var we=A.points.length-1,Ae=.5,Re=(0,Z.xU)(A.points);return A.points[we][0]>A.points[we-1][0]&&(Re[0][0]=Ae,Re[we][0]-=Ae),A.points[we][0]<A.points[we-1][0]&&(Re[0][0]=-.5,Re[we][0]+=Ae),A.points[we][1]>A.points[we-1][1]&&(Re[0][1]=Ae,Re[we][1]-=Ae),A.points[we][1]<A.points[we-1][1]&&(Re[0][1]=-.5,Re[we][1]+=Ae),Object.assign(A,{points:Re}),{linearElement:A,startBoundElement:d,endBoundElement:r}},H=(0,P.Z)(function A(){var b=this;(0,w.Z)(this,A),this.excalidrawElements=new Map,this.add=function(y){y&&b.excalidrawElements.set(y.id,y)},this.getElements=function(){return Array.from(b.excalidrawElements.values())},this.getElement=function(y){return b.excalidrawElements.get(y)}}),M=function(A,b){if(!A)return[];var y,h=(0,Z.xU)(A),d=new H,r=new Map,n=new Map,p=k(h);try{for(p.s();!(y=p.n()).done;){var a=y.value,l=void 0,u=a.id;switch(b?.regenerateIds!==!1&&Object.assign(a,{id:(0,W.kb)()}),a.type){case"rectangle":case"ellipse":case"diamond":var C,L,_=a!=null&&(C=a.label)!==null&&C!==void 0&&C.text&&a.width===void 0?0:a?.width||le,E=a!=null&&(L=a.label)!==null&&L!==void 0&&L.text&&a.height===void 0?0:a?.height||le;l=(0,I.Up)(ce(ce({},a),{},{width:_,height:E}));break;case"line":var D=a.width||he,F=a.height||ve;l=(0,I.y8)(ce({width:D,height:F,points:[[0,0],[D,F]]},a));break;case"arrow":var ee=a.width||he,te=a.height||ve;l=(0,I.y8)(ce({width:ee,height:te,endArrowhead:"arrow",points:[[0,0],[ee,te]]},a)),Object.assign(l,(0,N.k)(l.points));break;case"text":var re,oe=a?.fontFamily||v.rk,Y=a?.fontSize||v.n5,V=a?.lineHeight||(0,f.PT)(oe),ie=(re=a.text)!==null&&re!==void 0?re:"",we=(0,f.bG)(ie),Ae=(0,f.X1)(we,(0,Z.mO)({fontFamily:oe,fontSize:Y}),V);l=(0,c.VL)(ce({width:Ae.width,height:Ae.height,fontFamily:oe,fontSize:Y},a));break;case"image":l=(0,c.vw)(ce({width:a?.width||le,height:a?.height||le},a));break;case"frame":l=(0,c.M3)(ce({x:0,y:0},a));break;case"freedraw":case"embeddable":l=a;break;default:l=a,(0,Z.vE)(a,'Unhandled element type "'.concat(a.type,'"'),!0)}d.getElement(l.id)?console.error("Duplicate id found for ".concat(l.id)):(d.add(l),r.set(l.id,a),u&&n.set(u,l.id))}}catch(Qe){p.e(Qe)}finally{p.f()}var Re,je=k(r);try{for(je.s();!(Re=je.n()).done;){var ye=(0,e.Z)(Re.value,2),Ee=ye[0],Oe=ye[1],ge=d.getElement(Ee);switch(Oe.type){case"rectangle":case"ellipse":case"diamond":case"arrow":var ue;if((ue=Oe.label)!==null&&ue!==void 0&&ue.text){var se=G(ge,Oe?.label),j=(0,e.Z)(se,2),i=j[0],s=j[1];if(d.add(i),d.add(s),i.type==="arrow"){var O=Oe.type==="arrow"?Oe?.start:void 0,z=Oe.type==="arrow"?Oe?.end:void 0;if(O&&O.id){var K=n.get(O.id);K&&Object.assign(O,{id:K})}if(z&&z.id){var $=n.get(z.id);$&&Object.assign(z,{id:$})}var Q=U(i,O,z,d),ae=Q.linearElement,be=Q.startBoundElement,Ce=Q.endBoundElement;i=ae,d.add(ae),d.add(be),d.add(Ce)}}else if(Oe.type==="arrow"){var Ze=Oe.start,Be=Oe.end;if(Ze&&Ze.id){var Te=n.get(Ze.id);Object.assign(Ze,{id:Te})}if(Be&&Be.id){var He=n.get(Be.id);Object.assign(Be,{id:He})}var Ve=U(ge,Ze,Be,d),Je=Ve.linearElement,Me=Ve.startBoundElement,me=Ve.endBoundElement;d.add(Je),d.add(Me),d.add(me)}}}}catch(Qe){je.e(Qe)}finally{je.f()}var Se,Ne=k(r);try{var Ye=function(){var Qe=(0,e.Z)(Se.value,2),rt=Qe[0],ft=Qe[1];if(ft.type!=="frame")return"continue";var at=d.getElement(rt);if(!at)throw new Error("Excalidraw element with id ".concat(rt," doesn't exist"));var ut=[];ft.children.forEach(function(pt){var ht,yt=n.get(pt);if(!yt)throw new Error("Element with ".concat(pt," wasn't mapped correctly"));var Ct=d.getElement(yt);if(!Ct)throw new Error("Frame element with id ".concat(yt," doesn't exist"));Object.assign(Ct,{frameId:at.id}),Ct==null||(ht=Ct.boundElements)===null||ht===void 0||ht.forEach(function(Bt){var zt=d.getElement(Bt.id);if(!zt)throw new Error("Bound element with id ".concat(Bt.id," doesn't exist"));Object.assign(zt,{frameId:at.id}),ut.push(zt)}),ut.push(Ct)});var Ot=(0,I.KP)(ut),Pt=(0,e.Z)(Ot,4),Et=Pt[0],Mt=Pt[1],Yt=Pt[2],lt=Pt[3];Et-=10,Mt-=10,Yt+=10,lt+=10;var ot=Math.max(at?.width,Yt-Et),mt=Math.max(at?.height,lt-Mt);Object.assign(at,{x:Et,y:Mt,width:ot,height:mt})};for(Ne.s();!(Se=Ne.n()).done;)Ye()}catch(Qe){Ne.e(Qe)}finally{Ne.f()}return d.getElements()}},8020:function(et,fe,t){t.d(fe,{$u:function(){return P},q$:function(){return w},ye:function(){return m}});var e=t(5779),P=function(v){return(v=v.trim())?(0,e.N)(v):v},w=function(v){return!!(v!=null&&v.includes(location.origin)||v!=null&&v.startsWith("/"))},m=function(v){if((v=P(v)).startsWith("/"))return"".concat(location.origin).concat(v);try{new URL(v)}catch{return"about:blank"}return v}},5992:function(et,fe,t){t.d(fe,{rj:function(){return te},nW:function(){return Y},nz:function(){return ie},sw:function(){return Ae},lV:function(){return ge},Ni:function(){return je},wq:function(){return Re},Pp:function(){return Ee}});var e=t(7169),P=t(2577),w=t(9827),m=t(761),v=t(583),I=t(2767),x=t(1512),c=t(8935),f=t(8227),Z=t(9787),N=t(45),W=t(5491),k=t(9660),S=t(2361),J=t(9937),ce=t(8925),he=t(4105),ve=t(3528),le=t(7651),G=t(8020),U=t(3379),H=t.n(U),M=t(7795),A=t.n(M),b=t(569),y=t.n(b),h=t(3565),d=t.n(h),r=t(9216),n=t.n(r),p=t(4589),a=t.n(p),l=t(5260),u={};u.styleTagTransform=a(),u.setAttributes=d(),u.insert=y().bind(null,"head"),u.domAPI=A(),u.insertStyleElement=n(),H()(l.Z,u),l.Z&&l.Z.locals&&l.Z.locals;var C=t(3646),L=t(8242),_=t(4183),E=t(2921),D=t(4512);function F(se,j){var i=Object.keys(se);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(se);j&&(s=s.filter(function(O){return Object.getOwnPropertyDescriptor(se,O).enumerable})),i.push.apply(i,s)}return i}function ee(se){for(var j=1;j<arguments.length;j++){var i=arguments[j]!=null?arguments[j]:{};j%2?F(Object(i),!0).forEach(function(s){(0,e.Z)(se,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(se,Object.getOwnPropertyDescriptors(i)):F(Object(i)).forEach(function(s){Object.defineProperty(se,s,Object.getOwnPropertyDescriptor(i,s))})}return se}var te=document.createElement("img");te.src="data:".concat(J.LO.svg,", ").concat(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#1971c2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>'));var re=!1,oe=new Map,Y=function(se){var j=se.element,i=se.setAppState,s=se.onLinkOpen,O=se.setToast,z=(0,L.gF)(),K=(0,L.hY)(),$=j.link||"",Q=(0,Z.useState)($),ae=(0,P.Z)(Q,2),be=ae[0],Ce=ae[1],Ze=(0,Z.useRef)(null),Be=z.showHyperlinkPopup==="editor",Te=(0,Z.useCallback)(function(){if(Ze.current){var me=(0,G.$u)(Ze.current.value)||null;if(!j.link&&me&&(0,C.L)("hyperlink","create"),(0,_.gs)(j)){var Se;if(((Se=z.activeEmbeddable)===null||Se===void 0?void 0:Se.element)===j&&i({activeEmbeddable:null}),!me)return void(0,v.DR)(j,{validated:!1,link:null});if((0,m.xm)(me,K.validateEmbeddable)){var Ne=j.width,Ye=j.height,Qe=(0,m.LM)(me);Qe!=null&&Qe.warning&&O({message:Qe.warning,closable:!0});var rt=Qe?Qe.aspectRatio.w/Qe.aspectRatio.h:1,ft=oe.get(j.id)!==j.link;(0,v.DR)(j,ee(ee({},ft?{width:Qe?.type==="video"?Ne>Ye?Ne:Ye*rt:Ne,height:Qe?.type==="video"&&Ne>Ye?Ne/rt:Ye}:{}),{},{validated:!0,link:me})),E.R.delete(j),oe.has(j.id)&&oe.delete(j.id)}else me&&O({message:(0,f.t)("toast.unableToEmbed"),closable:!0}),j.link&&oe.set(j.id,j.link),(0,v.DR)(j,{validated:!1,link:me}),E.R.delete(j)}else(0,v.DR)(j,{link:me})}},[j,O,K.validateEmbeddable,z.activeEmbeddable,i]);(0,Z.useLayoutEffect)(function(){return function(){Te()}},[Te]),(0,Z.useEffect)(function(){var me=null,Se=function(Ne){Be||(me&&clearTimeout(me),ue(j,z,[Ne.clientX,Ne.clientY])&&(me=window.setTimeout(function(){i({showHyperlinkPopup:!1})},500)))};return window.addEventListener(J.Ks.POINTER_MOVE,Se,!1),function(){window.removeEventListener(J.Ks.POINTER_MOVE,Se,!1),me&&clearTimeout(me)}},[z,j,Be,i]);var He=(0,Z.useCallback)(function(){(0,C.L)("hyperlink","delete"),(0,v.DR)(j,{link:null}),Be&&(Ze.current.value=""),i({showHyperlinkPopup:!1})},[i,j,Be]),Ve=V(j,z),Je=Ve.x,Me=Ve.y;return z.draggingElement||z.resizingElement||z.isRotating||z.openMenu||z.viewModeEnabled?null:(0,D.jsxs)("div",{className:"excalidraw-hyperlinkContainer",style:{top:"".concat(Me,"px"),left:"".concat(Je,"px"),width:320,padding:5},onClick:function(){j.link||Be||i({showHyperlinkPopup:"editor"})},children:[Be?(0,D.jsx)("input",{className:(0,N.Z)("excalidraw-hyperlinkContainer-input"),placeholder:"Type or paste your link here",ref:Ze,value:be,onChange:function(me){return Ce(me.target.value)},autoFocus:!0,onKeyDown:function(me){me.stopPropagation(),me[W.tW.CTRL_OR_CMD]&&me.key===W.tW.K&&me.preventDefault(),me.key!==W.tW.ENTER&&me.key!==W.tW.ESCAPE||(Te(),i({showHyperlinkPopup:"info"}))}}):j.link?(0,D.jsx)("a",{href:(0,G.$u)(j.link||""),className:"excalidraw-hyperlinkContainer-link",target:(0,G.q$)(j.link)?"_self":"_blank",onClick:function(me){if(j.link&&s){var Se=(0,w.ag)(J.Ks.EXCALIDRAW_LINK,me.nativeEvent);s(ee(ee({},j),{},{link:(0,G.$u)(j.link)}),Se),Se.defaultPrevented&&me.preventDefault()}},rel:"noopener noreferrer",children:j.link}):(0,D.jsx)("div",{className:"excalidraw-hyperlinkContainer-link",children:(0,f.t)("labels.link.empty")}),(0,D.jsxs)("div",{className:"excalidraw-hyperlinkContainer__buttons",children:[!Be&&(0,D.jsx)(x.V,{type:"button",title:(0,f.t)("buttons.edit"),"aria-label":(0,f.t)("buttons.edit"),label:(0,f.t)("buttons.edit"),onClick:function(){(0,C.L)("hyperlink","edit","popup-ui"),i({showHyperlinkPopup:"editor"})},className:"excalidraw-hyperlinkContainer--edit",icon:c.Pm}),$&&!(0,_.gs)(j)&&(0,D.jsx)(x.V,{type:"button",title:(0,f.t)("buttons.remove"),"aria-label":(0,f.t)("buttons.remove"),label:(0,f.t)("buttons.remove"),onClick:He,className:"excalidraw-hyperlinkContainer--remove",icon:c.XH})]})]})},V=function(se,j){var i=(0,le.qf)(se),s=(0,P.Z)(i,2),O=s[0],z=s[1],K=(0,w._i)({sceneX:O+se.width/2,sceneY:z},j),$=K.x,Q=K.y;return{x:$-j.offsetLeft-160,y:Q-j.offsetTop-85}},ie=(0,I.z)({name:"hyperlink",perform:function(se,j){return j.showHyperlinkPopup!=="editor"&&{elements:se,appState:ee(ee({},j),{},{showHyperlinkPopup:"editor",openMenu:null}),commitToHistory:!0}},trackEvent:{category:"hyperlink",action:"click"},keyTest:function(se){return se[W.tW.CTRL_OR_CMD]&&se.key===W.tW.K},contextItemLabel:function(se,j){return we(se,j)},predicate:function(se,j){return(0,he.eD)(se,j).length===1},PanelComponent:function(se){var j=se.elements,i=se.appState,s=se.updateData,O=(0,he.eD)(j,i);return(0,D.jsx)(x.V,{type:"button",icon:c.xP,"aria-label":(0,f.t)(we(j,i)),title:"".concat((0,_.gs)(j[0])?(0,f.t)("labels.link.labelEmbed"):(0,f.t)("labels.link.label")," - ").concat((0,w.uY)("CtrlOrCmd+K")),onClick:function(){return s(null)},selected:O.length===1&&!!O[0].link})}}),we=function(se,j){var i=(0,he.eD)(se,j);return i[0].link?(0,_.gs)(i[0])?"labels.link.editEmbed":"labels.link.edit":(0,_.gs)(i[0])?"labels.link.createEmbed":"labels.link.create"},Ae=function(se,j,i){var s=(0,P.Z)(se,4),O=s[0],z=s[1],K=s[2],$=s[3],Q=k.Dn,ae=Q/i.zoom.value,be=Q/i.zoom.value,Ce=Q/i.zoom.value,Ze=(O+K)/2,Be=(z+$)/2,Te=(Q-8)/(2*i.zoom.value),He=4/i.zoom.value,Ve=K+He-Te,Je=z-He-Ce+Te,Me=(0,S.U1)(Ve+ae/2,Je+be/2,Ze,Be,j),me=(0,P.Z)(Me,2);return[me[0]-ae/2,me[1]-be/2,ae,be]},Re=function(se,j,i){var s=(0,P.Z)(i,2),O=s[0],z=s[1],K=4/j.zoom.value,$=(0,le.qf)(se),Q=(0,P.Z)($,4),ae=Q[0],be=Q[1],Ce=Q[2],Ze=Q[3],Be=Ae([ae,be,Ce,Ze],se.angle,j),Te=(0,P.Z)(Be,4),He=Te[0],Ve=Te[1],Je=Te[2],Me=Te[3];return O>He-K&&O<He+K+Je&&z>Ve-K&&z<Ve+Me+K},je=function(se,j,i,s){var O=(0,P.Z)(i,2),z=O[0],K=O[1];if(!se.link||j.selectedElementIds[se.id])return!1;var $=4/j.zoom.value;return!(s||!j.viewModeEnabled||!(0,ve.pX)(se,[z,K],$,null))||Re(se,j,[z,K])},ye=null,Ee=function(se,j){ye&&clearTimeout(ye),ye=window.setTimeout(function(){return Oe(se,j)},J.sA)},Oe=function(se,j){if(se.link){var i=(0,ce.bK)();i.classList.add("excalidraw-tooltip--visible"),i.style.maxWidth="20rem",i.textContent=se.link;var s=(0,le.qf)(se),O=(0,P.Z)(s,4),z=O[0],K=O[1],$=O[2],Q=O[3],ae=Ae([z,K,$,Q],se.angle,j),be=(0,P.Z)(ae,4),Ce=be[0],Ze=be[1],Be=be[2],Te=be[3],He=(0,w._i)({sceneX:Ce,sceneY:Ze},j);(0,ce.Js)(i,{left:He.x,top:He.y,width:Be,height:Te},"top"),(0,C.L)("hyperlink","tooltip","link-icon"),re=!0}},ge=function(){ye&&clearTimeout(ye),re&&(re=!1,(0,ce.bK)().classList.remove("excalidraw-tooltip--visible"))},ue=function(se,j,i){var s=(0,P.Z)(i,2),O=s[0],z=s[1],K=(0,w.dE)({clientX:O,clientY:z},j),$=K.x,Q=K.y,ae=15/j.zoom.value;if((0,ve.pX)(se,[$,Q],ae,null))return!1;var be=(0,le.qf)(se),Ce=(0,P.Z)(be,3),Ze=Ce[0],Be=Ce[1],Te=Ce[2];if($>=Ze&&$<=Te&&Q>=Be-85&&Q<=Be)return!1;var He=V(se,j),Ve=He.x,Je=He.y;return!(O>=Ve-ae&&O<=Ve+320+10+ae&&z>=Je-ae&&z<=Je+ae+10+42)}},9645:function(et,fe,t){t.d(fe,{$q:function(){return ee},DK:function(){return M},H:function(){return A},HG:function(){return ce},N1:function(){return S},R:function(){return G},UZ:function(){return U},Ww:function(){return d},Y9:function(){return y},ZB:function(){return l},cz:function(){return k},ek:function(){return D},el:function(){return ve}});var e=t(7169),P=t(2577),w=t(4105),m=t(4183),v=t(3528),I=t(583),x=t(457),c=t(7422),f=t(9827),Z=t(5491),N=t(4761);function W(oe,Y){var V=Object.keys(oe);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(oe);Y&&(ie=ie.filter(function(we){return Object.getOwnPropertyDescriptor(oe,we).enumerable})),V.push.apply(V,ie)}return V}var k=function(oe){return!oe[Z.tW.CTRL_OR_CMD]},S=function(oe){return oe.isBindingEnabled},J=function(oe,Y){var V=[];return Y.forEach(function(ie){var we=oe.getNonDeletedElement(ie);we!=null&&V.push(we)}),V},ce=function(oe,Y,V){var ie=new Set,we=new Set;he(oe,Y,V,"start",ie,we),he(oe,V,Y,"end",ie,we);var Ae=Array.from(we).filter(function(Re){return!ie.has(Re)});J(x.Z.getScene(oe),Ae).forEach(function(Re){var je;(0,I.DR)(Re,{boundElements:(je=Re.boundElements)===null||je===void 0?void 0:je.filter(function(ye){return ye.type!=="arrow"||ye.id!==oe.id})})})},he=function(oe,Y,V,ie,we,Ae){if(Y!=="keep")if(Y!=null)V!=null&&(V==="keep"?H(oe,Y,ie):ie!=="start"&&V.id===Y.id)||(U(oe,Y,ie),we.add(Y.id));else{var Re=b(oe,ie);Re!=null&&Ae.add(Re)}},ve=function(oe){oe.forEach(function(Y){(0,m.Mn)(Y)?ce(Y,C(Y,"start"),C(Y,"end")):(0,m.f0)(Y)&&le(Y)})},le=function(oe){_(oe).forEach(function(Y){var V=(0,P.Z)(Y,2),ie=V[0],we=V[1];return ce(ie,we==="end"?"keep":oe,we==="start"?"keep":oe)})},G=function(oe,Y,V,ie){Y.startBoundElement!=null&&U(oe,Y.startBoundElement,"start");var we=y(ie,V);we==null||H(oe,we,"end")||U(oe,we,"end")},U=function(oe,Y,V){(0,I.DR)(oe,(0,e.Z)({},V==="start"?"startBinding":"endBinding",function(ie){for(var we=1;we<arguments.length;we++){var Ae=arguments[we]!=null?arguments[we]:{};we%2?W(Object(Ae),!0).forEach(function(Re){(0,e.Z)(ie,Re,Ae[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ie,Object.getOwnPropertyDescriptors(Ae)):W(Object(Ae)).forEach(function(Re){Object.defineProperty(ie,Re,Object.getOwnPropertyDescriptor(Ae,Re))})}return ie}({elementId:Y.id},h(oe,Y,V)))),(0,f.xn)(Y.boundElements||[]).has(oe.id)||(0,I.DR)(Y,{boundElements:(Y.boundElements||[]).concat({id:oe.id,type:"arrow"})})},H=function(oe,Y,V){var ie=oe[V==="start"?"endBinding":"startBinding"];return M(oe,ie?.elementId,Y)},M=function(oe,Y,V){return Y===V.id&&oe.points.length<3},A=function(oe){oe.forEach(function(Y){(0,m.Mn)(Y)&&ce(Y,null,null)})},b=function(oe,Y){var V=Y==="start"?"startBinding":"endBinding",ie=oe[V];return ie==null?null:((0,I.DR)(oe,(0,e.Z)({},V,null)),ie.elementId)},y=function(oe,Y){return(0,w.QG)(Y.getNonDeletedElements(),function(V){return(0,m.f0)(V,!1)&&(0,v.uu)(V,oe)})},h=function(oe,Y,V){var ie=V==="start"?-1:1,we=ie===-1?0:oe.points.length-1,Ae=we-ie,Re=c._.getPointAtIndexGlobalCoordinates(oe,we),je=c._.getPointAtIndexGlobalCoordinates(oe,Ae);return{focus:(0,v.T_)(Y,je,Re),gap:Math.max(1,(0,v.oT)(Y,Re))}},d=function(oe,Y){var V,ie=((V=oe.boundElements)!==null&&V!==void 0?V:[]).filter(function(ye){return ye.type==="arrow"});if(ie.length!==0){var we=Y??{},Ae=we.newSize,Re=we.simultaneouslyUpdated,je=n(Re);J(x.Z.getScene(oe),ie.map(function(ye){return ye.id})).forEach(function(ye){if((0,m.bt)(ye)){var Ee=oe;if(r(ye,Ee)){var Oe=a(Ee,ye.startBinding,Ae),ge=a(Ee,ye.endBinding,Ae);je.has(ye.id)?(0,I.DR)(ye,{startBinding:Oe,endBinding:ge}):(p(ye,"start",Oe,oe),p(ye,"end",ge,oe),(0,N.WJ)(ye)&&(0,N.RB)(ye,!1))}}})}},r=function(oe,Y){var V,ie;return((V=oe.startBinding)===null||V===void 0?void 0:V.elementId)===Y.id||((ie=oe.endBinding)===null||ie===void 0?void 0:ie.elementId)===Y.id},n=function(oe){return new Set((oe||[]).map(function(Y){return Y.id}))},p=function(oe,Y,V,ie){if(!(V==null||V.elementId!==ie.id&&oe.points.length>2)){var we=x.Z.getScene(oe).getElement(V.elementId);if(we!=null){var Ae,Re=Y==="start"?-1:1,je=Re===-1?0:oe.points.length-1,ye=je-Re,Ee=c._.getPointAtIndexGlobalCoordinates(oe,ye),Oe=(0,v.j_)(we,V.focus,Ee);if(V.gap===0)Ae=Oe;else{var ge=(0,v.MZ)(we,Ee,Oe,V.gap);Ae=ge.length===0?Oe:ge[0]}c._.movePoints(oe,[{index:je,point:c._.pointFromAbsoluteCoords(oe,Ae)}],(0,e.Z)({},Y==="start"?"startBinding":"endBinding",V))}}},a=function(oe,Y,V){if(Y==null||V==null)return Y;var ie=Y.gap,we=Y.focus,Ae=Y.elementId,Re=V.width,je=V.height,ye=oe.width,Ee=oe.height;return{elementId:Ae,gap:Math.max(1,Math.min((0,v.fb)(oe,Re,je),ie*(Re<je?Re/ye:je/Ee))),focus:we}},l=function(oe){var Y=new Set(oe.map(function(V){return V.id}));return oe.flatMap(function(V){return(0,m.Mn)(V,!1)?u(V).filter(function(ie){return!Y.has(ie.id)}):(0,m.f0)(V,!1)?_(V).filter(function(ie){return!Y.has(ie[0].id)}):[]})},u=function(oe){return[C(oe,"start"),C(oe,"end")].filter(function(Y){return Y!=null})},C=function(oe,Y){return y(L(oe,Y),x.Z.getScene(oe))},L=function(oe,Y){var V=Y==="start"?0:-1;return(0,f.AK)(c._.getPointAtIndexGlobalCoordinates(oe,V))},_=function(oe){return x.Z.getScene(oe).getNonDeletedElements().map(function(Y){if(!(0,m.Mn)(Y,!1))return null;var V=E(Y,"start",oe),ie=E(Y,"end",oe);return V||ie?[Y,V&&ie?"both":V?"start":"end",oe]:null}).filter(function(Y){return Y!=null})},E=function(oe,Y,V){return oe[Y==="start"?"startBinding":"endBinding"]==null&&!H(oe,V,Y)&&(0,v.uu)(V,L(oe,Y))},D=function(oe,Y,V,ie){var we=new Set,Ae=new Set,Re=ie==="duplicatesServeAsOld";Y.forEach(function(je){var ye=je.boundElements;if(ye!=null&&ye.length>0&&(ye.forEach(function(ge){Re&&!V.has(ge.id)&&we.add(ge.id)}),Ae.add(V.get(je.id))),(0,m.Mn)(je)){if(je.startBinding!=null){var Ee=je.startBinding.elementId;Re&&!V.has(Ee)&&Ae.add(Ee)}if(je.endBinding!=null){var Oe=je.endBinding.elementId;Re&&!V.has(Oe)&&Ae.add(Oe)}je.startBinding==null&&je.endBinding==null||we.add(V.get(je.id))}}),oe.filter(function(je){var ye=je.id;return we.has(ye)}).forEach(function(je){var ye=je.startBinding,Ee=je.endBinding;(0,I.DR)(je,{startBinding:F(ye,V),endBinding:F(Ee,V)})}),oe.filter(function(je){var ye=je.id;return Ae.has(ye)}).forEach(function(je){var ye=je.boundElements;ye!=null&&ye.length>0&&(0,I.DR)(je,{boundElements:ye.map(function(Ee){return V.has(Ee.id)?{id:V.get(Ee.id),type:Ee.type}:Ee})})})},F=function(oe,Y){var V;if(oe==null)return null;var ie=oe.elementId;return{focus:oe.focus,gap:oe.gap,elementId:(V=Y.get(ie))!==null&&V!==void 0?V:ie}},ee=function(oe,Y){var V=new Set(Y.map(function(we){return we.id})),ie=new Set;Y.forEach(function(we){var Ae;(0,m.f0)(we)?(Ae=we.boundElements)===null||Ae===void 0||Ae.forEach(function(Re){V.has(Re.id)||ie.add(Re.id)}):(0,m.Mn)(we)&&(we.startBinding&&ie.add(we.startBinding.elementId),we.endBinding&&ie.add(we.endBinding.elementId))}),oe.filter(function(we){var Ae=we.id;return ie.has(Ae)}).forEach(function(we){(0,m.f0)(we)?(0,I.DR)(we,{boundElements:re(we.boundElements,V)}):(0,m.Mn)(we)&&(0,I.DR)(we,{startBinding:te(we.startBinding,V),endBinding:te(we.endBinding,V)})})},te=function(oe,Y){return oe==null||Y.has(oe.elementId)?null:oe},re=function(oe,Y){return oe?oe.filter(function(V){return!Y.has(V.id)}):null}},4949:function(et,fe,t){t.d(fe,{CM:function(){return U},GJ:function(){return ve},IX:function(){return A},KP:function(){return n},M$:function(){return le},Pi:function(){return r},UC:function(){return G},Ut:function(){return l},Y5:function(){return h},hC:function(){return p},os:function(){return u},qf:function(){return he},v2:function(){return C},wC:function(){return a}});var e=t(1930),P=t(2577),w=t(8821),m=t(5169),v=t(2361),I=t(9845),x=t(6049),c=t(4183),f=t(5999),Z=t(4761),N=t(7422),W=t(2921),k=t(457);function S(L,_){var E=typeof Symbol<"u"&&L[Symbol.iterator]||L["@@iterator"];if(!E){if(Array.isArray(L)||(E=function(oe,Y){if(oe){if(typeof oe=="string")return J(oe,Y);var V=Object.prototype.toString.call(oe).slice(8,-1);if(V==="Object"&&oe.constructor&&(V=oe.constructor.name),V==="Map"||V==="Set")return Array.from(oe);if(V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return J(oe,Y)}}(L))||_&&L&&typeof L.length=="number"){E&&(L=E);var D=0,F=function(){};return{s:F,n:function(){return D>=L.length?{done:!0}:{done:!1,value:L[D++]}},e:function(oe){throw oe},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ee,te=!0,re=!1;return{s:function(){E=E.call(L)},n:function(){var oe=E.next();return te=oe.done,oe},e:function(oe){re=!0,ee=oe},f:function(){try{te||E.return==null||E.return()}finally{if(re)throw ee}}}}function J(L,_){(_==null||_>L.length)&&(_=L.length);for(var E=0,D=new Array(_);E<_;E++)D[E]=L[E];return D}var ce=function(){function L(){(0,w.Z)(this,L)}return(0,m.Z)(L,null,[{key:"getBounds",value:function(_){var E=L.boundsCache.get(_);if(E!=null&&E.version&&E.version===_.version&&!(0,c.Xh)(_))return E.bounds;var D=L.calculateBounds(_);return k.Z.getScene(_)&&L.boundsCache.set(_,{version:_.version,bounds:D}),D}},{key:"calculateBounds",value:function(_){var E,D=he(_),F=(0,P.Z)(D,6),ee=F[0],te=F[1],re=F[2],oe=F[3],Y=F[4],V=F[5];if((0,c.F9)(_)){var ie=b(_.points.map(function(ot){var mt=(0,P.Z)(ot,2),pt=mt[0],ht=mt[1];return(0,v.U1)(pt,ht,Y-_.x,V-_.y,_.angle)})),we=(0,P.Z)(ie,4),Ae=we[0],Re=we[1],je=we[2],ye=we[3];return[Ae+_.x,Re+_.y,je+_.x,ye+_.y]}if((0,c.bt)(_))E=d(_,Y,V);else if(_.type==="diamond"){var Ee=(0,v.U1)(Y,te,Y,V,_.angle),Oe=(0,P.Z)(Ee,2),ge=Oe[0],ue=Oe[1],se=(0,v.U1)(Y,oe,Y,V,_.angle),j=(0,P.Z)(se,2),i=j[0],s=j[1],O=(0,v.U1)(ee,V,Y,V,_.angle),z=(0,P.Z)(O,2),K=z[0],$=z[1],Q=(0,v.U1)(re,V,Y,V,_.angle),ae=(0,P.Z)(Q,2),be=ae[0],Ce=ae[1];E=[Math.min(ge,i,K,be),Math.min(ue,s,$,Ce),Math.max(ge,i,K,be),Math.max(ue,s,$,Ce)]}else if(_.type==="ellipse"){var Ze=(re-ee)/2,Be=(oe-te)/2,Te=Math.cos(_.angle),He=Math.sin(_.angle),Ve=Math.hypot(Ze*Te,Be*He),Je=Math.hypot(Be*Te,Ze*He);E=[Y-Ve,V-Je,Y+Ve,V+Je]}else{var Me=(0,v.U1)(ee,te,Y,V,_.angle),me=(0,P.Z)(Me,2),Se=me[0],Ne=me[1],Ye=(0,v.U1)(ee,oe,Y,V,_.angle),Qe=(0,P.Z)(Ye,2),rt=Qe[0],ft=Qe[1],at=(0,v.U1)(re,oe,Y,V,_.angle),ut=(0,P.Z)(at,2),Ot=ut[0],Pt=ut[1],Et=(0,v.U1)(re,te,Y,V,_.angle),Mt=(0,P.Z)(Et,2),Yt=Mt[0],lt=Mt[1];E=[Math.min(Se,rt,Ot,Yt),Math.min(Ne,ft,Pt,lt),Math.max(Se,rt,Ot,Yt),Math.max(Ne,ft,Pt,lt)]}return E}}]),L}();ce.boundsCache=new WeakMap;var he=function(L){var _=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if((0,c.F9)(L))return y(L);if((0,c.bt)(L))return N._.getElementAbsoluteCoords(L,_);if((0,c.iB)(L)){var E=(0,Z.tl)(L);if((0,c.Yv)(E)){var D=N._.getBoundTextElementPosition(E,L);return[D.x,D.y,D.x+L.width,D.y+L.height,D.x+L.width/2,D.y+L.height/2]}}return[L.x,L.y,L.x+L.width,L.y+L.height,L.x+L.width/2,L.y+L.height/2]},ve=function(L){var _=he(L),E=(0,P.Z)(_,6),D=E[0],F=E[1],ee=E[2],te=E[3],re=E[4],oe=E[5],Y=[re,oe];if((0,c.bt)(L)||(0,c.F9)(L)){for(var V=[],ie=0;ie<L.points.length-1;)V.push([(0,v.xj)([L.points[ie][0]+L.x,L.points[ie][1]+L.y],Y,L.angle),(0,v.xj)([L.points[ie+1][0]+L.x,L.points[ie+1][1]+L.y],Y,L.angle)]),ie++;return V}var we=[[D,F],[ee,F],[D,te],[ee,te],[re,F],[re,te],[D,oe],[ee,oe]].map(function(j){return(0,v.xj)(j,Y,L.angle)}),Ae=(0,P.Z)(we,8),Re=Ae[0],je=Ae[1],ye=Ae[2],Ee=Ae[3],Oe=Ae[4],ge=Ae[5],ue=Ae[6],se=Ae[7];return L.type==="diamond"?[[Oe,ue],[Oe,se],[ge,ue],[ge,se]]:L.type==="ellipse"?[[Oe,ue],[Oe,se],[ge,ue],[ge,se],[Oe,ue],[Oe,se],[ge,ue],[ge,se]]:[[Re,je],[ye,Ee],[Re,ye],[je,Ee],[Re,se],[ye,se],[je,ue],[Ee,ue]]},le=function(L){return[L.x,L.y,L.x+L.width,L.y+L.height,L.x+L.width/2,L.y+L.height/2]},G=function(L){var _=Math.floor(L.width/2)+1,E=L.width,D=Math.floor(L.height/2)+1;return[_,0,E,D,_,L.height,0,D]},U=function(L){var _,E=S(L.sets);try{for(E.s();!(_=E.n()).done;){var D=_.value;if(D.type==="path")return D.ops}}catch(F){E.e(F)}finally{E.f()}return L.sets[0].ops},H=function(L,_,E,D,F){var ee=1-L;return Math.pow(ee,3)*_+3*Math.pow(ee,2)*L*E+3*ee*Math.pow(L,2)*D+Math.pow(L,3)*F},M=function(L,_,E,D){var F=_-L,ee=E-_,te=3*F-6*ee+3*(D-E),re=6*ee-6*F,oe=3*F,Y=re*re-4*te*oe;if(!(Y>=0))return!1;var V=null,ie=null,we=1/0,Ae=1/0;return te===0?we=Ae=-oe/re:(we=(-re+Math.sqrt(Y))/(2*te),Ae=(-re-Math.sqrt(Y))/(2*te)),we>=0&&we<=1&&(V=H(we,L,_,E,D)),Ae>=0&&Ae<=1&&(ie=H(Ae,L,_,E,D)),[V,ie]},A=function(L,_){var E=[0,0],D=L.reduce(function(F,ee){var te=ee.op,re=ee.data;if(te==="move")E=re;else if(te==="bcurveTo"){var oe=[re[0],re[1]],Y=[re[2],re[3]],V=[re[4],re[5]],ie=_?_.apply(void 0,oe):oe,we=_?_.apply(void 0,Y):Y,Ae=_?_.apply(void 0,V):V,Re=_?_.apply(void 0,(0,e.Z)(E)):E;E=V;var je=function(se,j,i,s){var O=M(se[0],j[0],i[0],s[0]),z=M(se[1],j[1],i[1],s[1]),K=Math.min(se[0],s[0]),$=Math.max(se[0],s[0]);if(O){var Q=O.filter(function(Ze){return Ze!==null});K=Math.min.apply(Math,[K].concat((0,e.Z)(Q))),$=Math.max.apply(Math,[$].concat((0,e.Z)(Q)))}var ae=Math.min(se[1],s[1]),be=Math.max(se[1],s[1]);if(z){var Ce=z.filter(function(Ze){return Ze!==null});ae=Math.min.apply(Math,[ae].concat((0,e.Z)(Ce))),be=Math.max.apply(Math,[be].concat((0,e.Z)(Ce)))}return[K,ae,$,be]}(Re,ie,we,Ae),ye=(0,P.Z)(je,4),Ee=ye[0],Oe=ye[1],ge=ye[2],ue=ye[3];F.minX=Math.min(F.minX,Ee),F.minY=Math.min(F.minY,Oe),F.maxX=Math.max(F.maxX,ge),F.maxY=Math.max(F.maxY,ue)}return F},{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0});return[D.minX,D.minY,D.maxX,D.maxY]},b=function(L){var _,E=1/0,D=1/0,F=-1/0,ee=-1/0,te=S(L);try{for(te.s();!(_=te.n()).done;){var re=(0,P.Z)(_.value,2),oe=re[0],Y=re[1];E=Math.min(E,oe),D=Math.min(D,Y),F=Math.max(F,oe),ee=Math.max(ee,Y)}}catch(V){te.e(V)}finally{te.f()}return[E,D,F,ee]},y=function(L){var _=b(L.points),E=(0,P.Z)(_,4),D=E[0],F=E[1],ee=E[2],te=E[3],re=D+L.x,oe=F+L.y,Y=ee+L.x,V=te+L.y;return[re,oe,Y,V,(re+Y)/2,(oe+V)/2]},h=function(L,_,E,D){var F=U(_[0]);if(F.length<1)return null;var ee=E==="start"?1:F.length-1,te=F[ee].data,re=[te[4],te[5]],oe=[te[2],te[3]],Y=[te[0],te[1]],V=F[ee-1],ie=[0,0];V.op==="move"?ie=V.data:V.op==="bcurveTo"&&(ie=[V.data[4],V.data[5]]);var we=function(Pt,Et){return Math.pow(1-Pt,3)*re[Et]+3*Pt*Math.pow(1-Pt,2)*oe[Et]+3*Math.pow(Pt,2)*(1-Pt)*Y[Et]+ie[Et]*Math.pow(Pt,3)},Ae=E==="start"?ie:re,Re=(0,P.Z)(Ae,2),je=Re[0],ye=Re[1],Ee=[we(.3,0),we(.3,1)],Oe=Ee[0],ge=Ee[1],ue=Math.hypot(je-Oe,ye-ge),se=(je-Oe)/ue,j=(ye-ge)/ue,i={arrow:30,bar:15,dot:15,triangle:15}[D],s=0;if(D==="arrow"){var O=(0,P.Z)(L.points[L.points.length-1],2),z=O[0],K=O[1],$=L.points.length>1?L.points[L.points.length-2]:[0,0],Q=(0,P.Z)($,2),ae=Q[0],be=Q[1];s=Math.hypot(z-ae,K-be)}else for(var Ce=0;Ce<L.points.length;Ce++){var Ze=L.points[Ce-1]||[0,0],Be=(0,P.Z)(Ze,2),Te=Be[0],He=Be[1],Ve=(0,P.Z)(L.points[Ce],2),Je=Ve[0],Me=Ve[1];s+=Math.hypot(Je-Te,Me-He)}var me=Math.min(i,s/2),Se=je-se*me,Ne=ye-j*me;if(D==="dot")return[je,ye,Math.hypot(Ne-ye,Se-je)+L.strokeWidth];var Ye={arrow:20,bar:90,triangle:25}[D],Qe=(0,v.U1)(Se,Ne,je,ye,-Ye*Math.PI/180),rt=(0,P.Z)(Qe,2),ft=rt[0],at=rt[1],ut=(0,v.U1)(Se,Ne,je,ye,Ye*Math.PI/180),Ot=(0,P.Z)(ut,2);return[je,ye,ft,at,Ot[0],Ot[1]]},d=function(L,_,E){var D;if(L.points.length<2){var F=(0,P.Z)(L.points[0],2),ee=F[0],te=F[1],re=(0,v.U1)(L.x+ee,L.y+te,_,E,L.angle),oe=(0,P.Z)(re,2),Y=oe[0],V=oe[1],ie=[Y,V,Y,V],we=(0,Z.WJ)(L);if(we){var Ae=N._.getMinMaxXYWithBoundText(L,[Y,V,Y,V],we);ie=[Ae[0],Ae[1],Ae[2],Ae[3]]}return ie}var Re=(D=W.R.get(L))===null||D===void 0?void 0:D[0],je=Re??function(se){var j=I.Z.generator(),i=(0,x.Z)(se);return j[se.roundness?"curve":i.fill?"polygon":"linearPath"](se.points,i)}(L),ye=U(je),Ee=A(ye,function(se,j){return(0,v.U1)(L.x+se,L.y+j,_,E,L.angle)}),Oe=[Ee[0],Ee[1],Ee[2],Ee[3]],ge=(0,Z.WJ)(L);if(ge){var ue=N._.getMinMaxXYWithBoundText(L,Oe,ge);Oe=[ue[0],ue[1],ue[2],ue[3]]}return Oe},r=function(L){return ce.getBounds(L)},n=function(L){if(!L.length)return[0,0,0,0];var _=1/0,E=-1/0,D=1/0,F=-1/0;return L.forEach(function(ee){var te=r(ee),re=(0,P.Z)(te,4),oe=re[0],Y=re[1],V=re[2],ie=re[3];_=Math.min(_,oe),D=Math.min(D,Y),E=Math.max(E,V),F=Math.max(F,ie)}),[_,D,E,F]},p=function(L,_){var E=n(L),D=(0,P.Z)(E,4),F=D[0],ee=D[1],te=D[2],re=D[3];return[F+_.x,ee+_.y,te+_.x,re+_.y]},a=function(L,_,E,D){if(!(0,c.bt)(L)&&!(0,c.F9)(L))return[L.x,L.y,L.x+_,L.y+E];var F,ee=(0,f.z)(0,_,(0,f.z)(1,E,L.points,D),D);if((0,c.F9)(L))F=b(ee);else{var te=I.Z.generator(),re=L.roundness?te.curve(ee,(0,x.Z)(L)):te.linearPath(ee,(0,x.Z)(L)),oe=U(re);F=A(oe)}var Y=F,V=(0,P.Z)(Y,4),ie=V[0],we=V[1],Ae=V[2],Re=V[3];return[ie+L.x,we+L.y,Ae+L.x,Re+L.y]},l=function(L,_){var E=I.Z.generator(),D=L.roundness==null?E.linearPath(_,(0,x.Z)(L)):E.curve(_,(0,x.Z)(L)),F=U(D),ee=A(F),te=(0,P.Z)(ee,4),re=te[0],oe=te[1],Y=te[2],V=te[3];return[re+L.x,oe+L.y,Y+L.x,V+L.y]},u=function(L,_){if(!L.length)return[0,0,0,0];var E=1/0,D=L[0];return L.forEach(function(F){var ee=r(F),te=(0,P.Z)(ee,4),re=te[0],oe=te[1],Y=te[2],V=te[3],ie=(0,v.LW)((re+Y)/2,(oe+V)/2,_.x,_.y);ie<E&&(E=ie,D=F)}),r(D)},C=function(L){var _=n(L),E=(0,P.Z)(_,4),D=E[0],F=E[1],ee=E[2],te=E[3];return{minX:D,minY:F,maxX:ee,maxY:te,width:ee-D,height:te-F,midX:(D+ee)/2,midY:(F+te)/2}}},3528:function(et,fe,t){t.d(fe,{uu:function(){return re},T_:function(){return z},j_:function(){return K},oT:function(){return V},wX:function(){return E},MZ:function(){return $},wB:function(){return D},Qu:function(){return F},pX:function(){return te},fb:function(){return oe}});var e=t(2577),P=function(Me,me){return[0,0,0,0,me,Me,1,0]},w=function(Me,me){return[0,0,0,0,me,Me,0,0]},m=function(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Se=[0,0,0,0,0,0,0,0];if(me<0||me>7)throw new Error("Expected `index` between 0 and 7, got `".concat(me,"`"));return Me!==0&&(Se[me]=Me),Se},v=function(Me){return[Me[0],Me[1],Me[2],Me[3],-Me[4],-Me[5],-Me[6],-Me[7]]},I=function(Me,me){return S(me)?[Me[0]-me,Me[1],Me[2],Me[3],Me[4],Me[5],Me[6],Me[7]]:[Me[0]-me[0],Me[1]-me[1],Me[2]-me[2],Me[3]-me[3],Me[4]-me[4],Me[5]-me[5],Me[6]-me[6],Me[7]-me[7]]},x=function(Me,me){return S(me)?[Me[0]*me,Me[1]*me,Me[2]*me,Me[3]*me,Me[4]*me,Me[5]*me,Me[6]*me,Me[7]*me]:[c(Me,me),me[1]*Me[0]+me[0]*Me[1]-me[4]*Me[2]+me[5]*Me[3]+me[2]*Me[4]-me[3]*Me[5]-me[7]*Me[6]-me[6]*Me[7],me[2]*Me[0]+me[0]*Me[2]-me[6]*Me[3]+me[3]*Me[6],me[3]*Me[0]+me[6]*Me[2]+me[0]*Me[3]-me[2]*Me[6],me[4]*Me[0]+me[2]*Me[1]-me[1]*Me[2]+me[7]*Me[3]+me[0]*Me[4]+me[6]*Me[5]-me[5]*Me[6]+me[3]*Me[7],me[5]*Me[0]-me[3]*Me[1]+me[7]*Me[2]+me[1]*Me[3]-me[6]*Me[4]+me[0]*Me[5]+me[4]*Me[6]+me[2]*Me[7],me[6]*Me[0]+me[3]*Me[2]-me[2]*Me[3]+me[0]*Me[6],me[7]*Me[0]+me[6]*Me[1]+me[5]*Me[2]+me[4]*Me[3]+me[3]*Me[4]+me[2]*Me[5]+me[1]*Me[6]+me[0]*Me[7]]},c=function(Me,me){return me[0]*Me[0]+me[2]*Me[2]+me[3]*Me[3]-me[6]*Me[6]},f=function(Me,me){return[Z(Me,me),Me[1]*me[7]+Me[4]*me[5]-Me[5]*me[4]+Me[7]*me[1],Me[2]*me[7]-Me[4]*me[6]+Me[6]*me[4]+Me[7]*me[2],Me[3]*me[7]+Me[5]*me[6]-Me[6]*me[5]+Me[7]*me[3],Me[4]*me[7]+Me[7]*me[4],Me[5]*me[7]+Me[7]*me[5],Me[6]*me[7]+Me[7]*me[6],Me[7]*me[7]]},Z=function(Me,me){return Me[0]*me[7]+Me[1]*me[6]+Me[2]*me[5]+Me[3]*me[4]+Me[4]*me[3]+Me[5]*me[2]+Me[6]*me[1]+Me[7]*me[0]},N=function(Me){return Math.sqrt(Math.abs(Me[0]*Me[0]-Me[2]*Me[2]-Me[3]*Me[3]+Me[6]*Me[6]))},W=function(Me){var me=N(Me);if(me===0||me===1)return Me;var Se=Me[6]<0?-1:1;return x(Me,Se/me)},k=function(Me){var me=function(Se){return Math.sqrt(Math.abs(Se[7]*Se[7]-Se[5]*Se[5]-Se[4]*Se[4]+Se[1]*Se[1]))}(Me);return me===0||me===1?Me:x(Me,1/me)},S=function(Me){return typeof Me=="number"},J=(m(1,1),m(1,2),m(1,3),m(1,4),m(1,5),m(1,6),m(1,7),function(Me,me,Se){return W([0,Se,Me,me,0,0,0,0])}),ce=function(Me,me){return W(f(me,Me))},he=function(Me,me){return Se=Me,[(Ne=me)[0]*Se[0]+Ne[2]*Se[2]+Ne[3]*Se[3]-Ne[6]*Se[6],Ne[1]*Se[0]+Ne[0]*Se[1]-Ne[4]*Se[2]+Ne[5]*Se[3]+Ne[2]*Se[4]-Ne[3]*Se[5]-Ne[7]*Se[6]-Ne[6]*Se[7],Ne[2]*Se[0]+Ne[0]*Se[2]-Ne[6]*Se[3]+Ne[3]*Se[6],Ne[3]*Se[0]+Ne[6]*Se[2]+Ne[0]*Se[3]-Ne[2]*Se[6],Ne[4]*Se[0]+Ne[7]*Se[3]+Ne[0]*Se[4]+Ne[3]*Se[7],Ne[5]*Se[0]+Ne[7]*Se[2]+Ne[0]*Se[5]+Ne[2]*Se[7],Ne[6]*Se[0]+Ne[0]*Se[6],Ne[7]*Se[0]+Ne[0]*Se[7]];var Se,Ne},ve=function(Me){var me=(0,e.Z)(Me,2),Se=me[0];return[0,0,0,0,me[1],Se,1,0]},le=function(Me){return[Me[5],Me[4]]},G=function(Me){return[0,0,0,0,Math.abs(Me[4]),Math.abs(Me[5]),1,0]},U=function(Me,me){return W((Se=Me,[(Ne=me)[0]*Se[0],Ne[1]*Se[0]+Ne[0]*Se[1],Ne[2]*Se[0]+Ne[0]*Se[2],Ne[3]*Se[0]+Ne[0]*Se[3],Ne[4]*Se[0]+Ne[2]*Se[1]-Ne[1]*Se[2]+Ne[0]*Se[4],Ne[5]*Se[0]-Ne[3]*Se[1]+Ne[1]*Se[3]+Ne[0]*Se[5],Ne[6]*Se[0]+Ne[3]*Se[2]-Ne[2]*Se[3]+Ne[0]*Se[6],Ne[7]*Se[0]+Ne[6]*Se[1]+Ne[5]*Se[2]+Ne[4]*Se[3]+Ne[3]*Se[4]+Ne[2]*Se[5]+Ne[1]*Se[6]]));var Se,Ne},H=function(Me,me){return N(f(Me,me))},M=function(Me,me){return Z(Me,me)},A=function(Me){return[0,0,0,0,Me[4],Me[5],0,0]},b=function(Me,me){return Se=x(Me,Math.sin(me/2)),Ne=Math.cos(me/2),S(Ne)?[Se[0]+Ne,Se[1],Se[2],Se[3],Se[4],Se[5],Se[6],Se[7]]:[Se[0]+Ne[0],Se[1]+Ne[1],Se[2]+Ne[2],Se[3]+Ne[3],Se[4]+Ne[4],Se[5]+Ne[5],Se[6]+Ne[6],Se[7]+Ne[7]];var Se,Ne},y=function(Me,me){return W(x(x(Me,me),v(Me)))},h=t(2361),d=t(1493),r=t(4949),n=t(4183),p=t(7651),a=t(9827),l=t(4048),u=t(4761),C=t(2921);function L(Me,me){var Se=typeof Symbol<"u"&&Me[Symbol.iterator]||Me["@@iterator"];if(!Se){if(Array.isArray(Me)||(Se=function(at,ut){if(at){if(typeof at=="string")return _(at,ut);var Ot=Object.prototype.toString.call(at).slice(8,-1);if(Ot==="Object"&&at.constructor&&(Ot=at.constructor.name),Ot==="Map"||Ot==="Set")return Array.from(at);if(Ot==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ot))return _(at,ut)}}(Me))||me&&Me&&typeof Me.length=="number"){Se&&(Me=Se);var Ne=0,Ye=function(){};return{s:Ye,n:function(){return Ne>=Me.length?{done:!0}:{done:!1,value:Me[Ne++]}},e:function(at){throw at},f:Ye}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Qe,rt=!0,ft=!1;return{s:function(){Se=Se.call(Me)},n:function(){var at=Se.next();return rt=at.done,at},e:function(at){ft=!0,Qe=at},f:function(){try{rt||Se.return==null||Se.return()}finally{if(ft)throw Qe}}}}function _(Me,me){(me==null||me>Me.length)&&(me=Me.length);for(var Se=0,Ne=new Array(me);Se<me;Se++)Ne[Se]=Me[Se];return Ne}var E=function Me(me,Se,Ne,Ye,Qe){var rt=10/Se.zoom.value,ft=[Ye,Qe];if(ee(Se,me)&&(0,l.oY)([me],Se))return te(me,ft,rt,Ne);var at=(0,u.WJ)(me);return at&&Me(at,Se,Ne,Ye,Qe)?!0:F(me,Se,Ne,ft)},D=function(Me,me,Se,Ne,Ye){var Qe=10/me.zoom.value,rt=(0,u.WJ)(Me);return(!rt||!E(rt,me,Se,Ne,Ye))&&!F(Me,me,Se,[Ne,Ye])&&te(Me,[Ne,Ye],Qe,Se)},F=function(Me,me,Se,Ne){var Ye=10/me.zoom.value,Qe=(0,p.iB)(Me)?ie:function(rt){if(rt.type==="arrow")return!1;if(rt.type==="freedraw")return!0;var ft=!(0,a.Qm)(rt.backgroundColor)||(0,n.Xo)(rt)||(0,n.gs)(rt);return rt.type==="line"?ft&&(0,h.g6)(rt.points):ft||(0,n.pC)(rt)}(Me)?we:Ae;return Y({element:Me,point:Ne,threshold:Ye,check:Qe,frameNameBoundsCache:Se})},ee=function(Me,me){return Me.selectedElementIds[me.id]},te=function(Me,me,Se,Ne){var Ye=(0,e.Z)(me,2),Qe=Ye[0],rt=Ye[1];if(Me.type==="frame")return Y({element:Me,point:[Qe,rt],threshold:Se,check:we,frameNameBoundsCache:Ne});var ft=(0,r.qf)(Me),at=(0,e.Z)(ft,4),ut=at[0],Ot=at[1],Pt=at[2],Et=at[3],Mt=(ut+Pt)/2,Yt=(Ot+Et)/2,lt=(0,h.U1)(Qe,rt,Mt,Yt,-Me.angle),ot=(0,e.Z)(lt,2),mt=ot[0],pt=ot[1];return mt>ut-Se&&mt<Pt+Se&&pt>Ot-Se&&pt<Et+Se},re=function(Me,me){var Se=me.x,Ne=me.y,Ye=oe(Me,Me.width,Me.height);return Y({element:Me,point:[Se,Ne],threshold:Ye,check:Re,frameNameBoundsCache:null})},oe=function(Me,me,Se){var Ne=(Me.type==="diamond"?1/Math.sqrt(2):1)*Math.min(me,Se);return Math.max(16,Math.min(.25*Ne,32))},Y=function(Me){switch(Me.element.type){case"rectangle":case"embeddable":case"image":case"text":case"diamond":case"ellipse":var me=V(Me.element,Me.point);return Me.check(me,Me.threshold);case"freedraw":return!!Me.check(je(Me.element,Me.point),Me.threshold)&&ue(Me.element,Me.point,Me.threshold);case"arrow":case"line":return se(Me);case"selection":return console.warn("This should not happen, we need to investigate why it does."),!1;case"frame":var Se;if(Me.check(V(Me.element,Me.point),Me.threshold))return!0;var Ne=(Se=Me.frameNameBoundsCache)===null||Se===void 0?void 0:Se.get(Me.element);return!!Ne&&Me.check(ye(Ne,Me.point),Me.threshold)}},V=function(Me,me){switch(Me.type){case"rectangle":case"image":case"text":case"embeddable":case"frame":return je(Me,me);case"diamond":return Ee(Me,me);case"ellipse":return Oe(Me,me)}},ie=function(Me,me){return Me<0},we=function(Me,me){return Me<me},Ae=function(Me,me){return Math.abs(Me)<me},Re=function(Me,me){return 0<=Me&&Me<me},je=function(Me,me){var Se=j(Me,me),Ne=(0,e.Z)(Se,4),Ye=Ne[1],Qe=Ne[2],rt=Ne[3];return Math.max(M(Ye,J(0,1,-rt)),M(Ye,J(1,0,-Qe)))},ye=function(Me,me){var Se=i(me,Me),Ne=(0,e.Z)(Se,4),Ye=Ne[1],Qe=Ne[2],rt=Ne[3];return Math.max(M(Ye,J(0,1,-rt)),M(Ye,J(1,0,-Qe)))},Ee=function(Me,me){var Se=j(Me,me),Ne=(0,e.Z)(Se,4),Ye=Ne[1],Qe=Ne[2],rt=Ne[3],ft=J(rt,Qe,-rt*Qe);return M(Ye,ft)},Oe=function(Me,me){var Se,Ne=ge(Me,me),Ye=(0,e.Z)(Ne,2),Qe=Ye[0],rt=Ye[1];return Se=rt,-Math.sign(Se[1])*M(Qe,rt)},ge=function(Me,me){var Se=j(Me,me),Ne=(0,e.Z)(Se,4),Ye=Ne[1],Qe=Ne[2],rt=Ne[3],ft=le(Ye),at=(0,e.Z)(ft,2),ut=at[0],Ot=at[1],Pt=.707,Et=.707,Mt=Qe,Yt=rt;[0,1,2,3].forEach(function(mt){var pt=Mt*Pt,ht=Yt*Et,yt=(Mt*Mt-Yt*Yt)*Math.pow(Pt,3)/Mt,Ct=(Yt*Yt-Mt*Mt)*Math.pow(Et,3)/Yt,Bt=pt-yt,zt=ht-Ct,tr=ut-yt,cr=Ot-Ct,mr=Math.hypot(zt,Bt),Ft=Math.hypot(cr,tr);Pt=Math.min(1,Math.max(0,(tr*mr/Ft+yt)/Mt)),Et=Math.min(1,Math.max(0,(cr*mr/Ft+Ct)/Yt));var xt=Math.hypot(Et,Pt);Pt/=xt,Et/=xt});var lt,ot=P(Mt*Pt,Yt*Et);return[Ye,he(ce(Ye,lt=ot),lt)]},ue=function(Me,me,Se){var Ne,Ye;if(Me.angle===0)Ne=me[0]-Me.x,Ye=me[1]-Me.y;else{var Qe=(0,r.qf)(Me),rt=(0,e.Z)(Qe,4),ft=rt[0],at=rt[1],ut=rt[2],Ot=rt[3],Pt=(0,h.xj)(me,[ft+(ut-ft)/2,at+(Ot-at)/2],-Me.angle);Ne=Pt[0]-Me.x,Ye=Pt[1]-Me.y}var Et,Mt=(0,e.Z)(Me.points,2),Yt=Mt[0],lt=Mt[1];if((0,h.LW)(Yt[0],Yt[1],Ne,Ye)<Se||(0,h.LW)(lt[0],lt[1],Ne,Ye)<Se)return!0;for(var ot=0;ot<Me.points.length;ot++){var mt=[lt[0]-Yt[0],lt[1]-Yt[1]],pt=Math.hypot(mt[1],mt[0]),ht=[mt[0]/pt,mt[1]/pt],yt=[Ne-Yt[0],Ye-Yt[1]],Ct=(yt[0]*ht[0]+yt[1]*ht[1])/Math.hypot(ht[1],ht[0]);Et=[Yt[0]+ht[0]*Ct,Yt[1]+ht[1]*Ct];var Bt=(0,h.LW)(Et[0],Et[1],Yt[0],Yt[1]),zt=(0,h.LW)(Et[0],Et[1],lt[0],lt[1]);if(Et=zt<Bt&&Bt>pt?lt:Bt<zt&&zt>pt?Yt:Et,Math.hypot(Ye-Et[1],Ne-Et[0])<Se)return!0;Yt=lt,lt=Me.points[ot+1]}var tr=C.R.get(Me);return!(!tr||!tr.sets.length)&&(Me.fillStyle==="solid"?Ve(tr,Ne,Ye,"round"):Je(tr,Ne,Ye,Se))},se=function(Me){var me=Me.element,Se=Me.threshold;if(!C.R.get(me))return!1;var Ne=j(Me.element,Me.point),Ye=(0,e.Z)(Ne,4),Qe=Ye[0],rt=Ye[1],ft=Ye[2],at=Ye[3],ut=J(0,1,-at),Ot=J(1,0,-ft);if(!we(M(rt,ut),Se)||!we(M(rt,Ot),Se))return!1;var Pt=le(Qe),Et=(0,e.Z)(Pt,2),Mt=Et[0],Yt=Et[1],lt=C.R.get(me);return lt?Me.check===we&<.some(function(ot){return Ve(ot,Mt,Yt,me.roundness?"round":"sharp")})?!0:lt.some(function(ot){return Je(ot,Mt,Yt,Se)}):!1},j=function(Me,me){var Se=ve(me),Ne=(0,r.qf)(Me),Ye=(0,e.Z)(Ne,4),Qe=Ye[0],rt=Ye[1],ft=Ye[2],at=Ye[3],ut=O(Qe,rt,ft,at),Ot=b(ut,Me.angle),Pt=y(Ot,Se),Et=I(Pt,A(ut)),Mt=G(Et),Yt=w(Me.x,Me.y);return[I(Pt,Yt),Mt,(ft-Qe)/2,(at-rt)/2]},i=function(Me,me){var Se=ve(Me),Ne=(0,r.M$)(me),Ye=(0,e.Z)(Ne,4),Qe=Ye[0],rt=Ye[1],ft=Ye[2],at=Ye[3],ut=O(Qe,rt,ft,at),Ot=b(ut,me.angle),Pt=y(Ot,Se),Et=I(Pt,A(ut)),Mt=G(Et),Yt=w(me.x,me.y);return[I(Pt,Yt),Mt,(ft-Qe)/2,(at-rt)/2]},s=function(Me){var me=(0,r.qf)(Me),Se=(0,e.Z)(me,4),Ne=Se[0],Ye=Se[1],Qe=Se[2],rt=Se[3],ft=O(Ne,Ye,Qe,rt),at=b(ft,Me.angle),ut=v(function(Ot){return[1,0,0,0,-.5*Ot[5],.5*Ot[4],0,0]}(A(ft)));return x(ut,at)},O=function(Me,me,Se,Ne){return P((Me+Se)/2,(me+Ne)/2)},z=function(Me,me,Se){var Ne,Ye=s(Me),Qe=y(Ye,ve(me)),rt=y(Ye,ve(Se)),ft=ce(Qe,rt),at=Me.height/Me.width,ut=Me.width/2,Ot=Me.height/2,Pt=ft[2],Et=ft[3],Mt=ft[1],Yt=Math.abs(Et),lt=Math.abs(Pt);switch(Me.type){case"rectangle":case"image":case"text":case"embeddable":case"frame":Ne=Mt/(ut*(lt+at*Yt));break;case"diamond":Ne=Yt<lt?Mt/(lt*ut):Mt/(Yt*Ot);break;case"ellipse":Ne=Mt/(ut*Math.sqrt(Math.pow(Pt,2)+Math.pow(at,2)*Math.pow(Et,2)))}return Ne||0},K=function(Me,me,Se){if(me===0){var Ne=(0,r.qf)(Me),Ye=(0,e.Z)(Ne,4),Qe=Ye[0],rt=Ye[1],ft=Ye[2],at=Ye[3],ut=O(Qe,rt,ft,at);return le(ut)}var Ot,Pt=s(Me),Et=y(Pt,ve(Se)),Mt=v(Pt);switch(Me.type){case"rectangle":case"image":case"text":case"diamond":case"embeddable":case"frame":Ot=He(Me,me,Et);break;case"ellipse":Ot=Te(Me,me,Et)}return le(y(Mt,Ot))},$=function(Me,me,Se){var Ne=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,Ye=s(Me),Qe=y(Ye,ve(me)),rt=y(Ye,ve(Se)),ft=ce(Qe,rt),at=v(Ye),ut=Q(Me,ft,Qe,Ne);return ut.map(function(Ot){return le(y(at,Ot))})},Q=function(Me,me,Se){var Ne,Ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;switch(Me.type){case"rectangle":case"image":case"text":case"diamond":case"embeddable":case"frame":var Qe=ae(Me);Ne=Qe.flatMap(function(ft,at){var ut=[ft,Qe[(at+1)%4]];return be(me,Ce(ut,Ye))}).concat(Qe.flatMap(function(ft){return Be(ft,Ye,me)}));break;case"ellipse":Ne=Ze(Me,Ye,me)}if(Ne.length<2)return[];var rt=Ne.sort(function(ft,at){return H(ft,Se)-H(at,Se)});return[rt[0],rt[rt.length-1]]},ae=function(Me){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Se=me*Me.width/2,Ne=me*Me.height/2;switch(Me.type){case"rectangle":case"image":case"text":case"embeddable":case"frame":return[P(Se,Ne),P(Se,-Ne),P(-Se,-Ne),P(-Se,Ne)];case"diamond":return[P(0,Ne),P(Se,0),P(0,-Ne),P(-Se,0)]}},be=function(Me,me){var Se=(0,e.Z)(me,2),Ne=Se[0],Ye=Se[1];return M(Ne,Me)*M(Ye,Me)>=0?[]:[U(Me,ce(Ne,Ye))]},Ce=function(Me,me){var Se=(0,e.Z)(Me,2),Ne=Se[0],Ye=Se[1],Qe=function(rt,ft){var at=.5*ft;return[1,0,0,0,at*rt[4],at*rt[5],0,0]}(function(rt,ft){return k([0,0,0,0,ft[4]-rt[4],ft[5]-rt[5],0,0])}(Ne,Ye),me);return[y(Qe,Ne),y(Qe,Ye)]},Ze=function(Me,me,Se){var Ne=Me.width/2+me,Ye=Me.height/2+me,Qe=Se[2],rt=Se[3],ft=Se[1],at=Ne*Ne*Qe*Qe+Ye*Ye*rt*rt,ut=at-ft*ft;if(at===0||ut<=0)return[];var Ot=Math.sqrt(ut),Pt=-Ne*Ne*Qe*ft,Et=-Ye*Ye*rt*ft;return[P((Pt+Ne*Ye*rt*Ot)/at,(Et-Ne*Ye*Qe*Ot)/at),P((Pt-Ne*Ye*rt*Ot)/at,(Et+Ne*Ye*Qe*Ot)/at)]},Be=function(Me,me,Se){if(me===0)return M(Se,Me)===0?[Me]:[];var Ne=Se[2],Ye=Se[3],Qe=Se[1],rt=le(Me),ft=(0,e.Z)(rt,2),at=ft[0],ut=ft[1],Ot=Ne*Ne+Ye*Ye,Pt=me*me*Ot-Math.pow(Ne*at+Ye*ut+Qe,2);if(Ot===0||Pt<=0)return[];var Et=Math.sqrt(Pt),Mt=at*Ye*Ye-ut*Ne*Ye-Ne*Qe,Yt=ut*Ne*Ne-at*Ne*Ye-Ye*Qe;return[P((Mt+Ye*Et)/Ot,(Yt-Ne*Et)/Ot),P((Mt-Ye*Et)/Ot,(Yt+Ne*Et)/Ot)]},Te=function(Me,me,Se){var Ne=Math.abs(me),Ye=Me.width*Ne/2,Qe=Me.height*Ne/2,rt=Math.sign(me),ft=le(Se),at=(0,e.Z)(ft,2),ut=at[0],Ot=at[1],Pt=Ot===0?1e-4:Ot,Et=Math.pow(ut,2)*Math.pow(Qe,2)+Math.pow(Pt,2)*Math.pow(Ye,2),Mt=(-ut*Math.pow(Qe,2)+rt*Pt*Math.sqrt(Math.max(0,Et-Math.pow(Ye,2)*Math.pow(Qe,2))))/Et,Yt=(-Mt*ut-1)/Pt;Yt===0&&(Yt=.01*(Object.is(Yt,-0)?-1:1));var lt=-Math.pow(Ye,2)*Mt/(Math.pow(Yt,2)*Math.pow(Qe,2)+Math.pow(Mt,2)*Math.pow(Ye,2));return P(lt,(-Mt*lt-1)/Yt)},He=function(Me,me,Se){var Ne=Math.abs(me),Ye=Math.sign(me),Qe=ae(Me,Ne),rt=0,ft=null;return Qe.forEach(function(at){var ut=Ye*ce(Se,at)[1];ut>rt&&(rt=ut,ft=at)}),ft},Ve=function(Me,me,Se,Ne){var Ye,Qe=[],rt=!1,ft=L((0,r.CM)(Me));try{for(ft.s();!(Ye=ft.n()).done;){var at=Ye.value;at.op==="move"?(rt=!rt)&&Qe.push([at.data[0],at.data[1]]):at.op==="bcurveTo"?rt&&(Qe.push([at.data[0],at.data[1]]),Qe.push([at.data[2],at.data[3]]),Qe.push([at.data[4],at.data[5]])):at.op==="lineTo"&&rt&&Qe.push([at.data[0],at.data[1]])}}catch(Ot){ft.e(Ot)}finally{ft.f()}if(Qe.length>=4){if(Ne==="sharp")return(0,h.c9)(Qe,me,Se);var ut=(0,d.sU)(Qe,10,5);return(0,h.c9)(ut,me,Se)}return!1},Je=function(Me,me,Se,Ne){var Ye=(0,r.CM)(Me),Qe=[0,0];return Ye.some(function(rt,ft){var at=rt.op,ut=rt.data;if(at==="move")Qe=ut;else{if(at==="bcurveTo"){var Ot=[ut[0],ut[1]],Pt=[ut[2],ut[3]],Et=[ut[4],ut[5]],Mt=Qe;Qe=Et;var Yt=function(lt,ot,mt,pt,ht,yt){for(var Ct=(0,e.Z)(ht,2),Bt=Ct[0],zt=Ct[1],tr=function(xt,At){return Math.pow(1-xt,3)*pt[At]+3*xt*Math.pow(1-xt,2)*mt[At]+3*Math.pow(xt,2)*(1-xt)*ot[At]+lt[At]*Math.pow(xt,3)},cr=0;cr<=1;){var mr=tr(cr,0),Ft=tr(cr,1);if(Math.sqrt(Math.pow(mr-Bt,2)+Math.pow(Ft-zt,2))<yt)return!0;cr+=.01}return!1}(Mt,Ot,Pt,Et,[me,Se],Ne);return Yt}if(at==="lineTo")return Ve(Me,me,Se,"sharp");at==="qcurveTo"&&console.warn("qcurveTo is not implemented yet")}return!1})}},761:function(et,fe,t){t.d(fe,{LM:function(){return h},eX:function(){return p},g0:function(){return r},uU:function(){return d},xm:function(){return a}});var e=t(7169),P=t(2767),w=t(9937),m=t(8227),v=t(9827),I=t(7652),x=t(5742),c=t(4761),f=t(4183);function Z(l,u){var C=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!C){if(Array.isArray(l)||(C=function(ee,te){if(ee){if(typeof ee=="string")return N(ee,te);var re=Object.prototype.toString.call(ee).slice(8,-1);if(re==="Object"&&ee.constructor&&(re=ee.constructor.name),re==="Map"||re==="Set")return Array.from(ee);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return N(ee,te)}}(l))||u&&l&&typeof l.length=="number"){C&&(l=C);var L=0,_=function(){};return{s:_,n:function(){return L>=l.length?{done:!0}:{done:!1,value:l[L++]}},e:function(ee){throw ee},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E,D=!0,F=!1;return{s:function(){C=C.call(l)},n:function(){var ee=C.next();return D=ee.done,ee},e:function(ee){F=!0,E=ee},f:function(){try{D||C.return==null||C.return()}finally{if(F)throw E}}}}function N(l,u){(u==null||u>l.length)&&(u=l.length);for(var C=0,L=new Array(u);C<u;C++)L[C]=l[C];return L}function W(l,u){var C=Object.keys(l);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(l);u&&(L=L.filter(function(_){return Object.getOwnPropertyDescriptor(l,_).enumerable})),C.push.apply(C,L)}return C}function k(l){for(var u=1;u<arguments.length;u++){var C=arguments[u]!=null?arguments[u]:{};u%2?W(Object(C),!0).forEach(function(L){(0,e.Z)(l,L,C[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(C)):W(Object(C)).forEach(function(L){Object.defineProperty(l,L,Object.getOwnPropertyDescriptor(C,L))})}return l}var S=new Map,J=/^(?:http(?:s)?:\/\/)?(?:www\.)?youtu(?:be\.com|\.be)\/(embed\/|watch\?v=|shorts\/|playlist\?list=|embed\/videoseries\?list=)?([a-zA-Z0-9_-]+)(?:\?t=|&t=|\?start=|&start=)?([a-zA-Z0-9_-]+)?[^\s]*$/,ce=/^(?:http(?:s)?:\/\/)?(?:(?:w){3}.)?(?:player\.)?vimeo\.com\/(?:video\/)?([^?\s]+)(?:\?.*)?$/,he=/^https:\/\/(?:www\.)?figma\.com/,ve=/^https:\/\/gist\.github\.com/,le=/^<script[\s\S]*?\ssrc=["'](https:\/\/gist.github.com\/.*?)\.js["']/i,G=/(?:http(?:s)?:\/\/)?(?:(?:w){3}.)?twitter.com/,U=/^<blockquote[\s\S]*?\shref=["'](https:\/\/twitter.com\/[^"']*)/i,H=/^https:\/\/(?:www\.)?val.town\/(v|embed)\/[a-zA-Z_$][0-9a-zA-Z_$]+\.[a-zA-Z_$][0-9a-zA-Z_$]+/,M=/^<(?:iframe|blockquote)[\s\S]*?\s(?:src|href)=["']([^"']*)["'][\s\S]*?>$/i,A=/giphy.com\/(?:clips|embed|gifs)\/[a-zA-Z0-9]*?-?([a-zA-Z0-9]+)(?:[^a-zA-Z0-9]|$)/,b=new Set(["youtube.com","youtu.be","vimeo.com","player.vimeo.com","figma.com","link.excalidraw.com","gist.github.com","twitter.com","*.simplepdf.eu","stackblitz.com","val.town","giphy.com","dddice.com"]),y=function(l){return"<html><body>".concat(l,"</body></html>")},h=function(l){if(!l)return null;if(S.has(l))return S.get(l);var u=l,C="generic",L={w:560,h:840},_=l.match(J);if(_!=null&&_[2]){var E=_[3]?"&start=".concat(_[3]):"",D=l.includes("shorts");switch(C="video",_[1]){case"embed/":case"watch?v=":case"shorts/":default:l="https://www.youtube.com/embed/".concat(_[2],"?enablejsapi=1").concat(E);break;case"playlist?list=":case"embed/videoseries?list=":l="https://www.youtube.com/embed/videoseries?list=".concat(_[2],"&enablejsapi=1").concat(E)}return L=D?{w:315,h:560}:{w:560,h:315},S.set(u,{link:l,aspectRatio:L,type:C}),{link:l,aspectRatio:L,type:C}}var F=l.match(ce);if(F!=null&&F[1]){var ee=F?.[1],te=/^\d+$/.test(ee)?void 0:(0,m.t)("toast.unrecognizedLinkFormat");return C="video",l="https://player.vimeo.com/video/".concat(ee,"?api=1"),L={w:560,h:315},S.set(u,{link:l,aspectRatio:L,type:C}),{link:l,aspectRatio:L,type:C,warning:te}}if(l.match(he))return C="generic",l="https://www.figma.com/embed?embed_host=share&url=".concat(encodeURIComponent(l)),L={w:550,h:550},S.set(u,{link:l,aspectRatio:L,type:C}),{link:l,aspectRatio:L,type:C};var re=l.match(H);if(re)return l=re[1]==="embed"?re[0]:re[0].replace("/v","/embed"),S.set(u,{link:l,aspectRatio:L,type:C}),{link:l,aspectRatio:L,type:C};if(G.test(l)){var oe;if(/<blockquote/.test(l)){var Y=y(l);oe={type:"document",srcdoc:function(){return Y},aspectRatio:{w:480,h:480}}}else oe={type:"document",srcdoc:function(we){return y('<blockquote class="twitter-tweet" data-dnt="true" data-theme="'.concat(we,'"><a href="').concat(l,'"></a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"><\/script>'))},aspectRatio:{w:480,h:480}};return S.set(u,oe),oe}if(ve.test(l)){var V;if(/<script>/.test(l)){var ie=y(l);V={type:"document",srcdoc:function(){return ie},aspectRatio:{w:550,h:720}}}else V={type:"document",srcdoc:function(){return y(` + <script src="`.concat(l,`.js"><\/script> + <style type="text/css"> + * { margin: 0px; } + table, .gist { height: 100%; } + .gist .gist-file { height: calc(100vh - 2px); padding: 0px; display: grid; grid-template-rows: 1fr auto; } + </style> + `))},aspectRatio:{w:550,h:720}};return S.set(l,V),V}return S.set(l,{link:l,aspectRatio:L,type:C}),{link:l,aspectRatio:L,type:C}},d=function(l){if((0,f.gs)(l))return!0;if(l.type==="text"){var u=(0,c.tl)(l);if(u&&(0,f.gs)(u))return!0}return!1},r=function(l){var u,C=l.link&&l?.link!==""?l.link:"Empty Web-Embed",L=Math.max(Math.min(l.width/2,l.width/C.length),l.width/30),_=w.ut.Helvetica,E=(0,v.mO)({fontSize:L,fontFamily:_});return(0,x.VL)({x:l.x+l.width/2,y:l.y+l.height/2,strokeColor:l.strokeColor!=="transparent"?l.strokeColor:"black",backgroundColor:"transparent",fontFamily:_,fontSize:L,text:(0,c.lD)(C,E,l.width-20),textAlign:"center",verticalAlign:w.oX.MIDDLE,angle:(u=l.angle)!==null&&u!==void 0?u:0})},n=((0,P.z)({name:"setEmbeddableAsActiveTool",trackEvent:{category:"toolbar"},perform:function(l,u,C,L){var _=(0,v.Om)(u,{type:"embeddable"});return(0,I.Uk)(L.canvas,k(k({},u),{},{activeTool:_})),{elements:l,appState:k(k({},u),{},{activeTool:(0,v.Om)(u,{type:"embeddable"})}),commitToHistory:!1}}}),function(l,u){try{var C=new URL(l).hostname.replace(/^www\./,""),L=C.replace(/^([^.]+)/,"*");if(u instanceof Set)return b.has(C)||b.has(L);if(C===u.replace(/^www\./,""))return!0}catch{}return!1}),p=function(l){var u=l.match(U);if(u&&u.length===2)return u[1];var C=l.match(le);if(C&&C.length===2)return C[1];if(A.test(l))return"https://giphy.com/embed/".concat(A.exec(l)[1]);var L=l.match(M);return L&&L.length===2?L[1]:l},a=function(l,u){if(!l)return!1;if(u!=null)if(typeof u=="function"){var C=u(l);if(typeof C=="boolean")return C}else{if(typeof u=="boolean")return u;if(u instanceof RegExp)return u.test(l);if(Array.isArray(u)){var L,_=Z(u);try{for(_.s();!(L=_.n()).done;){var E=L.value;if(E instanceof RegExp){if(l.match(E))return!0}else if(n(l,E))return!0}}catch(D){_.e(D)}finally{_.f()}return!1}}return n(l,b)}},4178:function(et,fe,t){t.d(fe,{PK:function(){return N},Xx:function(){return W},bp:function(){return S},oA:function(){return k}});var e=t(2577),P=t(7169),w=t(8950),m=t(2975),v=t.n(m),I=t(9937),x=t(8227),c=t(4183);function f(J,ce){var he=Object.keys(J);if(Object.getOwnPropertySymbols){var ve=Object.getOwnPropertySymbols(J);ce&&(ve=ve.filter(function(le){return Object.getOwnPropertyDescriptor(J,le).enumerable})),he.push.apply(he,ve)}return he}function Z(J){for(var ce=1;ce<arguments.length;ce++){var he=arguments[ce]!=null?arguments[ce]:{};ce%2?f(Object(he),!0).forEach(function(ve){(0,P.Z)(J,ve,he[ve])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(he)):f(Object(he)).forEach(function(ve){Object.defineProperty(J,ve,Object.getOwnPropertyDescriptor(he,ve))})}return J}var N=function(J){return new Promise(function(ce,he){var ve=new Image;ve.onload=function(){ce(ve)},ve.onerror=function(le){he(le)},ve.src=J})},W=function(){var J=(0,w.Z)(v().mark(function ce(he){var ve,le,G,U,H;return v().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return ve=he.fileIds,le=he.files,G=he.imageCache,U=new Map,H=new Map,M.next=5,Promise.all(ve.reduce(function(A,b){var y=le[b];return y&&!U.has(b)?(U.set(b,!0),A.concat((0,w.Z)(v().mark(function h(){var d,r,n;return v().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(p.prev=0,y.mimeType!==I.LO.binary){p.next=3;break}throw new Error("Only images can be added to ImageCache");case 3:return d=N(y.dataURL),r={image:d,mimeType:y.mimeType},G.set(b,r),p.next=8,d;case 8:n=p.sent,G.set(b,Z(Z({},r),{},{image:n})),p.next=15;break;case 12:p.prev=12,p.t0=p.catch(0),H.set(b,!0);case 15:case"end":return p.stop()}},h,null,[[0,12]])}))())):A},[]));case 5:return M.abrupt("return",{imageCache:G,updatedFiles:U,erroredFiles:H});case 6:case"end":return M.stop()}},ce)}));return function(ce){return J.apply(this,arguments)}}(),k=function(J){return J.filter(function(ce){return(0,c.wi)(ce)})},S=function(){var J=(0,w.Z)(v().mark(function ce(he){var ve,le,G,U,H,M,A;return v().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(ve=new DOMParser().parseFromString(he,I.LO.svg),le=ve.querySelector("svg"),!ve.querySelector("parsererror")&&((y=le)==null?void 0:y.nodeName.toLowerCase())==="svg"){b.next=7;break}throw new Error((0,x.t)("errors.invalidSVGString"));case 7:return le.hasAttribute("xmlns")||le.setAttribute("xmlns",I.hR),le.hasAttribute("width")&&le.hasAttribute("height")||(G=le.getAttribute("viewBox"),U=le.getAttribute("width")||"50",H=le.getAttribute("height")||"50",G&&(M=G.match(/\d+ +\d+ +(\d+) +(\d+)/))&&(A=(0,e.Z)(M,3),U=A[1],H=A[2]),le.setAttribute("width",U),le.setAttribute("height",H)),b.abrupt("return",le.outerHTML);case 10:case"end":return b.stop()}var y},ce)}));return function(ce){return J.apply(this,arguments)}}()},7651:function(et,fe,t){t.d(fe,{ox:function(){return I.ox},BQ:function(){return E},_M:function(){return D},EJ:function(){return y},o8:function(){return H},Sy:function(){return m.Sy},Y5:function(){return v.Y5},os:function(){return v.os},KP:function(){return v.KP},Un:function(){return J},UC:function(){return v.UC},$V:function(){return b},qf:function(){return v.qf},Pi:function(){return v.Pi},jt:function(){return W},o4:function(){return P.o4},Lm:function(){return u},Xf:function(){return C},Qp:function(){return P.Qp},T:function(){return ce.T},xx:function(){return ce.xx},Uo:function(){return a},n2:function(){return k},PC:function(){return I.PC},kK:function(){return I.kK},n_:function(){return l},wX:function(){return x.wX},r2:function(){return w.r2},He:function(){return w.He},wB:function(){return x.wB},QD:function(){return P.QD},qP:function(){return L},iB:function(){return w.iB},Up:function(){return m.Up},vw:function(){return m.vw},y8:function(){return m.y8},VL:function(){return m.VL},oN:function(){return le.oN},JZ:function(){return m.JZ},RT:function(){return r},b_:function(){return h.b_},vY:function(){return ce.vY},N_:function(){return m.N_}});var e=t(7169),P=t(7935),w=t(4183),m=t(5742),v=t(4949),I=t(4048),x=t(3528),c=t(2577),f=t(2726),Z=["rotation"],N=function(F,ee,te){return ee>=F[0]&&ee<=F[0]+F[2]&&te>=F[1]&&te<=F[1]+F[3]},W=function(F,ee,te,re,oe,Y){return F.reduce(function(V,ie){if(V)return V;var we=function(Ae,Re,je,ye,Ee,Oe){if(!Re.selectedElementIds[Ae.id])return!1;var ge=(0,I.PC)(Ae,Ee,Oe),ue=ge.rotation,se=(0,f.Z)(ge,Z);if(ue&&N(ue,je,ye))return"rotation";var j=Object.keys(se).filter(function(i){var s=se[i];return!!s&&N(s,je,ye)});return j.length>0&&j[0]}(ie,ee,te,re,oe,Y);return we?{element:ie,transformHandleType:we}:null},null)},k=function(F,ee,te,re,oe){var Y=(0,c.Z)(F,4),V=Y[0],ie=Y[1],we=Y[2],Ae=Y[3],Re=(0,I.kK)([V,ie,we,Ae,(V+we)/2,(ie+Ae)/2],0,re,oe,I.ox);return Object.keys(Re).find(function(je){var ye=Re[je];return ye&&N(ye,ee,te)})||!1},S=["ns","nesw","ew","nwse"],J=function(F){var ee=F.element,te=F.transformHandleType,re=ee&&Math.sign(ee.height)*Math.sign(ee.width)==-1,oe=null;switch(te){case"n":case"s":oe="ns";break;case"w":case"e":oe="ew";break;case"nw":case"se":oe=re?"nesw":"nwse";break;case"ne":case"sw":oe=re?"nwse":"nesw";break;case"rotation":return"grab"}return oe&&ee&&(oe=function(Y,V){var ie=S.indexOf(Y);if(ie>=0){var we=Math.round(V/(Math.PI/4));Y=S[(ie+we)%S.length]}return Y}(oe,ee.angle)),oe?"".concat(oe,"-resize"):""},ce=t(4381),he=t(9645),ve=t(583),le=t(4761),G=t(9215),U=t(2361),H=function(F,ee,te,re,oe,Y,V){var ie=new Set(ee),we=ee.filter(function(je){return(0,w.He)(je)}).map(function(je){return je.id});we.length>0&&oe.getNonDeletedElements().filter(function(je){return!(0,w.Xh)(je)}).filter(function(je){return je.frameId!==null}).filter(function(je){return we.includes(je.frameId)}).forEach(function(je){return ie.add(je)});var Ae=(0,v.KP)(Array.from(ie).map(function(je){var ye;return(ye=F.originalElements.get(je.id))!==null&&ye!==void 0?ye:je})),Re=M(Ae,te,Y,V);ie.forEach(function(je){if(A(F,je,Re),!(0,w.Yv)(je)&&(!je.groupIds.length||re.editingGroupId&&!(0,G.zq)(re,je))){var ye=(0,le.WJ)(je);ye&&A(F,ye,Re)}(0,he.Ww)(je,{simultaneouslyUpdated:Array.from(ie)})})},M=function(F,ee,te,re){var oe=(0,c.Z)(F,2),Y=oe[0],V=oe[1],ie=Y+ee.x+te.x,we=V+ee.y+te.y;if(te.x===0||te.y===0){var Ae=(0,U.wC)(Y+ee.x,V+ee.y,re),Re=(0,c.Z)(Ae,2),je=Re[0],ye=Re[1];te.x===0&&(ie=je),te.y===0&&(we=ye)}return{x:ie-Y,y:we-V}},A=function(F,ee,te){var re,oe=(re=F.originalElements.get(ee.id))!==null&&re!==void 0?re:ee,Y=oe.x+te.x,V=oe.y+te.y;(0,ve.DR)(ee,{x:Y,y:V})},b=function(F,ee,te){var re=(0,v.KP)(F),oe=(0,c.Z)(re,2);return[ee-oe[0],te-oe[1]]},y=function(F,ee,te,re,oe,Y,V,ie,we,Ae,Re){var je=arguments.length>11&&arguments[11]!==void 0?arguments[11]:null;if(we&&F.type!=="selection")if(Re)ie=V/Re;else{if(Math.abs(Y-re)>Math.abs(oe-te)){var ye=(0,P.uK)(ee,ie,oe<te?-V:V);V=ye.width,ie=ye.height}else{var Ee=(0,P.uK)(ee,V,Y<re?-ie:ie);V=Ee.width,ie=Ee.height}ie<0&&(ie=-ie)}var Oe,ge,ue=oe<te?te-V:te,se=Y<re?re-ie:re;Ae&&(ue=te-(V+=V)/2,se=re-(ie+=ie)/2),V!==0&&ie!==0&&(0,ve.DR)(F,{x:ue+((Oe=je?.x)!==null&&Oe!==void 0?Oe:0),y:se+((ge=je?.y)!==null&&ge!==void 0?ge:0),width:V,height:ie})},h=t(3474),d=t(4105),r=function(F,ee){return!!(!F.viewModeEnabled&&(F.activeTool.type!=="custom"&&(F.editingElement||F.activeTool.type!=="selection"&&F.activeTool.type!=="eraser"&&F.activeTool.type!=="hand"&&F.activeTool.type!=="laser")||(0,d.eD)(ee,F).length))};function n(F,ee){var te=Object.keys(F);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(F);ee&&(re=re.filter(function(oe){return Object.getOwnPropertyDescriptor(F,oe).enumerable})),te.push.apply(te,re)}return te}function p(F){for(var ee=1;ee<arguments.length;ee++){var te=arguments[ee]!=null?arguments[ee]:{};ee%2?n(Object(te),!0).forEach(function(re){(0,e.Z)(F,re,te[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(te)):n(Object(te)).forEach(function(re){Object.defineProperty(F,re,Object.getOwnPropertyDescriptor(te,re))})}return F}var a=function(F){return F.reduce(function(ee,te){return ee+te.version},0)},l=function(F){return F.filter(function(ee){return!ee.isDeleted&&!(0,P.QD)(ee)})},u=function(F){return F.filter(function(ee){return!ee.isDeleted})},C=function(F){return F.filter(function(ee){return!ee.isDeleted})},L=function(F){return!F.isDeleted},_=function(F){return u(F).map(function(ee){return(0,w.dt)(ee.type)?p(p({},ee),{},{lastCommittedPoint:null}):ee})},E=function(F){return _(F)},D=function(F){return _(F)}},7422:function(et,fe,t){t.d(fe,{_:function(){return M}});var e=t(1930),P=t(7169),w=t(2577),m=t(8821),v=t(5169),I=t(2361),x=t(7651),c=t(4949),f=t(583),Z=t(457),N=t(9645),W=t(9827),k=t(4183),S=t(5491),J=t(4761),ce=t(9937),he=t(2921);function ve(b,y){var h=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!h){if(Array.isArray(b)||(h=function(l,u){if(l){if(typeof l=="string")return le(l,u);var C=Object.prototype.toString.call(l).slice(8,-1);if(C==="Object"&&l.constructor&&(C=l.constructor.name),C==="Map"||C==="Set")return Array.from(l);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return le(l,u)}}(b))||y&&b&&typeof b.length=="number"){h&&(b=h);var d=0,r=function(){};return{s:r,n:function(){return d>=b.length?{done:!0}:{done:!1,value:b[d++]}},e:function(l){throw l},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n,p=!0,a=!1;return{s:function(){h=h.call(b)},n:function(){var l=h.next();return p=l.done,l},e:function(l){a=!0,n=l},f:function(){try{p||h.return==null||h.return()}finally{if(a)throw n}}}}function le(b,y){(y==null||y>b.length)&&(y=b.length);for(var h=0,d=new Array(y);h<y;h++)d[h]=b[h];return d}function G(b,y){var h=Object.keys(b);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(b);y&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(b,r).enumerable})),h.push.apply(h,d)}return h}function U(b){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?G(Object(h),!0).forEach(function(d){(0,P.Z)(b,d,h[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(h)):G(Object(h)).forEach(function(d){Object.defineProperty(b,d,Object.getOwnPropertyDescriptor(h,d))})}return b}var H={version:null,points:[],zoom:null},M=function(){function b(y,h){(0,m.Z)(this,b),this.elementId=y.id,Z.Z.mapElementToScene(this.elementId,h),b.normalizePoints(y),this.selectedPointsIndices=null,this.lastUncommittedPoint=null,this.isDragging=!1,this.pointerOffset={x:0,y:0},this.startBindingElement="keep",this.endBindingElement="keep",this.pointerDownState={prevSelectedPointsIndices:null,lastClickedPoint:-1,origin:null,segmentMidpoint:{value:null,index:null,added:!1}},this.hoverPointIndex=-1,this.segmentMidPointHoveredCoords=null}return(0,v.Z)(b,null,[{key:"getElement",value:function(y){var h,d=(h=Z.Z.getScene(y))===null||h===void 0?void 0:h.getNonDeletedElement(y);return d||null}},{key:"handleBoxSelection",value:function(y,h,d){var r;if(!h.editingLinearElement||((r=h.draggingElement)===null||r===void 0?void 0:r.type)!=="selection")return!1;var n=h.editingLinearElement,p=n.selectedPointsIndices,a=n.elementId,l=b.getElement(a);if(!l)return!1;var u=(0,x.qf)(h.draggingElement),C=(0,w.Z)(u,4),L=C[0],_=C[1],E=C[2],D=C[3],F=b.getPointsGlobalCoordinates(l).reduce(function(ee,te,re){return(te[0]>=L&&te[0]<=E&&te[1]>=_&&te[1]<=D||y.shiftKey&&p!=null&&p.includes(re))&&ee.push(re),ee},[]);d({editingLinearElement:U(U({},n),{},{selectedPointsIndices:F.length?F:null})})}},{key:"handlePointDragging",value:function(y,h,d,r,n,p){if(!p)return!1;var a=p.selectedPointsIndices,l=p.elementId,u=b.getElement(l);if(!u)return!1;var C=u.points[p.pointerDownState.lastClickedPoint];if(a&&C){if((0,S.Ge)(y)&&a.length===1&&u.points.length>1){var L=a[0],_=u.points[L===0?1:L-1],E=b._getShiftLockedDelta(u,_,[d,r],y[S.tW.CTRL_OR_CMD]?null:h.gridSize),D=(0,w.Z)(E,2),F=D[0],ee=D[1];b.movePoints(u,[{index:L,point:[F+_[0],ee+_[1]],isDragging:L===p.pointerDownState.lastClickedPoint}])}else{var te=b.createPointAt(u,d-p.pointerOffset.x,r-p.pointerOffset.y,y[S.tW.CTRL_OR_CMD]?null:h.gridSize),re=te[0]-C[0],oe=te[1]-C[1];b.movePoints(u,a.map(function(ie){return{index:ie,point:ie===p.pointerDownState.lastClickedPoint?b.createPointAt(u,d-p.pointerOffset.x,r-p.pointerOffset.y,y[S.tW.CTRL_OR_CMD]?null:h.gridSize):[u.points[ie][0]+re,u.points[ie][1]+oe],isDragging:ie===p.pointerDownState.lastClickedPoint}}))}if((0,J.WJ)(u)&&(0,J.RB)(u,!1),(0,k.Mn)(u,!1)){var Y=[];a[0]===0&&Y.push((0,W.AK)(b.getPointGlobalCoordinates(u,u.points[0])));var V=a[a.length-1];V===u.points.length-1&&Y.push((0,W.AK)(b.getPointGlobalCoordinates(u,u.points[V]))),Y.length&&n(u,Y)}return!0}return!1}},{key:"handlePointerUp",value:function(y,h,d){var r,n=h.elementId,p=h.selectedPointsIndices,a=h.isDragging,l=h.pointerDownState,u=b.getElement(n);if(!u)return h;var C={};if(a&&p){var L,_=ve(p);try{for(_.s();!(L=_.n()).done;){var E=L.value;if(E===0||E===u.points.length-1){(0,I.g6)(u.points,d.zoom.value)&&b.movePoints(u,[{index:E,point:E===0?u.points[u.points.length-1]:u.points[0]}]);var D=(0,N.N1)(d)?(0,N.Y9)((0,W.AK)(b.getPointAtIndexGlobalCoordinates(u,E)),Z.Z.getScene(u)):null;C[E===0?"startBindingElement":"endBindingElement"]=D}}}catch(F){_.e(F)}finally{_.f()}}return U(U(U({},h),C),{},{selectedPointsIndices:a||y.shiftKey?!a&&y.shiftKey&&(r=l.prevSelectedPointsIndices)!==null&&r!==void 0&&r.includes(l.lastClickedPoint)?p&&p.filter(function(F){return F!==l.lastClickedPoint}):p:p!=null&&p.includes(l.lastClickedPoint)?[l.lastClickedPoint]:p,isDragging:!1,pointerOffset:{x:0,y:0}})}},{key:"isSegmentTooShort",value:function(y,h,d,r){var n=(0,I.LW)(h[0],h[1],d[0],d[1]);return y.points.length>2&&y.roundness&&(n=(0,I.eH)(y,d)),n*r.value<4*b.POINT_HANDLE_SIZE}},{key:"getSegmentMidPoint",value:function(y,h,d,r){var n=(0,I.H5)(h,d);if(y.points.length>2&&y.roundness){var p=(0,I.yB)(y,y.points[r]);if(p){var a=(0,I.lk)(y,y.points[r],.5),l=(0,I.N_)(p[0],p[1],p[2],p[3],a),u=(0,w.Z)(l,2),C=u[0],L=u[1];n=b.getPointGlobalCoordinates(y,[C,L])}}return n}},{key:"getSegmentMidPointIndex",value:function(y,h,d){var r=b.getElement(y.elementId);if(!r)return-1;for(var n=b.getEditorMidPoints(r,h),p=0;p<n.length;){if(b.arePointsEqual(d,n[p]))return p+1;p++}return-1}},{key:"handlePointerDown",value:function(y,h,d,r,n){var p,a={didAddPoint:!1,hitElement:null,linearElementEditor:null};if(!n)return a;var l=n.elementId,u=b.getElement(l);if(!u)return a;var C=b.getSegmentMidpointHitCoords(n,r,h),L=null;if(C&&(L=b.getSegmentMidPointIndex(n,h,C)),y.altKey&&h.editingLinearElement)return n.lastUncommittedPoint==null&&((0,f.DR)(u,{points:[].concat((0,e.Z)(u.points),[b.createPointAt(u,r.x,r.y,y[S.tW.CTRL_OR_CMD]?null:h.gridSize)])}),a.didAddPoint=!0),d.resumeRecording(),a.linearElementEditor=U(U({},n),{},{pointerDownState:{prevSelectedPointsIndices:n.selectedPointsIndices,lastClickedPoint:-1,origin:{x:r.x,y:r.y},segmentMidpoint:{value:C,index:L,added:!1}},selectedPointsIndices:[u.points.length-1],lastUncommittedPoint:null,endBindingElement:(0,N.Y9)(r,Z.Z.getScene(u))}),a.didAddPoint=!0,a;var _=b.getPointIndexUnderCursor(u,h.zoom,r.x,r.y);if(_>=0||C)a.hitElement=u;else{var E=n.startBindingElement,D=n.endBindingElement;(0,N.N1)(h)&&(0,k.Mn)(u)&&(0,N.HG)(u,E,D)}var F=(0,x.qf)(u),ee=(0,w.Z)(F,4),te=ee[0],re=ee[1],oe=(te+ee[2])/2,Y=(re+ee[3])/2,V=_>-1&&(0,I.U1)(u.x+u.points[_][0],u.y+u.points[_][1],oe,Y,u.angle),ie=_>-1||y.shiftKey?y.shiftKey||(p=n.selectedPointsIndices)!==null&&p!==void 0&&p.includes(_)?A([].concat((0,e.Z)(n.selectedPointsIndices||[]),[_])):[_]:null;return a.linearElementEditor=U(U({},n),{},{pointerDownState:{prevSelectedPointsIndices:n.selectedPointsIndices,lastClickedPoint:_,origin:{x:r.x,y:r.y},segmentMidpoint:{value:C,index:L,added:!1}},selectedPointsIndices:ie,pointerOffset:V?{x:r.x-V[0],y:r.y-V[1]}:{x:0,y:0}}),a}},{key:"arePointsEqual",value:function(y,h){return!y&&!h||!(!y||!h)&&(0,I.Jj)(y,h)}},{key:"handlePointerMove",value:function(y,h,d,r){if(!r.editingLinearElement)return null;var n=r.editingLinearElement,p=n.elementId,a=n.lastUncommittedPoint,l=b.getElement(p);if(!l)return r.editingLinearElement;var u,C=l.points,L=C[C.length-1];if(!y.altKey)return L===a&&b.deletePoints(l,[C.length-1]),U(U({},r.editingLinearElement),{},{lastUncommittedPoint:null});if((0,S.Ge)(y)&&C.length>=2){var _=C[C.length-2],E=b._getShiftLockedDelta(l,_,[h,d],y[S.tW.CTRL_OR_CMD]?null:r.gridSize),D=(0,w.Z)(E,2),F=D[0],ee=D[1];u=[F+_[0],ee+_[1]]}else u=b.createPointAt(l,h-r.editingLinearElement.pointerOffset.x,d-r.editingLinearElement.pointerOffset.y,y[S.tW.CTRL_OR_CMD]?null:r.gridSize);return L===a?b.movePoints(l,[{index:l.points.length-1,point:u}]):b.addPoints(l,r,[{point:u}]),U(U({},r.editingLinearElement),{},{lastUncommittedPoint:l.points[l.points.length-1]})}},{key:"getPointGlobalCoordinates",value:function(y,h){var d=(0,x.qf)(y),r=(0,w.Z)(d,4),n=r[0],p=r[1],a=(n+r[2])/2,l=(p+r[3])/2,u=y.x,C=y.y,L=(0,I.U1)(u+h[0],C+h[1],a,l,y.angle),_=(0,w.Z)(L,2);return[u=_[0],C=_[1]]}},{key:"getPointsGlobalCoordinates",value:function(y){var h=(0,x.qf)(y),d=(0,w.Z)(h,4),r=d[0],n=d[1],p=d[2],a=d[3],l=(r+p)/2,u=(n+a)/2;return y.points.map(function(C){var L=y.x,_=y.y,E=(0,I.U1)(L+C[0],_+C[1],l,u,y.angle),D=(0,w.Z)(E,2);return[L=D[0],_=D[1]]})}},{key:"getPointAtIndexGlobalCoordinates",value:function(y,h){var d=h<0?y.points.length+h:h,r=(0,x.qf)(y),n=(0,w.Z)(r,4),p=n[0],a=n[1],l=(p+n[2])/2,u=(a+n[3])/2,C=y.points[d],L=y.x,_=y.y;return C?(0,I.U1)(L+C[0],_+C[1],l,u,y.angle):(0,I.U1)(L,_,l,u,y.angle)}},{key:"pointFromAbsoluteCoords",value:function(y,h){var d=(0,x.qf)(y),r=(0,w.Z)(d,4),n=r[0],p=r[1],a=(n+r[2])/2,l=(p+r[3])/2,u=(0,I.U1)(h[0],h[1],a,l,-y.angle),C=(0,w.Z)(u,2),L=C[0],_=C[1];return[L-y.x,_-y.y]}},{key:"getPointIndexUnderCursor",value:function(y,h,d,r){for(var n=b.getPointsGlobalCoordinates(y),p=n.length;--p>-1;){var a=n[p];if((0,I.LW)(d,r,a[0],a[1])*h.value<b.POINT_HANDLE_SIZE+1)return p}return-1}},{key:"createPointAt",value:function(y,h,d,r){var n=(0,I.wC)(h,d,r),p=(0,x.qf)(y),a=(0,w.Z)(p,4),l=a[0],u=a[1],C=(l+a[2])/2,L=(u+a[3])/2,_=(0,I.U1)(n[0],n[1],C,L,-y.angle),E=(0,w.Z)(_,2),D=E[0],F=E[1];return[D-y.x,F-y.y]}},{key:"getNormalizedPoints",value:function(y){var h=y.points,d=h[0][0],r=h[0][1];return{points:h.map(function(n,p){return[n[0]-d,n[1]-r]}),x:y.x+d,y:y.y+r}}},{key:"normalizePoints",value:function(y){(0,f.DR)(y,b.getNormalizedPoints(y))}},{key:"duplicateSelectedPoints",value:function(y){if(!y.editingLinearElement)return!1;var h=y.editingLinearElement,d=h.selectedPointsIndices,r=h.elementId,n=b.getElement(r);if(!n||d===null)return!1;var p=n.points,a=[],l=!1,u=-1,C=p.reduce(function(_,E,D){if(++u,_.push(E),d.includes(D)){var F=p[D+1];F||(l=!0),_.push(F?[(E[0]+F[0])/2,(E[1]+F[1])/2]:[E[0],E[1]]),a.push(u+1),++u}return _},[]);if((0,f.DR)(n,{points:C}),l){var L=n.points[n.points.length-1];b.movePoints(n,[{index:n.points.length-1,point:[L[0]+30,L[1]+30]}])}return{appState:U(U({},y),{},{editingLinearElement:U(U({},y.editingLinearElement),{},{selectedPointsIndices:a})})}}},{key:"deletePoints",value:function(y,h){var d=0,r=0;if(h.includes(0)){var n=y.points.find(function(a,l){return!h.includes(l)});n&&(d=n[0],r=n[1])}var p=y.points.reduce(function(a,l,u){return h.includes(u)||a.push(a.length?[l[0]-d,l[1]-r]:[0,0]),a},[]);b._updatePoints(y,p,d,r)}},{key:"addPoints",value:function(y,h,d){var r=[].concat((0,e.Z)(y.points),(0,e.Z)(d.map(function(n){return n.point})));b._updatePoints(y,r,0,0)}},{key:"movePoints",value:function(y,h,d){var r=y.points,n=0,p=0,a=h.find(function(u){return u.index===0});a&&(n=a.point[0]+r[a.index][0],p=a.point[1]+r[a.index][1]);var l=r.map(function(u,C){var L=h.find(function(D){return D.index===C});if(L){if(a)return u;var _=L.point[0]-r[L.index][0],E=L.point[1]-r[L.index][1];return[u[0]+_,u[1]+E]}return n||p?[u[0]-n,u[1]-p]:u});b._updatePoints(y,l,n,p,d)}},{key:"shouldAddMidpoint",value:function(y,h,d){if(!b.getElement(y.elementId))return!1;var r=y.pointerDownState.segmentMidpoint;if(r.added||r.value===null||r.index===null||y.pointerDownState.origin===null)return!1;var n=y.pointerDownState.origin,p=(0,I.LW)(n.x,n.y,h.x,h.y);return!(!d.editingLinearElement&&p<ce.f/d.zoom.value)}},{key:"addMidpoint",value:function(y,h,d,r){var n=b.getElement(y.elementId);if(n){var p=y.pointerDownState.segmentMidpoint,a={pointerDownState:y.pointerDownState,selectedPointsIndices:y.selectedPointsIndices},l=b.createPointAt(n,h.x,h.y,r?d.gridSize:null),u=[].concat((0,e.Z)(n.points.slice(0,p.index)),[l],(0,e.Z)(n.points.slice(p.index)));return(0,f.DR)(n,{points:u}),a.pointerDownState=U(U({},y.pointerDownState),{},{segmentMidpoint:U(U({},y.pointerDownState.segmentMidpoint),{},{added:!0}),lastClickedPoint:p.index}),a.selectedPointsIndices=[p.index],a}}},{key:"_updatePoints",value:function(y,h,d,r,n){var p=(0,c.Ut)(y,h),a=(0,c.Ut)(y,y.points),l=(p[0]+p[2])/2,u=(p[1]+p[3])/2,C=(a[0]+a[2])/2-l,L=(a[1]+a[3])/2-u,_=(0,I.U1)(d,r,C,L,y.angle);(0,f.DR)(y,U(U({},n),{},{points:h,x:y.x+_[0],y:y.y+_[1]}))}},{key:"_getShiftLockedDelta",value:function(y,h,d,r){var n=b.getPointGlobalCoordinates(y,h),p=(0,I.wC)(d[0],d[1],r),a=(0,w.Z)(p,2),l=a[0],u=a[1],C=(0,x.o4)(n[0],n[1],l,u),L=C.width,_=C.height;return(0,I.xj)([L,_],[0,0],-y.angle)}}]),b}();M.POINT_HANDLE_SIZE=10,M.getEditorMidPoints=function(b,y){var h=(0,J.WJ)(b);return!y.editingLinearElement&&b.points.length>2&&!h?[]:(H.version===b.version&&H.zoom===y.zoom.value||M.updateEditorMidPointsCache(b,y),H.points)},M.updateEditorMidPointsCache=function(b,y){for(var h=M.getPointsGlobalCoordinates(b),d=0,r=[];d<h.length-1;)if(M.isSegmentTooShort(b,b.points[d],b.points[d+1],y.zoom))r.push(null),d++;else{var n=M.getSegmentMidPoint(b,h[d],h[d+1],d+1);r.push(n),d++}H.points=r,H.version=b.version,H.zoom=y.zoom.value},M.getSegmentMidpointHitCoords=function(b,y,h){var d=b.elementId,r=M.getElement(d);if(!r||M.getPointIndexUnderCursor(r,h.zoom,y.x,y.y)>=0||M.getPointsGlobalCoordinates(r).length>=3&&!h.editingLinearElement)return null;var n=M.POINT_HANDLE_SIZE/h.zoom.value,p=b.segmentMidPointHoveredCoords;if(p&&(0,I.LW)(p[0],p[1],y.x,y.y)<=n)return p;for(var a=0,l=M.getEditorMidPoints(r,h);a<l.length;){if(l[a]!==null&&(0,I.LW)(l[a][0],l[a][1],y.x,y.y)<=n)return l[a];a++}return null},M.getBoundTextElementPosition=function(b,y){var h=M.getPointsGlobalCoordinates(b);h.length<2&&(0,f.DR)(y,{isDeleted:!0});var d=0,r=0;if(b.points.length%2==1){var n=Math.floor(b.points.length/2),p=M.getPointGlobalCoordinates(b,b.points[n]);d=p[0]-y.width/2,r=p[1]-y.height/2}else{var a=b.points.length/2-1,l=H.points[a];b.points.length===2&&(l=(0,I.H5)(h[0],h[1])),l&&H.version===b.version||(l=M.getSegmentMidPoint(b,h[a],h[a+1],a+1)),d=l[0]-y.width/2,r=l[1]-y.height/2}return{x:d,y:r}},M.getMinMaxXYWithBoundText=function(b,y,h){var d=(0,w.Z)(y,4),r=d[0],n=d[1],p=d[2],a=d[3],l=(r+p)/2,u=(n+a)/2,C=M.getBoundTextElementPosition(b,h),L=C.x,_=C.y,E=L+h.width,D=_+h.height,F=(0,I.xj)([r,n],[l,u],b.angle),ee=(0,I.xj)([p,n],[l,u],b.angle),te=(0,I.xj)([L,_],[l,u],-b.angle),re=(0,I.xj)([E,_],[l,u],-b.angle),oe=(0,I.xj)([L,D],[l,u],-b.angle),Y=(0,I.xj)([E,D],[l,u],-b.angle);return F[0]<ee[0]&&F[1]>=ee[1]?(r=Math.min(r,oe[0]),p=Math.max(p,Math.max(re[0],Y[0])),n=Math.min(n,te[1]),a=Math.max(a,Y[1])):F[0]>=ee[0]&&F[1]>ee[1]?(r=Math.min(r,Y[0]),p=Math.max(p,Math.max(te[0],re[0])),n=Math.min(n,oe[1]),a=Math.max(a,re[1])):F[0]>=ee[0]?(r=Math.min(r,re[0]),p=Math.max(p,oe[0]),n=Math.min(n,Y[1]),a=Math.max(a,te[1])):F[1]<=ee[1]&&(r=Math.min(r,Math.min(re[0],te[0])),p=Math.max(p,Y[0]),n=Math.min(n,re[1]),a=Math.max(a,oe[1])),[r,n,p,a,l,u]},M.getElementAbsoluteCoords=function(b){var y,h,d,r,n,p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(b.points.length<2||!he.R.get(b)){var a=b.points.reduce(function(we,Ae){var Re=(0,w.Z)(Ae,2),je=Re[0],ye=Re[1];return we.minY=Math.min(we.minY,ye),we.minX=Math.min(we.minX,je),we.maxX=Math.max(we.maxX,je),we.maxY=Math.max(we.maxY,ye),we},{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}),l=a.minX,u=a.minY,C=a.maxX,L=a.maxY;h=l+b.x,d=u+b.y,r=C+b.x,n=L+b.y}else{var _=he.R.generateElementShape(b),E=(0,c.CM)(_[0]),D=(0,c.IX)(E),F=(0,w.Z)(D,4),ee=F[0],te=F[1],re=F[2],oe=F[3];h=ee+b.x,d=te+b.y,r=re+b.x,n=oe+b.y}var Y=(h+r)/2,V=(d+n)/2;if(y=[h,d,r,n,Y,V],!p)return y;var ie=(0,J.WJ)(b);return ie&&(y=M.getMinMaxXYWithBoundText(b,[h,d,r,n],ie)),y};var A=function(b){var y=(0,e.Z)(new Set(b.filter(function(h){return h!==null&&h!==-1})));return(y=y.sort(function(h,d){return h-d})).length?y:null}},583:function(et,fe,t){t.d(fe,{BE:function(){return N},DR:function(){return Z},ZP:function(){return W}});var e=t(6655),P=t(7169),w=t(457),m=t(5999),v=t(4643),I=t(9827),x=t(2921);function c(k,S){var J=Object.keys(k);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(k);S&&(ce=ce.filter(function(he){return Object.getOwnPropertyDescriptor(k,he).enumerable})),J.push.apply(J,ce)}return J}function f(k){for(var S=1;S<arguments.length;S++){var J=arguments[S]!=null?arguments[S]:{};S%2?c(Object(J),!0).forEach(function(ce){(0,P.Z)(k,ce,J[ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(J)):c(Object(J)).forEach(function(ce){Object.defineProperty(k,ce,Object.getOwnPropertyDescriptor(J,ce))})}return k}var Z=function(k,S){var J,ce=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],he=!1,ve=S,le=ve.points,G=ve.fileId;for(var U in le!==void 0&&(S=f(f({},(0,m.k)(le)),S)),S){var H=S[U];if(H!==void 0){if(k[U]===H&&((0,e.Z)(H)!=="object"||H===null||U==="groupIds"||U==="scale"))continue;if(U==="scale"){var M=k[U],A=H;if(M[0]===A[0]&&M[1]===A[1])continue}else if(U==="points"){var b=k[U],y=H;if(b.length===y.length){for(var h=!1,d=b.length;--d;){var r=b[d],n=y[d];if(r[0]!==n[0]||r[1]!==n[1]){h=!0;break}}if(!h)continue}}k[U]=H,he=!0}}return he&&(S.height===void 0&&S.width===void 0&&G===void 0&&le===void 0||x.R.delete(k),k.version++,k.versionNonce=(0,v.LU)(),k.updated=(0,I.C3)(),ce&&((J=w.Z.getScene(k))===null||J===void 0||J.informMutation())),k},N=function(k,S){var J=!1;for(var ce in S){var he=S[ce];if(he!==void 0){if(k[ce]===he&&((0,e.Z)(he)!=="object"||he===null))continue;J=!0}}return J?f(f(f({},k),S),{},{updated:(0,I.C3)(),version:k.version+1,versionNonce:(0,v.LU)()}):k},W=function(k,S){return k.version=(S??k.version)+1,k.versionNonce=(0,v.LU)(),k.updated=(0,I.C3)(),k}},5742:function(et,fe,t){t.d(fe,{JZ:function(){return y},KE:function(){return d},M:function(){return U},M3:function(){return H},N_:function(){return h},OL:function(){return a},Sy:function(){return u},Up:function(){return G},VL:function(){return A},_N:function(){return C},vw:function(){return n},y8:function(){return r}});var e=t(6655),P=t(2577),w=t(7169),m=t(2726),v=t(9827),I=t(4643),x=t(583),c=t(9215),f=t(7651),Z=t(2361),N=t(4949),W=t(4761),k=t(9937),S=["x","y","strokeColor","backgroundColor","fillStyle","strokeWidth","strokeStyle","roughness","opacity","width","height","angle","groupIds","frameId","roundness","boundElements","link","locked"];function J(L,_){var E=typeof Symbol<"u"&&L[Symbol.iterator]||L["@@iterator"];if(!E){if(Array.isArray(L)||(E=function(oe,Y){if(oe){if(typeof oe=="string")return ce(oe,Y);var V=Object.prototype.toString.call(oe).slice(8,-1);if(V==="Object"&&oe.constructor&&(V=oe.constructor.name),V==="Map"||V==="Set")return Array.from(oe);if(V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return ce(oe,Y)}}(L))||_&&L&&typeof L.length=="number"){E&&(L=E);var D=0,F=function(){};return{s:F,n:function(){return D>=L.length?{done:!0}:{done:!1,value:L[D++]}},e:function(oe){throw oe},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ee,te=!0,re=!1;return{s:function(){E=E.call(L)},n:function(){var oe=E.next();return te=oe.done,oe},e:function(oe){re=!0,ee=oe},f:function(){try{te||E.return==null||E.return()}finally{if(re)throw ee}}}}function ce(L,_){(_==null||_>L.length)&&(_=L.length);for(var E=0,D=new Array(_);E<_;E++)D[E]=L[E];return D}function he(L,_){var E=Object.keys(L);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(L);_&&(D=D.filter(function(F){return Object.getOwnPropertyDescriptor(L,F).enumerable})),E.push.apply(E,D)}return E}function ve(L){for(var _=1;_<arguments.length;_++){var E=arguments[_]!=null?arguments[_]:{};_%2?he(Object(E),!0).forEach(function(D){(0,w.Z)(L,D,E[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(E)):he(Object(E)).forEach(function(D){Object.defineProperty(L,D,Object.getOwnPropertyDescriptor(E,D))})}return L}var le=function(L,_){var E,D,F=_.x,ee=_.y,te=_.strokeColor,re=te===void 0?k.HN.strokeColor:te,oe=_.backgroundColor,Y=oe===void 0?k.HN.backgroundColor:oe,V=_.fillStyle,ie=V===void 0?k.HN.fillStyle:V,we=_.strokeWidth,Ae=we===void 0?k.HN.strokeWidth:we,Re=_.strokeStyle,je=Re===void 0?k.HN.strokeStyle:Re,ye=_.roughness,Ee=ye===void 0?k.HN.roughness:ye,Oe=_.opacity,ge=Oe===void 0?k.HN.opacity:Oe,ue=_.width,se=ue===void 0?0:ue,j=_.height,i=j===void 0?0:j,s=_.angle,O=s===void 0?0:s,z=_.groupIds,K=z===void 0?[]:z,$=_.frameId,Q=$===void 0?null:$,ae=_.roundness,be=ae===void 0?null:ae,Ce=_.boundElements,Ze=Ce===void 0?null:Ce,Be=_.link,Te=Be===void 0?null:Be,He=_.locked,Ve=He===void 0?k.HN.locked:He,Je=(0,m.Z)(_,S);return{id:Je.id||(0,I.kb)(),type:L,x:F,y:ee,width:se,height:i,angle:O,strokeColor:re,backgroundColor:Y,fillStyle:ie,strokeWidth:Ae,strokeStyle:je,roughness:Ee,opacity:ge,groupIds:K,frameId:Q,roundness:be,seed:(E=Je.seed)!==null&&E!==void 0?E:(0,I.LU)(),version:Je.version||1,versionNonce:(D=Je.versionNonce)!==null&&D!==void 0?D:0,isDeleted:!1,boundElements:Ze,updated:(0,v.C3)(),link:Te,locked:Ve,customData:Je.customData}},G=function(L){return le(L.type,L)},U=function(L){return ve(ve({},le("embeddable",L)),{},{validated:L.validated})},H=function(L){return(0,x.BE)(ve(ve({},le("frame",L)),{},{type:"frame",name:L?.name||null}),{})},M=function(L,_){return{x:L.textAlign==="center"?_.width/2:L.textAlign==="right"?_.width:0,y:L.verticalAlign==="middle"?_.height/2:0}},A=function(L){var _=L.fontFamily||k.rk,E=L.fontSize||k.n5,D=L.lineHeight||(0,W.PT)(_),F=(0,W.bG)(L.text),ee=(0,W.X1)(F,(0,v.mO)({fontFamily:_,fontSize:E}),D),te=L.textAlign||k.Hg,re=L.verticalAlign||k.hs,oe=M({textAlign:te,verticalAlign:re},ee);return(0,x.BE)(ve(ve({},le("text",L)),{},{text:F,fontSize:E,fontFamily:_,textAlign:te,verticalAlign:re,x:L.x-oe.x,y:L.y-oe.y,width:ee.width,height:ee.height,baseline:ee.baseline,containerId:L.containerId||null,originalText:F,lineHeight:D}),{})},b=function(L,_){var E,D,F=(0,W.X1)(_,(0,v.mO)(L),L.lineHeight),ee=F.width,te=F.height,re=F.baseline,oe=L.textAlign,Y=L.verticalAlign;if(oe!=="center"||Y!==k.oX.MIDDLE||L.containerId){var V=(0,f.qf)(L),ie=(0,P.Z)(V,4),we=ie[0],Ae=ie[1],Re=ie[2],je=ie[3],ye=(0,N.wC)(L,ee,te,!1),Ee=(0,P.Z)(ye,4),Oe=(we-Ee[0])/2,ge=(Ae-Ee[1])/2,ue=(Re-Ee[2])/2,se=(je-Ee[3])/2,j=(0,Z.yq)({s:!0,e:oe==="center"||oe==="left",w:oe==="center"||oe==="right"},L.x,L.y,L.angle,Oe,ge,ue,se),i=(0,P.Z)(j,2);E=i[0],D=i[1]}else{var s=(0,W.X1)(L.text,(0,v.mO)(L),L.lineHeight),O=M(L,{width:ee-s.width,height:te-s.height});E=L.x-O.x,D=L.y-O.y}return{width:ee,height:te,baseline:re,x:Number.isFinite(E)?E:L.x,y:Number.isFinite(D)?D:L.y}},y=function(L){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L.text;if(!L.isDeleted){var E=(0,W.tl)(L);E&&(_=(0,W.lD)(_,(0,v.mO)(L),(0,W.iZ)(E)));var D=b(L,_);return ve({text:_},D)}},h=function(L,_){_.text;var E=_.isDeleted,D=_.originalText;return(0,x.BE)(L,ve({originalText:D,isDeleted:E??L.isDeleted},y(L,D)))},d=function(L){return ve(ve({},le(L.type,L)),{},{points:L.points||[],pressures:[],simulatePressure:L.simulatePressure,lastCommittedPoint:null})},r=function(L){return ve(ve({},le(L.type,L)),{},{points:L.points||[],lastCommittedPoint:null,startBinding:null,endBinding:null,startArrowhead:L.startArrowhead||null,endArrowhead:L.endArrowhead||null})},n=function(L){var _,E,D;return ve(ve({},le("image",L)),{},{strokeColor:"transparent",status:(_=L.status)!==null&&_!==void 0?_:"pending",fileId:(E=L.fileId)!==null&&E!==void 0?E:null,scale:(D=L.scale)!==null&&D!==void 0?D:[1,1]})},p=function L(_){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(_==null||(0,e.Z)(_)!=="object")return _;var D=Object.prototype.toString.call(_);if(D==="[object Object]"){var F=typeof _.constructor=="function"?Object.create(Object.getPrototypeOf(_)):{};for(var ee in _)if(_.hasOwnProperty(ee)){if(E===0&&(ee==="shape"||ee==="canvas"))continue;F[ee]=L(_[ee],E+1)}return F}if(Array.isArray(_)){for(var te=_.length,re=new Array(te);te--;)re[te]=L(_[te],E+1);return re}return _},a=function(L){return p(L)},l=function(L){if((0,v.h2)()&&L){var _,E,D="".concat(L,"_copy");return(_=window.h)!==null&&_!==void 0&&(E=_.app)!==null&&E!==void 0&&E.getSceneElementsIncludingDeleted().find(function(F){return F.id===D})&&(D+="_copy"),D}return(0,I.kb)()},u=function(L,_,E,D){var F=a(E);return F.id=l(F.id),F.boundElements=null,F.updated=(0,v.C3)(),F.seed=(0,I.LU)(),F.groupIds=(0,c.Qy)(F.groupIds,L,function(ee){return _.has(ee)||_.set(ee,l(ee)),_.get(ee)}),D&&(F=Object.assign(F,D)),F},C=function(L,_){var E,D=[],F=(0,v.xn)(L),ee=new Map,te=function(Re){if(ee.has(Re))return ee.get(Re);if(F.has(Re)){var je=l(Re);return ee.set(Re,je),je}return null},re=new Map,oe=J(L);try{for(oe.s();!(E=oe.n()).done;){var Y=E.value,V=p(Y);if(V.id=te(Y.id),_!=null&&_.randomizeSeed&&(V.seed=(0,I.LU)(),(0,x.ZP)(V)),V.groupIds&&(V.groupIds=V.groupIds.map(function(Re){return re.has(Re)||re.set(Re,l(Re)),re.get(Re)})),"containerId"in V&&V.containerId){var ie=te(V.containerId);V.containerId=ie}if("boundElements"in V&&V.boundElements&&(V.boundElements=V.boundElements.reduce(function(Re,je){var ye=te(je.id);return ye&&Re.push(ve(ve({},je),{},{id:ye})),Re},[])),"endBinding"in V&&V.endBinding){var we=te(V.endBinding.elementId);V.endBinding=we?ve(ve({},V.endBinding),{},{elementId:we}):null}if("startBinding"in V&&V.startBinding){var Ae=te(V.startBinding.elementId);V.startBinding=Ae?ve(ve({},V.startBinding),{},{elementId:Ae}):null}V.frameId&&(V.frameId=te(V.frameId)),D.push(V)}}catch(Re){oe.e(Re)}finally{oe.f()}return D}},4381:function(et,fe,t){t.d(fe,{LM:function(){return d},T:function(){return p},vY:function(){return H},xx:function(){return n}});var e=t(2726),P=t(1930),w=t(7169),m=t(2577),v=t(9937),I=t(5999),x=t(2361),c=t(4949),f=t(4183),Z=t(583),N=t(9827),W=t(9645),k=t(457),S=t(4761),J=t(7422),ce=["boundTextFontSize"];function he(a,l){var u=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!u){if(Array.isArray(a)||(u=function(F,ee){if(F){if(typeof F=="string")return ve(F,ee);var te=Object.prototype.toString.call(F).slice(8,-1);if(te==="Object"&&F.constructor&&(te=F.constructor.name),te==="Map"||te==="Set")return Array.from(F);if(te==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(te))return ve(F,ee)}}(a))||l&&a&&typeof a.length=="number"){u&&(a=u);var C=0,L=function(){};return{s:L,n:function(){return C>=a.length?{done:!0}:{done:!1,value:a[C++]}},e:function(F){throw F},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _,E=!0,D=!1;return{s:function(){u=u.call(a)},n:function(){var F=u.next();return E=F.done,F},e:function(F){D=!0,_=F},f:function(){try{E||u.return==null||u.return()}finally{if(D)throw _}}}}function ve(a,l){(l==null||l>a.length)&&(l=a.length);for(var u=0,C=new Array(l);u<l;u++)C[u]=a[u];return C}function le(a,l){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(a);l&&(C=C.filter(function(L){return Object.getOwnPropertyDescriptor(a,L).enumerable})),u.push.apply(u,C)}return u}function G(a){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?le(Object(u),!0).forEach(function(C){(0,w.Z)(a,C,u[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):le(Object(u)).forEach(function(C){Object.defineProperty(a,C,Object.getOwnPropertyDescriptor(u,C))})}return a}var U=function(a){return a<0?a+2*Math.PI:a>=2*Math.PI?a-2*Math.PI:a},H=function(a,l,u,C,L,_,E,D,F,ee,te,re){if(u.length===1){var oe=(0,m.Z)(u,1)[0];return l==="rotation"?(M(oe,D,F,L,a.originalElements),(0,W.Ww)(oe)):!(0,f.iB)(oe)||l!=="nw"&&l!=="ne"&&l!=="sw"&&l!=="se"?l&&h(a.originalElements,E,oe,l,_,D,F):(y(oe,l,_,D,F),(0,W.Ww)(oe)),!0}if(u.length>1){if(l==="rotation")return r(a,u,D,F,L,ee,te),!0;if(l==="nw"||l==="ne"||l==="sw"||l==="se")return d(a,u,l,_,D,F),!0}return!1},M=function(a,l,u,C,L){var _,E=(0,c.qf)(a),D=(0,m.Z)(E,4),F=D[0],ee=D[1],te=(F+D[2])/2,re=(ee+D[3])/2;(0,f.He)(a)?_=0:(_=5*Math.PI/2+Math.atan2(u-re,l-te),C&&(_+=v.ay/2,_-=_%v.ay),_=U(_));var oe=(0,S.xB)(a);if((0,Z.DR)(a,{angle:_}),oe){var Y,V=(Y=k.Z.getScene(a))===null||Y===void 0?void 0:Y.getElement(oe);V&&!(0,f.Yv)(a)&&(0,Z.DR)(V,{angle:_})}},A=function(a,l,u,C){return(0,f.bt)(a)||(0,f.F9)(a)?{points:(0,I.z)(0,l,(0,I.z)(1,u,a.points,C),C)}:{}},b=function(a,l,u){var C=a.width;if((0,f.Xh)(a)){var L=(0,S.tl)(a);L&&(C=(0,S.iZ)(L))}var _=a.fontSize*(l/C);if(_<v.CP)return null;var E=(0,S.X1)(a.text,(0,N.mO)({fontSize:_,fontFamily:a.fontFamily}),a.lineHeight);return{size:_,baseline:E.baseline+(u-E.height)}},y=function(a,l,u,C,L){var _,E=(0,c.qf)(a),D=(0,m.Z)(E,4),F=D[0],ee=D[1],te=D[2],re=D[3],oe=(F+te)/2,Y=(ee+re)/2,V=(0,x.U1)(C,L,oe,Y,-a.angle),ie=(0,m.Z)(V,2),we=ie[0],Ae=ie[1];switch(l){case"se":_=Math.max((we-F)/(te-F),(Ae-ee)/(re-ee));break;case"nw":_=Math.max((te-we)/(te-F),(re-Ae)/(re-ee));break;case"ne":_=Math.max((we-F)/(te-F),(re-Ae)/(re-ee));break;case"sw":_=Math.max((te-we)/(te-F),(Ae-ee)/(re-ee))}if(_>0){var Re=a.width*_,je=a.height*_,ye=b(a,Re,je);if(ye===null)return;var Ee=(0,c.wC)(a,Re,je,!1),Oe=(0,m.Z)(Ee,4),ge=(F-Oe[0])/2,ue=(ee-Oe[1])/2,se=(te-Oe[2])/2,j=(re-Oe[3])/2,i=(0,x.yq)(function(K,$){return{n:/^(n|ne|nw)$/.test(K)||$&&/^(s|se|sw)$/.test(K),s:/^(s|se|sw)$/.test(K)||$&&/^(n|ne|nw)$/.test(K),w:/^(w|nw|sw)$/.test(K)||$&&/^(e|ne|se)$/.test(K),e:/^(e|ne|se)$/.test(K)||$&&/^(w|nw|sw)$/.test(K)}}(l,u),a.x,a.y,a.angle,ge,ue,se,j),s=(0,m.Z)(i,2),O=s[0],z=s[1];(0,Z.DR)(a,{fontSize:ye.size,width:Re,height:je,baseline:ye.baseline,x:O,y:z})}},h=function(a,l,u,C,L,_,E){var D=a.get(u.id),F=(0,c.wC)(D,D.width,D.height,!0),ee=(0,m.Z)(F,4),te=[ee[0],ee[1]],re=[ee[2],ee[3]],oe=(0,x.H5)(te,re),Y=(0,x.xj)([_,E],oe,-D.angle),V=(0,c.wC)(u,u.width,u.height,!0),ie=(0,m.Z)(V,4),we=ie[0],Ae=ie[1],Re=ie[2]-we,je=ie[3]-Ae,ye=(re[0]-te[0])/Re,Ee=(re[1]-te[1])/je,Oe={},ge=(0,S.WJ)(u);C.includes("e")&&(ye=(Y[0]-te[0])/Re),C.includes("s")&&(Ee=(Y[1]-te[1])/je),C.includes("w")&&(ye=(re[0]-Y[0])/Re),C.includes("n")&&(Ee=(re[1]-Y[1])/je);var ue=D.width,se=D.height,j=u.width*ye,i=u.height*Ee;if(L&&(j=2*j-ue,i=2*i-se),l){var s=Math.abs(j)/ue,O=Math.abs(i)/se;if(C.length===1&&(i*=s,j*=O),C.length===2){var z=Math.max(s,O);j=ue*z*Math.sign(j),i=se*z*Math.sign(i)}}if(ge){var K=a.get(ge.id);if(K&&(Oe={fontSize:K.fontSize,baseline:K.baseline}),l){var $=G(G({},u),{},{width:j,height:i}),Q=b(ge,(0,S.iZ)($),(0,S.D9)($,ge));if(Q===null)return;Oe={fontSize:Q.size,baseline:Q.baseline}}else{var ae=(0,S.AT)((0,N.mO)(ge),ge.lineHeight),be=(0,S.w_)(ge.fontSize,ge.lineHeight);j=Math.max(j,ae),i=Math.max(i,be)}}var Ce=(0,c.wC)(D,j,i,!0),Ze=(0,m.Z)(Ce,4),Be=Ze[0],Te=Ze[1],He=Ze[2],Ve=Ze[3],Je=He-Be,Me=Ve-Te,me=[].concat(te);if(["n","w","nw"].includes(C)&&(me=[re[0]-Math.abs(Je),re[1]-Math.abs(Me)]),C==="ne"){var Se=[te[0],re[1]];me=[Se[0],Se[1]-Math.abs(Me)]}if(C==="sw"){var Ne=[re[0],te[1]];me=[Ne[0]-Math.abs(Je),Ne[1]]}l&&(["s","n"].includes(C)&&(me[0]=oe[0]-Je/2),["e","w"].includes(C)&&(me[1]=oe[1]-Me/2));var Ye=i<0;j<0&&(C.includes("e")&&(me[0]-=Math.abs(Je)),C.includes("w")&&(me[0]+=Math.abs(Je))),Ye&&(C.includes("s")&&(me[1]-=Math.abs(Me)),C.includes("n")&&(me[1]+=Math.abs(Me))),L&&(me[0]=oe[0]-Math.abs(Je)/2,me[1]=oe[1]-Math.abs(Me)/2);var Qe=D.angle,rt=(0,x.xj)(me,oe,Qe),ft=[me[0]+Math.abs(Je)/2,me[1]+Math.abs(Me)/2],at=(0,x.xj)(ft,oe,Qe);me=(0,x.xj)(rt,at,-Qe);var ut=(0,P.Z)(me),Ot=D.x-Be,Pt=D.y-Te;ut[0]+=Ot,ut[1]+=Pt;var Et,Mt,Yt=ut[0],lt=ut[1];((0,f.bt)(u)||(0,f.F9)(u))&&(Et=(0,I.z)(1,i,D.points,!0),Mt=(0,I.z)(0,j,Et,!0));var ot={width:Math.abs(j),height:Math.abs(i),x:Yt,y:lt,points:Mt};if("scale"in u&&"scale"in D&&(0,Z.DR)(u,{scale:[(Math.sign(He-D.x)||D.scale[0])*D.scale[0],(Math.sign(Ve-D.y)||D.scale[1])*D.scale[1]]}),(0,f.Yv)(u)&&ge&&l){var mt=ot.width/u.width*ge.fontSize;if(mt<v.CP)return;Oe.fontSize=mt}ot.width!==0&&ot.height!==0&&Number.isFinite(ot.x)&&Number.isFinite(ot.y)&&((0,Z.DR)(u,ot),(0,W.Ww)(u,{newSize:{width:ot.width,height:ot.height}}),ge&&Oe!=null&&(0,Z.DR)(ge,{fontSize:Oe.fontSize,baseline:Oe.baseline}),(0,S.RB)(u,C,l))},d=function(a,l,u,C,L,_){var E,D=l.reduce(function(mt,pt){var ht=a.originalElements.get(pt.id);return ht&&mt.push({orig:ht,latest:pt}),mt},[]),F=D.reduce(function(mt,pt){var ht,yt=pt.orig;if(!(0,f.bt)(yt))return mt;var Ct=(0,S.xB)(yt);if(!Ct)return mt;var Bt=(ht=a.originalElements.get(Ct))!==null&&ht!==void 0?ht:null;if(!(0,f.Xh)(Bt))return mt;var zt=J._.getBoundTextElementPosition(yt,Bt);return[].concat((0,P.Z)(mt),[G(G({},Bt),zt)])},[]),ee=(0,c.v2)(D.map(function(mt){return mt.orig}).concat(F)),te=ee.minX,re=ee.minY,oe=ee.maxX,Y=ee.maxY,V=ee.midX,ie=ee.midY,we=u,Ae=C?[V,ie]:{ne:[te,Y],se:[te,re],sw:[oe,re],nw:[oe,Y]}[we],Re=(0,m.Z)(Ae,2),je=Re[0],ye=Re[1],Ee=Math.max(Math.abs(L-je)/(oe-te)||0,Math.abs(_-ye)/(Y-re)||0)*(C?2:1);if(Ee!==0){var Oe,ge={ne:[L>=je,_<=ye],se:[L>=je,_>=ye],sw:[L<=je,_>=ye],nw:[L<=je,_<=ye]}[we].map(function(mt){return mt?1:-1}),ue=(0,m.Z)(ge,2),se=ue[0],j=ue[1],i=se<0,s=j<0,O=[],z=he(D);try{for(z.s();!(Oe=z.n()).done;){var K,$=Oe.value,Q=$.orig,ae=$.latest;if(!(0,f.iB)(Q)||!(0,f.Xh)(Q)){var be=Q.width*Ee,Ce=Q.height*Ee,Ze=U(Q.angle*se*j),Be=(0,f.bt)(Q)||(0,f.F9)(Q),Te=Q.x-je,He=Q.y-ye,Ve=je+se*(Te*Ee+(i&&!Be?be:0)),Je=ye+j*(He*Ee+(s&&!Be?Ce:0)),Me=A(Q,be*se,Ce*j,!1),me=G({x:Ve,y:Je,width:be,height:Ce,angle:Ze},Me);if((0,f.pC)(Q)&&D.length===1&&(me.scale=[Q.scale[0]*se,Q.scale[1]*j]),(0,f.bt)(Q)&&(i||s)&&function(){var mt=(0,c.Ut)(Q,Q.points),pt=(0,c.Ut)(G(G({},Q),{},{x:Ve,y:Je}),Me.points),ht=[Q.x,Q.y],yt=[Ve,Je],Ct=function(Bt){var zt=Bt==="x"?0:1;return(pt[zt+2]-yt[zt]-(ht[zt]-mt[zt])*Ee+(mt[zt+2]-ht[zt])*Ee-(yt[zt]-pt[zt]))/2};i&&(me.x-=Ct("x")),s&&(me.y-=Ct("y"))}(),(0,f.iB)(Q)){var Se=b(Q,be,Ce);if(!Se)return;me.fontSize=Se.size,me.baseline=Se.baseline}var Ne=a.originalElements.get((K=(0,S.xB)(Q))!==null&&K!==void 0?K:"");if(Ne){var Ye=Ne.fontSize*Ee;if(Ye<v.CP)return;me.boundTextFontSize=Ye}O.push({element:ae,update:me})}}}catch(mt){z.e(mt)}finally{z.f()}for(var Qe=O.map(function(mt){return mt.element}),rt=0,ft=O;rt<ft.length;rt++){var at=ft[rt],ut=at.element,Ot=at.update,Pt=Ot.boundTextFontSize,Et=(0,e.Z)(Ot,ce),Mt=Et.width,Yt=Et.height,lt=Et.angle;(0,Z.DR)(ut,Et,!1),(0,W.Ww)(ut,{simultaneouslyUpdated:Qe,newSize:{width:Mt,height:Yt}});var ot=(0,S.WJ)(ut);ot&&Pt&&((0,Z.DR)(ot,{fontSize:Pt,angle:(0,f.bt)(ut)?void 0:lt},!1),(0,S.RB)(ut,u,!0))}(E=k.Z.getScene(O[0].element))===null||E===void 0||E.informMutation()}},r=function(a,l,u,C,L,_,E){var D,F=5*Math.PI/2+Math.atan2(C-E,u-_);L&&(F+=v.ay/2,F-=F%v.ay),l.filter(function(ee){return ee.type!=="frame"}).forEach(function(ee){var te,re,oe=(0,c.qf)(ee),Y=(0,m.Z)(oe,4),V=Y[0],ie=Y[1],we=(V+Y[2])/2,Ae=(ie+Y[3])/2,Re=(te=(re=a.originalElements.get(ee.id))===null||re===void 0?void 0:re.angle)!==null&&te!==void 0?te:ee.angle,je=(0,x.U1)(we,Ae,_,E,F+Re-ee.angle),ye=(0,m.Z)(je,2),Ee=ye[0],Oe=ye[1];(0,Z.DR)(ee,{x:ee.x+(Ee-we),y:ee.y+(Oe-Ae),angle:U(F+Re)},!1),(0,W.Ww)(ee,{simultaneouslyUpdated:l});var ge=(0,S.WJ)(ee);ge&&!(0,f.Yv)(ee)&&(0,Z.DR)(ge,{x:ge.x+(Ee-we),y:ge.y+(Oe-Ae),angle:U(F+Re)},!1)}),(D=k.Z.getScene(l[0]))===null||D===void 0||D.informMutation()},n=function(a,l,u,C){var L=l.length===1?(0,c.qf)(l[0]):(0,c.KP)(l),_=(0,m.Z)(L,4),E=_[0],D=_[1],F=_[2],ee=_[3],te=(E+F)/2,re=(D+ee)/2,oe=l.length===1?l[0].angle:0,Y=(0,x.U1)(u,C,te,re,-oe),V=(0,m.Z)(Y,2);switch(u=V[0],C=V[1],a){case"n":return(0,x.U1)(u-(E+F)/2,C-D,0,0,oe);case"s":return(0,x.U1)(u-(E+F)/2,C-ee,0,0,oe);case"w":return(0,x.U1)(u-E,C-(D+ee)/2,0,0,oe);case"e":return(0,x.U1)(u-F,C-(D+ee)/2,0,0,oe);case"nw":return(0,x.U1)(u-E,C-D,0,0,oe);case"ne":return(0,x.U1)(u-F,C-D,0,0,oe);case"sw":return(0,x.U1)(u-E,C-ee,0,0,oe);case"se":return(0,x.U1)(u-F,C-ee,0,0,oe);default:return[0,0]}},p=function(a,l){var u=(0,m.Z)(l.points,2),C=(0,m.Z)(u[1],2),L=C[0],_=C[1];return a==="nw"&&(L<0||_<0)||a==="ne"&&L>=0||a==="sw"&&L<=0||a==="se"&&(L>0||_>0)?"end":"origin"}},7935:function(et,fe,t){t.d(fe,{PZ:function(){return x},QD:function(){return I},Qp:function(){return Z},o4:function(){return f},uK:function(){return c}});var e=t(2577),P=(t(583),t(4183)),w=t(9937),m=t(4949),v=t(9827),I=function(N){return(0,P.bt)(N)||(0,P.F9)(N)?N.points.length<2:N.width===0&&N.height===0},x=function(N,W,k,S){var J=(0,m.Pi)(N),ce=(0,e.Z)(J,4),he=ce[0],ve=ce[1],le=ce[2],G=ce[3],U=(0,v.dE)({clientX:S.offsetLeft,clientY:S.offsetTop},S),H=(0,v.dE)({clientX:S.offsetLeft+W,clientY:S.offsetTop+k},S);return U.x<=le&&U.y<=G&&H.x>=he&&H.y>=ve},c=function(N,W,k){var S=Math.abs(W),J=Math.abs(k);if(N==="line"||N==="arrow"||N==="freedraw"){var ce=Math.round(Math.atan(J/S)/w.ay)*w.ay;ce===0?k=0:ce===Math.PI/2?W=0:k=S*Math.tan(ce)*Math.sign(k)||k}else N!=="selection"&&(k=S*Math.sign(k));return{width:W,height:k}},f=function(N,W,k,S){var J=k-N,ce=S-W,he=Math.round(Math.atan(ce/J)/w.ay)*w.ay;if(he===0)ce=0;else if(he===Math.PI/2)J=0;else{var ve=Math.tan(he),le=W-ve*N,G=-1/ve,U=S-G*k;J=(-1*U- -1*le)/(-1*ve- -1*G)-N,ce=(le*G-U*ve)/(-1*ve- -1*G)-W}return{width:J,height:ce}},Z=function(N){var W={width:N.width,height:N.height,x:N.x,y:N.y};if(N.width<0){var k=Math.abs(N.width);W.width=k,W.x=N.x-k}if(N.height<0){var S=Math.abs(N.height);W.height=S,W.y=N.y-S}return W}},4761:function(et,fe,t){t.d(fe,{$2:function(){return h},AT:function(){return L},D9:function(){return je},FE:function(){return A},H_:function(){return re},NS:function(){return Ae},OW:function(){return V},P7:function(){return H},PT:function(){return Oe},R8:function(){return y},RB:function(){return M},Rg:function(){return d},TP:function(){return ee},WJ:function(){return D},X1:function(){return b},Zr:function(){return we},aV:function(){return Y},bG:function(){return le},cn:function(){return oe},cw:function(){return te},eB:function(){return ye},iZ:function(){return Re},lD:function(){return l},mY:function(){return p},oN:function(){return U},tl:function(){return F},w_:function(){return r},xB:function(){return E}});var e,P=t(2577),w=t(1930),m=t(7169),v=t(9827),I=t(583),x=t(9937),c=t(457),f=t(7651),Z=t(4183),N=t(7422),W=t(4105),k=t(3528),S=t(3474);function J(ge,ue){var se=Object.keys(ge);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(ge);ue&&(j=j.filter(function(i){return Object.getOwnPropertyDescriptor(ge,i).enumerable})),se.push.apply(se,j)}return se}function ce(ge){for(var ue=1;ue<arguments.length;ue++){var se=arguments[ue]!=null?arguments[ue]:{};ue%2?J(Object(se),!0).forEach(function(j){(0,m.Z)(ge,j,se[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ge,Object.getOwnPropertyDescriptors(se)):J(Object(se)).forEach(function(j){Object.defineProperty(ge,j,Object.getOwnPropertyDescriptor(se,j))})}return ge}var he,ve,le=function(ge){return ge.replace(/\t/g," ").replace(/\r?\n|\r/g,` +`)},G=function(ge){return le(ge).split(` +`)},U=function(ge,ue){var se=void 0,j={x:ge.x,y:ge.y,text:ge.text,width:ge.width,height:ge.height,baseline:ge.baseline};j.text=ge.text,ue&&(se=Re(ue,ge),j.text=l(ge.originalText,(0,v.mO)(ge),se));var i=b(j.text,(0,v.mO)(ge),ge.lineHeight);if(j.width=i.width,j.height=i.height,j.baseline=i.baseline,ue){var s=je(ue,ge),O=Re(ue);if(!(0,Z.Yv)(ue)&&i.height>s){var z=Ae(i.height,ue.type);(0,I.DR)(ue,{height:z}),(0,S.h_)(ue.id,z)}if(i.width>O){var K=Ae(i.width,ue.type);(0,I.DR)(ue,{width:K})}var $=ce(ce({},ge),j),Q=A(ue,$),ae=Q.x,be=Q.y;j.x=ae,j.y=be}(0,I.DR)(ge,j)},H=function(ge,ue,se){var j=(0,v.xn)(ge);ue.forEach(function(i){var s=se.get(i.id),O=E(i);if(O){var z=se.get(O);if(z){var K=j.get(s);K&&(0,I.DR)(K,{boundElements:(i.boundElements||[]).filter(function(Q){return Q.id!==z&&Q.id!==O}).concat({type:"text",id:z})});var $=j.get(z);$&&(0,f.iB)($)&&(0,I.DR)($,{containerId:K?s:null})}}})},M=function(ge,ue){var se=arguments.length>2&&arguments[2]!==void 0&&arguments[2],j=E(ge);if(j){(0,S.kT)(ge.id);var i=c.Z.getScene(ge).getElement(j);if(i&&i.text){if(!ge)return;var s=(i=c.Z.getScene(ge).getElement(j)).text,O=i.height,z=i.width,K=Re(ge),$=je(ge,i),Q=ge.height,ae=i.baseline;if(se||ue!=="n"&&ue!=="s"){s&&(s=l(i.originalText,(0,v.mO)(i),K));var be=b(s,(0,v.mO)(i),i.lineHeight);O=be.height,z=be.width,ae=be.baseline}if(O>$){var Ce=(Q=Ae(O,ge.type))-ge.height,Ze=(0,Z.Yv)(ge)||ue!=="ne"&&ue!=="nw"&&ue!=="n"?ge.y:ge.y-Ce;(0,I.DR)(ge,{height:Q,y:Ze})}(0,I.DR)(i,{text:s,width:z,height:O,baseline:ae}),(0,Z.Yv)(ge)||(0,I.DR)(i,A(ge,i))}}},A=function(ge,ue){if((0,Z.Yv)(ge))return N._.getBoundTextElementPosition(ge,ue);var se,j=te(ge),i=je(ge,ue),s=Re(ge);return se=ue.verticalAlign===x.oX.TOP?j.y:ue.verticalAlign===x.oX.BOTTOM?j.y+(i-ue.height):j.y+(i/2-ue.height/2),{x:ue.textAlign===x.I8.LEFT?j.x:ue.textAlign===x.I8.RIGHT?j.x+(s-ue.width):j.x+(s/2-ue.width/2),y:se}},b=function(ge,ue,se){ge=ge.split(` +`).map(function(s){return s||" "}).join(` +`);var j=parseFloat(ue),i=a(ge,j,se);return{width:p(ge,ue),height:i,baseline:y(ge,ue,se)}},y=function(ge,ue,se,j){var i=document.createElement("div");i.style.position="absolute",i.style.whiteSpace="pre",i.style.font=ue,i.style.minHeight="1em",j&&(i.style.overflow="hidden",i.style.wordBreak="break-word",i.style.whiteSpace="pre-wrap"),i.style.lineHeight=String(se),i.innerText=ge,document.body.appendChild(i);var s=document.createElement("span");s.style.display="inline-block",s.style.overflow="hidden",s.style.width="1px",s.style.height="1px",i.appendChild(s);var O=s.offsetTop+s.offsetHeight,z=i.offsetHeight;if(x.G6){var K=a(ge,parseFloat(ue),se),$=parseFloat(ue),Q=a(ge,Math.round($),se);K>z&&(O+=K-Q),z>K&&(O-=Q-K)}return document.body.removeChild(i),O},h=function(ge){var ue=G(ge.text).length;return ge.height/ue/ge.fontSize},d=function(ge,ue){return ge*ue},r=function(ge,ue){return d(ge,ue)+2*x.gK},n=function(ge,ue){he||(he=document.createElement("canvas"));var se=he.getContext("2d");se.font=ue;var j=se.measureText(ge).width;return(0,v.h2)()?10*j:j},p=function(ge,ue){var se=G(ge),j=0;return se.forEach(function(i){j=Math.max(j,n(i,ue))}),j},a=function(ge,ue,se){var j=G(ge).length;return d(ue,se)*j},l=function(ge,ue,se){if(!Number.isFinite(se)||se<0)return ge;var j=[],i=ge.split(` +`),s=n(" ",ue),O="",z=0,K=function(Q){Q.trim()&&j.push(Q)},$=function(){O="",z=0};return i.forEach(function(Q){if(p(Q,ue)<=se)j.push(Q);else{var ae=function(Ve){var Je=Ve.split("-");return Je.length>1&&Je.forEach(function(Me,me){me!==Je.length-1&&(Je[me]=Me+="-")}),Je.join(" ").split(" ")}(Q);$();for(var be=0;be<ae.length;){var Ce=n(ae[be],ue);if(Ce===se)K(ae[be]),be++;else if(Ce>se){for(K(O),$();ae[be].length>0;){var Ze=String.fromCodePoint(ae[be].codePointAt(0)),Be=u.calculate(Ze,ue);z+=Be,ae[be]=ae[be].slice(Ze.length),z>=se?(K(O),O=Ze,z=Be):O+=Ze}z+s>=se?(K(O),$()):O.endsWith("-")||(O+=" ",z+=s),be++}else for(;z<se&&be<ae.length;){var Te=ae[be];if((z=n(O+Te,ue))>se){K(O),$();break}be++;var He=!Te.endsWith("-");if(O+=Te,He&&(O+=" "),z+s>=se){He?j.push(O.slice(0,-1)):j.push(O),$();break}}}O.slice(-1)===" "&&(O=O.slice(0,-1),K(O))}}),j.join(` +`)},u=(ve={},{calculate:function(ge,ue){var se=ge.charCodeAt(0);if(ve[ue]||(ve[ue]=[]),!ve[ue][se]){var j=n(ge,ue);ve[ue][se]=j}return ve[ue][se]},getCache:function(ge){return ve[ge]}}),C="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".toLocaleUpperCase(),L=function(ge,ue){var se=_(ge);return se===0?b(C.split("").join(` +`),ge,ue).width+2*x.gK:se+2*x.gK},_=function(ge){var ue=u.getCache(ge);if(!ue)return 0;var se=ue.filter(function(j){return j!==void 0});return Math.max.apply(Math,(0,w.Z)(se))},E=function(ge){var ue,se,j;return ge!=null&&(ue=ge.boundElements)!==null&&ue!==void 0&&ue.length&&(ge==null||(se=ge.boundElements)===null||se===void 0||(j=se.filter(function(i){return i.type==="text"})[0])===null||j===void 0?void 0:j.id)||null},D=function(ge){if(!ge)return null;var ue,se=E(ge);return se&&((ue=c.Z.getScene(ge))===null||ue===void 0?void 0:ue.getElement(se))||null},F=function(ge){return ge&&ge.containerId&&((ue=c.Z.getScene(ge))===null||ue===void 0?void 0:ue.getElement(ge.containerId))||null;var ue},ee=function(ge,ue){if(!(0,Z.Yv)(ge))return{x:ge.x+ge.width/2,y:ge.y+ge.height/2};var se=N._.getPointsGlobalCoordinates(ge);if(se.length%2==1){var j=Math.floor(ge.points.length/2),i=N._.getPointGlobalCoordinates(ge,ge.points[j]);return{x:i[0],y:i[1]}}var s=ge.points.length/2-1,O=N._.getEditorMidPoints(ge,ue)[s];return O||(O=N._.getSegmentMidPoint(ge,se[s],se[s+1],s+1)),{x:O[0],y:O[1]}},te=function(ge){var ue=x.gK,se=x.gK;return ge.type==="ellipse"&&(ue+=ge.width/2*(1-Math.sqrt(2)/2),se+=ge.height/2*(1-Math.sqrt(2)/2)),ge.type==="diamond"&&(ue+=ge.width/4,se+=ge.height/4),{x:ge.x+ue,y:ge.y+se}},re=function(ge){var ue=F(ge);return!ue||(0,Z.Yv)(ue)?ge.angle:ue.angle},oe=function(ge){return ge.some(function(ue){if((0,Z.Xh)(ue)){var se=F(ue);return!(0,f.iB)(ue)||!(0,Z.Yv)(se)}return!1})},Y=function(ge){return ge.some(function(ue){if((0,Z.Xh)(ue)){var se=F(ue);return!(0,f.iB)(ue)||!(0,Z.Yv)(se)}return(0,f.iB)(ue)})},V=function(ge,ue,se,j){var i=(0,W.eD)(ge,ue);if(i.length===1)return(0,Z.mG)(i[0],!1)?i[0]:null;for(var s=null,O=ge.length-1;O>=0;--O)if(!ge[O].isDeleted){var z=(0,f.qf)(ge[O]),K=(0,P.Z)(z,4),$=K[0],Q=K[1],ae=K[2],be=K[3];if((0,Z.Yv)(ge[O])&&(0,k.Qu)(ge[O],ue,null,[se,j])){s=ge[O];break}if($<se&&se<ae&&Q<j&&j<be){s=ge[O];break}}return(0,Z.mG)(s,!1)?s:null},ie=new Set(["rectangle","ellipse","diamond","arrow"]),we=function(ge){return ie.has(ge.type)},Ae=function(ge,ue){ge=Math.ceil(ge);var se=2*x.gK;return ue==="ellipse"?Math.round((ge+se)/Math.sqrt(2)*2):ue==="arrow"?ge+8*se:ue==="diamond"?2*(ge+se):ge+se},Re=function(ge){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D(ge),se=ge.width;if((0,Z.Yv)(ge)){var j,i=((j=ue?.fontSize)!==null&&j!==void 0?j:x.n5)*x.vL;return Math.max(x.bY*se,i)}return ge.type==="ellipse"?Math.round(se/2*Math.sqrt(2))-2*x.gK:ge.type==="diamond"?Math.round(se/2)-2*x.gK:se-2*x.gK},je=function(ge,ue){var se=ge.height;return(0,Z.Yv)(ge)?se-8*x.gK*2<=0?ue.height:se:ge.type==="ellipse"?Math.round(se/2*Math.sqrt(2))-2*x.gK:ge.type==="diamond"?Math.round(se/2)-2*x.gK:se-2*x.gK},ye=function(){return p(C,(0,v.mO)({fontSize:x.n5,fontFamily:x.rk}))>0},Ee=(e={},(0,m.Z)(e,x.ut.Virgil,1.25),(0,m.Z)(e,x.ut.Helvetica,1.15),(0,m.Z)(e,x.ut.Cascadia,1.2),e),Oe=function(ge){return ge in Ee?Ee[ge]:Ee[x.rk]}},3474:function(et,fe,t){t.d(fe,{b_:function(){return A},eR:function(){return M},h_:function(){return U},kT:function(){return H}});var e=t(8950),P=t(7169),w=t(2577),m=t(2975),v=t.n(m),I=t(5491),x=t(9827),c=t(457),f=t(4183),Z=t(9937),N=t(583),W=t(4761),k=t(3361),S=t(6006),J=t(7422),ce=t(4694);function he(b,y){var h=Object.keys(b);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(b);y&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(b,r).enumerable})),h.push.apply(h,d)}return h}function ve(b){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?he(Object(h),!0).forEach(function(d){(0,P.Z)(b,d,h[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(h)):he(Object(h)).forEach(function(d){Object.defineProperty(b,d,Object.getOwnPropertyDescriptor(h,d))})}return b}var le=function(b,y,h,d,r,n){var p=d.zoom,a=180*h/Math.PI,l=b*(p.value-1)/2,u=y*(p.value-1)/2;return b>r&&p.value!==1&&(l=r*(p.value-1)/2),y>n&&p.value!==1&&(u=n*(p.value-1)/2),"translate(".concat(l,"px, ").concat(u,"px) scale(").concat(p.value,") rotate(").concat(a,"deg)")},G={},U=function(b,y){var h=G[b]||(G[b]={height:y});return h.height=y,h},H=function(b){G[b]&&delete G[b]},M=function(b){var y,h;return(y=(h=G[b])===null||h===void 0?void 0:h.height)!==null&&y!==void 0?y:null},A=function(b){var y=b.id,h=b.onChange,d=b.onSubmit,r=b.getViewportCoords,n=b.element,p=b.canvas,a=b.excalidrawContainer,l=b.app,u=function(){var ye,Ee=l.state,Oe=(ye=c.Z.getScene(n))===null||ye===void 0?void 0:ye.getElement(y);if(Oe){var ge=Oe.textAlign,ue=Oe.verticalAlign;if(Oe&&(0,f.iB)(Oe)){var se=Oe.x,j=Oe.y,i=(0,W.tl)(Oe),s=Oe.width,O=Oe.height,z=Oe.width,K=Oe.height;if(i&&Oe.containerId){if((0,f.Yv)(i)){var $=J._.getBoundTextElementPosition(i,Oe);se=$.x,j=$.y}var Q,ae=function(Ye,Qe){if(!Qe.style.fontFamily||!Qe.style.fontSize)return!1;var rt=Qe.style.fontFamily.replace(/"/g,"");return(0,x.$g)({fontFamily:Ye.fontFamily})!==rt||"".concat(Ye.fontSize,"px")!==Qe.style.fontSize}(Oe,C);if(ae?Q=U(i.id,i.height):(Q=G[i.id])||(Q=U(i.id,i.height)),s=(0,W.iZ)(i),O=(0,W.D9)(i,Oe),!(0,f.Yv)(i)&&K>O){var be=(0,W.NS)(K,i.type);return void(0,N.DR)(i,{height:be})}if(!(0,f.Yv)(i)&&i.height>Q.height&&K<O){var Ce=(0,W.NS)(K,i.type);(0,N.DR)(i,{height:Ce})}else j=(0,W.FE)(i,Oe).y}var Ze=r(se,j),Be=(0,w.Z)(Ze,2),Te=Be[0],He=Be[1],Ve=C.selectionStart,Je=C.selectionEnd,Me=C.value.length;if(Ve===Je&&Je!==Me){var me=Me-Je;C.selectionStart=C.value.length-me,C.selectionEnd=C.value.length-me}i?z+=.5:(s=(Ee.width-8-Te)/Ee.zoom.value,z=Math.min(z,s));var Se=Oe.lineHeight;Z.G6&&(Se=(0,W.$2)(ve(ve({},Oe),{},{fontSize:Math.round(Oe.fontSize)})));var Ne=(Ee.height-He)/Ee.zoom.value;Object.assign(C.style,{font:(0,x.mO)(Oe),lineHeight:Se,width:"".concat(z,"px"),height:"".concat(K,"px"),left:"".concat(Te,"px"),top:"".concat(He,"px"),transform:le(z,K,(0,W.H_)(Oe),Ee,s,Ne),textAlign:ge,verticalAlign:ue,color:Oe.strokeColor,opacity:Oe.opacity/100,filter:"var(--theme-filter)",maxHeight:"".concat(Ne,"px")}),C.scrollTop=0,(0,x.h2)()&&(C.style.fontFamily=(0,x.$g)(Oe)),(0,N.DR)(Oe,{x:se,y:j})}}},C=document.createElement("textarea");C.dir="auto",C.tabIndex=0,C.dataset.type="wysiwyg",C.wrap="off",C.classList.add("excalidraw-wysiwyg");var L="pre",_="normal";(0,f.Xh)(n)&&(L="pre-wrap",_="break-word"),Object.assign(C.style,{position:"absolute",display:"inline-block",minHeight:"1em",backfaceVisibility:"hidden",margin:0,padding:0,border:0,outline:0,resize:"none",background:"transparent",overflow:"hidden",zIndex:"var(--zIndex-wysiwyg)",wordBreak:_,whiteSpace:L,overflowWrap:"break-word",boxSizing:"content-box"}),C.value=n.originalText,u(),h&&(C.onpaste=function(){var ye=(0,e.Z)(v().mark(function Ee(Oe){var ge,ue,se,j,i,s;return v().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,(0,ce.mQ)(Oe,!0);case 2:if((ge=O.sent).text){O.next=5;break}return O.abrupt("return");case 5:if(ue=(0,W.bG)(ge.text)){O.next=8;break}return O.abrupt("return");case 8:se=(0,W.tl)(n),j=(0,x.mO)({fontSize:l.state.currentItemFontSize,fontFamily:l.state.currentItemFontFamily}),se&&(i=(0,W.lD)("".concat(C.value).concat(ue),j,(0,W.iZ)(se)),s=(0,W.mY)(i,j),C.style.width="".concat(s,"px"));case 11:case"end":return O.stop()}},Ee)}));return function(Ee){return ye.apply(this,arguments)}}(),C.oninput=function(){h((0,W.bG)(C.value))}),C.onkeydown=function(ye){if(!ye.shiftKey&&S.Lo.keyTest(ye))ye.preventDefault(),l.actionManager.executeAction(S.Lo),u();else if(!ye.shiftKey&&S.CZ.keyTest(ye))ye.preventDefault(),l.actionManager.executeAction(S.CZ),u();else if(k.Tu.keyTest(ye))l.actionManager.executeAction(k.Tu);else if(k.Zq.keyTest(ye))l.actionManager.executeAction(k.Zq);else if(ye.key===I.tW.ESCAPE)ye.preventDefault(),oe=!0,Y();else if(ye.key===I.tW.ENTER&&ye[I.tW.CTRL_OR_CMD]){if(ye.preventDefault(),ye.isComposing||ye.keyCode===229)return;oe=!0,Y()}else if(ye.key===I.tW.TAB||ye[I.tW.CTRL_OR_CMD]&&(ye.code===I.aU.BRACKET_LEFT||ye.code===I.aU.BRACKET_RIGHT)){if(ye.preventDefault(),ye.isComposing)return;ye.shiftKey||ye.code===I.aU.BRACKET_LEFT?ee():F(),C.dispatchEvent(new Event("input"))}};var E=" ".repeat(4),D=new RegExp("^ {1,".concat(4,"}")),F=function(){var ye=C.selectionStart,Ee=C.selectionEnd,Oe=te(),ge=C.value;Oe.forEach(function(ue){var se=ge.slice(0,ue),j=ge.slice(ue);ge="".concat(se).concat(E).concat(j)}),C.value=ge,C.selectionStart=ye+4,C.selectionEnd=Ee+4*Oe.length},ee=function(){var ye=C.selectionStart,Ee=C.selectionEnd,Oe=te(),ge=[],ue=C.value;Oe.forEach(function(se){var j=ue.slice(se,se+4).match(D);if(j){var i=ue.slice(0,se),s=ue.slice(se+j[0].length);ue="".concat(i).concat(s),ge.push(se)}}),C.value=ue,ge.length&&(ye>ge[ge.length-1]?C.selectionStart=Math.max(ye-4,ge[ge.length-1]):C.selectionStart=ye,C.selectionEnd=Math.max(C.selectionStart,Ee-4*ge.length))},te=function(){var ye=C.selectionStart,Ee=C.selectionEnd,Oe=C.value,ge=Oe.slice(0,ye).match(/[^\n]*$/)[0].length;return ye-=ge,Oe.slice(ye,Ee).split(` +`).reduce(function(ue,se,j,i){return ue.concat(j?ue[j-1]+i[j-1].length+1:ye)},[]).reverse()},re=function(ye){ye.preventDefault(),ye.stopPropagation()},oe=!1,Y=function(){var ye;V();var Ee=(ye=c.Z.getScene(n))===null||ye===void 0?void 0:ye.getElement(n.id);if(Ee){var Oe=C.value,ge=(0,W.tl)(Ee);if(ge){if(Oe=Ee.text,C.value.trim()){var ue=(0,W.xB)(ge);ue&&ue===n.id?(0,f.Yv)(ge)&&(0,N.ZP)(ge):(0,N.DR)(ge,{boundElements:(ge.boundElements||[]).concat({type:"text",id:n.id})})}else{var se;(0,N.DR)(ge,{boundElements:(se=ge.boundElements)===null||se===void 0?void 0:se.filter(function(j){return!(0,f.iB)(j)})})}(0,W.oN)(Ee,ge)}d({text:Oe,viaKeyboard:oe,originalText:C.value})}},V=function(){Re||(Re=!0,C.onblur=null,C.oninput=null,C.onkeydown=null,je&&je.disconnect(),window.removeEventListener("resize",u),window.removeEventListener("wheel",re,!0),window.removeEventListener("pointerdown",we),window.removeEventListener("pointerup",ie),window.removeEventListener("blur",Y),window.removeEventListener("beforeunload",Y),Ae(),C.remove())},ie=function ye(Ee){window.removeEventListener("pointerup",ye);var Oe=Ee?.target,ge=Oe instanceof HTMLElement&&Oe.classList.contains("active-color");setTimeout(function(){if(C.onblur=Y,ge){var ue=new MutationObserver(function(se,j){se.find(function(i){var s;return i.removedNodes.length>0&&((s=i.removedNodes[0].dataset)===null||s===void 0?void 0:s.radixPopperContentWrapper)!==void 0})&&(setTimeout(function(){C.focus()}),j.disconnect())});ue.observe(document.querySelector(".excalidraw-container"),{childList:!0})}ge||C.focus()})},we=function(ye){var Ee=ye.target instanceof HTMLElement&&ye.target.classList.contains("active-color");((ye.target instanceof HTMLElement||ye.target instanceof SVGElement)&&ye.target.closest(".".concat(Z.$C.SHAPE_ACTIONS_MENU))&&!(0,x.s)(ye.target)||Ee)&&(C.onblur=null,window.addEventListener("pointerup",ie),window.addEventListener("blur",Y))},Ae=c.Z.getScene(n).addCallback(function(){var ye;u(),!((ye=document.activeElement)===null||ye===void 0||!ye.closest(".color-picker-content"))||C.focus()}),Re=!1;C.select(),ie();var je=null;p&&"ResizeObserver"in window?(je=new window.ResizeObserver(function(){u()})).observe(p):window.addEventListener("resize",u),window.addEventListener("pointerdown",we),window.addEventListener("wheel",re,{passive:!1,capture:!0}),window.addEventListener("beforeunload",Y),a?.querySelector(".excalidraw-textEditorContainer").appendChild(C)}},4048:function(et,fe,t){t.d(fe,{Fn:function(){return f},PC:function(){return J},kK:function(){return S},oY:function(){return ce},ox:function(){return c}});var e=t(2577),P=t(4949),w=t(2361),m=t(7651),v=t(4183),I=t(7766),x={mouse:8,pen:16,touch:28},c={e:!0,s:!0,n:!0,w:!0},f={e:!0,s:!0,n:!0,w:!0,rotation:!0},Z={e:!0,s:!0,n:!0,w:!0},N={e:!0,s:!0,n:!0,w:!0,nw:!0,se:!0},W={e:!0,s:!0,n:!0,w:!0},k=function(he,ve,le,G,U,H,M){var A=(0,w.U1)(he+le/2,ve+G/2,U,H,M),b=(0,e.Z)(A,2);return[b[0]-le/2,b[1]-G/2,le,G]},S=function(he,ve,le,G){var U=(0,e.Z)(he,6),H=U[0],M=U[1],A=U[2],b=U[3],y=U[4],h=U[5],d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:4,n=x[G],p=n/le.value,a=n/le.value,l=n/le.value,u=n/le.value,C=A-H,L=b-M,_=r/le.value,E=(n-2*I.Lu)/(2*le.value),D={nw:d.nw?void 0:k(H-_-l+E,M-_-u+E,p,a,y,h,ve),ne:d.ne?void 0:k(A+_-E,M-_-u+E,p,a,y,h,ve),sw:d.sw?void 0:k(H-_-l+E,b+_-E,p,a,y,h,ve),se:d.se?void 0:k(A+_-E,b+_-E,p,a,y,h,ve),rotation:d.rotation?void 0:k(H+C/2-p/2,M-_-u+E-16/le.value,p,a,y,h,ve)},F=5*x.mouse/le.value;return Math.abs(C)>F&&(d.n||(D.n=k(H+C/2-p/2,M-_-u+E,p,a,y,h,ve)),d.s||(D.s=k(H+C/2-p/2,b+_-E,p,a,y,h,ve))),Math.abs(L)>F&&(d.w||(D.w=k(H-_-l+E,M+L/2-a/2,p,a,y,h,ve)),d.e||(D.e=k(A+_-E,M+L/2-a/2,p,a,y,h,ve))),D},J=function(he,ve){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"mouse";if(he.locked)return{};var G={};if(he.type==="freedraw"||(0,v.bt)(he)){if(he.points.length===2){var U=(0,e.Z)(he.points,2),H=U[1];H[0]===0||H[1]===0?G=W:H[0]>0&&H[1]<0?G=N:H[0]>0&&H[1]>0?G=W:H[0]<0&&H[1]>0?G=N:H[0]<0&&H[1]<0&&(G=W)}}else(0,m.iB)(he)?G=Z:(0,v.He)(he)&&(G={rotation:!0});var M=(0,v.bt)(he)?I.Lu+8:I.Lu;return S((0,P.qf)(he,!0),he.angle,ve,le,G,M)},ce=function(he,ve){if(ve.editingLinearElement)return!1;if(he.length>1)return!0;var le=he[0];return!(0,v.bt)(le)||le.points.length>2}},4183:function(et,fe,t){t.d(fe,{F9:function(){return c},He:function(){return x},Lx:function(){return S},Mn:function(){return k},QI:function(){return G},UQ:function(){return M},Xh:function(){return le},Xo:function(){return ve},Yv:function(){return N},bt:function(){return Z},dt:function(){return W},eK:function(){return H},f0:function(){return J},gs:function(){return v},iB:function(){return I},mG:function(){return ce},pC:function(){return m},r2:function(){return he},wi:function(){return w}});var e=t(9937),P=t(9827),w=function(A){return!!A&&A.type==="image"&&!!A.fileId},m=function(A){return!!A&&A.type==="image"},v=function(A){return!!A&&A.type==="embeddable"},I=function(A){return A!=null&&A.type==="text"},x=function(A){return A!=null&&A.type==="frame"},c=function(A){return A!=null&&f(A.type)},f=function(A){return A==="freedraw"},Z=function(A){return A!=null&&W(A.type)},N=function(A){return A!=null&&A.type==="arrow"},W=function(A){return A==="arrow"||A==="line"},k=function(A){var b=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return A!=null&&(!A.locked||b===!0)&&S(A.type)},S=function(A){return A==="arrow"},J=function(A){var b=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return!(A==null||A.locked&&b!==!0||A.type!=="rectangle"&&A.type!=="diamond"&&A.type!=="ellipse"&&A.type!=="image"&&A.type!=="embeddable"&&A.type!=="frame"&&(A.type!=="text"||A.containerId))},ce=function(A){var b=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return A!=null&&(!A.locked||b===!0)&&(A.type==="rectangle"||A.type==="diamond"||A.type==="ellipse"||N(A))},he=function(A){var b=A?.type;if(!b)return!1;switch(b){case"text":case"diamond":case"rectangle":case"embeddable":case"ellipse":case"arrow":case"freedraw":case"line":case"frame":case"image":case"selection":return!0;default:return(0,P.vE)(b,null),!1}},ve=function(A){var b;return ce(A)&&!((b=A.boundElements)===null||b===void 0||!b.some(function(y){return y.type==="text"}))},le=function(A){return A!==null&&"containerId"in A&&A.containerId!==null&&I(A)},G=function(A){return A==="rectangle"||A==="embeddable"},U=function(A){return A==="line"||A==="arrow"||A==="diamond"},H=function(A,b){return!(A!==e.a6.ADAPTIVE_RADIUS&&A!==e.a6.LEGACY||!G(b.type))||!(A!==e.a6.PROPORTIONAL_RADIUS||!U(b.type))},M=function(A){return U(A.type)?{type:e.a6.PROPORTIONAL_RADIUS}:G(A.type)?{type:e.a6.ADAPTIVE_RADIUS}:null}},3506:function(et,fe,t){t.d(fe,{_L:function(){return W},lp:function(){return N},jk:function(){return k}});var e=t(5169),P=t(8821),w=t(2248),m=t(7245),v=t(2312),I=t(5901);function x(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function c(S,J,ce){return c=x()?Reflect.construct.bind():function(he,ve,le){var G=[null];G.push.apply(G,ve);var U=new(Function.bind.apply(he,G));return le&&(0,I.Z)(U,le.prototype),U},c.apply(null,arguments)}function f(S){var J=typeof Map=="function"?new Map:void 0;return f=function(ce){if(ce===null||(he=ce,Function.toString.call(he).indexOf("[native code]")===-1))return ce;var he;if(typeof ce!="function")throw new TypeError("Super expression must either be null or a function");if(J!==void 0){if(J.has(ce))return J.get(ce);J.set(ce,ve)}function ve(){return c(ce,arguments,(0,v.Z)(this).constructor)}return ve.prototype=Object.create(ce.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),(0,I.Z)(ve,ce)},f(S)}function Z(S){var J=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ce,he=(0,v.Z)(S);if(J){var ve=(0,v.Z)(this).constructor;ce=Reflect.construct(he,arguments,ve)}else ce=he.apply(this,arguments);return(0,m.Z)(this,ce)}}var N=function(S){(0,w.Z)(ce,S);var J=Z(ce);function ce(){var he,ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Couldn't export canvas.",le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"CANVAS_ERROR";return(0,P.Z)(this,ce),(he=J.call(this)).name=le,he.message=ve,he}return(0,e.Z)(ce)}(f(Error)),W=function(S){(0,w.Z)(ce,S);var J=Z(ce);function ce(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Request Aborted";return(0,P.Z)(this,ce),J.call(this,he,"AbortError")}return(0,e.Z)(ce)}(f(DOMException)),k=function(S){(0,w.Z)(ce,S);var J=Z(ce);function ce(){var he,ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Image Scene Data Error",le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"IMAGE_SCENE_DATA_ERROR";return(0,P.Z)(this,ce),(he=J.call(this,ve)).name="EncodingError",he.code=le,he}return(0,e.Z)(ce)}(f(Error))},4682:function(et,fe,t){t.d(fe,{$Z:function(){return d},A_:function(){return r},Dn:function(){return U},Qs:function(){return L},SH:function(){return H},Tq:function(){return l},_h:function(){return b},cH:function(){return C},cO:function(){return G},fj:function(){return h},lz:function(){return n},ni:function(){return y},pr:function(){return a},wO:function(){return A},xr:function(){return J},yZ:function(){return p},zD:function(){return M}});var e=t(1930),P=t(2577),w=t(7651),m=t(2361),v=t(4761),I=t(9827),x=t(583),c=t(4105),f=t(9215),Z=t(457),N=t(4949),W=t(507);function k(_,E){var D=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!D){if(Array.isArray(_)||(D=function(Y,V){if(Y){if(typeof Y=="string")return S(Y,V);var ie=Object.prototype.toString.call(Y).slice(8,-1);if(ie==="Object"&&Y.constructor&&(ie=Y.constructor.name),ie==="Map"||ie==="Set")return Array.from(Y);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return S(Y,V)}}(_))||E&&_&&typeof _.length=="number"){D&&(_=D);var F=0,ee=function(){};return{s:ee,n:function(){return F>=_.length?{done:!0}:{done:!1,value:_[F++]}},e:function(Y){throw Y},f:ee}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var te,re=!0,oe=!1;return{s:function(){D=D.call(_)},n:function(){var Y=D.next();return re=Y.done,Y},e:function(Y){oe=!0,te=Y},f:function(){try{re||D.return==null||D.return()}finally{if(oe)throw te}}}}function S(_,E){(E==null||E>_.length)&&(E=_.length);for(var D=0,F=new Array(E);D<E;D++)F[D]=_[D];return F}var J=function(_,E,D){var F,ee=(0,I.xn)(_),te=k(E);try{for(te.s();!(F=te.n()).done;){var re=F.value;if(re.frameId){var oe=D.get(re.id),Y=D.get(re.frameId);if(oe){var V=ee.get(oe);V&&(0,x.DR)(V,{frameId:Y??re.frameId},!1)}}}}catch(ie){te.e(ie)}finally{te.f()}};function ce(_,E){var D=(0,N.GJ)(E),F=(0,N.GJ)(_);return D.some(function(ee){return F.some(function(te){return(0,W.y8)(ee,te)})})}var he=function(_,E){return u((0,c.Yp)(_,E,!1)).filter(function(D){return D.type!=="frame"&&!D.frameId||D.frameId===E.id})},ve=function(_,E,D){return(0,c.Yp)(_,E).some(function(F){return F.id===D.id})},le=function(_,E){var D=(0,w.qf)(E),F=(0,P.Z)(D,4),ee=F[0],te=F[1],re=F[2],oe=F[3],Y=(0,w.KP)(_),V=(0,P.Z)(Y,4),ie=V[0],we=V[1],Ae=V[2],Re=V[3];return ee<=ie&&te<=we&&re>=Ae&&oe>=Re},G=function(_,E){return le([_],E)||ce(_,E)||ve([E],_,E)},U=function(_,E){var D=(0,w.qf)(E),F=(0,P.Z)(D,4),ee=F[0],te=F[1],re=F[2],oe=F[3];return(0,m.Ni)([ee,te],[_.x,_.y],[re,oe])},H=function(_){var E,D=new Map,F=k(_);try{for(F.s();!(E=F.n()).done;){var ee=E.value,te=(0,w.He)(ee)?ee.id:ee.frameId;te&&!D.has(te)&&D.set(te,M(_,te))}}catch(re){F.e(re)}finally{F.f()}return D},M=function(_,E){return _.filter(function(D){return D.frameId===E})},A=function(_){return _.filter(function(E){return(0,w.He)(E)})},b=function(_){var E=(0,I.xn)(A(_));return _.filter(function(D){return E.has(D.id)||!D.frameId||!E.has(D.frameId)})},y=function(_,E,D){var F,ee=M(_,E.id),te=new Set(ee),re=new Set([].concat((0,e.Z)(he(_,E)),(0,e.Z)(ee.filter(function(He){return ve(_,He,E)})))),oe=ee.filter(function(He){return!re.has(He)}),Y=new Set(Array.from(re).flatMap(function(He){return He.groupIds})),V=k(oe);try{for(V.s();!(F=V.n()).done;){var ie=F.value;if(ce(ie,E)){if(ie.groupIds.length>0){var we,Ae=k(ie.groupIds);try{for(Ae.s();!(we=Ae.n()).done;){var Re=we.value;Y.add(Re)}}catch(He){Ae.e(He)}finally{Ae.f()}}}else ie.groupIds.length===0&&te.delete(ie)}}catch(He){V.e(He)}finally{V.f()}var je,ye=k(oe);try{for(ye.s();!(je=ye.n()).done;){var Ee=je.value;if(Ee.groupIds.length>0){var Oe,ge=!0,ue=k(Ee.groupIds);try{for(ue.s();!(Oe=ue.n()).done;){var se=Oe.value;Y.has(se)&&(ge=!1)}}catch(He){ue.e(He)}finally{ue.f()}ge&&te.delete(Ee)}}}catch(He){ye.e(He)}finally{ye.f()}var j,i=Array.from(re).filter(function(He){return He.groupIds.length===0}),s=k(i);try{for(s.s();!(j=s.n()).done;){var O=j.value;te.add(O)}}catch(He){s.e(He)}finally{s.f()}for(var z=Array.from(re).filter(function(He){return He.groupIds.length>0}),K=(0,f.yR)(z,D),$=0,Q=Object.entries(K);$<Q.length;$++){var ae=(0,P.Z)(Q[$],2),be=ae[0];if(ae[1]){var Ce=(0,f.Fb)(_,be);if(le(Ce,E)){var Ze,Be=k(Ce);try{for(Be.s();!(Ze=Be.n()).done;){var Te=Ze.value;te.add(Te)}}catch(He){Be.e(He)}finally{Be.f()}}}}return(0,e.Z)(te).filter(function(He){return!((0,w.iB)(He)&&He.containerId)})},h=function(_,E){return u(_,he(_,E))},d=function(_,E){var D;return _.frameId?E?E.get(_.frameId)||null:((D=Z.Z.getScene(_))===null||D===void 0?void 0:D.getElement(_.frameId))||null:null},r=function(_,E,D){var F,ee=_.reduce(function(je,ye,Ee){return ye.frameId===D.id&&je.currTargetFrameChildrenMap.set(ye.id,!0),je},{currTargetFrameChildrenMap:new Map}),te=ee.currTargetFrameChildrenMap,re=new Set(E.map(function(je){return je.id})),oe=[],Y=k(u(_,E));try{for(Y.s();!(F=Y.n()).done;){var V=F.value;te.has(V.id)||oe.push(V);var ie=(0,v.WJ)(V);!ie||re.has(ie.id)||te.has(ie.id)||oe.push(ie)}}catch(je){Y.e(je)}finally{Y.f()}for(var we=0,Ae=oe;we<Ae.length;we++){var Re=Ae[we];(0,x.DR)(Re,{frameId:D.id},!1)}return _.slice()},n=function(_,E,D){var F,ee=new Map,te=new Map,re=k(E);try{for(re.s();!(F=re.n()).done;){var oe=F.value;if(oe.frameId){ee.set(oe.id,oe);var Y=te.get(oe.frameId)||[];Y.push(oe);var V=(0,v.WJ)(oe);V&&(ee.set(V.id,V),Y.push(V)),te.set(oe.frameId,Y)}}}catch(Re){re.e(Re)}finally{re.f()}var ie,we=k(ee);try{for(we.s();!(ie=we.n()).done;){var Ae=(0,P.Z)(ie.value,2)[1];(0,x.DR)(Ae,{frameId:null},!1)}}catch(Re){we.e(Re)}finally{we.f()}return _.slice()},p=function(_,E,D){var F=M(_,E.id);return n(_,F)},a=function(_,E,D,F){return r(p(_,D),E,D)},l=function(_,E,D){var F=D.scene.getSelectedElements({selectedElementIds:E.selectedElementIds,elements:_}),ee=new Set(F);if(E.editingGroupId){var te,re=k(F);try{for(re.s();!(te=re.n()).done;){var oe=te.value;oe.groupIds.length===0?ee.add(oe):oe.groupIds.flatMap(function(V){return(0,f.Fb)(_,V)}).forEach(function(V){return ee.add(V)})}}catch(V){re.e(V)}finally{re.f()}}var Y=new Set;return ee.forEach(function(V){!V.frameId||(0,w.He)(V)||L(V,_,E)||Y.add(V)}),Y.size>0?n(_,(0,e.Z)(Y)):_},u=function(_,E){var D,F=new Set,ee=k(E||_);try{for(ee.s();!(D=ee.n()).done;){var te=D.value,re=te.groupIds[te.groupIds.length-1];re&&F.add(re)}}catch(we){ee.e(we)}finally{ee.f()}var oe,Y=new Set,V=k(F);try{for(V.s();!(oe=V.n()).done;){var ie=oe.value;(0,f.Fb)(_,ie).some(function(we){return(0,w.He)(we)})&&Y.add(ie)}}catch(we){V.e(we)}finally{V.f()}return(E||_).filter(function(we){return!Y.has(we.groupIds[we.groupIds.length-1])})},C=function(_,E){var D=(0,w.iB)(_)&&(0,v.tl)(_)||_;return E.selectedElementIds[D.id]&&E.selectedElementsAreBeingDragged?E.frameToHighlight:d(D)},L=function(_,E,D){var F=C(_,D),ee=(0,w.iB)(_)&&(0,v.tl)(_)||_;if(F){if(!D.selectedElementIds[_.id]||!D.selectedElementsAreBeingDragged)return!0;if(ee.groupIds.length===0)return G(ee,F);var te=new Set(ee.groupIds.flatMap(function(Re){return(0,f.Fb)(E,Re)}));if(D.editingGroupId&&D.selectedElementsAreBeingDragged){var re=new Set((0,c.eD)(E,D));if(D.frameToHighlight!==null)return!0;re.forEach(function(Re){te.delete(Re)})}var oe,Y=k(te);try{for(Y.s();!(oe=Y.n()).done;){var V=oe.value;if((0,w.He)(V))return!1}}catch(Re){Y.e(Re)}finally{Y.f()}var ie,we=k(te);try{for(we.s();!(ie=we.n()).done;){var Ae=ie.value;if(G(Ae,F))return!0}}catch(Re){we.e(Re)}finally{we.f()}}return!1}},9215:function(et,fe,t){t.d(fe,{AI:function(){return A},F$:function(){return N},Fb:function(){return le},Nd:function(){return ve},Qy:function(){return U},S_:function(){return H},YS:function(){return G},bO:function(){return W},h6:function(){return M},iE:function(){return he},iJ:function(){return J},yO:function(){return S},yR:function(){return ce},zq:function(){return k}});var e=t(1930),P=t(2577),w=t(7169),m=t(4105),v=t(4761),I=t(6264);function x(b,y){var h=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!h){if(Array.isArray(b)||(h=function(l,u){if(l){if(typeof l=="string")return c(l,u);var C=Object.prototype.toString.call(l).slice(8,-1);if(C==="Object"&&l.constructor&&(C=l.constructor.name),C==="Map"||C==="Set")return Array.from(l);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return c(l,u)}}(b))||y&&b&&typeof b.length=="number"){h&&(b=h);var d=0,r=function(){};return{s:r,n:function(){return d>=b.length?{done:!0}:{done:!1,value:b[d++]}},e:function(l){throw l},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n,p=!0,a=!1;return{s:function(){h=h.call(b)},n:function(){var l=h.next();return p=l.done,l},e:function(l){a=!0,n=l},f:function(){try{p||h.return==null||h.return()}finally{if(a)throw n}}}}function c(b,y){(y==null||y>b.length)&&(y=b.length);for(var h=0,d=new Array(y);h<y;h++)d[h]=b[h];return d}function f(b,y){var h=Object.keys(b);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(b);y&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(b,r).enumerable})),h.push.apply(h,d)}return h}function Z(b){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?f(Object(h),!0).forEach(function(d){(0,w.Z)(b,d,h[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(h)):f(Object(h)).forEach(function(d){Object.defineProperty(b,d,Object.getOwnPropertyDescriptor(h,d))})}return b}var N=function(b,y,h){var d=h.reduce(function(r,n){return n.groupIds.includes(b)&&(r[n.id]=!0),r},{});return Object.keys(d).length<2?y.selectedGroupIds[b]||y.editingGroupId===b?{selectedElementIds:y.selectedElementIds,selectedGroupIds:Z(Z({},y.selectedGroupIds),{},(0,w.Z)({},b,!1)),editingGroupId:null}:y:{editingGroupId:y.editingGroupId,selectedGroupIds:Z(Z({},y.selectedGroupIds),{},(0,w.Z)({},b,!0)),selectedElementIds:Z(Z({},y.selectedElementIds),d)}},W=function(){var b=null,y=null,h=null,d=function(r,n,p,a){var l=a?a.scene.getSelectedElements({selectedElementIds:r.selectedElementIds,elements:n}):(0,m.eD)(n,r);return l.length?function(u,C,L,_){var E;if(h!==void 0&&C===y&&u===b&&L.editingGroupId===((E=h)===null||E===void 0?void 0:E.editingGroupId))return h;var D,F={},ee=x(u);try{for(ee.s();!(D=ee.n()).done;){var te=D.value.groupIds;if(L.editingGroupId){var re=te.indexOf(L.editingGroupId);re>-1&&(te=te.slice(0,re))}if(te.length>0){var oe=te[te.length-1];F[oe]=!0}}}catch(Re){ee.e(Re)}finally{ee.f()}for(var Y={},V=C.reduce(function(Re,je){var ye=je.groupIds.find(function(Ee){return F[Ee]});return ye&&(Re[je.id]=!0,Array.isArray(Y[ye])?Y[ye].push(je.id):Y[ye]=[je.id]),Re},{}),ie=0,we=Object.keys(Y);ie<we.length;ie++){var Ae=we[ie];Y[Ae].length<2&&F[Ae]&&(F[Ae]=!1)}return y=C,b=u,h={editingGroupId:L.editingGroupId,selectedGroupIds:F,selectedElementIds:(0,I.Oh)(Z(Z({},L.selectedElementIds),V),_)}}(l,n,r,p):{selectedGroupIds:{},editingGroupId:null,selectedElementIds:(0,I.Oh)(r.selectedElementIds,p)}};return d.clearCache=function(){y=null,b=null,h=null},d}(),k=function(b,y){return S(b,y)!=null},S=function(b,y){return y.groupIds.filter(function(h){return h!==b.editingGroupId}).find(function(h){return b.selectedGroupIds[h]})},J=function(b){return Object.entries(b.selectedGroupIds).filter(function(y){var h=(0,P.Z)(y,2);return h[0],h[1]}).map(function(y){var h=(0,P.Z)(y,2),d=h[0];return h[1],d})},ce=function(b,y){var h,d=Z(Z({},y),{},{selectedGroupIds:{}}),r=x(b);try{for(r.s();!(h=r.n()).done;){var n=h.value.groupIds;if(y.editingGroupId){var p=n.indexOf(y.editingGroupId);p>-1&&(n=n.slice(0,p))}if(n.length>0){var a=n[n.length-1];d=Z(Z({},d),N(a,d,b))}}}catch(l){r.e(l)}finally{r.f()}return d.selectedGroupIds},he=function(b,y){return Z(Z({},b),{},{editingGroupId:y.groupIds.length?y.groupIds[0]:null,selectedGroupIds:{},selectedElementIds:(0,w.Z)({},y.id,!0)})},ve=function(b,y){return b.groupIds.includes(y)},le=function(b,y){return b.filter(function(h){return ve(h,y)})},G=function(b,y){return b.groupIds.find(function(h){return y[h]})},U=function(b,y,h){for(var d=(0,e.Z)(b),r=y?b.indexOf(y):-1,n=r>-1?r:b.length,p=0;p<n;p++)d[p]=h(d[p]);return d},H=function(b,y,h){var d=(0,e.Z)(b),r=h?d.indexOf(h):-1,n=r>-1?r:d.length;return d.splice(n,0,y),d},M=function(b,y){return b.filter(function(h){return!y[h]})},A=function(b){var y=new Map;return b.forEach(function(h){var d=h.groupIds.length===0?h.id:h.groupIds[h.groupIds.length-1],r=y.get(d)||[],n=(0,v.WJ)(h);n&&r.push(n),y.set(d,[].concat((0,e.Z)(r),[h]))}),Array.from(y.values())}},334:function(et,fe,t){t.d(fe,{F:function(){return I}});var e=t(1930),P=t(2577),w=t(9787),m=t(8242),v=t(100),I=function(x){var c=(0,w.useState)(null),f=(0,P.Z)(c,2),Z=f[0],N=f[1],W=(0,m.Fy)(),k=(0,v.I)().theme,S=(0,m.J0)().container;return(0,w.useLayoutEffect)(function(){var J,ce;Z&&(Z.className="",(J=Z.classList).add.apply(J,["excalidraw"].concat((0,e.Z)((x==null||(ce=x.className)===null||ce===void 0?void 0:ce.split(/\s+/))||[]))),Z.classList.toggle("excalidraw--mobile",W.editor.isMobile),Z.classList.toggle("theme--dark",k==="dark"))},[Z,k,W.editor.isMobile,x?.className]),(0,w.useLayoutEffect)(function(){var J=x!=null&&x.parentSelector?S?.querySelector(x.parentSelector):document.body;if(J){var ce=document.createElement("div");return J.appendChild(ce),N(ce),function(){J.removeChild(ce)}}},[S,x?.parentSelector]),Z}},5832:function(et,fe,t){t.d(fe,{YX:function(){return Z},mF:function(){return W},yT:function(){return k}});var e=t(2577),P=t(8950),w=t(2975),m=t.n(w),v=t(3607),I=t(9787),x=t(9240),c=t(453),f=t(507),Z=(0,v.cn)(new Map),N=function(){var S=(0,P.Z)(m().mark(function J(ce){return m().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,(0,f.$D)({elements:ce,appState:{exportBackground:!1,viewBackgroundColor:x.HO.white},files:null,renderEmbeddables:!1});case 2:return he.abrupt("return",he.sent);case 3:case"end":return he.stop()}},J)}));return function(J){return S.apply(this,arguments)}}(),W=function(S,J,ce){var he=(0,I.useState)(),ve=(0,e.Z)(he,2),le=ve[0],G=ve[1];return(0,I.useEffect)(function(){if(J)if(S){var U=ce.get(S);U?G(U):(0,P.Z)(m().mark(function H(){var M,A;return m().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,N(J);case 2:A=b.sent,(M=A.querySelector(".style-fonts"))===null||M===void 0||M.remove(),A&&(ce.set(S,A),G(A));case 5:case"end":return b.stop()}},H)}))()}else(0,P.Z)(m().mark(function H(){var M;return m().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,N(J);case 2:M=A.sent,G(M);case 4:case"end":return A.stop()}},H)}))()},[S,J,ce,G]),le},k=function(){var S=(0,v.KO)(Z,c.yE),J=(0,e.Z)(S,1)[0];return{clearLibraryCache:function(){return J.clear()},deleteItemsFromLibraryCache:function(ce){ce.forEach(function(he){return J.delete(he)})},svgCache:J}}},1901:function(et,fe,t){t.d(fe,{O:function(){return w}});var e=t(9787),P=t(9937);function w(m,v,I){(0,e.useEffect)(function(){function x(c){var f=c;if(m.current){var Z=I?.(f,m.current);if(Z!==!0){if(Z===!1)return v(f);!m.current.contains(f.target)&&document.documentElement.contains(f.target)&&(f.target.closest("[data-radix-portal]")||f.target===document.documentElement&&document.body.style.pointerEvents==="none"||f.target.closest("[data-prevent-outside-click]")||v(f))}}}return document.addEventListener(P.Ks.POINTER_DOWN,x),document.addEventListener(P.Ks.TOUCH_START,x),function(){document.removeEventListener(P.Ks.POINTER_DOWN,x),document.removeEventListener(P.Ks.TOUCH_START,x)}},[m,v,I])}},8227:function(et,fe,t){t.d(fe,{Fp:function(){return f},G3:function(){return J},Mj:function(){return Z},QT:function(){return le},m0:function(){return S},t:function(){return he}});var e=t(8950),P=t(1930),w=t(2975),m=t.n(w),v=t(1463),I=t(4451),x=t(453),c=t(3607),f={code:"en",label:"English"},Z=[f].concat((0,P.Z)([{code:"ar-SA",label:"العربية",rtl:!0},{code:"bg-BG",label:"Български"},{code:"ca-ES",label:"Català"},{code:"cs-CZ",label:"Česky"},{code:"de-DE",label:"Deutsch"},{code:"el-GR",label:"Ελληνικά"},{code:"es-ES",label:"Español"},{code:"eu-ES",label:"Euskara"},{code:"fa-IR",label:"فارسی",rtl:!0},{code:"fi-FI",label:"Suomi"},{code:"fr-FR",label:"Français"},{code:"gl-ES",label:"Galego"},{code:"he-IL",label:"עברית",rtl:!0},{code:"hi-IN",label:"हिन्दी"},{code:"hu-HU",label:"Magyar"},{code:"id-ID",label:"Bahasa Indonesia"},{code:"it-IT",label:"Italiano"},{code:"ja-JP",label:"日本語"},{code:"kab-KAB",label:"Taqbaylit"},{code:"kk-KZ",label:"Қазақ тілі"},{code:"ko-KR",label:"한국어"},{code:"ku-TR",label:"Kurdî"},{code:"lt-LT",label:"Lietuvių"},{code:"lv-LV",label:"Latviešu"},{code:"my-MM",label:"Burmese"},{code:"nb-NO",label:"Norsk bokmål"},{code:"nl-NL",label:"Nederlands"},{code:"nn-NO",label:"Norsk nynorsk"},{code:"oc-FR",label:"Occitan"},{code:"pa-IN",label:"ਪੰਜਾਬੀ"},{code:"pl-PL",label:"Polski"},{code:"pt-BR",label:"Português Brasileiro"},{code:"pt-PT",label:"Português"},{code:"ro-RO",label:"Română"},{code:"ru-RU",label:"Русский"},{code:"sk-SK",label:"Slovenčina"},{code:"sv-SE",label:"Svenska"},{code:"sl-SI",label:"Slovenščina"},{code:"tr-TR",label:"Türkçe"},{code:"uk-UA",label:"Українська"},{code:"zh-CN",label:"简体中文"},{code:"zh-TW",label:"繁體中文"},{code:"vi-VN",label:"Tiếng Việt"},{code:"mr-IN",label:"मराठी"}].filter(function(G){return I[G.code]>=85}).sort(function(G,U){return G.label>U.label?1:-1}))),N="__test__",W=f,k={},S=function(){var G=(0,e.Z)(m().mark(function U(H){return m().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(W=H,document.documentElement.dir=W.rtl?"rtl":"ltr",document.documentElement.lang=W.code,!H.code.startsWith(N)){M.next=7;break}k={},M.next=17;break;case 7:return M.prev=7,M.next=10,t(940)("./".concat(W.code,".json"));case 10:k=M.sent,M.next=17;break;case 13:M.prev=13,M.t0=M.catch(7),console.error("Failed to load language ".concat(H.code,":"),M.t0.message),k=v;case 17:x.e_.set(ve,H.code);case 18:case"end":return M.stop()}},U,null,[[7,13]])}));return function(U){return G.apply(this,arguments)}}(),J=function(){return W},ce=function(G,U){for(var H=0;H<U.length;++H){var M=U[H];if(G[M]===void 0)return;G=G[M]}if(typeof G=="string")return G},he=function(G,U,H){if(W.code.startsWith(N)){var M=U?"".concat(G,"(").concat(JSON.stringify(U).slice(1,-1),")"):G;return"‪[[".concat(M,"]]‬")}var A=G.split("."),b=ce(k,A)||ce(v,A)||H;if(b===void 0){var y="Can't find translation for ".concat(G);return console.warn(y),""}if(U)for(var h in U)b=b.replace("{{".concat(h,"}}"),String(U[h]));return b},ve=(0,c.cn)(f.code),le=function(){var G=(0,c.Dv)(ve,x.yE);return{t:he,langCode:G}}},453:function(et,fe,t){t.d(fe,{e_:function(){return w},yE:function(){return P}});var e=t(3607),P=(t(9787),Symbol()),w=(0,e.Vv)()},5491:function(et,fe,t){t.d(fe,{E0:function(){return I},Ge:function(){return x},OA:function(){return v},Wl:function(){return m},aU:function(){return P},tW:function(){return w}});var e=t(9937),P={EQUAL:"Equal",MINUS:"Minus",NUM_ADD:"NumpadAdd",NUM_SUBTRACT:"NumpadSubtract",NUM_ZERO:"Numpad0",BRACKET_RIGHT:"BracketRight",BRACKET_LEFT:"BracketLeft",ONE:"Digit1",TWO:"Digit2",THREE:"Digit3",NINE:"Digit9",QUOTE:"Quote",ZERO:"Digit0",SLASH:"Slash",C:"KeyC",D:"KeyD",H:"KeyH",V:"KeyV",Z:"KeyZ",R:"KeyR",S:"KeyS"},w={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",BACKSPACE:"Backspace",ALT:"Alt",CTRL_OR_CMD:e.Um?"metaKey":"ctrlKey",DELETE:"Delete",ENTER:"Enter",ESCAPE:"Escape",QUESTION_MARK:"?",SPACE:" ",TAB:"Tab",CHEVRON_LEFT:"<",CHEVRON_RIGHT:">",PERIOD:".",COMMA:",",SUBTRACT:"-",A:"a",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",L:"l",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",V:"v",X:"x",Y:"y",Z:"z",K:"k",W:"w",0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9"},m=function(c){return c===w.ARROW_LEFT||c===w.ARROW_RIGHT||c===w.ARROW_DOWN||c===w.ARROW_UP},v=function(c){return c.altKey},I=function(c){return c.shiftKey},x=function(c){return c.shiftKey}},2361:function(et,fe,t){t.d(fe,{EK:function(){return M},H5:function(){return f},Jj:function(){return H},LW:function(){return c},N_:function(){return ve},Ni:function(){return W},U1:function(){return v},Xt:function(){return y},c9:function(){return N},eH:function(){return G},ep:function(){return A},g6:function(){return Z},lk:function(){return U},mW:function(){return b},wC:function(){return J},xj:function(){return I},yB:function(){return he},yW:function(){return ce},yq:function(){return x}});var e=t(2577),P=t(9937),w=t(4949),m=t(2921),v=function(h,d,r,n,p){return[(h-r)*Math.cos(p)-(d-n)*Math.sin(p)+r,(h-r)*Math.sin(p)+(d-n)*Math.cos(p)+n]},I=function(h,d,r){return v(h[0],h[1],d[0],d[1],r)},x=function(h,d,r,n,p,a,l,u){var C=Math.cos(n),L=Math.sin(n);return h.e&&h.w?d+=p+l:h.e?(d+=p*(1+C),r+=p*L,d+=l*(1-C),r+=l*-L):h.w&&(d+=p*(1-C),r+=p*-L,d+=l*(1+C),r+=l*L),h.n&&h.s?r+=a+u:h.n?(d+=a*L,r+=a*(1-C),d+=u*-L,r+=u*(1+C)):h.s&&(d+=a*-L,r+=a*(1+C),d+=u*L,r+=u*(1-C)),[d,r]},c=function(h,d,r,n){var p=r-h,a=n-d;return Math.hypot(p,a)},f=function(h,d){return[(h[0]+d[0])/2,(h[1]+d[1])/2]},Z=function(h){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(h.length>=3){var r=[h[0],h[h.length-1]],n=r[0],p=r[1],a=c(n[0],n[1],p[0],p[1]);return a<=P.qx/d}return!1},N=function(h,d,r){var n=h.length;if(n<3)return!1;for(var p=[Number.MAX_SAFE_INTEGER,r],a=[d,r],l=0,u=0;u<n;u++){var C=h[u],L=h[(u+1)%n];if(S(C,L,a,p)){if(k(C,a,L)===0)return W(C,a,L);l++}}return l%2==1},W=function(h,d,r){return d[0]<=Math.max(h[0],r[0])&&d[0]>=Math.min(h[0],r[0])&&d[1]<=Math.max(h[1],r[1])&&d[1]>=Math.min(h[1],r[1])},k=function(h,d,r){var n=(d[1]-h[1])*(r[0]-d[0])-(d[0]-h[0])*(r[1]-d[1]);return n===0?0:n>0?1:2},S=function(h,d,r,n){var p=k(h,d,r),a=k(h,d,n),l=k(r,n,h),u=k(r,n,d);return p!==a&&l!==u||!(p!==0||!W(h,r,d))||!(a!==0||!W(h,n,d))||!(l!==0||!W(r,h,n))||!(u!==0||!W(r,d,n))},J=function(h,d,r){return r?[Math.round(h/r)*r,Math.round(d/r)*r]:[h,d]},ce=function(h,d){var r,n,p;if(((r=d.roundness)===null||r===void 0?void 0:r.type)===P.a6.PROPORTIONAL_RADIUS||((n=d.roundness)===null||n===void 0?void 0:n.type)===P.a6.LEGACY)return h*P.Rx;if(((p=d.roundness)===null||p===void 0?void 0:p.type)===P.a6.ADAPTIVE_RADIUS){var a,l,u=(a=(l=d.roundness)===null||l===void 0?void 0:l.value)!==null&&a!==void 0?a:P._9;return h<=u/P.Rx?h*P.Rx:u}return 0},he=function(h,d){var r=m.R.generateElementShape(h);if(!r)return null;for(var n=(0,w.CM)(r[0]),p=[0,0],a=0,l=1/0,u=null;a<n.length;){var C=n[a],L=C.op,_=C.data;if(L==="move"&&(p=_),L==="bcurveTo"){var E=p,D=[_[0],_[1]],F=[_[2],_[3]],ee=[_[4],_[5]],te=c(ee[0],ee[1],d[0],d[1]);te<l&&(l=te,u=[E,D,F,ee]),p=ee}a++}return u},ve=function(h,d,r,n,p){var a=function(l,u){return Math.pow(1-l,3)*n[u]+3*l*Math.pow(1-l,2)*r[u]+3*Math.pow(l,2)*(1-l)*d[u]+h[u]*Math.pow(l,3)};return[a(p,0),a(p,1)]},le=function(h,d){var r=[];r[0]=0;for(var n=function(l,u){var C=he(l,u);if(!C)return[];for(var L=[],_=1;_>0;){var E=ve(C[0],C[1],C[2],C[3],_);L.push([E[0],E[1]]),_-=.05}return L.length&&H(L.at(-1),u)&&L.push([u[0],u[1]]),L}(h,d),p=0,a=0;p<n.length-1;)a+=c(n[p][0],n[p][1],n[p+1][0],n[p+1][1]),r.push(a),p++;return r},G=function(h,d){return le(h,d).at(-1)},U=function(h,d,r){for(var n=le(h,d),p=n.length-1,a=r*n.at(-1),l=0,u=p,C=0;l<u;)n[C=Math.floor(l+(u-l)/2)]<a?l=C+1:u=C;return n[C]>a&&C--,n[C]===a?C/p:1-(C+(a-n[C])/(n[C+1]-n[C]))/p},H=function(h,d){return h[0]===d[0]&&h[1]===d[1]},M=function(h){return Math.round(h/Math.PI*1e4)%5e3==0},A=function(h,d){var r=(0,e.Z)(h,2),n=r[0],p=r[1],a=(0,e.Z)(d,2),l=a[0],u=a[1];return n<=l?p>=l:n>=l&&u>=n},b=function(h,d){var r=Math.max(h[0],d[0]),n=Math.min(h[1],d[1]);return r<=n?[r,n]:null},y=function(h,d,r){return h>=d&&h<=r}},4864:function(et,fe,t){t.d(fe,{zx:function(){return Me.z},Or:function(){return lt.O},Eb:function(){return mr},ut:function(){return l.ut},$_:function(){return te},vO:function(){return ft},LO:function(){return l.LO},lb:function(){return re.Z},YE:function(){return Yt.YE},C6:function(){return l.C6},B4:function(){return Je},ZP:function(){return Et.ZP},wc:function(){return mt.w},Fp:function(){return W.Fp},sQ:function(){return ht.sQ},Xs:function(){return ht.Xs},Fl:function(){return Ot.Fl},NL:function(){return Ot.NL},i1:function(){return Ot.i1},$D:function(){return Ot.$D},KP:function(){return pt.KP},N7:function(){return Ot.N7},Lm:function(){return at.Lm},Uo:function(){return at.Uo},Ne:function(){return ht.Ne},QD:function(){return at.QD},bt:function(){return Pt.bt},Mj:function(){return W.Mj},cT:function(){return Ot.cT},lV:function(){return Ot.lV},ZY:function(){return Ot.ZY},zh:function(){return Ot.zh},DR:function(){return Et.DR},BE:function(){return Et.BE},$u:function(){return ot.$u},Di:function(){return Mt.Di},nu:function(){return ut.nu},lY:function(){return ut.lY},ET:function(){return ut.ET},wJ:function(){return ut.wJ},_i:function(){return ce._i},I_:function(){return Ot.I_},NI:function(){return Ot.NI},Fy:function(){return J.Fy},xS:function(){return Mt.xS},QT:function(){return W.QT},dE:function(){return ce.dE}});var e=t(6479),P=t.n(e),w=t(9713),m=t.n(w),v=t(9787),I=t.n(v),x=t(8950),c=t(2577),f=t(2975),Z=t.n(f),N=t(7165),W=t(8227),k=t(4512),S=function(Ft){var xt=(0,v.useState)(!0),At=(0,c.Z)(xt,2),Tt=At[0],nr=At[1];return(0,v.useEffect)(function(){var yr=function(){var Tr=(0,x.Z)(Z().mark(function Or(){return Z().wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:return Rt.next=2,(0,W.m0)(kr);case 2:nr(!1);case 3:case"end":return Rt.stop()}},Or)}));return function(){return Tr.apply(this,arguments)}}(),kr=W.Mj.find(function(Tr){return Tr.code===Ft.langCode})||W.Fp;yr()},[Ft.langCode]),Tt?(0,k.jsx)(N.z,{theme:Ft.theme}):Ft.children},J=t(8242),ce=t(9827),he=t(3379),ve=t.n(he),le=t(7795),G=t.n(le),U=t(569),H=t.n(U),M=t(3565),A=t.n(M),b=t(9216),y=t.n(b),h=t(4589),d=t.n(h),r=t(9915),n={};n.styleTagTransform=d(),n.setAttributes=A(),n.insert=H().bind(null,"head"),n.domAPI=G(),n.insertStyleElement=y(),ve()(r.Z,n),r.Z&&r.Z.locals&&r.Z.locals;var p=t(9310),a={};a.styleTagTransform=d(),a.setAttributes=A(),a.insert=H().bind(null,"head"),a.domAPI=G(),a.insertStyleElement=y(),ve()(p.Z,a),p.Z&&p.Z.locals&&p.Z.locals;var l=t(9937),u=t(3607),C=t(453),L=t(45),_=t(4572),E=t(8793),D={};D.styleTagTransform=d(),D.setAttributes=A(),D.insert=H().bind(null,"head"),D.domAPI=G(),D.insertStyleElement=y(),ve()(E.Z,D),E.Z&&E.Z.locals&&E.Z.locals;var F=t(100),ee=function(Ft){var xt=Ft.children,At=(0,_.R6)().FooterCenterTunnel,Tt=(0,F.I)();return(0,k.jsx)(At.In,{children:(0,k.jsx)("div",{className:(0,L.Z)("footer-center zen-mode-transition",{"layer-ui__wrapper__footer-left--transition-bottom":Tt.zenModeEnabled}),children:xt})})},te=ee;ee.displayName="FooterCenter";var re=t(7021),oe=t(7169),Y=t(2726),V=t(5463),ie=t(2529),we=t(8935),Ae=t(5744),Re={};Re.styleTagTransform=d(),Re.setAttributes=A(),Re.insert=H().bind(null,"head"),Re.domAPI=G(),Re.insertStyleElement=y(),ve()(Ae.Z,Re),Ae.Z&&Ae.Z.locals&&Ae.Z.locals;var je=function(){return(0,k.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"ExcalidrawLogo-icon",children:(0,k.jsx)("path",{d:"M39.9 32.889a.326.326 0 0 0-.279-.056c-2.094-3.083-4.774-6-7.343-8.833l-.419-.472a.212.212 0 0 0-.056-.139.586.586 0 0 0-.167-.111l-.084-.083-.056-.056c-.084-.167-.28-.278-.475-.167-.782.39-1.507.973-2.206 1.528-.92.722-1.842 1.445-2.708 2.25a8.405 8.405 0 0 0-.977 1.028c-.14.194-.028.361.14.444-.615.611-1.23 1.223-1.843 1.861a.315.315 0 0 0-.084.223c0 .083.056.166.111.194l1.09.833v.028c1.535 1.528 4.244 3.611 7.12 5.861.418.334.865.667 1.284 1 .195.223.39.473.558.695.084.11.28.139.391.055.056.056.14.111.196.167a.398.398 0 0 0 .167.056.255.255 0 0 0 .224-.111.394.394 0 0 0 .055-.167c.029 0 .028.028.056.028a.318.318 0 0 0 .224-.084l5.082-5.528a.309.309 0 0 0 0-.444Zm-14.63-1.917a.485.485 0 0 0 .111.14c.586.5 1.2 1 1.843 1.555l-2.569-1.945-.251-.166c-.056-.028-.112-.084-.168-.111l-.195-.167.056-.056.055-.055.112-.111c.866-.861 2.346-2.306 3.1-3.028-.81.805-2.43 3.167-2.095 3.944Zm8.767 6.89-2.122-1.612a44.713 44.713 0 0 0-2.625-2.5c1.145.861 2.122 1.611 2.262 1.75 1.117.972 1.06.806 1.815 1.445l.921.666a1.06 1.06 0 0 1-.251.25Zm.558.416-.056-.028c.084-.055.168-.111.252-.194l-.196.222ZM1.089 5.75c.055.361.14.722.195 1.056.335 1.833.67 3.5 1.284 4.75l.252.944c.084.361.223.806.363.917 1.424 1.25 3.602 3.11 5.947 4.889a.295.295 0 0 0 .363 0s0 .027.028.027a.254.254 0 0 0 .196.084.318.318 0 0 0 .223-.084c2.988-3.305 5.221-6.027 6.813-8.305.112-.111.14-.278.14-.417.111-.111.195-.25.307-.333.111-.111.111-.306 0-.39l-.028-.027c0-.055-.028-.139-.084-.167-.698-.666-1.2-1.138-1.731-1.638-.922-.862-1.871-1.75-3.881-3.75l-.028-.028c-.028-.028-.056-.056-.112-.056-.558-.194-1.703-.389-3.127-.639C6.087 2.223 3.21 1.723.614.944c0 0-.168 0-.196.028l-.083.084c-.028.027-.056.055-.224.11h.056-.056c.028.167.028.278.084.473 0 .055.112.5.112.555l.782 3.556Zm15.496 3.278-.335-.334c.084.112.196.195.335.334Zm-3.546 4.666-.056.056c0-.028.028-.056.056-.056Zm-2.038-10c.168.167.866.834 1.033.973-.726-.334-2.54-1.167-3.379-1.445.838.167 1.983.334 2.346.472ZM1.424 2.306c.419.722.754 3.222 1.089 5.666-.196-.778-.335-1.555-.503-2.278-.251-1.277-.503-2.416-.838-3.416.056 0 .14 0 .252.028Zm-.168-.584c-.112 0-.223-.028-.307-.028 0-.027 0-.055-.028-.055.14 0 .223.028.335.083Zm-1.089.222c0-.027 0-.027 0 0ZM39.453 1.333c.028-.11-.558-.61-.363-.639.42-.027.42-.666 0-.666-.558.028-1.144.166-1.675.25-.977.194-1.982.389-2.96.61-2.205.473-4.383.973-6.561 1.557-.67.194-1.424.333-2.066.666-.224.111-.196.333-.084.472-.056.028-.084.028-.14.056-.195.028-.363.056-.558.083-.168.028-.252.167-.224.334 0 .027.028.083.028.11-1.173 1.556-2.485 3.195-3.909 4.945-1.396 1.611-2.876 3.306-4.356 5.056-4.719 5.5-10.052 11.75-15.943 17.25a.268.268 0 0 0 0 .389c.028.027.056.055.084.055-.084.084-.168.14-.252.222-.056.056-.084.111-.084.167a.605.605 0 0 0-.111.139c-.112.111-.112.305.028.389.111.11.307.11.39-.028.029-.028.029-.056.056-.056a.44.44 0 0 1 .615 0c.335.362.67.723.977 1.028l-.698-.583c-.112-.111-.307-.083-.39.028-.113.11-.085.305.027.389l7.427 6.194c.056.056.112.056.196.056s.14-.028.195-.084l.168-.166c.028.027.083.027.111.027.084 0 .14-.027.196-.083 10.052-10.055 18.15-17.639 27.42-24.417.083-.055.111-.166.111-.25.112 0 .196-.083.251-.194 1.704-5.194 2.039-9.806 2.15-12.083v-.028c0-.028.028-.056.028-.083.028-.056.028-.084.028-.084a1.626 1.626 0 0 0-.111-1.028ZM21.472 9.5c.446-.5.893-1.028 1.34-1.5-2.876 3.778-7.65 9.583-14.408 16.5 4.607-5.083 9.242-10.333 13.068-15ZM5.193 35.778h.084-.084Zm3.462 3.194c-.027-.028-.027-.028 0-.028v.028Zm4.16-3.583c.224-.25.448-.472.699-.722 0 0 0 .027.028.027-.252.223-.475.445-.726.695Zm1.146-1.111c.14-.14.279-.334.446-.5l.028-.028c1.648-1.694 3.351-3.389 5.082-5.111l.028-.028c.419-.333.921-.694 1.368-1.028a379.003 379.003 0 0 0-6.952 6.695ZM24.794 6.472c-.921 1.195-1.954 2.778-2.82 4.028-2.736 3.944-11.532 13.583-11.727 13.75a1976.983 1976.983 0 0 1-8.042 7.639l-.167.167c-.14-.167-.14-.417.028-.556C14.49 19.861 22.03 10.167 25.074 5.917c-.084.194-.14.36-.28.555Zm4.83 5.695c-1.116-.64-1.646-1.64-1.34-2.611l.084-.334c.028-.083.084-.194.14-.277.307-.5.754-.917 1.257-1.167.027 0 .055 0 .083-.028-.028-.056-.028-.139-.028-.222.028-.167.14-.278.335-.278.335 0 1.369.306 1.76.639.111.083.223.194.335.305.14.167.363.445.474.667.056.028.112.306.196.445.056.222.111.472.084.694-.028.028 0 .194-.028.194a2.668 2.668 0 0 1-.363 1.028c-.028.028-.028.056-.056.084l-.028.027c-.14.223-.335.417-.53.556-.643.444-1.369.583-2.095.389 0 0-.195-.084-.28-.111Zm8.154-.834a39.098 39.098 0 0 1-.893 3.167c0 .028-.028.083 0 .111-.056 0-.084.028-.14.056-2.206 1.61-4.356 3.305-6.506 5.028 1.843-1.64 3.686-3.306 5.613-4.945.558-.5.949-1.139 1.06-1.861l.28-1.667v-.055c.14-.334.67-.195.586.166Z",fill:"currentColor"})})},ye=function(){return(0,k.jsxs)("svg",{viewBox:"0 0 450 55",xmlns:"http://www.w3.org/2000/svg",fill:"none",className:"ExcalidrawLogo-text",children:[(0,k.jsx)("path",{d:"M429.27 96.74c2.47-1.39 4.78-3.02 6.83-4.95 1.43-1.35 2.73-2.86 3.81-4.51-.66.9-1.4 1.77-2.23 2.59-2.91 2.84-5.72 5.09-8.42 6.87h.01ZM343.6 69.36c.33 3.13.58 6.27.79 9.4.09 1.37.18 2.75.25 4.12-.12-4.46-.27-8.93-.5-13.39-.11-2.08-.24-4.16-.4-6.24-.06 1.79-.11 3.85-.13 6.11h-.01ZM378.47 98.34c.01-.37.07-1.13.01-6.51-.11 1.9-.22 3.81-.31 5.71-.07 1.42-.22 2.91-.16 4.35.39.03.78.07 1.17.1-.92-.85-.76-2.01-.72-3.66l.01.01ZM344.09 86.12c-.09-2.41-.22-4.83-.39-7.24v12.21c.15-.05.32-.09.47-.14.05-1.61-.03-3.23-.09-4.83h.01ZM440.69 66.79c-.22-.34-.45-.67-.69-.99-3.71-4.87-9.91-7.14-15.65-8.55-1.05-.26-2.12-.49-3.18-.71 2.29.59 4.48 1.26 6.64 2.02 7.19 2.54 10.57 5.41 12.88 8.23ZM305.09 72.46l1.2 3.6c.84 2.53 1.67 5.06 2.46 7.61.24.78.5 1.57.73 2.36.22-.04.44-.08.67-.12a776.9 776.9 0 0 1-5.01-13.57c-.02.04-.03.09-.05.13v-.01ZM345.49 90.25v.31c1.48-.42 3.05-.83 4.66-1.2-1.56.25-3.12.52-4.66.89ZM371.02 90.22c0-.57-.04-1.14-.11-1.71-.06-.02-.12-.04-.19-.05-.21-.05-.43-.08-.65-.11.42.16.74.88.95 1.87ZM398.93 54.23c-.13 0-.27-.01-.4-.02l.03.4c.11-.15.23-.27.37-.38ZM401.57 62.28v-.15c-1.22-.24-2.86-.61-3.23-1.25-.09-.15-.18-.51-.27-.98-.09.37-.2.73-.33 1.09 1.24.56 2.52.98 3.83 1.29ZM421.73 88.68c-2.97 1.65-6.28 3.12-9.69 3.68v.18c4.72-.14 11.63-3.85 16.33-8.38-2.04 1.75-4.33 3.24-6.63 4.53l-.01-.01ZM411.28 80.92c-.05-1.2-.09-2.4-.15-3.6-.21 5.66-.46 11.38-.47 14.51.24-.02.48-.04.71-.07.15-3.61.05-7.23-.09-10.83v-.01Z",transform:"translate(-144.023 -51.76)"}),(0,k.jsx)("path",{d:"M425.38 67.41c-3.5-1.45-7.19-2.57-14.06-3.62.09 1.97.06 4.88-.03 8.12.03.04.06.09.06.15.19 1.36.28 2.73.37 4.1.25 3.77.39 7.55.41 11.33 0 1.38-.01 2.76-.07 4.13 1.4-.25 2.78-.65 4.12-1.15 4.07-1.5 7.94-3.78 11.28-6.54 2.33-1.92 5.13-4.49 5.88-7.58.63-3.53-2.45-6.68-7.97-8.96l.01.02ZM411.35 92.53v-.06l-.34.03c.11.01.22.03.34.03ZM314.26 64.06c-.23-.59-.47-1.17-.7-1.75.57 1.62 1.11 3.25 1.6 4.9l.15.54 2.35 6.05c.32.82.66 1.64.98 2.46-1.38-4.1-2.83-8.17-4.39-12.2h.01ZM156.82 103.07c-.18.13-.38.23-.58.33 1.32-.03 2.66-.2 3.93-.34.86-.09 1.72-.22 2.58-.33-2.12.1-4.12.17-5.94.34h.01ZM210.14 68.88s.03.04.05.07c.18-.31.39-.64.58-.96-.21.3-.42.6-.64.89h.01ZM201.65 82.8c-.5.77-1.02 1.56-1.49 2.37 1.11-1.55 2.21-3.1 3.2-4.59-.23.23-.49.51-.75.79-.32.47-.65.95-.96 1.43ZM194.03 98.66c-.33-.4-.65-.84-1.05-1.17-.24-.2-.07-.49.17-.56-.23-.26-.42-.5-.63-.75 1.51-2.55 3.93-5.87 6.4-9.28-.17-.08-.29-.28-.2-.49.04-.09.09-.17.13-.26-1.21 1.78-2.42 3.55-3.61 5.33-.87 1.31-1.74 2.64-2.54 4-.29.5-.63 1.04-.87 1.61.81.65 1.63 1.27 2.47 1.88-.09-.11-.18-.21-.27-.32v.01ZM307.79 82.93c-1-3.17-2.05-6.32-3.1-9.48-1.62 4.08-3.69 9.17-6.16 15.19 3.32-1.04 6.77-1.87 10.27-2.5-.32-1.08-.67-2.15-1.01-3.21ZM149.5 80.7c.05-1.71.04-3.43 0-5.14-.1 2.26-.16 4.51-.22 6.77-.02.73-.03 1.46-.04 2.19.14-1.27.2-2.55.24-3.82h.02ZM228.98 98.3c.39 1.25.91 3.03.94 3.91.06-.03.12-.07.17-.1.08-1.29-.55-2.65-1.11-3.81ZM307.72 53.36c.81.5 1.53 1.04 2.07 1.49-.38-.8-.78-1.58-1.21-2.35-.17.03-.34.06-.51.11-.43.12-.86.26-1.29.41.35-.01.53.1.94.34ZM283.69 96.14c3.91-7.25 6.89-13.35 8.88-18.15l1.1-2.66c-1.27 2.64-2.56 5.27-3.83 7.9-1.53 3.15-3.06 6.31-4.58 9.47-.87 1.81-1.76 3.62-2.54 5.47.04.02.07.04.11.07.05.05.1.09.15.14.05-.73.27-1.48.71-2.24ZM289.92 103.23s-.04.01-.05.03c0-.02.04-.03.05-.04.05-.05.11-.1.16-.15l.21-.21c-.55 0-1.5-.27-2.55-.72.4.26.8.51 1.22.74.24.13.48.26.73.37.05.02.1.03.14.05a.27.27 0 0 1 .08-.07h.01ZM269.23 68.49c-.39-.19-.82-.48-1.33-.87-3.06-1.56-6.31-2.78-9.36-2.35-3.5.49-5.7 1.11-7.74 2.44 5.71-2.6 12.82-2.07 18.44.79l-.01-.01ZM177.87 53.69l1.06.03c-.96-.22-2-.25-2.89-.3-4.95-.26-9.99.33-14.86 1.19-2.44.43-4.88.95-7.28 1.59 9.09-1.76 15.69-2.77 23.97-2.51ZM219.85 55.51c-.18.12-.36.27-.56.45-.45.53-.86 1.11-1.26 1.66-1.91 2.61-3.71 5.31-5.57 7.95l-.12.18 8.05-10.11c-.18-.05-.36-.1-.55-.13h.01ZM510.71 54.1c.12-.15.29-.3.53-.45.69-.4 3.72-.63 5.87-.74-.36-.02-.73-.04-1.09-.05-1.84-.03-3.67.09-5.49.35.05.3.12.59.18.88v.01ZM510.76 86.02c1.37-3.07 2.49-6.27 3.57-9.46.55-1.64 1.12-3.3 1.6-4.97-1.59 4.01-3.67 9.14-6.2 15.3.24-.08.5-.14.74-.22.1-.22.19-.44.29-.65ZM566.95 75.76c.11-.02.23.03.31.11-.05-.13-.09-.26-.14-.39-.05.09-.11.18-.17.28ZM511.33 86.41c3.08-.89 6.24-1.62 9.46-2.14-1.51-3.98-2.98-7.96-4.39-11.87-.05.15-.09.31-.14.46-1.02 3.32-2.15 6.61-3.39 9.85-.48 1.25-.98 2.49-1.53 3.7h-.01ZM578.24 74.45c.11-.44.23-.87.35-1.31-.31.7-.64 1.39-.97 2.08.09.21.19.4.28.61.12-.46.23-.92.35-1.38h-.01ZM520.62 53.11c-.09 0-.18-.01-.28-.02.38.34.29 1.08.93 2.53l6.65 17.15c2.2 5.68 4.69 11.36 7.41 16.87l1.06 2.17c-2.95-7.05-5.92-14.08-8.87-21.13-1.58-3.79-3.16-7.59-4.7-11.4-.78-1.92-1.73-3.89-2.25-5.91-.03-.1 0-.19.04-.26h.01ZM578.78 77.87c1.45-5.77 3.07-10.43 3.58-13.36.05-.34.16-.88.31-1.55-.67 1.79-1.37 3.56-2.08 5.33-.12.43-.23.86-.35 1.29-.65 2.43-1.29 4.86-1.9 7.3.14.33.29.65.43 1l.01-.01ZM545.3 94.66c.02-.44.03-.83.05-1.12.02-1.01.05-2.02.11-3.02.03-6.66-.46-14.33-1.46-22.8-.13-.42-.27-1.24-.56-2.89 0-.02 0-.04-.01-.06.62 6.61.95 13.25 1.32 19.87.17 3.08.33 6.16.52 9.23.02.25.03.52.04.78l-.01.01ZM580.77 102.81c.13.2.27.38.37.49.27-.11.53-.22.8-.32-.43.09-.82.05-1.17-.16v-.01ZM530.48 104.07h.33c-.36-.13-.71-.32-1.04-.56.14.24.3.47.45.7.06-.08.14-.13.26-.13v-.01ZM542.63 58.82c.06.23.11.47.15.71.14-.33.36-.62.7-.86-.28.05-.57.11-.85.15ZM583.81 57.87c.15-.7.29-1.41.42-2.11-.14.45-.28.9-.42 1.34-.46 1.44-.89 2.89-1.31 4.34.44-1.19.88-2.37 1.31-3.57ZM523.62 91.48c-4.66 1.17-9.05 2.89-14.02 5.27 4.65-1.84 9.48-3.29 14.28-4.63-.09-.22-.17-.41-.26-.64ZM460.64 78.3c-.04-2.9-.11-5.81-.28-8.71-.1-1.68-.17-3.43-.5-5.09-.07.02-.14.03-.2.05.3 6.54.45 12.17.51 17.12.17-.07.34-.14.51-.2 0-1.06-.01-2.11-.03-3.17h-.01ZM470.63 63.24c-3.38-.26-6.81.32-10.1 1.1.41 2.01.47 4.14.57 6.18.18 3.55.25 7.11.27 10.67 3.31-1.38 6.5-3.12 9.3-5.35 1.96-1.56 3.86-3.41 5.02-5.66.73-1.41 1.19-3.22.26-4.65-1.09-1.7-3.46-2.14-5.32-2.29ZM460.29 63.68c1-.24 2.01-.46 3.04-.65-1.15.16-2.37.38-3.71.69v.13c.07-.02.15-.04.22-.05.11-.13.3-.18.45-.11v-.01ZM457.24 100.96c.43-.03.86-.07 1.29-.11.14-.49.27-.99.38-1.49-.44.7-1 1.23-1.67 1.6ZM482.88 104.98c-.18.23-.36.38-.55.47.14.09.27.19.4.28a70.76 70.76 0 0 0 4.37-4.63c.76-.89 1.52-1.81 2.19-2.77-.3-.27-.61-.53-.92-.79-.07 1.94-4.62 6.32-5.49 7.45v-.01Z",transform:"translate(-144.023 -51.76)"}),(0,k.jsx)("path",{d:"M474.36 63.31c-.4-.16-.84-.27-1.29-.37 1.56.42 3.08 1.22 3.76 2.74.62 1.4.32 2.95-.28 4.32.7-1.22.94-2.34.74-3.47-.24-1.33-1.19-2.54-2.93-3.21v-.01ZM477.34 89.18c-1.2-.81-2.4-1.62-3.6-2.42-.14.1-.26.19-.4.29 1.4.67 2.73 1.39 4 2.13ZM465.88 93.85c.37.25.74.5 1.1.75.46.32.92.65 1.38.97-1.57-1.2-2.01-1.61-2.49-1.72h.01ZM574.92 90.06c-2.28-5.21-4.93-11.13-5.67-12.26-.1-.15-1.57-3.01-1.63-3.08 0 0-.01.02-.02.02.4 1.37 1.09 2.69 1.65 3.99 2.14 4.95 4.36 9.86 6.67 14.73.6 1.26 1.21 2.52 1.83 3.78-.75-2.01-1.64-4.45-2.83-7.18ZM448.73 65.29c.1.2.22.38.34.57.22-.02.43-.06.65-.08v-.08c-.14-.05-.25 0-.99-.41ZM460.16 94.81c-.02.31-.06.59-.1.89-.03 1.71-.33 3.43-.79 5.07.15-.02.3-.03.45-.05.01-.04.02-.08.03-.11.09-.34.15-.69.2-1.03.17-1.07.25-2.16.33-3.24.05-.69.08-1.39.12-2.08-.27.1-.27.26-.24.57v-.02Z",transform:"translate(-144.023 -51.76)"}),(0,k.jsx)("path",{d:"m328.67 98.12-3.22-6.58c-1.29-2.63-2.53-5.29-3.72-7.97-.25-.85-.52-1.69-.79-2.53-.81-2.57-1.67-5.12-2.55-7.67-1.92-5.53-3.9-11.08-6.32-16.41-.72-1.58-1.46-3.44-2.63-4.79-.03-.17-.16-.29-.34-.36a.282.282 0 0 0-.23-.04c-.06-.01-.12 0-.18.01-.74.06-1.5.38-2.19.61-2.22.77-4.4 1.64-6.63 2.38-.03-.08-.06-.16-.09-.25-.15-.42-.82-.24-.67.19.03.09.07.19.1.28l-.18.06c-.36.11-.28.6 0 .68.18 1.18.63 2.36.98 3.49.03.09.06.17.08.26-.08.23-.17.46-.24.64-.37.98-.79 1.94-1.21 2.9-1.27 2.89-2.62 5.75-3.98 8.6-3.18 6.67-6.44 13.31-9.64 19.97-1.08 2.25-2.2 4.5-3.15 6.81-.13.32.24.5.5.37 1.34 1.33 2.84 2.5 4.4 3.57.65.44 1.31.87 2.01 1.24.4.22.86.48 1.33.5.24.01.35-.19.33-.37.11-.1.21-.21.28-.28.41-.41.81-.84 1.2-1.26.85-.92 1.69-1.87 2.5-2.84 6.31-2.34 12.6-4.31 18.71-5.84 2.14 5.3 3.43 8.43 3.97 9.58.55 1.05 1.15 1.88 1.82 2.52 1.32.56 6.96-.03 9.23-1.96.87-1.28 1.19-2.67.93-4.15-.09-.5-.22-.95-.4-1.33l-.01-.03Zm-20.09-45.61c.43.77.83 1.56 1.21 2.35-.54-.45-1.27-.99-2.07-1.49-.42-.24-.6-.35-.94-.34.43-.15.85-.29 1.29-.41.17-.05.34-.08.51-.11Zm-25.86 45.66c.78-1.85 1.67-3.66 2.54-5.47 1.51-3.16 3.05-6.31 4.58-9.47 1.28-2.63 2.56-5.26 3.83-7.9l-1.1 2.66c-1.99 4.79-4.97 10.9-8.88 18.15-.43.76-.66 1.51-.71 2.24-.05-.05-.1-.09-.15-.14a.259.259 0 0 0-.11-.07Zm6.24 4.71c-.42-.23-.82-.48-1.22-.74 1.05.45 2 .72 2.55.72l-.21.21c-.05.05-.11.1-.16.15-.01.01-.04.03-.05.04 0-.02.03-.02.05-.03a.27.27 0 0 0-.08.07c-.05-.02-.1-.03-.14-.05-.25-.1-.49-.24-.73-.37h-.01Zm15.73-29.43c1.05 3.15 2.1 6.31 3.1 9.48.34 1.06.69 2.13 1.01 3.21-3.5.63-6.95 1.46-10.27 2.5 2.48-6.03 4.54-11.11 6.16-15.19Zm4.79 12.57c-.23-.79-.49-1.58-.73-2.36-.79-2.54-1.63-5.08-2.46-7.61l-1.2-3.6c.02-.04.04-.09.05-.13 1.6 4.45 3.28 9 5.01 13.57l-.67.12v.01Zm5.83-18.27-.15-.54c-.49-1.64-1.03-3.28-1.6-4.9.23.58.47 1.17.7 1.75 1.56 4.03 3.01 8.1 4.39 12.2-.33-.82-.67-1.64-.98-2.46l-2.35-6.05h-.01ZM390.43 79.37c-.13-10.43-.22-17.5-.24-19.97-.24-1.6.21-2.88-.65-3.65-.14-.13-.32-.23-.52-.32h.03c.45 0 .45-.69 0-.7-1.75-.03-3.5-.04-5.25-.14-1.38-.08-2.76-.21-4.15-.31-.07 0-.12.01-.17.04-.21-.07-.47.03-.45.31l.03.45c-.11.14-.19.3-.22.5-.21 1.26-.32 13.67-.36 23.59-.32 5.79-.67 11.57-.97 17.36-.09 1.73-.29 3.54-.21 5.3-.39.02-.38.64.04.69v.12c.05.44.74.45.7 0v-.06c1.1.09 2.2.21 3.3.3 1.14.19 2.44.2 3.29.17 1.73-.05 2.92-.05 3.8-.37.45-.05.9-.11 1.35-.17.44-.06.25-.73-.19-.67h-.01c.24-.32.45-.72.62-1.25.66-1.84.41-6.36.34-11.33l-.13-9.9.02.01Zm-12.26 18.17c.09-1.91.2-3.81.31-5.71.06 5.38 0 6.14-.01 6.51-.05 1.65-.21 2.81.72 3.66-.39-.04-.78-.07-1.17-.1-.06-1.44.09-2.93.16-4.35l-.01-.01ZM588.97 53.85c-2.06-.25-3.17-.51-3.76-.6a.3.3 0 0 1 .04-.08c.22-.39-.39-.75-.6-.35-.56 1.02-.9 2.19-1.26 3.29-.61 1.88-1.17 3.78-1.72 5.68-.63 2.19-1.24 4.39-1.83 6.59-.81 2.03-1.67 4.05-2.61 6.03-1.7-3.64-3.11-6.04-4.03-7.57-2.26-3.74-2.85-5.48-3.57-6.08l.31-.09c.43-.12.25-.8-.19-.67-1.06.3-2.12.6-3.17.95-.93.32-1.85.69-2.76 1.07-.13.05-.19.16-.22.27-.04.02-.08.05-.11.07-.04-.06-.07-.12-.11-.18a.354.354 0 0 0-.48-.12c-.16.09-.22.32-.13.48l.33.54c0 .09.02.18.06.28.51 1.16.78 1.38.72 1.47-2.42 3.44-5.41 7.86-6.2 9.1-1.27 1.97-2.01 3.14-2.45 3.84l-.91-6.56-.43-4.1c-.19-1.85-.37-3.23-.53-4.13-.19-1.1-.3-2.15-.45-3.16-.2-1.36-.29-2.06-.47-2.42h.04c.45.02.45-.68 0-.7-3.43-.16-6.81.94-10.17 1.48-.24-.22-.73-.04-.58.32.24.59.33 1.25.43 1.87.17 1.06.29 2.13.4 3.2.32 3.09.53 6.2.74 9.3.44 6.75.77 13.51 1.17 20.26.11 1.95.13 3.96.46 5.89.05.3.37.31.55.14.74 1.71 2.87 1.27 6.13 1.27 1.34 0 2.39.04 2.99-.11.02.32.48.53.63.18 3.61-8.26 7.41-16.46 12.05-24.2.03-.05.04-.1.05-.15.3.73.64 1.45.94 2.16.97 2.26 1.97 4.52 2.98 6.76 2.26 5.03 4.54 10.07 7.09 14.96.47.9.94 1.79 1.47 2.65.2.32.4.67.66.96-.18.25 0 .68.34.54.91-.38 1.82-.75 2.76-1.07 1.04-.35 2.11-.65 3.17-.95.39-.11.28-.66-.07-.68.62-.4.95-.96.87-1.91-.3-3.34.72-7.47.86-8.52l2.14-11.43c1.75-10.74 3.13-17.51 3.23-20.86.02-.49.08-2.84.13-3.24.17-1.25.48-1-4.96-1.65l.03-.02Zm-46.19 5.67c-.04-.24-.09-.48-.15-.71l.85-.15c-.34.24-.56.53-.7.86Zm1.95 25.12c-.36-6.63-.7-13.26-1.32-19.87 0 .02 0 .04.01.06.29 1.65.44 2.47.56 2.89 1 8.46 1.5 16.14 1.46 22.8-.06.99-.1 2-.11 3.02-.01.29-.03.68-.05 1.12-.01-.26-.03-.53-.04-.78-.19-3.08-.35-6.16-.52-9.23l.01-.01Zm36.4 18.66c-.11-.11-.24-.29-.37-.49.35.21.74.26 1.17.16-.27.11-.53.22-.8.32v.01Zm-.89-33.72c.12-.43.23-.86.35-1.29.71-1.77 1.41-3.55 2.08-5.33-.15.68-.26 1.22-.31 1.55-.5 2.94-2.13 7.59-3.58 13.36-.15-.35-.29-.66-.43-1 .61-2.44 1.25-4.87 1.9-7.3l-.01.01Zm3.56-12.48c.14-.44.28-.89.42-1.34-.13.7-.27 1.41-.42 2.11-.43 1.19-.86 2.38-1.31 3.57.42-1.45.85-2.9 1.31-4.34Zm-5.22 16.05c-.11.44-.23.87-.35 1.31-.12.46-.23.92-.35 1.38-.1-.22-.19-.4-.28-.61.34-.69.66-1.38.97-2.08h.01Zm-11.64 2.62c.06-.1.12-.19.17-.28.05.13.09.26.14.39a.398.398 0 0 0-.31-.11Zm2.3 2.98c-.56-1.3-1.25-2.63-1.65-3.99 0 0 .01-.02.02-.02.06.08 1.52 2.93 1.63 3.08.73 1.13 3.38 7.04 5.67 12.26 1.2 2.73 2.08 5.17 2.83 7.18-.62-1.25-1.23-2.51-1.83-3.78-2.31-4.87-4.53-9.78-6.67-14.73ZM275.92 87.03c-1.06-2.18-1.13-3.45-2.44-2.93-1.52.57-2.94 1.3-4.5 2.1-1.4.72-2.68 1.44-3.92 2.12.01-.25-.24-.5-.51-.34-4.8 2.93-12.41 4.7-17.28 1.31-1.98-1.77-3.32-4.15-3.97-5.78-.29-.95-.49-1.94-.63-2.93-.14-3.34 1.58-6.53 3.9-9.12.8-.79 1.68-1.51 2.66-2.12 3.7-2.3 8.22-3.07 12.51-2.51 2.71.35 5.32 1.24 7.71 2.55.39.22.75-.39.35-.6-.18-.1-.37-.18-.55-.27.56.27 1.03.33 1.51.19l-.48.39c-.15.11-.23.3-.13.48.09.15.33.24.48.13 1.3-.97 2.46-2.09 3.45-3.37.37-.29.64-.6.65-.97v-.02c.08-.33-.03-.7-.21-1.08-.31-.87-.98-2.01-2.19-3.26-2.43-2.52-3.79-3.45-5.68-4.26-1.14-.49-3.12-1.06-4.42-1.23-3.28-.42-10.64-1.21-18.18 4.11-7.74 5.46-11.94 12.3-12.23 20.61-.08 2.06.04 3.98.34 5.71.74 4.18 2.57 8 5.44 11.34 4.26 4.99 9.76 7.52 16.34 7.52 4.85 0 9.69-1.77 14.89-4.62.23-.12.45-.23.68-.35 2.19-1.1 4.37-2.23 6.46-3.5.49-.3 1.03-.61 1.5-.98 1.47-.87 1.11-1.12.49-2.95-.39-1.14-.76-2.7-2.06-5.36l.02-.01Zm-17.38-21.76c3.05-.42 6.31.79 9.36 2.35.51.39.94.68 1.33.87-5.61-2.86-12.72-3.39-18.44-.79 2.05-1.33 4.24-1.95 7.74-2.44l.01.01ZM443.67 72.67c-.4-2.2-1.15-4.33-2.37-6.22-1.49-2.32-3.58-4.19-5.91-5.64-6.17-3.81-13.75-5.11-20.83-6.01-3.23-.41-6.47-.69-9.72-.92l-1.39-.12c-.85-.07-1.52-.1-2.05-.1-1.08-.06-2.17-.12-3.25-.17-.08 0-.14.02-.19.05-.1.05-.18.14-.16.3.27 2.55-.01 5.12-.92 7.52-.15.38.4.56.62.28 1.32.59 2.68 1.05 4.08 1.37 0 2.78-.14 7.58-.33 12.91 0 0 0 .02-.01.03-.61 3.66-.79 7.42-1 11.12-.23 4.01-.43 8.03-.44 12.05 0 .64 0 1.28.03 1.93.02.31 0 .68.15.96.06.11.14.16.24.17-.2.17-.21.54.11.59 3.83.67 7.78.71 11.68.25 2.3-.19 4.87-.65 7.65-1.56 1.85-.54 3.67-1.18 5.43-1.91 7.2-3.02 14.31-8.07 17.35-15.53.76-1.86 1.17-3.8 1.31-5.75.3-1.93.28-3.82-.09-5.58l.01-.02Zm-19.32-15.42c5.74 1.41 11.94 3.68 15.65 8.55.25.32.47.65.69.99-2.3-2.82-5.68-5.69-12.88-8.23-2.16-.76-4.35-1.43-6.64-2.02 1.06.21 2.13.45 3.18.71Zm-25.82-3.04c.13 0 .27.01.4.02-.14.1-.26.23-.37.38 0-.13-.02-.26-.03-.4Zm34.82 22.17c-.75 3.09-3.55 5.66-5.88 7.58-3.35 2.76-7.21 5.03-11.28 6.54-1.33.49-2.71.9-4.12 1.15.06-1.38.08-2.76.07-4.13-.02-3.78-.16-7.56-.41-11.33-.09-1.37-.18-2.74-.37-4.1 0-.06-.03-.11-.06-.15.09-3.25.12-6.16.03-8.12 6.86 1.05 10.56 2.17 14.06 3.62 5.52 2.28 8.59 5.44 7.97 8.96l-.01-.02Zm-22 16.15c-.12 0-.23-.02-.34-.03l.34-.03v.06Zm-.69-.7c0-3.13.26-8.84.47-14.51.06 1.2.11 2.41.15 3.6.15 3.6.25 7.23.09 10.83-.24.03-.48.05-.71.07v.01Zm-12.33-30.94c.37.63 2.01 1.01 3.23 1.25v.15c-1.31-.31-2.59-.73-3.83-1.29.12-.36.23-.72.33-1.09.08.48.18.84.27.98Zm13.7 31.65v-.18c3.41-.56 6.71-2.02 9.69-3.68 2.31-1.28 4.59-2.78 6.63-4.53-4.69 4.53-11.61 8.24-16.33 8.38l.01.01Zm24.07-.75c-2.05 1.93-4.37 3.56-6.83 4.95 2.7-1.78 5.52-4.03 8.42-6.87.82-.82 1.56-1.69 2.23-2.59-1.08 1.65-2.38 3.16-3.81 4.51h-.01ZM187.16 92.14c-.79-2.47-2.1-7.12-3.1-6.87-.19-.01-2.09.77-4.08 1.54-3.06 1.18-5.91 2.13-10.09 2.82-2.74.42-5.87 1.01-10.61 1.06.04-3.34.05-6.01.05-7.99 7.97-.65 12.33-2.11 16.37-3.55 1.11-.39 2.69-1.01 2.63-1.8-.08-.35-.55-1.39-1.17-2.61-.47-1.16-.98-2.31-1.61-3.38-.42-.71-1.04-1.69-1.86-2.06-.11-.08-.22-.13-.29-.12-.02 0-.04 0-.07.01-.19-.04-.39-.05-.6-.01-.17.03-.24.15-.25.28-.04.02-.09.04-.14.05-4.33 1.48-8.85 2.33-13.24 3.61a499.1 499.1 0 0 0-.31-8.19c4.51-.99 8.88-1.38 13.11-1.82 3.68-.38 6.28.12 7.47.34.59.11.9.16 1.16.18h.1c-.1.37.44.66.62.28.02-.04.03-.08.05-.13.15.2.53.22.62-.1.17-.58.19-1.21.21-1.81v-.36c.03-.15.05-.3.07-.45.52-2.47.33-5.09-.64-7.44-.11-.27-.44-.28-.6-.14-.08-.21-.15-.42-.24-.62-.19-.41-.79-.05-.6.35.03.07.05.15.09.22-.98-.42-2.15-.54-3.17-.63-2.17-.19-4.37-.14-6.54 0-5.7.35-11.4 1.3-16.91 2.79-2.08.56-4.13 1.22-6.14 2-4.54 1.05-3.79 1.51-2.17 6.07.18.51.46 1.68.54 1.94.82 2.47 1.08 2.13 3.1 2.13s0 .05 0 .08h.52c-.48 2.66-.51 5.45-.62 8.13-.15 3.48-.22 6.96-.28 10.45 0 .41-.01.82-.02 1.23-.16.29-.33.57-.51.85-.05.38-.09.77-.14 1.18-.42 3.52-.59 6.48-.52 8.8v.34c.02.47.05.76.06.87.16 1.57-.26 3.47 1.35 3.79 1.61.32 3.5.55 4.85.55.11 0 .22-.02.33-.02 1.79.24 3.67.05 5.45-.12 2.85-.28 5.69-.7 8.51-1.19 3.03-.53 6.05-1.14 9.04-1.86 2.4-.58 4.82-1.19 7.13-2.06.51-.19 1.73-.57 2.46-1.14 1.81-.68 2.18-1 1.57-2.67-.23-.62-.48-1.49-.91-2.78l-.03-.02Zm-11.12-38.71c.89.05 1.93.08 2.89.3-.33 0-.68-.02-1.06-.03-8.28-.26-14.88.75-23.97 2.51 2.41-.64 4.85-1.16 7.28-1.59 4.87-.86 9.91-1.45 14.86-1.19Zm-26.53 22.13c.03 1.71.04 3.43 0 5.14-.04 1.27-.11 2.55-.24 3.82 0-.73.02-1.46.04-2.19.05-2.26.12-4.51.22-6.77h-.02Zm6.73 27.85c.2-.1.4-.21.58-.33 1.82-.17 3.82-.24 5.94-.34-.86.11-1.72.24-2.58.33-1.27.14-2.61.31-3.93.34h-.01ZM534.48 85.44c-3.52-8.38-7.07-16.75-10.5-25.17-.63-1.54-1.25-3.09-1.86-4.65-.31-.8-.65-1.6-.87-2.43-.04-.17-.17-.24-.31-.25.1-.2 0-.51-.29-.53-1.59-.08-3.18-.22-4.78-.25-1.96-.03-3.91.13-5.84.42-.31.05-.31.38-.13.56-.03.06-.05.14-.04.22.23 1.54.63 3.06 1.16 4.53.13.35.27.7.41 1.06l-2.68 6.18c-.11.03-.2.09-.25.22-.67 1.9-1.52 3.73-2.34 5.56a536.85 536.85 0 0 1-3.9 8.45c-2.64 5.64-5.34 11.25-7.91 16.93-.44.97-.88 1.94-1.29 2.93-.2.48-.47 1-.55 1.52v.05c-.02.12.02.26.16.34 1.19.73 2.41 1.41 3.66 2.05 1.2.62 2.45 1.25 3.76 1.61.43.12.62-.55.19-.67-1.13-.31-2.2-.83-3.24-1.36 1.09.36 2.1.69 2.75.93 2.82 1.01 2.38 1.1 4.3-3.75 2.1-1.09 4.34-1.96 6.53-2.79 4.35-1.64 8.8-3.03 13.27-4.29.82 2.01 1.77 3.97 2.72 5.92.35.83.62 1.45.79 1.82.22.42.45.8.69 1.15.17.33.33.67.5 1 .42.8.84 1.63 1.4 2.35.23.29.6 0 .55-.31 1.53-.02 3.06-.07 4.58-.27.92-.12 1.82-.32 2.71-.54 1.39-.27 3.85-1.11 3.74-1.42-.67-1.96-1.55-3.87-2.34-5.78-1.57-3.78-3.16-7.56-4.75-11.33v-.01Zm-11.65-26.16c1.54 3.81 3.12 7.6 4.7 11.4 2.94 7.05 5.91 14.09 8.87 21.13l-1.06-2.17c-2.71-5.51-5.2-11.19-7.41-16.87l-6.65-17.15c-.65-1.45-.55-2.19-.93-2.53.09 0 .18.01.28.02a.29.29 0 0 0-.04.26c.52 2.02 1.47 3.98 2.25 5.91h-.01Zm-6.58 13.58c.05-.15.09-.31.14-.46 1.41 3.92 2.88 7.9 4.39 11.87-3.22.52-6.38 1.25-9.46 2.14.55-1.22 1.05-2.46 1.53-3.7 1.24-3.24 2.37-6.53 3.39-9.85h.01Zm-.23-20c.36 0 .73.03 1.09.05-2.15.1-5.18.33-5.87.74-.24.15-.41.3-.53.45-.06-.29-.13-.58-.18-.88 1.82-.26 3.65-.39 5.49-.35v-.01Zm-.09 18.72c-.49 1.67-1.05 3.33-1.6 4.97-1.07 3.19-2.19 6.38-3.57 9.46-.09.21-.19.43-.29.65-.25.07-.5.14-.74.22 2.53-6.16 4.61-11.29 6.2-15.3Zm-6.34 25.16c4.97-2.38 9.37-4.1 14.02-5.27l.26.64c-4.8 1.35-9.63 2.8-14.28 4.63Zm20.17 6.76c.33.23.68.42 1.04.56h-.33c-.12 0-.21.06-.26.13-.15-.23-.31-.45-.45-.7v.01ZM226.57 91.75c-3.55-4.74-6.68-9.11-9.31-12.99 9.2-15.25 10.05-17.81 10.35-18.38.17-.34 1.09-2.27.64-2.53-1.13-.65-1.03-.65-2.97-1.71-1.19-.65-3.04-1.61-4.53-2.12-1.71-.59-1.24-.36-3 2.77-.06.1-.11.2-.17.3-.75 1.02-1.48 2.05-2.2 3.09-1.88 2.71-3.73 5.45-5.69 8.1-3.68-4.91-6.88-8.76-9.51-11.43-.15-.15-.3-.29-.46-.42-1.27-1.28-7.24 3.53-7.93 5.58-.09.09-.19.16-.28.25-.27.26.03.64.33.58.19.65.5 1.29.94 1.91 3.85 5.06 7.19 9.76 9.94 14-1.23 2.61-3.06 5-4.67 7.38l-2.28 3.33c-.5.66-.93 1.23-1.29 1.69-.67.93-2.09 2.61-2.3 3.87-.51.85-1.16 1.84-1.29 2.83-.06.44.61.63.67.19.01-.08.04-.15.06-.22 1.36 1.08 2.76 2.11 4.19 3.11 1.3.91 2.62 1.85 4.04 2.56.21.1.4 0 .48-.17.24.07.48.14.72.2.44.1.62-.57.19-.67-2.02-.48-3.77-1.57-5.23-3.02-.47-.46-.9-.96-1.32-1.46 1.74 1.35 4.2 2.89 5.89 4.14 1.39 1.03 2.85-2.27 4.22-4.2 1.86-2.64 3.96-5.86 5.52-8.29l10.39 14.51c.67.81 1.14 1.21 1.57 1.36-.05.24.12.51.41.4 1.53-.58 3.05-1.19 4.54-1.87 1.52-.69 3.06-1.45 4.36-2.5a.28.28 0 0 0 .12-.23c1.66-1.1.81-1.74-1.41-4.91-1.13-1.58-1.71-2.36-3.7-5.01l-.03-.02Zm2.41 6.54c.56 1.15 1.19 2.52 1.11 3.81-.06.04-.12.07-.17.1-.03-.88-.55-2.66-.94-3.91Zm-16.51-32.73c1.86-2.65 3.65-5.35 5.57-7.95.4-.55.81-1.13 1.26-1.66.19-.18.38-.33.56-.45.18.03.36.08.55.13l-8.05 10.11.12-.18h-.01ZM192.7 95.48c.79-1.37 1.66-2.69 2.54-4 1.19-1.79 2.4-3.56 3.61-5.33-.04.09-.09.17-.13.26-.1.22.03.41.2.49-2.47 3.42-4.89 6.73-6.4 9.28.21.24.4.48.63.75-.24.07-.4.36-.17.56.4.33.72.77 1.05 1.17.09.11.18.21.27.32-.84-.61-1.66-1.24-2.47-1.88.24-.57.58-1.11.87-1.61v-.01Zm7.46-10.32c.47-.81.98-1.59 1.49-2.37.31-.48.64-.95.96-1.43.26-.29.52-.56.75-.79-.99 1.48-2.09 3.03-3.2 4.59Zm10.03-16.22s-.03-.05-.05-.07c.22-.29.43-.59.64-.89-.2.32-.4.65-.58.96h-.01ZM371.54 87.96c-.01-.08-.01-.16-.03-.23-.06-.38-.58-.29-.66.03-.3-.05-.6-.08-.81-.11-1.14-.15-2.29-.19-3.44-.2 1.04-.09 2.09-.18 3.14-.23.45-.02.45-.72 0-.7-6.57.35-13.14 1.23-19.65 2.11-1.53.21-3.05.42-4.57.68-.01 0-.02.01-.04.01-.04-3.33-.13-6.66-.24-9.99-.19-5.7-.4-11.41-.88-17.1-.13-1.51-.23-3.07-.49-4.58 0-.25 0-.48-.02-.68-.06-1.19-.04-2.61-.68-2.78-.16-.07-.72-.16-1.5-.24.22-.17.16-.62-.2-.63-1.19-.04-2.39.09-3.57.23-1.2.14-2.41.32-3.59.6-.16-.1-.41-.06-.5.12-.06.02-.13.03-.19.05-.35.1-.29.55-.03.66-.26.6-.19 2.27-.21 3-.02.66-.66 33.73-.9 40.3-.03.65.06 1.12.04 1.45-.16 3.05.87 4.96 6.34 3.93 1.09-.08 2.75-.77 5.36-1.43 4.13-1.04 5.78-1.52 6.2-1.65 6.43-1.69 6.78-1.97 11.72-2.43.55-.05 4.8-.38 6.03-.3.64.04 1.19.07 1.65.1.09 0 .16-.03.24-.05.1.27.56.33.66-.02.39-1.32.61-2.71.78-4.08.2-1.61.29-3.24.15-4.86.24.03.52-.23.38-.53-.09-.2-.27-.33-.49-.43v-.02Zm-.63.56c.07.57.11 1.14.11 1.71-.21-.99-.53-1.71-.95-1.87.22.03.44.06.65.11.06.01.12.04.19.05Zm-25.41 1.73c1.54-.36 3.1-.64 4.66-.89-1.61.37-3.18.77-4.66 1.2v-.31Zm-.86-7.37c-.07-1.37-.16-2.75-.25-4.12-.21-3.13-.45-6.27-.79-9.4.02-2.25.08-4.31.13-6.11.16 2.08.29 4.16.4 6.24.23 4.46.38 8.93.5 13.39h.01Zm-.94-4c.16 2.41.29 4.83.39 7.24.06 1.6.14 3.22.09 4.83-.15.05-.32.09-.47.14V78.88h-.01ZM483.72 92.83c-3.05-2.28-6.22-4.4-9.38-6.51 8.86-6.49 13.49-12.95 13.73-19.23.04-.76 0-1.5-.13-2.2-.67-3.82-3.5-6.68-8.39-8.48.13.04.27.08.4.13 3.92 1.39 7.74 4.23 8.5 8.56.34 1.95-.05 3.96-.98 5.69-.21.4.39.75.6.35 1.86-3.46 1.46-7.55-.97-10.63-3.53-4.47-9.76-5.88-15.16-6.16-2.32-.12-4.64-.04-6.95.19-6 .32-12.71 1.68-17.63 3.21-.37.11-.67.23-.92.35-.2-.17-.62.02-.57.37v.03c-.64.68-.18 1.64.48 3.21.38.91.67 1.89 1.15 2.58.32.76.68 1.51 1.13 2.19.14.21.38.19.53.07.19-.02.38-.05.57-.08v1.57c-.06.06-.1.13-.11.23-.27 4.18-.34 8.38-.48 12.57l-.3 9.03c-.24 3.91-.44 6.77-.46 7.26-.05.88-.11 1.95.07 2.81-.01.22-.02.43-.04.65 0 .11-.02.23-.03.35 0 .05-.03.27-.01.16-.05.4.5.59.64.28.05.04.12.08.2.08 1.75.13 3.5.28 5.25.3 1.69.02 3.38-.12 5.06-.32.08.23.36.39.55.15.06-.08.11-.17.16-.26.18-.09.24-.32.18-.48.05-.2.1-.4.13-.6.16-.86.25-1.74.33-2.62.11-1.17.17-2.34.23-3.51.15-.01.32-.03.52-.04.36-.03 1.73-.15 2.06-.15.39 0 .7-.02.95-.04 1.76 1.11 3.45 2.35 5.14 3.55 2.83 2.01 5.64 4.04 8.47 6.04 1.42 1 2.85 2 4.29 2.97.1.06.19.07.27.04.08 0 .17-.02.25-.1 1.61-1.56 3.15-3.18 4.6-4.88.75-.88 1.49-1.78 2.15-2.73.01.01.03.02.04.03.34.3.83-.2.49-.49-2.16-1.9-4.34-3.76-6.64-5.48l.03-.01Zm-6.38-3.65a55.72 55.72 0 0 0-4-2.13c.14-.1.26-.19.4-.29 1.2.81 2.4 1.61 3.6 2.42Zm-20.1 11.78c.67-.37 1.23-.91 1.67-1.6-.11.5-.24 1-.38 1.49-.43.04-.86.08-1.29.11Zm2.38-37.24c1.34-.31 2.56-.52 3.71-.69-1.03.19-2.04.41-3.04.65-.14-.07-.34-.02-.45.11-.07.02-.15.04-.22.05v-.13.01Zm.04.84c.07-.02.14-.03.2-.05.34 1.66.41 3.41.5 5.09.17 2.9.24 5.81.28 8.71l.03 3.17c-.17.07-.34.14-.51.2-.06-4.96-.21-10.58-.51-17.12h.01Zm16.04 5.62c-1.16 2.25-3.06 4.1-5.02 5.66-2.8 2.23-5.99 3.97-9.3 5.35-.01-3.56-.09-7.12-.27-10.67-.1-2.04-.16-4.16-.57-6.18 3.3-.78 6.72-1.36 10.1-1.1 1.85.14 4.23.59 5.32 2.29.92 1.43.46 3.24-.26 4.65Zm.85-.18c.6-1.37.9-2.92.28-4.32-.67-1.52-2.2-2.32-3.76-2.74.46.1.89.21 1.29.37 1.74.67 2.69 1.88 2.93 3.21.2 1.13-.05 2.25-.74 3.47V70Zm-27.47-4.14c-.12-.19-.23-.38-.34-.57.74.42.85.36.99.41v.08c-.22.03-.43.06-.65.08Zm11.21 30.46c-.08 1.08-.16 2.17-.33 3.24-.05.35-.11.69-.2 1.03 0 .04-.02.07-.03.11-.15.02-.3.04-.45.05.45-1.64.76-3.36.79-5.07.03-.29.08-.57.1-.89-.03-.31-.03-.47.24-.57-.04.69-.07 1.39-.12 2.08v.02Zm5.6-2.47c.48.11.92.52 2.49 1.72-.46-.32-.92-.65-1.38-.97-.37-.25-.73-.5-1.1-.75h-.01Zm21.23 7.24a70.76 70.76 0 0 1-4.37 4.63c-.14-.09-.27-.19-.4-.28.19-.09.37-.24.55-.47.87-1.14 5.43-5.51 5.49-7.45.31.26.62.53.92.79-.67.97-1.42 1.88-2.19 2.77v.01Z",fill:"currentColor",transform:"translate(-144.023 -51.76)"})]})},Ee=function(Ft){var xt=Ft.style,At=Ft.size,Tt=At===void 0?"small":At,nr=Ft.withText;return(0,k.jsxs)("div",{className:"ExcalidrawLogo is-".concat(Tt),style:xt,children:[(0,k.jsx)(je,{}),nr&&(0,k.jsx)(ye,{})]})},Oe=["onSelect","children","icon","shortcut","className"],ge=["children","href","icon","shortcut","className"];function ue(Ft,xt){var At=Object.keys(Ft);if(Object.getOwnPropertySymbols){var Tt=Object.getOwnPropertySymbols(Ft);xt&&(Tt=Tt.filter(function(nr){return Object.getOwnPropertyDescriptor(Ft,nr).enumerable})),At.push.apply(At,Tt)}return At}function se(Ft){for(var xt=1;xt<arguments.length;xt++){var At=arguments[xt]!=null?arguments[xt]:{};xt%2?ue(Object(At),!0).forEach(function(Tt){(0,oe.Z)(Ft,Tt,At[Tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ft,Object.getOwnPropertyDescriptors(At)):ue(Object(At)).forEach(function(Tt){Object.defineProperty(Ft,Tt,Object.getOwnPropertyDescriptor(At,Tt))})}return Ft}var j=function(Ft){var xt=Ft.icon,At=Ft.shortcut,Tt=Ft.children,nr=(0,J.Fy)();return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{className:"welcome-screen-menu-item__icon",children:xt}),(0,k.jsx)("div",{className:"welcome-screen-menu-item__text",children:Tt}),At&&!nr.editor.isMobile&&(0,k.jsx)("div",{className:"welcome-screen-menu-item__shortcut",children:At})]})};j.displayName="WelcomeScreenMenuItemContent";var i=function(Ft){var xt=Ft.onSelect,At=Ft.children,Tt=Ft.icon,nr=Ft.shortcut,yr=Ft.className,kr=yr===void 0?"":yr,Tr=(0,Y.Z)(Ft,Oe);return(0,k.jsx)("button",se(se({},Tr),{},{type:"button",className:"welcome-screen-menu-item ".concat(kr),onClick:xt,children:(0,k.jsx)(j,{icon:Tt,shortcut:nr,children:At})}))};i.displayName="WelcomeScreenMenuItem";var s=function(Ft){var xt=Ft.children,At=Ft.href,Tt=Ft.icon,nr=Ft.shortcut,yr=Ft.className,kr=yr===void 0?"":yr,Tr=(0,Y.Z)(Ft,ge);return(0,k.jsx)("a",se(se({},Tr),{},{className:"welcome-screen-menu-item ".concat(kr),href:At,target:"_blank",rel:"noreferrer",children:(0,k.jsx)(j,{icon:Tt,shortcut:nr,children:xt})}))};s.displayName="WelcomeScreenMenuItemLink";var O=function(Ft){var xt=Ft.children,At=(0,_.R6)().WelcomeScreenCenterTunnel;return(0,k.jsx)(At.In,{children:(0,k.jsx)("div",{className:"welcome-screen-center",children:xt||(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(z,{}),(0,k.jsx)(K,{children:(0,W.t)("welcomeScreen.defaults.center_heading")}),(0,k.jsxs)($,{children:[(0,k.jsx)(ae,{}),(0,k.jsx)(Q,{})]})]})})})};O.displayName="Center";var z=function(Ft){var xt=Ft.children;return(0,k.jsx)("div",{className:"welcome-screen-center__logo virgil welcome-screen-decor",children:xt||(0,k.jsx)(Ee,{withText:!0})})};z.displayName="Logo";var K=function(Ft){var xt=Ft.children;return(0,k.jsx)("div",{className:"welcome-screen-center__heading welcome-screen-decor virgil",children:xt})};K.displayName="Heading";var $=function(Ft){var xt=Ft.children;return(0,k.jsx)("div",{className:"welcome-screen-menu",children:xt})};$.displayName="Menu";var Q=function(){var Ft=(0,J.eh)();return(0,k.jsx)(i,{onSelect:function(){return Ft.executeAction(V.jY)},shortcut:"?",icon:we.by,children:(0,W.t)("helpDialog.title")})};Q.displayName="MenuItemHelp";var ae=function(){var Ft=(0,F.I)(),xt=(0,J.eh)();return Ft.viewModeEnabled?null:(0,k.jsx)(i,{onSelect:function(){return xt.executeAction(V._d)},shortcut:(0,ie.C)("loadScene"),icon:we.Tl,children:(0,W.t)("buttons.load")})};ae.displayName="MenuItemLoadScene";var be=function(Ft){var xt=Ft.onSelect,At=(0,W.QT)().t;return(0,k.jsx)(i,{shortcut:null,onSelect:xt,icon:we.jn,children:At("labels.liveCollaboration")})};be.displayName="MenuItemLiveCollaborationTrigger",O.Logo=z,O.Heading=K,O.Menu=$,O.MenuItem=i,O.MenuItemLink=s,O.MenuItemHelp=Q,O.MenuItemLoadScene=ae,O.MenuItemLiveCollaborationTrigger=be;var Ce=function(Ft){var xt=Ft.children,At=(0,_.R6)().WelcomeScreenMenuHintTunnel;return(0,k.jsx)(At.In,{children:(0,k.jsxs)("div",{className:"virgil welcome-screen-decor welcome-screen-decor-hint welcome-screen-decor-hint--menu",children:[we.oQ,(0,k.jsx)("div",{className:"welcome-screen-decor-hint__label",children:xt||(0,W.t)("welcomeScreen.defaults.menuHint")})]})})};Ce.displayName="MenuHint";var Ze=function(Ft){var xt=Ft.children,At=(0,_.R6)().WelcomeScreenToolbarHintTunnel;return(0,k.jsx)(At.In,{children:(0,k.jsxs)("div",{className:"virgil welcome-screen-decor welcome-screen-decor-hint welcome-screen-decor-hint--toolbar",children:[(0,k.jsx)("div",{className:"welcome-screen-decor-hint__label",children:xt||(0,W.t)("welcomeScreen.defaults.toolbarHint")}),we.DJ]})})};Ze.displayName="ToolbarHint";var Be=function(Ft){var xt=Ft.children,At=(0,_.R6)().WelcomeScreenHelpHintTunnel;return(0,k.jsx)(At.In,{children:(0,k.jsxs)("div",{className:"virgil welcome-screen-decor welcome-screen-decor-hint welcome-screen-decor-hint--help",children:[(0,k.jsx)("div",{children:xt||(0,W.t)("welcomeScreen.defaults.helpHint")}),we._U]})})};Be.displayName="HelpHint";var Te=t(1569),He={};He.styleTagTransform=d(),He.setAttributes=A(),He.insert=H().bind(null,"head"),He.domAPI=G(),He.insertStyleElement=y(),ve()(Te.Z,He),Te.Z&&Te.Z.locals&&Te.Z.locals;var Ve=function(Ft){return(0,k.jsx)(k.Fragment,{children:Ft.children||(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(O,{}),(0,k.jsx)(Ce,{}),(0,k.jsx)(Ze,{}),(0,k.jsx)(Be,{})]})})};Ve.displayName="WelcomeScreen",Ve.Center=O,Ve.Hints={MenuHint:Ce,ToolbarHint:Ze,HelpHint:Be};var Je=Ve,Me=t(8806),me=t(3397),Se={};Se.styleTagTransform=d(),Se.setAttributes=A(),Se.insert=H().bind(null,"head"),Se.domAPI=G(),Se.insertStyleElement=y(),ve()(me.Z,Se),me.Z&&me.Z.locals&&me.Z.locals;var Ne=["isCollaborating","onSelect"];function Ye(Ft,xt){var At=Object.keys(Ft);if(Object.getOwnPropertySymbols){var Tt=Object.getOwnPropertySymbols(Ft);xt&&(Tt=Tt.filter(function(nr){return Object.getOwnPropertyDescriptor(Ft,nr).enumerable})),At.push.apply(At,Tt)}return At}function Qe(Ft){for(var xt=1;xt<arguments.length;xt++){var At=arguments[xt]!=null?arguments[xt]:{};xt%2?Ye(Object(At),!0).forEach(function(Tt){(0,oe.Z)(Ft,Tt,At[Tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ft,Object.getOwnPropertyDescriptors(At)):Ye(Object(At)).forEach(function(Tt){Object.defineProperty(Ft,Tt,Object.getOwnPropertyDescriptor(At,Tt))})}return Ft}var rt=function(Ft){var xt=Ft.isCollaborating,At=Ft.onSelect,Tt=(0,Y.Z)(Ft,Ne),nr=(0,F.I)();return(0,k.jsxs)(Me.z,Qe(Qe({},Tt),{},{className:(0,L.Z)("collab-button",{active:xt}),type:"button",onSelect:At,style:{position:"relative"},title:(0,W.t)("labels.liveCollaboration"),children:[we.jn,nr.collaborators.size>0&&(0,k.jsx)("div",{className:"CollabButton-collaborators",children:nr.collaborators.size})]}))},ft=rt;rt.displayName="LiveCollaborationTrigger";var at=t(7651),ut=t(7994),Ot=t(507),Pt=t(4183),Et=t(583),Mt=t(9326),Yt=t(5902),lt=t(1925),ot=t(8020),mt=t(6199),pt=t(4949),ht=t(6013),yt=["initialData","UIOptions"],Ct=["initialData","UIOptions"];function Bt(Ft,xt){var At=Object.keys(Ft);if(Object.getOwnPropertySymbols){var Tt=Object.getOwnPropertySymbols(Ft);xt&&(Tt=Tt.filter(function(nr){return Object.getOwnPropertyDescriptor(Ft,nr).enumerable})),At.push.apply(At,Tt)}return At}function zt(Ft){for(var xt=1;xt<arguments.length;xt++){var At=arguments[xt]!=null?arguments[xt]:{};xt%2?Bt(Object(At),!0).forEach(function(Tt){m()(Ft,Tt,At[Tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ft,Object.getOwnPropertyDescriptors(At)):Bt(Object(At)).forEach(function(Tt){Object.defineProperty(Ft,Tt,Object.getOwnPropertyDescriptor(At,Tt))})}return Ft}var tr=function(Ft){var xt,At,Tt,nr,yr,kr,Tr=Ft.onChange,Or=Ft.initialData,Rt=Ft.excalidrawAPI,dt=Ft.isCollaborating,gt=dt!==void 0&&dt,wt=Ft.onPointerUpdate,Ut=Ft.renderTopRightUI,ar=Ft.langCode,ir=ar===void 0?W.Fp.code:ar,dr=Ft.viewModeEnabled,br=Ft.zenModeEnabled,hr=Ft.gridModeEnabled,Ir=Ft.libraryReturnUrl,wr=Ft.theme,sr=Ft.name,fr=Ft.renderCustomStats,pr=Ft.onPaste,jr=Ft.detectScroll,Pr=jr===void 0||jr,Mr=Ft.handleKeyboardGlobally,$r=Mr!==void 0&&Mr,fn=Ft.onLibraryChange,Mn=Ft.autoFocus,Zn=Mn!==void 0&&Mn,zn=Ft.generateIdForFile,Cn=Ft.onLinkOpen,vn=Ft.onPointerDown,Ln=Ft.onScrollChange,We=Ft.children,pe=Ft.validateEmbeddable,_e=Ft.renderEmbeddable,De=(xt=Ft.UIOptions)===null||xt===void 0?void 0:xt.canvasActions,Xe=zt(zt({},Ft.UIOptions),{},{canvasActions:zt(zt({},l.cW.canvasActions),De),tools:{image:(At=(Tt=Ft.UIOptions)===null||Tt===void 0||(nr=Tt.tools)===null||nr===void 0?void 0:nr.image)===null||At===void 0||At}});return De!=null&&De.export&&(Xe.canvasActions.export.saveFileToDisk=(yr=(kr=De.export)===null||kr===void 0?void 0:kr.saveFileToDisk)!==null&&yr!==void 0?yr:l.cW.canvasActions.export.saveFileToDisk),Xe.canvasActions.toggleTheme===null&&wr===void 0&&(Xe.canvasActions.toggleTheme=!0),(0,v.useEffect)(function(){var St=function(Gt){typeof Gt.scale=="number"&&Gt.scale!==1&&Gt.preventDefault()};return document.addEventListener("touchmove",St,{passive:!1}),function(){document.removeEventListener("touchmove",St)}},[]),(0,k.jsx)(u.zt,{unstable_createStore:function(){return C.e_},scope:C.yE,children:(0,k.jsx)(S,{langCode:ir,theme:wr,children:(0,k.jsx)(J.ZP,{onChange:Tr,initialData:Or,excalidrawAPI:Rt,isCollaborating:gt,onPointerUpdate:wt,renderTopRightUI:Ut,langCode:ir,viewModeEnabled:dr,zenModeEnabled:br,gridModeEnabled:hr,libraryReturnUrl:Ir,theme:wr,name:sr,renderCustomStats:fr,UIOptions:Xe,onPaste:pr,detectScroll:Pr,handleKeyboardGlobally:$r,onLibraryChange:fn,autoFocus:Zn,generateIdForFile:zn,onLinkOpen:Cn,onPointerDown:vn,onScrollChange:Ln,validateEmbeddable:pe,renderEmbeddable:_e,children:We})})})},cr=function(Ft,xt){if(Ft.children!==xt.children)return!1;Ft.initialData;var At=Ft.UIOptions,Tt=At===void 0?{}:At,nr=P()(Ft,yt),yr=(xt.initialData,xt.UIOptions),kr=yr===void 0?{}:yr,Tr=P()(xt,Ct),Or=Object.keys(Tt),Rt=Object.keys(kr);return Or.length===Rt.length&&Or.every(function(dt){return dt==="canvasActions"?Object.keys(Tt.canvasActions).every(function(gt){var wt,Ut,ar,ir;return gt==="export"&&Tt!=null&&(wt=Tt.canvasActions)!==null&&wt!==void 0&&wt.export&&kr!=null&&(Ut=kr.canvasActions)!==null&&Ut!==void 0&&Ut.export?Tt.canvasActions.export.saveFileToDisk===kr.canvasActions.export.saveFileToDisk:(Tt==null||(ar=Tt.canvasActions)===null||ar===void 0?void 0:ar[gt])===(kr==null||(ir=kr.canvasActions)===null||ir===void 0?void 0:ir[gt])}):Tt[dt]===kr[dt]})&&(0,ce.w8)(nr,Tr)},mr=I().memo(tr,cr);mr.displayName="Excalidraw"},507:function(et,fe,t){t.d(fe,{y8:function(){return ve},Fl:function(){return b},NL:function(){return A},i1:function(){return h},$D:function(){return y},N7:function(){return G.N7},cT:function(){return le.cT},lV:function(){return le.lV},ZY:function(){return le.ZY},zh:function(){return U.zh},I_:function(){return Z.I_},NI:function(){return Z.NI}});var e=t(8950),P=t(7169),w=t(2975),m=t.n(w),v=t(3668),I=t(6853),x=t(7994),c=t(9937),f=t(250),Z=t(4419),N=t(4694);function W(d){return[Math.min(d[0][0],d[1][0]),Math.min(d[0][1],d[1][1]),Math.max(d[0][0],d[1][0]),Math.max(d[0][1],d[1][1])]}function k(d,r){return d[0]*r[1]-r[0]*d[1]}function S(d,r){return[d[0]-r[0],d[1]-r[1]]}function J(d,r){var n=k(S(d[1],d[0]),S(r,d[0]));return Math.abs(n)<1e-6}function ce(d,r){return k(S(d[1],d[0]),S(r,d[0]))<0}function he(d,r){return J(d,r[0])||J(d,r[1])||(ce(d,r[0])?!ce(d,r[1]):ce(d,r[1]))}function ve(d,r){return function(n,p){return n[0]<=p[2]&&n[2]>=p[0]&&n[1]<=p[3]&&n[3]>=p[1]}(W(d),W(r))&&he(d,r)&&he(r,d)}t(6013);var le=t(5796),G=t(9660),U=t(9326);function H(d,r){var n=Object.keys(d);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(d);r&&(p=p.filter(function(a){return Object.getOwnPropertyDescriptor(d,a).enumerable})),n.push.apply(n,p)}return n}function M(d){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?H(Object(n),!0).forEach(function(p){(0,P.Z)(d,p,n[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach(function(p){Object.defineProperty(d,p,Object.getOwnPropertyDescriptor(n,p))})}return d}var A=function(d){var r=d.elements,n=d.appState,p=d.files,a=d.maxWidthOrHeight,l=d.getDimensions,u=d.exportPadding,C=d.exportingFrame,L=(0,x.nu)({elements:r,appState:n},null,null),_=L.elements,E=L.appState,D=E.exportBackground,F=E.viewBackgroundColor;return(0,v.NL)(_,M(M({},E),{},{offsetTop:0,offsetLeft:0,width:0,height:0}),p||{},{exportBackground:D,exportPadding:u,viewBackgroundColor:F,exportingFrame:C},function(ee,te){var re,oe=document.createElement("canvas");if(a){var Y;typeof l=="function"&&console.warn("`getDimensions()` is ignored when `maxWidthOrHeight` is supplied.");var V=Math.max(ee,te),ie=a<V?a/V:(Y=n?.exportScale)!==null&&Y!==void 0?Y:1;return oe.width=ee*ie,oe.height=te*ie,{canvas:oe,scale:ie}}var we=l?.(ee,te)||{width:ee,height:te};return oe.width=we.width,oe.height=we.height,{canvas:oe,scale:(re=we.scale)!==null&&re!==void 0?re:1}})},b=function(){var d=(0,e.Z)(m().mark(function r(n){var p,a,l,u,C,L;return m().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return l=(a=n).mimeType,u=l===void 0?c.LO.png:l,C=a.quality,u===c.LO.png&&typeof C=="number"&&console.warn('"quality" will be ignored for "'.concat(c.LO.png,'" mimeType')),u==="image/jpg"&&(u=c.LO.jpg),u!==c.LO.jpg||(p=n.appState)!==null&&p!==void 0&&p.exportBackground||(console.warn('Defaulting "exportBackground" to "true" for "'.concat(c.LO.jpg,'" mimeType')),n=M(M({},n),{},{appState:M(M({},n.appState),{},{exportBackground:!0})})),_.next=6,A(n);case 6:return L=_.sent,C=C||(/image\/jpe?g/.test(u)?.92:.8),_.abrupt("return",new Promise(function(E,D){L.toBlob(function(){var F=(0,e.Z)(m().mark(function ee(te){var re;return m().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(te){oe.next=2;break}return oe.abrupt("return",D(new Error("couldn't export to blob")));case 2:if(!te||u!==c.LO.png||(re=n.appState)===null||re===void 0||!re.exportEmbedScene){oe.next=6;break}return oe.next=5,(0,f.encodePngMetadata)({blob:te,metadata:(0,Z.I_)(n.elements,n.appState,n.files||{},"local")});case 5:te=oe.sent;case 6:E(te);case 7:case"end":return oe.stop()}},ee)}));return function(ee){return F.apply(this,arguments)}}(),u,C)}));case 9:case"end":return _.stop()}},r)}));return function(r){return d.apply(this,arguments)}}(),y=function(){var d=(0,e.Z)(m().mark(function r(n){var p,a,l,u,C,L,_,E,D,F,ee,te;return m().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return p=n.elements,a=n.appState,l=a===void 0?(0,I.im)():a,u=n.files,C=u===void 0?{}:u,L=n.exportPadding,_=n.renderEmbeddables,E=n.exportingFrame,D=(0,x.nu)({elements:p,appState:l},null,null),F=D.elements,ee=D.appState,te=M(M({},ee),{},{exportPadding:L}),re.abrupt("return",(0,v.$D)(F,te,C,{exportingFrame:E,renderEmbeddables:_}));case 4:case"end":return re.stop()}},r)}));return function(r){return d.apply(this,arguments)}}(),h=function(){var d=(0,e.Z)(m().mark(function r(n){var p;return m().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(n.type!=="svg"){a.next=8;break}return a.next=3,y(n);case 3:return p=a.sent,a.next=6,(0,N.dd)(p.outerHTML);case 6:case 11:case 16:a.next=19;break;case 8:if(n.type!=="png"){a.next=13;break}return a.next=11,(0,N.uR)(b(n));case 13:if(n.type!=="json"){a.next=18;break}return a.next=16,(0,N.vQ)(n.elements,n.files);case 18:throw new Error("Invalid export type");case 19:case"end":return a.stop()}},r)}));return function(r){return d.apply(this,arguments)}}()},6013:function(et,fe,t){t.d(fe,{Ne:function(){return f},Xs:function(){return N},sQ:function(){return Z}});var e=t(2577),P=t(4183),w=t(2361),m=t(4949);function v(W,k){var S=typeof Symbol<"u"&&W[Symbol.iterator]||W["@@iterator"];if(!S){if(Array.isArray(W)||(S=function(G,U){if(G){if(typeof G=="string")return I(G,U);var H=Object.prototype.toString.call(G).slice(8,-1);if(H==="Object"&&G.constructor&&(H=G.constructor.name),H==="Map"||H==="Set")return Array.from(G);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return I(G,U)}}(W))||k&&W&&typeof W.length=="number"){S&&(W=S);var J=0,ce=function(){};return{s:ce,n:function(){return J>=W.length?{done:!0}:{done:!1,value:W[J++]}},e:function(G){throw G},f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var he,ve=!0,le=!1;return{s:function(){S=S.call(W)},n:function(){var G=S.next();return ve=G.done,G},e:function(G){le=!0,he=G},f:function(){try{ve||S.return==null||S.return()}finally{if(le)throw he}}}}function I(W,k){(k==null||k>W.length)&&(k=W.length);for(var S=0,J=new Array(k);S<k;S++)J[S]=W[S];return J}var x=function(W){var k=W.reduce(function(S,J){var ce=(0,e.Z)(J,2),he=ce[0],ve=ce[1];return S.minY=Math.min(S.minY,ve),S.minX=Math.min(S.minX,he),S.maxX=Math.max(S.maxX,he),S.maxY=Math.max(S.maxY,ve),S},{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0,cx:0,cy:0});return k.cx=(k.maxX+k.minX)/2,k.cy=(k.maxY+k.minY)/2,k},c=function(W){var k=function(H){return(0,P.bt)(H)||(0,P.F9)(H)?H.points:function(M){return M.type==="diamond"?[[M.width/2,0],[M.width,M.height/2],[M.width/2,M.height],[0,M.height/2]]:[[0,0],[0+M.width,0],[0+M.width,M.height],[0,M.height]]}(H)}(W),S=x(k),J=[S.cx,S.cy],ce=k.map(function(H){return(0,w.xj)([H[0],H[1]],J,W.angle)}),he=x(ce),ve=he.minX,le=he.minY,G=he.maxX,U=he.maxY;return[ve+W.x,le+W.y,G+W.x,U+W.y]},f=function(W,k){var S=arguments.length>2&&arguments[2]!==void 0&&arguments[2],J=c(W),ce=k[0]<=J[0]&&k[2]>=J[2]&&k[1]<=J[1]&&k[3]>=J[3];return S?!!ce||J[0]<=k[0]&&J[2]>=k[2]&&J[1]<=k[1]&&J[3]>=k[3]:ce},Z=function(W,k){var S=c(W);return((0,w.Xt)(S[0],k[0],k[2])||(0,w.Xt)(k[0],S[0],S[2]))&&((0,w.Xt)(S[1],k[1],k[3])||(0,w.Xt)(k[1],S[1],S[3]))},N=function(W){var k=W.elements,S=W.bounds,J=W.type,ce=W.errorMargin,he=ce===void 0?0:ce;(0,P.r2)(S)&&(S=(0,m.Pi)(S));var ve,le=[S[0]-he,S[1]-he,S[2]+he,S[3]+he],G=new Set,U=v(k);try{for(U.s();!(ve=U.n()).done;){var H=ve.value;if(!G.has(H.id)&&(J==="overlap"?Z(H,le):J==="inside"?f(H,le):f(H,le,!0))){if(G.add(H.id),H.boundElements){var M,A=v(H.boundElements);try{for(A.s();!(M=A.n()).done;){var b=M.value;G.add(b.id)}}catch(h){A.e(h)}finally{A.f()}}var y;(0,P.iB)(H)&&H.containerId&&G.add(H.containerId),(0,P.Yv)(H)&&(H.startBinding&&G.add(H.startBinding.elementId),H.endBinding&&G.add((y=H.endBinding)===null||y===void 0?void 0:y.elementId))}}}catch(h){U.e(h)}finally{U.f()}return k.filter(function(h){return G.has(h.id)})}},5999:function(et,fe,t){t.d(fe,{k:function(){return P},z:function(){return w}});var e=t(1930),P=function(m){var v=m.map(function(x){return x[0]}),I=m.map(function(x){return x[1]});return{width:Math.max.apply(Math,(0,e.Z)(v))-Math.min.apply(Math,(0,e.Z)(v)),height:Math.max.apply(Math,(0,e.Z)(I))-Math.min.apply(Math,(0,e.Z)(I))}},w=function(m,v,I,x){var c=I.map(function(ce){return ce[m]}),f=Math.max.apply(Math,(0,e.Z)(c)),Z=Math.min.apply(Math,(0,e.Z)(c)),N=f-Z,W=N===0?1:v/N,k=1/0,S=I.map(function(ce){var he=ce[m]*W,ve=(0,e.Z)(ce);return ve[m]=he,he<k&&(k=he),ve});if(!x||S.length===2)return S;var J=Z-k;return S.map(function(ce){return ce.map(function(he,ve){return ve===m?he+J:he})})}},4643:function(et,fe,t){t.d(fe,{LU:function(){return I},kb:function(){return x}});var e=t(8152),P=t(5605),w=t(9827),m=new e.k(Date.now()),v=0,I=function(){return Math.floor(m.next()*Math.pow(2,31))},x=function(){return(0,w.h2)()?"id".concat(v++):(0,P.x0)()}},9660:function(et,fe,t){t.d(fe,{Dn:function(){return ee},Xx:function(){return Y},Lc:function(){return Oe},N7:function(){return ge},lw:function(){return Ae},Rg:function(){return ye},uI:function(){return we}});var e=t(7169),P=t(2577),w=t(4183),m=t(4949),v=t(9827),I=t(2361),x=t(9845),c=t(6853),f=t(9937);function Z(j,i,s,O=z=>z){return j*O(.5-i*(.5-s))}function N(j,i){return[j[0]+i[0],j[1]+i[1]]}function W(j,i){return[j[0]-i[0],j[1]-i[1]]}function k(j,i){return[j[0]*i,j[1]*i]}function S(j){return[j[1],-j[0]]}function J(j,i){return j[0]*i[0]+j[1]*i[1]}function ce(j,i){return j[0]===i[0]&&j[1]===i[1]}function he(j,i){return function(s){return s[0]*s[0]+s[1]*s[1]}(W(j,i))}function ve(j){return function(i,s){return[i[0]/s,i[1]/s]}(j,function(i){return Math.hypot(i[0],i[1])}(j))}function le(j,i){return Math.hypot(j[1]-i[1],j[0]-i[0])}function G(j,i,s){let O=Math.sin(s),z=Math.cos(s),K=j[0]-i[0],$=j[1]-i[1],Q=K*O+$*z;return[K*z-$*O+i[0],Q+i[1]]}function U(j,i,s){return N(j,k(W(i,j),s))}function H(j,i,s){return N(j,k(i,s))}var{min:M,PI:A}=Math,b=A+1e-4;function y(j,i={}){return function(s,O={}){let{size:z=16,smoothing:K=.5,thinning:$=.5,simulatePressure:Q=!0,easing:ae=pt=>pt,start:be={},end:Ce={},last:Ze=!1}=O,{cap:Be=!0,easing:Te=pt=>pt*(2-pt)}=be,{cap:He=!0,easing:Ve=pt=>--pt*pt*pt+1}=Ce;if(s.length===0||z<=0)return[];let Je,Me=s[s.length-1].runningLength,me=be.taper===!1?0:be.taper===!0?Math.max(z,Me):be.taper,Se=Ce.taper===!1?0:Ce.taper===!0?Math.max(z,Me):Ce.taper,Ne=Math.pow(z*K,2),Ye=[],Qe=[],rt=s.slice(0,10).reduce((pt,ht)=>{let yt=ht.pressure;if(Q){let Ct=M(1,ht.distance/z),Bt=M(1,1-Ct);yt=M(1,pt+.275*Ct*(Bt-pt))}return(pt+yt)/2},s[0].pressure),ft=Z(z,$,s[s.length-1].pressure,ae),at=s[0].vector,ut=s[0].point,Ot=ut,Pt=ut,Et=Ot,Mt=!1;for(let pt=0;pt<s.length;pt++){let{pressure:ht}=s[pt],{point:yt,vector:Ct,distance:Bt,runningLength:zt}=s[pt];if(pt<s.length-1&&Me-zt<3)continue;if($){if(Q){let Tt=M(1,Bt/z),nr=M(1,1-Tt);ht=M(1,rt+.275*Tt*(nr-rt))}ft=Z(z,$,ht,ae)}else ft=z/2;Je===void 0&&(Je=ft);let tr=zt<me?Te(zt/me):1,cr=Me-zt<Se?Ve((Me-zt)/Se):1;ft=Math.max(.01,ft*Math.min(tr,cr));let mr=(pt<s.length-1?s[pt+1]:s[pt]).vector,Ft=pt<s.length-1?J(Ct,mr):1,xt=Ft!==null&&Ft<0;if(J(Ct,at)<0&&!Mt||xt){let Tt=k(S(at),ft);for(let nr=.07692307692307693,yr=0;yr<=1;yr+=nr)Pt=G(W(yt,Tt),yt,b*yr),Ye.push(Pt),Et=G(N(yt,Tt),yt,b*-yr),Qe.push(Et);ut=Pt,Ot=Et,xt&&(Mt=!0);continue}if(Mt=!1,pt===s.length-1){let Tt=k(S(Ct),ft);Ye.push(W(yt,Tt)),Qe.push(N(yt,Tt));continue}let At=k(S(U(mr,Ct,Ft)),ft);Pt=W(yt,At),(pt<=1||he(ut,Pt)>Ne)&&(Ye.push(Pt),ut=Pt),Et=N(yt,At),(pt<=1||he(Ot,Et)>Ne)&&(Qe.push(Et),Ot=Et),rt=ht,at=Ct}let Yt=s[0].point.slice(0,2),lt=s.length>1?s[s.length-1].point.slice(0,2):N(s[0].point,[1,1]),ot=[],mt=[];if(s.length===1){if(!me&&!Se||Ze){let pt=H(Yt,ve(S(W(Yt,lt))),-(Je||ft)),ht=[];for(let yt=.07692307692307693,Ct=yt;Ct<=1;Ct+=yt)ht.push(G(pt,Yt,2*b*Ct));return ht}}else{if(!(me||Se&&s.length===1))if(Be)for(let ht=.07692307692307693,yt=ht;yt<=1;yt+=ht){let Ct=G(Qe[0],Yt,b*yt);ot.push(Ct)}else{let ht=W(Ye[0],Qe[0]),yt=k(ht,.5),Ct=k(ht,.51);ot.push(W(Yt,yt),W(Yt,Ct),N(Yt,Ct),N(Yt,yt))}let pt=S(function(ht){return[-ht[0],-ht[1]]}(s[s.length-1].vector));if(Se||me&&s.length===1)mt.push(lt);else if(He){let ht=H(lt,pt,ft);for(let yt=.034482758620689655,Ct=yt;Ct<1;Ct+=yt)mt.push(G(ht,lt,3*b*Ct))}else mt.push(N(lt,k(pt,ft)),N(lt,k(pt,.99*ft)),W(lt,k(pt,.99*ft)),W(lt,k(pt,ft)))}return Ye.concat(mt,Qe.reverse(),ot)}(function(s,O={}){var z;let{streamline:K=.5,size:$=16,last:Q=!1}=O;if(s.length===0)return[];let ae=.15+.85*(1-K),be=Array.isArray(s[0])?s:s.map(({x:Ve,y:Je,pressure:Me=.5})=>[Ve,Je,Me]);if(be.length===2){let Ve=be[1];be=be.slice(0,-1);for(let Je=1;Je<5;Je++)be.push(U(be[0],Ve,Je/4))}be.length===1&&(be=[...be,[...N(be[0],[1,1]),...be[0].slice(2)]]);let Ce=[{point:[be[0][0],be[0][1]],pressure:be[0][2]>=0?be[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],Ze=!1,Be=0,Te=Ce[0],He=be.length-1;for(let Ve=1;Ve<be.length;Ve++){let Je=Q&&Ve===He?be[Ve].slice(0,2):U(Te.point,be[Ve],ae);if(ce(Te.point,Je))continue;let Me=le(Je,Te.point);if(Be+=Me,Ve<He&&!Ze){if(Be<$)continue;Ze=!0}Te={point:Je,pressure:be[Ve][2]>=0?be[Ve][2]:.5,vector:ve(W(Te.point,Je)),distance:Me,runningLength:Be},Ce.push(Te)}return Ce[0].vector=((z=Ce[1])==null?void 0:z.vector)||[0,0],Ce}(j,i),i)}var h=t(4761),d=t(7422),r=t(761),n=t(4682),p=t(8020),a=t(2921);function l(j,i){var s=Object.keys(j);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(j);i&&(O=O.filter(function(z){return Object.getOwnPropertyDescriptor(j,z).enumerable})),s.push.apply(s,O)}return s}function u(j){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?l(Object(s),!0).forEach(function(O){(0,e.Z)(j,O,s[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(s)):l(Object(s)).forEach(function(O){Object.defineProperty(j,O,Object.getOwnPropertyDescriptor(s,O))})}return j}var C="invert(100%) hue-rotate(180deg) saturate(1.25)",L=(0,c.im)(),_=function(j,i){return(0,w.wi)(j)&&!i.imageCache.has(j.fileId)},E=function(j,i,s){var O;return s.theme==="dark"&&(0,w.wi)(j)&&!_(j,i)&&((O=i.imageCache.get(j.fileId))===null||O===void 0?void 0:O.mimeType)!==f.LO.svg},D=function(j){return j.type==="freedraw"?12*j.strokeWidth:20},F=function(j,i,s,O){var z,K,$=document.createElement("canvas"),Q=$.getContext("2d"),ae=D(j),be=function(Ne,Ye){var Qe=16777216,rt=32767,ft=D(Ne),at=(0,m.qf)(Ne),ut=(0,P.Z)(at,4),Ot=ut[0],Pt=ut[1],Et=ut[2],Mt=ut[3],Yt=(0,w.bt)(Ne)||(0,w.F9)(Ne)?(0,v.TE)(Ot,Et):Ne.width,lt=(0,w.bt)(Ne)||(0,w.F9)(Ne)?(0,v.TE)(Pt,Mt):Ne.height,ot=Yt*window.devicePixelRatio+2*ft,mt=lt*window.devicePixelRatio+2*ft,pt=Ye.value;return(ot*pt>rt||mt*pt>rt)&&(pt=Math.min(rt/ot,rt/mt)),ot*mt*pt*pt>Qe&&(pt=Math.sqrt(Qe/(ot*mt))),{width:ot=Math.floor(ot*pt),height:mt=Math.floor(mt*pt),scale:pt}}(j,i),Ce=be.width,Ze=be.height,Be=be.scale;$.width=Ce,$.height=Ze;var Te=0,He=0;if((0,w.bt)(j)||(0,w.F9)(j)){var Ve=(0,m.qf)(j),Je=(0,P.Z)(Ve,2),Me=Je[0],me=Je[1];Te=j.x>Me?(0,v.TE)(j.x,Me)*window.devicePixelRatio*Be:0,He=j.y>me?(0,v.TE)(j.y,me)*window.devicePixelRatio*Be:0,Q.translate(Te,He)}Q.save(),Q.translate(ae*Be,ae*Be),Q.scale(window.devicePixelRatio*Be,window.devicePixelRatio*Be);var Se=x.Z.canvas($);return E(j,s,O)&&(Q.filter=C),oe(j,Se,Q,s,O),Q.restore(),{element:j,canvas:$,theme:O.theme,scale:Be,zoomValue:i.value,canvasOffsetX:Te,canvasOffsetY:He,boundTextElementVersion:((z=(0,h.WJ)(j))===null||z===void 0?void 0:z.version)||null,containingFrameOpacity:((K=(0,n.$Z)(j))===null||K===void 0?void 0:K.opacity)||100}},ee=14,te=document.createElement("img");te.src="data:".concat(f.LO.svg,",").concat(encodeURIComponent('<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="image" class="svg-inline--fa fa-image fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#888" d="M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"></path></svg>'));var re=document.createElement("img");re.src="data:".concat(f.LO.svg,",").concat(encodeURIComponent('<svg viewBox="0 0 668 668" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><path d="M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48ZM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56ZM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48Z" style="fill:#888;fill-rule:nonzero" transform="matrix(.81709 0 0 .81709 124.825 145.825)"/><path d="M256 8C119.034 8 8 119.033 8 256c0 136.967 111.034 248 248 248s248-111.034 248-248S392.967 8 256 8Zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676ZM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676Z" style="fill:#888;fill-rule:nonzero" transform="matrix(.30366 0 0 .30366 506.822 60.065)"/></svg>'));var oe=function(j,i,s,O,z){var K,$;switch(s.globalAlpha=((K=($=(0,n.$Z)(j))===null||$===void 0?void 0:$.opacity)!==null&&K!==void 0?K:100)*j.opacity/1e4,j.type){case"rectangle":case"embeddable":case"diamond":case"ellipse":s.lineJoin="round",s.lineCap="round",i.draw(a.R.get(j));break;case"arrow":case"line":s.lineJoin="round",s.lineCap="round",a.R.get(j).forEach(function(me){i.draw(me)});break;case"freedraw":s.save(),s.fillStyle=j.strokeColor;var Q=function(me){return Ee.get(me)}(j),ae=a.R.get(j);ae&&i.draw(ae),s.fillStyle=j.strokeColor,s.fill(Q),s.restore();break;case"image":var be,Ce=(0,w.wi)(j)?(be=O.imageCache.get(j.fileId))===null||be===void 0?void 0:be.image:void 0;Ce==null||Ce instanceof Promise?function(me,Se,Ne){Se.fillStyle="#E7E7E7",Se.fillRect(0,0,me.width,me.height);var Ye=Math.min(me.width,me.height),Qe=Math.min(Ye,Math.min(.4*Ye,100));Se.drawImage(me.status==="error"?re:te,me.width/2-Qe/2,me.height/2-Qe/2,Qe,Qe)}(j,s,z.zoom.value):s.drawImage(Ce,0,0,j.width,j.height);break;default:if(!(0,w.iB)(j))throw new Error("Unimplemented type ".concat(j.type));var Ze=(0,v.dZ)(j.text),Be=Ze&&!s.canvas.isConnected;Be&&document.body.appendChild(s.canvas),s.canvas.setAttribute("dir",Ze?"rtl":"ltr"),s.save(),s.font=(0,v.mO)(j),s.fillStyle=j.strokeColor,s.textAlign=j.textAlign;for(var Te=j.text.replace(/\r\n?/g,` +`).split(` +`),He=j.textAlign==="center"?j.width/2:j.textAlign==="right"?j.width:0,Ve=(0,h.Rg)(j.fontSize,j.lineHeight),Je=j.height-j.baseline,Me=0;Me<Te.length;Me++)s.fillText(Te[Me],He,(Me+1)*Ve-Je);s.restore(),Be&&s.canvas.remove()}s.globalAlpha=1},Y=new WeakMap,V=function(j,i,s){var O,z,K=i?s.zoom:L.zoom,$=Y.get(j),Q=$&&$.zoomValue!==K.value&&!(s!=null&&s.shouldCacheIgnoreZoom),ae=((O=(0,h.WJ)(j))===null||O===void 0?void 0:O.version)||null,be=((z=(0,n.$Z)(j))===null||z===void 0?void 0:z.opacity)||100;if(!$||Q||$.theme!==s.theme||$.boundTextElementVersion!==ae||$.containingFrameOpacity!==be){var Ce=F(j,K,i,s);return Y.set(j,Ce),Ce}return $},ie=function(j,i,s,O){var z=j.element,K=D(z),$=j.scale,Q=(0,m.qf)(z),ae=(0,P.Z)(Q,4),be=ae[0],Ce=ae[1],Ze=ae[2],Be=ae[3];(0,w.F9)(z)&&(be=Math.floor(be),Ze=Math.ceil(Ze),Ce=Math.floor(Ce),Be=Math.ceil(Be));var Te=((be+Ze)/2+O.scrollX)*window.devicePixelRatio,He=((Ce+Be)/2+O.scrollY)*window.devicePixelRatio;i.save(),i.scale(1/window.devicePixelRatio,1/window.devicePixelRatio);var Ve=(0,h.WJ)(z);if((0,w.Yv)(z)&&Ve){var Je=document.createElement("canvas"),Me=Je.getContext("2d"),me=Math.max((0,v.TE)(be,Ze),(0,v.TE)(Ce,Be));Je.width=me*window.devicePixelRatio*$+K*j.scale*10,Je.height=me*window.devicePixelRatio*$+K*j.scale*10;var Se=(Je.width-j.canvas.width)/2,Ne=(Je.height-j.canvas.height)/2;Me.translate(Je.width/2,Je.height/2),Me.rotate(z.angle),Me.drawImage(j.canvas,-j.canvas.width/2,-j.canvas.height/2,j.canvas.width,j.canvas.height);var Ye=(0,m.qf)(Ve),Qe=(0,P.Z)(Ye,6),rt=Qe[4],ft=Qe[5];Me.rotate(-z.angle);var at=Je.width/2-(rt-be)*window.devicePixelRatio*$-Se-K*$,ut=Je.height/2-(ft-Ce)*window.devicePixelRatio*$-Ne-K*$;Me.translate(-at,-ut),Me.clearRect(-(Ve.width/2+f.gK)*window.devicePixelRatio*$,-(Ve.height/2+f.gK)*window.devicePixelRatio*$,(Ve.width+2*f.gK)*window.devicePixelRatio*$,(Ve.height+2*f.gK)*window.devicePixelRatio*$),i.translate(Te,He),i.drawImage(Je,-(Ze-be)/2*window.devicePixelRatio-Se/$-K,-(Be-Ce)/2*window.devicePixelRatio-Ne/$-K,Je.width/$,Je.height/$)}else if(i.translate(Te,He),i.rotate(z.angle),"scale"in j.element&&!_(z,s)&&i.scale(j.element.scale[0],j.element.scale[1]),i.translate(-Te,-He),i.drawImage(j.canvas,(be+O.scrollX)*window.devicePixelRatio-K*j.scale/j.scale,(Ce+O.scrollY)*window.devicePixelRatio-K*j.scale/j.scale,j.canvas.width/j.scale,j.canvas.height/j.scale),{VITE_APP_BACKEND_V2_GET_URL:"https://json.excalidraw.com/api/v2/",VITE_APP_BACKEND_V2_POST_URL:"https://json.excalidraw.com/api/v2/post/",VITE_APP_LIBRARY_URL:"https://libraries.excalidraw.com",VITE_APP_LIBRARY_BACKEND:"https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries",VITE_APP_PORTAL_URL:"https://portal.excalidraw.com",VITE_APP_PLUS_LP:"https://plus.excalidraw.com",VITE_APP_PLUS_APP:"https://app.excalidraw.com",VITE_APP_WS_SERVER_URL:"",VITE_APP_FIREBASE_CONFIG:'{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}',VITE_APP_DISABLE_TRACKING:"",VITE_PKG_NAME:"@excalidraw/excalidraw",VITE_PKG_VERSION:"0.17.3",VITE_IS_EXCALIDRAW_NPM_PACKAGE:!0}.VITE_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX==="true"&&(0,w.Xo)(z)){var Ot=(0,h.WJ)(z),Pt=(0,h.cw)(z);i.strokeStyle="#c92a2a",i.lineWidth=3,i.strokeRect((Pt.x+O.scrollX)*window.devicePixelRatio,(Pt.y+O.scrollY)*window.devicePixelRatio,(0,h.iZ)(z)*window.devicePixelRatio,(0,h.D9)(z,Ot)*window.devicePixelRatio)}i.restore()},we=function(j,i,s){i.save(),i.translate(j.x+s.scrollX,j.y+s.scrollY),i.fillStyle="rgba(0, 0, 200, 0.04)";var O=.5/s.zoom.value;i.fillRect(O,O,j.width,j.height),i.lineWidth=1/s.zoom.value,i.strokeStyle=" rgb(105, 101, 219)",i.strokeRect(O,O,j.width,j.height),i.restore()},Ae=function(j,i,s,O,z){switch(j.type){case"frame":z.frameRendering.enabled&&z.frameRendering.outline&&(s.save(),s.translate(j.x+z.scrollX,j.y+z.scrollY),s.fillStyle="rgba(0, 0, 200, 0.04)",s.lineWidth=f.iG.strokeWidth/z.zoom.value,s.strokeStyle=f.iG.strokeColor,f.iG.radius&&s.roundRect?(s.beginPath(),s.roundRect(0,0,j.width,j.height,f.iG.radius/z.zoom.value),s.stroke(),s.closePath()):s.strokeRect(0,0,j.width,j.height),s.restore());break;case"freedraw":if(a.R.generateElementShape(j),O.isExporting){var K=(0,m.qf)(j),$=(0,P.Z)(K,4),Q=$[0],ae=$[1],be=$[2],Ce=$[3],Ze=(Q+be)/2+z.scrollX,Be=(ae+Ce)/2+z.scrollY,Te=(be-Q)/2-(j.x-Q),He=(Ce-ae)/2-(j.y-ae);s.save(),s.translate(Ze,Be),s.rotate(j.angle),s.translate(-Te,-He),oe(j,i,s,O,z),s.restore()}else{var Ve=V(j,O,z);ie(Ve,s,O,z)}break;case"rectangle":case"diamond":case"ellipse":case"line":case"arrow":case"image":case"text":case"embeddable":if(a.R.generateElementShape(j,O.isExporting),O.isExporting){var Je=(0,m.qf)(j),Me=(0,P.Z)(Je,4),me=Me[0],Se=Me[1],Ne=Me[2],Ye=Me[3],Qe=(me+Ne)/2+z.scrollX,rt=(Se+Ye)/2+z.scrollY,ft=(Ne-me)/2-(j.x-me),at=(Ye-Se)/2-(j.y-Se);if((0,w.iB)(j)){var ut=(0,h.tl)(j);if((0,w.Yv)(ut)){var Ot=d._.getBoundTextElementPosition(ut,j);ft=(Ne-me)/2-(Ot.x-me),at=(Ye-Se)/2-(Ot.y-Se)}}s.save(),s.translate(Qe,rt),E(j,O,z)&&(s.filter="none");var Pt=(0,h.WJ)(j);if((0,w.Yv)(j)&&Pt){var Et=document.createElement("canvas"),Mt=Et.getContext("2d"),Yt=Math.max((0,v.TE)(me,Ne),(0,v.TE)(Se,Ye)),lt=D(j);Et.width=Yt*z.exportScale+10*lt*z.exportScale,Et.height=Yt*z.exportScale+10*lt*z.exportScale,Mt.translate(Et.width/2,Et.height/2),Mt.scale(z.exportScale,z.exportScale),ft=j.width/2-(j.x-me),at=j.height/2-(j.y-Se),Mt.rotate(j.angle);var ot=x.Z.canvas(Et);Mt.translate(-ft,-at),oe(j,ot,Mt,O,z),Mt.translate(ft,at),Mt.rotate(-j.angle);var mt=(0,m.qf)(Pt),pt=(0,P.Z)(mt,6),ht=(me+Ne)/2-pt[4],yt=(Se+Ye)/2-pt[5];Mt.translate(-ht,-yt),Mt.clearRect(-Pt.width/2,-Pt.height/2,Pt.width,Pt.height),s.scale(1/z.exportScale,1/z.exportScale),s.drawImage(Et,-Et.width/2,-Et.height/2,Et.width,Et.height)}else s.rotate(j.angle),j.type==="image"&&s.scale(j.scale[0],j.scale[1]),s.translate(-ft,-at),oe(j,i,s,O,z);s.restore()}else{var Ct=V(j,O,z),Bt=s.imageSmoothingEnabled;z!=null&&z.shouldCacheIgnoreZoom||j.angle&&!(0,I.EK)(j.angle)||(s.imageSmoothingEnabled=!1),ie(Ct,s,O,z),s.imageSmoothingEnabled=Bt}break;default:throw new Error("Unimplemented type ".concat(j.type))}},Re=function(j,i,s){if(s===void 0)return j.draw(i);var O={sets:i.sets,shape:i.shape,options:u(u({},i.options),{},{fixedDecimalPlaceDigits:s})};return j.draw(O)},je=function(j,i,s,O){if(!O.enabled||!O.clip)return null;var z=(0,n.$Z)(j);if(z){var K=i.ownerDocument.createElementNS(f.hR,"g");return K.setAttributeNS(f.hR,"clip-path","url(#".concat(z.id,")")),s.forEach(function($){return K.appendChild($)}),K}return null},ye=function j(i,s,O,z,K,$,Q){var ae,be,Ce=K,Ze=$,Be=(0,m.qf)(i),Te=(0,P.Z)(Be,4),He=Te[0],Ve=Te[1],Je=Te[2],Me=Te[3],me=(Je-He)/2-(i.x-He),Se=(Me-Ve)/2-(i.y-Ve);if((0,w.iB)(i)){var Ne=(0,h.tl)(i);if((0,w.Yv)(Ne)){var Ye=(0,m.qf)(Ne),Qe=(0,P.Z)(Ye,4),rt=Qe[0],ft=Qe[1],at=Qe[2],ut=Qe[3],Ot=d._.getBoundTextElementPosition(Ne,i);me=(at-rt)/2-(Ot.x-rt),Se=(ut-ft)/2-(Ot.y-ft),K=K+Ot.x-i.x,$=$+Ot.y-i.y}}var Pt=180*i.angle/Math.PI,Et=O;if(i.link){var Mt=O.ownerDocument.createElementNS(f.hR,"a");Mt.setAttribute("href",(0,p.$u)(i.link)),Et.appendChild(Mt),Et=Mt}var Yt=function(Ln,We){(0,v.h2)()&&Ln.setAttribute("data-id",We.id),Et.appendChild(Ln)},lt=((ae=(be=(0,n.$Z)(i))===null||be===void 0?void 0:be.opacity)!==null&&ae!==void 0?ae:100)*i.opacity/1e4;switch(i.type){case"selection":throw new Error("Selection rendering is not supported for SVG");case"rectangle":case"diamond":case"ellipse":var ot=a.R.generateElementShape(i),mt=Re(s,ot,f.zK);lt!==1&&(mt.setAttribute("stroke-opacity","".concat(lt)),mt.setAttribute("fill-opacity","".concat(lt))),mt.setAttribute("stroke-linecap","round"),mt.setAttribute("transform","translate(".concat(K||0," ").concat($||0,") rotate(").concat(Pt," ").concat(me," ").concat(Se,")")),Yt(je(i,Et,[mt],Q.frameRendering)||mt,i);break;case"embeddable":var pt=a.R.generateElementShape(i,!0),ht=Re(s,pt,f.zK),yt=i.opacity/100;yt!==1&&(ht.setAttribute("stroke-opacity","".concat(yt)),ht.setAttribute("fill-opacity","".concat(yt))),ht.setAttribute("stroke-linecap","round"),ht.setAttribute("transform","translate(".concat(K||0," ").concat($||0,") rotate(").concat(Pt," ").concat(me," ").concat(Se,")")),Yt(ht,i);var Ct=(0,r.g0)(i);j(Ct,s,Et,z,Ct.x+Ce-i.x,Ct.y+Ze-i.y,Q);var Bt=Re(s,pt,f.zK);for(Bt.setAttribute("stroke-linecap","round"),Bt.setAttribute("transform","translate(".concat(K||0," ").concat($||0,") rotate(").concat(Pt," ").concat(me," ").concat(Se,")"));Bt.firstChild;)Bt.removeChild(Bt.firstChild);var zt=(0,I.yW)(Math.min(i.width,i.height),i),tr=(0,r.LM)((0,p.ye)(i.link||""));if(Q.renderEmbeddables===!1||tr?.type==="document"){var cr=O.ownerDocument.createElementNS(f.hR,"a");cr.setAttribute("href",(0,p.$u)(i.link||"")),cr.setAttribute("target","_blank"),cr.setAttribute("rel","noopener noreferrer"),cr.style.borderRadius="".concat(zt,"px"),Bt.appendChild(cr)}else{var mr,Ft=O.ownerDocument.createElementNS(f.hR,"foreignObject");Ft.style.width="".concat(i.width,"px"),Ft.style.height="".concat(i.height,"px"),Ft.style.border="none";var xt=Ft.ownerDocument.createElementNS(f.hR,"div");xt.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),xt.style.width="100%",xt.style.height="100%";var At=xt.ownerDocument.createElement("iframe");At.src=(mr=tr?.link)!==null&&mr!==void 0?mr:"",At.style.width="100%",At.style.height="100%",At.style.border="none",At.style.borderRadius="".concat(zt,"px"),At.style.top="0",At.style.left="0",At.allowFullscreen=!0,xt.appendChild(At),Ft.appendChild(xt),Bt.appendChild(Ft)}Yt(Bt,i);break;case"line":case"arrow":var Tt=(0,h.WJ)(i),nr=O.ownerDocument.createElementNS(f.hR,"mask");if(Tt){nr.setAttribute("id","mask-".concat(i.id));var yr=O.ownerDocument.createElementNS(f.hR,"rect");K=K||0,$=$||0,yr.setAttribute("x","0"),yr.setAttribute("y","0"),yr.setAttribute("fill","#fff"),yr.setAttribute("width","".concat(i.width+100+K)),yr.setAttribute("height","".concat(i.height+100+$)),nr.appendChild(yr);var kr=O.ownerDocument.createElementNS(f.hR,"rect"),Tr=d._.getBoundTextElementPosition(i,Tt),Or=K+Tr.x-i.x,Rt=$+Tr.y-i.y;kr.setAttribute("x",Or.toString()),kr.setAttribute("y",Rt.toString()),kr.setAttribute("fill","#000"),kr.setAttribute("width","".concat(Tt.width)),kr.setAttribute("height","".concat(Tt.height)),kr.setAttribute("opacity","1"),nr.appendChild(kr)}var dt=O.ownerDocument.createElementNS(f.hR,"g");Tt&&dt.setAttribute("mask","url(#mask-".concat(i.id,")")),dt.setAttribute("stroke-linecap","round"),a.R.generateElementShape(i).forEach(function(Ln){var We=Re(s,Ln,f.zK);lt!==1&&(We.setAttribute("stroke-opacity","".concat(lt)),We.setAttribute("fill-opacity","".concat(lt))),We.setAttribute("transform","translate(".concat(K||0," ").concat($||0,") rotate(").concat(Pt," ").concat(me," ").concat(Se,")")),i.type==="line"&&(0,I.g6)(i.points)&&i.backgroundColor!=="transparent"&&We.setAttribute("fill-rule","evenodd"),dt.appendChild(We)});var gt=je(i,Et,[dt,nr],Q.frameRendering);gt?(Yt(gt,i),Et.appendChild(gt)):(Yt(dt,i),Et.append(nr));break;case"freedraw":var wt=a.R.generateElementShape(i),Ut=wt?Re(s,wt,f.zK):O.ownerDocument.createElementNS(f.hR,"g");lt!==1&&(Ut.setAttribute("stroke-opacity","".concat(lt)),Ut.setAttribute("fill-opacity","".concat(lt))),Ut.setAttribute("transform","translate(".concat(K||0," ").concat($||0,") rotate(").concat(Pt," ").concat(me," ").concat(Se,")")),Ut.setAttribute("stroke","none");var ar=O.ownerDocument.createElementNS(f.hR,"path");ar.setAttribute("fill",i.strokeColor),ar.setAttribute("d",ge(i)),Ut.appendChild(ar),Yt(je(i,Et,[Ut],Q.frameRendering)||Ut,i);break;case"image":var ir=Math.round(i.width),dr=Math.round(i.height),br=(0,w.wi)(i)&&z[i.fileId];if(br){var hr="image-".concat(br.id),Ir=O.querySelector("#".concat(hr));if(!Ir){(Ir=O.ownerDocument.createElementNS(f.hR,"symbol")).id=hr;var wr=O.ownerDocument.createElementNS(f.hR,"image");wr.setAttribute("width","100%"),wr.setAttribute("height","100%"),wr.setAttribute("href",br.dataURL),Ir.appendChild(wr),Et.prepend(Ir)}var sr=O.ownerDocument.createElementNS(f.hR,"use");if(sr.setAttribute("href","#".concat(hr)),Q.exportWithDarkMode&&br.mimeType!==f.LO.svg&&sr.setAttribute("filter",C),sr.setAttribute("width","".concat(ir)),sr.setAttribute("height","".concat(dr)),sr.setAttribute("opacity","".concat(lt)),i.scale[0]!==1||i.scale[1]!==1){var fr=i.scale[0]!==1?-ir:0,pr=i.scale[1]!==1?-dr:0;sr.setAttribute("transform","scale(".concat(i.scale[0],", ").concat(i.scale[1],") translate(").concat(fr," ").concat(pr,")"))}var jr=O.ownerDocument.createElementNS(f.hR,"g");jr.appendChild(sr),jr.setAttribute("transform","translate(".concat(K||0," ").concat($||0,") rotate(").concat(Pt," ").concat(me," ").concat(Se,")")),Yt(je(i,Et,[jr],Q.frameRendering)||jr,i)}break;case"frame":if(Q.frameRendering.enabled&&Q.frameRendering.outline){var Pr=document.createElementNS(f.hR,"rect");Pr.setAttribute("transform","translate(".concat(K||0," ").concat($||0,") rotate(").concat(Pt," ").concat(me," ").concat(Se,")")),Pr.setAttribute("width","".concat(i.width,"px")),Pr.setAttribute("height","".concat(i.height,"px")),Pr.setAttribute("rx",f.iG.radius.toString()),Pr.setAttribute("ry",f.iG.radius.toString()),Pr.setAttribute("fill","none"),Pr.setAttribute("stroke",f.iG.strokeColor),Pr.setAttribute("stroke-width",f.iG.strokeWidth.toString()),Yt(Pr,i)}break;default:if(!(0,w.iB)(i))throw new Error("Unimplemented type ".concat(i.type));var Mr=O.ownerDocument.createElementNS(f.hR,"g");lt!==1&&(Mr.setAttribute("stroke-opacity","".concat(lt)),Mr.setAttribute("fill-opacity","".concat(lt))),Mr.setAttribute("transform","translate(".concat(K||0," ").concat($||0,") rotate(").concat(Pt," ").concat(me," ").concat(Se,")"));for(var $r=i.text.replace(/\r\n?/g,` +`).split(` +`),fn=(0,h.Rg)(i.fontSize,i.lineHeight),Mn=i.textAlign==="center"?i.width/2:i.textAlign==="right"?i.width:0,Zn=(0,v.dZ)(i.text)?"rtl":"ltr",zn=i.textAlign==="center"?"middle":i.textAlign==="right"||Zn==="rtl"?"end":"start",Cn=0;Cn<$r.length;Cn++){var vn=O.ownerDocument.createElementNS(f.hR,"text");vn.textContent=$r[Cn],vn.setAttribute("x","".concat(Mn)),vn.setAttribute("y","".concat(Cn*fn)),vn.setAttribute("font-family",(0,v.$g)(i)),vn.setAttribute("font-size","".concat(i.fontSize,"px")),vn.setAttribute("fill",i.strokeColor),vn.setAttribute("text-anchor",zn),vn.setAttribute("style","white-space: pre;"),vn.setAttribute("direction",Zn),vn.setAttribute("dominant-baseline","text-before-edge"),Mr.appendChild(vn)}Yt(je(i,Et,[Mr],Q.frameRendering)||Mr,i)}},Ee=new WeakMap([]);function Oe(j){var i=ge(j),s=new Path2D(i);return Ee.set(j,s),s}function ge(j){return function(i){if(!i.length)return"";var s=i.length-1;return i.reduce(function(O,z,K,$){return K===s?O.push(z,ue(z,$[0]),"L",$[0],"Z"):O.push(z,ue(z,$[K+1])),O},["M",i[0],"Q"]).join(" ").replace(se,"$1")}(y(j.simulatePressure?j.points:j.points.length?j.points.map(function(i,s){var O=(0,P.Z)(i,2);return[O[0],O[1],j.pressures[s]]}):[[0,0,.5]],{simulatePressure:j.simulatePressure,size:4.25*j.strokeWidth,thinning:.6,smoothing:.5,streamline:.5,easing:function(i){return Math.sin(i*Math.PI/2)},last:!!j.lastCommittedPoint}))}function ue(j,i){return[(j[0]+i[0])/2,(j[1]+i[1])/2]}var se=/(\s?[A-Z]?,?-?[0-9]*\.[0-9]{0,2})(([0-9]|e|-)*)/g},7766:function(et,fe,t){t.d(fe,{Lu:function(){return l},n_:function(){return we},tp:function(){return Y},M_:function(){return se},AW:function(){return ie}});var e,P=t(1930),w=t(2577),m=t(5284),v=t(7651),I=function(j,i,s,O,z,K,$){j.beginPath(),j.moveTo(i+K,s),j.lineTo(i+O-K,s),j.quadraticCurveTo(i+O,s,i+O,s+K),j.lineTo(i+O,s+z-K),j.quadraticCurveTo(i+O,s+z,i+O-K,s+z),j.lineTo(i+K,s+z),j.quadraticCurveTo(i,s+z,i,s+z-K),j.lineTo(i,s+K),j.quadraticCurveTo(i,s,i+K,s),j.closePath(),j.fill(),$&&(j.strokeStyle=$),j.stroke()},x=t(4726),c=t(9660),f=t(957),Z=t(7422),N=t(9215),W=t(3528),k=t(4048),S=t(9827);(function(j){j.ACTIVE="active",j.AWAY="away",j.IDLE="idle"})(e||(e={}));var J=t(9937),ce=t(5992);function he(j,i){var s=typeof Symbol<"u"&&j[Symbol.iterator]||j["@@iterator"];if(!s){if(Array.isArray(j)||(s=function(ae,be){if(ae){if(typeof ae=="string")return ve(ae,be);var Ce=Object.prototype.toString.call(ae).slice(8,-1);if(Ce==="Object"&&ae.constructor&&(Ce=ae.constructor.name),Ce==="Map"||Ce==="Set")return Array.from(ae);if(Ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce))return ve(ae,be)}}(j))||i&&j&&typeof j.length=="number"){s&&(j=s);var O=0,z=function(){};return{s:z,n:function(){return O>=j.length?{done:!0}:{done:!1,value:j[O++]}},e:function(ae){throw ae},f:z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var K,$=!0,Q=!1;return{s:function(){s=s.call(j)},n:function(){var ae=s.next();return $=ae.done,ae},e:function(ae){Q=!0,K=ae},f:function(){try{$||s.return==null||s.return()}finally{if(Q)throw K}}}}function ve(j,i){(i==null||i>j.length)&&(i=j.length);for(var s=0,O=new Array(i);s<i;s++)O[s]=j[s];return O}var le=function(j,i,s){if(!s.zenModeEnabled){var O=j.points[0],z=j.points[j.points.length-1];H(O,z,i)}var K,$=he(j.points);try{for($.s();!(K=$.n()).done;){var Q=K.value;U(Q,s,i)}}catch(ae){$.e(ae)}finally{$.f()}},G=function(j,i,s){U(j.points[0],s,i),s.zenModeEnabled||H(j.points[0],j.points[1],i)},U=function(j,i,s){var O=(0,w.Z)(j,2),z=O[0],K=O[1];s.save();var $=(i.zenModeEnabled?3:2)/i.zoom.value;s.beginPath(),s.moveTo(z-$,K-$),s.lineTo(z+$,K+$),s.moveTo(z+$,K-$),s.lineTo(z-$,K+$),s.stroke(),s.restore()},H=function(j,i,s){s.beginPath(),s.lineTo.apply(s,(0,P.Z)(j)),s.lineTo.apply(s,(0,P.Z)(i)),s.stroke()},M=function(j,i,s,O,z){var K=8/O.zoom.value,$=K/2,Q=K/4;if(s==="horizontal"){var ae=[(j[0]+i[0])/2,j[1]];O.zenModeEnabled||H([j[0],j[1]-K],[j[0],j[1]+K],z),H([ae[0]-Q,ae[1]-$],[ae[0]-Q,ae[1]+$],z),H([ae[0]+Q,ae[1]-$],[ae[0]+Q,ae[1]+$],z),O.zenModeEnabled||(H([i[0],i[1]-K],[i[0],i[1]+K],z),H(j,i,z))}else{var be=[j[0],(j[1]+i[1])/2];O.zenModeEnabled||H([j[0]-K,j[1]],[j[0]+K,j[1]],z),H([be[0]-$,be[1]-Q],[be[0]+$,be[1]-Q],z),H([be[0]-$,be[1]+Q],[be[0]+$,be[1]+Q],z),O.zenModeEnabled||(H([i[0]-K,i[1]],[i[0]+K,i[1]],z),H(j,i,z))}},A=t(4183),b=t(761),y=t(4682),h=t(6655);function d(j,i){var s=typeof Symbol<"u"&&j[Symbol.iterator]||j["@@iterator"];if(!s){if(Array.isArray(j)||(s=function(ae,be){if(ae){if(typeof ae=="string")return r(ae,be);var Ce=Object.prototype.toString.call(ae).slice(8,-1);if(Ce==="Object"&&ae.constructor&&(Ce=ae.constructor.name),Ce==="Map"||Ce==="Set")return Array.from(ae);if(Ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce))return r(ae,be)}}(j))||i&&j&&typeof j.length=="number"){s&&(j=s);var O=0,z=function(){};return{s:z,n:function(){return O>=j.length?{done:!0}:{done:!1,value:j[O++]}},e:function(ae){throw ae},f:z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var K,$=!0,Q=!1;return{s:function(){s=s.call(j)},n:function(){var ae=s.next();return $=ae.done,ae},e:function(ae){Q=!0,K=ae},f:function(){try{$||s.return==null||s.return()}finally{if(Q)throw K}}}}function r(j,i){(i==null||i>j.length)&&(i=j.length);for(var s=0,O=new Array(i);s<i;s++)O[s]=j[s];return O}function n(j,i){var s=typeof Symbol<"u"&&j[Symbol.iterator]||j["@@iterator"];if(!s){if(Array.isArray(j)||(s=function(ae,be){if(ae){if(typeof ae=="string")return p(ae,be);var Ce=Object.prototype.toString.call(ae).slice(8,-1);if(Ce==="Object"&&ae.constructor&&(Ce=ae.constructor.name),Ce==="Map"||Ce==="Set")return Array.from(ae);if(Ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce))return p(ae,be)}}(j))||i&&j&&typeof j.length=="number"){s&&(j=s);var O=0,z=function(){};return{s:z,n:function(){return O>=j.length?{done:!0}:{done:!1,value:j[O++]}},e:function(ae){throw ae},f:z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var K,$=!0,Q=!1;return{s:function(){s=s.call(j)},n:function(){var ae=s.next();return $=ae.done,ae},e:function(ae){Q=!0,K=ae},f:function(){try{$||s.return==null||s.return()}finally{if(Q)throw K}}}}function p(j,i){(i==null||i>j.length)&&(i=j.length);for(var s=0,O=new Array(i);s<i;s++)O[s]=j[s];return O}(function(){var j,i,s,O,z,K;(i=(j=Path2D.prototype).roundRect)!==null&&i!==void 0||(j.roundRect=$),globalThis.CanvasRenderingContext2D&&((O=(s=globalThis.CanvasRenderingContext2D.prototype).roundRect)!==null&&O!==void 0||(s.roundRect=$)),globalThis.OffscreenCanvasRenderingContext2D&&((K=(z=globalThis.OffscreenCanvasRenderingContext2D.prototype).roundRect)!==null&&K!==void 0||(z.roundRect=$));function $(ae,be,Ce,Ze,Be){if([ae,be,Ce,Ze].every(function(Qe){return Number.isFinite(Qe)})){var Te,He,Ve,Je;if((Be=function(Qe){var rt=(0,h.Z)(Qe);return rt==="undefined"||Qe===null?[0]:rt==="function"?[NaN]:rt==="object"?typeof Qe[Symbol.iterator]=="function"?(0,P.Z)(Qe).map(function(ft){var at=(0,h.Z)(ft);return at==="undefined"||ft===null?0:at==="function"?NaN:at==="object"?Se(ft):Ne(ft)}):[Se(Qe)]:[Ne(Qe)]}(Be)).length===4)Te=Ye(Be[0]),He=Ye(Be[1]),Ve=Ye(Be[2]),Je=Ye(Be[3]);else if(Be.length===3)Te=Ye(Be[0]),He=Ye(Be[1]),Je=Ye(Be[1]),Ve=Ye(Be[2]);else if(Be.length===2)Te=Ye(Be[0]),Ve=Ye(Be[0]),He=Ye(Be[1]),Je=Ye(Be[1]);else{if(Be.length!==1)throw new RangeError("".concat(Q(this)," ").concat(Be.length," is not a valid size for radii sequence."));Te=Ye(Be[0]),He=Ye(Be[0]),Ve=Ye(Be[0]),Je=Ye(Be[0])}var Me=[Te,He,Ve,Je],me=Me.find(function(Qe){var rt=Qe.x,ft=Qe.y;return rt<0||ft<0});if(me?.x<0?me.x:me?.y,!Me.some(function(Qe){var rt=Qe.x,ft=Qe.y;return!Number.isFinite(rt)||!Number.isFinite(ft)})){if(me)throw new RangeError("".concat(Q(this)," Radius value ").concat(me," is negative."));(function(Qe){var rt=(0,w.Z)(Qe,4),ft=rt[0],at=rt[1],ut=rt[2],Ot=rt[3],Pt=[Math.abs(Ce)/(ft.x+at.x),Math.abs(Ze)/(at.y+ut.y),Math.abs(Ce)/(ut.x+Ot.x),Math.abs(Ze)/(ft.y+Ot.y)],Et=Math.min.apply(Math,Pt);if(Et<=1){var Mt,Yt=d(Qe);try{for(Yt.s();!(Mt=Yt.n()).done;){var lt=Mt.value;lt.x*=Et,lt.y*=Et}}catch(ot){Yt.e(ot)}finally{Yt.f()}}})(Me),Ce<0&&Ze<0?(this.moveTo(ae-Te.x,be),this.ellipse(ae+Ce+He.x,be-He.y,He.x,He.y,0,1.5*-Math.PI,-Math.PI),this.ellipse(ae+Ce+Ve.x,be+Ze+Ve.y,Ve.x,Ve.y,0,-Math.PI,-Math.PI/2),this.ellipse(ae-Je.x,be+Ze+Je.y,Je.x,Je.y,0,-Math.PI/2,0),this.ellipse(ae-Te.x,be-Te.y,Te.x,Te.y,0,0,-Math.PI/2)):Ce<0?(this.moveTo(ae-Te.x,be),this.ellipse(ae+Ce+He.x,be+He.y,He.x,He.y,0,-Math.PI/2,-Math.PI,1),this.ellipse(ae+Ce+Ve.x,be+Ze-Ve.y,Ve.x,Ve.y,0,-Math.PI,1.5*-Math.PI,1),this.ellipse(ae-Je.x,be+Ze-Je.y,Je.x,Je.y,0,Math.PI/2,0,1),this.ellipse(ae-Te.x,be+Te.y,Te.x,Te.y,0,0,-Math.PI/2,1)):Ze<0?(this.moveTo(ae+Te.x,be),this.ellipse(ae+Ce-He.x,be-He.y,He.x,He.y,0,Math.PI/2,0,1),this.ellipse(ae+Ce-Ve.x,be+Ze+Ve.y,Ve.x,Ve.y,0,0,-Math.PI/2,1),this.ellipse(ae+Je.x,be+Ze+Je.y,Je.x,Je.y,0,-Math.PI/2,-Math.PI,1),this.ellipse(ae+Te.x,be-Te.y,Te.x,Te.y,0,-Math.PI,1.5*-Math.PI,1)):(this.moveTo(ae+Te.x,be),this.ellipse(ae+Ce-He.x,be+He.y,He.x,He.y,0,-Math.PI/2,0),this.ellipse(ae+Ce-Ve.x,be+Ze-Ve.y,Ve.x,Ve.y,0,0,Math.PI/2),this.ellipse(ae+Je.x,be+Ze-Je.y,Je.x,Je.y,0,Math.PI/2,Math.PI),this.ellipse(ae+Te.x,be+Te.y,Te.x,Te.y,0,Math.PI,1.5*Math.PI)),this.closePath(),this.moveTo(ae,be)}}function Se(Qe){return{x:Qe.x,y:Qe.y,z:Qe.z,w:Qe.w}}function Ne(Qe){return+Qe}function Ye(Qe){var rt,ft,at=Ne(Qe);return Number.isFinite(at)?{x:at,y:at}:Object(Qe)===Qe?{x:Ne((rt=Qe.x)!==null&&rt!==void 0?rt:0),y:Ne((ft=Qe.y)!==null&&ft!==void 0?ft:0)}:{x:NaN,y:NaN}}}function Q(ae){return"Failed to execute 'roundRect' on '".concat(function(be){return Object(be)===be&&be instanceof Path2D?"Path2D":be instanceof globalThis?.CanvasRenderingContext2D?"CanvasRenderingContext2D":be instanceof globalThis?.OffscreenCanvasRenderingContext2D?"OffscreenCanvasRenderingContext2D":be?.constructor.name||be}(ae),"':")}})();var a,l=2,u=function(j,i,s,O,z,K,$,Q){var ae=arguments.length>8&&arguments[8]!==void 0&&arguments[8],be=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0;j.save(),j.translate(K,$),j.rotate(Q),ae&&j.fillRect(i-K,s-$,O,z),be&&j.roundRect?(j.beginPath(),j.roundRect(i-K,s-$,O,z,be),j.stroke(),j.closePath()):j.strokeRect(i-K,s-$,O,z),j.restore()},C=function(j,i,s,O){var z=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4];j.beginPath(),j.arc(i,s,O,0,2*Math.PI),j.fill(),z&&j.stroke()},L=function(j,i,s,O,z){var K=arguments.length>5&&arguments[5]!==void 0&&arguments[5];j.strokeStyle="#5e5ad8",j.setLineDash([]),j.fillStyle="rgba(255, 255, 255, 0.9)",z?j.fillStyle="rgba(134, 131, 226, 0.9)":K&&(j.fillStyle="rgba(177, 151, 252, 0.7)"),C(j,s[0],s[1],O/i.zoom.value,!K)},_=function(j,i,s){if(i.selectedLinearElement){j.save(),j.translate(i.scrollX,i.scrollY),j.lineWidth=1/i.zoom.value;var O=Z._.getPointsGlobalCoordinates(s),z=Z._.POINT_HANDLE_SIZE,K=i.editingLinearElement?z:z/2;O.forEach(function($,Q){var ae,be,Ce=!((ae=i.editingLinearElement)===null||ae===void 0||(be=ae.selectedPointsIndices)===null||be===void 0||!be.includes(Q));L(j,i,$,K,Ce)}),Z._.getEditorMidPoints(s,i).filter(function($){return $!==null}).forEach(function($){var Q;i!=null&&(Q=i.selectedLinearElement)!==null&&Q!==void 0&&Q.segmentMidPointHoveredCoords&&Z._.arePointsEqual($,i.selectedLinearElement.segmentMidPointHoveredCoords)?i.editingLinearElement?(L(j,i,$,K,!1),E($,j,i)):(E($,j,i),L(j,i,$,K,!1)):(i.editingLinearElement||O.length===2)&&L(j,i,$,z/2,!1,!0)}),j.restore()}},E=function(j,i,s){i.fillStyle="rgba(105, 101, 219, 0.4)",C(i,j[0],j[1],Z._.POINT_HANDLE_SIZE/s.zoom.value,!1)},D=function(j,i,s,O){i.translate(j.x+O.scrollX,j.y+O.scrollY),i.beginPath(),i.roundRect?i.roundRect(0,0,j.width,j.height,J.iG.radius/O.zoom.value):i.rect(0,0,j.width,j.height),i.clip(),i.translate(-(j.x+O.scrollX),-(j.y+O.scrollY))},F=function(j,i){return[j.width/i,j.height/i]},ee=function(j){var i=j.canvas,s=j.scale,O=j.normalizedWidth,z=j.normalizedHeight,K=j.theme,$=j.isExporting,Q=j.viewBackgroundColor,ae=i.getContext("2d");return ae.setTransform(1,0,0,1,0,0),ae.scale(s,s),$&&K==="dark"&&(ae.filter=J.ZF),typeof Q=="string"?((Q==="transparent"||Q.length===5||Q.length===9||/(hsla|rgba)\(/.test(Q))&&ae.clearRect(0,0,O,z),ae.save(),ae.fillStyle=Q,ae.fillRect(0,0,O,z),ae.restore()):ae.clearRect(0,0,O,z),ae},te=function(j){var i,s=j.canvas,O=j.elements,z=j.visibleElements,K=j.selectedElements,$=j.scale,Q=j.appState,ae=j.renderConfig;if(s===null)return{atLeastOneVisibleElement:!1,elements:O};var be=F(s,$),Ce=(0,w.Z)(be,2),Ze=Ce[0],Be=Ce[1],Te=ee({canvas:s,scale:$,normalizedWidth:Ze,normalizedHeight:Be});Te.save(),Te.scale(Q.zoom.value,Q.zoom.value);var He=void 0;if(z.forEach(function(dt){var gt;((gt=Q.editingLinearElement)===null||gt===void 0?void 0:gt.elementId)===dt.id&&dt&&(He=dt)}),He&&_(Te,Q,He),Q.selectionElement)try{(0,c.uI)(Q.selectionElement,Te,Q)}catch(dt){console.error(dt)}Q.isBindingEnabled&&Q.suggestedBindings.filter(function(dt){return dt!=null}).forEach(function(dt){je(Te,Q,dt)}),Q.frameToHighlight&&Ee(Te,Q,Q.frameToHighlight),Q.elementsToHighlight&&Oe(Te,Q,Q.elementsToHighlight);var Ve,Je=K.some(function(dt){return(0,A.He)(dt)});if(K.length===1&&((i=Q.editingLinearElement)===null||i===void 0?void 0:i.elementId)===K[0].id&&_(Te,Q,K[0]),Q.selectedLinearElement&&Q.selectedLinearElement.hoverPointIndex>=0&&function(dt,gt){var wt,Ut,ar=gt.selectedLinearElement,ir=ar.elementId,dr=ar.hoverPointIndex;if((wt=gt.editingLinearElement)===null||wt===void 0||(Ut=wt.selectedPointsIndices)===null||Ut===void 0||!Ut.includes(dr)){var br=Z._.getElement(ir);if(br){var hr=Z._.getPointAtIndexGlobalCoordinates(br,dr);dt.save(),dt.translate(gt.scrollX,gt.scrollY),E(hr,dt,gt),dt.restore()}}}(Te,Q),!Q.multiElement&&!Q.editingLinearElement){var Me,me=(0,k.oY)(K,Q);K.length===1&&(0,A.bt)(K[0])&&((Me=Q.selectedLinearElement)===null||Me===void 0?void 0:Me.elementId)===K[0].id&&!K[0].locked&&_(Te,Q,K[0]);var Se=ae.selectionColor||m.black;if(me){var Ne,Ye=K.reduce(function(dt,gt){return dt[gt.id]=!0,dt},{}),Qe=O.reduce(function(dt,gt){var wt=[];if(Ye[gt.id]&&!(0,N.zq)(Q,gt)&&wt.push(Se),ae.remoteSelectedElementIds[gt.id]&&wt.push.apply(wt,(0,P.Z)(ae.remoteSelectedElementIds[gt.id].map(function(fr){return(0,f.G)(fr)}))),wt.length){var Ut,ar=(0,v.qf)(gt,!0),ir=(0,w.Z)(ar,6),dr=ir[0],br=ir[1],hr=ir[2],Ir=ir[3],wr=ir[4],sr=ir[5];dt.push({angle:gt.angle,elementX1:dr,elementY1:br,elementX2:hr,elementY2:Ir,selectionColors:wt,dashed:!!ae.remoteSelectedElementIds[gt.id],cx:wr,cy:sr,activeEmbeddable:((Ut=Q.activeEmbeddable)===null||Ut===void 0?void 0:Ut.element)===gt&&Q.activeEmbeddable.state==="active"})}return dt},[]),rt=function(dt){var gt=(0,N.Fb)(O,dt),wt=(0,v.KP)(gt),Ut=(0,w.Z)(wt,4),ar=Ut[0],ir=Ut[1],dr=Ut[2],br=Ut[3];Qe.push({angle:0,elementX1:ar,elementX2:dr,elementY1:ir,elementY2:br,selectionColors:[m.black],dashed:!0,cx:ar+(dr-ar)/2,cy:ir+(br-ir)/2,activeEmbeddable:!1})},ft=n((0,N.iJ)(Q));try{for(ft.s();!(Ne=ft.n()).done;)rt(Ne.value)}catch(dt){ft.e(dt)}finally{ft.f()}Q.editingGroupId&&rt(Q.editingGroupId),Qe.forEach(function(dt){return Re(Te,Q,dt)})}if(Te.save(),Te.translate(Q.scrollX,Q.scrollY),K.length===1){Te.fillStyle=m.white;var at=(0,v.PC)(K[0],Q.zoom,"mouse");!Q.viewModeEnabled&&me&&Ae(Te,ae,Q,at,K[0].angle)}else if(K.length>1&&!Q.isRotating){var ut=2*l/Q.zoom.value;Te.fillStyle=m.white;var Ot=(0,v.KP)(K),Pt=(0,w.Z)(Ot,4),Et=Pt[0],Mt=Pt[1],Yt=Pt[2],lt=Pt[3],ot=Te.getLineDash();Te.setLineDash([2/Q.zoom.value]);var mt=Te.lineWidth;Te.lineWidth=1/Q.zoom.value,Te.strokeStyle=Se,u(Te,Et-ut,Mt-ut,Yt-Et+2*ut,lt-Mt+2*ut,(Et+Yt)/2,(Mt+lt)/2,0),Te.lineWidth=mt,Te.setLineDash(ot);var pt=(0,v.kK)([Et,Mt,Yt,lt,(Et+Yt)/2,(Mt+lt)/2],0,Q.zoom,"mouse",Je?k.Fn:v.ox);K.some(function(dt){return!dt.locked})&&Ae(Te,ae,Q,pt,0)}Te.restore()}for(var ht in function(dt,gt){if(gt.snapLines.length){var wt=gt.theme==="light"||gt.zenModeEnabled?"#ff6b6b":"#ff0000",Ut=(gt.zenModeEnabled?1.5:1)/gt.zoom.value;dt.save(),dt.translate(gt.scrollX,gt.scrollY);var ar,ir=he(gt.snapLines);try{for(ir.s();!(ar=ir.n()).done;){var dr=ar.value;dr.type==="pointer"?(dt.lineWidth=Ut,dt.strokeStyle=wt,G(dr,dt,gt)):dr.type==="gap"?(dt.lineWidth=Ut,dt.strokeStyle=wt,M(dr.points[0],dr.points[1],dr.direction,gt,dt)):dr.type==="points"&&(dt.lineWidth=Ut,dt.strokeStyle=wt,le(dr,dt,gt))}}catch(br){ir.e(br)}finally{ir.f()}dt.restore()}}(Te,Q),Te.restore(),ae.remotePointerViewportCoords){var yt=ae.remotePointerViewportCoords[ht],Ct=yt.x,Bt=yt.y;Ct-=Q.offsetLeft,Bt-=Q.offsetTop;var zt=Ct<0||Ct>Ze-11||Bt<0||Bt>Be-14;Ct=Math.max(Ct,0),Ct=Math.min(Ct,Ze-11),Bt=Math.max(Bt,0),Bt=Math.min(Bt,Be-14);var tr=(0,f.G)(ht);Te.save(),Te.strokeStyle=tr,Te.fillStyle=tr;var cr=ae.remotePointerUserStates[ht],mr=zt||cr===e.IDLE||cr===e.AWAY;mr&&(Te.globalAlpha=.3),ae.remotePointerButton&&ae.remotePointerButton[ht]==="down"&&(Te.beginPath(),Te.arc(Ct,Bt,15,0,2*Math.PI,!1),Te.lineWidth=3,Te.strokeStyle="#ffffff88",Te.stroke(),Te.closePath(),Te.beginPath(),Te.arc(Ct,Bt,15,0,2*Math.PI,!1),Te.lineWidth=1,Te.strokeStyle=tr,Te.stroke(),Te.closePath()),Te.fillStyle=m.white,Te.strokeStyle=m.white,Te.lineWidth=6,Te.lineJoin="round",Te.beginPath(),Te.moveTo(Ct,Bt),Te.lineTo(Ct+0,Bt+14),Te.lineTo(Ct+4,Bt+9),Te.lineTo(Ct+11,Bt+8),Te.closePath(),Te.stroke(),Te.fill(),Te.fillStyle=tr,Te.strokeStyle=tr,Te.lineWidth=2,Te.lineJoin="round",Te.beginPath(),mr?(Te.moveTo(Ct-1,Bt-1),Te.lineTo(Ct-1,Bt+15),Te.lineTo(Ct+5,Bt+10),Te.lineTo(Ct+12,Bt+9),Te.closePath(),Te.fill()):(Te.moveTo(Ct,Bt),Te.lineTo(Ct+0,Bt+14),Te.lineTo(Ct+4,Bt+9),Te.lineTo(Ct+11,Bt+8),Te.closePath(),Te.fill(),Te.stroke());var Ft=ae.remotePointerUsernames[ht]||"";if(!zt&&Ft){Te.font="600 12px sans-serif";var xt=Ct+5.5,At=Bt+14+2,Tt=Te.measureText(Ft),nr=Tt.actualBoundingBoxDescent+Tt.actualBoundingBoxAscent,yr=Math.max(nr,12),kr=xt-1,Tr=At-1,Or=Tt.width+2+10+2,Rt=yr+2+6+2;Te.roundRect?(Te.beginPath(),Te.roundRect(kr,Tr,Or,Rt,8),Te.fillStyle=tr,Te.fill(),Te.strokeStyle=m.white,Te.stroke()):I(Te,kr,Tr,Or,Rt,8,m.white),Te.fillStyle=m.black,Te.fillText(Ft,xt+5+1,At+3+Tt.actualBoundingBoxAscent+Math.floor((yr-nr)/2)+2)}Te.restore(),Te.closePath()}return ae.renderScrollbars&&(Ve=(0,x.tJ)(O,Ze,Be,Q),Te.save(),Te.fillStyle=x.w1,Te.strokeStyle="rgba(255,255,255,0.8)",[Ve.horizontal,Ve.vertical].forEach(function(dt){dt&&I(Te,dt.x,dt.y,dt.width,dt.height,x.nn/2)}),Te.restore()),{scrollBars:Ve,atLeastOneVisibleElement:z.length>0,elements:O}},re=function(j){var i=j.canvas,s=j.rc,O=j.elements,z=j.visibleElements,K=j.scale,$=j.appState,Q=j.renderConfig;if(i!==null){var ae=Q.renderGrid,be=ae===void 0||ae,Ce=Q.isExporting,Ze=F(i,K),Be=(0,w.Z)(Ze,2),Te=Be[0],He=Be[1],Ve=ee({canvas:i,scale:K,normalizedWidth:Te,normalizedHeight:He,theme:$.theme,isExporting:Ce,viewBackgroundColor:$.viewBackgroundColor});Ve.scale($.zoom.value,$.zoom.value),be&&$.gridSize&&function(Me,me,Se,Ne,Ye,Qe,rt){var ft;(function(mt){mt.Bold="#cccccc",mt.Regular="#e5e5e5"})(ft||(ft={}));var at=-Math.round(Ye.value/me)*me+Se%me,ut=-Math.round(Ye.value/me)*me+Ne%me,Ot=Math.min(1/Ye.value,1),Pt=1/Ye.value,Et=[3*Ot,Pt+(Ot+Pt)];Me.save(),Me.lineWidth=Ot;for(var Mt=at;Mt<at+Qe+2*me;Mt+=me){var Yt=Math.round(Mt-Se)%(5*me)==0;Me.beginPath(),Me.setLineDash(Yt?[]:Et),Me.strokeStyle=Yt?ft.Bold:ft.Regular,Me.moveTo(Mt,ut-me),Me.lineTo(Mt,ut+rt+2*me),Me.stroke()}for(var lt=ut;lt<ut+rt+2*me;lt+=me){var ot=Math.round(lt-Ne)%(5*me)==0;Me.beginPath(),Me.setLineDash(ot?[]:Et),Me.strokeStyle=ot?ft.Bold:ft.Regular,Me.moveTo(at-me,lt),Me.lineTo(at+Qe+2*me,lt),Me.stroke()}Me.restore()}(Ve,$.gridSize,$.scrollX,$.scrollY,$.zoom,Te/$.zoom.value,He/$.zoom.value);var Je=new Set;z.forEach(function(Me){Me.groupIds.length>0&&$.frameToHighlight&&$.selectedElementIds[Me.id]&&((0,y.cO)(Me,$.frameToHighlight)||Me.groupIds.find(function(me){return Je.has(me)}))&&Me.groupIds.forEach(function(me){return Je.add(me)})}),z.filter(function(Me){return!(0,b.uU)(Me)}).forEach(function(Me){try{var me;if((Me.frameId||!((me=$.frameToHighlight)===null||me===void 0)&&me.id)&&$.frameRendering.enabled&&$.frameRendering.clip){Ve.save();var Se=(0,y.cH)(Me,$);Se&&(0,y.Qs)(Me,O,$)&&D(Se,Ve,0,$),(0,c.lw)(Me,s,Ve,Q,$),Ve.restore()}else(0,c.lw)(Me,s,Ve,Q,$);Ce||ue(Me,Ve,$)}catch(Ne){console.error(Ne)}}),z.filter(function(Me){return(0,b.uU)(Me)}).forEach(function(Me){try{var me,Se=function(){if((0,c.lw)(Me,s,Ve,Q,$),(0,A.gs)(Me)&&(Ce||!Me.validated)&&Me.width&&Me.height){var Ye=(0,b.g0)(Me);(0,c.lw)(Ye,s,Ve,Q,$)}Ce||ue(Me,Ve,$)};if((Me.frameId||!((me=$.frameToHighlight)===null||me===void 0)&&me.id)&&$.frameRendering.enabled&&$.frameRendering.clip){Ve.save();var Ne=(0,y.cH)(Me,$);Ne&&(0,y.Qs)(Me,O,$)&&D(Ne,Ve,0,$),Se(),Ve.restore()}else Se()}catch(Ye){console.error(Ye)}})}},oe=(0,S.hR)(function(j){var i,s=te(j);(i=j.callback)===null||i===void 0||i.call(j,s)},{trailing:!0}),Y=function(j,i){if(!i){var s=te(j);return j.callback(s),s}oe(j)},V=(0,S.hR)(function(j){re(j)},{trailing:!0}),ie=function(j,i){i?V(j):re(j)},we=function(){oe.cancel(),V.cancel()},Ae=function(j,i,s,O,z){Object.keys(O).forEach(function(K){var $=O[K];if($!==void 0){var Q=(0,w.Z)($,4),ae=Q[0],be=Q[1],Ce=Q[2],Ze=Q[3];j.save(),j.lineWidth=1/s.zoom.value,i.selectionColor&&(j.strokeStyle=i.selectionColor),K==="rotation"?C(j,ae+Ce/2,be+Ze/2,Ce/2):j.roundRect?(j.beginPath(),j.roundRect(ae,be,Ce,Ze,2/s.zoom.value),j.fill(),j.stroke()):u(j,ae,be,Ce,Ze,ae+Ce/2,be+Ze/2,z,!0),j.restore()}})},Re=function(j,i,s){var O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2*l,z=s.angle,K=s.elementX1,$=s.elementY1,Q=s.elementX2,ae=s.elementY2,be=s.selectionColors,Ce=s.cx,Ze=s.cy,Be=s.dashed,Te=s.activeEmbeddable,He=Q-K,Ve=ae-$,Je=O/i.zoom.value,Me=8/i.zoom.value,me=4/i.zoom.value;j.save(),j.translate(i.scrollX,i.scrollY),j.lineWidth=(Te?4:1)/i.zoom.value;for(var Se=be.length,Ne=0;Ne<Se;++Ne)j.strokeStyle=be[Ne],Be&&j.setLineDash([Me,me+(Me+me)*(Se-1)]),j.lineDashOffset=(Me+me)*Ne,u(j,K-Je,$-Je,He+2*Je,Ve+2*Je,Ce,Ze,z);j.restore()},je=function(j,i,s){var O=Array.isArray(s)?ge:ye;j.save(),j.translate(i.scrollX,i.scrollY),O(j,s),j.restore()},ye=function(j,i){var s=(0,v.qf)(i),O=(0,w.Z)(s,4),z=O[0],K=O[1],$=O[2]-z,Q=O[3]-K,ae=(0,W.fb)(i,$,Q);j.strokeStyle="rgba(0,0,0,.05)",j.lineWidth=ae-4;var be=2+ae/2;switch(i.type){case"rectangle":case"text":case"image":case"embeddable":case"frame":u(j,z-be,K-be,$+2*be,Q+2*be,z+$/2,K+Q/2,i.angle);break;case"diamond":var Ce=Math.hypot($,Q);(function(Ze,Be,Te,He,Ve,Je){Ze.save(),Ze.translate(He,Ve),Ze.rotate(Je),Ze.beginPath(),Ze.moveTo(0,Te/2),Ze.lineTo(Be/2,0),Ze.lineTo(0,-Te/2),Ze.lineTo(-Be/2,0),Ze.closePath(),Ze.stroke(),Ze.restore()})(j,$+2*(be*Ce/Q),Q+2*(be*Ce/$),z+$/2,K+Q/2,i.angle);break;case"ellipse":(function(Ze,Be,Te,He,Ve,Je){Ze.beginPath(),Ze.ellipse(He,Ve,Be/2,Te/2,Je,0,2*Math.PI),Ze.stroke()})(j,$+2*be,Q+2*be,z+$/2,K+Q/2,i.angle)}},Ee=function(j,i,s){var O=(0,v.qf)(s),z=(0,w.Z)(O,4),K=z[0],$=z[1],Q=z[2]-K,ae=z[3]-$;j.strokeStyle="rgb(0,118,255)",j.lineWidth=J.iG.strokeWidth/i.zoom.value,j.save(),j.translate(i.scrollX,i.scrollY),u(j,K,$,Q,ae,K+Q/2,$+ae/2,s.angle,!1,J.iG.radius/i.zoom.value),j.restore()},Oe=function(j,i,s){var O=s.filter(function($){return $.groupIds.length===0}),z=s.filter(function($){return $.groupIds.length>0}),K=function($){var Q=(0,v.KP)($),ae=(0,w.Z)(Q,4),be=ae[0],Ce=ae[1],Ze=ae[2],Be=ae[3];return{angle:0,elementX1:be,elementX2:Ze,elementY1:Ce,elementY2:Be,selectionColors:["rgb(0,118,255)"],dashed:!1,cx:be+(Ze-be)/2,cy:Ce+(Be-Ce)/2,activeEmbeddable:!1}};Object.entries((0,N.yR)(z,i)).filter(function($){var Q=(0,w.Z)($,2);return Q[0],Q[1]}).map(function($){var Q=(0,w.Z)($,2),ae=Q[0];return Q[1],ae}).map(function($){return function(Q){var ae=(0,N.Fb)(s,Q);return K(ae)}($)}).concat(O.map(function($){return K([$])})).forEach(function($){return Re(j,i,$)})},ge=function(j,i){var s=(0,w.Z)(i,3),O=s[0],z=s[1],K=s[2],$=(0,W.fb)(K,K.width,K.height);j.strokeStyle="rgba(0,0,0,0)",j.fillStyle="rgba(0,0,0,.05)",(z==="both"?[0,-1]:z==="start"?[0]:[-1]).forEach(function(Q){var ae=Z._.getPointAtIndexGlobalCoordinates(O,Q),be=(0,w.Z)(ae,2),Ce=be[0],Ze=be[1];C(j,Ce,Ze,$)})},ue=function(j,i,s){if(j.link&&!s.selectedElementIds[j.id]){var O=(0,v.qf)(j),z=(0,w.Z)(O,4),K=z[0],$=z[1],Q=z[2],ae=z[3],be=(0,ce.sw)([K,$,Q,ae],j.angle,s),Ce=(0,w.Z)(be,4),Ze=Ce[0],Be=Ce[1],Te=Ce[2],He=Ce[3],Ve=Ze+Te/2,Je=Be+He/2;if(i.save(),i.translate(s.scrollX+Ve,s.scrollY+Je),i.rotate(j.angle),a&&a.zoom===s.zoom.value)i.drawImage(a,Ze-Ve,Be-Je,Te,He);else{(a=document.createElement("canvas")).zoom=s.zoom.value,a.width=Te*window.devicePixelRatio*s.zoom.value,a.height=He*window.devicePixelRatio*s.zoom.value;var Me=a.getContext("2d");Me.scale(window.devicePixelRatio*s.zoom.value,window.devicePixelRatio*s.zoom.value),Me.fillStyle="#fff",Me.fillRect(0,0,Te,He),Me.drawImage(ce.rj,0,0,Te,He),Me.restore(),i.drawImage(a,Ze-Ve,Be-Je,Te,He)}i.restore()}},se=function(j,i,s,O,z){var K=z.offsetX,$=K===void 0?0:K,Q=z.offsetY,ae=Q===void 0?0:Q,be=z.exportWithDarkMode,Ce=z.renderEmbeddables,Ze=z.frameRendering;if(s){var Be={exportWithDarkMode:be,renderEmbeddables:Ce,frameRendering:Ze};j.filter(function(Te){return!(0,b.uU)(Te)}).forEach(function(Te){if(!Te.isDeleted)try{(0,c.Rg)(Te,i,s,O,Te.x+$,Te.y+ae,Be)}catch(He){console.error(He)}}),j.filter(function(Te){return(0,A.gs)(Te)}).forEach(function(Te){if(!Te.isDeleted)try{(0,c.Rg)(Te,i,s,O,Te.x+$,Te.y+ae,Be)}catch(He){console.error(He)}})}}},457:function(et,fe,t){var e=t(1930),P=t(8821),w=t(5169),m=t(7651),v=t(4183),I=t(6264),x=t(4643),c=function(Z){return typeof Z=="string"},f=function(){function Z(){var N=this;(0,P.Z)(this,Z),this.callbacks=new Set,this.nonDeletedElements=[],this.elements=[],this.nonDeletedFrames=[],this.frames=[],this.elementsMap=new Map,this.selectedElementsCache={selectedElementIds:null,elements:null,cache:new Map},this.addNewElement=function(W){W.frameId?N.insertElementAtIndex(W,N.getElementIndex(W.frameId)):N.replaceAllElements([].concat((0,e.Z)(N.elements),[W]))}}return(0,w.Z)(Z,[{key:"getElementsIncludingDeleted",value:function(){return this.elements}},{key:"getNonDeletedElements",value:function(){return this.nonDeletedElements}},{key:"getFramesIncludingDeleted",value:function(){return this.frames}},{key:"getSelectedElements",value:function(N){var W=function(ce){for(var he="",ve=0,le=["includeBoundTextElement","includeElementsInFrames"];ve<le.length;ve++){var G=le[ve];he+="".concat(G,":").concat(ce[G]?"1":"0")}return he}(N),k=N?.elements||this.nonDeletedElements;if(this.selectedElementsCache.elements===k&&this.selectedElementsCache.selectedElementIds===N.selectedElementIds){var S=this.selectedElementsCache.cache.get(W);if(S)return S}else N?.elements==null&&this.selectedElementsCache.cache.clear();var J=(0,I.eD)(k,{selectedElementIds:N.selectedElementIds},N);return N?.elements==null&&(this.selectedElementsCache.selectedElementIds=N.selectedElementIds,this.selectedElementsCache.elements=this.nonDeletedElements,this.selectedElementsCache.cache.set(W,J)),J}},{key:"getNonDeletedFrames",value:function(){return this.nonDeletedFrames}},{key:"getElement",value:function(N){return this.elementsMap.get(N)||null}},{key:"getVersionNonce",value:function(){return this.versionNonce}},{key:"getNonDeletedElement",value:function(N){var W=this.getElement(N);return W&&(0,m.qP)(W)?W:null}},{key:"mapElements",value:function(N){var W=!1,k=this.elements.map(function(S){var J=N(S);return J!==S&&(W=!0),J});return W&&this.replaceAllElements(k),W}},{key:"replaceAllElements",value:function(N){var W=this;this.elements=N;var k=[];this.elementsMap.clear(),N.forEach(function(S){(0,v.He)(S)&&k.push(S),W.elementsMap.set(S.id,S),Z.mapElementToScene(S,W)}),this.nonDeletedElements=(0,m.Lm)(this.elements),this.frames=k,this.nonDeletedFrames=(0,m.Xf)(this.frames),this.informMutation()}},{key:"informMutation",value:function(){this.versionNonce=(0,x.LU)();for(var N=0,W=Array.from(this.callbacks);N<W.length;N++)(0,W[N])()}},{key:"addCallback",value:function(N){var W=this;if(this.callbacks.has(N))throw new Error;return this.callbacks.add(N),function(){if(!W.callbacks.has(N))throw new Error;W.callbacks.delete(N)}}},{key:"destroy",value:function(){var N=this;this.nonDeletedElements=[],this.elements=[],this.nonDeletedFrames=[],this.frames=[],this.elementsMap.clear(),this.selectedElementsCache.selectedElementIds=null,this.selectedElementsCache.elements=null,this.selectedElementsCache.cache.clear(),Z.sceneMapById.forEach(function(W,k){W===N&&Z.sceneMapById.delete(k)}),this.callbacks.clear()}},{key:"insertElementAtIndex",value:function(N,W){if(!Number.isFinite(W)||W<0)throw new Error("insertElementAtIndex can only be called with index >= 0");var k=[].concat((0,e.Z)(this.elements.slice(0,W)),[N],(0,e.Z)(this.elements.slice(W)));this.replaceAllElements(k)}},{key:"insertElementsAtIndex",value:function(N,W){if(!Number.isFinite(W)||W<0)throw new Error("insertElementAtIndex can only be called with index >= 0");var k=[].concat((0,e.Z)(this.elements.slice(0,W)),(0,e.Z)(N),(0,e.Z)(this.elements.slice(W)));this.replaceAllElements(k)}},{key:"getElementIndex",value:function(N){return this.elements.findIndex(function(W){return W.id===N})}}],[{key:"mapElementToScene",value:function(N,W){var k=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];if(c(N)){if(!k)return;this.sceneMapById.set(N,W)}else this.sceneMapByElement.set(N,W),k||this.sceneMapById.set(N.id,W)}},{key:"getScene",value:function(N){return c(N)?this.sceneMapById.get(N)||null:this.sceneMapByElement.get(N)||null}}]),Z}();f.sceneMapByElement=new WeakMap,f.sceneMapById=new Map,fe.Z=f},6049:function(et,fe,t){t.d(fe,{Z:function(){return he},i:function(){return le}});var e=t(1930),P=t(2577),w=t(7169),m=t(7651),v=t(2361),I=t(9660),x=t(9827),c=t(1493),f=t(9937),Z=t(4183),N=t(1648);function W(G,U){var H=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);U&&(M=M.filter(function(A){return Object.getOwnPropertyDescriptor(G,A).enumerable})),H.push.apply(H,M)}return H}function k(G){for(var U=1;U<arguments.length;U++){var H=arguments[U]!=null?arguments[U]:{};U%2?W(Object(H),!0).forEach(function(M){(0,w.Z)(G,M,H[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(H)):W(Object(H)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(H,M))})}return G}var S=function(G){return[8,8+G]},J=function(G){return[1.5,6+G]};function ce(G){var U=G.roughness,H=Math.max(G.width,G.height),M=Math.min(G.width,G.height);return M>=20&&H>=50||M>=15&&G.roundness&&(0,N.sh)(G.type)||(0,Z.bt)(G)&&H>=50?U:Math.min(U/(H<10?3:2),2.5)}var he=function(G){var U=arguments.length>1&&arguments[1]!==void 0&&arguments[1],H={seed:G.seed,strokeLineDash:G.strokeStyle==="dashed"?S(G.strokeWidth):G.strokeStyle==="dotted"?J(G.strokeWidth):void 0,disableMultiStroke:G.strokeStyle!=="solid",strokeWidth:G.strokeStyle!=="solid"?G.strokeWidth+.5:G.strokeWidth,fillWeight:G.strokeWidth/2,hachureGap:4*G.strokeWidth,roughness:ce(G),stroke:G.strokeColor,preserveVertices:U||G.roughness<f.$h.cartoonist};switch(G.type){case"rectangle":case"embeddable":case"diamond":case"ellipse":return H.fillStyle=G.fillStyle,H.fill=(0,x.Qm)(G.backgroundColor)?void 0:G.backgroundColor,G.type==="ellipse"&&(H.curveFitting=1),H;case"line":case"freedraw":return(0,v.g6)(G.points)&&(H.fillStyle=G.fillStyle,H.fill=G.backgroundColor==="transparent"?void 0:G.backgroundColor),H;case"arrow":return H;default:throw new Error("Unimplemented type ".concat(G.type))}},ve=function(G,U){return G.type==="embeddable"&&(U||!G.validated)&&(0,x.Qm)(G.backgroundColor)&&(0,x.Qm)(G.strokeColor)?k(k({},G),{},{roughness:0,backgroundColor:"#d3d3d3",fillStyle:"solid"}):G},le=function(G,U){var H=arguments.length>2&&arguments[2]!==void 0&&arguments[2];switch(G.type){case"rectangle":case"embeddable":var M;if(G.roundness){var A=G.width,b=G.height,y=(0,v.yW)(Math.min(A,b),G);M=U.path("M ".concat(y," 0 L ").concat(A-y," 0 Q ").concat(A," 0, ").concat(A," ").concat(y," L ").concat(A," ").concat(b-y," Q ").concat(A," ").concat(b,", ").concat(A-y," ").concat(b," L ").concat(y," ").concat(b," Q 0 ").concat(b,", 0 ").concat(b-y," L 0 ").concat(y," Q 0 0, ").concat(y," 0"),he(ve(G,H),!0))}else M=U.rectangle(0,0,G.width,G.height,he(ve(G,H),!1));return M;case"diamond":var h,d=(0,m.UC)(G),r=(0,P.Z)(d,8),n=r[0],p=r[1],a=r[2],l=r[3],u=r[4],C=r[5],L=r[6],_=r[7];if(G.roundness){var E=(0,v.yW)(Math.abs(n-L),G),D=(0,v.yW)(Math.abs(l-p),G);h=U.path("M ".concat(n+E," ").concat(p+D," L ").concat(a-E," ").concat(l-D,` + C `).concat(a," ").concat(l,", ").concat(a," ").concat(l,", ").concat(a-E," ").concat(l+D,` + L `).concat(u+E," ").concat(C-D,` + C `).concat(u," ").concat(C,", ").concat(u," ").concat(C,", ").concat(u-E," ").concat(C-D,` + L `).concat(L+E," ").concat(_+D,` + C `).concat(L," ").concat(_,", ").concat(L," ").concat(_,", ").concat(L+E," ").concat(_-D,` + L `).concat(n-E," ").concat(p+D,` + C `).concat(n," ").concat(p,", ").concat(n," ").concat(p,", ").concat(n+E," ").concat(p+D),he(G,!0))}else h=U.polygon([[n,p],[a,l],[u,C],[L,_]],he(G));return h;case"ellipse":var F=U.ellipse(G.width/2,G.height/2,G.width,G.height,he(G));return F;case"line":case"arrow":var ee,te=he(G),re=G.points.length?G.points:[[0,0]];if(ee=G.roundness?[U.curve(re,te)]:te.fill?[U.polygon(re,te)]:[U.linearPath(re,te)],G.type==="arrow"){var oe=G.startArrowhead,Y=oe===void 0?null:oe,V=G.endArrowhead,ie=V===void 0?"arrow":V,we=function(ue,se,j,i){var s=(0,m.Y5)(ue,se,j,i);if(s===null)return[];if(i==="dot"){var O=(0,P.Z)(s,3),z=O[0],K=O[1],$=O[2];return[U.circle(z,K,$,k(k({},te),{},{fill:ue.strokeColor,fillStyle:"solid",stroke:"none"}))]}if(i==="triangle"){var Q=(0,P.Z)(s,6),ae=Q[0],be=Q[1],Ce=Q[2],Ze=Q[3],Be=Q[4],Te=Q[5];return delete te.strokeLineDash,[U.polygon([[ae,be],[Ce,Ze],[Be,Te],[ae,be]],k(k({},te),{},{fill:ue.strokeColor,fillStyle:"solid"}))]}var He=(0,P.Z)(s,6),Ve=He[0],Je=He[1],Me=He[2],me=He[3],Se=He[4],Ne=He[5];if(ue.strokeStyle==="dotted"){var Ye=J(ue.strokeWidth-1);te.strokeLineDash=[Ye[0],Ye[1]-1]}else delete te.strokeLineDash;return[U.line(Me,me,Ve,Je,te),U.line(Se,Ne,Ve,Je,te)]};if(Y!==null){var Ae,Re=we(G,ee,"start",Y);(Ae=ee).push.apply(Ae,(0,e.Z)(Re))}if(ie!==null){var je,ye=we(G,ee,"end",ie);(je=ee).push.apply(je,(0,e.Z)(ye))}}return ee;case"freedraw":var Ee;if((0,I.Lc)(G),(0,v.g6)(G.points)){var Oe=(0,c.og)(G.points,.75);Ee=U.curve(Oe,k(k({},he(G)),{},{stroke:"none"}))}else Ee=null;return Ee;case"frame":case"text":case"image":var ge=null;return ge;default:return(0,x.vE)(G,"generateElementShape(): Unimplemented type ".concat(G?.type)),null}}},2921:function(et,fe,t){t.d(fe,{R:function(){return I}});var e=t(5169),P=t(8821),w=t(8128),m=t(9660),v=t(6049),I=(0,e.Z)(function x(){(0,P.Z)(this,x)});I.rg=new w.V,I.cache=new WeakMap,I.get=function(x){return I.cache.get(x)},I.set=function(x,c){return I.cache.set(x,c)},I.delete=function(x){return I.cache.delete(x)},I.destroy=function(){I.cache=new WeakMap},I.generateElementShape=function(x){var c=arguments.length>1&&arguments[1]!==void 0&&arguments[1],f=c?void 0:I.get(x);if(f!==void 0)return f;m.Xx.delete(x);var Z=(0,v.i)(x,I.rg,c);return I.cache.set(x,Z),Z}},1648:function(et,fe,t){t.d(fe,{$b:function(){return P},CJ:function(){return f},M9:function(){return v},PD:function(){return w},QG:function(){return c},Un:function(){return x},Zd:function(){return m},sh:function(){return I}});var e=t(4183),P=function(Z){return Z==="rectangle"||Z==="embeddable"||Z==="ellipse"||Z==="diamond"||Z==="line"||Z==="freedraw"},w=function(Z){return Z!=="image"&&Z!=="frame"},m=function(Z){return Z==="rectangle"||Z==="embeddable"||Z==="ellipse"||Z==="diamond"||Z==="freedraw"||Z==="arrow"||Z==="line"},v=function(Z){return Z==="rectangle"||Z==="embeddable"||Z==="ellipse"||Z==="diamond"||Z==="arrow"||Z==="line"},I=function(Z){return Z==="rectangle"||Z==="embeddable"||Z==="arrow"||Z==="line"||Z==="diamond"},x=function(Z){return Z==="arrow"},c=function(Z,N){for(var W=null,k=Z.length-1;k>=0;--k){var S=Z[k];if(!S.isDeleted&&N(S)){W=S;break}}return W},f=function(Z,N){var W=[];return Z.filter(function(k){return!(k.isDeleted||!N(k))&&(!(0,e.gs)(k)||(W.push(k),!1))}).concat(W)}},3668:function(et,fe,t){t.d(fe,{$D:function(){return d},Cg:function(){return n},NL:function(){return h}});var e=t(7169),P=t(2577),w=t(8950),m=t(2975),v=t.n(m),I=t(9845),x=t(4949),c=t(7766),f=t(9827),Z=t(9937),N=t(6853),W=t(4419),k=t(4178),S=t(6013),J=t(4682),ce=t(7651),he=t(583),ve=t(457);function le(p,a){var l=Object.keys(p);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(p);a&&(u=u.filter(function(C){return Object.getOwnPropertyDescriptor(p,C).enumerable})),l.push.apply(l,u)}return l}function G(p){for(var a=1;a<arguments.length;a++){var l=arguments[a]!=null?arguments[a]:{};a%2?le(Object(l),!0).forEach(function(u){(0,e.Z)(p,u,l[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(l)):le(Object(l)).forEach(function(u){Object.defineProperty(p,u,Object.getOwnPropertyDescriptor(l,u))})}return p}function U(p,a){var l=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!l){if(Array.isArray(p)||(l=function(D,F){if(D){if(typeof D=="string")return H(D,F);var ee=Object.prototype.toString.call(D).slice(8,-1);if(ee==="Object"&&D.constructor&&(ee=D.constructor.name),ee==="Map"||ee==="Set")return Array.from(D);if(ee==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ee))return H(D,F)}}(p))||a&&p&&typeof p.length=="number"){l&&(p=l);var u=0,C=function(){};return{s:C,n:function(){return u>=p.length?{done:!0}:{done:!1,value:p[u++]}},e:function(D){throw D},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L,_=!0,E=!1;return{s:function(){l=l.call(p)},n:function(){var D=l.next();return _=D.done,D},e:function(D){E=!0,L=D},f:function(){try{_||l.return==null||l.return()}finally{if(E)throw L}}}}function H(p,a){(a==null||a>p.length)&&(a=p.length);for(var l=0,u=new Array(a);l<a;l++)u[l]=p[l];return u}var M=function(p){var a=new ve.Z;return a.replaceAllElements((0,f.xU)(p),!1),a},A=function(p,a){if(p.width<=a)return p;var l=document.createElement("canvas").getContext("2d");l.font=(0,f.mO)({fontFamily:p.fontFamily,fontSize:p.fontSize});var u=p.text;if(l.measureText(u).width>a)for(var C=u.length;C>0;C--){var L="".concat(u.slice(0,C),"...");if(l.measureText(L).width<=a){u=L;break}}return(0,he.BE)(p,{text:u,width:a})},b=function(p,a){return a=a||(0,N.im)().frameRendering,{enabled:!!p||a.enabled,outline:!p&&a.outline,name:!p&&a.name,clip:!!p||a.clip}},y=function(p){var a=p.elements,l=p.exportingFrame,u=p.frameRendering,C=p.exportWithDarkMode;return l?(0,S.Xs)({elements:a,bounds:l,type:"overlap"}):u.enabled&&u.name?function(L,_){var E,D=[],F=0,ee=U(L);try{for(ee.s();!(E=ee.n()).done;){var te=E.value;if((0,ce.He)(te)){F++;var re=(0,ce.VL)({x:te.x,y:te.y-Z.iG.nameOffsetY,fontFamily:Z.ut.Assistant,fontSize:Z.iG.nameFontSize,lineHeight:Z.iG.nameLineHeight,strokeColor:_.exportWithDarkMode?Z.iG.nameColorDarkTheme:Z.iG.nameColorLightTheme,text:te.name||"Frame ".concat(F)});re.y-=re.height,re=A(re,te.width),D.push(re)}D.push(te)}}catch(oe){ee.e(oe)}finally{ee.f()}return D}(a,{exportWithDarkMode:C}):a},h=function(){var p=(0,w.Z)(v().mark(function a(l,u,C,L){var _,E,D,F,ee,te,re,oe,Y,V,ie,we,Ae,Re,je,ye,Ee,Oe,ge,ue,se,j,i,s=arguments;return v().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return E=L.exportBackground,D=L.exportPadding,F=D===void 0?Z.qy:D,ee=L.viewBackgroundColor,te=L.exportingFrame,re=s.length>4&&s[4]!==void 0?s[4]:function(z,K){var $=document.createElement("canvas");return $.width=z*u.exportScale,$.height=K*u.exportScale,{canvas:$,scale:u.exportScale}},oe=M(l),l=oe.getNonDeletedElements(),Y=b(te??null,(_=u.frameRendering)!==null&&_!==void 0?_:null),V=y({elements:l,exportingFrame:te,exportWithDarkMode:u.exportWithDarkMode,frameRendering:Y}),te&&(F=0),ie=r(te?[te]:(0,J._h)(V),F),we=(0,P.Z)(ie,4),Ae=we[0],Re=we[1],je=we[2],ye=we[3],Ee=re(je,ye),Oe=Ee.canvas,ge=Ee.scale,ue=ge===void 0?1:ge,se=(0,N.im)(),O.next=12,(0,k.Xx)({imageCache:new Map,fileIds:(0,k.oA)(V).map(function(z){return z.fileId}),files:C});case 12:return j=O.sent,i=j.imageCache,(0,c.AW)({canvas:Oe,rc:I.Z.canvas(Oe),elements:V,visibleElements:V,scale:ue,appState:G(G({},u),{},{frameRendering:Y,viewBackgroundColor:E?ee:null,scrollX:-Ae+F,scrollY:-Re+F,zoom:se.zoom,shouldCacheIgnoreZoom:!1,theme:u.exportWithDarkMode?"dark":"light"}),renderConfig:{imageCache:i,renderGrid:!1,isExporting:!0}}),oe.destroy(),O.abrupt("return",Oe);case 17:case"end":return O.stop()}},a)}));return function(a,l,u,C){return p.apply(this,arguments)}}(),d=function(){var p=(0,w.Z)(v().mark(function a(l,u,C,L){var _,E,D,F,ee,te,re,oe,Y,V,ie,we,Ae,Re,je,ye,Ee,Oe,ge,ue,se,j,i,s,O,z,K,$,Q,ae,be,Ce,Ze,Be,Te,He,Ve,Je,Me,me,Se,Ne,Ye;return v().wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(F=M(l),l=F.getNonDeletedElements(),ee=b((_=L?.exportingFrame)!==null&&_!==void 0?_:null,(E=u.frameRendering)!==null&&E!==void 0?E:null),te=u.exportPadding,re=te===void 0?Z.qy:te,oe=u.exportWithDarkMode,Y=oe!==void 0&&oe,V=u.viewBackgroundColor,ie=u.exportScale,we=ie===void 0?1:ie,Ae=u.exportEmbedScene,Re=(L||{}).exportingFrame,ye=y({elements:l,exportingFrame:je=Re===void 0?null:Re,exportWithDarkMode:Y,frameRendering:ee}),je&&(re=0),Ee="",!Ae){Qe.next=20;break}return Qe.prev=9,Qe.next=12,Promise.resolve().then(t.bind(t,250));case 12:return Qe.next=14,Qe.sent.encodeSvgMetadata({text:(0,W.I_)(l,u,C||{},"local")});case 14:Ee=Qe.sent,Qe.next=20;break;case 17:Qe.prev=17,Qe.t0=Qe.catch(9),console.error(Qe.t0);case 20:Oe=r(je?[je]:(0,J._h)(ye),re),ge=(0,P.Z)(Oe,4),ue=ge[0],se=ge[1],j=ge[2],i=ge[3],(s=document.createElementNS(Z.hR,"svg")).setAttribute("version","1.1"),s.setAttribute("xmlns",Z.hR),s.setAttribute("viewBox","0 0 ".concat(j," ").concat(i)),s.setAttribute("width","".concat(j*we)),s.setAttribute("height","".concat(i*we)),Y&&s.setAttribute("filter",Z.ZF),O="https://excalidraw.com/",O=window.EXCALIDRAW_ASSET_PATH||"https://unpkg.com/".concat("@excalidraw/excalidraw","@").concat({VITE_APP_BACKEND_V2_GET_URL:"https://json.excalidraw.com/api/v2/",VITE_APP_BACKEND_V2_POST_URL:"https://json.excalidraw.com/api/v2/post/",VITE_APP_LIBRARY_URL:"https://libraries.excalidraw.com",VITE_APP_LIBRARY_BACKEND:"https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries",VITE_APP_PORTAL_URL:"https://portal.excalidraw.com",VITE_APP_PLUS_LP:"https://plus.excalidraw.com",VITE_APP_PLUS_APP:"https://app.excalidraw.com",VITE_APP_WS_SERVER_URL:"",VITE_APP_FIREBASE_CONFIG:'{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}',VITE_APP_DISABLE_TRACKING:"",VITE_PKG_NAME:"@excalidraw/excalidraw",VITE_PKG_VERSION:"0.17.3",VITE_IS_EXCALIDRAW_NPM_PACKAGE:!0}.PKG_VERSION),(z=O)!==null&&z!==void 0&&z.startsWith("/")&&(O=O.replace("/","".concat(window.location.origin,"/"))),O="".concat(O,"/dist/excalidraw-assets/"),K=-ue+re,$=-se+re,Q=(0,J.wO)(l),ae="",be=U(Q);try{for(be.s();!(Ce=be.n()).done;)Ze=Ce.value,Be=(0,x.qf)(Ze),Te=(0,P.Z)(Be,4),He=Te[0],Ve=Te[1],Je=Te[2],Me=Te[3],me=(Je-He)/2-(Ze.x-He),Se=(Me-Ve)/2-(Ze.y-Ve),ae+="<clipPath id=".concat(Ze.id,`> + <rect transform="translate(`).concat(Ze.x+K," ").concat(Ze.y+$,") rotate(").concat(Ze.angle," ").concat(me," ").concat(Se,`)" + width="`).concat(Ze.width,`" + height="`).concat(Ze.height,`" + > + </rect> + </clipPath>`)}catch(rt){be.e(rt)}finally{be.f()}return s.innerHTML=` + `.concat("<!-- svg-source:excalidraw -->",` + `).concat(Ee,` + <defs> + <style class="style-fonts"> + @font-face { + font-family: "Virgil"; + src: url("`).concat(O,`Virgil.woff2"); + } + @font-face { + font-family: "Cascadia"; + src: url("`).concat(O,`Cascadia.woff2"); + } + @font-face { + font-family: "Assistant"; + src: url("`).concat(O,`Assistant-Regular.woff2"); + } + </style> + `).concat(ae,` + </defs> + `),u.exportBackground&&V&&((Ne=s.ownerDocument.createElementNS(Z.hR,"rect")).setAttribute("x","0"),Ne.setAttribute("y","0"),Ne.setAttribute("width","".concat(j)),Ne.setAttribute("height","".concat(i)),Ne.setAttribute("fill",V),s.appendChild(Ne)),Ye=I.Z.svg(s),(0,c.M_)(ye,Ye,s,C||{},{offsetX:K,offsetY:$,exportWithDarkMode:Y,renderEmbeddables:(D=L?.renderEmbeddables)!==null&&D!==void 0&&D,frameRendering:ee}),F.destroy(),Qe.abrupt("return",s);case 42:case"end":return Qe.stop()}},a,null,[[9,17]])}));return function(a,l,u,C){return p.apply(this,arguments)}}(),r=function(p,a){var l=(0,x.KP)(p),u=(0,P.Z)(l,4),C=u[0],L=u[1],_=u[2],E=u[3];return[C,L,(0,f.TE)(C,_)+2*a,(0,f.TE)(L,E)+2*a]},n=function(p,a,l){var u=r(p,a).map(function(L){return Math.trunc(L*l)}),C=(0,P.Z)(u,4);return[C[2],C[3]]}},4105:function(et,fe,t){t.d(fe,{$b:function(){return m.$b},CJ:function(){return m.CJ},M9:function(){return m.M9},N:function(){return P.N},PR:function(){return P.PR},QG:function(){return m.QG},Un:function(){return m.Un},W:function(){return w.W},Yp:function(){return P.Yp},Zd:function(){return m.Zd},Zs:function(){return P.Zs},_4:function(){return e._4},eD:function(){return P.eD},j:function(){return v.j},sh:function(){return m.sh}});var e=t(4726),P=t(6264),w=t(2382),m=t(1648),v=t(4116)},2382:function(et,fe,t){t.d(fe,{W:function(){return v},s:function(){return m}});var e=t(2577),P=t(7651),w=t(9827),m=function(I){var x=I.scenePoint,c=I.viewportDimensions,f=I.zoom;return{scrollX:c.width/2/f.value-x.x,scrollY:c.height/2/f.value-x.y}},v=function(I,x){if(!(I=(0,P.n_)(I)).length)return{scrollX:0,scrollY:0};var c=(0,P.KP)(I),f=(0,e.Z)(c,4),Z=f[0],N=f[1],W=f[2],k=f[3];if(function(ce,he){var ve=(0,e.Z)(he,4),le=ve[0],G=ve[1],U=ve[2],H=ve[3],M=(0,w._i)({sceneX:le,sceneY:G},ce),A=M.x,b=M.y,y=(0,w._i)({sceneX:U,sceneY:H},ce),h=y.x,d=y.y;return h-A>ce.width||d-b>ce.height}(x,[Z,N,W,k])){var S=(0,P.os)(I,(0,w.dE)({clientX:x.scrollX,clientY:x.scrollY},x)),J=(0,e.Z)(S,4);Z=J[0],N=J[1],W=J[2],k=J[3]}return m({scenePoint:{x:(Z+W)/2,y:(N+k)/2},viewportDimensions:{width:x.width,height:x.height},zoom:x.zoom})}},4726:function(et,fe,t){t.d(fe,{WM:function(){return v},_4:function(){return f},nn:function(){return I},tJ:function(){return c},w1:function(){return x}});var e=t(2577),P=t(7651),w=t(9827),m=t(8227),v=4,I=6,x="rgba(0,0,0,0.3)",c=function(Z,N,W,k){if(Z.length===0)return{horizontal:null,vertical:null};var S=(0,P.KP)(Z),J=(0,e.Z)(S,4),ce=J[0],he=J[1],ve=J[2],le=J[3],G=N/k.zoom.value,U=W/k.zoom.value,H=N-G,M=W-U,A={top:parseInt((0,w.IH)("sat"))||0,bottom:parseInt((0,w.IH)("sab"))||0,left:parseInt((0,w.IH)("sal"))||0,right:parseInt((0,w.IH)("sar"))||0},b=(0,m.G3)().rtl,y=-k.scrollX+H/2+A.left,h=-k.scrollY+M/2+A.top,d=y+G-A.right,r=h+U-A.bottom,n=Math.min(ce,y),p=Math.min(he,h),a=Math.max(ve,d),l=Math.max(le,r);return{horizontal:y===n&&d===a?null:{x:Math.max(A.left,v)+(y-n)/(a-n)*N,y:W-I-Math.max(v,A.bottom),width:(d-y)/(a-n)*N-Math.max(2*v,A.left+A.right),height:I},vertical:h===p&&r===l?null:{x:b?Math.max(A.left,v):N-I-Math.max(A.right,v),y:(h-p)/(l-p)*W+Math.max(A.top,v),width:I,height:(r-h)/(l-p)*W-Math.max(2*v,A.top+A.bottom)}}},f=function(Z,N,W){var k=[Z.horizontal,Z.vertical].map(function(he){return he!=null&&he.x<=N&&N<=he.x+he.width&&he.y<=W&&W<=he.y+he.height}),S=(0,e.Z)(k,2),J=S[0],ce=S[1];return{isOverEither:J||ce,isOverHorizontal:J,isOverVertical:ce}}},6264:function(et,fe,t){t.d(fe,{CF:function(){return k},N:function(){return S},Oh:function(){return ve},PR:function(){return J},Yp:function(){return W},Zs:function(){return he},aI:function(){return N},eD:function(){return ce}});var e,P,w,m,v=t(2577),I=t(7651),x=t(4183),c=t(4682),f=t(9827),Z=t(7935),N=function(le){var G=new Set;return le.forEach(function(U){U.type==="frame"&&G.add(U.id)}),le.filter(function(U){return!U.frameId||!G.has(U.frameId)})},W=function(le,G){var U=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],H=(0,I.qf)(G),M=(0,v.Z)(H,4),A=M[0],b=M[1],y=M[2],h=M[3],d=le.filter(function(r){var n=(0,I.Pi)(r),p=(0,v.Z)(n,4),a=p[0],l=p[1],u=p[2],C=p[3],L=(0,c.$Z)(r);if(L){var _=(0,I.Pi)(L),E=(0,v.Z)(_,4),D=E[0],F=E[1],ee=E[2],te=E[3];a=Math.max(D,a),l=Math.max(F,l),u=Math.min(ee,u),C=Math.min(te,C)}return r.locked===!1&&r.type!=="selection"&&!(0,x.Xh)(r)&&A<=a&&b<=l&&y>=u&&h>=C});return d=(d=U?N(d):d).filter(function(r){var n=(0,c.$Z)(r);return!n||(0,c.cO)(r,n)})},k=function(le,G,U){var H=new Set(G.map(function(M){return M.id}));return le.filter(function(M){var A=(0,Z.PZ)(M,U.width,U.height,U);return!H.has(M.id)&&A})},S=(e=null,P=null,w=null,(m=function(le,G){return w!=null&&le===e&&G.selectedElementIds===P||(w=le.some(function(U){return G.selectedElementIds[U.id]}),e=le,P=G.selectedElementIds),w}).clearCache=function(){e=null,P=null,w=null},m),J=function(le,G,U){var H=Array.from(new Set(ce(le,G).map(function(M){return U(M)})));return H.length===1?H[0]:null},ce=function(le,G,U){var H=le.filter(function(A){return G.selectedElementIds[A.id]||U!=null&&U.includeBoundTextElement&&(0,x.Xh)(A)&&G.selectedElementIds[A?.containerId]?A:null});if(U!=null&&U.includeElementsInFrames){var M=[];return H.forEach(function(A){A.type==="frame"&&(0,c.zD)(le,A.id).forEach(function(b){return M.push(b)}),M.push(A)}),M}return H},he=function(le,G){return G.editingElement?[G.editingElement]:ce(le,G,{includeBoundTextElement:!0})},ve=function(le,G){return(0,f.w8)(G.selectedElementIds,le)?G.selectedElementIds:le}},4116:function(et,fe,t){t.d(fe,{E:function(){return w},j:function(){return P}});var e=t(9937),P=function(m){return Math.max(e.Zj,Math.min(m,30))},w=function(m,v){var I=m.viewportX,x=m.viewportY,c=m.nextZoom,f=I-v.offsetLeft,Z=x-v.offsetTop,N=v.zoom.value;return{scrollX:v.scrollX+(f-f/N)+-(f-f/c),scrollY:v.scrollY+(Z-Z/N)+-(Z-Z/c),zoom:{value:c}}}},9827:function(et,fe,t){t.d(fe,{$9:function(){return te},$g:function(){return G},$h:function(){return ye},AK:function(){return L},B4:function(){return y},C3:function(){return V},Ds:function(){return H},FG:function(){return _},Fc:function(){return S},G3:function(){return Y},G9:function(){return i},HP:function(){return j},I4:function(){return we},IH:function(){return l},Ip:function(){return re},Mj:function(){return ue},Om:function(){return r},Oo:function(){return J},Qm:function(){return F},TE:function(){return d},Vv:function(){return A},XF:function(){return s},_Z:function(){return he},_i:function(){return a},ag:function(){return Re},cx:function(){return E},dE:function(){return p},dZ:function(){return C},h2:function(){return Ae},hR:function(){return M},mO:function(){return U},qr:function(){return D},qz:function(){return oe},s:function(){return le},tH:function(){return ee},uY:function(){return n},v4:function(){return je},vE:function(){return se},w8:function(){return ge},wO:function(){return ce},xU:function(){return O},xn:function(){return ie},xp:function(){return Oe},y1:function(){return ve},y8:function(){return Ee},yo:function(){return h}});var e=t(6655),P=t(7169),w=t(1930),m=t(2577),v=t(9240),I=t(9937),x=t(5156),c=t(9787),f=t.n(c);function Z(z,K){var $=typeof Symbol<"u"&&z[Symbol.iterator]||z["@@iterator"];if(!$){if(Array.isArray(z)||($=function(Be,Te){if(Be){if(typeof Be=="string")return N(Be,Te);var He=Object.prototype.toString.call(Be).slice(8,-1);if(He==="Object"&&Be.constructor&&(He=Be.constructor.name),He==="Map"||He==="Set")return Array.from(Be);if(He==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(He))return N(Be,Te)}}(z))||K&&z&&typeof z.length=="number"){$&&(z=$);var Q=0,ae=function(){};return{s:ae,n:function(){return Q>=z.length?{done:!0}:{done:!1,value:z[Q++]}},e:function(Be){throw Be},f:ae}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var be,Ce=!0,Ze=!1;return{s:function(){$=$.call(z)},n:function(){var Be=$.next();return Ce=Be.done,Be},e:function(Be){Ze=!0,be=Be},f:function(){try{Ce||$.return==null||$.return()}finally{if(Ze)throw be}}}}function N(z,K){(K==null||K>z.length)&&(K=z.length);for(var $=0,Q=new Array(K);$<K;$++)Q[$]=z[$];return Q}function W(z,K){var $=Object.keys(z);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(z);K&&(Q=Q.filter(function(ae){return Object.getOwnPropertyDescriptor(z,ae).enumerable})),$.push.apply($,Q)}return $}function k(z){for(var K=1;K<arguments.length;K++){var $=arguments[K]!=null?arguments[K]:{};K%2?W(Object($),!0).forEach(function(Q){(0,P.Z)(z,Q,$[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors($)):W(Object($)).forEach(function(Q){Object.defineProperty(z,Q,Object.getOwnPropertyDescriptor($,Q))})}return z}var S=function(){var z=new Date,K=z.getFullYear(),$="".concat(z.getMonth()+1).padStart(2,"0"),Q="".concat(z.getDate()).padStart(2,"0"),ae="".concat(z.getHours()).padStart(2,"0"),be="".concat(z.getMinutes()).padStart(2,"0");return"".concat(K,"-").concat($,"-").concat(Q,"-").concat(ae).concat(be)},J=function(z){return z.charAt(0).toUpperCase()+z.slice(1)},ce=function(z){return z instanceof HTMLElement&&z.className.includes("ToolIcon")},he=function(z){return z instanceof HTMLElement&&z.dataset.type==="wysiwyg"||z instanceof HTMLBRElement||z instanceof HTMLInputElement||z instanceof HTMLTextAreaElement||z instanceof HTMLSelectElement},ve=function(z){return he(z)||z instanceof Element&&!!z.closest("label, button")},le=function(z){return z instanceof HTMLElement&&z.dataset.type==="wysiwyg"||z instanceof HTMLBRElement||z instanceof HTMLTextAreaElement||z instanceof HTMLInputElement&&(z.type==="text"||z.type==="number")},G=function(z){for(var K=z.fontFamily,$=0,Q=Object.entries(I.ut);$<Q.length;$++){var ae=(0,m.Z)(Q[$],2),be=ae[0];if(ae[1]===K)return"".concat(be,", ").concat(I._D)}return I._D},U=function(z){var K=z.fontSize,$=z.fontFamily;return"".concat(K,"px ").concat(G({fontFamily:$}))},H=function(z,K){var $=0,Q=null,ae=function(){for(var be=arguments.length,Ce=new Array(be),Ze=0;Ze<be;Ze++)Ce[Ze]=arguments[Ze];Q=Ce,clearTimeout($),$=window.setTimeout(function(){Q=null,z.apply(void 0,Ce)},K)};return ae.flush=function(){if(clearTimeout($),Q){var be=Q;Q=null,z.apply(void 0,(0,w.Z)(be))}},ae.cancel=function(){Q=null,clearTimeout($)},ae},M=function(z,K){var $=null,Q=null,ae=null,be=function Ze(Be){$=window.requestAnimationFrame(function(){$=null,z.apply(void 0,(0,w.Z)(Be)),Q=null,ae&&(Q=ae,ae=null,Ze(Q))})},Ce=function(){for(var Ze=arguments.length,Be=new Array(Ze),Te=0;Te<Ze;Te++)Be[Te]=arguments[Te];Q=Be,$===null?be(Q):K!=null&&K.trailing&&(ae=Be)};return Ce.flush=function(){$!==null&&(cancelAnimationFrame($),$=null),Q&&(z.apply(void 0,(0,w.Z)(ae||Q)),Q=ae=null)},Ce.cancel=function(){Q=ae=null,$!==null&&(cancelAnimationFrame($),$=null)},Ce},A=function(z){return 1-Math.pow(1-z,4)},b=function(z,K,$){return(K-z)*A($)+z},y=function(z){var K,$=z.fromValues,Q=z.toValues,ae=z.onStep,be=z.duration,Ce=be===void 0?250:be,Ze=z.interpolateValue,Be=z.onStart,Te=z.onEnd,He=z.onCancel,Ve=!1,Je=0;return Je=window.requestAnimationFrame(function Me(me){if(!Ve){K===void 0&&(K=me,Be?.());var Se=Math.min(me-K,Ce),Ne=A(Se/Ce),Ye={};if(Object.keys($).forEach(function(ft){var at=ft,ut=(Q[at]-$[at])*Ne+$[at];Ye[at]=ut}),ae(Ye),Se<Ce){var Qe=Se/Ce,rt={};Object.keys($).forEach(function(ft){var at,ut=ft,Ot=$[ut],Pt=Q[ut];(at=Ze?Ze(Ot,Pt,Qe,ut):b(Ot,Pt,Qe))==null&&(at=b(Ot,Pt,Qe)),rt[ut]=at}),ae(rt),Je=window.requestAnimationFrame(Me)}else ae(Q),Te?.()}}),function(){He?.(),Ve=!0,window.cancelAnimationFrame(Je)}},h=function(z,K){if(!z.length||K<1)return[];for(var $=0,Q=0,ae=Array(Math.ceil(z.length/K));$<z.length;)ae[Q++]=z.slice($,$+=K);return ae},d=function(z,K){return Math.abs(z-K)},r=function(z,K){var $,Q;return K.type==="custom"?k(k({},z.activeTool),{},{type:"custom",customType:K.customType,locked:(Q=K.locked)!==null&&Q!==void 0?Q:z.activeTool.locked}):k(k({},z.activeTool),{},{lastActiveTool:K.lastActiveToolBeforeEraser===void 0?z.activeTool.lastActiveTool:K.lastActiveToolBeforeEraser,type:K.type,customType:null,locked:($=K.locked)!==null&&$!==void 0?$:z.activeTool.locked})},n=function(z){return z=z.replace(/\bAlt\b/i,"Alt").replace(/\bShift\b/i,"Shift").replace(/\b(Enter|Return)\b/i,"Enter"),I.Um?z.replace(/\bCtrlOrCmd\b/gi,"Cmd").replace(/\bAlt\b/i,"Option"):z.replace(/\bCtrlOrCmd\b/gi,"Ctrl")},p=function(z,K){var $=z.clientX,Q=z.clientY,ae=K.zoom,be=K.offsetLeft,Ce=K.offsetTop,Ze=K.scrollX,Be=K.scrollY;return{x:($-be)/ae.value-Ze,y:(Q-Ce)/ae.value-Be}},a=function(z,K){var $=z.sceneX,Q=z.sceneY,ae=K.zoom,be=K.offsetLeft,Ce=K.offsetTop,Ze=K.scrollX,Be=K.scrollY;return{x:($+Ze)*ae.value+be,y:(Q+Be)*ae.value+Ce}},l=function(z){return getComputedStyle(document.documentElement).getPropertyValue("--".concat(z))},u=new RegExp("^[^".concat("A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿Ⰰ-﬜﷾-﹯﻽-￿","]*[").concat("֑-߿יִ-﷽ﹰ-ﻼ","]")),C=function(z){return u.test(z)},L=function(z){var K=(0,m.Z)(z,2);return{x:K[0],y:K[1]}},_=function(z){if(z?.name!=="AbortError")throw z;console.warn(z)},E=function(z,K){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;$<0&&($=z.length+$);for(var Q=($=Math.min(z.length,Math.max($,0)))-1;++Q<z.length;)if(K(z[Q],Q,z))return Q;return-1},D=function(z,K){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:z.length-1;$<0&&($=z.length+$);for(var Q=($=Math.min(z.length-1,Math.max($,0)))+1;--Q>-1;)if(K(z[Q],Q,z))return Q;return-1},F=function(z){var K=z.length===5&&z.substr(4,1)==="0",$=z.length===9&&z.substr(7,2)==="00";return K||$||z===v.HO.transparent},ee=function(z){return function(K){(0,x.unstable_batchedUpdates)(z,K)}},te=function(z){return M(function(K){(0,x.unstable_batchedUpdates)(z,K)})},re=function(z){for(var K=z.parentElement;K;){if(K===document.body)return document;var $=window.getComputedStyle(K).overflowY;if(K.scrollHeight>K.clientHeight&&($==="auto"||$==="scroll"||$==="overlay"))return K;K=K.parentElement}return document},oe=function(z){for(var K=z.parentElement;K;){if(K.tabIndex>-1)return void K.focus();K=K.parentElement}},Y=function(z){return Array.from(z).map(function(K){return"0".concat(K.toString(16)).slice(-2)}).join("")},V=function(){return Ae()?1:Date.now()},ie=function(z){return z.reduce(function(K,$){return K.set(typeof $=="string"?$:$.id,$),K},new Map)},we=function(z){return z.reduce(function(K,$,Q){return K.set($.id,[$,Q]),K},new Map)},Ae=function(){return!1},Re=function(z,K){return new CustomEvent(z,{detail:{nativeEvent:K},cancelable:!0})},je=function(z,K){var $=!1;for(var Q in K){var ae=K[Q];if(ae!==void 0){if(z[Q]===ae&&((0,e.Z)(ae)!=="object"||ae===null))continue;$=!0}}return $?k(k({},z),K):z},ye=function(){try{return window.self===window.top?"top":"iframe"}catch{return"iframe"}},Ee=function(z){return!!z&&(0,e.Z)(z)==="object"&&"then"in z&&"catch"in z&&"finally"in z},Oe=function(z){var K=z?.querySelectorAll("button, a, input, select, textarea, div[tabindex], label[tabindex]");return K?Array.from(K).filter(function($){return $.tabIndex>-1&&!$.disabled}):[]},ge=function(z,K,$){var Q=arguments.length>3&&arguments[3]!==void 0&&arguments[3],ae=Object.keys(z),be=Object.keys(K);return ae.length===be.length&&ae.every(function(Ce){var Ze=$?.[Ce],Be=Ze?Ze(z[Ce],K[Ce]):z[Ce]===K[Ce];return!Be&&Q&&console.info("%cisShallowEqual: ".concat(Ce," not equal ->"),"color: #8B4000",z[Ce],K[Ce]),Be})},ue=function(z,K){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Q=$.checkForDefaultPrevented,ae=Q===void 0||Q;return function(be){if(z?.(be),!ae||!be.defaultPrevented)return K?.(be)}},se=function(z,K,$){if(!K)return z;if($)return console.error(K),z;throw new Error(K)},j=function(z){var K,$,Q=function(ae){var be=Object.entries(ae);if(K){var Ce,Ze=!0,Be=Z(be);try{for(Be.s();!(Ce=Be.n()).done;){var Te=(0,m.Z)(Ce.value,2),He=Te[0],Ve=Te[1];if(K.get(He)!==Ve){Ze=!1;break}}}catch(Me){Be.e(Me)}finally{Be.f()}if(Ze)return $}var Je=z(ae);return K=new Map(be),$=Je,Je};return Q.clear=function(){K=void 0,$=void 0},Q},i=function(){var z;try{var K=f().version.split(".");z=Number(K[0])>17}catch{z=!1}var $=!1;return function(){return window.EXCALIDRAW_THROTTLE_RENDER===!0&&(!!z||($||($=!0,console.warn("Excalidraw: render throttling is disabled on React versions < 18.")),!1))}}(),s=function(z,K){return z instanceof Set||z instanceof Map?z.has(K):"includes"in z?z.includes(K):z.hasOwnProperty(K)},O=function(z){return JSON.parse(JSON.stringify(z))}},3041:function(et,fe,t){var e=t(3379),P=t.n(e),w=t(7795),m=t.n(w),v=t(569),I=t.n(v),x=t(3565),c=t.n(x),f=t(9216),Z=t.n(f),N=t(4589),W=t.n(N),k=t(2044),S={};S.styleTagTransform=W(),S.setAttributes=c(),S.insert=I().bind(null,"head"),S.domAPI=m(),S.insertStyleElement=Z(),P()(k.Z,S),k.Z&&k.Z.locals&&k.Z.locals},3379:function(et){var fe=[];function t(w){for(var m=-1,v=0;v<fe.length;v++)if(fe[v].identifier===w){m=v;break}return m}function e(w,m){for(var v={},I=[],x=0;x<w.length;x++){var c=w[x],f=m.base?c[0]+m.base:c[0],Z=v[f]||0,N="".concat(f," ").concat(Z);v[f]=Z+1;var W=t(N),k={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(W!==-1)fe[W].references++,fe[W].updater(k);else{var S=P(k,m);m.byIndex=x,fe.splice(x,0,{identifier:N,updater:S,references:1})}I.push(N)}return I}function P(w,m){var v=m.domAPI(m);return v.update(w),function(I){if(I){if(I.css===w.css&&I.media===w.media&&I.sourceMap===w.sourceMap&&I.supports===w.supports&&I.layer===w.layer)return;v.update(w=I)}else v.remove()}}et.exports=function(w,m){var v=e(w=w||[],m=m||{});return function(I){I=I||[];for(var x=0;x<v.length;x++){var c=t(v[x]);fe[c].references--}for(var f=e(I,m),Z=0;Z<v.length;Z++){var N=t(v[Z]);fe[N].references===0&&(fe[N].updater(),fe.splice(N,1))}v=f}}},569:function(et){var fe={};et.exports=function(t,e){var P=function(w){if(fe[w]===void 0){var m=document.querySelector(w);if(window.HTMLIFrameElement&&m instanceof window.HTMLIFrameElement)try{m=m.contentDocument.head}catch{m=null}fe[w]=m}return fe[w]}(t);if(!P)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");P.appendChild(e)}},9216:function(et){et.exports=function(fe){var t=document.createElement("style");return fe.setAttributes(t,fe.attributes),fe.insert(t,fe.options),t}},3565:function(et,fe,t){et.exports=function(e){var P=t.nc;P&&e.setAttribute("nonce",P)}},7795:function(et){et.exports=function(fe){if(typeof document>"u")return{update:function(){},remove:function(){}};var t=fe.insertStyleElement(fe);return{update:function(e){(function(P,w,m){var v="";m.supports&&(v+="@supports (".concat(m.supports,") {")),m.media&&(v+="@media ".concat(m.media," {"));var I=m.layer!==void 0;I&&(v+="@layer".concat(m.layer.length>0?" ".concat(m.layer):""," {")),v+=m.css,I&&(v+="}"),m.media&&(v+="}"),m.supports&&(v+="}");var x=m.sourceMap;x&&typeof btoa<"u"&&(v+=` +/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(x))))," */")),w.styleTagTransform(v,P,w.options)})(t,fe,e)},remove:function(){(function(e){if(e.parentNode===null)return!1;e.parentNode.removeChild(e)})(t)}}}},4589:function(et){et.exports=function(fe,t){if(t.styleSheet)t.styleSheet.cssText=fe;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(fe))}}},9669:function(et){et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg=="},7984:function(et){et.exports='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4" viewBox="0 0 292 292"><path d="M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z"/></svg>'},1639:function(et){et.exports='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4" viewBox="0 0 292 292"><path fill="%23ced4da" d="M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z"/></svg>'},9729:function(et,fe,t){et.exports=t.p+"excalidraw-assets/Assistant-Bold.woff2"},1273:function(et,fe,t){et.exports=t.p+"excalidraw-assets/Assistant-Medium.woff2"},8303:function(et,fe,t){et.exports=t.p+"excalidraw-assets/Assistant-Regular.woff2"},9577:function(et,fe,t){et.exports=t.p+"excalidraw-assets/Assistant-SemiBold.woff2"},3147:function(et,fe,t){et.exports=t.p+"excalidraw-assets/Cascadia.woff2"},3940:function(et,fe,t){et.exports=t.p+"excalidraw-assets/Virgil.woff2"},9787:function(et){et.exports=Yi},5156:function(et){et.exports=li},9649:function(et,fe,t){var e=t(8114).default;function P(){et.exports=P=function(){return w},et.exports.__esModule=!0,et.exports.default=et.exports;var w={},m=Object.prototype,v=m.hasOwnProperty,I=Object.defineProperty||function(p,a,l){p[a]=l.value},x=typeof Symbol=="function"?Symbol:{},c=x.iterator||"@@iterator",f=x.asyncIterator||"@@asyncIterator",Z=x.toStringTag||"@@toStringTag";function N(p,a,l){return Object.defineProperty(p,a,{value:l,enumerable:!0,configurable:!0,writable:!0}),p[a]}try{N({},"")}catch{N=function(a,l,u){return a[l]=u}}function W(p,a,l,u){var C=a&&a.prototype instanceof J?a:J,L=Object.create(C.prototype),_=new d(u||[]);return I(L,"_invoke",{value:A(p,l,_)}),L}function k(p,a,l){try{return{type:"normal",arg:p.call(a,l)}}catch(u){return{type:"throw",arg:u}}}w.wrap=W;var S={};function J(){}function ce(){}function he(){}var ve={};N(ve,c,function(){return this});var le=Object.getPrototypeOf,G=le&&le(le(r([])));G&&G!==m&&v.call(G,c)&&(ve=G);var U=he.prototype=J.prototype=Object.create(ve);function H(p){["next","throw","return"].forEach(function(a){N(p,a,function(l){return this._invoke(a,l)})})}function M(p,a){function l(C,L,_,E){var D=k(p[C],p,L);if(D.type!=="throw"){var F=D.arg,ee=F.value;return ee&&e(ee)=="object"&&v.call(ee,"__await")?a.resolve(ee.__await).then(function(te){l("next",te,_,E)},function(te){l("throw",te,_,E)}):a.resolve(ee).then(function(te){F.value=te,_(F)},function(te){return l("throw",te,_,E)})}E(D.arg)}var u;I(this,"_invoke",{value:function(C,L){function _(){return new a(function(E,D){l(C,L,E,D)})}return u=u?u.then(_,_):_()}})}function A(p,a,l){var u="suspendedStart";return function(C,L){if(u==="executing")throw new Error("Generator is already running");if(u==="completed"){if(C==="throw")throw L;return n()}for(l.method=C,l.arg=L;;){var _=l.delegate;if(_){var E=b(_,l);if(E){if(E===S)continue;return E}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(u==="suspendedStart")throw u="completed",l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);u="executing";var D=k(p,a,l);if(D.type==="normal"){if(u=l.done?"completed":"suspendedYield",D.arg===S)continue;return{value:D.arg,done:l.done}}D.type==="throw"&&(u="completed",l.method="throw",l.arg=D.arg)}}}function b(p,a){var l=a.method,u=p.iterator[l];if(u===void 0)return a.delegate=null,l==="throw"&&p.iterator.return&&(a.method="return",a.arg=void 0,b(p,a),a.method==="throw")||l!=="return"&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+l+"' method")),S;var C=k(u,p.iterator,a.arg);if(C.type==="throw")return a.method="throw",a.arg=C.arg,a.delegate=null,S;var L=C.arg;return L?L.done?(a[p.resultName]=L.value,a.next=p.nextLoc,a.method!=="return"&&(a.method="next",a.arg=void 0),a.delegate=null,S):L:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,S)}function y(p){var a={tryLoc:p[0]};1 in p&&(a.catchLoc=p[1]),2 in p&&(a.finallyLoc=p[2],a.afterLoc=p[3]),this.tryEntries.push(a)}function h(p){var a=p.completion||{};a.type="normal",delete a.arg,p.completion=a}function d(p){this.tryEntries=[{tryLoc:"root"}],p.forEach(y,this),this.reset(!0)}function r(p){if(p){var a=p[c];if(a)return a.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length)){var l=-1,u=function C(){for(;++l<p.length;)if(v.call(p,l))return C.value=p[l],C.done=!1,C;return C.value=void 0,C.done=!0,C};return u.next=u}}return{next:n}}function n(){return{value:void 0,done:!0}}return ce.prototype=he,I(U,"constructor",{value:he,configurable:!0}),I(he,"constructor",{value:ce,configurable:!0}),ce.displayName=N(he,Z,"GeneratorFunction"),w.isGeneratorFunction=function(p){var a=typeof p=="function"&&p.constructor;return!!a&&(a===ce||(a.displayName||a.name)==="GeneratorFunction")},w.mark=function(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,he):(p.__proto__=he,N(p,Z,"GeneratorFunction")),p.prototype=Object.create(U),p},w.awrap=function(p){return{__await:p}},H(M.prototype),N(M.prototype,f,function(){return this}),w.AsyncIterator=M,w.async=function(p,a,l,u,C){C===void 0&&(C=Promise);var L=new M(W(p,a,l,u),C);return w.isGeneratorFunction(a)?L:L.next().then(function(_){return _.done?_.value:L.next()})},H(U),N(U,Z,"Generator"),N(U,c,function(){return this}),N(U,"toString",function(){return"[object Generator]"}),w.keys=function(p){var a=Object(p),l=[];for(var u in a)l.push(u);return l.reverse(),function C(){for(;l.length;){var L=l.pop();if(L in a)return C.value=L,C.done=!1,C}return C.done=!0,C}},w.values=r,d.prototype={constructor:d,reset:function(p){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(h),!p)for(var a in this)a.charAt(0)==="t"&&v.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=void 0)},stop:function(){this.done=!0;var p=this.tryEntries[0].completion;if(p.type==="throw")throw p.arg;return this.rval},dispatchException:function(p){if(this.done)throw p;var a=this;function l(D,F){return L.type="throw",L.arg=p,a.next=D,F&&(a.method="next",a.arg=void 0),!!F}for(var u=this.tryEntries.length-1;u>=0;--u){var C=this.tryEntries[u],L=C.completion;if(C.tryLoc==="root")return l("end");if(C.tryLoc<=this.prev){var _=v.call(C,"catchLoc"),E=v.call(C,"finallyLoc");if(_&&E){if(this.prev<C.catchLoc)return l(C.catchLoc,!0);if(this.prev<C.finallyLoc)return l(C.finallyLoc)}else if(_){if(this.prev<C.catchLoc)return l(C.catchLoc,!0)}else{if(!E)throw new Error("try statement without catch or finally");if(this.prev<C.finallyLoc)return l(C.finallyLoc)}}}},abrupt:function(p,a){for(var l=this.tryEntries.length-1;l>=0;--l){var u=this.tryEntries[l];if(u.tryLoc<=this.prev&&v.call(u,"finallyLoc")&&this.prev<u.finallyLoc){var C=u;break}}C&&(p==="break"||p==="continue")&&C.tryLoc<=a&&a<=C.finallyLoc&&(C=null);var L=C?C.completion:{};return L.type=p,L.arg=a,C?(this.method="next",this.next=C.finallyLoc,S):this.complete(L)},complete:function(p,a){if(p.type==="throw")throw p.arg;return p.type==="break"||p.type==="continue"?this.next=p.arg:p.type==="return"?(this.rval=this.arg=p.arg,this.method="return",this.next="end"):p.type==="normal"&&a&&(this.next=a),S},finish:function(p){for(var a=this.tryEntries.length-1;a>=0;--a){var l=this.tryEntries[a];if(l.finallyLoc===p)return this.complete(l.completion,l.afterLoc),h(l),S}},catch:function(p){for(var a=this.tryEntries.length-1;a>=0;--a){var l=this.tryEntries[a];if(l.tryLoc===p){var u=l.completion;if(u.type==="throw"){var C=u.arg;h(l)}return C}}throw new Error("illegal catch attempt")},delegateYield:function(p,a,l){return this.delegate={iterator:r(p),resultName:a,nextLoc:l},this.method==="next"&&(this.arg=void 0),S}},w}et.exports=P,et.exports.__esModule=!0,et.exports.default=et.exports},8114:function(et){function fe(t){return et.exports=fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},et.exports.__esModule=!0,et.exports.default=et.exports,fe(t)}et.exports=fe,et.exports.__esModule=!0,et.exports.default=et.exports},2975:function(et,fe,t){var e=t(9649)();et.exports=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},7017:function(et,fe,t){function e(P,w){(w==null||w>P.length)&&(w=P.length);for(var m=0,v=new Array(w);m<w;m++)v[m]=P[m];return v}t.d(fe,{Z:function(){return e}})},3173:function(et,fe,t){function e(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}t.d(fe,{Z:function(){return e}})},8950:function(et,fe,t){function e(w,m,v,I,x,c,f){try{var Z=w[c](f),N=Z.value}catch(W){return void v(W)}Z.done?m(N):Promise.resolve(N).then(I,x)}function P(w){return function(){var m=this,v=arguments;return new Promise(function(I,x){var c=w.apply(m,v);function f(N){e(c,I,x,f,Z,"next",N)}function Z(N){e(c,I,x,f,Z,"throw",N)}f(void 0)})}}t.d(fe,{Z:function(){return P}})},8821:function(et,fe,t){function e(P,w){if(!(P instanceof w))throw new TypeError("Cannot call a class as a function")}t.d(fe,{Z:function(){return e}})},5169:function(et,fe,t){t.d(fe,{Z:function(){return w}});var e=t(3525);function P(m,v){for(var I=0;I<v.length;I++){var x=v[I];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,(0,e.Z)(x.key),x)}}function w(m,v,I){return v&&P(m.prototype,v),I&&P(m,I),Object.defineProperty(m,"prototype",{writable:!1}),m}},7169:function(et,fe,t){t.d(fe,{Z:function(){return P}});var e=t(3525);function P(w,m,v){return(m=(0,e.Z)(m))in w?Object.defineProperty(w,m,{value:v,enumerable:!0,configurable:!0,writable:!0}):w[m]=v,w}},11:function(et,fe,t){function e(){return e=Object.assign?Object.assign.bind():function(P){for(var w=1;w<arguments.length;w++){var m=arguments[w];for(var v in m)Object.prototype.hasOwnProperty.call(m,v)&&(P[v]=m[v])}return P},e.apply(this,arguments)}t.d(fe,{Z:function(){return e}})},2312:function(et,fe,t){function e(P){return e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(w){return w.__proto__||Object.getPrototypeOf(w)},e(P)}t.d(fe,{Z:function(){return e}})},2248:function(et,fe,t){t.d(fe,{Z:function(){return P}});var e=t(5901);function P(w,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(m&&m.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),Object.defineProperty(w,"prototype",{writable:!1}),m&&(0,e.Z)(w,m)}},2726:function(et,fe,t){function e(P,w){if(P==null)return{};var m,v,I=function(c,f){if(c==null)return{};var Z,N,W={},k=Object.keys(c);for(N=0;N<k.length;N++)Z=k[N],f.indexOf(Z)>=0||(W[Z]=c[Z]);return W}(P,w);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(P);for(v=0;v<x.length;v++)m=x[v],w.indexOf(m)>=0||Object.prototype.propertyIsEnumerable.call(P,m)&&(I[m]=P[m])}return I}t.d(fe,{Z:function(){return e}})},7245:function(et,fe,t){t.d(fe,{Z:function(){return w}});var e=t(6655),P=t(3173);function w(m,v){if(v&&((0,e.Z)(v)==="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,P.Z)(m)}},5901:function(et,fe,t){function e(P,w){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,v){return m.__proto__=v,m},e(P,w)}t.d(fe,{Z:function(){return e}})},2577:function(et,fe,t){t.d(fe,{Z:function(){return P}});var e=t(9139);function P(w,m){return function(v){if(Array.isArray(v))return v}(w)||function(v,I){var x=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(x!=null){var c,f,Z,N,W=[],k=!0,S=!1;try{if(Z=(x=x.call(v)).next,I===0){if(Object(x)!==x)return;k=!1}else for(;!(k=(c=Z.call(x)).done)&&(W.push(c.value),W.length!==I);k=!0);}catch(J){S=!0,f=J}finally{try{if(!k&&x.return!=null&&(N=x.return(),Object(N)!==N))return}finally{if(S)throw f}}return W}}(w,m)||(0,e.Z)(w,m)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}},1930:function(et,fe,t){t.d(fe,{Z:function(){return w}});var e=t(7017),P=t(9139);function w(m){return function(v){if(Array.isArray(v))return(0,e.Z)(v)}(m)||function(v){if(typeof Symbol<"u"&&v[Symbol.iterator]!=null||v["@@iterator"]!=null)return Array.from(v)}(m)||(0,P.Z)(m)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}},3525:function(et,fe,t){t.d(fe,{Z:function(){return P}});var e=t(6655);function P(w){var m=function(v,I){if((0,e.Z)(v)!=="object"||v===null)return v;var x=v[Symbol.toPrimitive];if(x!==void 0){var c=x.call(v,I||"default");if((0,e.Z)(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)(v)}(w,"string");return(0,e.Z)(m)==="symbol"?m:String(m)}},6655:function(et,fe,t){function e(P){return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},e(P)}t.d(fe,{Z:function(){return e}})},9139:function(et,fe,t){t.d(fe,{Z:function(){return P}});var e=t(7017);function P(w,m){if(w){if(typeof w=="string")return(0,e.Z)(w,m);var v=Object.prototype.toString.call(w).slice(8,-1);return v==="Object"&&w.constructor&&(v=w.constructor.name),v==="Map"||v==="Set"?Array.from(w):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?(0,e.Z)(w,m):void 0}}},3607:function(et,fe,t){t.d(fe,{zt:function(){return G},cn:function(){return U},Vv:function(){return ce},KO:function(){return A},Dv:function(){return H},b9:function(){return M}});var e=t(9787);let P=0;const w=Symbol(),m=b=>!!b[w],v=b=>!b[w].c,I=b=>{var y;const{b:h,c:d}=b[w];d&&(d(),(y=f.get(h))==null||y())},x=(b,y)=>{const h=b[w].o,d=y[w].o;return h===d||b===d||m(h)&&x(h,y)},c=(b,y)=>{const h={b,o:y,c:null},d=new Promise(r=>{h.c=()=>{h.c=null,r()},y.finally(h.c)});return d[w]=h,d},f=new WeakMap,Z=b=>"init"in b,N="r",W="w",k="c",S="s",J=b=>{const y=new WeakMap,h=new WeakMap,d=new Map;let r,n;if(r=new Set,n=new Set,b)for(const[Oe,ge]of b){const ue={v:ge,r:0,y:!0,d:new Map};Object.freeze(ue),Z(Oe)||console.warn("Found initial value for derived atom which can cause unexpected behavior",Oe),y.set(Oe,ue)}const p=new WeakMap,a=new WeakMap,l=Oe=>{let ge=a.get(Oe);return ge||(ge=new Map,a.set(Oe,ge)),ge},u=(Oe,ge)=>{if(Oe){const ue=l(Oe);let se=ue.get(ge);return se||(se=u(Oe.p,ge),se&&"p"in se&&v(se.p)&&(se=void 0),se&&ue.set(ge,se)),se}return y.get(ge)},C=(Oe,ge,ue)=>{if(Object.freeze(ue),Oe)l(Oe).set(ge,ue);else{const se=y.get(ge);y.set(ge,ue),d.has(ge)||d.set(ge,se)}},L=(Oe,ge=new Map,ue)=>{if(!ue)return ge;const se=new Map;let j=!1;return ue.forEach(i=>{var s;const O=((s=u(Oe,i))==null?void 0:s.r)||0;se.set(i,O),ge.get(i)!==O&&(j=!0)}),ge.size!==se.size||j?se:ge},_=(Oe,ge,ue,se,j)=>{const i=u(Oe,ge);if(i){if(j&&(!("p"in i)||!x(i.p,j)))return i;"p"in i&&I(i.p)}const s={v:ue,r:i?.r||0,y:!0,d:L(Oe,i?.d,se)};let O=!i?.y;return i&&"v"in i&&Object.is(i.v,ue)?s.d===i.d||s.d.size===i.d.size&&Array.from(s.d.keys()).every(z=>i.d.has(z))||(O=!0,Promise.resolve().then(()=>{Re(Oe)})):(O=!0,++s.r,s.d.has(ge)&&(s.d=new Map(s.d).set(ge,s.r))),i&&!O?i:(C(Oe,ge,s),s)},E=(Oe,ge,ue,se,j)=>{const i=u(Oe,ge);if(i){if(j&&(!("p"in i)||!x(i.p,j)))return i;"p"in i&&I(i.p)}const s={e:ue,r:(i?.r||0)+1,y:!0,d:L(Oe,i?.d,se)};return C(Oe,ge,s),s},D=(Oe,ge,ue,se)=>{const j=u(Oe,ge);if(j&&"p"in j){if(x(j.p,ue)&&!v(j.p))return j.y?j:{...j,y:!0};I(j.p)}((s,O,z)=>{let K=p.get(O);K||(K=new Map,p.set(O,K)),z.then(()=>{K.get(s)===z&&(K.delete(s),K.size||p.delete(O))}),K.set(s,z)})(Oe,ge,ue);const i={p:ue,r:(j?.r||0)+1,y:!0,d:L(Oe,j?.d,se)};return C(Oe,ge,i),i},F=(Oe,ge,ue,se)=>{if(ue instanceof Promise){const j=c(ue,ue.then(i=>{_(Oe,ge,i,se,j)}).catch(i=>{if(i instanceof Promise)return m(i)?i.then(()=>{ee(Oe,ge,!0)}):i;E(Oe,ge,i,se,j)}));return D(Oe,ge,j,se)}return _(Oe,ge,ue,se)},ee=(Oe,ge,ue)=>{if(!ue){const j=u(Oe,ge);if(j){if(j.y&&"p"in j&&!v(j.p))return j;if(j.d.forEach((i,s)=>{if(s!==ge)if(h.has(s)){const O=u(Oe,s);O&&!O.y&&ee(Oe,s)}else ee(Oe,s)}),Array.from(j.d).every(([i,s])=>{const O=u(Oe,i);return O&&!("p"in O)&&O.r===s}))return j.y?j:{...j,y:!0}}}const se=new Set;try{const j=ge.read(i=>{se.add(i);const s=i===ge?u(Oe,i):ee(Oe,i);if(s){if("e"in s)throw s.e;if("p"in s)throw s.p;return s.v}if(Z(i))return i.init;throw new Error("no atom init")});return F(Oe,ge,j,se)}catch(j){if(j instanceof Promise){const i=m(j)&&v(j)?(s=>c(s[w].b,s[w].o))(j):c(j,j);return D(Oe,ge,i,se)}return E(Oe,ge,j,se)}},te=(Oe,ge)=>ee(ge,Oe),re=(Oe,ge)=>!ge.l.size&&(!ge.t.size||ge.t.size===1&&ge.t.has(Oe)),oe=(Oe,ge)=>{const ue=h.get(ge);ue?.t.forEach(se=>{se!==ge&&(((j,i)=>{const s=u(j,i);if(s){const O={...s,y:!1};C(j,i,O)}else console.warn("[Bug] could not invalidate non existing atom",i)})(Oe,se),oe(Oe,se))})},Y=(Oe,ge,ue)=>{let se=!0;const j=(s,O)=>{const z=ee(Oe,s);if("e"in z)throw z.e;if("p"in z){if(O?.unstable_promise)return z.p.then(()=>{const K=u(Oe,s);return K&&"p"in K&&K.p===z.p?new Promise($=>setTimeout($)).then(()=>j(s,O)):j(s,O)});throw console.info("Reading pending atom state in write operation. We throw a promise for now.",s),z.p}if("v"in z)return z.v;throw console.warn("[Bug] no value found while reading atom in write operation. This is probably a bug.",s),new Error("no value found")},i=ge.write(j,(s,O)=>{let z;if(s===ge){if(!Z(s))throw new Error("atom not writable");($=>{const Q=new Set,ae=p.get($);return ae&&(p.delete($),ae.forEach((be,Ce)=>{I(be),Q.add(Ce)})),Q})(s).forEach($=>{$!==Oe&&F($,s,O)}),u(Oe,s)!==F(Oe,s,O)&&oe(Oe,s)}else z=Y(Oe,s,O);return se||Re(Oe),z},ue);return se=!1,i},V=(Oe,ge,ue)=>{const se=Y(ue,Oe,ge);return Re(ue),se},ie=(Oe,ge,ue)=>{const se={t:new Set(ue&&[ue]),l:new Set};if(h.set(ge,se),n.add(ge),ee(void 0,ge).d.forEach((j,i)=>{const s=h.get(i);s?s.t.add(ge):i!==ge&&ie(Oe,i,ge)}),(j=>!!j.write)(ge)&&ge.onMount){const j=s=>V(ge,s,Oe),i=ge.onMount(j);Oe=void 0,i&&(se.u=i)}return se},we=(Oe,ge)=>{var ue;const se=(ue=h.get(ge))==null?void 0:ue.u;se&&se(),h.delete(ge),n.delete(ge);const j=u(Oe,ge);j?("p"in j&&I(j.p),j.d.forEach((i,s)=>{if(s!==ge){const O=h.get(s);O&&(O.t.delete(ge),re(s,O)&&we(Oe,s))}})):console.warn("[Bug] could not find atom state to unmount",ge)},Ae=(Oe,ge,ue,se)=>{const j=new Set(ue.d.keys());se?.forEach((i,s)=>{if(j.has(s))return void j.delete(s);const O=h.get(s);O&&(O.t.delete(ge),re(s,O)&&we(Oe,s))}),j.forEach(i=>{const s=h.get(i);s?s.t.add(ge):h.has(ge)&&ie(Oe,i,ge)})},Re=Oe=>{if(Oe)l(Oe).forEach((ge,ue)=>{if(ge!==y.get(ue)){const se=h.get(ue);se?.l.forEach(j=>j(Oe))}});else{for(;d.size;){const ge=Array.from(d);d.clear(),ge.forEach(([ue,se])=>{const j=u(void 0,ue);if(j&&j.d!==se?.d&&Ae(void 0,ue,j,se?.d),se&&!se.y&&j?.y)return;const i=h.get(ue);i?.l.forEach(s=>s())})}r.forEach(ge=>ge())}},je=(Oe,ge)=>{ge&&(ue=>{l(ue).forEach((se,j)=>{const i=y.get(j);(!i||se.r>i.r||se.y!==i.y||se.r===i.r&&se.d!==i.d)&&(y.set(j,se),se.d!==i?.d&&Ae(ue,j,se,i?.d))})})(ge),Re(void 0)},ye=(Oe,ge,ue)=>{const se=((i,s)=>{let O=h.get(s);return O||(O=ie(i,s)),O})(ue,Oe),j=se.l;return j.add(ge),()=>{j.delete(ge),((i,s)=>{const O=h.get(s);O&&re(s,O)&&we(i,s)})(ue,Oe)}},Ee=(Oe,ge)=>{for(const[ue,se]of Oe)Z(ue)&&(F(ge,ue,se),oe(ge,ue));Re(ge)};return{[N]:te,[W]:V,[k]:je,[S]:ye,h:Ee,n:Oe=>(r.add(Oe),()=>{r.delete(Oe)}),l:()=>n.values(),a:Oe=>y.get(Oe),m:Oe=>h.get(Oe)}},ce=b=>{const y=J(b),h=d=>new Promise((r,n)=>{const p=y.r(d);"e"in p?n(p.e):r("p"in p?p.p.then(()=>h(d)):p.v)});return{get:d=>{const r=y.r(d);if("e"in r)throw r.e;if(!("p"in r))return r.v},asyncGet:h,set:(d,r)=>y.w(d,r),sub:(d,r)=>y.s(d,r),SECRET_INTERNAL_store:y}},he=(b,y)=>({s:y?y(b).SECRET_INTERNAL_store:J(b)}),ve=new Map,le=b=>(ve.has(b)||ve.set(b,(0,e.createContext)(he())),ve.get(b)),G=({children:b,initialValues:y,scope:h,unstable_createStore:d,unstable_enableVersionedWrite:r})=>{const[n,p]=(0,e.useState)({});(0,e.useEffect)(()=>{const u=a.current;u.w&&(u.s.c(null,n),delete n.p,u.v=n)},[n]);const a=(0,e.useRef)();if(!a.current){const u=he(y,d);if(r){let C=0;u.w=L=>{p(_=>{const E=C?_:{p:_};return L(E),E})},u.v=n,u.r=L=>{++C,L(),--C}}a.current=u}const l=le(h);return(0,e.createElement)(l.Provider,{value:a.current},b)};function U(b,y){return function(h,d){const r="atom"+ ++P,n={toString:()=>r};return typeof h=="function"?n.read=h:(n.init=h,n.read=p=>p(n),n.write=(p,a,l)=>a(n,typeof l=="function"?l(p(n)):l)),d&&(n.write=d),n}(b,y)}function H(b,y){const h=le(y),d=(0,e.useContext)(h),{s:r,v:n}=d,p=_=>{const E=r.r(b,_);if(!E.y)throw new Error("should not be invalidated");if("e"in E)throw E.e;if("p"in E)throw E.p;if("v"in E)return E.v;throw new Error("no atom value")},[[a,l,u],C]=(0,e.useReducer)((_,E)=>{const D=p(E);return Object.is(_[1],D)&&_[2]===b?_:[E,D,b]},n,_=>[_,p(_),b]);let L=l;return u!==b&&(C(a),L=p(a)),(0,e.useEffect)(()=>{const{v:_}=d;_&&r.c(b,_);const E=r.s(b,C,_);return C(_),E},[r,b,d]),(0,e.useEffect)(()=>{r.c(b,a)}),(0,e.useDebugValue)(L),L}function M(b,y){const h=le(y),{s:d,w:r}=(0,e.useContext)(h);return(0,e.useCallback)(n=>{if(!("write"in b))throw new Error("not writable atom");const p=a=>d.w(b,n,a);return r?r(p):p()},[d,r,b])}function A(b,y){return"scope"in b&&(console.warn("atom.scope is deprecated. Please do useAtom(atom, scope) instead."),y=b.scope),[H(b,y),M(b,y)]}},5605:function(et,fe,t){t.d(fe,{x0:function(){return e}});let e=(P=21)=>crypto.getRandomValues(new Uint8Array(P)).reduce((w,m)=>w+=(m&=63)<36?m.toString(36):m<62?(m-26).toString(36).toUpperCase():m>62?"-":"_","")},5284:function(et){et.exports=JSON.parse('{"white":"#ffffff","black":"#000000","gray":["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],"red":["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],"pink":["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],"grape":["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],"violet":["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],"indigo":["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],"blue":["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],"cyan":["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],"teal":["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],"green":["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],"lime":["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],"yellow":["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],"orange":["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]}')},1463:function(et){et.exports=JSON.parse(`{"labels":{"paste":"Paste","pasteAsPlaintext":"Paste as plaintext","pasteCharts":"Paste charts","selectAll":"Select all","multiSelect":"Add element to selection","moveCanvas":"Move canvas","cut":"Cut","copy":"Copy","copyAsPng":"Copy to clipboard as PNG","copyAsSvg":"Copy to clipboard as SVG","copyText":"Copy to clipboard as text","bringForward":"Bring forward","sendToBack":"Send to back","bringToFront":"Bring to front","sendBackward":"Send backward","delete":"Delete","copyStyles":"Copy styles","pasteStyles":"Paste styles","stroke":"Stroke","background":"Background","fill":"Fill","strokeWidth":"Stroke width","strokeStyle":"Stroke style","strokeStyle_solid":"Solid","strokeStyle_dashed":"Dashed","strokeStyle_dotted":"Dotted","sloppiness":"Sloppiness","opacity":"Opacity","textAlign":"Text align","edges":"Edges","sharp":"Sharp","round":"Round","arrowheads":"Arrowheads","arrowhead_none":"None","arrowhead_arrow":"Arrow","arrowhead_bar":"Bar","arrowhead_dot":"Dot","arrowhead_triangle":"Triangle","fontSize":"Font size","fontFamily":"Font family","addWatermark":"Add \\"Made with Excalidraw\\"","handDrawn":"Hand-drawn","normal":"Normal","code":"Code","small":"Small","medium":"Medium","large":"Large","veryLarge":"Very large","solid":"Solid","hachure":"Hachure","zigzag":"Zigzag","crossHatch":"Cross-hatch","thin":"Thin","bold":"Bold","left":"Left","center":"Center","right":"Right","extraBold":"Extra bold","architect":"Architect","artist":"Artist","cartoonist":"Cartoonist","fileTitle":"File name","colorPicker":"Color picker","canvasColors":"Used on canvas","canvasBackground":"Canvas background","drawingCanvas":"Drawing canvas","layers":"Layers","actions":"Actions","language":"Language","liveCollaboration":"Live collaboration...","duplicateSelection":"Duplicate","untitled":"Untitled","name":"Name","yourName":"Your name","madeWithExcalidraw":"Made with Excalidraw","group":"Group selection","ungroup":"Ungroup selection","collaborators":"Collaborators","showGrid":"Show grid","addToLibrary":"Add to library","removeFromLibrary":"Remove from library","libraryLoadingMessage":"Loading library…","libraries":"Browse libraries","loadingScene":"Loading scene…","align":"Align","alignTop":"Align top","alignBottom":"Align bottom","alignLeft":"Align left","alignRight":"Align right","centerVertically":"Center vertically","centerHorizontally":"Center horizontally","distributeHorizontally":"Distribute horizontally","distributeVertically":"Distribute vertically","flipHorizontal":"Flip horizontal","flipVertical":"Flip vertical","viewMode":"View mode","share":"Share","showStroke":"Show stroke color picker","showBackground":"Show background color picker","toggleTheme":"Toggle theme","personalLib":"Personal Library","excalidrawLib":"Excalidraw Library","decreaseFontSize":"Decrease font size","increaseFontSize":"Increase font size","unbindText":"Unbind text","bindText":"Bind text to the container","createContainerFromText":"Wrap text in a container","link":{"edit":"Edit link","editEmbed":"Edit link & embed","create":"Create link","createEmbed":"Create link & embed","label":"Link","labelEmbed":"Link & embed","empty":"No link is set"},"lineEditor":{"edit":"Edit line","exit":"Exit line editor"},"elementLock":{"lock":"Lock","unlock":"Unlock","lockAll":"Lock all","unlockAll":"Unlock all"},"statusPublished":"Published","sidebarLock":"Keep sidebar open","selectAllElementsInFrame":"Select all elements in frame","removeAllElementsFromFrame":"Remove all elements from frame","eyeDropper":"Pick color from canvas"},"library":{"noItems":"No items added yet...","hint_emptyLibrary":"Select an item on canvas to add it here, or install a library from the public repository, below.","hint_emptyPrivateLibrary":"Select an item on canvas to add it here."},"buttons":{"clearReset":"Reset the canvas","exportJSON":"Export to file","exportImage":"Export image...","export":"Save to...","copyToClipboard":"Copy to clipboard","save":"Save to current file","saveAs":"Save as","load":"Open","getShareableLink":"Get shareable link","close":"Close","selectLanguage":"Select language","scrollBackToContent":"Scroll back to content","zoomIn":"Zoom in","zoomOut":"Zoom out","resetZoom":"Reset zoom","menu":"Menu","done":"Done","edit":"Edit","undo":"Undo","redo":"Redo","resetLibrary":"Reset library","createNewRoom":"Create new room","fullScreen":"Full screen","darkMode":"Dark mode","lightMode":"Light mode","zenMode":"Zen mode","objectsSnapMode":"Snap to objects","exitZenMode":"Exit zen mode","cancel":"Cancel","clear":"Clear","remove":"Remove","embed":"Toggle embedding","publishLibrary":"Publish","submit":"Submit","confirm":"Confirm","embeddableInteractionButton":"Click to interact"},"alerts":{"clearReset":"This will clear the whole canvas. Are you sure?","couldNotCreateShareableLink":"Couldn't create shareable link.","couldNotCreateShareableLinkTooBig":"Couldn't create shareable link: the scene is too big","couldNotLoadInvalidFile":"Couldn't load invalid file","importBackendFailed":"Importing from backend failed.","cannotExportEmptyCanvas":"Cannot export empty canvas.","couldNotCopyToClipboard":"Couldn't copy to clipboard.","decryptFailed":"Couldn't decrypt data.","uploadedSecurly":"The upload has been secured with end-to-end encryption, which means that Excalidraw server and third parties can't read the content.","loadSceneOverridePrompt":"Loading external drawing will replace your existing content. Do you wish to continue?","collabStopOverridePrompt":"Stopping the session will overwrite your previous, locally stored drawing. Are you sure?\\n\\n(If you want to keep your local drawing, simply close the browser tab instead.)","errorAddingToLibrary":"Couldn't add item to the library","errorRemovingFromLibrary":"Couldn't remove item from the library","confirmAddLibrary":"This will add {{numShapes}} shape(s) to your library. Are you sure?","imageDoesNotContainScene":"This image does not seem to contain any scene data. Have you enabled scene embedding during export?","cannotRestoreFromImage":"Scene couldn't be restored from this image file","invalidSceneUrl":"Couldn't import scene from the supplied URL. It's either malformed, or doesn't contain valid Excalidraw JSON data.","resetLibrary":"This will clear your library. Are you sure?","removeItemsFromsLibrary":"Delete {{count}} item(s) from library?","invalidEncryptionKey":"Encryption key must be of 22 characters. Live collaboration is disabled.","collabOfflineWarning":"No internet connection available.\\nYour changes will not be saved!"},"errors":{"unsupportedFileType":"Unsupported file type.","imageInsertError":"Couldn't insert image. Try again later...","fileTooBig":"File is too big. Maximum allowed size is {{maxSize}}.","svgImageInsertError":"Couldn't insert SVG image. The SVG markup looks invalid.","failedToFetchImage":"Failed to fetch image.","invalidSVGString":"Invalid SVG.","cannotResolveCollabServer":"Couldn't connect to the collab server. Please reload the page and try again.","importLibraryError":"Couldn't load library","collabSaveFailed":"Couldn't save to the backend database. If problems persist, you should save your file locally to ensure you don't lose your work.","collabSaveFailed_sizeExceeded":"Couldn't save to the backend database, the canvas seems to be too big. You should save the file locally to ensure you don't lose your work.","imageToolNotSupported":"Images are disabled.","brave_measure_text_error":{"line1":"Looks like you are using Brave browser with the <bold>Aggressively Block Fingerprinting</bold> setting enabled.","line2":"This could result in breaking the <bold>Text Elements</bold> in your drawings.","line3":"We strongly recommend disabling this setting. You can follow <link>these steps</link> on how to do so.","line4":"If disabling this setting doesn't fix the display of text elements, please open an <issueLink>issue</issueLink> on our GitHub, or write us on <discordLink>Discord</discordLink>"},"libraryElementTypeError":{"embeddable":"Embeddable elements cannot be added to the library.","image":"Support for adding images to the library coming soon!"},"asyncPasteFailedOnRead":"Couldn't paste (couldn't read from system clipboard).","asyncPasteFailedOnParse":"Couldn't paste.","copyToSystemClipboardFailed":"Couldn't copy to clipboard."},"toolBar":{"selection":"Selection","image":"Insert image","rectangle":"Rectangle","diamond":"Diamond","ellipse":"Ellipse","arrow":"Arrow","line":"Line","freedraw":"Draw","text":"Text","library":"Library","lock":"Keep selected tool active after drawing","penMode":"Pen mode - prevent touch","link":"Add/ Update link for a selected shape","eraser":"Eraser","frame":"Frame tool","embeddable":"Web Embed","laser":"Laser pointer","hand":"Hand (panning tool)","extraTools":"More tools","mermaidToExcalidraw":"Mermaid to Excalidraw"},"headings":{"canvasActions":"Canvas actions","selectedShapeActions":"Selected shape actions","shapes":"Shapes"},"hints":{"canvasPanning":"To move canvas, hold mouse wheel or spacebar while dragging, or use the hand tool","linearElement":"Click to start multiple points, drag for single line","freeDraw":"Click and drag, release when you're finished","text":"Tip: you can also add text by double-clicking anywhere with the selection tool","embeddable":"Click-drag to create a website embed","text_selected":"Double-click or press ENTER to edit text","text_editing":"Press Escape or CtrlOrCmd+ENTER to finish editing","linearElementMulti":"Click on last point or press Escape or Enter to finish","lockAngle":"You can constrain angle by holding SHIFT","resize":"You can constrain proportions by holding SHIFT while resizing,\\nhold ALT to resize from the center","resizeImage":"You can resize freely by holding SHIFT,\\nhold ALT to resize from the center","rotate":"You can constrain angles by holding SHIFT while rotating","lineEditor_info":"Hold CtrlOrCmd and Double-click or press CtrlOrCmd + Enter to edit points","lineEditor_pointSelected":"Press Delete to remove point(s),\\nCtrlOrCmd+D to duplicate, or drag to move","lineEditor_nothingSelected":"Select a point to edit (hold SHIFT to select multiple),\\nor hold Alt and click to add new points","placeImage":"Click to place the image, or click and drag to set its size manually","publishLibrary":"Publish your own library","bindTextToElement":"Press enter to add text","deepBoxSelect":"Hold CtrlOrCmd to deep select, and to prevent dragging","eraserRevert":"Hold Alt to revert the elements marked for deletion","firefox_clipboard_write":"This feature can likely be enabled by setting the \\"dom.events.asyncClipboard.clipboardItem\\" flag to \\"true\\". To change the browser flags in Firefox, visit the \\"about:config\\" page.","disableSnapping":"Hold CtrlOrCmd to disable snapping"},"canvasError":{"cannotShowPreview":"Cannot show preview","canvasTooBig":"The canvas may be too big.","canvasTooBigTip":"Tip: try moving the farthest elements a bit closer together."},"errorSplash":{"headingMain":"Encountered an error. Try <button>reloading the page</button>.","clearCanvasMessage":"If reloading doesn't work, try <button>clearing the canvas</button>.","clearCanvasCaveat":" This will result in loss of work ","trackedToSentry":"The error with identifier {{eventId}} was tracked on our system.","openIssueMessage":"We were very cautious not to include your scene information on the error. If your scene is not private, please consider following up on our <button>bug tracker</button>. Please include information below by copying and pasting into the GitHub issue.","sceneContent":"Scene content:"},"roomDialog":{"desc_intro":"You can invite people to your current scene to collaborate with you.","desc_privacy":"Don't worry, the session uses end-to-end encryption, so whatever you draw will stay private. Not even our server will be able to see what you come up with.","button_startSession":"Start session","button_stopSession":"Stop session","desc_inProgressIntro":"Live-collaboration session is now in progress.","desc_shareLink":"Share this link with anyone you want to collaborate with:","desc_exitSession":"Stopping the session will disconnect you from the room, but you'll be able to continue working with the scene, locally. Note that this won't affect other people, and they'll still be able to collaborate on their version.","shareTitle":"Join a live collaboration session on Excalidraw"},"errorDialog":{"title":"Error"},"exportDialog":{"disk_title":"Save to disk","disk_details":"Export the scene data to a file from which you can import later.","disk_button":"Save to file","link_title":"Shareable link","link_details":"Export as a read-only link.","link_button":"Export to Link","excalidrawplus_description":"Save the scene to your Excalidraw+ workspace.","excalidrawplus_button":"Export","excalidrawplus_exportError":"Couldn't export to Excalidraw+ at this moment..."},"helpDialog":{"blog":"Read our blog","click":"click","deepSelect":"Deep select","deepBoxSelect":"Deep select within box, and prevent dragging","curvedArrow":"Curved arrow","curvedLine":"Curved line","documentation":"Documentation","doubleClick":"double-click","drag":"drag","editor":"Editor","editLineArrowPoints":"Edit line/arrow points","editText":"Edit text / add label","github":"Found an issue? Submit","howto":"Follow our guides","or":"or","preventBinding":"Prevent arrow binding","tools":"Tools","shortcuts":"Keyboard shortcuts","textFinish":"Finish editing (text editor)","textNewLine":"Add new line (text editor)","title":"Help","view":"View","zoomToFit":"Zoom to fit all elements","zoomToSelection":"Zoom to selection","toggleElementLock":"Lock/unlock selection","movePageUpDown":"Move page up/down","movePageLeftRight":"Move page left/right"},"clearCanvasDialog":{"title":"Clear canvas"},"publishDialog":{"title":"Publish library","itemName":"Item name","authorName":"Author name","githubUsername":"GitHub username","twitterUsername":"Twitter username","libraryName":"Library name","libraryDesc":"Library description","website":"Website","placeholder":{"authorName":"Your name or username","libraryName":"Name of your library","libraryDesc":"Description of your library to help people understand its usage","githubHandle":"GitHub handle (optional), so you can edit the library once submitted for review","twitterHandle":"Twitter username (optional), so we know who to credit when promoting over Twitter","website":"Link to your personal website or elsewhere (optional)"},"errors":{"required":"Required","website":"Enter a valid URL"},"noteDescription":"Submit your library to be included in the <link>public library repository</link> for other people to use in their drawings.","noteGuidelines":"The library needs to be manually approved first. Please read the <link>guidelines</link> before submitting. You will need a GitHub account to communicate and make changes if requested, but it is not strictly required.","noteLicense":"By submitting, you agree the library will be published under the <link>MIT License</link>, which in short means anyone can use them without restrictions.","noteItems":"Each library item must have its own name so it's filterable. The following library items will be included:","atleastOneLibItem":"Please select at least one library item to get started","republishWarning":"Note: some of the selected items are marked as already published/submitted. You should only resubmit items when updating an existing library or submission."},"publishSuccessDialog":{"title":"Library submitted","content":"Thank you {{authorName}}. Your library has been submitted for review. You can track the status <link>here</link>"},"confirmDialog":{"resetLibrary":"Reset library","removeItemsFromLib":"Remove selected items from library"},"imageExportDialog":{"header":"Export image","label":{"withBackground":"Background","onlySelected":"Only selected","darkMode":"Dark mode","embedScene":"Embed scene","scale":"Scale","padding":"Padding"},"tooltip":{"embedScene":"Scene data will be saved into the exported PNG/SVG file so that the scene can be restored from it.\\nWill increase exported file size."},"title":{"exportToPng":"Export to PNG","exportToSvg":"Export to SVG","copyPngToClipboard":"Copy PNG to clipboard"},"button":{"exportToPng":"PNG","exportToSvg":"SVG","copyPngToClipboard":"Copy to clipboard"}},"encrypted":{"tooltip":"Your drawings are end-to-end encrypted so Excalidraw's servers will never see them.","link":"Blog post on end-to-end encryption in Excalidraw"},"stats":{"angle":"Angle","element":"Element","elements":"Elements","height":"Height","scene":"Scene","selected":"Selected","storage":"Storage","title":"Stats for nerds","total":"Total","version":"Version","versionCopy":"Click to copy","versionNotAvailable":"Version not available","width":"Width"},"toast":{"addedToLibrary":"Added to library","copyStyles":"Copied styles.","copyToClipboard":"Copied to clipboard.","copyToClipboardAsPng":"Copied {{exportSelection}} to clipboard as PNG\\n({{exportColorScheme}})","fileSaved":"File saved.","fileSavedToFilename":"Saved to {filename}","canvas":"canvas","selection":"selection","pasteAsSingleElement":"Use {{shortcut}} to paste as a single element,\\nor paste into an existing text editor","unableToEmbed":"Embedding this url is currently not allowed. Raise an issue on GitHub to request the url whitelisted","unrecognizedLinkFormat":"The link you embedded does not match the expected format. Please try to paste the 'embed' string provided by the source site"},"colors":{"transparent":"Transparent","black":"Black","white":"White","red":"Red","pink":"Pink","grape":"Grape","violet":"Violet","gray":"Gray","blue":"Blue","cyan":"Cyan","teal":"Teal","green":"Green","yellow":"Yellow","orange":"Orange","bronze":"Bronze"},"welcomeScreen":{"app":{"center_heading":"All your data is saved locally in your browser.","center_heading_plus":"Did you want to go to the Excalidraw+ instead?","menuHint":"Export, preferences, languages, ..."},"defaults":{"menuHint":"Export, preferences, and more...","center_heading":"Diagrams. Made. Simple.","toolbarHint":"Pick a tool & Start drawing!","helpHint":"Shortcuts & help"}},"colorPicker":{"mostUsedCustomColors":"Most used custom colors","colors":"Colors","shades":"Shades","hexCode":"Hex code","noShades":"No shades available for this color"},"overwriteConfirm":{"action":{"exportToImage":{"title":"Export as image","button":"Export as image","description":"Export the scene data as an image from which you can import later."},"saveToDisk":{"title":"Save to disk","button":"Save to disk","description":"Export the scene data to a file from which you can import later."},"excalidrawPlus":{"title":"Excalidraw+","button":"Export to Excalidraw+","description":"Save the scene to your Excalidraw+ workspace."}},"modal":{"loadFromFile":{"title":"Load from file","button":"Load from file","description":"Loading from a file will <bold>replace your existing content</bold>.<br></br>You can back up your drawing first using one of the options below."},"shareableLink":{"title":"Load from link","button":"Replace my content","description":"Loading external drawing will <bold>replace your existing content</bold>.<br></br>You can back up your drawing first by using one of the options below."}}},"mermaid":{"title":"Mermaid to Excalidraw","button":"Insert","description":"Currently only <flowchartLink>Flowcharts</flowchartLink> and <sequenceLink>Sequence Diagrams</sequenceLink> are supported. The other types will be rendered as image in Excalidraw.","syntax":"Mermaid Syntax","preview":"Preview"}}`)},4451:function(et){et.exports=JSON.parse('{"ar-SA":99,"az-AZ":18,"bg-BG":75,"bn-BD":55,"ca-ES":81,"cs-CZ":91,"da-DK":31,"de-DE":100,"el-GR":85,"en":100,"es-ES":96,"eu-ES":99,"fa-IR":87,"fi-FI":81,"fr-FR":98,"gl-ES":90,"he-IL":81,"hi-IN":75,"hu-HU":70,"id-ID":96,"it-IT":99,"ja-JP":95,"kaa":34,"kab-KAB":80,"kk-KZ":20,"km-KH":87,"ko-KR":100,"ku-TR":92,"lt-LT":51,"lv-LV":82,"mr-IN":92,"my-MM":37,"nb-NO":99,"nl-NL":79,"nn-NO":71,"oc-FR":79,"pa-IN":82,"pl-PL":100,"pt-BR":96,"pt-PT":88,"ro-RO":98,"ru-RU":94,"si-LK":8,"sk-SK":99,"sl-SI":100,"sv-SE":100,"ta-IN":85,"th-TH":46,"tr-TR":91,"uk-UA":99,"vi-VN":51,"zh-CN":99,"zh-HK":24,"zh-TW":100}')}},Xa={};function jn(et){var fe=Xa[et];if(fe!==void 0)return fe.exports;var t=Xa[et]={id:et,exports:{}};return Fa[et].call(t.exports,t,t.exports,jn),t.exports}jn.m=Fa,jn.n=function(et){var fe=et&&et.__esModule?function(){return et.default}:function(){return et};return jn.d(fe,{a:fe}),fe},ri=Object.getPrototypeOf?function(et){return Object.getPrototypeOf(et)}:function(et){return et.__proto__},jn.t=function(et,fe){if(1&fe&&(et=this(et)),8&fe||typeof et=="object"&&et&&(4&fe&&et.__esModule||16&fe&&typeof et.then=="function"))return et;var t=Object.create(null);jn.r(t);var e={};ji=ji||[null,ri({}),ri([]),ri(ri)];for(var P=2&fe&&et;typeof P=="object"&&!~ji.indexOf(P);P=ri(P))Object.getOwnPropertyNames(P).forEach(function(w){e[w]=function(){return et[w]}});return e.default=function(){return et},jn.d(t,e),t},jn.d=function(et,fe){for(var t in fe)jn.o(fe,t)&&!jn.o(et,t)&&Object.defineProperty(et,t,{enumerable:!0,get:fe[t]})},jn.f={},jn.e=function(et){return Promise.all(Object.keys(jn.f).reduce(function(fe,t){return jn.f[t](et,fe),fe},[]))},jn.u=function(et){return"excalidraw-assets/"+{22:"locales/kk-KZ-json",537:"locales/th-TH-json",663:"locales/kaa-json",1204:"locales/ja-JP-json",1302:"locales/si-LK-json",1477:"locales/my-MM-json",1513:"locales/el-GR-json",1628:"locales/bg-BG-json",1690:"locales/oc-FR-json",1790:"locales/da-DK-json",2091:"locales/ar-SA-json",2312:"locales/he-IL-json",2359:"locales/nb-NO-json",2404:"locales/ta-IN-json",2943:"locales/gl-ES-json",3024:"locales/nl-NL-json",3031:"locales/ku-TR-json",3082:"locales/de-DE-json",3162:"locales/pa-IN-json",3397:"locales/mr-IN-json",3421:"locales/zh-TW-json",3512:"locales/fi-FI-json",3674:"locales/pl-PL-json",3682:"locales/fr-FR-json",3721:"locales/pt-BR-json",3808:"locales/id-ID-json",3885:"locales/nn-NO-json",4e3:"locales/vi-VN-json",4568:"locales/az-AZ-json",4680:"locales/zh-CN-json",4736:"vendor",4977:"locales/tr-TR-json",5089:"locales/ro-RO-json",5130:"locales/ca-ES-json",5330:"locales/fa-IR-json",5395:"locales/pt-PT-json",6071:"locales/sl-SI-json",6239:"locales/it-IT-json",6265:"locales/cs-CZ-json",6566:"locales/km-KH-json",6768:"locales/lv-LV-json",6844:"locales/ko-KR-json",7368:"locales/hu-HU-json",7429:"locales/bn-BD-json",7759:"locales/uk-UA-json",7920:"locales/zh-HK-json",8081:"locales/eu-ES-json",8124:"locales/ru-RU-json",8340:"locales/lt-LT-json",8534:"locales/sv-SE-json",8750:"locales/sk-SK-json",8759:"locales/es-ES-json",9551:"locales/kab-KAB-json",9828:"locales/hi-IN-json"}[et]+"-"+{22:"2224f237cc93465f126f",537:"9a390d3cc7a7a6226b63",663:"4d0a4868835d0334a549",1204:"2cb067da0fb518e73564",1302:"4921d4298abfa256fe6f",1477:"3ba296b6fcf2a2197a7c",1513:"4cbc2dbda5a5df636ee1",1628:"42fb0378311f3ade2627",1690:"644a5eaa1311f70cb697",1790:"a94944ac6fa9756d2fac",2091:"db7c644ccbeb85d54a47",2312:"a7bc2a673875b2e655e1",2359:"798d785698d467e76fcf",2404:"2fa1854af68381c61913",2943:"d11c7966c3c2f95756e0",3024:"2cf913fe2f491c5d7075",3031:"bafa8865ed7002bb249e",3082:"d82053ab52357510811b",3162:"165c5c2760688033b2cc",3397:"ad1359c30c334d05eee0",3421:"5a3fa7cacfa83c411d89",3512:"64c8902f10425e1b2e81",3674:"35c1f168f53af24b657a",3682:"d16a471290ba26a6c66a",3721:"370215dc506c58ee3217",3808:"6542dd92ab54a2c1c48e",3885:"aa607835ad9408789c5f",4e3:"9c1c2a9fa9d6b5a58223",4568:"08a6de50238dbb21926c",4680:"069c304b5011429be615",4736:"677e88ca78c86bddf13d",4977:"fc9b16e9dc2be2660439",5089:"3c32b962880e225d3416",5130:"a6b2c18f7e85cfd11599",5330:"76b039039b043cc4280c",5395:"6f3d80656622a222b4e2",6071:"efb839ef0456f5c72e6e",6239:"ab410570df07304cb0ca",6265:"ea03835d73f9b921f7c4",6566:"cbe8e2e8d26d30a3175c",6768:"f7f9363e42ee2e3a7c67",6844:"c2387972637d47f15765",7368:"0419027d32efac73d518",7429:"9ad9e5ae95c4c66297b1",7759:"82753e98dced302ac187",7920:"d9bf1e4e2d1f8650c680",8081:"671a4afcfce7b0a7660b",8124:"e1f4ed9d2d074f778304",8340:"9b7e91a51b90ee551cad",8534:"cfab3adbd37dd273c61e",8750:"27b59d7e026675f929c4",8759:"7afb66536ee40d852fa2",9551:"0d400ba2836cc0752cd6",9828:"4947c9dace32cc3c6eef"}[et]+".js"},jn.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),jn.o=function(et,fe){return Object.prototype.hasOwnProperty.call(et,fe)},ci={},Bi="ExcalidrawLib:",jn.l=function(et,fe,t,e){if(ci[et])ci[et].push(fe);else{var P,w;if(t!==void 0)for(var m=document.getElementsByTagName("script"),v=0;v<m.length;v++){var I=m[v];if(I.getAttribute("src")==et||I.getAttribute("data-webpack")==Bi+t){P=I;break}}P||(w=!0,(P=document.createElement("script")).charset="utf-8",P.timeout=120,jn.nc&&P.setAttribute("nonce",jn.nc),P.setAttribute("data-webpack",Bi+t),P.src=et),ci[et]=[fe];var x=function(f,Z){P.onerror=P.onload=null,clearTimeout(c);var N=ci[et];if(delete ci[et],P.parentNode&&P.parentNode.removeChild(P),N&&N.forEach(function(W){return W(Z)}),f)return f(Z)},c=setTimeout(x.bind(null,void 0,{type:"timeout",target:P}),12e4);P.onerror=x.bind(null,P.onerror),P.onload=x.bind(null,P.onload),w&&document.head.appendChild(P)}},jn.r=function(et){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(et,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(et,"__esModule",{value:!0})},jn.p="",function(){jn.b=document.baseURI||self.location.href;var et={1388:0};jn.f.j=function(e,P){var w=jn.o(et,e)?et[e]:void 0;if(w!==0)if(w)P.push(w[2]);else{var m=new Promise(function(x,c){w=et[e]=[x,c]});P.push(w[2]=m);var v=jn.p+jn.u(e),I=new Error;jn.l(v,function(x){if(jn.o(et,e)&&((w=et[e])!==0&&(et[e]=void 0),w)){var c=x&&(x.type==="load"?"missing":x.type),f=x&&x.target&&x.target.src;I.message="Loading chunk "+e+` failed. +(`+c+": "+f+")",I.name="ChunkLoadError",I.type=c,I.request=f,w[1](I)}},"chunk-"+e,e)}};var fe=function(e,P){var w,m,v=P[0],I=P[1],x=P[2],c=0;if(v.some(function(f){return et[f]!==0})){for(w in I)jn.o(I,w)&&(jn.m[w]=I[w]);x&&x(jn)}for(e&&e(P);c<v.length;c++)m=v[c],jn.o(et,m)&&et[m]&&et[m][0](),et[m]=0},t=self.webpackChunkExcalidrawLib=self.webpackChunkExcalidrawLib||[];t.forEach(fe.bind(null,0)),t.push=fe.bind(null,t.push.bind(t))}(),jn.nc=void 0;var En={};return function(){jn.r(En),jn.d(En,{Button:function(){return k.zx},DefaultSidebar:function(){return k.Or},Excalidraw:function(){return k.Eb},FONT_FAMILY:function(){return k.ut},Footer:function(){return k.$_},LiveCollaborationTrigger:function(){return k.vO},MIME_TYPES:function(){return k.LO},MainMenu:function(){return k.lb},Sidebar:function(){return k.YE},THEME:function(){return k.C6},WelcomeScreen:function(){return k.B4},bumpVersion:function(){return k.ZP},convertToExcalidrawElements:function(){return k.wc},defaultLang:function(){return k.Fp},elementPartiallyOverlapsWithOrContainsBBox:function(){return k.sQ},elementsOverlappingBBox:function(){return k.Xs},exportToBlob:function(){return k.Fl},exportToCanvas:function(){return k.NL},exportToClipboard:function(){return k.i1},exportToSvg:function(){return k.$D},getCommonBounds:function(){return k.KP},getFreeDrawSvgPath:function(){return k.N7},getNonDeletedElements:function(){return k.Lm},getSceneVersion:function(){return k.Uo},isElementInsideBBox:function(){return k.Ne},isInvisiblySmallElement:function(){return k.QD},isLinearElement:function(){return k.bt},languages:function(){return k.Mj},loadFromBlob:function(){return k.cT},loadLibraryFromBlob:function(){return k.lV},loadSceneOrLibraryFromBlob:function(){return k.ZY},mergeLibraryItems:function(){return k.zh},mutateElement:function(){return k.DR},newElementWith:function(){return k.BE},normalizeLink:function(){return k.$u},parseLibraryTokensFromUrl:function(){return k.Di},restore:function(){return k.nu},restoreAppState:function(){return k.lY},restoreElements:function(){return k.ET},restoreLibraryItems:function(){return k.wJ},sceneCoordsToViewportCoords:function(){return k._i},serializeAsJSON:function(){return k.I_},serializeLibraryAsJSON:function(){return k.NI},useDevice:function(){return k.Fy},useHandleLibrary:function(){return k.xS},useI18n:function(){return k.QT},viewportCoordsToSceneCoords:function(){return k.dE}}),jn(9937).Vi.TEST!=="production"&&(jn.p=window.EXCALIDRAW_ASSET_PATH||"https://unpkg.com/".concat("@excalidraw/excalidraw","@").concat("0.17.3","/dist/"));var et=function(){Array.prototype.at||Object.defineProperty(Array.prototype,"at",{value:function(S){if((S=Math.trunc(S)||0)<0&&(S+=this.length),!(S<0||S>=this.length))return this[S]},writable:!0,enumerable:!1,configurable:!0}),Element.prototype.replaceChildren||(Element.prototype.replaceChildren=function(){this.innerHTML="",this.append.apply(this,arguments)})},fe=jn(3379),t=jn.n(fe),e=jn(7795),P=jn.n(e),w=jn(569),m=jn.n(w),v=jn(3565),I=jn.n(v),x=jn(9216),c=jn.n(x),f=jn(4589),Z=jn.n(f),N=jn(4295),W={};W.styleTagTransform=Z(),W.setAttributes=I(),W.insert=m().bind(null,"head"),W.domAPI=P(),W.insertStyleElement=c(),t()(N.Z,W),N.Z&&N.Z.locals&&N.Z.locals;var k=jn(4864);et()}(),En}()})}(al)),al.exports}var ll={exports:{}};/*! For license information please see excalidraw-with-preact.production.min.js.LICENSE.txt */var ul;function yl(){return ul||(ul=1,function(ja,rl){(function(Yi,li){ja.exports=li(dl,ml,fl)})(self,function(Yi,li,ji){return function(){var ri,ci,Bi,Fa,Xa={5779:function(fe,t){t.N=void 0;var e=/^([^\w]*)(javascript|data|vbscript)/im,P=/&#(\w+)(^\w|;)?/g,w=/&(newline|tab);/gi,m=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,v=/^.+(:|:)/gim,I=[".","/"];t.N=function(x){var c,f=(c=x||"",c.replace(P,function(W,k){return String.fromCharCode(k)})).replace(w,"").replace(m,"").trim();if(!f)return"about:blank";if(function(W){return I.indexOf(W[0])>-1}(f))return f;var Z=f.match(v);if(!Z)return f;var N=Z[0];return e.test(N)?"about:blank":f}},7217:function(fe,t,e){function P(w,m,{checkForDefaultPrevented:v=!0}={}){return function(I){if(w?.(I),v===!1||!I.defaultPrevented)return m?.(I)}}e.d(t,{M:function(){return P}})},9335:function(fe,t,e){e.d(t,{F:function(){return w},e:function(){return m}});var P=e(9787);function w(...v){return I=>v.forEach(x=>function(c,f){typeof c=="function"?c(f):c!=null&&(c.current=f)}(x,I))}function m(...v){return(0,P.useCallback)(w(...v),v)}},1267:function(fe,t,e){e.d(t,{b:function(){return w}});var P=e(9787);function w(v,I=[]){let x=[];const c=()=>{const f=x.map(Z=>(0,P.createContext)(Z));return function(Z){const N=Z?.[v]||f;return(0,P.useMemo)(()=>({[`__scope${v}`]:{...Z,[v]:N}}),[Z,N])}};return c.scopeName=v,[function(f,Z){const N=(0,P.createContext)(Z),W=x.length;function k(S){const{scope:J,children:ce,...he}=S,ve=J?.[v][W]||N,le=(0,P.useMemo)(()=>he,Object.values(he));return(0,P.createElement)(ve.Provider,{value:le},ce)}return x=[...x,Z],k.displayName=f+"Provider",[k,function(S,J){const ce=J?.[v][W]||N,he=(0,P.useContext)(ce);if(he)return he;if(Z!==void 0)return Z;throw new Error(`\`${S}\` must be used within \`${f}\``)}]},m(c,...I)]}function m(...v){const I=v[0];if(v.length===1)return I;const x=()=>{const c=v.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(f){const Z=c.reduce((N,{useScope:W,scopeName:k})=>({...N,...W(f)[`__scope${k}`]}),{});return(0,P.useMemo)(()=>({[`__scope${I.scopeName}`]:Z}),[Z])}};return x.scopeName=I.scopeName,x}},5622:function(fe,t,e){e.d(t,{M:function(){return I}});var P=e(9787),w=e(3348);const m=P.useId||(()=>{});let v=0;function I(x){const[c,f]=P.useState(m());return(0,w.b)(()=>{x||f(Z=>Z??String(v++))},[x]),x||(c?`radix-${c}`:"")}},1483:function(fe,t,e){e.d(t,{z:function(){return I}});var P=e(9787),w=e(5156),m=e(9335),v=e(3348);const I=c=>{const{present:f,children:Z}=c,N=function(S){const[J,ce]=(0,P.useState)(),he=(0,P.useRef)({}),ve=(0,P.useRef)(S),le=(0,P.useRef)("none"),G=S?"mounted":"unmounted",[U,H]=function(M,A){return(0,P.useReducer)((b,y)=>{const h=A[b][y];return h??b},M)}(G,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,P.useEffect)(()=>{const M=x(he.current);le.current=U==="mounted"?M:"none"},[U]),(0,v.b)(()=>{const M=he.current,A=ve.current;if(A!==S){const b=le.current,y=x(M);S?H("MOUNT"):y==="none"||M?.display==="none"?H("UNMOUNT"):H(A&&b!==y?"ANIMATION_OUT":"UNMOUNT"),ve.current=S}},[S,H]),(0,v.b)(()=>{if(J){const M=b=>{const y=x(he.current).includes(b.animationName);b.target===J&&y&&(0,w.flushSync)(()=>H("ANIMATION_END"))},A=b=>{b.target===J&&(le.current=x(he.current))};return J.addEventListener("animationstart",A),J.addEventListener("animationcancel",M),J.addEventListener("animationend",M),()=>{J.removeEventListener("animationstart",A),J.removeEventListener("animationcancel",M),J.removeEventListener("animationend",M)}}H("ANIMATION_END")},[J,H]),{isPresent:["mounted","unmountSuspended"].includes(U),ref:(0,P.useCallback)(M=>{M&&(he.current=getComputedStyle(M)),ce(M)},[])}}(f),W=typeof Z=="function"?Z({present:N.isPresent}):P.Children.only(Z),k=(0,m.e)(N.ref,W.ref);return typeof Z=="function"||N.isPresent?(0,P.cloneElement)(W,{ref:k}):null};function x(c){return c?.animationName||"none"}I.displayName="Presence"},3119:function(fe,t,e){e.d(t,{WV:function(){return I},jH:function(){return x}});var P=e(11),w=e(9787),m=e(5156),v=e(4801);const I=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((c,f)=>{const Z=(0,w.forwardRef)((N,W)=>{const{asChild:k,...S}=N,J=k?v.g7:f;return(0,w.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,w.createElement)(J,(0,P.Z)({},S,{ref:W}))});return Z.displayName=`Primitive.${f}`,{...c,[f]:Z}},{});function x(c,f){c&&(0,m.flushSync)(()=>c.dispatchEvent(f))}},4801:function(fe,t,e){e.d(t,{g7:function(){return v}});var P=e(11),w=e(9787),m=e(9335);const v=(0,w.forwardRef)((Z,N)=>{const{children:W,...k}=Z,S=w.Children.toArray(W),J=S.find(c);if(J){const ce=J.props.children,he=S.map(ve=>ve===J?w.Children.count(ce)>1?w.Children.only(null):(0,w.isValidElement)(ce)?ce.props.children:null:ve);return(0,w.createElement)(I,(0,P.Z)({},k,{ref:N}),(0,w.isValidElement)(ce)?(0,w.cloneElement)(ce,void 0,he):null)}return(0,w.createElement)(I,(0,P.Z)({},k,{ref:N}),W)});v.displayName="Slot";const I=(0,w.forwardRef)((Z,N)=>{const{children:W,...k}=Z;return(0,w.isValidElement)(W)?(0,w.cloneElement)(W,{...f(k,W.props),ref:(0,m.F)(N,W.ref)}):w.Children.count(W)>1?w.Children.only(null):null});I.displayName="SlotClone";const x=({children:Z})=>(0,w.createElement)(w.Fragment,null,Z);function c(Z){return(0,w.isValidElement)(Z)&&Z.type===x}function f(Z,N){const W={...N};for(const k in N){const S=Z[k],J=N[k];/^on[A-Z]/.test(k)?S&&J?W[k]=(...ce)=>{J(...ce),S(...ce)}:S&&(W[k]=S):k==="style"?W[k]={...S,...J}:k==="className"&&(W[k]=[S,J].filter(Boolean).join(" "))}return{...Z,...W}}},3060:function(fe,t,e){e.d(t,{W:function(){return w}});var P=e(9787);function w(m){const v=(0,P.useRef)(m);return(0,P.useEffect)(()=>{v.current=m}),(0,P.useMemo)(()=>(...I)=>{var x;return(x=v.current)===null||x===void 0?void 0:x.call(v,...I)},[])}},2673:function(fe,t,e){e.d(t,{T:function(){return m}});var P=e(9787),w=e(3060);function m({prop:v,defaultProp:I,onChange:x=()=>{}}){const[c,f]=function({defaultProp:k,onChange:S}){const J=(0,P.useState)(k),[ce]=J,he=(0,P.useRef)(ce),ve=(0,w.W)(S);return(0,P.useEffect)(()=>{he.current!==ce&&(ve(ce),he.current=ce)},[ce,he,ve]),J}({defaultProp:I,onChange:x}),Z=v!==void 0,N=Z?v:c,W=(0,w.W)(x);return[N,(0,P.useCallback)(k=>{if(Z){const S=k,J=typeof k=="function"?S(v):k;J!==v&&W(J)}else f(k)},[Z,v,f,W])]}},3348:function(fe,t,e){e.d(t,{b:function(){return w}});var P=e(9787);const w=globalThis?.document?P.useLayoutEffect:()=>{}},45:function(fe,t,e){function P(m){var v,I,x="";if(typeof m=="string"||typeof m=="number")x+=m;else if(typeof m=="object")if(Array.isArray(m))for(v=0;v<m.length;v++)m[v]&&(I=P(m[v]))&&(x&&(x+=" "),x+=I);else for(v in m)m[v]&&(x&&(x+=" "),x+=v);return x}function w(){for(var m,v,I=0,x="";I<arguments.length;)(m=arguments[I++])&&(v=P(m))&&(x&&(x+=" "),x+=v);return x}e.d(t,{Z:function(){return w}})},6233:function(fe,t){var e;e=function(P){P.version="0.3.0";var w=function(){for(var I=0,x=new Array(256),c=0;c!=256;++c)I=1&(I=1&(I=1&(I=1&(I=1&(I=1&(I=1&(I=1&(I=c)?-306674912^I>>>1:I>>>1)?-306674912^I>>>1:I>>>1)?-306674912^I>>>1:I>>>1)?-306674912^I>>>1:I>>>1)?-306674912^I>>>1:I>>>1)?-306674912^I>>>1:I>>>1)?-306674912^I>>>1:I>>>1)?-306674912^I>>>1:I>>>1,x[c]=I;return typeof Int32Array<"u"?new Int32Array(x):x}(),m=typeof Buffer<"u";function v(I){for(var x=-1,c=0,f=I.length-7;c<f;)x=(x=(x=(x=(x=(x=(x=(x=x>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])];for(;c<f+7;)x=x>>>8^w[255&(x^I[c++])];return-1^x}P.table=w,P.bstr=function(I){if(I.length>32768&&m)return v(new Buffer(I));for(var x=-1,c=I.length-1,f=0;f<c;)x=w[255&(x^I.charCodeAt(f++))]^x>>>8,x=w[255&(x^I.charCodeAt(f++))]^x>>>8;return f===c&&(x=x>>>8^w[255&(x^I.charCodeAt(f))]),-1^x},P.buf=function(I){if(I.length>1e4)return v(I);for(var x=-1,c=0,f=I.length-3;c<f;)x=(x=(x=(x=x>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])])>>>8^w[255&(x^I[c++])];for(;c<f+3;)x=x>>>8^w[255&(x^I[c++])];return-1^x},P.str=function(I){for(var x,c,f=-1,Z=0,N=I.length;Z<N;)(x=I.charCodeAt(Z++))<128?f=f>>>8^w[255&(f^x)]:x<2048?f=(f=f>>>8^w[255&(f^(192|x>>6&31))])>>>8^w[255&(f^(128|63&x))]:x>=55296&&x<57344?(x=64+(1023&x),c=1023&I.charCodeAt(Z++),f=(f=(f=(f=f>>>8^w[255&(f^(240|x>>8&7))])>>>8^w[255&(f^(128|x>>2&63))])>>>8^w[255&(f^(128|c>>6&15|3&x))])>>>8^w[255&(f^(128|63&c))]):f=(f=(f=f>>>8^w[255&(f^(224|x>>12&15))])>>>8^w[255&(f^(128|x>>6&63))])>>>8^w[255&(f^(128|63&x))];return-1^f}},e(typeof DO_NOT_EXPORT_CRC>"u"?t:{})},200:function(fe,t,e){var P="Expected a function",w=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,I=/^0o[0-7]+$/i,x=parseInt,c=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,f=typeof self=="object"&&self&&self.Object===Object&&self,Z=c||f||Function("return this")(),N=Object.prototype.toString,W=Math.max,k=Math.min,S=function(){return Z.Date.now()};function J(ve,le,G){var U,H,M,A,b,y,h=0,d=!1,r=!1,n=!0;if(typeof ve!="function")throw new TypeError(P);function p(_){var E=U,D=H;return U=H=void 0,h=_,A=ve.apply(D,E)}function a(_){return h=_,b=setTimeout(u,le),d?p(_):A}function l(_){var E=_-y;return y===void 0||E>=le||E<0||r&&_-h>=M}function u(){var _=S();if(l(_))return C(_);b=setTimeout(u,function(E){var D=le-(E-y);return r?k(D,M-(E-h)):D}(_))}function C(_){return b=void 0,n&&U?p(_):(U=H=void 0,A)}function L(){var _=S(),E=l(_);if(U=arguments,H=this,y=_,E){if(b===void 0)return a(y);if(r)return b=setTimeout(u,le),p(y)}return b===void 0&&(b=setTimeout(u,le)),A}return le=he(le)||0,ce(G)&&(d=!!G.leading,M=(r="maxWait"in G)?W(he(G.maxWait)||0,le):M,n="trailing"in G?!!G.trailing:n),L.cancel=function(){b!==void 0&&clearTimeout(b),h=0,U=y=H=b=void 0},L.flush=function(){return b===void 0?A:C(S())},L}function ce(ve){var le=typeof ve;return!!ve&&(le=="object"||le=="function")}function he(ve){if(typeof ve=="number")return ve;if(function(U){return typeof U=="symbol"||function(H){return!!H&&typeof H=="object"}(U)&&N.call(U)=="[object Symbol]"}(ve))return NaN;if(ce(ve)){var le=typeof ve.valueOf=="function"?ve.valueOf():ve;ve=ce(le)?le+"":le}if(typeof ve!="string")return ve===0?ve:+ve;ve=ve.replace(w,"");var G=v.test(ve);return G||I.test(ve)?x(ve.slice(2),G?2:8):m.test(ve)?NaN:+ve}fe.exports=function(ve,le,G){var U=!0,H=!0;if(typeof ve!="function")throw new TypeError(P);return ce(G)&&(U="leading"in G?!!G.leading:U,H="trailing"in G?!!G.trailing:H),J(ve,le,{leading:U,maxWait:le,trailing:H})}},2744:function(fe,t,e){var P={};(0,e(9187).assign)(P,e(4395),e(578),e(2684)),fe.exports=P},4395:function(fe,t,e){var P=e(6193),w=e(9187),m=e(8592),v=e(5604),I=e(249),x=Object.prototype.toString;function c(Z){if(!(this instanceof c))return new c(Z);this.options=w.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},Z||{});var N=this.options;N.raw&&N.windowBits>0?N.windowBits=-N.windowBits:N.gzip&&N.windowBits>0&&N.windowBits<16&&(N.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new I,this.strm.avail_out=0;var W=P.deflateInit2(this.strm,N.level,N.method,N.windowBits,N.memLevel,N.strategy);if(W!==0)throw new Error(v[W]);if(N.header&&P.deflateSetHeader(this.strm,N.header),N.dictionary){var k;if(k=typeof N.dictionary=="string"?m.string2buf(N.dictionary):x.call(N.dictionary)==="[object ArrayBuffer]"?new Uint8Array(N.dictionary):N.dictionary,(W=P.deflateSetDictionary(this.strm,k))!==0)throw new Error(v[W]);this._dict_set=!0}}function f(Z,N){var W=new c(N);if(W.push(Z,!0),W.err)throw W.msg||v[W.err];return W.result}c.prototype.push=function(Z,N){var W,k,S=this.strm,J=this.options.chunkSize;if(this.ended)return!1;k=N===~~N?N:N===!0?4:0,typeof Z=="string"?S.input=m.string2buf(Z):x.call(Z)==="[object ArrayBuffer]"?S.input=new Uint8Array(Z):S.input=Z,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new w.Buf8(J),S.next_out=0,S.avail_out=J),(W=P.deflate(S,k))!==1&&W!==0)return this.onEnd(W),this.ended=!0,!1;S.avail_out!==0&&(S.avail_in!==0||k!==4&&k!==2)||(this.options.to==="string"?this.onData(m.buf2binstring(w.shrinkBuf(S.output,S.next_out))):this.onData(w.shrinkBuf(S.output,S.next_out)))}while((S.avail_in>0||S.avail_out===0)&&W!==1);return k===4?(W=P.deflateEnd(this.strm),this.onEnd(W),this.ended=!0,W===0):k!==2||(this.onEnd(0),S.avail_out=0,!0)},c.prototype.onData=function(Z){this.chunks.push(Z)},c.prototype.onEnd=function(Z){Z===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=w.flattenChunks(this.chunks)),this.chunks=[],this.err=Z,this.msg=this.strm.msg},t.Deflate=c,t.deflate=f,t.deflateRaw=function(Z,N){return(N=N||{}).raw=!0,f(Z,N)},t.gzip=function(Z,N){return(N=N||{}).gzip=!0,f(Z,N)}},578:function(fe,t,e){var P=e(7823),w=e(9187),m=e(8592),v=e(2684),I=e(5604),x=e(249),c=e(9968),f=Object.prototype.toString;function Z(W){if(!(this instanceof Z))return new Z(W);this.options=w.assign({chunkSize:16384,windowBits:0,to:""},W||{});var k=this.options;k.raw&&k.windowBits>=0&&k.windowBits<16&&(k.windowBits=-k.windowBits,k.windowBits===0&&(k.windowBits=-15)),!(k.windowBits>=0&&k.windowBits<16)||W&&W.windowBits||(k.windowBits+=32),k.windowBits>15&&k.windowBits<48&&!(15&k.windowBits)&&(k.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new x,this.strm.avail_out=0;var S=P.inflateInit2(this.strm,k.windowBits);if(S!==v.Z_OK)throw new Error(I[S]);if(this.header=new c,P.inflateGetHeader(this.strm,this.header),k.dictionary&&(typeof k.dictionary=="string"?k.dictionary=m.string2buf(k.dictionary):f.call(k.dictionary)==="[object ArrayBuffer]"&&(k.dictionary=new Uint8Array(k.dictionary)),k.raw&&(S=P.inflateSetDictionary(this.strm,k.dictionary))!==v.Z_OK))throw new Error(I[S])}function N(W,k){var S=new Z(k);if(S.push(W,!0),S.err)throw S.msg||I[S.err];return S.result}Z.prototype.push=function(W,k){var S,J,ce,he,ve,le=this.strm,G=this.options.chunkSize,U=this.options.dictionary,H=!1;if(this.ended)return!1;J=k===~~k?k:k===!0?v.Z_FINISH:v.Z_NO_FLUSH,typeof W=="string"?le.input=m.binstring2buf(W):f.call(W)==="[object ArrayBuffer]"?le.input=new Uint8Array(W):le.input=W,le.next_in=0,le.avail_in=le.input.length;do{if(le.avail_out===0&&(le.output=new w.Buf8(G),le.next_out=0,le.avail_out=G),(S=P.inflate(le,v.Z_NO_FLUSH))===v.Z_NEED_DICT&&U&&(S=P.inflateSetDictionary(this.strm,U)),S===v.Z_BUF_ERROR&&H===!0&&(S=v.Z_OK,H=!1),S!==v.Z_STREAM_END&&S!==v.Z_OK)return this.onEnd(S),this.ended=!0,!1;le.next_out&&(le.avail_out!==0&&S!==v.Z_STREAM_END&&(le.avail_in!==0||J!==v.Z_FINISH&&J!==v.Z_SYNC_FLUSH)||(this.options.to==="string"?(ce=m.utf8border(le.output,le.next_out),he=le.next_out-ce,ve=m.buf2string(le.output,ce),le.next_out=he,le.avail_out=G-he,he&&w.arraySet(le.output,le.output,ce,he,0),this.onData(ve)):this.onData(w.shrinkBuf(le.output,le.next_out)))),le.avail_in===0&&le.avail_out===0&&(H=!0)}while((le.avail_in>0||le.avail_out===0)&&S!==v.Z_STREAM_END);return S===v.Z_STREAM_END&&(J=v.Z_FINISH),J===v.Z_FINISH?(S=P.inflateEnd(this.strm),this.onEnd(S),this.ended=!0,S===v.Z_OK):J!==v.Z_SYNC_FLUSH||(this.onEnd(v.Z_OK),le.avail_out=0,!0)},Z.prototype.onData=function(W){this.chunks.push(W)},Z.prototype.onEnd=function(W){W===v.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=w.flattenChunks(this.chunks)),this.chunks=[],this.err=W,this.msg=this.strm.msg},t.Inflate=Z,t.inflate=N,t.inflateRaw=function(W,k){return(k=k||{}).raw=!0,N(W,k)},t.ungzip=N},9187:function(fe,t){var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function P(v,I){return Object.prototype.hasOwnProperty.call(v,I)}t.assign=function(v){for(var I=Array.prototype.slice.call(arguments,1);I.length;){var x=I.shift();if(x){if(typeof x!="object")throw new TypeError(x+"must be non-object");for(var c in x)P(x,c)&&(v[c]=x[c])}}return v},t.shrinkBuf=function(v,I){return v.length===I?v:v.subarray?v.subarray(0,I):(v.length=I,v)};var w={arraySet:function(v,I,x,c,f){if(I.subarray&&v.subarray)v.set(I.subarray(x,x+c),f);else for(var Z=0;Z<c;Z++)v[f+Z]=I[x+Z]},flattenChunks:function(v){var I,x,c,f,Z,N;for(c=0,I=0,x=v.length;I<x;I++)c+=v[I].length;for(N=new Uint8Array(c),f=0,I=0,x=v.length;I<x;I++)Z=v[I],N.set(Z,f),f+=Z.length;return N}},m={arraySet:function(v,I,x,c,f){for(var Z=0;Z<c;Z++)v[f+Z]=I[x+Z]},flattenChunks:function(v){return[].concat.apply([],v)}};t.setTyped=function(v){v?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,w)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,m))},t.setTyped(e)},8592:function(fe,t,e){var P=e(9187),w=!0,m=!0;try{String.fromCharCode.apply(null,[0])}catch{w=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{m=!1}for(var v=new P.Buf8(256),I=0;I<256;I++)v[I]=I>=252?6:I>=248?5:I>=240?4:I>=224?3:I>=192?2:1;function x(c,f){if(f<65534&&(c.subarray&&m||!c.subarray&&w))return String.fromCharCode.apply(null,P.shrinkBuf(c,f));for(var Z="",N=0;N<f;N++)Z+=String.fromCharCode(c[N]);return Z}v[254]=v[254]=1,t.string2buf=function(c){var f,Z,N,W,k,S=c.length,J=0;for(W=0;W<S;W++)(64512&(Z=c.charCodeAt(W)))==55296&&W+1<S&&(64512&(N=c.charCodeAt(W+1)))==56320&&(Z=65536+(Z-55296<<10)+(N-56320),W++),J+=Z<128?1:Z<2048?2:Z<65536?3:4;for(f=new P.Buf8(J),k=0,W=0;k<J;W++)(64512&(Z=c.charCodeAt(W)))==55296&&W+1<S&&(64512&(N=c.charCodeAt(W+1)))==56320&&(Z=65536+(Z-55296<<10)+(N-56320),W++),Z<128?f[k++]=Z:Z<2048?(f[k++]=192|Z>>>6,f[k++]=128|63&Z):Z<65536?(f[k++]=224|Z>>>12,f[k++]=128|Z>>>6&63,f[k++]=128|63&Z):(f[k++]=240|Z>>>18,f[k++]=128|Z>>>12&63,f[k++]=128|Z>>>6&63,f[k++]=128|63&Z);return f},t.buf2binstring=function(c){return x(c,c.length)},t.binstring2buf=function(c){for(var f=new P.Buf8(c.length),Z=0,N=f.length;Z<N;Z++)f[Z]=c.charCodeAt(Z);return f},t.buf2string=function(c,f){var Z,N,W,k,S=f||c.length,J=new Array(2*S);for(N=0,Z=0;Z<S;)if((W=c[Z++])<128)J[N++]=W;else if((k=v[W])>4)J[N++]=65533,Z+=k-1;else{for(W&=k===2?31:k===3?15:7;k>1&&Z<S;)W=W<<6|63&c[Z++],k--;k>1?J[N++]=65533:W<65536?J[N++]=W:(W-=65536,J[N++]=55296|W>>10&1023,J[N++]=56320|1023&W)}return x(J,N)},t.utf8border=function(c,f){var Z;for((f=f||c.length)>c.length&&(f=c.length),Z=f-1;Z>=0&&(192&c[Z])==128;)Z--;return Z<0||Z===0?f:Z+v[c[Z]]>f?Z:f}},3693:function(fe){fe.exports=function(t,e,P,w){for(var m=65535&t|0,v=t>>>16&65535|0,I=0;P!==0;){P-=I=P>2e3?2e3:P;do v=v+(m=m+e[w++]|0)|0;while(--I);m%=65521,v%=65521}return m|v<<16|0}},2684:function(fe){fe.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},8464:function(fe){var t=function(){for(var e,P=[],w=0;w<256;w++){e=w;for(var m=0;m<8;m++)e=1&e?3988292384^e>>>1:e>>>1;P[w]=e}return P}();fe.exports=function(e,P,w,m){var v=t,I=m+w;e^=-1;for(var x=m;x<I;x++)e=e>>>8^v[255&(e^P[x])];return-1^e}},6193:function(fe,t,e){var P,w=e(9187),m=e(8676),v=e(3693),I=e(8464),x=e(5604),c=-2,f=258,Z=262,N=103,W=113,k=666;function S(n,p){return n.msg=x[p],p}function J(n){return(n<<1)-(n>4?9:0)}function ce(n){for(var p=n.length;--p>=0;)n[p]=0}function he(n){var p=n.state,a=p.pending;a>n.avail_out&&(a=n.avail_out),a!==0&&(w.arraySet(n.output,p.pending_buf,p.pending_out,a,n.next_out),n.next_out+=a,p.pending_out+=a,n.total_out+=a,n.avail_out-=a,p.pending-=a,p.pending===0&&(p.pending_out=0))}function ve(n,p){m._tr_flush_block(n,n.block_start>=0?n.block_start:-1,n.strstart-n.block_start,p),n.block_start=n.strstart,he(n.strm)}function le(n,p){n.pending_buf[n.pending++]=p}function G(n,p){n.pending_buf[n.pending++]=p>>>8&255,n.pending_buf[n.pending++]=255&p}function U(n,p){var a,l,u=n.max_chain_length,C=n.strstart,L=n.prev_length,_=n.nice_match,E=n.strstart>n.w_size-Z?n.strstart-(n.w_size-Z):0,D=n.window,F=n.w_mask,ee=n.prev,te=n.strstart+f,re=D[C+L-1],oe=D[C+L];n.prev_length>=n.good_match&&(u>>=2),_>n.lookahead&&(_=n.lookahead);do if(D[(a=p)+L]===oe&&D[a+L-1]===re&&D[a]===D[C]&&D[++a]===D[C+1]){C+=2,a++;do;while(D[++C]===D[++a]&&D[++C]===D[++a]&&D[++C]===D[++a]&&D[++C]===D[++a]&&D[++C]===D[++a]&&D[++C]===D[++a]&&D[++C]===D[++a]&&D[++C]===D[++a]&&C<te);if(l=f-(te-C),C=te-f,l>L){if(n.match_start=p,L=l,l>=_)break;re=D[C+L-1],oe=D[C+L]}}while((p=ee[p&F])>E&&--u!=0);return L<=n.lookahead?L:n.lookahead}function H(n){var p,a,l,u,C,L,_,E,D,F,ee=n.w_size;do{if(u=n.window_size-n.lookahead-n.strstart,n.strstart>=ee+(ee-Z)){w.arraySet(n.window,n.window,ee,ee,0),n.match_start-=ee,n.strstart-=ee,n.block_start-=ee,p=a=n.hash_size;do l=n.head[--p],n.head[p]=l>=ee?l-ee:0;while(--a);p=a=ee;do l=n.prev[--p],n.prev[p]=l>=ee?l-ee:0;while(--a);u+=ee}if(n.strm.avail_in===0)break;if(L=n.strm,_=n.window,E=n.strstart+n.lookahead,D=u,F=void 0,(F=L.avail_in)>D&&(F=D),a=F===0?0:(L.avail_in-=F,w.arraySet(_,L.input,L.next_in,F,E),L.state.wrap===1?L.adler=v(L.adler,_,F,E):L.state.wrap===2&&(L.adler=I(L.adler,_,F,E)),L.next_in+=F,L.total_in+=F,F),n.lookahead+=a,n.lookahead+n.insert>=3)for(C=n.strstart-n.insert,n.ins_h=n.window[C],n.ins_h=(n.ins_h<<n.hash_shift^n.window[C+1])&n.hash_mask;n.insert&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[C+3-1])&n.hash_mask,n.prev[C&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=C,C++,n.insert--,!(n.lookahead+n.insert<3)););}while(n.lookahead<Z&&n.strm.avail_in!==0)}function M(n,p){for(var a,l;;){if(n.lookahead<Z){if(H(n),n.lookahead<Z&&p===0)return 1;if(n.lookahead===0)break}if(a=0,n.lookahead>=3&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+3-1])&n.hash_mask,a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),a!==0&&n.strstart-a<=n.w_size-Z&&(n.match_length=U(n,a)),n.match_length>=3)if(l=m._tr_tally(n,n.strstart-n.match_start,n.match_length-3),n.lookahead-=n.match_length,n.match_length<=n.max_lazy_match&&n.lookahead>=3){n.match_length--;do n.strstart++,n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+3-1])&n.hash_mask,a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart;while(--n.match_length!=0);n.strstart++}else n.strstart+=n.match_length,n.match_length=0,n.ins_h=n.window[n.strstart],n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+1])&n.hash_mask;else l=m._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++;if(l&&(ve(n,!1),n.strm.avail_out===0))return 1}return n.insert=n.strstart<2?n.strstart:2,p===4?(ve(n,!0),n.strm.avail_out===0?3:4):n.last_lit&&(ve(n,!1),n.strm.avail_out===0)?1:2}function A(n,p){for(var a,l,u;;){if(n.lookahead<Z){if(H(n),n.lookahead<Z&&p===0)return 1;if(n.lookahead===0)break}if(a=0,n.lookahead>=3&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+3-1])&n.hash_mask,a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),n.prev_length=n.match_length,n.prev_match=n.match_start,n.match_length=2,a!==0&&n.prev_length<n.max_lazy_match&&n.strstart-a<=n.w_size-Z&&(n.match_length=U(n,a),n.match_length<=5&&(n.strategy===1||n.match_length===3&&n.strstart-n.match_start>4096)&&(n.match_length=2)),n.prev_length>=3&&n.match_length<=n.prev_length){u=n.strstart+n.lookahead-3,l=m._tr_tally(n,n.strstart-1-n.prev_match,n.prev_length-3),n.lookahead-=n.prev_length-1,n.prev_length-=2;do++n.strstart<=u&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+3-1])&n.hash_mask,a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart);while(--n.prev_length!=0);if(n.match_available=0,n.match_length=2,n.strstart++,l&&(ve(n,!1),n.strm.avail_out===0))return 1}else if(n.match_available){if((l=m._tr_tally(n,0,n.window[n.strstart-1]))&&ve(n,!1),n.strstart++,n.lookahead--,n.strm.avail_out===0)return 1}else n.match_available=1,n.strstart++,n.lookahead--}return n.match_available&&(l=m._tr_tally(n,0,n.window[n.strstart-1]),n.match_available=0),n.insert=n.strstart<2?n.strstart:2,p===4?(ve(n,!0),n.strm.avail_out===0?3:4):n.last_lit&&(ve(n,!1),n.strm.avail_out===0)?1:2}function b(n,p,a,l,u){this.good_length=n,this.max_lazy=p,this.nice_length=a,this.max_chain=l,this.func=u}function y(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new w.Buf16(1146),this.dyn_dtree=new w.Buf16(122),this.bl_tree=new w.Buf16(78),ce(this.dyn_ltree),ce(this.dyn_dtree),ce(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new w.Buf16(16),this.heap=new w.Buf16(573),ce(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new w.Buf16(573),ce(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function h(n){var p;return n&&n.state?(n.total_in=n.total_out=0,n.data_type=2,(p=n.state).pending=0,p.pending_out=0,p.wrap<0&&(p.wrap=-p.wrap),p.status=p.wrap?42:W,n.adler=p.wrap===2?0:1,p.last_flush=0,m._tr_init(p),0):S(n,c)}function d(n){var p,a=h(n);return a===0&&((p=n.state).window_size=2*p.w_size,ce(p.head),p.max_lazy_match=P[p.level].max_lazy,p.good_match=P[p.level].good_length,p.nice_match=P[p.level].nice_length,p.max_chain_length=P[p.level].max_chain,p.strstart=0,p.block_start=0,p.lookahead=0,p.insert=0,p.match_length=p.prev_length=2,p.match_available=0,p.ins_h=0),a}function r(n,p,a,l,u,C){if(!n)return c;var L=1;if(p===-1&&(p=6),l<0?(L=0,l=-l):l>15&&(L=2,l-=16),u<1||u>9||a!==8||l<8||l>15||p<0||p>9||C<0||C>4)return S(n,c);l===8&&(l=9);var _=new y;return n.state=_,_.strm=n,_.wrap=L,_.gzhead=null,_.w_bits=l,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=u+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new w.Buf8(2*_.w_size),_.head=new w.Buf16(_.hash_size),_.prev=new w.Buf16(_.w_size),_.lit_bufsize=1<<u+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new w.Buf8(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=p,_.strategy=C,_.method=a,d(n)}P=[new b(0,0,0,0,function(n,p){var a=65535;for(a>n.pending_buf_size-5&&(a=n.pending_buf_size-5);;){if(n.lookahead<=1){if(H(n),n.lookahead===0&&p===0)return 1;if(n.lookahead===0)break}n.strstart+=n.lookahead,n.lookahead=0;var l=n.block_start+a;if((n.strstart===0||n.strstart>=l)&&(n.lookahead=n.strstart-l,n.strstart=l,ve(n,!1),n.strm.avail_out===0)||n.strstart-n.block_start>=n.w_size-Z&&(ve(n,!1),n.strm.avail_out===0))return 1}return n.insert=0,p===4?(ve(n,!0),n.strm.avail_out===0?3:4):(n.strstart>n.block_start&&(ve(n,!1),n.strm.avail_out),1)}),new b(4,4,8,4,M),new b(4,5,16,8,M),new b(4,6,32,32,M),new b(4,4,16,16,A),new b(8,16,32,32,A),new b(8,16,128,128,A),new b(8,32,128,256,A),new b(32,128,258,1024,A),new b(32,258,258,4096,A)],t.deflateInit=function(n,p){return r(n,p,8,15,8,0)},t.deflateInit2=r,t.deflateReset=d,t.deflateResetKeep=h,t.deflateSetHeader=function(n,p){return n&&n.state?n.state.wrap!==2?c:(n.state.gzhead=p,0):c},t.deflate=function(n,p){var a,l,u,C;if(!n||!n.state||p>5||p<0)return n?S(n,c):c;if(l=n.state,!n.output||!n.input&&n.avail_in!==0||l.status===k&&p!==4)return S(n,n.avail_out===0?-5:c);if(l.strm=n,a=l.last_flush,l.last_flush=p,l.status===42)if(l.wrap===2)n.adler=0,le(l,31),le(l,139),le(l,8),l.gzhead?(le(l,(l.gzhead.text?1:0)+(l.gzhead.hcrc?2:0)+(l.gzhead.extra?4:0)+(l.gzhead.name?8:0)+(l.gzhead.comment?16:0)),le(l,255&l.gzhead.time),le(l,l.gzhead.time>>8&255),le(l,l.gzhead.time>>16&255),le(l,l.gzhead.time>>24&255),le(l,l.level===9?2:l.strategy>=2||l.level<2?4:0),le(l,255&l.gzhead.os),l.gzhead.extra&&l.gzhead.extra.length&&(le(l,255&l.gzhead.extra.length),le(l,l.gzhead.extra.length>>8&255)),l.gzhead.hcrc&&(n.adler=I(n.adler,l.pending_buf,l.pending,0)),l.gzindex=0,l.status=69):(le(l,0),le(l,0),le(l,0),le(l,0),le(l,0),le(l,l.level===9?2:l.strategy>=2||l.level<2?4:0),le(l,3),l.status=W);else{var L=8+(l.w_bits-8<<4)<<8;L|=(l.strategy>=2||l.level<2?0:l.level<6?1:l.level===6?2:3)<<6,l.strstart!==0&&(L|=32),L+=31-L%31,l.status=W,G(l,L),l.strstart!==0&&(G(l,n.adler>>>16),G(l,65535&n.adler)),n.adler=1}if(l.status===69)if(l.gzhead.extra){for(u=l.pending;l.gzindex<(65535&l.gzhead.extra.length)&&(l.pending!==l.pending_buf_size||(l.gzhead.hcrc&&l.pending>u&&(n.adler=I(n.adler,l.pending_buf,l.pending-u,u)),he(n),u=l.pending,l.pending!==l.pending_buf_size));)le(l,255&l.gzhead.extra[l.gzindex]),l.gzindex++;l.gzhead.hcrc&&l.pending>u&&(n.adler=I(n.adler,l.pending_buf,l.pending-u,u)),l.gzindex===l.gzhead.extra.length&&(l.gzindex=0,l.status=73)}else l.status=73;if(l.status===73)if(l.gzhead.name){u=l.pending;do{if(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>u&&(n.adler=I(n.adler,l.pending_buf,l.pending-u,u)),he(n),u=l.pending,l.pending===l.pending_buf_size)){C=1;break}C=l.gzindex<l.gzhead.name.length?255&l.gzhead.name.charCodeAt(l.gzindex++):0,le(l,C)}while(C!==0);l.gzhead.hcrc&&l.pending>u&&(n.adler=I(n.adler,l.pending_buf,l.pending-u,u)),C===0&&(l.gzindex=0,l.status=91)}else l.status=91;if(l.status===91)if(l.gzhead.comment){u=l.pending;do{if(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>u&&(n.adler=I(n.adler,l.pending_buf,l.pending-u,u)),he(n),u=l.pending,l.pending===l.pending_buf_size)){C=1;break}C=l.gzindex<l.gzhead.comment.length?255&l.gzhead.comment.charCodeAt(l.gzindex++):0,le(l,C)}while(C!==0);l.gzhead.hcrc&&l.pending>u&&(n.adler=I(n.adler,l.pending_buf,l.pending-u,u)),C===0&&(l.status=N)}else l.status=N;if(l.status===N&&(l.gzhead.hcrc?(l.pending+2>l.pending_buf_size&&he(n),l.pending+2<=l.pending_buf_size&&(le(l,255&n.adler),le(l,n.adler>>8&255),n.adler=0,l.status=W)):l.status=W),l.pending!==0){if(he(n),n.avail_out===0)return l.last_flush=-1,0}else if(n.avail_in===0&&J(p)<=J(a)&&p!==4)return S(n,-5);if(l.status===k&&n.avail_in!==0)return S(n,-5);if(n.avail_in!==0||l.lookahead!==0||p!==0&&l.status!==k){var _=l.strategy===2?function(E,D){for(var F;;){if(E.lookahead===0&&(H(E),E.lookahead===0)){if(D===0)return 1;break}if(E.match_length=0,F=m._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,F&&(ve(E,!1),E.strm.avail_out===0))return 1}return E.insert=0,D===4?(ve(E,!0),E.strm.avail_out===0?3:4):E.last_lit&&(ve(E,!1),E.strm.avail_out===0)?1:2}(l,p):l.strategy===3?function(E,D){for(var F,ee,te,re,oe=E.window;;){if(E.lookahead<=f){if(H(E),E.lookahead<=f&&D===0)return 1;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=3&&E.strstart>0&&(ee=oe[te=E.strstart-1])===oe[++te]&&ee===oe[++te]&&ee===oe[++te]){re=E.strstart+f;do;while(ee===oe[++te]&&ee===oe[++te]&&ee===oe[++te]&&ee===oe[++te]&&ee===oe[++te]&&ee===oe[++te]&&ee===oe[++te]&&ee===oe[++te]&&te<re);E.match_length=f-(re-te),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=3?(F=m._tr_tally(E,1,E.match_length-3),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(F=m._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),F&&(ve(E,!1),E.strm.avail_out===0))return 1}return E.insert=0,D===4?(ve(E,!0),E.strm.avail_out===0?3:4):E.last_lit&&(ve(E,!1),E.strm.avail_out===0)?1:2}(l,p):P[l.level].func(l,p);if(_!==3&&_!==4||(l.status=k),_===1||_===3)return n.avail_out===0&&(l.last_flush=-1),0;if(_===2&&(p===1?m._tr_align(l):p!==5&&(m._tr_stored_block(l,0,0,!1),p===3&&(ce(l.head),l.lookahead===0&&(l.strstart=0,l.block_start=0,l.insert=0))),he(n),n.avail_out===0))return l.last_flush=-1,0}return p!==4?0:l.wrap<=0?1:(l.wrap===2?(le(l,255&n.adler),le(l,n.adler>>8&255),le(l,n.adler>>16&255),le(l,n.adler>>24&255),le(l,255&n.total_in),le(l,n.total_in>>8&255),le(l,n.total_in>>16&255),le(l,n.total_in>>24&255)):(G(l,n.adler>>>16),G(l,65535&n.adler)),he(n),l.wrap>0&&(l.wrap=-l.wrap),l.pending!==0?0:1)},t.deflateEnd=function(n){var p;return n&&n.state?(p=n.state.status)!==42&&p!==69&&p!==73&&p!==91&&p!==N&&p!==W&&p!==k?S(n,c):(n.state=null,p===W?S(n,-3):0):c},t.deflateSetDictionary=function(n,p){var a,l,u,C,L,_,E,D,F=p.length;if(!n||!n.state||(C=(a=n.state).wrap)===2||C===1&&a.status!==42||a.lookahead)return c;for(C===1&&(n.adler=v(n.adler,p,F,0)),a.wrap=0,F>=a.w_size&&(C===0&&(ce(a.head),a.strstart=0,a.block_start=0,a.insert=0),D=new w.Buf8(a.w_size),w.arraySet(D,p,F-a.w_size,a.w_size,0),p=D,F=a.w_size),L=n.avail_in,_=n.next_in,E=n.input,n.avail_in=F,n.next_in=0,n.input=p,H(a);a.lookahead>=3;){l=a.strstart,u=a.lookahead-2;do a.ins_h=(a.ins_h<<a.hash_shift^a.window[l+3-1])&a.hash_mask,a.prev[l&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=l,l++;while(--u);a.strstart=l,a.lookahead=2,H(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=2,a.match_available=0,n.next_in=_,n.input=E,n.avail_in=L,a.wrap=C,0},t.deflateInfo="pako deflate (from Nodeca project)"},9968:function(fe){fe.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},9365:function(fe){fe.exports=function(t,e){var P,w,m,v,I,x,c,f,Z,N,W,k,S,J,ce,he,ve,le,G,U,H,M,A,b,y;P=t.state,w=t.next_in,b=t.input,m=w+(t.avail_in-5),v=t.next_out,y=t.output,I=v-(e-t.avail_out),x=v+(t.avail_out-257),c=P.dmax,f=P.wsize,Z=P.whave,N=P.wnext,W=P.window,k=P.hold,S=P.bits,J=P.lencode,ce=P.distcode,he=(1<<P.lenbits)-1,ve=(1<<P.distbits)-1;e:do{S<15&&(k+=b[w++]<<S,S+=8,k+=b[w++]<<S,S+=8),le=J[k&he];t:for(;;){if(k>>>=G=le>>>24,S-=G,(G=le>>>16&255)===0)y[v++]=65535≤else{if(!(16&G)){if(!(64&G)){le=J[(65535&le)+(k&(1<<G)-1)];continue t}if(32&G){P.mode=12;break e}t.msg="invalid literal/length code",P.mode=30;break e}U=65535&le,(G&=15)&&(S<G&&(k+=b[w++]<<S,S+=8),U+=k&(1<<G)-1,k>>>=G,S-=G),S<15&&(k+=b[w++]<<S,S+=8,k+=b[w++]<<S,S+=8),le=ce[k&ve];r:for(;;){if(k>>>=G=le>>>24,S-=G,!(16&(G=le>>>16&255))){if(!(64&G)){le=ce[(65535&le)+(k&(1<<G)-1)];continue r}t.msg="invalid distance code",P.mode=30;break e}if(H=65535&le,S<(G&=15)&&(k+=b[w++]<<S,(S+=8)<G&&(k+=b[w++]<<S,S+=8)),(H+=k&(1<<G)-1)>c){t.msg="invalid distance too far back",P.mode=30;break e}if(k>>>=G,S-=G,H>(G=v-I)){if((G=H-G)>Z&&P.sane){t.msg="invalid distance too far back",P.mode=30;break e}if(M=0,A=W,N===0){if(M+=f-G,G<U){U-=G;do y[v++]=W[M++];while(--G);M=v-H,A=y}}else if(N<G){if(M+=f+N-G,(G-=N)<U){U-=G;do y[v++]=W[M++];while(--G);if(M=0,N<U){U-=G=N;do y[v++]=W[M++];while(--G);M=v-H,A=y}}}else if(M+=N-G,G<U){U-=G;do y[v++]=W[M++];while(--G);M=v-H,A=y}for(;U>2;)y[v++]=A[M++],y[v++]=A[M++],y[v++]=A[M++],U-=3;U&&(y[v++]=A[M++],U>1&&(y[v++]=A[M++]))}else{M=v-H;do y[v++]=y[M++],y[v++]=y[M++],y[v++]=y[M++],U-=3;while(U>2);U&&(y[v++]=y[M++],U>1&&(y[v++]=y[M++]))}break}}break}}while(w<m&&v<x);w-=U=S>>3,k&=(1<<(S-=U<<3))-1,t.next_in=w,t.next_out=v,t.avail_in=w<m?m-w+5:5-(w-m),t.avail_out=v<x?x-v+257:257-(v-x),P.hold=k,P.bits=S}},7823:function(fe,t,e){var P=e(9187),w=e(3693),m=e(8464),v=e(9365),I=e(6446),x=-2,c=12,f=30;function Z(U){return(U>>>24&255)+(U>>>8&65280)+((65280&U)<<8)+((255&U)<<24)}function N(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new P.Buf16(320),this.work=new P.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function W(U){var H;return U&&U.state?(H=U.state,U.total_in=U.total_out=H.total=0,U.msg="",H.wrap&&(U.adler=1&H.wrap),H.mode=1,H.last=0,H.havedict=0,H.dmax=32768,H.head=null,H.hold=0,H.bits=0,H.lencode=H.lendyn=new P.Buf32(852),H.distcode=H.distdyn=new P.Buf32(592),H.sane=1,H.back=-1,0):x}function k(U){var H;return U&&U.state?((H=U.state).wsize=0,H.whave=0,H.wnext=0,W(U)):x}function S(U,H){var M,A;return U&&U.state?(A=U.state,H<0?(M=0,H=-H):(M=1+(H>>4),H<48&&(H&=15)),H&&(H<8||H>15)?x:(A.window!==null&&A.wbits!==H&&(A.window=null),A.wrap=M,A.wbits=H,k(U))):x}function J(U,H){var M,A;return U?(A=new N,U.state=A,A.window=null,(M=S(U,H))!==0&&(U.state=null),M):x}var ce,he,ve=!0;function le(U){if(ve){var H;for(ce=new P.Buf32(512),he=new P.Buf32(32),H=0;H<144;)U.lens[H++]=8;for(;H<256;)U.lens[H++]=9;for(;H<280;)U.lens[H++]=7;for(;H<288;)U.lens[H++]=8;for(I(1,U.lens,0,288,ce,0,U.work,{bits:9}),H=0;H<32;)U.lens[H++]=5;I(2,U.lens,0,32,he,0,U.work,{bits:5}),ve=!1}U.lencode=ce,U.lenbits=9,U.distcode=he,U.distbits=5}function G(U,H,M,A){var b,y=U.state;return y.window===null&&(y.wsize=1<<y.wbits,y.wnext=0,y.whave=0,y.window=new P.Buf8(y.wsize)),A>=y.wsize?(P.arraySet(y.window,H,M-y.wsize,y.wsize,0),y.wnext=0,y.whave=y.wsize):((b=y.wsize-y.wnext)>A&&(b=A),P.arraySet(y.window,H,M-A,b,y.wnext),(A-=b)?(P.arraySet(y.window,H,M-A,A,0),y.wnext=A,y.whave=y.wsize):(y.wnext+=b,y.wnext===y.wsize&&(y.wnext=0),y.whave<y.wsize&&(y.whave+=b))),0}t.inflateReset=k,t.inflateReset2=S,t.inflateResetKeep=W,t.inflateInit=function(U){return J(U,15)},t.inflateInit2=J,t.inflate=function(U,H){var M,A,b,y,h,d,r,n,p,a,l,u,C,L,_,E,D,F,ee,te,re,oe,Y,V,ie=0,we=new P.Buf8(4),Ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!U||!U.state||!U.output||!U.input&&U.avail_in!==0)return x;(M=U.state).mode===c&&(M.mode=13),h=U.next_out,b=U.output,r=U.avail_out,y=U.next_in,A=U.input,d=U.avail_in,n=M.hold,p=M.bits,a=d,l=r,oe=0;e:for(;;)switch(M.mode){case 1:if(M.wrap===0){M.mode=13;break}for(;p<16;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(2&M.wrap&&n===35615){M.check=0,we[0]=255&n,we[1]=n>>>8&255,M.check=m(M.check,we,2,0),n=0,p=0,M.mode=2;break}if(M.flags=0,M.head&&(M.head.done=!1),!(1&M.wrap)||(((255&n)<<8)+(n>>8))%31){U.msg="incorrect header check",M.mode=f;break}if((15&n)!=8){U.msg="unknown compression method",M.mode=f;break}if(p-=4,re=8+(15&(n>>>=4)),M.wbits===0)M.wbits=re;else if(re>M.wbits){U.msg="invalid window size",M.mode=f;break}M.dmax=1<<re,U.adler=M.check=1,M.mode=512&n?10:c,n=0,p=0;break;case 2:for(;p<16;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(M.flags=n,(255&M.flags)!=8){U.msg="unknown compression method",M.mode=f;break}if(57344&M.flags){U.msg="unknown header flags set",M.mode=f;break}M.head&&(M.head.text=n>>8&1),512&M.flags&&(we[0]=255&n,we[1]=n>>>8&255,M.check=m(M.check,we,2,0)),n=0,p=0,M.mode=3;case 3:for(;p<32;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}M.head&&(M.head.time=n),512&M.flags&&(we[0]=255&n,we[1]=n>>>8&255,we[2]=n>>>16&255,we[3]=n>>>24&255,M.check=m(M.check,we,4,0)),n=0,p=0,M.mode=4;case 4:for(;p<16;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}M.head&&(M.head.xflags=255&n,M.head.os=n>>8),512&M.flags&&(we[0]=255&n,we[1]=n>>>8&255,M.check=m(M.check,we,2,0)),n=0,p=0,M.mode=5;case 5:if(1024&M.flags){for(;p<16;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}M.length=n,M.head&&(M.head.extra_len=n),512&M.flags&&(we[0]=255&n,we[1]=n>>>8&255,M.check=m(M.check,we,2,0)),n=0,p=0}else M.head&&(M.head.extra=null);M.mode=6;case 6:if(1024&M.flags&&((u=M.length)>d&&(u=d),u&&(M.head&&(re=M.head.extra_len-M.length,M.head.extra||(M.head.extra=new Array(M.head.extra_len)),P.arraySet(M.head.extra,A,y,u,re)),512&M.flags&&(M.check=m(M.check,A,u,y)),d-=u,y+=u,M.length-=u),M.length))break e;M.length=0,M.mode=7;case 7:if(2048&M.flags){if(d===0)break e;u=0;do re=A[y+u++],M.head&&re&&M.length<65536&&(M.head.name+=String.fromCharCode(re));while(re&&u<d);if(512&M.flags&&(M.check=m(M.check,A,u,y)),d-=u,y+=u,re)break e}else M.head&&(M.head.name=null);M.length=0,M.mode=8;case 8:if(4096&M.flags){if(d===0)break e;u=0;do re=A[y+u++],M.head&&re&&M.length<65536&&(M.head.comment+=String.fromCharCode(re));while(re&&u<d);if(512&M.flags&&(M.check=m(M.check,A,u,y)),d-=u,y+=u,re)break e}else M.head&&(M.head.comment=null);M.mode=9;case 9:if(512&M.flags){for(;p<16;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(n!==(65535&M.check)){U.msg="header crc mismatch",M.mode=f;break}n=0,p=0}M.head&&(M.head.hcrc=M.flags>>9&1,M.head.done=!0),U.adler=M.check=0,M.mode=c;break;case 10:for(;p<32;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}U.adler=M.check=Z(n),n=0,p=0,M.mode=11;case 11:if(M.havedict===0)return U.next_out=h,U.avail_out=r,U.next_in=y,U.avail_in=d,M.hold=n,M.bits=p,2;U.adler=M.check=1,M.mode=c;case c:if(H===5||H===6)break e;case 13:if(M.last){n>>>=7&p,p-=7&p,M.mode=27;break}for(;p<3;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}switch(M.last=1&n,p-=1,3&(n>>>=1)){case 0:M.mode=14;break;case 1:if(le(M),M.mode=20,H===6){n>>>=2,p-=2;break e}break;case 2:M.mode=17;break;case 3:U.msg="invalid block type",M.mode=f}n>>>=2,p-=2;break;case 14:for(n>>>=7&p,p-=7&p;p<32;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if((65535&n)!=(n>>>16^65535)){U.msg="invalid stored block lengths",M.mode=f;break}if(M.length=65535&n,n=0,p=0,M.mode=15,H===6)break e;case 15:M.mode=16;case 16:if(u=M.length){if(u>d&&(u=d),u>r&&(u=r),u===0)break e;P.arraySet(b,A,y,u,h),d-=u,y+=u,r-=u,h+=u,M.length-=u;break}M.mode=c;break;case 17:for(;p<14;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(M.nlen=257+(31&n),n>>>=5,p-=5,M.ndist=1+(31&n),n>>>=5,p-=5,M.ncode=4+(15&n),n>>>=4,p-=4,M.nlen>286||M.ndist>30){U.msg="too many length or distance symbols",M.mode=f;break}M.have=0,M.mode=18;case 18:for(;M.have<M.ncode;){for(;p<3;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}M.lens[Ae[M.have++]]=7&n,n>>>=3,p-=3}for(;M.have<19;)M.lens[Ae[M.have++]]=0;if(M.lencode=M.lendyn,M.lenbits=7,Y={bits:M.lenbits},oe=I(0,M.lens,0,19,M.lencode,0,M.work,Y),M.lenbits=Y.bits,oe){U.msg="invalid code lengths set",M.mode=f;break}M.have=0,M.mode=19;case 19:for(;M.have<M.nlen+M.ndist;){for(;E=(ie=M.lencode[n&(1<<M.lenbits)-1])>>>16&255,D=65535&ie,!((_=ie>>>24)<=p);){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(D<16)n>>>=_,p-=_,M.lens[M.have++]=D;else{if(D===16){for(V=_+2;p<V;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(n>>>=_,p-=_,M.have===0){U.msg="invalid bit length repeat",M.mode=f;break}re=M.lens[M.have-1],u=3+(3&n),n>>>=2,p-=2}else if(D===17){for(V=_+3;p<V;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}p-=_,re=0,u=3+(7&(n>>>=_)),n>>>=3,p-=3}else{for(V=_+7;p<V;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}p-=_,re=0,u=11+(127&(n>>>=_)),n>>>=7,p-=7}if(M.have+u>M.nlen+M.ndist){U.msg="invalid bit length repeat",M.mode=f;break}for(;u--;)M.lens[M.have++]=re}}if(M.mode===f)break;if(M.lens[256]===0){U.msg="invalid code -- missing end-of-block",M.mode=f;break}if(M.lenbits=9,Y={bits:M.lenbits},oe=I(1,M.lens,0,M.nlen,M.lencode,0,M.work,Y),M.lenbits=Y.bits,oe){U.msg="invalid literal/lengths set",M.mode=f;break}if(M.distbits=6,M.distcode=M.distdyn,Y={bits:M.distbits},oe=I(2,M.lens,M.nlen,M.ndist,M.distcode,0,M.work,Y),M.distbits=Y.bits,oe){U.msg="invalid distances set",M.mode=f;break}if(M.mode=20,H===6)break e;case 20:M.mode=21;case 21:if(d>=6&&r>=258){U.next_out=h,U.avail_out=r,U.next_in=y,U.avail_in=d,M.hold=n,M.bits=p,v(U,l),h=U.next_out,b=U.output,r=U.avail_out,y=U.next_in,A=U.input,d=U.avail_in,n=M.hold,p=M.bits,M.mode===c&&(M.back=-1);break}for(M.back=0;E=(ie=M.lencode[n&(1<<M.lenbits)-1])>>>16&255,D=65535&ie,!((_=ie>>>24)<=p);){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(E&&!(240&E)){for(F=_,ee=E,te=D;E=(ie=M.lencode[te+((n&(1<<F+ee)-1)>>F)])>>>16&255,D=65535&ie,!(F+(_=ie>>>24)<=p);){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}n>>>=F,p-=F,M.back+=F}if(n>>>=_,p-=_,M.back+=_,M.length=D,E===0){M.mode=26;break}if(32&E){M.back=-1,M.mode=c;break}if(64&E){U.msg="invalid literal/length code",M.mode=f;break}M.extra=15&E,M.mode=22;case 22:if(M.extra){for(V=M.extra;p<V;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}M.length+=n&(1<<M.extra)-1,n>>>=M.extra,p-=M.extra,M.back+=M.extra}M.was=M.length,M.mode=23;case 23:for(;E=(ie=M.distcode[n&(1<<M.distbits)-1])>>>16&255,D=65535&ie,!((_=ie>>>24)<=p);){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(!(240&E)){for(F=_,ee=E,te=D;E=(ie=M.distcode[te+((n&(1<<F+ee)-1)>>F)])>>>16&255,D=65535&ie,!(F+(_=ie>>>24)<=p);){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}n>>>=F,p-=F,M.back+=F}if(n>>>=_,p-=_,M.back+=_,64&E){U.msg="invalid distance code",M.mode=f;break}M.offset=D,M.extra=15&E,M.mode=24;case 24:if(M.extra){for(V=M.extra;p<V;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}M.offset+=n&(1<<M.extra)-1,n>>>=M.extra,p-=M.extra,M.back+=M.extra}if(M.offset>M.dmax){U.msg="invalid distance too far back",M.mode=f;break}M.mode=25;case 25:if(r===0)break e;if(u=l-r,M.offset>u){if((u=M.offset-u)>M.whave&&M.sane){U.msg="invalid distance too far back",M.mode=f;break}u>M.wnext?(u-=M.wnext,C=M.wsize-u):C=M.wnext-u,u>M.length&&(u=M.length),L=M.window}else L=b,C=h-M.offset,u=M.length;u>r&&(u=r),r-=u,M.length-=u;do b[h++]=L[C++];while(--u);M.length===0&&(M.mode=21);break;case 26:if(r===0)break e;b[h++]=M.length,r--,M.mode=21;break;case 27:if(M.wrap){for(;p<32;){if(d===0)break e;d--,n|=A[y++]<<p,p+=8}if(l-=r,U.total_out+=l,M.total+=l,l&&(U.adler=M.check=M.flags?m(M.check,b,l,h-l):w(M.check,b,l,h-l)),l=r,(M.flags?n:Z(n))!==M.check){U.msg="incorrect data check",M.mode=f;break}n=0,p=0}M.mode=28;case 28:if(M.wrap&&M.flags){for(;p<32;){if(d===0)break e;d--,n+=A[y++]<<p,p+=8}if(n!==(4294967295&M.total)){U.msg="incorrect length check",M.mode=f;break}n=0,p=0}M.mode=29;case 29:oe=1;break e;case f:oe=-3;break e;case 31:return-4;default:return x}return U.next_out=h,U.avail_out=r,U.next_in=y,U.avail_in=d,M.hold=n,M.bits=p,(M.wsize||l!==U.avail_out&&M.mode<f&&(M.mode<27||H!==4))&&G(U,U.output,U.next_out,l-U.avail_out)?(M.mode=31,-4):(a-=U.avail_in,l-=U.avail_out,U.total_in+=a,U.total_out+=l,M.total+=l,M.wrap&&l&&(U.adler=M.check=M.flags?m(M.check,b,l,U.next_out-l):w(M.check,b,l,U.next_out-l)),U.data_type=M.bits+(M.last?64:0)+(M.mode===c?128:0)+(M.mode===20||M.mode===15?256:0),(a===0&&l===0||H===4)&&oe===0&&(oe=-5),oe)},t.inflateEnd=function(U){if(!U||!U.state)return x;var H=U.state;return H.window&&(H.window=null),U.state=null,0},t.inflateGetHeader=function(U,H){var M;return U&&U.state&&2&(M=U.state).wrap?(M.head=H,H.done=!1,0):x},t.inflateSetDictionary=function(U,H){var M,A=H.length;return U&&U.state?(M=U.state).wrap!==0&&M.mode!==11?x:M.mode===11&&w(1,H,A,0)!==M.check?-3:G(U,H,A,A)?(M.mode=31,-4):(M.havedict=1,0):x},t.inflateInfo="pako inflate (from Nodeca project)"},6446:function(fe,t,e){var P=e(9187),w=15,m=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],v=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],I=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],x=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];fe.exports=function(c,f,Z,N,W,k,S,J){var ce,he,ve,le,G,U,H,M,A,b=J.bits,y=0,h=0,d=0,r=0,n=0,p=0,a=0,l=0,u=0,C=0,L=null,_=0,E=new P.Buf16(16),D=new P.Buf16(16),F=null,ee=0;for(y=0;y<=w;y++)E[y]=0;for(h=0;h<N;h++)E[f[Z+h]]++;for(n=b,r=w;r>=1&&E[r]===0;r--);if(n>r&&(n=r),r===0)return W[k++]=20971520,W[k++]=20971520,J.bits=1,0;for(d=1;d<r&&E[d]===0;d++);for(n<d&&(n=d),l=1,y=1;y<=w;y++)if(l<<=1,(l-=E[y])<0)return-1;if(l>0&&(c===0||r!==1))return-1;for(D[1]=0,y=1;y<w;y++)D[y+1]=D[y]+E[y];for(h=0;h<N;h++)f[Z+h]!==0&&(S[D[f[Z+h]]++]=h);if(c===0?(L=F=S,U=19):c===1?(L=m,_-=257,F=v,ee-=257,U=256):(L=I,F=x,U=-1),C=0,h=0,y=d,G=k,p=n,a=0,ve=-1,le=(u=1<<n)-1,c===1&&u>852||c===2&&u>592)return 1;for(;;){H=y-a,S[h]<U?(M=0,A=S[h]):S[h]>U?(M=F[ee+S[h]],A=L[_+S[h]]):(M=96,A=0),ce=1<<y-a,d=he=1<<p;do W[G+(C>>a)+(he-=ce)]=H<<24|M<<16|A|0;while(he!==0);for(ce=1<<y-1;C&ce;)ce>>=1;if(ce!==0?(C&=ce-1,C+=ce):C=0,h++,--E[y]==0){if(y===r)break;y=f[Z+S[h]]}if(y>n&&(C&le)!==ve){for(a===0&&(a=n),G+=d,l=1<<(p=y-a);p+a<r&&!((l-=E[p+a])<=0);)p++,l<<=1;if(u+=1<<p,c===1&&u>852||c===2&&u>592)return 1;W[ve=C&le]=n<<24|p<<16|G-k|0}}return C!==0&&(W[G+C]=y-a<<24|4194304|0),J.bits=n,0}},5604:function(fe){fe.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},8676:function(fe,t,e){var P=e(9187);function w(D){for(var F=D.length;--F>=0;)D[F]=0}var m=256,v=286,I=30,x=15,c=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],f=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Z=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],W=new Array(576);w(W);var k=new Array(60);w(k);var S=new Array(512);w(S);var J=new Array(256);w(J);var ce=new Array(29);w(ce);var he,ve,le,G=new Array(I);function U(D,F,ee,te,re){this.static_tree=D,this.extra_bits=F,this.extra_base=ee,this.elems=te,this.max_length=re,this.has_stree=D&&D.length}function H(D,F){this.dyn_tree=D,this.max_code=0,this.stat_desc=F}function M(D){return D<256?S[D]:S[256+(D>>>7)]}function A(D,F){D.pending_buf[D.pending++]=255&F,D.pending_buf[D.pending++]=F>>>8&255}function b(D,F,ee){D.bi_valid>16-ee?(D.bi_buf|=F<<D.bi_valid&65535,A(D,D.bi_buf),D.bi_buf=F>>16-D.bi_valid,D.bi_valid+=ee-16):(D.bi_buf|=F<<D.bi_valid&65535,D.bi_valid+=ee)}function y(D,F,ee){b(D,ee[2*F],ee[2*F+1])}function h(D,F){var ee=0;do ee|=1&D,D>>>=1,ee<<=1;while(--F>0);return ee>>>1}function d(D,F,ee){var te,re,oe=new Array(16),Y=0;for(te=1;te<=x;te++)oe[te]=Y=Y+ee[te-1]<<1;for(re=0;re<=F;re++){var V=D[2*re+1];V!==0&&(D[2*re]=h(oe[V]++,V))}}function r(D){var F;for(F=0;F<v;F++)D.dyn_ltree[2*F]=0;for(F=0;F<I;F++)D.dyn_dtree[2*F]=0;for(F=0;F<19;F++)D.bl_tree[2*F]=0;D.dyn_ltree[512]=1,D.opt_len=D.static_len=0,D.last_lit=D.matches=0}function n(D){D.bi_valid>8?A(D,D.bi_buf):D.bi_valid>0&&(D.pending_buf[D.pending++]=D.bi_buf),D.bi_buf=0,D.bi_valid=0}function p(D,F,ee,te){var re=2*F,oe=2*ee;return D[re]<D[oe]||D[re]===D[oe]&&te[F]<=te[ee]}function a(D,F,ee){for(var te=D.heap[ee],re=ee<<1;re<=D.heap_len&&(re<D.heap_len&&p(F,D.heap[re+1],D.heap[re],D.depth)&&re++,!p(F,te,D.heap[re],D.depth));)D.heap[ee]=D.heap[re],ee=re,re<<=1;D.heap[ee]=te}function l(D,F,ee){var te,re,oe,Y,V=0;if(D.last_lit!==0)do te=D.pending_buf[D.d_buf+2*V]<<8|D.pending_buf[D.d_buf+2*V+1],re=D.pending_buf[D.l_buf+V],V++,te===0?y(D,re,F):(y(D,(oe=J[re])+m+1,F),(Y=c[oe])!==0&&b(D,re-=ce[oe],Y),y(D,oe=M(--te),ee),(Y=f[oe])!==0&&b(D,te-=G[oe],Y));while(V<D.last_lit);y(D,256,F)}function u(D,F){var ee,te,re,oe=F.dyn_tree,Y=F.stat_desc.static_tree,V=F.stat_desc.has_stree,ie=F.stat_desc.elems,we=-1;for(D.heap_len=0,D.heap_max=573,ee=0;ee<ie;ee++)oe[2*ee]!==0?(D.heap[++D.heap_len]=we=ee,D.depth[ee]=0):oe[2*ee+1]=0;for(;D.heap_len<2;)oe[2*(re=D.heap[++D.heap_len]=we<2?++we:0)]=1,D.depth[re]=0,D.opt_len--,V&&(D.static_len-=Y[2*re+1]);for(F.max_code=we,ee=D.heap_len>>1;ee>=1;ee--)a(D,oe,ee);re=ie;do ee=D.heap[1],D.heap[1]=D.heap[D.heap_len--],a(D,oe,1),te=D.heap[1],D.heap[--D.heap_max]=ee,D.heap[--D.heap_max]=te,oe[2*re]=oe[2*ee]+oe[2*te],D.depth[re]=(D.depth[ee]>=D.depth[te]?D.depth[ee]:D.depth[te])+1,oe[2*ee+1]=oe[2*te+1]=re,D.heap[1]=re++,a(D,oe,1);while(D.heap_len>=2);D.heap[--D.heap_max]=D.heap[1],function(Ae,Re){var je,ye,Ee,Oe,ge,ue,se=Re.dyn_tree,j=Re.max_code,i=Re.stat_desc.static_tree,s=Re.stat_desc.has_stree,O=Re.stat_desc.extra_bits,z=Re.stat_desc.extra_base,K=Re.stat_desc.max_length,$=0;for(Oe=0;Oe<=x;Oe++)Ae.bl_count[Oe]=0;for(se[2*Ae.heap[Ae.heap_max]+1]=0,je=Ae.heap_max+1;je<573;je++)(Oe=se[2*se[2*(ye=Ae.heap[je])+1]+1]+1)>K&&(Oe=K,$++),se[2*ye+1]=Oe,ye>j||(Ae.bl_count[Oe]++,ge=0,ye>=z&&(ge=O[ye-z]),ue=se[2*ye],Ae.opt_len+=ue*(Oe+ge),s&&(Ae.static_len+=ue*(i[2*ye+1]+ge)));if($!==0){do{for(Oe=K-1;Ae.bl_count[Oe]===0;)Oe--;Ae.bl_count[Oe]--,Ae.bl_count[Oe+1]+=2,Ae.bl_count[K]--,$-=2}while($>0);for(Oe=K;Oe!==0;Oe--)for(ye=Ae.bl_count[Oe];ye!==0;)(Ee=Ae.heap[--je])>j||(se[2*Ee+1]!==Oe&&(Ae.opt_len+=(Oe-se[2*Ee+1])*se[2*Ee],se[2*Ee+1]=Oe),ye--)}}(D,F),d(oe,we,D.bl_count)}function C(D,F,ee){var te,re,oe=-1,Y=F[1],V=0,ie=7,we=4;for(Y===0&&(ie=138,we=3),F[2*(ee+1)+1]=65535,te=0;te<=ee;te++)re=Y,Y=F[2*(te+1)+1],++V<ie&&re===Y||(V<we?D.bl_tree[2*re]+=V:re!==0?(re!==oe&&D.bl_tree[2*re]++,D.bl_tree[32]++):V<=10?D.bl_tree[34]++:D.bl_tree[36]++,V=0,oe=re,Y===0?(ie=138,we=3):re===Y?(ie=6,we=3):(ie=7,we=4))}function L(D,F,ee){var te,re,oe=-1,Y=F[1],V=0,ie=7,we=4;for(Y===0&&(ie=138,we=3),te=0;te<=ee;te++)if(re=Y,Y=F[2*(te+1)+1],!(++V<ie&&re===Y)){if(V<we)do y(D,re,D.bl_tree);while(--V!=0);else re!==0?(re!==oe&&(y(D,re,D.bl_tree),V--),y(D,16,D.bl_tree),b(D,V-3,2)):V<=10?(y(D,17,D.bl_tree),b(D,V-3,3)):(y(D,18,D.bl_tree),b(D,V-11,7));V=0,oe=re,Y===0?(ie=138,we=3):re===Y?(ie=6,we=3):(ie=7,we=4)}}w(G);var _=!1;function E(D,F,ee,te){b(D,0+(te?1:0),3),function(re,oe,Y,V){n(re),V&&(A(re,Y),A(re,~Y)),P.arraySet(re.pending_buf,re.window,oe,Y,re.pending),re.pending+=Y}(D,F,ee,!0)}t._tr_init=function(D){_||(function(){var F,ee,te,re,oe,Y=new Array(16);for(te=0,re=0;re<28;re++)for(ce[re]=te,F=0;F<1<<c[re];F++)J[te++]=re;for(J[te-1]=re,oe=0,re=0;re<16;re++)for(G[re]=oe,F=0;F<1<<f[re];F++)S[oe++]=re;for(oe>>=7;re<I;re++)for(G[re]=oe<<7,F=0;F<1<<f[re]-7;F++)S[256+oe++]=re;for(ee=0;ee<=x;ee++)Y[ee]=0;for(F=0;F<=143;)W[2*F+1]=8,F++,Y[8]++;for(;F<=255;)W[2*F+1]=9,F++,Y[9]++;for(;F<=279;)W[2*F+1]=7,F++,Y[7]++;for(;F<=287;)W[2*F+1]=8,F++,Y[8]++;for(d(W,287,Y),F=0;F<I;F++)k[2*F+1]=5,k[2*F]=h(F,5);he=new U(W,c,257,v,x),ve=new U(k,f,0,I,x),le=new U(new Array(0),Z,0,19,7)}(),_=!0),D.l_desc=new H(D.dyn_ltree,he),D.d_desc=new H(D.dyn_dtree,ve),D.bl_desc=new H(D.bl_tree,le),D.bi_buf=0,D.bi_valid=0,r(D)},t._tr_stored_block=E,t._tr_flush_block=function(D,F,ee,te){var re,oe,Y=0;D.level>0?(D.strm.data_type===2&&(D.strm.data_type=function(V){var ie,we=4093624447;for(ie=0;ie<=31;ie++,we>>>=1)if(1&we&&V.dyn_ltree[2*ie]!==0)return 0;if(V.dyn_ltree[18]!==0||V.dyn_ltree[20]!==0||V.dyn_ltree[26]!==0)return 1;for(ie=32;ie<m;ie++)if(V.dyn_ltree[2*ie]!==0)return 1;return 0}(D)),u(D,D.l_desc),u(D,D.d_desc),Y=function(V){var ie;for(C(V,V.dyn_ltree,V.l_desc.max_code),C(V,V.dyn_dtree,V.d_desc.max_code),u(V,V.bl_desc),ie=18;ie>=3&&V.bl_tree[2*N[ie]+1]===0;ie--);return V.opt_len+=3*(ie+1)+5+5+4,ie}(D),re=D.opt_len+3+7>>>3,(oe=D.static_len+3+7>>>3)<=re&&(re=oe)):re=oe=ee+5,ee+4<=re&&F!==-1?E(D,F,ee,te):D.strategy===4||oe===re?(b(D,2+(te?1:0),3),l(D,W,k)):(b(D,4+(te?1:0),3),function(V,ie,we,Ae){var Re;for(b(V,ie-257,5),b(V,we-1,5),b(V,Ae-4,4),Re=0;Re<Ae;Re++)b(V,V.bl_tree[2*N[Re]+1],3);L(V,V.dyn_ltree,ie-1),L(V,V.dyn_dtree,we-1)}(D,D.l_desc.max_code+1,D.d_desc.max_code+1,Y+1),l(D,D.dyn_ltree,D.dyn_dtree)),r(D),te&&n(D)},t._tr_tally=function(D,F,ee){return D.pending_buf[D.d_buf+2*D.last_lit]=F>>>8&255,D.pending_buf[D.d_buf+2*D.last_lit+1]=255&F,D.pending_buf[D.l_buf+D.last_lit]=255&ee,D.last_lit++,F===0?D.dyn_ltree[2*ee]++:(D.matches++,F--,D.dyn_ltree[2*(J[ee]+m+1)]++,D.dyn_dtree[2*M(F)]++),D.last_lit===D.lit_bufsize-1},t._tr_align=function(D){b(D,2,3),y(D,256,W),function(F){F.bi_valid===16?(A(F,F.bi_buf),F.bi_buf=0,F.bi_valid=0):F.bi_valid>=8&&(F.pending_buf[F.pending++]=255&F.bi_buf,F.bi_buf>>=8,F.bi_valid-=8)}(D)}},249:function(fe){fe.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},9066:function(fe){fe.exports=function(t){t.data&&t.name&&(t=t.data);for(var e=!0,P="",w="",m=0;m<t.length;m++){var v=t[m];if(e)v?w+=String.fromCharCode(v):e=!1;else{if(!v)throw new Error("Invalid NULL character found. 0x00 character is not permitted in tEXt content");P+=String.fromCharCode(v)}}return{keyword:w,text:P}}},9686:function(fe){fe.exports=function(t,e){if(t=String(t),e=String(e),!/^[\x00-\xFF]+$/.test(t)||!/^[\x00-\xFF]+$/.test(e))throw new Error("Only Latin-1 characters are permitted in PNG tEXt chunks. You might want to consider base64 encoding and/or zEXt compression");if(t.length>=80)throw new Error('Keyword "'+t+'" is longer than the 79-character limit imposed by the PNG specification');for(var P,w=t.length+e.length+1,m=new Uint8Array(w),v=0,I=0;I<t.length;I++){if(!(P=t.charCodeAt(I)))throw new Error("0x00 character is not permitted in tEXt keywords");m[v++]=P}m[v++]=0;for(var x=0;x<e.length;x++){if(!(P=e.charCodeAt(x)))throw new Error("0x00 character is not permitted in tEXt content");m[v++]=P}return{name:"tEXt",data:m}}},1194:function(fe,t,e){t.encode=e(9686),t.decode=e(9066)},3434:function(fe,t,e){var P=e(5714),w=e(6233);fe.exports=function(x){var c,f=8,Z=f;for(c=0;c<x.length;c++)f+=x[c].data.length,f+=12;var N=new Uint8Array(f);for(N[0]=137,N[1]=80,N[2]=78,N[3]=71,N[4]=13,N[5]=10,N[6]=26,N[7]=10,c=0;c<x.length;c++){var W=x[c],k=W.name,S=W.data,J=S.length,ce=[k.charCodeAt(0),k.charCodeAt(1),k.charCodeAt(2),k.charCodeAt(3)];I[0]=J,N[Z++]=m[3],N[Z++]=m[2],N[Z++]=m[1],N[Z++]=m[0],N[Z++]=ce[0],N[Z++]=ce[1],N[Z++]=ce[2],N[Z++]=ce[3];for(var he=0;he<J;)N[Z++]=S[he++];var ve=ce.concat(P(S)),le=w.buf(ve);v[0]=le,N[Z++]=m[3],N[Z++]=m[2],N[Z++]=m[1],N[Z++]=m[0]}return N};var m=new Uint8Array(4),v=new Int32Array(m.buffer),I=new Uint32Array(m.buffer)},2983:function(fe,t,e){var P=e(6233);fe.exports=function(I){if(I[0]!==137)throw new Error("Invalid .png file header");if(I[1]!==80)throw new Error("Invalid .png file header");if(I[2]!==78)throw new Error("Invalid .png file header");if(I[3]!==71)throw new Error("Invalid .png file header");if(I[4]!==13)throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");if(I[5]!==10)throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");if(I[6]!==26)throw new Error("Invalid .png file header");if(I[7]!==10)throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");for(var x=!1,c=[],f=8;f<I.length;){w[3]=I[f++],w[2]=I[f++],w[1]=I[f++],w[0]=I[f++];var Z=v[0]+4,N=new Uint8Array(Z);N[0]=I[f++],N[1]=I[f++],N[2]=I[f++],N[3]=I[f++];var W=String.fromCharCode(N[0])+String.fromCharCode(N[1])+String.fromCharCode(N[2])+String.fromCharCode(N[3]);if(!c.length&&W!=="IHDR")throw new Error("IHDR header missing");if(W==="IEND"){x=!0,c.push({name:W,data:new Uint8Array(0)});break}for(var k=4;k<Z;k++)N[k]=I[f++];w[3]=I[f++],w[2]=I[f++],w[1]=I[f++],w[0]=I[f++];var S=m[0];if(P.buf(N)!==S)throw new Error("CRC values for "+W+" header do not match, PNG file is likely corrupted");var J=new Uint8Array(N.buffer.slice(4));c.push({name:W,data:J})}if(!x)throw new Error(".png file ended prematurely: no IEND header was found");return c};var w=new Uint8Array(4),m=new Int32Array(w.buffer),v=new Uint32Array(w.buffer)},1493:function(fe,t,e){function P(f,Z){return Math.pow(f[0]-Z[0],2)+Math.pow(f[1]-Z[1],2)}function w(f,Z,N){const W=P(Z,N);if(W===0)return P(f,Z);let k=((f[0]-Z[0])*(N[0]-Z[0])+(f[1]-Z[1])*(N[1]-Z[1]))/W;return k=Math.max(0,Math.min(1,k)),P(f,m(Z,N,k))}function m(f,Z,N){return[f[0]+(Z[0]-f[0])*N,f[1]+(Z[1]-f[1])*N]}function v(f,Z,N,W){const k=W||[];if(function(ce,he){const ve=ce[he+0],le=ce[he+1],G=ce[he+2],U=ce[he+3];let H=3*le[0]-2*ve[0]-U[0];H*=H;let M=3*le[1]-2*ve[1]-U[1];M*=M;let A=3*G[0]-2*U[0]-ve[0];A*=A;let b=3*G[1]-2*U[1]-ve[1];return b*=b,H<A&&(H=A),M<b&&(M=b),H+M}(f,Z)<N){const ce=f[Z+0];k.length?(S=k[k.length-1],J=ce,Math.sqrt(P(S,J))>1&&k.push(ce)):k.push(ce),k.push(f[Z+3])}else{const he=f[Z+0],ve=f[Z+1],le=f[Z+2],G=f[Z+3],U=m(he,ve,.5),H=m(ve,le,.5),M=m(le,G,.5),A=m(U,H,.5),b=m(H,M,.5),y=m(A,b,.5);v([he,U,A,y],0,N,k),v([y,b,M,G],0,N,k)}var S,J;return k}function I(f,Z){return x(f,0,f.length,Z)}function x(f,Z,N,W,k){const S=k||[],J=f[Z],ce=f[N-1];let he=0,ve=1;for(let le=Z+1;le<N-1;++le){const G=w(f[le],J,ce);G>he&&(he=G,ve=le)}return Math.sqrt(he)>W?(x(f,Z,ve+1,W,S),x(f,ve,N,W,S)):(S.length||S.push(J),S.push(ce)),S}function c(f,Z=.15,N){const W=[],k=(f.length-1)/3;for(let S=0;S<k;S++)v(f,3*S,Z,W);return N&&N>0?x(W,0,W.length,N):W}e.d(t,{og:function(){return I},sU:function(){return c}})},8128:function(fe,t,e){function P(j,i,s){if(j&&j.length){const[O,z]=i,K=Math.PI/180*s,$=Math.cos(K),Q=Math.sin(K);for(const ae of j){const[be,Ce]=ae;ae[0]=(be-O)*$-(Ce-z)*Q+O,ae[1]=(be-O)*Q+(Ce-z)*$+z}}}function w(j,i){return j[0]===i[0]&&j[1]===i[1]}function m(j,i,s,O=1){const z=s,K=Math.max(i,.1),$=j[0]&&j[0][0]&&typeof j[0][0]=="number"?[j]:j,Q=[0,0];if(z)for(const be of $)P(be,Q,z);const ae=function(be,Ce,Ze){const Be=[];for(const me of be){const Se=[...me];w(Se[0],Se[Se.length-1])||Se.push([Se[0][0],Se[0][1]]),Se.length>2&&Be.push(Se)}const Te=[];Ce=Math.max(Ce,.1);const He=[];for(const me of Be)for(let Se=0;Se<me.length-1;Se++){const Ne=me[Se],Ye=me[Se+1];if(Ne[1]!==Ye[1]){const Qe=Math.min(Ne[1],Ye[1]);He.push({ymin:Qe,ymax:Math.max(Ne[1],Ye[1]),x:Qe===Ne[1]?Ne[0]:Ye[0],islope:(Ye[0]-Ne[0])/(Ye[1]-Ne[1])})}}if(He.sort((me,Se)=>me.ymin<Se.ymin?-1:me.ymin>Se.ymin?1:me.x<Se.x?-1:me.x>Se.x?1:me.ymax===Se.ymax?0:(me.ymax-Se.ymax)/Math.abs(me.ymax-Se.ymax)),!He.length)return Te;let Ve=[],Je=He[0].ymin,Me=0;for(;Ve.length||He.length;){if(He.length){let me=-1;for(let Se=0;Se<He.length&&!(He[Se].ymin>Je);Se++)me=Se;He.splice(0,me+1).forEach(Se=>{Ve.push({s:Je,edge:Se})})}if(Ve=Ve.filter(me=>!(me.edge.ymax<=Je)),Ve.sort((me,Se)=>me.edge.x===Se.edge.x?0:(me.edge.x-Se.edge.x)/Math.abs(me.edge.x-Se.edge.x)),(Ze!==1||Me%Ce==0)&&Ve.length>1)for(let me=0;me<Ve.length;me+=2){const Se=me+1;if(Se>=Ve.length)break;const Ne=Ve[me].edge,Ye=Ve[Se].edge;Te.push([[Math.round(Ne.x),Je],[Math.round(Ye.x),Je]])}Je+=Ze,Ve.forEach(me=>{me.edge.x=me.edge.x+Ze*me.edge.islope}),Me++}return Te}($,K,O);if(z){for(const be of $)P(be,Q,-z);(function(be,Ce,Ze){const Be=[];be.forEach(Te=>Be.push(...Te)),P(Be,Ce,Ze)})(ae,Q,-z)}return ae}function v(j,i){var s;const O=i.hachureAngle+90;let z=i.hachureGap;z<0&&(z=4*i.strokeWidth),z=Math.max(z,.1);let K=1;return i.roughness>=1&&(((s=i.randomizer)===null||s===void 0?void 0:s.next())||Math.random())>.7&&(K=z),m(j,z,O,K||1)}e.d(t,{V:function(){return se}});class I{constructor(i){this.helper=i}fillPolygons(i,s){return this._fillPolygons(i,s)}_fillPolygons(i,s){const O=v(i,s);return{type:"fillSketch",ops:this.renderLines(O,s)}}renderLines(i,s){const O=[];for(const z of i)O.push(...this.helper.doubleLineOps(z[0][0],z[0][1],z[1][0],z[1][1],s));return O}}function x(j){const i=j[0],s=j[1];return Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2))}class c extends I{fillPolygons(i,s){let O=s.hachureGap;O<0&&(O=4*s.strokeWidth),O=Math.max(O,.1);const z=v(i,Object.assign({},s,{hachureGap:O})),K=Math.PI/180*s.hachureAngle,$=[],Q=.5*O*Math.cos(K),ae=.5*O*Math.sin(K);for(const[be,Ce]of z)x([be,Ce])&&$.push([[be[0]-Q,be[1]+ae],[...Ce]],[[be[0]+Q,be[1]-ae],[...Ce]]);return{type:"fillSketch",ops:this.renderLines($,s)}}}class f extends I{fillPolygons(i,s){const O=this._fillPolygons(i,s),z=Object.assign({},s,{hachureAngle:s.hachureAngle+90}),K=this._fillPolygons(i,z);return O.ops=O.ops.concat(K.ops),O}}class Z{constructor(i){this.helper=i}fillPolygons(i,s){const O=v(i,s=Object.assign({},s,{hachureAngle:0}));return this.dotsOnLines(O,s)}dotsOnLines(i,s){const O=[];let z=s.hachureGap;z<0&&(z=4*s.strokeWidth),z=Math.max(z,.1);let K=s.fillWeight;K<0&&(K=s.strokeWidth/2);const $=z/4;for(const Q of i){const ae=x(Q),be=ae/z,Ce=Math.ceil(be)-1,Ze=ae-Ce*z,Be=(Q[0][0]+Q[1][0])/2-z/4,Te=Math.min(Q[0][1],Q[1][1]);for(let He=0;He<Ce;He++){const Ve=Te+Ze+He*z,Je=Be-$+2*Math.random()*$,Me=Ve-$+2*Math.random()*$,me=this.helper.ellipse(Je,Me,K,K,s);O.push(...me.ops)}}return{type:"fillSketch",ops:O}}}class N{constructor(i){this.helper=i}fillPolygons(i,s){const O=v(i,s);return{type:"fillSketch",ops:this.dashedLine(O,s)}}dashedLine(i,s){const O=s.dashOffset<0?s.hachureGap<0?4*s.strokeWidth:s.hachureGap:s.dashOffset,z=s.dashGap<0?s.hachureGap<0?4*s.strokeWidth:s.hachureGap:s.dashGap,K=[];return i.forEach($=>{const Q=x($),ae=Math.floor(Q/(O+z)),be=(Q+z-ae*(O+z))/2;let Ce=$[0],Ze=$[1];Ce[0]>Ze[0]&&(Ce=$[1],Ze=$[0]);const Be=Math.atan((Ze[1]-Ce[1])/(Ze[0]-Ce[0]));for(let Te=0;Te<ae;Te++){const He=Te*(O+z),Ve=He+O,Je=[Ce[0]+He*Math.cos(Be)+be*Math.cos(Be),Ce[1]+He*Math.sin(Be)+be*Math.sin(Be)],Me=[Ce[0]+Ve*Math.cos(Be)+be*Math.cos(Be),Ce[1]+Ve*Math.sin(Be)+be*Math.sin(Be)];K.push(...this.helper.doubleLineOps(Je[0],Je[1],Me[0],Me[1],s))}}),K}}class W{constructor(i){this.helper=i}fillPolygons(i,s){const O=s.hachureGap<0?4*s.strokeWidth:s.hachureGap,z=s.zigzagOffset<0?O:s.zigzagOffset,K=v(i,s=Object.assign({},s,{hachureGap:O+z}));return{type:"fillSketch",ops:this.zigzagLines(K,z,s)}}zigzagLines(i,s,O){const z=[];return i.forEach(K=>{const $=x(K),Q=Math.round($/(2*s));let ae=K[0],be=K[1];ae[0]>be[0]&&(ae=K[1],be=K[0]);const Ce=Math.atan((be[1]-ae[1])/(be[0]-ae[0]));for(let Ze=0;Ze<Q;Ze++){const Be=2*Ze*s,Te=2*(Ze+1)*s,He=Math.sqrt(2*Math.pow(s,2)),Ve=[ae[0]+Be*Math.cos(Ce),ae[1]+Be*Math.sin(Ce)],Je=[ae[0]+Te*Math.cos(Ce),ae[1]+Te*Math.sin(Ce)],Me=[Ve[0]+He*Math.cos(Ce+Math.PI/4),Ve[1]+He*Math.sin(Ce+Math.PI/4)];z.push(...this.helper.doubleLineOps(Ve[0],Ve[1],Me[0],Me[1],O),...this.helper.doubleLineOps(Me[0],Me[1],Je[0],Je[1],O))}}),z}}const k={};var S=e(8152);const J={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function ce(j,i){return j.type===i}function he(j){const i=[],s=function($){const Q=new Array;for(;$!=="";)if($.match(/^([ \t\r\n,]+)/))$=$.substr(RegExp.$1.length);else if($.match(/^([aAcChHlLmMqQsStTvVzZ])/))Q[Q.length]={type:0,text:RegExp.$1},$=$.substr(RegExp.$1.length);else{if(!$.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];Q[Q.length]={type:1,text:`${parseFloat(RegExp.$1)}`},$=$.substr(RegExp.$1.length)}return Q[Q.length]={type:2,text:""},Q}(j);let O="BOD",z=0,K=s[z];for(;!ce(K,2);){let $=0;const Q=[];if(O==="BOD"){if(K.text!=="M"&&K.text!=="m")return he("M0,0"+j);z++,$=J[K.text],O=K.text}else ce(K,1)?$=J[O]:(z++,$=J[K.text],O=K.text);if(!(z+$<s.length))throw new Error("Path data ended short");for(let ae=z;ae<z+$;ae++){const be=s[ae];if(!ce(be,1))throw new Error("Param not a number: "+O+","+be.text);Q[Q.length]=+be.text}if(typeof J[O]!="number")throw new Error("Bad segment: "+O);{const ae={key:O,data:Q};i.push(ae),z+=$,K=s[z],O==="M"&&(O="L"),O==="m"&&(O="l")}}return i}function ve(j){let i=0,s=0,O=0,z=0;const K=[];for(const{key:$,data:Q}of j)switch($){case"M":K.push({key:"M",data:[...Q]}),[i,s]=Q,[O,z]=Q;break;case"m":i+=Q[0],s+=Q[1],K.push({key:"M",data:[i,s]}),O=i,z=s;break;case"L":K.push({key:"L",data:[...Q]}),[i,s]=Q;break;case"l":i+=Q[0],s+=Q[1],K.push({key:"L",data:[i,s]});break;case"C":K.push({key:"C",data:[...Q]}),i=Q[4],s=Q[5];break;case"c":{const ae=Q.map((be,Ce)=>Ce%2?be+s:be+i);K.push({key:"C",data:ae}),i=ae[4],s=ae[5];break}case"Q":K.push({key:"Q",data:[...Q]}),i=Q[2],s=Q[3];break;case"q":{const ae=Q.map((be,Ce)=>Ce%2?be+s:be+i);K.push({key:"Q",data:ae}),i=ae[2],s=ae[3];break}case"A":K.push({key:"A",data:[...Q]}),i=Q[5],s=Q[6];break;case"a":i+=Q[5],s+=Q[6],K.push({key:"A",data:[Q[0],Q[1],Q[2],Q[3],Q[4],i,s]});break;case"H":K.push({key:"H",data:[...Q]}),i=Q[0];break;case"h":i+=Q[0],K.push({key:"H",data:[i]});break;case"V":K.push({key:"V",data:[...Q]}),s=Q[0];break;case"v":s+=Q[0],K.push({key:"V",data:[s]});break;case"S":K.push({key:"S",data:[...Q]}),i=Q[2],s=Q[3];break;case"s":{const ae=Q.map((be,Ce)=>Ce%2?be+s:be+i);K.push({key:"S",data:ae}),i=ae[2],s=ae[3];break}case"T":K.push({key:"T",data:[...Q]}),i=Q[0],s=Q[1];break;case"t":i+=Q[0],s+=Q[1],K.push({key:"T",data:[i,s]});break;case"Z":case"z":K.push({key:"Z",data:[]}),i=O,s=z}return K}function le(j){const i=[];let s="",O=0,z=0,K=0,$=0,Q=0,ae=0;for(const{key:be,data:Ce}of j){switch(be){case"M":i.push({key:"M",data:[...Ce]}),[O,z]=Ce,[K,$]=Ce;break;case"C":i.push({key:"C",data:[...Ce]}),O=Ce[4],z=Ce[5],Q=Ce[2],ae=Ce[3];break;case"L":i.push({key:"L",data:[...Ce]}),[O,z]=Ce;break;case"H":O=Ce[0],i.push({key:"L",data:[O,z]});break;case"V":z=Ce[0],i.push({key:"L",data:[O,z]});break;case"S":{let Ze=0,Be=0;s==="C"||s==="S"?(Ze=O+(O-Q),Be=z+(z-ae)):(Ze=O,Be=z),i.push({key:"C",data:[Ze,Be,...Ce]}),Q=Ce[0],ae=Ce[1],O=Ce[2],z=Ce[3];break}case"T":{const[Ze,Be]=Ce;let Te=0,He=0;s==="Q"||s==="T"?(Te=O+(O-Q),He=z+(z-ae)):(Te=O,He=z);const Ve=O+2*(Te-O)/3,Je=z+2*(He-z)/3,Me=Ze+2*(Te-Ze)/3,me=Be+2*(He-Be)/3;i.push({key:"C",data:[Ve,Je,Me,me,Ze,Be]}),Q=Te,ae=He,O=Ze,z=Be;break}case"Q":{const[Ze,Be,Te,He]=Ce,Ve=O+2*(Ze-O)/3,Je=z+2*(Be-z)/3,Me=Te+2*(Ze-Te)/3,me=He+2*(Be-He)/3;i.push({key:"C",data:[Ve,Je,Me,me,Te,He]}),Q=Ze,ae=Be,O=Te,z=He;break}case"A":{const Ze=Math.abs(Ce[0]),Be=Math.abs(Ce[1]),Te=Ce[2],He=Ce[3],Ve=Ce[4],Je=Ce[5],Me=Ce[6];Ze===0||Be===0?(i.push({key:"C",data:[O,z,Je,Me,Je,Me]}),O=Je,z=Me):(O!==Je||z!==Me)&&(U(O,z,Je,Me,Ze,Be,Te,He,Ve).forEach(function(me){i.push({key:"C",data:me})}),O=Je,z=Me);break}case"Z":i.push({key:"Z",data:[]}),O=K,z=$}s=be}return i}function G(j,i,s){return[j*Math.cos(s)-i*Math.sin(s),j*Math.sin(s)+i*Math.cos(s)]}function U(j,i,s,O,z,K,$,Q,ae,be){const Ce=(Ze=$,Math.PI*Ze/180);var Ze;let Be=[],Te=0,He=0,Ve=0,Je=0;if(be)[Te,He,Ve,Je]=be;else{[j,i]=G(j,i,-Ce),[s,O]=G(s,O,-Ce);const Et=(j-s)/2,Mt=(i-O)/2;let Yt=Et*Et/(z*z)+Mt*Mt/(K*K);Yt>1&&(Yt=Math.sqrt(Yt),z*=Yt,K*=Yt);const lt=z*z,ot=K*K,mt=lt*ot-lt*Mt*Mt-ot*Et*Et,pt=lt*Mt*Mt+ot*Et*Et,ht=(Q===ae?-1:1)*Math.sqrt(Math.abs(mt/pt));Ve=ht*z*Mt/K+(j+s)/2,Je=ht*-K*Et/z+(i+O)/2,Te=Math.asin(parseFloat(((i-Je)/K).toFixed(9))),He=Math.asin(parseFloat(((O-Je)/K).toFixed(9))),j<Ve&&(Te=Math.PI-Te),s<Ve&&(He=Math.PI-He),Te<0&&(Te=2*Math.PI+Te),He<0&&(He=2*Math.PI+He),ae&&Te>He&&(Te-=2*Math.PI),!ae&&He>Te&&(He-=2*Math.PI)}let Me=He-Te;if(Math.abs(Me)>120*Math.PI/180){const Et=He,Mt=s,Yt=O;He=ae&&He>Te?Te+120*Math.PI/180*1:Te+120*Math.PI/180*-1,Be=U(s=Ve+z*Math.cos(He),O=Je+K*Math.sin(He),Mt,Yt,z,K,$,0,ae,[He,Et,Ve,Je])}Me=He-Te;const me=Math.cos(Te),Se=Math.sin(Te),Ne=Math.cos(He),Ye=Math.sin(He),Qe=Math.tan(Me/4),rt=4/3*z*Qe,ft=4/3*K*Qe,at=[j,i],ut=[j+rt*Se,i-ft*me],Ot=[s+rt*Ye,O-ft*Ne],Pt=[s,O];if(ut[0]=2*at[0]-ut[0],ut[1]=2*at[1]-ut[1],be)return[ut,Ot,Pt].concat(Be);{Be=[ut,Ot,Pt].concat(Be);const Et=[];for(let Mt=0;Mt<Be.length;Mt+=3){const Yt=G(Be[Mt][0],Be[Mt][1],Ce),lt=G(Be[Mt+1][0],Be[Mt+1][1],Ce),ot=G(Be[Mt+2][0],Be[Mt+2][1],Ce);Et.push([Yt[0],Yt[1],lt[0],lt[1],ot[0],ot[1]])}return Et}}const H={randOffset:function(j,i){return C(j,i)},randOffsetWithRange:function(j,i,s){return u(j,i,s)},ellipse:function(j,i,s,O,z){const K=h(s,O,z);return d(j,i,z,K).opset},doubleLineOps:function(j,i,s,O,z){return L(j,i,s,O,z,!0)}};function M(j,i,s,O,z){return{type:"path",ops:L(j,i,s,O,z)}}function A(j,i,s){const O=(j||[]).length;if(O>2){const z=[];for(let K=0;K<O-1;K++)z.push(...L(j[K][0],j[K][1],j[K+1][0],j[K+1][1],s));return i&&z.push(...L(j[O-1][0],j[O-1][1],j[0][0],j[0][1],s)),{type:"path",ops:z}}return O===2?M(j[0][0],j[0][1],j[1][0],j[1][1],s):{type:"path",ops:[]}}function b(j,i,s,O,z){return function(K,$){return A(K,!0,$)}([[j,i],[j+s,i],[j+s,i+O],[j,i+O]],z)}function y(j,i){let s=E(j,1*(1+.2*i.roughness),i);if(!i.disableMultiStroke){const O=E(j,1.5*(1+.22*i.roughness),function(z){const K=Object.assign({},z);return K.randomizer=void 0,z.seed&&(K.seed=z.seed+1),K}(i));s=s.concat(O)}return{type:"path",ops:s}}function h(j,i,s){const O=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(j/2,2)+Math.pow(i/2,2))/2)),z=Math.ceil(Math.max(s.curveStepCount,s.curveStepCount/Math.sqrt(200)*O)),K=2*Math.PI/z;let $=Math.abs(j/2),Q=Math.abs(i/2);const ae=1-s.curveFitting;return $+=C($*ae,s),Q+=C(Q*ae,s),{increment:K,rx:$,ry:Q}}function d(j,i,s,O){const[z,K]=F(O.increment,j,i,O.rx,O.ry,1,O.increment*u(.1,u(.4,1,s),s),s);let $=D(z,null,s);if(!s.disableMultiStroke&&s.roughness!==0){const[Q]=F(O.increment,j,i,O.rx,O.ry,1.5,0,s),ae=D(Q,null,s);$=$.concat(ae)}return{estimatedPoints:K,opset:{type:"path",ops:$}}}function r(j,i,s,O,z,K,$,Q,ae){const be=j,Ce=i;let Ze=Math.abs(s/2),Be=Math.abs(O/2);Ze+=C(.01*Ze,ae),Be+=C(.01*Be,ae);let Te=z,He=K;for(;Te<0;)Te+=2*Math.PI,He+=2*Math.PI;He-Te>2*Math.PI&&(Te=0,He=2*Math.PI);const Ve=2*Math.PI/ae.curveStepCount,Je=Math.min(Ve/2,(He-Te)/2),Me=ee(Je,be,Ce,Ze,Be,Te,He,1,ae);if(!ae.disableMultiStroke){const me=ee(Je,be,Ce,Ze,Be,Te,He,1.5,ae);Me.push(...me)}return $&&(Q?Me.push(...L(be,Ce,be+Ze*Math.cos(Te),Ce+Be*Math.sin(Te),ae),...L(be,Ce,be+Ze*Math.cos(He),Ce+Be*Math.sin(He),ae)):Me.push({op:"lineTo",data:[be,Ce]},{op:"lineTo",data:[be+Ze*Math.cos(Te),Ce+Be*Math.sin(Te)]})),{type:"path",ops:Me}}function n(j,i){const s=le(ve(he(j))),O=[];let z=[0,0],K=[0,0];for(const{key:$,data:Q}of s)switch($){case"M":K=[Q[0],Q[1]],z=[Q[0],Q[1]];break;case"L":O.push(...L(K[0],K[1],Q[0],Q[1],i)),K=[Q[0],Q[1]];break;case"C":{const[ae,be,Ce,Ze,Be,Te]=Q;O.push(...te(ae,be,Ce,Ze,Be,Te,K,i)),K=[Be,Te];break}case"Z":O.push(...L(K[0],K[1],z[0],z[1],i)),K=[z[0],z[1]]}return{type:"path",ops:O}}function p(j,i){const s=[];for(const O of j)if(O.length){const z=i.maxRandomnessOffset||0,K=O.length;if(K>2){s.push({op:"move",data:[O[0][0]+C(z,i),O[0][1]+C(z,i)]});for(let $=1;$<K;$++)s.push({op:"lineTo",data:[O[$][0]+C(z,i),O[$][1]+C(z,i)]})}}return{type:"fillPath",ops:s}}function a(j,i){return function(s,O){let z=s.fillStyle||"hachure";if(!k[z])switch(z){case"zigzag":k[z]||(k[z]=new c(O));break;case"cross-hatch":k[z]||(k[z]=new f(O));break;case"dots":k[z]||(k[z]=new Z(O));break;case"dashed":k[z]||(k[z]=new N(O));break;case"zigzag-line":k[z]||(k[z]=new W(O));break;default:z="hachure",k[z]||(k[z]=new I(O))}return k[z]}(i,H).fillPolygons(j,i)}function l(j){return j.randomizer||(j.randomizer=new S.k(j.seed||0)),j.randomizer.next()}function u(j,i,s,O=1){return s.roughness*O*(l(s)*(i-j)+j)}function C(j,i,s=1){return u(-j,j,i,s)}function L(j,i,s,O,z,K=!1){const $=K?z.disableMultiStrokeFill:z.disableMultiStroke,Q=_(j,i,s,O,z,!0,!1);if($)return Q;const ae=_(j,i,s,O,z,!0,!0);return Q.concat(ae)}function _(j,i,s,O,z,K,$){const Q=Math.pow(j-s,2)+Math.pow(i-O,2),ae=Math.sqrt(Q);let be=1;be=ae<200?1:ae>500?.4:-.0016668*ae+1.233334;let Ce=z.maxRandomnessOffset||0;Ce*Ce*100>Q&&(Ce=ae/10);const Ze=Ce/2,Be=.2+.2*l(z);let Te=z.bowing*z.maxRandomnessOffset*(O-i)/200,He=z.bowing*z.maxRandomnessOffset*(j-s)/200;Te=C(Te,z,be),He=C(He,z,be);const Ve=[],Je=()=>C(Ze,z,be),Me=()=>C(Ce,z,be),me=z.preserveVertices;return K&&($?Ve.push({op:"move",data:[j+(me?0:Je()),i+(me?0:Je())]}):Ve.push({op:"move",data:[j+(me?0:C(Ce,z,be)),i+(me?0:C(Ce,z,be))]})),$?Ve.push({op:"bcurveTo",data:[Te+j+(s-j)*Be+Je(),He+i+(O-i)*Be+Je(),Te+j+2*(s-j)*Be+Je(),He+i+2*(O-i)*Be+Je(),s+(me?0:Je()),O+(me?0:Je())]}):Ve.push({op:"bcurveTo",data:[Te+j+(s-j)*Be+Me(),He+i+(O-i)*Be+Me(),Te+j+2*(s-j)*Be+Me(),He+i+2*(O-i)*Be+Me(),s+(me?0:Me()),O+(me?0:Me())]}),Ve}function E(j,i,s){const O=[];O.push([j[0][0]+C(i,s),j[0][1]+C(i,s)]),O.push([j[0][0]+C(i,s),j[0][1]+C(i,s)]);for(let z=1;z<j.length;z++)O.push([j[z][0]+C(i,s),j[z][1]+C(i,s)]),z===j.length-1&&O.push([j[z][0]+C(i,s),j[z][1]+C(i,s)]);return D(O,null,s)}function D(j,i,s){const O=j.length,z=[];if(O>3){const K=[],$=1-s.curveTightness;z.push({op:"move",data:[j[1][0],j[1][1]]});for(let Q=1;Q+2<O;Q++){const ae=j[Q];K[0]=[ae[0],ae[1]],K[1]=[ae[0]+($*j[Q+1][0]-$*j[Q-1][0])/6,ae[1]+($*j[Q+1][1]-$*j[Q-1][1])/6],K[2]=[j[Q+1][0]+($*j[Q][0]-$*j[Q+2][0])/6,j[Q+1][1]+($*j[Q][1]-$*j[Q+2][1])/6],K[3]=[j[Q+1][0],j[Q+1][1]],z.push({op:"bcurveTo",data:[K[1][0],K[1][1],K[2][0],K[2][1],K[3][0],K[3][1]]})}if(i&&i.length===2){const Q=s.maxRandomnessOffset;z.push({op:"lineTo",data:[i[0]+C(Q,s),i[1]+C(Q,s)]})}}else O===3?(z.push({op:"move",data:[j[1][0],j[1][1]]}),z.push({op:"bcurveTo",data:[j[1][0],j[1][1],j[2][0],j[2][1],j[2][0],j[2][1]]})):O===2&&z.push(...L(j[0][0],j[0][1],j[1][0],j[1][1],s));return z}function F(j,i,s,O,z,K,$,Q){const ae=[],be=[];if(Q.roughness===0){j/=4,be.push([i+O*Math.cos(-j),s+z*Math.sin(-j)]);for(let Ce=0;Ce<=2*Math.PI;Ce+=j){const Ze=[i+O*Math.cos(Ce),s+z*Math.sin(Ce)];ae.push(Ze),be.push(Ze)}be.push([i+O*Math.cos(0),s+z*Math.sin(0)]),be.push([i+O*Math.cos(j),s+z*Math.sin(j)])}else{const Ce=C(.5,Q)-Math.PI/2;be.push([C(K,Q)+i+.9*O*Math.cos(Ce-j),C(K,Q)+s+.9*z*Math.sin(Ce-j)]);const Ze=2*Math.PI+Ce-.01;for(let Be=Ce;Be<Ze;Be+=j){const Te=[C(K,Q)+i+O*Math.cos(Be),C(K,Q)+s+z*Math.sin(Be)];ae.push(Te),be.push(Te)}be.push([C(K,Q)+i+O*Math.cos(Ce+2*Math.PI+.5*$),C(K,Q)+s+z*Math.sin(Ce+2*Math.PI+.5*$)]),be.push([C(K,Q)+i+.98*O*Math.cos(Ce+$),C(K,Q)+s+.98*z*Math.sin(Ce+$)]),be.push([C(K,Q)+i+.9*O*Math.cos(Ce+.5*$),C(K,Q)+s+.9*z*Math.sin(Ce+.5*$)])}return[be,ae]}function ee(j,i,s,O,z,K,$,Q,ae){const be=K+C(.1,ae),Ce=[];Ce.push([C(Q,ae)+i+.9*O*Math.cos(be-j),C(Q,ae)+s+.9*z*Math.sin(be-j)]);for(let Ze=be;Ze<=$;Ze+=j)Ce.push([C(Q,ae)+i+O*Math.cos(Ze),C(Q,ae)+s+z*Math.sin(Ze)]);return Ce.push([i+O*Math.cos($),s+z*Math.sin($)]),Ce.push([i+O*Math.cos($),s+z*Math.sin($)]),D(Ce,null,ae)}function te(j,i,s,O,z,K,$,Q){const ae=[],be=[Q.maxRandomnessOffset||1,(Q.maxRandomnessOffset||1)+.3];let Ce=[0,0];const Ze=Q.disableMultiStroke?1:2,Be=Q.preserveVertices;for(let Te=0;Te<Ze;Te++)Te===0?ae.push({op:"move",data:[$[0],$[1]]}):ae.push({op:"move",data:[$[0]+(Be?0:C(be[0],Q)),$[1]+(Be?0:C(be[0],Q))]}),Ce=Be?[z,K]:[z+C(be[Te],Q),K+C(be[Te],Q)],ae.push({op:"bcurveTo",data:[j+C(be[Te],Q),i+C(be[Te],Q),s+C(be[Te],Q),O+C(be[Te],Q),Ce[0],Ce[1]]});return ae}function re(j){return[...j]}function oe(j,i){return Math.pow(j[0]-i[0],2)+Math.pow(j[1]-i[1],2)}function Y(j,i,s){const O=oe(i,s);if(O===0)return oe(j,i);let z=((j[0]-i[0])*(s[0]-i[0])+(j[1]-i[1])*(s[1]-i[1]))/O;return z=Math.max(0,Math.min(1,z)),oe(j,V(i,s,z))}function V(j,i,s){return[j[0]+(i[0]-j[0])*s,j[1]+(i[1]-j[1])*s]}function ie(j,i,s,O){const z=O||[];if(function(Q,ae){const be=Q[ae+0],Ce=Q[ae+1],Ze=Q[ae+2],Be=Q[ae+3];let Te=3*Ce[0]-2*be[0]-Be[0];Te*=Te;let He=3*Ce[1]-2*be[1]-Be[1];He*=He;let Ve=3*Ze[0]-2*Be[0]-be[0];Ve*=Ve;let Je=3*Ze[1]-2*Be[1]-be[1];return Je*=Je,Te<Ve&&(Te=Ve),He<Je&&(He=Je),Te+He}(j,i)<s){const Q=j[i+0];z.length?(K=z[z.length-1],$=Q,Math.sqrt(oe(K,$))>1&&z.push(Q)):z.push(Q),z.push(j[i+3])}else{const ae=j[i+0],be=j[i+1],Ce=j[i+2],Ze=j[i+3],Be=V(ae,be,.5),Te=V(be,Ce,.5),He=V(Ce,Ze,.5),Ve=V(Be,Te,.5),Je=V(Te,He,.5),Me=V(Ve,Je,.5);ie([ae,Be,Ve,Me],0,s,z),ie([Me,Je,He,Ze],0,s,z)}var K,$;return z}function we(j,i,s,O,z){const K=z||[],$=j[i],Q=j[s-1];let ae=0,be=1;for(let Ce=i+1;Ce<s-1;++Ce){const Ze=Y(j[Ce],$,Q);Ze>ae&&(ae=Ze,be=Ce)}return Math.sqrt(ae)>O?(we(j,i,be+1,O,K),we(j,be,s,O,K)):(K.length||K.push($),K.push(Q)),K}function Ae(j,i){return Math.pow(j[0]-i[0],2)+Math.pow(j[1]-i[1],2)}function Re(j,i,s){const O=Ae(i,s);if(O===0)return Ae(j,i);let z=((j[0]-i[0])*(s[0]-i[0])+(j[1]-i[1])*(s[1]-i[1]))/O;return z=Math.max(0,Math.min(1,z)),Ae(j,je(i,s,z))}function je(j,i,s){return[j[0]+(i[0]-j[0])*s,j[1]+(i[1]-j[1])*s]}function ye(j,i,s,O){const z=O||[];if(function(Q,ae){const be=Q[ae+0],Ce=Q[ae+1],Ze=Q[ae+2],Be=Q[ae+3];let Te=3*Ce[0]-2*be[0]-Be[0];Te*=Te;let He=3*Ce[1]-2*be[1]-Be[1];He*=He;let Ve=3*Ze[0]-2*Be[0]-be[0];Ve*=Ve;let Je=3*Ze[1]-2*Be[1]-be[1];return Je*=Je,Te<Ve&&(Te=Ve),He<Je&&(He=Je),Te+He}(j,i)<s){const Q=j[i+0];z.length?(K=z[z.length-1],$=Q,Math.sqrt(Ae(K,$))>1&&z.push(Q)):z.push(Q),z.push(j[i+3])}else{const ae=j[i+0],be=j[i+1],Ce=j[i+2],Ze=j[i+3],Be=je(ae,be,.5),Te=je(be,Ce,.5),He=je(Ce,Ze,.5),Ve=je(Be,Te,.5),Je=je(Te,He,.5),Me=je(Ve,Je,.5);ye([ae,Be,Ve,Me],0,s,z),ye([Me,Je,He,Ze],0,s,z)}var K,$;return z}function Ee(j,i){return Oe(j,0,j.length,i)}function Oe(j,i,s,O,z){const K=z||[],$=j[i],Q=j[s-1];let ae=0,be=1;for(let Ce=i+1;Ce<s-1;++Ce){const Ze=Re(j[Ce],$,Q);Ze>ae&&(ae=Ze,be=Ce)}return Math.sqrt(ae)>O?(Oe(j,i,be+1,O,K),Oe(j,be,s,O,K)):(K.length||K.push($),K.push(Q)),K}function ge(j,i,s){const O=le(ve(he(j))),z=[];let K=[],$=[0,0],Q=[];const ae=()=>{Q.length>=4&&K.push(...function(Ze,Be=.15,Te){const He=[],Ve=(Ze.length-1)/3;for(let Je=0;Je<Ve;Je++)ye(Ze,3*Je,Be,He);return Te&&Te>0?Oe(He,0,He.length,Te):He}(Q,i)),Q=[]},be=()=>{ae(),K.length&&(z.push(K),K=[])};for(const{key:Ze,data:Be}of O)switch(Ze){case"M":be(),$=[Be[0],Be[1]],K.push($);break;case"L":ae(),K.push([Be[0],Be[1]]);break;case"C":if(!Q.length){const Te=K.length?K[K.length-1]:$;Q.push([Te[0],Te[1]])}Q.push([Be[0],Be[1]]),Q.push([Be[2],Be[3]]),Q.push([Be[4],Be[5]]);break;case"Z":ae(),K.push([$[0],$[1]])}if(be(),!s)return z;const Ce=[];for(const Ze of z){const Be=Ee(Ze,s);Be.length&&Ce.push(Be)}return Ce}const ue="none";class se{constructor(i){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=i||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return(0,S.W)()}_o(i){return i?Object.assign({},this.defaultOptions,i):this.defaultOptions}_d(i,s,O){return{shape:i,sets:s||[],options:O||this.defaultOptions}}line(i,s,O,z,K){const $=this._o(K);return this._d("line",[M(i,s,O,z,$)],$)}rectangle(i,s,O,z,K){const $=this._o(K),Q=[],ae=b(i,s,O,z,$);if($.fill){const be=[[i,s],[i+O,s],[i+O,s+z],[i,s+z]];$.fillStyle==="solid"?Q.push(p([be],$)):Q.push(a([be],$))}return $.stroke!==ue&&Q.push(ae),this._d("rectangle",Q,$)}ellipse(i,s,O,z,K){const $=this._o(K),Q=[],ae=h(O,z,$),be=d(i,s,$,ae);if($.fill)if($.fillStyle==="solid"){const Ce=d(i,s,$,ae).opset;Ce.type="fillPath",Q.push(Ce)}else Q.push(a([be.estimatedPoints],$));return $.stroke!==ue&&Q.push(be.opset),this._d("ellipse",Q,$)}circle(i,s,O,z){const K=this.ellipse(i,s,O,O,z);return K.shape="circle",K}linearPath(i,s){const O=this._o(s);return this._d("linearPath",[A(i,!1,O)],O)}arc(i,s,O,z,K,$,Q=!1,ae){const be=this._o(ae),Ce=[],Ze=r(i,s,O,z,K,$,Q,!0,be);if(Q&&be.fill)if(be.fillStyle==="solid"){const Be=Object.assign({},be);Be.disableMultiStroke=!0;const Te=r(i,s,O,z,K,$,!0,!1,Be);Te.type="fillPath",Ce.push(Te)}else Ce.push(function(Be,Te,He,Ve,Je,Me,me){const Se=Be,Ne=Te;let Ye=Math.abs(He/2),Qe=Math.abs(Ve/2);Ye+=C(.01*Ye,me),Qe+=C(.01*Qe,me);let rt=Je,ft=Me;for(;rt<0;)rt+=2*Math.PI,ft+=2*Math.PI;ft-rt>2*Math.PI&&(rt=0,ft=2*Math.PI);const at=(ft-rt)/me.curveStepCount,ut=[];for(let Ot=rt;Ot<=ft;Ot+=at)ut.push([Se+Ye*Math.cos(Ot),Ne+Qe*Math.sin(Ot)]);return ut.push([Se+Ye*Math.cos(ft),Ne+Qe*Math.sin(ft)]),ut.push([Se,Ne]),a([ut],me)}(i,s,O,z,K,$,be));return be.stroke!==ue&&Ce.push(Ze),this._d("arc",Ce,be)}curve(i,s){const O=this._o(s),z=[],K=y(i,O);if(O.fill&&O.fill!==ue&&i.length>=3)if(O.fillStyle==="solid"){const $=y(i,Object.assign(Object.assign({},O),{disableMultiStroke:!0,roughness:O.roughness?O.roughness+O.fillShapeRoughnessGain:0}));z.push({type:"fillPath",ops:this._mergedShape($.ops)})}else{const $=function(ae,be=0){const Ce=ae.length;if(Ce<3)throw new Error("A curve must have at least three points.");const Ze=[];if(Ce===3)Ze.push(re(ae[0]),re(ae[1]),re(ae[2]),re(ae[2]));else{const Be=[];Be.push(ae[0],ae[0]);for(let Ve=1;Ve<ae.length;Ve++)Be.push(ae[Ve]),Ve===ae.length-1&&Be.push(ae[Ve]);const Te=[],He=1-be;Ze.push(re(Be[0]));for(let Ve=1;Ve+2<Be.length;Ve++){const Je=Be[Ve];Te[0]=[Je[0],Je[1]],Te[1]=[Je[0]+(He*Be[Ve+1][0]-He*Be[Ve-1][0])/6,Je[1]+(He*Be[Ve+1][1]-He*Be[Ve-1][1])/6],Te[2]=[Be[Ve+1][0]+(He*Be[Ve][0]-He*Be[Ve+2][0])/6,Be[Ve+1][1]+(He*Be[Ve][1]-He*Be[Ve+2][1])/6],Te[3]=[Be[Ve+1][0],Be[Ve+1][1]],Ze.push(Te[1],Te[2],Te[3])}}return Ze}(i),Q=function(ae,be=.15,Ce){const Ze=[],Be=(ae.length-1)/3;for(let Te=0;Te<Be;Te++)ie(ae,3*Te,be,Ze);return Ce&&Ce>0?we(Ze,0,Ze.length,Ce):Ze}($,10,(1+O.roughness)/2);z.push(a([Q],O))}return O.stroke!==ue&&z.push(K),this._d("curve",z,O)}polygon(i,s){const O=this._o(s),z=[],K=A(i,!0,O);return O.fill&&(O.fillStyle==="solid"?z.push(p([i],O)):z.push(a([i],O))),O.stroke!==ue&&z.push(K),this._d("polygon",z,O)}path(i,s){const O=this._o(s),z=[];if(!i)return this._d("path",z,O);i=(i||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const K=O.fill&&O.fill!=="transparent"&&O.fill!==ue,$=O.stroke!==ue,Q=!!(O.simplification&&O.simplification<1),ae=ge(i,1,Q?4-4*(O.simplification||1):(1+O.roughness)/2),be=n(i,O);if(K)if(O.fillStyle==="solid")if(ae.length===1){const Ce=n(i,Object.assign(Object.assign({},O),{disableMultiStroke:!0,roughness:O.roughness?O.roughness+O.fillShapeRoughnessGain:0}));z.push({type:"fillPath",ops:this._mergedShape(Ce.ops)})}else z.push(p(ae,O));else z.push(a(ae,O));return $&&(Q?ae.forEach(Ce=>{z.push(A(Ce,!1,O))}):z.push(be)),this._d("path",z,O)}opsToPath(i,s){let O="";for(const z of i.ops){const K=typeof s=="number"&&s>=0?z.data.map($=>+$.toFixed(s)):z.data;switch(z.op){case"move":O+=`M${K[0]} ${K[1]} `;break;case"bcurveTo":O+=`C${K[0]} ${K[1]}, ${K[2]} ${K[3]}, ${K[4]} ${K[5]} `;break;case"lineTo":O+=`L${K[0]} ${K[1]} `}}return O.trim()}toPaths(i){const s=i.sets||[],O=i.options||this.defaultOptions,z=[];for(const K of s){let $=null;switch(K.type){case"path":$={d:this.opsToPath(K),stroke:O.stroke,strokeWidth:O.strokeWidth,fill:ue};break;case"fillPath":$={d:this.opsToPath(K),stroke:ue,strokeWidth:0,fill:O.fill||ue};break;case"fillSketch":$=this.fillSketch(K,O)}$&&z.push($)}return z}fillSketch(i,s){let O=s.fillWeight;return O<0&&(O=s.strokeWidth/2),{d:this.opsToPath(i),stroke:s.fill||ue,strokeWidth:O,fill:ue}}_mergedShape(i){return i.filter((s,O)=>O===0||s.op!=="move")}}},8152:function(fe,t,e){function P(){return Math.floor(Math.random()*2147483648)}e.d(t,{W:function(){return P},k:function(){return w}});class w{constructor(v){this.seed=v}next(){return this.seed?(2147483647&(this.seed=Math.imul(48271,this.seed)))/2147483648:Math.random()}}},9845:function(fe,t,e){e.d(t,{Z:function(){return I}});var P=e(8128);class w{constructor(c,f){this.canvas=c,this.ctx=this.canvas.getContext("2d"),this.gen=new P.V(f)}draw(c){const f=c.sets||[],Z=c.options||this.getDefaultOptions(),N=this.ctx,W=c.options.fixedDecimalPlaceDigits;for(const k of f)switch(k.type){case"path":N.save(),N.strokeStyle=Z.stroke==="none"?"transparent":Z.stroke,N.lineWidth=Z.strokeWidth,Z.strokeLineDash&&N.setLineDash(Z.strokeLineDash),Z.strokeLineDashOffset&&(N.lineDashOffset=Z.strokeLineDashOffset),this._drawToContext(N,k,W),N.restore();break;case"fillPath":{N.save(),N.fillStyle=Z.fill||"";const S=c.shape==="curve"||c.shape==="polygon"||c.shape==="path"?"evenodd":"nonzero";this._drawToContext(N,k,W,S),N.restore();break}case"fillSketch":this.fillSketch(N,k,Z)}}fillSketch(c,f,Z){let N=Z.fillWeight;N<0&&(N=Z.strokeWidth/2),c.save(),Z.fillLineDash&&c.setLineDash(Z.fillLineDash),Z.fillLineDashOffset&&(c.lineDashOffset=Z.fillLineDashOffset),c.strokeStyle=Z.fill||"",c.lineWidth=N,this._drawToContext(c,f,Z.fixedDecimalPlaceDigits),c.restore()}_drawToContext(c,f,Z,N="nonzero"){c.beginPath();for(const W of f.ops){const k=typeof Z=="number"&&Z>=0?W.data.map(S=>+S.toFixed(Z)):W.data;switch(W.op){case"move":c.moveTo(k[0],k[1]);break;case"bcurveTo":c.bezierCurveTo(k[0],k[1],k[2],k[3],k[4],k[5]);break;case"lineTo":c.lineTo(k[0],k[1])}}f.type==="fillPath"?c.fill(N):c.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(c,f,Z,N,W){const k=this.gen.line(c,f,Z,N,W);return this.draw(k),k}rectangle(c,f,Z,N,W){const k=this.gen.rectangle(c,f,Z,N,W);return this.draw(k),k}ellipse(c,f,Z,N,W){const k=this.gen.ellipse(c,f,Z,N,W);return this.draw(k),k}circle(c,f,Z,N){const W=this.gen.circle(c,f,Z,N);return this.draw(W),W}linearPath(c,f){const Z=this.gen.linearPath(c,f);return this.draw(Z),Z}polygon(c,f){const Z=this.gen.polygon(c,f);return this.draw(Z),Z}arc(c,f,Z,N,W,k,S=!1,J){const ce=this.gen.arc(c,f,Z,N,W,k,S,J);return this.draw(ce),ce}curve(c,f){const Z=this.gen.curve(c,f);return this.draw(Z),Z}path(c,f){const Z=this.gen.path(c,f);return this.draw(Z),Z}}const m="http://www.w3.org/2000/svg";class v{constructor(c,f){this.svg=c,this.gen=new P.V(f)}draw(c){const f=c.sets||[],Z=c.options||this.getDefaultOptions(),N=this.svg.ownerDocument||window.document,W=N.createElementNS(m,"g"),k=c.options.fixedDecimalPlaceDigits;for(const S of f){let J=null;switch(S.type){case"path":J=N.createElementNS(m,"path"),J.setAttribute("d",this.opsToPath(S,k)),J.setAttribute("stroke",Z.stroke),J.setAttribute("stroke-width",Z.strokeWidth+""),J.setAttribute("fill","none"),Z.strokeLineDash&&J.setAttribute("stroke-dasharray",Z.strokeLineDash.join(" ").trim()),Z.strokeLineDashOffset&&J.setAttribute("stroke-dashoffset",`${Z.strokeLineDashOffset}`);break;case"fillPath":J=N.createElementNS(m,"path"),J.setAttribute("d",this.opsToPath(S,k)),J.setAttribute("stroke","none"),J.setAttribute("stroke-width","0"),J.setAttribute("fill",Z.fill||""),c.shape!=="curve"&&c.shape!=="polygon"||J.setAttribute("fill-rule","evenodd");break;case"fillSketch":J=this.fillSketch(N,S,Z)}J&&W.appendChild(J)}return W}fillSketch(c,f,Z){let N=Z.fillWeight;N<0&&(N=Z.strokeWidth/2);const W=c.createElementNS(m,"path");return W.setAttribute("d",this.opsToPath(f,Z.fixedDecimalPlaceDigits)),W.setAttribute("stroke",Z.fill||""),W.setAttribute("stroke-width",N+""),W.setAttribute("fill","none"),Z.fillLineDash&&W.setAttribute("stroke-dasharray",Z.fillLineDash.join(" ").trim()),Z.fillLineDashOffset&&W.setAttribute("stroke-dashoffset",`${Z.fillLineDashOffset}`),W}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(c,f){return this.gen.opsToPath(c,f)}line(c,f,Z,N,W){const k=this.gen.line(c,f,Z,N,W);return this.draw(k)}rectangle(c,f,Z,N,W){const k=this.gen.rectangle(c,f,Z,N,W);return this.draw(k)}ellipse(c,f,Z,N,W){const k=this.gen.ellipse(c,f,Z,N,W);return this.draw(k)}circle(c,f,Z,N){const W=this.gen.circle(c,f,Z,N);return this.draw(W)}linearPath(c,f){const Z=this.gen.linearPath(c,f);return this.draw(Z)}polygon(c,f){const Z=this.gen.polygon(c,f);return this.draw(Z)}arc(c,f,Z,N,W,k,S=!1,J){const ce=this.gen.arc(c,f,Z,N,W,k,S,J);return this.draw(ce)}curve(c,f){const Z=this.gen.curve(c,f);return this.draw(Z)}path(c,f){const Z=this.gen.path(c,f);return this.draw(Z)}}var I={canvas:(x,c)=>new w(x,c),svg:(x,c)=>new v(x,c),generator:x=>new P.V(x),newSeed:()=>P.V.newSeed()}},5714:function(fe){fe.exports=function(t,e,P){var w=[],m=t.length;if(m===0)return w;var v=e<0?Math.max(0,e+m):e||0;for(P!==void 0&&(m=P<0?P+m:P);m-- >v;)w[m-v]=t[m];return w}},2173:function(fe,t,e){var P=e(9787),w=typeof Object.is=="function"?Object.is:function(Z,N){return Z===N&&(Z!==0||1/Z==1/N)||Z!=Z&&N!=N},m=P.useState,v=P.useEffect,I=P.useLayoutEffect,x=P.useDebugValue;function c(Z){var N=Z.getSnapshot;Z=Z.value;try{var W=N();return!w(Z,W)}catch{return!0}}var f=typeof window>"u"||window.document===void 0||window.document.createElement===void 0?function(Z,N){return N()}:function(Z,N){var W=N(),k=m({inst:{value:W,getSnapshot:N}}),S=k[0].inst,J=k[1];return I(function(){S.value=W,S.getSnapshot=N,c(S)&&J({inst:S})},[Z,W,N]),v(function(){return c(S)&&J({inst:S}),Z(function(){c(S)&&J({inst:S})})},[Z]),x(W),W};t.useSyncExternalStore=P.useSyncExternalStore!==void 0?P.useSyncExternalStore:f},5917:function(fe,t,e){var P=e(9787),w=e(1374),m=typeof Object.is=="function"?Object.is:function(Z,N){return Z===N&&(Z!==0||1/Z==1/N)||Z!=Z&&N!=N},v=w.useSyncExternalStore,I=P.useRef,x=P.useEffect,c=P.useMemo,f=P.useDebugValue;t.useSyncExternalStoreWithSelector=function(Z,N,W,k,S){var J=I(null);if(J.current===null){var ce={hasValue:!1,value:null};J.current=ce}else ce=J.current;J=c(function(){function ve(M){if(!U){if(U=!0,le=M,M=k(M),S!==void 0&&ce.hasValue){var A=ce.value;if(S(A,M))return G=A}return G=M}if(A=G,m(le,M))return A;var b=k(M);return S!==void 0&&S(A,b)?A:(le=M,G=b)}var le,G,U=!1,H=W===void 0?null:W;return[function(){return ve(N())},H===null?void 0:function(){return ve(H())}]},[N,W,k,S]);var he=v(Z,J[0],J[1]);return x(function(){ce.hasValue=!0,ce.value=he},[he]),f(he),he}},1374:function(fe,t,e){fe.exports=e(2173)},5668:function(fe,t,e){fe.exports=e(5917)},940:function(fe,t,e){var P={"./ar-SA.json":[7822,2091],"./az-AZ.json":[9753,4568],"./bg-BG.json":[1203,1628],"./bn-BD.json":[8525,7429],"./ca-ES.json":[510,5130],"./cs-CZ.json":[7605,6265],"./da-DK.json":[2392,1790],"./de-DE.json":[2853,3082],"./el-GR.json":[9876,1513],"./en.json":[1463],"./es-ES.json":[2264,8759],"./eu-ES.json":[5658,8081],"./fa-IR.json":[3747,5330],"./fi-FI.json":[9490,3512],"./fr-FR.json":[7830,3682],"./gl-ES.json":[5199,2943],"./he-IL.json":[1994,2312],"./hi-IN.json":[4646,9828],"./hu-HU.json":[6373,7368],"./id-ID.json":[3247,3808],"./it-IT.json":[3257,6239],"./ja-JP.json":[198,1204],"./kaa.json":[7941,663],"./kab-KAB.json":[228,9551],"./kk-KZ.json":[8972,22],"./km-KH.json":[5845,6566],"./ko-KR.json":[7596,6844],"./ku-TR.json":[2508,3031],"./lt-LT.json":[3755,8340],"./lv-LV.json":[2327,6768],"./mr-IN.json":[5297,3397],"./my-MM.json":[7704,1477],"./nb-NO.json":[1167,2359],"./nl-NL.json":[290,3024],"./nn-NO.json":[4481,3885],"./oc-FR.json":[2284,1690],"./pa-IN.json":[6773,3162],"./percentages.json":[4451],"./pl-PL.json":[3661,3674],"./pt-BR.json":[8881,3721],"./pt-PT.json":[125,5395],"./ro-RO.json":[2013,5089],"./ru-RU.json":[2253,8124],"./si-LK.json":[5497,1302],"./sk-SK.json":[4570,8750],"./sl-SI.json":[1984,6071],"./sv-SE.json":[976,8534],"./ta-IN.json":[3952,2404],"./th-TH.json":[2596,537],"./tr-TR.json":[7315,4977],"./uk-UA.json":[3458,7759],"./vi-VN.json":[456,4e3],"./zh-CN.json":[1037,4680],"./zh-HK.json":[5334,7920],"./zh-TW.json":[931,3421]};function w(m){if(!e.o(P,m))return Promise.resolve().then(function(){var x=new Error("Cannot find module '"+m+"'");throw x.code="MODULE_NOT_FOUND",x});var v=P[m],I=v[0];return Promise.all(v.slice(1).map(e.e)).then(function(){return e.t(I,19)})}w.keys=function(){return Object.keys(P)},w.id=940,fe.exports=w},9713:function(fe){fe.exports=function(t,e,P){return e in t?Object.defineProperty(t,e,{value:P,enumerable:!0,configurable:!0,writable:!0}):t[e]=P,t}},6479:function(fe,t,e){var P=e(7316);fe.exports=function(w,m){if(w==null)return{};var v,I,x=P(w,m);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(w);for(I=0;I<c.length;I++)v=c[I],m.indexOf(v)>=0||Object.prototype.propertyIsEnumerable.call(w,v)&&(x[v]=w[v])}return x}},7316:function(fe){fe.exports=function(t,e){if(t==null)return{};var P,w,m={},v=Object.keys(t);for(w=0;w<v.length;w++)P=v[w],e.indexOf(P)>=0||(m[P]=t[P]);return m}},4295:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m),I=e(1667),x=e.n(I),c=new URL(e(3940),e.b),f=new URL(e(3147),e.b),Z=new URL(e(8303),e.b),N=new URL(e(1273),e.b),W=new URL(e(9577),e.b),k=new URL(e(9729),e.b),S=v()(w()),J=x()(c),ce=x()(f),he=x()(Z),ve=x()(N),le=x()(W),G=x()(k);S.push([fe.id,'@font-face{font-family:"Virgil";src:url('+J+');font-display:swap}@font-face{font-family:"Cascadia";src:url('+ce+');font-display:swap}@font-face{font-family:"Assistant";src:url('+he+');font-display:swap;font-weight:400}@font-face{font-family:"Assistant";src:url('+ve+');font-display:swap;font-weight:500}@font-face{font-family:"Assistant";src:url('+le+');font-display:swap;font-weight:600}@font-face{font-family:"Assistant";src:url('+G+");font-display:swap;font-weight:700}",""]),t.Z=S},6086:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".zoom-actions,.undo-redo-buttons{background-color:var(--island-bg-color);border-radius:var(--border-radius-lg);box-shadow:0 0 0 1px var(--color-surface-lowest)}.zoom-button,.undo-redo-buttons button{border-radius:0 !important;background-color:var(--color-surface-low) !important;font-size:.875rem !important;width:var(--lg-button-size);height:var(--lg-button-size)}.zoom-button svg,.undo-redo-buttons button svg{width:var(--lg-icon-size) !important;height:var(--lg-icon-size) !important}.zoom-button .ToolIcon__icon,.undo-redo-buttons button .ToolIcon__icon{width:100%;height:100%}.reset-zoom-button{border-left:0 !important;border-right:0 !important;padding:0 .625rem !important;width:3.75rem !important;justify-content:center;color:var(--text-primary-color)}.zoom-out-button{border-top-left-radius:var(--border-radius-lg) !important;border-bottom-left-radius:var(--border-radius-lg) !important}:root[dir=rtl] .zoom-out-button{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.zoom-out-button .ToolIcon__icon{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.zoom-in-button{border-top-right-radius:var(--border-radius-lg) !important;border-bottom-right-radius:var(--border-radius-lg) !important}:root[dir=rtl] .zoom-in-button{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.zoom-in-button .ToolIcon__icon{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.undo-redo-buttons .undo-button-container button{border-top-left-radius:var(--border-radius-lg) !important;border-bottom-left-radius:var(--border-radius-lg) !important;border-right:0 !important}:root[dir=rtl] .undo-redo-buttons .undo-button-container button{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.undo-redo-buttons .undo-button-container button .ToolIcon__icon{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.undo-redo-buttons .redo-button-container button{border-top-right-radius:var(--border-radius-lg) !important;border-bottom-right-radius:var(--border-radius-lg) !important}:root[dir=rtl] .undo-redo-buttons .redo-button-container button{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.undo-redo-buttons .redo-button-container button .ToolIcon__icon{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}",""]),t.Z=v},3729:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Avatar{width:1.25rem;height:1.25rem;position:relative;border-radius:100%;outline-offset:2px;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:.75rem;font-weight:800;line-height:1}.excalidraw .Avatar-img{width:100%;height:100%;border-radius:100%}.excalidraw .Avatar::before{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:1px solid var(--avatar-border-color);border-radius:100%}',""]),t.Z=v},3137:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m),I=e(1667),x=e.n(I),c=new URL(e(7984),e.b),f=new URL(e(1639),e.b),Z=v()(w()),N=x()(c),W=x()(f);Z.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--theme-filter: none;--button-destructive-bg-color: #ffe3e3;--button-destructive-color: #c92a2a;--button-gray-1: #e9ecef;--button-gray-2: #ced4da;--button-gray-3: #adb5bd;--button-special-active-bg-color: #ebfbee;--dialog-border-color: var(--color-gray-20);--dropdown-icon: url("+N+");--focus-highlight-color: #a5d8ff;--icon-fill-color: var(--color-on-surface);--icon-green-fill-color: #2b8a3e;--default-bg-color: #ffffff;--input-bg-color: #ffffff;--input-border-color: #ced4da;--input-hover-bg-color: #f1f3f5;--input-label-color: #495057;--island-bg-color: #ffffff;--keybinding-color: var(--color-gray-40);--link-color: #1c7ed6;--overlay-bg-color: rgba(255, 255, 255, 0.88);--popup-bg-color: var(--island-bg-color);--popup-secondary-bg-color: #f1f3f5;--popup-text-color: #000000;--popup-text-inverted-color: #ffffff;--select-highlight-color: #339af0;--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17), 0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);--button-hover-bg: var(--color-surface-high);--button-active-bg: var(--color-surface-high);--button-active-border: var(--color-brand-active);--default-border-color: var(--color-surface-high);--default-button-size: 2rem;--default-icon-size: 1rem;--lg-button-size: 2.25rem;--lg-icon-size: 1rem;--editor-container-padding: 1rem;--scrollbar-thumb: var(--button-gray-2);--scrollbar-thumb-hover: var(--button-gray-3);--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--avatar-border-color: var(--color-gray-20);--sidebar-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--sidebar-border-color: var(--color-surface-high);--sidebar-bg-color: var(--island-bg-color);--library-dropdown-shadow: 0px 15px 6px rgba(0, 0, 0, 0.01), 0px 8px 5px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.09), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);--space-factor: 0.25rem;--text-primary-color: var(--color-on-surface);--color-selection: #6965db;--color-icon-white: #ffffff;--color-primary: #6965db;--color-primary-darker: #5b57d1;--color-primary-darkest: #4a47b1;--color-primary-light: #e3e2fe;--color-primary-light-darker: #d7d5ff;--color-gray-10: #f5f5f5;--color-gray-20: #ebebeb;--color-gray-30: #d6d6d6;--color-gray-40: #b8b8b8;--color-gray-50: #999999;--color-gray-60: #7a7a7a;--color-gray-70: #5c5c5c;--color-gray-80: #3d3d3d;--color-gray-85: #242424;--color-gray-90: #1e1e1e;--color-gray-100: #121212;--color-warning: #fceeca;--color-warning-dark: #f5c354;--color-warning-darker: #f3ab2c;--color-warning-darkest: #ec8b14;--color-text-warning: var(--text-primary-color);--color-danger: #db6965;--color-danger-dark: #db6965;--color-danger-darker: #d65550;--color-danger-darkest: #d1413c;--color-danger-text: black;--color-danger-background: #fff0f0;--color-danger-icon-background: #ffdad6;--color-danger-color: #700000;--color-danger-icon-color: #700000;--color-warning-background: var(--color-warning);--color-warning-icon-background: var(--color-warning-dark);--color-warning-color: var(--text-primary-color);--color-warning-icon-color: var(--text-primary-color);--color-muted: var(--color-gray-30);--color-muted-darker: var(--color-gray-60);--color-muted-darkest: var(--color-gray-100);--color-muted-background: var(--color-gray-80);--color-muted-background-darker: var(--color-gray-100);--color-promo: #e70078;--color-success: #268029;--color-success-lighter: #cafccc;--color-logo-icon: var(--color-primary);--color-logo-text: #190064;--border-radius-md: 0.375rem;--border-radius-lg: 0.5rem;--color-surface-high: hsl(244, 100%, 97%);--color-surface-mid: hsl(240 25% 96%);--color-surface-low: hsl(240 25% 94%);--color-surface-lowest: #ffffff;--color-on-surface: #1b1b1f;--color-brand-hover: #5753d0;--color-on-primary-container: #030064;--color-surface-primary-container: #e0dfff;--color-brand-active: #4440bf;--color-border-outline: #767680;--color-border-outline-variant: #c5c5d0;--color-surface-primary-container: #e0dfff}@media screen and (min-device-width: 1921px){.excalidraw{--lg-button-size: 2.5rem;--lg-icon-size: 1.25rem;--default-button-size: 2.25rem;--default-icon-size: 1.25rem}}.excalidraw.theme--dark.theme--dark-background-none{background:none}.excalidraw.theme--dark{--theme-filter: invert(93%) hue-rotate(180deg);--button-destructive-bg-color: #5a0000;--button-destructive-color: #ffa8a8;--button-gray-1: #363636;--button-gray-2: #272727;--button-gray-3: #222;--button-special-active-bg-color: #204624;--dialog-border-color: var(--color-gray-80);--dropdown-icon: url("+W+");--focus-highlight-color: #228be6;--icon-green-fill-color: #69db7c;--default-bg-color: #121212;--input-bg-color: #121212;--input-border-color: #2e2e2e;--input-hover-bg-color: #181818;--input-label-color: #e9ecef;--island-bg-color: #232329;--keybinding-color: var(--color-gray-60);--link-color: #4dabf7;--overlay-bg-color: rgba(52, 58, 64, 0.12);--popup-secondary-bg-color: #222;--popup-text-color: #ced4da;--popup-text-inverted-color: #2c2c2c;--select-highlight-color: #4dabf7;--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17), 0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--avatar-border-color: var(--color-gray-85);--scrollbar-thumb: #343a40;--scrollbar-thumb-hover: #495057;--color-selection: #3530c4;--color-icon-white: var(--color-gray-90);--color-primary: #a8a5ff;--color-primary-darker: #b2aeff;--color-primary-darkest: #beb9ff;--color-primary-light: #4f4d6f;--color-primary-light-darker: #43415e;--color-text-warning: var(--color-gray-80);--color-danger: #ffa8a5;--color-danger-dark: #672120;--color-danger-darker: #8f2625;--color-danger-darkest: #ac2b29;--color-danger-text: #fbcbcc;--color-danger-background: #fbcbcc;--color-danger-icon-background: #672120;--color-danger-color: #261919;--color-danger-icon-color: #fbcbcc;--color-warning-background: var(--color-warning);--color-warning-icon-background: var(--color-warning-dark);--color-warning-color: var(--color-gray-80);--color-warning-icon-color: var(--color-gray-80);--color-muted: var(--color-gray-80);--color-muted-darker: var(--color-gray-60);--color-muted-darkest: var(--color-gray-20);--color-muted-background: var(--color-gray-40);--color-muted-background-darker: var(--color-gray-20);--color-promo: #d297ff;--color-logo-text: #e2dfff;--color-surface-high: hsl(245, 10%, 21%);--color-surface-low: hsl(240, 8%, 15%);--color-surface-mid: hsl(240 6% 10%);--color-surface-lowest: hsl(0, 0%, 7%);--color-on-surface: #e3e3e8;--color-brand-hover: #bbb8ff;--color-on-primary-container: #e0dfff;--color-surface-primary-container: #403e6a;--color-brand-active: #d0ccff;--color-border-outline: #8e8d9c;--color-border-outline-variant: #46464f;--color-surface-primary-container: #403e6a}.excalidraw .excalidraw-button{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface))}.excalidraw .excalidraw-button svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .excalidraw-button:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .excalidraw-button:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .excalidraw-button.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .excalidraw-button.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .excalidraw-button.active svg{color:var(--button-color, var(--color-on-primary-container))}",""]),t.Z=Z},4241:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Card{display:flex;flex-direction:column;align-items:center;max-width:290px;margin:1em;text-align:center}.excalidraw .Card .Card-icon{font-size:2.6em;display:flex;flex:0 0 auto;padding:1.4rem;border-radius:50%;background:var(--card-color);color:#fff}.excalidraw .Card .Card-icon svg{width:2.8rem;height:2.8rem}.excalidraw .Card .Card-details{font-size:.96em;min-height:90px;padding:0 1em;margin-bottom:auto}.excalidraw .Card .Card-button.ToolIcon_type_button{height:2.5rem;margin-top:1em;margin-bottom:.3em;background-color:var(--card-color)}.excalidraw .Card .Card-button.ToolIcon_type_button:hover{background-color:var(--card-color-darker)}.excalidraw .Card .Card-button.ToolIcon_type_button:active{background-color:var(--card-color-darkest)}.excalidraw .Card .Card-button.ToolIcon_type_button .ToolIcon__label{color:#fff}.excalidraw .Card .Card-button.ToolIcon_type_button .Spinner{--spinner-color: #fff}",""]),t.Z=v},6029:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Checkbox{margin:4px .3em;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.excalidraw .Checkbox:hover:not(.is-checked) .Checkbox-box:not(:focus){box-shadow:0 0 0 2px #4dabf7}.excalidraw .Checkbox:hover:not(.is-checked) .Checkbox-box:not(:focus) svg{display:block;opacity:.3}.excalidraw .Checkbox:active .Checkbox-box{box-shadow:0 0 2px 1px inset #1c7ed6 !important}.excalidraw .Checkbox:hover .Checkbox-box{background-color:rgba(208,235,255,.2)}.excalidraw .Checkbox.is-checked .Checkbox-box{background-color:#d0ebff}.excalidraw .Checkbox.is-checked .Checkbox-box svg{display:block}.excalidraw .Checkbox.is-checked:hover .Checkbox-box{background-color:#a5d8ff}.excalidraw .Checkbox .Checkbox-box{width:22px;height:22px;padding:0;flex:0 0 auto;margin:0 1em;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #1c7ed6;background-color:rgba(0,0,0,0);border-radius:4px;color:#1c7ed6;border:0}.excalidraw .Checkbox .Checkbox-box:focus{box-shadow:0 0 0 3px #1c7ed6}.excalidraw .Checkbox .Checkbox-box svg{display:none;width:16px;height:16px;stroke-width:3px}.excalidraw .Checkbox .Checkbox-label{display:flex;align-items:center}.excalidraw .Checkbox .excalidraw-tooltip-icon{width:1em;height:1em}",""]),t.Z=v},4269:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m),I=e(1667),x=e.n(I),c=new URL(e(9669),e.b),f=v()(w()),Z=x()(c);f.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .focus-visible-none:focus-visible{outline:none !important}.excalidraw .color-picker__heading{padding:0 .5rem;font-size:.75rem;text-align:left}.excalidraw .color-picker-container{display:grid;grid-template-columns:1fr 20px 1.625rem;padding:.25rem 0px;align-items:center}.excalidraw--mobile.excalidraw .color-picker-container{max-width:175px}.excalidraw .color-picker__top-picks{display:flex;justify-content:space-between}.excalidraw .color-picker__button{--radius: 0.25rem;padding:0;margin:0;width:1.35rem;height:1.35rem;border:1px solid var(--color-gray-30);border-radius:var(--radius);-webkit-filter:var(--theme-filter);filter:var(--theme-filter);background-color:var(--swatch-color);background-position:left center;position:relative;font-family:inherit;box-sizing:border-box}.excalidraw .color-picker__button:hover::after{content:"";position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;box-shadow:0 0 0 1px var(--color-gray-30);border-radius:calc(var(--radius) + 1px);-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .color-picker__button.active .color-picker__button-outline{position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;box-shadow:0 0 0 1px var(--color-primary-darkest);z-index:1;border-radius:calc(var(--radius) + 1px);-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .color-picker__button:focus-visible{outline:none}.excalidraw .color-picker__button:focus-visible::after{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border:3px solid var(--focus-highlight-color);border-radius:calc(var(--radius) + 1px)}.excalidraw .color-picker__button:focus-visible.active .color-picker__button-outline{display:none}.excalidraw .color-picker__button--large{--radius: 0.5rem;width:1.875rem;height:1.875rem}.excalidraw .color-picker__button.is-transparent{background-image:url('+Z+")}.excalidraw .color-picker__button--no-focus-visible{border:0}.excalidraw .color-picker__button--no-focus-visible::after{display:none}.excalidraw .color-picker__button--no-focus-visible:focus-visible{outline:none !important}.excalidraw .color-picker__button.active-color{border-radius:calc(var(--radius) + 1px);width:1.625rem;height:1.625rem}.excalidraw .color-picker__button__hotkey-label{position:absolute;right:4px;bottom:4px;-webkit-filter:none;filter:none;font-size:11px}.excalidraw .color-picker{background:var(--popup-bg-color);border:0 solid rgba(255,255,255,.25);box-shadow:rgba(0,0,0,.25) 0 1px 4px;border-radius:4px;position:absolute}:root[dir=ltr] .excalidraw .color-picker{left:-5.5px}:root[dir=rtl] .excalidraw .color-picker{right:-5.5px}.excalidraw .color-picker-control-container{display:grid;grid-template-columns:auto 1fr;align-items:center;-webkit-column-gap:.5rem;column-gap:.5rem}.excalidraw .color-picker-control-container+.popover{position:static}.excalidraw .color-picker-popover-container{margin-top:-0.25rem}:root[dir=ltr] .excalidraw .color-picker-popover-container{margin-left:.5rem}:root[dir=rtl] .excalidraw .color-picker-popover-container{margin-left:-3rem}.excalidraw .color-picker-triangle{width:0;height:0;border-style:solid;border-width:0 9px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) var(--popup-bg-color);position:absolute;top:10px}:root[dir=ltr] .excalidraw .color-picker-triangle{-webkit-transform:rotate(270deg);transform:rotate(270deg);left:-14px}:root[dir=rtl] .excalidraw .color-picker-triangle{-webkit-transform:rotate(90deg);transform:rotate(90deg);right:-14px}.excalidraw .color-picker-triangle-shadow{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.1)}:root[dir=ltr] .excalidraw .color-picker-triangle-shadow{left:-14px}:root[dir=rtl] .excalidraw .color-picker-triangle-shadow{right:-16px}.excalidraw .color-picker-content{display:flex;flex-direction:column;gap:.75rem;outline:none}.excalidraw .color-picker-content--default{padding:.5rem;display:grid;grid-template-columns:repeat(5, 1.875rem);grid-gap:.25rem;border-radius:4px}.excalidraw .color-picker-content--default:focus{outline:none;box-shadow:0 0 0 2px var(--focus-highlight-color)}.excalidraw .color-picker-content--canvas{display:flex;flex-direction:column;padding:.25rem}.excalidraw .color-picker-content--canvas-title{color:#868e96;font-size:12px;padding:0 .25rem}.excalidraw .color-picker-content--canvas-colors{padding:.5rem 0}.excalidraw .color-picker-content--canvas-colors .color-picker-swatch{margin:0 .25rem}.excalidraw .color-picker-content .color-input-container{grid-column:1/span 5}.excalidraw .color-picker-swatch{position:relative;height:1.875rem;width:1.875rem;cursor:pointer;border-radius:4px;margin:0;box-sizing:border-box;border:1px solid #ddd;background-color:currentColor !important;-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .color-picker-swatch:focus{box-shadow:0 0 4px 1px currentColor;border-color:var(--select-highlight-color)}.excalidraw .color-picker-transparent{border-radius:4px;box-shadow:rgba(0,0,0,.1) 0 0 0 1px inset;position:absolute;top:0;right:0;bottom:0;left:0}.excalidraw .color-picker-transparent,.excalidraw .color-picker-label-swatch{background:url("+Z+') left center}.excalidraw .color-picker-hash{height:var(--default-button-size);flex-shrink:0;padding:.5rem .5rem .5rem .75rem;border:1px solid var(--default-border-color);border-right:0;box-sizing:border-box;color:var(--input-label-color);display:flex;align-items:center;justify-content:center;position:relative}:root[dir=ltr] .excalidraw .color-picker-hash{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg)}:root[dir=rtl] .excalidraw .color-picker-hash{border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0;border-right:1px solid var(--default-border-color);border-left:0}.excalidraw .color-input-container{display:flex}.excalidraw .color-input-container:focus-within{box-shadow:0 0 0 1px var(--color-primary-darkest);border-radius:var(--border-radius-lg)}.excalidraw .color-picker__input-label{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center;border:1px solid var(--default-border-color);border-radius:8px;padding:0 12px;margin:8px;box-sizing:border-box}.excalidraw .color-picker__input-label:focus-within{box-shadow:0 0 0 1px var(--color-primary-darkest);border-radius:var(--border-radius-lg)}.excalidraw .color-picker__input-hash{padding:0 .25rem}.excalidraw .color-picker-input{box-sizing:border-box;width:100%;margin:0;font-size:.875rem;font-family:inherit;background-color:rgba(0,0,0,0);color:var(--text-primary-color);border:0;outline:none;height:var(--default-button-size);border:1px solid var(--default-border-color);border-left:0;letter-spacing:.4px;padding:.5rem;padding-left:.25rem;-webkit-appearance:none;appearance:none}:root[dir=ltr] .excalidraw .color-picker-input{border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0}:root[dir=rtl] .excalidraw .color-picker-input{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);border-left:1px solid var(--default-border-color);border-right:0}.excalidraw .color-picker-input:focus-visible{box-shadow:none}.excalidraw .color-picker-label-swatch-container{border:1px solid var(--default-border-color);border-radius:var(--border-radius-lg);width:var(--default-button-size);height:var(--default-button-size);box-sizing:border-box;overflow:hidden}.excalidraw .color-picker-label-swatch{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));background-color:var(--swatch-color) !important;overflow:hidden;position:relative;-webkit-filter:var(--theme-filter);filter:var(--theme-filter);border:0 !important}.excalidraw .color-picker-label-swatch svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .color-picker-label-swatch:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .color-picker-label-swatch:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .color-picker-label-swatch.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .color-picker-label-swatch.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .color-picker-label-swatch.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .color-picker-label-swatch:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--swatch-color)}.excalidraw .color-picker-keybinding{position:absolute;bottom:2px;font-size:.7em}:root[dir=ltr] .excalidraw .color-picker-keybinding{right:2px}:root[dir=rtl] .excalidraw .color-picker-keybinding{left:2px}.excalidraw--mobile.excalidraw .color-picker-keybinding{display:none}.excalidraw .color-picker-type-canvasBackground .color-picker-keybinding{color:#aaa}.excalidraw .color-picker-type-elementBackground .color-picker-keybinding{color:#fff}.excalidraw .color-picker-swatch[aria-label=transparent] .color-picker-keybinding{color:#aaa}.excalidraw .color-picker-type-elementStroke .color-picker-keybinding{color:#d4d4d4}.excalidraw.theme--dark .color-picker-type-elementBackground .color-picker-keybinding{color:#000}.excalidraw.theme--dark .color-picker-swatch[aria-label=transparent] .color-picker-keybinding{color:#000}',""]),t.Z=f},9393:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .confirm-dialog-buttons{display:flex;-webkit-column-gap:.5rem;column-gap:.5rem;justify-content:flex-end}",""]),t.Z=v},6578:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .context-menu{position:relative;border-radius:4px;box-shadow:0 3px 10px rgba(0,0,0,.2);padding:0;list-style:none;-webkit-user-select:none;user-select:none;margin:-0.25rem 0 0 .125rem;padding:.5rem 0;background-color:var(--popup-secondary-bg-color);border:1px solid var(--button-gray-3);cursor:default}.excalidraw .context-menu button{color:var(--popup-text-color)}.excalidraw .context-menu-item{position:relative;width:100%;min-width:9.5rem;margin:0;padding:.25rem 1rem .25rem 1.25rem;text-align:start;border-radius:0;background-color:rgba(0,0,0,0);border:none;white-space:nowrap;font-family:inherit;display:grid;grid-template-columns:1fr .2fr;align-items:center}.excalidraw .context-menu-item.checkmark::before{position:absolute;left:6px;margin-bottom:1px;content:"✓"}.excalidraw .context-menu-item.dangerous .context-menu-item__label{color:#f03e3e}.excalidraw .context-menu-item .context-menu-item__label{justify-self:start;-webkit-margin-end:20px;margin-inline-end:20px}.excalidraw .context-menu-item .context-menu-item__shortcut{justify-self:end;opacity:.6;font-family:inherit;font-size:.7rem}.excalidraw .context-menu-item:hover{color:var(--popup-bg-color);background-color:var(--select-highlight-color)}.excalidraw .context-menu-item:hover.dangerous{background-color:#fa5252}.excalidraw .context-menu-item:hover.dangerous .context-menu-item__label{color:var(--popup-bg-color)}.excalidraw .context-menu-item:focus{z-index:1}.excalidraw--mobile.excalidraw .context-menu-item{display:block}.excalidraw--mobile.excalidraw .context-menu-item .context-menu-item__label{-webkit-margin-end:0;margin-inline-end:0}.excalidraw--mobile.excalidraw .context-menu-item .context-menu-item__shortcut{display:none}.excalidraw .context-menu-item-separator{border:none;border-top:1px solid #adb5bd}',""]),t.Z=v},9482:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Dialog{-webkit-user-select:text;user-select:text;cursor:auto}.excalidraw .Dialog__title{margin:0;text-align:left;font-size:1.25rem;border-bottom:1px solid var(--dialog-border-color);padding:0 0 .75rem;margin-bottom:1.5rem}.excalidraw .Dialog__close{color:var(--color-gray-40);margin:0;position:absolute;top:.75rem;right:.5rem;border:0;background-color:rgba(0,0,0,0);line-height:0;cursor:pointer}.excalidraw .Dialog__close:hover{color:var(--color-gray-60)}.excalidraw .Dialog__close:active{color:var(--color-gray-40)}.excalidraw .Dialog__close svg{width:1.5rem;height:1.5rem}.excalidraw .Dialog--fullscreen .Dialog__close{top:1.25rem;right:1.25rem}",""]),t.Z=v},6148:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .Dialog__action-button{position:relative;display:flex;-webkit-column-gap:.5rem;column-gap:.5rem;align-items:center;padding:.5rem 1.5rem;border:1px solid var(--default-border-color);background-color:rgba(0,0,0,0);height:3rem;border-radius:var(--border-radius-lg);letter-spacing:.4px;color:inherit;font-family:inherit;font-size:.875rem;font-weight:600;-webkit-user-select:none;user-select:none}.excalidraw .Dialog__action-button svg{display:block;width:1rem;height:1rem}.excalidraw .Dialog__action-button--danger{background-color:var(--color-danger);border-color:var(--color-danger);color:#fff}.excalidraw .Dialog__action-button--primary{background-color:var(--color-primary);border-color:var(--color-primary);color:#fff}.excalidraw.theme--dark .Dialog__action-button--danger{color:var(--color-gray-100)}.excalidraw.theme--dark .Dialog__action-button--primary{color:var(--color-gray-100)}",""]),t.Z=v},5744:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .ExcalidrawLogo{--logo-icon--xs: 2rem;--logo-text--xs: 1.5rem;--logo-icon--small: 2.5rem;--logo-text--small: 1.75rem;--logo-icon--normal: 3rem;--logo-text--normal: 2.2rem;--logo-icon--large: 90px;--logo-text--large: 65px;display:flex;align-items:center}.excalidraw .ExcalidrawLogo svg{flex:0 0 auto}.excalidraw .ExcalidrawLogo .ExcalidrawLogo-icon{width:auto;color:var(--color-logo-icon)}.excalidraw .ExcalidrawLogo .ExcalidrawLogo-text{margin-left:.75rem;width:auto;color:var(--color-logo-text)}.excalidraw .ExcalidrawLogo.is-xs .ExcalidrawLogo-icon{height:var(--logo-icon--xs)}.excalidraw .ExcalidrawLogo.is-xs .ExcalidrawLogo-text{height:var(--logo-text--xs)}.excalidraw .ExcalidrawLogo.is-small .ExcalidrawLogo-icon{height:var(--logo-icon--small)}.excalidraw .ExcalidrawLogo.is-small .ExcalidrawLogo-text{height:var(--logo-text--small)}.excalidraw .ExcalidrawLogo.is-normal .ExcalidrawLogo-icon{height:var(--logo-icon--normal)}.excalidraw .ExcalidrawLogo.is-normal .ExcalidrawLogo-text{height:var(--logo-text--normal)}.excalidraw .ExcalidrawLogo.is-large .ExcalidrawLogo-icon{height:var(--logo-icon--large)}.excalidraw .ExcalidrawLogo.is-large .ExcalidrawLogo-text{height:var(--logo-text--large)}",""]),t.Z=v},7955:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m),I=e(1667),x=e.n(I),c=new URL(e(9669),e.b),f=v()(w()),Z=x()(c);f.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .ExportDialog__preview{--preview-padding: calc(var(--space-factor) * 4);background:url("+Z+") left center;text-align:center;padding:var(--preview-padding);margin-bottom:calc(var(--space-factor)*3);display:flex;justify-content:center;align-items:center}.excalidraw .ExportDialog__preview canvas{max-width:calc(100% - var(--preview-padding)*2);max-height:25rem}.excalidraw.theme--dark .ExportDialog__preview canvas{-webkit-filter:none;filter:none}.excalidraw .ExportDialog__actions{width:100%;display:flex;grid-gap:calc(var(--space-factor)*2);align-items:top;justify-content:space-between}.excalidraw--mobile.excalidraw .ExportDialog{display:flex;flex-direction:column}.excalidraw--mobile.excalidraw .ExportDialog__actions{flex-direction:column;align-items:center}.excalidraw--mobile.excalidraw .ExportDialog__actions>*{margin-bottom:calc(var(--space-factor)*3)}.excalidraw--mobile.excalidraw .ExportDialog__preview canvas{max-height:30vh}.excalidraw--mobile.excalidraw .ExportDialog__dialog,.excalidraw--mobile.excalidraw .ExportDialog__dialog .Island{height:100%;box-sizing:border-box}.excalidraw--mobile.excalidraw .ExportDialog__dialog .Island{overflow-y:auto}.excalidraw .ExportDialog--json .ExportDialog-cards{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));justify-items:center;row-gap:2em}@media(max-width: 460px){.excalidraw .ExportDialog--json .ExportDialog-cards{grid-template-columns:repeat(auto-fit, minmax(240px, 1fr))}.excalidraw .ExportDialog--json .ExportDialog-cards .Card-details{min-height:40px}}.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:1em auto;align-items:flex-start;flex-direction:column}.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName .TextInput{width:auto}.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName-label{margin:.625em 0;font-weight:bold}.excalidraw button.ExportDialog-imageExportButton{border:0;width:5rem;height:5rem;margin:0 .2em;padding:0;display:flex;align-items:center;justify-content:center;border-radius:1rem;background-color:var(--button-color);box-shadow:0 3px 5px -1px rgba(0,0,0,.28),0 6px 10px 0 rgba(0,0,0,.14);font-family:Cascadia;font-size:1.8em;color:#fff}.excalidraw button.ExportDialog-imageExportButton:hover{background-color:var(--button-color-darker)}.excalidraw button.ExportDialog-imageExportButton:active{background-color:var(--button-color-darkest);box-shadow:none}.excalidraw button.ExportDialog-imageExportButton svg{width:.9em}",""]),t.Z=f},7522:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .excalidraw-eye-dropper-container,.excalidraw .excalidraw-eye-dropper-backdrop{position:absolute;width:100%;height:100%;z-index:var(--zIndex-eyeDropperBackdrop);touch-action:none}.excalidraw .excalidraw-eye-dropper-container{pointer-events:none}.excalidraw .excalidraw-eye-dropper-backdrop{pointer-events:all}.excalidraw .excalidraw-eye-dropper-preview{pointer-events:none;width:3rem;height:3rem;position:fixed;z-index:var(--zIndex-eyeDropperPreview);border-radius:1rem;border:1px solid var(--default-border-color);-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .excalidraw-eye-dropper-trigger{width:1.25rem;height:1.25rem;cursor:pointer;padding:4px;margin-right:-4px;margin-left:-2px;border-radius:.5rem;color:var(--icon-fill-color)}.excalidraw .excalidraw-eye-dropper-trigger:hover{background:var(--button-hover-bg)}.excalidraw .excalidraw-eye-dropper-trigger.selected{color:var(--color-primary);background:var(--color-primary-light)}",""]),t.Z=v},8960:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .ExcButton{--text-color: transparent;--border-color: transparent;--back-color: transparent;color:var(--text-color);background-color:var(--back-color);border-color:var(--border-color);display:flex;justify-content:center;align-items:center;flex-shrink:0;flex-wrap:nowrap;border-radius:.5rem;border-width:1px;border-style:solid;font-family:"Assistant";-webkit-user-select:none;user-select:none;transition:all 150ms ease-out}.excalidraw .ExcButton--color-primary.ExcButton--variant-filled{--text-color: var(--color-surface-lowest);--back-color: var(--color-primary)}.excalidraw .ExcButton--color-primary.ExcButton--variant-filled:hover{--back-color: var(--color-brand-hover)}.excalidraw .ExcButton--color-primary.ExcButton--variant-filled:active{--back-color: var(--color-brand-active)}.excalidraw .ExcButton--color-primary.ExcButton--variant-outlined,.excalidraw .ExcButton--color-primary.ExcButton--variant-icon{--text-color: var(--color-primary);--border-color: var(--color-border-outline);--back-color: transparent}.excalidraw .ExcButton--color-primary.ExcButton--variant-outlined:hover,.excalidraw .ExcButton--color-primary.ExcButton--variant-icon:hover{--text-color: var(--color-brand-hover);--border-color: var(--color-brand-hover)}.excalidraw .ExcButton--color-primary.ExcButton--variant-outlined:active,.excalidraw .ExcButton--color-primary.ExcButton--variant-icon:active{--text-color: var(--color-brand-active);--border-color: var(--color-brand-active)}.excalidraw .ExcButton--color-danger.ExcButton--variant-filled{--text-color: var(--color-danger-text);--back-color: var(--color-danger-dark)}.excalidraw .ExcButton--color-danger.ExcButton--variant-filled:hover{--back-color: var(--color-danger-darker)}.excalidraw .ExcButton--color-danger.ExcButton--variant-filled:active{--back-color: var(--color-danger-darkest)}.excalidraw .ExcButton--color-danger.ExcButton--variant-outlined,.excalidraw .ExcButton--color-danger.ExcButton--variant-icon{--text-color: var(--color-danger);--border-color: var(--color-danger);--back-color: transparent}.excalidraw .ExcButton--color-danger.ExcButton--variant-outlined:hover,.excalidraw .ExcButton--color-danger.ExcButton--variant-icon:hover{--text-color: var(--color-danger-darkest);--border-color: var(--color-danger-darkest)}.excalidraw .ExcButton--color-danger.ExcButton--variant-outlined:active,.excalidraw .ExcButton--color-danger.ExcButton--variant-icon:active{--text-color: var(--color-danger-darker);--border-color: var(--color-danger-darker)}.excalidraw .ExcButton--color-muted.ExcButton--variant-filled{--text-color: var(--island-bg-color);--back-color: var(--color-gray-50)}.excalidraw .ExcButton--color-muted.ExcButton--variant-filled:hover{--back-color: var(--color-gray-60)}.excalidraw .ExcButton--color-muted.ExcButton--variant-filled:active{--back-color: var(--color-gray-80)}.excalidraw .ExcButton--color-muted.ExcButton--variant-outlined,.excalidraw .ExcButton--color-muted.ExcButton--variant-icon{--text-color: var(--color-muted-background);--border-color: var(--color-muted);--back-color: var(--island-bg-color)}.excalidraw .ExcButton--color-muted.ExcButton--variant-outlined:hover,.excalidraw .ExcButton--color-muted.ExcButton--variant-icon:hover{--text-color: var(--color-muted-background-darker);--border-color: var(--color-muted-darker)}.excalidraw .ExcButton--color-muted.ExcButton--variant-outlined:active,.excalidraw .ExcButton--color-muted.ExcButton--variant-icon:active{--text-color: var(--color-muted-background-darker);--border-color: var(--color-muted-darkest)}.excalidraw .ExcButton--color-warning.ExcButton--variant-filled{--text-color: black;--back-color: var(--color-warning-dark)}.excalidraw .ExcButton--color-warning.ExcButton--variant-filled:hover{--back-color: var(--color-warning-darker)}.excalidraw .ExcButton--color-warning.ExcButton--variant-filled:active{--back-color: var(--color-warning-darkest)}.excalidraw .ExcButton--color-warning.ExcButton--variant-outlined,.excalidraw .ExcButton--color-warning.ExcButton--variant-icon{--text-color: var(--color-warning-dark);--border-color: var(--color-warning-dark);--back-color: var(--input-bg-color)}.excalidraw .ExcButton--color-warning.ExcButton--variant-outlined:hover,.excalidraw .ExcButton--color-warning.ExcButton--variant-icon:hover{--text-color: var(--color-warning-darker);--border-color: var(--color-warning-darker)}.excalidraw .ExcButton--color-warning.ExcButton--variant-outlined:active,.excalidraw .ExcButton--color-warning.ExcButton--variant-icon:active{--text-color: var(--color-warning-darkest);--border-color: var(--color-warning-darkest)}.excalidraw .ExcButton--size-large{font-weight:600;font-size:.875rem;min-height:3rem;padding:.5rem 1.5rem;gap:.75rem;letter-spacing:.4px}.excalidraw .ExcButton--size-medium{font-weight:600;font-size:.75rem;min-height:2.5rem;padding:.5rem 1rem;gap:.5rem;letter-spacing:normal}.excalidraw .ExcButton--variant-icon{padding:.5rem .75rem;width:3rem}.excalidraw .ExcButton--fullWidth{width:100%}.excalidraw .ExcButton__icon{width:1.25rem;height:1.25rem}',""]),t.Z=v},3195:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .FixedSideContainer{position:absolute;pointer-events:none}.excalidraw .FixedSideContainer>*{pointer-events:var(--ui-pointerEvents)}.excalidraw .FixedSideContainer_side_top{left:var(--editor-container-padding);top:var(--editor-container-padding);right:var(--editor-container-padding);bottom:var(--editor-container-padding);z-index:2}.excalidraw .FixedSideContainer_side_top.zen-mode{right:42px}",""]),t.Z=v},2978:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .HelpDialog .Modal__content{max-width:960px}.excalidraw .HelpDialog h3{margin:1.5rem 0;font-weight:bold;font-size:1.125rem}.excalidraw .HelpDialog__header{display:flex;flex-wrap:wrap;gap:.75rem}.excalidraw .HelpDialog__btn{--background: var(--color-surface-mid);display:flex;-webkit-column-gap:.5rem;column-gap:.5rem;align-items:center;background-color:var(--background);padding:.625rem 1rem;border:1px solid var(--background);border-radius:var(--border-radius-lg);color:var(--text-primary-color);font-weight:600;font-size:.75rem;letter-spacing:.4px}.excalidraw.theme--dark.excalidraw .HelpDialog__btn{--background: var(--color-surface-high)}.excalidraw.theme--dark.excalidraw .HelpDialog__btn:hover{--background: #363541}.excalidraw .HelpDialog__btn:hover{--background: var(--color-surface-high);text-decoration:none}.excalidraw .HelpDialog__btn:active{border-color:var(--color-primary)}.excalidraw .HelpDialog__link-icon{line-height:0}.excalidraw .HelpDialog__link-icon svg{width:1rem;height:1rem}.excalidraw .HelpDialog__islands-container{display:grid;grid-column-gap:1.5rem;grid-row-gap:2rem}@media screen and (min-width: 1024px){.excalidraw .HelpDialog__islands-container{grid-template-columns:1fr 1fr}}@media screen and (min-width: 1024px){.excalidraw .HelpDialog__island--tools{grid-area:1/1/2/2}.excalidraw .HelpDialog__island--view{grid-area:2/1/3/2}.excalidraw .HelpDialog__island--editor{grid-area:1/2/3/3}}.excalidraw .HelpDialog__island h4{font-size:1rem;font-weight:bold;margin:0;margin-bottom:.625rem}.excalidraw .HelpDialog__island-content{border:1px solid var(--dialog-border-color);border-radius:var(--border-radius-lg)}.excalidraw .HelpDialog__shortcut{border-bottom:1px solid var(--dialog-border-color);padding:.375rem .75rem;display:flex;justify-content:space-between;align-items:center;font-size:.875rem;-webkit-column-gap:.5rem;column-gap:.5rem}.excalidraw .HelpDialog__shortcut:last-child{border-bottom:none}.excalidraw .HelpDialog__key-container{display:flex;align-items:center;-webkit-column-gap:.25rem;column-gap:.25rem;flex-shrink:0}.excalidraw .HelpDialog__key{display:flex;box-sizing:border-box;font-size:.625rem;background-color:var(--color-primary-light);border-radius:var(--border-radius-md);padding:.5rem;word-break:keep-all;align-items:center;font-family:inherit;line-height:1}",""]),t.Z=v},1587:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .HintViewer{pointer-events:none;box-sizing:border-box;position:absolute;display:flex;justify-content:center;left:0;top:100%;max-width:100%;width:100%;margin-top:.5rem;text-align:center;color:var(--color-gray-40);font-size:.75rem}.excalidraw--mobile.excalidraw .HintViewer{position:static;padding-right:2rem}.excalidraw .HintViewer>span{padding:.25rem}.excalidraw.theme--dark .HintViewer{color:var(--color-gray-60)}",""]),t.Z=v},9478:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .picker-container{display:inline-block;box-sizing:border-box;margin-right:.25rem}.excalidraw .picker{background:var(--popup-bg-color);border:0 solid rgba(255,255,255,.25);box-shadow:rgba(0,0,0,.25) 2px 2px 4px 2px;border-radius:4px;position:absolute}.excalidraw .picker-container button,.excalidraw .picker button{position:relative;display:flex;align-items:center;justify-content:center}.excalidraw .picker-container button:focus-visible,.excalidraw .picker button:focus-visible{outline:rgba(0,0,0,0);background-color:var(--button-gray-2)}.excalidraw .picker-container button:focus-visible svg,.excalidraw .picker button:focus-visible svg{opacity:1}.excalidraw .picker-container button:hover,.excalidraw .picker button:hover{background-color:var(--button-gray-2)}.excalidraw .picker-container button:active,.excalidraw .picker button:active{background-color:var(--button-gray-3)}.excalidraw .picker-container button:disabled,.excalidraw .picker button:disabled{cursor:not-allowed}.excalidraw .picker-container button svg,.excalidraw .picker button svg{margin:0;width:36px;height:18px;pointer-events:none}.excalidraw .picker button{padding:.25rem .28rem .35rem .25rem}.excalidraw .picker-triangle{width:0;height:0;position:relative;top:-10px;z-index:10}:root[dir=ltr] .excalidraw .picker-triangle{left:12px}:root[dir=rtl] .excalidraw .picker-triangle{right:12px}.excalidraw .picker-triangle:before{content:"";position:absolute;border-style:solid;border-width:0 9px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.1);top:-1px}.excalidraw .picker-triangle:after{content:"";position:absolute;border-style:solid;border-width:0 9px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) var(--popup-bg-color)}.excalidraw .picker-content{padding:.5rem;display:grid;grid-template-columns:repeat(3, auto);grid-gap:.5rem;border-radius:4px}:root[dir=rtl] .excalidraw .picker-content{padding:.4rem}.excalidraw .picker-keybinding{position:absolute;bottom:2px;font-size:.7em;color:var(--keybinding-color)}:root[dir=ltr] .excalidraw .picker-keybinding{right:2px}:root[dir=rtl] .excalidraw .picker-keybinding{left:2px}.excalidraw--mobile.excalidraw .picker-keybinding{display:none}.excalidraw .picker-type-canvasBackground .picker-keybinding{color:#aaa}.excalidraw .picker-type-elementBackground .picker-keybinding{color:#fff}.excalidraw .picker-swatch[aria-label=transparent] .picker-keybinding{color:#aaa}.excalidraw .picker-type-elementStroke .picker-keybinding{color:#d4d4d4}.excalidraw.theme--dark .picker-type-elementBackground .picker-keybinding{color:#000}.excalidraw.theme--dark .picker-swatch[aria-label=transparent] .picker-keybinding{color:#000}',""]),t.Z=v},9706:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m),I=e(1667),x=e.n(I),c=new URL(e(9669),e.b),f=v()(w()),Z=x()(c);f.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--ImageExportModal-preview-border: #d6d6d6}.excalidraw.theme--dark{--ImageExportModal-preview-border: #5c5c5c}.excalidraw .ImageExportModal{display:flex;flex-direction:row;justify-content:space-between}.excalidraw .ImageExportModal h3{font-family:"Assistant";font-style:normal;font-weight:700;font-size:1.313rem;line-height:130%;padding:0;margin:0}.excalidraw--mobile.excalidraw .ImageExportModal h3{display:none}.excalidraw .ImageExportModal>h3{display:none}.excalidraw--mobile.excalidraw .ImageExportModal>h3{display:block}.excalidraw--mobile.excalidraw .ImageExportModal{flex-direction:column;height:calc(100vh - 5rem)}.excalidraw .ImageExportModal__preview{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;height:360px;width:55%;margin-right:1.5rem}.excalidraw--mobile.excalidraw .ImageExportModal__preview{max-width:unset;margin-right:unset;width:100%;height:unset;flex-grow:1}.excalidraw .ImageExportModal__preview__filename>input{margin-top:1rem}.excalidraw .ImageExportModal__preview__canvas{box-sizing:border-box;width:100%;height:100%;display:flex;flex-grow:1;justify-content:center;align-items:center;background:url('+Z+') left center;border:1px solid var(--ImageExportModal-preview-border);border-radius:12px;overflow:hidden;padding:1rem}.excalidraw .ImageExportModal__preview__canvas>canvas{max-width:calc(100% - 2rem);max-height:calc(100% - 2rem);-webkit-filter:none !important;filter:none !important}.excalidraw--mobile.excalidraw .ImageExportModal__preview__canvas>canvas{max-height:100%}.excalidraw--mobile.excalidraw .ImageExportModal__preview__canvas{margin-top:24px;max-width:unset}.excalidraw .ImageExportModal__settings{display:flex;flex-direction:column;flex-wrap:wrap;gap:18px}.excalidraw--mobile.excalidraw .ImageExportModal__settings{margin-left:unset;margin-top:1rem;flex-direction:row;gap:6px 34px;align-content:flex-start}.excalidraw .ImageExportModal__settings__setting{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.excalidraw--mobile.excalidraw .ImageExportModal__settings__setting{flex-direction:column;align-items:start;justify-content:unset;height:52px}.excalidraw .ImageExportModal__settings__setting__label{display:flex;flex-direction:row;align-items:center;font-family:"Assistant";font-weight:600;font-size:1rem;line-height:150%}.excalidraw .ImageExportModal__settings__setting__label svg{width:20px;height:20px;margin-left:10px}.excalidraw .ImageExportModal__settings__setting__content{display:flex;height:100%;align-items:center}.excalidraw .ImageExportModal__settings__buttons{flex-grow:1;flex-wrap:wrap;display:flex;flex-direction:row;gap:11px;align-items:flex-end;align-content:flex-end}.excalidraw--mobile.excalidraw .ImageExportModal__settings__buttons{padding-top:32px;flex-basis:100%;justify-content:center}',""]),t.Z=f},7369:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .Island{--padding: 0;box-sizing:border-box;background-color:var(--island-bg-color);box-shadow:var(--shadow-island);border-radius:var(--border-radius-lg);padding:calc(var(--padding)*var(--space-factor));position:relative;transition:box-shadow .5s ease-in-out}.excalidraw .Island.zen-mode{box-shadow:none}",""]),t.Z=v},7930:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .LaserToolOverlay{pointer-events:none;width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:2}.excalidraw .LaserToolOverlay .LaserToolOverlayCanvas{image-rendering:auto;overflow:visible;position:absolute;top:0;left:0}",""]),t.Z=v},1434:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .layer-ui__wrapper.animate{transition:width .1s ease-in-out}.excalidraw .layer-ui__wrapper{position:absolute;width:100%;height:100%;pointer-events:none;z-index:var(--zIndex-layerUI)}.excalidraw .layer-ui__wrapper__top-right{display:flex;gap:.75rem}.excalidraw .layer-ui__wrapper__footer{width:100%}.excalidraw .layer-ui__wrapper__footer-right{z-index:100;display:flex}.excalidraw .layer-ui__wrapper .zen-mode-transition{transition:-webkit-transform .5s ease-in-out;transition:transform .5s ease-in-out;transition:transform .5s ease-in-out, -webkit-transform .5s ease-in-out}:root[dir=ltr] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-left{-webkit-transform:translate(-999px, 0);transform:translate(-999px, 0)}:root[dir=ltr] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-right{-webkit-transform:translate(999px, 0);transform:translate(999px, 0)}:root[dir=rtl] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-left{-webkit-transform:translate(999px, 0);transform:translate(999px, 0)}:root[dir=rtl] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-right{-webkit-transform:translate(-999px, 0);transform:translate(-999px, 0)}.excalidraw .layer-ui__wrapper .zen-mode-transition.layer-ui__wrapper__footer-left--transition-bottom{-webkit-transform:translate(0, 92px);transform:translate(0, 92px)}.excalidraw .layer-ui__wrapper .disable-zen-mode{padding:10px;position:absolute;bottom:0;opacity:0;visibility:hidden;transition:visibility 0s linear 0s,opacity .5s;font-family:var(--ui-font);font-size:.75rem;font-weight:500;line-height:1;border-radius:var(--border-radius-lg);border:1px solid var(--default-border-color);background-color:var(--island-bg-color);color:var(--text-primary-color)}[dir=ltr] .excalidraw .layer-ui__wrapper .disable-zen-mode{right:1rem}[dir=rtl] .excalidraw .layer-ui__wrapper .disable-zen-mode{left:1rem}.excalidraw .layer-ui__wrapper .disable-zen-mode:hover{background-color:var(--button-hover-bg)}.excalidraw .layer-ui__wrapper .disable-zen-mode:active{border-color:var(--color-primary)}.excalidraw .layer-ui__wrapper .disable-zen-mode--visible{opacity:1;visibility:visible;transition:visibility 0s linear 300ms,opacity .5s;transition-delay:.8s;pointer-events:var(--ui-pointerEvents)}.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-left>*,.excalidraw .layer-ui__wrapper .footer-center>*,.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-right>*{pointer-events:var(--ui-pointerEvents)}.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-right{margin-top:auto;margin-bottom:auto}",""]),t.Z=v},8923:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,'.excalidraw .layer-ui__library{display:flex;flex-direction:column;flex:1 1 auto}.excalidraw .library-actions-counter{background-color:var(--color-primary);color:var(--color-primary-light);font-weight:bold;display:flex;align-items:center;justify-content:center;border-radius:50%;width:1rem;height:1rem;position:absolute;bottom:-0.25rem;right:-0.25rem;font-size:.625rem;pointer-events:none}.excalidraw .layer-ui__library-message{padding:2rem;min-width:200px;display:flex;flex-direction:column;align-items:center;flex-grow:1;justify-content:center}.excalidraw .layer-ui__library-message span{font-size:.8em}.excalidraw .publish-library-success .Dialog__content{display:flex;flex-direction:column}.excalidraw .publish-library-success-close.ToolIcon_type_button{background-color:#228be6;align-self:flex-end}.excalidraw .publish-library-success-close.ToolIcon_type_button:hover{background-color:#1971c2}.excalidraw .publish-library-success-close.ToolIcon_type_button .ToolIcon__icon{width:auto;font-size:1rem;color:#fff;padding:0 .5rem}.excalidraw .library-menu-control-buttons{display:flex;align-items:center;justify-content:center;gap:.625rem;position:relative}.excalidraw .library-menu-control-buttons--at-bottom::before{content:"";width:calc(100% - 1.5rem);height:1px;position:absolute;top:-1px;background:var(--sidebar-border-color)}.excalidraw .library-menu-browse-button{flex:1;height:var(--lg-button-size);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;border-radius:var(--border-radius-lg);background-color:var(--color-primary);color:#fff;text-align:center;white-space:nowrap;text-decoration:none !important;font-weight:600;font-size:.75rem}.excalidraw .library-menu-browse-button:hover{background-color:var(--color-brand-hover)}.excalidraw .library-menu-browse-button:active{background-color:var(--color-brand-active)}.excalidraw.theme--dark .library-menu-browse-button{color:var(--color-gray-100)}.excalidraw.excalidraw--mobile .library-menu-browse-button{height:var(--default-button-size)}.excalidraw .layer-ui__library .dropdown-menu{width:auto;top:initial;right:0;left:initial;bottom:100%;margin-bottom:.625rem}.excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container{width:196px;box-shadow:var(--library-dropdown-shadow);border-radius:var(--border-radius-lg);padding:.25rem .5rem}.excalidraw .layer-ui__library .library-menu-dropdown-container{position:relative}.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading{padding:0;position:absolute;top:1rem;right:.75rem;z-index:1}.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu{top:100%}',""]),t.Z=v},6440:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw{--container-padding-y: 1.5rem;--container-padding-x: 0.75rem}.excalidraw .library-menu-items__no-items{text-align:center;color:var(--color-gray-70);line-height:1.5;font-size:.875rem;width:100%}.excalidraw .library-menu-items__no-items__label{color:var(--color-primary);font-weight:bold;font-size:1.125rem;margin-bottom:.75rem}.excalidraw.theme--dark .library-menu-items__no-items{color:var(--color-gray-40)}.excalidraw .library-menu-items-container{width:100%;display:flex;flex-grow:1;flex-shrink:1;flex-basis:0;overflow-y:auto;flex-direction:column;height:100%;justify-content:center;margin:0;position:relative}.excalidraw .library-menu-items-container>div{padding-left:.75rem;padding-right:.75rem}.excalidraw .library-menu-items-container__row{display:grid;grid-template-columns:repeat(4, 1fr);gap:1rem}.excalidraw .library-menu-items-container__items{row-gap:.5rem;padding:var(--container-padding-y) 0;flex:1;overflow-y:auto;overflow-x:hidden;margin-bottom:1rem}.excalidraw .library-menu-items-container__header{color:var(--color-primary);font-size:1.125rem;font-weight:bold;margin-bottom:.75rem;width:100%;padding-right:4rem;box-sizing:border-box}.excalidraw .library-menu-items-container__header--excal{margin-top:2rem}.excalidraw .library-menu-items-container__grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:1rem}.excalidraw .library-menu-items-container .separator{width:100%;display:flex;align-items:center;font-weight:500;font-size:.9rem;margin:.6em .2em;color:var(--text-primary-color)}.excalidraw .library-menu-items-private-library-container{min-height:3.75rem;width:100%}",""]),t.Z=v},5644:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .library-unit{align-items:center;border:1px solid rgba(0,0,0,0);display:flex;justify-content:center;position:relative;width:55px;height:55px;box-sizing:border-box;border-radius:var(--border-radius-lg)}.excalidraw .library-unit svg{pointer-events:none}.excalidraw .library-unit--hover{border-color:var(--color-primary)}.excalidraw .library-unit--selected{border-color:var(--color-primary);border-width:1px}.excalidraw .library-unit--skeleton{opacity:.5;background:linear-gradient(-45deg, var(--color-gray-10), var(--color-gray-20), var(--color-gray-10));background-size:200% 200%;-webkit-animation:library-unit__skeleton-opacity-animation .2s linear;animation:library-unit__skeleton-opacity-animation .2s linear}.excalidraw.theme--dark .library-unit--skeleton{background-image:linear-gradient(-45deg, var(--color-gray-100), var(--color-gray-80), var(--color-gray-100))}.excalidraw .library-unit__dragger{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.excalidraw .library-unit__dragger>svg{-webkit-filter:var(--theme-filter);filter:var(--theme-filter);flex-grow:1;max-height:100%;max-width:100%}.excalidraw .library-unit__checkbox-container,.excalidraw .library-unit__checkbox-container:hover,.excalidraw .library-unit__checkbox-container:active{align-items:center;background:none;border:none;color:var(--icon-fill-color);display:flex;justify-content:center;margin:0;padding:.5rem;position:absolute;left:2rem;bottom:2rem;cursor:pointer}.excalidraw .library-unit__checkbox-container input,.excalidraw .library-unit__checkbox-container:hover input,.excalidraw .library-unit__checkbox-container:active input{cursor:pointer}.excalidraw .library-unit__checkbox{position:absolute;top:.125rem;right:.125rem;margin:0}.excalidraw .library-unit__checkbox .Checkbox-box{margin:0;width:1rem;height:1rem;border-radius:4px;background-color:var(--color-primary-light);border:1px solid var(--color-primary);box-shadow:none !important;padding:2px}.excalidraw .library-unit__checkbox.Checkbox:hover .Checkbox-box{background-color:var(--color-primary-light)}.excalidraw .library-unit__checkbox.is-checked .Checkbox-box{background-color:var(--color-primary) !important}.excalidraw .library-unit__checkbox.is-checked .Checkbox-box svg{color:var(--color-primary-light)}.excalidraw .library-unit__removeFromLibrary>svg{height:16px;width:16px}.excalidraw .library-unit__adder{-webkit-transform:scale(1);transform:scale(1);-webkit-animation:library-unit__adder-animation 1s ease-in infinite;animation:library-unit__adder-animation 1s ease-in infinite;position:absolute;width:1.5rem;height:1.5rem;background-color:var(--color-primary);border-radius:var(--border-radius-md);display:flex;justify-content:center;align-items:center;pointer-events:none}.excalidraw .library-unit__adder svg{color:var(--color-primary-light);width:1rem;height:1rem}.excalidraw .library-unit:active .library-unit__adder{-webkit-animation:none;animation:none;-webkit-transform:scale(0.8);transform:scale(0.8)}.excalidraw .library-unit__active{cursor:pointer}@-webkit-keyframes library-unit__adder-animation{0%{-webkit-transform:scale(0.85);transform:scale(0.85)}50%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.85);transform:scale(0.85)}}@keyframes library-unit__adder-animation{0%{-webkit-transform:scale(0.85);transform:scale(0.85)}50%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.85);transform:scale(0.85)}}@-webkit-keyframes library-unit__skeleton-opacity-animation{0%{opacity:0}75%{opacity:0}100%{opacity:.5}}@keyframes library-unit__skeleton-opacity-animation{0%{opacity:0}75%{opacity:0}100%{opacity:.5}}",""]),t.Z=v},5830:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m),I=e(1667),x=e.n(I),c=new URL(e(9669),e.b),f=v()(w()),Z=x()(c);f.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .dialog-mermaid-title{margin-bottom:5px;margin-top:2px}.excalidraw .dialog-mermaid-desc{font-size:15px;font-style:italic;font-weight:500}.excalidraw .dialog-mermaid .Modal__content .Island{box-shadow:none}.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid{padding:1.25rem}.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid .Modal__content{height:100%;max-height:750px}@media screen and (max-width: 860px){.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid .Modal__content{height:auto;max-height:100%}}.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid .Modal__content .Island{height:100%;display:flex;flex-direction:column;flex:1 1 auto}.excalidraw:not(.excalidraw--mobile).excalidraw .dialog-mermaid .Modal__content .Island .Dialog__content{display:flex;flex:1 1 auto}.excalidraw .dialog-mermaid-body{width:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto;height:100%;-webkit-column-gap:4rem;column-gap:4rem}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-body{flex-direction:column;display:flex;gap:1rem}}.excalidraw .dialog-mermaid-panels{display:grid;width:100%;grid-template-columns:1fr 1fr;justify-content:space-between;gap:4rem;grid-row:1;grid-column:1/3}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-panels{flex-direction:column;display:flex;gap:1rem}}.excalidraw .dialog-mermaid-panels label{font-size:14px;font-style:normal;font-weight:600;margin-bottom:4px;margin-left:4px}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-panels label{margin-top:4px}}.excalidraw .dialog-mermaid-panels-text{display:flex;flex-direction:column}.excalidraw .dialog-mermaid-panels-text textarea{width:20rem;height:100%;resize:none;border-radius:var(--border-radius-lg);border:1px solid var(--dialog-border-color);white-space:pre-wrap;padding:.85rem;box-sizing:border-box;width:100%;font-family:monospace}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-panels-text textarea{width:auto;height:10rem}}.excalidraw .dialog-mermaid-panels-preview-wrapper{display:flex;align-items:center;justify-content:center;padding:.85rem;box-sizing:border-box;width:100%;height:200px;flex-grow:1;position:relative;background:url("+Z+') left center;border-radius:var(--border-radius-lg);border:1px solid var(--dialog-border-color)}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-panels-preview-wrapper{height:400px;width:auto}}.excalidraw .dialog-mermaid-panels-preview-wrapper canvas{max-width:100%;max-height:100%}.excalidraw .dialog-mermaid-panels-preview-canvas-container{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-grow:1}.excalidraw .dialog-mermaid-panels-preview{display:flex;flex-direction:column}.excalidraw .dialog-mermaid-panels .mermaid-error{color:red;font-weight:800;font-size:30px;word-break:break-word;overflow:auto;max-height:100%;height:100%;width:100%;text-align:center;position:absolute;z-index:10}.excalidraw .dialog-mermaid-panels .mermaid-error p{font-weight:500;font-family:Cascadia;text-align:left;white-space:pre-wrap;font-size:.875rem;padding:0 10px}.excalidraw .dialog-mermaid-buttons{grid-column:2}.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button{font-family:"Assistant";font-weight:600;height:2.5rem;margin-top:1em;margin-bottom:.3em;width:7.5rem;font-size:12px;color:#fff;background-color:var(--color-primary)}.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button:hover{background-color:var(--color-primary-darker)}.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button:active{background-color:var(--color-primary-darkest)}@media screen and (max-width: 860px){.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button{width:100%}}.excalidraw.theme--dark.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert.excalidraw-button{color:var(--color-gray-100)}.excalidraw .dialog-mermaid-buttons .dialog-mermaid-insert span{padding-left:.5rem;display:flex}',""]),t.Z=f},6843:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw.excalidraw-modal-container{position:absolute;z-index:var(--zIndex-modal)}.excalidraw .Modal{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:calc(var(--space-factor)*10)}.excalidraw .Modal .Island{padding:2.5rem !important}.excalidraw .Modal__background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1;background-color:rgba(18,18,18,.2);-webkit-animation:Modal__background__fade-in .125s linear forwards;animation:Modal__background__fade-in .125s linear forwards}.excalidraw .Modal__content{position:relative;z-index:2;width:100%;max-width:var(--max-width);max-height:100%;opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px);-webkit-animation:Modal__content_fade-in .1s ease-out .05s forwards;animation:Modal__content_fade-in .1s ease-out .05s forwards;position:relative;overflow-y:auto;background:var(--island-bg-color);border:1px solid var(--dialog-border-color);box-shadow:var(--modal-shadow);border-radius:6px;box-sizing:border-box}.excalidraw .Modal__content:focus{outline:none}@-webkit-keyframes Modal__background__fade-in{from{opacity:0}to{opacity:1}}@keyframes Modal__background__fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes Modal__content_fade-in{from{opacity:0;-webkit-transform:scale(0.9);transform:scale(0.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes Modal__content_fade-in{from{opacity:0;-webkit-transform:scale(0.9);transform:scale(0.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.excalidraw .Modal__close{color:var(--icon-fill-color);margin:0;padding:.375rem;position:absolute;top:1rem;right:1rem;border:0;background-color:rgba(0,0,0,0);line-height:0;cursor:pointer}.excalidraw .Modal__close svg{width:1.5rem;height:1.5rem}.excalidraw .Dialog--fullscreen .Modal{padding:0}.excalidraw .Dialog--fullscreen .Modal__content{position:absolute;top:0;left:0;right:0;bottom:0;max-width:100%;border:0;border-radius:0}",""]),t.Z=v},9439:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .OverwriteConfirm{display:flex;flex-direction:column;align-items:center;gap:.75rem;isolation:isolate}.excalidraw .OverwriteConfirm h3{margin:0;font-weight:700;font-size:1.3125rem;line-height:130%;align-self:flex-start;color:var(--text-primary-color)}.excalidraw .OverwriteConfirm__Description{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;width:100%;gap:1rem;padding:2.5rem;background:var(--color-danger-background);border-radius:.5rem;font-family:"Assistant";font-style:normal;font-weight:400;font-size:1rem;line-height:150%;color:var(--color-danger-color)}.excalidraw--mobile.excalidraw .OverwriteConfirm__Description{flex-direction:column;text-align:center}.excalidraw .OverwriteConfirm__Description__spacer{flex-grow:1}.excalidraw .OverwriteConfirm__Description__icon{box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:2.5rem;background:var(--color-danger-icon-background);width:3.5rem;height:3.5rem;padding:.75rem}.excalidraw .OverwriteConfirm__Description__icon svg{color:var(--color-danger-icon-color);width:1.5rem;height:1.5rem}.excalidraw .OverwriteConfirm__Description.OverwriteConfirm__Description--color-warning{background:var(--color-warning-background);color:var(--color-warning-color)}.excalidraw .OverwriteConfirm__Description.OverwriteConfirm__Description--color-warning .OverwriteConfirm__Description__icon{background:var(--color-warning-icon-background);flex:0 0 auto}.excalidraw .OverwriteConfirm__Description.OverwriteConfirm__Description--color-warning .OverwriteConfirm__Description__icon svg{color:var(--color-warning-icon-color)}.excalidraw .OverwriteConfirm__Actions{display:flex;flex-direction:row;align-items:stretch;justify-items:stretch;justify-content:center;gap:1.5rem}.excalidraw--mobile.excalidraw .OverwriteConfirm__Actions{flex-direction:column}.excalidraw .OverwriteConfirm__Actions__Action{display:flex;flex-direction:column;align-items:center;padding:1.5rem;gap:.75rem;flex-basis:50%;flex-grow:0}.excalidraw .OverwriteConfirm__Actions__Action__content{height:100%;font-size:.875rem;text-align:center}.excalidraw .OverwriteConfirm__Actions__Action h4{font-weight:700;font-size:1.125rem;line-height:130%;margin:0;color:var(--text-primary-color)}',""]),t.Z=v},8461:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw--mobile.excalidraw .PasteChartDialog .Island{display:flex;flex-direction:column}.excalidraw .PasteChartDialog .container{display:flex;align-items:center;justify-content:space-around;flex-wrap:wrap}.excalidraw--mobile.excalidraw .PasteChartDialog .container{flex-direction:column;justify-content:center}.excalidraw .PasteChartDialog .ChartPreview{margin:8px;text-align:center;width:192px;height:128px;border-radius:2px;padding:1px;border:1px solid #ced4da;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0)}.excalidraw .PasteChartDialog .ChartPreview div{display:inline-block}.excalidraw .PasteChartDialog .ChartPreview svg{max-height:120px;max-width:186px}.excalidraw .PasteChartDialog .ChartPreview:hover{padding:0;border:2px solid #339af0}",""]),t.Z=v},9935:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .popover{position:absolute;z-index:10;padding:5px 0 5px;outline:none}",""]),t.Z=v},532:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".ProjectName{margin:auto;display:flex;align-items:center}.ProjectName .TextInput{height:calc(1rem - 3px);width:200px;overflow:hidden;text-align:center;margin-left:8px;text-overflow:ellipsis}.ProjectName .TextInput--readonly{background:none;border:none;width:auto;max-width:200px;padding-left:2px}.ProjectName .TextInput--readonly:hover{background:none}",""]),t.Z=v},7589:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .publish-library__fields{display:flex;flex-direction:column}.excalidraw .publish-library__fields label{padding:1em 0;display:flex;justify-content:space-between;align-items:center}.excalidraw .publish-library__fields label span{font-weight:500;font-size:1rem;color:#868e96}.excalidraw .publish-library__fields label input,.excalidraw .publish-library__fields label textarea{width:70%;padding:.6em;font-family:var(--ui-font)}.excalidraw .publish-library__fields label .required{color:#e03131;margin:.2rem}.excalidraw .publish-library__buttons{display:flex;padding:.2rem 0;justify-content:flex-end;gap:.5rem}.excalidraw .publish-library__buttons .ToolIcon__icon{min-width:2.5rem;width:auto;font-size:1rem}.excalidraw .publish-library__buttons .ToolIcon_type_button{margin-left:1rem;padding:0 .5rem}.excalidraw .publish-library__buttons--confirm.ToolIcon_type_button{background-color:#228be6}.excalidraw .publish-library__buttons--confirm.ToolIcon_type_button:hover{background-color:#1971c2}.excalidraw .publish-library__buttons--cancel.ToolIcon_type_button{background-color:#adb5bd}.excalidraw .publish-library__buttons--cancel.ToolIcon_type_button:hover{background-color:#868e96}.excalidraw .publish-library__buttons .ToolIcon__icon{color:#fff}.excalidraw .publish-library__buttons .ToolIcon__icon .Spinner{--spinner-color: #fff}.excalidraw .publish-library__buttons .ToolIcon__icon .Spinner svg{padding:.5rem}.excalidraw .publish-library .selected-library-items{display:flex;flex-wrap:wrap}.excalidraw .publish-library .selected-library-items .single-library-item-wrapper{width:9rem}.excalidraw .publish-library-warning{color:#fa5252}.excalidraw .publish-library-note{padding:1em 0;font-style:italic;font-size:14px;display:block}.excalidraw .single-library-item{position:relative}.excalidraw .single-library-item-status{position:absolute;top:.3rem;left:.3rem;font-size:.7rem;color:#f03e3e;background:rgba(255,255,255,.9);padding:.1rem .2rem;border-radius:.2rem}.excalidraw .single-library-item__svg{background-color:#fff;padding:.3rem;width:7.5rem;height:7.5rem;border:1px solid var(--button-gray-2)}.excalidraw .single-library-item__svg svg{width:100%;height:100%}.excalidraw .single-library-item .ToolIcon__icon{background-color:#fff;width:auto;height:auto;margin:0 .5rem}.excalidraw .single-library-item .ToolIcon,.excalidraw .single-library-item .ToolIcon_type_button:hover{background-color:#fff}.excalidraw .single-library-item .required,.excalidraw .single-library-item .error{color:#e03131;font-weight:bold;font-size:1rem;margin:.2rem}.excalidraw .single-library-item .error{font-weight:500;margin:0;padding:.3em 0}.excalidraw .single-library-item--remove{position:absolute;top:.2rem;right:1rem}.excalidraw .single-library-item--remove .ToolIcon__icon{margin:0}.excalidraw .single-library-item--remove .ToolIcon__icon{background-color:#fa5252}.excalidraw .single-library-item--remove .ToolIcon__icon:hover{background-color:#f03e3e}.excalidraw .single-library-item--remove .ToolIcon__icon:active{background-color:#e03131}.excalidraw .single-library-item--remove svg{color:#fff;padding:.26rem;border-radius:.3em;width:1rem;height:1rem}",""]),t.Z=v},6217:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--RadioGroup-background: var(--island-bg-color);--RadioGroup-border: var(--color-surface-high);--RadioGroup-choice-color-off: var(--color-primary);--RadioGroup-choice-color-off-hover: var(--color-brand-hover);--RadioGroup-choice-background-off: var(--island-bg-color);--RadioGroup-choice-background-off-active: var(--color-surface-high);--RadioGroup-choice-color-on: var(--color-surface-lowest);--RadioGroup-choice-background-on: var(--color-primary);--RadioGroup-choice-background-on-hover: var(--color-brand-hover);--RadioGroup-choice-background-on-active: var(--color-brand-active)}.excalidraw .RadioGroup{box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;padding:3px;border-radius:10px;background:var(--RadioGroup-background);border:1px solid var(--RadioGroup-border)}.excalidraw .RadioGroup__choice{position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:24px;color:var(--RadioGroup-choice-color-off);background:var(--RadioGroup-choice-background-off);border-radius:8px;font-family:"Assistant";font-style:normal;font-weight:600;font-size:.75rem;line-height:100%;-webkit-user-select:none;user-select:none;letter-spacing:.4px;transition:all 75ms ease-out}.excalidraw .RadioGroup__choice:hover{color:var(--RadioGroup-choice-color-off-hover)}.excalidraw .RadioGroup__choice:active{background:var(--RadioGroup-choice-background-off-active)}.excalidraw .RadioGroup__choice.active{color:var(--RadioGroup-choice-color-on);background:var(--RadioGroup-choice-background-on)}.excalidraw .RadioGroup__choice.active:hover{background:var(--RadioGroup-choice-background-on-hover)}.excalidraw .RadioGroup__choice.active:active{background:var(--RadioGroup-choice-background-on-active)}.excalidraw .RadioGroup__choice input{z-index:1;position:absolute;width:100%;height:100%;margin:0;padding:0;border-radius:8px;-webkit-appearance:none;appearance:none;cursor:pointer}',""]),t.Z=v},8208:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .sidebar{display:flex;flex-direction:column;position:absolute;top:0;bottom:0;right:0;z-index:5;margin:0;padding:0;box-sizing:border-box;background-color:var(--sidebar-bg-color);box-shadow:var(--sidebar-shadow);pointer-events:var(--ui-pointerEvents);overflow:hidden;border-radius:0;width:calc(302px - var(--space-factor) * 2);border-left:1px solid var(--sidebar-border-color)}:root[dir=rtl] .excalidraw .sidebar{left:0;right:auto}.excalidraw .sidebar--docked{box-shadow:none}:root[dir=rtl] .excalidraw .sidebar{border-right:1px solid var(--sidebar-border-color);border-left:0}.excalidraw .sidebar__header{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;width:100%;padding:1rem .75rem;position:relative}.excalidraw .sidebar__header::after{content:"";width:calc(100% - 1.5rem);height:1px;background:var(--sidebar-border-color);position:absolute;bottom:-1px}.excalidraw .sidebar__header__buttons{gap:0;display:flex;align-items:center;margin-left:auto}.excalidraw .sidebar__header__buttons button{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));--button-bg: transparent;border:0 !important;width:var(--lg-button-size);height:var(--lg-button-size);padding:0}.excalidraw .sidebar__header__buttons button svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .sidebar__header__buttons button:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .sidebar__header__buttons button:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .sidebar__header__buttons button.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .sidebar__header__buttons button.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .sidebar__header__buttons button.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .sidebar__header__buttons button svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .sidebar__header__buttons button:hover{background:var(--button-hover-bg, var(--island-bg-color))}.excalidraw .sidebar__header__buttons .sidebar__dock.selected svg{stroke:var(--color-primary);fill:var(--color-primary)}.excalidraw .sidebar-tabs-root{display:flex;flex-direction:column;flex:1 1 auto;padding:1rem 0}.excalidraw .sidebar-tabs-root [role=tabpanel]{flex:1;outline:none;flex:1 1 auto;display:flex;flex-direction:column;outline:none}.excalidraw .sidebar-tabs-root [role=tabpanel][data-state=inactive]{display:none !important}.excalidraw .sidebar-tabs-root [role=tablist]{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit, minmax(0, 1fr))}.excalidraw .sidebar-tabs-root>.sidebar__header{padding-top:0;padding-bottom:1rem}.excalidraw .sidebar-tab-trigger{--button-width: auto;--button-bg: transparent;--button-hover-bg: transparent;--button-active-bg: var(--color-primary);--button-hover-color: var(--color-primary);--button-hover-border: var(--color-primary)}.excalidraw .sidebar-tab-trigger[data-state=active]{--button-bg: var(--color-primary);--button-hover-bg: var(--color-primary-darker);--button-hover-color: var(--color-icon-white);--button-border: var(--color-primary);color:var(--color-icon-white)}.excalidraw .default-sidebar{display:flex;flex-direction:column}.excalidraw .default-sidebar .sidebar-triggers{display:flex;gap:0;padding:2px;margin-top:-3px;margin-bottom:-3px;border:1px solid var(--sidebar-border-color);background:var(--default-bg-color);border-radius:.625rem}.excalidraw .default-sidebar .sidebar-triggers .sidebar-tab-trigger{height:var(--lg-button-size);width:var(--lg-button-size);border:none}',""]),t.Z=v},7051:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .sidebar-trigger{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));border:none;box-shadow:0 0 0 1px var(--color-surface-lowest);background-color:var(--color-surface-low);width:auto;height:var(--lg-button-size);display:flex;align-items:center;gap:.5rem;line-height:0;font-size:.75rem;letter-spacing:.4px}.excalidraw .sidebar-trigger svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .sidebar-trigger:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .sidebar-trigger:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .sidebar-trigger.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .sidebar-trigger.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .sidebar-trigger.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .sidebar-trigger:active{box-shadow:0 0 0 1px var(--color-brand-active)}.excalidraw .sidebar-trigger svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .default-sidebar-trigger .sidebar-trigger__label{display:block}.excalidraw.excalidraw--mobile .default-sidebar-trigger .sidebar-trigger__label{display:none}",""]),t.Z=v},5892:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .Spinner{display:flex;align-items:center;justify-content:center;height:100%;margin-left:auto;margin-right:auto;--spinner-color: var(--icon-fill-color)}.excalidraw .Spinner svg{-webkit-animation:rotate 1.6s linear infinite;animation:rotate 1.6s linear infinite;-webkit-animation-delay:var(--spinner-delay);animation-delay:var(--spinner-delay);-webkit-transform-origin:center center;transform-origin:center center}.excalidraw .Spinner circle{stroke:var(--spinner-color);-webkit-animation:dash 1.6s linear 0s infinite;animation:dash 1.6s linear 0s infinite;stroke-linecap:round}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,300;stroke-dashoffset:0}50%{stroke-dasharray:150,300;stroke-dashoffset:-200}100%{stroke-dasharray:1,300;stroke-dashoffset:-280}}@keyframes dash{0%{stroke-dasharray:1,300;stroke-dashoffset:0}50%{stroke-dasharray:150,300;stroke-dashoffset:-200}100%{stroke-dasharray:1,300;stroke-dashoffset:-280}}",""]),t.Z=v},3874:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .Stack{--gap: 0;display:grid;gap:calc(var(--space-factor)*var(--gap))}.excalidraw .Stack_vertical{grid-template-columns:auto;grid-auto-flow:row;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.excalidraw .Stack_horizontal{grid-template-rows:auto;grid-auto-flow:column;grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content}",""]),t.Z=v},2681:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Stats{position:absolute;top:64px;right:12px;font-size:12px;z-index:10;pointer-events:var(--ui-pointerEvents)}.excalidraw .Stats h3{margin:0 24px 8px 0;white-space:nowrap}.excalidraw .Stats .close{float:right;height:16px;width:16px;cursor:pointer}.excalidraw .Stats .close svg{width:100%;height:100%}.excalidraw .Stats table{width:100%}.excalidraw .Stats table th{border-bottom:1px solid var(--input-border-color);padding:4px}.excalidraw .Stats table tr td:nth-child(2){min-width:24px;text-align:right}:root[dir=rtl] .excalidraw .Stats{left:12px;right:initial}:root[dir=rtl] .excalidraw .Stats h3{margin:0 0 8px 24px}:root[dir=rtl] .excalidraw .Stats .close{float:left}",""]),t.Z=v},7802:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--Switch-disabled-color: var(--color-border-outline);--Switch-disabled-toggled-background: var(--color-border-outline-variant);--Switch-disabled-border: var(--color-border-outline-variant);--Switch-track-background: var(--island-bg-color);--Switch-thumb-background: var(--color-on-surface);--Switch-hover-background: var(--color-brand-hover);--Switch-active-background: var(--color-brand-active)}.excalidraw .Switch{position:relative;box-sizing:border-box;width:40px;height:20px;border-radius:12px;transition-property:background,border;transition-duration:150ms;transition-timing-function:ease-out;background:var(--Switch-track-background);border:1px solid var(--Switch-disabled-color)}.excalidraw .Switch:hover{background:var(--Switch-track-background);border:1px solid var(--Switch-hover-background)}.excalidraw .Switch:active{border:1px solid var(--Switch-active-background)}.excalidraw .Switch.toggled{background:var(--color-primary);border:1px solid var(--color-primary)}.excalidraw .Switch.toggled:hover{background:var(--color-primary-darker);border:1px solid var(--color-primary-darker)}.excalidraw .Switch.disabled{background:var(--Switch-track-background);border:1px solid var(--Switch-disabled-border)}.excalidraw .Switch.disabled.toggled{background:var(--Switch-disabled-toggled-background);border:1px solid var(--Switch-disabled-toggled-background)}.excalidraw .Switch:before{content:"";box-sizing:border-box;display:block;pointer-events:none;position:absolute;border-radius:100%;transition:all 150ms ease-out;width:10px;height:10px;top:4px;left:4px;background:var(--Switch-thumb-background)}.excalidraw .Switch:active:before{width:12px}.excalidraw .Switch.toggled:before{width:14px;height:14px;left:22px;top:2px;background:var(--Switch-track-background)}.excalidraw .Switch.toggled:active:before{width:16px;left:20px}.excalidraw .Switch.disabled:before{background:var(--Switch-disabled-color)}.excalidraw .Switch.disabled.toggled:before{background:var(--Switch-disabled-color)}.excalidraw .Switch input{width:100%;height:100%;margin:0;border-radius:12px;-webkit-appearance:none;appearance:none;cursor:pointer}.excalidraw .Switch input:disabled{cursor:unset}',""]),t.Z=v},6759:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .TextInput{display:inline-block}",""]),t.Z=v},9650:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .Toast{-webkit-animation:fade-in .5s;animation:fade-in .5s;background-color:var(--button-gray-1);border-radius:4px;bottom:10px;box-sizing:border-box;cursor:default;left:50%;margin-left:-150px;padding:4px 0;position:absolute;text-align:center;width:300px;z-index:999999}.excalidraw .Toast .Toast__message{padding:0 1.6rem;color:var(--popup-text-color);white-space:pre-wrap}.excalidraw .Toast .close{position:absolute;top:0;right:0;padding:.4rem}.excalidraw .Toast .close .ToolIcon__icon{width:1.2rem;height:1.2rem}@-webkit-keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fade-in{from{opacity:0}to{opacity:1}}",""]),t.Z=v},2044:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .ToolIcon{border-radius:var(--border-radius-lg);display:inline-flex;align-items:center;position:relative;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none}.excalidraw .ToolIcon__hidden{display:none !important}.excalidraw .ToolIcon.fillable .ToolIcon_type_radio:checked+.ToolIcon__icon,.excalidraw .ToolIcon.fillable .ToolIcon_type_checkbox:checked+.ToolIcon__icon{--icon-fill-color: var(--color-on-primary-container)}.excalidraw .ToolIcon.fillable .ToolIcon_type_radio:checked+.ToolIcon__icon svg,.excalidraw .ToolIcon.fillable .ToolIcon_type_checkbox:checked+.ToolIcon__icon svg{fill:var(--icon-fill-color)}.excalidraw .ToolIcon .ToolIcon_type_radio:checked+.ToolIcon__icon,.excalidraw .ToolIcon .ToolIcon_type_checkbox:checked+.ToolIcon__icon{background:var(--color-surface-primary-container);--keybinding-color: var(--color-on-primary-container)}.excalidraw .ToolIcon .ToolIcon_type_radio:checked+.ToolIcon__icon svg,.excalidraw .ToolIcon .ToolIcon_type_checkbox:checked+.ToolIcon__icon svg{color:var(--color-on-primary-container)}.excalidraw .ToolIcon .ToolIcon__keybinding{bottom:4px;right:4px}.excalidraw .ToolIcon .ToolIcon__icon:hover{background:var(--button-hover-bg)}.excalidraw .ToolIcon .ToolIcon__icon:active{background:var(--button-hover-bg);border:1px solid var(--button-active-border)}.excalidraw .ToolIcon .ToolIcon__icon:active svg{color:var(--color-on-primary-container)}.excalidraw .ToolIcon--plain{background-color:rgba(0,0,0,0)}.excalidraw .ToolIcon--plain .ToolIcon__icon{width:2rem;height:2rem}.excalidraw .ToolIcon_type_radio,.excalidraw .ToolIcon_type_checkbox{position:absolute;opacity:0;pointer-events:none}.excalidraw .ToolIcon__icon{box-sizing:border-box;width:var(--default-button-size);height:var(--default-button-size);color:var(--icon-fill-color);display:flex;justify-content:center;align-items:center;border-radius:var(--border-radius-lg)}.excalidraw .ToolIcon__icon+.ToolIcon__label{-webkit-margin-start:0;margin-inline-start:0}.excalidraw .ToolIcon__icon svg{position:relative;width:var(--default-icon-size);height:var(--default-icon-size);color:var(--icon-fill-color)}.excalidraw .ToolIcon__label{display:flex;align-items:center;color:var(--icon-fill-color);font-family:var(--ui-font);margin:0 .8em;text-overflow:ellipsis}.excalidraw .ToolIcon__label .Spinner{margin-left:.6em}.excalidraw .ToolIcon_size_small .ToolIcon__icon{width:2rem;height:2rem;font-size:.8em}.excalidraw .ToolIcon_type_button,.excalidraw .Modal .ToolIcon_type_button,.excalidraw .ToolIcon_type_button{padding:0;border:none;margin:0;font-size:inherit;background-color:initial}.excalidraw .ToolIcon_type_button:focus-visible,.excalidraw .Modal .ToolIcon_type_button:focus-visible,.excalidraw .ToolIcon_type_button:focus-visible{box-shadow:0 0 0 2px var(--focus-highlight-color)}.excalidraw .ToolIcon_type_button.ToolIcon--selected,.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected,.excalidraw .ToolIcon_type_button.ToolIcon--selected{background-color:var(--button-gray-2)}.excalidraw .ToolIcon_type_button.ToolIcon--selected:active,.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected:active,.excalidraw .ToolIcon_type_button.ToolIcon--selected:active{background-color:var(--button-gray-3)}.excalidraw .ToolIcon_type_button:active,.excalidraw .Modal .ToolIcon_type_button:active,.excalidraw .ToolIcon_type_button:active{background-color:var(--button-gray-3)}.excalidraw .ToolIcon_type_button--show,.excalidraw .Modal .ToolIcon_type_button--show,.excalidraw .ToolIcon_type_button--show{visibility:visible}.excalidraw .ToolIcon_type_button--hide,.excalidraw .Modal .ToolIcon_type_button--hide,.excalidraw .ToolIcon_type_button--hide{display:none !important}.excalidraw .ToolIcon_type_floating{background-color:rgba(0,0,0,0)}.excalidraw .ToolIcon_type_floating:hover{background-color:rgba(0,0,0,0)}.excalidraw .ToolIcon_type_floating:active{background-color:rgba(0,0,0,0)}.excalidraw .ToolIcon_type_floating .ToolIcon__icon{background-color:var(--button-gray-1);width:2rem;height:2rem}.excalidraw .ToolIcon_type_floating .ToolIcon__icon:hover{background-color:var(--button-gray-2)}.excalidraw .ToolIcon_type_floating .ToolIcon__icon:active{background-color:var(--button-gray-3)}.excalidraw .ToolIcon__keybinding{position:absolute;bottom:2px;right:3px;font-size:.625rem;color:var(--keybinding-color);font-family:var(--ui-font);-webkit-user-select:none;user-select:none}:root[dir=ltr] .excalidraw .unlocked-icon{left:2px}:root[dir=rtl] .excalidraw .unlocked-icon{right:2px}.excalidraw .App-toolbar-container .ToolIcon__icon{width:var(--lg-button-size);height:var(--lg-button-size)}@media screen and (max-width: 450px){.excalidraw .App-toolbar-container .ToolIcon__icon{width:1.8rem;height:1.8rem}}@media screen and (max-width: 379px){.excalidraw .App-toolbar-container .ToolIcon__icon{width:1.5rem;height:1.5rem}}.excalidraw .App-toolbar-container .ToolIcon__icon svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .App-toolbar-container .ToolIcon__LaserPointer .ToolIcon__icon{width:var(--default-button-size);height:var(--default-button-size)}",""]),t.Z=v},9144:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .App-toolbar.zen-mode .ToolIcon__keybinding,.excalidraw .App-toolbar.zen-mode .HintViewer{display:none}.excalidraw .App-toolbar__divider{width:1px;height:1.5rem;align-self:center;background-color:var(--default-border-color);margin:0 .25rem}.excalidraw--mobile.excalidraw .App-toolbar__divider{margin:0}.excalidraw .App-toolbar__extra-tools-trigger{box-shadow:none;border:0;background-color:rgba(0,0,0,0)}.excalidraw .App-toolbar__extra-tools-trigger:active{background-color:var(--button-hover-bg);box-shadow:0 0 0 1px var(--button-active-border, var(--color-primary-darkest)) inset}.excalidraw .App-toolbar__extra-tools-trigger--selected,.excalidraw .App-toolbar__extra-tools-trigger--selected:hover{background:var(--color-primary-light);color:var(--color-primary)}.excalidraw .App-toolbar__extra-tools-dropdown{margin-top:.375rem;right:0;min-width:11.875rem;z-index:1}",""]),t.Z=v},6626:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw-tooltip{--ui-font: Assistant, system-ui, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;font-family:var(--ui-font);position:fixed;z-index:var(--zIndex-popup);padding:8px;border-radius:6px;box-sizing:border-box;pointer-events:none;word-wrap:break-word;background:#000;line-height:1.5;text-align:center;font-size:13px;font-weight:500;color:#fff;display:none}.excalidraw-tooltip.excalidraw-tooltip--visible{display:block}.excalidraw-tooltip-wrapper{display:flex}.excalidraw-tooltip-icon{width:.9em;height:.9em;margin-left:5px;margin-top:1px;display:flex}.excalidraw--mobile.excalidraw-tooltip-icon{display:none}",""]),t.Z=v},6359:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .UserList{pointer-events:none;padding:var(--space-factor) var(--space-factor) var(--space-factor) var(--space-factor);display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.625rem;max-height:140px;max-width:290px;overflow:hidden}.excalidraw .UserList:empty{display:none}.excalidraw .UserList>*{pointer-events:var(--ui-pointerEvents)}.excalidraw .UserList_mobile{padding:0;justify-content:normal;margin:.5rem 0}",""]),t.Z=v},7399:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .dropdown-menu{position:absolute;top:100%;margin-top:.25rem}.excalidraw .dropdown-menu--mobile{left:0;width:100%;row-gap:.75rem}.excalidraw .dropdown-menu--mobile .dropdown-menu-container{padding:8px 8px;box-sizing:border-box;box-shadow:var(--shadow-island);border-radius:var(--border-radius-lg);position:relative;transition:box-shadow .5s ease-in-out}.excalidraw .dropdown-menu--mobile .dropdown-menu-container.zen-mode{box-shadow:none}.excalidraw .dropdown-menu .dropdown-menu-container{background-color:var(--island-bg-color);max-height:calc(100vh - 150px);overflow-y:auto;--gap: 2}.excalidraw .dropdown-menu .dropdown-menu-item-base{display:flex;padding:0 .625rem;-webkit-column-gap:.625rem;column-gap:.625rem;font-size:.875rem;color:var(--color-on-surface);width:100%;box-sizing:border-box;font-weight:normal;font-family:inherit}.excalidraw .dropdown-menu .dropdown-menu-item{background-color:rgba(0,0,0,0);border:1px solid rgba(0,0,0,0);align-items:center;height:2rem;cursor:pointer;border-radius:var(--border-radius-md)}@media screen and (min-width: 1921px){.excalidraw .dropdown-menu .dropdown-menu-item{height:2.25rem}}.excalidraw .dropdown-menu .dropdown-menu-item--selected{background:var(--color-primary-light);--icon-fill-color: var(--color-primary-darker)}.excalidraw .dropdown-menu .dropdown-menu-item__text{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.excalidraw .dropdown-menu .dropdown-menu-item__shortcut{-webkit-margin-start:auto;margin-inline-start:auto;opacity:.5}.excalidraw .dropdown-menu .dropdown-menu-item:hover{background-color:var(--button-hover-bg);text-decoration:none}.excalidraw .dropdown-menu .dropdown-menu-item:active{background-color:var(--button-hover-bg);border-color:var(--color-brand-active)}.excalidraw .dropdown-menu .dropdown-menu-item svg{width:1rem;height:1rem;display:block}.excalidraw .dropdown-menu .dropdown-menu-item-custom{margin-top:.5rem}.excalidraw .dropdown-menu .dropdown-menu-group-title{font-size:14px;text-align:left;margin:10px 0;font-weight:500}.excalidraw .dropdown-menu-button{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));width:var(--lg-button-size);height:var(--lg-button-size);--background: var(--color-surface-mid);background-color:var(--background)}.excalidraw .dropdown-menu-button svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .dropdown-menu-button:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .dropdown-menu-button:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .dropdown-menu-button.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .dropdown-menu-button.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .dropdown-menu-button.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw.theme--dark.excalidraw .dropdown-menu-button{--background: var(--color-surface-high)}.excalidraw.theme--dark.excalidraw .dropdown-menu-button:hover{--background: #363541}.excalidraw .dropdown-menu-button:hover{--background: var(--color-surface-high);background-color:var(--background);text-decoration:none}.excalidraw .dropdown-menu-button:active{border-color:var(--color-primary)}.excalidraw .dropdown-menu-button svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .dropdown-menu-button--mobile{border:none;margin:0;padding:0;width:var(--default-button-size);height:var(--default-button-size)}",""]),t.Z=v},8793:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".footer-center{pointer-events:none;display:flex;width:100%;justify-content:flex-start;-webkit-margin-end:.6rem;margin-inline-end:.6rem}.footer-center>*{pointer-events:var(--ui-pointerEvents)}",""]),t.Z=v},3397:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,':export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw .collab-button{--button-bg: var(--color-primary);--button-color: white;--button-border: var(--color-primary);--button-width: var(--lg-button-size);--button-height: var(--lg-button-size);--button-hover-bg: var(--color-primary-darker);--button-hover-border: var(--color-primary-darker);--button-active-bg: var(--color-primary-darker);box-shadow:0 0 0 1px var(--color-surface-lowest);flex-shrink:0}.excalidraw .collab-button.active.active{background-color:#0fb884;border-color:#0fb884}.excalidraw .collab-button.active.active svg{color:#fff}.excalidraw .collab-button.active.active:hover,.excalidraw .collab-button.active.active:active{background-color:#0fb884;border-color:#0fb884}.excalidraw.theme--dark .collab-button{color:var(--color-gray-90)}.excalidraw .CollabButton.is-collaborating{background-color:var(--button-special-active-bg-color)}.excalidraw .CollabButton.is-collaborating .ToolIcon__icon svg,.excalidraw .CollabButton.is-collaborating .ToolIcon__label{color:var(--icon-green-fill-color)}.excalidraw .CollabButton-collaborators{min-width:1em;min-height:1em;line-height:1;position:absolute;bottom:-5px;padding:3px;border-radius:50%;background-color:#b2f2bb;color:#2b8a3e;font-size:.6rem;font-family:"Cascadia"}:root[dir=ltr] .excalidraw .CollabButton-collaborators{right:-5px}:root[dir=rtl] .excalidraw .CollabButton-collaborators{left:-5px}',""]),t.Z=v},4343:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".excalidraw .ActiveFile .ActiveFile__fileName{display:flex;align-items:center}.excalidraw .ActiveFile .ActiveFile__fileName span{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:9.3em}.excalidraw .ActiveFile .ActiveFile__fileName svg{width:1.15em;-webkit-margin-end:.3em;margin-inline-end:.3em;-webkit-transform:scaleY(0.9);transform:scaleY(0.9)}",""]),t.Z=v},1569:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,'.excalidraw .virgil{font-family:"Virgil"}.excalidraw .welcome-screen-decor{pointer-events:none;color:var(--color-gray-40)}.excalidraw .welcome-screen-decor a{--color: var(--color-primary);color:var(--color);text-decoration:none;margin-bottom:-6px}.excalidraw.theme--dark .welcome-screen-decor{color:var(--color-gray-60)}@media(max-height: 599px){.excalidraw .welcome-screen-decor-hint{display:none !important}}@media(max-width: 1024px),(max-width: 800px){.excalidraw .welcome-screen-decor-hint .welcome-screen-decor--help,.excalidraw .welcome-screen-decor-hint .welcome-screen-decor--menu{display:none}}.excalidraw .welcome-screen-decor-hint--help{display:flex;position:absolute;right:0;bottom:100%}:root[dir=rtl] .excalidraw .welcome-screen-decor-hint--help{left:0;right:auto}.excalidraw .welcome-screen-decor-hint--help svg{margin-top:.5rem;width:85px;height:71px;-webkit-transform:scaleX(-1) rotate(80deg);transform:scaleX(-1) rotate(80deg)}:root[dir=rtl] .excalidraw .welcome-screen-decor-hint--help svg{-webkit-transform:rotate(80deg);transform:rotate(80deg)}.excalidraw .welcome-screen-decor-hint--toolbar{position:absolute;top:100%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);margin-top:2.5rem;display:flex;align-items:baseline}.excalidraw .welcome-screen-decor-hint--toolbar .welcome-screen-decor-hint__label{width:120px;position:relative;top:-0.5rem}.excalidraw .welcome-screen-decor-hint--toolbar svg{width:38px;height:78px}:root[dir=rtl] .excalidraw .welcome-screen-decor-hint--toolbar svg{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.excalidraw .welcome-screen-decor-hint--menu{position:absolute;width:320px;font-size:1rem;top:100%;margin-top:.25rem;-webkit-margin-start:.6rem;margin-inline-start:.6rem;display:flex;align-items:flex-end;gap:.5rem}.excalidraw .welcome-screen-decor-hint--menu svg{width:41px;height:94px}:root[dir=rtl] .excalidraw .welcome-screen-decor-hint--menu svg{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@media(max-width: 860px){.excalidraw .welcome-screen-decor-hint--menu .welcome-screen-decor-hint__label{max-width:160px}}.excalidraw .welcome-screen-center{display:flex;flex-direction:column;gap:2rem;justify-content:center;align-items:center;position:absolute;pointer-events:none;left:1rem;top:1rem;right:1rem;bottom:1rem}.excalidraw .welcome-screen-center__logo{display:flex;align-items:center;-webkit-column-gap:.75rem;column-gap:.75rem;font-size:2.25rem}.excalidraw .welcome-screen-center__heading{font-size:1.125rem;text-align:center}.excalidraw .welcome-screen-menu{display:flex;flex-direction:column;gap:2px;justify-content:center;align-items:center}.excalidraw .welcome-screen-menu-item{box-sizing:border-box;pointer-events:var(--ui-pointerEvents);color:var(--color-gray-50);font-size:.875rem;width:100%;min-width:300px;max-width:400px;display:grid;align-items:center;justify-content:space-between;background:none;border:1px solid rgba(0,0,0,0);padding:.75rem;border-radius:var(--border-radius-md);grid-template-columns:calc(var(--default-icon-size) + .5rem) 1fr 3rem}.excalidraw .welcome-screen-menu-item__text{display:flex;align-items:center;margin-right:auto;text-align:left;-webkit-column-gap:.5rem;column-gap:.5rem}.excalidraw .welcome-screen-menu-item__icon{width:var(--default-icon-size);height:var(--default-icon-size)}.excalidraw .welcome-screen-menu-item__shortcut{margin-left:auto;color:var(--color-gray-40);font-size:.75rem}.excalidraw .welcome-screen-menu-item:hover{text-decoration:none;background:var(--button-hover-bg)}.excalidraw .welcome-screen-menu-item:hover .welcome-screen-menu-item__shortcut{color:var(--color-gray-50)}.excalidraw .welcome-screen-menu-item:hover .welcome-screen-menu-item__text{color:var(--color-gray-100)}.excalidraw .welcome-screen-menu-item:active{background:var(--button-hover-bg);border-color:var(--color-brand-active)}.excalidraw .welcome-screen-menu-item:active .welcome-screen-menu-item__shortcut{color:var(--color-gray-50)}.excalidraw .welcome-screen-menu-item:active .welcome-screen-menu-item__text{color:var(--color-gray-100)}.excalidraw .welcome-screen-menu-item:active--promo{color:var(--color-promo) !important}.excalidraw .welcome-screen-menu-item:active--promo:hover .welcome-screen-menu-item__text{color:var(--color-promo) !important}.excalidraw.theme--dark .welcome-screen-menu-item{color:var(--color-gray-60)}.excalidraw.theme--dark .welcome-screen-menu-item__shortcut{color:var(--color-gray-60)}.excalidraw.theme--dark .welcome-screen-menu-item:hover{background-color:var(--color-surface-low)}.excalidraw.theme--dark .welcome-screen-menu-item:hover .welcome-screen-menu-item__shortcut{color:var(--color-gray-50)}.excalidraw.theme--dark .welcome-screen-menu-item:hover .welcome-screen-menu-item__text{color:var(--color-gray-10)}.excalidraw.theme--dark .welcome-screen-menu-item:active .welcome-screen-menu-item__text{color:var(--color-gray-10)}@media(max-height: 599px){.excalidraw .welcome-screen-center{margin-top:4rem}}@media(min-height: 600px)and (max-height: 900px){.excalidraw .welcome-screen-center{margin-top:8rem}}@media(max-height: 500px),(max-width: 320px){.excalidraw .welcome-screen-center{display:none}}',""]),t.Z=v},9915:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,".visually-hidden{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);white-space:nowrap;-webkit-user-select:none;user-select:none}.LoadingMessage{position:absolute;top:0;right:0;bottom:0;left:0;z-index:999;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.LoadingMessage .Spinner{font-size:2.8em}.LoadingMessage .LoadingMessage-text{margin-top:1em;font-size:.8em}.LoadingMessage--dark{background-color:#121212;color:#ced4da}",""]),t.Z=v},9310:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m),I=e(1667),x=e.n(I),c=new URL(e(7984),e.b),f=new URL(e(1639),e.b),Z=v()(w()),N=x()(c),W=x()(f);Z.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}:export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw{--theme-filter: none;--button-destructive-bg-color: #ffe3e3;--button-destructive-color: #c92a2a;--button-gray-1: #e9ecef;--button-gray-2: #ced4da;--button-gray-3: #adb5bd;--button-special-active-bg-color: #ebfbee;--dialog-border-color: var(--color-gray-20);--dropdown-icon: url("+N+");--focus-highlight-color: #a5d8ff;--icon-fill-color: var(--color-on-surface);--icon-green-fill-color: #2b8a3e;--default-bg-color: #ffffff;--input-bg-color: #ffffff;--input-border-color: #ced4da;--input-hover-bg-color: #f1f3f5;--input-label-color: #495057;--island-bg-color: #ffffff;--keybinding-color: var(--color-gray-40);--link-color: #1c7ed6;--overlay-bg-color: rgba(255, 255, 255, 0.88);--popup-bg-color: var(--island-bg-color);--popup-secondary-bg-color: #f1f3f5;--popup-text-color: #000000;--popup-text-inverted-color: #ffffff;--select-highlight-color: #339af0;--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17), 0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);--button-hover-bg: var(--color-surface-high);--button-active-bg: var(--color-surface-high);--button-active-border: var(--color-brand-active);--default-border-color: var(--color-surface-high);--default-button-size: 2rem;--default-icon-size: 1rem;--lg-button-size: 2.25rem;--lg-icon-size: 1rem;--editor-container-padding: 1rem;--scrollbar-thumb: var(--button-gray-2);--scrollbar-thumb-hover: var(--button-gray-3);--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--avatar-border-color: var(--color-gray-20);--sidebar-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--sidebar-border-color: var(--color-surface-high);--sidebar-bg-color: var(--island-bg-color);--library-dropdown-shadow: 0px 15px 6px rgba(0, 0, 0, 0.01), 0px 8px 5px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.09), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);--space-factor: 0.25rem;--text-primary-color: var(--color-on-surface);--color-selection: #6965db;--color-icon-white: #ffffff;--color-primary: #6965db;--color-primary-darker: #5b57d1;--color-primary-darkest: #4a47b1;--color-primary-light: #e3e2fe;--color-primary-light-darker: #d7d5ff;--color-gray-10: #f5f5f5;--color-gray-20: #ebebeb;--color-gray-30: #d6d6d6;--color-gray-40: #b8b8b8;--color-gray-50: #999999;--color-gray-60: #7a7a7a;--color-gray-70: #5c5c5c;--color-gray-80: #3d3d3d;--color-gray-85: #242424;--color-gray-90: #1e1e1e;--color-gray-100: #121212;--color-warning: #fceeca;--color-warning-dark: #f5c354;--color-warning-darker: #f3ab2c;--color-warning-darkest: #ec8b14;--color-text-warning: var(--text-primary-color);--color-danger: #db6965;--color-danger-dark: #db6965;--color-danger-darker: #d65550;--color-danger-darkest: #d1413c;--color-danger-text: black;--color-danger-background: #fff0f0;--color-danger-icon-background: #ffdad6;--color-danger-color: #700000;--color-danger-icon-color: #700000;--color-warning-background: var(--color-warning);--color-warning-icon-background: var(--color-warning-dark);--color-warning-color: var(--text-primary-color);--color-warning-icon-color: var(--text-primary-color);--color-muted: var(--color-gray-30);--color-muted-darker: var(--color-gray-60);--color-muted-darkest: var(--color-gray-100);--color-muted-background: var(--color-gray-80);--color-muted-background-darker: var(--color-gray-100);--color-promo: #e70078;--color-success: #268029;--color-success-lighter: #cafccc;--color-logo-icon: var(--color-primary);--color-logo-text: #190064;--border-radius-md: 0.375rem;--border-radius-lg: 0.5rem;--color-surface-high: hsl(244, 100%, 97%);--color-surface-mid: hsl(240 25% 96%);--color-surface-low: hsl(240 25% 94%);--color-surface-lowest: #ffffff;--color-on-surface: #1b1b1f;--color-brand-hover: #5753d0;--color-on-primary-container: #030064;--color-surface-primary-container: #e0dfff;--color-brand-active: #4440bf;--color-border-outline: #767680;--color-border-outline-variant: #c5c5d0;--color-surface-primary-container: #e0dfff}@media screen and (min-device-width: 1921px){.excalidraw{--lg-button-size: 2.5rem;--lg-icon-size: 1.25rem;--default-button-size: 2.25rem;--default-icon-size: 1.25rem}}.excalidraw.theme--dark.theme--dark-background-none{background:none}.excalidraw.theme--dark{--theme-filter: invert(93%) hue-rotate(180deg);--button-destructive-bg-color: #5a0000;--button-destructive-color: #ffa8a8;--button-gray-1: #363636;--button-gray-2: #272727;--button-gray-3: #222;--button-special-active-bg-color: #204624;--dialog-border-color: var(--color-gray-80);--dropdown-icon: url("+W+');--focus-highlight-color: #228be6;--icon-green-fill-color: #69db7c;--default-bg-color: #121212;--input-bg-color: #121212;--input-border-color: #2e2e2e;--input-hover-bg-color: #181818;--input-label-color: #e9ecef;--island-bg-color: #232329;--keybinding-color: var(--color-gray-60);--link-color: #4dabf7;--overlay-bg-color: rgba(52, 58, 64, 0.12);--popup-secondary-bg-color: #222;--popup-text-color: #ced4da;--popup-text-inverted-color: #2c2c2c;--select-highlight-color: #4dabf7;--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17), 0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275), 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);--avatar-border-color: var(--color-gray-85);--scrollbar-thumb: #343a40;--scrollbar-thumb-hover: #495057;--color-selection: #3530c4;--color-icon-white: var(--color-gray-90);--color-primary: #a8a5ff;--color-primary-darker: #b2aeff;--color-primary-darkest: #beb9ff;--color-primary-light: #4f4d6f;--color-primary-light-darker: #43415e;--color-text-warning: var(--color-gray-80);--color-danger: #ffa8a5;--color-danger-dark: #672120;--color-danger-darker: #8f2625;--color-danger-darkest: #ac2b29;--color-danger-text: #fbcbcc;--color-danger-background: #fbcbcc;--color-danger-icon-background: #672120;--color-danger-color: #261919;--color-danger-icon-color: #fbcbcc;--color-warning-background: var(--color-warning);--color-warning-icon-background: var(--color-warning-dark);--color-warning-color: var(--color-gray-80);--color-warning-icon-color: var(--color-gray-80);--color-muted: var(--color-gray-80);--color-muted-darker: var(--color-gray-60);--color-muted-darkest: var(--color-gray-20);--color-muted-background: var(--color-gray-40);--color-muted-background-darker: var(--color-gray-20);--color-promo: #d297ff;--color-logo-text: #e2dfff;--color-surface-high: hsl(245, 10%, 21%);--color-surface-low: hsl(240, 8%, 15%);--color-surface-mid: hsl(240 6% 10%);--color-surface-lowest: hsl(0, 0%, 7%);--color-on-surface: #e3e3e8;--color-brand-hover: #bbb8ff;--color-on-primary-container: #e0dfff;--color-surface-primary-container: #403e6a;--color-brand-active: #d0ccff;--color-border-outline: #8e8d9c;--color-border-outline-variant: #46464f;--color-surface-primary-container: #403e6a}:root{--zIndex-canvas: 1;--zIndex-interactiveCanvas: 2;--zIndex-wysiwyg: 3;--zIndex-layerUI: 4;--zIndex-eyeDropperBackdrop: 5;--zIndex-eyeDropperPreview: 6;--zIndex-modal: 1000;--zIndex-popup: 1001;--zIndex-toast: 999999;--sab: env(safe-area-inset-bottom);--sal: env(safe-area-inset-left);--sar: env(safe-area-inset-right);--sat: env(safe-area-inset-top)}.excalidraw{--ui-font: Assistant, system-ui, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;font-family:var(--ui-font);position:relative;overflow:hidden;color:var(--text-primary-color);display:flex;top:0;bottom:0;left:0;right:0;height:100%;width:100%;-webkit-user-select:none;user-select:none}.excalidraw button{cursor:pointer}.excalidraw:focus{outline:none}.excalidraw a{font-weight:500;text-decoration:none;color:var(--link-color)}.excalidraw a:hover{text-decoration:underline}.excalidraw canvas{touch-action:none;image-rendering:pixelated;image-rendering:-moz-crisp-edges;z-index:var(--zIndex-canvas)}.excalidraw canvas.interactive{z-index:var(--zIndex-interactiveCanvas)}.excalidraw__canvas-wrapper,.excalidraw__canvas.static{pointer-events:none}.excalidraw__canvas{position:absolute}.excalidraw__embeddable{width:100%;height:100%;border:0}.excalidraw__embeddable-container{position:absolute;z-index:2;-webkit-transform-origin:top left;transform-origin:top left;pointer-events:none}.excalidraw.theme--dark canvas{-webkit-filter:var(--theme-filter);filter:var(--theme-filter)}.excalidraw .FixedSideContainer{padding-top:var(--sat, 0);padding-right:var(--sar, 0);padding-bottom:var(--sab, 0);padding-left:var(--sal, 0)}.excalidraw .panelRow{display:flex;justify-content:space-between}.excalidraw .panelColumn{display:flex;flex-direction:column;row-gap:.75rem}.excalidraw .panelColumn h3,.excalidraw .panelColumn legend,.excalidraw .panelColumn .control-label{margin:0;margin-bottom:.25rem;font-size:.75rem;color:var(--text-primary-color);font-weight:normal;display:block}.excalidraw .panelColumn .control-label input{display:block;width:100%}.excalidraw .panelColumn legend{padding:0}.excalidraw .panelColumn .iconSelectList{flex-wrap:wrap;position:relative}.excalidraw .panelColumn .buttonList{flex-wrap:wrap;display:flex;-webkit-column-gap:.5rem;column-gap:.5rem;row-gap:.5rem}.excalidraw .panelColumn .buttonList label{font-size:.75rem}.excalidraw .panelColumn .buttonList input[type=radio],.excalidraw .panelColumn .buttonList input[type=button]{opacity:0;position:absolute;pointer-events:none}.excalidraw .panelColumn .buttonList .iconRow{margin-top:8px}.excalidraw .panelColumn fieldset{margin:0;padding:0;border:none}.excalidraw .divider{width:1px;background-color:#e9ecef;margin:1px}.excalidraw .welcome-screen-menu-item:focus-visible,.excalidraw .dropdown-menu-item:focus-visible,.excalidraw button:focus-visible,.excalidraw .buttonList label:focus-within,.excalidraw input:focus-visible{outline:rgba(0,0,0,0);box-shadow:0 0 0 1px var(--color-brand-hover)}.excalidraw .buttonList .ToolIcon__icon{all:unset !important;display:flex !important}.excalidraw .buttonList button{background-color:rgba(0,0,0,0)}.excalidraw .buttonList label,.excalidraw .buttonList button,.excalidraw .buttonList .zIndexButton{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));padding:0}.excalidraw .buttonList label svg,.excalidraw .buttonList button svg,.excalidraw .buttonList .zIndexButton svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .buttonList label:hover,.excalidraw .buttonList button:hover,.excalidraw .buttonList .zIndexButton:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .buttonList label:active,.excalidraw .buttonList button:active,.excalidraw .buttonList .zIndexButton:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .buttonList label.active,.excalidraw .buttonList button.active,.excalidraw .buttonList .zIndexButton.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .buttonList label.active:hover,.excalidraw .buttonList button.active:hover,.excalidraw .buttonList .zIndexButton.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .buttonList label.active svg,.excalidraw .buttonList button.active svg,.excalidraw .buttonList .zIndexButton.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .buttonList label svg,.excalidraw .buttonList button svg,.excalidraw .buttonList .zIndexButton svg{width:var(--default-icon-size);height:var(--default-icon-size)}.excalidraw .App-top-bar{z-index:var(--zIndex-layerUI);display:flex;flex-direction:column;align-items:center}.excalidraw .App-bottom-bar{position:absolute;top:0;bottom:0;left:0;right:0;--bar-padding: calc(4 * var(--space-factor));padding-top:max(var(--bar-padding), var(--sat,0));padding-right:var(--sar, 0);padding-bottom:var(--sab, 0);padding-left:var(--sal, 0);z-index:4;display:flex;align-items:flex-end;pointer-events:none}.excalidraw .App-bottom-bar>.Island{width:100%;max-width:100%;min-width:100%;box-sizing:border-box;max-height:100%;display:flex;flex-direction:column;pointer-events:var(--ui-pointerEvents)}.excalidraw .App-bottom-bar>.Island .panelColumn{padding:8px 8px 0 8px}.excalidraw .App-toolbar{width:100%}.excalidraw .App-toolbar .eraser.ToolIcon:hover{--icon-fill-color: #fff;--keybinding-color: #fff}.excalidraw .App-toolbar .eraser.active{background-color:var(--color-primary)}.excalidraw .App-toolbar-content{display:flex;align-items:center;justify-content:space-between;padding:8px}.excalidraw .App-toolbar-content .dropdown-menu--mobile{bottom:55px;top:auto}.excalidraw .App-mobile-menu{width:100%;overflow-x:visible;overflow-y:auto;box-sizing:border-box;margin-bottom:var(--bar-padding)}.excalidraw .App-menu{display:grid;color:var(--icon-fill-color)}.excalidraw .shapes-section{display:flex;justify-content:center;pointer-events:none !important}.excalidraw .shapes-section>*{pointer-events:var(--ui-pointerEvents)}.excalidraw .App-menu_top{grid-template-columns:1fr 2fr 1fr;grid-gap:2rem;align-items:flex-start;cursor:default;pointer-events:none !important}.excalidraw .App-menu_top>*{pointer-events:var(--ui-pointerEvents)}@media(min-width: 1536px){.excalidraw .App-menu_top{grid-template-columns:1fr 1fr 1fr;grid-gap:3rem}}.excalidraw .App-menu_top>*:first-child{justify-self:flex-start}.excalidraw .App-menu_top>*:last-child{justify-self:flex-end}.excalidraw .App-menu_bottom{position:absolute;bottom:1rem;display:flex;justify-content:space-between;align-items:flex-start;cursor:default;pointer-events:none !important;box-sizing:border-box;padding:0 1rem}.excalidraw .App-menu_bottom--transition-left section{width:185px}.excalidraw .App-menu_bottom section{display:flex}.excalidraw .App-menu_bottom>*:first-child{justify-self:flex-start}.excalidraw .App-menu_bottom>*:last-child{justify-self:flex-end}.excalidraw .App-menu_left{grid-template-rows:1fr auto 1fr;height:100%}.excalidraw .App-menu_right{grid-template-rows:1fr;height:100%}.excalidraw .App-menu__left{overflow-y:auto;padding:.75rem;width:202px;box-sizing:border-box;position:absolute}.excalidraw .dropdown-select{height:1.5rem;padding:0;-webkit-padding-start:.5rem;padding-inline-start:.5rem;-webkit-padding-end:1.5rem;padding-inline-end:1.5rem;color:var(--icon-fill-color);background-color:var(--button-gray-1);border-radius:var(--space-factor);border:1px solid var(--button-gray-2);font-size:.8rem;font-family:inherit;outline:none;-webkit-appearance:none;appearance:none;background-image:var(--dropdown-icon);background-repeat:no-repeat;background-position:right .7rem top 50%,0 0;background-size:.65em auto,100%}:root[dir=rtl] .excalidraw .dropdown-select{background-position:left .7rem top 50%,0 0}.excalidraw .dropdown-select:focus{box-shadow:0 0 0 2px var(--focus-highlight-color)}.excalidraw .dropdown-select:hover{background-color:var(--button-gray-2)}.excalidraw .dropdown-select:active{background-color:var(--button-gray-2)}.excalidraw .dropdown-select__language{height:2rem;background-color:var(--island-bg-color);border-color:var(--default-border-color) !important;cursor:pointer}.excalidraw .dropdown-select__language:hover{background-color:var(--island-bg-color)}.excalidraw .scroll-back-to-content{border-radius:var(--border-radius-lg);background-color:var(--island-bg-color);color:var(--icon-fill-color);border:1px solid var(--default-border-color);padding:10px 20px;position:absolute;left:50%;bottom:30px;-webkit-transform:translateX(-50%);transform:translateX(-50%);pointer-events:var(--ui-pointerEvents);font-family:inherit}.excalidraw .scroll-back-to-content:hover{background-color:var(--button-hover-bg)}.excalidraw .scroll-back-to-content:active{border:1px solid var(--button-active-border)}.excalidraw .help-icon{display:flex;justify-content:center;align-items:center;padding:.625rem;width:var(--button-width, var(--default-button-size));height:var(--button-height, var(--default-button-size));box-sizing:border-box;border-width:1px;border-style:solid;border-color:var(--button-border, var(--default-border-color));border-radius:var(--border-radius-lg);cursor:pointer;background-color:var(--button-bg, var(--island-bg-color));color:var(--button-color, var(--color-on-surface));border:none;box-shadow:0 0 0 1px var(--color-surface-lowest);background-color:var(--color-surface-low);width:var(--lg-button-size);height:var(--lg-button-size)}.excalidraw .help-icon svg{width:var(--button-width, var(--lg-icon-size));height:var(--button-height, var(--lg-icon-size))}.excalidraw .help-icon:hover{background-color:var(--button-hover-bg, var(--island-bg-color));border-color:var(--button-hover-border, var(--button-border, var(--default-border-color)));color:var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)))}.excalidraw .help-icon:active{background-color:var(--button-active-bg, var(--island-bg-color));border-color:var(--button-active-border, var(--color-primary-darkest))}.excalidraw .help-icon.active{background-color:var(--button-selected-bg, var(--color-surface-primary-container));border-color:var(--button-selected-border, var(--color-surface-primary-container))}.excalidraw .help-icon.active:hover{background-color:var(--button-selected-hover-bg, var(--color-surface-primary-container))}.excalidraw .help-icon.active svg{color:var(--button-color, var(--color-on-primary-container))}.excalidraw .help-icon:active{box-shadow:0 0 0 1px var(--color-brand-active)}.excalidraw .help-icon svg{width:var(--lg-icon-size);height:var(--lg-icon-size)}.excalidraw .reset-zoom-button{font-family:var(--ui-font)}.excalidraw .finalize-button{display:grid;grid-auto-flow:column;gap:.4em;margin-top:auto;margin-bottom:auto;-webkit-margin-start:.6em;margin-inline-start:.6em}.excalidraw .undo-redo-buttons,.excalidraw .eraser-buttons{display:grid;grid-auto-flow:column;margin-top:auto;margin-bottom:auto;-webkit-margin-start:.6em;margin-inline-start:.6em}.excalidraw--mobile.excalidraw aside{display:none}.excalidraw--mobile.excalidraw .scroll-back-to-content{bottom:calc(80px + var(--sab, 0));z-index:-1}:root[dir=rtl] .excalidraw .rtl-mirror{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.excalidraw .zen-mode-visibility{visibility:visible;opacity:1;height:auto;width:auto;transition:opacity .5s}.excalidraw .zen-mode-visibility.zen-mode-visibility--hidden{visibility:hidden;opacity:0;height:0;width:0;transition:opacity .5s}.excalidraw .disable-pointerEvents{pointer-events:none !important}.excalidraw.excalidraw--view-mode .App-menu{display:flex;justify-content:space-between}.excalidraw input[type=text],.excalidraw textarea:not(.excalidraw-wysiwyg){color:var(--text-primary-color);border:1.5px solid var(--input-border-color);padding:.75rem;white-space:nowrap;border-radius:var(--space-factor);background-color:var(--input-bg-color)}.excalidraw input[type=text]:not(:focus):hover,.excalidraw textarea:not(.excalidraw-wysiwyg):not(:focus):hover{border-color:var(--color-brand-hover)}.excalidraw input[type=text]:focus,.excalidraw textarea:not(.excalidraw-wysiwyg):focus{outline:none;border-color:var(--color-brand-hover)}@media print{.excalidraw .App-bottom-bar,.excalidraw .FixedSideContainer,.excalidraw .layer-ui__wrapper{display:none}}.excalidraw ::-webkit-scrollbar{width:3px;height:3px}.excalidraw select::-webkit-scrollbar{width:10px}.excalidraw ::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:10px}.excalidraw ::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.excalidraw ::-webkit-scrollbar-thumb:active{background:var(--scrollbar-thumb)}.excalidraw .mobile-misc-tools-container{position:absolute;top:calc(5rem - var(--editor-container-padding));right:calc(var(--editor-container-padding)*-1);display:flex;flex-direction:column;border:1px solid var(--sidebar-border-color);border-top-left-radius:var(--border-radius-lg);border-bottom-left-radius:var(--border-radius-lg);border-right:0;overflow:hidden;background-color:var(--island-bg-color)}.excalidraw .mobile-misc-tools-container .ToolIcon__icon{width:2rem;height:2rem;border-radius:0}.excalidraw .mobile-misc-tools-container .default-sidebar-trigger{border:0}.excalidraw .App-toolbar--mobile{overflow:visible;max-width:98vw}.excalidraw .App-toolbar--mobile .ToolIcon__keybinding{display:none}.excalidraw .UserList-Wrapper{margin:0;padding:0;border:none;text-align:left}.excalidraw .UserList-Wrapper legend{display:block;font-size:.75rem;font-weight:400;margin:0 0 .25rem;padding:0}.excalidraw .main-menu-trigger{border:none;box-shadow:0 0 0 1px var(--color-surface-lowest);background-color:var(--color-surface-low)}.excalidraw .main-menu-trigger:active{box-shadow:0 0 0 1px var(--color-brand-active)}.excalidraw .App-menu__left{--button-border: transparent;--button-bg: var(--color-surface-mid)}.excalidraw.theme--dark.excalidraw .App-menu__left{--button-hover-bg: #363541;--button-bg: var(--color-surface-high)}.ErrorSplash.excalidraw{min-height:100vh;padding:20px 0;overflow:auto;display:flex;align-items:center;justify-content:center;-webkit-user-select:text;user-select:text}.ErrorSplash.excalidraw .ErrorSplash-messageContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;background-color:#ffe3e3;border:3px solid #c92a2a}.ErrorSplash.excalidraw .ErrorSplash-paragraph{margin:15px 0;max-width:600px}.ErrorSplash.excalidraw .ErrorSplash-paragraph.align-center{text-align:center}.ErrorSplash.excalidraw .bigger,.ErrorSplash.excalidraw .bigger button{font-size:1.1em}.ErrorSplash.excalidraw .smaller,.ErrorSplash.excalidraw .smaller button{font-size:.9em}.ErrorSplash.excalidraw .ErrorSplash-details{display:flex;flex-direction:column;align-items:flex-start}.ErrorSplash.excalidraw .ErrorSplash-details textarea{width:100%;margin:10px 0;font-family:"Cascadia";font-size:.8em}.excalidraw__embeddable-container .excalidraw__embeddable-container__inner{overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:var(--embeddable-radius)}.excalidraw__embeddable-container .excalidraw__embeddable__outer{width:100%;height:100%}.excalidraw__embeddable-container .excalidraw__embeddable__outer>*{border-radius:var(--embeddable-radius)}.excalidraw__embeddable-container .excalidraw__embeddable-hint{position:absolute;z-index:1;background:rgba(0,0,0,.5);padding:1rem 1.6rem;border-radius:12px;color:#fff;font-weight:bold;letter-spacing:.6px;font-family:"Assistant"}',""]),t.Z=Z},6464:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,"",""]),v.locals={themeFilter:"invert(93%) hue-rotate(180deg)",rightSidebarWidth:"302px"},t.Z=v},5260:function(fe,t,e){var P=e(8081),w=e.n(P),m=e(3645),v=e.n(m)()(w());v.push([fe.id,":export{themeFilter:invert(93%) hue-rotate(180deg);rightSidebarWidth:302px}.excalidraw-hyperlinkContainer{display:flex;align-items:center;justify-content:space-between;position:absolute;box-shadow:0px 2px 4px 0 rgba(0,0,0,.3);z-index:100;background:var(--island-bg-color);border-radius:var(--border-radius-md);box-sizing:border-box;min-height:42px}.excalidraw-hyperlinkContainer-input,.excalidraw-hyperlinkContainer button{z-index:100}.excalidraw-hyperlinkContainer-input,.excalidraw-hyperlinkContainer-link{height:24px;padding:0 8px;line-height:24px;font-size:.9rem;font-weight:500;font-family:var(--ui-font)}.excalidraw-hyperlinkContainer-input{width:18rem;border:none;background-color:rgba(0,0,0,0);color:var(--text-primary-color);outline:none;border:none;box-shadow:none !important}.excalidraw-hyperlinkContainer-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:15rem}.excalidraw-hyperlinkContainer button{color:#228be6;background-color:rgba(0,0,0,0) !important;font-weight:500}.excalidraw-hyperlinkContainer button.excalidraw-hyperlinkContainer--remove{color:#c92a2a}.excalidraw-hyperlinkContainer--remove .ToolIcon__icon svg{color:#fa5252}.excalidraw-hyperlinkContainer .ToolIcon__icon{width:2rem;height:2rem}.excalidraw-hyperlinkContainer__buttons{flex:0 0 auto}",""]),t.Z=v},3645:function(fe){fe.exports=function(t){var e=[];return e.toString=function(){return this.map(function(P){var w="",m=P[5]!==void 0;return P[4]&&(w+="@supports (".concat(P[4],") {")),P[2]&&(w+="@media ".concat(P[2]," {")),m&&(w+="@layer".concat(P[5].length>0?" ".concat(P[5]):""," {")),w+=t(P),m&&(w+="}"),P[2]&&(w+="}"),P[4]&&(w+="}"),w}).join("")},e.i=function(P,w,m,v,I){typeof P=="string"&&(P=[[null,P,void 0]]);var x={};if(m)for(var c=0;c<this.length;c++){var f=this[c][0];f!=null&&(x[f]=!0)}for(var Z=0;Z<P.length;Z++){var N=[].concat(P[Z]);m&&x[N[0]]||(I!==void 0&&(N[5]===void 0||(N[1]="@layer".concat(N[5].length>0?" ".concat(N[5]):""," {").concat(N[1],"}")),N[5]=I),w&&(N[2]&&(N[1]="@media ".concat(N[2]," {").concat(N[1],"}")),N[2]=w),v&&(N[4]?(N[1]="@supports (".concat(N[4],") {").concat(N[1],"}"),N[4]=v):N[4]="".concat(v)),e.push(N))}},e}},1667:function(fe){fe.exports=function(t,e){return e||(e={}),t&&(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},8081:function(fe){fe.exports=function(t){return t[1]}},7392:function(fe,t,e){e.d(t,{JQ:function(){return le},vD:function(){return he},y7:function(){return ce}});var P=e(1930),w=e(7169),m=e(9937),v=e(7651),I=e(583),x=e(4761),c=e(3474),f=e(4183),Z=e(9827),N=e(2767);function W(G,U){var H=typeof Symbol<"u"&&G[Symbol.iterator]||G["@@iterator"];if(!H){if(Array.isArray(G)||(H=function(d,r){if(d){if(typeof d=="string")return k(d,r);var n=Object.prototype.toString.call(d).slice(8,-1);if(n==="Object"&&d.constructor&&(n=d.constructor.name),n==="Map"||n==="Set")return Array.from(d);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(d,r)}}(G))||U&&G&&typeof G.length=="number"){H&&(G=H);var M=0,A=function(){};return{s:A,n:function(){return M>=G.length?{done:!0}:{done:!1,value:G[M++]}},e:function(d){throw d},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b,y=!0,h=!1;return{s:function(){H=H.call(G)},n:function(){var d=H.next();return y=d.done,d},e:function(d){h=!0,b=d},f:function(){try{y||H.return==null||H.return()}finally{if(h)throw b}}}}function k(G,U){(U==null||U>G.length)&&(U=G.length);for(var H=0,M=new Array(U);H<U;H++)M[H]=G[H];return M}function S(G,U){var H=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);U&&(M=M.filter(function(A){return Object.getOwnPropertyDescriptor(G,A).enumerable})),H.push.apply(H,M)}return H}function J(G){for(var U=1;U<arguments.length;U++){var H=arguments[U]!=null?arguments[U]:{};U%2?S(Object(H),!0).forEach(function(M){(0,w.Z)(G,M,H[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(H)):S(Object(H)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(H,M))})}return G}var ce=(0,N.z)({name:"unbindText",contextItemLabel:"labels.unbindText",trackEvent:{category:"element"},predicate:function(G,U,H,M){return M.scene.getSelectedElements(U).some(function(A){return(0,f.Xo)(A)})},perform:function(G,U,H,M){return M.scene.getSelectedElements(U).forEach(function(A){var b=(0,x.WJ)(A);if(b){var y,h=(0,x.X1)(b.originalText,(0,Z.mO)(b),b.lineHeight),d=h.width,r=h.height,n=h.baseline,p=(0,c.eR)(A.id);(0,c.kT)(A.id);var a=(0,x.FE)(A,b),l=a.x,u=a.y;(0,I.DR)(b,{containerId:null,width:d,height:r,baseline:n,text:b.originalText,x:l,y:u}),(0,I.DR)(A,{boundElements:(y=A.boundElements)===null||y===void 0?void 0:y.filter(function(C){return C.id!==b.id}),height:p||A.height})}}),{elements:G,appState:U,commitToHistory:!0}}}),he=(0,N.z)({name:"bindText",contextItemLabel:"labels.bindText",trackEvent:{category:"element"},predicate:function(G,U,H,M){var A=M.scene.getSelectedElements(U);if(A.length===2){var b,y=(0,v.iB)(A[0])||(0,v.iB)(A[1]);if((0,f.mG)(A[0])?b=A[0]:(0,f.mG)(A[1])&&(b=A[1]),y&&b&&(0,x.WJ)(b)===null)return!0}return!1},perform:function(G,U,H,M){var A,b,y=M.scene.getSelectedElements(U);(0,v.iB)(y[0])&&(0,f.mG)(y[1])?(A=y[0],b=y[1]):(A=y[1],b=y[0]),(0,I.DR)(A,{containerId:b.id,verticalAlign:m.oX.MIDDLE,textAlign:m.I8.CENTER}),(0,I.DR)(b,{boundElements:(b.boundElements||[]).concat({type:"text",id:A.id})});var h=b.height;return(0,x.oN)(A,b),(0,c.h_)(b.id,h),{elements:ve(G,b,A),appState:J(J({},U),{},{selectedElementIds:(0,w.Z)({},b.id,!0)}),commitToHistory:!0}}}),ve=function(G,U,H){var M=G.slice(),A=M.findIndex(function(y){return y.id===H.id});M.splice(A,1);var b=M.findIndex(function(y){return y.id===U.id});return M.splice(b+1,0,H),M},le=(0,N.z)({name:"wrapTextInContainer",contextItemLabel:"labels.createContainerFromText",trackEvent:{category:"element"},predicate:function(G,U,H,M){var A=M.scene.getSelectedElements(U),b=A.every(function(y){return(0,v.iB)(y)});return A.length>0&&b},perform:function(G,U,H,M){var A,b=M.scene.getSelectedElements(U),y=G.slice(),h={},d=W(b);try{var r=function(){var n=A.value;if((0,v.iB)(n)){var p,a=(0,v.Up)({type:"rectangle",backgroundColor:U.currentItemBackgroundColor,boundElements:[].concat((0,P.Z)(n.boundElements||[]),[{id:n.id,type:"text"}]),angle:n.angle,fillStyle:U.currentItemFillStyle,strokeColor:U.currentItemStrokeColor,roughness:U.currentItemRoughness,strokeWidth:U.currentItemStrokeWidth,strokeStyle:U.currentItemStrokeStyle,roundness:U.currentItemRoundness==="round"?{type:(0,f.QI)("rectangle")?m.a6.ADAPTIVE_RADIUS:m.a6.PROPORTIONAL_RADIUS}:null,opacity:100,locked:!1,x:n.x-m.gK,y:n.y-m.gK,width:(0,x.NS)(n.width,"rectangle"),height:(0,x.NS)(n.height,"rectangle"),groupIds:n.groupIds,frameId:n.frameId});if((p=n.boundElements)!==null&&p!==void 0&&p.length){var l=n.boundElements.filter(function(u){return u.type==="arrow"}).map(function(u){return u.id});y.filter(function(u){return l.includes(u.id)}).forEach(function(u){var C,L,_=u.startBinding,E=u.endBinding;((C=_)===null||C===void 0?void 0:C.elementId)===n.id&&(_=J(J({},_),{},{elementId:a.id})),((L=E)===null||L===void 0?void 0:L.elementId)===n.id&&(E=J(J({},E),{},{elementId:a.id})),(_||E)&&(0,I.DR)(u,{startBinding:_,endBinding:E},!1)})}(0,I.DR)(n,{containerId:a.id,verticalAlign:m.oX.MIDDLE,boundElements:null,textAlign:m.I8.CENTER},!1),(0,x.oN)(n,a),y=function(u,C,L){var _=u.slice(),E=_.findIndex(function(F){return F.id===C.id});_.splice(E,1);var D=_.findIndex(function(F){return F.id===L.id});return _.splice(D,0,C),_}([].concat((0,P.Z)(y),[a]),a,n),h[a.id]=!0}};for(d.s();!(A=d.n()).done;)r()}catch(n){d.e(n)}finally{d.f()}return{elements:y,appState:J(J({},U),{},{selectedElementIds:h}),commitToHistory:!0}}})},6006:function(fe,t,e){e.d(t,{CZ:function(){return y},JB:function(){return h},Lo:function(){return b},Zp:function(){return d},eF:function(){return r},mo:function(){return A}});var P=e(2577),w=e(7169),m=e(193),v=e(8935),I=e(1512),x=e(9937),c=e(7651),f=e(8227),Z=e(5491),N=e(4105),W=e(2382),k=e(4116),S=e(9827),J=e(2767),ce=e(8925),he=e(583),ve=e(6853),le=e(9240),G=e(7652),U=e(1020);function H(n,p){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);p&&(l=l.filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable})),a.push.apply(a,l)}return a}function M(n){for(var p=1;p<arguments.length;p++){var a=arguments[p]!=null?arguments[p]:{};p%2?H(Object(a),!0).forEach(function(l){(0,w.Z)(n,l,a[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):H(Object(a)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(a,l))})}return n}(0,J.z)({name:"changeViewBackgroundColor",trackEvent:!1,predicate:function(n,p,a,l){return!!l.props.UIOptions.canvasActions.changeViewBackgroundColor&&!p.viewModeEnabled},perform:function(n,p,a){return{appState:M(M({},p),a),commitToHistory:!!a.viewBackgroundColor}},PanelComponent:function(n){var p=n.elements,a=n.appState,l=n.updateData;return n.appProps,(0,U.jsx)(m.z,{palette:null,topPicks:le.ay,label:(0,f.t)("labels.canvasBackground"),type:"canvasBackground",color:a.viewBackgroundColor,onChange:function(u){return l({viewBackgroundColor:u})},"data-testid":"canvas-background-picker",elements:p,appState:a,updateData:l})}});var A=(0,J.z)({name:"clearCanvas",trackEvent:{category:"canvas"},predicate:function(n,p,a,l){return!!l.props.UIOptions.canvasActions.clearCanvas&&!p.viewModeEnabled},perform:function(n,p,a,l){return l.imageCache.clear(),{elements:n.map(function(u){return(0,he.BE)(u,{isDeleted:!0})}),appState:M(M({},(0,ve.im)()),{},{files:{},theme:p.theme,penMode:p.penMode,penDetected:p.penDetected,exportBackground:p.exportBackground,exportEmbedScene:p.exportEmbedScene,gridSize:p.gridSize,showStats:p.showStats,pasteDialog:p.pasteDialog,activeTool:p.activeTool.type==="image"?M(M({},p.activeTool),{},{type:"selection"}):p.activeTool}),commitToHistory:!0}}}),b=(0,J.z)({name:"zoomIn",viewMode:!0,trackEvent:{category:"canvas"},perform:function(n,p,a,l){return{appState:M(M({},p),(0,k.E)({viewportX:p.width/2+p.offsetLeft,viewportY:p.height/2+p.offsetTop,nextZoom:(0,N.j)(p.zoom.value+x.V4)},p)),commitToHistory:!1}},PanelComponent:function(n){var p=n.updateData;return(0,U.jsx)(I.V,{type:"button",className:"zoom-in-button zoom-button",icon:v.Sd,title:"".concat((0,f.t)("buttons.zoomIn")," — ").concat((0,S.uY)("CtrlOrCmd++")),"aria-label":(0,f.t)("buttons.zoomIn"),onClick:function(){p(null)}})},keyTest:function(n){return(n.code===Z.aU.EQUAL||n.code===Z.aU.NUM_ADD)&&(n[Z.tW.CTRL_OR_CMD]||n.shiftKey)}}),y=(0,J.z)({name:"zoomOut",viewMode:!0,trackEvent:{category:"canvas"},perform:function(n,p,a,l){return{appState:M(M({},p),(0,k.E)({viewportX:p.width/2+p.offsetLeft,viewportY:p.height/2+p.offsetTop,nextZoom:(0,N.j)(p.zoom.value-x.V4)},p)),commitToHistory:!1}},PanelComponent:function(n){var p=n.updateData;return(0,U.jsx)(I.V,{type:"button",className:"zoom-out-button zoom-button",icon:v.xL,title:"".concat((0,f.t)("buttons.zoomOut")," — ").concat((0,S.uY)("CtrlOrCmd+-")),"aria-label":(0,f.t)("buttons.zoomOut"),onClick:function(){p(null)}})},keyTest:function(n){return(n.code===Z.aU.MINUS||n.code===Z.aU.NUM_SUBTRACT)&&(n[Z.tW.CTRL_OR_CMD]||n.shiftKey)}}),h=((0,J.z)({name:"resetZoom",viewMode:!0,trackEvent:{category:"canvas"},perform:function(n,p,a,l){return{appState:M(M({},p),(0,k.E)({viewportX:p.width/2+p.offsetLeft,viewportY:p.height/2+p.offsetTop,nextZoom:(0,N.j)(1)},p)),commitToHistory:!1}},PanelComponent:function(n){var p=n.updateData,a=n.appState;return(0,U.jsx)(ce.u,{label:(0,f.t)("buttons.resetZoom"),style:{height:"100%"},children:(0,U.jsxs)(I.V,{type:"button",className:"reset-zoom-button zoom-button",title:(0,f.t)("buttons.resetZoom"),"aria-label":(0,f.t)("buttons.resetZoom"),onClick:function(){p(null)},children:[(100*a.zoom.value).toFixed(0),"%"]})})},keyTest:function(n){return(n.code===Z.aU.ZERO||n.code===Z.aU.NUM_ZERO)&&(n[Z.tW.CTRL_OR_CMD]||n.shiftKey)}}),function(n){var p,a,l,u=n.targetElements,C=n.appState,L=n.fitToViewport,_=L!==void 0&&L,E=n.viewportZoomFactor,D=E===void 0?.7:E,F=(0,c.KP)((0,c.Lm)(u)),ee=(0,P.Z)(F,4),te=ee[0],re=ee[1],oe=ee[2],Y=ee[3],V=(te+oe)/2,ie=(re+Y)/2;if(_){var we=oe-te,Ae=Y-re;p=Math.min(C.width/we,C.height/Ae)*Math.min(1,Math.max(D,.1)),p=Math.min(Math.max(p,.1),30),a=C.width/2*(1/p)-V,l=C.height/2*(1/p)-ie}else{p=function(je,ye){var Ee=(0,P.Z)(je,4),Oe=Ee[0],ge=Ee[1],ue=Ee[2],se=Ee[3],j=ue-Oe,i=ye.width/j,s=se-ge,O=ye.height/s,z=Math.min(i,O),K=Math.floor(z/x.V4)*x.V4;return Math.min(Math.max(K,x.Zj),1)}(F,{width:C.width,height:C.height});var Re=(0,W.s)({scenePoint:{x:V,y:ie},viewportDimensions:{width:C.width,height:C.height},zoom:{value:p}});a=Re.scrollX,l=Re.scrollY}return{appState:M(M({},C),{},{scrollX:a,scrollY:l,zoom:{value:p}}),commitToHistory:!1}}),d=((0,J.z)({name:"zoomToFitSelectionInViewport",trackEvent:{category:"canvas"},perform:function(n,p,a,l){var u=l.scene.getSelectedElements(p);return h({targetElements:u.length?u:n,appState:p,fitToViewport:!1})},keyTest:function(n){return n.code===Z.aU.TWO&&n.shiftKey&&!n.altKey&&!n[Z.tW.CTRL_OR_CMD]}}),(0,J.z)({name:"zoomToFitSelection",trackEvent:{category:"canvas"},perform:function(n,p,a,l){var u=l.scene.getSelectedElements(p);return h({targetElements:u.length?u:n,appState:p,fitToViewport:!0})},keyTest:function(n){return n.code===Z.aU.THREE&&n.shiftKey&&!n.altKey&&!n[Z.tW.CTRL_OR_CMD]}}),(0,J.z)({name:"zoomToFit",viewMode:!0,trackEvent:{category:"canvas"},perform:function(n,p){return h({targetElements:n,appState:p,fitToViewport:!1})},keyTest:function(n){return n.code===Z.aU.ONE&&n.shiftKey&&!n.altKey&&!n[Z.tW.CTRL_OR_CMD]}}),(0,J.z)({name:"toggleTheme",viewMode:!0,trackEvent:{category:"canvas"},perform:function(n,p,a){return{appState:M(M({},p),{},{theme:a||(p.theme===x.C6.LIGHT?x.C6.DARK:x.C6.LIGHT)}),commitToHistory:!1}},keyTest:function(n){return n.altKey&&n.shiftKey&&n.code===Z.aU.D},predicate:function(n,p,a,l){return!!l.props.UIOptions.canvasActions.toggleTheme}})),r=((0,J.z)({name:"toggleEraserTool",trackEvent:{category:"toolbar"},perform:function(n,p){var a;return a=(0,ve.EN)(p)?(0,S.Om)(p,M(M({},p.activeTool.lastActiveTool||{type:"selection"}),{},{lastActiveToolBeforeEraser:null})):(0,S.Om)(p,{type:"eraser",lastActiveToolBeforeEraser:p.activeTool}),{appState:M(M({},p),{},{selectedElementIds:{},selectedGroupIds:{},activeEmbeddable:null,activeTool:a}),commitToHistory:!0}},keyTest:function(n){return n.key===Z.tW.E}}),(0,J.z)({name:"toggleHandTool",trackEvent:{category:"toolbar"},perform:function(n,p,a,l){var u;return(0,ve.l$)(p)?u=(0,S.Om)(p,M(M({},p.activeTool.lastActiveTool||{type:"selection"}),{},{lastActiveToolBeforeEraser:null})):(u=(0,S.Om)(p,{type:"hand",lastActiveToolBeforeEraser:p.activeTool}),(0,G.KJ)(l.interactiveCanvas,x.oc.GRAB)),{appState:M(M({},p),{},{selectedElementIds:{},selectedGroupIds:{},activeEmbeddable:null,activeTool:u}),commitToHistory:!0}},keyTest:function(n){return!n.altKey&&!n[Z.tW.CTRL_OR_CMD]&&n.key===Z.tW.H}}))},5047:function(fe,t,e){e.d(t,{FA:function(){return M},ZM:function(){return H},jK:function(){return A},uN:function(){return G},yQ:function(){return U},zp:function(){return b}});var P=e(7169),w=e(8950),m=e(2975),v=e.n(m),I=e(5491),x=e(2767),c=e(4694),f=e(2448),Z=e(2435),N=e(7651),W=e(8227),k=e(9937);function S(y,h){var d=Object.keys(y);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(y);h&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(y,n).enumerable})),d.push.apply(d,r)}return d}function J(y){for(var h=1;h<arguments.length;h++){var d=arguments[h]!=null?arguments[h]:{};h%2?S(Object(d),!0).forEach(function(r){(0,P.Z)(y,r,d[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(d)):S(Object(d)).forEach(function(r){Object.defineProperty(y,r,Object.getOwnPropertyDescriptor(d,r))})}return y}var ce,he,ve,le,G=(0,x.z)({name:"copy",trackEvent:{category:"element"},perform:(ce=(0,w.Z)(v().mark(function y(h,d,r,n){var p;return v().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return p=n.scene.getSelectedElements({selectedElementIds:d.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0}),a.prev=1,a.next=4,(0,c.vQ)(p,n.files,r);case 4:a.next=9;break;case 6:return a.prev=6,a.t0=a.catch(1),a.abrupt("return",{commitToHistory:!1,appState:J(J({},d),{},{errorMessage:a.t0.message})});case 9:return a.abrupt("return",{commitToHistory:!1});case 10:case"end":return a.stop()}},y,null,[[1,6]])})),function(y,h,d,r){return ce.apply(this,arguments)}),contextItemLabel:"labels.copy",keyTest:void 0}),U=(0,x.z)({name:"paste",trackEvent:{category:"element"},perform:(he=(0,w.Z)(v().mark(function y(h,d,r,n){var p;return v().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,(0,c.Se)();case 3:p=a.sent,a.next=14;break;case 6:if(a.prev=6,a.t0=a.catch(0),a.t0.name!=="AbortError"&&a.t0.name!=="NotAllowedError"){a.next=10;break}return a.abrupt("return",!1);case 10:if(console.error("actionPaste ".concat(a.t0.name,": ").concat(a.t0.message)),!k.vU){a.next=13;break}return a.abrupt("return",{commitToHistory:!1,appState:J(J({},d),{},{errorMessage:(0,W.t)("hints.firefox_clipboard_write")})});case 13:return a.abrupt("return",{commitToHistory:!1,appState:J(J({},d),{},{errorMessage:(0,W.t)("errors.asyncPasteFailedOnRead")})});case 14:a.prev=14,n.pasteFromClipboard((0,c.OO)({types:p})),a.next=22;break;case 18:return a.prev=18,a.t1=a.catch(14),console.error(a.t1),a.abrupt("return",{commitToHistory:!1,appState:J(J({},d),{},{errorMessage:(0,W.t)("errors.asyncPasteFailedOnParse")})});case 22:return a.abrupt("return",{commitToHistory:!1});case 23:case"end":return a.stop()}},y,null,[[0,6],[14,18]])})),function(y,h,d,r){return he.apply(this,arguments)}),contextItemLabel:"labels.paste",keyTest:void 0}),H=(0,x.z)({name:"cut",trackEvent:{category:"element"},perform:function(y,h,d,r){return G.perform(y,h,d,r),f.X.perform(y,h)},contextItemLabel:"labels.cut",keyTest:function(y){return y[I.tW.CTRL_OR_CMD]&&y.key===I.tW.X}}),M=(0,x.z)({name:"copyAsSvg",trackEvent:{category:"element"},perform:(ve=(0,w.Z)(v().mark(function y(h,d,r,n){var p,a,l;return v().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(n.canvas){u.next=2;break}return u.abrupt("return",{commitToHistory:!1});case 2:return p=(0,Z.HD)(h,d,!0),a=p.exportedElements,l=p.exportingFrame,u.prev=3,u.next=6,(0,Z.p1)("clipboard-svg",a,d,n.files,J(J({},d),{},{exportingFrame:l}));case 6:return u.abrupt("return",{commitToHistory:!1});case 9:return u.prev=9,u.t0=u.catch(3),console.error(u.t0),u.abrupt("return",{appState:J(J({},d),{},{errorMessage:u.t0.message}),commitToHistory:!1});case 13:case"end":return u.stop()}},y,null,[[3,9]])})),function(y,h,d,r){return ve.apply(this,arguments)}),predicate:function(y){return c.wx&&y.length>0},contextItemLabel:"labels.copyAsSvg"}),A=(0,x.z)({name:"copyAsPng",trackEvent:{category:"element"},perform:(le=(0,w.Z)(v().mark(function y(h,d,r,n){var p,a,l,u;return v().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(n.canvas){C.next=2;break}return C.abrupt("return",{commitToHistory:!1});case 2:return p=n.scene.getSelectedElements({selectedElementIds:d.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0}),a=(0,Z.HD)(h,d,!0),l=a.exportedElements,u=a.exportingFrame,C.prev=4,C.next=7,(0,Z.p1)("clipboard",l,d,n.files,J(J({},d),{},{exportingFrame:u}));case 7:return C.abrupt("return",{appState:J(J({},d),{},{toast:{message:(0,W.t)("toast.copyToClipboardAsPng",{exportSelection:p.length?(0,W.t)("toast.selection"):(0,W.t)("toast.canvas"),exportColorScheme:d.exportWithDarkMode?(0,W.t)("buttons.darkMode"):(0,W.t)("buttons.lightMode")})}}),commitToHistory:!1});case 10:return C.prev=10,C.t0=C.catch(4),console.error(C.t0),C.abrupt("return",{appState:J(J({},d),{},{errorMessage:C.t0.message}),commitToHistory:!1});case 14:case"end":return C.stop()}},y,null,[[4,10]])})),function(y,h,d,r){return le.apply(this,arguments)}),predicate:function(y){return c.vt&&y.length>0},contextItemLabel:"labels.copyAsPng",keyTest:function(y){return y.code===I.aU.C&&y.altKey&&y.shiftKey}}),b=(0,x.z)({name:"copyText",trackEvent:{category:"element"},perform:function(y,h,d,r){var n=r.scene.getSelectedElements({selectedElementIds:h.selectedElementIds,includeBoundTextElement:!0}).reduce(function(p,a){return(0,N.iB)(a)&&p.push(a.text),p},[]).join(` + +`);return(0,c.dd)(n),{commitToHistory:!1}},predicate:function(y,h,d,r){return c.wx&&r.scene.getSelectedElements({selectedElementIds:h.selectedElementIds,includeBoundTextElement:!0}).some(N.iB)},contextItemLabel:"labels.copyText"})},2448:function(fe,t,e){e.d(t,{X:function(){return G}});var P=e(7169),w=e(4105),m=e(5491),v=e(1512),I=e(8227),x=e(2767),c=e(7651),f=e(583),Z=e(9215),N=e(7422),W=e(9645),k=e(4183),S=e(9827),J=e(8935),ce=e(1020);function he(U,H){var M=Object.keys(U);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(U);H&&(A=A.filter(function(b){return Object.getOwnPropertyDescriptor(U,b).enumerable})),M.push.apply(M,A)}return M}function ve(U){for(var H=1;H<arguments.length;H++){var M=arguments[H]!=null?arguments[H]:{};H%2?he(Object(M),!0).forEach(function(A){(0,P.Z)(U,A,M[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(M)):he(Object(M)).forEach(function(A){Object.defineProperty(U,A,Object.getOwnPropertyDescriptor(M,A))})}return U}var le=function(U,H){if(U.editingGroupId){var M=(0,Z.Fb)((0,c.Lm)(H),U.editingGroupId);if(M.length)return ve(ve({},U),{},{selectedElementIds:(0,P.Z)({},M[0].id,!0)})}return U},G=(0,x.z)({name:"deleteSelectedElements",trackEvent:{category:"element",action:"delete"},perform:function(U,H){if(H.editingLinearElement){var M=H.editingLinearElement,A=M.elementId,b=M.selectedPointsIndices,y=M.startBindingElement,h=M.endBindingElement,d=N._.getElement(A);if(!d||b==null)return!1;if(d.points.length<2){var r=U.map(function(u){return u.id===d.id?(0,f.BE)(u,{isDeleted:!0}):u});return{elements:r,appState:ve(ve({},le(H,r)),{},{editingLinearElement:null}),commitToHistory:!1}}var n={startBindingElement:b!=null&&b.includes(0)?null:y,endBindingElement:b!=null&&b.includes(d.points.length-1)?null:h};return N._.deletePoints(d,b),{elements:U,appState:ve(ve({},H),{},{editingLinearElement:ve(ve(ve({},H.editingLinearElement),n),{},{selectedPointsIndices:b?.[0]>0?[b[0]-1]:[0]})}),commitToHistory:!0}}var p=function(u,C){var L=new Set((0,w.eD)(u.filter(function(_){return _.type==="frame"}),C).map(function(_){return _.id}));return{elements:u.map(function(_){return C.selectedElementIds[_.id]||_.frameId&&L.has(_.frameId)||(0,k.Xh)(_)&&C.selectedElementIds[_.containerId]?(0,f.BE)(_,{isDeleted:!0}):_}),appState:ve(ve({},C),{},{selectedElementIds:{},selectedGroupIds:{}})}}(U,H),a=p.elements,l=p.appState;return(0,W.$q)(a,U.filter(function(u){var C=u.id;return H.selectedElementIds[C]})),{elements:a,appState:ve(ve({},l=le(l,a)),{},{activeTool:(0,S.Om)(H,{type:"selection"}),multiElement:null,activeEmbeddable:null}),commitToHistory:(0,w.N)((0,c.Lm)(U),H)}},contextItemLabel:"labels.delete",keyTest:function(U,H,M){return(U.key===m.tW.BACKSPACE||U.key===m.tW.DELETE)&&!U[m.tW.CTRL_OR_CMD]},PanelComponent:function(U){var H=U.elements,M=U.appState,A=U.updateData;return(0,ce.jsx)(v.V,{type:"button",icon:J.XH,title:(0,I.t)("labels.delete"),"aria-label":(0,I.t)("labels.delete"),onClick:function(){return A(null)},visible:(0,w.N)((0,c.Lm)(H),M)})}})},9672:function(fe,t,e){e.d(t,{$:function(){return Z},U:function(){return N}});var P=e(7169),w=e(583),m=e(5491),v=e(9827),I=e(2767);function x(W,k){var S=Object.keys(W);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(W);k&&(J=J.filter(function(ce){return Object.getOwnPropertyDescriptor(W,ce).enumerable})),S.push.apply(S,J)}return S}function c(W){for(var k=1;k<arguments.length;k++){var S=arguments[k]!=null?arguments[k]:{};k%2?x(Object(S),!0).forEach(function(J){(0,P.Z)(W,J,S[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(S)):x(Object(S)).forEach(function(J){Object.defineProperty(W,J,Object.getOwnPropertyDescriptor(S,J))})}return W}var f=function(W){return W.every(function(k){return!k.locked})},Z=(0,I.z)({name:"toggleElementLock",trackEvent:{category:"element"},predicate:function(W,k,S,J){return!J.scene.getSelectedElements(k).some(function(ce){return ce.locked&&ce.frameId})},perform:function(W,k,S,J){var ce=J.scene.getSelectedElements({selectedElementIds:k.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0});if(!ce.length)return!1;var he=f(ce),ve=(0,v.xn)(ce);return{elements:W.map(function(le){return ve.has(le.id)?(0,w.BE)(le,{locked:he}):le}),appState:c(c({},k),{},{selectedLinearElement:he?null:k.selectedLinearElement}),commitToHistory:!0}},contextItemLabel:function(W,k,S){var J=S.scene.getSelectedElements({selectedElementIds:k.selectedElementIds,includeBoundTextElement:!1});return J.length===1&&J[0].type!=="frame"?J[0].locked?"labels.elementLock.unlock":"labels.elementLock.lock":f(J)?"labels.elementLock.lockAll":"labels.elementLock.unlockAll"},keyTest:function(W,k,S,J){return W.key.toLocaleLowerCase()===m.tW.L&&W[m.tW.CTRL_OR_CMD]&&W.shiftKey&&J.scene.getSelectedElements({selectedElementIds:k.selectedElementIds,includeBoundTextElement:!1}).length>0}}),N=(0,I.z)({name:"unlockAllElements",trackEvent:{category:"canvas"},viewMode:!1,predicate:function(W){return W.some(function(k){return k.locked})},perform:function(W,k){var S=W.filter(function(J){return J.locked});return{elements:W.map(function(J){return J.locked?(0,w.BE)(J,{locked:!1}):J}),appState:c(c({},k),{},{selectedElementIds:Object.fromEntries(S.map(function(J){return[J.id,!0]}))}),commitToHistory:!0}},contextItemLabel:"labels.elementLock.unlockAll"})},4406:function(fe,t,e){e.d(t,{XA:function(){return Oe},Du:function(){return ge},sK:function(){return Ee},zX:function(){return ye},bJ:function(){return i},_d:function(){return j},mM:function(){return se},ns:function(){return ue}});var P=e(8950),w=e(2577),m=e(7169),v=e(2975),I=e.n(v),x=e(8935),c=e(3379),f=e.n(c),Z=e(7795),N=e.n(Z),W=e(569),k=e.n(W),S=e(3565),J=e.n(S),ce=e(9216),he=e.n(ce),ve=e(4589),le=e.n(ve),G=e(6759),U={};U.styleTagTransform=le(),U.setAttributes=J(),U.insert=k().bind(null,"head"),U.domAPI=N(),U.insertStyleElement=he(),f()(G.Z,U),G.Z&&G.Z.locals&&G.Z.locals;var H=e(9787),M=e(9827),A=e(532),b={};b.styleTagTransform=le(),b.setAttributes=J(),b.insert=k().bind(null,"head"),b.domAPI=N(),b.insertStyleElement=he(),f()(A.Z,b),A.Z&&A.Z.locals&&A.Z.locals;var y=e(8242),h=e(5491),d=e(1020),r=function(s){var O=(0,y.J0)().id,z=(0,H.useState)(s.value),K=(0,w.Z)(z,2),$=K[0],Q=K[1];return(0,d.jsxs)("div",{className:"ProjectName",children:[(0,d.jsx)("label",{className:"ProjectName-label",htmlFor:"filename",children:"".concat(s.label).concat(s.isNameEditable?"":":")}),s.isNameEditable?(0,d.jsx)("input",{type:"text",className:"TextInput",onBlur:function(ae){s.ignoreFocus||(0,M.qz)(ae.target);var be=ae.target.value;be!==s.value&&s.onChange(be)},onKeyDown:function(ae){if(ae.key===h.tW.ENTER){if(ae.preventDefault(),ae.nativeEvent.isComposing||ae.keyCode===229)return;ae.currentTarget.blur()}},id:"".concat(O,"-filename"),value:$,onChange:function(ae){return Q(ae.target.value)}}):(0,d.jsx)("span",{className:"TextInput TextInput--readonly",id:"".concat(O,"-filename"),children:s.value})]})},n=e(1512),p=e(8925),a=(e(3041),e(8227)),l=e(9937),u=function(s){var O=s.title||(s.value==="dark"?(0,a.t)("buttons.lightMode"):(0,a.t)("buttons.darkMode"));return(0,d.jsx)(n.V,{type:"icon",icon:s.value===l.C6.LIGHT?C.MOON:C.SUN,title:O,"aria-label":O,onClick:function(){return s.onChange(s.value===l.C6.DARK?l.C6.LIGHT:l.C6.DARK)},"data-testid":"toggle-dark-mode"})},C={SUN:(0,d.jsx)("svg",{width:"512",height:"512",className:"rtl-mirror",viewBox:"0 0 512 512",children:(0,d.jsx)("path",{fill:"currentColor",d:"M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z"})}),MOON:(0,d.jsx)("svg",{width:"512",height:"512",className:"rtl-mirror",viewBox:"0 0 512 512",children:(0,d.jsx)("path",{fill:"currentColor",d:"M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"})})},L=e(2435),_=e(5796);function E(s,O){var z=Object.keys(s);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(s);O&&(K=K.filter(function($){return Object.getOwnPropertyDescriptor(s,$).enumerable})),z.push.apply(z,K)}return z}function D(s){for(var O=1;O<arguments.length;O++){var z=arguments[O]!=null?arguments[O]:{};O%2?E(Object(z),!0).forEach(function(K){(0,m.Z)(s,K,z[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(z)):E(Object(z)).forEach(function(K){Object.defineProperty(s,K,Object.getOwnPropertyDescriptor(z,K))})}return s}var F=function(){var s=(0,P.Z)(I().mark(function O(z,K,$){var Q,ae,be,Ce,Ze,Be,Te,He,Ve;return I().wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(ae=(Q=K).exportBackground,be=Q.viewBackgroundColor,Ce=Q.name,Ze=Q.fileHandle,Be=(0,_.Qk)(Ze),Ze&&(0,_.DQ)(Be)){Je.next=4;break}throw new Error("fileHandle should exist and should be of type svg or png when resaving");case 4:return K=D(D({},K),{},{exportEmbedScene:!0}),Te=(0,L.HD)(z,K,!1),He=Te.exportedElements,Ve=Te.exportingFrame,Je.next=8,(0,L.p1)(Be,He,K,$,{exportBackground:ae,viewBackgroundColor:be,name:Ce,fileHandle:Ze,exportingFrame:Ve});case 8:return Je.abrupt("return",{fileHandle:Ze});case 9:case"end":return Je.stop()}},O)}));return function(O,z,K){return s.apply(this,arguments)}}(),ee=e(2767),te=e(6238),re=e(3668),oe=e(4105),Y=e(7651),V=e(6548);function ie(s,O){var z=Object.keys(s);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(s);O&&(K=K.filter(function($){return Object.getOwnPropertyDescriptor(s,$).enumerable})),z.push.apply(z,K)}return z}function we(s){for(var O=1;O<arguments.length;O++){var z=arguments[O]!=null?arguments[O]:{};O%2?ie(Object(z),!0).forEach(function(K){(0,m.Z)(s,K,z[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(z)):ie(Object(z)).forEach(function(K){Object.defineProperty(s,K,Object.getOwnPropertyDescriptor(z,K))})}return s}var Ae,Re,je,ye=(0,ee.z)({name:"changeProjectName",trackEvent:!1,perform:function(s,O,z){return{appState:we(we({},O),{},{name:z}),commitToHistory:!1}},PanelComponent:function(s){var O,z=s.appState,K=s.updateData,$=s.appProps,Q=s.data;return(0,d.jsx)(r,{label:(0,a.t)("labels.fileTitle"),value:z.name||"Unnamed",onChange:function(ae){return K(ae)},isNameEditable:$.name===void 0&&!z.viewModeEnabled,ignoreFocus:(O=Q?.ignoreFocus)!==null&&O!==void 0&&O})}}),Ee=(0,ee.z)({name:"changeExportScale",trackEvent:{category:"export",action:"scale"},perform:function(s,O,z){return{appState:we(we({},O),{},{exportScale:z}),commitToHistory:!1}},PanelComponent:function(s){var O=s.elements,z=s.appState,K=s.updateData,$=(0,Y.Lm)(O),Q=(0,oe.N)($,z)?(0,oe.eD)($,z):$;return(0,d.jsx)(d.Fragment,{children:l.ZB.map(function(ae){var be=(0,re.Cg)(Q,l.qy,ae),Ce=(0,w.Z)(be,2),Ze=Ce[0],Be=Ce[1],Te="".concat((0,a.t)("imageExportDialog.label.scale")," ").concat(ae,"x (").concat(Ze,"x").concat(Be,")");return(0,d.jsx)(n.V,{size:"small",type:"radio",icon:"".concat(ae,"x"),name:"export-canvas-scale",title:Te,"aria-label":Te,id:"export-canvas-scale",checked:ae===z.exportScale,onChange:function(){return K(ae)}},ae)})})}}),Oe=(0,ee.z)({name:"changeExportBackground",trackEvent:{category:"export",action:"toggleBackground"},perform:function(s,O,z){return{appState:we(we({},O),{},{exportBackground:z}),commitToHistory:!1}},PanelComponent:function(s){var O=s.appState,z=s.updateData;return(0,d.jsx)(te.o,{checked:O.exportBackground,onChange:function(K){return z(K)},children:(0,a.t)("imageExportDialog.label.withBackground")})}}),ge=(0,ee.z)({name:"changeExportEmbedScene",trackEvent:{category:"export",action:"embedScene"},perform:function(s,O,z){return{appState:we(we({},O),{},{exportEmbedScene:z}),commitToHistory:!1}},PanelComponent:function(s){var O=s.appState,z=s.updateData;return(0,d.jsxs)(te.o,{checked:O.exportEmbedScene,onChange:function(K){return z(K)},children:[(0,a.t)("imageExportDialog.label.embedScene"),(0,d.jsx)(p.u,{label:(0,a.t)("imageExportDialog.tooltip.embedScene"),long:!0,children:(0,d.jsx)("div",{className:"excalidraw-tooltip-icon",children:x.Vl})})]})}}),ue=(0,ee.z)({name:"saveToActiveFile",trackEvent:{category:"export"},predicate:function(s,O,z,K){return!!K.props.UIOptions.canvasActions.saveToActiveFile&&!!O.fileHandle&&!O.viewModeEnabled},perform:(Ae=(0,P.Z)(I().mark(function s(O,z,K,$){var Q,ae,be;return I().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(Q=!!z.fileHandle,Ce.prev=1,!(0,_.g8)(z.fileHandle)){Ce.next=8;break}return Ce.next=5,F(O,z,$.files);case 5:Ce.t0=Ce.sent,Ce.next=11;break;case 8:return Ce.next=10,(0,L.Um)(O,z,$.files);case 10:Ce.t0=Ce.sent;case 11:return ae=Ce.t0,be=ae.fileHandle,Ce.abrupt("return",{commitToHistory:!1,appState:we(we({},z),{},{fileHandle:be,toast:Q?{message:be!=null&&be.name?(0,a.t)("toast.fileSavedToFilename").replace("{filename}",'"'.concat(be.name,'"')):(0,a.t)("toast.fileSaved")}:null})});case 16:return Ce.prev=16,Ce.t1=Ce.catch(1),(Ce.t1===null||Ce.t1===void 0?void 0:Ce.t1.name)!=="AbortError"?console.error(Ce.t1):console.warn(Ce.t1),Ce.abrupt("return",{commitToHistory:!1});case 20:case"end":return Ce.stop()}},s,null,[[1,16]])})),function(s,O,z,K){return Ae.apply(this,arguments)}),keyTest:function(s){return s.key===h.tW.S&&s[h.tW.CTRL_OR_CMD]&&!s.shiftKey}}),se=(0,ee.z)({name:"saveFileToDisk",viewMode:!0,trackEvent:{category:"export"},perform:(Re=(0,P.Z)(I().mark(function s(O,z,K,$){var Q,ae;return I().wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return be.prev=0,be.next=3,(0,L.Um)(O,we(we({},z),{},{fileHandle:null}),$.files);case 3:return Q=be.sent,ae=Q.fileHandle,be.abrupt("return",{commitToHistory:!1,appState:we(we({},z),{},{openDialog:null,fileHandle:ae,toast:{message:(0,a.t)("toast.fileSaved")}})});case 8:return be.prev=8,be.t0=be.catch(0),(be.t0===null||be.t0===void 0?void 0:be.t0.name)!=="AbortError"?console.error(be.t0):console.warn(be.t0),be.abrupt("return",{commitToHistory:!1});case 12:case"end":return be.stop()}},s,null,[[0,8]])})),function(s,O,z,K){return Re.apply(this,arguments)}),keyTest:function(s){return s.key===h.tW.S&&s.shiftKey&&s[h.tW.CTRL_OR_CMD]},PanelComponent:function(s){var O=s.updateData;return(0,d.jsx)(n.V,{type:"button",icon:x.po,title:(0,a.t)("buttons.saveAs"),"aria-label":(0,a.t)("buttons.saveAs"),showAriaLabel:(0,y.Fy)().editor.isMobile,hidden:!V.kr,onClick:function(){return O(null)},"data-testid":"save-as-button"})}}),j=(0,ee.z)({name:"loadScene",trackEvent:{category:"export"},predicate:function(s,O,z,K){return!!K.props.UIOptions.canvasActions.loadScene&&!O.viewModeEnabled},perform:(je=(0,P.Z)(I().mark(function s(O,z,K,$){var Q,ae,be,Ce;return I().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Ze.prev=0,Ze.next=3,(0,L.n8)(z,O);case 3:return Q=Ze.sent,ae=Q.elements,be=Q.appState,Ce=Q.files,Ze.abrupt("return",{elements:ae,appState:be,files:Ce,commitToHistory:!0});case 10:if(Ze.prev=10,Ze.t0=Ze.catch(0),(Ze.t0===null||Ze.t0===void 0?void 0:Ze.t0.name)!=="AbortError"){Ze.next=15;break}return console.warn(Ze.t0),Ze.abrupt("return",!1);case 15:return Ze.abrupt("return",{elements:O,appState:we(we({},z),{},{errorMessage:Ze.t0.message}),files:$.files,commitToHistory:!1});case 16:case"end":return Ze.stop()}},s,null,[[0,10]])})),function(s,O,z,K){return je.apply(this,arguments)}),keyTest:function(s){return s[h.tW.CTRL_OR_CMD]&&s.key===h.tW.O}}),i=(0,ee.z)({name:"exportWithDarkMode",trackEvent:{category:"export",action:"toggleTheme"},perform:function(s,O,z){return{appState:we(we({},O),{},{exportWithDarkMode:z}),commitToHistory:!1}},PanelComponent:function(s){var O=s.appState,z=s.updateData;return(0,d.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"-45px",marginBottom:"10px"},children:(0,d.jsx)(u,{value:O.exportWithDarkMode?l.C6.DARK:l.C6.LIGHT,onChange:function(K){z(K===l.C6.DARK)},title:(0,a.t)("imageExportDialog.label.darkMode")})})}})},3361:function(fe,t,e){e.d(t,{Tu:function(){return Re},Zq:function(){return je}});var P=e(1930),w=e(7169),m=e(9240),v=e(3646),I=e(45),x=e(1020),c=function(ye){return(0,x.jsx)("div",{className:"buttonList buttonListIcon",children:ye.options.map(function(Ee){var Oe;return ye.type==="button"?(0,x.jsx)("button",{onClick:function(ge){return ye.onClick(Ee.value,ge)},className:(0,I.Z)({active:(Oe=Ee.active)!==null&&Oe!==void 0?Oe:ye.value===Ee.value}),"data-testid":Ee.testId,title:Ee.text,children:Ee.icon},Ee.text):(0,x.jsxs)("label",{className:(0,I.Z)({active:ye.value===Ee.value}),title:Ee.text,children:[(0,x.jsx)("input",{type:"radio",name:ye.group,onChange:function(){return ye.onChange(Ee.value)},checked:ye.value===Ee.value,"data-testid":Ee.testId}),Ee.icon]},Ee.text)})})},f=e(193),Z=e(2577),N=e(9787),W=e.n(N),k=e(3204),S=e(3379),J=e.n(S),ce=e(7795),he=e.n(ce),ve=e(569),le=e.n(ve),G=e(3565),U=e.n(G),H=e(9216),M=e.n(H),A=e(4589),b=e.n(A),y=e(9478),h={};h.styleTagTransform=b(),h.setAttributes=U(),h.insert=le().bind(null,"head"),h.domAPI=he(),h.insertStyleElement=M(),J()(y.Z,h),y.Z&&y.Z.locals&&y.Z.locals;var d=e(5491),r=e(8227);function n(ye,Ee){var Oe=Object.keys(ye);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(ye);Ee&&(ge=ge.filter(function(ue){return Object.getOwnPropertyDescriptor(ye,ue).enumerable})),Oe.push.apply(Oe,ge)}return Oe}function p(ye){for(var Ee=1;Ee<arguments.length;Ee++){var Oe=arguments[Ee]!=null?arguments[Ee]:{};Ee%2?n(Object(Oe),!0).forEach(function(ge){(0,w.Z)(ye,ge,Oe[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ye,Object.getOwnPropertyDescriptors(Oe)):n(Object(Oe)).forEach(function(ge){Object.defineProperty(ye,ge,Object.getOwnPropertyDescriptor(Oe,ge))})}return ye}function a(ye){var Ee=ye.options,Oe=ye.value,ge=ye.label,ue=ye.onChange,se=ye.onClose,j=W().useRef(),i=W().useRef(),s=W().useRef(null);return W().useEffect(function(){i.current?i.current.focus():s.current&&s.current.focus()},[]),(0,x.jsx)("div",{className:"picker",role:"dialog","aria-modal":"true","aria-label":ge,onKeyDown:function(O){var z=Ee.find(function(Ze){return Ze.keyBinding===O.key.toLowerCase()});if(O.metaKey||O.altKey||O.ctrlKey||!z)if(O.key===d.tW.TAB)setTimeout(function(){i.current!==document.activeElement&&se()},0);else if((0,d.Wl)(O.key)){var K=document.activeElement,$=(0,r.G3)().rtl,Q=Array.prototype.indexOf.call(s.current.children,K);if(Q!==-1){var ae=Ee.length,be=Q;switch(O.key){case($?d.tW.ARROW_LEFT:d.tW.ARROW_RIGHT):case d.tW.ARROW_DOWN:be=(Q+1)%ae;break;case($?d.tW.ARROW_RIGHT:d.tW.ARROW_LEFT):case d.tW.ARROW_UP:be=(ae+Q-1)%ae}s.current.children[be].focus()}O.preventDefault()}else O.key!==d.tW.ESCAPE&&O.key!==d.tW.ENTER||(O.preventDefault(),se());else{var Ce=Ee.indexOf(z);s.current.children[Ce].focus(),O.preventDefault()}O.nativeEvent.stopImmediatePropagation(),O.stopPropagation()},children:(0,x.jsx)("div",{className:"picker-content",ref:s,children:Ee.map(function(O,z){return(0,x.jsxs)("button",{className:(0,I.Z)("picker-option",{active:Oe===O.value}),onClick:function(K){K.currentTarget.focus(),ue(O.value)},title:"".concat(O.text," — ").concat(O.keyBinding.toUpperCase()),"aria-label":O.text||"none","aria-keyshortcuts":O.keyBinding,ref:function(K){K&&z===0&&(j.current=K),K&&O.value===Oe&&(i.current=K)},onFocus:function(){ue(O.value)},children:[O.icon,(0,x.jsx)("span",{className:"picker-keybinding",children:O.keyBinding})]},O.text)})})})}function l(ye){var Ee,Oe=ye.value,ge=ye.label,ue=ye.options,se=ye.onChange,j=ye.group,i=j===void 0?"":j,s=W().useState(!1),O=(0,Z.Z)(s,2),z=O[0],K=O[1],$=W().useRef(null),Q=(0,r.G3)().rtl;return(0,x.jsxs)("div",{children:[(0,x.jsx)("button",{name:i,className:z?"active":"","aria-label":ge,onClick:function(){return K(!z)},ref:$,children:(Ee=ue.find(function(ae){return ae.value===Oe}))===null||Ee===void 0?void 0:Ee.icon}),(0,x.jsx)(W().Suspense,{fallback:"",children:z?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(k.J,p(p({onCloseRequest:function(ae){return ae.target!==$.current&&K(!1)}},Q?{right:5.5}:{left:-5.5}),{},{children:(0,x.jsx)(a,{options:ue,value:Oe,label:ge,onChange:se,onClose:function(){var ae;K(!1),(ae=$.current)===null||ae===void 0||ae.focus()}})})),(0,x.jsx)("div",{className:"picker-triangle"})]}):null})]})}var u=e(8935),C=e(9937),L=e(7651),_=e(583),E=e(4761),D=e(4183),F=e(4643),ee=e(4105),te=e(1648),re=e(9827),oe=e(2767);function Y(ye,Ee){var Oe=Object.keys(ye);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(ye);Ee&&(ge=ge.filter(function(ue){return Object.getOwnPropertyDescriptor(ye,ue).enumerable})),Oe.push.apply(Oe,ge)}return Oe}function V(ye){for(var Ee=1;Ee<arguments.length;Ee++){var Oe=arguments[Ee]!=null?arguments[Ee]:{};Ee%2?Y(Object(Oe),!0).forEach(function(ge){(0,w.Z)(ye,ge,Oe[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ye,Object.getOwnPropertyDescriptors(Oe)):Y(Object(Oe)).forEach(function(ge){Object.defineProperty(ye,ge,Object.getOwnPropertyDescriptor(Oe,ge))})}return ye}var ie=function(ye,Ee,Oe){var ge=arguments.length>3&&arguments[3]!==void 0&&arguments[3],ue=(0,re.xn)((0,ee.eD)(ye,Ee,{includeBoundTextElement:ge}));return ye.map(function(se){var j;return ue.get(se.id)||se.id===((j=Ee.editingElement)===null||j===void 0?void 0:j.id)?Oe(se):se})},we=function(ye,Ee,Oe,ge,ue){var se,j=Ee.editingElement,i=(0,L.Lm)(ye),s=null;return j&&(s=Oe(j)),s||(s=(0,ee.N)(i,Ee)?(se=(0,ee.PR)(ge===!0?i:i.filter(function(O){return ge(O)}),Ee,Oe))!==null&&se!==void 0?se:typeof ue=="function"?ue(!0):ue:typeof ue=="function"?ue(!1):ue),s},Ae=function(ye,Ee,Oe,ge){var ue=new Set;return{elements:ie(ye,Ee,function(se){if((0,L.iB)(se)){var j=Oe(se);ue.add(j);var i=(0,_.BE)(se,{fontSize:j});return(0,L.oN)(i,(0,E.tl)(se)),s=se,O=i,i=(0,D.Xh)(O)?O:(0,_.DR)(O,{x:s.textAlign==="left"?s.x:s.x+(s.width-O.width)/(s.textAlign==="center"?2:1),y:s.y+(s.height-O.height)/2},!1)}var s,O;return se},!0),appState:V(V({},Ee),{},{currentItemFontSize:ue.size===1?(0,P.Z)(ue)[0]:ge??Ee.currentItemFontSize}),commitToHistory:!0}},Re=((0,oe.z)({name:"changeStrokeColor",trackEvent:!1,perform:function(ye,Ee,Oe){return V(V({},Oe.currentItemStrokeColor&&{elements:ie(ye,Ee,function(ge){return(0,te.PD)(ge.type)?(0,_.BE)(ge,{strokeColor:Oe.currentItemStrokeColor}):ge},!0)}),{},{appState:V(V({},Ee),Oe),commitToHistory:!!Oe.currentItemStrokeColor})},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData;return ye.appProps,(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("h3",{"aria-hidden":"true",children:(0,r.t)("labels.stroke")}),(0,x.jsx)(f.z,{topPicks:m.fY,palette:m.Wk,type:"elementStroke",label:(0,r.t)("labels.stroke"),color:we(Ee,Oe,function(ue){return ue.strokeColor},!0,Oe.currentItemStrokeColor),onChange:function(ue){return ge({currentItemStrokeColor:ue})},elements:Ee,appState:Oe,updateData:ge})]})}}),(0,oe.z)({name:"changeBackgroundColor",trackEvent:!1,perform:function(ye,Ee,Oe){return V(V({},Oe.currentItemBackgroundColor&&{elements:ie(ye,Ee,function(ge){return(0,_.BE)(ge,{backgroundColor:Oe.currentItemBackgroundColor})})}),{},{appState:V(V({},Ee),Oe),commitToHistory:!!Oe.currentItemBackgroundColor})},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData;return ye.appProps,(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("h3",{"aria-hidden":"true",children:(0,r.t)("labels.background")}),(0,x.jsx)(f.z,{topPicks:m.eq,palette:m.SF,type:"elementBackground",label:(0,r.t)("labels.background"),color:we(Ee,Oe,function(ue){return ue.backgroundColor},!0,Oe.currentItemBackgroundColor),onChange:function(ue){return ge({currentItemBackgroundColor:ue})},elements:Ee,appState:Oe,updateData:ge})]})}}),(0,oe.z)({name:"changeFillStyle",trackEvent:!1,perform:function(ye,Ee,Oe,ge){return(0,v.L)("element","changeFillStyle","".concat(Oe," (").concat(ge.device.editor.isMobile?"mobile":"desktop",")")),{elements:ie(ye,Ee,function(ue){return(0,_.BE)(ue,{fillStyle:Oe})}),appState:V(V({},Ee),{},{currentItemFillStyle:Oe}),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData,ue=(0,ee.eD)(Ee,Oe),se=ue.length>0&&ue.every(function(j){return j.fillStyle==="zigzag"});return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.fill")}),(0,x.jsx)(c,{type:"button",options:[{value:"hachure",text:"".concat(se?(0,r.t)("labels.zigzag"):(0,r.t)("labels.hachure")," (").concat((0,re.uY)("Alt-Click"),")"),icon:se?u.lF:u.a0,active:!!se||void 0,testId:"fill-hachure"},{value:"cross-hatch",text:(0,r.t)("labels.crossHatch"),icon:u.np,testId:"fill-cross-hatch"},{value:"solid",text:(0,r.t)("labels.solid"),icon:u.X7,testId:"fill-solid"}],value:we(Ee,Oe,function(j){return j.fillStyle},function(j){return j.hasOwnProperty("fillStyle")},function(j){return j?null:Oe.currentItemFillStyle}),onClick:function(j,i){var s=i.altKey&&j==="hachure"&&ue.every(function(O){return O.fillStyle==="hachure"})?"zigzag":j;ge(s)}})]})}}),(0,oe.z)({name:"changeStrokeWidth",trackEvent:!1,perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){return(0,_.BE)(ge,{strokeWidth:Oe})}),appState:V(V({},Ee),{},{currentItemStrokeWidth:Oe}),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData;return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.strokeWidth")}),(0,x.jsx)(c,{group:"stroke-width",options:[{value:C.dg.thin,text:(0,r.t)("labels.thin"),icon:u.ZA,testId:"strokeWidth-thin"},{value:C.dg.bold,text:(0,r.t)("labels.bold"),icon:u.Wl,testId:"strokeWidth-bold"},{value:C.dg.extraBold,text:(0,r.t)("labels.extraBold"),icon:u.m9,testId:"strokeWidth-extraBold"}],value:we(Ee,Oe,function(ue){return ue.strokeWidth},function(ue){return ue.hasOwnProperty("strokeWidth")},function(ue){return ue?null:Oe.currentItemStrokeWidth}),onChange:function(ue){return ge(ue)}})]})}}),(0,oe.z)({name:"changeSloppiness",trackEvent:!1,perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){return(0,_.BE)(ge,{seed:(0,F.LU)(),roughness:Oe})}),appState:V(V({},Ee),{},{currentItemRoughness:Oe}),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData;return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.sloppiness")}),(0,x.jsx)(c,{group:"sloppiness",options:[{value:0,text:(0,r.t)("labels.architect"),icon:u.bf},{value:1,text:(0,r.t)("labels.artist"),icon:u.kM},{value:2,text:(0,r.t)("labels.cartoonist"),icon:u.W2}],value:we(Ee,Oe,function(ue){return ue.roughness},function(ue){return ue.hasOwnProperty("roughness")},function(ue){return ue?null:Oe.currentItemRoughness}),onChange:function(ue){return ge(ue)}})]})}}),(0,oe.z)({name:"changeStrokeStyle",trackEvent:!1,perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){return(0,_.BE)(ge,{strokeStyle:Oe})}),appState:V(V({},Ee),{},{currentItemStrokeStyle:Oe}),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData;return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.strokeStyle")}),(0,x.jsx)(c,{group:"strokeStyle",options:[{value:"solid",text:(0,r.t)("labels.strokeStyle_solid"),icon:u.ZA},{value:"dashed",text:(0,r.t)("labels.strokeStyle_dashed"),icon:u.a5},{value:"dotted",text:(0,r.t)("labels.strokeStyle_dotted"),icon:u.aT}],value:we(Ee,Oe,function(ue){return ue.strokeStyle},function(ue){return ue.hasOwnProperty("strokeStyle")},function(ue){return ue?null:Oe.currentItemStrokeStyle}),onChange:function(ue){return ge(ue)}})]})}}),(0,oe.z)({name:"changeOpacity",trackEvent:!1,perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){return(0,_.BE)(ge,{opacity:Oe})},!0),appState:V(V({},Ee),{},{currentItemOpacity:Oe}),commitToHistory:!0}},PanelComponent:function(ye){var Ee,Oe=ye.elements,ge=ye.appState,ue=ye.updateData;return(0,x.jsxs)("label",{className:"control-label",children:[(0,r.t)("labels.opacity"),(0,x.jsx)("input",{type:"range",min:"0",max:"100",step:"10",onChange:function(se){return ue(+se.target.value)},value:(Ee=we(Oe,ge,function(se){return se.opacity},!0,ge.currentItemOpacity))!==null&&Ee!==void 0?Ee:void 0})]})}}),(0,oe.z)({name:"changeFontSize",trackEvent:!1,perform:function(ye,Ee,Oe){return Ae(ye,Ee,function(){return Oe},Oe)},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData;return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.fontSize")}),(0,x.jsx)(c,{group:"font-size",options:[{value:16,text:(0,r.t)("labels.small"),icon:u.q0,testId:"fontSize-small"},{value:20,text:(0,r.t)("labels.medium"),icon:u.nq,testId:"fontSize-medium"},{value:28,text:(0,r.t)("labels.large"),icon:u.tW,testId:"fontSize-large"},{value:36,text:(0,r.t)("labels.veryLarge"),icon:u.OA,testId:"fontSize-veryLarge"}],value:we(Ee,Oe,function(ue){if((0,L.iB)(ue))return ue.fontSize;var se=(0,E.WJ)(ue);return se?se.fontSize:null},function(ue){return(0,L.iB)(ue)||(0,E.WJ)(ue)!==null},function(ue){return ue?null:Oe.currentItemFontSize||C.n5}),onChange:function(ue){return ge(ue)}})]})}}),(0,oe.z)({name:"decreaseFontSize",trackEvent:!1,perform:function(ye,Ee,Oe){return Ae(ye,Ee,function(ge){return Math.round(1/1.1*ge.fontSize)})},keyTest:function(ye){return ye[d.tW.CTRL_OR_CMD]&&ye.shiftKey&&(ye.key===d.tW.CHEVRON_LEFT||ye.key===d.tW.COMMA)}})),je=(0,oe.z)({name:"increaseFontSize",trackEvent:!1,perform:function(ye,Ee,Oe){return Ae(ye,Ee,function(ge){return Math.round(1.1*ge.fontSize)})},keyTest:function(ye){return ye[d.tW.CTRL_OR_CMD]&&ye.shiftKey&&(ye.key===d.tW.CHEVRON_RIGHT||ye.key===d.tW.PERIOD)}});(0,oe.z)({name:"changeFontFamily",trackEvent:!1,perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){if((0,L.iB)(ge)){var ue=(0,_.BE)(ge,{fontFamily:Oe,lineHeight:(0,E.PT)(Oe)});return(0,L.oN)(ue,(0,E.tl)(ge)),ue}return ge},!0),appState:V(V({},Ee),{},{currentItemFontFamily:Oe}),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData,ue=[{value:C.ut.Virgil,text:(0,r.t)("labels.handDrawn"),icon:u.Pm,testId:"font-family-virgil"},{value:C.ut.Helvetica,text:(0,r.t)("labels.normal"),icon:u.vo,testId:"font-family-normal"},{value:C.ut.Cascadia,text:(0,r.t)("labels.code"),icon:u.z6,testId:"font-family-code"}];return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.fontFamily")}),(0,x.jsx)(c,{group:"font-family",options:ue,value:we(Ee,Oe,function(se){if((0,L.iB)(se))return se.fontFamily;var j=(0,E.WJ)(se);return j?j.fontFamily:null},function(se){return(0,L.iB)(se)||(0,E.WJ)(se)!==null},function(se){return se?null:Oe.currentItemFontFamily||C.rk}),onChange:function(se){return ge(se)}})]})}}),(0,oe.z)({name:"changeTextAlign",trackEvent:!1,perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){if((0,L.iB)(ge)){var ue=(0,_.BE)(ge,{textAlign:Oe});return(0,L.oN)(ue,(0,E.tl)(ge)),ue}return ge},!0),appState:V(V({},Ee),{},{currentItemTextAlign:Oe}),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData;return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.textAlign")}),(0,x.jsx)(c,{group:"text-align",options:[{value:"left",text:(0,r.t)("labels.left"),icon:u.rr,testId:"align-left"},{value:"center",text:(0,r.t)("labels.center"),icon:u.o3,testId:"align-horizontal-center"},{value:"right",text:(0,r.t)("labels.right"),icon:u.oT,testId:"align-right"}],value:we(Ee,Oe,function(ue){if((0,L.iB)(ue))return ue.textAlign;var se=(0,E.WJ)(ue);return se?se.textAlign:null},function(ue){return(0,L.iB)(ue)||(0,E.WJ)(ue)!==null},function(ue){return ue?null:Oe.currentItemTextAlign}),onChange:function(ue){return ge(ue)}})]})}}),(0,oe.z)({name:"changeVerticalAlign",trackEvent:{category:"element"},perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){if((0,L.iB)(ge)){var ue=(0,_.BE)(ge,{verticalAlign:Oe});return(0,L.oN)(ue,(0,E.tl)(ge)),ue}return ge},!0),appState:V({},Ee),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData;return(0,x.jsx)("fieldset",{children:(0,x.jsx)(c,{group:"text-align",options:[{value:C.oX.TOP,text:(0,r.t)("labels.alignTop"),icon:(0,x.jsx)(u.EO,{theme:Oe.theme}),testId:"align-top"},{value:C.oX.MIDDLE,text:(0,r.t)("labels.centerVertically"),icon:(0,x.jsx)(u.P7,{theme:Oe.theme}),testId:"align-middle"},{value:C.oX.BOTTOM,text:(0,r.t)("labels.alignBottom"),icon:(0,x.jsx)(u.aA,{theme:Oe.theme}),testId:"align-bottom"}],value:we(Ee,Oe,function(ue){if((0,L.iB)(ue)&&ue.containerId)return ue.verticalAlign;var se=(0,E.WJ)(ue);return se?se.verticalAlign:null},function(ue){return(0,L.iB)(ue)||(0,E.WJ)(ue)!==null},function(ue){return ue?null:C.oX.MIDDLE}),onChange:function(ue){return ge(ue)}})})}}),(0,oe.z)({name:"changeRoundness",trackEvent:!1,perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){return(0,_.BE)(ge,{roundness:Oe==="round"?{type:(0,D.QI)(ge.type)?C.a6.ADAPTIVE_RADIUS:C.a6.PROPORTIONAL_RADIUS}:null})}),appState:V(V({},Ee),{},{currentItemRoundness:Oe}),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData,ue=(0,ee.Zs)((0,L.Lm)(Ee),Oe).some(function(se){var j;return((j=se.roundness)===null||j===void 0?void 0:j.type)===C.a6.LEGACY});return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.edges")}),(0,x.jsx)(c,{group:"edges",options:[{value:"sharp",text:(0,r.t)("labels.sharp"),icon:u.wr},{value:"round",text:(0,r.t)("labels.round"),icon:u.DS}],value:we(Ee,Oe,function(se){return ue?null:se.roundness?"round":"sharp"},function(se){return se.hasOwnProperty("roundness")},function(se){return se?null:Oe.currentItemRoundness}),onChange:function(se){return ge(se)}})]})}}),(0,oe.z)({name:"changeArrowhead",trackEvent:!1,perform:function(ye,Ee,Oe){return{elements:ie(ye,Ee,function(ge){if((0,D.bt)(ge)){var ue=Oe.position,se=Oe.type;if(ue==="start")return(0,_.BE)(ge,{startArrowhead:se});if(ue==="end")return(0,_.BE)(ge,{endArrowhead:se})}return ge}),appState:V(V({},Ee),{},(0,w.Z)({},Oe.position==="start"?"currentItemStartArrowhead":"currentItemEndArrowhead",Oe.type)),commitToHistory:!0}},PanelComponent:function(ye){var Ee=ye.elements,Oe=ye.appState,ge=ye.updateData,ue=(0,r.G3)().rtl;return(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:(0,r.t)("labels.arrowheads")}),(0,x.jsxs)("div",{className:"iconSelectList buttonList",children:[(0,x.jsx)(l,{label:"arrowhead_start",options:[{value:null,text:(0,r.t)("labels.arrowhead_none"),icon:u.fr,keyBinding:"q"},{value:"arrow",text:(0,r.t)("labels.arrowhead_arrow"),icon:(0,x.jsx)(u.il,{flip:!ue}),keyBinding:"w"},{value:"bar",text:(0,r.t)("labels.arrowhead_bar"),icon:(0,x.jsx)(u.m,{flip:!ue}),keyBinding:"e"},{value:"dot",text:(0,r.t)("labels.arrowhead_dot"),icon:(0,x.jsx)(u.tn,{flip:!ue}),keyBinding:"r"},{value:"triangle",text:(0,r.t)("labels.arrowhead_triangle"),icon:(0,x.jsx)(u.j8,{flip:!ue}),keyBinding:"t"}],value:we(Ee,Oe,function(se){return(0,D.bt)(se)&&(0,ee.Un)(se.type)?se.startArrowhead:Oe.currentItemStartArrowhead},!0,Oe.currentItemStartArrowhead),onChange:function(se){return ge({position:"start",type:se})}}),(0,x.jsx)(l,{label:"arrowhead_end",group:"arrowheads",options:[{value:null,text:(0,r.t)("labels.arrowhead_none"),keyBinding:"q",icon:u.fr},{value:"arrow",text:(0,r.t)("labels.arrowhead_arrow"),keyBinding:"w",icon:(0,x.jsx)(u.il,{flip:ue})},{value:"bar",text:(0,r.t)("labels.arrowhead_bar"),keyBinding:"e",icon:(0,x.jsx)(u.m,{flip:ue})},{value:"dot",text:(0,r.t)("labels.arrowhead_dot"),keyBinding:"r",icon:(0,x.jsx)(u.tn,{flip:ue})},{value:"triangle",text:(0,r.t)("labels.arrowhead_triangle"),icon:(0,x.jsx)(u.j8,{flip:ue}),keyBinding:"t"}],value:we(Ee,Oe,function(se){return(0,D.bt)(se)&&(0,ee.Un)(se.type)?se.endArrowhead:Oe.currentItemEndArrowhead},!0,Oe.currentItemEndArrowhead),onChange:function(se){return ge({position:"end",type:se})}})]})]})}})},7080:function(fe,t,e){e.d(t,{u:function(){return x}});var P=e(7169),w=e(2767),m=e(5491);function v(c,f){var Z=Object.keys(c);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(c);f&&(N=N.filter(function(W){return Object.getOwnPropertyDescriptor(c,W).enumerable})),Z.push.apply(Z,N)}return Z}function I(c){for(var f=1;f<arguments.length;f++){var Z=arguments[f]!=null?arguments[f]:{};f%2?v(Object(Z),!0).forEach(function(N){(0,P.Z)(c,N,Z[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(Z)):v(Object(Z)).forEach(function(N){Object.defineProperty(c,N,Object.getOwnPropertyDescriptor(Z,N))})}return c}var x=(0,w.z)({name:"stats",viewMode:!0,trackEvent:{category:"menu"},perform:function(c,f){return{appState:I(I({},f),{},{showStats:!this.checked(f)}),commitToHistory:!1}},checked:function(c){return c.showStats},contextItemLabel:"stats.title",keyTest:function(c){return!c[m.tW.CTRL_OR_CMD]&&c.altKey&&c.code===m.aU.SLASH}})},5463:function(fe,t,e){e.d(t,{FL:function(){return Tt},vD:function(){return Zn.vD},yA:function(){return a},BZ:function(){return u},mo:function(){return ue.mo},uN:function(){return Ir.uN},jK:function(){return Ir.jK},FA:function(){return Ir.FA},pw:function(){return ae},ZM:function(){return Ir.ZM},X9:function(){return P.X},xF:function(){return Oe},pL:function(){return O},jl:function(){return ir},kt:function(){return dr},EQ:function(){return Ne},nz:function(){return zn.nz},_d:function(){return z._d},W3:function(){return be},mM:function(){return z.mM},ns:function(){return z.ns},Yy:function(){return ee},V:function(){return p},zi:function(){return l},jY:function(){return Be},$h:function(){return Cn.$},Pb:function(){return fr},Qs:function(){return We},pm:function(){return fn},u0:function(){return Mn.u},Zp:function(){return ue.Zp},JN:function(){return Pr},y7:function(){return Zn.y7},s:function(){return Ye},zp:function(){return Ir.zp}});var P=e(2448),w=e(2577),m=e(1930),v=e(583),I=e(4183),x=e(9215),c=e(4105),f=e(457),Z=e(9827);function N(pe,_e){var De=typeof Symbol<"u"&&pe[Symbol.iterator]||pe["@@iterator"];if(!De){if(Array.isArray(pe)||(De=function(_t,Jt){if(_t){if(typeof _t=="string")return W(_t,Jt);var ur=Object.prototype.toString.call(_t).slice(8,-1);if(ur==="Object"&&_t.constructor&&(ur=_t.constructor.name),ur==="Map"||ur==="Set")return Array.from(_t);if(ur==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ur))return W(_t,Jt)}}(pe))||_e&&pe&&typeof pe.length=="number"){De&&(pe=De);var Xe=0,St=function(){};return{s:St,n:function(){return Xe>=pe.length?{done:!0}:{done:!1,value:pe[Xe++]}},e:function(_t){throw _t},f:St}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Gt,Xt=!0,It=!1;return{s:function(){De=De.call(pe)},n:function(){var _t=De.next();return Xt=_t.done,_t},e:function(_t){It=!0,Gt=_t},f:function(){try{Xt||De.return==null||De.return()}finally{if(It)throw Gt}}}}function W(pe,_e){(_e==null||_e>pe.length)&&(_e=pe.length);for(var De=0,Xe=new Array(_e);De<_e;De++)Xe[De]=pe[De];return Xe}var k=function(pe,_e){return pe.frameId===_e||pe.id===_e},S=function(pe,_e,De){for(var Xe=[],St=[],Gt=null,Xt=-1,It=(0,Z.xn)(De||(0,c.eD)(pe,_e,{includeBoundTextElement:!0,includeElementsInFrames:!0}));++Xt<pe.length;){var _t=pe[Xt];It.get(_t.id)?(St.length&&(Xe=Xe.concat(St),St=[]),Xe.push(Xt),Gt=Xt+1):_t.isDeleted&&Gt===Xt?(Gt=Xt+1,St.push(Xt)):St=[]}return Xe},J=function(pe,_e,De){if("containerId"in pe&&pe.containerId){if(De!=="left")return _e.indexOf(pe);var Xe=f.Z.getScene(pe).getElement(pe.containerId);if(Xe)return _e.indexOf(Xe)}else{var St,Gt,Xt=(St=pe.boundElements)===null||St===void 0||(Gt=St.find(function(_t){return _t.type!=="arrow"}))===null||Gt===void 0?void 0:Gt.id;if(Xt){if(De==="left")return _e.indexOf(pe);var It=f.Z.getScene(pe).getElement(Xt);if(It)return _e.indexOf(It)}}},ce=function(pe,_e,De,Xe,St){var Gt,Xt,It,_t,Jt,ur=_e[De],_r=function(mn){return!mn.isDeleted&&(St?mn.frameId===St:!pe.editingGroupId||mn.groupIds.includes(pe.editingGroupId))},Cr=Xe==="left"?(0,Z.qr)(_e,function(mn){return _r(mn)},Math.max(0,De-1)):(0,Z.cx)(_e,function(mn){return _r(mn)},De+1),Rr=_e[Cr];if(!Rr)return-1;if(pe.editingGroupId){var Wr;if(ur?.groupIds.join("")===Rr?.groupIds.join(""))return(Wr=J(Rr,_e,Xe))!==null&&Wr!==void 0?Wr:Cr;if(Rr==null||!Rr.groupIds.includes(pe.editingGroupId))return-1}if(!St&&(Rr.frameId||Rr.type==="frame")){var Lr=(Gt=_e,Xt=Rr.frameId||Rr.id,It=-1,_t=-1,Gt.forEach(function(mn,Hn){k(mn,Xt)&&(It===-1&&(It=Hn),_t=Hn)}),It===-1?[]:Gt.slice(It,_t+1));return Xe==="left"?_e.indexOf(Lr[0]):_e.indexOf(Lr[Lr.length-1])}if(!Rr.groupIds.length)return(Jt=J(Rr,_e,Xe))!==null&&Jt!==void 0?Jt:Cr;var zr=pe.editingGroupId?Rr.groupIds[Rr.groupIds.indexOf(pe.editingGroupId)-1]:Rr.groupIds[Rr.groupIds.length-1],rn=(0,x.Fb)(_e,zr);return rn.length?Xe==="left"?_e.indexOf(rn[0]):_e.indexOf(rn[rn.length-1]):Cr},he=function(pe,_e){return _e.reduce(function(De,Xe){var St=pe[Xe];return De[St.id]=St,De},{})},ve=function(pe,_e,De){var Xe=S(pe,_e),St=he(pe,Xe),Gt=function(It){var _t=0;return It.reduce(function(Jt,ur,_r){return _r>0&&It[_r-1]!==ur-1&&(_t=++_t),(Jt[_t]||(Jt[_t]=[])).push(ur),Jt},[])}(Xe);De==="right"&&(Gt=Gt.reverse());var Xt=new Set(Xe.filter(function(It){return pe[It].type==="frame"}).map(function(It){return pe[It].id}));return Gt.forEach(function(It,_t){var Jt,ur=It[0],_r=It[It.length-1],Cr=De==="left"?ur:_r,Rr=It.some(function(Hn){var qn=pe[Hn];return qn.frameId&&Xt.has(qn.frameId)})?null:(Jt=pe[Cr])===null||Jt===void 0?void 0:Jt.frameId,Wr=ce(_e,pe,Cr,De,Rr);if(Wr!==-1&&Cr!==Wr){var Lr=De==="left"?pe.slice(0,Wr):pe.slice(0,ur),zr=pe.slice(ur,_r+1),rn=De==="left"?pe.slice(Wr,ur):pe.slice(_r+1,Wr+1),mn=De==="left"?pe.slice(_r+1):pe.slice(Wr+1);pe=De==="left"?[].concat((0,m.Z)(Lr),(0,m.Z)(zr),(0,m.Z)(rn),(0,m.Z)(mn)):[].concat((0,m.Z)(Lr),(0,m.Z)(rn),(0,m.Z)(zr),(0,m.Z)(mn))}}),pe.map(function(It){return St[It.id]?(0,v.ZP)(It):It})},le=function(pe,_e,De,Xe,St){var Gt,Xt,It=S(pe,_e,St),_t=he(pe,It),Jt=[];if(De==="left"){if(Xe)Gt=(0,Z.cx)(pe,function(zr){return k(zr,Xe)});else if(_e.editingGroupId){var ur=(0,x.Fb)(pe,_e.editingGroupId);if(!ur.length)return pe;Gt=pe.indexOf(ur[0])}else Gt=0;Xt=It[It.length-1]}else{if(Xe)Xt=(0,Z.qr)(pe,function(zr){return k(zr,Xe)});else if(_e.editingGroupId){var _r=(0,x.Fb)(pe,_e.editingGroupId);if(!_r.length)return pe;Xt=pe.indexOf(_r[_r.length-1])}else Xt=pe.length-1;Gt=It[0]}Gt===-1&&(Gt=0);for(var Cr=Gt;Cr<Xt+1;Cr++)It.includes(Cr)||Jt.push(pe[Cr]);var Rr=Object.values(_t).map(function(zr){return(0,v.ZP)(zr)}),Wr=pe.slice(0,Gt),Lr=pe.slice(Xt+1);return De==="left"?[].concat((0,m.Z)(Wr),(0,m.Z)(Rr),Jt,(0,m.Z)(Lr)):[].concat((0,m.Z)(Wr),Jt,(0,m.Z)(Rr),(0,m.Z)(Lr))};function G(pe,_e,De,Xe){var St,Gt=(0,Z.xn)((0,c.eD)(pe,_e,{includeBoundTextElement:!0,includeElementsInFrames:!0})),Xt={regularElements:[],frameChildren:new Map},It=new Set,_t=N(pe);try{for(_t.s();!(St=_t.n()).done;){var Jt=St.value;Gt.has(Jt.id)&&(0,I.He)(Jt)&&It.add(Jt.id)}}catch(mn){_t.e(mn)}finally{_t.f()}var ur,_r=N(pe);try{for(_r.s();!(ur=_r.n()).done;){var Cr=ur.value;if(Gt.has(Cr.id))if((0,I.He)(Cr)||Cr.frameId&&It.has(Cr.frameId))Xt.regularElements.push(Cr);else if(Cr.frameId){var Rr=Xt.frameChildren.get(Cr.frameId)||[];Rr.push(Cr),Xt.frameChildren.set(Cr.frameId,Rr)}else Xt.regularElements.push(Cr)}}catch(mn){_r.e(mn)}finally{_r.f()}for(var Wr=pe,Lr=0,zr=Array.from(Xt.frameChildren.entries());Lr<zr.length;Lr++){var rn=(0,w.Z)(zr[Lr],2);Wr=Xe(pe,_e,De,rn[0],rn[1])}return Xe(Wr,_e,De,null,Xt.regularElements)}var U=function(pe,_e){return ve(pe,_e,"left")},H=function(pe,_e){return ve(pe,_e,"right")},M=function(pe,_e){return G(pe,_e,"left",le)},A=function(pe,_e){return G(pe,_e,"right",le)},b=e(5491),y=e(8227),h=e(2767),d=e(8935),r=e(9937),n=e(1020),p=(0,h.z)({name:"sendBackward",trackEvent:{category:"element"},perform:function(pe,_e){return{elements:U(pe,_e),appState:_e,commitToHistory:!0}},contextItemLabel:"labels.sendBackward",keyPriority:40,keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&!pe.shiftKey&&pe.code===b.aU.BRACKET_LEFT},PanelComponent:function(pe){var _e=pe.updateData;return pe.appState,(0,n.jsx)("button",{type:"button",className:"zIndexButton",onClick:function(){return _e(null)},title:"".concat((0,y.t)("labels.sendBackward")," — ").concat((0,Z.uY)("CtrlOrCmd+[")),children:d.Gc})}}),a=(0,h.z)({name:"bringForward",trackEvent:{category:"element"},perform:function(pe,_e){return{elements:H(pe,_e),appState:_e,commitToHistory:!0}},contextItemLabel:"labels.bringForward",keyPriority:40,keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&!pe.shiftKey&&pe.code===b.aU.BRACKET_RIGHT},PanelComponent:function(pe){var _e=pe.updateData;return pe.appState,(0,n.jsx)("button",{type:"button",className:"zIndexButton",onClick:function(){return _e(null)},title:"".concat((0,y.t)("labels.bringForward")," — ").concat((0,Z.uY)("CtrlOrCmd+]")),children:d.t5})}}),l=(0,h.z)({name:"sendToBack",trackEvent:{category:"element"},perform:function(pe,_e){return{elements:M(pe,_e),appState:_e,commitToHistory:!0}},contextItemLabel:"labels.sendToBack",keyTest:function(pe){return r.Um?pe[b.tW.CTRL_OR_CMD]&&pe.altKey&&pe.code===b.aU.BRACKET_LEFT:pe[b.tW.CTRL_OR_CMD]&&pe.shiftKey&&pe.code===b.aU.BRACKET_LEFT},PanelComponent:function(pe){var _e=pe.updateData;return pe.appState,(0,n.jsx)("button",{type:"button",className:"zIndexButton",onClick:function(){return _e(null)},title:"".concat((0,y.t)("labels.sendToBack")," — ").concat(r.Um?(0,Z.uY)("CtrlOrCmd+Alt+["):(0,Z.uY)("CtrlOrCmd+Shift+[")),children:d.pw})}}),u=(0,h.z)({name:"bringToFront",trackEvent:{category:"element"},perform:function(pe,_e){return{elements:A(pe,_e),appState:_e,commitToHistory:!0}},contextItemLabel:"labels.bringToFront",keyTest:function(pe){return r.Um?pe[b.tW.CTRL_OR_CMD]&&pe.altKey&&pe.code===b.aU.BRACKET_RIGHT:pe[b.tW.CTRL_OR_CMD]&&pe.shiftKey&&pe.code===b.aU.BRACKET_RIGHT},PanelComponent:function(pe){var _e=pe.updateData;return pe.appState,(0,n.jsx)("button",{type:"button",className:"zIndexButton",onClick:function(De){return _e(null)},title:"".concat((0,y.t)("labels.bringToFront")," — ").concat(r.Um?(0,Z.uY)("CtrlOrCmd+Alt+]"):(0,Z.uY)("CtrlOrCmd+Shift+]")),children:d.IN})}}),C=e(7169),L=e(7651),_=e(7422),E=e(6264);function D(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function F(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?D(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):D(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var ee=(0,h.z)({name:"selectAll",trackEvent:{category:"canvas"},perform:function(pe,_e,De,Xe){if(_e.editingLinearElement)return!1;var St=(0,E.aI)(pe.filter(function(Gt){return!(Gt.isDeleted||(0,L.iB)(Gt)&&Gt.containerId||Gt.locked)})).reduce(function(Gt,Xt){return Gt[Xt.id]=!0,Gt},{});return{appState:F(F(F({},_e),(0,x.bO)({editingGroupId:null,selectedElementIds:St},(0,L.Lm)(pe),_e,Xe)),{},{selectedLinearElement:Object.keys(St).length===1&&(0,I.bt)(pe[0])?new _._(pe[0],Xe.scene):null}),commitToHistory:!0}},contextItemLabel:"labels.selectAll",keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.key===b.tW.A}}),te=e(1512),re=e(9645),oe=e(4761);function Y(pe,_e){var De=typeof Symbol<"u"&&pe[Symbol.iterator]||pe["@@iterator"];if(!De){if(Array.isArray(pe)||(De=function(_t,Jt){if(_t){if(typeof _t=="string")return V(_t,Jt);var ur=Object.prototype.toString.call(_t).slice(8,-1);if(ur==="Object"&&_t.constructor&&(ur=_t.constructor.name),ur==="Map"||ur==="Set")return Array.from(_t);if(ur==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ur))return V(_t,Jt)}}(pe))||_e&&pe&&typeof pe.length=="number"){De&&(pe=De);var Xe=0,St=function(){};return{s:St,n:function(){return Xe>=pe.length?{done:!0}:{done:!1,value:pe[Xe++]}},e:function(_t){throw _t},f:St}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Gt,Xt=!0,It=!1;return{s:function(){De=De.call(pe)},n:function(){var _t=De.next();return Xt=_t.done,_t},e:function(_t){It=!0,Gt=_t},f:function(){try{Xt||De.return==null||De.return()}finally{if(It)throw Gt}}}}function V(pe,_e){(_e==null||_e>pe.length)&&(_e=pe.length);for(var De=0,Xe=new Array(_e);De<_e;De++)Xe[De]=pe[De];return Xe}var ie=function(pe){var _e=pe.slice(),De=new Set,Xe=function Gt(Xt){var It,_t,Jt,ur=(It=Xt[0])===null||It===void 0||(_t=It.groupIds)===null||_t===void 0?void 0:_t.join(""),_r=[Xt[0]],Cr=[],Rr=Y(Xt.slice(1));try{for(Rr.s();!(Jt=Rr.n()).done;){var Wr,Lr=Jt.value;((Wr=Lr.groupIds)===null||Wr===void 0?void 0:Wr.join(""))===ur?_r.push(Lr):Cr.push(Lr)}}catch(zr){Rr.e(zr)}finally{Rr.f()}return Cr.length?[].concat(_r,(0,m.Z)(Gt(Cr))):_r},St=new Map;return _e.forEach(function(Gt,Xt){var It;if(!St.has(Gt.id))if((It=Gt.groupIds)!==null&&It!==void 0&&It.length){var _t,Jt=Gt.groupIds[Gt.groupIds.length-1],ur=_e.slice(Xt).filter(function(Rr){var Wr,Lr=Rr==null||(Wr=Rr.groupIds)===null||Wr===void 0?void 0:Wr.some(function(zr){return zr===Jt});return Lr&&St.set(Rr.id,!0),Lr}),_r=Y(Xe(ur));try{for(_r.s();!(_t=_r.n()).done;){var Cr=_t.value;De.add(Cr)}}catch(Rr){_r.e(Rr)}finally{_r.f()}}else De.add(Gt)}),De.size!==pe.length?(console.error("normalizeGroupElementOrder: lost some elements... bailing!"),pe):(0,m.Z)(De)},we=function(pe){var _e=function(De){var Xe=(0,Z.I4)(De),St=De.slice(),Gt=new Set;return St.forEach(function(Xt,It){var _t;if(Xt)if((_t=Xt.boundElements)!==null&&_t!==void 0&&_t.length)Gt.add(Xt),St[It]=null,Xt.boundElements.forEach(function(_r){var Cr=Xe.get(_r.id);Cr&&_r.type==="text"&&(Gt.add(Cr[0]),St[Cr[1]]=null)});else if(Xt.type==="text"&&Xt.containerId){var Jt,ur=Xe.get(Xt.containerId);ur!=null&&(Jt=ur[0].boundElements)!==null&&Jt!==void 0&&Jt.find(function(_r){return _r.id===Xt.id})||(Gt.add(Xt),St[It]=null)}else Gt.add(Xt),St[It]=null}),Gt.size!==De.length?(console.error("normalizeBoundElementsOrder: lost some elements... bailing!"),De):(0,m.Z)(Gt)}(ie(pe));return _e},Ae=e(4682);function Re(pe,_e){var De=typeof Symbol<"u"&&pe[Symbol.iterator]||pe["@@iterator"];if(!De){if(Array.isArray(pe)||(De=function(_t,Jt){if(_t){if(typeof _t=="string")return je(_t,Jt);var ur=Object.prototype.toString.call(_t).slice(8,-1);if(ur==="Object"&&_t.constructor&&(ur=_t.constructor.name),ur==="Map"||ur==="Set")return Array.from(_t);if(ur==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ur))return je(_t,Jt)}}(pe))||_e&&pe&&typeof pe.length=="number"){De&&(pe=De);var Xe=0,St=function(){};return{s:St,n:function(){return Xe>=pe.length?{done:!0}:{done:!1,value:pe[Xe++]}},e:function(_t){throw _t},f:St}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Gt,Xt=!0,It=!1;return{s:function(){De=De.call(pe)},n:function(){var _t=De.next();return Xt=_t.done,_t},e:function(_t){It=!0,Gt=_t},f:function(){try{Xt||De.return==null||De.return()}finally{if(It)throw Gt}}}}function je(pe,_e){(_e==null||_e>pe.length)&&(_e=pe.length);for(var De=0,Xe=new Array(_e);De<_e;De++)Xe[De]=pe[De];return Xe}function ye(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function Ee(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?ye(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):ye(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var Oe=(0,h.z)({name:"duplicateSelection",trackEvent:{category:"element"},perform:function(pe,_e){if(_e.editingLinearElement){var De=_._.duplicateSelectedPoints(_e);return!!De&&{elements:pe,appState:De.appState,commitToHistory:!0}}return Ee(Ee({},ge(pe,_e)),{},{commitToHistory:!0})},contextItemLabel:"labels.duplicateSelection",keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.key===b.tW.D},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData;return(0,n.jsx)(te.V,{type:"button",icon:d.NA,title:"".concat((0,y.t)("labels.duplicateSelection")," — ").concat((0,Z.uY)("CtrlOrCmd+D")),"aria-label":(0,y.t)("labels.duplicateSelection"),onClick:function(){return Xe(null)},visible:(0,c.N)((0,L.Lm)(_e),De)})}}),ge=function(pe,_e){for(var De=we(pe),Xe=new Map,St=[],Gt=[],Xt=new Map,It=function(un){var wn=(0,L.Sy)(_e.editingGroupId,Xe,un,{x:un.x+r.k/2,y:un.y+r.k/2});return Xt.set(un.id,wn.id),Gt.push(un),St.push(wn),wn},_t=(0,Z.xn)((0,E.eD)(De,_e,{includeBoundTextElement:!0,includeElementsInFrames:!0})),Jt=new Map,ur=function(un){var wn,Wn=Re(un);try{for(Wn.s();!(wn=Wn.n()).done;){var io=wn.value;Jt.set(io.id,!0)}}catch(go){Wn.e(go)}finally{Wn.f()}return un},_r=[],Cr=-1;++Cr<De.length;){var Rr=De[Cr];if(!Jt.get(Rr.id)){var Wr=(0,oe.WJ)(Rr),Lr=(0,I.He)(Rr);if(_t.get(Rr.id)){if(Rr.groupIds.length||Wr||Lr){var zr=(0,x.yO)(_e,Rr);if(zr){var rn=(0,x.Fb)(De,zr).flatMap(function(un){return(0,I.He)(un)?[].concat((0,m.Z)((0,Ae.zD)(pe,un.id)),[un]):[un]});_r.push.apply(_r,(0,m.Z)(ur([].concat((0,m.Z)(rn),(0,m.Z)(rn.map(function(un){return It(un)}))))));continue}if(Wr){_r.push.apply(_r,(0,m.Z)(ur([Rr,Wr,It(Rr),It(Wr)])));continue}if(Lr){var mn=(0,Ae.zD)(De,Rr.id);_r.push.apply(_r,(0,m.Z)(ur([].concat((0,m.Z)(mn),[Rr],(0,m.Z)(mn.map(function(un){return It(un)})),[It(Rr)]))));continue}}Rr.frameId&&_t.has(Rr.frameId)||_r.push.apply(_r,(0,m.Z)(ur([Rr,It(Rr)])))}else _r.push.apply(_r,(0,m.Z)(ur([Rr])))}}var Hn=[],qn=new Map;for(Cr=_r.length;--Cr>=0;){var fo=_r[Cr];qn.get(fo.id)||(qn.set(fo.id,!0),Hn.push(fo))}var qr=Hn.reverse();(0,oe.P7)(_r,Gt,Xt),(0,re.ek)(_r,Gt,Xt),(0,Ae.xr)(qr,Gt,Xt);var Br=(0,E.aI)(St);return{elements:qr,appState:Ee(Ee({},_e),(0,x.bO)({editingGroupId:_e.editingGroupId,selectedElementIds:Br.reduce(function(un,wn){return(0,I.Xh)(wn)||(un[wn.id]=!0),un},{})},(0,L.Lm)(qr),_e,null))}},ue=(e(3361),e(6006)),se=e(2361),j=e(7652);function i(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function s(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?i(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):i(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var O=(0,h.z)({name:"finalize",trackEvent:!1,perform:function(pe,_e,De,Xe){var St,Gt=Xe.interactiveCanvas,Xt=Xe.focusContainer,It=Xe.scene;if(_e.editingLinearElement){var _t=_e.editingLinearElement,Jt=_t.elementId,ur=_t.startBindingElement,_r=_t.endBindingElement,Cr=_._.getElement(Jt);if(Cr)return(0,I.Mn)(Cr)&&(0,re.HG)(Cr,ur,_r),{elements:Cr.points.length<2||(0,L.QD)(Cr)?pe.filter(function(Wn){return Wn.id!==Cr.id}):void 0,appState:s(s({},_e),{},{cursorButton:"up",editingLinearElement:null}),commitToHistory:!0}}var Rr=pe,Wr=_e.pendingImageElementId&&It.getElement(_e.pendingImageElementId);Wr&&(0,v.DR)(Wr,{isDeleted:!0},!1),window.document.activeElement instanceof HTMLElement&&Xt();var Lr,zr=_e.multiElement?_e.multiElement:((St=_e.editingElement)===null||St===void 0?void 0:St.type)==="freedraw"?_e.editingElement:null;if(zr){if(zr.type!=="freedraw"&&_e.lastPointerDownWith!=="touch"){var rn=zr.points,mn=zr.lastCommittedPoint;mn&&rn[rn.length-1]===mn||(0,v.DR)(zr,{points:zr.points.slice(0,-1)})}(0,L.QD)(zr)&&(Rr=Rr.filter(function(Wn){return Wn.id!==zr.id}));var Hn=(0,se.g6)(zr.points,_e.zoom.value);if((zr.type==="line"||zr.type==="freedraw")&&Hn){var qn=zr.points,fo=qn[0];(0,v.DR)(zr,{points:qn.map(function(Wn,io){return io===qn.length-1?[fo[0],fo[1]]:Wn})})}if((0,I.Mn)(zr)&&!Hn&&zr.points.length>1){var qr=_._.getPointAtIndexGlobalCoordinates(zr,-1),Br=(0,w.Z)(qr,2),un=Br[0],wn=Br[1];(0,re.R)(zr,_e,f.Z.getScene(zr),{x:un,y:wn})}}return(_e.activeTool.locked||_e.activeTool.type==="freedraw")&&zr||(0,j.z8)(Gt),Lr=_e.activeTool.type==="eraser"?(0,Z.Om)(_e,s(s({},_e.activeTool.lastActiveTool||{type:"selection"}),{},{lastActiveToolBeforeEraser:null})):(0,Z.Om)(_e,{type:"selection"}),{elements:Rr,appState:s(s({},_e),{},{cursorButton:"up",activeTool:(_e.activeTool.locked||_e.activeTool.type==="freedraw")&&zr?_e.activeTool:Lr,activeEmbeddable:null,draggingElement:null,multiElement:null,editingElement:null,startBoundElement:null,suggestedBindings:[],selectedElementIds:zr&&!_e.activeTool.locked&&_e.activeTool.type!=="freedraw"?s(s({},_e.selectedElementIds),{},(0,C.Z)({},zr.id,!0)):_e.selectedElementIds,selectedLinearElement:zr&&(0,I.bt)(zr)?new _._(zr,It):_e.selectedLinearElement,pendingImageElementId:null}),commitToHistory:_e.activeTool.type==="freedraw"}},keyTest:function(pe,_e){return pe.key===b.tW.ESCAPE&&(_e.editingLinearElement!==null||!_e.draggingElement&&_e.multiElement===null)||(pe.key===b.tW.ESCAPE||pe.key===b.tW.ENTER)&&_e.multiElement!==null},PanelComponent:function(pe){var _e=pe.appState,De=pe.updateData,Xe=pe.data;return(0,n.jsx)(te.V,{type:"button",icon:d.$c,title:(0,y.t)("buttons.done"),"aria-label":(0,y.t)("buttons.done"),onClick:De,visible:_e.multiElement!=null,size:Xe?.size||"medium"})}}),z=e(4406);function K(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function $(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?K(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):K(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var Q="{}",ae=(0,h.z)({name:"copyStyles",trackEvent:{category:"element"},perform:function(pe,_e){var De=[],Xe=pe.find(function(Gt){return _e.selectedElementIds[Gt.id]});if(De.push(Xe),Xe&&(0,I.Xo)(Xe)){var St=(0,oe.WJ)(Xe);De.push(St)}return Xe&&(Q=JSON.stringify(De)),{appState:$($({},_e),{},{toast:{message:(0,y.t)("toast.copyStyles")}}),commitToHistory:!1}},contextItemLabel:"labels.copyStyles",keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.altKey&&pe.code===b.aU.C}}),be=(0,h.z)({name:"pasteStyles",trackEvent:{category:"element"},perform:function(pe,_e){var De=JSON.parse(Q),Xe=De[0],St=De[1];if(!(0,L.r2)(Xe))return{elements:pe,commitToHistory:!1};var Gt=(0,c.eD)(pe,_e,{includeBoundTextElement:!0}),Xt=Gt.map(function(It){return It.id});return{elements:pe.map(function(It){if(Xt.includes(It.id)){var _t,Jt,ur,_r,Cr,Rr,Wr,Lr=Xe;if((0,L.iB)(It)&&It.containerId&&(Lr=St),!Lr)return It;var zr=(0,v.BE)(It,{backgroundColor:(_t=Lr)===null||_t===void 0?void 0:_t.backgroundColor,strokeWidth:(Jt=Lr)===null||Jt===void 0?void 0:Jt.strokeWidth,strokeColor:(ur=Lr)===null||ur===void 0?void 0:ur.strokeColor,strokeStyle:(_r=Lr)===null||_r===void 0?void 0:_r.strokeStyle,fillStyle:(Cr=Lr)===null||Cr===void 0?void 0:Cr.fillStyle,opacity:(Rr=Lr)===null||Rr===void 0?void 0:Rr.opacity,roughness:(Wr=Lr)===null||Wr===void 0?void 0:Wr.roughness,roundness:Lr.roundness?(0,I.eK)(Lr.roundness.type,It)?Lr.roundness:(0,I.UQ)(It):null});if((0,L.iB)(zr)){var rn=Lr.fontSize||r.n5,mn=Lr.fontFamily||r.rk,Hn=null;(zr=(0,v.BE)(zr,{fontSize:rn,fontFamily:mn,textAlign:Lr.textAlign||r.Hg,lineHeight:Lr.lineHeight||(0,oe.PT)(mn)})).containerId&&(Hn=Gt.find(function(qn){return(0,L.iB)(zr)&&qn.id===zr.containerId})||null),(0,L.oN)(zr,Hn)}return zr.type==="arrow"&&(0,I.Yv)(Lr)&&(zr=(0,v.BE)(zr,{startArrowhead:Lr.startArrowhead,endArrowhead:Lr.endArrowhead})),(0,I.He)(It)&&(zr=(0,v.BE)(zr,{roundness:null,backgroundColor:"transparent"})),zr}return It}),commitToHistory:!0}},contextItemLabel:"labels.pasteStyles",keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.altKey&&pe.code===b.aU.V}});function Ce(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function Ze(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?Ce(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):Ce(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}(0,h.z)({name:"toggleCanvasMenu",trackEvent:{category:"menu"},perform:function(pe,_e){return{appState:Ze(Ze({},_e),{},{openMenu:_e.openMenu==="canvas"?null:"canvas"}),commitToHistory:!1}},PanelComponent:function(pe){var _e=pe.appState,De=pe.updateData;return(0,n.jsx)(te.V,{type:"button",icon:d.RY,"aria-label":(0,y.t)("buttons.menu"),onClick:De,selected:_e.openMenu==="canvas"})}}),(0,h.z)({name:"toggleEditMenu",trackEvent:{category:"menu"},perform:function(pe,_e){return{appState:Ze(Ze({},_e),{},{openMenu:_e.openMenu==="shape"?null:"shape"}),commitToHistory:!1}},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData;return(0,n.jsx)(te.V,{visible:(0,L.RT)(De,(0,L.Lm)(_e)),type:"button",icon:d.DG,"aria-label":(0,y.t)("buttons.edit"),onClick:Xe,selected:De.openMenu==="shape"})}});var Be=(0,h.z)({name:"toggleShortcuts",viewMode:!0,trackEvent:{category:"menu",action:"toggleHelpDialog"},perform:function(pe,_e,De,Xe){var St=Xe.focusContainer;return _e.openDialog==="help"&&St(),{appState:Ze(Ze({},_e),{},{openDialog:_e.openDialog==="help"?null:"help"}),commitToHistory:!1}},keyTest:function(pe){return pe.key===b.tW.QUESTION_MARK}}),Te=e(6655),He=e(4643);function Ve(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function Je(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?Ve(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):Ve(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}function Me(pe,_e){var De=typeof Symbol<"u"&&pe[Symbol.iterator]||pe["@@iterator"];if(!De){if(Array.isArray(pe)||(De=function(_t,Jt){if(_t){if(typeof _t=="string")return me(_t,Jt);var ur=Object.prototype.toString.call(_t).slice(8,-1);if(ur==="Object"&&_t.constructor&&(ur=_t.constructor.name),ur==="Map"||ur==="Set")return Array.from(_t);if(ur==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ur))return me(_t,Jt)}}(pe))||_e&&pe&&typeof pe.length=="number"){De&&(pe=De);var Xe=0,St=function(){};return{s:St,n:function(){return Xe>=pe.length?{done:!0}:{done:!1,value:pe[Xe++]}},e:function(_t){throw _t},f:St}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Gt,Xt=!0,It=!1;return{s:function(){De=De.call(pe)},n:function(){var _t=De.next();return Xt=_t.done,_t},e:function(_t){It=!0,Gt=_t},f:function(){try{Xt||De.return==null||De.return()}finally{if(It)throw Gt}}}}function me(pe,_e){(_e==null||_e>pe.length)&&(_e=pe.length);for(var De=0,Xe=new Array(_e);De<_e;De++)Xe[De]=pe[De];return Xe}var Se=function(pe,_e,De){var Xe=De.scene.getSelectedElements({selectedElementIds:_e.selectedElementIds,includeBoundTextElement:!0});return Xe.length>=2&&!function(St){if(St.length>=2){var Gt,Xt=Me(St[0].groupIds);try{var It=function(){var Jt=Gt.value;if(St.reduce(function(ur,_r){return ur&&(0,x.Nd)(_r,Jt)},!0))return{v:!0}};for(Xt.s();!(Gt=Xt.n()).done;){var _t=It();if((0,Te.Z)(_t)==="object")return _t.v}}catch(Jt){Xt.e(Jt)}finally{Xt.f()}}return!1}(Xe)},Ne=(0,h.z)({name:"group",trackEvent:{category:"element"},perform:function(pe,_e,De,Xe){var St=Xe.scene.getSelectedElements({selectedElementIds:_e.selectedElementIds,includeBoundTextElement:!0});if(St.length<2)return{appState:_e,elements:pe,commitToHistory:!1};var Gt=(0,x.iJ)(_e);if(Gt.length===1){var Xt=Gt[0],It=new Set((0,x.Fb)(pe,Xt).map(function(rn){return rn.id})),_t=new Set(St.map(function(rn){return rn.id}));if(new Set([].concat((0,m.Z)(Array.from(It)),(0,m.Z)(Array.from(_t)))).size===It.size)return{appState:_e,elements:pe,commitToHistory:!1}}var Jt=(0,m.Z)(pe);new Set(St.map(function(rn){return rn.frameId})).size>1&&(0,Ae.SH)(St).forEach(function(rn,mn){Jt=(0,Ae.lz)(Jt,rn,_e)});var ur=(0,He.kb)(),_r=(0,Z.xn)(St);Jt=Jt.map(function(rn){return _r.get(rn.id)?(0,v.BE)(rn,{groupIds:(0,x.S_)(rn.groupIds,ur,_e.editingGroupId)}):rn});var Cr=(0,x.Fb)(Jt,ur),Rr=Cr[Cr.length-1],Wr=Jt.lastIndexOf(Rr),Lr=Jt.slice(Wr+1),zr=Jt.slice(0,Wr).filter(function(rn){return!(0,x.Nd)(rn,ur)});return Jt=[].concat((0,m.Z)(zr),(0,m.Z)(Cr),(0,m.Z)(Lr)),{appState:Je(Je({},_e),(0,x.F$)(ur,Je(Je({},_e),{},{selectedGroupIds:{}}),(0,L.Lm)(Jt))),elements:Jt,commitToHistory:!0}},contextItemLabel:"labels.group",predicate:function(pe,_e,De,Xe){return Se(0,_e,Xe)},keyTest:function(pe){return!pe.shiftKey&&pe[b.tW.CTRL_OR_CMD]&&pe.key===b.tW.G},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!Se(0,De,St),type:"button",icon:(0,n.jsx)(d.BF,{theme:De.theme}),onClick:function(){return Xe(null)},title:"".concat((0,y.t)("labels.group")," — ").concat((0,Z.uY)("CtrlOrCmd+G")),"aria-label":(0,y.t)("labels.group"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),Ye=(0,h.z)({name:"ungroup",trackEvent:{category:"element"},perform:function(pe,_e,De,Xe){if((0,x.iJ)(_e).length===0)return{appState:_e,elements:pe,commitToHistory:!1};var St=(0,m.Z)(pe),Gt=[];St=St.map(function(Jt){(0,I.Xh)(Jt)&&Gt.push(Jt.id);var ur=(0,x.h6)(Jt.groupIds,_e.selectedGroupIds);return ur.length===Jt.groupIds.length?Jt:(0,v.BE)(Jt,{groupIds:ur})});var Xt=(0,x.bO)(_e,(0,L.Lm)(St),_e,null),It=Xe.scene.getSelectedElements(_e),_t=new Set(It.filter(function(Jt){return Jt.frameId}).map(function(Jt){return Jt.frameId}));return(0,Ae.wO)(pe).filter(function(Jt){return _t.has(Jt.id)}).forEach(function(Jt){Jt&&(St=(0,Ae.pr)(St,(0,Ae.ni)(St,Jt,_e),Jt,_e))}),Xt.selectedElementIds=Object.entries(Xt.selectedElementIds).reduce(function(Jt,ur){var _r=(0,w.Z)(ur,2),Cr=_r[0];return _r[1]&&!Gt.includes(Cr)&&(Jt[Cr]=!0),Jt},{}),{appState:Je(Je({},_e),Xt),elements:St,commitToHistory:!0}},keyTest:function(pe){return pe.shiftKey&&pe[b.tW.CTRL_OR_CMD]&&pe.key===b.tW.G.toUpperCase()},contextItemLabel:"labels.ungroup",predicate:function(pe,_e){return(0,x.iJ)(_e).length>0},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData;return(0,n.jsx)(te.V,{type:"button",hidden:(0,x.iJ)(De).length===0,icon:(0,n.jsx)(d.RJ,{theme:De.theme}),onClick:function(){return Xe(null)},title:"".concat((0,y.t)("labels.ungroup")," — ").concat((0,Z.uY)("CtrlOrCmd+Shift+G")),"aria-label":(0,y.t)("labels.ungroup"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),Qe=e(957),rt=e(3379),ft=e.n(rt),at=e(7795),ut=e.n(at),Ot=e(569),Pt=e.n(Ot),Et=e(3565),Mt=e.n(Et),Yt=e(9216),lt=e.n(Yt),ot=e(4589),mt=e.n(ot),pt=e(3729),ht={};ht.styleTagTransform=mt(),ht.setAttributes=Mt(),ht.insert=Pt().bind(null,"head"),ht.domAPI=ut(),ht.insertStyleElement=lt(),ft()(pt.Z,ht),pt.Z&&pt.Z.locals&&pt.Z.locals;var yt=e(9787),Ct=function(pe){var _e=pe.color,De=pe.onClick,Xe=pe.name,St=pe.src,Gt=(0,Qe.l)(Xe),Xt=(0,yt.useState)(!1),It=(0,w.Z)(Xt,2),_t=It[0],Jt=It[1],ur=!_t&&St,_r=ur?void 0:{background:_e};return(0,n.jsx)("div",{className:"Avatar",style:_r,onClick:De,children:ur?(0,n.jsx)("img",{className:"Avatar-img",src:St,alt:Gt,referrerPolicy:"no-referrer",onError:function(){return Jt(!0)}}):Gt})},Bt=e(2382);function zt(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function tr(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?zt(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):zt(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}(0,h.z)({name:"goToCollaborator",viewMode:!0,trackEvent:{category:"collab"},perform:function(pe,_e,De){var Xe=De;return Xe?{appState:tr(tr(tr({},_e),(0,Bt.s)({scenePoint:Xe,viewportDimensions:{width:_e.width,height:_e.height},zoom:_e.zoom})),{},{openMenu:_e.openMenu==="canvas"?null:_e.openMenu}),commitToHistory:!1}:{appState:_e,commitToHistory:!1}},PanelComponent:function(pe){var _e=pe.updateData,De=pe.data,Xe=(0,w.Z)(De,2),St=Xe[0],Gt=Xe[1],Xt=(0,Qe.G)(St);return(0,n.jsx)(Ct,{color:Xt,onClick:function(){return _e(Gt.pointer)},name:Gt.username||"",src:Gt.avatarUrl})}});var cr=e(5742);function mr(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function Ft(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?mr(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):mr(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}function xt(pe,_e){var De=typeof Symbol<"u"&&pe[Symbol.iterator]||pe["@@iterator"];if(!De){if(Array.isArray(pe)||(De=function(_t,Jt){if(_t){if(typeof _t=="string")return At(_t,Jt);var ur=Object.prototype.toString.call(_t).slice(8,-1);if(ur==="Object"&&_t.constructor&&(ur=_t.constructor.name),ur==="Map"||ur==="Set")return Array.from(_t);if(ur==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ur))return At(_t,Jt)}}(pe))||_e&&pe&&typeof pe.length=="number"){De&&(pe=De);var Xe=0,St=function(){};return{s:St,n:function(){return Xe>=pe.length?{done:!0}:{done:!1,value:pe[Xe++]}},e:function(_t){throw _t},f:St}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Gt,Xt=!0,It=!1;return{s:function(){De=De.call(pe)},n:function(){var _t=De.next();return Xt=_t.done,_t},e:function(_t){It=!0,Gt=_t},f:function(){try{Xt||De.return==null||De.return()}finally{if(It)throw Gt}}}}function At(pe,_e){(_e==null||_e>pe.length)&&(_e=pe.length);for(var De=0,Xe=new Array(_e);De<_e;De++)Xe[De]=pe[De];return Xe}var Tt=(0,h.z)({name:"addToLibrary",trackEvent:{category:"element"},perform:function(pe,_e,De,Xe){var St,Gt=Xe.scene.getSelectedElements({selectedElementIds:_e.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0}),Xt=xt(r.PR);try{var It=function(){var Jt=St.value;if(Gt.some(function(ur){return ur.type===Jt}))return{v:{commitToHistory:!1,appState:Ft(Ft({},_e),{},{errorMessage:(0,y.t)("errors.libraryElementTypeError.".concat(Jt))})}}};for(Xt.s();!(St=Xt.n()).done;){var _t=It();if((0,Te.Z)(_t)==="object")return _t.v}}catch(Jt){Xt.e(Jt)}finally{Xt.f()}return Xe.library.getLatestLibrary().then(function(Jt){return Xe.library.setLibrary([{id:(0,He.kb)(),status:"unpublished",elements:Gt.map(cr.OL),created:Date.now()}].concat((0,m.Z)(Jt)))}).then(function(){return{commitToHistory:!1,appState:Ft(Ft({},_e),{},{toast:{message:(0,y.t)("toast.addedToLibrary")}})}}).catch(function(Jt){return{commitToHistory:!1,appState:Ft(Ft({},_e),{},{errorMessage:Jt.message})}})},contextItemLabel:"labels.addToLibrary"}),nr=e(4949);function yr(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function kr(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?yr(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):yr(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var Tr=function(pe,_e,De){var Xe=De.axis,St=De.position,Gt=(0,nr.v2)(pe),Xt=Xe==="x"?["minX","maxX"]:["minY","maxY"],It=(0,w.Z)(Xt,2),_t=It[0],Jt=It[1],ur={x:0,y:0};return kr(kr({},ur),{},St==="start"?(0,C.Z)({},Xe,_e[_t]-Gt[_t]):St==="end"?(0,C.Z)({},Xe,_e[Jt]-Gt[Jt]):(0,C.Z)({},Xe,(_e[_t]+_e[Jt])/2-(Gt[_t]+Gt[Jt])/2))},Or=function(pe,_e,De,Xe){var St=Xe.scene.getSelectedElements(_e);return St.length>1&&!St.some(function(Gt){return Gt.type==="frame"})},Rt=function(pe,_e,De,Xe){var St=function(Xt,It){var _t=(0,x.AI)(Xt),Jt=(0,nr.v2)(Xt);return _t.flatMap(function(ur){var _r=Tr(ur,Jt,It);return ur.map(function(Cr){return(0,v.BE)(Cr,{x:Cr.x+_r.x,y:Cr.y+_r.y})})})}(De.scene.getSelectedElements(_e),Xe),Gt=(0,Z.xn)(St);return(0,Ae.Tq)(pe.map(function(Xt){return Gt.get(Xt.id)||Xt}),_e,De)};(0,h.z)({name:"alignTop",trackEvent:{category:"element"},predicate:Or,perform:function(pe,_e,De,Xe){return{appState:_e,elements:Rt(pe,_e,Xe,{position:"start",axis:"y"}),commitToHistory:!0}},keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.shiftKey&&pe.key===b.tW.ARROW_UP},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!Or(0,De,0,St),type:"button",icon:d.Ct,onClick:function(){return Xe(null)},title:"".concat((0,y.t)("labels.alignTop")," — ").concat((0,Z.uY)("CtrlOrCmd+Shift+Up")),"aria-label":(0,y.t)("labels.alignTop"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),(0,h.z)({name:"alignBottom",trackEvent:{category:"element"},predicate:Or,perform:function(pe,_e,De,Xe){return{appState:_e,elements:Rt(pe,_e,Xe,{position:"end",axis:"y"}),commitToHistory:!0}},keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.shiftKey&&pe.key===b.tW.ARROW_DOWN},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!Or(0,De,0,St),type:"button",icon:d.HL,onClick:function(){return Xe(null)},title:"".concat((0,y.t)("labels.alignBottom")," — ").concat((0,Z.uY)("CtrlOrCmd+Shift+Down")),"aria-label":(0,y.t)("labels.alignBottom"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),(0,h.z)({name:"alignLeft",trackEvent:{category:"element"},predicate:Or,perform:function(pe,_e,De,Xe){return{appState:_e,elements:Rt(pe,_e,Xe,{position:"start",axis:"x"}),commitToHistory:!0}},keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.shiftKey&&pe.key===b.tW.ARROW_LEFT},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!Or(0,De,0,St),type:"button",icon:d.xs,onClick:function(){return Xe(null)},title:"".concat((0,y.t)("labels.alignLeft")," — ").concat((0,Z.uY)("CtrlOrCmd+Shift+Left")),"aria-label":(0,y.t)("labels.alignLeft"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),(0,h.z)({name:"alignRight",trackEvent:{category:"element"},predicate:Or,perform:function(pe,_e,De,Xe){return{appState:_e,elements:Rt(pe,_e,Xe,{position:"end",axis:"x"}),commitToHistory:!0}},keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.shiftKey&&pe.key===b.tW.ARROW_RIGHT},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!Or(0,De,0,St),type:"button",icon:d.mh,onClick:function(){return Xe(null)},title:"".concat((0,y.t)("labels.alignRight")," — ").concat((0,Z.uY)("CtrlOrCmd+Shift+Right")),"aria-label":(0,y.t)("labels.alignRight"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),(0,h.z)({name:"alignVerticallyCentered",trackEvent:{category:"element"},predicate:Or,perform:function(pe,_e,De,Xe){return{appState:_e,elements:Rt(pe,_e,Xe,{position:"center",axis:"y"}),commitToHistory:!0}},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!Or(0,De,0,St),type:"button",icon:d.ST,onClick:function(){return Xe(null)},title:(0,y.t)("labels.centerVertically"),"aria-label":(0,y.t)("labels.centerVertically"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),(0,h.z)({name:"alignHorizontallyCentered",trackEvent:{category:"element"},predicate:Or,perform:function(pe,_e,De,Xe){return{appState:_e,elements:Rt(pe,_e,Xe,{position:"center",axis:"x"}),commitToHistory:!0}},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!Or(0,De,0,St),type:"button",icon:d.gK,onClick:function(){return Xe(null)},title:(0,y.t)("labels.centerHorizontally"),"aria-label":(0,y.t)("labels.centerHorizontally"),visible:(0,c.N)((0,L.Lm)(_e),De)})}});function dt(pe,_e){var De=typeof Symbol<"u"&&pe[Symbol.iterator]||pe["@@iterator"];if(!De){if(Array.isArray(pe)||(De=function(_t,Jt){if(_t){if(typeof _t=="string")return gt(_t,Jt);var ur=Object.prototype.toString.call(_t).slice(8,-1);if(ur==="Object"&&_t.constructor&&(ur=_t.constructor.name),ur==="Map"||ur==="Set")return Array.from(_t);if(ur==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ur))return gt(_t,Jt)}}(pe))||_e&&pe&&typeof pe.length=="number"){De&&(pe=De);var Xe=0,St=function(){};return{s:St,n:function(){return Xe>=pe.length?{done:!0}:{done:!1,value:pe[Xe++]}},e:function(_t){throw _t},f:St}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Gt,Xt=!0,It=!1;return{s:function(){De=De.call(pe)},n:function(){var _t=De.next();return Xt=_t.done,_t},e:function(_t){It=!0,Gt=_t},f:function(){try{Xt||De.return==null||De.return()}finally{if(It)throw Gt}}}}function gt(pe,_e){(_e==null||_e>pe.length)&&(_e=pe.length);for(var De=0,Xe=new Array(_e);De<_e;De++)Xe[De]=pe[De];return Xe}var wt=function(pe,_e){var De=_e.scene.getSelectedElements(pe);return De.length>1&&!De.some(function(Xe){return Xe.type==="frame"})},Ut=function(pe,_e,De,Xe){var St=function(Xt,It){var _t,Jt=It.axis==="x"?["minX","midX","maxX","width"]:["minY","midY","maxY","height"],ur=(0,w.Z)(Jt,4),_r=ur[0],Cr=ur[1],Rr=ur[2],Wr=ur[3],Lr=(0,nr.v2)(Xt),zr=(0,x.AI)(Xt).map(function(wn){return[wn,(0,nr.v2)(wn)]}).sort(function(wn,Wn){return wn[1][Cr]-Wn[1][Cr]}),rn=0,mn=dt(zr);try{for(mn.s();!(_t=mn.n()).done;)rn+=_t.value[1][Wr]}catch(wn){mn.e(wn)}finally{mn.f()}var Hn=(Lr[Wr]-rn)/(zr.length-1);if(Hn<0){var qn=zr.findIndex(function(wn){return wn[1][_r]===Lr[_r]}),fo=zr.findIndex(function(wn){return wn[1][Rr]===Lr[Rr]}),qr=(zr[fo][1][Cr]-zr[qn][1][Cr])/(zr.length-1),Br=zr[qn][1][Cr];return zr.flatMap(function(wn,Wn){var io=(0,w.Z)(wn,2),go=io[0],vo=io[1],ho={x:0,y:0};return Wn!==qn&&Wn!==fo&&(Br+=qr,ho[It.axis]=Br-vo[Cr]),go.map(function(Mo){return(0,v.BE)(Mo,{x:Mo.x+ho.x,y:Mo.y+ho.y})})})}var un=Lr[_r];return zr.flatMap(function(wn){var Wn=(0,w.Z)(wn,2),io=Wn[0],go=Wn[1],vo={x:0,y:0};return vo[It.axis]=un-go[_r],un+=Hn,un+=go[Wr],io.map(function(ho){return(0,v.BE)(ho,{x:ho.x+vo.x,y:ho.y+vo.y})})})}(De.scene.getSelectedElements(_e),Xe),Gt=(0,Z.xn)(St);return(0,Ae.Tq)(pe.map(function(Xt){return Gt.get(Xt.id)||Xt}),_e,De)},ar=((0,h.z)({name:"distributeHorizontally",trackEvent:{category:"element"},perform:function(pe,_e,De,Xe){return{appState:_e,elements:Ut(pe,_e,Xe,{space:"between",axis:"x"}),commitToHistory:!0}},keyTest:function(pe){return!pe[b.tW.CTRL_OR_CMD]&&pe.altKey&&pe.code===b.aU.H},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!wt(De,St),type:"button",icon:d.uD,onClick:function(){return Xe(null)},title:"".concat((0,y.t)("labels.distributeHorizontally")," — ").concat((0,Z.uY)("Alt+H")),"aria-label":(0,y.t)("labels.distributeHorizontally"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),(0,h.z)({name:"distributeVertically",trackEvent:{category:"element"},perform:function(pe,_e,De,Xe){return{appState:_e,elements:Ut(pe,_e,Xe,{space:"between",axis:"y"}),commitToHistory:!0}},keyTest:function(pe){return!pe[b.tW.CTRL_OR_CMD]&&pe.altKey&&pe.code===b.aU.V},PanelComponent:function(pe){var _e=pe.elements,De=pe.appState,Xe=pe.updateData,St=pe.app;return(0,n.jsx)(te.V,{hidden:!wt(De,St),type:"button",icon:d.W5,onClick:function(){return Xe(null)},title:"".concat((0,y.t)("labels.distributeVertically")," — ").concat((0,Z.uY)("Alt+V")),"aria-label":(0,y.t)("labels.distributeVertically"),visible:(0,c.N)((0,L.Lm)(_e),De)})}}),e(4381)),ir=(0,h.z)({name:"flipHorizontal",trackEvent:{category:"element"},perform:function(pe,_e,De,Xe){return{elements:(0,Ae.Tq)(br(pe,_e,"horizontal"),_e,Xe),appState:_e,commitToHistory:!0}},keyTest:function(pe){return pe.shiftKey&&pe.code===b.aU.H},contextItemLabel:"labels.flipHorizontal"}),dr=(0,h.z)({name:"flipVertical",trackEvent:{category:"element"},perform:function(pe,_e,De,Xe){return{elements:(0,Ae.Tq)(br(pe,_e,"vertical"),_e,Xe),appState:_e,commitToHistory:!0}},keyTest:function(pe){return pe.shiftKey&&pe.code===b.aU.V&&!pe[b.tW.CTRL_OR_CMD]},contextItemLabel:"labels.flipVertical"}),br=function(pe,_e,De){var Xe=(0,c.eD)((0,L.Lm)(pe),_e,{includeBoundTextElement:!0,includeElementsInFrames:!0}),St=hr(Xe,_e,De),Gt=(0,Z.xn)(St);return pe.map(function(Xt){return Gt.get(Xt.id)||Xt})},hr=function(pe,_e,De){var Xe=(0,nr.v2)(pe),St=Xe.minX,Gt=Xe.minY,Xt=Xe.maxX,It=Xe.maxY;return(0,ar.LM)({originalElements:(0,Z.xn)(pe)},pe,"nw",!0,De==="horizontal"?Xt:St,De==="horizontal"?Gt:It),((0,re.N1)(_e)?re.el:re.H)(pe),pe},Ir=e(5047);function wr(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function sr(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?wr(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):wr(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var fr=(0,h.z)({name:"gridMode",viewMode:!0,trackEvent:{category:"canvas",predicate:function(pe){return!pe.gridSize}},perform:function(pe,_e){return{appState:sr(sr({},_e),{},{gridSize:this.checked(_e)?null:r.k,objectsSnapModeEnabled:!1}),commitToHistory:!1}},checked:function(pe){return pe.gridSize!==null},predicate:function(pe,_e,De){return De.gridModeEnabled===void 0},contextItemLabel:"labels.showGrid",keyTest:function(pe){return pe[b.tW.CTRL_OR_CMD]&&pe.code===b.aU.QUOTE}});function pr(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function jr(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?pr(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):pr(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var Pr=(0,h.z)({name:"zenMode",viewMode:!0,trackEvent:{category:"canvas",predicate:function(pe){return!pe.zenModeEnabled}},perform:function(pe,_e){return{appState:jr(jr({},_e),{},{zenModeEnabled:!this.checked(_e)}),commitToHistory:!1}},checked:function(pe){return pe.zenModeEnabled},predicate:function(pe,_e,De){return De.zenModeEnabled===void 0},contextItemLabel:"buttons.zenMode",keyTest:function(pe){return!pe[b.tW.CTRL_OR_CMD]&&pe.altKey&&pe.code===b.aU.Z}});function Mr(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function $r(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?Mr(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):Mr(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var fn=(0,h.z)({name:"objectsSnapMode",viewMode:!0,trackEvent:{category:"canvas",predicate:function(pe){return!pe.objectsSnapModeEnabled}},perform:function(pe,_e){return{appState:$r($r({},_e),{},{objectsSnapModeEnabled:!this.checked(_e),gridSize:null}),commitToHistory:!1}},checked:function(pe){return pe.objectsSnapModeEnabled},predicate:function(pe,_e,De){return De.objectsSnapModeEnabled===void 0},contextItemLabel:"buttons.objectsSnapMode",keyTest:function(pe){return!pe[b.tW.CTRL_OR_CMD]&&pe.altKey&&pe.code===b.aU.S}}),Mn=e(7080),Zn=e(7392),zn=e(5992),Cn=e(9672);function vn(pe,_e){var De=Object.keys(pe);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);_e&&(Xe=Xe.filter(function(St){return Object.getOwnPropertyDescriptor(pe,St).enumerable})),De.push.apply(De,Xe)}return De}function Ln(pe){for(var _e=1;_e<arguments.length;_e++){var De=arguments[_e]!=null?arguments[_e]:{};_e%2?vn(Object(De),!0).forEach(function(Xe){(0,C.Z)(pe,Xe,De[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(De)):vn(Object(De)).forEach(function(Xe){Object.defineProperty(pe,Xe,Object.getOwnPropertyDescriptor(De,Xe))})}return pe}var We=(0,h.z)({name:"toggleLinearEditor",trackEvent:{category:"element"},predicate:function(pe,_e,De,Xe){var St=Xe.scene.getSelectedElements(_e);return!(St.length!==1||!(0,I.bt)(St[0]))},perform:function(pe,_e,De,Xe){var St,Gt=Xe.scene.getSelectedElements({selectedElementIds:_e.selectedElementIds,includeBoundTextElement:!0})[0],Xt=((St=_e.editingLinearElement)===null||St===void 0?void 0:St.elementId)===Gt.id?null:new _._(Gt,Xe.scene);return{appState:Ln(Ln({},_e),{},{editingLinearElement:Xt}),commitToHistory:!1}},contextItemLabel:function(pe,_e,De){var Xe,St=De.scene.getSelectedElements({selectedElementIds:_e.selectedElementIds,includeBoundTextElement:!0})[0];return((Xe=_e.editingLinearElement)===null||Xe===void 0?void 0:Xe.elementId)===St.id?"labels.lineEditor.exit":"labels.lineEditor.edit"}})},2767:function(fe,t,e){e.d(t,{N:function(){return P},z:function(){return w}});var P=[],w=function(m){return P=P.concat(m),m}},2529:function(fe,t,e){e.d(t,{C:function(){return I}});var P=e(9937),w=e(8227),m=e(9827),v={toggleTheme:[(0,m.uY)("Shift+Alt+D")],saveScene:[(0,m.uY)("CtrlOrCmd+S")],loadScene:[(0,m.uY)("CtrlOrCmd+O")],clearCanvas:[(0,m.uY)("CtrlOrCmd+Delete")],imageExport:[(0,m.uY)("CtrlOrCmd+Shift+E")],cut:[(0,m.uY)("CtrlOrCmd+X")],copy:[(0,m.uY)("CtrlOrCmd+C")],paste:[(0,m.uY)("CtrlOrCmd+V")],copyStyles:[(0,m.uY)("CtrlOrCmd+Alt+C")],pasteStyles:[(0,m.uY)("CtrlOrCmd+Alt+V")],selectAll:[(0,m.uY)("CtrlOrCmd+A")],deleteSelectedElements:[(0,m.uY)("Delete")],duplicateSelection:[(0,m.uY)("CtrlOrCmd+D"),(0,m.uY)("Alt+".concat((0,w.t)("helpDialog.drag")))],sendBackward:[(0,m.uY)("CtrlOrCmd+[")],bringForward:[(0,m.uY)("CtrlOrCmd+]")],sendToBack:[P.Um?(0,m.uY)("CtrlOrCmd+Alt+["):(0,m.uY)("CtrlOrCmd+Shift+[")],bringToFront:[P.Um?(0,m.uY)("CtrlOrCmd+Alt+]"):(0,m.uY)("CtrlOrCmd+Shift+]")],copyAsPng:[(0,m.uY)("Shift+Alt+C")],copyAsSvg:[],group:[(0,m.uY)("CtrlOrCmd+G")],ungroup:[(0,m.uY)("CtrlOrCmd+Shift+G")],gridMode:[(0,m.uY)("CtrlOrCmd+'")],zenMode:[(0,m.uY)("Alt+Z")],objectsSnapMode:[(0,m.uY)("Alt+S")],stats:[(0,m.uY)("Alt+/")],addToLibrary:[],flipHorizontal:[(0,m.uY)("Shift+H")],flipVertical:[(0,m.uY)("Shift+V")],viewMode:[(0,m.uY)("Alt+R")],hyperlink:[(0,m.uY)("CtrlOrCmd+K")],toggleElementLock:[(0,m.uY)("CtrlOrCmd+Shift+L")]},I=function(x){var c=v[x];return c&&c.length>0?c[0]:""}},3646:function(fe,t,e){e.d(t,{L:function(){return P}});var P=function(w,m,v,I){try{if(typeof window>"u"||{VITE_APP_BACKEND_V2_GET_URL:"https://json.excalidraw.com/api/v2/",VITE_APP_BACKEND_V2_POST_URL:"https://json.excalidraw.com/api/v2/post/",VITE_APP_LIBRARY_URL:"https://libraries.excalidraw.com",VITE_APP_LIBRARY_BACKEND:"https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries",VITE_APP_PORTAL_URL:"https://portal.excalidraw.com",VITE_APP_PLUS_LP:"https://plus.excalidraw.com",VITE_APP_PLUS_APP:"https://app.excalidraw.com",VITE_APP_WS_SERVER_URL:"",VITE_APP_FIREBASE_CONFIG:'{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}',VITE_APP_DISABLE_TRACKING:"",VITE_PKG_NAME:"@excalidraw/excalidraw",VITE_PKG_VERSION:"0.17.3",VITE_IS_EXCALIDRAW_NPM_PACKAGE:!0}.VITE_WORKER_ID||![].includes(w))return;window.sa_event&&window.sa_event(m,{category:w,label:v,value:I})}catch(x){console.error("error during analytics",x)}}},6853:function(fe,t,e){e.d(t,{EN:function(){return W},eS:function(){return N},im:function(){return x},l$:function(){return k},s:function(){return Z}});var P=e(9240),w=e(9937),m=e(8227),v=e(9827),I=w.ZB.includes(devicePixelRatio)?devicePixelRatio:1,x=function(){return{showWelcomeScreen:!1,theme:w.C6.LIGHT,collaborators:new Map,currentChartType:"bar",currentItemBackgroundColor:w.HN.backgroundColor,currentItemEndArrowhead:"arrow",currentItemFillStyle:w.HN.fillStyle,currentItemFontFamily:w.rk,currentItemFontSize:w.n5,currentItemOpacity:w.HN.opacity,currentItemRoughness:w.HN.roughness,currentItemStartArrowhead:null,currentItemStrokeColor:w.HN.strokeColor,currentItemRoundness:"round",currentItemStrokeStyle:w.HN.strokeStyle,currentItemStrokeWidth:w.HN.strokeWidth,currentItemTextAlign:w.Hg,cursorButton:"up",activeEmbeddable:null,draggingElement:null,editingElement:null,editingGroupId:null,editingLinearElement:null,activeTool:{type:"selection",customType:null,locked:w.HN.locked,lastActiveTool:null},penMode:!1,penDetected:!1,errorMessage:null,exportBackground:!0,exportScale:I,exportEmbedScene:!1,exportWithDarkMode:!1,fileHandle:null,gridSize:null,isBindingEnabled:!0,defaultSidebarDockedPreference:!1,isLoading:!1,isResizing:!1,isRotating:!1,lastPointerDownWith:"mouse",multiElement:null,name:"".concat((0,m.t)("labels.untitled"),"-").concat((0,v.Fc)()),contextMenu:null,openMenu:null,openPopup:null,openSidebar:null,openDialog:null,pasteDialog:{shown:!1,data:null},previousSelectedElementIds:{},resizingElement:null,scrolledOutside:!1,scrollX:0,scrollY:0,selectedElementIds:{},selectedGroupIds:{},selectedElementsAreBeingDragged:!1,selectionElement:null,shouldCacheIgnoreZoom:!1,showStats:!1,startBoundElement:null,suggestedBindings:[],frameRendering:{enabled:!0,clip:!0,name:!0,outline:!0},frameToHighlight:null,editingFrame:null,elementsToHighlight:null,toast:null,viewBackgroundColor:P.HO.white,zenModeEnabled:!1,zoom:{value:1},viewModeEnabled:!1,pendingImageElementId:null,showHyperlinkPopup:!1,selectedLinearElement:null,snapLines:[],originSnapOffset:{x:0,y:0},objectsSnapModeEnabled:!1}},c={showWelcomeScreen:{browser:!0,export:!1,server:!1},theme:{browser:!0,export:!1,server:!1},collaborators:{browser:!1,export:!1,server:!1},currentChartType:{browser:!0,export:!1,server:!1},currentItemBackgroundColor:{browser:!0,export:!1,server:!1},currentItemEndArrowhead:{browser:!0,export:!1,server:!1},currentItemFillStyle:{browser:!0,export:!1,server:!1},currentItemFontFamily:{browser:!0,export:!1,server:!1},currentItemFontSize:{browser:!0,export:!1,server:!1},currentItemRoundness:{browser:!0,export:!1,server:!1},currentItemOpacity:{browser:!0,export:!1,server:!1},currentItemRoughness:{browser:!0,export:!1,server:!1},currentItemStartArrowhead:{browser:!0,export:!1,server:!1},currentItemStrokeColor:{browser:!0,export:!1,server:!1},currentItemStrokeStyle:{browser:!0,export:!1,server:!1},currentItemStrokeWidth:{browser:!0,export:!1,server:!1},currentItemTextAlign:{browser:!0,export:!1,server:!1},cursorButton:{browser:!0,export:!1,server:!1},activeEmbeddable:{browser:!1,export:!1,server:!1},draggingElement:{browser:!1,export:!1,server:!1},editingElement:{browser:!1,export:!1,server:!1},editingGroupId:{browser:!0,export:!1,server:!1},editingLinearElement:{browser:!1,export:!1,server:!1},activeTool:{browser:!0,export:!1,server:!1},penMode:{browser:!0,export:!1,server:!1},penDetected:{browser:!0,export:!1,server:!1},errorMessage:{browser:!1,export:!1,server:!1},exportBackground:{browser:!0,export:!1,server:!1},exportEmbedScene:{browser:!0,export:!1,server:!1},exportScale:{browser:!0,export:!1,server:!1},exportWithDarkMode:{browser:!0,export:!1,server:!1},fileHandle:{browser:!1,export:!1,server:!1},gridSize:{browser:!0,export:!0,server:!0},height:{browser:!1,export:!1,server:!1},isBindingEnabled:{browser:!1,export:!1,server:!1},defaultSidebarDockedPreference:{browser:!0,export:!1,server:!1},isLoading:{browser:!1,export:!1,server:!1},isResizing:{browser:!1,export:!1,server:!1},isRotating:{browser:!1,export:!1,server:!1},lastPointerDownWith:{browser:!0,export:!1,server:!1},multiElement:{browser:!1,export:!1,server:!1},name:{browser:!0,export:!1,server:!1},offsetLeft:{browser:!1,export:!1,server:!1},offsetTop:{browser:!1,export:!1,server:!1},contextMenu:{browser:!1,export:!1,server:!1},openMenu:{browser:!0,export:!1,server:!1},openPopup:{browser:!1,export:!1,server:!1},openSidebar:{browser:!0,export:!1,server:!1},openDialog:{browser:!1,export:!1,server:!1},pasteDialog:{browser:!1,export:!1,server:!1},previousSelectedElementIds:{browser:!0,export:!1,server:!1},resizingElement:{browser:!1,export:!1,server:!1},scrolledOutside:{browser:!0,export:!1,server:!1},scrollX:{browser:!0,export:!1,server:!1},scrollY:{browser:!0,export:!1,server:!1},selectedElementIds:{browser:!0,export:!1,server:!1},selectedGroupIds:{browser:!0,export:!1,server:!1},selectedElementsAreBeingDragged:{browser:!1,export:!1,server:!1},selectionElement:{browser:!1,export:!1,server:!1},shouldCacheIgnoreZoom:{browser:!0,export:!1,server:!1},showStats:{browser:!0,export:!1,server:!1},startBoundElement:{browser:!1,export:!1,server:!1},suggestedBindings:{browser:!1,export:!1,server:!1},frameRendering:{browser:!1,export:!1,server:!1},frameToHighlight:{browser:!1,export:!1,server:!1},editingFrame:{browser:!1,export:!1,server:!1},elementsToHighlight:{browser:!1,export:!1,server:!1},toast:{browser:!1,export:!1,server:!1},viewBackgroundColor:{browser:!0,export:!0,server:!0},width:{browser:!1,export:!1,server:!1},zenModeEnabled:{browser:!0,export:!1,server:!1},zoom:{browser:!0,export:!1,server:!1},viewModeEnabled:{browser:!1,export:!1,server:!1},pendingImageElementId:{browser:!1,export:!1,server:!1},showHyperlinkPopup:{browser:!1,export:!1,server:!1},selectedLinearElement:{browser:!0,export:!1,server:!1},snapLines:{browser:!1,export:!1,server:!1},originSnapOffset:{browser:!1,export:!1,server:!1},objectsSnapModeEnabled:{browser:!0,export:!1,server:!1}},f=function(S,J){for(var ce={},he=0,ve=Object.keys(S);he<ve.length;he++){var le=ve[he],G=c[le];if(G!=null&&G[J]){var U=S[le];ce[le]=U}}return ce},Z=function(S){return f(S,"export")},N=function(S){return f(S,"server")},W=function(S){return S.activeTool.type==="eraser"},k=function(S){return S.activeTool.type==="hand"}},901:function(fe,t,e){e.d(t,{dz:function(){return U},i$:function(){return he},ps:function(){return y}});var P=e(1930),w=e(7169),m=e(2577),v=e(9240),I=e(9937),x=e(7651),c=e(4643);function f(h,d){var r=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!r){if(Array.isArray(h)||(r=function(C,L){if(C){if(typeof C=="string")return Z(C,L);var _=Object.prototype.toString.call(C).slice(8,-1);if(_==="Object"&&C.constructor&&(_=C.constructor.name),_==="Map"||_==="Set")return Array.from(C);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Z(C,L)}}(h))||d&&h&&typeof h.length=="number"){r&&(h=r);var n=0,p=function(){};return{s:p,n:function(){return n>=h.length?{done:!0}:{done:!1,value:h[n++]}},e:function(C){throw C},f:p}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,l=!0,u=!1;return{s:function(){r=r.call(h)},n:function(){var C=r.next();return l=C.done,C},e:function(C){u=!0,a=C},f:function(){try{l||r.return==null||r.return()}finally{if(u)throw a}}}}function Z(h,d){(d==null||d>h.length)&&(d=h.length);for(var r=0,n=new Array(d);r<d;r++)n[r]=h[r];return n}function N(h,d){var r=Object.keys(h);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(h);d&&(n=n.filter(function(p){return Object.getOwnPropertyDescriptor(h,p).enumerable})),r.push.apply(r,n)}return r}function W(h){for(var d=1;d<arguments.length;d++){var r=arguments[d]!=null?arguments[d]:{};d%2?N(Object(r),!0).forEach(function(n){(0,w.Z)(h,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(n){Object.defineProperty(h,n,Object.getOwnPropertyDescriptor(r,n))})}return h}var k=32,S=12,J=256,ce="NOT_SPREADSHEET",he="VALID_SPREADSHEET",ve=function(h){var d=/^([-+]?)[$€£¥₩]?([-+]?)([\d.,]+)[%]?$/.exec(h);return d?parseFloat("".concat((d[1]||d[2])+d[3]).replace(/,/g,"")):null},le=function(h,d){return h.slice(1).every(function(r){return ve(r[d])!==null})},G=function(h){var d=h[0].length;if(d>2)return{type:ce,reason:"More than 2 columns"};if(d===1){if(!le(h,0))return{type:ce,reason:"Value is not numeric"};var r=ve(h[0][0])===null,n=(r?h.slice(1):h).map(function(D){return ve(D[0])});return n.length<2?{type:ce,reason:"Less than two rows"}:{type:he,spreadsheet:{title:r?h[0][0]:null,labels:null,values:n}}}var p=le(h,0),a=le(h,1);if(!p&&!a)return{type:ce,reason:"Value is not numeric"};var l=a?[0,1]:[1,0],u=(0,m.Z)(l,2),C=u[0],L=u[1],_=ve(h[0][L])===null,E=_?h.slice(1):h;return E.length<2?{type:ce,reason:"Less than 2 rows"}:{type:he,spreadsheet:{title:_?h[0][L]:null,labels:E.map(function(D){return D[C]}),values:E.map(function(D){return ve(D[L])})}}},U=function(h){var d=h.trim().split(` +`).map(function(a){return a.trim().split(" ")});if(d.length&&d[0].length!==2&&(d=h.trim().split(` +`).map(function(a){return a.trim().split(",")})),d.length===0)return{type:ce,reason:"No values"};var r=d[0].length;if(!d.every(function(a){return a.length===r}))return{type:ce,reason:"All rows don't have same number of columns"};var n=G(d);if(n.type!==he){var p=G(function(a){for(var l=[],u=0;u<a[0].length;u++){for(var C=[],L=0;L<a.length;L++)C.push(a[L][u]);l.push(C)}return l}(d));if(p.type===he)return p}return n},H=(0,v.sF)(v.C2),M={fillStyle:"hachure",fontFamily:I.rk,fontSize:I.n5,opacity:100,roughness:1,strokeColor:v.HO.black,roundness:null,strokeStyle:"solid",strokeWidth:1,verticalAlign:I.oX.MIDDLE,locked:!1},A=function(h){return{chartWidth:44*h.values.length+S,chartHeight:280}},b=function(h,d,r,n,p,a){var l=A(h),u=l.chartWidth,C=l.chartHeight,L=h.title?(0,x.VL)(W(W({backgroundColor:p,groupIds:[n]},M),{},{text:h.title,x:d+u/2,y:r-J-24-I.n5,roundness:null,textAlign:"center"})):null,_=a?(0,x.Up)(W(W({backgroundColor:p,groupIds:[n]},M),{},{type:"rectangle",x:d,y:r-C,width:u,height:C,strokeColor:v.HO.black,fillStyle:"solid",opacity:6})):null;return[].concat((0,P.Z)(_?[_]:[]),(0,P.Z)(L?[L]:[]),(0,P.Z)(function(E,D,F,ee,te){var re;return((re=E.labels)===null||re===void 0?void 0:re.map(function(oe,Y){return(0,x.VL)(W(W({groupIds:[ee],backgroundColor:te},M),{},{text:oe.length>8?"".concat(oe.slice(0,5),"..."):oe,x:D+44*Y+24,y:F+6,width:k,angle:5.87,fontSize:16,textAlign:"center",verticalAlign:"top"}))}))||[]}(h,d,r,n,p)),(0,P.Z)(function(E,D,F,ee,te){var re=(0,x.VL)(W(W({groupIds:[ee],backgroundColor:te},M),{},{x:D-S,y:F-S,text:"0",textAlign:"right"}));return[re,(0,x.VL)(W(W({groupIds:[ee],backgroundColor:te},M),{},{x:D-S,y:F-J-re.height/2,text:Math.max.apply(Math,(0,P.Z)(E.values)).toLocaleString(),textAlign:"right"}))]}(h,d,r,n,p)),(0,P.Z)(function(E,D,F,ee,te){var re=A(E),oe=re.chartWidth,Y=re.chartHeight;return[(0,x.y8)(W(W({backgroundColor:te,groupIds:[ee]},M),{},{type:"line",x:D,y:F,startArrowhead:null,endArrowhead:null,width:oe,points:[[0,0],[oe,0]]})),(0,x.y8)(W(W({backgroundColor:te,groupIds:[ee]},M),{},{type:"line",x:D,y:F,startArrowhead:null,endArrowhead:null,height:Y,points:[[0,0],[0,-Y]]})),(0,x.y8)(W(W({backgroundColor:te,groupIds:[ee]},M),{},{type:"line",x:D,y:F-J-S,startArrowhead:null,endArrowhead:null,strokeStyle:"dotted",width:oe,opacity:50,points:[[0,0],[oe,0]]}))]}(h,d,r,n,p)))},y=function(h,d,r,n){return h==="line"?function(p,a,l){var u,C=Math.max.apply(Math,(0,P.Z)(p.values)),L=(0,c.kb)(),_=H[Math.floor(Math.random()*H.length)],E=0,D=[],F=f(p.values);try{for(F.s();!(u=F.n()).done;){var ee=u.value,te=44*E,re=-ee/C*J;D.push([te,re]),E++}}catch(je){F.e(je)}finally{F.f()}var oe=Math.max.apply(Math,(0,P.Z)(D.map(function(je){return je[0]}))),Y=Math.max.apply(Math,(0,P.Z)(D.map(function(je){return je[1]}))),V=Math.min.apply(Math,(0,P.Z)(D.map(function(je){return je[0]}))),ie=Math.min.apply(Math,(0,P.Z)(D.map(function(je){return je[1]}))),we=(0,x.y8)(W(W({backgroundColor:_,groupIds:[L]},M),{},{type:"line",x:a+S+16,y:l-S,startArrowhead:null,endArrowhead:null,height:Y-ie,width:oe-V,strokeWidth:2,points:D})),Ae=p.values.map(function(je,ye){var Ee=44*ye+6,Oe=-je/C*J+6;return(0,x.Up)(W(W({backgroundColor:_,groupIds:[L]},M),{},{fillStyle:"solid",strokeWidth:2,type:"ellipse",x:a+Ee+16,y:l+Oe-24,width:S,height:S}))}),Re=p.values.map(function(je,ye){var Ee=44*ye+6,Oe=je/C*J+6+S;return(0,x.y8)(W(W({backgroundColor:_,groupIds:[L]},M),{},{type:"line",x:a+Ee+16+6,y:l-Oe,startArrowhead:null,endArrowhead:null,height:Oe,strokeStyle:"dotted",opacity:50,points:[[0,0],[0,Oe]]}))});return[].concat((0,P.Z)(b(p,a,l,L,_,!1)),[we],(0,P.Z)(Re),(0,P.Z)(Ae))}(d,r,n):function(p,a,l){var u=Math.max.apply(Math,(0,P.Z)(p.values)),C=(0,c.kb)(),L=H[Math.floor(Math.random()*H.length)],_=p.values.map(function(E,D){var F=E/u*J;return(0,x.Up)(W(W({backgroundColor:L,groupIds:[C]},M),{},{type:"rectangle",x:a+44*D+S,y:l-F-S,width:k,height:F}))});return[].concat((0,P.Z)(_),(0,P.Z)(b(p,a,l,C,L,!1)))}(d,r,n)}},957:function(fe,t,e){e.d(t,{G:function(){return P},l:function(){return w}});var P=function(m){var v=Math.abs(function(I){var x=0;if(I.length===0)return x;for(var c=0;c<I.length;c++)x=(x<<5)-x+I.charCodeAt(c);return x}(m));return"hsl(".concat(v%37*10,", ").concat(100,"%, ").concat(83,"%)")},w=function(m){var v,I=m==null||(v=m.trim())===null||v===void 0?void 0:v.codePointAt(0);return(I?String.fromCodePoint(I):"?").toUpperCase()}},4694:function(fe,t,e){e.d(t,{OO:function(){return G},Se:function(){return y},dd:function(){return n},mQ:function(){return d},uR:function(){return r},vQ:function(){return H},vt:function(){return ve},wx:function(){return he}});var P=e(7169),w=e(8950),m=e(2577),v=e(2975),I=e.n(v),x=e(901),c=e(9937),f=e(4183),Z=e(5742),N=e(583),W=e(4682),k=e(9827),S=e(8227);function J(a,l){var u=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!u){if(Array.isArray(a)||(u=function(F,ee){if(F){if(typeof F=="string")return ce(F,ee);var te=Object.prototype.toString.call(F).slice(8,-1);if(te==="Object"&&F.constructor&&(te=F.constructor.name),te==="Map"||te==="Set")return Array.from(F);if(te==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(te))return ce(F,ee)}}(a))||l&&a&&typeof a.length=="number"){u&&(a=u);var C=0,L=function(){};return{s:L,n:function(){return C>=a.length?{done:!0}:{done:!1,value:a[C++]}},e:function(F){throw F},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _,E=!0,D=!1;return{s:function(){u=u.call(a)},n:function(){var F=u.next();return E=F.done,F},e:function(F){D=!0,_=F},f:function(){try{E||u.return==null||u.return()}finally{if(D)throw _}}}}function ce(a,l){(l==null||l>a.length)&&(l=a.length);for(var u=0,C=new Array(l);u<l;u++)C[u]=a[u];return C}var he="clipboard"in navigator&&"writeText"in navigator.clipboard,ve="clipboard"in navigator&&"write"in navigator.clipboard&&"ClipboardItem"in window&&"toBlob"in HTMLCanvasElement.prototype,le=function(a){return!(![c.r8.excalidraw,c.r8.excalidrawClipboard,c.r8.excalidrawClipboardWithAPI].includes(a?.type)||!Array.isArray(a.elements))},G=function(a){var l=a.types,u=a.files;l||u||console.warn("createPasteEvent: no types or files provided");var C=new ClipboardEvent("paste",{clipboardData:new DataTransfer});if(l)for(var L=0,_=Object.entries(l);L<_.length;L++){var E=(0,m.Z)(_[L],2),D=E[0],F=E[1];try{var ee,te;if((ee=C.clipboardData)===null||ee===void 0||ee.setData(D,F),((te=C.clipboardData)===null||te===void 0?void 0:te.getData(D))!==F)throw new Error('Failed to set "'.concat(D,'" as clipboardData item'))}catch(Ae){throw new Error(Ae.message)}}if(u){var re,oe=-1,Y=J(u);try{for(Y.s();!(re=Y.n()).done;){var V=re.value;oe++;try{var ie,we;if((ie=C.clipboardData)===null||ie===void 0||ie.items.add(V),((we=C.clipboardData)===null||we===void 0?void 0:we.files[oe])!==V)throw new Error('Failed to set file "'.concat(V.name,'" as clipboardData item'))}catch(Ae){throw new Error(Ae.message)}}}catch(Ae){Y.e(Ae)}finally{Y.f()}}return C},U=function(a){var l=a.elements,u=a.files,C=new Set(l.filter(function(D){return D.type==="frame"})),L=!1,_=l.reduce(function(D,F){return(0,f.wi)(F)&&(L=!0,u&&u[F.fileId]&&(D[F.fileId]=u[F.fileId])),D},{});L&&!u&&console.warn("copyToClipboard: attempting to file element(s) without providing associated `files` object.");var E={type:c.r8.excalidrawClipboard,elements:l.map(function(D){if((0,W.$Z)(D)&&!C.has((0,W.$Z)(D))){var F=(0,Z.OL)(D);return(0,N.DR)(F,{frameId:null}),F}return D}),files:u?_:void 0};return JSON.stringify(E)},H=function(){var a=(0,w.Z)(I().mark(function l(u,C,L){return I().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,n(U({elements:u,files:C}),L);case 2:case"end":return _.stop()}},l)}));return function(l,u,C){return a.apply(this,arguments)}}(),M=function(a){var l=(0,x.dz)(a);return l.type===x.i$?{spreadsheet:l.spreadsheet}:null};function A(a){var l,u=[],C=J(a.childNodes);try{for(C.s();!(l=C.n()).done;){var L=l.value;if(L.nodeType===3){var _,E=(_=L.textContent)===null||_===void 0?void 0:_.trim();E&&u.push({type:"text",value:E})}else if(L instanceof HTMLImageElement){var D=L.getAttribute("src");D&&D.startsWith("http")&&u.push({type:"imageUrl",value:D})}else u=u.concat(A(L))}}catch(F){C.e(F)}finally{C.f()}return u}var b=function(a){var l,u=(l=a.clipboardData)===null||l===void 0?void 0:l.getData("text/html");if(!u)return null;try{var C=A(new DOMParser().parseFromString(u,"text/html").body);if(C.length)return{type:"mixedContent",value:C}}catch(L){console.error("error in parseHTMLFromPaste: ".concat(L.message))}return null},y=function(){var a=(0,w.Z)(I().mark(function l(){var u,C,L,_,E,D,F,ee,te,re,oe,Y;return I().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(u={},V.prev=1,(C=navigator.clipboard)===null||C===void 0||!C.readText){V.next=7;break}return V.next=5,(L=navigator.clipboard)===null||L===void 0?void 0:L.readText();case 5:return V.t0=V.sent,V.abrupt("return",{"text/plain":V.t0});case 7:V.next=16;break;case 9:if(V.prev=9,V.t1=V.catch(1),(_=navigator.clipboard)===null||_===void 0||!_.read){V.next=15;break}console.warn("navigator.clipboard.readText() failed (".concat(V.t1.message,"). Failling back to navigator.clipboard.read()")),V.next=16;break;case 15:throw V.t1;case 16:return V.prev=16,V.next=19,(D=navigator.clipboard)===null||D===void 0?void 0:D.read();case 19:E=V.sent,V.next=28;break;case 22:if(V.prev=22,V.t2=V.catch(16),V.t2.name!=="DataError"){V.next=27;break}return console.warn("navigator.clipboard.read() error, clipboard is probably empty: ".concat(V.t2.message)),V.abrupt("return",u);case 27:throw V.t2;case 28:F=J(E),V.prev=29,F.s();case 31:if((ee=F.n()).done){V.next=63;break}te=ee.value,re=J(te.types),V.prev=34,re.s();case 36:if((oe=re.n()).done){V.next=53;break}if(Y=oe.value,(0,k.XF)(c.wL,Y)){V.next=40;break}return V.abrupt("continue",51);case 40:return V.prev=40,V.next=43,te.getType(Y);case 43:return V.next=45,V.sent.text();case 45:u[Y]=V.sent,V.next=51;break;case 48:V.prev=48,V.t3=V.catch(40),console.warn("Cannot retrieve ".concat(Y," from clipboardItem: ").concat(V.t3.message));case 51:V.next=36;break;case 53:V.next=58;break;case 55:V.prev=55,V.t4=V.catch(34),re.e(V.t4);case 58:return V.prev=58,re.f(),V.finish(58);case 61:V.next=31;break;case 63:V.next=68;break;case 65:V.prev=65,V.t5=V.catch(29),F.e(V.t5);case 68:return V.prev=68,F.f(),V.finish(68);case 71:if(Object.keys(u).length!==0){V.next=74;break}return console.warn("No clipboard data found from clipboard.read()."),V.abrupt("return",u);case 74:return V.abrupt("return",u);case 75:case"end":return V.stop()}},l,null,[[1,9],[16,22],[29,65,68,71],[34,55,58,61],[40,48]])}));return function(){return a.apply(this,arguments)}}(),h=function(){var a=(0,w.Z)(I().mark(function l(u){var C,L,_,E,D,F=arguments;return I().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(C=F.length>1&&F[1]!==void 0&&F[1],ee.prev=1,!(_=!C&&u&&b(u))){ee.next=7;break}if(!_.value.every(function(te){return te.type==="text"})){ee.next=6;break}return ee.abrupt("return",{type:"text",value:((E=u.clipboardData)===null||E===void 0?void 0:E.getData("text/plain"))||_.value.map(function(te){return te.value}).join(` +`).trim()});case 6:return ee.abrupt("return",_);case 7:return D=(L=u.clipboardData)===null||L===void 0?void 0:L.getData("text/plain"),ee.abrupt("return",{type:"text",value:(D||"").trim()});case 11:return ee.prev=11,ee.t0=ee.catch(1),ee.abrupt("return",{type:"text",value:""});case 14:case"end":return ee.stop()}},l,null,[[1,11]])}));return function(l){return a.apply(this,arguments)}}(),d=function(){var a=(0,w.Z)(I().mark(function l(u){var C,L,_,E,D,F=arguments;return I().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return C=F.length>1&&F[1]!==void 0&&F[1],ee.next=3,h(u,C);case 3:if((L=ee.sent).type!=="mixedContent"){ee.next=6;break}return ee.abrupt("return",{mixedContent:L.value});case 6:if(ee.prev=6,!(_=!C&&M(L.value))){ee.next=10;break}return ee.abrupt("return",_);case 10:ee.next=15;break;case 12:ee.prev=12,ee.t0=ee.catch(6),console.error(ee.t0);case 15:if(ee.prev=15,E=JSON.parse(L.value),D=E.type===c.r8.excalidrawClipboardWithAPI,!le(E)){ee.next=20;break}return ee.abrupt("return",{elements:E.elements,files:E.files,text:C?JSON.stringify(E.elements,null,2):void 0,programmaticAPI:D});case 20:ee.next=24;break;case 22:ee.prev=22,ee.t1=ee.catch(15);case 24:return ee.abrupt("return",{text:L.value});case 25:case"end":return ee.stop()}},l,null,[[6,12],[15,22]])}));return function(l){return a.apply(this,arguments)}}(),r=function(){var a=(0,w.Z)(I().mark(function l(u){return I().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.prev=0,C.next=3,navigator.clipboard.write([new window.ClipboardItem((0,P.Z)({},c.LO.png,u))]);case 3:case 21:C.next=24;break;case 5:if(C.prev=5,C.t0=C.catch(0),!(0,k.y8)(u)){C.next=23;break}return C.t1=navigator.clipboard,C.t2=window.ClipboardItem,C.t3=P.Z,C.t4={},C.t5=c.LO.png,C.next=15,u;case 15:return C.t6=C.sent,C.t7=(0,C.t3)(C.t4,C.t5,C.t6),C.t8=new C.t2(C.t7),C.t9=[C.t8],C.next=21,C.t1.write.call(C.t1,C.t9);case 23:throw C.t0;case 24:case"end":return C.stop()}},l,null,[[0,5]])}));return function(l){return a.apply(this,arguments)}}(),n=function(){var a=(0,w.Z)(I().mark(function l(u,C){var L,_;return I().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(!he){E.next=10;break}return E.prev=1,E.next=4,navigator.clipboard.writeText(u||"");case 4:return E.abrupt("return");case 7:E.prev=7,E.t0=E.catch(1),console.error(E.t0);case 10:if(E.prev=10,!C){E.next=16;break}if((L=C.clipboardData)===null||L===void 0||L.setData("text/plain",u||""),((_=C.clipboardData)===null||_===void 0?void 0:_.getData("text/plain"))===u){E.next=15;break}throw new Error("Failed to setData on clipboardEvent");case 15:return E.abrupt("return");case 16:E.next=21;break;case 18:E.prev=18,E.t1=E.catch(10),console.error(E.t1);case 21:if(p(u)){E.next=23;break}throw new Error((0,S.t)("errors.copyToSystemClipboardFailed"));case 23:case"end":return E.stop()}},l,null,[[1,7],[10,18]])}));return function(l,u){return a.apply(this,arguments)}}(),p=function(a){a||(a=" ");var l=document.documentElement.getAttribute("dir")==="rtl",u=document.createElement("textarea");u.style.border="0",u.style.padding="0",u.style.margin="0",u.style.position="absolute",u.style[l?"right":"left"]="-9999px";var C=window.pageYOffset||document.documentElement.scrollTop;u.style.top="".concat(C,"px"),u.style.fontSize="12pt",u.setAttribute("readonly",""),u.value=a,document.body.appendChild(u);var L=!1;try{u.select(),u.setSelectionRange(0,u.value.length),L=document.execCommand("copy")}catch(_){console.error(_)}return u.remove(),L}},9240:function(fe,t,e){e.d(t,{C2:function(){return f},HO:function(){return S},Lx:function(){return x},SF:function(){return G},Wk:function(){return le},_T:function(){return N},ay:function(){return ve},dC:function(){return c},eq:function(){return he},fY:function(){return ce},sF:function(){return U},vq:function(){return H},z8:function(){return Z}});var P=e(7169),w=e(5284);function m(M,A){var b=Object.keys(M);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(M);A&&(y=y.filter(function(h){return Object.getOwnPropertyDescriptor(M,h).enumerable})),b.push.apply(b,y)}return b}function v(M){for(var A=1;A<arguments.length;A++){var b=arguments[A]!=null?arguments[A]:{};A%2?m(Object(b),!0).forEach(function(y){(0,P.Z)(M,y,b[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(b)):m(Object(b)).forEach(function(y){Object.defineProperty(M,y,Object.getOwnPropertyDescriptor(b,y))})}return M}var I,x=5,c=5,f=4,Z=4,N=1,W=[0,2,4,6,8],k=function(M,A){return A.map(function(b){return w[M][b]})},S={transparent:"transparent",black:"#1e1e1e",white:"#ffffff",gray:k("gray",W),red:k("red",W),pink:k("pink",W),grape:k("grape",W),violet:k("violet",W),blue:k("blue",W),cyan:k("cyan",W),teal:k("teal",W),green:k("green",W),yellow:k("yellow",W),orange:k("orange",W),bronze:["#f8f1ee","#eaddd7","#d2bab0","#a18072","#846358"]},J=(I=S,["cyan","blue","violet","grape","pink","green","teal","yellow","orange","red"].reduce(function(M,A){return A in I&&(M[A]=I[A]),M},{})),ce=[S.black,S.red[Z],S.green[Z],S.blue[Z],S.yellow[Z]],he=[S.transparent,S.red[N],S.green[N],S.blue[N],S.yellow[N]],ve=[S.white,"#f8f9fa","#f5faff","#fffce8","#fdf8f6"],le=v({transparent:S.transparent,white:S.white,gray:S.gray,black:S.black,bronze:S.bronze},J),G=v({transparent:S.transparent,white:S.white,gray:S.gray,black:S.black,bronze:S.bronze},J),U=function(M){return[S.cyan[M],S.blue[M],S.violet[M],S.grape[M],S.pink[M],S.green[M],S.teal[M],S.yellow[M],S.orange[M],S.red[M]]},H=function(M,A,b){return"#".concat(((1<<24)+(M<<16)+(A<<8)+b).toString(16).slice(1))}},8973:function(fe,t,e){e.d(t,{o:function(){return N},w:function(){return Z}});var P=e(2577),w=e(3607),m=e(5463),v=e(8227),I=e(453),x=e(8242),c=e(6887),f=e(1020),Z=(0,w.cn)(null),N=function(){var W=(0,w.KO)(Z,I.yE),k=(0,P.Z)(W,2),S=k[0],J=k[1],ce=(0,x.eh)();return S&&S==="clearCanvas"?(0,f.jsx)(c.Z,{onConfirm:function(){ce.executeAction(m.mo),J(null)},onCancel:function(){return J(null)},title:(0,v.t)("clearCanvasDialog.title"),children:(0,f.jsxs)("p",{className:"clear-canvas__content",children:[" ",(0,v.t)("alerts.clearReset")]})}):null}},8242:function(fe,t,e){e.d(t,{ZP:function(){return T},qD:function(){return Ua},hY:function(){return Za},Fy:function(){return ka},eh:function(){return Ya},gF:function(){return qa},J0:function(){return Ka},bd:function(){return $a},n9:function(){return Ga}});var P=e(6655),w=e(2577),m=e(1930),v=e(8950),I=e(8821),x=e(5169),c=e(3173),f=e(2248),Z=e(7245),N=e(2312),W=e(7169),k=e(2975),S=e.n(k),J=e(9787),ce=e.n(J),he=e(5156),ve=e(9845),le=e(45),G=e(5605),U=e(5463),H=e(8935),M=e(1512),A=e(8227),b=e(5491),y=e(583),h=e(9645),d=e(9827),r=e(9937),n=e(1020);function p(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function a(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?p(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):p(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}var l=function(o,g,R){var q=!1;if(!(g.multiElement||g.resizingElement||g.editingElement||g.draggingElement)){var de=R();if(de===null)return{commitToHistory:q};var ne=(0,d.xn)(o),B=de.elements,X=(0,d.xn)(B),ke=o.filter(function(Pe){return!X.has(Pe.id)}),Ie=B.map(function(Pe){return(0,y.BE)(ne.get(Pe.id)||Pe,Pe)}).concat(ke.map(function(Pe){return(0,y.BE)(Pe,{isDeleted:!0})}));return(0,h.$q)(Ie,ke),{elements:Ie,appState:a(a({},g),de.appState),commitToHistory:q,syncHistory:!0}}return{commitToHistory:q}},u=e(3646),C=function(o,g,R,q,de,ne){if(o.trackEvent)try{(0,P.Z)(o.trackEvent)==="object"&&(!o.trackEvent.predicate||o.trackEvent.predicate(R,q,ne))&&(0,u.L)(o.trackEvent.category,o.trackEvent.action||o.name,"".concat(g," (").concat(de.device.editor.isMobile?"mobile":"desktop",")"))}catch(B){console.error("error while logging action:",B)}},L=function(){function o(g,R,q,de){var ne=this;(0,I.Z)(this,o),this.actions={},this.renderAction=function(B,X){var ke=ne.app.props.UIOptions.canvasActions;if(ne.actions[B]&&"PanelComponent"in ne.actions[B]&&(!(B in ke)||ke[B])){var Ie=ne.actions[B],Pe=Ie.PanelComponent;Pe.displayName="PanelComponent";var Fe=ne.getElementsIncludingDeleted(),Ge=ne.getAppState();return(0,n.jsx)(Pe,{elements:ne.getElementsIncludingDeleted(),appState:ne.getAppState(),updateData:function(qe){C(Ie,"ui",Ge,Fe,ne.app,qe),ne.updater(Ie.perform(ne.getElementsIncludingDeleted(),ne.getAppState(),qe,ne.app))},appProps:ne.app.props,app:ne.app,data:X})}return null},this.isActionEnabled=function(B){var X=ne.getElementsIncludingDeleted(),ke=ne.getAppState();return!B.predicate||B.predicate(X,ke,ne.app.props,ne.app)},this.updater=function(B){if(!B||!("then"in B))return g(B);B.then(function(X){return g(X)})},this.getAppState=R,this.getElementsIncludingDeleted=q,this.app=de}return(0,x.Z)(o,[{key:"registerAction",value:function(g){this.actions[g.name]=g}},{key:"registerAll",value:function(g){var R=this;g.forEach(function(q){return R.registerAction(q)})}},{key:"handleKeyDown",value:function(g){var R=this,q=this.app.props.UIOptions.canvasActions,de=Object.values(this.actions).sort(function(ke,Ie){return(Ie.keyPriority||0)-(ke.keyPriority||0)}).filter(function(ke){return(!(ke.name in q)||q[ke.name])&&ke.keyTest&&ke.keyTest(g,R.getAppState(),R.getElementsIncludingDeleted(),R.app)});if(de.length!==1)return de.length>1&&console.warn("Canceling as multiple actions match this shortcut",de),!1;var ne=de[0];if(this.getAppState().viewModeEnabled&&ne.viewMode!==!0)return!1;var B=this.getElementsIncludingDeleted(),X=this.getAppState();return C(ne,"keyboard",X,B,this.app,null),g.preventDefault(),g.stopPropagation(),this.updater(de[0].perform(B,X,null,this.app)),!0}},{key:"executeAction",value:function(g){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"api",q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,de=this.getElementsIncludingDeleted(),ne=this.getAppState();C(g,R,ne,de,this.app,q),this.updater(g.perform(de,ne,q,this.app))}}]),o}(),_=e(2767),E=e(6853),D=e(4694),F=e(2435),ee=e(9326),te=e(7994),re=e(7651),oe=e(7422),Y=e(5742),V=e(4183),ie=function(o){var g=Array.from(o.values());return{x:Ae(g,function(R){return R.x})/g.length,y:Ae(g,function(R){return R.y})/g.length}},we=function(o){var g=(0,w.Z)(o,2),R=g[0],q=g[1];return Math.hypot(R.x-q.x,R.y-q.y)},Ae=function(o,g){return o.reduce(function(R,q){return R+g(q)},0)},Re=e(9215);function je(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function ye(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?je(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):je(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}var Ee=function(o){return{selectedElementIds:o.selectedElementIds,selectedGroupIds:o.selectedGroupIds,viewBackgroundColor:o.viewBackgroundColor,editingLinearElement:o.editingLinearElement,editingGroupId:o.editingGroupId,name:o.name}},Oe=function(){function o(){var g=this;(0,I.Z)(this,o),this.elementCache=new Map,this.recording=!0,this.stateHistory=[],this.redoStack=[],this.lastEntry=null,this.generateEntry=function(R,q){return g.dehydrateHistoryEntry({appState:Ee(R),elements:q.reduce(function(de,ne){if((0,V.bt)(ne)&&R.multiElement&&R.multiElement.id===ne.id){if(R.multiElement&&R.multiElement.id===ne.id&&ne.points.length<2)return de;de.push(ye(ye({},ne),{},{points:ne.lastCommittedPoint!==ne.points[ne.points.length-1]?ne.points.slice(0,-1):ne.points}))}else de.push(ne);return de},[])})}}return(0,x.Z)(o,[{key:"hydrateHistoryEntry",value:function(g){var R=this,q=g.appState,de=g.elements;return{appState:JSON.parse(q),elements:de.map(function(ne){var B,X=(B=R.elementCache.get(ne.id))===null||B===void 0?void 0:B.get(ne.versionNonce);if(!X)throw new Error("Element not found: ".concat(ne.id,":").concat(ne.versionNonce));return X})}}},{key:"dehydrateHistoryEntry",value:function(g){var R=this,q=g.appState,de=g.elements;return{appState:JSON.stringify(q),elements:de.map(function(ne){R.elementCache.has(ne.id)||R.elementCache.set(ne.id,new Map);var B=R.elementCache.get(ne.id);return B.has(ne.versionNonce)||B.set(ne.versionNonce,(0,Y.OL)(ne)),{id:ne.id,versionNonce:ne.versionNonce}})}}},{key:"getSnapshotForTest",value:function(){var g=this;return{recording:this.recording,stateHistory:this.stateHistory.map(function(R){return g.hydrateHistoryEntry(R)}),redoStack:this.redoStack.map(function(R){return g.hydrateHistoryEntry(R)})}}},{key:"clear",value:function(){this.stateHistory.length=0,this.redoStack.length=0,this.lastEntry=null,this.elementCache.clear()}},{key:"shouldCreateEntry",value:function(g){var R,q=this.lastEntry;if(!q||g.elements.length!==q.elements.length)return!0;for(var de=g.elements.length-1;de>-1;de--){var ne=g.elements[de],B=q.elements[de];if(!ne||!B||ne.id!==B.id||ne.versionNonce!==B.versionNonce)return!0}for(R in g.appState){var X,ke;if(!(R==="editingLinearElement"&&((X=g.appState[R])===null||X===void 0?void 0:X.elementId)===((ke=q.appState[R])===null||ke===void 0?void 0:ke.elementId))&&R!=="selectedElementIds"&&R!=="selectedGroupIds"&&g.appState[R]!==q.appState[R])return!0}return!1}},{key:"pushEntry",value:function(g,R){var q=this.generateEntry(g,R),de=this.hydrateHistoryEntry(q);if(de){if(!this.shouldCreateEntry(de))return;this.stateHistory.push(q),this.lastEntry=de,this.clearRedoStack()}}},{key:"clearRedoStack",value:function(){this.redoStack.splice(0,this.redoStack.length)}},{key:"redoOnce",value:function(){if(this.redoStack.length===0)return null;var g=this.redoStack.pop();return g!==void 0?(this.stateHistory.push(g),this.hydrateHistoryEntry(g)):null}},{key:"undoOnce",value:function(){if(this.stateHistory.length===1)return null;var g=this.stateHistory.pop(),R=this.stateHistory[this.stateHistory.length-1];return g!==void 0?(this.redoStack.push(g),this.hydrateHistoryEntry(R)):null}},{key:"setCurrentState",value:function(g,R){this.lastEntry=this.hydrateHistoryEntry(this.generateEntry(g,R))}},{key:"resumeRecording",value:function(){this.recording=!0}},{key:"record",value:function(g,R){this.recording&&(this.pushEntry(g,R),this.recording=!1)}}]),o}(),ge=e(7935),ue=e(2361),se=e(4105),j=e(457),i=e(4116),s=[{icon:H.zu,value:"selection",key:b.tW.V,numericKey:b.tW[1],fillable:!0},{icon:H.OW,value:"rectangle",key:b.tW.R,numericKey:b.tW[2],fillable:!0},{icon:H.nb,value:"diamond",key:b.tW.D,numericKey:b.tW[3],fillable:!0},{icon:H.Re,value:"ellipse",key:b.tW.O,numericKey:b.tW[4],fillable:!0},{icon:H.e0,value:"arrow",key:b.tW.A,numericKey:b.tW[5],fillable:!0},{icon:H.zb,value:"line",key:b.tW.L,numericKey:b.tW[6],fillable:!0},{icon:H.Pm,value:"freedraw",key:[b.tW.P,b.tW.X],numericKey:b.tW[7],fillable:!1},{icon:H.VL,value:"text",key:b.tW.T,numericKey:b.tW[8],fillable:!1},{icon:H.XB,value:"image",key:null,numericKey:b.tW[9],fillable:!1},{icon:H.$q,value:"eraser",key:b.tW.E,numericKey:b.tW[0],fillable:!1}],O=e(761),z=e(3204),K=e(3379),$=e.n(K),Q=e(7795),ae=e.n(Q),be=e(569),Ce=e.n(be),Ze=e(3565),Be=e.n(Ze),Te=e(9216),He=e.n(Te),Ve=e(4589),Je=e.n(Ve),Me=e(6578),me={};me.styleTagTransform=Je(),me.setAttributes=Be(),me.insert=Ce().bind(null,"head"),me.domAPI=ae(),me.insertStyleElement=He(),$()(Me.Z,me),Me.Z&&Me.Z.locals&&Me.Z.locals;var Se=e(2529),Ne="separator",Ye=ce().memo(function(o){var g=o.actionManager,R=o.items,q=o.top,de=o.left,ne=o.onClose,B=qa(),X=$a(),ke=R.reduce(function(Ie,Pe){return!Pe||Pe!==Ne&&Pe.predicate&&!Pe.predicate(X,B,g.app.props,g.app)||Ie.push(Pe),Ie},[]);return(0,n.jsx)(z.J,{onCloseRequest:function(){ne()},top:q,left:de,fitInViewport:!0,offsetLeft:B.offsetLeft,offsetTop:B.offsetTop,viewportWidth:B.width,viewportHeight:B.height,children:(0,n.jsx)("ul",{className:"context-menu",onContextMenu:function(Ie){return Ie.preventDefault()},children:ke.map(function(Ie,Pe){var Fe;if(Ie===Ne)return ke[Pe-1]&&ke[Pe-1]!==Ne?(0,n.jsx)("hr",{className:"context-menu-item-separator"},Pe):null;var Ge=Ie.name,qe="";return Ie.contextItemLabel&&(qe=typeof Ie.contextItemLabel=="function"?(0,A.t)(Ie.contextItemLabel(X,B,g.app)):(0,A.t)(Ie.contextItemLabel)),(0,n.jsx)("li",{"data-testid":Ge,onClick:function(){ne(function(){g.executeAction(Ie,"contextMenu")})},children:(0,n.jsxs)("button",{className:(0,le.Z)("context-menu-item",{dangerous:Ge==="deleteSelectedElements",checkmark:(Fe=Ie.checked)===null||Fe===void 0?void 0:Fe.call(Ie,B)}),children:[(0,n.jsx)("div",{className:"context-menu-item__label",children:qe}),(0,n.jsx)("kbd",{className:"context-menu-item__shortcut",children:Ge?(0,Se.C)(Ge):""})]})},Pe)})})})}),Qe=e(2726),rt=e(2540),ft=e(1648),at=e(8925),ut=e(4761),Ot=e(6086),Pt={};Pt.styleTagTransform=Je(),Pt.setAttributes=Be(),Pt.insert=Ce().bind(null,"head"),Pt.domAPI=ae(),Pt.insertStyleElement=He(),$()(Ot.Z,Pt),Ot.Z&&Ot.Z.locals&&Ot.Z.locals;var Et=e(7104);function Mt(o,g){var R=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!R){if(Array.isArray(o)||(R=function(ke,Ie){if(ke){if(typeof ke=="string")return Yt(ke,Ie);var Pe=Object.prototype.toString.call(ke).slice(8,-1);if(Pe==="Object"&&ke.constructor&&(Pe=ke.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ke);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return Yt(ke,Ie)}}(o))||g&&o&&typeof o.length=="number"){R&&(o=R);var q=0,de=function(){};return{s:de,n:function(){return q>=o.length?{done:!0}:{done:!1,value:o[q++]}},e:function(ke){throw ke},f:de}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne,B=!0,X=!1;return{s:function(){R=R.call(o)},n:function(){var ke=R.next();return B=ke.done,ke},e:function(ke){X=!0,ne=ke},f:function(){try{B||R.return==null||R.return()}finally{if(X)throw ne}}}}function Yt(o,g){(g==null||g>o.length)&&(g=o.length);for(var R=0,q=new Array(g);R<g;R++)q[R]=o[R];return q}var lt=function(o){var g,R=o.appState,q=o.elements,de=o.renderAction,ne=(0,se.Zs)((0,re.Lm)(q),R),B=!1;ne.length===2&&((0,V.Xo)(ne[0])||(0,V.Xo)(ne[1]))&&(B=!0);var X,ke=!!R.editingElement,Ie=ka(),Pe=document.documentElement.getAttribute("dir")==="rtl",Fe=(0,se.$b)(R.activeTool.type)&&!(0,d.Qm)(R.currentItemBackgroundColor)||ne.some(function(kt){return(0,se.$b)(kt.type)&&!(0,d.Qm)(kt.backgroundColor)}),Ge=(0,se.$b)(R.activeTool.type)||ne.some(function(kt){return(0,se.$b)(kt.type)}),qe=ne.length===1||B,it=((g=ne[0])===null||g===void 0?void 0:g.type)||null,st=Mt(ne);try{for(st.s();!(X=st.n()).done;)if(X.value.type!==it){it=null;break}}catch(kt){st.e(kt)}finally{st.f()}return(0,n.jsxs)("div",{className:"panelColumn",children:[(0,n.jsx)("div",{children:((0,ft.PD)(R.activeTool.type)&&R.activeTool.type!=="image"&&it!=="image"&&it!=="frame"||ne.some(function(kt){return(0,ft.PD)(kt.type)}))&&de("changeStrokeColor")}),Ge&&(0,n.jsx)("div",{children:de("changeBackgroundColor")}),Fe&&de("changeFillStyle"),((0,se.Zd)(R.activeTool.type)||ne.some(function(kt){return(0,se.Zd)(kt.type)}))&&de("changeStrokeWidth"),(R.activeTool.type==="freedraw"||ne.some(function(kt){return kt.type==="freedraw"}))&&de("changeStrokeShape"),((0,se.M9)(R.activeTool.type)||ne.some(function(kt){return(0,se.M9)(kt.type)}))&&(0,n.jsxs)(n.Fragment,{children:[de("changeStrokeStyle"),de("changeSloppiness")]}),((0,se.sh)(R.activeTool.type)||ne.some(function(kt){return(0,se.sh)(kt.type)}))&&(0,n.jsx)(n.Fragment,{children:de("changeRoundness")}),(R.activeTool.type==="text"||ne.some(V.iB))&&(0,n.jsxs)(n.Fragment,{children:[de("changeFontSize"),de("changeFontFamily"),(R.activeTool.type==="text"||(0,ut.aV)(ne))&&de("changeTextAlign")]}),(0,ut.cn)(ne)&&de("changeVerticalAlign"),((0,se.Un)(R.activeTool.type)||ne.some(function(kt){return(0,se.Un)(kt.type)}))&&(0,n.jsx)(n.Fragment,{children:de("changeArrowhead")}),de("changeOpacity"),(0,n.jsxs)("fieldset",{children:[(0,n.jsx)("legend",{children:(0,A.t)("labels.layers")}),(0,n.jsxs)("div",{className:"buttonList",children:[de("sendToBack"),de("sendBackward"),de("bringToFront"),de("bringForward")]})]}),ne.length>1&&!B&&(0,n.jsxs)("fieldset",{children:[(0,n.jsx)("legend",{children:(0,A.t)("labels.align")}),(0,n.jsxs)("div",{className:"buttonList",children:[Pe?(0,n.jsxs)(n.Fragment,{children:[de("alignRight"),de("alignHorizontallyCentered"),de("alignLeft")]}):(0,n.jsxs)(n.Fragment,{children:[de("alignLeft"),de("alignHorizontallyCentered"),de("alignRight")]}),ne.length>2&&de("distributeHorizontally"),(0,n.jsx)("div",{style:{flexBasis:"100%",height:0}}),(0,n.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:".5rem",marginTop:"-0.5rem"},children:[de("alignTop"),de("alignVerticallyCentered"),de("alignBottom"),ne.length>2&&de("distributeVertically")]})]})]}),!ke&&ne.length>0&&(0,n.jsxs)("fieldset",{children:[(0,n.jsx)("legend",{children:(0,A.t)("labels.actions")}),(0,n.jsxs)("div",{className:"buttonList",children:[!Ie.editor.isMobile&&de("duplicateSelection"),!Ie.editor.isMobile&&de("deleteSelectedElements"),de("group"),de("ungroup"),qe&&de("hyperlink")]})]})]})},ot=function(o){var g=o.activeTool,R=o.appState,q=o.app,de=o.UIOptions,ne=(0,J.useState)(!1),B=(0,w.Z)(ne,2),X=B[0],ke=B[1],Ie=g.type==="frame",Pe=g.type==="laser",Fe=g.type==="embeddable";return(0,n.jsxs)(n.Fragment,{children:[s.map(function(Ge,qe){var it,st=Ge.value,kt=Ge.icon,Lt=Ge.key,bt=Ge.numericKey,vt=Ge.fillable;if(((it=de.tools)===null||it===void 0?void 0:it[st])===!1)return null;var jt=(0,A.t)("toolBar.".concat(st)),Nt=Lt&&(0,d.Oo)(typeof Lt=="string"?Lt:Lt[0]),Vt=Nt?"".concat(Nt," ").concat((0,A.t)("helpDialog.or")," ").concat(bt):"".concat(bt);return(0,n.jsx)(M.V,{className:(0,le.Z)("Shape",{fillable:vt}),type:"radio",icon:kt,checked:g.type===st,name:"editor-current-shape",title:"".concat((0,d.Oo)(jt)," — ").concat(Vt),keyBindingLabel:bt||Nt,"aria-label":(0,d.Oo)(jt),"aria-keyshortcuts":Vt,"data-testid":"toolbar-".concat(st),onPointerDown:function(Zt){var Ht=Zt.pointerType;R.penDetected||Ht!=="pen"||q.togglePenMode(!0)},onChange:function(Zt){var Ht=Zt.pointerType;R.activeTool.type!==st&&(0,u.L)("toolbar",st,"ui"),st==="image"?q.setActiveTool({type:st,insertOnCanvasDirectly:Ht!=="mouse"}):q.setActiveTool({type:st})}},st)}),(0,n.jsx)("div",{className:"App-toolbar__divider"}),(0,n.jsxs)(Et.Z,{open:X,children:[(0,n.jsx)(Et.Z.Trigger,{className:(0,le.Z)("App-toolbar__extra-tools-trigger",{"App-toolbar__extra-tools-trigger--selected":Ie||Fe||Pe&&!q.props.isCollaborating}),onToggle:function(){return ke(!X)},title:(0,A.t)("toolBar.extraTools"),children:H.dg}),(0,n.jsxs)(Et.Z.Content,{onClickOutside:function(){return ke(!1)},onSelect:function(){return ke(!1)},className:"App-toolbar__extra-tools-dropdown",children:[(0,n.jsx)(Et.Z.Item,{onSelect:function(){return q.setActiveTool({type:"frame"})},icon:H.zl,shortcut:b.tW.F.toLocaleUpperCase(),"data-testid":"toolbar-frame",selected:Ie,children:(0,A.t)("toolBar.frame")}),(0,n.jsx)(Et.Z.Item,{onSelect:function(){return q.setActiveTool({type:"embeddable"})},icon:H.FL,"data-testid":"toolbar-embeddable",selected:Fe,children:(0,A.t)("toolBar.embeddable")}),(0,n.jsx)(Et.Z.Item,{onSelect:function(){return q.setActiveTool({type:"laser"})},icon:H.d,"data-testid":"toolbar-laser",selected:Pe,shortcut:b.tW.K.toLocaleUpperCase(),children:(0,A.t)("toolBar.laser")}),(0,n.jsx)(Et.Z.Item,{onSelect:function(){return q.setOpenDialog("mermaid")},icon:H.II,"data-testid":"toolbar-embeddable",children:(0,A.t)("toolBar.mermaidToExcalidraw")})]})]})]})},mt=function(o){var g=o.renderAction;return o.zoom,(0,n.jsx)(rt.Z.Col,{gap:1,className:"zoom-actions",children:(0,n.jsxs)(rt.Z.Row,{align:"center",children:[g("zoomOut"),g("resetZoom"),g("zoomIn")]})})},pt=function(o){var g=o.renderAction,R=o.className;return(0,n.jsxs)("div",{className:"undo-redo-buttons ".concat(R),children:[(0,n.jsx)("div",{className:"undo-button-container",children:(0,n.jsx)(at.u,{label:(0,A.t)("buttons.undo"),children:g("undo")})}),(0,n.jsx)("div",{className:"redo-button-container",children:(0,n.jsxs)(at.u,{label:(0,A.t)("buttons.redo"),children:[" ",g("redo")]})})]})},ht=function(o){var g=o.actionManager,R=o.showExitZenModeBtn;return(0,n.jsx)("button",{className:(0,le.Z)("disable-zen-mode",{"disable-zen-mode--visible":R}),onClick:function(){return g.executeAction(U.JN)},children:(0,A.t)("buttons.exitZenMode")})},yt=function(o){var g=o.renderAction,R=o.className;return(0,n.jsx)("div",{className:"finalize-button ".concat(R),children:g("finalize",{size:"small"})})},Ct=e(1300),Bt=function(o){var g=o.children,R=o.onClose,q=(0,J.useState)(!!g),de=(0,w.Z)(q,2),ne=de[0],B=de[1],X=Ka().container,ke=ce().useCallback(function(){B(!1),R&&R(),X?.focus()},[R,X]);return(0,n.jsx)(n.Fragment,{children:ne&&(0,n.jsx)(Ct.V,{size:"small",onCloseRequest:ke,title:(0,A.t)("errorDialog.title"),children:(0,n.jsx)("div",{style:{whiteSpace:"pre-wrap"},children:g})})})},zt=e(4406),tr=e(5796),cr=e(6548),mr=e(507),Ft=e(6217),xt={};xt.styleTagTransform=Je(),xt.setAttributes=Be(),xt.insert=Ce().bind(null,"head"),xt.domAPI=ae(),xt.insertStyleElement=He(),$()(Ft.Z,xt),Ft.Z&&Ft.Z.locals&&Ft.Z.locals;var At=function(o){var g=o.onChange,R=o.value,q=o.choices,de=o.name;return(0,n.jsx)("div",{className:"RadioGroup",children:q.map(function(ne){return(0,n.jsxs)("div",{className:(0,le.Z)("RadioGroup__choice",{active:ne.value===R}),children:[(0,n.jsx)("input",{name:de,type:"radio",checked:ne.value===R,onChange:function(){return g(ne.value)}}),ne.label]},ne.label)})})},Tt=e(7802),nr={};nr.styleTagTransform=Je(),nr.setAttributes=Be(),nr.insert=Ce().bind(null,"head"),nr.domAPI=ae(),nr.insertStyleElement=He(),$()(Tt.Z,nr),Tt.Z&&Tt.Z.locals&&Tt.Z.locals;var yr=function(o){var g=o.title,R=o.name,q=o.checked,de=o.onChange,ne=o.disabled,B=ne!==void 0&≠return(0,n.jsx)("div",{className:(0,le.Z)("Switch",{toggled:q,disabled:B}),children:(0,n.jsx)("input",{name:R,id:R,title:g,type:"checkbox",checked:q,disabled:B,onChange:function(){return de(!q)},onKeyDown:function(X){X.key===" "&&de(!q)}})})},kr=e(9706),Tr={};Tr.styleTagTransform=Je(),Tr.setAttributes=Be(),Tr.insert=Ce().bind(null,"head"),Tr.domAPI=ae(),Tr.insertStyleElement=He(),$()(kr.Z,Tr),kr.Z&&kr.Z.locals&&kr.Z.locals;var Or=e(8960),Rt={};Rt.styleTagTransform=Je(),Rt.setAttributes=Be(),Rt.insert=Ce().bind(null,"head"),Rt.domAPI=ae(),Rt.insertStyleElement=He(),$()(Or.Z,Rt),Or.Z&&Or.Z.locals&&Or.Z.locals;var dt=(0,J.forwardRef)(function(o,g){var R=o.children,q=o.startIcon,de=o.onClick,ne=o.label,B=o.variant,X=B===void 0?"filled":B,ke=o.color,Ie=ke===void 0?"primary":ke,Pe=o.size,Fe=Pe===void 0?"medium":Pe,Ge=o.fullWidth,qe=o.className;return(0,n.jsxs)("button",{className:(0,le.Z)("ExcButton","ExcButton--color-".concat(Ie),"ExcButton--variant-".concat(X),"ExcButton--size-".concat(Fe),{"ExcButton--fullWidth":Ge},qe),onClick:de,type:"button","aria-label":ne,ref:g,children:[q&&(0,n.jsx)("div",{className:"ExcButton__icon","aria-hidden":!0,children:q}),X!=="icon"&&(R??ne)]})});function gt(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function wt(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?gt(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):gt(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}var Ut="filter"in document.createElement("canvas").getContext("2d"),ar=function(){return(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{children:(0,A.t)("canvasError.cannotShowPreview")}),(0,n.jsx)("p",{children:(0,n.jsx)("span",{children:(0,A.t)("canvasError.canvasTooBig")})}),(0,n.jsxs)("em",{children:["(",(0,A.t)("canvasError.canvasTooBigTip"),")"]})]})},ir=function(o){var g=o.appStateSnapshot,R=o.elementsSnapshot,q=o.files,de=o.actionManager,ne=o.onExportImage,B=(0,se.N)(R,g),X=Za(),ke=(0,J.useState)(g.name),Ie=(0,w.Z)(ke,2),Pe=Ie[0],Fe=Ie[1],Ge=(0,J.useState)(B),qe=(0,w.Z)(Ge,2),it=qe[0],st=qe[1],kt=(0,J.useState)(g.exportBackground),Lt=(0,w.Z)(kt,2),bt=Lt[0],vt=Lt[1],jt=(0,J.useState)(g.exportWithDarkMode),Nt=(0,w.Z)(jt,2),Vt=Nt[0],Zt=Nt[1],Ht=(0,J.useState)(g.exportEmbedScene),or=(0,w.Z)(Ht,2),Er=or[0],Zr=or[1],Kr=(0,J.useState)(g.exportScale),tn=(0,w.Z)(Kr,2),nn=tn[0],Ur=tn[1],Gr=(0,J.useRef)(null),Xr=(0,J.useState)(null),Yr=(0,w.Z)(Xr,2),cn=Yr[0],gn=Yr[1],hn=(0,F.HD)(R,g,it),xn=hn.exportedElements,sn=hn.exportingFrame;return(0,J.useEffect)(function(){var on=Gr.current;if(on){var Sn=on.offsetWidth,Nn=on.offsetHeight;Sn&&(0,mr.NL)({elements:xn,appState:wt(wt({},g),{},{name:Pe,exportBackground:bt,exportWithDarkMode:Vt,exportScale:nn,exportEmbedScene:Er}),files:q,exportPadding:r.qy,maxWidthOrHeight:Math.max(Sn,Nn),exportingFrame:sn}).then(function(Bn){return gn(null),(0,tr._c)(Bn).then(function(){on.replaceChildren(Bn)})}).catch(function(Bn){console.error(Bn),gn(Bn)})}},[g,q,xn,sn,Pe,bt,Vt,nn,Er]),(0,n.jsxs)("div",{className:"ImageExportModal",children:[(0,n.jsx)("h3",{children:(0,A.t)("imageExportDialog.header")}),(0,n.jsxs)("div",{className:"ImageExportModal__preview",children:[(0,n.jsx)("div",{className:"ImageExportModal__preview__canvas",ref:Gr,children:cn&&(0,n.jsx)(ar,{})}),(0,n.jsx)("div",{className:"ImageExportModal__preview__filename",children:!cr.kr&&(0,n.jsx)("input",{type:"text",className:"TextInput",value:Pe,style:{width:"30ch"},disabled:X.name!==void 0||g.viewModeEnabled,onChange:function(on){Fe(on.target.value),de.executeAction(zt.zX,"ui",on.target.value)}})})]}),(0,n.jsxs)("div",{className:"ImageExportModal__settings",children:[(0,n.jsx)("h3",{children:(0,A.t)("imageExportDialog.header")}),B&&(0,n.jsx)(dr,{label:(0,A.t)("imageExportDialog.label.onlySelected"),name:"exportOnlySelected",children:(0,n.jsx)(yr,{name:"exportOnlySelected",checked:it,onChange:function(on){st(on)}})}),(0,n.jsx)(dr,{label:(0,A.t)("imageExportDialog.label.withBackground"),name:"exportBackgroundSwitch",children:(0,n.jsx)(yr,{name:"exportBackgroundSwitch",checked:bt,onChange:function(on){vt(on),de.executeAction(zt.XA,"ui",on)}})}),Ut&&(0,n.jsx)(dr,{label:(0,A.t)("imageExportDialog.label.darkMode"),name:"exportDarkModeSwitch",children:(0,n.jsx)(yr,{name:"exportDarkModeSwitch",checked:Vt,onChange:function(on){Zt(on),de.executeAction(zt.bJ,"ui",on)}})}),(0,n.jsx)(dr,{label:(0,A.t)("imageExportDialog.label.embedScene"),tooltip:(0,A.t)("imageExportDialog.tooltip.embedScene"),name:"exportEmbedSwitch",children:(0,n.jsx)(yr,{name:"exportEmbedSwitch",checked:Er,onChange:function(on){Zr(on),de.executeAction(zt.Du,"ui",on)}})}),(0,n.jsx)(dr,{label:(0,A.t)("imageExportDialog.label.scale"),name:"exportScale",children:(0,n.jsx)(At,{name:"exportScale",value:nn,onChange:function(on){Ur(on),de.executeAction(zt.sK,"ui",on)},choices:r.ZB.map(function(on){return{value:on,label:"".concat(on,"×")}})})}),(0,n.jsxs)("div",{className:"ImageExportModal__settings__buttons",children:[(0,n.jsx)(dt,{className:"ImageExportModal__settings__buttons__button",label:(0,A.t)("imageExportDialog.title.exportToPng"),onClick:function(){return ne(r.I_.png,xn,{exportingFrame:sn})},startIcon:H.aL,children:(0,A.t)("imageExportDialog.button.exportToPng")}),(0,n.jsx)(dt,{className:"ImageExportModal__settings__buttons__button",label:(0,A.t)("imageExportDialog.title.exportToSvg"),onClick:function(){return ne(r.I_.svg,xn,{exportingFrame:sn})},startIcon:H.aL,children:(0,A.t)("imageExportDialog.button.exportToSvg")}),(D.vt||r.vU)&&(0,n.jsx)(dt,{className:"ImageExportModal__settings__buttons__button",label:(0,A.t)("imageExportDialog.title.copyPngToClipboard"),onClick:function(){return ne(r.I_.clipboard,xn,{exportingFrame:sn})},startIcon:H.UI,children:(0,A.t)("imageExportDialog.button.copyPngToClipboard")})]})]})]})},dr=function(o){var g=o.label,R=o.children,q=o.tooltip,de=o.name;return(0,n.jsxs)("div",{className:"ImageExportModal__settings__setting",title:g,children:[(0,n.jsxs)("label",{htmlFor:de,className:"ImageExportModal__settings__setting__label",children:[g,q&&(0,n.jsx)(at.u,{label:q,long:!0,children:H.mv})]}),(0,n.jsx)("div",{className:"ImageExportModal__settings__setting__content",children:R})]})},br=function(o){var g=o.elements,R=o.appState,q=o.files,de=o.actionManager,ne=o.onExportImage,B=o.onCloseRequest,X=(0,J.useState)(function(){return{appStateSnapshot:(0,d.xU)(R),elementsSnapshot:(0,d.xU)(g)}}),ke=(0,w.Z)(X,1)[0],Ie=ke.appStateSnapshot,Pe=ke.elementsSnapshot;return(0,n.jsx)(Ct.V,{onCloseRequest:B,size:"wide",title:!1,children:(0,n.jsx)(ir,{elementsSnapshot:Pe,appStateSnapshot:Ie,files:q,actionManager:de,onExportImage:ne})})},hr=e(3195),Ir={};Ir.styleTagTransform=Je(),Ir.setAttributes=Be(),Ir.insert=Ce().bind(null,"head"),Ir.domAPI=ae(),Ir.insertStyleElement=He(),$()(hr.Z,Ir),hr.Z&&hr.Z.locals&&hr.Z.locals;var wr=function(o){var g=o.children,R=o.side,q=o.className;return(0,n.jsx)("div",{className:(0,le.Z)("FixedSideContainer","FixedSideContainer_side_".concat(R),q),children:g})},sr=e(1587),fr={};fr.styleTagTransform=Je(),fr.setAttributes=Be(),fr.insert=Ce().bind(null,"head"),fr.domAPI=ae(),fr.insertStyleElement=He(),$()(sr.Z,fr),sr.Z&&sr.Z.locals&&sr.Z.locals;var pr=function(o){var g=function(R){var q=R.appState,de=R.isMobile,ne=R.device,B=R.app,X=q.activeTool,ke=q.isResizing,Ie=q.isRotating,Pe=q.lastPointerDownWith,Fe=q.multiElement!==null;if(q.openSidebar&&!ne.editor.canFitSidebar)return null;if((0,E.EN)(q))return(0,A.t)("hints.eraserRevert");if(X.type==="arrow"||X.type==="line")return Fe?(0,A.t)("hints.linearElementMulti"):(0,A.t)("hints.linearElement");if(X.type==="freedraw")return(0,A.t)("hints.freeDraw");if(X.type==="text")return(0,A.t)("hints.text");if(X.type==="embeddable")return(0,A.t)("hints.embeddable");if(q.activeTool.type==="image"&&q.pendingImageElementId)return(0,A.t)("hints.placeImage");var Ge=B.scene.getSelectedElements(q);if(ke&&Pe==="mouse"&&Ge.length===1){var qe=Ge[0];return(0,V.bt)(qe)&&qe.points.length===2?(0,A.t)("hints.lockAngle"):(0,V.pC)(qe)?(0,A.t)("hints.resizeImage"):(0,A.t)("hints.resize")}if(Ie&&Pe==="mouse")return(0,A.t)("hints.rotate");if(Ge.length===1&&(0,V.iB)(Ge[0]))return(0,A.t)("hints.text_selected");if(q.editingElement&&(0,V.iB)(q.editingElement))return(0,A.t)("hints.text_editing");if(X.type==="selection"){var it;if(((it=q.draggingElement)===null||it===void 0?void 0:it.type)==="selection"&&!Ge.length&&!q.editingElement&&!q.editingLinearElement)return(0,A.t)("hints.deepBoxSelect");if(q.gridSize&&q.draggingElement)return(0,A.t)("hints.disableSnapping");if(!Ge.length&&!de)return(0,A.t)("hints.canvasPanning");if(Ge.length===1){if((0,V.bt)(Ge[0]))return q.editingLinearElement?q.editingLinearElement.selectedPointsIndices?(0,A.t)("hints.lineEditor_pointSelected"):(0,A.t)("hints.lineEditor_nothingSelected"):(0,A.t)("hints.lineEditor_info");if(!q.draggingElement&&(0,V.mG)(Ge[0]))return(0,A.t)("hints.bindTextToElement")}}return null}({appState:o.appState,isMobile:o.isMobile,device:o.device,app:o.app});return g?(g=(0,d.uY)(g),(0,n.jsx)("div",{className:"HintViewer",children:(0,n.jsx)("span",{children:g})})):null},jr=e(1404),Pr=e(7165),Mr=(e(3041),{CHECKED:H.FC,UNCHECKED:H._C}),$r=function(o){return(0,n.jsxs)("label",{className:(0,le.Z)("ToolIcon ToolIcon__lock","ToolIcon_size_".concat("medium"),{"is-mobile":o.isMobile}),title:"".concat(o.title," — Q"),children:[(0,n.jsx)("input",{className:"ToolIcon_type_checkbox",type:"checkbox",name:o.name,onChange:o.onChange,checked:o.checked,"aria-label":o.title,"data-testid":"toolbar-lock"}),(0,n.jsx)("div",{className:"ToolIcon__icon",children:o.checked?Mr.CHECKED:Mr.UNCHECKED})]})},fn=["heading","children"];function Mn(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function Zn(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?Mn(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):Mn(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}var zn=function(o){var g=o.heading,R=o.children,q=(0,Qe.Z)(o,fn),de=Ka().id,ne=(0,n.jsx)("h2",{className:"visually-hidden",id:"".concat(de,"-").concat(g,"-title"),children:(0,A.t)("headings.".concat(g))});return(0,n.jsx)("section",Zn(Zn({},q),{},{"aria-labelledby":"".concat(de,"-").concat(g,"-title"),children:typeof R=="function"?R(ne):(0,n.jsxs)(n.Fragment,{children:[ne,R]})}))},Cn=e(4726),vn=function(o){return o.penDetected?(0,n.jsxs)("label",{className:(0,le.Z)("ToolIcon ToolIcon__penMode","ToolIcon_size_".concat("medium"),{"is-mobile":o.isMobile}),title:"".concat(o.title),children:[(0,n.jsx)("input",{className:"ToolIcon_type_checkbox",type:"checkbox",name:o.name,onChange:o.onChange,checked:o.checked,"aria-label":o.title}),(0,n.jsx)("div",{className:"ToolIcon__icon",children:H.tb})]}):null},Ln=e(4949),We=e(2681),pe={};pe.styleTagTransform=Je(),pe.setAttributes=Be(),pe.insert=Ce().bind(null,"head"),pe.domAPI=ae(),pe.insertStyleElement=He(),$()(We.Z,pe),We.Z&&We.Z.locals&&We.Z.locals;var _e=function(o){var g,R=(0,Ln.KP)(o.elements),q=(0,se.Zs)(o.elements,o.appState),de=(0,Ln.KP)(q);return(0,n.jsx)("div",{className:"Stats",children:(0,n.jsxs)(jr.W,{padding:2,children:[(0,n.jsx)("div",{className:"close",onClick:o.onClose,children:H.Tw}),(0,n.jsx)("h3",{children:(0,A.t)("stats.title")}),(0,n.jsx)("table",{children:(0,n.jsxs)("tbody",{children:[(0,n.jsx)("tr",{children:(0,n.jsx)("th",{colSpan:2,children:(0,A.t)("stats.scene")})}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,A.t)("stats.elements")}),(0,n.jsx)("td",{children:o.elements.length})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,A.t)("stats.width")}),(0,n.jsx)("td",{children:Math.round(R[2])-Math.round(R[0])})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,A.t)("stats.height")}),(0,n.jsx)("td",{children:Math.round(R[3])-Math.round(R[1])})]}),q.length===1&&(0,n.jsx)("tr",{children:(0,n.jsx)("th",{colSpan:2,children:(0,A.t)("stats.element")})}),q.length>1&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("tr",{children:(0,n.jsx)("th",{colSpan:2,children:(0,A.t)("stats.selected")})}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,A.t)("stats.elements")}),(0,n.jsx)("td",{children:q.length})]})]}),q.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"x"}),(0,n.jsx)("td",{children:Math.round(de[0])})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"y"}),(0,n.jsx)("td",{children:Math.round(de[1])})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,A.t)("stats.width")}),(0,n.jsx)("td",{children:Math.round(de[2]-de[0])})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,A.t)("stats.height")}),(0,n.jsx)("td",{children:Math.round(de[3]-de[1])})]})]}),q.length===1&&(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,A.t)("stats.angle")}),(0,n.jsx)("td",{children:"".concat(Math.round(180*q[0].angle/Math.PI),"°")})]}),(g=o.renderCustomStats)===null||g===void 0?void 0:g.call(o,o.elements,o.appState)]})})]})})},De=function(o){return(0,n.jsx)(M.V,{className:(0,le.Z)("Shape",{fillable:!1}),type:"radio",icon:H.Hk,name:"editor-current-shape",checked:o.checked,title:"".concat(o.title," — H"),keyBindingLabel:o.isMobile?void 0:b.tW.H.toLocaleUpperCase(),"aria-label":"".concat(o.title," — H"),"aria-keyshortcuts":b.tW.H,"data-testid":"toolbar-hand",onChange:function(){var g;return(g=o.onChange)===null||g===void 0?void 0:g.call(o)}})},Xe=e(4572);function St(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}var Gt=function(o){var g=o.appState,R=o.elements,q=o.actionManager,de=o.setAppState,ne=o.onLockToggle,B=o.onHandToolToggle,X=o.onPenModeToggle,ke=o.renderTopRightUI,Ie=o.renderCustomStats,Pe=o.renderSidebars,Fe=o.device,Ge=o.renderWelcomeScreen,qe=o.UIOptions,it=o.app,st=(0,Xe.R6)(),kt=st.WelcomeScreenCenterTunnel,Lt=st.MainMenuTunnel,bt=st.DefaultSidebarTriggerTunnel;return(0,n.jsxs)(n.Fragment,{children:[Pe(),!g.viewModeEnabled&&(0,n.jsxs)(wr,{side:"top",className:"App-top-bar",children:[Ge&&(0,n.jsx)(kt.Out,{}),(0,n.jsx)(zn,{heading:"shapes",children:function(vt){return(0,n.jsx)(rt.Z.Col,{gap:4,align:"center",children:(0,n.jsxs)(rt.Z.Row,{gap:1,className:"App-toolbar-container",children:[(0,n.jsxs)(jr.W,{padding:1,className:"App-toolbar App-toolbar--mobile",children:[vt,(0,n.jsx)(rt.Z.Row,{gap:1,children:(0,n.jsx)(ot,{appState:g,activeTool:g.activeTool,UIOptions:qe,app:it})})]}),ke&&ke(!0,g),(0,n.jsxs)("div",{className:"mobile-misc-tools-container",children:[!g.viewModeEnabled&&(0,n.jsx)(bt.Out,{}),(0,n.jsx)(vn,{checked:g.penMode,onChange:function(){return X(null)},title:(0,A.t)("toolBar.penMode"),isMobile:!0,penDetected:g.penDetected}),(0,n.jsx)($r,{checked:g.activeTool.locked,onChange:ne,title:(0,A.t)("toolBar.lock"),isMobile:!0}),(0,n.jsx)(De,{checked:(0,E.l$)(g),onChange:function(){return B()},title:(0,A.t)("toolBar.hand"),isMobile:!0})]})]})})}}),(0,n.jsx)(pr,{appState:g,isMobile:!0,device:Fe,app:it})]}),!g.openMenu&&g.showStats&&(0,n.jsx)(_e,{appState:g,setAppState:de,elements:R,onClose:function(){q.executeAction(U.u0)},renderCustomStats:Ie}),(0,n.jsx)("div",{className:"App-bottom-bar",style:{marginBottom:Cn.nn+2*Cn.WM,marginLeft:Cn.nn+2*Cn.WM,marginRight:Cn.nn+2*Cn.WM},children:(0,n.jsxs)(jr.W,{padding:0,children:[g.openMenu==="shape"&&!g.viewModeEnabled&&(0,re.RT)(g,R)?(0,n.jsx)(zn,{className:"App-mobile-menu",heading:"selectedShapeActions",children:(0,n.jsx)(lt,{appState:g,elements:R,renderAction:q.renderAction})}):null,(0,n.jsxs)("footer",{className:"App-toolbar",children:[g.viewModeEnabled?(0,n.jsx)("div",{className:"App-toolbar-content",children:(0,n.jsx)(Lt.Out,{})}):(0,n.jsxs)("div",{className:"App-toolbar-content",children:[(0,n.jsx)(Lt.Out,{}),q.renderAction("toggleEditMenu"),q.renderAction("undo"),q.renderAction("redo"),q.renderAction(g.multiElement?"finalize":"duplicateSelection"),q.renderAction("deleteSelectedElements")]}),g.scrolledOutside&&!g.openMenu&&!g.openSidebar&&(0,n.jsx)("button",{className:"scroll-back-to-content",onClick:function(){de(function(vt){return function(jt){for(var Nt=1;Nt<arguments.length;Nt++){var Vt=arguments[Nt]!=null?arguments[Nt]:{};Nt%2?St(Object(Vt),!0).forEach(function(Zt){(0,W.Z)(jt,Zt,Vt[Zt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jt,Object.getOwnPropertyDescriptors(Vt)):St(Object(Vt)).forEach(function(Zt){Object.defineProperty(jt,Zt,Object.getOwnPropertyDescriptor(Vt,Zt))})}return jt}({},(0,se.W)(R,vt))})},children:(0,A.t)("buttons.scrollBackToContent")})]})]})})]})},Xt=e(5284),It=e(901),_t=e(3668),Jt=e(8461),ur={};ur.styleTagTransform=Je(),ur.setAttributes=Be(),ur.insert=Ce().bind(null,"head"),ur.domAPI=ae(),ur.insertStyleElement=He(),$()(Jt.Z,ur),Jt.Z&&Jt.Z.locals&&Jt.Z.locals;var _r=function(o){var g=(0,J.useRef)(null),R=(0,J.useState)(null),q=(0,w.Z)(R,2),de=q[0],ne=q[1];return(0,J.useLayoutEffect)(function(){if(o.spreadsheet){var B,X=(0,It.ps)(o.chartType,o.spreadsheet,0,0);ne(X);var ke=g.current;return(0,v.Z)(S().mark(function Ie(){var Pe;return S().wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Fe.next=2,(0,_t.$D)(X,{exportBackground:!1,viewBackgroundColor:Xt.white},null);case 2:B=Fe.sent,(Pe=B.querySelector(".style-fonts"))===null||Pe===void 0||Pe.remove(),ke.replaceChildren(),ke.appendChild(B),o.selected&&ke.parentNode.focus();case 7:case"end":return Fe.stop()}},Ie)}))(),function(){ke.replaceChildren()}}},[o.spreadsheet,o.chartType,o.selected]),(0,n.jsx)("button",{className:"ChartPreview",onClick:function(){de&&o.onClick(o.chartType,de)},children:(0,n.jsx)("div",{ref:g})})},Cr=function(o){var g=o.setAppState,R=o.appState,q=o.onClose,de=Ua().onInsertElements,ne=ce().useCallback(function(){q&&q()},[q]),B=function(X,ke){de(ke),(0,u.L)("magic","chart",X),g({currentChartType:X,pasteDialog:{shown:!1,data:null}})};return(0,n.jsx)(Ct.V,{size:"small",onCloseRequest:ne,title:(0,A.t)("labels.pasteCharts"),className:"PasteChartDialog",autofocus:!1,children:(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)(_r,{chartType:"bar",spreadsheet:R.pasteDialog.data,selected:R.currentChartType==="bar",onClick:B}),(0,n.jsx)(_r,{chartType:"line",spreadsheet:R.pasteDialog.data,selected:R.currentChartType==="line",onClick:B})]})})},Rr=e(2978),Wr={};Wr.styleTagTransform=Je(),Wr.setAttributes=Be(),Wr.insert=Ce().bind(null,"head"),Wr.domAPI=ae(),Wr.insertStyleElement=He(),$()(Rr.Z,Wr),Rr.Z&&Rr.Z.locals&&Rr.Z.locals;function Lr(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}var zr=S().mark(qr);function rn(o,g){var R=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!R){if(Array.isArray(o)||(R=function(ke,Ie){if(ke){if(typeof ke=="string")return mn(ke,Ie);var Pe=Object.prototype.toString.call(ke).slice(8,-1);if(Pe==="Object"&&ke.constructor&&(Pe=ke.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ke);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return mn(ke,Ie)}}(o))||g&&o&&typeof o.length=="number"){R&&(o=R);var q=0,de=function(){};return{s:de,n:function(){return q>=o.length?{done:!0}:{done:!1,value:o[q++]}},e:function(ke){throw ke},f:de}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne,B=!0,X=!1;return{s:function(){R=R.call(o)},n:function(){var ke=R.next();return B=ke.done,ke},e:function(ke){X=!0,ne=ke},f:function(){try{B||R.return==null||R.return()}finally{if(X)throw ne}}}}function mn(o,g){(g==null||g>o.length)&&(g=o.length);for(var R=0,q=new Array(g);R<g;R++)q[R]=o[R];return q}var Hn=function(){return(0,n.jsxs)("div",{className:"HelpDialog__header",children:[(0,n.jsxs)("a",{className:"HelpDialog__btn",href:"https://docs.excalidraw.com",target:"_blank",rel:"noopener noreferrer",children:[(0,A.t)("helpDialog.documentation"),(0,n.jsx)("div",{className:"HelpDialog__link-icon",children:H.h0})]}),(0,n.jsxs)("a",{className:"HelpDialog__btn",href:"https://blog.excalidraw.com",target:"_blank",rel:"noopener noreferrer",children:[(0,A.t)("helpDialog.blog"),(0,n.jsx)("div",{className:"HelpDialog__link-icon",children:H.h0})]}),(0,n.jsxs)("a",{className:"HelpDialog__btn",href:"https://github.com/excalidraw/excalidraw/issues",target:"_blank",rel:"noopener noreferrer",children:[(0,A.t)("helpDialog.github"),(0,n.jsx)("div",{className:"HelpDialog__link-icon",children:H.h0})]})]})},qn=function(o){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h3",{children:o.title}),(0,n.jsx)("div",{className:"HelpDialog__islands-container",children:o.children})]})},fo=function(o){return(0,n.jsxs)("div",{className:"HelpDialog__island ".concat(o.className),children:[(0,n.jsx)("h4",{className:"HelpDialog__island-title",children:o.caption}),(0,n.jsx)("div",{className:"HelpDialog__island-content",children:o.children})]})};function qr(o,g){var R,q,de,ne;return S().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:R=!0,q=rn(o),B.prev=2,q.s();case 4:if((de=q.n()).done){B.next=14;break}if(ne=de.value,R){B.next=9;break}return B.next=9,g;case 9:return R=!1,B.next=12,ne;case 12:B.next=4;break;case 14:B.next=19;break;case 16:B.prev=16,B.t0=B.catch(2),q.e(B.t0);case 19:return B.prev=19,q.f(),B.finish(19);case 22:case"end":return B.stop()}},zr,null,[[2,16,19,22]])}var Br=function(o){var g=o.label,R=o.shortcuts,q=o.isOr,de=q===void 0||q,ne=R.map(function(B){return(B.endsWith("++")?[].concat((0,m.Z)(B.slice(0,-2).split("+")),["+"]):B.split("+")).map(function(X){return(0,n.jsx)(un,{children:(ke=X,ke.replace(/\b[a-z]\b/,function(Ie){return Ie.toUpperCase()}))},X);var ke})});return(0,n.jsxs)("div",{className:"HelpDialog__shortcut",children:[(0,n.jsx)("div",{children:g}),(0,n.jsx)("div",{className:"HelpDialog__key-container",children:(0,m.Z)(qr(ne,de?(0,A.t)("helpDialog.or"):null))})]})},un=function(o){return(0,n.jsx)("kbd",function(g){for(var R=1;R<arguments.length;R++){var q=arguments[R]!=null?arguments[R]:{};R%2?Lr(Object(q),!0).forEach(function(de){(0,W.Z)(g,de,q[de])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(q)):Lr(Object(q)).forEach(function(de){Object.defineProperty(g,de,Object.getOwnPropertyDescriptor(q,de))})}return g}({className:"HelpDialog__key"},o))},wn=function(o){var g=o.onClose,R=ce().useCallback(function(){g&&g()},[g]);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(Ct.V,{onCloseRequest:R,title:(0,A.t)("helpDialog.title"),className:"HelpDialog",children:[(0,n.jsx)(Hn,{}),(0,n.jsxs)(qn,{title:(0,A.t)("helpDialog.shortcuts"),children:[(0,n.jsxs)(fo,{className:"HelpDialog__island--tools",caption:(0,A.t)("helpDialog.tools"),children:[(0,n.jsx)(Br,{label:(0,A.t)("toolBar.hand"),shortcuts:[b.tW.H]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.selection"),shortcuts:[b.tW.V,b.tW[1]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.rectangle"),shortcuts:[b.tW.R,b.tW[2]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.diamond"),shortcuts:[b.tW.D,b.tW[3]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.ellipse"),shortcuts:[b.tW.O,b.tW[4]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.arrow"),shortcuts:[b.tW.A,b.tW[5]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.line"),shortcuts:[b.tW.L,b.tW[6]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.freedraw"),shortcuts:[b.tW.P,b.tW[7]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.text"),shortcuts:[b.tW.T,b.tW[8]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.image"),shortcuts:[b.tW[9]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.eraser"),shortcuts:[b.tW.E,b.tW[0]]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.frame"),shortcuts:[b.tW.F]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.laser"),shortcuts:[b.tW.K]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.eyeDropper"),shortcuts:[b.tW.I,"Shift+S","Shift+G"]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.editLineArrowPoints"),shortcuts:[(0,d.uY)("CtrlOrCmd+Enter")]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.editText"),shortcuts:[(0,d.uY)("Enter")]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.textNewLine"),shortcuts:[(0,d.uY)("Enter"),(0,d.uY)("Shift+Enter")]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.textFinish"),shortcuts:[(0,d.uY)("Esc"),(0,d.uY)("CtrlOrCmd+Enter")]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.curvedArrow"),shortcuts:["A",(0,A.t)("helpDialog.click"),(0,A.t)("helpDialog.click"),(0,A.t)("helpDialog.click")],isOr:!1}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.curvedLine"),shortcuts:["L",(0,A.t)("helpDialog.click"),(0,A.t)("helpDialog.click"),(0,A.t)("helpDialog.click")],isOr:!1}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.lock"),shortcuts:[b.tW.Q]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.preventBinding"),shortcuts:[(0,d.uY)("CtrlOrCmd")]}),(0,n.jsx)(Br,{label:(0,A.t)("toolBar.link"),shortcuts:[(0,d.uY)("CtrlOrCmd+K")]})]}),(0,n.jsxs)(fo,{className:"HelpDialog__island--view",caption:(0,A.t)("helpDialog.view"),children:[(0,n.jsx)(Br,{label:(0,A.t)("buttons.zoomIn"),shortcuts:[(0,d.uY)("CtrlOrCmd++")]}),(0,n.jsx)(Br,{label:(0,A.t)("buttons.zoomOut"),shortcuts:[(0,d.uY)("CtrlOrCmd+-")]}),(0,n.jsx)(Br,{label:(0,A.t)("buttons.resetZoom"),shortcuts:[(0,d.uY)("CtrlOrCmd+0")]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.zoomToFit"),shortcuts:["Shift+1"]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.zoomToSelection"),shortcuts:["Shift+2"]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.movePageUpDown"),shortcuts:["PgUp/PgDn"]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.movePageLeftRight"),shortcuts:["Shift+PgUp/PgDn"]}),(0,n.jsx)(Br,{label:(0,A.t)("buttons.zenMode"),shortcuts:[(0,d.uY)("Alt+Z")]}),(0,n.jsx)(Br,{label:(0,A.t)("buttons.objectsSnapMode"),shortcuts:[(0,d.uY)("Alt+S")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.showGrid"),shortcuts:[(0,d.uY)("CtrlOrCmd+'")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.viewMode"),shortcuts:[(0,d.uY)("Alt+R")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.toggleTheme"),shortcuts:[(0,d.uY)("Alt+Shift+D")]}),(0,n.jsx)(Br,{label:(0,A.t)("stats.title"),shortcuts:[(0,d.uY)("Alt+/")]})]}),(0,n.jsxs)(fo,{className:"HelpDialog__island--editor",caption:(0,A.t)("helpDialog.editor"),children:[(0,n.jsx)(Br,{label:(0,A.t)("labels.moveCanvas"),shortcuts:[(0,d.uY)("Space+".concat((0,A.t)("helpDialog.drag"))),(0,d.uY)("Wheel+".concat((0,A.t)("helpDialog.drag")))],isOr:!0}),(0,n.jsx)(Br,{label:(0,A.t)("buttons.clearReset"),shortcuts:[(0,d.uY)("CtrlOrCmd+Delete")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.delete"),shortcuts:[(0,d.uY)("Delete")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.cut"),shortcuts:[(0,d.uY)("CtrlOrCmd+X")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.copy"),shortcuts:[(0,d.uY)("CtrlOrCmd+C")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.paste"),shortcuts:[(0,d.uY)("CtrlOrCmd+V")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.pasteAsPlaintext"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+V")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.selectAll"),shortcuts:[(0,d.uY)("CtrlOrCmd+A")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.multiSelect"),shortcuts:[(0,d.uY)("Shift+".concat((0,A.t)("helpDialog.click")))]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.deepSelect"),shortcuts:[(0,d.uY)("CtrlOrCmd+".concat((0,A.t)("helpDialog.click")))]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.deepBoxSelect"),shortcuts:[(0,d.uY)("CtrlOrCmd+".concat((0,A.t)("helpDialog.drag")))]}),(D.vt||r.vU)&&(0,n.jsx)(Br,{label:(0,A.t)("labels.copyAsPng"),shortcuts:[(0,d.uY)("Shift+Alt+C")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.copyStyles"),shortcuts:[(0,d.uY)("CtrlOrCmd+Alt+C")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.pasteStyles"),shortcuts:[(0,d.uY)("CtrlOrCmd+Alt+V")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.sendToBack"),shortcuts:[r.Um?(0,d.uY)("CtrlOrCmd+Alt+["):(0,d.uY)("CtrlOrCmd+Shift+[")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.bringToFront"),shortcuts:[r.Um?(0,d.uY)("CtrlOrCmd+Alt+]"):(0,d.uY)("CtrlOrCmd+Shift+]")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.sendBackward"),shortcuts:[(0,d.uY)("CtrlOrCmd+[")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.bringForward"),shortcuts:[(0,d.uY)("CtrlOrCmd+]")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.alignTop"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+Up")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.alignBottom"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+Down")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.alignLeft"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+Left")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.alignRight"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+Right")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.duplicateSelection"),shortcuts:[(0,d.uY)("CtrlOrCmd+D"),(0,d.uY)("Alt+".concat((0,A.t)("helpDialog.drag")))]}),(0,n.jsx)(Br,{label:(0,A.t)("helpDialog.toggleElementLock"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+L")]}),(0,n.jsx)(Br,{label:(0,A.t)("buttons.undo"),shortcuts:[(0,d.uY)("CtrlOrCmd+Z")]}),(0,n.jsx)(Br,{label:(0,A.t)("buttons.redo"),shortcuts:r.ED?[(0,d.uY)("CtrlOrCmd+Y"),(0,d.uY)("CtrlOrCmd+Shift+Z")]:[(0,d.uY)("CtrlOrCmd+Shift+Z")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.group"),shortcuts:[(0,d.uY)("CtrlOrCmd+G")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.ungroup"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+G")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.flipHorizontal"),shortcuts:[(0,d.uY)("Shift+H")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.flipVertical"),shortcuts:[(0,d.uY)("Shift+V")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.showStroke"),shortcuts:[(0,d.uY)("S")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.showBackground"),shortcuts:[(0,d.uY)("G")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.decreaseFontSize"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+<")]}),(0,n.jsx)(Br,{label:(0,A.t)("labels.increaseFontSize"),shortcuts:[(0,d.uY)("CtrlOrCmd+Shift+>")]})]})]})]})})},Wn=e(4704),io=e(4241),go={};go.styleTagTransform=Je(),go.setAttributes=Be(),go.insert=Ce().bind(null,"head"),go.domAPI=ae(),go.insertStyleElement=He(),$()(io.Z,go),io.Z&&io.Z.locals&&io.Z.locals;var vo=function(o){var g,R=o.children,q=o.color;return(0,n.jsx)("div",{className:"Card",style:(g={},(0,W.Z)(g,"--card-color",q==="primary"?"var(--color-primary)":Xt[q][7]),(0,W.Z)(g,"--card-color-darker",q==="primary"?"var(--color-primary-darker)":Xt[q][8]),(0,W.Z)(g,"--card-color-darkest",q==="primary"?"var(--color-primary-darkest)":Xt[q][9]),g),children:R})},ho=e(7955),Mo={};Mo.styleTagTransform=Je(),Mo.setAttributes=Be(),Mo.insert=Ce().bind(null,"head"),Mo.domAPI=ae(),Mo.insertStyleElement=He(),$()(ho.Z,Mo),ho.Z&&ho.Z.locals&&ho.Z.locals;var yi=function(o){var g=o.elements,R=o.appState,q=o.setAppState,de=o.files,ne=o.actionManager,B=o.exportOpts,X=o.canvas,ke=o.onCloseRequest,Ie=B.onExportToBackend;return(0,n.jsx)("div",{className:"ExportDialog ExportDialog--json",children:(0,n.jsxs)("div",{className:"ExportDialog-cards",children:[B.saveFileToDisk&&(0,n.jsxs)(vo,{color:"lime",children:[(0,n.jsx)("div",{className:"Card-icon",children:H.TP}),(0,n.jsx)("h2",{children:(0,A.t)("exportDialog.disk_title")}),(0,n.jsxs)("div",{className:"Card-details",children:[(0,A.t)("exportDialog.disk_details"),!cr.kr&&ne.renderAction("changeProjectName")]}),(0,n.jsx)(M.V,{className:"Card-button",type:"button",title:(0,A.t)("exportDialog.disk_button"),"aria-label":(0,A.t)("exportDialog.disk_button"),showAriaLabel:!0,onClick:function(){ne.executeAction(zt.mM,"ui")}})]}),Ie&&(0,n.jsxs)(vo,{color:"pink",children:[(0,n.jsx)("div",{className:"Card-icon",children:H.xP}),(0,n.jsx)("h2",{children:(0,A.t)("exportDialog.link_title")}),(0,n.jsx)("div",{className:"Card-details",children:(0,A.t)("exportDialog.link_details")}),(0,n.jsx)(M.V,{className:"Card-button",type:"button",title:(0,A.t)("exportDialog.link_button"),"aria-label":(0,A.t)("exportDialog.link_button"),showAriaLabel:!0,onClick:(0,v.Z)(S().mark(function Pe(){return S().wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Fe.prev=0,(0,u.L)("export","link","ui (".concat((0,d.$h)(),")")),Fe.next=4,Ie(g,R,de,X);case 4:ke(),Fe.next=10;break;case 7:Fe.prev=7,Fe.t0=Fe.catch(0),q({errorMessage:Fe.t0.message});case 10:case"end":return Fe.stop()}},Pe,null,[[0,7]])}))})]}),B.renderCustomUI&&B.renderCustomUI(g,R,de,X)]})})},_i=function(o){var g=o.elements,R=o.appState,q=o.files,de=o.actionManager,ne=o.exportOpts,B=o.canvas,X=o.setAppState,ke=ce().useCallback(function(){X({openDialog:null})},[X]);return(0,n.jsx)(n.Fragment,{children:R.openDialog==="jsonExport"&&(0,n.jsx)(Ct.V,{onCloseRequest:ke,title:(0,A.t)("buttons.export"),children:(0,n.jsx)(yi,{elements:g,appState:R,setAppState:X,files:q,actionManager:de,onCloseRequest:ke,exportOpts:ne,canvas:B})})})},sa=e(7080),ua=function(o){return(0,n.jsx)("button",{className:"help-icon",onClick:o.onClick,type:"button",title:"".concat((0,A.t)("helpDialog.title")," — ?"),"aria-label":(0,A.t)("helpDialog.title"),children:H.by})},Vi=function(o){var g=o.appState,R=o.actionManager,q=o.showExitZenModeBtn,de=o.renderWelcomeScreen,ne=(0,Xe.R6)(),B=ne.FooterCenterTunnel,X=ne.WelcomeScreenHelpHintTunnel,ke=ka(),Ie=!g.viewModeEnabled&&g.multiElement&&ke.isTouchScreen;return(0,n.jsxs)("footer",{role:"contentinfo",className:"layer-ui__wrapper__footer App-menu App-menu_bottom",children:[(0,n.jsx)("div",{className:(0,le.Z)("layer-ui__wrapper__footer-left zen-mode-transition",{"layer-ui__wrapper__footer-left--transition-left":g.zenModeEnabled}),children:(0,n.jsx)(rt.Z.Col,{gap:2,children:(0,n.jsxs)(zn,{heading:"canvasActions",children:[(0,n.jsx)(mt,{renderAction:R.renderAction,zoom:g.zoom}),!g.viewModeEnabled&&(0,n.jsx)(pt,{renderAction:R.renderAction,className:(0,le.Z)("zen-mode-transition",{"layer-ui__wrapper__footer-left--transition-bottom":g.zenModeEnabled})}),Ie&&(0,n.jsx)(yt,{renderAction:R.renderAction,className:(0,le.Z)("zen-mode-transition",{"layer-ui__wrapper__footer-left--transition-left":g.zenModeEnabled})})]})})}),(0,n.jsx)(B.Out,{}),(0,n.jsx)("div",{className:(0,le.Z)("layer-ui__wrapper__footer-right zen-mode-transition",{"transition-right":g.zenModeEnabled}),children:(0,n.jsxs)("div",{style:{position:"relative"},children:[de&&(0,n.jsx)(X.Out,{}),(0,n.jsx)(ua,{onClick:function(){return R.executeAction(U.jY)}})]})}),(0,n.jsx)(ht,{actionManager:R,showExitZenModeBtn:q})]})},Xi=Vi;Vi.displayName="Footer";var Qo=e(5902),Uo=e(453),yo=e(3607),jo=e(7021),da=e(8973),$i=e(6922),ni=e(7827),No=function(o){var g=o.title,R=o.children,q=o.actionLabel,de=o.onClick;return(0,n.jsxs)("div",{className:"OverwriteConfirm__Actions__Action",children:[(0,n.jsx)("h4",{children:g}),(0,n.jsx)("div",{className:"OverwriteConfirm__Actions__Action__content",children:R}),(0,n.jsx)(dt,{variant:"outlined",color:"muted",label:q,size:"large",fullWidth:!0,onClick:de})]})},Ko=Object.assign(function(o){var g=o.children;return(0,n.jsx)("div",{className:"OverwriteConfirm__Actions",children:g})},{ExportToImage:function(){var o=(0,A.QT)().t,g=Ya(),R=Ga();return(0,n.jsx)(No,{title:o("overwriteConfirm.action.exportToImage.title"),actionLabel:o("overwriteConfirm.action.exportToImage.button"),onClick:function(){g.executeAction(zt.Du,"ui",!0),R({openDialog:"imageExport"})},children:o("overwriteConfirm.action.exportToImage.description")})},SaveToDisk:function(){var o=(0,A.QT)().t,g=Ya();return(0,n.jsx)(No,{title:o("overwriteConfirm.action.saveToDisk.title"),actionLabel:o("overwriteConfirm.action.saveToDisk.button"),onClick:function(){g.executeAction(U.mM,"ui")},children:o("overwriteConfirm.action.saveToDisk.description")})}}),Go=e(9439),ei={};ei.styleTagTransform=Je(),ei.setAttributes=Be(),ei.insert=Ce().bind(null,"head"),ei.domAPI=ae(),ei.insertStyleElement=He(),$()(Go.Z,ei),Go.Z&&Go.Z.locals&&Go.Z.locals;function si(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function Xo(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?si(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):si(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}var ui=Object.assign((0,$i.$)("OverwriteConfirmDialog",function(o){var g=o.children,R=(0,Xe.R6)().OverwriteConfirmDialogTunnel,q=(0,yo.KO)(ni.K,Uo.yE),de=(0,w.Z)(q,2),ne=de[0],B=de[1];return ne.active?(0,n.jsx)(R.In,{children:(0,n.jsx)(Ct.V,{onCloseRequest:function(){ne.onClose(),B(function(X){return Xo(Xo({},X),{},{active:!1})})},title:!1,size:916,children:(0,n.jsxs)("div",{className:"OverwriteConfirm",children:[(0,n.jsx)("h3",{children:ne.title}),(0,n.jsxs)("div",{className:"OverwriteConfirm__Description OverwriteConfirm__Description--color-".concat(ne.color),children:[(0,n.jsx)("div",{className:"OverwriteConfirm__Description__icon",children:H.UT}),(0,n.jsx)("div",{children:ne.description}),(0,n.jsx)("div",{className:"OverwriteConfirm__Description__spacer"}),(0,n.jsx)(dt,{color:ne.color,size:"large",label:ne.actionLabel,onClick:function(){ne.onConfirm(),B(function(X){return Xo(Xo({},X),{},{active:!1})})}})]}),(0,n.jsx)(Ko,{children:g})]})})}):null}),{Actions:Ko,Action:No}),Hi=e(100),Oi=e(1925),xi=e(8924),_o=e(1434),ko={};ko.styleTagTransform=Je(),ko.setAttributes=Be(),ko.insert=Ce().bind(null,"head"),ko.domAPI=ae(),ko.insertStyleElement=He(),$()(_o.Z,ko),_o.Z&&_o.Z.locals&&_o.Z.locals;var $o=e(9144),Po={};Po.styleTagTransform=Je(),Po.setAttributes=Be(),Po.insert=Ce().bind(null,"head"),Po.domAPI=ae(),Po.insertStyleElement=He(),$()($o.Z,Po),$o.Z&&$o.Z.locals&&$o.Z.locals;var oi=e(2921),fa=function(o){return(0,n.jsxs)("label",{className:(0,le.Z)("ToolIcon ToolIcon__LaserPointer","ToolIcon_size_".concat("small"),{"is-mobile":o.isMobile}),title:"".concat(o.title),children:[(0,n.jsx)("input",{className:"ToolIcon_type_checkbox",type:"checkbox",name:o.name,onChange:o.onChange,checked:o.checked,"aria-label":o.title,"data-testid":"toolbar-LaserPointer"}),(0,n.jsx)("div",{className:"ToolIcon__icon",children:H.d})]})},qi=["suggestedBindings","startBoundElement","cursorButton","scrollX","scrollY"],_a=["canvas","appState"],Wi=["canvas","appState"];function Ci(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function di(o,g){var R=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!R){if(Array.isArray(o)||(R=function(ke,Ie){if(ke){if(typeof ke=="string")return fi(ke,Ie);var Pe=Object.prototype.toString.call(ke).slice(8,-1);if(Pe==="Object"&&ke.constructor&&(Pe=ke.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ke);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return fi(ke,Ie)}}(o))||g&&o&&typeof o.length=="number"){R&&(o=R);var q=0,de=function(){};return{s:de,n:function(){return q>=o.length?{done:!0}:{done:!1,value:o[q++]}},e:function(ke){throw ke},f:de}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne,B=!0,X=!1;return{s:function(){R=R.call(o)},n:function(){var ke=R.next();return B=ke.done,ke},e:function(ke){X=!0,ne=ke},f:function(){try{B||R.return==null||R.return()}finally{if(X)throw ne}}}}function fi(o,g){(g==null||g>o.length)&&(g=o.length);for(var R=0,q=new Array(g);R<g;R++)q[R]=o[R];return q}var Oa=function(o){var g=o.UIOptions;return(0,n.jsxs)(jo.Z,{__fallback:!0,children:[(0,n.jsx)(jo.Z.DefaultItems.LoadScene,{}),(0,n.jsx)(jo.Z.DefaultItems.SaveToActiveFile,{}),g.canvasActions.export&&(0,n.jsx)(jo.Z.DefaultItems.Export,{}),g.canvasActions.saveAsImage&&(0,n.jsx)(jo.Z.DefaultItems.SaveAsImage,{}),(0,n.jsx)(jo.Z.DefaultItems.Help,{}),(0,n.jsx)(jo.Z.DefaultItems.ClearCanvas,{}),(0,n.jsx)(jo.Z.Separator,{}),(0,n.jsx)(jo.Z.Group,{title:"Excalidraw links",children:(0,n.jsx)(jo.Z.DefaultItems.Socials,{})}),(0,n.jsx)(jo.Z.Separator,{}),(0,n.jsx)(jo.Z.DefaultItems.ToggleTheme,{}),(0,n.jsx)(jo.Z.DefaultItems.ChangeCanvasBackground,{})]})},Ca=function(){return(0,n.jsxs)(ui,{__fallback:!0,children:[(0,n.jsx)(ui.Actions.SaveToDisk,{}),(0,n.jsx)(ui.Actions.ExportToImage,{})]})},Ji=function(o){var g,R,q=o.actionManager,de=o.appState,ne=o.files,B=o.setAppState,X=o.elements,ke=o.canvas,Ie=o.onLockToggle,Pe=o.onHandToolToggle,Fe=o.onPenModeToggle,Ge=o.showExitZenModeBtn,qe=o.renderTopRightUI,it=o.renderCustomStats,st=o.UIOptions,kt=o.onExportImage,Lt=o.renderWelcomeScreen,bt=o.children,vt=o.app,jt=o.isCollaborating,Nt=ka(),Vt=(0,Xe.ZC)(),Zt=(0,yo.KO)(xi.$,Uo.yE),Ht=(0,w.Z)(Zt,2),or=Ht[0],Er=Ht[1],Zr=function(){return st.canvasActions.export?(0,n.jsx)(_i,{elements:X,appState:de,files:ne,actionManager:q,exportOpts:st.canvasActions.export,canvas:ke,setAppState:B}):null},Kr=function(){return st.canvasActions.saveAsImage&&de.openDialog==="imageExport"?(0,n.jsx)(br,{elements:X,appState:de,files:ne,actionManager:q,onExportImage:kt,onCloseRequest:function(){return B({openDialog:null})}}):null},tn=function(){return(0,n.jsx)(Oi.O,{__fallback:!0,onDock:function(Gr){(0,u.L)("sidebar","toggleDock (".concat(Gr?"dock":"undock",")"),"(".concat(Nt.editor.isMobile?"mobile":"desktop",")"))}})},nn=(0,yo.Dv)(Qo.t6,Uo.yE),Ur=(0,n.jsxs)(n.Fragment,{children:[bt,(0,n.jsx)(Oa,{UIOptions:st}),(0,n.jsx)(Oi.O.Trigger,{__fallback:!0,icon:H.Vq,title:(0,d.Oo)((0,A.t)("toolBar.library")),onToggle:function(Gr){Gr&&(0,u.L)("sidebar","".concat(r.Cc.name," (open)"),"button (".concat(Nt.editor.isMobile?"mobile":"desktop",")"))},tab:r.Cc.defaultTab,children:(0,A.t)("toolBar.library")}),(0,n.jsx)(Ca,{}),de.isLoading&&(0,n.jsx)(Pr.z,{delay:250}),de.errorMessage&&(0,n.jsx)(Bt,{onClose:function(){return B({errorMessage:null})},children:de.errorMessage}),or&&!Nt.editor.isMobile&&(0,n.jsx)(xi.p,{colorPickerType:or.colorPickerType,onCancel:function(){Er(null)},onChange:function(Gr,Xr,Yr,cn){var gn=cn.altKey;if(Gr==="elementBackground"||Gr==="elementStroke")if(Yr.length){var hn,xn,sn=di(Yr);try{for(sn.s();!(xn=sn.n()).done;){var on=xn.value;(0,y.DR)(on,(0,W.Z)({},gn&&or.swapPreviewOnAlt?Gr==="elementBackground"?"strokeColor":"backgroundColor":Gr==="elementBackground"?"backgroundColor":"strokeColor",Xr),!1),oi.R.delete(on)}}catch(Sn){sn.e(Sn)}finally{sn.f()}(hn=j.Z.getScene(Yr[0]))===null||hn===void 0||hn.informMutation()}else B(Gr==="elementBackground"?{currentItemBackgroundColor:Xr}:{currentItemStrokeColor:Xr})},onSelect:function(Gr,Xr){var Yr;Er(function(cn){return cn!=null&&cn.keepOpenOnAlt&&Xr.altKey?cn:null}),or==null||(Yr=or.onSelect)===null||Yr===void 0||Yr.call(or,Gr,Xr)}}),de.openDialog==="help"&&(0,n.jsx)(wn,{onClose:function(){B({openDialog:null})}}),(0,n.jsx)(da.o,{}),(0,n.jsx)(Vt.OverwriteConfirmDialogTunnel.Out,{}),Kr(),Zr(),de.pasteDialog.shown&&(0,n.jsx)(Cr,{setAppState:B,appState:de,onClose:function(){return B({pasteDialog:{shown:!1,data:null}})}}),Nt.editor.isMobile&&(0,n.jsx)(Gt,{app:vt,appState:de,elements:X,actionManager:q,renderJSONExportDialog:Zr,renderImageExportDialog:Kr,setAppState:B,onLockToggle:Ie,onHandToolToggle:Pe,onPenModeToggle:Fe,renderTopRightUI:qe,renderCustomStats:it,renderSidebars:tn,device:Nt,renderWelcomeScreen:Lt,UIOptions:st}),!Nt.editor.isMobile&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"layer-ui__wrapper",style:de.openSidebar&&nn&&Nt.editor.canFitSidebar?{width:"calc(100% - ".concat(r.EE,"px)")}:{},children:[Lt&&(0,n.jsx)(Vt.WelcomeScreenCenterTunnel.Out,{}),(R=(0,re.RT)(de,X),(0,n.jsx)(wr,{side:"top",children:(0,n.jsxs)("div",{className:"App-menu App-menu_top",children:[(0,n.jsxs)(rt.Z.Col,{gap:6,className:(0,le.Z)("App-menu_top__left"),children:[(0,n.jsxs)("div",{style:{position:"relative"},children:[(0,n.jsx)(Vt.MainMenuTunnel.Out,{}),Lt&&(0,n.jsx)(Vt.WelcomeScreenMenuHintTunnel.Out,{})]}),R&&(0,n.jsx)(zn,{heading:"selectedShapeActions",className:(0,le.Z)("selected-shape-actions zen-mode-transition",{"transition-left":de.zenModeEnabled}),children:(0,n.jsx)(jr.W,{className:r.$C.SHAPE_ACTIONS_MENU,padding:2,style:{maxHeight:"".concat(de.height-166,"px")},children:(0,n.jsx)(lt,{appState:de,elements:X,renderAction:q.renderAction})})})]}),!de.viewModeEnabled&&(0,n.jsx)(zn,{heading:"shapes",className:"shapes-section",children:function(Gr){return(0,n.jsxs)("div",{style:{position:"relative"},children:[Lt&&(0,n.jsx)(Vt.WelcomeScreenToolbarHintTunnel.Out,{}),(0,n.jsx)(rt.Z.Col,{gap:4,align:"start",children:(0,n.jsxs)(rt.Z.Row,{gap:1,className:(0,le.Z)("App-toolbar-container",{"zen-mode":de.zenModeEnabled}),children:[(0,n.jsxs)(jr.W,{padding:1,className:(0,le.Z)("App-toolbar",{"zen-mode":de.zenModeEnabled}),children:[(0,n.jsx)(pr,{appState:de,isMobile:Nt.editor.isMobile,device:Nt,app:vt}),Gr,(0,n.jsxs)(rt.Z.Row,{gap:1,children:[(0,n.jsx)(vn,{zenModeEnabled:de.zenModeEnabled,checked:de.penMode,onChange:function(){return Fe(null)},title:(0,A.t)("toolBar.penMode"),penDetected:de.penDetected}),(0,n.jsx)($r,{checked:de.activeTool.locked,onChange:Ie,title:(0,A.t)("toolBar.lock")}),(0,n.jsx)("div",{className:"App-toolbar__divider"}),(0,n.jsx)(De,{checked:(0,E.l$)(de),onChange:function(){return Pe()},title:(0,A.t)("toolBar.hand"),isMobile:!0}),(0,n.jsx)(ot,{appState:de,activeTool:de.activeTool,UIOptions:st,app:vt})]})]}),jt&&(0,n.jsx)(jr.W,{style:{marginLeft:8,alignSelf:"center",height:"fit-content"},children:(0,n.jsx)(fa,{title:(0,A.t)("toolBar.laser"),checked:de.activeTool.type==="laser",onChange:function(){return vt.setActiveTool({type:"laser"})},isMobile:!0})})]})})]})}}),(0,n.jsxs)("div",{className:(0,le.Z)("layer-ui__wrapper__top-right zen-mode-transition",{"transition-right":de.zenModeEnabled}),children:[(0,n.jsx)(Wn.Z,{collaborators:de.collaborators}),qe?.(Nt.editor.isMobile,de),!de.viewModeEnabled&&(!nn||((g=de.openSidebar)===null||g===void 0?void 0:g.name)!==r.Cc.name)&&(0,n.jsx)(Vt.DefaultSidebarTriggerTunnel.Out,{})]})]})})),(0,n.jsx)(Xi,{appState:de,actionManager:q,showExitZenModeBtn:Ge,renderWelcomeScreen:Lt}),de.showStats&&(0,n.jsx)(_e,{appState:de,setAppState:B,elements:X,onClose:function(){q.executeAction(sa.u)},renderCustomStats:it}),de.scrolledOutside&&(0,n.jsx)("button",{className:"scroll-back-to-content",onClick:function(){B(function(Gr){return function(Xr){for(var Yr=1;Yr<arguments.length;Yr++){var cn=arguments[Yr]!=null?arguments[Yr]:{};Yr%2?Ci(Object(cn),!0).forEach(function(gn){(0,W.Z)(Xr,gn,cn[gn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xr,Object.getOwnPropertyDescriptors(cn)):Ci(Object(cn)).forEach(function(gn){Object.defineProperty(Xr,gn,Object.getOwnPropertyDescriptor(cn,gn))})}return Xr}({},(0,se.W)(X,Gr))})},children:(0,A.t)("buttons.scrollBackToContent")})]}),tn()]})]});return(0,n.jsx)(Hi.k.Provider,{value:de,children:(0,n.jsx)(yo.zt,{scope:Vt.jotaiScope,children:(0,n.jsx)(Xe.A3.Provider,{value:Vt,children:Ur})})})},Qi=function(o){return o.suggestedBindings,o.startBoundElement,o.cursorButton,o.scrollX,o.scrollY,(0,Qe.Z)(o,qi)},Ia=function(o,g){if(o.children!==g.children)return!1;o.canvas;var R=o.appState,q=(0,Qe.Z)(o,_a),de=(g.canvas,g.appState),ne=(0,Qe.Z)(g,Wi);return(0,d.w8)(Qi(R),Qi(de),{selectedElementIds:d.w8,selectedGroupIds:d.w8})&&(0,d.w8)(q,ne)},Fi=ce().memo(Ji,Ia),To=e(9650),qo={};qo.styleTagTransform=Je(),qo.setAttributes=Be(),qo.insert=Ce().bind(null,"head"),qo.domAPI=ae(),qo.insertStyleElement=He(),$()(To.Z,qo),To.Z&&To.Z.locals&&To.Z.locals;var pa=function(o){var g=o.message,R=o.onClose,q=o.closable,de=q!==void 0&&q,ne=o.duration,B=ne===void 0?5e3:ne,X=(0,J.useRef)(0),ke=B!==1/0,Ie=(0,J.useCallback)(function(){ke&&(X.current=window.setTimeout(function(){return R()},B))},[R,B,ke]);(0,J.useEffect)(function(){if(ke)return Ie(),function(){return clearTimeout(X.current)}},[Ie,g,B,ke]);var Pe=ke?function(){return clearTimeout(X?.current)}:void 0,Fe=ke?Ie:void 0;return(0,n.jsxs)("div",{className:"Toast",onMouseEnter:Pe,onMouseLeave:Fe,children:[(0,n.jsx)("p",{className:"Toast__message",children:g}),de&&(0,n.jsx)(M.V,{icon:H.Tw,"aria-label":"close",type:"icon",onClick:R,className:"close"})]})};function ea(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function Ui(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?ea(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):ea(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}var wi=(0,_.z)({name:"viewMode",viewMode:!0,trackEvent:{category:"canvas",predicate:function(o){return!o.viewModeEnabled}},perform:function(o,g){return{appState:Ui(Ui({},g),{},{viewModeEnabled:!this.checked(g)}),commitToHistory:!1}},checked:function(o){return o.viewModeEnabled},predicate:function(o,g,R){return R.viewModeEnabled===void 0},contextItemLabel:"labels.viewMode",keyTest:function(o){return!o[b.tW.CTRL_OR_CMD]&&o.altKey&&o.code===b.aU.R}}),Ii=e(4178),ha=e(200),ma=e.n(ha),ii=e(3528),Yo=e(5992),Mi=e(8020),ta=e(4048),Pi=e(9672);function Ki(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}var so=(0,x.Z)(function o(g){var R=this,q=g.scene,de=g.onSceneUpdated;(0,I.Z)(this,o),this.onFontsLoaded=function(ne){if(ne.every(function(X){var ke="".concat(X.family,"-").concat(X.style,"-").concat(X.weight);return!!o.loadedFontFaces.has(ke)||(o.loadedFontFaces.add(ke),!1)}))return!1;var B=!1;R.scene.mapElements(function(X){return(0,re.iB)(X)&&!(0,V.Xh)(X)?(oi.R.delete(X),B=!0,(0,y.BE)(X,function(ke){for(var Ie=1;Ie<arguments.length;Ie++){var Pe=arguments[Ie]!=null?arguments[Ie]:{};Ie%2?Ki(Object(Pe),!0).forEach(function(Fe){(0,W.Z)(ke,Fe,Pe[Fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ke,Object.getOwnPropertyDescriptors(Pe)):Ki(Object(Pe)).forEach(function(Fe){Object.defineProperty(ke,Fe,Object.getOwnPropertyDescriptor(Pe,Fe))})}return ke}({},(0,re.JZ)(X)))):X}),B&&R.onSceneUpdated()},this.loadFontsForElements=function(){var ne=(0,v.Z)(S().mark(function B(X){var ke;return S().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,Promise.all((0,m.Z)(new Set(X.filter(function(Pe){return(0,re.iB)(Pe)}).map(function(Pe){return Pe.fontFamily}))).map(function(Pe){var Fe,Ge,qe,it,st=(0,d.mO)({fontFamily:Pe,fontSize:16});if((Fe=document.fonts)===null||Fe===void 0||(Ge=Fe.check)===null||Ge===void 0||!Ge.call(Fe,st))return(qe=document.fonts)===null||qe===void 0||(it=qe.load)===null||it===void 0?void 0:it.call(qe,st)}));case 2:ke=Ie.sent,R.onFontsLoaded(ke.flat().filter(Boolean));case 4:case"end":return Ie.stop()}},B)}));return function(B){return ne.apply(this,arguments)}}(),this.scene=q,this.onSceneUpdated=de});so.loadedFontFaces=new Set;var bn=e(4682),Vn=e(6264),Pn=e(5047),Tn=e(7652);function Do(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function Ao(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?Do(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):Do(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}var ga=function(o,g){var R=g.scene.getSelectedElements(o);return R.length===1&&R[0].type==="frame"},Ma=(0,_.z)({name:"selectAllElementsInFrame",trackEvent:{category:"canvas"},perform:function(o,g,R,q){var de=q.scene.getSelectedElements(g)[0];if(de&&de.type==="frame"){var ne=(0,bn.zD)((0,re.Lm)(o),de.id).filter(function(B){return!(B.type==="text"&&B.containerId)});return{elements:o,appState:Ao(Ao({},g),{},{selectedElementIds:ne.reduce(function(B,X){return B[X.id]=!0,B},{})}),commitToHistory:!1}}return{elements:o,appState:g,commitToHistory:!1}},contextItemLabel:"labels.selectAllElementsInFrame",predicate:function(o,g,R,q){return ga(g,q)}}),va=(0,_.z)({name:"removeAllElementsFromFrame",trackEvent:{category:"history"},perform:function(o,g,R,q){var de=q.scene.getSelectedElements(g)[0];return de&&de.type==="frame"?{elements:(0,bn.yZ)(o,de,g),appState:Ao(Ao({},g),{},{selectedElementIds:(0,W.Z)({},de.id,!0)}),commitToHistory:!0}:{elements:o,appState:g,commitToHistory:!1}},contextItemLabel:"labels.removeAllElementsFromFrame",predicate:function(o,g,R,q){return ga(g,q)}}),ba=((0,_.z)({name:"updateFrameRendering",viewMode:!0,trackEvent:{category:"canvas"},perform:function(o,g){return{elements:o,appState:Ao(Ao({},g),{},{frameRendering:Ao(Ao({},g.frameRendering),{},{enabled:!g.frameRendering.enabled})}),commitToHistory:!1}},contextItemLabel:"labels.updateFrameRendering",checked:function(o){return o.frameRendering.enabled}}),(0,_.z)({name:"setFrameAsActiveTool",trackEvent:{category:"toolbar"},perform:function(o,g,R,q){var de=(0,d.Om)(g,{type:"frame"});return(0,Tn.Uk)(q.interactiveCanvas,Ao(Ao({},g),{},{activeTool:de})),{elements:o,appState:Ao(Ao({},g),{},{activeTool:(0,d.Om)(g,{type:"frame"})}),commitToHistory:!1}},keyTest:function(o){return!o[b.tW.CTRL_OR_CMD]&&!o.shiftKey&&!o.altKey&&o.key.toLocaleLowerCase()===b.tW.F}}),e(6006)),ya=e(3506);function ra(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function Bo(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?ra(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):ra(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}function Eo(o,g){var R=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!R){if(Array.isArray(o)||(R=function(ke,Ie){if(ke){if(typeof ke=="string")return Lo(ke,Ie);var Pe=Object.prototype.toString.call(ke).slice(8,-1);if(Pe==="Object"&&ke.constructor&&(Pe=ke.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ke);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return Lo(ke,Ie)}}(o))||g&&o&&typeof o.length=="number"){R&&(o=R);var q=0,de=function(){};return{s:de,n:function(){return q>=o.length?{done:!0}:{done:!1,value:o[q++]}},e:function(ke){throw ke},f:de}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne,B=!0,X=!1;return{s:function(){R=R.call(o)},n:function(){var ke=R.next();return B=ke.done,ke},e:function(ke){X=!0,ne=ke},f:function(){try{B||R.return==null||R.return()}finally{if(X)throw ne}}}}function Lo(o,g){(g==null||g>o.length)&&(g=o.length);for(var R=0,q=new Array(g);R<g;R++)q[R]=o[R];return q}var Jn=function(o){return 8/o},Qn=(0,x.Z)(function o(){(0,I.Z)(this,o)});Qn.referenceSnapPoints=null,Qn.visibleGaps=null,Qn.setReferenceSnapPoints=function(o){Qn.referenceSnapPoints=o},Qn.getReferenceSnapPoints=function(){return Qn.referenceSnapPoints},Qn.setVisibleGaps=function(o){Qn.visibleGaps=o},Qn.getVisibleGaps=function(){return Qn.visibleGaps},Qn.destroy=function(){Qn.referenceSnapPoints=null,Qn.visibleGaps=null};var Zo=function(o){var g=o.event,R=o.appState,q=o.selectedElements;return g?R.objectsSnapModeEnabled&&!g[b.tW.CTRL_OR_CMD]||!R.objectsSnapModeEnabled&&g[b.tW.CTRL_OR_CMD]&&R.gridSize===null:(q.length!==1||q[0].type!=="arrow")&&R.objectsSnapModeEnabled},ki=function(o){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{omitCenter:!1,boundingBoxCorners:!1},R=g.omitCenter,q=g.boundingBoxCorners,de=g.dragOffset,ne=[];if(o.length===1){var B=o[0],X=(0,Ln.qf)(B),ke=(0,w.Z)(X,6),Ie=ke[0],Pe=ke[1],Fe=ke[2],Ge=ke[3],qe=ke[4],it=ke[5];de&&(Ie+=de.x,Fe+=de.x,qe+=de.x,Pe+=de.y,Ge+=de.y,it+=de.y);var st=(Fe-Ie)/2,kt=(Ge-Pe)/2;if(B.type!=="diamond"&&B.type!=="ellipse"||q){var Lt=(0,ue.xj)([Ie,Pe],[qe,it],B.angle),bt=(0,ue.xj)([Fe,Pe],[qe,it],B.angle),vt=(0,ue.xj)([Ie,Ge],[qe,it],B.angle),jt=(0,ue.xj)([Fe,Ge],[qe,it],B.angle),Nt=[qe,it];ne=R?[Lt,bt,vt,jt]:[Lt,bt,vt,jt,Nt]}else{var Vt=(0,ue.xj)([Ie,Pe+kt],[qe,it],B.angle),Zt=(0,ue.xj)([Ie+st,Pe],[qe,it],B.angle),Ht=(0,ue.xj)([Fe,Pe+kt],[qe,it],B.angle),or=(0,ue.xj)([Ie+st,Ge],[qe,it],B.angle),Er=[qe,it];ne=R?[Vt,Zt,Ht,or]:[Vt,Zt,Ht,or,Er]}}else if(o.length>1){var Zr=(0,Ln.hC)(o,de??{x:0,y:0}),Kr=(0,w.Z)(Zr,4),tn=Kr[0],nn=Kr[1],Ur=Kr[2],Gr=Kr[3],Xr=Ur-tn,Yr=Gr-nn,cn=[tn,nn],gn=[Ur,nn],hn=[tn,Gr],xn=[Ur,Gr],sn=[tn+Xr/2,nn+Yr/2];ne=R?[cn,gn,hn,xn]:[cn,gn,hn,xn,sn]}return ne.map(function(on){return[Ue(on[0]),Ue(on[1])]})},xa=function(o,g,R){var q=g.filter(function(de){return(0,V.He)(de)}).map(function(de){return de.id});return(0,Vn.CF)(o,g,R).filter(function(de){return!(de.frameId&&q.includes(de.frameId))})},Ke=function(o,g,R){var q=xa(o,g,R),de=(0,Re.AI)(q).filter(function(Yr){return!(Yr.length===1&&(0,V.Xh)(Yr[0]))}).map(function(Yr){return(0,Ln.KP)(Yr).map(function(cn){return Ue(cn)})}),ne=de.sort(function(Yr,cn){return Yr[0]-cn[0]}),B=[],X=0;e:for(var ke=0;ke<ne.length;ke++)for(var Ie=ne[ke],Pe=ke+1;Pe<ne.length;Pe++){if(++X>99999)break e;var Fe=ne[Pe],Ge=(0,w.Z)(Ie,4),qe=Ge[1],it=Ge[2],st=Ge[3],kt=(0,w.Z)(Fe,4),Lt=kt[0],bt=kt[1],vt=kt[3];it<Lt&&(0,ue.ep)([qe,st],[bt,vt])&&B.push({startBounds:Ie,endBounds:Fe,startSide:[[it,qe],[it,st]],endSide:[[Lt,bt],[Lt,vt]],length:Lt-it,overlap:(0,ue.mW)([qe,st],[bt,vt])})}var jt=de.sort(function(Yr,cn){return Yr[1]-cn[1]}),Nt=[];X=0;e:for(var Vt=0;Vt<jt.length;Vt++)for(var Zt=jt[Vt],Ht=Vt+1;Ht<jt.length;Ht++){if(++X>99999)break e;var or=jt[Ht],Er=(0,w.Z)(Zt,4),Zr=Er[0],Kr=Er[2],tn=Er[3],nn=(0,w.Z)(or,3),Ur=nn[0],Gr=nn[1],Xr=nn[2];tn<Gr&&(0,ue.ep)([Zr,Kr],[Ur,Xr])&&Nt.push({startBounds:Zt,endBounds:or,startSide:[[Zr,tn],[Kr,tn]],endSide:[[Ur,Gr],[Xr,Gr]],length:Gr-tn,overlap:(0,ue.mW)([Zr,Kr],[Ur,Xr])})}return{horizontalGaps:B,verticalGaps:Nt}},xe=function(o,g,R,q,de,ne,B){if(!Zo({appState:R,event:q,selectedElements:o}))return[];if(o.length===0)return[];var X=Qn.getVisibleGaps();if(X){var ke,Ie=X.horizontalGaps,Pe=X.verticalGaps,Fe=(0,Ln.hC)(o,g).map(function(Bn){return Ue(Bn)}),Ge=(0,w.Z)(Fe,4),qe=Ge[0],it=Ge[1],st=Ge[2],kt=Ge[3],Lt=(qe+st)/2,bt=(it+kt)/2,vt=Eo(Ie);try{for(vt.s();!(ke=vt.n()).done;){var jt=ke.value;if((0,ue.ep)([it,kt],jt.overlap)){var Nt=jt.startSide[0][0]+jt.length/2,Vt=Ue(Nt-Lt);if(jt.length>st-qe&&Math.abs(Vt)<=B.x){Math.abs(Vt)<B.x&&(de.length=0),B.x=Math.abs(Vt);var Zt={type:"gap",direction:"center_horizontal",gap:jt,offset:Vt};de.push(Zt)}else{var Ht=qe-(0,w.Z)(jt.endBounds,3)[2],or=Ue(jt.length-Ht);if(Math.abs(or)<=B.x){Math.abs(or)<B.x&&(de.length=0),B.x=Math.abs(or);var Er={type:"gap",direction:"side_right",gap:jt,offset:or};de.push(Er)}else{var Zr=(0,w.Z)(jt.startBounds,3)[0],Kr=Ue(Zr-st-jt.length);if(Math.abs(Kr)<=B.x){Math.abs(Kr)<B.x&&(de.length=0),B.x=Math.abs(Kr);var tn={type:"gap",direction:"side_left",gap:jt,offset:Kr};de.push(tn)}}}}}}catch(Bn){vt.e(Bn)}finally{vt.f()}var nn,Ur=Eo(Pe);try{for(Ur.s();!(nn=Ur.n()).done;){var Gr=nn.value;if((0,ue.ep)([qe,st],Gr.overlap)){var Xr=Gr.startSide[0][1]+Gr.length/2,Yr=Ue(Xr-bt);if(Gr.length>kt-it&&Math.abs(Yr)<=B.y){Math.abs(Yr)<B.y&&(ne.length=0),B.y=Math.abs(Yr);var cn={type:"gap",direction:"center_vertical",gap:Gr,offset:Yr};ne.push(cn)}else{var gn=(0,w.Z)(Gr.startBounds,3)[1],hn=Ue(gn-kt-Gr.length);if(Math.abs(hn)<=B.y){Math.abs(hn)<B.y&&(ne.length=0),B.y=Math.abs(hn);var xn={type:"gap",direction:"side_top",gap:Gr,offset:hn};ne.push(xn)}else{var sn=(0,w.Z)(Gr.endBounds,4)[3],on=Ue(it-sn),Sn=Gr.length-on;if(Math.abs(Sn)<=B.y){Math.abs(Sn)<B.y&&(ne.length=0),B.y=Math.abs(Sn);var Nn={type:"gap",direction:"side_bottom",gap:Gr,offset:Sn};ne.push(Nn)}}}}}}catch(Bn){Ur.e(Bn)}finally{Ur.f()}}},Le=function(o,g,R){var q=xa(o,g,R);return(0,Re.AI)(q).filter(function(de){return!(de.length===1&&(0,V.Xh)(de[0]))}).flatMap(function(de){return ki(de)})},ze=function(o,g,R,q,de,ne,B){if(!Zo({appState:R,event:q,selectedElements:o})||o.length===0&&g.length===0)return[];var X=Qn.getReferenceSnapPoints();if(X){var ke,Ie=Eo(g);try{for(Ie.s();!(ke=Ie.n()).done;){var Pe,Fe=ke.value,Ge=Eo(X);try{for(Ge.s();!(Pe=Ge.n()).done;){var qe=Pe.value,it=qe[0]-Fe[0],st=qe[1]-Fe[1];Math.abs(it)<=B.x&&(Math.abs(it)<B.x&&(de.length=0),de.push({type:"point",points:[Fe,qe],offset:it}),B.x=Math.abs(it)),Math.abs(st)<=B.y&&(Math.abs(st)<B.y&&(ne.length=0),ne.push({type:"point",points:[Fe,qe],offset:st}),B.y=Math.abs(st))}}catch(kt){Ge.e(kt)}finally{Ge.f()}}}catch(kt){Ie.e(kt)}finally{Ie.f()}}},Ue=function(o){return Math.round(o*Math.pow(10,6))/Math.pow(10,6)},$e=function(o){var g,R=new Map,q=Eo(o);try{for(q.s();!(g=q.n()).done;){var de=g.value,ne=de.join(",");R.has(ne)||R.set(ne,de)}}catch(B){q.e(B)}finally{q.f()}return Array.from(R.values())},nt=function(o,g){var R={},q={};if(o.length>0){var de,ne=Eo(o);try{for(ne.s();!(de=ne.n()).done;){var B=de.value;if(B.type==="point"){var X,ke=Ue(B.points[0][0]);R[ke]||(R[ke]=[]),(X=R[ke]).push.apply(X,(0,m.Z)(B.points.map(function(it){return[Ue(it[0]),Ue(it[1])]})))}}}catch(it){ne.e(it)}finally{ne.f()}}if(g.length>0){var Ie,Pe=Eo(g);try{for(Pe.s();!(Ie=Pe.n()).done;){var Fe=Ie.value;if(Fe.type==="point"){var Ge,qe=Ue(Fe.points[0][1]);q[qe]||(q[qe]=[]),(Ge=q[qe]).push.apply(Ge,(0,m.Z)(Fe.points.map(function(it){return[Ue(it[0]),Ue(it[1])]})))}}}catch(it){Pe.e(it)}finally{Pe.f()}}return Object.entries(R).map(function(it){var st=(0,w.Z)(it,2),kt=st[0],Lt=st[1];return{type:"points",points:$e(Lt.map(function(bt){return[Number(kt),bt[1]]}).sort(function(bt,vt){return bt[1]-vt[1]}))}}).concat(Object.entries(q).map(function(it){var st=(0,w.Z)(it,2),kt=st[0],Lt=st[1];return{type:"points",points:$e(Lt.map(function(bt){return[bt[0],Number(kt)]}).sort(function(bt,vt){return bt[0]-vt[0]}))}}))},tt=function(o,g,R){var q,de=(0,Ln.hC)(o,g),ne=(0,w.Z)(de,4),B=ne[0],X=ne[1],ke=ne[2],Ie=ne[3],Pe=[],Fe=Eo(R);try{for(Fe.s();!(q=Fe.n()).done;){var Ge=q.value,qe=(0,w.Z)(Ge.gap.startBounds,4),it=qe[0],st=qe[1],kt=qe[2],Lt=qe[3],bt=(0,w.Z)(Ge.gap.endBounds,4),vt=bt[0],jt=bt[1],Nt=bt[2],Vt=bt[3],Zt=(0,ue.mW)([X,Ie],Ge.gap.overlap),Ht=(0,ue.mW)([B,ke],Ge.gap.overlap);switch(Ge.direction){case"center_horizontal":if(Zt){var or=(Zt[0]+Zt[1])/2;Pe.push({type:"gap",direction:"horizontal",points:[[Ge.gap.startSide[0][0],or],[B,or]]},{type:"gap",direction:"horizontal",points:[[ke,or],[Ge.gap.endSide[0][0],or]]})}break;case"center_vertical":if(Ht){var Er=(Ht[0]+Ht[1])/2;Pe.push({type:"gap",direction:"vertical",points:[[Er,Ge.gap.startSide[0][1]],[Er,X]]},{type:"gap",direction:"vertical",points:[[Er,Ie],[Er,Ge.gap.endSide[0][1]]]})}break;case"side_right":if(Zt){var Zr=(Zt[0]+Zt[1])/2;Pe.push({type:"gap",direction:"horizontal",points:[[kt,Zr],[vt,Zr]]},{type:"gap",direction:"horizontal",points:[[Nt,Zr],[B,Zr]]})}break;case"side_left":if(Zt){var Kr=(Zt[0]+Zt[1])/2;Pe.push({type:"gap",direction:"horizontal",points:[[ke,Kr],[it,Kr]]},{type:"gap",direction:"horizontal",points:[[kt,Kr],[vt,Kr]]})}break;case"side_top":if(Ht){var tn=(Ht[0]+Ht[1])/2;Pe.push({type:"gap",direction:"vertical",points:[[tn,Ie],[tn,st]]},{type:"gap",direction:"vertical",points:[[tn,Lt],[tn,jt]]})}break;case"side_bottom":if(Ht){var nn=(Ht[0]+Ht[1])/2;Pe.push({type:"gap",direction:"vertical",points:[[nn,Lt],[nn,jt]]},{type:"gap",direction:"vertical",points:[[nn,Vt],[nn,X]]})}}}}catch(Ur){Fe.e(Ur)}finally{Fe.f()}return function(Ur){var Gr,Xr=new Map,Yr=Eo(Ur);try{for(Yr.s();!(Gr=Yr.n()).done;){var cn=Gr.value,gn=cn.points.flat().map(function(hn){return[Ue(hn)]}).join(",");Xr.has(gn)||Xr.set(gn,cn)}}catch(hn){Yr.e(hn)}finally{Yr.f()}return Array.from(Xr.values())}(Pe.map(function(Ur){return Bo(Bo({},Ur),{},{points:Ur.points.map(function(Gr){return[Ue(Gr[0]),Ue(Gr[1])]})})}))},ct=function(o,g,R,q,de,ne){var B,X,ke,Ie;if(!Zo({event:q,selectedElements:o,appState:R})||o.length===0||o.length===1&&!function(Kr,tn){var nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.01;return Math.abs(Kr-tn)<=nn}(o[0].angle,0))return{snapOffset:{x:0,y:0},snapLines:[]};var Pe=(0,Ln.KP)(g),Fe=(0,w.Z)(Pe,4),Ge=Fe[0],qe=Fe[1],it=Fe[2],st=Fe[3];ne&&(ne.includes("e")?it+=de.x:ne.includes("w")&&(Ge+=de.x),ne.includes("n")?qe+=de.y:ne.includes("s")&&(st+=de.y));var kt=[];if(ne)switch(ne){case"e":kt.push([it,qe],[it,st]);break;case"w":kt.push([Ge,qe],[Ge,st]);break;case"n":kt.push([Ge,qe],[it,qe]);break;case"s":kt.push([Ge,st],[it,st]);break;case"ne":kt.push([it,qe]);break;case"nw":kt.push([Ge,qe]);break;case"se":kt.push([it,st]);break;case"sw":kt.push([Ge,st])}var Lt=Jn(R.zoom.value),bt={x:Lt,y:Lt},vt=[],jt=[];ze(g,kt,R,q,vt,jt,bt);var Nt={x:(B=(X=vt[0])===null||X===void 0?void 0:X.offset)!==null&&B!==void 0?B:0,y:(ke=(Ie=jt[0])===null||Ie===void 0?void 0:Ie.offset)!==null&&ke!==void 0?ke:0};bt.x=0,bt.y=0,vt.length=0,jt.length=0;var Vt=(0,Ln.KP)(o).map(function(Kr){return Ue(Kr)}),Zt=(0,w.Z)(Vt,4),Ht=Zt[0],or=Zt[1],Er=Zt[2],Zr=Zt[3];return ze(o,[[Ht,or],[Ht,Zr],[Er,or],[Er,Zr]],R,q,vt,jt,bt),{snapOffset:Nt,snapLines:nt(vt,jt)}},Kt=e(7392),qt=e(9247),Dt=function(){return(0,n.jsxs)("div",{"data-testid":"brave-measure-text-error",children:[(0,n.jsx)("p",{children:(0,n.jsx)(qt.Z,{i18nKey:"errors.brave_measure_text_error.line1",bold:function(o){return(0,n.jsx)("span",{style:{fontWeight:600},children:o})}})}),(0,n.jsx)("p",{children:(0,n.jsx)(qt.Z,{i18nKey:"errors.brave_measure_text_error.line2",bold:function(o){return(0,n.jsx)("span",{style:{fontWeight:600},children:o})}})}),(0,n.jsx)("p",{children:(0,n.jsx)(qt.Z,{i18nKey:"errors.brave_measure_text_error.line3",link:function(o){return(0,n.jsx)("a",{href:"http://docs.excalidraw.com/docs/@excalidraw/excalidraw/faq#turning-off-aggresive-block-fingerprinting-in-brave-browser",children:o})}})}),(0,n.jsx)("p",{children:(0,n.jsx)(qt.Z,{i18nKey:"errors.brave_measure_text_error.line4",issueLink:function(o){return(0,n.jsx)("a",{href:"https://github.com/excalidraw/excalidraw/issues/new",children:o})},discordLink:function(o){return(0,n.jsxs)("a",{href:"https://discord.gg/UexuTaE",children:[o,"."]})}})})]})},Wt=e(6199),Qt=e(7766),rr=function(o){var g=(0,J.useRef)(!1);return(0,J.useEffect)(function(){var R;if(g.current){var q={},de={},ne={},B={},X={};o.appState.collaborators.forEach(function(Ie,Pe){if(Ie.selectedElementIds)for(var Fe=0,Ge=Object.keys(Ie.selectedElementIds);Fe<Ge.length;Fe++){var qe=Ge[Fe];qe in ne||(ne[qe]=[]),ne[qe].push(Pe)}Ie.pointer&&(Ie.username&&(B[Pe]=Ie.username),Ie.userState&&(X[Pe]=Ie.userState),de[Pe]=(0,d._i)({sceneX:Ie.pointer.x,sceneY:Ie.pointer.y},o.appState),q[Pe]=Ie.button)});var ke=((R=o.containerRef)===null||R===void 0?void 0:R.current)&&getComputedStyle(o.containerRef.current).getPropertyValue("--color-selection")||"#6965db";(0,Qt.tp)({canvas:o.canvas,elements:o.elements,visibleElements:o.visibleElements,selectedElements:o.selectedElements,scale:window.devicePixelRatio,appState:o.appState,renderConfig:{remotePointerViewportCoords:de,remotePointerButton:q,remoteSelectedElementIds:ne,remotePointerUsernames:B,remotePointerUserStates:X,selectionColor:ke,renderScrollbars:!1},callback:o.renderInteractiveSceneCallback},(0,d.G9)())}else g.current=!0}),(0,n.jsx)("canvas",{className:"excalidraw__canvas interactive",style:{width:o.appState.width,height:o.appState.height,cursor:o.appState.viewModeEnabled?r.oc.GRAB:r.oc.AUTO},width:o.appState.width*o.scale,height:o.appState.height*o.scale,ref:o.handleCanvasRef,onContextMenu:o.onContextMenu,onPointerMove:o.onPointerMove,onPointerUp:o.onPointerUp,onPointerCancel:o.onPointerCancel,onTouchMove:o.onTouchMove,onPointerDown:o.onPointerDown,onDoubleClick:o.appState.viewModeEnabled?void 0:o.onDoubleClick,children:(0,A.t)("labels.drawingCanvas")})},er=function(o){return{zoom:o.zoom,scrollX:o.scrollX,scrollY:o.scrollY,width:o.width,height:o.height,viewModeEnabled:o.viewModeEnabled,editingGroupId:o.editingGroupId,editingLinearElement:o.editingLinearElement,selectedElementIds:o.selectedElementIds,frameToHighlight:o.frameToHighlight,offsetLeft:o.offsetLeft,offsetTop:o.offsetTop,theme:o.theme,pendingImageElementId:o.pendingImageElementId,selectionElement:o.selectionElement,selectedGroupIds:o.selectedGroupIds,selectedLinearElement:o.selectedLinearElement,multiElement:o.multiElement,isBindingEnabled:o.isBindingEnabled,suggestedBindings:o.suggestedBindings,isRotating:o.isRotating,elementsToHighlight:o.elementsToHighlight,openSidebar:o.openSidebar,showHyperlinkPopup:o.showHyperlinkPopup,collaborators:o.collaborators,activeEmbeddable:o.activeEmbeddable,snapLines:o.snapLines,zenModeEnabled:o.zenModeEnabled}},$t=function(o,g){return o.selectionNonce===g.selectionNonce&&o.versionNonce===g.versionNonce&&o.scale===g.scale&&o.elements===g.elements&&o.visibleElements===g.visibleElements&&o.selectedElements===g.selectedElements&&(0,d.w8)(er(o.appState),er(g.appState))},lr=ce().memo(rr,$t),vr=function(o){var g=(0,J.useRef)(null),R=(0,J.useRef)(!1);return(0,J.useEffect)(function(){var q=g.current;if(q){var de=o.canvas;R.current||(R.current=!0,q.replaceChildren(de),de.classList.add("excalidraw__canvas","static"));var ne="".concat(o.appState.width,"px"),B="".concat(o.appState.height,"px");de.style.width!==ne&&(de.style.width=ne),de.style.height!==B&&(de.style.height=B);var X=o.appState.width*o.scale,ke=o.appState.height*o.scale;de.width!==X&&(de.width=X),de.height!==ke&&(de.height=ke),(0,Qt.AW)({canvas:de,rc:o.rc,scale:o.scale,elements:o.elements,visibleElements:o.visibleElements,appState:o.appState,renderConfig:o.renderConfig},(0,d.G9)())}}),(0,n.jsx)("div",{className:"excalidraw__canvas-wrapper",ref:g})},xr=function(o){return{zoom:o.zoom,scrollX:o.scrollX,scrollY:o.scrollY,width:o.width,height:o.height,viewModeEnabled:o.viewModeEnabled,offsetLeft:o.offsetLeft,offsetTop:o.offsetTop,theme:o.theme,pendingImageElementId:o.pendingImageElementId,shouldCacheIgnoreZoom:o.shouldCacheIgnoreZoom,viewBackgroundColor:o.viewBackgroundColor,exportScale:o.exportScale,selectedElementsAreBeingDragged:o.selectedElementsAreBeingDragged,gridSize:o.gridSize,frameRendering:o.frameRendering,selectedElementIds:o.selectedElementIds,frameToHighlight:o.frameToHighlight,editingGroupId:o.editingGroupId}},gr=function(o,g){return o.versionNonce===g.versionNonce&&o.scale===g.scale&&o.elements===g.elements&&o.visibleElements===g.visibleElements&&(0,d.w8)(xr(o.appState),xr(g.appState))&&(0,d.w8)(o.renderConfig,g.renderConfig)},Sr=ce().memo(vr,gr),Fr=function(){function o(g){var R=this;(0,I.Z)(this,o),this.getRenderableElements=(0,d.HP)(function(q){var de=q.zoom,ne=q.offsetLeft,B=q.offsetTop,X=q.scrollX,ke=q.scrollY,Ie=q.height,Pe=q.width,Fe=q.editingElement,Ge=q.pendingImageElementId,qe=(q.versionNonce,function(st){var kt=st.editingElement,Lt=st.elements,bt=st.pendingImageElementId;return Lt.filter(function(vt){return!((0,V.pC)(vt)&&bt===vt.id||kt&&kt.type==="text"&&vt.id===kt.id)})}({elements:R.scene.getNonDeletedElements(),editingElement:Fe,pendingImageElementId:Ge})),it=function(st){var kt=st.elements,Lt=st.zoom,bt=st.offsetLeft,vt=st.offsetTop,jt=st.scrollX,Nt=st.scrollY,Vt=st.height,Zt=st.width;return kt.filter(function(Ht){return(0,ge.PZ)(Ht,Zt,Vt,{zoom:Lt,offsetLeft:bt,offsetTop:vt,scrollX:jt,scrollY:Nt})})}({elements:qe,zoom:de,offsetLeft:ne,offsetTop:B,scrollX:X,scrollY:ke,height:Ie,width:Pe});return{canvasElements:qe,visibleElements:it}}),this.scene=g}return(0,x.Z)(o,[{key:"destroy",value:function(){(0,Qt.n_)(),this.getRenderableElements.clear()}}]),o}(),Jr=e(8806),Hr=e(4864),Nr=e(8531),Vr=e(5830),Qr={};Qr.styleTagTransform=Je(),Qr.setAttributes=Be(),Qr.insert=Ce().bind(null,"head"),Qr.domAPI=ae(),Qr.insertStyleElement=He(),$()(Vr.Z,Qr),Vr.Z&&Vr.Z.locals&&Vr.Z.locals;var an="mermaid-to-excalidraw",dn=function(o){var g=o.error;return(0,n.jsxs)("div",{"data-testid":"mermaid-error",className:"mermaid-error",children:["Error! ",(0,n.jsx)("p",{children:g})]})},pn=function(){var o=(0,J.useState)({loaded:!1,api:null}),g=(0,w.Z)(o,2),R=g[0],q=g[1],de=(0,J.useState)(""),ne=(0,w.Z)(de,2),B=ne[0],X=ne[1],ke=(0,J.useDeferredValue)(B.trim()),Ie=(0,J.useState)(null),Pe=(0,w.Z)(Ie,2),Fe=Pe[0],Ge=Pe[1],qe=(0,J.useRef)(null),it=(0,J.useRef)({elements:[],files:null}),st=Ua(),kt=function(){var bt=qe.current;if(bt){var vt=bt.parentElement;vt&&(vt.style.background="",Ge(null),bt.replaceChildren())}};(0,J.useEffect)(function(){var bt=function(){var vt=(0,v.Z)(S().mark(function jt(){var Nt;return S().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:return Vt.next=2,e.e(4736).then(e.bind(e,1049));case 2:Nt=Vt.sent,q({loaded:!0,api:Nt});case 4:case"end":return Vt.stop()}},jt)}));return function(){return vt.apply(this,arguments)}}();bt()},[]),(0,J.useEffect)(function(){var bt=function(){try{var vt=localStorage.getItem(an);if(vt)return vt}catch(jt){console.error(jt)}return null}()||`flowchart TD + A[Christmas] -->|Get money| B(Go shopping) + B --> C{Let me think} + C -->|One| D[Laptop] + C -->|Two| E[iPhone] + C -->|Three| F[Car]`;X(bt)},[]),(0,J.useEffect)(function(){var bt=function(){var vt=(0,v.Z)(S().mark(function jt(){var Nt,Vt,Zt,Ht,or,Er;return S().wrap(function(Zr){for(;;)switch(Zr.prev=Zr.next){case 0:if(Nt=qe.current,Vt=Nt?.parentElement,R.loaded&&Nt&&Vt&&R.api){Zr.next=4;break}return Zr.abrupt("return");case 4:if(ke){Zr.next=7;break}return kt(),Zr.abrupt("return");case 7:return Zr.prev=7,Zr.next=10,R.api.parseMermaidToExcalidraw(ke,{fontSize:r.n5});case 10:return Zt=Zr.sent,Ht=Zt.elements,or=Zt.files,Ge(null),it.current={elements:(0,Hr.wc)(Ht,{regenerateIds:!0}),files:or},Zr.next=17,(0,Hr.NL)({elements:it.current.elements,files:it.current.files,exportPadding:r.qy,maxWidthOrHeight:Math.max(Vt.offsetWidth,Vt.offsetHeight)*window.devicePixelRatio});case 17:return Er=Zr.sent,Zr.next=20,(0,tr._c)(Er);case 20:Vt.style.background="var(--default-bg-color)",Nt.replaceChildren(Er),Zr.next=28;break;case 24:Zr.prev=24,Zr.t0=Zr.catch(7),Vt.style.background="var(--default-bg-color)",ke&&Ge(Zr.t0.message);case 28:case"end":return Zr.stop()}},jt,null,[[7,24]])}));return function(){return vt.apply(this,arguments)}}();bt()},[ke,R]);var Lt=function(){st.setOpenDialog(null),function(bt){try{localStorage.setItem(an,bt)}catch(vt){console.error(vt)}}(B)};return(0,n.jsx)(Ct.V,{className:"dialog-mermaid",onCloseRequest:Lt,size:1200,title:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"dialog-mermaid-title",children:(0,A.t)("mermaid.title")}),(0,n.jsxs)("span",{className:"dialog-mermaid-desc",children:[(0,n.jsx)(qt.Z,{i18nKey:"mermaid.description",flowchartLink:function(bt){return(0,n.jsx)("a",{href:"https://mermaid.js.org/syntax/flowchart.html",children:bt})},sequenceLink:function(bt){return(0,n.jsx)("a",{href:"https://mermaid.js.org/syntax/sequenceDiagram.html",children:bt})}}),(0,n.jsx)("br",{})]})]}),children:(0,n.jsxs)("div",{className:"dialog-mermaid-body",children:[(0,n.jsxs)("div",{className:"dialog-mermaid-panels",children:[(0,n.jsxs)("div",{className:"dialog-mermaid-panels-text",children:[(0,n.jsx)("label",{children:(0,A.t)("mermaid.syntax")}),(0,n.jsx)("textarea",{onChange:function(bt){return X(bt.target.value)},value:B})]}),(0,n.jsxs)("div",{className:"dialog-mermaid-panels-preview",children:[(0,n.jsx)("label",{children:(0,A.t)("mermaid.preview")}),(0,n.jsxs)("div",{className:"dialog-mermaid-panels-preview-wrapper",children:[Fe&&(0,n.jsx)(dn,{error:Fe}),R.loaded?(0,n.jsx)("div",{ref:qe,style:{opacity:Fe?"0.15":1},className:"dialog-mermaid-panels-preview-canvas-container"}):(0,n.jsx)(Nr.Z,{size:"2rem"})]})]})]}),(0,n.jsx)("div",{className:"dialog-mermaid-buttons",children:(0,n.jsxs)(Jr.z,{className:"dialog-mermaid-insert",onSelect:function(){var bt=it.current,vt=bt.elements,jt=bt.files;st.addElementsFromPasteOrLibrary({elements:vt,files:jt,position:"center",fitToContent:!0}),Lt()},children:[(0,A.t)("mermaid.button"),(0,n.jsx)("span",{children:H.LZ})]})})]})})},kn=e(7930),Kn={};Kn.styleTagTransform=Je(),Kn.setAttributes=Be(),Kn.insert=Ce().bind(null,"head"),Kn.domAPI=ae(),Kn.insertStyleElement=He(),$()(kn.Z,Kn),kn.Z&&kn.Z.locals&&kn.Z.locals;var lo=function(o){var g=o.manager,R=(0,J.useRef)(null);return(0,J.useEffect)(function(){return R.current&&g.start(R.current),function(){g.stop()}},[g]),(0,n.jsx)("div",{className:"LaserToolOverlay",children:(0,n.jsx)("svg",{ref:R,className:"LaserToolOverlayCanvas"})})},po,Oo,xo,Yn;function Xn([o,g,R],[q,de,ne]){return[o+q,g+de,R+ne]}function ro([o,g,R],[q,de,ne]){return[o-q,g-de,R-ne]}function $n([o,g,R],q){return[o*q,g*q,R*q]}function oo([o,g,R]){return[o/Math.sqrt(o**2+g**2),g/Math.sqrt(o**2+g**2),R]}function mo([o,g,R],q){return[Math.cos(q)*o-Math.sin(q)*g,Math.sin(q)*o+Math.cos(q)*g,R]}function Ho(o,g,R){return Math.atan2(R[1]-o[1],R[0]-o[0])-Math.atan2(g[1]-o[1],g[0]-o[0])}function Wo(o){return Math.atan2(Math.sin(o),Math.cos(o))}function Co([o,g]){return Math.sqrt(o**2+g**2)}function Fo([o,g],[R,q]){return Math.sqrt((R-o)**2+(q-g)**2)}po={},Oo="LaserPointer",xo=()=>Jo,Object.defineProperty(po,Oo,{get:xo,set:Yn,enumerable:!0,configurable:!0});function Ti(o,g,R){const q=Fo(g,R);if(q===0)return Fo(o,g);const de=((ne,B,X)=>Math.max(B,Math.min(X,ne)))(((o[0]-g[0])*(R[0]-g[0])+(o[1]-g[1])*(R[1]-g[1]))/q**2,0,1);return Fo([g[0]+de*(R[0]-g[0]),g[1]+de*(R[1]-g[1]),o[2]],o)}function Ro(o,g){if(g===0||o.length<=2)return o;const R=o[0],q=o[o.length-1],[de,ne]=o.reduce(([B,X],ke,Ie)=>{const Pe=Ti(ke,R,q);return Pe>B?[Pe,Ie]:[B,X]},[0,-1]);if(de>=g){const B=o[ne];return[...Ro([R,...o.slice(1,ne),B],g).slice(0,-1),B,...Ro([B,...o.slice(ne,-1),q],g).slice(1)]}return[R,q]}class Jo{static#e=(()=>{this.defaults={size:2,streamline:.45,simplify:.1,simplifyPhase:"output",sizeMapping:()=>1}})();static#t=(()=>{this.constants={cornerDetectionMaxAngle:120,cornerDetectionVariance:g=>g>35?.5:1,maxTailLength:50}})();constructor(g){this.originalPoints=[],this.stablePoints=[],this.tailPoints=[],this.isFresh=!0,this.options=Object.assign({},Jo.defaults,g)}get lastPoint(){return this.tailPoints[this.tailPoints.length-1]??this.stablePoints[this.stablePoints.length-1]}addPoint(g){const R=this.originalPoints[this.originalPoints.length-1];if(!R||R[0]!==g[0]||R[1]!==g[1]){if(this.originalPoints.push(g),this.isFresh)return this.isFresh=!1,void this.stablePoints.push(g);var q,de,ne;this.options.streamline>0&&(q=this.lastPoint,de=g,ne=1-this.options.streamline,g=Xn(q,$n(ro(de,q),ne))),this.tailPoints.push(g),function(B){if(B.length<2)return 0;let X=0;for(let ke=1;ke<=B.length-1;ke++)X+=Fo(B[ke-1],B[ke]);return X+=Fo(B[B.length-2],B[B.length-1]),X}(this.tailPoints)>Jo.constants.maxTailLength&&this.stabilizeTail()}}close(){this.stabilizeTail()}stabilizeTail(){if(this.options.simplify>0&&this.options.simplifyPhase=="tail")throw new Error("Not implemented yet");this.stablePoints.push(...this.tailPoints),this.tailPoints=[]}getSize(g,R,q,de,ne){return(g??this.options.size)*this.options.sizeMapping({pressure:R,runningLength:ne,currentIndex:q,totalLength:de})}getStrokeOutline(g){if(this.isFresh)return[];let R=[...this.stablePoints,...this.tailPoints];this.options.simplify>0&&this.options.simplifyPhase==="input"&&(R=Ro(R,this.options.simplify));const q=R.length;if(q===0)return[];if(q===1){const Zt=R[0],Ht=[];for(let or=0;or<=2*Math.PI;or+=Math.PI/16)Ht.push(Xn(Zt,$n(mo([1,0,0],or),this.getSize(g,Zt[2],0,q,0))));return Ht.push(Xn(Zt,$n([1,0,0],this.getSize(g,Zt[2],0,q,0)))),Ht}if(q===2){const Zt=R[0],Ht=R[1],or=[],Er=Ho(Zt,[Zt[0],Zt[1]-100,Zt[2]],Ht);for(let Zr=Er;Zr<=Math.PI+Er;Zr+=Math.PI/16)or.push(Xn(Zt,$n(mo([1,0,0],Zr),this.getSize(g,Zt[2],0,q,0))));for(let Zr=Math.PI+Er;Zr<=2*Math.PI+Er;Zr+=Math.PI/16)or.push(Xn(Ht,$n(mo([1,0,0],Zr),this.getSize(g,Ht[2],0,q,0))));return or.push(or[0]),or}const de=[],ne=[];let B=0,X=0,ke=0,Ie=0;for(let Zt=1;Zt<q-1;Zt++){const Ht=R[Zt-1],or=R[Zt],Er=R[Zt+1];let Zr=or[2];const Kr=Fo(Ht,or);Ie+=Kr,B=X+.2*(Kr-X);const tn=this.getSize(g,Zr,Zt,q,Ie);if(tn===0){ke=Zt+1;continue}const nn=oo(ro(Ht,or)),Ur=oo(ro(Er,or)),Gr=mo(nn,Math.PI/2),Xr=mo(nn,-Math.PI/2),Yr=mo(Ur,Math.PI/2),cn=mo(Ur,-Math.PI/2),gn=Xn(or,$n(Gr,tn)),hn=Xn(or,$n(Xr,tn)),xn=Xn(or,$n(Yr,tn)),sn=Xn(or,$n(cn,tn)),on=Xn(Gr,cn),Sn=Xn(Xr,Yr),Nn=Xn(or,$n(Co(on)===0?nn:oo(on),tn)),Bn=Xn(or,$n(Co(Sn)===0?Ur:oo(Sn),tn)),Dn=Wo(Ho(or,Ht,Er)),In=Jo.constants.cornerDetectionMaxAngle/180*Math.PI*Jo.constants.cornerDetectionVariance(B);if(Math.abs(Dn)<In){const Rn=Math.abs(Wo(Math.PI-Dn));if(Rn===0)continue;if(Dn<0){ne.push(hn,Bn);for(let yn=0;yn<=Rn;yn+=Rn/4)de.push(Xn(or,mo($n(Gr,tn),yn)));for(let yn=Rn;yn>=0;yn-=Rn/4)ne.push(Xn(or,mo($n(Gr,tn),yn)));ne.push(Bn,xn)}else{de.push(gn,Nn);for(let yn=0;yn<=Rn;yn+=Rn/4)ne.push(Xn(or,mo($n(Gr,-tn),-yn)));for(let yn=Rn;yn>=0;yn-=Rn/4)de.push(Xn(or,mo($n(Gr,-tn),-yn)));de.push(Nn,sn)}}else de.push(Nn),ne.push(Bn);X=B}const Pe=R[ke],Fe=R[ke+1],Ge=R[q-2],qe=R[q-1];if(ke>=q-2)return[];const it=oo(ro(Fe,Pe)),st=oo(ro(Ge,qe)),kt=mo(it,-Math.PI/2),Lt=mo(st,Math.PI/2),bt=this.getSize(g,Pe[2],0,q,0),vt=[],jt=this.getSize(g,Ge[2],q-2,q,Ie),Nt=[];for(let Zt=0;Zt<=Math.PI;Zt+=Math.PI/16)vt.unshift(Xn(Pe,mo($n(kt,bt),-Zt)));vt.unshift(Xn(Pe,$n(kt,-bt)));for(let Zt=0;Zt<=Math.PI;Zt+=Math.PI/16)Nt.push(Xn(qe,mo($n(Lt,-jt),-Zt)));const Vt=[...vt,...de,...Nt.reverse(),...ne.reverse()];return vt.length>0&&Vt.push(vt[0]),this.options.simplify>0&&this.options.simplifyPhase==="output"?Ro(Vt,this.options.simplify):Vt}}var wa=e(957);function na(o,g){var R=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!R){if(Array.isArray(o)||(R=function(ke,Ie){if(ke){if(typeof ke=="string")return oa(ke,Ie);var Pe=Object.prototype.toString.call(ke).slice(8,-1);if(Pe==="Object"&&ke.constructor&&(Pe=ke.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ke);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return oa(ke,Ie)}}(o))||g&&o&&typeof o.length=="number"){R&&(o=R);var q=0,de=function(){};return{s:de,n:function(){return q>=o.length?{done:!0}:{done:!1,value:o[q++]}},e:function(ke){throw ke},f:de}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne,B=!0,X=!1;return{s:function(){R=R.call(o)},n:function(){var ke=R.next();return B=ke.done,ke},e:function(ke){X=!0,ne=ke},f:function(){try{B||R.return==null||R.return()}finally{if(X)throw ne}}}}function oa(o,g){(g==null||g>o.length)&&(g=o.length);for(var R=0,q=new Array(g);R<g;R++)q[R]=o[R];return q}var Di=1e3,Ai=function(o,g){return(o+g)/2};function ti(o){return 1-Math.pow(1-o,3)}function zo(){return{currentPath:void 0,finishedPaths:[],lastPoint:[-1e4,-1e4],svg:document.createElementNS("http://www.w3.org/2000/svg","path")}}function pi(){return Jo.constants.cornerDetectionMaxAngle=70,new Jo({simplify:0,streamline:.4,sizeMapping:function(o){var g=Math.max(0,1-(performance.now()-o.pressure)/1e3),R=(50-Math.min(50,o.totalLength-o.currentIndex))/50;return Math.min(ti(R),ti(g))}})}var bo=function(){function o(g){(0,I.Z)(this,o),this.app=g,this.collaboratorsState=new Map,this.isDrawing=!1,this.isRunning=!1,this.ownState=zo()}return(0,x.Z)(o,[{key:"destroy",value:function(){this.stop(),this.isDrawing=!1,this.ownState=zo(),this.collaboratorsState=new Map}},{key:"startPath",value:function(g,R){this.ownState.currentPath=pi(),this.ownState.currentPath.addPoint([g,R,performance.now()]),this.updatePath(this.ownState)}},{key:"addPointToPath",value:function(g,R){var q;this.ownState.currentPath&&((q=this.ownState.currentPath)===null||q===void 0||q.addPoint([g,R,performance.now()]),this.updatePath(this.ownState))}},{key:"endPath",value:function(){this.ownState.currentPath&&(this.ownState.currentPath.close(),this.ownState.finishedPaths.push(this.ownState.currentPath),this.updatePath(this.ownState))}},{key:"updatePath",value:function(g){this.isDrawing=!0,this.isRunning||this.start()}},{key:"start",value:function(g){g&&(this.container=g,this.container.appendChild(this.ownState.svg)),this.stop(),this.isRunning=!0,this.loop()}},{key:"stop",value:function(){this.isRunning=!1,this.rafId&&cancelAnimationFrame(this.rafId),this.rafId=void 0}},{key:"loop",value:function(){this.rafId=requestAnimationFrame(this.loop.bind(this)),this.updateCollabolatorsState(),this.isDrawing?this.update():this.isRunning=!1}},{key:"draw",value:function(g){var R=this;return function(q){var de=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],ne=q.length;if(ne<4)return"";for(var B=q[0],X=q[1],ke=q[2],Ie="M".concat(B[0].toFixed(2),",").concat(B[1].toFixed(2)," Q").concat(X[0].toFixed(2),",").concat(X[1].toFixed(2)," ").concat(Ai(X[0],ke[0]).toFixed(2),",").concat(Ai(X[1],ke[1]).toFixed(2)," T"),Pe=2,Fe=ne-1;Pe<Fe;Pe++)B=q[Pe],X=q[Pe+1],Ie+="".concat(Ai(B[0],X[0]).toFixed(2),",").concat(Ai(B[1],X[1]).toFixed(2)," ");return de&&(Ie+="Z"),Ie}(g.getStrokeOutline(g.options.size/this.app.state.zoom.value).map(function(q){var de=(0,w.Z)(q,2),ne=de[0],B=de[1],X=(0,d._i)({sceneX:ne,sceneY:B},R.app.state);return[X.x,X.y]}),!0)}},{key:"updateCollabolatorsState",value:function(){if(this.container&&this.app.state.collaborators.size){var g,R=na(this.app.state.collaborators.entries());try{for(R.s();!(g=R.n()).done;){var q=(0,w.Z)(g.value,2),de=q[0],ne=q[1];if(!this.collaboratorsState.has(de)){var B=zo();this.container.appendChild(B.svg),this.collaboratorsState.set(de,B),this.updatePath(B)}var X=this.collaboratorsState.get(de);ne.pointer&&ne.pointer.tool==="laser"&&(ne.button==="down"&&X.currentPath===void 0&&(X.lastPoint=[ne.pointer.x,ne.pointer.y],X.currentPath=pi(),X.currentPath.addPoint([ne.pointer.x,ne.pointer.y,performance.now()]),this.updatePath(X)),ne.button==="down"&&X.currentPath!==void 0&&(ne.pointer.x===X.lastPoint[0]&&ne.pointer.y===X.lastPoint[1]||(X.lastPoint=[ne.pointer.x,ne.pointer.y],X.currentPath.addPoint([ne.pointer.x,ne.pointer.y,performance.now()]),this.updatePath(X))),ne.button==="up"&&X.currentPath!==void 0&&(X.lastPoint=[ne.pointer.x,ne.pointer.y],X.currentPath.addPoint([ne.pointer.x,ne.pointer.y,performance.now()]),X.currentPath.close(),X.finishedPaths.push(X.currentPath),X.currentPath=void 0,this.updatePath(X)))}}catch(ke){R.e(ke)}finally{R.f()}}}},{key:"update",value:function(){var g=this;if(this.container){var R,q=!1,de=na(this.collaboratorsState.entries());try{for(de.s();!(R=de.n()).done;){var ne=(0,w.Z)(R.value,2),B=ne[0],X=ne[1];if(this.app.state.collaborators.has(B)){X.finishedPaths=X.finishedPaths.filter(function(Pe){var Fe=Pe.originalPoints[Pe.originalPoints.length-1];return!(Fe&&Fe[2]<performance.now()-Di)});var ke=X.finishedPaths.map(function(Pe){return g.draw(Pe)}).join(" ");X.currentPath&&(ke+=" ".concat(this.draw(X.currentPath))),ke.trim()&&(q=!0),X.svg.setAttribute("d",ke),X.svg.setAttribute("fill",(0,wa.G)(B))}else X.svg.remove(),this.collaboratorsState.delete(B)}}catch(Pe){de.e(Pe)}finally{de.f()}this.ownState.finishedPaths=this.ownState.finishedPaths.filter(function(Pe){var Fe=Pe.originalPoints[Pe.originalPoints.length-1];return!(Fe&&Fe[2]<performance.now()-Di)});var Ie=this.ownState.finishedPaths.map(function(Pe){return g.draw(Pe)}).join(" ");this.ownState.currentPath&&(Ie+=" ".concat(this.draw(this.ownState.currentPath))),(Ie=Ie.trim())&&(q=!0),this.ownState.svg.setAttribute("d",Ie),this.ownState.svg.setAttribute("fill","red"),q||(this.isDrawing=!1)}}}]),o}(),uo=function(){function o(g){var R;(0,I.Z)(this,o),this.subscribers=[],this.updateOnChangeOnly=(R=g?.updateOnChangeOnly)!==null&&R!==void 0&&R,this.value=g?.initialState}return(0,x.Z)(o,[{key:"on",value:function(){for(var g,R=this,q=arguments.length,de=new Array(q),ne=0;ne<q;ne++)de[ne]=arguments[ne];var B=de.flat().filter(function(X){return typeof X=="function"});return(g=this.subscribers).push.apply(g,(0,m.Z)(B)),function(){return R.off(B)}}},{key:"off",value:function(){for(var g=arguments.length,R=new Array(g),q=0;q<g;q++)R[q]=arguments[q];var de=R.flat();this.subscribers=this.subscribers.filter(function(ne){return!de.includes(ne)})}},{key:"trigger",value:function(){for(var g=arguments.length,R=new Array(g),q=0;q<g;q++)R[q]=arguments[q];return this.updateOnChangeOnly&&this.value===R?[]:(this.value=R,this.subscribers.map(function(de){return de.apply(void 0,R)}))}},{key:"destroy",value:function(){this.subscribers=[],this.value=void 0}}]),o}();function Io(o,g){var R=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!R){if(Array.isArray(o)||(R=function(ke,Ie){if(ke){if(typeof ke=="string")return hi(ke,Ie);var Pe=Object.prototype.toString.call(ke).slice(8,-1);if(Pe==="Object"&&ke.constructor&&(Pe=ke.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ke);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return hi(ke,Ie)}}(o))||g&&o&&typeof o.length=="number"){R&&(o=R);var q=0,de=function(){};return{s:de,n:function(){return q>=o.length?{done:!0}:{done:!1,value:o[q++]}},e:function(ke){throw ke},f:de}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne,B=!0,X=!1;return{s:function(){R=R.call(o)},n:function(){var ke=R.next();return B=ke.done,ke},e:function(ke){X=!0,ne=ke},f:function(){try{B||R.return==null||R.return()}finally{if(X)throw ne}}}}function hi(o,g){(g==null||g>o.length)&&(g=o.length);for(var R=0,q=new Array(g);R<g;R++)q[R]=o[R];return q}function Li(o){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var R,q=(0,N.Z)(o);if(g){var de=(0,N.Z)(this).constructor;R=Reflect.construct(q,arguments,de)}else R=q.apply(this,arguments);return(0,Z.Z)(this,R)}}function Dr(o,g){var R=Object.keys(o);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(o);g&&(q=q.filter(function(de){return Object.getOwnPropertyDescriptor(o,de).enumerable})),R.push.apply(R,q)}return R}function Ar(o){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?Dr(Object(R),!0).forEach(function(q){(0,W.Z)(o,q,R[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(R)):Dr(Object(R)).forEach(function(q){Object.defineProperty(o,q,Object.getOwnPropertyDescriptor(R,q))})}return o}var mi=ce().createContext(null),gi=ce().createContext(null),vi={viewport:{isMobile:!1,isLandscape:!1},editor:{isMobile:!1,canFitSidebar:!1},isTouchScreen:!1},Gi=ce().createContext(vi);Gi.displayName="DeviceContext";var Pa=ce().createContext({container:null,id:null});Pa.displayName="ExcalidrawContainerContext";var Ta=ce().createContext([]);Ta.displayName="ExcalidrawElementsContext";var Da=ce().createContext(Ar(Ar({},(0,E.im)()),{},{width:0,height:0,offsetLeft:0,offsetTop:0}));Da.displayName="ExcalidrawAppStateContext";var Aa=ce().createContext(function(){console.warn("unitialized ExcalidrawSetAppStateContext context!")});Aa.displayName="ExcalidrawSetAppStateContext";var La=ce().createContext(null);La.displayName="ExcalidrawActionManagerContext";var Ua=function(){return(0,J.useContext)(mi)},Za=function(){return(0,J.useContext)(gi)},ka=function(){return(0,J.useContext)(Gi)},Ka=function(){return(0,J.useContext)(Pa)},$a=function(){return(0,J.useContext)(Ta)},qa=function(){return(0,J.useContext)(Da)},Ga=function(){return(0,J.useContext)(Aa)},Ya=function(){return(0,J.useContext)(La)},Ea=typeof window<"u"&&"ResizeObserver"in window,ia=!1,Zi=0,bi=!1,aa=!1,Ra=!1,Ei={horizontal:null,vertical:null},ai=0,la=!1,za=new Map,Va=!1,Ja=0,Ri=!1,Gn=null,eo={pointers:new Map,lastCenter:null,initialDistance:null,initialScale:null},Qa=function(o){(0,f.Z)(ne,o);var g,R,q,de=Li(ne);function ne(B){var X;(0,I.Z)(this,ne),X=de.call(this,B),nl.call((0,c.Z)(X));var ke,Ie=(0,E.im)(),Pe=B.excalidrawAPI,Fe=B.viewModeEnabled,Ge=Fe!==void 0&&Fe,qe=B.zenModeEnabled,it=qe!==void 0&&qe,st=B.gridModeEnabled,kt=st!==void 0&&st,Lt=B.objectsSnapModeEnabled,bt=Lt!==void 0&&Lt,vt=B.theme,jt=vt===void 0?Ie.theme:vt,Nt=B.name,Vt=Nt===void 0?Ie.name:Nt;if(X.state=Ar(Ar(Ar({},Ie),{},{theme:jt,isLoading:!0},X.getCanvasOffsets()),{},{viewModeEnabled:Ge,zenModeEnabled:it,objectsSnapModeEnabled:bt,gridSize:kt?r.k:null,name:Vt,width:window.innerWidth,height:window.innerHeight}),X.id=(0,G.x0)(),X.library=new ee.ZP((0,c.Z)(X)),X.scene=new j.Z,X.canvas=document.createElement("canvas"),X.rc=ve.Z.canvas(X.canvas),X.renderer=new Fr(X.scene),Pe){var Zt={updateScene:X.updateScene,updateLibrary:X.library.updateLibrary,addFiles:X.addFiles,resetScene:X.resetScene,getSceneElementsIncludingDeleted:X.getSceneElementsIncludingDeleted,history:{clear:X.resetHistory},scrollToContent:X.scrollToContent,getSceneElements:X.getSceneElements,getAppState:function(){return X.state},getFiles:function(){return X.files},refresh:X.refresh,setToast:X.setToast,id:X.id,setActiveTool:X.setActiveTool,setCursor:X.setCursor,resetCursor:X.resetCursor,updateFrameRendering:X.updateFrameRendering,toggleSidebar:X.toggleSidebar,onChange:function(Ht){return X.onChangeEmitter.on(Ht)},onPointerDown:function(Ht){return X.onPointerDownEmitter.on(Ht)},onPointerUp:function(Ht){return X.onPointerUpEmitter.on(Ht)}};typeof Pe=="function"?Pe(Zt):console.error("excalidrawAPI should be a function!")}return X.excalidrawContainerValue={container:X.excalidrawContainerRef.current,id:X.id},X.fonts=new so({scene:X.scene,onSceneUpdated:X.onSceneUpdated}),X.history=new Oe,X.actionManager=new L(X.syncActionResult,function(){return X.state},function(){return X.scene.getElementsIncludingDeleted()},(0,c.Z)(X)),X.actionManager.registerAll(_.N),X.actionManager.registerAction((ke=X.history,{name:"undo",trackEvent:{category:"history"},perform:function(Ht,or){return l(Ht,or,function(){return ke.undoOnce()})},keyTest:function(Ht){return Ht[b.tW.CTRL_OR_CMD]&&Ht.key.toLowerCase()===b.tW.Z&&!Ht.shiftKey},PanelComponent:function(Ht){var or=Ht.updateData,Er=Ht.data;return(0,n.jsx)(M.V,{type:"button",icon:H.UE,"aria-label":(0,A.t)("buttons.undo"),onClick:or,size:Er?.size||"medium"})},commitToHistory:function(){return!1}})),X.actionManager.registerAction(function(Ht){return{name:"redo",trackEvent:{category:"history"},perform:function(or,Er){return l(or,Er,function(){return Ht.redoOnce()})},keyTest:function(or){return or[b.tW.CTRL_OR_CMD]&&or.shiftKey&&or.key.toLowerCase()===b.tW.Z||r.ED&&or.ctrlKey&&!or.shiftKey&&or.key===b.tW.Y},PanelComponent:function(or){var Er=or.updateData,Zr=or.data;return(0,n.jsx)(M.V,{type:"button",icon:H.zG,"aria-label":(0,A.t)("buttons.redo"),onClick:Er,size:Zr?.size||"medium"})},commitToHistory:function(){return!1}}}(X.history)),X}return(0,x.Z)(ne,[{key:"onWindowMessage",value:function(B){if(B.origin==="https://player.vimeo.com"||B.origin==="https://www.youtube.com"){var X=null;try{X=JSON.parse(B.data)}catch{}if(X)switch(B.origin){case"https://player.vimeo.com":if(X.method==="paused"){var ke,Ie=null,Pe=document.body.querySelectorAll("iframe.excalidraw__embeddable");if(!Pe)break;var Fe,Ge=Io(Pe);try{for(Ge.s();!(Fe=Ge.n()).done;){var qe=Fe.value;qe.contentWindow===B.source&&(Ie=qe.contentWindow)}}catch(kt){Ge.e(kt)}finally{Ge.f()}(ke=Ie)===null||ke===void 0||ke.postMessage(JSON.stringify({method:X.value?"play":"pause",value:!0}),"*")}break;case"https://www.youtube.com":if(X.event==="infoDelivery"&&X.info&&X.id&&typeof X.info.playerState=="number"){var it=X.id,st=X.info.playerState;Object.values(r.vf).includes(st)&&za.set(it,st)}}}}},{key:"updateEmbeddableRef",value:function(B,X){X&&this.iFrameRefs.set(B,X)}},{key:"getHTMLIFrameElement",value:function(B){return this.iFrameRefs.get(B)}},{key:"handleEmbeddableCenterClick",value:function(B){var X,ke,Ie,Pe,Fe=this;if(((X=this.state.activeEmbeddable)===null||X===void 0?void 0:X.element)!==B||((ke=this.state.activeEmbeddable)===null||ke===void 0?void 0:ke.state)!=="active"){setTimeout(function(){Fe.setState({activeEmbeddable:{element:B,state:"active"},selectedElementIds:(0,W.Z)({},B.id,!0),draggingElement:null,selectionElement:null})},100);var Ge=this.getHTMLIFrameElement(B.id);if(Ge!=null&&Ge.contentWindow){if(Ge.src.includes("youtube")){var qe=za.get(B.id);switch(qe||(za.set(B.id,r.vf.UNSTARTED),Ge.contentWindow.postMessage(JSON.stringify({event:"listening",id:B.id}),"*")),qe){case r.vf.PLAYING:case r.vf.BUFFERING:(Ie=Ge.contentWindow)===null||Ie===void 0||Ie.postMessage(JSON.stringify({event:"command",func:"pauseVideo",args:""}),"*");break;default:(Pe=Ge.contentWindow)===null||Pe===void 0||Pe.postMessage(JSON.stringify({event:"command",func:"playVideo",args:""}),"*")}}Ge.src.includes("player.vimeo.com")&&Ge.contentWindow.postMessage(JSON.stringify({method:"paused"}),"*")}}}},{key:"isEmbeddableCenter",value:function(B,X,ke,Ie){var Pe,Fe;return B&&!X.altKey&&!X.shiftKey&&!X.metaKey&&!X.ctrlKey&&(((Pe=this.state.activeEmbeddable)===null||Pe===void 0?void 0:Pe.element)!==B||((Fe=this.state.activeEmbeddable)===null||Fe===void 0?void 0:Fe.state)==="hover"||!this.state.activeEmbeddable)&&ke>=B.x+B.width/3&&ke<=B.x+2*B.width/3&&Ie>=B.y+B.height/3&&Ie<=B.y+2*B.height/3}},{key:"renderEmbeddables",value:function(){var B=this,X=this.state.zoom.value,ke=this.state.width,Ie=this.state.height,Pe=this.scene.getNonDeletedElements().filter(function(Fe){return(0,V.gs)(Fe)&&!!Fe.validated});return(0,n.jsx)(n.Fragment,{children:Pe.map(function(Fe){var Ge,qe,it,st,kt,Lt,bt,vt,jt=(0,d._i)({sceneX:Fe.x,sceneY:Fe.y},B.state),Nt=jt.x,Vt=jt.y,Zt=(0,O.LM)((0,Mi.ye)(Fe.link||"")),Ht=(0,ge.PZ)(Fe,ke,Ie,B.state),or=((Ge=B.state.activeEmbeddable)===null||Ge===void 0?void 0:Ge.element)===Fe&&((qe=B.state.activeEmbeddable)===null||qe===void 0?void 0:qe.state)==="active",Er=((it=B.state.activeEmbeddable)===null||it===void 0?void 0:it.element)===Fe&&((st=B.state.activeEmbeddable)===null||st===void 0?void 0:st.state)==="hover";return(0,n.jsx)("div",{className:(0,le.Z)("excalidraw__embeddable-container",{"is-hovered":Er}),style:(0,W.Z)({transform:Ht?"translate(".concat(Nt-B.state.offsetLeft,"px, ").concat(Vt-B.state.offsetTop,"px) scale(").concat(X,")"):"none",display:Ht?"block":"none",opacity:Fe.opacity/100},"--embeddable-radius","".concat((0,ue.yW)(Math.min(Fe.width,Fe.height),Fe),"px")),children:(0,n.jsxs)("div",{className:"excalidraw__embeddable-container__inner",style:{width:Ht?"".concat(Fe.width,"px"):0,height:Ht?"".concat(Fe.height,"px"):0,transform:Ht?"rotate(".concat(Fe.angle,"rad)"):"none",pointerEvents:or?r.XI.enabled:r.XI.disabled},children:[Er&&(0,n.jsx)("div",{className:"excalidraw__embeddable-hint",children:(0,A.t)("buttons.embeddableInteractionButton")}),(0,n.jsx)("div",{className:"excalidraw__embeddable__outer",style:{padding:"".concat(Fe.strokeWidth,"px")},children:(kt=(Lt=(bt=B.props).renderEmbeddable)===null||Lt===void 0?void 0:Lt.call(bt,Fe,B.state))!==null&&kt!==void 0?kt:(0,n.jsx)("iframe",{ref:function(Zr){return B.updateEmbeddableRef(Fe.id,Zr)},className:"excalidraw__embeddable",srcDoc:Zt?.type==="document"?Zt.srcdoc(B.state.theme):void 0,src:Zt?.type!=="document"?(vt=Zt?.link)!==null&&vt!==void 0?vt:"":void 0,scrolling:"no",referrerPolicy:"no-referrer-when-downgrade",title:"Excalidraw Embedded Content",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,sandbox:"allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-downloads"})})]})},Fe.id)})})}},{key:"render",value:function(){var B,X,ke,Ie=this,Pe=this.scene.getSelectedElements(this.state),Fe=this.props,Ge=Fe.renderTopRightUI,qe=Fe.renderCustomStats,it=this.scene.getVersionNonce(),st=this.renderer.getRenderableElements({versionNonce:it,zoom:this.state.zoom,offsetLeft:this.state.offsetLeft,offsetTop:this.state.offsetTop,scrollX:this.state.scrollX,scrollY:this.state.scrollY,height:this.state.height,width:this.state.width,editingElement:this.state.editingElement,pendingImageElementId:this.state.pendingImageElementId}),kt=st.canvasElements,Lt=st.visibleElements,bt=!(this.state.editingElement&&(0,V.bt)(this.state.editingElement))&&(this.state.selectionElement||this.state.draggingElement||this.state.resizingElement||this.state.activeTool.type==="laser"&&this.state.cursorButton==="down"||this.state.editingElement&&!(0,re.iB)(this.state.editingElement));return(0,n.jsx)("div",{className:(0,le.Z)("excalidraw excalidraw-container",{"excalidraw--view-mode":this.state.viewModeEnabled,"excalidraw--mobile":this.device.editor.isMobile}),style:(0,W.Z)({},"--ui-pointerEvents",bt?r.XI.disabled:r.XI.enabled),ref:this.excalidrawContainerRef,onDrop:this.handleAppOnDrop,tabIndex:0,onKeyDown:this.props.handleKeyboardGlobally?void 0:this.onKeyDown,children:(0,n.jsx)(mi.Provider,{value:this,children:(0,n.jsx)(gi.Provider,{value:this.props,children:(0,n.jsx)(Pa.Provider,{value:this.excalidrawContainerValue,children:(0,n.jsx)(Gi.Provider,{value:this.device,children:(0,n.jsx)(Aa.Provider,{value:this.setAppState,children:(0,n.jsx)(Da.Provider,{value:this.state,children:(0,n.jsxs)(Ta.Provider,{value:this.scene.getNonDeletedElements(),children:[(0,n.jsxs)(La.Provider,{value:this.actionManager,children:[(0,n.jsxs)(Fi,{canvas:this.canvas,appState:this.state,files:this.files,setAppState:this.setAppState,actionManager:this.actionManager,elements:this.scene.getNonDeletedElements(),onLockToggle:this.toggleLock,onPenModeToggle:this.togglePenMode,onHandToolToggle:this.onHandToolToggle,langCode:(0,A.G3)().code,renderTopRightUI:Ge,renderCustomStats:qe,showExitZenModeBtn:((B=this.props)===null||B===void 0?void 0:B.zenModeEnabled)===void 0&&this.state.zenModeEnabled,UIOptions:this.props.UIOptions,onExportImage:this.onExportImage,renderWelcomeScreen:!this.state.isLoading&&this.state.showWelcomeScreen&&this.state.activeTool.type==="selection"&&!this.state.zenModeEnabled&&!this.scene.getElementsIncludingDeleted().length,app:this,isCollaborating:this.props.isCollaborating,children:[this.props.children,this.state.openDialog==="mermaid"&&(0,n.jsx)(pn,{})]}),(0,n.jsx)("div",{className:"excalidraw-textEditorContainer"}),(0,n.jsx)("div",{className:"excalidraw-contextMenuContainer"}),(0,n.jsx)("div",{className:"excalidraw-eye-dropper-container"}),(0,n.jsx)(lo,{manager:this.laserPathManager}),Pe.length===1&&!this.state.contextMenu&&this.state.showHyperlinkPopup&&(0,n.jsx)(Yo.nW,{element:Pe[0],setAppState:this.setAppState,onLinkOpen:this.props.onLinkOpen,setToast:this.setToast},Pe[0].id),this.state.toast!==null&&(0,n.jsx)(pa,{message:this.state.toast.message,onClose:function(){return Ie.setToast(null)},duration:this.state.toast.duration,closable:this.state.toast.closable}),this.state.contextMenu&&(0,n.jsx)(Ye,{items:this.state.contextMenu.items,top:this.state.contextMenu.top,left:this.state.contextMenu.left,actionManager:this.actionManager,onClose:function(vt){Ie.setState({contextMenu:null},function(){Ie.focusContainer(),vt?.()})}}),(0,n.jsx)(Sr,{canvas:this.canvas,rc:this.rc,elements:kt,visibleElements:Lt,versionNonce:it,selectionNonce:(X=this.state.selectionElement)===null||X===void 0?void 0:X.versionNonce,scale:window.devicePixelRatio,appState:this.state,renderConfig:{imageCache:this.imageCache,isExporting:!1,renderGrid:!0}}),(0,n.jsx)(lr,{containerRef:this.excalidrawContainerRef,canvas:this.interactiveCanvas,elements:kt,visibleElements:Lt,selectedElements:Pe,versionNonce:it,selectionNonce:(ke=this.state.selectionElement)===null||ke===void 0?void 0:ke.versionNonce,scale:window.devicePixelRatio,appState:this.state,renderInteractiveSceneCallback:this.renderInteractiveSceneCallback,handleCanvasRef:this.handleInteractiveCanvasRef,onContextMenu:this.handleCanvasContextMenu,onPointerMove:this.handleCanvasPointerMove,onPointerUp:this.handleCanvasPointerUp,onPointerCancel:this.removePointer,onTouchMove:this.handleTouchMove,onPointerDown:this.handleCanvasPointerDown,onDoubleClick:this.handleCanvasDoubleClick}),this.renderFrameNames()]}),this.renderEmbeddables()]})})})})})})})})}},{key:"componentDidMount",value:(q=(0,v.Z)(S().mark(function B(){var X,ke=this;return S().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:this.unmounted=!1,this.excalidrawContainerValue.container=this.excalidrawContainerRef.current,r.Vi.TEST==="production"&&(this.setState.bind(this),Object.defineProperties(window.h,{state:{configurable:!0,get:function(){return ke.state}},setState:{configurable:!0,value:function(){return ke.setState.apply(ke,arguments)}},app:{configurable:!0,value:this},history:{configurable:!0,value:this.history}})),this.scene.addCallback(this.onSceneUpdated),this.addEventListeners(),this.props.autoFocus&&this.excalidrawContainerRef.current&&this.focusContainer(),(0,d.h2)()||(this.refreshViewportBreakpoints(),this.refreshEditorBreakpoints()),Ea&&this.excalidrawContainerRef.current&&(this.resizeObserver=new ResizeObserver(function(){ke.refreshEditorBreakpoints(),ke.updateDOMRect()}),(X=this.resizeObserver)===null||X===void 0||X.observe(this.excalidrawContainerRef.current)),new URLSearchParams(window.location.search.slice(1)).has("web-share-target")?this.restoreFileFromShare():this.updateDOMRect(this.initializeScene),(0,r.jP)()&&!(0,ut.eB)()&&this.setState({errorMessage:(0,n.jsx)(Dt,{})});case 11:case"end":return Ie.stop()}},B,this)})),function(){return q.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){var B;this.renderer.destroy(),this.scene=new j.Z,this.renderer=new Fr(this.scene),this.files={},this.imageCache.clear(),(B=this.resizeObserver)===null||B===void 0||B.disconnect(),this.unmounted=!0,this.removeEventListeners(),this.scene.destroy(),this.library.destroy(),this.laserPathManager.destroy(),this.onChangeEmitter.destroy(),oi.R.destroy(),Qn.destroy(),clearTimeout(ai),se.N.clearCache(),Re.bO.clearCache(),ai=0}},{key:"removeEventListeners",value:function(){var B,X,ke,Ie;document.removeEventListener(r.Ks.POINTER_UP,this.removePointer),document.removeEventListener(r.Ks.COPY,this.onCopy),document.removeEventListener(r.Ks.PASTE,this.pasteFromClipboard),document.removeEventListener(r.Ks.CUT,this.onCut),(B=this.excalidrawContainerRef.current)===null||B===void 0||B.removeEventListener(r.Ks.WHEEL,this.onWheel),(X=this.nearestScrollableContainer)===null||X===void 0||X.removeEventListener(r.Ks.SCROLL,this.onScroll),document.removeEventListener(r.Ks.KEYDOWN,this.onKeyDown,!1),document.removeEventListener(r.Ks.MOUSE_MOVE,this.updateCurrentCursorPosition,!1),document.removeEventListener(r.Ks.KEYUP,this.onKeyUp),window.removeEventListener(r.Ks.RESIZE,this.onResize,!1),window.removeEventListener(r.Ks.UNLOAD,this.onUnload,!1),window.removeEventListener(r.Ks.BLUR,this.onBlur,!1),(ke=this.excalidrawContainerRef.current)===null||ke===void 0||ke.removeEventListener(r.Ks.DRAG_OVER,this.disableEvent,!1),(Ie=this.excalidrawContainerRef.current)===null||Ie===void 0||Ie.removeEventListener(r.Ks.DROP,this.disableEvent,!1),document.removeEventListener(r.Ks.GESTURE_START,this.onGestureStart,!1),document.removeEventListener(r.Ks.GESTURE_CHANGE,this.onGestureChange,!1),document.removeEventListener(r.Ks.GESTURE_END,this.onGestureEnd,!1),window.removeEventListener(r.Ks.MESSAGE,this.onWindowMessage,!1)}},{key:"addEventListeners",value:function(){var B,X,ke,Ie,Pe,Fe=this;this.removeEventListeners(),window.addEventListener(r.Ks.MESSAGE,this.onWindowMessage,!1),document.addEventListener(r.Ks.POINTER_UP,this.removePointer),document.addEventListener(r.Ks.COPY,this.onCopy),(B=this.excalidrawContainerRef.current)===null||B===void 0||B.addEventListener(r.Ks.WHEEL,this.onWheel,{passive:!1}),this.props.handleKeyboardGlobally&&document.addEventListener(r.Ks.KEYDOWN,this.onKeyDown,!1),document.addEventListener(r.Ks.KEYUP,this.onKeyUp,{passive:!0}),document.addEventListener(r.Ks.MOUSE_MOVE,this.updateCurrentCursorPosition),(X=document.fonts)===null||X===void 0||(ke=X.addEventListener)===null||ke===void 0||ke.call(X,"loadingdone",function(Ge){var qe=Ge.fontfaces;Fe.fonts.onFontsLoaded(qe)}),document.addEventListener(r.Ks.GESTURE_START,this.onGestureStart,!1),document.addEventListener(r.Ks.GESTURE_CHANGE,this.onGestureChange,!1),document.addEventListener(r.Ks.GESTURE_END,this.onGestureEnd,!1),this.state.viewModeEnabled||(document.addEventListener(r.Ks.PASTE,this.pasteFromClipboard),document.addEventListener(r.Ks.CUT,this.onCut),this.props.detectScroll&&(this.nearestScrollableContainer=(0,d.Ip)(this.excalidrawContainerRef.current),this.nearestScrollableContainer.addEventListener(r.Ks.SCROLL,this.onScroll)),window.addEventListener(r.Ks.RESIZE,this.onResize,!1),window.addEventListener(r.Ks.UNLOAD,this.onUnload,!1),window.addEventListener(r.Ks.BLUR,this.onBlur,!1),(Ie=this.excalidrawContainerRef.current)===null||Ie===void 0||Ie.addEventListener(r.Ks.DRAG_OVER,this.disableEvent,!1),(Pe=this.excalidrawContainerRef.current)===null||Pe===void 0||Pe.addEventListener(r.Ks.DROP,this.disableEvent,!1))}},{key:"componentDidUpdate",value:function(B,X){var ke,Ie,Pe,Fe,Ge=this;this.updateEmbeddables(),this.state.showWelcomeScreen||this.scene.getElementsIncludingDeleted().length||this.setState({showWelcomeScreen:!0}),B.UIOptions.dockedSidebarBreakpoint!==this.props.UIOptions.dockedSidebarBreakpoint&&this.refreshEditorBreakpoints(),(X.scrollX!==this.state.scrollX||X.scrollY!==this.state.scrollY)&&((Pe=this.props)===null||Pe===void 0||(Fe=Pe.onScrollChange)===null||Fe===void 0||Fe.call(Pe,this.state.scrollX,this.state.scrollY)),Object.keys(this.state.selectedElementIds).length&&(0,E.EN)(this.state)&&this.setState({activeTool:(0,d.Om)(this.state,{type:"selection"})}),this.state.activeTool.type==="eraser"&&X.theme!==this.state.theme&&(0,Tn.OF)(this.interactiveCanvas,this.state.theme),X.activeTool.type==="selection"&&this.state.activeTool.type!=="selection"&&this.state.showHyperlinkPopup&&this.setState({showHyperlinkPopup:!1}),B.langCode!==this.props.langCode&&this.updateLanguage(),B.viewModeEnabled!==this.props.viewModeEnabled&&this.setState({viewModeEnabled:!!this.props.viewModeEnabled}),X.viewModeEnabled!==this.state.viewModeEnabled&&(this.addEventListeners(),this.deselectElements()),B.zenModeEnabled!==this.props.zenModeEnabled&&this.setState({zenModeEnabled:!!this.props.zenModeEnabled}),B.theme!==this.props.theme&&this.props.theme&&this.setState({theme:this.props.theme}),B.gridModeEnabled!==this.props.gridModeEnabled&&this.setState({gridSize:this.props.gridModeEnabled?r.k:null}),this.props.name&&B.name!==this.props.name&&this.setState({name:this.props.name}),(ke=this.excalidrawContainerRef.current)===null||ke===void 0||ke.classList.toggle("theme--dark",this.state.theme==="dark"),this.state.editingLinearElement&&!this.state.selectedElementIds[this.state.editingLinearElement.elementId]&&setTimeout(function(){Ge.state.editingLinearElement&&Ge.actionManager.executeAction(U.pL)}),(Ie=this.state.editingElement)!==null&&Ie!==void 0&&Ie.isDeleted&&this.setState({editingElement:null}),this.state.selectedLinearElement&&!this.state.selectedElementIds[this.state.selectedLinearElement.elementId]&&this.setState({selectedLinearElement:null});var qe,it,st=X.multiElement;X.activeTool!==this.state.activeTool&&st!=null&&(0,h.N1)(this.state)&&(0,V.Mn)(st,!1)&&(0,h.R)(st,this.state,this.scene,(0,d.AK)(oe._.getPointAtIndexGlobalCoordinates(st,-1))),this.history.record(this.state,this.scene.getElementsIncludingDeleted()),this.state.isLoading||((qe=(it=this.props).onChange)===null||qe===void 0||qe.call(it,this.scene.getElementsIncludingDeleted(),this.state,this.files),this.onChangeEmitter.trigger(this.scene.getElementsIncludingDeleted(),this.state,this.files))}},{key:"addElementsFromMixedContentPaste",value:(R=(0,v.Z)(S().mark(function B(X,ke){var Ie,Pe,Fe,Ge,qe,it,st,kt,Lt,bt,vt,jt,Nt,Vt,Zt;return S().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:if(Ie=ke.isPlainPaste,Pe=ke.sceneX,Fe=ke.sceneY,Ie||!X.some(function(or){return or.type==="imageUrl"})||!this.isToolSupported("image")){Ht.next=35;break}return Ge=X.filter(function(or){return or.type==="imageUrl"}).map(function(or){return or.value}),Ht.next=5,Promise.all(Ge.map(function(){var or=(0,v.Z)(S().mark(function Er(Zr){return S().wrap(function(Kr){for(;;)switch(Kr.prev=Kr.next){case 0:return Kr.prev=0,Kr.next=3,(0,tr._p)(Zr);case 3:return Kr.t0=Kr.sent,Kr.abrupt("return",{file:Kr.t0});case 7:return Kr.prev=7,Kr.t1=Kr.catch(0),Kr.abrupt("return",{errorMessage:Kr.t1.message});case 10:case"end":return Kr.stop()}},Er,null,[[0,7]])}));return function(Er){return or.apply(this,arguments)}}()));case 5:qe=Ht.sent,it=Fe,st=!1,kt={},Lt=Io(qe),Ht.prev=10,Lt.s();case 12:if((bt=Lt.n()).done){Ht.next=22;break}if(!(vt=bt.value).file){Ht.next=20;break}return jt=this.createImageElement({sceneX:Pe,sceneY:it}),Ht.next=18,this.insertImageElement(jt,vt.file);case 18:(Nt=Ht.sent)&&(st||(st=!0,it-=Nt.height/2),(0,y.DR)(Nt,{y:it},!1),it=jt.y+jt.height+25,kt[jt.id]=!0);case 20:Ht.next=12;break;case 22:Ht.next=27;break;case 24:Ht.prev=24,Ht.t0=Ht.catch(10),Lt.e(Ht.t0);case 27:return Ht.prev=27,Lt.f(),Ht.finish(27);case 30:this.setState({selectedElementIds:(0,Vn.Oh)(kt,this.state)}),Vt=qe.find(function(or){return!!or.errorMessage}),Vt&&Vt.errorMessage&&this.setState({errorMessage:Vt.errorMessage}),Ht.next=37;break;case 35:(Zt=X.filter(function(or){return or.type==="text"})).length&&this.addTextFromPaste(Zt.map(function(or){return or.value}).join(` + +`),Ie);case 37:case"end":return Ht.stop()}},B,this,[[10,24,27,30]])})),function(B,X){return R.apply(this,arguments)})},{key:"addTextFromPaste",value:function(B){var X=this,ke=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Ie=(0,d.dE)({clientX:this.lastViewportPosition.x,clientY:this.lastViewportPosition.y},this.state),Pe=Ie.x,Fe=Ie.y,Ge={x:Pe,y:Fe,strokeColor:this.state.currentItemStrokeColor,backgroundColor:this.state.currentItemBackgroundColor,fillStyle:this.state.currentItemFillStyle,strokeWidth:this.state.currentItemStrokeWidth,strokeStyle:this.state.currentItemStrokeStyle,roundness:null,roughness:this.state.currentItemRoughness,opacity:this.state.currentItemOpacity,text:B,fontSize:this.state.currentItemFontSize,fontFamily:this.state.currentItemFontFamily,textAlign:this.state.currentItemTextAlign,verticalAlign:r.hs,locked:!1},qe=10,it=Fe,st=ke?[B]:B.split(` +`),kt=st.reduce(function(bt,vt,jt){var Nt=vt.trim(),Vt=(0,ut.PT)(Ge.fontFamily);if(Nt.length){var Zt=X.getTopLayerFrameAtSceneCoords({x:Pe,y:it}),Ht=(0,re.VL)(Ar(Ar({},Ge),{},{x:Pe,y:it,text:Nt,lineHeight:Vt,frameId:Zt?Zt.id:null}));bt.push(Ht),it+=Ht.height+qe}else{var or;!((or=st[jt-1])===null||or===void 0)&&or.trim()&&(it+=(0,ut.Rg)(Ge.fontSize,Vt)+qe)}return bt},[]);if(kt.length!==0){var Lt=kt[0].frameId;Lt?this.scene.insertElementsAtIndex(kt,this.scene.getElementIndex(Lt)):this.scene.replaceAllElements([].concat((0,m.Z)(this.scene.getElementsIncludingDeleted()),(0,m.Z)(kt))),this.setState({selectedElementIds:(0,Vn.Oh)(Object.fromEntries(kt.map(function(bt){return[bt.id,!0]})),this.state)}),!ke&&kt.length>1&&Ri===!1&&!this.device.editor.isMobile&&(this.setToast({message:(0,A.t)("toast.pasteAsSingleElement",{shortcut:(0,d.uY)("CtrlOrCmd+Shift+V")}),duration:5e3}),Ri=!0),this.history.resumeRecording()}}},{key:"handleTextWysiwyg",value:function(B,X){var ke=this,Ie=X.isExistingElement,Pe=Ie!==void 0&&Ie,Fe=function(Ge,qe,it){ke.scene.replaceAllElements((0,m.Z)(ke.scene.getElementsIncludingDeleted().map(function(st){return st.id===B.id&&(0,re.iB)(st)?(0,re.N_)(st,{text:Ge,isDeleted:it,originalText:qe}):st})))};(0,re.b_)({id:B.id,canvas:this.canvas,getViewportCoords:function(Ge,qe){var it=(0,d._i)({sceneX:Ge,sceneY:qe},ke.state),st=it.x,kt=it.y;return[st-ke.state.offsetLeft,kt-ke.state.offsetTop]},onChange:(0,d.tH)(function(Ge){Fe(Ge,Ge,!1),(0,re.qP)(B)&&(0,h.Ww)(B)}),onSubmit:(0,d.tH)(function(Ge){var qe=Ge.text,it=Ge.viaKeyboard,st=Ge.originalText,kt=!qe.trim();if(Fe(qe,st,kt),!kt&&it){var Lt=B.containerId?B.containerId:B.id;ke.setState(function(bt){return{selectedElementIds:(0,Vn.Oh)(Ar(Ar({},bt.selectedElementIds),{},(0,W.Z)({},Lt,!0)),bt)}})}kt&&(0,h.$q)(ke.scene.getNonDeletedElements(),[B]),kt&&!Pe||ke.history.resumeRecording(),ke.setState({draggingElement:null,editingElement:null}),ke.state.activeTool.locked&&(0,Tn.Uk)(ke.interactiveCanvas,ke.state),ke.focusContainer()}),element:B,excalidrawContainer:this.excalidrawContainerRef.current,app:this}),this.deselectElements(),Fe(B.text,B.originalText,!1)}},{key:"deselectElements",value:function(){this.setState({selectedElementIds:(0,Vn.Oh)({},this.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null})}},{key:"getTextElementAtPosition",value:function(B,X){var ke=this.getElementAtPosition(B,X,{includeBoundTextElement:!0});return ke&&(0,re.iB)(ke)&&!ke.isDeleted?ke:null}},{key:"getElementAtPosition",value:function(B,X,ke){var Ie=this.getElementsAtPosition(B,X,ke?.includeBoundTextElement,ke?.includeLockedElements);if(Ie.length>1){if(ke!=null&&ke.preferSelected){for(var Pe=Ie.length-1;Pe>-1;Pe--)if(this.state.selectedElementIds[Ie[Pe].id])return Ie[Pe]}var Fe=Ie[Ie.length-1];return(0,re.wB)(Fe,this.state,this.frameNameBoundsCache,B,X)?Ie[Ie.length-2]:Fe}return Ie.length===1?Ie[0]:null}},{key:"getElementsAtPosition",value:function(B,X){var ke=this,Ie=arguments.length>2&&arguments[2]!==void 0&&arguments[2],Pe=arguments.length>3&&arguments[3]!==void 0&&arguments[3],Fe=Ie&&Pe?this.scene.getNonDeletedElements():this.scene.getNonDeletedElements().filter(function(Ge){return(Pe||!Ge.locked)&&(Ie||!((0,re.iB)(Ge)&&Ge.containerId))});return(0,se.CJ)(Fe,function(Ge){return(0,re.wX)(Ge,ke.state,ke.frameNameBoundsCache,B,X)}).filter(function(Ge){var qe=(0,bn.$Z)(Ge);return!(qe&&ke.state.frameRendering.enabled&&ke.state.frameRendering.clip)||(0,bn.Dn)({x:B,y:X},qe)})}},{key:"handleHoverSelectedLinearElement",value:function(B,X,ke){var Ie=oe._.getElement(B.elementId),Pe=(0,ut.WJ)(Ie);if(Ie)if(this.state.selectedLinearElement){var Fe=-1,Ge=null;(0,ii.Qu)(Ie,this.state,this.frameNameBoundsCache,[X,ke])?(Fe=oe._.getPointIndexUnderCursor(Ie,this.state.zoom,X,ke),Ge=oe._.getSegmentMidpointHitCoords(B,{x:X,y:ke},this.state),Fe>=0||Ge?(0,Tn.KJ)(this.interactiveCanvas,r.oc.POINTER):(0,Tn.KJ)(this.interactiveCanvas,r.oc.MOVE)):((0,ta.oY)([Ie],this.state)&&(0,re.wB)(Ie,this.state,this.frameNameBoundsCache,X,ke)||Pe&&(0,re.wX)(Pe,this.state,this.frameNameBoundsCache,X,ke))&&(0,Tn.KJ)(this.interactiveCanvas,r.oc.MOVE),this.state.selectedLinearElement.hoverPointIndex!==Fe&&this.setState({selectedLinearElement:Ar(Ar({},this.state.selectedLinearElement),{},{hoverPointIndex:Fe})}),oe._.arePointsEqual(this.state.selectedLinearElement.segmentMidPointHoveredCoords,Ge)||this.setState({selectedLinearElement:Ar(Ar({},this.state.selectedLinearElement),{},{segmentMidPointHoveredCoords:Ge})})}else(0,Tn.KJ)(this.interactiveCanvas,r.oc.AUTO)}},{key:"maybeCleanupAfterMissingPointerUp",value:function(B){Gn!==null&&Gn(B)}},{key:"updateGestureOnPointerDown",value:function(B){eo.pointers.set(B.pointerId,{x:B.clientX,y:B.clientY}),eo.pointers.size===2&&(eo.lastCenter=ie(eo.pointers),eo.initialScale=this.state.zoom.value,eo.initialDistance=we(Array.from(eo.pointers.values())))}},{key:"initialPointerDownState",value:function(B){var X=(0,d.dE)(B,this.state),ke=this.scene.getSelectedElements(this.state),Ie=(0,re.KP)(ke),Pe=(0,w.Z)(Ie,4),Fe=Pe[0],Ge=Pe[1],qe=Pe[2],it=Pe[3];return{origin:X,withCmdOrCtrl:B[b.tW.CTRL_OR_CMD],originInGrid:(0,d.AK)((0,ue.wC)(X.x,X.y,B[b.tW.CTRL_OR_CMD]?null:this.state.gridSize)),scrollbars:(0,se._4)(Ei,B.clientX-this.state.offsetLeft,B.clientY-this.state.offsetTop),lastCoords:Ar({},X),originalElements:this.scene.getNonDeletedElements().reduce(function(st,kt){return st.set(kt.id,(0,Y.OL)(kt)),st},new Map),resize:{handleType:!1,isResizing:!1,offset:{x:0,y:0},arrowDirection:"origin",center:{x:(qe+Fe)/2,y:(it+Ge)/2}},hit:{element:null,allHitElements:[],wasAddedToSelection:!1,hasBeenDuplicated:!1,hasHitCommonBoundingBoxOfSelectedElements:this.isHittingCommonBoundingBoxOfSelectedElements(X,ke)},drag:{hasOccurred:!1,offset:null},eventListeners:{onMove:null,onUp:null,onKeyUp:null,onKeyDown:null},boxSelection:{hasOccurred:!1},elementIdsToErase:{}}}},{key:"handleDraggingScrollBar",value:function(B,X){var ke=this;if(!X.scrollbars.isOverEither||this.state.multiElement)return!1;Ra=!0,X.lastCoords.x=B.clientX,X.lastCoords.y=B.clientY;var Ie=(0,d.$9)(function(Fe){Fe.target instanceof HTMLElement&&ke.handlePointerMoveOverScrollbars(Fe,X)}),Pe=(0,d.tH)(function(){Ra=!1,(0,Tn.Uk)(ke.interactiveCanvas,ke.state),Gn=null,ke.setState({cursorButton:"up"}),ke.savePointer(B.clientX,B.clientY,"up"),window.removeEventListener(r.Ks.POINTER_MOVE,Ie),window.removeEventListener(r.Ks.POINTER_UP,Pe),Ie.flush()});return Gn=Pe,window.addEventListener(r.Ks.POINTER_MOVE,Ie),window.addEventListener(r.Ks.POINTER_UP,Pe),!0}},{key:"isASelectedElement",value:function(B){return B!=null&&this.state.selectedElementIds[B.id]}},{key:"isHittingCommonBoundingBoxOfSelectedElements",value:function(B,X){if(X.length<2)return!1;var ke=10/this.state.zoom.value,Ie=(0,re.KP)(X),Pe=(0,w.Z)(Ie,4),Fe=Pe[0],Ge=Pe[1],qe=Pe[2],it=Pe[3];return B.x>Fe-ke&&B.x<qe+ke&&B.y>Ge-ke&&B.y<it+ke}},{key:"getCurrentItemRoundness",value:function(B){return this.state.currentItemRoundness==="round"?{type:(0,V.QI)(B)?r.a6.ADAPTIVE_RADIUS:r.a6.PROPORTIONAL_RADIUS}:null}},{key:"maybeCacheReferenceSnapPoints",value:function(B,X){var ke=arguments.length>2&&arguments[2]!==void 0&&arguments[2];!Zo({event:B,appState:this.state,selectedElements:X})||!ke&&Qn.getReferenceSnapPoints()||Qn.setReferenceSnapPoints(Le(this.scene.getNonDeletedElements(),X,this.state))}},{key:"maybeCacheVisibleGaps",value:function(B,X){var ke=arguments.length>2&&arguments[2]!==void 0&&arguments[2];!Zo({event:B,appState:this.state,selectedElements:X})||!ke&&Qn.getVisibleGaps()||Qn.setVisibleGaps(Ke(this.scene.getNonDeletedElements(),X,this.state))}},{key:"onKeyDownFromPointerDownHandler",value:function(B){var X=this;return(0,d.tH)(function(ke){X.maybeHandleResize(B,ke)||X.maybeDragNewGenericElement(B,ke)})}},{key:"onKeyUpFromPointerDownHandler",value:function(B){var X=this;return(0,d.tH)(function(ke){ke.key===b.tW.ALT&&ke.preventDefault(),X.maybeHandleResize(B,ke)||X.maybeDragNewGenericElement(B,ke)})}},{key:"onPointerMoveFromPointerDownHandler",value:function(B){var X=this;return(0,d.$9)(function(ke){var Ie;if(B.drag.offset===null&&(B.drag.offset=(0,d.AK)((0,re.$V)(X.scene.getSelectedElements(X.state),B.origin.x,B.origin.y))),ke.target instanceof HTMLElement&&!X.handlePointerMoveOverScrollbars(ke,B)){var Pe=(0,d.dE)(ke,X.state);if((0,E.EN)(X.state))X.handleEraser(ke,B,Pe);else{X.state.activeTool.type==="laser"&&X.laserPathManager.addPointToPath(Pe.x,Pe.y);var Fe=(0,ue.wC)(Pe.x,Pe.y,ke[b.tW.CTRL_OR_CMD]?null:X.state.gridSize),Ge=(0,w.Z)(Fe,2),qe=Ge[0],it=Ge[1];if(B.drag.hasOccurred||X.state.activeTool.type!=="arrow"&&X.state.activeTool.type!=="line"||!((0,ue.LW)(Pe.x,Pe.y,B.origin.x,B.origin.y)<r.f)){if(B.resize.isResizing&&(B.lastCoords.x=Pe.x,B.lastCoords.y=Pe.y,X.maybeHandleResize(B,ke)))return!0;if(X.state.selectedLinearElement){var st=X.state.editingLinearElement||X.state.selectedLinearElement;if(oe._.shouldAddMidpoint(X.state.selectedLinearElement,Pe,X.state)){var kt=oe._.addMidpoint(X.state.selectedLinearElement,Pe,X.state,!ke[b.tW.CTRL_OR_CMD]);return kt?void(0,he.flushSync)(function(){X.state.selectedLinearElement&&X.setState({selectedLinearElement:Ar(Ar({},X.state.selectedLinearElement),{},{pointerDownState:kt.pointerDownState,selectedPointsIndices:kt.selectedPointsIndices})}),X.state.editingLinearElement&&X.setState({editingLinearElement:Ar(Ar({},X.state.editingLinearElement),{},{pointerDownState:kt.pointerDownState,selectedPointsIndices:kt.selectedPointsIndices})})}):void 0}if(st.pointerDownState.segmentMidpoint.value!==null&&!st.pointerDownState.segmentMidpoint.added)return;var Lt=oe._.handlePointDragging(ke,X.state,Pe.x,Pe.y,function(On,co){X.maybeSuggestBindingsForLinearElementAtCoords(On,co)},st);if(Lt)return B.lastCoords.x=Pe.x,B.lastCoords.y=Pe.y,B.drag.hasOccurred=!0,X.state.editingLinearElement&&!X.state.editingLinearElement.isDragging&&X.setState({editingLinearElement:Ar(Ar({},X.state.editingLinearElement),{},{isDragging:!0})}),void(X.state.selectedLinearElement.isDragging||X.setState({selectedLinearElement:Ar(Ar({},X.state.selectedLinearElement),{},{isDragging:!0})}))}var bt=B.hit.allHitElements.some(function(On){return X.isASelectedElement(On)}),vt=X.state.editingLinearElement&&ke.shiftKey&&X.state.editingLinearElement.elementId===((Ie=B.hit.element)===null||Ie===void 0?void 0:Ie.id);if((bt||B.hit.hasHitCommonBoundingBoxOfSelectedElements)&&!vt){var jt,Nt=X.scene.getSelectedElements(X.state);if(Nt.every(function(On){return On.locked}))return;var Vt=Nt.find(function(On){return(0,V.He)(On)}),Zt=X.getTopLayerFrameAtSceneCoords(Pe);if(X.setState({frameToHighlight:Zt&&!Vt?Zt:null}),B.drag.hasOccurred=!0,X.setState({selectedElementsAreBeingDragged:!0}),Nt.length>0&&!B.withCmdOrCtrl&&!X.state.editingElement&&((jt=X.state.activeEmbeddable)===null||jt===void 0?void 0:jt.state)!=="active"){var Ht={x:Pe.x-B.origin.x,y:Pe.y-B.origin.y},or=(0,m.Z)(B.originalElements.values()),Er=ke.shiftKey;if(Er){var Zr=Math.abs(Ht.x),Kr=Math.abs(Ht.y),tn=Er&&Zr>Kr;Er&&Zr<Kr&&(Ht.x=0),tn&&(Ht.y=0)}X.maybeCacheVisibleGaps(ke,Nt),X.maybeCacheReferenceSnapPoints(ke,Nt);var nn=function(On,co,So,zi){var Na,Ba,Ha,Si;if(!Zo({appState:So,event:zi,selectedElements:On})||On.length===0)return{snapOffset:{x:0,y:0},snapLines:[]};co.x=Ue(co.x),co.y=Ue(co.y);var Vo=[],Ni=[],ca=Jn(So.zoom.value),Sa={x:ca,y:ca},el=ki(On,{dragOffset:co});ze(On,el,So,zi,Vo,Ni,Sa),xe(On,co,So,zi,Vo,Ni,Sa);var Wa={x:(Na=(Ba=Vo[0])===null||Ba===void 0?void 0:Ba.offset)!==null&&Na!==void 0?Na:0,y:(Ha=(Si=Ni[0])===null||Si===void 0?void 0:Si.offset)!==null&&Ha!==void 0?Ha:0};Sa.x=0,Sa.y=0,Vo.length=0,Ni.length=0;var tl={x:Ue(co.x+Wa.x),y:Ue(co.y+Wa.y)};ze(On,ki(On,{dragOffset:tl}),So,zi,Vo,Ni,Sa),xe(On,tl,So,zi,Vo,Ni,Sa);var ol=nt(Vo,Ni),il=tt(On,tl,[].concat(Vo,Ni).filter(function(hl){return hl.type==="gap"}));return{snapOffset:Wa,snapLines:[].concat(ol,il)}}((0,se.eD)(or,X.state),Ht,X.state,ke),Ur=nn.snapOffset,Gr=nn.snapLines;if(X.setState({snapLines:Gr}),!X.state.editingFrame&&(0,re.o8)(B,Nt,Ht,X.state,X.scene,Ur,ke[b.tW.CTRL_OR_CMD]?null:X.state.gridSize),X.maybeSuggestBindingForAll(Nt),ke.altKey&&!B.hit.hasBeenDuplicated){B.hit.hasBeenDuplicated=!0;var Xr,Yr=[],cn=[],gn=new Map,hn=new Map,xn=B.hit.element,sn=new Set(X.scene.getSelectedElements({selectedElementIds:X.state.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0}).map(function(On){return On.id})),on=Io(X.scene.getElementsIncludingDeleted());try{for(on.s();!(Xr=on.n()).done;){var Sn=Xr.value;if(sn.has(Sn.id)||Sn.id===xn?.id&&B.hit.wasAddedToSelection){var Nn=(0,re.Sy)(X.state.editingGroupId,gn,Sn),Bn=B.originalElements.get(Sn.id);(0,y.DR)(Nn,{x:Bn.x,y:Bn.y}),B.originalElements.set(Nn.id,Nn),Yr.push(Nn),cn.push(Sn),hn.set(Sn.id,Nn.id)}else Yr.push(Sn)}}catch(On){on.e(On)}finally{on.f()}var Dn=[].concat(Yr,cn);(0,ut.P7)(Yr,cn,hn),(0,h.ek)(Dn,cn,hn,"duplicatesServeAsOld"),(0,bn.xr)(Dn,cn,hn),X.scene.replaceAllElements(Dn),X.maybeCacheVisibleGaps(ke,Nt,!0),X.maybeCacheReferenceSnapPoints(ke,Nt,!0)}return}}var In=X.state.draggingElement;if(In){if(In.type==="freedraw"){var Rn=In.points,yn=Pe.x-In.x,Fn=Pe.y-In.y,wo=Rn.length>0&&Rn[Rn.length-1];if(!(wo&&wo[0]===yn&&wo[1]===Fn)){var ln=In.simulatePressure?In.pressures:[].concat((0,m.Z)(In.pressures),[ke.pressure]);(0,y.DR)(In,{points:[].concat((0,m.Z)(Rn),[[yn,Fn]]),pressures:ln})}}else if((0,V.bt)(In)){B.drag.hasOccurred=!0,X.setState({selectedElementsAreBeingDragged:!0});var en=In.points,_n=qe-In.x,Un=it-In.y;if((0,b.Ge)(ke)&&en.length===2){var to=(0,re.o4)(In.x,In.y,Pe.x,Pe.y);_n=to.width,Un=to.height}en.length===1?(0,y.DR)(In,{points:[].concat((0,m.Z)(en),[[_n,Un]])}):en.length===2&&(0,y.DR)(In,{points:[].concat((0,m.Z)(en.slice(0,-1)),[[_n,Un]])}),(0,V.Mn)(In,!1)&&X.maybeSuggestBindingsForLinearElementAtCoords(In,[Pe],X.state.startBoundElement)}else B.lastCoords.x=Pe.x,B.lastCoords.y=Pe.y,X.maybeDragNewGenericElement(B,ke);if(X.state.activeTool.type==="selection"){B.boxSelection.hasOccurred=!0;var no=X.scene.getNonDeletedElements();if(X.state.editingLinearElement)oe._.handleBoxSelection(ke,X.state,X.setState.bind(X));else{var ao=!0;!ke.shiftKey&&(0,se.N)(no,X.state)&&(B.withCmdOrCtrl&&B.hit.element?X.setState(function(On){return(0,Re.bO)(Ar(Ar({},On),{},{selectedElementIds:(0,W.Z)({},B.hit.element.id,!0)}),X.scene.getNonDeletedElements(),On,X)}):ao=!1);var An=(0,se.Yp)(no,In);X.setState(function(On){var co=Ar(Ar({},ao&&On.selectedElementIds),An.reduce(function(So,zi){return So[zi.id]=!0,So},{}));return B.hit.element&&(An.length?delete co[B.hit.element.id]:co[B.hit.element.id]=!0),On=ao?On:Ar(Ar({},On),{},{selectedGroupIds:{},editingGroupId:null}),Ar(Ar({},(0,Re.bO)({editingGroupId:On.editingGroupId,selectedElementIds:co},X.scene.getNonDeletedElements(),On,X)),{},{selectedLinearElement:An.length===1&&(0,V.bt)(An[0])?new oe._(An[0],X.scene):null,showHyperlinkPopup:!(An.length!==1||!An[0].link&&!(0,V.gs)(An[0]))&&"info"})})}}}}}}})}},{key:"handlePointerMoveOverScrollbars",value:function(B,X){if(X.scrollbars.isOverHorizontal){var ke=B.clientX,Ie=ke-X.lastCoords.x;return this.translateCanvas({scrollX:this.state.scrollX-Ie/this.state.zoom.value}),X.lastCoords.x=ke,!0}if(X.scrollbars.isOverVertical){var Pe=B.clientY,Fe=Pe-X.lastCoords.y;return this.translateCanvas({scrollY:this.state.scrollY-Fe/this.state.zoom.value}),X.lastCoords.y=Pe,!0}return!1}},{key:"onPointerUpFromPointerDownHandler",value:function(B){var X=this;return(0,d.tH)(function(ke){var Ie;B.eventListeners.onMove&&B.eventListeners.onMove.flush();var Pe,Fe,Ge=X.state,qe=Ge.draggingElement,it=Ge.resizingElement,st=Ge.multiElement,kt=Ge.activeTool,Lt=Ge.isResizing,bt=Ge.isRotating;if(X.setState({isResizing:!1,isRotating:!1,resizingElement:null,selectionElement:null,frameToHighlight:null,elementsToHighlight:null,cursorButton:"up",editingElement:st||(0,re.iB)(X.state.editingElement)?X.state.editingElement:null,snapLines:[],originSnapOffset:null}),Qn.setReferenceSnapPoints(null),Qn.setVisibleGaps(null),X.savePointer(ke.clientX,ke.clientY,"up"),X.setState({selectedElementsAreBeingDragged:!1}),X.state.editingLinearElement)if(B.boxSelection.hasOccurred||((Pe=B.hit)===null||Pe===void 0||(Fe=Pe.element)===null||Fe===void 0?void 0:Fe.id)===X.state.editingLinearElement.elementId){var vt=oe._.handlePointerUp(ke,X.state.editingLinearElement,X.state);vt!==X.state.editingLinearElement&&X.setState({editingLinearElement:vt,suggestedBindings:[]})}else X.actionManager.executeAction(U.pL);else if(X.state.selectedLinearElement){var jt,Nt;if(((jt=B.hit)===null||jt===void 0||(Nt=jt.element)===null||Nt===void 0?void 0:Nt.id)!==X.state.selectedLinearElement.elementId)X.scene.getSelectedElements(X.state).length>1&&X.setState({selectedLinearElement:null});else{var Vt=oe._.handlePointerUp(ke,X.state.selectedLinearElement,X.state),Zt=Vt.startBindingElement,Ht=Vt.endBindingElement,or=X.scene.getElement(Vt.elementId);(0,V.Mn)(or)&&(0,h.HG)(or,Zt,Ht),Vt!==X.state.selectedLinearElement&&X.setState({selectedLinearElement:Ar(Ar({},Vt),{},{selectedPointsIndices:null}),suggestedBindings:[]})}}if(Gn=null,window.removeEventListener(r.Ks.POINTER_MOVE,B.eventListeners.onMove),window.removeEventListener(r.Ks.POINTER_UP,B.eventListeners.onUp),window.removeEventListener(r.Ks.KEYDOWN,B.eventListeners.onKeyDown),window.removeEventListener(r.Ks.KEYUP,B.eventListeners.onKeyUp),X.state.pendingImageElementId&&X.setState({pendingImageElementId:null}),X.onPointerUpEmitter.trigger(X.state.activeTool,B,ke),qe?.type==="freedraw"){var Er=(0,d.dE)(ke,X.state),Zr=qe.points,Kr=Er.x-qe.x,tn=Er.y-qe.y;Kr===Zr[0][0]&&tn===Zr[0][1]&&(tn+=1e-4,Kr+=1e-4);var nn=qe.simulatePressure?[]:[].concat((0,m.Z)(qe.pressures),[ke.pressure]);return(0,y.DR)(qe,{points:[].concat((0,m.Z)(Zr),[[Kr,tn]]),pressures:nn,lastCommittedPoint:[Kr,tn]}),void X.actionManager.executeAction(U.pL)}if((0,V.pC)(qe)){var Ur=qe;try{X.initializeImageDimensions(Ur),X.setState({selectedElementIds:(0,Vn.Oh)((0,W.Z)({},Ur.id,!0),X.state)},function(){X.actionManager.executeAction(U.pL)})}catch(en){console.error(en),X.scene.replaceAllElements(X.scene.getElementsIncludingDeleted().filter(function(_n){return _n.id!==Ur.id})),X.actionManager.executeAction(U.pL)}}else if((0,V.bt)(qe)){qe.points.length>1&&X.history.resumeRecording();var Gr=(0,d.dE)(ke,X.state);B.drag.hasOccurred||!qe||st?B.drag.hasOccurred&&!st&&((0,h.N1)(X.state)&&(0,V.Mn)(qe,!1)&&(0,h.R)(qe,X.state,X.scene,Gr),X.setState({suggestedBindings:[],startBoundElement:null}),kt.locked?X.setState(function(en){return{draggingElement:null}}):((0,Tn.z8)(X.interactiveCanvas),X.setState(function(en){return{draggingElement:null,activeTool:(0,d.Om)(X.state,{type:"selection"}),selectedElementIds:(0,Vn.Oh)(Ar(Ar({},en.selectedElementIds),{},(0,W.Z)({},qe.id,!0)),en),selectedLinearElement:new oe._(qe,X.scene)}}))):((0,y.DR)(qe,{points:[].concat((0,m.Z)(qe.points),[[Gr.x-qe.x,Gr.y-qe.y]])}),X.setState({multiElement:qe,editingElement:X.state.draggingElement}))}else{if(kt.type!=="selection"&&qe&&(0,re.QD)(qe))return X.scene.replaceAllElements(X.scene.getElementsIncludingDeleted().filter(function(en){return en.id!==qe.id})),void X.setState({draggingElement:null});if(qe){if(B.drag.hasOccurred){var Xr=(0,d.dE)(ke,X.state);if(X.state.selectedLinearElement&&X.state.selectedLinearElement.isDragging){var Yr=X.scene.getElement(X.state.selectedLinearElement.elementId);if(Yr!=null&&Yr.frameId){var cn=(0,bn.$Z)(Yr);cn&&Yr&&((0,bn.cO)(Yr,cn)||((0,y.DR)(Yr,{groupIds:[]}),X.scene.replaceAllElements((0,bn.lz)(X.scene.getElementsIncludingDeleted(),[Yr],X.state))))}}else{var gn=X.getTopLayerFrameAtSceneCoords(Xr),hn=X.scene.getSelectedElements(X.state),xn=X.scene.getElementsIncludingDeleted(),sn=function(en){if(en.length>0){var _n,Un=Io(en);try{for(Un.s();!(_n=Un.n()).done;){var to=_n.value,no=to.groupIds.indexOf(X.state.editingGroupId);(0,y.DR)(to,{groupIds:to.groupIds.slice(0,no)},!1)}}catch(ao){Un.e(ao)}finally{Un.f()}xn.forEach(function(ao){ao.groupIds.length&&(0,Re.Fb)(xn,ao.groupIds[ao.groupIds.length-1]).length<2&&(0,y.DR)(ao,{groupIds:[]},!1)}),X.setState({editingGroupId:null})}};if(gn&&!X.state.selectedElementIds[gn.id]){var on=hn.filter(function(en){return en.frameId!==gn.id&&(0,bn.Qs)(en,xn,X.state)});X.state.editingGroupId&&sn(on),xn=(0,bn.A_)(xn,on,gn)}else if(!gn&&X.state.editingGroupId){var Sn=hn.filter(function(en){return en.frameId&&!(0,bn.Qs)(en,xn,X.state)});sn(Sn)}xn=(0,bn.Tq)(xn,X.state,X),X.scene.replaceAllElements(xn)}}if(qe.type==="frame"){var Nn=(0,bn.fj)(X.scene.getElementsIncludingDeleted(),qe);X.scene.replaceAllElements((0,bn.A_)(X.scene.getElementsIncludingDeleted(),Nn,qe))}(0,y.DR)(qe,(0,re.Qp)(qe))}if(it&&X.history.resumeRecording(),it&&(0,re.QD)(it)&&X.scene.replaceAllElements(X.scene.getElementsIncludingDeleted().filter(function(en){return en.id!==it.id})),B.resize.isResizing){var Bn,Dn=(0,bn.Tq)(X.scene.getElementsIncludingDeleted(),X.state,X),In=X.scene.getSelectedElements(X.state).filter(function(en){return en.type==="frame"}),Rn=Io(In);try{for(Rn.s();!(Bn=Rn.n()).done;){var yn=Bn.value;Dn=(0,bn.pr)(Dn,(0,bn.ni)(X.scene.getElementsIncludingDeleted(),yn,X.state),yn,X.state)}}catch(en){Rn.e(en)}finally{Rn.f()}X.scene.replaceAllElements(Dn)}var Fn=B.hit.element;if(((Ie=X.state.selectedLinearElement)===null||Ie===void 0?void 0:Ie.elementId)!==Fn?.id&&(0,V.bt)(Fn)&&X.scene.getSelectedElements(X.state).length===1&&X.setState({selectedLinearElement:new oe._(Fn,X.scene)}),(0,E.EN)(X.state)){if((0,ue.LW)(X.lastPointerDownEvent.clientX,X.lastPointerDownEvent.clientY,X.lastPointerUpEvent.clientX,X.lastPointerUpEvent.clientY)===0){var wo=(0,d.dE)({clientX:X.lastPointerUpEvent.clientX,clientY:X.lastPointerUpEvent.clientY},X.state);X.getElementsAtPosition(wo.x,wo.y).forEach(function(en){return B.elementIdsToErase[en.id]={erase:!0,opacity:en.opacity}})}X.eraseElements(B)}else{var ln;Object.keys(B.elementIdsToErase).length&&X.restoreReadyToEraseElements(B),Fn&&!B.drag.hasOccurred&&!B.hit.wasAddedToSelection&&(!X.state.editingLinearElement||!B.boxSelection.hasOccurred)&&(ke.shiftKey&&!X.state.editingLinearElement?X.state.selectedElementIds[Fn.id]?(0,Re.zq)(X.state,Fn)?X.setState(function(en){var _n,Un=Ar({},en.selectedElementIds),to=Io(Fn.groupIds.flatMap(function(no){return(0,Re.Fb)(X.scene.getNonDeletedElements(),no)}));try{for(to.s();!(_n=to.n()).done;)delete Un[_n.value.id]}catch(no){to.e(no)}finally{to.f()}return{selectedGroupIds:Ar(Ar({},en.selectedElementIds),Fn.groupIds.map(function(no){return(0,W.Z)({},no,!1)}).reduce(function(no,ao){return Ar(Ar({},no),ao)},{})),selectedElementIds:(0,Vn.Oh)(Un,en)}}):(ln=X.state.selectedLinearElement)!==null&&ln!==void 0&&ln.isDragging||X.setState(function(en){var _n=Ar({},en.selectedElementIds);delete _n[Fn.id];var Un=(0,se.eD)(X.scene.getNonDeletedElements(),{selectedElementIds:_n});return Ar(Ar({},(0,Re.bO)({editingGroupId:en.editingGroupId,selectedElementIds:_n},X.scene.getNonDeletedElements(),en,X)),{},{selectedLinearElement:Un.length===1&&(0,V.bt)(Un[0])?new oe._(Un[0],X.scene):en.selectedLinearElement})}):Fn.frameId&&X.state.selectedElementIds[Fn.frameId]?X.setState(function(en){var _n,Un,to=Ar(Ar({},en.selectedElementIds),{},(0,W.Z)({},Fn.id,!0));return delete to[Fn.frameId],((_n=(Un=X.scene.getElement(Fn.frameId))===null||Un===void 0?void 0:Un.groupIds)!==null&&_n!==void 0?_n:[]).flatMap(function(no){return(0,Re.Fb)(X.scene.getNonDeletedElements(),no)}).forEach(function(no){delete to[no.id]}),Ar(Ar({},(0,Re.bO)({editingGroupId:en.editingGroupId,selectedElementIds:to},X.scene.getNonDeletedElements(),en,X)),{},{showHyperlinkPopup:!(!Fn.link&&!(0,V.gs)(Fn))&&"info"})}):X.setState(function(en){return{selectedElementIds:(0,Vn.Oh)(Ar(Ar({},en.selectedElementIds),{},(0,W.Z)({},Fn.id,!0)),en)}}):X.setState(function(en){var _n;return Ar(Ar({},(0,Re.bO)({editingGroupId:en.editingGroupId,selectedElementIds:(0,W.Z)({},Fn.id,!0)},X.scene.getNonDeletedElements(),en,X)),{},{selectedLinearElement:(0,V.bt)(Fn)&&((_n=en.selectedLinearElement)===null||_n===void 0?void 0:_n.elementId)!==Fn.id?new oe._(Fn,X.scene):en.selectedLinearElement})})),B.drag.hasOccurred||X.state.isResizing||!(Fn&&(0,re.wB)(Fn,X.state,X.frameNameBoundsCache,B.origin.x,B.origin.y)||!Fn&&B.hit.hasHitCommonBoundingBoxOfSelectedElements)?(!kt.locked&&kt.type!=="freedraw"&&qe&&qe.type!=="selection"&&X.setState(function(en){return{selectedElementIds:(0,Vn.Oh)(Ar(Ar({},en.selectedElementIds),{},(0,W.Z)({},qe.id,!0)),en),showHyperlinkPopup:(0,V.gs)(qe)&&!qe.link?"editor":en.showHyperlinkPopup}}),(kt.type!=="selection"||(0,se.N)(X.scene.getNonDeletedElements(),X.state))&&X.history.resumeRecording(),(B.drag.hasOccurred||Lt||bt)&&((0,h.N1)(X.state)?h.el:h.H)(X.scene.getSelectedElements(X.state)),kt.type!=="laser"?(kt.locked||kt.type==="freedraw"?X.setState({draggingElement:null,suggestedBindings:[]}):((0,Tn.z8)(X.interactiveCanvas),X.setState({draggingElement:null,suggestedBindings:[],activeTool:(0,d.Om)(X.state,{type:"selection"})})),Fn&&X.lastPointerUpEvent&&X.lastPointerDownEvent&&X.lastPointerUpEvent.timeStamp-X.lastPointerDownEvent.timeStamp<300&&eo.pointers.size<=1&&(0,V.gs)(Fn)&&X.isEmbeddableCenter(Fn,X.lastPointerUpEvent,B.origin.x,B.origin.y)&&X.handleEmbeddableCenterClick(Fn)):X.laserPathManager.endPath()):X.state.editingLinearElement?X.setState({editingLinearElement:null}):X.setState({selectedElementIds:(0,Vn.Oh)({},X.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null})}}})}},{key:"maybeSuggestBindingForAll",value:function(B){if(!(B.length>50)){var X=(0,h.ZB)(B);this.setState({suggestedBindings:X})}}},{key:"clearSelection",value:function(B){this.setState(function(X){return{selectedElementIds:(0,Vn.Oh)({},X),activeEmbeddable:null,selectedGroupIds:{},editingGroupId:X.editingGroupId&&B!=null&&(0,Re.Nd)(B,X.editingGroupId)?X.editingGroupId:null}}),this.setState({selectedElementIds:(0,Vn.Oh)({},this.state),activeEmbeddable:null,previousSelectedElementIds:this.state.selectedElementIds})}},{key:"getTextWysiwygSnappedToCenterPosition",value:function(B,X,ke,Ie){if(Ie){var Pe=Ie.x+Ie.width/2,Fe=Ie.y+Ie.height/2,Ge=(0,ut.TP)(Ie,ke);if(Ge&&(Pe=Ge.x,Fe=Ge.y),Math.hypot(B-Pe,X-Fe)<r.wZ){var qe=(0,d._i)({sceneX:Pe,sceneY:Fe},ke);return{viewportX:qe.x,viewportY:qe.y,elementCenterX:Pe,elementCenterY:Fe}}}}},{key:"getCanvasOffsets",value:function(){var B;if((B=this.excalidrawContainerRef)!==null&&B!==void 0&&B.current){var X=this.excalidrawContainerRef.current.getBoundingClientRect();return{offsetLeft:X.left,offsetTop:X.top}}return{offsetLeft:0,offsetTop:0}}},{key:"updateLanguage",value:(g=(0,v.Z)(S().mark(function B(){var X,ke=this;return S().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return X=A.Mj.find(function(Pe){return Pe.code===ke.props.langCode})||A.Fp,Ie.next=3,(0,A.m0)(X);case 3:this.setAppState({});case 4:case"end":return Ie.stop()}},B,this)})),function(){return g.apply(this,arguments)})}],[{key:"resetTapTwice",value:function(){ia=!1}}]),ne}(ce().Component);Qa.defaultProps={UIOptions:r.cW};var nl=function(){var o=this;this.interactiveCanvas=null,this.unmounted=!1,this.device=vi,this.excalidrawContainerRef=ce().createRef(),this.files={},this.imageCache=new Map,this.iFrameRefs=new Map,this.lastPointerDownEvent=null,this.lastPointerUpEvent=null,this.lastViewportPosition={x:0,y:0},this.laserPathManager=new bo(this),this.onChangeEmitter=new uo,this.onPointerDownEmitter=new uo,this.onPointerUpEmitter=new uo,this.updateEmbeddables=function(){var g=new Map,R=!1;o.scene.getNonDeletedElements().filter(function(q){if((0,V.gs)(q)&&(g.set(q.id,!0),q.validated==null)){R=!0;var de=(0,O.xm)(q.link,o.props.validateEmbeddable);(0,y.DR)(q,{validated:de},!1),oi.R.delete(q)}return!1}),R&&o.scene.informMutation(),o.iFrameRefs.forEach(function(q,de){g.has(de)||o.iFrameRefs.delete(de)})},this.getFrameNameDOMId=function(g){return"".concat(o.id,"-frame-name-").concat(g.id)},this.frameNameBoundsCache={get:function(g){var R=o.frameNameBoundsCache._cache.get(g.id);if(!R||R.zoom!==o.state.zoom.value||R.versionNonce!==g.versionNonce){var q=document.getElementById(o.getFrameNameDOMId(g));if(q){var de=q.getBoundingClientRect(),ne=(0,d.dE)({clientX:de.x,clientY:de.y},o.state),B=(0,d.dE)({clientX:de.right,clientY:de.bottom},o.state);return R={x:ne.x,y:ne.y,width:B.x-ne.x,height:B.y-ne.y,angle:0,zoom:o.state.zoom.value,versionNonce:g.versionNonce},o.frameNameBoundsCache._cache.set(g.id,R),R}return null}return R},_cache:new Map},this.renderFrameNames=function(){if(!o.state.frameRendering.enabled||!o.state.frameRendering.name)return null;var g=o.state.theme==="dark";return o.scene.getNonDeletedFrames().map(function(R,q){if(!(0,ge.PZ)(R,o.canvas.width/window.devicePixelRatio,o.canvas.height/window.devicePixelRatio,{offsetLeft:o.state.offsetLeft,offsetTop:o.state.offsetTop,scrollX:o.state.scrollX,scrollY:o.state.scrollY,zoom:o.state.zoom}))return null;var de,ne=(0,d._i)({sceneX:R.x,sceneY:R.y},o.state),B=ne.x,X=ne.y,ke=function(){var Pe;((Pe=R.name)===null||Pe===void 0?void 0:Pe.trim())===""&&(0,y.DR)(R,{name:null}),o.setState({editingFrame:null})};if(R.id===o.state.editingFrame){var Ie=R.name==null?"Frame ".concat(q+1):R.name;de=(0,n.jsx)("input",{autoFocus:!0,value:Ie,onChange:function(Pe){(0,y.DR)(R,{name:Pe.target.value})},onBlur:function(){return ke()},onKeyDown:function(Pe){Pe.key!==b.tW.ESCAPE&&Pe.key!==b.tW.ENTER||ke()},style:{background:o.state.viewBackgroundColor,filter:g?r.ZF:"none",zIndex:2,border:"none",display:"block",padding:"".concat(6,"px"),borderRadius:4,boxShadow:"inset 0 0 0 1px var(--color-primary)",fontFamily:"Assistant",fontSize:"14px",transform:"translate(-".concat(6,"px, ").concat(6,"px)"),color:"var(--color-gray-80)",overflow:"hidden",maxWidth:"".concat(document.body.clientWidth-B-6,"px")},size:Ie.length+1||1,dir:"auto",autoComplete:"off",autoCapitalize:"off",autoCorrect:"off"})}else de=R.name==null||R.name.trim()===""?"Frame ".concat(q+1):R.name.trim();return(0,n.jsx)("div",{id:o.getFrameNameDOMId(R),style:{position:"absolute",bottom:"".concat(o.state.height+r.iG.nameOffsetY-X+o.state.offsetTop,"px"),left:"".concat(B-o.state.offsetLeft,"px"),zIndex:2,fontSize:r.iG.nameFontSize,color:g?r.iG.nameColorDarkTheme:r.iG.nameColorLightTheme,lineHeight:r.iG.nameLineHeight,width:"max-content",maxWidth:"".concat(R.width,"px"),overflow:R.id===o.state.editingFrame?"visible":"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",cursor:r.oc.MOVE,pointerEvents:o.state.viewModeEnabled?r.XI.disabled:r.XI.enabled},onPointerDown:function(Pe){return o.handleCanvasPointerDown(Pe)},onWheel:function(Pe){return o.handleWheel(Pe)},onContextMenu:o.handleCanvasContextMenu,onDoubleClick:function(){o.setState({editingFrame:R.id})},children:de},R.id)})},this.focusContainer=function(){var g;(g=o.excalidrawContainerRef.current)===null||g===void 0||g.focus()},this.getSceneElementsIncludingDeleted=function(){return o.scene.getElementsIncludingDeleted()},this.getSceneElements=function(){return o.scene.getNonDeletedElements()},this.onInsertElements=function(g){o.addElementsFromPasteOrLibrary({elements:g,position:"center",files:null})},this.onExportImage=function(){var g=(0,v.Z)(S().mark(function R(q,de,ne){var B;return S().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return(0,u.L)("export",q,"ui"),X.next=3,(0,F.p1)(q,de,o.state,o.files,{exportBackground:o.state.exportBackground,name:o.state.name,viewBackgroundColor:o.state.viewBackgroundColor,exportingFrame:ne.exportingFrame}).catch(d.FG).catch(function(ke){console.error(ke),o.setState({errorMessage:ke.message})});case 3:B=X.sent,o.state.exportEmbedScene&&B&&(0,tr.g8)(B)&&o.setState({fileHandle:B});case 5:case"end":return X.stop()}},R)}));return function(R,q,de){return g.apply(this,arguments)}}(),this.openEyeDropper=function(g){var R=g.type;Uo.e_.set(xi.$,{swapPreviewOnAlt:!0,colorPickerType:R==="stroke"?"elementStroke":"elementBackground",onSelect:function(q,de){var ne=R==="background"&&de.altKey||R==="stroke"&&!de.altKey;o.scene.getSelectedElements(o.state).length&&o.state.activeTool.type==="selection"?o.updateScene({elements:o.scene.getElementsIncludingDeleted().map(function(B){return o.state.selectedElementIds[B.id]?(0,y.BE)(B,(0,W.Z)({},ne?"strokeColor":"backgroundColor",q)):B})}):ne?o.syncActionResult({appState:Ar(Ar({},o.state),{},{currentItemStrokeColor:q}),commitToHistory:!0}):o.syncActionResult({appState:Ar(Ar({},o.state),{},{currentItemBackgroundColor:q}),commitToHistory:!0})},keepOpenOnAlt:!1})},this.syncActionResult=(0,d.tH)(function(g){if(!o.unmounted&&g!==!1){var R=null;if(g.elements&&(g.elements.forEach(function(vt){var jt;((jt=o.state.editingElement)===null||jt===void 0?void 0:jt.id)===vt.id&&o.state.editingElement!==vt&&(0,re.qP)(vt)&&(R=vt)}),o.scene.replaceAllElements(g.elements),g.commitToHistory&&o.history.resumeRecording()),g.files&&(o.files=g.replaceFiles?g.files:Ar(Ar({},o.files),g.files),o.addNewImagesToImageCache()),g.appState||R||o.state.contextMenu){var q,de,ne,B,X,ke,Ie,Pe,Fe,Ge;g.commitToHistory&&o.history.resumeRecording();var qe=(g==null||(q=g.appState)===null||q===void 0?void 0:q.viewModeEnabled)||!1,it=(g==null||(de=g.appState)===null||de===void 0?void 0:de.zenModeEnabled)||!1,st=(g==null||(ne=g.appState)===null||ne===void 0?void 0:ne.gridSize)||null,kt=(g==null||(B=g.appState)===null||B===void 0?void 0:B.theme)||o.props.theme||r.C6.LIGHT,Lt=(X=g==null||(ke=g.appState)===null||ke===void 0?void 0:ke.name)!==null&&X!==void 0?X:o.state.name,bt=(Ie=g==null||(Pe=g.appState)===null||Pe===void 0?void 0:Pe.errorMessage)!==null&&Ie!==void 0?Ie:o.state.errorMessage;o.props.viewModeEnabled!==void 0&&(qe=o.props.viewModeEnabled),o.props.zenModeEnabled!==void 0&&(it=o.props.zenModeEnabled),o.props.gridModeEnabled!==void 0&&(st=o.props.gridModeEnabled?r.k:null),o.props.name!==void 0&&(Lt=o.props.name),(Ge=R=R||((Fe=g.appState)===null||Fe===void 0?void 0:Fe.editingElement)||null)!==null&&Ge!==void 0&&Ge.isDeleted&&(R=null),o.setState(function(vt){return Object.assign(g.appState||{},{contextMenu:null,editingElement:R,viewModeEnabled:qe,zenModeEnabled:it,gridSize:st,theme:kt,name:Lt,errorMessage:bt})},function(){g.syncHistory&&o.history.setCurrentState(o.state,o.scene.getElementsIncludingDeleted())})}}}),this.onBlur=(0,d.tH)(function(){bi=!1,o.setState({isBindingEnabled:!0})}),this.onUnload=function(){o.onBlur()},this.disableEvent=function(g){g.preventDefault()},this.resetHistory=function(){o.history.clear()},this.resetScene=(0,d.tH)(function(g){o.scene.replaceAllElements([]),o.setState(function(R){return Ar(Ar({},(0,E.im)()),{},{isLoading:(g==null||!g.resetLoadingState)&&R.isLoading,theme:o.state.theme})}),o.resetHistory()}),this.initializeScene=(0,v.Z)(S().mark(function g(){var R,q,de,ne,B;return S().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return"launchQueue"in window&&"LaunchParams"in window&&window.launchQueue.setConsumer(function(){var ke=(0,v.Z)(S().mark(function Ie(Pe){var Fe,Ge;return S().wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(Pe.files.length){qe.next=2;break}return qe.abrupt("return");case 2:return Fe=Pe.files[0],qe.next=5,Fe.getFile();case 5:Ge=qe.sent,o.loadFileToCanvas(new File([Ge],Ge.name||"",{type:Ge.type}),Fe);case 7:case"end":return qe.stop()}},Ie)}));return function(Ie){return ke.apply(this,arguments)}}()),o.props.theme&&o.setState({theme:o.props.theme}),o.state.isLoading||o.setState({isLoading:!0}),de=null,X.prev=4,X.next=7,o.props.initialData;case 7:if(X.t0=X.sent,X.t0){X.next=10;break}X.t0=null;case 10:de=X.t0,(ne=de)!==null&&ne!==void 0&&ne.libraryItems&&o.library.updateLibrary({libraryItems:de.libraryItems,merge:!0}).catch(function(ke){console.error(ke)}),X.next=18;break;case 14:X.prev=14,X.t1=X.catch(4),console.error(X.t1),de={appState:{errorMessage:X.t1.message||"Encountered an error during importing or restoring scene data"}};case 18:(B=(0,te.nu)(de,null,null,{repairBindings:!0})).appState=Ar(Ar({},B.appState),{},{theme:o.props.theme||B.appState.theme,openSidebar:((R=B.appState)===null||R===void 0?void 0:R.openSidebar)||o.state.openSidebar,activeTool:B.appState.activeTool.type==="image"?Ar(Ar({},B.appState.activeTool),{},{type:"selection"}):B.appState.activeTool,isLoading:!1,toast:o.state.toast}),(q=de)!==null&&q!==void 0&&q.scrollToContent&&(B.appState=Ar(Ar({},B.appState),(0,se.W)(B.elements,Ar(Ar({},B.appState),{},{width:o.state.width,height:o.state.height,offsetTop:o.state.offsetTop,offsetLeft:o.state.offsetLeft})))),o.fonts.loadFontsForElements(B.elements),o.resetHistory(),o.syncActionResult(Ar(Ar({},B),{},{commitToHistory:!0}));case 24:case"end":return X.stop()}},g,null,[[4,14]])})),this.isMobileBreakpoint=function(g,R){return g<r.kV||R<r.Yx&&g<r.sS},this.refreshViewportBreakpoints=function(){if(o.excalidrawContainerRef.current){var g=document.body,R=g.clientWidth,q=g.clientHeight,de=o.device.viewport,ne=(0,d.v4)(de,{isLandscape:R>q,isMobile:o.isMobileBreakpoint(R,q)});return de!==ne&&(o.device=Ar(Ar({},o.device),{},{viewport:ne}),!0)}},this.refreshEditorBreakpoints=function(){var g=o.excalidrawContainerRef.current;if(g){var R=g.getBoundingClientRect(),q=R.width,de=R.height,ne=o.props.UIOptions.dockedSidebarBreakpoint!=null?o.props.UIOptions.dockedSidebarBreakpoint:r.sk,B=o.device.editor,X=(0,d.v4)(B,{isMobile:o.isMobileBreakpoint(q,de),canFitSidebar:q>ne});return B!==X&&(o.device=Ar(Ar({},o.device),{},{editor:X}),!0)}},this.onResize=(0,d.tH)(function(){o.scene.getElementsIncludingDeleted().forEach(function(g){return oi.R.delete(g)}),o.refreshViewportBreakpoints(),o.updateDOMRect(),Ea||o.refreshEditorBreakpoints(),o.setState({})}),this.renderInteractiveSceneCallback=function(g){var R=g.atLeastOneVisibleElement,q=g.scrollBars,de=g.elements;q&&(Ei=q);var ne=!(0,re.iB)(o.state.editingElement)&&!R&&de.length>0;o.state.scrolledOutside!==ne&&o.setState({scrolledOutside:ne}),o.scheduleImageRefresh()},this.onScroll=(0,d.Ds)(function(){var g=o.getCanvasOffsets(),R=g.offsetTop,q=g.offsetLeft;o.setState(function(de){return de.offsetLeft===q&&de.offsetTop===R?null:{offsetTop:R,offsetLeft:q}})},r.HM),this.onCut=(0,d.tH)(function(g){var R;!((R=o.excalidrawContainerRef.current)===null||R===void 0)&&R.contains(document.activeElement)&&!(0,d.s)(g.target)&&(o.actionManager.executeAction(U.ZM,"keyboard",g),g.preventDefault(),g.stopPropagation())}),this.onCopy=(0,d.tH)(function(g){var R;!((R=o.excalidrawContainerRef.current)===null||R===void 0)&&R.contains(document.activeElement)&&!(0,d.s)(g.target)&&(o.actionManager.executeAction(U.uN,"keyboard",g),g.preventDefault(),g.stopPropagation())}),this.onTouchStart=function(g){if(r.Dt||g.preventDefault(),!ia)return ia=!0,clearTimeout(Zi),void(Zi=window.setTimeout(Qa.resetTapTwice,r.Gj));if(ia&&g.touches.length===1){var R=g.touches[0];o.handleCanvasDoubleClick({clientX:R.clientX,clientY:R.clientY}),ia=!1,clearTimeout(Zi)}r.Dt&&g.preventDefault(),g.touches.length===2&&o.setState({selectedElementIds:(0,Vn.Oh)({},o.state),activeEmbeddable:null})},this.onTouchEnd=function(g){o.resetContextMenuTimer(),g.touches.length>0?o.setState({previousSelectedElementIds:{},selectedElementIds:(0,Vn.Oh)(o.state.previousSelectedElementIds,o.state)}):eo.pointers.clear()},this.pasteFromClipboard=(0,d.tH)(function(){var g=(0,v.Z)(S().mark(function R(q){var de,ne,B,X,ke,Ie,Pe,Fe,Ge,qe,it,st,kt,Lt,bt,vt,jt;return S().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:if(B=!!Va,X=document.activeElement,ke=(de=o.excalidrawContainerRef.current)===null||de===void 0?void 0:de.contains(X),!q||ke){Nt.next=5;break}return Nt.abrupt("return");case 5:if(Ie=document.elementFromPoint(o.lastViewportPosition.x,o.lastViewportPosition.y),!q||Ie instanceof HTMLCanvasElement&&!(0,d.s)(X)){Nt.next=8;break}return Nt.abrupt("return");case 8:return Pe=(0,d.dE)({clientX:o.lastViewportPosition.x,clientY:o.lastViewportPosition.y},o.state),Fe=Pe.x,Ge=Pe.y,qe=q==null||(ne=q.clipboardData)===null||ne===void 0?void 0:ne.files[0],Nt.next=12,(0,D.mQ)(q,B);case 12:if(it=Nt.sent,qe||B){Nt.next=19;break}if(!it.mixedContent){Nt.next=18;break}return Nt.abrupt("return",o.addElementsFromMixedContentPaste(it.mixedContent,{isPlainPaste:B,sceneX:Fe,sceneY:Ge}));case 18:it.text&&(st=it.text.trim()).startsWith("<svg")&&st.endsWith("</svg>")&&(qe=(0,tr.Pn)(st));case 19:if(!(0,tr.Wr)(qe)||it.spreadsheet){Nt.next=28;break}if(o.isToolSupported("image")){Nt.next=23;break}return o.setState({errorMessage:(0,A.t)("errors.imageToolNotSupported")}),Nt.abrupt("return");case 23:return kt=o.createImageElement({sceneX:Fe,sceneY:Ge}),o.insertImageElement(kt,qe),o.initializeImageDimensions(kt),o.setState({selectedElementIds:(0,Vn.Oh)((0,W.Z)({},kt.id,!0),o.state)}),Nt.abrupt("return");case 28:if(!o.props.onPaste){Nt.next=40;break}return Nt.prev=29,Nt.next=32,o.props.onPaste(it,q);case 32:if(Nt.t0=Nt.sent,Nt.t0!==!1){Nt.next=35;break}return Nt.abrupt("return");case 35:Nt.next=40;break;case 37:Nt.prev=37,Nt.t1=Nt.catch(29),console.error(Nt.t1);case 40:if(!it.errorMessage){Nt.next=44;break}o.setState({errorMessage:it.errorMessage}),Nt.next=60;break;case 44:if(!it.spreadsheet||B){Nt.next=48;break}o.setState({pasteDialog:{data:it.spreadsheet,shown:!0}}),Nt.next=60;break;case 48:if(!it.elements){Nt.next=53;break}Lt=it.programmaticAPI?(0,Wt.w)(it.elements):it.elements,o.addElementsFromPasteOrLibrary({elements:Lt,files:it.files||null,position:"cursor",retainSeed:B}),Nt.next=60;break;case 53:if(!it.text){Nt.next=60;break}if(vt=(0,O.eX)(it.text),B||!(0,O.xm)(vt,o.props.validateEmbeddable)||!/^(http|https):\/\/[^\s/$.?#].[^\s]*$/.test(vt)&&((bt=(0,O.LM)(vt))===null||bt===void 0?void 0:bt.type)!=="video"){Nt.next=59;break}return(jt=o.insertEmbeddableElement({sceneX:Fe,sceneY:Ge,link:(0,Mi.$u)(vt)}))&&o.setState({selectedElementIds:(0,W.Z)({},jt.id,!0)}),Nt.abrupt("return");case 59:o.addTextFromPaste(it.text,B);case 60:o.setActiveTool({type:"selection"}),q?.preventDefault();case 62:case"end":return Nt.stop()}},R,null,[[29,37]])}));return function(R){return g.apply(this,arguments)}}()),this.addElementsFromPasteOrLibrary=function(g){var R=(0,te.ET)(g.elements,null,void 0),q=(0,re.KP)(R),de=(0,w.Z)(q,4),ne=de[0],B=de[1],X=de[2],ke=de[3],Ie=(0,d.TE)(ne,X)/2,Pe=(0,d.TE)(B,ke)/2,Fe=(0,P.Z)(g.position)==="object"?g.position.clientX:g.position==="cursor"?o.lastViewportPosition.x:o.state.width/2+o.state.offsetLeft,Ge=(0,P.Z)(g.position)==="object"?g.position.clientY:g.position==="cursor"?o.lastViewportPosition.y:o.state.height/2+o.state.offsetTop,qe=(0,d.dE)({clientX:Fe,clientY:Ge},o.state),it=qe.x-Ie,st=qe.y-Pe,kt=(0,ue.wC)(it,st,o.state.gridSize),Lt=(0,w.Z)(kt,2),bt=Lt[0],vt=Lt[1],jt=(0,Y._N)(R.map(function(Zt){return(0,y.BE)(Zt,{x:Zt.x+bt-ne,y:Zt.y+vt-B})}),{randomizeSeed:!g.retainSeed}),Nt=[].concat((0,m.Z)(o.scene.getElementsIncludingDeleted()),(0,m.Z)(jt));o.scene.replaceAllElements(Nt),jt.forEach(function(Zt){if((0,re.iB)(Zt)&&(0,V.Xh)(Zt)){var Ht=(0,ut.tl)(Zt);(0,re.oN)(Zt,Ht)}}),g.files&&(o.files=Ar(Ar({},o.files),g.files)),o.history.resumeRecording();var Vt=(0,Vn.aI)(jt);o.setState(Ar(Ar({},o.state),{},{openSidebar:o.state.openSidebar&&o.device.editor.canFitSidebar&&Uo.e_.get(Qo.t6)?o.state.openSidebar:null},(0,Re.bO)({editingGroupId:null,selectedElementIds:Vt.reduce(function(Zt,Ht){return(0,V.Xh)(Ht)||(Zt[Ht.id]=!0),Zt},{})},o.scene.getNonDeletedElements(),o.state,o)),function(){g.files&&o.addNewImagesToImageCache()}),o.setActiveTool({type:"selection"}),g.fitToContent&&o.scrollToContent(jt,{fitToContent:!0})},this.setAppState=function(g,R){o.setState(g,R)},this.removePointer=function(g){ai&&o.resetContextMenuTimer(),eo.pointers.delete(g.pointerId)},this.toggleLock=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ui";o.state.activeTool.locked||(0,u.L)("toolbar","toggleLock","".concat(g," (").concat(o.device.editor.isMobile?"mobile":"desktop",")")),o.setState(function(R){return{activeTool:Ar(Ar(Ar({},R.activeTool),(0,d.Om)(o.state,R.activeTool.locked?{type:"selection"}:R.activeTool)),{},{locked:!R.activeTool.locked})}})},this.updateFrameRendering=function(g){o.setState(function(R){var q,de,ne,B,X=typeof g=="function"?g(R.frameRendering):g;return{frameRendering:{enabled:(q=X?.enabled)!==null&&q!==void 0?q:R.frameRendering.enabled,clip:(de=X?.clip)!==null&&de!==void 0?de:R.frameRendering.clip,name:(ne=X?.name)!==null&&ne!==void 0?ne:R.frameRendering.name,outline:(B=X?.outline)!==null&&B!==void 0?B:R.frameRendering.outline}}})},this.togglePenMode=function(g){o.setState(function(R){return{penMode:g??!R.penMode,penDetected:!0}})},this.onHandToolToggle=function(){o.actionManager.executeAction(ba.eF)},this.zoomCanvas=function(g){o.setState(Ar({},(0,i.E)({viewportX:o.state.width/2+o.state.offsetLeft,viewportY:o.state.height/2+o.state.offsetTop,nextZoom:(0,se.j)(g)},o.state)))},this.cancelInProgresAnimation=null,this.scrollToContent=function(){var g,R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o.scene.getNonDeletedElements(),q=arguments.length>1?arguments[1]:void 0;(g=o.cancelInProgresAnimation)===null||g===void 0||g.call(o);var de=Array.isArray(R)?R:[R],ne=o.state.zoom,B=o.state.scrollX,X=o.state.scrollY;if(q!=null&&q.fitToContent||q!=null&&q.fitToViewport){var ke=(0,ba.JB)({targetElements:de,appState:o.state,fitToViewport:!(q==null||!q.fitToViewport),viewportZoomFactor:q?.viewportZoomFactor}),Ie=ke.appState;ne=Ie.zoom,B=Ie.scrollX,X=Ie.scrollY}else{var Pe=(0,se.W)(de,o.state);B=Pe.scrollX,X=Pe.scrollY}if(q!=null&&q.animate){var Fe,Ge=o.state.scrollX,qe=o.state.scrollY,it=o.state.zoom.value,st=(0,d.B4)({fromValues:{scrollX:Ge,scrollY:qe,zoom:it},toValues:{scrollX:B,scrollY:X,zoom:ne.value},interpolateValue:function(kt,Lt,bt,vt){if(vt==="zoom")return kt*Math.pow(Lt/kt,(0,d.Vv)(bt))},onStep:function(kt){var Lt=kt.scrollX,bt=kt.scrollY,vt=kt.zoom;o.setState({scrollX:Lt,scrollY:bt,zoom:{value:vt}})},onStart:function(){o.setState({shouldCacheIgnoreZoom:!0})},onEnd:function(){o.setState({shouldCacheIgnoreZoom:!1})},onCancel:function(){o.setState({shouldCacheIgnoreZoom:!1})},duration:(Fe=q?.duration)!==null&&Fe!==void 0?Fe:500});o.cancelInProgresAnimation=function(){st(),o.cancelInProgresAnimation=null}}else o.setState({scrollX:B,scrollY:X,zoom:ne})},this.translateCanvas=function(g){var R;(R=o.cancelInProgresAnimation)===null||R===void 0||R.call(o),o.setState(g)},this.setToast=function(g){o.setState({toast:g})},this.restoreFileFromShare=(0,v.Z)(S().mark(function g(){var R,q,de,ne;return S().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.prev=0,B.next=3,caches.open("web-share-target");case 3:return R=B.sent,B.next=6,R.match("shared-file");case 6:if(!(q=B.sent)){B.next=16;break}return B.next=10,q.blob();case 10:return de=B.sent,ne=new File([de],de.name||"",{type:de.type}),o.loadFileToCanvas(ne,null),B.next=15,R.delete("shared-file");case 15:window.history.replaceState(null,r.iC,window.location.pathname);case 16:B.next=21;break;case 18:B.prev=18,B.t0=B.catch(0),o.setState({errorMessage:B.t0.message});case 21:case"end":return B.stop()}},g,null,[[0,18]])})),this.addFiles=(0,d.tH)(function(g){var R=g.reduce(function(q,de){return q.set(de.id,de),q},new Map);o.files=Ar(Ar({},o.files),Object.fromEntries(R)),o.scene.getNonDeletedElements().forEach(function(q){(0,V.wi)(q)&&R.has(q.fileId)&&(o.imageCache.delete(q.fileId),oi.R.delete(q))}),o.scene.informMutation(),o.addNewImagesToImageCache()}),this.updateScene=(0,d.tH)(function(g){g.commitToHistory&&o.history.resumeRecording(),g.appState&&o.setState(g.appState),g.elements&&o.scene.replaceAllElements(g.elements),g.collaborators&&o.setState({collaborators:g.collaborators})}),this.onSceneUpdated=function(){o.setState({})},this.toggleSidebar=function(g){var R,q,de=g.name,ne=g.tab,B=g.force;return B===void 0?R=((q=o.state.openSidebar)===null||q===void 0?void 0:q.name)===de?null:de:R=B?de:null,o.setState({openSidebar:R?{name:R,tab:ne}:null}),!!R},this.updateCurrentCursorPosition=(0,d.tH)(function(g){o.lastViewportPosition.x=g.clientX,o.lastViewportPosition.y=g.clientY}),this.onKeyDown=(0,d.tH)(function(g){if("Proxy"in window&&(!g.shiftKey&&/^[A-Z]$/.test(g.key)||g.shiftKey&&/^[a-z]$/.test(g.key))&&(g=new Proxy(g,{get:function(bt,vt){var jt=bt[vt];return typeof jt=="function"?jt.bind(bt):vt==="key"?g.shiftKey?bt.key.toUpperCase():bt.key.toLowerCase():jt}})),g[b.tW.CTRL_OR_CMD]&&g.key.toLowerCase()===b.tW.V&&(Va=g.shiftKey,clearTimeout(Ja),Ja=window.setTimeout(function(){Va=!1},100)),!g[b.tW.CTRL_OR_CMD]||!(0,d.s)(g.target)||g.code!==b.aU.MINUS&&g.code!==b.aU.EQUAL){if(!((0,d.s)(g.target)&&g.key!==b.tW.ESCAPE||(0,b.Wl)(g.key)&&(0,d._Z)(g.target)))if(g.key!==b.tW.QUESTION_MARK){if(g.key.toLowerCase()===b.tW.E&&g.shiftKey&&g[b.tW.CTRL_OR_CMD])return g.preventDefault(),void o.setState({openDialog:"imageExport"});if(g.key===b.tW.PAGE_UP||g.key===b.tW.PAGE_DOWN){var R=(g.shiftKey?o.state.width:o.state.height)/o.state.zoom.value;g.key===b.tW.PAGE_DOWN&&(R=-R),g.shiftKey?o.translateCanvas(function(bt){return{scrollX:bt.scrollX+R}}):o.translateCanvas(function(bt){return{scrollY:bt.scrollY+R}})}if(!o.actionManager.handleKeyDown(g)&&!o.state.viewModeEnabled){if(g[b.tW.CTRL_OR_CMD]&&o.state.isBindingEnabled&&o.setState({isBindingEnabled:!1}),(0,b.Wl)(g.key)){var q=o.state.gridSize&&(g.shiftKey?r.$e:o.state.gridSize)||(g.shiftKey?r.Iw:r.$e),de=0,ne=0;g.key===b.tW.ARROW_LEFT?de=-q:g.key===b.tW.ARROW_RIGHT?de=q:g.key===b.tW.ARROW_UP?ne=-q:g.key===b.tW.ARROW_DOWN&&(ne=q);var B=o.scene.getSelectedElements({selectedElementIds:o.state.selectedElementIds,includeBoundTextElement:!0,includeElementsInFrames:!0});B.forEach(function(bt){(0,y.DR)(bt,{x:bt.x+de,y:bt.y+ne}),(0,h.Ww)(bt,{simultaneouslyUpdated:B})}),o.maybeSuggestBindingForAll(B),g.preventDefault()}else if(g.key===b.tW.ENTER){var X=o.scene.getSelectedElements(o.state);if(X.length===1){var ke=X[0];if(g[b.tW.CTRL_OR_CMD])(0,V.bt)(ke)&&(o.state.editingLinearElement&&o.state.editingLinearElement.elementId===X[0].id||(o.history.resumeRecording(),o.setState({editingLinearElement:new oe._(ke,o.scene)})));else{if((0,re.iB)(ke)||(0,ut.Zr)(ke)){var Ie;(0,re.iB)(ke)||(Ie=ke);var Pe=(0,ut.TP)(ke,o.state),Fe=Pe.x,Ge=Pe.y;return o.startTextEditing({sceneX:Fe,sceneY:Ge,container:Ie}),void g.preventDefault()}(0,V.He)(ke)&&o.setState({editingFrame:ke.id})}}}else if(!g.ctrlKey&&!g.altKey&&!g.metaKey&&o.state.draggingElement===null){var qe=function(bt){var vt=s.find(function(jt,Nt){return jt.numericKey!=null&&bt===jt.numericKey.toString()||jt.key&&(typeof jt.key=="string"?jt.key===bt:jt.key.includes(bt))});return vt?.value||null}(g.key);qe?(o.state.activeTool.type!==qe&&(0,u.L)("toolbar",qe,"keyboard (".concat(o.device.editor.isMobile?"mobile":"desktop",")")),o.setActiveTool({type:qe}),g.stopPropagation()):g.key===b.tW.Q&&(o.toggleLock("keyboard"),g.stopPropagation())}if(g.key===b.tW.SPACE&&eo.pointers.size===0&&(bi=!0,(0,Tn.KJ)(o.interactiveCanvas,r.oc.GRAB),g.preventDefault()),!(g.key!==b.tW.G&&g.key!==b.tW.S||g.altKey||g[b.tW.CTRL_OR_CMD])){var it=o.scene.getSelectedElements(o.state);if(o.state.activeTool.type==="selection"&&!it.length)return;g.key===b.tW.G&&((0,se.$b)(o.state.activeTool.type)||it.some(function(bt){return(0,se.$b)(bt.type)}))&&(o.setState({openPopup:"elementBackground"}),g.stopPropagation()),g.key===b.tW.S&&(o.setState({openPopup:"elementStroke"}),g.stopPropagation())}if(g.key!==b.tW.K||g.altKey||g[b.tW.CTRL_OR_CMD]){!g[b.tW.CTRL_OR_CMD]||g.key!==b.tW.BACKSPACE&&g.key!==b.tW.DELETE||Uo.e_.set(da.w,"clearCanvas");var st=g.key.toLocaleLowerCase(),kt=st===b.tW.S&&g.shiftKey,Lt=g.key===b.tW.I||st===b.tW.G&&g.shiftKey;(kt||Lt)&&o.openEyeDropper({type:kt?"stroke":"background"})}else o.state.activeTool.type==="laser"?o.setActiveTool({type:"selection"}):o.setActiveTool({type:"laser"})}}else o.setState({openDialog:"help"})}else g.preventDefault()}),this.onWheel=(0,d.tH)(function(g){g.target instanceof HTMLCanvasElement||!g.ctrlKey||g.preventDefault()}),this.onKeyUp=(0,d.tH)(function(g){if(g.key===b.tW.SPACE&&(o.state.viewModeEnabled?(0,Tn.KJ)(o.interactiveCanvas,r.oc.GRAB):o.state.activeTool.type==="selection"?(0,Tn.z8)(o.interactiveCanvas):((0,Tn.Uk)(o.interactiveCanvas,o.state),o.setState({selectedElementIds:(0,Vn.Oh)({},o.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null})),bi=!1),g[b.tW.CTRL_OR_CMD]||o.state.isBindingEnabled||o.setState({isBindingEnabled:!0}),(0,b.Wl)(g.key)){var R=o.scene.getSelectedElements(o.state);(0,h.N1)(o.state)?(0,h.el)(R):(0,h.H)(R),o.setState({suggestedBindings:[]})}}),this.isToolSupported=function(g){var R;return((R=o.props.UIOptions.tools)===null||R===void 0?void 0:R[g])!==!1},this.setActiveTool=function(g){if(o.isToolSupported(g.type)){var R,q=(0,d.Om)(o.state,g);q.type==="hand"?(0,Tn.KJ)(o.interactiveCanvas,r.oc.GRAB):bi||(0,Tn.Uk)(o.interactiveCanvas,o.state),(0,d.wO)(document.activeElement)&&o.focusContainer(),(0,V.dt)(q.type)||o.setState({suggestedBindings:[]}),q.type==="image"&&o.onImageAction({insertOnCanvasDirectly:(R=g.type==="image"&&g.insertOnCanvasDirectly)!==null&&R!==void 0&&R}),o.setState(function(de){var ne={snapLines:de.snapLines.length?[]:de.snapLines,originSnapOffset:null,activeEmbeddable:null};return q.type!=="selection"?Ar(Ar({},de),{},{activeTool:q,selectedElementIds:(0,Vn.Oh)({},de),selectedGroupIds:(0,Vn.Oh)({},de),editingGroupId:null,multiElement:null},ne):Ar(Ar({},de),{},{activeTool:q},ne)})}else console.warn('"'.concat(g.type,'" tool is disabled via "UIOptions.canvasActions.tools.').concat(g.type,'"'))},this.setOpenDialog=function(g){o.setState({openDialog:g})},this.setCursor=function(g){(0,Tn.KJ)(o.interactiveCanvas,g)},this.resetCursor=function(){(0,Tn.z8)(o.interactiveCanvas)},this.isTouchScreenMultiTouchGesture=function(){return eo.pointers.size>=2},this.onGestureStart=(0,d.tH)(function(g){g.preventDefault(),o.isTouchScreenMultiTouchGesture()&&o.setState({selectedElementIds:(0,Vn.Oh)({},o.state),activeEmbeddable:null}),eo.initialScale=o.state.zoom.value}),this.onGestureChange=(0,d.tH)(function(g){if(g.preventDefault(),!o.isTouchScreenMultiTouchGesture()){var R=eo.initialScale;R&&o.setState(function(q){return Ar({},(0,i.E)({viewportX:o.lastViewportPosition.x,viewportY:o.lastViewportPosition.y,nextZoom:(0,se.j)(R*g.scale)},q))})}}),this.onGestureEnd=(0,d.tH)(function(g){g.preventDefault(),o.isTouchScreenMultiTouchGesture()&&o.setState({previousSelectedElementIds:{},selectedElementIds:(0,Vn.Oh)(o.state.previousSelectedElementIds,o.state)}),eo.initialScale=null}),this.startTextEditing=function(g){var R,q,de,ne,B=g.sceneX,X=g.sceneY,ke=g.insertAtParentCenter,Ie=ke===void 0||ke,Pe=g.container,Fe=!1,Ge=Ie&&o.getTextWysiwygSnappedToCenterPosition(B,X,o.state,Pe);Pe&&Ge&&((0,ut.WJ)(Pe)||(Fe=!0));var qe=null,it=o.scene.getSelectedElements(o.state),st=((R=qe=it.length===1?(0,re.iB)(it[0])?it[0]:Pe?(0,ut.WJ)(it[0]):o.getTextElementAtPosition(B,X):o.getTextElementAtPosition(B,X))===null||R===void 0?void 0:R.fontFamily)||o.state.currentItemFontFamily,kt=((q=qe)===null||q===void 0?void 0:q.lineHeight)||(0,ut.PT)(st),Lt=o.state.currentItemFontSize;if(!qe&&Fe&&Pe&&!(0,V.Yv)(Pe)){var bt={fontSize:Lt,fontFamily:st},vt=(0,ut.AT)((0,d.mO)(bt),kt),jt=(0,ut.w_)(Lt,kt),Nt=Math.max(Pe.height,jt),Vt=Math.max(Pe.width,vt);(0,y.DR)(Pe,{height:Nt,width:Vt}),B=Pe.x+Vt/2,X=Pe.y+Nt/2,Ge&&(Ge=o.getTextWysiwygSnappedToCenterPosition(B,X,o.state,Pe))}var Zt=o.getTopLayerFrameAtSceneCoords({x:B,y:X}),Ht=qe||(0,re.VL)({x:Ge?Ge.elementCenterX:B,y:Ge?Ge.elementCenterY:X,strokeColor:o.state.currentItemStrokeColor,backgroundColor:o.state.currentItemBackgroundColor,fillStyle:o.state.currentItemFillStyle,strokeWidth:o.state.currentItemStrokeWidth,strokeStyle:o.state.currentItemStrokeStyle,roughness:o.state.currentItemRoughness,opacity:o.state.currentItemOpacity,text:"",fontSize:Lt,fontFamily:st,textAlign:Ge?"center":o.state.currentItemTextAlign,verticalAlign:Ge?r.oX.MIDDLE:r.hs,containerId:Fe?Pe?.id:void 0,groupIds:(de=Pe?.groupIds)!==null&&de!==void 0?de:[],lineHeight:kt,angle:(ne=Pe?.angle)!==null&&ne!==void 0?ne:0,frameId:Zt?Zt.id:null});if(!qe&&Fe&&Pe&&(0,y.DR)(Pe,{boundElements:(Pe.boundElements||[]).concat({type:"text",id:Ht.id})}),o.setState({editingElement:Ht}),!qe)if(Pe&&Fe){var or=o.scene.getElementIndex(Pe.id);o.scene.insertElementAtIndex(Ht,or+1)}else o.scene.addNewElement(Ht);o.setState({editingElement:Ht}),o.handleTextWysiwyg(Ht,{isExistingElement:!!qe})},this.handleCanvasDoubleClick=function(g){if(!o.state.multiElement&&o.state.activeTool.type==="selection"){var R=o.scene.getSelectedElements(o.state);if(R.length===1&&(0,V.bt)(R[0])){if(g[b.tW.CTRL_OR_CMD]&&(!o.state.editingLinearElement||o.state.editingLinearElement.elementId!==R[0].id))return o.history.resumeRecording(),void o.setState({editingLinearElement:new oe._(R[0],o.scene)});if(o.state.editingLinearElement&&o.state.editingLinearElement.elementId===R[0].id)return}(0,Tn.z8)(o.interactiveCanvas);var q=(0,d.dE)(g,o.state),de=q.x,ne=q.y;if((0,Re.iJ)(o.state).length>0){var B=o.getElementAtPosition(de,ne),X=B&&(0,Re.YS)(B,o.state.selectedGroupIds);if(X)return void o.setState(function(Fe){return Ar(Ar({},Fe),(0,Re.bO)({editingGroupId:X,selectedElementIds:(0,W.Z)({},B.id,!0)},o.scene.getNonDeletedElements(),Fe,o))})}if((0,Tn.z8)(o.interactiveCanvas),!g[b.tW.CTRL_OR_CMD]&&!o.state.viewModeEnabled){var ke=o.getElementAtPosition(de,ne);if((0,V.gs)(ke))return void o.setState({activeEmbeddable:{element:ke,state:"active"}});var Ie=(0,ut.OW)(o.scene.getNonDeletedElements(),o.state,de,ne);if(Ie&&((0,V.Xo)(Ie)||!(0,d.Qm)(Ie.backgroundColor)||(0,ii.Qu)(Ie,o.state,o.frameNameBoundsCache,[de,ne]))){var Pe=(0,ut.TP)(Ie,o.state);de=Pe.x,ne=Pe.y}o.startTextEditing({sceneX:de,sceneY:ne,insertAtParentCenter:!g.altKey,container:Ie})}}},this.getElementLinkAtPosition=function(g,R){var q=o.scene.getNonDeletedElements().slice().reverse(),de=1/0;return q.find(function(ne,B){return R&&ne.id===R.id&&(de=B),ne.link&&B<=de&&(0,Yo.Ni)(ne,o.state,[g.x,g.y],o.device.editor.isMobile)})},this.redirectToLink=function(g,R){var q=(0,ue.LW)(o.lastPointerDownEvent.clientX,o.lastPointerDownEvent.clientY,o.lastPointerUpEvent.clientX,o.lastPointerUpEvent.clientY);if(!(!o.hitLinkElement||R&&q>r.f||!R&&q!==0)){var de=(0,d.dE)(o.lastPointerDownEvent,o.state),ne=(0,Yo.Ni)(o.hitLinkElement,o.state,[de.x,de.y],o.device.editor.isMobile),B=(0,d.dE)(o.lastPointerUpEvent,o.state),X=(0,Yo.Ni)(o.hitLinkElement,o.state,[B.x,B.y],o.device.editor.isMobile);if(ne&&X){var ke,Ie,Pe=o.hitLinkElement.link;if(Pe&&(Pe=(0,Mi.$u)(Pe),o.props.onLinkOpen&&(Ie=(0,d.ag)(r.Ks.EXCALIDRAW_LINK,g.nativeEvent),o.props.onLinkOpen(Ar(Ar({},o.hitLinkElement),{},{link:Pe}),Ie)),(ke=Ie)===null||ke===void 0||!ke.defaultPrevented)){var Fe=(0,Mi.q$)(Pe)?"_self":"_blank",Ge=window.open(void 0,Fe);Ge&&(Ge.opener=null,Ge.location=Pe)}}}},this.getTopLayerFrameAtSceneCoords=function(g){var R=o.scene.getNonDeletedFrames().filter(function(q){return(0,bn.Dn)(g,q)});return R.length?R[R.length-1]:null},this.handleCanvasPointerMove=function(g){o.savePointer(g.clientX,g.clientY,o.state.cursorButton),eo.pointers.has(g.pointerId)&&eo.pointers.set(g.pointerId,{x:g.clientX,y:g.clientY});var R=eo.initialScale;if(eo.pointers.size===2&&eo.lastCenter&&R&&eo.initialDistance){var q=ie(eo.pointers),de=q.x-eo.lastCenter.x,ne=q.y-eo.lastCenter.y;eo.lastCenter=q;var B=we(Array.from(eo.pointers.values())),X=o.state.activeTool.type==="freedraw"&&o.state.penMode?1:B/eo.initialDistance,ke=X?(0,se.j)(R*X):o.state.zoom.value;o.setState(function(Bn){var Dn=(0,i.E)({viewportX:q.x,viewportY:q.y,nextZoom:ke},Bn);o.translateCanvas({zoom:Dn.zoom,scrollX:Dn.scrollX+de/ke,scrollY:Dn.scrollY+ne/ke,shouldCacheIgnoreZoom:!0})}),o.resetShouldCacheIgnoreZoomDebounced()}else eo.lastCenter=eo.initialDistance=eo.initialScale=null;if(!(bi||aa||Ra||(0,E.l$)(o.state))){var Ie=(0,se._4)(Ei,g.clientX-o.state.offsetLeft,g.clientY-o.state.offsetTop).isOverEither;o.state.draggingElement||o.state.multiElement||(Ie?(0,Tn.z8)(o.interactiveCanvas):(0,Tn.Uk)(o.interactiveCanvas,o.state));var Pe,Fe=(0,d.dE)(g,o.state),Ge=Fe.x,qe=Fe.y;if(o.state.draggingElement||(Pe=o.state.activeTool.type)!=="rectangle"&&Pe!=="ellipse"&&Pe!=="diamond"&&Pe!=="frame"&&Pe!=="image")o.state.draggingElement||o.setState({snapLines:[]});else{var it=function(Bn,Dn,In,Rn){if(!Zo({event:Rn,selectedElements:[],appState:Dn}))return{originOffset:{x:0,y:0},snapLines:[]};var yn,Fn=(0,Vn.CF)(Bn,[],Dn),wo=Jn(Dn.zoom.value),ln={x:wo,y:wo},en=[],_n=[],Un=Eo(Fn);try{for(Un.s();!(yn=Un.n()).done;){var to,no=yn.value,ao=Eo(ki([no]));try{for(ao.s();!(to=ao.n()).done;){var An=to.value,On=An[0]-In.x;Math.abs(On)<=Math.abs(ln.x)&&(Math.abs(On)<Math.abs(ln.x)&&(_n.length=0),_n.push({type:"pointer",points:[An,[An[0],In.y]],direction:"vertical"}),ln.x=On);var co=An[1]-In.y;Math.abs(co)<=Math.abs(ln.y)&&(Math.abs(co)<Math.abs(ln.y)&&(en.length=0),en.push({type:"pointer",points:[An,[In.x,An[1]]],direction:"horizontal"}),ln.y=co)}}catch(So){ao.e(So)}finally{ao.f()}}}catch(So){Un.e(So)}finally{Un.f()}return{originOffset:{x:_n.length>0?_n[0].points[0][0]-In.x:0,y:en.length>0?en[0].points[0][1]-In.y:0},snapLines:[].concat(_n,en)}}(o.scene.getNonDeletedElements(),o.state,{x:Ge,y:qe},g),st=it.originOffset,kt=it.snapLines;o.setState({snapLines:kt,originSnapOffset:st})}if(o.state.editingLinearElement&&!o.state.editingLinearElement.isDragging){var Lt=oe._.handlePointerMove(g,Ge,qe,o.state);Lt&&Lt!==o.state.editingLinearElement&&(0,he.flushSync)(function(){o.setState({editingLinearElement:Lt})}),Lt?.lastUncommittedPoint!=null?o.maybeSuggestBindingAtCursor(Fe):(0,he.flushSync)(function(){o.setState({suggestedBindings:[]})})}if((0,V.Lx)(o.state.activeTool.type)){var bt=o.state.draggingElement;(0,V.Mn)(bt,!1)?o.maybeSuggestBindingsForLinearElementAtCoords(bt,[Fe],o.state.startBoundElement):o.maybeSuggestBindingAtCursor(Fe)}if(o.state.multiElement){var vt=o.state.multiElement,jt=vt.x,Nt=vt.y,Vt=vt.points,Zt=vt.lastCommittedPoint,Ht=Vt[Vt.length-1];if((0,Tn.Uk)(o.interactiveCanvas,o.state),Ht===Zt)(0,ue.LW)(Ge-jt,qe-Nt,Ht[0],Ht[1])>=r.qx?(0,y.DR)(vt,{points:[].concat((0,m.Z)(Vt),[[Ge-jt,qe-Nt]])}):(0,Tn.KJ)(o.interactiveCanvas,r.oc.POINTER);else if(Vt.length>2&&Zt&&(0,ue.LW)(Ge-jt,qe-Nt,Zt[0],Zt[1])<r.qx)(0,Tn.KJ)(o.interactiveCanvas,r.oc.POINTER),(0,y.DR)(vt,{points:Vt.slice(0,-1)});else{var or,Er=(0,ue.wC)(Ge,qe,g[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),Zr=(0,w.Z)(Er,2),Kr=Zr[0],tn=Zr[1],nn=(or=vt?.lastCommittedPoint)!==null&&or!==void 0?or:[0,0],Ur=(0,w.Z)(nn,2),Gr=Ur[0],Xr=Ur[1],Yr=Kr-jt-Gr,cn=tn-Nt-Xr;if((0,b.Ge)(g)){var gn=(0,re.o4)(Gr+jt,Xr+Nt,Kr,tn);Yr=gn.width,cn=gn.height}(0,ue.g6)(Vt,o.state.zoom.value)&&(0,Tn.KJ)(o.interactiveCanvas,r.oc.POINTER),(0,y.DR)(vt,{points:[].concat((0,m.Z)(Vt.slice(0,-1)),[[Gr+Yr,Xr+cn]])})}}else if(!(g.buttons||o.state.activeTool.type!=="selection"&&o.state.activeTool.type!=="text"&&o.state.activeTool.type!=="eraser")){var hn=o.scene.getNonDeletedElements(),xn=o.scene.getSelectedElements(o.state);if(xn.length!==1||Ie||o.state.editingLinearElement){if(xn.length>1&&!Ie){var sn=(0,re.n2)((0,re.KP)(xn),Ge,qe,o.state.zoom,g.pointerType);if(sn)return void(0,Tn.KJ)(o.interactiveCanvas,(0,re.Un)({transformHandleType:sn}))}}else{var on=(0,re.jt)(hn,o.state,Ge,qe,o.state.zoom,g.pointerType);if(on&&on.transformHandleType)return void(0,Tn.KJ)(o.interactiveCanvas,(0,re.Un)(on))}var Sn=o.getElementAtPosition(Fe.x,Fe.y);if(o.hitLinkElement=o.getElementLinkAtPosition(Fe,Sn),!(0,E.EN)(o.state))if(o.hitLinkElement&&!o.state.selectedElementIds[o.hitLinkElement.id])(0,Tn.KJ)(o.interactiveCanvas,r.oc.POINTER),(0,Yo.Pp)(o.hitLinkElement,o.state);else if((0,Yo.lV)(),Sn&&(Sn.link||(0,V.gs)(Sn))&&o.state.selectedElementIds[Sn.id]&&!o.state.contextMenu&&!o.state.showHyperlinkPopup)o.setState({showHyperlinkPopup:"info"});else if(o.state.activeTool.type==="text")(0,Tn.KJ)(o.interactiveCanvas,(0,re.iB)(Sn)?r.oc.TEXT:r.oc.CROSSHAIR);else if(o.state.viewModeEnabled)(0,Tn.KJ)(o.interactiveCanvas,r.oc.GRAB);else if(Ie)(0,Tn.KJ)(o.interactiveCanvas,r.oc.AUTO);else if(o.state.selectedLinearElement)o.handleHoverSelectedLinearElement(o.state.selectedLinearElement,Ge,qe);else if(g[b.tW.CTRL_OR_CMD])(0,Tn.KJ)(o.interactiveCanvas,r.oc.AUTO);else{var Nn;(Sn||o.isHittingCommonBoundingBoxOfSelectedElements(Fe,xn))&&(Sn==null||!Sn.locked)&&(Sn&&(0,V.gs)(Sn)&&o.isEmbeddableCenter(Sn,g,Ge,qe)?((0,Tn.KJ)(o.interactiveCanvas,r.oc.POINTER),o.setState({activeEmbeddable:{element:Sn,state:"hover"}})):((0,Tn.KJ)(o.interactiveCanvas,r.oc.MOVE),((Nn=o.state.activeEmbeddable)===null||Nn===void 0?void 0:Nn.state)==="hover"&&o.setState({activeEmbeddable:null})))}}}},this.handleEraser=function(g,R,q){for(var de=function(it){it.forEach(function(st){st.locked||(ne.push(st.id),g.altKey?R.elementIdsToErase[st.id]&&R.elementIdsToErase[st.id].erase&&(R.elementIdsToErase[st.id].erase=!1):R.elementIdsToErase[st.id]||(R.elementIdsToErase[st.id]={erase:!0,opacity:st.opacity}))})},ne=[],B=(0,ue.LW)(R.lastCoords.x,R.lastCoords.y,q.x,q.y),X=10/o.state.zoom.value,ke=Ar({},R.lastCoords),Ie=0;Ie<=B&&(de(o.getElementsAtPosition(ke.x,ke.y)),Ie!==B);){var Pe=(Ie=Math.min(Ie+X,B))/B,Fe=(1-Pe)*ke.x+Pe*q.x,Ge=(1-Pe)*ke.y+Pe*q.y;ke.x=Fe,ke.y=Ge}var qe=o.scene.getElementsIncludingDeleted().map(function(it){var st=(0,V.Xh)(it)&&ne.includes(it.containerId)?it.containerId:it.id;if(ne.includes(st)){if(!g.altKey)return(0,y.BE)(it,{opacity:r.xY});if(R.elementIdsToErase[st]&&R.elementIdsToErase[st].erase===!1)return(0,y.BE)(it,{opacity:R.elementIdsToErase[st].opacity})}return it});o.scene.replaceAllElements(qe),R.lastCoords.x=q.x,R.lastCoords.y=q.y},this.handleTouchMove=function(g){la=!0},this.handleCanvasPointerDown=function(g){var R,q;if(o.state.contextMenu&&o.setState({contextMenu:null}),o.state.snapLines&&o.setAppState({snapLines:[]}),o.updateGestureOnPointerDown(g),g.pointerType==="touch"&&o.state.draggingElement&&o.state.draggingElement.type==="freedraw"){var de=o.state.draggingElement;o.updateScene(Ar(Ar({},de.points.length<10?{elements:o.scene.getElementsIncludingDeleted().filter(function(kt){return kt.id!==de.id})}:{}),{},{appState:{draggingElement:null,editingElement:null,startBoundElement:null,suggestedBindings:[],selectedElementIds:(0,Vn.Oh)(Object.keys(o.state.selectedElementIds).filter(function(kt){return kt!==de.id}).reduce(function(kt,Lt){return kt[Lt]=o.state.selectedElementIds[Lt],kt},{}),o.state)}}))}else{var ne=document.getSelection();if(ne!=null&&ne.anchorNode&&ne.removeAllRanges(),o.maybeOpenContextMenuAfterPointerDownOnTouchDevices(g),o.maybeCleanupAfterMissingPointerUp(g),o.state.penDetected||g.pointerType!=="pen"||o.setState(function(kt){return{penMode:!0,penDetected:!0}}),!o.device.isTouchScreen&&["pen","touch"].includes(g.pointerType)&&(o.device=(0,d.v4)(o.device,{isTouchScreen:!0})),!(aa||(o.lastPointerDownEvent=g,o.handleCanvasPanUsingWheelOrSpaceDrag(g)||(o.setState({lastPointerDownWith:g.pointerType,cursorButton:"down"}),o.savePointer(g.clientX,g.clientY,"down"),g.button!==r.Oh.MAIN&&g.button!==r.Oh.TOUCH||eo.pointers.size>1)))){var B=o.initialPointerDownState(g);if(o.setState({selectedElementsAreBeingDragged:!1}),!o.handleDraggingScrollBar(g,B)&&(o.clearSelectionIfNotUsingSelection(),o.updateBindingEnabledOnPointerMove(g),!o.handleSelectionOnPointerDown(g,B)&&(!o.state.penMode||g.pointerType!=="touch"||o.state.activeTool.type==="selection"||o.state.activeTool.type==="text"||o.state.activeTool.type==="image")))if(o.state.activeTool.type!=="text"){if(o.state.activeTool.type==="arrow"||o.state.activeTool.type==="line")o.handleLinearElementOnPointerDown(g,o.state.activeTool.type,B);else if(o.state.activeTool.type==="image"){(0,Tn.KJ)(o.interactiveCanvas,r.oc.CROSSHAIR);var X=o.state.pendingImageElementId&&o.scene.getElement(o.state.pendingImageElementId);if(!X)return;o.setState({draggingElement:X,editingElement:X,pendingImageElementId:null,multiElement:null});var ke=(0,d.dE)(g,o.state),Ie=ke.x,Pe=ke.y,Fe=o.getTopLayerFrameAtSceneCoords({x:Ie,y:Pe});(0,y.DR)(X,{x:Ie,y:Pe,frameId:Fe?Fe.id:null})}else o.state.activeTool.type==="freedraw"?o.handleFreeDrawElementOnPointerDown(g,o.state.activeTool.type,B):o.state.activeTool.type==="custom"?(0,Tn.Uk)(o.interactiveCanvas,o.state):o.state.activeTool.type==="frame"?o.createFrameElementOnPointerDown(B):o.state.activeTool.type==="laser"?o.laserPathManager.startPath(B.lastCoords.x,B.lastCoords.y):o.state.activeTool.type!=="eraser"&&o.state.activeTool.type!=="hand"&&o.createGenericElementOnPointerDown(o.state.activeTool.type,B);(R=o.props)===null||R===void 0||(q=R.onPointerDown)===null||q===void 0||q.call(R,o.state.activeTool,B),o.onPointerDownEmitter.trigger(o.state.activeTool,B,g);var Ge=o.onPointerMoveFromPointerDownHandler(B),qe=o.onPointerUpFromPointerDownHandler(B),it=o.onKeyDownFromPointerDownHandler(B),st=o.onKeyUpFromPointerDownHandler(B);Gn=qe,o.state.viewModeEnabled&&o.state.activeTool.type!=="laser"||(window.addEventListener(r.Ks.POINTER_MOVE,Ge),window.addEventListener(r.Ks.POINTER_UP,qe),window.addEventListener(r.Ks.KEYDOWN,it),window.addEventListener(r.Ks.KEYUP,st),B.eventListeners.onMove=Ge,B.eventListeners.onUp=qe,B.eventListeners.onKeyUp=st,B.eventListeners.onKeyDown=it)}else o.handleTextOnPointerDown(g,B)}}},this.handleCanvasPointerUp=function(g){var R,q;o.removePointer(g),o.lastPointerUpEvent=g;var de=(0,d.dE)({clientX:g.clientX,clientY:g.clientY},o.state),ne=g.timeStamp-((R=(q=o.lastPointerDownEvent)===null||q===void 0?void 0:q.timeStamp)!==null&&R!==void 0?R:0);if(o.device.editor.isMobile&&ne<300){var B=o.getElementAtPosition(de.x,de.y);if((0,V.gs)(B)&&o.isEmbeddableCenter(B,g,de.x,de.y))return void o.handleEmbeddableCenterClick(B)}if(o.device.isTouchScreen){var X=o.getElementAtPosition(de.x,de.y);o.hitLinkElement=o.getElementLinkAtPosition(de,X)}o.hitLinkElement&&!o.state.selectedElementIds[o.hitLinkElement.id]?ne<300&&o.hitLinkElement.type==="embeddable"&&!(0,Yo.wq)(o.hitLinkElement,o.state,[de.x,de.y])?o.handleEmbeddableCenterClick(o.hitLinkElement):o.redirectToLink(g,o.device.isTouchScreen):o.state.viewModeEnabled&&o.setState({activeEmbeddable:null,selectedElementIds:{}})},this.maybeOpenContextMenuAfterPointerDownOnTouchDevices=function(g){g.pointerType==="touch"&&(la=!1,ai?la=!0:ai=window.setTimeout(function(){ai=0,la||o.handleCanvasContextMenu(g)},r.nM))},this.resetContextMenuTimer=function(){clearTimeout(ai),ai=0,la=!1},this.handleCanvasPanUsingWheelOrSpaceDrag=function(g){if(!(eo.pointers.size<=1&&(g.button===r.Oh.WHEEL||g.button===r.Oh.MAIN&&bi||(0,E.l$)(o.state)||o.state.viewModeEnabled))||(0,re.iB)(o.state.editingElement))return!1;aa=!0,g.preventDefault();var R=!1,q=/Linux/.test(window.navigator.platform);(0,Tn.KJ)(o.interactiveCanvas,r.oc.GRABBING);var de=g.clientX,ne=g.clientY,B=(0,d.$9)(function(ke){var Ie=de-ke.clientX,Pe=ne-ke.clientY;if(de=ke.clientX,ne=ke.clientY,q&&!R&&(Math.abs(Ie)>1||Math.abs(Pe)>1)){R=!0;var Fe=function Ge(qe){document.body.removeEventListener(r.Ks.PASTE,Ge),qe.stopPropagation()};document.body.addEventListener(r.Ks.PASTE,Fe),window.addEventListener(r.Ks.POINTER_UP,function Ge(){setTimeout(function(){document.body.removeEventListener(r.Ks.PASTE,Fe),window.removeEventListener(r.Ks.POINTER_UP,Ge)},100)})}o.translateCanvas({scrollX:o.state.scrollX-Ie/o.state.zoom.value,scrollY:o.state.scrollY-Pe/o.state.zoom.value})}),X=(0,d.tH)(Gn=function(){Gn=null,aa=!1,bi||(o.state.viewModeEnabled?(0,Tn.KJ)(o.interactiveCanvas,r.oc.GRAB):(0,Tn.Uk)(o.interactiveCanvas,o.state)),o.setState({cursorButton:"up"}),o.savePointer(g.clientX,g.clientY,"up"),window.removeEventListener(r.Ks.POINTER_MOVE,B),window.removeEventListener(r.Ks.POINTER_UP,X),window.removeEventListener(r.Ks.BLUR,X),B.flush()});return window.addEventListener(r.Ks.BLUR,X),window.addEventListener(r.Ks.POINTER_MOVE,B,{passive:!0}),window.addEventListener(r.Ks.POINTER_UP,X),!0},this.clearSelectionIfNotUsingSelection=function(){o.state.activeTool.type!=="selection"&&o.setState({selectedElementIds:(0,Vn.Oh)({},o.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null})},this.handleSelectionOnPointerDown=function(g,R){if(o.state.activeTool.type==="selection"){var q=o.scene.getNonDeletedElements(),de=o.scene.getSelectedElements(o.state);if(de.length!==1||o.state.editingLinearElement)de.length>1&&(R.resize.handleType=(0,re.n2)((0,re.KP)(de),R.origin.x,R.origin.y,o.state.zoom,g.pointerType));else{var ne=(0,re.jt)(q,o.state,R.origin.x,R.origin.y,o.state.zoom,g.pointerType);ne!=null&&(o.setState({resizingElement:ne.element}),R.resize.handleType=ne.transformHandleType)}if(R.resize.handleType)R.resize.isResizing=!0,R.resize.offset=(0,d.AK)((0,re.xx)(R.resize.handleType,de,R.origin.x,R.origin.y)),de.length===1&&(0,V.bt)(de[0])&&de[0].points.length===2&&(R.resize.arrowDirection=(0,re.T)(R.resize.handleType,de[0]));else{var B;if(o.state.selectedLinearElement){var X=o.state.editingLinearElement||o.state.selectedLinearElement,ke=oe._.handlePointerDown(g,o.state,o.history,R.origin,X);if(ke.hitElement&&(R.hit.element=ke.hitElement),ke.linearElementEditor&&(o.setState({selectedLinearElement:ke.linearElementEditor}),o.state.editingLinearElement&&o.setState({editingLinearElement:ke.linearElementEditor})),ke.didAddPoint)return!0}if(R.hit.element=(B=R.hit.element)!==null&&B!==void 0?B:o.getElementAtPosition(R.origin.x,R.origin.y),R.hit.element&&o.getElementLinkAtPosition({x:R.origin.x,y:R.origin.y},R.hit.element))return!1;R.hit.allHitElements=o.getElementsAtPosition(R.origin.x,R.origin.y);var Ie=R.hit.element,Pe=R.hit.allHitElements.some(function(Fe){return o.isASelectedElement(Fe)});if(Ie!==null&&Pe||g.shiftKey||R.hit.hasHitCommonBoundingBoxOfSelectedElements||o.clearSelection(Ie),o.state.editingLinearElement)o.setState({selectedElementIds:(0,Vn.Oh)((0,W.Z)({},o.state.editingLinearElement.elementId,!0),o.state)});else if(Ie!=null){if(g[b.tW.CTRL_OR_CMD])return o.state.selectedElementIds[Ie.id]||(R.hit.wasAddedToSelection=!0),o.setState(function(Fe){return Ar(Ar({},(0,Re.iE)(Fe,Ie)),{},{previousSelectedElementIds:o.state.selectedElementIds})}),!1;o.state.selectedElementIds[Ie.id]||(o.state.editingGroupId&&!(0,Re.Nd)(Ie,o.state.editingGroupId)&&o.setState({selectedElementIds:(0,Vn.Oh)({},o.state),selectedGroupIds:{},editingGroupId:null,activeEmbeddable:null}),Pe||R.hit.hasHitCommonBoundingBoxOfSelectedElements||(o.setState(function(Fe){var Ge=Ar(Ar({},Fe.selectedElementIds),{},(0,W.Z)({},Ie.id,!0)),qe=[];if(Object.keys(Fe.selectedElementIds).forEach(function(kt){var Lt=o.scene.getElement(kt);Lt&&qe.push(Lt)}),Ie.type==="frame")(0,bn.zD)(qe,Ie.id).forEach(function(kt){delete Ge[kt.id]});else if(Ie.frameId)Ge[Ie.frameId]&&delete Ge[Ie.id];else{var it=Ie.groupIds,st=new Set(it.flatMap(function(kt){return(0,Re.Fb)(o.scene.getNonDeletedElements(),kt)}).filter(function(kt){return kt.type==="frame"}).map(function(kt){return kt.id}));st.size>0&&qe.forEach(function(kt){kt.frameId&&st.has(kt.frameId)&&(delete Ge[kt.id],kt.groupIds.flatMap(function(Lt){return(0,Re.Fb)(o.scene.getNonDeletedElements(),Lt)}).forEach(function(Lt){delete Ge[Lt.id]}))})}return Ar(Ar({},(0,Re.bO)({editingGroupId:Fe.editingGroupId,selectedElementIds:Ge},o.scene.getNonDeletedElements(),Fe,o)),{},{showHyperlinkPopup:!(!Ie.link&&!(0,V.gs)(Ie))&&"info"})}),R.hit.wasAddedToSelection=!0))}o.setState({previousSelectedElementIds:o.state.selectedElementIds})}}return!1},this.handleTextOnPointerDown=function(g,R){if(!(0,re.iB)(o.state.editingElement)){var q=R.origin.x,de=R.origin.y,ne=o.getElementAtPosition(q,de,{includeBoundTextElement:!0}),B=(0,ut.OW)(o.scene.getNonDeletedElements(),o.state,q,de);(0,V.Xo)(ne)&&(B=ne,q=ne.x+ne.width/2,de=ne.y+ne.height/2),o.startTextEditing({sceneX:q,sceneY:de,insertAtParentCenter:!g.altKey,container:B}),(0,Tn.z8)(o.interactiveCanvas),o.state.activeTool.locked||o.setState({activeTool:(0,d.Om)(o.state,{type:"selection"})})}},this.handleFreeDrawElementOnPointerDown=function(g,R,q){var de=(0,ue.wC)(q.origin.x,q.origin.y,null),ne=(0,w.Z)(de,2),B=ne[0],X=ne[1],ke=o.getTopLayerFrameAtSceneCoords({x:B,y:X}),Ie=(0,Y.KE)({type:R,x:B,y:X,strokeColor:o.state.currentItemStrokeColor,backgroundColor:o.state.currentItemBackgroundColor,fillStyle:o.state.currentItemFillStyle,strokeWidth:o.state.currentItemStrokeWidth,strokeStyle:o.state.currentItemStrokeStyle,roughness:o.state.currentItemRoughness,opacity:o.state.currentItemOpacity,roundness:null,simulatePressure:g.pressure===.5,locked:!1,frameId:ke?ke.id:null});o.setState(function(Ge){var qe=Ar({},Ge.selectedElementIds);return delete qe[Ie.id],{selectedElementIds:(0,Vn.Oh)(qe,Ge)}});var Pe=Ie.simulatePressure?Ie.pressures:[].concat((0,m.Z)(Ie.pressures),[g.pressure]);(0,y.DR)(Ie,{points:[[0,0]],pressures:Pe});var Fe=(0,h.Y9)(q.origin,o.scene);o.scene.addNewElement(Ie),o.setState({draggingElement:Ie,editingElement:Ie,startBoundElement:Fe,suggestedBindings:[]})},this.insertEmbeddableElement=function(g){var R,q=g.sceneX,de=g.sceneY,ne=g.link,B=(0,ue.wC)(q,de,(R=o.lastPointerDownEvent)!==null&&R!==void 0&&R[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),X=(0,w.Z)(B,2),ke=X[0],Ie=X[1],Pe=(0,O.LM)(ne);if(Pe){Pe.warning&&o.setToast({message:Pe.warning,closable:!0});var Fe=(0,Y.M)({type:"embeddable",x:ke,y:Ie,strokeColor:"transparent",backgroundColor:"transparent",fillStyle:o.state.currentItemFillStyle,strokeWidth:o.state.currentItemStrokeWidth,strokeStyle:o.state.currentItemStrokeStyle,roughness:o.state.currentItemRoughness,roundness:o.getCurrentItemRoundness("embeddable"),opacity:o.state.currentItemOpacity,locked:!1,width:Pe.aspectRatio.w,height:Pe.aspectRatio.h,link:ne,validated:null});return o.scene.replaceAllElements([].concat((0,m.Z)(o.scene.getElementsIncludingDeleted()),[Fe])),Fe}},this.createImageElement=function(g){var R,q=g.sceneX,de=g.sceneY,ne=g.addToFrameUnderCursor,B=ne===void 0||ne,X=(0,ue.wC)(q,de,(R=o.lastPointerDownEvent)!==null&&R!==void 0&&R[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),ke=(0,w.Z)(X,2),Ie=ke[0],Pe=ke[1],Fe=B?o.getTopLayerFrameAtSceneCoords({x:Ie,y:Pe}):null;return(0,re.vw)({type:"image",x:Ie,y:Pe,strokeColor:o.state.currentItemStrokeColor,backgroundColor:o.state.currentItemBackgroundColor,fillStyle:o.state.currentItemFillStyle,strokeWidth:o.state.currentItemStrokeWidth,strokeStyle:o.state.currentItemStrokeStyle,roughness:o.state.currentItemRoughness,roundness:null,opacity:o.state.currentItemOpacity,locked:!1,frameId:Fe?Fe.id:null})},this.handleLinearElementOnPointerDown=function(g,R,q){if(o.state.multiElement){var de=o.state.multiElement;if(de.type==="line"&&(0,ue.g6)(de.points,o.state.zoom.value))return(0,y.DR)(de,{lastCommittedPoint:de.points[de.points.length-1]}),void o.actionManager.executeAction(U.pL);var ne=de.x,B=de.y,X=de.lastCommittedPoint;if(de.points.length>1&&X&&(0,ue.LW)(q.origin.x-ne,q.origin.y-B,X[0],X[1])<r.qx)return void o.actionManager.executeAction(U.pL);o.setState(function(Vt){return{selectedElementIds:(0,Vn.Oh)(Ar(Ar({},Vt.selectedElementIds),{},(0,W.Z)({},de.id,!0)),Vt)}}),(0,y.DR)(de,{lastCommittedPoint:de.points[de.points.length-1]}),(0,Tn.KJ)(o.interactiveCanvas,r.oc.POINTER)}else{var ke=(0,ue.wC)(q.origin.x,q.origin.y,g[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),Ie=(0,w.Z)(ke,2),Pe=Ie[0],Fe=Ie[1],Ge=o.getTopLayerFrameAtSceneCoords({x:Pe,y:Fe}),qe=o.state,it=qe.currentItemStartArrowhead,st=qe.currentItemEndArrowhead,kt=R==="arrow"?[it,st]:[null,null],Lt=(0,w.Z)(kt,2),bt=Lt[0],vt=Lt[1],jt=(0,re.y8)({type:R,x:Pe,y:Fe,strokeColor:o.state.currentItemStrokeColor,backgroundColor:o.state.currentItemBackgroundColor,fillStyle:o.state.currentItemFillStyle,strokeWidth:o.state.currentItemStrokeWidth,strokeStyle:o.state.currentItemStrokeStyle,roughness:o.state.currentItemRoughness,opacity:o.state.currentItemOpacity,roundness:o.state.currentItemRoundness==="round"?{type:r.a6.PROPORTIONAL_RADIUS}:null,startArrowhead:bt,endArrowhead:vt,locked:!1,frameId:Ge?Ge.id:null});o.setState(function(Vt){var Zt=Ar({},Vt.selectedElementIds);return delete Zt[jt.id],{selectedElementIds:(0,Vn.Oh)(Zt,Vt)}}),(0,y.DR)(jt,{points:[].concat((0,m.Z)(jt.points),[[0,0]])});var Nt=(0,h.Y9)(q.origin,o.scene);o.scene.addNewElement(jt),o.setState({draggingElement:jt,editingElement:jt,startBoundElement:Nt,suggestedBindings:[]})}},this.createGenericElementOnPointerDown=function(g,R){var q,de,ne=(0,ue.wC)(R.origin.x,R.origin.y,(q=o.lastPointerDownEvent)!==null&&q!==void 0&&q[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),B=(0,w.Z)(ne,2),X=B[0],ke=B[1],Ie=o.getTopLayerFrameAtSceneCoords({x:X,y:ke}),Pe={x:X,y:ke,strokeColor:o.state.currentItemStrokeColor,backgroundColor:o.state.currentItemBackgroundColor,fillStyle:o.state.currentItemFillStyle,strokeWidth:o.state.currentItemStrokeWidth,strokeStyle:o.state.currentItemStrokeStyle,roughness:o.state.currentItemRoughness,opacity:o.state.currentItemOpacity,roundness:o.getCurrentItemRoundness(g),locked:!1,frameId:Ie?Ie.id:null};(de=g==="embeddable"?(0,Y.M)(Ar({type:"embeddable",validated:null},Pe)):(0,re.Up)(Ar({type:g},Pe))).type==="selection"?o.setState({selectionElement:de,draggingElement:de}):(o.scene.addNewElement(de),o.setState({multiElement:null,draggingElement:de,editingElement:de}))},this.createFrameElementOnPointerDown=function(g){var R,q=(0,ue.wC)(g.origin.x,g.origin.y,(R=o.lastPointerDownEvent)!==null&&R!==void 0&&R[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),de=(0,w.Z)(q,2),ne=de[0],B=de[1],X=(0,Y.M3)(Ar({x:ne,y:B,opacity:o.state.currentItemOpacity,locked:!1},r.iG));o.scene.replaceAllElements([].concat((0,m.Z)(o.scene.getElementsIncludingDeleted()),[X])),o.setState({multiElement:null,draggingElement:X,editingElement:X})},this.restoreReadyToEraseElements=function(g){var R=o.scene.getElementsIncludingDeleted().map(function(q){return g.elementIdsToErase[q.id]&&g.elementIdsToErase[q.id].erase?(0,y.BE)(q,{opacity:g.elementIdsToErase[q.id].opacity}):(0,V.Xh)(q)&&g.elementIdsToErase[q.containerId]&&g.elementIdsToErase[q.containerId].erase?(0,y.BE)(q,{opacity:g.elementIdsToErase[q.containerId].opacity}):q.frameId&&g.elementIdsToErase[q.frameId]&&g.elementIdsToErase[q.frameId].erase?(0,y.BE)(q,{opacity:g.elementIdsToErase[q.frameId].opacity}):q});o.scene.replaceAllElements(R)},this.eraseElements=function(g){var R=o.scene.getElementsIncludingDeleted().map(function(q){return g.elementIdsToErase[q.id]&&g.elementIdsToErase[q.id].erase||(0,V.Xh)(q)&&g.elementIdsToErase[q.containerId]&&g.elementIdsToErase[q.containerId].erase||q.frameId&&g.elementIdsToErase[q.frameId]&&g.elementIdsToErase[q.frameId].erase?(0,y.BE)(q,{isDeleted:!0}):q});o.history.resumeRecording(),o.scene.replaceAllElements(R)},this.initializeImage=function(){var g=(0,v.Z)(S().mark(function R(q){var de,ne,B,X,ke,Ie,Pe,Fe,Ge,qe,it,st,kt,Lt,bt;return S().wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:if(X=q.imageFile,ke=q.imageElement,Ie=q.showCursorImagePreview,Pe=Ie!==void 0&&Ie,(0,tr.Wr)(X)){vt.next=3;break}throw new Error((0,A.t)("errors.unsupportedFileType"));case 3:if(Fe=X.type,(0,Tn.KJ)(o.interactiveCanvas,"wait"),Fe!==r.LO.svg){vt.next=23;break}return vt.prev=6,vt.t0=tr.Pn,vt.t1=Ii.bp,vt.next=11,X.text();case 11:return vt.t2=vt.sent,vt.next=14,(0,vt.t1)(vt.t2);case 14:vt.t3=vt.sent,vt.t4=X.name,X=(0,vt.t0)(vt.t3,vt.t4),vt.next=23;break;case 19:throw vt.prev=19,vt.t5=vt.catch(6),console.warn(vt.t5),new Error((0,A.t)("errors.svgImageInsertError"));case 23:return vt.next=25,((de=(ne=o.props).generateIdForFile)===null||de===void 0?void 0:de.call(ne,X))||(0,tr.tW)(X);case 25:if(Ge=vt.sent){vt.next=29;break}throw console.warn("Couldn't generate file id or the supplied `generateIdForFile` didn't resolve to one."),new Error((0,A.t)("errors.imageInsertError"));case 29:if((qe=o.files[Ge])!=null&&qe.dataURL){vt.next=42;break}return vt.prev=31,vt.next=34,(0,tr.Tu)(X,{maxWidthOrHeight:r.h6});case 34:X=vt.sent,vt.next=40;break;case 37:vt.prev=37,vt.t6=vt.catch(31),console.error("error trying to resing image file on insertion",vt.t6);case 40:if(!(X.size>r.$n)){vt.next=42;break}throw new Error((0,A.t)("errors.fileTooBig",{maxSize:"".concat(Math.trunc(r.$n/1024/1024),"MB")}));case 42:if(Pe&&(st=(it=o.files[Ge])===null||it===void 0?void 0:it.dataURL,kt=st&&(0,tr.KG)(st),o.setImagePreviewCursor(kt||X)),vt.t7=(B=o.files[Ge])===null||B===void 0?void 0:B.dataURL,vt.t7){vt.next=48;break}return vt.next=47,(0,tr.Sf)(X);case 47:vt.t7=vt.sent;case 48:return Lt=vt.t7,bt=(0,y.DR)(ke,{fileId:Ge},!1),vt.abrupt("return",new Promise(function(){var jt=(0,v.Z)(S().mark(function Nt(Vt,Zt){var Ht,or;return S().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:if(Er.prev=0,o.files=Ar(Ar({},o.files),{},(0,W.Z)({},Ge,{mimeType:Fe,id:Ge,dataURL:Lt,created:Date.now(),lastRetrieved:Date.now()})),or=o.imageCache.get(Ge)){Er.next=7;break}return o.addNewImagesToImageCache(),Er.next=7,o.updateImageCache([bt]);case 7:if(!(or?.image instanceof Promise)){Er.next=10;break}return Er.next=10,or.image;case 10:o.state.pendingImageElementId!==bt.id&&((Ht=o.state.draggingElement)===null||Ht===void 0?void 0:Ht.id)!==bt.id&&o.initializeImageDimensions(bt,!0),Vt(bt),Er.next=18;break;case 14:Er.prev=14,Er.t0=Er.catch(0),console.error(Er.t0),Zt(new Error((0,A.t)("errors.imageInsertError")));case 18:return Er.prev=18,Pe||(0,Tn.z8)(o.interactiveCanvas),Er.finish(18);case 21:case"end":return Er.stop()}},Nt,null,[[0,14,18,21]])}));return function(Nt,Vt){return jt.apply(this,arguments)}}()));case 51:case"end":return vt.stop()}},R,null,[[6,19],[31,37]])}));return function(R){return g.apply(this,arguments)}}(),this.insertImageElement=function(){var g=(0,v.Z)(S().mark(function R(q,de,ne){return S().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(o.isToolSupported("image")){B.next=3;break}return o.setState({errorMessage:(0,A.t)("errors.imageToolNotSupported")}),B.abrupt("return");case 3:return o.scene.addNewElement(q),B.prev=4,B.next=7,o.initializeImage({imageFile:de,imageElement:q,showCursorImagePreview:ne});case 7:return B.abrupt("return",B.sent);case 10:return B.prev=10,B.t0=B.catch(4),(0,y.DR)(q,{isDeleted:!0}),o.actionManager.executeAction(U.pL),o.setState({errorMessage:B.t0.message||(0,A.t)("errors.imageInsertError")}),B.abrupt("return",null);case 16:case"end":return B.stop()}},R,null,[[4,10]])}));return function(R,q,de){return g.apply(this,arguments)}}(),this.setImagePreviewCursor=function(){var g=(0,v.Z)(S().mark(function R(q){var de,ne,B,X,ke,Ie,Pe;return S().wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return de=96,Fe.next=3,(0,tr.Tu)(q,{maxWidthOrHeight:de});case 3:return ne=Fe.sent,Fe.next=6,(0,tr.Sf)(ne);case 6:if(B=Fe.sent,q.type!==r.LO.svg){Fe.next=20;break}return Fe.next=10,(0,Ii.PK)(B);case 10:X=Fe.sent,ke=Math.min(X.height,de),(Ie=ke*(X.width/X.height))>de&&(ke=(Ie=de)*(X.height/X.width)),(Pe=document.createElement("canvas")).height=ke,Pe.width=Ie,Pe.getContext("2d").drawImage(X,0,0,Ie,ke),B=Pe.toDataURL(r.LO.svg);case 20:o.state.pendingImageElementId&&(0,Tn.KJ)(o.interactiveCanvas,"url(".concat(B,") 4 4, auto"));case 21:case"end":return Fe.stop()}},R)}));return function(R){return g.apply(this,arguments)}}(),this.onImageAction=function(){var g=(0,v.Z)(S().mark(function R(q){var de,ne,B,X,ke,Ie,Pe,Fe;return S().wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:return de=q.insertOnCanvasDirectly,Ge.prev=1,ne=o.state.width/2+o.state.offsetLeft,B=o.state.height/2+o.state.offsetTop,X=(0,d.dE)({clientX:ne,clientY:B},o.state),ke=X.x,Ie=X.y,Ge.next=7,(0,cr.I$)({description:"Image",extensions:Object.keys(r.KL)});case 7:Pe=Ge.sent,Fe=o.createImageElement({sceneX:ke,sceneY:Ie,addToFrameUnderCursor:!1}),de?(o.insertImageElement(Fe,Pe),o.initializeImageDimensions(Fe),o.setState({selectedElementIds:(0,Vn.Oh)((0,W.Z)({},Fe.id,!0),o.state)},function(){o.actionManager.executeAction(U.pL)})):o.setState({pendingImageElementId:Fe.id},function(){o.insertImageElement(Fe,Pe,!0)}),Ge.next=16;break;case 12:Ge.prev=12,Ge.t0=Ge.catch(1),Ge.t0.name!=="AbortError"?console.error(Ge.t0):console.warn(Ge.t0),o.setState({pendingImageElementId:null,editingElement:null,activeTool:(0,d.Om)(o.state,{type:"selection"})},function(){o.actionManager.executeAction(U.pL)});case 16:case"end":return Ge.stop()}},R,null,[[1,12]])}));return function(R){return g.apply(this,arguments)}}(),this.initializeImageDimensions=function(g){var R,q=arguments.length>1&&arguments[1]!==void 0&&arguments[1],de=(0,V.wi)(g)&&((R=o.imageCache.get(g.fileId))===null||R===void 0?void 0:R.image);if(!de||de instanceof Promise){if(g.width<r.f/o.state.zoom.value&&g.height<r.f/o.state.zoom.value){var ne=100/o.state.zoom.value;(0,y.DR)(g,{x:g.x-ne/2,y:g.y-ne/2,width:ne,height:ne})}}else if(q||g.width<r.f/o.state.zoom.value&&g.height<r.f/o.state.zoom.value){var B=Math.max(o.state.height-120,160),X=Math.min(B,Math.floor(.5*o.state.height)/o.state.zoom.value),ke=Math.min(de.naturalHeight,X),Ie=ke*(de.naturalWidth/de.naturalHeight),Pe=g.x+g.width/2-Ie/2,Fe=g.y+g.height/2-ke/2;(0,y.DR)(g,{x:Pe,y:Fe,width:Ie,height:ke})}},this.updateImageCache=function(){var g=(0,v.Z)(S().mark(function R(q){var de,ne,B,X,ke,Ie,Pe,Fe=arguments;return S().wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:return de=Fe.length>1&&Fe[1]!==void 0?Fe[1]:o.files,Ge.next=3,(0,Ii.Xx)({imageCache:o.imageCache,fileIds:q.map(function(qe){return qe.fileId}),files:de});case 3:if(ne=Ge.sent,B=ne.updatedFiles,X=ne.erroredFiles,B.size||X.size){ke=Io(q);try{for(ke.s();!(Ie=ke.n()).done;)Pe=Ie.value,B.has(Pe.fileId)&&oi.R.delete(Pe)}catch(qe){ke.e(qe)}finally{ke.f()}}return X.size&&o.scene.replaceAllElements(o.scene.getElementsIncludingDeleted().map(function(qe){return(0,V.wi)(qe)&&X.has(qe.fileId)?(0,y.BE)(qe,{status:"error"}):qe})),Ge.abrupt("return",{updatedFiles:B,erroredFiles:X});case 9:case"end":return Ge.stop()}},R)}));return function(R){return g.apply(this,arguments)}}(),this.addNewImagesToImageCache=(0,v.Z)(S().mark(function g(){var R,q,de,ne,B=arguments;return S().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(R=B.length>0&&B[0]!==void 0?B[0]:(0,Ii.oA)(o.scene.getNonDeletedElements()),q=B.length>1&&B[1]!==void 0?B[1]:o.files,!(de=R.filter(function(ke){return!ke.isDeleted&&!o.imageCache.has(ke.fileId)})).length){X.next=9;break}return X.next=6,o.updateImageCache(de,q);case 6:ne=X.sent,ne.updatedFiles.size&&o.scene.informMutation();case 9:case"end":return X.stop()}},g)})),this.scheduleImageRefresh=ma()(function(){o.addNewImagesToImageCache()},r.LL),this.updateBindingEnabledOnPointerMove=function(g){var R=(0,h.cz)(g);o.state.isBindingEnabled!==R&&o.setState({isBindingEnabled:R})},this.maybeSuggestBindingAtCursor=function(g){var R=(0,h.Y9)(g,o.scene);o.setState({suggestedBindings:R!=null?[R]:[]})},this.maybeSuggestBindingsForLinearElementAtCoords=function(g,R,q){if(R.length){var de=R.reduce(function(ne,B){var X=(0,h.Y9)(B,o.scene);return X==null||(0,h.DK)(g,q?.id,X)||ne.push(X),ne},[]);o.setState({suggestedBindings:de})}},this.handleInteractiveCanvasRef=function(g){var R,q,de;g!==null?(o.interactiveCanvas=g,o.interactiveCanvas.addEventListener(r.Ks.WHEEL,o.handleWheel),o.interactiveCanvas.addEventListener(r.Ks.TOUCH_START,o.onTouchStart),o.interactiveCanvas.addEventListener(r.Ks.TOUCH_END,o.onTouchEnd)):((R=o.interactiveCanvas)===null||R===void 0||R.removeEventListener(r.Ks.WHEEL,o.handleWheel),(q=o.interactiveCanvas)===null||q===void 0||q.removeEventListener(r.Ks.TOUCH_START,o.onTouchStart),(de=o.interactiveCanvas)===null||de===void 0||de.removeEventListener(r.Ks.TOUCH_END,o.onTouchEnd))},this.handleAppOnDrop=function(){var g=(0,v.Z)(S().mark(function R(q){var de,ne,B,X,ke,Ie,Pe,Fe,Ge,qe,it,st,kt,Lt,bt,vt;return S().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,(0,tr.bv)(q);case 2:if(B=jt.sent,X=B.file,ke=B.fileHandle,Ie=(0,d.dE)(q,o.state),Pe=Ie.x,Fe=Ie.y,jt.prev=6,!(0,tr.Wr)(X)||!o.isToolSupported("image")){jt.next=26;break}if(X?.type!==r.LO.png&&X?.type!==r.LO.svg){jt.next=21;break}return jt.prev=9,jt.next=12,(0,F.cT)(X,o.state,o.scene.getElementsIncludingDeleted(),ke);case 12:return Ge=jt.sent,o.syncActionResult(Ar(Ar({},Ge),{},{appState:Ar(Ar({},Ge.appState||o.state),{},{isLoading:!1}),replaceFiles:!0,commitToHistory:!0})),jt.abrupt("return");case 17:if(jt.prev=17,jt.t0=jt.catch(9),jt.t0.name==="EncodingError"){jt.next=21;break}throw jt.t0;case 21:return qe=o.createImageElement({sceneX:Pe,sceneY:Fe}),o.insertImageElement(qe,X),o.initializeImageDimensions(qe),o.setState({selectedElementIds:(0,Vn.Oh)((0,W.Z)({},qe.id,!0),o.state)}),jt.abrupt("return");case 26:jt.next=31;break;case 28:return jt.prev=28,jt.t1=jt.catch(6),jt.abrupt("return",o.setState({isLoading:!1,errorMessage:jt.t1.message}));case 31:if(!(it=q.dataTransfer.getData(r.LO.excalidrawlib))||typeof it!="string"){jt.next=35;break}try{st=(0,tr.wf)(it),o.addElementsFromPasteOrLibrary({elements:(0,ee.WV)(st),position:q,files:null})}catch(Nt){o.setState({errorMessage:Nt.message})}return jt.abrupt("return");case 35:if(!X){jt.next=38;break}return jt.next=38,o.loadFileToCanvas(X,ke);case 38:(de=q.dataTransfer)!==null&&de!==void 0&&(ne=de.types)!==null&&ne!==void 0&&ne.includes("text/plain")&&(bt=(kt=q.dataTransfer)===null||kt===void 0?void 0:kt.getData("text"))&&(0,O.xm)(bt,o.props.validateEmbeddable)&&(/^(http|https):\/\/[^\s/$.?#].[^\s]*$/.test(bt)||((Lt=(0,O.LM)(bt))===null||Lt===void 0?void 0:Lt.type)==="video")&&(vt=o.insertEmbeddableElement({sceneX:Pe,sceneY:Fe,link:(0,Mi.$u)(bt)}))&&o.setState({selectedElementIds:(0,W.Z)({},vt.id,!0)});case 39:case"end":return jt.stop()}},R,null,[[6,28],[9,17]])}));return function(R){return g.apply(this,arguments)}}(),this.loadFileToCanvas=function(){var g=(0,v.Z)(S().mark(function R(q,de){var ne;return S().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,(0,tr.gY)(q);case 2:return q=B.sent,B.prev=3,B.next=6,(0,tr.ZY)(q,o.state,o.scene.getElementsIncludingDeleted(),de);case 6:if((ne=B.sent).type!==r.LO.excalidraw){B.next=12;break}o.setState({isLoading:!0}),o.syncActionResult(Ar(Ar({},ne.data),{},{appState:Ar(Ar({},ne.data.appState||o.state),{},{isLoading:!1}),replaceFiles:!0,commitToHistory:!0})),B.next=15;break;case 12:if(ne.type!==r.LO.excalidrawlib){B.next=15;break}return B.next=15,o.library.updateLibrary({libraryItems:q,merge:!0,openLibraryMenu:!0}).catch(function(X){console.error(X),o.setState({errorMessage:(0,A.t)("errors.importLibraryError")})});case 15:B.next=23;break;case 17:if(B.prev=17,B.t0=B.catch(3),!(B.t0 instanceof ya.jk&&B.t0.code==="IMAGE_NOT_CONTAINS_SCENE_DATA")||o.isToolSupported("image")){B.next=22;break}return o.setState({isLoading:!1,errorMessage:(0,A.t)("errors.imageToolNotSupported")}),B.abrupt("return");case 22:o.setState({isLoading:!1,errorMessage:B.t0.message});case 23:case"end":return B.stop()}},R,null,[[3,17]])}));return function(R,q){return g.apply(this,arguments)}}(),this.handleCanvasContextMenu=function(g){if(g.preventDefault(),!("pointerType"in g.nativeEvent&&g.nativeEvent.pointerType==="touch"||"pointerType"in g.nativeEvent&&g.nativeEvent.pointerType==="pen"&&g.button!==r.Oh.SECONDARY)||o.state.activeTool.type==="selection"){var R=(0,d.dE)(g,o.state),q=R.x,de=R.y,ne=o.getElementAtPosition(q,de,{preferSelected:!0,includeLockedElements:!0}),B=o.scene.getSelectedElements(o.state),X=o.isHittingCommonBoundingBoxOfSelectedElements({x:q,y:de},B),ke=ne||X?"element":"canvas",Ie=o.excalidrawContainerRef.current.getBoundingClientRect(),Pe=Ie.top,Fe=Ie.left,Ge=g.clientX-Fe,qe=g.clientY-Pe;(0,u.L)("contextMenu","openContextMenu",ke),o.setState(Ar(Ar({},ne&&!o.state.selectedElementIds[ne.id]?Ar(Ar(Ar({},o.state),(0,Re.bO)({editingGroupId:o.state.editingGroupId,selectedElementIds:(0,W.Z)({},ne.id,!0)},o.scene.getNonDeletedElements(),o.state,o)),{},{selectedLinearElement:(0,V.bt)(ne)?new oe._(ne,o.scene):null}):o.state),{},{showHyperlinkPopup:!1}),function(){o.setState({contextMenu:{top:qe,left:Ge,items:o.getContextMenuItems(ke)}})})}},this.maybeDragNewGenericElement=function(g,R){var q=o.state.draggingElement,de=g.lastCoords;if(q)if(q.type==="selection"&&o.state.activeTool.type!=="eraser")(0,re.EJ)(q,o.state.activeTool.type,g.origin.x,g.origin.y,de.x,de.y,(0,d.TE)(g.origin.x,de.x),(0,d.TE)(g.origin.y,de.y),(0,b.E0)(R),(0,b.OA)(R));else{var ne,B,X,ke,Ie,Pe=(0,ue.wC)(de.x,de.y,R[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),Fe=(0,w.Z)(Pe,2),Ge=Fe[0],qe=Fe[1],it=(0,V.wi)(q)&&((ne=o.imageCache.get(q.fileId))===null||ne===void 0?void 0:ne.image),st=!it||it instanceof Promise?null:it.width/it.height;o.maybeCacheReferenceSnapPoints(R,[q]);var kt=function(vt,jt,Nt,Vt,Zt){var Ht,or,Er,Zr;if(!Zo({event:Nt,selectedElements:[vt],appState:jt}))return{snapOffset:{x:0,y:0},snapLines:[]};var Kr=[[Vt.x+Zt.x,Vt.y+Zt.y]],tn=Jn(jt.zoom.value),nn={x:tn,y:tn},Ur=[],Gr=[];ze([vt],Kr,jt,Nt,Ur,Gr,nn);var Xr={x:(Ht=(or=Ur[0])===null||or===void 0?void 0:or.offset)!==null&&Ht!==void 0?Ht:0,y:(Er=(Zr=Gr[0])===null||Zr===void 0?void 0:Zr.offset)!==null&&Er!==void 0?Er:0};nn.x=0,nn.y=0,Ur.length=0,Gr.length=0;var Yr=ki([vt],{boundingBoxCorners:!0,omitCenter:!0});return ze([vt],Yr,jt,Nt,Ur,Gr,nn),{snapOffset:Xr,snapLines:nt(Ur,Gr)}}(q,o.state,R,{x:g.originInGrid.x+((B=(X=o.state.originSnapOffset)===null||X===void 0?void 0:X.x)!==null&&B!==void 0?B:0),y:g.originInGrid.y+((ke=(Ie=o.state.originSnapOffset)===null||Ie===void 0?void 0:Ie.y)!==null&&ke!==void 0?ke:0)},{x:Ge-g.originInGrid.x,y:qe-g.originInGrid.y}),Lt=kt.snapOffset,bt=kt.snapLines;Ge+=Lt.x,qe+=Lt.y,o.setState({snapLines:bt}),(0,re.EJ)(q,o.state.activeTool.type,g.originInGrid.x,g.originInGrid.y,Ge,qe,(0,d.TE)(g.originInGrid.x,Ge),(0,d.TE)(g.originInGrid.y,qe),(0,V.pC)(q)?!(0,b.E0)(R):(0,b.E0)(R),(0,b.OA)(R),st,o.state.originSnapOffset),o.maybeSuggestBindingForAll([q]),o.state.activeTool.type==="frame"&&o.setState({elementsToHighlight:(0,bn.ni)(o.scene.getNonDeletedElements(),q,o.state)})}},this.maybeHandleResize=function(g,R){var q=o.scene.getSelectedElements(o.state),de=q.filter(function(Vt){return Vt.type==="frame"}),ne=g.resize.handleType;if(de.length>0&&ne==="rotation")return!1;o.setState({isResizing:ne&&ne!=="rotation",isRotating:ne==="rotation",activeEmbeddable:null});var B=g.lastCoords,X=(0,ue.wC)(B.x-g.resize.offset.x,B.y-g.resize.offset.y,R[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),ke=(0,w.Z)(X,2),Ie=ke[0],Pe=ke[1],Fe=new Map;if(de.forEach(function(Vt){(0,bn.zD)(o.scene.getNonDeletedElements(),Vt.id).forEach(function(Zt){Fe.set(Vt.id+Zt.id,{x:Zt.x-Vt.x,y:Zt.y-Vt.y})})}),!o.state.selectedElementsAreBeingDragged){var Ge=(0,ue.wC)(B.x,B.y,R[b.tW.CTRL_OR_CMD]?null:o.state.gridSize),qe=(0,w.Z)(Ge,2),it=qe[0],st=qe[1],kt={x:it-g.originInGrid.x,y:st-g.originInGrid.y},Lt=(0,m.Z)(g.originalElements.values());o.maybeCacheReferenceSnapPoints(R,q);var bt=ct(q,(0,se.eD)(Lt,o.state),o.state,R,kt,ne),vt=bt.snapOffset,jt=bt.snapLines;Ie+=vt.x,Pe+=vt.y,o.setState({snapLines:jt})}if((0,re.vY)(g,ne,q,g.resize.arrowDirection,(0,b.Ge)(R),(0,b.OA)(R),q.length===1&&(0,V.pC)(q[0])?!(0,b.E0)(R):(0,b.E0)(R),Ie,Pe,g.resize.center.x,g.resize.center.y,o.state)){o.maybeSuggestBindingForAll(q);var Nt=new Set;return de.forEach(function(Vt){var Zt=(0,bn.zD)(o.scene.getNonDeletedElements(),Vt.id);ne&&(ne.includes("w")&&Zt.forEach(function(Ht){var or,Er;(0,y.DR)(Ht,{x:Vt.x+(((or=Fe.get(Vt.id+Ht.id))===null||or===void 0?void 0:or.x)||0),y:Vt.y+(((Er=Fe.get(Vt.id+Ht.id))===null||Er===void 0?void 0:Er.y)||0)})}),ne.includes("n")&&Zt.forEach(function(Ht){var or,Er;(0,y.DR)(Ht,{x:Vt.x+(((or=Fe.get(Vt.id+Ht.id))===null||or===void 0?void 0:or.x)||0),y:Vt.y+(((Er=Fe.get(Vt.id+Ht.id))===null||Er===void 0?void 0:Er.y)||0)})})),(0,bn.ni)(o.scene.getNonDeletedElements(),Vt,o.state).forEach(function(Ht){return Nt.add(Ht)})}),o.setState({elementsToHighlight:(0,m.Z)(Nt)}),!0}return!1},this.getContextMenuItems=function(g){var R=[];return R.push(U.jK,U.FA),g==="canvas"?o.state.viewModeEnabled?[].concat(R,[U.Pb,U.JN,wi,U.u0]):[Pn.yQ,Ne,U.jK,U.FA,U.zp,Ne,U.Yy,Pi.U,Ne,U.Pb,U.pm,U.JN,wi,U.u0]:(R.push(U.zp),o.state.viewModeEnabled?[U.uN].concat(R):[U.ZM,U.uN,Pn.yQ,Ma,va,Ne].concat(R,[Ne,U.pw,U.W3,Ne,U.EQ,U.y7,U.vD,Kt.JQ,U.s,Ne,U.FL,Ne,U.V,U.yA,U.zi,U.BZ,Ne,U.jl,U.kt,Ne,U.Qs,U.nz,U.xF,U.$h,Ne,U.X9]))},this.handleWheel=(0,d.tH)(function(g){if(g.preventDefault(),!aa){var R=g.deltaX,q=g.deltaY;if(g.metaKey||g.ctrlKey){var de=Math.sign(q),ne=100*r.V4,B=Math.abs(q),X=q;B>ne&&(X=ne*de);var ke=o.state.zoom.value-X/100;return ke+=Math.log10(Math.max(1,o.state.zoom.value))*-de*Math.min(1,B/20),o.translateCanvas(function(Ie){return Ar(Ar({},(0,i.E)({viewportX:o.lastViewportPosition.x,viewportY:o.lastViewportPosition.y,nextZoom:(0,se.j)(ke)},Ie)),{},{shouldCacheIgnoreZoom:!0})}),void o.resetShouldCacheIgnoreZoomDebounced()}g.shiftKey?o.translateCanvas(function(Ie){var Pe=Ie.zoom;return{scrollX:Ie.scrollX-(q||R)/Pe.value}}):o.translateCanvas(function(Ie){var Pe=Ie.zoom,Fe=Ie.scrollX,Ge=Ie.scrollY;return{scrollX:Fe-R/Pe.value,scrollY:Ge-q/Pe.value}})}}),this.savePointer=function(g,R,q){var de,ne;if(g&&R){var B=(0,d.dE)({clientX:g,clientY:R},o.state),X=B.x,ke=B.y,Ie={x:X,y:ke,tool:o.state.activeTool.type==="laser"?"laser":"pointer"};(de=(ne=o.props).onPointerUpdate)===null||de===void 0||de.call(ne,{pointer:Ie,button:q,pointersMap:eo.pointers})}},this.resetShouldCacheIgnoreZoomDebounced=(0,d.Ds)(function(){o.unmounted||o.setState({shouldCacheIgnoreZoom:!1})},300),this.updateDOMRect=function(g){var R;if((R=o.excalidrawContainerRef)!==null&&R!==void 0&&R.current){var q=o.excalidrawContainerRef.current.getBoundingClientRect(),de=q.width,ne=q.height,B=q.left,X=q.top,ke=o.state,Ie=ke.width,Pe=ke.height,Fe=ke.offsetTop,Ge=ke.offsetLeft;if(de===Ie&&ne===Pe&&B===Ge&&X===Fe)return void(g&&g());o.setState({width:de,height:ne,offsetLeft:B,offsetTop:X},function(){g&&g()})}},this.refresh=function(){o.setState(Ar({},o.getCanvasOffsets()))}};r.Vi.TEST==="production"&&(window.h=window.h||{},Object.defineProperties(window.h,{elements:{configurable:!0,get:function(){var o;return(o=this.app)===null||o===void 0?void 0:o.scene.getElementsIncludingDeleted()},set:function(o){var g;return(g=this.app)===null||g===void 0?void 0:g.scene.replaceAllElements(o)}}}));var T=Qa},8806:function(fe,t,e){e.d(t,{z:function(){return A}});var P=e(7169),w=e(2726),m=e(45),v=e(9827),I=e(3379),x=e.n(I),c=e(7795),f=e.n(c),Z=e(569),N=e.n(Z),W=e(3565),k=e.n(W),S=e(9216),J=e.n(S),ce=e(4589),he=e.n(ce),ve=e(3137),le={};le.styleTagTransform=he(),le.setAttributes=k(),le.insert=N().bind(null,"head"),le.domAPI=f(),le.insertStyleElement=J(),x()(ve.Z,le),ve.Z&&ve.Z.locals&&ve.Z.locals;var G=e(1020),U=["type","onSelect","selected","children","className"];function H(b,y){var h=Object.keys(b);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(b);y&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(b,r).enumerable})),h.push.apply(h,d)}return h}function M(b){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?H(Object(h),!0).forEach(function(d){(0,P.Z)(b,d,h[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(h)):H(Object(h)).forEach(function(d){Object.defineProperty(b,d,Object.getOwnPropertyDescriptor(h,d))})}return b}var A=function(b){var y=b.type,h=y===void 0?"button":y,d=b.onSelect,r=b.selected,n=b.children,p=b.className,a=p===void 0?"":p,l=(0,w.Z)(b,U);return(0,G.jsx)("button",M(M({onClick:(0,v.Mj)(l.onClick,function(u){d()}),type:h,className:(0,m.Z)("excalidraw-button",a,{selected:r})},l),{},{children:n}))}},6238:function(fe,t,e){e.d(t,{o:function(){return le}});var P=e(45),w=e(8935),m=e(3379),v=e.n(m),I=e(7795),x=e.n(I),c=e(569),f=e.n(c),Z=e(3565),N=e.n(Z),W=e(9216),k=e.n(W),S=e(4589),J=e.n(S),ce=e(6029),he={};he.styleTagTransform=J(),he.setAttributes=N(),he.insert=f().bind(null,"head"),he.domAPI=x(),he.insertStyleElement=k(),v()(ce.Z,he),ce.Z&&ce.Z.locals&&ce.Z.locals;var ve=e(1020),le=function(G){var U=G.children,H=G.checked,M=G.onChange,A=G.className;return(0,ve.jsxs)("div",{className:(0,P.Z)("Checkbox",A,{"is-checked":H}),onClick:function(b){M(!H,b),b.currentTarget.querySelector(".Checkbox-box").focus()},children:[(0,ve.jsx)("button",{className:"Checkbox-box",role:"checkbox","aria-checked":H,children:w.eQ}),(0,ve.jsx)("div",{className:"Checkbox-label",children:U})]})}},193:function(fe,t,e){e.d(t,{z:function(){return Ke},L:function(){return Zo}});var P=e(2577),w=e(9827),m=e(45),v=e(9240),I=e(1020),x=function(xe){var Le,ze=xe.onChange,Ue=xe.type,$e=xe.activeColor,nt=xe.topPicks;return Ue==="elementStroke"&&(Le=v.fY),Ue==="elementBackground"&&(Le=v.eq),Ue==="canvasBackground"&&(Le=v.ay),nt&&(Le=nt),Le?(0,I.jsx)("div",{className:"color-picker__top-picks",children:Le.map(function(tt){return(0,I.jsx)("button",{className:(0,m.Z)("color-picker__button",{active:tt===$e,"is-transparent":tt==="transparent"||!tt}),style:{"--swatch-color":tt},type:"button",title:tt,onClick:function(){return ze(tt)},"data-testid":"color-top-pick-".concat(tt),children:(0,I.jsx)("div",{className:"color-picker__button-outline"})},tt)})}):(console.error("Invalid type for TopPicks"),null)},c=e(9787),f=e.n(c),Z=e(8227),N=e(3607),W=e(1930),k=function(xe){for(var Le=xe.palette,ze=xe.color,Ue=0,$e=Object.entries(Le);Ue<$e.length;Ue++){var nt=(0,P.Z)($e[Ue],2),tt=nt[0],ct=nt[1];if(Array.isArray(ct)){var Kt=ct.indexOf(ze);if(Kt>-1)return{colorName:tt,shade:Kt}}else if(ct===ze)return{colorName:tt,shade:null}}return null},S=[["q","w","e","r","t"],["a","s","d","f","g"],["z","x","c","v","b"]].flat(),J=function(xe){var Le=xe.color,ze=xe.palette;return!Object.values(ze).flat().includes(Le)},ce=(0,N.cn)(null),he=function(xe,Le,ze){return(299*xe+587*Le+114*ze)/1e3>=160?"black":"white"},ve=function(xe,Le){if(Le){var ze=new Option().style;if(ze.color=xe,ze.color){var Ue=ze.color.replace(/^(rgb|rgba)\(/,"").replace(/\)$/,"").replace(/\s/g,"").split(","),$e=parseInt(Ue[0]),nt=parseInt(Ue[1]),tt=parseInt(Ue[2]);return he($e,nt,tt)}}if(xe==="transparent")return"black";var ct=parseInt(xe.substring(1,3),16),Kt=parseInt(xe.substring(3,5),16),qt=parseInt(xe.substring(5,7),16);return he(ct,Kt,qt)},le=function(xe){var Le=xe.color,ze=xe.keyLabel,Ue=xe.isCustomColor,$e=Ue!==void 0&&Ue,nt=xe.isShade,tt=nt!==void 0&&nt;return(0,I.jsxs)("div",{className:"color-picker__button__hotkey-label",style:{color:ve(Le,$e)},children:[tt&&"⇧",ze]})},G=function(xe){var Le=xe.hex,ze=xe.onChange,Ue=xe.palette,$e=k({color:Le||"transparent",palette:Ue}),nt=(0,N.KO)(ce),tt=(0,P.Z)(nt,2),ct=tt[0],Kt=tt[1],qt=(0,c.useRef)(null);if((0,c.useEffect)(function(){qt.current&&ct==="shades"&&qt.current.focus()},[$e,ct]),$e){var Dt=$e.colorName,Wt=$e.shade,Qt=Ue[Dt];if(Array.isArray(Qt))return(0,I.jsx)("div",{className:"color-picker-content--default shades",children:Qt.map(function(rr,er){return(0,I.jsxs)("button",{ref:er===Wt&&ct==="shades"?qt:void 0,tabIndex:-1,type:"button",className:(0,m.Z)("color-picker__button color-picker__button--large",{active:er===Wt}),"aria-label":"Shade",title:"".concat(Dt," - ").concat(er+1),style:rr?{"--swatch-color":rr}:void 0,onClick:function(){ze(rr),Kt("shades")},children:[(0,I.jsx)("div",{className:"color-picker__button-outline"}),(0,I.jsx)(le,{color:rr,keyLabel:er+1,isShade:!0})]},er)})})}return(0,I.jsxs)("div",{className:"color-picker-content--default",style:{position:"relative"},tabIndex:-1,children:[(0,I.jsx)("button",{type:"button",tabIndex:-1,className:"color-picker__button color-picker__button--large color-picker__button--no-focus-visible"}),(0,I.jsx)("div",{tabIndex:-1,style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",fontSize:"0.75rem"},children:(0,Z.t)("colorPicker.noShades")})]})},U=function(xe){var Le=xe.palette,ze=xe.color,Ue=xe.onChange,$e=(xe.label,xe.activeShade),nt=k({color:ze||"transparent",palette:Le}),tt=(0,N.KO)(ce),ct=(0,P.Z)(tt,2),Kt=ct[0],qt=ct[1],Dt=(0,c.useRef)(null);return(0,c.useEffect)(function(){Dt.current&&Kt==="baseColors"&&Dt.current.focus()},[nt?.colorName,Kt]),(0,I.jsx)("div",{className:"color-picker-content--default",children:Object.entries(Le).map(function(Wt,Qt){var rr=(0,P.Z)(Wt,2),er=rr[0],$t=rr[1],lr=(Array.isArray($t)?$t[$e]:$t)||"transparent",vr=S[Qt],xr=(0,Z.t)("colors.".concat(er.replace(/\d+/,"")),null,"");return(0,I.jsxs)("button",{ref:nt?.colorName===er?Dt:void 0,tabIndex:-1,type:"button",className:(0,m.Z)("color-picker__button color-picker__button--large",{active:nt?.colorName===er,"is-transparent":lr==="transparent"||!lr}),onClick:function(){Ue(lr),qt("baseColors")},title:"".concat(xr).concat(lr.startsWith("#")?" ".concat(lr):""," — ").concat(vr),"aria-label":"".concat(xr," — ").concat(vr),style:lr?{"--swatch-color":lr}:void 0,"data-testid":"color-".concat(er),children:[(0,I.jsx)("div",{className:"color-picker__button-outline"}),(0,I.jsx)(le,{color:lr,keyLabel:vr})]},er)})})},H=function(xe){var Le=xe.colors,ze=xe.color,Ue=xe.onChange,$e=xe.label,nt=(0,N.KO)(ce),tt=(0,P.Z)(nt,2),ct=tt[0],Kt=tt[1],qt=(0,c.useRef)(null);return(0,c.useEffect)(function(){qt.current&&qt.current.focus()},[ze,ct]),(0,I.jsx)("div",{className:"color-picker-content--default",children:Le.map(function(Dt,Wt){return(0,I.jsxs)("button",{ref:ze===Dt?qt:void 0,tabIndex:-1,type:"button",className:(0,m.Z)("color-picker__button color-picker__button--large",{active:ze===Dt,"is-transparent":Dt==="transparent"||!Dt}),onClick:function(){Ue(Dt),Kt("custom")},title:Dt,"aria-label":$e,style:{"--swatch-color":Dt},children:[(0,I.jsx)("div",{className:"color-picker__button-outline"}),(0,I.jsx)(le,{color:Dt,keyLabel:Wt+1,isCustomColor:!0})]},Wt)})})},M=e(5491),A=function(xe,Le,ze){var Ue,$e=Math.ceil(ze/v.dC);switch(Le=(Ue=Le)!==null&&Ue!==void 0?Ue:-1,xe){case"ArrowLeft":var nt=Le-1;return nt<0?ze-1:nt;case"ArrowRight":return(Le+1)%ze;case"ArrowDown":var tt=Le+v.dC;return tt>=ze?Le%v.dC:tt;case"ArrowUp":var ct=Le-v.dC,Kt=ct<0?v.dC*$e+ct:ct;return Kt>=ze?void 0:Kt}},b=function(xe){var Le=xe.event,ze=xe.activeColorPickerSection,Ue=xe.palette,$e=xe.color,nt=xe.onChange,tt=xe.customColors,ct=xe.setActiveColorPickerSection,Kt=(xe.updateData,xe.activeShade),qt=xe.onEyeDropperToggle,Dt=xe.onEscape;if(Le[M.tW.CTRL_OR_CMD])return!1;if(Le.key===M.tW.ESCAPE)return Dt(Le),!0;if(Le.key===M.tW.ALT)return qt(!0),!0;if(Le.key===M.tW.I)return qt(),!0;var Wt=k({color:$e,palette:Ue});if(Le.key===M.tW.TAB){var Qt={custom:!!tt.length,baseColors:!0,shades:Wt?.shade!=null,hex:!0},rr=Object.entries(Qt).reduce(function(Qr,an){var dn=(0,P.Z)(an,2),pn=dn[0];return dn[1]&&Qr.push(pn),Qr},[]),er=rr.indexOf(ze),$t=Le.shiftKey?-1:1,lr=rr[er+$t>rr.length-1?0:er+$t<0?rr.length-1:er+$t];return lr&&ct(lr),lr==="custom"?nt(tt[0]):lr==="baseColors"&&(Object.entries(Ue).find(function(Qr){var an=(0,P.Z)(Qr,2),dn=an[0],pn=an[1];return Array.isArray(pn)?pn.includes($e):pn===$e?dn:null})||nt(v.HO.black)),Le.preventDefault(),Le.stopPropagation(),!0}if(function(Qr){var an=Qr.e,dn=Qr.colorObj,pn=Qr.onChange,kn=Qr.palette,Kn=Qr.customColors,lo=Qr.setActiveColorPickerSection,po=Qr.activeShade;if(dn?.shade!=null&&["Digit1","Digit2","Digit3","Digit4","Digit5"].includes(an.code)&&an.shiftKey){var Oo=Number(an.code.slice(-1))-1;return pn(kn[dn.colorName][Oo]),lo("shades"),!0}if(["1","2","3","4","5"].includes(an.key)&&Kn[Number(an.key)-1])return pn(Kn[Number(an.key)-1]),lo("custom"),!0;if(S.includes(an.key)){var xo=S.indexOf(an.key),Yn=kn[Object.keys(kn)[xo]];return pn(Array.isArray(Yn)?Yn[po]:Yn),lo("baseColors"),!0}return!1}({e:Le,colorObj:Wt,onChange:nt,palette:Ue,customColors:tt,setActiveColorPickerSection:ct,activeShade:Kt}))return!0;if(ze==="shades"&&Wt){var vr=Wt.shade,xr=A(Le.key,vr,v.dC);if(xr!==void 0)return nt(Ue[Wt.colorName][xr]),!0}if(ze==="baseColors"&&Wt){var gr=Wt.colorName,Sr=Object.keys(Ue),Fr=Sr.indexOf(gr),Jr=A(Le.key,Fr,Sr.length);if(Jr!==void 0){var Hr=Ue[Sr[Jr]];return nt(Array.isArray(Hr)?Hr[Kt]:Hr),!0}}if(ze==="custom"){var Nr=tt.indexOf($e),Vr=A(Le.key,Nr,tt.length);if(Vr!==void 0)return nt(tt[Vr]),!0}return!1},y=function(xe){var Le=xe.children;return(0,I.jsx)("div",{className:"color-picker__heading",children:Le})},h=e(9937),d=function(xe){var Le,ze=xe.color,Ue=xe.onChange,$e=xe.label,nt=xe.type,tt=xe.elements,ct=xe.palette,Kt=xe.updateData,qt=xe.children,Dt=xe.onEyeDropperToggle,Wt=xe.onEscape,Qt=f().useState(function(){return nt==="canvasBackground"?[]:function(Nr,Vr,Qr){var an={elementBackground:"backgroundColor",elementStroke:"strokeColor"},dn=Nr.filter(function(kn){if(kn.isDeleted)return!1;var Kn=kn[an[Vr]];return J({color:Kn,palette:Qr})}),pn=new Map;return dn.forEach(function(kn){var Kn=kn[an[Vr]];pn.has(Kn)?pn.set(Kn,pn.get(Kn)+1):pn.set(Kn,1)}),(0,W.Z)(pn.entries()).sort(function(kn,Kn){return Kn[1]-kn[1]}).map(function(kn){return kn[0]}).slice(0,v.Lx)}(tt,nt,ct)}),rr=(0,P.Z)(Qt,1)[0],er=(0,N.KO)(ce),$t=(0,P.Z)(er,2),lr=$t[0],vr=$t[1],xr=k({color:ze,palette:ct});(0,c.useEffect)(function(){if(!lr){var Nr=J({color:ze,palette:ct}),Vr=Nr&&!rr.includes(ze);vr(Vr?"hex":Nr?"custom":xr?.shade!=null?"shades":"baseColors")}},[lr,ze,ct,vr,xr,rr]);var gr=(0,c.useState)((Le=xr?.shade)!==null&&Le!==void 0?Le:nt==="elementBackground"?v._T:v.z8),Sr=(0,P.Z)(gr,2),Fr=Sr[0],Jr=Sr[1];(0,c.useEffect)(function(){xr?.shade!=null&&Jr(xr.shade);var Nr=function(Vr){Vr.key===M.tW.ALT&&Dt(!1)};return document.addEventListener(h.Ks.KEYUP,Nr,{capture:!0}),function(){document.removeEventListener(h.Ks.KEYUP,Nr,{capture:!0})}},[xr,Dt]);var Hr=f().useRef(null);return(0,I.jsx)("div",{role:"dialog","aria-modal":"true","aria-label":(0,Z.t)("labels.colorPicker"),children:(0,I.jsxs)("div",{ref:Hr,onKeyDown:function(Nr){b({event:Nr,activeColorPickerSection:lr,palette:ct,color:ze,onChange:Ue,onEyeDropperToggle:Dt,customColors:rr,setActiveColorPickerSection:vr,updateData:Kt,activeShade:Fr,onEscape:Wt})&&(Nr.preventDefault(),Nr.stopPropagation())},className:"color-picker-content",tabIndex:-1,children:[!!rr.length&&(0,I.jsxs)("div",{children:[(0,I.jsx)(y,{children:(0,Z.t)("colorPicker.mostUsedCustomColors")}),(0,I.jsx)(H,{colors:rr,color:ze,label:(0,Z.t)("colorPicker.mostUsedCustomColors"),onChange:Ue})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(y,{children:(0,Z.t)("colorPicker.colors")}),(0,I.jsx)(U,{color:ze,label:$e,palette:ct,onChange:Ue,activeShade:Fr})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(y,{children:(0,Z.t)("colorPicker.shades")}),(0,I.jsx)(G,{hex:ze,onChange:Ue,palette:ct})]}),qt]})})},r=e(11),n=e(7217),p=e(9335),a=e(1267),l=e(3119),u=e(3060);const C="dismissableLayer.update",L="dismissableLayer.pointerDownOutside",_="dismissableLayer.focusOutside";let E;const D=(0,c.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),F=(0,c.forwardRef)((xe,Le)=>{var ze;const{disableOutsidePointerEvents:Ue=!1,onEscapeKeyDown:$e,onPointerDownOutside:nt,onFocusOutside:tt,onInteractOutside:ct,onDismiss:Kt,...qt}=xe,Dt=(0,c.useContext)(D),[Wt,Qt]=(0,c.useState)(null),rr=(ze=Wt?.ownerDocument)!==null&&ze!==void 0?ze:globalThis?.document,[,er]=(0,c.useState)({}),$t=(0,p.e)(Le,Nr=>Qt(Nr)),lr=Array.from(Dt.layers),[vr]=[...Dt.layersWithOutsidePointerEventsDisabled].slice(-1),xr=lr.indexOf(vr),gr=Wt?lr.indexOf(Wt):-1,Sr=Dt.layersWithOutsidePointerEventsDisabled.size>0,Fr=gr>=xr,Jr=function(Nr,Vr=globalThis?.document){const Qr=(0,u.W)(Nr),an=(0,c.useRef)(!1),dn=(0,c.useRef)(()=>{});return(0,c.useEffect)(()=>{const pn=Kn=>{if(Kn.target&&!an.current){let po=function(){te(L,Qr,lo,{discrete:!0})};const lo={originalEvent:Kn};Kn.pointerType==="touch"?(Vr.removeEventListener("click",dn.current),dn.current=po,Vr.addEventListener("click",dn.current,{once:!0})):po()}an.current=!1},kn=window.setTimeout(()=>{Vr.addEventListener("pointerdown",pn)},0);return()=>{window.clearTimeout(kn),Vr.removeEventListener("pointerdown",pn),Vr.removeEventListener("click",dn.current)}},[Vr,Qr]),{onPointerDownCapture:()=>an.current=!0}}(Nr=>{const Vr=Nr.target,Qr=[...Dt.branches].some(an=>an.contains(Vr));Fr&&!Qr&&(nt?.(Nr),ct?.(Nr),Nr.defaultPrevented||Kt==null||Kt())},rr),Hr=function(Nr,Vr=globalThis?.document){const Qr=(0,u.W)(Nr),an=(0,c.useRef)(!1);return(0,c.useEffect)(()=>{const dn=pn=>{pn.target&&!an.current&&te(_,Qr,{originalEvent:pn},{discrete:!1})};return Vr.addEventListener("focusin",dn),()=>Vr.removeEventListener("focusin",dn)},[Vr,Qr]),{onFocusCapture:()=>an.current=!0,onBlurCapture:()=>an.current=!1}}(Nr=>{const Vr=Nr.target;[...Dt.branches].some(Qr=>Qr.contains(Vr))||(tt?.(Nr),ct?.(Nr),Nr.defaultPrevented||Kt==null||Kt())},rr);return function(Nr,Vr=globalThis?.document){const Qr=(0,u.W)(Nr);(0,c.useEffect)(()=>{const an=dn=>{dn.key==="Escape"&&Qr(dn)};return Vr.addEventListener("keydown",an),()=>Vr.removeEventListener("keydown",an)},[Qr,Vr])}(Nr=>{gr===Dt.layers.size-1&&($e?.(Nr),!Nr.defaultPrevented&&Kt&&(Nr.preventDefault(),Kt()))},rr),(0,c.useEffect)(()=>{if(Wt)return Ue&&(Dt.layersWithOutsidePointerEventsDisabled.size===0&&(E=rr.body.style.pointerEvents,rr.body.style.pointerEvents="none"),Dt.layersWithOutsidePointerEventsDisabled.add(Wt)),Dt.layers.add(Wt),ee(),()=>{Ue&&Dt.layersWithOutsidePointerEventsDisabled.size===1&&(rr.body.style.pointerEvents=E)}},[Wt,rr,Ue,Dt]),(0,c.useEffect)(()=>()=>{Wt&&(Dt.layers.delete(Wt),Dt.layersWithOutsidePointerEventsDisabled.delete(Wt),ee())},[Wt,Dt]),(0,c.useEffect)(()=>{const Nr=()=>er({});return document.addEventListener(C,Nr),()=>document.removeEventListener(C,Nr)},[]),(0,c.createElement)(l.WV.div,(0,r.Z)({},qt,{ref:$t,style:{pointerEvents:Sr?Fr?"auto":"none":void 0,...xe.style},onFocusCapture:(0,n.M)(xe.onFocusCapture,Hr.onFocusCapture),onBlurCapture:(0,n.M)(xe.onBlurCapture,Hr.onBlurCapture),onPointerDownCapture:(0,n.M)(xe.onPointerDownCapture,Jr.onPointerDownCapture)}))});function ee(){const xe=new CustomEvent(C);document.dispatchEvent(xe)}function te(xe,Le,ze,{discrete:Ue}){const $e=ze.originalEvent.target,nt=new CustomEvent(xe,{bubbles:!1,cancelable:!0,detail:ze});Le&&$e.addEventListener(xe,Le,{once:!0}),Ue?(0,l.jH)($e,nt):$e.dispatchEvent(nt)}let re=0;function oe(){(0,c.useEffect)(()=>{var xe,Le;const ze=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(xe=ze[0])!==null&&xe!==void 0?xe:Y()),document.body.insertAdjacentElement("beforeend",(Le=ze[1])!==null&&Le!==void 0?Le:Y()),re++,()=>{re===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(Ue=>Ue.remove()),re--}},[])}function Y(){const xe=document.createElement("span");return xe.setAttribute("data-radix-focus-guard",""),xe.tabIndex=0,xe.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",xe}const V="focusScope.autoFocusOnMount",ie="focusScope.autoFocusOnUnmount",we={bubbles:!1,cancelable:!0},Ae=(0,c.forwardRef)((xe,Le)=>{const{loop:ze=!1,trapped:Ue=!1,onMountAutoFocus:$e,onUnmountAutoFocus:nt,...tt}=xe,[ct,Kt]=(0,c.useState)(null),qt=(0,u.W)($e),Dt=(0,u.W)(nt),Wt=(0,c.useRef)(null),Qt=(0,p.e)(Le,$t=>Kt($t)),rr=(0,c.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,c.useEffect)(()=>{if(Ue){let $t=function(vr){if(rr.paused||!ct)return;const xr=vr.target;ct.contains(xr)?Wt.current=xr:Ee(Wt.current,{select:!0})},lr=function(vr){!rr.paused&&ct&&(ct.contains(vr.relatedTarget)||Ee(Wt.current,{select:!0}))};return document.addEventListener("focusin",$t),document.addEventListener("focusout",lr),()=>{document.removeEventListener("focusin",$t),document.removeEventListener("focusout",lr)}}},[Ue,ct,rr.paused]),(0,c.useEffect)(()=>{if(ct){Oe.add(rr);const lr=document.activeElement;if(!ct.contains(lr)){const vr=new CustomEvent(V,we);ct.addEventListener(V,qt),ct.dispatchEvent(vr),vr.defaultPrevented||(function(xr,{select:gr=!1}={}){const Sr=document.activeElement;for(const Fr of xr)if(Ee(Fr,{select:gr}),document.activeElement!==Sr)return}(($t=Re(ct),$t.filter(xr=>xr.tagName!=="A")),{select:!0}),document.activeElement===lr&&Ee(ct))}return()=>{ct.removeEventListener(V,qt),setTimeout(()=>{const vr=new CustomEvent(ie,we);ct.addEventListener(ie,Dt),ct.dispatchEvent(vr),vr.defaultPrevented||Ee(lr??document.body,{select:!0}),ct.removeEventListener(ie,Dt),Oe.remove(rr)},0)}}var $t},[ct,qt,Dt,rr]);const er=(0,c.useCallback)($t=>{if(!ze&&!Ue||rr.paused)return;const lr=$t.key==="Tab"&&!$t.altKey&&!$t.ctrlKey&&!$t.metaKey,vr=document.activeElement;if(lr&&vr){const xr=$t.currentTarget,[gr,Sr]=function(Fr){const Jr=Re(Fr),Hr=je(Jr,Fr),Nr=je(Jr.reverse(),Fr);return[Hr,Nr]}(xr);gr&&Sr?$t.shiftKey||vr!==Sr?$t.shiftKey&&vr===gr&&($t.preventDefault(),ze&&Ee(Sr,{select:!0})):($t.preventDefault(),ze&&Ee(gr,{select:!0})):vr===xr&&$t.preventDefault()}},[ze,Ue,rr.paused]);return(0,c.createElement)(l.WV.div,(0,r.Z)({tabIndex:-1},tt,{ref:Qt,onKeyDown:er}))});function Re(xe){const Le=[],ze=document.createTreeWalker(xe,NodeFilter.SHOW_ELEMENT,{acceptNode:Ue=>{const $e=Ue.tagName==="INPUT"&&Ue.type==="hidden";return Ue.disabled||Ue.hidden||$e?NodeFilter.FILTER_SKIP:Ue.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;ze.nextNode();)Le.push(ze.currentNode);return Le}function je(xe,Le){for(const ze of xe)if(!ye(ze,{upTo:Le}))return ze}function ye(xe,{upTo:Le}){if(getComputedStyle(xe).visibility==="hidden")return!0;for(;xe;){if(Le!==void 0&&xe===Le)return!1;if(getComputedStyle(xe).display==="none")return!0;xe=xe.parentElement}return!1}function Ee(xe,{select:Le=!1}={}){if(xe&&xe.focus){const ze=document.activeElement;xe.focus({preventScroll:!0}),xe!==ze&&function(Ue){return Ue instanceof HTMLInputElement&&"select"in Ue}(xe)&&Le&&xe.select()}}const Oe=function(){let xe=[];return{add(Le){const ze=xe[0];Le!==ze&&ze?.pause(),xe=ge(xe,Le),xe.unshift(Le)},remove(Le){var ze;xe=ge(xe,Le),(ze=xe[0])===null||ze===void 0||ze.resume()}}}();function ge(xe,Le){const ze=[...xe],Ue=ze.indexOf(Le);return Ue!==-1&&ze.splice(Ue,1),ze}var ue=e(5622);function se(xe){return xe.split("-")[0]}function j(xe){return xe.split("-")[1]}function i(xe){return["top","bottom"].includes(se(xe))?"x":"y"}function s(xe){return xe==="y"?"height":"width"}function O(xe,Le,ze){let{reference:Ue,floating:$e}=xe;const nt=Ue.x+Ue.width/2-$e.width/2,tt=Ue.y+Ue.height/2-$e.height/2,ct=i(Le),Kt=s(ct),qt=Ue[Kt]/2-$e[Kt]/2,Dt=ct==="x";let Wt;switch(se(Le)){case"top":Wt={x:nt,y:Ue.y-$e.height};break;case"bottom":Wt={x:nt,y:Ue.y+Ue.height};break;case"right":Wt={x:Ue.x+Ue.width,y:tt};break;case"left":Wt={x:Ue.x-$e.width,y:tt};break;default:Wt={x:Ue.x,y:Ue.y}}switch(j(Le)){case"start":Wt[ct]-=qt*(ze&&Dt?-1:1);break;case"end":Wt[ct]+=qt*(ze&&Dt?-1:1)}return Wt}function z(xe){return typeof xe!="number"?function(Le){return{top:0,right:0,bottom:0,left:0,...Le}}(xe):{top:xe,right:xe,bottom:xe,left:xe}}function K(xe){return{...xe,top:xe.y,left:xe.x,right:xe.x+xe.width,bottom:xe.y+xe.height}}async function $(xe,Le){var ze;Le===void 0&&(Le={});const{x:Ue,y:$e,platform:nt,rects:tt,elements:ct,strategy:Kt}=xe,{boundary:qt="clippingAncestors",rootBoundary:Dt="viewport",elementContext:Wt="floating",altBoundary:Qt=!1,padding:rr=0}=Le,er=z(rr),$t=ct[Qt?Wt==="floating"?"reference":"floating":Wt],lr=K(await nt.getClippingRect({element:(ze=await(nt.isElement==null?void 0:nt.isElement($t)))==null||ze?$t:$t.contextElement||await(nt.getDocumentElement==null?void 0:nt.getDocumentElement(ct.floating)),boundary:qt,rootBoundary:Dt,strategy:Kt})),vr=K(nt.convertOffsetParentRelativeRectToViewportRelativeRect?await nt.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Wt==="floating"?{...tt.floating,x:Ue,y:$e}:tt.reference,offsetParent:await(nt.getOffsetParent==null?void 0:nt.getOffsetParent(ct.floating)),strategy:Kt}):tt[Wt]);return{top:lr.top-vr.top+er.top,bottom:vr.bottom-lr.bottom+er.bottom,left:lr.left-vr.left+er.left,right:vr.right-lr.right+er.right}}const Q=Math.min,ae=Math.max;function be(xe,Le,ze){return ae(xe,Q(Le,ze))}const Ce=xe=>({name:"arrow",options:xe,async fn(Le){const{element:ze,padding:Ue=0}=xe??{},{x:$e,y:nt,placement:tt,rects:ct,platform:Kt}=Le;if(ze==null)return{};const qt=z(Ue),Dt={x:$e,y:nt},Wt=i(tt),Qt=j(tt),rr=s(Wt),er=await Kt.getDimensions(ze),$t=Wt==="y"?"top":"left",lr=Wt==="y"?"bottom":"right",vr=ct.reference[rr]+ct.reference[Wt]-Dt[Wt]-ct.floating[rr],xr=Dt[Wt]-ct.reference[Wt],gr=await(Kt.getOffsetParent==null?void 0:Kt.getOffsetParent(ze));let Sr=gr?Wt==="y"?gr.clientHeight||0:gr.clientWidth||0:0;Sr===0&&(Sr=ct.floating[rr]);const Fr=vr/2-xr/2,Jr=qt[$t],Hr=Sr-er[rr]-qt[lr],Nr=Sr/2-er[rr]/2+Fr,Vr=be(Jr,Nr,Hr),Qr=(Qt==="start"?qt[$t]:qt[lr])>0&&Nr!==Vr&&ct.reference[rr]<=ct.floating[rr];return{[Wt]:Dt[Wt]-(Qr?Nr<Jr?Jr-Nr:Hr-Nr:0),data:{[Wt]:Vr,centerOffset:Nr-Vr}}}}),Ze={left:"right",right:"left",bottom:"top",top:"bottom"};function Be(xe){return xe.replace(/left|right|bottom|top/g,Le=>Ze[Le])}function Te(xe,Le,ze){ze===void 0&&(ze=!1);const Ue=j(xe),$e=i(xe),nt=s($e);let tt=$e==="x"?Ue===(ze?"end":"start")?"right":"left":Ue==="start"?"bottom":"top";return Le.reference[nt]>Le.floating[nt]&&(tt=Be(tt)),{main:tt,cross:Be(tt)}}const He={start:"end",end:"start"};function Ve(xe){return xe.replace(/start|end/g,Le=>He[Le])}const Je=["top","right","bottom","left"],Me=(Je.reduce((xe,Le)=>xe.concat(Le,Le+"-start",Le+"-end"),[]),function(xe){return xe===void 0&&(xe={}),{name:"flip",options:xe,async fn(Le){var ze;const{placement:Ue,middlewareData:$e,rects:nt,initialPlacement:tt,platform:ct,elements:Kt}=Le,{mainAxis:qt=!0,crossAxis:Dt=!0,fallbackPlacements:Wt,fallbackStrategy:Qt="bestFit",flipAlignment:rr=!0,...er}=xe,$t=se(Ue),lr=Wt||($t!==tt&&rr?function(Nr){const Vr=Be(Nr);return[Ve(Nr),Vr,Ve(Vr)]}(tt):[Be(tt)]),vr=[tt,...lr],xr=await $(Le,er),gr=[];let Sr=((ze=$e.flip)==null?void 0:ze.overflows)||[];if(qt&&gr.push(xr[$t]),Dt){const{main:Nr,cross:Vr}=Te(Ue,nt,await(ct.isRTL==null?void 0:ct.isRTL(Kt.floating)));gr.push(xr[Nr],xr[Vr])}if(Sr=[...Sr,{placement:Ue,overflows:gr}],!gr.every(Nr=>Nr<=0)){var Fr,Jr;const Nr=((Fr=(Jr=$e.flip)==null?void 0:Jr.index)!=null?Fr:0)+1,Vr=vr[Nr];if(Vr)return{data:{index:Nr,overflows:Sr},reset:{placement:Vr}};let Qr="bottom";switch(Qt){case"bestFit":{var Hr;const an=(Hr=Sr.map(dn=>[dn,dn.overflows.filter(pn=>pn>0).reduce((pn,kn)=>pn+kn,0)]).sort((dn,pn)=>dn[1]-pn[1])[0])==null?void 0:Hr[0].placement;an&&(Qr=an);break}case"initialPlacement":Qr=tt}if(Ue!==Qr)return{reset:{placement:Qr}}}return{}}}});function me(xe,Le){return{top:xe.top-Le.height,right:xe.right-Le.width,bottom:xe.bottom-Le.height,left:xe.left-Le.width}}function Se(xe){return Je.some(Le=>xe[Le]>=0)}const Ne=function(xe){let{strategy:Le="referenceHidden",...ze}=xe===void 0?{}:xe;return{name:"hide",async fn(Ue){const{rects:$e}=Ue;switch(Le){case"referenceHidden":{const nt=me(await $(Ue,{...ze,elementContext:"reference"}),$e.reference);return{data:{referenceHiddenOffsets:nt,referenceHidden:Se(nt)}}}case"escaped":{const nt=me(await $(Ue,{...ze,altBoundary:!0}),$e.floating);return{data:{escapedOffsets:nt,escaped:Se(nt)}}}default:return{}}}}},Ye=function(xe){return xe===void 0&&(xe=0),{name:"offset",options:xe,async fn(Le){const{x:ze,y:Ue}=Le,$e=await async function(nt,tt){const{placement:ct,platform:Kt,elements:qt}=nt,Dt=await(Kt.isRTL==null?void 0:Kt.isRTL(qt.floating)),Wt=se(ct),Qt=j(ct),rr=i(ct)==="x",er=["left","top"].includes(Wt)?-1:1,$t=Dt&&rr?-1:1,lr=typeof tt=="function"?tt(nt):tt;let{mainAxis:vr,crossAxis:xr,alignmentAxis:gr}=typeof lr=="number"?{mainAxis:lr,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...lr};return Qt&&typeof gr=="number"&&(xr=Qt==="end"?-1*gr:gr),rr?{x:xr*$t,y:vr*er}:{x:vr*er,y:xr*$t}}(Le,xe);return{x:ze+$e.x,y:Ue+$e.y,data:$e}}}};function Qe(xe){return xe==="x"?"y":"x"}const rt=function(xe){return xe===void 0&&(xe={}),{name:"shift",options:xe,async fn(Le){const{x:ze,y:Ue,placement:$e}=Le,{mainAxis:nt=!0,crossAxis:tt=!1,limiter:ct={fn:lr=>{let{x:vr,y:xr}=lr;return{x:vr,y:xr}}},...Kt}=xe,qt={x:ze,y:Ue},Dt=await $(Le,Kt),Wt=i(se($e)),Qt=Qe(Wt);let rr=qt[Wt],er=qt[Qt];if(nt){const lr=Wt==="y"?"bottom":"right";rr=be(rr+Dt[Wt==="y"?"top":"left"],rr,rr-Dt[lr])}if(tt){const lr=Qt==="y"?"bottom":"right";er=be(er+Dt[Qt==="y"?"top":"left"],er,er-Dt[lr])}const $t=ct.fn({...Le,[Wt]:rr,[Qt]:er});return{...$t,data:{x:$t.x-ze,y:$t.y-Ue}}}}},ft=function(xe){return xe===void 0&&(xe={}),{options:xe,fn(Le){const{x:ze,y:Ue,placement:$e,rects:nt,middlewareData:tt}=Le,{offset:ct=0,mainAxis:Kt=!0,crossAxis:qt=!0}=xe,Dt={x:ze,y:Ue},Wt=i($e),Qt=Qe(Wt);let rr=Dt[Wt],er=Dt[Qt];const $t=typeof ct=="function"?ct({...nt,placement:$e}):ct,lr=typeof $t=="number"?{mainAxis:$t,crossAxis:0}:{mainAxis:0,crossAxis:0,...$t};if(Kt){const Fr=Wt==="y"?"height":"width",Jr=nt.reference[Wt]-nt.floating[Fr]+lr.mainAxis,Hr=nt.reference[Wt]+nt.reference[Fr]-lr.mainAxis;rr<Jr?rr=Jr:rr>Hr&&(rr=Hr)}if(qt){var vr,xr,gr,Sr;const Fr=Wt==="y"?"width":"height",Jr=["top","left"].includes(se($e)),Hr=nt.reference[Qt]-nt.floating[Fr]+(Jr&&(vr=(xr=tt.offset)==null?void 0:xr[Qt])!=null?vr:0)+(Jr?0:lr.crossAxis),Nr=nt.reference[Qt]+nt.reference[Fr]+(Jr?0:(gr=(Sr=tt.offset)==null?void 0:Sr[Qt])!=null?gr:0)-(Jr?lr.crossAxis:0);er<Hr?er=Hr:er>Nr&&(er=Nr)}return{[Wt]:rr,[Qt]:er}}}},at=function(xe){return xe===void 0&&(xe={}),{name:"size",options:xe,async fn(Le){const{placement:ze,rects:Ue,platform:$e,elements:nt}=Le,{apply:tt,...ct}=xe,Kt=await $(Le,ct),qt=se(ze),Dt=j(ze);let Wt,Qt;qt==="top"||qt==="bottom"?(Wt=qt,Qt=Dt===(await($e.isRTL==null?void 0:$e.isRTL(nt.floating))?"start":"end")?"left":"right"):(Qt=qt,Wt=Dt==="end"?"top":"bottom");const rr=ae(Kt.left,0),er=ae(Kt.right,0),$t=ae(Kt.top,0),lr=ae(Kt.bottom,0),vr={availableHeight:Ue.floating.height-(["left","right"].includes(ze)?2*($t!==0||lr!==0?$t+lr:ae(Kt.top,Kt.bottom)):Kt[Wt]),availableWidth:Ue.floating.width-(["top","bottom"].includes(ze)?2*(rr!==0||er!==0?rr+er:ae(Kt.left,Kt.right)):Kt[Qt])},xr=await $e.getDimensions(nt.floating);tt?.({...Le,...vr});const gr=await $e.getDimensions(nt.floating);return xr.width!==gr.width||xr.height!==gr.height?{reset:{rects:!0}}:{}}}};function ut(xe){return xe&&xe.document&&xe.location&&xe.alert&&xe.setInterval}function Ot(xe){if(xe==null)return window;if(!ut(xe)){const Le=xe.ownerDocument;return Le&&Le.defaultView||window}return xe}function Pt(xe){return Ot(xe).getComputedStyle(xe)}function Et(xe){return ut(xe)?"":xe?(xe.nodeName||"").toLowerCase():""}function Mt(){const xe=navigator.userAgentData;return xe!=null&&xe.brands?xe.brands.map(Le=>Le.brand+"/"+Le.version).join(" "):navigator.userAgent}function Yt(xe){return xe instanceof Ot(xe).HTMLElement}function lt(xe){return xe instanceof Ot(xe).Element}function ot(xe){return typeof ShadowRoot<"u"&&(xe instanceof Ot(xe).ShadowRoot||xe instanceof ShadowRoot)}function mt(xe){const{overflow:Le,overflowX:ze,overflowY:Ue}=Pt(xe);return/auto|scroll|overlay|hidden/.test(Le+Ue+ze)}function pt(xe){return["table","td","th"].includes(Et(xe))}function ht(xe){const Le=/firefox/i.test(Mt()),ze=Pt(xe);return ze.transform!=="none"||ze.perspective!=="none"||ze.contain==="paint"||["transform","perspective"].includes(ze.willChange)||Le&&ze.willChange==="filter"||Le&&!!ze.filter&&ze.filter!=="none"}function yt(){return!/^((?!chrome|android).)*safari/i.test(Mt())}const Ct=Math.min,Bt=Math.max,zt=Math.round;function tr(xe,Le,ze){var Ue,$e,nt,tt;Le===void 0&&(Le=!1),ze===void 0&&(ze=!1);const ct=xe.getBoundingClientRect();let Kt=1,qt=1;Le&&Yt(xe)&&(Kt=xe.offsetWidth>0&&zt(ct.width)/xe.offsetWidth||1,qt=xe.offsetHeight>0&&zt(ct.height)/xe.offsetHeight||1);const Dt=lt(xe)?Ot(xe):window,Wt=!yt()&&ze,Qt=(ct.left+(Wt&&(Ue=($e=Dt.visualViewport)==null?void 0:$e.offsetLeft)!=null?Ue:0))/Kt,rr=(ct.top+(Wt&&(nt=(tt=Dt.visualViewport)==null?void 0:tt.offsetTop)!=null?nt:0))/qt,er=ct.width/Kt,$t=ct.height/qt;return{width:er,height:$t,top:rr,right:Qt+er,bottom:rr+$t,left:Qt,x:Qt,y:rr}}function cr(xe){return(Le=xe,(Le instanceof Ot(Le).Node?xe.ownerDocument:xe.document)||window.document).documentElement;var Le}function mr(xe){return lt(xe)?{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}:{scrollLeft:xe.pageXOffset,scrollTop:xe.pageYOffset}}function Ft(xe){return tr(cr(xe)).left+mr(xe).scrollLeft}function xt(xe,Le,ze){const Ue=Yt(Le),$e=cr(Le),nt=tr(xe,Ue&&function(Kt){const qt=tr(Kt);return zt(qt.width)!==Kt.offsetWidth||zt(qt.height)!==Kt.offsetHeight}(Le),ze==="fixed");let tt={scrollLeft:0,scrollTop:0};const ct={x:0,y:0};if(Ue||!Ue&&ze!=="fixed")if((Et(Le)!=="body"||mt($e))&&(tt=mr(Le)),Yt(Le)){const Kt=tr(Le,!0);ct.x=Kt.x+Le.clientLeft,ct.y=Kt.y+Le.clientTop}else $e&&(ct.x=Ft($e));return{x:nt.left+tt.scrollLeft-ct.x,y:nt.top+tt.scrollTop-ct.y,width:nt.width,height:nt.height}}function At(xe){return Et(xe)==="html"?xe:xe.assignedSlot||xe.parentNode||(ot(xe)?xe.host:null)||cr(xe)}function Tt(xe){return Yt(xe)&&getComputedStyle(xe).position!=="fixed"?xe.offsetParent:null}function nr(xe){const Le=Ot(xe);let ze=Tt(xe);for(;ze&&pt(ze)&&getComputedStyle(ze).position==="static";)ze=Tt(ze);return ze&&(Et(ze)==="html"||Et(ze)==="body"&&getComputedStyle(ze).position==="static"&&!ht(ze))?Le:ze||function(Ue){let $e=At(Ue);for(ot($e)&&($e=$e.host);Yt($e)&&!["html","body"].includes(Et($e));){if(ht($e))return $e;$e=$e.parentNode}return null}(xe)||Le}function yr(xe){if(Yt(xe))return{width:xe.offsetWidth,height:xe.offsetHeight};const Le=tr(xe);return{width:Le.width,height:Le.height}}function kr(xe){const Le=At(xe);return["html","body","#document"].includes(Et(Le))?xe.ownerDocument.body:Yt(Le)&&mt(Le)?Le:kr(Le)}function Tr(xe,Le){var ze;Le===void 0&&(Le=[]);const Ue=kr(xe),$e=Ue===((ze=xe.ownerDocument)==null?void 0:ze.body),nt=Ot(Ue),tt=$e?[nt].concat(nt.visualViewport||[],mt(Ue)?Ue:[]):Ue,ct=Le.concat(tt);return $e?ct:ct.concat(Tr(tt))}function Or(xe,Le,ze){return Le==="viewport"?K(function(Ue,$e){const nt=Ot(Ue),tt=cr(Ue),ct=nt.visualViewport;let Kt=tt.clientWidth,qt=tt.clientHeight,Dt=0,Wt=0;if(ct){Kt=ct.width,qt=ct.height;const Qt=yt();(Qt||!Qt&&$e==="fixed")&&(Dt=ct.offsetLeft,Wt=ct.offsetTop)}return{width:Kt,height:qt,x:Dt,y:Wt}}(xe,ze)):lt(Le)?function(Ue,$e){const nt=tr(Ue,!1,$e==="fixed"),tt=nt.top+Ue.clientTop,ct=nt.left+Ue.clientLeft;return{top:tt,left:ct,x:ct,y:tt,right:ct+Ue.clientWidth,bottom:tt+Ue.clientHeight,width:Ue.clientWidth,height:Ue.clientHeight}}(Le,ze):K(function(Ue){var $e;const nt=cr(Ue),tt=mr(Ue),ct=($e=Ue.ownerDocument)==null?void 0:$e.body,Kt=Bt(nt.scrollWidth,nt.clientWidth,ct?ct.scrollWidth:0,ct?ct.clientWidth:0),qt=Bt(nt.scrollHeight,nt.clientHeight,ct?ct.scrollHeight:0,ct?ct.clientHeight:0);let Dt=-tt.scrollLeft+Ft(Ue);const Wt=-tt.scrollTop;return Pt(ct||nt).direction==="rtl"&&(Dt+=Bt(nt.clientWidth,ct?ct.clientWidth:0)-Kt),{width:Kt,height:qt,x:Dt,y:Wt}}(cr(xe)))}function Rt(xe){const Le=Tr(xe),ze=["absolute","fixed"].includes(Pt(xe).position)&&Yt(xe)?nr(xe):xe;return lt(ze)?Le.filter(Ue=>lt(Ue)&&function($e,nt){const tt=nt.getRootNode==null?void 0:nt.getRootNode();if($e.contains(nt))return!0;if(tt&&ot(tt)){let ct=nt;do{if(ct&&$e===ct)return!0;ct=ct.parentNode||ct.host}while(ct)}return!1}(Ue,ze)&&Et(Ue)!=="body"):[]}const dt={getClippingRect:function(xe){let{element:Le,boundary:ze,rootBoundary:Ue,strategy:$e}=xe;const nt=[...ze==="clippingAncestors"?Rt(Le):[].concat(ze),Ue],tt=nt[0],ct=nt.reduce((Kt,qt)=>{const Dt=Or(Le,qt,$e);return Kt.top=Bt(Dt.top,Kt.top),Kt.right=Ct(Dt.right,Kt.right),Kt.bottom=Ct(Dt.bottom,Kt.bottom),Kt.left=Bt(Dt.left,Kt.left),Kt},Or(Le,tt,$e));return{width:ct.right-ct.left,height:ct.bottom-ct.top,x:ct.left,y:ct.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(xe){let{rect:Le,offsetParent:ze,strategy:Ue}=xe;const $e=Yt(ze),nt=cr(ze);if(ze===nt)return Le;let tt={scrollLeft:0,scrollTop:0};const ct={x:0,y:0};if(($e||!$e&&Ue!=="fixed")&&((Et(ze)!=="body"||mt(nt))&&(tt=mr(ze)),Yt(ze))){const Kt=tr(ze,!0);ct.x=Kt.x+ze.clientLeft,ct.y=Kt.y+ze.clientTop}return{...Le,x:Le.x-tt.scrollLeft+ct.x,y:Le.y-tt.scrollTop+ct.y}},isElement:lt,getDimensions:yr,getOffsetParent:nr,getDocumentElement:cr,getElementRects:xe=>{let{reference:Le,floating:ze,strategy:Ue}=xe;return{reference:xt(Le,nr(ze),Ue),floating:{...yr(ze),x:0,y:0}}},getClientRects:xe=>Array.from(xe.getClientRects()),isRTL:xe=>Pt(xe).direction==="rtl"};function gt(xe,Le,ze,Ue){Ue===void 0&&(Ue={});const{ancestorScroll:$e=!0,ancestorResize:nt=!0,elementResize:tt=!0,animationFrame:ct=!1}=Ue,Kt=$e&&!ct,qt=nt&&!ct,Dt=Kt||qt?[...lt(xe)?Tr(xe):[],...Tr(Le)]:[];Dt.forEach(er=>{Kt&&er.addEventListener("scroll",ze,{passive:!0}),qt&&er.addEventListener("resize",ze)});let Wt,Qt=null;if(tt){let er=!0;Qt=new ResizeObserver(()=>{er||ze(),er=!1}),lt(xe)&&!ct&&Qt.observe(xe),Qt.observe(Le)}let rr=ct?tr(xe):null;return ct&&function er(){const $t=tr(xe);!rr||$t.x===rr.x&&$t.y===rr.y&&$t.width===rr.width&&$t.height===rr.height||ze(),rr=$t,Wt=requestAnimationFrame(er)}(),ze(),()=>{var er;Dt.forEach($t=>{Kt&&$t.removeEventListener("scroll",ze),qt&&$t.removeEventListener("resize",ze)}),(er=Qt)==null||er.disconnect(),Qt=null,ct&&cancelAnimationFrame(Wt)}}const wt=(xe,Le,ze)=>(async(Ue,$e,nt)=>{const{placement:tt="bottom",strategy:ct="absolute",middleware:Kt=[],platform:qt}=nt,Dt=await(qt.isRTL==null?void 0:qt.isRTL($e));let Wt=await qt.getElementRects({reference:Ue,floating:$e,strategy:ct}),{x:Qt,y:rr}=O(Wt,tt,Dt),er=tt,$t={},lr=0;for(let vr=0;vr<Kt.length;vr++){const{name:xr,fn:gr}=Kt[vr],{x:Sr,y:Fr,data:Jr,reset:Hr}=await gr({x:Qt,y:rr,initialPlacement:tt,placement:er,strategy:ct,middlewareData:$t,rects:Wt,platform:qt,elements:{reference:Ue,floating:$e}});Qt=Sr??Qt,rr=Fr??rr,$t={...$t,[xr]:{...$t[xr],...Jr}},Hr&&lr<=50&&(lr++,typeof Hr=="object"&&(Hr.placement&&(er=Hr.placement),Hr.rects&&(Wt=Hr.rects===!0?await qt.getElementRects({reference:Ue,floating:$e,strategy:ct}):Hr.rects),{x:Qt,y:rr}=O(Wt,er,Dt)),vr=-1)}return{x:Qt,y:rr,placement:er,strategy:ct,middlewareData:$t}})(xe,Le,{platform:dt,...ze});var Ut=e(5156),ar=e.n(Ut),ir=typeof document<"u"?c.useLayoutEffect:c.useEffect;function dr(xe,Le){if(xe===Le)return!0;if(typeof xe!=typeof Le)return!1;if(typeof xe=="function"&&xe.toString()===Le.toString())return!0;let ze,Ue,$e;if(xe&&Le&&typeof xe=="object"){if(Array.isArray(xe)){if(ze=xe.length,ze!=Le.length)return!1;for(Ue=ze;Ue--!=0;)if(!dr(xe[Ue],Le[Ue]))return!1;return!0}if($e=Object.keys(xe),ze=$e.length,ze!==Object.keys(Le).length)return!1;for(Ue=ze;Ue--!=0;)if(!Object.prototype.hasOwnProperty.call(Le,$e[Ue]))return!1;for(Ue=ze;Ue--!=0;){const nt=$e[Ue];if((nt!=="_owner"||!xe.$$typeof)&&!dr(xe[nt],Le[nt]))return!1}return!0}return xe!=xe&&Le!=Le}function br(xe){let{middleware:Le,placement:ze="bottom",strategy:Ue="absolute",whileElementsMounted:$e}=xe===void 0?{}:xe;const nt=c.useRef(null),tt=c.useRef(null),ct=function(gr){const Sr=c.useRef(gr);return ir(()=>{Sr.current=gr}),Sr}($e),Kt=c.useRef(null),[qt,Dt]=c.useState({x:null,y:null,strategy:Ue,placement:ze,middlewareData:{}}),[Wt,Qt]=c.useState(Le);dr(Wt?.map(gr=>{let{options:Sr}=gr;return Sr}),Le?.map(gr=>{let{options:Sr}=gr;return Sr}))||Qt(Le);const rr=c.useCallback(()=>{nt.current&&tt.current&&wt(nt.current,tt.current,{middleware:Wt,placement:ze,strategy:Ue}).then(gr=>{er.current&&Ut.flushSync(()=>{Dt(gr)})})},[Wt,ze,Ue]);ir(()=>{er.current&&rr()},[rr]);const er=c.useRef(!1);ir(()=>(er.current=!0,()=>{er.current=!1}),[]);const $t=c.useCallback(()=>{if(typeof Kt.current=="function"&&(Kt.current(),Kt.current=null),nt.current&&tt.current)if(ct.current){const gr=ct.current(nt.current,tt.current,rr);Kt.current=gr}else rr()},[rr,ct]),lr=c.useCallback(gr=>{nt.current=gr,$t()},[$t]),vr=c.useCallback(gr=>{tt.current=gr,$t()},[$t]),xr=c.useMemo(()=>({reference:nt,floating:tt}),[]);return c.useMemo(()=>({...qt,update:rr,refs:xr,reference:lr,floating:vr}),[qt,rr,xr,lr,vr])}const hr=xe=>{const{element:Le,padding:ze}=xe;return{name:"arrow",options:xe,fn(Ue){return $e=Le,Object.prototype.hasOwnProperty.call($e,"current")?Le.current!=null?Ce({element:Le.current,padding:ze}).fn(Ue):{}:Le?Ce({element:Le,padding:ze}).fn(Ue):{};var $e}}},Ir=(0,c.forwardRef)((xe,Le)=>{const{children:ze,width:Ue=10,height:$e=5,...nt}=xe;return(0,c.createElement)(l.WV.svg,(0,r.Z)({},nt,{ref:Le,width:Ue,height:$e,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),xe.asChild?ze:(0,c.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),wr=Ir;var sr=e(3348);const fr="Popper",[pr,jr]=(0,a.b)(fr),[Pr,Mr]=pr(fr),$r=xe=>{const{__scopePopper:Le,children:ze}=xe,[Ue,$e]=(0,c.useState)(null);return(0,c.createElement)(Pr,{scope:Le,anchor:Ue,onAnchorChange:$e},ze)},fn="PopperAnchor",Mn=(0,c.forwardRef)((xe,Le)=>{const{__scopePopper:ze,virtualRef:Ue,...$e}=xe,nt=Mr(fn,ze),tt=(0,c.useRef)(null),ct=(0,p.e)(Le,tt);return(0,c.useEffect)(()=>{nt.onAnchorChange(Ue?.current||tt.current)}),Ue?null:(0,c.createElement)(l.WV.div,(0,r.Z)({},$e,{ref:ct}))}),Zn="PopperContent",[zn,Cn]=pr(Zn),[vn,Ln]=pr(Zn,{hasParent:!1,positionUpdateFns:new Set}),We=(0,c.forwardRef)((xe,Le)=>{var ze,Ue,$e,nt,tt,ct,Kt,qt;const{__scopePopper:Dt,side:Wt="bottom",sideOffset:Qt=0,align:rr="center",alignOffset:er=0,arrowPadding:$t=0,collisionBoundary:lr=[],collisionPadding:vr=0,sticky:xr="partial",hideWhenDetached:gr=!1,avoidCollisions:Sr=!0,onPlaced:Fr,...Jr}=xe,Hr=Mr(Zn,Dt),[Nr,Vr]=(0,c.useState)(null),Qr=(0,p.e)(Le,uo=>Vr(uo)),[an,dn]=(0,c.useState)(null),pn=function(uo){const[Io,hi]=(0,c.useState)(void 0);return(0,sr.b)(()=>{if(uo){hi({width:uo.offsetWidth,height:uo.offsetHeight});const Li=new ResizeObserver(Dr=>{if(!Array.isArray(Dr)||!Dr.length)return;const Ar=Dr[0];let mi,gi;if("borderBoxSize"in Ar){const vi=Ar.borderBoxSize,Gi=Array.isArray(vi)?vi[0]:vi;mi=Gi.inlineSize,gi=Gi.blockSize}else mi=uo.offsetWidth,gi=uo.offsetHeight;hi({width:mi,height:gi})});return Li.observe(uo,{box:"border-box"}),()=>Li.unobserve(uo)}hi(void 0)},[uo]),Io}(an),kn=(ze=pn?.width)!==null&&ze!==void 0?ze:0,Kn=(Ue=pn?.height)!==null&&Ue!==void 0?Ue:0,lo=Wt+(rr!=="center"?"-"+rr:""),po=typeof vr=="number"?vr:{top:0,right:0,bottom:0,left:0,...vr},Oo=Array.isArray(lr)?lr:[lr],xo=Oo.length>0,Yn={padding:po,boundary:Oo.filter(St),altBoundary:xo},{reference:Xn,floating:ro,strategy:$n,x:oo,y:mo,placement:Ho,middlewareData:Wo,update:Co}=br({strategy:"fixed",placement:lo,whileElementsMounted:gt,middleware:[Gt(),Ye({mainAxis:Qt+Kn,alignmentAxis:er}),Sr?rt({mainAxis:!0,crossAxis:!1,limiter:xr==="partial"?ft():void 0,...Yn}):void 0,an?hr({element:an,padding:$t}):void 0,Sr?Me({...Yn}):void 0,at({...Yn,apply:({elements:uo,availableWidth:Io,availableHeight:hi})=>{uo.floating.style.setProperty("--radix-popper-available-width",`${Io}px`),uo.floating.style.setProperty("--radix-popper-available-height",`${hi}px`)}}),Xt({arrowWidth:kn,arrowHeight:Kn}),gr?Ne({strategy:"referenceHidden"}):void 0].filter(Xe)});(0,sr.b)(()=>{Xn(Hr.anchor)},[Xn,Hr.anchor]);const Fo=oo!==null&&mo!==null,[Ti,Ro]=It(Ho),Jo=(0,u.W)(Fr);(0,sr.b)(()=>{Fo&&Jo?.()},[Fo,Jo]);const wa=($e=Wo.arrow)===null||$e===void 0?void 0:$e.x,na=(nt=Wo.arrow)===null||nt===void 0?void 0:nt.y,oa=((tt=Wo.arrow)===null||tt===void 0?void 0:tt.centerOffset)!==0,[Di,Ai]=(0,c.useState)();(0,sr.b)(()=>{Nr&&Ai(window.getComputedStyle(Nr).zIndex)},[Nr]);const{hasParent:ti,positionUpdateFns:zo}=Ln(Zn,Dt),pi=!ti;(0,c.useLayoutEffect)(()=>{if(!pi)return zo.add(Co),()=>{zo.delete(Co)}},[pi,zo,Co]),(0,sr.b)(()=>{pi&&Fo&&Array.from(zo).reverse().forEach(uo=>requestAnimationFrame(uo))},[pi,Fo,zo]);const bo={"data-side":Ti,"data-align":Ro,...Jr,ref:Qr,style:{...Jr.style,animation:Fo?void 0:"none",opacity:(ct=Wo.hide)!==null&&ct!==void 0&&ct.referenceHidden?0:void 0}};return(0,c.createElement)("div",{ref:ro,"data-radix-popper-content-wrapper":"",style:{position:$n,left:0,top:0,transform:Fo?`translate3d(${Math.round(oo)}px, ${Math.round(mo)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Di,"--radix-popper-transform-origin":[(Kt=Wo.transformOrigin)===null||Kt===void 0?void 0:Kt.x,(qt=Wo.transformOrigin)===null||qt===void 0?void 0:qt.y].join(" ")},dir:xe.dir},(0,c.createElement)(zn,{scope:Dt,placedSide:Ti,onArrowChange:dn,arrowX:wa,arrowY:na,shouldHideArrow:oa},pi?(0,c.createElement)(vn,{scope:Dt,hasParent:!0,positionUpdateFns:zo},(0,c.createElement)(l.WV.div,bo)):(0,c.createElement)(l.WV.div,bo)))}),pe="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},De=(0,c.forwardRef)(function(xe,Le){const{__scopePopper:ze,...Ue}=xe,$e=Cn(pe,ze),nt=_e[$e.placedSide];return(0,c.createElement)("span",{ref:$e.onArrowChange,style:{position:"absolute",left:$e.arrowX,top:$e.arrowY,[nt]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[$e.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[$e.placedSide],visibility:$e.shouldHideArrow?"hidden":void 0}},(0,c.createElement)(wr,(0,r.Z)({},Ue,{ref:Le,style:{...Ue.style,display:"block"}})))});function Xe(xe){return xe!==void 0}function St(xe){return xe!==null}const Gt=()=>({name:"anchorCssProperties",fn(xe){const{rects:Le,elements:ze}=xe,{width:Ue,height:$e}=Le.reference;return ze.floating.style.setProperty("--radix-popper-anchor-width",`${Ue}px`),ze.floating.style.setProperty("--radix-popper-anchor-height",`${$e}px`),{}}}),Xt=xe=>({name:"transformOrigin",options:xe,fn(Le){var ze,Ue,$e,nt,tt;const{placement:ct,rects:Kt,middlewareData:qt}=Le,Dt=((ze=qt.arrow)===null||ze===void 0?void 0:ze.centerOffset)!==0,Wt=Dt?0:xe.arrowWidth,Qt=Dt?0:xe.arrowHeight,[rr,er]=It(ct),$t={start:"0%",center:"50%",end:"100%"}[er],lr=((Ue=($e=qt.arrow)===null||$e===void 0?void 0:$e.x)!==null&&Ue!==void 0?Ue:0)+Wt/2,vr=((nt=(tt=qt.arrow)===null||tt===void 0?void 0:tt.y)!==null&&nt!==void 0?nt:0)+Qt/2;let xr="",gr="";return rr==="bottom"?(xr=Dt?$t:`${lr}px`,gr=-Qt+"px"):rr==="top"?(xr=Dt?$t:`${lr}px`,gr=`${Kt.floating.height+Qt}px`):rr==="right"?(xr=-Qt+"px",gr=Dt?$t:`${vr}px`):rr==="left"&&(xr=`${Kt.floating.width+Qt}px`,gr=Dt?$t:`${vr}px`),{data:{x:xr,y:gr}}}});function It(xe){const[Le,ze="center"]=xe.split("-");return[Le,ze]}const _t=$r,Jt=Mn,ur=We,_r=De,Cr=(0,c.forwardRef)((xe,Le)=>{var ze;const{container:Ue=globalThis==null||(ze=globalThis.document)===null||ze===void 0?void 0:ze.body,...$e}=xe;return Ue?ar().createPortal((0,c.createElement)(l.WV.div,(0,r.Z)({},$e,{ref:Le})),Ue):null});var Rr=e(1483),Wr=e(4801),Lr=e(2673),zr=function(xe){return typeof document>"u"?null:(Array.isArray(xe)?xe[0]:xe).ownerDocument.body},rn=new WeakMap,mn=new WeakMap,Hn={},qn=0,fo=function(xe){return xe&&(xe.host||fo(xe.parentNode))},qr=function(xe,Le,ze,Ue){var $e=function(Wt,Qt){return Qt.map(function(rr){if(Wt.contains(rr))return rr;var er=fo(rr);return er&&Wt.contains(er)?er:(console.error("aria-hidden",rr,"in not contained inside",Wt,". Doing nothing"),null)}).filter(function(rr){return!!rr})}(Le,Array.isArray(xe)?xe:[xe]);Hn[ze]||(Hn[ze]=new WeakMap);var nt=Hn[ze],tt=[],ct=new Set,Kt=new Set($e),qt=function(Wt){Wt&&!ct.has(Wt)&&(ct.add(Wt),qt(Wt.parentNode))};$e.forEach(qt);var Dt=function(Wt){Wt&&!Kt.has(Wt)&&Array.prototype.forEach.call(Wt.children,function(Qt){if(ct.has(Qt))Dt(Qt);else{var rr=Qt.getAttribute(Ue),er=rr!==null&&rr!=="false",$t=(rn.get(Qt)||0)+1,lr=(nt.get(Qt)||0)+1;rn.set(Qt,$t),nt.set(Qt,lr),tt.push(Qt),$t===1&&er&&mn.set(Qt,!0),lr===1&&Qt.setAttribute(ze,"true"),er||Qt.setAttribute(Ue,"true")}})};return Dt(Le),ct.clear(),qn++,function(){tt.forEach(function(Wt){var Qt=rn.get(Wt)-1,rr=nt.get(Wt)-1;rn.set(Wt,Qt),nt.set(Wt,rr),Qt||(mn.has(Wt)||Wt.removeAttribute(Ue),mn.delete(Wt)),rr||Wt.removeAttribute(ze)}),--qn||(rn=new WeakMap,rn=new WeakMap,mn=new WeakMap,Hn={})}},Br=function(xe,Le,ze){ze===void 0&&(ze="data-aria-hidden");var Ue=Array.from(Array.isArray(xe)?xe:[xe]),$e=Le||zr(xe);return $e?(Ue.push.apply(Ue,Array.from($e.querySelectorAll("[aria-live]"))),qr(Ue,$e,ze,"aria-hidden")):function(){return null}},un=function(){return un=Object.assign||function(xe){for(var Le,ze=1,Ue=arguments.length;ze<Ue;ze++)for(var $e in Le=arguments[ze])Object.prototype.hasOwnProperty.call(Le,$e)&&(xe[$e]=Le[$e]);return xe},un.apply(this,arguments)};function wn(xe,Le){var ze={};for(var Ue in xe)Object.prototype.hasOwnProperty.call(xe,Ue)&&Le.indexOf(Ue)<0&&(ze[Ue]=xe[Ue]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function"){var $e=0;for(Ue=Object.getOwnPropertySymbols(xe);$e<Ue.length;$e++)Le.indexOf(Ue[$e])<0&&Object.prototype.propertyIsEnumerable.call(xe,Ue[$e])&&(ze[Ue[$e]]=xe[Ue[$e]])}return ze}var Wn="right-scroll-bar-position",io="width-before-scroll-bar";function go(xe,Le){return ze=Le||null,Ue=function(nt){return xe.forEach(function(tt){return function(ct,Kt){return typeof ct=="function"?ct(Kt):ct&&(ct.current=Kt),ct}(tt,nt)})},($e=(0,c.useState)(function(){return{value:ze,callback:Ue,facade:{get current(){return $e.value},set current(nt){var tt=$e.value;tt!==nt&&($e.value=nt,$e.callback(nt,tt))}}}})[0]).callback=Ue,$e.facade;var ze,Ue,$e}function vo(xe){return xe}function ho(xe,Le){Le===void 0&&(Le=vo);var ze=[],Ue=!1,$e={read:function(){if(Ue)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return ze.length?ze[ze.length-1]:xe},useMedium:function(nt){var tt=Le(nt,Ue);return ze.push(tt),function(){ze=ze.filter(function(ct){return ct!==tt})}},assignSyncMedium:function(nt){for(Ue=!0;ze.length;){var tt=ze;ze=[],tt.forEach(nt)}ze={push:function(ct){return nt(ct)},filter:function(){return ze}}},assignMedium:function(nt){Ue=!0;var tt=[];if(ze.length){var ct=ze;ze=[],ct.forEach(nt),tt=ze}var Kt=function(){var Dt=tt;tt=[],Dt.forEach(nt)},qt=function(){return Promise.resolve().then(Kt)};qt(),ze={push:function(Dt){tt.push(Dt),qt()},filter:function(Dt){return tt=tt.filter(Dt),ze}}}};return $e}var Mo=function(xe){xe===void 0&&(xe={});var Le=ho(null);return Le.options=un({async:!0,ssr:!1},xe),Le}(),yi=function(){},_i=c.forwardRef(function(xe,Le){var ze=c.useRef(null),Ue=c.useState({onScrollCapture:yi,onWheelCapture:yi,onTouchMoveCapture:yi}),$e=Ue[0],nt=Ue[1],tt=xe.forwardProps,ct=xe.children,Kt=xe.className,qt=xe.removeScrollBar,Dt=xe.enabled,Wt=xe.shards,Qt=xe.sideCar,rr=xe.noIsolation,er=xe.inert,$t=xe.allowPinchZoom,lr=xe.as,vr=lr===void 0?"div":lr,xr=wn(xe,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),gr=Qt,Sr=go([ze,Le]),Fr=un(un({},xr),$e);return c.createElement(c.Fragment,null,Dt&&c.createElement(gr,{sideCar:Mo,removeScrollBar:qt,shards:Wt,noIsolation:rr,inert:er,setCallbacks:nt,allowPinchZoom:!!$t,lockRef:ze}),tt?c.cloneElement(c.Children.only(ct),un(un({},Fr),{ref:Sr})):c.createElement(vr,un({},Fr,{className:Kt,ref:Sr}),ct))});_i.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},_i.classNames={fullWidth:io,zeroRight:Wn};var sa=function(xe){var Le=xe.sideCar,ze=wn(xe,["sideCar"]);if(!Le)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var Ue=Le.read();if(!Ue)throw new Error("Sidecar medium not found");return c.createElement(Ue,un({},ze))};sa.isSideCarExport=!0;function ua(){if(!document)return null;var xe=document.createElement("style");xe.type="text/css";var Le=e.nc;return Le&&xe.setAttribute("nonce",Le),xe}var Vi=function(){var xe=0,Le=null;return{add:function(ze){var Ue,$e;xe==0&&(Le=ua())&&($e=ze,(Ue=Le).styleSheet?Ue.styleSheet.cssText=$e:Ue.appendChild(document.createTextNode($e)),function(nt){(document.head||document.getElementsByTagName("head")[0]).appendChild(nt)}(Le)),xe++},remove:function(){!--xe&&Le&&(Le.parentNode&&Le.parentNode.removeChild(Le),Le=null)}}},Xi=function(){var xe,Le=(xe=Vi(),function(ze,Ue){c.useEffect(function(){return xe.add(ze),function(){xe.remove()}},[ze&&Ue])});return function(ze){var Ue=ze.styles,$e=ze.dynamic;return Le(Ue,$e),null}},Qo={left:0,top:0,right:0,gap:0},Uo=function(xe){return parseInt(xe||"",10)||0},yo=function(xe){if(xe===void 0&&(xe="margin"),typeof window>"u")return Qo;var Le=function($e){var nt=window.getComputedStyle(document.body),tt=nt[$e==="padding"?"paddingLeft":"marginLeft"],ct=nt[$e==="padding"?"paddingTop":"marginTop"],Kt=nt[$e==="padding"?"paddingRight":"marginRight"];return[Uo(tt),Uo(ct),Uo(Kt)]}(xe),ze=document.documentElement.clientWidth,Ue=window.innerWidth;return{left:Le[0],top:Le[1],right:Le[2],gap:Math.max(0,Ue-ze+Le[2]-Le[0])}},jo=Xi(),da=function(xe,Le,ze,Ue){var $e=xe.left,nt=xe.top,tt=xe.right,ct=xe.gap;return ze===void 0&&(ze="margin"),` + .`.concat("with-scroll-bars-hidden",` { + overflow: hidden `).concat(Ue,`; + padding-right: `).concat(ct,"px ").concat(Ue,`; + } + body { + overflow: hidden `).concat(Ue,`; + overscroll-behavior: contain; + `).concat([Le&&"position: relative ".concat(Ue,";"),ze==="margin"&&` + padding-left: `.concat($e,`px; + padding-top: `).concat(nt,`px; + padding-right: `).concat(tt,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(ct,"px ").concat(Ue,`; + `),ze==="padding"&&"padding-right: ".concat(ct,"px ").concat(Ue,";")].filter(Boolean).join(""),` + } + + .`).concat(Wn,` { + right: `).concat(ct,"px ").concat(Ue,`; + } + + .`).concat(io,` { + margin-right: `).concat(ct,"px ").concat(Ue,`; + } + + .`).concat(Wn," .").concat(Wn,` { + right: 0 `).concat(Ue,`; + } + + .`).concat(io," .").concat(io,` { + margin-right: 0 `).concat(Ue,`; + } + + body { + `).concat("--removed-body-scroll-bar-size",": ").concat(ct,`px; + } +`)},$i=function(xe){var Le=xe.noRelative,ze=xe.noImportant,Ue=xe.gapMode,$e=Ue===void 0?"margin":Ue,nt=c.useMemo(function(){return yo($e)},[$e]);return c.createElement(jo,{styles:da(nt,!Le,$e,ze?"":"!important")})},ni=!1;if(typeof window<"u")try{var No=Object.defineProperty({},"passive",{get:function(){return ni=!0,!0}});window.addEventListener("test",No,No),window.removeEventListener("test",No,No)}catch{ni=!1}var Ko=!!ni&&{passive:!1},Go=function(xe,Le){var ze=window.getComputedStyle(xe);return ze[Le]!=="hidden"&&!(ze.overflowY===ze.overflowX&&!function(Ue){return Ue.tagName==="TEXTAREA"}(xe)&&ze[Le]==="visible")},ei=function(xe,Le){var ze=Le;do{if(typeof ShadowRoot<"u"&&ze instanceof ShadowRoot&&(ze=ze.host),si(xe,ze)){var Ue=Xo(xe,ze);if(Ue[1]>Ue[2])return!0}ze=ze.parentNode}while(ze&&ze!==document.body);return!1},si=function(xe,Le){return xe==="v"?function(ze){return Go(ze,"overflowY")}(Le):function(ze){return Go(ze,"overflowX")}(Le)},Xo=function(xe,Le){return xe==="v"?[(ze=Le).scrollTop,ze.scrollHeight,ze.clientHeight]:function(Ue){return[Ue.scrollLeft,Ue.scrollWidth,Ue.clientWidth]}(Le);var ze},ui=function(xe){return"changedTouches"in xe?[xe.changedTouches[0].clientX,xe.changedTouches[0].clientY]:[0,0]},Hi=function(xe){return[xe.deltaX,xe.deltaY]},Oi=function(xe){return xe&&"current"in xe?xe.current:xe},xi=function(xe){return` + .block-interactivity-`.concat(xe,` {pointer-events: none;} + .allow-interactivity-`).concat(xe,` {pointer-events: all;} +`)},_o=0,ko=[],$o,Po=($o=function(xe){var Le=c.useRef([]),ze=c.useRef([0,0]),Ue=c.useRef(),$e=c.useState(_o++)[0],nt=c.useState(function(){return Xi()})[0],tt=c.useRef(xe);c.useEffect(function(){tt.current=xe},[xe]),c.useEffect(function(){if(xe.inert){document.body.classList.add("block-interactivity-".concat($e));var $t=function(lr,vr,xr){if(xr||arguments.length===2)for(var gr,Sr=0,Fr=vr.length;Sr<Fr;Sr++)!gr&&Sr in vr||(gr||(gr=Array.prototype.slice.call(vr,0,Sr)),gr[Sr]=vr[Sr]);return lr.concat(gr||Array.prototype.slice.call(vr))}([xe.lockRef.current],(xe.shards||[]).map(Oi),!0).filter(Boolean);return $t.forEach(function(lr){return lr.classList.add("allow-interactivity-".concat($e))}),function(){document.body.classList.remove("block-interactivity-".concat($e)),$t.forEach(function(lr){return lr.classList.remove("allow-interactivity-".concat($e))})}}},[xe.inert,xe.lockRef.current,xe.shards]);var ct=c.useCallback(function($t,lr){if("touches"in $t&&$t.touches.length===2)return!tt.current.allowPinchZoom;var vr,xr=ui($t),gr=ze.current,Sr="deltaX"in $t?$t.deltaX:gr[0]-xr[0],Fr="deltaY"in $t?$t.deltaY:gr[1]-xr[1],Jr=$t.target,Hr=Math.abs(Sr)>Math.abs(Fr)?"h":"v";if("touches"in $t&&Hr==="h"&&Jr.type==="range")return!1;var Nr=ei(Hr,Jr);if(!Nr)return!0;if(Nr?vr=Hr:(vr=Hr==="v"?"h":"v",Nr=ei(Hr,Jr)),!Nr)return!1;if(!Ue.current&&"changedTouches"in $t&&(Sr||Fr)&&(Ue.current=vr),!vr)return!0;var Vr=Ue.current||vr;return function(Qr,an,dn,pn,kn){var Kn=function(Ho,Wo){return Ho==="h"&&Wo==="rtl"?-1:1}(Qr,window.getComputedStyle(an).direction),lo=Kn*pn,po=dn.target,Oo=an.contains(po),xo=!1,Yn=lo>0,Xn=0,ro=0;do{var $n=Xo(Qr,po),oo=$n[0],mo=$n[1]-$n[2]-Kn*oo;(oo||mo)&&si(Qr,po)&&(Xn+=mo,ro+=oo),po=po.parentNode}while(!Oo&&po!==document.body||Oo&&(an.contains(po)||an===po));return(Yn&&(kn&&Xn===0||!kn&&lo>Xn)||!Yn&&(kn&&ro===0||!kn&&-lo>ro))&&(xo=!0),xo}(Vr,lr,$t,Vr==="h"?Sr:Fr,!0)},[]),Kt=c.useCallback(function($t){var lr=$t;if(ko.length&&ko[ko.length-1]===nt){var vr="deltaY"in lr?Hi(lr):ui(lr),xr=Le.current.filter(function(Sr){return Sr.name===lr.type&&Sr.target===lr.target&&function(Fr,Jr){return Fr[0]===Jr[0]&&Fr[1]===Jr[1]}(Sr.delta,vr)})[0];if(xr&&xr.should)lr.cancelable&&lr.preventDefault();else if(!xr){var gr=(tt.current.shards||[]).map(Oi).filter(Boolean).filter(function(Sr){return Sr.contains(lr.target)});(gr.length>0?ct(lr,gr[0]):!tt.current.noIsolation)&&lr.cancelable&&lr.preventDefault()}}},[]),qt=c.useCallback(function($t,lr,vr,xr){var gr={name:$t,delta:lr,target:vr,should:xr};Le.current.push(gr),setTimeout(function(){Le.current=Le.current.filter(function(Sr){return Sr!==gr})},1)},[]),Dt=c.useCallback(function($t){ze.current=ui($t),Ue.current=void 0},[]),Wt=c.useCallback(function($t){qt($t.type,Hi($t),$t.target,ct($t,xe.lockRef.current))},[]),Qt=c.useCallback(function($t){qt($t.type,ui($t),$t.target,ct($t,xe.lockRef.current))},[]);c.useEffect(function(){return ko.push(nt),xe.setCallbacks({onScrollCapture:Wt,onWheelCapture:Wt,onTouchMoveCapture:Qt}),document.addEventListener("wheel",Kt,Ko),document.addEventListener("touchmove",Kt,Ko),document.addEventListener("touchstart",Dt,Ko),function(){ko=ko.filter(function($t){return $t!==nt}),document.removeEventListener("wheel",Kt,Ko),document.removeEventListener("touchmove",Kt,Ko),document.removeEventListener("touchstart",Dt,Ko)}},[]);var rr=xe.removeScrollBar,er=xe.inert;return c.createElement(c.Fragment,null,er?c.createElement(nt,{styles:xi($e)}):null,rr?c.createElement($i,{gapMode:"margin"}):null)},Mo.useMedium($o),sa),oi=c.forwardRef(function(xe,Le){return c.createElement(_i,un({},xe,{ref:Le,sideCar:Po}))});oi.classNames=_i.classNames;var fa=oi;const qi="Popover",[_a,Wi]=(0,a.b)(qi,[jr]),Ci=jr(),[di,fi]=_a(qi),Oa=xe=>{const{__scopePopover:Le,children:ze,open:Ue,defaultOpen:$e,onOpenChange:nt,modal:tt=!1}=xe,ct=Ci(Le),Kt=(0,c.useRef)(null),[qt,Dt]=(0,c.useState)(!1),[Wt=!1,Qt]=(0,Lr.T)({prop:Ue,defaultProp:$e,onChange:nt});return(0,c.createElement)(_t,ct,(0,c.createElement)(di,{scope:Le,contentId:(0,ue.M)(),triggerRef:Kt,open:Wt,onOpenChange:Qt,onOpenToggle:(0,c.useCallback)(()=>Qt(rr=>!rr),[Qt]),hasCustomAnchor:qt,onCustomAnchorAdd:(0,c.useCallback)(()=>Dt(!0),[]),onCustomAnchorRemove:(0,c.useCallback)(()=>Dt(!1),[]),modal:tt},ze))},Ca="PopoverTrigger",Ji=(0,c.forwardRef)((xe,Le)=>{const{__scopePopover:ze,...Ue}=xe,$e=fi(Ca,ze),nt=Ci(ze),tt=(0,p.e)(Le,$e.triggerRef),ct=(0,c.createElement)(l.WV.button,(0,r.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":$e.open,"aria-controls":$e.contentId,"data-state":ha($e.open)},Ue,{ref:tt,onClick:(0,n.M)(xe.onClick,$e.onOpenToggle)}));return $e.hasCustomAnchor?ct:(0,c.createElement)(Jt,(0,r.Z)({asChild:!0},nt),ct)}),Qi="PopoverPortal",[Ia,Fi]=_a(Qi,{forceMount:void 0}),To=xe=>{const{__scopePopover:Le,forceMount:ze,children:Ue,container:$e}=xe,nt=fi(Qi,Le);return(0,c.createElement)(Ia,{scope:Le,forceMount:ze},(0,c.createElement)(Rr.z,{present:ze||nt.open},(0,c.createElement)(Cr,{asChild:!0,container:$e},Ue)))},qo="PopoverContent",pa=(0,c.forwardRef)((xe,Le)=>{const ze=Fi(qo,xe.__scopePopover),{forceMount:Ue=ze.forceMount,...$e}=xe,nt=fi(qo,xe.__scopePopover);return(0,c.createElement)(Rr.z,{present:Ue||nt.open},nt.modal?(0,c.createElement)(ea,(0,r.Z)({},$e,{ref:Le})):(0,c.createElement)(Ui,(0,r.Z)({},$e,{ref:Le})))}),ea=(0,c.forwardRef)((xe,Le)=>{const ze=fi(qo,xe.__scopePopover),Ue=(0,c.useRef)(null),$e=(0,p.e)(Le,Ue),nt=(0,c.useRef)(!1);return(0,c.useEffect)(()=>{const tt=Ue.current;if(tt)return Br(tt)},[]),(0,c.createElement)(fa,{as:Wr.g7,allowPinchZoom:!0},(0,c.createElement)(wi,(0,r.Z)({},xe,{ref:$e,trapFocus:ze.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.M)(xe.onCloseAutoFocus,tt=>{var ct;tt.preventDefault(),nt.current||(ct=ze.triggerRef.current)===null||ct===void 0||ct.focus()}),onPointerDownOutside:(0,n.M)(xe.onPointerDownOutside,tt=>{const ct=tt.detail.originalEvent,Kt=ct.button===0&&ct.ctrlKey===!0,qt=ct.button===2||Kt;nt.current=qt},{checkForDefaultPrevented:!1}),onFocusOutside:(0,n.M)(xe.onFocusOutside,tt=>tt.preventDefault(),{checkForDefaultPrevented:!1})})))}),Ui=(0,c.forwardRef)((xe,Le)=>{const ze=fi(qo,xe.__scopePopover),Ue=(0,c.useRef)(!1);return(0,c.createElement)(wi,(0,r.Z)({},xe,{ref:Le,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:$e=>{var nt,tt;(nt=xe.onCloseAutoFocus)===null||nt===void 0||nt.call(xe,$e),$e.defaultPrevented||(Ue.current||(tt=ze.triggerRef.current)===null||tt===void 0||tt.focus(),$e.preventDefault()),Ue.current=!1},onInteractOutside:$e=>{var nt,tt;(nt=xe.onInteractOutside)===null||nt===void 0||nt.call(xe,$e),$e.defaultPrevented||(Ue.current=!0);const ct=$e.target;!((tt=ze.triggerRef.current)===null||tt===void 0)&&tt.contains(ct)&&$e.preventDefault()}}))}),wi=(0,c.forwardRef)((xe,Le)=>{const{__scopePopover:ze,trapFocus:Ue,onOpenAutoFocus:$e,onCloseAutoFocus:nt,disableOutsidePointerEvents:tt,onEscapeKeyDown:ct,onPointerDownOutside:Kt,onFocusOutside:qt,onInteractOutside:Dt,...Wt}=xe,Qt=fi(qo,ze),rr=Ci(ze);return oe(),(0,c.createElement)(Ae,{asChild:!0,loop:!0,trapped:Ue,onMountAutoFocus:$e,onUnmountAutoFocus:nt},(0,c.createElement)(F,{asChild:!0,disableOutsidePointerEvents:tt,onInteractOutside:Dt,onEscapeKeyDown:ct,onPointerDownOutside:Kt,onFocusOutside:qt,onDismiss:()=>Qt.onOpenChange(!1)},(0,c.createElement)(ur,(0,r.Z)({"data-state":ha(Qt.open),role:"dialog",id:Qt.contentId},rr,Wt,{ref:Le,style:{...Wt.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)"}}))))}),Ii=(0,c.forwardRef)((xe,Le)=>{const{__scopePopover:ze,...Ue}=xe,$e=Ci(ze);return(0,c.createElement)(_r,(0,r.Z)({},$e,Ue,{ref:Le}))});function ha(xe){return xe?"open":"closed"}const ma=Oa,ii=Ji,Yo=To,Mi=pa,ta=Ii;var Pi=e(8242),Ki=e(453),so=e(8935),bn=e(8924),Vn=function(xe){var Le=xe.color,ze=xe.onChange,Ue=xe.label,$e=xe.colorPickerType,nt=(0,Pi.Fy)(),tt=(0,c.useState)(Le),ct=(0,P.Z)(tt,2),Kt=ct[0],qt=ct[1],Dt=(0,N.KO)(ce),Wt=(0,P.Z)(Dt,2),Qt=Wt[0],rr=Wt[1];(0,c.useEffect)(function(){qt(Le)},[Le]);var er=(0,c.useCallback)(function(Fr){var Jr=Fr.toLowerCase(),Hr=Zo(Jr);Hr&&ze(Hr),qt(Jr)},[ze]),$t=(0,c.useRef)(null),lr=(0,c.useRef)(null);(0,c.useEffect)(function(){$t.current&&$t.current.focus()},[Qt]);var vr=(0,N.KO)(bn.$,Ki.yE),xr=(0,P.Z)(vr,2),gr=xr[0],Sr=xr[1];return(0,c.useEffect)(function(){return function(){Sr(null)}},[Sr]),(0,I.jsxs)("div",{className:"color-picker__input-label",children:[(0,I.jsx)("div",{className:"color-picker__input-hash",children:"#"}),(0,I.jsx)("input",{ref:Qt==="hex"?$t:void 0,style:{border:0,padding:0},spellCheck:!1,className:"color-picker-input","aria-label":Ue,onChange:function(Fr){er(Fr.target.value)},value:(Kt||"").replace(/^#/,""),onBlur:function(){qt(Le)},tabIndex:-1,onFocus:function(){return rr("hex")},onKeyDown:function(Fr){var Jr;Fr.key!==M.tW.TAB&&(Fr.key===M.tW.ESCAPE&&((Jr=lr.current)===null||Jr===void 0||Jr.focus()),Fr.stopPropagation())}}),!nt.editor.isMobile&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("div",{style:{width:"1px",height:"1.25rem",backgroundColor:"var(--default-border-color)"}}),(0,I.jsx)("div",{ref:lr,className:(0,m.Z)("excalidraw-eye-dropper-trigger",{selected:gr}),onClick:function(){return Sr(function(Fr){return Fr?null:{keepOpenOnAlt:!1,onSelect:function(Jr){return ze(Jr)},colorPickerType:$e}})},title:"".concat((0,Z.t)("labels.eyeDropper")," — ").concat(M.tW.I.toLocaleUpperCase()," or ").concat((0,w.uY)("Alt")," "),children:so.$W})]})]})},Pn=e(3379),Tn=e.n(Pn),Do=e(7795),Ao=e.n(Do),ga=e(569),Ma=e.n(ga),va=e(3565),ba=e.n(va),ya=e(9216),ra=e.n(ya),Bo=e(4589),Eo=e.n(Bo),Lo=e(4269),Jn={};Jn.styleTagTransform=Eo(),Jn.setAttributes=ba(),Jn.insert=Ma().bind(null,"head"),Jn.domAPI=Ao(),Jn.insertStyleElement=ra(),Tn()(Lo.Z,Jn),Lo.Z&&Lo.Z.locals&&Lo.Z.locals;var Qn=function(xe){var Le=new Option().style;return Le.color=xe,!!Le.color},Zo=function(xe){return(0,w.Qm)(xe)?xe:Qn("#".concat(xe))?"#".concat(xe):Qn(xe)?xe:null},ki=function(xe){var Le=xe.type,ze=xe.color,Ue=xe.onChange,$e=xe.label,nt=xe.elements,tt=xe.palette,ct=tt===void 0?v.HO:tt,Kt=xe.updateData,qt=(0,N.KO)(ce),Dt=(0,P.Z)(qt,2)[1],Wt=(0,N.KO)(bn.$,Ki.yE),Qt=(0,P.Z)(Wt,2),rr=Qt[0],er=Qt[1],$t=(0,Pi.J0)().container,lr=(0,Pi.Fy)(),vr=(0,I.jsxs)("div",{children:[(0,I.jsx)(y,{children:(0,Z.t)("colorPicker.hexCode")}),(0,I.jsx)(Vn,{color:ze,label:$e,onChange:function(Sr){Ue(Sr)},colorPickerType:Le})]}),xr=(0,c.useRef)(null),gr=function(){var Sr,Fr;(Sr=xr.current)===null||Sr===void 0||(Fr=Sr.querySelector(".color-picker-content"))===null||Fr===void 0||Fr.focus()};return(0,I.jsx)(Yo,{container:$t,children:(0,I.jsxs)(Mi,{ref:xr,className:"focus-visible-none","data-prevent-outside-click":!0,onFocusOutside:function(Sr){gr(),Sr.preventDefault()},onPointerDownOutside:function(Sr){rr&&Sr.preventDefault()},onCloseAutoFocus:function(Sr){Sr.stopPropagation(),Sr.preventDefault(),$t&&!(0,w.y1)(document.activeElement)&&$t.focus(),Kt({openPopup:null}),Dt(null)},side:lr.editor.isMobile&&!lr.viewport.isLandscape?"bottom":"right",align:lr.editor.isMobile&&!lr.viewport.isLandscape?"center":"start",alignOffset:-16,sideOffset:20,style:{zIndex:"var(--zIndex-layerUI)",backgroundColor:"var(--popup-bg-color)",maxWidth:"208px",maxHeight:window.innerHeight,padding:"12px",borderRadius:"8px",boxSizing:"border-box",overflowY:"auto",boxShadow:"0px 7px 14px rgba(0, 0, 0, 0.05), 0px 0px 3.12708px rgba(0, 0, 0, 0.0798), 0px 0px 0.931014px rgba(0, 0, 0, 0.1702)"},children:[ct?(0,I.jsx)(d,{palette:ct,color:ze,onChange:function(Sr){Ue(Sr)},onEyeDropperToggle:function(Sr){er(function(Fr){return Sr?((Fr=Fr||{keepOpenOnAlt:!0,onSelect:Ue,colorPickerType:Le}).keepOpenOnAlt=!0,Fr):Sr===!1||Fr?null:{keepOpenOnAlt:!1,onSelect:Ue,colorPickerType:Le}})},onEscape:function(Sr){rr?er(null):(0,w.s)(Sr.target)?gr():Kt({openPopup:null})},label:$e,type:Le,elements:nt,updateData:Kt,children:vr}):vr,(0,I.jsx)(ta,{width:20,height:10,style:{fill:"var(--popup-bg-color)",filter:"drop-shadow(rgba(0, 0, 0, 0.05) 0px 3px 2px)"}})]})})},xa=function(xe){var Le=xe.label,ze=xe.color,Ue=xe.type;return(0,I.jsx)(ii,{type:"button",className:(0,m.Z)("color-picker__button active-color",{"is-transparent":ze==="transparent"||!ze}),"aria-label":Le,style:ze?{"--swatch-color":ze}:void 0,title:Ue==="elementStroke"?(0,Z.t)("labels.showStroke"):(0,Z.t)("labels.showBackground"),children:(0,I.jsx)("div",{className:"color-picker__button-outline"})})},Ke=function(xe){var Le=xe.type,ze=xe.color,Ue=xe.onChange,$e=xe.label,nt=xe.elements,tt=xe.palette,ct=tt===void 0?v.HO:tt,Kt=xe.topPicks,qt=xe.updateData,Dt=xe.appState;return(0,I.jsx)("div",{children:(0,I.jsxs)("div",{role:"dialog","aria-modal":"true",className:"color-picker-container",children:[(0,I.jsx)(x,{activeColor:ze,onChange:Ue,type:Le,topPicks:Kt}),(0,I.jsx)("div",{style:{width:1,height:"100%",backgroundColor:"var(--default-border-color)",margin:"0 auto"}}),(0,I.jsxs)(ma,{open:Dt.openPopup===Le,onOpenChange:function(Wt){qt({openPopup:Wt?Le:null})},children:[(0,I.jsx)(xa,{color:ze,label:$e,type:Le}),Dt.openPopup===Le&&(0,I.jsx)(ki,{type:Le,color:ze,onChange:Ue,label:$e,elements:nt,palette:ct,updateData:qt})]})]})})}},6887:function(fe,t,e){e.d(t,{Z:function(){return r}});var P=e(7169),w=e(2726),m=e(8227),v=e(1300),I=e(3379),x=e.n(I),c=e(7795),f=e.n(c),Z=e(569),N=e.n(Z),W=e(3565),k=e.n(W),S=e(9216),J=e.n(S),ce=e(4589),he=e.n(ce),ve=e(9393),le={};le.styleTagTransform=he(),le.setAttributes=k(),le.insert=N().bind(null,"head"),le.domAPI=f(),le.insertStyleElement=J(),x()(ve.Z,le),ve.Z&&ve.Z.locals&&ve.Z.locals;var G=e(4932),U=e(3607),H=e(3116),M=e(8242),A=e(453),b=e(1020),y=["onConfirm","onCancel","children","confirmText","cancelText","className"];function h(n,p){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);p&&(l=l.filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable})),a.push.apply(a,l)}return a}function d(n){for(var p=1;p<arguments.length;p++){var a=arguments[p]!=null?arguments[p]:{};p%2?h(Object(a),!0).forEach(function(l){(0,P.Z)(n,l,a[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):h(Object(a)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(a,l))})}return n}var r=function(n){var p=n.onConfirm,a=n.onCancel,l=n.children,u=n.confirmText,C=u===void 0?(0,m.t)("buttons.confirm"):u,L=n.cancelText,_=L===void 0?(0,m.t)("buttons.cancel"):L,E=n.className,D=E===void 0?"":E,F=(0,w.Z)(n,y),ee=(0,M.n9)(),te=(0,U.b9)(H.uh,A.yE),re=(0,M.J0)().container;return(0,b.jsxs)(v.V,d(d({onCloseRequest:a,size:"small"},F),{},{className:"confirm-dialog ".concat(D),children:[l,(0,b.jsxs)("div",{className:"confirm-dialog-buttons",children:[(0,b.jsx)(G.Z,{label:_,onClick:function(){ee({openMenu:null}),te(!1),a(),re?.focus()}}),(0,b.jsx)(G.Z,{label:C,onClick:function(){ee({openMenu:null}),te(!1),p(),re?.focus()},actionType:"danger"})]})]}))}},1925:function(fe,t,e){e.d(t,{O:function(){return H}});var P=e(2726),w=e(7169),m=e(45),v=e(9937),I=e(4572),x=e(100),c=e(8227),f=e(9827),Z=e(8242),N=e(6922),W=e(3116),k=e(5902),S=e(1020),J=e(9787),ce=["children"],he=["children","className","onDock","docked"];function ve(M,A){var b=Object.keys(M);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(M);A&&(y=y.filter(function(h){return Object.getOwnPropertyDescriptor(M,h).enumerable})),b.push.apply(b,y)}return b}function le(M){for(var A=1;A<arguments.length;A++){var b=arguments[A]!=null?arguments[A]:{};A%2?ve(Object(b),!0).forEach(function(y){(0,w.Z)(M,y,b[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(b)):ve(Object(b)).forEach(function(y){Object.defineProperty(M,y,Object.getOwnPropertyDescriptor(b,y))})}return M}var G=(0,N.$)("DefaultSidebarTrigger",function(M){var A=(0,I.R6)().DefaultSidebarTriggerTunnel;return(0,S.jsx)(A.In,{children:(0,S.jsx)(k.YE.Trigger,le(le({},M),{},{className:"default-sidebar-trigger",name:v.Cc.name}))})});G.displayName="DefaultSidebarTrigger";var U=function(M){var A=M.children,b=(0,P.Z)(M,ce),y=(0,I.R6)().DefaultSidebarTabTriggersTunnel;return(0,S.jsx)(y.In,{children:(0,S.jsx)(k.YE.TabTriggers,le(le({},b),{},{children:A}))})};U.displayName="DefaultTabTriggers";var H=Object.assign((0,N.$)("DefaultSidebar",function(M){var A=M.children,b=M.className,y=M.onDock,h=M.docked,d=(0,P.Z)(M,he),r=(0,x.I)(),n=(0,Z.n9)(),p=(0,I.R6)().DefaultSidebarTabTriggersTunnel;return(0,J.createElement)(k.YE,le(le({},d),{},{name:"default",key:"default",className:(0,m.Z)("default-sidebar",b),docked:h??r.defaultSidebarDockedPreference,onDock:y===!1||!y&&h!=null?void 0:(0,f.Mj)(y,function(a){n({defaultSidebarDockedPreference:a})})}),(0,S.jsxs)(k.YE.Tabs,{children:[(0,S.jsxs)(k.YE.Header,{children:[d.__fallback&&(0,S.jsx)("div",{style:{color:"var(--color-primary)",fontSize:"1.2em",fontWeight:"bold",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",paddingRight:"1em"},children:(0,c.t)("toolBar.library")}),(0,S.jsx)(p.Out,{})]}),(0,S.jsx)(k.YE.Tab,{tab:v.tf,children:(0,S.jsx)(W.rY,{})}),A]}))}),{Trigger:G,TabTriggers:U})},1300:function(fe,t,e){e.d(t,{V:function(){return C}});var P=e(2577),w=e(45),m=e(9787),v=e(8227),I=e(8242),x=e(5491),c=e(3379),f=e.n(c),Z=e(7795),N=e.n(Z),W=e(569),k=e.n(W),S=e(3565),J=e.n(S),ce=e(9216),he=e.n(ce),ve=e(4589),le=e.n(ve),G=e(9482),U={};U.styleTagTransform=le(),U.setAttributes=J(),U.insert=k().bind(null,"head"),U.domAPI=N(),U.insertStyleElement=he(),f()(G.Z,U),G.Z&&G.Z.locals&&G.Z.locals;var H=e(8935),M=e(1404),A=e(6843),b={};b.styleTagTransform=le(),b.setAttributes=J(),b.insert=k().bind(null,"head"),b.domAPI=N(),b.insertStyleElement=he(),f()(A.Z,b),A.Z&&A.Z.locals&&A.Z.locals;var y=e(5156),h=e(334),d=e(1020),r=function(L){var _=L.closeOnClickOutside,E=_===void 0||_,D=(0,h.F)({className:"excalidraw-modal-container"});return D?(0,y.createPortal)((0,d.jsxs)("div",{className:(0,w.Z)("Modal",L.className),role:"dialog","aria-modal":"true",onKeyDown:function(F){F.key===x.tW.ESCAPE&&(F.nativeEvent.stopImmediatePropagation(),F.stopPropagation(),L.onCloseRequest())},"aria-labelledby":L.labelledBy,"data-prevent-outside-click":!0,children:[(0,d.jsx)("div",{className:"Modal__background",onClick:E?L.onCloseRequest:void 0}),(0,d.jsx)("div",{className:"Modal__content",style:{"--max-width":"".concat(L.maxWidth,"px")},tabIndex:0,children:L.children})]}),D):null},n=e(9827),p=e(3607),a=e(3116),l=e(453);function u(L){if(L&&typeof L=="number")return L;switch(L){case"small":return 550;case"wide":return 1024;default:return 800}}var C=function(L){var _=function(){var we=(0,m.useState)(null),Ae=(0,P.Z)(we,2),Re=Ae[0],je=Ae[1];return[Re,(0,m.useCallback)(function(ye){return je(ye)},[])]}(),E=(0,P.Z)(_,2),D=E[0],F=E[1],ee=(0,m.useState)(document.activeElement),te=(0,P.Z)(ee,1)[0],re=(0,I.J0)().id,oe=(0,I.Fy)().viewport.isMobile;(0,m.useEffect)(function(){if(D){var we=(0,n.xp)(D);we.length>0&&L.autofocus!==!1&&(we[1]||we[0]).focus();var Ae=function(Re){if(Re.key===x.tW.TAB){var je=(0,n.xp)(D),ye=document.activeElement,Ee=je.findIndex(function(Oe){return Oe===ye});Ee===0&&Re.shiftKey?(je[je.length-1].focus(),Re.preventDefault()):Ee!==je.length-1||Re.shiftKey||(je[0].focus(),Re.preventDefault())}};return D.addEventListener("keydown",Ae),function(){return D.removeEventListener("keydown",Ae)}}},[D,L.autofocus]);var Y=(0,I.n9)(),V=(0,p.b9)(a.uh,l.yE),ie=function(){Y({openMenu:null}),V(!1),te.focus(),L.onCloseRequest()};return(0,d.jsx)(r,{className:(0,w.Z)("Dialog",L.className,{"Dialog--fullscreen":oe}),labelledBy:"dialog-title",maxWidth:u(L.size),onCloseRequest:ie,closeOnClickOutside:L.closeOnClickOutside,children:(0,d.jsxs)(M.W,{ref:F,children:[L.title&&(0,d.jsx)("h2",{id:"".concat(re,"-dialog-title"),className:"Dialog__title",children:(0,d.jsx)("span",{className:"Dialog__titleContent",children:L.title})}),(0,d.jsx)("button",{className:"Dialog__close",onClick:ie,title:(0,v.t)("buttons.close"),"aria-label":(0,v.t)("buttons.close"),children:oe?H.op:H.Tw}),(0,d.jsx)("div",{className:"Dialog__content",children:L.children})]})})}},4932:function(fe,t,e){e.d(t,{Z:function(){return A}});var P=e(7169),w=e(2726),m=e(45),v=e(3379),I=e.n(v),x=e(7795),c=e.n(x),f=e(569),Z=e.n(f),N=e(3565),W=e.n(N),k=e(9216),S=e.n(k),J=e(4589),ce=e.n(J),he=e(6148),ve={};ve.styleTagTransform=ce(),ve.setAttributes=W(),ve.insert=Z().bind(null,"head"),ve.domAPI=c(),ve.insertStyleElement=S(),I()(he.Z,ve),he.Z&&he.Z.locals&&he.Z.locals;var le=e(8531),G=e(1020),U=["label","onClick","className","children","actionType","type","isLoading"];function H(b,y){var h=Object.keys(b);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(b);y&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(b,r).enumerable})),h.push.apply(h,d)}return h}function M(b){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?H(Object(h),!0).forEach(function(d){(0,P.Z)(b,d,h[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(h)):H(Object(h)).forEach(function(d){Object.defineProperty(b,d,Object.getOwnPropertyDescriptor(h,d))})}return b}var A=function(b){var y=b.label,h=b.onClick,d=b.className,r=b.children,n=b.actionType,p=b.type,a=p===void 0?"button":p,l=b.isLoading,u=(0,w.Z)(b,U),C=n?"Dialog__action-button--".concat(n):"";return(0,G.jsxs)("button",M(M({className:(0,m.Z)("Dialog__action-button",C,d),type:a,"aria-label":y,onClick:h},u),{},{children:[r&&(0,G.jsx)("div",{style:l?{visibility:"hidden"}:{},children:r}),(0,G.jsx)("div",{style:l?{visibility:"hidden"}:{},children:y}),l&&(0,G.jsx)("div",{style:{position:"absolute",inset:0},children:(0,G.jsx)(le.Z,{})})]}))}},8924:function(fe,t,e){e.d(t,{p:function(){return r},$:function(){return d}});var P=e(3607),w=e(9787),m=e(5156),v=e(9240),I=e(9937),x=e(100),c=e(334),f=e(1901),Z=e(5491),N=e(4105),W=e(8242),k=e(3379),S=e.n(k),J=e(7795),ce=e.n(J),he=e(569),ve=e.n(he),le=e(3565),G=e.n(le),U=e(9216),H=e.n(U),M=e(4589),A=e.n(M),b=e(7522),y={};y.styleTagTransform=A(),y.setAttributes=G(),y.insert=ve().bind(null,"head"),y.domAPI=ce(),y.insertStyleElement=H(),S()(b.Z,y),b.Z&&b.Z.locals&&b.Z.locals;var h=e(1020),d=(0,P.cn)(null),r=function(n){var p=n.onCancel,a=n.onChange,l=n.onSelect,u=n.colorPickerType,C=(0,c.F)({className:"excalidraw-eye-dropper-backdrop",parentSelector:".excalidraw-eye-dropper-container"}),L=(0,x.I)(),_=(0,W.bd)(),E=(0,W.qD)(),D=(0,N.eD)(_,L),F=function(re){var oe=(0,w.useRef)(re);return Object.assign(oe.current,re),oe.current}({app:E,onCancel:p,onChange:a,onSelect:l,selectedElements:D}),ee=(0,W.J0)().container;(0,w.useEffect)(function(){var re=te.current;if(re&&E.canvas&&C){var oe=!1,Y=E.canvas.getContext("2d"),V=function(ye){var Ee=ye.clientX,Oe=ye.clientY,ge=Y.getImageData((Ee-L.offsetLeft)*window.devicePixelRatio,(Oe-L.offsetTop)*window.devicePixelRatio,1,1).data;return(0,v.vq)(ge[0],ge[1],ge[2])},ie=function(ye){var Ee=ye.clientX,Oe=ye.clientY,ge=ye.altKey;re.style.top="".concat(Oe+20,"px"),re.style.left="".concat(Ee+20,"px");var ue=V({clientX:Ee,clientY:Oe});oe&&F.onChange(u,ue,F.selectedElements,{altKey:ge}),re.style.background=ue},we=function(){F.onCancel()},Ae=function(ye){oe=!0,ye.stopImmediatePropagation()},Re=function(ye){oe=!1,ee?.focus(),ye.stopImmediatePropagation(),ye.preventDefault(),function(Ee,Oe){F.onSelect(Ee,Oe)}(V(ye),ye)},je=function(ye){ye.key===Z.tW.ESCAPE&&(ye.preventDefault(),ye.stopImmediatePropagation(),we())};return C.tabIndex=-1,C.focus(),ie({clientX:F.app.lastViewportPosition.x,clientY:F.app.lastViewportPosition.y,altKey:!1}),C.addEventListener(I.Ks.KEYDOWN,je),C.addEventListener(I.Ks.POINTER_DOWN,Ae),C.addEventListener(I.Ks.POINTER_UP,Re),window.addEventListener("pointermove",ie,{passive:!0}),window.addEventListener(I.Ks.BLUR,we),function(){oe=!1,C.removeEventListener(I.Ks.KEYDOWN,je),C.removeEventListener(I.Ks.POINTER_DOWN,Ae),C.removeEventListener(I.Ks.POINTER_UP,Re),window.removeEventListener("pointermove",ie),window.removeEventListener(I.Ks.BLUR,we)}}},[F,E.canvas,C,u,ee,L.offsetLeft,L.offsetTop]);var te=(0,w.useRef)(null);return(0,f.O)(te,function(){p()},function(re){return!!re.target.closest(".excalidraw-eye-dropper-trigger, .excalidraw-eye-dropper-backdrop")}),C?(0,m.createPortal)((0,h.jsx)("div",{ref:te,className:"excalidraw-eye-dropper-preview"}),C):null}},1404:function(fe,t,e){e.d(t,{W:function(){return M}});var P=e(7169),w=e(3379),m=e.n(w),v=e(7795),I=e.n(v),x=e(569),c=e.n(x),f=e(3565),Z=e.n(f),N=e(9216),W=e.n(N),k=e(4589),S=e.n(k),J=e(7369),ce={};ce.styleTagTransform=S(),ce.setAttributes=Z(),ce.insert=c().bind(null,"head"),ce.domAPI=I(),ce.insertStyleElement=W(),m()(J.Z,ce),J.Z&&J.Z.locals&&J.Z.locals;var he=e(9787),ve=e.n(he),le=e(45),G=e(1020);function U(A,b){var y=Object.keys(A);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(A);b&&(h=h.filter(function(d){return Object.getOwnPropertyDescriptor(A,d).enumerable})),y.push.apply(y,h)}return y}function H(A){for(var b=1;b<arguments.length;b++){var y=arguments[b]!=null?arguments[b]:{};b%2?U(Object(y),!0).forEach(function(h){(0,P.Z)(A,h,y[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(y)):U(Object(y)).forEach(function(h){Object.defineProperty(A,h,Object.getOwnPropertyDescriptor(y,h))})}return A}var M=ve().forwardRef(function(A,b){var y=A.children,h=A.padding,d=A.className,r=A.style;return(0,G.jsx)("div",{className:(0,le.Z)("Island",d),style:H({"--padding":h},r),ref:b,children:y})})},3116:function(fe,t,e){e.d(t,{rY:function(){return lt},uh:function(){return Et}});var P=e(6655),w=e(1930),m=e(8950),v=e(2577),I=e(2975),x=e.n(I),c=e(9787),f=e.n(c),Z=e(9326),N=e(8227),W=e(4643),k=e(7169),S=e(4419),J=e(9827),ce=e(2540),he=e(9937),ve=e(8531),le=e(5742),G=e(1020),U=function(ot){var mt=ot.theme,pt=ot.id,ht=ot.libraryReturnUrl||window.location.origin+window.location.pathname;return(0,G.jsx)("a",{className:"library-menu-browse-button",href:"".concat("https://libraries.excalidraw.com","?target=").concat(window.name||"_blank","&referrer=").concat(ht,"&useHash=true&token=").concat(pt,"&theme=").concat(mt,"&version=").concat(he.Kr.excalidrawLibrary),target:"_excalidraw_libraries",children:(0,N.t)("labels.libraries")})},H=e(45),M=function(ot){var mt=ot.libraryReturnUrl,pt=ot.theme,ht=ot.id,yt=ot.style,Ct=ot.children,Bt=ot.className;return(0,G.jsxs)("div",{className:(0,H.Z)("library-menu-control-buttons",Bt),style:yt,children:[(0,G.jsx)(U,{id:ht,libraryReturnUrl:mt,theme:pt}),Ct]})},A=e(9247),b=e(453),y=e(8242),h=e(8935),d=e(1512),r=e(6548),n=e(3607),p=e(6887),a=e(5284),l=e(1300),u=e(507),C=e(5796),L=e(4932),_=e(3379),E=e.n(_),D=e(7795),F=e.n(D),ee=e(569),te=e.n(ee),re=e(3565),oe=e.n(re),Y=e(9216),V=e.n(Y),ie=e(4589),we=e.n(ie),Ae=e(7589),Re={};Re.styleTagTransform=we(),Re.setAttributes=oe(),Re.insert=te().bind(null,"head"),Re.domAPI=F(),Re.insertStyleElement=V(),E()(Ae.Z,Re),Ae.Z&&Ae.Z.locals&&Ae.Z.locals;function je(ot,mt){var pt=Object.keys(ot);if(Object.getOwnPropertySymbols){var ht=Object.getOwnPropertySymbols(ot);mt&&(ht=ht.filter(function(yt){return Object.getOwnPropertyDescriptor(ot,yt).enumerable})),pt.push.apply(pt,ht)}return pt}function ye(ot){for(var mt=1;mt<arguments.length;mt++){var pt=arguments[mt]!=null?arguments[mt]:{};mt%2?je(Object(pt),!0).forEach(function(ht){(0,k.Z)(ot,ht,pt[ht])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ot,Object.getOwnPropertyDescriptors(pt)):je(Object(pt)).forEach(function(ht){Object.defineProperty(ot,ht,Object.getOwnPropertyDescriptor(pt,ht))})}return ot}function Ee(ot,mt){var pt=typeof Symbol<"u"&&ot[Symbol.iterator]||ot["@@iterator"];if(!pt){if(Array.isArray(ot)||(pt=function(tr,cr){if(tr){if(typeof tr=="string")return Oe(tr,cr);var mr=Object.prototype.toString.call(tr).slice(8,-1);if(mr==="Object"&&tr.constructor&&(mr=tr.constructor.name),mr==="Map"||mr==="Set")return Array.from(tr);if(mr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(mr))return Oe(tr,cr)}}(ot))||mt&&ot&&typeof ot.length=="number"){pt&&(ot=pt);var ht=0,yt=function(){};return{s:yt,n:function(){return ht>=ot.length?{done:!0}:{done:!1,value:ot[ht++]}},e:function(tr){throw tr},f:yt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ct,Bt=!0,zt=!1;return{s:function(){pt=pt.call(ot)},n:function(){var tr=pt.next();return Bt=tr.done,tr},e:function(tr){zt=!0,Ct=tr},f:function(){try{Bt||pt.return==null||pt.return()}finally{if(zt)throw Ct}}}}function Oe(ot,mt){(mt==null||mt>ot.length)&&(mt=ot.length);for(var pt=0,ht=new Array(mt);pt<mt;pt++)ht[pt]=ot[pt];return ht}var ge="publish-library-data",ue=function(){var ot=(0,m.Z)(x().mark(function mt(pt){var ht,yt,Ct,Bt,zt,tr,cr,mr,Ft,xt,At,Tt,nr,yr,kr,Tr,Or;return x().wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:ht=6,yt=128,Ct=Math.round(yt/16),Bt=Math.max(Math.round(yt/64),2),zt=(0,J.yo)(pt,ht),(tr=document.createElement("canvas")).width=zt[0].length*yt+(zt[0].length+1)*(2*Ct)-2*Ct,tr.height=zt.length*yt+(zt.length+1)*(2*Ct)-2*Ct,(cr=tr.getContext("2d")).fillStyle=a.white,cr.fillRect(0,0,tr.width,tr.height),mr=Ee(pt.entries()),Rt.prev=12,mr.s();case 14:if((Ft=mr.n()).done){Rt.next=28;break}return xt=(0,v.Z)(Ft.value,2),At=xt[0],Tt=xt[1],Rt.next=18,(0,u.NL)({elements:Tt.elements,files:null,maxWidthOrHeight:yt});case 18:nr=Rt.sent,yr=nr.width,kr=nr.height,Tr=Math.floor(At/ht)*(yt+2*Ct),Or=At%ht*(yt+2*Ct),cr.drawImage(nr,Or+(yt-yr)/2+Ct,Tr+(yt-kr)/2+Ct),cr.lineWidth=Bt,cr.strokeStyle=a.gray[4],cr.strokeRect(Or+Ct/2,Tr+Ct/2,yt+Ct,yt+Ct);case 26:Rt.next=14;break;case 28:Rt.next=33;break;case 30:Rt.prev=30,Rt.t0=Rt.catch(12),mr.e(Rt.t0);case 33:return Rt.prev=33,mr.f(),Rt.finish(33);case 36:return Rt.t1=C.Tu,Rt.t2=File,Rt.next=40,(0,C._c)(tr);case 40:return Rt.t3=Rt.sent,Rt.t4=[Rt.t3],Rt.t5={type:he.LO.png},Rt.t6=new Rt.t2(Rt.t4,"preview",Rt.t5),Rt.t7={outputType:he.LO.jpg,maxWidthOrHeight:5e3},Rt.next=47,(0,Rt.t1)(Rt.t6,Rt.t7);case 47:return Rt.abrupt("return",Rt.sent);case 48:case"end":return Rt.stop()}},mt,null,[[12,30,33,36]])}));return function(mt){return ot.apply(this,arguments)}}(),se=function(ot){var mt=ot.libItem,pt=ot.appState,ht=ot.index,yt=ot.onChange,Ct=ot.onRemove,Bt=(0,c.useRef)(null),zt=(0,c.useRef)(null);return(0,c.useEffect)(function(){var tr=Bt.current;tr&&(0,m.Z)(x().mark(function cr(){var mr;return x().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return Ft.next=2,(0,u.$D)({elements:mt.elements,appState:ye(ye({},pt),{},{viewBackgroundColor:a.white,exportBackground:!0}),files:null});case 2:mr=Ft.sent,tr.innerHTML=mr.outerHTML;case 4:case"end":return Ft.stop()}},cr)}))()},[mt.elements,pt]),(0,G.jsxs)("div",{className:"single-library-item",children:[mt.status==="published"&&(0,G.jsx)("span",{className:"single-library-item-status",children:(0,N.t)("labels.statusPublished")}),(0,G.jsx)("div",{ref:Bt,className:"single-library-item__svg"}),(0,G.jsx)(d.V,{"aria-label":(0,N.t)("buttons.remove"),type:"button",icon:h.Tw,className:"single-library-item--remove",onClick:Ct.bind(null,mt.id),title:(0,N.t)("buttons.remove")}),(0,G.jsxs)("div",{style:{display:"flex",margin:"0.8rem 0",width:"100%",fontSize:"14px",fontWeight:500,flexDirection:"column"},children:[(0,G.jsxs)("label",{style:{display:"flex",justifyContent:"space-between",flexDirection:"column"},children:[(0,G.jsxs)("div",{style:{padding:"0.5em 0"},children:[(0,G.jsx)("span",{style:{fontWeight:500,color:a.gray[6]},children:(0,N.t)("publishDialog.itemName")}),(0,G.jsx)("span",{"aria-hidden":"true",className:"required",children:"*"})]}),(0,G.jsx)("input",{type:"text",ref:zt,style:{width:"80%",padding:"0.2rem"},defaultValue:mt.name,placeholder:"Item name",onChange:function(tr){yt(tr.target.value,ht)}})]}),(0,G.jsx)("span",{className:"error",children:mt.error})]})]})},j=function(ot){var mt=ot.onClose,pt=ot.libraryItems,ht=ot.appState,yt=ot.onSuccess,Ct=ot.onError,Bt=ot.updateItemsInStorage,zt=ot.onRemove,tr=(0,c.useState)({authorName:"",githubHandle:"",name:"",description:"",twitterHandle:"",website:""}),cr=(0,v.Z)(tr,2),mr=cr[0],Ft=cr[1],xt=(0,c.useState)(!1),At=(0,v.Z)(xt,2),Tt=At[0],nr=At[1];(0,c.useEffect)(function(){var ir=function(){try{var dr=localStorage.getItem(ge);if(dr)return JSON.parse(dr)}catch(br){console.error(br)}return null}();ir&&Ft(ir)},[]);var yr=(0,c.useState)(pt.slice()),kr=(0,v.Z)(yr,2),Tr=kr[0],Or=kr[1];(0,c.useEffect)(function(){Or(pt.slice())},[pt]);var Rt,dt=function(ir){Ft(ye(ye({},mr),{},(0,k.Z)({},ir.target.name,ir.target.value)))},gt=function(){var ir=(0,m.Z)(x().mark(function dr(br){var hr,Ir,wr,sr,fr,pr,jr;return x().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:if(br.preventDefault(),nr(!0),hr=[],Ir=!1,Tr.forEach(function(Mr){var $r="";Mr.name||($r=(0,N.t)("publishDialog.errors.required"),Ir=!0),hr.push(ye(ye({},Mr),{},{error:$r}))}),!Ir){Pr.next=9;break}return Or(hr),nr(!1),Pr.abrupt("return");case 9:return Pr.next=11,ue(Tr);case 11:wr=Pr.sent,sr={type:he.r8.excalidrawLibrary,version:he.Kr.excalidrawLibrary,source:he.pb,libraryItems:Tr},fr=JSON.stringify(sr,null,2),pr=new Blob([fr],{type:"application/json"}),(jr=new FormData).append("excalidrawLib",pr),jr.append("previewImage",wr),jr.append("previewImageType",wr.type),jr.append("title",mr.name),jr.append("authorName",mr.authorName),jr.append("githubHandle",mr.githubHandle),jr.append("name",mr.name),jr.append("description",mr.description),jr.append("twitterHandle",mr.twitterHandle),jr.append("website",mr.website),fetch("".concat("https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries","/submit"),{method:"post",body:jr}).then(function(Mr){return Mr.ok?Mr.json().then(function($r){var fn=$r.url;localStorage.removeItem(ge),yt({url:fn,authorName:mr.authorName,items:Tr})}):Mr.json().catch(function(){throw new Error(Mr.statusText||"something went wrong")}).then(function($r){throw new Error($r.message||Mr.statusText||"something went wrong")})},function(Mr){console.error(Mr),Ct(Mr),nr(!1)}).catch(function(Mr){console.error(Mr),Ct(Mr),nr(!1)});case 27:case"end":return Pr.stop()}},dr)}));return function(dr){return ir.apply(this,arguments)}}(),wt=(0,c.useCallback)(function(){Bt(Tr),function(ir){try{localStorage.setItem(ge,JSON.stringify(ir))}catch(dr){console.error(dr)}}(mr),mt()},[Tr,mt,Bt,mr]),Ut=!!pt.length,ar=pt.some(function(ir){return ir.status==="published"});return(0,G.jsx)(l.V,{onCloseRequest:wt,title:(0,N.t)("publishDialog.title"),className:"publish-library",children:Ut?(0,G.jsxs)("form",{onSubmit:gt,children:[(0,G.jsx)("div",{className:"publish-library-note",children:(0,G.jsx)(A.Z,{i18nKey:"publishDialog.noteDescription",link:function(ir){return(0,G.jsx)("a",{href:"https://libraries.excalidraw.com",target:"_blank",rel:"noopener noreferrer",children:ir})}})}),(0,G.jsx)("span",{className:"publish-library-note",children:(0,G.jsx)(A.Z,{i18nKey:"publishDialog.noteGuidelines",link:function(ir){return(0,G.jsx)("a",{href:"https://github.com/excalidraw/excalidraw-libraries#guidelines",target:"_blank",rel:"noopener noreferrer",children:ir})}})}),(0,G.jsx)("div",{className:"publish-library-note",children:(0,N.t)("publishDialog.noteItems")}),ar&&(0,G.jsx)("span",{className:"publish-library-note publish-library-warning",children:(0,N.t)("publishDialog.republishWarning")}),(Rt=[],Tr.forEach(function(ir,dr){Rt.push((0,G.jsx)("div",{className:"single-library-item-wrapper",children:(0,G.jsx)(se,{libItem:ir,appState:ht,index:dr,onChange:function(br,hr){var Ir=Tr.slice();Ir[hr].name=br,Or(Ir)},onRemove:zt})},dr))}),(0,G.jsx)("div",{className:"selected-library-items",children:Rt})),(0,G.jsxs)("div",{className:"publish-library__fields",children:[(0,G.jsxs)("label",{children:[(0,G.jsxs)("div",{children:[(0,G.jsx)("span",{children:(0,N.t)("publishDialog.libraryName")}),(0,G.jsx)("span",{"aria-hidden":"true",className:"required",children:"*"})]}),(0,G.jsx)("input",{type:"text",name:"name",required:!0,value:mr.name,onChange:dt,placeholder:(0,N.t)("publishDialog.placeholder.libraryName")})]}),(0,G.jsxs)("label",{style:{alignItems:"flex-start"},children:[(0,G.jsxs)("div",{children:[(0,G.jsx)("span",{children:(0,N.t)("publishDialog.libraryDesc")}),(0,G.jsx)("span",{"aria-hidden":"true",className:"required",children:"*"})]}),(0,G.jsx)("textarea",{name:"description",rows:4,required:!0,value:mr.description,onChange:dt,placeholder:(0,N.t)("publishDialog.placeholder.libraryDesc")})]}),(0,G.jsxs)("label",{children:[(0,G.jsxs)("div",{children:[(0,G.jsx)("span",{children:(0,N.t)("publishDialog.authorName")}),(0,G.jsx)("span",{"aria-hidden":"true",className:"required",children:"*"})]}),(0,G.jsx)("input",{type:"text",name:"authorName",required:!0,value:mr.authorName,onChange:dt,placeholder:(0,N.t)("publishDialog.placeholder.authorName")})]}),(0,G.jsxs)("label",{children:[(0,G.jsx)("span",{children:(0,N.t)("publishDialog.githubUsername")}),(0,G.jsx)("input",{type:"text",name:"githubHandle",value:mr.githubHandle,onChange:dt,placeholder:(0,N.t)("publishDialog.placeholder.githubHandle")})]}),(0,G.jsxs)("label",{children:[(0,G.jsx)("span",{children:(0,N.t)("publishDialog.twitterUsername")}),(0,G.jsx)("input",{type:"text",name:"twitterHandle",value:mr.twitterHandle,onChange:dt,placeholder:(0,N.t)("publishDialog.placeholder.twitterHandle")})]}),(0,G.jsxs)("label",{children:[(0,G.jsx)("span",{children:(0,N.t)("publishDialog.website")}),(0,G.jsx)("input",{type:"text",name:"website",pattern:"https?://.+",title:(0,N.t)("publishDialog.errors.website"),value:mr.website,onChange:dt,placeholder:(0,N.t)("publishDialog.placeholder.website")})]}),(0,G.jsx)("span",{className:"publish-library-note",children:(0,G.jsx)(A.Z,{i18nKey:"publishDialog.noteLicense",link:function(ir){return(0,G.jsx)("a",{href:"https://github.com/excalidraw/excalidraw-libraries/blob/main/LICENSE",target:"_blank",rel:"noopener noreferrer",children:ir})}})})]}),(0,G.jsxs)("div",{className:"publish-library__buttons",children:[(0,G.jsx)(L.Z,{label:(0,N.t)("buttons.cancel"),onClick:wt,"data-testid":"cancel-clear-canvas-button"}),(0,G.jsx)(L.Z,{type:"submit",label:(0,N.t)("buttons.submit"),actionType:"primary",isLoading:Tt})]})]}):(0,G.jsx)("p",{style:{padding:"1em",textAlign:"center",fontWeight:500},children:(0,N.t)("publishDialog.atleastOneLibItem")})})},i=e(7104),s=e(100),O=e(5832),z=function(ot,mt){return ot.filter(function(pt){return mt.includes(pt.id)})},K=function(ot){var mt,pt,ht=ot.setAppState,yt=ot.selectedItems,Ct=ot.library,Bt=ot.onRemoveFromLibrary,zt=ot.resetLibrary,tr=ot.onSelectItems,cr=ot.appState,mr=ot.className,Ft=(0,n.KO)(Z.rF,b.yE),xt=(0,v.Z)(Ft,1)[0],At=(0,n.KO)(Et,b.yE),Tt=(0,v.Z)(At,2),nr=Tt[0],yr=Tt[1],kr=(0,c.useState)(!1),Tr=(0,v.Z)(kr,2),Or=Tr[0],Rt=Tr[1],dt=!!yt.length,gt=dt?xt.libraryItems.filter(function(jr){return yt.includes(jr.id)}):xt.libraryItems,wt=dt?(0,N.t)("buttons.remove"):(0,N.t)("buttons.resetLibrary"),Ut=(0,c.useState)(!1),ar=(0,v.Z)(Ut,2),ir=ar[0],dr=ar[1],br=(0,c.useState)(null),hr=(0,v.Z)(br,2),Ir=hr[0],wr=hr[1],sr=(0,c.useCallback)(function(){return(0,G.jsxs)(l.V,{onCloseRequest:function(){return wr(null)},title:(0,N.t)("publishSuccessDialog.title"),className:"publish-library-success",size:"small",children:[(0,G.jsx)("p",{children:(0,G.jsx)(A.Z,{i18nKey:"publishSuccessDialog.content",authorName:Ir.authorName,link:function(jr){return(0,G.jsx)("a",{href:Ir?.url,target:"_blank",rel:"noopener noreferrer",children:jr})}})}),(0,G.jsx)(d.V,{type:"button",title:(0,N.t)("buttons.close"),"aria-label":(0,N.t)("buttons.close"),label:(0,N.t)("buttons.close"),onClick:function(){return wr(null)},"data-testid":"publish-library-success-close",className:"publish-library-success-close"})]})},[wr,Ir]),fr=function(){var jr=(0,m.Z)(x().mark(function Pr(){return x().wrap(function(Mr){for(;;)switch(Mr.prev=Mr.next){case 0:return Mr.prev=0,Mr.next=3,Ct.updateLibrary({libraryItems:(0,r.I$)({description:"Excalidraw library files"}),merge:!0,openLibraryMenu:!0});case 3:Mr.next=11;break;case 5:if(Mr.prev=5,Mr.t0=Mr.catch(0),(Mr.t0===null||Mr.t0===void 0?void 0:Mr.t0.name)!=="AbortError"){Mr.next=10;break}return console.warn(Mr.t0),Mr.abrupt("return");case 10:ht({errorMessage:(0,N.t)("errors.importLibraryError")});case 11:case"end":return Mr.stop()}},Pr,null,[[0,5]])}));return function(){return jr.apply(this,arguments)}}(),pr=function(){var jr=(0,m.Z)(x().mark(function Pr(){var Mr;return x().wrap(function($r){for(;;)switch($r.prev=$r.next){case 0:if(!dt){$r.next=4;break}$r.t0=gt,$r.next=7;break;case 4:return $r.next=6,Ct.getLatestLibrary();case 6:$r.t0=$r.sent;case 7:Mr=$r.t0,(0,S.t1)(Mr).catch(J.FG).catch(function(fn){ht({errorMessage:fn.message})});case 9:case"end":return $r.stop()}},Pr)}));return function(){return jr.apply(this,arguments)}}();return(0,G.jsxs)("div",{className:(0,H.Z)("library-menu-dropdown-container",mr),children:[(0,G.jsxs)(i.Z,{open:nr,children:[(0,G.jsx)(i.Z.Trigger,{onToggle:function(){return yr(!nr)},children:h.YA}),(0,G.jsxs)(i.Z.Content,{onClickOutside:function(){return yr(!1)},onSelect:function(){return yr(!1)},className:"library-menu",children:[!dt&&(0,G.jsx)(i.Z.Item,{onSelect:fr,icon:h.Tl,"data-testid":"lib-dropdown--load",children:(0,N.t)("buttons.load")}),!!gt.length&&(0,G.jsx)(i.Z.Item,{onSelect:pr,icon:h.Hy,"data-testid":"lib-dropdown--export",children:(0,N.t)("buttons.export")}),!!gt.length&&(0,G.jsx)(i.Z.Item,{onSelect:function(){return Rt(!0)},icon:h.XH,children:wt}),dt&&(0,G.jsx)(i.Z.Item,{icon:h.Nw,onSelect:function(){return dr(!0)},"data-testid":"lib-dropdown--remove",children:(0,N.t)("buttons.publishLibrary")})]})]}),yt.length>0&&(0,G.jsx)("div",{className:"library-actions-counter",children:yt.length}),Or&&(mt=yt.length?(0,N.t)("alerts.removeItemsFromsLibrary",{count:yt.length}):(0,N.t)("alerts.resetLibrary"),pt=yt.length?(0,N.t)("confirmDialog.removeItemsFromLib"):(0,N.t)("confirmDialog.resetLibrary"),(0,G.jsx)(p.Z,{onConfirm:function(){yt.length?Bt():zt(),Rt(!1)},onCancel:function(){Rt(!1)},title:pt,children:(0,G.jsx)("p",{children:mt})})),ir&&(0,G.jsx)(j,{onClose:function(){return dr(!1)},libraryItems:z(xt.libraryItems,yt),appState:cr,onSuccess:function(jr){return function(Pr,Mr){dr(!1),wr({url:Pr.url,authorName:Pr.authorName});var $r=Mr.slice();$r.forEach(function(fn){yt.includes(fn.id)&&(fn.status="published")}),Ct.setLibrary($r)}(jr,xt.libraryItems)},onError:function(jr){return window.alert(jr)},updateItemsInStorage:function(){return Ct.setLibrary(xt.libraryItems)},onRemove:function(jr){return tr(yt.filter(function(Pr){return Pr!==jr}))}}),Ir&&sr()]})},$=function(ot){var mt=ot.selectedItems,pt=ot.onSelectItems,ht=ot.className,yt=(0,y.qD)().library,Ct=(0,O.yT)(),Bt=Ct.clearLibraryCache,zt=Ct.deleteItemsFromLibraryCache,tr=(0,s.I)(),cr=(0,y.n9)(),mr=(0,n.KO)(Z.rF,b.yE),Ft=(0,v.Z)(mr,1)[0],xt=function(){var At=(0,m.Z)(x().mark(function Tt(nr){var yr;return x().wrap(function(kr){for(;;)switch(kr.prev=kr.next){case 0:yr=nr.filter(function(Tr){return!mt.includes(Tr.id)}),yt.setLibrary(yr).catch(function(){cr({errorMessage:(0,N.t)("alerts.errorRemovingFromLibrary")})}),zt(mt),pt([]);case 4:case"end":return kr.stop()}},Tt)}));return function(Tt){return At.apply(this,arguments)}}();return(0,G.jsx)(K,{appState:tr,setAppState:cr,selectedItems:mt,onSelectItems:pt,library:yt,onRemoveFromLibrary:function(){return xt(Ft.libraryItems)},resetLibrary:function(){yt.resetLibrary(),Bt()},className:ht})},Q=e(5644),ae={};ae.styleTagTransform=we(),ae.setAttributes=oe(),ae.insert=te().bind(null,"head"),ae.domAPI=F(),ae.insertStyleElement=V(),E()(Q.Z,ae),Q.Z&&Q.Z.locals&&Q.Z.locals;var be=e(6238),Ce=(0,c.memo)(function(ot){var mt=ot.id,pt=ot.elements,ht=ot.isPending,yt=ot.onClick,Ct=ot.selected,Bt=ot.onToggle,zt=ot.onDrag,tr=ot.svgCache,cr=(0,c.useRef)(null),mr=(0,O.mF)(mt,pt,tr);(0,c.useEffect)(function(){var kr=cr.current;if(kr)return mr&&(kr.innerHTML=mr.outerHTML),function(){kr.innerHTML=""}},[mr]);var Ft=(0,c.useState)(!1),xt=(0,v.Z)(Ft,2),At=xt[0],Tt=xt[1],nr=(0,y.Fy)().editor.isMobile,yr=ht&&(0,G.jsx)("div",{className:"library-unit__adder",children:h.pO});return(0,G.jsxs)("div",{className:(0,H.Z)("library-unit",{"library-unit__active":pt,"library-unit--hover":pt&&At,"library-unit--selected":Ct,"library-unit--skeleton":!mr}),onMouseEnter:function(){return Tt(!0)},onMouseLeave:function(){return Tt(!1)},children:[(0,G.jsx)("div",{className:(0,H.Z)("library-unit__dragger",{"library-unit__pulse":!!ht}),ref:cr,draggable:!!pt,onClick:pt||ht?function(kr){mt&&kr.shiftKey?Bt(mt,kr):yt(mt)}:void 0,onDragStart:function(kr){mt?(Tt(!1),zt(mt,kr)):kr.preventDefault()}}),yr,mt&&pt&&(At||nr||Ct)&&(0,G.jsx)(be.o,{checked:Ct,onChange:function(kr,Tr){return Bt(mt,Tr)},className:"library-unit__checkbox"})]})}),Ze=function(){return(0,G.jsx)("div",{className:"library-unit library-unit--skeleton"})},Be=f().useTransition||function(){return[!1,(0,c.useCallback)(function(ot){return ot()},[])]},Te=function(ot){var mt=ot.children;return(0,G.jsx)("div",{className:"library-menu-items-container__grid",children:mt})},He=(0,c.memo)(function(ot){var mt=ot.items,pt=ot.onItemSelectToggle,ht=ot.onItemDrag,yt=ot.isItemSelected,Ct=ot.onClick,Bt=ot.svgCache,zt=ot.itemsRenderedPerBatch,tr=Be(),cr=(0,v.Z)(tr,2)[1],mr=(0,c.useState)(0),Ft=(0,v.Z)(mr,2),xt=Ft[0],At=Ft[1];return(0,c.useEffect)(function(){xt<mt.length&&cr(function(){At(xt+zt)})},[xt,mt.length,cr,zt]),(0,G.jsx)(G.Fragment,{children:mt.map(function(Tt,nr){var yr;return nr<xt?(0,G.jsx)(Ce,{elements:Tt?.elements,isPending:!(Tt!=null&&Tt.id||Tt==null||!Tt.elements),onClick:Ct,svgCache:Bt,id:Tt?.id,selected:yt(Tt.id),onToggle:pt,onDrag:ht},(yr=Tt?.id)!==null&&yr!==void 0?yr:nr):(0,G.jsx)(Ze,{},nr)})})}),Ve=e(200),Je=e.n(Ve),Me=(0,n.cn)(0),me=e(6440),Se={};Se.styleTagTransform=we(),Se.setAttributes=oe(),Se.insert=te().bind(null,"head"),Se.domAPI=F(),Se.insertStyleElement=V(),E()(me.Z,Se),me.Z&&me.Z.locals&&me.Z.locals;function Ne(ot,mt){var pt=Object.keys(ot);if(Object.getOwnPropertySymbols){var ht=Object.getOwnPropertySymbols(ot);mt&&(ht=ht.filter(function(yt){return Object.getOwnPropertyDescriptor(ot,yt).enumerable})),pt.push.apply(pt,ht)}return pt}function Ye(ot){for(var mt=1;mt<arguments.length;mt++){var pt=arguments[mt]!=null?arguments[mt]:{};mt%2?Ne(Object(pt),!0).forEach(function(ht){(0,k.Z)(ot,ht,pt[ht])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ot,Object.getOwnPropertyDescriptors(pt)):Ne(Object(pt)).forEach(function(ht){Object.defineProperty(ot,ht,Object.getOwnPropertyDescriptor(pt,ht))})}return ot}function Qe(ot){var mt=ot.isLoading,pt=ot.libraryItems,ht=ot.onAddToLibrary,yt=ot.onInsertLibraryItems,Ct=ot.pendingElements,Bt=ot.theme,zt=ot.id,tr=ot.libraryReturnUrl,cr=ot.onSelectItems,mr=ot.selectedItems,Ft=(0,c.useRef)(null),xt=function(hr){var Ir=(0,n.KO)(Me),wr=(0,v.Z)(Ir,2),sr=wr[0],fr=wr[1];return(0,c.useEffect)(function(){var pr=hr.current;if(pr){var jr=Je()(function(){var Pr=pr.scrollTop;fr(Pr)},200);return pr.addEventListener("scroll",jr),function(){jr.cancel(),pr.removeEventListener("scroll",jr)}}},[hr,fr]),sr}(Ft);(0,c.useEffect)(function(){var hr;xt>0&&((hr=Ft.current)===null||hr===void 0||hr.scrollTo(0,xt))},[]);var At=(0,O.yT)().svgCache,Tt=(0,c.useMemo)(function(){return pt.filter(function(hr){return hr.status!=="published"})},[pt]),nr=(0,c.useMemo)(function(){return pt.filter(function(hr){return hr.status==="published"})},[pt]),yr=!pt.length&&!Ct.length,kr=!Ct.length&&!Tt.length&&!nr.length,Tr=(0,c.useState)(null),Or=(0,v.Z)(Tr,2),Rt=Or[0],dt=Or[1],gt=(0,c.useCallback)(function(hr,Ir){var wr=!mr.includes(hr),sr=[].concat((0,w.Z)(Tt),(0,w.Z)(nr));if(wr){if(Ir.shiftKey&&Rt){var fr=sr.findIndex(function(Mr){return Mr.id===Rt}),pr=sr.findIndex(function(Mr){return Mr.id===hr});if(fr===-1||pr===-1)return void cr([].concat((0,w.Z)(mr),[hr]));var jr=(0,J.xn)(mr),Pr=sr.reduce(function(Mr,$r,fn){return(fn>=fr&&fn<=pr||jr.has($r.id))&&Mr.push($r.id),Mr},[]);cr(Pr)}else cr([].concat((0,w.Z)(mr),[hr]));dt(hr)}else dt(null),cr(mr.filter(function(Mr){return Mr!==hr}))},[Rt,cr,nr,mr,Tt]),wt=(0,c.useCallback)(function(hr){return(mr.includes(hr)?pt.filter(function(Ir){return mr.includes(Ir.id)}):pt.filter(function(Ir){return Ir.id===hr})).map(function(Ir){return Ye(Ye({},Ir),{},{elements:(0,le._N)(Ir.elements,{randomizeSeed:!0})})})},[pt,mr]),Ut=(0,c.useCallback)(function(hr,Ir){Ir.dataTransfer.setData(he.LO.excalidrawlib,(0,S.NI)(wt(hr)))},[wt]),ar=(0,c.useCallback)(function(hr){return!!hr&&mr.includes(hr)},[mr]),ir=(0,c.useCallback)(function(){ht(Ct)},[Ct,ht]),dr=(0,c.useCallback)(function(hr){hr&&yt(wt(hr))},[wt,yt]),br=At.size>=pt.length?64:17;return(0,G.jsxs)("div",{className:"library-menu-items-container",style:Ct.length||Tt.length||nr.length?{justifyContent:"flex-start"}:{borderBottom:0},children:[!kr&&(0,G.jsx)($,{selectedItems:mr,onSelectItems:cr,className:"library-menu-dropdown-container--in-heading"}),(0,G.jsxs)(ce.Z.Col,{className:"library-menu-items-container__items",align:"start",gap:1,style:{flex:nr.length>0?1:"0 1 auto",marginBottom:0},ref:Ft,children:[(0,G.jsxs)(G.Fragment,{children:[!kr&&(0,G.jsx)("div",{className:"library-menu-items-container__header",children:(0,N.t)("labels.personalLib")}),mt&&(0,G.jsx)("div",{style:{position:"absolute",top:"var(--container-padding-y)",right:"var(--container-padding-x)",transform:"translateY(50%)"},children:(0,G.jsx)(ve.Z,{})}),Ct.length||Tt.length?(0,G.jsxs)(Te,{children:[Ct.length>0&&(0,G.jsx)(He,{itemsRenderedPerBatch:br,items:[{id:null,elements:Ct}],onItemSelectToggle:gt,onItemDrag:Ut,onClick:ir,isItemSelected:ar,svgCache:At}),(0,G.jsx)(He,{itemsRenderedPerBatch:br,items:Tt,onItemSelectToggle:gt,onItemDrag:Ut,onClick:dr,isItemSelected:ar,svgCache:At})]}):(0,G.jsxs)("div",{className:"library-menu-items__no-items",children:[(0,G.jsx)("div",{className:"library-menu-items__no-items__label",children:(0,N.t)("library.noItems")}),(0,G.jsx)("div",{className:"library-menu-items__no-items__hint",children:nr.length>0?(0,N.t)("library.hint_emptyPrivateLibrary"):(0,N.t)("library.hint_emptyLibrary")})]})]}),(0,G.jsxs)(G.Fragment,{children:[(nr.length>0||Ct.length>0||Tt.length>0)&&(0,G.jsx)("div",{className:"library-menu-items-container__header library-menu-items-container__header--excal",children:(0,N.t)("labels.excalidrawLib")}),nr.length>0?(0,G.jsx)(Te,{children:(0,G.jsx)(He,{itemsRenderedPerBatch:br,items:nr,onItemSelectToggle:gt,onItemDrag:Ut,onClick:dr,isItemSelected:ar,svgCache:At})}):Tt.length>0?(0,G.jsx)("div",{style:{margin:"1rem 0",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",fontSize:".9rem"},children:(0,N.t)("library.noItems")}):null]}),yr&&(0,G.jsx)(M,{style:{padding:"16px 0",width:"100%"},id:zt,libraryReturnUrl:tr,theme:Bt,children:(0,G.jsx)($,{selectedItems:mr,onSelectItems:cr})})]})]})}var rt=e(3646),ft=e(4105),at=e(8923),ut={};ut.styleTagTransform=we(),ut.setAttributes=oe(),ut.insert=te().bind(null,"head"),ut.domAPI=F(),ut.insertStyleElement=V(),E()(at.Z,ut),at.Z&&at.Z.locals&&at.Z.locals;function Ot(ot,mt){var pt=typeof Symbol<"u"&&ot[Symbol.iterator]||ot["@@iterator"];if(!pt){if(Array.isArray(ot)||(pt=function(tr,cr){if(tr){if(typeof tr=="string")return Pt(tr,cr);var mr=Object.prototype.toString.call(tr).slice(8,-1);if(mr==="Object"&&tr.constructor&&(mr=tr.constructor.name),mr==="Map"||mr==="Set")return Array.from(tr);if(mr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(mr))return Pt(tr,cr)}}(ot))||mt&&ot&&typeof ot.length=="number"){pt&&(ot=pt);var ht=0,yt=function(){};return{s:yt,n:function(){return ht>=ot.length?{done:!0}:{done:!1,value:ot[ht++]}},e:function(tr){throw tr},f:yt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ct,Bt=!0,zt=!1;return{s:function(){pt=pt.call(ot)},n:function(){var tr=pt.next();return Bt=tr.done,tr},e:function(tr){zt=!0,Ct=tr},f:function(){try{Bt||pt.return==null||pt.return()}finally{if(zt)throw Ct}}}}function Pt(ot,mt){(mt==null||mt>ot.length)&&(mt=ot.length);for(var pt=0,ht=new Array(mt);pt<mt;pt++)ht[pt]=ot[pt];return ht}var Et=(0,n.cn)(!1),Mt=function(ot){var mt=ot.children;return(0,G.jsx)("div",{className:"layer-ui__library",children:mt})},Yt=function(ot){var mt=ot.onInsertLibraryItems,pt=ot.pendingElements,ht=ot.onAddToLibrary,yt=ot.setAppState,Ct=ot.libraryReturnUrl,Bt=ot.library,zt=ot.id,tr=ot.theme,cr=ot.selectedItems,mr=ot.onSelectItems,Ft=(0,n.KO)(Z.rF,b.yE),xt=(0,v.Z)(Ft,1)[0],At=(0,c.useCallback)(function(yr){var kr=function(){var Tr=(0,m.Z)(x().mark(function Or(Rt,dt){var gt,wt,Ut,ar,ir;return x().wrap(function(dr){for(;;)switch(dr.prev=dr.next){case 0:(0,rt.L)("element","addToLibrary","ui"),gt=Ot(he.PR),dr.prev=2,Ut=function(){var br=wt.value;if(Rt.some(function(hr){return hr.type===br}))return{v:yt({errorMessage:(0,N.t)("errors.libraryElementTypeError.".concat(br))})}},gt.s();case 5:if((wt=gt.n()).done){dr.next=11;break}if(ar=Ut(),(0,P.Z)(ar)!=="object"){dr.next=9;break}return dr.abrupt("return",ar.v);case 9:dr.next=5;break;case 11:dr.next=16;break;case 13:dr.prev=13,dr.t0=dr.catch(2),gt.e(dr.t0);case 16:return dr.prev=16,gt.f(),dr.finish(16);case 19:ir=[{status:"unpublished",elements:Rt,id:(0,W.kb)(),created:Date.now()}].concat((0,w.Z)(dt)),ht(),Bt.setLibrary(ir).catch(function(){yt({errorMessage:(0,N.t)("alerts.errorAddingToLibrary")})});case 22:case"end":return dr.stop()}},Or,null,[[2,13,16,19]])}));return function(Or,Rt){return Tr.apply(this,arguments)}}();kr(yr,xt.libraryItems)},[ht,Bt,yt,xt.libraryItems]),Tt=(0,c.useMemo)(function(){return xt.libraryItems},[xt]);if(xt.status==="loading"&&!xt.isInitialized)return(0,G.jsx)(Mt,{children:(0,G.jsx)("div",{className:"layer-ui__library-message",children:(0,G.jsxs)("div",{children:[(0,G.jsx)(ve.Z,{size:"2em"}),(0,G.jsx)("span",{children:(0,N.t)("labels.libraryLoadingMessage")})]})})});var nr=xt.libraryItems.length>0||pt.length>0;return(0,G.jsxs)(Mt,{children:[(0,G.jsx)(Qe,{isLoading:xt.status==="loading",libraryItems:Tt,onAddToLibrary:At,onInsertLibraryItems:mt,pendingElements:pt,id:zt,libraryReturnUrl:Ct,theme:tr,onSelectItems:mr,selectedItems:cr}),nr&&(0,G.jsx)(M,{className:"library-menu-control-buttons--at-bottom",style:{padding:"16px 12px 0 12px"},id:zt,libraryReturnUrl:Ct,theme:tr})]})},lt=function(){var ot=(0,y.qD)(),mt=ot.library,pt=ot.id,ht=ot.onInsertElements,yt=(0,y.hY)(),Ct=(0,s.I)(),Bt=(0,y.n9)(),zt=(0,y.bd)(),tr=(0,c.useState)([]),cr=(0,v.Z)(tr,2),mr=cr[0],Ft=cr[1],xt=(0,c.useMemo)(function(){return mt},[mt]),At=function(yr,kr){var Tr=function(){return(0,ft.eD)(kr,yr,{includeBoundTextElement:!0,includeElementsInFrames:!0})},Or=(0,c.useRef)(Tr()),Rt=(0,c.useRef)(yr),dt=(0,c.useRef)(kr);return(0,J.w8)(yr.selectedElementIds,Rt.current.selectedElementIds)&&(0,J.w8)(kr,dt.current)||(Or.current=Tr(),Rt.current=yr,dt.current=kr),Or.current}(Ct,zt),Tt=(0,c.useCallback)(function(yr){ht((0,Z.WV)(yr))},[ht]),nr=(0,c.useCallback)(function(){Bt({selectedElementIds:{},selectedGroupIds:{},activeEmbeddable:null})},[Bt]);return(0,G.jsx)(Yt,{pendingElements:At,onInsertLibraryItems:Tt,onAddToLibrary:nr,setAppState:Bt,libraryReturnUrl:yt.libraryReturnUrl,library:xt,id:pt,theme:Ct.theme,selectedItems:mr,onSelectItems:Ft})}},7165:function(fe,t,e){e.d(t,{z:function(){return f}});var P=e(2577),w=e(8227),m=e(9787),v=e(8531),I=e(45),x=e(9937),c=e(1020),f=function(Z){var N=Z.delay,W=Z.theme,k=(0,m.useState)(!!N),S=(0,P.Z)(k,2),J=S[0],ce=S[1];return(0,m.useEffect)(function(){if(N){var he=setTimeout(function(){ce(!1)},N);return function(){return clearTimeout(he)}}},[N]),J?null:(0,c.jsxs)("div",{className:(0,I.Z)("LoadingMessage",{"LoadingMessage--dark":W===x.C6.DARK}),children:[(0,c.jsx)("div",{children:(0,c.jsx)(v.Z,{})}),(0,c.jsx)("div",{className:"LoadingMessage-text",children:(0,w.t)("labels.loadingScene")})]})}},7827:function(fe,t,e){e.d(t,{K:function(){return x},_:function(){return c}});var P=e(8950),w=e(2975),m=e.n(w),v=e(3607),I=e(453),x=(0,v.cn)({active:!1});function c(Z){return f.apply(this,arguments)}function f(){return(f=(0,P.Z)(m().mark(function Z(N){var W,k,S,J;return m().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return W=N.title,k=N.description,S=N.actionLabel,J=N.color,ce.abrupt("return",new Promise(function(he){I.e_.set(x,{active:!0,onConfirm:function(){return he(!0)},onClose:function(){return he(!1)},onReject:function(){return he(!1)},title:W,description:k,actionLabel:S,color:J})}));case 2:case"end":return ce.stop()}},Z)}))).apply(this,arguments)}},3204:function(fe,t,e){e.d(t,{J:function(){return U}});var P=e(9787),w=e(3379),m=e.n(w),v=e(7795),I=e.n(v),x=e(569),c=e.n(x),f=e(3565),Z=e.n(f),N=e(9216),W=e.n(N),k=e(4589),S=e.n(k),J=e(9935),ce={};ce.styleTagTransform=S(),ce.setAttributes=Z(),ce.insert=c().bind(null,"head"),ce.domAPI=I(),ce.insertStyleElement=W(),m()(J.Z,ce),J.Z&&J.Z.locals&&J.Z.locals;var he=e(5156),ve=e(9827),le=e(5491),G=e(1020),U=function(H){var M=H.children,A=H.left,b=H.top,y=H.onCloseRequest,h=H.fitInViewport,d=h!==void 0&&h,r=H.offsetLeft,n=r===void 0?0:r,p=H.offsetTop,a=p===void 0?0:p,l=H.viewportWidth,u=l===void 0?window.innerWidth:l,C=H.viewportHeight,L=C===void 0?window.innerHeight:C,_=(0,P.useRef)(null);(0,P.useEffect)(function(){var D=_.current;if(D){D.contains(document.activeElement)||D.focus();var F=function(ee){if(ee.key===le.tW.TAB){var te=(0,ve.xp)(D),re=document.activeElement,oe=te.findIndex(function(we){return we===re});if(re===D){var Y;ee.shiftKey?(Y=te[te.length-1])===null||Y===void 0||Y.focus():te[0].focus(),ee.preventDefault(),ee.stopImmediatePropagation()}else if(oe===0&&ee.shiftKey){var V;(V=te[te.length-1])===null||V===void 0||V.focus(),ee.preventDefault(),ee.stopImmediatePropagation()}else if(oe===te.length-1&&!ee.shiftKey){var ie;(ie=te[0])===null||ie===void 0||ie.focus(),ee.preventDefault(),ee.stopImmediatePropagation()}}};return D.addEventListener("keydown",F),function(){return D.removeEventListener("keydown",F)}}},[]);var E=(0,P.useRef)(null);return(0,P.useLayoutEffect)(function(){if(d&&_.current&&b!=null&&A!=null){var D,F,ee=_.current,te=ee.getBoundingClientRect(),re=te.width,oe=te.height;if(((D=E.current)===null||D===void 0?void 0:D.top)===b&&((F=E.current)===null||F===void 0?void 0:F.left)===A)return;E.current={top:b,left:A},re>=u?(ee.style.width="".concat(u,"px"),ee.style.left="0px",ee.style.overflowX="scroll"):ee.style.left="".concat(A+re-n>u?u-re-10:A,"px"),oe>=L?(ee.style.height="".concat(L-20,"px"),ee.style.top="10px",ee.style.overflowY="scroll"):ee.style.top="".concat(b+oe-a>L?L-oe:b,"px")}},[b,A,d,u,L,n,a]),(0,P.useEffect)(function(){if(y){var D=function(F){var ee;(ee=_.current)!==null&&ee!==void 0&&ee.contains(F.target)||(0,he.unstable_batchedUpdates)(function(){return y(F)})};return document.addEventListener("pointerdown",D,!1),function(){return document.removeEventListener("pointerdown",D,!1)}}},[y]),(0,G.jsx)("div",{className:"popover",ref:_,tabIndex:-1,children:M})}},5902:function(fe,t,e){e.d(t,{YE:function(){return Rt},t6:function(){return Tr}});var P=e(2577),w=e(7169),m=e(2726),v=e(9787),I=e.n(v),x=e(1404),c=e(3607),f=e(453),Z=I().createContext({}),N=e(45),W=e(8227),k=e(8242),S=e(8935),J=e(8925),ce=e(8806),he=e(1020),ve=function(dt){var gt=dt.children,wt=dt.className,Ut=(0,k.Fy)(),ar=(0,v.useContext)(Z),ir=!(!Ut.editor.canFitSidebar||!ar.shouldRenderDockButton);return(0,he.jsxs)("div",{className:(0,N.Z)("sidebar__header",wt),"data-testid":"sidebar-header",children:[gt,(0,he.jsxs)("div",{className:"sidebar__header__buttons",children:[ir&&(0,he.jsx)(J.u,{label:(0,W.t)("labels.sidebarLock"),children:(0,he.jsx)(ce.z,{onSelect:function(){var dr;return(dr=ar.onDock)===null||dr===void 0?void 0:dr.call(ar,!ar.docked)},selected:!!ar.docked,className:"sidebar__dock","data-testid":"sidebar-dock","aria-label":(0,W.t)("labels.sidebarLock"),children:S.qQ})}),(0,he.jsx)(ce.z,{"data-testid":"sidebar-close",className:"sidebar__close",onSelect:ar.onCloseRequest,"aria-label":(0,W.t)("buttons.close"),children:S.Tw})]})]})};ve.displayName="SidebarHeader";var le=e(9827),G=e(5491),U=e(9937),H=e(100),M=e(3379),A=e.n(M),b=e(7795),y=e.n(b),h=e(569),d=e.n(h),r=e(3565),n=e.n(r),p=e(9216),a=e.n(p),l=e(4589),u=e.n(l),C=e(7051),L={};L.styleTagTransform=u(),L.setAttributes=n(),L.insert=d().bind(null,"head"),L.domAPI=y(),L.insertStyleElement=a(),A()(C.Z,L),C.Z&&C.Z.locals&&C.Z.locals;var _=function(dt){var gt,wt=dt.name,Ut=dt.tab,ar=dt.icon,ir=dt.title,dr=dt.children,br=dt.onToggle,hr=dt.className,Ir=dt.style,wr=(0,k.n9)(),sr=(0,H.I)();return(0,he.jsxs)("label",{title:ir,children:[(0,he.jsx)("input",{className:"ToolIcon_type_checkbox",type:"checkbox",onChange:function(fr){var pr;(pr=document.querySelector(".layer-ui__wrapper"))===null||pr===void 0||pr.classList.remove("animate");var jr=fr.target.checked;wr({openSidebar:jr?{name:wt,tab:Ut}:null}),br?.(jr)},checked:((gt=sr.openSidebar)===null||gt===void 0?void 0:gt.name)===wt,"aria-label":ir,"aria-keyshortcuts":"0"}),(0,he.jsxs)("div",{className:(0,N.Z)("sidebar-trigger",hr),style:Ir,children:[ar&&(0,he.jsx)("div",{children:ar}),dr&&(0,he.jsx)("div",{className:"sidebar-trigger__label",children:dr})]})]})};_.displayName="SidebarTrigger";var E=e(11),D=e(7217),F=e(1267),ee=e(9335),te=e(4801),re=e(5622),oe=e(3119),Y=e(3060),V=e(2673);const ie=(0,v.createContext)(void 0);function we(dt){const gt=(0,v.useContext)(ie);return dt||gt||"ltr"}const Ae="rovingFocusGroup.onEntryFocus",Re={bubbles:!1,cancelable:!0},je="RovingFocusGroup",[ye,Ee,Oe]=function(dt){const gt=dt+"CollectionProvider",[wt,Ut]=(0,F.b)(gt),[ar,ir]=wt(gt,{collectionRef:{current:null},itemMap:new Map}),dr=fr=>{const{scope:pr,children:jr}=fr,Pr=I().useRef(null),Mr=I().useRef(new Map).current;return I().createElement(ar,{scope:pr,itemMap:Mr,collectionRef:Pr},jr)},br=dt+"CollectionSlot",hr=I().forwardRef((fr,pr)=>{const{scope:jr,children:Pr}=fr,Mr=ir(br,jr),$r=(0,ee.e)(pr,Mr.collectionRef);return I().createElement(te.g7,{ref:$r},Pr)}),Ir=dt+"CollectionItemSlot",wr="data-radix-collection-item",sr=I().forwardRef((fr,pr)=>{const{scope:jr,children:Pr,...Mr}=fr,$r=I().useRef(null),fn=(0,ee.e)(pr,$r),Mn=ir(Ir,jr);return I().useEffect(()=>(Mn.itemMap.set($r,{ref:$r,...Mr}),()=>{Mn.itemMap.delete($r)})),I().createElement(te.g7,{[wr]:"",ref:fn},Pr)});return[{Provider:dr,Slot:hr,ItemSlot:sr},function(fr){const pr=ir(dt+"CollectionConsumer",fr);return I().useCallback(()=>{const jr=pr.collectionRef.current;if(!jr)return[];const Pr=Array.from(jr.querySelectorAll(`[${wr}]`));return Array.from(pr.itemMap.values()).sort((Mr,$r)=>Pr.indexOf(Mr.ref.current)-Pr.indexOf($r.ref.current))},[pr.collectionRef,pr.itemMap])},Ut]}(je),[ge,ue]=(0,F.b)(je,[Oe]),[se,j]=ge(je),i=(0,v.forwardRef)((dt,gt)=>(0,v.createElement)(ye.Provider,{scope:dt.__scopeRovingFocusGroup},(0,v.createElement)(ye.Slot,{scope:dt.__scopeRovingFocusGroup},(0,v.createElement)(s,(0,E.Z)({},dt,{ref:gt}))))),s=(0,v.forwardRef)((dt,gt)=>{const{__scopeRovingFocusGroup:wt,orientation:Ut,loop:ar=!1,dir:ir,currentTabStopId:dr,defaultCurrentTabStopId:br,onCurrentTabStopIdChange:hr,onEntryFocus:Ir,...wr}=dt,sr=(0,v.useRef)(null),fr=(0,ee.e)(gt,sr),pr=we(ir),[jr=null,Pr]=(0,V.T)({prop:dr,defaultProp:br,onChange:hr}),[Mr,$r]=(0,v.useState)(!1),fn=(0,Y.W)(Ir),Mn=Ee(wt),Zn=(0,v.useRef)(!1),[zn,Cn]=(0,v.useState)(0);return(0,v.useEffect)(()=>{const vn=sr.current;if(vn)return vn.addEventListener(Ae,fn),()=>vn.removeEventListener(Ae,fn)},[fn]),(0,v.createElement)(se,{scope:wt,orientation:Ut,dir:pr,loop:ar,currentTabStopId:jr,onItemFocus:(0,v.useCallback)(vn=>Pr(vn),[Pr]),onItemShiftTab:(0,v.useCallback)(()=>$r(!0),[]),onFocusableItemAdd:(0,v.useCallback)(()=>Cn(vn=>vn+1),[]),onFocusableItemRemove:(0,v.useCallback)(()=>Cn(vn=>vn-1),[])},(0,v.createElement)(oe.WV.div,(0,E.Z)({tabIndex:Mr||zn===0?-1:0,"data-orientation":Ut},wr,{ref:fr,style:{outline:"none",...dt.style},onMouseDown:(0,D.M)(dt.onMouseDown,()=>{Zn.current=!0}),onFocus:(0,D.M)(dt.onFocus,vn=>{const Ln=!Zn.current;if(vn.target===vn.currentTarget&&Ln&&!Mr){const We=new CustomEvent(Ae,Re);if(vn.currentTarget.dispatchEvent(We),!We.defaultPrevented){const pe=Mn().filter(_e=>_e.focusable);$([pe.find(_e=>_e.active),pe.find(_e=>_e.id===jr),...pe].filter(Boolean).map(_e=>_e.ref.current))}}Zn.current=!1}),onBlur:(0,D.M)(dt.onBlur,()=>$r(!1))})))}),O="RovingFocusGroupItem",z=(0,v.forwardRef)((dt,gt)=>{const{__scopeRovingFocusGroup:wt,focusable:Ut=!0,active:ar=!1,tabStopId:ir,...dr}=dt,br=(0,re.M)(),hr=ir||br,Ir=j(O,wt),wr=Ir.currentTabStopId===hr,sr=Ee(wt),{onFocusableItemAdd:fr,onFocusableItemRemove:pr}=Ir;return(0,v.useEffect)(()=>{if(Ut)return fr(),()=>pr()},[Ut,fr,pr]),(0,v.createElement)(ye.ItemSlot,{scope:wt,id:hr,focusable:Ut,active:ar},(0,v.createElement)(oe.WV.span,(0,E.Z)({tabIndex:wr?0:-1,"data-orientation":Ir.orientation},dr,{ref:gt,onMouseDown:(0,D.M)(dt.onMouseDown,jr=>{Ut?Ir.onItemFocus(hr):jr.preventDefault()}),onFocus:(0,D.M)(dt.onFocus,()=>Ir.onItemFocus(hr)),onKeyDown:(0,D.M)(dt.onKeyDown,jr=>{if(jr.key==="Tab"&&jr.shiftKey)return void Ir.onItemShiftTab();if(jr.target!==jr.currentTarget)return;const Pr=function(fn,Mn,Zn){const zn=function(Cn,vn){return vn!=="rtl"?Cn:Cn==="ArrowLeft"?"ArrowRight":Cn==="ArrowRight"?"ArrowLeft":Cn}(fn.key,Zn);return Mn==="vertical"&&["ArrowLeft","ArrowRight"].includes(zn)||Mn==="horizontal"&&["ArrowUp","ArrowDown"].includes(zn)?void 0:K[zn]}(jr,Ir.orientation,Ir.dir);if(Pr!==void 0){jr.preventDefault();let fn=sr().filter(Mn=>Mn.focusable).map(Mn=>Mn.ref.current);if(Pr==="last")fn.reverse();else if(Pr==="prev"||Pr==="next"){Pr==="prev"&&fn.reverse();const Mn=fn.indexOf(jr.currentTarget);fn=Ir.loop?($r=Mn+1,(Mr=fn).map((Zn,zn)=>Mr[($r+zn)%Mr.length])):fn.slice(Mn+1)}setTimeout(()=>$(fn))}var Mr,$r})})))}),K={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function $(dt){const gt=document.activeElement;for(const wt of dt)if(wt===gt||(wt.focus(),document.activeElement!==gt))return}const Q=i,ae=z;var be=e(1483);const Ce="Tabs",[Ze,Be]=(0,F.b)(Ce,[ue]),Te=ue(),[He,Ve]=Ze(Ce),Je=(0,v.forwardRef)((dt,gt)=>{const{__scopeTabs:wt,value:Ut,onValueChange:ar,defaultValue:ir,orientation:dr="horizontal",dir:br,activationMode:hr="automatic",...Ir}=dt,wr=we(br),[sr,fr]=(0,V.T)({prop:Ut,onChange:ar,defaultProp:ir});return(0,v.createElement)(He,{scope:wt,baseId:(0,re.M)(),value:sr,onValueChange:fr,orientation:dr,dir:wr,activationMode:hr},(0,v.createElement)(oe.WV.div,(0,E.Z)({dir:wr,"data-orientation":dr},Ir,{ref:gt})))}),Me="TabsList",me=(0,v.forwardRef)((dt,gt)=>{const{__scopeTabs:wt,loop:Ut=!0,...ar}=dt,ir=Ve(Me,wt),dr=Te(wt);return(0,v.createElement)(Q,(0,E.Z)({asChild:!0},dr,{orientation:ir.orientation,dir:ir.dir,loop:Ut}),(0,v.createElement)(oe.WV.div,(0,E.Z)({role:"tablist","aria-orientation":ir.orientation},ar,{ref:gt})))}),Se="TabsTrigger",Ne=(0,v.forwardRef)((dt,gt)=>{const{__scopeTabs:wt,value:Ut,disabled:ar=!1,...ir}=dt,dr=Ve(Se,wt),br=Te(wt),hr=rt(dr.baseId,Ut),Ir=ft(dr.baseId,Ut),wr=Ut===dr.value;return(0,v.createElement)(ae,(0,E.Z)({asChild:!0},br,{focusable:!ar,active:wr}),(0,v.createElement)(oe.WV.button,(0,E.Z)({type:"button",role:"tab","aria-selected":wr,"aria-controls":Ir,"data-state":wr?"active":"inactive","data-disabled":ar?"":void 0,disabled:ar,id:hr},ir,{ref:gt,onMouseDown:(0,D.M)(dt.onMouseDown,sr=>{ar||sr.button!==0||sr.ctrlKey!==!1?sr.preventDefault():dr.onValueChange(Ut)}),onKeyDown:(0,D.M)(dt.onKeyDown,sr=>{[" ","Enter"].includes(sr.key)&&dr.onValueChange(Ut)}),onFocus:(0,D.M)(dt.onFocus,()=>{const sr=dr.activationMode!=="manual";wr||ar||!sr||dr.onValueChange(Ut)})})))}),Ye="TabsContent",Qe=(0,v.forwardRef)((dt,gt)=>{const{__scopeTabs:wt,value:Ut,forceMount:ar,children:ir,...dr}=dt,br=Ve(Ye,wt),hr=rt(br.baseId,Ut),Ir=ft(br.baseId,Ut),wr=Ut===br.value,sr=(0,v.useRef)(wr);return(0,v.useEffect)(()=>{const fr=requestAnimationFrame(()=>sr.current=!1);return()=>cancelAnimationFrame(fr)},[]),(0,v.createElement)(be.z,{present:ar||wr},({present:fr})=>(0,v.createElement)(oe.WV.div,(0,E.Z)({"data-state":wr?"active":"inactive","data-orientation":br.orientation,role:"tabpanel","aria-labelledby":hr,hidden:!fr,id:Ir,tabIndex:0},dr,{ref:gt,style:{...dt.style,animationDuration:sr.current?"0s":void 0}}),fr&&ir))});function rt(dt,gt){return`${dt}-trigger-${gt}`}function ft(dt,gt){return`${dt}-content-${gt}`}const at=Je,ut=me,Ot=Ne,Pt=Qe;var Et=["children"];function Mt(dt,gt){var wt=Object.keys(dt);if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(dt);gt&&(Ut=Ut.filter(function(ar){return Object.getOwnPropertyDescriptor(dt,ar).enumerable})),wt.push.apply(wt,Ut)}return wt}function Yt(dt){for(var gt=1;gt<arguments.length;gt++){var wt=arguments[gt]!=null?arguments[gt]:{};gt%2?Mt(Object(wt),!0).forEach(function(Ut){(0,w.Z)(dt,Ut,wt[Ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(dt,Object.getOwnPropertyDescriptors(wt)):Mt(Object(wt)).forEach(function(Ut){Object.defineProperty(dt,Ut,Object.getOwnPropertyDescriptor(wt,Ut))})}return dt}var lt=function(dt){var gt=dt.children,wt=(0,m.Z)(dt,Et);return(0,he.jsx)(ut,Yt(Yt({className:"sidebar-triggers"},wt),{},{children:gt}))};lt.displayName="SidebarTabTriggers";var ot=["children","tab","onSelect"];function mt(dt,gt){var wt=Object.keys(dt);if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(dt);gt&&(Ut=Ut.filter(function(ar){return Object.getOwnPropertyDescriptor(dt,ar).enumerable})),wt.push.apply(wt,Ut)}return wt}function pt(dt){for(var gt=1;gt<arguments.length;gt++){var wt=arguments[gt]!=null?arguments[gt]:{};gt%2?mt(Object(wt),!0).forEach(function(Ut){(0,w.Z)(dt,Ut,wt[Ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(dt,Object.getOwnPropertyDescriptors(wt)):mt(Object(wt)).forEach(function(Ut){Object.defineProperty(dt,Ut,Object.getOwnPropertyDescriptor(wt,Ut))})}return dt}var ht=function(dt){var gt=dt.children,wt=dt.tab,Ut=dt.onSelect,ar=(0,m.Z)(dt,ot);return(0,he.jsx)(Ot,{value:wt,asChild:!0,onSelect:Ut,children:(0,he.jsx)("button",pt(pt({type:"button",className:"excalidraw-button sidebar-tab-trigger"},ar),{},{children:gt}))})};ht.displayName="SidebarTabTrigger";var yt=["children"];function Ct(dt,gt){var wt=Object.keys(dt);if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(dt);gt&&(Ut=Ut.filter(function(ar){return Object.getOwnPropertyDescriptor(dt,ar).enumerable})),wt.push.apply(wt,Ut)}return wt}function Bt(dt){for(var gt=1;gt<arguments.length;gt++){var wt=arguments[gt]!=null?arguments[gt]:{};gt%2?Ct(Object(wt),!0).forEach(function(Ut){(0,w.Z)(dt,Ut,wt[Ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(dt,Object.getOwnPropertyDescriptors(wt)):Ct(Object(wt)).forEach(function(Ut){Object.defineProperty(dt,Ut,Object.getOwnPropertyDescriptor(wt,Ut))})}return dt}var zt=function(dt){var gt=dt.children,wt=(0,m.Z)(dt,yt),Ut=(0,H.I)(),ar=(0,k.n9)();if(!Ut.openSidebar)return null;var ir=Ut.openSidebar.name;return(0,he.jsx)(at,Bt(Bt({className:"sidebar-tabs-root",value:Ut.openSidebar.tab,onValueChange:function(dr){return ar(function(br){return Bt(Bt({},br),{},{openSidebar:Bt(Bt({},br.openSidebar),{},{name:ir,tab:dr})})})}},wt),{},{children:gt}))};zt.displayName="SidebarTabs";var tr=["tab","children"];function cr(dt,gt){var wt=Object.keys(dt);if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(dt);gt&&(Ut=Ut.filter(function(ar){return Object.getOwnPropertyDescriptor(dt,ar).enumerable})),wt.push.apply(wt,Ut)}return wt}function mr(dt){for(var gt=1;gt<arguments.length;gt++){var wt=arguments[gt]!=null?arguments[gt]:{};gt%2?cr(Object(wt),!0).forEach(function(Ut){(0,w.Z)(dt,Ut,wt[Ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(dt,Object.getOwnPropertyDescriptors(wt)):cr(Object(wt)).forEach(function(Ut){Object.defineProperty(dt,Ut,Object.getOwnPropertyDescriptor(wt,Ut))})}return dt}var Ft=function(dt){var gt=dt.tab,wt=dt.children,Ut=(0,m.Z)(dt,tr);return(0,he.jsx)(Pt,mr(mr({},Ut),{},{value:gt,children:wt}))};Ft.displayName="SidebarTab";var xt=e(1901),At=e(8208),Tt={};Tt.styleTagTransform=u(),Tt.setAttributes=n(),Tt.insert=d().bind(null,"head"),Tt.domAPI=y(),Tt.insertStyleElement=a(),A()(At.Z,Tt),At.Z&&At.Z.locals&&At.Z.locals;var nr=["name","children","onDock","docked","className"];function yr(dt,gt){var wt=Object.keys(dt);if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(dt);gt&&(Ut=Ut.filter(function(ar){return Object.getOwnPropertyDescriptor(dt,ar).enumerable})),wt.push.apply(wt,Ut)}return wt}function kr(dt){for(var gt=1;gt<arguments.length;gt++){var wt=arguments[gt]!=null?arguments[gt]:{};gt%2?yr(Object(wt),!0).forEach(function(Ut){(0,w.Z)(dt,Ut,wt[Ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(dt,Object.getOwnPropertyDescriptors(wt)):yr(Object(wt)).forEach(function(Ut){Object.defineProperty(dt,Ut,Object.getOwnPropertyDescriptor(wt,Ut))})}return dt}var Tr=(0,c.cn)(!1),Or=(0,v.forwardRef)(function(dt,gt){dt.name;var wt=dt.children,Ut=dt.onDock,ar=dt.docked,ir=dt.className,dr=(0,m.Z)(dt,nr),br=(0,k.n9)(),hr=(0,c.b9)(Tr,f.yE);(0,v.useLayoutEffect)(function(){return hr(!!ar),function(){hr(!1)}},[hr,ar]);var Ir=(0,v.useRef)({});Ir.current.onCloseRequest=function(){br({openSidebar:null})},Ir.current.onDock=function(pr){return Ut?.(pr)},Ir.current=(0,le.v4)(Ir.current,{docked:ar,shouldRenderDockButton:!!Ut&&ar!=null});var wr=(0,v.useRef)(null);(0,v.useImperativeHandle)(gt,function(){return wr.current});var sr=(0,k.Fy)(),fr=(0,v.useCallback)(function(){document.querySelector(".Dialog")||br({openSidebar:null})},[br]);return(0,xt.O)(wr,(0,v.useCallback)(function(pr){pr.target.closest(".sidebar-trigger")||ar&&sr.editor.canFitSidebar||fr()},[fr,ar,sr.editor.canFitSidebar])),(0,v.useEffect)(function(){var pr=function(jr){jr.key!==G.tW.ESCAPE||ar&&sr.editor.canFitSidebar||fr()};return document.addEventListener(U.Ks.KEYDOWN,pr),function(){document.removeEventListener(U.Ks.KEYDOWN,pr)}},[fr,ar,sr.editor.canFitSidebar]),(0,he.jsx)(x.W,kr(kr({},dr),{},{className:(0,N.Z)("sidebar",{"sidebar--docked":ar},ir),ref:wr,children:(0,he.jsx)(Z.Provider,{value:Ir.current,children:wt})}))});Or.displayName="SidebarInner";var Rt=Object.assign((0,v.forwardRef)(function(dt,gt){var wt,Ut=(0,H.I)(),ar=dt.onStateChange,ir=(0,v.useRef)(Ut.openSidebar);(0,v.useEffect)(function(){var wr,sr,fr,pr,jr;(!Ut.openSidebar&&(ir==null||(wr=ir.current)===null||wr===void 0?void 0:wr.name)===dt.name||((sr=Ut.openSidebar)===null||sr===void 0?void 0:sr.name)===dt.name&&(ir==null||(fr=ir.current)===null||fr===void 0?void 0:fr.name)!==dt.name||((pr=ir.current)===null||pr===void 0?void 0:pr.name)===dt.name)&&Ut.openSidebar!==ir.current&&ar?.(((jr=Ut.openSidebar)===null||jr===void 0?void 0:jr.name)!==dt.name?null:Ut.openSidebar),ir.current=Ut.openSidebar},[Ut.openSidebar,ar,dt.name]);var dr=(0,v.useState)(!1),br=(0,P.Z)(dr,2),hr=br[0],Ir=br[1];return(0,v.useLayoutEffect)(function(){return Ir(!0),function(){return Ir(!1)}},[]),hr&&((wt=Ut.openSidebar)===null||wt===void 0?void 0:wt.name)===dt.name?(0,v.createElement)(Or,kr(kr({},dt),{},{ref:gt,key:dt.name})):null}),{Header:ve,TabTriggers:lt,TabTrigger:ht,Tabs:zt,Tab:Ft,Trigger:_});Rt.displayName="Sidebar"},8531:function(fe,t,e){e.d(t,{Z:function(){return G}});var P=e(7169),w=e(9787),m=e.n(w),v=e(3379),I=e.n(v),x=e(7795),c=e.n(x),f=e(569),Z=e.n(f),N=e(3565),W=e.n(N),k=e(9216),S=e.n(k),J=e(4589),ce=e.n(J),he=e(5892),ve={};ve.styleTagTransform=ce(),ve.setAttributes=W(),ve.insert=Z().bind(null,"head"),ve.domAPI=c(),ve.insertStyleElement=S(),I()(he.Z,ve),he.Z&&he.Z.locals&&he.Z.locals;var le=e(1020),G=function(U){var H=U.size,M=H===void 0?"1em":H,A=U.circleWidth,b=A===void 0?8:A,y=U.synchronized,h=y!==void 0&&y,d=-m().useRef(Date.now()).current%1600;return(0,le.jsx)("div",{className:"Spinner",children:(0,le.jsx)("svg",{viewBox:"0 0 100 100",style:(0,P.Z)({width:M,height:M},"--spinner-delay",h?"".concat(d,"ms"):0),children:(0,le.jsx)("circle",{cx:"50",cy:"50",r:50-b/2,strokeWidth:b,fill:"none",strokeMiterlimit:"10"})})})}},2540:function(fe,t,e){e.d(t,{Z:function(){return H}});var P=e(7169),w=e(3379),m=e.n(w),v=e(7795),I=e.n(v),x=e(569),c=e.n(x),f=e(3565),Z=e.n(f),N=e(9216),W=e.n(N),k=e(4589),S=e.n(k),J=e(3874),ce={};ce.styleTagTransform=S(),ce.setAttributes=Z(),ce.insert=c().bind(null,"head"),ce.domAPI=I(),ce.insertStyleElement=W(),m()(J.Z,ce),J.Z&&J.Z.locals&&J.Z.locals;var he=e(9787),ve=e(45),le=e(1020);function G(M,A){var b=Object.keys(M);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(M);A&&(y=y.filter(function(h){return Object.getOwnPropertyDescriptor(M,h).enumerable})),b.push.apply(b,y)}return b}function U(M){for(var A=1;A<arguments.length;A++){var b=arguments[A]!=null?arguments[A]:{};A%2?G(Object(b),!0).forEach(function(y){(0,P.Z)(M,y,b[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(b)):G(Object(b)).forEach(function(y){Object.defineProperty(M,y,Object.getOwnPropertyDescriptor(b,y))})}return M}var H={Row:(0,he.forwardRef)(function(M,A){var b=M.children,y=M.gap,h=M.align,d=M.justifyContent,r=M.className,n=M.style;return(0,le.jsx)("div",{className:(0,ve.Z)("Stack Stack_horizontal",r),style:U({"--gap":y,alignItems:h,justifyContent:d},n),ref:A,children:b})}),Col:(0,he.forwardRef)(function(M,A){var b=M.children,y=M.gap,h=M.align,d=M.justifyContent,r=M.className,n=M.style;return(0,le.jsx)("div",{className:(0,ve.Z)("Stack Stack_vertical",r),style:U({"--gap":y,justifyItems:h,justifyContent:d},n),ref:A,children:b})})}},1512:function(fe,t,e){e.d(t,{V:function(){return k}});var P=e(8950),w=e(2577),m=e(2975),v=e.n(m),I=(e(3041),e(9787)),x=e.n(I),c=e(45),f=e(8242),Z=e(3506),N=e(8531),W=e(1020),k=x().forwardRef(function(S,J){var ce=(0,f.J0)().id,he=x().useRef(null);x().useImperativeHandle(J,function(){return he.current});var ve="ToolIcon_size_".concat(S.size),le=(0,I.useState)(!1),G=(0,w.Z)(le,2),U=G[0],H=G[1],M=(0,I.useRef)(!0),A=function(){var h=(0,P.Z)(v().mark(function d(r){var n,p;return v().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!(p="onClick"in S&&((n=S.onClick)===null||n===void 0?void 0:n.call(S,r)))||!("then"in p)){a.next=18;break}return a.prev=2,H(!0),a.next=6,p;case 6:a.next=15;break;case 8:if(a.prev=8,a.t0=a.catch(2),a.t0 instanceof Z._L){a.next=14;break}throw a.t0;case 14:console.warn(a.t0);case 15:return a.prev=15,M.current&&H(!1),a.finish(15);case 18:case"end":return a.stop()}},d,null,[[2,8,15,18]])}));return function(d){return h.apply(this,arguments)}}();(0,I.useEffect)(function(){return M.current=!0,function(){M.current=!1}},[]);var b=(0,I.useRef)(null);if(S.type==="button"||S.type==="icon"||S.type==="submit"){var y=S.type==="icon"?"button":S.type;return(0,W.jsxs)("button",{className:(0,c.Z)("ToolIcon_type_button",ve,S.className,S.visible&&!S.hidden?"ToolIcon_type_button--show":"ToolIcon_type_button--hide",{ToolIcon:!S.hidden,"ToolIcon--selected":S.selected,"ToolIcon--plain":S.type==="icon"}),style:S.style,"data-testid":S["data-testid"],hidden:S.hidden,title:S.title,"aria-label":S["aria-label"],type:y,onClick:A,ref:he,disabled:U||S.isLoading,children:[(S.icon||S.label)&&(0,W.jsxs)("div",{className:"ToolIcon__icon","aria-hidden":"true",children:[S.icon||S.label,S.keyBindingLabel&&(0,W.jsx)("span",{className:"ToolIcon__keybinding",children:S.keyBindingLabel}),S.isLoading&&(0,W.jsx)(N.Z,{})]}),S.showAriaLabel&&(0,W.jsxs)("div",{className:"ToolIcon__label",children:[S["aria-label"]," ",U&&(0,W.jsx)(N.Z,{})]}),S.children]})}return(0,W.jsxs)("label",{className:(0,c.Z)("ToolIcon",S.className),title:S.title,onPointerDown:function(h){var d;b.current=h.pointerType||null,(d=S.onPointerDown)===null||d===void 0||d.call(S,{pointerType:h.pointerType||null})},onPointerUp:function(){requestAnimationFrame(function(){b.current=null})},children:[(0,W.jsx)("input",{className:"ToolIcon_type_radio ".concat(ve),type:"radio",name:S.name,"aria-label":S["aria-label"],"aria-keyshortcuts":S["aria-keyshortcuts"],"data-testid":S["data-testid"],id:"".concat(ce,"-").concat(S.id),onChange:function(){var h;(h=S.onChange)===null||h===void 0||h.call(S,{pointerType:b.current})},checked:S.checked,ref:he}),(0,W.jsxs)("div",{className:"ToolIcon__icon",children:[S.icon,S.keyBindingLabel&&(0,W.jsx)("span",{className:"ToolIcon__keybinding",children:S.keyBindingLabel})]})]})});k.defaultProps={visible:!0,className:"",size:"medium"},k.displayName="ToolButton"},8925:function(fe,t,e){e.d(t,{u:function(){return G},bK:function(){return ve},Js:function(){return le}});var P=e(3379),w=e.n(P),m=e(7795),v=e.n(m),I=e(569),x=e.n(I),c=e(3565),f=e.n(c),Z=e(9216),N=e.n(Z),W=e(4589),k=e.n(W),S=e(6626),J={};J.styleTagTransform=k(),J.setAttributes=f(),J.insert=x().bind(null,"head"),J.domAPI=v(),J.insertStyleElement=N(),w()(S.Z,J),S.Z&&S.Z.locals&&S.Z.locals;var ce=e(9787),he=e(1020),ve=function(){var U=document.querySelector(".excalidraw-tooltip");if(U)return U;var H=document.createElement("div");return document.body.appendChild(H),H.classList.add("excalidraw-tooltip"),H},le=function(U,H){var M,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"bottom",b=U.getBoundingClientRect(),y=window.innerWidth,h=window.innerHeight,d=5,r=H.left+H.width/2-b.width/2;r<0?r=d:r+b.width>=y&&(r=y-b.width-d),A==="bottom"?(M=H.top+H.height+d)+b.height>=h&&(M=H.top-b.height-d):(M=H.top-b.height-d)<0&&(M=H.top+H.height+d),Object.assign(U.style,{top:"".concat(M,"px"),left:"".concat(r,"px")})},G=function(U){var H=U.children,M=U.label,A=U.long,b=A!==void 0&&A,y=U.style;return(0,ce.useEffect)(function(){return function(){return ve().classList.remove("excalidraw-tooltip--visible")}},[]),(0,he.jsx)("div",{className:"excalidraw-tooltip-wrapper",onPointerEnter:function(h){return function(d,r,n,p){r.classList.add("excalidraw-tooltip--visible"),r.style.minWidth=p?"50ch":"10ch",r.style.maxWidth=p?"50ch":"15ch",r.textContent=n;var a=d.getBoundingClientRect();le(r,a)}(h.currentTarget,ve(),M,b)},onPointerLeave:function(){return ve().classList.remove("excalidraw-tooltip--visible")},style:y,children:H})}},9247:function(fe,t,e){var P=e(2726),w=e(1930),m=e(9787),v=e.n(m),I=e(8227),x=["i18nKey","children"],c=/({{[\w-]+}})|(<[\w-]+>)|(<\/[\w-]+>)/g,f=/{{([\w-]+)}}/,Z=/<([\w-]+)>/,N=/<\/([\w-]+)>/;t.Z=function(W){var k=W.i18nKey,S=(W.children,(0,P.Z)(W,x)),J=(0,I.QT)().t;return v().createElement.apply(v(),[v().Fragment,{}].concat((0,w.Z)(function(ce,he){var ve=[{name:"",children:[]}];return ce.split(c).filter(Boolean).forEach(function(le){var G=le.match(Z),U=le.match(N),H=le.match(f);if(G!==null){var M=G[1];he.hasOwnProperty(M)?ve.push({name:M,children:[]}):console.warn("Trans: missed to pass in prop ".concat(M," for interpolating ").concat(ce))}else if(U!==null)if(U[1]===ve[ve.length-1].name){var A=ve.pop(),b=v().createElement.apply(v(),[v().Fragment,{}].concat((0,w.Z)(A.children))),y=he[A.name];typeof y=="function"&&ve[ve.length-1].children.push(y(b))}else console.warn("Trans: unexpected end tag ".concat(le," for interpolating ").concat(ce));else if(H!==null){var h=H[1];he.hasOwnProperty(h)?ve[ve.length-1].children.push(he[h]):console.warn("Trans: key ".concat(h," not in props for interpolating ").concat(ce))}else ve[ve.length-1].children.push(le)}),ve.length!==1&&console.warn("Trans: stack not empty for interpolating ".concat(ce)),ve[0].children}(J(k),S))))}},4704:function(fe,t,e){e.d(t,{Z:function(){return M}});var P=e(2577),w=e(3379),m=e.n(w),v=e(7795),I=e.n(v),x=e(569),c=e.n(x),f=e(3565),Z=e.n(f),N=e(9216),W=e.n(N),k=e(4589),S=e.n(k),J=e(6359),ce={};ce.styleTagTransform=S(),ce.setAttributes=Z(),ce.insert=c().bind(null,"head"),ce.domAPI=I(),ce.insertStyleElement=W(),m()(J.Z,ce),J.Z&&J.Z.locals&&J.Z.locals;var he=e(9787),ve=e.n(he),le=e(45),G=e(8925),U=e(8242),H=e(1020),M=function(A){var b=A.className,y=A.mobile,h=A.collaborators,d=(0,U.eh)(),r=new Map;h.forEach(function(p,a){r.set(p.id||a,p)});var n=r.size>0&&Array.from(r).filter(function(p){var a=(0,P.Z)(p,2),l=(a[0],a[1]);return Object.keys(l).length!==0}).map(function(p){var a=(0,P.Z)(p,2),l=a[0],u=a[1],C=d.renderAction("goToCollaborator",[l,u]);return y?(0,H.jsx)(G.u,{label:u.username||"Unknown user",children:C},l):(0,H.jsx)(ve().Fragment,{children:C},l)});return(0,H.jsx)("div",{className:(0,le.Z)("UserList",b,{UserList_mobile:y}),children:n})}},7104:function(fe,t,e){e.d(t,{Z:function(){return Y}});var P=e(7169),w=e(2726),m=e(45),v=e(8242),I=e(1020),x=["className","children","onToggle","title"];function c(V,ie){var we=Object.keys(V);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(V);ie&&(Ae=Ae.filter(function(Re){return Object.getOwnPropertyDescriptor(V,Re).enumerable})),we.push.apply(we,Ae)}return we}function f(V){for(var ie=1;ie<arguments.length;ie++){var we=arguments[ie]!=null?arguments[ie]:{};ie%2?c(Object(we),!0).forEach(function(Ae){(0,P.Z)(V,Ae,we[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(we)):c(Object(we)).forEach(function(Ae){Object.defineProperty(V,Ae,Object.getOwnPropertyDescriptor(we,Ae))})}return V}var Z=function(V){var ie=V.className,we=ie===void 0?"":ie,Ae=V.children,Re=V.onToggle,je=V.title,ye=(0,w.Z)(V,x),Ee=(0,v.Fy)(),Oe=(0,m.Z)("dropdown-menu-button ".concat(we),"zen-mode-transition",{"dropdown-menu-button--mobile":Ee.editor.isMobile}).trim();return(0,I.jsx)("button",f(f({"data-prevent-outside-click":!0,className:Oe,onClick:Re,type:"button","data-testid":"dropdown-menu-button",title:je},ye),{},{children:Ae}))},N=Z;Z.displayName="DropdownMenuTrigger";var W=e(5735),k=function(){return(0,I.jsx)("div",{style:{height:"1px",backgroundColor:"var(--default-border-color)",margin:".5rem 0"}})},S=k;k.displayName="DropdownMenuSeparator";var J=function(V){var ie=V.children,we=V.className,Ae=we===void 0?"":we,Re=V.style,je=V.title;return(0,I.jsxs)("div",{className:"dropdown-menu-group ".concat(Ae),style:Re,children:[je&&(0,I.jsx)("p",{className:"dropdown-menu-group-title",children:je}),ie]})},ce=J;J.displayName="DropdownMenuGroup";var he=e(1404),ve=e(2540),le=e(9787),G=e.n(le),U=e(7009),H=e(1901),M=function(V){var ie=V.children,we=V.onClickOutside,Ae=V.className,Re=Ae===void 0?"":Ae,je=V.onSelect,ye=V.style,Ee=(0,v.Fy)(),Oe=(0,le.useRef)(null);(0,H.O)(Oe,function(){we?.()});var ge=(0,m.Z)("dropdown-menu ".concat(Re),{"dropdown-menu--mobile":Ee.editor.isMobile}).trim();return(0,I.jsx)(U.N7.Provider,{value:{onSelect:je},children:(0,I.jsx)("div",{ref:Oe,className:ge,style:ye,"data-testid":"dropdown-menu",children:Ee.editor.isMobile?(0,I.jsx)(ve.Z.Col,{className:"dropdown-menu-container",children:ie}):(0,I.jsx)(he.W,{className:"dropdown-menu-container",padding:2,style:{zIndex:2},children:ie})})})};M.displayName="DropdownMenuContent";var A=M,b=e(3858),y=["children","className","selected"];function h(V,ie){var we=Object.keys(V);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(V);ie&&(Ae=Ae.filter(function(Re){return Object.getOwnPropertyDescriptor(V,Re).enumerable})),we.push.apply(we,Ae)}return we}function d(V){for(var ie=1;ie<arguments.length;ie++){var we=arguments[ie]!=null?arguments[ie]:{};ie%2?h(Object(we),!0).forEach(function(Ae){(0,P.Z)(V,Ae,we[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(we)):h(Object(we)).forEach(function(Ae){Object.defineProperty(V,Ae,Object.getOwnPropertyDescriptor(we,Ae))})}return V}var r=function(V){var ie=V.children,we=V.className,Ae=we===void 0?"":we,Re=V.selected,je=(0,w.Z)(V,y);return(0,I.jsx)("div",d(d({},je),{},{className:"dropdown-menu-item-base dropdown-menu-item-custom ".concat(Ae," ").concat(Re?"dropdown-menu-item--selected":"").trim(),children:ie}))},n=e(3379),p=e.n(n),a=e(7795),l=e.n(a),u=e(569),C=e.n(u),L=e(3565),_=e.n(L),E=e(9216),D=e.n(E),F=e(4589),ee=e.n(F),te=e(7399),re={};re.styleTagTransform=ee(),re.setAttributes=_(),re.insert=C().bind(null,"head"),re.domAPI=l(),re.insertStyleElement=D(),p()(te.Z,re),te.Z&&te.Z.locals&&te.Z.locals;var oe=function(V){var ie=V.children,we=V.open,Ae=function(je){return G().Children.toArray(je).find(function(ye){return G().isValidElement(ye)&&typeof ye.type!="string"&&ye?.type.displayName&&ye.type.displayName==="DropdownMenuTrigger"})||null}(ie),Re=function(je){return G().Children.toArray(je).find(function(ye){return G().isValidElement(ye)&&typeof ye.type!="string"&&ye?.type.displayName&&ye.type.displayName==="DropdownMenuContent"})||null}(ie);return(0,I.jsxs)(I.Fragment,{children:[Ae,we&&Re]})};oe.Trigger=N,oe.Content=A,oe.Item=W.Z,oe.ItemLink=b.Z,oe.ItemCustom=r,oe.Group=ce,oe.Separator=S;var Y=oe;oe.displayName="DropdownMenu"},5735:function(fe,t,e){var P=e(7169),w=e(2726),m=e(7009),v=e(6732),I=e(1020),x=["icon","onSelect","children","shortcut","className","selected"];function c(N,W){var k=Object.keys(N);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(N);W&&(S=S.filter(function(J){return Object.getOwnPropertyDescriptor(N,J).enumerable})),k.push.apply(k,S)}return k}function f(N){for(var W=1;W<arguments.length;W++){var k=arguments[W]!=null?arguments[W]:{};W%2?c(Object(k),!0).forEach(function(S){(0,P.Z)(N,S,k[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(k)):c(Object(k)).forEach(function(S){Object.defineProperty(N,S,Object.getOwnPropertyDescriptor(k,S))})}return N}var Z=function(N){var W,k=N.icon,S=N.onSelect,J=N.children,ce=N.shortcut,he=N.className,ve=N.selected,le=(0,w.Z)(N,x),G=(0,m.qZ)(le.onClick,S);return(0,I.jsx)("button",f(f({},le),{},{onClick:G,type:"button",className:(0,m.n)(he,ve),title:(W=le.title)!==null&&W!==void 0?W:le["aria-label"],children:(0,I.jsx)(v.Z,{icon:k,shortcut:ce,children:J})}))};t.Z=Z,Z.displayName="DropdownMenuItem"},6732:function(fe,t,e){var P=e(8242),w=e(1020);t.Z=function(m){var v=m.icon,I=m.shortcut,x=m.children,c=(0,P.Fy)();return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:"dropdown-menu-item__icon",children:v}),(0,w.jsx)("div",{className:"dropdown-menu-item__text",children:x}),I&&!c.editor.isMobile&&(0,w.jsx)("div",{className:"dropdown-menu-item__shortcut",children:I})]})}},3858:function(fe,t,e){var P=e(7169),w=e(2726),m=e(6732),v=e(7009),I=e(1020),x=["icon","shortcut","href","children","onSelect","className","selected"];function c(N,W){var k=Object.keys(N);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(N);W&&(S=S.filter(function(J){return Object.getOwnPropertyDescriptor(N,J).enumerable})),k.push.apply(k,S)}return k}function f(N){for(var W=1;W<arguments.length;W++){var k=arguments[W]!=null?arguments[W]:{};W%2?c(Object(k),!0).forEach(function(S){(0,P.Z)(N,S,k[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(k)):c(Object(k)).forEach(function(S){Object.defineProperty(N,S,Object.getOwnPropertyDescriptor(k,S))})}return N}var Z=function(N){var W,k=N.icon,S=N.shortcut,J=N.href,ce=N.children,he=N.onSelect,ve=N.className,le=ve===void 0?"":ve,G=N.selected,U=(0,w.Z)(N,x),H=(0,v.qZ)(U.onClick,he);return(0,I.jsx)("a",f(f({},U),{},{href:J,target:"_blank",rel:"noreferrer",className:(0,v.n)(le,G),title:(W=U.title)!==null&&W!==void 0?W:U["aria-label"],onClick:H,children:(0,I.jsx)(m.Z,{icon:k,shortcut:S,children:ce})}))};t.Z=Z,Z.displayName="DropdownMenuItemLink"},7009:function(fe,t,e){e.d(t,{N7:function(){return I},n:function(){return x},qZ:function(){return c}});var P=e(9787),w=e.n(P),m=e(9937),v=e(9827),I=w().createContext({}),x=function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Z=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return"dropdown-menu-item dropdown-menu-item-base ".concat(f," ").concat(Z?"dropdown-menu-item--selected":"").trim()},c=function(f,Z){var N=(0,P.useContext)(I);return(0,v.Mj)(f,function(W){var k,S=new CustomEvent(m.Ks.MENU_ITEM_SELECT,{bubbles:!0,cancelable:!0});Z?.(S),S.defaultPrevented||(k=N.onSelect)===null||k===void 0||k.call(N,S)})}},6922:function(fe,t,e){e.d(t,{$:function(){return f}});var P=e(7169),w=e(2577),m=e(3607),v=e(9787),I=e(4572),x=e(1020);function c(Z,N){var W=Object.keys(Z);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(Z);N&&(k=k.filter(function(S){return Object.getOwnPropertyDescriptor(Z,S).enumerable})),W.push.apply(W,k)}return W}var f=function(Z,N){var W=(0,m.cn)(0),k=function(S){var J=(0,I.R6)().jotaiScope,ce=(0,m.KO)(W,J),he=(0,w.Z)(ce,2)[1],ve=(0,v.useRef)({preferHost:!1,counter:0});return(0,v.useLayoutEffect)(function(){var le=ve.current;return he(function(G){var U=G+1;return le.counter=U,U}),function(){he(function(G){var U=G-1;return le.counter=U,U||(le.preferHost=!1),U})}},[he]),S.__fallback||(ve.current.preferHost=!0),!ve.current.counter&&S.__fallback&&ve.current.preferHost||ve.current.counter>1&&S.__fallback?null:(0,x.jsx)(N,function(le){for(var G=1;G<arguments.length;G++){var U=arguments[G]!=null?arguments[G]:{};G%2?c(Object(U),!0).forEach(function(H){(0,P.Z)(le,H,U[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(U)):c(Object(U)).forEach(function(H){Object.defineProperty(le,H,Object.getOwnPropertyDescriptor(U,H))})}return le}({},S))};return k.displayName=Z,k}},8935:function(fe,t,e){e.d(t,{$W:function(){return ir},$c:function(){return i},$q:function(){return L},BF:function(){return Ne},Ct:function(){return be},D7:function(){return Ae},DG:function(){return ue},DJ:function(){return b},DS:function(){return pt},EO:function(){return kr},ET:function(){return we},FC:function(){return H},FL:function(){return F},Gc:function(){return $},HL:function(){return Ce},Hk:function(){return dt},Hy:function(){return Y},II:function(){return hr},IN:function(){return Q},J8:function(){return se},LZ:function(){return Ir},NA:function(){return ee},NW:function(){return re},Nw:function(){return Rt},OA:function(){return Ft},OW:function(){return h},P7:function(){return Or},Pm:function(){return l},RJ:function(){return Ye},RY:function(){return oe},Re:function(){return r},ST:function(){return Ve},Sd:function(){return _},TP:function(){return j},Tl:function(){return ge},Tw:function(){return me},UE:function(){return s},UI:function(){return wt},UT:function(){return ar},VL:function(){return u},Vl:function(){return z},Vq:function(){return he},W2:function(){return ot},W5:function(){return He},Wl:function(){return Ot},X7:function(){return at},XB:function(){return C},XH:function(){return D},YA:function(){return le},ZA:function(){return ut},Zm:function(){return Re},_C:function(){return U},_U:function(){return A},a0:function(){return rt},a1:function(){return Ee},a5:function(){return Et},aA:function(){return Tr},aL:function(){return gt},aT:function(){return Mt},bf:function(){return Yt},by:function(){return V},d:function(){return wr},dg:function(){return dr},e0:function(){return n},eQ:function(){return je},fr:function(){return ht},gK:function(){return Je},h0:function(){return ie},il:function(){return yt},j8:function(){return zt},jn:function(){return Me},kL:function(){return te},kM:function(){return lt},lF:function(){return Qe},m:function(){return Bt},m9:function(){return Pt},mh:function(){return Be},mv:function(){return Ut},nb:function(){return d},np:function(){return ft},nq:function(){return cr},o3:function(){return nr},oQ:function(){return M},oT:function(){return yr},op:function(){return Se},pO:function(){return ve},po:function(){return Oe},pw:function(){return ae},q0:function(){return tr},qQ:function(){return G},rr:function(){return Tt},t5:function(){return K},tW:function(){return mr},tb:function(){return a},tn:function(){return Ct},uD:function(){return Te},vo:function(){return xt},wr:function(){return mt},xL:function(){return E},xP:function(){return ye},xs:function(){return Ze},z6:function(){return At},zG:function(){return O},zb:function(){return p},zl:function(){return br},zu:function(){return y}});var P=e(7169),w=e(2726),m=e(9787),v=e.n(m),I=e(5284),x=e(45),c=e(9937),f=e(1020),Z=["width","height","mirror","style"];function N(sr,fr){var pr=Object.keys(sr);if(Object.getOwnPropertySymbols){var jr=Object.getOwnPropertySymbols(sr);fr&&(jr=jr.filter(function(Pr){return Object.getOwnPropertyDescriptor(sr,Pr).enumerable})),pr.push.apply(pr,jr)}return pr}function W(sr){for(var fr=1;fr<arguments.length;fr++){var pr=arguments[fr]!=null?arguments[fr]:{};fr%2?N(Object(pr),!0).forEach(function(jr){(0,P.Z)(sr,jr,pr[jr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(sr,Object.getOwnPropertyDescriptors(pr)):N(Object(pr)).forEach(function(jr){Object.defineProperty(sr,jr,Object.getOwnPropertyDescriptor(pr,jr))})}return sr}var k=function(sr){return sr===c.C6.LIGHT?I.white:"#1e1e1e"},S=function(sr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:512,pr=typeof fr=="number"?{width:fr}:fr,jr=pr.width,Pr=jr===void 0?512:jr,Mr=pr.height,$r=Mr===void 0?Pr:Mr,fn=pr.mirror,Mn=pr.style,Zn=(0,w.Z)(pr,Z);return(0,f.jsx)("svg",W(W({"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 ".concat(Pr," ").concat($r),className:(0,x.Z)({"rtl-mirror":fn}),style:Mn},Zn),{},{children:typeof sr=="string"?(0,f.jsx)("path",{fill:"currentColor",d:sr}):sr}))},J={width:24,height:24,fill:"none",strokeWidth:2,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},ce={width:20,height:20,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},he=(S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("rect",{x:3,y:8,width:18,height:4,rx:1}),(0,f.jsx)("line",{x1:12,y1:8,x2:12,y2:21}),(0,f.jsx)("path",{d:"M19 12v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-7"}),(0,f.jsx)("path",{d:"M7.5 8a2.5 2.5 0 0 1 0 -5a4.8 8 0 0 1 4.5 5a4.8 8 0 0 1 4.5 -5a2.5 2.5 0 0 1 0 5"})]}),J),S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),(0,f.jsx)("path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),(0,f.jsx)("line",{x1:"3",y1:"6",x2:"3",y2:"19"}),(0,f.jsx)("line",{x1:"12",y1:"6",x2:"12",y2:"19"}),(0,f.jsx)("line",{x1:"21",y1:"6",x2:"21",y2:"19"})]}),J)),ve=S((0,f.jsxs)("svg",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,f.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]}),J),le=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("circle",{cx:"12",cy:"12",r:"1"}),(0,f.jsx)("circle",{cx:"12",cy:"19",r:"1"}),(0,f.jsx)("circle",{cx:"12",cy:"5",r:"1"})]}),J),G=S((0,f.jsxs)("svg",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M9 4v6l-2 4v2h10v-2l-2 -4v-6"}),(0,f.jsx)("line",{x1:"12",y1:"16",x2:"12",y2:"21"}),(0,f.jsx)("line",{x1:"8",y1:"4",x2:"16",y2:"4"})]}),J),U=S((0,f.jsxs)("g",{children:[(0,f.jsx)("path",{d:"M13.542 8.542H6.458a2.5 2.5 0 0 0-2.5 2.5v3.75a2.5 2.5 0 0 0 2.5 2.5h7.084a2.5 2.5 0 0 0 2.5-2.5v-3.75a2.5 2.5 0 0 0-2.5-2.5Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,f.jsx)("path",{d:"M10 13.958a1.042 1.042 0 1 0 0-2.083 1.042 1.042 0 0 0 0 2.083Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,f.jsx)("mask",{id:"UnlockedIcon",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:6,y:1,width:9,height:9,children:(0,f.jsx)("path",{stroke:"none",d:"M6.399 9.561V5.175c0-.93.401-1.823 1.116-2.48a3.981 3.981 0 0 1 2.693-1.028c1.01 0 1.98.37 2.694 1.027.715.658 1.116 1.55 1.116 2.481",fill:"#fff"})}),(0,f.jsx)("g",{mask:"url(#UnlockedIcon)",children:(0,f.jsx)("path",{stroke:"none",d:"M5.149 9.561v1.25h2.5v-1.25h-2.5Zm5.06-7.894V.417v1.25Zm2.559 3.508v1.25h2.5v-1.25h-2.5ZM7.648 8.51V5.175h-2.5V8.51h2.5Zm0-3.334c0-.564.243-1.128.713-1.561L6.668 1.775c-.959.883-1.52 2.104-1.52 3.4h2.5Zm.713-1.561a2.732 2.732 0 0 1 1.847-.697v-2.5c-1.31 0-2.585.478-3.54 1.358L8.36 3.614Zm1.847-.697c.71 0 1.374.26 1.847.697l1.694-1.839a5.231 5.231 0 0 0-3.54-1.358v2.5Zm1.847.697c.47.433.713.997.713 1.561h2.5c0-1.296-.56-2.517-1.52-3.4l-1.693 1.839Z",fill:"currentColor"})})]}),ce),H=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M13.542 8.542H6.458a2.5 2.5 0 0 0-2.5 2.5v3.75a2.5 2.5 0 0 0 2.5 2.5h7.084a2.5 2.5 0 0 0 2.5-2.5v-3.75a2.5 2.5 0 0 0-2.5-2.5Z"}),(0,f.jsx)("path",{d:"M10 13.958a1.042 1.042 0 1 0 0-2.083 1.042 1.042 0 0 0 0 2.083Z"}),(0,f.jsx)("path",{d:"M6.667 8.333V5.417C6.667 3.806 8.159 2.5 10 2.5c1.841 0 3.333 1.306 3.333 2.917v2.916"})]}),ce),M=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{d:"M38.5 83.5c-14-2-17.833-10.473-21-22.5C14.333 48.984 12 22 12 12.5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),(0,f.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m12.005 10.478 7.905 14.423L6 25.75l6.005-15.273Z",fill:"currentColor"}),(0,f.jsx)("path",{d:"M12.005 10.478c1.92 3.495 3.838 7 7.905 14.423m-7.905-14.423c3.11 5.683 6.23 11.368 7.905 14.423m0 0c-3.68.226-7.35.455-13.91.85m13.91-.85c-5.279.33-10.566.647-13.91.85m0 0c1.936-4.931 3.882-9.86 6.005-15.273M6 25.75c2.069-5.257 4.135-10.505 6.005-15.272",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})]}),{width:41,height:94,fill:"none"}),A=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{d:"M18.026 1.232c-5.268 13.125-5.548 33.555 3.285 42.311 8.823 8.75 33.31 12.304 42.422 13.523",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),(0,f.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m72.181 59.247-13.058-10-2.948 13.62 16.006-3.62Z",fill:"currentColor"}),(0,f.jsx)("path",{d:"M72.181 59.247c-3.163-2.429-6.337-4.856-13.058-10m13.058 10c-5.145-3.936-10.292-7.882-13.058-10m0 0c-.78 3.603-1.563 7.196-2.948 13.62m2.948-13.62c-1.126 5.168-2.24 10.346-2.948 13.62m0 0c5.168-1.166 10.334-2.343 16.006-3.62m-16.006 3.62c5.51-1.248 11.01-2.495 16.006-3.62",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})]}),{width:85,height:71,fill:"none"}),b=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{d:"M1 77c14-2 31.833-11.973 35-24 3.167-12.016-6-35-9.5-43.5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),(0,f.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m24.165 1.093-2.132 16.309 13.27-4.258-11.138-12.05Z",fill:"currentColor"}),(0,f.jsx)("path",{d:"M24.165 1.093c-.522 3.953-1.037 7.916-2.132 16.309m2.131-16.309c-.835 6.424-1.68 12.854-2.13 16.308m0 0c3.51-1.125 7.013-2.243 13.27-4.257m-13.27 4.257c5.038-1.608 10.08-3.232 13.27-4.257m0 0c-3.595-3.892-7.197-7.777-11.14-12.05m11.14 12.05c-3.837-4.148-7.667-8.287-11.14-12.05",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})]}),{width:38,height:78,fill:"none"}),y=(S((0,f.jsx)("g",{fill:"currentColor",children:(0,f.jsx)("path",{d:"M39.9 32.889a.326.326 0 0 0-.279-.056c-2.094-3.083-4.774-6-7.343-8.833l-.419-.472a.212.212 0 0 0-.056-.139.586.586 0 0 0-.167-.111l-.084-.083-.056-.056c-.084-.167-.28-.278-.475-.167-.782.39-1.507.973-2.206 1.528-.92.722-1.842 1.445-2.708 2.25a8.405 8.405 0 0 0-.977 1.028c-.14.194-.028.361.14.444-.615.611-1.23 1.223-1.843 1.861a.315.315 0 0 0-.084.223c0 .083.056.166.111.194l1.09.833v.028c1.535 1.528 4.244 3.611 7.12 5.861.418.334.865.667 1.284 1 .195.223.39.473.558.695.084.11.28.139.391.055.056.056.14.111.196.167a.398.398 0 0 0 .167.056.255.255 0 0 0 .224-.111.394.394 0 0 0 .055-.167c.029 0 .028.028.056.028a.318.318 0 0 0 .224-.084l5.082-5.528a.309.309 0 0 0 0-.444Zm-14.63-1.917a.485.485 0 0 0 .111.14c.586.5 1.2 1 1.843 1.555l-2.569-1.945-.251-.166c-.056-.028-.112-.084-.168-.111l-.195-.167.056-.056.055-.055.112-.111c.866-.861 2.346-2.306 3.1-3.028-.81.805-2.43 3.167-2.095 3.944Zm8.767 6.89-2.122-1.612a44.713 44.713 0 0 0-2.625-2.5c1.145.861 2.122 1.611 2.262 1.75 1.117.972 1.06.806 1.815 1.445l.921.666a1.06 1.06 0 0 1-.251.25Zm.558.416-.056-.028c.084-.055.168-.111.252-.194l-.196.222ZM1.089 5.75c.055.361.14.722.195 1.056.335 1.833.67 3.5 1.284 4.75l.252.944c.084.361.223.806.363.917 1.424 1.25 3.602 3.11 5.947 4.889a.295.295 0 0 0 .363 0s0 .027.028.027a.254.254 0 0 0 .196.084.318.318 0 0 0 .223-.084c2.988-3.305 5.221-6.027 6.813-8.305.112-.111.14-.278.14-.417.111-.111.195-.25.307-.333.111-.111.111-.306 0-.39l-.028-.027c0-.055-.028-.139-.084-.167-.698-.666-1.2-1.138-1.731-1.638-.922-.862-1.871-1.75-3.881-3.75l-.028-.028c-.028-.028-.056-.056-.112-.056-.558-.194-1.703-.389-3.127-.639C6.087 2.223 3.21 1.723.614.944c0 0-.168 0-.196.028l-.083.084c-.028.027-.056.055-.224.11h.056-.056c.028.167.028.278.084.473 0 .055.112.5.112.555l.782 3.556Zm15.496 3.278-.335-.334c.084.112.196.195.335.334Zm-3.546 4.666-.056.056c0-.028.028-.056.056-.056Zm-2.038-10c.168.167.866.834 1.033.973-.726-.334-2.54-1.167-3.379-1.445.838.167 1.983.334 2.346.472ZM1.424 2.306c.419.722.754 3.222 1.089 5.666-.196-.778-.335-1.555-.503-2.278-.251-1.277-.503-2.416-.838-3.416.056 0 .14 0 .252.028Zm-.168-.584c-.112 0-.223-.028-.307-.028 0-.027 0-.055-.028-.055.14 0 .223.028.335.083Zm-1.089.222c0-.027 0-.027 0 0ZM39.453 1.333c.028-.11-.558-.61-.363-.639.42-.027.42-.666 0-.666-.558.028-1.144.166-1.675.25-.977.194-1.982.389-2.96.61-2.205.473-4.383.973-6.561 1.557-.67.194-1.424.333-2.066.666-.224.111-.196.333-.084.472-.056.028-.084.028-.14.056-.195.028-.363.056-.558.083-.168.028-.252.167-.224.334 0 .027.028.083.028.11-1.173 1.556-2.485 3.195-3.909 4.945-1.396 1.611-2.876 3.306-4.356 5.056-4.719 5.5-10.052 11.75-15.943 17.25a.268.268 0 0 0 0 .389c.028.027.056.055.084.055-.084.084-.168.14-.252.222-.056.056-.084.111-.084.167a.605.605 0 0 0-.111.139c-.112.111-.112.305.028.389.111.11.307.11.39-.028.029-.028.029-.056.056-.056a.44.44 0 0 1 .615 0c.335.362.67.723.977 1.028l-.698-.583c-.112-.111-.307-.083-.39.028-.113.11-.085.305.027.389l7.427 6.194c.056.056.112.056.196.056s.14-.028.195-.084l.168-.166c.028.027.083.027.111.027.084 0 .14-.027.196-.083 10.052-10.055 18.15-17.639 27.42-24.417.083-.055.111-.166.111-.25.112 0 .196-.083.251-.194 1.704-5.194 2.039-9.806 2.15-12.083v-.028c0-.028.028-.056.028-.083.028-.056.028-.084.028-.084a1.626 1.626 0 0 0-.111-1.028ZM21.472 9.5c.446-.5.893-1.028 1.34-1.5-2.876 3.778-7.65 9.583-14.408 16.5 4.607-5.083 9.242-10.333 13.068-15ZM5.193 35.778h.084-.084Zm3.462 3.194c-.027-.028-.027-.028 0-.028v.028Zm4.16-3.583c.224-.25.448-.472.699-.722 0 0 0 .027.028.027-.252.223-.475.445-.726.695Zm1.146-1.111c.14-.14.279-.334.446-.5l.028-.028c1.648-1.694 3.351-3.389 5.082-5.111l.028-.028c.419-.333.921-.694 1.368-1.028a379.003 379.003 0 0 0-6.952 6.695ZM24.794 6.472c-.921 1.195-1.954 2.778-2.82 4.028-2.736 3.944-11.532 13.583-11.727 13.75a1976.983 1976.983 0 0 1-8.042 7.639l-.167.167c-.14-.167-.14-.417.028-.556C14.49 19.861 22.03 10.167 25.074 5.917c-.084.194-.14.36-.28.555Zm4.83 5.695c-1.116-.64-1.646-1.64-1.34-2.611l.084-.334c.028-.083.084-.194.14-.277.307-.5.754-.917 1.257-1.167.027 0 .055 0 .083-.028-.028-.056-.028-.139-.028-.222.028-.167.14-.278.335-.278.335 0 1.369.306 1.76.639.111.083.223.194.335.305.14.167.363.445.474.667.056.028.112.306.196.445.056.222.111.472.084.694-.028.028 0 .194-.028.194a2.668 2.668 0 0 1-.363 1.028c-.028.028-.028.056-.056.084l-.028.027c-.14.223-.335.417-.53.556-.643.444-1.369.583-2.095.389 0 0-.195-.084-.28-.111Zm8.154-.834a39.098 39.098 0 0 1-.893 3.167c0 .028-.028.083 0 .111-.056 0-.084.028-.14.056-2.206 1.61-4.356 3.305-6.506 5.028 1.843-1.64 3.686-3.306 5.613-4.945.558-.5.949-1.139 1.06-1.861l.28-1.667v-.055c.14-.334.67-.195.586.166Z",fill:"currentColor"})}),{width:40,height:40,fill:"none"}),S((0,f.jsxs)("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M6 6l4.153 11.793a0.365 .365 0 0 0 .331 .207a0.366 .366 0 0 0 .332 -.207l2.184 -4.793l4.787 -1.994a0.355 .355 0 0 0 .213 -.323a0.355 .355 0 0 0 -.213 -.323l-11.787 -4.36z"}),(0,f.jsx)("path",{d:"M13.5 13.5l4.5 4.5"})]}),{fill:"none",width:22,height:22,strokeWidth:1.25})),h=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"})]}),J),d=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M10.5 20.4l-6.9 -6.9c-.781 -.781 -.781 -2.219 0 -3l6.9 -6.9c.781 -.781 2.219 -.781 3 0l6.9 6.9c.781 .781 .781 2.219 0 3l-6.9 6.9c-.781 .781 -2.219 .781 -3 0z"})]}),J),r=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("circle",{cx:"12",cy:"12",r:"9"})]}),J),n=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,f.jsx)("line",{x1:"15",y1:"16",x2:"19",y2:"12"}),(0,f.jsx)("line",{x1:"15",y1:"8",x2:"19",y2:"12"})]}),J),p=S((0,f.jsx)("path",{d:"M4.167 10h11.666",strokeWidth:"1.5"}),ce),a=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M20 17v-12c0 -1.121 -.879 -2 -2 -2s-2 .879 -2 2v12l2 2l2 -2z"}),(0,f.jsx)("path",{d:"M16 7h4"}),(0,f.jsx)("path",{d:"M18 19h-13a2 2 0 1 1 0 -4h4a2 2 0 1 0 0 -4h-3"})]}),J),l=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{clipRule:"evenodd",d:"m7.643 15.69 7.774-7.773a2.357 2.357 0 1 0-3.334-3.334L4.31 12.357a3.333 3.333 0 0 0-.977 2.357v1.953h1.953c.884 0 1.732-.352 2.357-.977Z"}),(0,f.jsx)("path",{d:"m11.25 5.417 3.333 3.333"})]}),ce),u=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"4",y1:"20",x2:"7",y2:"20"}),(0,f.jsx)("line",{x1:"14",y1:"20",x2:"21",y2:"20"}),(0,f.jsx)("line",{x1:"6.9",y1:"15",x2:"13.8",y2:"15"}),(0,f.jsx)("line",{x1:"10.2",y1:"6.3",x2:"16",y2:"20"}),(0,f.jsx)("polyline",{points:"5 20 11 4 13 4 20 20"})]}),J),C=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M12.5 6.667h.01"}),(0,f.jsx)("path",{d:"M4.91 2.625h10.18a2.284 2.284 0 0 1 2.285 2.284v10.182a2.284 2.284 0 0 1-2.284 2.284H4.909a2.284 2.284 0 0 1-2.284-2.284V4.909a2.284 2.284 0 0 1 2.284-2.284Z"}),(0,f.jsx)("path",{d:"m3.333 12.5 3.334-3.333c.773-.745 1.726-.745 2.5 0l4.166 4.166"}),(0,f.jsx)("path",{d:"m11.667 11.667.833-.834c.774-.744 1.726-.744 2.5 0l1.667 1.667"})]}),ce),L=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M19 20h-10.5l-4.21 -4.3a1 1 0 0 1 0 -1.41l10 -10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41l-9.2 9.3"}),(0,f.jsx)("path",{d:"M18 13.3l-6.3 -6.3"})]}),J),_=S((0,f.jsx)("path",{strokeWidth:"1.25",d:"M10 4.167v11.666M4.167 10h11.666"}),ce),E=S((0,f.jsx)("path",{d:"M5 10h10",strokeWidth:"1.25"}),ce),D=S((0,f.jsx)("path",{strokeWidth:"1.25",d:"M3.333 5.833h13.334M8.333 9.167v5M11.667 9.167v5M4.167 5.833l.833 10c0 .92.746 1.667 1.667 1.667h6.666c.92 0 1.667-.746 1.667-1.667l.833-10M7.5 5.833v-2.5c0-.46.373-.833.833-.833h3.334c.46 0 .833.373.833.833v2.5"}),ce),F=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("polyline",{points:"12 16 18 10 12 4"}),(0,f.jsx)("polyline",{points:"8 4 2 10 8 16"})]}),ce),ee=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M14.375 6.458H8.958a2.5 2.5 0 0 0-2.5 2.5v5.417a2.5 2.5 0 0 0 2.5 2.5h5.417a2.5 2.5 0 0 0 2.5-2.5V8.958a2.5 2.5 0 0 0-2.5-2.5Z"}),(0,f.jsx)("path",{clipRule:"evenodd",d:"M11.667 3.125c.517 0 .986.21 1.325.55.34.338.55.807.55 1.325v1.458H8.333c-.485 0-.927.185-1.26.487-.343.312-.57.75-.609 1.24l-.005 5.357H5a1.87 1.87 0 0 1-1.326-.55 1.87 1.87 0 0 1-.549-1.325V5c0-.518.21-.987.55-1.326.338-.34.807-.549 1.325-.549h6.667Z"})]}),ce),te=S((0,f.jsx)("path",{clipRule:"evenodd",d:"M10 2.5h.328a6.25 6.25 0 0 0 6.6 10.372A7.5 7.5 0 1 1 10 2.493V2.5Z",stroke:"currentColor"}),ce),re=S((0,f.jsx)("g",{stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,f.jsx)("path",{d:"M10 12.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM10 4.167V2.5M14.167 5.833l1.166-1.166M15.833 10H17.5M14.167 14.167l1.166 1.166M10 15.833V17.5M5.833 14.167l-1.166 1.166M5 10H3.333M5.833 5.833 4.667 4.667"})}),ce),oe=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"4",y1:"6",x2:"20",y2:"6"}),(0,f.jsx)("line",{x1:"4",y1:"12",x2:"20",y2:"12"}),(0,f.jsx)("line",{x1:"4",y1:"18",x2:"20",y2:"18"})]}),J),Y=S((0,f.jsx)("path",{strokeWidth:"1.25",d:"M3.333 14.167v1.666c0 .92.747 1.667 1.667 1.667h10c.92 0 1.667-.746 1.667-1.667v-1.666M5.833 9.167 10 13.333l4.167-4.166M10 3.333v10"}),ce),V=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,f.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"17.01"}),(0,f.jsx)("path",{d:"M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4"})]}),J),ie=S((0,f.jsx)("path",{strokeWidth:"1.25",d:"M9.167 5.833H5.833c-1.254 0-2.5 1.282-2.5 2.5v5.834c0 1.283 1.252 2.5 2.5 2.5h5.834c1.251 0 2.5-1.25 2.5-2.5v-3.334M8.333 11.667l8.334-8.334M12.5 3.333h4.167V7.5"}),ce),we=S((0,f.jsx)("path",{d:"M7.5 15.833c-3.583 1.167-3.583-2.083-5-2.5m10 4.167v-2.917c0-.833.083-1.166-.417-1.666 2.334-.25 4.584-1.167 4.584-5a3.833 3.833 0 0 0-1.084-2.667 3.5 3.5 0 0 0-.083-2.667s-.917-.25-2.917 1.084a10.25 10.25 0 0 0-5.166 0C5.417 2.333 4.5 2.583 4.5 2.583a3.5 3.5 0 0 0-.083 2.667 3.833 3.833 0 0 0-1.084 2.667c0 3.833 2.25 4.75 4.584 5-.5.5-.5 1-.417 1.666V17.5",strokeWidth:"1.25"}),ce),Ae=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M7.5 10.833a.833.833 0 1 0 0-1.666.833.833 0 0 0 0 1.666ZM12.5 10.833a.833.833 0 1 0 0-1.666.833.833 0 0 0 0 1.666ZM6.25 6.25c2.917-.833 4.583-.833 7.5 0M5.833 13.75c2.917.833 5.417.833 8.334 0"}),(0,f.jsx)("path",{d:"M12.917 14.167c0 .833 1.25 2.5 1.666 2.5 1.25 0 2.361-1.39 2.917-2.5.556-1.39.417-4.861-1.25-9.584-1.214-.846-2.5-1.116-3.75-1.25l-.833 2.084M7.083 14.167c0 .833-1.13 2.5-1.526 2.5-1.191 0-2.249-1.39-2.778-2.5-.529-1.39-.397-4.861 1.19-9.584 1.157-.846 2.318-1.116 3.531-1.25l.833 2.084"})]}),ce),Re=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z"})]}),J),je=S((0,f.jsx)("polyline",{fill:"none",stroke:"currentColor",points:"20 6 9 17 4 12"}),{width:24,height:24}),ye=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M8.333 11.667a2.917 2.917 0 0 0 4.167 0l3.333-3.334a2.946 2.946 0 1 0-4.166-4.166l-.417.416"}),(0,f.jsx)("path",{d:"M11.667 8.333a2.917 2.917 0 0 0-4.167 0l-3.333 3.334a2.946 2.946 0 0 0 4.166 4.166l.417-.416"})]}),ce),Ee=S("M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z",{width:448,height:512}),Oe=S("M252 54L203 8a28 27 0 00-20-8H28C12 0 0 12 0 27v195c0 15 12 26 28 26h204c15 0 28-11 28-26V73a28 27 0 00-8-19zM130 213c-21 0-37-16-37-36 0-19 16-35 37-35 20 0 37 16 37 35 0 20-17 36-37 36zm56-169v56c0 4-4 6-7 6H44c-4 0-7-2-7-6V42c0-4 3-7 7-7h133l4 2 3 2a7 7 0 012 5z M296 201l87 95-188 205-78 9c-10 1-19-8-18-20l9-84zm141-14l-41-44a31 31 0 00-46 0l-38 41 87 95 38-42c13-14 13-36 0-50z",{width:448,height:512}),ge=S((0,f.jsx)("path",{d:"m9.257 6.351.183.183H15.819c.34 0 .727.182 1.051.506.323.323.505.708.505 1.05v5.819c0 .316-.183.7-.52 1.035-.337.338-.723.522-1.037.522H4.182c-.352 0-.74-.181-1.058-.5-.318-.318-.499-.705-.499-1.057V5.182c0-.351.181-.736.5-1.054.32-.321.71-.503 1.057-.503H6.53l2.726 2.726Z",strokeWidth:"1.25"}),ce),ue=(S("M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z",{width:384,height:512}),S("M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z")),se=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M15 8h.01"}),(0,f.jsx)("path",{d:"M12 20h-5a3 3 0 0 1 -3 -3v-10a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v5"}),(0,f.jsx)("path",{d:"M4 15l4 -4c.928 -.893 2.072 -.893 3 0l4 4"}),(0,f.jsx)("path",{d:"M14 14l1 -1c.617 -.593 1.328 -.793 2.009 -.598"}),(0,f.jsx)("path",{d:"M19 16v6"}),(0,f.jsx)("path",{d:"M22 19l-3 3l-3 -3"})]}),J),j=S("M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z",{width:512,height:512}),i=(S("M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",{width:448,height:512}),S("M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",{width:448,height:512}),S("M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z")),s=(S("M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"),S((0,f.jsx)("path",{d:"M7.5 10.833 4.167 7.5 7.5 4.167M4.167 7.5h9.166a3.333 3.333 0 0 1 0 6.667H12.5",strokeWidth:"1.25"}),ce)),O=S((0,f.jsx)("path",{d:"M12.5 10.833 15.833 7.5 12.5 4.167M15.833 7.5H6.667a3.333 3.333 0 1 0 0 6.667H7.5",strokeWidth:"1.25"}),ce),z=S("M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z",{mirror:!0}),K=(S((0,f.jsx)("path",{d:"M5 12.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM15 7.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM15 17.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM7.25 8.917l5.5-2.834M7.25 11.083l5.5 2.834",strokeWidth:"1.5"}),ce),S("M16 5l-1.42 1.42-1.59-1.59V16h-1.98V4.83L9.42 6.42 8 5l4-4 4 4zm4 5v11c0 1.1-.9 2-2 2H6c-1.11 0-2-.9-2-2V10c0-1.11.89-2 2-2h3v2H6v11h12V10h-3V8h3c1.1 0 2 .89 2 2z",{width:24,height:24}),S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{fill:"currentColor",d:"M40 5.6v6.1l-4.1.7c-8.9 1.4-16.5 6.9-20.6 15C13 32 10.9 43 12.4 43c.4 0 2.4-1.3 4.4-3 5-3.9 12.1-7 18.2-7.7l5-.6v12.8l11.2-11.3L62.5 22 51.2 10.8 40-.5v6.1zm10.2 22.6L44 34.5v-6.8l-6.9.6c-3.9.3-9.8 1.7-13.2 3.1-3.5 1.4-6.5 2.4-6.7 2.2-.9-1 3-7.5 6.4-10.8C28 18.6 34.4 16 40.1 16c3.7 0 3.9-.1 3.9-3.2V9.5l6.2 6.3 6.3 6.2-6.3 6.2z"}),(0,f.jsx)("path",{stroke:"currentColor",fill:"currentColor",d:"M0 36v20h48v-6.2c0-6 0-6.1-2-4.3-1.1 1-2 2.9-2 4.2V52H4V34c0-17.3-.1-18-2-18s-2 .7-2 20z"})]}),{width:64,height:64}),S((0,f.jsx)("path",{stroke:"currentColor",strokeWidth:"40",fill:"currentColor",d:"M148 560a318 318 0 0 0 522 110 316 316 0 0 0 0-450 316 316 0 0 0-450 0c-11 11-21 22-30 34v4h47c25 0 46 21 46 46s-21 45-46 45H90c-13 0-25-6-33-14-9-9-14-20-14-33V156c0-25 20-45 45-45s45 20 45 45v32l1 1a401 401 0 0 1 623 509l212 212a42 42 0 0 1-59 59L698 757A401 401 0 0 1 65 570a42 42 0 0 1 83-10z"}),{width:1024}),S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{d:"M13.889 4.167H8.333c-.767 0-1.389.622-1.389 1.389v5.555c0 .767.622 1.389 1.39 1.389h5.555c.767 0 1.389-.622 1.389-1.389V5.556c0-.767-.622-1.39-1.39-1.39Z",fill:"currentColor"}),(0,f.jsx)("path",{d:"M12.5 12.5v1.389a1.389 1.389 0 0 1-1.389 1.389H5.556a1.389 1.389 0 0 1-1.39-1.39V8.334a1.389 1.389 0 0 1 1.39-1.389h1.388"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce)),$=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.944 12.5H12.5v1.389a1.389 1.389 0 0 1-1.389 1.389H5.556a1.389 1.389 0 0 1-1.39-1.39V8.334a1.389 1.389 0 0 1 1.39-1.389h1.388",fill:"currentColor"}),(0,f.jsx)("path",{d:"M13.889 4.167H8.333c-.767 0-1.389.621-1.389 1.389v5.555c0 .767.622 1.389 1.39 1.389h5.555c.767 0 1.389-.622 1.389-1.389V5.556c0-.768-.622-1.39-1.39-1.39Z"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),Q=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M8.775 6.458h2.45a2.316 2.316 0 0 1 2.317 2.316v2.452a2.316 2.316 0 0 1-2.316 2.316H8.774a2.316 2.316 0 0 1-2.317-2.316V8.774a2.316 2.316 0 0 1 2.317-2.316Z",fill:"currentColor"}),(0,f.jsx)("path",{d:"M5.441 9.792h2.451a2.316 2.316 0 0 1 2.316 2.316v2.45a2.316 2.316 0 0 1-2.316 2.317h-2.45a2.316 2.316 0 0 1-2.317-2.316v-2.451a2.316 2.316 0 0 1 2.316-2.316ZM12.108 3.125h2.45a2.316 2.316 0 0 1 2.317 2.316v2.451a2.316 2.316 0 0 1-2.316 2.316h-2.451a2.316 2.316 0 0 1-2.316-2.316v-2.45a2.316 2.316 0 0 1 2.316-2.317Z"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),ae=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",children:[(0,f.jsx)("path",{d:"M5.441 9.792h2.451a2.316 2.316 0 0 1 2.316 2.316v2.45a2.316 2.316 0 0 1-2.316 2.317h-2.45a2.316 2.316 0 0 1-2.317-2.316v-2.451a2.316 2.316 0 0 1 2.316-2.316Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,f.jsx)("path",{d:"M5.441 9.792h2.451a2.316 2.316 0 0 1 2.316 2.316v2.45a2.316 2.316 0 0 1-2.316 2.317h-2.45a2.316 2.316 0 0 1-2.317-2.316v-2.451a2.316 2.316 0 0 1 2.316-2.316Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,f.jsx)("mask",{id:"SendToBackIcon",fill:"#fff",children:(0,f.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.167 5.833v2.06a2.941 2.941 0 0 0 2.94 2.94h2.06v.393a2.941 2.941 0 0 1-2.941 2.94h-.393v-2.058a2.941 2.941 0 0 0-2.94-2.941h-2.06v-.393a2.941 2.941 0 0 1 2.942-2.94h.392Z"})}),(0,f.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.167 5.833v2.06a2.941 2.941 0 0 0 2.94 2.94h2.06v.393a2.941 2.941 0 0 1-2.941 2.94h-.393v-2.058a2.941 2.941 0 0 0-2.94-2.941h-2.06v-.393a2.941 2.941 0 0 1 2.942-2.94h.392Z",fill:"currentColor"}),(0,f.jsx)("path",{d:"M9.167 5.833h1.25v-1.25h-1.25v1.25Zm5 5h1.25v-1.25h-1.25v1.25Zm-3.334 3.334h-1.25v1.25h1.25v-1.25Zm-5-5h-1.25v1.25h1.25v-1.25Zm2.084-3.334v2.06h2.5v-2.06h-2.5Zm0 2.06a4.191 4.191 0 0 0 4.19 4.19v-2.5a1.691 1.691 0 0 1-1.69-1.69h-2.5Zm4.19 4.19h2.06v-2.5h-2.06v2.5Zm.81-1.25v.393h2.5v-.393h-2.5Zm0 .393c0 .933-.758 1.69-1.691 1.69v2.5a4.191 4.191 0 0 0 4.19-4.19h-2.5Zm-1.691 1.69h-.393v2.5h.393v-2.5Zm.857 1.25v-2.058h-2.5v2.059h2.5Zm0-2.058a4.191 4.191 0 0 0-4.19-4.191v2.5c.933 0 1.69.757 1.69 1.69h2.5Zm-4.19-4.191h-2.06v2.5h2.06v-2.5Zm-.81 1.25v-.393h-2.5v.393h2.5Zm0-.393c0-.934.758-1.69 1.692-1.69v-2.5a4.191 4.191 0 0 0-4.192 4.19h2.5Zm1.692-1.69h.392v-2.5h-.392v2.5Z",fill:"currentColor",mask:"url(#SendToBackIcon)"}),(0,f.jsx)("path",{d:"M12.108 3.125h2.45a2.316 2.316 0 0 1 2.317 2.316v2.451a2.316 2.316 0 0 1-2.316 2.316h-2.451a2.316 2.316 0 0 1-2.316-2.316v-2.45a2.316 2.316 0 0 1 2.316-2.317Z",stroke:"currentColor",strokeWidth:"1.25"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),be=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M3.333 3.333h13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M13.542 6.458h-.417c-.92 0-1.667.747-1.667 1.667v7.083c0 .92.746 1.667 1.667 1.667h.417c.92 0 1.666-.746 1.666-1.667V8.125c0-.92-.746-1.667-1.666-1.667ZM6.875 6.458h-.417c-.92 0-1.666.747-1.666 1.667v3.75c0 .92.746 1.667 1.666 1.667h.417c.92 0 1.667-.746 1.667-1.667v-3.75c0-.92-.747-1.667-1.667-1.667Z"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),Ce=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M3.333 16.667h13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M6.875 3.125h-.417c-.92 0-1.666.746-1.666 1.667v7.083c0 .92.746 1.667 1.666 1.667h.417c.92 0 1.667-.746 1.667-1.667V4.792c0-.92-.747-1.667-1.667-1.667ZM13.542 5.817h-.417c-.92 0-1.667.747-1.667 1.667v4.391c0 .92.746 1.667 1.667 1.667h.417c.92 0 1.666-.746 1.666-1.667V7.484c0-.92-.746-1.667-1.666-1.667Z"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),Ze=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M3.333 3.333v13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M15.208 4.792H8.125c-.92 0-1.667.746-1.667 1.666v.417c0 .92.747 1.667 1.667 1.667h7.083c.92 0 1.667-.747 1.667-1.667v-.417c0-.92-.746-1.666-1.667-1.666ZM12.516 11.458H8.125c-.92 0-1.667.746-1.667 1.667v.417c0 .92.747 1.666 1.667 1.666h4.391c.92 0 1.667-.746 1.667-1.666v-.417c0-.92-.746-1.667-1.667-1.667Z"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),Be=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M16.667 3.333v13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M11.875 4.792H4.792c-.92 0-1.667.746-1.667 1.666v.417c0 .92.746 1.667 1.667 1.667h7.083c.92 0 1.667-.747 1.667-1.667v-.417c0-.92-.746-1.666-1.667-1.666ZM11.683 11.458H7.292c-.92 0-1.667.746-1.667 1.667v.417c0 .92.746 1.666 1.667 1.666h4.39c.921 0 1.667-.746 1.667-1.666v-.417c0-.92-.746-1.667-1.666-1.667Z"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),Te=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M16.667 3.333v13.334M3.333 3.333v13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M14.375 10.208v-.416c0-.92-.746-1.667-1.667-1.667H7.292c-.92 0-1.667.746-1.667 1.667v.416c0 .92.746 1.667 1.667 1.667h5.416c.92 0 1.667-.746 1.667-1.667Z"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),He=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M3.333 3.333h13.334M3.333 16.667h13.334",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M10.208 5.625h-.416c-.92 0-1.667.746-1.667 1.667v5.416c0 .92.746 1.667 1.667 1.667h.416c.92 0 1.667-.746 1.667-1.667V7.292c0-.92-.746-1.667-1.667-1.667Z"})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),Ve=S((0,f.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M1.667 10h2.916",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M8.333 10h3.334",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M15.417 10h2.916",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M6.875 4.792h-.417c-.92 0-1.666.746-1.666 1.666v7.084c0 .92.746 1.666 1.666 1.666h.417c.92 0 1.667-.746 1.667-1.666V6.458c0-.92-.747-1.666-1.667-1.666ZM13.542 6.458h-.417c-.92 0-1.667.747-1.667 1.667v3.75c0 .92.746 1.667 1.667 1.667h.417c.92 0 1.666-.746 1.666-1.667v-3.75c0-.92-.746-1.667-1.666-1.667Z"})]}),ce),Je=S((0,f.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M10 18.333v-2.916",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M10 11.667V8.333",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M10 4.583V1.667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M4.792 13.125v.417c0 .92.746 1.666 1.666 1.666h7.084c.92 0 1.666-.746 1.666-1.666v-.417c0-.92-.746-1.667-1.666-1.667H6.458c-.92 0-1.666.746-1.666 1.667ZM6.458 6.458v.417c0 .92.747 1.667 1.667 1.667h3.75c.92 0 1.667-.747 1.667-1.667v-.417c0-.92-.746-1.666-1.667-1.666h-3.75c-.92 0-1.667.746-1.667 1.666Z"})]}),ce),Me=S((0,f.jsxs)("g",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,f.jsx)("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),(0,f.jsx)("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),(0,f.jsx)("path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"})]}),J),me=(S("M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"),S("M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm96 328c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16v160z"),S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,f.jsx)("path",{d:"M15 5 5 15M5 5l10 10"})}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce)),Se=S("M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z",{width:320,height:512,style:{marginLeft:"-0.2rem"},mirror:!0}),Ne=(S("M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z",{mirror:!0}),S("M11.553 22.894a.998.998 0 00.894 0s3.037-1.516 5.465-4.097C19.616 16.987 21 14.663 21 12V5a1 1 0 00-.649-.936l-8-3a.998.998 0 00-.702 0l-8 3A1 1 0 003 5v7c0 2.663 1.384 4.987 3.088 6.797 2.428 2.581 5.465 4.097 5.465 4.097zm-1.303-8.481l6.644-6.644a.856.856 0 111.212 1.212l-7.25 7.25a.856.856 0 01-1.212 0l-3.75-3.75a.856.856 0 111.212-1.212l3.144 3.144z",{width:24}),S("M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z",{width:384,height:512}),v().memo(function(sr){var fr=sr.theme;return S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{d:"M25 26H111V111H25",fill:"var(--icon-fill-color)"}),(0,f.jsx)("path",{d:"M25 111C25 80.2068 25 49.4135 25 26M25 26C48.6174 26 72.2348 26 111 26H25ZM25 26C53.3671 26 81.7343 26 111 26H25ZM111 26C111 52.303 111 78.606 111 111V26ZM111 26C111 51.2947 111 76.5893 111 111V26ZM111 111C87.0792 111 63.1585 111 25 111H111ZM111 111C87.4646 111 63.9293 111 25 111H111ZM25 111C25 81.1514 25 51.3028 25 26V111Z",stroke:"var(--icon-fill-color)",strokeWidth:"2"}),(0,f.jsx)("path",{d:"M100 100H160V160H100",fill:"var(--icon-fill-color)"}),(0,f.jsx)("path",{d:"M100 160C100 144.106 100 128.211 100 100M100 100C117.706 100 135.412 100 160 100H100ZM100 100C114.214 100 128.428 100 160 100H100ZM160 100C160 120.184 160 140.369 160 160V100ZM160 100C160 113.219 160 126.437 160 160V100ZM160 160C145.534 160 131.068 160 100 160H160ZM160 160C143.467 160 126.934 160 100 160H160ZM100 160C100 143.661 100 127.321 100 100V160Z",stroke:"var(--icon-fill-color)",strokeWidth:"2"}),(0,f.jsxs)("g",{fill:k(fr),stroke:"var(--icon-fill-color)",strokeWidth:"6",children:[(0,f.jsx)("rect",{x:"2.5",y:"2.5",width:"30",height:"30"}),(0,f.jsx)("rect",{x:"2.5",y:"149.5",width:"30",height:"30"}),(0,f.jsx)("rect",{x:"147.5",y:"149.5",width:"30",height:"30"}),(0,f.jsx)("rect",{x:"147.5",y:"2.5",width:"30",height:"30"})]})]}),{width:182,height:182,mirror:!0})})),Ye=v().memo(function(sr){var fr=sr.theme;return S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{d:"M25 26H111V111H25",fill:"var(--icon-fill-color)"}),(0,f.jsx)("path",{d:"M25 111C25 80.2068 25 49.4135 25 26M25 26C48.6174 26 72.2348 26 111 26H25ZM25 26C53.3671 26 81.7343 26 111 26H25ZM111 26C111 52.303 111 78.606 111 111V26ZM111 26C111 51.2947 111 76.5893 111 111V26ZM111 111C87.0792 111 63.1585 111 25 111H111ZM111 111C87.4646 111 63.9293 111 25 111H111ZM25 111C25 81.1514 25 51.3028 25 26V111Z",stroke:"var(--icon-fill-color)",strokeWidth:"2"}),(0,f.jsx)("path",{d:"M100 100H160V160H100",fill:"var(--icon-fill-color)"}),(0,f.jsx)("path",{d:"M100 160C100 144.106 100 128.211 100 100M100 100C117.706 100 135.412 100 160 100H100ZM100 100C114.214 100 128.428 100 160 100H100ZM160 100C160 120.184 160 140.369 160 160V100ZM160 100C160 113.219 160 126.437 160 160V100ZM160 160C145.534 160 131.068 160 100 160H160ZM160 160C143.467 160 126.934 160 100 160H160ZM100 160C100 143.661 100 127.321 100 100V160Z",stroke:"var(--icon-fill-color)",strokeWidth:"2"}),(0,f.jsxs)("g",{fill:k(fr),stroke:"var(--icon-fill-color)",strokeWidth:"6",children:[(0,f.jsx)("rect",{x:"2.5",y:"2.5",width:"30",height:"30"}),(0,f.jsx)("rect",{x:"78.5",y:"149.5",width:"30",height:"30"}),(0,f.jsx)("rect",{x:"147.5",y:"149.5",width:"30",height:"30"}),(0,f.jsx)("rect",{x:"147.5",y:"78.5",width:"30",height:"30"}),(0,f.jsx)("rect",{x:"105.5",y:"2.5",width:"30",height:"30"}),(0,f.jsx)("rect",{x:"2.5",y:"102.5",width:"30",height:"30"})]})]}),{width:182,height:182,mirror:!0})}),Qe=S((0,f.jsx)("g",{strokeWidth:1.25,children:(0,f.jsx)("path",{d:"M5.879 2.625h8.242a3.27 3.27 0 0 1 3.254 3.254v8.242a3.27 3.27 0 0 1-3.254 3.254H5.88a3.27 3.27 0 0 1-3.254-3.254V5.88A3.27 3.27 0 0 1 5.88 2.626l-.001-.001ZM4.518 16.118l7.608-12.83m.198 13.934 5.051-9.897M2.778 9.675l9.348-6.387m-7.608 12.83 12.857-8.793"})}),ce),rt=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{d:"M5.879 2.625h8.242a3.254 3.254 0 0 1 3.254 3.254v8.242a3.254 3.254 0 0 1-3.254 3.254H5.88a3.254 3.254 0 0 1-3.254-3.254V5.88a3.254 3.254 0 0 1 3.254-3.254Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,f.jsx)("mask",{id:"FillHachureIcon",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:2,y:2,width:16,height:16,children:(0,f.jsx)("path",{d:"M5.879 2.625h8.242a3.254 3.254 0 0 1 3.254 3.254v8.242a3.254 3.254 0 0 1-3.254 3.254H5.88a3.254 3.254 0 0 1-3.254-3.254V5.88a3.254 3.254 0 0 1 3.254-3.254Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.25"})}),(0,f.jsx)("g",{mask:"url(#FillHachureIcon)",children:(0,f.jsx)("path",{d:"M2.258 15.156 15.156 2.258M7.324 20.222 20.222 7.325m-20.444 5.35L12.675-.222m-8.157 18.34L17.416 5.22",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})]}),ce),ft=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("g",{clipPath:"url(#a)",children:[(0,f.jsx)("path",{d:"M5.879 2.625h8.242a3.254 3.254 0 0 1 3.254 3.254v8.242a3.254 3.254 0 0 1-3.254 3.254H5.88a3.254 3.254 0 0 1-3.254-3.254V5.88a3.254 3.254 0 0 1 3.254-3.254Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,f.jsx)("mask",{id:"FillCrossHatchIcon",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:-1,y:-1,width:22,height:22,children:(0,f.jsx)("path",{d:"M2.426 15.044 15.044 2.426M7.383 20 20 7.383M0 12.617 12.617 0m-7.98 17.941L17.256 5.324m-2.211 12.25L2.426 4.956M20 12.617 7.383 0m5.234 20L0 7.383m17.941 7.98L5.324 2.745",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,f.jsx)("g",{mask:"url(#FillCrossHatchIcon)",children:(0,f.jsx)("path",{d:"M14.121 2H5.88A3.879 3.879 0 0 0 2 5.879v8.242A3.879 3.879 0 0 0 5.879 18h8.242A3.879 3.879 0 0 0 18 14.121V5.88A3.879 3.879 0 0 0 14.121 2Z",fill:"currentColor"})})]}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),at=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("g",{clipPath:"url(#a)",children:(0,f.jsx)("path",{d:"M4.91 2.625h10.18a2.284 2.284 0 0 1 2.285 2.284v10.182a2.284 2.284 0 0 1-2.284 2.284H4.909a2.284 2.284 0 0 1-2.284-2.284V4.909a2.284 2.284 0 0 1 2.284-2.284Z",stroke:"currentColor",strokeWidth:"1.25"})}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),W(W({},ce),{},{fill:"currentColor"})),ut=S((0,f.jsx)(f.Fragment,{children:(0,f.jsx)("path",{d:"M4.167 10h11.666",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),ce),Ot=S((0,f.jsx)("path",{d:"M5 10h10",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),ce),Pt=S((0,f.jsx)("path",{d:"M5 10h10",stroke:"currentColor",strokeWidth:"3.75",strokeLinecap:"round",strokeLinejoin:"round"}),ce),Et=S((0,f.jsxs)("g",{strokeWidth:"2",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M5 12h2"}),(0,f.jsx)("path",{d:"M17 12h2"}),(0,f.jsx)("path",{d:"M11 12h2"})]}),J),Mt=S((0,f.jsxs)("g",{strokeWidth:"2",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M4 12v.01"}),(0,f.jsx)("path",{d:"M8 12v.01"}),(0,f.jsx)("path",{d:"M12 12v.01"}),(0,f.jsx)("path",{d:"M16 12v.01"}),(0,f.jsx)("path",{d:"M20 12v.01"})]}),J),Yt=S((0,f.jsx)("path",{d:"M2.5 12.038c1.655-.885 5.9-3.292 8.568-4.354 2.668-1.063.101 2.821 1.32 3.104 1.218.283 5.112-1.814 5.112-1.814",strokeWidth:"1.25"}),ce),lt=S((0,f.jsx)("path",{d:"M2.5 12.563c1.655-.886 5.9-3.293 8.568-4.355 2.668-1.062.101 2.822 1.32 3.105 1.218.283 5.112-1.814 5.112-1.814m-13.469 2.23c2.963-1.586 6.13-5.62 7.468-4.998 1.338.623-1.153 4.11-.132 5.595 1.02 1.487 6.133-1.43 6.133-1.43",strokeWidth:"1.25"}),ce),ot=S((0,f.jsx)("path",{d:"M2.5 11.936c1.737-.879 8.627-5.346 10.42-5.268 1.795.078-.418 5.138.345 5.736.763.598 3.53-1.789 4.235-2.147M2.929 9.788c1.164-.519 5.47-3.28 6.987-3.114 1.519.165 1 3.827 2.121 4.109 1.122.281 3.839-2.016 4.606-2.42",strokeWidth:"1.25"}),ce),mt=S((0,f.jsxs)("svg",{strokeWidth:"1.5",children:[(0,f.jsx)("path",{d:"M3.33334 9.99998V6.66665C3.33334 6.04326 3.33403 4.9332 3.33539 3.33646C4.95233 3.33436 6.06276 3.33331 6.66668 3.33331H10"}),(0,f.jsx)("path",{d:"M13.3333 3.33331V3.34331"}),(0,f.jsx)("path",{d:"M16.6667 3.33331V3.34331"}),(0,f.jsx)("path",{d:"M16.6667 6.66669V6.67669"}),(0,f.jsx)("path",{d:"M16.6667 10V10.01"}),(0,f.jsx)("path",{d:"M3.33334 13.3333V13.3433"}),(0,f.jsx)("path",{d:"M16.6667 13.3333V13.3433"}),(0,f.jsx)("path",{d:"M3.33334 16.6667V16.6767"}),(0,f.jsx)("path",{d:"M6.66666 16.6667V16.6767"}),(0,f.jsx)("path",{d:"M10 16.6667V16.6767"}),(0,f.jsx)("path",{d:"M13.3333 16.6667V16.6767"}),(0,f.jsx)("path",{d:"M16.6667 16.6667V16.6767"})]}),ce),pt=S((0,f.jsxs)("g",{strokeWidth:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M4 12v-4a4 4 0 0 1 4 -4h4"}),(0,f.jsx)("line",{x1:"16",y1:"4",x2:"16",y2:"4.01"}),(0,f.jsx)("line",{x1:"20",y1:"4",x2:"20",y2:"4.01"}),(0,f.jsx)("line",{x1:"20",y1:"8",x2:"20",y2:"8.01"}),(0,f.jsx)("line",{x1:"20",y1:"12",x2:"20",y2:"12.01"}),(0,f.jsx)("line",{x1:"4",y1:"16",x2:"4",y2:"16.01"}),(0,f.jsx)("line",{x1:"20",y1:"16",x2:"20",y2:"16.01"}),(0,f.jsx)("line",{x1:"4",y1:"20",x2:"4",y2:"20.01"}),(0,f.jsx)("line",{x1:"8",y1:"20",x2:"8",y2:"20.01"}),(0,f.jsx)("line",{x1:"12",y1:"20",x2:"12",y2:"20.01"}),(0,f.jsx)("line",{x1:"16",y1:"20",x2:"16",y2:"20.01"}),(0,f.jsx)("line",{x1:"20",y1:"20",x2:"20",y2:"20.01"})]}),J),ht=S((0,f.jsx)("path",{d:"M6 10H34",stroke:"currentColor",strokeWidth:2,fill:"none"}),{width:40,height:20}),yt=v().memo(function(sr){var fr=sr.flip,pr=fr!==void 0&&fr;return S((0,f.jsxs)("g",{transform:pr?"translate(40, 0) scale(-1, 1)":"",stroke:"currentColor",strokeWidth:2,fill:"none",children:[(0,f.jsx)("path",{d:"M34 10H6M34 10L27 5M34 10L27 15"}),(0,f.jsx)("path",{d:"M27.5 5L34.5 10L27.5 15"})]}),{width:40,height:20})}),Ct=v().memo(function(sr){var fr=sr.flip,pr=fr!==void 0&&fr;return S((0,f.jsxs)("g",{stroke:"currentColor",fill:"currentColor",transform:pr?"translate(40, 0) scale(-1, 1)":"",children:[(0,f.jsx)("path",{d:"M32 10L6 10",strokeWidth:2}),(0,f.jsx)("circle",{r:"4",transform:"matrix(-1 0 0 1 30 10)"})]}),{width:40,height:20})}),Bt=v().memo(function(sr){var fr=sr.flip,pr=fr!==void 0&&fr;return S((0,f.jsx)("g",{transform:pr?"translate(40, 0) scale(-1, 1)":"",children:(0,f.jsx)("path",{d:"M34 10H5.99996M34 10L34 5M34 10L34 15",stroke:"currentColor",strokeWidth:2,fill:"none"})}),{width:40,height:20})}),zt=v().memo(function(sr){var fr=sr.flip,pr=fr!==void 0&&fr;return S((0,f.jsxs)("g",{stroke:"currentColor",fill:"currentColor",transform:pr?"translate(40, 0) scale(-1, 1)":"",children:[(0,f.jsx)("path",{d:"M32 10L6 10",strokeWidth:2}),(0,f.jsx)("path",{d:"M27.5 5.5L34.5 10L27.5 14.5L27.5 5.5"})]}),{width:40,height:20})}),tr=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("g",{clipPath:"url(#a)",children:(0,f.jsx)("path",{d:"M14.167 6.667a3.333 3.333 0 0 0-3.334-3.334H9.167a3.333 3.333 0 0 0 0 6.667h1.666a3.333 3.333 0 0 1 0 6.667H9.167a3.333 3.333 0 0 1-3.334-3.334",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),cr=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("g",{clipPath:"url(#a)",children:(0,f.jsx)("path",{d:"M5 16.667V3.333L10 15l5-11.667v13.334",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),mr=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("g",{clipPath:"url(#a)",children:(0,f.jsx)("path",{d:"M5.833 3.333v13.334h8.334",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),Ft=S((0,f.jsx)(f.Fragment,{children:(0,f.jsx)("path",{d:"m1.667 3.333 6.666 13.334M8.333 3.333 1.667 16.667M11.667 3.333v13.334h6.666",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),ce),xt=S((0,f.jsx)(f.Fragment,{children:(0,f.jsx)("g",{stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,f.jsx)("path",{d:"M5.833 16.667v-10a3.333 3.333 0 0 1 3.334-3.334h1.666a3.333 3.333 0 0 1 3.334 3.334v10M5.833 10.833h8.334"})})}),ce),At=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("g",{clipPath:"url(#a)",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,f.jsx)("path",{d:"M5.833 6.667 2.5 10l3.333 3.333M14.167 6.667 17.5 10l-3.333 3.333M11.667 3.333 8.333 16.667"})}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"a",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ce),Tt=S((0,f.jsxs)("g",{stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"4",y1:"8",x2:"20",y2:"8"}),(0,f.jsx)("line",{x1:"4",y1:"12",x2:"12",y2:"12"}),(0,f.jsx)("line",{x1:"4",y1:"16",x2:"16",y2:"16"})]}),J),nr=S((0,f.jsxs)("g",{stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"4",y1:"8",x2:"20",y2:"8"}),(0,f.jsx)("line",{x1:"8",y1:"12",x2:"16",y2:"12"}),(0,f.jsx)("line",{x1:"6",y1:"16",x2:"18",y2:"16"})]}),J),yr=S((0,f.jsxs)("g",{stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"4",y1:"8",x2:"20",y2:"8"}),(0,f.jsx)("line",{x1:"10",y1:"12",x2:"20",y2:"12"}),(0,f.jsx)("line",{x1:"8",y1:"16",x2:"20",y2:"16"})]}),J),kr=v().memo(function(sr){return sr.theme,S((0,f.jsxs)("g",{strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"4",y1:"4",x2:"20",y2:"4"}),(0,f.jsx)("rect",{x:"9",y:"8",width:"6",height:"12",rx:"2"})]}),J)}),Tr=v().memo(function(sr){return sr.theme,S((0,f.jsxs)("g",{strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"4",y1:"20",x2:"20",y2:"20"}),(0,f.jsx)("rect",{x:"9",y:"4",width:"6",height:"12",rx:"2"})]}),J)}),Or=v().memo(function(sr){return sr.theme,S((0,f.jsxs)("g",{strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("line",{x1:"4",y1:"12",x2:"9",y2:"12"}),(0,f.jsx)("line",{x1:"15",y1:"12",x2:"20",y2:"12"}),(0,f.jsx)("rect",{x:"9",y:"6",width:"6",height:"12",rx:"2"})]}),J)}),Rt=S((0,f.jsx)("path",{d:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z",fill:"currentColor"}),{width:640,height:512}),dt=(S((0,f.jsx)("path",{d:"M480 416C497.7 416 512 430.3 512 448C512 465.7 497.7 480 480 480H150.6C133.7 480 117.4 473.3 105.4 461.3L25.37 381.3C.3786 356.3 .3786 315.7 25.37 290.7L258.7 57.37C283.7 32.38 324.3 32.38 349.3 57.37L486.6 194.7C511.6 219.7 511.6 260.3 486.6 285.3L355.9 416H480zM265.4 416L332.7 348.7L195.3 211.3L70.63 336L150.6 416L265.4 416z"})),S((0,f.jsxs)("g",{strokeWidth:1.25,children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),(0,f.jsx)("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),(0,f.jsx)("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),(0,f.jsx)("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"})]}),J)),gt=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),(0,f.jsx)("path",{d:"M7 11l5 5l5 -5"}),(0,f.jsx)("path",{d:"M12 4l0 12"})]}),J),wt=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"}),(0,f.jsx)("path",{d:"M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"})]}),J),Ut=S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),(0,f.jsx)("path",{d:"M12 17l0 .01"}),(0,f.jsx)("path",{d:"M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4"})]}),J),ar=(S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M7 4v16l13 -8z"})]}),J),S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z",strokeWidth:"0",fill:"currentColor"})]}),J),S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M5 12l5 5l10 -10"})]}),J),S((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M10.24 3.957l-8.422 14.06a1.989 1.989 0 0 0 1.7 2.983h16.845a1.989 1.989 0 0 0 1.7 -2.983l-8.423 -14.06a1.989 1.989 0 0 0 -3.4 0z"}),(0,f.jsx)("path",{d:"M12 9v4"}),(0,f.jsx)("path",{d:"M12 17h.01"})]}),J)),ir=S((0,f.jsxs)("g",{strokeWidth:1.25,children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M11 7l6 6"}),(0,f.jsx)("path",{d:"M4 16l11.7 -11.7a1 1 0 0 1 1.4 0l2.6 2.6a1 1 0 0 1 0 1.4l-11.7 11.7h-4v-4z"})]}),J),dr=S((0,f.jsxs)("g",{strokeWidth:1.5,children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M12 3l-4 7h8z"}),(0,f.jsx)("path",{d:"M17 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),(0,f.jsx)("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"})]}),J),br=S((0,f.jsxs)("g",{strokeWidth:1.5,children:[(0,f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,f.jsx)("path",{d:"M4 7l16 0"}),(0,f.jsx)("path",{d:"M4 17l16 0"}),(0,f.jsx)("path",{d:"M7 4l0 16"}),(0,f.jsx)("path",{d:"M17 4l0 16"})]}),J),hr=S((0,f.jsx)("path",{fill:"currentColor",d:"M407.48,111.18C335.587,108.103 269.573,152.338 245.08,220C220.587,152.338 154.573,108.103 82.68,111.18C80.285,168.229 107.577,222.632 154.74,254.82C178.908,271.419 193.35,298.951 193.27,328.27L193.27,379.13L296.9,379.13L296.9,328.27C296.816,298.953 311.255,271.42 335.42,254.82C382.596,222.644 409.892,168.233 407.48,111.18Z"})),Ir=S((0,f.jsxs)("g",{strokeWidth:"1.25",children:[(0,f.jsx)("path",{d:"M4.16602 10H15.8327"}),(0,f.jsx)("path",{d:"M12.5 13.3333L15.8333 10"}),(0,f.jsx)("path",{d:"M12.5 6.66666L15.8333 9.99999"})]}),ce),wr=S((0,f.jsxs)("g",{fill:"none",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",transform:"rotate(90 10 10)",children:[(0,f.jsx)("path",{clipRule:"evenodd",d:"m9.644 13.69 7.774-7.773a2.357 2.357 0 0 0-3.334-3.334l-7.773 7.774L8 12l1.643 1.69Z"}),(0,f.jsx)("path",{d:"m13.25 3.417 3.333 3.333M10 10l2-2M5 15l3-3M2.156 17.894l1-1M5.453 19.029l-.144-1.407M2.377 11.887l.866 1.118M8.354 17.273l-1.194-.758M.953 14.652l1.408.13"})]}),20)},7021:function(fe,t,e){e.d(t,{Z:function(){return Re}});var P={};e.r(P),e.d(P,{ChangeCanvasBackground:function(){return te},ClearCanvas:function(){return F},Export:function(){return re},Help:function(){return D},LiveCollaborationTrigger:function(){return Y},LoadScene:function(){return L},SaveAsImage:function(){return E},SaveToActiveFile:function(){return _},Socials:function(){return oe},ToggleTheme:function(){return ee}});var w=e(8242),m=e(7104),v=e(8950),I=e(2975),x=e.n(I),c=e(2529),f=e(8227),Z=e(8935),N=e(5735),W=e(3858),k=e(5463),S=e(3379),J=e.n(S),ce=e(7795),he=e.n(ce),ve=e(569),le=e.n(ve),G=e(3565),U=e.n(G),H=e(9216),M=e.n(H),A=e(4589),b=e.n(A),y=e(4343),h={};h.styleTagTransform=b(),h.setAttributes=U(),h.insert=le().bind(null,"head"),h.domAPI=he(),h.insertStyleElement=M(),J()(y.Z,h),y.Z&&y.Z.locals&&y.Z.locals;var d=e(45),r=e(3607),n=e(8973),p=e(453),a=e(100),l=e(7827),u=e(9247),C=e(1020),L=function(){var je=(0,f.QT)().t,ye=(0,w.eh)(),Ee=(0,w.bd)();if(!ye.isActionEnabled(k._d))return null;var Oe=function(){var ge=(0,v.Z)(x().mark(function ue(){return x().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:if(se.t0=!Ee.length,se.t0){se.next=5;break}return se.next=4,(0,l._)({title:je("overwriteConfirm.modal.loadFromFile.title"),actionLabel:je("overwriteConfirm.modal.loadFromFile.button"),color:"warning",description:(0,C.jsx)(u.Z,{i18nKey:"overwriteConfirm.modal.loadFromFile.description",bold:function(j){return(0,C.jsx)("strong",{children:j})},br:function(){return(0,C.jsx)("br",{})}})});case 4:se.t0=se.sent;case 5:if(!se.t0){se.next=7;break}ye.executeAction(k._d);case 7:case"end":return se.stop()}},ue)}));return function(){return ge.apply(this,arguments)}}();return(0,C.jsx)(N.Z,{icon:Z.Tl,onSelect:Oe,"data-testid":"load-button",shortcut:(0,c.C)("loadScene"),"aria-label":je("buttons.load"),children:je("buttons.load")})};L.displayName="LoadScene";var _=function(){var je=(0,f.QT)().t,ye=(0,w.eh)();return ye.isActionEnabled(k.ns)?(0,C.jsx)(N.Z,{shortcut:(0,c.C)("saveScene"),"data-testid":"save-button",onSelect:function(){return ye.executeAction(k.ns)},icon:Z.a1,"aria-label":"".concat(je("buttons.save")),children:"".concat(je("buttons.save"))}):null};_.displayName="SaveToActiveFile";var E=function(){var je=(0,w.n9)(),ye=(0,f.QT)().t;return(0,C.jsx)(N.Z,{icon:Z.J8,"data-testid":"image-export-button",onSelect:function(){return je({openDialog:"imageExport"})},shortcut:(0,c.C)("imageExport"),"aria-label":ye("buttons.exportImage"),children:ye("buttons.exportImage")})};E.displayName="SaveAsImage";var D=function(){var je=(0,f.QT)().t,ye=(0,w.eh)();return(0,C.jsx)(N.Z,{"data-testid":"help-menu-item",icon:Z.by,onSelect:function(){return ye.executeAction(k.jY)},shortcut:"?","aria-label":je("helpDialog.title"),children:je("helpDialog.title")})};D.displayName="Help";var F=function(){var je=(0,f.QT)().t,ye=(0,r.b9)(n.w,p.yE);return(0,w.eh)().isActionEnabled(k.mo)?(0,C.jsx)(N.Z,{icon:Z.XH,onSelect:function(){return ye("clearCanvas")},"data-testid":"clear-canvas-button","aria-label":je("buttons.clearReset"),children:je("buttons.clearReset")}):null};F.displayName="ClearCanvas";var ee=function(){var je=(0,f.QT)().t,ye=(0,a.I)(),Ee=(0,w.eh)();return Ee.isActionEnabled(k.Zp)?(0,C.jsx)(N.Z,{onSelect:function(Oe){return Oe.preventDefault(),Ee.executeAction(k.Zp)},icon:ye.theme==="dark"?Z.NW:Z.kL,"data-testid":"toggle-dark-mode",shortcut:(0,c.C)("toggleTheme"),"aria-label":ye.theme==="dark"?je("buttons.lightMode"):je("buttons.darkMode"),children:ye.theme==="dark"?je("buttons.lightMode"):je("buttons.darkMode")}):null};ee.displayName="ToggleTheme";var te=function(){var je=(0,f.QT)().t,ye=(0,a.I)(),Ee=(0,w.eh)(),Oe=(0,w.hY)();return ye.viewModeEnabled||!Oe.UIOptions.canvasActions.changeViewBackgroundColor?null:(0,C.jsxs)("div",{style:{marginTop:"0.5rem"},children:[(0,C.jsx)("div",{"data-testid":"canvas-background-label",style:{fontSize:".75rem",marginBottom:".5rem"},children:je("labels.canvasBackground")}),(0,C.jsx)("div",{style:{padding:"0 0.625rem"},children:Ee.renderAction("changeViewBackgroundColor")})]})};te.displayName="ChangeCanvasBackground";var re=function(){var je=(0,f.QT)().t,ye=(0,w.n9)();return(0,C.jsx)(N.Z,{icon:Z.Hy,onSelect:function(){ye({openDialog:"jsonExport"})},"data-testid":"json-export-button","aria-label":je("buttons.export"),children:je("buttons.export")})};re.displayName="Export";var oe=function(){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(W.Z,{icon:Z.ET,href:"https://github.com/excalidraw/excalidraw","aria-label":"GitHub",children:"GitHub"}),(0,C.jsx)(W.Z,{icon:Z.D7,href:"https://discord.gg/UexuTaE","aria-label":"Discord",children:"Discord"}),(0,C.jsx)(W.Z,{icon:Z.Zm,href:"https://twitter.com/excalidraw","aria-label":"Twitter",children:"Twitter"})]})};oe.displayName="Socials";var Y=function(je){var ye=je.onSelect,Ee=je.isCollaborating,Oe=(0,f.QT)().t;return(0,C.jsx)(N.Z,{"data-testid":"collab-button",icon:Z.jn,className:(0,d.Z)({"active-collab":Ee}),onSelect:ye,children:Oe("labels.liveCollaboration")})};Y.displayName="LiveCollaborationTrigger";var V=e(4704),ie=e(6922),we=e(9827),Ae=e(4572),Re=Object.assign((0,ie.$)("MainMenu",function(je){var ye=je.children,Ee=je.onSelect,Oe=(0,Ae.R6)().MainMenuTunnel,ge=(0,w.Fy)(),ue=(0,a.I)(),se=(0,w.n9)(),j=ge.editor.isMobile?void 0:function(){return se({openMenu:null})};return(0,C.jsx)(Oe.In,{children:(0,C.jsxs)(m.Z,{open:ue.openMenu==="canvas",children:[(0,C.jsx)(m.Z.Trigger,{onToggle:function(){se({openMenu:ue.openMenu==="canvas"?null:"canvas"})},"data-testid":"main-menu-trigger",className:"main-menu-trigger",children:Z.RY}),(0,C.jsxs)(m.Z.Content,{onClickOutside:j,onSelect:(0,we.Mj)(Ee,function(){se({openMenu:null})}),children:[ye,ge.editor.isMobile&&ue.collaborators.size>0&&(0,C.jsxs)("fieldset",{className:"UserList-Wrapper",children:[(0,C.jsx)("legend",{children:(0,f.t)("labels.collaborators")}),(0,C.jsx)(V.Z,{mobile:!0,collaborators:ue.collaborators})]})]})]})})}),{Trigger:m.Z.Trigger,Item:m.Z.Item,ItemLink:m.Z.ItemLink,ItemCustom:m.Z.ItemCustom,Group:m.Z.Group,Separator:m.Z.Separator,DefaultItems:P})},9937:function(fe,t,e){e.d(t,{wL:function(){return je},iC:function(){return h},vL:function(){return rt},bY:function(){return Qe},gK:function(){return Ye},$C:function(){return D},oc:function(){return u},_9:function(){return Pt},HN:function(){return ot},qy:function(){return Je},rk:function(){return V},n5:function(){return Y},h6:function(){return Me},Rx:function(){return Ot},Cc:function(){return pt},Hg:function(){return ie},cW:function(){return ae},hs:function(){return we},f:function(){return d},xY:function(){return ut},Iw:function(){return n},$e:function(){return p},Vi:function(){return E},Ks:function(){return G},r8:function(){return Oe},I_:function(){return Ee},ZB:function(){return Ve},pb:function(){return ge},ut:function(){return F},iG:function(){return te},k:function(){return Ae},sA:function(){return z},KL:function(){return Re},LL:function(){return ue},PR:function(){return ht},tf:function(){return mt},EE:function(){return Te},qx:function(){return r},$n:function(){return me},zK:function(){return He},LO:function(){return ye},CP:function(){return oe},Zj:function(){return O},Yx:function(){return Ze},sS:function(){return Ce},kV:function(){return be},sk:function(){return Be},Oh:function(){return C},XI:function(){return L},WR:function(){return Mt},$h:function(){return Yt},a6:function(){return Et},HM:function(){return i},ay:function(){return l},dg:function(){return lt},hR:function(){return Se},Gj:function(){return se},I8:function(){return at},wZ:function(){return a},C6:function(){return ee},ZF:function(){return K},nM:function(){return j},ah:function(){return Q},UO:function(){return $},Kr:function(){return Ne},oX:function(){return ft},_D:function(){return re},vf:function(){return _},V4:function(){return s},Dt:function(){return M},jP:function(){return y},Um:function(){return U},vU:function(){return A},G6:function(){return b},ED:function(){return H}});var P=e(7169),w=e(3379),m=e.n(w),v=e(7795),I=e.n(v),x=e(569),c=e.n(x),f=e(3565),Z=e.n(f),N=e(9216),W=e.n(N),k=e(4589),S=e.n(k),J=e(6464),ce={};ce.styleTagTransform=S(),ce.setAttributes=Z(),ce.insert=c().bind(null,"head"),ce.domAPI=I(),ce.insertStyleElement=W(),m()(J.Z,ce);var he=J.Z&&J.Z.locals?J.Z.locals:void 0,ve=e(9240);function le(yt,Ct){var Bt=Object.keys(yt);if(Object.getOwnPropertySymbols){var zt=Object.getOwnPropertySymbols(yt);Ct&&(zt=zt.filter(function(tr){return Object.getOwnPropertyDescriptor(yt,tr).enumerable})),Bt.push.apply(Bt,zt)}return Bt}var G,U=/Mac|iPod|iPhone|iPad/.test(navigator.platform),H=/^Win/.test(navigator.platform),M=/\b(android)\b/i.test(navigator.userAgent),A="netscape"in window&&navigator.userAgent.indexOf("rv:")>1&&navigator.userAgent.indexOf("Gecko")>1,b=navigator.userAgent.indexOf("Chrome")===-1&&navigator.userAgent.indexOf("Safari")!==-1,y=function(){var yt,Ct;return((yt=navigator.brave)===null||yt===void 0||(Ct=yt.isBrave)===null||Ct===void 0?void 0:Ct.name)==="isBrave"},h="Excalidraw",d=10,r=8,n=5,p=1,a=30,l=Math.PI/12,u={TEXT:"text",CROSSHAIR:"crosshair",GRABBING:"grabbing",GRAB:"grab",POINTER:"pointer",MOVE:"move",AUTO:""},C={MAIN:0,WHEEL:1,SECONDARY:2,TOUCH:-1},L={enabled:"all",disabled:"none",inheritFromUI:"var(--ui-pointerEvents)"};(function(yt){yt.COPY="copy",yt.PASTE="paste",yt.CUT="cut",yt.KEYDOWN="keydown",yt.KEYUP="keyup",yt.MOUSE_MOVE="mousemove",yt.RESIZE="resize",yt.UNLOAD="unload",yt.FOCUS="focus",yt.BLUR="blur",yt.DRAG_OVER="dragover",yt.DROP="drop",yt.GESTURE_END="gestureend",yt.BEFORE_UNLOAD="beforeunload",yt.GESTURE_START="gesturestart",yt.GESTURE_CHANGE="gesturechange",yt.POINTER_MOVE="pointermove",yt.POINTER_DOWN="pointerdown",yt.POINTER_UP="pointerup",yt.STATE_CHANGE="statechange",yt.WHEEL="wheel",yt.TOUCH_START="touchstart",yt.TOUCH_END="touchend",yt.HASHCHANGE="hashchange",yt.VISIBILITY_CHANGE="visibilitychange",yt.SCROLL="scroll",yt.EXCALIDRAW_LINK="excalidraw-link",yt.MENU_ITEM_SELECT="menu.itemSelect",yt.MESSAGE="message"})(G||(G={}));var _={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5},E={TEST:"test",DEVELOPMENT:"development"},D={SHAPE_ACTIONS_MENU:"App-menu__left"},F={Virgil:1,Helvetica:2,Cascadia:3,Assistant:4},ee={LIGHT:"light",DARK:"dark"},te={strokeColor:"#bbb",strokeWidth:2,strokeStyle:"solid",fillStyle:"solid",roughness:0,roundness:null,backgroundColor:"transparent",radius:8,nameOffsetY:3,nameColorLightTheme:"#999999",nameColorDarkTheme:"#7a7a7a",nameFontSize:14,nameLineHeight:1.25},re="Segoe UI Emoji",oe=1,Y=20,V=F.Virgil,ie="left",we="top",Ae=20,Re={svg:"image/svg+xml",png:"image/png",jpg:"image/jpeg",gif:"image/gif",webp:"image/webp",bmp:"image/bmp",ico:"image/x-icon",avif:"image/avif",jfif:"image/jfif"},je=["text/plain","text/html"],ye=function(yt){for(var Ct=1;Ct<arguments.length;Ct++){var Bt=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?le(Object(Bt),!0).forEach(function(zt){(0,P.Z)(yt,zt,Bt[zt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(yt,Object.getOwnPropertyDescriptors(Bt)):le(Object(Bt)).forEach(function(zt){Object.defineProperty(yt,zt,Object.getOwnPropertyDescriptor(Bt,zt))})}return yt}({json:"application/json",excalidraw:"application/vnd.excalidraw+json",excalidrawlib:"application/vnd.excalidrawlib+json","excalidraw.svg":"image/svg+xml","excalidraw.png":"image/png",binary:"application/octet-stream"},Re),Ee={png:"png",svg:"svg",clipboard:"clipboard"},Oe={excalidraw:"excalidraw",excalidrawClipboard:"excalidraw/clipboard",excalidrawLibrary:"excalidrawlib",excalidrawClipboardWithAPI:"excalidraw-api/clipboard"},ge=window.EXCALIDRAW_EXPORT_SOURCE||window.location.origin,ue=500,se=300,j=500,i=100,s=.1,O=.1,z=300,K=he.themeFilter,$={addLibrary:"addLibrary"},Q={addLibrary:"addLibrary"},ae={canvasActions:{changeViewBackgroundColor:!0,clearCanvas:!0,export:{saveFileToDisk:!0},loadScene:!0,saveToActiveFile:!0,toggleTheme:null,saveAsImage:!0},tools:{image:!0}},be=730,Ce=1e3,Ze=500,Be=1229,Te=parseInt(he.rightSidebarWidth),He=2,Ve=[1,2,3],Je=10,Me=1440,me=2097152,Se="http://www.w3.org/2000/svg",Ne={excalidraw:2,excalidrawLibrary:2},Ye=5,Qe=.7,rt=11,ft={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom"},at={LEFT:"left",CENTER:"center",RIGHT:"right"},ut=20,Ot=.25,Pt=32,Et={LEGACY:1,PROPORTIONAL_RADIUS:2,ADAPTIVE_RADIUS:3},Mt="__precedingElement__",Yt={architect:0,artist:1,cartoonist:2},lt={thin:1,bold:2,extraBold:4},ot={strokeColor:ve.HO.black,backgroundColor:ve.HO.transparent,fillStyle:"solid",strokeWidth:2,strokeStyle:"solid",roughness:Yt.artist,opacity:100,locked:!1},mt="library",pt={name:"default",defaultTab:mt},ht=new Set(["embeddable","image"])},4572:function(fe,t,e){e.d(t,{A3:function(){return S},ZC:function(){return ce},R6:function(){return J}});var P=e(9787),w=e.n(P);const m=he=>{let ve;const le=new Set,G=(M,A)=>{const b=typeof M=="function"?M(ve):M;if(!Object.is(b,ve)){const y=ve;ve=A??typeof b!="object"?b:Object.assign({},ve,b),le.forEach(h=>h(ve,y))}},U=()=>ve,H={setState:G,getState:U,subscribe:M=>(le.add(M),()=>le.delete(M)),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."),le.clear()}};return ve=he(G,U,H),H},v=he=>he?m(he):m;var I=e(5668);const{useSyncExternalStoreWithSelector:x}=I,c=he=>{typeof he!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const ve=typeof he=="function"?v(he):he,le=(G,U)=>function(H,M=H.getState,A){const b=x(H.subscribe,H.getState,H.getServerState||H.getState,M,A);return(0,P.useDebugValue)(b),b}(ve,G,U);return Object.assign(le,ve),le},f=he=>he?c(he):c;var Z,N;const W=typeof window<"u"&&((Z=window.document)!=null&&Z.createElement||((N=window.navigator)==null?void 0:N.product)==="ReactNative")?w().useLayoutEffect:w().useEffect;function k(){const he=f(ve=>({current:new Array,version:0,set:ve}));return{In:({children:ve})=>{const le=he(U=>U.set),G=he(U=>U.version);return W(()=>{le(U=>({version:U.version+1}))},[]),W(()=>(le(({current:U})=>({current:[...U,ve]})),()=>le(({current:U})=>({current:U.filter(H=>H!==ve)}))),[ve,G]),null},Out:()=>{const ve=he(le=>le.current);return w().createElement(w().Fragment,null,ve)}}}var S=w().createContext(null),J=function(){return w().useContext(S)},ce=function(){return w().useMemo(function(){return{MainMenuTunnel:k(),WelcomeScreenMenuHintTunnel:k(),WelcomeScreenToolbarHintTunnel:k(),WelcomeScreenHelpHintTunnel:k(),WelcomeScreenCenterTunnel:k(),FooterCenterTunnel:k(),DefaultSidebarTriggerTunnel:k(),DefaultSidebarTabTriggersTunnel:k(),OverwriteConfirmDialogTunnel:k(),jotaiScope:Symbol()}},[])}},100:function(fe,t,e){e.d(t,{I:function(){return v},k:function(){return m}});var P=e(9787),w=e.n(P),m=w().createContext(null),v=function(){return w().useContext(m)}},7652:function(fe,t,e){e.d(t,{KJ:function(){return W},OF:function(){return k},Uk:function(){return S},z8:function(){return N}});var P,w,m=e(9937),v=e(5284),I=e(6853),x='<svg viewBox="0 0 24 24" stroke-width="1" width="28" height="28" xmlns="http://www.w3.org/2000/svg">',c='<path stroke="#1b1b1f" fill="#fff" d="m7.868 11.113 7.773 7.774a2.359 2.359 0 0 0 1.667.691 2.368 2.368 0 0 0 2.357-2.358c0-.625-.248-1.225-.69-1.667L11.201 7.78 9.558 9.469l-1.69 1.643v.001Zm10.273 3.606-3.333 3.333m-3.25-6.583 2 2m-7-7 3 3M3.664 3.625l1 1M2.529 6.922l1.407-.144m5.735-2.932-1.118.866M4.285 9.823l.758-1.194m1.863-6.207-.13 1.408"/>',f="data:".concat(m.LO.svg,",").concat(encodeURIComponent("".concat(x).concat(c,"</svg>"))),Z="data:".concat(m.LO.svg,",").concat(encodeURIComponent("".concat(x).concat('<path d="M6.164 11.755a5.314 5.314 0 0 1-4.932-5.298 5.314 5.314 0 0 1 5.311-5.311 5.314 5.314 0 0 1 5.307 5.113l8.773 8.773a3.322 3.322 0 0 1 0 4.696l-.895.895a3.322 3.322 0 0 1-4.696 0l-8.868-8.868Z" style="fill:#fff"/>').concat(c,"</svg>"))),N=function(J){J&&(J.style.cursor="")},W=function(J,ce){J&&(J.style.cursor=ce)},k=function(J,ce){P&&P.theme===ce||function(){var he=ce===m.C6.DARK;(P=document.createElement("canvas")).theme=ce,P.height=20,P.width=20;var ve=P.getContext("2d");ve.lineWidth=1,ve.beginPath(),ve.arc(P.width/2,P.height/2,5,0,2*Math.PI),ve.fillStyle=he?v.black:v.white,ve.fill(),ve.strokeStyle=he?v.white:v.black,ve.stroke(),w=P.toDataURL(m.LO.svg)}(),W(J,"url(".concat(w,") ").concat(10," ").concat(10,", auto"))},S=function(J,ce){if(J)if(ce.activeTool.type==="selection")N(J);else if((0,I.l$)(ce))J.style.cursor=m.oc.GRAB;else if((0,I.EN)(ce))k(J,ce.theme);else if(ce.activeTool.type==="laser"){var he=ce.theme===m.C6.LIGHT?f:Z;J.style.cursor="url(".concat(he,"), auto")}else["image","custom"].includes(ce.activeTool.type)?ce.activeTool.type!=="image"&&(J.style.cursor=m.oc.AUTO):J.style.cursor=m.oc.CROSSHAIR}},5796:function(fe,t,e){e.d(t,{DQ:function(){return M},KG:function(){return l},Pn:function(){return C},Qk:function(){return H},Sf:function(){return a},Tu:function(){return u},Wr:function(){return b},ZY:function(){return y},_c:function(){return n},_p:function(){return L},bv:function(){return _},cT:function(){return h},g8:function(){return A},gY:function(){return ee},lV:function(){return r},tW:function(){return p},vZ:function(){return te},wf:function(){return d}});var P=e(1930),w=e(2577),m=e(7169),v=e(8950),I=e(2975),x=e.n(I),c=e(5605),f=e(6853),Z=e(9937),N=e(7651),W=e(3506),k=e(8227),S=e(4105),J=e(9827),ce=e(6548),he=e(4419),ve=e(7994);function le(re,oe){var Y=Object.keys(re);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(re);oe&&(V=V.filter(function(ie){return Object.getOwnPropertyDescriptor(re,ie).enumerable})),Y.push.apply(Y,V)}return Y}function G(re){for(var oe=1;oe<arguments.length;oe++){var Y=arguments[oe]!=null?arguments[oe]:{};oe%2?le(Object(Y),!0).forEach(function(V){(0,m.Z)(re,V,Y[V])}):Object.getOwnPropertyDescriptors?Object.defineProperties(re,Object.getOwnPropertyDescriptors(Y)):le(Object(Y)).forEach(function(V){Object.defineProperty(re,V,Object.getOwnPropertyDescriptor(Y,V))})}return re}var U=function(){var re=(0,v.Z)(x().mark(function oe(Y){var V;return x().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:if(Y.type!==Z.LO.png){ie.next=18;break}return ie.prev=1,ie.next=4,Promise.resolve().then(e.bind(e,250));case 4:return ie.next=6,ie.sent.decodePngMetadata(Y);case 6:return ie.abrupt("return",ie.sent);case 9:if(ie.prev=9,ie.t0=ie.catch(1),ie.t0.message!=="INVALID"){ie.next=15;break}throw new W.jk((0,k.t)("alerts.imageDoesNotContainScene"),"IMAGE_NOT_CONTAINS_SCENE_DATA");case 15:throw new W.jk((0,k.t)("alerts.cannotRestoreFromImage"));case 16:ie.next=43;break;case 18:if(!("text"in Blob)){ie.next=24;break}return ie.next=21,Y.text();case 21:V=ie.sent,ie.next=27;break;case 24:return ie.next=26,new Promise(function(we){var Ae=new FileReader;Ae.readAsText(Y,"utf8"),Ae.onloadend=function(){Ae.readyState===FileReader.DONE&&we(Ae.result)}});case 26:V=ie.sent;case 27:if(Y.type!==Z.LO.svg){ie.next=43;break}return ie.prev=28,ie.next=31,Promise.resolve().then(e.bind(e,250));case 31:return ie.next=33,ie.sent.decodeSvgMetadata({svg:V});case 33:return ie.abrupt("return",ie.sent);case 36:if(ie.prev=36,ie.t1=ie.catch(28),ie.t1.message!=="INVALID"){ie.next=42;break}throw new W.jk((0,k.t)("alerts.imageDoesNotContainScene"),"IMAGE_NOT_CONTAINS_SCENE_DATA");case 42:throw new W.jk((0,k.t)("alerts.cannotRestoreFromImage"));case 43:return ie.abrupt("return",V);case 44:case"end":return ie.stop()}},oe,null,[[1,9],[28,36]])}));return function(oe){return re.apply(this,arguments)}}(),H=function(re){var oe;return re&&((oe=re.name.match(/\.(json|excalidraw|png|svg)$/))===null||oe===void 0?void 0:oe[1])||null},M=function(re){return re==="png"||re==="svg"},A=function(re){var oe=H(re);return oe==="png"||oe==="svg"},b=function(re){var oe=(re||{}).type;return!!oe&&Object.values(Z.KL).includes(oe)},y=function(){var re=(0,v.Z)(x().mark(function oe(Y,V,ie,we){var Ae,Re;return x().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return je.next=2,U(Y);case 2:Ae=je.sent,je.prev=3,je.prev=4,Re=JSON.parse(Ae),je.next=13;break;case 8:if(je.prev=8,je.t0=je.catch(4),!b(Y)){je.next=12;break}throw new W.jk((0,k.t)("alerts.imageDoesNotContainScene"),"IMAGE_NOT_CONTAINS_SCENE_DATA");case 12:throw je.t0;case 13:if(!(0,he.dS)(Re)){je.next=17;break}return je.abrupt("return",{type:Z.LO.excalidraw,data:(0,ve.nu)({elements:(0,N._M)(Re.elements||[]),appState:G(G({theme:V?.theme,fileHandle:we||Y.handle||null},(0,f.s)(Re.appState||{})),V?(0,S.W)(Re.elements||[],V):{}),files:Re.files},V,ie,{repairBindings:!0,refreshDimensions:!1})});case 17:if(!(0,he.HT)(Re)){je.next=19;break}return je.abrupt("return",{type:Z.LO.excalidrawlib,data:Re});case 19:case 26:throw new Error((0,k.t)("alerts.couldNotLoadInvalidFile"));case 22:if(je.prev=22,je.t1=je.catch(3),!(je.t1 instanceof W.jk)){je.next=26;break}throw je.t1;case 27:case"end":return je.stop()}},oe,null,[[3,22],[4,8]])}));return function(oe,Y,V,ie){return re.apply(this,arguments)}}(),h=function(){var re=(0,v.Z)(x().mark(function oe(Y,V,ie,we){var Ae;return x().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.next=2,y(Y,V,ie,we);case 2:if((Ae=Re.sent).type===Z.LO.excalidraw){Re.next=5;break}throw new Error((0,k.t)("alerts.couldNotLoadInvalidFile"));case 5:return Re.abrupt("return",Ae.data);case 6:case"end":return Re.stop()}},oe)}));return function(oe,Y,V,ie){return re.apply(this,arguments)}}(),d=function(re){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"unpublished",Y=JSON.parse(re);if(!(0,he.HT)(Y))throw new Error("Invalid library");var V=Y.libraryItems||Y.library;return(0,ve.wJ)(V,oe)},r=function(){var re=(0,v.Z)(x().mark(function oe(Y){var V,ie=arguments;return x().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return V=ie.length>1&&ie[1]!==void 0?ie[1]:"unpublished",we.t0=d,we.next=4,U(Y);case 4:return we.t1=we.sent,we.t2=V,we.abrupt("return",(0,we.t0)(we.t1,we.t2));case 7:case"end":return we.stop()}},oe)}));return function(oe){return re.apply(this,arguments)}}(),n=function(){var re=(0,v.Z)(x().mark(function oe(Y){return x().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.abrupt("return",new Promise(function(){var ie=(0,v.Z)(x().mark(function we(Ae,Re){return x().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(je.prev=0,!(0,J.y8)(Y)){je.next=5;break}return je.next=4,Y;case 4:Y=je.sent;case 5:Y.toBlob(function(ye){if(!ye)return Re(new W.lp((0,k.t)("canvasError.canvasTooBig"),"CANVAS_POSSIBLY_TOO_BIG"));Ae(ye)}),je.next=11;break;case 8:je.prev=8,je.t0=je.catch(0),Re(je.t0);case 11:case"end":return je.stop()}},we,null,[[0,8]])}));return function(we,Ae){return ie.apply(this,arguments)}}()));case 1:case"end":return V.stop()}},oe)}));return function(oe){return re.apply(this,arguments)}}(),p=function(){var re=(0,v.Z)(x().mark(function oe(Y){var V;return x().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return ie.prev=0,ie.t0=window.crypto.subtle,ie.next=4,te(Y);case 4:return ie.t1=ie.sent,ie.next=7,ie.t0.digest.call(ie.t0,"SHA-1",ie.t1);case 7:return V=ie.sent,ie.abrupt("return",(0,J.G3)(new Uint8Array(V)));case 11:return ie.prev=11,ie.t2=ie.catch(0),console.error(ie.t2),ie.abrupt("return",(0,c.x0)(40));case 15:case"end":return ie.stop()}},oe,null,[[0,11]])}));return function(oe){return re.apply(this,arguments)}}(),a=function(){var re=(0,v.Z)(x().mark(function oe(Y){return x().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.abrupt("return",new Promise(function(ie,we){var Ae=new FileReader;Ae.onload=function(){var Re=Ae.result;ie(Re)},Ae.onerror=function(Re){return we(Re)},Ae.readAsDataURL(Y)}));case 1:case"end":return V.stop()}},oe)}));return function(oe){return re.apply(this,arguments)}}(),l=function(re){for(var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",Y=re.indexOf(","),V=atob(re.slice(Y+1)),ie=re.slice(0,Y).split(":")[1].split(";")[0],we=new ArrayBuffer(V.length),Ae=new Uint8Array(we),Re=0;Re<V.length;Re++)Ae[Re]=V.charCodeAt(Re);return new File([we],oe,{type:ie})},u=function(){var re=(0,v.Z)(x().mark(function oe(Y,V){var ie,we,Ae,Re,je,ye;return x().wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(Y.type!==Z.LO.svg){Ee.next=2;break}return Ee.abrupt("return",Y);case 2:return Ee.next=4,Promise.all([e.e(4736).then(e.t.bind(e,4881,23)).then(function(Oe){return Oe.default}),e.e(4736).then(e.bind(e,5446)).then(function(Oe){return Oe.default})]);case 4:if(ie=Ee.sent,we=(0,w.Z)(ie,2),Ae=we[0],Re=we[1],je=Re({pica:Ae({features:["js","wasm"]})}),V.outputType&&(ye=V.outputType,je._create_blob=function(Oe){return this.pica.toBlob(Oe.out_canvas,ye,.8).then(function(ge){return Oe.out_blob=ge,Oe})}),b(Y)){Ee.next=12;break}throw new Error((0,k.t)("errors.unsupportedFileType"));case 12:return Ee.t0=File,Ee.next=15,je.toBlob(Y,{max:V.maxWidthOrHeight});case 15:return Ee.t1=Ee.sent,Ee.t2=[Ee.t1],Ee.t3=Y.name,Ee.t4={type:V.outputType||Y.type},Ee.abrupt("return",new Ee.t0(Ee.t2,Ee.t3,Ee.t4));case 20:case"end":return Ee.stop()}},oe)}));return function(oe,Y){return re.apply(this,arguments)}}(),C=function(re){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new File([new TextEncoder().encode(re)],oe,{type:Z.LO.svg})},L=function(){var re=(0,v.Z)(x().mark(function oe(Y){var V,ie,we,Ae,Re=arguments;return x().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return V=Re.length>1&&Re[1]!==void 0?Re[1]:"",je.prev=1,je.next=4,fetch(Y);case 4:ie=je.sent,je.next=10;break;case 7:throw je.prev=7,je.t0=je.catch(1),new Error((0,k.t)("errors.failedToFetchImage"));case 10:if(ie.ok){je.next=12;break}throw new Error((0,k.t)("errors.failedToFetchImage"));case 12:return je.next=14,ie.blob();case 14:if(!(we=je.sent).type||!b(we)){je.next=18;break}return Ae=V||we.name||"",je.abrupt("return",new File([we],Ae,{type:we.type}));case 18:throw new Error((0,k.t)("errors.unsupportedFileType"));case 19:case"end":return je.stop()}},oe,null,[[1,7]])}));return function(oe){return re.apply(this,arguments)}}(),_=function(){var re=(0,v.Z)(x().mark(function oe(Y){var V,ie;return x().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return V=Y.dataTransfer.files.item(0),we.next=3,E(Y);case 3:if(ie=we.sent,!V){we.next=10;break}return we.next=7,ee(V);case 7:we.t0=we.sent,we.next=11;break;case 10:we.t0=null;case 11:return we.t1=we.t0,we.t2=ie,we.abrupt("return",{file:we.t1,fileHandle:we.t2});case 14:case"end":return we.stop()}},oe)}));return function(oe){return re.apply(this,arguments)}}(),E=function(){var re=(0,v.Z)(x().mark(function oe(Y){var V,ie;return x().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(!ce.kr){we.next=16;break}return we.prev=1,V=Y.dataTransfer.items[0],we.next=5,V.getAsFileSystemHandle();case 5:if(we.t0=we.sent,we.t0){we.next=8;break}we.t0=null;case 8:return ie=we.t0,we.abrupt("return",ie);case 12:return we.prev=12,we.t1=we.catch(1),console.warn(we.t1.name,we.t1.message),we.abrupt("return",null);case 16:return we.abrupt("return",null);case 17:case"end":return we.stop()}},oe,null,[[1,12]])}));return function(oe){return re.apply(this,arguments)}}(),D=function(re){var oe=null,Y="".concat((0,P.Z)(new Uint8Array(re).slice(0,8)).join(" ")," "),V="255 216 255 ",ie="71 73 70 56 57 97 ";return Y==="137 80 78 71 13 10 26 10 "?oe=Z.LO.png:Y.startsWith(V)?oe=Z.LO.jpg:Y.startsWith(ie)&&(oe=Z.LO.gif),oe},F=function(re,oe,Y){return new File([re],Y||"",{type:oe})},ee=function(){var re=(0,v.Z)(x().mark(function oe(Y){var V,ie,we,Ae,Re,je,ye,Ee;return x().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(Y.type){Oe.next=28;break}if((V=Y)===null||V===void 0||(ie=V.name)===null||ie===void 0||!ie.endsWith(".excalidrawlib")){Oe.next=11;break}return Oe.t0=F,Oe.next=5,te(Y);case 5:Oe.t1=Oe.sent,Oe.t2=Z.LO.excalidrawlib,Oe.t3=Y.name,Y=(0,Oe.t0)(Oe.t1,Oe.t2,Oe.t3),Oe.next=26;break;case 11:if((we=Y)===null||we===void 0||(Ae=we.name)===null||Ae===void 0||!Ae.endsWith(".excalidraw")){Oe.next=21;break}return Oe.t4=F,Oe.next=15,te(Y);case 15:Oe.t5=Oe.sent,Oe.t6=Z.LO.excalidraw,Oe.t7=Y.name,Y=(0,Oe.t4)(Oe.t5,Oe.t6,Oe.t7),Oe.next=26;break;case 21:return Oe.next=23,te(Y);case 23:Re=Oe.sent,(je=D(Re))&&(Y=F(Re,je,Y.name));case 26:Oe.next=34;break;case 28:if(!b(Y)){Oe.next=34;break}return Oe.next=31,te(Y);case 31:ye=Oe.sent,(Ee=D(ye))&&Ee!==Y.type&&(Y=F(ye,Ee,Y.name));case 34:return Oe.abrupt("return",Y);case 35:case"end":return Oe.stop()}},oe)}));return function(oe){return re.apply(this,arguments)}}(),te=function(re){return"arrayBuffer"in re?re.arrayBuffer():new Promise(function(oe,Y){var V=new FileReader;V.onload=function(ie){var we;if((we=ie.target)===null||we===void 0||!we.result)return Y(new Error("Couldn't convert blob to ArrayBuffer"));oe(ie.target.result)},V.readAsArrayBuffer(re)})}},6548:function(fe,t,e){e.d(t,{I$:function(){return k},NL:function(){return S},kr:function(){return v}});var P=e(1930),w=e(8950),m=e(2975),v=function(){if(typeof self>"u")return!1;if("top"in self&&self!==top)try{}catch{return!1}else if("showOpenFilePicker"in self)return"showOpenFilePicker";return!1}(),I=v?e.e(4736).then(e.bind(e,7464)):e.e(4736).then(e.bind(e,3948));function x(){return x=(0,w.Z)(m.mark(function J(){var ce,he=arguments;return m.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ve.next=2,I;case 2:return ve.abrupt("return",(ce=ve.sent).default.apply(ce,he));case 3:case"end":return ve.stop()}},J)})),x.apply(this,arguments)}v?e.e(4736).then(e.bind(e,4036)):e.e(4736).then(e.bind(e,7693));var c=v?e.e(4736).then(e.bind(e,357)):e.e(4736).then(e.bind(e,341));function f(){return f=(0,w.Z)(m.mark(function J(){var ce,he=arguments;return m.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ve.next=2,c;case 2:return ve.abrupt("return",(ce=ve.sent).default.apply(ce,he));case 3:case"end":return ve.stop()}},J)})),f.apply(this,arguments)}var Z=e(9937),N=e(3506),W=e(9827),k=function(J){var ce,he,ve,le=(ce=J.extensions)===null||ce===void 0?void 0:ce.reduce(function(U,H){return U.push(Z.LO[H]),U},[]),G=(he=J.extensions)===null||he===void 0?void 0:he.reduce(function(U,H){return H==="jpg"?U.concat(".jpg",".jpeg"):U.concat(".".concat(H))},[]);return function(){return x.apply(this,arguments)}({description:J.description,extensions:G,mimeTypes:le,multiple:(ve=J.multiple)!==null&&ve!==void 0&&ve,legacySetup:function(U,H,M){var A=(0,W.Ds)(H,500),b=function(){y(),document.addEventListener(Z.Ks.KEYUP,A),document.addEventListener(Z.Ks.POINTER_UP,A),A()},y=function(){var d;if((d=M.files)!==null&&d!==void 0&&d.length){var r=J.multiple?(0,P.Z)(M.files):M.files[0];U(r)}};requestAnimationFrame(function(){window.addEventListener(Z.Ks.FOCUS,b)});var h=window.setInterval(function(){y()},500);return function(d){clearInterval(h),A.cancel(),window.removeEventListener(Z.Ks.FOCUS,b),document.removeEventListener(Z.Ks.KEYUP,A),document.removeEventListener(Z.Ks.POINTER_UP,A),d&&(console.warn("Opening the file was canceled (legacy-fs)."),d(new N._L))}}})},S=function(J,ce){return function(){return f.apply(this,arguments)}(J,{fileName:"".concat(ce.name,".").concat(ce.extension),description:ce.description,extensions:[".".concat(ce.extension)]},ce.fileHandle)}},250:function(fe,t,e){e.r(t),e.d(t,{decodePngMetadata:function(){return H},decodeSvgMetadata:function(){return A},encodePngMetadata:function(){return U},encodeSvgMetadata:function(){return M},getTEXtChunk:function(){return G}});var P=e(8950),w=e(2975),m=e.n(w),v=e(2983),I=e.n(v),x=e(1194),c=e(3434),f=e.n(c),Z=e(2744),N=e(9937),W=e(5796),k=function(b){return new Promise(function(y,h){var d=typeof b=="string"?new Blob([new TextEncoder().encode(b)]):new Blob([b instanceof Uint8Array?b:new Uint8Array(b)]),r=new FileReader;r.onload=function(n){if(!n.target||typeof n.target.result!="string")return h(new Error("couldn't convert to byte string"));y(n.target.result)},r.readAsBinaryString(d)})},S=function(b){for(var y=new ArrayBuffer(b.length),h=new Uint8Array(y),d=0,r=b.length;d<r;d++)h[d]=b.charCodeAt(d);return y},J=function(b){return new TextDecoder("utf-8").decode(S(b))},ce=function(){var b=(0,P.Z)(m().mark(function y(h){var d=arguments;return m().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!(d.length>1&&d[1]!==void 0&&d[1])){r.next=5;break}r.t0=window.btoa(h),r.next=10;break;case 5:return r.t1=window,r.next=8,k(h);case 8:r.t2=r.sent,r.t0=r.t1.btoa.call(r.t1,r.t2);case 10:return r.abrupt("return",r.t0);case 11:case"end":return r.stop()}},y)}));return function(y){return b.apply(this,arguments)}}(),he=function(){var b=(0,P.Z)(m().mark(function y(h){var d,r=arguments;return m().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=r.length>1&&r[1]!==void 0&&r[1],n.abrupt("return",d?window.atob(h):J(window.atob(h)));case 2:case"end":return n.stop()}},y)}));return function(y){return b.apply(this,arguments)}}(),ve=function(){var b=(0,P.Z)(m().mark(function y(h){var d,r;return m().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(d=h.text,h.compress===!1){n.next=11;break}return n.prev=2,n.next=5,k((0,Z.deflate)(d));case 5:r=n.sent,n.next=11;break;case 8:n.prev=8,n.t0=n.catch(2),console.error("encode: cannot deflate",n.t0);case 11:if(n.t1=!!r,n.t2=r,n.t2){n.next=17;break}return n.next=16,k(d);case 16:n.t2=n.sent;case 17:return n.t3=n.t2,n.abrupt("return",{version:"1",encoding:"bstring",compressed:n.t1,encoded:n.t3});case 19:case"end":return n.stop()}},y,null,[[2,8]])}));return function(y){return b.apply(this,arguments)}}(),le=function(){var b=(0,P.Z)(m().mark(function y(h){var d;return m().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:r.t0=h.encoding,r.next=r.t0==="bstring"?3:12;break;case 3:if(!h.compressed){r.next=7;break}r.t1=h.encoded,r.next=10;break;case 7:return r.next=9,J(h.encoded);case 9:r.t1=r.sent;case 10:return d=r.t1,r.abrupt("break",13);case 12:throw new Error('decode: unknown encoding "'.concat(h.encoding,'"'));case 13:if(!h.compressed){r.next=15;break}return r.abrupt("return",(0,Z.inflate)(new Uint8Array(S(d)),{to:"string"}));case 15:return r.abrupt("return",d);case 16:case"end":return r.stop()}},y)}));return function(y){return b.apply(this,arguments)}}(),G=function(){var b=(0,P.Z)(m().mark(function y(h){var d,r;return m().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.t0=I(),n.t1=Uint8Array,n.next=4,(0,W.vZ)(h);case 4:if(n.t2=n.sent,n.t3=new n.t1(n.t2),d=(0,n.t0)(n.t3),!(r=d.find(function(p){return p.name==="tEXt"}))){n.next=10;break}return n.abrupt("return",x.decode(r.data));case 10:return n.abrupt("return",null);case 11:case"end":return n.stop()}},y)}));return function(y){return b.apply(this,arguments)}}(),U=function(){var b=(0,P.Z)(m().mark(function y(h){var d,r,n,p;return m().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return d=h.blob,r=h.metadata,a.t0=I(),a.t1=Uint8Array,a.next=5,(0,W.vZ)(d);case 5:return a.t2=a.sent,a.t3=new a.t1(a.t2),n=(0,a.t0)(a.t3),a.t4=x,a.t5=N.LO.excalidraw,a.t6=JSON,a.next=13,ve({text:r,compress:!0});case 13:return a.t7=a.sent,a.t8=a.t6.stringify.call(a.t6,a.t7),p=a.t4.encode.call(a.t4,a.t5,a.t8),n.splice(-1,0,p),a.abrupt("return",new Blob([f()(n)],{type:N.LO.png}));case 18:case"end":return a.stop()}},y)}));return function(y){return b.apply(this,arguments)}}(),H=function(){var b=(0,P.Z)(m().mark(function y(h){var d,r;return m().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,G(h);case 2:if(((d=n.sent)==null?void 0:d.keyword)!==N.LO.excalidraw){n.next=19;break}if(n.prev=4,"encoded"in(r=JSON.parse(d.text))){n.next=10;break}if(!("type"in r)||r.type!==N.r8.excalidraw){n.next=9;break}return n.abrupt("return",d.text);case 9:throw new Error("FAILED");case 10:return n.next=12,le(r);case 12:return n.abrupt("return",n.sent);case 15:throw n.prev=15,n.t0=n.catch(4),console.error(n.t0),new Error("FAILED");case 19:throw new Error("INVALID");case 20:case"end":return n.stop()}},y,null,[[4,15]])}));return function(y){return b.apply(this,arguments)}}(),M=function(){var b=(0,P.Z)(m().mark(function y(h){var d,r,n;return m().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return d=h.text,p.t0=ce,p.t1=JSON,p.next=5,ve({text:d});case 5:return p.t2=p.sent,p.t3=p.t1.stringify.call(p.t1,p.t2),p.next=9,(0,p.t0)(p.t3,!0);case 9:return r=p.sent,n="",n+="<!-- payload-type:".concat(N.LO.excalidraw," -->"),n+="<!-- payload-version:2 -->",n+="<!-- payload-start -->",n+=r,n+="<!-- payload-end -->",p.abrupt("return",n);case 17:case"end":return p.stop()}},y)}));return function(y){return b.apply(this,arguments)}}(),A=function(){var b=(0,P.Z)(m().mark(function y(h){var d,r,n,p,a,l,u;return m().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(!(d=h.svg).includes("payload-type:".concat(N.LO.excalidraw))){C.next=26;break}if(r=d.match(/<!-- payload-start -->\s*(.+?)\s*<!-- payload-end -->/)){C.next=5;break}throw new Error("INVALID");case 5:return n=d.match(/<!-- payload-version:(\d+) -->/),p=n?.[1]||"1",a=p!=="1",C.prev=8,C.next=11,he(r[1],a);case 11:if(l=C.sent,"encoded"in(u=JSON.parse(l))){C.next=17;break}if(!("type"in u)||u.type!==N.r8.excalidraw){C.next=16;break}return C.abrupt("return",l);case 16:throw new Error("FAILED");case 17:return C.next=19,le(u);case 19:return C.abrupt("return",C.sent);case 22:throw C.prev=22,C.t0=C.catch(8),console.error(C.t0),new Error("FAILED");case 26:throw new Error("INVALID");case 27:case"end":return C.stop()}},y,null,[[8,22]])}));return function(y){return b.apply(this,arguments)}}()},2435:function(fe,t,e){e.d(t,{HD:function(){return ce},Um:function(){return J.Um},cT:function(){return k.cT},n8:function(){return J.n8},p1:function(){return he}});var P=e(8950),w=e(2975),m=e.n(w),v=e(4694),I=e(9937),x=e(7651),c=e(8227),f=e(6013),Z=e(4105),N=e(3668),W=e(9827),k=e(5796),S=e(6548),J=e(4419),ce=function(ve,le,G){var U=le.selectedElementIds;ve=(0,x.Lm)(ve);var H=G&&(0,Z.N)(ve,{selectedElementIds:U}),M=null,A=H?(0,Z.eD)(ve,{selectedElementIds:U},{includeBoundTextElement:!0}):ve;return H&&(A.length===1&&(0,x.He)(A[0])?(M=A[0],A=(0,f.Xs)({elements:ve,bounds:M,type:"overlap"})):A.length>1&&(A=(0,Z.eD)(ve,{selectedElementIds:U},{includeBoundTextElement:!0,includeElementsInFrames:!0}))),{exportingFrame:M,exportedElements:(0,W.xU)(A)}},he=function(){var ve=(0,P.Z)(m().mark(function le(G,U,H,M,A){var b,y,h,d,r,n,p,a,l,u,C,L,_;return m().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(b=A.exportBackground,y=A.exportPadding,h=y===void 0?I.qy:y,d=A.viewBackgroundColor,r=A.name,n=A.fileHandle,p=n===void 0?null:n,a=A.exportingFrame,l=a===void 0?null:a,U.length!==0){E.next=3;break}throw new Error((0,c.t)("alerts.cannotExportEmptyCanvas"));case 3:if(G!=="svg"&&G!=="clipboard-svg"){E.next=17;break}return E.next=6,(0,N.$D)(U,{exportBackground:b,exportWithDarkMode:H.exportWithDarkMode,viewBackgroundColor:d,exportPadding:h,exportScale:H.exportScale,exportEmbedScene:H.exportEmbedScene&&G==="svg"},M,{exportingFrame:l});case 6:if(u=E.sent,G!=="svg"){E.next=13;break}return E.next=10,(0,S.NL)(new Blob([u.outerHTML],{type:I.LO.svg}),{description:"Export to SVG",name:r,extension:H.exportEmbedScene?"excalidraw.svg":"svg",fileHandle:p});case 10:return E.abrupt("return",E.sent);case 13:if(G!=="clipboard-svg"){E.next=17;break}return E.next=16,(0,v.dd)(u.outerHTML);case 16:return E.abrupt("return");case 17:if(C=(0,N.NL)(U,H,M,{exportBackground:b,viewBackgroundColor:d,exportPadding:h,exportingFrame:l}),G!=="png"){E.next=33;break}return E.next=21,(0,k._c)(C);case 21:if(L=E.sent,!H.exportEmbedScene){E.next=28;break}return E.next=25,Promise.resolve().then(e.bind(e,250));case 25:return E.next=27,E.sent.encodePngMetadata({blob:L,metadata:(0,J.I_)(U,H,M,"local")});case 27:L=E.sent;case 28:return E.next=30,(0,S.NL)(L,{description:"Export to PNG",name:r,extension:"png",fileHandle:p});case 30:return E.abrupt("return",E.sent);case 33:if(G!=="clipboard"){E.next=52;break}return E.prev=34,_=(0,k._c)(C),E.next=38,(0,v.uR)(_);case 38:E.next=50;break;case 40:if(E.prev=40,E.t0=E.catch(34),console.warn(E.t0),E.t0.name!=="CANVAS_POSSIBLY_TOO_BIG"){E.next=45;break}throw E.t0;case 45:if(!I.vU||E.t0.name!=="TypeError"){E.next=49;break}throw new Error("".concat((0,c.t)("alerts.couldNotCopyToClipboard"),` + +`).concat((0,c.t)("hints.firefox_clipboard_write")));case 49:throw new Error((0,c.t)("alerts.couldNotCopyToClipboard"));case 50:E.next=53;break;case 52:throw new Error("Unsupported export type");case 53:case"end":return E.stop()}},le,null,[[34,40]])}));return function(le,G,U,H,M){return ve.apply(this,arguments)}}()},4419:function(fe,t,e){e.d(t,{HT:function(){return ve},I_:function(){return S},NI:function(){return le},Um:function(){return J},dS:function(){return he},n8:function(){return ce},t1:function(){return G}});var P=e(6655),w=e(8950),m=e(2975),v=e.n(m),I=e(6548),x=e(6853),c=e(9937),f=e(7651),Z=e(5796);function N(U,H){var M=typeof Symbol<"u"&&U[Symbol.iterator]||U["@@iterator"];if(!M){if(Array.isArray(U)||(M=function(r,n){if(r){if(typeof r=="string")return W(r,n);var p=Object.prototype.toString.call(r).slice(8,-1);if(p==="Object"&&r.constructor&&(p=r.constructor.name),p==="Map"||p==="Set")return Array.from(r);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return W(r,n)}}(U))||H&&U&&typeof U.length=="number"){M&&(U=M);var A=0,b=function(){};return{s:b,n:function(){return A>=U.length?{done:!0}:{done:!1,value:U[A++]}},e:function(r){throw r},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y,h=!0,d=!1;return{s:function(){M=M.call(U)},n:function(){var r=M.next();return h=r.done,r},e:function(r){d=!0,y=r},f:function(){try{h||M.return==null||M.return()}finally{if(d)throw y}}}}function W(U,H){(H==null||H>U.length)&&(H=U.length);for(var M=0,A=new Array(H);M<H;M++)A[M]=U[M];return A}var k=function(U,H){var M,A={},b=N(U);try{for(b.s();!(M=b.n()).done;){var y=M.value;!y.isDeleted&&"fileId"in y&&y.fileId&&H[y.fileId]&&(A[y.fileId]=H[y.fileId])}}catch(h){b.e(h)}finally{b.f()}return A},S=function(U,H,M,A){var b={type:c.r8.excalidraw,version:c.Kr.excalidraw,source:c.pb,elements:A==="local"?(0,f._M)(U):(0,f.BQ)(U),appState:A==="local"?(0,x.s)(H):(0,x.eS)(H),files:A==="local"?k(U,M):void 0};return JSON.stringify(b,null,2)},J=function(){var U=(0,w.Z)(v().mark(function H(M,A,b){var y,h,d;return v().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return y=S(M,A,b,"local"),h=new Blob([y],{type:c.LO.excalidraw}),r.next=4,(0,I.NL)(h,{name:A.name,extension:"excalidraw",description:"Excalidraw file",fileHandle:(0,Z.g8)(A.fileHandle)?null:A.fileHandle});case 4:return d=r.sent,r.abrupt("return",{fileHandle:d});case 6:case"end":return r.stop()}},H)}));return function(H,M,A){return U.apply(this,arguments)}}(),ce=function(){var U=(0,w.Z)(v().mark(function H(M,A){var b;return v().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,I.I$)({description:"Excalidraw files"});case 2:return b=y.sent,y.t0=Z.cT,y.next=6,(0,Z.gY)(b);case 6:return y.t1=y.sent,y.t2=M,y.t3=A,y.t4=b.handle,y.abrupt("return",(0,y.t0)(y.t1,y.t2,y.t3,y.t4));case 11:case"end":return y.stop()}},H)}));return function(H,M){return U.apply(this,arguments)}}(),he=function(U){return U?.type===c.r8.excalidraw&&(!U.elements||Array.isArray(U.elements)&&(!U.appState||(0,P.Z)(U.appState)==="object"))},ve=function(U){return(0,P.Z)(U)==="object"&&U&&U.type===c.r8.excalidrawLibrary&&(U.version===1||U.version===2)},le=function(U){var H={type:c.r8.excalidrawLibrary,version:c.Kr.excalidrawLibrary,source:c.pb,libraryItems:U};return JSON.stringify(H,null,2)},G=function(){var U=(0,w.Z)(v().mark(function H(M){var A;return v().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return A=le(M),b.next=3,(0,I.NL)(new Blob([A],{type:c.LO.excalidrawlib}),{name:"library",extension:"excalidrawlib",description:"Excalidraw library file"});case 3:case"end":return b.stop()}},H)}));return function(H){return U.apply(this,arguments)}}()},9326:function(fe,t,e){e.d(t,{Di:function(){return n},WV:function(){return r},rF:function(){return A},xS:function(){return p},zh:function(){return h}});var P=e(7169),w=e(8950),m=e(5169),v=e(8821),I=e(1930),x=e(2975),c=e.n(x),f=e(5796),Z=e(7994),N=e(3607),W=e(453),k=e(4949),S=e(3506),J=e(8227),ce=e(9787),he=e(9937),ve=e(5832),le=e(9827);function G(a,l){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(a);l&&(C=C.filter(function(L){return Object.getOwnPropertyDescriptor(a,L).enumerable})),u.push.apply(u,C)}return u}function U(a){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?G(Object(u),!0).forEach(function(C){(0,P.Z)(a,C,u[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):G(Object(u)).forEach(function(C){Object.defineProperty(a,C,Object.getOwnPropertyDescriptor(u,C))})}return a}function H(a,l){var u=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!u){if(Array.isArray(a)||(u=function(F,ee){if(F){if(typeof F=="string")return M(F,ee);var te=Object.prototype.toString.call(F).slice(8,-1);if(te==="Object"&&F.constructor&&(te=F.constructor.name),te==="Map"||te==="Set")return Array.from(F);if(te==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(te))return M(F,ee)}}(a))||l&&a&&typeof a.length=="number"){u&&(a=u);var C=0,L=function(){};return{s:L,n:function(){return C>=a.length?{done:!0}:{done:!1,value:a[C++]}},e:function(F){throw F},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _,E=!0,D=!1;return{s:function(){u=u.call(a)},n:function(){var F=u.next();return E=F.done,F},e:function(F){D=!0,_=F},f:function(){try{E||u.return==null||u.return()}finally{if(D)throw _}}}}function M(a,l){(l==null||l>a.length)&&(l=a.length);for(var u=0,C=new Array(l);u<l;u++)C[u]=a[u];return C}var A=(0,N.cn)({status:"loaded",isInitialized:!0,libraryItems:[]}),b=function(a){return(0,le.xU)(a)},y=function(a,l){return!a.find(function(u){return u.elements.length===l.elements.length&&u.elements.every(function(C,L){return C.id===l.elements[L].id&&C.versionNonce===l.elements[L].versionNonce})})},h=function(a,l){var u,C=[],L=H(l);try{for(L.s();!(u=L.n()).done;){var _=u.value;y(a,_)&&C.push(_)}}catch(E){L.e(E)}finally{L.f()}return[].concat(C,(0,I.Z)(a))},d=(0,m.Z)(function a(l){var u=this;(0,v.Z)(this,a),this.lastLibraryItems=[],this.isInitialized=!1,this.updateQueue=[],this.getLastUpdateTask=function(){return u.updateQueue[u.updateQueue.length-1]},this.notifyListeners=function(){if(u.updateQueue.length>0)W.e_.set(A,{status:"loading",libraryItems:u.lastLibraryItems,isInitialized:u.isInitialized});else{u.isInitialized=!0,W.e_.set(A,{status:"loaded",libraryItems:u.lastLibraryItems,isInitialized:u.isInitialized});try{var C,L;(C=(L=u.app.props).onLibraryChange)===null||C===void 0||C.call(L,b(u.lastLibraryItems))}catch(_){console.error(_)}}},this.destroy=function(){u.isInitialized=!1,u.updateQueue=[],u.lastLibraryItems=[],W.e_.set(ve.YX,new Map)},this.resetLibrary=function(){return u.setLibrary([])},this.getLatestLibrary=function(){return new Promise(function(){var C=(0,w.Z)(c().mark(function L(_){var E;return c().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.prev=0,D.next=3,u.getLastUpdateTask()||u.lastLibraryItems;case 3:E=D.sent,u.updateQueue.length>0?_(u.getLatestLibrary()):_(b(E)),D.next=10;break;case 7:return D.prev=7,D.t0=D.catch(0),D.abrupt("return",_(u.lastLibraryItems));case 10:case"end":return D.stop()}},L,null,[[0,7]])}));return function(L){return C.apply(this,arguments)}}())},this.updateLibrary=function(){var C=(0,w.Z)(c().mark(function L(_){var E,D,F,ee,te,re,oe,Y,V;return c().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return E=_.libraryItems,D=_.prompt,F=D!==void 0&&D,ee=_.merge,te=ee!==void 0&&ee,re=_.openLibraryMenu,oe=re!==void 0&&re,Y=_.defaultStatus,V=Y===void 0?"unpublished":Y,oe&&u.app.setState({openSidebar:{name:he.Cc.name,tab:he.tf}}),ie.abrupt("return",u.setLibrary(function(){return new Promise(function(){var we=(0,w.Z)(c().mark(function Ae(Re,je){var ye,Ee;return c().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.prev=0,Oe.next=3,typeof E!="function"||E instanceof Blob?E:E(u.lastLibraryItems);case 3:if(!((ye=Oe.sent)instanceof Blob)){Oe.next=10;break}return Oe.next=7,(0,f.lV)(ye,V);case 7:Ee=Oe.sent,Oe.next=11;break;case 10:Ee=(0,Z.wJ)(ye,V);case 11:!F||window.confirm((0,J.t)("alerts.confirmAddLibrary",{numShapes:Ee.length}))?(F&&u.app.focusContainer(),Re(te?h(u.lastLibraryItems,Ee):Ee)):je(new S._L),Oe.next=17;break;case 14:Oe.prev=14,Oe.t0=Oe.catch(0),je(Oe.t0);case 17:case"end":return Oe.stop()}},Ae,null,[[0,14]])}));return function(Ae,Re){return we.apply(this,arguments)}}())}));case 3:case"end":return ie.stop()}},L)}));return function(L){return C.apply(this,arguments)}}(),this.setLibrary=function(C){var L=new Promise(function(){var _=(0,w.Z)(c().mark(function E(D,F){return c().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.prev=0,ee.next=3,u.getLastUpdateTask();case 3:return typeof C=="function"&&(C=C(u.lastLibraryItems)),ee.t0=b,ee.next=7,C;case 7:ee.t1=ee.sent,u.lastLibraryItems=(0,ee.t0)(ee.t1),D(u.lastLibraryItems),ee.next=15;break;case 12:ee.prev=12,ee.t2=ee.catch(0),F(ee.t2);case 15:case"end":return ee.stop()}},E,null,[[0,12]])}));return function(E,D){return _.apply(this,arguments)}}()).catch(function(_){if(_.name==="AbortError")return console.warn("Library update aborted by user"),u.lastLibraryItems;throw _}).finally(function(){u.updateQueue=u.updateQueue.filter(function(_){return _!==L}),u.notifyListeners()});return u.updateQueue.push(L),u.notifyListeners(),L},this.app=l});t.ZP=d;var r=function(a){var l,u=Math.ceil(Math.sqrt(a.length)),C=[],L=0,_=0,E=0,D=0,F=0,ee=0,te=0,re=H(a);try{var oe=function(){var Y=l.value;F&&F%u==0&&(_+=E+50,L=0,ee=0,te++),ee===0&&(E=function(Ee){return a.slice(Ee*u,Ee*u+u).reduce(function(Oe,ge){var ue=(0,k.v2)(ge.elements).height;return Math.max(Oe,ue)},0)}(te)),D=function(Ee){var Oe,ge=0,ue=0,se=0,j=H(a);try{for(j.s();!(Oe=j.n()).done;){var i=Oe.value;if(ge%u==0&&(ue=0),ue===Ee){var s=(0,k.v2)(i.elements).width;se=Math.max(se,s)}ge++,ue++}}catch(O){j.e(O)}finally{j.f()}return se}(ee);var V=(0,k.v2)(Y.elements),ie=V.minX,we=V.minY,Ae=V.width,Re=V.height,je=(D-Ae)/2,ye=(E-Re)/2;C.push.apply(C,(0,I.Z)(Y.elements.map(function(Ee){return U(U({},Ee),{},{x:Ee.x+L+je-ie,y:Ee.y+_+ye-we})}))),L+=D+50,F++,ee++};for(re.s();!(l=re.n()).done;)oe()}catch(Y){re.e(Y)}finally{re.f()}return C},n=function(){var a=new URLSearchParams(window.location.hash.slice(1)).get(he.ah.addLibrary)||new URLSearchParams(window.location.search).get(he.UO.addLibrary),l=a?new URLSearchParams(window.location.hash.slice(1)).get("token"):null;return a?{libraryUrl:a,idToken:l}:null},p=function(a){var l=a.excalidrawAPI,u=a.getInitialLibraryItems,C=(0,ce.useRef)(u);(0,ce.useEffect)(function(){if(l){var L=function(){var D=(0,w.Z)(c().mark(function F(ee){var te,re,oe,Y,V,ie;return c().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return te=ee.libraryUrl,re=ee.idToken,oe=new Promise(function(){var Ae=(0,w.Z)(c().mark(function Re(je,ye){var Ee,Oe;return c().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ge.prev=0,ge.next=3,fetch(decodeURIComponent(te));case 3:return Ee=ge.sent,ge.next=6,Ee.blob();case 6:Oe=ge.sent,je(Oe),ge.next=13;break;case 10:ge.prev=10,ge.t0=ge.catch(0),ye(ge.t0);case 13:case"end":return ge.stop()}},Re,null,[[0,10]])}));return function(Re,je){return Ae.apply(this,arguments)}}()),Y=re!==l.id,we.next=5,Y&&document.hidden?new Promise(function(Ae){window.addEventListener("focus",function(){return Ae()},{once:!0})}):null;case 5:return we.prev=5,we.next=8,l.updateLibrary({libraryItems:oe,prompt:Y,merge:!0,defaultStatus:"published",openLibraryMenu:!0});case 8:we.next=13;break;case 10:throw we.prev=10,we.t0=we.catch(5),we.t0;case 13:return we.prev=13,window.location.hash.includes(he.ah.addLibrary)?((V=new URLSearchParams(window.location.hash.slice(1))).delete(he.ah.addLibrary),window.history.replaceState({},he.iC,"#".concat(V.toString()))):window.location.search.includes(he.UO.addLibrary)&&((ie=new URLSearchParams(window.location.search)).delete(he.UO.addLibrary),window.history.replaceState({},he.iC,"?".concat(ie.toString()))),we.finish(13);case 16:case"end":return we.stop()}},F,null,[[5,10,13,16]])}));return function(F){return D.apply(this,arguments)}}(),_=function(D){D.preventDefault();var F=n();F&&(D.stopImmediatePropagation(),window.history.replaceState({},"",D.oldURL),L(F))};C.current&&l.updateLibrary({libraryItems:C.current()});var E=n();return E&&L(E),window.addEventListener(he.Ks.HASHCHANGE,_),function(){window.removeEventListener(he.Ks.HASHCHANGE,_)}}},[l])}},7994:function(fe,t,e){e.d(t,{ET:function(){return b},lY:function(){return d},nu:function(){return r},wJ:function(){return p}});var P=e(2577),w=e(7169),m=e(7651),v=e(4183),I=e(4643),x=e(9937),c=e(6853),f=e(7422),Z=e(583),N=e(9827),W=e(4761),k=e(8020);function S(a,l){var u=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!u){if(Array.isArray(a)||(u=function(F,ee){if(F){if(typeof F=="string")return J(F,ee);var te=Object.prototype.toString.call(F).slice(8,-1);if(te==="Object"&&F.constructor&&(te=F.constructor.name),te==="Map"||te==="Set")return Array.from(F);if(te==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(te))return J(F,ee)}}(a))||l&&a&&typeof a.length=="number"){u&&(a=u);var C=0,L=function(){};return{s:L,n:function(){return C>=a.length?{done:!0}:{done:!1,value:a[C++]}},e:function(F){throw F},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _,E=!0,D=!1;return{s:function(){u=u.call(a)},n:function(){var F=u.next();return E=F.done,F},e:function(F){D=!0,_=F},f:function(){try{E||u.return==null||u.return()}finally{if(D)throw _}}}}function J(a,l){(l==null||l>a.length)&&(l=a.length);for(var u=0,C=new Array(l);u<l;u++)C[u]=a[u];return C}function ce(a,l){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(a);l&&(C=C.filter(function(L){return Object.getOwnPropertyDescriptor(a,L).enumerable})),u.push.apply(u,C)}return u}function he(a){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?ce(Object(u),!0).forEach(function(C){(0,w.Z)(a,C,u[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):ce(Object(u)).forEach(function(C){Object.defineProperty(a,C,Object.getOwnPropertyDescriptor(u,C))})}return a}var ve={selection:!0,text:!0,rectangle:!0,diamond:!0,ellipse:!0,line:!0,image:!0,arrow:!0,freedraw:!0,eraser:!1,custom:!0,frame:!0,embeddable:!0,hand:!0,laser:!1},le=function(a){return Object.keys(x.ut).includes(a)?x.ut[a]:x.rk},G=function(a){return a?he(he({},a),{},{focus:a.focus||0}):null},U=function(a,l){var u,C,L,_,E,D,F,ee,te,re,oe,Y,V,ie,we={type:l.type||a.type,version:a.version||1,versionNonce:(u=a.versionNonce)!==null&&u!==void 0?u:0,isDeleted:(C=a.isDeleted)!==null&&C!==void 0&&C,id:a.id||(0,I.kb)(),fillStyle:a.fillStyle||x.HN.fillStyle,strokeWidth:a.strokeWidth||x.HN.strokeWidth,strokeStyle:(L=a.strokeStyle)!==null&&L!==void 0?L:x.HN.strokeStyle,roughness:(_=a.roughness)!==null&&_!==void 0?_:x.HN.roughness,opacity:a.opacity==null?x.HN.opacity:a.opacity,angle:a.angle||0,x:(E=(D=l.x)!==null&&D!==void 0?D:a.x)!==null&&E!==void 0?E:0,y:(F=(ee=l.y)!==null&&ee!==void 0?ee:a.y)!==null&&F!==void 0?F:0,strokeColor:a.strokeColor||x.HN.strokeColor,backgroundColor:a.backgroundColor||x.HN.backgroundColor,width:a.width||0,height:a.height||0,seed:(te=a.seed)!==null&&te!==void 0?te:1,groupIds:(re=a.groupIds)!==null&&re!==void 0?re:[],frameId:(oe=a.frameId)!==null&&oe!==void 0?oe:null,roundness:a.roundness?a.roundness:a.strokeSharpness==="round"?{type:(0,v.QI)(a.type)?x.a6.LEGACY:x.a6.PROPORTIONAL_RADIUS}:null,boundElements:a.boundElementIds?a.boundElementIds.map(function(Ae){return{type:"arrow",id:Ae}}):(Y=a.boundElements)!==null&&Y!==void 0?Y:[],updated:(V=a.updated)!==null&&V!==void 0?V:(0,N.C3)(),link:a.link?(0,k.$u)(a.link):null,locked:(ie=a.locked)!==null&&ie!==void 0&&ie};return"customData"in a&&(we.customData=a.customData),x.WR in a&&(we[x.WR]=a[x.WR]),he(he(he({},we),(0,m.Qp)(we)),l)},H=function(a,l){if(a.boundElements){var u=a.boundElements.slice(),C=new Set;a.boundElements=u.reduce(function(L,_){var E=l.get(_.id);if(E&&!C.has(_.id)){if(C.add(_.id),E.isDeleted)return L;L.push(_),(0,v.iB)(E)&&!E.containerId&&(E.containerId=a.id)}return L},[])}},M=function(a,l){var u=a.containerId?l.get(a.containerId):null;if(u){if(!a.isDeleted&&u.boundElements&&!u.boundElements.find(function(L){return L.id===a.id})){var C=(u.boundElements||(u.boundElements=[])).slice();C.push({type:"text",id:a.id}),u.boundElements=C}}else a.containerId=null},A=function(a,l){a.frameId&&(l.get(a.frameId)||(a.frameId=null))},b=function(a,l,u){var C=new Set,L=l?(0,N.xn)(l):null,_=(a||[]).reduce(function(te,re){if(re.type!=="selection"&&!(0,m.QD)(re)){var oe=function(V){var ie,we,Ae=arguments.length>1&&arguments[1]!==void 0&&arguments[1];switch(V.type){case"text":var Re=V.fontSize,je=V.fontFamily;if("font"in V){var ye=V.font.split(" "),Ee=(0,P.Z)(ye,2),Oe=Ee[0],ge=Ee[1];Re=parseFloat(Oe),je=le(ge)}var ue=typeof V.text=="string"&&V.text||"",se=V.lineHeight||(V.height?(0,W.$2)(V):(0,W.PT)(V.fontFamily)),j=(0,W.R8)(V.text,(0,N.mO)(V),se);return V=U(V,{fontSize:Re,fontFamily:je,text:ue,textAlign:V.textAlign||x.Hg,verticalAlign:V.verticalAlign||x.hs,containerId:(ie=V.containerId)!==null&&ie!==void 0?ie:null,originalText:V.originalText||ue,lineHeight:se,baseline:j}),ue||V.isDeleted||(V=he(he({},V),{},{originalText:ue,isDeleted:!0}),V=(0,Z.ZP)(V)),Ae&&(V=he(he({},V),(0,m.JZ)(V))),V;case"freedraw":return U(V,{points:V.points,lastCommittedPoint:null,simulatePressure:V.simulatePressure,pressures:V.pressures});case"image":return U(V,{status:V.status||"pending",fileId:V.fileId,scale:V.scale||[1,1]});case"line":case"draw":case"arrow":var i=V,s=i.startArrowhead,O=s===void 0?null:s,z=i.endArrowhead,K=z===void 0?V.type==="arrow"?"arrow":null:z,$=V.x,Q=V.y,ae=!Array.isArray(V.points)||V.points.length<2?[[0,0],[V.width,V.height]]:V.points;if(ae[0][0]!==0||ae[0][1]!==0){var be=f._.getNormalizedPoints(V);ae=be.points,$=be.x,Q=be.y}return U(V,{type:V.type==="draw"?"line":V.type,startBinding:G(V.startBinding),endBinding:G(V.endBinding),lastCommittedPoint:null,startArrowhead:O,endArrowhead:K,points:ae,x:$,y:Q});case"ellipse":case"rectangle":case"diamond":return U(V,{});case"embeddable":return U(V,{validated:null});case"frame":return U(V,{name:(we=V.name)!==null&&we!==void 0?we:null})}return null}(re,u?.refreshDimensions);if(oe){var Y=L?.get(re.id);Y&&Y.version>oe.version&&(oe=(0,Z.ZP)(oe,Y.version)),C.has(oe.id)&&(oe=he(he({},oe),{},{id:(0,I.kb)()})),C.add(oe.id),te.push(oe)}}return te},[]);if(u==null||!u.repairBindings)return _;var E,D=(0,N.xn)(_),F=S(_);try{for(F.s();!(E=F.n()).done;){var ee=E.value;ee.frameId&&A(ee,D),(0,v.iB)(ee)&&ee.containerId?M(ee,D):ee.boundElements&&H(ee,D)}}catch(te){F.e(te)}finally{F.f()}return _},y=function(a,l,u){var C=l[a];return C!==void 0?C:u[a]},h={isSidebarDocked:function(a,l){var u;return["defaultSidebarDockedPreference",(u=a.isSidebarDocked)!==null&&u!==void 0?u:y("defaultSidebarDockedPreference",a,l)]}},d=function(a,l){var u,C,L,_;a=a||{};for(var E=(0,c.im)(),D={},F=0,ee=Object.keys(h);F<ee.length;F++){var te=ee[F];if(te in a){var re=h[te](a,E),oe=(0,P.Z)(re,2),Y=oe[0],V=oe[1];D[Y]=V}}for(var ie=0,we=Object.entries(E);ie<we.length;ie++){var Ae=(0,P.Z)(we[ie],2),Re=Ae[0],je=Ae[1],ye=a[Re],Ee=l?l[Re]:void 0;D[Re]=ye!==void 0?ye:Ee!==void 0?Ee:je}return he(he({},D),{},{cursorButton:l?.cursorButton||"up",penDetected:(u=l?.penDetected)!==null&&u!==void 0?u:!!a.penMode&&(C=a.penDetected)!==null&&C!==void 0&&C,activeTool:he(he({},(0,N.Om)(E,D.activeTool.type&&ve[D.activeTool.type]?D.activeTool:{type:"selection"})),{},{lastActiveTool:null,locked:(L=D.activeTool.locked)!==null&&L!==void 0&&L}),zoom:typeof a.zoom=="number"?{value:a.zoom}:(_=a.zoom)!==null&&_!==void 0&&_.value?a.zoom:E.zoom,openSidebar:typeof a.openSidebar=="string"?{name:x.Cc.name}:D.openSidebar})},r=function(a,l,u,C){return{elements:b(a?.elements,u,C),appState:d(a?.appState,l||null),files:a?.files||{}}},n=function(a){var l=b((0,m.Lm)(a.elements),null);return l.length?he(he({},a),{},{elements:l}):null},p=function(){var a,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1?arguments[1]:void 0,C=[],L=S(l);try{for(L.s();!(a=L.n()).done;){var _=a.value;if(Array.isArray(_)){var E=n({status:u,elements:_,id:(0,I.kb)(),created:Date.now()});E&&C.push(E)}else{var D=_,F=n(he(he({},D),{},{id:D.id||(0,I.kb)(),status:D.status||u,created:D.created||Date.now()}));F&&C.push(F)}}}catch(ee){L.e(ee)}finally{L.f()}return C}},6199:function(fe,t,e){e.d(t,{w:function(){return A}});var P=e(2577),w=e(5169),m=e(8821),v=e(7169),I=e(9937),x=e(7651),c=e(9645),f=e(5742),Z=e(4761),N=e(9827),W=e(5999),k=e(4643);function S(b,y){var h=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!h){if(Array.isArray(b)||(h=function(l,u){if(l){if(typeof l=="string")return J(l,u);var C=Object.prototype.toString.call(l).slice(8,-1);if(C==="Object"&&l.constructor&&(C=l.constructor.name),C==="Map"||C==="Set")return Array.from(l);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return J(l,u)}}(b))||y&&b&&typeof b.length=="number"){h&&(b=h);var d=0,r=function(){};return{s:r,n:function(){return d>=b.length?{done:!0}:{done:!1,value:b[d++]}},e:function(l){throw l},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n,p=!0,a=!1;return{s:function(){h=h.call(b)},n:function(){var l=h.next();return p=l.done,l},e:function(l){a=!0,n=l},f:function(){try{p||h.return==null||h.return()}finally{if(a)throw n}}}}function J(b,y){(y==null||y>b.length)&&(y=b.length);for(var h=0,d=new Array(y);h<y;h++)d[h]=b[h];return d}function ce(b,y){var h=Object.keys(b);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(b);y&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(b,r).enumerable})),h.push.apply(h,d)}return h}function he(b){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?ce(Object(h),!0).forEach(function(d){(0,v.Z)(b,d,h[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(h)):ce(Object(h)).forEach(function(d){Object.defineProperty(b,d,Object.getOwnPropertyDescriptor(h,d))})}return b}var ve=100,le=0,G=100,U=function(b,y){var h=(0,f.VL)(he(he({x:0,y:0,textAlign:I.I8.CENTER,verticalAlign:I.oX.MIDDLE},y),{},{containerId:b.id,strokeColor:y.strokeColor||b.strokeColor}));return Object.assign(b,{boundElements:(b.boundElements||[]).concat({type:"text",id:h.id})}),(0,x.oN)(h,b),[b,h]},H=function(b,y,h,d){var r,n;if(Object.assign(b,{startBinding:b?.startBinding||null,endBinding:b.endBinding||null}),y){var p,a,l,u=(p=y?.width)!==null&&p!==void 0?p:G,C=(a=y?.height)!==null&&a!==void 0?a:G;y.id&&((l=d.getElement(y.id))||console.error("No element for start binding with id ".concat(y.id," found")));var L=y.x||b.x-u,_=y.y||b.y-C/2,E=l?l.type:y.type;if(E){if(E==="text"){var D="";l&&l.type==="text"?D=l.text:y.type==="text"&&(D=y.text),D||console.error("No text found for start binding text element for ".concat(b.id)),r=(0,f.VL)(he(he(he({x:L,y:_,type:"text"},l),y),{},{text:D})),Object.assign(r,{x:y.x||b.x-r.width,y:y.y||b.y-r.height/2})}else switch(E){case"rectangle":case"ellipse":case"diamond":r=(0,x.Up)(he(he(he({x:L,y:_,width:u,height:C},l),y),{},{type:E}));break;default:(0,N.vE)(b,'Unhandled element start type "'.concat(y.type,'"'),!0)}(0,c.UZ)(b,r,"start")}}if(h){var F,ee,te,re=(F=h?.height)!==null&&F!==void 0?F:G,oe=(ee=h?.width)!==null&&ee!==void 0?ee:G;h.id&&((te=d.getElement(h.id))||console.error("No element for end binding with id ".concat(h.id," found")));var Y=h.x||b.x+b.width,V=h.y||b.y-re/2,ie=te?te.type:h.type;if(ie){if(ie==="text"){var we="";te&&te.type==="text"?we=te.text:h.type==="text"&&(we=h.text),we||console.error("No text found for end binding text element for ".concat(b.id)),n=(0,f.VL)(he(he(he({x:Y,y:V,type:"text"},te),h),{},{text:we})),Object.assign(n,{y:h.y||b.y-n.height/2})}else switch(ie){case"rectangle":case"ellipse":case"diamond":n=(0,x.Up)(he(he(he({x:Y,y:V,width:oe,height:re},te),h),{},{type:ie}));break;default:(0,N.vE)(b,'Unhandled element end type "'.concat(ie,'"'),!0)}(0,c.UZ)(b,n,"end")}}var Ae=b.points.length-1,Re=.5,je=(0,N.xU)(b.points);return b.points[Ae][0]>b.points[Ae-1][0]&&(je[0][0]=Re,je[Ae][0]-=Re),b.points[Ae][0]<b.points[Ae-1][0]&&(je[0][0]=-.5,je[Ae][0]+=Re),b.points[Ae][1]>b.points[Ae-1][1]&&(je[0][1]=Re,je[Ae][1]-=Re),b.points[Ae][1]<b.points[Ae-1][1]&&(je[0][1]=-.5,je[Ae][1]+=Re),Object.assign(b,{points:je}),{linearElement:b,startBoundElement:r,endBoundElement:n}},M=(0,w.Z)(function b(){var y=this;(0,m.Z)(this,b),this.excalidrawElements=new Map,this.add=function(h){h&&y.excalidrawElements.set(h.id,h)},this.getElements=function(){return Array.from(y.excalidrawElements.values())},this.getElement=function(h){return y.excalidrawElements.get(h)}}),A=function(b,y){if(!b)return[];var h,d=(0,N.xU)(b),r=new M,n=new Map,p=new Map,a=S(d);try{for(a.s();!(h=a.n()).done;){var l=h.value,u=void 0,C=l.id;switch(y?.regenerateIds!==!1&&Object.assign(l,{id:(0,k.kb)()}),l.type){case"rectangle":case"ellipse":case"diamond":var L,_,E=l!=null&&(L=l.label)!==null&&L!==void 0&&L.text&&l.width===void 0?0:l?.width||G,D=l!=null&&(_=l.label)!==null&&_!==void 0&&_.text&&l.height===void 0?0:l?.height||G;u=(0,x.Up)(he(he({},l),{},{width:E,height:D}));break;case"line":var F=l.width||ve,ee=l.height||le;u=(0,x.y8)(he({width:F,height:ee,points:[[0,0],[F,ee]]},l));break;case"arrow":var te=l.width||ve,re=l.height||le;u=(0,x.y8)(he({width:te,height:re,endArrowhead:"arrow",points:[[0,0],[te,re]]},l)),Object.assign(u,(0,W.k)(u.points));break;case"text":var oe,Y=l?.fontFamily||I.rk,V=l?.fontSize||I.n5,ie=l?.lineHeight||(0,Z.PT)(Y),we=(oe=l.text)!==null&&oe!==void 0?oe:"",Ae=(0,Z.bG)(we),Re=(0,Z.X1)(Ae,(0,N.mO)({fontFamily:Y,fontSize:V}),ie);u=(0,f.VL)(he({width:Re.width,height:Re.height,fontFamily:Y,fontSize:V},l));break;case"image":u=(0,f.vw)(he({width:l?.width||G,height:l?.height||G},l));break;case"frame":u=(0,f.M3)(he({x:0,y:0},l));break;case"freedraw":case"embeddable":u=l;break;default:u=l,(0,N.vE)(l,'Unhandled element type "'.concat(l.type,'"'),!0)}r.getElement(u.id)?console.error("Duplicate id found for ".concat(u.id)):(r.add(u),n.set(u.id,l),C&&p.set(C,u.id))}}catch(rt){a.e(rt)}finally{a.f()}var je,ye=S(n);try{for(ye.s();!(je=ye.n()).done;){var Ee=(0,P.Z)(je.value,2),Oe=Ee[0],ge=Ee[1],ue=r.getElement(Oe);switch(ge.type){case"rectangle":case"ellipse":case"diamond":case"arrow":var se;if((se=ge.label)!==null&&se!==void 0&&se.text){var j=U(ue,ge?.label),i=(0,P.Z)(j,2),s=i[0],O=i[1];if(r.add(s),r.add(O),s.type==="arrow"){var z=ge.type==="arrow"?ge?.start:void 0,K=ge.type==="arrow"?ge?.end:void 0;if(z&&z.id){var $=p.get(z.id);$&&Object.assign(z,{id:$})}if(K&&K.id){var Q=p.get(K.id);Q&&Object.assign(K,{id:Q})}var ae=H(s,z,K,r),be=ae.linearElement,Ce=ae.startBoundElement,Ze=ae.endBoundElement;s=be,r.add(be),r.add(Ce),r.add(Ze)}}else if(ge.type==="arrow"){var Be=ge.start,Te=ge.end;if(Be&&Be.id){var He=p.get(Be.id);Object.assign(Be,{id:He})}if(Te&&Te.id){var Ve=p.get(Te.id);Object.assign(Te,{id:Ve})}var Je=H(ue,Be,Te,r),Me=Je.linearElement,me=Je.startBoundElement,Se=Je.endBoundElement;r.add(Me),r.add(me),r.add(Se)}}}}catch(rt){ye.e(rt)}finally{ye.f()}var Ne,Ye=S(n);try{var Qe=function(){var rt=(0,P.Z)(Ne.value,2),ft=rt[0],at=rt[1];if(at.type!=="frame")return"continue";var ut=r.getElement(ft);if(!ut)throw new Error("Excalidraw element with id ".concat(ft," doesn't exist"));var Ot=[];at.children.forEach(function(ht){var yt,Ct=p.get(ht);if(!Ct)throw new Error("Element with ".concat(ht," wasn't mapped correctly"));var Bt=r.getElement(Ct);if(!Bt)throw new Error("Frame element with id ".concat(Ct," doesn't exist"));Object.assign(Bt,{frameId:ut.id}),Bt==null||(yt=Bt.boundElements)===null||yt===void 0||yt.forEach(function(zt){var tr=r.getElement(zt.id);if(!tr)throw new Error("Bound element with id ".concat(zt.id," doesn't exist"));Object.assign(tr,{frameId:ut.id}),Ot.push(tr)}),Ot.push(Bt)});var Pt=(0,x.KP)(Ot),Et=(0,P.Z)(Pt,4),Mt=Et[0],Yt=Et[1],lt=Et[2],ot=Et[3];Mt-=10,Yt-=10,lt+=10,ot+=10;var mt=Math.max(ut?.width,lt-Mt),pt=Math.max(ut?.height,ot-Yt);Object.assign(ut,{x:Mt,y:Yt,width:mt,height:pt})};for(Ye.s();!(Ne=Ye.n()).done;)Qe()}catch(rt){Ye.e(rt)}finally{Ye.f()}return r.getElements()}},8020:function(fe,t,e){e.d(t,{$u:function(){return w},q$:function(){return m},ye:function(){return v}});var P=e(5779),w=function(I){return(I=I.trim())?(0,P.N)(I):I},m=function(I){return!!(I!=null&&I.includes(location.origin)||I!=null&&I.startsWith("/"))},v=function(I){if((I=w(I)).startsWith("/"))return"".concat(location.origin).concat(I);try{new URL(I)}catch{return"about:blank"}return I}},5992:function(fe,t,e){e.d(t,{rj:function(){return re},nW:function(){return V},nz:function(){return we},sw:function(){return Re},lV:function(){return ue},Ni:function(){return ye},wq:function(){return je},Pp:function(){return Oe}});var P=e(7169),w=e(2577),m=e(9827),v=e(761),I=e(583),x=e(2767),c=e(1512),f=e(8935),Z=e(8227),N=e(9787),W=e(45),k=e(5491),S=e(9660),J=e(2361),ce=e(9937),he=e(8925),ve=e(4105),le=e(3528),G=e(7651),U=e(8020),H=e(3379),M=e.n(H),A=e(7795),b=e.n(A),y=e(569),h=e.n(y),d=e(3565),r=e.n(d),n=e(9216),p=e.n(n),a=e(4589),l=e.n(a),u=e(5260),C={};C.styleTagTransform=l(),C.setAttributes=r(),C.insert=h().bind(null,"head"),C.domAPI=b(),C.insertStyleElement=p(),M()(u.Z,C),u.Z&&u.Z.locals&&u.Z.locals;var L=e(3646),_=e(8242),E=e(4183),D=e(2921),F=e(1020);function ee(j,i){var s=Object.keys(j);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(j);i&&(O=O.filter(function(z){return Object.getOwnPropertyDescriptor(j,z).enumerable})),s.push.apply(s,O)}return s}function te(j){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?ee(Object(s),!0).forEach(function(O){(0,P.Z)(j,O,s[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(s)):ee(Object(s)).forEach(function(O){Object.defineProperty(j,O,Object.getOwnPropertyDescriptor(s,O))})}return j}var re=document.createElement("img");re.src="data:".concat(ce.LO.svg,", ").concat(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#1971c2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>'));var oe=!1,Y=new Map,V=function(j){var i=j.element,s=j.setAppState,O=j.onLinkOpen,z=j.setToast,K=(0,_.gF)(),$=(0,_.hY)(),Q=i.link||"",ae=(0,N.useState)(Q),be=(0,w.Z)(ae,2),Ce=be[0],Ze=be[1],Be=(0,N.useRef)(null),Te=K.showHyperlinkPopup==="editor",He=(0,N.useCallback)(function(){if(Be.current){var Se=(0,U.$u)(Be.current.value)||null;if(!i.link&&Se&&(0,L.L)("hyperlink","create"),(0,E.gs)(i)){var Ne;if(((Ne=K.activeEmbeddable)===null||Ne===void 0?void 0:Ne.element)===i&&s({activeEmbeddable:null}),!Se)return void(0,I.DR)(i,{validated:!1,link:null});if((0,v.xm)(Se,$.validateEmbeddable)){var Ye=i.width,Qe=i.height,rt=(0,v.LM)(Se);rt!=null&&rt.warning&&z({message:rt.warning,closable:!0});var ft=rt?rt.aspectRatio.w/rt.aspectRatio.h:1,at=Y.get(i.id)!==i.link;(0,I.DR)(i,te(te({},at?{width:rt?.type==="video"?Ye>Qe?Ye:Qe*ft:Ye,height:rt?.type==="video"&&Ye>Qe?Ye/ft:Qe}:{}),{},{validated:!0,link:Se})),D.R.delete(i),Y.has(i.id)&&Y.delete(i.id)}else Se&&z({message:(0,Z.t)("toast.unableToEmbed"),closable:!0}),i.link&&Y.set(i.id,i.link),(0,I.DR)(i,{validated:!1,link:Se}),D.R.delete(i)}else(0,I.DR)(i,{link:Se})}},[i,z,$.validateEmbeddable,K.activeEmbeddable,s]);(0,N.useLayoutEffect)(function(){return function(){He()}},[He]),(0,N.useEffect)(function(){var Se=null,Ne=function(Ye){Te||(Se&&clearTimeout(Se),se(i,K,[Ye.clientX,Ye.clientY])&&(Se=window.setTimeout(function(){s({showHyperlinkPopup:!1})},500)))};return window.addEventListener(ce.Ks.POINTER_MOVE,Ne,!1),function(){window.removeEventListener(ce.Ks.POINTER_MOVE,Ne,!1),Se&&clearTimeout(Se)}},[K,i,Te,s]);var Ve=(0,N.useCallback)(function(){(0,L.L)("hyperlink","delete"),(0,I.DR)(i,{link:null}),Te&&(Be.current.value=""),s({showHyperlinkPopup:!1})},[s,i,Te]),Je=ie(i,K),Me=Je.x,me=Je.y;return K.draggingElement||K.resizingElement||K.isRotating||K.openMenu||K.viewModeEnabled?null:(0,F.jsxs)("div",{className:"excalidraw-hyperlinkContainer",style:{top:"".concat(me,"px"),left:"".concat(Me,"px"),width:320,padding:5},onClick:function(){i.link||Te||s({showHyperlinkPopup:"editor"})},children:[Te?(0,F.jsx)("input",{className:(0,W.Z)("excalidraw-hyperlinkContainer-input"),placeholder:"Type or paste your link here",ref:Be,value:Ce,onChange:function(Se){return Ze(Se.target.value)},autoFocus:!0,onKeyDown:function(Se){Se.stopPropagation(),Se[k.tW.CTRL_OR_CMD]&&Se.key===k.tW.K&&Se.preventDefault(),Se.key!==k.tW.ENTER&&Se.key!==k.tW.ESCAPE||(He(),s({showHyperlinkPopup:"info"}))}}):i.link?(0,F.jsx)("a",{href:(0,U.$u)(i.link||""),className:"excalidraw-hyperlinkContainer-link",target:(0,U.q$)(i.link)?"_self":"_blank",onClick:function(Se){if(i.link&&O){var Ne=(0,m.ag)(ce.Ks.EXCALIDRAW_LINK,Se.nativeEvent);O(te(te({},i),{},{link:(0,U.$u)(i.link)}),Ne),Ne.defaultPrevented&&Se.preventDefault()}},rel:"noopener noreferrer",children:i.link}):(0,F.jsx)("div",{className:"excalidraw-hyperlinkContainer-link",children:(0,Z.t)("labels.link.empty")}),(0,F.jsxs)("div",{className:"excalidraw-hyperlinkContainer__buttons",children:[!Te&&(0,F.jsx)(c.V,{type:"button",title:(0,Z.t)("buttons.edit"),"aria-label":(0,Z.t)("buttons.edit"),label:(0,Z.t)("buttons.edit"),onClick:function(){(0,L.L)("hyperlink","edit","popup-ui"),s({showHyperlinkPopup:"editor"})},className:"excalidraw-hyperlinkContainer--edit",icon:f.Pm}),Q&&!(0,E.gs)(i)&&(0,F.jsx)(c.V,{type:"button",title:(0,Z.t)("buttons.remove"),"aria-label":(0,Z.t)("buttons.remove"),label:(0,Z.t)("buttons.remove"),onClick:Ve,className:"excalidraw-hyperlinkContainer--remove",icon:f.XH})]})]})},ie=function(j,i){var s=(0,G.qf)(j),O=(0,w.Z)(s,2),z=O[0],K=O[1],$=(0,m._i)({sceneX:z+j.width/2,sceneY:K},i),Q=$.x,ae=$.y;return{x:Q-i.offsetLeft-160,y:ae-i.offsetTop-85}},we=(0,x.z)({name:"hyperlink",perform:function(j,i){return i.showHyperlinkPopup!=="editor"&&{elements:j,appState:te(te({},i),{},{showHyperlinkPopup:"editor",openMenu:null}),commitToHistory:!0}},trackEvent:{category:"hyperlink",action:"click"},keyTest:function(j){return j[k.tW.CTRL_OR_CMD]&&j.key===k.tW.K},contextItemLabel:function(j,i){return Ae(j,i)},predicate:function(j,i){return(0,ve.eD)(j,i).length===1},PanelComponent:function(j){var i=j.elements,s=j.appState,O=j.updateData,z=(0,ve.eD)(i,s);return(0,F.jsx)(c.V,{type:"button",icon:f.xP,"aria-label":(0,Z.t)(Ae(i,s)),title:"".concat((0,E.gs)(i[0])?(0,Z.t)("labels.link.labelEmbed"):(0,Z.t)("labels.link.label")," - ").concat((0,m.uY)("CtrlOrCmd+K")),onClick:function(){return O(null)},selected:z.length===1&&!!z[0].link})}}),Ae=function(j,i){var s=(0,ve.eD)(j,i);return s[0].link?(0,E.gs)(s[0])?"labels.link.editEmbed":"labels.link.edit":(0,E.gs)(s[0])?"labels.link.createEmbed":"labels.link.create"},Re=function(j,i,s){var O=(0,w.Z)(j,4),z=O[0],K=O[1],$=O[2],Q=O[3],ae=S.Dn,be=ae/s.zoom.value,Ce=ae/s.zoom.value,Ze=ae/s.zoom.value,Be=(z+$)/2,Te=(K+Q)/2,He=(ae-8)/(2*s.zoom.value),Ve=4/s.zoom.value,Je=$+Ve-He,Me=K-Ve-Ze+He,me=(0,J.U1)(Je+be/2,Me+Ce/2,Be,Te,i),Se=(0,w.Z)(me,2);return[Se[0]-be/2,Se[1]-Ce/2,be,Ce]},je=function(j,i,s){var O=(0,w.Z)(s,2),z=O[0],K=O[1],$=4/i.zoom.value,Q=(0,G.qf)(j),ae=(0,w.Z)(Q,4),be=ae[0],Ce=ae[1],Ze=ae[2],Be=ae[3],Te=Re([be,Ce,Ze,Be],j.angle,i),He=(0,w.Z)(Te,4),Ve=He[0],Je=He[1],Me=He[2],me=He[3];return z>Ve-$&&z<Ve+$+Me&&K>Je-$&&K<Je+me+$},ye=function(j,i,s,O){var z=(0,w.Z)(s,2),K=z[0],$=z[1];if(!j.link||i.selectedElementIds[j.id])return!1;var Q=4/i.zoom.value;return!(O||!i.viewModeEnabled||!(0,le.pX)(j,[K,$],Q,null))||je(j,i,[K,$])},Ee=null,Oe=function(j,i){Ee&&clearTimeout(Ee),Ee=window.setTimeout(function(){return ge(j,i)},ce.sA)},ge=function(j,i){if(j.link){var s=(0,he.bK)();s.classList.add("excalidraw-tooltip--visible"),s.style.maxWidth="20rem",s.textContent=j.link;var O=(0,G.qf)(j),z=(0,w.Z)(O,4),K=z[0],$=z[1],Q=z[2],ae=z[3],be=Re([K,$,Q,ae],j.angle,i),Ce=(0,w.Z)(be,4),Ze=Ce[0],Be=Ce[1],Te=Ce[2],He=Ce[3],Ve=(0,m._i)({sceneX:Ze,sceneY:Be},i);(0,he.Js)(s,{left:Ve.x,top:Ve.y,width:Te,height:He},"top"),(0,L.L)("hyperlink","tooltip","link-icon"),oe=!0}},ue=function(){Ee&&clearTimeout(Ee),oe&&(oe=!1,(0,he.bK)().classList.remove("excalidraw-tooltip--visible"))},se=function(j,i,s){var O=(0,w.Z)(s,2),z=O[0],K=O[1],$=(0,m.dE)({clientX:z,clientY:K},i),Q=$.x,ae=$.y,be=15/i.zoom.value;if((0,le.pX)(j,[Q,ae],be,null))return!1;var Ce=(0,G.qf)(j),Ze=(0,w.Z)(Ce,3),Be=Ze[0],Te=Ze[1],He=Ze[2];if(Q>=Be&&Q<=He&&ae>=Te-85&&ae<=Te)return!1;var Ve=ie(j,i),Je=Ve.x,Me=Ve.y;return!(z>=Je-be&&z<=Je+320+10+be&&K>=Me-be&&K<=Me+be+10+42)}},9645:function(fe,t,e){e.d(t,{$q:function(){return te},DK:function(){return A},H:function(){return b},HG:function(){return he},N1:function(){return J},R:function(){return U},UZ:function(){return H},Ww:function(){return r},Y9:function(){return h},ZB:function(){return u},cz:function(){return S},ek:function(){return F},el:function(){return le}});var P=e(7169),w=e(2577),m=e(4105),v=e(4183),I=e(3528),x=e(583),c=e(457),f=e(7422),Z=e(9827),N=e(5491),W=e(4761);function k(Y,V){var ie=Object.keys(Y);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(Y);V&&(we=we.filter(function(Ae){return Object.getOwnPropertyDescriptor(Y,Ae).enumerable})),ie.push.apply(ie,we)}return ie}var S=function(Y){return!Y[N.tW.CTRL_OR_CMD]},J=function(Y){return Y.isBindingEnabled},ce=function(Y,V){var ie=[];return V.forEach(function(we){var Ae=Y.getNonDeletedElement(we);Ae!=null&&ie.push(Ae)}),ie},he=function(Y,V,ie){var we=new Set,Ae=new Set;ve(Y,V,ie,"start",we,Ae),ve(Y,ie,V,"end",we,Ae);var Re=Array.from(Ae).filter(function(je){return!we.has(je)});ce(c.Z.getScene(Y),Re).forEach(function(je){var ye;(0,x.DR)(je,{boundElements:(ye=je.boundElements)===null||ye===void 0?void 0:ye.filter(function(Ee){return Ee.type!=="arrow"||Ee.id!==Y.id})})})},ve=function(Y,V,ie,we,Ae,Re){if(V!=="keep")if(V!=null)ie!=null&&(ie==="keep"?M(Y,V,we):we!=="start"&&ie.id===V.id)||(H(Y,V,we),Ae.add(V.id));else{var je=y(Y,we);je!=null&&Re.add(je)}},le=function(Y){Y.forEach(function(V){(0,v.Mn)(V)?he(V,L(V,"start"),L(V,"end")):(0,v.f0)(V)&&G(V)})},G=function(Y){E(Y).forEach(function(V){var ie=(0,w.Z)(V,2),we=ie[0],Ae=ie[1];return he(we,Ae==="end"?"keep":Y,Ae==="start"?"keep":Y)})},U=function(Y,V,ie,we){V.startBoundElement!=null&&H(Y,V.startBoundElement,"start");var Ae=h(we,ie);Ae==null||M(Y,Ae,"end")||H(Y,Ae,"end")},H=function(Y,V,ie){(0,x.DR)(Y,(0,P.Z)({},ie==="start"?"startBinding":"endBinding",function(we){for(var Ae=1;Ae<arguments.length;Ae++){var Re=arguments[Ae]!=null?arguments[Ae]:{};Ae%2?k(Object(Re),!0).forEach(function(je){(0,P.Z)(we,je,Re[je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(Re)):k(Object(Re)).forEach(function(je){Object.defineProperty(we,je,Object.getOwnPropertyDescriptor(Re,je))})}return we}({elementId:V.id},d(Y,V,ie)))),(0,Z.xn)(V.boundElements||[]).has(Y.id)||(0,x.DR)(V,{boundElements:(V.boundElements||[]).concat({id:Y.id,type:"arrow"})})},M=function(Y,V,ie){var we=Y[ie==="start"?"endBinding":"startBinding"];return A(Y,we?.elementId,V)},A=function(Y,V,ie){return V===ie.id&&Y.points.length<3},b=function(Y){Y.forEach(function(V){(0,v.Mn)(V)&&he(V,null,null)})},y=function(Y,V){var ie=V==="start"?"startBinding":"endBinding",we=Y[ie];return we==null?null:((0,x.DR)(Y,(0,P.Z)({},ie,null)),we.elementId)},h=function(Y,V){return(0,m.QG)(V.getNonDeletedElements(),function(ie){return(0,v.f0)(ie,!1)&&(0,I.uu)(ie,Y)})},d=function(Y,V,ie){var we=ie==="start"?-1:1,Ae=we===-1?0:Y.points.length-1,Re=Ae-we,je=f._.getPointAtIndexGlobalCoordinates(Y,Ae),ye=f._.getPointAtIndexGlobalCoordinates(Y,Re);return{focus:(0,I.T_)(V,ye,je),gap:Math.max(1,(0,I.oT)(V,je))}},r=function(Y,V){var ie,we=((ie=Y.boundElements)!==null&&ie!==void 0?ie:[]).filter(function(Ee){return Ee.type==="arrow"});if(we.length!==0){var Ae=V??{},Re=Ae.newSize,je=Ae.simultaneouslyUpdated,ye=p(je);ce(c.Z.getScene(Y),we.map(function(Ee){return Ee.id})).forEach(function(Ee){if((0,v.bt)(Ee)){var Oe=Y;if(n(Ee,Oe)){var ge=l(Oe,Ee.startBinding,Re),ue=l(Oe,Ee.endBinding,Re);ye.has(Ee.id)?(0,x.DR)(Ee,{startBinding:ge,endBinding:ue}):(a(Ee,"start",ge,Y),a(Ee,"end",ue,Y),(0,W.WJ)(Ee)&&(0,W.RB)(Ee,!1))}}})}},n=function(Y,V){var ie,we;return((ie=Y.startBinding)===null||ie===void 0?void 0:ie.elementId)===V.id||((we=Y.endBinding)===null||we===void 0?void 0:we.elementId)===V.id},p=function(Y){return new Set((Y||[]).map(function(V){return V.id}))},a=function(Y,V,ie,we){if(!(ie==null||ie.elementId!==we.id&&Y.points.length>2)){var Ae=c.Z.getScene(Y).getElement(ie.elementId);if(Ae!=null){var Re,je=V==="start"?-1:1,ye=je===-1?0:Y.points.length-1,Ee=ye-je,Oe=f._.getPointAtIndexGlobalCoordinates(Y,Ee),ge=(0,I.j_)(Ae,ie.focus,Oe);if(ie.gap===0)Re=ge;else{var ue=(0,I.MZ)(Ae,Oe,ge,ie.gap);Re=ue.length===0?ge:ue[0]}f._.movePoints(Y,[{index:ye,point:f._.pointFromAbsoluteCoords(Y,Re)}],(0,P.Z)({},V==="start"?"startBinding":"endBinding",ie))}}},l=function(Y,V,ie){if(V==null||ie==null)return V;var we=V.gap,Ae=V.focus,Re=V.elementId,je=ie.width,ye=ie.height,Ee=Y.width,Oe=Y.height;return{elementId:Re,gap:Math.max(1,Math.min((0,I.fb)(Y,je,ye),we*(je<ye?je/Ee:ye/Oe))),focus:Ae}},u=function(Y){var V=new Set(Y.map(function(ie){return ie.id}));return Y.flatMap(function(ie){return(0,v.Mn)(ie,!1)?C(ie).filter(function(we){return!V.has(we.id)}):(0,v.f0)(ie,!1)?E(ie).filter(function(we){return!V.has(we[0].id)}):[]})},C=function(Y){return[L(Y,"start"),L(Y,"end")].filter(function(V){return V!=null})},L=function(Y,V){return h(_(Y,V),c.Z.getScene(Y))},_=function(Y,V){var ie=V==="start"?0:-1;return(0,Z.AK)(f._.getPointAtIndexGlobalCoordinates(Y,ie))},E=function(Y){return c.Z.getScene(Y).getNonDeletedElements().map(function(V){if(!(0,v.Mn)(V,!1))return null;var ie=D(V,"start",Y),we=D(V,"end",Y);return ie||we?[V,ie&&we?"both":ie?"start":"end",Y]:null}).filter(function(V){return V!=null})},D=function(Y,V,ie){return Y[V==="start"?"startBinding":"endBinding"]==null&&!M(Y,ie,V)&&(0,I.uu)(ie,_(Y,V))},F=function(Y,V,ie,we){var Ae=new Set,Re=new Set,je=we==="duplicatesServeAsOld";V.forEach(function(ye){var Ee=ye.boundElements;if(Ee!=null&&Ee.length>0&&(Ee.forEach(function(ue){je&&!ie.has(ue.id)&&Ae.add(ue.id)}),Re.add(ie.get(ye.id))),(0,v.Mn)(ye)){if(ye.startBinding!=null){var Oe=ye.startBinding.elementId;je&&!ie.has(Oe)&&Re.add(Oe)}if(ye.endBinding!=null){var ge=ye.endBinding.elementId;je&&!ie.has(ge)&&Re.add(ge)}ye.startBinding==null&&ye.endBinding==null||Ae.add(ie.get(ye.id))}}),Y.filter(function(ye){var Ee=ye.id;return Ae.has(Ee)}).forEach(function(ye){var Ee=ye.startBinding,Oe=ye.endBinding;(0,x.DR)(ye,{startBinding:ee(Ee,ie),endBinding:ee(Oe,ie)})}),Y.filter(function(ye){var Ee=ye.id;return Re.has(Ee)}).forEach(function(ye){var Ee=ye.boundElements;Ee!=null&&Ee.length>0&&(0,x.DR)(ye,{boundElements:Ee.map(function(Oe){return ie.has(Oe.id)?{id:ie.get(Oe.id),type:Oe.type}:Oe})})})},ee=function(Y,V){var ie;if(Y==null)return null;var we=Y.elementId;return{focus:Y.focus,gap:Y.gap,elementId:(ie=V.get(we))!==null&&ie!==void 0?ie:we}},te=function(Y,V){var ie=new Set(V.map(function(Ae){return Ae.id})),we=new Set;V.forEach(function(Ae){var Re;(0,v.f0)(Ae)?(Re=Ae.boundElements)===null||Re===void 0||Re.forEach(function(je){ie.has(je.id)||we.add(je.id)}):(0,v.Mn)(Ae)&&(Ae.startBinding&&we.add(Ae.startBinding.elementId),Ae.endBinding&&we.add(Ae.endBinding.elementId))}),Y.filter(function(Ae){var Re=Ae.id;return we.has(Re)}).forEach(function(Ae){(0,v.f0)(Ae)?(0,x.DR)(Ae,{boundElements:oe(Ae.boundElements,ie)}):(0,v.Mn)(Ae)&&(0,x.DR)(Ae,{startBinding:re(Ae.startBinding,ie),endBinding:re(Ae.endBinding,ie)})})},re=function(Y,V){return Y==null||V.has(Y.elementId)?null:Y},oe=function(Y,V){return Y?Y.filter(function(ie){return!V.has(ie.id)}):null}},4949:function(fe,t,e){e.d(t,{CM:function(){return H},GJ:function(){return le},IX:function(){return b},KP:function(){return p},M$:function(){return G},Pi:function(){return n},UC:function(){return U},Ut:function(){return u},Y5:function(){return d},hC:function(){return a},os:function(){return C},qf:function(){return ve},v2:function(){return L},wC:function(){return l}});var P=e(1930),w=e(2577),m=e(8821),v=e(5169),I=e(2361),x=e(9845),c=e(6049),f=e(4183),Z=e(5999),N=e(4761),W=e(7422),k=e(2921),S=e(457);function J(_,E){var D=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!D){if(Array.isArray(_)||(D=function(Y,V){if(Y){if(typeof Y=="string")return ce(Y,V);var ie=Object.prototype.toString.call(Y).slice(8,-1);if(ie==="Object"&&Y.constructor&&(ie=Y.constructor.name),ie==="Map"||ie==="Set")return Array.from(Y);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return ce(Y,V)}}(_))||E&&_&&typeof _.length=="number"){D&&(_=D);var F=0,ee=function(){};return{s:ee,n:function(){return F>=_.length?{done:!0}:{done:!1,value:_[F++]}},e:function(Y){throw Y},f:ee}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var te,re=!0,oe=!1;return{s:function(){D=D.call(_)},n:function(){var Y=D.next();return re=Y.done,Y},e:function(Y){oe=!0,te=Y},f:function(){try{re||D.return==null||D.return()}finally{if(oe)throw te}}}}function ce(_,E){(E==null||E>_.length)&&(E=_.length);for(var D=0,F=new Array(E);D<E;D++)F[D]=_[D];return F}var he=function(){function _(){(0,m.Z)(this,_)}return(0,v.Z)(_,null,[{key:"getBounds",value:function(E){var D=_.boundsCache.get(E);if(D!=null&&D.version&&D.version===E.version&&!(0,f.Xh)(E))return D.bounds;var F=_.calculateBounds(E);return S.Z.getScene(E)&&_.boundsCache.set(E,{version:E.version,bounds:F}),F}},{key:"calculateBounds",value:function(E){var D,F=ve(E),ee=(0,w.Z)(F,6),te=ee[0],re=ee[1],oe=ee[2],Y=ee[3],V=ee[4],ie=ee[5];if((0,f.F9)(E)){var we=y(E.points.map(function(mt){var pt=(0,w.Z)(mt,2),ht=pt[0],yt=pt[1];return(0,I.U1)(ht,yt,V-E.x,ie-E.y,E.angle)})),Ae=(0,w.Z)(we,4),Re=Ae[0],je=Ae[1],ye=Ae[2],Ee=Ae[3];return[Re+E.x,je+E.y,ye+E.x,Ee+E.y]}if((0,f.bt)(E))D=r(E,V,ie);else if(E.type==="diamond"){var Oe=(0,I.U1)(V,re,V,ie,E.angle),ge=(0,w.Z)(Oe,2),ue=ge[0],se=ge[1],j=(0,I.U1)(V,Y,V,ie,E.angle),i=(0,w.Z)(j,2),s=i[0],O=i[1],z=(0,I.U1)(te,ie,V,ie,E.angle),K=(0,w.Z)(z,2),$=K[0],Q=K[1],ae=(0,I.U1)(oe,ie,V,ie,E.angle),be=(0,w.Z)(ae,2),Ce=be[0],Ze=be[1];D=[Math.min(ue,s,$,Ce),Math.min(se,O,Q,Ze),Math.max(ue,s,$,Ce),Math.max(se,O,Q,Ze)]}else if(E.type==="ellipse"){var Be=(oe-te)/2,Te=(Y-re)/2,He=Math.cos(E.angle),Ve=Math.sin(E.angle),Je=Math.hypot(Be*He,Te*Ve),Me=Math.hypot(Te*He,Be*Ve);D=[V-Je,ie-Me,V+Je,ie+Me]}else{var me=(0,I.U1)(te,re,V,ie,E.angle),Se=(0,w.Z)(me,2),Ne=Se[0],Ye=Se[1],Qe=(0,I.U1)(te,Y,V,ie,E.angle),rt=(0,w.Z)(Qe,2),ft=rt[0],at=rt[1],ut=(0,I.U1)(oe,Y,V,ie,E.angle),Ot=(0,w.Z)(ut,2),Pt=Ot[0],Et=Ot[1],Mt=(0,I.U1)(oe,re,V,ie,E.angle),Yt=(0,w.Z)(Mt,2),lt=Yt[0],ot=Yt[1];D=[Math.min(Ne,ft,Pt,lt),Math.min(Ye,at,Et,ot),Math.max(Ne,ft,Pt,lt),Math.max(Ye,at,Et,ot)]}return D}}]),_}();he.boundsCache=new WeakMap;var ve=function(_){var E=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if((0,f.F9)(_))return h(_);if((0,f.bt)(_))return W._.getElementAbsoluteCoords(_,E);if((0,f.iB)(_)){var D=(0,N.tl)(_);if((0,f.Yv)(D)){var F=W._.getBoundTextElementPosition(D,_);return[F.x,F.y,F.x+_.width,F.y+_.height,F.x+_.width/2,F.y+_.height/2]}}return[_.x,_.y,_.x+_.width,_.y+_.height,_.x+_.width/2,_.y+_.height/2]},le=function(_){var E=ve(_),D=(0,w.Z)(E,6),F=D[0],ee=D[1],te=D[2],re=D[3],oe=D[4],Y=D[5],V=[oe,Y];if((0,f.bt)(_)||(0,f.F9)(_)){for(var ie=[],we=0;we<_.points.length-1;)ie.push([(0,I.xj)([_.points[we][0]+_.x,_.points[we][1]+_.y],V,_.angle),(0,I.xj)([_.points[we+1][0]+_.x,_.points[we+1][1]+_.y],V,_.angle)]),we++;return ie}var Ae=[[F,ee],[te,ee],[F,re],[te,re],[oe,ee],[oe,re],[F,Y],[te,Y]].map(function(i){return(0,I.xj)(i,V,_.angle)}),Re=(0,w.Z)(Ae,8),je=Re[0],ye=Re[1],Ee=Re[2],Oe=Re[3],ge=Re[4],ue=Re[5],se=Re[6],j=Re[7];return _.type==="diamond"?[[ge,se],[ge,j],[ue,se],[ue,j]]:_.type==="ellipse"?[[ge,se],[ge,j],[ue,se],[ue,j],[ge,se],[ge,j],[ue,se],[ue,j]]:[[je,ye],[Ee,Oe],[je,Ee],[ye,Oe],[je,j],[Ee,j],[ye,se],[Oe,se]]},G=function(_){return[_.x,_.y,_.x+_.width,_.y+_.height,_.x+_.width/2,_.y+_.height/2]},U=function(_){var E=Math.floor(_.width/2)+1,D=_.width,F=Math.floor(_.height/2)+1;return[E,0,D,F,E,_.height,0,F]},H=function(_){var E,D=J(_.sets);try{for(D.s();!(E=D.n()).done;){var F=E.value;if(F.type==="path")return F.ops}}catch(ee){D.e(ee)}finally{D.f()}return _.sets[0].ops},M=function(_,E,D,F,ee){var te=1-_;return Math.pow(te,3)*E+3*Math.pow(te,2)*_*D+3*te*Math.pow(_,2)*F+Math.pow(_,3)*ee},A=function(_,E,D,F){var ee=E-_,te=D-E,re=3*ee-6*te+3*(F-D),oe=6*te-6*ee,Y=3*ee,V=oe*oe-4*re*Y;if(!(V>=0))return!1;var ie=null,we=null,Ae=1/0,Re=1/0;return re===0?Ae=Re=-Y/oe:(Ae=(-oe+Math.sqrt(V))/(2*re),Re=(-oe-Math.sqrt(V))/(2*re)),Ae>=0&&Ae<=1&&(ie=M(Ae,_,E,D,F)),Re>=0&&Re<=1&&(we=M(Re,_,E,D,F)),[ie,we]},b=function(_,E){var D=[0,0],F=_.reduce(function(ee,te){var re=te.op,oe=te.data;if(re==="move")D=oe;else if(re==="bcurveTo"){var Y=[oe[0],oe[1]],V=[oe[2],oe[3]],ie=[oe[4],oe[5]],we=E?E.apply(void 0,Y):Y,Ae=E?E.apply(void 0,V):V,Re=E?E.apply(void 0,ie):ie,je=E?E.apply(void 0,(0,P.Z)(D)):D;D=ie;var ye=function(j,i,s,O){var z=A(j[0],i[0],s[0],O[0]),K=A(j[1],i[1],s[1],O[1]),$=Math.min(j[0],O[0]),Q=Math.max(j[0],O[0]);if(z){var ae=z.filter(function(Be){return Be!==null});$=Math.min.apply(Math,[$].concat((0,P.Z)(ae))),Q=Math.max.apply(Math,[Q].concat((0,P.Z)(ae)))}var be=Math.min(j[1],O[1]),Ce=Math.max(j[1],O[1]);if(K){var Ze=K.filter(function(Be){return Be!==null});be=Math.min.apply(Math,[be].concat((0,P.Z)(Ze))),Ce=Math.max.apply(Math,[Ce].concat((0,P.Z)(Ze)))}return[$,be,Q,Ce]}(je,we,Ae,Re),Ee=(0,w.Z)(ye,4),Oe=Ee[0],ge=Ee[1],ue=Ee[2],se=Ee[3];ee.minX=Math.min(ee.minX,Oe),ee.minY=Math.min(ee.minY,ge),ee.maxX=Math.max(ee.maxX,ue),ee.maxY=Math.max(ee.maxY,se)}return ee},{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0});return[F.minX,F.minY,F.maxX,F.maxY]},y=function(_){var E,D=1/0,F=1/0,ee=-1/0,te=-1/0,re=J(_);try{for(re.s();!(E=re.n()).done;){var oe=(0,w.Z)(E.value,2),Y=oe[0],V=oe[1];D=Math.min(D,Y),F=Math.min(F,V),ee=Math.max(ee,Y),te=Math.max(te,V)}}catch(ie){re.e(ie)}finally{re.f()}return[D,F,ee,te]},h=function(_){var E=y(_.points),D=(0,w.Z)(E,4),F=D[0],ee=D[1],te=D[2],re=D[3],oe=F+_.x,Y=ee+_.y,V=te+_.x,ie=re+_.y;return[oe,Y,V,ie,(oe+V)/2,(Y+ie)/2]},d=function(_,E,D,F){var ee=H(E[0]);if(ee.length<1)return null;var te=D==="start"?1:ee.length-1,re=ee[te].data,oe=[re[4],re[5]],Y=[re[2],re[3]],V=[re[0],re[1]],ie=ee[te-1],we=[0,0];ie.op==="move"?we=ie.data:ie.op==="bcurveTo"&&(we=[ie.data[4],ie.data[5]]);var Ae=function(Et,Mt){return Math.pow(1-Et,3)*oe[Mt]+3*Et*Math.pow(1-Et,2)*Y[Mt]+3*Math.pow(Et,2)*(1-Et)*V[Mt]+we[Mt]*Math.pow(Et,3)},Re=D==="start"?we:oe,je=(0,w.Z)(Re,2),ye=je[0],Ee=je[1],Oe=[Ae(.3,0),Ae(.3,1)],ge=Oe[0],ue=Oe[1],se=Math.hypot(ye-ge,Ee-ue),j=(ye-ge)/se,i=(Ee-ue)/se,s={arrow:30,bar:15,dot:15,triangle:15}[F],O=0;if(F==="arrow"){var z=(0,w.Z)(_.points[_.points.length-1],2),K=z[0],$=z[1],Q=_.points.length>1?_.points[_.points.length-2]:[0,0],ae=(0,w.Z)(Q,2),be=ae[0],Ce=ae[1];O=Math.hypot(K-be,$-Ce)}else for(var Ze=0;Ze<_.points.length;Ze++){var Be=_.points[Ze-1]||[0,0],Te=(0,w.Z)(Be,2),He=Te[0],Ve=Te[1],Je=(0,w.Z)(_.points[Ze],2),Me=Je[0],me=Je[1];O+=Math.hypot(Me-He,me-Ve)}var Se=Math.min(s,O/2),Ne=ye-j*Se,Ye=Ee-i*Se;if(F==="dot")return[ye,Ee,Math.hypot(Ye-Ee,Ne-ye)+_.strokeWidth];var Qe={arrow:20,bar:90,triangle:25}[F],rt=(0,I.U1)(Ne,Ye,ye,Ee,-Qe*Math.PI/180),ft=(0,w.Z)(rt,2),at=ft[0],ut=ft[1],Ot=(0,I.U1)(Ne,Ye,ye,Ee,Qe*Math.PI/180),Pt=(0,w.Z)(Ot,2);return[ye,Ee,at,ut,Pt[0],Pt[1]]},r=function(_,E,D){var F;if(_.points.length<2){var ee=(0,w.Z)(_.points[0],2),te=ee[0],re=ee[1],oe=(0,I.U1)(_.x+te,_.y+re,E,D,_.angle),Y=(0,w.Z)(oe,2),V=Y[0],ie=Y[1],we=[V,ie,V,ie],Ae=(0,N.WJ)(_);if(Ae){var Re=W._.getMinMaxXYWithBoundText(_,[V,ie,V,ie],Ae);we=[Re[0],Re[1],Re[2],Re[3]]}return we}var je=(F=k.R.get(_))===null||F===void 0?void 0:F[0],ye=je??function(j){var i=x.Z.generator(),s=(0,c.Z)(j);return i[j.roundness?"curve":s.fill?"polygon":"linearPath"](j.points,s)}(_),Ee=H(ye),Oe=b(Ee,function(j,i){return(0,I.U1)(_.x+j,_.y+i,E,D,_.angle)}),ge=[Oe[0],Oe[1],Oe[2],Oe[3]],ue=(0,N.WJ)(_);if(ue){var se=W._.getMinMaxXYWithBoundText(_,ge,ue);ge=[se[0],se[1],se[2],se[3]]}return ge},n=function(_){return he.getBounds(_)},p=function(_){if(!_.length)return[0,0,0,0];var E=1/0,D=-1/0,F=1/0,ee=-1/0;return _.forEach(function(te){var re=n(te),oe=(0,w.Z)(re,4),Y=oe[0],V=oe[1],ie=oe[2],we=oe[3];E=Math.min(E,Y),F=Math.min(F,V),D=Math.max(D,ie),ee=Math.max(ee,we)}),[E,F,D,ee]},a=function(_,E){var D=p(_),F=(0,w.Z)(D,4),ee=F[0],te=F[1],re=F[2],oe=F[3];return[ee+E.x,te+E.y,re+E.x,oe+E.y]},l=function(_,E,D,F){if(!(0,f.bt)(_)&&!(0,f.F9)(_))return[_.x,_.y,_.x+E,_.y+D];var ee,te=(0,Z.z)(0,E,(0,Z.z)(1,D,_.points,F),F);if((0,f.F9)(_))ee=y(te);else{var re=x.Z.generator(),oe=_.roundness?re.curve(te,(0,c.Z)(_)):re.linearPath(te,(0,c.Z)(_)),Y=H(oe);ee=b(Y)}var V=ee,ie=(0,w.Z)(V,4),we=ie[0],Ae=ie[1],Re=ie[2],je=ie[3];return[we+_.x,Ae+_.y,Re+_.x,je+_.y]},u=function(_,E){var D=x.Z.generator(),F=_.roundness==null?D.linearPath(E,(0,c.Z)(_)):D.curve(E,(0,c.Z)(_)),ee=H(F),te=b(ee),re=(0,w.Z)(te,4),oe=re[0],Y=re[1],V=re[2],ie=re[3];return[oe+_.x,Y+_.y,V+_.x,ie+_.y]},C=function(_,E){if(!_.length)return[0,0,0,0];var D=1/0,F=_[0];return _.forEach(function(ee){var te=n(ee),re=(0,w.Z)(te,4),oe=re[0],Y=re[1],V=re[2],ie=re[3],we=(0,I.LW)((oe+V)/2,(Y+ie)/2,E.x,E.y);we<D&&(D=we,F=ee)}),n(F)},L=function(_){var E=p(_),D=(0,w.Z)(E,4),F=D[0],ee=D[1],te=D[2],re=D[3];return{minX:F,minY:ee,maxX:te,maxY:re,width:te-F,height:re-ee,midX:(F+te)/2,midY:(ee+re)/2}}},3528:function(fe,t,e){e.d(t,{uu:function(){return oe},T_:function(){return K},j_:function(){return $},oT:function(){return ie},wX:function(){return D},MZ:function(){return Q},wB:function(){return F},Qu:function(){return ee},pX:function(){return re},fb:function(){return Y}});var P=e(2577),w=function(me,Se){return[0,0,0,0,Se,me,1,0]},m=function(me,Se){return[0,0,0,0,Se,me,0,0]},v=function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Ne=[0,0,0,0,0,0,0,0];if(Se<0||Se>7)throw new Error("Expected `index` between 0 and 7, got `".concat(Se,"`"));return me!==0&&(Ne[Se]=me),Ne},I=function(me){return[me[0],me[1],me[2],me[3],-me[4],-me[5],-me[6],-me[7]]},x=function(me,Se){return J(Se)?[me[0]-Se,me[1],me[2],me[3],me[4],me[5],me[6],me[7]]:[me[0]-Se[0],me[1]-Se[1],me[2]-Se[2],me[3]-Se[3],me[4]-Se[4],me[5]-Se[5],me[6]-Se[6],me[7]-Se[7]]},c=function(me,Se){return J(Se)?[me[0]*Se,me[1]*Se,me[2]*Se,me[3]*Se,me[4]*Se,me[5]*Se,me[6]*Se,me[7]*Se]:[f(me,Se),Se[1]*me[0]+Se[0]*me[1]-Se[4]*me[2]+Se[5]*me[3]+Se[2]*me[4]-Se[3]*me[5]-Se[7]*me[6]-Se[6]*me[7],Se[2]*me[0]+Se[0]*me[2]-Se[6]*me[3]+Se[3]*me[6],Se[3]*me[0]+Se[6]*me[2]+Se[0]*me[3]-Se[2]*me[6],Se[4]*me[0]+Se[2]*me[1]-Se[1]*me[2]+Se[7]*me[3]+Se[0]*me[4]+Se[6]*me[5]-Se[5]*me[6]+Se[3]*me[7],Se[5]*me[0]-Se[3]*me[1]+Se[7]*me[2]+Se[1]*me[3]-Se[6]*me[4]+Se[0]*me[5]+Se[4]*me[6]+Se[2]*me[7],Se[6]*me[0]+Se[3]*me[2]-Se[2]*me[3]+Se[0]*me[6],Se[7]*me[0]+Se[6]*me[1]+Se[5]*me[2]+Se[4]*me[3]+Se[3]*me[4]+Se[2]*me[5]+Se[1]*me[6]+Se[0]*me[7]]},f=function(me,Se){return Se[0]*me[0]+Se[2]*me[2]+Se[3]*me[3]-Se[6]*me[6]},Z=function(me,Se){return[N(me,Se),me[1]*Se[7]+me[4]*Se[5]-me[5]*Se[4]+me[7]*Se[1],me[2]*Se[7]-me[4]*Se[6]+me[6]*Se[4]+me[7]*Se[2],me[3]*Se[7]+me[5]*Se[6]-me[6]*Se[5]+me[7]*Se[3],me[4]*Se[7]+me[7]*Se[4],me[5]*Se[7]+me[7]*Se[5],me[6]*Se[7]+me[7]*Se[6],me[7]*Se[7]]},N=function(me,Se){return me[0]*Se[7]+me[1]*Se[6]+me[2]*Se[5]+me[3]*Se[4]+me[4]*Se[3]+me[5]*Se[2]+me[6]*Se[1]+me[7]*Se[0]},W=function(me){return Math.sqrt(Math.abs(me[0]*me[0]-me[2]*me[2]-me[3]*me[3]+me[6]*me[6]))},k=function(me){var Se=W(me);if(Se===0||Se===1)return me;var Ne=me[6]<0?-1:1;return c(me,Ne/Se)},S=function(me){var Se=function(Ne){return Math.sqrt(Math.abs(Ne[7]*Ne[7]-Ne[5]*Ne[5]-Ne[4]*Ne[4]+Ne[1]*Ne[1]))}(me);return Se===0||Se===1?me:c(me,1/Se)},J=function(me){return typeof me=="number"},ce=(v(1,1),v(1,2),v(1,3),v(1,4),v(1,5),v(1,6),v(1,7),function(me,Se,Ne){return k([0,Ne,me,Se,0,0,0,0])}),he=function(me,Se){return k(Z(Se,me))},ve=function(me,Se){return Ne=me,[(Ye=Se)[0]*Ne[0]+Ye[2]*Ne[2]+Ye[3]*Ne[3]-Ye[6]*Ne[6],Ye[1]*Ne[0]+Ye[0]*Ne[1]-Ye[4]*Ne[2]+Ye[5]*Ne[3]+Ye[2]*Ne[4]-Ye[3]*Ne[5]-Ye[7]*Ne[6]-Ye[6]*Ne[7],Ye[2]*Ne[0]+Ye[0]*Ne[2]-Ye[6]*Ne[3]+Ye[3]*Ne[6],Ye[3]*Ne[0]+Ye[6]*Ne[2]+Ye[0]*Ne[3]-Ye[2]*Ne[6],Ye[4]*Ne[0]+Ye[7]*Ne[3]+Ye[0]*Ne[4]+Ye[3]*Ne[7],Ye[5]*Ne[0]+Ye[7]*Ne[2]+Ye[0]*Ne[5]+Ye[2]*Ne[7],Ye[6]*Ne[0]+Ye[0]*Ne[6],Ye[7]*Ne[0]+Ye[0]*Ne[7]];var Ne,Ye},le=function(me){var Se=(0,P.Z)(me,2),Ne=Se[0];return[0,0,0,0,Se[1],Ne,1,0]},G=function(me){return[me[5],me[4]]},U=function(me){return[0,0,0,0,Math.abs(me[4]),Math.abs(me[5]),1,0]},H=function(me,Se){return k((Ne=me,[(Ye=Se)[0]*Ne[0],Ye[1]*Ne[0]+Ye[0]*Ne[1],Ye[2]*Ne[0]+Ye[0]*Ne[2],Ye[3]*Ne[0]+Ye[0]*Ne[3],Ye[4]*Ne[0]+Ye[2]*Ne[1]-Ye[1]*Ne[2]+Ye[0]*Ne[4],Ye[5]*Ne[0]-Ye[3]*Ne[1]+Ye[1]*Ne[3]+Ye[0]*Ne[5],Ye[6]*Ne[0]+Ye[3]*Ne[2]-Ye[2]*Ne[3]+Ye[0]*Ne[6],Ye[7]*Ne[0]+Ye[6]*Ne[1]+Ye[5]*Ne[2]+Ye[4]*Ne[3]+Ye[3]*Ne[4]+Ye[2]*Ne[5]+Ye[1]*Ne[6]]));var Ne,Ye},M=function(me,Se){return W(Z(me,Se))},A=function(me,Se){return N(me,Se)},b=function(me){return[0,0,0,0,me[4],me[5],0,0]},y=function(me,Se){return Ne=c(me,Math.sin(Se/2)),Ye=Math.cos(Se/2),J(Ye)?[Ne[0]+Ye,Ne[1],Ne[2],Ne[3],Ne[4],Ne[5],Ne[6],Ne[7]]:[Ne[0]+Ye[0],Ne[1]+Ye[1],Ne[2]+Ye[2],Ne[3]+Ye[3],Ne[4]+Ye[4],Ne[5]+Ye[5],Ne[6]+Ye[6],Ne[7]+Ye[7]];var Ne,Ye},h=function(me,Se){return k(c(c(me,Se),I(me)))},d=e(2361),r=e(1493),n=e(4949),p=e(4183),a=e(7651),l=e(9827),u=e(4048),C=e(4761),L=e(2921);function _(me,Se){var Ne=typeof Symbol<"u"&&me[Symbol.iterator]||me["@@iterator"];if(!Ne){if(Array.isArray(me)||(Ne=function(ut,Ot){if(ut){if(typeof ut=="string")return E(ut,Ot);var Pt=Object.prototype.toString.call(ut).slice(8,-1);if(Pt==="Object"&&ut.constructor&&(Pt=ut.constructor.name),Pt==="Map"||Pt==="Set")return Array.from(ut);if(Pt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pt))return E(ut,Ot)}}(me))||Se&&me&&typeof me.length=="number"){Ne&&(me=Ne);var Ye=0,Qe=function(){};return{s:Qe,n:function(){return Ye>=me.length?{done:!0}:{done:!1,value:me[Ye++]}},e:function(ut){throw ut},f:Qe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var rt,ft=!0,at=!1;return{s:function(){Ne=Ne.call(me)},n:function(){var ut=Ne.next();return ft=ut.done,ut},e:function(ut){at=!0,rt=ut},f:function(){try{ft||Ne.return==null||Ne.return()}finally{if(at)throw rt}}}}function E(me,Se){(Se==null||Se>me.length)&&(Se=me.length);for(var Ne=0,Ye=new Array(Se);Ne<Se;Ne++)Ye[Ne]=me[Ne];return Ye}var D=function me(Se,Ne,Ye,Qe,rt){var ft=10/Ne.zoom.value,at=[Qe,rt];if(te(Ne,Se)&&(0,u.oY)([Se],Ne))return re(Se,at,ft,Ye);var ut=(0,C.WJ)(Se);return ut&&me(ut,Ne,Ye,Qe,rt)?!0:ee(Se,Ne,Ye,at)},F=function(me,Se,Ne,Ye,Qe){var rt=10/Se.zoom.value,ft=(0,C.WJ)(me);return(!ft||!D(ft,Se,Ne,Ye,Qe))&&!ee(me,Se,Ne,[Ye,Qe])&&re(me,[Ye,Qe],rt,Ne)},ee=function(me,Se,Ne,Ye){var Qe=10/Se.zoom.value,rt=(0,a.iB)(me)?we:function(ft){if(ft.type==="arrow")return!1;if(ft.type==="freedraw")return!0;var at=!(0,l.Qm)(ft.backgroundColor)||(0,p.Xo)(ft)||(0,p.gs)(ft);return ft.type==="line"?at&&(0,d.g6)(ft.points):at||(0,p.pC)(ft)}(me)?Ae:Re;return V({element:me,point:Ye,threshold:Qe,check:rt,frameNameBoundsCache:Ne})},te=function(me,Se){return me.selectedElementIds[Se.id]},re=function(me,Se,Ne,Ye){var Qe=(0,P.Z)(Se,2),rt=Qe[0],ft=Qe[1];if(me.type==="frame")return V({element:me,point:[rt,ft],threshold:Ne,check:Ae,frameNameBoundsCache:Ye});var at=(0,n.qf)(me),ut=(0,P.Z)(at,4),Ot=ut[0],Pt=ut[1],Et=ut[2],Mt=ut[3],Yt=(Ot+Et)/2,lt=(Pt+Mt)/2,ot=(0,d.U1)(rt,ft,Yt,lt,-me.angle),mt=(0,P.Z)(ot,2),pt=mt[0],ht=mt[1];return pt>Ot-Ne&&pt<Et+Ne&&ht>Pt-Ne&&ht<Mt+Ne},oe=function(me,Se){var Ne=Se.x,Ye=Se.y,Qe=Y(me,me.width,me.height);return V({element:me,point:[Ne,Ye],threshold:Qe,check:je,frameNameBoundsCache:null})},Y=function(me,Se,Ne){var Ye=(me.type==="diamond"?1/Math.sqrt(2):1)*Math.min(Se,Ne);return Math.max(16,Math.min(.25*Ye,32))},V=function(me){switch(me.element.type){case"rectangle":case"embeddable":case"image":case"text":case"diamond":case"ellipse":var Se=ie(me.element,me.point);return me.check(Se,me.threshold);case"freedraw":return!!me.check(ye(me.element,me.point),me.threshold)&&se(me.element,me.point,me.threshold);case"arrow":case"line":return j(me);case"selection":return console.warn("This should not happen, we need to investigate why it does."),!1;case"frame":var Ne;if(me.check(ie(me.element,me.point),me.threshold))return!0;var Ye=(Ne=me.frameNameBoundsCache)===null||Ne===void 0?void 0:Ne.get(me.element);return!!Ye&&me.check(Ee(Ye,me.point),me.threshold)}},ie=function(me,Se){switch(me.type){case"rectangle":case"image":case"text":case"embeddable":case"frame":return ye(me,Se);case"diamond":return Oe(me,Se);case"ellipse":return ge(me,Se)}},we=function(me,Se){return me<0},Ae=function(me,Se){return me<Se},Re=function(me,Se){return Math.abs(me)<Se},je=function(me,Se){return 0<=me&&me<Se},ye=function(me,Se){var Ne=i(me,Se),Ye=(0,P.Z)(Ne,4),Qe=Ye[1],rt=Ye[2],ft=Ye[3];return Math.max(A(Qe,ce(0,1,-ft)),A(Qe,ce(1,0,-rt)))},Ee=function(me,Se){var Ne=s(Se,me),Ye=(0,P.Z)(Ne,4),Qe=Ye[1],rt=Ye[2],ft=Ye[3];return Math.max(A(Qe,ce(0,1,-ft)),A(Qe,ce(1,0,-rt)))},Oe=function(me,Se){var Ne=i(me,Se),Ye=(0,P.Z)(Ne,4),Qe=Ye[1],rt=Ye[2],ft=Ye[3],at=ce(ft,rt,-ft*rt);return A(Qe,at)},ge=function(me,Se){var Ne,Ye=ue(me,Se),Qe=(0,P.Z)(Ye,2),rt=Qe[0],ft=Qe[1];return Ne=ft,-Math.sign(Ne[1])*A(rt,ft)},ue=function(me,Se){var Ne=i(me,Se),Ye=(0,P.Z)(Ne,4),Qe=Ye[1],rt=Ye[2],ft=Ye[3],at=G(Qe),ut=(0,P.Z)(at,2),Ot=ut[0],Pt=ut[1],Et=.707,Mt=.707,Yt=rt,lt=ft;[0,1,2,3].forEach(function(pt){var ht=Yt*Et,yt=lt*Mt,Ct=(Yt*Yt-lt*lt)*Math.pow(Et,3)/Yt,Bt=(lt*lt-Yt*Yt)*Math.pow(Mt,3)/lt,zt=ht-Ct,tr=yt-Bt,cr=Ot-Ct,mr=Pt-Bt,Ft=Math.hypot(tr,zt),xt=Math.hypot(mr,cr);Et=Math.min(1,Math.max(0,(cr*Ft/xt+Ct)/Yt)),Mt=Math.min(1,Math.max(0,(mr*Ft/xt+Bt)/lt));var At=Math.hypot(Mt,Et);Et/=At,Mt/=At});var ot,mt=w(Yt*Et,lt*Mt);return[Qe,ve(he(Qe,ot=mt),ot)]},se=function(me,Se,Ne){var Ye,Qe;if(me.angle===0)Ye=Se[0]-me.x,Qe=Se[1]-me.y;else{var rt=(0,n.qf)(me),ft=(0,P.Z)(rt,4),at=ft[0],ut=ft[1],Ot=ft[2],Pt=ft[3],Et=(0,d.xj)(Se,[at+(Ot-at)/2,ut+(Pt-ut)/2],-me.angle);Ye=Et[0]-me.x,Qe=Et[1]-me.y}var Mt,Yt=(0,P.Z)(me.points,2),lt=Yt[0],ot=Yt[1];if((0,d.LW)(lt[0],lt[1],Ye,Qe)<Ne||(0,d.LW)(ot[0],ot[1],Ye,Qe)<Ne)return!0;for(var mt=0;mt<me.points.length;mt++){var pt=[ot[0]-lt[0],ot[1]-lt[1]],ht=Math.hypot(pt[1],pt[0]),yt=[pt[0]/ht,pt[1]/ht],Ct=[Ye-lt[0],Qe-lt[1]],Bt=(Ct[0]*yt[0]+Ct[1]*yt[1])/Math.hypot(yt[1],yt[0]);Mt=[lt[0]+yt[0]*Bt,lt[1]+yt[1]*Bt];var zt=(0,d.LW)(Mt[0],Mt[1],lt[0],lt[1]),tr=(0,d.LW)(Mt[0],Mt[1],ot[0],ot[1]);if(Mt=tr<zt&&zt>ht?ot:zt<tr&&tr>ht?lt:Mt,Math.hypot(Qe-Mt[1],Ye-Mt[0])<Ne)return!0;lt=ot,ot=me.points[mt+1]}var cr=L.R.get(me);return!(!cr||!cr.sets.length)&&(me.fillStyle==="solid"?Je(cr,Ye,Qe,"round"):Me(cr,Ye,Qe,Ne))},j=function(me){var Se=me.element,Ne=me.threshold;if(!L.R.get(Se))return!1;var Ye=i(me.element,me.point),Qe=(0,P.Z)(Ye,4),rt=Qe[0],ft=Qe[1],at=Qe[2],ut=Qe[3],Ot=ce(0,1,-ut),Pt=ce(1,0,-at);if(!Ae(A(ft,Ot),Ne)||!Ae(A(ft,Pt),Ne))return!1;var Et=G(rt),Mt=(0,P.Z)(Et,2),Yt=Mt[0],lt=Mt[1],ot=L.R.get(Se);return ot?me.check===Ae&&ot.some(function(mt){return Je(mt,Yt,lt,Se.roundness?"round":"sharp")})?!0:ot.some(function(mt){return Me(mt,Yt,lt,Ne)}):!1},i=function(me,Se){var Ne=le(Se),Ye=(0,n.qf)(me),Qe=(0,P.Z)(Ye,4),rt=Qe[0],ft=Qe[1],at=Qe[2],ut=Qe[3],Ot=z(rt,ft,at,ut),Pt=y(Ot,me.angle),Et=h(Pt,Ne),Mt=x(Et,b(Ot)),Yt=U(Mt),lt=m(me.x,me.y);return[x(Et,lt),Yt,(at-rt)/2,(ut-ft)/2]},s=function(me,Se){var Ne=le(me),Ye=(0,n.M$)(Se),Qe=(0,P.Z)(Ye,4),rt=Qe[0],ft=Qe[1],at=Qe[2],ut=Qe[3],Ot=z(rt,ft,at,ut),Pt=y(Ot,Se.angle),Et=h(Pt,Ne),Mt=x(Et,b(Ot)),Yt=U(Mt),lt=m(Se.x,Se.y);return[x(Et,lt),Yt,(at-rt)/2,(ut-ft)/2]},O=function(me){var Se=(0,n.qf)(me),Ne=(0,P.Z)(Se,4),Ye=Ne[0],Qe=Ne[1],rt=Ne[2],ft=Ne[3],at=z(Ye,Qe,rt,ft),ut=y(at,me.angle),Ot=I(function(Pt){return[1,0,0,0,-.5*Pt[5],.5*Pt[4],0,0]}(b(at)));return c(Ot,ut)},z=function(me,Se,Ne,Ye){return w((me+Ne)/2,(Se+Ye)/2)},K=function(me,Se,Ne){var Ye,Qe=O(me),rt=h(Qe,le(Se)),ft=h(Qe,le(Ne)),at=he(rt,ft),ut=me.height/me.width,Ot=me.width/2,Pt=me.height/2,Et=at[2],Mt=at[3],Yt=at[1],lt=Math.abs(Mt),ot=Math.abs(Et);switch(me.type){case"rectangle":case"image":case"text":case"embeddable":case"frame":Ye=Yt/(Ot*(ot+ut*lt));break;case"diamond":Ye=lt<ot?Yt/(ot*Ot):Yt/(lt*Pt);break;case"ellipse":Ye=Yt/(Ot*Math.sqrt(Math.pow(Et,2)+Math.pow(ut,2)*Math.pow(Mt,2)))}return Ye||0},$=function(me,Se,Ne){if(Se===0){var Ye=(0,n.qf)(me),Qe=(0,P.Z)(Ye,4),rt=Qe[0],ft=Qe[1],at=Qe[2],ut=Qe[3],Ot=z(rt,ft,at,ut);return G(Ot)}var Pt,Et=O(me),Mt=h(Et,le(Ne)),Yt=I(Et);switch(me.type){case"rectangle":case"image":case"text":case"diamond":case"embeddable":case"frame":Pt=Ve(me,Se,Mt);break;case"ellipse":Pt=He(me,Se,Mt)}return G(h(Yt,Pt))},Q=function(me,Se,Ne){var Ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,Qe=O(me),rt=h(Qe,le(Se)),ft=h(Qe,le(Ne)),at=he(rt,ft),ut=I(Qe),Ot=ae(me,at,rt,Ye);return Ot.map(function(Pt){return G(h(ut,Pt))})},ae=function(me,Se,Ne){var Ye,Qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;switch(me.type){case"rectangle":case"image":case"text":case"diamond":case"embeddable":case"frame":var rt=be(me);Ye=rt.flatMap(function(at,ut){var Ot=[at,rt[(ut+1)%4]];return Ce(Se,Ze(Ot,Qe))}).concat(rt.flatMap(function(at){return Te(at,Qe,Se)}));break;case"ellipse":Ye=Be(me,Qe,Se)}if(Ye.length<2)return[];var ft=Ye.sort(function(at,ut){return M(at,Ne)-M(ut,Ne)});return[ft[0],ft[ft.length-1]]},be=function(me){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ne=Se*me.width/2,Ye=Se*me.height/2;switch(me.type){case"rectangle":case"image":case"text":case"embeddable":case"frame":return[w(Ne,Ye),w(Ne,-Ye),w(-Ne,-Ye),w(-Ne,Ye)];case"diamond":return[w(0,Ye),w(Ne,0),w(0,-Ye),w(-Ne,0)]}},Ce=function(me,Se){var Ne=(0,P.Z)(Se,2),Ye=Ne[0],Qe=Ne[1];return A(Ye,me)*A(Qe,me)>=0?[]:[H(me,he(Ye,Qe))]},Ze=function(me,Se){var Ne=(0,P.Z)(me,2),Ye=Ne[0],Qe=Ne[1],rt=function(ft,at){var ut=.5*at;return[1,0,0,0,ut*ft[4],ut*ft[5],0,0]}(function(ft,at){return S([0,0,0,0,at[4]-ft[4],at[5]-ft[5],0,0])}(Ye,Qe),Se);return[h(rt,Ye),h(rt,Qe)]},Be=function(me,Se,Ne){var Ye=me.width/2+Se,Qe=me.height/2+Se,rt=Ne[2],ft=Ne[3],at=Ne[1],ut=Ye*Ye*rt*rt+Qe*Qe*ft*ft,Ot=ut-at*at;if(ut===0||Ot<=0)return[];var Pt=Math.sqrt(Ot),Et=-Ye*Ye*rt*at,Mt=-Qe*Qe*ft*at;return[w((Et+Ye*Qe*ft*Pt)/ut,(Mt-Ye*Qe*rt*Pt)/ut),w((Et-Ye*Qe*ft*Pt)/ut,(Mt+Ye*Qe*rt*Pt)/ut)]},Te=function(me,Se,Ne){if(Se===0)return A(Ne,me)===0?[me]:[];var Ye=Ne[2],Qe=Ne[3],rt=Ne[1],ft=G(me),at=(0,P.Z)(ft,2),ut=at[0],Ot=at[1],Pt=Ye*Ye+Qe*Qe,Et=Se*Se*Pt-Math.pow(Ye*ut+Qe*Ot+rt,2);if(Pt===0||Et<=0)return[];var Mt=Math.sqrt(Et),Yt=ut*Qe*Qe-Ot*Ye*Qe-Ye*rt,lt=Ot*Ye*Ye-ut*Ye*Qe-Qe*rt;return[w((Yt+Qe*Mt)/Pt,(lt-Ye*Mt)/Pt),w((Yt-Qe*Mt)/Pt,(lt+Ye*Mt)/Pt)]},He=function(me,Se,Ne){var Ye=Math.abs(Se),Qe=me.width*Ye/2,rt=me.height*Ye/2,ft=Math.sign(Se),at=G(Ne),ut=(0,P.Z)(at,2),Ot=ut[0],Pt=ut[1],Et=Pt===0?1e-4:Pt,Mt=Math.pow(Ot,2)*Math.pow(rt,2)+Math.pow(Et,2)*Math.pow(Qe,2),Yt=(-Ot*Math.pow(rt,2)+ft*Et*Math.sqrt(Math.max(0,Mt-Math.pow(Qe,2)*Math.pow(rt,2))))/Mt,lt=(-Yt*Ot-1)/Et;lt===0&&(lt=.01*(Object.is(lt,-0)?-1:1));var ot=-Math.pow(Qe,2)*Yt/(Math.pow(lt,2)*Math.pow(rt,2)+Math.pow(Yt,2)*Math.pow(Qe,2));return w(ot,(-Yt*ot-1)/lt)},Ve=function(me,Se,Ne){var Ye=Math.abs(Se),Qe=Math.sign(Se),rt=be(me,Ye),ft=0,at=null;return rt.forEach(function(ut){var Ot=Qe*he(Ne,ut)[1];Ot>ft&&(ft=Ot,at=ut)}),at},Je=function(me,Se,Ne,Ye){var Qe,rt=[],ft=!1,at=_((0,n.CM)(me));try{for(at.s();!(Qe=at.n()).done;){var ut=Qe.value;ut.op==="move"?(ft=!ft)&&rt.push([ut.data[0],ut.data[1]]):ut.op==="bcurveTo"?ft&&(rt.push([ut.data[0],ut.data[1]]),rt.push([ut.data[2],ut.data[3]]),rt.push([ut.data[4],ut.data[5]])):ut.op==="lineTo"&&ft&&rt.push([ut.data[0],ut.data[1]])}}catch(Pt){at.e(Pt)}finally{at.f()}if(rt.length>=4){if(Ye==="sharp")return(0,d.c9)(rt,Se,Ne);var Ot=(0,r.sU)(rt,10,5);return(0,d.c9)(Ot,Se,Ne)}return!1},Me=function(me,Se,Ne,Ye){var Qe=(0,n.CM)(me),rt=[0,0];return Qe.some(function(ft,at){var ut=ft.op,Ot=ft.data;if(ut==="move")rt=Ot;else{if(ut==="bcurveTo"){var Pt=[Ot[0],Ot[1]],Et=[Ot[2],Ot[3]],Mt=[Ot[4],Ot[5]],Yt=rt;rt=Mt;var lt=function(ot,mt,pt,ht,yt,Ct){for(var Bt=(0,P.Z)(yt,2),zt=Bt[0],tr=Bt[1],cr=function(At,Tt){return Math.pow(1-At,3)*ht[Tt]+3*At*Math.pow(1-At,2)*pt[Tt]+3*Math.pow(At,2)*(1-At)*mt[Tt]+ot[Tt]*Math.pow(At,3)},mr=0;mr<=1;){var Ft=cr(mr,0),xt=cr(mr,1);if(Math.sqrt(Math.pow(Ft-zt,2)+Math.pow(xt-tr,2))<Ct)return!0;mr+=.01}return!1}(Yt,Pt,Et,Mt,[Se,Ne],Ye);return lt}if(ut==="lineTo")return Je(me,Se,Ne,"sharp");ut==="qcurveTo"&&console.warn("qcurveTo is not implemented yet")}return!1})}},761:function(fe,t,e){e.d(t,{LM:function(){return d},eX:function(){return a},g0:function(){return n},uU:function(){return r},xm:function(){return l}});var P=e(7169),w=e(2767),m=e(9937),v=e(8227),I=e(9827),x=e(7652),c=e(5742),f=e(4761),Z=e(4183);function N(u,C){var L=typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(!L){if(Array.isArray(u)||(L=function(te,re){if(te){if(typeof te=="string")return W(te,re);var oe=Object.prototype.toString.call(te).slice(8,-1);if(oe==="Object"&&te.constructor&&(oe=te.constructor.name),oe==="Map"||oe==="Set")return Array.from(te);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return W(te,re)}}(u))||C&&u&&typeof u.length=="number"){L&&(u=L);var _=0,E=function(){};return{s:E,n:function(){return _>=u.length?{done:!0}:{done:!1,value:u[_++]}},e:function(te){throw te},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D,F=!0,ee=!1;return{s:function(){L=L.call(u)},n:function(){var te=L.next();return F=te.done,te},e:function(te){ee=!0,D=te},f:function(){try{F||L.return==null||L.return()}finally{if(ee)throw D}}}}function W(u,C){(C==null||C>u.length)&&(C=u.length);for(var L=0,_=new Array(C);L<C;L++)_[L]=u[L];return _}function k(u,C){var L=Object.keys(u);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(u);C&&(_=_.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),L.push.apply(L,_)}return L}function S(u){for(var C=1;C<arguments.length;C++){var L=arguments[C]!=null?arguments[C]:{};C%2?k(Object(L),!0).forEach(function(_){(0,P.Z)(u,_,L[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(L)):k(Object(L)).forEach(function(_){Object.defineProperty(u,_,Object.getOwnPropertyDescriptor(L,_))})}return u}var J=new Map,ce=/^(?:http(?:s)?:\/\/)?(?:www\.)?youtu(?:be\.com|\.be)\/(embed\/|watch\?v=|shorts\/|playlist\?list=|embed\/videoseries\?list=)?([a-zA-Z0-9_-]+)(?:\?t=|&t=|\?start=|&start=)?([a-zA-Z0-9_-]+)?[^\s]*$/,he=/^(?:http(?:s)?:\/\/)?(?:(?:w){3}.)?(?:player\.)?vimeo\.com\/(?:video\/)?([^?\s]+)(?:\?.*)?$/,ve=/^https:\/\/(?:www\.)?figma\.com/,le=/^https:\/\/gist\.github\.com/,G=/^<script[\s\S]*?\ssrc=["'](https:\/\/gist.github.com\/.*?)\.js["']/i,U=/(?:http(?:s)?:\/\/)?(?:(?:w){3}.)?twitter.com/,H=/^<blockquote[\s\S]*?\shref=["'](https:\/\/twitter.com\/[^"']*)/i,M=/^https:\/\/(?:www\.)?val.town\/(v|embed)\/[a-zA-Z_$][0-9a-zA-Z_$]+\.[a-zA-Z_$][0-9a-zA-Z_$]+/,A=/^<(?:iframe|blockquote)[\s\S]*?\s(?:src|href)=["']([^"']*)["'][\s\S]*?>$/i,b=/giphy.com\/(?:clips|embed|gifs)\/[a-zA-Z0-9]*?-?([a-zA-Z0-9]+)(?:[^a-zA-Z0-9]|$)/,y=new Set(["youtube.com","youtu.be","vimeo.com","player.vimeo.com","figma.com","link.excalidraw.com","gist.github.com","twitter.com","*.simplepdf.eu","stackblitz.com","val.town","giphy.com","dddice.com"]),h=function(u){return"<html><body>".concat(u,"</body></html>")},d=function(u){if(!u)return null;if(J.has(u))return J.get(u);var C=u,L="generic",_={w:560,h:840},E=u.match(ce);if(E!=null&&E[2]){var D=E[3]?"&start=".concat(E[3]):"",F=u.includes("shorts");switch(L="video",E[1]){case"embed/":case"watch?v=":case"shorts/":default:u="https://www.youtube.com/embed/".concat(E[2],"?enablejsapi=1").concat(D);break;case"playlist?list=":case"embed/videoseries?list=":u="https://www.youtube.com/embed/videoseries?list=".concat(E[2],"&enablejsapi=1").concat(D)}return _=F?{w:315,h:560}:{w:560,h:315},J.set(C,{link:u,aspectRatio:_,type:L}),{link:u,aspectRatio:_,type:L}}var ee=u.match(he);if(ee!=null&&ee[1]){var te=ee?.[1],re=/^\d+$/.test(te)?void 0:(0,v.t)("toast.unrecognizedLinkFormat");return L="video",u="https://player.vimeo.com/video/".concat(te,"?api=1"),_={w:560,h:315},J.set(C,{link:u,aspectRatio:_,type:L}),{link:u,aspectRatio:_,type:L,warning:re}}if(u.match(ve))return L="generic",u="https://www.figma.com/embed?embed_host=share&url=".concat(encodeURIComponent(u)),_={w:550,h:550},J.set(C,{link:u,aspectRatio:_,type:L}),{link:u,aspectRatio:_,type:L};var oe=u.match(M);if(oe)return u=oe[1]==="embed"?oe[0]:oe[0].replace("/v","/embed"),J.set(C,{link:u,aspectRatio:_,type:L}),{link:u,aspectRatio:_,type:L};if(U.test(u)){var Y;if(/<blockquote/.test(u)){var V=h(u);Y={type:"document",srcdoc:function(){return V},aspectRatio:{w:480,h:480}}}else Y={type:"document",srcdoc:function(Ae){return h('<blockquote class="twitter-tweet" data-dnt="true" data-theme="'.concat(Ae,'"><a href="').concat(u,'"></a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"><\/script>'))},aspectRatio:{w:480,h:480}};return J.set(C,Y),Y}if(le.test(u)){var ie;if(/<script>/.test(u)){var we=h(u);ie={type:"document",srcdoc:function(){return we},aspectRatio:{w:550,h:720}}}else ie={type:"document",srcdoc:function(){return h(` + <script src="`.concat(u,`.js"><\/script> + <style type="text/css"> + * { margin: 0px; } + table, .gist { height: 100%; } + .gist .gist-file { height: calc(100vh - 2px); padding: 0px; display: grid; grid-template-rows: 1fr auto; } + </style> + `))},aspectRatio:{w:550,h:720}};return J.set(u,ie),ie}return J.set(u,{link:u,aspectRatio:_,type:L}),{link:u,aspectRatio:_,type:L}},r=function(u){if((0,Z.gs)(u))return!0;if(u.type==="text"){var C=(0,f.tl)(u);if(C&&(0,Z.gs)(C))return!0}return!1},n=function(u){var C,L=u.link&&u?.link!==""?u.link:"Empty Web-Embed",_=Math.max(Math.min(u.width/2,u.width/L.length),u.width/30),E=m.ut.Helvetica,D=(0,I.mO)({fontSize:_,fontFamily:E});return(0,c.VL)({x:u.x+u.width/2,y:u.y+u.height/2,strokeColor:u.strokeColor!=="transparent"?u.strokeColor:"black",backgroundColor:"transparent",fontFamily:E,fontSize:_,text:(0,f.lD)(L,D,u.width-20),textAlign:"center",verticalAlign:m.oX.MIDDLE,angle:(C=u.angle)!==null&&C!==void 0?C:0})},p=((0,w.z)({name:"setEmbeddableAsActiveTool",trackEvent:{category:"toolbar"},perform:function(u,C,L,_){var E=(0,I.Om)(C,{type:"embeddable"});return(0,x.Uk)(_.canvas,S(S({},C),{},{activeTool:E})),{elements:u,appState:S(S({},C),{},{activeTool:(0,I.Om)(C,{type:"embeddable"})}),commitToHistory:!1}}}),function(u,C){try{var L=new URL(u).hostname.replace(/^www\./,""),_=L.replace(/^([^.]+)/,"*");if(C instanceof Set)return y.has(L)||y.has(_);if(L===C.replace(/^www\./,""))return!0}catch{}return!1}),a=function(u){var C=u.match(H);if(C&&C.length===2)return C[1];var L=u.match(G);if(L&&L.length===2)return L[1];if(b.test(u))return"https://giphy.com/embed/".concat(b.exec(u)[1]);var _=u.match(A);return _&&_.length===2?_[1]:u},l=function(u,C){if(!u)return!1;if(C!=null)if(typeof C=="function"){var L=C(u);if(typeof L=="boolean")return L}else{if(typeof C=="boolean")return C;if(C instanceof RegExp)return C.test(u);if(Array.isArray(C)){var _,E=N(C);try{for(E.s();!(_=E.n()).done;){var D=_.value;if(D instanceof RegExp){if(u.match(D))return!0}else if(p(u,D))return!0}}catch(F){E.e(F)}finally{E.f()}return!1}}return p(u,y)}},4178:function(fe,t,e){e.d(t,{PK:function(){return W},Xx:function(){return k},bp:function(){return J},oA:function(){return S}});var P=e(2577),w=e(7169),m=e(8950),v=e(2975),I=e.n(v),x=e(9937),c=e(8227),f=e(4183);function Z(ce,he){var ve=Object.keys(ce);if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(ce);he&&(le=le.filter(function(G){return Object.getOwnPropertyDescriptor(ce,G).enumerable})),ve.push.apply(ve,le)}return ve}function N(ce){for(var he=1;he<arguments.length;he++){var ve=arguments[he]!=null?arguments[he]:{};he%2?Z(Object(ve),!0).forEach(function(le){(0,w.Z)(ce,le,ve[le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ce,Object.getOwnPropertyDescriptors(ve)):Z(Object(ve)).forEach(function(le){Object.defineProperty(ce,le,Object.getOwnPropertyDescriptor(ve,le))})}return ce}var W=function(ce){return new Promise(function(he,ve){var le=new Image;le.onload=function(){he(le)},le.onerror=function(G){ve(G)},le.src=ce})},k=function(){var ce=(0,m.Z)(I().mark(function he(ve){var le,G,U,H,M;return I().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return le=ve.fileIds,G=ve.files,U=ve.imageCache,H=new Map,M=new Map,A.next=5,Promise.all(le.reduce(function(b,y){var h=G[y];return h&&!H.has(y)?(H.set(y,!0),b.concat((0,m.Z)(I().mark(function d(){var r,n,p;return I().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(a.prev=0,h.mimeType!==x.LO.binary){a.next=3;break}throw new Error("Only images can be added to ImageCache");case 3:return r=W(h.dataURL),n={image:r,mimeType:h.mimeType},U.set(y,n),a.next=8,r;case 8:p=a.sent,U.set(y,N(N({},n),{},{image:p})),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(0),M.set(y,!0);case 15:case"end":return a.stop()}},d,null,[[0,12]])}))())):b},[]));case 5:return A.abrupt("return",{imageCache:U,updatedFiles:H,erroredFiles:M});case 6:case"end":return A.stop()}},he)}));return function(he){return ce.apply(this,arguments)}}(),S=function(ce){return ce.filter(function(he){return(0,f.wi)(he)})},J=function(){var ce=(0,m.Z)(I().mark(function he(ve){var le,G,U,H,M,A,b;return I().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(le=new DOMParser().parseFromString(ve,x.LO.svg),G=le.querySelector("svg"),!le.querySelector("parsererror")&&((h=G)==null?void 0:h.nodeName.toLowerCase())==="svg"){y.next=7;break}throw new Error((0,c.t)("errors.invalidSVGString"));case 7:return G.hasAttribute("xmlns")||G.setAttribute("xmlns",x.hR),G.hasAttribute("width")&&G.hasAttribute("height")||(U=G.getAttribute("viewBox"),H=G.getAttribute("width")||"50",M=G.getAttribute("height")||"50",U&&(A=U.match(/\d+ +\d+ +(\d+) +(\d+)/))&&(b=(0,P.Z)(A,3),H=b[1],M=b[2]),G.setAttribute("width",H),G.setAttribute("height",M)),y.abrupt("return",G.outerHTML);case 10:case"end":return y.stop()}var h},he)}));return function(he){return ce.apply(this,arguments)}}()},7651:function(fe,t,e){e.d(t,{ox:function(){return x.ox},BQ:function(){return D},_M:function(){return F},EJ:function(){return h},o8:function(){return M},Sy:function(){return v.Sy},Y5:function(){return I.Y5},os:function(){return I.os},KP:function(){return I.KP},Un:function(){return ce},UC:function(){return I.UC},$V:function(){return y},qf:function(){return I.qf},Pi:function(){return I.Pi},jt:function(){return k},o4:function(){return w.o4},Lm:function(){return C},Xf:function(){return L},Qp:function(){return w.Qp},T:function(){return he.T},xx:function(){return he.xx},Uo:function(){return l},n2:function(){return S},PC:function(){return x.PC},kK:function(){return x.kK},n_:function(){return u},wX:function(){return c.wX},r2:function(){return m.r2},He:function(){return m.He},wB:function(){return c.wB},QD:function(){return w.QD},qP:function(){return _},iB:function(){return m.iB},Up:function(){return v.Up},vw:function(){return v.vw},y8:function(){return v.y8},VL:function(){return v.VL},oN:function(){return G.oN},JZ:function(){return v.JZ},RT:function(){return n},b_:function(){return d.b_},vY:function(){return he.vY},N_:function(){return v.N_}});var P=e(7169),w=e(7935),m=e(4183),v=e(5742),I=e(4949),x=e(4048),c=e(3528),f=e(2577),Z=e(2726),N=["rotation"],W=function(ee,te,re){return te>=ee[0]&&te<=ee[0]+ee[2]&&re>=ee[1]&&re<=ee[1]+ee[3]},k=function(ee,te,re,oe,Y,V){return ee.reduce(function(ie,we){if(ie)return ie;var Ae=function(Re,je,ye,Ee,Oe,ge){if(!je.selectedElementIds[Re.id])return!1;var ue=(0,x.PC)(Re,Oe,ge),se=ue.rotation,j=(0,Z.Z)(ue,N);if(se&&W(se,ye,Ee))return"rotation";var i=Object.keys(j).filter(function(s){var O=j[s];return!!O&&W(O,ye,Ee)});return i.length>0&&i[0]}(we,te,re,oe,Y,V);return Ae?{element:we,transformHandleType:Ae}:null},null)},S=function(ee,te,re,oe,Y){var V=(0,f.Z)(ee,4),ie=V[0],we=V[1],Ae=V[2],Re=V[3],je=(0,x.kK)([ie,we,Ae,Re,(ie+Ae)/2,(we+Re)/2],0,oe,Y,x.ox);return Object.keys(je).find(function(ye){var Ee=je[ye];return Ee&&W(Ee,te,re)})||!1},J=["ns","nesw","ew","nwse"],ce=function(ee){var te=ee.element,re=ee.transformHandleType,oe=te&&Math.sign(te.height)*Math.sign(te.width)==-1,Y=null;switch(re){case"n":case"s":Y="ns";break;case"w":case"e":Y="ew";break;case"nw":case"se":Y=oe?"nesw":"nwse";break;case"ne":case"sw":Y=oe?"nwse":"nesw";break;case"rotation":return"grab"}return Y&&te&&(Y=function(V,ie){var we=J.indexOf(V);if(we>=0){var Ae=Math.round(ie/(Math.PI/4));V=J[(we+Ae)%J.length]}return V}(Y,te.angle)),Y?"".concat(Y,"-resize"):""},he=e(4381),ve=e(9645),le=e(583),G=e(4761),U=e(9215),H=e(2361),M=function(ee,te,re,oe,Y,V,ie){var we=new Set(te),Ae=te.filter(function(ye){return(0,m.He)(ye)}).map(function(ye){return ye.id});Ae.length>0&&Y.getNonDeletedElements().filter(function(ye){return!(0,m.Xh)(ye)}).filter(function(ye){return ye.frameId!==null}).filter(function(ye){return Ae.includes(ye.frameId)}).forEach(function(ye){return we.add(ye)});var Re=(0,I.KP)(Array.from(we).map(function(ye){var Ee;return(Ee=ee.originalElements.get(ye.id))!==null&&Ee!==void 0?Ee:ye})),je=A(Re,re,V,ie);we.forEach(function(ye){if(b(ee,ye,je),!(0,m.Yv)(ye)&&(!ye.groupIds.length||oe.editingGroupId&&!(0,U.zq)(oe,ye))){var Ee=(0,G.WJ)(ye);Ee&&b(ee,Ee,je)}(0,ve.Ww)(ye,{simultaneouslyUpdated:Array.from(we)})})},A=function(ee,te,re,oe){var Y=(0,f.Z)(ee,2),V=Y[0],ie=Y[1],we=V+te.x+re.x,Ae=ie+te.y+re.y;if(re.x===0||re.y===0){var Re=(0,H.wC)(V+te.x,ie+te.y,oe),je=(0,f.Z)(Re,2),ye=je[0],Ee=je[1];re.x===0&&(we=ye),re.y===0&&(Ae=Ee)}return{x:we-V,y:Ae-ie}},b=function(ee,te,re){var oe,Y=(oe=ee.originalElements.get(te.id))!==null&&oe!==void 0?oe:te,V=Y.x+re.x,ie=Y.y+re.y;(0,le.DR)(te,{x:V,y:ie})},y=function(ee,te,re){var oe=(0,I.KP)(ee),Y=(0,f.Z)(oe,2);return[te-Y[0],re-Y[1]]},h=function(ee,te,re,oe,Y,V,ie,we,Ae,Re,je){var ye=arguments.length>11&&arguments[11]!==void 0?arguments[11]:null;if(Ae&&ee.type!=="selection")if(je)we=ie/je;else{if(Math.abs(V-oe)>Math.abs(Y-re)){var Ee=(0,w.uK)(te,we,Y<re?-ie:ie);ie=Ee.width,we=Ee.height}else{var Oe=(0,w.uK)(te,ie,V<oe?-we:we);ie=Oe.width,we=Oe.height}we<0&&(we=-we)}var ge,ue,se=Y<re?re-ie:re,j=V<oe?oe-we:oe;Re&&(se=re-(ie+=ie)/2,j=oe-(we+=we)/2),ie!==0&&we!==0&&(0,le.DR)(ee,{x:se+((ge=ye?.x)!==null&&ge!==void 0?ge:0),y:j+((ue=ye?.y)!==null&&ue!==void 0?ue:0),width:ie,height:we})},d=e(3474),r=e(4105),n=function(ee,te){return!!(!ee.viewModeEnabled&&(ee.activeTool.type!=="custom"&&(ee.editingElement||ee.activeTool.type!=="selection"&&ee.activeTool.type!=="eraser"&&ee.activeTool.type!=="hand"&&ee.activeTool.type!=="laser")||(0,r.eD)(te,ee).length))};function p(ee,te){var re=Object.keys(ee);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(ee);te&&(oe=oe.filter(function(Y){return Object.getOwnPropertyDescriptor(ee,Y).enumerable})),re.push.apply(re,oe)}return re}function a(ee){for(var te=1;te<arguments.length;te++){var re=arguments[te]!=null?arguments[te]:{};te%2?p(Object(re),!0).forEach(function(oe){(0,P.Z)(ee,oe,re[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ee,Object.getOwnPropertyDescriptors(re)):p(Object(re)).forEach(function(oe){Object.defineProperty(ee,oe,Object.getOwnPropertyDescriptor(re,oe))})}return ee}var l=function(ee){return ee.reduce(function(te,re){return te+re.version},0)},u=function(ee){return ee.filter(function(te){return!te.isDeleted&&!(0,w.QD)(te)})},C=function(ee){return ee.filter(function(te){return!te.isDeleted})},L=function(ee){return ee.filter(function(te){return!te.isDeleted})},_=function(ee){return!ee.isDeleted},E=function(ee){return C(ee).map(function(te){return(0,m.dt)(te.type)?a(a({},te),{},{lastCommittedPoint:null}):te})},D=function(ee){return E(ee)},F=function(ee){return E(ee)}},7422:function(fe,t,e){e.d(t,{_:function(){return A}});var P=e(1930),w=e(7169),m=e(2577),v=e(8821),I=e(5169),x=e(2361),c=e(7651),f=e(4949),Z=e(583),N=e(457),W=e(9645),k=e(9827),S=e(4183),J=e(5491),ce=e(4761),he=e(9937),ve=e(2921);function le(y,h){var d=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!d){if(Array.isArray(y)||(d=function(u,C){if(u){if(typeof u=="string")return G(u,C);var L=Object.prototype.toString.call(u).slice(8,-1);if(L==="Object"&&u.constructor&&(L=u.constructor.name),L==="Map"||L==="Set")return Array.from(u);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return G(u,C)}}(y))||h&&y&&typeof y.length=="number"){d&&(y=d);var r=0,n=function(){};return{s:n,n:function(){return r>=y.length?{done:!0}:{done:!1,value:y[r++]}},e:function(u){throw u},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,a=!0,l=!1;return{s:function(){d=d.call(y)},n:function(){var u=d.next();return a=u.done,u},e:function(u){l=!0,p=u},f:function(){try{a||d.return==null||d.return()}finally{if(l)throw p}}}}function G(y,h){(h==null||h>y.length)&&(h=y.length);for(var d=0,r=new Array(h);d<h;d++)r[d]=y[d];return r}function U(y,h){var d=Object.keys(y);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(y);h&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(y,n).enumerable})),d.push.apply(d,r)}return d}function H(y){for(var h=1;h<arguments.length;h++){var d=arguments[h]!=null?arguments[h]:{};h%2?U(Object(d),!0).forEach(function(r){(0,w.Z)(y,r,d[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(d)):U(Object(d)).forEach(function(r){Object.defineProperty(y,r,Object.getOwnPropertyDescriptor(d,r))})}return y}var M={version:null,points:[],zoom:null},A=function(){function y(h,d){(0,v.Z)(this,y),this.elementId=h.id,N.Z.mapElementToScene(this.elementId,d),y.normalizePoints(h),this.selectedPointsIndices=null,this.lastUncommittedPoint=null,this.isDragging=!1,this.pointerOffset={x:0,y:0},this.startBindingElement="keep",this.endBindingElement="keep",this.pointerDownState={prevSelectedPointsIndices:null,lastClickedPoint:-1,origin:null,segmentMidpoint:{value:null,index:null,added:!1}},this.hoverPointIndex=-1,this.segmentMidPointHoveredCoords=null}return(0,I.Z)(y,null,[{key:"getElement",value:function(h){var d,r=(d=N.Z.getScene(h))===null||d===void 0?void 0:d.getNonDeletedElement(h);return r||null}},{key:"handleBoxSelection",value:function(h,d,r){var n;if(!d.editingLinearElement||((n=d.draggingElement)===null||n===void 0?void 0:n.type)!=="selection")return!1;var p=d.editingLinearElement,a=p.selectedPointsIndices,l=p.elementId,u=y.getElement(l);if(!u)return!1;var C=(0,c.qf)(d.draggingElement),L=(0,m.Z)(C,4),_=L[0],E=L[1],D=L[2],F=L[3],ee=y.getPointsGlobalCoordinates(u).reduce(function(te,re,oe){return(re[0]>=_&&re[0]<=D&&re[1]>=E&&re[1]<=F||h.shiftKey&&a!=null&&a.includes(oe))&&te.push(oe),te},[]);r({editingLinearElement:H(H({},p),{},{selectedPointsIndices:ee.length?ee:null})})}},{key:"handlePointDragging",value:function(h,d,r,n,p,a){if(!a)return!1;var l=a.selectedPointsIndices,u=a.elementId,C=y.getElement(u);if(!C)return!1;var L=C.points[a.pointerDownState.lastClickedPoint];if(l&&L){if((0,J.Ge)(h)&&l.length===1&&C.points.length>1){var _=l[0],E=C.points[_===0?1:_-1],D=y._getShiftLockedDelta(C,E,[r,n],h[J.tW.CTRL_OR_CMD]?null:d.gridSize),F=(0,m.Z)(D,2),ee=F[0],te=F[1];y.movePoints(C,[{index:_,point:[ee+E[0],te+E[1]],isDragging:_===a.pointerDownState.lastClickedPoint}])}else{var re=y.createPointAt(C,r-a.pointerOffset.x,n-a.pointerOffset.y,h[J.tW.CTRL_OR_CMD]?null:d.gridSize),oe=re[0]-L[0],Y=re[1]-L[1];y.movePoints(C,l.map(function(we){return{index:we,point:we===a.pointerDownState.lastClickedPoint?y.createPointAt(C,r-a.pointerOffset.x,n-a.pointerOffset.y,h[J.tW.CTRL_OR_CMD]?null:d.gridSize):[C.points[we][0]+oe,C.points[we][1]+Y],isDragging:we===a.pointerDownState.lastClickedPoint}}))}if((0,ce.WJ)(C)&&(0,ce.RB)(C,!1),(0,S.Mn)(C,!1)){var V=[];l[0]===0&&V.push((0,k.AK)(y.getPointGlobalCoordinates(C,C.points[0])));var ie=l[l.length-1];ie===C.points.length-1&&V.push((0,k.AK)(y.getPointGlobalCoordinates(C,C.points[ie]))),V.length&&p(C,V)}return!0}return!1}},{key:"handlePointerUp",value:function(h,d,r){var n,p=d.elementId,a=d.selectedPointsIndices,l=d.isDragging,u=d.pointerDownState,C=y.getElement(p);if(!C)return d;var L={};if(l&&a){var _,E=le(a);try{for(E.s();!(_=E.n()).done;){var D=_.value;if(D===0||D===C.points.length-1){(0,x.g6)(C.points,r.zoom.value)&&y.movePoints(C,[{index:D,point:D===0?C.points[C.points.length-1]:C.points[0]}]);var F=(0,W.N1)(r)?(0,W.Y9)((0,k.AK)(y.getPointAtIndexGlobalCoordinates(C,D)),N.Z.getScene(C)):null;L[D===0?"startBindingElement":"endBindingElement"]=F}}}catch(ee){E.e(ee)}finally{E.f()}}return H(H(H({},d),L),{},{selectedPointsIndices:l||h.shiftKey?!l&&h.shiftKey&&(n=u.prevSelectedPointsIndices)!==null&&n!==void 0&&n.includes(u.lastClickedPoint)?a&&a.filter(function(ee){return ee!==u.lastClickedPoint}):a:a!=null&&a.includes(u.lastClickedPoint)?[u.lastClickedPoint]:a,isDragging:!1,pointerOffset:{x:0,y:0}})}},{key:"isSegmentTooShort",value:function(h,d,r,n){var p=(0,x.LW)(d[0],d[1],r[0],r[1]);return h.points.length>2&&h.roundness&&(p=(0,x.eH)(h,r)),p*n.value<4*y.POINT_HANDLE_SIZE}},{key:"getSegmentMidPoint",value:function(h,d,r,n){var p=(0,x.H5)(d,r);if(h.points.length>2&&h.roundness){var a=(0,x.yB)(h,h.points[n]);if(a){var l=(0,x.lk)(h,h.points[n],.5),u=(0,x.N_)(a[0],a[1],a[2],a[3],l),C=(0,m.Z)(u,2),L=C[0],_=C[1];p=y.getPointGlobalCoordinates(h,[L,_])}}return p}},{key:"getSegmentMidPointIndex",value:function(h,d,r){var n=y.getElement(h.elementId);if(!n)return-1;for(var p=y.getEditorMidPoints(n,d),a=0;a<p.length;){if(y.arePointsEqual(r,p[a]))return a+1;a++}return-1}},{key:"handlePointerDown",value:function(h,d,r,n,p){var a,l={didAddPoint:!1,hitElement:null,linearElementEditor:null};if(!p)return l;var u=p.elementId,C=y.getElement(u);if(!C)return l;var L=y.getSegmentMidpointHitCoords(p,n,d),_=null;if(L&&(_=y.getSegmentMidPointIndex(p,d,L)),h.altKey&&d.editingLinearElement)return p.lastUncommittedPoint==null&&((0,Z.DR)(C,{points:[].concat((0,P.Z)(C.points),[y.createPointAt(C,n.x,n.y,h[J.tW.CTRL_OR_CMD]?null:d.gridSize)])}),l.didAddPoint=!0),r.resumeRecording(),l.linearElementEditor=H(H({},p),{},{pointerDownState:{prevSelectedPointsIndices:p.selectedPointsIndices,lastClickedPoint:-1,origin:{x:n.x,y:n.y},segmentMidpoint:{value:L,index:_,added:!1}},selectedPointsIndices:[C.points.length-1],lastUncommittedPoint:null,endBindingElement:(0,W.Y9)(n,N.Z.getScene(C))}),l.didAddPoint=!0,l;var E=y.getPointIndexUnderCursor(C,d.zoom,n.x,n.y);if(E>=0||L)l.hitElement=C;else{var D=p.startBindingElement,F=p.endBindingElement;(0,W.N1)(d)&&(0,S.Mn)(C)&&(0,W.HG)(C,D,F)}var ee=(0,c.qf)(C),te=(0,m.Z)(ee,4),re=te[0],oe=te[1],Y=(re+te[2])/2,V=(oe+te[3])/2,ie=E>-1&&(0,x.U1)(C.x+C.points[E][0],C.y+C.points[E][1],Y,V,C.angle),we=E>-1||h.shiftKey?h.shiftKey||(a=p.selectedPointsIndices)!==null&&a!==void 0&&a.includes(E)?b([].concat((0,P.Z)(p.selectedPointsIndices||[]),[E])):[E]:null;return l.linearElementEditor=H(H({},p),{},{pointerDownState:{prevSelectedPointsIndices:p.selectedPointsIndices,lastClickedPoint:E,origin:{x:n.x,y:n.y},segmentMidpoint:{value:L,index:_,added:!1}},selectedPointsIndices:we,pointerOffset:ie?{x:n.x-ie[0],y:n.y-ie[1]}:{x:0,y:0}}),l}},{key:"arePointsEqual",value:function(h,d){return!h&&!d||!(!h||!d)&&(0,x.Jj)(h,d)}},{key:"handlePointerMove",value:function(h,d,r,n){if(!n.editingLinearElement)return null;var p=n.editingLinearElement,a=p.elementId,l=p.lastUncommittedPoint,u=y.getElement(a);if(!u)return n.editingLinearElement;var C,L=u.points,_=L[L.length-1];if(!h.altKey)return _===l&&y.deletePoints(u,[L.length-1]),H(H({},n.editingLinearElement),{},{lastUncommittedPoint:null});if((0,J.Ge)(h)&&L.length>=2){var E=L[L.length-2],D=y._getShiftLockedDelta(u,E,[d,r],h[J.tW.CTRL_OR_CMD]?null:n.gridSize),F=(0,m.Z)(D,2),ee=F[0],te=F[1];C=[ee+E[0],te+E[1]]}else C=y.createPointAt(u,d-n.editingLinearElement.pointerOffset.x,r-n.editingLinearElement.pointerOffset.y,h[J.tW.CTRL_OR_CMD]?null:n.gridSize);return _===l?y.movePoints(u,[{index:u.points.length-1,point:C}]):y.addPoints(u,n,[{point:C}]),H(H({},n.editingLinearElement),{},{lastUncommittedPoint:u.points[u.points.length-1]})}},{key:"getPointGlobalCoordinates",value:function(h,d){var r=(0,c.qf)(h),n=(0,m.Z)(r,4),p=n[0],a=n[1],l=(p+n[2])/2,u=(a+n[3])/2,C=h.x,L=h.y,_=(0,x.U1)(C+d[0],L+d[1],l,u,h.angle),E=(0,m.Z)(_,2);return[C=E[0],L=E[1]]}},{key:"getPointsGlobalCoordinates",value:function(h){var d=(0,c.qf)(h),r=(0,m.Z)(d,4),n=r[0],p=r[1],a=r[2],l=r[3],u=(n+a)/2,C=(p+l)/2;return h.points.map(function(L){var _=h.x,E=h.y,D=(0,x.U1)(_+L[0],E+L[1],u,C,h.angle),F=(0,m.Z)(D,2);return[_=F[0],E=F[1]]})}},{key:"getPointAtIndexGlobalCoordinates",value:function(h,d){var r=d<0?h.points.length+d:d,n=(0,c.qf)(h),p=(0,m.Z)(n,4),a=p[0],l=p[1],u=(a+p[2])/2,C=(l+p[3])/2,L=h.points[r],_=h.x,E=h.y;return L?(0,x.U1)(_+L[0],E+L[1],u,C,h.angle):(0,x.U1)(_,E,u,C,h.angle)}},{key:"pointFromAbsoluteCoords",value:function(h,d){var r=(0,c.qf)(h),n=(0,m.Z)(r,4),p=n[0],a=n[1],l=(p+n[2])/2,u=(a+n[3])/2,C=(0,x.U1)(d[0],d[1],l,u,-h.angle),L=(0,m.Z)(C,2),_=L[0],E=L[1];return[_-h.x,E-h.y]}},{key:"getPointIndexUnderCursor",value:function(h,d,r,n){for(var p=y.getPointsGlobalCoordinates(h),a=p.length;--a>-1;){var l=p[a];if((0,x.LW)(r,n,l[0],l[1])*d.value<y.POINT_HANDLE_SIZE+1)return a}return-1}},{key:"createPointAt",value:function(h,d,r,n){var p=(0,x.wC)(d,r,n),a=(0,c.qf)(h),l=(0,m.Z)(a,4),u=l[0],C=l[1],L=(u+l[2])/2,_=(C+l[3])/2,E=(0,x.U1)(p[0],p[1],L,_,-h.angle),D=(0,m.Z)(E,2),F=D[0],ee=D[1];return[F-h.x,ee-h.y]}},{key:"getNormalizedPoints",value:function(h){var d=h.points,r=d[0][0],n=d[0][1];return{points:d.map(function(p,a){return[p[0]-r,p[1]-n]}),x:h.x+r,y:h.y+n}}},{key:"normalizePoints",value:function(h){(0,Z.DR)(h,y.getNormalizedPoints(h))}},{key:"duplicateSelectedPoints",value:function(h){if(!h.editingLinearElement)return!1;var d=h.editingLinearElement,r=d.selectedPointsIndices,n=d.elementId,p=y.getElement(n);if(!p||r===null)return!1;var a=p.points,l=[],u=!1,C=-1,L=a.reduce(function(E,D,F){if(++C,E.push(D),r.includes(F)){var ee=a[F+1];ee||(u=!0),E.push(ee?[(D[0]+ee[0])/2,(D[1]+ee[1])/2]:[D[0],D[1]]),l.push(C+1),++C}return E},[]);if((0,Z.DR)(p,{points:L}),u){var _=p.points[p.points.length-1];y.movePoints(p,[{index:p.points.length-1,point:[_[0]+30,_[1]+30]}])}return{appState:H(H({},h),{},{editingLinearElement:H(H({},h.editingLinearElement),{},{selectedPointsIndices:l})})}}},{key:"deletePoints",value:function(h,d){var r=0,n=0;if(d.includes(0)){var p=h.points.find(function(l,u){return!d.includes(u)});p&&(r=p[0],n=p[1])}var a=h.points.reduce(function(l,u,C){return d.includes(C)||l.push(l.length?[u[0]-r,u[1]-n]:[0,0]),l},[]);y._updatePoints(h,a,r,n)}},{key:"addPoints",value:function(h,d,r){var n=[].concat((0,P.Z)(h.points),(0,P.Z)(r.map(function(p){return p.point})));y._updatePoints(h,n,0,0)}},{key:"movePoints",value:function(h,d,r){var n=h.points,p=0,a=0,l=d.find(function(C){return C.index===0});l&&(p=l.point[0]+n[l.index][0],a=l.point[1]+n[l.index][1]);var u=n.map(function(C,L){var _=d.find(function(F){return F.index===L});if(_){if(l)return C;var E=_.point[0]-n[_.index][0],D=_.point[1]-n[_.index][1];return[C[0]+E,C[1]+D]}return p||a?[C[0]-p,C[1]-a]:C});y._updatePoints(h,u,p,a,r)}},{key:"shouldAddMidpoint",value:function(h,d,r){if(!y.getElement(h.elementId))return!1;var n=h.pointerDownState.segmentMidpoint;if(n.added||n.value===null||n.index===null||h.pointerDownState.origin===null)return!1;var p=h.pointerDownState.origin,a=(0,x.LW)(p.x,p.y,d.x,d.y);return!(!r.editingLinearElement&&a<he.f/r.zoom.value)}},{key:"addMidpoint",value:function(h,d,r,n){var p=y.getElement(h.elementId);if(p){var a=h.pointerDownState.segmentMidpoint,l={pointerDownState:h.pointerDownState,selectedPointsIndices:h.selectedPointsIndices},u=y.createPointAt(p,d.x,d.y,n?r.gridSize:null),C=[].concat((0,P.Z)(p.points.slice(0,a.index)),[u],(0,P.Z)(p.points.slice(a.index)));return(0,Z.DR)(p,{points:C}),l.pointerDownState=H(H({},h.pointerDownState),{},{segmentMidpoint:H(H({},h.pointerDownState.segmentMidpoint),{},{added:!0}),lastClickedPoint:a.index}),l.selectedPointsIndices=[a.index],l}}},{key:"_updatePoints",value:function(h,d,r,n,p){var a=(0,f.Ut)(h,d),l=(0,f.Ut)(h,h.points),u=(a[0]+a[2])/2,C=(a[1]+a[3])/2,L=(l[0]+l[2])/2-u,_=(l[1]+l[3])/2-C,E=(0,x.U1)(r,n,L,_,h.angle);(0,Z.DR)(h,H(H({},p),{},{points:d,x:h.x+E[0],y:h.y+E[1]}))}},{key:"_getShiftLockedDelta",value:function(h,d,r,n){var p=y.getPointGlobalCoordinates(h,d),a=(0,x.wC)(r[0],r[1],n),l=(0,m.Z)(a,2),u=l[0],C=l[1],L=(0,c.o4)(p[0],p[1],u,C),_=L.width,E=L.height;return(0,x.xj)([_,E],[0,0],-h.angle)}}]),y}();A.POINT_HANDLE_SIZE=10,A.getEditorMidPoints=function(y,h){var d=(0,ce.WJ)(y);return!h.editingLinearElement&&y.points.length>2&&!d?[]:(M.version===y.version&&M.zoom===h.zoom.value||A.updateEditorMidPointsCache(y,h),M.points)},A.updateEditorMidPointsCache=function(y,h){for(var d=A.getPointsGlobalCoordinates(y),r=0,n=[];r<d.length-1;)if(A.isSegmentTooShort(y,y.points[r],y.points[r+1],h.zoom))n.push(null),r++;else{var p=A.getSegmentMidPoint(y,d[r],d[r+1],r+1);n.push(p),r++}M.points=n,M.version=y.version,M.zoom=h.zoom.value},A.getSegmentMidpointHitCoords=function(y,h,d){var r=y.elementId,n=A.getElement(r);if(!n||A.getPointIndexUnderCursor(n,d.zoom,h.x,h.y)>=0||A.getPointsGlobalCoordinates(n).length>=3&&!d.editingLinearElement)return null;var p=A.POINT_HANDLE_SIZE/d.zoom.value,a=y.segmentMidPointHoveredCoords;if(a&&(0,x.LW)(a[0],a[1],h.x,h.y)<=p)return a;for(var l=0,u=A.getEditorMidPoints(n,d);l<u.length;){if(u[l]!==null&&(0,x.LW)(u[l][0],u[l][1],h.x,h.y)<=p)return u[l];l++}return null},A.getBoundTextElementPosition=function(y,h){var d=A.getPointsGlobalCoordinates(y);d.length<2&&(0,Z.DR)(h,{isDeleted:!0});var r=0,n=0;if(y.points.length%2==1){var p=Math.floor(y.points.length/2),a=A.getPointGlobalCoordinates(y,y.points[p]);r=a[0]-h.width/2,n=a[1]-h.height/2}else{var l=y.points.length/2-1,u=M.points[l];y.points.length===2&&(u=(0,x.H5)(d[0],d[1])),u&&M.version===y.version||(u=A.getSegmentMidPoint(y,d[l],d[l+1],l+1)),r=u[0]-h.width/2,n=u[1]-h.height/2}return{x:r,y:n}},A.getMinMaxXYWithBoundText=function(y,h,d){var r=(0,m.Z)(h,4),n=r[0],p=r[1],a=r[2],l=r[3],u=(n+a)/2,C=(p+l)/2,L=A.getBoundTextElementPosition(y,d),_=L.x,E=L.y,D=_+d.width,F=E+d.height,ee=(0,x.xj)([n,p],[u,C],y.angle),te=(0,x.xj)([a,p],[u,C],y.angle),re=(0,x.xj)([_,E],[u,C],-y.angle),oe=(0,x.xj)([D,E],[u,C],-y.angle),Y=(0,x.xj)([_,F],[u,C],-y.angle),V=(0,x.xj)([D,F],[u,C],-y.angle);return ee[0]<te[0]&&ee[1]>=te[1]?(n=Math.min(n,Y[0]),a=Math.max(a,Math.max(oe[0],V[0])),p=Math.min(p,re[1]),l=Math.max(l,V[1])):ee[0]>=te[0]&&ee[1]>te[1]?(n=Math.min(n,V[0]),a=Math.max(a,Math.max(re[0],oe[0])),p=Math.min(p,Y[1]),l=Math.max(l,oe[1])):ee[0]>=te[0]?(n=Math.min(n,oe[0]),a=Math.max(a,Y[0]),p=Math.min(p,V[1]),l=Math.max(l,re[1])):ee[1]<=te[1]&&(n=Math.min(n,Math.min(oe[0],re[0])),a=Math.max(a,V[0]),p=Math.min(p,oe[1]),l=Math.max(l,Y[1])),[n,p,a,l,u,C]},A.getElementAbsoluteCoords=function(y){var h,d,r,n,p,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(y.points.length<2||!ve.R.get(y)){var l=y.points.reduce(function(Ae,Re){var je=(0,m.Z)(Re,2),ye=je[0],Ee=je[1];return Ae.minY=Math.min(Ae.minY,Ee),Ae.minX=Math.min(Ae.minX,ye),Ae.maxX=Math.max(Ae.maxX,ye),Ae.maxY=Math.max(Ae.maxY,Ee),Ae},{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}),u=l.minX,C=l.minY,L=l.maxX,_=l.maxY;d=u+y.x,r=C+y.y,n=L+y.x,p=_+y.y}else{var E=ve.R.generateElementShape(y),D=(0,f.CM)(E[0]),F=(0,f.IX)(D),ee=(0,m.Z)(F,4),te=ee[0],re=ee[1],oe=ee[2],Y=ee[3];d=te+y.x,r=re+y.y,n=oe+y.x,p=Y+y.y}var V=(d+n)/2,ie=(r+p)/2;if(h=[d,r,n,p,V,ie],!a)return h;var we=(0,ce.WJ)(y);return we&&(h=A.getMinMaxXYWithBoundText(y,[d,r,n,p],we)),h};var b=function(y){var h=(0,P.Z)(new Set(y.filter(function(d){return d!==null&&d!==-1})));return(h=h.sort(function(d,r){return d-r})).length?h:null}},583:function(fe,t,e){e.d(t,{BE:function(){return W},DR:function(){return N},ZP:function(){return k}});var P=e(6655),w=e(7169),m=e(457),v=e(5999),I=e(4643),x=e(9827),c=e(2921);function f(S,J){var ce=Object.keys(S);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(S);J&&(he=he.filter(function(ve){return Object.getOwnPropertyDescriptor(S,ve).enumerable})),ce.push.apply(ce,he)}return ce}function Z(S){for(var J=1;J<arguments.length;J++){var ce=arguments[J]!=null?arguments[J]:{};J%2?f(Object(ce),!0).forEach(function(he){(0,w.Z)(S,he,ce[he])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(ce)):f(Object(ce)).forEach(function(he){Object.defineProperty(S,he,Object.getOwnPropertyDescriptor(ce,he))})}return S}var N=function(S,J){var ce,he=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],ve=!1,le=J,G=le.points,U=le.fileId;for(var H in G!==void 0&&(J=Z(Z({},(0,v.k)(G)),J)),J){var M=J[H];if(M!==void 0){if(S[H]===M&&((0,P.Z)(M)!=="object"||M===null||H==="groupIds"||H==="scale"))continue;if(H==="scale"){var A=S[H],b=M;if(A[0]===b[0]&&A[1]===b[1])continue}else if(H==="points"){var y=S[H],h=M;if(y.length===h.length){for(var d=!1,r=y.length;--r;){var n=y[r],p=h[r];if(n[0]!==p[0]||n[1]!==p[1]){d=!0;break}}if(!d)continue}}S[H]=M,ve=!0}}return ve&&(J.height===void 0&&J.width===void 0&&U===void 0&&G===void 0||c.R.delete(S),S.version++,S.versionNonce=(0,I.LU)(),S.updated=(0,x.C3)(),he&&((ce=m.Z.getScene(S))===null||ce===void 0||ce.informMutation())),S},W=function(S,J){var ce=!1;for(var he in J){var ve=J[he];if(ve!==void 0){if(S[he]===ve&&((0,P.Z)(ve)!=="object"||ve===null))continue;ce=!0}}return ce?Z(Z(Z({},S),J),{},{updated:(0,x.C3)(),version:S.version+1,versionNonce:(0,I.LU)()}):S},k=function(S,J){return S.version=(J??S.version)+1,S.versionNonce=(0,I.LU)(),S.updated=(0,x.C3)(),S}},5742:function(fe,t,e){e.d(t,{JZ:function(){return h},KE:function(){return r},M:function(){return H},M3:function(){return M},N_:function(){return d},OL:function(){return l},Sy:function(){return C},Up:function(){return U},VL:function(){return b},_N:function(){return L},vw:function(){return p},y8:function(){return n}});var P=e(6655),w=e(2577),m=e(7169),v=e(2726),I=e(9827),x=e(4643),c=e(583),f=e(9215),Z=e(7651),N=e(2361),W=e(4949),k=e(4761),S=e(9937),J=["x","y","strokeColor","backgroundColor","fillStyle","strokeWidth","strokeStyle","roughness","opacity","width","height","angle","groupIds","frameId","roundness","boundElements","link","locked"];function ce(_,E){var D=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!D){if(Array.isArray(_)||(D=function(Y,V){if(Y){if(typeof Y=="string")return he(Y,V);var ie=Object.prototype.toString.call(Y).slice(8,-1);if(ie==="Object"&&Y.constructor&&(ie=Y.constructor.name),ie==="Map"||ie==="Set")return Array.from(Y);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return he(Y,V)}}(_))||E&&_&&typeof _.length=="number"){D&&(_=D);var F=0,ee=function(){};return{s:ee,n:function(){return F>=_.length?{done:!0}:{done:!1,value:_[F++]}},e:function(Y){throw Y},f:ee}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var te,re=!0,oe=!1;return{s:function(){D=D.call(_)},n:function(){var Y=D.next();return re=Y.done,Y},e:function(Y){oe=!0,te=Y},f:function(){try{re||D.return==null||D.return()}finally{if(oe)throw te}}}}function he(_,E){(E==null||E>_.length)&&(E=_.length);for(var D=0,F=new Array(E);D<E;D++)F[D]=_[D];return F}function ve(_,E){var D=Object.keys(_);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(_);E&&(F=F.filter(function(ee){return Object.getOwnPropertyDescriptor(_,ee).enumerable})),D.push.apply(D,F)}return D}function le(_){for(var E=1;E<arguments.length;E++){var D=arguments[E]!=null?arguments[E]:{};E%2?ve(Object(D),!0).forEach(function(F){(0,m.Z)(_,F,D[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(D)):ve(Object(D)).forEach(function(F){Object.defineProperty(_,F,Object.getOwnPropertyDescriptor(D,F))})}return _}var G=function(_,E){var D,F,ee=E.x,te=E.y,re=E.strokeColor,oe=re===void 0?S.HN.strokeColor:re,Y=E.backgroundColor,V=Y===void 0?S.HN.backgroundColor:Y,ie=E.fillStyle,we=ie===void 0?S.HN.fillStyle:ie,Ae=E.strokeWidth,Re=Ae===void 0?S.HN.strokeWidth:Ae,je=E.strokeStyle,ye=je===void 0?S.HN.strokeStyle:je,Ee=E.roughness,Oe=Ee===void 0?S.HN.roughness:Ee,ge=E.opacity,ue=ge===void 0?S.HN.opacity:ge,se=E.width,j=se===void 0?0:se,i=E.height,s=i===void 0?0:i,O=E.angle,z=O===void 0?0:O,K=E.groupIds,$=K===void 0?[]:K,Q=E.frameId,ae=Q===void 0?null:Q,be=E.roundness,Ce=be===void 0?null:be,Ze=E.boundElements,Be=Ze===void 0?null:Ze,Te=E.link,He=Te===void 0?null:Te,Ve=E.locked,Je=Ve===void 0?S.HN.locked:Ve,Me=(0,v.Z)(E,J);return{id:Me.id||(0,x.kb)(),type:_,x:ee,y:te,width:j,height:s,angle:z,strokeColor:oe,backgroundColor:V,fillStyle:we,strokeWidth:Re,strokeStyle:ye,roughness:Oe,opacity:ue,groupIds:$,frameId:ae,roundness:Ce,seed:(D=Me.seed)!==null&&D!==void 0?D:(0,x.LU)(),version:Me.version||1,versionNonce:(F=Me.versionNonce)!==null&&F!==void 0?F:0,isDeleted:!1,boundElements:Be,updated:(0,I.C3)(),link:He,locked:Je,customData:Me.customData}},U=function(_){return G(_.type,_)},H=function(_){return le(le({},G("embeddable",_)),{},{validated:_.validated})},M=function(_){return(0,c.BE)(le(le({},G("frame",_)),{},{type:"frame",name:_?.name||null}),{})},A=function(_,E){return{x:_.textAlign==="center"?E.width/2:_.textAlign==="right"?E.width:0,y:_.verticalAlign==="middle"?E.height/2:0}},b=function(_){var E=_.fontFamily||S.rk,D=_.fontSize||S.n5,F=_.lineHeight||(0,k.PT)(E),ee=(0,k.bG)(_.text),te=(0,k.X1)(ee,(0,I.mO)({fontFamily:E,fontSize:D}),F),re=_.textAlign||S.Hg,oe=_.verticalAlign||S.hs,Y=A({textAlign:re,verticalAlign:oe},te);return(0,c.BE)(le(le({},G("text",_)),{},{text:ee,fontSize:D,fontFamily:E,textAlign:re,verticalAlign:oe,x:_.x-Y.x,y:_.y-Y.y,width:te.width,height:te.height,baseline:te.baseline,containerId:_.containerId||null,originalText:ee,lineHeight:F}),{})},y=function(_,E){var D,F,ee=(0,k.X1)(E,(0,I.mO)(_),_.lineHeight),te=ee.width,re=ee.height,oe=ee.baseline,Y=_.textAlign,V=_.verticalAlign;if(Y!=="center"||V!==S.oX.MIDDLE||_.containerId){var ie=(0,Z.qf)(_),we=(0,w.Z)(ie,4),Ae=we[0],Re=we[1],je=we[2],ye=we[3],Ee=(0,W.wC)(_,te,re,!1),Oe=(0,w.Z)(Ee,4),ge=(Ae-Oe[0])/2,ue=(Re-Oe[1])/2,se=(je-Oe[2])/2,j=(ye-Oe[3])/2,i=(0,N.yq)({s:!0,e:Y==="center"||Y==="left",w:Y==="center"||Y==="right"},_.x,_.y,_.angle,ge,ue,se,j),s=(0,w.Z)(i,2);D=s[0],F=s[1]}else{var O=(0,k.X1)(_.text,(0,I.mO)(_),_.lineHeight),z=A(_,{width:te-O.width,height:re-O.height});D=_.x-z.x,F=_.y-z.y}return{width:te,height:re,baseline:oe,x:Number.isFinite(D)?D:_.x,y:Number.isFinite(F)?F:_.y}},h=function(_){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_.text;if(!_.isDeleted){var D=(0,k.tl)(_);D&&(E=(0,k.lD)(E,(0,I.mO)(_),(0,k.iZ)(D)));var F=y(_,E);return le({text:E},F)}},d=function(_,E){E.text;var D=E.isDeleted,F=E.originalText;return(0,c.BE)(_,le({originalText:F,isDeleted:D??_.isDeleted},h(_,F)))},r=function(_){return le(le({},G(_.type,_)),{},{points:_.points||[],pressures:[],simulatePressure:_.simulatePressure,lastCommittedPoint:null})},n=function(_){return le(le({},G(_.type,_)),{},{points:_.points||[],lastCommittedPoint:null,startBinding:null,endBinding:null,startArrowhead:_.startArrowhead||null,endArrowhead:_.endArrowhead||null})},p=function(_){var E,D,F;return le(le({},G("image",_)),{},{strokeColor:"transparent",status:(E=_.status)!==null&&E!==void 0?E:"pending",fileId:(D=_.fileId)!==null&&D!==void 0?D:null,scale:(F=_.scale)!==null&&F!==void 0?F:[1,1]})},a=function _(E){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(E==null||(0,P.Z)(E)!=="object")return E;var F=Object.prototype.toString.call(E);if(F==="[object Object]"){var ee=typeof E.constructor=="function"?Object.create(Object.getPrototypeOf(E)):{};for(var te in E)if(E.hasOwnProperty(te)){if(D===0&&(te==="shape"||te==="canvas"))continue;ee[te]=_(E[te],D+1)}return ee}if(Array.isArray(E)){for(var re=E.length,oe=new Array(re);re--;)oe[re]=_(E[re],D+1);return oe}return E},l=function(_){return a(_)},u=function(_){if((0,I.h2)()&&_){var E,D,F="".concat(_,"_copy");return(E=window.h)!==null&&E!==void 0&&(D=E.app)!==null&&D!==void 0&&D.getSceneElementsIncludingDeleted().find(function(ee){return ee.id===F})&&(F+="_copy"),F}return(0,x.kb)()},C=function(_,E,D,F){var ee=l(D);return ee.id=u(ee.id),ee.boundElements=null,ee.updated=(0,I.C3)(),ee.seed=(0,x.LU)(),ee.groupIds=(0,f.Qy)(ee.groupIds,_,function(te){return E.has(te)||E.set(te,u(te)),E.get(te)}),F&&(ee=Object.assign(ee,F)),ee},L=function(_,E){var D,F=[],ee=(0,I.xn)(_),te=new Map,re=function(je){if(te.has(je))return te.get(je);if(ee.has(je)){var ye=u(je);return te.set(je,ye),ye}return null},oe=new Map,Y=ce(_);try{for(Y.s();!(D=Y.n()).done;){var V=D.value,ie=a(V);if(ie.id=re(V.id),E!=null&&E.randomizeSeed&&(ie.seed=(0,x.LU)(),(0,c.ZP)(ie)),ie.groupIds&&(ie.groupIds=ie.groupIds.map(function(je){return oe.has(je)||oe.set(je,u(je)),oe.get(je)})),"containerId"in ie&&ie.containerId){var we=re(ie.containerId);ie.containerId=we}if("boundElements"in ie&&ie.boundElements&&(ie.boundElements=ie.boundElements.reduce(function(je,ye){var Ee=re(ye.id);return Ee&&je.push(le(le({},ye),{},{id:Ee})),je},[])),"endBinding"in ie&&ie.endBinding){var Ae=re(ie.endBinding.elementId);ie.endBinding=Ae?le(le({},ie.endBinding),{},{elementId:Ae}):null}if("startBinding"in ie&&ie.startBinding){var Re=re(ie.startBinding.elementId);ie.startBinding=Re?le(le({},ie.startBinding),{},{elementId:Re}):null}ie.frameId&&(ie.frameId=re(ie.frameId)),F.push(ie)}}catch(je){Y.e(je)}finally{Y.f()}return F}},4381:function(fe,t,e){e.d(t,{LM:function(){return r},T:function(){return a},vY:function(){return M},xx:function(){return p}});var P=e(2726),w=e(1930),m=e(7169),v=e(2577),I=e(9937),x=e(5999),c=e(2361),f=e(4949),Z=e(4183),N=e(583),W=e(9827),k=e(9645),S=e(457),J=e(4761),ce=e(7422),he=["boundTextFontSize"];function ve(l,u){var C=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!C){if(Array.isArray(l)||(C=function(ee,te){if(ee){if(typeof ee=="string")return le(ee,te);var re=Object.prototype.toString.call(ee).slice(8,-1);if(re==="Object"&&ee.constructor&&(re=ee.constructor.name),re==="Map"||re==="Set")return Array.from(ee);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return le(ee,te)}}(l))||u&&l&&typeof l.length=="number"){C&&(l=C);var L=0,_=function(){};return{s:_,n:function(){return L>=l.length?{done:!0}:{done:!1,value:l[L++]}},e:function(ee){throw ee},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E,D=!0,F=!1;return{s:function(){C=C.call(l)},n:function(){var ee=C.next();return D=ee.done,ee},e:function(ee){F=!0,E=ee},f:function(){try{D||C.return==null||C.return()}finally{if(F)throw E}}}}function le(l,u){(u==null||u>l.length)&&(u=l.length);for(var C=0,L=new Array(u);C<u;C++)L[C]=l[C];return L}function G(l,u){var C=Object.keys(l);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(l);u&&(L=L.filter(function(_){return Object.getOwnPropertyDescriptor(l,_).enumerable})),C.push.apply(C,L)}return C}function U(l){for(var u=1;u<arguments.length;u++){var C=arguments[u]!=null?arguments[u]:{};u%2?G(Object(C),!0).forEach(function(L){(0,m.Z)(l,L,C[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(C)):G(Object(C)).forEach(function(L){Object.defineProperty(l,L,Object.getOwnPropertyDescriptor(C,L))})}return l}var H=function(l){return l<0?l+2*Math.PI:l>=2*Math.PI?l-2*Math.PI:l},M=function(l,u,C,L,_,E,D,F,ee,te,re,oe){if(C.length===1){var Y=(0,v.Z)(C,1)[0];return u==="rotation"?(A(Y,F,ee,_,l.originalElements),(0,k.Ww)(Y)):!(0,Z.iB)(Y)||u!=="nw"&&u!=="ne"&&u!=="sw"&&u!=="se"?u&&d(l.originalElements,D,Y,u,E,F,ee):(h(Y,u,E,F,ee),(0,k.Ww)(Y)),!0}if(C.length>1){if(u==="rotation")return n(l,C,F,ee,_,te,re),!0;if(u==="nw"||u==="ne"||u==="sw"||u==="se")return r(l,C,u,E,F,ee),!0}return!1},A=function(l,u,C,L,_){var E,D=(0,f.qf)(l),F=(0,v.Z)(D,4),ee=F[0],te=F[1],re=(ee+F[2])/2,oe=(te+F[3])/2;(0,Z.He)(l)?E=0:(E=5*Math.PI/2+Math.atan2(C-oe,u-re),L&&(E+=I.ay/2,E-=E%I.ay),E=H(E));var Y=(0,J.xB)(l);if((0,N.DR)(l,{angle:E}),Y){var V,ie=(V=S.Z.getScene(l))===null||V===void 0?void 0:V.getElement(Y);ie&&!(0,Z.Yv)(l)&&(0,N.DR)(ie,{angle:E})}},b=function(l,u,C,L){return(0,Z.bt)(l)||(0,Z.F9)(l)?{points:(0,x.z)(0,u,(0,x.z)(1,C,l.points,L),L)}:{}},y=function(l,u,C){var L=l.width;if((0,Z.Xh)(l)){var _=(0,J.tl)(l);_&&(L=(0,J.iZ)(_))}var E=l.fontSize*(u/L);if(E<I.CP)return null;var D=(0,J.X1)(l.text,(0,W.mO)({fontSize:E,fontFamily:l.fontFamily}),l.lineHeight);return{size:E,baseline:D.baseline+(C-D.height)}},h=function(l,u,C,L,_){var E,D=(0,f.qf)(l),F=(0,v.Z)(D,4),ee=F[0],te=F[1],re=F[2],oe=F[3],Y=(ee+re)/2,V=(te+oe)/2,ie=(0,c.U1)(L,_,Y,V,-l.angle),we=(0,v.Z)(ie,2),Ae=we[0],Re=we[1];switch(u){case"se":E=Math.max((Ae-ee)/(re-ee),(Re-te)/(oe-te));break;case"nw":E=Math.max((re-Ae)/(re-ee),(oe-Re)/(oe-te));break;case"ne":E=Math.max((Ae-ee)/(re-ee),(oe-Re)/(oe-te));break;case"sw":E=Math.max((re-Ae)/(re-ee),(Re-te)/(oe-te))}if(E>0){var je=l.width*E,ye=l.height*E,Ee=y(l,je,ye);if(Ee===null)return;var Oe=(0,f.wC)(l,je,ye,!1),ge=(0,v.Z)(Oe,4),ue=(ee-ge[0])/2,se=(te-ge[1])/2,j=(re-ge[2])/2,i=(oe-ge[3])/2,s=(0,c.yq)(function($,Q){return{n:/^(n|ne|nw)$/.test($)||Q&&/^(s|se|sw)$/.test($),s:/^(s|se|sw)$/.test($)||Q&&/^(n|ne|nw)$/.test($),w:/^(w|nw|sw)$/.test($)||Q&&/^(e|ne|se)$/.test($),e:/^(e|ne|se)$/.test($)||Q&&/^(w|nw|sw)$/.test($)}}(u,C),l.x,l.y,l.angle,ue,se,j,i),O=(0,v.Z)(s,2),z=O[0],K=O[1];(0,N.DR)(l,{fontSize:Ee.size,width:je,height:ye,baseline:Ee.baseline,x:z,y:K})}},d=function(l,u,C,L,_,E,D){var F=l.get(C.id),ee=(0,f.wC)(F,F.width,F.height,!0),te=(0,v.Z)(ee,4),re=[te[0],te[1]],oe=[te[2],te[3]],Y=(0,c.H5)(re,oe),V=(0,c.xj)([E,D],Y,-F.angle),ie=(0,f.wC)(C,C.width,C.height,!0),we=(0,v.Z)(ie,4),Ae=we[0],Re=we[1],je=we[2]-Ae,ye=we[3]-Re,Ee=(oe[0]-re[0])/je,Oe=(oe[1]-re[1])/ye,ge={},ue=(0,J.WJ)(C);L.includes("e")&&(Ee=(V[0]-re[0])/je),L.includes("s")&&(Oe=(V[1]-re[1])/ye),L.includes("w")&&(Ee=(oe[0]-V[0])/je),L.includes("n")&&(Oe=(oe[1]-V[1])/ye);var se=F.width,j=F.height,i=C.width*Ee,s=C.height*Oe;if(_&&(i=2*i-se,s=2*s-j),u){var O=Math.abs(i)/se,z=Math.abs(s)/j;if(L.length===1&&(s*=O,i*=z),L.length===2){var K=Math.max(O,z);i=se*K*Math.sign(i),s=j*K*Math.sign(s)}}if(ue){var $=l.get(ue.id);if($&&(ge={fontSize:$.fontSize,baseline:$.baseline}),u){var Q=U(U({},C),{},{width:i,height:s}),ae=y(ue,(0,J.iZ)(Q),(0,J.D9)(Q,ue));if(ae===null)return;ge={fontSize:ae.size,baseline:ae.baseline}}else{var be=(0,J.AT)((0,W.mO)(ue),ue.lineHeight),Ce=(0,J.w_)(ue.fontSize,ue.lineHeight);i=Math.max(i,be),s=Math.max(s,Ce)}}var Ze=(0,f.wC)(F,i,s,!0),Be=(0,v.Z)(Ze,4),Te=Be[0],He=Be[1],Ve=Be[2],Je=Be[3],Me=Ve-Te,me=Je-He,Se=[].concat(re);if(["n","w","nw"].includes(L)&&(Se=[oe[0]-Math.abs(Me),oe[1]-Math.abs(me)]),L==="ne"){var Ne=[re[0],oe[1]];Se=[Ne[0],Ne[1]-Math.abs(me)]}if(L==="sw"){var Ye=[oe[0],re[1]];Se=[Ye[0]-Math.abs(Me),Ye[1]]}u&&(["s","n"].includes(L)&&(Se[0]=Y[0]-Me/2),["e","w"].includes(L)&&(Se[1]=Y[1]-me/2));var Qe=s<0;i<0&&(L.includes("e")&&(Se[0]-=Math.abs(Me)),L.includes("w")&&(Se[0]+=Math.abs(Me))),Qe&&(L.includes("s")&&(Se[1]-=Math.abs(me)),L.includes("n")&&(Se[1]+=Math.abs(me))),_&&(Se[0]=Y[0]-Math.abs(Me)/2,Se[1]=Y[1]-Math.abs(me)/2);var rt=F.angle,ft=(0,c.xj)(Se,Y,rt),at=[Se[0]+Math.abs(Me)/2,Se[1]+Math.abs(me)/2],ut=(0,c.xj)(at,Y,rt);Se=(0,c.xj)(ft,ut,-rt);var Ot=(0,w.Z)(Se),Pt=F.x-Te,Et=F.y-He;Ot[0]+=Pt,Ot[1]+=Et;var Mt,Yt,lt=Ot[0],ot=Ot[1];((0,Z.bt)(C)||(0,Z.F9)(C))&&(Mt=(0,x.z)(1,s,F.points,!0),Yt=(0,x.z)(0,i,Mt,!0));var mt={width:Math.abs(i),height:Math.abs(s),x:lt,y:ot,points:Yt};if("scale"in C&&"scale"in F&&(0,N.DR)(C,{scale:[(Math.sign(Ve-F.x)||F.scale[0])*F.scale[0],(Math.sign(Je-F.y)||F.scale[1])*F.scale[1]]}),(0,Z.Yv)(C)&&ue&&u){var pt=mt.width/C.width*ue.fontSize;if(pt<I.CP)return;ge.fontSize=pt}mt.width!==0&&mt.height!==0&&Number.isFinite(mt.x)&&Number.isFinite(mt.y)&&((0,N.DR)(C,mt),(0,k.Ww)(C,{newSize:{width:mt.width,height:mt.height}}),ue&&ge!=null&&(0,N.DR)(ue,{fontSize:ge.fontSize,baseline:ge.baseline}),(0,J.RB)(C,L,u))},r=function(l,u,C,L,_,E){var D,F=u.reduce(function(pt,ht){var yt=l.originalElements.get(ht.id);return yt&&pt.push({orig:yt,latest:ht}),pt},[]),ee=F.reduce(function(pt,ht){var yt,Ct=ht.orig;if(!(0,Z.bt)(Ct))return pt;var Bt=(0,J.xB)(Ct);if(!Bt)return pt;var zt=(yt=l.originalElements.get(Bt))!==null&&yt!==void 0?yt:null;if(!(0,Z.Xh)(zt))return pt;var tr=ce._.getBoundTextElementPosition(Ct,zt);return[].concat((0,w.Z)(pt),[U(U({},zt),tr)])},[]),te=(0,f.v2)(F.map(function(pt){return pt.orig}).concat(ee)),re=te.minX,oe=te.minY,Y=te.maxX,V=te.maxY,ie=te.midX,we=te.midY,Ae=C,Re=L?[ie,we]:{ne:[re,V],se:[re,oe],sw:[Y,oe],nw:[Y,V]}[Ae],je=(0,v.Z)(Re,2),ye=je[0],Ee=je[1],Oe=Math.max(Math.abs(_-ye)/(Y-re)||0,Math.abs(E-Ee)/(V-oe)||0)*(L?2:1);if(Oe!==0){var ge,ue={ne:[_>=ye,E<=Ee],se:[_>=ye,E>=Ee],sw:[_<=ye,E>=Ee],nw:[_<=ye,E<=Ee]}[Ae].map(function(pt){return pt?1:-1}),se=(0,v.Z)(ue,2),j=se[0],i=se[1],s=j<0,O=i<0,z=[],K=ve(F);try{for(K.s();!(ge=K.n()).done;){var $,Q=ge.value,ae=Q.orig,be=Q.latest;if(!(0,Z.iB)(ae)||!(0,Z.Xh)(ae)){var Ce=ae.width*Oe,Ze=ae.height*Oe,Be=H(ae.angle*j*i),Te=(0,Z.bt)(ae)||(0,Z.F9)(ae),He=ae.x-ye,Ve=ae.y-Ee,Je=ye+j*(He*Oe+(s&&!Te?Ce:0)),Me=Ee+i*(Ve*Oe+(O&&!Te?Ze:0)),me=b(ae,Ce*j,Ze*i,!1),Se=U({x:Je,y:Me,width:Ce,height:Ze,angle:Be},me);if((0,Z.pC)(ae)&&F.length===1&&(Se.scale=[ae.scale[0]*j,ae.scale[1]*i]),(0,Z.bt)(ae)&&(s||O)&&function(){var pt=(0,f.Ut)(ae,ae.points),ht=(0,f.Ut)(U(U({},ae),{},{x:Je,y:Me}),me.points),yt=[ae.x,ae.y],Ct=[Je,Me],Bt=function(zt){var tr=zt==="x"?0:1;return(ht[tr+2]-Ct[tr]-(yt[tr]-pt[tr])*Oe+(pt[tr+2]-yt[tr])*Oe-(Ct[tr]-ht[tr]))/2};s&&(Se.x-=Bt("x")),O&&(Se.y-=Bt("y"))}(),(0,Z.iB)(ae)){var Ne=y(ae,Ce,Ze);if(!Ne)return;Se.fontSize=Ne.size,Se.baseline=Ne.baseline}var Ye=l.originalElements.get(($=(0,J.xB)(ae))!==null&&$!==void 0?$:"");if(Ye){var Qe=Ye.fontSize*Oe;if(Qe<I.CP)return;Se.boundTextFontSize=Qe}z.push({element:be,update:Se})}}}catch(pt){K.e(pt)}finally{K.f()}for(var rt=z.map(function(pt){return pt.element}),ft=0,at=z;ft<at.length;ft++){var ut=at[ft],Ot=ut.element,Pt=ut.update,Et=Pt.boundTextFontSize,Mt=(0,P.Z)(Pt,he),Yt=Mt.width,lt=Mt.height,ot=Mt.angle;(0,N.DR)(Ot,Mt,!1),(0,k.Ww)(Ot,{simultaneouslyUpdated:rt,newSize:{width:Yt,height:lt}});var mt=(0,J.WJ)(Ot);mt&&Et&&((0,N.DR)(mt,{fontSize:Et,angle:(0,Z.bt)(Ot)?void 0:ot},!1),(0,J.RB)(Ot,C,!0))}(D=S.Z.getScene(z[0].element))===null||D===void 0||D.informMutation()}},n=function(l,u,C,L,_,E,D){var F,ee=5*Math.PI/2+Math.atan2(L-D,C-E);_&&(ee+=I.ay/2,ee-=ee%I.ay),u.filter(function(te){return te.type!=="frame"}).forEach(function(te){var re,oe,Y=(0,f.qf)(te),V=(0,v.Z)(Y,4),ie=V[0],we=V[1],Ae=(ie+V[2])/2,Re=(we+V[3])/2,je=(re=(oe=l.originalElements.get(te.id))===null||oe===void 0?void 0:oe.angle)!==null&&re!==void 0?re:te.angle,ye=(0,c.U1)(Ae,Re,E,D,ee+je-te.angle),Ee=(0,v.Z)(ye,2),Oe=Ee[0],ge=Ee[1];(0,N.DR)(te,{x:te.x+(Oe-Ae),y:te.y+(ge-Re),angle:H(ee+je)},!1),(0,k.Ww)(te,{simultaneouslyUpdated:u});var ue=(0,J.WJ)(te);ue&&!(0,Z.Yv)(te)&&(0,N.DR)(ue,{x:ue.x+(Oe-Ae),y:ue.y+(ge-Re),angle:H(ee+je)},!1)}),(F=S.Z.getScene(u[0]))===null||F===void 0||F.informMutation()},p=function(l,u,C,L){var _=u.length===1?(0,f.qf)(u[0]):(0,f.KP)(u),E=(0,v.Z)(_,4),D=E[0],F=E[1],ee=E[2],te=E[3],re=(D+ee)/2,oe=(F+te)/2,Y=u.length===1?u[0].angle:0,V=(0,c.U1)(C,L,re,oe,-Y),ie=(0,v.Z)(V,2);switch(C=ie[0],L=ie[1],l){case"n":return(0,c.U1)(C-(D+ee)/2,L-F,0,0,Y);case"s":return(0,c.U1)(C-(D+ee)/2,L-te,0,0,Y);case"w":return(0,c.U1)(C-D,L-(F+te)/2,0,0,Y);case"e":return(0,c.U1)(C-ee,L-(F+te)/2,0,0,Y);case"nw":return(0,c.U1)(C-D,L-F,0,0,Y);case"ne":return(0,c.U1)(C-ee,L-F,0,0,Y);case"sw":return(0,c.U1)(C-D,L-te,0,0,Y);case"se":return(0,c.U1)(C-ee,L-te,0,0,Y);default:return[0,0]}},a=function(l,u){var C=(0,v.Z)(u.points,2),L=(0,v.Z)(C[1],2),_=L[0],E=L[1];return l==="nw"&&(_<0||E<0)||l==="ne"&&_>=0||l==="sw"&&_<=0||l==="se"&&(_>0||E>0)?"end":"origin"}},7935:function(fe,t,e){e.d(t,{PZ:function(){return c},QD:function(){return x},Qp:function(){return N},o4:function(){return Z},uK:function(){return f}});var P=e(2577),w=(e(583),e(4183)),m=e(9937),v=e(4949),I=e(9827),x=function(W){return(0,w.bt)(W)||(0,w.F9)(W)?W.points.length<2:W.width===0&&W.height===0},c=function(W,k,S,J){var ce=(0,v.Pi)(W),he=(0,P.Z)(ce,4),ve=he[0],le=he[1],G=he[2],U=he[3],H=(0,I.dE)({clientX:J.offsetLeft,clientY:J.offsetTop},J),M=(0,I.dE)({clientX:J.offsetLeft+k,clientY:J.offsetTop+S},J);return H.x<=G&&H.y<=U&&M.x>=ve&&M.y>=le},f=function(W,k,S){var J=Math.abs(k),ce=Math.abs(S);if(W==="line"||W==="arrow"||W==="freedraw"){var he=Math.round(Math.atan(ce/J)/m.ay)*m.ay;he===0?S=0:he===Math.PI/2?k=0:S=J*Math.tan(he)*Math.sign(S)||S}else W!=="selection"&&(S=J*Math.sign(S));return{width:k,height:S}},Z=function(W,k,S,J){var ce=S-W,he=J-k,ve=Math.round(Math.atan(he/ce)/m.ay)*m.ay;if(ve===0)he=0;else if(ve===Math.PI/2)ce=0;else{var le=Math.tan(ve),G=k-le*W,U=-1/le,H=J-U*S;ce=(-1*H- -1*G)/(-1*le- -1*U)-W,he=(G*U-H*le)/(-1*le- -1*U)-k}return{width:ce,height:he}},N=function(W){var k={width:W.width,height:W.height,x:W.x,y:W.y};if(W.width<0){var S=Math.abs(W.width);k.width=S,k.x=W.x-S}if(W.height<0){var J=Math.abs(W.height);k.height=J,k.y=W.y-J}return k}},4761:function(fe,t,e){e.d(t,{$2:function(){return d},AT:function(){return _},D9:function(){return ye},FE:function(){return b},H_:function(){return oe},NS:function(){return Re},OW:function(){return ie},P7:function(){return M},PT:function(){return ge},R8:function(){return h},RB:function(){return A},Rg:function(){return r},TP:function(){return te},WJ:function(){return F},X1:function(){return y},Zr:function(){return Ae},aV:function(){return V},bG:function(){return G},cn:function(){return Y},cw:function(){return re},eB:function(){return Ee},iZ:function(){return je},lD:function(){return u},mY:function(){return a},oN:function(){return H},tl:function(){return ee},w_:function(){return n},xB:function(){return D}});var P,w=e(2577),m=e(1930),v=e(7169),I=e(9827),x=e(583),c=e(9937),f=e(457),Z=e(7651),N=e(4183),W=e(7422),k=e(4105),S=e(3528),J=e(3474);function ce(ue,se){var j=Object.keys(ue);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(ue);se&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(ue,s).enumerable})),j.push.apply(j,i)}return j}function he(ue){for(var se=1;se<arguments.length;se++){var j=arguments[se]!=null?arguments[se]:{};se%2?ce(Object(j),!0).forEach(function(i){(0,v.Z)(ue,i,j[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ue,Object.getOwnPropertyDescriptors(j)):ce(Object(j)).forEach(function(i){Object.defineProperty(ue,i,Object.getOwnPropertyDescriptor(j,i))})}return ue}var ve,le,G=function(ue){return ue.replace(/\t/g," ").replace(/\r?\n|\r/g,` +`)},U=function(ue){return G(ue).split(` +`)},H=function(ue,se){var j=void 0,i={x:ue.x,y:ue.y,text:ue.text,width:ue.width,height:ue.height,baseline:ue.baseline};i.text=ue.text,se&&(j=je(se,ue),i.text=u(ue.originalText,(0,I.mO)(ue),j));var s=y(i.text,(0,I.mO)(ue),ue.lineHeight);if(i.width=s.width,i.height=s.height,i.baseline=s.baseline,se){var O=ye(se,ue),z=je(se);if(!(0,N.Yv)(se)&&s.height>O){var K=Re(s.height,se.type);(0,x.DR)(se,{height:K}),(0,J.h_)(se.id,K)}if(s.width>z){var $=Re(s.width,se.type);(0,x.DR)(se,{width:$})}var Q=he(he({},ue),i),ae=b(se,Q),be=ae.x,Ce=ae.y;i.x=be,i.y=Ce}(0,x.DR)(ue,i)},M=function(ue,se,j){var i=(0,I.xn)(ue);se.forEach(function(s){var O=j.get(s.id),z=D(s);if(z){var K=j.get(z);if(K){var $=i.get(O);$&&(0,x.DR)($,{boundElements:(s.boundElements||[]).filter(function(ae){return ae.id!==K&&ae.id!==z}).concat({type:"text",id:K})});var Q=i.get(K);Q&&(0,Z.iB)(Q)&&(0,x.DR)(Q,{containerId:$?O:null})}}})},A=function(ue,se){var j=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=D(ue);if(i){(0,J.kT)(ue.id);var s=f.Z.getScene(ue).getElement(i);if(s&&s.text){if(!ue)return;var O=(s=f.Z.getScene(ue).getElement(i)).text,z=s.height,K=s.width,$=je(ue),Q=ye(ue,s),ae=ue.height,be=s.baseline;if(j||se!=="n"&&se!=="s"){O&&(O=u(s.originalText,(0,I.mO)(s),$));var Ce=y(O,(0,I.mO)(s),s.lineHeight);z=Ce.height,K=Ce.width,be=Ce.baseline}if(z>Q){var Ze=(ae=Re(z,ue.type))-ue.height,Be=(0,N.Yv)(ue)||se!=="ne"&&se!=="nw"&&se!=="n"?ue.y:ue.y-Ze;(0,x.DR)(ue,{height:ae,y:Be})}(0,x.DR)(s,{text:O,width:K,height:z,baseline:be}),(0,N.Yv)(ue)||(0,x.DR)(s,b(ue,s))}}},b=function(ue,se){if((0,N.Yv)(ue))return W._.getBoundTextElementPosition(ue,se);var j,i=re(ue),s=ye(ue,se),O=je(ue);return j=se.verticalAlign===c.oX.TOP?i.y:se.verticalAlign===c.oX.BOTTOM?i.y+(s-se.height):i.y+(s/2-se.height/2),{x:se.textAlign===c.I8.LEFT?i.x:se.textAlign===c.I8.RIGHT?i.x+(O-se.width):i.x+(O/2-se.width/2),y:j}},y=function(ue,se,j){ue=ue.split(` +`).map(function(O){return O||" "}).join(` +`);var i=parseFloat(se),s=l(ue,i,j);return{width:a(ue,se),height:s,baseline:h(ue,se,j)}},h=function(ue,se,j,i){var s=document.createElement("div");s.style.position="absolute",s.style.whiteSpace="pre",s.style.font=se,s.style.minHeight="1em",i&&(s.style.overflow="hidden",s.style.wordBreak="break-word",s.style.whiteSpace="pre-wrap"),s.style.lineHeight=String(j),s.innerText=ue,document.body.appendChild(s);var O=document.createElement("span");O.style.display="inline-block",O.style.overflow="hidden",O.style.width="1px",O.style.height="1px",s.appendChild(O);var z=O.offsetTop+O.offsetHeight,K=s.offsetHeight;if(c.G6){var $=l(ue,parseFloat(se),j),Q=parseFloat(se),ae=l(ue,Math.round(Q),j);$>K&&(z+=$-ae),K>$&&(z-=ae-$)}return document.body.removeChild(s),z},d=function(ue){var se=U(ue.text).length;return ue.height/se/ue.fontSize},r=function(ue,se){return ue*se},n=function(ue,se){return r(ue,se)+2*c.gK},p=function(ue,se){ve||(ve=document.createElement("canvas"));var j=ve.getContext("2d");j.font=se;var i=j.measureText(ue).width;return(0,I.h2)()?10*i:i},a=function(ue,se){var j=U(ue),i=0;return j.forEach(function(s){i=Math.max(i,p(s,se))}),i},l=function(ue,se,j){var i=U(ue).length;return r(se,j)*i},u=function(ue,se,j){if(!Number.isFinite(j)||j<0)return ue;var i=[],s=ue.split(` +`),O=p(" ",se),z="",K=0,$=function(ae){ae.trim()&&i.push(ae)},Q=function(){z="",K=0};return s.forEach(function(ae){if(a(ae,se)<=j)i.push(ae);else{var be=function(Je){var Me=Je.split("-");return Me.length>1&&Me.forEach(function(me,Se){Se!==Me.length-1&&(Me[Se]=me+="-")}),Me.join(" ").split(" ")}(ae);Q();for(var Ce=0;Ce<be.length;){var Ze=p(be[Ce],se);if(Ze===j)$(be[Ce]),Ce++;else if(Ze>j){for($(z),Q();be[Ce].length>0;){var Be=String.fromCodePoint(be[Ce].codePointAt(0)),Te=C.calculate(Be,se);K+=Te,be[Ce]=be[Ce].slice(Be.length),K>=j?($(z),z=Be,K=Te):z+=Be}K+O>=j?($(z),Q()):z.endsWith("-")||(z+=" ",K+=O),Ce++}else for(;K<j&&Ce<be.length;){var He=be[Ce];if((K=p(z+He,se))>j){$(z),Q();break}Ce++;var Ve=!He.endsWith("-");if(z+=He,Ve&&(z+=" "),K+O>=j){Ve?i.push(z.slice(0,-1)):i.push(z),Q();break}}}z.slice(-1)===" "&&(z=z.slice(0,-1),$(z))}}),i.join(` +`)},C=(le={},{calculate:function(ue,se){var j=ue.charCodeAt(0);if(le[se]||(le[se]=[]),!le[se][j]){var i=p(ue,se);le[se][j]=i}return le[se][j]},getCache:function(ue){return le[ue]}}),L="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".toLocaleUpperCase(),_=function(ue,se){var j=E(ue);return j===0?y(L.split("").join(` +`),ue,se).width+2*c.gK:j+2*c.gK},E=function(ue){var se=C.getCache(ue);if(!se)return 0;var j=se.filter(function(i){return i!==void 0});return Math.max.apply(Math,(0,m.Z)(j))},D=function(ue){var se,j,i;return ue!=null&&(se=ue.boundElements)!==null&&se!==void 0&&se.length&&(ue==null||(j=ue.boundElements)===null||j===void 0||(i=j.filter(function(s){return s.type==="text"})[0])===null||i===void 0?void 0:i.id)||null},F=function(ue){if(!ue)return null;var se,j=D(ue);return j&&((se=f.Z.getScene(ue))===null||se===void 0?void 0:se.getElement(j))||null},ee=function(ue){return ue&&ue.containerId&&((se=f.Z.getScene(ue))===null||se===void 0?void 0:se.getElement(ue.containerId))||null;var se},te=function(ue,se){if(!(0,N.Yv)(ue))return{x:ue.x+ue.width/2,y:ue.y+ue.height/2};var j=W._.getPointsGlobalCoordinates(ue);if(j.length%2==1){var i=Math.floor(ue.points.length/2),s=W._.getPointGlobalCoordinates(ue,ue.points[i]);return{x:s[0],y:s[1]}}var O=ue.points.length/2-1,z=W._.getEditorMidPoints(ue,se)[O];return z||(z=W._.getSegmentMidPoint(ue,j[O],j[O+1],O+1)),{x:z[0],y:z[1]}},re=function(ue){var se=c.gK,j=c.gK;return ue.type==="ellipse"&&(se+=ue.width/2*(1-Math.sqrt(2)/2),j+=ue.height/2*(1-Math.sqrt(2)/2)),ue.type==="diamond"&&(se+=ue.width/4,j+=ue.height/4),{x:ue.x+se,y:ue.y+j}},oe=function(ue){var se=ee(ue);return!se||(0,N.Yv)(se)?ue.angle:se.angle},Y=function(ue){return ue.some(function(se){if((0,N.Xh)(se)){var j=ee(se);return!(0,Z.iB)(se)||!(0,N.Yv)(j)}return!1})},V=function(ue){return ue.some(function(se){if((0,N.Xh)(se)){var j=ee(se);return!(0,Z.iB)(se)||!(0,N.Yv)(j)}return(0,Z.iB)(se)})},ie=function(ue,se,j,i){var s=(0,k.eD)(ue,se);if(s.length===1)return(0,N.mG)(s[0],!1)?s[0]:null;for(var O=null,z=ue.length-1;z>=0;--z)if(!ue[z].isDeleted){var K=(0,Z.qf)(ue[z]),$=(0,w.Z)(K,4),Q=$[0],ae=$[1],be=$[2],Ce=$[3];if((0,N.Yv)(ue[z])&&(0,S.Qu)(ue[z],se,null,[j,i])){O=ue[z];break}if(Q<j&&j<be&&ae<i&&i<Ce){O=ue[z];break}}return(0,N.mG)(O,!1)?O:null},we=new Set(["rectangle","ellipse","diamond","arrow"]),Ae=function(ue){return we.has(ue.type)},Re=function(ue,se){ue=Math.ceil(ue);var j=2*c.gK;return se==="ellipse"?Math.round((ue+j)/Math.sqrt(2)*2):se==="arrow"?ue+8*j:se==="diamond"?2*(ue+j):ue+j},je=function(ue){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:F(ue),j=ue.width;if((0,N.Yv)(ue)){var i,s=((i=se?.fontSize)!==null&&i!==void 0?i:c.n5)*c.vL;return Math.max(c.bY*j,s)}return ue.type==="ellipse"?Math.round(j/2*Math.sqrt(2))-2*c.gK:ue.type==="diamond"?Math.round(j/2)-2*c.gK:j-2*c.gK},ye=function(ue,se){var j=ue.height;return(0,N.Yv)(ue)?j-8*c.gK*2<=0?se.height:j:ue.type==="ellipse"?Math.round(j/2*Math.sqrt(2))-2*c.gK:ue.type==="diamond"?Math.round(j/2)-2*c.gK:j-2*c.gK},Ee=function(){return a(L,(0,I.mO)({fontSize:c.n5,fontFamily:c.rk}))>0},Oe=(P={},(0,v.Z)(P,c.ut.Virgil,1.25),(0,v.Z)(P,c.ut.Helvetica,1.15),(0,v.Z)(P,c.ut.Cascadia,1.2),P),ge=function(ue){return ue in Oe?Oe[ue]:Oe[c.rk]}},3474:function(fe,t,e){e.d(t,{b_:function(){return b},eR:function(){return A},h_:function(){return H},kT:function(){return M}});var P=e(8950),w=e(7169),m=e(2577),v=e(2975),I=e.n(v),x=e(5491),c=e(9827),f=e(457),Z=e(4183),N=e(9937),W=e(583),k=e(4761),S=e(3361),J=e(6006),ce=e(7422),he=e(4694);function ve(y,h){var d=Object.keys(y);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(y);h&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(y,n).enumerable})),d.push.apply(d,r)}return d}function le(y){for(var h=1;h<arguments.length;h++){var d=arguments[h]!=null?arguments[h]:{};h%2?ve(Object(d),!0).forEach(function(r){(0,w.Z)(y,r,d[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(d)):ve(Object(d)).forEach(function(r){Object.defineProperty(y,r,Object.getOwnPropertyDescriptor(d,r))})}return y}var G=function(y,h,d,r,n,p){var a=r.zoom,l=180*d/Math.PI,u=y*(a.value-1)/2,C=h*(a.value-1)/2;return y>n&&a.value!==1&&(u=n*(a.value-1)/2),h>p&&a.value!==1&&(C=p*(a.value-1)/2),"translate(".concat(u,"px, ").concat(C,"px) scale(").concat(a.value,") rotate(").concat(l,"deg)")},U={},H=function(y,h){var d=U[y]||(U[y]={height:h});return d.height=h,d},M=function(y){U[y]&&delete U[y]},A=function(y){var h,d;return(h=(d=U[y])===null||d===void 0?void 0:d.height)!==null&&h!==void 0?h:null},b=function(y){var h=y.id,d=y.onChange,r=y.onSubmit,n=y.getViewportCoords,p=y.element,a=y.canvas,l=y.excalidrawContainer,u=y.app,C=function(){var Ee,Oe=u.state,ge=(Ee=f.Z.getScene(p))===null||Ee===void 0?void 0:Ee.getElement(h);if(ge){var ue=ge.textAlign,se=ge.verticalAlign;if(ge&&(0,Z.iB)(ge)){var j=ge.x,i=ge.y,s=(0,k.tl)(ge),O=ge.width,z=ge.height,K=ge.width,$=ge.height;if(s&&ge.containerId){if((0,Z.Yv)(s)){var Q=ce._.getBoundTextElementPosition(s,ge);j=Q.x,i=Q.y}var ae,be=function(Qe,rt){if(!rt.style.fontFamily||!rt.style.fontSize)return!1;var ft=rt.style.fontFamily.replace(/"/g,"");return(0,c.$g)({fontFamily:Qe.fontFamily})!==ft||"".concat(Qe.fontSize,"px")!==rt.style.fontSize}(ge,L);if(be?ae=H(s.id,s.height):(ae=U[s.id])||(ae=H(s.id,s.height)),O=(0,k.iZ)(s),z=(0,k.D9)(s,ge),!(0,Z.Yv)(s)&&$>z){var Ce=(0,k.NS)($,s.type);return void(0,W.DR)(s,{height:Ce})}if(!(0,Z.Yv)(s)&&s.height>ae.height&&$<z){var Ze=(0,k.NS)($,s.type);(0,W.DR)(s,{height:Ze})}else i=(0,k.FE)(s,ge).y}var Be=n(j,i),Te=(0,m.Z)(Be,2),He=Te[0],Ve=Te[1],Je=L.selectionStart,Me=L.selectionEnd,me=L.value.length;if(Je===Me&&Me!==me){var Se=me-Me;L.selectionStart=L.value.length-Se,L.selectionEnd=L.value.length-Se}s?K+=.5:(O=(Oe.width-8-He)/Oe.zoom.value,K=Math.min(K,O));var Ne=ge.lineHeight;N.G6&&(Ne=(0,k.$2)(le(le({},ge),{},{fontSize:Math.round(ge.fontSize)})));var Ye=(Oe.height-Ve)/Oe.zoom.value;Object.assign(L.style,{font:(0,c.mO)(ge),lineHeight:Ne,width:"".concat(K,"px"),height:"".concat($,"px"),left:"".concat(He,"px"),top:"".concat(Ve,"px"),transform:G(K,$,(0,k.H_)(ge),Oe,O,Ye),textAlign:ue,verticalAlign:se,color:ge.strokeColor,opacity:ge.opacity/100,filter:"var(--theme-filter)",maxHeight:"".concat(Ye,"px")}),L.scrollTop=0,(0,c.h2)()&&(L.style.fontFamily=(0,c.$g)(ge)),(0,W.DR)(ge,{x:j,y:i})}}},L=document.createElement("textarea");L.dir="auto",L.tabIndex=0,L.dataset.type="wysiwyg",L.wrap="off",L.classList.add("excalidraw-wysiwyg");var _="pre",E="normal";(0,Z.Xh)(p)&&(_="pre-wrap",E="break-word"),Object.assign(L.style,{position:"absolute",display:"inline-block",minHeight:"1em",backfaceVisibility:"hidden",margin:0,padding:0,border:0,outline:0,resize:"none",background:"transparent",overflow:"hidden",zIndex:"var(--zIndex-wysiwyg)",wordBreak:E,whiteSpace:_,overflowWrap:"break-word",boxSizing:"content-box"}),L.value=p.originalText,C(),d&&(L.onpaste=function(){var Ee=(0,P.Z)(I().mark(function Oe(ge){var ue,se,j,i,s,O;return I().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.next=2,(0,he.mQ)(ge,!0);case 2:if((ue=z.sent).text){z.next=5;break}return z.abrupt("return");case 5:if(se=(0,k.bG)(ue.text)){z.next=8;break}return z.abrupt("return");case 8:j=(0,k.tl)(p),i=(0,c.mO)({fontSize:u.state.currentItemFontSize,fontFamily:u.state.currentItemFontFamily}),j&&(s=(0,k.lD)("".concat(L.value).concat(se),i,(0,k.iZ)(j)),O=(0,k.mY)(s,i),L.style.width="".concat(O,"px"));case 11:case"end":return z.stop()}},Oe)}));return function(Oe){return Ee.apply(this,arguments)}}(),L.oninput=function(){d((0,k.bG)(L.value))}),L.onkeydown=function(Ee){if(!Ee.shiftKey&&J.Lo.keyTest(Ee))Ee.preventDefault(),u.actionManager.executeAction(J.Lo),C();else if(!Ee.shiftKey&&J.CZ.keyTest(Ee))Ee.preventDefault(),u.actionManager.executeAction(J.CZ),C();else if(S.Tu.keyTest(Ee))u.actionManager.executeAction(S.Tu);else if(S.Zq.keyTest(Ee))u.actionManager.executeAction(S.Zq);else if(Ee.key===x.tW.ESCAPE)Ee.preventDefault(),Y=!0,V();else if(Ee.key===x.tW.ENTER&&Ee[x.tW.CTRL_OR_CMD]){if(Ee.preventDefault(),Ee.isComposing||Ee.keyCode===229)return;Y=!0,V()}else if(Ee.key===x.tW.TAB||Ee[x.tW.CTRL_OR_CMD]&&(Ee.code===x.aU.BRACKET_LEFT||Ee.code===x.aU.BRACKET_RIGHT)){if(Ee.preventDefault(),Ee.isComposing)return;Ee.shiftKey||Ee.code===x.aU.BRACKET_LEFT?te():ee(),L.dispatchEvent(new Event("input"))}};var D=" ".repeat(4),F=new RegExp("^ {1,".concat(4,"}")),ee=function(){var Ee=L.selectionStart,Oe=L.selectionEnd,ge=re(),ue=L.value;ge.forEach(function(se){var j=ue.slice(0,se),i=ue.slice(se);ue="".concat(j).concat(D).concat(i)}),L.value=ue,L.selectionStart=Ee+4,L.selectionEnd=Oe+4*ge.length},te=function(){var Ee=L.selectionStart,Oe=L.selectionEnd,ge=re(),ue=[],se=L.value;ge.forEach(function(j){var i=se.slice(j,j+4).match(F);if(i){var s=se.slice(0,j),O=se.slice(j+i[0].length);se="".concat(s).concat(O),ue.push(j)}}),L.value=se,ue.length&&(Ee>ue[ue.length-1]?L.selectionStart=Math.max(Ee-4,ue[ue.length-1]):L.selectionStart=Ee,L.selectionEnd=Math.max(L.selectionStart,Oe-4*ue.length))},re=function(){var Ee=L.selectionStart,Oe=L.selectionEnd,ge=L.value,ue=ge.slice(0,Ee).match(/[^\n]*$/)[0].length;return Ee-=ue,ge.slice(Ee,Oe).split(` +`).reduce(function(se,j,i,s){return se.concat(i?se[i-1]+s[i-1].length+1:Ee)},[]).reverse()},oe=function(Ee){Ee.preventDefault(),Ee.stopPropagation()},Y=!1,V=function(){var Ee;ie();var Oe=(Ee=f.Z.getScene(p))===null||Ee===void 0?void 0:Ee.getElement(p.id);if(Oe){var ge=L.value,ue=(0,k.tl)(Oe);if(ue){if(ge=Oe.text,L.value.trim()){var se=(0,k.xB)(ue);se&&se===p.id?(0,Z.Yv)(ue)&&(0,W.ZP)(ue):(0,W.DR)(ue,{boundElements:(ue.boundElements||[]).concat({type:"text",id:p.id})})}else{var j;(0,W.DR)(ue,{boundElements:(j=ue.boundElements)===null||j===void 0?void 0:j.filter(function(i){return!(0,Z.iB)(i)})})}(0,k.oN)(Oe,ue)}r({text:ge,viaKeyboard:Y,originalText:L.value})}},ie=function(){je||(je=!0,L.onblur=null,L.oninput=null,L.onkeydown=null,ye&&ye.disconnect(),window.removeEventListener("resize",C),window.removeEventListener("wheel",oe,!0),window.removeEventListener("pointerdown",Ae),window.removeEventListener("pointerup",we),window.removeEventListener("blur",V),window.removeEventListener("beforeunload",V),Re(),L.remove())},we=function Ee(Oe){window.removeEventListener("pointerup",Ee);var ge=Oe?.target,ue=ge instanceof HTMLElement&&ge.classList.contains("active-color");setTimeout(function(){if(L.onblur=V,ue){var se=new MutationObserver(function(j,i){j.find(function(s){var O;return s.removedNodes.length>0&&((O=s.removedNodes[0].dataset)===null||O===void 0?void 0:O.radixPopperContentWrapper)!==void 0})&&(setTimeout(function(){L.focus()}),i.disconnect())});se.observe(document.querySelector(".excalidraw-container"),{childList:!0})}ue||L.focus()})},Ae=function(Ee){var Oe=Ee.target instanceof HTMLElement&&Ee.target.classList.contains("active-color");((Ee.target instanceof HTMLElement||Ee.target instanceof SVGElement)&&Ee.target.closest(".".concat(N.$C.SHAPE_ACTIONS_MENU))&&!(0,c.s)(Ee.target)||Oe)&&(L.onblur=null,window.addEventListener("pointerup",we),window.addEventListener("blur",V))},Re=f.Z.getScene(p).addCallback(function(){var Ee;C(),!((Ee=document.activeElement)===null||Ee===void 0||!Ee.closest(".color-picker-content"))||L.focus()}),je=!1;L.select(),we();var ye=null;a&&"ResizeObserver"in window?(ye=new window.ResizeObserver(function(){C()})).observe(a):window.addEventListener("resize",C),window.addEventListener("pointerdown",Ae),window.addEventListener("wheel",oe,{passive:!1,capture:!0}),window.addEventListener("beforeunload",V),l?.querySelector(".excalidraw-textEditorContainer").appendChild(L)}},4048:function(fe,t,e){e.d(t,{Fn:function(){return Z},PC:function(){return ce},kK:function(){return J},oY:function(){return he},ox:function(){return f}});var P=e(2577),w=e(4949),m=e(2361),v=e(7651),I=e(4183),x=e(7766),c={mouse:8,pen:16,touch:28},f={e:!0,s:!0,n:!0,w:!0},Z={e:!0,s:!0,n:!0,w:!0,rotation:!0},N={e:!0,s:!0,n:!0,w:!0},W={e:!0,s:!0,n:!0,w:!0,nw:!0,se:!0},k={e:!0,s:!0,n:!0,w:!0},S=function(ve,le,G,U,H,M,A){var b=(0,m.U1)(ve+G/2,le+U/2,H,M,A),y=(0,P.Z)(b,2);return[y[0]-G/2,y[1]-U/2,G,U]},J=function(ve,le,G,U){var H=(0,P.Z)(ve,6),M=H[0],A=H[1],b=H[2],y=H[3],h=H[4],d=H[5],r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:4,p=c[U],a=p/G.value,l=p/G.value,u=p/G.value,C=p/G.value,L=b-M,_=y-A,E=n/G.value,D=(p-2*x.Lu)/(2*G.value),F={nw:r.nw?void 0:S(M-E-u+D,A-E-C+D,a,l,h,d,le),ne:r.ne?void 0:S(b+E-D,A-E-C+D,a,l,h,d,le),sw:r.sw?void 0:S(M-E-u+D,y+E-D,a,l,h,d,le),se:r.se?void 0:S(b+E-D,y+E-D,a,l,h,d,le),rotation:r.rotation?void 0:S(M+L/2-a/2,A-E-C+D-16/G.value,a,l,h,d,le)},ee=5*c.mouse/G.value;return Math.abs(L)>ee&&(r.n||(F.n=S(M+L/2-a/2,A-E-C+D,a,l,h,d,le)),r.s||(F.s=S(M+L/2-a/2,y+E-D,a,l,h,d,le))),Math.abs(_)>ee&&(r.w||(F.w=S(M-E-u+D,A+_/2-l/2,a,l,h,d,le)),r.e||(F.e=S(b+E-D,A+_/2-l/2,a,l,h,d,le))),F},ce=function(ve,le){var G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"mouse";if(ve.locked)return{};var U={};if(ve.type==="freedraw"||(0,I.bt)(ve)){if(ve.points.length===2){var H=(0,P.Z)(ve.points,2),M=H[1];M[0]===0||M[1]===0?U=k:M[0]>0&&M[1]<0?U=W:M[0]>0&&M[1]>0?U=k:M[0]<0&&M[1]>0?U=W:M[0]<0&&M[1]<0&&(U=k)}}else(0,v.iB)(ve)?U=N:(0,I.He)(ve)&&(U={rotation:!0});var A=(0,I.bt)(ve)?x.Lu+8:x.Lu;return J((0,w.qf)(ve,!0),ve.angle,le,G,U,A)},he=function(ve,le){if(le.editingLinearElement)return!1;if(ve.length>1)return!0;var G=ve[0];return!(0,I.bt)(G)||G.points.length>2}},4183:function(fe,t,e){e.d(t,{F9:function(){return f},He:function(){return c},Lx:function(){return J},Mn:function(){return S},QI:function(){return U},UQ:function(){return A},Xh:function(){return G},Xo:function(){return le},Yv:function(){return W},bt:function(){return N},dt:function(){return k},eK:function(){return M},f0:function(){return ce},gs:function(){return I},iB:function(){return x},mG:function(){return he},pC:function(){return v},r2:function(){return ve},wi:function(){return m}});var P=e(9937),w=e(9827),m=function(b){return!!b&&b.type==="image"&&!!b.fileId},v=function(b){return!!b&&b.type==="image"},I=function(b){return!!b&&b.type==="embeddable"},x=function(b){return b!=null&&b.type==="text"},c=function(b){return b!=null&&b.type==="frame"},f=function(b){return b!=null&&Z(b.type)},Z=function(b){return b==="freedraw"},N=function(b){return b!=null&&k(b.type)},W=function(b){return b!=null&&b.type==="arrow"},k=function(b){return b==="arrow"||b==="line"},S=function(b){var y=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return b!=null&&(!b.locked||y===!0)&&J(b.type)},J=function(b){return b==="arrow"},ce=function(b){var y=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return!(b==null||b.locked&&y!==!0||b.type!=="rectangle"&&b.type!=="diamond"&&b.type!=="ellipse"&&b.type!=="image"&&b.type!=="embeddable"&&b.type!=="frame"&&(b.type!=="text"||b.containerId))},he=function(b){var y=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return b!=null&&(!b.locked||y===!0)&&(b.type==="rectangle"||b.type==="diamond"||b.type==="ellipse"||W(b))},ve=function(b){var y=b?.type;if(!y)return!1;switch(y){case"text":case"diamond":case"rectangle":case"embeddable":case"ellipse":case"arrow":case"freedraw":case"line":case"frame":case"image":case"selection":return!0;default:return(0,w.vE)(y,null),!1}},le=function(b){var y;return he(b)&&!((y=b.boundElements)===null||y===void 0||!y.some(function(h){return h.type==="text"}))},G=function(b){return b!==null&&"containerId"in b&&b.containerId!==null&&x(b)},U=function(b){return b==="rectangle"||b==="embeddable"},H=function(b){return b==="line"||b==="arrow"||b==="diamond"},M=function(b,y){return!(b!==P.a6.ADAPTIVE_RADIUS&&b!==P.a6.LEGACY||!U(y.type))||!(b!==P.a6.PROPORTIONAL_RADIUS||!H(y.type))},A=function(b){return H(b.type)?{type:P.a6.PROPORTIONAL_RADIUS}:U(b.type)?{type:P.a6.ADAPTIVE_RADIUS}:null}},3506:function(fe,t,e){e.d(t,{_L:function(){return k},lp:function(){return W},jk:function(){return S}});var P=e(5169),w=e(8821),m=e(2248),v=e(7245),I=e(2312),x=e(5901);function c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function f(J,ce,he){return f=c()?Reflect.construct.bind():function(ve,le,G){var U=[null];U.push.apply(U,le);var H=new(Function.bind.apply(ve,U));return G&&(0,x.Z)(H,G.prototype),H},f.apply(null,arguments)}function Z(J){var ce=typeof Map=="function"?new Map:void 0;return Z=function(he){if(he===null||(ve=he,Function.toString.call(ve).indexOf("[native code]")===-1))return he;var ve;if(typeof he!="function")throw new TypeError("Super expression must either be null or a function");if(ce!==void 0){if(ce.has(he))return ce.get(he);ce.set(he,le)}function le(){return f(he,arguments,(0,I.Z)(this).constructor)}return le.prototype=Object.create(he.prototype,{constructor:{value:le,enumerable:!1,writable:!0,configurable:!0}}),(0,x.Z)(le,he)},Z(J)}function N(J){var ce=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var he,ve=(0,I.Z)(J);if(ce){var le=(0,I.Z)(this).constructor;he=Reflect.construct(ve,arguments,le)}else he=ve.apply(this,arguments);return(0,v.Z)(this,he)}}var W=function(J){(0,m.Z)(he,J);var ce=N(he);function he(){var ve,le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Couldn't export canvas.",G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"CANVAS_ERROR";return(0,w.Z)(this,he),(ve=ce.call(this)).name=G,ve.message=le,ve}return(0,P.Z)(he)}(Z(Error)),k=function(J){(0,m.Z)(he,J);var ce=N(he);function he(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Request Aborted";return(0,w.Z)(this,he),ce.call(this,ve,"AbortError")}return(0,P.Z)(he)}(Z(DOMException)),S=function(J){(0,m.Z)(he,J);var ce=N(he);function he(){var ve,le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Image Scene Data Error",G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"IMAGE_SCENE_DATA_ERROR";return(0,w.Z)(this,he),(ve=ce.call(this,le)).name="EncodingError",ve.code=G,ve}return(0,P.Z)(he)}(Z(Error))},4682:function(fe,t,e){e.d(t,{$Z:function(){return r},A_:function(){return n},Dn:function(){return H},Qs:function(){return _},SH:function(){return M},Tq:function(){return u},_h:function(){return y},cH:function(){return L},cO:function(){return U},fj:function(){return d},lz:function(){return p},ni:function(){return h},pr:function(){return l},wO:function(){return b},xr:function(){return ce},yZ:function(){return a},zD:function(){return A}});var P=e(1930),w=e(2577),m=e(7651),v=e(2361),I=e(4761),x=e(9827),c=e(583),f=e(4105),Z=e(9215),N=e(457),W=e(4949),k=e(507);function S(E,D){var F=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!F){if(Array.isArray(E)||(F=function(V,ie){if(V){if(typeof V=="string")return J(V,ie);var we=Object.prototype.toString.call(V).slice(8,-1);if(we==="Object"&&V.constructor&&(we=V.constructor.name),we==="Map"||we==="Set")return Array.from(V);if(we==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(we))return J(V,ie)}}(E))||D&&E&&typeof E.length=="number"){F&&(E=F);var ee=0,te=function(){};return{s:te,n:function(){return ee>=E.length?{done:!0}:{done:!1,value:E[ee++]}},e:function(V){throw V},f:te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var re,oe=!0,Y=!1;return{s:function(){F=F.call(E)},n:function(){var V=F.next();return oe=V.done,V},e:function(V){Y=!0,re=V},f:function(){try{oe||F.return==null||F.return()}finally{if(Y)throw re}}}}function J(E,D){(D==null||D>E.length)&&(D=E.length);for(var F=0,ee=new Array(D);F<D;F++)ee[F]=E[F];return ee}var ce=function(E,D,F){var ee,te=(0,x.xn)(E),re=S(D);try{for(re.s();!(ee=re.n()).done;){var oe=ee.value;if(oe.frameId){var Y=F.get(oe.id),V=F.get(oe.frameId);if(Y){var ie=te.get(Y);ie&&(0,c.DR)(ie,{frameId:V??oe.frameId},!1)}}}}catch(we){re.e(we)}finally{re.f()}};function he(E,D){var F=(0,W.GJ)(D),ee=(0,W.GJ)(E);return F.some(function(te){return ee.some(function(re){return(0,k.y8)(te,re)})})}var ve=function(E,D){return C((0,f.Yp)(E,D,!1)).filter(function(F){return F.type!=="frame"&&!F.frameId||F.frameId===D.id})},le=function(E,D,F){return(0,f.Yp)(E,D).some(function(ee){return ee.id===F.id})},G=function(E,D){var F=(0,m.qf)(D),ee=(0,w.Z)(F,4),te=ee[0],re=ee[1],oe=ee[2],Y=ee[3],V=(0,m.KP)(E),ie=(0,w.Z)(V,4),we=ie[0],Ae=ie[1],Re=ie[2],je=ie[3];return te<=we&&re<=Ae&&oe>=Re&&Y>=je},U=function(E,D){return G([E],D)||he(E,D)||le([D],E,D)},H=function(E,D){var F=(0,m.qf)(D),ee=(0,w.Z)(F,4),te=ee[0],re=ee[1],oe=ee[2],Y=ee[3];return(0,v.Ni)([te,re],[E.x,E.y],[oe,Y])},M=function(E){var D,F=new Map,ee=S(E);try{for(ee.s();!(D=ee.n()).done;){var te=D.value,re=(0,m.He)(te)?te.id:te.frameId;re&&!F.has(re)&&F.set(re,A(E,re))}}catch(oe){ee.e(oe)}finally{ee.f()}return F},A=function(E,D){return E.filter(function(F){return F.frameId===D})},b=function(E){return E.filter(function(D){return(0,m.He)(D)})},y=function(E){var D=(0,x.xn)(b(E));return E.filter(function(F){return D.has(F.id)||!F.frameId||!D.has(F.frameId)})},h=function(E,D,F){var ee,te=A(E,D.id),re=new Set(te),oe=new Set([].concat((0,P.Z)(ve(E,D)),(0,P.Z)(te.filter(function(Ve){return le(E,Ve,D)})))),Y=te.filter(function(Ve){return!oe.has(Ve)}),V=new Set(Array.from(oe).flatMap(function(Ve){return Ve.groupIds})),ie=S(Y);try{for(ie.s();!(ee=ie.n()).done;){var we=ee.value;if(he(we,D)){if(we.groupIds.length>0){var Ae,Re=S(we.groupIds);try{for(Re.s();!(Ae=Re.n()).done;){var je=Ae.value;V.add(je)}}catch(Ve){Re.e(Ve)}finally{Re.f()}}}else we.groupIds.length===0&&re.delete(we)}}catch(Ve){ie.e(Ve)}finally{ie.f()}var ye,Ee=S(Y);try{for(Ee.s();!(ye=Ee.n()).done;){var Oe=ye.value;if(Oe.groupIds.length>0){var ge,ue=!0,se=S(Oe.groupIds);try{for(se.s();!(ge=se.n()).done;){var j=ge.value;V.has(j)&&(ue=!1)}}catch(Ve){se.e(Ve)}finally{se.f()}ue&&re.delete(Oe)}}}catch(Ve){Ee.e(Ve)}finally{Ee.f()}var i,s=Array.from(oe).filter(function(Ve){return Ve.groupIds.length===0}),O=S(s);try{for(O.s();!(i=O.n()).done;){var z=i.value;re.add(z)}}catch(Ve){O.e(Ve)}finally{O.f()}for(var K=Array.from(oe).filter(function(Ve){return Ve.groupIds.length>0}),$=(0,Z.yR)(K,F),Q=0,ae=Object.entries($);Q<ae.length;Q++){var be=(0,w.Z)(ae[Q],2),Ce=be[0];if(be[1]){var Ze=(0,Z.Fb)(E,Ce);if(G(Ze,D)){var Be,Te=S(Ze);try{for(Te.s();!(Be=Te.n()).done;){var He=Be.value;re.add(He)}}catch(Ve){Te.e(Ve)}finally{Te.f()}}}}return(0,P.Z)(re).filter(function(Ve){return!((0,m.iB)(Ve)&&Ve.containerId)})},d=function(E,D){return C(E,ve(E,D))},r=function(E,D){var F;return E.frameId?D?D.get(E.frameId)||null:((F=N.Z.getScene(E))===null||F===void 0?void 0:F.getElement(E.frameId))||null:null},n=function(E,D,F){var ee,te=E.reduce(function(ye,Ee,Oe){return Ee.frameId===F.id&&ye.currTargetFrameChildrenMap.set(Ee.id,!0),ye},{currTargetFrameChildrenMap:new Map}),re=te.currTargetFrameChildrenMap,oe=new Set(D.map(function(ye){return ye.id})),Y=[],V=S(C(E,D));try{for(V.s();!(ee=V.n()).done;){var ie=ee.value;re.has(ie.id)||Y.push(ie);var we=(0,I.WJ)(ie);!we||oe.has(we.id)||re.has(we.id)||Y.push(we)}}catch(ye){V.e(ye)}finally{V.f()}for(var Ae=0,Re=Y;Ae<Re.length;Ae++){var je=Re[Ae];(0,c.DR)(je,{frameId:F.id},!1)}return E.slice()},p=function(E,D,F){var ee,te=new Map,re=new Map,oe=S(D);try{for(oe.s();!(ee=oe.n()).done;){var Y=ee.value;if(Y.frameId){te.set(Y.id,Y);var V=re.get(Y.frameId)||[];V.push(Y);var ie=(0,I.WJ)(Y);ie&&(te.set(ie.id,ie),V.push(ie)),re.set(Y.frameId,V)}}}catch(je){oe.e(je)}finally{oe.f()}var we,Ae=S(te);try{for(Ae.s();!(we=Ae.n()).done;){var Re=(0,w.Z)(we.value,2)[1];(0,c.DR)(Re,{frameId:null},!1)}}catch(je){Ae.e(je)}finally{Ae.f()}return E.slice()},a=function(E,D,F){var ee=A(E,D.id);return p(E,ee)},l=function(E,D,F,ee){return n(a(E,F),D,F)},u=function(E,D,F){var ee=F.scene.getSelectedElements({selectedElementIds:D.selectedElementIds,elements:E}),te=new Set(ee);if(D.editingGroupId){var re,oe=S(ee);try{for(oe.s();!(re=oe.n()).done;){var Y=re.value;Y.groupIds.length===0?te.add(Y):Y.groupIds.flatMap(function(ie){return(0,Z.Fb)(E,ie)}).forEach(function(ie){return te.add(ie)})}}catch(ie){oe.e(ie)}finally{oe.f()}}var V=new Set;return te.forEach(function(ie){!ie.frameId||(0,m.He)(ie)||_(ie,E,D)||V.add(ie)}),V.size>0?p(E,(0,P.Z)(V)):E},C=function(E,D){var F,ee=new Set,te=S(D||E);try{for(te.s();!(F=te.n()).done;){var re=F.value,oe=re.groupIds[re.groupIds.length-1];oe&&ee.add(oe)}}catch(Ae){te.e(Ae)}finally{te.f()}var Y,V=new Set,ie=S(ee);try{for(ie.s();!(Y=ie.n()).done;){var we=Y.value;(0,Z.Fb)(E,we).some(function(Ae){return(0,m.He)(Ae)})&&V.add(we)}}catch(Ae){ie.e(Ae)}finally{ie.f()}return(D||E).filter(function(Ae){return!V.has(Ae.groupIds[Ae.groupIds.length-1])})},L=function(E,D){var F=(0,m.iB)(E)&&(0,I.tl)(E)||E;return D.selectedElementIds[F.id]&&D.selectedElementsAreBeingDragged?D.frameToHighlight:r(F)},_=function(E,D,F){var ee=L(E,F),te=(0,m.iB)(E)&&(0,I.tl)(E)||E;if(ee){if(!F.selectedElementIds[E.id]||!F.selectedElementsAreBeingDragged)return!0;if(te.groupIds.length===0)return U(te,ee);var re=new Set(te.groupIds.flatMap(function(je){return(0,Z.Fb)(D,je)}));if(F.editingGroupId&&F.selectedElementsAreBeingDragged){var oe=new Set((0,f.eD)(D,F));if(F.frameToHighlight!==null)return!0;oe.forEach(function(je){re.delete(je)})}var Y,V=S(re);try{for(V.s();!(Y=V.n()).done;){var ie=Y.value;if((0,m.He)(ie))return!1}}catch(je){V.e(je)}finally{V.f()}var we,Ae=S(re);try{for(Ae.s();!(we=Ae.n()).done;){var Re=we.value;if(U(Re,ee))return!0}}catch(je){Ae.e(je)}finally{Ae.f()}}return!1}},9215:function(fe,t,e){e.d(t,{AI:function(){return b},F$:function(){return W},Fb:function(){return G},Nd:function(){return le},Qy:function(){return H},S_:function(){return M},YS:function(){return U},bO:function(){return k},h6:function(){return A},iE:function(){return ve},iJ:function(){return ce},yO:function(){return J},yR:function(){return he},zq:function(){return S}});var P=e(1930),w=e(2577),m=e(7169),v=e(4105),I=e(4761),x=e(6264);function c(y,h){var d=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!d){if(Array.isArray(y)||(d=function(u,C){if(u){if(typeof u=="string")return f(u,C);var L=Object.prototype.toString.call(u).slice(8,-1);if(L==="Object"&&u.constructor&&(L=u.constructor.name),L==="Map"||L==="Set")return Array.from(u);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return f(u,C)}}(y))||h&&y&&typeof y.length=="number"){d&&(y=d);var r=0,n=function(){};return{s:n,n:function(){return r>=y.length?{done:!0}:{done:!1,value:y[r++]}},e:function(u){throw u},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,a=!0,l=!1;return{s:function(){d=d.call(y)},n:function(){var u=d.next();return a=u.done,u},e:function(u){l=!0,p=u},f:function(){try{a||d.return==null||d.return()}finally{if(l)throw p}}}}function f(y,h){(h==null||h>y.length)&&(h=y.length);for(var d=0,r=new Array(h);d<h;d++)r[d]=y[d];return r}function Z(y,h){var d=Object.keys(y);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(y);h&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(y,n).enumerable})),d.push.apply(d,r)}return d}function N(y){for(var h=1;h<arguments.length;h++){var d=arguments[h]!=null?arguments[h]:{};h%2?Z(Object(d),!0).forEach(function(r){(0,m.Z)(y,r,d[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(d)):Z(Object(d)).forEach(function(r){Object.defineProperty(y,r,Object.getOwnPropertyDescriptor(d,r))})}return y}var W=function(y,h,d){var r=d.reduce(function(n,p){return p.groupIds.includes(y)&&(n[p.id]=!0),n},{});return Object.keys(r).length<2?h.selectedGroupIds[y]||h.editingGroupId===y?{selectedElementIds:h.selectedElementIds,selectedGroupIds:N(N({},h.selectedGroupIds),{},(0,m.Z)({},y,!1)),editingGroupId:null}:h:{editingGroupId:h.editingGroupId,selectedGroupIds:N(N({},h.selectedGroupIds),{},(0,m.Z)({},y,!0)),selectedElementIds:N(N({},h.selectedElementIds),r)}},k=function(){var y=null,h=null,d=null,r=function(n,p,a,l){var u=l?l.scene.getSelectedElements({selectedElementIds:n.selectedElementIds,elements:p}):(0,v.eD)(p,n);return u.length?function(C,L,_,E){var D;if(d!==void 0&&L===h&&C===y&&_.editingGroupId===((D=d)===null||D===void 0?void 0:D.editingGroupId))return d;var F,ee={},te=c(C);try{for(te.s();!(F=te.n()).done;){var re=F.value.groupIds;if(_.editingGroupId){var oe=re.indexOf(_.editingGroupId);oe>-1&&(re=re.slice(0,oe))}if(re.length>0){var Y=re[re.length-1];ee[Y]=!0}}}catch(je){te.e(je)}finally{te.f()}for(var V={},ie=L.reduce(function(je,ye){var Ee=ye.groupIds.find(function(Oe){return ee[Oe]});return Ee&&(je[ye.id]=!0,Array.isArray(V[Ee])?V[Ee].push(ye.id):V[Ee]=[ye.id]),je},{}),we=0,Ae=Object.keys(V);we<Ae.length;we++){var Re=Ae[we];V[Re].length<2&&ee[Re]&&(ee[Re]=!1)}return h=L,y=C,d={editingGroupId:_.editingGroupId,selectedGroupIds:ee,selectedElementIds:(0,x.Oh)(N(N({},_.selectedElementIds),ie),E)}}(u,p,n,a):{selectedGroupIds:{},editingGroupId:null,selectedElementIds:(0,x.Oh)(n.selectedElementIds,a)}};return r.clearCache=function(){h=null,y=null,d=null},r}(),S=function(y,h){return J(y,h)!=null},J=function(y,h){return h.groupIds.filter(function(d){return d!==y.editingGroupId}).find(function(d){return y.selectedGroupIds[d]})},ce=function(y){return Object.entries(y.selectedGroupIds).filter(function(h){var d=(0,w.Z)(h,2);return d[0],d[1]}).map(function(h){var d=(0,w.Z)(h,2),r=d[0];return d[1],r})},he=function(y,h){var d,r=N(N({},h),{},{selectedGroupIds:{}}),n=c(y);try{for(n.s();!(d=n.n()).done;){var p=d.value.groupIds;if(h.editingGroupId){var a=p.indexOf(h.editingGroupId);a>-1&&(p=p.slice(0,a))}if(p.length>0){var l=p[p.length-1];r=N(N({},r),W(l,r,y))}}}catch(u){n.e(u)}finally{n.f()}return r.selectedGroupIds},ve=function(y,h){return N(N({},y),{},{editingGroupId:h.groupIds.length?h.groupIds[0]:null,selectedGroupIds:{},selectedElementIds:(0,m.Z)({},h.id,!0)})},le=function(y,h){return y.groupIds.includes(h)},G=function(y,h){return y.filter(function(d){return le(d,h)})},U=function(y,h){return y.groupIds.find(function(d){return h[d]})},H=function(y,h,d){for(var r=(0,P.Z)(y),n=h?y.indexOf(h):-1,p=n>-1?n:y.length,a=0;a<p;a++)r[a]=d(r[a]);return r},M=function(y,h,d){var r=(0,P.Z)(y),n=d?r.indexOf(d):-1,p=n>-1?n:r.length;return r.splice(p,0,h),r},A=function(y,h){return y.filter(function(d){return!h[d]})},b=function(y){var h=new Map;return y.forEach(function(d){var r=d.groupIds.length===0?d.id:d.groupIds[d.groupIds.length-1],n=h.get(r)||[],p=(0,I.WJ)(d);p&&n.push(p),h.set(r,[].concat((0,P.Z)(n),[d]))}),Array.from(h.values())}},334:function(fe,t,e){e.d(t,{F:function(){return x}});var P=e(1930),w=e(2577),m=e(9787),v=e(8242),I=e(100),x=function(c){var f=(0,m.useState)(null),Z=(0,w.Z)(f,2),N=Z[0],W=Z[1],k=(0,v.Fy)(),S=(0,I.I)().theme,J=(0,v.J0)().container;return(0,m.useLayoutEffect)(function(){var ce,he;N&&(N.className="",(ce=N.classList).add.apply(ce,["excalidraw"].concat((0,P.Z)((c==null||(he=c.className)===null||he===void 0?void 0:he.split(/\s+/))||[]))),N.classList.toggle("excalidraw--mobile",k.editor.isMobile),N.classList.toggle("theme--dark",S==="dark"))},[N,S,k.editor.isMobile,c?.className]),(0,m.useLayoutEffect)(function(){var ce=c!=null&&c.parentSelector?J?.querySelector(c.parentSelector):document.body;if(ce){var he=document.createElement("div");return ce.appendChild(he),W(he),function(){ce.removeChild(he)}}},[J,c?.parentSelector]),N}},5832:function(fe,t,e){e.d(t,{YX:function(){return N},mF:function(){return k},yT:function(){return S}});var P=e(2577),w=e(8950),m=e(2975),v=e.n(m),I=e(3607),x=e(9787),c=e(9240),f=e(453),Z=e(507),N=(0,I.cn)(new Map),W=function(){var J=(0,w.Z)(v().mark(function ce(he){return v().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ve.next=2,(0,Z.$D)({elements:he,appState:{exportBackground:!1,viewBackgroundColor:c.HO.white},files:null,renderEmbeddables:!1});case 2:return ve.abrupt("return",ve.sent);case 3:case"end":return ve.stop()}},ce)}));return function(ce){return J.apply(this,arguments)}}(),k=function(J,ce,he){var ve=(0,x.useState)(),le=(0,P.Z)(ve,2),G=le[0],U=le[1];return(0,x.useEffect)(function(){if(ce)if(J){var H=he.get(J);H?U(H):(0,w.Z)(v().mark(function M(){var A,b;return v().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,W(ce);case 2:b=y.sent,(A=b.querySelector(".style-fonts"))===null||A===void 0||A.remove(),b&&(he.set(J,b),U(b));case 5:case"end":return y.stop()}},M)}))()}else(0,w.Z)(v().mark(function M(){var A;return v().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,W(ce);case 2:A=b.sent,U(A);case 4:case"end":return b.stop()}},M)}))()},[J,ce,he,U]),G},S=function(){var J=(0,I.KO)(N,f.yE),ce=(0,P.Z)(J,1)[0];return{clearLibraryCache:function(){return ce.clear()},deleteItemsFromLibraryCache:function(he){he.forEach(function(ve){return ce.delete(ve)})},svgCache:ce}}},1901:function(fe,t,e){e.d(t,{O:function(){return m}});var P=e(9787),w=e(9937);function m(v,I,x){(0,P.useEffect)(function(){function c(f){var Z=f;if(v.current){var N=x?.(Z,v.current);if(N!==!0){if(N===!1)return I(Z);!v.current.contains(Z.target)&&document.documentElement.contains(Z.target)&&(Z.target.closest("[data-radix-portal]")||Z.target===document.documentElement&&document.body.style.pointerEvents==="none"||Z.target.closest("[data-prevent-outside-click]")||I(Z))}}}return document.addEventListener(w.Ks.POINTER_DOWN,c),document.addEventListener(w.Ks.TOUCH_START,c),function(){document.removeEventListener(w.Ks.POINTER_DOWN,c),document.removeEventListener(w.Ks.TOUCH_START,c)}},[v,I,x])}},8227:function(fe,t,e){e.d(t,{Fp:function(){return Z},G3:function(){return ce},Mj:function(){return N},QT:function(){return G},m0:function(){return J},t:function(){return ve}});var P=e(8950),w=e(1930),m=e(2975),v=e.n(m),I=e(1463),x=e(4451),c=e(453),f=e(3607),Z={code:"en",label:"English"},N=[Z].concat((0,w.Z)([{code:"ar-SA",label:"العربية",rtl:!0},{code:"bg-BG",label:"Български"},{code:"ca-ES",label:"Català"},{code:"cs-CZ",label:"Česky"},{code:"de-DE",label:"Deutsch"},{code:"el-GR",label:"Ελληνικά"},{code:"es-ES",label:"Español"},{code:"eu-ES",label:"Euskara"},{code:"fa-IR",label:"فارسی",rtl:!0},{code:"fi-FI",label:"Suomi"},{code:"fr-FR",label:"Français"},{code:"gl-ES",label:"Galego"},{code:"he-IL",label:"עברית",rtl:!0},{code:"hi-IN",label:"हिन्दी"},{code:"hu-HU",label:"Magyar"},{code:"id-ID",label:"Bahasa Indonesia"},{code:"it-IT",label:"Italiano"},{code:"ja-JP",label:"日本語"},{code:"kab-KAB",label:"Taqbaylit"},{code:"kk-KZ",label:"Қазақ тілі"},{code:"ko-KR",label:"한국어"},{code:"ku-TR",label:"Kurdî"},{code:"lt-LT",label:"Lietuvių"},{code:"lv-LV",label:"Latviešu"},{code:"my-MM",label:"Burmese"},{code:"nb-NO",label:"Norsk bokmål"},{code:"nl-NL",label:"Nederlands"},{code:"nn-NO",label:"Norsk nynorsk"},{code:"oc-FR",label:"Occitan"},{code:"pa-IN",label:"ਪੰਜਾਬੀ"},{code:"pl-PL",label:"Polski"},{code:"pt-BR",label:"Português Brasileiro"},{code:"pt-PT",label:"Português"},{code:"ro-RO",label:"Română"},{code:"ru-RU",label:"Русский"},{code:"sk-SK",label:"Slovenčina"},{code:"sv-SE",label:"Svenska"},{code:"sl-SI",label:"Slovenščina"},{code:"tr-TR",label:"Türkçe"},{code:"uk-UA",label:"Українська"},{code:"zh-CN",label:"简体中文"},{code:"zh-TW",label:"繁體中文"},{code:"vi-VN",label:"Tiếng Việt"},{code:"mr-IN",label:"मराठी"}].filter(function(U){return x[U.code]>=85}).sort(function(U,H){return U.label>H.label?1:-1}))),W="__test__",k=Z,S={},J=function(){var U=(0,P.Z)(v().mark(function H(M){return v().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(k=M,document.documentElement.dir=k.rtl?"rtl":"ltr",document.documentElement.lang=k.code,!M.code.startsWith(W)){A.next=7;break}S={},A.next=17;break;case 7:return A.prev=7,A.next=10,e(940)("./".concat(k.code,".json"));case 10:S=A.sent,A.next=17;break;case 13:A.prev=13,A.t0=A.catch(7),console.error("Failed to load language ".concat(M.code,":"),A.t0.message),S=I;case 17:c.e_.set(le,M.code);case 18:case"end":return A.stop()}},H,null,[[7,13]])}));return function(H){return U.apply(this,arguments)}}(),ce=function(){return k},he=function(U,H){for(var M=0;M<H.length;++M){var A=H[M];if(U[A]===void 0)return;U=U[A]}if(typeof U=="string")return U},ve=function(U,H,M){if(k.code.startsWith(W)){var A=H?"".concat(U,"(").concat(JSON.stringify(H).slice(1,-1),")"):U;return"‪[[".concat(A,"]]‬")}var b=U.split("."),y=he(S,b)||he(I,b)||M;if(y===void 0){var h="Can't find translation for ".concat(U);return console.warn(h),""}if(H)for(var d in H)y=y.replace("{{".concat(d,"}}"),String(H[d]));return y},le=(0,f.cn)(Z.code),G=function(){var U=(0,f.Dv)(le,c.yE);return{t:ve,langCode:U}}},453:function(fe,t,e){e.d(t,{e_:function(){return m},yE:function(){return w}});var P=e(3607),w=(e(9787),Symbol()),m=(0,P.Vv)()},5491:function(fe,t,e){e.d(t,{E0:function(){return x},Ge:function(){return c},OA:function(){return I},Wl:function(){return v},aU:function(){return w},tW:function(){return m}});var P=e(9937),w={EQUAL:"Equal",MINUS:"Minus",NUM_ADD:"NumpadAdd",NUM_SUBTRACT:"NumpadSubtract",NUM_ZERO:"Numpad0",BRACKET_RIGHT:"BracketRight",BRACKET_LEFT:"BracketLeft",ONE:"Digit1",TWO:"Digit2",THREE:"Digit3",NINE:"Digit9",QUOTE:"Quote",ZERO:"Digit0",SLASH:"Slash",C:"KeyC",D:"KeyD",H:"KeyH",V:"KeyV",Z:"KeyZ",R:"KeyR",S:"KeyS"},m={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",BACKSPACE:"Backspace",ALT:"Alt",CTRL_OR_CMD:P.Um?"metaKey":"ctrlKey",DELETE:"Delete",ENTER:"Enter",ESCAPE:"Escape",QUESTION_MARK:"?",SPACE:" ",TAB:"Tab",CHEVRON_LEFT:"<",CHEVRON_RIGHT:">",PERIOD:".",COMMA:",",SUBTRACT:"-",A:"a",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",L:"l",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",V:"v",X:"x",Y:"y",Z:"z",K:"k",W:"w",0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9"},v=function(f){return f===m.ARROW_LEFT||f===m.ARROW_RIGHT||f===m.ARROW_DOWN||f===m.ARROW_UP},I=function(f){return f.altKey},x=function(f){return f.shiftKey},c=function(f){return f.shiftKey}},2361:function(fe,t,e){e.d(t,{EK:function(){return A},H5:function(){return Z},Jj:function(){return M},LW:function(){return f},N_:function(){return le},Ni:function(){return k},U1:function(){return I},Xt:function(){return h},c9:function(){return W},eH:function(){return U},ep:function(){return b},g6:function(){return N},lk:function(){return H},mW:function(){return y},wC:function(){return ce},xj:function(){return x},yB:function(){return ve},yW:function(){return he},yq:function(){return c}});var P=e(2577),w=e(9937),m=e(4949),v=e(2921),I=function(d,r,n,p,a){return[(d-n)*Math.cos(a)-(r-p)*Math.sin(a)+n,(d-n)*Math.sin(a)+(r-p)*Math.cos(a)+p]},x=function(d,r,n){return I(d[0],d[1],r[0],r[1],n)},c=function(d,r,n,p,a,l,u,C){var L=Math.cos(p),_=Math.sin(p);return d.e&&d.w?r+=a+u:d.e?(r+=a*(1+L),n+=a*_,r+=u*(1-L),n+=u*-_):d.w&&(r+=a*(1-L),n+=a*-_,r+=u*(1+L),n+=u*_),d.n&&d.s?n+=l+C:d.n?(r+=l*_,n+=l*(1-L),r+=C*-_,n+=C*(1+L)):d.s&&(r+=l*-_,n+=l*(1+L),r+=C*_,n+=C*(1-L)),[r,n]},f=function(d,r,n,p){var a=n-d,l=p-r;return Math.hypot(a,l)},Z=function(d,r){return[(d[0]+r[0])/2,(d[1]+r[1])/2]},N=function(d){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(d.length>=3){var n=[d[0],d[d.length-1]],p=n[0],a=n[1],l=f(p[0],p[1],a[0],a[1]);return l<=w.qx/r}return!1},W=function(d,r,n){var p=d.length;if(p<3)return!1;for(var a=[Number.MAX_SAFE_INTEGER,n],l=[r,n],u=0,C=0;C<p;C++){var L=d[C],_=d[(C+1)%p];if(J(L,_,l,a)){if(S(L,l,_)===0)return k(L,l,_);u++}}return u%2==1},k=function(d,r,n){return r[0]<=Math.max(d[0],n[0])&&r[0]>=Math.min(d[0],n[0])&&r[1]<=Math.max(d[1],n[1])&&r[1]>=Math.min(d[1],n[1])},S=function(d,r,n){var p=(r[1]-d[1])*(n[0]-r[0])-(r[0]-d[0])*(n[1]-r[1]);return p===0?0:p>0?1:2},J=function(d,r,n,p){var a=S(d,r,n),l=S(d,r,p),u=S(n,p,d),C=S(n,p,r);return a!==l&&u!==C||!(a!==0||!k(d,n,r))||!(l!==0||!k(d,p,r))||!(u!==0||!k(n,d,p))||!(C!==0||!k(n,r,p))},ce=function(d,r,n){return n?[Math.round(d/n)*n,Math.round(r/n)*n]:[d,r]},he=function(d,r){var n,p,a;if(((n=r.roundness)===null||n===void 0?void 0:n.type)===w.a6.PROPORTIONAL_RADIUS||((p=r.roundness)===null||p===void 0?void 0:p.type)===w.a6.LEGACY)return d*w.Rx;if(((a=r.roundness)===null||a===void 0?void 0:a.type)===w.a6.ADAPTIVE_RADIUS){var l,u,C=(l=(u=r.roundness)===null||u===void 0?void 0:u.value)!==null&&l!==void 0?l:w._9;return d<=C/w.Rx?d*w.Rx:C}return 0},ve=function(d,r){var n=v.R.generateElementShape(d);if(!n)return null;for(var p=(0,m.CM)(n[0]),a=[0,0],l=0,u=1/0,C=null;l<p.length;){var L=p[l],_=L.op,E=L.data;if(_==="move"&&(a=E),_==="bcurveTo"){var D=a,F=[E[0],E[1]],ee=[E[2],E[3]],te=[E[4],E[5]],re=f(te[0],te[1],r[0],r[1]);re<u&&(u=re,C=[D,F,ee,te]),a=te}l++}return C},le=function(d,r,n,p,a){var l=function(u,C){return Math.pow(1-u,3)*p[C]+3*u*Math.pow(1-u,2)*n[C]+3*Math.pow(u,2)*(1-u)*r[C]+d[C]*Math.pow(u,3)};return[l(a,0),l(a,1)]},G=function(d,r){var n=[];n[0]=0;for(var p=function(u,C){var L=ve(u,C);if(!L)return[];for(var _=[],E=1;E>0;){var D=le(L[0],L[1],L[2],L[3],E);_.push([D[0],D[1]]),E-=.05}return _.length&&M(_.at(-1),C)&&_.push([C[0],C[1]]),_}(d,r),a=0,l=0;a<p.length-1;)l+=f(p[a][0],p[a][1],p[a+1][0],p[a+1][1]),n.push(l),a++;return n},U=function(d,r){return G(d,r).at(-1)},H=function(d,r,n){for(var p=G(d,r),a=p.length-1,l=n*p.at(-1),u=0,C=a,L=0;u<C;)p[L=Math.floor(u+(C-u)/2)]<l?u=L+1:C=L;return p[L]>l&&L--,p[L]===l?L/a:1-(L+(l-p[L])/(p[L+1]-p[L]))/a},M=function(d,r){return d[0]===r[0]&&d[1]===r[1]},A=function(d){return Math.round(d/Math.PI*1e4)%5e3==0},b=function(d,r){var n=(0,P.Z)(d,2),p=n[0],a=n[1],l=(0,P.Z)(r,2),u=l[0],C=l[1];return p<=u?a>=u:p>=u&&C>=p},y=function(d,r){var n=Math.max(d[0],r[0]),p=Math.min(d[1],r[1]);return n<=p?[n,p]:null},h=function(d,r,n){return d>=r&&d<=n}},4864:function(fe,t,e){e.d(t,{zx:function(){return me.z},Or:function(){return ot.O},Eb:function(){return Ft},ut:function(){return u.ut},$_:function(){return re},vO:function(){return at},LO:function(){return u.LO},lb:function(){return oe.Z},YE:function(){return lt.YE},C6:function(){return u.C6},B4:function(){return Me},ZP:function(){return Mt.ZP},wc:function(){return pt.w},Fp:function(){return k.Fp},sQ:function(){return yt.sQ},Xs:function(){return yt.Xs},Fl:function(){return Pt.Fl},NL:function(){return Pt.NL},i1:function(){return Pt.i1},$D:function(){return Pt.$D},KP:function(){return ht.KP},N7:function(){return Pt.N7},Lm:function(){return ut.Lm},Uo:function(){return ut.Uo},Ne:function(){return yt.Ne},QD:function(){return ut.QD},bt:function(){return Et.bt},Mj:function(){return k.Mj},cT:function(){return Pt.cT},lV:function(){return Pt.lV},ZY:function(){return Pt.ZY},zh:function(){return Pt.zh},DR:function(){return Mt.DR},BE:function(){return Mt.BE},$u:function(){return mt.$u},Di:function(){return Yt.Di},nu:function(){return Ot.nu},lY:function(){return Ot.lY},ET:function(){return Ot.ET},wJ:function(){return Ot.wJ},_i:function(){return he._i},I_:function(){return Pt.I_},NI:function(){return Pt.NI},Fy:function(){return ce.Fy},xS:function(){return Yt.xS},QT:function(){return k.QT},dE:function(){return he.dE}});var P=e(6479),w=e.n(P),m=e(9713),v=e.n(m),I=e(9787),x=e.n(I),c=e(8950),f=e(2577),Z=e(2975),N=e.n(Z),W=e(7165),k=e(8227),S=e(1020),J=function(xt){var At=(0,I.useState)(!0),Tt=(0,f.Z)(At,2),nr=Tt[0],yr=Tt[1];return(0,I.useEffect)(function(){var kr=function(){var Or=(0,c.Z)(N().mark(function Rt(){return N().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,(0,k.m0)(Tr);case 2:yr(!1);case 3:case"end":return dt.stop()}},Rt)}));return function(){return Or.apply(this,arguments)}}(),Tr=k.Mj.find(function(Or){return Or.code===xt.langCode})||k.Fp;kr()},[xt.langCode]),nr?(0,S.jsx)(W.z,{theme:xt.theme}):xt.children},ce=e(8242),he=e(9827),ve=e(3379),le=e.n(ve),G=e(7795),U=e.n(G),H=e(569),M=e.n(H),A=e(3565),b=e.n(A),y=e(9216),h=e.n(y),d=e(4589),r=e.n(d),n=e(9915),p={};p.styleTagTransform=r(),p.setAttributes=b(),p.insert=M().bind(null,"head"),p.domAPI=U(),p.insertStyleElement=h(),le()(n.Z,p),n.Z&&n.Z.locals&&n.Z.locals;var a=e(9310),l={};l.styleTagTransform=r(),l.setAttributes=b(),l.insert=M().bind(null,"head"),l.domAPI=U(),l.insertStyleElement=h(),le()(a.Z,l),a.Z&&a.Z.locals&&a.Z.locals;var u=e(9937),C=e(3607),L=e(453),_=e(45),E=e(4572),D=e(8793),F={};F.styleTagTransform=r(),F.setAttributes=b(),F.insert=M().bind(null,"head"),F.domAPI=U(),F.insertStyleElement=h(),le()(D.Z,F),D.Z&&D.Z.locals&&D.Z.locals;var ee=e(100),te=function(xt){var At=xt.children,Tt=(0,E.R6)().FooterCenterTunnel,nr=(0,ee.I)();return(0,S.jsx)(Tt.In,{children:(0,S.jsx)("div",{className:(0,_.Z)("footer-center zen-mode-transition",{"layer-ui__wrapper__footer-left--transition-bottom":nr.zenModeEnabled}),children:At})})},re=te;te.displayName="FooterCenter";var oe=e(7021),Y=e(7169),V=e(2726),ie=e(5463),we=e(2529),Ae=e(8935),Re=e(5744),je={};je.styleTagTransform=r(),je.setAttributes=b(),je.insert=M().bind(null,"head"),je.domAPI=U(),je.insertStyleElement=h(),le()(Re.Z,je),Re.Z&&Re.Z.locals&&Re.Z.locals;var ye=function(){return(0,S.jsx)("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"ExcalidrawLogo-icon",children:(0,S.jsx)("path",{d:"M39.9 32.889a.326.326 0 0 0-.279-.056c-2.094-3.083-4.774-6-7.343-8.833l-.419-.472a.212.212 0 0 0-.056-.139.586.586 0 0 0-.167-.111l-.084-.083-.056-.056c-.084-.167-.28-.278-.475-.167-.782.39-1.507.973-2.206 1.528-.92.722-1.842 1.445-2.708 2.25a8.405 8.405 0 0 0-.977 1.028c-.14.194-.028.361.14.444-.615.611-1.23 1.223-1.843 1.861a.315.315 0 0 0-.084.223c0 .083.056.166.111.194l1.09.833v.028c1.535 1.528 4.244 3.611 7.12 5.861.418.334.865.667 1.284 1 .195.223.39.473.558.695.084.11.28.139.391.055.056.056.14.111.196.167a.398.398 0 0 0 .167.056.255.255 0 0 0 .224-.111.394.394 0 0 0 .055-.167c.029 0 .028.028.056.028a.318.318 0 0 0 .224-.084l5.082-5.528a.309.309 0 0 0 0-.444Zm-14.63-1.917a.485.485 0 0 0 .111.14c.586.5 1.2 1 1.843 1.555l-2.569-1.945-.251-.166c-.056-.028-.112-.084-.168-.111l-.195-.167.056-.056.055-.055.112-.111c.866-.861 2.346-2.306 3.1-3.028-.81.805-2.43 3.167-2.095 3.944Zm8.767 6.89-2.122-1.612a44.713 44.713 0 0 0-2.625-2.5c1.145.861 2.122 1.611 2.262 1.75 1.117.972 1.06.806 1.815 1.445l.921.666a1.06 1.06 0 0 1-.251.25Zm.558.416-.056-.028c.084-.055.168-.111.252-.194l-.196.222ZM1.089 5.75c.055.361.14.722.195 1.056.335 1.833.67 3.5 1.284 4.75l.252.944c.084.361.223.806.363.917 1.424 1.25 3.602 3.11 5.947 4.889a.295.295 0 0 0 .363 0s0 .027.028.027a.254.254 0 0 0 .196.084.318.318 0 0 0 .223-.084c2.988-3.305 5.221-6.027 6.813-8.305.112-.111.14-.278.14-.417.111-.111.195-.25.307-.333.111-.111.111-.306 0-.39l-.028-.027c0-.055-.028-.139-.084-.167-.698-.666-1.2-1.138-1.731-1.638-.922-.862-1.871-1.75-3.881-3.75l-.028-.028c-.028-.028-.056-.056-.112-.056-.558-.194-1.703-.389-3.127-.639C6.087 2.223 3.21 1.723.614.944c0 0-.168 0-.196.028l-.083.084c-.028.027-.056.055-.224.11h.056-.056c.028.167.028.278.084.473 0 .055.112.5.112.555l.782 3.556Zm15.496 3.278-.335-.334c.084.112.196.195.335.334Zm-3.546 4.666-.056.056c0-.028.028-.056.056-.056Zm-2.038-10c.168.167.866.834 1.033.973-.726-.334-2.54-1.167-3.379-1.445.838.167 1.983.334 2.346.472ZM1.424 2.306c.419.722.754 3.222 1.089 5.666-.196-.778-.335-1.555-.503-2.278-.251-1.277-.503-2.416-.838-3.416.056 0 .14 0 .252.028Zm-.168-.584c-.112 0-.223-.028-.307-.028 0-.027 0-.055-.028-.055.14 0 .223.028.335.083Zm-1.089.222c0-.027 0-.027 0 0ZM39.453 1.333c.028-.11-.558-.61-.363-.639.42-.027.42-.666 0-.666-.558.028-1.144.166-1.675.25-.977.194-1.982.389-2.96.61-2.205.473-4.383.973-6.561 1.557-.67.194-1.424.333-2.066.666-.224.111-.196.333-.084.472-.056.028-.084.028-.14.056-.195.028-.363.056-.558.083-.168.028-.252.167-.224.334 0 .027.028.083.028.11-1.173 1.556-2.485 3.195-3.909 4.945-1.396 1.611-2.876 3.306-4.356 5.056-4.719 5.5-10.052 11.75-15.943 17.25a.268.268 0 0 0 0 .389c.028.027.056.055.084.055-.084.084-.168.14-.252.222-.056.056-.084.111-.084.167a.605.605 0 0 0-.111.139c-.112.111-.112.305.028.389.111.11.307.11.39-.028.029-.028.029-.056.056-.056a.44.44 0 0 1 .615 0c.335.362.67.723.977 1.028l-.698-.583c-.112-.111-.307-.083-.39.028-.113.11-.085.305.027.389l7.427 6.194c.056.056.112.056.196.056s.14-.028.195-.084l.168-.166c.028.027.083.027.111.027.084 0 .14-.027.196-.083 10.052-10.055 18.15-17.639 27.42-24.417.083-.055.111-.166.111-.25.112 0 .196-.083.251-.194 1.704-5.194 2.039-9.806 2.15-12.083v-.028c0-.028.028-.056.028-.083.028-.056.028-.084.028-.084a1.626 1.626 0 0 0-.111-1.028ZM21.472 9.5c.446-.5.893-1.028 1.34-1.5-2.876 3.778-7.65 9.583-14.408 16.5 4.607-5.083 9.242-10.333 13.068-15ZM5.193 35.778h.084-.084Zm3.462 3.194c-.027-.028-.027-.028 0-.028v.028Zm4.16-3.583c.224-.25.448-.472.699-.722 0 0 0 .027.028.027-.252.223-.475.445-.726.695Zm1.146-1.111c.14-.14.279-.334.446-.5l.028-.028c1.648-1.694 3.351-3.389 5.082-5.111l.028-.028c.419-.333.921-.694 1.368-1.028a379.003 379.003 0 0 0-6.952 6.695ZM24.794 6.472c-.921 1.195-1.954 2.778-2.82 4.028-2.736 3.944-11.532 13.583-11.727 13.75a1976.983 1976.983 0 0 1-8.042 7.639l-.167.167c-.14-.167-.14-.417.028-.556C14.49 19.861 22.03 10.167 25.074 5.917c-.084.194-.14.36-.28.555Zm4.83 5.695c-1.116-.64-1.646-1.64-1.34-2.611l.084-.334c.028-.083.084-.194.14-.277.307-.5.754-.917 1.257-1.167.027 0 .055 0 .083-.028-.028-.056-.028-.139-.028-.222.028-.167.14-.278.335-.278.335 0 1.369.306 1.76.639.111.083.223.194.335.305.14.167.363.445.474.667.056.028.112.306.196.445.056.222.111.472.084.694-.028.028 0 .194-.028.194a2.668 2.668 0 0 1-.363 1.028c-.028.028-.028.056-.056.084l-.028.027c-.14.223-.335.417-.53.556-.643.444-1.369.583-2.095.389 0 0-.195-.084-.28-.111Zm8.154-.834a39.098 39.098 0 0 1-.893 3.167c0 .028-.028.083 0 .111-.056 0-.084.028-.14.056-2.206 1.61-4.356 3.305-6.506 5.028 1.843-1.64 3.686-3.306 5.613-4.945.558-.5.949-1.139 1.06-1.861l.28-1.667v-.055c.14-.334.67-.195.586.166Z",fill:"currentColor"})})},Ee=function(){return(0,S.jsxs)("svg",{viewBox:"0 0 450 55",xmlns:"http://www.w3.org/2000/svg",fill:"none",className:"ExcalidrawLogo-text",children:[(0,S.jsx)("path",{d:"M429.27 96.74c2.47-1.39 4.78-3.02 6.83-4.95 1.43-1.35 2.73-2.86 3.81-4.51-.66.9-1.4 1.77-2.23 2.59-2.91 2.84-5.72 5.09-8.42 6.87h.01ZM343.6 69.36c.33 3.13.58 6.27.79 9.4.09 1.37.18 2.75.25 4.12-.12-4.46-.27-8.93-.5-13.39-.11-2.08-.24-4.16-.4-6.24-.06 1.79-.11 3.85-.13 6.11h-.01ZM378.47 98.34c.01-.37.07-1.13.01-6.51-.11 1.9-.22 3.81-.31 5.71-.07 1.42-.22 2.91-.16 4.35.39.03.78.07 1.17.1-.92-.85-.76-2.01-.72-3.66l.01.01ZM344.09 86.12c-.09-2.41-.22-4.83-.39-7.24v12.21c.15-.05.32-.09.47-.14.05-1.61-.03-3.23-.09-4.83h.01ZM440.69 66.79c-.22-.34-.45-.67-.69-.99-3.71-4.87-9.91-7.14-15.65-8.55-1.05-.26-2.12-.49-3.18-.71 2.29.59 4.48 1.26 6.64 2.02 7.19 2.54 10.57 5.41 12.88 8.23ZM305.09 72.46l1.2 3.6c.84 2.53 1.67 5.06 2.46 7.61.24.78.5 1.57.73 2.36.22-.04.44-.08.67-.12a776.9 776.9 0 0 1-5.01-13.57c-.02.04-.03.09-.05.13v-.01ZM345.49 90.25v.31c1.48-.42 3.05-.83 4.66-1.2-1.56.25-3.12.52-4.66.89ZM371.02 90.22c0-.57-.04-1.14-.11-1.71-.06-.02-.12-.04-.19-.05-.21-.05-.43-.08-.65-.11.42.16.74.88.95 1.87ZM398.93 54.23c-.13 0-.27-.01-.4-.02l.03.4c.11-.15.23-.27.37-.38ZM401.57 62.28v-.15c-1.22-.24-2.86-.61-3.23-1.25-.09-.15-.18-.51-.27-.98-.09.37-.2.73-.33 1.09 1.24.56 2.52.98 3.83 1.29ZM421.73 88.68c-2.97 1.65-6.28 3.12-9.69 3.68v.18c4.72-.14 11.63-3.85 16.33-8.38-2.04 1.75-4.33 3.24-6.63 4.53l-.01-.01ZM411.28 80.92c-.05-1.2-.09-2.4-.15-3.6-.21 5.66-.46 11.38-.47 14.51.24-.02.48-.04.71-.07.15-3.61.05-7.23-.09-10.83v-.01Z",transform:"translate(-144.023 -51.76)"}),(0,S.jsx)("path",{d:"M425.38 67.41c-3.5-1.45-7.19-2.57-14.06-3.62.09 1.97.06 4.88-.03 8.12.03.04.06.09.06.15.19 1.36.28 2.73.37 4.1.25 3.77.39 7.55.41 11.33 0 1.38-.01 2.76-.07 4.13 1.4-.25 2.78-.65 4.12-1.15 4.07-1.5 7.94-3.78 11.28-6.54 2.33-1.92 5.13-4.49 5.88-7.58.63-3.53-2.45-6.68-7.97-8.96l.01.02ZM411.35 92.53v-.06l-.34.03c.11.01.22.03.34.03ZM314.26 64.06c-.23-.59-.47-1.17-.7-1.75.57 1.62 1.11 3.25 1.6 4.9l.15.54 2.35 6.05c.32.82.66 1.64.98 2.46-1.38-4.1-2.83-8.17-4.39-12.2h.01ZM156.82 103.07c-.18.13-.38.23-.58.33 1.32-.03 2.66-.2 3.93-.34.86-.09 1.72-.22 2.58-.33-2.12.1-4.12.17-5.94.34h.01ZM210.14 68.88s.03.04.05.07c.18-.31.39-.64.58-.96-.21.3-.42.6-.64.89h.01ZM201.65 82.8c-.5.77-1.02 1.56-1.49 2.37 1.11-1.55 2.21-3.1 3.2-4.59-.23.23-.49.51-.75.79-.32.47-.65.95-.96 1.43ZM194.03 98.66c-.33-.4-.65-.84-1.05-1.17-.24-.2-.07-.49.17-.56-.23-.26-.42-.5-.63-.75 1.51-2.55 3.93-5.87 6.4-9.28-.17-.08-.29-.28-.2-.49.04-.09.09-.17.13-.26-1.21 1.78-2.42 3.55-3.61 5.33-.87 1.31-1.74 2.64-2.54 4-.29.5-.63 1.04-.87 1.61.81.65 1.63 1.27 2.47 1.88-.09-.11-.18-.21-.27-.32v.01ZM307.79 82.93c-1-3.17-2.05-6.32-3.1-9.48-1.62 4.08-3.69 9.17-6.16 15.19 3.32-1.04 6.77-1.87 10.27-2.5-.32-1.08-.67-2.15-1.01-3.21ZM149.5 80.7c.05-1.71.04-3.43 0-5.14-.1 2.26-.16 4.51-.22 6.77-.02.73-.03 1.46-.04 2.19.14-1.27.2-2.55.24-3.82h.02ZM228.98 98.3c.39 1.25.91 3.03.94 3.91.06-.03.12-.07.17-.1.08-1.29-.55-2.65-1.11-3.81ZM307.72 53.36c.81.5 1.53 1.04 2.07 1.49-.38-.8-.78-1.58-1.21-2.35-.17.03-.34.06-.51.11-.43.12-.86.26-1.29.41.35-.01.53.1.94.34ZM283.69 96.14c3.91-7.25 6.89-13.35 8.88-18.15l1.1-2.66c-1.27 2.64-2.56 5.27-3.83 7.9-1.53 3.15-3.06 6.31-4.58 9.47-.87 1.81-1.76 3.62-2.54 5.47.04.02.07.04.11.07.05.05.1.09.15.14.05-.73.27-1.48.71-2.24ZM289.92 103.23s-.04.01-.05.03c0-.02.04-.03.05-.04.05-.05.11-.1.16-.15l.21-.21c-.55 0-1.5-.27-2.55-.72.4.26.8.51 1.22.74.24.13.48.26.73.37.05.02.1.03.14.05a.27.27 0 0 1 .08-.07h.01ZM269.23 68.49c-.39-.19-.82-.48-1.33-.87-3.06-1.56-6.31-2.78-9.36-2.35-3.5.49-5.7 1.11-7.74 2.44 5.71-2.6 12.82-2.07 18.44.79l-.01-.01ZM177.87 53.69l1.06.03c-.96-.22-2-.25-2.89-.3-4.95-.26-9.99.33-14.86 1.19-2.44.43-4.88.95-7.28 1.59 9.09-1.76 15.69-2.77 23.97-2.51ZM219.85 55.51c-.18.12-.36.27-.56.45-.45.53-.86 1.11-1.26 1.66-1.91 2.61-3.71 5.31-5.57 7.95l-.12.18 8.05-10.11c-.18-.05-.36-.1-.55-.13h.01ZM510.71 54.1c.12-.15.29-.3.53-.45.69-.4 3.72-.63 5.87-.74-.36-.02-.73-.04-1.09-.05-1.84-.03-3.67.09-5.49.35.05.3.12.59.18.88v.01ZM510.76 86.02c1.37-3.07 2.49-6.27 3.57-9.46.55-1.64 1.12-3.3 1.6-4.97-1.59 4.01-3.67 9.14-6.2 15.3.24-.08.5-.14.74-.22.1-.22.19-.44.29-.65ZM566.95 75.76c.11-.02.23.03.31.11-.05-.13-.09-.26-.14-.39-.05.09-.11.18-.17.28ZM511.33 86.41c3.08-.89 6.24-1.62 9.46-2.14-1.51-3.98-2.98-7.96-4.39-11.87-.05.15-.09.31-.14.46-1.02 3.32-2.15 6.61-3.39 9.85-.48 1.25-.98 2.49-1.53 3.7h-.01ZM578.24 74.45c.11-.44.23-.87.35-1.31-.31.7-.64 1.39-.97 2.08.09.21.19.4.28.61.12-.46.23-.92.35-1.38h-.01ZM520.62 53.11c-.09 0-.18-.01-.28-.02.38.34.29 1.08.93 2.53l6.65 17.15c2.2 5.68 4.69 11.36 7.41 16.87l1.06 2.17c-2.95-7.05-5.92-14.08-8.87-21.13-1.58-3.79-3.16-7.59-4.7-11.4-.78-1.92-1.73-3.89-2.25-5.91-.03-.1 0-.19.04-.26h.01ZM578.78 77.87c1.45-5.77 3.07-10.43 3.58-13.36.05-.34.16-.88.31-1.55-.67 1.79-1.37 3.56-2.08 5.33-.12.43-.23.86-.35 1.29-.65 2.43-1.29 4.86-1.9 7.3.14.33.29.65.43 1l.01-.01ZM545.3 94.66c.02-.44.03-.83.05-1.12.02-1.01.05-2.02.11-3.02.03-6.66-.46-14.33-1.46-22.8-.13-.42-.27-1.24-.56-2.89 0-.02 0-.04-.01-.06.62 6.61.95 13.25 1.32 19.87.17 3.08.33 6.16.52 9.23.02.25.03.52.04.78l-.01.01ZM580.77 102.81c.13.2.27.38.37.49.27-.11.53-.22.8-.32-.43.09-.82.05-1.17-.16v-.01ZM530.48 104.07h.33c-.36-.13-.71-.32-1.04-.56.14.24.3.47.45.7.06-.08.14-.13.26-.13v-.01ZM542.63 58.82c.06.23.11.47.15.71.14-.33.36-.62.7-.86-.28.05-.57.11-.85.15ZM583.81 57.87c.15-.7.29-1.41.42-2.11-.14.45-.28.9-.42 1.34-.46 1.44-.89 2.89-1.31 4.34.44-1.19.88-2.37 1.31-3.57ZM523.62 91.48c-4.66 1.17-9.05 2.89-14.02 5.27 4.65-1.84 9.48-3.29 14.28-4.63-.09-.22-.17-.41-.26-.64ZM460.64 78.3c-.04-2.9-.11-5.81-.28-8.71-.1-1.68-.17-3.43-.5-5.09-.07.02-.14.03-.2.05.3 6.54.45 12.17.51 17.12.17-.07.34-.14.51-.2 0-1.06-.01-2.11-.03-3.17h-.01ZM470.63 63.24c-3.38-.26-6.81.32-10.1 1.1.41 2.01.47 4.14.57 6.18.18 3.55.25 7.11.27 10.67 3.31-1.38 6.5-3.12 9.3-5.35 1.96-1.56 3.86-3.41 5.02-5.66.73-1.41 1.19-3.22.26-4.65-1.09-1.7-3.46-2.14-5.32-2.29ZM460.29 63.68c1-.24 2.01-.46 3.04-.65-1.15.16-2.37.38-3.71.69v.13c.07-.02.15-.04.22-.05.11-.13.3-.18.45-.11v-.01ZM457.24 100.96c.43-.03.86-.07 1.29-.11.14-.49.27-.99.38-1.49-.44.7-1 1.23-1.67 1.6ZM482.88 104.98c-.18.23-.36.38-.55.47.14.09.27.19.4.28a70.76 70.76 0 0 0 4.37-4.63c.76-.89 1.52-1.81 2.19-2.77-.3-.27-.61-.53-.92-.79-.07 1.94-4.62 6.32-5.49 7.45v-.01Z",transform:"translate(-144.023 -51.76)"}),(0,S.jsx)("path",{d:"M474.36 63.31c-.4-.16-.84-.27-1.29-.37 1.56.42 3.08 1.22 3.76 2.74.62 1.4.32 2.95-.28 4.32.7-1.22.94-2.34.74-3.47-.24-1.33-1.19-2.54-2.93-3.21v-.01ZM477.34 89.18c-1.2-.81-2.4-1.62-3.6-2.42-.14.1-.26.19-.4.29 1.4.67 2.73 1.39 4 2.13ZM465.88 93.85c.37.25.74.5 1.1.75.46.32.92.65 1.38.97-1.57-1.2-2.01-1.61-2.49-1.72h.01ZM574.92 90.06c-2.28-5.21-4.93-11.13-5.67-12.26-.1-.15-1.57-3.01-1.63-3.08 0 0-.01.02-.02.02.4 1.37 1.09 2.69 1.65 3.99 2.14 4.95 4.36 9.86 6.67 14.73.6 1.26 1.21 2.52 1.83 3.78-.75-2.01-1.64-4.45-2.83-7.18ZM448.73 65.29c.1.2.22.38.34.57.22-.02.43-.06.65-.08v-.08c-.14-.05-.25 0-.99-.41ZM460.16 94.81c-.02.31-.06.59-.1.89-.03 1.71-.33 3.43-.79 5.07.15-.02.3-.03.45-.05.01-.04.02-.08.03-.11.09-.34.15-.69.2-1.03.17-1.07.25-2.16.33-3.24.05-.69.08-1.39.12-2.08-.27.1-.27.26-.24.57v-.02Z",transform:"translate(-144.023 -51.76)"}),(0,S.jsx)("path",{d:"m328.67 98.12-3.22-6.58c-1.29-2.63-2.53-5.29-3.72-7.97-.25-.85-.52-1.69-.79-2.53-.81-2.57-1.67-5.12-2.55-7.67-1.92-5.53-3.9-11.08-6.32-16.41-.72-1.58-1.46-3.44-2.63-4.79-.03-.17-.16-.29-.34-.36a.282.282 0 0 0-.23-.04c-.06-.01-.12 0-.18.01-.74.06-1.5.38-2.19.61-2.22.77-4.4 1.64-6.63 2.38-.03-.08-.06-.16-.09-.25-.15-.42-.82-.24-.67.19.03.09.07.19.1.28l-.18.06c-.36.11-.28.6 0 .68.18 1.18.63 2.36.98 3.49.03.09.06.17.08.26-.08.23-.17.46-.24.64-.37.98-.79 1.94-1.21 2.9-1.27 2.89-2.62 5.75-3.98 8.6-3.18 6.67-6.44 13.31-9.64 19.97-1.08 2.25-2.2 4.5-3.15 6.81-.13.32.24.5.5.37 1.34 1.33 2.84 2.5 4.4 3.57.65.44 1.31.87 2.01 1.24.4.22.86.48 1.33.5.24.01.35-.19.33-.37.11-.1.21-.21.28-.28.41-.41.81-.84 1.2-1.26.85-.92 1.69-1.87 2.5-2.84 6.31-2.34 12.6-4.31 18.71-5.84 2.14 5.3 3.43 8.43 3.97 9.58.55 1.05 1.15 1.88 1.82 2.52 1.32.56 6.96-.03 9.23-1.96.87-1.28 1.19-2.67.93-4.15-.09-.5-.22-.95-.4-1.33l-.01-.03Zm-20.09-45.61c.43.77.83 1.56 1.21 2.35-.54-.45-1.27-.99-2.07-1.49-.42-.24-.6-.35-.94-.34.43-.15.85-.29 1.29-.41.17-.05.34-.08.51-.11Zm-25.86 45.66c.78-1.85 1.67-3.66 2.54-5.47 1.51-3.16 3.05-6.31 4.58-9.47 1.28-2.63 2.56-5.26 3.83-7.9l-1.1 2.66c-1.99 4.79-4.97 10.9-8.88 18.15-.43.76-.66 1.51-.71 2.24-.05-.05-.1-.09-.15-.14a.259.259 0 0 0-.11-.07Zm6.24 4.71c-.42-.23-.82-.48-1.22-.74 1.05.45 2 .72 2.55.72l-.21.21c-.05.05-.11.1-.16.15-.01.01-.04.03-.05.04 0-.02.03-.02.05-.03a.27.27 0 0 0-.08.07c-.05-.02-.1-.03-.14-.05-.25-.1-.49-.24-.73-.37h-.01Zm15.73-29.43c1.05 3.15 2.1 6.31 3.1 9.48.34 1.06.69 2.13 1.01 3.21-3.5.63-6.95 1.46-10.27 2.5 2.48-6.03 4.54-11.11 6.16-15.19Zm4.79 12.57c-.23-.79-.49-1.58-.73-2.36-.79-2.54-1.63-5.08-2.46-7.61l-1.2-3.6c.02-.04.04-.09.05-.13 1.6 4.45 3.28 9 5.01 13.57l-.67.12v.01Zm5.83-18.27-.15-.54c-.49-1.64-1.03-3.28-1.6-4.9.23.58.47 1.17.7 1.75 1.56 4.03 3.01 8.1 4.39 12.2-.33-.82-.67-1.64-.98-2.46l-2.35-6.05h-.01ZM390.43 79.37c-.13-10.43-.22-17.5-.24-19.97-.24-1.6.21-2.88-.65-3.65-.14-.13-.32-.23-.52-.32h.03c.45 0 .45-.69 0-.7-1.75-.03-3.5-.04-5.25-.14-1.38-.08-2.76-.21-4.15-.31-.07 0-.12.01-.17.04-.21-.07-.47.03-.45.31l.03.45c-.11.14-.19.3-.22.5-.21 1.26-.32 13.67-.36 23.59-.32 5.79-.67 11.57-.97 17.36-.09 1.73-.29 3.54-.21 5.3-.39.02-.38.64.04.69v.12c.05.44.74.45.7 0v-.06c1.1.09 2.2.21 3.3.3 1.14.19 2.44.2 3.29.17 1.73-.05 2.92-.05 3.8-.37.45-.05.9-.11 1.35-.17.44-.06.25-.73-.19-.67h-.01c.24-.32.45-.72.62-1.25.66-1.84.41-6.36.34-11.33l-.13-9.9.02.01Zm-12.26 18.17c.09-1.91.2-3.81.31-5.71.06 5.38 0 6.14-.01 6.51-.05 1.65-.21 2.81.72 3.66-.39-.04-.78-.07-1.17-.1-.06-1.44.09-2.93.16-4.35l-.01-.01ZM588.97 53.85c-2.06-.25-3.17-.51-3.76-.6a.3.3 0 0 1 .04-.08c.22-.39-.39-.75-.6-.35-.56 1.02-.9 2.19-1.26 3.29-.61 1.88-1.17 3.78-1.72 5.68-.63 2.19-1.24 4.39-1.83 6.59-.81 2.03-1.67 4.05-2.61 6.03-1.7-3.64-3.11-6.04-4.03-7.57-2.26-3.74-2.85-5.48-3.57-6.08l.31-.09c.43-.12.25-.8-.19-.67-1.06.3-2.12.6-3.17.95-.93.32-1.85.69-2.76 1.07-.13.05-.19.16-.22.27-.04.02-.08.05-.11.07-.04-.06-.07-.12-.11-.18a.354.354 0 0 0-.48-.12c-.16.09-.22.32-.13.48l.33.54c0 .09.02.18.06.28.51 1.16.78 1.38.72 1.47-2.42 3.44-5.41 7.86-6.2 9.1-1.27 1.97-2.01 3.14-2.45 3.84l-.91-6.56-.43-4.1c-.19-1.85-.37-3.23-.53-4.13-.19-1.1-.3-2.15-.45-3.16-.2-1.36-.29-2.06-.47-2.42h.04c.45.02.45-.68 0-.7-3.43-.16-6.81.94-10.17 1.48-.24-.22-.73-.04-.58.32.24.59.33 1.25.43 1.87.17 1.06.29 2.13.4 3.2.32 3.09.53 6.2.74 9.3.44 6.75.77 13.51 1.17 20.26.11 1.95.13 3.96.46 5.89.05.3.37.31.55.14.74 1.71 2.87 1.27 6.13 1.27 1.34 0 2.39.04 2.99-.11.02.32.48.53.63.18 3.61-8.26 7.41-16.46 12.05-24.2.03-.05.04-.1.05-.15.3.73.64 1.45.94 2.16.97 2.26 1.97 4.52 2.98 6.76 2.26 5.03 4.54 10.07 7.09 14.96.47.9.94 1.79 1.47 2.65.2.32.4.67.66.96-.18.25 0 .68.34.54.91-.38 1.82-.75 2.76-1.07 1.04-.35 2.11-.65 3.17-.95.39-.11.28-.66-.07-.68.62-.4.95-.96.87-1.91-.3-3.34.72-7.47.86-8.52l2.14-11.43c1.75-10.74 3.13-17.51 3.23-20.86.02-.49.08-2.84.13-3.24.17-1.25.48-1-4.96-1.65l.03-.02Zm-46.19 5.67c-.04-.24-.09-.48-.15-.71l.85-.15c-.34.24-.56.53-.7.86Zm1.95 25.12c-.36-6.63-.7-13.26-1.32-19.87 0 .02 0 .04.01.06.29 1.65.44 2.47.56 2.89 1 8.46 1.5 16.14 1.46 22.8-.06.99-.1 2-.11 3.02-.01.29-.03.68-.05 1.12-.01-.26-.03-.53-.04-.78-.19-3.08-.35-6.16-.52-9.23l.01-.01Zm36.4 18.66c-.11-.11-.24-.29-.37-.49.35.21.74.26 1.17.16-.27.11-.53.22-.8.32v.01Zm-.89-33.72c.12-.43.23-.86.35-1.29.71-1.77 1.41-3.55 2.08-5.33-.15.68-.26 1.22-.31 1.55-.5 2.94-2.13 7.59-3.58 13.36-.15-.35-.29-.66-.43-1 .61-2.44 1.25-4.87 1.9-7.3l-.01.01Zm3.56-12.48c.14-.44.28-.89.42-1.34-.13.7-.27 1.41-.42 2.11-.43 1.19-.86 2.38-1.31 3.57.42-1.45.85-2.9 1.31-4.34Zm-5.22 16.05c-.11.44-.23.87-.35 1.31-.12.46-.23.92-.35 1.38-.1-.22-.19-.4-.28-.61.34-.69.66-1.38.97-2.08h.01Zm-11.64 2.62c.06-.1.12-.19.17-.28.05.13.09.26.14.39a.398.398 0 0 0-.31-.11Zm2.3 2.98c-.56-1.3-1.25-2.63-1.65-3.99 0 0 .01-.02.02-.02.06.08 1.52 2.93 1.63 3.08.73 1.13 3.38 7.04 5.67 12.26 1.2 2.73 2.08 5.17 2.83 7.18-.62-1.25-1.23-2.51-1.83-3.78-2.31-4.87-4.53-9.78-6.67-14.73ZM275.92 87.03c-1.06-2.18-1.13-3.45-2.44-2.93-1.52.57-2.94 1.3-4.5 2.1-1.4.72-2.68 1.44-3.92 2.12.01-.25-.24-.5-.51-.34-4.8 2.93-12.41 4.7-17.28 1.31-1.98-1.77-3.32-4.15-3.97-5.78-.29-.95-.49-1.94-.63-2.93-.14-3.34 1.58-6.53 3.9-9.12.8-.79 1.68-1.51 2.66-2.12 3.7-2.3 8.22-3.07 12.51-2.51 2.71.35 5.32 1.24 7.71 2.55.39.22.75-.39.35-.6-.18-.1-.37-.18-.55-.27.56.27 1.03.33 1.51.19l-.48.39c-.15.11-.23.3-.13.48.09.15.33.24.48.13 1.3-.97 2.46-2.09 3.45-3.37.37-.29.64-.6.65-.97v-.02c.08-.33-.03-.7-.21-1.08-.31-.87-.98-2.01-2.19-3.26-2.43-2.52-3.79-3.45-5.68-4.26-1.14-.49-3.12-1.06-4.42-1.23-3.28-.42-10.64-1.21-18.18 4.11-7.74 5.46-11.94 12.3-12.23 20.61-.08 2.06.04 3.98.34 5.71.74 4.18 2.57 8 5.44 11.34 4.26 4.99 9.76 7.52 16.34 7.52 4.85 0 9.69-1.77 14.89-4.62.23-.12.45-.23.68-.35 2.19-1.1 4.37-2.23 6.46-3.5.49-.3 1.03-.61 1.5-.98 1.47-.87 1.11-1.12.49-2.95-.39-1.14-.76-2.7-2.06-5.36l.02-.01Zm-17.38-21.76c3.05-.42 6.31.79 9.36 2.35.51.39.94.68 1.33.87-5.61-2.86-12.72-3.39-18.44-.79 2.05-1.33 4.24-1.95 7.74-2.44l.01.01ZM443.67 72.67c-.4-2.2-1.15-4.33-2.37-6.22-1.49-2.32-3.58-4.19-5.91-5.64-6.17-3.81-13.75-5.11-20.83-6.01-3.23-.41-6.47-.69-9.72-.92l-1.39-.12c-.85-.07-1.52-.1-2.05-.1-1.08-.06-2.17-.12-3.25-.17-.08 0-.14.02-.19.05-.1.05-.18.14-.16.3.27 2.55-.01 5.12-.92 7.52-.15.38.4.56.62.28 1.32.59 2.68 1.05 4.08 1.37 0 2.78-.14 7.58-.33 12.91 0 0 0 .02-.01.03-.61 3.66-.79 7.42-1 11.12-.23 4.01-.43 8.03-.44 12.05 0 .64 0 1.28.03 1.93.02.31 0 .68.15.96.06.11.14.16.24.17-.2.17-.21.54.11.59 3.83.67 7.78.71 11.68.25 2.3-.19 4.87-.65 7.65-1.56 1.85-.54 3.67-1.18 5.43-1.91 7.2-3.02 14.31-8.07 17.35-15.53.76-1.86 1.17-3.8 1.31-5.75.3-1.93.28-3.82-.09-5.58l.01-.02Zm-19.32-15.42c5.74 1.41 11.94 3.68 15.65 8.55.25.32.47.65.69.99-2.3-2.82-5.68-5.69-12.88-8.23-2.16-.76-4.35-1.43-6.64-2.02 1.06.21 2.13.45 3.18.71Zm-25.82-3.04c.13 0 .27.01.4.02-.14.1-.26.23-.37.38 0-.13-.02-.26-.03-.4Zm34.82 22.17c-.75 3.09-3.55 5.66-5.88 7.58-3.35 2.76-7.21 5.03-11.28 6.54-1.33.49-2.71.9-4.12 1.15.06-1.38.08-2.76.07-4.13-.02-3.78-.16-7.56-.41-11.33-.09-1.37-.18-2.74-.37-4.1 0-.06-.03-.11-.06-.15.09-3.25.12-6.16.03-8.12 6.86 1.05 10.56 2.17 14.06 3.62 5.52 2.28 8.59 5.44 7.97 8.96l-.01-.02Zm-22 16.15c-.12 0-.23-.02-.34-.03l.34-.03v.06Zm-.69-.7c0-3.13.26-8.84.47-14.51.06 1.2.11 2.41.15 3.6.15 3.6.25 7.23.09 10.83-.24.03-.48.05-.71.07v.01Zm-12.33-30.94c.37.63 2.01 1.01 3.23 1.25v.15c-1.31-.31-2.59-.73-3.83-1.29.12-.36.23-.72.33-1.09.08.48.18.84.27.98Zm13.7 31.65v-.18c3.41-.56 6.71-2.02 9.69-3.68 2.31-1.28 4.59-2.78 6.63-4.53-4.69 4.53-11.61 8.24-16.33 8.38l.01.01Zm24.07-.75c-2.05 1.93-4.37 3.56-6.83 4.95 2.7-1.78 5.52-4.03 8.42-6.87.82-.82 1.56-1.69 2.23-2.59-1.08 1.65-2.38 3.16-3.81 4.51h-.01ZM187.16 92.14c-.79-2.47-2.1-7.12-3.1-6.87-.19-.01-2.09.77-4.08 1.54-3.06 1.18-5.91 2.13-10.09 2.82-2.74.42-5.87 1.01-10.61 1.06.04-3.34.05-6.01.05-7.99 7.97-.65 12.33-2.11 16.37-3.55 1.11-.39 2.69-1.01 2.63-1.8-.08-.35-.55-1.39-1.17-2.61-.47-1.16-.98-2.31-1.61-3.38-.42-.71-1.04-1.69-1.86-2.06-.11-.08-.22-.13-.29-.12-.02 0-.04 0-.07.01-.19-.04-.39-.05-.6-.01-.17.03-.24.15-.25.28-.04.02-.09.04-.14.05-4.33 1.48-8.85 2.33-13.24 3.61a499.1 499.1 0 0 0-.31-8.19c4.51-.99 8.88-1.38 13.11-1.82 3.68-.38 6.28.12 7.47.34.59.11.9.16 1.16.18h.1c-.1.37.44.66.62.28.02-.04.03-.08.05-.13.15.2.53.22.62-.1.17-.58.19-1.21.21-1.81v-.36c.03-.15.05-.3.07-.45.52-2.47.33-5.09-.64-7.44-.11-.27-.44-.28-.6-.14-.08-.21-.15-.42-.24-.62-.19-.41-.79-.05-.6.35.03.07.05.15.09.22-.98-.42-2.15-.54-3.17-.63-2.17-.19-4.37-.14-6.54 0-5.7.35-11.4 1.3-16.91 2.79-2.08.56-4.13 1.22-6.14 2-4.54 1.05-3.79 1.51-2.17 6.07.18.51.46 1.68.54 1.94.82 2.47 1.08 2.13 3.1 2.13s0 .05 0 .08h.52c-.48 2.66-.51 5.45-.62 8.13-.15 3.48-.22 6.96-.28 10.45 0 .41-.01.82-.02 1.23-.16.29-.33.57-.51.85-.05.38-.09.77-.14 1.18-.42 3.52-.59 6.48-.52 8.8v.34c.02.47.05.76.06.87.16 1.57-.26 3.47 1.35 3.79 1.61.32 3.5.55 4.85.55.11 0 .22-.02.33-.02 1.79.24 3.67.05 5.45-.12 2.85-.28 5.69-.7 8.51-1.19 3.03-.53 6.05-1.14 9.04-1.86 2.4-.58 4.82-1.19 7.13-2.06.51-.19 1.73-.57 2.46-1.14 1.81-.68 2.18-1 1.57-2.67-.23-.62-.48-1.49-.91-2.78l-.03-.02Zm-11.12-38.71c.89.05 1.93.08 2.89.3-.33 0-.68-.02-1.06-.03-8.28-.26-14.88.75-23.97 2.51 2.41-.64 4.85-1.16 7.28-1.59 4.87-.86 9.91-1.45 14.86-1.19Zm-26.53 22.13c.03 1.71.04 3.43 0 5.14-.04 1.27-.11 2.55-.24 3.82 0-.73.02-1.46.04-2.19.05-2.26.12-4.51.22-6.77h-.02Zm6.73 27.85c.2-.1.4-.21.58-.33 1.82-.17 3.82-.24 5.94-.34-.86.11-1.72.24-2.58.33-1.27.14-2.61.31-3.93.34h-.01ZM534.48 85.44c-3.52-8.38-7.07-16.75-10.5-25.17-.63-1.54-1.25-3.09-1.86-4.65-.31-.8-.65-1.6-.87-2.43-.04-.17-.17-.24-.31-.25.1-.2 0-.51-.29-.53-1.59-.08-3.18-.22-4.78-.25-1.96-.03-3.91.13-5.84.42-.31.05-.31.38-.13.56-.03.06-.05.14-.04.22.23 1.54.63 3.06 1.16 4.53.13.35.27.7.41 1.06l-2.68 6.18c-.11.03-.2.09-.25.22-.67 1.9-1.52 3.73-2.34 5.56a536.85 536.85 0 0 1-3.9 8.45c-2.64 5.64-5.34 11.25-7.91 16.93-.44.97-.88 1.94-1.29 2.93-.2.48-.47 1-.55 1.52v.05c-.02.12.02.26.16.34 1.19.73 2.41 1.41 3.66 2.05 1.2.62 2.45 1.25 3.76 1.61.43.12.62-.55.19-.67-1.13-.31-2.2-.83-3.24-1.36 1.09.36 2.1.69 2.75.93 2.82 1.01 2.38 1.1 4.3-3.75 2.1-1.09 4.34-1.96 6.53-2.79 4.35-1.64 8.8-3.03 13.27-4.29.82 2.01 1.77 3.97 2.72 5.92.35.83.62 1.45.79 1.82.22.42.45.8.69 1.15.17.33.33.67.5 1 .42.8.84 1.63 1.4 2.35.23.29.6 0 .55-.31 1.53-.02 3.06-.07 4.58-.27.92-.12 1.82-.32 2.71-.54 1.39-.27 3.85-1.11 3.74-1.42-.67-1.96-1.55-3.87-2.34-5.78-1.57-3.78-3.16-7.56-4.75-11.33v-.01Zm-11.65-26.16c1.54 3.81 3.12 7.6 4.7 11.4 2.94 7.05 5.91 14.09 8.87 21.13l-1.06-2.17c-2.71-5.51-5.2-11.19-7.41-16.87l-6.65-17.15c-.65-1.45-.55-2.19-.93-2.53.09 0 .18.01.28.02a.29.29 0 0 0-.04.26c.52 2.02 1.47 3.98 2.25 5.91h-.01Zm-6.58 13.58c.05-.15.09-.31.14-.46 1.41 3.92 2.88 7.9 4.39 11.87-3.22.52-6.38 1.25-9.46 2.14.55-1.22 1.05-2.46 1.53-3.7 1.24-3.24 2.37-6.53 3.39-9.85h.01Zm-.23-20c.36 0 .73.03 1.09.05-2.15.1-5.18.33-5.87.74-.24.15-.41.3-.53.45-.06-.29-.13-.58-.18-.88 1.82-.26 3.65-.39 5.49-.35v-.01Zm-.09 18.72c-.49 1.67-1.05 3.33-1.6 4.97-1.07 3.19-2.19 6.38-3.57 9.46-.09.21-.19.43-.29.65-.25.07-.5.14-.74.22 2.53-6.16 4.61-11.29 6.2-15.3Zm-6.34 25.16c4.97-2.38 9.37-4.1 14.02-5.27l.26.64c-4.8 1.35-9.63 2.8-14.28 4.63Zm20.17 6.76c.33.23.68.42 1.04.56h-.33c-.12 0-.21.06-.26.13-.15-.23-.31-.45-.45-.7v.01ZM226.57 91.75c-3.55-4.74-6.68-9.11-9.31-12.99 9.2-15.25 10.05-17.81 10.35-18.38.17-.34 1.09-2.27.64-2.53-1.13-.65-1.03-.65-2.97-1.71-1.19-.65-3.04-1.61-4.53-2.12-1.71-.59-1.24-.36-3 2.77-.06.1-.11.2-.17.3-.75 1.02-1.48 2.05-2.2 3.09-1.88 2.71-3.73 5.45-5.69 8.1-3.68-4.91-6.88-8.76-9.51-11.43-.15-.15-.3-.29-.46-.42-1.27-1.28-7.24 3.53-7.93 5.58-.09.09-.19.16-.28.25-.27.26.03.64.33.58.19.65.5 1.29.94 1.91 3.85 5.06 7.19 9.76 9.94 14-1.23 2.61-3.06 5-4.67 7.38l-2.28 3.33c-.5.66-.93 1.23-1.29 1.69-.67.93-2.09 2.61-2.3 3.87-.51.85-1.16 1.84-1.29 2.83-.06.44.61.63.67.19.01-.08.04-.15.06-.22 1.36 1.08 2.76 2.11 4.19 3.11 1.3.91 2.62 1.85 4.04 2.56.21.1.4 0 .48-.17.24.07.48.14.72.2.44.1.62-.57.19-.67-2.02-.48-3.77-1.57-5.23-3.02-.47-.46-.9-.96-1.32-1.46 1.74 1.35 4.2 2.89 5.89 4.14 1.39 1.03 2.85-2.27 4.22-4.2 1.86-2.64 3.96-5.86 5.52-8.29l10.39 14.51c.67.81 1.14 1.21 1.57 1.36-.05.24.12.51.41.4 1.53-.58 3.05-1.19 4.54-1.87 1.52-.69 3.06-1.45 4.36-2.5a.28.28 0 0 0 .12-.23c1.66-1.1.81-1.74-1.41-4.91-1.13-1.58-1.71-2.36-3.7-5.01l-.03-.02Zm2.41 6.54c.56 1.15 1.19 2.52 1.11 3.81-.06.04-.12.07-.17.1-.03-.88-.55-2.66-.94-3.91Zm-16.51-32.73c1.86-2.65 3.65-5.35 5.57-7.95.4-.55.81-1.13 1.26-1.66.19-.18.38-.33.56-.45.18.03.36.08.55.13l-8.05 10.11.12-.18h-.01ZM192.7 95.48c.79-1.37 1.66-2.69 2.54-4 1.19-1.79 2.4-3.56 3.61-5.33-.04.09-.09.17-.13.26-.1.22.03.41.2.49-2.47 3.42-4.89 6.73-6.4 9.28.21.24.4.48.63.75-.24.07-.4.36-.17.56.4.33.72.77 1.05 1.17.09.11.18.21.27.32-.84-.61-1.66-1.24-2.47-1.88.24-.57.58-1.11.87-1.61v-.01Zm7.46-10.32c.47-.81.98-1.59 1.49-2.37.31-.48.64-.95.96-1.43.26-.29.52-.56.75-.79-.99 1.48-2.09 3.03-3.2 4.59Zm10.03-16.22s-.03-.05-.05-.07c.22-.29.43-.59.64-.89-.2.32-.4.65-.58.96h-.01ZM371.54 87.96c-.01-.08-.01-.16-.03-.23-.06-.38-.58-.29-.66.03-.3-.05-.6-.08-.81-.11-1.14-.15-2.29-.19-3.44-.2 1.04-.09 2.09-.18 3.14-.23.45-.02.45-.72 0-.7-6.57.35-13.14 1.23-19.65 2.11-1.53.21-3.05.42-4.57.68-.01 0-.02.01-.04.01-.04-3.33-.13-6.66-.24-9.99-.19-5.7-.4-11.41-.88-17.1-.13-1.51-.23-3.07-.49-4.58 0-.25 0-.48-.02-.68-.06-1.19-.04-2.61-.68-2.78-.16-.07-.72-.16-1.5-.24.22-.17.16-.62-.2-.63-1.19-.04-2.39.09-3.57.23-1.2.14-2.41.32-3.59.6-.16-.1-.41-.06-.5.12-.06.02-.13.03-.19.05-.35.1-.29.55-.03.66-.26.6-.19 2.27-.21 3-.02.66-.66 33.73-.9 40.3-.03.65.06 1.12.04 1.45-.16 3.05.87 4.96 6.34 3.93 1.09-.08 2.75-.77 5.36-1.43 4.13-1.04 5.78-1.52 6.2-1.65 6.43-1.69 6.78-1.97 11.72-2.43.55-.05 4.8-.38 6.03-.3.64.04 1.19.07 1.65.1.09 0 .16-.03.24-.05.1.27.56.33.66-.02.39-1.32.61-2.71.78-4.08.2-1.61.29-3.24.15-4.86.24.03.52-.23.38-.53-.09-.2-.27-.33-.49-.43v-.02Zm-.63.56c.07.57.11 1.14.11 1.71-.21-.99-.53-1.71-.95-1.87.22.03.44.06.65.11.06.01.12.04.19.05Zm-25.41 1.73c1.54-.36 3.1-.64 4.66-.89-1.61.37-3.18.77-4.66 1.2v-.31Zm-.86-7.37c-.07-1.37-.16-2.75-.25-4.12-.21-3.13-.45-6.27-.79-9.4.02-2.25.08-4.31.13-6.11.16 2.08.29 4.16.4 6.24.23 4.46.38 8.93.5 13.39h.01Zm-.94-4c.16 2.41.29 4.83.39 7.24.06 1.6.14 3.22.09 4.83-.15.05-.32.09-.47.14V78.88h-.01ZM483.72 92.83c-3.05-2.28-6.22-4.4-9.38-6.51 8.86-6.49 13.49-12.95 13.73-19.23.04-.76 0-1.5-.13-2.2-.67-3.82-3.5-6.68-8.39-8.48.13.04.27.08.4.13 3.92 1.39 7.74 4.23 8.5 8.56.34 1.95-.05 3.96-.98 5.69-.21.4.39.75.6.35 1.86-3.46 1.46-7.55-.97-10.63-3.53-4.47-9.76-5.88-15.16-6.16-2.32-.12-4.64-.04-6.95.19-6 .32-12.71 1.68-17.63 3.21-.37.11-.67.23-.92.35-.2-.17-.62.02-.57.37v.03c-.64.68-.18 1.64.48 3.21.38.91.67 1.89 1.15 2.58.32.76.68 1.51 1.13 2.19.14.21.38.19.53.07.19-.02.38-.05.57-.08v1.57c-.06.06-.1.13-.11.23-.27 4.18-.34 8.38-.48 12.57l-.3 9.03c-.24 3.91-.44 6.77-.46 7.26-.05.88-.11 1.95.07 2.81-.01.22-.02.43-.04.65 0 .11-.02.23-.03.35 0 .05-.03.27-.01.16-.05.4.5.59.64.28.05.04.12.08.2.08 1.75.13 3.5.28 5.25.3 1.69.02 3.38-.12 5.06-.32.08.23.36.39.55.15.06-.08.11-.17.16-.26.18-.09.24-.32.18-.48.05-.2.1-.4.13-.6.16-.86.25-1.74.33-2.62.11-1.17.17-2.34.23-3.51.15-.01.32-.03.52-.04.36-.03 1.73-.15 2.06-.15.39 0 .7-.02.95-.04 1.76 1.11 3.45 2.35 5.14 3.55 2.83 2.01 5.64 4.04 8.47 6.04 1.42 1 2.85 2 4.29 2.97.1.06.19.07.27.04.08 0 .17-.02.25-.1 1.61-1.56 3.15-3.18 4.6-4.88.75-.88 1.49-1.78 2.15-2.73.01.01.03.02.04.03.34.3.83-.2.49-.49-2.16-1.9-4.34-3.76-6.64-5.48l.03-.01Zm-6.38-3.65a55.72 55.72 0 0 0-4-2.13c.14-.1.26-.19.4-.29 1.2.81 2.4 1.61 3.6 2.42Zm-20.1 11.78c.67-.37 1.23-.91 1.67-1.6-.11.5-.24 1-.38 1.49-.43.04-.86.08-1.29.11Zm2.38-37.24c1.34-.31 2.56-.52 3.71-.69-1.03.19-2.04.41-3.04.65-.14-.07-.34-.02-.45.11-.07.02-.15.04-.22.05v-.13.01Zm.04.84c.07-.02.14-.03.2-.05.34 1.66.41 3.41.5 5.09.17 2.9.24 5.81.28 8.71l.03 3.17c-.17.07-.34.14-.51.2-.06-4.96-.21-10.58-.51-17.12h.01Zm16.04 5.62c-1.16 2.25-3.06 4.1-5.02 5.66-2.8 2.23-5.99 3.97-9.3 5.35-.01-3.56-.09-7.12-.27-10.67-.1-2.04-.16-4.16-.57-6.18 3.3-.78 6.72-1.36 10.1-1.1 1.85.14 4.23.59 5.32 2.29.92 1.43.46 3.24-.26 4.65Zm.85-.18c.6-1.37.9-2.92.28-4.32-.67-1.52-2.2-2.32-3.76-2.74.46.1.89.21 1.29.37 1.74.67 2.69 1.88 2.93 3.21.2 1.13-.05 2.25-.74 3.47V70Zm-27.47-4.14c-.12-.19-.23-.38-.34-.57.74.42.85.36.99.41v.08c-.22.03-.43.06-.65.08Zm11.21 30.46c-.08 1.08-.16 2.17-.33 3.24-.05.35-.11.69-.2 1.03 0 .04-.02.07-.03.11-.15.02-.3.04-.45.05.45-1.64.76-3.36.79-5.07.03-.29.08-.57.1-.89-.03-.31-.03-.47.24-.57-.04.69-.07 1.39-.12 2.08v.02Zm5.6-2.47c.48.11.92.52 2.49 1.72-.46-.32-.92-.65-1.38-.97-.37-.25-.73-.5-1.1-.75h-.01Zm21.23 7.24a70.76 70.76 0 0 1-4.37 4.63c-.14-.09-.27-.19-.4-.28.19-.09.37-.24.55-.47.87-1.14 5.43-5.51 5.49-7.45.31.26.62.53.92.79-.67.97-1.42 1.88-2.19 2.77v.01Z",fill:"currentColor",transform:"translate(-144.023 -51.76)"})]})},Oe=function(xt){var At=xt.style,Tt=xt.size,nr=Tt===void 0?"small":Tt,yr=xt.withText;return(0,S.jsxs)("div",{className:"ExcalidrawLogo is-".concat(nr),style:At,children:[(0,S.jsx)(ye,{}),yr&&(0,S.jsx)(Ee,{})]})},ge=["onSelect","children","icon","shortcut","className"],ue=["children","href","icon","shortcut","className"];function se(xt,At){var Tt=Object.keys(xt);if(Object.getOwnPropertySymbols){var nr=Object.getOwnPropertySymbols(xt);At&&(nr=nr.filter(function(yr){return Object.getOwnPropertyDescriptor(xt,yr).enumerable})),Tt.push.apply(Tt,nr)}return Tt}function j(xt){for(var At=1;At<arguments.length;At++){var Tt=arguments[At]!=null?arguments[At]:{};At%2?se(Object(Tt),!0).forEach(function(nr){(0,Y.Z)(xt,nr,Tt[nr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xt,Object.getOwnPropertyDescriptors(Tt)):se(Object(Tt)).forEach(function(nr){Object.defineProperty(xt,nr,Object.getOwnPropertyDescriptor(Tt,nr))})}return xt}var i=function(xt){var At=xt.icon,Tt=xt.shortcut,nr=xt.children,yr=(0,ce.Fy)();return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"welcome-screen-menu-item__icon",children:At}),(0,S.jsx)("div",{className:"welcome-screen-menu-item__text",children:nr}),Tt&&!yr.editor.isMobile&&(0,S.jsx)("div",{className:"welcome-screen-menu-item__shortcut",children:Tt})]})};i.displayName="WelcomeScreenMenuItemContent";var s=function(xt){var At=xt.onSelect,Tt=xt.children,nr=xt.icon,yr=xt.shortcut,kr=xt.className,Tr=kr===void 0?"":kr,Or=(0,V.Z)(xt,ge);return(0,S.jsx)("button",j(j({},Or),{},{type:"button",className:"welcome-screen-menu-item ".concat(Tr),onClick:At,children:(0,S.jsx)(i,{icon:nr,shortcut:yr,children:Tt})}))};s.displayName="WelcomeScreenMenuItem";var O=function(xt){var At=xt.children,Tt=xt.href,nr=xt.icon,yr=xt.shortcut,kr=xt.className,Tr=kr===void 0?"":kr,Or=(0,V.Z)(xt,ue);return(0,S.jsx)("a",j(j({},Or),{},{className:"welcome-screen-menu-item ".concat(Tr),href:Tt,target:"_blank",rel:"noreferrer",children:(0,S.jsx)(i,{icon:nr,shortcut:yr,children:At})}))};O.displayName="WelcomeScreenMenuItemLink";var z=function(xt){var At=xt.children,Tt=(0,E.R6)().WelcomeScreenCenterTunnel;return(0,S.jsx)(Tt.In,{children:(0,S.jsx)("div",{className:"welcome-screen-center",children:At||(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(K,{}),(0,S.jsx)($,{children:(0,k.t)("welcomeScreen.defaults.center_heading")}),(0,S.jsxs)(Q,{children:[(0,S.jsx)(be,{}),(0,S.jsx)(ae,{})]})]})})})};z.displayName="Center";var K=function(xt){var At=xt.children;return(0,S.jsx)("div",{className:"welcome-screen-center__logo virgil welcome-screen-decor",children:At||(0,S.jsx)(Oe,{withText:!0})})};K.displayName="Logo";var $=function(xt){var At=xt.children;return(0,S.jsx)("div",{className:"welcome-screen-center__heading welcome-screen-decor virgil",children:At})};$.displayName="Heading";var Q=function(xt){var At=xt.children;return(0,S.jsx)("div",{className:"welcome-screen-menu",children:At})};Q.displayName="Menu";var ae=function(){var xt=(0,ce.eh)();return(0,S.jsx)(s,{onSelect:function(){return xt.executeAction(ie.jY)},shortcut:"?",icon:Ae.by,children:(0,k.t)("helpDialog.title")})};ae.displayName="MenuItemHelp";var be=function(){var xt=(0,ee.I)(),At=(0,ce.eh)();return xt.viewModeEnabled?null:(0,S.jsx)(s,{onSelect:function(){return At.executeAction(ie._d)},shortcut:(0,we.C)("loadScene"),icon:Ae.Tl,children:(0,k.t)("buttons.load")})};be.displayName="MenuItemLoadScene";var Ce=function(xt){var At=xt.onSelect,Tt=(0,k.QT)().t;return(0,S.jsx)(s,{shortcut:null,onSelect:At,icon:Ae.jn,children:Tt("labels.liveCollaboration")})};Ce.displayName="MenuItemLiveCollaborationTrigger",z.Logo=K,z.Heading=$,z.Menu=Q,z.MenuItem=s,z.MenuItemLink=O,z.MenuItemHelp=ae,z.MenuItemLoadScene=be,z.MenuItemLiveCollaborationTrigger=Ce;var Ze=function(xt){var At=xt.children,Tt=(0,E.R6)().WelcomeScreenMenuHintTunnel;return(0,S.jsx)(Tt.In,{children:(0,S.jsxs)("div",{className:"virgil welcome-screen-decor welcome-screen-decor-hint welcome-screen-decor-hint--menu",children:[Ae.oQ,(0,S.jsx)("div",{className:"welcome-screen-decor-hint__label",children:At||(0,k.t)("welcomeScreen.defaults.menuHint")})]})})};Ze.displayName="MenuHint";var Be=function(xt){var At=xt.children,Tt=(0,E.R6)().WelcomeScreenToolbarHintTunnel;return(0,S.jsx)(Tt.In,{children:(0,S.jsxs)("div",{className:"virgil welcome-screen-decor welcome-screen-decor-hint welcome-screen-decor-hint--toolbar",children:[(0,S.jsx)("div",{className:"welcome-screen-decor-hint__label",children:At||(0,k.t)("welcomeScreen.defaults.toolbarHint")}),Ae.DJ]})})};Be.displayName="ToolbarHint";var Te=function(xt){var At=xt.children,Tt=(0,E.R6)().WelcomeScreenHelpHintTunnel;return(0,S.jsx)(Tt.In,{children:(0,S.jsxs)("div",{className:"virgil welcome-screen-decor welcome-screen-decor-hint welcome-screen-decor-hint--help",children:[(0,S.jsx)("div",{children:At||(0,k.t)("welcomeScreen.defaults.helpHint")}),Ae._U]})})};Te.displayName="HelpHint";var He=e(1569),Ve={};Ve.styleTagTransform=r(),Ve.setAttributes=b(),Ve.insert=M().bind(null,"head"),Ve.domAPI=U(),Ve.insertStyleElement=h(),le()(He.Z,Ve),He.Z&&He.Z.locals&&He.Z.locals;var Je=function(xt){return(0,S.jsx)(S.Fragment,{children:xt.children||(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(z,{}),(0,S.jsx)(Ze,{}),(0,S.jsx)(Be,{}),(0,S.jsx)(Te,{})]})})};Je.displayName="WelcomeScreen",Je.Center=z,Je.Hints={MenuHint:Ze,ToolbarHint:Be,HelpHint:Te};var Me=Je,me=e(8806),Se=e(3397),Ne={};Ne.styleTagTransform=r(),Ne.setAttributes=b(),Ne.insert=M().bind(null,"head"),Ne.domAPI=U(),Ne.insertStyleElement=h(),le()(Se.Z,Ne),Se.Z&&Se.Z.locals&&Se.Z.locals;var Ye=["isCollaborating","onSelect"];function Qe(xt,At){var Tt=Object.keys(xt);if(Object.getOwnPropertySymbols){var nr=Object.getOwnPropertySymbols(xt);At&&(nr=nr.filter(function(yr){return Object.getOwnPropertyDescriptor(xt,yr).enumerable})),Tt.push.apply(Tt,nr)}return Tt}function rt(xt){for(var At=1;At<arguments.length;At++){var Tt=arguments[At]!=null?arguments[At]:{};At%2?Qe(Object(Tt),!0).forEach(function(nr){(0,Y.Z)(xt,nr,Tt[nr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xt,Object.getOwnPropertyDescriptors(Tt)):Qe(Object(Tt)).forEach(function(nr){Object.defineProperty(xt,nr,Object.getOwnPropertyDescriptor(Tt,nr))})}return xt}var ft=function(xt){var At=xt.isCollaborating,Tt=xt.onSelect,nr=(0,V.Z)(xt,Ye),yr=(0,ee.I)();return(0,S.jsxs)(me.z,rt(rt({},nr),{},{className:(0,_.Z)("collab-button",{active:At}),type:"button",onSelect:Tt,style:{position:"relative"},title:(0,k.t)("labels.liveCollaboration"),children:[Ae.jn,yr.collaborators.size>0&&(0,S.jsx)("div",{className:"CollabButton-collaborators",children:yr.collaborators.size})]}))},at=ft;ft.displayName="LiveCollaborationTrigger";var ut=e(7651),Ot=e(7994),Pt=e(507),Et=e(4183),Mt=e(583),Yt=e(9326),lt=e(5902),ot=e(1925),mt=e(8020),pt=e(6199),ht=e(4949),yt=e(6013),Ct=["initialData","UIOptions"],Bt=["initialData","UIOptions"];function zt(xt,At){var Tt=Object.keys(xt);if(Object.getOwnPropertySymbols){var nr=Object.getOwnPropertySymbols(xt);At&&(nr=nr.filter(function(yr){return Object.getOwnPropertyDescriptor(xt,yr).enumerable})),Tt.push.apply(Tt,nr)}return Tt}function tr(xt){for(var At=1;At<arguments.length;At++){var Tt=arguments[At]!=null?arguments[At]:{};At%2?zt(Object(Tt),!0).forEach(function(nr){v()(xt,nr,Tt[nr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xt,Object.getOwnPropertyDescriptors(Tt)):zt(Object(Tt)).forEach(function(nr){Object.defineProperty(xt,nr,Object.getOwnPropertyDescriptor(Tt,nr))})}return xt}var cr=function(xt){var At,Tt,nr,yr,kr,Tr,Or=xt.onChange,Rt=xt.initialData,dt=xt.excalidrawAPI,gt=xt.isCollaborating,wt=gt!==void 0&>,Ut=xt.onPointerUpdate,ar=xt.renderTopRightUI,ir=xt.langCode,dr=ir===void 0?k.Fp.code:ir,br=xt.viewModeEnabled,hr=xt.zenModeEnabled,Ir=xt.gridModeEnabled,wr=xt.libraryReturnUrl,sr=xt.theme,fr=xt.name,pr=xt.renderCustomStats,jr=xt.onPaste,Pr=xt.detectScroll,Mr=Pr===void 0||Pr,$r=xt.handleKeyboardGlobally,fn=$r!==void 0&&$r,Mn=xt.onLibraryChange,Zn=xt.autoFocus,zn=Zn!==void 0&&Zn,Cn=xt.generateIdForFile,vn=xt.onLinkOpen,Ln=xt.onPointerDown,We=xt.onScrollChange,pe=xt.children,_e=xt.validateEmbeddable,De=xt.renderEmbeddable,Xe=(At=xt.UIOptions)===null||At===void 0?void 0:At.canvasActions,St=tr(tr({},xt.UIOptions),{},{canvasActions:tr(tr({},u.cW.canvasActions),Xe),tools:{image:(Tt=(nr=xt.UIOptions)===null||nr===void 0||(yr=nr.tools)===null||yr===void 0?void 0:yr.image)===null||Tt===void 0||Tt}});return Xe!=null&&Xe.export&&(St.canvasActions.export.saveFileToDisk=(kr=(Tr=Xe.export)===null||Tr===void 0?void 0:Tr.saveFileToDisk)!==null&&kr!==void 0?kr:u.cW.canvasActions.export.saveFileToDisk),St.canvasActions.toggleTheme===null&&sr===void 0&&(St.canvasActions.toggleTheme=!0),(0,I.useEffect)(function(){var Gt=function(Xt){typeof Xt.scale=="number"&&Xt.scale!==1&&Xt.preventDefault()};return document.addEventListener("touchmove",Gt,{passive:!1}),function(){document.removeEventListener("touchmove",Gt)}},[]),(0,S.jsx)(C.zt,{unstable_createStore:function(){return L.e_},scope:L.yE,children:(0,S.jsx)(J,{langCode:dr,theme:sr,children:(0,S.jsx)(ce.ZP,{onChange:Or,initialData:Rt,excalidrawAPI:dt,isCollaborating:wt,onPointerUpdate:Ut,renderTopRightUI:ar,langCode:dr,viewModeEnabled:br,zenModeEnabled:hr,gridModeEnabled:Ir,libraryReturnUrl:wr,theme:sr,name:fr,renderCustomStats:pr,UIOptions:St,onPaste:jr,detectScroll:Mr,handleKeyboardGlobally:fn,onLibraryChange:Mn,autoFocus:zn,generateIdForFile:Cn,onLinkOpen:vn,onPointerDown:Ln,onScrollChange:We,validateEmbeddable:_e,renderEmbeddable:De,children:pe})})})},mr=function(xt,At){if(xt.children!==At.children)return!1;xt.initialData;var Tt=xt.UIOptions,nr=Tt===void 0?{}:Tt,yr=w()(xt,Ct),kr=(At.initialData,At.UIOptions),Tr=kr===void 0?{}:kr,Or=w()(At,Bt),Rt=Object.keys(nr),dt=Object.keys(Tr);return Rt.length===dt.length&&Rt.every(function(gt){return gt==="canvasActions"?Object.keys(nr.canvasActions).every(function(wt){var Ut,ar,ir,dr;return wt==="export"&&nr!=null&&(Ut=nr.canvasActions)!==null&&Ut!==void 0&&Ut.export&&Tr!=null&&(ar=Tr.canvasActions)!==null&&ar!==void 0&&ar.export?nr.canvasActions.export.saveFileToDisk===Tr.canvasActions.export.saveFileToDisk:(nr==null||(ir=nr.canvasActions)===null||ir===void 0?void 0:ir[wt])===(Tr==null||(dr=Tr.canvasActions)===null||dr===void 0?void 0:dr[wt])}):nr[gt]===Tr[gt]})&&(0,he.w8)(yr,Or)},Ft=x().memo(cr,mr);Ft.displayName="Excalidraw"},507:function(fe,t,e){e.d(t,{y8:function(){return le},Fl:function(){return y},NL:function(){return b},i1:function(){return d},$D:function(){return h},N7:function(){return U.N7},cT:function(){return G.cT},lV:function(){return G.lV},ZY:function(){return G.ZY},zh:function(){return H.zh},I_:function(){return N.I_},NI:function(){return N.NI}});var P=e(8950),w=e(7169),m=e(2975),v=e.n(m),I=e(3668),x=e(6853),c=e(7994),f=e(9937),Z=e(250),N=e(4419),W=e(4694);function k(r){return[Math.min(r[0][0],r[1][0]),Math.min(r[0][1],r[1][1]),Math.max(r[0][0],r[1][0]),Math.max(r[0][1],r[1][1])]}function S(r,n){return r[0]*n[1]-n[0]*r[1]}function J(r,n){return[r[0]-n[0],r[1]-n[1]]}function ce(r,n){var p=S(J(r[1],r[0]),J(n,r[0]));return Math.abs(p)<1e-6}function he(r,n){return S(J(r[1],r[0]),J(n,r[0]))<0}function ve(r,n){return ce(r,n[0])||ce(r,n[1])||(he(r,n[0])?!he(r,n[1]):he(r,n[1]))}function le(r,n){return function(p,a){return p[0]<=a[2]&&p[2]>=a[0]&&p[1]<=a[3]&&p[3]>=a[1]}(k(r),k(n))&&ve(r,n)&&ve(n,r)}e(6013);var G=e(5796),U=e(9660),H=e(9326);function M(r,n){var p=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),p.push.apply(p,a)}return p}function A(r){for(var n=1;n<arguments.length;n++){var p=arguments[n]!=null?arguments[n]:{};n%2?M(Object(p),!0).forEach(function(a){(0,w.Z)(r,a,p[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(p)):M(Object(p)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(p,a))})}return r}var b=function(r){var n=r.elements,p=r.appState,a=r.files,l=r.maxWidthOrHeight,u=r.getDimensions,C=r.exportPadding,L=r.exportingFrame,_=(0,c.nu)({elements:n,appState:p},null,null),E=_.elements,D=_.appState,F=D.exportBackground,ee=D.viewBackgroundColor;return(0,I.NL)(E,A(A({},D),{},{offsetTop:0,offsetLeft:0,width:0,height:0}),a||{},{exportBackground:F,exportPadding:C,viewBackgroundColor:ee,exportingFrame:L},function(te,re){var oe,Y=document.createElement("canvas");if(l){var V;typeof u=="function"&&console.warn("`getDimensions()` is ignored when `maxWidthOrHeight` is supplied.");var ie=Math.max(te,re),we=l<ie?l/ie:(V=p?.exportScale)!==null&&V!==void 0?V:1;return Y.width=te*we,Y.height=re*we,{canvas:Y,scale:we}}var Ae=u?.(te,re)||{width:te,height:re};return Y.width=Ae.width,Y.height=Ae.height,{canvas:Y,scale:(oe=Ae.scale)!==null&&oe!==void 0?oe:1}})},y=function(){var r=(0,P.Z)(v().mark(function n(p){var a,l,u,C,L,_;return v().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return u=(l=p).mimeType,C=u===void 0?f.LO.png:u,L=l.quality,C===f.LO.png&&typeof L=="number"&&console.warn('"quality" will be ignored for "'.concat(f.LO.png,'" mimeType')),C==="image/jpg"&&(C=f.LO.jpg),C!==f.LO.jpg||(a=p.appState)!==null&&a!==void 0&&a.exportBackground||(console.warn('Defaulting "exportBackground" to "true" for "'.concat(f.LO.jpg,'" mimeType')),p=A(A({},p),{},{appState:A(A({},p.appState),{},{exportBackground:!0})})),E.next=6,b(p);case 6:return _=E.sent,L=L||(/image\/jpe?g/.test(C)?.92:.8),E.abrupt("return",new Promise(function(D,F){_.toBlob(function(){var ee=(0,P.Z)(v().mark(function te(re){var oe;return v().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(re){Y.next=2;break}return Y.abrupt("return",F(new Error("couldn't export to blob")));case 2:if(!re||C!==f.LO.png||(oe=p.appState)===null||oe===void 0||!oe.exportEmbedScene){Y.next=6;break}return Y.next=5,(0,Z.encodePngMetadata)({blob:re,metadata:(0,N.I_)(p.elements,p.appState,p.files||{},"local")});case 5:re=Y.sent;case 6:D(re);case 7:case"end":return Y.stop()}},te)}));return function(te){return ee.apply(this,arguments)}}(),C,L)}));case 9:case"end":return E.stop()}},n)}));return function(n){return r.apply(this,arguments)}}(),h=function(){var r=(0,P.Z)(v().mark(function n(p){var a,l,u,C,L,_,E,D,F,ee,te,re;return v().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return a=p.elements,l=p.appState,u=l===void 0?(0,x.im)():l,C=p.files,L=C===void 0?{}:C,_=p.exportPadding,E=p.renderEmbeddables,D=p.exportingFrame,F=(0,c.nu)({elements:a,appState:u},null,null),ee=F.elements,te=F.appState,re=A(A({},te),{},{exportPadding:_}),oe.abrupt("return",(0,I.$D)(ee,re,L,{exportingFrame:D,renderEmbeddables:E}));case 4:case"end":return oe.stop()}},n)}));return function(n){return r.apply(this,arguments)}}(),d=function(){var r=(0,P.Z)(v().mark(function n(p){var a;return v().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(p.type!=="svg"){l.next=8;break}return l.next=3,h(p);case 3:return a=l.sent,l.next=6,(0,W.dd)(a.outerHTML);case 6:case 11:case 16:l.next=19;break;case 8:if(p.type!=="png"){l.next=13;break}return l.next=11,(0,W.uR)(y(p));case 13:if(p.type!=="json"){l.next=18;break}return l.next=16,(0,W.vQ)(p.elements,p.files);case 18:throw new Error("Invalid export type");case 19:case"end":return l.stop()}},n)}));return function(n){return r.apply(this,arguments)}}()},6013:function(fe,t,e){e.d(t,{Ne:function(){return Z},Xs:function(){return W},sQ:function(){return N}});var P=e(2577),w=e(4183),m=e(2361),v=e(4949);function I(k,S){var J=typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(!J){if(Array.isArray(k)||(J=function(U,H){if(U){if(typeof U=="string")return x(U,H);var M=Object.prototype.toString.call(U).slice(8,-1);if(M==="Object"&&U.constructor&&(M=U.constructor.name),M==="Map"||M==="Set")return Array.from(U);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return x(U,H)}}(k))||S&&k&&typeof k.length=="number"){J&&(k=J);var ce=0,he=function(){};return{s:he,n:function(){return ce>=k.length?{done:!0}:{done:!1,value:k[ce++]}},e:function(U){throw U},f:he}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ve,le=!0,G=!1;return{s:function(){J=J.call(k)},n:function(){var U=J.next();return le=U.done,U},e:function(U){G=!0,ve=U},f:function(){try{le||J.return==null||J.return()}finally{if(G)throw ve}}}}function x(k,S){(S==null||S>k.length)&&(S=k.length);for(var J=0,ce=new Array(S);J<S;J++)ce[J]=k[J];return ce}var c=function(k){var S=k.reduce(function(J,ce){var he=(0,P.Z)(ce,2),ve=he[0],le=he[1];return J.minY=Math.min(J.minY,le),J.minX=Math.min(J.minX,ve),J.maxX=Math.max(J.maxX,ve),J.maxY=Math.max(J.maxY,le),J},{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0,cx:0,cy:0});return S.cx=(S.maxX+S.minX)/2,S.cy=(S.maxY+S.minY)/2,S},f=function(k){var S=function(M){return(0,w.bt)(M)||(0,w.F9)(M)?M.points:function(A){return A.type==="diamond"?[[A.width/2,0],[A.width,A.height/2],[A.width/2,A.height],[0,A.height/2]]:[[0,0],[0+A.width,0],[0+A.width,A.height],[0,A.height]]}(M)}(k),J=c(S),ce=[J.cx,J.cy],he=S.map(function(M){return(0,m.xj)([M[0],M[1]],ce,k.angle)}),ve=c(he),le=ve.minX,G=ve.minY,U=ve.maxX,H=ve.maxY;return[le+k.x,G+k.y,U+k.x,H+k.y]},Z=function(k,S){var J=arguments.length>2&&arguments[2]!==void 0&&arguments[2],ce=f(k),he=S[0]<=ce[0]&&S[2]>=ce[2]&&S[1]<=ce[1]&&S[3]>=ce[3];return J?!!he||ce[0]<=S[0]&&ce[2]>=S[2]&&ce[1]<=S[1]&&ce[3]>=S[3]:he},N=function(k,S){var J=f(k);return((0,m.Xt)(J[0],S[0],S[2])||(0,m.Xt)(S[0],J[0],J[2]))&&((0,m.Xt)(J[1],S[1],S[3])||(0,m.Xt)(S[1],J[1],J[3]))},W=function(k){var S=k.elements,J=k.bounds,ce=k.type,he=k.errorMargin,ve=he===void 0?0:he;(0,w.r2)(J)&&(J=(0,v.Pi)(J));var le,G=[J[0]-ve,J[1]-ve,J[2]+ve,J[3]+ve],U=new Set,H=I(S);try{for(H.s();!(le=H.n()).done;){var M=le.value;if(!U.has(M.id)&&(ce==="overlap"?N(M,G):ce==="inside"?Z(M,G):Z(M,G,!0))){if(U.add(M.id),M.boundElements){var A,b=I(M.boundElements);try{for(b.s();!(A=b.n()).done;){var y=A.value;U.add(y.id)}}catch(d){b.e(d)}finally{b.f()}}var h;(0,w.iB)(M)&&M.containerId&&U.add(M.containerId),(0,w.Yv)(M)&&(M.startBinding&&U.add(M.startBinding.elementId),M.endBinding&&U.add((h=M.endBinding)===null||h===void 0?void 0:h.elementId))}}}catch(d){H.e(d)}finally{H.f()}return S.filter(function(d){return U.has(d.id)})}},5999:function(fe,t,e){e.d(t,{k:function(){return w},z:function(){return m}});var P=e(1930),w=function(v){var I=v.map(function(c){return c[0]}),x=v.map(function(c){return c[1]});return{width:Math.max.apply(Math,(0,P.Z)(I))-Math.min.apply(Math,(0,P.Z)(I)),height:Math.max.apply(Math,(0,P.Z)(x))-Math.min.apply(Math,(0,P.Z)(x))}},m=function(v,I,x,c){var f=x.map(function(he){return he[v]}),Z=Math.max.apply(Math,(0,P.Z)(f)),N=Math.min.apply(Math,(0,P.Z)(f)),W=Z-N,k=W===0?1:I/W,S=1/0,J=x.map(function(he){var ve=he[v]*k,le=(0,P.Z)(he);return le[v]=ve,ve<S&&(S=ve),le});if(!c||J.length===2)return J;var ce=N-S;return J.map(function(he){return he.map(function(ve,le){return le===v?ve+ce:ve})})}},4643:function(fe,t,e){e.d(t,{LU:function(){return x},kb:function(){return c}});var P=e(8152),w=e(5605),m=e(9827),v=new P.k(Date.now()),I=0,x=function(){return Math.floor(v.next()*Math.pow(2,31))},c=function(){return(0,m.h2)()?"id".concat(I++):(0,w.x0)()}},9660:function(fe,t,e){e.d(t,{Dn:function(){return te},Xx:function(){return V},Lc:function(){return ge},N7:function(){return ue},lw:function(){return Re},Rg:function(){return Ee},uI:function(){return Ae}});var P=e(7169),w=e(2577),m=e(4183),v=e(4949),I=e(9827),x=e(2361),c=e(9845),f=e(6853),Z=e(9937);function N(i,s,O,z=K=>K){return i*z(.5-s*(.5-O))}function W(i,s){return[i[0]+s[0],i[1]+s[1]]}function k(i,s){return[i[0]-s[0],i[1]-s[1]]}function S(i,s){return[i[0]*s,i[1]*s]}function J(i){return[i[1],-i[0]]}function ce(i,s){return i[0]*s[0]+i[1]*s[1]}function he(i,s){return i[0]===s[0]&&i[1]===s[1]}function ve(i,s){return function(O){return O[0]*O[0]+O[1]*O[1]}(k(i,s))}function le(i){return function(s,O){return[s[0]/O,s[1]/O]}(i,function(s){return Math.hypot(s[0],s[1])}(i))}function G(i,s){return Math.hypot(i[1]-s[1],i[0]-s[0])}function U(i,s,O){let z=Math.sin(O),K=Math.cos(O),$=i[0]-s[0],Q=i[1]-s[1],ae=$*z+Q*K;return[$*K-Q*z+s[0],ae+s[1]]}function H(i,s,O){return W(i,S(k(s,i),O))}function M(i,s,O){return W(i,S(s,O))}var{min:A,PI:b}=Math,y=b+1e-4;function h(i,s={}){return function(O,z={}){let{size:K=16,smoothing:$=.5,thinning:Q=.5,simulatePressure:ae=!0,easing:be=ht=>ht,start:Ce={},end:Ze={},last:Be=!1}=z,{cap:Te=!0,easing:He=ht=>ht*(2-ht)}=Ce,{cap:Ve=!0,easing:Je=ht=>--ht*ht*ht+1}=Ze;if(O.length===0||K<=0)return[];let Me,me=O[O.length-1].runningLength,Se=Ce.taper===!1?0:Ce.taper===!0?Math.max(K,me):Ce.taper,Ne=Ze.taper===!1?0:Ze.taper===!0?Math.max(K,me):Ze.taper,Ye=Math.pow(K*$,2),Qe=[],rt=[],ft=O.slice(0,10).reduce((ht,yt)=>{let Ct=yt.pressure;if(ae){let Bt=A(1,yt.distance/K),zt=A(1,1-Bt);Ct=A(1,ht+.275*Bt*(zt-ht))}return(ht+Ct)/2},O[0].pressure),at=N(K,Q,O[O.length-1].pressure,be),ut=O[0].vector,Ot=O[0].point,Pt=Ot,Et=Ot,Mt=Pt,Yt=!1;for(let ht=0;ht<O.length;ht++){let{pressure:yt}=O[ht],{point:Ct,vector:Bt,distance:zt,runningLength:tr}=O[ht];if(ht<O.length-1&&me-tr<3)continue;if(Q){if(ae){let nr=A(1,zt/K),yr=A(1,1-nr);yt=A(1,ft+.275*nr*(yr-ft))}at=N(K,Q,yt,be)}else at=K/2;Me===void 0&&(Me=at);let cr=tr<Se?He(tr/Se):1,mr=me-tr<Ne?Je((me-tr)/Ne):1;at=Math.max(.01,at*Math.min(cr,mr));let Ft=(ht<O.length-1?O[ht+1]:O[ht]).vector,xt=ht<O.length-1?ce(Bt,Ft):1,At=xt!==null&&xt<0;if(ce(Bt,ut)<0&&!Yt||At){let nr=S(J(ut),at);for(let yr=.07692307692307693,kr=0;kr<=1;kr+=yr)Et=U(k(Ct,nr),Ct,y*kr),Qe.push(Et),Mt=U(W(Ct,nr),Ct,y*-kr),rt.push(Mt);Ot=Et,Pt=Mt,At&&(Yt=!0);continue}if(Yt=!1,ht===O.length-1){let nr=S(J(Bt),at);Qe.push(k(Ct,nr)),rt.push(W(Ct,nr));continue}let Tt=S(J(H(Ft,Bt,xt)),at);Et=k(Ct,Tt),(ht<=1||ve(Ot,Et)>Ye)&&(Qe.push(Et),Ot=Et),Mt=W(Ct,Tt),(ht<=1||ve(Pt,Mt)>Ye)&&(rt.push(Mt),Pt=Mt),ft=yt,ut=Bt}let lt=O[0].point.slice(0,2),ot=O.length>1?O[O.length-1].point.slice(0,2):W(O[0].point,[1,1]),mt=[],pt=[];if(O.length===1){if(!Se&&!Ne||Be){let ht=M(lt,le(J(k(lt,ot))),-(Me||at)),yt=[];for(let Ct=.07692307692307693,Bt=Ct;Bt<=1;Bt+=Ct)yt.push(U(ht,lt,2*y*Bt));return yt}}else{if(!(Se||Ne&&O.length===1))if(Te)for(let yt=.07692307692307693,Ct=yt;Ct<=1;Ct+=yt){let Bt=U(rt[0],lt,y*Ct);mt.push(Bt)}else{let yt=k(Qe[0],rt[0]),Ct=S(yt,.5),Bt=S(yt,.51);mt.push(k(lt,Ct),k(lt,Bt),W(lt,Bt),W(lt,Ct))}let ht=J(function(yt){return[-yt[0],-yt[1]]}(O[O.length-1].vector));if(Ne||Se&&O.length===1)pt.push(ot);else if(Ve){let yt=M(ot,ht,at);for(let Ct=.034482758620689655,Bt=Ct;Bt<1;Bt+=Ct)pt.push(U(yt,ot,3*y*Bt))}else pt.push(W(ot,S(ht,at)),W(ot,S(ht,.99*at)),k(ot,S(ht,.99*at)),k(ot,S(ht,at)))}return Qe.concat(pt,rt.reverse(),mt)}(function(O,z={}){var K;let{streamline:$=.5,size:Q=16,last:ae=!1}=z;if(O.length===0)return[];let be=.15+.85*(1-$),Ce=Array.isArray(O[0])?O:O.map(({x:Je,y:Me,pressure:me=.5})=>[Je,Me,me]);if(Ce.length===2){let Je=Ce[1];Ce=Ce.slice(0,-1);for(let Me=1;Me<5;Me++)Ce.push(H(Ce[0],Je,Me/4))}Ce.length===1&&(Ce=[...Ce,[...W(Ce[0],[1,1]),...Ce[0].slice(2)]]);let Ze=[{point:[Ce[0][0],Ce[0][1]],pressure:Ce[0][2]>=0?Ce[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],Be=!1,Te=0,He=Ze[0],Ve=Ce.length-1;for(let Je=1;Je<Ce.length;Je++){let Me=ae&&Je===Ve?Ce[Je].slice(0,2):H(He.point,Ce[Je],be);if(he(He.point,Me))continue;let me=G(Me,He.point);if(Te+=me,Je<Ve&&!Be){if(Te<Q)continue;Be=!0}He={point:Me,pressure:Ce[Je][2]>=0?Ce[Je][2]:.5,vector:le(k(He.point,Me)),distance:me,runningLength:Te},Ze.push(He)}return Ze[0].vector=((K=Ze[1])==null?void 0:K.vector)||[0,0],Ze}(i,s),s)}var d=e(4761),r=e(7422),n=e(761),p=e(4682),a=e(8020),l=e(2921);function u(i,s){var O=Object.keys(i);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(i);s&&(z=z.filter(function(K){return Object.getOwnPropertyDescriptor(i,K).enumerable})),O.push.apply(O,z)}return O}function C(i){for(var s=1;s<arguments.length;s++){var O=arguments[s]!=null?arguments[s]:{};s%2?u(Object(O),!0).forEach(function(z){(0,P.Z)(i,z,O[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(O)):u(Object(O)).forEach(function(z){Object.defineProperty(i,z,Object.getOwnPropertyDescriptor(O,z))})}return i}var L="invert(100%) hue-rotate(180deg) saturate(1.25)",_=(0,f.im)(),E=function(i,s){return(0,m.wi)(i)&&!s.imageCache.has(i.fileId)},D=function(i,s,O){var z;return O.theme==="dark"&&(0,m.wi)(i)&&!E(i,s)&&((z=s.imageCache.get(i.fileId))===null||z===void 0?void 0:z.mimeType)!==Z.LO.svg},F=function(i){return i.type==="freedraw"?12*i.strokeWidth:20},ee=function(i,s,O,z){var K,$,Q=document.createElement("canvas"),ae=Q.getContext("2d"),be=F(i),Ce=function(Ye,Qe){var rt=16777216,ft=32767,at=F(Ye),ut=(0,v.qf)(Ye),Ot=(0,w.Z)(ut,4),Pt=Ot[0],Et=Ot[1],Mt=Ot[2],Yt=Ot[3],lt=(0,m.bt)(Ye)||(0,m.F9)(Ye)?(0,I.TE)(Pt,Mt):Ye.width,ot=(0,m.bt)(Ye)||(0,m.F9)(Ye)?(0,I.TE)(Et,Yt):Ye.height,mt=lt*window.devicePixelRatio+2*at,pt=ot*window.devicePixelRatio+2*at,ht=Qe.value;return(mt*ht>ft||pt*ht>ft)&&(ht=Math.min(ft/mt,ft/pt)),mt*pt*ht*ht>rt&&(ht=Math.sqrt(rt/(mt*pt))),{width:mt=Math.floor(mt*ht),height:pt=Math.floor(pt*ht),scale:ht}}(i,s),Ze=Ce.width,Be=Ce.height,Te=Ce.scale;Q.width=Ze,Q.height=Be;var He=0,Ve=0;if((0,m.bt)(i)||(0,m.F9)(i)){var Je=(0,v.qf)(i),Me=(0,w.Z)(Je,2),me=Me[0],Se=Me[1];He=i.x>me?(0,I.TE)(i.x,me)*window.devicePixelRatio*Te:0,Ve=i.y>Se?(0,I.TE)(i.y,Se)*window.devicePixelRatio*Te:0,ae.translate(He,Ve)}ae.save(),ae.translate(be*Te,be*Te),ae.scale(window.devicePixelRatio*Te,window.devicePixelRatio*Te);var Ne=c.Z.canvas(Q);return D(i,O,z)&&(ae.filter=L),Y(i,Ne,ae,O,z),ae.restore(),{element:i,canvas:Q,theme:z.theme,scale:Te,zoomValue:s.value,canvasOffsetX:He,canvasOffsetY:Ve,boundTextElementVersion:((K=(0,d.WJ)(i))===null||K===void 0?void 0:K.version)||null,containingFrameOpacity:(($=(0,p.$Z)(i))===null||$===void 0?void 0:$.opacity)||100}},te=14,re=document.createElement("img");re.src="data:".concat(Z.LO.svg,",").concat(encodeURIComponent('<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="image" class="svg-inline--fa fa-image fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#888" d="M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"></path></svg>'));var oe=document.createElement("img");oe.src="data:".concat(Z.LO.svg,",").concat(encodeURIComponent('<svg viewBox="0 0 668 668" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><path d="M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48ZM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56ZM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48Z" style="fill:#888;fill-rule:nonzero" transform="matrix(.81709 0 0 .81709 124.825 145.825)"/><path d="M256 8C119.034 8 8 119.033 8 256c0 136.967 111.034 248 248 248s248-111.034 248-248S392.967 8 256 8Zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676ZM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676Z" style="fill:#888;fill-rule:nonzero" transform="matrix(.30366 0 0 .30366 506.822 60.065)"/></svg>'));var Y=function(i,s,O,z,K){var $,Q;switch(O.globalAlpha=(($=(Q=(0,p.$Z)(i))===null||Q===void 0?void 0:Q.opacity)!==null&&$!==void 0?$:100)*i.opacity/1e4,i.type){case"rectangle":case"embeddable":case"diamond":case"ellipse":O.lineJoin="round",O.lineCap="round",s.draw(l.R.get(i));break;case"arrow":case"line":O.lineJoin="round",O.lineCap="round",l.R.get(i).forEach(function(Se){s.draw(Se)});break;case"freedraw":O.save(),O.fillStyle=i.strokeColor;var ae=function(Se){return Oe.get(Se)}(i),be=l.R.get(i);be&&s.draw(be),O.fillStyle=i.strokeColor,O.fill(ae),O.restore();break;case"image":var Ce,Ze=(0,m.wi)(i)?(Ce=z.imageCache.get(i.fileId))===null||Ce===void 0?void 0:Ce.image:void 0;Ze==null||Ze instanceof Promise?function(Se,Ne,Ye){Ne.fillStyle="#E7E7E7",Ne.fillRect(0,0,Se.width,Se.height);var Qe=Math.min(Se.width,Se.height),rt=Math.min(Qe,Math.min(.4*Qe,100));Ne.drawImage(Se.status==="error"?oe:re,Se.width/2-rt/2,Se.height/2-rt/2,rt,rt)}(i,O,K.zoom.value):O.drawImage(Ze,0,0,i.width,i.height);break;default:if(!(0,m.iB)(i))throw new Error("Unimplemented type ".concat(i.type));var Be=(0,I.dZ)(i.text),Te=Be&&!O.canvas.isConnected;Te&&document.body.appendChild(O.canvas),O.canvas.setAttribute("dir",Be?"rtl":"ltr"),O.save(),O.font=(0,I.mO)(i),O.fillStyle=i.strokeColor,O.textAlign=i.textAlign;for(var He=i.text.replace(/\r\n?/g,` +`).split(` +`),Ve=i.textAlign==="center"?i.width/2:i.textAlign==="right"?i.width:0,Je=(0,d.Rg)(i.fontSize,i.lineHeight),Me=i.height-i.baseline,me=0;me<He.length;me++)O.fillText(He[me],Ve,(me+1)*Je-Me);O.restore(),Te&&O.canvas.remove()}O.globalAlpha=1},V=new WeakMap,ie=function(i,s,O){var z,K,$=s?O.zoom:_.zoom,Q=V.get(i),ae=Q&&Q.zoomValue!==$.value&&!(O!=null&&O.shouldCacheIgnoreZoom),be=((z=(0,d.WJ)(i))===null||z===void 0?void 0:z.version)||null,Ce=((K=(0,p.$Z)(i))===null||K===void 0?void 0:K.opacity)||100;if(!Q||ae||Q.theme!==O.theme||Q.boundTextElementVersion!==be||Q.containingFrameOpacity!==Ce){var Ze=ee(i,$,s,O);return V.set(i,Ze),Ze}return Q},we=function(i,s,O,z){var K=i.element,$=F(K),Q=i.scale,ae=(0,v.qf)(K),be=(0,w.Z)(ae,4),Ce=be[0],Ze=be[1],Be=be[2],Te=be[3];(0,m.F9)(K)&&(Ce=Math.floor(Ce),Be=Math.ceil(Be),Ze=Math.floor(Ze),Te=Math.ceil(Te));var He=((Ce+Be)/2+z.scrollX)*window.devicePixelRatio,Ve=((Ze+Te)/2+z.scrollY)*window.devicePixelRatio;s.save(),s.scale(1/window.devicePixelRatio,1/window.devicePixelRatio);var Je=(0,d.WJ)(K);if((0,m.Yv)(K)&&Je){var Me=document.createElement("canvas"),me=Me.getContext("2d"),Se=Math.max((0,I.TE)(Ce,Be),(0,I.TE)(Ze,Te));Me.width=Se*window.devicePixelRatio*Q+$*i.scale*10,Me.height=Se*window.devicePixelRatio*Q+$*i.scale*10;var Ne=(Me.width-i.canvas.width)/2,Ye=(Me.height-i.canvas.height)/2;me.translate(Me.width/2,Me.height/2),me.rotate(K.angle),me.drawImage(i.canvas,-i.canvas.width/2,-i.canvas.height/2,i.canvas.width,i.canvas.height);var Qe=(0,v.qf)(Je),rt=(0,w.Z)(Qe,6),ft=rt[4],at=rt[5];me.rotate(-K.angle);var ut=Me.width/2-(ft-Ce)*window.devicePixelRatio*Q-Ne-$*Q,Ot=Me.height/2-(at-Ze)*window.devicePixelRatio*Q-Ye-$*Q;me.translate(-ut,-Ot),me.clearRect(-(Je.width/2+Z.gK)*window.devicePixelRatio*Q,-(Je.height/2+Z.gK)*window.devicePixelRatio*Q,(Je.width+2*Z.gK)*window.devicePixelRatio*Q,(Je.height+2*Z.gK)*window.devicePixelRatio*Q),s.translate(He,Ve),s.drawImage(Me,-(Be-Ce)/2*window.devicePixelRatio-Ne/Q-$,-(Te-Ze)/2*window.devicePixelRatio-Ye/Q-$,Me.width/Q,Me.height/Q)}else if(s.translate(He,Ve),s.rotate(K.angle),"scale"in i.element&&!E(K,O)&&s.scale(i.element.scale[0],i.element.scale[1]),s.translate(-He,-Ve),s.drawImage(i.canvas,(Ce+z.scrollX)*window.devicePixelRatio-$*i.scale/i.scale,(Ze+z.scrollY)*window.devicePixelRatio-$*i.scale/i.scale,i.canvas.width/i.scale,i.canvas.height/i.scale),{VITE_APP_BACKEND_V2_GET_URL:"https://json.excalidraw.com/api/v2/",VITE_APP_BACKEND_V2_POST_URL:"https://json.excalidraw.com/api/v2/post/",VITE_APP_LIBRARY_URL:"https://libraries.excalidraw.com",VITE_APP_LIBRARY_BACKEND:"https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries",VITE_APP_PORTAL_URL:"https://portal.excalidraw.com",VITE_APP_PLUS_LP:"https://plus.excalidraw.com",VITE_APP_PLUS_APP:"https://app.excalidraw.com",VITE_APP_WS_SERVER_URL:"",VITE_APP_FIREBASE_CONFIG:'{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}',VITE_APP_DISABLE_TRACKING:"",VITE_PKG_NAME:"@excalidraw/excalidraw",VITE_PKG_VERSION:"0.17.3",VITE_IS_EXCALIDRAW_NPM_PACKAGE:!0}.VITE_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX==="true"&&(0,m.Xo)(K)){var Pt=(0,d.WJ)(K),Et=(0,d.cw)(K);s.strokeStyle="#c92a2a",s.lineWidth=3,s.strokeRect((Et.x+z.scrollX)*window.devicePixelRatio,(Et.y+z.scrollY)*window.devicePixelRatio,(0,d.iZ)(K)*window.devicePixelRatio,(0,d.D9)(K,Pt)*window.devicePixelRatio)}s.restore()},Ae=function(i,s,O){s.save(),s.translate(i.x+O.scrollX,i.y+O.scrollY),s.fillStyle="rgba(0, 0, 200, 0.04)";var z=.5/O.zoom.value;s.fillRect(z,z,i.width,i.height),s.lineWidth=1/O.zoom.value,s.strokeStyle=" rgb(105, 101, 219)",s.strokeRect(z,z,i.width,i.height),s.restore()},Re=function(i,s,O,z,K){switch(i.type){case"frame":K.frameRendering.enabled&&K.frameRendering.outline&&(O.save(),O.translate(i.x+K.scrollX,i.y+K.scrollY),O.fillStyle="rgba(0, 0, 200, 0.04)",O.lineWidth=Z.iG.strokeWidth/K.zoom.value,O.strokeStyle=Z.iG.strokeColor,Z.iG.radius&&O.roundRect?(O.beginPath(),O.roundRect(0,0,i.width,i.height,Z.iG.radius/K.zoom.value),O.stroke(),O.closePath()):O.strokeRect(0,0,i.width,i.height),O.restore());break;case"freedraw":if(l.R.generateElementShape(i),z.isExporting){var $=(0,v.qf)(i),Q=(0,w.Z)($,4),ae=Q[0],be=Q[1],Ce=Q[2],Ze=Q[3],Be=(ae+Ce)/2+K.scrollX,Te=(be+Ze)/2+K.scrollY,He=(Ce-ae)/2-(i.x-ae),Ve=(Ze-be)/2-(i.y-be);O.save(),O.translate(Be,Te),O.rotate(i.angle),O.translate(-He,-Ve),Y(i,s,O,z,K),O.restore()}else{var Je=ie(i,z,K);we(Je,O,z,K)}break;case"rectangle":case"diamond":case"ellipse":case"line":case"arrow":case"image":case"text":case"embeddable":if(l.R.generateElementShape(i,z.isExporting),z.isExporting){var Me=(0,v.qf)(i),me=(0,w.Z)(Me,4),Se=me[0],Ne=me[1],Ye=me[2],Qe=me[3],rt=(Se+Ye)/2+K.scrollX,ft=(Ne+Qe)/2+K.scrollY,at=(Ye-Se)/2-(i.x-Se),ut=(Qe-Ne)/2-(i.y-Ne);if((0,m.iB)(i)){var Ot=(0,d.tl)(i);if((0,m.Yv)(Ot)){var Pt=r._.getBoundTextElementPosition(Ot,i);at=(Ye-Se)/2-(Pt.x-Se),ut=(Qe-Ne)/2-(Pt.y-Ne)}}O.save(),O.translate(rt,ft),D(i,z,K)&&(O.filter="none");var Et=(0,d.WJ)(i);if((0,m.Yv)(i)&&Et){var Mt=document.createElement("canvas"),Yt=Mt.getContext("2d"),lt=Math.max((0,I.TE)(Se,Ye),(0,I.TE)(Ne,Qe)),ot=F(i);Mt.width=lt*K.exportScale+10*ot*K.exportScale,Mt.height=lt*K.exportScale+10*ot*K.exportScale,Yt.translate(Mt.width/2,Mt.height/2),Yt.scale(K.exportScale,K.exportScale),at=i.width/2-(i.x-Se),ut=i.height/2-(i.y-Ne),Yt.rotate(i.angle);var mt=c.Z.canvas(Mt);Yt.translate(-at,-ut),Y(i,mt,Yt,z,K),Yt.translate(at,ut),Yt.rotate(-i.angle);var pt=(0,v.qf)(Et),ht=(0,w.Z)(pt,6),yt=(Se+Ye)/2-ht[4],Ct=(Ne+Qe)/2-ht[5];Yt.translate(-yt,-Ct),Yt.clearRect(-Et.width/2,-Et.height/2,Et.width,Et.height),O.scale(1/K.exportScale,1/K.exportScale),O.drawImage(Mt,-Mt.width/2,-Mt.height/2,Mt.width,Mt.height)}else O.rotate(i.angle),i.type==="image"&&O.scale(i.scale[0],i.scale[1]),O.translate(-at,-ut),Y(i,s,O,z,K);O.restore()}else{var Bt=ie(i,z,K),zt=O.imageSmoothingEnabled;K!=null&&K.shouldCacheIgnoreZoom||i.angle&&!(0,x.EK)(i.angle)||(O.imageSmoothingEnabled=!1),we(Bt,O,z,K),O.imageSmoothingEnabled=zt}break;default:throw new Error("Unimplemented type ".concat(i.type))}},je=function(i,s,O){if(O===void 0)return i.draw(s);var z={sets:s.sets,shape:s.shape,options:C(C({},s.options),{},{fixedDecimalPlaceDigits:O})};return i.draw(z)},ye=function(i,s,O,z){if(!z.enabled||!z.clip)return null;var K=(0,p.$Z)(i);if(K){var $=s.ownerDocument.createElementNS(Z.hR,"g");return $.setAttributeNS(Z.hR,"clip-path","url(#".concat(K.id,")")),O.forEach(function(Q){return $.appendChild(Q)}),$}return null},Ee=function i(s,O,z,K,$,Q,ae){var be,Ce,Ze=$,Be=Q,Te=(0,v.qf)(s),He=(0,w.Z)(Te,4),Ve=He[0],Je=He[1],Me=He[2],me=He[3],Se=(Me-Ve)/2-(s.x-Ve),Ne=(me-Je)/2-(s.y-Je);if((0,m.iB)(s)){var Ye=(0,d.tl)(s);if((0,m.Yv)(Ye)){var Qe=(0,v.qf)(Ye),rt=(0,w.Z)(Qe,4),ft=rt[0],at=rt[1],ut=rt[2],Ot=rt[3],Pt=r._.getBoundTextElementPosition(Ye,s);Se=(ut-ft)/2-(Pt.x-ft),Ne=(Ot-at)/2-(Pt.y-at),$=$+Pt.x-s.x,Q=Q+Pt.y-s.y}}var Et=180*s.angle/Math.PI,Mt=z;if(s.link){var Yt=z.ownerDocument.createElementNS(Z.hR,"a");Yt.setAttribute("href",(0,a.$u)(s.link)),Mt.appendChild(Yt),Mt=Yt}var lt=function(We,pe){(0,I.h2)()&&We.setAttribute("data-id",pe.id),Mt.appendChild(We)},ot=((be=(Ce=(0,p.$Z)(s))===null||Ce===void 0?void 0:Ce.opacity)!==null&&be!==void 0?be:100)*s.opacity/1e4;switch(s.type){case"selection":throw new Error("Selection rendering is not supported for SVG");case"rectangle":case"diamond":case"ellipse":var mt=l.R.generateElementShape(s),pt=je(O,mt,Z.zK);ot!==1&&(pt.setAttribute("stroke-opacity","".concat(ot)),pt.setAttribute("fill-opacity","".concat(ot))),pt.setAttribute("stroke-linecap","round"),pt.setAttribute("transform","translate(".concat($||0," ").concat(Q||0,") rotate(").concat(Et," ").concat(Se," ").concat(Ne,")")),lt(ye(s,Mt,[pt],ae.frameRendering)||pt,s);break;case"embeddable":var ht=l.R.generateElementShape(s,!0),yt=je(O,ht,Z.zK),Ct=s.opacity/100;Ct!==1&&(yt.setAttribute("stroke-opacity","".concat(Ct)),yt.setAttribute("fill-opacity","".concat(Ct))),yt.setAttribute("stroke-linecap","round"),yt.setAttribute("transform","translate(".concat($||0," ").concat(Q||0,") rotate(").concat(Et," ").concat(Se," ").concat(Ne,")")),lt(yt,s);var Bt=(0,n.g0)(s);i(Bt,O,Mt,K,Bt.x+Ze-s.x,Bt.y+Be-s.y,ae);var zt=je(O,ht,Z.zK);for(zt.setAttribute("stroke-linecap","round"),zt.setAttribute("transform","translate(".concat($||0," ").concat(Q||0,") rotate(").concat(Et," ").concat(Se," ").concat(Ne,")"));zt.firstChild;)zt.removeChild(zt.firstChild);var tr=(0,x.yW)(Math.min(s.width,s.height),s),cr=(0,n.LM)((0,a.ye)(s.link||""));if(ae.renderEmbeddables===!1||cr?.type==="document"){var mr=z.ownerDocument.createElementNS(Z.hR,"a");mr.setAttribute("href",(0,a.$u)(s.link||"")),mr.setAttribute("target","_blank"),mr.setAttribute("rel","noopener noreferrer"),mr.style.borderRadius="".concat(tr,"px"),zt.appendChild(mr)}else{var Ft,xt=z.ownerDocument.createElementNS(Z.hR,"foreignObject");xt.style.width="".concat(s.width,"px"),xt.style.height="".concat(s.height,"px"),xt.style.border="none";var At=xt.ownerDocument.createElementNS(Z.hR,"div");At.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),At.style.width="100%",At.style.height="100%";var Tt=At.ownerDocument.createElement("iframe");Tt.src=(Ft=cr?.link)!==null&&Ft!==void 0?Ft:"",Tt.style.width="100%",Tt.style.height="100%",Tt.style.border="none",Tt.style.borderRadius="".concat(tr,"px"),Tt.style.top="0",Tt.style.left="0",Tt.allowFullscreen=!0,At.appendChild(Tt),xt.appendChild(At),zt.appendChild(xt)}lt(zt,s);break;case"line":case"arrow":var nr=(0,d.WJ)(s),yr=z.ownerDocument.createElementNS(Z.hR,"mask");if(nr){yr.setAttribute("id","mask-".concat(s.id));var kr=z.ownerDocument.createElementNS(Z.hR,"rect");$=$||0,Q=Q||0,kr.setAttribute("x","0"),kr.setAttribute("y","0"),kr.setAttribute("fill","#fff"),kr.setAttribute("width","".concat(s.width+100+$)),kr.setAttribute("height","".concat(s.height+100+Q)),yr.appendChild(kr);var Tr=z.ownerDocument.createElementNS(Z.hR,"rect"),Or=r._.getBoundTextElementPosition(s,nr),Rt=$+Or.x-s.x,dt=Q+Or.y-s.y;Tr.setAttribute("x",Rt.toString()),Tr.setAttribute("y",dt.toString()),Tr.setAttribute("fill","#000"),Tr.setAttribute("width","".concat(nr.width)),Tr.setAttribute("height","".concat(nr.height)),Tr.setAttribute("opacity","1"),yr.appendChild(Tr)}var gt=z.ownerDocument.createElementNS(Z.hR,"g");nr&>.setAttribute("mask","url(#mask-".concat(s.id,")")),gt.setAttribute("stroke-linecap","round"),l.R.generateElementShape(s).forEach(function(We){var pe=je(O,We,Z.zK);ot!==1&&(pe.setAttribute("stroke-opacity","".concat(ot)),pe.setAttribute("fill-opacity","".concat(ot))),pe.setAttribute("transform","translate(".concat($||0," ").concat(Q||0,") rotate(").concat(Et," ").concat(Se," ").concat(Ne,")")),s.type==="line"&&(0,x.g6)(s.points)&&s.backgroundColor!=="transparent"&&pe.setAttribute("fill-rule","evenodd"),gt.appendChild(pe)});var wt=ye(s,Mt,[gt,yr],ae.frameRendering);wt?(lt(wt,s),Mt.appendChild(wt)):(lt(gt,s),Mt.append(yr));break;case"freedraw":var Ut=l.R.generateElementShape(s),ar=Ut?je(O,Ut,Z.zK):z.ownerDocument.createElementNS(Z.hR,"g");ot!==1&&(ar.setAttribute("stroke-opacity","".concat(ot)),ar.setAttribute("fill-opacity","".concat(ot))),ar.setAttribute("transform","translate(".concat($||0," ").concat(Q||0,") rotate(").concat(Et," ").concat(Se," ").concat(Ne,")")),ar.setAttribute("stroke","none");var ir=z.ownerDocument.createElementNS(Z.hR,"path");ir.setAttribute("fill",s.strokeColor),ir.setAttribute("d",ue(s)),ar.appendChild(ir),lt(ye(s,Mt,[ar],ae.frameRendering)||ar,s);break;case"image":var dr=Math.round(s.width),br=Math.round(s.height),hr=(0,m.wi)(s)&&K[s.fileId];if(hr){var Ir="image-".concat(hr.id),wr=z.querySelector("#".concat(Ir));if(!wr){(wr=z.ownerDocument.createElementNS(Z.hR,"symbol")).id=Ir;var sr=z.ownerDocument.createElementNS(Z.hR,"image");sr.setAttribute("width","100%"),sr.setAttribute("height","100%"),sr.setAttribute("href",hr.dataURL),wr.appendChild(sr),Mt.prepend(wr)}var fr=z.ownerDocument.createElementNS(Z.hR,"use");if(fr.setAttribute("href","#".concat(Ir)),ae.exportWithDarkMode&&hr.mimeType!==Z.LO.svg&&fr.setAttribute("filter",L),fr.setAttribute("width","".concat(dr)),fr.setAttribute("height","".concat(br)),fr.setAttribute("opacity","".concat(ot)),s.scale[0]!==1||s.scale[1]!==1){var pr=s.scale[0]!==1?-dr:0,jr=s.scale[1]!==1?-br:0;fr.setAttribute("transform","scale(".concat(s.scale[0],", ").concat(s.scale[1],") translate(").concat(pr," ").concat(jr,")"))}var Pr=z.ownerDocument.createElementNS(Z.hR,"g");Pr.appendChild(fr),Pr.setAttribute("transform","translate(".concat($||0," ").concat(Q||0,") rotate(").concat(Et," ").concat(Se," ").concat(Ne,")")),lt(ye(s,Mt,[Pr],ae.frameRendering)||Pr,s)}break;case"frame":if(ae.frameRendering.enabled&&ae.frameRendering.outline){var Mr=document.createElementNS(Z.hR,"rect");Mr.setAttribute("transform","translate(".concat($||0," ").concat(Q||0,") rotate(").concat(Et," ").concat(Se," ").concat(Ne,")")),Mr.setAttribute("width","".concat(s.width,"px")),Mr.setAttribute("height","".concat(s.height,"px")),Mr.setAttribute("rx",Z.iG.radius.toString()),Mr.setAttribute("ry",Z.iG.radius.toString()),Mr.setAttribute("fill","none"),Mr.setAttribute("stroke",Z.iG.strokeColor),Mr.setAttribute("stroke-width",Z.iG.strokeWidth.toString()),lt(Mr,s)}break;default:if(!(0,m.iB)(s))throw new Error("Unimplemented type ".concat(s.type));var $r=z.ownerDocument.createElementNS(Z.hR,"g");ot!==1&&($r.setAttribute("stroke-opacity","".concat(ot)),$r.setAttribute("fill-opacity","".concat(ot))),$r.setAttribute("transform","translate(".concat($||0," ").concat(Q||0,") rotate(").concat(Et," ").concat(Se," ").concat(Ne,")"));for(var fn=s.text.replace(/\r\n?/g,` +`).split(` +`),Mn=(0,d.Rg)(s.fontSize,s.lineHeight),Zn=s.textAlign==="center"?s.width/2:s.textAlign==="right"?s.width:0,zn=(0,I.dZ)(s.text)?"rtl":"ltr",Cn=s.textAlign==="center"?"middle":s.textAlign==="right"||zn==="rtl"?"end":"start",vn=0;vn<fn.length;vn++){var Ln=z.ownerDocument.createElementNS(Z.hR,"text");Ln.textContent=fn[vn],Ln.setAttribute("x","".concat(Zn)),Ln.setAttribute("y","".concat(vn*Mn)),Ln.setAttribute("font-family",(0,I.$g)(s)),Ln.setAttribute("font-size","".concat(s.fontSize,"px")),Ln.setAttribute("fill",s.strokeColor),Ln.setAttribute("text-anchor",Cn),Ln.setAttribute("style","white-space: pre;"),Ln.setAttribute("direction",zn),Ln.setAttribute("dominant-baseline","text-before-edge"),$r.appendChild(Ln)}lt(ye(s,Mt,[$r],ae.frameRendering)||$r,s)}},Oe=new WeakMap([]);function ge(i){var s=ue(i),O=new Path2D(s);return Oe.set(i,O),O}function ue(i){return function(s){if(!s.length)return"";var O=s.length-1;return s.reduce(function(z,K,$,Q){return $===O?z.push(K,se(K,Q[0]),"L",Q[0],"Z"):z.push(K,se(K,Q[$+1])),z},["M",s[0],"Q"]).join(" ").replace(j,"$1")}(h(i.simulatePressure?i.points:i.points.length?i.points.map(function(s,O){var z=(0,w.Z)(s,2);return[z[0],z[1],i.pressures[O]]}):[[0,0,.5]],{simulatePressure:i.simulatePressure,size:4.25*i.strokeWidth,thinning:.6,smoothing:.5,streamline:.5,easing:function(s){return Math.sin(s*Math.PI/2)},last:!!i.lastCommittedPoint}))}function se(i,s){return[(i[0]+s[0])/2,(i[1]+s[1])/2]}var j=/(\s?[A-Z]?,?-?[0-9]*\.[0-9]{0,2})(([0-9]|e|-)*)/g},7766:function(fe,t,e){e.d(t,{Lu:function(){return u},n_:function(){return Ae},tp:function(){return V},M_:function(){return j},AW:function(){return we}});var P,w=e(1930),m=e(2577),v=e(5284),I=e(7651),x=function(i,s,O,z,K,$,Q){i.beginPath(),i.moveTo(s+$,O),i.lineTo(s+z-$,O),i.quadraticCurveTo(s+z,O,s+z,O+$),i.lineTo(s+z,O+K-$),i.quadraticCurveTo(s+z,O+K,s+z-$,O+K),i.lineTo(s+$,O+K),i.quadraticCurveTo(s,O+K,s,O+K-$),i.lineTo(s,O+$),i.quadraticCurveTo(s,O,s+$,O),i.closePath(),i.fill(),Q&&(i.strokeStyle=Q),i.stroke()},c=e(4726),f=e(9660),Z=e(957),N=e(7422),W=e(9215),k=e(3528),S=e(4048),J=e(9827);(function(i){i.ACTIVE="active",i.AWAY="away",i.IDLE="idle"})(P||(P={}));var ce=e(9937),he=e(5992);function ve(i,s){var O=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!O){if(Array.isArray(i)||(O=function(be,Ce){if(be){if(typeof be=="string")return le(be,Ce);var Ze=Object.prototype.toString.call(be).slice(8,-1);if(Ze==="Object"&&be.constructor&&(Ze=be.constructor.name),Ze==="Map"||Ze==="Set")return Array.from(be);if(Ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ze))return le(be,Ce)}}(i))||s&&i&&typeof i.length=="number"){O&&(i=O);var z=0,K=function(){};return{s:K,n:function(){return z>=i.length?{done:!0}:{done:!1,value:i[z++]}},e:function(be){throw be},f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var $,Q=!0,ae=!1;return{s:function(){O=O.call(i)},n:function(){var be=O.next();return Q=be.done,be},e:function(be){ae=!0,$=be},f:function(){try{Q||O.return==null||O.return()}finally{if(ae)throw $}}}}function le(i,s){(s==null||s>i.length)&&(s=i.length);for(var O=0,z=new Array(s);O<s;O++)z[O]=i[O];return z}var G=function(i,s,O){if(!O.zenModeEnabled){var z=i.points[0],K=i.points[i.points.length-1];M(z,K,s)}var $,Q=ve(i.points);try{for(Q.s();!($=Q.n()).done;){var ae=$.value;H(ae,O,s)}}catch(be){Q.e(be)}finally{Q.f()}},U=function(i,s,O){H(i.points[0],O,s),O.zenModeEnabled||M(i.points[0],i.points[1],s)},H=function(i,s,O){var z=(0,m.Z)(i,2),K=z[0],$=z[1];O.save();var Q=(s.zenModeEnabled?3:2)/s.zoom.value;O.beginPath(),O.moveTo(K-Q,$-Q),O.lineTo(K+Q,$+Q),O.moveTo(K+Q,$-Q),O.lineTo(K-Q,$+Q),O.stroke(),O.restore()},M=function(i,s,O){O.beginPath(),O.lineTo.apply(O,(0,w.Z)(i)),O.lineTo.apply(O,(0,w.Z)(s)),O.stroke()},A=function(i,s,O,z,K){var $=8/z.zoom.value,Q=$/2,ae=$/4;if(O==="horizontal"){var be=[(i[0]+s[0])/2,i[1]];z.zenModeEnabled||M([i[0],i[1]-$],[i[0],i[1]+$],K),M([be[0]-ae,be[1]-Q],[be[0]-ae,be[1]+Q],K),M([be[0]+ae,be[1]-Q],[be[0]+ae,be[1]+Q],K),z.zenModeEnabled||(M([s[0],s[1]-$],[s[0],s[1]+$],K),M(i,s,K))}else{var Ce=[i[0],(i[1]+s[1])/2];z.zenModeEnabled||M([i[0]-$,i[1]],[i[0]+$,i[1]],K),M([Ce[0]-Q,Ce[1]-ae],[Ce[0]+Q,Ce[1]-ae],K),M([Ce[0]-Q,Ce[1]+ae],[Ce[0]+Q,Ce[1]+ae],K),z.zenModeEnabled||(M([s[0]-$,s[1]],[s[0]+$,s[1]],K),M(i,s,K))}},b=e(4183),y=e(761),h=e(4682),d=e(6655);function r(i,s){var O=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!O){if(Array.isArray(i)||(O=function(be,Ce){if(be){if(typeof be=="string")return n(be,Ce);var Ze=Object.prototype.toString.call(be).slice(8,-1);if(Ze==="Object"&&be.constructor&&(Ze=be.constructor.name),Ze==="Map"||Ze==="Set")return Array.from(be);if(Ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ze))return n(be,Ce)}}(i))||s&&i&&typeof i.length=="number"){O&&(i=O);var z=0,K=function(){};return{s:K,n:function(){return z>=i.length?{done:!0}:{done:!1,value:i[z++]}},e:function(be){throw be},f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var $,Q=!0,ae=!1;return{s:function(){O=O.call(i)},n:function(){var be=O.next();return Q=be.done,be},e:function(be){ae=!0,$=be},f:function(){try{Q||O.return==null||O.return()}finally{if(ae)throw $}}}}function n(i,s){(s==null||s>i.length)&&(s=i.length);for(var O=0,z=new Array(s);O<s;O++)z[O]=i[O];return z}function p(i,s){var O=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!O){if(Array.isArray(i)||(O=function(be,Ce){if(be){if(typeof be=="string")return a(be,Ce);var Ze=Object.prototype.toString.call(be).slice(8,-1);if(Ze==="Object"&&be.constructor&&(Ze=be.constructor.name),Ze==="Map"||Ze==="Set")return Array.from(be);if(Ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ze))return a(be,Ce)}}(i))||s&&i&&typeof i.length=="number"){O&&(i=O);var z=0,K=function(){};return{s:K,n:function(){return z>=i.length?{done:!0}:{done:!1,value:i[z++]}},e:function(be){throw be},f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var $,Q=!0,ae=!1;return{s:function(){O=O.call(i)},n:function(){var be=O.next();return Q=be.done,be},e:function(be){ae=!0,$=be},f:function(){try{Q||O.return==null||O.return()}finally{if(ae)throw $}}}}function a(i,s){(s==null||s>i.length)&&(s=i.length);for(var O=0,z=new Array(s);O<s;O++)z[O]=i[O];return z}(function(){var i,s,O,z,K,$;(s=(i=Path2D.prototype).roundRect)!==null&&s!==void 0||(i.roundRect=Q),globalThis.CanvasRenderingContext2D&&((z=(O=globalThis.CanvasRenderingContext2D.prototype).roundRect)!==null&&z!==void 0||(O.roundRect=Q)),globalThis.OffscreenCanvasRenderingContext2D&&(($=(K=globalThis.OffscreenCanvasRenderingContext2D.prototype).roundRect)!==null&&$!==void 0||(K.roundRect=Q));function Q(be,Ce,Ze,Be,Te){if([be,Ce,Ze,Be].every(function(rt){return Number.isFinite(rt)})){var He,Ve,Je,Me;if((Te=function(rt){var ft=(0,d.Z)(rt);return ft==="undefined"||rt===null?[0]:ft==="function"?[NaN]:ft==="object"?typeof rt[Symbol.iterator]=="function"?(0,w.Z)(rt).map(function(at){var ut=(0,d.Z)(at);return ut==="undefined"||at===null?0:ut==="function"?NaN:ut==="object"?Ne(at):Ye(at)}):[Ne(rt)]:[Ye(rt)]}(Te)).length===4)He=Qe(Te[0]),Ve=Qe(Te[1]),Je=Qe(Te[2]),Me=Qe(Te[3]);else if(Te.length===3)He=Qe(Te[0]),Ve=Qe(Te[1]),Me=Qe(Te[1]),Je=Qe(Te[2]);else if(Te.length===2)He=Qe(Te[0]),Je=Qe(Te[0]),Ve=Qe(Te[1]),Me=Qe(Te[1]);else{if(Te.length!==1)throw new RangeError("".concat(ae(this)," ").concat(Te.length," is not a valid size for radii sequence."));He=Qe(Te[0]),Ve=Qe(Te[0]),Je=Qe(Te[0]),Me=Qe(Te[0])}var me=[He,Ve,Je,Me],Se=me.find(function(rt){var ft=rt.x,at=rt.y;return ft<0||at<0});if(Se?.x<0?Se.x:Se?.y,!me.some(function(rt){var ft=rt.x,at=rt.y;return!Number.isFinite(ft)||!Number.isFinite(at)})){if(Se)throw new RangeError("".concat(ae(this)," Radius value ").concat(Se," is negative."));(function(rt){var ft=(0,m.Z)(rt,4),at=ft[0],ut=ft[1],Ot=ft[2],Pt=ft[3],Et=[Math.abs(Ze)/(at.x+ut.x),Math.abs(Be)/(ut.y+Ot.y),Math.abs(Ze)/(Ot.x+Pt.x),Math.abs(Be)/(at.y+Pt.y)],Mt=Math.min.apply(Math,Et);if(Mt<=1){var Yt,lt=r(rt);try{for(lt.s();!(Yt=lt.n()).done;){var ot=Yt.value;ot.x*=Mt,ot.y*=Mt}}catch(mt){lt.e(mt)}finally{lt.f()}}})(me),Ze<0&&Be<0?(this.moveTo(be-He.x,Ce),this.ellipse(be+Ze+Ve.x,Ce-Ve.y,Ve.x,Ve.y,0,1.5*-Math.PI,-Math.PI),this.ellipse(be+Ze+Je.x,Ce+Be+Je.y,Je.x,Je.y,0,-Math.PI,-Math.PI/2),this.ellipse(be-Me.x,Ce+Be+Me.y,Me.x,Me.y,0,-Math.PI/2,0),this.ellipse(be-He.x,Ce-He.y,He.x,He.y,0,0,-Math.PI/2)):Ze<0?(this.moveTo(be-He.x,Ce),this.ellipse(be+Ze+Ve.x,Ce+Ve.y,Ve.x,Ve.y,0,-Math.PI/2,-Math.PI,1),this.ellipse(be+Ze+Je.x,Ce+Be-Je.y,Je.x,Je.y,0,-Math.PI,1.5*-Math.PI,1),this.ellipse(be-Me.x,Ce+Be-Me.y,Me.x,Me.y,0,Math.PI/2,0,1),this.ellipse(be-He.x,Ce+He.y,He.x,He.y,0,0,-Math.PI/2,1)):Be<0?(this.moveTo(be+He.x,Ce),this.ellipse(be+Ze-Ve.x,Ce-Ve.y,Ve.x,Ve.y,0,Math.PI/2,0,1),this.ellipse(be+Ze-Je.x,Ce+Be+Je.y,Je.x,Je.y,0,0,-Math.PI/2,1),this.ellipse(be+Me.x,Ce+Be+Me.y,Me.x,Me.y,0,-Math.PI/2,-Math.PI,1),this.ellipse(be+He.x,Ce-He.y,He.x,He.y,0,-Math.PI,1.5*-Math.PI,1)):(this.moveTo(be+He.x,Ce),this.ellipse(be+Ze-Ve.x,Ce+Ve.y,Ve.x,Ve.y,0,-Math.PI/2,0),this.ellipse(be+Ze-Je.x,Ce+Be-Je.y,Je.x,Je.y,0,0,Math.PI/2),this.ellipse(be+Me.x,Ce+Be-Me.y,Me.x,Me.y,0,Math.PI/2,Math.PI),this.ellipse(be+He.x,Ce+He.y,He.x,He.y,0,Math.PI,1.5*Math.PI)),this.closePath(),this.moveTo(be,Ce)}}function Ne(rt){return{x:rt.x,y:rt.y,z:rt.z,w:rt.w}}function Ye(rt){return+rt}function Qe(rt){var ft,at,ut=Ye(rt);return Number.isFinite(ut)?{x:ut,y:ut}:Object(rt)===rt?{x:Ye((ft=rt.x)!==null&&ft!==void 0?ft:0),y:Ye((at=rt.y)!==null&&at!==void 0?at:0)}:{x:NaN,y:NaN}}}function ae(be){return"Failed to execute 'roundRect' on '".concat(function(Ce){return Object(Ce)===Ce&&Ce instanceof Path2D?"Path2D":Ce instanceof globalThis?.CanvasRenderingContext2D?"CanvasRenderingContext2D":Ce instanceof globalThis?.OffscreenCanvasRenderingContext2D?"OffscreenCanvasRenderingContext2D":Ce?.constructor.name||Ce}(be),"':")}})();var l,u=2,C=function(i,s,O,z,K,$,Q,ae){var be=arguments.length>8&&arguments[8]!==void 0&&arguments[8],Ce=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0;i.save(),i.translate($,Q),i.rotate(ae),be&&i.fillRect(s-$,O-Q,z,K),Ce&&i.roundRect?(i.beginPath(),i.roundRect(s-$,O-Q,z,K,Ce),i.stroke(),i.closePath()):i.strokeRect(s-$,O-Q,z,K),i.restore()},L=function(i,s,O,z){var K=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4];i.beginPath(),i.arc(s,O,z,0,2*Math.PI),i.fill(),K&&i.stroke()},_=function(i,s,O,z,K){var $=arguments.length>5&&arguments[5]!==void 0&&arguments[5];i.strokeStyle="#5e5ad8",i.setLineDash([]),i.fillStyle="rgba(255, 255, 255, 0.9)",K?i.fillStyle="rgba(134, 131, 226, 0.9)":$&&(i.fillStyle="rgba(177, 151, 252, 0.7)"),L(i,O[0],O[1],z/s.zoom.value,!$)},E=function(i,s,O){if(s.selectedLinearElement){i.save(),i.translate(s.scrollX,s.scrollY),i.lineWidth=1/s.zoom.value;var z=N._.getPointsGlobalCoordinates(O),K=N._.POINT_HANDLE_SIZE,$=s.editingLinearElement?K:K/2;z.forEach(function(Q,ae){var be,Ce,Ze=!((be=s.editingLinearElement)===null||be===void 0||(Ce=be.selectedPointsIndices)===null||Ce===void 0||!Ce.includes(ae));_(i,s,Q,$,Ze)}),N._.getEditorMidPoints(O,s).filter(function(Q){return Q!==null}).forEach(function(Q){var ae;s!=null&&(ae=s.selectedLinearElement)!==null&&ae!==void 0&&ae.segmentMidPointHoveredCoords&&N._.arePointsEqual(Q,s.selectedLinearElement.segmentMidPointHoveredCoords)?s.editingLinearElement?(_(i,s,Q,$,!1),D(Q,i,s)):(D(Q,i,s),_(i,s,Q,$,!1)):(s.editingLinearElement||z.length===2)&&_(i,s,Q,K/2,!1,!0)}),i.restore()}},D=function(i,s,O){s.fillStyle="rgba(105, 101, 219, 0.4)",L(s,i[0],i[1],N._.POINT_HANDLE_SIZE/O.zoom.value,!1)},F=function(i,s,O,z){s.translate(i.x+z.scrollX,i.y+z.scrollY),s.beginPath(),s.roundRect?s.roundRect(0,0,i.width,i.height,ce.iG.radius/z.zoom.value):s.rect(0,0,i.width,i.height),s.clip(),s.translate(-(i.x+z.scrollX),-(i.y+z.scrollY))},ee=function(i,s){return[i.width/s,i.height/s]},te=function(i){var s=i.canvas,O=i.scale,z=i.normalizedWidth,K=i.normalizedHeight,$=i.theme,Q=i.isExporting,ae=i.viewBackgroundColor,be=s.getContext("2d");return be.setTransform(1,0,0,1,0,0),be.scale(O,O),Q&&$==="dark"&&(be.filter=ce.ZF),typeof ae=="string"?((ae==="transparent"||ae.length===5||ae.length===9||/(hsla|rgba)\(/.test(ae))&&be.clearRect(0,0,z,K),be.save(),be.fillStyle=ae,be.fillRect(0,0,z,K),be.restore()):be.clearRect(0,0,z,K),be},re=function(i){var s,O=i.canvas,z=i.elements,K=i.visibleElements,$=i.selectedElements,Q=i.scale,ae=i.appState,be=i.renderConfig;if(O===null)return{atLeastOneVisibleElement:!1,elements:z};var Ce=ee(O,Q),Ze=(0,m.Z)(Ce,2),Be=Ze[0],Te=Ze[1],He=te({canvas:O,scale:Q,normalizedWidth:Be,normalizedHeight:Te});He.save(),He.scale(ae.zoom.value,ae.zoom.value);var Ve=void 0;if(K.forEach(function(gt){var wt;((wt=ae.editingLinearElement)===null||wt===void 0?void 0:wt.elementId)===gt.id&>&&(Ve=gt)}),Ve&&E(He,ae,Ve),ae.selectionElement)try{(0,f.uI)(ae.selectionElement,He,ae)}catch(gt){console.error(gt)}ae.isBindingEnabled&&ae.suggestedBindings.filter(function(gt){return gt!=null}).forEach(function(gt){ye(He,ae,gt)}),ae.frameToHighlight&&Oe(He,ae,ae.frameToHighlight),ae.elementsToHighlight&&ge(He,ae,ae.elementsToHighlight);var Je,Me=$.some(function(gt){return(0,b.He)(gt)});if($.length===1&&((s=ae.editingLinearElement)===null||s===void 0?void 0:s.elementId)===$[0].id&&E(He,ae,$[0]),ae.selectedLinearElement&&ae.selectedLinearElement.hoverPointIndex>=0&&function(gt,wt){var Ut,ar,ir=wt.selectedLinearElement,dr=ir.elementId,br=ir.hoverPointIndex;if((Ut=wt.editingLinearElement)===null||Ut===void 0||(ar=Ut.selectedPointsIndices)===null||ar===void 0||!ar.includes(br)){var hr=N._.getElement(dr);if(hr){var Ir=N._.getPointAtIndexGlobalCoordinates(hr,br);gt.save(),gt.translate(wt.scrollX,wt.scrollY),D(Ir,gt,wt),gt.restore()}}}(He,ae),!ae.multiElement&&!ae.editingLinearElement){var me,Se=(0,S.oY)($,ae);$.length===1&&(0,b.bt)($[0])&&((me=ae.selectedLinearElement)===null||me===void 0?void 0:me.elementId)===$[0].id&&!$[0].locked&&E(He,ae,$[0]);var Ne=be.selectionColor||v.black;if(Se){var Ye,Qe=$.reduce(function(gt,wt){return gt[wt.id]=!0,gt},{}),rt=z.reduce(function(gt,wt){var Ut=[];if(Qe[wt.id]&&!(0,W.zq)(ae,wt)&&Ut.push(Ne),be.remoteSelectedElementIds[wt.id]&&Ut.push.apply(Ut,(0,w.Z)(be.remoteSelectedElementIds[wt.id].map(function(pr){return(0,Z.G)(pr)}))),Ut.length){var ar,ir=(0,I.qf)(wt,!0),dr=(0,m.Z)(ir,6),br=dr[0],hr=dr[1],Ir=dr[2],wr=dr[3],sr=dr[4],fr=dr[5];gt.push({angle:wt.angle,elementX1:br,elementY1:hr,elementX2:Ir,elementY2:wr,selectionColors:Ut,dashed:!!be.remoteSelectedElementIds[wt.id],cx:sr,cy:fr,activeEmbeddable:((ar=ae.activeEmbeddable)===null||ar===void 0?void 0:ar.element)===wt&&ae.activeEmbeddable.state==="active"})}return gt},[]),ft=function(gt){var wt=(0,W.Fb)(z,gt),Ut=(0,I.KP)(wt),ar=(0,m.Z)(Ut,4),ir=ar[0],dr=ar[1],br=ar[2],hr=ar[3];rt.push({angle:0,elementX1:ir,elementX2:br,elementY1:dr,elementY2:hr,selectionColors:[v.black],dashed:!0,cx:ir+(br-ir)/2,cy:dr+(hr-dr)/2,activeEmbeddable:!1})},at=p((0,W.iJ)(ae));try{for(at.s();!(Ye=at.n()).done;)ft(Ye.value)}catch(gt){at.e(gt)}finally{at.f()}ae.editingGroupId&&ft(ae.editingGroupId),rt.forEach(function(gt){return je(He,ae,gt)})}if(He.save(),He.translate(ae.scrollX,ae.scrollY),$.length===1){He.fillStyle=v.white;var ut=(0,I.PC)($[0],ae.zoom,"mouse");!ae.viewModeEnabled&&Se&&Re(He,be,ae,ut,$[0].angle)}else if($.length>1&&!ae.isRotating){var Ot=2*u/ae.zoom.value;He.fillStyle=v.white;var Pt=(0,I.KP)($),Et=(0,m.Z)(Pt,4),Mt=Et[0],Yt=Et[1],lt=Et[2],ot=Et[3],mt=He.getLineDash();He.setLineDash([2/ae.zoom.value]);var pt=He.lineWidth;He.lineWidth=1/ae.zoom.value,He.strokeStyle=Ne,C(He,Mt-Ot,Yt-Ot,lt-Mt+2*Ot,ot-Yt+2*Ot,(Mt+lt)/2,(Yt+ot)/2,0),He.lineWidth=pt,He.setLineDash(mt);var ht=(0,I.kK)([Mt,Yt,lt,ot,(Mt+lt)/2,(Yt+ot)/2],0,ae.zoom,"mouse",Me?S.Fn:I.ox);$.some(function(gt){return!gt.locked})&&Re(He,be,ae,ht,0)}He.restore()}for(var yt in function(gt,wt){if(wt.snapLines.length){var Ut=wt.theme==="light"||wt.zenModeEnabled?"#ff6b6b":"#ff0000",ar=(wt.zenModeEnabled?1.5:1)/wt.zoom.value;gt.save(),gt.translate(wt.scrollX,wt.scrollY);var ir,dr=ve(wt.snapLines);try{for(dr.s();!(ir=dr.n()).done;){var br=ir.value;br.type==="pointer"?(gt.lineWidth=ar,gt.strokeStyle=Ut,U(br,gt,wt)):br.type==="gap"?(gt.lineWidth=ar,gt.strokeStyle=Ut,A(br.points[0],br.points[1],br.direction,wt,gt)):br.type==="points"&&(gt.lineWidth=ar,gt.strokeStyle=Ut,G(br,gt,wt))}}catch(hr){dr.e(hr)}finally{dr.f()}gt.restore()}}(He,ae),He.restore(),be.remotePointerViewportCoords){var Ct=be.remotePointerViewportCoords[yt],Bt=Ct.x,zt=Ct.y;Bt-=ae.offsetLeft,zt-=ae.offsetTop;var tr=Bt<0||Bt>Be-11||zt<0||zt>Te-14;Bt=Math.max(Bt,0),Bt=Math.min(Bt,Be-11),zt=Math.max(zt,0),zt=Math.min(zt,Te-14);var cr=(0,Z.G)(yt);He.save(),He.strokeStyle=cr,He.fillStyle=cr;var mr=be.remotePointerUserStates[yt],Ft=tr||mr===P.IDLE||mr===P.AWAY;Ft&&(He.globalAlpha=.3),be.remotePointerButton&&be.remotePointerButton[yt]==="down"&&(He.beginPath(),He.arc(Bt,zt,15,0,2*Math.PI,!1),He.lineWidth=3,He.strokeStyle="#ffffff88",He.stroke(),He.closePath(),He.beginPath(),He.arc(Bt,zt,15,0,2*Math.PI,!1),He.lineWidth=1,He.strokeStyle=cr,He.stroke(),He.closePath()),He.fillStyle=v.white,He.strokeStyle=v.white,He.lineWidth=6,He.lineJoin="round",He.beginPath(),He.moveTo(Bt,zt),He.lineTo(Bt+0,zt+14),He.lineTo(Bt+4,zt+9),He.lineTo(Bt+11,zt+8),He.closePath(),He.stroke(),He.fill(),He.fillStyle=cr,He.strokeStyle=cr,He.lineWidth=2,He.lineJoin="round",He.beginPath(),Ft?(He.moveTo(Bt-1,zt-1),He.lineTo(Bt-1,zt+15),He.lineTo(Bt+5,zt+10),He.lineTo(Bt+12,zt+9),He.closePath(),He.fill()):(He.moveTo(Bt,zt),He.lineTo(Bt+0,zt+14),He.lineTo(Bt+4,zt+9),He.lineTo(Bt+11,zt+8),He.closePath(),He.fill(),He.stroke());var xt=be.remotePointerUsernames[yt]||"";if(!tr&&xt){He.font="600 12px sans-serif";var At=Bt+5.5,Tt=zt+14+2,nr=He.measureText(xt),yr=nr.actualBoundingBoxDescent+nr.actualBoundingBoxAscent,kr=Math.max(yr,12),Tr=At-1,Or=Tt-1,Rt=nr.width+2+10+2,dt=kr+2+6+2;He.roundRect?(He.beginPath(),He.roundRect(Tr,Or,Rt,dt,8),He.fillStyle=cr,He.fill(),He.strokeStyle=v.white,He.stroke()):x(He,Tr,Or,Rt,dt,8,v.white),He.fillStyle=v.black,He.fillText(xt,At+5+1,Tt+3+nr.actualBoundingBoxAscent+Math.floor((kr-yr)/2)+2)}He.restore(),He.closePath()}return be.renderScrollbars&&(Je=(0,c.tJ)(z,Be,Te,ae),He.save(),He.fillStyle=c.w1,He.strokeStyle="rgba(255,255,255,0.8)",[Je.horizontal,Je.vertical].forEach(function(gt){gt&&x(He,gt.x,gt.y,gt.width,gt.height,c.nn/2)}),He.restore()),{scrollBars:Je,atLeastOneVisibleElement:K.length>0,elements:z}},oe=function(i){var s=i.canvas,O=i.rc,z=i.elements,K=i.visibleElements,$=i.scale,Q=i.appState,ae=i.renderConfig;if(s!==null){var be=ae.renderGrid,Ce=be===void 0||be,Ze=ae.isExporting,Be=ee(s,$),Te=(0,m.Z)(Be,2),He=Te[0],Ve=Te[1],Je=te({canvas:s,scale:$,normalizedWidth:He,normalizedHeight:Ve,theme:Q.theme,isExporting:Ze,viewBackgroundColor:Q.viewBackgroundColor});Je.scale(Q.zoom.value,Q.zoom.value),Ce&&Q.gridSize&&function(me,Se,Ne,Ye,Qe,rt,ft){var at;(function(pt){pt.Bold="#cccccc",pt.Regular="#e5e5e5"})(at||(at={}));var ut=-Math.round(Qe.value/Se)*Se+Ne%Se,Ot=-Math.round(Qe.value/Se)*Se+Ye%Se,Pt=Math.min(1/Qe.value,1),Et=1/Qe.value,Mt=[3*Pt,Et+(Pt+Et)];me.save(),me.lineWidth=Pt;for(var Yt=ut;Yt<ut+rt+2*Se;Yt+=Se){var lt=Math.round(Yt-Ne)%(5*Se)==0;me.beginPath(),me.setLineDash(lt?[]:Mt),me.strokeStyle=lt?at.Bold:at.Regular,me.moveTo(Yt,Ot-Se),me.lineTo(Yt,Ot+ft+2*Se),me.stroke()}for(var ot=Ot;ot<Ot+ft+2*Se;ot+=Se){var mt=Math.round(ot-Ye)%(5*Se)==0;me.beginPath(),me.setLineDash(mt?[]:Mt),me.strokeStyle=mt?at.Bold:at.Regular,me.moveTo(ut-Se,ot),me.lineTo(ut+rt+2*Se,ot),me.stroke()}me.restore()}(Je,Q.gridSize,Q.scrollX,Q.scrollY,Q.zoom,He/Q.zoom.value,Ve/Q.zoom.value);var Me=new Set;K.forEach(function(me){me.groupIds.length>0&&Q.frameToHighlight&&Q.selectedElementIds[me.id]&&((0,h.cO)(me,Q.frameToHighlight)||me.groupIds.find(function(Se){return Me.has(Se)}))&&me.groupIds.forEach(function(Se){return Me.add(Se)})}),K.filter(function(me){return!(0,y.uU)(me)}).forEach(function(me){try{var Se;if((me.frameId||!((Se=Q.frameToHighlight)===null||Se===void 0)&&Se.id)&&Q.frameRendering.enabled&&Q.frameRendering.clip){Je.save();var Ne=(0,h.cH)(me,Q);Ne&&(0,h.Qs)(me,z,Q)&&F(Ne,Je,0,Q),(0,f.lw)(me,O,Je,ae,Q),Je.restore()}else(0,f.lw)(me,O,Je,ae,Q);Ze||se(me,Je,Q)}catch(Ye){console.error(Ye)}}),K.filter(function(me){return(0,y.uU)(me)}).forEach(function(me){try{var Se,Ne=function(){if((0,f.lw)(me,O,Je,ae,Q),(0,b.gs)(me)&&(Ze||!me.validated)&&me.width&&me.height){var Qe=(0,y.g0)(me);(0,f.lw)(Qe,O,Je,ae,Q)}Ze||se(me,Je,Q)};if((me.frameId||!((Se=Q.frameToHighlight)===null||Se===void 0)&&Se.id)&&Q.frameRendering.enabled&&Q.frameRendering.clip){Je.save();var Ye=(0,h.cH)(me,Q);Ye&&(0,h.Qs)(me,z,Q)&&F(Ye,Je,0,Q),Ne(),Je.restore()}else Ne()}catch(Qe){console.error(Qe)}})}},Y=(0,J.hR)(function(i){var s,O=re(i);(s=i.callback)===null||s===void 0||s.call(i,O)},{trailing:!0}),V=function(i,s){if(!s){var O=re(i);return i.callback(O),O}Y(i)},ie=(0,J.hR)(function(i){oe(i)},{trailing:!0}),we=function(i,s){s?ie(i):oe(i)},Ae=function(){Y.cancel(),ie.cancel()},Re=function(i,s,O,z,K){Object.keys(z).forEach(function($){var Q=z[$];if(Q!==void 0){var ae=(0,m.Z)(Q,4),be=ae[0],Ce=ae[1],Ze=ae[2],Be=ae[3];i.save(),i.lineWidth=1/O.zoom.value,s.selectionColor&&(i.strokeStyle=s.selectionColor),$==="rotation"?L(i,be+Ze/2,Ce+Be/2,Ze/2):i.roundRect?(i.beginPath(),i.roundRect(be,Ce,Ze,Be,2/O.zoom.value),i.fill(),i.stroke()):C(i,be,Ce,Ze,Be,be+Ze/2,Ce+Be/2,K,!0),i.restore()}})},je=function(i,s,O){var z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2*u,K=O.angle,$=O.elementX1,Q=O.elementY1,ae=O.elementX2,be=O.elementY2,Ce=O.selectionColors,Ze=O.cx,Be=O.cy,Te=O.dashed,He=O.activeEmbeddable,Ve=ae-$,Je=be-Q,Me=z/s.zoom.value,me=8/s.zoom.value,Se=4/s.zoom.value;i.save(),i.translate(s.scrollX,s.scrollY),i.lineWidth=(He?4:1)/s.zoom.value;for(var Ne=Ce.length,Ye=0;Ye<Ne;++Ye)i.strokeStyle=Ce[Ye],Te&&i.setLineDash([me,Se+(me+Se)*(Ne-1)]),i.lineDashOffset=(me+Se)*Ye,C(i,$-Me,Q-Me,Ve+2*Me,Je+2*Me,Ze,Be,K);i.restore()},ye=function(i,s,O){var z=Array.isArray(O)?ue:Ee;i.save(),i.translate(s.scrollX,s.scrollY),z(i,O),i.restore()},Ee=function(i,s){var O=(0,I.qf)(s),z=(0,m.Z)(O,4),K=z[0],$=z[1],Q=z[2]-K,ae=z[3]-$,be=(0,k.fb)(s,Q,ae);i.strokeStyle="rgba(0,0,0,.05)",i.lineWidth=be-4;var Ce=2+be/2;switch(s.type){case"rectangle":case"text":case"image":case"embeddable":case"frame":C(i,K-Ce,$-Ce,Q+2*Ce,ae+2*Ce,K+Q/2,$+ae/2,s.angle);break;case"diamond":var Ze=Math.hypot(Q,ae);(function(Be,Te,He,Ve,Je,Me){Be.save(),Be.translate(Ve,Je),Be.rotate(Me),Be.beginPath(),Be.moveTo(0,He/2),Be.lineTo(Te/2,0),Be.lineTo(0,-He/2),Be.lineTo(-Te/2,0),Be.closePath(),Be.stroke(),Be.restore()})(i,Q+2*(Ce*Ze/ae),ae+2*(Ce*Ze/Q),K+Q/2,$+ae/2,s.angle);break;case"ellipse":(function(Be,Te,He,Ve,Je,Me){Be.beginPath(),Be.ellipse(Ve,Je,Te/2,He/2,Me,0,2*Math.PI),Be.stroke()})(i,Q+2*Ce,ae+2*Ce,K+Q/2,$+ae/2,s.angle)}},Oe=function(i,s,O){var z=(0,I.qf)(O),K=(0,m.Z)(z,4),$=K[0],Q=K[1],ae=K[2]-$,be=K[3]-Q;i.strokeStyle="rgb(0,118,255)",i.lineWidth=ce.iG.strokeWidth/s.zoom.value,i.save(),i.translate(s.scrollX,s.scrollY),C(i,$,Q,ae,be,$+ae/2,Q+be/2,O.angle,!1,ce.iG.radius/s.zoom.value),i.restore()},ge=function(i,s,O){var z=O.filter(function(Q){return Q.groupIds.length===0}),K=O.filter(function(Q){return Q.groupIds.length>0}),$=function(Q){var ae=(0,I.KP)(Q),be=(0,m.Z)(ae,4),Ce=be[0],Ze=be[1],Be=be[2],Te=be[3];return{angle:0,elementX1:Ce,elementX2:Be,elementY1:Ze,elementY2:Te,selectionColors:["rgb(0,118,255)"],dashed:!1,cx:Ce+(Be-Ce)/2,cy:Ze+(Te-Ze)/2,activeEmbeddable:!1}};Object.entries((0,W.yR)(K,s)).filter(function(Q){var ae=(0,m.Z)(Q,2);return ae[0],ae[1]}).map(function(Q){var ae=(0,m.Z)(Q,2),be=ae[0];return ae[1],be}).map(function(Q){return function(ae){var be=(0,W.Fb)(O,ae);return $(be)}(Q)}).concat(z.map(function(Q){return $([Q])})).forEach(function(Q){return je(i,s,Q)})},ue=function(i,s){var O=(0,m.Z)(s,3),z=O[0],K=O[1],$=O[2],Q=(0,k.fb)($,$.width,$.height);i.strokeStyle="rgba(0,0,0,0)",i.fillStyle="rgba(0,0,0,.05)",(K==="both"?[0,-1]:K==="start"?[0]:[-1]).forEach(function(ae){var be=N._.getPointAtIndexGlobalCoordinates(z,ae),Ce=(0,m.Z)(be,2),Ze=Ce[0],Be=Ce[1];L(i,Ze,Be,Q)})},se=function(i,s,O){if(i.link&&!O.selectedElementIds[i.id]){var z=(0,I.qf)(i),K=(0,m.Z)(z,4),$=K[0],Q=K[1],ae=K[2],be=K[3],Ce=(0,he.sw)([$,Q,ae,be],i.angle,O),Ze=(0,m.Z)(Ce,4),Be=Ze[0],Te=Ze[1],He=Ze[2],Ve=Ze[3],Je=Be+He/2,Me=Te+Ve/2;if(s.save(),s.translate(O.scrollX+Je,O.scrollY+Me),s.rotate(i.angle),l&&l.zoom===O.zoom.value)s.drawImage(l,Be-Je,Te-Me,He,Ve);else{(l=document.createElement("canvas")).zoom=O.zoom.value,l.width=He*window.devicePixelRatio*O.zoom.value,l.height=Ve*window.devicePixelRatio*O.zoom.value;var me=l.getContext("2d");me.scale(window.devicePixelRatio*O.zoom.value,window.devicePixelRatio*O.zoom.value),me.fillStyle="#fff",me.fillRect(0,0,He,Ve),me.drawImage(he.rj,0,0,He,Ve),me.restore(),s.drawImage(l,Be-Je,Te-Me,He,Ve)}s.restore()}},j=function(i,s,O,z,K){var $=K.offsetX,Q=$===void 0?0:$,ae=K.offsetY,be=ae===void 0?0:ae,Ce=K.exportWithDarkMode,Ze=K.renderEmbeddables,Be=K.frameRendering;if(O){var Te={exportWithDarkMode:Ce,renderEmbeddables:Ze,frameRendering:Be};i.filter(function(He){return!(0,y.uU)(He)}).forEach(function(He){if(!He.isDeleted)try{(0,f.Rg)(He,s,O,z,He.x+Q,He.y+be,Te)}catch(Ve){console.error(Ve)}}),i.filter(function(He){return(0,b.gs)(He)}).forEach(function(He){if(!He.isDeleted)try{(0,f.Rg)(He,s,O,z,He.x+Q,He.y+be,Te)}catch(Ve){console.error(Ve)}})}}},457:function(fe,t,e){var P=e(1930),w=e(8821),m=e(5169),v=e(7651),I=e(4183),x=e(6264),c=e(4643),f=function(N){return typeof N=="string"},Z=function(){function N(){var W=this;(0,w.Z)(this,N),this.callbacks=new Set,this.nonDeletedElements=[],this.elements=[],this.nonDeletedFrames=[],this.frames=[],this.elementsMap=new Map,this.selectedElementsCache={selectedElementIds:null,elements:null,cache:new Map},this.addNewElement=function(k){k.frameId?W.insertElementAtIndex(k,W.getElementIndex(k.frameId)):W.replaceAllElements([].concat((0,P.Z)(W.elements),[k]))}}return(0,m.Z)(N,[{key:"getElementsIncludingDeleted",value:function(){return this.elements}},{key:"getNonDeletedElements",value:function(){return this.nonDeletedElements}},{key:"getFramesIncludingDeleted",value:function(){return this.frames}},{key:"getSelectedElements",value:function(W){var k=function(he){for(var ve="",le=0,G=["includeBoundTextElement","includeElementsInFrames"];le<G.length;le++){var U=G[le];ve+="".concat(U,":").concat(he[U]?"1":"0")}return ve}(W),S=W?.elements||this.nonDeletedElements;if(this.selectedElementsCache.elements===S&&this.selectedElementsCache.selectedElementIds===W.selectedElementIds){var J=this.selectedElementsCache.cache.get(k);if(J)return J}else W?.elements==null&&this.selectedElementsCache.cache.clear();var ce=(0,x.eD)(S,{selectedElementIds:W.selectedElementIds},W);return W?.elements==null&&(this.selectedElementsCache.selectedElementIds=W.selectedElementIds,this.selectedElementsCache.elements=this.nonDeletedElements,this.selectedElementsCache.cache.set(k,ce)),ce}},{key:"getNonDeletedFrames",value:function(){return this.nonDeletedFrames}},{key:"getElement",value:function(W){return this.elementsMap.get(W)||null}},{key:"getVersionNonce",value:function(){return this.versionNonce}},{key:"getNonDeletedElement",value:function(W){var k=this.getElement(W);return k&&(0,v.qP)(k)?k:null}},{key:"mapElements",value:function(W){var k=!1,S=this.elements.map(function(J){var ce=W(J);return ce!==J&&(k=!0),ce});return k&&this.replaceAllElements(S),k}},{key:"replaceAllElements",value:function(W){var k=this;this.elements=W;var S=[];this.elementsMap.clear(),W.forEach(function(J){(0,I.He)(J)&&S.push(J),k.elementsMap.set(J.id,J),N.mapElementToScene(J,k)}),this.nonDeletedElements=(0,v.Lm)(this.elements),this.frames=S,this.nonDeletedFrames=(0,v.Xf)(this.frames),this.informMutation()}},{key:"informMutation",value:function(){this.versionNonce=(0,c.LU)();for(var W=0,k=Array.from(this.callbacks);W<k.length;W++)(0,k[W])()}},{key:"addCallback",value:function(W){var k=this;if(this.callbacks.has(W))throw new Error;return this.callbacks.add(W),function(){if(!k.callbacks.has(W))throw new Error;k.callbacks.delete(W)}}},{key:"destroy",value:function(){var W=this;this.nonDeletedElements=[],this.elements=[],this.nonDeletedFrames=[],this.frames=[],this.elementsMap.clear(),this.selectedElementsCache.selectedElementIds=null,this.selectedElementsCache.elements=null,this.selectedElementsCache.cache.clear(),N.sceneMapById.forEach(function(k,S){k===W&&N.sceneMapById.delete(S)}),this.callbacks.clear()}},{key:"insertElementAtIndex",value:function(W,k){if(!Number.isFinite(k)||k<0)throw new Error("insertElementAtIndex can only be called with index >= 0");var S=[].concat((0,P.Z)(this.elements.slice(0,k)),[W],(0,P.Z)(this.elements.slice(k)));this.replaceAllElements(S)}},{key:"insertElementsAtIndex",value:function(W,k){if(!Number.isFinite(k)||k<0)throw new Error("insertElementAtIndex can only be called with index >= 0");var S=[].concat((0,P.Z)(this.elements.slice(0,k)),(0,P.Z)(W),(0,P.Z)(this.elements.slice(k)));this.replaceAllElements(S)}},{key:"getElementIndex",value:function(W){return this.elements.findIndex(function(k){return k.id===W})}}],[{key:"mapElementToScene",value:function(W,k){var S=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];if(f(W)){if(!S)return;this.sceneMapById.set(W,k)}else this.sceneMapByElement.set(W,k),S||this.sceneMapById.set(W.id,k)}},{key:"getScene",value:function(W){return f(W)?this.sceneMapById.get(W)||null:this.sceneMapByElement.get(W)||null}}]),N}();Z.sceneMapByElement=new WeakMap,Z.sceneMapById=new Map,t.Z=Z},6049:function(fe,t,e){e.d(t,{Z:function(){return ve},i:function(){return G}});var P=e(1930),w=e(2577),m=e(7169),v=e(7651),I=e(2361),x=e(9660),c=e(9827),f=e(1493),Z=e(9937),N=e(4183),W=e(1648);function k(U,H){var M=Object.keys(U);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(U);H&&(A=A.filter(function(b){return Object.getOwnPropertyDescriptor(U,b).enumerable})),M.push.apply(M,A)}return M}function S(U){for(var H=1;H<arguments.length;H++){var M=arguments[H]!=null?arguments[H]:{};H%2?k(Object(M),!0).forEach(function(A){(0,m.Z)(U,A,M[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(M)):k(Object(M)).forEach(function(A){Object.defineProperty(U,A,Object.getOwnPropertyDescriptor(M,A))})}return U}var J=function(U){return[8,8+U]},ce=function(U){return[1.5,6+U]};function he(U){var H=U.roughness,M=Math.max(U.width,U.height),A=Math.min(U.width,U.height);return A>=20&&M>=50||A>=15&&U.roundness&&(0,W.sh)(U.type)||(0,N.bt)(U)&&M>=50?H:Math.min(H/(M<10?3:2),2.5)}var ve=function(U){var H=arguments.length>1&&arguments[1]!==void 0&&arguments[1],M={seed:U.seed,strokeLineDash:U.strokeStyle==="dashed"?J(U.strokeWidth):U.strokeStyle==="dotted"?ce(U.strokeWidth):void 0,disableMultiStroke:U.strokeStyle!=="solid",strokeWidth:U.strokeStyle!=="solid"?U.strokeWidth+.5:U.strokeWidth,fillWeight:U.strokeWidth/2,hachureGap:4*U.strokeWidth,roughness:he(U),stroke:U.strokeColor,preserveVertices:H||U.roughness<Z.$h.cartoonist};switch(U.type){case"rectangle":case"embeddable":case"diamond":case"ellipse":return M.fillStyle=U.fillStyle,M.fill=(0,c.Qm)(U.backgroundColor)?void 0:U.backgroundColor,U.type==="ellipse"&&(M.curveFitting=1),M;case"line":case"freedraw":return(0,I.g6)(U.points)&&(M.fillStyle=U.fillStyle,M.fill=U.backgroundColor==="transparent"?void 0:U.backgroundColor),M;case"arrow":return M;default:throw new Error("Unimplemented type ".concat(U.type))}},le=function(U,H){return U.type==="embeddable"&&(H||!U.validated)&&(0,c.Qm)(U.backgroundColor)&&(0,c.Qm)(U.strokeColor)?S(S({},U),{},{roughness:0,backgroundColor:"#d3d3d3",fillStyle:"solid"}):U},G=function(U,H){var M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];switch(U.type){case"rectangle":case"embeddable":var A;if(U.roundness){var b=U.width,y=U.height,h=(0,I.yW)(Math.min(b,y),U);A=H.path("M ".concat(h," 0 L ").concat(b-h," 0 Q ").concat(b," 0, ").concat(b," ").concat(h," L ").concat(b," ").concat(y-h," Q ").concat(b," ").concat(y,", ").concat(b-h," ").concat(y," L ").concat(h," ").concat(y," Q 0 ").concat(y,", 0 ").concat(y-h," L 0 ").concat(h," Q 0 0, ").concat(h," 0"),ve(le(U,M),!0))}else A=H.rectangle(0,0,U.width,U.height,ve(le(U,M),!1));return A;case"diamond":var d,r=(0,v.UC)(U),n=(0,w.Z)(r,8),p=n[0],a=n[1],l=n[2],u=n[3],C=n[4],L=n[5],_=n[6],E=n[7];if(U.roundness){var D=(0,I.yW)(Math.abs(p-_),U),F=(0,I.yW)(Math.abs(u-a),U);d=H.path("M ".concat(p+D," ").concat(a+F," L ").concat(l-D," ").concat(u-F,` + C `).concat(l," ").concat(u,", ").concat(l," ").concat(u,", ").concat(l-D," ").concat(u+F,` + L `).concat(C+D," ").concat(L-F,` + C `).concat(C," ").concat(L,", ").concat(C," ").concat(L,", ").concat(C-D," ").concat(L-F,` + L `).concat(_+D," ").concat(E+F,` + C `).concat(_," ").concat(E,", ").concat(_," ").concat(E,", ").concat(_+D," ").concat(E-F,` + L `).concat(p-D," ").concat(a+F,` + C `).concat(p," ").concat(a,", ").concat(p," ").concat(a,", ").concat(p+D," ").concat(a+F),ve(U,!0))}else d=H.polygon([[p,a],[l,u],[C,L],[_,E]],ve(U));return d;case"ellipse":var ee=H.ellipse(U.width/2,U.height/2,U.width,U.height,ve(U));return ee;case"line":case"arrow":var te,re=ve(U),oe=U.points.length?U.points:[[0,0]];if(te=U.roundness?[H.curve(oe,re)]:re.fill?[H.polygon(oe,re)]:[H.linearPath(oe,re)],U.type==="arrow"){var Y=U.startArrowhead,V=Y===void 0?null:Y,ie=U.endArrowhead,we=ie===void 0?"arrow":ie,Ae=function(se,j,i,s){var O=(0,v.Y5)(se,j,i,s);if(O===null)return[];if(s==="dot"){var z=(0,w.Z)(O,3),K=z[0],$=z[1],Q=z[2];return[H.circle(K,$,Q,S(S({},re),{},{fill:se.strokeColor,fillStyle:"solid",stroke:"none"}))]}if(s==="triangle"){var ae=(0,w.Z)(O,6),be=ae[0],Ce=ae[1],Ze=ae[2],Be=ae[3],Te=ae[4],He=ae[5];return delete re.strokeLineDash,[H.polygon([[be,Ce],[Ze,Be],[Te,He],[be,Ce]],S(S({},re),{},{fill:se.strokeColor,fillStyle:"solid"}))]}var Ve=(0,w.Z)(O,6),Je=Ve[0],Me=Ve[1],me=Ve[2],Se=Ve[3],Ne=Ve[4],Ye=Ve[5];if(se.strokeStyle==="dotted"){var Qe=ce(se.strokeWidth-1);re.strokeLineDash=[Qe[0],Qe[1]-1]}else delete re.strokeLineDash;return[H.line(me,Se,Je,Me,re),H.line(Ne,Ye,Je,Me,re)]};if(V!==null){var Re,je=Ae(U,te,"start",V);(Re=te).push.apply(Re,(0,P.Z)(je))}if(we!==null){var ye,Ee=Ae(U,te,"end",we);(ye=te).push.apply(ye,(0,P.Z)(Ee))}}return te;case"freedraw":var Oe;if((0,x.Lc)(U),(0,I.g6)(U.points)){var ge=(0,f.og)(U.points,.75);Oe=H.curve(ge,S(S({},ve(U)),{},{stroke:"none"}))}else Oe=null;return Oe;case"frame":case"text":case"image":var ue=null;return ue;default:return(0,c.vE)(U,"generateElementShape(): Unimplemented type ".concat(U?.type)),null}}},2921:function(fe,t,e){e.d(t,{R:function(){return x}});var P=e(5169),w=e(8821),m=e(8128),v=e(9660),I=e(6049),x=(0,P.Z)(function c(){(0,w.Z)(this,c)});x.rg=new m.V,x.cache=new WeakMap,x.get=function(c){return x.cache.get(c)},x.set=function(c,f){return x.cache.set(c,f)},x.delete=function(c){return x.cache.delete(c)},x.destroy=function(){x.cache=new WeakMap},x.generateElementShape=function(c){var f=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Z=f?void 0:x.get(c);if(Z!==void 0)return Z;v.Xx.delete(c);var N=(0,I.i)(c,x.rg,f);return x.cache.set(c,N),N}},1648:function(fe,t,e){e.d(t,{$b:function(){return w},CJ:function(){return Z},M9:function(){return I},PD:function(){return m},QG:function(){return f},Un:function(){return c},Zd:function(){return v},sh:function(){return x}});var P=e(4183),w=function(N){return N==="rectangle"||N==="embeddable"||N==="ellipse"||N==="diamond"||N==="line"||N==="freedraw"},m=function(N){return N!=="image"&&N!=="frame"},v=function(N){return N==="rectangle"||N==="embeddable"||N==="ellipse"||N==="diamond"||N==="freedraw"||N==="arrow"||N==="line"},I=function(N){return N==="rectangle"||N==="embeddable"||N==="ellipse"||N==="diamond"||N==="arrow"||N==="line"},x=function(N){return N==="rectangle"||N==="embeddable"||N==="arrow"||N==="line"||N==="diamond"},c=function(N){return N==="arrow"},f=function(N,W){for(var k=null,S=N.length-1;S>=0;--S){var J=N[S];if(!J.isDeleted&&W(J)){k=J;break}}return k},Z=function(N,W){var k=[];return N.filter(function(S){return!(S.isDeleted||!W(S))&&(!(0,P.gs)(S)||(k.push(S),!1))}).concat(k)}},3668:function(fe,t,e){e.d(t,{$D:function(){return r},Cg:function(){return p},NL:function(){return d}});var P=e(7169),w=e(2577),m=e(8950),v=e(2975),I=e.n(v),x=e(9845),c=e(4949),f=e(7766),Z=e(9827),N=e(9937),W=e(6853),k=e(4419),S=e(4178),J=e(6013),ce=e(4682),he=e(7651),ve=e(583),le=e(457);function G(a,l){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(a);l&&(C=C.filter(function(L){return Object.getOwnPropertyDescriptor(a,L).enumerable})),u.push.apply(u,C)}return u}function U(a){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?G(Object(u),!0).forEach(function(C){(0,P.Z)(a,C,u[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):G(Object(u)).forEach(function(C){Object.defineProperty(a,C,Object.getOwnPropertyDescriptor(u,C))})}return a}function H(a,l){var u=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!u){if(Array.isArray(a)||(u=function(F,ee){if(F){if(typeof F=="string")return M(F,ee);var te=Object.prototype.toString.call(F).slice(8,-1);if(te==="Object"&&F.constructor&&(te=F.constructor.name),te==="Map"||te==="Set")return Array.from(F);if(te==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(te))return M(F,ee)}}(a))||l&&a&&typeof a.length=="number"){u&&(a=u);var C=0,L=function(){};return{s:L,n:function(){return C>=a.length?{done:!0}:{done:!1,value:a[C++]}},e:function(F){throw F},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _,E=!0,D=!1;return{s:function(){u=u.call(a)},n:function(){var F=u.next();return E=F.done,F},e:function(F){D=!0,_=F},f:function(){try{E||u.return==null||u.return()}finally{if(D)throw _}}}}function M(a,l){(l==null||l>a.length)&&(l=a.length);for(var u=0,C=new Array(l);u<l;u++)C[u]=a[u];return C}var A=function(a){var l=new le.Z;return l.replaceAllElements((0,Z.xU)(a),!1),l},b=function(a,l){if(a.width<=l)return a;var u=document.createElement("canvas").getContext("2d");u.font=(0,Z.mO)({fontFamily:a.fontFamily,fontSize:a.fontSize});var C=a.text;if(u.measureText(C).width>l)for(var L=C.length;L>0;L--){var _="".concat(C.slice(0,L),"...");if(u.measureText(_).width<=l){C=_;break}}return(0,ve.BE)(a,{text:C,width:l})},y=function(a,l){return l=l||(0,W.im)().frameRendering,{enabled:!!a||l.enabled,outline:!a&&l.outline,name:!a&&l.name,clip:!!a||l.clip}},h=function(a){var l=a.elements,u=a.exportingFrame,C=a.frameRendering,L=a.exportWithDarkMode;return u?(0,J.Xs)({elements:l,bounds:u,type:"overlap"}):C.enabled&&C.name?function(_,E){var D,F=[],ee=0,te=H(_);try{for(te.s();!(D=te.n()).done;){var re=D.value;if((0,he.He)(re)){ee++;var oe=(0,he.VL)({x:re.x,y:re.y-N.iG.nameOffsetY,fontFamily:N.ut.Assistant,fontSize:N.iG.nameFontSize,lineHeight:N.iG.nameLineHeight,strokeColor:E.exportWithDarkMode?N.iG.nameColorDarkTheme:N.iG.nameColorLightTheme,text:re.name||"Frame ".concat(ee)});oe.y-=oe.height,oe=b(oe,re.width),F.push(oe)}F.push(re)}}catch(Y){te.e(Y)}finally{te.f()}return F}(l,{exportWithDarkMode:L}):l},d=function(){var a=(0,m.Z)(I().mark(function l(u,C,L,_){var E,D,F,ee,te,re,oe,Y,V,ie,we,Ae,Re,je,ye,Ee,Oe,ge,ue,se,j,i,s,O=arguments;return I().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return D=_.exportBackground,F=_.exportPadding,ee=F===void 0?N.qy:F,te=_.viewBackgroundColor,re=_.exportingFrame,oe=O.length>4&&O[4]!==void 0?O[4]:function(K,$){var Q=document.createElement("canvas");return Q.width=K*C.exportScale,Q.height=$*C.exportScale,{canvas:Q,scale:C.exportScale}},Y=A(u),u=Y.getNonDeletedElements(),V=y(re??null,(E=C.frameRendering)!==null&&E!==void 0?E:null),ie=h({elements:u,exportingFrame:re,exportWithDarkMode:C.exportWithDarkMode,frameRendering:V}),re&&(ee=0),we=n(re?[re]:(0,ce._h)(ie),ee),Ae=(0,w.Z)(we,4),Re=Ae[0],je=Ae[1],ye=Ae[2],Ee=Ae[3],Oe=oe(ye,Ee),ge=Oe.canvas,ue=Oe.scale,se=ue===void 0?1:ue,j=(0,W.im)(),z.next=12,(0,S.Xx)({imageCache:new Map,fileIds:(0,S.oA)(ie).map(function(K){return K.fileId}),files:L});case 12:return i=z.sent,s=i.imageCache,(0,f.AW)({canvas:ge,rc:x.Z.canvas(ge),elements:ie,visibleElements:ie,scale:se,appState:U(U({},C),{},{frameRendering:V,viewBackgroundColor:D?te:null,scrollX:-Re+ee,scrollY:-je+ee,zoom:j.zoom,shouldCacheIgnoreZoom:!1,theme:C.exportWithDarkMode?"dark":"light"}),renderConfig:{imageCache:s,renderGrid:!1,isExporting:!0}}),Y.destroy(),z.abrupt("return",ge);case 17:case"end":return z.stop()}},l)}));return function(l,u,C,L){return a.apply(this,arguments)}}(),r=function(){var a=(0,m.Z)(I().mark(function l(u,C,L,_){var E,D,F,ee,te,re,oe,Y,V,ie,we,Ae,Re,je,ye,Ee,Oe,ge,ue,se,j,i,s,O,z,K,$,Q,ae,be,Ce,Ze,Be,Te,He,Ve,Je,Me,me,Se,Ne,Ye,Qe;return I().wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:if(ee=A(u),u=ee.getNonDeletedElements(),te=y((E=_?.exportingFrame)!==null&&E!==void 0?E:null,(D=C.frameRendering)!==null&&D!==void 0?D:null),re=C.exportPadding,oe=re===void 0?N.qy:re,Y=C.exportWithDarkMode,V=Y!==void 0&&Y,ie=C.viewBackgroundColor,we=C.exportScale,Ae=we===void 0?1:we,Re=C.exportEmbedScene,je=(_||{}).exportingFrame,Ee=h({elements:u,exportingFrame:ye=je===void 0?null:je,exportWithDarkMode:V,frameRendering:te}),ye&&(oe=0),Oe="",!Re){rt.next=20;break}return rt.prev=9,rt.next=12,Promise.resolve().then(e.bind(e,250));case 12:return rt.next=14,rt.sent.encodeSvgMetadata({text:(0,k.I_)(u,C,L||{},"local")});case 14:Oe=rt.sent,rt.next=20;break;case 17:rt.prev=17,rt.t0=rt.catch(9),console.error(rt.t0);case 20:ge=n(ye?[ye]:(0,ce._h)(Ee),oe),ue=(0,w.Z)(ge,4),se=ue[0],j=ue[1],i=ue[2],s=ue[3],(O=document.createElementNS(N.hR,"svg")).setAttribute("version","1.1"),O.setAttribute("xmlns",N.hR),O.setAttribute("viewBox","0 0 ".concat(i," ").concat(s)),O.setAttribute("width","".concat(i*Ae)),O.setAttribute("height","".concat(s*Ae)),V&&O.setAttribute("filter",N.ZF),z="https://excalidraw.com/",z=window.EXCALIDRAW_ASSET_PATH||"https://unpkg.com/".concat("@excalidraw/excalidraw","@").concat({VITE_APP_BACKEND_V2_GET_URL:"https://json.excalidraw.com/api/v2/",VITE_APP_BACKEND_V2_POST_URL:"https://json.excalidraw.com/api/v2/post/",VITE_APP_LIBRARY_URL:"https://libraries.excalidraw.com",VITE_APP_LIBRARY_BACKEND:"https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries",VITE_APP_PORTAL_URL:"https://portal.excalidraw.com",VITE_APP_PLUS_LP:"https://plus.excalidraw.com",VITE_APP_PLUS_APP:"https://app.excalidraw.com",VITE_APP_WS_SERVER_URL:"",VITE_APP_FIREBASE_CONFIG:'{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}',VITE_APP_DISABLE_TRACKING:"",VITE_PKG_NAME:"@excalidraw/excalidraw",VITE_PKG_VERSION:"0.17.3",VITE_IS_EXCALIDRAW_NPM_PACKAGE:!0}.PKG_VERSION),(K=z)!==null&&K!==void 0&&K.startsWith("/")&&(z=z.replace("/","".concat(window.location.origin,"/"))),z="".concat(z,"/dist/excalidraw-assets/"),$=-se+oe,Q=-j+oe,ae=(0,ce.wO)(u),be="",Ce=H(ae);try{for(Ce.s();!(Ze=Ce.n()).done;)Be=Ze.value,Te=(0,c.qf)(Be),He=(0,w.Z)(Te,4),Ve=He[0],Je=He[1],Me=He[2],me=He[3],Se=(Me-Ve)/2-(Be.x-Ve),Ne=(me-Je)/2-(Be.y-Je),be+="<clipPath id=".concat(Be.id,`> + <rect transform="translate(`).concat(Be.x+$," ").concat(Be.y+Q,") rotate(").concat(Be.angle," ").concat(Se," ").concat(Ne,`)" + width="`).concat(Be.width,`" + height="`).concat(Be.height,`" + > + </rect> + </clipPath>`)}catch(ft){Ce.e(ft)}finally{Ce.f()}return O.innerHTML=` + `.concat("<!-- svg-source:excalidraw -->",` + `).concat(Oe,` + <defs> + <style class="style-fonts"> + @font-face { + font-family: "Virgil"; + src: url("`).concat(z,`Virgil.woff2"); + } + @font-face { + font-family: "Cascadia"; + src: url("`).concat(z,`Cascadia.woff2"); + } + @font-face { + font-family: "Assistant"; + src: url("`).concat(z,`Assistant-Regular.woff2"); + } + </style> + `).concat(be,` + </defs> + `),C.exportBackground&&ie&&((Ye=O.ownerDocument.createElementNS(N.hR,"rect")).setAttribute("x","0"),Ye.setAttribute("y","0"),Ye.setAttribute("width","".concat(i)),Ye.setAttribute("height","".concat(s)),Ye.setAttribute("fill",ie),O.appendChild(Ye)),Qe=x.Z.svg(O),(0,f.M_)(Ee,Qe,O,L||{},{offsetX:$,offsetY:Q,exportWithDarkMode:V,renderEmbeddables:(F=_?.renderEmbeddables)!==null&&F!==void 0&&F,frameRendering:te}),ee.destroy(),rt.abrupt("return",O);case 42:case"end":return rt.stop()}},l,null,[[9,17]])}));return function(l,u,C,L){return a.apply(this,arguments)}}(),n=function(a,l){var u=(0,c.KP)(a),C=(0,w.Z)(u,4),L=C[0],_=C[1],E=C[2],D=C[3];return[L,_,(0,Z.TE)(L,E)+2*l,(0,Z.TE)(_,D)+2*l]},p=function(a,l,u){var C=n(a,l).map(function(_){return Math.trunc(_*u)}),L=(0,w.Z)(C,4);return[L[2],L[3]]}},4105:function(fe,t,e){e.d(t,{$b:function(){return v.$b},CJ:function(){return v.CJ},M9:function(){return v.M9},N:function(){return w.N},PR:function(){return w.PR},QG:function(){return v.QG},Un:function(){return v.Un},W:function(){return m.W},Yp:function(){return w.Yp},Zd:function(){return v.Zd},Zs:function(){return w.Zs},_4:function(){return P._4},eD:function(){return w.eD},j:function(){return I.j},sh:function(){return v.sh}});var P=e(4726),w=e(6264),m=e(2382),v=e(1648),I=e(4116)},2382:function(fe,t,e){e.d(t,{W:function(){return I},s:function(){return v}});var P=e(2577),w=e(7651),m=e(9827),v=function(x){var c=x.scenePoint,f=x.viewportDimensions,Z=x.zoom;return{scrollX:f.width/2/Z.value-c.x,scrollY:f.height/2/Z.value-c.y}},I=function(x,c){if(!(x=(0,w.n_)(x)).length)return{scrollX:0,scrollY:0};var f=(0,w.KP)(x),Z=(0,P.Z)(f,4),N=Z[0],W=Z[1],k=Z[2],S=Z[3];if(function(he,ve){var le=(0,P.Z)(ve,4),G=le[0],U=le[1],H=le[2],M=le[3],A=(0,m._i)({sceneX:G,sceneY:U},he),b=A.x,y=A.y,h=(0,m._i)({sceneX:H,sceneY:M},he),d=h.x,r=h.y;return d-b>he.width||r-y>he.height}(c,[N,W,k,S])){var J=(0,w.os)(x,(0,m.dE)({clientX:c.scrollX,clientY:c.scrollY},c)),ce=(0,P.Z)(J,4);N=ce[0],W=ce[1],k=ce[2],S=ce[3]}return v({scenePoint:{x:(N+k)/2,y:(W+S)/2},viewportDimensions:{width:c.width,height:c.height},zoom:c.zoom})}},4726:function(fe,t,e){e.d(t,{WM:function(){return I},_4:function(){return Z},nn:function(){return x},tJ:function(){return f},w1:function(){return c}});var P=e(2577),w=e(7651),m=e(9827),v=e(8227),I=4,x=6,c="rgba(0,0,0,0.3)",f=function(N,W,k,S){if(N.length===0)return{horizontal:null,vertical:null};var J=(0,w.KP)(N),ce=(0,P.Z)(J,4),he=ce[0],ve=ce[1],le=ce[2],G=ce[3],U=W/S.zoom.value,H=k/S.zoom.value,M=W-U,A=k-H,b={top:parseInt((0,m.IH)("sat"))||0,bottom:parseInt((0,m.IH)("sab"))||0,left:parseInt((0,m.IH)("sal"))||0,right:parseInt((0,m.IH)("sar"))||0},y=(0,v.G3)().rtl,h=-S.scrollX+M/2+b.left,d=-S.scrollY+A/2+b.top,r=h+U-b.right,n=d+H-b.bottom,p=Math.min(he,h),a=Math.min(ve,d),l=Math.max(le,r),u=Math.max(G,n);return{horizontal:h===p&&r===l?null:{x:Math.max(b.left,I)+(h-p)/(l-p)*W,y:k-x-Math.max(I,b.bottom),width:(r-h)/(l-p)*W-Math.max(2*I,b.left+b.right),height:x},vertical:d===a&&n===u?null:{x:y?Math.max(b.left,I):W-x-Math.max(b.right,I),y:(d-a)/(u-a)*k+Math.max(b.top,I),width:x,height:(n-d)/(u-a)*k-Math.max(2*I,b.top+b.bottom)}}},Z=function(N,W,k){var S=[N.horizontal,N.vertical].map(function(ve){return ve!=null&&ve.x<=W&&W<=ve.x+ve.width&&ve.y<=k&&k<=ve.y+ve.height}),J=(0,P.Z)(S,2),ce=J[0],he=J[1];return{isOverEither:ce||he,isOverHorizontal:ce,isOverVertical:he}}},6264:function(fe,t,e){e.d(t,{CF:function(){return S},N:function(){return J},Oh:function(){return le},PR:function(){return ce},Yp:function(){return k},Zs:function(){return ve},aI:function(){return W},eD:function(){return he}});var P,w,m,v,I=e(2577),x=e(7651),c=e(4183),f=e(4682),Z=e(9827),N=e(7935),W=function(G){var U=new Set;return G.forEach(function(H){H.type==="frame"&&U.add(H.id)}),G.filter(function(H){return!H.frameId||!U.has(H.frameId)})},k=function(G,U){var H=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],M=(0,x.qf)(U),A=(0,I.Z)(M,4),b=A[0],y=A[1],h=A[2],d=A[3],r=G.filter(function(n){var p=(0,x.Pi)(n),a=(0,I.Z)(p,4),l=a[0],u=a[1],C=a[2],L=a[3],_=(0,f.$Z)(n);if(_){var E=(0,x.Pi)(_),D=(0,I.Z)(E,4),F=D[0],ee=D[1],te=D[2],re=D[3];l=Math.max(F,l),u=Math.max(ee,u),C=Math.min(te,C),L=Math.min(re,L)}return n.locked===!1&&n.type!=="selection"&&!(0,c.Xh)(n)&&b<=l&&y<=u&&h>=C&&d>=L});return r=(r=H?W(r):r).filter(function(n){var p=(0,f.$Z)(n);return!p||(0,f.cO)(n,p)})},S=function(G,U,H){var M=new Set(U.map(function(A){return A.id}));return G.filter(function(A){var b=(0,N.PZ)(A,H.width,H.height,H);return!M.has(A.id)&&b})},J=(P=null,w=null,m=null,(v=function(G,U){return m!=null&&G===P&&U.selectedElementIds===w||(m=G.some(function(H){return U.selectedElementIds[H.id]}),P=G,w=U.selectedElementIds),m}).clearCache=function(){P=null,w=null,m=null},v),ce=function(G,U,H){var M=Array.from(new Set(he(G,U).map(function(A){return H(A)})));return M.length===1?M[0]:null},he=function(G,U,H){var M=G.filter(function(b){return U.selectedElementIds[b.id]||H!=null&&H.includeBoundTextElement&&(0,c.Xh)(b)&&U.selectedElementIds[b?.containerId]?b:null});if(H!=null&&H.includeElementsInFrames){var A=[];return M.forEach(function(b){b.type==="frame"&&(0,f.zD)(G,b.id).forEach(function(y){return A.push(y)}),A.push(b)}),A}return M},ve=function(G,U){return U.editingElement?[U.editingElement]:he(G,U,{includeBoundTextElement:!0})},le=function(G,U){return(0,Z.w8)(U.selectedElementIds,G)?U.selectedElementIds:G}},4116:function(fe,t,e){e.d(t,{E:function(){return m},j:function(){return w}});var P=e(9937),w=function(v){return Math.max(P.Zj,Math.min(v,30))},m=function(v,I){var x=v.viewportX,c=v.viewportY,f=v.nextZoom,Z=x-I.offsetLeft,N=c-I.offsetTop,W=I.zoom.value;return{scrollX:I.scrollX+(Z-Z/W)+-(Z-Z/f),scrollY:I.scrollY+(N-N/W)+-(N-N/f),zoom:{value:f}}}},9827:function(fe,t,e){e.d(t,{$9:function(){return re},$g:function(){return U},$h:function(){return Ee},AK:function(){return _},B4:function(){return h},C3:function(){return ie},Ds:function(){return M},FG:function(){return E},Fc:function(){return J},G3:function(){return V},G9:function(){return s},HP:function(){return i},I4:function(){return Ae},IH:function(){return u},Ip:function(){return oe},Mj:function(){return se},Om:function(){return n},Oo:function(){return ce},Qm:function(){return ee},TE:function(){return r},Vv:function(){return b},XF:function(){return O},_Z:function(){return ve},_i:function(){return l},ag:function(){return je},cx:function(){return D},dE:function(){return a},dZ:function(){return L},h2:function(){return Re},hR:function(){return A},mO:function(){return H},qr:function(){return F},qz:function(){return Y},s:function(){return G},tH:function(){return te},uY:function(){return p},v4:function(){return ye},vE:function(){return j},w8:function(){return ue},wO:function(){return he},xU:function(){return z},xn:function(){return we},xp:function(){return ge},y1:function(){return le},y8:function(){return Oe},yo:function(){return d}});var P=e(6655),w=e(7169),m=e(1930),v=e(2577),I=e(9240),x=e(9937),c=e(5156),f=e(9787),Z=e.n(f);function N(K,$){var Q=typeof Symbol<"u"&&K[Symbol.iterator]||K["@@iterator"];if(!Q){if(Array.isArray(K)||(Q=function(Te,He){if(Te){if(typeof Te=="string")return W(Te,He);var Ve=Object.prototype.toString.call(Te).slice(8,-1);if(Ve==="Object"&&Te.constructor&&(Ve=Te.constructor.name),Ve==="Map"||Ve==="Set")return Array.from(Te);if(Ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ve))return W(Te,He)}}(K))||$&&K&&typeof K.length=="number"){Q&&(K=Q);var ae=0,be=function(){};return{s:be,n:function(){return ae>=K.length?{done:!0}:{done:!1,value:K[ae++]}},e:function(Te){throw Te},f:be}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ce,Ze=!0,Be=!1;return{s:function(){Q=Q.call(K)},n:function(){var Te=Q.next();return Ze=Te.done,Te},e:function(Te){Be=!0,Ce=Te},f:function(){try{Ze||Q.return==null||Q.return()}finally{if(Be)throw Ce}}}}function W(K,$){($==null||$>K.length)&&($=K.length);for(var Q=0,ae=new Array($);Q<$;Q++)ae[Q]=K[Q];return ae}function k(K,$){var Q=Object.keys(K);if(Object.getOwnPropertySymbols){var ae=Object.getOwnPropertySymbols(K);$&&(ae=ae.filter(function(be){return Object.getOwnPropertyDescriptor(K,be).enumerable})),Q.push.apply(Q,ae)}return Q}function S(K){for(var $=1;$<arguments.length;$++){var Q=arguments[$]!=null?arguments[$]:{};$%2?k(Object(Q),!0).forEach(function(ae){(0,w.Z)(K,ae,Q[ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(K,Object.getOwnPropertyDescriptors(Q)):k(Object(Q)).forEach(function(ae){Object.defineProperty(K,ae,Object.getOwnPropertyDescriptor(Q,ae))})}return K}var J=function(){var K=new Date,$=K.getFullYear(),Q="".concat(K.getMonth()+1).padStart(2,"0"),ae="".concat(K.getDate()).padStart(2,"0"),be="".concat(K.getHours()).padStart(2,"0"),Ce="".concat(K.getMinutes()).padStart(2,"0");return"".concat($,"-").concat(Q,"-").concat(ae,"-").concat(be).concat(Ce)},ce=function(K){return K.charAt(0).toUpperCase()+K.slice(1)},he=function(K){return K instanceof HTMLElement&&K.className.includes("ToolIcon")},ve=function(K){return K instanceof HTMLElement&&K.dataset.type==="wysiwyg"||K instanceof HTMLBRElement||K instanceof HTMLInputElement||K instanceof HTMLTextAreaElement||K instanceof HTMLSelectElement},le=function(K){return ve(K)||K instanceof Element&&!!K.closest("label, button")},G=function(K){return K instanceof HTMLElement&&K.dataset.type==="wysiwyg"||K instanceof HTMLBRElement||K instanceof HTMLTextAreaElement||K instanceof HTMLInputElement&&(K.type==="text"||K.type==="number")},U=function(K){for(var $=K.fontFamily,Q=0,ae=Object.entries(x.ut);Q<ae.length;Q++){var be=(0,v.Z)(ae[Q],2),Ce=be[0];if(be[1]===$)return"".concat(Ce,", ").concat(x._D)}return x._D},H=function(K){var $=K.fontSize,Q=K.fontFamily;return"".concat($,"px ").concat(U({fontFamily:Q}))},M=function(K,$){var Q=0,ae=null,be=function(){for(var Ce=arguments.length,Ze=new Array(Ce),Be=0;Be<Ce;Be++)Ze[Be]=arguments[Be];ae=Ze,clearTimeout(Q),Q=window.setTimeout(function(){ae=null,K.apply(void 0,Ze)},$)};return be.flush=function(){if(clearTimeout(Q),ae){var Ce=ae;ae=null,K.apply(void 0,(0,m.Z)(Ce))}},be.cancel=function(){ae=null,clearTimeout(Q)},be},A=function(K,$){var Q=null,ae=null,be=null,Ce=function Be(Te){Q=window.requestAnimationFrame(function(){Q=null,K.apply(void 0,(0,m.Z)(Te)),ae=null,be&&(ae=be,be=null,Be(ae))})},Ze=function(){for(var Be=arguments.length,Te=new Array(Be),He=0;He<Be;He++)Te[He]=arguments[He];ae=Te,Q===null?Ce(ae):$!=null&&$.trailing&&(be=Te)};return Ze.flush=function(){Q!==null&&(cancelAnimationFrame(Q),Q=null),ae&&(K.apply(void 0,(0,m.Z)(be||ae)),ae=be=null)},Ze.cancel=function(){ae=be=null,Q!==null&&(cancelAnimationFrame(Q),Q=null)},Ze},b=function(K){return 1-Math.pow(1-K,4)},y=function(K,$,Q){return($-K)*b(Q)+K},h=function(K){var $,Q=K.fromValues,ae=K.toValues,be=K.onStep,Ce=K.duration,Ze=Ce===void 0?250:Ce,Be=K.interpolateValue,Te=K.onStart,He=K.onEnd,Ve=K.onCancel,Je=!1,Me=0;return Me=window.requestAnimationFrame(function me(Se){if(!Je){$===void 0&&($=Se,Te?.());var Ne=Math.min(Se-$,Ze),Ye=b(Ne/Ze),Qe={};if(Object.keys(Q).forEach(function(at){var ut=at,Ot=(ae[ut]-Q[ut])*Ye+Q[ut];Qe[ut]=Ot}),be(Qe),Ne<Ze){var rt=Ne/Ze,ft={};Object.keys(Q).forEach(function(at){var ut,Ot=at,Pt=Q[Ot],Et=ae[Ot];(ut=Be?Be(Pt,Et,rt,Ot):y(Pt,Et,rt))==null&&(ut=y(Pt,Et,rt)),ft[Ot]=ut}),be(ft),Me=window.requestAnimationFrame(me)}else be(ae),He?.()}}),function(){Ve?.(),Je=!0,window.cancelAnimationFrame(Me)}},d=function(K,$){if(!K.length||$<1)return[];for(var Q=0,ae=0,be=Array(Math.ceil(K.length/$));Q<K.length;)be[ae++]=K.slice(Q,Q+=$);return be},r=function(K,$){return Math.abs(K-$)},n=function(K,$){var Q,ae;return $.type==="custom"?S(S({},K.activeTool),{},{type:"custom",customType:$.customType,locked:(ae=$.locked)!==null&&ae!==void 0?ae:K.activeTool.locked}):S(S({},K.activeTool),{},{lastActiveTool:$.lastActiveToolBeforeEraser===void 0?K.activeTool.lastActiveTool:$.lastActiveToolBeforeEraser,type:$.type,customType:null,locked:(Q=$.locked)!==null&&Q!==void 0?Q:K.activeTool.locked})},p=function(K){return K=K.replace(/\bAlt\b/i,"Alt").replace(/\bShift\b/i,"Shift").replace(/\b(Enter|Return)\b/i,"Enter"),x.Um?K.replace(/\bCtrlOrCmd\b/gi,"Cmd").replace(/\bAlt\b/i,"Option"):K.replace(/\bCtrlOrCmd\b/gi,"Ctrl")},a=function(K,$){var Q=K.clientX,ae=K.clientY,be=$.zoom,Ce=$.offsetLeft,Ze=$.offsetTop,Be=$.scrollX,Te=$.scrollY;return{x:(Q-Ce)/be.value-Be,y:(ae-Ze)/be.value-Te}},l=function(K,$){var Q=K.sceneX,ae=K.sceneY,be=$.zoom,Ce=$.offsetLeft,Ze=$.offsetTop,Be=$.scrollX,Te=$.scrollY;return{x:(Q+Be)*be.value+Ce,y:(ae+Te)*be.value+Ze}},u=function(K){return getComputedStyle(document.documentElement).getPropertyValue("--".concat(K))},C=new RegExp("^[^".concat("A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿Ⰰ-﬜﷾-﹯﻽-￿","]*[").concat("֑-߿יִ-﷽ﹰ-ﻼ","]")),L=function(K){return C.test(K)},_=function(K){var $=(0,v.Z)(K,2);return{x:$[0],y:$[1]}},E=function(K){if(K?.name!=="AbortError")throw K;console.warn(K)},D=function(K,$){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Q<0&&(Q=K.length+Q);for(var ae=(Q=Math.min(K.length,Math.max(Q,0)))-1;++ae<K.length;)if($(K[ae],ae,K))return ae;return-1},F=function(K,$){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:K.length-1;Q<0&&(Q=K.length+Q);for(var ae=(Q=Math.min(K.length-1,Math.max(Q,0)))+1;--ae>-1;)if($(K[ae],ae,K))return ae;return-1},ee=function(K){var $=K.length===5&&K.substr(4,1)==="0",Q=K.length===9&&K.substr(7,2)==="00";return $||Q||K===I.HO.transparent},te=function(K){return function($){(0,c.unstable_batchedUpdates)(K,$)}},re=function(K){return A(function($){(0,c.unstable_batchedUpdates)(K,$)})},oe=function(K){for(var $=K.parentElement;$;){if($===document.body)return document;var Q=window.getComputedStyle($).overflowY;if($.scrollHeight>$.clientHeight&&(Q==="auto"||Q==="scroll"||Q==="overlay"))return $;$=$.parentElement}return document},Y=function(K){for(var $=K.parentElement;$;){if($.tabIndex>-1)return void $.focus();$=$.parentElement}},V=function(K){return Array.from(K).map(function($){return"0".concat($.toString(16)).slice(-2)}).join("")},ie=function(){return Re()?1:Date.now()},we=function(K){return K.reduce(function($,Q){return $.set(typeof Q=="string"?Q:Q.id,Q),$},new Map)},Ae=function(K){return K.reduce(function($,Q,ae){return $.set(Q.id,[Q,ae]),$},new Map)},Re=function(){return!1},je=function(K,$){return new CustomEvent(K,{detail:{nativeEvent:$},cancelable:!0})},ye=function(K,$){var Q=!1;for(var ae in $){var be=$[ae];if(be!==void 0){if(K[ae]===be&&((0,P.Z)(be)!=="object"||be===null))continue;Q=!0}}return Q?S(S({},K),$):K},Ee=function(){try{return window.self===window.top?"top":"iframe"}catch{return"iframe"}},Oe=function(K){return!!K&&(0,P.Z)(K)==="object"&&"then"in K&&"catch"in K&&"finally"in K},ge=function(K){var $=K?.querySelectorAll("button, a, input, select, textarea, div[tabindex], label[tabindex]");return $?Array.from($).filter(function(Q){return Q.tabIndex>-1&&!Q.disabled}):[]},ue=function(K,$,Q){var ae=arguments.length>3&&arguments[3]!==void 0&&arguments[3],be=Object.keys(K),Ce=Object.keys($);return be.length===Ce.length&&be.every(function(Ze){var Be=Q?.[Ze],Te=Be?Be(K[Ze],$[Ze]):K[Ze]===$[Ze];return!Te&&ae&&console.info("%cisShallowEqual: ".concat(Ze," not equal ->"),"color: #8B4000",K[Ze],$[Ze]),Te})},se=function(K,$){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ae=Q.checkForDefaultPrevented,be=ae===void 0||ae;return function(Ce){if(K?.(Ce),!be||!Ce.defaultPrevented)return $?.(Ce)}},j=function(K,$,Q){if(!$)return K;if(Q)return console.error($),K;throw new Error($)},i=function(K){var $,Q,ae=function(be){var Ce=Object.entries(be);if($){var Ze,Be=!0,Te=N(Ce);try{for(Te.s();!(Ze=Te.n()).done;){var He=(0,v.Z)(Ze.value,2),Ve=He[0],Je=He[1];if($.get(Ve)!==Je){Be=!1;break}}}catch(me){Te.e(me)}finally{Te.f()}if(Be)return Q}var Me=K(be);return $=new Map(Ce),Q=Me,Me};return ae.clear=function(){$=void 0,Q=void 0},ae},s=function(){var K;try{var $=Z().version.split(".");K=Number($[0])>17}catch{K=!1}var Q=!1;return function(){return window.EXCALIDRAW_THROTTLE_RENDER===!0&&(!!K||(Q||(Q=!0,console.warn("Excalidraw: render throttling is disabled on React versions < 18.")),!1))}}(),O=function(K,$){return K instanceof Set||K instanceof Map?K.has($):"includes"in K?K.includes($):K.hasOwnProperty($)},z=function(K){return JSON.parse(JSON.stringify(K))}},3041:function(fe,t,e){var P=e(3379),w=e.n(P),m=e(7795),v=e.n(m),I=e(569),x=e.n(I),c=e(3565),f=e.n(c),Z=e(9216),N=e.n(Z),W=e(4589),k=e.n(W),S=e(2044),J={};J.styleTagTransform=k(),J.setAttributes=f(),J.insert=x().bind(null,"head"),J.domAPI=v(),J.insertStyleElement=N(),w()(S.Z,J),S.Z&&S.Z.locals&&S.Z.locals},3379:function(fe){var t=[];function e(m){for(var v=-1,I=0;I<t.length;I++)if(t[I].identifier===m){v=I;break}return v}function P(m,v){for(var I={},x=[],c=0;c<m.length;c++){var f=m[c],Z=v.base?f[0]+v.base:f[0],N=I[Z]||0,W="".concat(Z," ").concat(N);I[Z]=N+1;var k=e(W),S={css:f[1],media:f[2],sourceMap:f[3],supports:f[4],layer:f[5]};if(k!==-1)t[k].references++,t[k].updater(S);else{var J=w(S,v);v.byIndex=c,t.splice(c,0,{identifier:W,updater:J,references:1})}x.push(W)}return x}function w(m,v){var I=v.domAPI(v);return I.update(m),function(x){if(x){if(x.css===m.css&&x.media===m.media&&x.sourceMap===m.sourceMap&&x.supports===m.supports&&x.layer===m.layer)return;I.update(m=x)}else I.remove()}}fe.exports=function(m,v){var I=P(m=m||[],v=v||{});return function(x){x=x||[];for(var c=0;c<I.length;c++){var f=e(I[c]);t[f].references--}for(var Z=P(x,v),N=0;N<I.length;N++){var W=e(I[N]);t[W].references===0&&(t[W].updater(),t.splice(W,1))}I=Z}}},569:function(fe){var t={};fe.exports=function(e,P){var w=function(m){if(t[m]===void 0){var v=document.querySelector(m);if(window.HTMLIFrameElement&&v instanceof window.HTMLIFrameElement)try{v=v.contentDocument.head}catch{v=null}t[m]=v}return t[m]}(e);if(!w)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");w.appendChild(P)}},9216:function(fe){fe.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:function(fe,t,e){fe.exports=function(P){var w=e.nc;w&&P.setAttribute("nonce",w)}},7795:function(fe){fe.exports=function(t){if(typeof document>"u")return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(P){(function(w,m,v){var I="";v.supports&&(I+="@supports (".concat(v.supports,") {")),v.media&&(I+="@media ".concat(v.media," {"));var x=v.layer!==void 0;x&&(I+="@layer".concat(v.layer.length>0?" ".concat(v.layer):""," {")),I+=v.css,x&&(I+="}"),v.media&&(I+="}"),v.supports&&(I+="}");var c=v.sourceMap;c&&typeof btoa<"u"&&(I+=` +/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(c))))," */")),m.styleTagTransform(I,w,m.options)})(e,t,P)},remove:function(){(function(P){if(P.parentNode===null)return!1;P.parentNode.removeChild(P)})(e)}}}},4589:function(fe){fe.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},9669:function(fe){fe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg=="},7984:function(fe){fe.exports='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4" viewBox="0 0 292 292"><path d="M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z"/></svg>'},1639:function(fe){fe.exports='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4" viewBox="0 0 292 292"><path fill="%23ced4da" d="M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z"/></svg>'},9729:function(fe,t,e){fe.exports=e.p+"excalidraw-assets/Assistant-Bold.woff2"},1273:function(fe,t,e){fe.exports=e.p+"excalidraw-assets/Assistant-Medium.woff2"},8303:function(fe,t,e){fe.exports=e.p+"excalidraw-assets/Assistant-Regular.woff2"},9577:function(fe,t,e){fe.exports=e.p+"excalidraw-assets/Assistant-SemiBold.woff2"},3147:function(fe,t,e){fe.exports=e.p+"excalidraw-assets/Cascadia.woff2"},3940:function(fe,t,e){fe.exports=e.p+"excalidraw-assets/Virgil.woff2"},9787:function(fe){fe.exports=Yi},5156:function(fe){fe.exports=ji},1020:function(fe){fe.exports=li},9649:function(fe,t,e){var P=e(8114).default;function w(){fe.exports=w=function(){return m},fe.exports.__esModule=!0,fe.exports.default=fe.exports;var m={},v=Object.prototype,I=v.hasOwnProperty,x=Object.defineProperty||function(a,l,u){a[l]=u.value},c=typeof Symbol=="function"?Symbol:{},f=c.iterator||"@@iterator",Z=c.asyncIterator||"@@asyncIterator",N=c.toStringTag||"@@toStringTag";function W(a,l,u){return Object.defineProperty(a,l,{value:u,enumerable:!0,configurable:!0,writable:!0}),a[l]}try{W({},"")}catch{W=function(l,u,C){return l[u]=C}}function k(a,l,u,C){var L=l&&l.prototype instanceof ce?l:ce,_=Object.create(L.prototype),E=new r(C||[]);return x(_,"_invoke",{value:b(a,u,E)}),_}function S(a,l,u){try{return{type:"normal",arg:a.call(l,u)}}catch(C){return{type:"throw",arg:C}}}m.wrap=k;var J={};function ce(){}function he(){}function ve(){}var le={};W(le,f,function(){return this});var G=Object.getPrototypeOf,U=G&&G(G(n([])));U&&U!==v&&I.call(U,f)&&(le=U);var H=ve.prototype=ce.prototype=Object.create(le);function M(a){["next","throw","return"].forEach(function(l){W(a,l,function(u){return this._invoke(l,u)})})}function A(a,l){function u(L,_,E,D){var F=S(a[L],a,_);if(F.type!=="throw"){var ee=F.arg,te=ee.value;return te&&P(te)=="object"&&I.call(te,"__await")?l.resolve(te.__await).then(function(re){u("next",re,E,D)},function(re){u("throw",re,E,D)}):l.resolve(te).then(function(re){ee.value=re,E(ee)},function(re){return u("throw",re,E,D)})}D(F.arg)}var C;x(this,"_invoke",{value:function(L,_){function E(){return new l(function(D,F){u(L,_,D,F)})}return C=C?C.then(E,E):E()}})}function b(a,l,u){var C="suspendedStart";return function(L,_){if(C==="executing")throw new Error("Generator is already running");if(C==="completed"){if(L==="throw")throw _;return p()}for(u.method=L,u.arg=_;;){var E=u.delegate;if(E){var D=y(E,u);if(D){if(D===J)continue;return D}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(C==="suspendedStart")throw C="completed",u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);C="executing";var F=S(a,l,u);if(F.type==="normal"){if(C=u.done?"completed":"suspendedYield",F.arg===J)continue;return{value:F.arg,done:u.done}}F.type==="throw"&&(C="completed",u.method="throw",u.arg=F.arg)}}}function y(a,l){var u=l.method,C=a.iterator[u];if(C===void 0)return l.delegate=null,u==="throw"&&a.iterator.return&&(l.method="return",l.arg=void 0,y(a,l),l.method==="throw")||u!=="return"&&(l.method="throw",l.arg=new TypeError("The iterator does not provide a '"+u+"' method")),J;var L=S(C,a.iterator,l.arg);if(L.type==="throw")return l.method="throw",l.arg=L.arg,l.delegate=null,J;var _=L.arg;return _?_.done?(l[a.resultName]=_.value,l.next=a.nextLoc,l.method!=="return"&&(l.method="next",l.arg=void 0),l.delegate=null,J):_:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,J)}function h(a){var l={tryLoc:a[0]};1 in a&&(l.catchLoc=a[1]),2 in a&&(l.finallyLoc=a[2],l.afterLoc=a[3]),this.tryEntries.push(l)}function d(a){var l=a.completion||{};l.type="normal",delete l.arg,a.completion=l}function r(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(h,this),this.reset(!0)}function n(a){if(a){var l=a[f];if(l)return l.call(a);if(typeof a.next=="function")return a;if(!isNaN(a.length)){var u=-1,C=function L(){for(;++u<a.length;)if(I.call(a,u))return L.value=a[u],L.done=!1,L;return L.value=void 0,L.done=!0,L};return C.next=C}}return{next:p}}function p(){return{value:void 0,done:!0}}return he.prototype=ve,x(H,"constructor",{value:ve,configurable:!0}),x(ve,"constructor",{value:he,configurable:!0}),he.displayName=W(ve,N,"GeneratorFunction"),m.isGeneratorFunction=function(a){var l=typeof a=="function"&&a.constructor;return!!l&&(l===he||(l.displayName||l.name)==="GeneratorFunction")},m.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,ve):(a.__proto__=ve,W(a,N,"GeneratorFunction")),a.prototype=Object.create(H),a},m.awrap=function(a){return{__await:a}},M(A.prototype),W(A.prototype,Z,function(){return this}),m.AsyncIterator=A,m.async=function(a,l,u,C,L){L===void 0&&(L=Promise);var _=new A(k(a,l,u,C),L);return m.isGeneratorFunction(l)?_:_.next().then(function(E){return E.done?E.value:_.next()})},M(H),W(H,N,"Generator"),W(H,f,function(){return this}),W(H,"toString",function(){return"[object Generator]"}),m.keys=function(a){var l=Object(a),u=[];for(var C in l)u.push(C);return u.reverse(),function L(){for(;u.length;){var _=u.pop();if(_ in l)return L.value=_,L.done=!1,L}return L.done=!0,L}},m.values=n,r.prototype={constructor:r,reset:function(a){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(d),!a)for(var l in this)l.charAt(0)==="t"&&I.call(this,l)&&!isNaN(+l.slice(1))&&(this[l]=void 0)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if(a.type==="throw")throw a.arg;return this.rval},dispatchException:function(a){if(this.done)throw a;var l=this;function u(F,ee){return _.type="throw",_.arg=a,l.next=F,ee&&(l.method="next",l.arg=void 0),!!ee}for(var C=this.tryEntries.length-1;C>=0;--C){var L=this.tryEntries[C],_=L.completion;if(L.tryLoc==="root")return u("end");if(L.tryLoc<=this.prev){var E=I.call(L,"catchLoc"),D=I.call(L,"finallyLoc");if(E&&D){if(this.prev<L.catchLoc)return u(L.catchLoc,!0);if(this.prev<L.finallyLoc)return u(L.finallyLoc)}else if(E){if(this.prev<L.catchLoc)return u(L.catchLoc,!0)}else{if(!D)throw new Error("try statement without catch or finally");if(this.prev<L.finallyLoc)return u(L.finallyLoc)}}}},abrupt:function(a,l){for(var u=this.tryEntries.length-1;u>=0;--u){var C=this.tryEntries[u];if(C.tryLoc<=this.prev&&I.call(C,"finallyLoc")&&this.prev<C.finallyLoc){var L=C;break}}L&&(a==="break"||a==="continue")&&L.tryLoc<=l&&l<=L.finallyLoc&&(L=null);var _=L?L.completion:{};return _.type=a,_.arg=l,L?(this.method="next",this.next=L.finallyLoc,J):this.complete(_)},complete:function(a,l){if(a.type==="throw")throw a.arg;return a.type==="break"||a.type==="continue"?this.next=a.arg:a.type==="return"?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):a.type==="normal"&&l&&(this.next=l),J},finish:function(a){for(var l=this.tryEntries.length-1;l>=0;--l){var u=this.tryEntries[l];if(u.finallyLoc===a)return this.complete(u.completion,u.afterLoc),d(u),J}},catch:function(a){for(var l=this.tryEntries.length-1;l>=0;--l){var u=this.tryEntries[l];if(u.tryLoc===a){var C=u.completion;if(C.type==="throw"){var L=C.arg;d(u)}return L}}throw new Error("illegal catch attempt")},delegateYield:function(a,l,u){return this.delegate={iterator:n(a),resultName:l,nextLoc:u},this.method==="next"&&(this.arg=void 0),J}},m}fe.exports=w,fe.exports.__esModule=!0,fe.exports.default=fe.exports},8114:function(fe){function t(e){return fe.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},fe.exports.__esModule=!0,fe.exports.default=fe.exports,t(e)}fe.exports=t,fe.exports.__esModule=!0,fe.exports.default=fe.exports},2975:function(fe,t,e){var P=e(9649)();fe.exports=P;try{regeneratorRuntime=P}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=P:Function("r","regeneratorRuntime = r")(P)}},7017:function(fe,t,e){function P(w,m){(m==null||m>w.length)&&(m=w.length);for(var v=0,I=new Array(m);v<m;v++)I[v]=w[v];return I}e.d(t,{Z:function(){return P}})},3173:function(fe,t,e){function P(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}e.d(t,{Z:function(){return P}})},8950:function(fe,t,e){function P(m,v,I,x,c,f,Z){try{var N=m[f](Z),W=N.value}catch(k){return void I(k)}N.done?v(W):Promise.resolve(W).then(x,c)}function w(m){return function(){var v=this,I=arguments;return new Promise(function(x,c){var f=m.apply(v,I);function Z(W){P(f,x,c,Z,N,"next",W)}function N(W){P(f,x,c,Z,N,"throw",W)}Z(void 0)})}}e.d(t,{Z:function(){return w}})},8821:function(fe,t,e){function P(w,m){if(!(w instanceof m))throw new TypeError("Cannot call a class as a function")}e.d(t,{Z:function(){return P}})},5169:function(fe,t,e){e.d(t,{Z:function(){return m}});var P=e(3525);function w(v,I){for(var x=0;x<I.length;x++){var c=I[x];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(v,(0,P.Z)(c.key),c)}}function m(v,I,x){return I&&w(v.prototype,I),x&&w(v,x),Object.defineProperty(v,"prototype",{writable:!1}),v}},7169:function(fe,t,e){e.d(t,{Z:function(){return w}});var P=e(3525);function w(m,v,I){return(v=(0,P.Z)(v))in m?Object.defineProperty(m,v,{value:I,enumerable:!0,configurable:!0,writable:!0}):m[v]=I,m}},11:function(fe,t,e){function P(){return P=Object.assign?Object.assign.bind():function(w){for(var m=1;m<arguments.length;m++){var v=arguments[m];for(var I in v)Object.prototype.hasOwnProperty.call(v,I)&&(w[I]=v[I])}return w},P.apply(this,arguments)}e.d(t,{Z:function(){return P}})},2312:function(fe,t,e){function P(w){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(m){return m.__proto__||Object.getPrototypeOf(m)},P(w)}e.d(t,{Z:function(){return P}})},2248:function(fe,t,e){e.d(t,{Z:function(){return w}});var P=e(5901);function w(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),Object.defineProperty(m,"prototype",{writable:!1}),v&&(0,P.Z)(m,v)}},2726:function(fe,t,e){function P(w,m){if(w==null)return{};var v,I,x=function(f,Z){if(f==null)return{};var N,W,k={},S=Object.keys(f);for(W=0;W<S.length;W++)N=S[W],Z.indexOf(N)>=0||(k[N]=f[N]);return k}(w,m);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(w);for(I=0;I<c.length;I++)v=c[I],m.indexOf(v)>=0||Object.prototype.propertyIsEnumerable.call(w,v)&&(x[v]=w[v])}return x}e.d(t,{Z:function(){return P}})},7245:function(fe,t,e){e.d(t,{Z:function(){return m}});var P=e(6655),w=e(3173);function m(v,I){if(I&&((0,P.Z)(I)==="object"||typeof I=="function"))return I;if(I!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,w.Z)(v)}},5901:function(fe,t,e){function P(w,m){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,I){return v.__proto__=I,v},P(w,m)}e.d(t,{Z:function(){return P}})},2577:function(fe,t,e){e.d(t,{Z:function(){return w}});var P=e(9139);function w(m,v){return function(I){if(Array.isArray(I))return I}(m)||function(I,x){var c=I==null?null:typeof Symbol<"u"&&I[Symbol.iterator]||I["@@iterator"];if(c!=null){var f,Z,N,W,k=[],S=!0,J=!1;try{if(N=(c=c.call(I)).next,x===0){if(Object(c)!==c)return;S=!1}else for(;!(S=(f=N.call(c)).done)&&(k.push(f.value),k.length!==x);S=!0);}catch(ce){J=!0,Z=ce}finally{try{if(!S&&c.return!=null&&(W=c.return(),Object(W)!==W))return}finally{if(J)throw Z}}return k}}(m,v)||(0,P.Z)(m,v)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}},1930:function(fe,t,e){e.d(t,{Z:function(){return m}});var P=e(7017),w=e(9139);function m(v){return function(I){if(Array.isArray(I))return(0,P.Z)(I)}(v)||function(I){if(typeof Symbol<"u"&&I[Symbol.iterator]!=null||I["@@iterator"]!=null)return Array.from(I)}(v)||(0,w.Z)(v)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}},3525:function(fe,t,e){e.d(t,{Z:function(){return w}});var P=e(6655);function w(m){var v=function(I,x){if((0,P.Z)(I)!=="object"||I===null)return I;var c=I[Symbol.toPrimitive];if(c!==void 0){var f=c.call(I,x||"default");if((0,P.Z)(f)!=="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return(x==="string"?String:Number)(I)}(m,"string");return(0,P.Z)(v)==="symbol"?v:String(v)}},6655:function(fe,t,e){function P(w){return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},P(w)}e.d(t,{Z:function(){return P}})},9139:function(fe,t,e){e.d(t,{Z:function(){return w}});var P=e(7017);function w(m,v){if(m){if(typeof m=="string")return(0,P.Z)(m,v);var I=Object.prototype.toString.call(m).slice(8,-1);return I==="Object"&&m.constructor&&(I=m.constructor.name),I==="Map"||I==="Set"?Array.from(m):I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I)?(0,P.Z)(m,v):void 0}}},3607:function(fe,t,e){e.d(t,{zt:function(){return U},cn:function(){return H},Vv:function(){return he},KO:function(){return b},Dv:function(){return M},b9:function(){return A}});var P=e(9787);let w=0;const m=Symbol(),v=y=>!!y[m],I=y=>!y[m].c,x=y=>{var h;const{b:d,c:r}=y[m];r&&(r(),(h=Z.get(d))==null||h())},c=(y,h)=>{const d=y[m].o,r=h[m].o;return d===r||y===r||v(d)&&c(d,h)},f=(y,h)=>{const d={b:y,o:h,c:null},r=new Promise(n=>{d.c=()=>{d.c=null,n()},h.finally(d.c)});return r[m]=d,r},Z=new WeakMap,N=y=>"init"in y,W="r",k="w",S="c",J="s",ce=y=>{const h=new WeakMap,d=new WeakMap,r=new Map;let n,p;if(n=new Set,p=new Set,y)for(const[ge,ue]of y){const se={v:ue,r:0,y:!0,d:new Map};Object.freeze(se),N(ge)||console.warn("Found initial value for derived atom which can cause unexpected behavior",ge),h.set(ge,se)}const a=new WeakMap,l=new WeakMap,u=ge=>{let ue=l.get(ge);return ue||(ue=new Map,l.set(ge,ue)),ue},C=(ge,ue)=>{if(ge){const se=u(ge);let j=se.get(ue);return j||(j=C(ge.p,ue),j&&"p"in j&&I(j.p)&&(j=void 0),j&&se.set(ue,j)),j}return h.get(ue)},L=(ge,ue,se)=>{if(Object.freeze(se),ge)u(ge).set(ue,se);else{const j=h.get(ue);h.set(ue,se),r.has(ue)||r.set(ue,j)}},_=(ge,ue=new Map,se)=>{if(!se)return ue;const j=new Map;let i=!1;return se.forEach(s=>{var O;const z=((O=C(ge,s))==null?void 0:O.r)||0;j.set(s,z),ue.get(s)!==z&&(i=!0)}),ue.size!==j.size||i?j:ue},E=(ge,ue,se,j,i)=>{const s=C(ge,ue);if(s){if(i&&(!("p"in s)||!c(s.p,i)))return s;"p"in s&&x(s.p)}const O={v:se,r:s?.r||0,y:!0,d:_(ge,s?.d,j)};let z=!s?.y;return s&&"v"in s&&Object.is(s.v,se)?O.d===s.d||O.d.size===s.d.size&&Array.from(O.d.keys()).every(K=>s.d.has(K))||(z=!0,Promise.resolve().then(()=>{je(ge)})):(z=!0,++O.r,O.d.has(ue)&&(O.d=new Map(O.d).set(ue,O.r))),s&&!z?s:(L(ge,ue,O),O)},D=(ge,ue,se,j,i)=>{const s=C(ge,ue);if(s){if(i&&(!("p"in s)||!c(s.p,i)))return s;"p"in s&&x(s.p)}const O={e:se,r:(s?.r||0)+1,y:!0,d:_(ge,s?.d,j)};return L(ge,ue,O),O},F=(ge,ue,se,j)=>{const i=C(ge,ue);if(i&&"p"in i){if(c(i.p,se)&&!I(i.p))return i.y?i:{...i,y:!0};x(i.p)}((O,z,K)=>{let $=a.get(z);$||($=new Map,a.set(z,$)),K.then(()=>{$.get(O)===K&&($.delete(O),$.size||a.delete(z))}),$.set(O,K)})(ge,ue,se);const s={p:se,r:(i?.r||0)+1,y:!0,d:_(ge,i?.d,j)};return L(ge,ue,s),s},ee=(ge,ue,se,j)=>{if(se instanceof Promise){const i=f(se,se.then(s=>{E(ge,ue,s,j,i)}).catch(s=>{if(s instanceof Promise)return v(s)?s.then(()=>{te(ge,ue,!0)}):s;D(ge,ue,s,j,i)}));return F(ge,ue,i,j)}return E(ge,ue,se,j)},te=(ge,ue,se)=>{if(!se){const i=C(ge,ue);if(i){if(i.y&&"p"in i&&!I(i.p))return i;if(i.d.forEach((s,O)=>{if(O!==ue)if(d.has(O)){const z=C(ge,O);z&&!z.y&&te(ge,O)}else te(ge,O)}),Array.from(i.d).every(([s,O])=>{const z=C(ge,s);return z&&!("p"in z)&&z.r===O}))return i.y?i:{...i,y:!0}}}const j=new Set;try{const i=ue.read(s=>{j.add(s);const O=s===ue?C(ge,s):te(ge,s);if(O){if("e"in O)throw O.e;if("p"in O)throw O.p;return O.v}if(N(s))return s.init;throw new Error("no atom init")});return ee(ge,ue,i,j)}catch(i){if(i instanceof Promise){const s=v(i)&&I(i)?(O=>f(O[m].b,O[m].o))(i):f(i,i);return F(ge,ue,s,j)}return D(ge,ue,i,j)}},re=(ge,ue)=>te(ue,ge),oe=(ge,ue)=>!ue.l.size&&(!ue.t.size||ue.t.size===1&&ue.t.has(ge)),Y=(ge,ue)=>{const se=d.get(ue);se?.t.forEach(j=>{j!==ue&&(((i,s)=>{const O=C(i,s);if(O){const z={...O,y:!1};L(i,s,z)}else console.warn("[Bug] could not invalidate non existing atom",s)})(ge,j),Y(ge,j))})},V=(ge,ue,se)=>{let j=!0;const i=(O,z)=>{const K=te(ge,O);if("e"in K)throw K.e;if("p"in K){if(z?.unstable_promise)return K.p.then(()=>{const $=C(ge,O);return $&&"p"in $&&$.p===K.p?new Promise(Q=>setTimeout(Q)).then(()=>i(O,z)):i(O,z)});throw console.info("Reading pending atom state in write operation. We throw a promise for now.",O),K.p}if("v"in K)return K.v;throw console.warn("[Bug] no value found while reading atom in write operation. This is probably a bug.",O),new Error("no value found")},s=ue.write(i,(O,z)=>{let K;if(O===ue){if(!N(O))throw new Error("atom not writable");(Q=>{const ae=new Set,be=a.get(Q);return be&&(a.delete(Q),be.forEach((Ce,Ze)=>{x(Ce),ae.add(Ze)})),ae})(O).forEach(Q=>{Q!==ge&&ee(Q,O,z)}),C(ge,O)!==ee(ge,O,z)&&Y(ge,O)}else K=V(ge,O,z);return j||je(ge),K},se);return j=!1,s},ie=(ge,ue,se)=>{const j=V(se,ge,ue);return je(se),j},we=(ge,ue,se)=>{const j={t:new Set(se&&[se]),l:new Set};if(d.set(ue,j),p.add(ue),te(void 0,ue).d.forEach((i,s)=>{const O=d.get(s);O?O.t.add(ue):s!==ue&&we(ge,s,ue)}),(i=>!!i.write)(ue)&&ue.onMount){const i=O=>ie(ue,O,ge),s=ue.onMount(i);ge=void 0,s&&(j.u=s)}return j},Ae=(ge,ue)=>{var se;const j=(se=d.get(ue))==null?void 0:se.u;j&&j(),d.delete(ue),p.delete(ue);const i=C(ge,ue);i?("p"in i&&x(i.p),i.d.forEach((s,O)=>{if(O!==ue){const z=d.get(O);z&&(z.t.delete(ue),oe(O,z)&&Ae(ge,O))}})):console.warn("[Bug] could not find atom state to unmount",ue)},Re=(ge,ue,se,j)=>{const i=new Set(se.d.keys());j?.forEach((s,O)=>{if(i.has(O))return void i.delete(O);const z=d.get(O);z&&(z.t.delete(ue),oe(O,z)&&Ae(ge,O))}),i.forEach(s=>{const O=d.get(s);O?O.t.add(ue):d.has(ue)&&we(ge,s,ue)})},je=ge=>{if(ge)u(ge).forEach((ue,se)=>{if(ue!==h.get(se)){const j=d.get(se);j?.l.forEach(i=>i(ge))}});else{for(;r.size;){const ue=Array.from(r);r.clear(),ue.forEach(([se,j])=>{const i=C(void 0,se);if(i&&i.d!==j?.d&&Re(void 0,se,i,j?.d),j&&!j.y&&i?.y)return;const s=d.get(se);s?.l.forEach(O=>O())})}n.forEach(ue=>ue())}},ye=(ge,ue)=>{ue&&(se=>{u(se).forEach((j,i)=>{const s=h.get(i);(!s||j.r>s.r||j.y!==s.y||j.r===s.r&&j.d!==s.d)&&(h.set(i,j),j.d!==s?.d&&Re(se,i,j,s?.d))})})(ue),je(void 0)},Ee=(ge,ue,se)=>{const j=((s,O)=>{let z=d.get(O);return z||(z=we(s,O)),z})(se,ge),i=j.l;return i.add(ue),()=>{i.delete(ue),((s,O)=>{const z=d.get(O);z&&oe(O,z)&&Ae(s,O)})(se,ge)}},Oe=(ge,ue)=>{for(const[se,j]of ge)N(se)&&(ee(ue,se,j),Y(ue,se));je(ue)};return{[W]:re,[k]:ie,[S]:ye,[J]:Ee,h:Oe,n:ge=>(n.add(ge),()=>{n.delete(ge)}),l:()=>p.values(),a:ge=>h.get(ge),m:ge=>d.get(ge)}},he=y=>{const h=ce(y),d=r=>new Promise((n,p)=>{const a=h.r(r);"e"in a?p(a.e):n("p"in a?a.p.then(()=>d(r)):a.v)});return{get:r=>{const n=h.r(r);if("e"in n)throw n.e;if(!("p"in n))return n.v},asyncGet:d,set:(r,n)=>h.w(r,n),sub:(r,n)=>h.s(r,n),SECRET_INTERNAL_store:h}},ve=(y,h)=>({s:h?h(y).SECRET_INTERNAL_store:ce(y)}),le=new Map,G=y=>(le.has(y)||le.set(y,(0,P.createContext)(ve())),le.get(y)),U=({children:y,initialValues:h,scope:d,unstable_createStore:r,unstable_enableVersionedWrite:n})=>{const[p,a]=(0,P.useState)({});(0,P.useEffect)(()=>{const C=l.current;C.w&&(C.s.c(null,p),delete p.p,C.v=p)},[p]);const l=(0,P.useRef)();if(!l.current){const C=ve(h,r);if(n){let L=0;C.w=_=>{a(E=>{const D=L?E:{p:E};return _(D),D})},C.v=p,C.r=_=>{++L,_(),--L}}l.current=C}const u=G(d);return(0,P.createElement)(u.Provider,{value:l.current},y)};function H(y,h){return function(d,r){const n="atom"+ ++w,p={toString:()=>n};return typeof d=="function"?p.read=d:(p.init=d,p.read=a=>a(p),p.write=(a,l,u)=>l(p,typeof u=="function"?u(a(p)):u)),r&&(p.write=r),p}(y,h)}function M(y,h){const d=G(h),r=(0,P.useContext)(d),{s:n,v:p}=r,a=E=>{const D=n.r(y,E);if(!D.y)throw new Error("should not be invalidated");if("e"in D)throw D.e;if("p"in D)throw D.p;if("v"in D)return D.v;throw new Error("no atom value")},[[l,u,C],L]=(0,P.useReducer)((E,D)=>{const F=a(D);return Object.is(E[1],F)&&E[2]===y?E:[D,F,y]},p,E=>[E,a(E),y]);let _=u;return C!==y&&(L(l),_=a(l)),(0,P.useEffect)(()=>{const{v:E}=r;E&&n.c(y,E);const D=n.s(y,L,E);return L(E),D},[n,y,r]),(0,P.useEffect)(()=>{n.c(y,l)}),(0,P.useDebugValue)(_),_}function A(y,h){const d=G(h),{s:r,w:n}=(0,P.useContext)(d);return(0,P.useCallback)(p=>{if(!("write"in y))throw new Error("not writable atom");const a=l=>r.w(y,p,l);return n?n(a):a()},[r,n,y])}function b(y,h){return"scope"in y&&(console.warn("atom.scope is deprecated. Please do useAtom(atom, scope) instead."),h=y.scope),[M(y,h),A(y,h)]}},5605:function(fe,t,e){e.d(t,{x0:function(){return P}});let P=(w=21)=>crypto.getRandomValues(new Uint8Array(w)).reduce((m,v)=>m+=(v&=63)<36?v.toString(36):v<62?(v-26).toString(36).toUpperCase():v>62?"-":"_","")},5284:function(fe){fe.exports=JSON.parse('{"white":"#ffffff","black":"#000000","gray":["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],"red":["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],"pink":["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],"grape":["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],"violet":["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],"indigo":["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],"blue":["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],"cyan":["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],"teal":["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],"green":["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],"lime":["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],"yellow":["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],"orange":["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]}')},1463:function(fe){fe.exports=JSON.parse(`{"labels":{"paste":"Paste","pasteAsPlaintext":"Paste as plaintext","pasteCharts":"Paste charts","selectAll":"Select all","multiSelect":"Add element to selection","moveCanvas":"Move canvas","cut":"Cut","copy":"Copy","copyAsPng":"Copy to clipboard as PNG","copyAsSvg":"Copy to clipboard as SVG","copyText":"Copy to clipboard as text","bringForward":"Bring forward","sendToBack":"Send to back","bringToFront":"Bring to front","sendBackward":"Send backward","delete":"Delete","copyStyles":"Copy styles","pasteStyles":"Paste styles","stroke":"Stroke","background":"Background","fill":"Fill","strokeWidth":"Stroke width","strokeStyle":"Stroke style","strokeStyle_solid":"Solid","strokeStyle_dashed":"Dashed","strokeStyle_dotted":"Dotted","sloppiness":"Sloppiness","opacity":"Opacity","textAlign":"Text align","edges":"Edges","sharp":"Sharp","round":"Round","arrowheads":"Arrowheads","arrowhead_none":"None","arrowhead_arrow":"Arrow","arrowhead_bar":"Bar","arrowhead_dot":"Dot","arrowhead_triangle":"Triangle","fontSize":"Font size","fontFamily":"Font family","addWatermark":"Add \\"Made with Excalidraw\\"","handDrawn":"Hand-drawn","normal":"Normal","code":"Code","small":"Small","medium":"Medium","large":"Large","veryLarge":"Very large","solid":"Solid","hachure":"Hachure","zigzag":"Zigzag","crossHatch":"Cross-hatch","thin":"Thin","bold":"Bold","left":"Left","center":"Center","right":"Right","extraBold":"Extra bold","architect":"Architect","artist":"Artist","cartoonist":"Cartoonist","fileTitle":"File name","colorPicker":"Color picker","canvasColors":"Used on canvas","canvasBackground":"Canvas background","drawingCanvas":"Drawing canvas","layers":"Layers","actions":"Actions","language":"Language","liveCollaboration":"Live collaboration...","duplicateSelection":"Duplicate","untitled":"Untitled","name":"Name","yourName":"Your name","madeWithExcalidraw":"Made with Excalidraw","group":"Group selection","ungroup":"Ungroup selection","collaborators":"Collaborators","showGrid":"Show grid","addToLibrary":"Add to library","removeFromLibrary":"Remove from library","libraryLoadingMessage":"Loading library…","libraries":"Browse libraries","loadingScene":"Loading scene…","align":"Align","alignTop":"Align top","alignBottom":"Align bottom","alignLeft":"Align left","alignRight":"Align right","centerVertically":"Center vertically","centerHorizontally":"Center horizontally","distributeHorizontally":"Distribute horizontally","distributeVertically":"Distribute vertically","flipHorizontal":"Flip horizontal","flipVertical":"Flip vertical","viewMode":"View mode","share":"Share","showStroke":"Show stroke color picker","showBackground":"Show background color picker","toggleTheme":"Toggle theme","personalLib":"Personal Library","excalidrawLib":"Excalidraw Library","decreaseFontSize":"Decrease font size","increaseFontSize":"Increase font size","unbindText":"Unbind text","bindText":"Bind text to the container","createContainerFromText":"Wrap text in a container","link":{"edit":"Edit link","editEmbed":"Edit link & embed","create":"Create link","createEmbed":"Create link & embed","label":"Link","labelEmbed":"Link & embed","empty":"No link is set"},"lineEditor":{"edit":"Edit line","exit":"Exit line editor"},"elementLock":{"lock":"Lock","unlock":"Unlock","lockAll":"Lock all","unlockAll":"Unlock all"},"statusPublished":"Published","sidebarLock":"Keep sidebar open","selectAllElementsInFrame":"Select all elements in frame","removeAllElementsFromFrame":"Remove all elements from frame","eyeDropper":"Pick color from canvas"},"library":{"noItems":"No items added yet...","hint_emptyLibrary":"Select an item on canvas to add it here, or install a library from the public repository, below.","hint_emptyPrivateLibrary":"Select an item on canvas to add it here."},"buttons":{"clearReset":"Reset the canvas","exportJSON":"Export to file","exportImage":"Export image...","export":"Save to...","copyToClipboard":"Copy to clipboard","save":"Save to current file","saveAs":"Save as","load":"Open","getShareableLink":"Get shareable link","close":"Close","selectLanguage":"Select language","scrollBackToContent":"Scroll back to content","zoomIn":"Zoom in","zoomOut":"Zoom out","resetZoom":"Reset zoom","menu":"Menu","done":"Done","edit":"Edit","undo":"Undo","redo":"Redo","resetLibrary":"Reset library","createNewRoom":"Create new room","fullScreen":"Full screen","darkMode":"Dark mode","lightMode":"Light mode","zenMode":"Zen mode","objectsSnapMode":"Snap to objects","exitZenMode":"Exit zen mode","cancel":"Cancel","clear":"Clear","remove":"Remove","embed":"Toggle embedding","publishLibrary":"Publish","submit":"Submit","confirm":"Confirm","embeddableInteractionButton":"Click to interact"},"alerts":{"clearReset":"This will clear the whole canvas. Are you sure?","couldNotCreateShareableLink":"Couldn't create shareable link.","couldNotCreateShareableLinkTooBig":"Couldn't create shareable link: the scene is too big","couldNotLoadInvalidFile":"Couldn't load invalid file","importBackendFailed":"Importing from backend failed.","cannotExportEmptyCanvas":"Cannot export empty canvas.","couldNotCopyToClipboard":"Couldn't copy to clipboard.","decryptFailed":"Couldn't decrypt data.","uploadedSecurly":"The upload has been secured with end-to-end encryption, which means that Excalidraw server and third parties can't read the content.","loadSceneOverridePrompt":"Loading external drawing will replace your existing content. Do you wish to continue?","collabStopOverridePrompt":"Stopping the session will overwrite your previous, locally stored drawing. Are you sure?\\n\\n(If you want to keep your local drawing, simply close the browser tab instead.)","errorAddingToLibrary":"Couldn't add item to the library","errorRemovingFromLibrary":"Couldn't remove item from the library","confirmAddLibrary":"This will add {{numShapes}} shape(s) to your library. Are you sure?","imageDoesNotContainScene":"This image does not seem to contain any scene data. Have you enabled scene embedding during export?","cannotRestoreFromImage":"Scene couldn't be restored from this image file","invalidSceneUrl":"Couldn't import scene from the supplied URL. It's either malformed, or doesn't contain valid Excalidraw JSON data.","resetLibrary":"This will clear your library. Are you sure?","removeItemsFromsLibrary":"Delete {{count}} item(s) from library?","invalidEncryptionKey":"Encryption key must be of 22 characters. Live collaboration is disabled.","collabOfflineWarning":"No internet connection available.\\nYour changes will not be saved!"},"errors":{"unsupportedFileType":"Unsupported file type.","imageInsertError":"Couldn't insert image. Try again later...","fileTooBig":"File is too big. Maximum allowed size is {{maxSize}}.","svgImageInsertError":"Couldn't insert SVG image. The SVG markup looks invalid.","failedToFetchImage":"Failed to fetch image.","invalidSVGString":"Invalid SVG.","cannotResolveCollabServer":"Couldn't connect to the collab server. Please reload the page and try again.","importLibraryError":"Couldn't load library","collabSaveFailed":"Couldn't save to the backend database. If problems persist, you should save your file locally to ensure you don't lose your work.","collabSaveFailed_sizeExceeded":"Couldn't save to the backend database, the canvas seems to be too big. You should save the file locally to ensure you don't lose your work.","imageToolNotSupported":"Images are disabled.","brave_measure_text_error":{"line1":"Looks like you are using Brave browser with the <bold>Aggressively Block Fingerprinting</bold> setting enabled.","line2":"This could result in breaking the <bold>Text Elements</bold> in your drawings.","line3":"We strongly recommend disabling this setting. You can follow <link>these steps</link> on how to do so.","line4":"If disabling this setting doesn't fix the display of text elements, please open an <issueLink>issue</issueLink> on our GitHub, or write us on <discordLink>Discord</discordLink>"},"libraryElementTypeError":{"embeddable":"Embeddable elements cannot be added to the library.","image":"Support for adding images to the library coming soon!"},"asyncPasteFailedOnRead":"Couldn't paste (couldn't read from system clipboard).","asyncPasteFailedOnParse":"Couldn't paste.","copyToSystemClipboardFailed":"Couldn't copy to clipboard."},"toolBar":{"selection":"Selection","image":"Insert image","rectangle":"Rectangle","diamond":"Diamond","ellipse":"Ellipse","arrow":"Arrow","line":"Line","freedraw":"Draw","text":"Text","library":"Library","lock":"Keep selected tool active after drawing","penMode":"Pen mode - prevent touch","link":"Add/ Update link for a selected shape","eraser":"Eraser","frame":"Frame tool","embeddable":"Web Embed","laser":"Laser pointer","hand":"Hand (panning tool)","extraTools":"More tools","mermaidToExcalidraw":"Mermaid to Excalidraw"},"headings":{"canvasActions":"Canvas actions","selectedShapeActions":"Selected shape actions","shapes":"Shapes"},"hints":{"canvasPanning":"To move canvas, hold mouse wheel or spacebar while dragging, or use the hand tool","linearElement":"Click to start multiple points, drag for single line","freeDraw":"Click and drag, release when you're finished","text":"Tip: you can also add text by double-clicking anywhere with the selection tool","embeddable":"Click-drag to create a website embed","text_selected":"Double-click or press ENTER to edit text","text_editing":"Press Escape or CtrlOrCmd+ENTER to finish editing","linearElementMulti":"Click on last point or press Escape or Enter to finish","lockAngle":"You can constrain angle by holding SHIFT","resize":"You can constrain proportions by holding SHIFT while resizing,\\nhold ALT to resize from the center","resizeImage":"You can resize freely by holding SHIFT,\\nhold ALT to resize from the center","rotate":"You can constrain angles by holding SHIFT while rotating","lineEditor_info":"Hold CtrlOrCmd and Double-click or press CtrlOrCmd + Enter to edit points","lineEditor_pointSelected":"Press Delete to remove point(s),\\nCtrlOrCmd+D to duplicate, or drag to move","lineEditor_nothingSelected":"Select a point to edit (hold SHIFT to select multiple),\\nor hold Alt and click to add new points","placeImage":"Click to place the image, or click and drag to set its size manually","publishLibrary":"Publish your own library","bindTextToElement":"Press enter to add text","deepBoxSelect":"Hold CtrlOrCmd to deep select, and to prevent dragging","eraserRevert":"Hold Alt to revert the elements marked for deletion","firefox_clipboard_write":"This feature can likely be enabled by setting the \\"dom.events.asyncClipboard.clipboardItem\\" flag to \\"true\\". To change the browser flags in Firefox, visit the \\"about:config\\" page.","disableSnapping":"Hold CtrlOrCmd to disable snapping"},"canvasError":{"cannotShowPreview":"Cannot show preview","canvasTooBig":"The canvas may be too big.","canvasTooBigTip":"Tip: try moving the farthest elements a bit closer together."},"errorSplash":{"headingMain":"Encountered an error. Try <button>reloading the page</button>.","clearCanvasMessage":"If reloading doesn't work, try <button>clearing the canvas</button>.","clearCanvasCaveat":" This will result in loss of work ","trackedToSentry":"The error with identifier {{eventId}} was tracked on our system.","openIssueMessage":"We were very cautious not to include your scene information on the error. If your scene is not private, please consider following up on our <button>bug tracker</button>. Please include information below by copying and pasting into the GitHub issue.","sceneContent":"Scene content:"},"roomDialog":{"desc_intro":"You can invite people to your current scene to collaborate with you.","desc_privacy":"Don't worry, the session uses end-to-end encryption, so whatever you draw will stay private. Not even our server will be able to see what you come up with.","button_startSession":"Start session","button_stopSession":"Stop session","desc_inProgressIntro":"Live-collaboration session is now in progress.","desc_shareLink":"Share this link with anyone you want to collaborate with:","desc_exitSession":"Stopping the session will disconnect you from the room, but you'll be able to continue working with the scene, locally. Note that this won't affect other people, and they'll still be able to collaborate on their version.","shareTitle":"Join a live collaboration session on Excalidraw"},"errorDialog":{"title":"Error"},"exportDialog":{"disk_title":"Save to disk","disk_details":"Export the scene data to a file from which you can import later.","disk_button":"Save to file","link_title":"Shareable link","link_details":"Export as a read-only link.","link_button":"Export to Link","excalidrawplus_description":"Save the scene to your Excalidraw+ workspace.","excalidrawplus_button":"Export","excalidrawplus_exportError":"Couldn't export to Excalidraw+ at this moment..."},"helpDialog":{"blog":"Read our blog","click":"click","deepSelect":"Deep select","deepBoxSelect":"Deep select within box, and prevent dragging","curvedArrow":"Curved arrow","curvedLine":"Curved line","documentation":"Documentation","doubleClick":"double-click","drag":"drag","editor":"Editor","editLineArrowPoints":"Edit line/arrow points","editText":"Edit text / add label","github":"Found an issue? Submit","howto":"Follow our guides","or":"or","preventBinding":"Prevent arrow binding","tools":"Tools","shortcuts":"Keyboard shortcuts","textFinish":"Finish editing (text editor)","textNewLine":"Add new line (text editor)","title":"Help","view":"View","zoomToFit":"Zoom to fit all elements","zoomToSelection":"Zoom to selection","toggleElementLock":"Lock/unlock selection","movePageUpDown":"Move page up/down","movePageLeftRight":"Move page left/right"},"clearCanvasDialog":{"title":"Clear canvas"},"publishDialog":{"title":"Publish library","itemName":"Item name","authorName":"Author name","githubUsername":"GitHub username","twitterUsername":"Twitter username","libraryName":"Library name","libraryDesc":"Library description","website":"Website","placeholder":{"authorName":"Your name or username","libraryName":"Name of your library","libraryDesc":"Description of your library to help people understand its usage","githubHandle":"GitHub handle (optional), so you can edit the library once submitted for review","twitterHandle":"Twitter username (optional), so we know who to credit when promoting over Twitter","website":"Link to your personal website or elsewhere (optional)"},"errors":{"required":"Required","website":"Enter a valid URL"},"noteDescription":"Submit your library to be included in the <link>public library repository</link> for other people to use in their drawings.","noteGuidelines":"The library needs to be manually approved first. Please read the <link>guidelines</link> before submitting. You will need a GitHub account to communicate and make changes if requested, but it is not strictly required.","noteLicense":"By submitting, you agree the library will be published under the <link>MIT License</link>, which in short means anyone can use them without restrictions.","noteItems":"Each library item must have its own name so it's filterable. The following library items will be included:","atleastOneLibItem":"Please select at least one library item to get started","republishWarning":"Note: some of the selected items are marked as already published/submitted. You should only resubmit items when updating an existing library or submission."},"publishSuccessDialog":{"title":"Library submitted","content":"Thank you {{authorName}}. Your library has been submitted for review. You can track the status <link>here</link>"},"confirmDialog":{"resetLibrary":"Reset library","removeItemsFromLib":"Remove selected items from library"},"imageExportDialog":{"header":"Export image","label":{"withBackground":"Background","onlySelected":"Only selected","darkMode":"Dark mode","embedScene":"Embed scene","scale":"Scale","padding":"Padding"},"tooltip":{"embedScene":"Scene data will be saved into the exported PNG/SVG file so that the scene can be restored from it.\\nWill increase exported file size."},"title":{"exportToPng":"Export to PNG","exportToSvg":"Export to SVG","copyPngToClipboard":"Copy PNG to clipboard"},"button":{"exportToPng":"PNG","exportToSvg":"SVG","copyPngToClipboard":"Copy to clipboard"}},"encrypted":{"tooltip":"Your drawings are end-to-end encrypted so Excalidraw's servers will never see them.","link":"Blog post on end-to-end encryption in Excalidraw"},"stats":{"angle":"Angle","element":"Element","elements":"Elements","height":"Height","scene":"Scene","selected":"Selected","storage":"Storage","title":"Stats for nerds","total":"Total","version":"Version","versionCopy":"Click to copy","versionNotAvailable":"Version not available","width":"Width"},"toast":{"addedToLibrary":"Added to library","copyStyles":"Copied styles.","copyToClipboard":"Copied to clipboard.","copyToClipboardAsPng":"Copied {{exportSelection}} to clipboard as PNG\\n({{exportColorScheme}})","fileSaved":"File saved.","fileSavedToFilename":"Saved to {filename}","canvas":"canvas","selection":"selection","pasteAsSingleElement":"Use {{shortcut}} to paste as a single element,\\nor paste into an existing text editor","unableToEmbed":"Embedding this url is currently not allowed. Raise an issue on GitHub to request the url whitelisted","unrecognizedLinkFormat":"The link you embedded does not match the expected format. Please try to paste the 'embed' string provided by the source site"},"colors":{"transparent":"Transparent","black":"Black","white":"White","red":"Red","pink":"Pink","grape":"Grape","violet":"Violet","gray":"Gray","blue":"Blue","cyan":"Cyan","teal":"Teal","green":"Green","yellow":"Yellow","orange":"Orange","bronze":"Bronze"},"welcomeScreen":{"app":{"center_heading":"All your data is saved locally in your browser.","center_heading_plus":"Did you want to go to the Excalidraw+ instead?","menuHint":"Export, preferences, languages, ..."},"defaults":{"menuHint":"Export, preferences, and more...","center_heading":"Diagrams. Made. Simple.","toolbarHint":"Pick a tool & Start drawing!","helpHint":"Shortcuts & help"}},"colorPicker":{"mostUsedCustomColors":"Most used custom colors","colors":"Colors","shades":"Shades","hexCode":"Hex code","noShades":"No shades available for this color"},"overwriteConfirm":{"action":{"exportToImage":{"title":"Export as image","button":"Export as image","description":"Export the scene data as an image from which you can import later."},"saveToDisk":{"title":"Save to disk","button":"Save to disk","description":"Export the scene data to a file from which you can import later."},"excalidrawPlus":{"title":"Excalidraw+","button":"Export to Excalidraw+","description":"Save the scene to your Excalidraw+ workspace."}},"modal":{"loadFromFile":{"title":"Load from file","button":"Load from file","description":"Loading from a file will <bold>replace your existing content</bold>.<br></br>You can back up your drawing first using one of the options below."},"shareableLink":{"title":"Load from link","button":"Replace my content","description":"Loading external drawing will <bold>replace your existing content</bold>.<br></br>You can back up your drawing first by using one of the options below."}}},"mermaid":{"title":"Mermaid to Excalidraw","button":"Insert","description":"Currently only <flowchartLink>Flowcharts</flowchartLink> and <sequenceLink>Sequence Diagrams</sequenceLink> are supported. The other types will be rendered as image in Excalidraw.","syntax":"Mermaid Syntax","preview":"Preview"}}`)},4451:function(fe){fe.exports=JSON.parse('{"ar-SA":99,"az-AZ":18,"bg-BG":75,"bn-BD":55,"ca-ES":81,"cs-CZ":91,"da-DK":31,"de-DE":100,"el-GR":85,"en":100,"es-ES":96,"eu-ES":99,"fa-IR":87,"fi-FI":81,"fr-FR":98,"gl-ES":90,"he-IL":81,"hi-IN":75,"hu-HU":70,"id-ID":96,"it-IT":99,"ja-JP":95,"kaa":34,"kab-KAB":80,"kk-KZ":20,"km-KH":87,"ko-KR":100,"ku-TR":92,"lt-LT":51,"lv-LV":82,"mr-IN":92,"my-MM":37,"nb-NO":99,"nl-NL":79,"nn-NO":71,"oc-FR":79,"pa-IN":82,"pl-PL":100,"pt-BR":96,"pt-PT":88,"ro-RO":98,"ru-RU":94,"si-LK":8,"sk-SK":99,"sl-SI":100,"sv-SE":100,"ta-IN":85,"th-TH":46,"tr-TR":91,"uk-UA":99,"vi-VN":51,"zh-CN":99,"zh-HK":24,"zh-TW":100}')}},jn={};function En(fe){var t=jn[fe];if(t!==void 0)return t.exports;var e=jn[fe]={id:fe,exports:{}};return Xa[fe].call(e.exports,e,e.exports,En),e.exports}En.m=Xa,En.n=function(fe){var t=fe&&fe.__esModule?function(){return fe.default}:function(){return fe};return En.d(t,{a:t}),t},ci=Object.getPrototypeOf?function(fe){return Object.getPrototypeOf(fe)}:function(fe){return fe.__proto__},En.t=function(fe,t){if(1&t&&(fe=this(fe)),8&t||typeof fe=="object"&&fe&&(4&t&&fe.__esModule||16&t&&typeof fe.then=="function"))return fe;var e=Object.create(null);En.r(e);var P={};ri=ri||[null,ci({}),ci([]),ci(ci)];for(var w=2&t&&fe;typeof w=="object"&&!~ri.indexOf(w);w=ci(w))Object.getOwnPropertyNames(w).forEach(function(m){P[m]=function(){return fe[m]}});return P.default=function(){return fe},En.d(e,P),e},En.d=function(fe,t){for(var e in t)En.o(t,e)&&!En.o(fe,e)&&Object.defineProperty(fe,e,{enumerable:!0,get:t[e]})},En.f={},En.e=function(fe){return Promise.all(Object.keys(En.f).reduce(function(t,e){return En.f[e](fe,t),t},[]))},En.u=function(fe){return"excalidraw-assets/"+{22:"locales/kk-KZ-json",537:"locales/th-TH-json",663:"locales/kaa-json",1204:"locales/ja-JP-json",1302:"locales/si-LK-json",1477:"locales/my-MM-json",1513:"locales/el-GR-json",1628:"locales/bg-BG-json",1690:"locales/oc-FR-json",1790:"locales/da-DK-json",2091:"locales/ar-SA-json",2312:"locales/he-IL-json",2359:"locales/nb-NO-json",2404:"locales/ta-IN-json",2943:"locales/gl-ES-json",3024:"locales/nl-NL-json",3031:"locales/ku-TR-json",3082:"locales/de-DE-json",3162:"locales/pa-IN-json",3397:"locales/mr-IN-json",3421:"locales/zh-TW-json",3512:"locales/fi-FI-json",3674:"locales/pl-PL-json",3682:"locales/fr-FR-json",3721:"locales/pt-BR-json",3808:"locales/id-ID-json",3885:"locales/nn-NO-json",4e3:"locales/vi-VN-json",4568:"locales/az-AZ-json",4680:"locales/zh-CN-json",4736:"vendor",4977:"locales/tr-TR-json",5089:"locales/ro-RO-json",5130:"locales/ca-ES-json",5330:"locales/fa-IR-json",5395:"locales/pt-PT-json",6071:"locales/sl-SI-json",6239:"locales/it-IT-json",6265:"locales/cs-CZ-json",6566:"locales/km-KH-json",6768:"locales/lv-LV-json",6844:"locales/ko-KR-json",7368:"locales/hu-HU-json",7429:"locales/bn-BD-json",7759:"locales/uk-UA-json",7920:"locales/zh-HK-json",8081:"locales/eu-ES-json",8124:"locales/ru-RU-json",8340:"locales/lt-LT-json",8534:"locales/sv-SE-json",8750:"locales/sk-SK-json",8759:"locales/es-ES-json",9551:"locales/kab-KAB-json",9828:"locales/hi-IN-json"}[fe]+"-"+{22:"2224f237cc93465f126f",537:"9a390d3cc7a7a6226b63",663:"4d0a4868835d0334a549",1204:"2cb067da0fb518e73564",1302:"4921d4298abfa256fe6f",1477:"3ba296b6fcf2a2197a7c",1513:"4cbc2dbda5a5df636ee1",1628:"42fb0378311f3ade2627",1690:"644a5eaa1311f70cb697",1790:"a94944ac6fa9756d2fac",2091:"db7c644ccbeb85d54a47",2312:"a7bc2a673875b2e655e1",2359:"798d785698d467e76fcf",2404:"2fa1854af68381c61913",2943:"d11c7966c3c2f95756e0",3024:"2cf913fe2f491c5d7075",3031:"bafa8865ed7002bb249e",3082:"d82053ab52357510811b",3162:"165c5c2760688033b2cc",3397:"ad1359c30c334d05eee0",3421:"5a3fa7cacfa83c411d89",3512:"64c8902f10425e1b2e81",3674:"35c1f168f53af24b657a",3682:"d16a471290ba26a6c66a",3721:"370215dc506c58ee3217",3808:"6542dd92ab54a2c1c48e",3885:"aa607835ad9408789c5f",4e3:"9c1c2a9fa9d6b5a58223",4568:"08a6de50238dbb21926c",4680:"069c304b5011429be615",4736:"677e88ca78c86bddf13d",4977:"fc9b16e9dc2be2660439",5089:"3c32b962880e225d3416",5130:"a6b2c18f7e85cfd11599",5330:"76b039039b043cc4280c",5395:"6f3d80656622a222b4e2",6071:"efb839ef0456f5c72e6e",6239:"ab410570df07304cb0ca",6265:"ea03835d73f9b921f7c4",6566:"cbe8e2e8d26d30a3175c",6768:"f7f9363e42ee2e3a7c67",6844:"c2387972637d47f15765",7368:"0419027d32efac73d518",7429:"9ad9e5ae95c4c66297b1",7759:"82753e98dced302ac187",7920:"d9bf1e4e2d1f8650c680",8081:"671a4afcfce7b0a7660b",8124:"e1f4ed9d2d074f778304",8340:"9b7e91a51b90ee551cad",8534:"cfab3adbd37dd273c61e",8750:"27b59d7e026675f929c4",8759:"7afb66536ee40d852fa2",9551:"0d400ba2836cc0752cd6",9828:"4947c9dace32cc3c6eef"}[fe]+".js"},En.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),En.o=function(fe,t){return Object.prototype.hasOwnProperty.call(fe,t)},Bi={},Fa="ExcalidrawLib:",En.l=function(fe,t,e,P){if(Bi[fe])Bi[fe].push(t);else{var w,m;if(e!==void 0)for(var v=document.getElementsByTagName("script"),I=0;I<v.length;I++){var x=v[I];if(x.getAttribute("src")==fe||x.getAttribute("data-webpack")==Fa+e){w=x;break}}w||(m=!0,(w=document.createElement("script")).charset="utf-8",w.timeout=120,En.nc&&w.setAttribute("nonce",En.nc),w.setAttribute("data-webpack",Fa+e),w.src=fe),Bi[fe]=[t];var c=function(Z,N){w.onerror=w.onload=null,clearTimeout(f);var W=Bi[fe];if(delete Bi[fe],w.parentNode&&w.parentNode.removeChild(w),W&&W.forEach(function(k){return k(N)}),Z)return Z(N)},f=setTimeout(c.bind(null,void 0,{type:"timeout",target:w}),12e4);w.onerror=c.bind(null,w.onerror),w.onload=c.bind(null,w.onload),m&&document.head.appendChild(w)}},En.r=function(fe){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(fe,"__esModule",{value:!0})},En.p="",function(){En.b=document.baseURI||self.location.href;var fe={2848:0};En.f.j=function(P,w){var m=En.o(fe,P)?fe[P]:void 0;if(m!==0)if(m)w.push(m[2]);else{var v=new Promise(function(c,f){m=fe[P]=[c,f]});w.push(m[2]=v);var I=En.p+En.u(P),x=new Error;En.l(I,function(c){if(En.o(fe,P)&&((m=fe[P])!==0&&(fe[P]=void 0),m)){var f=c&&(c.type==="load"?"missing":c.type),Z=c&&c.target&&c.target.src;x.message="Loading chunk "+P+` failed. +(`+f+": "+Z+")",x.name="ChunkLoadError",x.type=f,x.request=Z,m[1](x)}},"chunk-"+P,P)}};var t=function(P,w){var m,v,I=w[0],x=w[1],c=w[2],f=0;if(I.some(function(Z){return fe[Z]!==0})){for(m in x)En.o(x,m)&&(En.m[m]=x[m]);c&&c(En)}for(P&&P(w);f<I.length;f++)v=I[f],En.o(fe,v)&&fe[v]&&fe[v][0](),fe[v]=0},e=self.webpackChunkExcalidrawLib=self.webpackChunkExcalidrawLib||[];e.forEach(t.bind(null,0)),e.push=t.bind(null,e.push.bind(e))}(),En.nc=void 0;var et={};return function(){En.r(et),En.d(et,{Button:function(){return S.zx},DefaultSidebar:function(){return S.Or},Excalidraw:function(){return S.Eb},FONT_FAMILY:function(){return S.ut},Footer:function(){return S.$_},LiveCollaborationTrigger:function(){return S.vO},MIME_TYPES:function(){return S.LO},MainMenu:function(){return S.lb},Sidebar:function(){return S.YE},THEME:function(){return S.C6},WelcomeScreen:function(){return S.B4},bumpVersion:function(){return S.ZP},convertToExcalidrawElements:function(){return S.wc},defaultLang:function(){return S.Fp},elementPartiallyOverlapsWithOrContainsBBox:function(){return S.sQ},elementsOverlappingBBox:function(){return S.Xs},exportToBlob:function(){return S.Fl},exportToCanvas:function(){return S.NL},exportToClipboard:function(){return S.i1},exportToSvg:function(){return S.$D},getCommonBounds:function(){return S.KP},getFreeDrawSvgPath:function(){return S.N7},getNonDeletedElements:function(){return S.Lm},getSceneVersion:function(){return S.Uo},isElementInsideBBox:function(){return S.Ne},isInvisiblySmallElement:function(){return S.QD},isLinearElement:function(){return S.bt},languages:function(){return S.Mj},loadFromBlob:function(){return S.cT},loadLibraryFromBlob:function(){return S.lV},loadSceneOrLibraryFromBlob:function(){return S.ZY},mergeLibraryItems:function(){return S.zh},mutateElement:function(){return S.DR},newElementWith:function(){return S.BE},normalizeLink:function(){return S.$u},parseLibraryTokensFromUrl:function(){return S.Di},restore:function(){return S.nu},restoreAppState:function(){return S.lY},restoreElements:function(){return S.ET},restoreLibraryItems:function(){return S.wJ},sceneCoordsToViewportCoords:function(){return S._i},serializeAsJSON:function(){return S.I_},serializeLibraryAsJSON:function(){return S.NI},useDevice:function(){return S.Fy},useHandleLibrary:function(){return S.xS},useI18n:function(){return S.QT},viewportCoordsToSceneCoords:function(){return S.dE}}),En(9937).Vi.TEST!=="production"&&(En.p=window.EXCALIDRAW_ASSET_PATH||"https://unpkg.com/".concat("@excalidraw/excalidraw","@").concat("0.17.3","/dist/"));var fe=function(){Array.prototype.at||Object.defineProperty(Array.prototype,"at",{value:function(J){if((J=Math.trunc(J)||0)<0&&(J+=this.length),!(J<0||J>=this.length))return this[J]},writable:!0,enumerable:!1,configurable:!0}),Element.prototype.replaceChildren||(Element.prototype.replaceChildren=function(){this.innerHTML="",this.append.apply(this,arguments)})},t=En(3379),e=En.n(t),P=En(7795),w=En.n(P),m=En(569),v=En.n(m),I=En(3565),x=En.n(I),c=En(9216),f=En.n(c),Z=En(4589),N=En.n(Z),W=En(4295),k={};k.styleTagTransform=N(),k.setAttributes=x(),k.insert=v().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=f(),e()(W.Z,k),W.Z&&W.Z.locals&&W.Z.locals;var S=En(4864);fe()}(),et}()})}(ll)),ll.exports}var xl={NEXT_PUBLIC_API_URL:"https://innei.ren/api/v2",NEXT_PUBLIC_GATEWAY_URL:"https://api.innei.ren",NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY:"pk_test_aaaaaaaaaaaaaaaaaxxxxxx",CLERK_SECRET_KEY:"sk_test_",NEXT_PUBLIC_CLERK_SIGN_IN_URL:"/sign-in",NEXT_PUBLIC_CLERK_SIGN_UP_URL:"/sign-up",NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL:"/",NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL:"/",OPENAI_API_KEY:"",TMDB_API_KEY:"",S3_ACCESS_KEY:"",S3_SECRET_KEY:""};xl.IS_PREACT==="true"?cl.exports=yl():cl.exports=bl();var pl=cl.exports;const wl=gl(pl),El=vl({__proto__:null,default:wl},[pl]);export{pl as a,El as m}; diff --git a/assets/markdown-BZyvP-q3.js b/assets/markdown-BZyvP-q3.js new file mode 100644 index 00000000000..4d0a85d64b7 --- /dev/null +++ b/assets/markdown-BZyvP-q3.js @@ -0,0 +1,129 @@ +const e=Object.freeze({displayName:"Markdown",name:"markdown",patterns:[{include:"#frontMatter"},{include:"#block"}],repository:{ampersand:{comment:"Markdown will convert this for us. We match it so that the HTML grammar will not mark it up as invalid.",match:"&(?!([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);)",name:"meta.other.valid-ampersand.markdown"},block:{patterns:[{include:"#separator"},{include:"#heading"},{include:"#blockquote"},{include:"#lists"},{include:"#fenced_code_block"},{include:"#raw_block"},{include:"#link-def"},{include:"#html"},{include:"#table"},{include:"#paragraph"}]},blockquote:{begin:"(^|\\G)[ ]{0,3}(>) ?",captures:{2:{name:"punctuation.definition.quote.begin.markdown"}},name:"markup.quote.markdown",patterns:[{include:"#block"}],while:"(^|\\G)\\s*(>) ?"},bold:{begin:`(?x) (?<open>(\\*\\*(?=\\w)|(?<!\\w)\\*\\*|(?<!\\w)\\b__))(?=\\S) (?= +( +<[^>]*+> +| (?<raw>\`+)([^\`]|(?!(?<!\`)\\k<raw>(?!\`))\`)*+\\k<raw> + +| \\\\[\\\\\`*_{}\\[\\]()#.!+\\->]?+ +| \\[ +( +(?<square> +[^\\[\\]\\\\] +| \\\\. +| \\[ \\g<square>*+ \\] +)*+ +\\] +( +( +[ ]? +\\[[^\\]]*+\\] +) +| ( +\\( +[ \\t]*+ +<?(.*?)>? +[ \\t]*+ +( +(?<title>['"]) +(.*?) +\\k<title> +)? +\\) +) +) +) +| (?!(?<=\\S)\\k<open>). + +)++ +(?<=\\S)(?=__\\b|\\*\\*)\\k<open> +) +`,captures:{1:{name:"punctuation.definition.bold.markdown"}},end:"(?<=\\S)(\\1)",name:"markup.bold.markdown",patterns:[{applyEndPatternLast:1,begin:"(?=<[^>]*?>)",end:"(?<=>)",patterns:[{include:"text.html.derivative"}]},{include:"#escape"},{include:"#ampersand"},{include:"#bracket"},{include:"#raw"},{include:"#bold"},{include:"#italic"},{include:"#image-inline"},{include:"#link-inline"},{include:"#link-inet"},{include:"#link-email"},{include:"#image-ref"},{include:"#link-ref-literal"},{include:"#link-ref"},{include:"#link-ref-shortcut"},{include:"#strikethrough"}]},bracket:{comment:"Markdown will convert this for us. We match it so that the HTML grammar will not mark it up as invalid.",match:"<(?![a-zA-Z/?\\$!])",name:"meta.other.valid-bracket.markdown"},escape:{match:"\\\\[-`*_#+.!(){}\\[\\]\\\\>]",name:"constant.character.escape.markdown"},fenced_code_block:{patterns:[{include:"#fenced_code_block_css"},{include:"#fenced_code_block_basic"},{include:"#fenced_code_block_ini"},{include:"#fenced_code_block_java"},{include:"#fenced_code_block_lua"},{include:"#fenced_code_block_makefile"},{include:"#fenced_code_block_perl"},{include:"#fenced_code_block_r"},{include:"#fenced_code_block_ruby"},{include:"#fenced_code_block_php"},{include:"#fenced_code_block_sql"},{include:"#fenced_code_block_vs_net"},{include:"#fenced_code_block_xml"},{include:"#fenced_code_block_xsl"},{include:"#fenced_code_block_yaml"},{include:"#fenced_code_block_dosbatch"},{include:"#fenced_code_block_clojure"},{include:"#fenced_code_block_coffee"},{include:"#fenced_code_block_c"},{include:"#fenced_code_block_cpp"},{include:"#fenced_code_block_diff"},{include:"#fenced_code_block_dockerfile"},{include:"#fenced_code_block_git_commit"},{include:"#fenced_code_block_git_rebase"},{include:"#fenced_code_block_go"},{include:"#fenced_code_block_groovy"},{include:"#fenced_code_block_pug"},{include:"#fenced_code_block_js"},{include:"#fenced_code_block_js_regexp"},{include:"#fenced_code_block_json"},{include:"#fenced_code_block_jsonc"},{include:"#fenced_code_block_less"},{include:"#fenced_code_block_objc"},{include:"#fenced_code_block_swift"},{include:"#fenced_code_block_scss"},{include:"#fenced_code_block_perl6"},{include:"#fenced_code_block_powershell"},{include:"#fenced_code_block_python"},{include:"#fenced_code_block_julia"},{include:"#fenced_code_block_regexp_python"},{include:"#fenced_code_block_rust"},{include:"#fenced_code_block_scala"},{include:"#fenced_code_block_shell"},{include:"#fenced_code_block_ts"},{include:"#fenced_code_block_tsx"},{include:"#fenced_code_block_csharp"},{include:"#fenced_code_block_fsharp"},{include:"#fenced_code_block_dart"},{include:"#fenced_code_block_handlebars"},{include:"#fenced_code_block_markdown"},{include:"#fenced_code_block_log"},{include:"#fenced_code_block_erlang"},{include:"#fenced_code_block_elixir"},{include:"#fenced_code_block_latex"},{include:"#fenced_code_block_bibtex"},{include:"#fenced_code_block_twig"},{include:"#fenced_code_block_unknown"}]},fenced_code_block_basic:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(html|htm|shtml|xhtml|inc|tmpl|tpl)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.html",patterns:[{include:"text.html.basic"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_bibtex:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(bibtex)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.bibtex",patterns:[{include:"text.bibtex"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_c:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(c|h)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.c",patterns:[{include:"source.c"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_clojure:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(clj|cljs|clojure)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.clojure",patterns:[{include:"source.clojure"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_coffee:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(coffee|Cakefile|coffee.erb)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.coffee",patterns:[{include:"source.coffee"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_cpp:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cpp|c\\+\\+|cxx)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.cpp source.cpp",patterns:[{include:"source.cpp"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_csharp:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cs|csharp|c#)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.csharp",patterns:[{include:"source.cs"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_css:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(css|css.erb)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.css",patterns:[{include:"source.css"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_dart:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dart)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.dart",patterns:[{include:"source.dart"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_diff:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(patch|diff|rej)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.diff",patterns:[{include:"source.diff"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_dockerfile:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dockerfile|Dockerfile)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.dockerfile",patterns:[{include:"source.dockerfile"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_dosbatch:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(bat|batch)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.dosbatch",patterns:[{include:"source.batchfile"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_elixir:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(elixir)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.elixir",patterns:[{include:"source.elixir"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_erlang:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(erlang)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.erlang",patterns:[{include:"source.erlang"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_fsharp:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(fs|fsharp|f#)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.fsharp",patterns:[{include:"source.fsharp"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_git_commit:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(COMMIT_EDITMSG|MERGE_MSG)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.git_commit",patterns:[{include:"text.git-commit"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_git_rebase:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(git-rebase-todo)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.git_rebase",patterns:[{include:"text.git-rebase"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_go:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(go|golang)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.go",patterns:[{include:"source.go"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_groovy:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(groovy|gvy)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.groovy",patterns:[{include:"source.groovy"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_handlebars:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(handlebars|hbs)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.handlebars",patterns:[{include:"text.html.handlebars"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_ini:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.ini",patterns:[{include:"source.ini"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_java:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(java|bsh)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.java",patterns:[{include:"source.java"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_js:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|cjs|dataviewjs|\\{\\.js.+?\\})((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.javascript",patterns:[{include:"source.js"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_js_regexp:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(regexp)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.js_regexp",patterns:[{include:"source.js.regexp"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_json:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(json|json5|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.json",patterns:[{include:"source.json"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_jsonc:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jsonc)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.jsonc",patterns:[{include:"source.json.comments"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_julia:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(julia|\\{\\.julia.+?\\})((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.julia",patterns:[{include:"source.julia"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_latex:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(latex|tex)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.latex",patterns:[{include:"text.tex.latex"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_less:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(less)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.less",patterns:[{include:"source.css.less"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_log:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(log)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.log",patterns:[{include:"text.log"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_lua:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(lua)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.lua",patterns:[{include:"source.lua"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_makefile:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(Makefile|makefile|GNUmakefile|OCamlMakefile)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.makefile",patterns:[{include:"source.makefile"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_markdown:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(markdown|md)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.markdown",patterns:[{include:"text.html.markdown"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_objc:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(objectivec|objective-c|mm|objc|obj-c|m|h)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.objc",patterns:[{include:"source.objc"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_perl:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.perl",patterns:[{include:"source.perl"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_perl6:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl6|p6|pl6|pm6|nqp)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.perl6",patterns:[{include:"source.perl.6"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_php:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(php|php3|php4|php5|phpt|phtml|aw|ctp)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.php",patterns:[{include:"text.html.basic"},{include:"source.php"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_powershell:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(powershell|ps1|psm1|psd1)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.powershell",patterns:[{include:"source.powershell"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_pug:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jade|pug)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.pug",patterns:[{include:"text.pug"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_python:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(python|py|py3|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gyp|gypi|\\{\\.python.+?\\})((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.python",patterns:[{include:"source.python"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_r:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(R|r|s|S|Rprofile|\\{\\.r.+?\\})((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.r",patterns:[{include:"source.r"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_regexp_python:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(re)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.regexp_python",patterns:[{include:"source.regexp.python"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_ruby:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ruby|rb|rbx|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.ruby",patterns:[{include:"source.ruby"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_rust:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|rs|\\{\\.rust.+?\\})((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.rust",patterns:[{include:"source.rust"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_scala:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scala|sbt)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.scala",patterns:[{include:"source.scala"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_scss:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scss)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.scss",patterns:[{include:"source.css.scss"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_shell:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\{\\.bash.+?\\})((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.shellscript",patterns:[{include:"source.shell"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_sql:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(sql|ddl|dml)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.sql",patterns:[{include:"source.sql"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_swift:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(swift)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.swift",patterns:[{include:"source.swift"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_ts:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(typescript|ts)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.typescript",patterns:[{include:"source.ts"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_tsx:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(tsx)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.typescriptreact",patterns:[{include:"source.tsx"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_twig:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(twig)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.twig",patterns:[{include:"source.twig"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_unknown:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?=([^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown"},fenced_code_block_vs_net:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vb)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.vs_net",patterns:[{include:"source.asp.vb.net"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_xml:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.xml",patterns:[{include:"text.xml"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_xsl:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xsl|xslt)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.xsl",patterns:[{include:"text.xml.xsl"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},fenced_code_block_yaml:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(yaml|yml)((\\s+|:|,|\\{|\\?)[^`]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:"(^|\\G)(\\s*)(.*)",contentName:"meta.embedded.block.yaml",patterns:[{include:"source.yaml"}],while:"(^|\\G)(?!\\s*([`~]{3,})\\s*$)"}]},frontMatter:{begin:"\\A-{3}\\s*$",contentName:"meta.embedded.block.frontmatter",end:"(^|\\G)-{3}|\\.{3}\\s*$",patterns:[{include:"source.yaml"}]},heading:{captures:{1:{patterns:[{captures:{1:{name:"punctuation.definition.heading.markdown"},2:{name:"entity.name.section.markdown",patterns:[{include:"#inline"},{include:"text.html.derivative"}]},3:{name:"punctuation.definition.heading.markdown"}},match:"(#{6})\\s+(.*?)(?:\\s+(#+))?\\s*$",name:"heading.6.markdown"},{captures:{1:{name:"punctuation.definition.heading.markdown"},2:{name:"entity.name.section.markdown",patterns:[{include:"#inline"},{include:"text.html.derivative"}]},3:{name:"punctuation.definition.heading.markdown"}},match:"(#{5})\\s+(.*?)(?:\\s+(#+))?\\s*$",name:"heading.5.markdown"},{captures:{1:{name:"punctuation.definition.heading.markdown"},2:{name:"entity.name.section.markdown",patterns:[{include:"#inline"},{include:"text.html.derivative"}]},3:{name:"punctuation.definition.heading.markdown"}},match:"(#{4})\\s+(.*?)(?:\\s+(#+))?\\s*$",name:"heading.4.markdown"},{captures:{1:{name:"punctuation.definition.heading.markdown"},2:{name:"entity.name.section.markdown",patterns:[{include:"#inline"},{include:"text.html.derivative"}]},3:{name:"punctuation.definition.heading.markdown"}},match:"(#{3})\\s+(.*?)(?:\\s+(#+))?\\s*$",name:"heading.3.markdown"},{captures:{1:{name:"punctuation.definition.heading.markdown"},2:{name:"entity.name.section.markdown",patterns:[{include:"#inline"},{include:"text.html.derivative"}]},3:{name:"punctuation.definition.heading.markdown"}},match:"(#{2})\\s+(.*?)(?:\\s+(#+))?\\s*$",name:"heading.2.markdown"},{captures:{1:{name:"punctuation.definition.heading.markdown"},2:{name:"entity.name.section.markdown",patterns:[{include:"#inline"},{include:"text.html.derivative"}]},3:{name:"punctuation.definition.heading.markdown"}},match:"(#{1})\\s+(.*?)(?:\\s+(#+))?\\s*$",name:"heading.1.markdown"}]}},match:"(?:^|\\G)[ ]{0,3}(#{1,6}\\s+(.*?)(\\s+#{1,6})?\\s*)$",name:"markup.heading.markdown"},"heading-setext":{patterns:[{match:"^(={3,})(?=[ \\t]*$\\n?)",name:"markup.heading.setext.1.markdown"},{match:"^(-{3,})(?=[ \\t]*$\\n?)",name:"markup.heading.setext.2.markdown"}]},html:{patterns:[{begin:"(^|\\G)\\s*(<!--)",captures:{1:{name:"punctuation.definition.comment.html"},2:{name:"punctuation.definition.comment.html"}},end:"(-->)",name:"comment.block.html"},{begin:"(?i)(^|\\G)\\s*(?=<(script|style|pre)(\\s|$|>)(?!.*?</(script|style|pre)>))",end:"(?i)(.*)((</)(script|style|pre)(>))",endCaptures:{1:{patterns:[{include:"text.html.derivative"}]},2:{name:"meta.tag.structure.$4.end.html"},3:{name:"punctuation.definition.tag.begin.html"},4:{name:"entity.name.tag.html"},5:{name:"punctuation.definition.tag.end.html"}},patterns:[{begin:"(\\s*|$)",patterns:[{include:"text.html.derivative"}],while:"(?i)^(?!.*</(script|style|pre)>)"}]},{begin:"(?i)(^|\\G)\\s*(?=</?[a-zA-Z]+[^\\s/>]*(\\s|$|/?>))",patterns:[{include:"text.html.derivative"}],while:"^(?!\\s*$)"},{begin:"(^|\\G)\\s*(?=(<[a-zA-Z0-9\\-](/?>|\\s.*?>)|</[a-zA-Z0-9\\-]>)\\s*$)",patterns:[{include:"text.html.derivative"}],while:"^(?!\\s*$)"}]},"image-inline":{captures:{1:{name:"punctuation.definition.link.description.begin.markdown"},2:{name:"string.other.link.description.markdown"},4:{name:"punctuation.definition.link.description.end.markdown"},5:{name:"punctuation.definition.metadata.markdown"},7:{name:"punctuation.definition.link.markdown"},8:{name:"markup.underline.link.image.markdown"},9:{name:"punctuation.definition.link.markdown"},10:{name:"markup.underline.link.image.markdown"},12:{name:"string.other.link.description.title.markdown"},13:{name:"punctuation.definition.string.begin.markdown"},14:{name:"punctuation.definition.string.end.markdown"},15:{name:"string.other.link.description.title.markdown"},16:{name:"punctuation.definition.string.begin.markdown"},17:{name:"punctuation.definition.string.end.markdown"},18:{name:"string.other.link.description.title.markdown"},19:{name:"punctuation.definition.string.begin.markdown"},20:{name:"punctuation.definition.string.end.markdown"},21:{name:"punctuation.definition.metadata.markdown"}},match:`(?x) +(\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\]) + +(\\() + +[ \\t]* +( +(<)((?:\\\\[<>]|[^<>\\n])*)(>) +| ((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*) +) +[ \\t]* +(?: +((\\().+?(\\))) +| ((").+?(")) +| ((').+?(')) +)? +\\s* +(\\)) +`,name:"meta.image.inline.markdown"},"image-ref":{captures:{1:{name:"punctuation.definition.link.description.begin.markdown"},2:{name:"string.other.link.description.markdown"},4:{name:"punctuation.definition.link.description.end.markdown"},5:{name:"punctuation.definition.constant.markdown"},6:{name:"constant.other.reference.link.markdown"},7:{name:"punctuation.definition.constant.markdown"}},match:"(\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])[ ]?(\\[)(.*?)(\\])",name:"meta.image.reference.markdown"},inline:{patterns:[{include:"#ampersand"},{include:"#bracket"},{include:"#bold"},{include:"#italic"},{include:"#raw"},{include:"#strikethrough"},{include:"#escape"},{include:"#image-inline"},{include:"#image-ref"},{include:"#link-email"},{include:"#link-inet"},{include:"#link-inline"},{include:"#link-ref"},{include:"#link-ref-literal"},{include:"#link-ref-shortcut"}]},italic:{begin:`(?x) (?<open>(\\*(?=\\w)|(?<!\\w)\\*|(?<!\\w)\\b_))(?=\\S) +(?= +( +<[^>]*+> +| (?<raw>\`+)([^\`]|(?!(?<!\`)\\k<raw>(?!\`))\`)*+\\k<raw> + +| \\\\[\\\\\`*_{}\\[\\]()#.!+\\->]?+ +| \\[ +( +(?<square> +[^\\[\\]\\\\] +| \\\\. +| \\[ \\g<square>*+ \\] +)*+ +\\] +( +( +[ ]? +\\[[^\\]]*+\\] +) +| ( +\\( +[ \\t]*+ +<?(.*?)>? +[ \\t]*+ +( +(?<title>['"]) +(.*?) +\\k<title> +)? +\\) +) +) +) +| \\k<open>\\k<open> +| (?!(?<=\\S)\\k<open>). + +)++ +(?<=\\S)(?=_\\b|\\*)\\k<open> +) +`,captures:{1:{name:"punctuation.definition.italic.markdown"}},end:"(?<=\\S)(\\1)((?!\\1)|(?=\\1\\1))",name:"markup.italic.markdown",patterns:[{applyEndPatternLast:1,begin:"(?=<[^>]*?>)",end:"(?<=>)",patterns:[{include:"text.html.derivative"}]},{include:"#escape"},{include:"#ampersand"},{include:"#bracket"},{include:"#raw"},{include:"#bold"},{include:"#image-inline"},{include:"#link-inline"},{include:"#link-inet"},{include:"#link-email"},{include:"#image-ref"},{include:"#link-ref-literal"},{include:"#link-ref"},{include:"#link-ref-shortcut"},{include:"#strikethrough"}]},"link-def":{captures:{1:{name:"punctuation.definition.constant.markdown"},2:{name:"constant.other.reference.link.markdown"},3:{name:"punctuation.definition.constant.markdown"},4:{name:"punctuation.separator.key-value.markdown"},5:{name:"punctuation.definition.link.markdown"},6:{name:"markup.underline.link.markdown"},7:{name:"punctuation.definition.link.markdown"},8:{name:"markup.underline.link.markdown"},9:{name:"string.other.link.description.title.markdown"},10:{name:"punctuation.definition.string.begin.markdown"},11:{name:"punctuation.definition.string.end.markdown"},12:{name:"string.other.link.description.title.markdown"},13:{name:"punctuation.definition.string.begin.markdown"},14:{name:"punctuation.definition.string.end.markdown"},15:{name:"string.other.link.description.title.markdown"},16:{name:"punctuation.definition.string.begin.markdown"},17:{name:"punctuation.definition.string.end.markdown"}},match:`(?x) +\\s* +(\\[)([^]]+?)(\\])(:) +[ \\t]* +(?:(<)((?:\\\\[<>]|[^<>\\n])*)(>)|(\\S+?)) +[ \\t]* +(?: +((\\().+?(\\))) +| ((").+?(")) +| ((').+?(')) +)? +\\s* +$ +`,name:"meta.link.reference.def.markdown"},"link-email":{captures:{1:{name:"punctuation.definition.link.markdown"},2:{name:"markup.underline.link.markdown"},4:{name:"punctuation.definition.link.markdown"}},match:"(<)((?:mailto:)?[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)(>)",name:"meta.link.email.lt-gt.markdown"},"link-inet":{captures:{1:{name:"punctuation.definition.link.markdown"},2:{name:"markup.underline.link.markdown"},3:{name:"punctuation.definition.link.markdown"}},match:"(<)((?:https?|ftp)://.*?)(>)",name:"meta.link.inet.markdown"},"link-inline":{captures:{1:{name:"punctuation.definition.link.title.begin.markdown"},2:{name:"string.other.link.title.markdown",patterns:[{include:"#raw"},{include:"#bold"},{include:"#italic"},{include:"#strikethrough"},{include:"#image-inline"}]},4:{name:"punctuation.definition.link.title.end.markdown"},5:{name:"punctuation.definition.metadata.markdown"},7:{name:"punctuation.definition.link.markdown"},8:{name:"markup.underline.link.markdown"},9:{name:"punctuation.definition.link.markdown"},10:{name:"markup.underline.link.markdown"},12:{name:"string.other.link.description.title.markdown"},13:{name:"punctuation.definition.string.begin.markdown"},14:{name:"punctuation.definition.string.end.markdown"},15:{name:"string.other.link.description.title.markdown"},16:{name:"punctuation.definition.string.begin.markdown"},17:{name:"punctuation.definition.string.end.markdown"},18:{name:"string.other.link.description.title.markdown"},19:{name:"punctuation.definition.string.begin.markdown"},20:{name:"punctuation.definition.string.end.markdown"},21:{name:"punctuation.definition.metadata.markdown"}},match:`(?x) +(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\]) + +(\\() + +[ \\t]* +( +(<)((?:\\\\[<>]|[^<>\\n])*)(>) +| ((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*) +) +[ \\t]* + +(?: +((\\()[^()]*(\\))) +| ((")[^"]*(")) +| ((')[^']*(')) +)? +\\s* +(\\)) +`,name:"meta.link.inline.markdown"},"link-ref":{captures:{1:{name:"punctuation.definition.link.title.begin.markdown"},2:{name:"string.other.link.title.markdown",patterns:[{include:"#raw"},{include:"#bold"},{include:"#italic"},{include:"#strikethrough"},{include:"#image-inline"}]},4:{name:"punctuation.definition.link.title.end.markdown"},5:{name:"punctuation.definition.constant.begin.markdown"},6:{name:"constant.other.reference.link.markdown"},7:{name:"punctuation.definition.constant.end.markdown"}},match:"(?<![\\]\\\\])(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])(\\[)([^\\]]*+)(\\])",name:"meta.link.reference.markdown"},"link-ref-literal":{captures:{1:{name:"punctuation.definition.link.title.begin.markdown"},2:{name:"string.other.link.title.markdown"},4:{name:"punctuation.definition.link.title.end.markdown"},5:{name:"punctuation.definition.constant.begin.markdown"},6:{name:"punctuation.definition.constant.end.markdown"}},match:"(?<![\\]\\\\])(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])[ ]?(\\[)(\\])",name:"meta.link.reference.literal.markdown"},"link-ref-shortcut":{captures:{1:{name:"punctuation.definition.link.title.begin.markdown"},2:{name:"string.other.link.title.markdown"},3:{name:"punctuation.definition.link.title.end.markdown"}},match:"(?<![\\]\\\\])(\\[)((?:[^\\s\\[\\]\\\\]|\\\\[\\[\\]])+?)((?<!\\\\)\\])",name:"meta.link.reference.markdown"},list_paragraph:{begin:"(^|\\G)(?=\\S)(?![*+->]\\s|[0-9]+\\.\\s)",name:"meta.paragraph.markdown",patterns:[{include:"#inline"},{include:"text.html.derivative"},{include:"#heading-setext"}],while:"(^|\\G)(?!\\s*$|#|[ ]{0,3}([-*_>][ ]{2,}){3,}[ \\t]*$\\n?|[ ]{0,3}[*+->]|[ ]{0,3}[0-9]+\\.)"},lists:{patterns:[{begin:"(^|\\G)([ ]{0,3})([*+-])([ \\t])",beginCaptures:{3:{name:"punctuation.definition.list.begin.markdown"}},comment:"Currently does not support un-indented second lines.",name:"markup.list.unnumbered.markdown",patterns:[{include:"#block"},{include:"#list_paragraph"}],while:"((^|\\G)([ ]{2,4}|\\t))|(^[ \\t]*$)"},{begin:"(^|\\G)([ ]{0,3})([0-9]+[\\.\\)])([ \\t])",beginCaptures:{3:{name:"punctuation.definition.list.begin.markdown"}},name:"markup.list.numbered.markdown",patterns:[{include:"#block"},{include:"#list_paragraph"}],while:"((^|\\G)([ ]{2,4}|\\t))|(^[ \\t]*$)"}]},paragraph:{begin:"(^|\\G)[ ]{0,3}(?=[^ \\t\\n])",name:"meta.paragraph.markdown",patterns:[{include:"#inline"},{include:"text.html.derivative"},{include:"#heading-setext"}],while:"(^|\\G)((?=\\s*[-=]{3,}\\s*$)|[ ]{4,}(?=[^ \\t\\n]))"},raw:{captures:{1:{name:"punctuation.definition.raw.markdown"},3:{name:"punctuation.definition.raw.markdown"}},match:"(`+)((?:[^`]|(?!(?<!`)\\1(?!`))`)*+)(\\1)",name:"markup.inline.raw.string.markdown"},raw_block:{begin:"(^|\\G)([ ]{4}|\\t)",name:"markup.raw.block.markdown",while:"(^|\\G)([ ]{4}|\\t)"},separator:{match:"(^|\\G)[ ]{0,3}([\\*\\-\\_])([ ]{0,2}\\2){2,}[ \\t]*$\\n?",name:"meta.separator.markdown"},strikethrough:{captures:{1:{name:"punctuation.definition.strikethrough.markdown"},2:{patterns:[{applyEndPatternLast:1,begin:"(?=<[^>]*?>)",end:"(?<=>)",patterns:[{include:"text.html.derivative"}]},{include:"#escape"},{include:"#ampersand"},{include:"#bracket"},{include:"#raw"},{include:"#bold"},{include:"#italic"},{include:"#image-inline"},{include:"#link-inline"},{include:"#link-inet"},{include:"#link-email"},{include:"#image-ref"},{include:"#link-ref-literal"},{include:"#link-ref"},{include:"#link-ref-shortcut"}]},3:{name:"punctuation.definition.strikethrough.markdown"}},match:"(?<!\\\\)(~{2,})((?:[^~]|(?!(?<![~\\\\])\\1(?!~))~)*+)(\\1)",name:"markup.strikethrough.markdown"},table:{begin:"(^|\\G)(\\|)(?=[^|].+\\|\\s*$)",beginCaptures:{2:{name:"punctuation.definition.table.markdown"}},name:"markup.table.markdown",patterns:[{match:"\\|",name:"punctuation.definition.table.markdown"},{captures:{1:{name:"punctuation.separator.table.markdown"}},match:"(?<=\\|)\\s*(:?-+:?)\\s*(?=\\|)"},{captures:{1:{patterns:[{include:"#inline"}]}},match:"(?<=\\|)\\s*(?=\\S)((\\\\\\||[^|])+)(?<=\\S)\\s*(?=\\|)"}],while:"(^|\\G)(?=\\|)"}},scopeName:"text.html.markdown",embeddedLangs:[],aliases:["md"],embeddedLangsLazy:["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","less","objective-c","swift","scss","raku","powershell","python","julia","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","erlang","elixir","latex","bibtex","html-derivative"]});var n=[e];export{n as default}; diff --git a/assets/mermaid.core-wTs8WatG.js b/assets/mermaid.core-wTs8WatG.js new file mode 100644 index 00000000000..d1ba3ff10c9 --- /dev/null +++ b/assets/mermaid.core-wTs8WatG.js @@ -0,0 +1,92 @@ +import{_ as $}from"./index-ZXl4th35.js";import{l as lh}from"./request-bY2SEZNN.js";function hh(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];var r=Array.from(typeof t=="string"?[t]:t);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var n=r.reduce(function(a,l){var h=l.match(/\n([\t ]+|(?!\s).)/g);return h?a.concat(h.map(function(u){var f,c;return(c=(f=u.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&c!==void 0?c:0})):a},[]);if(n.length){var o=new RegExp(` +[ ]{`+Math.min.apply(Math,n)+"}","g");r=r.map(function(a){return a.replace(o,` +`)})}r[0]=r[0].replace(/^\r?\n/,"");var s=r[0];return e.forEach(function(a,l){var h=s.match(/(?:^|\n)( *)$/),u=h?h[1]:"",f=a;typeof a=="string"&&a.includes(` +`)&&(f=String(a).split(` +`).map(function(c,p){return p===0?c:""+u+c}).join(` +`)),s+=f+r[l+1]}),s}var Os={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeUrl=t.BLANK_URL=void 0;var e=/^([^\w]*)(javascript|data|vbscript)/im,i=/&#(\w+)(^\w|;)?/g,r=/&(newline|tab);/gi,n=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,o=/^.+(:|:)/gim,s=[".","/"];t.BLANK_URL="about:blank";function a(u){return s.indexOf(u[0])>-1}function l(u){var f=u.replace(n,"");return f.replace(i,function(c,p){return String.fromCharCode(p)})}function h(u){if(!u)return t.BLANK_URL;var f=l(u).replace(r,"").replace(n,"").trim();if(!f)return t.BLANK_URL;if(a(f))return f;var c=f.match(o);if(!c)return f;var p=c[0];return e.test(p)?t.BLANK_URL:f}t.sanitizeUrl=h})(Os);var ch={value:()=>{}};function Is(){for(var t=0,e=arguments.length,i={},r;t<e;++t){if(!(r=arguments[t]+"")||r in i||/[\s.]/.test(r))throw new Error("illegal type: "+r);i[r]=[]}return new bi(i)}function bi(t){this._=t}function uh(t,e){return t.trim().split(/^|\s+/).map(function(i){var r="",n=i.indexOf(".");if(n>=0&&(r=i.slice(n+1),i=i.slice(0,n)),i&&!e.hasOwnProperty(i))throw new Error("unknown type: "+i);return{type:i,name:r}})}bi.prototype=Is.prototype={constructor:bi,on:function(t,e){var i=this._,r=uh(t+"",i),n,o=-1,s=r.length;if(arguments.length<2){for(;++o<s;)if((n=(t=r[o]).type)&&(n=fh(i[n],t.name)))return n;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<s;)if(n=(t=r[o]).type)i[n]=xo(i[n],t.name,e);else if(e==null)for(n in i)i[n]=xo(i[n],t.name,null);return this},copy:function(){var t={},e=this._;for(var i in e)t[i]=e[i].slice();return new bi(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var i=new Array(n),r=0,n,o;r<n;++r)i[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],r=0,n=o.length;r<n;++r)o[r].value.apply(e,i)},apply:function(t,e,i){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],n=0,o=r.length;n<o;++n)r[n].value.apply(e,i)}};function fh(t,e){for(var i=0,r=t.length,n;i<r;++i)if((n=t[i]).name===e)return n.value}function xo(t,e,i){for(var r=0,n=t.length;r<n;++r)if(t[r].name===e){t[r]=ch,t=t.slice(0,r).concat(t.slice(r+1));break}return i!=null&&t.push({name:e,value:i}),t}var Gr="http://www.w3.org/1999/xhtml";const bo={svg:"http://www.w3.org/2000/svg",xhtml:Gr,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ji(t){var e=t+="",i=e.indexOf(":");return i>=0&&(e=t.slice(0,i))!=="xmlns"&&(t=t.slice(i+1)),bo.hasOwnProperty(e)?{space:bo[e],local:t}:t}function dh(t){return function(){var e=this.ownerDocument,i=this.namespaceURI;return i===Gr&&e.documentElement.namespaceURI===Gr?e.createElement(t):e.createElementNS(i,t)}}function ph(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Ms(t){var e=Ji(t);return(e.local?ph:dh)(e)}function gh(){}function mn(t){return t==null?gh:function(){return this.querySelector(t)}}function mh(t){typeof t!="function"&&(t=mn(t));for(var e=this._groups,i=e.length,r=new Array(i),n=0;n<i;++n)for(var o=e[n],s=o.length,a=r[n]=new Array(s),l,h,u=0;u<s;++u)(l=o[u])&&(h=t.call(l,l.__data__,u,o))&&("__data__"in l&&(h.__data__=l.__data__),a[u]=h);return new ot(r,this._parents)}function _h(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function yh(){return[]}function Ns(t){return t==null?yh:function(){return this.querySelectorAll(t)}}function Ch(t){return function(){return _h(t.apply(this,arguments))}}function xh(t){typeof t=="function"?t=Ch(t):t=Ns(t);for(var e=this._groups,i=e.length,r=[],n=[],o=0;o<i;++o)for(var s=e[o],a=s.length,l,h=0;h<a;++h)(l=s[h])&&(r.push(t.call(l,l.__data__,h,s)),n.push(l));return new ot(r,n)}function Ds(t){return function(){return this.matches(t)}}function $s(t){return function(e){return e.matches(t)}}var bh=Array.prototype.find;function Th(t){return function(){return bh.call(this.children,t)}}function vh(){return this.firstElementChild}function kh(t){return this.select(t==null?vh:Th(typeof t=="function"?t:$s(t)))}var Sh=Array.prototype.filter;function wh(){return Array.from(this.children)}function Bh(t){return function(){return Sh.call(this.children,t)}}function Ah(t){return this.selectAll(t==null?wh:Bh(typeof t=="function"?t:$s(t)))}function Fh(t){typeof t!="function"&&(t=Ds(t));for(var e=this._groups,i=e.length,r=new Array(i),n=0;n<i;++n)for(var o=e[n],s=o.length,a=r[n]=[],l,h=0;h<s;++h)(l=o[h])&&t.call(l,l.__data__,h,o)&&a.push(l);return new ot(r,this._parents)}function Rs(t){return new Array(t.length)}function Lh(){return new ot(this._enter||this._groups.map(Rs),this._parents)}function Li(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Li.prototype={constructor:Li,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function Eh(t){return function(){return t}}function Oh(t,e,i,r,n,o){for(var s=0,a,l=e.length,h=o.length;s<h;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):i[s]=new Li(t,o[s]);for(;s<l;++s)(a=e[s])&&(n[s]=a)}function Ih(t,e,i,r,n,o,s){var a,l,h=new Map,u=e.length,f=o.length,c=new Array(u),p;for(a=0;a<u;++a)(l=e[a])&&(c[a]=p=s.call(l,l.__data__,a,e)+"",h.has(p)?n[a]=l:h.set(p,l));for(a=0;a<f;++a)p=s.call(t,o[a],a,o)+"",(l=h.get(p))?(r[a]=l,l.__data__=o[a],h.delete(p)):i[a]=new Li(t,o[a]);for(a=0;a<u;++a)(l=e[a])&&h.get(c[a])===l&&(n[a]=l)}function Mh(t){return t.__data__}function Nh(t,e){if(!arguments.length)return Array.from(this,Mh);var i=e?Ih:Oh,r=this._parents,n=this._groups;typeof t!="function"&&(t=Eh(t));for(var o=n.length,s=new Array(o),a=new Array(o),l=new Array(o),h=0;h<o;++h){var u=r[h],f=n[h],c=f.length,p=Dh(t.call(u,u&&u.__data__,h,r)),y=p.length,x=a[h]=new Array(y),T=s[h]=new Array(y),L=l[h]=new Array(c);i(u,f,x,T,L,p,e);for(var C=0,E=0,I,z;C<y;++C)if(I=x[C]){for(C>=E&&(E=C+1);!(z=T[E])&&++E<y;);I._next=z||null}}return s=new ot(s,r),s._enter=a,s._exit=l,s}function Dh(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function $h(){return new ot(this._exit||this._groups.map(Rs),this._parents)}function Rh(t,e,i){var r=this.enter(),n=this,o=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(n=e(n),n&&(n=n.selection())),i==null?o.remove():i(o),r&&n?r.merge(n).order():n}function Ph(t){for(var e=t.selection?t.selection():t,i=this._groups,r=e._groups,n=i.length,o=r.length,s=Math.min(n,o),a=new Array(n),l=0;l<s;++l)for(var h=i[l],u=r[l],f=h.length,c=a[l]=new Array(f),p,y=0;y<f;++y)(p=h[y]||u[y])&&(c[y]=p);for(;l<n;++l)a[l]=i[l];return new ot(a,this._parents)}function qh(){for(var t=this._groups,e=-1,i=t.length;++e<i;)for(var r=t[e],n=r.length-1,o=r[n],s;--n>=0;)(s=r[n])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function zh(t){t||(t=Wh);function e(f,c){return f&&c?t(f.__data__,c.__data__):!f-!c}for(var i=this._groups,r=i.length,n=new Array(r),o=0;o<r;++o){for(var s=i[o],a=s.length,l=n[o]=new Array(a),h,u=0;u<a;++u)(h=s[u])&&(l[u]=h);l.sort(e)}return new ot(n,this._parents).order()}function Wh(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Hh(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function jh(){return Array.from(this)}function Uh(){for(var t=this._groups,e=0,i=t.length;e<i;++e)for(var r=t[e],n=0,o=r.length;n<o;++n){var s=r[n];if(s)return s}return null}function Yh(){let t=0;for(const e of this)++t;return t}function Vh(){return!this.node()}function Gh(t){for(var e=this._groups,i=0,r=e.length;i<r;++i)for(var n=e[i],o=0,s=n.length,a;o<s;++o)(a=n[o])&&t.call(a,a.__data__,o,n);return this}function Xh(t){return function(){this.removeAttribute(t)}}function Kh(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Zh(t,e){return function(){this.setAttribute(t,e)}}function Jh(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Qh(t,e){return function(){var i=e.apply(this,arguments);i==null?this.removeAttribute(t):this.setAttribute(t,i)}}function tc(t,e){return function(){var i=e.apply(this,arguments);i==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}function ec(t,e){var i=Ji(t);if(arguments.length<2){var r=this.node();return i.local?r.getAttributeNS(i.space,i.local):r.getAttribute(i)}return this.each((e==null?i.local?Kh:Xh:typeof e=="function"?i.local?tc:Qh:i.local?Jh:Zh)(i,e))}function Ps(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function ic(t){return function(){this.style.removeProperty(t)}}function rc(t,e,i){return function(){this.style.setProperty(t,e,i)}}function nc(t,e,i){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,i)}}function oc(t,e,i){return arguments.length>1?this.each((e==null?ic:typeof e=="function"?nc:rc)(t,e,i??"")):ge(this.node(),t)}function ge(t,e){return t.style.getPropertyValue(e)||Ps(t).getComputedStyle(t,null).getPropertyValue(e)}function sc(t){return function(){delete this[t]}}function ac(t,e){return function(){this[t]=e}}function lc(t,e){return function(){var i=e.apply(this,arguments);i==null?delete this[t]:this[t]=i}}function hc(t,e){return arguments.length>1?this.each((e==null?sc:typeof e=="function"?lc:ac)(t,e)):this.node()[t]}function qs(t){return t.trim().split(/^|\s+/)}function _n(t){return t.classList||new zs(t)}function zs(t){this._node=t,this._names=qs(t.getAttribute("class")||"")}zs.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Ws(t,e){for(var i=_n(t),r=-1,n=e.length;++r<n;)i.add(e[r])}function Hs(t,e){for(var i=_n(t),r=-1,n=e.length;++r<n;)i.remove(e[r])}function cc(t){return function(){Ws(this,t)}}function uc(t){return function(){Hs(this,t)}}function fc(t,e){return function(){(e.apply(this,arguments)?Ws:Hs)(this,t)}}function dc(t,e){var i=qs(t+"");if(arguments.length<2){for(var r=_n(this.node()),n=-1,o=i.length;++n<o;)if(!r.contains(i[n]))return!1;return!0}return this.each((typeof e=="function"?fc:e?cc:uc)(i,e))}function pc(){this.textContent=""}function gc(t){return function(){this.textContent=t}}function mc(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function _c(t){return arguments.length?this.each(t==null?pc:(typeof t=="function"?mc:gc)(t)):this.node().textContent}function yc(){this.innerHTML=""}function Cc(t){return function(){this.innerHTML=t}}function xc(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function bc(t){return arguments.length?this.each(t==null?yc:(typeof t=="function"?xc:Cc)(t)):this.node().innerHTML}function Tc(){this.nextSibling&&this.parentNode.appendChild(this)}function vc(){return this.each(Tc)}function kc(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Sc(){return this.each(kc)}function wc(t){var e=typeof t=="function"?t:Ms(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function Bc(){return null}function Ac(t,e){var i=typeof t=="function"?t:Ms(t),r=e==null?Bc:typeof e=="function"?e:mn(e);return this.select(function(){return this.insertBefore(i.apply(this,arguments),r.apply(this,arguments)||null)})}function Fc(){var t=this.parentNode;t&&t.removeChild(this)}function Lc(){return this.each(Fc)}function Ec(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Oc(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ic(t){return this.select(t?Oc:Ec)}function Mc(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Nc(t){return function(e){t.call(this,e,this.__data__)}}function Dc(t){return t.trim().split(/^|\s+/).map(function(e){var i="",r=e.indexOf(".");return r>=0&&(i=e.slice(r+1),e=e.slice(0,r)),{type:e,name:i}})}function $c(t){return function(){var e=this.__on;if(e){for(var i=0,r=-1,n=e.length,o;i<n;++i)o=e[i],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++r]=o;++r?e.length=r:delete this.__on}}}function Rc(t,e,i){return function(){var r=this.__on,n,o=Nc(e);if(r){for(var s=0,a=r.length;s<a;++s)if((n=r[s]).type===t.type&&n.name===t.name){this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=o,n.options=i),n.value=e;return}}this.addEventListener(t.type,o,i),n={type:t.type,name:t.name,value:e,listener:o,options:i},r?r.push(n):this.__on=[n]}}function Pc(t,e,i){var r=Dc(t+""),n,o=r.length,s;if(arguments.length<2){var a=this.node().__on;if(a){for(var l=0,h=a.length,u;l<h;++l)for(n=0,u=a[l];n<o;++n)if((s=r[n]).type===u.type&&s.name===u.name)return u.value}return}for(a=e?Rc:$c,n=0;n<o;++n)this.each(a(r[n],e,i));return this}function js(t,e,i){var r=Ps(t),n=r.CustomEvent;typeof n=="function"?n=new n(e,i):(n=r.document.createEvent("Event"),i?(n.initEvent(e,i.bubbles,i.cancelable),n.detail=i.detail):n.initEvent(e,!1,!1)),t.dispatchEvent(n)}function qc(t,e){return function(){return js(this,t,e)}}function zc(t,e){return function(){return js(this,t,e.apply(this,arguments))}}function Wc(t,e){return this.each((typeof e=="function"?zc:qc)(t,e))}function*Hc(){for(var t=this._groups,e=0,i=t.length;e<i;++e)for(var r=t[e],n=0,o=r.length,s;n<o;++n)(s=r[n])&&(yield s)}var Us=[null];function ot(t,e){this._groups=t,this._parents=e}function ii(){return new ot([[document.documentElement]],Us)}function jc(){return this}ot.prototype=ii.prototype={constructor:ot,select:mh,selectAll:xh,selectChild:kh,selectChildren:Ah,filter:Fh,data:Nh,enter:Lh,exit:$h,join:Rh,merge:Ph,selection:jc,order:qh,sort:zh,call:Hh,nodes:jh,node:Uh,size:Yh,empty:Vh,each:Gh,attr:ec,style:oc,property:hc,classed:dc,text:_c,html:bc,raise:vc,lower:Sc,append:wc,insert:Ac,remove:Lc,clone:Ic,datum:Mc,on:Pc,dispatch:Wc,[Symbol.iterator]:Hc};function lt(t){return typeof t=="string"?new ot([[document.querySelector(t)]],[document.documentElement]):new ot([[t]],Us)}function yn(t,e,i){t.prototype=e.prototype=i,i.constructor=t}function Ys(t,e){var i=Object.create(t.prototype);for(var r in e)i[r]=e[r];return i}function ri(){}var Ye=.7,Ei=1/Ye,de="\\s*([+-]?\\d+)\\s*",Ve="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",mt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Uc=/^#([0-9a-f]{3,8})$/,Yc=new RegExp(`^rgb\\(${de},${de},${de}\\)$`),Vc=new RegExp(`^rgb\\(${mt},${mt},${mt}\\)$`),Gc=new RegExp(`^rgba\\(${de},${de},${de},${Ve}\\)$`),Xc=new RegExp(`^rgba\\(${mt},${mt},${mt},${Ve}\\)$`),Kc=new RegExp(`^hsl\\(${Ve},${mt},${mt}\\)$`),Zc=new RegExp(`^hsla\\(${Ve},${mt},${mt},${Ve}\\)$`),To={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};yn(ri,Ge,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:vo,formatHex:vo,formatHex8:Jc,formatHsl:Qc,formatRgb:ko,toString:ko});function vo(){return this.rgb().formatHex()}function Jc(){return this.rgb().formatHex8()}function Qc(){return Vs(this).formatHsl()}function ko(){return this.rgb().formatRgb()}function Ge(t){var e,i;return t=(t+"").trim().toLowerCase(),(e=Uc.exec(t))?(i=e[1].length,e=parseInt(e[1],16),i===6?So(e):i===3?new it(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):i===8?di(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):i===4?di(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Yc.exec(t))?new it(e[1],e[2],e[3],1):(e=Vc.exec(t))?new it(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Gc.exec(t))?di(e[1],e[2],e[3],e[4]):(e=Xc.exec(t))?di(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Kc.exec(t))?Ao(e[1],e[2]/100,e[3]/100,1):(e=Zc.exec(t))?Ao(e[1],e[2]/100,e[3]/100,e[4]):To.hasOwnProperty(t)?So(To[t]):t==="transparent"?new it(NaN,NaN,NaN,0):null}function So(t){return new it(t>>16&255,t>>8&255,t&255,1)}function di(t,e,i,r){return r<=0&&(t=e=i=NaN),new it(t,e,i,r)}function tu(t){return t instanceof ri||(t=Ge(t)),t?(t=t.rgb(),new it(t.r,t.g,t.b,t.opacity)):new it}function Xr(t,e,i,r){return arguments.length===1?tu(t):new it(t,e,i,r??1)}function it(t,e,i,r){this.r=+t,this.g=+e,this.b=+i,this.opacity=+r}yn(it,Xr,Ys(ri,{brighter(t){return t=t==null?Ei:Math.pow(Ei,t),new it(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Ye:Math.pow(Ye,t),new it(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new it(Yt(this.r),Yt(this.g),Yt(this.b),Oi(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:wo,formatHex:wo,formatHex8:eu,formatRgb:Bo,toString:Bo}));function wo(){return`#${jt(this.r)}${jt(this.g)}${jt(this.b)}`}function eu(){return`#${jt(this.r)}${jt(this.g)}${jt(this.b)}${jt((isNaN(this.opacity)?1:this.opacity)*255)}`}function Bo(){const t=Oi(this.opacity);return`${t===1?"rgb(":"rgba("}${Yt(this.r)}, ${Yt(this.g)}, ${Yt(this.b)}${t===1?")":`, ${t})`}`}function Oi(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Yt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function jt(t){return t=Yt(t),(t<16?"0":"")+t.toString(16)}function Ao(t,e,i,r){return r<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new ut(t,e,i,r)}function Vs(t){if(t instanceof ut)return new ut(t.h,t.s,t.l,t.opacity);if(t instanceof ri||(t=Ge(t)),!t)return new ut;if(t instanceof ut)return t;t=t.rgb();var e=t.r/255,i=t.g/255,r=t.b/255,n=Math.min(e,i,r),o=Math.max(e,i,r),s=NaN,a=o-n,l=(o+n)/2;return a?(e===o?s=(i-r)/a+(i<r)*6:i===o?s=(r-e)/a+2:s=(e-i)/a+4,a/=l<.5?o+n:2-o-n,s*=60):a=l>0&&l<1?0:s,new ut(s,a,l,t.opacity)}function iu(t,e,i,r){return arguments.length===1?Vs(t):new ut(t,e,i,r??1)}function ut(t,e,i,r){this.h=+t,this.s=+e,this.l=+i,this.opacity=+r}yn(ut,iu,Ys(ri,{brighter(t){return t=t==null?Ei:Math.pow(Ei,t),new ut(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Ye:Math.pow(Ye,t),new ut(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,r=i+(i<.5?i:1-i)*e,n=2*i-r;return new it(Or(t>=240?t-240:t+120,n,r),Or(t,n,r),Or(t<120?t+240:t-120,n,r),this.opacity)},clamp(){return new ut(Fo(this.h),pi(this.s),pi(this.l),Oi(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 t=Oi(this.opacity);return`${t===1?"hsl(":"hsla("}${Fo(this.h)}, ${pi(this.s)*100}%, ${pi(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Fo(t){return t=(t||0)%360,t<0?t+360:t}function pi(t){return Math.max(0,Math.min(1,t||0))}function Or(t,e,i){return(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)*255}const Cn=t=>()=>t;function Gs(t,e){return function(i){return t+i*e}}function ru(t,e,i){return t=Math.pow(t,i),e=Math.pow(e,i)-t,i=1/i,function(r){return Math.pow(t+r*e,i)}}function _b(t,e){var i=e-t;return i?Gs(t,i>180||i<-180?i-360*Math.round(i/360):i):Cn(isNaN(t)?e:t)}function nu(t){return(t=+t)==1?Xs:function(e,i){return i-e?ru(e,i,t):Cn(isNaN(e)?i:e)}}function Xs(t,e){var i=e-t;return i?Gs(t,i):Cn(isNaN(t)?e:t)}const Lo=function t(e){var i=nu(e);function r(n,o){var s=i((n=Xr(n)).r,(o=Xr(o)).r),a=i(n.g,o.g),l=i(n.b,o.b),h=Xs(n.opacity,o.opacity);return function(u){return n.r=s(u),n.g=a(u),n.b=l(u),n.opacity=h(u),n+""}}return r.gamma=t,r}(1);function Mt(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}var Kr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ir=new RegExp(Kr.source,"g");function ou(t){return function(){return t}}function su(t){return function(e){return t(e)+""}}function au(t,e){var i=Kr.lastIndex=Ir.lastIndex=0,r,n,o,s=-1,a=[],l=[];for(t=t+"",e=e+"";(r=Kr.exec(t))&&(n=Ir.exec(e));)(o=n.index)>i&&(o=e.slice(i,o),a[s]?a[s]+=o:a[++s]=o),(r=r[0])===(n=n[0])?a[s]?a[s]+=n:a[++s]=n:(a[++s]=null,l.push({i:s,x:Mt(r,n)})),i=Ir.lastIndex;return i<e.length&&(o=e.slice(i),a[s]?a[s]+=o:a[++s]=o),a.length<2?l[0]?su(l[0].x):ou(e):(e=l.length,function(h){for(var u=0,f;u<e;++u)a[(f=l[u]).i]=f.x(h);return a.join("")})}var Eo=180/Math.PI,Zr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ks(t,e,i,r,n,o){var s,a,l;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(l=t*i+e*r)&&(i-=t*l,r-=e*l),(a=Math.sqrt(i*i+r*r))&&(i/=a,r/=a,l/=a),t*r<e*i&&(t=-t,e=-e,l=-l,s=-s),{translateX:n,translateY:o,rotate:Math.atan2(e,t)*Eo,skewX:Math.atan(l)*Eo,scaleX:s,scaleY:a}}var gi;function lu(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Zr:Ks(e.a,e.b,e.c,e.d,e.e,e.f)}function hu(t){return t==null||(gi||(gi=document.createElementNS("http://www.w3.org/2000/svg","g")),gi.setAttribute("transform",t),!(t=gi.transform.baseVal.consolidate()))?Zr:(t=t.matrix,Ks(t.a,t.b,t.c,t.d,t.e,t.f))}function Zs(t,e,i,r){function n(h){return h.length?h.pop()+" ":""}function o(h,u,f,c,p,y){if(h!==f||u!==c){var x=p.push("translate(",null,e,null,i);y.push({i:x-4,x:Mt(h,f)},{i:x-2,x:Mt(u,c)})}else(f||c)&&p.push("translate("+f+e+c+i)}function s(h,u,f,c){h!==u?(h-u>180?u+=360:u-h>180&&(h+=360),c.push({i:f.push(n(f)+"rotate(",null,r)-2,x:Mt(h,u)})):u&&f.push(n(f)+"rotate("+u+r)}function a(h,u,f,c){h!==u?c.push({i:f.push(n(f)+"skewX(",null,r)-2,x:Mt(h,u)}):u&&f.push(n(f)+"skewX("+u+r)}function l(h,u,f,c,p,y){if(h!==f||u!==c){var x=p.push(n(p)+"scale(",null,",",null,")");y.push({i:x-4,x:Mt(h,f)},{i:x-2,x:Mt(u,c)})}else(f!==1||c!==1)&&p.push(n(p)+"scale("+f+","+c+")")}return function(h,u){var f=[],c=[];return h=t(h),u=t(u),o(h.translateX,h.translateY,u.translateX,u.translateY,f,c),s(h.rotate,u.rotate,f,c),a(h.skewX,u.skewX,f,c),l(h.scaleX,h.scaleY,u.scaleX,u.scaleY,f,c),h=u=null,function(p){for(var y=-1,x=c.length,T;++y<x;)f[(T=c[y]).i]=T.x(p);return f.join("")}}}var cu=Zs(lu,"px, ","px)","deg)"),uu=Zs(hu,", ",")",")"),me=0,De=0,Ee=0,Js=1e3,Ii,$e,Mi=0,Xt=0,Qi=0,Xe=typeof performance=="object"&&performance.now?performance:Date,Qs=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function xn(){return Xt||(Qs(fu),Xt=Xe.now()+Qi)}function fu(){Xt=0}function Ni(){this._call=this._time=this._next=null}Ni.prototype=ta.prototype={constructor:Ni,restart:function(t,e,i){if(typeof t!="function")throw new TypeError("callback is not a function");i=(i==null?xn():+i)+(e==null?0:+e),!this._next&&$e!==this&&($e?$e._next=this:Ii=this,$e=this),this._call=t,this._time=i,Jr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Jr())}};function ta(t,e,i){var r=new Ni;return r.restart(t,e,i),r}function du(){xn(),++me;for(var t=Ii,e;t;)(e=Xt-t._time)>=0&&t._call.call(void 0,e),t=t._next;--me}function Oo(){Xt=(Mi=Xe.now())+Qi,me=De=0;try{du()}finally{me=0,gu(),Xt=0}}function pu(){var t=Xe.now(),e=t-Mi;e>Js&&(Qi-=e,Mi=t)}function gu(){for(var t,e=Ii,i,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(i=e._next,e._next=null,e=t?t._next=i:Ii=i);$e=t,Jr(r)}function Jr(t){if(!me){De&&(De=clearTimeout(De));var e=t-Xt;e>24?(t<1/0&&(De=setTimeout(Oo,t-Xe.now()-Qi)),Ee&&(Ee=clearInterval(Ee))):(Ee||(Mi=Xe.now(),Ee=setInterval(pu,Js)),me=1,Qs(Oo))}}function Io(t,e,i){var r=new Ni;return e=e==null?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,i),r}var mu=Is("start","end","cancel","interrupt"),_u=[],ea=0,Mo=1,Qr=2,Ti=3,No=4,tn=5,vi=6;function tr(t,e,i,r,n,o){var s=t.__transition;if(!s)t.__transition={};else if(i in s)return;yu(t,i,{name:e,index:r,group:n,on:mu,tween:_u,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:ea})}function bn(t,e){var i=gt(t,e);if(i.state>ea)throw new Error("too late; already scheduled");return i}function xt(t,e){var i=gt(t,e);if(i.state>Ti)throw new Error("too late; already running");return i}function gt(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function yu(t,e,i){var r=t.__transition,n;r[e]=i,i.timer=ta(o,0,i.time);function o(h){i.state=Mo,i.timer.restart(s,i.delay,i.time),i.delay<=h&&s(h-i.delay)}function s(h){var u,f,c,p;if(i.state!==Mo)return l();for(u in r)if(p=r[u],p.name===i.name){if(p.state===Ti)return Io(s);p.state===No?(p.state=vi,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete r[u]):+u<e&&(p.state=vi,p.timer.stop(),p.on.call("cancel",t,t.__data__,p.index,p.group),delete r[u])}if(Io(function(){i.state===Ti&&(i.state=No,i.timer.restart(a,i.delay,i.time),a(h))}),i.state=Qr,i.on.call("start",t,t.__data__,i.index,i.group),i.state===Qr){for(i.state=Ti,n=new Array(c=i.tween.length),u=0,f=-1;u<c;++u)(p=i.tween[u].value.call(t,t.__data__,i.index,i.group))&&(n[++f]=p);n.length=f+1}}function a(h){for(var u=h<i.duration?i.ease.call(null,h/i.duration):(i.timer.restart(l),i.state=tn,1),f=-1,c=n.length;++f<c;)n[f].call(t,u);i.state===tn&&(i.on.call("end",t,t.__data__,i.index,i.group),l())}function l(){i.state=vi,i.timer.stop(),delete r[e];for(var h in r)return;delete t.__transition}}function Cu(t,e){var i=t.__transition,r,n,o=!0,s;if(i){e=e==null?null:e+"";for(s in i){if((r=i[s]).name!==e){o=!1;continue}n=r.state>Qr&&r.state<tn,r.state=vi,r.timer.stop(),r.on.call(n?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete i[s]}o&&delete t.__transition}}function xu(t){return this.each(function(){Cu(this,t)})}function bu(t,e){var i,r;return function(){var n=xt(this,t),o=n.tween;if(o!==i){r=i=o;for(var s=0,a=r.length;s<a;++s)if(r[s].name===e){r=r.slice(),r.splice(s,1);break}}n.tween=r}}function Tu(t,e,i){var r,n;if(typeof i!="function")throw new Error;return function(){var o=xt(this,t),s=o.tween;if(s!==r){n=(r=s).slice();for(var a={name:e,value:i},l=0,h=n.length;l<h;++l)if(n[l].name===e){n[l]=a;break}l===h&&n.push(a)}o.tween=n}}function vu(t,e){var i=this._id;if(t+="",arguments.length<2){for(var r=gt(this.node(),i).tween,n=0,o=r.length,s;n<o;++n)if((s=r[n]).name===t)return s.value;return null}return this.each((e==null?bu:Tu)(i,t,e))}function Tn(t,e,i){var r=t._id;return t.each(function(){var n=xt(this,r);(n.value||(n.value={}))[e]=i.apply(this,arguments)}),function(n){return gt(n,r).value[e]}}function ia(t,e){var i;return(typeof e=="number"?Mt:e instanceof Ge?Lo:(i=Ge(e))?(e=i,Lo):au)(t,e)}function ku(t){return function(){this.removeAttribute(t)}}function Su(t){return function(){this.removeAttributeNS(t.space,t.local)}}function wu(t,e,i){var r,n=i+"",o;return function(){var s=this.getAttribute(t);return s===n?null:s===r?o:o=e(r=s,i)}}function Bu(t,e,i){var r,n=i+"",o;return function(){var s=this.getAttributeNS(t.space,t.local);return s===n?null:s===r?o:o=e(r=s,i)}}function Au(t,e,i){var r,n,o;return function(){var s,a=i(this),l;return a==null?void this.removeAttribute(t):(s=this.getAttribute(t),l=a+"",s===l?null:s===r&&l===n?o:(n=l,o=e(r=s,a)))}}function Fu(t,e,i){var r,n,o;return function(){var s,a=i(this),l;return a==null?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local),l=a+"",s===l?null:s===r&&l===n?o:(n=l,o=e(r=s,a)))}}function Lu(t,e){var i=Ji(t),r=i==="transform"?uu:ia;return this.attrTween(t,typeof e=="function"?(i.local?Fu:Au)(i,r,Tn(this,"attr."+t,e)):e==null?(i.local?Su:ku)(i):(i.local?Bu:wu)(i,r,e))}function Eu(t,e){return function(i){this.setAttribute(t,e.call(this,i))}}function Ou(t,e){return function(i){this.setAttributeNS(t.space,t.local,e.call(this,i))}}function Iu(t,e){var i,r;function n(){var o=e.apply(this,arguments);return o!==r&&(i=(r=o)&&Ou(t,o)),i}return n._value=e,n}function Mu(t,e){var i,r;function n(){var o=e.apply(this,arguments);return o!==r&&(i=(r=o)&&Eu(t,o)),i}return n._value=e,n}function Nu(t,e){var i="attr."+t;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(e==null)return this.tween(i,null);if(typeof e!="function")throw new Error;var r=Ji(t);return this.tween(i,(r.local?Iu:Mu)(r,e))}function Du(t,e){return function(){bn(this,t).delay=+e.apply(this,arguments)}}function $u(t,e){return e=+e,function(){bn(this,t).delay=e}}function Ru(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Du:$u)(e,t)):gt(this.node(),e).delay}function Pu(t,e){return function(){xt(this,t).duration=+e.apply(this,arguments)}}function qu(t,e){return e=+e,function(){xt(this,t).duration=e}}function zu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Pu:qu)(e,t)):gt(this.node(),e).duration}function Wu(t,e){if(typeof e!="function")throw new Error;return function(){xt(this,t).ease=e}}function Hu(t){var e=this._id;return arguments.length?this.each(Wu(e,t)):gt(this.node(),e).ease}function ju(t,e){return function(){var i=e.apply(this,arguments);if(typeof i!="function")throw new Error;xt(this,t).ease=i}}function Uu(t){if(typeof t!="function")throw new Error;return this.each(ju(this._id,t))}function Yu(t){typeof t!="function"&&(t=Ds(t));for(var e=this._groups,i=e.length,r=new Array(i),n=0;n<i;++n)for(var o=e[n],s=o.length,a=r[n]=[],l,h=0;h<s;++h)(l=o[h])&&t.call(l,l.__data__,h,o)&&a.push(l);return new Et(r,this._parents,this._name,this._id)}function Vu(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,i=t._groups,r=e.length,n=i.length,o=Math.min(r,n),s=new Array(r),a=0;a<o;++a)for(var l=e[a],h=i[a],u=l.length,f=s[a]=new Array(u),c,p=0;p<u;++p)(c=l[p]||h[p])&&(f[p]=c);for(;a<r;++a)s[a]=e[a];return new Et(s,this._parents,this._name,this._id)}function Gu(t){return(t+"").trim().split(/^|\s+/).every(function(e){var i=e.indexOf(".");return i>=0&&(e=e.slice(0,i)),!e||e==="start"})}function Xu(t,e,i){var r,n,o=Gu(e)?bn:xt;return function(){var s=o(this,t),a=s.on;a!==r&&(n=(r=a).copy()).on(e,i),s.on=n}}function Ku(t,e){var i=this._id;return arguments.length<2?gt(this.node(),i).on.on(t):this.each(Xu(i,t,e))}function Zu(t){return function(){var e=this.parentNode;for(var i in this.__transition)if(+i!==t)return;e&&e.removeChild(this)}}function Ju(){return this.on("end.remove",Zu(this._id))}function Qu(t){var e=this._name,i=this._id;typeof t!="function"&&(t=mn(t));for(var r=this._groups,n=r.length,o=new Array(n),s=0;s<n;++s)for(var a=r[s],l=a.length,h=o[s]=new Array(l),u,f,c=0;c<l;++c)(u=a[c])&&(f=t.call(u,u.__data__,c,a))&&("__data__"in u&&(f.__data__=u.__data__),h[c]=f,tr(h[c],e,i,c,h,gt(u,i)));return new Et(o,this._parents,e,i)}function tf(t){var e=this._name,i=this._id;typeof t!="function"&&(t=Ns(t));for(var r=this._groups,n=r.length,o=[],s=[],a=0;a<n;++a)for(var l=r[a],h=l.length,u,f=0;f<h;++f)if(u=l[f]){for(var c=t.call(u,u.__data__,f,l),p,y=gt(u,i),x=0,T=c.length;x<T;++x)(p=c[x])&&tr(p,e,i,x,c,y);o.push(c),s.push(u)}return new Et(o,s,e,i)}var ef=ii.prototype.constructor;function rf(){return new ef(this._groups,this._parents)}function nf(t,e){var i,r,n;return function(){var o=ge(this,t),s=(this.style.removeProperty(t),ge(this,t));return o===s?null:o===i&&s===r?n:n=e(i=o,r=s)}}function ra(t){return function(){this.style.removeProperty(t)}}function of(t,e,i){var r,n=i+"",o;return function(){var s=ge(this,t);return s===n?null:s===r?o:o=e(r=s,i)}}function sf(t,e,i){var r,n,o;return function(){var s=ge(this,t),a=i(this),l=a+"";return a==null&&(l=a=(this.style.removeProperty(t),ge(this,t))),s===l?null:s===r&&l===n?o:(n=l,o=e(r=s,a))}}function af(t,e){var i,r,n,o="style."+e,s="end."+o,a;return function(){var l=xt(this,t),h=l.on,u=l.value[o]==null?a||(a=ra(e)):void 0;(h!==i||n!==u)&&(r=(i=h).copy()).on(s,n=u),l.on=r}}function lf(t,e,i){var r=(t+="")=="transform"?cu:ia;return e==null?this.styleTween(t,nf(t,r)).on("end.style."+t,ra(t)):typeof e=="function"?this.styleTween(t,sf(t,r,Tn(this,"style."+t,e))).each(af(this._id,t)):this.styleTween(t,of(t,r,e),i).on("end.style."+t,null)}function hf(t,e,i){return function(r){this.style.setProperty(t,e.call(this,r),i)}}function cf(t,e,i){var r,n;function o(){var s=e.apply(this,arguments);return s!==n&&(r=(n=s)&&hf(t,s,i)),r}return o._value=e,o}function uf(t,e,i){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;return this.tween(r,cf(t,e,i??""))}function ff(t){return function(){this.textContent=t}}function df(t){return function(){var e=t(this);this.textContent=e??""}}function pf(t){return this.tween("text",typeof t=="function"?df(Tn(this,"text",t)):ff(t==null?"":t+""))}function gf(t){return function(e){this.textContent=t.call(this,e)}}function mf(t){var e,i;function r(){var n=t.apply(this,arguments);return n!==i&&(e=(i=n)&&gf(n)),e}return r._value=t,r}function _f(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,mf(t))}function yf(){for(var t=this._name,e=this._id,i=na(),r=this._groups,n=r.length,o=0;o<n;++o)for(var s=r[o],a=s.length,l,h=0;h<a;++h)if(l=s[h]){var u=gt(l,e);tr(l,t,i,h,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Et(r,this._parents,t,i)}function Cf(){var t,e,i=this,r=i._id,n=i.size();return new Promise(function(o,s){var a={value:s},l={value:function(){--n===0&&o()}};i.each(function(){var h=xt(this,r),u=h.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),h.on=e}),n===0&&o()})}var xf=0;function Et(t,e,i,r){this._groups=t,this._parents=e,this._name=i,this._id=r}function na(){return++xf}var St=ii.prototype;Et.prototype={constructor:Et,select:Qu,selectAll:tf,selectChild:St.selectChild,selectChildren:St.selectChildren,filter:Yu,merge:Vu,selection:rf,transition:yf,call:St.call,nodes:St.nodes,node:St.node,size:St.size,empty:St.empty,each:St.each,on:Ku,attr:Lu,attrTween:Nu,style:lf,styleTween:uf,text:pf,textTween:_f,remove:Ju,tween:vu,delay:Ru,duration:zu,ease:Hu,easeVarying:Uu,end:Cf,[Symbol.iterator]:St[Symbol.iterator]};function bf(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Tf={time:null,delay:0,duration:250,ease:bf};function vf(t,e){for(var i;!(i=t.__transition)||!(i=i[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return i}function kf(t){var e,i;t instanceof Et?(e=t._id,t=t._name):(e=na(),(i=Tf).time=xn(),t=t==null?null:t+"");for(var r=this._groups,n=r.length,o=0;o<n;++o)for(var s=r[o],a=s.length,l,h=0;h<a;++h)(l=s[h])&&tr(l,t,e,h,s,i||vf(l,e));return new Et(r,this._parents,t,e)}ii.prototype.interrupt=xu;ii.prototype.transition=kf;const yb=Math.abs,Cb=Math.atan2,xb=Math.cos,bb=Math.max,Tb=Math.min,vb=Math.sin,kb=Math.sqrt,Do=1e-12,vn=Math.PI,$o=vn/2,Sb=2*vn;function wb(t){return t>1?0:t<-1?vn:Math.acos(t)}function Bb(t){return t>=1?$o:t<=-1?-$o:Math.asin(t)}function oa(t){this._context=t}oa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Sf(t){return new oa(t)}class sa{constructor(e,i){this._context=e,this._x=i}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,i){switch(e=+e,i=+i,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,i,e,i):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+i)/2,e,this._y0,e,i);break}}this._x0=e,this._y0=i}}function wf(t){return new sa(t,!0)}function Bf(t){return new sa(t,!1)}function Dt(){}function Di(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function er(t){this._context=t}er.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:Di(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:Di(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Af(t){return new er(t)}function aa(t){this._context=t}aa.prototype={areaStart:Dt,areaEnd:Dt,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);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Di(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Ff(t){return new aa(t)}function la(t){this._context=t}la.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,r):this._context.moveTo(i,r);break;case 3:this._point=4;default:Di(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Lf(t){return new la(t)}function ha(t,e){this._basis=new er(t),this._beta=e}ha.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var r=t[0],n=e[0],o=t[i]-r,s=e[i]-n,a=-1,l;++a<=i;)l=a/i,this._basis.point(this._beta*t[a]+(1-this._beta)*(r+l*o),this._beta*e[a]+(1-this._beta)*(n+l*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const Ef=function t(e){function i(r){return e===1?new er(r):new ha(r,e)}return i.beta=function(r){return t(+r)},i}(.85);function $i(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function kn(t,e){this._context=t,this._k=(1-e)/6}kn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:$i(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:$i(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Of=function t(e){function i(r){return new kn(r,e)}return i.tension=function(r){return t(+r)},i}(0);function Sn(t,e){this._context=t,this._k=(1-e)/6}Sn.prototype={areaStart:Dt,areaEnd:Dt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:$i(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const If=function t(e){function i(r){return new Sn(r,e)}return i.tension=function(r){return t(+r)},i}(0);function wn(t,e){this._context=t,this._k=(1-e)/6}wn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:$i(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Mf=function t(e){function i(r){return new wn(r,e)}return i.tension=function(r){return t(+r)},i}(0);function Bn(t,e,i){var r=t._x1,n=t._y1,o=t._x2,s=t._y2;if(t._l01_a>Do){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>Do){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-e*t._l12_2a)/u,s=(s*h+t._y1*t._l23_2a-i*t._l12_2a)/u}t._context.bezierCurveTo(r,n,o,s,t._x2,t._y2)}function ca(t,e){this._context=t,this._alpha=e}ca.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Bn(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Nf=function t(e){function i(r){return e?new ca(r,e):new kn(r,0)}return i.alpha=function(r){return t(+r)},i}(.5);function ua(t,e){this._context=t,this._alpha=e}ua.prototype={areaStart:Dt,areaEnd:Dt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Bn(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Df=function t(e){function i(r){return e?new ua(r,e):new Sn(r,0)}return i.alpha=function(r){return t(+r)},i}(.5);function fa(t,e){this._context=t,this._alpha=e}fa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Bn(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const $f=function t(e){function i(r){return e?new fa(r,e):new wn(r,0)}return i.alpha=function(r){return t(+r)},i}(.5);function da(t){this._context=t}da.prototype={areaStart:Dt,areaEnd:Dt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Rf(t){return new da(t)}function Ro(t){return t<0?-1:1}function Po(t,e,i){var r=t._x1-t._x0,n=e-t._x1,o=(t._y1-t._y0)/(r||n<0&&-0),s=(i-t._y1)/(n||r<0&&-0),a=(o*n+s*r)/(r+n);return(Ro(o)+Ro(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function qo(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Mr(t,e,i){var r=t._x0,n=t._y0,o=t._x1,s=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,n+a*e,o-a,s-a*i,o,s)}function Ri(t){this._context=t}Ri.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:Mr(this,this._t0,qo(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Mr(this,qo(this,i=Po(this,t,e)),i);break;default:Mr(this,this._t0,i=Po(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}};function pa(t){this._context=new ga(t)}(pa.prototype=Object.create(Ri.prototype)).point=function(t,e){Ri.prototype.point.call(this,e,t)};function ga(t){this._context=t}ga.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,i,r,n,o){this._context.bezierCurveTo(e,t,r,i,o,n)}};function Pf(t){return new Ri(t)}function qf(t){return new pa(t)}function ma(t){this._context=t}ma.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,i=t.length;if(i)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),i===2)this._context.lineTo(t[1],e[1]);else for(var r=zo(t),n=zo(e),o=0,s=1;s<i;++o,++s)this._context.bezierCurveTo(r[0][o],n[0][o],r[1][o],n[1][o],t[s],e[s]);(this._line||this._line!==0&&i===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function zo(t){var e,i=t.length-1,r,n=new Array(i),o=new Array(i),s=new Array(i);for(n[0]=0,o[0]=2,s[0]=t[0]+2*t[1],e=1;e<i-1;++e)n[e]=1,o[e]=4,s[e]=4*t[e]+2*t[e+1];for(n[i-1]=2,o[i-1]=7,s[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)r=n[e]/o[e-1],o[e]-=r,s[e]-=r*s[e-1];for(n[i-1]=s[i-1]/o[i-1],e=i-2;e>=0;--e)n[e]=(s[e]-n[e+1])/o[e];for(o[i-1]=(t[i]+n[i-1])/2,e=0;e<i-1;++e)o[e]=2*t[e+1]-n[e+1];return[n,o]}function zf(t){return new ma(t)}function ir(t,e){this._context=t,this._t=e}ir.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&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}break}}this._x=t,this._y=e}};function Wf(t){return new ir(t,.5)}function Hf(t){return new ir(t,0)}function jf(t){return new ir(t,1)}function Re(t,e,i){this.k=t,this.x=e,this.y=i}Re.prototype={constructor:Re,scale:function(t){return t===1?this:new Re(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new Re(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};Re.prototype;/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */const{entries:_a,setPrototypeOf:Wo,isFrozen:Uf,getPrototypeOf:Yf,getOwnPropertyDescriptor:ya}=Object;let{freeze:Z,seal:dt,create:Ca}=Object,{apply:en,construct:rn}=typeof Reflect<"u"&&Reflect;Z||(Z=function(e){return e});dt||(dt=function(e){return e});en||(en=function(e,i,r){return e.apply(i,r)});rn||(rn=function(e,i){return new e(...i)});const mi=ht(Array.prototype.forEach),Ho=ht(Array.prototype.pop),Oe=ht(Array.prototype.push),ki=ht(String.prototype.toLowerCase),Nr=ht(String.prototype.toString),Vf=ht(String.prototype.match),Ie=ht(String.prototype.replace),Gf=ht(String.prototype.indexOf),Xf=ht(String.prototype.trim),nt=ht(RegExp.prototype.test),Me=Kf(TypeError);function ht(t){return function(e){for(var i=arguments.length,r=new Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return en(t,e,r)}}function Kf(t){return function(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];return rn(t,i)}}function F(t,e){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ki;Wo&&Wo(t,null);let r=e.length;for(;r--;){let n=e[r];if(typeof n=="string"){const o=i(n);o!==n&&(Uf(e)||(e[r]=o),n=o)}t[n]=!0}return t}function he(t){const e=Ca(null);for(const[i,r]of _a(t))ya(t,i)!==void 0&&(e[i]=r);return e}function _i(t,e){for(;t!==null;){const r=ya(t,e);if(r){if(r.get)return ht(r.get);if(typeof r.value=="function")return ht(r.value)}t=Yf(t)}function i(r){return console.warn("fallback value for",r),null}return i}const jo=Z(["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"]),Dr=Z(["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"]),$r=Z(["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"]),Zf=Z(["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"]),Rr=Z(["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"]),Jf=Z(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Uo=Z(["#text"]),Yo=Z(["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","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Pr=Z(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),Vo=Z(["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"]),yi=Z(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Qf=dt(/\{\{[\w\W]*|[\w\W]*\}\}/gm),td=dt(/<%[\w\W]*|[\w\W]*%>/gm),ed=dt(/\${[\w\W]*}/gm),id=dt(/^data-[\-\w.\u00B7-\uFFFF]/),rd=dt(/^aria-[\-\w]+$/),xa=dt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nd=dt(/^(?:\w+script|data):/i),od=dt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ba=dt(/^html$/i);var Go=Object.freeze({__proto__:null,MUSTACHE_EXPR:Qf,ERB_EXPR:td,TMPLIT_EXPR:ed,DATA_ATTR:id,ARIA_ATTR:rd,IS_ALLOWED_URI:xa,IS_SCRIPT_OR_DATA:nd,ATTR_WHITESPACE:od,DOCTYPE_NAME:ba});const sd=function(){return typeof window>"u"?null:window},ad=function(e,i){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";i&&i.hasAttribute(n)&&(r=i.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Ta(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sd();const e=v=>Ta(v);if(e.version="3.0.6",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;let{document:i}=t;const r=i,n=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:h,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:c,trustedTypes:p}=t,y=l.prototype,x=_i(y,"cloneNode"),T=_i(y,"nextSibling"),L=_i(y,"childNodes"),C=_i(y,"parentNode");if(typeof s=="function"){const v=i.createElement("template");v.content&&v.content.ownerDocument&&(i=v.content.ownerDocument)}let E,I="";const{implementation:z,createNodeIterator:J,createDocumentFragment:O,getElementsByTagName:ai}=i,{importNode:_r}=r;let st={};e.isSupported=typeof _a=="function"&&typeof C=="function"&&z&&z.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:we,ERB_EXPR:ee,TMPLIT_EXPR:Be,DATA_ATTR:yr,ARIA_ATTR:Cr,IS_SCRIPT_OR_DATA:Tt,ATTR_WHITESPACE:xr}=Go;let{IS_ALLOWED_URI:ie}=Go,M=null;const Kn=F({},[...jo,...Dr,...$r,...Rr,...Uo]);let W=null;const Zn=F({},[...Yo,...Pr,...Vo,...yi]);let R=Object.seal(Ca(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}})),Ae=null,br=null,Jn=!0,Tr=!0,Qn=!1,to=!0,re=!1,Pt=!1,vr=!1,kr=!1,ne=!1,li=!1,hi=!1,eo=!0,io=!1;const Ql="user-content-";let Sr=!0,Fe=!1,oe={},se=null;const ro=F({},["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 no=null;const oo=F({},["audio","video","img","source","image","track"]);let wr=null;const so=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ci="http://www.w3.org/1998/Math/MathML",ui="http://www.w3.org/2000/svg",vt="http://www.w3.org/1999/xhtml";let ae=vt,Br=!1,Ar=null;const th=F({},[ci,ui,vt],Nr);let qt=null;const eh=["application/xhtml+xml","text/html"],ih="text/html";let H=null,le=null;const rh=i.createElement("form"),ao=function(d){return d instanceof RegExp||d instanceof Function},Fr=function(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(le&&le===d)){if((!d||typeof d!="object")&&(d={}),d=he(d),qt=eh.indexOf(d.PARSER_MEDIA_TYPE)===-1?qt=ih:qt=d.PARSER_MEDIA_TYPE,H=qt==="application/xhtml+xml"?Nr:ki,M="ALLOWED_TAGS"in d?F({},d.ALLOWED_TAGS,H):Kn,W="ALLOWED_ATTR"in d?F({},d.ALLOWED_ATTR,H):Zn,Ar="ALLOWED_NAMESPACES"in d?F({},d.ALLOWED_NAMESPACES,Nr):th,wr="ADD_URI_SAFE_ATTR"in d?F(he(so),d.ADD_URI_SAFE_ATTR,H):so,no="ADD_DATA_URI_TAGS"in d?F(he(oo),d.ADD_DATA_URI_TAGS,H):oo,se="FORBID_CONTENTS"in d?F({},d.FORBID_CONTENTS,H):ro,Ae="FORBID_TAGS"in d?F({},d.FORBID_TAGS,H):{},br="FORBID_ATTR"in d?F({},d.FORBID_ATTR,H):{},oe="USE_PROFILES"in d?d.USE_PROFILES:!1,Jn=d.ALLOW_ARIA_ATTR!==!1,Tr=d.ALLOW_DATA_ATTR!==!1,Qn=d.ALLOW_UNKNOWN_PROTOCOLS||!1,to=d.ALLOW_SELF_CLOSE_IN_ATTR!==!1,re=d.SAFE_FOR_TEMPLATES||!1,Pt=d.WHOLE_DOCUMENT||!1,ne=d.RETURN_DOM||!1,li=d.RETURN_DOM_FRAGMENT||!1,hi=d.RETURN_TRUSTED_TYPE||!1,kr=d.FORCE_BODY||!1,eo=d.SANITIZE_DOM!==!1,io=d.SANITIZE_NAMED_PROPS||!1,Sr=d.KEEP_CONTENT!==!1,Fe=d.IN_PLACE||!1,ie=d.ALLOWED_URI_REGEXP||xa,ae=d.NAMESPACE||vt,R=d.CUSTOM_ELEMENT_HANDLING||{},d.CUSTOM_ELEMENT_HANDLING&&ao(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(R.tagNameCheck=d.CUSTOM_ELEMENT_HANDLING.tagNameCheck),d.CUSTOM_ELEMENT_HANDLING&&ao(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(R.attributeNameCheck=d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),d.CUSTOM_ELEMENT_HANDLING&&typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(R.allowCustomizedBuiltInElements=d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),re&&(Tr=!1),li&&(ne=!0),oe&&(M=F({},[...Uo]),W=[],oe.html===!0&&(F(M,jo),F(W,Yo)),oe.svg===!0&&(F(M,Dr),F(W,Pr),F(W,yi)),oe.svgFilters===!0&&(F(M,$r),F(W,Pr),F(W,yi)),oe.mathMl===!0&&(F(M,Rr),F(W,Vo),F(W,yi))),d.ADD_TAGS&&(M===Kn&&(M=he(M)),F(M,d.ADD_TAGS,H)),d.ADD_ATTR&&(W===Zn&&(W=he(W)),F(W,d.ADD_ATTR,H)),d.ADD_URI_SAFE_ATTR&&F(wr,d.ADD_URI_SAFE_ATTR,H),d.FORBID_CONTENTS&&(se===ro&&(se=he(se)),F(se,d.FORBID_CONTENTS,H)),Sr&&(M["#text"]=!0),Pt&&F(M,["html","head","body"]),M.table&&(F(M,["tbody"]),delete Ae.tbody),d.TRUSTED_TYPES_POLICY){if(typeof d.TRUSTED_TYPES_POLICY.createHTML!="function")throw Me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof d.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Me('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=d.TRUSTED_TYPES_POLICY,I=E.createHTML("")}else E===void 0&&(E=ad(p,n)),E!==null&&typeof I=="string"&&(I=E.createHTML(""));Z&&Z(d),le=d}},lo=F({},["mi","mo","mn","ms","mtext"]),ho=F({},["foreignobject","desc","title","annotation-xml"]),nh=F({},["title","style","font","a","script"]),fi=F({},Dr);F(fi,$r),F(fi,Zf);const Lr=F({},Rr);F(Lr,Jf);const oh=function(d){let m=C(d);(!m||!m.tagName)&&(m={namespaceURI:ae,tagName:"template"});const b=ki(d.tagName),N=ki(m.tagName);return Ar[d.namespaceURI]?d.namespaceURI===ui?m.namespaceURI===vt?b==="svg":m.namespaceURI===ci?b==="svg"&&(N==="annotation-xml"||lo[N]):!!fi[b]:d.namespaceURI===ci?m.namespaceURI===vt?b==="math":m.namespaceURI===ui?b==="math"&&ho[N]:!!Lr[b]:d.namespaceURI===vt?m.namespaceURI===ui&&!ho[N]||m.namespaceURI===ci&&!lo[N]?!1:!Lr[b]&&(nh[b]||!fi[b]):!!(qt==="application/xhtml+xml"&&Ar[d.namespaceURI]):!1},zt=function(d){Oe(e.removed,{element:d});try{d.parentNode.removeChild(d)}catch{d.remove()}},Er=function(d,m){try{Oe(e.removed,{attribute:m.getAttributeNode(d),from:m})}catch{Oe(e.removed,{attribute:null,from:m})}if(m.removeAttribute(d),d==="is"&&!W[d])if(ne||li)try{zt(m)}catch{}else try{m.setAttribute(d,"")}catch{}},co=function(d){let m=null,b=null;if(kr)d="<remove></remove>"+d;else{const U=Vf(d,/^[\r\n\t ]+/);b=U&&U[0]}qt==="application/xhtml+xml"&&ae===vt&&(d='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+d+"</body></html>");const N=E?E.createHTML(d):d;if(ae===vt)try{m=new c().parseFromString(N,qt)}catch{}if(!m||!m.documentElement){m=z.createDocument(ae,"template",null);try{m.documentElement.innerHTML=Br?I:N}catch{}}const j=m.body||m.documentElement;return d&&b&&j.insertBefore(i.createTextNode(b),j.childNodes[0]||null),ae===vt?ai.call(m,Pt?"html":"body")[0]:Pt?m.documentElement:j},uo=function(d){return J.call(d.ownerDocument||d,d,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT,null)},sh=function(d){return d instanceof f&&(typeof d.nodeName!="string"||typeof d.textContent!="string"||typeof d.removeChild!="function"||!(d.attributes instanceof u)||typeof d.removeAttribute!="function"||typeof d.setAttribute!="function"||typeof d.namespaceURI!="string"||typeof d.insertBefore!="function"||typeof d.hasChildNodes!="function")},fo=function(d){return typeof a=="function"&&d instanceof a},kt=function(d,m,b){st[d]&&mi(st[d],N=>{N.call(e,m,b,le)})},po=function(d){let m=null;if(kt("beforeSanitizeElements",d,null),sh(d))return zt(d),!0;const b=H(d.nodeName);if(kt("uponSanitizeElement",d,{tagName:b,allowedTags:M}),d.hasChildNodes()&&!fo(d.firstElementChild)&&nt(/<[/\w]/g,d.innerHTML)&&nt(/<[/\w]/g,d.textContent))return zt(d),!0;if(!M[b]||Ae[b]){if(!Ae[b]&&mo(b)&&(R.tagNameCheck instanceof RegExp&&nt(R.tagNameCheck,b)||R.tagNameCheck instanceof Function&&R.tagNameCheck(b)))return!1;if(Sr&&!se[b]){const N=C(d)||d.parentNode,j=L(d)||d.childNodes;if(j&&N){const U=j.length;for(let Q=U-1;Q>=0;--Q)N.insertBefore(x(j[Q],!0),T(d))}}return zt(d),!0}return d instanceof l&&!oh(d)||(b==="noscript"||b==="noembed"||b==="noframes")&&nt(/<\/no(script|embed|frames)/i,d.innerHTML)?(zt(d),!0):(re&&d.nodeType===3&&(m=d.textContent,mi([we,ee,Be],N=>{m=Ie(m,N," ")}),d.textContent!==m&&(Oe(e.removed,{element:d.cloneNode()}),d.textContent=m)),kt("afterSanitizeElements",d,null),!1)},go=function(d,m,b){if(eo&&(m==="id"||m==="name")&&(b in i||b in rh))return!1;if(!(Tr&&!br[m]&&nt(yr,m))){if(!(Jn&&nt(Cr,m))){if(!W[m]||br[m]){if(!(mo(d)&&(R.tagNameCheck instanceof RegExp&&nt(R.tagNameCheck,d)||R.tagNameCheck instanceof Function&&R.tagNameCheck(d))&&(R.attributeNameCheck instanceof RegExp&&nt(R.attributeNameCheck,m)||R.attributeNameCheck instanceof Function&&R.attributeNameCheck(m))||m==="is"&&R.allowCustomizedBuiltInElements&&(R.tagNameCheck instanceof RegExp&&nt(R.tagNameCheck,b)||R.tagNameCheck instanceof Function&&R.tagNameCheck(b))))return!1}else if(!wr[m]){if(!nt(ie,Ie(b,xr,""))){if(!((m==="src"||m==="xlink:href"||m==="href")&&d!=="script"&&Gf(b,"data:")===0&&no[d])){if(!(Qn&&!nt(Tt,Ie(b,xr,"")))){if(b)return!1}}}}}}return!0},mo=function(d){return d.indexOf("-")>0},_o=function(d){kt("beforeSanitizeAttributes",d,null);const{attributes:m}=d;if(!m)return;const b={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W};let N=m.length;for(;N--;){const j=m[N],{name:U,namespaceURI:Q,value:Wt}=j,Le=H(U);let tt=U==="value"?Wt:Xf(Wt);if(b.attrName=Le,b.attrValue=tt,b.keepAttr=!0,b.forceKeepAttr=void 0,kt("uponSanitizeAttribute",d,b),tt=b.attrValue,b.forceKeepAttr||(Er(U,d),!b.keepAttr))continue;if(!to&&nt(/\/>/i,tt)){Er(U,d);continue}re&&mi([we,ee,Be],Co=>{tt=Ie(tt,Co," ")});const yo=H(d.nodeName);if(go(yo,Le,tt)){if(io&&(Le==="id"||Le==="name")&&(Er(U,d),tt=Ql+tt),E&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!Q)switch(p.getAttributeType(yo,Le)){case"TrustedHTML":{tt=E.createHTML(tt);break}case"TrustedScriptURL":{tt=E.createScriptURL(tt);break}}try{Q?d.setAttributeNS(Q,U,tt):d.setAttribute(U,tt),Ho(e.removed)}catch{}}}kt("afterSanitizeAttributes",d,null)},ah=function v(d){let m=null;const b=uo(d);for(kt("beforeSanitizeShadowDOM",d,null);m=b.nextNode();)kt("uponSanitizeShadowNode",m,null),!po(m)&&(m.content instanceof o&&v(m.content),_o(m));kt("afterSanitizeShadowDOM",d,null)};return e.sanitize=function(v){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=null,b=null,N=null,j=null;if(Br=!v,Br&&(v="<!-->"),typeof v!="string"&&!fo(v))if(typeof v.toString=="function"){if(v=v.toString(),typeof v!="string")throw Me("dirty is not a string, aborting")}else throw Me("toString is not a function");if(!e.isSupported)return v;if(vr||Fr(d),e.removed=[],typeof v=="string"&&(Fe=!1),Fe){if(v.nodeName){const Wt=H(v.nodeName);if(!M[Wt]||Ae[Wt])throw Me("root node is forbidden and cannot be sanitized in-place")}}else if(v instanceof a)m=co("<!---->"),b=m.ownerDocument.importNode(v,!0),b.nodeType===1&&b.nodeName==="BODY"||b.nodeName==="HTML"?m=b:m.appendChild(b);else{if(!ne&&!re&&!Pt&&v.indexOf("<")===-1)return E&&hi?E.createHTML(v):v;if(m=co(v),!m)return ne?null:hi?I:""}m&&kr&&zt(m.firstChild);const U=uo(Fe?v:m);for(;N=U.nextNode();)po(N)||(N.content instanceof o&&ah(N.content),_o(N));if(Fe)return v;if(ne){if(li)for(j=O.call(m.ownerDocument);m.firstChild;)j.appendChild(m.firstChild);else j=m;return(W.shadowroot||W.shadowrootmode)&&(j=_r.call(r,j,!0)),j}let Q=Pt?m.outerHTML:m.innerHTML;return Pt&&M["!doctype"]&&m.ownerDocument&&m.ownerDocument.doctype&&m.ownerDocument.doctype.name&&nt(ba,m.ownerDocument.doctype.name)&&(Q="<!DOCTYPE "+m.ownerDocument.doctype.name+`> +`+Q),re&&mi([we,ee,Be],Wt=>{Q=Ie(Q,Wt," ")}),E&&hi?E.createHTML(Q):Q},e.setConfig=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Fr(v),vr=!0},e.clearConfig=function(){le=null,vr=!1},e.isValidAttribute=function(v,d,m){le||Fr({});const b=H(v),N=H(d);return go(b,N,m)},e.addHook=function(v,d){typeof d=="function"&&(st[v]=st[v]||[],Oe(st[v],d))},e.removeHook=function(v){if(st[v])return Ho(st[v])},e.removeHooks=function(v){st[v]&&(st[v]=[])},e.removeAllHooks=function(){st={}},e}var _e=Ta();const Si={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,i)=>(i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t),hsl2rgb:({h:t,s:e,l:i},r)=>{if(!e)return i*2.55;t/=360,e/=100,i/=100;const n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;switch(r){case"r":return Si.hue2rgb(o,n,t+1/3)*255;case"g":return Si.hue2rgb(o,n,t)*255;case"b":return Si.hue2rgb(o,n,t-1/3)*255}},rgb2hsl:({r:t,g:e,b:i},r)=>{t/=255,e/=255,i/=255;const n=Math.max(t,e,i),o=Math.min(t,e,i),s=(n+o)/2;if(r==="l")return s*100;if(n===o)return 0;const a=n-o,l=s>.5?a/(2-n-o):a/(n+o);if(r==="s")return l*100;switch(n){case t:return((e-i)/a+(e<i?6:0))*60;case e:return((i-t)/a+2)*60;case i:return((t-e)/a+4)*60;default:return-1}}},ld={clamp:(t,e,i)=>e>i?Math.min(e,Math.max(i,t)):Math.min(i,Math.max(e,t)),round:t=>Math.round(t*1e10)/1e10},hd=ld,cd={dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}},ud=cd,A={channel:Si,lang:hd,unit:ud},It={};for(let t=0;t<=255;t++)It[t]=A.unit.dec2hex(t);const Y={ALL:0,RGB:1,HSL:2};class fd{constructor(){this.type=Y.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=Y.ALL}is(e){return this.type===e}}class dd{constructor(e,i){this.color=i,this.changed=!1,this.data=e,this.type=new fd}set(e,i){return this.color=i,this.changed=!1,this.data=e,this.type.type=Y.ALL,this}_ensureHSL(){const e=this.data,{h:i,s:r,l:n}=e;i===void 0&&(e.h=A.channel.rgb2hsl(e,"h")),r===void 0&&(e.s=A.channel.rgb2hsl(e,"s")),n===void 0&&(e.l=A.channel.rgb2hsl(e,"l"))}_ensureRGB(){const e=this.data,{r:i,g:r,b:n}=e;i===void 0&&(e.r=A.channel.hsl2rgb(e,"r")),r===void 0&&(e.g=A.channel.hsl2rgb(e,"g")),n===void 0&&(e.b=A.channel.hsl2rgb(e,"b"))}get r(){const e=this.data,i=e.r;return!this.type.is(Y.HSL)&&i!==void 0?i:(this._ensureHSL(),A.channel.hsl2rgb(e,"r"))}get g(){const e=this.data,i=e.g;return!this.type.is(Y.HSL)&&i!==void 0?i:(this._ensureHSL(),A.channel.hsl2rgb(e,"g"))}get b(){const e=this.data,i=e.b;return!this.type.is(Y.HSL)&&i!==void 0?i:(this._ensureHSL(),A.channel.hsl2rgb(e,"b"))}get h(){const e=this.data,i=e.h;return!this.type.is(Y.RGB)&&i!==void 0?i:(this._ensureRGB(),A.channel.rgb2hsl(e,"h"))}get s(){const e=this.data,i=e.s;return!this.type.is(Y.RGB)&&i!==void 0?i:(this._ensureRGB(),A.channel.rgb2hsl(e,"s"))}get l(){const e=this.data,i=e.l;return!this.type.is(Y.RGB)&&i!==void 0?i:(this._ensureRGB(),A.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(Y.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(Y.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(Y.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(Y.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(Y.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(Y.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}const pd=dd,rr=new pd({r:0,g:0,b:0,a:0},"transparent"),pe={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;const e=t.match(pe.re);if(!e)return;const i=e[1],r=parseInt(i,16),n=i.length,o=n%4===0,s=n>4,a=s?1:17,l=s?8:4,h=o?0:-1,u=s?255:15;return rr.set({r:(r>>l*(h+3)&u)*a,g:(r>>l*(h+2)&u)*a,b:(r>>l*(h+1)&u)*a,a:o?(r&u)*a/255:1},t)},stringify:t=>{const{r:e,g:i,b:r,a:n}=t;return n<1?`#${It[Math.round(e)]}${It[Math.round(i)]}${It[Math.round(r)]}${It[Math.round(n*255)]}`:`#${It[Math.round(e)]}${It[Math.round(i)]}${It[Math.round(r)]}`}},Ut={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(Ut.hueRe);if(e){const[,i,r]=e;switch(r){case"grad":return A.channel.clamp.h(parseFloat(i)*.9);case"rad":return A.channel.clamp.h(parseFloat(i)*180/Math.PI);case"turn":return A.channel.clamp.h(parseFloat(i)*360)}}return A.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(e!==104&&e!==72)return;const i=t.match(Ut.re);if(!i)return;const[,r,n,o,s,a]=i;return rr.set({h:Ut._hue2deg(r),s:A.channel.clamp.s(parseFloat(n)),l:A.channel.clamp.l(parseFloat(o)),a:s?A.channel.clamp.a(a?parseFloat(s)/100:parseFloat(s)):1},t)},stringify:t=>{const{h:e,s:i,l:r,a:n}=t;return n<1?`hsla(${A.lang.round(e)}, ${A.lang.round(i)}%, ${A.lang.round(r)}%, ${n})`:`hsl(${A.lang.round(e)}, ${A.lang.round(i)}%, ${A.lang.round(r)}%)`}},qe={colors:{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",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#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",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",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",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",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",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=qe.colors[t];if(e)return pe.parse(e)},stringify:t=>{const e=pe.stringify(t);for(const i in qe.colors)if(qe.colors[i]===e)return i}},Pe={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(e!==114&&e!==82)return;const i=t.match(Pe.re);if(!i)return;const[,r,n,o,s,a,l,h,u]=i;return rr.set({r:A.channel.clamp.r(n?parseFloat(r)*2.55:parseFloat(r)),g:A.channel.clamp.g(s?parseFloat(o)*2.55:parseFloat(o)),b:A.channel.clamp.b(l?parseFloat(a)*2.55:parseFloat(a)),a:h?A.channel.clamp.a(u?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{const{r:e,g:i,b:r,a:n}=t;return n<1?`rgba(${A.lang.round(e)}, ${A.lang.round(i)}, ${A.lang.round(r)}, ${A.lang.round(n)})`:`rgb(${A.lang.round(e)}, ${A.lang.round(i)}, ${A.lang.round(r)})`}},yt={format:{keyword:qe,hex:pe,rgb:Pe,rgba:Pe,hsl:Ut,hsla:Ut},parse:t=>{if(typeof t!="string")return t;const e=pe.parse(t)||Pe.parse(t)||Ut.parse(t)||qe.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(Y.HSL)||t.data.r===void 0?Ut.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?Pe.stringify(t):pe.stringify(t)},va=(t,e)=>{const i=yt.parse(t);for(const r in e)i[r]=A.channel.clamp[r](e[r]);return yt.stringify(i)},ze=(t,e,i=0,r=1)=>{if(typeof t!="number")return va(t,{a:e});const n=rr.set({r:A.channel.clamp.r(t),g:A.channel.clamp.g(e),b:A.channel.clamp.b(i),a:A.channel.clamp.a(r)});return yt.stringify(n)},gd=t=>{const{r:e,g:i,b:r}=yt.parse(t),n=.2126*A.channel.toLinear(e)+.7152*A.channel.toLinear(i)+.0722*A.channel.toLinear(r);return A.lang.round(n)},md=t=>gd(t)>=.5,_d=md,ni=t=>!_d(t),ka=(t,e,i)=>{const r=yt.parse(t),n=r[e],o=A.channel.clamp[e](n+i);return n!==o&&(r[e]=o),yt.stringify(r)},k=(t,e)=>ka(t,"l",e),B=(t,e)=>ka(t,"l",-e),g=(t,e)=>{const i=yt.parse(t),r={};for(const n in e)e[n]&&(r[n]=i[n]+e[n]);return va(t,r)},yd=(t,e,i=50)=>{const{r,g:n,b:o,a:s}=yt.parse(t),{r:a,g:l,b:h,a:u}=yt.parse(e),f=i/100,c=f*2-1,p=s-u,x=((c*p===-1?c:(c+p)/(1+c*p))+1)/2,T=1-x,L=r*x+a*T,C=n*x+l*T,E=o*x+h*T,I=s*f+u*(1-f);return ze(L,C,E,I)},_=(t,e=100)=>{const i=yt.parse(t);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,yd(i,t,e)};var Sa=typeof global=="object"&&global&&global.Object===Object&&global,Cd=typeof self=="object"&&self&&self.Object===Object&&self,bt=Sa||Cd||Function("return this")(),Pi=bt.Symbol,wa=Object.prototype,xd=wa.hasOwnProperty,bd=wa.toString,Ne=Pi?Pi.toStringTag:void 0;function Td(t){var e=xd.call(t,Ne),i=t[Ne];try{t[Ne]=void 0;var r=!0}catch{}var n=bd.call(t);return r&&(e?t[Ne]=i:delete t[Ne]),n}var vd=Object.prototype,kd=vd.toString;function Sd(t){return kd.call(t)}var wd="[object Null]",Bd="[object Undefined]",Xo=Pi?Pi.toStringTag:void 0;function ve(t){return t==null?t===void 0?Bd:wd:Xo&&Xo in Object(t)?Td(t):Sd(t)}function Jt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ad="[object AsyncFunction]",Fd="[object Function]",Ld="[object GeneratorFunction]",Ed="[object Proxy]";function An(t){if(!Jt(t))return!1;var e=ve(t);return e==Fd||e==Ld||e==Ad||e==Ed}var qr=bt["__core-js_shared__"],Ko=function(){var t=/[^.]+$/.exec(qr&&qr.keys&&qr.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Od(t){return!!Ko&&Ko in t}var Id=Function.prototype,Md=Id.toString;function Qt(t){if(t!=null){try{return Md.call(t)}catch{}try{return t+""}catch{}}return""}var Nd=/[\\^$.*+?()[\]{}|]/g,Dd=/^\[object .+?Constructor\]$/,$d=Function.prototype,Rd=Object.prototype,Pd=$d.toString,qd=Rd.hasOwnProperty,zd=RegExp("^"+Pd.call(qd).replace(Nd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Wd(t){if(!Jt(t)||Od(t))return!1;var e=An(t)?zd:Dd;return e.test(Qt(t))}function Hd(t,e){return t?.[e]}function te(t,e){var i=Hd(t,e);return Wd(i)?i:void 0}var Ke=te(Object,"create");function jd(){this.__data__=Ke?Ke(null):{},this.size=0}function Ud(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Yd="__lodash_hash_undefined__",Vd=Object.prototype,Gd=Vd.hasOwnProperty;function Xd(t){var e=this.__data__;if(Ke){var i=e[t];return i===Yd?void 0:i}return Gd.call(e,t)?e[t]:void 0}var Kd=Object.prototype,Zd=Kd.hasOwnProperty;function Jd(t){var e=this.__data__;return Ke?e[t]!==void 0:Zd.call(e,t)}var Qd="__lodash_hash_undefined__";function tp(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Ke&&e===void 0?Qd:e,this}function Kt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}Kt.prototype.clear=jd;Kt.prototype.delete=Ud;Kt.prototype.get=Xd;Kt.prototype.has=Jd;Kt.prototype.set=tp;function ep(){this.__data__=[],this.size=0}function nr(t,e){return t===e||t!==t&&e!==e}function or(t,e){for(var i=t.length;i--;)if(nr(t[i][0],e))return i;return-1}var ip=Array.prototype,rp=ip.splice;function np(t){var e=this.__data__,i=or(e,t);if(i<0)return!1;var r=e.length-1;return i==r?e.pop():rp.call(e,i,1),--this.size,!0}function op(t){var e=this.__data__,i=or(e,t);return i<0?void 0:e[i][1]}function sp(t){return or(this.__data__,t)>-1}function ap(t,e){var i=this.__data__,r=or(i,t);return r<0?(++this.size,i.push([t,e])):i[r][1]=e,this}function Ot(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}Ot.prototype.clear=ep;Ot.prototype.delete=np;Ot.prototype.get=op;Ot.prototype.has=sp;Ot.prototype.set=ap;var Ze=te(bt,"Map");function lp(){this.size=0,this.__data__={hash:new Kt,map:new(Ze||Ot),string:new Kt}}function hp(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function sr(t,e){var i=t.__data__;return hp(e)?i[typeof e=="string"?"string":"hash"]:i.map}function cp(t){var e=sr(this,t).delete(t);return this.size-=e?1:0,e}function up(t){return sr(this,t).get(t)}function fp(t){return sr(this,t).has(t)}function dp(t,e){var i=sr(this,t),r=i.size;return i.set(t,e),this.size+=i.size==r?0:1,this}function Rt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}Rt.prototype.clear=lp;Rt.prototype.delete=cp;Rt.prototype.get=up;Rt.prototype.has=fp;Rt.prototype.set=dp;var pp="Expected a function";function oi(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(pp);var i=function(){var r=arguments,n=e?e.apply(this,r):r[0],o=i.cache;if(o.has(n))return o.get(n);var s=t.apply(this,r);return i.cache=o.set(n,s)||o,s};return i.cache=new(oi.Cache||Rt),i}oi.Cache=Rt;function gp(){this.__data__=new Ot,this.size=0}function mp(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}function _p(t){return this.__data__.get(t)}function yp(t){return this.__data__.has(t)}var Cp=200;function xp(t,e){var i=this.__data__;if(i instanceof Ot){var r=i.__data__;if(!Ze||r.length<Cp-1)return r.push([t,e]),this.size=++i.size,this;i=this.__data__=new Rt(r)}return i.set(t,e),this.size=i.size,this}function ke(t){var e=this.__data__=new Ot(t);this.size=e.size}ke.prototype.clear=gp;ke.prototype.delete=mp;ke.prototype.get=_p;ke.prototype.has=yp;ke.prototype.set=xp;var qi=function(){try{var t=te(Object,"defineProperty");return t({},"",{}),t}catch{}}();function Fn(t,e,i){e=="__proto__"&&qi?qi(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}function nn(t,e,i){(i!==void 0&&!nr(t[e],i)||i===void 0&&!(e in t))&&Fn(t,e,i)}function bp(t){return function(e,i,r){for(var n=-1,o=Object(e),s=r(e),a=s.length;a--;){var l=s[t?a:++n];if(i(o[l],l,o)===!1)break}return e}}var Tp=bp(),Ba=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Zo=Ba&&typeof module=="object"&&module&&!module.nodeType&&module,vp=Zo&&Zo.exports===Ba,Jo=vp?bt.Buffer:void 0,Qo=Jo?Jo.allocUnsafe:void 0;function kp(t,e){if(e)return t.slice();var i=t.length,r=Qo?Qo(i):new t.constructor(i);return t.copy(r),r}var ts=bt.Uint8Array;function Sp(t){var e=new t.constructor(t.byteLength);return new ts(e).set(new ts(t)),e}function wp(t,e){var i=e?Sp(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}function Bp(t,e){var i=-1,r=t.length;for(e||(e=Array(r));++i<r;)e[i]=t[i];return e}var es=Object.create,Ap=function(){function t(){}return function(e){if(!Jt(e))return{};if(es)return es(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();function Aa(t,e){return function(i){return t(e(i))}}var Fp=Aa(Object.getPrototypeOf,Object);const Fa=Fp;var Lp=Object.prototype;function ar(t){var e=t&&t.constructor,i=typeof e=="function"&&e.prototype||Lp;return t===i}function Ep(t){return typeof t.constructor=="function"&&!ar(t)?Ap(Fa(t)):{}}function si(t){return t!=null&&typeof t=="object"}var Op="[object Arguments]";function is(t){return si(t)&&ve(t)==Op}var La=Object.prototype,Ip=La.hasOwnProperty,Mp=La.propertyIsEnumerable,Np=is(function(){return arguments}())?is:function(t){return si(t)&&Ip.call(t,"callee")&&!Mp.call(t,"callee")};const zi=Np;var Wi=Array.isArray,Dp=9007199254740991;function Ea(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Dp}function lr(t){return t!=null&&Ea(t.length)&&!An(t)}function $p(t){return si(t)&&lr(t)}function Rp(){return!1}var Oa=typeof exports=="object"&&exports&&!exports.nodeType&&exports,rs=Oa&&typeof module=="object"&&module&&!module.nodeType&&module,Pp=rs&&rs.exports===Oa,ns=Pp?bt.Buffer:void 0,qp=ns?ns.isBuffer:void 0,zp=qp||Rp;const Ln=zp;var Wp="[object Object]",Hp=Function.prototype,jp=Object.prototype,Ia=Hp.toString,Up=jp.hasOwnProperty,Yp=Ia.call(Object);function Vp(t){if(!si(t)||ve(t)!=Wp)return!1;var e=Fa(t);if(e===null)return!0;var i=Up.call(e,"constructor")&&e.constructor;return typeof i=="function"&&i instanceof i&&Ia.call(i)==Yp}var Gp="[object Arguments]",Xp="[object Array]",Kp="[object Boolean]",Zp="[object Date]",Jp="[object Error]",Qp="[object Function]",tg="[object Map]",eg="[object Number]",ig="[object Object]",rg="[object RegExp]",ng="[object Set]",og="[object String]",sg="[object WeakMap]",ag="[object ArrayBuffer]",lg="[object DataView]",hg="[object Float32Array]",cg="[object Float64Array]",ug="[object Int8Array]",fg="[object Int16Array]",dg="[object Int32Array]",pg="[object Uint8Array]",gg="[object Uint8ClampedArray]",mg="[object Uint16Array]",_g="[object Uint32Array]",D={};D[hg]=D[cg]=D[ug]=D[fg]=D[dg]=D[pg]=D[gg]=D[mg]=D[_g]=!0;D[Gp]=D[Xp]=D[ag]=D[Kp]=D[lg]=D[Zp]=D[Jp]=D[Qp]=D[tg]=D[eg]=D[ig]=D[rg]=D[ng]=D[og]=D[sg]=!1;function yg(t){return si(t)&&Ea(t.length)&&!!D[ve(t)]}function Cg(t){return function(e){return t(e)}}var Ma=typeof exports=="object"&&exports&&!exports.nodeType&&exports,We=Ma&&typeof module=="object"&&module&&!module.nodeType&&module,xg=We&&We.exports===Ma,zr=xg&&Sa.process,os=function(){try{var t=We&&We.require&&We.require("util").types;return t||zr&&zr.binding&&zr.binding("util")}catch{}}(),ss=os&&os.isTypedArray,bg=ss?Cg(ss):yg;const En=bg;function on(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var Tg=Object.prototype,vg=Tg.hasOwnProperty;function kg(t,e,i){var r=t[e];(!(vg.call(t,e)&&nr(r,i))||i===void 0&&!(e in t))&&Fn(t,e,i)}function Sg(t,e,i,r){var n=!i;i||(i={});for(var o=-1,s=e.length;++o<s;){var a=e[o],l=r?r(i[a],t[a],a,i,t):void 0;l===void 0&&(l=t[a]),n?Fn(i,a,l):kg(i,a,l)}return i}function wg(t,e){for(var i=-1,r=Array(t);++i<t;)r[i]=e(i);return r}var Bg=9007199254740991,Ag=/^(?:0|[1-9]\d*)$/;function Na(t,e){var i=typeof t;return e=e??Bg,!!e&&(i=="number"||i!="symbol"&&Ag.test(t))&&t>-1&&t%1==0&&t<e}var Fg=Object.prototype,Lg=Fg.hasOwnProperty;function Eg(t,e){var i=Wi(t),r=!i&&zi(t),n=!i&&!r&&Ln(t),o=!i&&!r&&!n&&En(t),s=i||r||n||o,a=s?wg(t.length,String):[],l=a.length;for(var h in t)(e||Lg.call(t,h))&&!(s&&(h=="length"||n&&(h=="offset"||h=="parent")||o&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||Na(h,l)))&&a.push(h);return a}function Og(t){var e=[];if(t!=null)for(var i in Object(t))e.push(i);return e}var Ig=Object.prototype,Mg=Ig.hasOwnProperty;function Ng(t){if(!Jt(t))return Og(t);var e=ar(t),i=[];for(var r in t)r=="constructor"&&(e||!Mg.call(t,r))||i.push(r);return i}function Da(t){return lr(t)?Eg(t,!0):Ng(t)}function Dg(t){return Sg(t,Da(t))}function $g(t,e,i,r,n,o,s){var a=on(t,i),l=on(e,i),h=s.get(l);if(h){nn(t,i,h);return}var u=o?o(a,l,i+"",t,e,s):void 0,f=u===void 0;if(f){var c=Wi(l),p=!c&&Ln(l),y=!c&&!p&&En(l);u=l,c||p||y?Wi(a)?u=a:$p(a)?u=Bp(a):p?(f=!1,u=kp(l,!0)):y?(f=!1,u=wp(l,!0)):u=[]:Vp(l)||zi(l)?(u=a,zi(a)?u=Dg(a):(!Jt(a)||An(a))&&(u=Ep(l))):f=!1}f&&(s.set(l,u),n(u,l,r,o,s),s.delete(l)),nn(t,i,u)}function $a(t,e,i,r,n){t!==e&&Tp(e,function(o,s){if(n||(n=new ke),Jt(o))$g(t,e,s,i,$a,r,n);else{var a=r?r(on(t,s),o,s+"",t,e,n):void 0;a===void 0&&(a=o),nn(t,s,a)}},Da)}function Ra(t){return t}function Rg(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}var as=Math.max;function Pg(t,e,i){return e=as(e===void 0?t.length-1:e,0),function(){for(var r=arguments,n=-1,o=as(r.length-e,0),s=Array(o);++n<o;)s[n]=r[e+n];n=-1;for(var a=Array(e+1);++n<e;)a[n]=r[n];return a[e]=i(s),Rg(t,this,a)}}function qg(t){return function(){return t}}var zg=qi?function(t,e){return qi(t,"toString",{configurable:!0,enumerable:!1,value:qg(e),writable:!0})}:Ra;const Wg=zg;var Hg=800,jg=16,Ug=Date.now;function Yg(t){var e=0,i=0;return function(){var r=Ug(),n=jg-(r-i);if(i=r,n>0){if(++e>=Hg)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Vg=Yg(Wg);function Gg(t,e){return Vg(Pg(t,e,Ra),t+"")}function Xg(t,e,i){if(!Jt(i))return!1;var r=typeof e;return(r=="number"?lr(i)&&Na(e,i.length):r=="string"&&e in i)?nr(i[e],t):!1}function Kg(t){return Gg(function(e,i){var r=-1,n=i.length,o=n>1?i[n-1]:void 0,s=n>2?i[2]:void 0;for(o=t.length>3&&typeof o=="function"?(n--,o):void 0,s&&Xg(i[0],i[1],s)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var a=i[r];a&&t(e,a,r,o)}return e})}var Zg=Kg(function(t,e,i){$a(t,e,i)}),Pa="comm",qa="rule",za="decl",Jg="@import",Qg="@keyframes",tm="@layer",em=Math.abs,On=String.fromCharCode;function Wa(t){return t.trim()}function wi(t,e,i){return t.replace(e,i)}function im(t,e){return t.indexOf(e)}function Je(t,e){return t.charCodeAt(e)|0}function Qe(t,e,i){return t.slice(e,i)}function At(t){return t.length}function rm(t){return t.length}function Ci(t,e){return e.push(t),t}var hr=1,ye=1,Ha=0,ct=0,P=0,Se="";function In(t,e,i,r,n,o,s,a){return{value:t,root:e,parent:i,type:r,props:n,children:o,line:hr,column:ye,length:s,return:"",siblings:a}}function nm(){return P}function om(){return P=ct>0?Je(Se,--ct):0,ye--,P===10&&(ye=1,hr--),P}function ft(){return P=ct<Ha?Je(Se,ct++):0,ye++,P===10&&(ye=1,hr++),P}function Vt(){return Je(Se,ct)}function Bi(){return ct}function cr(t,e){return Qe(Se,t,e)}function sn(t){switch(t){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 sm(t){return hr=ye=1,Ha=At(Se=t),ct=0,[]}function am(t){return Se="",t}function Wr(t){return Wa(cr(ct-1,an(t===91?t+2:t===40?t+1:t)))}function lm(t){for(;(P=Vt())&&P<33;)ft();return sn(t)>2||sn(P)>3?"":" "}function hm(t,e){for(;--e&&ft()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return cr(t,Bi()+(e<6&&Vt()==32&&ft()==32))}function an(t){for(;ft();)switch(P){case t:return ct;case 34:case 39:t!==34&&t!==39&&an(P);break;case 40:t===41&&an(t);break;case 92:ft();break}return ct}function cm(t,e){for(;ft()&&t+P!==57;)if(t+P===84&&Vt()===47)break;return"/*"+cr(e,ct-1)+"*"+On(t===47?t:ft())}function um(t){for(;!sn(Vt());)ft();return cr(t,ct)}function fm(t){return am(Ai("",null,null,null,[""],t=sm(t),0,[0],t))}function Ai(t,e,i,r,n,o,s,a,l){for(var h=0,u=0,f=s,c=0,p=0,y=0,x=1,T=1,L=1,C=0,E="",I=n,z=o,J=r,O=E;T;)switch(y=C,C=ft()){case 40:if(y!=108&&Je(O,f-1)==58){im(O+=wi(Wr(C),"&","&\f"),"&\f")!=-1&&(L=-1);break}case 34:case 39:case 91:O+=Wr(C);break;case 9:case 10:case 13:case 32:O+=lm(y);break;case 92:O+=hm(Bi()-1,7);continue;case 47:switch(Vt()){case 42:case 47:Ci(dm(cm(ft(),Bi()),e,i,l),l);break;default:O+="/"}break;case 123*x:a[h++]=At(O)*L;case 125*x:case 59:case 0:switch(C){case 0:case 125:T=0;case 59+u:L==-1&&(O=wi(O,/\f/g,"")),p>0&&At(O)-f&&Ci(p>32?hs(O+";",r,i,f-1,l):hs(wi(O," ","")+";",r,i,f-2,l),l);break;case 59:O+=";";default:if(Ci(J=ls(O,e,i,h,u,n,a,E,I=[],z=[],f,o),o),C===123)if(u===0)Ai(O,e,J,J,I,o,f,a,z);else switch(c===99&&Je(O,3)===110?100:c){case 100:case 108:case 109:case 115:Ai(t,J,J,r&&Ci(ls(t,J,J,0,0,n,a,E,n,I=[],f,z),z),n,z,f,a,r?I:z);break;default:Ai(O,J,J,J,[""],z,0,a,z)}}h=u=p=0,x=L=1,E=O="",f=s;break;case 58:f=1+At(O),p=y;default:if(x<1){if(C==123)--x;else if(C==125&&x++==0&&om()==125)continue}switch(O+=On(C),C*x){case 38:L=u>0?1:(O+="\f",-1);break;case 44:a[h++]=(At(O)-1)*L,L=1;break;case 64:Vt()===45&&(O+=Wr(ft())),c=Vt(),u=f=At(E=O+=um(Bi())),C++;break;case 45:y===45&&At(O)==2&&(x=0)}}return o}function ls(t,e,i,r,n,o,s,a,l,h,u,f){for(var c=n-1,p=n===0?o:[""],y=rm(p),x=0,T=0,L=0;x<r;++x)for(var C=0,E=Qe(t,c+1,c=em(T=s[x])),I=t;C<y;++C)(I=Wa(T>0?p[C]+" "+E:wi(E,/&\f/g,p[C])))&&(l[L++]=I);return In(t,e,i,n===0?qa:a,l,h,u,f)}function dm(t,e,i,r){return In(t,e,i,Pa,On(nm()),Qe(t,2,-2),0,r)}function hs(t,e,i,r,n){return In(t,e,i,za,Qe(t,0,r),Qe(t,r+1,-1),r,n)}function ln(t,e){for(var i="",r=0;r<t.length;r++)i+=e(t[r],r,t,e)||"";return i}function pm(t,e,i,r){switch(t.type){case tm:if(t.children.length)break;case Jg:case za:return t.return=t.return||t.value;case Pa:return"";case Qg:return t.return=t.value+"{"+ln(t.children,r)+"}";case qa:if(!At(t.value=t.props.join(",")))return""}return At(i=ln(t.children,r))?t.return=t.value+"{"+i+"}":""}var gm=Aa(Object.keys,Object),mm=Object.prototype,_m=mm.hasOwnProperty;function ym(t){if(!ar(t))return gm(t);var e=[];for(var i in Object(t))_m.call(t,i)&&i!="constructor"&&e.push(i);return e}var hn=te(bt,"DataView"),cn=te(bt,"Promise"),un=te(bt,"Set"),fn=te(bt,"WeakMap"),cs="[object Map]",Cm="[object Object]",us="[object Promise]",fs="[object Set]",ds="[object WeakMap]",ps="[object DataView]",xm=Qt(hn),bm=Qt(Ze),Tm=Qt(cn),vm=Qt(un),km=Qt(fn),Ht=ve;(hn&&Ht(new hn(new ArrayBuffer(1)))!=ps||Ze&&Ht(new Ze)!=cs||cn&&Ht(cn.resolve())!=us||un&&Ht(new un)!=fs||fn&&Ht(new fn)!=ds)&&(Ht=function(t){var e=ve(t),i=e==Cm?t.constructor:void 0,r=i?Qt(i):"";if(r)switch(r){case xm:return ps;case bm:return cs;case Tm:return us;case vm:return fs;case km:return ds}return e});const Sm=Ht;var wm="[object Map]",Bm="[object Set]",Am=Object.prototype,Fm=Am.hasOwnProperty;function Hr(t){if(t==null)return!0;if(lr(t)&&(Wi(t)||typeof t=="string"||typeof t.splice=="function"||Ln(t)||En(t)||zi(t)))return!t.length;var e=Sm(t);if(e==wm||e==Bm)return!t.size;if(ar(t))return!ym(t).length;for(var i in t)if(Fm.call(t,i))return!1;return!0}const wt={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},w={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},Mn=function(t="fatal"){let e=wt.fatal;typeof t=="string"?(t=t.toLowerCase(),t in wt&&(e=wt[t])):typeof t=="number"&&(e=t),w.trace=()=>{},w.debug=()=>{},w.info=()=>{},w.warn=()=>{},w.error=()=>{},w.fatal=()=>{},e<=wt.fatal&&(w.fatal=console.error?console.error.bind(console,at("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",at("FATAL"))),e<=wt.error&&(w.error=console.error?console.error.bind(console,at("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",at("ERROR"))),e<=wt.warn&&(w.warn=console.warn?console.warn.bind(console,at("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",at("WARN"))),e<=wt.info&&(w.info=console.info?console.info.bind(console,at("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",at("INFO"))),e<=wt.debug&&(w.debug=console.debug?console.debug.bind(console,at("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",at("DEBUG"))),e<=wt.trace&&(w.trace=console.debug?console.debug.bind(console,at("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",at("TRACE")))},at=t=>`%c${lh().format("ss.SSS")} : ${t} : `,ur=/<br\s*\/?>/gi,Lm=t=>t?Ua(t).replace(/\\n/g,"#br#").split("#br#"):[""],Em=(()=>{let t=!1;return()=>{t||(Om(),t=!0)}})();function Om(){const t="data-temp-href-target";_e.addHook("beforeSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")||"")}),_e.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)||""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}const ja=t=>(Em(),_e.sanitize(t)),gs=(t,e)=>{var i;if(((i=e.flowchart)==null?void 0:i.htmlLabels)!==!1){const r=e.securityLevel;r==="antiscript"||r==="strict"?t=ja(t):r!=="loose"&&(t=Ua(t),t=t.replace(/</g,"<").replace(/>/g,">"),t=t.replace(/=/g,"="),t=Dm(t))}return t},ti=(t,e)=>t&&(e.dompurifyConfig?t=_e.sanitize(gs(t,e),e.dompurifyConfig).toString():t=_e.sanitize(gs(t,e),{FORBID_TAGS:["style"]}).toString(),t),Im=(t,e)=>typeof t=="string"?ti(t,e):t.flat().map(i=>ti(i,e)),Mm=t=>ur.test(t),Nm=t=>t.split(ur),Dm=t=>t.replace(/#br#/g,"<br/>"),Ua=t=>t.replace(ur,"#br#"),$m=t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},Ya=t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),Rm=function(...t){const e=t.filter(i=>!isNaN(i));return Math.max(...e)},Pm=function(...t){const e=t.filter(i=>!isNaN(i));return Math.min(...e)},Ab=function(t){const e=t.split(/(,)/),i=[];for(let r=0;r<e.length;r++){let n=e[r];if(n===","&&r>0&&r+1<e.length){const o=e[r-1],s=e[r+1];qm(o,s)&&(n=o+","+s,r++,i.pop())}i.push(zm(n))}return i.join("")},dn=(t,e)=>Math.max(0,t.split(e).length-1),qm=(t,e)=>{const i=dn(t,"~"),r=dn(e,"~");return i===1&&r===1},zm=t=>{const e=dn(t,"~");let i=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),i=!0);const r=[...t];let n=r.indexOf("~"),o=r.lastIndexOf("~");for(;n!==-1&&o!==-1&&n!==o;)r[n]="<",r[o]=">",n=r.indexOf("~"),o=r.lastIndexOf("~");return i&&r.unshift("~"),r.join("")},Nn={getRows:Lm,sanitizeText:ti,sanitizeTextOrArray:Im,hasBreaks:Mm,splitBreaks:Nm,lineBreakRegex:ur,removeScript:ja,getUrl:$m,evaluate:Ya,getMax:Rm,getMin:Pm},K=(t,e)=>e?g(t,{s:-40,l:10}):g(t,{s:-40,l:-10}),fr="#ffffff",dr="#f2f2f2";let Wm=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var e,i,r,n,o,s,a,l,h,u,f;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||g(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||g(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||K(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||K(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||K(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||K(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||_(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||_(this.tertiaryColor),this.lineColor=this.lineColor||_(this.background),this.arrowheadColor=this.arrowheadColor||_(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?B(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||B(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||_(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||k(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||g(this.primaryColor,{h:30}),this.cScale4=this.cScale4||g(this.primaryColor,{h:60}),this.cScale5=this.cScale5||g(this.primaryColor,{h:90}),this.cScale6=this.cScale6||g(this.primaryColor,{h:120}),this.cScale7=this.cScale7||g(this.primaryColor,{h:150}),this.cScale8=this.cScale8||g(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||g(this.primaryColor,{h:270}),this.cScale10=this.cScale10||g(this.primaryColor,{h:300}),this.cScale11=this.cScale11||g(this.primaryColor,{h:330}),this.darkMode)for(let p=0;p<this.THEME_COLOR_LIMIT;p++)this["cScale"+p]=B(this["cScale"+p],75);else for(let p=0;p<this.THEME_COLOR_LIMIT;p++)this["cScale"+p]=B(this["cScale"+p],25);for(let p=0;p<this.THEME_COLOR_LIMIT;p++)this["cScaleInv"+p]=this["cScaleInv"+p]||_(this["cScale"+p]);for(let p=0;p<this.THEME_COLOR_LIMIT;p++)this.darkMode?this["cScalePeer"+p]=this["cScalePeer"+p]||k(this["cScale"+p],10):this["cScalePeer"+p]=this["cScalePeer"+p]||B(this["cScale"+p],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let p=0;p<this.THEME_COLOR_LIMIT;p++)this["cScaleLabel"+p]=this["cScaleLabel"+p]||this.scaleLabelColor;const c=this.darkMode?-4:-1;for(let p=0;p<5;p++)this["surface"+p]=this["surface"+p]||g(this.mainBkg,{h:180,s:-15,l:c*(5+p*3)}),this["surfacePeer"+p]=this["surfacePeer"+p]||g(this.mainBkg,{h:180,s:-15,l:c*(8+p*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||g(this.primaryColor,{h:64}),this.fillType3=this.fillType3||g(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||g(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||g(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||g(this.primaryColor,{h:128}),this.fillType7=this.fillType7||g(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||g(this.primaryColor,{l:-10}),this.pie5=this.pie5||g(this.secondaryColor,{l:-10}),this.pie6=this.pie6||g(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||g(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||g(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||g(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||g(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||g(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||g(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||g(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||g(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||g(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||g(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||g(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||g(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ni(this.quadrant1Fill)?k(this.quadrant1Fill):B(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((i=this.xyChart)==null?void 0:i.titleColor)||this.primaryTextColor,xAxisTitleColor:((r=this.xyChart)==null?void 0:r.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((n=this.xyChart)==null?void 0:n.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((h=this.xyChart)==null?void 0:h.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((f=this.xyChart)==null?void 0:f.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?B(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||g(this.primaryColor,{h:-30}),this.git4=this.git4||g(this.primaryColor,{h:-60}),this.git5=this.git5||g(this.primaryColor,{h:-90}),this.git6=this.git6||g(this.primaryColor,{h:60}),this.git7=this.git7||g(this.primaryColor,{h:120}),this.darkMode?(this.git0=k(this.git0,25),this.git1=k(this.git1,25),this.git2=k(this.git2,25),this.git3=k(this.git3,25),this.git4=k(this.git4,25),this.git5=k(this.git5,25),this.git6=k(this.git6,25),this.git7=k(this.git7,25)):(this.git0=B(this.git0,25),this.git1=B(this.git1,25),this.git2=B(this.git2,25),this.git3=B(this.git3,25),this.git4=B(this.git4,25),this.git5=B(this.git5,25),this.git6=B(this.git6,25),this.git7=B(this.git7,25)),this.gitInv0=this.gitInv0||_(this.git0),this.gitInv1=this.gitInv1||_(this.git1),this.gitInv2=this.gitInv2||_(this.git2),this.gitInv3=this.gitInv3||_(this.git3),this.gitInv4=this.gitInv4||_(this.git4),this.gitInv5=this.gitInv5||_(this.git5),this.gitInv6=this.gitInv6||_(this.git6),this.gitInv7=this.gitInv7||_(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||fr,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||dr}calculate(e){if(typeof e!="object"){this.updateColors();return}const i=Object.keys(e);i.forEach(r=>{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Hm=t=>{const e=new Wm;return e.calculate(t),e};let jm=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=k(this.primaryColor,16),this.tertiaryColor=g(this.primaryColor,{h:-160}),this.primaryBorderColor=_(this.background),this.secondaryBorderColor=K(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=K(this.tertiaryColor,this.darkMode),this.primaryTextColor=_(this.primaryColor),this.secondaryTextColor=_(this.secondaryColor),this.tertiaryTextColor=_(this.tertiaryColor),this.lineColor=_(this.background),this.textColor=_(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=k(_("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=ze(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=B("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=B(this.sectionBkgColor,10),this.taskBorderColor=ze(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=ze(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var e,i,r,n,o,s,a,l,h,u,f;this.secondBkg=k(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=k(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=k(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=g(this.primaryColor,{h:64}),this.fillType3=g(this.secondaryColor,{h:64}),this.fillType4=g(this.primaryColor,{h:-64}),this.fillType5=g(this.secondaryColor,{h:-64}),this.fillType6=g(this.primaryColor,{h:128}),this.fillType7=g(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||g(this.primaryColor,{h:30}),this.cScale4=this.cScale4||g(this.primaryColor,{h:60}),this.cScale5=this.cScale5||g(this.primaryColor,{h:90}),this.cScale6=this.cScale6||g(this.primaryColor,{h:120}),this.cScale7=this.cScale7||g(this.primaryColor,{h:150}),this.cScale8=this.cScale8||g(this.primaryColor,{h:210}),this.cScale9=this.cScale9||g(this.primaryColor,{h:270}),this.cScale10=this.cScale10||g(this.primaryColor,{h:300}),this.cScale11=this.cScale11||g(this.primaryColor,{h:330});for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScaleInv"+c]=this["cScaleInv"+c]||_(this["cScale"+c]);for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScalePeer"+c]=this["cScalePeer"+c]||k(this["cScale"+c],10);for(let c=0;c<5;c++)this["surface"+c]=this["surface"+c]||g(this.mainBkg,{h:30,s:-30,l:-(-10+c*4)}),this["surfacePeer"+c]=this["surfacePeer"+c]||g(this.mainBkg,{h:30,s:-30,l:-(-7+c*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScaleLabel"+c]=this["cScaleLabel"+c]||this.scaleLabelColor;for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["pie"+c]=this["cScale"+c];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||g(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||g(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||g(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||g(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||g(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||g(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ni(this.quadrant1Fill)?k(this.quadrant1Fill):B(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((i=this.xyChart)==null?void 0:i.titleColor)||this.primaryTextColor,xAxisTitleColor:((r=this.xyChart)==null?void 0:r.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((n=this.xyChart)==null?void 0:n.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((h=this.xyChart)==null?void 0:h.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((f=this.xyChart)==null?void 0:f.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?B(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=k(this.secondaryColor,20),this.git1=k(this.pie2||this.secondaryColor,20),this.git2=k(this.pie3||this.tertiaryColor,20),this.git3=k(this.pie4||g(this.primaryColor,{h:-30}),20),this.git4=k(this.pie5||g(this.primaryColor,{h:-60}),20),this.git5=k(this.pie6||g(this.primaryColor,{h:-90}),10),this.git6=k(this.pie7||g(this.primaryColor,{h:60}),10),this.git7=k(this.pie8||g(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||_(this.git0),this.gitInv1=this.gitInv1||_(this.git1),this.gitInv2=this.gitInv2||_(this.git2),this.gitInv3=this.gitInv3||_(this.git3),this.gitInv4=this.gitInv4||_(this.git4),this.gitInv5=this.gitInv5||_(this.git5),this.gitInv6=this.gitInv6||_(this.git6),this.gitInv7=this.gitInv7||_(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||_(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||_(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||k(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||k(this.background,2)}calculate(e){if(typeof e!="object"){this.updateColors();return}const i=Object.keys(e);i.forEach(r=>{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Um=t=>{const e=new jm;return e.calculate(t),e};let Ym=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=g(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=g(this.primaryColor,{h:-160}),this.primaryBorderColor=K(this.primaryColor,this.darkMode),this.secondaryBorderColor=K(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=K(this.tertiaryColor,this.darkMode),this.primaryTextColor=_(this.primaryColor),this.secondaryTextColor=_(this.secondaryColor),this.tertiaryTextColor=_(this.tertiaryColor),this.lineColor=_(this.background),this.textColor=_(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=ze(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var e,i,r,n,o,s,a,l,h,u,f;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||g(this.primaryColor,{h:30}),this.cScale4=this.cScale4||g(this.primaryColor,{h:60}),this.cScale5=this.cScale5||g(this.primaryColor,{h:90}),this.cScale6=this.cScale6||g(this.primaryColor,{h:120}),this.cScale7=this.cScale7||g(this.primaryColor,{h:150}),this.cScale8=this.cScale8||g(this.primaryColor,{h:210}),this.cScale9=this.cScale9||g(this.primaryColor,{h:270}),this.cScale10=this.cScale10||g(this.primaryColor,{h:300}),this.cScale11=this.cScale11||g(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||B(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||B(this.tertiaryColor,40);for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScale"+c]=B(this["cScale"+c],10),this["cScalePeer"+c]=this["cScalePeer"+c]||B(this["cScale"+c],25);for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScaleInv"+c]=this["cScaleInv"+c]||g(this["cScale"+c],{h:180});for(let c=0;c<5;c++)this["surface"+c]=this["surface"+c]||g(this.mainBkg,{h:30,l:-(5+c*5)}),this["surfacePeer"+c]=this["surfacePeer"+c]||g(this.mainBkg,{h:30,l:-(7+c*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||_(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||_(this.labelTextColor);for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScaleLabel"+c]=this["cScaleLabel"+c]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=k(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=g(this.primaryColor,{h:64}),this.fillType3=g(this.secondaryColor,{h:64}),this.fillType4=g(this.primaryColor,{h:-64}),this.fillType5=g(this.secondaryColor,{h:-64}),this.fillType6=g(this.primaryColor,{h:128}),this.fillType7=g(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||g(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||g(this.primaryColor,{l:-10}),this.pie5=this.pie5||g(this.secondaryColor,{l:-30}),this.pie6=this.pie6||g(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||g(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||g(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||g(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||g(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||g(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||g(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||g(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||g(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||g(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||g(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||g(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||g(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ni(this.quadrant1Fill)?k(this.quadrant1Fill):B(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((i=this.xyChart)==null?void 0:i.titleColor)||this.primaryTextColor,xAxisTitleColor:((r=this.xyChart)==null?void 0:r.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((n=this.xyChart)==null?void 0:n.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((h=this.xyChart)==null?void 0:h.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((f=this.xyChart)==null?void 0:f.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||g(this.primaryColor,{h:-30}),this.git4=this.git4||g(this.primaryColor,{h:-60}),this.git5=this.git5||g(this.primaryColor,{h:-90}),this.git6=this.git6||g(this.primaryColor,{h:60}),this.git7=this.git7||g(this.primaryColor,{h:120}),this.darkMode?(this.git0=k(this.git0,25),this.git1=k(this.git1,25),this.git2=k(this.git2,25),this.git3=k(this.git3,25),this.git4=k(this.git4,25),this.git5=k(this.git5,25),this.git6=k(this.git6,25),this.git7=k(this.git7,25)):(this.git0=B(this.git0,25),this.git1=B(this.git1,25),this.git2=B(this.git2,25),this.git3=B(this.git3,25),this.git4=B(this.git4,25),this.git5=B(this.git5,25),this.git6=B(this.git6,25),this.git7=B(this.git7,25)),this.gitInv0=this.gitInv0||B(_(this.git0),25),this.gitInv1=this.gitInv1||_(this.git1),this.gitInv2=this.gitInv2||_(this.git2),this.gitInv3=this.gitInv3||_(this.git3),this.gitInv4=this.gitInv4||_(this.git4),this.gitInv5=this.gitInv5||_(this.git5),this.gitInv6=this.gitInv6||_(this.git6),this.gitInv7=this.gitInv7||_(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||_(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||_(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||fr,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||dr}calculate(e){if(typeof e!="object"){this.updateColors();return}const i=Object.keys(e);i.forEach(r=>{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Vm=t=>{const e=new Ym;return e.calculate(t),e};let Gm=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=k("#cde498",10),this.primaryBorderColor=K(this.primaryColor,this.darkMode),this.secondaryBorderColor=K(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=K(this.tertiaryColor,this.darkMode),this.primaryTextColor=_(this.primaryColor),this.secondaryTextColor=_(this.secondaryColor),this.tertiaryTextColor=_(this.primaryColor),this.lineColor=_(this.background),this.textColor=_(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var e,i,r,n,o,s,a,l,h,u,f;this.actorBorder=B(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||g(this.primaryColor,{h:30}),this.cScale4=this.cScale4||g(this.primaryColor,{h:60}),this.cScale5=this.cScale5||g(this.primaryColor,{h:90}),this.cScale6=this.cScale6||g(this.primaryColor,{h:120}),this.cScale7=this.cScale7||g(this.primaryColor,{h:150}),this.cScale8=this.cScale8||g(this.primaryColor,{h:210}),this.cScale9=this.cScale9||g(this.primaryColor,{h:270}),this.cScale10=this.cScale10||g(this.primaryColor,{h:300}),this.cScale11=this.cScale11||g(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||B(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||B(this.tertiaryColor,40);for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScale"+c]=B(this["cScale"+c],10),this["cScalePeer"+c]=this["cScalePeer"+c]||B(this["cScale"+c],25);for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScaleInv"+c]=this["cScaleInv"+c]||g(this["cScale"+c],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScaleLabel"+c]=this["cScaleLabel"+c]||this.scaleLabelColor;for(let c=0;c<5;c++)this["surface"+c]=this["surface"+c]||g(this.mainBkg,{h:30,s:-30,l:-(5+c*5)}),this["surfacePeer"+c]=this["surfacePeer"+c]||g(this.mainBkg,{h:30,s:-30,l:-(8+c*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=g(this.primaryColor,{h:64}),this.fillType3=g(this.secondaryColor,{h:64}),this.fillType4=g(this.primaryColor,{h:-64}),this.fillType5=g(this.secondaryColor,{h:-64}),this.fillType6=g(this.primaryColor,{h:128}),this.fillType7=g(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||g(this.primaryColor,{l:-30}),this.pie5=this.pie5||g(this.secondaryColor,{l:-30}),this.pie6=this.pie6||g(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||g(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||g(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||g(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||g(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||g(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||g(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||g(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||g(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||g(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||g(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||g(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||g(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ni(this.quadrant1Fill)?k(this.quadrant1Fill):B(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((i=this.xyChart)==null?void 0:i.titleColor)||this.primaryTextColor,xAxisTitleColor:((r=this.xyChart)==null?void 0:r.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((n=this.xyChart)==null?void 0:n.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((h=this.xyChart)==null?void 0:h.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((f=this.xyChart)==null?void 0:f.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||g(this.primaryColor,{h:-30}),this.git4=this.git4||g(this.primaryColor,{h:-60}),this.git5=this.git5||g(this.primaryColor,{h:-90}),this.git6=this.git6||g(this.primaryColor,{h:60}),this.git7=this.git7||g(this.primaryColor,{h:120}),this.darkMode?(this.git0=k(this.git0,25),this.git1=k(this.git1,25),this.git2=k(this.git2,25),this.git3=k(this.git3,25),this.git4=k(this.git4,25),this.git5=k(this.git5,25),this.git6=k(this.git6,25),this.git7=k(this.git7,25)):(this.git0=B(this.git0,25),this.git1=B(this.git1,25),this.git2=B(this.git2,25),this.git3=B(this.git3,25),this.git4=B(this.git4,25),this.git5=B(this.git5,25),this.git6=B(this.git6,25),this.git7=B(this.git7,25)),this.gitInv0=this.gitInv0||_(this.git0),this.gitInv1=this.gitInv1||_(this.git1),this.gitInv2=this.gitInv2||_(this.git2),this.gitInv3=this.gitInv3||_(this.git3),this.gitInv4=this.gitInv4||_(this.git4),this.gitInv5=this.gitInv5||_(this.git5),this.gitInv6=this.gitInv6||_(this.git6),this.gitInv7=this.gitInv7||_(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||_(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||_(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||fr,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||dr}calculate(e){if(typeof e!="object"){this.updateColors();return}const i=Object.keys(e);i.forEach(r=>{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Xm=t=>{const e=new Gm;return e.calculate(t),e};class Km{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=k(this.contrast,55),this.background="#ffffff",this.tertiaryColor=g(this.primaryColor,{h:-160}),this.primaryBorderColor=K(this.primaryColor,this.darkMode),this.secondaryBorderColor=K(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=K(this.tertiaryColor,this.darkMode),this.primaryTextColor=_(this.primaryColor),this.secondaryTextColor=_(this.secondaryColor),this.tertiaryTextColor=_(this.tertiaryColor),this.lineColor=_(this.background),this.textColor=_(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var e,i,r,n,o,s,a,l,h,u,f;this.secondBkg=k(this.contrast,55),this.border2=this.contrast,this.actorBorder=k(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScaleInv"+c]=this["cScaleInv"+c]||_(this["cScale"+c]);for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this.darkMode?this["cScalePeer"+c]=this["cScalePeer"+c]||k(this["cScale"+c],10):this["cScalePeer"+c]=this["cScalePeer"+c]||B(this["cScale"+c],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["cScaleLabel"+c]=this["cScaleLabel"+c]||this.scaleLabelColor;for(let c=0;c<5;c++)this["surface"+c]=this["surface"+c]||g(this.mainBkg,{l:-(5+c*5)}),this["surfacePeer"+c]=this["surfacePeer"+c]||g(this.mainBkg,{l:-(8+c*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=k(this.contrast,30),this.sectionBkgColor2=k(this.contrast,30),this.taskBorderColor=B(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=k(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=B(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=g(this.primaryColor,{h:64}),this.fillType3=g(this.secondaryColor,{h:64}),this.fillType4=g(this.primaryColor,{h:-64}),this.fillType5=g(this.secondaryColor,{h:-64}),this.fillType6=g(this.primaryColor,{h:128}),this.fillType7=g(this.secondaryColor,{h:128});for(let c=0;c<this.THEME_COLOR_LIMIT;c++)this["pie"+c]=this["cScale"+c];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||g(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||g(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||g(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||g(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||g(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||g(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ni(this.quadrant1Fill)?k(this.quadrant1Fill):B(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((i=this.xyChart)==null?void 0:i.titleColor)||this.primaryTextColor,xAxisTitleColor:((r=this.xyChart)==null?void 0:r.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((n=this.xyChart)==null?void 0:n.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((h=this.xyChart)==null?void 0:h.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((f=this.xyChart)==null?void 0:f.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=B(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||g(this.primaryColor,{h:-30}),this.git4=this.pie5||g(this.primaryColor,{h:-60}),this.git5=this.pie6||g(this.primaryColor,{h:-90}),this.git6=this.pie7||g(this.primaryColor,{h:60}),this.git7=this.pie8||g(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||_(this.git0),this.gitInv1=this.gitInv1||_(this.git1),this.gitInv2=this.gitInv2||_(this.git2),this.gitInv3=this.gitInv3||_(this.git3),this.gitInv4=this.gitInv4||_(this.git4),this.gitInv5=this.gitInv5||_(this.git5),this.gitInv6=this.gitInv6||_(this.git6),this.gitInv7=this.gitInv7||_(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||fr,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||dr}calculate(e){if(typeof e!="object"){this.updateColors();return}const i=Object.keys(e);i.forEach(r=>{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}}const Zm=t=>{const e=new Km;return e.calculate(t),e},Lt={base:{getThemeVariables:Hm},dark:{getThemeVariables:Um},default:{getThemeVariables:Vm},forest:{getThemeVariables:Xm},neutral:{getThemeVariables:Zm}},Bt={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],deterministicIds:!1,fontSize:16},Va={...Bt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:Lt.default.getThemeVariables(),sequence:{...Bt.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...Bt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Bt.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...Bt.pie,useWidth:984},xyChart:{...Bt.xyChart,useWidth:void 0},requirement:{...Bt.requirement,useWidth:void 0},gitGraph:{...Bt.gitGraph,useMaxWidth:!1},sankey:{...Bt.sankey,useMaxWidth:!1}},Ga=(t,e="")=>Object.keys(t).reduce((i,r)=>Array.isArray(t[r])?i:typeof t[r]=="object"&&t[r]!==null?[...i,e+r,...Ga(t[r],"")]:[...i,e+r],[]),Jm=new Set(Ga(Va,"")),Qm=Va,Hi=t=>{if(w.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>Hi(e));return}for(const e of Object.keys(t)){if(w.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Jm.has(e)||t[e]==null){w.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){w.debug("sanitizing object",e),Hi(t[e]);continue}const i=["themeCSS","fontFamily","altFontFamily"];for(const r of i)e.includes(r)&&(w.debug("sanitizing css option",e),t[e]=t0(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const i=t.themeVariables[e];i?.match&&!i.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}w.debug("After sanitization",t)}},t0=t=>{let e=0,i=0;for(const r of t){if(e<i)return"{ /* ERROR: Unbalanced CSS */ }";r==="{"?e++:r==="}"&&i++}return e!==i?"{ /* ERROR: Unbalanced CSS */ }":t},Xa=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,He=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,e0=/\s*%%.*\n/gm;class Ka extends Error{constructor(e){super(e),this.name="UnknownDiagramError"}}const Ce={},pr=function(t,e){t=t.replace(Xa,"").replace(He,"").replace(e0,` +`);for(const[i,{detector:r}]of Object.entries(Ce))if(r(t,e))return i;throw new Ka(`No diagram type detected matching given configuration for text: ${t}`)},Za=(...t)=>{for(const{id:e,detector:i,loader:r}of t)Ja(e,i,r)},Ja=(t,e,i)=>{Ce[t]?w.error(`Detector with key ${t} already exists`):Ce[t]={detector:e,loader:i},w.debug(`Detector with key ${t} added${i?" with loader":""}`)},i0=t=>Ce[t].loader,pn=(t,e,{depth:i=2,clobber:r=!1}={})=>{const n={depth:i,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(o=>pn(t,o,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(o=>{t.includes(o)||t.push(o)}),t):t===void 0||i<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(o=>{typeof e[o]=="object"&&(t[o]===void 0||typeof t[o]=="object")?(t[o]===void 0&&(t[o]=Array.isArray(e[o])?[]:{}),t[o]=pn(t[o],e[o],{depth:i-1,clobber:r})):(r||typeof t[o]!="object"&&typeof e[o]!="object")&&(t[o]=e[o])}),t)},V=pn,r0="​",n0={curveBasis:Af,curveBasisClosed:Ff,curveBasisOpen:Lf,curveBumpX:wf,curveBumpY:Bf,curveBundle:Ef,curveCardinalClosed:If,curveCardinalOpen:Mf,curveCardinal:Of,curveCatmullRomClosed:Df,curveCatmullRomOpen:$f,curveCatmullRom:Nf,curveLinear:Sf,curveLinearClosed:Rf,curveMonotoneX:Pf,curveMonotoneY:qf,curveNatural:zf,curveStep:Wf,curveStepAfter:jf,curveStepBefore:Hf},o0=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,s0=function(t,e){const i=Qa(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(i)){const s=i.map(a=>a.args);Hi(s),r=V(r,[...s])}else r=i.args;if(!r)return;let n=pr(t,e);const o="config";return r[o]!==void 0&&(n==="flowchart-v2"&&(n="flowchart"),r[n]=r[o],delete r[o]),r},Qa=function(t,e=null){try{const i=new RegExp(`[%]{2}(?![{]${o0.source})(?=[}][%]{2}).* +`,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),w.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let r;const n=[];for(;(r=He.exec(t))!==null;)if(r.index===He.lastIndex&&He.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const o=r[1]?r[1]:r[2],s=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:o,args:s})}return n.length===0?{type:t,args:null}:n.length===1?n[0]:n}catch(i){return w.error(`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},a0=function(t){return t.replace(He,"")},l0=function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1};function h0(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return n0[i]??e}function c0(t,e){const i=t.trim();if(i)return e.securityLevel!=="loose"?Os.sanitizeUrl(i):i}const u0=(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let s=0;s<r;s++)if(o=o[i[s]],!o){w.error(`Function name: ${t} not found in window`);return}o[n](...e)};function tl(t,e){return!t||!e?0:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function f0(t){let e,i=0;t.forEach(n=>{i+=tl(n,e),e=n});const r=i/2;return Dn(t,r)}function d0(t){return t.length===1?t[0]:f0(t)}const ms=(t,e=2)=>{const i=Math.pow(10,e);return Math.round(t*i)/i},Dn=(t,e)=>{let i,r=e;for(const n of t){if(i){const o=tl(n,i);if(o<r)r-=o;else{const s=r/o;if(s<=0)return i;if(s>=1)return{x:n.x,y:n.y};if(s>0&&s<1)return{x:ms((1-s)*i.x+s*n.x,5),y:ms((1-s)*i.y+s*n.y,5)}}}i=n}throw new Error("Could not find a suitable point for the given distance")},p0=(t,e,i)=>{w.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());const n=Dn(e,25),o=t?10:5,s=Math.atan2(e[0].y-n.y,e[0].x-n.x),a={x:0,y:0};return a.x=Math.sin(s)*o+(e[0].x+n.x)/2,a.y=-Math.cos(s)*o+(e[0].y+n.y)/2,a};function g0(t,e,i){const r=structuredClone(i);w.info("our points",r),e!=="start_left"&&e!=="start_right"&&r.reverse();const n=25+t,o=Dn(r,n),s=10+t*.5,a=Math.atan2(r[0].y-o.y,r[0].x-o.x),l={x:0,y:0};return e==="start_left"?(l.x=Math.sin(a+Math.PI)*s+(r[0].x+o.x)/2,l.y=-Math.cos(a+Math.PI)*s+(r[0].y+o.y)/2):e==="end_right"?(l.x=Math.sin(a-Math.PI)*s+(r[0].x+o.x)/2-5,l.y=-Math.cos(a-Math.PI)*s+(r[0].y+o.y)/2-5):e==="end_left"?(l.x=Math.sin(a)*s+(r[0].x+o.x)/2-5,l.y=-Math.cos(a)*s+(r[0].y+o.y)/2-5):(l.x=Math.sin(a)*s+(r[0].x+o.x)/2,l.y=-Math.cos(a)*s+(r[0].y+o.y)/2),l}function m0(t){let e="",i="";for(const r of t)r!==void 0&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let _s=0;const _0=()=>(_s++,"id-"+Math.random().toString(36).substr(2,12)+"-"+_s);function y0(t){let e="";const i="0123456789abcdef",r=i.length;for(let n=0;n<t;n++)e+=i.charAt(Math.floor(Math.random()*r));return e}const C0=t=>y0(t.length),x0=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},b0=function(t,e){const i=e.text.replace(Nn.lineBreakRegex," "),[,r]=Rn(e.fontSize),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.style("text-anchor",e.anchor),n.style("font-family",e.fontFamily),n.style("font-size",r),n.style("font-weight",e.fontWeight),n.attr("fill",e.fill),e.class!==void 0&&n.attr("class",e.class);const o=n.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(i),n},T0=oi((t,e,i)=>{if(!t||(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},i),Nn.lineBreakRegex.test(t)))return t;const r=t.split(" "),n=[];let o="";return r.forEach((s,a)=>{const l=ji(`${s} `,i),h=ji(o,i);if(l>e){const{hyphenatedStrings:c,remainingWord:p}=v0(s,e,"-",i);n.push(o,...c),o=p}else h+l>=e?(n.push(o),o=s):o=[o,s].filter(Boolean).join(" ");a+1===r.length&&n.push(o)}),n.filter(s=>s!=="").join(i.joinWith)},(t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`),v0=oi((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let s="";return n.forEach((a,l)=>{const h=`${s}${a}`;if(ji(h,r)>=e){const f=l+1,c=n.length===f,p=`${h}${i}`;o.push(c?h:p),s=""}else s=h}),{hyphenatedStrings:o,remainingWord:s}},(t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function k0(t,e){return $n(t,e).height}function ji(t,e){return $n(t,e).width}const $n=oi((t,e)=>{const{fontSize:i=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};const[,o]=Rn(i),s=["sans-serif",r],a=t.split(Nn.lineBreakRegex),l=[],h=lt("body");if(!h.remove)return{width:0,height:0,lineHeight:0};const u=h.append("svg");for(const c of s){let p=0;const y={width:0,height:0,lineHeight:0};for(const x of a){const T=x0();T.text=x||r0;const L=b0(u,T).style("font-size",o).style("font-weight",n).style("font-family",c),C=(L._groups||L)[0][0].getBBox();if(C.width===0&&C.height===0)throw new Error("svg element not in render tree");y.width=Math.round(Math.max(y.width,C.width)),p=Math.round(C.height),y.height+=p,y.lineHeight=Math.round(Math.max(y.lineHeight,p))}l.push(y)}u.remove();const f=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[f]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`);class S0{constructor(e=!1,i){this.count=0,this.count=i?i.length:0,this.next=e?()=>this.count++:()=>Date.now()}}let xi;const w0=function(t){return xi=xi||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),xi.innerHTML=t,unescape(xi.textContent)};function el(t){return"str"in t}const B0=(t,e,i,r)=>{var n;if(!r)return;const o=(n=t.node())==null?void 0:n.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-i).attr("class",e)},Rn=t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function il(t,e){return Zg({},t,e)}const je={assignWithDepth:V,wrapLabel:T0,calculateTextHeight:k0,calculateTextWidth:ji,calculateTextDimensions:$n,cleanAndMerge:il,detectInit:s0,detectDirective:Qa,isSubstringInArray:l0,interpolateToCurve:h0,calcLabelPosition:d0,calcCardinalityPosition:p0,calcTerminalLabelPosition:g0,formatUrl:c0,getStylesFromArray:m0,generateId:_0,random:C0,runFunc:u0,entityDecode:w0,insertTitle:B0,parseFontSize:Rn,InitIDGenerator:S0},A0=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/#\w+;/g,function(i){const r=i.substring(1,i.length-1);return/^\+?\d+$/.test(r)?"fl°°"+r+"¶ß":"fl°"+r+"¶ß"}),e},F0=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},ys="10.8.0",xe=Object.freeze(Qm);let et=V({},xe),rl,be=[],Ue=V({},xe);const gr=(t,e)=>{let i=V({},t),r={};for(const n of e)sl(n),r=V(r,n);if(i=V(i,r),r.theme&&r.theme in Lt){const n=V({},rl),o=V(n.themeVariables||{},r.themeVariables);i.theme&&i.theme in Lt&&(i.themeVariables=Lt[i.theme].getThemeVariables(o))}return Ue=i,al(Ue),Ue},L0=t=>(et=V({},xe),et=V(et,t),t.theme&&Lt[t.theme]&&(et.themeVariables=Lt[t.theme].getThemeVariables(t.themeVariables)),gr(et,be),et),E0=t=>{rl=V({},t)},O0=t=>(et=V(et,t),gr(et,be),et),nl=()=>V({},et),ol=t=>(al(t),V(Ue,t),Ct()),Ct=()=>V({},Ue),sl=t=>{t&&(["secure",...et.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(w.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&sl(t[e])}))},I0=t=>{Hi(t),t.fontFamily&&(!t.themeVariables||!t.themeVariables.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),be.push(t),gr(et,be)},Ui=(t=et)=>{be=[],gr(t,be)},M0={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Cs={},N0=t=>{Cs[t]||(w.warn(M0[t]),Cs[t]=!0)},al=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&N0("LAZY_LOAD_DEPRECATED")},ll="c4",D0=t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),$0=async()=>{const{diagram:t}=await $(()=>import("./c4Diagram-b947cdbb-Il_bHRLf.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);return{id:ll,diagram:t}},R0={id:ll,detector:D0,loader:$0},P0=R0,hl="flowchart",q0=(t,e)=>{var i,r;return((i=e?.flowchart)==null?void 0:i.defaultRenderer)==="dagre-wrapper"||((r=e?.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},z0=async()=>{const{diagram:t}=await $(()=>import("./flowDiagram-d949d7c1-FhTH9wIP.js"),__vite__mapDeps([9,10,11,12,13,14,15,16,17,18,4,5,2,3,6,7,8,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55]),import.meta.url);return{id:hl,diagram:t}},W0={id:hl,detector:q0,loader:z0},H0=W0,cl="flowchart-v2",j0=(t,e)=>{var i,r,n;return((i=e?.flowchart)==null?void 0:i.defaultRenderer)==="dagre-d3"||((r=e?.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)&&((n=e?.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)},U0=async()=>{const{diagram:t}=await $(()=>import("./flowDiagram-v2-49332944-bbCeKMG1.js"),__vite__mapDeps([56,10,13,11,14,12,15,16,17,18,4,5,2,3,6,7,8,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55]),import.meta.url);return{id:cl,diagram:t}},Y0={id:cl,detector:j0,loader:U0},V0=Y0,ul="er",G0=t=>/^\s*erDiagram/.test(t),X0=async()=>{const{diagram:t}=await $(()=>import("./erDiagram-0ea73325-Pq7U_8eA.js"),__vite__mapDeps([57,11,12,2,3,4,5,6,7,8,52,53,54]),import.meta.url);return{id:ul,diagram:t}},K0={id:ul,detector:G0,loader:X0},Z0=K0,fl="gitGraph",J0=t=>/^\s*gitGraph/.test(t),Q0=async()=>{const{diagram:t}=await $(()=>import("./gitGraphDiagram-b9d81de9-ZTHGR0Gg.js"),__vite__mapDeps([58,2,3,4,5,6,7,8]),import.meta.url);return{id:fl,diagram:t}},t_={id:fl,detector:J0,loader:Q0},e_=t_,dl="gantt",i_=t=>/^\s*gantt/.test(t),r_=async()=>{const{diagram:t}=await $(()=>import("./ganttDiagram-5c869e3b-HgrHqoyj.js"),__vite__mapDeps([59,2,3,4,5,6,7,8,60,61,62]),import.meta.url);return{id:dl,diagram:t}},n_={id:dl,detector:i_,loader:r_},o_=n_,pl="info",s_=t=>/^\s*info/.test(t),a_=async()=>{const{diagram:t}=await $(()=>import("./infoDiagram-db7b18fc-SaLgFibE.js"),__vite__mapDeps([63,2,3,4,5,6,7,8]),import.meta.url);return{id:pl,diagram:t}},l_={id:pl,detector:s_,loader:a_},gl="pie",h_=t=>/^\s*pie/.test(t),c_=async()=>{const{diagram:t}=await $(()=>import("./pieDiagram-b0208e96-PTCn6YW_.js"),__vite__mapDeps([64,2,3,4,5,6,7,8,65,54,66,62,53]),import.meta.url);return{id:gl,diagram:t}},u_={id:gl,detector:h_,loader:c_},ml="quadrantChart",f_=t=>/^\s*quadrantChart/.test(t),d_=async()=>{const{diagram:t}=await $(()=>import("./quadrantDiagram-0332be45-5LfNbf_o.js"),__vite__mapDeps([67,2,3,4,5,6,7,8,61,62]),import.meta.url);return{id:ml,diagram:t}},p_={id:ml,detector:f_,loader:d_},g_=p_,_l="xychart",m_=t=>/^\s*xychart-beta/.test(t),__=async()=>{const{diagram:t}=await $(()=>import("./xychartDiagram-e50adddc-5XzaGkt4.js"),__vite__mapDeps([68,17,18,4,5,2,3,6,7,8,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,62,66,61,52,53,54]),import.meta.url);return{id:_l,diagram:t}},y_={id:_l,detector:m_,loader:__},C_=y_,yl="requirement",x_=t=>/^\s*requirement(Diagram)?/.test(t),b_=async()=>{const{diagram:t}=await $(()=>import("./requirementDiagram-bf7890df-7TsdWypu.js"),__vite__mapDeps([69,11,12,2,3,4,5,6,7,8,52,53,54]),import.meta.url);return{id:yl,diagram:t}},T_={id:yl,detector:x_,loader:b_},v_=T_,Cl="sequence",k_=t=>/^\s*sequenceDiagram/.test(t),S_=async()=>{const{diagram:t}=await $(()=>import("./sequenceDiagram-c18d009d-AMW6u50R.js"),__vite__mapDeps([70,1,2,3,4,5,6,7,8]),import.meta.url);return{id:Cl,diagram:t}},w_={id:Cl,detector:k_,loader:S_},B_=w_,xl="class",A_=(t,e)=>{var i;return((i=e?.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},F_=async()=>{const{diagram:t}=await $(()=>import("./classDiagram-35230388-zoCVQU12.js"),__vite__mapDeps([71,72,11,12,2,3,4,5,6,7,8,52,53,54]),import.meta.url);return{id:xl,diagram:t}},L_={id:xl,detector:A_,loader:F_},E_=L_,bl="classDiagram",O_=(t,e)=>{var i;return/^\s*classDiagram/.test(t)&&((i=e?.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},I_=async()=>{const{diagram:t}=await $(()=>import("./classDiagram-v2-412acd34-pDNqrkUC.js"),__vite__mapDeps([73,72,11,14,12,15,16,17,18,4,5,2,3,6,7,8,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54]),import.meta.url);return{id:bl,diagram:t}},M_={id:bl,detector:O_,loader:I_},N_=M_,Tl="state",D_=(t,e)=>{var i;return((i=e?.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},$_=async()=>{const{diagram:t}=await $(()=>import("./stateDiagram-43596fc0-LawEOpXe.js"),__vite__mapDeps([74,75,11,12,2,3,4,5,6,7,8,52,53,54]),import.meta.url);return{id:Tl,diagram:t}},R_={id:Tl,detector:D_,loader:$_},P_=R_,vl="stateDiagram",q_=(t,e)=>{var i;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((i=e?.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper")},z_=async()=>{const{diagram:t}=await $(()=>import("./stateDiagram-v2-2ead4f9c-mA2wVSPE.js"),__vite__mapDeps([76,75,11,14,12,15,16,17,18,4,5,2,3,6,7,8,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54]),import.meta.url);return{id:vl,diagram:t}},W_={id:vl,detector:q_,loader:z_},H_=W_,kl="journey",j_=t=>/^\s*journey/.test(t),U_=async()=>{const{diagram:t}=await $(()=>import("./journeyDiagram-d5636530-wsnii4kk.js"),__vite__mapDeps([77,1,2,3,4,5,6,7,8,65,54]),import.meta.url);return{id:kl,diagram:t}},Y_={id:kl,detector:j_,loader:U_},V_=Y_,G_=function(t,e){for(let i of e)t.attr(i[0],i[1])},X_=function(t,e,i){let r=new Map;return i?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r},Sl=function(t,e,i,r){const n=X_(e,i,r);G_(t,n)},K_=function(t,e,i,r){const n=e.node().getBBox(),o=n.width,s=n.height;w.info(`SVG bounds: ${o}x${s}`,n);let a=0,l=0;w.info(`Graph bounds: ${a}x${l}`,t),a=o+i*2,l=s+i*2,w.info(`Calculated bounds: ${a}x${l}`),Sl(e,l,a,r);const h=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",h)},Fi={},Z_=(t,e,i)=>{let r="";return t in Fi&&Fi[t]?r=Fi[t](i):w.warn(`No theme found for ${t}`),` & { + font-family: ${i.fontFamily}; + font-size: ${i.fontSize}; + fill: ${i.textColor} + } + + /* Classes common for multiple diagrams */ + + & .error-icon { + fill: ${i.errorBkgColor}; + } + & .error-text { + fill: ${i.errorTextColor}; + stroke: ${i.errorTextColor}; + } + + & .edge-thickness-normal { + stroke-width: 2px; + } + & .edge-thickness-thick { + stroke-width: 3.5px + } + & .edge-pattern-solid { + stroke-dasharray: 0; + } + + & .edge-pattern-dashed{ + stroke-dasharray: 3; + } + .edge-pattern-dotted { + stroke-dasharray: 2; + } + + & .marker { + fill: ${i.lineColor}; + stroke: ${i.lineColor}; + } + & .marker.cross { + stroke: ${i.lineColor}; + } + + & svg { + font-family: ${i.fontFamily}; + font-size: ${i.fontSize}; + } + + ${r} + + ${e} +`},J_=(t,e)=>{e!==void 0&&(Fi[t]=e)},Q_=Z_;let Pn="",qn="",zn="";const Wn=t=>ti(t,Ct()),ty=()=>{Pn="",zn="",qn=""},ey=t=>{Pn=Wn(t).replace(/^\s+/g,"")},iy=()=>Pn,ry=t=>{zn=Wn(t).replace(/\n\s+/g,` +`)},ny=()=>zn,oy=t=>{qn=Wn(t)},sy=()=>qn,ay=Object.freeze(Object.defineProperty({__proto__:null,clear:ty,getAccDescription:ny,getAccTitle:iy,getDiagramTitle:sy,setAccDescription:ry,setAccTitle:ey,setDiagramTitle:oy},Symbol.toStringTag,{value:"Module"})),ly=w,hy=Mn,Hn=Ct,Ib=ol,Mb=xe,cy=t=>ti(t,Hn()),uy=K_,fy=()=>ay,Yi={},Vi=(t,e,i)=>{var r;if(Yi[t])throw new Error(`Diagram ${t} already registered.`);Yi[t]=e,i&&Ja(t,i),J_(t,e.styles),(r=e.injectUtils)==null||r.call(e,ly,hy,Hn,cy,uy,fy(),()=>{})},jn=t=>{if(t in Yi)return Yi[t];throw new dy(t)};class dy extends Error{constructor(e){super(`Diagram ${e} not found.`)}}const py=t=>{var e;const{securityLevel:i}=Hn();let r=lt("body");if(i==="sandbox"){const s=((e=lt(`#i${t}`).node())==null?void 0:e.contentDocument)??document;r=lt(s.body)}return r.select(`#${t}`)},gy=(t,e,i)=>{w.debug(`rendering svg for syntax error +`);const r=py(e);r.attr("viewBox","0 0 2412 512"),Sl(r,100,512,!0);const n=r.append("g");n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${i}`)},wl={draw:gy},my=wl,_y={db:{},renderer:wl,parser:{parser:{yy:{}},parse:()=>{}}},yy=_y,Bl="flowchart-elk",Cy=(t,e)=>{var i;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((i=e?.flowchart)==null?void 0:i.defaultRenderer)==="elk")},xy=async()=>{const{diagram:t}=await $(()=>import("./flowchart-elk-definition-27cc417a-5Xo4tK2O.js"),__vite__mapDeps([78,10,16,17,18,4,5,2,3,6,7,8,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54]),import.meta.url);return{id:Bl,diagram:t}},by={id:Bl,detector:Cy,loader:xy},Ty=by,Al="timeline",vy=t=>/^\s*timeline/.test(t),ky=async()=>{const{diagram:t}=await $(()=>import("./timeline-definition-d977decf-XO89Jwmj.js"),__vite__mapDeps([79,2,3,4,5,6,7,8,65,54]),import.meta.url);return{id:Al,diagram:t}},Sy={id:Al,detector:vy,loader:ky},wy=Sy,Fl="mindmap",By=t=>/^\s*mindmap/.test(t),Ay=async()=>{const{diagram:t}=await $(()=>import("./mindmap-definition-377f8f1f-dqkZrAsn.js"),__vite__mapDeps([80,4,5,17,18,2,3,6,7,8,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]),import.meta.url);return{id:Fl,diagram:t}},Fy={id:Fl,detector:By,loader:Ay},Ly=Fy,Ll="sankey",Ey=t=>/^\s*sankey-beta/.test(t),Oy=async()=>{const{diagram:t}=await $(()=>import("./sankeyDiagram-0acdec17-SleWA8cW.js"),__vite__mapDeps([81,2,3,4,5,6,7,8,66,62,82]),import.meta.url);return{id:Ll,diagram:t}},Iy={id:Ll,detector:Ey,loader:Oy},My=Iy,El="block",Ny=t=>/^\s*block-beta/.test(t),Dy=async()=>{const{diagram:t}=await $(()=>import("./blockDiagram-6b2b5046-Us_ohvsH.js"),__vite__mapDeps([83,15,11,16,17,18,4,5,2,3,6,7,8,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,62,55,82]),import.meta.url);return{id:El,diagram:t}},$y={id:El,detector:Ny,loader:Dy},Ry=$y;let xs=!1;const Un=()=>{xs||(xs=!0,Vi("error",yy,t=>t.toLowerCase().trim()==="error"),Vi("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),Za(P0,N_,E_,Z0,o_,l_,u_,v_,B_,Ty,V0,H0,Ly,wy,e_,H_,P_,V_,g_,My,C_,Ry))};class Ol{constructor(e,i={}){this.text=e,this.metadata=i,this.type="graph",this.text=A0(e),this.text+=` +`;const r=Ct();try{this.type=pr(e,r)}catch(o){this.type="error",this.detectError=o}const n=jn(this.type);w.debug("Type "+this.type),this.db=n.db,this.renderer=n.renderer,this.parser=n.parser,this.parser.parser.yy=this.db,this.init=n.init,this.parse()}parse(){var e,i,r,n,o;if(this.detectError)throw this.detectError;(i=(e=this.db).clear)==null||i.call(e);const s=Ct();(r=this.init)==null||r.call(this,s),this.metadata.title&&((o=(n=this.db).setDiagramTitle)==null||o.call(n,this.metadata.title)),this.parser.parse(this.text)}async render(e,i){await this.renderer.draw(this.text,e,i,this)}getParser(){return this.parser}getType(){return this.type}}const Py=async(t,e={})=>{const i=pr(t,Ct());try{jn(i)}catch{const n=i0(i);if(!n)throw new Ka(`Diagram ${i} not found.`);const{id:o,diagram:s}=await n();Vi(o,s)}return new Ol(t,e)};let bs=[];const qy=()=>{bs.forEach(t=>{t()}),bs=[]},zy="graphics-document document";function Wy(t,e){t.attr("role",zy),e!==""&&t.attr("aria-roledescription",e)}function Hy(t,e,i,r){if(t.insert!==void 0){if(i){const n=`chart-desc-${r}`;t.attr("aria-describedby",n),t.insert("desc",":first-child").attr("id",n).text(i)}if(e){const n=`chart-title-${r}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}const jy=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Il(t){return typeof t>"u"||t===null}function Uy(t){return typeof t=="object"&&t!==null}function Yy(t){return Array.isArray(t)?t:Il(t)?[]:[t]}function Vy(t,e){var i,r,n,o;if(e)for(o=Object.keys(e),i=0,r=o.length;i<r;i+=1)n=o[i],t[n]=e[n];return t}function Gy(t,e){var i="",r;for(r=0;r<e;r+=1)i+=t;return i}function Xy(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var Ky=Il,Zy=Uy,Jy=Yy,Qy=Gy,tC=Xy,eC=Vy,X={isNothing:Ky,isObject:Zy,toArray:Jy,repeat:Qy,isNegativeZero:tC,extend:eC};function Ml(t,e){var i="",r=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(i+='in "'+t.mark.name+'" '),i+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(i+=` + +`+t.mark.snippet),r+" "+i):r}function ei(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Ml(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}ei.prototype=Object.create(Error.prototype);ei.prototype.constructor=ei;ei.prototype.toString=function(e){return this.name+": "+Ml(this,e)};var Ft=ei;function jr(t,e,i,r,n){var o="",s="",a=Math.floor(n/2)-1;return r-e>a&&(o=" ... ",e=r-a+o.length),i-r>a&&(s=" ...",i=r+a-s.length),{str:o+t.slice(e,i).replace(/\t/g,"→")+s,pos:r-e+o.length}}function Ur(t,e){return X.repeat(" ",e-t.length)+t}function iC(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var i=/\r?\n|\r|\0/g,r=[0],n=[],o,s=-1;o=i.exec(t.buffer);)n.push(o.index),r.push(o.index+o[0].length),t.position<=o.index&&s<0&&(s=r.length-2);s<0&&(s=r.length-1);var a="",l,h,u=Math.min(t.line+e.linesAfter,n.length).toString().length,f=e.maxLength-(e.indent+u+3);for(l=1;l<=e.linesBefore&&!(s-l<0);l++)h=jr(t.buffer,r[s-l],n[s-l],t.position-(r[s]-r[s-l]),f),a=X.repeat(" ",e.indent)+Ur((t.line-l+1).toString(),u)+" | "+h.str+` +`+a;for(h=jr(t.buffer,r[s],n[s],t.position,f),a+=X.repeat(" ",e.indent)+Ur((t.line+1).toString(),u)+" | "+h.str+` +`,a+=X.repeat("-",e.indent+u+3+h.pos)+`^ +`,l=1;l<=e.linesAfter&&!(s+l>=n.length);l++)h=jr(t.buffer,r[s+l],n[s+l],t.position-(r[s]-r[s+l]),f),a+=X.repeat(" ",e.indent)+Ur((t.line+l+1).toString(),u)+" | "+h.str+` +`;return a.replace(/\n$/,"")}var rC=iC,nC=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],oC=["scalar","sequence","mapping"];function sC(t){var e={};return t!==null&&Object.keys(t).forEach(function(i){t[i].forEach(function(r){e[String(r)]=i})}),e}function aC(t,e){if(e=e||{},Object.keys(e).forEach(function(i){if(nC.indexOf(i)===-1)throw new Ft('Unknown option "'+i+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(i){return i},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=sC(e.styleAliases||null),oC.indexOf(this.kind)===-1)throw new Ft('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var G=aC;function Ts(t,e){var i=[];return t[e].forEach(function(r){var n=i.length;i.forEach(function(o,s){o.tag===r.tag&&o.kind===r.kind&&o.multi===r.multi&&(n=s)}),i[n]=r}),i}function lC(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,i;function r(n){n.multi?(t.multi[n.kind].push(n),t.multi.fallback.push(n)):t[n.kind][n.tag]=t.fallback[n.tag]=n}for(e=0,i=arguments.length;e<i;e+=1)arguments[e].forEach(r);return t}function gn(t){return this.extend(t)}gn.prototype.extend=function(e){var i=[],r=[];if(e instanceof G)r.push(e);else if(Array.isArray(e))r=r.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(i=i.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit));else throw new Ft("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.forEach(function(o){if(!(o instanceof G))throw new Ft("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(o.loadKind&&o.loadKind!=="scalar")throw new Ft("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(o.multi)throw new Ft("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(o){if(!(o instanceof G))throw new Ft("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(gn.prototype);return n.implicit=(this.implicit||[]).concat(i),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=Ts(n,"implicit"),n.compiledExplicit=Ts(n,"explicit"),n.compiledTypeMap=lC(n.compiledImplicit,n.compiledExplicit),n};var hC=gn,cC=new G("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),uC=new G("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),fC=new G("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),dC=new hC({explicit:[cC,uC,fC]});function pC(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function gC(){return null}function mC(t){return t===null}var _C=new G("tag:yaml.org,2002:null",{kind:"scalar",resolve:pC,construct:gC,predicate:mC,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function yC(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function CC(t){return t==="true"||t==="True"||t==="TRUE"}function xC(t){return Object.prototype.toString.call(t)==="[object Boolean]"}var bC=new G("tag:yaml.org,2002:bool",{kind:"scalar",resolve:yC,construct:CC,predicate:xC,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function TC(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function vC(t){return 48<=t&&t<=55}function kC(t){return 48<=t&&t<=57}function SC(t){if(t===null)return!1;var e=t.length,i=0,r=!1,n;if(!e)return!1;if(n=t[i],(n==="-"||n==="+")&&(n=t[++i]),n==="0"){if(i+1===e)return!0;if(n=t[++i],n==="b"){for(i++;i<e;i++)if(n=t[i],n!=="_"){if(n!=="0"&&n!=="1")return!1;r=!0}return r&&n!=="_"}if(n==="x"){for(i++;i<e;i++)if(n=t[i],n!=="_"){if(!TC(t.charCodeAt(i)))return!1;r=!0}return r&&n!=="_"}if(n==="o"){for(i++;i<e;i++)if(n=t[i],n!=="_"){if(!vC(t.charCodeAt(i)))return!1;r=!0}return r&&n!=="_"}}if(n==="_")return!1;for(;i<e;i++)if(n=t[i],n!=="_"){if(!kC(t.charCodeAt(i)))return!1;r=!0}return!(!r||n==="_")}function wC(t){var e=t,i=1,r;if(e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),r=e[0],(r==="-"||r==="+")&&(r==="-"&&(i=-1),e=e.slice(1),r=e[0]),e==="0")return 0;if(r==="0"){if(e[1]==="b")return i*parseInt(e.slice(2),2);if(e[1]==="x")return i*parseInt(e.slice(2),16);if(e[1]==="o")return i*parseInt(e.slice(2),8)}return i*parseInt(e,10)}function BC(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!X.isNegativeZero(t)}var AC=new G("tag:yaml.org,2002:int",{kind:"scalar",resolve:SC,construct:wC,predicate:BC,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),FC=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function LC(t){return!(t===null||!FC.test(t)||t[t.length-1]==="_")}function EC(t){var e,i;return e=t.replace(/_/g,"").toLowerCase(),i=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:i*parseFloat(e,10)}var OC=/^[-+]?[0-9]+e/;function IC(t,e){var i;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(X.isNegativeZero(t))return"-0.0";return i=t.toString(10),OC.test(i)?i.replace("e",".e"):i}function MC(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||X.isNegativeZero(t))}var NC=new G("tag:yaml.org,2002:float",{kind:"scalar",resolve:LC,construct:EC,predicate:MC,represent:IC,defaultStyle:"lowercase"}),Nl=dC.extend({implicit:[_C,bC,AC,NC]}),DC=Nl,Dl=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),$l=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function $C(t){return t===null?!1:Dl.exec(t)!==null||$l.exec(t)!==null}function RC(t){var e,i,r,n,o,s,a,l=0,h=null,u,f,c;if(e=Dl.exec(t),e===null&&(e=$l.exec(t)),e===null)throw new Error("Date resolve error");if(i=+e[1],r=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(i,r,n));if(o=+e[4],s=+e[5],a=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],f=+(e[11]||0),h=(u*60+f)*6e4,e[9]==="-"&&(h=-h)),c=new Date(Date.UTC(i,r,n,o,s,a,l)),h&&c.setTime(c.getTime()-h),c}function PC(t){return t.toISOString()}var qC=new G("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:$C,construct:RC,instanceOf:Date,represent:PC});function zC(t){return t==="<<"||t===null}var WC=new G("tag:yaml.org,2002:merge",{kind:"scalar",resolve:zC}),Yn=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function HC(t){if(t===null)return!1;var e,i,r=0,n=t.length,o=Yn;for(i=0;i<n;i++)if(e=o.indexOf(t.charAt(i)),!(e>64)){if(e<0)return!1;r+=6}return r%8===0}function jC(t){var e,i,r=t.replace(/[\r\n=]/g,""),n=r.length,o=Yn,s=0,a=[];for(e=0;e<n;e++)e%4===0&&e&&(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)),s=s<<6|o.indexOf(r.charAt(e));return i=n%4*6,i===0?(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)):i===18?(a.push(s>>10&255),a.push(s>>2&255)):i===12&&a.push(s>>4&255),new Uint8Array(a)}function UC(t){var e="",i=0,r,n,o=t.length,s=Yn;for(r=0;r<o;r++)r%3===0&&r&&(e+=s[i>>18&63],e+=s[i>>12&63],e+=s[i>>6&63],e+=s[i&63]),i=(i<<8)+t[r];return n=o%3,n===0?(e+=s[i>>18&63],e+=s[i>>12&63],e+=s[i>>6&63],e+=s[i&63]):n===2?(e+=s[i>>10&63],e+=s[i>>4&63],e+=s[i<<2&63],e+=s[64]):n===1&&(e+=s[i>>2&63],e+=s[i<<4&63],e+=s[64],e+=s[64]),e}function YC(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var VC=new G("tag:yaml.org,2002:binary",{kind:"scalar",resolve:HC,construct:jC,predicate:YC,represent:UC}),GC=Object.prototype.hasOwnProperty,XC=Object.prototype.toString;function KC(t){if(t===null)return!0;var e=[],i,r,n,o,s,a=t;for(i=0,r=a.length;i<r;i+=1){if(n=a[i],s=!1,XC.call(n)!=="[object Object]")return!1;for(o in n)if(GC.call(n,o))if(!s)s=!0;else return!1;if(!s)return!1;if(e.indexOf(o)===-1)e.push(o);else return!1}return!0}function ZC(t){return t!==null?t:[]}var JC=new G("tag:yaml.org,2002:omap",{kind:"sequence",resolve:KC,construct:ZC}),QC=Object.prototype.toString;function tx(t){if(t===null)return!0;var e,i,r,n,o,s=t;for(o=new Array(s.length),e=0,i=s.length;e<i;e+=1){if(r=s[e],QC.call(r)!=="[object Object]"||(n=Object.keys(r),n.length!==1))return!1;o[e]=[n[0],r[n[0]]]}return!0}function ex(t){if(t===null)return[];var e,i,r,n,o,s=t;for(o=new Array(s.length),e=0,i=s.length;e<i;e+=1)r=s[e],n=Object.keys(r),o[e]=[n[0],r[n[0]]];return o}var ix=new G("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:tx,construct:ex}),rx=Object.prototype.hasOwnProperty;function nx(t){if(t===null)return!0;var e,i=t;for(e in i)if(rx.call(i,e)&&i[e]!==null)return!1;return!0}function ox(t){return t!==null?t:{}}var sx=new G("tag:yaml.org,2002:set",{kind:"mapping",resolve:nx,construct:ox}),ax=DC.extend({implicit:[qC,WC],explicit:[VC,JC,ix,sx]}),$t=Object.prototype.hasOwnProperty,Gi=1,Rl=2,Pl=3,Xi=4,Yr=1,lx=2,vs=3,hx=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,cx=/[\x85\u2028\u2029]/,ux=/[,\[\]\{\}]/,ql=/^(?:!|!!|![a-z\-]+!)$/i,zl=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ks(t){return Object.prototype.toString.call(t)}function _t(t){return t===10||t===13}function Gt(t){return t===9||t===32}function rt(t){return t===9||t===32||t===10||t===13}function ue(t){return t===44||t===91||t===93||t===123||t===125}function fx(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}function dx(t){return t===120?2:t===117?4:t===85?8:0}function px(t){return 48<=t&&t<=57?t-48:-1}function Ss(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?` +`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"…":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}function gx(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var Wl=new Array(256),Hl=new Array(256);for(var ce=0;ce<256;ce++)Wl[ce]=Ss(ce)?1:0,Hl[ce]=Ss(ce);function mx(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||ax,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function jl(t,e){var i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return i.snippet=rC(i),new Ft(e,i)}function S(t,e){throw jl(t,e)}function Ki(t,e){t.onWarning&&t.onWarning.call(null,jl(t,e))}var ws={YAML:function(e,i,r){var n,o,s;e.version!==null&&S(e,"duplication of %YAML directive"),r.length!==1&&S(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),n===null&&S(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),s=parseInt(n[2],10),o!==1&&S(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=s<2,s!==1&&s!==2&&Ki(e,"unsupported YAML version of the document")},TAG:function(e,i,r){var n,o;r.length!==2&&S(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],ql.test(n)||S(e,"ill-formed tag handle (first argument) of the TAG directive"),$t.call(e.tagMap,n)&&S(e,'there is a previously declared suffix for "'+n+'" tag handle'),zl.test(o)||S(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{S(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function Nt(t,e,i,r){var n,o,s,a;if(e<i){if(a=t.input.slice(e,i),r)for(n=0,o=a.length;n<o;n+=1)s=a.charCodeAt(n),s===9||32<=s&&s<=1114111||S(t,"expected valid JSON character");else hx.test(a)&&S(t,"the stream contains non-printable characters");t.result+=a}}function Bs(t,e,i,r){var n,o,s,a;for(X.isObject(i)||S(t,"cannot merge mappings; the provided source object is unacceptable"),n=Object.keys(i),s=0,a=n.length;s<a;s+=1)o=n[s],$t.call(e,o)||(e[o]=i[o],r[o]=!0)}function fe(t,e,i,r,n,o,s,a,l){var h,u;if(Array.isArray(n))for(n=Array.prototype.slice.call(n),h=0,u=n.length;h<u;h+=1)Array.isArray(n[h])&&S(t,"nested arrays are not supported inside keys"),typeof n=="object"&&ks(n[h])==="[object Object]"&&(n[h]="[object Object]");if(typeof n=="object"&&ks(n)==="[object Object]"&&(n="[object Object]"),n=String(n),e===null&&(e={}),r==="tag:yaml.org,2002:merge")if(Array.isArray(o))for(h=0,u=o.length;h<u;h+=1)Bs(t,e,o[h],i);else Bs(t,e,o,i);else!t.json&&!$t.call(i,n)&&$t.call(e,n)&&(t.line=s||t.line,t.lineStart=a||t.lineStart,t.position=l||t.position,S(t,"duplicated mapping key")),n==="__proto__"?Object.defineProperty(e,n,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[n]=o,delete i[n];return e}function Vn(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):S(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function q(t,e,i){for(var r=0,n=t.input.charCodeAt(t.position);n!==0;){for(;Gt(n);)n===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),n=t.input.charCodeAt(++t.position);if(e&&n===35)do n=t.input.charCodeAt(++t.position);while(n!==10&&n!==13&&n!==0);if(_t(n))for(Vn(t),n=t.input.charCodeAt(t.position),r++,t.lineIndent=0;n===32;)t.lineIndent++,n=t.input.charCodeAt(++t.position);else break}return i!==-1&&r!==0&&t.lineIndent<i&&Ki(t,"deficient indentation"),r}function mr(t){var e=t.position,i;return i=t.input.charCodeAt(e),!!((i===45||i===46)&&i===t.input.charCodeAt(e+1)&&i===t.input.charCodeAt(e+2)&&(e+=3,i=t.input.charCodeAt(e),i===0||rt(i)))}function Gn(t,e){e===1?t.result+=" ":e>1&&(t.result+=X.repeat(` +`,e-1))}function _x(t,e,i){var r,n,o,s,a,l,h,u,f=t.kind,c=t.result,p;if(p=t.input.charCodeAt(t.position),rt(p)||ue(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(n=t.input.charCodeAt(t.position+1),rt(n)||i&&ue(n)))return!1;for(t.kind="scalar",t.result="",o=s=t.position,a=!1;p!==0;){if(p===58){if(n=t.input.charCodeAt(t.position+1),rt(n)||i&&ue(n))break}else if(p===35){if(r=t.input.charCodeAt(t.position-1),rt(r))break}else{if(t.position===t.lineStart&&mr(t)||i&&ue(p))break;if(_t(p))if(l=t.line,h=t.lineStart,u=t.lineIndent,q(t,!1,-1),t.lineIndent>=e){a=!0,p=t.input.charCodeAt(t.position);continue}else{t.position=s,t.line=l,t.lineStart=h,t.lineIndent=u;break}}a&&(Nt(t,o,s,!1),Gn(t,t.line-l),o=s=t.position,a=!1),Gt(p)||(s=t.position+1),p=t.input.charCodeAt(++t.position)}return Nt(t,o,s,!1),t.result?!0:(t.kind=f,t.result=c,!1)}function yx(t,e){var i,r,n;if(i=t.input.charCodeAt(t.position),i!==39)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;(i=t.input.charCodeAt(t.position))!==0;)if(i===39)if(Nt(t,r,t.position,!0),i=t.input.charCodeAt(++t.position),i===39)r=t.position,t.position++,n=t.position;else return!0;else _t(i)?(Nt(t,r,n,!0),Gn(t,q(t,!1,e)),r=n=t.position):t.position===t.lineStart&&mr(t)?S(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);S(t,"unexpected end of the stream within a single quoted scalar")}function Cx(t,e){var i,r,n,o,s,a;if(a=t.input.charCodeAt(t.position),a!==34)return!1;for(t.kind="scalar",t.result="",t.position++,i=r=t.position;(a=t.input.charCodeAt(t.position))!==0;){if(a===34)return Nt(t,i,t.position,!0),t.position++,!0;if(a===92){if(Nt(t,i,t.position,!0),a=t.input.charCodeAt(++t.position),_t(a))q(t,!1,e);else if(a<256&&Wl[a])t.result+=Hl[a],t.position++;else if((s=dx(a))>0){for(n=s,o=0;n>0;n--)a=t.input.charCodeAt(++t.position),(s=fx(a))>=0?o=(o<<4)+s:S(t,"expected hexadecimal character");t.result+=gx(o),t.position++}else S(t,"unknown escape sequence");i=r=t.position}else _t(a)?(Nt(t,i,r,!0),Gn(t,q(t,!1,e)),i=r=t.position):t.position===t.lineStart&&mr(t)?S(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}S(t,"unexpected end of the stream within a double quoted scalar")}function xx(t,e){var i=!0,r,n,o,s=t.tag,a,l=t.anchor,h,u,f,c,p,y=Object.create(null),x,T,L,C;if(C=t.input.charCodeAt(t.position),C===91)u=93,p=!1,a=[];else if(C===123)u=125,p=!0,a={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=a),C=t.input.charCodeAt(++t.position);C!==0;){if(q(t,!0,e),C=t.input.charCodeAt(t.position),C===u)return t.position++,t.tag=s,t.anchor=l,t.kind=p?"mapping":"sequence",t.result=a,!0;i?C===44&&S(t,"expected the node content, but found ','"):S(t,"missed comma between flow collection entries"),T=x=L=null,f=c=!1,C===63&&(h=t.input.charCodeAt(t.position+1),rt(h)&&(f=c=!0,t.position++,q(t,!0,e))),r=t.line,n=t.lineStart,o=t.position,Te(t,e,Gi,!1,!0),T=t.tag,x=t.result,q(t,!0,e),C=t.input.charCodeAt(t.position),(c||t.line===r)&&C===58&&(f=!0,C=t.input.charCodeAt(++t.position),q(t,!0,e),Te(t,e,Gi,!1,!0),L=t.result),p?fe(t,a,y,T,x,L,r,n,o):f?a.push(fe(t,null,y,T,x,L,r,n,o)):a.push(x),q(t,!0,e),C=t.input.charCodeAt(t.position),C===44?(i=!0,C=t.input.charCodeAt(++t.position)):i=!1}S(t,"unexpected end of the stream within a flow collection")}function bx(t,e){var i,r,n=Yr,o=!1,s=!1,a=e,l=0,h=!1,u,f;if(f=t.input.charCodeAt(t.position),f===124)r=!1;else if(f===62)r=!0;else return!1;for(t.kind="scalar",t.result="";f!==0;)if(f=t.input.charCodeAt(++t.position),f===43||f===45)Yr===n?n=f===43?vs:lx:S(t,"repeat of a chomping mode identifier");else if((u=px(f))>=0)u===0?S(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?S(t,"repeat of an indentation width identifier"):(a=e+u-1,s=!0);else break;if(Gt(f)){do f=t.input.charCodeAt(++t.position);while(Gt(f));if(f===35)do f=t.input.charCodeAt(++t.position);while(!_t(f)&&f!==0)}for(;f!==0;){for(Vn(t),t.lineIndent=0,f=t.input.charCodeAt(t.position);(!s||t.lineIndent<a)&&f===32;)t.lineIndent++,f=t.input.charCodeAt(++t.position);if(!s&&t.lineIndent>a&&(a=t.lineIndent),_t(f)){l++;continue}if(t.lineIndent<a){n===vs?t.result+=X.repeat(` +`,o?1+l:l):n===Yr&&o&&(t.result+=` +`);break}for(r?Gt(f)?(h=!0,t.result+=X.repeat(` +`,o?1+l:l)):h?(h=!1,t.result+=X.repeat(` +`,l+1)):l===0?o&&(t.result+=" "):t.result+=X.repeat(` +`,l):t.result+=X.repeat(` +`,o?1+l:l),o=!0,s=!0,l=0,i=t.position;!_t(f)&&f!==0;)f=t.input.charCodeAt(++t.position);Nt(t,i,t.position,!1)}return!0}function As(t,e){var i,r=t.tag,n=t.anchor,o=[],s,a=!1,l;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=o),l=t.input.charCodeAt(t.position);l!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,S(t,"tab characters must not be used in indentation")),!(l!==45||(s=t.input.charCodeAt(t.position+1),!rt(s))));){if(a=!0,t.position++,q(t,!0,-1)&&t.lineIndent<=e){o.push(null),l=t.input.charCodeAt(t.position);continue}if(i=t.line,Te(t,e,Pl,!1,!0),o.push(t.result),q(t,!0,-1),l=t.input.charCodeAt(t.position),(t.line===i||t.lineIndent>e)&&l!==0)S(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return a?(t.tag=r,t.anchor=n,t.kind="sequence",t.result=o,!0):!1}function Tx(t,e,i){var r,n,o,s,a,l,h=t.tag,u=t.anchor,f={},c=Object.create(null),p=null,y=null,x=null,T=!1,L=!1,C;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=f),C=t.input.charCodeAt(t.position);C!==0;){if(!T&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,S(t,"tab characters must not be used in indentation")),r=t.input.charCodeAt(t.position+1),o=t.line,(C===63||C===58)&&rt(r))C===63?(T&&(fe(t,f,c,p,y,null,s,a,l),p=y=x=null),L=!0,T=!0,n=!0):T?(T=!1,n=!0):S(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,C=r;else{if(s=t.line,a=t.lineStart,l=t.position,!Te(t,i,Rl,!1,!0))break;if(t.line===o){for(C=t.input.charCodeAt(t.position);Gt(C);)C=t.input.charCodeAt(++t.position);if(C===58)C=t.input.charCodeAt(++t.position),rt(C)||S(t,"a whitespace character is expected after the key-value separator within a block mapping"),T&&(fe(t,f,c,p,y,null,s,a,l),p=y=x=null),L=!0,T=!1,n=!1,p=t.tag,y=t.result;else if(L)S(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=h,t.anchor=u,!0}else if(L)S(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=h,t.anchor=u,!0}if((t.line===o||t.lineIndent>e)&&(T&&(s=t.line,a=t.lineStart,l=t.position),Te(t,e,Xi,!0,n)&&(T?y=t.result:x=t.result),T||(fe(t,f,c,p,y,x,s,a,l),p=y=x=null),q(t,!0,-1),C=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&C!==0)S(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return T&&fe(t,f,c,p,y,null,s,a,l),L&&(t.tag=h,t.anchor=u,t.kind="mapping",t.result=f),L}function vx(t){var e,i=!1,r=!1,n,o,s;if(s=t.input.charCodeAt(t.position),s!==33)return!1;if(t.tag!==null&&S(t,"duplication of a tag property"),s=t.input.charCodeAt(++t.position),s===60?(i=!0,s=t.input.charCodeAt(++t.position)):s===33?(r=!0,n="!!",s=t.input.charCodeAt(++t.position)):n="!",e=t.position,i){do s=t.input.charCodeAt(++t.position);while(s!==0&&s!==62);t.position<t.length?(o=t.input.slice(e,t.position),s=t.input.charCodeAt(++t.position)):S(t,"unexpected end of the stream within a verbatim tag")}else{for(;s!==0&&!rt(s);)s===33&&(r?S(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),ql.test(n)||S(t,"named tag handle cannot contain such characters"),r=!0,e=t.position+1)),s=t.input.charCodeAt(++t.position);o=t.input.slice(e,t.position),ux.test(o)&&S(t,"tag suffix cannot contain flow indicator characters")}o&&!zl.test(o)&&S(t,"tag name cannot contain such characters: "+o);try{o=decodeURIComponent(o)}catch{S(t,"tag name is malformed: "+o)}return i?t.tag=o:$t.call(t.tagMap,n)?t.tag=t.tagMap[n]+o:n==="!"?t.tag="!"+o:n==="!!"?t.tag="tag:yaml.org,2002:"+o:S(t,'undeclared tag handle "'+n+'"'),!0}function kx(t){var e,i;if(i=t.input.charCodeAt(t.position),i!==38)return!1;for(t.anchor!==null&&S(t,"duplication of an anchor property"),i=t.input.charCodeAt(++t.position),e=t.position;i!==0&&!rt(i)&&!ue(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&S(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Sx(t){var e,i,r;if(r=t.input.charCodeAt(t.position),r!==42)return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!rt(r)&&!ue(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&S(t,"name of an alias node must contain at least one character"),i=t.input.slice(e,t.position),$t.call(t.anchorMap,i)||S(t,'unidentified alias "'+i+'"'),t.result=t.anchorMap[i],q(t,!0,-1),!0}function Te(t,e,i,r,n){var o,s,a,l=1,h=!1,u=!1,f,c,p,y,x,T;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=s=a=Xi===i||Pl===i,r&&q(t,!0,-1)&&(h=!0,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent<e&&(l=-1)),l===1)for(;vx(t)||kx(t);)q(t,!0,-1)?(h=!0,a=o,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent<e&&(l=-1)):a=!1;if(a&&(a=h||n),(l===1||Xi===i)&&(Gi===i||Rl===i?x=e:x=e+1,T=t.position-t.lineStart,l===1?a&&(As(t,T)||Tx(t,T,x))||xx(t,x)?u=!0:(s&&bx(t,x)||yx(t,x)||Cx(t,x)?u=!0:Sx(t)?(u=!0,(t.tag!==null||t.anchor!==null)&&S(t,"alias node should not have any properties")):_x(t,x,Gi===i)&&(u=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):l===0&&(u=a&&As(t,T))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&S(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),f=0,c=t.implicitTypes.length;f<c;f+=1)if(y=t.implicitTypes[f],y.resolve(t.result)){t.result=y.construct(t.result),t.tag=y.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if($t.call(t.typeMap[t.kind||"fallback"],t.tag))y=t.typeMap[t.kind||"fallback"][t.tag];else for(y=null,p=t.typeMap.multi[t.kind||"fallback"],f=0,c=p.length;f<c;f+=1)if(t.tag.slice(0,p[f].tag.length)===p[f].tag){y=p[f];break}y||S(t,"unknown tag !<"+t.tag+">"),t.result!==null&&y.kind!==t.kind&&S(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+y.kind+'", not "'+t.kind+'"'),y.resolve(t.result,t.tag)?(t.result=y.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):S(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||u}function wx(t){var e=t.position,i,r,n,o=!1,s;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(s=t.input.charCodeAt(t.position))!==0&&(q(t,!0,-1),s=t.input.charCodeAt(t.position),!(t.lineIndent>0||s!==37));){for(o=!0,s=t.input.charCodeAt(++t.position),i=t.position;s!==0&&!rt(s);)s=t.input.charCodeAt(++t.position);for(r=t.input.slice(i,t.position),n=[],r.length<1&&S(t,"directive name must not be less than one character in length");s!==0;){for(;Gt(s);)s=t.input.charCodeAt(++t.position);if(s===35){do s=t.input.charCodeAt(++t.position);while(s!==0&&!_t(s));break}if(_t(s))break;for(i=t.position;s!==0&&!rt(s);)s=t.input.charCodeAt(++t.position);n.push(t.input.slice(i,t.position))}s!==0&&Vn(t),$t.call(ws,r)?ws[r](t,r,n):Ki(t,'unknown document directive "'+r+'"')}if(q(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,q(t,!0,-1)):o&&S(t,"directives end mark is expected"),Te(t,t.lineIndent-1,Xi,!1,!0),q(t,!0,-1),t.checkLineBreaks&&cx.test(t.input.slice(e,t.position))&&Ki(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&mr(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,q(t,!0,-1));return}if(t.position<t.length-1)S(t,"end of the stream or a document separator is expected");else return}function Ul(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=` +`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var i=new mx(t,e),r=t.indexOf("\0");for(r!==-1&&(i.position=r,S(i,"null byte is not allowed in input")),i.input+="\0";i.input.charCodeAt(i.position)===32;)i.lineIndent+=1,i.position+=1;for(;i.position<i.length-1;)wx(i);return i.documents}function Bx(t,e,i){e!==null&&typeof e=="object"&&typeof i>"u"&&(i=e,e=null);var r=Ul(t,i);if(typeof e!="function")return r;for(var n=0,o=r.length;n<o;n+=1)e(r[n])}function Ax(t,e){var i=Ul(t,e);if(i.length!==0){if(i.length===1)return i[0];throw new Ft("expected a single document in the stream, but found more")}}var Fx=Bx,Lx=Ax,Ex={loadAll:Fx,load:Lx},Ox=Nl,Ix=Ex.load;function Mx(t){const e=t.match(Xa);if(!e)return{text:t,metadata:{}};let i=Ix(e[1],{schema:Ox})??{};i=typeof i=="object"&&!Array.isArray(i)?i:{};const r={};return i.displayMode&&(r.displayMode=i.displayMode.toString()),i.title&&(r.title=i.title.toString()),i.config&&(r.config=i.config),{text:t.slice(e[0].length),metadata:r}}const Nx=t=>t.replace(/\r\n?/g,` +`).replace(/<(\w+)([^>]*)>/g,(e,i,r)=>"<"+i+r.replace(/="([^"]*)"/g,"='$1'")+">"),Dx=t=>{const{text:e,metadata:i}=Mx(t),{displayMode:r,title:n,config:o={}}=i;return r&&(o.gantt||(o.gantt={}),o.gantt.displayMode=r),{title:n,config:o,text:e}},$x=t=>{const e=je.detectInit(t)??{},i=je.detectDirective(t,"wrap");return Array.isArray(i)?e.wrap=i.some(({type:r})=>{}):i?.type==="wrap"&&(e.wrap=!0),{text:a0(t),directive:e}};function Yl(t){const e=Nx(t),i=Dx(e),r=$x(i.text),n=il(i.config,r.directive);return t=jy(r.text),{code:t,title:i.title,config:n}}const Rx=5e4,Px="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",qx="sandbox",zx="loose",Wx="http://www.w3.org/2000/svg",Hx="http://www.w3.org/1999/xlink",jx="http://www.w3.org/1999/xhtml",Ux="100%",Yx="100%",Vx="border:0;margin:0;",Gx="margin:0",Xx="allow-top-navigation-by-user-activation allow-popups",Kx='The "iframe" tag is not supported by your browser.',Zx=["foreignobject"],Jx=["dominant-baseline"];function Vl(t){const e=Yl(t);return Ui(),I0(e.config??{}),e}async function Qx(t,e){Un(),t=Vl(t).code;try{await Xn(t)}catch(i){if(e?.suppressErrors)return!1;throw i}return!0}const Fs=(t,e,i=[])=>` +.${t} ${e} { ${i.join(" !important; ")} !important; }`,tb=(t,e={})=>{var i;let r="";if(t.themeCSS!==void 0&&(r+=` +${t.themeCSS}`),t.fontFamily!==void 0&&(r+=` +:root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(r+=` +:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!Hr(e)){const a=t.htmlLabels||((i=t.flowchart)==null?void 0:i.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const l in e){const h=e[l];Hr(h.styles)||a.forEach(u=>{r+=Fs(h.id,u,h.styles)}),Hr(h.textStyles)||(r+=Fs(h.id,"tspan",h.textStyles))}}return r},eb=(t,e,i,r)=>{const n=tb(t,i),o=Q_(e,n,t.themeVariables);return ln(fm(`${r}{${o}}`),pm)},ib=(t="",e,i)=>{let r=t;return!i&&!e&&(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=F0(r),r=r.replace(/<br>/g,"<br/>"),r},rb=(t="",e)=>{var i,r;const n=(r=(i=e?.viewBox)==null?void 0:i.baseVal)!=null&&r.height?e.viewBox.baseVal.height+"px":Yx,o=btoa('<body style="'+Gx+'">'+t+"</body>");return`<iframe style="width:${Ux};height:${n};${Vx}" src="data:text/html;base64,${o}" sandbox="${Xx}"> + ${Kx} +</iframe>`},Ls=(t,e,i,r,n)=>{const o=t.append("div");o.attr("id",i),r&&o.attr("style",r);const s=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns",Wx);return n&&s.attr("xmlns:xlink",n),s.append("g"),t};function Es(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const nb=(t,e,i,r)=>{var n,o,s;(n=t.getElementById(e))==null||n.remove(),(o=t.getElementById(i))==null||o.remove(),(s=t.getElementById(r))==null||s.remove()},ob=async function(t,e,i){var r,n,o,s,a,l;Un();const h=Vl(e);e=h.code;const u=Ct();w.debug(u),e.length>(u?.maxTextSize??Rx)&&(e=Px);const f="#"+t,c="i"+t,p="#"+c,y="d"+t,x="#"+y;let T=lt("body");const L=u.securityLevel===qx,C=u.securityLevel===zx,E=u.fontFamily;if(i!==void 0){if(i&&(i.innerHTML=""),L){const M=Es(lt(i),c);T=lt(M.nodes()[0].contentDocument.body),T.node().style.margin=0}else T=lt(i);Ls(T,t,y,`font-family: ${E}`,Hx)}else{if(nb(document,t,y,c),L){const M=Es(lt("body"),c);T=lt(M.nodes()[0].contentDocument.body),T.node().style.margin=0}else T=lt("body");Ls(T,t,y)}let I,z;try{I=await Xn(e,{title:h.title})}catch(M){I=new Ol("error"),z=M}const J=T.select(x).node(),O=I.type,ai=J.firstChild,_r=ai.firstChild,st=(n=(r=I.renderer).getClasses)==null?void 0:n.call(r,e,I),we=eb(u,O,st,f),ee=document.createElement("style");ee.innerHTML=we,ai.insertBefore(ee,_r);try{await I.renderer.draw(e,t,ys,I)}catch(M){throw my.draw(e,t,ys),M}const Be=T.select(`${x} svg`),yr=(s=(o=I.db).getAccTitle)==null?void 0:s.call(o),Cr=(l=(a=I.db).getAccDescription)==null?void 0:l.call(a);ab(O,Be,yr,Cr),T.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",jx);let Tt=T.select(x).node().innerHTML;if(w.debug("config.arrowMarkerAbsolute",u.arrowMarkerAbsolute),Tt=ib(Tt,L,Ya(u.arrowMarkerAbsolute)),L){const M=T.select(x+" svg").node();Tt=rb(Tt,M)}else C||(Tt=_e.sanitize(Tt,{ADD_TAGS:Zx,ADD_ATTR:Jx}));if(qy(),z)throw z;const ie=lt(L?p:x).node();return ie&&"remove"in ie&&ie.remove(),{svg:Tt,bindFunctions:I.db.bindFunctions}};function sb(t={}){var e;t?.fontFamily&&!((e=t.themeVariables)!=null&&e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),E0(t),t?.theme&&t.theme in Lt?t.themeVariables=Lt[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Lt.default.getThemeVariables(t.themeVariables));const i=typeof t=="object"?L0(t):nl();Mn(i.logLevel),Un()}const Xn=(t,e={})=>{const{code:i}=Yl(t);return Py(i,e)};function ab(t,e,i,r){Wy(e,t),Hy(e,i,r,e.attr("id"))}const Zt=Object.freeze({render:ob,parse:Qx,getDiagramFromText:Xn,initialize:sb,getConfig:Ct,setConfig:ol,getSiteConfig:nl,updateSiteConfig:O0,reset:()=>{Ui()},globalReset:()=>{Ui(xe)},defaultConfig:xe});Mn(Ct().logLevel);Ui(Ct());const lb=async()=>{w.debug("Loading registered diagrams");const e=(await Promise.allSettled(Object.entries(Ce).map(async([i,{detector:r,loader:n}])=>{if(n)try{jn(i)}catch{try{const{diagram:s,id:a}=await n();Vi(a,s,r)}catch(s){throw w.error(`Failed to load external diagram with key ${i}. Removing from detectors.`),delete Ce[i],s}}}))).filter(i=>i.status==="rejected");if(e.length>0){w.error(`Failed to load ${e.length} external diagrams`);for(const i of e)w.error(i);throw new Error(`Failed to load ${e.length} external diagrams`)}},hb=(t,e,i)=>{w.warn(t),el(t)?(i&&i(t.str,t.hash),e.push({...t,message:t.str,error:t})):(i&&i(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},Gl=async function(t={querySelector:".mermaid"}){try{await cb(t)}catch(e){if(el(e)&&w.error(e.str),pt.parseError&&pt.parseError(e),!t.suppressErrors)throw w.error("Use the suppressErrors option to suppress these errors"),e}},cb=async function({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const r=Zt.getConfig();w.debug(`${t?"":"No "}Callback function found`);let n;if(i)n=i;else if(e)n=document.querySelectorAll(e);else throw new Error("Nodes and querySelector are both undefined");w.debug(`Found ${n.length} diagrams`),r?.startOnLoad!==void 0&&(w.debug("Start On Load: "+r?.startOnLoad),Zt.updateSiteConfig({startOnLoad:r?.startOnLoad}));const o=new je.InitIDGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const a=[];for(const l of Array.from(n)){w.info("Rendering diagram: "+l.id);/*! Check if previously processed */if(l.getAttribute("data-processed"))continue;l.setAttribute("data-processed","true");const h=`mermaid-${o.next()}`;s=l.innerHTML,s=hh(je.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const u=je.detectInit(s);u&&w.debug("Detected early reinit: ",u);try{const{svg:f,bindFunctions:c}=await Jl(h,s,l);l.innerHTML=f,t&&await t(h),c&&c(l)}catch(f){hb(f,a,pt.parseError)}}if(a.length>0)throw a[0]},Xl=function(t){Zt.initialize(t)},ub=async function(t,e,i){w.warn("mermaid.init is deprecated. Please use run instead."),t&&Xl(t);const r={postRenderCallback:i,querySelector:".mermaid"};typeof e=="string"?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await Gl(r)},fb=async(t,{lazyLoad:e=!0}={})=>{Za(...t),e===!1&&await lb()},Kl=function(){if(pt.startOnLoad){const{startOnLoad:t}=Zt.getConfig();t&&pt.run().catch(e=>w.error("Mermaid failed to initialize",e))}};if(typeof document<"u"){/*! + * Wait for document loaded before starting the execution + */window.addEventListener("load",Kl,!1)}const db=function(t){pt.parseError=t},Zi=[];let Vr=!1;const Zl=async()=>{if(!Vr){for(Vr=!0;Zi.length>0;){const t=Zi.shift();if(t)try{await t()}catch(e){w.error("Error executing queue",e)}}Vr=!1}},pb=async(t,e)=>new Promise((i,r)=>{const n=()=>new Promise((o,s)=>{Zt.parse(t,e).then(a=>{o(a),i(a)},a=>{var l;w.error("Error parsing",a),(l=pt.parseError)==null||l.call(pt,a),s(a),r(a)})});Zi.push(n),Zl().catch(r)}),Jl=(t,e,i)=>new Promise((r,n)=>{const o=()=>new Promise((s,a)=>{Zt.render(t,e,i).then(l=>{s(l),r(l)},l=>{var h;w.error("Error parsing",l),(h=pt.parseError)==null||h.call(pt,l),a(l),n(l)})});Zi.push(o),Zl().catch(n)}),pt={startOnLoad:!0,mermaidAPI:Zt,parse:pb,render:Jl,init:ub,run:Gl,registerExternalDiagrams:fb,initialize:Xl,parseError:void 0,contentLoaded:Kl,setParseErrorHandler:db,detectType:pr},Nb=Object.freeze(Object.defineProperty({__proto__:null,default:pt},Symbol.toStringTag,{value:"Module"}));export{ay as $,C0 as A,py as B,yt as C,vn as D,xb as E,vb as F,$o as G,Do as H,Sb as I,kb as J,Tb as K,yb as L,Cb as M,Bb as N,wb as O,bb as P,Vm as Q,Qm as R,Rn as S,Ab as T,A as U,K_ as V,m0 as W,h0 as X,Sf as Y,r0 as Z,_0 as _,ny as a,Ea as a$,ni as a0,k as a1,B as a2,Ct as a3,ze as a4,il as a5,ot as a6,Us as a7,_h as a8,Vp as a9,Ra as aA,Na as aB,kg as aC,Cg as aD,qg as aE,Zg as aF,si as aG,ve as aH,Pi as aI,Eg as aJ,ym as aK,oi as aL,zi as aM,Sg as aN,Fa as aO,Sp as aP,wp as aQ,Sm as aR,os as aS,Bp as aT,Ln as aU,kp as aV,Ep as aW,ke as aX,Rt as aY,ts as aZ,En as a_,An as aa,yn as ab,Ys as ac,it as ad,ri as ae,tu as af,Xs as ag,_b as ah,Cn as ai,Mt as aj,Ge as ak,Lo as al,au as am,hh as an,Jt as ao,Vg as ap,Pg as aq,bt as ar,Gg as as,Xg as at,Da as au,nr as av,lr as aw,Wi as ax,Tp as ay,Fn as az,ry as b,un as b0,$p as b1,Hr as b2,pt as b3,Nb as b4,Hn as c,ti as d,V as e,ji as f,iy as g,lt as h,Sl as i,Nn as j,k0 as k,w as l,Os as m,ur as n,Mb as o,oy as p,sy as q,ty as r,ey as s,Ya as t,je as u,F0 as v,T0 as w,Af as x,Ib as y,uy as z}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./c4Diagram-b947cdbb-Il_bHRLf.js","./svgDrawCommon-0ee1b4e9-rINZtLwd.js","./request-bY2SEZNN.js","./toast-dlXalurG.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./motion-minimal-epsqYg85.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js","./flowDiagram-d949d7c1-FhTH9wIP.js","./flowDb-d35e309a-9jgYoDxp.js","./graph-sxtH378E.js","./layout-NmVD1Bdh.js","./styles-7383a064-uYdOnhj8.js","./index-8fae9850-9Qn4OyWZ.js","./clone-EVmACGI0.js","./edges-d417c7a0-ff79nGD3.js","./createText-423428c9-K2AvnXL1.js","./index.demo-Ru9opRL4.js","./index-ISduWuPC.js","./FormInput-i0fsPScC.js","./viewport-l4O6ZIBM.js","./LinkCard-AonZnIUQ.js","./image-fdtjzFNr.js","./provider-XKwIHqOQ.js","./use-is-unmounted-dmgvzXDy.js","./spring-hnK4kZop.js","./use-event-callback-ULpIcVk8.js","./dom-NuJWIaAq.js","./visual-element-tlU1-krp.js","./index-LA8z4iWc.js","./use-is-client-6Iy0halI.js","./LinkCard-YJIkKfPg.css","./AutoResizeHeight-dtcKGJMw.js","./lodash-lrAbnKsZ.js","./use-is-dark-IiysOCcN.js","./Gallery-QJ8JjQGt.js","./Gallery-cCMf-PmV.css","./alert-fERsLyJJ.js","./FloatPopover-3waN72gb.js","./SocialSourceLink-Fjgxzjol.js","./CodeHighlighter-Mm1eioOt.js","./CodeHighlighter-hcFZa2QO.css","./Collapse-btcJozxA.js","./useQuery-3CoUXB5U.js","./alert--DRvt2nk.css","./index-HwaUk8nX.js","./CodeEditor-AByBrAxP.js","./index-D4F-WjWJ.js","./Mermaid-gWIn58QC.js","./Form-kbLn7dW2.js","./index-fcBMwXcr.css","./line-NZ5yCA7P.js","./array-Nw74a44z.js","./path-aUcfwwLI.js","./channel-OM_5qmCK.js","./flowDiagram-v2-49332944-bbCeKMG1.js","./erDiagram-0ea73325-Pq7U_8eA.js","./gitGraphDiagram-b9d81de9-ZTHGR0Gg.js","./ganttDiagram-5c869e3b-HgrHqoyj.js","./customParseFormat-0gR3iPzn.js","./linear-2m3rEmg6.js","./init-Hi12RPRh.js","./infoDiagram-db7b18fc-SaLgFibE.js","./pieDiagram-b0208e96-PTCn6YW_.js","./arc-O3u_vsTK.js","./ordinal-wXG5obU4.js","./quadrantDiagram-0332be45-5LfNbf_o.js","./xychartDiagram-e50adddc-5XzaGkt4.js","./requirementDiagram-bf7890df-7TsdWypu.js","./sequenceDiagram-c18d009d-AMW6u50R.js","./classDiagram-35230388-zoCVQU12.js","./styles-6860f46c-fINRrQD8.js","./classDiagram-v2-412acd34-pDNqrkUC.js","./stateDiagram-43596fc0-LawEOpXe.js","./styles-b2c874b6-q8ICnJtC.js","./stateDiagram-v2-2ead4f9c-mA2wVSPE.js","./journeyDiagram-d5636530-wsnii4kk.js","./flowchart-elk-definition-27cc417a-5Xo4tK2O.js","./timeline-definition-d977decf-XO89Jwmj.js","./mindmap-definition-377f8f1f-dqkZrAsn.js","./sankeyDiagram-0acdec17-SleWA8cW.js","./Tableau10-Fgclqpgn.js","./blockDiagram-6b2b5046-Us_ohvsH.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/mindmap-definition-377f8f1f-dqkZrAsn.js b/assets/mindmap-definition-377f8f1f-dqkZrAsn.js new file mode 100644 index 00000000000..8bdc6cffa79 --- /dev/null +++ b/assets/mindmap-definition-377f8f1f-dqkZrAsn.js @@ -0,0 +1,109 @@ +import{l as ur,c as Qn,B as _l,V as Ul,R as _a,d as Ua,h as Hl,a0 as Yl,a1 as Xl,a2 as Wl,S as ql}from"./mermaid.core-wTs8WatG.js";import{c as Vt,g as Ys}from"./index-ZXl4th35.js";import{c as Kl}from"./createText-423428c9-K2AvnXL1.js";import"./request-bY2SEZNN.js";import"./index.demo-Ru9opRL4.js";import"./index-ISduWuPC.js";import"./FormInput-i0fsPScC.js";import"./viewport-l4O6ZIBM.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./LinkCard-AonZnIUQ.js";import"./image-fdtjzFNr.js";import"./provider-XKwIHqOQ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./use-is-client-6Iy0halI.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./lodash-lrAbnKsZ.js";import"./use-is-dark-IiysOCcN.js";import"./Gallery-QJ8JjQGt.js";import"./alert-fERsLyJJ.js";import"./FloatPopover-3waN72gb.js";import"./SocialSourceLink-Fjgxzjol.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";import"./index-HwaUk8nX.js";import"./CodeEditor-AByBrAxP.js";import"./index-D4F-WjWJ.js";import"./Mermaid-gWIn58QC.js";import"./Form-kbLn7dW2.js";function Zl(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var la=Zl,Ql=typeof Vt=="object"&&Vt&&Vt.Object===Object&&Vt,Jl=Ql,jl=Jl,eu=typeof self=="object"&&self&&self.Object===Object&&self,tu=jl||eu||Function("return this")(),tn=tu,ru=tn,au=function(){return ru.Date.now()},nu=au,iu=/\s/;function su(t){for(var e=t.length;e--&&iu.test(t.charAt(e)););return e}var ou=su,lu=ou,uu=/^\s+/;function fu(t){return t&&t.slice(0,lu(t)+1).replace(uu,"")}var hu=fu,vu=tn,cu=vu.Symbol,Jn=cu,Li=Jn,Xs=Object.prototype,du=Xs.hasOwnProperty,gu=Xs.toString,Vr=Li?Li.toStringTag:void 0;function pu(t){var e=du.call(t,Vr),r=t[Vr];try{t[Vr]=void 0;var a=!0}catch{}var n=gu.call(t);return a&&(e?t[Vr]=r:delete t[Vr]),n}var yu=pu,mu=Object.prototype,bu=mu.toString;function Eu(t){return bu.call(t)}var wu=Eu,Ai=Jn,xu=yu,Tu=wu,Cu="[object Null]",Du="[object Undefined]",Oi=Ai?Ai.toStringTag:void 0;function Su(t){return t==null?t===void 0?Du:Cu:Oi&&Oi in Object(t)?xu(t):Tu(t)}var Ws=Su;function Lu(t){return t!=null&&typeof t=="object"}var Au=Lu,Ou=Ws,Nu=Au,Iu="[object Symbol]";function Mu(t){return typeof t=="symbol"||Nu(t)&&Ou(t)==Iu}var ua=Mu,Ru=hu,Ni=la,ku=ua,Ii=NaN,Pu=/^[-+]0x[0-9a-f]+$/i,Bu=/^0b[01]+$/i,Fu=/^0o[0-7]+$/i,Gu=parseInt;function zu(t){if(typeof t=="number")return t;if(ku(t))return Ii;if(Ni(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Ni(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=Ru(t);var r=Bu.test(t);return r||Fu.test(t)?Gu(t.slice(2),r?2:8):Pu.test(t)?Ii:+t}var $u=zu,Vu=la,Tn=nu,Mi=$u,_u="Expected a function",Uu=Math.max,Hu=Math.min;function Yu(t,e,r){var a,n,i,s,o,l,u=0,f=!1,h=!1,c=!0;if(typeof t!="function")throw new TypeError(_u);e=Mi(e)||0,Vu(r)&&(f=!!r.leading,h="maxWait"in r,i=h?Uu(Mi(r.maxWait)||0,e):i,c="trailing"in r?!!r.trailing:c);function v(S){var b=a,x=n;return a=n=void 0,u=S,s=t.apply(x,b),s}function d(S){return u=S,o=setTimeout(y,e),f?v(S):s}function g(S){var b=S-l,x=S-u,w=e-b;return h?Hu(w,i-x):w}function p(S){var b=S-l,x=S-u;return l===void 0||b>=e||b<0||h&&x>=i}function y(){var S=Tn();if(p(S))return E(S);o=setTimeout(y,g(S))}function E(S){return o=void 0,c&&a?v(S):(a=n=void 0,s)}function m(){o!==void 0&&clearTimeout(o),u=0,a=l=n=o=void 0}function T(){return o===void 0?s:E(Tn())}function C(){var S=Tn(),b=p(S);if(a=arguments,n=this,l=S,b){if(o===void 0)return d(l);if(h)return clearTimeout(o),o=setTimeout(y,e),v(l)}return o===void 0&&(o=setTimeout(y,e)),s}return C.cancel=m,C.flush=T,C}var Xu=Yu,qs={exports:{}};(function(t,e){(function(){var r,a,n,i,s,o,l,u,f,h,c,v,d,g,p;n=Math.floor,h=Math.min,a=function(y,E){return y<E?-1:y>E?1:0},f=function(y,E,m,T,C){var S;if(m==null&&(m=0),C==null&&(C=a),m<0)throw new Error("lo must be non-negative");for(T==null&&(T=y.length);m<T;)S=n((m+T)/2),C(E,y[S])<0?T=S:m=S+1;return[].splice.apply(y,[m,m-m].concat(E)),E},o=function(y,E,m){return m==null&&(m=a),y.push(E),g(y,0,y.length-1,m)},s=function(y,E){var m,T;return E==null&&(E=a),m=y.pop(),y.length?(T=y[0],y[0]=m,p(y,0,E)):T=m,T},u=function(y,E,m){var T;return m==null&&(m=a),T=y[0],y[0]=E,p(y,0,m),T},l=function(y,E,m){var T;return m==null&&(m=a),y.length&&m(y[0],E)<0&&(T=[y[0],E],E=T[0],y[0]=T[1],p(y,0,m)),E},i=function(y,E){var m,T,C,S,b,x;for(E==null&&(E=a),S=function(){x=[];for(var w=0,D=n(y.length/2);0<=D?w<D:w>D;0<=D?w++:w--)x.push(w);return x}.apply(this).reverse(),b=[],T=0,C=S.length;T<C;T++)m=S[T],b.push(p(y,m,E));return b},d=function(y,E,m){var T;if(m==null&&(m=a),T=y.indexOf(E),T!==-1)return g(y,0,T,m),p(y,T,m)},c=function(y,E,m){var T,C,S,b,x;if(m==null&&(m=a),C=y.slice(0,E),!C.length)return C;for(i(C,m),x=y.slice(E),S=0,b=x.length;S<b;S++)T=x[S],l(C,T,m);return C.sort(m).reverse()},v=function(y,E,m){var T,C,S,b,x,w,D,A,L;if(m==null&&(m=a),E*10<=y.length){if(S=y.slice(0,E).sort(m),!S.length)return S;for(C=S[S.length-1],D=y.slice(E),b=0,w=D.length;b<w;b++)T=D[b],m(T,C)<0&&(f(S,T,0,null,m),S.pop(),C=S[S.length-1]);return S}for(i(y,m),L=[],x=0,A=h(E,y.length);0<=A?x<A:x>A;0<=A?++x:--x)L.push(s(y,m));return L},g=function(y,E,m,T){var C,S,b;for(T==null&&(T=a),C=y[m];m>E;){if(b=m-1>>1,S=y[b],T(C,S)<0){y[m]=S,m=b;continue}break}return y[m]=C},p=function(y,E,m){var T,C,S,b,x;for(m==null&&(m=a),C=y.length,x=E,S=y[E],T=2*E+1;T<C;)b=T+1,b<C&&!(m(y[T],y[b])<0)&&(T=b),y[E]=y[T],E=T,T=2*E+1;return y[E]=S,g(y,x,E,m)},r=function(){y.push=o,y.pop=s,y.replace=u,y.pushpop=l,y.heapify=i,y.updateItem=d,y.nlargest=c,y.nsmallest=v;function y(E){this.cmp=E??a,this.nodes=[]}return y.prototype.push=function(E){return o(this.nodes,E,this.cmp)},y.prototype.pop=function(){return s(this.nodes,this.cmp)},y.prototype.peek=function(){return this.nodes[0]},y.prototype.contains=function(E){return this.nodes.indexOf(E)!==-1},y.prototype.replace=function(E){return u(this.nodes,E,this.cmp)},y.prototype.pushpop=function(E){return l(this.nodes,E,this.cmp)},y.prototype.heapify=function(){return i(this.nodes,this.cmp)},y.prototype.updateItem=function(E){return d(this.nodes,E,this.cmp)},y.prototype.clear=function(){return this.nodes=[]},y.prototype.empty=function(){return this.nodes.length===0},y.prototype.size=function(){return this.nodes.length},y.prototype.clone=function(){var E;return E=new y,E.nodes=this.nodes.slice(0),E},y.prototype.toArray=function(){return this.nodes.slice(0)},y.prototype.insert=y.prototype.push,y.prototype.top=y.prototype.peek,y.prototype.front=y.prototype.peek,y.prototype.has=y.prototype.contains,y.prototype.copy=y.prototype.clone,y}(),function(y,E){return t.exports=E()}(this,function(){return r})}).call(Vt)})(qs);var Wu=qs.exports,qu=Wu,Ku=Array.isArray,rn=Ku,Zu=rn,Qu=ua,Ju=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ju=/^\w*$/;function ef(t,e){if(Zu(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Qu(t)?!0:ju.test(t)||!Ju.test(t)||e!=null&&t in Object(e)}var tf=ef,rf=Ws,af=la,nf="[object AsyncFunction]",sf="[object Function]",of="[object GeneratorFunction]",lf="[object Proxy]";function uf(t){if(!af(t))return!1;var e=rf(t);return e==sf||e==of||e==nf||e==lf}var ff=uf,hf=tn,vf=hf["__core-js_shared__"],cf=vf,Cn=cf,Ri=function(){var t=/[^.]+$/.exec(Cn&&Cn.keys&&Cn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function df(t){return!!Ri&&Ri in t}var gf=df,pf=Function.prototype,yf=pf.toString;function mf(t){if(t!=null){try{return yf.call(t)}catch{}try{return t+""}catch{}}return""}var bf=mf,Ef=ff,wf=gf,xf=la,Tf=bf,Cf=/[\\^$.*+?()[\]{}|]/g,Df=/^\[object .+?Constructor\]$/,Sf=Function.prototype,Lf=Object.prototype,Af=Sf.toString,Of=Lf.hasOwnProperty,Nf=RegExp("^"+Af.call(Of).replace(Cf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function If(t){if(!xf(t)||wf(t))return!1;var e=Ef(t)?Nf:Df;return e.test(Tf(t))}var Mf=If;function Rf(t,e){return t?.[e]}var kf=Rf,Pf=Mf,Bf=kf;function Ff(t,e){var r=Bf(t,e);return Pf(r)?r:void 0}var jn=Ff,Gf=jn,zf=Gf(Object,"create"),an=zf,ki=an;function $f(){this.__data__=ki?ki(null):{},this.size=0}var Vf=$f;function _f(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Uf=_f,Hf=an,Yf="__lodash_hash_undefined__",Xf=Object.prototype,Wf=Xf.hasOwnProperty;function qf(t){var e=this.__data__;if(Hf){var r=e[t];return r===Yf?void 0:r}return Wf.call(e,t)?e[t]:void 0}var Kf=qf,Zf=an,Qf=Object.prototype,Jf=Qf.hasOwnProperty;function jf(t){var e=this.__data__;return Zf?e[t]!==void 0:Jf.call(e,t)}var eh=jf,th=an,rh="__lodash_hash_undefined__";function ah(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=th&&e===void 0?rh:e,this}var nh=ah,ih=Vf,sh=Uf,oh=Kf,lh=eh,uh=nh;function Or(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}Or.prototype.clear=ih;Or.prototype.delete=sh;Or.prototype.get=oh;Or.prototype.has=lh;Or.prototype.set=uh;var fh=Or;function hh(){this.__data__=[],this.size=0}var vh=hh;function ch(t,e){return t===e||t!==t&&e!==e}var Ks=ch,dh=Ks;function gh(t,e){for(var r=t.length;r--;)if(dh(t[r][0],e))return r;return-1}var nn=gh,ph=nn,yh=Array.prototype,mh=yh.splice;function bh(t){var e=this.__data__,r=ph(e,t);if(r<0)return!1;var a=e.length-1;return r==a?e.pop():mh.call(e,r,1),--this.size,!0}var Eh=bh,wh=nn;function xh(t){var e=this.__data__,r=wh(e,t);return r<0?void 0:e[r][1]}var Th=xh,Ch=nn;function Dh(t){return Ch(this.__data__,t)>-1}var Sh=Dh,Lh=nn;function Ah(t,e){var r=this.__data__,a=Lh(r,t);return a<0?(++this.size,r.push([t,e])):r[a][1]=e,this}var Oh=Ah,Nh=vh,Ih=Eh,Mh=Th,Rh=Sh,kh=Oh;function Nr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}Nr.prototype.clear=Nh;Nr.prototype.delete=Ih;Nr.prototype.get=Mh;Nr.prototype.has=Rh;Nr.prototype.set=kh;var Ph=Nr,Bh=jn,Fh=tn,Gh=Bh(Fh,"Map"),zh=Gh,Pi=fh,$h=Ph,Vh=zh;function _h(){this.size=0,this.__data__={hash:new Pi,map:new(Vh||$h),string:new Pi}}var Uh=_h;function Hh(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Yh=Hh,Xh=Yh;function Wh(t,e){var r=t.__data__;return Xh(e)?r[typeof e=="string"?"string":"hash"]:r.map}var sn=Wh,qh=sn;function Kh(t){var e=qh(this,t).delete(t);return this.size-=e?1:0,e}var Zh=Kh,Qh=sn;function Jh(t){return Qh(this,t).get(t)}var jh=Jh,ev=sn;function tv(t){return ev(this,t).has(t)}var rv=tv,av=sn;function nv(t,e){var r=av(this,t),a=r.size;return r.set(t,e),this.size+=r.size==a?0:1,this}var iv=nv,sv=Uh,ov=Zh,lv=jh,uv=rv,fv=iv;function Ir(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}Ir.prototype.clear=sv;Ir.prototype.delete=ov;Ir.prototype.get=lv;Ir.prototype.has=uv;Ir.prototype.set=fv;var hv=Ir,Zs=hv,vv="Expected a function";function ei(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(vv);var r=function(){var a=arguments,n=e?e.apply(this,a):a[0],i=r.cache;if(i.has(n))return i.get(n);var s=t.apply(this,a);return r.cache=i.set(n,s)||i,s};return r.cache=new(ei.Cache||Zs),r}ei.Cache=Zs;var cv=ei,dv=cv,gv=500;function pv(t){var e=dv(t,function(a){return r.size===gv&&r.clear(),a}),r=e.cache;return e}var yv=pv,mv=yv,bv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ev=/\\(\\)?/g,wv=mv(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(bv,function(r,a,n,i){e.push(n?i.replace(Ev,"$1"):a||r)}),e}),Qs=wv;function xv(t,e){for(var r=-1,a=t==null?0:t.length,n=Array(a);++r<a;)n[r]=e(t[r],r,t);return n}var Js=xv,Bi=Jn,Tv=Js,Cv=rn,Dv=ua,Sv=1/0,Fi=Bi?Bi.prototype:void 0,Gi=Fi?Fi.toString:void 0;function js(t){if(typeof t=="string")return t;if(Cv(t))return Tv(t,js)+"";if(Dv(t))return Gi?Gi.call(t):"";var e=t+"";return e=="0"&&1/t==-Sv?"-0":e}var Lv=js,Av=Lv;function Ov(t){return t==null?"":Av(t)}var eo=Ov,Nv=rn,Iv=tf,Mv=Qs,Rv=eo;function kv(t,e){return Nv(t)?t:Iv(t,e)?[t]:Mv(Rv(t))}var to=kv,Pv=ua,Bv=1/0;function Fv(t){if(typeof t=="string"||Pv(t))return t;var e=t+"";return e=="0"&&1/t==-Bv?"-0":e}var ti=Fv,Gv=to,zv=ti;function $v(t,e){e=Gv(e,t);for(var r=0,a=e.length;t!=null&&r<a;)t=t[zv(e[r++])];return r&&r==a?t:void 0}var Vv=$v,_v=Vv;function Uv(t,e,r){var a=t==null?void 0:_v(t,e);return a===void 0?r:a}var Hv=Uv,Yv=jn,Xv=function(){try{var t=Yv(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Wv=Xv,zi=Wv;function qv(t,e,r){e=="__proto__"&&zi?zi(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Kv=qv,Zv=Kv,Qv=Ks,Jv=Object.prototype,jv=Jv.hasOwnProperty;function ec(t,e,r){var a=t[e];(!(jv.call(t,e)&&Qv(a,r))||r===void 0&&!(e in t))&&Zv(t,e,r)}var tc=ec,rc=9007199254740991,ac=/^(?:0|[1-9]\d*)$/;function nc(t,e){var r=typeof t;return e=e??rc,!!e&&(r=="number"||r!="symbol"&&ac.test(t))&&t>-1&&t%1==0&&t<e}var ic=nc,sc=tc,oc=to,lc=ic,$i=la,uc=ti;function fc(t,e,r,a){if(!$i(t))return t;e=oc(e,t);for(var n=-1,i=e.length,s=i-1,o=t;o!=null&&++n<i;){var l=uc(e[n]),u=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return t;if(n!=s){var f=o[l];u=a?a(f,l,o):void 0,u===void 0&&(u=$i(f)?f:lc(e[n+1])?[]:{})}sc(o,l,u),o=o[l]}return t}var hc=fc,vc=hc;function cc(t,e,r){return t==null?t:vc(t,e,r)}var dc=cc;function gc(t,e){var r=-1,a=t.length;for(e||(e=Array(a));++r<a;)e[r]=t[r];return e}var pc=gc,yc=Js,mc=pc,bc=rn,Ec=ua,wc=Qs,xc=ti,Tc=eo;function Cc(t){return bc(t)?yc(t,xc):Ec(t)?[t]:mc(wc(Tc(t)))}var Dc=Cc,Sc=Xu,Lc=qu,Ac=Hv,Oc=dc,Nc=Dc;function fa(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var on=fa(Sc),ha=fa(Lc),Ic=fa(Ac),Mc=fa(Oc),Rc=fa(Nc);function Ue(t){"@babel/helpers - typeof";return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(t)}function ri(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vi(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function ai(t,e,r){return e&&Vi(t.prototype,e),r&&Vi(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ro(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Et(t,e){return kc(t)||Pc(t,e)||Bc(t,e)||Fc()}function kc(t){if(Array.isArray(t))return t}function Pc(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,s,o;try{for(r=r.call(t);!(n=(s=r.next()).done)&&(a.push(s.value),!(e&&a.length===e));n=!0);}catch(l){i=!0,o=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw o}}return a}}function Bc(t,e){if(t){if(typeof t=="string")return _i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _i(t,e)}}function _i(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function Fc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var $e=typeof window>"u"?null:window,Ui=$e?$e.navigator:null;$e&&$e.document;var Gc=Ue(""),ao=Ue({}),zc=Ue(function(){}),$c=typeof HTMLElement>"u"?"undefined":Ue(HTMLElement),va=function(e){return e&&e.instanceString&&Be(e.instanceString)?e.instanceString():null},ve=function(e){return e!=null&&Ue(e)==Gc},Be=function(e){return e!=null&&Ue(e)===zc},Me=function(e){return!ht(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},De=function(e){return e!=null&&Ue(e)===ao&&!Me(e)&&e.constructor===Object},Vc=function(e){return e!=null&&Ue(e)===ao},ae=function(e){return e!=null&&Ue(e)===Ue(1)&&!isNaN(e)},_c=function(e){return ae(e)&&Math.floor(e)===e},Ha=function(e){if($c!=="undefined")return e!=null&&e instanceof HTMLElement},ht=function(e){return ca(e)||no(e)},ca=function(e){return va(e)==="collection"&&e._private.single},no=function(e){return va(e)==="collection"&&!e._private.single},ni=function(e){return va(e)==="core"},io=function(e){return va(e)==="stylesheet"},Uc=function(e){return va(e)==="event"},Yt=function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},Hc=function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},Yc=function(e){return De(e)&&ae(e.x1)&&ae(e.x2)&&ae(e.y1)&&ae(e.y2)},Xc=function(e){return Vc(e)&&Be(e.then)},Wc=function(){return Ui&&Ui.userAgent.match(/msie|trident|edge/i)},Jr=function(e,r){r||(r=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);return i.join("$")});var a=function n(){var i=this,s=arguments,o,l=r.apply(i,s),u=n.cache;return(o=u[l])||(o=u[l]=e.apply(i,s)),o};return a.cache={},a},ii=Jr(function(t){return t.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}),ln=Jr(function(t){return t.replace(/(-\w)/g,function(e){return e[1].toUpperCase()})}),so=Jr(function(t,e){return t+e[0].toUpperCase()+e.substring(1)},function(t,e){return t+"$"+e}),Hi=function(e){return Yt(e)?e:e.charAt(0).toUpperCase()+e.substring(1)},_e="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",qc="rgb[a]?\\(("+_e+"[%]?)\\s*,\\s*("+_e+"[%]?)\\s*,\\s*("+_e+"[%]?)(?:\\s*,\\s*("+_e+"))?\\)",Kc="rgb[a]?\\((?:"+_e+"[%]?)\\s*,\\s*(?:"+_e+"[%]?)\\s*,\\s*(?:"+_e+"[%]?)(?:\\s*,\\s*(?:"+_e+"))?\\)",Zc="hsl[a]?\\(("+_e+")\\s*,\\s*("+_e+"[%])\\s*,\\s*("+_e+"[%])(?:\\s*,\\s*("+_e+"))?\\)",Qc="hsl[a]?\\((?:"+_e+")\\s*,\\s*(?:"+_e+"[%])\\s*,\\s*(?:"+_e+"[%])(?:\\s*,\\s*(?:"+_e+"))?\\)",Jc="\\#[0-9a-fA-F]{3}",jc="\\#[0-9a-fA-F]{6}",oo=function(e,r){return e<r?-1:e>r?1:0},ed=function(e,r){return-1*oo(e,r)},de=Object.assign!=null?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r<e.length;r++){var a=e[r];if(a!=null)for(var n=Object.keys(a),i=0;i<n.length;i++){var s=n[i];t[s]=a[s]}}return t},td=function(e){if(!(!(e.length===4||e.length===7)||e[0]!=="#")){var r=e.length===4,a,n,i,s=16;return r?(a=parseInt(e[1]+e[1],s),n=parseInt(e[2]+e[2],s),i=parseInt(e[3]+e[3],s)):(a=parseInt(e[1]+e[2],s),n=parseInt(e[3]+e[4],s),i=parseInt(e[5]+e[6],s)),[a,n,i]}},rd=function(e){var r,a,n,i,s,o,l,u;function f(d,g,p){return p<0&&(p+=1),p>1&&(p-=1),p<1/6?d+(g-d)*6*p:p<1/2?g:p<2/3?d+(g-d)*(2/3-p)*6:d}var h=new RegExp("^"+Zc+"$").exec(e);if(h){if(a=parseInt(h[1]),a<0?a=(360- -1*a%360)%360:a>360&&(a=a%360),a/=360,n=parseFloat(h[2]),n<0||n>100||(n=n/100,i=parseFloat(h[3]),i<0||i>100)||(i=i/100,s=h[4],s!==void 0&&(s=parseFloat(s),s<0||s>1)))return;if(n===0)o=l=u=Math.round(i*255);else{var c=i<.5?i*(1+n):i+n-i*n,v=2*i-c;o=Math.round(255*f(v,c,a+1/3)),l=Math.round(255*f(v,c,a)),u=Math.round(255*f(v,c,a-1/3))}r=[o,l,u,s]}return r},ad=function(e){var r,a=new RegExp("^"+qc+"$").exec(e);if(a){r=[];for(var n=[],i=1;i<=3;i++){var s=a[i];if(s[s.length-1]==="%"&&(n[i]=!0),s=parseFloat(s),n[i]&&(s=s/100*255),s<0||s>255)return;r.push(Math.floor(s))}var o=n[1]||n[2]||n[3],l=n[1]&&n[2]&&n[3];if(o&&!l)return;var u=a[4];if(u!==void 0){if(u=parseFloat(u),u<0||u>1)return;r.push(u)}}return r},nd=function(e){return sd[e.toLowerCase()]},id=function(e){return(Me(e)?e:null)||nd(e)||td(e)||ad(e)||rd(e)},sd={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},lo=function(e){for(var r=e.map,a=e.keys,n=a.length,i=0;i<n;i++){var s=a[i];if(De(s))throw Error("Tried to set map with object key");i<a.length-1?(r[s]==null&&(r[s]={}),r=r[s]):r[s]=e.value}},uo=function(e){for(var r=e.map,a=e.keys,n=a.length,i=0;i<n;i++){var s=a[i];if(De(s))throw Error("Tried to get map with object key");if(r=r[s],r==null)return r}return r},Dn=$e?$e.performance:null,fo=Dn&&Dn.now?function(){return Dn.now()}:function(){return Date.now()},od=function(){if($e){if($e.requestAnimationFrame)return function(t){$e.requestAnimationFrame(t)};if($e.mozRequestAnimationFrame)return function(t){$e.mozRequestAnimationFrame(t)};if($e.webkitRequestAnimationFrame)return function(t){$e.webkitRequestAnimationFrame(t)};if($e.msRequestAnimationFrame)return function(t){$e.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout(function(){t(fo())},1e3/60)}}(),Ya=function(e){return od(e)},Mt=fo,br=9261,ho=65599,Xr=5381,vo=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:br,a=r,n;n=e.next(),!n.done;)a=a*ho+n.value|0;return a},jr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:br;return r*ho+e|0},ea=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xr;return(r<<5)+r+e|0},ld=function(e,r){return e*2097152+r},Gt=function(e){return e[0]*2097152+e[1]},Ta=function(e,r){return[jr(e[0],r[0]),ea(e[1],r[1])]},ud=function(e,r){var a={value:0,done:!1},n=0,i=e.length,s={next:function(){return n<i?a.value=e[n++]:a.done=!0,a}};return vo(s,r)},ar=function(e,r){var a={value:0,done:!1},n=0,i=e.length,s={next:function(){return n<i?a.value=e.charCodeAt(n++):a.done=!0,a}};return vo(s,r)},co=function(){return fd(arguments)},fd=function(e){for(var r,a=0;a<e.length;a++){var n=e[a];a===0?r=ar(n):r=ar(n,r)}return r},Yi=!0,hd=console.warn!=null,vd=console.trace!=null,si=Number.MAX_SAFE_INTEGER||9007199254740991,go=function(){return!0},Xa=function(){return!1},Xi=function(){return 0},oi=function(){},Ge=function(e){throw new Error(e)},po=function(e){if(e!==void 0)Yi=!!e;else return Yi},Ne=function(e){po()&&(hd?console.warn(e):(console.log(e),vd&&console.trace()))},cd=function(e){return de({},e)},St=function(e){return e==null?e:Me(e)?e.slice():De(e)?cd(e):e},dd=function(e){return e.slice()},yo=function(e,r){for(r=e="";e++<36;r+=e*51&52?(e^15?8^Math.random()*(e^20?16:4):4).toString(16):"-");return r},gd={},mo=function(){return gd},Qe=function(e){var r=Object.keys(e);return function(a){for(var n={},i=0;i<r.length;i++){var s=r[i],o=a?.[s];n[s]=o===void 0?e[s]:o}return n}},Xt=function(e,r,a){for(var n=e.length-1;n>=0&&!(e[n]===r&&(e.splice(n,1),a));n--);},li=function(e){e.splice(0,e.length)},pd=function(e,r){for(var a=0;a<r.length;a++){var n=r[a];e.push(n)}},xt=function(e,r,a){return a&&(r=so(a,r)),e[r]},$t=function(e,r,a,n){a&&(r=so(a,r)),e[r]=n},yd=function(){function t(){ri(this,t),this._obj={}}return ai(t,[{key:"set",value:function(r,a){return this._obj[r]=a,this}},{key:"delete",value:function(r){return this._obj[r]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(r){return this._obj[r]!==void 0}},{key:"get",value:function(r){return this._obj[r]}}]),t}(),Lt=typeof Map<"u"?Map:yd,md="undefined",bd=function(){function t(e){if(ri(this,t),this._obj=Object.create(null),this.size=0,e!=null){var r;e.instanceString!=null&&e.instanceString()===this.instanceString()?r=e.toArray():r=e;for(var a=0;a<r.length;a++)this.add(r[a])}}return ai(t,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(r){var a=this._obj;a[r]!==1&&(a[r]=1,this.size++)}},{key:"delete",value:function(r){var a=this._obj;a[r]===1&&(a[r]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(r){return this._obj[r]===1}},{key:"toArray",value:function(){var r=this;return Object.keys(this._obj).filter(function(a){return r.has(a)})}},{key:"forEach",value:function(r,a){return this.toArray().forEach(r,a)}}]),t}(),Mr=(typeof Set>"u"?"undefined":Ue(Set))!==md?Set:bd,un=function(e,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||r===void 0||!ni(e)){Ge("An element must have a core reference and parameters set");return}var n=r.group;if(n==null&&(r.data&&r.data.source!=null&&r.data.target!=null?n="edges":n="nodes"),n!=="nodes"&&n!=="edges"){Ge("An element must be of type `nodes` or `edges`; you specified `"+n+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:r.selectable===void 0?!0:!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:r.grabbable===void 0?!0:!!r.grabbable,pannable:r.pannable===void 0?n==="edges":!!r.pannable,active:!1,classes:new Mr,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(i.position.x==null&&(i.position.x=0),i.position.y==null&&(i.position.y=0),r.renderedPosition){var s=r.renderedPosition,o=e.pan(),l=e.zoom();i.position={x:(s.x-o.x)/l,y:(s.y-o.y)/l}}var u=[];Me(r.classes)?u=r.classes:ve(r.classes)&&(u=r.classes.split(/\s+/));for(var f=0,h=u.length;f<h;f++){var c=u[f];!c||c===""||i.classes.add(c)}this.createEmitter();var v=r.style||r.css;v&&(Ne("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(v)),(a===void 0||a)&&this.restore()},Wi=function(e){return e={bfs:e.bfs||!e.dfs,dfs:e.dfs||!e.bfs},function(a,n,i){var s;De(a)&&!ht(a)&&(s=a,a=s.roots||s.root,n=s.visit,i=s.directed),i=arguments.length===2&&!Be(n)?n:i,n=Be(n)?n:function(){};for(var o=this._private.cy,l=a=ve(a)?this.filter(a):a,u=[],f=[],h={},c={},v={},d=0,g,p=this.byGroup(),y=p.nodes,E=p.edges,m=0;m<l.length;m++){var T=l[m],C=T.id();T.isNode()&&(u.unshift(T),e.bfs&&(v[C]=!0,f.push(T)),c[C]=0)}for(var S=function(){var I=e.bfs?u.shift():u.pop(),O=I.id();if(e.dfs){if(v[O])return"continue";v[O]=!0,f.push(I)}var P=c[O],R=h[O],M=R!=null?R.source():null,k=R!=null?R.target():null,B=R==null?void 0:I.same(M)?k[0]:M[0],G=void 0;if(G=n(I,R,B,d++,P),G===!0)return g=I,"break";if(G===!1)return"break";for(var F=I.connectedEdges().filter(function(W){return(!i||W.source().same(I))&&E.has(W)}),$=0;$<F.length;$++){var U=F[$],_=U.connectedNodes().filter(function(W){return!W.same(I)&&y.has(W)}),Y=_.id();_.length!==0&&!v[Y]&&(_=_[0],u.push(_),e.bfs&&(v[Y]=!0,f.push(_)),h[Y]=U,c[Y]=c[O]+1)}};u.length!==0;){var b=S();if(b!=="continue"&&b==="break")break}for(var x=o.collection(),w=0;w<f.length;w++){var D=f[w],A=h[D.id()];A!=null&&x.push(A),x.push(D)}return{path:o.collection(x),found:o.collection(g)}}},ta={breadthFirstSearch:Wi({bfs:!0}),depthFirstSearch:Wi({dfs:!0})};ta.bfs=ta.breadthFirstSearch;ta.dfs=ta.depthFirstSearch;var Ed=Qe({root:null,weight:function(e){return 1},directed:!1}),wd={dijkstra:function(e){if(!De(e)){var r=arguments;e={root:r[0],weight:r[1],directed:r[2]}}var a=Ed(e),n=a.root,i=a.weight,s=a.directed,o=this,l=i,u=ve(n)?this.filter(n)[0]:n[0],f={},h={},c={},v=this.byGroup(),d=v.nodes,g=v.edges;g.unmergeBy(function(P){return P.isLoop()});for(var p=function(R){return f[R.id()]},y=function(R,M){f[R.id()]=M,E.updateItem(R)},E=new ha.default(function(P,R){return p(P)-p(R)}),m=0;m<d.length;m++){var T=d[m];f[T.id()]=T.same(u)?0:1/0,E.push(T)}for(var C=function(R,M){for(var k=(s?R.edgesTo(M):R.edgesWith(M)).intersect(g),B=1/0,G,F=0;F<k.length;F++){var $=k[F],U=l($);(U<B||!G)&&(B=U,G=$)}return{edge:G,dist:B}};E.size()>0;){var S=E.pop(),b=p(S),x=S.id();if(c[x]=b,b!==1/0)for(var w=S.neighborhood().intersect(d),D=0;D<w.length;D++){var A=w[D],L=A.id(),I=C(S,A),O=b+I.dist;O<p(A)&&(y(A,O),h[L]={node:S,edge:I.edge})}}return{distanceTo:function(R){var M=ve(R)?d.filter(R)[0]:R[0];return c[M.id()]},pathTo:function(R){var M=ve(R)?d.filter(R)[0]:R[0],k=[],B=M,G=B.id();if(M.length>0)for(k.unshift(M);h[G];){var F=h[G];k.unshift(F.edge),k.unshift(F.node),B=F.node,G=B.id()}return o.spawn(k)}}}},xd={kruskal:function(e){e=e||function(m){return 1};for(var r=this.byGroup(),a=r.nodes,n=r.edges,i=a.length,s=new Array(i),o=a,l=function(T){for(var C=0;C<s.length;C++){var S=s[C];if(S.has(T))return C}},u=0;u<i;u++)s[u]=this.spawn(a[u]);for(var f=n.sort(function(m,T){return e(m)-e(T)}),h=0;h<f.length;h++){var c=f[h],v=c.source()[0],d=c.target()[0],g=l(v),p=l(d),y=s[g],E=s[p];g!==p&&(o.merge(c),y.merge(E),s.splice(p,1))}return o}},Td=Qe({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),Cd={aStar:function(e){var r=this.cy(),a=Td(e),n=a.root,i=a.goal,s=a.heuristic,o=a.directed,l=a.weight;n=r.collection(n)[0],i=r.collection(i)[0];var u=n.id(),f=i.id(),h={},c={},v={},d=new ha.default(function(G,F){return c[G.id()]-c[F.id()]}),g=new Mr,p={},y={},E=function(F,$){d.push(F),g.add($)},m,T,C=function(){m=d.pop(),T=m.id(),g.delete(T)},S=function(F){return g.has(F)};E(n,u),h[u]=0,c[u]=s(n);for(var b=0;d.size()>0;){if(C(),b++,T===f){for(var x=[],w=i,D=f,A=y[D];x.unshift(w),A!=null&&x.unshift(A),w=p[D],w!=null;)D=w.id(),A=y[D];return{found:!0,distance:h[T],path:this.spawn(x),steps:b}}v[T]=!0;for(var L=m._private.edges,I=0;I<L.length;I++){var O=L[I];if(this.hasElementWithId(O.id())&&!(o&&O.data("source")!==T)){var P=O.source(),R=O.target(),M=P.id()!==T?P:R,k=M.id();if(this.hasElementWithId(k)&&!v[k]){var B=h[T]+l(O);if(!S(k)){h[k]=B,c[k]=B+s(M),E(M,k),p[k]=m,y[k]=O;continue}B<h[k]&&(h[k]=B,c[k]=B+s(M),p[k]=m,y[k]=O)}}}}return{found:!1,distance:void 0,path:void 0,steps:b}}},Dd=Qe({weight:function(e){return 1},directed:!1}),Sd={floydWarshall:function(e){for(var r=this.cy(),a=Dd(e),n=a.weight,i=a.directed,s=n,o=this.byGroup(),l=o.nodes,u=o.edges,f=l.length,h=f*f,c=function(U){return l.indexOf(U)},v=function(U){return l[U]},d=new Array(h),g=0;g<h;g++){var p=g%f,y=(g-p)/f;y===p?d[g]=0:d[g]=1/0}for(var E=new Array(h),m=new Array(h),T=0;T<u.length;T++){var C=u[T],S=C.source()[0],b=C.target()[0];if(S!==b){var x=c(S),w=c(b),D=x*f+w,A=s(C);if(d[D]>A&&(d[D]=A,E[D]=w,m[D]=C),!i){var L=w*f+x;!i&&d[L]>A&&(d[L]=A,E[L]=x,m[L]=C)}}}for(var I=0;I<f;I++)for(var O=0;O<f;O++)for(var P=O*f+I,R=0;R<f;R++){var M=O*f+R,k=I*f+R;d[P]+d[k]<d[M]&&(d[M]=d[P]+d[k],E[M]=E[P])}var B=function(U){return(ve(U)?r.filter(U):U)[0]},G=function(U){return c(B(U))},F={distance:function(U,_){var Y=G(U),W=G(_);return d[Y*f+W]},path:function(U,_){var Y=G(U),W=G(_),z=v(Y);if(Y===W)return z.collection();if(E[Y*f+W]==null)return r.collection();var K=r.collection(),j=Y,Q;for(K.merge(z);Y!==W;)j=Y,Y=E[Y*f+W],Q=m[j*f+Y],K.merge(Q),K.merge(v(Y));return K}};return F}},Ld=Qe({weight:function(e){return 1},directed:!1,root:null}),Ad={bellmanFord:function(e){var r=this,a=Ld(e),n=a.weight,i=a.directed,s=a.root,o=n,l=this,u=this.cy(),f=this.byGroup(),h=f.edges,c=f.nodes,v=c.length,d=new Lt,g=!1,p=[];s=u.collection(s)[0],h.unmergeBy(function(le){return le.isLoop()});for(var y=h.length,E=function(se){var fe=d.get(se.id());return fe||(fe={},d.set(se.id(),fe)),fe},m=function(se){return(ve(se)?u.$(se):se)[0]},T=function(se){return E(m(se)).dist},C=function(se){for(var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,xe=m(se),Ee=[],ge=xe;;){if(ge==null)return r.spawn();var we=E(ge),H=we.edge,N=we.pred;if(Ee.unshift(ge[0]),ge.same(fe)&&Ee.length>0)break;H!=null&&Ee.unshift(H),ge=N}return l.spawn(Ee)},S=0;S<v;S++){var b=c[S],x=E(b);b.same(s)?x.dist=0:x.dist=1/0,x.pred=null,x.edge=null}for(var w=!1,D=function(se,fe,xe,Ee,ge,we){var H=Ee.dist+we;H<ge.dist&&!xe.same(Ee.edge)&&(ge.dist=H,ge.pred=se,ge.edge=xe,w=!0)},A=1;A<v;A++){w=!1;for(var L=0;L<y;L++){var I=h[L],O=I.source(),P=I.target(),R=o(I),M=E(O),k=E(P);D(O,P,I,M,k,R),i||D(P,O,I,k,M,R)}if(!w)break}if(w)for(var B=[],G=0;G<y;G++){var F=h[G],$=F.source(),U=F.target(),_=o(F),Y=E($).dist,W=E(U).dist;if(Y+_<W||!i&&W+_<Y)if(g||(Ne("Graph contains a negative weight cycle for Bellman-Ford"),g=!0),e.findNegativeWeightCycles!==!1){var z=[];Y+_<W&&z.push($),!i&&W+_<Y&&z.push(U);for(var K=z.length,j=0;j<K;j++){var Q=z[j],ee=[Q];ee.push(E(Q).edge);for(var ne=E(Q).pred;ee.indexOf(ne)===-1;)ee.push(ne),ee.push(E(ne).edge),ne=E(ne).pred;ee=ee.slice(ee.indexOf(ne));for(var ce=ee[0].id(),te=0,re=2;re<ee.length;re+=2)ee[re].id()<ce&&(ce=ee[re].id(),te=re);ee=ee.slice(te).concat(ee.slice(0,te)),ee.push(ee[0]);var ue=ee.map(function(le){return le.id()}).join(",");B.indexOf(ue)===-1&&(p.push(l.spawn(ee)),B.push(ue))}}else break}return{distanceTo:T,pathTo:C,hasNegativeWeightCycle:g,negativeWeightCycles:p}}},Od=Math.sqrt(2),Nd=function(e,r,a){a.length===0&&Ge("Karger-Stein must be run on a connected (sub)graph");for(var n=a[e],i=n[1],s=n[2],o=r[i],l=r[s],u=a,f=u.length-1;f>=0;f--){var h=u[f],c=h[1],v=h[2];(r[c]===o&&r[v]===l||r[c]===l&&r[v]===o)&&u.splice(f,1)}for(var d=0;d<u.length;d++){var g=u[d];g[1]===l?(u[d]=g.slice(),u[d][1]=o):g[2]===l&&(u[d]=g.slice(),u[d][2]=o)}for(var p=0;p<r.length;p++)r[p]===l&&(r[p]=o);return u},Sn=function(e,r,a,n){for(;a>n;){var i=Math.floor(Math.random()*r.length);r=Nd(i,e,r),a--}return r},Id={kargerStein:function(){var e=this,r=this.byGroup(),a=r.nodes,n=r.edges;n.unmergeBy(function(k){return k.isLoop()});var i=a.length,s=n.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/Od);if(i<2){Ge("At least 2 nodes are required for Karger-Stein algorithm");return}for(var u=[],f=0;f<s;f++){var h=n[f];u.push([f,a.indexOf(h.source()),a.indexOf(h.target())])}for(var c=1/0,v=[],d=new Array(i),g=new Array(i),p=new Array(i),y=function(B,G){for(var F=0;F<i;F++)G[F]=B[F]},E=0;E<=o;E++){for(var m=0;m<i;m++)g[m]=m;var T=Sn(g,u.slice(),i,l),C=T.slice();y(g,p);var S=Sn(g,T,l,2),b=Sn(p,C,l,2);S.length<=b.length&&S.length<c?(c=S.length,v=S,y(g,d)):b.length<=S.length&&b.length<c&&(c=b.length,v=b,y(p,d))}for(var x=this.spawn(v.map(function(k){return n[k[0]]})),w=this.spawn(),D=this.spawn(),A=d[0],L=0;L<d.length;L++){var I=d[L],O=a[L];I===A?w.merge(O):D.merge(O)}var P=function(B){var G=e.spawn();return B.forEach(function(F){G.merge(F),F.connectedEdges().forEach(function($){e.contains($)&&!x.contains($)&&G.merge($)})}),G},R=[P(w),P(D)],M={cut:x,components:R,partition1:w,partition2:D};return M}},Md=function(e){return{x:e.x,y:e.y}},fn=function(e,r,a){return{x:e.x*r+a.x,y:e.y*r+a.y}},bo=function(e,r,a){return{x:(e.x-a.x)/r,y:(e.y-a.y)/r}},Er=function(e){return{x:e[0],y:e[1]}},Rd=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=1/0,i=r;i<a;i++){var s=e[i];isFinite(s)&&(n=Math.min(s,n))}return n},kd=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=-1/0,i=r;i<a;i++){var s=e[i];isFinite(s)&&(n=Math.max(s,n))}return n},Pd=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=0,i=0,s=r;s<a;s++){var o=e[s];isFinite(o)&&(n+=o,i++)}return n/i},Bd=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;n?e=e.slice(r,a):(a<e.length&&e.splice(a,e.length-a),r>0&&e.splice(0,r));for(var o=0,l=e.length-1;l>=0;l--){var u=e[l];s?isFinite(u)||(e[l]=-1/0,o++):e.splice(l,1)}i&&e.sort(function(c,v){return c-v});var f=e.length,h=Math.floor(f/2);return f%2!==0?e[h+1+o]:(e[h-1+o]+e[h+o])/2},Fd=function(e){return Math.PI*e/180},Ca=function(e,r){return Math.atan2(r,e)-Math.PI/2},ui=Math.log2||function(t){return Math.log(t)/Math.log(2)},Eo=function(e){return e>0?1:e<0?-1:0},nr=function(e,r){return Math.sqrt(er(e,r))},er=function(e,r){var a=r.x-e.x,n=r.y-e.y;return a*a+n*n},Gd=function(e){for(var r=e.length,a=0,n=0;n<r;n++)a+=e[n];for(var i=0;i<r;i++)e[i]=e[i]/a;return e},Ye=function(e,r,a,n){return(1-n)*(1-n)*e+2*(1-n)*n*r+n*n*a},xr=function(e,r,a,n){return{x:Ye(e.x,r.x,a.x,n),y:Ye(e.y,r.y,a.y,n)}},zd=function(e,r,a,n){var i={x:r.x-e.x,y:r.y-e.y},s=nr(e,r),o={x:i.x/s,y:i.y/s};return a=a??0,n=n??a*s,{x:e.x+o.x*n,y:e.y+o.y*n}},ra=function(e,r,a){return Math.max(e,Math.min(a,r))},ft=function(e){if(e==null)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(e.x1!=null&&e.y1!=null){if(e.x2!=null&&e.y2!=null&&e.x2>=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},$d=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Vd=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},_d=function(e,r,a){return{x1:e.x1+r,x2:e.x2+r,y1:e.y1+a,y2:e.y2+a,w:e.w,h:e.h}},wo=function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},Ud=function(e,r,a){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},ka=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Pa=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],a,n,i,s;if(r.length===1)a=n=i=s=r[0];else if(r.length===2)a=i=r[0],s=n=r[1];else if(r.length===4){var o=Et(r,4);a=o[0],n=o[1],i=o[2],s=o[3]}return e.x1-=s,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},qi=function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},fi=function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2<r.x1||r.x2<e.x1||e.y2<r.y1||r.y2<e.y1||e.y1>r.y2||r.y1>e.y2)},Sr=function(e,r,a){return e.x1<=r&&r<=e.x2&&e.y1<=a&&a<=e.y2},Hd=function(e,r){return Sr(e,r.x,r.y)},xo=function(e,r){return Sr(e,r.x1,r.y1)&&Sr(e,r.x2,r.y2)},To=function(e,r,a,n,i,s,o){var l=da(i,s),u=i/2,f=s/2,h;{var c=a-u+l-o,v=n-f-o,d=a+u-l+o,g=v;if(h=_t(e,r,a,n,c,v,d,g,!1),h.length>0)return h}{var p=a+u+o,y=n-f+l-o,E=p,m=n+f-l+o;if(h=_t(e,r,a,n,p,y,E,m,!1),h.length>0)return h}{var T=a-u+l-o,C=n+f+o,S=a+u-l+o,b=C;if(h=_t(e,r,a,n,T,C,S,b,!1),h.length>0)return h}{var x=a-u-o,w=n-f+l-o,D=x,A=n+f-l+o;if(h=_t(e,r,a,n,x,w,D,A,!1),h.length>0)return h}var L;{var I=a-u+l,O=n-f+l;if(L=Wr(e,r,a,n,I,O,l+o),L.length>0&&L[0]<=I&&L[1]<=O)return[L[0],L[1]]}{var P=a+u-l,R=n-f+l;if(L=Wr(e,r,a,n,P,R,l+o),L.length>0&&L[0]>=P&&L[1]<=R)return[L[0],L[1]]}{var M=a+u-l,k=n+f-l;if(L=Wr(e,r,a,n,M,k,l+o),L.length>0&&L[0]>=M&&L[1]>=k)return[L[0],L[1]]}{var B=a-u+l,G=n+f-l;if(L=Wr(e,r,a,n,B,G,l+o),L.length>0&&L[0]<=B&&L[1]>=G)return[L[0],L[1]]}return[]},Yd=function(e,r,a,n,i,s,o){var l=o,u=Math.min(a,i),f=Math.max(a,i),h=Math.min(n,s),c=Math.max(n,s);return u-l<=e&&e<=f+l&&h-l<=r&&r<=c+l},Xd=function(e,r,a,n,i,s,o,l,u){var f={x1:Math.min(a,o,i)-u,x2:Math.max(a,o,i)+u,y1:Math.min(n,l,s)-u,y2:Math.max(n,l,s)+u};return!(e<f.x1||e>f.x2||r<f.y1||r>f.y2)},Wd=function(e,r,a,n){a-=n;var i=r*r-4*e*a;if(i<0)return[];var s=Math.sqrt(i),o=2*e,l=(-r+s)/o,u=(-r-s)/o;return[l,u]},qd=function(e,r,a,n,i){var s=1e-5;e===0&&(e=s),r/=e,a/=e,n/=e;var o,l,u,f,h,c,v,d;if(l=(3*a-r*r)/9,u=-(27*n)+r*(9*a-2*(r*r)),u/=54,o=l*l*l+u*u,i[1]=0,v=r/3,o>0){h=u+Math.sqrt(o),h=h<0?-Math.pow(-h,1/3):Math.pow(h,1/3),c=u-Math.sqrt(o),c=c<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-v+h+c,v+=(h+c)/2,i[4]=i[2]=-v,v=Math.sqrt(3)*(-c+h)/2,i[3]=v,i[5]=-v;return}if(i[5]=i[3]=0,o===0){d=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-v+2*d,i[4]=i[2]=-(d+v);return}l=-l,f=l*l*l,f=Math.acos(u/Math.sqrt(f)),d=2*Math.sqrt(l),i[0]=-v+d*Math.cos(f/3),i[2]=-v+d*Math.cos((f+2*Math.PI)/3),i[4]=-v+d*Math.cos((f+4*Math.PI)/3)},Kd=function(e,r,a,n,i,s,o,l){var u=1*a*a-4*a*i+2*a*o+4*i*i-4*i*o+o*o+n*n-4*n*s+2*n*l+4*s*s-4*s*l+l*l,f=1*9*a*i-3*a*a-3*a*o-6*i*i+3*i*o+9*n*s-3*n*n-3*n*l-6*s*s+3*s*l,h=1*3*a*a-6*a*i+a*o-a*e+2*i*i+2*i*e-o*e+3*n*n-6*n*s+n*l-n*r+2*s*s+2*s*r-l*r,c=1*a*i-a*a+a*e-i*e+n*s-n*n+n*r-s*r,v=[];qd(u,f,h,c,v);for(var d=1e-7,g=[],p=0;p<6;p+=2)Math.abs(v[p+1])<d&&v[p]>=0&&v[p]<=1&&g.push(v[p]);g.push(1),g.push(0);for(var y=-1,E,m,T,C=0;C<g.length;C++)E=Math.pow(1-g[C],2)*a+2*(1-g[C])*g[C]*i+g[C]*g[C]*o,m=Math.pow(1-g[C],2)*n+2*(1-g[C])*g[C]*s+g[C]*g[C]*l,T=Math.pow(E-e,2)+Math.pow(m-r,2),y>=0?T<y&&(y=T):y=T;return y},Zd=function(e,r,a,n,i,s){var o=[e-a,r-n],l=[i-a,s-n],u=l[0]*l[0]+l[1]*l[1],f=o[0]*o[0]+o[1]*o[1],h=o[0]*l[0]+o[1]*l[1],c=h*h/u;return h<0?f:c>u?(e-i)*(e-i)+(r-s)*(r-s):f-c},ut=function(e,r,a){for(var n,i,s,o,l,u=0,f=0;f<a.length/2;f++)if(n=a[f*2],i=a[f*2+1],f+1<a.length/2?(s=a[(f+1)*2],o=a[(f+1)*2+1]):(s=a[(f+1-a.length/2)*2],o=a[(f+1-a.length/2)*2+1]),!(n==e&&s==e))if(n>=e&&e>=s||n<=e&&e<=s)l=(e-n)/(s-n)*(o-i)+i,l>r&&u++;else continue;return u%2!==0},Rt=function(e,r,a,n,i,s,o,l,u){var f=new Array(a.length),h;l[0]!=null?(h=Math.atan(l[1]/l[0]),l[0]<0?h=h+Math.PI/2:h=-h-Math.PI/2):h=l;for(var c=Math.cos(-h),v=Math.sin(-h),d=0;d<f.length/2;d++)f[d*2]=s/2*(a[d*2]*c-a[d*2+1]*v),f[d*2+1]=o/2*(a[d*2+1]*c+a[d*2]*v),f[d*2]+=n,f[d*2+1]+=i;var g;if(u>0){var p=qa(f,-u);g=Wa(p)}else g=f;return ut(e,r,g)},Qd=function(e,r,a,n,i,s,o){for(var l=new Array(a.length),u=s/2,f=o/2,h=hi(s,o),c=h*h,v=0;v<a.length/4;v++){var d=void 0,g=void 0;v===0?d=a.length-2:d=v*4-2,g=v*4+2;var p=n+u*a[v*4],y=i+f*a[v*4+1],E=-a[d]*a[g]-a[d+1]*a[g+1],m=h/Math.tan(Math.acos(E)/2),T=p-m*a[d],C=y-m*a[d+1],S=p+m*a[g],b=y+m*a[g+1];l[v*4]=T,l[v*4+1]=C,l[v*4+2]=S,l[v*4+3]=b;var x=a[d+1],w=-a[d],D=x*a[g]+w*a[g+1];D<0&&(x*=-1,w*=-1);var A=T+x*h,L=C+w*h,I=Math.pow(A-e,2)+Math.pow(L-r,2);if(I<=c)return!0}return ut(e,r,l)},Wa=function(e){for(var r=new Array(e.length/2),a,n,i,s,o,l,u,f,h=0;h<e.length/4;h++){a=e[h*4],n=e[h*4+1],i=e[h*4+2],s=e[h*4+3],h<e.length/4-1?(o=e[(h+1)*4],l=e[(h+1)*4+1],u=e[(h+1)*4+2],f=e[(h+1)*4+3]):(o=e[0],l=e[1],u=e[2],f=e[3]);var c=_t(a,n,i,s,o,l,u,f,!0);r[h*2]=c[0],r[h*2+1]=c[1]}return r},qa=function(e,r){for(var a=new Array(e.length*2),n,i,s,o,l=0;l<e.length/2;l++){n=e[l*2],i=e[l*2+1],l<e.length/2-1?(s=e[(l+1)*2],o=e[(l+1)*2+1]):(s=e[0],o=e[1]);var u=o-i,f=-(s-n),h=Math.sqrt(u*u+f*f),c=u/h,v=f/h;a[l*4]=n+c*r,a[l*4+1]=i+v*r,a[l*4+2]=s+c*r,a[l*4+3]=o+v*r}return a},Jd=function(e,r,a,n,i,s){var o=a-e,l=n-r;o/=i,l/=s;var u=Math.sqrt(o*o+l*l),f=u-1;if(f<0)return[];var h=f/u;return[(a-e)*h+e,(n-r)*h+r]},rr=function(e,r,a,n,i,s,o){return e-=i,r-=s,e/=a/2+o,r/=n/2+o,e*e+r*r<=1},Wr=function(e,r,a,n,i,s,o){var l=[a-e,n-r],u=[e-i,r-s],f=l[0]*l[0]+l[1]*l[1],h=2*(u[0]*l[0]+u[1]*l[1]),c=u[0]*u[0]+u[1]*u[1]-o*o,v=h*h-4*f*c;if(v<0)return[];var d=(-h+Math.sqrt(v))/(2*f),g=(-h-Math.sqrt(v))/(2*f),p=Math.min(d,g),y=Math.max(d,g),E=[];if(p>=0&&p<=1&&E.push(p),y>=0&&y<=1&&E.push(y),E.length===0)return[];var m=E[0]*l[0]+e,T=E[0]*l[1]+r;if(E.length>1){if(E[0]==E[1])return[m,T];var C=E[1]*l[0]+e,S=E[1]*l[1]+r;return[m,T,C,S]}else return[m,T]},Ln=function(e,r,a){return r<=e&&e<=a||a<=e&&e<=r?e:e<=r&&r<=a||a<=r&&r<=e?r:a},_t=function(e,r,a,n,i,s,o,l,u){var f=e-i,h=a-e,c=o-i,v=r-s,d=n-r,g=l-s,p=c*v-g*f,y=h*v-d*f,E=g*h-c*d;if(E!==0){var m=p/E,T=y/E,C=.001,S=0-C,b=1+C;return S<=m&&m<=b&&S<=T&&T<=b?[e+m*h,r+m*d]:u?[e+m*h,r+m*d]:[]}else return p===0||y===0?Ln(e,a,o)===o?[o,l]:Ln(e,a,i)===i?[i,s]:Ln(i,o,a)===a?[a,n]:[]:[]},aa=function(e,r,a,n,i,s,o,l){var u=[],f,h=new Array(a.length),c=!0;s==null&&(c=!1);var v;if(c){for(var d=0;d<h.length/2;d++)h[d*2]=a[d*2]*s+n,h[d*2+1]=a[d*2+1]*o+i;if(l>0){var g=qa(h,-l);v=Wa(g)}else v=h}else v=a;for(var p,y,E,m,T=0;T<v.length/2;T++)p=v[T*2],y=v[T*2+1],T<v.length/2-1?(E=v[(T+1)*2],m=v[(T+1)*2+1]):(E=v[0],m=v[1]),f=_t(e,r,n,i,p,y,E,m),f.length!==0&&u.push(f[0],f[1]);return u},jd=function(e,r,a,n,i,s,o,l){for(var u=[],f,h=new Array(a.length),c=s/2,v=o/2,d=hi(s,o),g=0;g<a.length/4;g++){var p=void 0,y=void 0;g===0?p=a.length-2:p=g*4-2,y=g*4+2;var E=n+c*a[g*4],m=i+v*a[g*4+1],T=-a[p]*a[y]-a[p+1]*a[y+1],C=d/Math.tan(Math.acos(T)/2),S=E-C*a[p],b=m-C*a[p+1],x=E+C*a[y],w=m+C*a[y+1];g===0?(h[a.length-2]=S,h[a.length-1]=b):(h[g*4-2]=S,h[g*4-1]=b),h[g*4]=x,h[g*4+1]=w;var D=a[p+1],A=-a[p],L=D*a[y]+A*a[y+1];L<0&&(D*=-1,A*=-1);var I=S+D*d,O=b+A*d;f=Wr(e,r,n,i,I,O,d),f.length!==0&&u.push(f[0],f[1])}for(var P=0;P<h.length/4;P++)f=_t(e,r,n,i,h[P*4],h[P*4+1],h[P*4+2],h[P*4+3],!1),f.length!==0&&u.push(f[0],f[1]);if(u.length>2){for(var R=[u[0],u[1]],M=Math.pow(R[0]-e,2)+Math.pow(R[1]-r,2),k=1;k<u.length/2;k++){var B=Math.pow(u[k*2]-e,2)+Math.pow(u[k*2+1]-r,2);B<=M&&(R[0]=u[k*2],R[1]=u[k*2+1],M=B)}return R}return u},Da=function(e,r,a){var n=[e[0]-r[0],e[1]-r[1]],i=Math.sqrt(n[0]*n[0]+n[1]*n[1]),s=(i-a)/i;return s<0&&(s=1e-5),[r[0]+s*n[0],r[1]+s*n[1]]},st=function(e,r){var a=Gn(e,r);return a=Co(a),a},Co=function(e){for(var r,a,n=e.length/2,i=1/0,s=1/0,o=-1/0,l=-1/0,u=0;u<n;u++)r=e[2*u],a=e[2*u+1],i=Math.min(i,r),o=Math.max(o,r),s=Math.min(s,a),l=Math.max(l,a);for(var f=2/(o-i),h=2/(l-s),c=0;c<n;c++)r=e[2*c]=e[2*c]*f,a=e[2*c+1]=e[2*c+1]*h,i=Math.min(i,r),o=Math.max(o,r),s=Math.min(s,a),l=Math.max(l,a);if(s<-1)for(var v=0;v<n;v++)a=e[2*v+1]=e[2*v+1]+(-1-s);return e},Gn=function(e,r){var a=1/e*2*Math.PI,n=e%2===0?Math.PI/2+a/2:Math.PI/2;n+=r;for(var i=new Array(e*2),s,o=0;o<e;o++)s=o*a+n,i[2*o]=Math.cos(s),i[2*o+1]=Math.sin(-s);return i},da=function(e,r){return Math.min(e/4,r/4,8)},hi=function(e,r){return Math.min(e/10,r/10,8)},Do=function(){return 8},eg=function(e,r,a){return[e-2*r+a,2*(r-e),e]},zn=function(e,r){return{heightOffset:Math.min(15,.05*r),widthOffset:Math.min(100,.25*e),ctrlPtOffsetPct:.05}},tg=Qe({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(e){return 1}}),rg={pageRank:function(e){for(var r=tg(e),a=r.dampingFactor,n=r.precision,i=r.iterations,s=r.weight,o=this._private.cy,l=this.byGroup(),u=l.nodes,f=l.edges,h=u.length,c=h*h,v=f.length,d=new Array(c),g=new Array(h),p=(1-a)/h,y=0;y<h;y++){for(var E=0;E<h;E++){var m=y*h+E;d[m]=0}g[y]=0}for(var T=0;T<v;T++){var C=f[T],S=C.data("source"),b=C.data("target");if(S!==b){var x=u.indexOfId(S),w=u.indexOfId(b),D=s(C),A=w*h+x;d[A]+=D,g[x]+=D}}for(var L=1/h+p,I=0;I<h;I++)if(g[I]===0)for(var O=0;O<h;O++){var P=O*h+I;d[P]=L}else for(var R=0;R<h;R++){var M=R*h+I;d[M]=d[M]/g[I]+p}for(var k=new Array(h),B=new Array(h),G,F=0;F<h;F++)k[F]=1;for(var $=0;$<i;$++){for(var U=0;U<h;U++)B[U]=0;for(var _=0;_<h;_++)for(var Y=0;Y<h;Y++){var W=_*h+Y;B[_]+=d[W]*k[Y]}Gd(B),G=k,k=B,B=G;for(var z=0,K=0;K<h;K++){var j=G[K]-k[K];z+=j*j}if(z<n)break}var Q={rank:function(ne){return ne=o.collection(ne)[0],k[u.indexOf(ne)]}};return Q}},Ki=Qe({root:null,weight:function(e){return 1},directed:!1,alpha:0}),Tr={degreeCentralityNormalized:function(e){e=Ki(e);var r=this.cy(),a=this.nodes(),n=a.length;if(e.directed){for(var f={},h={},c=0,v=0,d=0;d<n;d++){var g=a[d],p=g.id();e.root=g;var y=this.degreeCentrality(e);c<y.indegree&&(c=y.indegree),v<y.outdegree&&(v=y.outdegree),f[p]=y.indegree,h[p]=y.outdegree}return{indegree:function(m){return c==0?0:(ve(m)&&(m=r.filter(m)),f[m.id()]/c)},outdegree:function(m){return v===0?0:(ve(m)&&(m=r.filter(m)),h[m.id()]/v)}}}else{for(var i={},s=0,o=0;o<n;o++){var l=a[o];e.root=l;var u=this.degreeCentrality(e);s<u.degree&&(s=u.degree),i[l.id()]=u.degree}return{degree:function(m){return s===0?0:(ve(m)&&(m=r.filter(m)),i[m.id()]/s)}}}},degreeCentrality:function(e){e=Ki(e);var r=this.cy(),a=this,n=e,i=n.root,s=n.weight,o=n.directed,l=n.alpha;if(i=r.collection(i)[0],o){for(var v=i.connectedEdges(),d=v.filter(function(S){return S.target().same(i)&&a.has(S)}),g=v.filter(function(S){return S.source().same(i)&&a.has(S)}),p=d.length,y=g.length,E=0,m=0,T=0;T<d.length;T++)E+=s(d[T]);for(var C=0;C<g.length;C++)m+=s(g[C]);return{indegree:Math.pow(p,1-l)*Math.pow(E,l),outdegree:Math.pow(y,1-l)*Math.pow(m,l)}}else{for(var u=i.connectedEdges().intersection(a),f=u.length,h=0,c=0;c<u.length;c++)h+=s(u[c]);return{degree:Math.pow(f,1-l)*Math.pow(h,l)}}}};Tr.dc=Tr.degreeCentrality;Tr.dcn=Tr.degreeCentralityNormalised=Tr.degreeCentralityNormalized;var Zi=Qe({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),Cr={closenessCentralityNormalized:function(e){for(var r=Zi(e),a=r.harmonic,n=r.weight,i=r.directed,s=this.cy(),o={},l=0,u=this.nodes(),f=this.floydWarshall({weight:n,directed:i}),h=0;h<u.length;h++){for(var c=0,v=u[h],d=0;d<u.length;d++)if(h!==d){var g=f.distance(v,u[d]);a?c+=1/g:c+=g}a||(c=1/c),l<c&&(l=c),o[v.id()]=c}return{closeness:function(y){return l==0?0:(ve(y)?y=s.filter(y)[0].id():y=y.id(),o[y]/l)}}},closenessCentrality:function(e){var r=Zi(e),a=r.root,n=r.weight,i=r.directed,s=r.harmonic;a=this.filter(a)[0];for(var o=this.dijkstra({root:a,weight:n,directed:i}),l=0,u=this.nodes(),f=0;f<u.length;f++){var h=u[f];if(!h.same(a)){var c=o.distanceTo(h);s?l+=1/c:l+=c}}return s?l:1/l}};Cr.cc=Cr.closenessCentrality;Cr.ccn=Cr.closenessCentralityNormalised=Cr.closenessCentralityNormalized;var ag=Qe({weight:null,directed:!1}),$n={betweennessCentrality:function(e){for(var r=ag(e),a=r.directed,n=r.weight,i=n!=null,s=this.cy(),o=this.nodes(),l={},u={},f=0,h={set:function(m,T){u[m]=T,T>f&&(f=T)},get:function(m){return u[m]}},c=0;c<o.length;c++){var v=o[c],d=v.id();a?l[d]=v.outgoers().nodes():l[d]=v.openNeighborhood().nodes(),h.set(d,0)}for(var g=function(m){for(var T=o[m].id(),C=[],S={},b={},x={},w=new ha.default(function(Y,W){return x[Y]-x[W]}),D=0;D<o.length;D++){var A=o[D].id();S[A]=[],b[A]=0,x[A]=1/0}for(b[T]=1,x[T]=0,w.push(T);!w.empty();){var L=w.pop();if(C.push(L),i)for(var I=0;I<l[L].length;I++){var O=l[L][I],P=s.getElementById(L),R=void 0;P.edgesTo(O).length>0?R=P.edgesTo(O)[0]:R=O.edgesTo(P)[0];var M=n(R);O=O.id(),x[O]>x[L]+M&&(x[O]=x[L]+M,w.nodes.indexOf(O)<0?w.push(O):w.updateItem(O),b[O]=0,S[O]=[]),x[O]==x[L]+M&&(b[O]=b[O]+b[L],S[O].push(L))}else for(var k=0;k<l[L].length;k++){var B=l[L][k].id();x[B]==1/0&&(w.push(B),x[B]=x[L]+1),x[B]==x[L]+1&&(b[B]=b[B]+b[L],S[B].push(L))}}for(var G={},F=0;F<o.length;F++)G[o[F].id()]=0;for(;C.length>0;){for(var $=C.pop(),U=0;U<S[$].length;U++){var _=S[$][U];G[_]=G[_]+b[_]/b[$]*(1+G[$])}$!=o[m].id()&&h.set($,h.get($)+G[$])}},p=0;p<o.length;p++)g(p);var y={betweenness:function(m){var T=s.collection(m).id();return h.get(T)},betweennessNormalized:function(m){if(f==0)return 0;var T=s.collection(m).id();return h.get(T)/f}};return y.betweennessNormalised=y.betweennessNormalized,y}};$n.bc=$n.betweennessCentrality;var ng=Qe({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(t){return 1}]}),ig=function(e){return ng(e)},sg=function(e,r){for(var a=0,n=0;n<r.length;n++)a+=r[n](e);return a},og=function(e,r,a){for(var n=0;n<r;n++)e[n*r+n]=a},So=function(e,r){for(var a,n=0;n<r;n++){a=0;for(var i=0;i<r;i++)a+=e[i*r+n];for(var s=0;s<r;s++)e[s*r+n]=e[s*r+n]/a}},lg=function(e,r,a){for(var n=new Array(a*a),i=0;i<a;i++){for(var s=0;s<a;s++)n[i*a+s]=0;for(var o=0;o<a;o++)for(var l=0;l<a;l++)n[i*a+l]+=e[i*a+o]*r[o*a+l]}return n},ug=function(e,r,a){for(var n=e.slice(0),i=1;i<a;i++)e=lg(e,n,r);return e},fg=function(e,r,a){for(var n=new Array(r*r),i=0;i<r*r;i++)n[i]=Math.pow(e[i],a);return So(n,r),n},hg=function(e,r,a,n){for(var i=0;i<a;i++){var s=Math.round(e[i]*Math.pow(10,n))/Math.pow(10,n),o=Math.round(r[i]*Math.pow(10,n))/Math.pow(10,n);if(s!==o)return!1}return!0},vg=function(e,r,a,n){for(var i=[],s=0;s<r;s++){for(var o=[],l=0;l<r;l++)Math.round(e[s*r+l]*1e3)/1e3>0&&o.push(a[l]);o.length!==0&&i.push(n.collection(o))}return i},cg=function(e,r){for(var a=0;a<e.length;a++)if(!r[a]||e[a].id()!==r[a].id())return!1;return!0},dg=function(e){for(var r=0;r<e.length;r++)for(var a=0;a<e.length;a++)r!=a&&cg(e[r],e[a])&&e.splice(a,1);return e},Qi=function(e){for(var r=this.nodes(),a=this.edges(),n=this.cy(),i=ig(e),s={},o=0;o<r.length;o++)s[r[o].id()]=o;for(var l=r.length,u=l*l,f=new Array(u),h,c=0;c<u;c++)f[c]=0;for(var v=0;v<a.length;v++){var d=a[v],g=s[d.source().id()],p=s[d.target().id()],y=sg(d,i.attributes);f[g*l+p]+=y,f[p*l+g]+=y}og(f,l,i.multFactor),So(f,l);for(var E=!0,m=0;E&&m<i.maxIterations;)E=!1,h=ug(f,l,i.expandFactor),f=fg(h,l,i.inflateFactor),hg(f,h,u,4)||(E=!0),m++;var T=vg(f,l,r,n);return T=dg(T),T},gg={markovClustering:Qi,mcl:Qi},pg=function(e){return e},Lo=function(e,r){return Math.abs(r-e)},Ji=function(e,r,a){return e+Lo(r,a)},ji=function(e,r,a){return e+Math.pow(a-r,2)},yg=function(e){return Math.sqrt(e)},mg=function(e,r,a){return Math.max(e,Lo(r,a))},_r=function(e,r,a,n,i){for(var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:pg,o=n,l,u,f=0;f<e;f++)l=r(f),u=a(f),o=i(o,l,u);return s(o)},Lr={euclidean:function(e,r,a){return e>=2?_r(e,r,a,0,ji,yg):_r(e,r,a,0,Ji)},squaredEuclidean:function(e,r,a){return _r(e,r,a,0,ji)},manhattan:function(e,r,a){return _r(e,r,a,0,Ji)},max:function(e,r,a){return _r(e,r,a,-1/0,mg)}};Lr["squared-euclidean"]=Lr.squaredEuclidean;Lr.squaredeuclidean=Lr.squaredEuclidean;function hn(t,e,r,a,n,i){var s;return Be(t)?s=t:s=Lr[t]||Lr.euclidean,e===0&&Be(t)?s(n,i):s(e,r,a,n,i)}var bg=Qe({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),vi=function(e){return bg(e)},Ka=function(e,r,a,n,i){var s=i!=="kMedoids",o=s?function(h){return a[h]}:function(h){return n[h](a)},l=function(c){return n[c](r)},u=a,f=r;return hn(e,n.length,o,l,u,f)},An=function(e,r,a){for(var n=a.length,i=new Array(n),s=new Array(n),o=new Array(r),l=null,u=0;u<n;u++)i[u]=e.min(a[u]).value,s[u]=e.max(a[u]).value;for(var f=0;f<r;f++){l=[];for(var h=0;h<n;h++)l[h]=Math.random()*(s[h]-i[h])+i[h];o[f]=l}return o},Ao=function(e,r,a,n,i){for(var s=1/0,o=0,l=0;l<r.length;l++){var u=Ka(a,e,r[l],n,i);u<s&&(s=u,o=l)}return o},Oo=function(e,r,a){for(var n=[],i=null,s=0;s<r.length;s++)i=r[s],a[i.id()]===e&&n.push(i);return n},Eg=function(e,r,a){return Math.abs(r-e)<=a},wg=function(e,r,a){for(var n=0;n<e.length;n++)for(var i=0;i<e[n].length;i++){var s=Math.abs(e[n][i]-r[n][i]);if(s>a)return!1}return!0},xg=function(e,r,a){for(var n=0;n<a;n++)if(e===r[n])return!0;return!1},es=function(e,r){var a=new Array(r);if(e.length<50)for(var n=0;n<r;n++){for(var i=e[Math.floor(Math.random()*e.length)];xg(i,a,n);)i=e[Math.floor(Math.random()*e.length)];a[n]=i}else for(var s=0;s<r;s++)a[s]=e[Math.floor(Math.random()*e.length)];return a},ts=function(e,r,a){for(var n=0,i=0;i<r.length;i++)n+=Ka("manhattan",r[i],e,a,"kMedoids");return n},Tg=function(e){var r=this.cy(),a=this.nodes(),n=null,i=vi(e),s=new Array(i.k),o={},l;i.testMode?typeof i.testCentroids=="number"?(i.testCentroids,l=An(a,i.k,i.attributes)):Ue(i.testCentroids)==="object"?l=i.testCentroids:l=An(a,i.k,i.attributes):l=An(a,i.k,i.attributes);for(var u=!0,f=0;u&&f<i.maxIterations;){for(var h=0;h<a.length;h++)n=a[h],o[n.id()]=Ao(n,l,i.distance,i.attributes,"kMeans");u=!1;for(var c=0;c<i.k;c++){var v=Oo(c,a,o);if(v.length!==0){for(var d=i.attributes.length,g=l[c],p=new Array(d),y=new Array(d),E=0;E<d;E++){y[E]=0;for(var m=0;m<v.length;m++)n=v[m],y[E]+=i.attributes[E](n);p[E]=y[E]/v.length,Eg(p[E],g[E],i.sensitivityThreshold)||(u=!0)}l[c]=p,s[c]=r.collection(v)}}f++}return s},Cg=function(e){var r=this.cy(),a=this.nodes(),n=null,i=vi(e),s=new Array(i.k),o,l={},u,f=new Array(i.k);i.testMode?typeof i.testCentroids=="number"||(Ue(i.testCentroids)==="object"?o=i.testCentroids:o=es(a,i.k)):o=es(a,i.k);for(var h=!0,c=0;h&&c<i.maxIterations;){for(var v=0;v<a.length;v++)n=a[v],l[n.id()]=Ao(n,o,i.distance,i.attributes,"kMedoids");h=!1;for(var d=0;d<o.length;d++){var g=Oo(d,a,l);if(g.length!==0){f[d]=ts(o[d],g,i.attributes);for(var p=0;p<g.length;p++)u=ts(g[p],g,i.attributes),u<f[d]&&(f[d]=u,o[d]=g[p],h=!0);s[d]=r.collection(g)}}c++}return s},Dg=function(e,r,a,n,i){for(var s,o,l=0;l<r.length;l++)for(var u=0;u<e.length;u++)n[l][u]=Math.pow(a[l][u],i.m);for(var f=0;f<e.length;f++)for(var h=0;h<i.attributes.length;h++){s=0,o=0;for(var c=0;c<r.length;c++)s+=n[c][f]*i.attributes[h](r[c]),o+=n[c][f];e[f][h]=s/o}},Sg=function(e,r,a,n,i){for(var s=0;s<e.length;s++)r[s]=e[s].slice();for(var o,l,u,f=2/(i.m-1),h=0;h<a.length;h++)for(var c=0;c<n.length;c++){o=0;for(var v=0;v<a.length;v++)l=Ka(i.distance,n[c],a[h],i.attributes,"cmeans"),u=Ka(i.distance,n[c],a[v],i.attributes,"cmeans"),o+=Math.pow(l/u,f);e[c][h]=1/o}},Lg=function(e,r,a,n){for(var i=new Array(a.k),s=0;s<i.length;s++)i[s]=[];for(var o,l,u=0;u<r.length;u++){o=-1/0,l=-1;for(var f=0;f<r[0].length;f++)r[u][f]>o&&(o=r[u][f],l=f);i[l].push(e[u])}for(var h=0;h<i.length;h++)i[h]=n.collection(i[h]);return i},rs=function(e){var r=this.cy(),a=this.nodes(),n=vi(e),i,s,o,l,u;l=new Array(a.length);for(var f=0;f<a.length;f++)l[f]=new Array(n.k);o=new Array(a.length);for(var h=0;h<a.length;h++)o[h]=new Array(n.k);for(var c=0;c<a.length;c++){for(var v=0,d=0;d<n.k;d++)o[c][d]=Math.random(),v+=o[c][d];for(var g=0;g<n.k;g++)o[c][g]=o[c][g]/v}s=new Array(n.k);for(var p=0;p<n.k;p++)s[p]=new Array(n.attributes.length);u=new Array(a.length);for(var y=0;y<a.length;y++)u[y]=new Array(n.k);for(var E=!0,m=0;E&&m<n.maxIterations;)E=!1,Dg(s,a,o,u,n),Sg(o,l,s,a,n),wg(o,l,n.sensitivityThreshold)||(E=!0),m++;return i=Lg(a,o,n,r),{clusters:i,degreeOfMembership:o}},Ag={kMeans:Tg,kMedoids:Cg,fuzzyCMeans:rs,fcm:rs},Og=Qe({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),Ng={single:"min",complete:"max"},Ig=function(e){var r=Og(e),a=Ng[r.linkage];return a!=null&&(r.linkage=a),r},as=function(e,r,a,n,i){for(var s=0,o=1/0,l,u=i.attributes,f=function(w,D){return hn(i.distance,u.length,function(A){return u[A](w)},function(A){return u[A](D)},w,D)},h=0;h<e.length;h++){var c=e[h].key,v=a[c][n[c]];v<o&&(s=c,o=v)}if(i.mode==="threshold"&&o>=i.threshold||i.mode==="dendrogram"&&e.length===1)return!1;var d=r[s],g=r[n[s]],p;i.mode==="dendrogram"?p={left:d,right:g,key:d.key}:p={value:d.value.concat(g.value),key:d.key},e[d.index]=p,e.splice(g.index,1),r[d.key]=p;for(var y=0;y<e.length;y++){var E=e[y];d.key===E.key?l=1/0:i.linkage==="min"?(l=a[d.key][E.key],a[d.key][E.key]>a[g.key][E.key]&&(l=a[g.key][E.key])):i.linkage==="max"?(l=a[d.key][E.key],a[d.key][E.key]<a[g.key][E.key]&&(l=a[g.key][E.key])):i.linkage==="mean"?l=(a[d.key][E.key]*d.size+a[g.key][E.key]*g.size)/(d.size+g.size):i.mode==="dendrogram"?l=f(E.value,d.value):l=f(E.value[0],d.value[0]),a[d.key][E.key]=a[E.key][d.key]=l}for(var m=0;m<e.length;m++){var T=e[m].key;if(n[T]===d.key||n[T]===g.key){for(var C=T,S=0;S<e.length;S++){var b=e[S].key;a[T][b]<a[T][C]&&(C=b)}n[T]=C}e[m].index=m}return d.key=g.key=d.index=g.index=null,!0},Sa=function t(e,r,a){e&&(e.value?r.push(e.value):(e.left&&t(e.left,r),e.right&&t(e.right,r)))},Mg=function t(e,r){if(!e)return"";if(e.left&&e.right){var a=t(e.left,r),n=t(e.right,r),i=r.add({group:"nodes",data:{id:a+","+n}});return r.add({group:"edges",data:{source:a,target:i.id()}}),r.add({group:"edges",data:{source:n,target:i.id()}}),i.id()}else if(e.value)return e.value.id()},Rg=function t(e,r,a){if(!e)return[];var n=[],i=[],s=[];return r===0?(e.left&&Sa(e.left,n),e.right&&Sa(e.right,i),s=n.concat(i),[a.collection(s)]):r===1?e.value?[a.collection(e.value)]:(e.left&&Sa(e.left,n),e.right&&Sa(e.right,i),[a.collection(n),a.collection(i)]):e.value?[a.collection(e.value)]:(e.left&&(n=t(e.left,r-1,a)),e.right&&(i=t(e.right,r-1,a)),n.concat(i))},ns=function(e){for(var r=this.cy(),a=this.nodes(),n=Ig(e),i=n.attributes,s=function(m,T){return hn(n.distance,i.length,function(C){return i[C](m)},function(C){return i[C](T)},m,T)},o=[],l=[],u=[],f=[],h=0;h<a.length;h++){var c={value:n.mode==="dendrogram"?a[h]:[a[h]],key:h,index:h};o[h]=c,f[h]=c,l[h]=[],u[h]=0}for(var v=0;v<o.length;v++)for(var d=0;d<=v;d++){var g=void 0;n.mode==="dendrogram"?g=v===d?1/0:s(o[v].value,o[d].value):g=v===d?1/0:s(o[v].value[0],o[d].value[0]),l[v][d]=g,l[d][v]=g,g<l[v][u[v]]&&(u[v]=d)}for(var p=as(o,f,l,u,n);p;)p=as(o,f,l,u,n);var y;return n.mode==="dendrogram"?(y=Rg(o[0],n.dendrogramDepth,r),n.addDendrogram&&Mg(o[0],r)):(y=new Array(o.length),o.forEach(function(E,m){E.key=E.index=null,y[m]=r.collection(E.value)})),y},kg={hierarchicalClustering:ns,hca:ns},Pg=Qe({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),Bg=function(e){var r=e.damping,a=e.preference;.5<=r&&r<1||Ge("Damping must range on [0.5, 1). Got: ".concat(r));var n=["median","mean","min","max"];return n.some(function(i){return i===a})||ae(a)||Ge("Preference must be one of [".concat(n.map(function(i){return"'".concat(i,"'")}).join(", "),"] or a number. Got: ").concat(a)),Pg(e)},Fg=function(e,r,a,n){var i=function(o,l){return n[l](o)};return-hn(e,n.length,function(s){return i(r,s)},function(s){return i(a,s)},r,a)},Gg=function(e,r){var a=null;return r==="median"?a=Bd(e):r==="mean"?a=Pd(e):r==="min"?a=Rd(e):r==="max"?a=kd(e):a=r,a},zg=function(e,r,a){for(var n=[],i=0;i<e;i++)r[i*e+i]+a[i*e+i]>0&&n.push(i);return n},is=function(e,r,a){for(var n=[],i=0;i<e;i++){for(var s=-1,o=-1/0,l=0;l<a.length;l++){var u=a[l];r[i*e+u]>o&&(s=u,o=r[i*e+u])}s>0&&n.push(s)}for(var f=0;f<a.length;f++)n[a[f]]=a[f];return n},$g=function(e,r,a){for(var n=is(e,r,a),i=0;i<a.length;i++){for(var s=[],o=0;o<n.length;o++)n[o]===a[i]&&s.push(o);for(var l=-1,u=-1/0,f=0;f<s.length;f++){for(var h=0,c=0;c<s.length;c++)h+=r[s[c]*e+s[f]];h>u&&(l=f,u=h)}a[i]=s[l]}return n=is(e,r,a),n},ss=function(e){for(var r=this.cy(),a=this.nodes(),n=Bg(e),i={},s=0;s<a.length;s++)i[a[s].id()]=s;var o,l,u,f,h,c;o=a.length,l=o*o,u=new Array(l);for(var v=0;v<l;v++)u[v]=-1/0;for(var d=0;d<o;d++)for(var g=0;g<o;g++)d!==g&&(u[d*o+g]=Fg(n.distance,a[d],a[g],n.attributes));f=Gg(u,n.preference);for(var p=0;p<o;p++)u[p*o+p]=f;h=new Array(l);for(var y=0;y<l;y++)h[y]=0;c=new Array(l);for(var E=0;E<l;E++)c[E]=0;for(var m=new Array(o),T=new Array(o),C=new Array(o),S=0;S<o;S++)m[S]=0,T[S]=0,C[S]=0;for(var b=new Array(o*n.minIterations),x=0;x<b.length;x++)b[x]=0;var w;for(w=0;w<n.maxIterations;w++){for(var D=0;D<o;D++){for(var A=-1/0,L=-1/0,I=-1,O=0,P=0;P<o;P++)m[P]=h[D*o+P],O=c[D*o+P]+u[D*o+P],O>=A?(L=A,A=O,I=P):O>L&&(L=O);for(var R=0;R<o;R++)h[D*o+R]=(1-n.damping)*(u[D*o+R]-A)+n.damping*m[R];h[D*o+I]=(1-n.damping)*(u[D*o+I]-L)+n.damping*m[I]}for(var M=0;M<o;M++){for(var k=0,B=0;B<o;B++)m[B]=c[B*o+M],T[B]=Math.max(0,h[B*o+M]),k+=T[B];k-=T[M],T[M]=h[M*o+M],k+=T[M];for(var G=0;G<o;G++)c[G*o+M]=(1-n.damping)*Math.min(0,k-T[G])+n.damping*m[G];c[M*o+M]=(1-n.damping)*(k-T[M])+n.damping*m[M]}for(var F=0,$=0;$<o;$++){var U=c[$*o+$]+h[$*o+$]>0?1:0;b[w%n.minIterations*o+$]=U,F+=U}if(F>0&&(w>=n.minIterations-1||w==n.maxIterations-1)){for(var _=0,Y=0;Y<o;Y++){C[Y]=0;for(var W=0;W<n.minIterations;W++)C[Y]+=b[W*o+Y];(C[Y]===0||C[Y]===n.minIterations)&&_++}if(_===o)break}}for(var z=zg(o,h,c),K=$g(o,u,z),j={},Q=0;Q<z.length;Q++)j[z[Q]]=[];for(var ee=0;ee<a.length;ee++){var ne=i[a[ee].id()],ce=K[ne];ce!=null&&j[ce].push(a[ee])}for(var te=new Array(z.length),re=0;re<z.length;re++)te[re]=r.collection(j[z[re]]);return te},Vg={affinityPropagation:ss,ap:ss},_g=Qe({root:void 0,directed:!1}),Ug={hierholzer:function(e){if(!De(e)){var r=arguments;e={root:r[0],directed:r[1]}}var a=_g(e),n=a.root,i=a.directed,s=this,o=!1,l,u,f;n&&(f=ve(n)?this.filter(n)[0].id():n[0].id());var h={},c={};i?s.forEach(function(E){var m=E.id();if(E.isNode()){var T=E.indegree(!0),C=E.outdegree(!0),S=T-C,b=C-T;S==1?l?o=!0:l=m:b==1?u?o=!0:u=m:(b>1||S>1)&&(o=!0),h[m]=[],E.outgoers().forEach(function(x){x.isEdge()&&h[m].push(x.id())})}else c[m]=[void 0,E.target().id()]}):s.forEach(function(E){var m=E.id();if(E.isNode()){var T=E.degree(!0);T%2&&(l?u?o=!0:u=m:l=m),h[m]=[],E.connectedEdges().forEach(function(C){return h[m].push(C.id())})}else c[m]=[E.source().id(),E.target().id()]});var v={found:!1,trail:void 0};if(o)return v;if(u&&l)if(i){if(f&&u!=f)return v;f=u}else{if(f&&u!=f&&l!=f)return v;f||(f=u)}else f||(f=s[0].id());var d=function(m){for(var T=m,C=[m],S,b,x;h[T].length;)S=h[T].shift(),b=c[S][0],x=c[S][1],T!=x?(h[x]=h[x].filter(function(w){return w!=S}),T=x):!i&&T!=b&&(h[b]=h[b].filter(function(w){return w!=S}),T=b),C.unshift(S),C.unshift(T);return C},g=[],p=[];for(p=d(f);p.length!=1;)h[p[0]].length==0?(g.unshift(s.getElementById(p.shift())),g.unshift(s.getElementById(p.shift()))):p=d(p.shift()).concat(p);g.unshift(s.getElementById(p.shift()));for(var y in h)if(h[y].length)return v;return v.found=!0,v.trail=this.spawn(g,!0),v}},La=function(){var e=this,r={},a=0,n=0,i=[],s=[],o={},l=function(c,v){for(var d=s.length-1,g=[],p=e.spawn();s[d].x!=c||s[d].y!=v;)g.push(s.pop().edge),d--;g.push(s.pop().edge),g.forEach(function(y){var E=y.connectedNodes().intersection(e);p.merge(y),E.forEach(function(m){var T=m.id(),C=m.connectedEdges().intersection(e);p.merge(m),r[T].cutVertex?p.merge(C.filter(function(S){return S.isLoop()})):p.merge(C)})}),i.push(p)},u=function h(c,v,d){c===d&&(n+=1),r[v]={id:a,low:a++,cutVertex:!1};var g=e.getElementById(v).connectedEdges().intersection(e);if(g.size()===0)i.push(e.spawn(e.getElementById(v)));else{var p,y,E,m;g.forEach(function(T){p=T.source().id(),y=T.target().id(),E=p===v?y:p,E!==d&&(m=T.id(),o[m]||(o[m]=!0,s.push({x:v,y:E,edge:T})),E in r?r[v].low=Math.min(r[v].low,r[E].id):(h(c,E,v),r[v].low=Math.min(r[v].low,r[E].low),r[v].id<=r[E].low&&(r[v].cutVertex=!0,l(v,E))))})}};e.forEach(function(h){if(h.isNode()){var c=h.id();c in r||(n=0,u(c,c),r[c].cutVertex=n>1)}});var f=Object.keys(r).filter(function(h){return r[h].cutVertex}).map(function(h){return e.getElementById(h)});return{cut:e.spawn(f),components:i}},Hg={hopcroftTarjanBiconnected:La,htbc:La,htb:La,hopcroftTarjanBiconnectedComponents:La},Aa=function(){var e=this,r={},a=0,n=[],i=[],s=e.spawn(e),o=function l(u){i.push(u),r[u]={index:a,low:a++,explored:!1};var f=e.getElementById(u).connectedEdges().intersection(e);if(f.forEach(function(g){var p=g.target().id();p!==u&&(p in r||l(p),r[p].explored||(r[u].low=Math.min(r[u].low,r[p].low)))}),r[u].index===r[u].low){for(var h=e.spawn();;){var c=i.pop();if(h.merge(e.getElementById(c)),r[c].low=r[u].index,r[c].explored=!0,c===u)break}var v=h.edgesWith(h),d=h.merge(v);n.push(d),s=s.difference(d)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in r||o(u)}}),{cut:s,components:n}},Yg={tarjanStronglyConnected:Aa,tsc:Aa,tscc:Aa,tarjanStronglyConnectedComponents:Aa},No={};[ta,wd,xd,Cd,Sd,Ad,Id,rg,Tr,Cr,$n,gg,Ag,kg,Vg,Ug,Hg,Yg].forEach(function(t){de(No,t)});/*! +Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable +Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com) +Licensed under The MIT License (http://opensource.org/licenses/MIT) +*/var Io=0,Mo=1,Ro=2,kt=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Io,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof e=="function"&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};kt.prototype={fulfill:function(e){return os(this,Mo,"fulfillValue",e)},reject:function(e){return os(this,Ro,"rejectReason",e)},then:function(e,r){var a=this,n=new kt;return a.onFulfilled.push(us(e,n,"fulfill")),a.onRejected.push(us(r,n,"reject")),ko(a),n.proxy}};var os=function(e,r,a,n){return e.state===Io&&(e.state=r,e[a]=n,ko(e)),e},ko=function(e){e.state===Mo?ls(e,"onFulfilled",e.fulfillValue):e.state===Ro&&ls(e,"onRejected",e.rejectReason)},ls=function(e,r,a){if(e[r].length!==0){var n=e[r];e[r]=[];var i=function(){for(var o=0;o<n.length;o++)n[o](a)};typeof setImmediate=="function"?setImmediate(i):setTimeout(i,0)}},us=function(e,r,a){return function(n){if(typeof e!="function")r[a].call(r,n);else{var i;try{i=e(n)}catch(s){r.reject(s);return}Xg(r,i)}}},Xg=function t(e,r){if(e===r||e.proxy===r){e.reject(new TypeError("cannot resolve promise with itself"));return}var a;if(Ue(r)==="object"&&r!==null||typeof r=="function")try{a=r.then}catch(i){e.reject(i);return}if(typeof a=="function"){var n=!1;try{a.call(r,function(i){n||(n=!0,i===r?e.reject(new TypeError("circular thenable chain")):t(e,i))},function(i){n||(n=!0,e.reject(i))})}catch(i){n||e.reject(i)}return}e.fulfill(r)};kt.all=function(t){return new kt(function(e,r){for(var a=new Array(t.length),n=0,i=function(l,u){a[l]=u,n++,n===t.length&&e(a)},s=0;s<t.length;s++)(function(o){var l=t[o],u=l!=null&&l.then!=null;if(u)l.then(function(h){i(o,h)},function(h){r(h)});else{var f=l;i(o,f)}})(s)})};kt.resolve=function(t){return new kt(function(e,r){e(t)})};kt.reject=function(t){return new kt(function(e,r){r(t)})};var Rr=typeof Promise<"u"?Promise:kt,Vn=function(e,r,a){var n=ni(e),i=!n,s=this._private=de({duration:1e3},r,a);if(s.target=e,s.style=s.style||s.css,s.started=!1,s.playing=!1,s.hooked=!1,s.applying=!1,s.progress=0,s.completes=[],s.frames=[],s.complete&&Be(s.complete)&&s.completes.push(s.complete),i){var o=e.position();s.startPosition=s.startPosition||{x:o.x,y:o.y},s.startStyle=s.startStyle||e.cy().style().getAnimationStartStyle(e,s.style)}if(n){var l=e.pan();s.startPan={x:l.x,y:l.y},s.startZoom=e.zoom()}this.length=1,this[0]=this},ir=Vn.prototype;de(ir,{instanceString:function(){return"animation"},hook:function(){var e=this._private;if(!e.hooked){var r,a=e.target._private.animation;e.queue?r=a.queue:r=a.current,r.push(this),ht(e.target)&&e.target.cy().addToAnimationPool(e.target),e.hooked=!0}return this},play:function(){var e=this._private;return e.progress===1&&(e.progress=0),e.playing=!0,e.started=!1,e.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var e=this._private;return e.applying=!0,e.started=!1,e.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var e=this._private;return e.playing=!1,e.started=!1,this},stop:function(){var e=this._private;return e.playing=!1,e.started=!1,e.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(e){var r=this._private;return e===void 0?r.progress*r.duration:this.progress(e/r.duration)},progress:function(e){var r=this._private,a=r.playing;return e===void 0?r.progress:(a&&this.pause(),r.progress=e,r.started=!1,a&&this.play(),this)},completed:function(){return this._private.progress===1},reverse:function(){var e=this._private,r=e.playing;r&&this.pause(),e.progress=1-e.progress,e.started=!1;var a=function(u,f){var h=e[u];h!=null&&(e[u]=e[f],e[f]=h)};if(a("zoom","startZoom"),a("pan","startPan"),a("position","startPosition"),e.style)for(var n=0;n<e.style.length;n++){var i=e.style[n],s=i.name,o=e.startStyle[s];e.startStyle[s]=i,e.style[n]=o}return r&&this.play(),this},promise:function(e){var r=this._private,a;switch(e){case"frame":a=r.frames;break;default:case"complete":case"completed":a=r.completes}return new Rr(function(n,i){a.push(function(){n()})})}});ir.complete=ir.completed;ir.run=ir.play;ir.running=ir.playing;var Wg={animated:function(){return function(){var r=this,a=r.length!==void 0,n=a?r:[r],i=this._private.cy||this;if(!i.styleEnabled())return!1;var s=n[0];if(s)return s._private.animation.current.length>0}},clearQueue:function(){return function(){var r=this,a=r.length!==void 0,n=a?r:[r],i=this._private.cy||this;if(!i.styleEnabled())return this;for(var s=0;s<n.length;s++){var o=n[s];o._private.animation.queue=[]}return this}},delay:function(){return function(r,a){var n=this._private.cy||this;return n.styleEnabled()?this.animate({delay:r,duration:r,complete:a}):this}},delayAnimation:function(){return function(r,a){var n=this._private.cy||this;return n.styleEnabled()?this.animation({delay:r,duration:r,complete:a}):this}},animation:function(){return function(r,a){var n=this,i=n.length!==void 0,s=i?n:[n],o=this._private.cy||this,l=!i,u=!l;if(!o.styleEnabled())return this;var f=o.style();r=de({},r,a);var h=Object.keys(r).length===0;if(h)return new Vn(s[0],r);switch(r.duration===void 0&&(r.duration=400),r.duration){case"slow":r.duration=600;break;case"fast":r.duration=200;break}if(u&&(r.style=f.getPropsList(r.style||r.css),r.css=void 0),u&&r.renderedPosition!=null){var c=r.renderedPosition,v=o.pan(),d=o.zoom();r.position=bo(c,d,v)}if(l&&r.panBy!=null){var g=r.panBy,p=o.pan();r.pan={x:p.x+g.x,y:p.y+g.y}}var y=r.center||r.centre;if(l&&y!=null){var E=o.getCenterPan(y.eles,r.zoom);E!=null&&(r.pan=E)}if(l&&r.fit!=null){var m=r.fit,T=o.getFitViewport(m.eles||m.boundingBox,m.padding);T!=null&&(r.pan=T.pan,r.zoom=T.zoom)}if(l&&De(r.zoom)){var C=o.getZoomedViewport(r.zoom);C!=null?(C.zoomed&&(r.zoom=C.zoom),C.panned&&(r.pan=C.pan)):r.zoom=null}return new Vn(s[0],r)}},animate:function(){return function(r,a){var n=this,i=n.length!==void 0,s=i?n:[n],o=this._private.cy||this;if(!o.styleEnabled())return this;a&&(r=de({},r,a));for(var l=0;l<s.length;l++){var u=s[l],f=u.animated()&&(r.queue===void 0||r.queue),h=u.animation(r,f?{queue:!0}:void 0);h.play()}return this}},stop:function(){return function(r,a){var n=this,i=n.length!==void 0,s=i?n:[n],o=this._private.cy||this;if(!o.styleEnabled())return this;for(var l=0;l<s.length;l++){for(var u=s[l],f=u._private,h=f.animation.current,c=0;c<h.length;c++){var v=h[c],d=v._private;a&&(d.duration=0)}r&&(f.animation.queue=[]),a||(f.animation.current=[])}return o.notify("draw"),this}}},qg={data:function(e){var r={field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(n){},beforeSet:function(n,i){},onSet:function(n){},canSet:function(n){return!0}};return e=de({},r,e),function(n,i){var s=e,o=this,l=o.length!==void 0,u=l?o:[o],f=l?o[0]:o;if(ve(n)){var h=n.indexOf(".")!==-1,c=h&&Rc.default(n);if(s.allowGetting&&i===void 0){var v;return f&&(s.beforeGet(f),c&&f._private[s.field][n]===void 0?v=Ic.default(f._private[s.field],c):v=f._private[s.field][n]),v}else if(s.allowSetting&&i!==void 0){var d=!s.immutableKeys[n];if(d){var g=ro({},n,i);s.beforeSet(o,g);for(var p=0,y=u.length;p<y;p++){var E=u[p];s.canSet(E)&&(c&&f._private[s.field][n]===void 0?Mc.default(E._private[s.field],c,i):E._private[s.field][n]=i)}s.updateStyle&&o.updateStyle(),s.onSet(o),s.settingTriggersEvent&&o[s.triggerFnName](s.settingEvent)}}}else if(s.allowSetting&&De(n)){var m=n,T,C,S=Object.keys(m);s.beforeSet(o,m);for(var b=0;b<S.length;b++){T=S[b],C=m[T];var x=!s.immutableKeys[T];if(x)for(var w=0;w<u.length;w++){var D=u[w];s.canSet(D)&&(D._private[s.field][T]=C)}}s.updateStyle&&o.updateStyle(),s.onSet(o),s.settingTriggersEvent&&o[s.triggerFnName](s.settingEvent)}else if(s.allowBinding&&Be(n)){var A=n;o.on(s.bindingEvent,A)}else if(s.allowGetting&&n===void 0){var L;return f&&(s.beforeGet(f),L=f._private[s.field]),L}return o}},removeData:function(e){var r={field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}};return e=de({},r,e),function(n){var i=e,s=this,o=s.length!==void 0,l=o?s:[s];if(ve(n)){for(var u=n.split(/\s+/),f=u.length,h=0;h<f;h++){var c=u[h];if(!Yt(c)){var v=!i.immutableKeys[c];if(v)for(var d=0,g=l.length;d<g;d++)l[d]._private[i.field][c]=void 0}}i.triggerEvent&&s[i.triggerFnName](i.event)}else if(n===void 0){for(var p=0,y=l.length;p<y;p++)for(var E=l[p]._private[i.field],m=Object.keys(E),T=0;T<m.length;T++){var C=m[T],S=!i.immutableKeys[C];S&&(E[C]=void 0)}i.triggerEvent&&s[i.triggerFnName](i.event)}return s}}},Kg={eventAliasesOn:function(e){var r=e;r.addListener=r.listen=r.bind=r.on,r.unlisten=r.unbind=r.off=r.removeListener,r.trigger=r.emit,r.pon=r.promiseOn=function(a,n){var i=this,s=Array.prototype.slice.call(arguments,0);return new Rr(function(o,l){var u=function(v){i.off.apply(i,h),o(v)},f=s.concat([u]),h=f.concat([]);i.on.apply(i,f)})}}},Oe={};[Wg,qg,Kg].forEach(function(t){de(Oe,t)});var Zg={animate:Oe.animate(),animation:Oe.animation(),animated:Oe.animated(),clearQueue:Oe.clearQueue(),delay:Oe.delay(),delayAnimation:Oe.delayAnimation(),stop:Oe.stop()},Ba={classes:function(e){var r=this;if(e===void 0){var a=[];return r[0]._private.classes.forEach(function(d){return a.push(d)}),a}else Me(e)||(e=(e||"").match(/\S+/g)||[]);for(var n=[],i=new Mr(e),s=0;s<r.length;s++){for(var o=r[s],l=o._private,u=l.classes,f=!1,h=0;h<e.length;h++){var c=e[h],v=u.has(c);if(!v){f=!0;break}}f||(f=u.size!==e.length),f&&(l.classes=i,n.push(o))}return n.length>0&&this.spawn(n).updateStyle().emit("class"),r},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var r=this[0];return r!=null&&r._private.classes.has(e)},toggleClass:function(e,r){Me(e)||(e=e.match(/\S+/g)||[]);for(var a=this,n=r===void 0,i=[],s=0,o=a.length;s<o;s++)for(var l=a[s],u=l._private.classes,f=!1,h=0;h<e.length;h++){var c=e[h],v=u.has(c),d=!1;r||n&&!v?(u.add(c),d=!0):(!r||n&&v)&&(u.delete(c),d=!0),!f&&d&&(i.push(l),f=!0)}return i.length>0&&this.spawn(i).updateStyle().emit("class"),a},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,r){var a=this;if(r==null)r=250;else if(r===0)return a;return a.addClass(e),setTimeout(function(){a.removeClass(e)},r),a}};Ba.className=Ba.classNames=Ba.classes;var Ce={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:_e,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Ce.variable="(?:[\\w-.]|(?:\\\\"+Ce.metaChar+"))+";Ce.className="(?:[\\w-]|(?:\\\\"+Ce.metaChar+"))+";Ce.value=Ce.string+"|"+Ce.number;Ce.id=Ce.variable;(function(){var t,e,r;for(t=Ce.comparatorOp.split("|"),r=0;r<t.length;r++)e=t[r],Ce.comparatorOp+="|@"+e;for(t=Ce.comparatorOp.split("|"),r=0;r<t.length;r++)e=t[r],!(e.indexOf("!")>=0)&&e!=="="&&(Ce.comparatorOp+="|\\!"+e)})();var Ie=function(){return{checks:[]}},ie={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},_n=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(t,e){return ed(t.selector,e.selector)}),Qg=function(){for(var t={},e,r=0;r<_n.length;r++)e=_n[r],t[e.selector]=e.matches;return t}(),Jg=function(e,r){return Qg[e](r)},jg="("+_n.map(function(t){return t.selector}).join("|")+")",dr=function(e){return e.replace(new RegExp("\\\\("+Ce.metaChar+")","g"),function(r,a){return a})},zt=function(e,r,a){e[e.length-1]=a},Un=[{name:"group",query:!0,regex:"("+Ce.group+")",populate:function(e,r,a){var n=Et(a,1),i=n[0];r.checks.push({type:ie.GROUP,value:i==="*"?i:i+"s"})}},{name:"state",query:!0,regex:jg,populate:function(e,r,a){var n=Et(a,1),i=n[0];r.checks.push({type:ie.STATE,value:i})}},{name:"id",query:!0,regex:"\\#("+Ce.id+")",populate:function(e,r,a){var n=Et(a,1),i=n[0];r.checks.push({type:ie.ID,value:dr(i)})}},{name:"className",query:!0,regex:"\\.("+Ce.className+")",populate:function(e,r,a){var n=Et(a,1),i=n[0];r.checks.push({type:ie.CLASS,value:dr(i)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+Ce.variable+")\\s*\\]",populate:function(e,r,a){var n=Et(a,1),i=n[0];r.checks.push({type:ie.DATA_EXIST,field:dr(i)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+Ce.variable+")\\s*("+Ce.comparatorOp+")\\s*("+Ce.value+")\\s*\\]",populate:function(e,r,a){var n=Et(a,3),i=n[0],s=n[1],o=n[2],l=new RegExp("^"+Ce.string+"$").exec(o)!=null;l?o=o.substring(1,o.length-1):o=parseFloat(o),r.checks.push({type:ie.DATA_COMPARE,field:dr(i),operator:s,value:o})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+Ce.boolOp+")\\s*("+Ce.variable+")\\s*\\]",populate:function(e,r,a){var n=Et(a,2),i=n[0],s=n[1];r.checks.push({type:ie.DATA_BOOL,field:dr(s),operator:i})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+Ce.meta+")\\s*("+Ce.comparatorOp+")\\s*("+Ce.number+")\\s*\\]\\]",populate:function(e,r,a){var n=Et(a,3),i=n[0],s=n[1],o=n[2];r.checks.push({type:ie.META_COMPARE,field:dr(i),operator:s,value:parseFloat(o)})}},{name:"nextQuery",separator:!0,regex:Ce.separator,populate:function(e,r){var a=e.currentSubject,n=e.edgeCount,i=e.compoundCount,s=e[e.length-1];a!=null&&(s.subject=a,e.currentSubject=null),s.edgeCount=n,s.compoundCount=i,e.edgeCount=0,e.compoundCount=0;var o=e[e.length++]=Ie();return o}},{name:"directedEdge",separator:!0,regex:Ce.directedEdge,populate:function(e,r){if(e.currentSubject==null){var a=Ie(),n=r,i=Ie();return a.checks.push({type:ie.DIRECTED_EDGE,source:n,target:i}),zt(e,r,a),e.edgeCount++,i}else{var s=Ie(),o=r,l=Ie();return s.checks.push({type:ie.NODE_SOURCE,source:o,target:l}),zt(e,r,s),e.edgeCount++,l}}},{name:"undirectedEdge",separator:!0,regex:Ce.undirectedEdge,populate:function(e,r){if(e.currentSubject==null){var a=Ie(),n=r,i=Ie();return a.checks.push({type:ie.UNDIRECTED_EDGE,nodes:[n,i]}),zt(e,r,a),e.edgeCount++,i}else{var s=Ie(),o=r,l=Ie();return s.checks.push({type:ie.NODE_NEIGHBOR,node:o,neighbor:l}),zt(e,r,s),l}}},{name:"child",separator:!0,regex:Ce.child,populate:function(e,r){if(e.currentSubject==null){var a=Ie(),n=Ie(),i=e[e.length-1];return a.checks.push({type:ie.CHILD,parent:i,child:n}),zt(e,r,a),e.compoundCount++,n}else if(e.currentSubject===r){var s=Ie(),o=e[e.length-1],l=Ie(),u=Ie(),f=Ie(),h=Ie();return s.checks.push({type:ie.COMPOUND_SPLIT,left:o,right:l,subject:u}),u.checks=r.checks,r.checks=[{type:ie.TRUE}],h.checks.push({type:ie.TRUE}),l.checks.push({type:ie.PARENT,parent:h,child:f}),zt(e,o,s),e.currentSubject=u,e.compoundCount++,f}else{var c=Ie(),v=Ie(),d=[{type:ie.PARENT,parent:c,child:v}];return c.checks=r.checks,r.checks=d,e.compoundCount++,v}}},{name:"descendant",separator:!0,regex:Ce.descendant,populate:function(e,r){if(e.currentSubject==null){var a=Ie(),n=Ie(),i=e[e.length-1];return a.checks.push({type:ie.DESCENDANT,ancestor:i,descendant:n}),zt(e,r,a),e.compoundCount++,n}else if(e.currentSubject===r){var s=Ie(),o=e[e.length-1],l=Ie(),u=Ie(),f=Ie(),h=Ie();return s.checks.push({type:ie.COMPOUND_SPLIT,left:o,right:l,subject:u}),u.checks=r.checks,r.checks=[{type:ie.TRUE}],h.checks.push({type:ie.TRUE}),l.checks.push({type:ie.ANCESTOR,ancestor:h,descendant:f}),zt(e,o,s),e.currentSubject=u,e.compoundCount++,f}else{var c=Ie(),v=Ie(),d=[{type:ie.ANCESTOR,ancestor:c,descendant:v}];return c.checks=r.checks,r.checks=d,e.compoundCount++,v}}},{name:"subject",modifier:!0,regex:Ce.subject,populate:function(e,r){if(e.currentSubject!=null&&e.currentSubject!==r)return Ne("Redefinition of subject in selector `"+e.toString()+"`"),!1;e.currentSubject=r;var a=e[e.length-1],n=a.checks[0],i=n==null?null:n.type;i===ie.DIRECTED_EDGE?n.type=ie.NODE_TARGET:i===ie.UNDIRECTED_EDGE&&(n.type=ie.NODE_NEIGHBOR,n.node=n.nodes[1],n.neighbor=n.nodes[0],n.nodes=null)}}];Un.forEach(function(t){return t.regexObj=new RegExp("^"+t.regex)});var ep=function(e){for(var r,a,n,i=0;i<Un.length;i++){var s=Un[i],o=s.name,l=e.match(s.regexObj);if(l!=null){a=l,r=s,n=o;var u=l[0];e=e.substring(u.length);break}}return{expr:r,match:a,name:n,remaining:e}},tp=function(e){var r=e.match(/^\s+/);if(r){var a=r[0];e=e.substring(a.length)}return e},rp=function(e){var r=this,a=r.inputText=e,n=r[0]=Ie();for(r.length=1,a=tp(a);;){var i=ep(a);if(i.expr==null)return Ne("The selector `"+e+"`is invalid"),!1;var s=i.match.slice(1),o=i.expr.populate(r,n,s);if(o===!1)return!1;if(o!=null&&(n=o),a=i.remaining,a.match(/^\s*$/))break}var l=r[r.length-1];r.currentSubject!=null&&(l.subject=r.currentSubject),l.edgeCount=r.edgeCount,l.compoundCount=r.compoundCount;for(var u=0;u<r.length;u++){var f=r[u];if(f.compoundCount>0&&f.edgeCount>0)return Ne("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(f.edgeCount>1)return Ne("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;f.edgeCount===1&&Ne("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},ap=function(){if(this.toStringCache!=null)return this.toStringCache;for(var e=function(f){return f??""},r=function(f){return ve(f)?'"'+f+'"':e(f)},a=function(f){return" "+f+" "},n=function(f,h){var c=f.type,v=f.value;switch(c){case ie.GROUP:{var d=e(v);return d.substring(0,d.length-1)}case ie.DATA_COMPARE:{var g=f.field,p=f.operator;return"["+g+a(e(p))+r(v)+"]"}case ie.DATA_BOOL:{var y=f.operator,E=f.field;return"["+e(y)+E+"]"}case ie.DATA_EXIST:{var m=f.field;return"["+m+"]"}case ie.META_COMPARE:{var T=f.operator,C=f.field;return"[["+C+a(e(T))+r(v)+"]]"}case ie.STATE:return v;case ie.ID:return"#"+v;case ie.CLASS:return"."+v;case ie.PARENT:case ie.CHILD:return i(f.parent,h)+a(">")+i(f.child,h);case ie.ANCESTOR:case ie.DESCENDANT:return i(f.ancestor,h)+" "+i(f.descendant,h);case ie.COMPOUND_SPLIT:{var S=i(f.left,h),b=i(f.subject,h),x=i(f.right,h);return S+(S.length>0?" ":"")+b+x}case ie.TRUE:return""}},i=function(f,h){return f.checks.reduce(function(c,v,d){return c+(h===f&&d===0?"$":"")+n(v,h)},"")},s="",o=0;o<this.length;o++){var l=this[o];s+=i(l,l.subject),this.length>1&&o<this.length-1&&(s+=", ")}return this.toStringCache=s,s},np={parse:rp,toString:ap},Po=function(e,r,a){var n,i=ve(e),s=ae(e),o=ve(a),l,u,f=!1,h=!1,c=!1;switch(r.indexOf("!")>=0&&(r=r.replace("!",""),h=!0),r.indexOf("@")>=0&&(r=r.replace("@",""),f=!0),(i||o||f)&&(l=!i&&!s?"":""+e,u=""+a),f&&(e=l=l.toLowerCase(),a=u=u.toLowerCase()),r){case"*=":n=l.indexOf(u)>=0;break;case"$=":n=l.indexOf(u,l.length-u.length)>=0;break;case"^=":n=l.indexOf(u)===0;break;case"=":n=e===a;break;case">":c=!0,n=e>a;break;case">=":c=!0,n=e>=a;break;case"<":c=!0,n=e<a;break;case"<=":c=!0,n=e<=a;break;default:n=!1;break}return h&&(e!=null||!c)&&(n=!n),n},ip=function(e,r){switch(r){case"?":return!!e;case"!":return!e;case"^":return e===void 0}},sp=function(e){return e!==void 0},ci=function(e,r){return e.data(r)},op=function(e,r){return e[r]()},ze=[],Pe=function(e,r){return e.checks.every(function(a){return ze[a.type](a,r)})};ze[ie.GROUP]=function(t,e){var r=t.value;return r==="*"||r===e.group()};ze[ie.STATE]=function(t,e){var r=t.value;return Jg(r,e)};ze[ie.ID]=function(t,e){var r=t.value;return e.id()===r};ze[ie.CLASS]=function(t,e){var r=t.value;return e.hasClass(r)};ze[ie.META_COMPARE]=function(t,e){var r=t.field,a=t.operator,n=t.value;return Po(op(e,r),a,n)};ze[ie.DATA_COMPARE]=function(t,e){var r=t.field,a=t.operator,n=t.value;return Po(ci(e,r),a,n)};ze[ie.DATA_BOOL]=function(t,e){var r=t.field,a=t.operator;return ip(ci(e,r),a)};ze[ie.DATA_EXIST]=function(t,e){var r=t.field;return t.operator,sp(ci(e,r))};ze[ie.UNDIRECTED_EDGE]=function(t,e){var r=t.nodes[0],a=t.nodes[1],n=e.source(),i=e.target();return Pe(r,n)&&Pe(a,i)||Pe(a,n)&&Pe(r,i)};ze[ie.NODE_NEIGHBOR]=function(t,e){return Pe(t.node,e)&&e.neighborhood().some(function(r){return r.isNode()&&Pe(t.neighbor,r)})};ze[ie.DIRECTED_EDGE]=function(t,e){return Pe(t.source,e.source())&&Pe(t.target,e.target())};ze[ie.NODE_SOURCE]=function(t,e){return Pe(t.source,e)&&e.outgoers().some(function(r){return r.isNode()&&Pe(t.target,r)})};ze[ie.NODE_TARGET]=function(t,e){return Pe(t.target,e)&&e.incomers().some(function(r){return r.isNode()&&Pe(t.source,r)})};ze[ie.CHILD]=function(t,e){return Pe(t.child,e)&&Pe(t.parent,e.parent())};ze[ie.PARENT]=function(t,e){return Pe(t.parent,e)&&e.children().some(function(r){return Pe(t.child,r)})};ze[ie.DESCENDANT]=function(t,e){return Pe(t.descendant,e)&&e.ancestors().some(function(r){return Pe(t.ancestor,r)})};ze[ie.ANCESTOR]=function(t,e){return Pe(t.ancestor,e)&&e.descendants().some(function(r){return Pe(t.descendant,r)})};ze[ie.COMPOUND_SPLIT]=function(t,e){return Pe(t.subject,e)&&Pe(t.left,e)&&Pe(t.right,e)};ze[ie.TRUE]=function(){return!0};ze[ie.COLLECTION]=function(t,e){var r=t.value;return r.has(e)};ze[ie.FILTER]=function(t,e){var r=t.value;return r(e)};var lp=function(e){var r=this;if(r.length===1&&r[0].checks.length===1&&r[0].checks[0].type===ie.ID)return e.getElementById(r[0].checks[0].value).collection();var a=function(i){for(var s=0;s<r.length;s++){var o=r[s];if(Pe(o,i))return!0}return!1};return r.text()==null&&(a=function(){return!0}),e.filter(a)},up=function(e){for(var r=this,a=0;a<r.length;a++){var n=r[a];if(Pe(n,e))return!0}return!1},fp={matches:up,filter:lp},Wt=function(e){this.inputText=e,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,e==null||ve(e)&&e.match(/^\s*$/)||(ht(e)?this.addQuery({checks:[{type:ie.COLLECTION,value:e.collection()}]}):Be(e)?this.addQuery({checks:[{type:ie.FILTER,value:e}]}):ve(e)?this.parse(e)||(this.invalid=!0):Ge("A selector must be created from a string; found "))},qt=Wt.prototype;[np,fp].forEach(function(t){return de(qt,t)});qt.text=function(){return this.inputText};qt.size=function(){return this.length};qt.eq=function(t){return this[t]};qt.sameText=function(t){return!this.invalid&&!t.invalid&&this.text()===t.text()};qt.addQuery=function(t){this[this.length++]=t};qt.selector=qt.toString;var Ut={allAre:function(e){var r=new Wt(e);return this.every(function(a){return r.matches(a)})},is:function(e){var r=new Wt(e);return this.some(function(a){return r.matches(a)})},some:function(e,r){for(var a=0;a<this.length;a++){var n=r?e.apply(r,[this[a],a,this]):e(this[a],a,this);if(n)return!0}return!1},every:function(e,r){for(var a=0;a<this.length;a++){var n=r?e.apply(r,[this[a],a,this]):e(this[a],a,this);if(!n)return!1}return!0},same:function(e){if(this===e)return!0;e=this.cy().collection(e);var r=this.length,a=e.length;return r!==a?!1:r===1?this[0]===e[0]:this.every(function(n){return e.hasElementWithId(n.id())})},anySame:function(e){return e=this.cy().collection(e),this.some(function(r){return e.hasElementWithId(r.id())})},allAreNeighbors:function(e){e=this.cy().collection(e);var r=this.neighborhood();return e.every(function(a){return r.hasElementWithId(a.id())})},contains:function(e){e=this.cy().collection(e);var r=this;return e.every(function(a){return r.hasElementWithId(a.id())})}};Ut.allAreNeighbours=Ut.allAreNeighbors;Ut.has=Ut.contains;Ut.equal=Ut.equals=Ut.same;var gt=function(e,r){return function(n,i,s,o){var l=n,u=this,f;if(l==null?f="":ht(l)&&l.length===1&&(f=l.id()),u.length===1&&f){var h=u[0]._private,c=h.traversalCache=h.traversalCache||{},v=c[r]=c[r]||[],d=ar(f),g=v[d];return g||(v[d]=e.call(u,n,i,s,o))}else return e.call(u,n,i,s,o)}},Ar={parent:function(e){var r=[];if(this.length===1){var a=this[0]._private.parent;if(a)return a}for(var n=0;n<this.length;n++){var i=this[n],s=i._private.parent;s&&r.push(s)}return this.spawn(r,!0).filter(e)},parents:function(e){for(var r=[],a=this.parent();a.nonempty();){for(var n=0;n<a.length;n++){var i=a[n];r.push(i)}a=a.parent()}return this.spawn(r,!0).filter(e)},commonAncestors:function(e){for(var r,a=0;a<this.length;a++){var n=this[a],i=n.parents();r=r||i,r=r.intersect(i)}return r.filter(e)},orphans:function(e){return this.stdFilter(function(r){return r.isOrphan()}).filter(e)},nonorphans:function(e){return this.stdFilter(function(r){return r.isChild()}).filter(e)},children:gt(function(t){for(var e=[],r=0;r<this.length;r++)for(var a=this[r],n=a._private.children,i=0;i<n.length;i++)e.push(n[i]);return this.spawn(e,!0).filter(t)},"children"),siblings:function(e){return this.parent().children().not(this).filter(e)},isParent:function(){var e=this[0];if(e)return e.isNode()&&e._private.children.length!==0},isChildless:function(){var e=this[0];if(e)return e.isNode()&&e._private.children.length===0},isChild:function(){var e=this[0];if(e)return e.isNode()&&e._private.parent!=null},isOrphan:function(){var e=this[0];if(e)return e.isNode()&&e._private.parent==null},descendants:function(e){var r=[];function a(n){for(var i=0;i<n.length;i++){var s=n[i];r.push(s),s.children().nonempty()&&a(s.children())}}return a(this.children()),this.spawn(r,!0).filter(e)}};function di(t,e,r,a){for(var n=[],i=new Mr,s=t.cy(),o=s.hasCompoundNodes(),l=0;l<t.length;l++){var u=t[l];r?n.push(u):o&&a(n,i,u)}for(;n.length>0;){var f=n.shift();e(f),i.add(f.id()),o&&a(n,i,f)}return t}function Bo(t,e,r){if(r.isParent())for(var a=r._private.children,n=0;n<a.length;n++){var i=a[n];e.has(i.id())||t.push(i)}}Ar.forEachDown=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return di(this,t,e,Bo)};function Fo(t,e,r){if(r.isChild()){var a=r._private.parent;e.has(a.id())||t.push(a)}}Ar.forEachUp=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return di(this,t,e,Fo)};function hp(t,e,r){Fo(t,e,r),Bo(t,e,r)}Ar.forEachUpAndDown=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return di(this,t,e,hp)};Ar.ancestors=Ar.parents;var na,Go;na=Go={data:Oe.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:Oe.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Oe.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Oe.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Oe.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Oe.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}};na.attr=na.data;na.removeAttr=na.removeData;var vp=Go,vn={};function On(t){return function(e){var r=this;if(e===void 0&&(e=!0),r.length!==0)if(r.isNode()&&!r.removed()){for(var a=0,n=r[0],i=n._private.edges,s=0;s<i.length;s++){var o=i[s];!e&&o.isLoop()||(a+=t(n,o))}return a}else return}}de(vn,{degree:On(function(t,e){return e.source().same(e.target())?2:1}),indegree:On(function(t,e){return e.target().same(t)?1:0}),outdegree:On(function(t,e){return e.source().same(t)?1:0})});function gr(t,e){return function(r){for(var a,n=this.nodes(),i=0;i<n.length;i++){var s=n[i],o=s[t](r);o!==void 0&&(a===void 0||e(o,a))&&(a=o)}return a}}de(vn,{minDegree:gr("degree",function(t,e){return t<e}),maxDegree:gr("degree",function(t,e){return t>e}),minIndegree:gr("indegree",function(t,e){return t<e}),maxIndegree:gr("indegree",function(t,e){return t>e}),minOutdegree:gr("outdegree",function(t,e){return t<e}),maxOutdegree:gr("outdegree",function(t,e){return t>e})});de(vn,{totalDegree:function(e){for(var r=0,a=this.nodes(),n=0;n<a.length;n++)r+=a[n].degree(e);return r}});var Tt,zo,$o=function(e,r,a){for(var n=0;n<e.length;n++){var i=e[n];if(!i.locked()){var s=i._private.position,o={x:r.x!=null?r.x-s.x:0,y:r.y!=null?r.y-s.y:0};i.isParent()&&!(o.x===0&&o.y===0)&&i.children().shift(o,a),i.dirtyBoundingBoxCache()}}},fs={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(e){e.updateCompoundBounds()},beforeSet:function(e,r){$o(e,r,!1)},onSet:function(e){e.dirtyCompoundBoundsCache()},canSet:function(e){return!e.locked()}};Tt=zo={position:Oe.data(fs),silentPosition:Oe.data(de({},fs,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(e,r){$o(e,r,!0)},onSet:function(e){e.dirtyCompoundBoundsCache()}})),positions:function(e,r){if(De(e))r?this.silentPosition(e):this.position(e);else if(Be(e)){var a=e,n=this.cy();n.startBatch();for(var i=0;i<this.length;i++){var s=this[i],o=void 0;(o=a(s,i))&&(r?s.silentPosition(o):s.position(o))}n.endBatch()}return this},silentPositions:function(e){return this.positions(e,!0)},shift:function(e,r,a){var n;if(De(e)?(n={x:ae(e.x)?e.x:0,y:ae(e.y)?e.y:0},a=r):ve(e)&&ae(r)&&(n={x:0,y:0},n[e]=r),n!=null){var i=this.cy();i.startBatch();for(var s=0;s<this.length;s++){var o=this[s];if(!(i.hasCompoundNodes()&&o.isChild()&&o.ancestors().anySame(this))){var l=o.position(),u={x:l.x+n.x,y:l.y+n.y};a?o.silentPosition(u):o.position(u)}}i.endBatch()}return this},silentShift:function(e,r){return De(e)?this.shift(e,!0):ve(e)&&ae(r)&&this.shift(e,r,!0),this},renderedPosition:function(e,r){var a=this[0],n=this.cy(),i=n.zoom(),s=n.pan(),o=De(e)?e:void 0,l=o!==void 0||r!==void 0&&ve(e);if(a&&a.isNode())if(l)for(var u=0;u<this.length;u++){var f=this[u];r!==void 0?f.position(e,(r-s[e])/i):o!==void 0&&f.position(bo(o,i,s))}else{var h=a.position();return o=fn(h,i,s),e===void 0?o:o[e]}else if(!l)return;return this},relativePosition:function(e,r){var a=this[0],n=this.cy(),i=De(e)?e:void 0,s=i!==void 0||r!==void 0&&ve(e),o=n.hasCompoundNodes();if(a&&a.isNode())if(s)for(var l=0;l<this.length;l++){var u=this[l],f=o?u.parent():null,h=f&&f.length>0,c=h;h&&(f=f[0]);var v=c?f.position():{x:0,y:0};r!==void 0?u.position(e,r+v[e]):i!==void 0&&u.position({x:i.x+v.x,y:i.y+v.y})}else{var d=a.position(),g=o?a.parent():null,p=g&&g.length>0,y=p;p&&(g=g[0]);var E=y?g.position():{x:0,y:0};return i={x:d.x-E.x,y:d.y-E.y},e===void 0?i:i[e]}else if(!s)return;return this}};Tt.modelPosition=Tt.point=Tt.position;Tt.modelPositions=Tt.points=Tt.positions;Tt.renderedPoint=Tt.renderedPosition;Tt.relativePoint=Tt.relativePosition;var cp=zo,Dr,Zt;Dr=Zt={};Zt.renderedBoundingBox=function(t){var e=this.boundingBox(t),r=this.cy(),a=r.zoom(),n=r.pan(),i=e.x1*a+n.x,s=e.x2*a+n.x,o=e.y1*a+n.y,l=e.y2*a+n.y;return{x1:i,x2:s,y1:o,y2:l,w:s-i,h:l-o}};Zt.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=this.cy();return!e.styleEnabled()||!e.hasCompoundNodes()?this:(this.forEachUp(function(r){if(r.isParent()){var a=r._private;a.compoundBoundsClean=!1,a.bbCache=null,t||r.emitAndNotify("bounds")}}),this)};Zt.updateCompoundBounds=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function r(s){if(!s.isParent())return;var o=s._private,l=s.children(),u=s.pstyle("compound-sizing-wrt-labels").value==="include",f={width:{val:s.pstyle("min-width").pfValue,left:s.pstyle("min-width-bias-left"),right:s.pstyle("min-width-bias-right")},height:{val:s.pstyle("min-height").pfValue,top:s.pstyle("min-height-bias-top"),bottom:s.pstyle("min-height-bias-bottom")}},h=l.boundingBox({includeLabels:u,includeOverlays:!1,useCache:!1}),c=o.position;(h.w===0||h.h===0)&&(h={w:s.pstyle("width").pfValue,h:s.pstyle("height").pfValue},h.x1=c.x-h.w/2,h.x2=c.x+h.w/2,h.y1=c.y-h.h/2,h.y2=c.y+h.h/2);function v(w,D,A){var L=0,I=0,O=D+A;return w>0&&O>0&&(L=D/O*w,I=A/O*w),{biasDiff:L,biasComplementDiff:I}}function d(w,D,A,L){if(A.units==="%")switch(L){case"width":return w>0?A.pfValue*w:0;case"height":return D>0?A.pfValue*D:0;case"average":return w>0&&D>0?A.pfValue*(w+D)/2:0;case"min":return w>0&&D>0?w>D?A.pfValue*D:A.pfValue*w:0;case"max":return w>0&&D>0?w>D?A.pfValue*w:A.pfValue*D:0;default:return 0}else return A.units==="px"?A.pfValue:0}var g=f.width.left.value;f.width.left.units==="px"&&f.width.val>0&&(g=g*100/f.width.val);var p=f.width.right.value;f.width.right.units==="px"&&f.width.val>0&&(p=p*100/f.width.val);var y=f.height.top.value;f.height.top.units==="px"&&f.height.val>0&&(y=y*100/f.height.val);var E=f.height.bottom.value;f.height.bottom.units==="px"&&f.height.val>0&&(E=E*100/f.height.val);var m=v(f.width.val-h.w,g,p),T=m.biasDiff,C=m.biasComplementDiff,S=v(f.height.val-h.h,y,E),b=S.biasDiff,x=S.biasComplementDiff;o.autoPadding=d(h.w,h.h,s.pstyle("padding"),s.pstyle("padding-relative-to").value),o.autoWidth=Math.max(h.w,f.width.val),c.x=(-T+h.x1+h.x2+C)/2,o.autoHeight=Math.max(h.h,f.height.val),c.y=(-b+h.y1+h.y2+x)/2}for(var a=0;a<this.length;a++){var n=this[a],i=n._private;(!i.compoundBoundsClean||t)&&(r(n),e.batching()||(i.compoundBoundsClean=!0))}return this};var dt=function(e){return e===1/0||e===-1/0?0:e},wt=function(e,r,a,n,i){n-r===0||i-a===0||r==null||a==null||n==null||i==null||(e.x1=r<e.x1?r:e.x1,e.x2=n>e.x2?n:e.x2,e.y1=a<e.y1?a:e.y1,e.y2=i>e.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},tr=function(e,r){return r==null?e:wt(e,r.x1,r.y1,r.x2,r.y2)},Ur=function(e,r,a){return xt(e,r,a)},Oa=function(e,r,a){if(!r.cy().headless()){var n=r._private,i=n.rstyle,s=i.arrowWidth/2,o=r.pstyle(a+"-arrow-shape").value,l,u;if(o!=="none"){a==="source"?(l=i.srcX,u=i.srcY):a==="target"?(l=i.tgtX,u=i.tgtY):(l=i.midX,u=i.midY);var f=n.arrowBounds=n.arrowBounds||{},h=f[a]=f[a]||{};h.x1=l-s,h.y1=u-s,h.x2=l+s,h.y2=u+s,h.w=h.x2-h.x1,h.h=h.y2-h.y1,ka(h,1),wt(e,h.x1,h.y1,h.x2,h.y2)}}},Nn=function(e,r,a){if(!r.cy().headless()){var n;a?n=a+"-":n="";var i=r._private,s=i.rstyle,o=r.pstyle(n+"label").strValue;if(o){var l=r.pstyle("text-halign"),u=r.pstyle("text-valign"),f=Ur(s,"labelWidth",a),h=Ur(s,"labelHeight",a),c=Ur(s,"labelX",a),v=Ur(s,"labelY",a),d=r.pstyle(n+"text-margin-x").pfValue,g=r.pstyle(n+"text-margin-y").pfValue,p=r.isEdge(),y=r.pstyle(n+"text-rotation"),E=r.pstyle("text-outline-width").pfValue,m=r.pstyle("text-border-width").pfValue,T=m/2,C=r.pstyle("text-background-padding").pfValue,S=2,b=h,x=f,w=x/2,D=b/2,A,L,I,O;if(p)A=c-w,L=c+w,I=v-D,O=v+D;else{switch(l.value){case"left":A=c-x,L=c;break;case"center":A=c-w,L=c+w;break;case"right":A=c,L=c+x;break}switch(u.value){case"top":I=v-b,O=v;break;case"center":I=v-D,O=v+D;break;case"bottom":I=v,O=v+b;break}}A+=d-Math.max(E,T)-C-S,L+=d+Math.max(E,T)+C+S,I+=g-Math.max(E,T)-C-S,O+=g+Math.max(E,T)+C+S;var P=a||"main",R=i.labelBounds,M=R[P]=R[P]||{};M.x1=A,M.y1=I,M.x2=L,M.y2=O,M.w=L-A,M.h=O-I;var k=p&&y.strValue==="autorotate",B=y.pfValue!=null&&y.pfValue!==0;if(k||B){var G=k?Ur(i.rstyle,"labelAngle",a):y.pfValue,F=Math.cos(G),$=Math.sin(G),U=(A+L)/2,_=(I+O)/2;if(!p){switch(l.value){case"left":U=L;break;case"right":U=A;break}switch(u.value){case"top":_=O;break;case"bottom":_=I;break}}var Y=function(ce,te){return ce=ce-U,te=te-_,{x:ce*F-te*$+U,y:ce*$+te*F+_}},W=Y(A,I),z=Y(A,O),K=Y(L,I),j=Y(L,O);A=Math.min(W.x,z.x,K.x,j.x),L=Math.max(W.x,z.x,K.x,j.x),I=Math.min(W.y,z.y,K.y,j.y),O=Math.max(W.y,z.y,K.y,j.y)}var Q=P+"Rot",ee=R[Q]=R[Q]||{};ee.x1=A,ee.y1=I,ee.x2=L,ee.y2=O,ee.w=L-A,ee.h=O-I,wt(e,A,I,L,O),wt(i.labelBounds.all,A,I,L,O)}return e}},dp=function(e,r){if(!r.cy().headless()){var a=r.pstyle("outline-opacity").value,n=r.pstyle("outline-width").value;if(a>0&&n>0){var i=r.pstyle("outline-offset").value,s=r.pstyle("shape").value,o=n+i,l=(e.w+o*2)/e.w,u=(e.h+o*2)/e.h,f=0,h=0;["diamond","pentagon","round-triangle"].includes(s)?(l=(e.w+o*2.4)/e.w,h=-o/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(s)?l=(e.w+o*2.4)/e.w:s==="star"?(l=(e.w+o*2.8)/e.w,u=(e.h+o*2.6)/e.h,h=-o/3.8):s==="triangle"?(l=(e.w+o*2.8)/e.w,u=(e.h+o*2.4)/e.h,h=-o/1.4):s==="vee"&&(l=(e.w+o*4.4)/e.w,u=(e.h+o*3.8)/e.h,h=-o*.5);var c=e.h*u-e.h,v=e.w*l-e.w;if(Pa(e,[Math.ceil(c/2),Math.ceil(v/2)]),f!=0||h!==0){var d=_d(e,f,h);wo(e,d)}}}},gp=function(e,r){var a=e._private.cy,n=a.styleEnabled(),i=a.headless(),s=ft(),o=e._private,l=e.isNode(),u=e.isEdge(),f,h,c,v,d,g,p=o.rstyle,y=l&&n?e.pstyle("bounds-expansion").pfValue:[0],E=function(ue){return ue.pstyle("display").value!=="none"},m=!n||E(e)&&(!u||E(e.source())&&E(e.target()));if(m){var T=0,C=0;n&&r.includeOverlays&&(T=e.pstyle("overlay-opacity").value,T!==0&&(C=e.pstyle("overlay-padding").value));var S=0,b=0;n&&r.includeUnderlays&&(S=e.pstyle("underlay-opacity").value,S!==0&&(b=e.pstyle("underlay-padding").value));var x=Math.max(C,b),w=0,D=0;if(n&&(w=e.pstyle("width").pfValue,D=w/2),l&&r.includeNodes){var A=e.position();d=A.x,g=A.y;var L=e.outerWidth(),I=L/2,O=e.outerHeight(),P=O/2;f=d-I,h=d+I,c=g-P,v=g+P,wt(s,f,c,h,v),n&&r.includeOutlines&&dp(s,e)}else if(u&&r.includeEdges)if(n&&!i){var R=e.pstyle("curve-style").strValue;if(f=Math.min(p.srcX,p.midX,p.tgtX),h=Math.max(p.srcX,p.midX,p.tgtX),c=Math.min(p.srcY,p.midY,p.tgtY),v=Math.max(p.srcY,p.midY,p.tgtY),f-=D,h+=D,c-=D,v+=D,wt(s,f,c,h,v),R==="haystack"){var M=p.haystackPts;if(M&&M.length===2){if(f=M[0].x,c=M[0].y,h=M[1].x,v=M[1].y,f>h){var k=f;f=h,h=k}if(c>v){var B=c;c=v,v=B}wt(s,f-D,c-D,h+D,v+D)}}else if(R==="bezier"||R==="unbundled-bezier"||R==="segments"||R==="taxi"){var G;switch(R){case"bezier":case"unbundled-bezier":G=p.bezierPts;break;case"segments":case"taxi":G=p.linePts;break}if(G!=null)for(var F=0;F<G.length;F++){var $=G[F];f=$.x-D,h=$.x+D,c=$.y-D,v=$.y+D,wt(s,f,c,h,v)}}}else{var U=e.source(),_=U.position(),Y=e.target(),W=Y.position();if(f=_.x,h=W.x,c=_.y,v=W.y,f>h){var z=f;f=h,h=z}if(c>v){var K=c;c=v,v=K}f-=D,h+=D,c-=D,v+=D,wt(s,f,c,h,v)}if(n&&r.includeEdges&&u&&(Oa(s,e,"mid-source"),Oa(s,e,"mid-target"),Oa(s,e,"source"),Oa(s,e,"target")),n){var j=e.pstyle("ghost").value==="yes";if(j){var Q=e.pstyle("ghost-offset-x").pfValue,ee=e.pstyle("ghost-offset-y").pfValue;wt(s,s.x1+Q,s.y1+ee,s.x2+Q,s.y2+ee)}}var ne=o.bodyBounds=o.bodyBounds||{};qi(ne,s),Pa(ne,y),ka(ne,1),n&&(f=s.x1,h=s.x2,c=s.y1,v=s.y2,wt(s,f-x,c-x,h+x,v+x));var ce=o.overlayBounds=o.overlayBounds||{};qi(ce,s),Pa(ce,y),ka(ce,1);var te=o.labelBounds=o.labelBounds||{};te.all!=null?Vd(te.all):te.all=ft(),n&&r.includeLabels&&(r.includeMainLabels&&Nn(s,e,null),u&&(r.includeSourceLabels&&Nn(s,e,"source"),r.includeTargetLabels&&Nn(s,e,"target")))}return s.x1=dt(s.x1),s.y1=dt(s.y1),s.x2=dt(s.x2),s.y2=dt(s.y2),s.w=dt(s.x2-s.x1),s.h=dt(s.y2-s.y1),s.w>0&&s.h>0&&m&&(Pa(s,y),ka(s,1)),s},Vo=function(e){var r=0,a=function(s){return(s?1:0)<<r++},n=0;return n+=a(e.incudeNodes),n+=a(e.includeEdges),n+=a(e.includeLabels),n+=a(e.includeMainLabels),n+=a(e.includeSourceLabels),n+=a(e.includeTargetLabels),n+=a(e.includeOverlays),n+=a(e.includeOutlines),n},_o=function(e){if(e.isEdge()){var r=e.source().position(),a=e.target().position(),n=function(s){return Math.round(s)};return ud([n(r.x),n(r.y),n(a.x),n(a.y)])}else return 0},hs=function(e,r){var a=e._private,n,i=e.isEdge(),s=r==null?vs:Vo(r),o=s===vs,l=_o(e),u=a.bbCachePosKey===l,f=r.useCache&&u,h=function(g){return g._private.bbCache==null||g._private.styleDirty},c=!f||h(e)||i&&h(e.source())||h(e.target());if(c?(u||e.recalculateRenderedStyle(f),n=gp(e,ia),a.bbCache=n,a.bbCachePosKey=l):n=a.bbCache,!o){var v=e.isNode();n=ft(),(r.includeNodes&&v||r.includeEdges&&!v)&&(r.includeOverlays?tr(n,a.overlayBounds):tr(n,a.bodyBounds)),r.includeLabels&&(r.includeMainLabels&&(!i||r.includeSourceLabels&&r.includeTargetLabels)?tr(n,a.labelBounds.all):(r.includeMainLabels&&tr(n,a.labelBounds.mainRot),r.includeSourceLabels&&tr(n,a.labelBounds.sourceRot),r.includeTargetLabels&&tr(n,a.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},ia={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,includeOutlines:!0,useCache:!0},vs=Vo(ia),cs=Qe(ia);Zt.boundingBox=function(t){var e;if(this.length===1&&this[0]._private.bbCache!=null&&!this[0]._private.styleDirty&&(t===void 0||t.useCache===void 0||t.useCache===!0))t===void 0?t=ia:t=cs(t),e=hs(this[0],t);else{e=ft(),t=t||ia;var r=cs(t),a=this,n=a.cy(),i=n.styleEnabled();if(i)for(var s=0;s<a.length;s++){var o=a[s],l=o._private,u=_o(o),f=l.bbCachePosKey===u,h=r.useCache&&f&&!l.styleDirty;o.recalculateRenderedStyle(h)}this.updateCompoundBounds(!t.useCache);for(var c=0;c<a.length;c++){var v=a[c];tr(e,hs(v,r))}}return e.x1=dt(e.x1),e.y1=dt(e.y1),e.x2=dt(e.x2),e.y2=dt(e.y2),e.w=dt(e.x2-e.x1),e.h=dt(e.y2-e.y1),e};Zt.dirtyBoundingBoxCache=function(){for(var t=0;t<this.length;t++){var e=this[t]._private;e.bbCache=null,e.bbCachePosKey=null,e.bodyBounds=null,e.overlayBounds=null,e.labelBounds.all=null,e.labelBounds.source=null,e.labelBounds.target=null,e.labelBounds.main=null,e.labelBounds.sourceRot=null,e.labelBounds.targetRot=null,e.labelBounds.mainRot=null,e.arrowBounds.source=null,e.arrowBounds.target=null,e.arrowBounds["mid-source"]=null,e.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this};Zt.boundingBoxAt=function(t){var e=this.nodes(),r=this.cy(),a=r.hasCompoundNodes(),n=r.collection();if(a&&(n=e.filter(function(u){return u.isParent()}),e=e.not(n)),De(t)){var i=t;t=function(){return i}}var s=function(f,h){return f._private.bbAtOldPos=t(f,h)},o=function(f){return f._private.bbAtOldPos};r.startBatch(),e.forEach(s).silentPositions(t),a&&(n.dirtyCompoundBoundsCache(),n.dirtyBoundingBoxCache(),n.updateCompoundBounds(!0));var l=$d(this.boundingBox({useCache:!1}));return e.silentPositions(o),a&&(n.dirtyCompoundBoundsCache(),n.dirtyBoundingBoxCache(),n.updateCompoundBounds(!0)),r.endBatch(),l};Dr.boundingbox=Dr.bb=Dr.boundingBox;Dr.renderedBoundingbox=Dr.renderedBoundingBox;var pp=Zt,qr,ga;qr=ga={};var Uo=function(e){e.uppercaseName=Hi(e.name),e.autoName="auto"+e.uppercaseName,e.labelName="label"+e.uppercaseName,e.outerName="outer"+e.uppercaseName,e.uppercaseOuterName=Hi(e.outerName),qr[e.name]=function(){var a=this[0],n=a._private,i=n.cy,s=i._private.styleEnabled;if(a)if(s){if(a.isParent())return a.updateCompoundBounds(),n[e.autoName]||0;var o=a.pstyle(e.name);switch(o.strValue){case"label":return a.recalculateRenderedStyle(),n.rstyle[e.labelName]||0;default:return o.pfValue}}else return 1},qr["outer"+e.uppercaseName]=function(){var a=this[0],n=a._private,i=n.cy,s=i._private.styleEnabled;if(a)if(s){var o=a[e.name](),l=a.pstyle("border-width").pfValue,u=2*a.padding();return o+l+u}else return 1},qr["rendered"+e.uppercaseName]=function(){var a=this[0];if(a){var n=a[e.name]();return n*this.cy().zoom()}},qr["rendered"+e.uppercaseOuterName]=function(){var a=this[0];if(a){var n=a[e.outerName]();return n*this.cy().zoom()}}};Uo({name:"width"});Uo({name:"height"});ga.padding=function(){var t=this[0],e=t._private;return t.isParent()?(t.updateCompoundBounds(),e.autoPadding!==void 0?e.autoPadding:t.pstyle("padding").pfValue):t.pstyle("padding").pfValue};ga.paddedHeight=function(){var t=this[0];return t.height()+2*t.padding()};ga.paddedWidth=function(){var t=this[0];return t.width()+2*t.padding()};var yp=ga,mp=function(e,r){if(e.isEdge())return r(e)},bp=function(e,r){if(e.isEdge()){var a=e.cy();return fn(r(e),a.zoom(),a.pan())}},Ep=function(e,r){if(e.isEdge()){var a=e.cy(),n=a.pan(),i=a.zoom();return r(e).map(function(s){return fn(s,i,n)})}},wp=function(e){return e.renderer().getControlPoints(e)},xp=function(e){return e.renderer().getSegmentPoints(e)},Tp=function(e){return e.renderer().getSourceEndpoint(e)},Cp=function(e){return e.renderer().getTargetEndpoint(e)},Dp=function(e){return e.renderer().getEdgeMidpoint(e)},ds={controlPoints:{get:wp,mult:!0},segmentPoints:{get:xp,mult:!0},sourceEndpoint:{get:Tp},targetEndpoint:{get:Cp},midpoint:{get:Dp}},Sp=function(e){return"rendered"+e[0].toUpperCase()+e.substr(1)},Lp=Object.keys(ds).reduce(function(t,e){var r=ds[e],a=Sp(e);return t[e]=function(){return mp(this,r.get)},r.mult?t[a]=function(){return Ep(this,r.get)}:t[a]=function(){return bp(this,r.get)},t},{}),Ap=de({},cp,pp,yp,Lp);/*! +Event object based on jQuery events, MIT license + +https://jquery.org/license/ +https://tldrlegal.com/license/mit-license +https://github.com/jquery/jquery/blob/master/src/event.js +*/var Ho=function(e,r){this.recycle(e,r)};function Hr(){return!1}function Na(){return!0}Ho.prototype={instanceString:function(){return"event"},recycle:function(e,r){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Hr,e!=null&&e.preventDefault?(this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?Na:Hr):e!=null&&e.type?r=e:this.type=e,r!=null&&(this.originalEvent=r.originalEvent,this.type=r.type!=null?r.type:this.type,this.cy=r.cy,this.target=r.target,this.position=r.position,this.renderedPosition=r.renderedPosition,this.namespace=r.namespace,this.layout=r.layout),this.cy!=null&&this.position!=null&&this.renderedPosition==null){var a=this.position,n=this.cy.zoom(),i=this.cy.pan();this.renderedPosition={x:a.x*n+i.x,y:a.y*n+i.y}}this.timeStamp=e&&e.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=Na;var e=this.originalEvent;e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){this.isPropagationStopped=Na;var e=this.originalEvent;e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Na,this.stopPropagation()},isDefaultPrevented:Hr,isPropagationStopped:Hr,isImmediatePropagationStopped:Hr};var Yo=/^([^.]+)(\.(?:[^.]+))?$/,Op=".*",Xo={qualifierCompare:function(e,r){return e===r},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(e){return e},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},gs=Object.keys(Xo),Np={};function cn(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Np,e=arguments.length>1?arguments[1]:void 0,r=0;r<gs.length;r++){var a=gs[r];this[a]=t[a]||Xo[a]}this.context=e||this.context,this.listeners=[],this.emitting=0}var Kt=cn.prototype,Wo=function(e,r,a,n,i,s,o){Be(n)&&(i=n,n=null),o&&(s==null?s=o:s=de({},s,o));for(var l=Me(a)?a:a.split(/\s+/),u=0;u<l.length;u++){var f=l[u];if(!Yt(f)){var h=f.match(Yo);if(h){var c=h[1],v=h[2]?h[2]:null,d=r(e,f,c,v,n,i,s);if(d===!1)break}}}},ps=function(e,r){return e.addEventFields(e.context,r),new Ho(r.type,r)},Ip=function(e,r,a){if(Uc(a)){r(e,a);return}else if(De(a)){r(e,ps(e,a));return}for(var n=Me(a)?a:a.split(/\s+/),i=0;i<n.length;i++){var s=n[i];if(!Yt(s)){var o=s.match(Yo);if(o){var l=o[1],u=o[2]?o[2]:null,f=ps(e,{type:l,namespace:u,target:e.context});r(e,f)}}}};Kt.on=Kt.addListener=function(t,e,r,a,n){return Wo(this,function(i,s,o,l,u,f,h){Be(f)&&i.listeners.push({event:s,callback:f,type:o,namespace:l,qualifier:u,conf:h})},t,e,r,a,n),this};Kt.one=function(t,e,r,a){return this.on(t,e,r,a,{one:!0})};Kt.removeListener=Kt.off=function(t,e,r,a){var n=this;this.emitting!==0&&(this.listeners=dd(this.listeners));for(var i=this.listeners,s=function(u){var f=i[u];Wo(n,function(h,c,v,d,g,p){if((f.type===v||t==="*")&&(!d&&f.namespace!==".*"||f.namespace===d)&&(!g||h.qualifierCompare(f.qualifier,g))&&(!p||f.callback===p))return i.splice(u,1),!1},t,e,r,a)},o=i.length-1;o>=0;o--)s(o);return this};Kt.removeAllListeners=function(){return this.removeListener("*")};Kt.emit=Kt.trigger=function(t,e,r){var a=this.listeners,n=a.length;return this.emitting++,Me(e)||(e=[e]),Ip(this,function(i,s){r!=null&&(a=[{event:s.event,type:s.type,namespace:s.namespace,callback:r}],n=a.length);for(var o=function(f){var h=a[f];if(h.type===s.type&&(!h.namespace||h.namespace===s.namespace||h.namespace===Op)&&i.eventMatches(i.context,h,s)){var c=[s];e!=null&&pd(c,e),i.beforeEmit(i.context,h,s),h.conf&&h.conf.one&&(i.listeners=i.listeners.filter(function(g){return g!==h}));var v=i.callbackContext(i.context,h,s),d=h.callback.apply(v,c);i.afterEmit(i.context,h,s),d===!1&&(s.stopPropagation(),s.preventDefault())}},l=0;l<n;l++)o(l);i.bubble(i.context)&&!s.isPropagationStopped()&&i.parent(i.context).emit(s,e)},t),this.emitting--,this};var Mp={qualifierCompare:function(e,r){return e==null||r==null?e==null&&r==null:e.sameText(r)},eventMatches:function(e,r,a){var n=r.qualifier;return n!=null?e!==a.target&&ca(a.target)&&n.matches(a.target):!0},addEventFields:function(e,r){r.cy=e.cy(),r.target=e},callbackContext:function(e,r,a){return r.qualifier!=null?a.target:e},beforeEmit:function(e,r){r.conf&&r.conf.once&&r.conf.onceCollection.removeListener(r.event,r.qualifier,r.callback)},bubble:function(){return!0},parent:function(e){return e.isChild()?e.parent():e.cy()}},Ia=function(e){return ve(e)?new Wt(e):e},qo={createEmitter:function(){for(var e=0;e<this.length;e++){var r=this[e],a=r._private;a.emitter||(a.emitter=new cn(Mp,r))}return this},emitter:function(){return this._private.emitter},on:function(e,r,a){for(var n=Ia(r),i=0;i<this.length;i++){var s=this[i];s.emitter().on(e,n,a)}return this},removeListener:function(e,r,a){for(var n=Ia(r),i=0;i<this.length;i++){var s=this[i];s.emitter().removeListener(e,n,a)}return this},removeAllListeners:function(){for(var e=0;e<this.length;e++){var r=this[e];r.emitter().removeAllListeners()}return this},one:function(e,r,a){for(var n=Ia(r),i=0;i<this.length;i++){var s=this[i];s.emitter().one(e,n,a)}return this},once:function(e,r,a){for(var n=Ia(r),i=0;i<this.length;i++){var s=this[i];s.emitter().on(e,n,a,{once:!0,onceCollection:this})}},emit:function(e,r){for(var a=0;a<this.length;a++){var n=this[a];n.emitter().emit(e,r)}return this},emitAndNotify:function(e,r){if(this.length!==0)return this.cy().notify(e,this),this.emit(e,r),this}};Oe.eventAliasesOn(qo);var Ko={nodes:function(e){return this.filter(function(r){return r.isNode()}).filter(e)},edges:function(e){return this.filter(function(r){return r.isEdge()}).filter(e)},byGroup:function(){for(var e=this.spawn(),r=this.spawn(),a=0;a<this.length;a++){var n=this[a];n.isNode()?e.push(n):r.push(n)}return{nodes:e,edges:r}},filter:function(e,r){if(e===void 0)return this;if(ve(e)||ht(e))return new Wt(e).filter(this);if(Be(e)){for(var a=this.spawn(),n=this,i=0;i<n.length;i++){var s=n[i],o=r?e.apply(r,[s,i,n]):e(s,i,n);o&&a.push(s)}return a}return this.spawn()},not:function(e){if(e){ve(e)&&(e=this.filter(e));for(var r=this.spawn(),a=0;a<this.length;a++){var n=this[a],i=e.has(n);i||r.push(n)}return r}else return this},absoluteComplement:function(){var e=this.cy();return e.mutableElements().not(this)},intersect:function(e){if(ve(e)){var r=e;return this.filter(r)}for(var a=this.spawn(),n=this,i=e,s=this.length<e.length,o=s?n:i,l=s?i:n,u=0;u<o.length;u++){var f=o[u];l.has(f)&&a.push(f)}return a},xor:function(e){var r=this._private.cy;ve(e)&&(e=r.$(e));var a=this.spawn(),n=this,i=e,s=function(l,u){for(var f=0;f<l.length;f++){var h=l[f],c=h._private.data.id,v=u.hasElementWithId(c);v||a.push(h)}};return s(n,i),s(i,n),a},diff:function(e){var r=this._private.cy;ve(e)&&(e=r.$(e));var a=this.spawn(),n=this.spawn(),i=this.spawn(),s=this,o=e,l=function(f,h,c){for(var v=0;v<f.length;v++){var d=f[v],g=d._private.data.id,p=h.hasElementWithId(g);p?i.merge(d):c.push(d)}};return l(s,o,a),l(o,s,n),{left:a,right:n,both:i}},add:function(e){var r=this._private.cy;if(!e)return this;if(ve(e)){var a=e;e=r.mutableElements().filter(a)}for(var n=this.spawnSelf(),i=0;i<e.length;i++){var s=e[i],o=!this.has(s);o&&n.push(s)}return n},merge:function(e){var r=this._private,a=r.cy;if(!e)return this;if(e&&ve(e)){var n=e;e=a.mutableElements().filter(n)}for(var i=r.map,s=0;s<e.length;s++){var o=e[s],l=o._private.data.id,u=!i.has(l);if(u){var f=this.length++;this[f]=o,i.set(l,{ele:o,index:f})}}return this},unmergeAt:function(e){var r=this[e],a=r.id(),n=this._private,i=n.map;this[e]=void 0,i.delete(a);var s=e===this.length-1;if(this.length>1&&!s){var o=this.length-1,l=this[o],u=l._private.data.id;this[o]=void 0,this[e]=l,i.set(u,{ele:l,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var r=this._private,a=e._private.data.id,n=r.map,i=n.get(a);if(!i)return this;var s=i.index;return this.unmergeAt(s),this},unmerge:function(e){var r=this._private.cy;if(!e)return this;if(e&&ve(e)){var a=e;e=r.mutableElements().filter(a)}for(var n=0;n<e.length;n++)this.unmergeOne(e[n]);return this},unmergeBy:function(e){for(var r=this.length-1;r>=0;r--){var a=this[r];e(a)&&this.unmergeAt(r)}return this},map:function(e,r){for(var a=[],n=this,i=0;i<n.length;i++){var s=n[i],o=r?e.apply(r,[s,i,n]):e(s,i,n);a.push(o)}return a},reduce:function(e,r){for(var a=r,n=this,i=0;i<n.length;i++)a=e(a,n[i],i,n);return a},max:function(e,r){for(var a=-1/0,n,i=this,s=0;s<i.length;s++){var o=i[s],l=r?e.apply(r,[o,s,i]):e(o,s,i);l>a&&(a=l,n=o)}return{value:a,ele:n}},min:function(e,r){for(var a=1/0,n,i=this,s=0;s<i.length;s++){var o=i[s],l=r?e.apply(r,[o,s,i]):e(o,s,i);l<a&&(a=l,n=o)}return{value:a,ele:n}}},Ae=Ko;Ae.u=Ae["|"]=Ae["+"]=Ae.union=Ae.or=Ae.add;Ae["\\"]=Ae["!"]=Ae["-"]=Ae.difference=Ae.relativeComplement=Ae.subtract=Ae.not;Ae.n=Ae["&"]=Ae["."]=Ae.and=Ae.intersection=Ae.intersect;Ae["^"]=Ae["(+)"]=Ae["(-)"]=Ae.symmetricDifference=Ae.symdiff=Ae.xor;Ae.fnFilter=Ae.filterFn=Ae.stdFilter=Ae.filter;Ae.complement=Ae.abscomp=Ae.absoluteComplement;var Rp={isNode:function(){return this.group()==="nodes"},isEdge:function(){return this.group()==="edges"},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var e=this[0];if(e)return e._private.group}},Zo=function(e,r){var a=e.cy(),n=a.hasCompoundNodes();function i(f){var h=f.pstyle("z-compound-depth");return h.value==="auto"?n?f.zDepth():0:h.value==="bottom"?-1:h.value==="top"?si:0}var s=i(e)-i(r);if(s!==0)return s;function o(f){var h=f.pstyle("z-index-compare");return h.value==="auto"&&f.isNode()?1:0}var l=o(e)-o(r);if(l!==0)return l;var u=e.pstyle("z-index").value-r.pstyle("z-index").value;return u!==0?u:e.poolIndex()-r.poolIndex()},Za={forEach:function(e,r){if(Be(e))for(var a=this.length,n=0;n<a;n++){var i=this[n],s=r?e.apply(r,[i,n,this]):e(i,n,this);if(s===!1)break}return this},toArray:function(){for(var e=[],r=0;r<this.length;r++)e.push(this[r]);return e},slice:function(e,r){var a=[],n=this.length;r==null&&(r=n),e==null&&(e=0),e<0&&(e=n+e),r<0&&(r=n+r);for(var i=e;i>=0&&i<r&&i<n;i++)a.push(this[i]);return this.spawn(a)},size:function(){return this.length},eq:function(e){return this[e]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return this.length===0},nonempty:function(){return!this.empty()},sort:function(e){if(!Be(e))return this;var r=this.toArray().sort(e);return this.spawn(r)},sortByZIndex:function(){return this.sort(Zo)},zDepth:function(){var e=this[0];if(e){var r=e._private,a=r.group;if(a==="nodes"){var n=r.data.parent?e.parents().size():0;return e.isParent()?n:si-1}else{var i=r.source,s=r.target,o=i.zDepth(),l=s.zDepth();return Math.max(o,l,0)}}}};Za.each=Za.forEach;var kp=function(){var e="undefined",r=(typeof Symbol>"u"?"undefined":Ue(Symbol))!=e&&Ue(Symbol.iterator)!=e;r&&(Za[Symbol.iterator]=function(){var a=this,n={value:void 0,done:!1},i=0,s=this.length;return ro({next:function(){return i<s?n.value=a[i++]:(n.value=void 0,n.done=!0),n}},Symbol.iterator,function(){return this})})};kp();var Pp=Qe({nodeDimensionsIncludeLabels:!1}),Fa={layoutDimensions:function(e){e=Pp(e);var r;if(!this.takesUpSpace())r={w:0,h:0};else if(e.nodeDimensionsIncludeLabels){var a=this.boundingBox();r={w:a.w,h:a.h}}else r={w:this.outerWidth(),h:this.outerHeight()};return(r.w===0||r.h===0)&&(r.w=r.h=1),r},layoutPositions:function(e,r,a){var n=this.nodes().filter(function(C){return!C.isParent()}),i=this.cy(),s=r.eles,o=function(S){return S.id()},l=Jr(a,o);e.emit({type:"layoutstart",layout:e}),e.animations=[];var u=function(S,b,x){var w={x:b.x1+b.w/2,y:b.y1+b.h/2},D={x:(x.x-w.x)*S,y:(x.y-w.y)*S};return{x:w.x+D.x,y:w.y+D.y}},f=r.spacingFactor&&r.spacingFactor!==1,h=function(){if(!f)return null;for(var S=ft(),b=0;b<n.length;b++){var x=n[b],w=l(x,b);Ud(S,w.x,w.y)}return S},c=h(),v=Jr(function(C,S){var b=l(C,S);if(f){var x=Math.abs(r.spacingFactor);b=u(x,c,b)}return r.transform!=null&&(b=r.transform(C,b)),b},o);if(r.animate){for(var d=0;d<n.length;d++){var g=n[d],p=v(g,d),y=r.animateFilter==null||r.animateFilter(g,d);if(y){var E=g.animation({position:p,duration:r.animationDuration,easing:r.animationEasing});e.animations.push(E)}else g.position(p)}if(r.fit){var m=i.animation({fit:{boundingBox:s.boundingBoxAt(v),padding:r.padding},duration:r.animationDuration,easing:r.animationEasing});e.animations.push(m)}else if(r.zoom!==void 0&&r.pan!==void 0){var T=i.animation({zoom:r.zoom,pan:r.pan,duration:r.animationDuration,easing:r.animationEasing});e.animations.push(T)}e.animations.forEach(function(C){return C.play()}),e.one("layoutready",r.ready),e.emit({type:"layoutready",layout:e}),Rr.all(e.animations.map(function(C){return C.promise()})).then(function(){e.one("layoutstop",r.stop),e.emit({type:"layoutstop",layout:e})})}else n.positions(v),r.fit&&i.fit(r.eles,r.padding),r.zoom!=null&&i.zoom(r.zoom),r.pan&&i.pan(r.pan),e.one("layoutready",r.ready),e.emit({type:"layoutready",layout:e}),e.one("layoutstop",r.stop),e.emit({type:"layoutstop",layout:e});return this},layout:function(e){var r=this.cy();return r.makeLayout(de({},e,{eles:this}))}};Fa.createLayout=Fa.makeLayout=Fa.layout;function Qo(t,e,r){var a=r._private,n=a.styleCache=a.styleCache||[],i;return(i=n[t])!=null||(i=n[t]=e(r)),i}function dn(t,e){return t=ar(t),function(a){return Qo(t,e,a)}}function gn(t,e){t=ar(t);var r=function(n){return e.call(n)};return function(){var n=this[0];if(n)return Qo(t,r,n)}}var Ke={recalculateRenderedStyle:function(e){var r=this.cy(),a=r.renderer(),n=r.styleEnabled();return a&&n&&a.recalculateRenderedStyle(this,e),this},dirtyStyleCache:function(){var e=this.cy(),r=function(i){return i._private.styleCache=null};if(e.hasCompoundNodes()){var a;a=this.spawnSelf().merge(this.descendants()).merge(this.parents()),a.merge(a.connectedEdges()),a.forEach(r)}else this.forEach(function(n){r(n),n.connectedEdges().forEach(r)});return this},updateStyle:function(e){var r=this._private.cy;if(!r.styleEnabled())return this;if(r.batching()){var a=r._private.batchStyleEles;return a.merge(this),this}var n=r.hasCompoundNodes(),i=this;e=!!(e||e===void 0),n&&(i=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var s=i;return e?s.emitAndNotify("style"):s.emit("style"),i.forEach(function(o){return o._private.styleDirty=!0}),this},cleanStyle:function(){var e=this.cy();if(e.styleEnabled())for(var r=0;r<this.length;r++){var a=this[r];a._private.styleDirty&&(a._private.styleDirty=!1,e.style().apply(a))}},parsedStyle:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=this[0],n=a.cy();if(n.styleEnabled()&&a){this.cleanStyle();var i=a._private.style[e];return i??(r?n.style().getDefaultProperty(e):null)}},numericStyle:function(e){var r=this[0];if(r.cy().styleEnabled()&&r){var a=r.pstyle(e);return a.pfValue!==void 0?a.pfValue:a.value}},numericStyleUnits:function(e){var r=this[0];if(r.cy().styleEnabled()&&r)return r.pstyle(e).units},renderedStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var a=this[0];if(a)return r.style().getRenderedStyle(a,e)},style:function(e,r){var a=this.cy();if(!a.styleEnabled())return this;var n=!1,i=a.style();if(De(e)){var s=e;i.applyBypass(this,s,n),this.emitAndNotify("style")}else if(ve(e))if(r===void 0){var o=this[0];return o?i.getStylePropertyValue(o,e):void 0}else i.applyBypass(this,e,r,n),this.emitAndNotify("style");else if(e===void 0){var l=this[0];return l?i.getRawStyle(l):void 0}return this},removeStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var a=!1,n=r.style(),i=this;if(e===void 0)for(var s=0;s<i.length;s++){var o=i[s];n.removeAllBypasses(o,a)}else{e=e.split(/\s+/);for(var l=0;l<i.length;l++){var u=i[l];n.removeBypasses(u,e,a)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var e=this.cy();if(!e.styleEnabled())return 1;var r=e.hasCompoundNodes(),a=this[0];if(a){var n=a._private,i=a.pstyle("opacity").value;if(!r)return i;var s=n.data.parent?a.parents():null;if(s)for(var o=0;o<s.length;o++){var l=s[o],u=l.pstyle("opacity").value;i=u*i}return i}},transparent:function(){var e=this.cy();if(!e.styleEnabled())return!1;var r=this[0],a=r.cy().hasCompoundNodes();if(r)return a?r.effectiveOpacity()===0:r.pstyle("opacity").value===0},backgrounding:function(){var e=this.cy();if(!e.styleEnabled())return!1;var r=this[0];return!!r._private.backgrounding}};function In(t,e){var r=t._private,a=r.data.parent?t.parents():null;if(a)for(var n=0;n<a.length;n++){var i=a[n];if(!e(i))return!1}return!0}function gi(t){var e=t.ok,r=t.edgeOkViaNode||t.ok,a=t.parentOk||t.ok;return function(){var n=this.cy();if(!n.styleEnabled())return!0;var i=this[0],s=n.hasCompoundNodes();if(i){var o=i._private;if(!e(i))return!1;if(i.isNode())return!s||In(i,a);var l=o.source,u=o.target;return r(l)&&(!s||In(l,r))&&(l===u||r(u)&&(!s||In(u,r)))}}}var kr=dn("eleTakesUpSpace",function(t){return t.pstyle("display").value==="element"&&t.width()!==0&&(t.isNode()?t.height()!==0:!0)});Ke.takesUpSpace=gn("takesUpSpace",gi({ok:kr}));var Bp=dn("eleInteractive",function(t){return t.pstyle("events").value==="yes"&&t.pstyle("visibility").value==="visible"&&kr(t)}),Fp=dn("parentInteractive",function(t){return t.pstyle("visibility").value==="visible"&&kr(t)});Ke.interactive=gn("interactive",gi({ok:Bp,parentOk:Fp,edgeOkViaNode:kr}));Ke.noninteractive=function(){var t=this[0];if(t)return!t.interactive()};var Gp=dn("eleVisible",function(t){return t.pstyle("visibility").value==="visible"&&t.pstyle("opacity").pfValue!==0&&kr(t)}),zp=kr;Ke.visible=gn("visible",gi({ok:Gp,edgeOkViaNode:zp}));Ke.hidden=function(){var t=this[0];if(t)return!t.visible()};Ke.isBundledBezier=gn("isBundledBezier",function(){return this.cy().styleEnabled()?!this.removed()&&this.pstyle("curve-style").value==="bezier"&&this.takesUpSpace():!1});Ke.bypass=Ke.css=Ke.style;Ke.renderedCss=Ke.renderedStyle;Ke.removeBypass=Ke.removeCss=Ke.removeStyle;Ke.pstyle=Ke.parsedStyle;var Ht={};function ys(t){return function(){var e=arguments,r=[];if(e.length===2){var a=e[0],n=e[1];this.on(t.event,a,n)}else if(e.length===1&&Be(e[0])){var i=e[0];this.on(t.event,i)}else if(e.length===0||e.length===1&&Me(e[0])){for(var s=e.length===1?e[0]:null,o=0;o<this.length;o++){var l=this[o],u=!t.ableField||l._private[t.ableField],f=l._private[t.field]!=t.value;if(t.overrideAble){var h=t.overrideAble(l);if(h!==void 0&&(u=h,!h))return this}u&&(l._private[t.field]=t.value,f&&r.push(l))}var c=this.spawn(r);c.updateStyle(),c.emit(t.event),s&&c.emit(s)}return this}}function Pr(t){Ht[t.field]=function(){var e=this[0];if(e){if(t.overrideField){var r=t.overrideField(e);if(r!==void 0)return r}return e._private[t.field]}},Ht[t.on]=ys({event:t.on,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!0}),Ht[t.off]=ys({event:t.off,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!1})}Pr({field:"locked",overrideField:function(e){return e.cy().autolock()?!0:void 0},on:"lock",off:"unlock"});Pr({field:"grabbable",overrideField:function(e){return e.cy().autoungrabify()||e.pannable()?!1:void 0},on:"grabify",off:"ungrabify"});Pr({field:"selected",ableField:"selectable",overrideAble:function(e){return e.cy().autounselectify()?!1:void 0},on:"select",off:"unselect"});Pr({field:"selectable",overrideField:function(e){return e.cy().autounselectify()?!1:void 0},on:"selectify",off:"unselectify"});Ht.deselect=Ht.unselect;Ht.grabbed=function(){var t=this[0];if(t)return t._private.grabbed};Pr({field:"active",on:"activate",off:"unactivate"});Pr({field:"pannable",on:"panify",off:"unpanify"});Ht.inactive=function(){var t=this[0];if(t)return!t._private.active};var tt={},ms=function(e){return function(a){for(var n=this,i=[],s=0;s<n.length;s++){var o=n[s];if(o.isNode()){for(var l=!1,u=o.connectedEdges(),f=0;f<u.length;f++){var h=u[f],c=h.source(),v=h.target();if(e.noIncomingEdges&&v===o&&c!==o||e.noOutgoingEdges&&c===o&&v!==o){l=!0;break}}l||i.push(o)}}return this.spawn(i,!0).filter(a)}},bs=function(e){return function(r){for(var a=this,n=[],i=0;i<a.length;i++){var s=a[i];if(s.isNode())for(var o=s.connectedEdges(),l=0;l<o.length;l++){var u=o[l],f=u.source(),h=u.target();e.outgoing&&f===s?(n.push(u),n.push(h)):e.incoming&&h===s&&(n.push(u),n.push(f))}}return this.spawn(n,!0).filter(r)}},Es=function(e){return function(r){for(var a=this,n=[],i={};;){var s=e.outgoing?a.outgoers():a.incomers();if(s.length===0)break;for(var o=!1,l=0;l<s.length;l++){var u=s[l],f=u.id();i[f]||(i[f]=!0,n.push(u),o=!0)}if(!o)break;a=s}return this.spawn(n,!0).filter(r)}};tt.clearTraversalCache=function(){for(var t=0;t<this.length;t++)this[t]._private.traversalCache=null};de(tt,{roots:ms({noIncomingEdges:!0}),leaves:ms({noOutgoingEdges:!0}),outgoers:gt(bs({outgoing:!0}),"outgoers"),successors:Es({outgoing:!0}),incomers:gt(bs({incoming:!0}),"incomers"),predecessors:Es({incoming:!0})});de(tt,{neighborhood:gt(function(t){for(var e=[],r=this.nodes(),a=0;a<r.length;a++)for(var n=r[a],i=n.connectedEdges(),s=0;s<i.length;s++){var o=i[s],l=o.source(),u=o.target(),f=n===l?u:l;f.length>0&&e.push(f[0]),e.push(o[0])}return this.spawn(e,!0).filter(t)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}});tt.neighbourhood=tt.neighborhood;tt.closedNeighbourhood=tt.closedNeighborhood;tt.openNeighbourhood=tt.openNeighborhood;de(tt,{source:gt(function(e){var r=this[0],a;return r&&(a=r._private.source||r.cy().collection()),a&&e?a.filter(e):a},"source"),target:gt(function(e){var r=this[0],a;return r&&(a=r._private.target||r.cy().collection()),a&&e?a.filter(e):a},"target"),sources:ws({attr:"source"}),targets:ws({attr:"target"})});function ws(t){return function(r){for(var a=[],n=0;n<this.length;n++){var i=this[n],s=i._private[t.attr];s&&a.push(s)}return this.spawn(a,!0).filter(r)}}de(tt,{edgesWith:gt(xs(),"edgesWith"),edgesTo:gt(xs({thisIsSrc:!0}),"edgesTo")});function xs(t){return function(r){var a=[],n=this._private.cy,i=t||{};ve(r)&&(r=n.$(r));for(var s=0;s<r.length;s++)for(var o=r[s]._private.edges,l=0;l<o.length;l++){var u=o[l],f=u._private.data,h=this.hasElementWithId(f.source)&&r.hasElementWithId(f.target),c=r.hasElementWithId(f.source)&&this.hasElementWithId(f.target),v=h||c;v&&((i.thisIsSrc||i.thisIsTgt)&&(i.thisIsSrc&&!h||i.thisIsTgt&&!c)||a.push(u))}return this.spawn(a,!0)}}de(tt,{connectedEdges:gt(function(t){for(var e=[],r=this,a=0;a<r.length;a++){var n=r[a];if(n.isNode())for(var i=n._private.edges,s=0;s<i.length;s++){var o=i[s];e.push(o)}}return this.spawn(e,!0).filter(t)},"connectedEdges"),connectedNodes:gt(function(t){for(var e=[],r=this,a=0;a<r.length;a++){var n=r[a];n.isEdge()&&(e.push(n.source()[0]),e.push(n.target()[0]))}return this.spawn(e,!0).filter(t)},"connectedNodes"),parallelEdges:gt(Ts(),"parallelEdges"),codirectedEdges:gt(Ts({codirected:!0}),"codirectedEdges")});function Ts(t){var e={codirected:!1};return t=de({},e,t),function(a){for(var n=[],i=this.edges(),s=t,o=0;o<i.length;o++)for(var l=i[o],u=l._private,f=u.source,h=f._private.data.id,c=u.data.target,v=f._private.edges,d=0;d<v.length;d++){var g=v[d],p=g._private.data,y=p.target,E=p.source,m=y===c&&E===h,T=h===y&&c===E;(s.codirected&&m||!s.codirected&&(m||T))&&n.push(g)}return this.spawn(n,!0).filter(a)}}de(tt,{components:function(e){var r=this,a=r.cy(),n=a.collection(),i=e==null?r.nodes():e.nodes(),s=[];e!=null&&i.empty()&&(i=e.sources());var o=function(f,h){n.merge(f),i.unmerge(f),h.merge(f)};if(i.empty())return r.spawn();var l=function(){var f=a.collection();s.push(f);var h=i[0];o(h,f),r.bfs({directed:!1,roots:h,visit:function(v){return o(v,f)}}),f.forEach(function(c){c.connectedEdges().forEach(function(v){r.has(v)&&f.has(v.source())&&f.has(v.target())&&f.merge(v)})})};do l();while(i.length>0);return s},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}});tt.componentsOf=tt.components;var Ze=function(e,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===void 0){Ge("A collection must have a reference to the core");return}var i=new Lt,s=!1;if(!r)r=[];else if(r.length>0&&De(r[0])&&!ca(r[0])){s=!0;for(var o=[],l=new Mr,u=0,f=r.length;u<f;u++){var h=r[u];h.data==null&&(h.data={});var c=h.data;if(c.id==null)c.id=yo();else if(e.hasElementWithId(c.id)||l.has(c.id))continue;var v=new un(e,h,!1);o.push(v),l.add(c.id)}r=o}this.length=0;for(var d=0,g=r.length;d<g;d++){var p=r[d][0];if(p!=null){var y=p._private.data.id;(!a||!i.has(y))&&(a&&i.set(y,{index:this.length,ele:p}),this[this.length]=p,this.length++)}}this._private={eles:this,cy:e,get map(){return this.lazyMap==null&&this.rebuildMap(),this.lazyMap},set map(E){this.lazyMap=E},rebuildMap:function(){for(var m=this.lazyMap=new Lt,T=this.eles,C=0;C<T.length;C++){var S=T[C];m.set(S.id(),{index:C,ele:S})}}},a&&(this._private.map=i),s&&!n&&this.restore()},ke=un.prototype=Ze.prototype=Object.create(Array.prototype);ke.instanceString=function(){return"collection"};ke.spawn=function(t,e){return new Ze(this.cy(),t,e)};ke.spawnSelf=function(){return this.spawn(this)};ke.cy=function(){return this._private.cy};ke.renderer=function(){return this._private.cy.renderer()};ke.element=function(){return this[0]};ke.collection=function(){return no(this)?this:new Ze(this._private.cy,[this])};ke.unique=function(){return new Ze(this._private.cy,this,!0)};ke.hasElementWithId=function(t){return t=""+t,this._private.map.has(t)};ke.getElementById=function(t){t=""+t;var e=this._private.cy,r=this._private.map.get(t);return r?r.ele:new Ze(e)};ke.$id=ke.getElementById;ke.poolIndex=function(){var t=this._private.cy,e=t._private.elements,r=this[0]._private.data.id;return e._private.map.get(r).index};ke.indexOf=function(t){var e=t[0]._private.data.id;return this._private.map.get(e).index};ke.indexOfId=function(t){return t=""+t,this._private.map.get(t).index};ke.json=function(t){var e=this.element(),r=this.cy();if(e==null&&t)return this;if(e!=null){var a=e._private;if(De(t)){if(r.startBatch(),t.data){e.data(t.data);var n=a.data;if(e.isEdge()){var i=!1,s={},o=t.data.source,l=t.data.target;o!=null&&o!=n.source&&(s.source=""+o,i=!0),l!=null&&l!=n.target&&(s.target=""+l,i=!0),i&&(e=e.move(s))}else{var u="parent"in t.data,f=t.data.parent;u&&(f!=null||n.parent!=null)&&f!=n.parent&&(f===void 0&&(f=null),f!=null&&(f=""+f),e=e.move({parent:f}))}}t.position&&e.position(t.position);var h=function(g,p,y){var E=t[g];E!=null&&E!==a[g]&&(E?e[p]():e[y]())};return h("removed","remove","restore"),h("selected","select","unselect"),h("selectable","selectify","unselectify"),h("locked","lock","unlock"),h("grabbable","grabify","ungrabify"),h("pannable","panify","unpanify"),t.classes!=null&&e.classes(t.classes),r.endBatch(),this}else if(t===void 0){var c={data:St(a.data),position:St(a.position),group:a.group,removed:a.removed,selected:a.selected,selectable:a.selectable,locked:a.locked,grabbable:a.grabbable,pannable:a.pannable,classes:null};c.classes="";var v=0;return a.classes.forEach(function(d){return c.classes+=v++===0?d:" "+d}),c}}};ke.jsons=function(){for(var t=[],e=0;e<this.length;e++){var r=this[e],a=r.json();t.push(a)}return t};ke.clone=function(){for(var t=this.cy(),e=[],r=0;r<this.length;r++){var a=this[r],n=a.json(),i=new un(t,n,!1);e.push(i)}return new Ze(t,e)};ke.copy=ke.clone;ke.restore=function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this,a=r.cy(),n=a._private,i=[],s=[],o,l=0,u=r.length;l<u;l++){var f=r[l];e&&!f.removed()||(f.isNode()?i.push(f):s.push(f))}o=i.concat(s);var h,c=function(){o.splice(h,1),h--};for(h=0;h<o.length;h++){var v=o[h],d=v._private,g=d.data;if(v.clearTraversalCache(),!(!e&&!d.removed)){if(g.id===void 0)g.id=yo();else if(ae(g.id))g.id=""+g.id;else if(Yt(g.id)||!ve(g.id)){Ge("Can not create element with invalid string ID `"+g.id+"`"),c();continue}else if(a.hasElementWithId(g.id)){Ge("Can not create second element with ID `"+g.id+"`"),c();continue}}var p=g.id;if(v.isNode()){var y=d.position;y.x==null&&(y.x=0),y.y==null&&(y.y=0)}if(v.isEdge()){for(var E=v,m=["source","target"],T=m.length,C=!1,S=0;S<T;S++){var b=m[S],x=g[b];ae(x)&&(x=g[b]=""+g[b]),x==null||x===""?(Ge("Can not create edge `"+p+"` with unspecified "+b),C=!0):a.hasElementWithId(x)||(Ge("Can not create edge `"+p+"` with nonexistant "+b+" `"+x+"`"),C=!0)}if(C){c();continue}var w=a.getElementById(g.source),D=a.getElementById(g.target);w.same(D)?w._private.edges.push(E):(w._private.edges.push(E),D._private.edges.push(E)),E._private.source=w,E._private.target=D}d.map=new Lt,d.map.set(p,{ele:v,index:0}),d.removed=!1,e&&a.addToPool(v)}for(var A=0;A<i.length;A++){var L=i[A],I=L._private.data;ae(I.parent)&&(I.parent=""+I.parent);var O=I.parent,P=O!=null;if(P||L._private.parent){var R=L._private.parent?a.collection().merge(L._private.parent):a.getElementById(O);if(R.empty())I.parent=void 0;else if(R[0].removed())Ne("Node added with missing parent, reference to parent removed"),I.parent=void 0,L._private.parent=null;else{for(var M=!1,k=R;!k.empty();){if(L.same(k)){M=!0,I.parent=void 0;break}k=k.parent()}M||(R[0]._private.children.push(L),L._private.parent=R[0],n.hasCompoundNodes=!0)}}}if(o.length>0){for(var B=o.length===r.length?r:new Ze(a,o),G=0;G<B.length;G++){var F=B[G];F.isNode()||(F.parallelEdges().clearTraversalCache(),F.source().clearTraversalCache(),F.target().clearTraversalCache())}var $;n.hasCompoundNodes?$=a.collection().merge(B).merge(B.connectedNodes()).merge(B.parent()):$=B,$.dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(t),t?B.emitAndNotify("add"):e&&B.emit("add")}return r};ke.removed=function(){var t=this[0];return t&&t._private.removed};ke.inside=function(){var t=this[0];return t&&!t._private.removed};ke.remove=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this,a=[],n={},i=r._private.cy;function s(O){for(var P=O._private.edges,R=0;R<P.length;R++)l(P[R])}function o(O){for(var P=O._private.children,R=0;R<P.length;R++)l(P[R])}function l(O){var P=n[O.id()];e&&O.removed()||P||(n[O.id()]=!0,O.isNode()?(a.push(O),s(O),o(O)):a.unshift(O))}for(var u=0,f=r.length;u<f;u++){var h=r[u];l(h)}function c(O,P){var R=O._private.edges;Xt(R,P),O.clearTraversalCache()}function v(O){O.clearTraversalCache()}var d=[];d.ids={};function g(O,P){P=P[0],O=O[0];var R=O._private.children,M=O.id();Xt(R,P),P._private.parent=null,d.ids[M]||(d.ids[M]=!0,d.push(O))}r.dirtyCompoundBoundsCache(),e&&i.removeFromPool(a);for(var p=0;p<a.length;p++){var y=a[p];if(y.isEdge()){var E=y.source()[0],m=y.target()[0];c(E,y),c(m,y);for(var T=y.parallelEdges(),C=0;C<T.length;C++){var S=T[C];v(S),S.isBundledBezier()&&S.dirtyBoundingBoxCache()}}else{var b=y.parent();b.length!==0&&g(b,y)}e&&(y._private.removed=!0)}var x=i._private.elements;i._private.hasCompoundNodes=!1;for(var w=0;w<x.length;w++){var D=x[w];if(D.isParent()){i._private.hasCompoundNodes=!0;break}}var A=new Ze(this.cy(),a);A.size()>0&&(t?A.emitAndNotify("remove"):e&&A.emit("remove"));for(var L=0;L<d.length;L++){var I=d[L];(!e||!I.removed())&&I.updateStyle()}return A};ke.move=function(t){var e=this._private.cy,r=this,a=!1,n=!1,i=function(d){return d==null?d:""+d};if(t.source!==void 0||t.target!==void 0){var s=i(t.source),o=i(t.target),l=s!=null&&e.hasElementWithId(s),u=o!=null&&e.hasElementWithId(o);(l||u)&&(e.batch(function(){r.remove(a,n),r.emitAndNotify("moveout");for(var v=0;v<r.length;v++){var d=r[v],g=d._private.data;d.isEdge()&&(l&&(g.source=s),u&&(g.target=o))}r.restore(a,n)}),r.emitAndNotify("move"))}else if(t.parent!==void 0){var f=i(t.parent),h=f===null||e.hasElementWithId(f);if(h){var c=f===null?void 0:f;e.batch(function(){var v=r.remove(a,n);v.emitAndNotify("moveout");for(var d=0;d<r.length;d++){var g=r[d],p=g._private.data;g.isNode()&&(p.parent=c)}v.restore(a,n)}),r.emitAndNotify("move")}}return this};[No,Zg,Ba,Ut,Ar,vp,vn,Ap,qo,Ko,Rp,Za,Fa,Ke,Ht,tt].forEach(function(t){de(ke,t)});var $p={add:function(e){var r,a=this;if(ht(e)){var n=e;if(n._private.cy===a)r=n.restore();else{for(var i=[],s=0;s<n.length;s++){var o=n[s];i.push(o.json())}r=new Ze(a,i)}}else if(Me(e)){var l=e;r=new Ze(a,l)}else if(De(e)&&(Me(e.nodes)||Me(e.edges))){for(var u=e,f=[],h=["nodes","edges"],c=0,v=h.length;c<v;c++){var d=h[c],g=u[d];if(Me(g))for(var p=0,y=g.length;p<y;p++){var E=de({group:d},g[p]);f.push(E)}}r=new Ze(a,f)}else{var m=e;r=new un(a,m).collection()}return r},remove:function(e){if(!ht(e)){if(ve(e)){var r=e;e=this.$(r)}}return e.remove()}};/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function Vp(t,e,r,a){var n=4,i=.001,s=1e-7,o=10,l=11,u=1/(l-1),f=typeof Float32Array<"u";if(arguments.length!==4)return!1;for(var h=0;h<4;++h)if(typeof arguments[h]!="number"||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;t=Math.min(t,1),r=Math.min(r,1),t=Math.max(t,0),r=Math.max(r,0);var c=f?new Float32Array(l):new Array(l);function v(D,A){return 1-3*A+3*D}function d(D,A){return 3*A-6*D}function g(D){return 3*D}function p(D,A,L){return((v(A,L)*D+d(A,L))*D+g(A))*D}function y(D,A,L){return 3*v(A,L)*D*D+2*d(A,L)*D+g(A)}function E(D,A){for(var L=0;L<n;++L){var I=y(A,t,r);if(I===0)return A;var O=p(A,t,r)-D;A-=O/I}return A}function m(){for(var D=0;D<l;++D)c[D]=p(D*u,t,r)}function T(D,A,L){var I,O,P=0;do O=A+(L-A)/2,I=p(O,t,r)-D,I>0?L=O:A=O;while(Math.abs(I)>s&&++P<o);return O}function C(D){for(var A=0,L=1,I=l-1;L!==I&&c[L]<=D;++L)A+=u;--L;var O=(D-c[L])/(c[L+1]-c[L]),P=A+O*u,R=y(P,t,r);return R>=i?E(D,P):R===0?P:T(D,A,A+u)}var S=!1;function b(){S=!0,(t!==e||r!==a)&&m()}var x=function(A){return S||b(),t===e&&r===a?A:A===0?0:A===1?1:p(C(A),e,a)};x.getControlPoints=function(){return[{x:t,y:e},{x:r,y:a}]};var w="generateBezier("+[t,e,r,a]+")";return x.toString=function(){return w},x}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var _p=function(){function t(a){return-a.tension*a.x-a.friction*a.v}function e(a,n,i){var s={x:a.x+i.dx*n,v:a.v+i.dv*n,tension:a.tension,friction:a.friction};return{dx:s.v,dv:t(s)}}function r(a,n){var i={dx:a.v,dv:t(a)},s=e(a,n*.5,i),o=e(a,n*.5,s),l=e(a,n,o),u=1/6*(i.dx+2*(s.dx+o.dx)+l.dx),f=1/6*(i.dv+2*(s.dv+o.dv)+l.dv);return a.x=a.x+u*n,a.v=a.v+f*n,a}return function a(n,i,s){var o={x:-1,v:0,tension:null,friction:null},l=[0],u=0,f=1/1e4,h=16/1e3,c,v,d;for(n=parseFloat(n)||500,i=parseFloat(i)||20,s=s||null,o.tension=n,o.friction=i,c=s!==null,c?(u=a(n,i),v=u/s*h):v=h;d=r(d||o,v),l.push(1+d.x),u+=16,Math.abs(d.x)>f&&Math.abs(d.v)>f;);return c?function(g){return l[g*(l.length-1)|0]}:u}}(),Re=function(e,r,a,n){var i=Vp(e,r,a,n);return function(s,o,l){return s+(o-s)*i(l)}},Ga={linear:function(e,r,a){return e+(r-e)*a},ease:Re(.25,.1,.25,1),"ease-in":Re(.42,0,1,1),"ease-out":Re(0,0,.58,1),"ease-in-out":Re(.42,0,.58,1),"ease-in-sine":Re(.47,0,.745,.715),"ease-out-sine":Re(.39,.575,.565,1),"ease-in-out-sine":Re(.445,.05,.55,.95),"ease-in-quad":Re(.55,.085,.68,.53),"ease-out-quad":Re(.25,.46,.45,.94),"ease-in-out-quad":Re(.455,.03,.515,.955),"ease-in-cubic":Re(.55,.055,.675,.19),"ease-out-cubic":Re(.215,.61,.355,1),"ease-in-out-cubic":Re(.645,.045,.355,1),"ease-in-quart":Re(.895,.03,.685,.22),"ease-out-quart":Re(.165,.84,.44,1),"ease-in-out-quart":Re(.77,0,.175,1),"ease-in-quint":Re(.755,.05,.855,.06),"ease-out-quint":Re(.23,1,.32,1),"ease-in-out-quint":Re(.86,0,.07,1),"ease-in-expo":Re(.95,.05,.795,.035),"ease-out-expo":Re(.19,1,.22,1),"ease-in-out-expo":Re(1,0,0,1),"ease-in-circ":Re(.6,.04,.98,.335),"ease-out-circ":Re(.075,.82,.165,1),"ease-in-out-circ":Re(.785,.135,.15,.86),spring:function(e,r,a){if(a===0)return Ga.linear;var n=_p(e,r,a);return function(i,s,o){return i+(s-i)*n(o)}},"cubic-bezier":Re};function Cs(t,e,r,a,n){if(a===1||e===r)return r;var i=n(e,r,a);return t==null||((t.roundValue||t.color)&&(i=Math.round(i)),t.min!==void 0&&(i=Math.max(i,t.min)),t.max!==void 0&&(i=Math.min(i,t.max))),i}function Ds(t,e){return t.pfValue!=null||t.value!=null?t.pfValue!=null&&(e==null||e.type.units!=="%")?t.pfValue:t.value:t}function pr(t,e,r,a,n){var i=n!=null?n.type:null;r<0?r=0:r>1&&(r=1);var s=Ds(t,n),o=Ds(e,n);if(ae(s)&&ae(o))return Cs(i,s,o,r,a);if(Me(s)&&Me(o)){for(var l=[],u=0;u<o.length;u++){var f=s[u],h=o[u];if(f!=null&&h!=null){var c=Cs(i,f,h,r,a);l.push(c)}else l.push(h)}return l}}function Up(t,e,r,a){var n=!a,i=t._private,s=e._private,o=s.easing,l=s.startTime,u=a?t:t.cy(),f=u.style();if(!s.easingImpl)if(o==null)s.easingImpl=Ga.linear;else{var h;if(ve(o)){var c=f.parse("transition-timing-function",o);h=c.value}else h=o;var v,d;ve(h)?(v=h,d=[]):(v=h[1],d=h.slice(2).map(function(B){return+B})),d.length>0?(v==="spring"&&d.push(s.duration),s.easingImpl=Ga[v].apply(null,d)):s.easingImpl=Ga[v]}var g=s.easingImpl,p;if(s.duration===0?p=1:p=(r-l)/s.duration,s.applying&&(p=s.progress),p<0?p=0:p>1&&(p=1),s.delay==null){var y=s.startPosition,E=s.position;if(E&&n&&!t.locked()){var m={};Yr(y.x,E.x)&&(m.x=pr(y.x,E.x,p,g)),Yr(y.y,E.y)&&(m.y=pr(y.y,E.y,p,g)),t.position(m)}var T=s.startPan,C=s.pan,S=i.pan,b=C!=null&&a;b&&(Yr(T.x,C.x)&&(S.x=pr(T.x,C.x,p,g)),Yr(T.y,C.y)&&(S.y=pr(T.y,C.y,p,g)),t.emit("pan"));var x=s.startZoom,w=s.zoom,D=w!=null&&a;D&&(Yr(x,w)&&(i.zoom=ra(i.minZoom,pr(x,w,p,g),i.maxZoom)),t.emit("zoom")),(b||D)&&t.emit("viewport");var A=s.style;if(A&&A.length>0&&n){for(var L=0;L<A.length;L++){var I=A[L],O=I.name,P=I,R=s.startStyle[O],M=f.properties[R.name],k=pr(R,P,p,g,M);f.overrideBypass(t,O,k)}t.emit("style")}}return s.progress=p,p}function Yr(t,e){return t==null||e==null?!1:ae(t)&&ae(e)?!0:!!(t&&e)}function Hp(t,e,r,a){var n=e._private;n.started=!0,n.startTime=r-n.progress*n.duration}function Ss(t,e){var r=e._private.aniEles,a=[];function n(f,h){var c=f._private,v=c.animation.current,d=c.animation.queue,g=!1;if(v.length===0){var p=d.shift();p&&v.push(p)}for(var y=function(S){for(var b=S.length-1;b>=0;b--){var x=S[b];x()}S.splice(0,S.length)},E=v.length-1;E>=0;E--){var m=v[E],T=m._private;if(T.stopped){v.splice(E,1),T.hooked=!1,T.playing=!1,T.started=!1,y(T.frames);continue}!T.playing&&!T.applying||(T.playing&&T.applying&&(T.applying=!1),T.started||Hp(f,m,t),Up(f,m,t,h),T.applying&&(T.applying=!1),y(T.frames),T.step!=null&&T.step(t),m.completed()&&(v.splice(E,1),T.hooked=!1,T.playing=!1,T.started=!1,y(T.completes)),g=!0)}return!h&&v.length===0&&d.length===0&&a.push(f),g}for(var i=!1,s=0;s<r.length;s++){var o=r[s],l=n(o);i=i||l}var u=n(e,!0);(i||u)&&(r.length>0?e.notify("draw",r):e.notify("draw")),r.unmerge(a),e.emit("step")}var Yp={animate:Oe.animate(),animation:Oe.animation(),animated:Oe.animated(),clearQueue:Oe.clearQueue(),delay:Oe.delay(),delayAnimation:Oe.delayAnimation(),stop:Oe.stop(),addToAnimationPool:function(e){var r=this;r.styleEnabled()&&r._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,!e.styleEnabled())return;function r(){e._private.animationsRunning&&Ya(function(i){Ss(i,e),r()})}var a=e.renderer();a&&a.beforeRender?a.beforeRender(function(i,s){Ss(s,e)},a.beforeRenderPriorities.animations):r()}},Xp={qualifierCompare:function(e,r){return e==null||r==null?e==null&&r==null:e.sameText(r)},eventMatches:function(e,r,a){var n=r.qualifier;return n!=null?e!==a.target&&ca(a.target)&&n.matches(a.target):!0},addEventFields:function(e,r){r.cy=e,r.target=e},callbackContext:function(e,r,a){return r.qualifier!=null?a.target:e}},Ma=function(e){return ve(e)?new Wt(e):e},Jo={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new cn(Xp,this)),this},emitter:function(){return this._private.emitter},on:function(e,r,a){return this.emitter().on(e,Ma(r),a),this},removeListener:function(e,r,a){return this.emitter().removeListener(e,Ma(r),a),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,r,a){return this.emitter().one(e,Ma(r),a),this},once:function(e,r,a){return this.emitter().one(e,Ma(r),a),this},emit:function(e,r){return this.emitter().emit(e,r),this},emitAndNotify:function(e,r){return this.emit(e),this.notify(e,r),this}};Oe.eventAliasesOn(Jo);var Hn={png:function(e){var r=this._private.renderer;return e=e||{},r.png(e)},jpg:function(e){var r=this._private.renderer;return e=e||{},e.bg=e.bg||"#fff",r.jpg(e)}};Hn.jpeg=Hn.jpg;var za={layout:function(e){var r=this;if(e==null){Ge("Layout options must be specified to make a layout");return}if(e.name==null){Ge("A `name` must be specified to make a layout");return}var a=e.name,n=r.extension("layout",a);if(n==null){Ge("No such layout `"+a+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var i;ve(e.eles)?i=r.$(e.eles):i=e.eles!=null?e.eles:r.$();var s=new n(de({},e,{cy:r,eles:i}));return s}};za.createLayout=za.makeLayout=za.layout;var Wp={notify:function(e,r){var a=this._private;if(this.batching()){a.batchNotifications=a.batchNotifications||{};var n=a.batchNotifications[e]=a.batchNotifications[e]||this.collection();r!=null&&n.merge(r);return}if(a.notificationsEnabled){var i=this.renderer();this.destroyed()||!i||i.notify(e,r)}},notifications:function(e){var r=this._private;return e===void 0?r.notificationsEnabled:(r.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return e.batchCount==null&&(e.batchCount=0),e.batchCount===0&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(e.batchCount===0)return this;if(e.batchCount--,e.batchCount===0){e.batchStyleEles.updateStyle();var r=this.renderer();Object.keys(e.batchNotifications).forEach(function(a){var n=e.batchNotifications[a];n.empty()?r.notify(a):r.notify(a,n)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var r=this;return this.batch(function(){for(var a=Object.keys(e),n=0;n<a.length;n++){var i=a[n],s=e[i],o=r.getElementById(i);o.data(s)}})}},qp=Qe({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),Yn={renderTo:function(e,r,a,n){var i=this._private.renderer;return i.renderTo(e,r,a,n),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(e){var r=this,a=r.extension("renderer",e.name);if(a==null){Ge("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}e.wheelSensitivity!==void 0&&Ne("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var n=qp(e);n.cy=r,r._private.renderer=new a(n),this.notify("init")},destroyRenderer:function(){var e=this;e.notify("destroy");var r=e.container();if(r)for(r._cyreg=null;r.childNodes.length>0;)r.removeChild(r.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach(function(a){var n=a._private;n.rscratch={},n.rstyle={},n.animation.current=[],n.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Yn.invalidateDimensions=Yn.resize;var $a={collection:function(e,r){return ve(e)?this.$(e):ht(e)?e.collection():Me(e)?(r||(r={}),new Ze(this,e,r.unique,r.removed)):new Ze(this)},nodes:function(e){var r=this.$(function(a){return a.isNode()});return e?r.filter(e):r},edges:function(e){var r=this.$(function(a){return a.isEdge()});return e?r.filter(e):r},$:function(e){var r=this._private.elements;return e?r.filter(e):r.spawnSelf()},mutableElements:function(){return this._private.elements}};$a.elements=$a.filter=$a.$;var at={},Zr="t",Kp="f";at.apply=function(t){for(var e=this,r=e._private,a=r.cy,n=a.collection(),i=0;i<t.length;i++){var s=t[i],o=e.getContextMeta(s);if(!o.empty){var l=e.getContextStyle(o),u=e.applyContextStyle(o,l,s);s._private.appliedInitStyle?e.updateTransitions(s,u.diffProps):s._private.appliedInitStyle=!0;var f=e.updateStyleHints(s);f&&n.push(s)}}return n};at.getPropertiesDiff=function(t,e){var r=this,a=r._private.propDiffs=r._private.propDiffs||{},n=t+"-"+e,i=a[n];if(i)return i;for(var s=[],o={},l=0;l<r.length;l++){var u=r[l],f=t[l]===Zr,h=e[l]===Zr,c=f!==h,v=u.mappedProperties.length>0;if(c||h&&v){var d=void 0;c&&v||c?d=u.properties:v&&(d=u.mappedProperties);for(var g=0;g<d.length;g++){for(var p=d[g],y=p.name,E=!1,m=l+1;m<r.length;m++){var T=r[m],C=e[m]===Zr;if(C&&(E=T.properties[p.name]!=null,E))break}!o[y]&&!E&&(o[y]=!0,s.push(y))}}}return a[n]=s,s};at.getContextMeta=function(t){for(var e=this,r="",a,n=t._private.styleCxtKey||"",i=0;i<e.length;i++){var s=e[i],o=s.selector&&s.selector.matches(t);o?r+=Zr:r+=Kp}return a=e.getPropertiesDiff(n,r),t._private.styleCxtKey=r,{key:r,diffPropNames:a,empty:a.length===0}};at.getContextStyle=function(t){var e=t.key,r=this,a=this._private.contextStyles=this._private.contextStyles||{};if(a[e])return a[e];for(var n={_private:{key:e}},i=0;i<r.length;i++){var s=r[i],o=e[i]===Zr;if(o)for(var l=0;l<s.properties.length;l++){var u=s.properties[l];n[u.name]=u}}return a[e]=n,n};at.applyContextStyle=function(t,e,r){for(var a=this,n=t.diffPropNames,i={},s=a.types,o=0;o<n.length;o++){var l=n[o],u=e[l],f=r.pstyle(l);if(!u)if(f)f.bypass?u={name:l,deleteBypassed:!0}:u={name:l,delete:!0};else continue;if(f!==u){if(u.mapped===s.fn&&f!=null&&f.mapping!=null&&f.mapping.value===u.value){var h=f.mapping,c=h.fnValue=u.value(r);if(c===h.prevFnValue)continue}var v=i[l]={prev:f};a.applyParsedProperty(r,u),v.next=r.pstyle(l),v.next&&v.next.bypass&&(v.next=v.next.bypassed)}}return{diffProps:i}};at.updateStyleHints=function(t){var e=t._private,r=this,a=r.propertyGroupNames,n=r.propertyGroupKeys,i=function(ee,ne,ce){return r.getPropertiesHash(ee,ne,ce)},s=e.styleKey;if(t.removed())return!1;var o=e.group==="nodes",l=t._private.style;a=Object.keys(l);for(var u=0;u<n.length;u++){var f=n[u];e.styleKeys[f]=[br,Xr]}for(var h=function(ee,ne){return e.styleKeys[ne][0]=jr(ee,e.styleKeys[ne][0])},c=function(ee,ne){return e.styleKeys[ne][1]=ea(ee,e.styleKeys[ne][1])},v=function(ee,ne){h(ee,ne),c(ee,ne)},d=function(ee,ne){for(var ce=0;ce<ee.length;ce++){var te=ee.charCodeAt(ce);h(te,ne),c(te,ne)}},g=2e9,p=function(ee){return-128<ee&&ee<128&&Math.floor(ee)!==ee?g-(ee*1024|0):ee},y=0;y<a.length;y++){var E=a[y],m=l[E];if(m!=null){var T=this.properties[E],C=T.type,S=T.groupKey,b=void 0;T.hashOverride!=null?b=T.hashOverride(t,m):m.pfValue!=null&&(b=m.pfValue);var x=T.enums==null?m.value:null,w=b!=null,D=x!=null,A=w||D,L=m.units;if(C.number&&A&&!C.multiple){var I=w?b:x;v(p(I),S),!w&&L!=null&&d(L,S)}else d(m.strValue,S)}}for(var O=[br,Xr],P=0;P<n.length;P++){var R=n[P],M=e.styleKeys[R];O[0]=jr(M[0],O[0]),O[1]=ea(M[1],O[1])}e.styleKey=ld(O[0],O[1]);var k=e.styleKeys;e.labelDimsKey=Gt(k.labelDimensions);var B=i(t,["label"],k.labelDimensions);if(e.labelKey=Gt(B),e.labelStyleKey=Gt(Ta(k.commonLabel,B)),!o){var G=i(t,["source-label"],k.labelDimensions);e.sourceLabelKey=Gt(G),e.sourceLabelStyleKey=Gt(Ta(k.commonLabel,G));var F=i(t,["target-label"],k.labelDimensions);e.targetLabelKey=Gt(F),e.targetLabelStyleKey=Gt(Ta(k.commonLabel,F))}if(o){var $=e.styleKeys,U=$.nodeBody,_=$.nodeBorder,Y=$.nodeOutline,W=$.backgroundImage,z=$.compound,K=$.pie,j=[U,_,Y,W,z,K].filter(function(Q){return Q!=null}).reduce(Ta,[br,Xr]);e.nodeKey=Gt(j),e.hasPie=K!=null&&K[0]!==br&&K[1]!==Xr}return s!==e.styleKey};at.clearStyleHints=function(t){var e=t._private;e.styleCxtKey="",e.styleKeys={},e.styleKey=null,e.labelKey=null,e.labelStyleKey=null,e.sourceLabelKey=null,e.sourceLabelStyleKey=null,e.targetLabelKey=null,e.targetLabelStyleKey=null,e.nodeKey=null,e.hasPie=null};at.applyParsedProperty=function(t,e){var r=this,a=e,n=t._private.style,i,s=r.types,o=r.properties[a.name].type,l=a.bypass,u=n[a.name],f=u&&u.bypass,h=t._private,c="mapping",v=function(U){return U==null?null:U.pfValue!=null?U.pfValue:U.value},d=function(){var U=v(u),_=v(a);r.checkTriggers(t,a.name,U,_)};if(e.name==="curve-style"&&t.isEdge()&&(e.value!=="bezier"&&t.isLoop()||e.value==="haystack"&&(t.source().isParent()||t.target().isParent()))&&(a=e=this.parse(e.name,"bezier",l)),a.delete)return n[a.name]=void 0,d(),!0;if(a.deleteBypassed)return u?u.bypass?(u.bypassed=void 0,d(),!0):!1:(d(),!0);if(a.deleteBypass)return u?u.bypass?(n[a.name]=u.bypassed,d(),!0):!1:(d(),!0);var g=function(){Ne("Do not assign mappings to elements without corresponding data (i.e. ele `"+t.id()+"` has no mapping for property `"+a.name+"` with data field `"+a.field+"`); try a `["+a.field+"]` selector to limit scope to elements with `"+a.field+"` defined")};switch(a.mapped){case s.mapData:{for(var p=a.field.split("."),y=h.data,E=0;E<p.length&&y;E++){var m=p[E];y=y[m]}if(y==null)return g(),!1;var T;if(ae(y)){var C=a.fieldMax-a.fieldMin;C===0?T=0:T=(y-a.fieldMin)/C}else return Ne("Do not use continuous mappers without specifying numeric data (i.e. `"+a.field+": "+y+"` for `"+t.id()+"` is non-numeric)"),!1;if(T<0?T=0:T>1&&(T=1),o.color){var S=a.valueMin[0],b=a.valueMax[0],x=a.valueMin[1],w=a.valueMax[1],D=a.valueMin[2],A=a.valueMax[2],L=a.valueMin[3]==null?1:a.valueMin[3],I=a.valueMax[3]==null?1:a.valueMax[3],O=[Math.round(S+(b-S)*T),Math.round(x+(w-x)*T),Math.round(D+(A-D)*T),Math.round(L+(I-L)*T)];i={bypass:a.bypass,name:a.name,value:O,strValue:"rgb("+O[0]+", "+O[1]+", "+O[2]+")"}}else if(o.number){var P=a.valueMin+(a.valueMax-a.valueMin)*T;i=this.parse(a.name,P,a.bypass,c)}else return!1;if(!i)return g(),!1;i.mapping=a,a=i;break}case s.data:{for(var R=a.field.split("."),M=h.data,k=0;k<R.length&&M;k++){var B=R[k];M=M[B]}if(M!=null&&(i=this.parse(a.name,M,a.bypass,c)),!i)return g(),!1;i.mapping=a,a=i;break}case s.fn:{var G=a.value,F=a.fnValue!=null?a.fnValue:G(t);if(a.prevFnValue=F,F==null)return Ne("Custom function mappers may not return null (i.e. `"+a.name+"` for ele `"+t.id()+"` is null)"),!1;if(i=this.parse(a.name,F,a.bypass,c),!i)return Ne("Custom function mappers may not return invalid values for the property type (i.e. `"+a.name+"` for ele `"+t.id()+"` is invalid)"),!1;i.mapping=St(a),a=i;break}case void 0:break;default:return!1}return l?(f?a.bypassed=u.bypassed:a.bypassed=u,n[a.name]=a):f?u.bypassed=a:n[a.name]=a,d(),!0};at.cleanElements=function(t,e){for(var r=0;r<t.length;r++){var a=t[r];if(this.clearStyleHints(a),a.dirtyCompoundBoundsCache(),a.dirtyBoundingBoxCache(),!e)a._private.style={};else for(var n=a._private.style,i=Object.keys(n),s=0;s<i.length;s++){var o=i[s],l=n[o];l!=null&&(l.bypass?l.bypassed=null:n[o]=null)}}};at.update=function(){var t=this._private.cy,e=t.mutableElements();e.updateStyle()};at.updateTransitions=function(t,e){var r=this,a=t._private,n=t.pstyle("transition-property").value,i=t.pstyle("transition-duration").pfValue,s=t.pstyle("transition-delay").pfValue;if(n.length>0&&i>0){for(var o={},l=!1,u=0;u<n.length;u++){var f=n[u],h=t.pstyle(f),c=e[f];if(c){var v=c.prev,d=v,g=c.next!=null?c.next:h,p=!1,y=void 0,E=1e-6;d&&(ae(d.pfValue)&&ae(g.pfValue)?(p=g.pfValue-d.pfValue,y=d.pfValue+E*p):ae(d.value)&&ae(g.value)?(p=g.value-d.value,y=d.value+E*p):Me(d.value)&&Me(g.value)&&(p=d.value[0]!==g.value[0]||d.value[1]!==g.value[1]||d.value[2]!==g.value[2],y=d.strValue),p&&(o[f]=g.strValue,this.applyBypass(t,f,y),l=!0))}}if(!l)return;a.transitioning=!0,new Rr(function(m){s>0?t.delayAnimation(s).play().promise().then(m):m()}).then(function(){return t.animation({style:o,duration:i,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1})}else a.transitioning&&(this.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1)};at.checkTrigger=function(t,e,r,a,n,i){var s=this.properties[e],o=n(s);o!=null&&o(r,a)&&i(s)};at.checkZOrderTrigger=function(t,e,r,a){var n=this;this.checkTrigger(t,e,r,a,function(i){return i.triggersZOrder},function(){n._private.cy.notify("zorder",t)})};at.checkBoundsTrigger=function(t,e,r,a){this.checkTrigger(t,e,r,a,function(n){return n.triggersBounds},function(n){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),n.triggersBoundsOfParallelBeziers&&e==="curve-style"&&(r==="bezier"||a==="bezier")&&t.parallelEdges().forEach(function(i){i.isBundledBezier()&&i.dirtyBoundingBoxCache()}),n.triggersBoundsOfConnectedEdges&&e==="display"&&(r==="none"||a==="none")&&t.connectedEdges().forEach(function(i){i.dirtyBoundingBoxCache()})})};at.checkTriggers=function(t,e,r,a){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,r,a),this.checkBoundsTrigger(t,e,r,a)};var pa={};pa.applyBypass=function(t,e,r,a){var n=this,i=[],s=!0;if(e==="*"||e==="**"){if(r!==void 0)for(var o=0;o<n.properties.length;o++){var l=n.properties[o],u=l.name,f=this.parse(u,r,!0);f&&i.push(f)}}else if(ve(e)){var h=this.parse(e,r,!0);h&&i.push(h)}else if(De(e)){var c=e;a=r;for(var v=Object.keys(c),d=0;d<v.length;d++){var g=v[d],p=c[g];if(p===void 0&&(p=c[ln(g)]),p!==void 0){var y=this.parse(g,p,!0);y&&i.push(y)}}}else return!1;if(i.length===0)return!1;for(var E=!1,m=0;m<t.length;m++){for(var T=t[m],C={},S=void 0,b=0;b<i.length;b++){var x=i[b];if(a){var w=T.pstyle(x.name);S=C[x.name]={prev:w}}E=this.applyParsedProperty(T,St(x))||E,a&&(S.next=T.pstyle(x.name))}E&&this.updateStyleHints(T),a&&this.updateTransitions(T,C,s)}return E};pa.overrideBypass=function(t,e,r){e=ii(e);for(var a=0;a<t.length;a++){var n=t[a],i=n._private.style[e],s=this.properties[e].type,o=s.color,l=s.mutiple,u=i?i.pfValue!=null?i.pfValue:i.value:null;!i||!i.bypass?this.applyBypass(n,e,r):(i.value=r,i.pfValue!=null&&(i.pfValue=r),o?i.strValue="rgb("+r.join(",")+")":l?i.strValue=r.join(" "):i.strValue=""+r,this.updateStyleHints(n)),this.checkTriggers(n,e,u,r)}};pa.removeAllBypasses=function(t,e){return this.removeBypasses(t,this.propertyNames,e)};pa.removeBypasses=function(t,e,r){for(var a=!0,n=0;n<t.length;n++){for(var i=t[n],s={},o=0;o<e.length;o++){var l=e[o],u=this.properties[l],f=i.pstyle(u.name);if(!(!f||!f.bypass)){var h="",c=this.parse(l,h,!0),v=s[u.name]={prev:f};this.applyParsedProperty(i,c),v.next=i.pstyle(u.name)}}this.updateStyleHints(i),r&&this.updateTransitions(i,s,a)}};var pi={};pi.getEmSizeInPixels=function(){var t=this.containerCss("font-size");return t!=null?parseFloat(t):1};pi.containerCss=function(t){var e=this._private.cy,r=e.container(),a=e.window();if(a&&r&&a.getComputedStyle)return a.getComputedStyle(r).getPropertyValue(t)};var At={};At.getRenderedStyle=function(t,e){return e?this.getStylePropertyValue(t,e,!0):this.getRawStyle(t,!0)};At.getRawStyle=function(t,e){var r=this;if(t=t[0],t){for(var a={},n=0;n<r.properties.length;n++){var i=r.properties[n],s=r.getStylePropertyValue(t,i.name,e);s!=null&&(a[i.name]=s,a[ln(i.name)]=s)}return a}};At.getIndexedStyle=function(t,e,r,a){var n=t.pstyle(e)[r][a];return n??t.cy().style().getDefaultProperty(e)[r][0]};At.getStylePropertyValue=function(t,e,r){var a=this;if(t=t[0],t){var n=a.properties[e];n.alias&&(n=n.pointsTo);var i=n.type,s=t.pstyle(n.name);if(s){var o=s.value,l=s.units,u=s.strValue;if(r&&i.number&&o!=null&&ae(o)){var f=t.cy().zoom(),h=function(p){return p*f},c=function(p,y){return h(p)+y},v=Me(o),d=v?l.every(function(g){return g!=null}):l!=null;return d?v?o.map(function(g,p){return c(g,l[p])}).join(" "):c(o,l):v?o.map(function(g){return ve(g)?g:""+h(g)}).join(" "):""+h(o)}else if(u!=null)return u}return null}};At.getAnimationStartStyle=function(t,e){for(var r={},a=0;a<e.length;a++){var n=e[a],i=n.name,s=t.pstyle(i);s!==void 0&&(De(s)?s=this.parse(i,s.strValue):s=this.parse(i,s)),s&&(r[i]=s)}return r};At.getPropsList=function(t){var e=this,r=[],a=t,n=e.properties;if(a)for(var i=Object.keys(a),s=0;s<i.length;s++){var o=i[s],l=a[o],u=n[o]||n[ii(o)],f=this.parse(u.name,l);f&&r.push(f)}return r};At.getNonDefaultPropertiesHash=function(t,e,r){var a=r.slice(),n,i,s,o,l,u;for(l=0;l<e.length;l++)if(n=e[l],i=t.pstyle(n,!1),i!=null)if(i.pfValue!=null)a[0]=jr(o,a[0]),a[1]=ea(o,a[1]);else for(s=i.strValue,u=0;u<s.length;u++)o=s.charCodeAt(u),a[0]=jr(o,a[0]),a[1]=ea(o,a[1]);return a};At.getPropertiesHash=At.getNonDefaultPropertiesHash;var pn={};pn.appendFromJson=function(t){for(var e=this,r=0;r<t.length;r++){var a=t[r],n=a.selector,i=a.style||a.css,s=Object.keys(i);e.selector(n);for(var o=0;o<s.length;o++){var l=s[o],u=i[l];e.css(l,u)}}return e};pn.fromJson=function(t){var e=this;return e.resetToDefault(),e.appendFromJson(t),e};pn.json=function(){for(var t=[],e=this.defaultLength;e<this.length;e++){for(var r=this[e],a=r.selector,n=r.properties,i={},s=0;s<n.length;s++){var o=n[s];i[o.name]=o.strValue}t.push({selector:a?a.toString():"core",style:i})}return t};var yi={};yi.appendFromString=function(t){var e=this,r=this,a=""+t,n,i,s;a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");function o(){a.length>n.length?a=a.substr(n.length):a=""}function l(){i.length>s.length?i=i.substr(s.length):i=""}for(;;){var u=a.match(/^\s*$/);if(u)break;var f=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!f){Ne("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}n=f[0];var h=f[1];if(h!=="core"){var c=new Wt(h);if(c.invalid){Ne("Skipping parsing of block: Invalid selector found in string stylesheet: "+h),o();continue}}var v=f[2],d=!1;i=v;for(var g=[];;){var p=i.match(/^\s*$/);if(p)break;var y=i.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!y){Ne("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+v),d=!0;break}s=y[0];var E=y[1],m=y[2],T=e.properties[E];if(!T){Ne("Skipping property: Invalid property name in: "+s),l();continue}var C=r.parse(E,m);if(!C){Ne("Skipping property: Invalid property definition in: "+s),l();continue}g.push({name:E,val:m}),l()}if(d){o();break}r.selector(h);for(var S=0;S<g.length;S++){var b=g[S];r.css(b.name,b.val)}o()}return r};yi.fromString=function(t){var e=this;return e.resetToDefault(),e.appendFromString(t),e};var qe={};(function(){var t=_e,e=Kc,r=Qc,a=Jc,n=jc,i=function(j){return"^"+j+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},s=function(j){var Q=t+"|\\w+|"+e+"|"+r+"|"+a+"|"+n;return"^"+j+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+t+")\\s*\\,\\s*("+t+")\\s*,\\s*("+Q+")\\s*\\,\\s*("+Q+")\\)$"},o=[`^url\\s*\\(\\s*['"]?(.+?)['"]?\\s*\\)$`,"^(none)$","^(.+)$"];qe.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},nonNegativeNumber:{number:!0,min:0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials","null"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","right-rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},arrowWidth:{number:!0,units:"%|px|em",implicitUnits:"px",enums:["match-line"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:i("data")},layoutData:{mapping:!0,regex:i("layoutData")},scratch:{mapping:!0,regex:i("scratch")},mapData:{mapping:!0,regex:s("mapData")},mapLayoutData:{mapping:!0,regex:s("mapLayoutData")},mapScratch:{mapping:!0,regex:s("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:o,singleRegexMatchValue:!0},urls:{regexes:o,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position","endpoints"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(j,Q){switch(j.length){case 2:return Q[0]!=="deg"&&Q[0]!=="rad"&&Q[1]!=="deg"&&Q[1]!=="rad";case 1:return ve(j[0])||Q[0]==="deg"||Q[0]==="rad";default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(j){var Q=j.length;return Q===1||Q===2||Q===4}}};var l={zeroNonZero:function(j,Q){return(j==null||Q==null)&&j!==Q||j==0&&Q!=0?!0:j!=0&&Q==0},any:function(j,Q){return j!=Q},emptyNonEmpty:function(j,Q){var ee=Yt(j),ne=Yt(Q);return ee&&!ne||!ee&&ne}},u=qe.types,f=[{name:"label",type:u.text,triggersBounds:l.any,triggersZOrder:l.emptyNonEmpty},{name:"text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any}],h=[{name:"source-label",type:u.text,triggersBounds:l.any},{name:"source-text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"source-text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"source-text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"source-text-offset",type:u.size,triggersBounds:l.any}],c=[{name:"target-label",type:u.text,triggersBounds:l.any},{name:"target-text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"target-text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"target-text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"target-text-offset",type:u.size,triggersBounds:l.any}],v=[{name:"font-family",type:u.fontFamily,triggersBounds:l.any},{name:"font-style",type:u.fontStyle,triggersBounds:l.any},{name:"font-weight",type:u.fontWeight,triggersBounds:l.any},{name:"font-size",type:u.size,triggersBounds:l.any},{name:"text-transform",type:u.textTransform,triggersBounds:l.any},{name:"text-wrap",type:u.textWrap,triggersBounds:l.any},{name:"text-overflow-wrap",type:u.textOverflowWrap,triggersBounds:l.any},{name:"text-max-width",type:u.size,triggersBounds:l.any},{name:"text-outline-width",type:u.size,triggersBounds:l.any},{name:"line-height",type:u.positiveNumber,triggersBounds:l.any}],d=[{name:"text-valign",type:u.valign,triggersBounds:l.any},{name:"text-halign",type:u.halign,triggersBounds:l.any},{name:"color",type:u.color},{name:"text-outline-color",type:u.color},{name:"text-outline-opacity",type:u.zeroOneNumber},{name:"text-background-color",type:u.color},{name:"text-background-opacity",type:u.zeroOneNumber},{name:"text-background-padding",type:u.size,triggersBounds:l.any},{name:"text-border-opacity",type:u.zeroOneNumber},{name:"text-border-color",type:u.color},{name:"text-border-width",type:u.size,triggersBounds:l.any},{name:"text-border-style",type:u.borderStyle,triggersBounds:l.any},{name:"text-background-shape",type:u.textBackgroundShape,triggersBounds:l.any},{name:"text-justification",type:u.justification}],g=[{name:"events",type:u.bool,triggersZOrder:l.any},{name:"text-events",type:u.bool,triggersZOrder:l.any}],p=[{name:"display",type:u.display,triggersZOrder:l.any,triggersBounds:l.any,triggersBoundsOfConnectedEdges:!0},{name:"visibility",type:u.visibility,triggersZOrder:l.any},{name:"opacity",type:u.zeroOneNumber,triggersZOrder:l.zeroNonZero},{name:"text-opacity",type:u.zeroOneNumber},{name:"min-zoomed-font-size",type:u.size},{name:"z-compound-depth",type:u.zCompoundDepth,triggersZOrder:l.any},{name:"z-index-compare",type:u.zIndexCompare,triggersZOrder:l.any},{name:"z-index",type:u.number,triggersZOrder:l.any}],y=[{name:"overlay-padding",type:u.size,triggersBounds:l.any},{name:"overlay-color",type:u.color},{name:"overlay-opacity",type:u.zeroOneNumber,triggersBounds:l.zeroNonZero},{name:"overlay-shape",type:u.overlayShape,triggersBounds:l.any}],E=[{name:"underlay-padding",type:u.size,triggersBounds:l.any},{name:"underlay-color",type:u.color},{name:"underlay-opacity",type:u.zeroOneNumber,triggersBounds:l.zeroNonZero},{name:"underlay-shape",type:u.overlayShape,triggersBounds:l.any}],m=[{name:"transition-property",type:u.propList},{name:"transition-duration",type:u.time},{name:"transition-delay",type:u.time},{name:"transition-timing-function",type:u.easing}],T=function(j,Q){return Q.value==="label"?-j.poolIndex():Q.pfValue},C=[{name:"height",type:u.nodeSize,triggersBounds:l.any,hashOverride:T},{name:"width",type:u.nodeSize,triggersBounds:l.any,hashOverride:T},{name:"shape",type:u.nodeShape,triggersBounds:l.any},{name:"shape-polygon-points",type:u.polygonPointList,triggersBounds:l.any},{name:"background-color",type:u.color},{name:"background-fill",type:u.fill},{name:"background-opacity",type:u.zeroOneNumber},{name:"background-blacken",type:u.nOneOneNumber},{name:"background-gradient-stop-colors",type:u.colors},{name:"background-gradient-stop-positions",type:u.percentages},{name:"background-gradient-direction",type:u.gradientDirection},{name:"padding",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"padding-relative-to",type:u.paddingRelativeTo,triggersBounds:l.any},{name:"bounds-expansion",type:u.boundsExpansion,triggersBounds:l.any}],S=[{name:"border-color",type:u.color},{name:"border-opacity",type:u.zeroOneNumber},{name:"border-width",type:u.size,triggersBounds:l.any},{name:"border-style",type:u.borderStyle}],b=[{name:"outline-color",type:u.color},{name:"outline-opacity",type:u.zeroOneNumber},{name:"outline-width",type:u.size,triggersBounds:l.any},{name:"outline-style",type:u.borderStyle},{name:"outline-offset",type:u.size,triggersBounds:l.any}],x=[{name:"background-image",type:u.urls},{name:"background-image-crossorigin",type:u.bgCrossOrigin},{name:"background-image-opacity",type:u.zeroOneNumbers},{name:"background-image-containment",type:u.bgContainment},{name:"background-image-smoothing",type:u.bools},{name:"background-position-x",type:u.bgPos},{name:"background-position-y",type:u.bgPos},{name:"background-width-relative-to",type:u.bgRelativeTo},{name:"background-height-relative-to",type:u.bgRelativeTo},{name:"background-repeat",type:u.bgRepeat},{name:"background-fit",type:u.bgFit},{name:"background-clip",type:u.bgClip},{name:"background-width",type:u.bgWH},{name:"background-height",type:u.bgWH},{name:"background-offset-x",type:u.bgPos},{name:"background-offset-y",type:u.bgPos}],w=[{name:"position",type:u.position,triggersBounds:l.any},{name:"compound-sizing-wrt-labels",type:u.compoundIncludeLabels,triggersBounds:l.any},{name:"min-width",type:u.size,triggersBounds:l.any},{name:"min-width-bias-left",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-width-bias-right",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-height",type:u.size,triggersBounds:l.any},{name:"min-height-bias-top",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-height-bias-bottom",type:u.sizeMaybePercent,triggersBounds:l.any}],D=[{name:"line-style",type:u.lineStyle},{name:"line-color",type:u.color},{name:"line-fill",type:u.fill},{name:"line-cap",type:u.lineCap},{name:"line-opacity",type:u.zeroOneNumber},{name:"line-dash-pattern",type:u.numbers},{name:"line-dash-offset",type:u.number},{name:"line-gradient-stop-colors",type:u.colors},{name:"line-gradient-stop-positions",type:u.percentages},{name:"curve-style",type:u.curveStyle,triggersBounds:l.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:u.zeroOneNumber,triggersBounds:l.any},{name:"source-endpoint",type:u.edgeEndpoint,triggersBounds:l.any},{name:"target-endpoint",type:u.edgeEndpoint,triggersBounds:l.any},{name:"control-point-step-size",type:u.size,triggersBounds:l.any},{name:"control-point-distances",type:u.bidirectionalSizes,triggersBounds:l.any},{name:"control-point-weights",type:u.numbers,triggersBounds:l.any},{name:"segment-distances",type:u.bidirectionalSizes,triggersBounds:l.any},{name:"segment-weights",type:u.numbers,triggersBounds:l.any},{name:"taxi-turn",type:u.bidirectionalSizeMaybePercent,triggersBounds:l.any},{name:"taxi-turn-min-distance",type:u.size,triggersBounds:l.any},{name:"taxi-direction",type:u.axisDirection,triggersBounds:l.any},{name:"edge-distances",type:u.edgeDistances,triggersBounds:l.any},{name:"arrow-scale",type:u.positiveNumber,triggersBounds:l.any},{name:"loop-direction",type:u.angle,triggersBounds:l.any},{name:"loop-sweep",type:u.angle,triggersBounds:l.any},{name:"source-distance-from-node",type:u.size,triggersBounds:l.any},{name:"target-distance-from-node",type:u.size,triggersBounds:l.any}],A=[{name:"ghost",type:u.bool,triggersBounds:l.any},{name:"ghost-offset-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"ghost-offset-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"ghost-opacity",type:u.zeroOneNumber}],L=[{name:"selection-box-color",type:u.color},{name:"selection-box-opacity",type:u.zeroOneNumber},{name:"selection-box-border-color",type:u.color},{name:"selection-box-border-width",type:u.size},{name:"active-bg-color",type:u.color},{name:"active-bg-opacity",type:u.zeroOneNumber},{name:"active-bg-size",type:u.size},{name:"outside-texture-bg-color",type:u.color},{name:"outside-texture-bg-opacity",type:u.zeroOneNumber}],I=[];qe.pieBackgroundN=16,I.push({name:"pie-size",type:u.sizeMaybePercent});for(var O=1;O<=qe.pieBackgroundN;O++)I.push({name:"pie-"+O+"-background-color",type:u.color}),I.push({name:"pie-"+O+"-background-size",type:u.percent}),I.push({name:"pie-"+O+"-background-opacity",type:u.zeroOneNumber});var P=[],R=qe.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:u.arrowShape,triggersBounds:l.any},{name:"arrow-color",type:u.color},{name:"arrow-fill",type:u.arrowFill},{name:"arrow-width",type:u.arrowWidth}].forEach(function(K){R.forEach(function(j){var Q=j+"-"+K.name,ee=K.type,ne=K.triggersBounds;P.push({name:Q,type:ee,triggersBounds:ne})})},{});var M=qe.properties=[].concat(g,m,p,y,E,A,d,v,f,h,c,C,S,b,x,I,w,D,P,L),k=qe.propertyGroups={behavior:g,transition:m,visibility:p,overlay:y,underlay:E,ghost:A,commonLabel:d,labelDimensions:v,mainLabel:f,sourceLabel:h,targetLabel:c,nodeBody:C,nodeBorder:S,nodeOutline:b,backgroundImage:x,pie:I,compound:w,edgeLine:D,edgeArrow:P,core:L},B=qe.propertyGroupNames={},G=qe.propertyGroupKeys=Object.keys(k);G.forEach(function(K){B[K]=k[K].map(function(j){return j.name}),k[K].forEach(function(j){return j.groupKey=K})});var F=qe.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];qe.propertyNames=M.map(function(K){return K.name});for(var $=0;$<M.length;$++){var U=M[$];M[U.name]=U}for(var _=0;_<F.length;_++){var Y=F[_],W=M[Y.pointsTo],z={name:Y.name,alias:!0,pointsTo:W};M.push(z),M[Y.name]=z}})();qe.getDefaultProperty=function(t){return this.getDefaultProperties()[t]};qe.getDefaultProperties=function(){var t=this._private;if(t.defaultProperties!=null)return t.defaultProperties;for(var e=de({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid","outline-color":"#999","outline-opacity":1,"outline-width":0,"outline-offset":0,"outline-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce(function(l,u){for(var f=1;f<=qe.pieBackgroundN;f++){var h=u.name.replace("{{i}}",f),c=u.value;l[h]=c}return l},{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"},{name:"arrow-width",value:1}].reduce(function(l,u){return qe.arrowPrefixes.forEach(function(f){var h=f+"-"+u.name,c=u.value;l[h]=c}),l},{})),r={},a=0;a<this.properties.length;a++){var n=this.properties[a];if(!n.pointsTo){var i=n.name,s=e[i],o=this.parse(i,s);r[i]=o}}return t.defaultProperties=r,t.defaultProperties};qe.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var yn={};yn.parse=function(t,e,r,a){var n=this;if(Be(e))return n.parseImplWarn(t,e,r,a);var i=a==="mapping"||a===!0||a===!1||a==null?"dontcare":a,s=r?"t":"f",o=""+e,l=co(t,o,s,i),u=n.propCache=n.propCache||[],f;return(f=u[l])||(f=u[l]=n.parseImplWarn(t,e,r,a)),(r||a==="mapping")&&(f=St(f),f&&(f.value=St(f.value))),f};yn.parseImplWarn=function(t,e,r,a){var n=this.parseImpl(t,e,r,a);return!n&&e!=null&&Ne("The style property `".concat(t,": ").concat(e,"` is invalid")),n&&(n.name==="width"||n.name==="height")&&e==="label"&&Ne("The style value of `label` is deprecated for `"+n.name+"`"),n};yn.parseImpl=function(t,e,r,a){var n=this;t=ii(t);var i=n.properties[t],s=e,o=n.types;if(!i||e===void 0)return null;i.alias&&(i=i.pointsTo,t=i.name);var l=ve(e);l&&(e=e.trim());var u=i.type;if(!u)return null;if(r&&(e===""||e===null))return{name:t,value:e,bypass:!0,deleteBypass:!0};if(Be(e))return{name:t,value:e,strValue:"fn",mapped:o.fn,bypass:r};var f,h;if(!(!l||a||e.length<7||e[1]!=="a")){if(e.length>=7&&e[0]==="d"&&(f=new RegExp(o.data.regex).exec(e))){if(r)return!1;var c=o.data;return{name:t,value:f,strValue:""+e,mapped:c,field:f[1],bypass:r}}else if(e.length>=10&&e[0]==="m"&&(h=new RegExp(o.mapData.regex).exec(e))){if(r||u.multiple)return!1;var v=o.mapData;if(!(u.color||u.number))return!1;var d=this.parse(t,h[4]);if(!d||d.mapped)return!1;var g=this.parse(t,h[5]);if(!g||g.mapped)return!1;if(d.pfValue===g.pfValue||d.strValue===g.strValue)return Ne("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+d.strValue+"`"),this.parse(t,d.strValue);if(u.color){var p=d.value,y=g.value,E=p[0]===y[0]&&p[1]===y[1]&&p[2]===y[2]&&(p[3]===y[3]||(p[3]==null||p[3]===1)&&(y[3]==null||y[3]===1));if(E)return!1}return{name:t,value:h,strValue:""+e,mapped:v,field:h[1],fieldMin:parseFloat(h[2]),fieldMax:parseFloat(h[3]),valueMin:d.value,valueMax:g.value,bypass:r}}}if(u.multiple&&a!=="multiple"){var m;if(l?m=e.split(/\s+/):Me(e)?m=e:m=[e],u.evenMultiple&&m.length%2!==0)return null;for(var T=[],C=[],S=[],b="",x=!1,w=0;w<m.length;w++){var D=n.parse(t,m[w],r,"multiple");x=x||ve(D.value),T.push(D.value),S.push(D.pfValue!=null?D.pfValue:D.value),C.push(D.units),b+=(w>0?" ":"")+D.strValue}return u.validate&&!u.validate(T,C)?null:u.singleEnum&&x?T.length===1&&ve(T[0])?{name:t,value:T[0],strValue:T[0],bypass:r}:null:{name:t,value:T,pfValue:S,strValue:b,bypass:r,units:C}}var A=function(){for(var j=0;j<u.enums.length;j++){var Q=u.enums[j];if(Q===e)return{name:t,value:e,strValue:""+e,bypass:r}}return null};if(u.number){var L,I="px";if(u.units&&(L=u.units),u.implicitUnits&&(I=u.implicitUnits),!u.unitless)if(l){var O="px|em"+(u.allowPercent?"|\\%":"");L&&(O=L);var P=e.match("^("+_e+")("+O+")?$");P&&(e=P[1],L=P[2]||I)}else(!L||u.implicitUnits)&&(L=I);if(e=parseFloat(e),isNaN(e)&&u.enums===void 0)return null;if(isNaN(e)&&u.enums!==void 0)return e=s,A();if(u.integer&&!_c(e)||u.min!==void 0&&(e<u.min||u.strictMin&&e===u.min)||u.max!==void 0&&(e>u.max||u.strictMax&&e===u.max))return null;var R={name:t,value:e,strValue:""+e+(L||""),units:L,bypass:r};return u.unitless||L!=="px"&&L!=="em"?R.pfValue=e:R.pfValue=L==="px"||!L?e:this.getEmSizeInPixels()*e,(L==="ms"||L==="s")&&(R.pfValue=L==="ms"?e:1e3*e),(L==="deg"||L==="rad")&&(R.pfValue=L==="rad"?e:Fd(e)),L==="%"&&(R.pfValue=e/100),R}else if(u.propList){var M=[],k=""+e;if(k!=="none"){for(var B=k.split(/\s*,\s*|\s+/),G=0;G<B.length;G++){var F=B[G].trim();n.properties[F]?M.push(F):Ne("`"+F+"` is not a valid property name")}if(M.length===0)return null}return{name:t,value:M,strValue:M.length===0?"none":M.join(" "),bypass:r}}else if(u.color){var $=id(e);return $?{name:t,value:$,pfValue:$,strValue:"rgb("+$[0]+","+$[1]+","+$[2]+")",bypass:r}:null}else if(u.regex||u.regexes){if(u.enums){var U=A();if(U)return U}for(var _=u.regexes?u.regexes:[u.regex],Y=0;Y<_.length;Y++){var W=new RegExp(_[Y]),z=W.exec(e);if(z)return{name:t,value:u.singleRegexMatchValue?z[1]:z,strValue:""+e,bypass:r}}return null}else return u.string?{name:t,value:""+e,strValue:""+e,bypass:r}:u.enums?A():null};var et=function t(e){if(!(this instanceof t))return new t(e);if(!ni(e)){Ge("A style must have a core reference");return}this._private={cy:e,coreStyle:{}},this.length=0,this.resetToDefault()},rt=et.prototype;rt.instanceString=function(){return"style"};rt.clear=function(){for(var t=this._private,e=t.cy,r=e.elements(),a=0;a<this.length;a++)this[a]=void 0;return this.length=0,t.contextStyles={},t.propDiffs={},this.cleanElements(r,!0),r.forEach(function(n){var i=n[0]._private;i.styleDirty=!0,i.appliedInitStyle=!1}),this};rt.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this};rt.core=function(t){return this._private.coreStyle[t]||this.getDefaultProperty(t)};rt.selector=function(t){var e=t==="core"?null:new Wt(t),r=this.length++;return this[r]={selector:e,properties:[],mappedProperties:[],index:r},this};rt.css=function(){var t=this,e=arguments;if(e.length===1)for(var r=e[0],a=0;a<t.properties.length;a++){var n=t.properties[a],i=r[n.name];i===void 0&&(i=r[ln(n.name)]),i!==void 0&&this.cssRule(n.name,i)}else e.length===2&&this.cssRule(e[0],e[1]);return this};rt.style=rt.css;rt.cssRule=function(t,e){var r=this.parse(t,e);if(r){var a=this.length-1;this[a].properties.push(r),this[a].properties[r.name]=r,r.name.match(/pie-(\d+)-background-size/)&&r.value&&(this._private.hasPie=!0),r.mapped&&this[a].mappedProperties.push(r);var n=!this[a].selector;n&&(this._private.coreStyle[r.name]=r)}return this};rt.append=function(t){return io(t)?t.appendToStyle(this):Me(t)?this.appendFromJson(t):ve(t)&&this.appendFromString(t),this};et.fromJson=function(t,e){var r=new et(t);return r.fromJson(e),r};et.fromString=function(t,e){return new et(t).fromString(e)};[at,pa,pi,At,pn,yi,qe,yn].forEach(function(t){de(rt,t)});et.types=rt.types;et.properties=rt.properties;et.propertyGroups=rt.propertyGroups;et.propertyGroupNames=rt.propertyGroupNames;et.propertyGroupKeys=rt.propertyGroupKeys;var Zp={style:function(e){if(e){var r=this.setStyle(e);r.update()}return this._private.style},setStyle:function(e){var r=this._private;return io(e)?r.style=e.generateStyle(this):Me(e)?r.style=et.fromJson(this,e):ve(e)?r.style=et.fromString(this,e):r.style=et(this),r.style},updateStyle:function(){this.mutableElements().updateStyle()}},Qp="single",sr={autolock:function(e){if(e!==void 0)this._private.autolock=!!e;else return this._private.autolock;return this},autoungrabify:function(e){if(e!==void 0)this._private.autoungrabify=!!e;else return this._private.autoungrabify;return this},autounselectify:function(e){if(e!==void 0)this._private.autounselectify=!!e;else return this._private.autounselectify;return this},selectionType:function(e){var r=this._private;if(r.selectionType==null&&(r.selectionType=Qp),e!==void 0)(e==="additive"||e==="single")&&(r.selectionType=e);else return r.selectionType;return this},panningEnabled:function(e){if(e!==void 0)this._private.panningEnabled=!!e;else return this._private.panningEnabled;return this},userPanningEnabled:function(e){if(e!==void 0)this._private.userPanningEnabled=!!e;else return this._private.userPanningEnabled;return this},zoomingEnabled:function(e){if(e!==void 0)this._private.zoomingEnabled=!!e;else return this._private.zoomingEnabled;return this},userZoomingEnabled:function(e){if(e!==void 0)this._private.userZoomingEnabled=!!e;else return this._private.userZoomingEnabled;return this},boxSelectionEnabled:function(e){if(e!==void 0)this._private.boxSelectionEnabled=!!e;else return this._private.boxSelectionEnabled;return this},pan:function(){var e=arguments,r=this._private.pan,a,n,i,s,o;switch(e.length){case 0:return r;case 1:if(ve(e[0]))return a=e[0],r[a];if(De(e[0])){if(!this._private.panningEnabled)return this;i=e[0],s=i.x,o=i.y,ae(s)&&(r.x=s),ae(o)&&(r.y=o),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;a=e[0],n=e[1],(a==="x"||a==="y")&&ae(n)&&(r[a]=n),this.emit("pan viewport");break}return this.notify("viewport"),this},panBy:function(e,r){var a=arguments,n=this._private.pan,i,s,o,l,u;if(!this._private.panningEnabled)return this;switch(a.length){case 1:De(e)&&(o=a[0],l=o.x,u=o.y,ae(l)&&(n.x+=l),ae(u)&&(n.y+=u),this.emit("pan viewport"));break;case 2:i=e,s=r,(i==="x"||i==="y")&&ae(s)&&(n[i]+=s),this.emit("pan viewport");break}return this.notify("viewport"),this},fit:function(e,r){var a=this.getFitViewport(e,r);if(a){var n=this._private;n.zoom=a.zoom,n.pan=a.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(e,r){if(ae(e)&&r===void 0&&(r=e,e=void 0),!(!this._private.panningEnabled||!this._private.zoomingEnabled)){var a;if(ve(e)){var n=e;e=this.$(n)}else if(Yc(e)){var i=e;a={x1:i.x1,y1:i.y1,x2:i.x2,y2:i.y2},a.w=a.x2-a.x1,a.h=a.y2-a.y1}else ht(e)||(e=this.mutableElements());if(!(ht(e)&&e.empty())){a=a||e.boundingBox();var s=this.width(),o=this.height(),l;if(r=ae(r)?r:0,!isNaN(s)&&!isNaN(o)&&s>0&&o>0&&!isNaN(a.w)&&!isNaN(a.h)&&a.w>0&&a.h>0){l=Math.min((s-2*r)/a.w,(o-2*r)/a.h),l=l>this._private.maxZoom?this._private.maxZoom:l,l=l<this._private.minZoom?this._private.minZoom:l;var u={x:(s-l*(a.x1+a.x2))/2,y:(o-l*(a.y1+a.y2))/2};return{zoom:l,pan:u}}}}},zoomRange:function(e,r){var a=this._private;if(r==null){var n=e;e=n.min,r=n.max}return ae(e)&&ae(r)&&e<=r?(a.minZoom=e,a.maxZoom=r):ae(e)&&r===void 0&&e<=a.maxZoom?a.minZoom=e:ae(r)&&e===void 0&&r>=a.minZoom&&(a.maxZoom=r),this},minZoom:function(e){return e===void 0?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return e===void 0?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var r=this._private,a=r.pan,n=r.zoom,i,s,o=!1;if(r.zoomingEnabled||(o=!0),ae(e)?s=e:De(e)&&(s=e.level,e.position!=null?i=fn(e.position,n,a):e.renderedPosition!=null&&(i=e.renderedPosition),i!=null&&!r.panningEnabled&&(o=!0)),s=s>r.maxZoom?r.maxZoom:s,s=s<r.minZoom?r.minZoom:s,o||!ae(s)||s===n||i!=null&&(!ae(i.x)||!ae(i.y)))return null;if(i!=null){var l=a,u=n,f=s,h={x:-f/u*(i.x-l.x)+i.x,y:-f/u*(i.y-l.y)+i.y};return{zoomed:!0,panned:!0,zoom:f,pan:h}}else return{zoomed:!0,panned:!1,zoom:s,pan:a}},zoom:function(e){if(e===void 0)return this._private.zoom;var r=this.getZoomedViewport(e),a=this._private;return r==null||!r.zoomed?this:(a.zoom=r.zoom,r.panned&&(a.pan.x=r.pan.x,a.pan.y=r.pan.y),this.emit("zoom"+(r.panned?" pan":"")+" viewport"),this.notify("viewport"),this)},viewport:function(e){var r=this._private,a=!0,n=!0,i=[],s=!1,o=!1;if(!e)return this;if(ae(e.zoom)||(a=!1),De(e.pan)||(n=!1),!a&&!n)return this;if(a){var l=e.zoom;l<r.minZoom||l>r.maxZoom||!r.zoomingEnabled?s=!0:(r.zoom=l,i.push("zoom"))}if(n&&(!s||!e.cancelOnFailedZoom)&&r.panningEnabled){var u=e.pan;ae(u.x)&&(r.pan.x=u.x,o=!1),ae(u.y)&&(r.pan.y=u.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var r=this.getCenterPan(e);return r&&(this._private.pan=r,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,r){if(this._private.panningEnabled){if(ve(e)){var a=e;e=this.mutableElements().filter(a)}else ht(e)||(e=this.mutableElements());if(e.length!==0){var n=e.boundingBox(),i=this.width(),s=this.height();r=r===void 0?this._private.zoom:r;var o={x:(i-r*(n.x1+n.x2))/2,y:(s-r*(n.y1+n.y2))/2};return o}}},reset:function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e=this._private,r=e.container,a=this;return e.sizeCache=e.sizeCache||(r?function(){var n=a.window().getComputedStyle(r),i=function(o){return parseFloat(n.getPropertyValue(o))};return{width:r.clientWidth-i("padding-left")-i("padding-right"),height:r.clientHeight-i("padding-top")-i("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,r=this._private.zoom,a=this.renderedExtent(),n={x1:(a.x1-e.x)/r,x2:(a.x2-e.x)/r,y1:(a.y1-e.y)/r,y2:(a.y2-e.y)/r};return n.w=n.x2-n.x1,n.h=n.y2-n.y1,n},renderedExtent:function(){var e=this.width(),r=this.height();return{x1:0,y1:0,x2:e,y2:r,w:e,h:r}},multiClickDebounceTime:function(e){if(e)this._private.multiClickDebounceTime=e;else return this._private.multiClickDebounceTime;return this}};sr.centre=sr.center;sr.autolockNodes=sr.autolock;sr.autoungrabifyNodes=sr.autoungrabify;var sa={data:Oe.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Oe.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Oe.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Oe.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};sa.attr=sa.data;sa.removeAttr=sa.removeData;var oa=function(e){var r=this;e=de({},e);var a=e.container;a&&!Ha(a)&&Ha(a[0])&&(a=a[0]);var n=a?a._cyreg:null;n=n||{},n&&n.cy&&(n.cy.destroy(),n={});var i=n.readies=n.readies||[];a&&(a._cyreg=n),n.cy=r;var s=$e!==void 0&&a!==void 0&&!e.headless,o=e;o.layout=de({name:s?"grid":"null"},o.layout),o.renderer=de({name:s?"canvas":"null"},o.renderer);var l=function(d,g,p){return g!==void 0?g:p!==void 0?p:d},u=this._private={container:a,ready:!1,options:o,elements:new Ze(this),listeners:[],aniEles:new Ze(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:l(!0,o.zoomingEnabled),userZoomingEnabled:l(!0,o.userZoomingEnabled),panningEnabled:l(!0,o.panningEnabled),userPanningEnabled:l(!0,o.userPanningEnabled),boxSelectionEnabled:l(!0,o.boxSelectionEnabled),autolock:l(!1,o.autolock,o.autolockNodes),autoungrabify:l(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:l(!1,o.autounselectify),styleEnabled:o.styleEnabled===void 0?s:o.styleEnabled,zoom:ae(o.zoom)?o.zoom:1,pan:{x:De(o.pan)&&ae(o.pan.x)?o.pan.x:0,y:De(o.pan)&&ae(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:l(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});var f=function(d,g){var p=d.some(Xc);if(p)return Rr.all(d).then(g);g(d)};u.styleEnabled&&r.setStyle([]);var h=de({},o,o.renderer);r.initRenderer(h);var c=function(d,g,p){r.notifications(!1);var y=r.mutableElements();y.length>0&&y.remove(),d!=null&&(De(d)||Me(d))&&r.add(d),r.one("layoutready",function(m){r.notifications(!0),r.emit(m),r.one("load",g),r.emitAndNotify("load")}).one("layoutstop",function(){r.one("done",p),r.emit("done")});var E=de({},r._private.options.layout);E.eles=r.elements(),r.layout(E).run()};f([o.style,o.elements],function(v){var d=v[0],g=v[1];u.styleEnabled&&r.style().append(d),c(g,function(){r.startAnimationLoop(),u.ready=!0,Be(o.ready)&&r.on("ready",o.ready);for(var p=0;p<i.length;p++){var y=i[p];r.on("ready",y)}n&&(n.readies=[]),r.emit("ready")},o.done)})},Qa=oa.prototype;de(Qa,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(e){return this.isReady()?this.emitter().emit("ready",[],e):this.on("ready",e),this},destroy:function(){var e=this;if(!e.destroyed())return e.stopAnimationLoop(),e.destroyRenderer(),this.emit("destroy"),e._private.destroyed=!0,e},hasElementWithId:function(e){return this._private.elements.hasElementWithId(e)},getElementById:function(e){return this._private.elements.getElementById(e)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(e){return this._private.elements.merge(e),this},removeFromPool:function(e){return this._private.elements.unmerge(e),this},container:function(){return this._private.container||null},window:function(){var e=this._private.container;if(e==null)return $e;var r=this._private.container.ownerDocument;return r===void 0||r==null?$e:r.defaultView||$e},mount:function(e){if(e!=null){var r=this,a=r._private,n=a.options;return!Ha(e)&&Ha(e[0])&&(e=e[0]),r.stopAnimationLoop(),r.destroyRenderer(),a.container=e,a.styleEnabled=!0,r.invalidateSize(),r.initRenderer(de({},n,n.renderer,{name:n.renderer.name==="null"?"canvas":n.renderer.name})),r.startAnimationLoop(),r.style(n.style),r.emit("mount"),r}},unmount:function(){var e=this;return e.stopAnimationLoop(),e.destroyRenderer(),e.initRenderer({name:"null"}),e.emit("unmount"),e},options:function(){return St(this._private.options)},json:function(e){var r=this,a=r._private,n=r.mutableElements(),i=function(T){return r.getElementById(T.id())};if(De(e)){if(r.startBatch(),e.elements){var s={},o=function(T,C){for(var S=[],b=[],x=0;x<T.length;x++){var w=T[x];if(!w.data.id){Ne("cy.json() cannot handle elements without an ID attribute");continue}var D=""+w.data.id,A=r.getElementById(D);s[D]=!0,A.length!==0?b.push({ele:A,json:w}):(C&&(w.group=C),S.push(w))}r.add(S);for(var L=0;L<b.length;L++){var I=b[L],O=I.ele,P=I.json;O.json(P)}};if(Me(e.elements))o(e.elements);else for(var l=["nodes","edges"],u=0;u<l.length;u++){var f=l[u],h=e.elements[f];Me(h)&&o(h,f)}var c=r.collection();n.filter(function(m){return!s[m.id()]}).forEach(function(m){m.isParent()?c.merge(m):m.remove()}),c.forEach(function(m){return m.children().move({parent:null})}),c.forEach(function(m){return i(m).remove()})}e.style&&r.style(e.style),e.zoom!=null&&e.zoom!==a.zoom&&r.zoom(e.zoom),e.pan&&(e.pan.x!==a.pan.x||e.pan.y!==a.pan.y)&&r.pan(e.pan),e.data&&r.data(e.data);for(var v=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],d=0;d<v.length;d++){var g=v[d];e[g]!=null&&r[g](e[g])}return r.endBatch(),this}else{var p=!!e,y={};p?y.elements=this.elements().map(function(m){return m.json()}):(y.elements={},n.forEach(function(m){var T=m.group();y.elements[T]||(y.elements[T]=[]),y.elements[T].push(m.json())})),this._private.styleEnabled&&(y.style=r.style().json()),y.data=St(r.data());var E=a.options;return y.zoomingEnabled=a.zoomingEnabled,y.userZoomingEnabled=a.userZoomingEnabled,y.zoom=a.zoom,y.minZoom=a.minZoom,y.maxZoom=a.maxZoom,y.panningEnabled=a.panningEnabled,y.userPanningEnabled=a.userPanningEnabled,y.pan=St(a.pan),y.boxSelectionEnabled=a.boxSelectionEnabled,y.renderer=St(E.renderer),y.hideEdgesOnViewport=E.hideEdgesOnViewport,y.textureOnViewport=E.textureOnViewport,y.wheelSensitivity=E.wheelSensitivity,y.motionBlur=E.motionBlur,y.multiClickDebounceTime=E.multiClickDebounceTime,y}}});Qa.$id=Qa.getElementById;[$p,Yp,Jo,Hn,za,Wp,Yn,$a,Zp,sr,sa].forEach(function(t){de(Qa,t)});var Jp={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}},jp={maximal:!1,acyclic:!1},yr=function(e){return e.scratch("breadthfirst")},Ls=function(e,r){return e.scratch("breadthfirst",r)};function jo(t){this.options=de({},Jp,jp,t)}jo.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=a.nodes().filter(function(te){return!te.isParent()}),i=a,s=e.directed,o=e.acyclic||e.maximal||e.maximalAdjustments>0,l=ft(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),u;if(ht(e.roots))u=e.roots;else if(Me(e.roots)){for(var f=[],h=0;h<e.roots.length;h++){var c=e.roots[h],v=r.getElementById(c);f.push(v)}u=r.collection(f)}else if(ve(e.roots))u=r.$(e.roots);else if(s)u=n.roots();else{var d=a.components();u=r.collection();for(var g=function(re){var ue=d[re],le=ue.maxDegree(!1),se=ue.filter(function(fe){return fe.degree(!1)===le});u=u.add(se)},p=0;p<d.length;p++)g(p)}var y=[],E={},m=function(re,ue){y[ue]==null&&(y[ue]=[]);var le=y[ue].length;y[ue].push(re),Ls(re,{index:le,depth:ue})},T=function(re,ue){var le=yr(re),se=le.depth,fe=le.index;y[se][fe]=null,m(re,ue)};i.bfs({roots:u,directed:e.directed,visit:function(re,ue,le,se,fe){var xe=re[0],Ee=xe.id();m(xe,fe),E[Ee]=!0}});for(var C=[],S=0;S<n.length;S++){var b=n[S];E[b.id()]||C.push(b)}var x=function(re){for(var ue=y[re],le=0;le<ue.length;le++){var se=ue[le];if(se==null){ue.splice(le,1),le--;continue}Ls(se,{depth:re,index:le})}},w=function(){for(var re=0;re<y.length;re++)x(re)},D=function(re,ue){for(var le=yr(re),se=re.incomers().filter(function(N){return N.isNode()&&a.has(N)}),fe=-1,xe=re.id(),Ee=0;Ee<se.length;Ee++){var ge=se[Ee],we=yr(ge);fe=Math.max(fe,we.depth)}if(le.depth<=fe){if(!e.acyclic&&ue[xe])return null;var H=fe+1;return T(re,H),ue[xe]=H,!0}return!1};if(s&&o){var A=[],L={},I=function(re){return A.push(re)},O=function(){return A.shift()};for(n.forEach(function(te){return A.push(te)});A.length>0;){var P=O(),R=D(P,L);if(R)P.outgoers().filter(function(te){return te.isNode()&&a.has(te)}).forEach(I);else if(R===null){Ne("Detected double maximal shift for node `"+P.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}w();var M=0;if(e.avoidOverlap)for(var k=0;k<n.length;k++){var B=n[k],G=B.layoutDimensions(e),F=G.w,$=G.h;M=Math.max(M,F,$)}var U={},_=function(re){if(U[re.id()])return U[re.id()];for(var ue=yr(re).depth,le=re.neighborhood(),se=0,fe=0,xe=0;xe<le.length;xe++){var Ee=le[xe];if(!(Ee.isEdge()||Ee.isParent()||!n.has(Ee))){var ge=yr(Ee);if(ge!=null){var we=ge.index,H=ge.depth;if(!(we==null||H==null)){var N=y[H].length;H<ue&&(se+=we/N,fe++)}}}}return fe=Math.max(1,fe),se=se/fe,fe===0&&(se=0),U[re.id()]=se,se},Y=function(re,ue){var le=_(re),se=_(ue),fe=le-se;return fe===0?oo(re.id(),ue.id()):fe};e.depthSort!==void 0&&(Y=e.depthSort);for(var W=0;W<y.length;W++)y[W].sort(Y),x(W);for(var z=[],K=0;K<C.length;K++)z.push(C[K]);y.unshift(z),w();for(var j=0,Q=0;Q<y.length;Q++)j=Math.max(y[Q].length,j);var ee={x:l.x1+l.w/2,y:l.x1+l.h/2},ne=y.reduce(function(te,re){return Math.max(te,re.length)},0),ce=function(re){var ue=yr(re),le=ue.depth,se=ue.index,fe=y[le].length,xe=Math.max(l.w/((e.grid?ne:fe)+1),M),Ee=Math.max(l.h/(y.length+1),M),ge=Math.min(l.w/2/y.length,l.h/2/y.length);if(ge=Math.max(ge,M),e.circle){var H=ge*le+ge-(y.length>0&&y[0].length<=3?ge/2:0),N=2*Math.PI/y[le].length*se;return le===0&&y[0].length===1&&(H=1),{x:ee.x+H*Math.cos(N),y:ee.y+H*Math.sin(N)}}else{var we={x:ee.x+(se+1-(fe+1)/2)*xe,y:(le+1)*Ee};return we}};return a.nodes().layoutPositions(this,e,ce),this};var ey={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function el(t){this.options=de({},ey,t)}el.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=e.counterclockwise!==void 0?!e.counterclockwise:e.clockwise,i=a.nodes().not(":parent");e.sort&&(i=i.sort(e.sort));for(var s=ft(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),o={x:s.x1+s.w/2,y:s.y1+s.h/2},l=e.sweep===void 0?2*Math.PI-2*Math.PI/i.length:e.sweep,u=l/Math.max(1,i.length-1),f,h=0,c=0;c<i.length;c++){var v=i[c],d=v.layoutDimensions(e),g=d.w,p=d.h;h=Math.max(h,g,p)}if(ae(e.radius)?f=e.radius:i.length<=1?f=0:f=Math.min(s.h,s.w)/2-h,i.length>1&&e.avoidOverlap){h*=1.75;var y=Math.cos(u)-Math.cos(0),E=Math.sin(u)-Math.sin(0),m=Math.sqrt(h*h/(y*y+E*E));f=Math.max(m,f)}var T=function(S,b){var x=e.startAngle+b*u*(n?1:-1),w=f*Math.cos(x),D=f*Math.sin(x),A={x:o.x+w,y:o.y+D};return A};return a.nodes().layoutPositions(this,e,T),this};var ty={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function tl(t){this.options=de({},ty,t)}tl.prototype.run=function(){for(var t=this.options,e=t,r=e.counterclockwise!==void 0?!e.counterclockwise:e.clockwise,a=t.cy,n=e.eles,i=n.nodes().not(":parent"),s=ft(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:a.width(),h:a.height()}),o={x:s.x1+s.w/2,y:s.y1+s.h/2},l=[],u=0,f=0;f<i.length;f++){var h=i[f],c=void 0;c=e.concentric(h),l.push({value:c,node:h}),h._private.scratch.concentric=c}i.updateStyle();for(var v=0;v<i.length;v++){var d=i[v],g=d.layoutDimensions(e);u=Math.max(u,g.w,g.h)}l.sort(function(te,re){return re.value-te.value});for(var p=e.levelWidth(i),y=[[]],E=y[0],m=0;m<l.length;m++){var T=l[m];if(E.length>0){var C=Math.abs(E[0].value-T.value);C>=p&&(E=[],y.push(E))}E.push(T)}var S=u+e.minNodeSpacing;if(!e.avoidOverlap){var b=y.length>0&&y[0].length>1,x=Math.min(s.w,s.h)/2-S,w=x/(y.length+b?1:0);S=Math.min(S,w)}for(var D=0,A=0;A<y.length;A++){var L=y[A],I=e.sweep===void 0?2*Math.PI-2*Math.PI/L.length:e.sweep,O=L.dTheta=I/Math.max(1,L.length-1);if(L.length>1&&e.avoidOverlap){var P=Math.cos(O)-Math.cos(0),R=Math.sin(O)-Math.sin(0),M=Math.sqrt(S*S/(P*P+R*R));D=Math.max(M,D)}L.r=D,D+=S}if(e.equidistant){for(var k=0,B=0,G=0;G<y.length;G++){var F=y[G],$=F.r-B;k=Math.max(k,$)}B=0;for(var U=0;U<y.length;U++){var _=y[U];U===0&&(B=_.r),_.r=B,B+=k}}for(var Y={},W=0;W<y.length;W++)for(var z=y[W],K=z.dTheta,j=z.r,Q=0;Q<z.length;Q++){var ee=z[Q],ne=e.startAngle+(r?1:-1)*K*Q,ce={x:o.x+j*Math.cos(ne),y:o.y+j*Math.sin(ne)};Y[ee.node.id()]=ce}return n.nodes().layoutPositions(this,e,function(te){var re=te.id();return Y[re]}),this};var Mn,ry={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(e,r){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(e){return 2048},nodeOverlap:4,idealEdgeLength:function(e){return 32},edgeElasticity:function(e){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function mn(t){this.options=de({},ry,t),this.options.layout=this;var e=this.options.eles.nodes(),r=this.options.eles.edges(),a=r.filter(function(n){var i=n.source().data("id"),s=n.target().data("id"),o=e.some(function(u){return u.data("id")===i}),l=e.some(function(u){return u.data("id")===s});return!o||!l});this.options.eles=this.options.eles.not(a)}mn.prototype.run=function(){var t=this.options,e=t.cy,r=this;r.stopped=!1,(t.animate===!0||t.animate===!1)&&r.emit({type:"layoutstart",layout:r}),t.debug===!0?Mn=!0:Mn=!1;var a=ay(e,r,t);Mn&&sy(a),t.randomize&&oy(a);var n=Mt(),i=function(){ly(a,e,t),t.fit===!0&&e.fit(t.padding)},s=function(c){return!(r.stopped||c>=t.numIter||(uy(a,t),a.temperature=a.temperature*t.coolingFactor,a.temperature<t.minTemp))},o=function(){if(t.animate===!0||t.animate===!1)i(),r.one("layoutstop",t.stop),r.emit({type:"layoutstop",layout:r});else{var c=t.eles.nodes(),v=rl(a,t,c);c.layoutPositions(r,t,v)}},l=0,u=!0;if(t.animate===!0){var f=function h(){for(var c=0;u&&c<t.refresh;)u=s(l),l++,c++;if(!u)Os(a,t),o();else{var v=Mt();v-n>=t.animationThreshold&&i(),Ya(h)}};f()}else{for(;u;)u=s(l),l++;Os(a,t),o()}return this};mn.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this};mn.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ay=function(e,r,a){for(var n=a.eles.edges(),i=a.eles.nodes(),s=ft(a.boundingBox?a.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:n.size(),temperature:a.initialTemp,clientWidth:s.w,clientHeight:s.h,boundingBox:s},l=a.eles.components(),u={},f=0;f<l.length;f++)for(var h=l[f],c=0;c<h.length;c++){var v=h[c];u[v.id()]=f}for(var f=0;f<o.nodeSize;f++){var d=i[f],g=d.layoutDimensions(a),p={};p.isLocked=d.locked(),p.id=d.data("id"),p.parentId=d.data("parent"),p.cmptId=u[d.id()],p.children=[],p.positionX=d.position("x"),p.positionY=d.position("y"),p.offsetX=0,p.offsetY=0,p.height=g.w,p.width=g.h,p.maxX=p.positionX+p.width/2,p.minX=p.positionX-p.width/2,p.maxY=p.positionY+p.height/2,p.minY=p.positionY-p.height/2,p.padLeft=parseFloat(d.style("padding")),p.padRight=parseFloat(d.style("padding")),p.padTop=parseFloat(d.style("padding")),p.padBottom=parseFloat(d.style("padding")),p.nodeRepulsion=Be(a.nodeRepulsion)?a.nodeRepulsion(d):a.nodeRepulsion,o.layoutNodes.push(p),o.idToIndex[p.id]=f}for(var y=[],E=0,m=-1,T=[],f=0;f<o.nodeSize;f++){var d=o.layoutNodes[f],C=d.parentId;C!=null?o.layoutNodes[o.idToIndex[C]].children.push(d.id):(y[++m]=d.id,T.push(d.id))}for(o.graphSet.push(T);E<=m;){var S=y[E++],b=o.idToIndex[S],v=o.layoutNodes[b],x=v.children;if(x.length>0){o.graphSet.push(x);for(var f=0;f<x.length;f++)y[++m]=x[f]}}for(var f=0;f<o.graphSet.length;f++)for(var w=o.graphSet[f],c=0;c<w.length;c++){var D=o.idToIndex[w[c]];o.indexToGraph[D]=f}for(var f=0;f<o.edgeSize;f++){var A=n[f],L={};L.id=A.data("id"),L.sourceId=A.data("source"),L.targetId=A.data("target");var I=Be(a.idealEdgeLength)?a.idealEdgeLength(A):a.idealEdgeLength,O=Be(a.edgeElasticity)?a.edgeElasticity(A):a.edgeElasticity,P=o.idToIndex[L.sourceId],R=o.idToIndex[L.targetId],M=o.indexToGraph[P],k=o.indexToGraph[R];if(M!=k){for(var B=ny(L.sourceId,L.targetId,o),G=o.graphSet[B],F=0,p=o.layoutNodes[P];G.indexOf(p.id)===-1;)p=o.layoutNodes[o.idToIndex[p.parentId]],F++;for(p=o.layoutNodes[R];G.indexOf(p.id)===-1;)p=o.layoutNodes[o.idToIndex[p.parentId]],F++;I*=F*a.nestingFactor}L.idealLength=I,L.elasticity=O,o.layoutEdges.push(L)}return o},ny=function(e,r,a){var n=iy(e,r,0,a);return 2>n.count?0:n.graph},iy=function t(e,r,a,n){var i=n.graphSet[a];if(-1<i.indexOf(e)&&-1<i.indexOf(r))return{count:2,graph:a};for(var s=0,o=0;o<i.length;o++){var l=i[o],u=n.idToIndex[l],f=n.layoutNodes[u].children;if(f.length!==0){var h=n.indexToGraph[n.idToIndex[f[0]]],c=t(e,r,h,n);if(c.count!==0)if(c.count===1){if(s++,s===2)break}else return c}}return{count:s,graph:a}},sy,oy=function(e,r){for(var a=e.clientWidth,n=e.clientHeight,i=0;i<e.nodeSize;i++){var s=e.layoutNodes[i];s.children.length===0&&!s.isLocked&&(s.positionX=Math.random()*a,s.positionY=Math.random()*n)}},rl=function(e,r,a){var n=e.boundingBox,i={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return r.boundingBox&&(a.forEach(function(s){var o=e.layoutNodes[e.idToIndex[s.data("id")]];i.x1=Math.min(i.x1,o.positionX),i.x2=Math.max(i.x2,o.positionX),i.y1=Math.min(i.y1,o.positionY),i.y2=Math.max(i.y2,o.positionY)}),i.w=i.x2-i.x1,i.h=i.y2-i.y1),function(s,o){var l=e.layoutNodes[e.idToIndex[s.data("id")]];if(r.boundingBox){var u=(l.positionX-i.x1)/i.w,f=(l.positionY-i.y1)/i.h;return{x:n.x1+u*n.w,y:n.y1+f*n.h}}else return{x:l.positionX,y:l.positionY}}},ly=function(e,r,a){var n=a.layout,i=a.eles.nodes(),s=rl(e,a,i);i.positions(s),e.ready!==!0&&(e.ready=!0,n.one("layoutready",a.ready),n.emit({type:"layoutready",layout:this}))},uy=function(e,r,a){fy(e,r),cy(e),dy(e,r),gy(e),py(e)},fy=function(e,r){for(var a=0;a<e.graphSet.length;a++)for(var n=e.graphSet[a],i=n.length,s=0;s<i;s++)for(var o=e.layoutNodes[e.idToIndex[n[s]]],l=s+1;l<i;l++){var u=e.layoutNodes[e.idToIndex[n[l]]];hy(o,u,e,r)}},As=function(e){return-e+2*e*Math.random()},hy=function(e,r,a,n){var i=e.cmptId,s=r.cmptId;if(!(i!==s&&!a.isCompound)){var o=r.positionX-e.positionX,l=r.positionY-e.positionY,u=1;o===0&&l===0&&(o=As(u),l=As(u));var f=vy(e,r,o,l);if(f>0)var h=n.nodeOverlap*f,c=Math.sqrt(o*o+l*l),v=h*o/c,d=h*l/c;else var g=Ja(e,o,l),p=Ja(r,-1*o,-1*l),y=p.x-g.x,E=p.y-g.y,m=y*y+E*E,c=Math.sqrt(m),h=(e.nodeRepulsion+r.nodeRepulsion)/m,v=h*y/c,d=h*E/c;e.isLocked||(e.offsetX-=v,e.offsetY-=d),r.isLocked||(r.offsetX+=v,r.offsetY+=d)}},vy=function(e,r,a,n){if(a>0)var i=e.maxX-r.minX;else var i=r.maxX-e.minX;if(n>0)var s=e.maxY-r.minY;else var s=r.maxY-e.minY;return i>=0&&s>=0?Math.sqrt(i*i+s*s):0},Ja=function(e,r,a){var n=e.positionX,i=e.positionY,s=e.height||1,o=e.width||1,l=a/r,u=s/o,f={};return r===0&&0<a||r===0&&0>a?(f.x=n,f.y=i+s/2,f):0<r&&-1*u<=l&&l<=u?(f.x=n+o/2,f.y=i+o*a/2/r,f):0>r&&-1*u<=l&&l<=u?(f.x=n-o/2,f.y=i-o*a/2/r,f):0<a&&(l<=-1*u||l>=u)?(f.x=n+s*r/2/a,f.y=i+s/2,f):(0>a&&(l<=-1*u||l>=u)&&(f.x=n-s*r/2/a,f.y=i-s/2),f)},cy=function(e,r){for(var a=0;a<e.edgeSize;a++){var n=e.layoutEdges[a],i=e.idToIndex[n.sourceId],s=e.layoutNodes[i],o=e.idToIndex[n.targetId],l=e.layoutNodes[o],u=l.positionX-s.positionX,f=l.positionY-s.positionY;if(!(u===0&&f===0)){var h=Ja(s,u,f),c=Ja(l,-1*u,-1*f),v=c.x-h.x,d=c.y-h.y,g=Math.sqrt(v*v+d*d),p=Math.pow(n.idealLength-g,2)/n.elasticity;if(g!==0)var y=p*v/g,E=p*d/g;else var y=0,E=0;s.isLocked||(s.offsetX+=y,s.offsetY+=E),l.isLocked||(l.offsetX-=y,l.offsetY-=E)}}},dy=function(e,r){if(r.gravity!==0)for(var a=1,n=0;n<e.graphSet.length;n++){var i=e.graphSet[n],s=i.length;if(n===0)var o=e.clientHeight/2,l=e.clientWidth/2;else var u=e.layoutNodes[e.idToIndex[i[0]]],f=e.layoutNodes[e.idToIndex[u.parentId]],o=f.positionX,l=f.positionY;for(var h=0;h<s;h++){var c=e.layoutNodes[e.idToIndex[i[h]]];if(!c.isLocked){var v=o-c.positionX,d=l-c.positionY,g=Math.sqrt(v*v+d*d);if(g>a){var p=r.gravity*v/g,y=r.gravity*d/g;c.offsetX+=p,c.offsetY+=y}}}}},gy=function(e,r){var a=[],n=0,i=-1;for(a.push.apply(a,e.graphSet[0]),i+=e.graphSet[0].length;n<=i;){var s=a[n++],o=e.idToIndex[s],l=e.layoutNodes[o],u=l.children;if(0<u.length&&!l.isLocked){for(var f=l.offsetX,h=l.offsetY,c=0;c<u.length;c++){var v=e.layoutNodes[e.idToIndex[u[c]]];v.offsetX+=f,v.offsetY+=h,a[++i]=u[c]}l.offsetX=0,l.offsetY=0}}},py=function(e,r){for(var a=0;a<e.nodeSize;a++){var n=e.layoutNodes[a];0<n.children.length&&(n.maxX=void 0,n.minX=void 0,n.maxY=void 0,n.minY=void 0)}for(var a=0;a<e.nodeSize;a++){var n=e.layoutNodes[a];if(!(0<n.children.length||n.isLocked)){var i=yy(n.offsetX,n.offsetY,e.temperature);n.positionX+=i.x,n.positionY+=i.y,n.offsetX=0,n.offsetY=0,n.minX=n.positionX-n.width,n.maxX=n.positionX+n.width,n.minY=n.positionY-n.height,n.maxY=n.positionY+n.height,my(n,e)}}for(var a=0;a<e.nodeSize;a++){var n=e.layoutNodes[a];0<n.children.length&&!n.isLocked&&(n.positionX=(n.maxX+n.minX)/2,n.positionY=(n.maxY+n.minY)/2,n.width=n.maxX-n.minX,n.height=n.maxY-n.minY)}},yy=function(e,r,a){var n=Math.sqrt(e*e+r*r);if(n>a)var i={x:a*e/n,y:a*r/n};else var i={x:e,y:r};return i},my=function t(e,r){var a=e.parentId;if(a!=null){var n=r.layoutNodes[r.idToIndex[a]],i=!1;if((n.maxX==null||e.maxX+n.padRight>n.maxX)&&(n.maxX=e.maxX+n.padRight,i=!0),(n.minX==null||e.minX-n.padLeft<n.minX)&&(n.minX=e.minX-n.padLeft,i=!0),(n.maxY==null||e.maxY+n.padBottom>n.maxY)&&(n.maxY=e.maxY+n.padBottom,i=!0),(n.minY==null||e.minY-n.padTop<n.minY)&&(n.minY=e.minY-n.padTop,i=!0),i)return t(n,r)}},Os=function(e,r){for(var a=e.layoutNodes,n=[],i=0;i<a.length;i++){var s=a[i],o=s.cmptId,l=n[o]=n[o]||[];l.push(s)}for(var u=0,i=0;i<n.length;i++){var f=n[i];if(f){f.x1=1/0,f.x2=-1/0,f.y1=1/0,f.y2=-1/0;for(var h=0;h<f.length;h++){var c=f[h];f.x1=Math.min(f.x1,c.positionX-c.width/2),f.x2=Math.max(f.x2,c.positionX+c.width/2),f.y1=Math.min(f.y1,c.positionY-c.height/2),f.y2=Math.max(f.y2,c.positionY+c.height/2)}f.w=f.x2-f.x1,f.h=f.y2-f.y1,u+=f.w*f.h}}n.sort(function(E,m){return m.w*m.h-E.w*E.h});for(var v=0,d=0,g=0,p=0,y=Math.sqrt(u)*e.clientWidth/e.clientHeight,i=0;i<n.length;i++){var f=n[i];if(f){for(var h=0;h<f.length;h++){var c=f[h];c.isLocked||(c.positionX+=v-f.x1,c.positionY+=d-f.y1)}v+=f.w+r.componentSpacing,g+=f.w+r.componentSpacing,p=Math.max(p,f.h),g>y&&(d+=p+r.componentSpacing,v=0,g=0,p=0)}}},by={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function al(t){this.options=de({},by,t)}al.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=a.nodes().not(":parent");e.sort&&(n=n.sort(e.sort));var i=ft(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(i.h===0||i.w===0)a.nodes().layoutPositions(this,e,function(U){return{x:i.x1,y:i.y1}});else{var s=n.size(),o=Math.sqrt(s*i.h/i.w),l=Math.round(o),u=Math.round(i.w/i.h*o),f=function(_){if(_==null)return Math.min(l,u);var Y=Math.min(l,u);Y==l?l=_:u=_},h=function(_){if(_==null)return Math.max(l,u);var Y=Math.max(l,u);Y==l?l=_:u=_},c=e.rows,v=e.cols!=null?e.cols:e.columns;if(c!=null&&v!=null)l=c,u=v;else if(c!=null&&v==null)l=c,u=Math.ceil(s/l);else if(c==null&&v!=null)u=v,l=Math.ceil(s/u);else if(u*l>s){var d=f(),g=h();(d-1)*g>=s?f(d-1):(g-1)*d>=s&&h(g-1)}else for(;u*l<s;){var p=f(),y=h();(y+1)*p>=s?h(y+1):f(p+1)}var E=i.w/u,m=i.h/l;if(e.condense&&(E=0,m=0),e.avoidOverlap)for(var T=0;T<n.length;T++){var C=n[T],S=C._private.position;(S.x==null||S.y==null)&&(S.x=0,S.y=0);var b=C.layoutDimensions(e),x=e.avoidOverlapPadding,w=b.w+x,D=b.h+x;E=Math.max(E,w),m=Math.max(m,D)}for(var A={},L=function(_,Y){return!!A["c-"+_+"-"+Y]},I=function(_,Y){A["c-"+_+"-"+Y]=!0},O=0,P=0,R=function(){P++,P>=u&&(P=0,O++)},M={},k=0;k<n.length;k++){var B=n[k],G=e.position(B);if(G&&(G.row!==void 0||G.col!==void 0)){var F={row:G.row,col:G.col};if(F.col===void 0)for(F.col=0;L(F.row,F.col);)F.col++;else if(F.row===void 0)for(F.row=0;L(F.row,F.col);)F.row++;M[B.id()]=F,I(F.row,F.col)}}var $=function(_,Y){var W,z;if(_.locked()||_.isParent())return!1;var K=M[_.id()];if(K)W=K.col*E+E/2+i.x1,z=K.row*m+m/2+i.y1;else{for(;L(O,P);)R();W=P*E+E/2+i.x1,z=O*m+m/2+i.y1,I(O,P),R()}return{x:W,y:z}};n.layoutPositions(this,e,$)}return this};var Ey={ready:function(){},stop:function(){}};function mi(t){this.options=de({},Ey,t)}mi.prototype.run=function(){var t=this.options,e=t.eles,r=this;return t.cy,r.emit("layoutstart"),e.nodes().positions(function(){return{x:0,y:0}}),r.one("layoutready",t.ready),r.emit("layoutready"),r.one("layoutstop",t.stop),r.emit("layoutstop"),this};mi.prototype.stop=function(){return this};var wy={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,spacingFactor:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function nl(t){this.options=de({},wy,t)}nl.prototype.run=function(){var t=this.options,e=t.eles,r=e.nodes(),a=Be(t.positions);function n(i){if(t.positions==null)return Md(i.position());if(a)return t.positions(i);var s=t.positions[i._private.data.id];return s??null}return r.layoutPositions(this,t,function(i,s){var o=n(i);return i.locked()||o==null?!1:o}),this};var xy={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function il(t){this.options=de({},xy,t)}il.prototype.run=function(){var t=this.options,e=t.cy,r=t.eles,a=ft(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),n=function(s,o){return{x:a.x1+Math.round(Math.random()*a.w),y:a.y1+Math.round(Math.random()*a.h)}};return r.nodes().layoutPositions(this,t,n),this};var Ty=[{name:"breadthfirst",impl:jo},{name:"circle",impl:el},{name:"concentric",impl:tl},{name:"cose",impl:mn},{name:"grid",impl:al},{name:"null",impl:mi},{name:"preset",impl:nl},{name:"random",impl:il}];function sl(t){this.options=t,this.notifications=0}var Ns=function(){},Is=function(){throw new Error("A headless instance can not render images")};sl.prototype={recalculateRenderedStyle:Ns,notify:function(){this.notifications++},init:Ns,isHeadless:function(){return!0},png:Is,jpg:Is};var bi={};bi.arrowShapeWidth=.3;bi.registerArrowShapes=function(){var t=this.arrowShapes={},e=this,r=function(u,f,h,c,v,d,g){var p=v.x-h/2-g,y=v.x+h/2+g,E=v.y-h/2-g,m=v.y+h/2+g,T=p<=u&&u<=y&&E<=f&&f<=m;return T},a=function(u,f,h,c,v){var d=u*Math.cos(c)-f*Math.sin(c),g=u*Math.sin(c)+f*Math.cos(c),p=d*h,y=g*h,E=p+v.x,m=y+v.y;return{x:E,y:m}},n=function(u,f,h,c){for(var v=[],d=0;d<u.length;d+=2){var g=u[d],p=u[d+1];v.push(a(g,p,f,h,c))}return v},i=function(u){for(var f=[],h=0;h<u.length;h++){var c=u[h];f.push(c.x,c.y)}return f},s=function(u){return u.pstyle("width").pfValue*u.pstyle("arrow-scale").pfValue*2},o=function(u,f){ve(f)&&(f=t[f]),t[u]=de({name:u,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(c,v,d,g,p,y){var E=i(n(this.points,d+2*y,g,p)),m=ut(c,v,E);return m},roughCollide:r,draw:function(c,v,d,g){var p=n(this.points,v,d,g);e.arrowShapeImpl("polygon")(c,p)},spacing:function(c){return 0},gap:s},f)};o("none",{collide:Xa,roughCollide:Xa,draw:oi,spacing:Xi,gap:Xi}),o("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),o("arrow","triangle"),o("triangle-backcurve",{points:t.triangle.points,controlPoint:[0,-.15],roughCollide:r,draw:function(u,f,h,c,v){var d=n(this.points,f,h,c),g=this.controlPoint,p=a(g[0],g[1],f,h,c);e.arrowShapeImpl(this.name)(u,d,p)},gap:function(u){return s(u)*.8}}),o("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(u,f,h,c,v,d,g){var p=i(n(this.points,h+2*g,c,v)),y=i(n(this.pointsTee,h+2*g,c,v)),E=ut(u,f,p)||ut(u,f,y);return E},draw:function(u,f,h,c,v){var d=n(this.points,f,h,c),g=n(this.pointsTee,f,h,c);e.arrowShapeImpl(this.name)(u,d,g)}}),o("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(u,f,h,c,v,d,g){var p=v,y=Math.pow(p.x-u,2)+Math.pow(p.y-f,2)<=Math.pow((h+2*g)*this.radius,2),E=i(n(this.points,h+2*g,c,v));return ut(u,f,E)||y},draw:function(u,f,h,c,v){var d=n(this.pointsTr,f,h,c);e.arrowShapeImpl(this.name)(u,d,c.x,c.y,this.radius*f)},spacing:function(u){return e.getArrowWidth(u.pstyle("width").pfValue,u.pstyle("arrow-scale").value)*this.radius}}),o("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(u,f){var h=this.baseCrossLinePts.slice(),c=f/u,v=3,d=5;return h[v]=h[v]-c,h[d]=h[d]-c,h},collide:function(u,f,h,c,v,d,g){var p=i(n(this.points,h+2*g,c,v)),y=i(n(this.crossLinePts(h,d),h+2*g,c,v)),E=ut(u,f,p)||ut(u,f,y);return E},draw:function(u,f,h,c,v){var d=n(this.points,f,h,c),g=n(this.crossLinePts(f,v),f,h,c);e.arrowShapeImpl(this.name)(u,d,g)}}),o("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(u){return s(u)*.525}}),o("circle",{radius:.15,collide:function(u,f,h,c,v,d,g){var p=v,y=Math.pow(p.x-u,2)+Math.pow(p.y-f,2)<=Math.pow((h+2*g)*this.radius,2);return y},draw:function(u,f,h,c,v){e.arrowShapeImpl(this.name)(u,c.x,c.y,this.radius*f)},spacing:function(u){return e.getArrowWidth(u.pstyle("width").pfValue,u.pstyle("arrow-scale").value)*this.radius}}),o("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(u){return 1},gap:function(u){return 1}}),o("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),o("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(u){return u.pstyle("width").pfValue*u.pstyle("arrow-scale").value}}),o("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(u){return .95*u.pstyle("width").pfValue*u.pstyle("arrow-scale").value}})};var fr={};fr.projectIntoViewport=function(t,e){var r=this.cy,a=this.findContainerClientCoords(),n=a[0],i=a[1],s=a[4],o=r.pan(),l=r.zoom(),u=((t-n)/s-o.x)/l,f=((e-i)/s-o.y)/l;return[u,f]};fr.findContainerClientCoords=function(){if(this.containerBB)return this.containerBB;var t=this.container,e=t.getBoundingClientRect(),r=this.cy.window().getComputedStyle(t),a=function(y){return parseFloat(r.getPropertyValue(y))},n={left:a("padding-left"),right:a("padding-right"),top:a("padding-top"),bottom:a("padding-bottom")},i={left:a("border-left-width"),right:a("border-right-width"),top:a("border-top-width"),bottom:a("border-bottom-width")},s=t.clientWidth,o=t.clientHeight,l=n.left+n.right,u=n.top+n.bottom,f=i.left+i.right,h=e.width/(s+f),c=s-l,v=o-u,d=e.left+n.left+i.left,g=e.top+n.top+i.top;return this.containerBB=[d,g,c,v,h]};fr.invalidateContainerClientCoordsCache=function(){this.containerBB=null};fr.findNearestElement=function(t,e,r,a){return this.findNearestElements(t,e,r,a)[0]};fr.findNearestElements=function(t,e,r,a){var n=this,i=this,s=i.getCachedZSortedEles(),o=[],l=i.cy.zoom(),u=i.cy.hasCompoundNodes(),f=(a?24:8)/l,h=(a?8:2)/l,c=(a?8:2)/l,v=1/0,d,g;r&&(s=s.interactive);function p(b,x){if(b.isNode()){if(g)return;g=b,o.push(b)}if(b.isEdge()&&(x==null||x<v))if(d){if(d.pstyle("z-compound-depth").value===b.pstyle("z-compound-depth").value&&d.pstyle("z-compound-depth").value===b.pstyle("z-compound-depth").value){for(var w=0;w<o.length;w++)if(o[w].isEdge()){o[w]=b,d=b,v=x??v;break}}}else o.push(b),d=b,v=x??v}function y(b){var x=b.outerWidth()+2*h,w=b.outerHeight()+2*h,D=x/2,A=w/2,L=b.position();if(L.x-D<=t&&t<=L.x+D&&L.y-A<=e&&e<=L.y+A){var I=i.nodeShapes[n.getNodeShape(b)];if(I.checkPoint(t,e,0,x,w,L.x,L.y))return p(b,0),!0}}function E(b){var x=b._private,w=x.rscratch,D=b.pstyle("width").pfValue,A=b.pstyle("arrow-scale").value,L=D/2+f,I=L*L,O=L*2,k=x.source,B=x.target,P;if(w.edgeType==="segments"||w.edgeType==="straight"||w.edgeType==="haystack"){for(var R=w.allpts,M=0;M+3<R.length;M+=2)if(Yd(t,e,R[M],R[M+1],R[M+2],R[M+3],O)&&I>(P=Zd(t,e,R[M],R[M+1],R[M+2],R[M+3])))return p(b,P),!0}else if(w.edgeType==="bezier"||w.edgeType==="multibezier"||w.edgeType==="self"||w.edgeType==="compound"){for(var R=w.allpts,M=0;M+5<w.allpts.length;M+=4)if(Xd(t,e,R[M],R[M+1],R[M+2],R[M+3],R[M+4],R[M+5],O)&&I>(P=Kd(t,e,R[M],R[M+1],R[M+2],R[M+3],R[M+4],R[M+5])))return p(b,P),!0}for(var k=k||x.source,B=B||x.target,G=n.getArrowWidth(D,A),F=[{name:"source",x:w.arrowStartX,y:w.arrowStartY,angle:w.srcArrowAngle},{name:"target",x:w.arrowEndX,y:w.arrowEndY,angle:w.tgtArrowAngle},{name:"mid-source",x:w.midX,y:w.midY,angle:w.midsrcArrowAngle},{name:"mid-target",x:w.midX,y:w.midY,angle:w.midtgtArrowAngle}],M=0;M<F.length;M++){var $=F[M],U=i.arrowShapes[b.pstyle($.name+"-arrow-shape").value],_=b.pstyle("width").pfValue;if(U.roughCollide(t,e,G,$.angle,{x:$.x,y:$.y},_,f)&&U.collide(t,e,G,$.angle,{x:$.x,y:$.y},_,f))return p(b),!0}u&&o.length>0&&(y(k),y(B))}function m(b,x,w){return xt(b,x,w)}function T(b,x){var w=b._private,D=c,A;x?A=x+"-":A="",b.boundingBox();var L=w.labelBounds[x||"main"],I=b.pstyle(A+"label").value,O=b.pstyle("text-events").strValue==="yes";if(!(!O||!I)){var P=m(w.rscratch,"labelX",x),R=m(w.rscratch,"labelY",x),M=m(w.rscratch,"labelAngle",x),k=b.pstyle(A+"text-margin-x").pfValue,B=b.pstyle(A+"text-margin-y").pfValue,G=L.x1-D-k,F=L.x2+D-k,$=L.y1-D-B,U=L.y2+D-B;if(M){var _=Math.cos(M),Y=Math.sin(M),W=function(ce,te){return ce=ce-P,te=te-R,{x:ce*_-te*Y+P,y:ce*Y+te*_+R}},z=W(G,$),K=W(G,U),j=W(F,$),Q=W(F,U),ee=[z.x+k,z.y+B,j.x+k,j.y+B,Q.x+k,Q.y+B,K.x+k,K.y+B];if(ut(t,e,ee))return p(b),!0}else if(Sr(L,t,e))return p(b),!0}}for(var C=s.length-1;C>=0;C--){var S=s[C];S.isNode()?y(S)||T(S):E(S)||T(S)||T(S,"source")||T(S,"target")}return o};fr.getAllInBox=function(t,e,r,a){var n=this.getCachedZSortedEles().interactive,i=[],s=Math.min(t,r),o=Math.max(t,r),l=Math.min(e,a),u=Math.max(e,a);t=s,r=o,e=l,a=u;for(var f=ft({x1:t,y1:e,x2:r,y2:a}),h=0;h<n.length;h++){var c=n[h];if(c.isNode()){var v=c,d=v.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});fi(f,d)&&!xo(d,f)&&i.push(v)}else{var g=c,p=g._private,y=p.rscratch;if(y.startX!=null&&y.startY!=null&&!Sr(f,y.startX,y.startY)||y.endX!=null&&y.endY!=null&&!Sr(f,y.endX,y.endY))continue;if(y.edgeType==="bezier"||y.edgeType==="multibezier"||y.edgeType==="self"||y.edgeType==="compound"||y.edgeType==="segments"||y.edgeType==="haystack"){for(var E=p.rstyle.bezierPts||p.rstyle.linePts||p.rstyle.haystackPts,m=!0,T=0;T<E.length;T++)if(!Hd(f,E[T])){m=!1;break}m&&i.push(g)}else(y.edgeType==="haystack"||y.edgeType==="straight")&&i.push(g)}}return i};var ja={};ja.calculateArrowAngles=function(t){var e=t._private.rscratch,r=e.edgeType==="haystack",a=e.edgeType==="bezier",n=e.edgeType==="multibezier",i=e.edgeType==="segments",s=e.edgeType==="compound",o=e.edgeType==="self",l,u,f,h,c,v,y,E;if(r?(f=e.haystackPts[0],h=e.haystackPts[1],c=e.haystackPts[2],v=e.haystackPts[3]):(f=e.arrowStartX,h=e.arrowStartY,c=e.arrowEndX,v=e.arrowEndY),y=e.midX,E=e.midY,i)l=f-e.segpts[0],u=h-e.segpts[1];else if(n||s||o||a){var d=e.allpts,g=Ye(d[0],d[2],d[4],.1),p=Ye(d[1],d[3],d[5],.1);l=f-g,u=h-p}else l=f-y,u=h-E;e.srcArrowAngle=Ca(l,u);var y=e.midX,E=e.midY;if(r&&(y=(f+c)/2,E=(h+v)/2),l=c-f,u=v-h,i){var d=e.allpts;if(d.length/2%2===0){var m=d.length/2,T=m-2;l=d[m]-d[T],u=d[m+1]-d[T+1]}else{var m=d.length/2-1,T=m-2,C=m+2;l=d[m]-d[T],u=d[m+1]-d[T+1]}}else if(n||s||o){var d=e.allpts,S=e.ctrlpts,b,x,w,D;if(S.length/2%2===0){var A=d.length/2-1,L=A+2,I=L+2;b=Ye(d[A],d[L],d[I],0),x=Ye(d[A+1],d[L+1],d[I+1],0),w=Ye(d[A],d[L],d[I],1e-4),D=Ye(d[A+1],d[L+1],d[I+1],1e-4)}else{var L=d.length/2-1,A=L-2,I=L+2;b=Ye(d[A],d[L],d[I],.4999),x=Ye(d[A+1],d[L+1],d[I+1],.4999),w=Ye(d[A],d[L],d[I],.5),D=Ye(d[A+1],d[L+1],d[I+1],.5)}l=w-b,u=D-x}if(e.midtgtArrowAngle=Ca(l,u),e.midDispX=l,e.midDispY=u,l*=-1,u*=-1,i){var d=e.allpts;if(d.length/2%2!==0){var m=d.length/2-1,C=m+2;l=-(d[C]-d[m]),u=-(d[C+1]-d[m+1])}}if(e.midsrcArrowAngle=Ca(l,u),i)l=c-e.segpts[e.segpts.length-2],u=v-e.segpts[e.segpts.length-1];else if(n||s||o||a){var d=e.allpts,O=d.length,g=Ye(d[O-6],d[O-4],d[O-2],.9),p=Ye(d[O-5],d[O-3],d[O-1],.9);l=c-g,u=v-p}else l=c-y,u=v-E;e.tgtArrowAngle=Ca(l,u)};ja.getArrowWidth=ja.getArrowHeight=function(t,e){var r=this.arrowWidthCache=this.arrowWidthCache||{},a=r[t+", "+e];return a||(a=Math.max(Math.pow(t*13.37,.9),29)*e,r[t+", "+e]=a,a)};var nt={};nt.findMidptPtsEtc=function(t,e){var r=e.posPts,a=e.intersectionPts,n=e.vectorNormInverse,i,s=t.pstyle("source-endpoint"),o=t.pstyle("target-endpoint"),l=s.units!=null&&o.units!=null,u=function(C,S,b,x){var w=x-S,D=b-C,A=Math.sqrt(D*D+w*w);return{x:-w/A,y:D/A}},f=t.pstyle("edge-distances").value;switch(f){case"node-position":i=r;break;case"intersection":i=a;break;case"endpoints":{if(l){var h=this.manualEndptToPx(t.source()[0],s),c=Et(h,2),v=c[0],d=c[1],g=this.manualEndptToPx(t.target()[0],o),p=Et(g,2),y=p[0],E=p[1],m={x1:v,y1:d,x2:y,y2:E};n=u(v,d,y,E),i=m}else Ne("Edge ".concat(t.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),i=a;break}}return{midptPts:i,vectorNormInverse:n}};nt.findHaystackPoints=function(t){for(var e=0;e<t.length;e++){var r=t[e],a=r._private,n=a.rscratch;if(!n.haystack){var i=Math.random()*2*Math.PI;n.source={x:Math.cos(i),y:Math.sin(i)},i=Math.random()*2*Math.PI,n.target={x:Math.cos(i),y:Math.sin(i)}}var s=a.source,o=a.target,l=s.position(),u=o.position(),f=s.width(),h=o.width(),c=s.height(),v=o.height(),d=r.pstyle("haystack-radius").value,g=d/2;n.haystackPts=n.allpts=[n.source.x*f*g+l.x,n.source.y*c*g+l.y,n.target.x*h*g+u.x,n.target.y*v*g+u.y],n.midX=(n.allpts[0]+n.allpts[2])/2,n.midY=(n.allpts[1]+n.allpts[3])/2,n.edgeType="haystack",n.haystack=!0,this.storeEdgeProjections(r),this.calculateArrowAngles(r),this.recalculateEdgeLabelProjections(r),this.calculateLabelAngles(r)}};nt.findSegmentsPoints=function(t,e){var r=t._private.rscratch,a=t.pstyle("segment-weights"),n=t.pstyle("segment-distances"),i=Math.min(a.pfValue.length,n.pfValue.length);r.edgeType="segments",r.segpts=[];for(var s=0;s<i;s++){var o=a.pfValue[s],l=n.pfValue[s],u=1-o,f=o,h=this.findMidptPtsEtc(t,e),c=h.midptPts,v=h.vectorNormInverse,d={x:c.x1*u+c.x2*f,y:c.y1*u+c.y2*f};r.segpts.push(d.x+v.x*l,d.y+v.y*l)}};nt.findLoopPoints=function(t,e,r,a){var n=t._private.rscratch,i=e.dirCounts,s=e.srcPos,o=t.pstyle("control-point-distances"),l=o?o.pfValue[0]:void 0,u=t.pstyle("loop-direction").pfValue,f=t.pstyle("loop-sweep").pfValue,h=t.pstyle("control-point-step-size").pfValue;n.edgeType="self";var c=r,v=h;a&&(c=0,v=l);var d=u-Math.PI/2,g=d-f/2,p=d+f/2,y=u+"_"+f;c=i[y]===void 0?i[y]=0:++i[y],n.ctrlpts=[s.x+Math.cos(g)*1.4*v*(c/3+1),s.y+Math.sin(g)*1.4*v*(c/3+1),s.x+Math.cos(p)*1.4*v*(c/3+1),s.y+Math.sin(p)*1.4*v*(c/3+1)]};nt.findCompoundLoopPoints=function(t,e,r,a){var n=t._private.rscratch;n.edgeType="compound";var i=e.srcPos,s=e.tgtPos,o=e.srcW,l=e.srcH,u=e.tgtW,f=e.tgtH,h=t.pstyle("control-point-step-size").pfValue,c=t.pstyle("control-point-distances"),v=c?c.pfValue[0]:void 0,d=r,g=h;a&&(d=0,g=v);var p=50,y={x:i.x-o/2,y:i.y-l/2},E={x:s.x-u/2,y:s.y-f/2},m={x:Math.min(y.x,E.x),y:Math.min(y.y,E.y)},T=.5,C=Math.max(T,Math.log(o*.01)),S=Math.max(T,Math.log(u*.01));n.ctrlpts=[m.x,m.y-(1+Math.pow(p,1.12)/100)*g*(d/3+1)*C,m.x-(1+Math.pow(p,1.12)/100)*g*(d/3+1)*S,m.y]};nt.findStraightEdgePoints=function(t){t._private.rscratch.edgeType="straight"};nt.findBezierPoints=function(t,e,r,a,n){var i=t._private.rscratch,s=t.pstyle("control-point-step-size").pfValue,o=t.pstyle("control-point-distances"),l=t.pstyle("control-point-weights"),u=o&&l?Math.min(o.value.length,l.value.length):1,f=o?o.pfValue[0]:void 0,h=l.value[0],c=a;i.edgeType=c?"multibezier":"bezier",i.ctrlpts=[];for(var v=0;v<u;v++){var d=(.5-e.eles.length/2+r)*s*(n?-1:1),g=void 0,p=Eo(d);c&&(f=o?o.pfValue[v]:s,h=l.value[v]),a?g=f:g=f!==void 0?p*f:void 0;var y=g!==void 0?g:d,E=1-h,m=h,T=this.findMidptPtsEtc(t,e),C=T.midptPts,S=T.vectorNormInverse,b={x:C.x1*E+C.x2*m,y:C.y1*E+C.y2*m};i.ctrlpts.push(b.x+S.x*y,b.y+S.y*y)}};nt.findTaxiPoints=function(t,e){var r=t._private.rscratch;r.edgeType="segments";var a="vertical",n="horizontal",i="leftward",s="rightward",o="downward",l="upward",u="auto",f=e.posPts,h=e.srcW,c=e.srcH,v=e.tgtW,d=e.tgtH,g=t.pstyle("edge-distances").value,p=g!=="node-position",y=t.pstyle("taxi-direction").value,E=y,m=t.pstyle("taxi-turn"),T=m.units==="%",C=m.pfValue,S=C<0,b=t.pstyle("taxi-turn-min-distance").pfValue,x=p?(h+v)/2:0,w=p?(c+d)/2:0,D=f.x2-f.x1,A=f.y2-f.y1,L=function(Z,oe){return Z>0?Math.max(Z-oe,0):Math.min(Z+oe,0)},I=L(D,x),O=L(A,w),P=!1;E===u?y=Math.abs(I)>Math.abs(O)?n:a:E===l||E===o?(y=a,P=!0):(E===i||E===s)&&(y=n,P=!0);var R=y===a,M=R?O:I,k=R?A:D,B=Eo(k),G=!1;!(P&&(T||S))&&(E===o&&k<0||E===l&&k>0||E===i&&k>0||E===s&&k<0)&&(B*=-1,M=B*Math.abs(M),G=!0);var F;if(T){var $=C<0?1+C:C;F=$*M}else{var U=C<0?M:0;F=U+C*B}var _=function(Z){return Math.abs(Z)<b||Math.abs(Z)>=Math.abs(M)},Y=_(F),W=_(Math.abs(M)-Math.abs(F)),z=Y||W;if(z&&!G)if(R){var K=Math.abs(k)<=c/2,j=Math.abs(D)<=v/2;if(K){var Q=(f.x1+f.x2)/2,ee=f.y1,ne=f.y2;r.segpts=[Q,ee,Q,ne]}else if(j){var ce=(f.y1+f.y2)/2,te=f.x1,re=f.x2;r.segpts=[te,ce,re,ce]}else r.segpts=[f.x1,f.y2]}else{var ue=Math.abs(k)<=h/2,le=Math.abs(A)<=d/2;if(ue){var se=(f.y1+f.y2)/2,fe=f.x1,xe=f.x2;r.segpts=[fe,se,xe,se]}else if(le){var Ee=(f.x1+f.x2)/2,ge=f.y1,we=f.y2;r.segpts=[Ee,ge,Ee,we]}else r.segpts=[f.x2,f.y1]}else if(R){var H=f.y1+F+(p?c/2*B:0),N=f.x1,V=f.x2;r.segpts=[N,H,V,H]}else{var J=f.x1+F+(p?h/2*B:0),X=f.y1,q=f.y2;r.segpts=[J,X,J,q]}};nt.tryToCorrectInvalidPoints=function(t,e){var r=t._private.rscratch;if(r.edgeType==="bezier"){var a=e.srcPos,n=e.tgtPos,i=e.srcW,s=e.srcH,o=e.tgtW,l=e.tgtH,u=e.srcShape,f=e.tgtShape,h=!ae(r.startX)||!ae(r.startY),c=!ae(r.arrowStartX)||!ae(r.arrowStartY),v=!ae(r.endX)||!ae(r.endY),d=!ae(r.arrowEndX)||!ae(r.arrowEndY),g=3,p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth,y=g*p,E=nr({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.startX,y:r.startY}),m=E<y,T=nr({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.endX,y:r.endY}),C=T<y,S=!1;if(h||c||m){S=!0;var b={x:r.ctrlpts[0]-a.x,y:r.ctrlpts[1]-a.y},x=Math.sqrt(b.x*b.x+b.y*b.y),w={x:b.x/x,y:b.y/x},D=Math.max(i,s),A={x:r.ctrlpts[0]+w.x*2*D,y:r.ctrlpts[1]+w.y*2*D},L=u.intersectLine(a.x,a.y,i,s,A.x,A.y,0);m?(r.ctrlpts[0]=r.ctrlpts[0]+w.x*(y-E),r.ctrlpts[1]=r.ctrlpts[1]+w.y*(y-E)):(r.ctrlpts[0]=L[0]+w.x*y,r.ctrlpts[1]=L[1]+w.y*y)}if(v||d||C){S=!0;var I={x:r.ctrlpts[0]-n.x,y:r.ctrlpts[1]-n.y},O=Math.sqrt(I.x*I.x+I.y*I.y),P={x:I.x/O,y:I.y/O},R=Math.max(i,s),M={x:r.ctrlpts[0]+P.x*2*R,y:r.ctrlpts[1]+P.y*2*R},k=f.intersectLine(n.x,n.y,o,l,M.x,M.y,0);C?(r.ctrlpts[0]=r.ctrlpts[0]+P.x*(y-T),r.ctrlpts[1]=r.ctrlpts[1]+P.y*(y-T)):(r.ctrlpts[0]=k[0]+P.x*y,r.ctrlpts[1]=k[1]+P.y*y)}S&&this.findEndpoints(t)}};nt.storeAllpts=function(t){var e=t._private.rscratch;if(e.edgeType==="multibezier"||e.edgeType==="bezier"||e.edgeType==="self"||e.edgeType==="compound"){e.allpts=[],e.allpts.push(e.startX,e.startY);for(var r=0;r+1<e.ctrlpts.length;r+=2)e.allpts.push(e.ctrlpts[r],e.ctrlpts[r+1]),r+3<e.ctrlpts.length&&e.allpts.push((e.ctrlpts[r]+e.ctrlpts[r+2])/2,(e.ctrlpts[r+1]+e.ctrlpts[r+3])/2);e.allpts.push(e.endX,e.endY);var a,n;e.ctrlpts.length/2%2===0?(a=e.allpts.length/2-1,e.midX=e.allpts[a],e.midY=e.allpts[a+1]):(a=e.allpts.length/2-3,n=.5,e.midX=Ye(e.allpts[a],e.allpts[a+2],e.allpts[a+4],n),e.midY=Ye(e.allpts[a+1],e.allpts[a+3],e.allpts[a+5],n))}else if(e.edgeType==="straight")e.allpts=[e.startX,e.startY,e.endX,e.endY],e.midX=(e.startX+e.endX+e.arrowStartX+e.arrowEndX)/4,e.midY=(e.startY+e.endY+e.arrowStartY+e.arrowEndY)/4;else if(e.edgeType==="segments")if(e.allpts=[],e.allpts.push(e.startX,e.startY),e.allpts.push.apply(e.allpts,e.segpts),e.allpts.push(e.endX,e.endY),e.segpts.length%4===0){var i=e.segpts.length/2,s=i-2;e.midX=(e.segpts[s]+e.segpts[i])/2,e.midY=(e.segpts[s+1]+e.segpts[i+1])/2}else{var o=e.segpts.length/2-1;e.midX=e.segpts[o],e.midY=e.segpts[o+1]}};nt.checkForInvalidEdgeWarning=function(t){var e=t[0]._private.rscratch;e.nodesOverlap||ae(e.startX)&&ae(e.startY)&&ae(e.endX)&&ae(e.endY)?e.loggedErr=!1:e.loggedErr||(e.loggedErr=!0,Ne("Edge `"+t.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))};nt.findEdgeControlPoints=function(t){var e=this;if(!(!t||t.length===0)){for(var r=this,a=r.cy,n=a.hasCompoundNodes(),i={map:new Lt,get:function(b){var x=this.map.get(b[0]);return x!=null?x.get(b[1]):null},set:function(b,x){var w=this.map.get(b[0]);w==null&&(w=new Lt,this.map.set(b[0],w)),w.set(b[1],x)}},s=[],o=[],l=0;l<t.length;l++){var u=t[l],f=u._private,h=u.pstyle("curve-style").value;if(!(u.removed()||!u.takesUpSpace())){if(h==="haystack"){o.push(u);continue}var c=h==="unbundled-bezier"||h==="segments"||h==="straight"||h==="straight-triangle"||h==="taxi",v=h==="unbundled-bezier"||h==="bezier",d=f.source,g=f.target,p=d.poolIndex(),y=g.poolIndex(),E=[p,y].sort(),m=i.get(E);m==null&&(m={eles:[]},i.set(E,m),s.push(E)),m.eles.push(u),c&&(m.hasUnbundled=!0),v&&(m.hasBezier=!0)}}for(var T=function(b){var x=s[b],w=i.get(x),D=void 0;if(!w.hasUnbundled){var A=w.eles[0].parallelEdges().filter(function(we){return we.isBundledBezier()});li(w.eles),A.forEach(function(we){return w.eles.push(we)}),w.eles.sort(function(we,H){return we.poolIndex()-H.poolIndex()})}var L=w.eles[0],I=L.source(),O=L.target();if(I.poolIndex()>O.poolIndex()){var P=I;I=O,O=P}var R=w.srcPos=I.position(),M=w.tgtPos=O.position(),k=w.srcW=I.outerWidth(),B=w.srcH=I.outerHeight(),G=w.tgtW=O.outerWidth(),F=w.tgtH=O.outerHeight(),$=w.srcShape=r.nodeShapes[e.getNodeShape(I)],U=w.tgtShape=r.nodeShapes[e.getNodeShape(O)];w.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var _=0;_<w.eles.length;_++){var Y=w.eles[_],W=Y[0]._private.rscratch,z=Y.pstyle("curve-style").value,K=z==="unbundled-bezier"||z==="segments"||z==="taxi",j=!I.same(Y.source());if(!w.calculatedIntersection&&I!==O&&(w.hasBezier||w.hasUnbundled)){w.calculatedIntersection=!0;var Q=$.intersectLine(R.x,R.y,k,B,M.x,M.y,0),ee=w.srcIntn=Q,ne=U.intersectLine(M.x,M.y,G,F,R.x,R.y,0),ce=w.tgtIntn=ne,te=w.intersectionPts={x1:Q[0],x2:ne[0],y1:Q[1],y2:ne[1]},re=w.posPts={x1:R.x,x2:M.x,y1:R.y,y2:M.y},ue=ne[1]-Q[1],le=ne[0]-Q[0],se=Math.sqrt(le*le+ue*ue),fe=w.vector={x:le,y:ue},xe=w.vectorNorm={x:fe.x/se,y:fe.y/se},Ee={x:-xe.y,y:xe.x};w.nodesOverlap=!ae(se)||U.checkPoint(Q[0],Q[1],0,G,F,M.x,M.y)||$.checkPoint(ne[0],ne[1],0,k,B,R.x,R.y),w.vectorNormInverse=Ee,D={nodesOverlap:w.nodesOverlap,dirCounts:w.dirCounts,calculatedIntersection:!0,hasBezier:w.hasBezier,hasUnbundled:w.hasUnbundled,eles:w.eles,srcPos:M,tgtPos:R,srcW:G,srcH:F,tgtW:k,tgtH:B,srcIntn:ce,tgtIntn:ee,srcShape:U,tgtShape:$,posPts:{x1:re.x2,y1:re.y2,x2:re.x1,y2:re.y1},intersectionPts:{x1:te.x2,y1:te.y2,x2:te.x1,y2:te.y1},vector:{x:-fe.x,y:-fe.y},vectorNorm:{x:-xe.x,y:-xe.y},vectorNormInverse:{x:-Ee.x,y:-Ee.y}}}var ge=j?D:w;W.nodesOverlap=ge.nodesOverlap,W.srcIntn=ge.srcIntn,W.tgtIntn=ge.tgtIntn,n&&(I.isParent()||I.isChild()||O.isParent()||O.isChild())&&(I.parents().anySame(O)||O.parents().anySame(I)||I.same(O)&&I.isParent())?e.findCompoundLoopPoints(Y,ge,_,K):I===O?e.findLoopPoints(Y,ge,_,K):z==="segments"?e.findSegmentsPoints(Y,ge):z==="taxi"?e.findTaxiPoints(Y,ge):z==="straight"||!K&&w.eles.length%2===1&&_===Math.floor(w.eles.length/2)?e.findStraightEdgePoints(Y):e.findBezierPoints(Y,ge,_,K,j),e.findEndpoints(Y),e.tryToCorrectInvalidPoints(Y,ge),e.checkForInvalidEdgeWarning(Y),e.storeAllpts(Y),e.storeEdgeProjections(Y),e.calculateArrowAngles(Y),e.recalculateEdgeLabelProjections(Y),e.calculateLabelAngles(Y)}},C=0;C<s.length;C++)T(C);this.findHaystackPoints(o)}};function ol(t){var e=[];if(t!=null){for(var r=0;r<t.length;r+=2){var a=t[r],n=t[r+1];e.push({x:a,y:n})}return e}}nt.getSegmentPoints=function(t){var e=t[0]._private.rscratch,r=e.edgeType;if(r==="segments")return this.recalculateRenderedStyle(t),ol(e.segpts)};nt.getControlPoints=function(t){var e=t[0]._private.rscratch,r=e.edgeType;if(r==="bezier"||r==="multibezier"||r==="self"||r==="compound")return this.recalculateRenderedStyle(t),ol(e.ctrlpts)};nt.getEdgeMidpoint=function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),{x:e.midX,y:e.midY}};var ya={};ya.manualEndptToPx=function(t,e){var r=this,a=t.position(),n=t.outerWidth(),i=t.outerHeight();if(e.value.length===2){var s=[e.pfValue[0],e.pfValue[1]];return e.units[0]==="%"&&(s[0]=s[0]*n),e.units[1]==="%"&&(s[1]=s[1]*i),s[0]+=a.x,s[1]+=a.y,s}else{var o=e.pfValue[0];o=-Math.PI/2+o;var l=2*Math.max(n,i),u=[a.x+Math.cos(o)*l,a.y+Math.sin(o)*l];return r.nodeShapes[this.getNodeShape(t)].intersectLine(a.x,a.y,n,i,u[0],u[1],0)}};ya.findEndpoints=function(t){var e=this,r,a=t.source()[0],n=t.target()[0],i=a.position(),s=n.position(),o=t.pstyle("target-arrow-shape").value,l=t.pstyle("source-arrow-shape").value,u=t.pstyle("target-distance-from-node").pfValue,f=t.pstyle("source-distance-from-node").pfValue,h=t.pstyle("curve-style").value,c=t._private.rscratch,v=c.edgeType,d=h==="taxi",g=v==="self"||v==="compound",p=v==="bezier"||v==="multibezier"||g,y=v!=="bezier",E=v==="straight"||v==="segments",m=v==="segments",T=p||y||E,C=g||d,S=t.pstyle("source-endpoint"),b=C?"outside-to-node":S.value,x=t.pstyle("target-endpoint"),w=C?"outside-to-node":x.value;c.srcManEndpt=S,c.tgtManEndpt=x;var D,A,L,I;if(p){var O=[c.ctrlpts[0],c.ctrlpts[1]],P=y?[c.ctrlpts[c.ctrlpts.length-2],c.ctrlpts[c.ctrlpts.length-1]]:O;D=P,A=O}else if(E){var R=m?c.segpts.slice(0,2):[s.x,s.y],M=m?c.segpts.slice(c.segpts.length-2):[i.x,i.y];D=M,A=R}if(w==="inside-to-node")r=[s.x,s.y];else if(x.units)r=this.manualEndptToPx(n,x);else if(w==="outside-to-line")r=c.tgtIntn;else if(w==="outside-to-node"||w==="outside-to-node-or-label"?L=D:(w==="outside-to-line"||w==="outside-to-line-or-label")&&(L=[i.x,i.y]),r=e.nodeShapes[this.getNodeShape(n)].intersectLine(s.x,s.y,n.outerWidth(),n.outerHeight(),L[0],L[1],0),w==="outside-to-node-or-label"||w==="outside-to-line-or-label"){var k=n._private.rscratch,B=k.labelWidth,G=k.labelHeight,F=k.labelX,$=k.labelY,U=B/2,_=G/2,Y=n.pstyle("text-valign").value;Y==="top"?$-=_:Y==="bottom"&&($+=_);var W=n.pstyle("text-halign").value;W==="left"?F-=U:W==="right"&&(F+=U);var z=aa(L[0],L[1],[F-U,$-_,F+U,$-_,F+U,$+_,F-U,$+_],s.x,s.y);if(z.length>0){var K=i,j=er(K,Er(r)),Q=er(K,Er(z)),ee=j;if(Q<j&&(r=z,ee=Q),z.length>2){var ne=er(K,{x:z[2],y:z[3]});ne<ee&&(r=[z[2],z[3]])}}}var ce=Da(r,D,e.arrowShapes[o].spacing(t)+u),te=Da(r,D,e.arrowShapes[o].gap(t)+u);if(c.endX=te[0],c.endY=te[1],c.arrowEndX=ce[0],c.arrowEndY=ce[1],b==="inside-to-node")r=[i.x,i.y];else if(S.units)r=this.manualEndptToPx(a,S);else if(b==="outside-to-line")r=c.srcIntn;else if(b==="outside-to-node"||b==="outside-to-node-or-label"?I=A:(b==="outside-to-line"||b==="outside-to-line-or-label")&&(I=[s.x,s.y]),r=e.nodeShapes[this.getNodeShape(a)].intersectLine(i.x,i.y,a.outerWidth(),a.outerHeight(),I[0],I[1],0),b==="outside-to-node-or-label"||b==="outside-to-line-or-label"){var re=a._private.rscratch,ue=re.labelWidth,le=re.labelHeight,se=re.labelX,fe=re.labelY,xe=ue/2,Ee=le/2,ge=a.pstyle("text-valign").value;ge==="top"?fe-=Ee:ge==="bottom"&&(fe+=Ee);var we=a.pstyle("text-halign").value;we==="left"?se-=xe:we==="right"&&(se+=xe);var H=aa(I[0],I[1],[se-xe,fe-Ee,se+xe,fe-Ee,se+xe,fe+Ee,se-xe,fe+Ee],i.x,i.y);if(H.length>0){var N=s,V=er(N,Er(r)),J=er(N,Er(H)),X=V;if(J<V&&(r=[H[0],H[1]],X=J),H.length>2){var q=er(N,{x:H[2],y:H[3]});q<X&&(r=[H[2],H[3]])}}}var he=Da(r,A,e.arrowShapes[l].spacing(t)+f),Z=Da(r,A,e.arrowShapes[l].gap(t)+f);c.startX=Z[0],c.startY=Z[1],c.arrowStartX=he[0],c.arrowStartY=he[1],T&&(!ae(c.startX)||!ae(c.startY)||!ae(c.endX)||!ae(c.endY)?c.badLine=!0:c.badLine=!1)};ya.getSourceEndpoint=function(t){var e=t[0]._private.rscratch;switch(this.recalculateRenderedStyle(t),e.edgeType){case"haystack":return{x:e.haystackPts[0],y:e.haystackPts[1]};default:return{x:e.arrowStartX,y:e.arrowStartY}}};ya.getTargetEndpoint=function(t){var e=t[0]._private.rscratch;switch(this.recalculateRenderedStyle(t),e.edgeType){case"haystack":return{x:e.haystackPts[2],y:e.haystackPts[3]};default:return{x:e.arrowEndX,y:e.arrowEndY}}};var Ei={};function Cy(t,e,r){for(var a=function(u,f,h,c){return Ye(u,f,h,c)},n=e._private,i=n.rstyle.bezierPts,s=0;s<t.bezierProjPcts.length;s++){var o=t.bezierProjPcts[s];i.push({x:a(r[0],r[2],r[4],o),y:a(r[1],r[3],r[5],o)})}}Ei.storeEdgeProjections=function(t){var e=t._private,r=e.rscratch,a=r.edgeType;if(e.rstyle.bezierPts=null,e.rstyle.linePts=null,e.rstyle.haystackPts=null,a==="multibezier"||a==="bezier"||a==="self"||a==="compound"){e.rstyle.bezierPts=[];for(var n=0;n+5<r.allpts.length;n+=4)Cy(this,t,r.allpts.slice(n,n+6))}else if(a==="segments")for(var i=e.rstyle.linePts=[],n=0;n+1<r.allpts.length;n+=2)i.push({x:r.allpts[n],y:r.allpts[n+1]});else if(a==="haystack"){var s=r.haystackPts;e.rstyle.haystackPts=[{x:s[0],y:s[1]},{x:s[2],y:s[3]}]}e.rstyle.arrowWidth=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth};Ei.recalculateEdgeProjections=function(t){this.findEdgeControlPoints(t)};var Ot={};Ot.recalculateNodeLabelProjection=function(t){var e=t.pstyle("label").strValue;if(!Yt(e)){var r,a,n=t._private,i=t.width(),s=t.height(),o=t.padding(),l=t.position(),u=t.pstyle("text-halign").strValue,f=t.pstyle("text-valign").strValue,h=n.rscratch,c=n.rstyle;switch(u){case"left":r=l.x-i/2-o;break;case"right":r=l.x+i/2+o;break;default:r=l.x}switch(f){case"top":a=l.y-s/2-o;break;case"bottom":a=l.y+s/2+o;break;default:a=l.y}h.labelX=r,h.labelY=a,c.labelX=r,c.labelY=a,this.calculateLabelAngles(t),this.applyLabelDimensions(t)}};var ll=function(e,r){var a=Math.atan(r/e);return e===0&&a<0&&(a=a*-1),a},ul=function(e,r){var a=r.x-e.x,n=r.y-e.y;return ll(a,n)},Dy=function(e,r,a,n){var i=ra(0,n-.001,1),s=ra(0,n+.001,1),o=xr(e,r,a,i),l=xr(e,r,a,s);return ul(o,l)};Ot.recalculateEdgeLabelProjections=function(t){var e,r=t._private,a=r.rscratch,n=this,i={mid:t.pstyle("label").strValue,source:t.pstyle("source-label").strValue,target:t.pstyle("target-label").strValue};if(i.mid||i.source||i.target){e={x:a.midX,y:a.midY};var s=function(h,c,v){$t(r.rscratch,h,c,v),$t(r.rstyle,h,c,v)};s("labelX",null,e.x),s("labelY",null,e.y);var o=ll(a.midDispX,a.midDispY);s("labelAutoAngle",null,o);var l=function f(){if(f.cache)return f.cache;for(var h=[],c=0;c+5<a.allpts.length;c+=4){var v={x:a.allpts[c],y:a.allpts[c+1]},d={x:a.allpts[c+2],y:a.allpts[c+3]},g={x:a.allpts[c+4],y:a.allpts[c+5]};h.push({p0:v,p1:d,p2:g,startDist:0,length:0,segments:[]})}var p=r.rstyle.bezierPts,y=n.bezierProjPcts.length;function E(b,x,w,D,A){var L=nr(x,w),I=b.segments[b.segments.length-1],O={p0:x,p1:w,t0:D,t1:A,startDist:I?I.startDist+I.length:0,length:L};b.segments.push(O),b.length+=L}for(var m=0;m<h.length;m++){var T=h[m],C=h[m-1];C&&(T.startDist=C.startDist+C.length),E(T,T.p0,p[m*y],0,n.bezierProjPcts[0]);for(var S=0;S<y-1;S++)E(T,p[m*y+S],p[m*y+S+1],n.bezierProjPcts[S],n.bezierProjPcts[S+1]);E(T,p[m*y+y-1],T.p2,n.bezierProjPcts[y-1],1)}return f.cache=h},u=function(h){var c,v=h==="source";if(i[h]){var d=t.pstyle(h+"-text-offset").pfValue;switch(a.edgeType){case"self":case"compound":case"bezier":case"multibezier":{for(var g=l(),p,y=0,E=0,m=0;m<g.length;m++){for(var T=g[v?m:g.length-1-m],C=0;C<T.segments.length;C++){var S=T.segments[v?C:T.segments.length-1-C],b=m===g.length-1&&C===T.segments.length-1;if(y=E,E+=S.length,E>=d||b){p={cp:T,segment:S};break}}if(p)break}var x=p.cp,w=p.segment,D=(d-y)/w.length,A=w.t1-w.t0,L=v?w.t0+A*D:w.t1-A*D;L=ra(0,L,1),e=xr(x.p0,x.p1,x.p2,L),c=Dy(x.p0,x.p1,x.p2,L);break}case"straight":case"segments":case"haystack":{for(var I=0,O,P,R,M,k=a.allpts.length,B=0;B+3<k&&(v?(R={x:a.allpts[B],y:a.allpts[B+1]},M={x:a.allpts[B+2],y:a.allpts[B+3]}):(R={x:a.allpts[k-2-B],y:a.allpts[k-1-B]},M={x:a.allpts[k-4-B],y:a.allpts[k-3-B]}),O=nr(R,M),P=I,I+=O,!(I>=d));B+=2);var G=d-P,F=G/O;F=ra(0,F,1),e=zd(R,M,F),c=ul(R,M);break}}s("labelX",h,e.x),s("labelY",h,e.y),s("labelAutoAngle",h,c)}};u("source"),u("target"),this.applyLabelDimensions(t)}};Ot.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))};Ot.applyPrefixedLabelDimensions=function(t,e){var r=t._private,a=this.getLabelText(t,e),n=this.calculateLabelDimensions(t,a),i=t.pstyle("line-height").pfValue,s=t.pstyle("text-wrap").strValue,o=xt(r.rscratch,"labelWrapCachedLines",e)||[],l=s!=="wrap"?1:Math.max(o.length,1),u=n.height/l,f=u*i,h=n.width,c=n.height+(l-1)*(i-1)*u;$t(r.rstyle,"labelWidth",e,h),$t(r.rscratch,"labelWidth",e,h),$t(r.rstyle,"labelHeight",e,c),$t(r.rscratch,"labelHeight",e,c),$t(r.rscratch,"labelLineHeight",e,f)};Ot.getLabelText=function(t,e){var r=t._private,a=e?e+"-":"",n=t.pstyle(a+"label").strValue,i=t.pstyle("text-transform").value,s=function(G,F){return F?($t(r.rscratch,G,e,F),F):xt(r.rscratch,G,e)};if(!n)return"";i=="none"||(i=="uppercase"?n=n.toUpperCase():i=="lowercase"&&(n=n.toLowerCase()));var o=t.pstyle("text-wrap").value;if(o==="wrap"){var l=s("labelKey");if(l!=null&&s("labelWrapKey")===l)return s("labelWrapCachedText");for(var u="​",f=n.split(` +`),h=t.pstyle("text-max-width").pfValue,c=t.pstyle("text-overflow-wrap").value,v=c==="anywhere",d=[],g=/[\s\u200b]+/,p=v?"":" ",y=0;y<f.length;y++){var E=f[y],m=this.calculateLabelDimensions(t,E),T=m.width;if(v){var C=E.split("").join(u);E=C}if(T>h){for(var S=E.split(g),b="",x=0;x<S.length;x++){var w=S[x],D=b.length===0?w:b+p+w,A=this.calculateLabelDimensions(t,D),L=A.width;L<=h?b+=w+p:(b&&d.push(b),b=w+p)}b.match(/^[\s\u200b]+$/)||d.push(b)}else d.push(E)}s("labelWrapCachedLines",d),n=s("labelWrapCachedText",d.join(` +`)),s("labelWrapKey",l)}else if(o==="ellipsis"){var I=t.pstyle("text-max-width").pfValue,O="",P="…",R=!1;if(this.calculateLabelDimensions(t,n).width<I)return n;for(var M=0;M<n.length;M++){var k=this.calculateLabelDimensions(t,O+n[M]+P).width;if(k>I)break;O+=n[M],M===n.length-1&&(R=!0)}return R||(O+=P),O}return n};Ot.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,r=t.pstyle("text-halign").strValue;if(e==="auto")if(t.isNode())switch(r){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return e};Ot.calculateLabelDimensions=function(t,e){var r=this,a=ar(e,t._private.labelDimsKey),n=r.labelDimCache||(r.labelDimCache=[]),i=n[a];if(i!=null)return i;var s=0,o=t.pstyle("font-style").strValue,l=t.pstyle("font-size").pfValue,u=t.pstyle("font-family").strValue,f=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=h.getContext("2d");var v=h.style;v.position="absolute",v.left="-9999px",v.top="-9999px",v.zIndex="-1",v.visibility="hidden",v.pointerEvents="none"}c.font="".concat(o," ").concat(f," ").concat(l,"px ").concat(u);for(var d=0,g=0,p=e.split(` +`),y=0;y<p.length;y++){var E=p[y],m=c.measureText(E),T=Math.ceil(m.width),C=l;d=Math.max(T,d),g+=C}return d+=s,g+=s,n[a]={width:d,height:g}};Ot.calculateLabelAngle=function(t,e){var r=t._private,a=r.rscratch,n=t.isEdge(),i=e?e+"-":"",s=t.pstyle(i+"text-rotation"),o=s.strValue;return o==="none"?0:n&&o==="autorotate"?a.labelAutoAngle:o==="autorotate"?0:s.pfValue};Ot.calculateLabelAngles=function(t){var e=this,r=t.isEdge(),a=t._private,n=a.rscratch;n.labelAngle=e.calculateLabelAngle(t),r&&(n.sourceLabelAngle=e.calculateLabelAngle(t,"source"),n.targetLabelAngle=e.calculateLabelAngle(t,"target"))};var fl={},Ms=28,Rs=!1;fl.getNodeShape=function(t){var e=this,r=t.pstyle("shape").value;if(r==="cutrectangle"&&(t.width()<Ms||t.height()<Ms))return Rs||(Ne("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),Rs=!0),"rectangle";if(t.isParent())return r==="rectangle"||r==="roundrectangle"||r==="round-rectangle"||r==="cutrectangle"||r==="cut-rectangle"||r==="barrel"?r:"rectangle";if(r==="polygon"){var a=t.pstyle("shape-polygon-points").value;return e.nodeShapes.makePolygon(a).name}return r};var bn={};bn.registerCalculationListeners=function(){var t=this.cy,e=t.collection(),r=this,a=function(s){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(e.merge(s),o)for(var l=0;l<s.length;l++){var u=s[l],f=u._private,h=f.rstyle;h.clean=!1,h.cleanConnected=!1}};r.binder(t).on("bounds.* dirty.*",function(s){var o=s.target;a(o)}).on("style.* background.*",function(s){var o=s.target;a(o,!1)});var n=function(s){if(s){var o=r.onUpdateEleCalcsFns;e.cleanStyle();for(var l=0;l<e.length;l++){var u=e[l],f=u._private.rstyle;u.isNode()&&!f.cleanConnected&&(a(u.connectedEdges()),f.cleanConnected=!0)}if(o)for(var h=0;h<o.length;h++){var c=o[h];c(s,e)}r.recalculateRenderedStyle(e),e=t.collection()}};r.flushRenderedStyleQueue=function(){n(!0)},r.beforeRender(n,r.beforeRenderPriorities.eleCalcs)};bn.onUpdateEleCalcs=function(t){var e=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];e.push(t)};bn.recalculateRenderedStyle=function(t,e){var r=function(T){return T._private.rstyle.cleanConnected},a=[],n=[];if(!this.destroyed){e===void 0&&(e=!0);for(var i=0;i<t.length;i++){var s=t[i],o=s._private,l=o.rstyle;s.isEdge()&&(!r(s.source())||!r(s.target()))&&(l.clean=!1),!(e&&l.clean||s.removed())&&s.pstyle("display").value!=="none"&&(o.group==="nodes"?n.push(s):a.push(s),l.clean=!0)}for(var u=0;u<n.length;u++){var f=n[u],h=f._private,c=h.rstyle,v=f.position();this.recalculateNodeLabelProjection(f),c.nodeX=v.x,c.nodeY=v.y,c.nodeW=f.pstyle("width").pfValue,c.nodeH=f.pstyle("height").pfValue}this.recalculateEdgeProjections(a);for(var d=0;d<a.length;d++){var g=a[d],p=g._private,y=p.rstyle,E=p.rscratch;y.srcX=E.arrowStartX,y.srcY=E.arrowStartY,y.tgtX=E.arrowEndX,y.tgtY=E.arrowEndY,y.midX=E.midX,y.midY=E.midY,y.labelAngle=E.labelAngle,y.sourceLabelAngle=E.sourceLabelAngle,y.targetLabelAngle=E.targetLabelAngle}}};var En={};En.updateCachedGrabbedEles=function(){var t=this.cachedZSortedEles;if(t){t.drag=[],t.nondrag=[];for(var e=[],r=0;r<t.length;r++){var a=t[r],n=a._private.rscratch;a.grabbed()&&!a.isParent()?e.push(a):n.inDragLayer?t.drag.push(a):t.nondrag.push(a)}for(var r=0;r<e.length;r++){var a=e[r];t.drag.push(a)}}};En.invalidateCachedZSortedEles=function(){this.cachedZSortedEles=null};En.getCachedZSortedEles=function(t){if(t||!this.cachedZSortedEles){var e=this.cy.mutableElements().toArray();e.sort(Zo),e.interactive=e.filter(function(r){return r.interactive()}),this.cachedZSortedEles=e,this.updateCachedGrabbedEles()}else e=this.cachedZSortedEles;return e};var hl={};[fr,ja,nt,ya,Ei,Ot,fl,bn,En].forEach(function(t){de(hl,t)});var vl={};vl.getCachedImage=function(t,e,r){var a=this,n=a.imageCache=a.imageCache||{},i=n[t];if(i)return i.image.complete||i.image.addEventListener("load",r),i.image;i=n[t]=n[t]||{};var s=i.image=new Image;s.addEventListener("load",r),s.addEventListener("error",function(){s.error=!0});var o="data:",l=t.substring(0,o.length).toLowerCase()===o;return l||(e=e==="null"?null:e,s.crossOrigin=e),s.src=t,s};var Br={};Br.registerBinding=function(t,e,r,a){var n=Array.prototype.slice.apply(arguments,[1]),i=this.binder(t);return i.on.apply(i,n)};Br.binder=function(t){var e=this,r=e.cy.window(),a=t===r||t===r.document||t===r.document.body||Hc(t);if(e.supportsPassiveEvents==null){var n=!1;try{var i=Object.defineProperty({},"passive",{get:function(){return n=!0,!0}});r.addEventListener("test",null,i)}catch{}e.supportsPassiveEvents=n}var s=function(l,u,f){var h=Array.prototype.slice.call(arguments);return a&&e.supportsPassiveEvents&&(h[2]={capture:f??!1,passive:!1,once:!1}),e.bindings.push({target:t,args:h}),(t.addEventListener||t.on).apply(t,h),this};return{on:s,addEventListener:s,addListener:s,bind:s}};Br.nodeIsDraggable=function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()};Br.nodeIsGrabbable=function(t){return this.nodeIsDraggable(t)&&t.interactive()};Br.load=function(){var t=this,e=t.cy.window(),r=function(N){return N.selected()},a=function(N,V,J,X){N==null&&(N=t.cy);for(var q=0;q<V.length;q++){var he=V[q];N.emit({originalEvent:J,type:he,position:X})}},n=function(N){return N.shiftKey||N.metaKey||N.ctrlKey},i=function(N,V){var J=!0;if(t.cy.hasCompoundNodes()&&N&&N.pannable())for(var X=0;V&&X<V.length;X++){var N=V[X];if(N.isNode()&&N.isParent()&&!N.pannable()){J=!1;break}}else J=!0;return J},s=function(N){N[0]._private.grabbed=!0},o=function(N){N[0]._private.grabbed=!1},l=function(N){N[0]._private.rscratch.inDragLayer=!0},u=function(N){N[0]._private.rscratch.inDragLayer=!1},f=function(N){N[0]._private.rscratch.isGrabTarget=!0},h=function(N){N[0]._private.rscratch.isGrabTarget=!1},c=function(N,V){var J=V.addToList,X=J.has(N);!X&&N.grabbable()&&!N.locked()&&(J.merge(N),s(N))},v=function(N,V){if(N.cy().hasCompoundNodes()&&!(V.inDragLayer==null&&V.addToList==null)){var J=N.descendants();V.inDragLayer&&(J.forEach(l),J.connectedEdges().forEach(l)),V.addToList&&c(J,V)}},d=function(N,V){V=V||{};var J=N.cy().hasCompoundNodes();V.inDragLayer&&(N.forEach(l),N.neighborhood().stdFilter(function(X){return!J||X.isEdge()}).forEach(l)),V.addToList&&N.forEach(function(X){c(X,V)}),v(N,V),y(N,{inDragLayer:V.inDragLayer}),t.updateCachedGrabbedEles()},g=d,p=function(N){N&&(t.getCachedZSortedEles().forEach(function(V){o(V),u(V),h(V)}),t.updateCachedGrabbedEles())},y=function(N,V){if(!(V.inDragLayer==null&&V.addToList==null)&&N.cy().hasCompoundNodes()){var J=N.ancestors().orphans();if(!J.same(N)){var X=J.descendants().spawnSelf().merge(J).unmerge(N).unmerge(N.descendants()),q=X.connectedEdges();V.inDragLayer&&(q.forEach(l),X.forEach(l)),V.addToList&&X.forEach(function(he){c(he,V)})}}},E=function(){document.activeElement!=null&&document.activeElement.blur!=null&&document.activeElement.blur()},m=typeof MutationObserver<"u",T=typeof ResizeObserver<"u";m?(t.removeObserver=new MutationObserver(function(H){for(var N=0;N<H.length;N++){var V=H[N],J=V.removedNodes;if(J)for(var X=0;X<J.length;X++){var q=J[X];if(q===t.container){t.destroy();break}}}}),t.container.parentNode&&t.removeObserver.observe(t.container.parentNode,{childList:!0})):t.registerBinding(t.container,"DOMNodeRemoved",function(H){t.destroy()});var C=on.default(function(){t.cy.resize()},100);m&&(t.styleObserver=new MutationObserver(C),t.styleObserver.observe(t.container,{attributes:!0})),t.registerBinding(e,"resize",C),T&&(t.resizeObserver=new ResizeObserver(C),t.resizeObserver.observe(t.container));var S=function(N,V){for(;N!=null;)V(N),N=N.parentNode},b=function(){t.invalidateContainerClientCoordsCache()};S(t.container,function(H){t.registerBinding(H,"transitionend",b),t.registerBinding(H,"animationend",b),t.registerBinding(H,"scroll",b)}),t.registerBinding(t.container,"contextmenu",function(H){H.preventDefault()});var x=function(){return t.selection[4]!==0},w=function(N){for(var V=t.findContainerClientCoords(),J=V[0],X=V[1],q=V[2],he=V[3],Z=N.touches?N.touches:[N],oe=!1,me=0;me<Z.length;me++){var Se=Z[me];if(J<=Se.clientX&&Se.clientX<=J+q&&X<=Se.clientY&&Se.clientY<=X+he){oe=!0;break}}if(!oe)return!1;for(var pe=t.container,Te=N.target,ye=Te.parentNode,be=!1;ye;){if(ye===pe){be=!0;break}ye=ye.parentNode}return!!be};t.registerBinding(t.container,"mousedown",function(N){if(w(N)){N.preventDefault(),E(),t.hoverData.capture=!0,t.hoverData.which=N.which;var V=t.cy,J=[N.clientX,N.clientY],X=t.projectIntoViewport(J[0],J[1]),q=t.selection,he=t.findNearestElements(X[0],X[1],!0,!1),Z=he[0],oe=t.dragData.possibleDragElements;t.hoverData.mdownPos=X,t.hoverData.mdownGPos=J;var me=function(){t.hoverData.tapholdCancelled=!1,clearTimeout(t.hoverData.tapholdTimeout),t.hoverData.tapholdTimeout=setTimeout(function(){if(!t.hoverData.tapholdCancelled){var Fe=t.hoverData.down;Fe?Fe.emit({originalEvent:N,type:"taphold",position:{x:X[0],y:X[1]}}):V.emit({originalEvent:N,type:"taphold",position:{x:X[0],y:X[1]}})}},t.tapholdDuration)};if(N.which==3){t.hoverData.cxtStarted=!0;var Se={originalEvent:N,type:"cxttapstart",position:{x:X[0],y:X[1]}};Z?(Z.activate(),Z.emit(Se),t.hoverData.down=Z):V.emit(Se),t.hoverData.downTime=new Date().getTime(),t.hoverData.cxtDragged=!1}else if(N.which==1){Z&&Z.activate();{if(Z!=null&&t.nodeIsGrabbable(Z)){var pe=function(Fe){return{originalEvent:N,type:Fe,position:{x:X[0],y:X[1]}}},Te=function(Fe){Fe.emit(pe("grab"))};if(f(Z),!Z.selected())oe=t.dragData.possibleDragElements=V.collection(),g(Z,{addToList:oe}),Z.emit(pe("grabon")).emit(pe("grab"));else{oe=t.dragData.possibleDragElements=V.collection();var ye=V.$(function(be){return be.isNode()&&be.selected()&&t.nodeIsGrabbable(be)});d(ye,{addToList:oe}),Z.emit(pe("grabon")),ye.forEach(Te)}t.redrawHint("eles",!0),t.redrawHint("drag",!0)}t.hoverData.down=Z,t.hoverData.downs=he,t.hoverData.downTime=new Date().getTime()}a(Z,["mousedown","tapstart","vmousedown"],N,{x:X[0],y:X[1]}),Z==null?(q[4]=1,t.data.bgActivePosistion={x:X[0],y:X[1]},t.redrawHint("select",!0),t.redraw()):Z.pannable()&&(q[4]=1),me()}q[0]=q[2]=X[0],q[1]=q[3]=X[1]}},!1),t.registerBinding(e,"mousemove",function(N){var V=t.hoverData.capture;if(!(!V&&!w(N))){var J=!1,X=t.cy,q=X.zoom(),he=[N.clientX,N.clientY],Z=t.projectIntoViewport(he[0],he[1]),oe=t.hoverData.mdownPos,me=t.hoverData.mdownGPos,Se=t.selection,pe=null;!t.hoverData.draggingEles&&!t.hoverData.dragging&&!t.hoverData.selecting&&(pe=t.findNearestElement(Z[0],Z[1],!0,!1));var Te=t.hoverData.last,ye=t.hoverData.down,be=[Z[0]-Se[2],Z[1]-Se[3]],Fe=t.dragData.possibleDragElements,Xe;if(me){var pt=he[0]-me[0],yt=pt*pt,We=he[1]-me[1],ct=We*We,it=yt+ct;t.hoverData.isOverThresholdDrag=Xe=it>=t.desktopTapThreshold2}var It=n(N);Xe&&(t.hoverData.tapholdCancelled=!0);var Ft=function(){var Dt=t.hoverData.dragDelta=t.hoverData.dragDelta||[];Dt.length===0?(Dt.push(be[0]),Dt.push(be[1])):(Dt[0]+=be[0],Dt[1]+=be[1])};J=!0,a(pe,["mousemove","vmousemove","tapdrag"],N,{x:Z[0],y:Z[1]});var vr=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||X.emit({originalEvent:N,type:"boxstart",position:{x:Z[0],y:Z[1]}}),Se[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(t.hoverData.which===3){if(Xe){var Jt={originalEvent:N,type:"cxtdrag",position:{x:Z[0],y:Z[1]}};ye?ye.emit(Jt):X.emit(Jt),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||pe!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:N,type:"cxtdragout",position:{x:Z[0],y:Z[1]}}),t.hoverData.cxtOver=pe,pe&&pe.emit({originalEvent:N,type:"cxtdragover",position:{x:Z[0],y:Z[1]}}))}}else if(t.hoverData.dragging){if(J=!0,X.panningEnabled()&&X.userPanningEnabled()){var cr;if(t.hoverData.justStartedPan){var Ea=t.hoverData.mdownPos;cr={x:(Z[0]-Ea[0])*q,y:(Z[1]-Ea[1])*q},t.hoverData.justStartedPan=!1}else cr={x:be[0]*q,y:be[1]*q};X.panBy(cr),X.emit("dragpan"),t.hoverData.dragged=!0}Z=t.projectIntoViewport(N.clientX,N.clientY)}else if(Se[4]==1&&(ye==null||ye.pannable())){if(Xe){if(!t.hoverData.dragging&&X.boxSelectionEnabled()&&(It||!X.panningEnabled()||!X.userPanningEnabled()))vr();else if(!t.hoverData.selecting&&X.panningEnabled()&&X.userPanningEnabled()){var jt=i(ye,t.hoverData.downs);jt&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,Se[4]=0,t.data.bgActivePosistion=Er(oe),t.redrawHint("select",!0),t.redraw())}ye&&ye.pannable()&&ye.active()&&ye.unactivate()}}else{if(ye&&ye.pannable()&&ye.active()&&ye.unactivate(),(!ye||!ye.grabbed())&&pe!=Te&&(Te&&a(Te,["mouseout","tapdragout"],N,{x:Z[0],y:Z[1]}),pe&&a(pe,["mouseover","tapdragover"],N,{x:Z[0],y:Z[1]}),t.hoverData.last=pe),ye)if(Xe){if(X.boxSelectionEnabled()&&It)ye&&ye.grabbed()&&(p(Fe),ye.emit("freeon"),Fe.emit("free"),t.dragData.didDrag&&(ye.emit("dragfreeon"),Fe.emit("dragfree"))),vr();else if(ye&&ye.grabbed()&&t.nodeIsDraggable(ye)){var ot=!t.dragData.didDrag;ot&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||d(Fe,{inDragLayer:!0});var je={x:0,y:0};if(ae(be[0])&&ae(be[1])&&(je.x+=be[0],je.y+=be[1],ot)){var lt=t.hoverData.dragDelta;lt&&ae(lt[0])&&ae(lt[1])&&(je.x+=lt[0],je.y+=lt[1])}t.hoverData.draggingEles=!0,Fe.silentShift(je).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else Ft();J=!0}if(Se[2]=Z[0],Se[3]=Z[1],J)return N.stopPropagation&&N.stopPropagation(),N.preventDefault&&N.preventDefault(),!1}},!1);var D,A,L;t.registerBinding(e,"mouseup",function(N){var V=t.hoverData.capture;if(V){t.hoverData.capture=!1;var J=t.cy,X=t.projectIntoViewport(N.clientX,N.clientY),q=t.selection,he=t.findNearestElement(X[0],X[1],!0,!1),Z=t.dragData.possibleDragElements,oe=t.hoverData.down,me=n(N);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,oe&&oe.unactivate(),t.hoverData.which===3){var Se={originalEvent:N,type:"cxttapend",position:{x:X[0],y:X[1]}};if(oe?oe.emit(Se):J.emit(Se),!t.hoverData.cxtDragged){var pe={originalEvent:N,type:"cxttap",position:{x:X[0],y:X[1]}};oe?oe.emit(pe):J.emit(pe)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(t.hoverData.which===1){if(a(he,["mouseup","tapend","vmouseup"],N,{x:X[0],y:X[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(a(oe,["click","tap","vclick"],N,{x:X[0],y:X[1]}),A=!1,N.timeStamp-L<=J.multiClickDebounceTime()?(D&&clearTimeout(D),A=!0,L=null,a(oe,["dblclick","dbltap","vdblclick"],N,{x:X[0],y:X[1]})):(D=setTimeout(function(){A||a(oe,["oneclick","onetap","voneclick"],N,{x:X[0],y:X[1]})},J.multiClickDebounceTime()),L=N.timeStamp)),oe==null&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!n(N)&&(J.$(r).unselect(["tapunselect"]),Z.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=Z=J.collection()),he==oe&&!t.dragData.didDrag&&!t.hoverData.selecting&&he!=null&&he._private.selectable&&(t.hoverData.dragging||(J.selectionType()==="additive"||me?he.selected()?he.unselect(["tapunselect"]):he.select(["tapselect"]):me||(J.$(r).unmerge(he).unselect(["tapunselect"]),he.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var Te=J.collection(t.getAllInBox(q[0],q[1],q[2],q[3]));t.redrawHint("select",!0),Te.length>0&&t.redrawHint("eles",!0),J.emit({type:"boxend",originalEvent:N,position:{x:X[0],y:X[1]}});var ye=function(Xe){return Xe.selectable()&&!Xe.selected()};J.selectionType()==="additive"||me||J.$(r).unmerge(Te).unselect(),Te.emit("box").stdFilter(ye).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!q[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var be=oe&&oe.grabbed();p(Z),be&&(oe.emit("freeon"),Z.emit("free"),t.dragData.didDrag&&(oe.emit("dragfreeon"),Z.emit("dragfree")))}}q[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null}},!1);var I=function(N){if(!t.scrollingPage){var V=t.cy,J=V.zoom(),X=V.pan(),q=t.projectIntoViewport(N.clientX,N.clientY),he=[q[0]*J+X.x,q[1]*J+X.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||x()){N.preventDefault();return}if(V.panningEnabled()&&V.userPanningEnabled()&&V.zoomingEnabled()&&V.userZoomingEnabled()){N.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout(function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()},150);var Z;N.deltaY!=null?Z=N.deltaY/-250:N.wheelDeltaY!=null?Z=N.wheelDeltaY/1e3:Z=N.wheelDelta/1e3,Z=Z*t.wheelSensitivity;var oe=N.deltaMode===1;oe&&(Z*=33);var me=V.zoom()*Math.pow(10,Z);N.type==="gesturechange"&&(me=t.gestureStartZoom*N.scale),V.zoom({level:me,renderedPosition:{x:he[0],y:he[1]}}),V.emit(N.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",I,!0),t.registerBinding(e,"scroll",function(N){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout(function(){t.scrollingPage=!1},250)},!0),t.registerBinding(t.container,"gesturestart",function(N){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||N.preventDefault()},!0),t.registerBinding(t.container,"gesturechange",function(H){t.hasTouchStarted||I(H)},!0),t.registerBinding(t.container,"mouseout",function(N){var V=t.projectIntoViewport(N.clientX,N.clientY);t.cy.emit({originalEvent:N,type:"mouseout",position:{x:V[0],y:V[1]}})},!1),t.registerBinding(t.container,"mouseover",function(N){var V=t.projectIntoViewport(N.clientX,N.clientY);t.cy.emit({originalEvent:N,type:"mouseover",position:{x:V[0],y:V[1]}})},!1);var O,P,R,M,k,B,G,F,$,U,_,Y,W,z=function(N,V,J,X){return Math.sqrt((J-N)*(J-N)+(X-V)*(X-V))},K=function(N,V,J,X){return(J-N)*(J-N)+(X-V)*(X-V)},j;t.registerBinding(t.container,"touchstart",j=function(N){if(t.hasTouchStarted=!0,!!w(N)){E(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var V=t.cy,J=t.touchData.now,X=t.touchData.earlier;if(N.touches[0]){var q=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);J[0]=q[0],J[1]=q[1]}if(N.touches[1]){var q=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY);J[2]=q[0],J[3]=q[1]}if(N.touches[2]){var q=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY);J[4]=q[0],J[5]=q[1]}if(N.touches[1]){t.touchData.singleTouchMoved=!0,p(t.dragData.touchDragEles);var he=t.findContainerClientCoords();$=he[0],U=he[1],_=he[2],Y=he[3],O=N.touches[0].clientX-$,P=N.touches[0].clientY-U,R=N.touches[1].clientX-$,M=N.touches[1].clientY-U,W=0<=O&&O<=_&&0<=R&&R<=_&&0<=P&&P<=Y&&0<=M&&M<=Y;var Z=V.pan(),oe=V.zoom();k=z(O,P,R,M),B=K(O,P,R,M),G=[(O+R)/2,(P+M)/2],F=[(G[0]-Z.x)/oe,(G[1]-Z.y)/oe];var me=200,Se=me*me;if(B<Se&&!N.touches[2]){var pe=t.findNearestElement(J[0],J[1],!0,!0),Te=t.findNearestElement(J[2],J[3],!0,!0);pe&&pe.isNode()?(pe.activate().emit({originalEvent:N,type:"cxttapstart",position:{x:J[0],y:J[1]}}),t.touchData.start=pe):Te&&Te.isNode()?(Te.activate().emit({originalEvent:N,type:"cxttapstart",position:{x:J[0],y:J[1]}}),t.touchData.start=Te):V.emit({originalEvent:N,type:"cxttapstart",position:{x:J[0],y:J[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,t.redraw();return}}if(N.touches[2])V.boxSelectionEnabled()&&N.preventDefault();else if(!N.touches[1]){if(N.touches[0]){var ye=t.findNearestElements(J[0],J[1],!0,!0),be=ye[0];if(be!=null&&(be.activate(),t.touchData.start=be,t.touchData.starts=ye,t.nodeIsGrabbable(be))){var Fe=t.dragData.touchDragEles=V.collection(),Xe=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),be.selected()?(Xe=V.$(function(it){return it.selected()&&t.nodeIsGrabbable(it)}),d(Xe,{addToList:Fe})):g(be,{addToList:Fe}),f(be);var pt=function(It){return{originalEvent:N,type:It,position:{x:J[0],y:J[1]}}};be.emit(pt("grabon")),Xe?Xe.forEach(function(it){it.emit(pt("grab"))}):be.emit(pt("grab"))}a(be,["touchstart","tapstart","vmousedown"],N,{x:J[0],y:J[1]}),be==null&&(t.data.bgActivePosistion={x:q[0],y:q[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout(function(){t.touchData.singleTouchMoved===!1&&!t.pinching&&!t.touchData.selecting&&a(t.touchData.start,["taphold"],N,{x:J[0],y:J[1]})},t.tapholdDuration)}}if(N.touches.length>=1){for(var yt=t.touchData.startPosition=[null,null,null,null,null,null],We=0;We<J.length;We++)yt[We]=X[We]=J[We];var ct=N.touches[0];t.touchData.startGPosition=[ct.clientX,ct.clientY]}}},!1);var Q;t.registerBinding(window,"touchmove",Q=function(N){var V=t.touchData.capture;if(!(!V&&!w(N))){var J=t.selection,X=t.cy,q=t.touchData.now,he=t.touchData.earlier,Z=X.zoom();if(N.touches[0]){var oe=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);q[0]=oe[0],q[1]=oe[1]}if(N.touches[1]){var oe=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY);q[2]=oe[0],q[3]=oe[1]}if(N.touches[2]){var oe=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY);q[4]=oe[0],q[5]=oe[1]}var me=t.touchData.startGPosition,Se;if(V&&N.touches[0]&&me){for(var pe=[],Te=0;Te<q.length;Te++)pe[Te]=q[Te]-he[Te];var ye=N.touches[0].clientX-me[0],be=ye*ye,Fe=N.touches[0].clientY-me[1],Xe=Fe*Fe,pt=be+Xe;Se=pt>=t.touchTapThreshold2}if(V&&t.touchData.cxt){N.preventDefault();var yt=N.touches[0].clientX-$,We=N.touches[0].clientY-U,ct=N.touches[1].clientX-$,it=N.touches[1].clientY-U,It=K(yt,We,ct,it),Ft=It/B,vr=150,Jt=vr*vr,cr=1.5,Ea=cr*cr;if(Ft>=Ea||It>=Jt){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var jt={originalEvent:N,type:"cxttapend",position:{x:q[0],y:q[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(jt),t.touchData.start=null):X.emit(jt)}}if(V&&t.touchData.cxt){var jt={originalEvent:N,type:"cxtdrag",position:{x:q[0],y:q[1]}};t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(jt):X.emit(jt),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var ot=t.findNearestElement(q[0],q[1],!0,!0);(!t.touchData.cxtOver||ot!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:N,type:"cxtdragout",position:{x:q[0],y:q[1]}}),t.touchData.cxtOver=ot,ot&&ot.emit({originalEvent:N,type:"cxtdragover",position:{x:q[0],y:q[1]}}))}else if(V&&N.touches[2]&&X.boxSelectionEnabled())N.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||X.emit({originalEvent:N,type:"boxstart",position:{x:q[0],y:q[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,J[4]=1,!J||J.length===0||J[0]===void 0?(J[0]=(q[0]+q[2]+q[4])/3,J[1]=(q[1]+q[3]+q[5])/3,J[2]=(q[0]+q[2]+q[4])/3+1,J[3]=(q[1]+q[3]+q[5])/3+1):(J[2]=(q[0]+q[2]+q[4])/3,J[3]=(q[1]+q[3]+q[5])/3),t.redrawHint("select",!0),t.redraw();else if(V&&N.touches[1]&&!t.touchData.didSelect&&X.zoomingEnabled()&&X.panningEnabled()&&X.userZoomingEnabled()&&X.userPanningEnabled()){N.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var je=t.dragData.touchDragEles;if(je){t.redrawHint("drag",!0);for(var lt=0;lt<je.length;lt++){var wa=je[lt]._private;wa.grabbed=!1,wa.rscratch.inDragLayer=!1}}var Dt=t.touchData.start,yt=N.touches[0].clientX-$,We=N.touches[0].clientY-U,ct=N.touches[1].clientX-$,it=N.touches[1].clientY-U,Ti=z(yt,We,ct,it),Rl=Ti/k;if(W){var kl=yt-O,Pl=We-P,Bl=ct-R,Fl=it-M,Gl=(kl+Bl)/2,zl=(Pl+Fl)/2,zr=X.zoom(),wn=zr*Rl,xa=X.pan(),Ci=F[0]*zr+xa.x,Di=F[1]*zr+xa.y,$l={x:-wn/zr*(Ci-xa.x-Gl)+Ci,y:-wn/zr*(Di-xa.y-zl)+Di};if(Dt&&Dt.active()){var je=t.dragData.touchDragEles;p(je),t.redrawHint("drag",!0),t.redrawHint("eles",!0),Dt.unactivate().emit("freeon"),je.emit("free"),t.dragData.didDrag&&(Dt.emit("dragfreeon"),je.emit("dragfree"))}X.viewport({zoom:wn,pan:$l,cancelOnFailedZoom:!0}),X.emit("pinchzoom"),k=Ti,O=yt,P=We,R=ct,M=it,t.pinching=!0}if(N.touches[0]){var oe=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);q[0]=oe[0],q[1]=oe[1]}if(N.touches[1]){var oe=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY);q[2]=oe[0],q[3]=oe[1]}if(N.touches[2]){var oe=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY);q[4]=oe[0],q[5]=oe[1]}}else if(N.touches[0]&&!t.touchData.didSelect){var mt=t.touchData.start,xn=t.touchData.last,ot;if(!t.hoverData.draggingEles&&!t.swipePanning&&(ot=t.findNearestElement(q[0],q[1],!0,!0)),V&&mt!=null&&N.preventDefault(),V&&mt!=null&&t.nodeIsDraggable(mt))if(Se){var je=t.dragData.touchDragEles,Si=!t.dragData.didDrag;Si&&d(je,{inDragLayer:!0}),t.dragData.didDrag=!0;var $r={x:0,y:0};if(ae(pe[0])&&ae(pe[1])&&($r.x+=pe[0],$r.y+=pe[1],Si)){t.redrawHint("eles",!0);var bt=t.touchData.dragDelta;bt&&ae(bt[0])&&ae(bt[1])&&($r.x+=bt[0],$r.y+=bt[1])}t.hoverData.draggingEles=!0,je.silentShift($r).emit("position drag"),t.redrawHint("drag",!0),t.touchData.startPosition[0]==he[0]&&t.touchData.startPosition[1]==he[1]&&t.redrawHint("eles",!0),t.redraw()}else{var bt=t.touchData.dragDelta=t.touchData.dragDelta||[];bt.length===0?(bt.push(pe[0]),bt.push(pe[1])):(bt[0]+=pe[0],bt[1]+=pe[1])}if(a(mt||ot,["touchmove","tapdrag","vmousemove"],N,{x:q[0],y:q[1]}),(!mt||!mt.grabbed())&&ot!=xn&&(xn&&xn.emit({originalEvent:N,type:"tapdragout",position:{x:q[0],y:q[1]}}),ot&&ot.emit({originalEvent:N,type:"tapdragover",position:{x:q[0],y:q[1]}})),t.touchData.last=ot,V)for(var lt=0;lt<q.length;lt++)q[lt]&&t.touchData.startPosition[lt]&&Se&&(t.touchData.singleTouchMoved=!0);if(V&&(mt==null||mt.pannable())&&X.panningEnabled()&&X.userPanningEnabled()){var Vl=i(mt,t.touchData.starts);Vl&&(N.preventDefault(),t.data.bgActivePosistion||(t.data.bgActivePosistion=Er(t.touchData.startPosition)),t.swipePanning?(X.panBy({x:pe[0]*Z,y:pe[1]*Z}),X.emit("dragpan")):Se&&(t.swipePanning=!0,X.panBy({x:ye*Z,y:Fe*Z}),X.emit("dragpan"),mt&&(mt.unactivate(),t.redrawHint("select",!0),t.touchData.start=null)));var oe=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);q[0]=oe[0],q[1]=oe[1]}}for(var Te=0;Te<q.length;Te++)he[Te]=q[Te];V&&N.touches.length>0&&!t.hoverData.draggingEles&&!t.swipePanning&&t.data.bgActivePosistion!=null&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1);var ee;t.registerBinding(e,"touchcancel",ee=function(N){var V=t.touchData.start;t.touchData.capture=!1,V&&V.unactivate()});var ne,ce,te,re;if(t.registerBinding(e,"touchend",ne=function(N){var V=t.touchData.start,J=t.touchData.capture;if(J)N.touches.length===0&&(t.touchData.capture=!1),N.preventDefault();else return;var X=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var q=t.cy,he=q.zoom(),Z=t.touchData.now,oe=t.touchData.earlier;if(N.touches[0]){var me=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);Z[0]=me[0],Z[1]=me[1]}if(N.touches[1]){var me=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY);Z[2]=me[0],Z[3]=me[1]}if(N.touches[2]){var me=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY);Z[4]=me[0],Z[5]=me[1]}V&&V.unactivate();var Se;if(t.touchData.cxt){if(Se={originalEvent:N,type:"cxttapend",position:{x:Z[0],y:Z[1]}},V?V.emit(Se):q.emit(Se),!t.touchData.cxtDragged){var pe={originalEvent:N,type:"cxttap",position:{x:Z[0],y:Z[1]}};V?V.emit(pe):q.emit(pe)}t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,t.redraw();return}if(!N.touches[2]&&q.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var Te=q.collection(t.getAllInBox(X[0],X[1],X[2],X[3]));X[0]=void 0,X[1]=void 0,X[2]=void 0,X[3]=void 0,X[4]=0,t.redrawHint("select",!0),q.emit({type:"boxend",originalEvent:N,position:{x:Z[0],y:Z[1]}});var ye=function(Jt){return Jt.selectable()&&!Jt.selected()};Te.emit("box").stdFilter(ye).select().emit("boxselect"),Te.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(V?.unactivate(),N.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!N.touches[1]){if(!N.touches[0]){if(!N.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var be=t.dragData.touchDragEles;if(V!=null){var Fe=V._private.grabbed;p(be),t.redrawHint("drag",!0),t.redrawHint("eles",!0),Fe&&(V.emit("freeon"),be.emit("free"),t.dragData.didDrag&&(V.emit("dragfreeon"),be.emit("dragfree"))),a(V,["touchend","tapend","vmouseup","tapdragout"],N,{x:Z[0],y:Z[1]}),V.unactivate(),t.touchData.start=null}else{var Xe=t.findNearestElement(Z[0],Z[1],!0,!0);a(Xe,["touchend","tapend","vmouseup","tapdragout"],N,{x:Z[0],y:Z[1]})}var pt=t.touchData.startPosition[0]-Z[0],yt=pt*pt,We=t.touchData.startPosition[1]-Z[1],ct=We*We,it=yt+ct,It=it*he*he;t.touchData.singleTouchMoved||(V||q.$(":selected").unselect(["tapunselect"]),a(V,["tap","vclick"],N,{x:Z[0],y:Z[1]}),ce=!1,N.timeStamp-re<=q.multiClickDebounceTime()?(te&&clearTimeout(te),ce=!0,re=null,a(V,["dbltap","vdblclick"],N,{x:Z[0],y:Z[1]})):(te=setTimeout(function(){ce||a(V,["onetap","voneclick"],N,{x:Z[0],y:Z[1]})},q.multiClickDebounceTime()),re=N.timeStamp)),V!=null&&!t.dragData.didDrag&&V._private.selectable&&It<t.touchTapThreshold2&&!t.pinching&&(q.selectionType()==="single"?(q.$(r).unmerge(V).unselect(["tapunselect"]),V.select(["tapselect"])):V.selected()?V.unselect(["tapunselect"]):V.select(["tapselect"]),t.redrawHint("eles",!0)),t.touchData.singleTouchMoved=!0}}}for(var Ft=0;Ft<Z.length;Ft++)oe[Ft]=Z[Ft];t.dragData.didDrag=!1,N.touches.length===0&&(t.touchData.dragDelta=[],t.touchData.startPosition=[null,null,null,null,null,null],t.touchData.startGPosition=null,t.touchData.didSelect=!1),N.touches.length<2&&(N.touches.length===1&&(t.touchData.startGPosition=[N.touches[0].clientX,N.touches[0].clientY]),t.pinching=!1,t.redrawHint("eles",!0),t.redraw())},!1),typeof TouchEvent>"u"){var ue=[],le=function(N){return{clientX:N.clientX,clientY:N.clientY,force:1,identifier:N.pointerId,pageX:N.pageX,pageY:N.pageY,radiusX:N.width/2,radiusY:N.height/2,screenX:N.screenX,screenY:N.screenY,target:N.target}},se=function(N){return{event:N,touch:le(N)}},fe=function(N){ue.push(se(N))},xe=function(N){for(var V=0;V<ue.length;V++){var J=ue[V];if(J.event.pointerId===N.pointerId){ue.splice(V,1);return}}},Ee=function(N){var V=ue.filter(function(J){return J.event.pointerId===N.pointerId})[0];V.event=N,V.touch=le(N)},ge=function(N){N.touches=ue.map(function(V){return V.touch})},we=function(N){return N.pointerType==="mouse"||N.pointerType===4};t.registerBinding(t.container,"pointerdown",function(H){we(H)||(H.preventDefault(),fe(H),ge(H),j(H))}),t.registerBinding(t.container,"pointerup",function(H){we(H)||(xe(H),ge(H),ne(H))}),t.registerBinding(t.container,"pointercancel",function(H){we(H)||(xe(H),ge(H),ee(H))}),t.registerBinding(t.container,"pointermove",function(H){we(H)||(H.preventDefault(),Ee(H),ge(H),Q(H))})}};var Pt={};Pt.generatePolygon=function(t,e){return this.nodeShapes[t]={renderer:this,name:t,points:e,draw:function(a,n,i,s,o){this.renderer.nodeShapeImpl("polygon",a,n,i,s,o,this.points)},intersectLine:function(a,n,i,s,o,l,u){return aa(o,l,this.points,a,n,i/2,s/2,u)},checkPoint:function(a,n,i,s,o,l,u){return Rt(a,n,this.points,l,u,s,o,[0,-1],i)}}};Pt.generateEllipse=function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},intersectLine:function(e,r,a,n,i,s,o){return Jd(i,s,e,r,a/2+o,n/2+o)},checkPoint:function(e,r,a,n,i,s,o){return rr(e,r,n,i,s,o,a)}}};Pt.generateRoundPolygon=function(t,e){for(var r=new Array(e.length*2),a=0;a<e.length/2;a++){var n=a*2,i=void 0;a<e.length/2-1?i=(a+1)*2:i=0,r[a*4]=e[n],r[a*4+1]=e[n+1];var s=e[i]-e[n],o=e[i+1]-e[n+1],l=Math.sqrt(s*s+o*o);r[a*4+2]=s/l,r[a*4+3]=o/l}return this.nodeShapes[t]={renderer:this,name:t,points:r,draw:function(f,h,c,v,d){this.renderer.nodeShapeImpl("round-polygon",f,h,c,v,d,this.points)},intersectLine:function(f,h,c,v,d,g,p){return jd(d,g,this.points,f,h,c,v)},checkPoint:function(f,h,c,v,d,g,p){return Qd(f,h,this.points,g,p,v,d)}}};Pt.generateRoundRectangle=function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:st(4,0),draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},intersectLine:function(e,r,a,n,i,s,o){return To(i,s,e,r,a,n,o)},checkPoint:function(e,r,a,n,i,s,o){var l=da(n,i),u=l*2;return!!(Rt(e,r,this.points,s,o,n,i-u,[0,-1],a)||Rt(e,r,this.points,s,o,n-u,i,[0,-1],a)||rr(e,r,u,u,s-n/2+l,o-i/2+l,a)||rr(e,r,u,u,s+n/2-l,o-i/2+l,a)||rr(e,r,u,u,s+n/2-l,o+i/2-l,a)||rr(e,r,u,u,s-n/2+l,o+i/2-l,a))}}};Pt.generateCutRectangle=function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:Do(),points:st(4,0),draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},generateCutTrianglePts:function(e,r,a,n){var i=this.cornerLength,s=r/2,o=e/2,l=a-o,u=a+o,f=n-s,h=n+s;return{topLeft:[l,f+i,l+i,f,l+i,f+i],topRight:[u-i,f,u,f+i,u-i,f+i],bottomRight:[u,h-i,u-i,h,u-i,h-i],bottomLeft:[l+i,h,l,h-i,l+i,h-i]}},intersectLine:function(e,r,a,n,i,s,o){var l=this.generateCutTrianglePts(a+2*o,n+2*o,e,r),u=[].concat.apply([],[l.topLeft.splice(0,4),l.topRight.splice(0,4),l.bottomRight.splice(0,4),l.bottomLeft.splice(0,4)]);return aa(i,s,u,e,r)},checkPoint:function(e,r,a,n,i,s,o){if(Rt(e,r,this.points,s,o,n,i-2*this.cornerLength,[0,-1],a)||Rt(e,r,this.points,s,o,n-2*this.cornerLength,i,[0,-1],a))return!0;var l=this.generateCutTrianglePts(n,i,s,o);return ut(e,r,l.topLeft)||ut(e,r,l.topRight)||ut(e,r,l.bottomRight)||ut(e,r,l.bottomLeft)}}};Pt.generateBarrel=function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:st(4,0),draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},intersectLine:function(e,r,a,n,i,s,o){var l=.15,u=.5,f=.85,h=this.generateBarrelBezierPts(a+2*o,n+2*o,e,r),c=function(g){var p=xr({x:g[0],y:g[1]},{x:g[2],y:g[3]},{x:g[4],y:g[5]},l),y=xr({x:g[0],y:g[1]},{x:g[2],y:g[3]},{x:g[4],y:g[5]},u),E=xr({x:g[0],y:g[1]},{x:g[2],y:g[3]},{x:g[4],y:g[5]},f);return[g[0],g[1],p.x,p.y,y.x,y.y,E.x,E.y,g[4],g[5]]},v=[].concat(c(h.topLeft),c(h.topRight),c(h.bottomRight),c(h.bottomLeft));return aa(i,s,v,e,r)},generateBarrelBezierPts:function(e,r,a,n){var i=r/2,s=e/2,o=a-s,l=a+s,u=n-i,f=n+i,h=zn(e,r),c=h.heightOffset,v=h.widthOffset,d=h.ctrlPtOffsetPct*e,g={topLeft:[o,u+c,o+d,u,o+v,u],topRight:[l-v,u,l-d,u,l,u+c],bottomRight:[l,f-c,l-d,f,l-v,f],bottomLeft:[o+v,f,o+d,f,o,f-c]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(e,r,a,n,i,s,o){var l=zn(n,i),u=l.heightOffset,f=l.widthOffset;if(Rt(e,r,this.points,s,o,n,i-2*u,[0,-1],a)||Rt(e,r,this.points,s,o,n-2*f,i,[0,-1],a))return!0;for(var h=this.generateBarrelBezierPts(n,i,s,o),c=function(b,x,w){var D=w[4],A=w[2],L=w[0],I=w[5],O=w[1],P=Math.min(D,L),R=Math.max(D,L),M=Math.min(I,O),k=Math.max(I,O);if(P<=b&&b<=R&&M<=x&&x<=k){var B=eg(D,A,L),G=Wd(B[0],B[1],B[2],b),F=G.filter(function($){return 0<=$&&$<=1});if(F.length>0)return F[0]}return null},v=Object.keys(h),d=0;d<v.length;d++){var g=v[d],p=h[g],y=c(e,r,p);if(y!=null){var E=p[5],m=p[3],T=p[1],C=Ye(E,m,T,y);if(p.isTop&&C<=r||p.isBottom&&r<=C)return!0}}return!1}}};Pt.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:st(4,0),draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},intersectLine:function(e,r,a,n,i,s,o){var l=e-(a/2+o),u=r-(n/2+o),f=u,h=e+(a/2+o),c=_t(i,s,e,r,l,u,h,f,!1);return c.length>0?c:To(i,s,e,r,a,n,o)},checkPoint:function(e,r,a,n,i,s,o){var l=da(n,i),u=2*l;if(Rt(e,r,this.points,s,o,n,i-u,[0,-1],a)||Rt(e,r,this.points,s,o,n-u,i,[0,-1],a))return!0;var f=n/2+2*a,h=i/2+2*a,c=[s-f,o-h,s-f,o,s+f,o,s+f,o-h];return!!(ut(e,r,c)||rr(e,r,u,u,s+n/2-l,o+i/2-l,a)||rr(e,r,u,u,s-n/2+l,o+i/2-l,a))}}};Pt.registerNodeShapes=function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",st(3,0)),this.generateRoundPolygon("round-triangle",st(3,0)),this.generatePolygon("rectangle",st(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var r=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",r),this.generateRoundPolygon("round-diamond",r)}this.generatePolygon("pentagon",st(5,0)),this.generateRoundPolygon("round-pentagon",st(5,0)),this.generatePolygon("hexagon",st(6,0)),this.generateRoundPolygon("round-hexagon",st(6,0)),this.generatePolygon("heptagon",st(7,0)),this.generateRoundPolygon("round-heptagon",st(7,0)),this.generatePolygon("octagon",st(8,0)),this.generateRoundPolygon("round-octagon",st(8,0));var a=new Array(20);{var n=Gn(5,0),i=Gn(5,Math.PI/5),s=.5*(3-Math.sqrt(5));s*=1.57;for(var o=0;o<i.length/2;o++)i[o*2]*=s,i[o*2+1]*=s;for(var o=0;o<20/4;o++)a[o*4]=n[o*2],a[o*4+1]=n[o*2+1],a[o*4+2]=i[o*2],a[o*4+3]=i[o*2+1]}a=Co(a),this.generatePolygon("star",a),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("right-rhomboid",[-.333,-1,1,-1,.333,1,-1,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);{var l=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",l),this.generateRoundPolygon("round-tag",l)}t.makePolygon=function(u){var f=u.join("$"),h="polygon-"+f,c;return(c=this[h])?c:e.generatePolygon(h,u)}};var ma={};ma.timeToRender=function(){return this.redrawTotalTime/this.redrawCount};ma.redraw=function(t){t=t||mo();var e=this;e.averageRedrawTime===void 0&&(e.averageRedrawTime=0),e.lastRedrawTime===void 0&&(e.lastRedrawTime=0),e.lastDrawTime===void 0&&(e.lastDrawTime=0),e.requestedFrame=!0,e.renderOptions=t};ma.beforeRender=function(t,e){if(!this.destroyed){e==null&&Ge("Priority is not optional for beforeRender");var r=this.beforeRenderCallbacks;r.push({fn:t,priority:e}),r.sort(function(a,n){return n.priority-a.priority})}};var ks=function(e,r,a){for(var n=e.beforeRenderCallbacks,i=0;i<n.length;i++)n[i].fn(r,a)};ma.startRenderLoop=function(){var t=this,e=t.cy;if(!t.renderLoopStarted){t.renderLoopStarted=!0;var r=function a(n){if(!t.destroyed){if(!e.batching())if(t.requestedFrame&&!t.skipFrame){ks(t,!0,n);var i=Mt();t.render(t.renderOptions);var s=t.lastDrawTime=Mt();t.averageRedrawTime===void 0&&(t.averageRedrawTime=s-i),t.redrawCount===void 0&&(t.redrawCount=0),t.redrawCount++,t.redrawTotalTime===void 0&&(t.redrawTotalTime=0);var o=s-i;t.redrawTotalTime+=o,t.lastRedrawTime=o,t.averageRedrawTime=t.averageRedrawTime/2+o/2,t.requestedFrame=!1}else ks(t,!1,n);t.skipFrame=!1,Ya(a)}};Ya(r)}};var Sy=function(e){this.init(e)},cl=Sy,Fr=cl.prototype;Fr.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"];Fr.init=function(t){var e=this;e.options=t,e.cy=t.cy;var r=e.container=t.cy.container(),a=e.cy.window();if(a){var n=a.document,i=n.head,s="__________cytoscape_stylesheet",o="__________cytoscape_container",l=n.getElementById(s)!=null;if(r.className.indexOf(o)<0&&(r.className=(r.className||"")+" "+o),!l){var u=n.createElement("style");u.id=s,u.textContent="."+o+" { position: relative; }",i.insertBefore(u,i.children[0])}var f=a.getComputedStyle(r),h=f.getPropertyValue("position");h==="static"&&Ne("A Cytoscape container has style position:static and so can not use UI extensions properly")}e.selection=[void 0,void 0,void 0,void 0,0],e.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],e.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},e.dragData={possibleDragElements:[]},e.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},e.redraws=0,e.showFps=t.showFps,e.debug=t.debug,e.hideEdgesOnViewport=t.hideEdgesOnViewport,e.textureOnViewport=t.textureOnViewport,e.wheelSensitivity=t.wheelSensitivity,e.motionBlurEnabled=t.motionBlur,e.forcedPixelRatio=ae(t.pixelRatio)?t.pixelRatio:null,e.motionBlur=t.motionBlur,e.motionBlurOpacity=t.motionBlurOpacity,e.motionBlurTransparency=1-e.motionBlurOpacity,e.motionBlurPxRatio=1,e.mbPxRBlurry=1,e.minMbLowQualFrames=4,e.fullQualityMb=!1,e.clearedForMotionBlur=[],e.desktopTapThreshold=t.desktopTapThreshold,e.desktopTapThreshold2=t.desktopTapThreshold*t.desktopTapThreshold,e.touchTapThreshold=t.touchTapThreshold,e.touchTapThreshold2=t.touchTapThreshold*t.touchTapThreshold,e.tapholdDuration=500,e.bindings=[],e.beforeRenderCallbacks=[],e.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},e.registerNodeShapes(),e.registerArrowShapes(),e.registerCalculationListeners()};Fr.notify=function(t,e){var r=this,a=r.cy;if(!this.destroyed){if(t==="init"){r.load();return}if(t==="destroy"){r.destroy();return}(t==="add"||t==="remove"||t==="move"&&a.hasCompoundNodes()||t==="load"||t==="zorder"||t==="mount")&&r.invalidateCachedZSortedEles(),t==="viewport"&&r.redrawHint("select",!0),(t==="load"||t==="resize"||t==="mount")&&(r.invalidateContainerClientCoordsCache(),r.matchCanvasSize(r.container)),r.redrawHint("eles",!0),r.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}};Fr.destroy=function(){var t=this;t.destroyed=!0,t.cy.stopAnimationLoop();for(var e=0;e<t.bindings.length;e++){var r=t.bindings[e],a=r,n=a.target;(n.off||n.removeEventListener).apply(n,a.args)}if(t.bindings=[],t.beforeRenderCallbacks=[],t.onUpdateEleCalcsFns=[],t.removeObserver&&t.removeObserver.disconnect(),t.styleObserver&&t.styleObserver.disconnect(),t.resizeObserver&&t.resizeObserver.disconnect(),t.labelCalcDiv)try{document.body.removeChild(t.labelCalcDiv)}catch{}};Fr.isHeadless=function(){return!1};[bi,hl,vl,Br,Pt,ma].forEach(function(t){de(Fr,t)});var Rn=1e3/60,dl={setupDequeueing:function(e){return function(){var a=this,n=this.renderer;if(!a.dequeueingSetup){a.dequeueingSetup=!0;var i=on.default(function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()},e.deqRedrawThreshold),s=function(u,f){var h=Mt(),c=n.averageRedrawTime,v=n.lastRedrawTime,d=[],g=n.cy.extent(),p=n.getPixelRatio();for(u||n.flushRenderedStyleQueue();;){var y=Mt(),E=y-h,m=y-f;if(v<Rn){var T=Rn-(u?c:0);if(m>=e.deqFastCost*T)break}else if(u){if(E>=e.deqCost*v||E>=e.deqAvgCost*c)break}else if(m>=e.deqNoDrawCost*Rn)break;var C=e.deq(a,p,g);if(C.length>0)for(var S=0;S<C.length;S++)d.push(C[S]);else break}d.length>0&&(e.onDeqd(a,d),!u&&e.shouldRedraw(a,d,p,g)&&i())},o=e.priority||oi;n.beforeRender(s,o(a))}}}},Ly=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xa;ri(this,t),this.idsByKey=new Lt,this.keyForId=new Lt,this.cachesByLvl=new Lt,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=r}return ai(t,[{key:"getIdsFor",value:function(r){r==null&&Ge("Can not get id list for null key");var a=this.idsByKey,n=this.idsByKey.get(r);return n||(n=new Mr,a.set(r,n)),n}},{key:"addIdForKey",value:function(r,a){r!=null&&this.getIdsFor(r).add(a)}},{key:"deleteIdForKey",value:function(r,a){r!=null&&this.getIdsFor(r).delete(a)}},{key:"getNumberOfIdsForKey",value:function(r){return r==null?0:this.getIdsFor(r).size}},{key:"updateKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a),i=this.getKey(r);this.deleteIdForKey(n,a),this.addIdForKey(i,a),this.keyForId.set(a,i)}},{key:"deleteKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteIdForKey(n,a),this.keyForId.delete(a)}},{key:"keyHasChangedFor",value:function(r){var a=r.id(),n=this.keyForId.get(a),i=this.getKey(r);return n!==i}},{key:"isInvalid",value:function(r){return this.keyHasChangedFor(r)||this.doesEleInvalidateKey(r)}},{key:"getCachesAt",value:function(r){var a=this.cachesByLvl,n=this.lvls,i=a.get(r);return i||(i=new Lt,a.set(r,i),n.push(r)),i}},{key:"getCache",value:function(r,a){return this.getCachesAt(a).get(r)}},{key:"get",value:function(r,a){var n=this.getKey(r),i=this.getCache(n,a);return i!=null&&this.updateKeyMappingFor(r),i}},{key:"getForCachedKey",value:function(r,a){var n=this.keyForId.get(r.id()),i=this.getCache(n,a);return i}},{key:"hasCache",value:function(r,a){return this.getCachesAt(a).has(r)}},{key:"has",value:function(r,a){var n=this.getKey(r);return this.hasCache(n,a)}},{key:"setCache",value:function(r,a,n){n.key=r,this.getCachesAt(a).set(r,n)}},{key:"set",value:function(r,a,n){var i=this.getKey(r);this.setCache(i,a,n),this.updateKeyMappingFor(r)}},{key:"deleteCache",value:function(r,a){this.getCachesAt(a).delete(r)}},{key:"delete",value:function(r,a){var n=this.getKey(r);this.deleteCache(n,a)}},{key:"invalidateKey",value:function(r){var a=this;this.lvls.forEach(function(n){return a.deleteCache(r,n)})}},{key:"invalidate",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteKeyMappingFor(r);var i=this.doesEleInvalidateKey(r);return i&&this.invalidateKey(n),i||this.getNumberOfIdsForKey(n)===0}}]),t}(),Ps=25,Ra=50,Va=-4,Xn=3,Ay=7.99,Oy=8,Ny=1024,Iy=1024,My=1024,Ry=.2,ky=.8,Py=10,By=.15,Fy=.1,Gy=.9,zy=.9,$y=100,Vy=1,wr={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},_y=Qe({getKey:null,doesEleInvalidateKey:Xa,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:go,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Kr=function(e,r){var a=this;a.renderer=e,a.onDequeues=[];var n=_y(r);de(a,n),a.lookup=new Ly(n.getKey,n.doesEleInvalidateKey),a.setupDequeueing()},He=Kr.prototype;He.reasons=wr;He.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]};He.getRetiredTextureQueue=function(t){var e=this,r=e.eleImgCaches.retired=e.eleImgCaches.retired||{},a=r[t]=r[t]||[];return a};He.getElementQueue=function(){var t=this,e=t.eleCacheQueue=t.eleCacheQueue||new ha.default(function(r,a){return a.reqs-r.reqs});return e};He.getElementKeyToQueue=function(){var t=this,e=t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{};return e};He.getElement=function(t,e,r,a,n){var i=this,s=this.renderer,o=s.cy.zoom(),l=this.lookup;if(!e||e.w===0||e.h===0||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed()||!i.allowEdgeTxrCaching&&t.isEdge()||!i.allowParentTxrCaching&&t.isParent())return null;if(a==null&&(a=Math.ceil(ui(o*r))),a<Va)a=Va;else if(o>=Ay||a>Xn)return null;var u=Math.pow(2,a),f=e.h*u,h=e.w*u,c=s.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,c))return null;var v=l.get(t,a);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;var d;if(f<=Ps?d=Ps:f<=Ra?d=Ra:d=Math.ceil(f/Ra)*Ra,f>My||h>Iy)return null;var g=i.getTextureQueue(d),p=g[g.length-2],y=function(){return i.recycleTexture(d,h)||i.addTexture(d,h)};p||(p=g[g.length-1]),p||(p=y()),p.width-p.usedWidth<h&&(p=y());for(var E=function(R){return R&&R.scaledLabelShown===c},m=n&&n===wr.dequeue,T=n&&n===wr.highQuality,C=n&&n===wr.downscale,S,b=a+1;b<=Xn;b++){var x=l.get(t,b);if(x){S=x;break}}var w=S&&S.level===a+1?S:null,D=function(){p.context.drawImage(w.texture.canvas,w.x,0,w.width,w.height,p.usedWidth,0,h,f)};if(p.context.setTransform(1,0,0,1,0,0),p.context.clearRect(p.usedWidth,0,h,d),E(w))D();else if(E(S))if(T){for(var A=S.level;A>a;A--)w=i.getElement(t,e,r,A,wr.downscale);D()}else return i.queueElement(t,S.level-1),S;else{var L;if(!m&&!T&&!C)for(var I=a-1;I>=Va;I--){var O=l.get(t,I);if(O){L=O;break}}if(E(L))return i.queueElement(t,a),L;p.context.translate(p.usedWidth,0),p.context.scale(u,u),this.drawElement(p.context,t,e,c,!1),p.context.scale(1/u,1/u),p.context.translate(-p.usedWidth,0)}return v={x:p.usedWidth,texture:p,level:a,scale:u,width:h,height:f,scaledLabelShown:c},p.usedWidth+=Math.ceil(h+Oy),p.eleCaches.push(v),l.set(t,a,v),i.checkTextureFullness(p),v};He.invalidateElements=function(t){for(var e=0;e<t.length;e++)this.invalidateElement(t[e])};He.invalidateElement=function(t){var e=this,r=e.lookup,a=[],n=r.isInvalid(t);if(n){for(var i=Va;i<=Xn;i++){var s=r.getForCachedKey(t,i);s&&a.push(s)}var o=r.invalidate(t);if(o)for(var l=0;l<a.length;l++){var u=a[l],f=u.texture;f.invalidatedWidth+=u.width,u.invalidated=!0,e.checkTextureUtility(f)}e.removeFromQueue(t)}};He.checkTextureUtility=function(t){t.invalidatedWidth>=Ry*t.width&&this.retireTexture(t)};He.checkTextureFullness=function(t){var e=this,r=e.getTextureQueue(t.height);t.usedWidth/t.width>ky&&t.fullnessChecks>=Py?Xt(r,t):t.fullnessChecks++};He.retireTexture=function(t){var e=this,r=t.height,a=e.getTextureQueue(r),n=this.lookup;Xt(a,t),t.retired=!0;for(var i=t.eleCaches,s=0;s<i.length;s++){var o=i[s];n.deleteCache(o.key,o.level)}li(i);var l=e.getRetiredTextureQueue(r);l.push(t)};He.addTexture=function(t,e){var r=this,a=r.getTextureQueue(t),n={};return a.push(n),n.eleCaches=[],n.height=t,n.width=Math.max(Ny,e),n.usedWidth=0,n.invalidatedWidth=0,n.fullnessChecks=0,n.canvas=r.renderer.makeOffscreenCanvas(n.width,n.height),n.context=n.canvas.getContext("2d"),n};He.recycleTexture=function(t,e){for(var r=this,a=r.getTextureQueue(t),n=r.getRetiredTextureQueue(t),i=0;i<n.length;i++){var s=n[i];if(s.width>=e)return s.retired=!1,s.usedWidth=0,s.invalidatedWidth=0,s.fullnessChecks=0,li(s.eleCaches),s.context.setTransform(1,0,0,1,0,0),s.context.clearRect(0,0,s.width,s.height),Xt(n,s),a.push(s),s}};He.queueElement=function(t,e){var r=this,a=r.getElementQueue(),n=r.getElementKeyToQueue(),i=this.getKey(t),s=n[i];if(s)s.level=Math.max(s.level,e),s.eles.merge(t),s.reqs++,a.updateItem(s);else{var o={eles:t.spawn().merge(t),level:e,reqs:1,key:i};a.push(o),n[i]=o}};He.dequeue=function(t){for(var e=this,r=e.getElementQueue(),a=e.getElementKeyToQueue(),n=[],i=e.lookup,s=0;s<Vy&&r.size()>0;s++){var o=r.pop(),l=o.key,u=o.eles[0],f=i.hasCache(u,o.level);if(a[l]=null,f)continue;n.push(o);var h=e.getBoundingBox(u);e.getElement(u,h,t,o.level,wr.dequeue)}return n};He.removeFromQueue=function(t){var e=this,r=e.getElementQueue(),a=e.getElementKeyToQueue(),n=this.getKey(t),i=a[n];i!=null&&(i.eles.length===1?(i.reqs=si,r.updateItem(i),r.pop(),a[n]=null):i.eles.unmerge(t))};He.onDequeue=function(t){this.onDequeues.push(t)};He.offDequeue=function(t){Xt(this.onDequeues,t)};He.setupDequeueing=dl.setupDequeueing({deqRedrawThreshold:$y,deqCost:By,deqAvgCost:Fy,deqNoDrawCost:Gy,deqFastCost:zy,deq:function(e,r,a){return e.dequeue(r,a)},onDeqd:function(e,r){for(var a=0;a<e.onDequeues.length;a++){var n=e.onDequeues[a];n(r)}},shouldRedraw:function(e,r,a,n){for(var i=0;i<r.length;i++)for(var s=r[i].eles,o=0;o<s.length;o++){var l=s[o].boundingBox();if(fi(l,n))return!0}return!1},priority:function(e){return e.renderer.beforeRenderPriorities.eleTxrDeq}});var Uy=1,Qr=-4,en=2,Hy=3.99,Yy=50,Xy=50,Wy=.15,qy=.1,Ky=.9,Zy=.9,Qy=1,Bs=250,Jy=4e3*4e3,jy=!0,gl=function(e){var r=this,a=r.renderer=e,n=a.cy;r.layersByLevel={},r.firstGet=!0,r.lastInvalidationTime=Mt()-2*Bs,r.skipping=!1,r.eleTxrDeqs=n.collection(),r.scheduleElementRefinement=on.default(function(){r.refineElementTextures(r.eleTxrDeqs),r.eleTxrDeqs.unmerge(r.eleTxrDeqs)},Xy),a.beforeRender(function(s,o){o-r.lastInvalidationTime<=Bs?r.skipping=!0:r.skipping=!1},a.beforeRenderPriorities.lyrTxrSkip);var i=function(o,l){return l.reqs-o.reqs};r.layersQueue=new ha.default(i),r.setupDequeueing()},Je=gl.prototype,Fs=0,em=Math.pow(2,53)-1;Je.makeLayer=function(t,e){var r=Math.pow(2,e),a=Math.ceil(t.w*r),n=Math.ceil(t.h*r),i=this.renderer.makeOffscreenCanvas(a,n),s={id:Fs=++Fs%em,bb:t,level:e,width:a,height:n,canvas:i,context:i.getContext("2d"),eles:[],elesQueue:[],reqs:0},o=s.context,l=-s.bb.x1,u=-s.bb.y1;return o.scale(r,r),o.translate(l,u),s};Je.getLayers=function(t,e,r){var a=this,n=a.renderer,i=n.cy,s=i.zoom(),o=a.firstGet;if(a.firstGet=!1,r==null){if(r=Math.ceil(ui(s*e)),r<Qr)r=Qr;else if(s>=Hy||r>en)return null}a.validateLayersElesOrdering(r,t);var l=a.layersByLevel,u=Math.pow(2,r),f=l[r]=l[r]||[],h,c=a.levelIsComplete(r,t),v,d=function(){var D=function(P){if(a.validateLayersElesOrdering(P,t),a.levelIsComplete(P,t))return v=l[P],!0},A=function(P){if(!v)for(var R=r+P;Qr<=R&&R<=en&&!D(R);R+=P);};A(1),A(-1);for(var L=f.length-1;L>=0;L--){var I=f[L];I.invalid&&Xt(f,I)}};if(!c)d();else return f;var g=function(){if(!h){h=ft();for(var D=0;D<t.length;D++)wo(h,t[D].boundingBox())}return h},p=function(D){D=D||{};var A=D.after;g();var L=h.w*u*(h.h*u);if(L>Jy)return null;var I=a.makeLayer(h,r);if(A!=null){var O=f.indexOf(A)+1;f.splice(O,0,I)}else(D.insert===void 0||D.insert)&&f.unshift(I);return I};if(a.skipping&&!o)return null;for(var y=null,E=t.length/Uy,m=!o,T=0;T<t.length;T++){var C=t[T],S=C._private.rscratch,b=S.imgLayerCaches=S.imgLayerCaches||{},x=b[r];if(x){y=x;continue}if((!y||y.eles.length>=E||!xo(y.bb,C.boundingBox()))&&(y=p({insert:!0,after:y}),!y))return null;v||m?a.queueLayer(y,C):a.drawEleInLayer(y,C,r,e),y.eles.push(C),b[r]=y}return v||(m?null:f)};Je.getEleLevelForLayerLevel=function(t,e){return t};Je.drawEleInLayer=function(t,e,r,a){var n=this,i=this.renderer,s=t.context,o=e.boundingBox();o.w===0||o.h===0||!e.visible()||(r=n.getEleLevelForLayerLevel(r,a),i.setImgSmoothing(s,!1),i.drawCachedElement(s,e,null,null,r,jy),i.setImgSmoothing(s,!0))};Je.levelIsComplete=function(t,e){var r=this,a=r.layersByLevel[t];if(!a||a.length===0)return!1;for(var n=0,i=0;i<a.length;i++){var s=a[i];if(s.reqs>0||s.invalid)return!1;n+=s.eles.length}return n===e.length};Je.validateLayersElesOrdering=function(t,e){var r=this.layersByLevel[t];if(r)for(var a=0;a<r.length;a++){for(var n=r[a],i=-1,s=0;s<e.length;s++)if(n.eles[0]===e[s]){i=s;break}if(i<0){this.invalidateLayer(n);continue}for(var o=i,s=0;s<n.eles.length;s++)if(n.eles[s]!==e[o+s]){this.invalidateLayer(n);break}}};Je.updateElementsInLayers=function(t,e){for(var r=this,a=ca(t[0]),n=0;n<t.length;n++)for(var i=a?null:t[n],s=a?t[n]:t[n].ele,o=s._private.rscratch,l=o.imgLayerCaches=o.imgLayerCaches||{},u=Qr;u<=en;u++){var f=l[u];f&&(i&&r.getEleLevelForLayerLevel(f.level)!==i.level||e(f,s,i))}};Je.haveLayers=function(){for(var t=this,e=!1,r=Qr;r<=en;r++){var a=t.layersByLevel[r];if(a&&a.length>0){e=!0;break}}return e};Je.invalidateElements=function(t){var e=this;t.length!==0&&(e.lastInvalidationTime=Mt(),!(t.length===0||!e.haveLayers())&&e.updateElementsInLayers(t,function(a,n,i){e.invalidateLayer(a)}))};Je.invalidateLayer=function(t){if(this.lastInvalidationTime=Mt(),!t.invalid){var e=t.level,r=t.eles,a=this.layersByLevel[e];Xt(a,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var n=0;n<r.length;n++){var i=r[n]._private.rscratch.imgLayerCaches;i&&(i[e]=null)}}};Je.refineElementTextures=function(t){var e=this;e.updateElementsInLayers(t,function(a,n,i){var s=a.replacement;if(s||(s=a.replacement=e.makeLayer(a.bb,a.level),s.replaces=a,s.eles=a.eles),!s.reqs)for(var o=0;o<s.eles.length;o++)e.queueLayer(s,s.eles[o])})};Je.enqueueElementRefinement=function(t){this.eleTxrDeqs.merge(t),this.scheduleElementRefinement()};Je.queueLayer=function(t,e){var r=this,a=r.layersQueue,n=t.elesQueue,i=n.hasId=n.hasId||{};if(!t.replacement){if(e){if(i[e.id()])return;n.push(e),i[e.id()]=!0}t.reqs?(t.reqs++,a.updateItem(t)):(t.reqs=1,a.push(t))}};Je.dequeue=function(t){for(var e=this,r=e.layersQueue,a=[],n=0;n<Qy&&r.size()!==0;){var i=r.peek();if(i.replacement){r.pop();continue}if(i.replaces&&i!==i.replaces.replacement){r.pop();continue}if(i.invalid){r.pop();continue}var s=i.elesQueue.shift();s&&(e.drawEleInLayer(i,s,i.level,t),n++),a.length===0&&a.push(!0),i.elesQueue.length===0&&(r.pop(),i.reqs=0,i.replaces&&e.applyLayerReplacement(i),e.requestRedraw())}return a};Je.applyLayerReplacement=function(t){var e=this,r=e.layersByLevel[t.level],a=t.replaces,n=r.indexOf(a);if(!(n<0||a.invalid)){r[n]=t;for(var i=0;i<t.eles.length;i++){var s=t.eles[i]._private,o=s.imgLayerCaches=s.imgLayerCaches||{};o&&(o[t.level]=t)}e.requestRedraw()}};Je.requestRedraw=on.default(function(){var t=this.renderer;t.redrawHint("eles",!0),t.redrawHint("drag",!0),t.redraw()},100);Je.setupDequeueing=dl.setupDequeueing({deqRedrawThreshold:Yy,deqCost:Wy,deqAvgCost:qy,deqNoDrawCost:Ky,deqFastCost:Zy,deq:function(e,r){return e.dequeue(r)},onDeqd:oi,shouldRedraw:go,priority:function(e){return e.renderer.beforeRenderPriorities.lyrTxrDeq}});var pl={},Gs;function tm(t,e){for(var r=0;r<e.length;r++){var a=e[r];t.lineTo(a.x,a.y)}}function rm(t,e,r){for(var a,n=0;n<e.length;n++){var i=e[n];n===0&&(a=i),t.lineTo(i.x,i.y)}t.quadraticCurveTo(r.x,r.y,a.x,a.y)}function zs(t,e,r){t.beginPath&&t.beginPath();for(var a=e,n=0;n<a.length;n++){var i=a[n];t.lineTo(i.x,i.y)}var s=r,o=r[0];t.moveTo(o.x,o.y);for(var n=1;n<s.length;n++){var i=s[n];t.lineTo(i.x,i.y)}t.closePath&&t.closePath()}function am(t,e,r,a,n){t.beginPath&&t.beginPath(),t.arc(r,a,n,0,Math.PI*2,!1);var i=e,s=i[0];t.moveTo(s.x,s.y);for(var o=0;o<i.length;o++){var l=i[o];t.lineTo(l.x,l.y)}t.closePath&&t.closePath()}function nm(t,e,r,a){t.arc(e,r,a,0,Math.PI*2,!1)}pl.arrowShapeImpl=function(t){return(Gs||(Gs={polygon:tm,"triangle-backcurve":rm,"triangle-tee":zs,"circle-triangle":am,"triangle-cross":zs,circle:nm}))[t]};var Nt={};Nt.drawElement=function(t,e,r,a,n,i){var s=this;e.isNode()?s.drawNode(t,e,r,a,n,i):s.drawEdge(t,e,r,a,n,i)};Nt.drawElementOverlay=function(t,e){var r=this;e.isNode()?r.drawNodeOverlay(t,e):r.drawEdgeOverlay(t,e)};Nt.drawElementUnderlay=function(t,e){var r=this;e.isNode()?r.drawNodeUnderlay(t,e):r.drawEdgeUnderlay(t,e)};Nt.drawCachedElementPortion=function(t,e,r,a,n,i,s,o){var l=this,u=r.getBoundingBox(e);if(!(u.w===0||u.h===0)){var f=r.getElement(e,u,a,n,i);if(f!=null){var h=o(l,e);if(h===0)return;var c=s(l,e),v=u.x1,d=u.y1,g=u.w,p=u.h,y,E,m,T,C;if(c!==0){var S=r.getRotationPoint(e);m=S.x,T=S.y,t.translate(m,T),t.rotate(c),C=l.getImgSmoothing(t),C||l.setImgSmoothing(t,!0);var b=r.getRotationOffset(e);y=b.x,E=b.y}else y=v,E=d;var x;h!==1&&(x=t.globalAlpha,t.globalAlpha=x*h),t.drawImage(f.texture.canvas,f.x,0,f.width,f.height,y,E,g,p),h!==1&&(t.globalAlpha=x),c!==0&&(t.rotate(-c),t.translate(-m,-T),C||l.setImgSmoothing(t,!1))}else r.drawElement(t,e)}};var im=function(){return 0},sm=function(e,r){return e.getTextAngle(r,null)},om=function(e,r){return e.getTextAngle(r,"source")},lm=function(e,r){return e.getTextAngle(r,"target")},um=function(e,r){return r.effectiveOpacity()},kn=function(e,r){return r.pstyle("text-opacity").pfValue*r.effectiveOpacity()};Nt.drawCachedElement=function(t,e,r,a,n,i){var s=this,o=s.data,l=o.eleTxrCache,u=o.lblTxrCache,f=o.slbTxrCache,h=o.tlbTxrCache,c=e.boundingBox(),v=i===!0?l.reasons.highQuality:null;if(!(c.w===0||c.h===0||!e.visible())&&(!a||fi(c,a))){var d=e.isEdge(),g=e.element()._private.rscratch.badLine;s.drawElementUnderlay(t,e),s.drawCachedElementPortion(t,e,l,r,n,v,im,um),(!d||!g)&&s.drawCachedElementPortion(t,e,u,r,n,v,sm,kn),d&&!g&&(s.drawCachedElementPortion(t,e,f,r,n,v,om,kn),s.drawCachedElementPortion(t,e,h,r,n,v,lm,kn)),s.drawElementOverlay(t,e)}};Nt.drawElements=function(t,e){for(var r=this,a=0;a<e.length;a++){var n=e[a];r.drawElement(t,n)}};Nt.drawCachedElements=function(t,e,r,a){for(var n=this,i=0;i<e.length;i++){var s=e[i];n.drawCachedElement(t,s,r,a)}};Nt.drawCachedNodes=function(t,e,r,a){for(var n=this,i=0;i<e.length;i++){var s=e[i];s.isNode()&&n.drawCachedElement(t,s,r,a)}};Nt.drawLayeredElements=function(t,e,r,a){var n=this,i=n.data.lyrTxrCache.getLayers(e,r);if(i)for(var s=0;s<i.length;s++){var o=i[s],l=o.bb;l.w===0||l.h===0||t.drawImage(o.canvas,l.x1,l.y1,l.w,l.h)}else n.drawCachedElements(t,e,r,a)};var Bt={};Bt.drawEdge=function(t,e,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,s=this,o=e._private.rscratch;if(!(i&&!e.visible())&&!(o.badLine||o.allpts==null||isNaN(o.allpts[0]))){var l;r&&(l=r,t.translate(-l.x1,-l.y1));var u=i?e.pstyle("opacity").value:1,f=i?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,c=e.pstyle("line-style").value,v=e.pstyle("width").pfValue,d=e.pstyle("line-cap").value,g=u*f,p=u*f,y=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g;h==="straight-triangle"?(s.eleStrokeStyle(t,e,L),s.drawEdgeTrianglePath(e,t,o.allpts)):(t.lineWidth=v,t.lineCap=d,s.eleStrokeStyle(t,e,L),s.drawEdgePath(e,t,o.allpts,c),t.lineCap="butt")},E=function(){n&&s.drawEdgeOverlay(t,e)},m=function(){n&&s.drawEdgeUnderlay(t,e)},T=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p;s.drawArrowheads(t,e,L)},C=function(){s.drawElementText(t,e,null,a)};t.lineJoin="round";var S=e.pstyle("ghost").value==="yes";if(S){var b=e.pstyle("ghost-offset-x").pfValue,x=e.pstyle("ghost-offset-y").pfValue,w=e.pstyle("ghost-opacity").value,D=g*w;t.translate(b,x),y(D),T(D),t.translate(-b,-x)}m(),y(),T(),E(),C(),r&&t.translate(l.x1,l.y1)}};var yl=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a){if(a.visible()){var n=a.pstyle("".concat(e,"-opacity")).value;if(n!==0){var i=this,s=i.usePaths(),o=a._private.rscratch,l=a.pstyle("".concat(e,"-padding")).pfValue,u=2*l,f=a.pstyle("".concat(e,"-color")).value;r.lineWidth=u,o.edgeType==="self"&&!s?r.lineCap="butt":r.lineCap="round",i.colorStrokeStyle(r,f[0],f[1],f[2],n),i.drawEdgePath(a,r,o.allpts,"solid")}}}};Bt.drawEdgeOverlay=yl("overlay");Bt.drawEdgeUnderlay=yl("underlay");Bt.drawEdgePath=function(t,e,r,a){var n=t._private.rscratch,i=e,s,o=!1,l=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,f=t.pstyle("line-dash-offset").pfValue;if(l){var h=r.join("$"),c=n.pathCacheKey&&n.pathCacheKey===h;c?(s=e=n.pathCache,o=!0):(s=e=new Path2D,n.pathCacheKey=h,n.pathCache=s)}if(i.setLineDash)switch(a){case"dotted":i.setLineDash([1,1]);break;case"dashed":i.setLineDash(u),i.lineDashOffset=f;break;case"solid":i.setLineDash([]);break}if(!o&&!n.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(r[0],r[1]),n.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var v=2;v+3<r.length;v+=4)e.quadraticCurveTo(r[v],r[v+1],r[v+2],r[v+3]);break;case"straight":case"segments":case"haystack":for(var d=2;d+1<r.length;d+=2)e.lineTo(r[d],r[d+1]);break}e=i,l?e.stroke(s):e.stroke(),e.setLineDash&&e.setLineDash([])};Bt.drawEdgeTrianglePath=function(t,e,r){e.fillStyle=e.strokeStyle;for(var a=t.pstyle("width").pfValue,n=0;n+1<r.length;n+=2){var i=[r[n+2]-r[n],r[n+3]-r[n+1]],s=Math.sqrt(i[0]*i[0]+i[1]*i[1]),o=[i[1]/s,-i[0]/s],l=[o[0]*a/2,o[1]*a/2];e.beginPath(),e.moveTo(r[n]-l[0],r[n+1]-l[1]),e.lineTo(r[n]+l[0],r[n+1]+l[1]),e.lineTo(r[n+2],r[n+3]),e.closePath(),e.fill()}};Bt.drawArrowheads=function(t,e,r){var a=e._private.rscratch,n=a.edgeType==="haystack";n||this.drawArrowhead(t,e,"source",a.arrowStartX,a.arrowStartY,a.srcArrowAngle,r),this.drawArrowhead(t,e,"mid-target",a.midX,a.midY,a.midtgtArrowAngle,r),this.drawArrowhead(t,e,"mid-source",a.midX,a.midY,a.midsrcArrowAngle,r),n||this.drawArrowhead(t,e,"target",a.arrowEndX,a.arrowEndY,a.tgtArrowAngle,r)};Bt.drawArrowhead=function(t,e,r,a,n,i,s){if(!(isNaN(a)||a==null||isNaN(n)||n==null||isNaN(i)||i==null)){var o=this,l=e.pstyle(r+"-arrow-shape").value;if(l!=="none"){var u=e.pstyle(r+"-arrow-fill").value==="hollow"?"both":"filled",f=e.pstyle(r+"-arrow-fill").value,h=e.pstyle("width").pfValue,c=e.pstyle(r+"-arrow-width"),v=c.value==="match-line"?h:c.pfValue;c.units==="%"&&(v*=h);var d=e.pstyle("opacity").value;s===void 0&&(s=d);var g=t.globalCompositeOperation;(s!==1||f==="hollow")&&(t.globalCompositeOperation="destination-out",o.colorFillStyle(t,255,255,255,1),o.colorStrokeStyle(t,255,255,255,1),o.drawArrowShape(e,t,u,h,l,v,a,n,i),t.globalCompositeOperation=g);var p=e.pstyle(r+"-arrow-color").value;o.colorFillStyle(t,p[0],p[1],p[2],s),o.colorStrokeStyle(t,p[0],p[1],p[2],s),o.drawArrowShape(e,t,f,h,l,v,a,n,i)}}};Bt.drawArrowShape=function(t,e,r,a,n,i,s,o,l){var u=this,f=this.usePaths()&&n!=="triangle-cross",h=!1,c,v=e,d={x:s,y:o},g=t.pstyle("arrow-scale").value,p=this.getArrowWidth(a,g),y=u.arrowShapes[n];if(f){var E=u.arrowPathCache=u.arrowPathCache||[],m=ar(n),T=E[m];T!=null?(c=e=T,h=!0):(c=e=new Path2D,E[m]=c)}h||(e.beginPath&&e.beginPath(),f?y.draw(e,1,0,{x:0,y:0},1):y.draw(e,p,l,d,a),e.closePath&&e.closePath()),e=v,f&&(e.translate(s,o),e.rotate(l),e.scale(p,p)),(r==="filled"||r==="both")&&(f?e.fill(c):e.fill()),(r==="hollow"||r==="both")&&(e.lineWidth=i/(f?p:1),e.lineJoin="miter",f?e.stroke(c):e.stroke()),f&&(e.scale(1/p,1/p),e.rotate(-l),e.translate(-s,-o))};var wi={};wi.safeDrawImage=function(t,e,r,a,n,i,s,o,l,u){if(!(n<=0||i<=0||l<=0||u<=0))try{t.drawImage(e,r,a,n,i,s,o,l,u)}catch(f){Ne(f)}};wi.drawInscribedImage=function(t,e,r,a,n){var i=this,s=r.position(),o=s.x,l=s.y,u=r.cy().style(),f=u.getIndexedStyle.bind(u),h=f(r,"background-fit","value",a),c=f(r,"background-repeat","value",a),v=r.width(),d=r.height(),g=r.padding()*2,p=v+(f(r,"background-width-relative-to","value",a)==="inner"?0:g),y=d+(f(r,"background-height-relative-to","value",a)==="inner"?0:g),E=r._private.rscratch,m=f(r,"background-clip","value",a),T=m==="node",C=f(r,"background-image-opacity","value",a)*n,S=f(r,"background-image-smoothing","value",a),b=e.width||e.cachedW,x=e.height||e.cachedH;(b==null||x==null)&&(document.body.appendChild(e),b=e.cachedW=e.width||e.offsetWidth,x=e.cachedH=e.height||e.offsetHeight,document.body.removeChild(e));var w=b,D=x;if(f(r,"background-width","value",a)!=="auto"&&(f(r,"background-width","units",a)==="%"?w=f(r,"background-width","pfValue",a)*p:w=f(r,"background-width","pfValue",a)),f(r,"background-height","value",a)!=="auto"&&(f(r,"background-height","units",a)==="%"?D=f(r,"background-height","pfValue",a)*y:D=f(r,"background-height","pfValue",a)),!(w===0||D===0)){if(h==="contain"){var A=Math.min(p/w,y/D);w*=A,D*=A}else if(h==="cover"){var A=Math.max(p/w,y/D);w*=A,D*=A}var L=o-p/2,I=f(r,"background-position-x","units",a),O=f(r,"background-position-x","pfValue",a);I==="%"?L+=(p-w)*O:L+=O;var P=f(r,"background-offset-x","units",a),R=f(r,"background-offset-x","pfValue",a);P==="%"?L+=(p-w)*R:L+=R;var M=l-y/2,k=f(r,"background-position-y","units",a),B=f(r,"background-position-y","pfValue",a);k==="%"?M+=(y-D)*B:M+=B;var G=f(r,"background-offset-y","units",a),F=f(r,"background-offset-y","pfValue",a);G==="%"?M+=(y-D)*F:M+=F,E.pathCache&&(L-=o,M-=l,o=0,l=0);var $=t.globalAlpha;t.globalAlpha=C;var U=i.getImgSmoothing(t),_=!1;if(S==="no"&&U?(i.setImgSmoothing(t,!1),_=!0):S==="yes"&&!U&&(i.setImgSmoothing(t,!0),_=!0),c==="no-repeat")T&&(t.save(),E.pathCache?t.clip(E.pathCache):(i.nodeShapes[i.getNodeShape(r)].draw(t,o,l,p,y),t.clip())),i.safeDrawImage(t,e,0,0,b,x,L,M,w,D),T&&t.restore();else{var Y=t.createPattern(e,c);t.fillStyle=Y,i.nodeShapes[i.getNodeShape(r)].draw(t,o,l,p,y),t.translate(L,M),t.fill(),t.translate(-L,-M)}t.globalAlpha=$,_&&i.setImgSmoothing(t,U)}};var hr={};hr.eleTextBiggerThanMin=function(t,e){if(!e){var r=t.cy().zoom(),a=this.getPixelRatio(),n=Math.ceil(ui(r*a));e=Math.pow(2,n)}var i=t.pstyle("font-size").pfValue*e,s=t.pstyle("min-zoomed-font-size").pfValue;return!(i<s)};hr.drawElementText=function(t,e,r,a,n){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,s=this;if(a==null){if(i&&!s.eleTextBiggerThanMin(e))return}else if(a===!1)return;if(e.isNode()){var o=e.pstyle("label");if(!o||!o.value)return;var l=s.getLabelJustification(e);t.textAlign=l,t.textBaseline="bottom"}else{var u=e.element()._private.rscratch.badLine,f=e.pstyle("label"),h=e.pstyle("source-label"),c=e.pstyle("target-label");if(u||(!f||!f.value)&&(!h||!h.value)&&(!c||!c.value))return;t.textAlign="center",t.textBaseline="bottom"}var v=!r,d;r&&(d=r,t.translate(-d.x1,-d.y1)),n==null?(s.drawText(t,e,null,v,i),e.isEdge()&&(s.drawText(t,e,"source",v,i),s.drawText(t,e,"target",v,i))):s.drawText(t,e,n,v,i),r&&t.translate(d.x1,d.y1)};hr.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var r=0;r<this.fontCaches.length;r++)if(e=this.fontCaches[r],e.context===t)return e;return e={context:t},this.fontCaches.push(e),e};hr.setupTextStyle=function(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=e.pstyle("font-style").strValue,n=e.pstyle("font-size").pfValue+"px",i=e.pstyle("font-family").strValue,s=e.pstyle("font-weight").strValue,o=r?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,l=e.pstyle("text-outline-opacity").value*o,u=e.pstyle("color").value,f=e.pstyle("text-outline-color").value;t.font=a+" "+s+" "+n+" "+i,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],o),this.colorStrokeStyle(t,f[0],f[1],f[2],l)};function Pn(t,e,r,a,n){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5,s=arguments.length>6?arguments[6]:void 0;t.beginPath(),t.moveTo(e+i,r),t.lineTo(e+a-i,r),t.quadraticCurveTo(e+a,r,e+a,r+i),t.lineTo(e+a,r+n-i),t.quadraticCurveTo(e+a,r+n,e+a-i,r+n),t.lineTo(e+i,r+n),t.quadraticCurveTo(e,r+n,e,r+n-i),t.lineTo(e,r+i),t.quadraticCurveTo(e,r,e+i,r),t.closePath(),s?t.stroke():t.fill()}hr.getTextAngle=function(t,e){var r,a=t._private,n=a.rscratch,i=e?e+"-":"",s=t.pstyle(i+"text-rotation"),o=xt(n,"labelAngle",e);return s.strValue==="autorotate"?r=t.isEdge()?o:0:s.strValue==="none"?r=0:r=s.pfValue,r};hr.drawText=function(t,e,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=e._private,s=i.rscratch,o=n?e.effectiveOpacity():1;if(!(n&&(o===0||e.pstyle("text-opacity").value===0))){r==="main"&&(r=null);var l=xt(s,"labelX",r),u=xt(s,"labelY",r),f,h,c=this.getLabelText(e,r);if(c!=null&&c!==""&&!isNaN(l)&&!isNaN(u)){this.setupTextStyle(t,e,n);var v=r?r+"-":"",d=xt(s,"labelWidth",r),g=xt(s,"labelHeight",r),p=e.pstyle(v+"text-margin-x").pfValue,y=e.pstyle(v+"text-margin-y").pfValue,E=e.isEdge(),m=e.pstyle("text-halign").value,T=e.pstyle("text-valign").value;E&&(m="center",T="center"),l+=p,u+=y;var C;switch(a?C=this.getTextAngle(e,r):C=0,C!==0&&(f=l,h=u,t.translate(f,h),t.rotate(C),l=0,u=0),T){case"top":break;case"center":u+=g/2;break;case"bottom":u+=g;break}var S=e.pstyle("text-background-opacity").value,b=e.pstyle("text-border-opacity").value,x=e.pstyle("text-border-width").pfValue,w=e.pstyle("text-background-padding").pfValue,D=e.pstyle("text-background-shape").strValue,A=D.indexOf("round")===0,L=2;if(S>0||x>0&&b>0){var I=l-w;switch(m){case"left":I-=d;break;case"center":I-=d/2;break}var O=u-g-w,P=d+2*w,R=g+2*w;if(S>0){var M=t.fillStyle,k=e.pstyle("text-background-color").value;t.fillStyle="rgba("+k[0]+","+k[1]+","+k[2]+","+S*o+")",A?Pn(t,I,O,P,R,L):t.fillRect(I,O,P,R),t.fillStyle=M}if(x>0&&b>0){var B=t.strokeStyle,G=t.lineWidth,F=e.pstyle("text-border-color").value,$=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+F[0]+","+F[1]+","+F[2]+","+b*o+")",t.lineWidth=x,t.setLineDash)switch($){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=x/4,t.setLineDash([]);break;case"solid":t.setLineDash([]);break}if(A?Pn(t,I,O,P,R,L,"stroke"):t.strokeRect(I,O,P,R),$==="double"){var U=x/2;A?Pn(t,I+U,O+U,P-U*2,R-U*2,L,"stroke"):t.strokeRect(I+U,O+U,P-U*2,R-U*2)}t.setLineDash&&t.setLineDash([]),t.lineWidth=G,t.strokeStyle=B}}var _=2*e.pstyle("text-outline-width").pfValue;if(_>0&&(t.lineWidth=_),e.pstyle("text-wrap").value==="wrap"){var Y=xt(s,"labelWrapCachedLines",r),W=xt(s,"labelLineHeight",r),z=d/2,K=this.getLabelJustification(e);switch(K==="auto"||(m==="left"?K==="left"?l+=-d:K==="center"&&(l+=-z):m==="center"?K==="left"?l+=-z:K==="right"&&(l+=z):m==="right"&&(K==="center"?l+=z:K==="right"&&(l+=d))),T){case"top":u-=(Y.length-1)*W;break;case"center":case"bottom":u-=(Y.length-1)*W;break}for(var j=0;j<Y.length;j++)_>0&&t.strokeText(Y[j],l,u),t.fillText(Y[j],l,u),u+=W}else _>0&&t.strokeText(c,l,u),t.fillText(c,l,u);C!==0&&(t.rotate(-C),t.translate(-f,-h))}}};var Gr={};Gr.drawNode=function(t,e,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,s=this,o,l,u=e._private,f=u.rscratch,h=e.position();if(!(!ae(h.x)||!ae(h.y))&&!(i&&!e.visible())){var c=i?e.effectiveOpacity():1,v=s.usePaths(),d,g=!1,p=e.padding();o=e.width()+2*p,l=e.height()+2*p;var y;r&&(y=r,t.translate(-y.x1,-y.y1));for(var E=e.pstyle("background-image"),m=E.value,T=new Array(m.length),C=new Array(m.length),S=0,b=0;b<m.length;b++){var x=m[b],w=T[b]=x!=null&&x!=="none";if(w){var D=e.cy().style().getIndexedStyle(e,"background-image-crossorigin","value",b);S++,C[b]=s.getCachedImage(x,D,function(){u.backgroundTimestamp=Date.now(),e.emitAndNotify("background")})}}var A=e.pstyle("background-blacken").value,L=e.pstyle("border-width").pfValue,I=e.pstyle("background-opacity").value*c,O=e.pstyle("border-color").value,P=e.pstyle("border-style").value,R=e.pstyle("border-opacity").value*c,M=e.pstyle("outline-width").pfValue,k=e.pstyle("outline-color").value,B=e.pstyle("outline-style").value,G=e.pstyle("outline-opacity").value*c,F=e.pstyle("outline-offset").value;t.lineJoin="miter";var $=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:I;s.eleFillStyle(t,e,H)},U=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:R;s.colorStrokeStyle(t,O[0],O[1],O[2],H)},_=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:G;s.colorStrokeStyle(t,k[0],k[1],k[2],H)},Y=function(H,N,V,J){var X=s.nodePathCache=s.nodePathCache||[],q=co(V==="polygon"?V+","+J.join(","):V,""+N,""+H),he=X[q],Z,oe=!1;return he!=null?(Z=he,oe=!0,f.pathCache=Z):(Z=new Path2D,X[q]=f.pathCache=Z),{path:Z,cacheHit:oe}},W=e.pstyle("shape").strValue,z=e.pstyle("shape-polygon-points").pfValue;if(v){t.translate(h.x,h.y);var K=Y(o,l,W,z);d=K.path,g=K.cacheHit}var j=function(){if(!g){var H=h;v&&(H={x:0,y:0}),s.nodeShapes[s.getNodeShape(e)].draw(d||t,H.x,H.y,o,l)}v?t.fill(d):t.fill()},Q=function(){for(var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c,N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,V=u.backgrounding,J=0,X=0;X<C.length;X++){var q=e.cy().style().getIndexedStyle(e,"background-image-containment","value",X);if(N&&q==="over"||!N&&q==="inside"){J++;continue}T[X]&&C[X].complete&&!C[X].error&&(J++,s.drawInscribedImage(t,C[X],e,X,H))}u.backgrounding=J!==S,V!==u.backgrounding&&e.updateStyle(!1)},ee=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c;s.hasPie(e)&&(s.drawPie(t,e,N),H&&(v||s.nodeShapes[s.getNodeShape(e)].draw(t,h.x,h.y,o,l)))},ne=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c,N=(A>0?A:-A)*H,V=A>0?0:255;A!==0&&(s.colorFillStyle(t,V,V,V,N),v?t.fill(d):t.fill())},ce=function(){if(L>0){if(t.lineWidth=L,t.lineCap="butt",t.setLineDash)switch(P){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([]);break}if(v?t.stroke(d):t.stroke(),P==="double"){t.lineWidth=L/3;var H=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",v?t.stroke(d):t.stroke(),t.globalCompositeOperation=H}t.setLineDash&&t.setLineDash([])}},te=function(){if(M>0){if(t.lineWidth=M,t.lineCap="butt",t.setLineDash)switch(B){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([]);break}var H=h;v&&(H={x:0,y:0});var N=s.getNodeShape(e),V=(o+L+(M+F))/o,J=(l+L+(M+F))/l,X=o*V,q=l*J,he=s.nodeShapes[N].points,Z;if(v){var oe=Y(X,q,N,he);Z=oe.path}if(N==="ellipse")s.drawEllipsePath(Z||t,H.x,H.y,X,q);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(N)){var me=0,Se=0,pe=0;N==="round-diamond"?me=(L+F+M)*1.4:N==="round-heptagon"?(me=(L+F+M)*1.075,pe=-(L/2+F+M)/35):N==="round-hexagon"?me=(L+F+M)*1.12:N==="round-pentagon"?(me=(L+F+M)*1.13,pe=-(L/2+F+M)/15):N==="round-tag"?(me=(L+F+M)*1.12,Se=(L/2+M+F)*.07):N==="round-triangle"&&(me=(L+F+M)*(Math.PI/2),pe=-(L+F/2+M)/Math.PI),me!==0&&(V=(o+me)/o,J=(l+me)/l),s.drawRoundPolygonPath(Z||t,H.x+Se,H.y+pe,o*V,l*J,he)}else if(["roundrectangle","round-rectangle"].includes(N))s.drawRoundRectanglePath(Z||t,H.x,H.y,X,q);else if(["cutrectangle","cut-rectangle"].includes(N))s.drawCutRectanglePath(Z||t,H.x,H.y,X,q);else if(["bottomroundrectangle","bottom-round-rectangle"].includes(N))s.drawBottomRoundRectanglePath(Z||t,H.x,H.y,X,q);else if(N==="barrel")s.drawBarrelPath(Z||t,H.x,H.y,X,q);else if(N.startsWith("polygon")||["rhomboid","right-rhomboid","round-tag","tag","vee"].includes(N)){var Te=(L+M+F)/o;he=Wa(qa(he,Te)),s.drawPolygonPath(Z||t,H.x,H.y,o,l,he)}else{var ye=(L+M+F)/o;he=Wa(qa(he,-ye)),s.drawPolygonPath(Z||t,H.x,H.y,o,l,he)}if(v?t.stroke(Z):t.stroke(),B==="double"){t.lineWidth=L/3;var be=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",v?t.stroke(Z):t.stroke(),t.globalCompositeOperation=be}t.setLineDash&&t.setLineDash([])}},re=function(){n&&s.drawNodeOverlay(t,e,h,o,l)},ue=function(){n&&s.drawNodeUnderlay(t,e,h,o,l)},le=function(){s.drawElementText(t,e,null,a)},se=e.pstyle("ghost").value==="yes";if(se){var fe=e.pstyle("ghost-offset-x").pfValue,xe=e.pstyle("ghost-offset-y").pfValue,Ee=e.pstyle("ghost-opacity").value,ge=Ee*c;t.translate(fe,xe),_(),te(),$(Ee*I),j(),Q(ge,!0),U(Ee*R),ce(),ee(A!==0||L!==0),Q(ge,!1),ne(ge),t.translate(-fe,-xe)}v&&t.translate(-h.x,-h.y),ue(),v&&t.translate(h.x,h.y),_(),te(),$(),j(),Q(c,!0),U(),ce(),ee(A!==0||L!==0),Q(c,!1),ne(),v&&t.translate(-h.x,-h.y),le(),re(),r&&t.translate(y.x1,y.y1)}};var ml=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a,n,i,s){var o=this;if(a.visible()){var l=a.pstyle("".concat(e,"-padding")).pfValue,u=a.pstyle("".concat(e,"-opacity")).value,f=a.pstyle("".concat(e,"-color")).value,h=a.pstyle("".concat(e,"-shape")).value;if(u>0){if(n=n||a.position(),i==null||s==null){var c=a.padding();i=a.width()+2*c,s=a.height()+2*c}o.colorFillStyle(r,f[0],f[1],f[2],u),o.nodeShapes[h].draw(r,n.x,n.y,i+l*2,s+l*2),r.fill()}}}};Gr.drawNodeOverlay=ml("overlay");Gr.drawNodeUnderlay=ml("underlay");Gr.hasPie=function(t){return t=t[0],t._private.hasPie};Gr.drawPie=function(t,e,r,a){e=e[0],a=a||e.position();var n=e.cy().style(),i=e.pstyle("pie-size"),s=a.x,o=a.y,l=e.width(),u=e.height(),f=Math.min(l,u)/2,h=0,c=this.usePaths();c&&(s=0,o=0),i.units==="%"?f=f*i.pfValue:i.pfValue!==void 0&&(f=i.pfValue/2);for(var v=1;v<=n.pieBackgroundN;v++){var d=e.pstyle("pie-"+v+"-background-size").value,g=e.pstyle("pie-"+v+"-background-color").value,p=e.pstyle("pie-"+v+"-background-opacity").value*r,y=d/100;y+h>1&&(y=1-h);var E=1.5*Math.PI+2*Math.PI*h,m=2*Math.PI*y,T=E+m;d===0||h>=1||h+y>1||(t.beginPath(),t.moveTo(s,o),t.arc(s,o,f,E,T),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],p),t.fill(),h+=y)}};var vt={},fm=100;vt.getPixelRatio=function(){var t=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var e=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/e};vt.paintCache=function(t){for(var e=this.paintCaches=this.paintCaches||[],r=!0,a,n=0;n<e.length;n++)if(a=e[n],a.context===t){r=!1;break}return r&&(a={context:t},e.push(a)),a};vt.createGradientStyleFor=function(t,e,r,a,n){var i,s=this.usePaths(),o=r.pstyle(e+"-gradient-stop-colors").value,l=r.pstyle(e+"-gradient-stop-positions").pfValue;if(a==="radial-gradient")if(r.isEdge()){var u=r.sourceEndpoint(),f=r.targetEndpoint(),h=r.midpoint(),c=nr(u,h),v=nr(f,h);i=t.createRadialGradient(h.x,h.y,0,h.x,h.y,Math.max(c,v))}else{var d=s?{x:0,y:0}:r.position(),g=r.paddedWidth(),p=r.paddedHeight();i=t.createRadialGradient(d.x,d.y,0,d.x,d.y,Math.max(g,p))}else if(r.isEdge()){var y=r.sourceEndpoint(),E=r.targetEndpoint();i=t.createLinearGradient(y.x,y.y,E.x,E.y)}else{var m=s?{x:0,y:0}:r.position(),T=r.paddedWidth(),C=r.paddedHeight(),S=T/2,b=C/2,x=r.pstyle("background-gradient-direction").value;switch(x){case"to-bottom":i=t.createLinearGradient(m.x,m.y-b,m.x,m.y+b);break;case"to-top":i=t.createLinearGradient(m.x,m.y+b,m.x,m.y-b);break;case"to-left":i=t.createLinearGradient(m.x+S,m.y,m.x-S,m.y);break;case"to-right":i=t.createLinearGradient(m.x-S,m.y,m.x+S,m.y);break;case"to-bottom-right":case"to-right-bottom":i=t.createLinearGradient(m.x-S,m.y-b,m.x+S,m.y+b);break;case"to-top-right":case"to-right-top":i=t.createLinearGradient(m.x-S,m.y+b,m.x+S,m.y-b);break;case"to-bottom-left":case"to-left-bottom":i=t.createLinearGradient(m.x+S,m.y-b,m.x-S,m.y+b);break;case"to-top-left":case"to-left-top":i=t.createLinearGradient(m.x+S,m.y+b,m.x-S,m.y-b);break}}if(!i)return null;for(var w=l.length===o.length,D=o.length,A=0;A<D;A++)i.addColorStop(w?l[A]:A/(D-1),"rgba("+o[A][0]+","+o[A][1]+","+o[A][2]+","+n+")");return i};vt.gradientFillStyle=function(t,e,r,a){var n=this.createGradientStyleFor(t,"background",e,r,a);if(!n)return null;t.fillStyle=n};vt.colorFillStyle=function(t,e,r,a,n){t.fillStyle="rgba("+e+","+r+","+a+","+n+")"};vt.eleFillStyle=function(t,e,r){var a=e.pstyle("background-fill").value;if(a==="linear-gradient"||a==="radial-gradient")this.gradientFillStyle(t,e,a,r);else{var n=e.pstyle("background-color").value;this.colorFillStyle(t,n[0],n[1],n[2],r)}};vt.gradientStrokeStyle=function(t,e,r,a){var n=this.createGradientStyleFor(t,"line",e,r,a);if(!n)return null;t.strokeStyle=n};vt.colorStrokeStyle=function(t,e,r,a,n){t.strokeStyle="rgba("+e+","+r+","+a+","+n+")"};vt.eleStrokeStyle=function(t,e,r){var a=e.pstyle("line-fill").value;if(a==="linear-gradient"||a==="radial-gradient")this.gradientStrokeStyle(t,e,a,r);else{var n=e.pstyle("line-color").value;this.colorStrokeStyle(t,n[0],n[1],n[2],r)}};vt.matchCanvasSize=function(t){var e=this,r=e.data,a=e.findContainerClientCoords(),n=a[2],i=a[3],s=e.getPixelRatio(),o=e.motionBlurPxRatio;(t===e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE]||t===e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG])&&(s=o);var l=n*s,u=i*s,f;if(!(l===e.canvasWidth&&u===e.canvasHeight)){e.fontCaches=null;var h=r.canvasContainer;h.style.width=n+"px",h.style.height=i+"px";for(var c=0;c<e.CANVAS_LAYERS;c++)f=r.canvases[c],f.width=l,f.height=u,f.style.width=n+"px",f.style.height=i+"px";for(var c=0;c<e.BUFFER_COUNT;c++)f=r.bufferCanvases[c],f.width=l,f.height=u,f.style.width=n+"px",f.style.height=i+"px";e.textureMult=1,s<=1&&(f=r.bufferCanvases[e.TEXTURE_BUFFER],e.textureMult=2,f.width=l*e.textureMult,f.height=u*e.textureMult),e.canvasWidth=l,e.canvasHeight=u}};vt.renderTo=function(t,e,r,a){this.render({forcedContext:t,forcedZoom:e,forcedPan:r,drawAllLayers:!0,forcedPxRatio:a})};vt.render=function(t){t=t||mo();var e=t.forcedContext,r=t.drawAllLayers,a=t.drawOnlyNodeLayer,n=t.forcedZoom,i=t.forcedPan,s=this,o=t.forcedPxRatio===void 0?this.getPixelRatio():t.forcedPxRatio,l=s.cy,u=s.data,f=u.canvasNeedsRedraw,h=s.textureOnViewport&&!e&&(s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming),c=t.motionBlur!==void 0?t.motionBlur:s.motionBlur,v=s.motionBlurPxRatio,d=l.hasCompoundNodes(),g=s.hoverData.draggingEles,p=!!(s.hoverData.selecting||s.touchData.selecting);c=c&&!e&&s.motionBlurEnabled&&!p;var y=c;e||(s.prevPxRatio!==o&&(s.invalidateContainerClientCoordsCache(),s.matchCanvasSize(s.container),s.redrawHint("eles",!0),s.redrawHint("drag",!0)),s.prevPxRatio=o),!e&&s.motionBlurTimeout&&clearTimeout(s.motionBlurTimeout),c&&(s.mbFrames==null&&(s.mbFrames=0),s.mbFrames++,s.mbFrames<3&&(y=!1),s.mbFrames>s.minMbLowQualFrames&&(s.motionBlurPxRatio=s.mbPxRBlurry)),s.clearingMotionBlur&&(s.motionBlurPxRatio=1),s.textureDrawLastFrame&&!h&&(f[s.NODE]=!0,f[s.SELECT_BOX]=!0);var E=l.style(),m=l.zoom(),T=n!==void 0?n:m,C=l.pan(),S={x:C.x,y:C.y},b={zoom:m,pan:{x:C.x,y:C.y}},x=s.prevViewport,w=x===void 0||b.zoom!==x.zoom||b.pan.x!==x.pan.x||b.pan.y!==x.pan.y;!w&&!(g&&!d)&&(s.motionBlurPxRatio=1),i&&(S=i),T*=o,S.x*=o,S.y*=o;var D=s.getCachedZSortedEles();function A(te,re,ue,le,se){var fe=te.globalCompositeOperation;te.globalCompositeOperation="destination-out",s.colorFillStyle(te,255,255,255,s.motionBlurTransparency),te.fillRect(re,ue,le,se),te.globalCompositeOperation=fe}function L(te,re){var ue,le,se,fe;!s.clearingMotionBlur&&(te===u.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]||te===u.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG])?(ue={x:C.x*v,y:C.y*v},le=m*v,se=s.canvasWidth*v,fe=s.canvasHeight*v):(ue=S,le=T,se=s.canvasWidth,fe=s.canvasHeight),te.setTransform(1,0,0,1,0,0),re==="motionBlur"?A(te,0,0,se,fe):!e&&(re===void 0||re)&&te.clearRect(0,0,se,fe),r||(te.translate(ue.x,ue.y),te.scale(le,le)),i&&te.translate(i.x,i.y),n&&te.scale(n,n)}if(h||(s.textureDrawLastFrame=!1),h){if(s.textureDrawLastFrame=!0,!s.textureCache){s.textureCache={},s.textureCache.bb=l.mutableElements().boundingBox(),s.textureCache.texture=s.data.bufferCanvases[s.TEXTURE_BUFFER];var I=s.data.bufferContexts[s.TEXTURE_BUFFER];I.setTransform(1,0,0,1,0,0),I.clearRect(0,0,s.canvasWidth*s.textureMult,s.canvasHeight*s.textureMult),s.render({forcedContext:I,drawOnlyNodeLayer:!0,forcedPxRatio:o*s.textureMult});var b=s.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:s.canvasWidth,height:s.canvasHeight};b.mpan={x:(0-b.pan.x)/b.zoom,y:(0-b.pan.y)/b.zoom}}f[s.DRAG]=!1,f[s.NODE]=!1;var O=u.contexts[s.NODE],P=s.textureCache.texture,b=s.textureCache.viewport;O.setTransform(1,0,0,1,0,0),c?A(O,0,0,b.width,b.height):O.clearRect(0,0,b.width,b.height);var R=E.core("outside-texture-bg-color").value,M=E.core("outside-texture-bg-opacity").value;s.colorFillStyle(O,R[0],R[1],R[2],M),O.fillRect(0,0,b.width,b.height);var m=l.zoom();L(O,!1),O.clearRect(b.mpan.x,b.mpan.y,b.width/b.zoom/o,b.height/b.zoom/o),O.drawImage(P,b.mpan.x,b.mpan.y,b.width/b.zoom/o,b.height/b.zoom/o)}else s.textureOnViewport&&!e&&(s.textureCache=null);var k=l.extent(),B=s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming||s.hoverData.draggingEles||s.cy.animated(),G=s.hideEdgesOnViewport&&B,F=[];if(F[s.NODE]=!f[s.NODE]&&c&&!s.clearedForMotionBlur[s.NODE]||s.clearingMotionBlur,F[s.NODE]&&(s.clearedForMotionBlur[s.NODE]=!0),F[s.DRAG]=!f[s.DRAG]&&c&&!s.clearedForMotionBlur[s.DRAG]||s.clearingMotionBlur,F[s.DRAG]&&(s.clearedForMotionBlur[s.DRAG]=!0),f[s.NODE]||r||a||F[s.NODE]){var $=c&&!F[s.NODE]&&v!==1,O=e||($?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]:u.contexts[s.NODE]),U=c&&!$?"motionBlur":void 0;L(O,U),G?s.drawCachedNodes(O,D.nondrag,o,k):s.drawLayeredElements(O,D.nondrag,o,k),s.debug&&s.drawDebugPoints(O,D.nondrag),!r&&!c&&(f[s.NODE]=!1)}if(!a&&(f[s.DRAG]||r||F[s.DRAG])){var $=c&&!F[s.DRAG]&&v!==1,O=e||($?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]:u.contexts[s.DRAG]);L(O,c&&!$?"motionBlur":void 0),G?s.drawCachedNodes(O,D.drag,o,k):s.drawCachedElements(O,D.drag,o,k),s.debug&&s.drawDebugPoints(O,D.drag),!r&&!c&&(f[s.DRAG]=!1)}if(s.showFps||!a&&f[s.SELECT_BOX]&&!r){var O=e||u.contexts[s.SELECT_BOX];if(L(O),s.selection[4]==1&&(s.hoverData.selecting||s.touchData.selecting)){var m=s.cy.zoom(),_=E.core("selection-box-border-width").value/m;O.lineWidth=_,O.fillStyle="rgba("+E.core("selection-box-color").value[0]+","+E.core("selection-box-color").value[1]+","+E.core("selection-box-color").value[2]+","+E.core("selection-box-opacity").value+")",O.fillRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]),_>0&&(O.strokeStyle="rgba("+E.core("selection-box-border-color").value[0]+","+E.core("selection-box-border-color").value[1]+","+E.core("selection-box-border-color").value[2]+","+E.core("selection-box-opacity").value+")",O.strokeRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]))}if(u.bgActivePosistion&&!s.hoverData.selecting){var m=s.cy.zoom(),Y=u.bgActivePosistion;O.fillStyle="rgba("+E.core("active-bg-color").value[0]+","+E.core("active-bg-color").value[1]+","+E.core("active-bg-color").value[2]+","+E.core("active-bg-opacity").value+")",O.beginPath(),O.arc(Y.x,Y.y,E.core("active-bg-size").pfValue/m,0,2*Math.PI),O.fill()}var W=s.lastRedrawTime;if(s.showFps&&W){W=Math.round(W);var z=Math.round(1e3/W);O.setTransform(1,0,0,1,0,0),O.fillStyle="rgba(255, 0, 0, 0.75)",O.strokeStyle="rgba(255, 0, 0, 0.75)",O.lineWidth=1,O.fillText("1 frame = "+W+" ms = "+z+" fps",0,20);var K=60;O.strokeRect(0,30,250,20),O.fillRect(0,30,250*Math.min(z/K,1),20)}r||(f[s.SELECT_BOX]=!1)}if(c&&v!==1){var j=u.contexts[s.NODE],Q=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_NODE],ee=u.contexts[s.DRAG],ne=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_DRAG],ce=function(re,ue,le){re.setTransform(1,0,0,1,0,0),le||!y?re.clearRect(0,0,s.canvasWidth,s.canvasHeight):A(re,0,0,s.canvasWidth,s.canvasHeight);var se=v;re.drawImage(ue,0,0,s.canvasWidth*se,s.canvasHeight*se,0,0,s.canvasWidth,s.canvasHeight)};(f[s.NODE]||F[s.NODE])&&(ce(j,Q,F[s.NODE]),f[s.NODE]=!1),(f[s.DRAG]||F[s.DRAG])&&(ce(ee,ne,F[s.DRAG]),f[s.DRAG]=!1)}s.prevViewport=b,s.clearingMotionBlur&&(s.clearingMotionBlur=!1,s.motionBlurCleared=!0,s.motionBlur=!0),c&&(s.motionBlurTimeout=setTimeout(function(){s.motionBlurTimeout=null,s.clearedForMotionBlur[s.NODE]=!1,s.clearedForMotionBlur[s.DRAG]=!1,s.motionBlur=!1,s.clearingMotionBlur=!h,s.mbFrames=0,f[s.NODE]=!0,f[s.DRAG]=!0,s.redraw()},fm)),e||l.emit("render")};var Qt={};Qt.drawPolygonPath=function(t,e,r,a,n,i){var s=a/2,o=n/2;t.beginPath&&t.beginPath(),t.moveTo(e+s*i[0],r+o*i[1]);for(var l=1;l<i.length/2;l++)t.lineTo(e+s*i[l*2],r+o*i[l*2+1]);t.closePath()};Qt.drawRoundPolygonPath=function(t,e,r,a,n,i){var s=a/2,o=n/2,l=hi(a,n);t.beginPath&&t.beginPath();for(var u=0;u<i.length/4;u++){var f=void 0,h=void 0;u===0?f=i.length-2:f=u*4-2,h=u*4+2;var c=e+s*i[u*4],v=r+o*i[u*4+1],d=-i[f]*i[h]-i[f+1]*i[h+1],g=l/Math.tan(Math.acos(d)/2),p=c-g*i[f],y=v-g*i[f+1],E=c+g*i[h],m=v+g*i[h+1];u===0?t.moveTo(p,y):t.lineTo(p,y),t.arcTo(c,v,E,m,l)}t.closePath()};Qt.drawRoundRectanglePath=function(t,e,r,a,n){var i=a/2,s=n/2,o=da(a,n);t.beginPath&&t.beginPath(),t.moveTo(e,r-s),t.arcTo(e+i,r-s,e+i,r,o),t.arcTo(e+i,r+s,e,r+s,o),t.arcTo(e-i,r+s,e-i,r,o),t.arcTo(e-i,r-s,e,r-s,o),t.lineTo(e,r-s),t.closePath()};Qt.drawBottomRoundRectanglePath=function(t,e,r,a,n){var i=a/2,s=n/2,o=da(a,n);t.beginPath&&t.beginPath(),t.moveTo(e,r-s),t.lineTo(e+i,r-s),t.lineTo(e+i,r),t.arcTo(e+i,r+s,e,r+s,o),t.arcTo(e-i,r+s,e-i,r,o),t.lineTo(e-i,r-s),t.lineTo(e,r-s),t.closePath()};Qt.drawCutRectanglePath=function(t,e,r,a,n){var i=a/2,s=n/2,o=Do();t.beginPath&&t.beginPath(),t.moveTo(e-i+o,r-s),t.lineTo(e+i-o,r-s),t.lineTo(e+i,r-s+o),t.lineTo(e+i,r+s-o),t.lineTo(e+i-o,r+s),t.lineTo(e-i+o,r+s),t.lineTo(e-i,r+s-o),t.lineTo(e-i,r-s+o),t.closePath()};Qt.drawBarrelPath=function(t,e,r,a,n){var i=a/2,s=n/2,o=e-i,l=e+i,u=r-s,f=r+s,h=zn(a,n),c=h.widthOffset,v=h.heightOffset,d=h.ctrlPtOffsetPct*c;t.beginPath&&t.beginPath(),t.moveTo(o,u+v),t.lineTo(o,f-v),t.quadraticCurveTo(o+d,f,o+c,f),t.lineTo(l-c,f),t.quadraticCurveTo(l-d,f,l,f-v),t.lineTo(l,u+v),t.quadraticCurveTo(l-d,u,l-c,u),t.lineTo(o+c,u),t.quadraticCurveTo(o+d,u,o,u+v),t.closePath()};var $s=Math.sin(0),Vs=Math.cos(0),Wn={},qn={},bl=Math.PI/40;for(var mr=0*Math.PI;mr<2*Math.PI;mr+=bl)Wn[mr]=Math.sin(mr),qn[mr]=Math.cos(mr);Qt.drawEllipsePath=function(t,e,r,a,n){if(t.beginPath&&t.beginPath(),t.ellipse)t.ellipse(e,r,a/2,n/2,0,0,2*Math.PI);else for(var i,s,o=a/2,l=n/2,u=0*Math.PI;u<2*Math.PI;u+=bl)i=e-o*Wn[u]*$s+o*qn[u]*Vs,s=r+l*qn[u]*$s+l*Wn[u]*Vs,u===0?t.moveTo(i,s):t.lineTo(i,s);t.closePath()};var ba={};ba.createBuffer=function(t,e){var r=document.createElement("canvas");return r.width=t,r.height=e,[r,r.getContext("2d")]};ba.bufferCanvasImage=function(t){var e=this.cy,r=e.mutableElements(),a=r.boundingBox(),n=this.findContainerClientCoords(),i=t.full?Math.ceil(a.w):n[2],s=t.full?Math.ceil(a.h):n[3],o=ae(t.maxWidth)||ae(t.maxHeight),l=this.getPixelRatio(),u=1;if(t.scale!==void 0)i*=t.scale,s*=t.scale,u=t.scale;else if(o){var f=1/0,h=1/0;ae(t.maxWidth)&&(f=u*t.maxWidth/i),ae(t.maxHeight)&&(h=u*t.maxHeight/s),u=Math.min(f,h),i*=u,s*=u}o||(i*=l,s*=l,u*=l);var c=document.createElement("canvas");c.width=i,c.height=s,c.style.width=i+"px",c.style.height=s+"px";var v=c.getContext("2d");if(i>0&&s>0){v.clearRect(0,0,i,s),v.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)v.translate(-a.x1*u,-a.y1*u),v.scale(u,u),this.drawElements(v,d),v.scale(1/u,1/u),v.translate(a.x1*u,a.y1*u);else{var g=e.pan(),p={x:g.x*u,y:g.y*u};u*=e.zoom(),v.translate(p.x,p.y),v.scale(u,u),this.drawElements(v,d),v.scale(1/u,1/u),v.translate(-p.x,-p.y)}t.bg&&(v.globalCompositeOperation="destination-over",v.fillStyle=t.bg,v.rect(0,0,i,s),v.fill())}return c};function hm(t,e){for(var r=atob(t),a=new ArrayBuffer(r.length),n=new Uint8Array(a),i=0;i<r.length;i++)n[i]=r.charCodeAt(i);return new Blob([a],{type:e})}function _s(t){var e=t.indexOf(",");return t.substr(e+1)}function El(t,e,r){var a=function(){return e.toDataURL(r,t.quality)};switch(t.output){case"blob-promise":return new Rr(function(n,i){try{e.toBlob(function(s){s!=null?n(s):i(new Error("`canvas.toBlob()` sent a null value in its callback"))},r,t.quality)}catch(s){i(s)}});case"blob":return hm(_s(a()),r);case"base64":return _s(a());case"base64uri":default:return a()}}ba.png=function(t){return El(t,this.bufferCanvasImage(t),"image/png")};ba.jpg=function(t){return El(t,this.bufferCanvasImage(t),"image/jpeg")};var wl={};wl.nodeShapeImpl=function(t,e,r,a,n,i,s){switch(t){case"ellipse":return this.drawEllipsePath(e,r,a,n,i);case"polygon":return this.drawPolygonPath(e,r,a,n,i,s);case"round-polygon":return this.drawRoundPolygonPath(e,r,a,n,i,s);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,r,a,n,i);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,r,a,n,i);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,r,a,n,i);case"barrel":return this.drawBarrelPath(e,r,a,n,i)}};var vm=xl,Le=xl.prototype;Le.CANVAS_LAYERS=3;Le.SELECT_BOX=0;Le.DRAG=1;Le.NODE=2;Le.BUFFER_COUNT=3;Le.TEXTURE_BUFFER=0;Le.MOTIONBLUR_BUFFER_NODE=1;Le.MOTIONBLUR_BUFFER_DRAG=2;function xl(t){var e=this;e.data={canvases:new Array(Le.CANVAS_LAYERS),contexts:new Array(Le.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Le.CANVAS_LAYERS),bufferCanvases:new Array(Le.BUFFER_COUNT),bufferContexts:new Array(Le.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",a="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var n=e.data.canvasContainer.style;e.data.canvasContainer.style[r]=a,n.position="relative",n.zIndex="0",n.overflow="hidden";var i=t.cy.container();i.appendChild(e.data.canvasContainer),i.style[r]=a;var s={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};Wc()&&(s["-ms-touch-action"]="none",s["touch-action"]="none");for(var o=0;o<Le.CANVAS_LAYERS;o++){var l=e.data.canvases[o]=document.createElement("canvas");e.data.contexts[o]=l.getContext("2d"),Object.keys(s).forEach(function(W){l.style[W]=s[W]}),l.style.position="absolute",l.setAttribute("data-id","layer"+o),l.style.zIndex=String(Le.CANVAS_LAYERS-o),e.data.canvasContainer.appendChild(l),e.data.canvasNeedsRedraw[o]=!1}e.data.topCanvas=e.data.canvases[0],e.data.canvases[Le.NODE].setAttribute("data-id","layer"+Le.NODE+"-node"),e.data.canvases[Le.SELECT_BOX].setAttribute("data-id","layer"+Le.SELECT_BOX+"-selectbox"),e.data.canvases[Le.DRAG].setAttribute("data-id","layer"+Le.DRAG+"-drag");for(var o=0;o<Le.BUFFER_COUNT;o++)e.data.bufferCanvases[o]=document.createElement("canvas"),e.data.bufferContexts[o]=e.data.bufferCanvases[o].getContext("2d"),e.data.bufferCanvases[o].style.position="absolute",e.data.bufferCanvases[o].setAttribute("data-id","buffer"+o),e.data.bufferCanvases[o].style.zIndex=String(-o-1),e.data.bufferCanvases[o].style.visibility="hidden";e.pathsEnabled=!0;var u=ft(),f=function(z){return{x:(z.x1+z.x2)/2,y:(z.y1+z.y2)/2}},h=function(z){return{x:-z.w/2,y:-z.h/2}},c=function(z){var K=z[0]._private,j=K.oldBackgroundTimestamp===K.backgroundTimestamp;return!j},v=function(z){return z[0]._private.nodeKey},d=function(z){return z[0]._private.labelStyleKey},g=function(z){return z[0]._private.sourceLabelStyleKey},p=function(z){return z[0]._private.targetLabelStyleKey},y=function(z,K,j,Q,ee){return e.drawElement(z,K,j,!1,!1,ee)},E=function(z,K,j,Q,ee){return e.drawElementText(z,K,j,Q,"main",ee)},m=function(z,K,j,Q,ee){return e.drawElementText(z,K,j,Q,"source",ee)},T=function(z,K,j,Q,ee){return e.drawElementText(z,K,j,Q,"target",ee)},C=function(z){return z.boundingBox(),z[0]._private.bodyBounds},S=function(z){return z.boundingBox(),z[0]._private.labelBounds.main||u},b=function(z){return z.boundingBox(),z[0]._private.labelBounds.source||u},x=function(z){return z.boundingBox(),z[0]._private.labelBounds.target||u},w=function(z,K){return K},D=function(z){return f(C(z))},A=function(z,K,j){var Q=z?z+"-":"";return{x:K.x+j.pstyle(Q+"text-margin-x").pfValue,y:K.y+j.pstyle(Q+"text-margin-y").pfValue}},L=function(z,K,j){var Q=z[0]._private.rscratch;return{x:Q[K],y:Q[j]}},I=function(z){return A("",L(z,"labelX","labelY"),z)},O=function(z){return A("source",L(z,"sourceLabelX","sourceLabelY"),z)},P=function(z){return A("target",L(z,"targetLabelX","targetLabelY"),z)},R=function(z){return h(C(z))},M=function(z){return h(b(z))},k=function(z){return h(x(z))},B=function(z){var K=S(z),j=h(S(z));if(z.isNode()){switch(z.pstyle("text-halign").value){case"left":j.x=-K.w;break;case"right":j.x=0;break}switch(z.pstyle("text-valign").value){case"top":j.y=-K.h;break;case"bottom":j.y=0;break}}return j},G=e.data.eleTxrCache=new Kr(e,{getKey:v,doesEleInvalidateKey:c,drawElement:y,getBoundingBox:C,getRotationPoint:D,getRotationOffset:R,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),F=e.data.lblTxrCache=new Kr(e,{getKey:d,drawElement:E,getBoundingBox:S,getRotationPoint:I,getRotationOffset:B,isVisible:w}),$=e.data.slbTxrCache=new Kr(e,{getKey:g,drawElement:m,getBoundingBox:b,getRotationPoint:O,getRotationOffset:M,isVisible:w}),U=e.data.tlbTxrCache=new Kr(e,{getKey:p,drawElement:T,getBoundingBox:x,getRotationPoint:P,getRotationOffset:k,isVisible:w}),_=e.data.lyrTxrCache=new gl(e);e.onUpdateEleCalcs(function(z,K){G.invalidateElements(K),F.invalidateElements(K),$.invalidateElements(K),U.invalidateElements(K),_.invalidateElements(K);for(var j=0;j<K.length;j++){var Q=K[j]._private;Q.oldBackgroundTimestamp=Q.backgroundTimestamp}});var Y=function(z){for(var K=0;K<z.length;K++)_.enqueueElementRefinement(z[K].ele)};G.onDequeue(Y),F.onDequeue(Y),$.onDequeue(Y),U.onDequeue(Y)}Le.redrawHint=function(t,e){var r=this;switch(t){case"eles":r.data.canvasNeedsRedraw[Le.NODE]=e;break;case"drag":r.data.canvasNeedsRedraw[Le.DRAG]=e;break;case"select":r.data.canvasNeedsRedraw[Le.SELECT_BOX]=e;break}};var cm=typeof Path2D<"u";Le.path2dEnabled=function(t){if(t===void 0)return this.pathsEnabled;this.pathsEnabled=!!t};Le.usePaths=function(){return cm&&this.pathsEnabled};Le.setImgSmoothing=function(t,e){t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e)};Le.getImgSmoothing=function(t){return t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled};Le.makeOffscreenCanvas=function(t,e){var r;return(typeof OffscreenCanvas>"u"?"undefined":Ue(OffscreenCanvas))!=="undefined"?r=new OffscreenCanvas(t,e):(r=document.createElement("canvas"),r.width=t,r.height=e),r};[pl,Nt,Bt,wi,hr,Gr,vt,Qt,ba,wl].forEach(function(t){de(Le,t)});var dm=[{name:"null",impl:sl},{name:"base",impl:cl},{name:"canvas",impl:vm}],gm=[{type:"layout",extensions:Ty},{type:"renderer",extensions:dm}],Tl={},Cl={};function Dl(t,e,r){var a=r,n=function(x){Ne("Can not register `"+e+"` for `"+t+"` since `"+x+"` already exists in the prototype and can not be overridden")};if(t==="core"){if(oa.prototype[e])return n(e);oa.prototype[e]=r}else if(t==="collection"){if(Ze.prototype[e])return n(e);Ze.prototype[e]=r}else if(t==="layout"){for(var i=function(x){this.options=x,r.call(this,x),De(this._private)||(this._private={}),this._private.cy=x.cy,this._private.listeners=[],this.createEmitter()},s=i.prototype=Object.create(r.prototype),o=[],l=0;l<o.length;l++){var u=o[l];s[u]=s[u]||function(){return this}}s.start&&!s.run?s.run=function(){return this.start(),this}:!s.start&&s.run&&(s.start=function(){return this.run(),this});var f=r.prototype.stop;s.stop=function(){var b=this.options;if(b&&b.animate){var x=this.animations;if(x)for(var w=0;w<x.length;w++)x[w].stop()}return f?f.call(this):this.emit("layoutstop"),this},s.destroy||(s.destroy=function(){return this}),s.cy=function(){return this._private.cy};var h=function(x){return x._private.cy},c={addEventFields:function(x,w){w.layout=x,w.cy=h(x),w.target=x},bubble:function(){return!0},parent:function(x){return h(x)}};de(s,{createEmitter:function(){return this._private.emitter=new cn(c,this),this},emitter:function(){return this._private.emitter},on:function(x,w){return this.emitter().on(x,w),this},one:function(x,w){return this.emitter().one(x,w),this},once:function(x,w){return this.emitter().one(x,w),this},removeListener:function(x,w){return this.emitter().removeListener(x,w),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(x,w){return this.emitter().emit(x,w),this}}),Oe.eventAliasesOn(s),a=i}else if(t==="renderer"&&e!=="null"&&e!=="base"){var v=Sl("renderer","base"),d=v.prototype,g=r,p=r.prototype,y=function(){v.apply(this,arguments),g.apply(this,arguments)},E=y.prototype;for(var m in d){var T=d[m],C=p[m]!=null;if(C)return n(m);E[m]=T}for(var S in p)E[S]=p[S];d.clientFunctions.forEach(function(b){E[b]=E[b]||function(){Ge("Renderer does not implement `renderer."+b+"()` on its prototype")}}),a=y}else if(t==="__proto__"||t==="constructor"||t==="prototype")return Ge(t+" is an illegal type to be registered, possibly lead to prototype pollutions");return lo({map:Tl,keys:[t,e],value:a})}function Sl(t,e){return uo({map:Tl,keys:[t,e]})}function pm(t,e,r,a,n){return lo({map:Cl,keys:[t,e,r,a],value:n})}function ym(t,e,r,a){return uo({map:Cl,keys:[t,e,r,a]})}var Kn=function(){if(arguments.length===2)return Sl.apply(null,arguments);if(arguments.length===3)return Dl.apply(null,arguments);if(arguments.length===4)return ym.apply(null,arguments);if(arguments.length===5)return pm.apply(null,arguments);Ge("Invalid extension access syntax")};oa.prototype.extension=Kn;gm.forEach(function(t){t.extensions.forEach(function(e){Dl(t.type,e.name,e.impl)})});var Ll=function t(){if(!(this instanceof t))return new t;this.length=0},or=Ll.prototype;or.instanceString=function(){return"stylesheet"};or.selector=function(t){var e=this.length++;return this[e]={selector:t,properties:[]},this};or.css=function(t,e){var r=this.length-1;if(ve(t))this[r].properties.push({name:t,value:e});else if(De(t))for(var a=t,n=Object.keys(a),i=0;i<n.length;i++){var s=n[i],o=a[s];if(o!=null){var l=et.properties[s]||et.properties[ln(s)];if(l!=null){var u=l.name,f=o;this[r].properties.push({name:u,value:f})}}}return this};or.style=or.css;or.generateStyle=function(t){var e=new et(t);return this.appendToStyle(e)};or.appendToStyle=function(t){for(var e=0;e<this.length;e++){var r=this[e],a=r.selector,n=r.properties;t.selector(a);for(var i=0;i<n.length;i++){var s=n[i];t.css(s.name,s.value)}}return t};var mm="3.28.1",lr=function(e){if(e===void 0&&(e={}),De(e))return new oa(e);if(ve(e))return Kn.apply(Kn,arguments)};lr.use=function(t){var e=Array.prototype.slice.call(arguments,1);return e.unshift(lr),t.apply(null,e),this};lr.warnings=function(t){return po(t)};lr.version=mm;lr.stylesheet=lr.Stylesheet=Ll;var bm=lr;const Al=Ys(bm);var Ol={exports:{}},Bn={exports:{}},Fn={exports:{}},Us;function Em(){return Us||(Us=1,function(t,e){(function(a,n){t.exports=n()})(Vt,function(){return function(r){var a={};function n(i){if(a[i])return a[i].exports;var s=a[i]={i,l:!1,exports:{}};return r[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=r,n.c=a,n.i=function(i){return i},n.d=function(i,s,o){n.o(i,s)||Object.defineProperty(i,s,{configurable:!1,enumerable:!0,get:o})},n.n=function(i){var s=i&&i.__esModule?function(){return i.default}:function(){return i};return n.d(s,"a",s),s},n.o=function(i,s){return Object.prototype.hasOwnProperty.call(i,s)},n.p="",n(n.s=26)}([function(r,a,n){function i(){}i.QUALITY=1,i.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,i.DEFAULT_INCREMENTAL=!1,i.DEFAULT_ANIMATION_ON_LAYOUT=!0,i.DEFAULT_ANIMATION_DURING_LAYOUT=!1,i.DEFAULT_ANIMATION_PERIOD=50,i.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,i.DEFAULT_GRAPH_MARGIN=15,i.NODE_DIMENSIONS_INCLUDE_LABELS=!1,i.SIMPLE_NODE_SIZE=40,i.SIMPLE_NODE_HALF_SIZE=i.SIMPLE_NODE_SIZE/2,i.EMPTY_COMPOUND_NODE_SIZE=40,i.MIN_EDGE_LENGTH=1,i.WORLD_BOUNDARY=1e6,i.INITIAL_WORLD_BOUNDARY=i.WORLD_BOUNDARY/1e3,i.WORLD_CENTER_X=1200,i.WORLD_CENTER_Y=900,r.exports=i},function(r,a,n){var i=n(2),s=n(8),o=n(9);function l(f,h,c){i.call(this,c),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=c,this.bendpoints=[],this.source=f,this.target=h}l.prototype=Object.create(i.prototype);for(var u in i)l[u]=i[u];l.prototype.getSource=function(){return this.source},l.prototype.getTarget=function(){return this.target},l.prototype.isInterGraph=function(){return this.isInterGraph},l.prototype.getLength=function(){return this.length},l.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},l.prototype.getBendpoints=function(){return this.bendpoints},l.prototype.getLca=function(){return this.lca},l.prototype.getSourceInLca=function(){return this.sourceInLca},l.prototype.getTargetInLca=function(){return this.targetInLca},l.prototype.getOtherEnd=function(f){if(this.source===f)return this.target;if(this.target===f)return this.source;throw"Node is not incident with this edge"},l.prototype.getOtherEndInGraph=function(f,h){for(var c=this.getOtherEnd(f),v=h.getGraphManager().getRoot();;){if(c.getOwner()==h)return c;if(c.getOwner()==v)break;c=c.getOwner().getParent()}return null},l.prototype.updateLength=function(){var f=new Array(4);this.isOverlapingSourceAndTarget=s.getIntersection(this.target.getRect(),this.source.getRect(),f),this.isOverlapingSourceAndTarget||(this.lengthX=f[0]-f[2],this.lengthY=f[1]-f[3],Math.abs(this.lengthX)<1&&(this.lengthX=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},l.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},r.exports=l},function(r,a,n){function i(s){this.vGraphObject=s}r.exports=i},function(r,a,n){var i=n(2),s=n(10),o=n(13),l=n(0),u=n(16),f=n(4);function h(v,d,g,p){g==null&&p==null&&(p=d),i.call(this,p),v.graphManager!=null&&(v=v.graphManager),this.estimatedSize=s.MIN_VALUE,this.inclusionTreeDepth=s.MAX_VALUE,this.vGraphObject=p,this.edges=[],this.graphManager=v,g!=null&&d!=null?this.rect=new o(d.x,d.y,g.width,g.height):this.rect=new o}h.prototype=Object.create(i.prototype);for(var c in i)h[c]=i[c];h.prototype.getEdges=function(){return this.edges},h.prototype.getChild=function(){return this.child},h.prototype.getOwner=function(){return this.owner},h.prototype.getWidth=function(){return this.rect.width},h.prototype.setWidth=function(v){this.rect.width=v},h.prototype.getHeight=function(){return this.rect.height},h.prototype.setHeight=function(v){this.rect.height=v},h.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},h.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},h.prototype.getCenter=function(){return new f(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},h.prototype.getLocation=function(){return new f(this.rect.x,this.rect.y)},h.prototype.getRect=function(){return this.rect},h.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},h.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},h.prototype.setRect=function(v,d){this.rect.x=v.x,this.rect.y=v.y,this.rect.width=d.width,this.rect.height=d.height},h.prototype.setCenter=function(v,d){this.rect.x=v-this.rect.width/2,this.rect.y=d-this.rect.height/2},h.prototype.setLocation=function(v,d){this.rect.x=v,this.rect.y=d},h.prototype.moveBy=function(v,d){this.rect.x+=v,this.rect.y+=d},h.prototype.getEdgeListToNode=function(v){var d=[],g=this;return g.edges.forEach(function(p){if(p.target==v){if(p.source!=g)throw"Incorrect edge source!";d.push(p)}}),d},h.prototype.getEdgesBetween=function(v){var d=[],g=this;return g.edges.forEach(function(p){if(!(p.source==g||p.target==g))throw"Incorrect edge source and/or target";(p.target==v||p.source==v)&&d.push(p)}),d},h.prototype.getNeighborsList=function(){var v=new Set,d=this;return d.edges.forEach(function(g){if(g.source==d)v.add(g.target);else{if(g.target!=d)throw"Incorrect incidency!";v.add(g.source)}}),v},h.prototype.withChildren=function(){var v=new Set,d,g;if(v.add(this),this.child!=null)for(var p=this.child.getNodes(),y=0;y<p.length;y++)d=p[y],g=d.withChildren(),g.forEach(function(E){v.add(E)});return v},h.prototype.getNoOfChildren=function(){var v=0,d;if(this.child==null)v=1;else for(var g=this.child.getNodes(),p=0;p<g.length;p++)d=g[p],v+=d.getNoOfChildren();return v==0&&(v=1),v},h.prototype.getEstimatedSize=function(){if(this.estimatedSize==s.MIN_VALUE)throw"assert failed";return this.estimatedSize},h.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},h.prototype.scatter=function(){var v,d,g=-l.INITIAL_WORLD_BOUNDARY,p=l.INITIAL_WORLD_BOUNDARY;v=l.WORLD_CENTER_X+u.nextDouble()*(p-g)+g;var y=-l.INITIAL_WORLD_BOUNDARY,E=l.INITIAL_WORLD_BOUNDARY;d=l.WORLD_CENTER_Y+u.nextDouble()*(E-y)+y,this.rect.x=v,this.rect.y=d},h.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var v=this.getChild();if(v.updateBounds(!0),this.rect.x=v.getLeft(),this.rect.y=v.getTop(),this.setWidth(v.getRight()-v.getLeft()),this.setHeight(v.getBottom()-v.getTop()),l.NODE_DIMENSIONS_INCLUDE_LABELS){var d=v.getRight()-v.getLeft(),g=v.getBottom()-v.getTop();this.labelWidth>d&&(this.rect.x-=(this.labelWidth-d)/2,this.setWidth(this.labelWidth)),this.labelHeight>g&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-g)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-g),this.setHeight(this.labelHeight))}}},h.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},h.prototype.transform=function(v){var d=this.rect.x;d>l.WORLD_BOUNDARY?d=l.WORLD_BOUNDARY:d<-l.WORLD_BOUNDARY&&(d=-l.WORLD_BOUNDARY);var g=this.rect.y;g>l.WORLD_BOUNDARY?g=l.WORLD_BOUNDARY:g<-l.WORLD_BOUNDARY&&(g=-l.WORLD_BOUNDARY);var p=new f(d,g),y=v.inverseTransformPoint(p);this.setLocation(y.x,y.y)},h.prototype.getLeft=function(){return this.rect.x},h.prototype.getRight=function(){return this.rect.x+this.rect.width},h.prototype.getTop=function(){return this.rect.y},h.prototype.getBottom=function(){return this.rect.y+this.rect.height},h.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},r.exports=h},function(r,a,n){function i(s,o){s==null&&o==null?(this.x=0,this.y=0):(this.x=s,this.y=o)}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.setX=function(s){this.x=s},i.prototype.setY=function(s){this.y=s},i.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},i.prototype.getCopy=function(){return new i(this.x,this.y)},i.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},r.exports=i},function(r,a,n){var i=n(2),s=n(10),o=n(0),l=n(6),u=n(3),f=n(1),h=n(13),c=n(12),v=n(11);function d(p,y,E){i.call(this,E),this.estimatedSize=s.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=p,y!=null&&y instanceof l?this.graphManager=y:y!=null&&y instanceof Layout&&(this.graphManager=y.graphManager)}d.prototype=Object.create(i.prototype);for(var g in i)d[g]=i[g];d.prototype.getNodes=function(){return this.nodes},d.prototype.getEdges=function(){return this.edges},d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getParent=function(){return this.parent},d.prototype.getLeft=function(){return this.left},d.prototype.getRight=function(){return this.right},d.prototype.getTop=function(){return this.top},d.prototype.getBottom=function(){return this.bottom},d.prototype.isConnected=function(){return this.isConnected},d.prototype.add=function(p,y,E){if(y==null&&E==null){var m=p;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(m)>-1)throw"Node already in graph!";return m.owner=this,this.getNodes().push(m),m}else{var T=p;if(!(this.getNodes().indexOf(y)>-1&&this.getNodes().indexOf(E)>-1))throw"Source or target not in graph!";if(!(y.owner==E.owner&&y.owner==this))throw"Both owners must be this graph!";return y.owner!=E.owner?null:(T.source=y,T.target=E,T.isInterGraph=!1,this.getEdges().push(T),y.edges.push(T),E!=y&&E.edges.push(T),T)}},d.prototype.remove=function(p){var y=p;if(p instanceof u){if(y==null)throw"Node is null!";if(!(y.owner!=null&&y.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var E=y.edges.slice(),m,T=E.length,C=0;C<T;C++)m=E[C],m.isInterGraph?this.graphManager.remove(m):m.source.owner.remove(m);var S=this.nodes.indexOf(y);if(S==-1)throw"Node not in owner node list!";this.nodes.splice(S,1)}else if(p instanceof f){var m=p;if(m==null)throw"Edge is null!";if(!(m.source!=null&&m.target!=null))throw"Source and/or target is null!";if(!(m.source.owner!=null&&m.target.owner!=null&&m.source.owner==this&&m.target.owner==this))throw"Source and/or target owner is invalid!";var b=m.source.edges.indexOf(m),x=m.target.edges.indexOf(m);if(!(b>-1&&x>-1))throw"Source and/or target doesn't know this edge!";m.source.edges.splice(b,1),m.target!=m.source&&m.target.edges.splice(x,1);var S=m.source.owner.getEdges().indexOf(m);if(S==-1)throw"Not in owner's edge list!";m.source.owner.getEdges().splice(S,1)}},d.prototype.updateLeftTop=function(){for(var p=s.MAX_VALUE,y=s.MAX_VALUE,E,m,T,C=this.getNodes(),S=C.length,b=0;b<S;b++){var x=C[b];E=x.getTop(),m=x.getLeft(),p>E&&(p=E),y>m&&(y=m)}return p==s.MAX_VALUE?null:(C[0].getParent().paddingLeft!=null?T=C[0].getParent().paddingLeft:T=this.margin,this.left=y-T,this.top=p-T,new c(this.left,this.top))},d.prototype.updateBounds=function(p){for(var y=s.MAX_VALUE,E=-s.MAX_VALUE,m=s.MAX_VALUE,T=-s.MAX_VALUE,C,S,b,x,w,D=this.nodes,A=D.length,L=0;L<A;L++){var I=D[L];p&&I.child!=null&&I.updateBounds(),C=I.getLeft(),S=I.getRight(),b=I.getTop(),x=I.getBottom(),y>C&&(y=C),E<S&&(E=S),m>b&&(m=b),T<x&&(T=x)}var O=new h(y,m,E-y,T-m);y==s.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),D[0].getParent().paddingLeft!=null?w=D[0].getParent().paddingLeft:w=this.margin,this.left=O.x-w,this.right=O.x+O.width+w,this.top=O.y-w,this.bottom=O.y+O.height+w},d.calculateBounds=function(p){for(var y=s.MAX_VALUE,E=-s.MAX_VALUE,m=s.MAX_VALUE,T=-s.MAX_VALUE,C,S,b,x,w=p.length,D=0;D<w;D++){var A=p[D];C=A.getLeft(),S=A.getRight(),b=A.getTop(),x=A.getBottom(),y>C&&(y=C),E<S&&(E=S),m>b&&(m=b),T<x&&(T=x)}var L=new h(y,m,E-y,T-m);return L},d.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},d.prototype.getEstimatedSize=function(){if(this.estimatedSize==s.MIN_VALUE)throw"assert failed";return this.estimatedSize},d.prototype.calcEstimatedSize=function(){for(var p=0,y=this.nodes,E=y.length,m=0;m<E;m++){var T=y[m];p+=T.calcEstimatedSize()}return p==0?this.estimatedSize=o.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=p/Math.sqrt(this.nodes.length),this.estimatedSize},d.prototype.updateConnected=function(){var p=this;if(this.nodes.length==0){this.isConnected=!0;return}var y=new v,E=new Set,m=this.nodes[0],T,C,S=m.withChildren();for(S.forEach(function(L){y.push(L),E.add(L)});y.length!==0;){m=y.shift(),T=m.getEdges();for(var b=T.length,x=0;x<b;x++){var w=T[x];if(C=w.getOtherEndInGraph(m,this),C!=null&&!E.has(C)){var D=C.withChildren();D.forEach(function(L){y.push(L),E.add(L)})}}}if(this.isConnected=!1,E.size>=this.nodes.length){var A=0;E.forEach(function(L){L.owner==p&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},r.exports=d},function(r,a,n){var i,s=n(1);function o(l){i=n(5),this.layout=l,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var l=this.layout.newGraph(),u=this.layout.newNode(null),f=this.add(l,u);return this.setRootGraph(f),this.rootGraph},o.prototype.add=function(l,u,f,h,c){if(f==null&&h==null&&c==null){if(l==null)throw"Graph is null!";if(u==null)throw"Parent node is null!";if(this.graphs.indexOf(l)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(l),l.parent!=null)throw"Already has a parent!";if(u.child!=null)throw"Already has a child!";return l.parent=u,u.child=l,l}else{c=f,h=u,f=l;var v=h.getOwner(),d=c.getOwner();if(!(v!=null&&v.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(d!=null&&d.getGraphManager()==this))throw"Target not in this graph mgr!";if(v==d)return f.isInterGraph=!1,v.add(f,h,c);if(f.isInterGraph=!0,f.source=h,f.target=c,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},o.prototype.remove=function(l){if(l instanceof i){var u=l;if(u.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(u==this.rootGraph||u.parent!=null&&u.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(u.getEdges());for(var h,c=f.length,v=0;v<c;v++)h=f[v],u.remove(h);var d=[];d=d.concat(u.getNodes());var g;c=d.length;for(var v=0;v<c;v++)g=d[v],u.remove(g);u==this.rootGraph&&this.setRootGraph(null);var p=this.graphs.indexOf(u);this.graphs.splice(p,1),u.parent=null}else if(l instanceof s){if(h=l,h==null)throw"Edge is null!";if(!h.isInterGraph)throw"Not an inter-graph edge!";if(!(h.source!=null&&h.target!=null))throw"Source and/or target is null!";if(!(h.source.edges.indexOf(h)!=-1&&h.target.edges.indexOf(h)!=-1))throw"Source and/or target doesn't know this edge!";var p=h.source.edges.indexOf(h);if(h.source.edges.splice(p,1),p=h.target.edges.indexOf(h),h.target.edges.splice(p,1),!(h.source.owner!=null&&h.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(h.source.owner.getGraphManager().edges.indexOf(h)==-1)throw"Not in owner graph manager's edge list!";var p=h.source.owner.getGraphManager().edges.indexOf(h);h.source.owner.getGraphManager().edges.splice(p,1)}},o.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},o.prototype.getGraphs=function(){return this.graphs},o.prototype.getAllNodes=function(){if(this.allNodes==null){for(var l=[],u=this.getGraphs(),f=u.length,h=0;h<f;h++)l=l.concat(u[h].getNodes());this.allNodes=l}return this.allNodes},o.prototype.resetAllNodes=function(){this.allNodes=null},o.prototype.resetAllEdges=function(){this.allEdges=null},o.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},o.prototype.getAllEdges=function(){if(this.allEdges==null){var l=[],u=this.getGraphs();u.length;for(var f=0;f<u.length;f++)l=l.concat(u[f].getEdges());l=l.concat(this.edges),this.allEdges=l}return this.allEdges},o.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},o.prototype.setAllNodesToApplyGravitation=function(l){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=l},o.prototype.getRoot=function(){return this.rootGraph},o.prototype.setRootGraph=function(l){if(l.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=l,l.parent==null&&(l.parent=this.layout.newNode("Root node"))},o.prototype.getLayout=function(){return this.layout},o.prototype.isOneAncestorOfOther=function(l,u){if(!(l!=null&&u!=null))throw"assert failed";if(l==u)return!0;var f=l.getOwner(),h;do{if(h=f.getParent(),h==null)break;if(h==u)return!0;if(f=h.getOwner(),f==null)break}while(!0);f=u.getOwner();do{if(h=f.getParent(),h==null)break;if(h==l)return!0;if(f=h.getOwner(),f==null)break}while(!0);return!1},o.prototype.calcLowestCommonAncestors=function(){for(var l,u,f,h,c,v=this.getAllEdges(),d=v.length,g=0;g<d;g++){if(l=v[g],u=l.source,f=l.target,l.lca=null,l.sourceInLca=u,l.targetInLca=f,u==f){l.lca=u.getOwner();continue}for(h=u.getOwner();l.lca==null;){for(l.targetInLca=f,c=f.getOwner();l.lca==null;){if(c==h){l.lca=c;break}if(c==this.rootGraph)break;if(l.lca!=null)throw"assert failed";l.targetInLca=c.getParent(),c=l.targetInLca.getOwner()}if(h==this.rootGraph)break;l.lca==null&&(l.sourceInLca=h.getParent(),h=l.sourceInLca.getOwner())}if(l.lca==null)throw"assert failed"}},o.prototype.calcLowestCommonAncestor=function(l,u){if(l==u)return l.getOwner();var f=l.getOwner();do{if(f==null)break;var h=u.getOwner();do{if(h==null)break;if(h==f)return h;h=h.getParent().getOwner()}while(!0);f=f.getParent().getOwner()}while(!0);return f},o.prototype.calcInclusionTreeDepths=function(l,u){l==null&&u==null&&(l=this.rootGraph,u=1);for(var f,h=l.getNodes(),c=h.length,v=0;v<c;v++)f=h[v],f.inclusionTreeDepth=u,f.child!=null&&this.calcInclusionTreeDepths(f.child,u+1)},o.prototype.includesInvalidEdge=function(){for(var l,u=this.edges.length,f=0;f<u;f++)if(l=this.edges[f],this.isOneAncestorOfOther(l.source,l.target))return!0;return!1},r.exports=o},function(r,a,n){var i=n(0);function s(){}for(var o in i)s[o]=i[o];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,r.exports=s},function(r,a,n){var i=n(12);function s(){}s.calcSeparationAmount=function(o,l,u,f){if(!o.intersects(l))throw"assert failed";var h=new Array(2);this.decideDirectionsForOverlappingNodes(o,l,h),u[0]=Math.min(o.getRight(),l.getRight())-Math.max(o.x,l.x),u[1]=Math.min(o.getBottom(),l.getBottom())-Math.max(o.y,l.y),o.getX()<=l.getX()&&o.getRight()>=l.getRight()?u[0]+=Math.min(l.getX()-o.getX(),o.getRight()-l.getRight()):l.getX()<=o.getX()&&l.getRight()>=o.getRight()&&(u[0]+=Math.min(o.getX()-l.getX(),l.getRight()-o.getRight())),o.getY()<=l.getY()&&o.getBottom()>=l.getBottom()?u[1]+=Math.min(l.getY()-o.getY(),o.getBottom()-l.getBottom()):l.getY()<=o.getY()&&l.getBottom()>=o.getBottom()&&(u[1]+=Math.min(o.getY()-l.getY(),l.getBottom()-o.getBottom()));var c=Math.abs((l.getCenterY()-o.getCenterY())/(l.getCenterX()-o.getCenterX()));l.getCenterY()===o.getCenterY()&&l.getCenterX()===o.getCenterX()&&(c=1);var v=c*u[0],d=u[1]/c;u[0]<d?d=u[0]:v=u[1],u[0]=-1*h[0]*(d/2+f),u[1]=-1*h[1]*(v/2+f)},s.decideDirectionsForOverlappingNodes=function(o,l,u){o.getCenterX()<l.getCenterX()?u[0]=-1:u[0]=1,o.getCenterY()<l.getCenterY()?u[1]=-1:u[1]=1},s.getIntersection2=function(o,l,u){var f=o.getCenterX(),h=o.getCenterY(),c=l.getCenterX(),v=l.getCenterY();if(o.intersects(l))return u[0]=f,u[1]=h,u[2]=c,u[3]=v,!0;var d=o.getX(),g=o.getY(),p=o.getRight(),y=o.getX(),E=o.getBottom(),m=o.getRight(),T=o.getWidthHalf(),C=o.getHeightHalf(),S=l.getX(),b=l.getY(),x=l.getRight(),w=l.getX(),D=l.getBottom(),A=l.getRight(),L=l.getWidthHalf(),I=l.getHeightHalf(),O=!1,P=!1;if(f===c){if(h>v)return u[0]=f,u[1]=g,u[2]=c,u[3]=D,!1;if(h<v)return u[0]=f,u[1]=E,u[2]=c,u[3]=b,!1}else if(h===v){if(f>c)return u[0]=d,u[1]=h,u[2]=x,u[3]=v,!1;if(f<c)return u[0]=p,u[1]=h,u[2]=S,u[3]=v,!1}else{var R=o.height/o.width,M=l.height/l.width,k=(v-h)/(c-f),B=void 0,G=void 0,F=void 0,$=void 0,U=void 0,_=void 0;if(-R===k?f>c?(u[0]=y,u[1]=E,O=!0):(u[0]=p,u[1]=g,O=!0):R===k&&(f>c?(u[0]=d,u[1]=g,O=!0):(u[0]=m,u[1]=E,O=!0)),-M===k?c>f?(u[2]=w,u[3]=D,P=!0):(u[2]=x,u[3]=b,P=!0):M===k&&(c>f?(u[2]=S,u[3]=b,P=!0):(u[2]=A,u[3]=D,P=!0)),O&&P)return!1;if(f>c?h>v?(B=this.getCardinalDirection(R,k,4),G=this.getCardinalDirection(M,k,2)):(B=this.getCardinalDirection(-R,k,3),G=this.getCardinalDirection(-M,k,1)):h>v?(B=this.getCardinalDirection(-R,k,1),G=this.getCardinalDirection(-M,k,3)):(B=this.getCardinalDirection(R,k,2),G=this.getCardinalDirection(M,k,4)),!O)switch(B){case 1:$=g,F=f+-C/k,u[0]=F,u[1]=$;break;case 2:F=m,$=h+T*k,u[0]=F,u[1]=$;break;case 3:$=E,F=f+C/k,u[0]=F,u[1]=$;break;case 4:F=y,$=h+-T*k,u[0]=F,u[1]=$;break}if(!P)switch(G){case 1:_=b,U=c+-I/k,u[2]=U,u[3]=_;break;case 2:U=A,_=v+L*k,u[2]=U,u[3]=_;break;case 3:_=D,U=c+I/k,u[2]=U,u[3]=_;break;case 4:U=w,_=v+-L*k,u[2]=U,u[3]=_;break}}return!1},s.getCardinalDirection=function(o,l,u){return o>l?u:1+u%4},s.getIntersection=function(o,l,u,f){if(f==null)return this.getIntersection2(o,l,u);var h=o.x,c=o.y,v=l.x,d=l.y,g=u.x,p=u.y,y=f.x,E=f.y,m=void 0,T=void 0,C=void 0,S=void 0,b=void 0,x=void 0,w=void 0,D=void 0,A=void 0;return C=d-c,b=h-v,w=v*c-h*d,S=E-p,x=g-y,D=y*p-g*E,A=C*x-S*b,A===0?null:(m=(b*D-x*w)/A,T=(S*w-C*D)/A,new i(m,T))},s.angleOfVector=function(o,l,u,f){var h=void 0;return o!==u?(h=Math.atan((f-l)/(u-o)),u<o?h+=Math.PI:f<l&&(h+=this.TWO_PI)):f<l?h=this.ONE_AND_HALF_PI:h=this.HALF_PI,h},s.doIntersect=function(o,l,u,f){var h=o.x,c=o.y,v=l.x,d=l.y,g=u.x,p=u.y,y=f.x,E=f.y,m=(v-h)*(E-p)-(y-g)*(d-c);if(m===0)return!1;var T=((E-p)*(y-h)+(g-y)*(E-c))/m,C=((c-d)*(y-h)+(v-h)*(E-c))/m;return 0<T&&T<1&&0<C&&C<1},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,r.exports=s},function(r,a,n){function i(){}i.sign=function(s){return s>0?1:s<0?-1:0},i.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},i.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},r.exports=i},function(r,a,n){function i(){}i.MAX_VALUE=2147483647,i.MIN_VALUE=-2147483648,r.exports=i},function(r,a,n){var i=function(){function h(c,v){for(var d=0;d<v.length;d++){var g=v[d];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,v,d){return v&&h(c.prototype,v),d&&h(c,d),c}}();function s(h,c){if(!(h instanceof c))throw new TypeError("Cannot call a class as a function")}var o=function(c){return{value:c,next:null,prev:null}},l=function(c,v,d,g){return c!==null?c.next=v:g.head=v,d!==null?d.prev=v:g.tail=v,v.prev=c,v.next=d,g.length++,v},u=function(c,v){var d=c.prev,g=c.next;return d!==null?d.next=g:v.head=g,g!==null?g.prev=d:v.tail=d,c.prev=c.next=null,v.length--,c},f=function(){function h(c){var v=this;s(this,h),this.length=0,this.head=null,this.tail=null,c?.forEach(function(d){return v.push(d)})}return i(h,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(v,d){return l(d.prev,o(v),d,this)}},{key:"insertAfter",value:function(v,d){return l(d,o(v),d.next,this)}},{key:"insertNodeBefore",value:function(v,d){return l(d.prev,v,d,this)}},{key:"insertNodeAfter",value:function(v,d){return l(d,v,d.next,this)}},{key:"push",value:function(v){return l(this.tail,o(v),null,this)}},{key:"unshift",value:function(v){return l(null,o(v),this.head,this)}},{key:"remove",value:function(v){return u(v,this)}},{key:"pop",value:function(){return u(this.tail,this).value}},{key:"popNode",value:function(){return u(this.tail,this)}},{key:"shift",value:function(){return u(this.head,this).value}},{key:"shiftNode",value:function(){return u(this.head,this)}},{key:"get_object_at",value:function(v){if(v<=this.length()){for(var d=1,g=this.head;d<v;)g=g.next,d++;return g.value}}},{key:"set_object_at",value:function(v,d){if(v<=this.length()){for(var g=1,p=this.head;g<v;)p=p.next,g++;p.value=d}}}]),h}();r.exports=f},function(r,a,n){function i(s,o,l){this.x=null,this.y=null,s==null&&o==null&&l==null?(this.x=0,this.y=0):typeof s=="number"&&typeof o=="number"&&l==null?(this.x=s,this.y=o):s.constructor.name=="Point"&&o==null&&l==null&&(l=s,this.x=l.x,this.y=l.y)}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.getLocation=function(){return new i(this.x,this.y)},i.prototype.setLocation=function(s,o,l){s.constructor.name=="Point"&&o==null&&l==null?(l=s,this.setLocation(l.x,l.y)):typeof s=="number"&&typeof o=="number"&&l==null&&(parseInt(s)==s&&parseInt(o)==o?this.move(s,o):(this.x=Math.floor(s+.5),this.y=Math.floor(o+.5)))},i.prototype.move=function(s,o){this.x=s,this.y=o},i.prototype.translate=function(s,o){this.x+=s,this.y+=o},i.prototype.equals=function(s){if(s.constructor.name=="Point"){var o=s;return this.x==o.x&&this.y==o.y}return this==s},i.prototype.toString=function(){return new i().constructor.name+"[x="+this.x+",y="+this.y+"]"},r.exports=i},function(r,a,n){function i(s,o,l,u){this.x=0,this.y=0,this.width=0,this.height=0,s!=null&&o!=null&&l!=null&&u!=null&&(this.x=s,this.y=o,this.width=l,this.height=u)}i.prototype.getX=function(){return this.x},i.prototype.setX=function(s){this.x=s},i.prototype.getY=function(){return this.y},i.prototype.setY=function(s){this.y=s},i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(s){this.width=s},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(s){this.height=s},i.prototype.getRight=function(){return this.x+this.width},i.prototype.getBottom=function(){return this.y+this.height},i.prototype.intersects=function(s){return!(this.getRight()<s.x||this.getBottom()<s.y||s.getRight()<this.x||s.getBottom()<this.y)},i.prototype.getCenterX=function(){return this.x+this.width/2},i.prototype.getMinX=function(){return this.getX()},i.prototype.getMaxX=function(){return this.getX()+this.width},i.prototype.getCenterY=function(){return this.y+this.height/2},i.prototype.getMinY=function(){return this.getY()},i.prototype.getMaxY=function(){return this.getY()+this.height},i.prototype.getWidthHalf=function(){return this.width/2},i.prototype.getHeightHalf=function(){return this.height/2},r.exports=i},function(r,a,n){var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o};function s(){}s.lastID=0,s.createID=function(o){return s.isPrimitive(o)?o:(o.uniqueID!=null||(o.uniqueID=s.getString(),s.lastID++),o.uniqueID)},s.getString=function(o){return o==null&&(o=s.lastID),"Object#"+o},s.isPrimitive=function(o){var l=typeof o>"u"?"undefined":i(o);return o==null||l!="object"&&l!="function"},r.exports=s},function(r,a,n){function i(g){if(Array.isArray(g)){for(var p=0,y=Array(g.length);p<g.length;p++)y[p]=g[p];return y}else return Array.from(g)}var s=n(0),o=n(6),l=n(3),u=n(1),f=n(5),h=n(4),c=n(17),v=n(27);function d(g){v.call(this),this.layoutQuality=s.QUALITY,this.createBendsAsNeeded=s.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=s.DEFAULT_INCREMENTAL,this.animationOnLayout=s.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=s.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=s.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=s.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new o(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,g!=null&&(this.isRemoteUse=g)}d.RANDOM_SEED=1,d.prototype=Object.create(v.prototype),d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},d.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},d.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},d.prototype.newGraphManager=function(){var g=new o(this);return this.graphManager=g,g},d.prototype.newGraph=function(g){return new f(null,this.graphManager,g)},d.prototype.newNode=function(g){return new l(this.graphManager,g)},d.prototype.newEdge=function(g){return new u(null,null,g)},d.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},d.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var g;return this.checkLayoutSuccess()?g=!1:g=this.layout(),s.ANIMATE==="during"?!1:(g&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,g)},d.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},d.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var g=this.graphManager.getAllEdges(),p=0;p<g.length;p++)g[p];for(var y=this.graphManager.getRoot().getNodes(),p=0;p<y.length;p++)y[p];this.update(this.graphManager.getRoot())}},d.prototype.update=function(g){if(g==null)this.update2();else if(g instanceof l){var p=g;if(p.getChild()!=null)for(var y=p.getChild().getNodes(),E=0;E<y.length;E++)update(y[E]);if(p.vGraphObject!=null){var m=p.vGraphObject;m.update(p)}}else if(g instanceof u){var T=g;if(T.vGraphObject!=null){var C=T.vGraphObject;C.update(T)}}else if(g instanceof f){var S=g;if(S.vGraphObject!=null){var b=S.vGraphObject;b.update(S)}}},d.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=s.QUALITY,this.animationDuringLayout=s.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=s.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=s.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=s.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=s.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=s.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},d.prototype.transform=function(g){if(g==null)this.transform(new h(0,0));else{var p=new c,y=this.graphManager.getRoot().updateLeftTop();if(y!=null){p.setWorldOrgX(g.x),p.setWorldOrgY(g.y),p.setDeviceOrgX(y.x),p.setDeviceOrgY(y.y);for(var E=this.getAllNodes(),m,T=0;T<E.length;T++)m=E[T],m.transform(p)}}},d.prototype.positionNodesRandomly=function(g){if(g==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var p,y,E=g.getNodes(),m=0;m<E.length;m++)p=E[m],y=p.getChild(),y==null||y.getNodes().length==0?p.scatter():(this.positionNodesRandomly(y),p.updateBounds())},d.prototype.getFlatForest=function(){for(var g=[],p=!0,y=this.graphManager.getRoot().getNodes(),E=!0,m=0;m<y.length;m++)y[m].getChild()!=null&&(E=!1);if(!E)return g;var T=new Set,C=[],S=new Map,b=[];for(b=b.concat(y);b.length>0&&p;){for(C.push(b[0]);C.length>0&&p;){var x=C[0];C.splice(0,1),T.add(x);for(var w=x.getEdges(),m=0;m<w.length;m++){var D=w[m].getOtherEnd(x);if(S.get(x)!=D)if(!T.has(D))C.push(D),S.set(D,x);else{p=!1;break}}}if(!p)g=[];else{var A=[].concat(i(T));g.push(A);for(var m=0;m<A.length;m++){var L=A[m],I=b.indexOf(L);I>-1&&b.splice(I,1)}T=new Set,S=new Map}}return g},d.prototype.createDummyNodesForBendpoints=function(g){for(var p=[],y=g.source,E=this.graphManager.calcLowestCommonAncestor(g.source,g.target),m=0;m<g.bendpoints.length;m++){var T=this.newNode(null);T.setRect(new Point(0,0),new Dimension(1,1)),E.add(T);var C=this.newEdge(null);this.graphManager.add(C,y,T),p.add(T),y=T}var C=this.newEdge(null);return this.graphManager.add(C,y,g.target),this.edgeToDummyNodes.set(g,p),g.isInterGraph()?this.graphManager.remove(g):E.remove(g),p},d.prototype.createBendpointsFromDummyNodes=function(){var g=[];g=g.concat(this.graphManager.getAllEdges()),g=[].concat(i(this.edgeToDummyNodes.keys())).concat(g);for(var p=0;p<g.length;p++){var y=g[p];if(y.bendpoints.length>0){for(var E=this.edgeToDummyNodes.get(y),m=0;m<E.length;m++){var T=E[m],C=new h(T.getCenterX(),T.getCenterY()),S=y.bendpoints.get(m);S.x=C.x,S.y=C.y,T.getOwner().remove(T)}this.graphManager.add(y,y.source,y.target)}}},d.transform=function(g,p,y,E){if(y!=null&&E!=null){var m=p;if(g<=50){var T=p/y;m-=(p-T)/50*(50-g)}else{var C=p*E;m+=(C-p)/50*(g-50)}return m}else{var S,b;return g<=50?(S=9*p/500,b=p/10):(S=9*p/50,b=-8*p),S*g+b}},d.findCenterOfTree=function(g){var p=[];p=p.concat(g);var y=[],E=new Map,m=!1,T=null;(p.length==1||p.length==2)&&(m=!0,T=p[0]);for(var C=0;C<p.length;C++){var S=p[C],b=S.getNeighborsList().size;E.set(S,S.getNeighborsList().size),b==1&&y.push(S)}var x=[];for(x=x.concat(y);!m;){var w=[];w=w.concat(x),x=[];for(var C=0;C<p.length;C++){var S=p[C],D=p.indexOf(S);D>=0&&p.splice(D,1);var A=S.getNeighborsList();A.forEach(function(O){if(y.indexOf(O)<0){var P=E.get(O),R=P-1;R==1&&x.push(O),E.set(O,R)}})}y=y.concat(x),(p.length==1||p.length==2)&&(m=!0,T=p[0])}return T},d.prototype.setGraphManager=function(g){this.graphManager=g},r.exports=d},function(r,a,n){function i(){}i.seed=1,i.x=0,i.nextDouble=function(){return i.x=Math.sin(i.seed++)*1e4,i.x-Math.floor(i.x)},r.exports=i},function(r,a,n){var i=n(4);function s(o,l){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(o){this.lworldOrgX=o},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(o){this.lworldOrgY=o},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(o){this.lworldExtX=o},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(o){this.lworldExtY=o},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(o){this.ldeviceOrgX=o},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(o){this.ldeviceOrgY=o},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(o){this.ldeviceExtX=o},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(o){this.ldeviceExtY=o},s.prototype.transformX=function(o){var l=0,u=this.lworldExtX;return u!=0&&(l=this.ldeviceOrgX+(o-this.lworldOrgX)*this.ldeviceExtX/u),l},s.prototype.transformY=function(o){var l=0,u=this.lworldExtY;return u!=0&&(l=this.ldeviceOrgY+(o-this.lworldOrgY)*this.ldeviceExtY/u),l},s.prototype.inverseTransformX=function(o){var l=0,u=this.ldeviceExtX;return u!=0&&(l=this.lworldOrgX+(o-this.ldeviceOrgX)*this.lworldExtX/u),l},s.prototype.inverseTransformY=function(o){var l=0,u=this.ldeviceExtY;return u!=0&&(l=this.lworldOrgY+(o-this.ldeviceOrgY)*this.lworldExtY/u),l},s.prototype.inverseTransformPoint=function(o){var l=new i(this.inverseTransformX(o.x),this.inverseTransformY(o.y));return l},r.exports=s},function(r,a,n){function i(v){if(Array.isArray(v)){for(var d=0,g=Array(v.length);d<v.length;d++)g[d]=v[d];return g}else return Array.from(v)}var s=n(15),o=n(7),l=n(0),u=n(8),f=n(9);function h(){s.call(this),this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.springConstant=o.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=o.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=o.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=o.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=o.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=o.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*o.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=o.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=o.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=o.MAX_ITERATIONS}h.prototype=Object.create(s.prototype);for(var c in s)h[c]=s[c];h.prototype.initParameters=function(){s.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=o.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var v,d,g,p,y,E,m=this.getGraphManager().getAllEdges(),T=0;T<m.length;T++)v=m[T],v.idealLength=this.idealEdgeLength,v.isInterGraph&&(g=v.getSource(),p=v.getTarget(),y=v.getSourceInLca().getEstimatedSize(),E=v.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(v.idealLength+=y+E-2*l.SIMPLE_NODE_SIZE),d=v.getLca().getInclusionTreeDepth(),v.idealLength+=o.DEFAULT_EDGE_LENGTH*o.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(g.getInclusionTreeDepth()+p.getInclusionTreeDepth()-2*d))},h.prototype.initSpringEmbedder=function(){var v=this.getAllNodes().length;this.incremental?(v>o.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*o.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(v-o.ADAPTATION_LOWER_NODE_LIMIT)/(o.ADAPTATION_UPPER_NODE_LIMIT-o.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-o.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=o.MAX_NODE_DISPLACEMENT_INCREMENTAL):(v>o.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(o.COOLING_ADAPTATION_FACTOR,1-(v-o.ADAPTATION_LOWER_NODE_LIMIT)/(o.ADAPTATION_UPPER_NODE_LIMIT-o.ADAPTATION_LOWER_NODE_LIMIT)*(1-o.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=o.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var v=this.getAllEdges(),d,g=0;g<v.length;g++)d=v[g],this.calcSpringForce(d,d.idealLength)},h.prototype.calcRepulsionForces=function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g,p,y,E,m=this.getAllNodes(),T;if(this.useFRGridVariant)for(this.totalIterations%o.GRID_CALCULATION_CHECK_PERIOD==1&&v&&this.updateGrid(),T=new Set,g=0;g<m.length;g++)y=m[g],this.calculateRepulsionForceOfANode(y,T,v,d),T.add(y);else for(g=0;g<m.length;g++)for(y=m[g],p=g+1;p<m.length;p++)E=m[p],y.getOwner()==E.getOwner()&&this.calcRepulsionForce(y,E)},h.prototype.calcGravitationalForces=function(){for(var v,d=this.getAllNodesToApplyGravitation(),g=0;g<d.length;g++)v=d[g],this.calcGravitationalForce(v)},h.prototype.moveNodes=function(){for(var v=this.getAllNodes(),d,g=0;g<v.length;g++)d=v[g],d.move()},h.prototype.calcSpringForce=function(v,d){var g=v.getSource(),p=v.getTarget(),y,E,m,T;if(this.uniformLeafNodeSizes&&g.getChild()==null&&p.getChild()==null)v.updateLengthSimple();else if(v.updateLength(),v.isOverlapingSourceAndTarget)return;y=v.getLength(),y!=0&&(E=this.springConstant*(y-d),m=E*(v.lengthX/y),T=E*(v.lengthY/y),g.springForceX+=m,g.springForceY+=T,p.springForceX-=m,p.springForceY-=T)},h.prototype.calcRepulsionForce=function(v,d){var g=v.getRect(),p=d.getRect(),y=new Array(2),E=new Array(4),m,T,C,S,b,x,w;if(g.intersects(p)){u.calcSeparationAmount(g,p,y,o.DEFAULT_EDGE_LENGTH/2),x=2*y[0],w=2*y[1];var D=v.noOfChildren*d.noOfChildren/(v.noOfChildren+d.noOfChildren);v.repulsionForceX-=D*x,v.repulsionForceY-=D*w,d.repulsionForceX+=D*x,d.repulsionForceY+=D*w}else this.uniformLeafNodeSizes&&v.getChild()==null&&d.getChild()==null?(m=p.getCenterX()-g.getCenterX(),T=p.getCenterY()-g.getCenterY()):(u.getIntersection(g,p,E),m=E[2]-E[0],T=E[3]-E[1]),Math.abs(m)<o.MIN_REPULSION_DIST&&(m=f.sign(m)*o.MIN_REPULSION_DIST),Math.abs(T)<o.MIN_REPULSION_DIST&&(T=f.sign(T)*o.MIN_REPULSION_DIST),C=m*m+T*T,S=Math.sqrt(C),b=this.repulsionConstant*v.noOfChildren*d.noOfChildren/C,x=b*m/S,w=b*T/S,v.repulsionForceX-=x,v.repulsionForceY-=w,d.repulsionForceX+=x,d.repulsionForceY+=w},h.prototype.calcGravitationalForce=function(v){var d,g,p,y,E,m,T,C;d=v.getOwner(),g=(d.getRight()+d.getLeft())/2,p=(d.getTop()+d.getBottom())/2,y=v.getCenterX()-g,E=v.getCenterY()-p,m=Math.abs(y)+v.getWidth()/2,T=Math.abs(E)+v.getHeight()/2,v.getOwner()==this.graphManager.getRoot()?(C=d.getEstimatedSize()*this.gravityRangeFactor,(m>C||T>C)&&(v.gravitationForceX=-this.gravityConstant*y,v.gravitationForceY=-this.gravityConstant*E)):(C=d.getEstimatedSize()*this.compoundGravityRangeFactor,(m>C||T>C)&&(v.gravitationForceX=-this.gravityConstant*y*this.compoundGravityConstant,v.gravitationForceY=-this.gravityConstant*E*this.compoundGravityConstant))},h.prototype.isConverged=function(){var v,d=!1;return this.totalIterations>this.maxIterations/3&&(d=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),v=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,v||d},h.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},h.prototype.calcNoOfChildrenForAllNodes=function(){for(var v,d=this.graphManager.getAllNodes(),g=0;g<d.length;g++)v=d[g],v.noOfChildren=v.getNoOfChildren()},h.prototype.calcGrid=function(v){var d=0,g=0;d=parseInt(Math.ceil((v.getRight()-v.getLeft())/this.repulsionRange)),g=parseInt(Math.ceil((v.getBottom()-v.getTop())/this.repulsionRange));for(var p=new Array(d),y=0;y<d;y++)p[y]=new Array(g);for(var y=0;y<d;y++)for(var E=0;E<g;E++)p[y][E]=new Array;return p},h.prototype.addNodeToGrid=function(v,d,g){var p=0,y=0,E=0,m=0;p=parseInt(Math.floor((v.getRect().x-d)/this.repulsionRange)),y=parseInt(Math.floor((v.getRect().width+v.getRect().x-d)/this.repulsionRange)),E=parseInt(Math.floor((v.getRect().y-g)/this.repulsionRange)),m=parseInt(Math.floor((v.getRect().height+v.getRect().y-g)/this.repulsionRange));for(var T=p;T<=y;T++)for(var C=E;C<=m;C++)this.grid[T][C].push(v),v.setGridCoordinates(p,y,E,m)},h.prototype.updateGrid=function(){var v,d,g=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),v=0;v<g.length;v++)d=g[v],this.addNodeToGrid(d,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},h.prototype.calculateRepulsionForceOfANode=function(v,d,g,p){if(this.totalIterations%o.GRID_CALCULATION_CHECK_PERIOD==1&&g||p){var y=new Set;v.surrounding=new Array;for(var E,m=this.grid,T=v.startX-1;T<v.finishX+2;T++)for(var C=v.startY-1;C<v.finishY+2;C++)if(!(T<0||C<0||T>=m.length||C>=m[0].length)){for(var S=0;S<m[T][C].length;S++)if(E=m[T][C][S],!(v.getOwner()!=E.getOwner()||v==E)&&!d.has(E)&&!y.has(E)){var b=Math.abs(v.getCenterX()-E.getCenterX())-(v.getWidth()/2+E.getWidth()/2),x=Math.abs(v.getCenterY()-E.getCenterY())-(v.getHeight()/2+E.getHeight()/2);b<=this.repulsionRange&&x<=this.repulsionRange&&y.add(E)}}v.surrounding=[].concat(i(y))}for(T=0;T<v.surrounding.length;T++)this.calcRepulsionForce(v,v.surrounding[T])},h.prototype.calcRepulsionRange=function(){return 0},r.exports=h},function(r,a,n){var i=n(1),s=n(7);function o(u,f,h){i.call(this,u,f,h),this.idealLength=s.DEFAULT_EDGE_LENGTH}o.prototype=Object.create(i.prototype);for(var l in i)o[l]=i[l];r.exports=o},function(r,a,n){var i=n(3);function s(l,u,f,h){i.call(this,l,u,f,h),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}s.prototype=Object.create(i.prototype);for(var o in i)s[o]=i[o];s.prototype.setGridCoordinates=function(l,u,f,h){this.startX=l,this.finishX=u,this.startY=f,this.finishY=h},r.exports=s},function(r,a,n){function i(s,o){this.width=0,this.height=0,s!==null&&o!==null&&(this.height=o,this.width=s)}i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(s){this.width=s},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(s){this.height=s},r.exports=i},function(r,a,n){var i=n(14);function s(){this.map={},this.keys=[]}s.prototype.put=function(o,l){var u=i.createID(o);this.contains(u)||(this.map[u]=l,this.keys.push(o))},s.prototype.contains=function(o){return i.createID(o),this.map[o]!=null},s.prototype.get=function(o){var l=i.createID(o);return this.map[l]},s.prototype.keySet=function(){return this.keys},r.exports=s},function(r,a,n){var i=n(14);function s(){this.set={}}s.prototype.add=function(o){var l=i.createID(o);this.contains(l)||(this.set[l]=o)},s.prototype.remove=function(o){delete this.set[i.createID(o)]},s.prototype.clear=function(){this.set={}},s.prototype.contains=function(o){return this.set[i.createID(o)]==o},s.prototype.isEmpty=function(){return this.size()===0},s.prototype.size=function(){return Object.keys(this.set).length},s.prototype.addAllTo=function(o){for(var l=Object.keys(this.set),u=l.length,f=0;f<u;f++)o.push(this.set[l[f]])},s.prototype.size=function(){return Object.keys(this.set).length},s.prototype.addAll=function(o){for(var l=o.length,u=0;u<l;u++){var f=o[u];this.add(f)}},r.exports=s},function(r,a,n){var i=function(){function u(f,h){for(var c=0;c<h.length;c++){var v=h[c];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(f,v.key,v)}}return function(f,h,c){return h&&u(f.prototype,h),c&&u(f,c),f}}();function s(u,f){if(!(u instanceof f))throw new TypeError("Cannot call a class as a function")}var o=n(11),l=function(){function u(f,h){s(this,u),(h!==null||h!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var c=void 0;f instanceof o?c=f.size():c=f.length,this._quicksort(f,0,c-1)}return i(u,[{key:"_quicksort",value:function(h,c,v){if(c<v){var d=this._partition(h,c,v);this._quicksort(h,c,d),this._quicksort(h,d+1,v)}}},{key:"_partition",value:function(h,c,v){for(var d=this._get(h,c),g=c,p=v;;){for(;this.compareFunction(d,this._get(h,p));)p--;for(;this.compareFunction(this._get(h,g),d);)g++;if(g<p)this._swap(h,g,p),g++,p--;else return p}}},{key:"_get",value:function(h,c){return h instanceof o?h.get_object_at(c):h[c]}},{key:"_set",value:function(h,c,v){h instanceof o?h.set_object_at(c,v):h[c]=v}},{key:"_swap",value:function(h,c,v){var d=this._get(h,c);this._set(h,c,this._get(h,v)),this._set(h,v,d)}},{key:"_defaultCompareFunction",value:function(h,c){return c>h}}]),u}();r.exports=l},function(r,a,n){var i=function(){function l(u,f){for(var h=0;h<f.length;h++){var c=f[h];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(u,c.key,c)}}return function(u,f,h){return f&&l(u.prototype,f),h&&l(u,h),u}}();function s(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}var o=function(){function l(u,f){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,v=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,l),this.sequence1=u,this.sequence2=f,this.match_score=h,this.mismatch_penalty=c,this.gap_penalty=v,this.iMax=u.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var d=0;d<this.iMax;d++){this.grid[d]=new Array(this.jMax);for(var g=0;g<this.jMax;g++)this.grid[d][g]=0}this.tracebackGrid=new Array(this.iMax);for(var p=0;p<this.iMax;p++){this.tracebackGrid[p]=new Array(this.jMax);for(var y=0;y<this.jMax;y++)this.tracebackGrid[p][y]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return i(l,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var f=1;f<this.jMax;f++)this.grid[0][f]=this.grid[0][f-1]+this.gap_penalty,this.tracebackGrid[0][f]=[!1,!1,!0];for(var h=1;h<this.iMax;h++)this.grid[h][0]=this.grid[h-1][0]+this.gap_penalty,this.tracebackGrid[h][0]=[!1,!0,!1];for(var c=1;c<this.iMax;c++)for(var v=1;v<this.jMax;v++){var d=void 0;this.sequence1[c-1]===this.sequence2[v-1]?d=this.grid[c-1][v-1]+this.match_score:d=this.grid[c-1][v-1]+this.mismatch_penalty;var g=this.grid[c-1][v]+this.gap_penalty,p=this.grid[c][v-1]+this.gap_penalty,y=[d,g,p],E=this.arrayAllMaxIndexes(y);this.grid[c][v]=y[E[0]],this.tracebackGrid[c][v]=[E.includes(0),E.includes(1),E.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var f=[];for(f.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});f[0];){var h=f[0],c=this.tracebackGrid[h.pos[0]][h.pos[1]];c[0]&&f.push({pos:[h.pos[0]-1,h.pos[1]-1],seq1:this.sequence1[h.pos[0]-1]+h.seq1,seq2:this.sequence2[h.pos[1]-1]+h.seq2}),c[1]&&f.push({pos:[h.pos[0]-1,h.pos[1]],seq1:this.sequence1[h.pos[0]-1]+h.seq1,seq2:"-"+h.seq2}),c[2]&&f.push({pos:[h.pos[0],h.pos[1]-1],seq1:"-"+h.seq1,seq2:this.sequence2[h.pos[1]-1]+h.seq2}),h.pos[0]===0&&h.pos[1]===0&&this.alignments.push({sequence1:h.seq1,sequence2:h.seq2}),f.shift()}return this.alignments}},{key:"getAllIndexes",value:function(f,h){for(var c=[],v=-1;(v=f.indexOf(h,v+1))!==-1;)c.push(v);return c}},{key:"arrayAllMaxIndexes",value:function(f){return this.getAllIndexes(f,Math.max.apply(null,f))}}]),l}();r.exports=o},function(r,a,n){var i=function(){};i.FDLayout=n(18),i.FDLayoutConstants=n(7),i.FDLayoutEdge=n(19),i.FDLayoutNode=n(20),i.DimensionD=n(21),i.HashMap=n(22),i.HashSet=n(23),i.IGeometry=n(8),i.IMath=n(9),i.Integer=n(10),i.Point=n(12),i.PointD=n(4),i.RandomSeed=n(16),i.RectangleD=n(13),i.Transform=n(17),i.UniqueIDGeneretor=n(14),i.Quicksort=n(24),i.LinkedList=n(11),i.LGraphObject=n(2),i.LGraph=n(5),i.LEdge=n(1),i.LGraphManager=n(6),i.LNode=n(3),i.Layout=n(15),i.LayoutConstants=n(0),i.NeedlemanWunsch=n(25),r.exports=i},function(r,a,n){function i(){this.listeners=[]}var s=i.prototype;s.addListener=function(o,l){this.listeners.push({event:o,callback:l})},s.removeListener=function(o,l){for(var u=this.listeners.length;u>=0;u--){var f=this.listeners[u];f.event===o&&f.callback===l&&this.listeners.splice(u,1)}},s.emit=function(o,l){for(var u=0;u<this.listeners.length;u++){var f=this.listeners[u];o===f.event&&f.callback(l)}},r.exports=i}])})}(Fn)),Fn.exports}var Hs;function wm(){return Hs||(Hs=1,function(t,e){(function(a,n){t.exports=n(Em())})(Vt,function(r){return function(a){var n={};function i(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return a[s].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=a,i.c=n,i.i=function(s){return s},i.d=function(s,o,l){i.o(s,o)||Object.defineProperty(s,o,{configurable:!1,enumerable:!0,get:l})},i.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return i.d(o,"a",o),o},i.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},i.p="",i(i.s=7)}([function(a,n){a.exports=r},function(a,n,i){var s=i(0).FDLayoutConstants;function o(){}for(var l in s)o[l]=s[l];o.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,o.DEFAULT_RADIAL_SEPARATION=s.DEFAULT_EDGE_LENGTH,o.DEFAULT_COMPONENT_SEPERATION=60,o.TILE=!0,o.TILING_PADDING_VERTICAL=10,o.TILING_PADDING_HORIZONTAL=10,o.TREE_REDUCTION_ON_INCREMENTAL=!1,a.exports=o},function(a,n,i){var s=i(0).FDLayoutEdge;function o(u,f,h){s.call(this,u,f,h)}o.prototype=Object.create(s.prototype);for(var l in s)o[l]=s[l];a.exports=o},function(a,n,i){var s=i(0).LGraph;function o(u,f,h){s.call(this,u,f,h)}o.prototype=Object.create(s.prototype);for(var l in s)o[l]=s[l];a.exports=o},function(a,n,i){var s=i(0).LGraphManager;function o(u){s.call(this,u)}o.prototype=Object.create(s.prototype);for(var l in s)o[l]=s[l];a.exports=o},function(a,n,i){var s=i(0).FDLayoutNode,o=i(0).IMath;function l(f,h,c,v){s.call(this,f,h,c,v)}l.prototype=Object.create(s.prototype);for(var u in s)l[u]=s[u];l.prototype.move=function(){var f=this.graphManager.getLayout();this.displacementX=f.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=f.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>f.coolingFactor*f.maxNodeDisplacement&&(this.displacementX=f.coolingFactor*f.maxNodeDisplacement*o.sign(this.displacementX)),Math.abs(this.displacementY)>f.coolingFactor*f.maxNodeDisplacement&&(this.displacementY=f.coolingFactor*f.maxNodeDisplacement*o.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),f.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},l.prototype.propogateDisplacementToChildren=function(f,h){for(var c=this.getChild().getNodes(),v,d=0;d<c.length;d++)v=c[d],v.getChild()==null?(v.moveBy(f,h),v.displacementX+=f,v.displacementY+=h):v.propogateDisplacementToChildren(f,h)},l.prototype.setPred1=function(f){this.pred1=f},l.prototype.getPred1=function(){return pred1},l.prototype.getPred2=function(){return pred2},l.prototype.setNext=function(f){this.next=f},l.prototype.getNext=function(){return next},l.prototype.setProcessed=function(f){this.processed=f},l.prototype.isProcessed=function(){return processed},a.exports=l},function(a,n,i){var s=i(0).FDLayout,o=i(4),l=i(3),u=i(5),f=i(2),h=i(1),c=i(0).FDLayoutConstants,v=i(0).LayoutConstants,d=i(0).Point,g=i(0).PointD,p=i(0).Layout,y=i(0).Integer,E=i(0).IGeometry,m=i(0).LGraph,T=i(0).Transform;function C(){s.call(this),this.toBeTiled={}}C.prototype=Object.create(s.prototype);for(var S in s)C[S]=s[S];C.prototype.newGraphManager=function(){var b=new o(this);return this.graphManager=b,b},C.prototype.newGraph=function(b){return new l(null,this.graphManager,b)},C.prototype.newNode=function(b){return new u(this.graphManager,b)},C.prototype.newEdge=function(b){return new f(null,null,b)},C.prototype.initParameters=function(){s.prototype.initParameters.call(this,arguments),this.isSubLayout||(h.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=h.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=c.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=c.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=c.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=c.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/c.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=c.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},C.prototype.layout=function(){var b=v.DEFAULT_CREATE_BENDS_AS_NEEDED;return b&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},C.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(h.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var x=new Set(this.getAllNodes()),w=this.nodesWithGravity.filter(function(L){return x.has(L)});this.graphManager.setAllNodesToApplyGravitation(w)}}else{var b=this.getFlatForest();if(b.length>0)this.positionNodesRadially(b);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var x=new Set(this.getAllNodes()),w=this.nodesWithGravity.filter(function(D){return x.has(D)});this.graphManager.setAllNodesToApplyGravitation(w),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},C.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%c.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var b=new Set(this.getAllNodes()),x=this.nodesWithGravity.filter(function(A){return b.has(A)});this.graphManager.setAllNodesToApplyGravitation(x),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=c.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=c.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var w=!this.isTreeGrowing&&!this.isGrowthFinished,D=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(w,D),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},C.prototype.getPositionsData=function(){for(var b=this.graphManager.getAllNodes(),x={},w=0;w<b.length;w++){var D=b[w].rect,A=b[w].id;x[A]={id:A,x:D.getCenterX(),y:D.getCenterY(),w:D.width,h:D.height}}return x},C.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var b=!1;if(c.ANIMATE==="during")this.emit("layoutstarted");else{for(;!b;)b=this.tick();this.graphManager.updateBounds()}},C.prototype.calculateNodesToApplyGravitationTo=function(){var b=[],x,w=this.graphManager.getGraphs(),D=w.length,A;for(A=0;A<D;A++)x=w[A],x.updateConnected(),x.isConnected||(b=b.concat(x.getNodes()));return b},C.prototype.createBendpoints=function(){var b=[];b=b.concat(this.graphManager.getAllEdges());var x=new Set,w;for(w=0;w<b.length;w++){var D=b[w];if(!x.has(D)){var A=D.getSource(),L=D.getTarget();if(A==L)D.getBendpoints().push(new g),D.getBendpoints().push(new g),this.createDummyNodesForBendpoints(D),x.add(D);else{var I=[];if(I=I.concat(A.getEdgeListToNode(L)),I=I.concat(L.getEdgeListToNode(A)),!x.has(I[0])){if(I.length>1){var O;for(O=0;O<I.length;O++){var P=I[O];P.getBendpoints().push(new g),this.createDummyNodesForBendpoints(P)}}I.forEach(function(R){x.add(R)})}}}if(x.size==b.length)break}},C.prototype.positionNodesRadially=function(b){for(var x=new d(0,0),w=Math.ceil(Math.sqrt(b.length)),D=0,A=0,L=0,I=new g(0,0),O=0;O<b.length;O++){O%w==0&&(L=0,A=D,O!=0&&(A+=h.DEFAULT_COMPONENT_SEPERATION),D=0);var P=b[O],R=p.findCenterOfTree(P);x.x=L,x.y=A,I=C.radialLayout(P,R,x),I.y>D&&(D=Math.floor(I.y)),L=Math.floor(I.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new g(v.WORLD_CENTER_X-I.x/2,v.WORLD_CENTER_Y-I.y/2))},C.radialLayout=function(b,x,w){var D=Math.max(this.maxDiagonalInTree(b),h.DEFAULT_RADIAL_SEPARATION);C.branchRadialLayout(x,null,0,359,0,D);var A=m.calculateBounds(b),L=new T;L.setDeviceOrgX(A.getMinX()),L.setDeviceOrgY(A.getMinY()),L.setWorldOrgX(w.x),L.setWorldOrgY(w.y);for(var I=0;I<b.length;I++){var O=b[I];O.transform(L)}var P=new g(A.getMaxX(),A.getMaxY());return L.inverseTransformPoint(P)},C.branchRadialLayout=function(b,x,w,D,A,L){var I=(D-w+1)/2;I<0&&(I+=180);var O=(I+w)%360,P=O*E.TWO_PI/360,R=A*Math.cos(P),M=A*Math.sin(P);b.setCenter(R,M);var k=[];k=k.concat(b.getEdges());var B=k.length;x!=null&&B--;for(var G=0,F=k.length,$,U=b.getEdgesBetween(x);U.length>1;){var _=U[0];U.splice(0,1);var Y=k.indexOf(_);Y>=0&&k.splice(Y,1),F--,B--}x!=null?$=(k.indexOf(U[0])+1)%F:$=0;for(var W=Math.abs(D-w)/B,z=$;G!=B;z=++z%F){var K=k[z].getOtherEnd(b);if(K!=x){var j=(w+G*W)%360,Q=(j+W)%360;C.branchRadialLayout(K,b,j,Q,A+L,L),G++}}},C.maxDiagonalInTree=function(b){for(var x=y.MIN_VALUE,w=0;w<b.length;w++){var D=b[w],A=D.getDiagonal();A>x&&(x=A)}return x},C.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},C.prototype.groupZeroDegreeMembers=function(){var b=this,x={};this.memberGroups={},this.idToDummyNode={};for(var w=[],D=this.graphManager.getAllNodes(),A=0;A<D.length;A++){var L=D[A],I=L.getParent();this.getNodeDegreeWithChildren(L)===0&&(I.id==null||!this.getToBeTiled(I))&&w.push(L)}for(var A=0;A<w.length;A++){var L=w[A],O=L.getParent().id;typeof x[O]>"u"&&(x[O]=[]),x[O]=x[O].concat(L)}Object.keys(x).forEach(function(P){if(x[P].length>1){var R="DummyCompound_"+P;b.memberGroups[R]=x[P];var M=x[P][0].getParent(),k=new u(b.graphManager);k.id=R,k.paddingLeft=M.paddingLeft||0,k.paddingRight=M.paddingRight||0,k.paddingBottom=M.paddingBottom||0,k.paddingTop=M.paddingTop||0,b.idToDummyNode[R]=k;var B=b.getGraphManager().add(b.newGraph(),k),G=M.getChild();G.add(k);for(var F=0;F<x[P].length;F++){var $=x[P][F];G.remove($),B.add($)}}})},C.prototype.clearCompounds=function(){var b={},x={};this.performDFSOnCompounds();for(var w=0;w<this.compoundOrder.length;w++)x[this.compoundOrder[w].id]=this.compoundOrder[w],b[this.compoundOrder[w].id]=[].concat(this.compoundOrder[w].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[w].getChild()),this.compoundOrder[w].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(b,x)},C.prototype.clearZeroDegreeMembers=function(){var b=this,x=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(w){var D=b.idToDummyNode[w];x[w]=b.tileNodes(b.memberGroups[w],D.paddingLeft+D.paddingRight),D.rect.width=x[w].width,D.rect.height=x[w].height})},C.prototype.repopulateCompounds=function(){for(var b=this.compoundOrder.length-1;b>=0;b--){var x=this.compoundOrder[b],w=x.id,D=x.paddingLeft,A=x.paddingTop;this.adjustLocations(this.tiledMemberPack[w],x.rect.x,x.rect.y,D,A)}},C.prototype.repopulateZeroDegreeMembers=function(){var b=this,x=this.tiledZeroDegreePack;Object.keys(x).forEach(function(w){var D=b.idToDummyNode[w],A=D.paddingLeft,L=D.paddingTop;b.adjustLocations(x[w],D.rect.x,D.rect.y,A,L)})},C.prototype.getToBeTiled=function(b){var x=b.id;if(this.toBeTiled[x]!=null)return this.toBeTiled[x];var w=b.getChild();if(w==null)return this.toBeTiled[x]=!1,!1;for(var D=w.getNodes(),A=0;A<D.length;A++){var L=D[A];if(this.getNodeDegree(L)>0)return this.toBeTiled[x]=!1,!1;if(L.getChild()==null){this.toBeTiled[L.id]=!1;continue}if(!this.getToBeTiled(L))return this.toBeTiled[x]=!1,!1}return this.toBeTiled[x]=!0,!0},C.prototype.getNodeDegree=function(b){b.id;for(var x=b.getEdges(),w=0,D=0;D<x.length;D++){var A=x[D];A.getSource().id!==A.getTarget().id&&(w=w+1)}return w},C.prototype.getNodeDegreeWithChildren=function(b){var x=this.getNodeDegree(b);if(b.getChild()==null)return x;for(var w=b.getChild().getNodes(),D=0;D<w.length;D++){var A=w[D];x+=this.getNodeDegreeWithChildren(A)}return x},C.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},C.prototype.fillCompexOrderByDFS=function(b){for(var x=0;x<b.length;x++){var w=b[x];w.getChild()!=null&&this.fillCompexOrderByDFS(w.getChild().getNodes()),this.getToBeTiled(w)&&this.compoundOrder.push(w)}},C.prototype.adjustLocations=function(b,x,w,D,A){x+=D,w+=A;for(var L=x,I=0;I<b.rows.length;I++){var O=b.rows[I];x=L;for(var P=0,R=0;R<O.length;R++){var M=O[R];M.rect.x=x,M.rect.y=w,x+=M.rect.width+b.horizontalPadding,M.rect.height>P&&(P=M.rect.height)}w+=P+b.verticalPadding}},C.prototype.tileCompoundMembers=function(b,x){var w=this;this.tiledMemberPack=[],Object.keys(b).forEach(function(D){var A=x[D];w.tiledMemberPack[D]=w.tileNodes(b[D],A.paddingLeft+A.paddingRight),A.rect.width=w.tiledMemberPack[D].width,A.rect.height=w.tiledMemberPack[D].height})},C.prototype.tileNodes=function(b,x){var w=h.TILING_PADDING_VERTICAL,D=h.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:x,verticalPadding:w,horizontalPadding:D};b.sort(function(O,P){return O.rect.width*O.rect.height>P.rect.width*P.rect.height?-1:O.rect.width*O.rect.height<P.rect.width*P.rect.height?1:0});for(var L=0;L<b.length;L++){var I=b[L];A.rows.length==0?this.insertNodeToRow(A,I,0,x):this.canAddHorizontal(A,I.rect.width,I.rect.height)?this.insertNodeToRow(A,I,this.getShortestRowIndex(A),x):this.insertNodeToRow(A,I,A.rows.length,x),this.shiftToLastRow(A)}return A},C.prototype.insertNodeToRow=function(b,x,w,D){var A=D;if(w==b.rows.length){var L=[];b.rows.push(L),b.rowWidth.push(A),b.rowHeight.push(0)}var I=b.rowWidth[w]+x.rect.width;b.rows[w].length>0&&(I+=b.horizontalPadding),b.rowWidth[w]=I,b.width<I&&(b.width=I);var O=x.rect.height;w>0&&(O+=b.verticalPadding);var P=0;O>b.rowHeight[w]&&(P=b.rowHeight[w],b.rowHeight[w]=O,P=b.rowHeight[w]-P),b.height+=P,b.rows[w].push(x)},C.prototype.getShortestRowIndex=function(b){for(var x=-1,w=Number.MAX_VALUE,D=0;D<b.rows.length;D++)b.rowWidth[D]<w&&(x=D,w=b.rowWidth[D]);return x},C.prototype.getLongestRowIndex=function(b){for(var x=-1,w=Number.MIN_VALUE,D=0;D<b.rows.length;D++)b.rowWidth[D]>w&&(x=D,w=b.rowWidth[D]);return x},C.prototype.canAddHorizontal=function(b,x,w){var D=this.getShortestRowIndex(b);if(D<0)return!0;var A=b.rowWidth[D];if(A+b.horizontalPadding+x<=b.width)return!0;var L=0;b.rowHeight[D]<w&&D>0&&(L=w+b.verticalPadding-b.rowHeight[D]);var I;b.width-A>=x+b.horizontalPadding?I=(b.height+L)/(A+x+b.horizontalPadding):I=(b.height+L)/b.width,L=w+b.verticalPadding;var O;return b.width<x?O=(b.height+L)/x:O=(b.height+L)/b.width,O<1&&(O=1/O),I<1&&(I=1/I),I<O},C.prototype.shiftToLastRow=function(b){var x=this.getLongestRowIndex(b),w=b.rowWidth.length-1,D=b.rows[x],A=D[D.length-1],L=A.width+b.horizontalPadding;if(b.width-b.rowWidth[w]>L&&x!=w){D.splice(-1,1),b.rows[w].push(A),b.rowWidth[x]=b.rowWidth[x]-L,b.rowWidth[w]=b.rowWidth[w]+L,b.width=b.rowWidth[instance.getLongestRowIndex(b)];for(var I=Number.MIN_VALUE,O=0;O<D.length;O++)D[O].height>I&&(I=D[O].height);x>0&&(I+=b.verticalPadding);var P=b.rowHeight[x]+b.rowHeight[w];b.rowHeight[x]=I,b.rowHeight[w]<A.height+b.verticalPadding&&(b.rowHeight[w]=A.height+b.verticalPadding);var R=b.rowHeight[x]+b.rowHeight[w];b.height+=R-P,this.shiftToLastRow(b)}},C.prototype.tilingPreLayout=function(){h.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},C.prototype.tilingPostLayout=function(){h.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},C.prototype.reduceTrees=function(){for(var b=[],x=!0,w;x;){var D=this.graphManager.getAllNodes(),A=[];x=!1;for(var L=0;L<D.length;L++)w=D[L],w.getEdges().length==1&&!w.getEdges()[0].isInterGraph&&w.getChild()==null&&(A.push([w,w.getEdges()[0],w.getOwner()]),x=!0);if(x==!0){for(var I=[],O=0;O<A.length;O++)A[O][0].getEdges().length==1&&(I.push(A[O]),A[O][0].getOwner().remove(A[O][0]));b.push(I),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=b},C.prototype.growTree=function(b){for(var x=b.length,w=b[x-1],D,A=0;A<w.length;A++)D=w[A],this.findPlaceforPrunedNode(D),D[2].add(D[0]),D[2].add(D[1],D[1].source,D[1].target);b.splice(b.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},C.prototype.findPlaceforPrunedNode=function(b){var x,w,D=b[0];D==b[1].source?w=b[1].target:w=b[1].source;var A=w.startX,L=w.finishX,I=w.startY,O=w.finishY,P=0,R=0,M=0,k=0,B=[P,M,R,k];if(I>0)for(var G=A;G<=L;G++)B[0]+=this.grid[G][I-1].length+this.grid[G][I].length-1;if(L<this.grid.length-1)for(var G=I;G<=O;G++)B[1]+=this.grid[L+1][G].length+this.grid[L][G].length-1;if(O<this.grid[0].length-1)for(var G=A;G<=L;G++)B[2]+=this.grid[G][O+1].length+this.grid[G][O].length-1;if(A>0)for(var G=I;G<=O;G++)B[3]+=this.grid[A-1][G].length+this.grid[A][G].length-1;for(var F=y.MAX_VALUE,$,U,_=0;_<B.length;_++)B[_]<F?(F=B[_],$=1,U=_):B[_]==F&&$++;if($==3&&F==0)B[0]==0&&B[1]==0&&B[2]==0?x=1:B[0]==0&&B[1]==0&&B[3]==0?x=0:B[0]==0&&B[2]==0&&B[3]==0?x=3:B[1]==0&&B[2]==0&&B[3]==0&&(x=2);else if($==2&&F==0){var Y=Math.floor(Math.random()*2);B[0]==0&&B[1]==0?Y==0?x=0:x=1:B[0]==0&&B[2]==0?Y==0?x=0:x=2:B[0]==0&&B[3]==0?Y==0?x=0:x=3:B[1]==0&&B[2]==0?Y==0?x=1:x=2:B[1]==0&&B[3]==0?Y==0?x=1:x=3:Y==0?x=2:x=3}else if($==4&&F==0){var Y=Math.floor(Math.random()*4);x=Y}else x=U;x==0?D.setCenter(w.getCenterX(),w.getCenterY()-w.getHeight()/2-c.DEFAULT_EDGE_LENGTH-D.getHeight()/2):x==1?D.setCenter(w.getCenterX()+w.getWidth()/2+c.DEFAULT_EDGE_LENGTH+D.getWidth()/2,w.getCenterY()):x==2?D.setCenter(w.getCenterX(),w.getCenterY()+w.getHeight()/2+c.DEFAULT_EDGE_LENGTH+D.getHeight()/2):D.setCenter(w.getCenterX()-w.getWidth()/2-c.DEFAULT_EDGE_LENGTH-D.getWidth()/2,w.getCenterY())},a.exports=C},function(a,n,i){var s={};s.layoutBase=i(0),s.CoSEConstants=i(1),s.CoSEEdge=i(2),s.CoSEGraph=i(3),s.CoSEGraphManager=i(4),s.CoSELayout=i(6),s.CoSENode=i(5),a.exports=s}])})}(Bn)),Bn.exports}(function(t,e){(function(a,n){t.exports=n(wm())})(Vt,function(r){return function(a){var n={};function i(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return a[s].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=a,i.c=n,i.i=function(s){return s},i.d=function(s,o,l){i.o(s,o)||Object.defineProperty(s,o,{configurable:!1,enumerable:!0,get:l})},i.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return i.d(o,"a",o),o},i.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},i.p="",i(i.s=1)}([function(a,n){a.exports=r},function(a,n,i){var s=i(0).layoutBase.LayoutConstants,o=i(0).layoutBase.FDLayoutConstants,l=i(0).CoSEConstants,u=i(0).CoSELayout,f=i(0).CoSENode,h=i(0).layoutBase.PointD,c=i(0).layoutBase.DimensionD,v={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function d(E,m){var T={};for(var C in E)T[C]=E[C];for(var C in m)T[C]=m[C];return T}function g(E){this.options=d(v,E),p(this.options)}var p=function(m){m.nodeRepulsion!=null&&(l.DEFAULT_REPULSION_STRENGTH=o.DEFAULT_REPULSION_STRENGTH=m.nodeRepulsion),m.idealEdgeLength!=null&&(l.DEFAULT_EDGE_LENGTH=o.DEFAULT_EDGE_LENGTH=m.idealEdgeLength),m.edgeElasticity!=null&&(l.DEFAULT_SPRING_STRENGTH=o.DEFAULT_SPRING_STRENGTH=m.edgeElasticity),m.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=o.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=m.nestingFactor),m.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=o.DEFAULT_GRAVITY_STRENGTH=m.gravity),m.numIter!=null&&(l.MAX_ITERATIONS=o.MAX_ITERATIONS=m.numIter),m.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=o.DEFAULT_GRAVITY_RANGE_FACTOR=m.gravityRange),m.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=o.DEFAULT_COMPOUND_GRAVITY_STRENGTH=m.gravityCompound),m.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=o.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=m.gravityRangeCompound),m.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=o.DEFAULT_COOLING_FACTOR_INCREMENTAL=m.initialEnergyOnIncremental),m.quality=="draft"?s.QUALITY=0:m.quality=="proof"?s.QUALITY=2:s.QUALITY=1,l.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=s.NODE_DIMENSIONS_INCLUDE_LABELS=m.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=s.DEFAULT_INCREMENTAL=!m.randomize,l.ANIMATE=o.ANIMATE=s.ANIMATE=m.animate,l.TILE=m.tile,l.TILING_PADDING_VERTICAL=typeof m.tilingPaddingVertical=="function"?m.tilingPaddingVertical.call():m.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof m.tilingPaddingHorizontal=="function"?m.tilingPaddingHorizontal.call():m.tilingPaddingHorizontal};g.prototype.run=function(){var E,m,T=this.options;this.idToLNode={};var C=this.layout=new u,S=this;S.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var b=C.newGraphManager();this.gm=b;var x=this.options.eles.nodes(),w=this.options.eles.edges();this.root=b.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(x),C);for(var D=0;D<w.length;D++){var A=w[D],L=this.idToLNode[A.data("source")],I=this.idToLNode[A.data("target")];if(L!==I&&L.getEdgesBetween(I).length==0){var O=b.add(C.newEdge(),L,I);O.id=A.id()}}var P=function(k,B){typeof k=="number"&&(k=B);var G=k.data("id"),F=S.idToLNode[G];return{x:F.getRect().getCenterX(),y:F.getRect().getCenterY()}},R=function M(){for(var k=function(){T.fit&&T.cy.fit(T.eles,T.padding),E||(E=!0,S.cy.one("layoutready",T.ready),S.cy.trigger({type:"layoutready",layout:S}))},B=S.options.refresh,G,F=0;F<B&&!G;F++)G=S.stopped||S.layout.tick();if(G){C.checkLayoutSuccess()&&!C.isSubLayout&&C.doPostLayout(),C.tilingPostLayout&&C.tilingPostLayout(),C.isLayoutFinished=!0,S.options.eles.nodes().positions(P),k(),S.cy.one("layoutstop",S.options.stop),S.cy.trigger({type:"layoutstop",layout:S}),m&&cancelAnimationFrame(m),E=!1;return}var $=S.layout.getPositionsData();T.eles.nodes().positions(function(U,_){if(typeof U=="number"&&(U=_),!U.isParent()){for(var Y=U.id(),W=$[Y],z=U;W==null&&(W=$[z.data("parent")]||$["DummyCompound_"+z.data("parent")],$[Y]=W,z=z.parent()[0],z!=null););return W!=null?{x:W.x,y:W.y}:{x:U.position("x"),y:U.position("y")}}}),k(),m=requestAnimationFrame(M)};return C.addListener("layoutstarted",function(){S.options.animate==="during"&&(m=requestAnimationFrame(R))}),C.runLayout(),this.options.animate!=="during"&&(S.options.eles.nodes().not(":parent").layoutPositions(S,S.options,P),E=!1),this},g.prototype.getTopMostNodes=function(E){for(var m={},T=0;T<E.length;T++)m[E[T].id()]=!0;var C=E.filter(function(S,b){typeof S=="number"&&(S=b);for(var x=S.parent()[0];x!=null;){if(m[x.id()])return!1;x=x.parent()[0]}return!0});return C},g.prototype.processChildrenList=function(E,m,T){for(var C=m.length,S=0;S<C;S++){var b=m[S],x=b.children(),w,D=b.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(b.outerWidth()!=null&&b.outerHeight()!=null?w=E.add(new f(T.graphManager,new h(b.position("x")-D.w/2,b.position("y")-D.h/2),new c(parseFloat(D.w),parseFloat(D.h)))):w=E.add(new f(this.graphManager)),w.id=b.data("id"),w.paddingLeft=parseInt(b.css("padding")),w.paddingTop=parseInt(b.css("padding")),w.paddingRight=parseInt(b.css("padding")),w.paddingBottom=parseInt(b.css("padding")),this.options.nodeDimensionsIncludeLabels&&b.isParent()){var A=b.boundingBox({includeLabels:!0,includeNodes:!1}).w,L=b.boundingBox({includeLabels:!0,includeNodes:!1}).h,I=b.css("text-halign");w.labelWidth=A,w.labelHeight=L,w.labelPos=I}if(this.idToLNode[b.data("id")]=w,isNaN(w.rect.x)&&(w.rect.x=0),isNaN(w.rect.y)&&(w.rect.y=0),x!=null&&x.length>0){var O;O=T.getGraphManager().add(T.newGraph(),w),this.processChildrenList(O,x,T)}}},g.prototype.stop=function(){return this.stopped=!0,this};var y=function(m){m("layout","cose-bilkent",g)};typeof cytoscape<"u"&&y(cytoscape),a.exports=y}])})})(Ol);var xm=Ol.exports;const Tm=Ys(xm);var Zn=function(){var t=function(T,C,S,b){for(S=S||{},b=T.length;b--;S[T[b]]=C);return S},e=[1,4],r=[1,13],a=[1,12],n=[1,15],i=[1,16],s=[1,20],o=[1,19],l=[6,7,8],u=[1,26],f=[1,24],h=[1,25],c=[6,7,11],v=[1,6,13,15,16,19,22],d=[1,33],g=[1,34],p=[1,6,7,11,13,15,16,19,22],y={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(C,S,b,x,w,D,A){var L=D.length-1;switch(w){case 6:case 7:return x;case 8:x.getLogger().trace("Stop NL ");break;case 9:x.getLogger().trace("Stop EOF ");break;case 11:x.getLogger().trace("Stop NL2 ");break;case 12:x.getLogger().trace("Stop EOF2 ");break;case 15:x.getLogger().info("Node: ",D[L].id),x.addNode(D[L-1].length,D[L].id,D[L].descr,D[L].type);break;case 16:x.getLogger().trace("Icon: ",D[L]),x.decorateNode({icon:D[L]});break;case 17:case 21:x.decorateNode({class:D[L]});break;case 18:x.getLogger().trace("SPACELIST");break;case 19:x.getLogger().trace("Node: ",D[L].id),x.addNode(0,D[L].id,D[L].descr,D[L].type);break;case 20:x.decorateNode({icon:D[L]});break;case 25:x.getLogger().trace("node found ..",D[L-2]),this.$={id:D[L-1],descr:D[L-1],type:x.getType(D[L-2],D[L])};break;case 26:this.$={id:D[L],descr:D[L],type:x.nodeType.DEFAULT};break;case 27:x.getLogger().trace("node found ..",D[L-3]),this.$={id:D[L-3],descr:D[L-1],type:x.getType(D[L-2],D[L])};break}},table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:r,7:[1,10],9:9,12:11,13:a,14:14,15:n,16:i,17:17,18:18,19:s,22:o},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:a,14:14,15:n,16:i,17:17,18:18,19:s,22:o},{6:r,9:22,12:11,13:a,14:14,15:n,16:i,17:17,18:18,19:s,22:o},{6:u,7:f,10:23,11:h},t(c,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:o}),t(c,[2,18]),t(c,[2,19]),t(c,[2,20]),t(c,[2,21]),t(c,[2,23]),t(c,[2,24]),t(c,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:f,10:32,11:h},{1:[2,7],6:r,12:21,13:a,14:14,15:n,16:i,17:17,18:18,19:s,22:o},t(v,[2,14],{7:d,11:g}),t(p,[2,8]),t(p,[2,9]),t(p,[2,10]),t(c,[2,15]),t(c,[2,16]),t(c,[2,17]),{20:[1,35]},{21:[1,36]},t(v,[2,13],{7:d,11:g}),t(p,[2,11]),t(p,[2,12]),{21:[1,37]},t(c,[2,25]),t(c,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(C,S){if(S.recoverable)this.trace(C);else{var b=new Error(C);throw b.hash=S,b}},parse:function(C){var S=this,b=[0],x=[],w=[null],D=[],A=this.table,L="",I=0,O=0,P=2,R=1,M=D.slice.call(arguments,1),k=Object.create(this.lexer),B={yy:{}};for(var G in this.yy)Object.prototype.hasOwnProperty.call(this.yy,G)&&(B.yy[G]=this.yy[G]);k.setInput(C,B.yy),B.yy.lexer=k,B.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var F=k.yylloc;D.push(F);var $=k.options&&k.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var te;return te=x.pop()||k.lex()||R,typeof te!="number"&&(te instanceof Array&&(x=te,te=x.pop()),te=S.symbols_[te]||te),te}for(var _,Y,W,z,K={},j,Q,ee,ne;;){if(Y=b[b.length-1],this.defaultActions[Y]?W=this.defaultActions[Y]:((_===null||typeof _>"u")&&(_=U()),W=A[Y]&&A[Y][_]),typeof W>"u"||!W.length||!W[0]){var ce="";ne=[];for(j in A[Y])this.terminals_[j]&&j>P&&ne.push("'"+this.terminals_[j]+"'");k.showPosition?ce="Parse error on line "+(I+1)+`: +`+k.showPosition()+` +Expecting `+ne.join(", ")+", got '"+(this.terminals_[_]||_)+"'":ce="Parse error on line "+(I+1)+": Unexpected "+(_==R?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(ce,{text:k.match,token:this.terminals_[_]||_,line:k.yylineno,loc:F,expected:ne})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Y+", token: "+_);switch(W[0]){case 1:b.push(_),w.push(k.yytext),D.push(k.yylloc),b.push(W[1]),_=null,O=k.yyleng,L=k.yytext,I=k.yylineno,F=k.yylloc;break;case 2:if(Q=this.productions_[W[1]][1],K.$=w[w.length-Q],K._$={first_line:D[D.length-(Q||1)].first_line,last_line:D[D.length-1].last_line,first_column:D[D.length-(Q||1)].first_column,last_column:D[D.length-1].last_column},$&&(K._$.range=[D[D.length-(Q||1)].range[0],D[D.length-1].range[1]]),z=this.performAction.apply(K,[L,O,I,B.yy,W[1],w,D].concat(M)),typeof z<"u")return z;Q&&(b=b.slice(0,-1*Q*2),w=w.slice(0,-1*Q),D=D.slice(0,-1*Q)),b.push(this.productions_[W[1]][0]),w.push(K.$),D.push(K._$),ee=A[b[b.length-2]][b[b.length-1]],b.push(ee);break;case 3:return!0}}return!0}},E=function(){var T={EOF:1,parseError:function(S,b){if(this.yy.parser)this.yy.parser.parseError(S,b);else throw new Error(S)},setInput:function(C,S){return this.yy=S||this.yy||{},this._input=C,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var C=this._input[0];this.yytext+=C,this.yyleng++,this.offset++,this.match+=C,this.matched+=C;var S=C.match(/(?:\r\n?|\n).*/g);return S?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),C},unput:function(C){var S=C.length,b=C.split(/(?:\r\n?|\n)/g);this._input=C+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),b.length-1&&(this.yylineno-=b.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:b?(b.length===x.length?this.yylloc.first_column:0)+x[x.length-b.length].length-b[0].length:this.yylloc.first_column-S},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-S]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(C){this.unput(this.match.slice(C))},pastInput:function(){var C=this.matched.substr(0,this.matched.length-this.match.length);return(C.length>20?"...":"")+C.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var C=this.match;return C.length<20&&(C+=this._input.substr(0,20-C.length)),(C.substr(0,20)+(C.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var C=this.pastInput(),S=new Array(C.length+1).join("-");return C+this.upcomingInput()+` +`+S+"^"},test_match:function(C,S){var b,x,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),x=C[0].match(/(?:\r\n?|\n).*/g),x&&(this.yylineno+=x.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+C[0].length},this.yytext+=C[0],this.match+=C[0],this.matches=C,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(C[0].length),this.matched+=C[0],b=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),b)return b;if(this._backtrack){for(var D in w)this[D]=w[D];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var C,S,b,x;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),D=0;D<w.length;D++)if(b=this._input.match(this.rules[w[D]]),b&&(!S||b[0].length>S[0].length)){if(S=b,x=D,this.options.backtrack_lexer){if(C=this.test_match(b,w[D]),C!==!1)return C;if(this._backtrack){S=!1;continue}else return!1}else if(!this.options.flex)break}return S?(C=this.test_match(S,w[x]),C!==!1?C:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var S=this.next();return S||this.lex()},begin:function(S){this.conditionStack.push(S)},popState:function(){var S=this.conditionStack.length-1;return S>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(S){return S=this.conditionStack.length-1-Math.abs(S||0),S>=0?this.conditionStack[S]:"INITIAL"},pushState:function(S){this.begin(S)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(S,b,x,w){switch(x){case 0:return S.getLogger().trace("Found comment",b.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:S.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return S.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:S.getLogger().trace("end icon"),this.popState();break;case 10:return S.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return S.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return S.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return S.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:return this.begin("NODE"),19;case 15:return this.begin("NODE"),19;case 16:return this.begin("NODE"),19;case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:S.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return S.getLogger().trace("description:",b.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),S.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),S.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),S.getLogger().trace("node end ...",b.yytext),"NODE_DEND";case 30:return this.popState(),S.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),S.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),S.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),S.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),S.getLogger().trace("node end (("),"NODE_DEND";case 35:return S.getLogger().trace("Long description:",b.yytext),20;case 36:return S.getLogger().trace("Long description:",b.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return T}();y.lexer=E;function m(){this.yy={}}return m.prototype=y,y.Parser=m,new m}();Zn.parser=Zn;const Cm=Zn;let Ct=[],Nl=0,xi={};const Dm=()=>{Ct=[],Nl=0,xi={}},Sm=function(t){for(let e=Ct.length-1;e>=0;e--)if(Ct[e].level<t)return Ct[e];return null},Lm=()=>Ct.length>0?Ct[0]:null,Am=(t,e,r,a)=>{var n,i;ur.info("addNode",t,e,r,a);const s=Qn();let o=((n=s.mindmap)==null?void 0:n.padding)??_a.mindmap.padding;switch(a){case Ve.ROUNDED_RECT:case Ve.RECT:case Ve.HEXAGON:o*=2}const l={id:Nl++,nodeId:Ua(e,s),level:t,descr:Ua(r,s),type:a,children:[],width:((i=s.mindmap)==null?void 0:i.maxNodeWidth)??_a.mindmap.maxNodeWidth,padding:o},u=Sm(t);if(u)u.children.push(l),Ct.push(l);else if(Ct.length===0)Ct.push(l);else throw new Error('There can be only one root. No parent could be found for ("'+l.descr+'")')},Ve={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Om=(t,e)=>{switch(ur.debug("In get type",t,e),t){case"[":return Ve.RECT;case"(":return e===")"?Ve.ROUNDED_RECT:Ve.CLOUD;case"((":return Ve.CIRCLE;case")":return Ve.CLOUD;case"))":return Ve.BANG;case"{{":return Ve.HEXAGON;default:return Ve.DEFAULT}},Nm=(t,e)=>{xi[t]=e},Im=t=>{if(!t)return;const e=Qn(),r=Ct[Ct.length-1];t.icon&&(r.icon=Ua(t.icon,e)),t.class&&(r.class=Ua(t.class,e))},Mm=t=>{switch(t){case Ve.DEFAULT:return"no-border";case Ve.RECT:return"rect";case Ve.ROUNDED_RECT:return"rounded-rect";case Ve.CIRCLE:return"circle";case Ve.CLOUD:return"cloud";case Ve.BANG:return"bang";case Ve.HEXAGON:return"hexgon";default:return"no-border"}},Rm=()=>ur,km=t=>xi[t],Pm={clear:Dm,addNode:Am,getMindmap:Lm,nodeType:Ve,getType:Om,setElementForId:Nm,decorateNode:Im,type2Str:Mm,getLogger:Rm,getElementById:km},Bm=Pm,Fm=12,Gm=function(t,e,r,a){e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 ${r.height-5} v${-r.height+2*5} q0,-5 5,-5 h${r.width-2*5} q5,0 5,5 v${r.height-5} H0 Z`),e.append("line").attr("class","node-line-"+a).attr("x1",0).attr("y1",r.height).attr("x2",r.width).attr("y2",r.height)},zm=function(t,e,r){e.append("rect").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("height",r.height).attr("width",r.width)},$m=function(t,e,r){const a=r.width,n=r.height,i=.15*a,s=.25*a,o=.35*a,l=.2*a;e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 0 a${i},${i} 0 0,1 ${a*.25},${-1*a*.1} + a${o},${o} 1 0,1 ${a*.4},${-1*a*.1} + a${s},${s} 1 0,1 ${a*.35},${1*a*.2} + + a${i},${i} 1 0,1 ${a*.15},${1*n*.35} + a${l},${l} 1 0,1 ${-1*a*.15},${1*n*.65} + + a${s},${i} 1 0,1 ${-1*a*.25},${a*.15} + a${o},${o} 1 0,1 ${-1*a*.5},0 + a${i},${i} 1 0,1 ${-1*a*.25},${-1*a*.15} + + a${i},${i} 1 0,1 ${-1*a*.1},${-1*n*.35} + a${l},${l} 1 0,1 ${a*.1},${-1*n*.65} + + H0 V0 Z`)},Vm=function(t,e,r){const a=r.width,n=r.height,i=.15*a;e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 0 a${i},${i} 1 0,0 ${a*.25},${-1*n*.1} + a${i},${i} 1 0,0 ${a*.25},0 + a${i},${i} 1 0,0 ${a*.25},0 + a${i},${i} 1 0,0 ${a*.25},${1*n*.1} + + a${i},${i} 1 0,0 ${a*.15},${1*n*.33} + a${i*.8},${i*.8} 1 0,0 0,${1*n*.34} + a${i},${i} 1 0,0 ${-1*a*.15},${1*n*.33} + + a${i},${i} 1 0,0 ${-1*a*.25},${n*.15} + a${i},${i} 1 0,0 ${-1*a*.25},0 + a${i},${i} 1 0,0 ${-1*a*.25},0 + a${i},${i} 1 0,0 ${-1*a*.25},${-1*n*.15} + + a${i},${i} 1 0,0 ${-1*a*.1},${-1*n*.33} + a${i*.8},${i*.8} 1 0,0 0,${-1*n*.34} + a${i},${i} 1 0,0 ${a*.1},${-1*n*.33} + + H0 V0 Z`)},_m=function(t,e,r){e.append("circle").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("r",r.width/2)};function Um(t,e,r,a,n){return t.insert("polygon",":first-child").attr("points",a.map(function(i){return i.x+","+i.y}).join(" ")).attr("transform","translate("+(n.width-e)/2+", "+r+")")}const Hm=function(t,e,r){const a=r.height,i=a/4,s=r.width-r.padding+2*i,o=[{x:i,y:0},{x:s-i,y:0},{x:s,y:-a/2},{x:s-i,y:-a},{x:i,y:-a},{x:0,y:-a/2}];Um(e,s,a,o,r)},Ym=function(t,e,r){e.append("rect").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("height",r.height).attr("rx",r.padding).attr("ry",r.padding).attr("width",r.width)},Xm=function(t,e,r,a,n){const i=n.htmlLabels,s=a%(Fm-1),o=e.append("g");r.section=s;let l="section-"+s;s<0&&(l+=" section-root"),o.attr("class",(r.class?r.class+" ":"")+"mindmap-node "+l);const u=o.append("g"),f=o.append("g"),h=r.descr.replace(/(<br\/*>)/g,` +`);Kl(f,h,{useHtmlLabels:i,width:r.width,classes:"mindmap-node-label"}),i||f.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const c=f.node().getBBox(),[v]=ql(n.fontSize);if(r.height=c.height+v*1.1*.5+r.padding,r.width=c.width+2*r.padding,r.icon)if(r.type===t.nodeType.CIRCLE)r.height+=50,r.width+=50,o.append("foreignObject").attr("height","50px").attr("width",r.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+r.icon),f.attr("transform","translate("+r.width/2+", "+(r.height/2-1.5*r.padding)+")");else{r.width+=50;const d=r.height;r.height=Math.max(d,60);const g=Math.abs(r.height-d);o.append("foreignObject").attr("width","60px").attr("height",r.height).attr("style","text-align: center;margin-top:"+g/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+r.icon),f.attr("transform","translate("+(25+r.width/2)+", "+(g/2+r.padding/2)+")")}else if(i){const d=(r.width-c.width)/2,g=(r.height-c.height)/2;f.attr("transform","translate("+d+", "+g+")")}else{const d=r.width/2,g=r.padding/2;f.attr("transform","translate("+d+", "+g+")")}switch(r.type){case t.nodeType.DEFAULT:Gm(t,u,r,s);break;case t.nodeType.ROUNDED_RECT:Ym(t,u,r);break;case t.nodeType.RECT:zm(t,u,r);break;case t.nodeType.CIRCLE:u.attr("transform","translate("+r.width/2+", "+ +r.height/2+")"),_m(t,u,r);break;case t.nodeType.CLOUD:$m(t,u,r);break;case t.nodeType.BANG:Vm(t,u,r);break;case t.nodeType.HEXAGON:Hm(t,u,r);break}return t.setElementForId(r.id,o),r.height},Wm=function(t,e){const r=t.getElementById(e.id),a=e.x||0,n=e.y||0;r.attr("transform","translate("+a+","+n+")")};Al.use(Tm);function Il(t,e,r,a,n){Xm(t,e,r,a,n),r.children&&r.children.forEach((i,s)=>{Il(t,e,i,a<0?s:a,n)})}function qm(t,e){e.edges().map((r,a)=>{const n=r.data();if(r[0]._private.bodyBounds){const i=r[0]._private.rscratch;ur.trace("Edge: ",a,n),t.insert("path").attr("d",`M ${i.startX},${i.startY} L ${i.midX},${i.midY} L${i.endX},${i.endY} `).attr("class","edge section-edge-"+n.section+" edge-depth-"+n.depth)}})}function Ml(t,e,r,a){e.add({group:"nodes",data:{id:t.id.toString(),labelText:t.descr,height:t.height,width:t.width,level:a,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach(n=>{Ml(n,e,r,a+1),e.add({group:"edges",data:{id:`${t.id}_${n.id}`,source:t.id,target:n.id,depth:a,section:n.section}})})}function Km(t,e){return new Promise(r=>{const a=Hl("body").append("div").attr("id","cy").attr("style","display:none"),n=Al({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),Ml(t,n,e,0),n.nodes().forEach(function(i){i.layoutDimensions=()=>{const s=i.data();return{w:s.width,h:s.height}}}),n.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),n.ready(i=>{ur.info("Ready",i),r(n)})})}function Zm(t,e){e.nodes().map((r,a)=>{const n=r.data();n.x=r.position().x,n.y=r.position().y,Wm(t,n);const i=t.getElementById(n.nodeId);ur.info("Id:",a,"Position: (",r.position().x,", ",r.position().y,")",n),i.attr("transform",`translate(${r.position().x-n.width/2}, ${r.position().y-n.height/2})`),i.attr("attr",`apa-${a})`)})}const Qm=async(t,e,r,a)=>{var n,i;ur.debug(`Rendering mindmap diagram +`+t);const s=a.db,o=s.getMindmap();if(!o)return;const l=Qn();l.htmlLabels=!1;const u=_l(e),f=u.append("g");f.attr("class","mindmap-edges");const h=u.append("g");h.attr("class","mindmap-nodes"),Il(s,h,o,-1,l);const c=await Km(o,l);qm(f,c),Zm(s,c),Ul(void 0,u,((n=l.mindmap)==null?void 0:n.padding)??_a.mindmap.padding,((i=l.mindmap)==null?void 0:i.useMaxWidth)??_a.mindmap.useMaxWidth)},Jm={draw:Qm},jm=t=>{let e="";for(let r=0;r<t.THEME_COLOR_LIMIT;r++)t["lineColor"+r]=t["lineColor"+r]||t["cScaleInv"+r],Yl(t["lineColor"+r])?t["lineColor"+r]=Xl(t["lineColor"+r],20):t["lineColor"+r]=Wl(t["lineColor"+r],20);for(let r=0;r<t.THEME_COLOR_LIMIT;r++){const a=""+(17-3*r);e+=` + .section-${r-1} rect, .section-${r-1} path, .section-${r-1} circle, .section-${r-1} polygon, .section-${r-1} path { + fill: ${t["cScale"+r]}; + } + .section-${r-1} text { + fill: ${t["cScaleLabel"+r]}; + } + .node-icon-${r-1} { + font-size: 40px; + color: ${t["cScaleLabel"+r]}; + } + .section-edge-${r-1}{ + stroke: ${t["cScale"+r]}; + } + .edge-depth-${r-1}{ + stroke-width: ${a}; + } + .section-${r-1} line { + stroke: ${t["cScaleInv"+r]} ; + stroke-width: 3; + } + + .disabled, .disabled circle, .disabled text { + fill: lightgray; + } + .disabled text { + fill: #efefef; + } + `}return e},e0=t=>` + .edge { + stroke-width: 3; + } + ${jm(t)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .mindmap-node-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; + } +`,t0=e0,z0={db:Bm,renderer:Jm,parser:Cm,styles:t0};export{z0 as diagram}; diff --git a/assets/motion-minimal-epsqYg85.js b/assets/motion-minimal-epsqYg85.js new file mode 100644 index 00000000000..22e98e5e4f9 --- /dev/null +++ b/assets/motion-minimal-epsqYg85.js @@ -0,0 +1 @@ +import{r as m}from"./index-ZXl4th35.js";function Pe(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Pe(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Je(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Pe(e))&&(n&&(n+=" "),n+=t);return n}const se="-";function Qe(e){const t=tt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;function o(a){const i=a.split(se);return i[0]===""&&i.length!==1&&i.shift(),Ae(i,t)||et(a)}function s(a,i){const u=r[a]||[];return i&&n[a]?[...u,...n[a]]:u}return{getClassGroupId:o,getConflictingClassGroupIds:s}}function Ae(e,t){if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Ae(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(se);return t.validators.find(({validator:a})=>a(s))?.classGroupId}const he=/^\[(.+)\]$/;function et(e){if(he.test(e)){const t=he.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function tt(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return nt(Object.entries(e.classGroups),r).forEach(([s,a])=>{ee(a,n,s,t)}),n}function ee(e,t,r,n){e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:ye(t,o);s.classGroupId=r;return}if(typeof o=="function"){if(rt(o)){ee(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([s,a])=>{ee(a,ye(t,s),r,n)})})}function ye(e,t){let r=e;return t.split(se).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function rt(e){return e.isThemeGetter}function nt(e,t){return t?e.map(([r,n])=>{const o=n.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,i])=>[t+a,i])):s);return[r,o]}):e}function ot(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function o(s,a){r.set(s,a),t++,t>e&&(t=0,n=r,r=new Map)}return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=n.get(s))!==void 0)return o(s,a),a},set(s,a){r.has(s)?r.set(s,a):o(s,a)}}}const Te="!";function st(e){const t=e.separator,r=t.length===1,n=t[0],o=t.length;return function(a){const i=[];let u=0,c=0,d;for(let h=0;h<a.length;h++){let v=a[h];if(u===0){if(v===n&&(r||a.slice(h,h+o)===t)){i.push(a.slice(c,h)),c=h+o;continue}if(v==="/"){d=h;continue}}v==="["?u++:v==="]"&&u--}const l=i.length===0?a:a.substring(c),p=l.startsWith(Te),b=p?l.substring(1):l,w=d&&d>c?d-c:void 0;return{modifiers:i,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:w}}}function at(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t}function it(e){return{cache:ot(e.cacheSize),splitModifiers:st(e),...Qe(e)}}const lt=/\s+/;function ct(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,s=new Set;return e.trim().split(lt).map(a=>{const{modifiers:i,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:d}=r(a);let l=n(d?c.substring(0,d):c),p=!!d;if(!l){if(!d)return{isTailwindClass:!1,originalClassName:a};if(l=n(c),!l)return{isTailwindClass:!1,originalClassName:a};p=!1}const b=at(i).join(":");return{isTailwindClass:!0,modifierId:u?b+Te:b,classGroupId:l,originalClassName:a,hasPostfixModifier:p}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;const{modifierId:i,classGroupId:u,hasPostfixModifier:c}=a,d=i+u;return s.has(d)?!1:(s.add(d),o(u,c).forEach(l=>s.add(i+l)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function ut(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ze(t))&&(n&&(n+=" "),n+=r);return n}function ze(e){if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=ze(e[n]))&&(r&&(r+=" "),r+=t);return r}function te(e,...t){let r,n,o,s=a;function a(u){const c=t.reduce((d,l)=>l(d),e());return r=it(c),n=r.cache.get,o=r.cache.set,s=i,i(u)}function i(u){const c=n(u);if(c)return c;const d=ct(u,r);return o(u,d),d}return function(){return s(ut.apply(null,arguments))}}function y(e){const t=r=>r[e]||[];return t.isThemeGetter=!0,t}const Re=/^\[(?:([a-z-]+):)?(.+)\]$/i,dt=/^\d+\/\d+$/,ft=new Set(["px","full","screen"]),pt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ht=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function M(e){return z(e)||ft.has(e)||dt.test(e)}function P(e){return V(e,"length",Mt)}function z(e){return!!e&&!Number.isNaN(Number(e))}function j(e){return V(e,"number",z)}function G(e){return!!e&&Number.isInteger(Number(e))}function yt(e){return e.endsWith("%")&&z(e.slice(0,-1))}function g(e){return Re.test(e)}function A(e){return pt.test(e)}const xt=new Set(["length","size","percentage"]);function wt(e){return V(e,xt,Ve)}function vt(e){return V(e,"position",Ve)}const Ct=new Set(["image","url"]);function St(e){return V(e,Ct,At)}function kt(e){return V(e,"",Pt)}function W(){return!0}function V(e,t,r){const n=Re.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1}function Mt(e){return gt.test(e)&&!mt.test(e)}function Ve(){return!1}function Pt(e){return bt.test(e)}function At(e){return ht.test(e)}function re(){const e=y("colors"),t=y("spacing"),r=y("blur"),n=y("brightness"),o=y("borderColor"),s=y("borderRadius"),a=y("borderSpacing"),i=y("borderWidth"),u=y("contrast"),c=y("grayscale"),d=y("hueRotate"),l=y("invert"),p=y("gap"),b=y("gradientColorStops"),w=y("gradientColorStopPositions"),h=y("inset"),v=y("margin"),S=y("opacity"),C=y("padding"),k=y("saturate"),E=y("scale"),ce=y("sepia"),ue=y("skew"),de=y("space"),fe=y("translate"),Y=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",g,t],x=()=>[g,t],pe=()=>["",M,P],F=()=>["auto",z,g],ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],K=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",g],be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[z,j],$=()=>[z,g];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[M,P],blur:["none","",A,g],brightness:I(),borderColor:[e],borderRadius:["none","","full",A,g],borderSpacing:x(),borderWidth:pe(),contrast:I(),grayscale:L(),hueRotate:$(),invert:L(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[yt,P],inset:q(),margin:q(),opacity:I(),padding:x(),saturate:I(),scale:I(),sepia:L(),skew:$(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",g]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":be()}],"break-before":[{"break-before":be()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ge(),g]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",G,g]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",g]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",G,g]}],"grid-cols":[{"grid-cols":[W]}],"col-start-end":[{col:["auto",{span:["full",G,g]},g]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[W]}],"row-start-end":[{row:["auto",{span:[G,g]},g]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",g]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",g]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[de]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",g,t]}],"min-w":[{"min-w":[g,t,"min","max","fit"]}],"max-w":[{"max-w":[g,t,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[g,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[g,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[g,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[g,t,"auto","min","max","fit"]}],"font-size":[{text:["base",A,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[W]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",g]}],"line-clamp":[{"line-clamp":["none",z,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,g]}],"list-image":[{"list-image":["none",g]}],"list-style-type":[{list:["none","disc","decimal",g]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,P]}],"underline-offset":[{"underline-offset":["auto",M,g]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ge(),vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},St]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[M,g]}],"outline-w":[{outline:[M,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[M,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,kt]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":me()}],"bg-blend":[{"bg-blend":me()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",A,g]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[l]}],saturate:[{saturate:[k]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[l]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",g]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",g]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",g]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[G,g]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[ue]}],"skew-y":[{"skew-y":[ue]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",g]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",g]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",g]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,P,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Tt(e,{cacheSize:t,prefix:r,separator:n,extend:o={},override:s={}}){U(e,"cacheSize",t),U(e,"prefix",r),U(e,"separator",n);for(const a in s)zt(e[a],s[a]);for(const a in o)Rt(e[a],o[a]);return e}function U(e,t,r){r!==void 0&&(e[t]=r)}function zt(e,t){if(t)for(const r in t)U(e,r,t[r])}function Rt(e,t){if(t)for(const r in t){const n=t[r];n!==void 0&&(e[r]=(e[r]||[]).concat(n))}}function Fr(e,...t){return typeof e=="function"?te(re,e,...t):te(()=>Tt(re(),e),...t)}const Vt=te(re),Br=(...e)=>Vt(Je(e)),$r=e=>{try{return JSON.parse(e)}catch{return null}},Ee=m.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Z=m.createContext({}),Le=m.createContext(null),Ie=typeof document<"u",Et=Ie?m.useLayoutEffect:m.useEffect,Ge=m.createContext({strict:!1}),We=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Lt="framerAppearId",It="data-"+We(Lt);class xe{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Gt(e){let t=new xe,r=new xe,n=0,o=!1,s=!1;const a=new WeakSet,i={schedule:(u,c=!1,d=!1)=>{const l=d&&o,p=l?t:r;return c&&a.add(u),p.add(u)&&l&&o&&(n=t.order.length),u},cancel:u=>{r.remove(u),a.delete(u)},process:u=>{if(o){s=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let c=0;c<n;c++){const d=t.order[c];a.has(d)&&(i.schedule(d),e()),d(u)}o=!1,s&&(s=!1,i.process(u))}};return i}const H=["prepare","read","update","preRender","render","postRender"],Wt=40;function Oe(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=H.reduce((l,p)=>(l[p]=Gt(()=>r=!0),l),{}),a=l=>{s[l].process(o)},i=()=>{const l=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(l-o.timestamp,Wt),1),o.timestamp=l,o.isProcessing=!0,H.forEach(a),o.isProcessing=!1,r&&t&&(n=!1,e(i))},u=()=>{r=!0,n=!0,o.isProcessing||e(i)};return{schedule:H.reduce((l,p)=>{const b=s[p];return l[p]=(w,h=!1,v=!1)=>(r||u(),b.schedule(w,h,v)),l},{}),cancel:l=>H.forEach(p=>s[p].cancel(l)),state:o,steps:s}}const{schedule:Ot,cancel:jr}=Oe(queueMicrotask,!1);function Ft(e,t,r,n){const{visualElement:o}=m.useContext(Z),s=m.useContext(Ge),a=m.useContext(Le),i=m.useContext(Ee).reducedMotion,u=m.useRef();n=n||s.renderer,!u.current&&n&&(u.current=n(e,{visualState:t,parent:o,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:i}));const c=u.current;m.useInsertionEffect(()=>{c&&c.update(r,a)});const d=m.useRef(!!(r[It]&&!window.HandoffComplete));return Et(()=>{c&&(Ot.postRender(c.render),d.current&&c.animationState&&c.animationState.animateChanges())}),m.useEffect(()=>{c&&(c.updateFeatures(),!d.current&&c.animationState&&c.animationState.animateChanges(),d.current&&(d.current=!1,window.HandoffComplete=!0))}),c}function Bt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function $t(e,t,r){return m.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Bt(r)&&(r.current=n))},[t])}function ne(e){return typeof e=="string"||Array.isArray(e)}function Fe(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const jt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ht=["initial",...jt];function ae(e){return Fe(e.animate)||Ht.some(t=>ne(e[t]))}function Nt(e){return!!(ae(e)||e.variants)}function Ut(e,t){if(ae(e)){const{initial:r,animate:n}=e;return{initial:r===!1||ne(r)?r:void 0,animate:ne(n)?n:void 0}}return e.inherit!==!1?t:{}}function Xt(e){const{initial:t,animate:r}=Ut(e,m.useContext(Z));return m.useMemo(()=>({initial:t,animate:r}),[we(t),we(r)])}function we(e){return Array.isArray(e)?e.join(" "):e}const ve={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},oe={};for(const e in ve)oe[e]={isEnabled:t=>ve[e].some(r=>!!t[r])};function Zt(e){for(const t in e)oe[t]={...oe[t],...e[t]}}const _t=m.createContext({}),Yt=m.createContext({}),Dt=Symbol.for("motionComponentSymbol");function qt({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&Zt(e);function s(i,u){let c;const d={...m.useContext(Ee),...i,layoutId:Kt(i)},{isStatic:l}=d,p=Xt(i),b=n(i,l);if(!l&&Ie){p.visualElement=Ft(o,b,d,t);const w=m.useContext(Yt),h=m.useContext(Ge).strict;p.visualElement&&(c=p.visualElement.loadFeatures(d,h,e,w))}return m.createElement(Z.Provider,{value:p},c&&p.visualElement?m.createElement(c,{visualElement:p.visualElement,...d}):null,r(o,i,$t(b,p.visualElement,u),b,l,p.visualElement))}const a=m.forwardRef(s);return a[Dt]=o,a}function Kt({layoutId:e}){const t=m.useContext(_t).id;return t&&e!==void 0?t+"-"+e:e}function Jt(e){function t(n,o={}){return qt(e(n,o))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}const Qt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Be(e){return typeof e!="string"||e.includes("-")?!1:!!(Qt.indexOf(e)>-1||/[A-Z]/.test(e))}const $e={};function Hr(e){Object.assign($e,e)}const _=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],je=new Set(_);function He(e,{layout:t,layoutId:r}){return je.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!$e[e]||e==="opacity")}const R=e=>!!(e&&e.getVelocity),er={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tr=_.length;function rr(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let s="";for(let a=0;a<tr;a++){const i=_[a];if(e[i]!==void 0){const u=er[i]||i;s+=`${u}(${e[i]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(e,n?"":s):r&&n&&(s="none"),s}const Ne=e=>t=>typeof t=="string"&&t.startsWith(e),nr=Ne("--"),or=Ne("var(--"),Nr=e=>or(e)?sr.test(e.split("/*")[0].trim()):!1,sr=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)$/i,ar=(e,t)=>t&&typeof e=="number"?t.transform(e):e,ir=(e,t,r)=>r>t?t:r<e?e:r,ie={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},J={...ie,transform:e=>ir(0,1,e)},N={...ie,default:1},Ur=e=>Math.round(e*1e5)/1e5,Xr=/(-)?([\d]*\.?[\d])+/g,Zr=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,_r=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function lr(e){return typeof e=="string"}const O=e=>({test:t=>lr(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),T=O("deg"),Q=O("%"),f=O("px"),Yr=O("vh"),Dr=O("vw"),Ce={...Q,parse:e=>Q.parse(e)/100,transform:e=>Q.transform(e*100)},Se={...ie,transform:Math.round},cr={borderWidth:f,borderTopWidth:f,borderRightWidth:f,borderBottomWidth:f,borderLeftWidth:f,borderRadius:f,radius:f,borderTopLeftRadius:f,borderTopRightRadius:f,borderBottomRightRadius:f,borderBottomLeftRadius:f,width:f,maxWidth:f,height:f,maxHeight:f,size:f,top:f,right:f,bottom:f,left:f,padding:f,paddingTop:f,paddingRight:f,paddingBottom:f,paddingLeft:f,margin:f,marginTop:f,marginRight:f,marginBottom:f,marginLeft:f,rotate:T,rotateX:T,rotateY:T,rotateZ:T,scale:N,scaleX:N,scaleY:N,scaleZ:N,skew:T,skewX:T,skewY:T,distance:f,translateX:f,translateY:f,translateZ:f,x:f,y:f,z:f,perspective:f,transformPerspective:f,opacity:J,originX:Ce,originY:Ce,originZ:f,zIndex:Se,fillOpacity:J,strokeOpacity:J,numOctaves:Se};function Ue(e,t,r,n){const{style:o,vars:s,transform:a,transformOrigin:i}=e;let u=!1,c=!1,d=!0;for(const l in t){const p=t[l];if(nr(l)){s[l]=p;continue}const b=cr[l],w=ar(p,b);if(je.has(l)){if(u=!0,a[l]=w,!d)continue;p!==(b.default||0)&&(d=!1)}else l.startsWith("origin")?(c=!0,i[l]=w):o[l]=w}if(t.transform||(u||n?o.transform=rr(e.transform,r,d,n):o.transform&&(o.transform="none")),c){const{originX:l="50%",originY:p="50%",originZ:b=0}=i;o.transformOrigin=`${l} ${p} ${b}`}}const le=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Xe(e,t,r){for(const n in t)!R(t[n])&&!He(n,r)&&(e[n]=t[n])}function ur({transformTemplate:e},t,r){return m.useMemo(()=>{const n=le();return Ue(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function dr(e,t,r){const n=e.style||{},o={};return Xe(o,n,e),Object.assign(o,ur(e,t,r)),o}function fr(e,t,r){const n={},o=dr(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const pr=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function X(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||pr.has(e)}let Ze=e=>!X(e);function gr(e){e&&(Ze=t=>t.startsWith("on")?!X(t):e(t))}try{gr(require("@emotion/is-prop-valid").default)}catch{}function mr(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(Ze(o)||r===!0&&X(o)||!t&&!X(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function ke(e,t,r){return typeof e=="string"?e:f.transform(t+r*e)}function br(e,t,r){const n=ke(t,e.x,e.width),o=ke(r,e.y,e.height);return`${n} ${o}`}const hr={offset:"stroke-dashoffset",array:"stroke-dasharray"},yr={offset:"strokeDashoffset",array:"strokeDasharray"};function xr(e,t,r=1,n=0,o=!0){e.pathLength=1;const s=o?hr:yr;e[s.offset]=f.transform(-n);const a=f.transform(t),i=f.transform(r);e[s.array]=`${a} ${i}`}function _e(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:s,pathLength:a,pathSpacing:i=1,pathOffset:u=0,...c},d,l,p){if(Ue(e,c,d,p),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:b,style:w,dimensions:h}=e;b.transform&&(h&&(w.transform=b.transform),delete b.transform),h&&(o!==void 0||s!==void 0||w.transform)&&(w.transformOrigin=br(h,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(b.x=t),r!==void 0&&(b.y=r),n!==void 0&&(b.scale=n),a!==void 0&&xr(b,a,i,u,!1)}const Ye=()=>({...le(),attrs:{}}),De=e=>typeof e=="string"&&e.toLowerCase()==="svg";function wr(e,t,r,n){const o=m.useMemo(()=>{const s=Ye();return _e(s,t,{enableHardwareAcceleration:!1},De(n),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Xe(s,e.style,e),o.style={...s,...o.style}}return o}function vr(e=!1){return(r,n,o,{latestValues:s},a)=>{const u=(Be(r)?wr:fr)(n,s,a,r),c=mr(n,typeof r=="string",e),d=r!==m.Fragment?{...c,...u,ref:o}:{},{children:l}=n,p=m.useMemo(()=>R(l)?l.get():l,[l]);return m.createElement(r,{...d,children:p})}}function Cr(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const s in r)e.style.setProperty(s,r[s])}const Sr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function kr(e,t,r,n){Cr(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(Sr.has(o)?o:We(o),t.attrs[o])}function qe(e,t){const{style:r}=e,n={};for(const o in r)(R(r[o])||t.style&&R(t.style[o])||He(o,e))&&(n[o]=r[o]);return n}function Mr(e,t){const r=qe(e,t);for(const n in e)if(R(e[n])||R(t[n])){const o=_.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[o]=e[n]}return r}function Pr(e,t,r,n={},o={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),t}function Ar(e){const t=m.useRef(null);return t.current===null&&(t.current=e()),t.current}const Tr=e=>Array.isArray(e),zr=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),qr=e=>Tr(e)?e[e.length-1]||0:e;function Rr(e){const t=R(e)?e.get():e;return zr(t)?t.toValue():t}function Vr({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,s){const a={latestValues:Er(n,o,s,e),renderState:t()};return r&&(a.mount=i=>r(n,i,a)),a}const Ke=e=>(t,r)=>{const n=m.useContext(Z),o=m.useContext(Le),s=()=>Vr(e,t,n,o);return r?s():Ar(s)};function Er(e,t,r,n){const o={},s=n(e,{});for(const p in s)o[p]=Rr(s[p]);let{initial:a,animate:i}=e;const u=ae(e),c=Nt(e);t&&c&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),i===void 0&&(i=t.animate));let d=r?r.initial===!1:!1;d=d||a===!1;const l=d?i:a;return l&&typeof l!="boolean"&&!Fe(l)&&(Array.isArray(l)?l:[l]).forEach(b=>{const w=Pr(e,b);if(!w)return;const{transitionEnd:h,transition:v,...S}=w;for(const C in S){let k=S[C];if(Array.isArray(k)){const E=d?k.length-1:0;k=k[E]}k!==null&&(o[C]=k)}for(const C in h)o[C]=h[C]}),o}const Lr=e=>e,{schedule:Me,cancel:Kr,state:Jr,steps:Qr}=Oe(typeof requestAnimationFrame<"u"?requestAnimationFrame:Lr,!0),Ir={useVisualState:Ke({scrapeMotionValuesFromProps:Mr,createRenderState:Ye,onMount:(e,t,{renderState:r,latestValues:n})=>{Me.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Me.render(()=>{_e(r,n,{enableHardwareAcceleration:!1},De(t.tagName),e.transformTemplate),kr(t,r)})}})},Gr={useVisualState:Ke({scrapeMotionValuesFromProps:qe,createRenderState:le})};function Wr(e,{forwardMotionProps:t=!1},r,n){return{...Be(e)?Ir:Gr,preloadedFeatures:r,useRender:vr(t),createVisualElement:n,Component:e}}const en=Jt(Wr);export{_r as $,$e as A,Nr as B,_ as C,Ie as D,ie as E,ae as F,Nt as G,je as H,Pr as I,oe as J,Ht as K,Ge as L,Ee as M,nr as N,Ue as O,Le as P,qe as Q,Cr as R,Yt as S,Sr as T,We as U,Mr as V,_e as W,kr as X,De as Y,Be as Z,lr as _,Je as a,Xr as a0,Ur as a1,J as a2,Zr as a3,cr as a4,T as a5,Dr as a6,Yr as a7,qr as a8,It as a9,$r as aa,Ar as b,Br as c,_t as d,Fr as e,Me as f,Kr as g,Fe as h,R as i,Tr as j,ne as k,Zt as l,en as m,Lr as n,Jr as o,ir as p,Bt as q,Q as r,f as s,Vt as t,Et as u,jt as v,Hr as w,Ot as x,Qr as y,Rr as z}; diff --git a/assets/onig-mBJmD8D5.js b/assets/onig-mBJmD8D5.js new file mode 100644 index 00000000000..ea5df5e072d --- /dev/null +++ b/assets/onig-mBJmD8D5.js @@ -0,0 +1 @@ +var B=Uint8Array.from(atob("AGFzbQEAAAABoQEWYAJ/fwF/YAF/AX9gA39/fwF/YAR/f39/AX9gAX8AYAV/f39/fwF/YAN/f38AYAJ/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gAAF/YAl/f39/f39/f38Bf2AIf39/f39/f38Bf2AAAGAEf39/fwBgA39+fwF+YAZ/fH9/f38Bf2AAAXxgBn9/f39/fwBgAnx/AXxgAn5/AX9gBX9/f39/AAJ1BANlbnYVZW1zY3JpcHRlbl9tZW1jcHlfYmlnAAYDZW52EmVtc2NyaXB0ZW5fZ2V0X25vdwARFndhc2lfc25hcHNob3RfcHJldmlldzEIZmRfd3JpdGUAAwNlbnYWZW1zY3JpcHRlbl9yZXNpemVfaGVhcAABA9MB0QENBAABAAECAgsCAAIEBAACAQEAAQMCAwkCBgUDBQgCAwwMAwkJAwgDAQIFAwMEAQUHCwgCAgsABQUBAgQCBgIAAQACBAIABwMHBgcAAwACAAICAAQBAgcAAgUCAAEBBgYABgQACAUICQsJDAAAAAAAAAACAgIDAAIDAgADAQABAAACBQICAAESAQEEAgIGAgUDAQUAAgEBAAoBAAEAAwMCAAACBgIOAgEPAQEBChMCBQkGAQ4UFRAHAwIBAAEECggCAQgIBwcNAQQABwABCgQBBQQFAXABMzMFBwEBgAKAgAIGDgJ/AUHQj9MCC38BQQALB5QCDwZtZW1vcnkCABFfX3dhc21fY2FsbF9jdG9ycwAEGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBABBfX2Vycm5vX2xvY2F0aW9uALABB29tYWxsb2MAwAEFb2ZyZWUAwQEQZ2V0TGFzdE9uaWdFcnJvcgDCARFjcmVhdGVPbmlnU2Nhbm5lcgDEAQ9mcmVlT25pZ1NjYW5uZXIAxQEYZmluZE5leHRPbmlnU2Nhbm5lck1hdGNoAMYBG2ZpbmROZXh0T25pZ1NjYW5uZXJNYXRjaERiZwDHAQlzdGFja1NhdmUA0QEMc3RhY2tSZXN0b3JlANIBCnN0YWNrQWxsb2MA0wEMZHluQ2FsbF9qaWppANQBCVIBAEEBCzIFCgsPHC9vcHRxcnN1ugG7Ab0BBgcICYABfoEBggGDAX97fIUBmwF9hAFvnAFvnQGeAZ8BoAGhAZIBogGYAZcBowGkAaUBqwGqAawB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ACADNgIEIA0oAgBBATYCCEEADwsgACgCDCABEE8iA0EASARAIAMPCyACIAIoAowBIgVBAWo2AowBIAFBOxBRIgQNCyABKAIIIANBBWo2AgQgAUHNABBRIgQNCyABKAIIIAU2AgQgASgCCEEANgIIIAAoAgwgASACEEIiBA0LIAFBPhBRIgAhBCAADQsgASgCCCAFNgIEIAFBPRBRIgAhBCAADQsgAUE5EFEPCyMAQRBrIgkkAAJAIAAoAhQgACgCGEYEQCACIAIoAowBIgdBAWo2AowBAkAgASgCDCIDIAEoAhAiBEkNACAERQ0AIARBAXQiBkEATARAQXUhAwwDC0F7IQMgASgCACAEQShsEM0BIgVFDQIgASAFNgIAIAEoAgQgBEEDdBDNASIERQ0CIAEgBjYCECABIAQ2AgQgASgCDCEDCyABIANBAWo2AgwgASABKAIAIANBFGxqIgM2AgggA0EANgIQIANCADcCCCADQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akHNADYCACABKAIIIAc2AgQgASgCCEEANgIIAkAgASgCDCIDIAEoAhAiBEkNACAERQ0AIARBAXQiBkEATARAQXUhAwwDC0F7IQMgASgCACAEQShsEM0BIgVFDQIgASAFNgIAIAEoAgQgBEEDdBDNASIERQ0CIAEgBjYCECABIAQ2AgQgASgCDCEDCyABIANBAWo2AgwgASABKAIAIANBFGxqIgM2AgggA0EANgIQIANCADcCCCADQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akHKADYCACABKAIIIAAoAhQ2AgQgASgCCEEANgIIIAEoAghBATYCDCAAKAIMIAEgAhBCIgMNAQJAIAEoAgwiACABKAIQIgJJDQAgAkUNACACQQF0IgBBAEwEQEF1IQMMAwtBeyEDIAEoAgAgAkEobBDNASIERQ0CIAEgBDYCACABKAIEIAJBA3QQzQEiAkUNAiABIAA2AhAgASACNgIEIAEoAgwhAAsgASAAQQFqNgIMIAEgASgCACAAQRRsaiIANgIIQQAhAyAAQQA2AhAgAEIANwIIIABCADcCACABKAIEIAEoAgggASgCAGtBFG1BAnRqQcwANgIAIAEoAgggBzYCBCABKAIIQQA2AggMAQsgACgCICIDBEAgAyABIAkgAkEAEF0iA0EASA0BAkAgASgCDCIDIAEoAhAiBEkNACAERQ0AIARBAXQiB0EATARAQXUhAwwDC0F7IQMgASgCACAEQShsEM0BIgZFDQIgASAGNgIAIAEoAgQgBEEDdBDNASIERQ0CIAEgBzYCECABIAQ2AgQgASgCDCEDCyABIANBAWo2AgwgASABKAIAIANBFGxqIgM2AgggA0EANgIQIANCADcCCCADQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akHJADYCACABKAIIQQAgCSgCAGs2AgQgACgCICABIAIQQiIDDQELIAIgAigCjAEiB0EBajYCjAECQCABKAIMIgMgASgCECIESQ0AIARFDQAgBEEBdCIGQQBMBEBBdSEDDAILQXshAyABKAIAIARBKGwQzQEiBUUNASABIAU2AgAgASgCBCAEQQN0EM0BIgRFDQEgASAGNgIQIAEgBDYCBCABKAIMIQMLIAEgA0EBajYCDCABIAEoAgAgA0EUbGoiAzYCCCADQQA2AhAgA0IANwIIIANCADcCACABKAIEIAEoAgggASgCAGtBFG1BAnRqQc4ANgIAIAEoAghBAjYCBCABKAIIIAc2AggCQCABKAIMIgMgASgCECIESQ0AIARFDQAgBEEBdCIGQQBMBEBBdSEDDAILQXshAyABKAIAIARBKGwQzQEiBUUNASABIAU2AgAgASgCBCAEQQN0EM0BIgRFDQEgASAGNgIQIAEgBDYCBCABKAIMIQMLIAEgA0EBajYCDCABIAEoAgAgA0EUbGoiAzYCCCADQQA2AhAgA0IANwIIIANCADcCACABKAIEIAEoAgggASgCAGtBFG1BAnRqQc8ANgIAIAEoAghBBDYCBCACIAIoAowBIgZBAWo2AowBAkAgASgCDCIDIAEoAhAiBEkNACAERQ0AIARBAXQiBUEATARAQXUhAwwCC0F7IQMgASgCACAEQShsEM0BIghFDQEgASAINgIAIAEoAgQgBEEDdBDNASIERQ0BIAEgBTYCECABIAQ2AgQgASgCDCEDCyABIANBAWo2AgwgASABKAIAIANBFGxqIgM2AgggA0EANgIQIANCADcCCCADQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akHNADYCACABKAIIIAY2AgQgASgCCEEANgIIAkAgASgCDCIDIAEoAhAiBEkNACAERQ0AIARBAXQiBUEATARAQXUhAwwCC0F7IQMgASgCACAEQShsEM0BIghFDQEgASAINgIAIAEoAgQgBEEDdBDNASIERQ0BIAEgBTYCECABIAQ2AgQgASgCDCEDCyABIANBAWo2AgwgASABKAIAIANBFGxqIgM2AgggA0EANgIQIANCADcCCCADQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akE7NgIAIAEoAghBAjYCBAJAIAEoAgwiAyABKAIQIgRJDQAgBEUNACAEQQF0IgVBAEwEQEF1IQMMAgtBeyEDIAEoAgAgBEEobBDNASIIRQ0BIAEgCDYCACABKAIEIARBA3QQzQEiBEUNASABIAU2AhAgASAENgIEIAEoAgwhAwsgASADQQFqNgIMIAEgASgCACADQRRsaiIDNgIIIANBADYCECADQgA3AgggA0IANwIAIAEoAgQgASgCCCABKAIAa0EUbUECdGpBOjYCACABKAIIQQM2AgQCQCABKAIMIgMgASgCECIESQ0AIARFDQAgBEEBdCIFQQBMBEBBdSEDDAILQXshAyABKAIAIARBKGwQzQEiCEUNASABIAg2AgAgASgCBCAEQQN0EM0BIgRFDQEgASAFNgIQIAEgBDYCBCABKAIMIQMLIAEgA0EBajYCDCABIAEoAgAgA0EUbGoiAzYCCCADQQA2AhAgA0IANwIIIANCADcCACABKAIEIAEoAgggASgCAGtBFG1BAnRqQc8ANgIAIAEoAghBAjYCBCABKAIIIAc2AgggASgCCEEANgIMAkAgASgCDCIDIAEoAhAiBEkNACAERQ0AIARBAXQiBUEATARAQXUhAwwCC0F7IQMgASgCACAEQShsEM0BIghFDQEgASAINgIAIAEoAgQgBEEDdBDNASIERQ0BIAEgBTYCECABIAQ2AgQgASgCDCEDCyABIANBAWo2AgwgASABKAIAIANBFGxqIgM2AgggA0EANgIQIANCADcCCCADQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akE5NgIAIAFBygAQUSIDDQAgACgCGCEDIAEoAgggACgCFCIENgIEIAEoAghBfyADIARrIANBf0YbNgIIIAEoAghBAjYCDCABQcsAEFEiAw0AIAAoAgwgASACEEIiAw0AIAFBKBBRIgMNACABKAIIQQE2AgQgAUHMABBRIgMNACABKAIIIAY2AgQgASgCCEEANgIIIAFBzwAQUSIDDQAgASgCCEECNgIEIAEoAgggBzYCCCABKAIIQQE2AgxBACEDCyAJQRBqJAAgAw8LIwBBEGsiCiQAIAAoAgwgARBPIQggACgCGCEGIAAoAhQhBSACIAIoAowBIgdBAWo2AowBIAEoAhAhBCABKAIMIQMCQCAFIAZGBEACQCADIARJDQAgBEUNACAEQQF0IgZBAEwEQEF1IQMMAwtBeyEDIAEoAgAgBEEobBDNASIFRQ0CIAEgBTYCACABKAIEIARBA3QQzQEiBEUNAiABIAY2AhAgASAENgIEIAEoAgwhAwsgASADQQFqNgIMIAEgASgCACADQRRsaiIDNgIIIANBADYCECADQgA3AgggA0IANwIAIAEoAgQgASgCCCABKAIAa0EUbUECdGpBzQA2AgAgASgCCCAHNgIEIAEoAghBADYCCAJAIAEoAgwiAyABKAIQIgRJDQAgBEUNACAEQQF0IgZBAEwEQEF1IQMMAwtBeyEDIAEoAgAgBEEobBDNASIFRQ0CIAEgBTYCACABKAIEIARBA3QQzQEiBEUNAiABIAY2AhAgASAENgIEIAEoAgwhAwsgASADQQFqNgIMIAEgASgCACADQRRsaiIDNgIIIANBADYCECADQgA3AgggA0IANwIAIAEoAgQgASgCCCABKAIAa0EUbUECdGpBOzYCACABKAIIIAhBBGo2AgQCQCABKAIMIgMgASgCECIESQ0AIARFDQAgBEEBdCIGQQBMBEBBdSEDDAMLQXshAyABKAIAIARBKGwQzQEiBUUNAiABIAU2AgAgASgCBCAEQQN0EM0BIgRFDQIgASAGNgIQIAEgBDYCBCABKAIMIQMLIAEgA0EBajYCDCABIAEoAgAgA0EUbGoiAzYCCCADQQA2AhAgA0IANwIIIANCADcCACABKAIEIAEoAgggASgCAGtBFG1BAnRqQcoANgIAIAEoAgggACgCFDYCBCABKAIIQQA2AgggASgCCEEBNgIMIAAoAgwgASACEEIiAw0BAkAgASgCDCIAIAEoAhAiAkkNACACRQ0AIAJBAXQiAEEATARAQXUhAwwDC0F7IQMgASgCACACQShsEM0BIgRFDQIgASAENgIAIAEoAgQgAkEDdBDNASICRQ0CIAEgADYCECABIAI2AgQgASgCDCEACyABIABBAWo2AgwgASABKAIAIABBFGxqIgA2AgggAEEANgIQIABCADcCCCAAQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akE+NgIAIAEoAgggBzYCBAJAIAEoAgwiACABKAIQIgJJDQAgAkUNACACQQF0IgBBAEwEQEF1IQMMAwtBeyEDIAEoAgAgAkEobBDNASIERQ0CIAEgBDYCACABKAIEIAJBA3QQzQEiAkUNAiABIAA2AhAgASACNgIEIAEoAgwhAAsgASAAQQFqNgIMIAEgASgCACAAQRRsaiIANgIIIABBADYCECAAQgA3AgggAEIANwIAIAEoAgQgASgCCCABKAIAa0EUbUECdGpBOTYCAAJAIAEoAgwiACABKAIQIgJJDQAgAkUNACACQQF0IgBBAEwEQEF1IQMMAwtBeyEDIAEoAgAgAkEobBDNASIERQ0CIAEgBDYCACABKAIEIAJBA3QQzQEiAkUNAiABIAA2AhAgASACNgIEIAEoAgwhAAsgASAAQQFqNgIMIAEgASgCACAAQRRsaiIANgIIQQAhAyAAQQA2AhAgAEIANwIIIABCADcCACABKAIEIAEoAgggASgCAGtBFG1BAnRqQT02AgAMAQsCQCADIARJDQAgBEUNACAEQQF0IgZBAEwEQEF1IQMMAgtBeyEDIAEoAgAgBEEobBDNASIFRQ0BIAEgBTYCACABKAIEIARBA3QQzQEiBEUNASABIAY2AhAgASAENgIEIAEoAgwhAwsgASADQQFqNgIMIAEgASgCACADQRRsaiIDNgIIIANBADYCECADQgA3AgggA0IANwIAIAEoAgQgASgCCCABKAIAa0EUbUECdGpBzgA2AgAgASgCCEECNgIEIAEoAgggBzYCCAJAIAEoAgwiAyABKAIQIgRJDQAgBEUNACAEQQF0IgZBAEwEQEF1IQMMAgtBeyEDIAEoAgAgBEEobBDNASIFRQ0BIAEgBTYCACABKAIEIARBA3QQzQEiBEUNASABIAY2AhAgASAENgIEIAEoAgwhAwsgASADQQFqNgIMIAEgASgCACADQRRsaiIDNgIIIANBADYCECADQgA3AgggA0IANwIAIAEoAgQgASgCCCABKAIAa0EUbUECdGpBzwA2AgAgASgCCEEENgIEIAIgAigCjAEiBkEBajYCjAECQCABKAIMIgMgASgCECIESQ0AIARFDQAgBEEBdCIFQQBMBEBBdSEDDAILQXshAyABKAIAIARBKGwQzQEiCUUNASABIAk2AgAgASgCBCAEQQN0EM0BIgRFDQEgASAFNgIQIAEgBDYCBCABKAIMIQMLIAEgA0EBajYCDCABIAEoAgAgA0EUbGoiAzYCCCADQQA2AhAgA0IANwIIIANCADcCACABKAIEIAEoAgggASgCAGtBFG1BAnRqQc0ANgIAIAEoAgggBjYCBCABKAIIQQA2AggCQCABKAIMIgMgASgCECIESQ0AIARFDQAgBEEBdCIFQQBMBEBBdSEDDAILQXshAyABKAIAIARBKGwQzQEiCUUNASABIAk2AgAgASgCBCAEQQN0EM0BIgRFDQEgASAFNgIQIAEgBDYCBCABKAIMIQMLIAEgA0EBajYCDCABIAEoAgAgA0EUbGoiAzYCCCADQQA2AhAgA0IANwIIIANCADcCACABKAIEIAEoAgggASgCAGtBFG1BAnRqQTs2AgAgASgCCCAIQQhqNgIEIAAoAiAiAwRAIAMgARBPIQMgASgCCCIEIAMgBCgCBGpBAWo2AgQgACgCICABIAogAkEAEF0iA0EASA0BAkAgASgCDCIDIAEoAhAiBEkNACAERQ0AIARBAXQiBUEATARAQXUhAwwDC0F7IQMgASgCACAEQShsEM0BIghFDQIgASAINgIAIAEoAgQgBEEDdBDNASIERQ0CIAEgBTYCECABIAQ2AgQgASgCDCEDCyABIANBAWo2AgwgASABKAIAIANBFGxqIgM2AgggA0EANgIQIANCADcCCCADQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akHJADYCACABKAIIQQAgCigCAGs2AgQgACgCICABIAIQQiIDDQELAkAgASgCDCIDIAEoAhAiBEkNACAERQ0AIARBAXQiBUEATARAQXUhAwwCC0F7IQMgASgCACAEQShsEM0BIghFDQEgASAINgIAIAEoAgQgBEEDdBDNASIERQ0BIAEgBTYCECABIAQ2AgQgASgCDCEDCyABIANBAWo2AgwgASABKAIAIANBFGxqIgM2AgggA0EANgIQIANCADcCCCADQgA3AgAgASgCBCABKAIIIAEoAgBrQRRtQQJ0akHKADYCACAAKAIYIQMgASgCCCAA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AgANACAAKAIwDQAgACgCDCECIAAgAEEYaiIENgIMIAAgBCAAKAIQIAJrajYCEAsgBSgCAA0BIAUoAjANASAFKAIMIQAgBSAFQRhqIgI2AgwgBSACIAUoAhAgAGtqNgIQIAMQEAwGCyAGQcACaiIFIABBMGoiAikCADcDACAGQbgCaiIEIABBKGoiASkCADcDACAGQbACaiIJIABBIGoiCykCADcDACAGQagCaiIHIABBGGoiCikCADcDACAGQaACaiIOIABBEGoiDSkCADcDACAGQZgCaiIQIABBCGoiDCkCADcDACAGIAApAgA3A5ACIAIgA0EwaiIVKQIANwIAIAEgA0EoaiICKQIANwIAIAsgA0EgaiIBKQIANwIAIAogA0EYaiILKQIANwIAIA0gA0EQaiIKKQIANwIAIAwgA0EIaiINKQIANwIAIAAgAykCADcCACAVIAUpAwA3AgAgAiAEKQMANwIAIAEgCSkDADcCACALIAcpAwA3AgAgCiAOKQMANwIAIA0gECkDADcCACADIAYpA5ACNwIAAkAgACgCAA0AIAAoAjANACAAKAIMIQUgACAAQRhqIgI2AgwgACACIAAoAhAgBWtqNgIQCyADKAIADQAgAygCMA0AIAMoAgwhBSADIANBGGoiADYCDCADIAAgAygCECAFa2o2AhALIAMQEAwECyAGQcACaiIFIABBMGoiAikCADcDACAGQbgCaiIEIABBKGoiAykCADcDACAGQbACaiIBIABBIGoiCSkCADcDACAGQagCaiILIABBGGoiBykCADcDACAGQaACaiIKIABBEGoiDikCADcDACAGQZgCaiINIABBCGoiECkCADcDACAGIAApAgA3A5ACIAIgCEEwaiIMKQIANwIAIAMgCEEoaiICKQIANwIAIAkgCEEgaiIDKQIANwIAIAcgCEEYaiIJKQIANwIAIA4gCEEQaiIHKQIANwIAIBAgCEEIaiIOKQIANwIAIAAgCCkCADcCACAMIAUpAwA3AgAgAiAEKQMANwIAIAMgASkDADcCACAJIAspAwA3AgAgByAKKQMANwIAIA4gDSkDADcCACAIIAYpA5ACNwIAAkAgACgCAA0AIAAoAjANACAAKAIMIQUgACAAQRhqIgI2AgwgACACIAAoAhAgBWtqNgIQCwJAIAgoAgANACAIKAIwDQAgCCgC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QQFrQQZ0aiIBKAIAIAUoAhhHBEAgAUIANwIAIAFCADcCOCABQgA3AjAgAUIANwIoIAFCADcCICABQgA3AhggAUIANwIQIAFCADcCCCABIAUoAhg2AgALIAEoAghBACABKAIEGyECCyAAKAIIIgFBAEwNACAAKAIoKAIoIgUoAhwiBiABQQFrIghBBnRqIgEoAgAgBSgCGEcEQCABQgA3AgAgAUIANwI4IAFCADcCMCABQgA3AiggAUIANwIgIAFCADcCGCABQgA3AhAgAUIANwIIIAEgBSgCGDYCAAsCQCABKAIERQRAIAAoAgwgACgCCBAOIgFFDQIgASgCBEEBRw0CIAEoAkQiAyABKAJIIgUgBygCRCgCFBEAACEIQQAhBiAFIAMgBygCRCgCABEBACADaiIBSwRAIAEgBSAHKAJEKAIUEQAAIQZBmH4hAyABIAcoAkQoAgARAQAgAWogBUcNAwtBmH4hAwJ/AkACQAJAAkAgCEEhaw4eAQcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHAgADBwtBACAGQT1GDQMaDAYLQQEgBkE9Rg0CGgwFC0EEIAZBPUYNARogBg0EQQIMAQtBBSAGQT1GDQAaIAYNA0EDCyEBQWIhAyAAKAIIIgdBAEwNAiAAKAIoKAIoIgMoAhwgB0EGdGpBQGoiAEEBNgIEIAAgBTYCDCAAIAE2AgggACADKAIYNgIADAELIAYgCEEGdGooAgghAQtBACEAAkACQAJAAkACQAJAAkAgAQ4GAAECAwQFBgsgAiAERiEADAULIAIgBEchAAwECyACIARKIQAMAwsgAiAESCEADAILIAIgBE4hAAwBCyACIARMIQALIABBAXMhAwsgAws/AQF/AkAgACgCDCIAIAIgAWsiA2oQywEiAkUNACACIAEgAxCmASEBIABBAEwNACABIANqQQAgABCoARoLIAILJgAgAiABIAIgACgCOBEAACIBSwR/IAEgACgCABEBACABagUgAQsLHgEBfyABIAJJBH8gASACQQFrIAAoAjgRAAAFIAMLCzsAAkAgAkUNAANAIANBAEwEQCACDwsgASACTw0BIANBAWshAyABIAJBAWsgACgCOBEAACICDQALC0EAC2gBBH8gASECA0ACQCACLQAADQAgACgCDCIDQQFHBEAgAiEEIANBAkgNAQNAIAQtAAENAiAEQQFqIQQgA0ECSiEFIANBAWshAyAFDQALCyACIAFrDwsgAiAAKAIAEQEAIAJqIQIMAAsAC3UBBH8jAEEQayIAJAACQANAIAAgBEEDdEHQJWoiAygCBCIFNgIMIAMoAgAiBiAAQQxqQQEgAiABEQMAIgMNASAAIAY2AgwgBSAAQQxqQQEgAiABEQMAIgMNASAEQQFqIgRBGkcNAAtBACEDCyAAQRBqJAAgAwtOAEEgIQACfyABLQAAIgJBwQBrQf8BcUEaTwRAQWAhAEEAIAJB4QBrQf8BcUEZSw0BGgsgA0KBgICAEDcCACADIAAgAS0AAGo2AghBAQsLBABBfgscAAJ/IAAgAUkEQEEBIAAtAABBCkYNARoLQQALCyUAIAMgASgCAC0AAEHQH2otAAA6AAAgASABKAIAQQFqNgIAQQELBABBAQsHACAALQAACw4AQQFB8HwgAEGAAkkbCwsAIAEgADoAAEEBCwQAIAELzgEBBn8gASACSQRAIAEhAwNAIAVBAWohBSADIAAoAgARAQAgA2oiAyACSQ0ACwtBAEHAmhFqIQMgBEHHCWohBANAAkAgBSADIgYuAQgiB0cNACAFIQggASEDAkAgB0EATA0AA0AgAiADSwRAIAMgAiAAKAIUEQAAIAQtAABHDQMgBEEBaiEEIAMgACgCABEBACADaiEDIAhBAUshByAIQQFrIQggBw0BDAILCyAELQAADQELIAYoAgQPCyAGQQxqIQMgBigCDCIEDQALQaF+C2gBAX8CQCAEQQBKBEADQCABIAJPBEAgAy0AAA8LIAEgAiAAKAIUEQAAIQUgAy0AACAFayIFDQIgA0EBaiEDIAEgACgCABEBACABaiEBIARBAUshBSAEQQFrIQQgBQ0ACwtBACEFCyAFCy4BAX8gASACIAAoAhQRAAAiAEH/AE0EfyAAQQF0QdAhai8BAEEMdkEBcQUgAwsLPgEDfwJAIAJBAEwNAANAIAAgA0ECdCIFaigCACABIAVqKAIARgRAIAIgA0EBaiIDRw0BDAILC0F/IQQLIAQLJwEBfyAAIAFBA20iAkECdGooAgBBECABIAJBA2xrQQN0a3ZB/wFxC7YIAQF/Qc0JIQECQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABB9ANqDvQDTU5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTkxOTktKMzZOTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTklIR0ZFRENCQUA/Pj08Ozo5ODc1NE4yMTAvLi0sKyopKE5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk4nJiUkIyIhIB8eHRwbGhkYThcWFRQTEhFOTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk4QTk5OTk5ODw4NTgcGBQQDDAsKCU5OTk4IAk4BAE9OC0GzDA8LQbMNDwtBjQ4PC0GEDw8LQfAPDwtByRAPC0G+EQ8LQf8RDwtBwBIPC0HnEg8LQZYTDwtBuhMPC0HkEw8LQf4TDwtBvBQPC0GEFQ8LQZcVDwtBrhUPC0HNFQ8LQewVDwtBnhYPC0HyFg8LQYoXDwtBoBcPC0G5Fw8LQdUXDwtB9BcPC0GYGA8LQbsYDwtB7BgPC0GgJw8LQcUnDwtB3CcPC0H4Jw8LQZ8oDwtBtCgPC0HLKA8LQeAoDwtB+ygPC0GaKQ8LQb0pDwtBzCkPC0HsKQ8LQZgqDwtBsioPC0HlKg8LQZIrDwtBsisPC0HJKw8LQeUrDwtBliwPC0GoLA8LQcAsDwtB2SwPC0HsLA8LQYUtDwtBmS0P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AUYNAQsLIAILoQEBBH9BASEEAkAgACABTw0AA0BBACEEIAAtAAAiAkHAAXFBgAFGDQEgAEEBaiEDAkAgAkHAAWtBNEsEQCADIQAMAQsgAEECIAJBAnRBkIoRaigCACICIAJBAkwbIgVqIQBBASECA0AgASADRg0DIAMtAABBwAFxQYABRw0DIANBAWohAyACQQFqIgIgBUcNAAsLIAAgAUkNAAtBASEECyAEC4AEAQN/IAJBgARPBEAgACABIAIQACAADwsgACACaiEDAkAgACABc0EDcUUEQAJAIABBA3FFBEAgACECDAELIAJFBEAgACECDAELIAAhAgNAIAIgAS0AADoAACABQQFqIQEgAkEBaiICQQNxRQ0BIAIgA0kNAAsLAkAgA0F8cSIEQcAASQ0AIAIgBEFAaiIFSw0AA0AgAiABKAIANgIAIAIgASgCBDYCBCACIAEoAgg2AgggAiABKAIMNgIMIAIgASgCEDYCECACIAEoAhQ2AhQgAiABKAIYNgIYIAIgASgCHDYCHCACIAEoAiA2AiAgAiABKAIkNgIkIAIgASgCKDYCKCACIAEoAiw2AiwgAiABKAIwNgIwIAIgASgCNDYCNCACIAEoAjg2AjggAiABKAI8NgI8IAFBQGshASACQUBrIgIgBU0NAAsLIAIgBE8NAQNAIAIgASgCADYCACABQQRqIQEgAkEEaiICIARJDQALDAELIANBBEkEQCAAIQIMAQsgACADQQRrIgRLBEAgACECDAELIAAhAgNAIAIgAS0AADoAACACIAEtAAE6AAEgAiABLQACOgACIAIgAS0AAzoAAyABQQRqIQEgAkEEaiICIARNDQALCyACIANJBEADQCACIAEtAAA6AAAgAUEBaiEBIAJBAWoiAiADRw0ACwsgAAvoAgECfwJAIAAgAUYNACABIAAgAmoiA2tBACACQQF0a00EQCAAIAEgAhCmARoPCyAAIAFzQQNxIQQCQAJAIAAgAUkEQCAEBEAgACEDDAMLIABBA3FFBEAgACEDDAILIAAhAwNAIAJFDQQgAyABLQAAOgAAIAFBAWohASACQQFrIQIgA0EBaiIDQQNxDQALDAELAkAgBA0AIANBA3EEQANAIAJFDQUgACACQQFrIgJqIgMgASACai0AADoAACADQQNxDQALCyACQQNNDQADQCAAIAJBBGsi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AmogASACQf////8Hc0obIQELIAAgA0EBajYCACABIQIgAywAARCvAQ0ACyABC7YEAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAFBCWsOEgABAgUDBAYHCAkKCwwNDg8QERILIAIgAigCACIBQQRqNgIAIAAgASgCADYCAA8LIAIgAigCACIBQQRqNgIAIAAgATQCADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATUCADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATQCADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATUCADcDAA8LIAIgAigCAEEHakF4cSIBQQhqNgIAIAAgASkDADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATIBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATMBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATAAADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATEAADcDAA8LIAIgAigCAEEHakF4cSIBQQhqNgIAIAAgASkDADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATUCADcDAA8LIAIgAigCAEEHakF4cSIBQQhqNgIAIAAgASkDADcDAA8LIAIgAigCAEEHakF4cSIBQQhqNgIAIAAgASkDADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATQCADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATUCADcDAA8LIAIgAigCAEEHakF4cSIBQQhqNgIAIAAgASsDADkDAA8LIAAgAiADEQcACwuDAQIDfwF+AkAgAEKAgICAEFQEQCAAIQUMAQsDQCABQQFrIgEgACAAQgqAIgVCCn59p0EwcjoAACAAQv////+fAVYhAiAFIQAgAg0ACwsgBaciAgRAA0AgAUEBayIBIAIgAkEKbiIDQQpsa0EwcjoAACACQQlLIQQgAyECIAQNAAsLIAELcgEBfyMAQYACayIFJAACQCACIANMDQAgBEGAwARxDQAgBSABQf8BcSACIANrIgNBgAIgA0GAAkkiAhsQqAEaIAJFBEADQCAAIAVBgAIQtQEgA0GAAmsiA0H/AUsNAAsLIAAgBSADELUBCyAFQYACaiQAC8kYAxJ/AXwCfiMAQbAEayIKJAAgCkEANgIsAkAgAb0iGUIAUwRA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IQsgBUEgcSEIIAooAiwhByAGQQJrIg0gBUEPajoAACAGQQFrQS1BKyAHQQBIGzoAACAEQQhxIQkgCkEQaiEHA0AgByIGAn8gAZlEAAAAAAAA4EFjBEAgAaoMAQtBgICAgHgLIgdB4JURai0AACAIcjoAACABIAe3oUQAAAAAAAAwQKIhAQJAIAZBAWoiByAKQRBqa0EBRw0AAkAgCQ0AIANBAEoNACABRAAAAAAAAAAAYQ0BCyAGQS46AAEgBkECaiEHCyABRAAAAAAAAAAAYg0AC0F/IQlB/f///wcgCyASIA1rIhBqIgZrIANIDQAgAEEgIAICfwJAIANFDQAgByAKQRBqayIIQQJrIANODQAgA0ECagwBCyAHIApBEGprIggLIgcgBmoiBiAEELkBIAAgDiALELUBIABBMCACIAYgBEGAgARzELkBIAAgCkEQaiAIELUBIABBMCAHIAhrQQBBABC5ASAAIA0gEBC1ASAAQSAgAiAGIARBgMAAcxC5ASAGIAIgAiAGSBshCQsgCkGwBGokACAJC40FAgZ+An8gASABKAIAQQdqQXhxIgFBEGo2AgAgACABKQMAIQQgASkDCCEFIwBBIGsiACQAAkAgBUL///////////8AgyIDQoCAgICAgMCAPH0gA0KAgICAgIDA/8MAfVQEQCAFQgSGIARCPIiEIQMgBEL//////////w+DIgRCgYCAgICAgIAIWgRAIANCgYCAgICAgIDAAHwhAgwCCyADQoCAgICAgICAQH0hAiAEQoCAgICAgICACFINASACIANCAYN8IQIMAQsgBFAgA0KAgICAgIDA//8AVCADQoCAgICAgMD//wBRG0UEQCAFQgSGIARCPIiEQv////////8Dg0KAgICAgICA/P8AhCECDAELQoCAgICAgID4/wAhAiADQv///////7//wwBWDQBCACECIANCMIinIgFBkfcASQ0AIABBEGohCSAEIQIgBUL///////8/g0KAgICAgIDAAIQiAyEGAkAgAUGB9wBrIghBwABxBEAgAiAIQUBqrYYhBkIAIQIMAQsgCEUNACAGIAitIgeGIAJBwAAgCGutiIQhBiACIAeGIQILIAkgAjcDACAJIAY3AwgCQEGB+AAgAWsiAUHAAHEEQCADIAFBQGqtiCEEQgAhAwwBCyABRQ0AIANBwAAgAWuthiAEIAGtIgKIhCEEIAMgAoghAwsgACAENwMAIAAgAzcDCCAAKQMIQgSGIAApAwAiA0I8iIQhAiAAKQMQIAApAxiEQgBSrSADQv//////////D4OEIgNCgYCAgICAgIAIWgRAIAJCAXwhAgwBCyADQoCAgICAgICACFINACACQgGDIAJ8IQILIABBIGokACACIAVCgICAgICAgICAf4OEvzkDAAugAQECfyMAQaABayIEJABBfyEFIAQgAUEBa0EAIAEbNgKUASAEIAAgBEGeAWogARsiADYCkAEgBEEAQZABEKgBIgRBfzYCTCAEQRA2AiQgBEF/NgJQIAQgBEGfAWo2AiwgBCAEQZABajYCVAJAIAFBAEgEQEHoyhJBPTYCAAwBCyAAQQA6AAAgBCACIANBDkEPELMBIQULIARBoAFqJAAgBQurAQEEfyAAKAJUIgMoAgQiBSAAKAIUIAAoAhwiBmsiBCAEIAVLGyIEBEAgAygCACAGIAQQpgEaIAMgAygCACAEajYCACADIAMoAgQgBGsiBTYCBAsgAygCACEEIAUgAiACIAVLGyIFBEAgBCABIAUQpgEaIAMgAygCACAFaiIENgIAIAMgAygCBCAFazYCBAsgBEEAOgAAIAAgACgCLCIDNgIcIAAgAzYCFCACCxYAIABFBEBBAA8LQejKEiAANgIAQX8LogIAIABFBEBBAA8LAn8CQCAABH8gAUH/AE0NAQJAQfzLEigCACgCAEUEQCABQYB/cUGAvwNGDQNB6MoSQRk2AgAMAQsgAUH/D00EQCAAIAFBP3FBgAFyOgABIAAgAUEGdkHAAXI6AABBAgwECyABQYBAcUGAwANHIAFBgLADT3FFBEAgACABQT9xQYABcjoAAiAAIAFBDHZB4AFyOgAAIAAgAUEGdkE/cUGAAXI6AAFBAwwECyABQYCABGtB//8/TQRAIAAgAUE/cUGAAXI6AAMgACABQRJ2QfABcjoAACAAIAFBBnZBP3FBgAFyOgACIAAgAUEMdkE/cUGAAXI6AAFBBAwEC0HoyhJBGTYCAAtBfwVBAQsMAQsgACABOgAAQQELCwcAIAAQywELBwAgABDMAQu9BQEJfyMAQRBrIggkACAIQZjMEjYCAEGUzBIoAgAhByMAQYABayIBJAAgASAINgJcAkAgB0GhfkcgB0HcAWpBBk9xRQRAIAEgASgCXCICQQRqNgJcAn9BACACKAIAIgAoAgQiAkUNABogACgCCCEEIAAoAgAiBigCDEECTgRAA0ACQCACIARPDQACfyACIAQgBigCFBEAACIAQYABTwRAAkAgAEGAgARJDQAgA0ERSg0AIAEgAEEYdjYCMCABQeAAaiADaiIFQQVBqzIgAUEwahCpASABIABBEHZB/wFxNgIgIAVBBGpBA0GmMiABQSBqEKkBIAEgAEEIdkH/AXE2AhAgBUEGakEDQaYyIAFBEGoQqQEgASAAQf8BcTYCACAFQQhqQQNBpjIgARCpASADQQpqDAILIANBFUoNAiABIABBCHZB/wFxNgJQIAFB4ABqIANqIgVBBUGrMiABQdAAahCpASABIABB/wFxNgJAIAVBBGpBA0GmMiABQUBrEKkBIANBBmoMAQsgAUHgAGogA2ogADoAACADQQFqCyEDIAIgBigCABEBACACaiECIANBG0gNAQsLIAIgBEkMAQsgAUHgAGogAkEbIAQgAmsiACAAQRtOGyIDEKYBGiAAQRtKCyEFIAcQigEhAkGwzBIhAANAAkACQCACLQAAIgRBJUcEQCAERQ0BDAILIAJBAWohBiACLQABIgRB7gBHBEAgBiECDAILIAAgAUHgAGogAxCmASADaiEAIAUEQCAAQaIyLwAAOwAAIABBpDItAAA6AAIgAEEDaiEACyAGQQFqIQIMAgsgAEEAOgAADAMLIAAgBDoAACAAQQFqIQAgAkEBaiECDAALAAtBlL0SIAcQigEiABB6IQJBsMwSIAAgAhCmASACakEAOgAACyABQYABaiQAIAhBEGokAEGwzBIL4wEBAX8CQAJAAkACfyAALQAQBEBBACEBIABBDGogACgCCCACIAIgA2oiBiACIARqIAYgACgCDCAFEG1BAE4NARpBACEGDAMLAkAgACgCFCABRw0AIAAoAhwgBUcNACAAKAIYIARKDQAgAC0AIEUEQEEADwsgACgCDCIGKAIIKAIAIARODQQLIAAgBTYCHCAAIAQ2AhggACABNgIUQQAhASAAKAIIIAIgAiADaiIGIAIgBGogBiAAKAIMIAUQbUEASA0BIABBDGoLKAIAIQZBASEBDAELQQAhBgsgACABOgAgCyAGC7gzARp/IwBBEGsiGCQAIAJBAnQiChDLASEbIAoQywEhGSACQQBK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JyB3aXRob3V0IGVzY2FwZQBXb3JkAEFscGhhAEVVQy1DTgBGQUlMAChudWxsKQAARgBBAEkATAAAAEYAQQBJAEwAAAAAYWJvcnQAQmxhbmsAIyVkAEFscGhhAFsATUlTTUFUQ0gAAE0ASQBTAE0AQQBUAEMASAAAAE0ASQBTAE0AQQBUAEMASAAAAAAtMFgrMFggMFgtMHgrMHggMHgAZmFpbCB0byBtZW1vcnkgYWxsb2NhdGlvbgBDbnRybABIaXJhZ2FuYQBNQVgALQBPTklHLU1PTklUT1I6ICUtNHMgJXMgYXQ6ICVkIFslZCAtICVkXSBsZW46ICVkCgAATQBBAFgAAABNAEEAWAAAAABEaWdpdABtYXRjaC1zdGFjayBsaW1pdCBvdmVyAEFsbnVtAGluZgBjaGFyYWN0ZXIgY2xhc3MgaGFzICclcycgd2l0aG91dCBlc2NhcGUARVJST1IAPT4AAEUAUgBSAE8AUgAAAEUAUgBSAE8AUgAAAABwYXJzZSBkZXB0aCBsaW1pdCBvdmVyAGFsbnVtAEdyYXBoAEthdGFrYW5hAENPVU5UAElORgA8PQAAQwBPAFUATgBUAAAAQwBPAFUATgBUAAAAAExvd2VyAHJldHJ5LWxpbWl0LWluLW1hdGNoIG92ZXIAbmFuAGFscGhhAFRPVEFMX0NPVU5UAEFTQ0lJAABUAE8AVABBAEwAXwBDAE8AVQBOAFQAAABUAE8AVABBAEwAXwBDAE8AVQBOAFQAAAAAUHJpbnQAWERpZ2l0AHJldHJ5LWxpbWl0LWluLXNlYXJjaCBvdmVyAGJsYW5rAENNUABOQU4AAEMATQBQAAAAQwBNAFAAAAAAUHVuY3QAc3ViZXhwLWNhbGwtbGltaXQtaW4tc2VhcmNoIG92ZXIAY250cmwAQ250cmwALgBkaWdpdABCbGFuawBTcGFjZQB1bmRlZmluZWQgdHlwZSAoYnVnKQBQdW5jdABVcHBlcgBncmFwaABpbnRlcm5hbCBwYXJzZXIgZXJyb3IgKGJ1ZykAUHJpbnQAWERpZ2l0AGxvd2VyAHN0YWNrIGVycm9yIChidWcpAHByaW50AFVwcGVyAEFTQ0lJAHVuZGVmaW5lZCBieXRlY29kZSAoYnVnKQBwdW5jdABTcGFjZQBXb3JkAHVuZXhwZWN0ZWQgYnl0ZWNvZGUgKGJ1ZykAZGVmYXVsdCBtdWx0aWJ5dGUtZW5jb2RpbmcgaXMgbm90IHNldABMb3dlcgBzcGFjZQB1cHBlcgBHcmFwaABjYW4ndCBjb252ZXJ0IHRvIHdpZGUtY2hhciBvbiBzcGVjaWZpZWQgbXVsdGlieXRlLWVuY29kaW5nAHhkaWdpdABEaWdpdABmYWlsIHRvIGluaXRpYWxpemUAaW52YWxpZCBhcmd1bWVudABhc2NpaQBlbmQgcGF0dGVybiBhdCBsZWZ0IGJyYWNlAHdvcmQAZW5kIHBhdHRlcm4gYXQgbGVmdCBicmFja2V0ADpdAGVtcHR5IGNoYXItY2xhc3MAcmVkdW5kYW50IG5lc3RlZCByZXBlYXQgb3BlcmF0b3IAcHJlbWF0dXJlIGVuZCBvZiBjaGFyLWNsYXNzAG5lc3RlZCByZXBlYXQgb3BlcmF0b3IgJXMgYW5kICVzIHdhcyByZXBsYWNlZCB3aXRoICclcycAZW5kIHBhdHRlcm4gYXQgZXNjYXBlAD8AZW5kIHBhdHRlcm4gYXQgbWV0YQAqAGVuZCBwYXR0ZXJuIGF0IGNvbnRyb2wAKwBpbnZhbGlkIG1ldGEtY29kZSBzeW50YXgAPz8AaW52YWxpZCBjb250cm9sLWNvZGUgc3ludGF4ACo/AGNoYXItY2xhc3MgdmFsdWUgYXQgZW5kIG9mIHJhbmdlACs/AGNoYXItY2xhc3MgdmFsdWUgYXQgc3RhcnQgb2YgcmFuZ2UAdW5tYXRjaGVkIHJhbmdlIHNwZWNpZmllciBpbiBjaGFyLWNsYXNzACsgYW5kID8/AHRhcmdldCBvZiByZXBlYXQgb3BlcmF0b3IgaXMgbm90IHNwZWNpZmllZAArPyBhbmQgPwAPAAAADgAAAHQ+AwB8PgMA6AP0AU0B+gDIAKcAjwB9AG8AZABbAFMATQBHAEMAPwA7ADgANQAyADAALQArACoAKAAmACUAJAAiACEAIAAfAB4AHQAdABwAGwAaABoAGQAYABgAFwAXABYAFgAVABUAFAAUABQAEwATABMAEgASABIAEQARABEAEAAQABAAEAAPAA8ADwAPAA4ADgAOAA4ADgAOAA0ADQANAA0ADQANAAwADAAMAAwADAAMAAsACwALAAsACwALAAsACwALAAoACgAKAAoACgBBgBsL0AgFAAEAAQABAAEAAQABAAEAAQAKAAoAAQABAAoAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEADAAEAAcABAAEAAQABAAEAAQABQAFAAUABQAFAAUABQAGAAYABgAGAAYABgAGAAYABgAGAAUABQAFAAUABQAFAAUABgAGAAYABgAHAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAUABgAFAAUABQAFAAYABgAGAAYABwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAFAAUABQAFAAEAVAAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8AAAAgAAAAIQAAACIAAAAjAAAAJAAAACUAAAAmAAAAJwAAACgAAAAxAAAALwAAADAAAAAyAAAAMwAAADQAAAA1AAAANgAAADcAAAA4AAAAKgAAACkAAAArAAAALQAAACwAAAAuAAAAUwAAAD0AAAA+AAAAPwAAAEAAAABBAAAAQgAAAEMAAABEAAAARQAAAEYAAABHAAAAOQAAADoAAAA7AAAAPAAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAABIAAAASQAAAFIAAABRAAAAAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5eltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+/whACEAIQAhACEAIQAhACEAIQAxCCUIIQghCCEIIQAhACEAIQAhACEAIQAhACEAIQAhACEAIQAhACEAIQAhACECEQqBBoEGgQaBBoEGgQaBBoEGgQaBBoEGgQaBBoEGgQbB4sHiweLB4sHiweLB4sHiweLB4oEGgQaBBoEGgQaBBoEGifKJ8onyifKJ8onyidKJ0onSidKJ0onSidKJ0onSidKJ0onSidKJ0onSidKJ0onSidKJ0oEGgQaBBoEGgUaBB4njieOJ44njieOJ44nDicOJw4nDicOJw4nDicOJw4nDicOJw4nDicOJw4nDicOJw4nDicKBBoEGgQaBBCEAAQdAlC+UMQQAAAGEAAABCAAAAYgAAAEMAAABjAAAARAAAAGQAAABFAAAAZQAAAEYAAABmAAAARwAAAGcAAABIAAAAaAAAAEkAAABpAAAASgAAAGoAAABLAAAAawAAAEwAAABsAAAATQAAAG0AAABOAAAAbgAAAE8AAABvAAAAUAAAAHAAAABRAAAAcQAAAFIAAAByAAAAUwAAAHMAAABUAAAAdAAAAFUAAAB1AAAAVgAAAHYAAABXAAAAdwAAAFgAAAB4AAAAWQAAAHkAAABaAAAAegAAAHRhcmdldCBvZiByZXBlYXQgb3BlcmF0b3IgaXMgaW52YWxpZABuZXN0ZWQgcmVwZWF0IG9wZXJhdG9yAHVubWF0Y2hlZCBjbG9zZSBwYXJlbnRoZXNpcwBlbmQgcGF0dGVybiB3aXRoIHVubWF0Y2hlZCBwYXJlbnRoZXNpcwBlbmQgcGF0dGVybiBpbiBncm91cAB1bmRlZmluZWQgZ3JvdXAgb3B0aW9uAGludmFsaWQgZ3JvdXAgb3B0aW9uAGludmFsaWQgUE9TSVggYnJhY2tldCB0eXBlAGludmFsaWQgcGF0dGVybiBpbiBsb29rLWJlaGluZABpbnZhbGlkIHJlcGVhdCByYW5nZSB7bG93ZXIsdXBwZXJ9AHRvbyBiaWcgbnVtYmVyAHRvbyBiaWcgbnVtYmVyIGZvciByZXBlYXQgcmFuZ2UAdXBwZXIgaXMgc21hbGxlciB0aGFuIGxvd2VyIGluIHJlcGVhdCByYW5nZQBlbXB0eSByYW5nZSBpbiBjaGFyIGNsYXNzAG1pc21hdGNoIG11bHRpYnl0ZSBjb2RlIGxlbmd0aCBpbiBjaGFyLWNsYXNzIHJhbmdlAHRvbyBtYW55IG11bHRpYnl0ZSBjb2RlIHJhbmdlcyBhcmUgc3BlY2lmaWVkAHRvbyBzaG9ydCBtdWx0aWJ5dGUgY29kZSBzdHJpbmcAdG9vIGJpZyBiYWNrcmVmIG51bWJlcgBpbnZhbGlkIGJhY2tyZWYgbnVtYmVyL25hbWUAbnVtYmVyZWQgYmFja3JlZi9jYWxsIGlzIG5vdCBhbGxvd2VkLiAodXNlIG5hbWUpAHRvbyBtYW55IGNhcHR1cmVzAHRvbyBiaWcgd2lkZS1jaGFyIHZhbHVlAHRvbyBsb25nIHdpZGUtY2hhciB2YWx1ZQB1bmRlZmluZWQgb3BlcmF0b3IAaW52YWxpZCBjb2RlIHBvaW50IHZhbHVlAGdyb3VwIG5hbWUgaXMgZW1wdHkAaW52YWxpZCBncm91cCBuYW1lIDwlbj4AaW52YWxpZCBjaGFyIGluIGdyb3VwIG5hbWUgPCVuPgB1bmRlZmluZWQgbmFtZSA8JW4+IHJlZmVyZW5jZQB1bmRlZmluZWQgZ3JvdXAgPCVuPiByZWZlcmVuY2UAbXVsdGlwbGV4IGRlZmluZWQgbmFtZSA8JW4+AG11bHRpcGxleCBkZWZpbml0aW9uIG5hbWUgPCVuPiBjYWxsAG5ldmVyIGVuZGluZyByZWN1cnNpb24AZ3JvdXAgbnVtYmVyIGlzIHRvbyBiaWcgZm9yIGNhcHR1cmUgaGlzdG9yeQBpbnZhbGlkIGNoYXJhY3RlciBwcm9wZXJ0eSBuYW1lIHslbn0AaW52YWxpZCBpZi1lbHNlIHN5bnRheABpbnZhbGlkIGFic2VudCBncm91cCBwYXR0ZXJuAGludmFsaWQgYWJzZW50IGdyb3VwIGdlbmVyYXRvciBwYXR0ZXJuAGludmFsaWQgY2FsbG91dCBwYXR0ZXJuAGludmFsaWQgY2FsbG91dCBuYW1lAHVuZGVmaW5lZCBjYWxsb3V0IG5hbWUAaW52YWxpZCBjYWxsb3V0IGJvZHkAaW52YWxpZCBjYWxsb3V0IHRhZyBuYW1lAGludmFsaWQgY2FsbG91dCBhcmcAbm90IHN1cHBvcnRlZCBlbmNvZGluZyBjb21iaW5hdGlvbgBpbnZhbGlkIGNvbWJpbmF0aW9uIG9mIG9wdGlvbnMAdmVyeSBpbmVmZmljaWVudCBwYXR0ZXJuAGxpYnJhcnkgaXMg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ALYJAAC5CQAAvAkAAMQJAADHCQAAyAkAAMsJAADOCQAA1wkAANcJAADcCQAA3QkAAN8JAADjCQAA5gkAAP4JAAABCgAAAwoAAAUKAAAKCgAADwoAABAKAAATCgAAKAoAACoKAAAwCgAAMgoAADMKAAA1CgAANgoAADgKAAA5CgAAPAoAADwKAAA+CgAAQgoAAEcKAABICgAASwoAAE0KAABRCgAAUQoAAFkKAABcCgAAXgoAAF4KAABmCgAAdgoAAIEKAACDCgAAhQoAAI0KAACPCgAAkQoAAJMKAACoCgAAqgoAALAKAACyCgAAswoAALUKAAC5CgAAvAoAAMUKAADHCgAAyQoAAMsKAADNCgAA0AoAANAKAADgCgAA4woAAOYKAADxCgAA+QoAAP8KAAABCwAAAwsAAAULAAAMCwAADwsAABALAAATCwAAKAsAACoLAAAwCwAAMgsAADMLAAA1CwAAOQsAADwLAABECwAARwsAAEgLAABLCwAATQsAAFULAABXCwAAXAsAAF0LAABfCwAAYwsAAGYLAAB3CwAAggsAAIMLAACFCwAAigsAAI4LAACQCwAAkgsAAJULAACZCwAAmgsAAJwLAACcCwAAngsAAJ8LAACjCwAApAsAAKgLAACqCwAArgsAALkLAAC+CwAAwgsAAMYLAADICwAAygsAAM0LAADQCwAA0AsAANcLAADXCwAA5gsAAPoLAAAADAAADAwAAA4MAAAQDAAAEgwAACgMAAAqDAAAOQwAADwMAABEDAAARgwAAEgMAABKDAAATQwAAFUMAABWDAAAWAwAAFoMAABdDAAAXQwAAGAMAABjDAAAZgwAAG8MAAB3DAAAjAwAAI4MAACQDAAAkgwAAKgMAACqDAAAswwAALUMAAC5DAAAvAwAAMQMAADGDAAAyAwAAMoMAADNDAAA1QwAANYMAADdDAAA3gwAAOAMAADjDAAA5gwAAO8MAADxDAAA8gwAAAANAAAMDQAADg0AABANAAASDQAARA0AAEYNAABIDQAASg0AAE8NAABUDQAAYw0AAGYNAAB/DQAAgQ0AAIMNAACFDQAAlg0AAJoNAACxDQAAsw0AALsNAAC9DQAAvQ0AAMANAADGDQAAyg0AAMoNAADPDQAA1A0AANYNAADWDQAA2A0AAN8NAADmDQAA7w0AAPINAAD0DQAAAQ4A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AKoAAACqAAAAtQAAALUAAAC6AAAAugAAAN8AAAD2AAAA+AAAAP8AAAABAQAAAQEAAAMBAAADAQAABQEAAAUBAAAHAQAABwEAAAkBAAAJAQAACwEAAAsBAAANAQAADQEAAA8BAAAPAQAAEQEAABEBAAATAQAAEwEAABUBAAAVAQAAFwEAABcBAAAZAQAAGQEAABsBAAAbAQAAHQEAAB0BAAAfAQAAHwEAACEBAAAhAQAAIwEAACMBAAAlAQAAJQEAACcBAAAnAQAAKQEAACkBAAArAQAAKwEAAC0BAAAtAQAALwEAAC8BAAAxAQAAMQEAADMBAAAzAQAANQEAADUBAAA3AQAAOAEAADoBAAA6AQAAPAEAADwBAAA+AQAAPgEAAEABAABAAQAAQgEAAEIBAABEAQAARAEAAEYBAABGAQAASAEAAEkBAABLAQAASwEAAE0BAABNAQAATwEAAE8BAABRAQAAUQEAAFMBAABTAQAAVQEAAFUBAABXAQAAVwEAAFkBAABZAQAAWwEAAFsBAABdAQAAXQEAAF8BAABfAQAAYQEAAGEBAABjAQAAYwEAAGUBAABlAQAAZwEAAGcBAABpAQAAaQEAAGsBAABrAQAAbQEAAG0BAABvAQAAbwEAAHEBAABxAQAAcwEAAHMBAAB1AQAAdQEAAHcBAAB3AQAAegEAAHoBAAB8AQAAfAEAAH4BAACAAQAAgwEAAIMBAACFAQAAhQEAAIgBAACIAQAAjAEAAI0BAACSAQAAkgEAAJUBAACVAQAAmQEAAJsBAACeAQAAngEAAKEBAAChAQAAowEAAKMBAAClAQAApQEAAKgBAACoAQAAqgEAAKsBAACtAQAArQEAALABAACwAQAAtAEAALQBAAC2AQAAtgEAALkBAAC6AQAAvQEAAL8BAADGAQAAxgEAAMkBAADJAQAAzAEAAMwBAADOAQAAzgEAANABAADQAQAA0gEAANIBAADUAQAA1AEAANYBAADWAQAA2AEAANgBAADaAQAA2gEAANwBAADdAQAA3wEAAN8BAADhAQAA4QEAAOMBAADjAQAA5QEAAOUBAADnAQAA5wEAAOkBAADpAQAA6wEAAOsBAADtAQAA7QEAAO8BAADwAQAA8wEAAPMBAAD1AQAA9QEAAPkBAAD5AQAA+wEAAPsBAAD9AQAA/QEAAP8BAAD/AQAAAQIAAAECAAADAgAAAwIAAAUCAAAFAgAABwIAAAcCAAAJAgAACQIAAAsCAAALAgAADQIAAA0CAAAPAgAADwIAABECAAARAgAAEwIAABMCAAAVAgAAFQIAABcCAAAXAgAAGQIAABkCAAAbAgAAGwIAAB0CAAAdAgAAHwIAAB8CAAAhAgAAIQIAACMCAAAjAgAAJQIAACUCAAAnAgAAJwIAACkCAAApAgAAKwIAACsCAAAtAgAALQIAAC8CAAAvAgAAMQIAADECAAAzAgAAOQIAADwCAAA8AgAAPwIAAEACAABCAgAAQgIAAEcCAABHAgAASQIAAEkCAABLAgAASwIAAE0CAABNAgAATwIAAJMCAACVAgAAuAIAAMACAADBAgAA4AIAAOQCAABFAwAARQMAAHEDAABxAwAAcwMAAHMDAAB3AwAAdwMAAHoDAAB9AwAAkAMAAJADAACsAwAAzgMAANADAADRAwAA1QMAANcDAADZAwAA2QMAANsDAADbAwAA3QMAAN0DAADfAwAA3wMAAOEDAADhAwAA4wMAAOMDAADlAwAA5QMAAOcDAADnAwAA6QMAAOkDAADrAwAA6wMAAO0DAADtAwAA7wMAAPMDAAD1AwAA9QMAAPgDAAD4AwAA+wMAAPwDAAAwBAAAXwQAAGEEAABhBAAAYwQAAGMEAABlBAAAZQQAAGcEAABnBAAAaQQAAGkEAABrBAAAawQAAG0EAABtBAAAbwQAAG8EAABxBAAAcQQAAHMEAABzBAAAdQQAAHUEAAB3BAAAdwQAAHkEAAB5BAAAewQAAHsEAAB9BAAAfQQAAH8EAAB/BAAAgQQAAIEEAACLBAAAiwQAAI0EAACNBAAAjwQAAI8EAACRBAAAkQQAAJMEAACTBAAAlQQAAJUEAACXBAAAlwQAAJkEAACZBAAAmwQAAJsEAACdBAAAnQQAAJ8EAACfBAAAoQQAAKEEAACjBAAAowQAAKUEAAClBAAApwQAAKcEAACpBAAAqQQAAKsEAACrBAAArQQAAK0EAACvBAAArwQAALEEAACxBAAAswQAALMEAAC1BAAAtQQAALcEAAC3BAAAuQQAALkEAAC7BAAAuwQAAL0EAAC9BAAAvwQAAL8EAADCBAAAwgQAAMQEAADEBAAAxgQAAMYEAADIBAAAyAQAAMoEAADKBAAAzAQAAMwEAADOBAAAzwQAANEEAADRBAAA0wQAANMEAADVBAAA1QQAANcEAADXBAAA2QQAANkEAADbBAAA2wQAAN0EAADdBAAA3wQAAN8EAADhBAAA4QQAAOMEAADjBAAA5QQAAOUEAADnBAAA5wQAAOkEAADpBAAA6wQAAOsEAADtBAAA7QQAAO8EAADvBAAA8QQAAPEEAADzBAAA8wQAAPUEAAD1BAAA9wQAAPcEAAD5BAAA+QQAAPsEAAD7BAAA/QQAAP0EAAD/BAAA/wQAAAEFAAABBQAAAwUAAAMFAAAFBQAABQUAAAcFAAAHBQAACQUAAAkFAAALBQAACwUAAA0FAAANBQAADwUAAA8FAAARBQAAEQUAABMFAAATBQAAFQUAABUFAAAXBQAAFwUAABkFAAAZBQAAGwUAABsFAAAdBQAAHQUAAB8FAAAfBQAAIQUAACEFAAAjBQAAIwUAACUFAAAlBQAAJwUAACcFAAApBQAAKQUAACsFAAArBQAALQUAAC0FAAAvBQAALwUAAGAFAACIBQAA0BAAAPoQAAD9EAAA/xAAAPgTAAD9EwAAgBwAAIgcAAAAHQAAvx0AAAEeAAABHgAAAx4AAAMeAAAFHgAABR4AAAceAAAHHgAACR4AAAkeAAALHgAACx4AAA0eAAANHgAADx4AAA8eAAARHgAAER4AABMeAAATHgAAFR4AABUeAAAXHgAAFx4AABkeAAAZHgAAGx4AABseAAAdHgAAHR4AAB8eAAAfHgAAIR4AACEeAAAjHgAAIx4AACUeAAAlHgAAJx4AACceAAApHgAAKR4AACseAAArHgAALR4AAC0eAAAvHgAALx4AADEeAAAxHgAAMx4AADMeAAA1HgAANR4AADceAAA3HgAAOR4AADkeAAA7HgAAOx4AAD0eAAA9HgAAPx4AAD8eAABBHgAAQR4AAEMeAABDHgAARR4AAEUeAABHHgAARx4AAEkeAABJHgAASx4AAEseAABNHgAATR4AAE8eAABPHgAAUR4AAFEeAABTHgAAUx4AAFUeAABVHgAAVx4AAFceAABZHgAAWR4AAFseAABbHgAAXR4AAF0eAABfHgAAXx4AAGEeAABhHgAAYx4AAGMeAABlHgAAZR4AAGceAABnHgAAaR4AAGkeAABrHgAAax4AAG0eAABtHgAAbx4AAG8eAABxHgAAcR4AAHMeAABzHgAAdR4AAHUeAAB3HgAAdx4AAHkeAAB5HgAAex4AAHseAAB9HgAAfR4AAH8eAAB/HgAAgR4AAIEeAACDHgAAgx4AAIUeAACFHgAAhx4AAIceAACJHgAAiR4AAIseAACLHgAAjR4AAI0eAACPHgAAjx4AAJEeAACRHgAAkx4AAJMeAACVHgAAnR4AAJ8eAACfHgAAoR4AAKEeAACjHgAAox4AAKUeAAClHgAApx4AAKceAACpHgAAqR4AAKseAACrHgAArR4AAK0eAACvHgAArx4AALEeAACxHgAAsx4AALMeAAC1HgAAtR4AALceAAC3HgAAuR4AALkeAAC7HgAAux4AAL0eAAC9HgAAvx4AAL8eAADBHgAAwR4AAMMeAADDHgAAxR4AAMUeAADHHgAAxx4AAMkeAADJHgAAyx4AAMseAADNHgAAzR4AAM8eAADPHgAA0R4AANEeAADTHgAA0x4AANUeAADVHgAA1x4AANceAADZHgAA2R4AANseAADbHgAA3R4AAN0eAADfHgAA3x4AAOEeAADhHgAA4x4AAOMeAADlHgAA5R4AAOceAADnHgAA6R4AAOkeAADrHgAA6x4AAO0eAADtHgAA7x4AAO8eAADxHgAA8R4AAPMeAADzHgAA9R4AAPUeAAD3HgAA9x4AAPkeAAD5HgAA+x4AAPseAAD9HgAA/R4AAP8eAAAHHwAAEB8AABUfAAAgHwAAJx8AADAfAAA3HwAAQB8AAEUfAABQHwAAVx8AAGAfAABnHwAAcB8AAH0fAACAHwAAhx8AAJAfAACXHwAAoB8AAKcfAACwHwAAtB8AALYfAAC3HwAAvh8AAL4fAADCHwAAxB8AAMYfAADHHwAA0B8AANMfAADWHwAA1x8AAOAfAADnHwAA8h8AAPQfAAD2HwAA9x8AAHEgAABxIAAAfyAAAH8gAACQIAAAnCAAAAohAAAKIQAADiEAAA8hAAATIQAAEyEAAC8hAAAvIQAANCEAADQhAAA5IQAAOSEAADwhAAA9IQAARiEAAEkhAABOIQAATiEAAHAhAAB/IQAAhCEAAIQhAADQJAAA6SQAADAsAABfLAAAYSwAAGEsAABlLAAAZiwAAGgsAABoLAAAaiwAAGosAABsLAAAbCwAAHEsAABxLAAAcywAAHQsAAB2LAAAfSwAAIEsAACBLAAAgywAAIMsAACFLAAAhSwAAIcsAACHLAAAiSwAAIksAACLLAAAiywAAI0sAACNLAAAjywAAI8sAACRLAAAkSwAAJMsAACTLAAAlSwAAJUsAACXLAAAlywAAJksAACZLAAAmywAAJssAACdLAAAnSwAAJ8sAACfLAAAoSwAAKEsAACjLAAAoywAAKUsAAClLAAApywAAKcsAACpLAAAqSwAAKssAACrLAAArSwAAK0sAACvLAAArywAALEsAACxLAAAsywAALMsAAC1LAAAtSwAALcsAAC3LAAAuSwAALksAAC7LAAAuywAAL0sAAC9LAAAvywAAL8sAADBLAAAwSwAAMMsAADDLAAAxSwAAMUsAADHLAAAxywAAMksAADJLAAAyywAAMssAADNLAAAzSwAAM8sAADPLAAA0SwAANEsAADTLAAA0ywAANUsAADVLAAA1ywAANcsAADZLAAA2SwAANssAADbLAAA3SwAAN0sAADfLAAA3ywAAOEsAADhLAAA4ywAAOQsAADsLAAA7CwAAO4sAADuLAAA8ywAAPMsAAAALQAAJS0AACctAAAnLQAALS0AAC0tAABBpgAAQaYAAEOmAABDpgAARaYAAEWmAABHpgAAR6YAAEmmAABJpgAAS6YAAEumAABNpgAATaYAAE+mAABPpgAAUaYAAFGmAABTpgAAU6YAAFWmAABVpgAAV6YAAFemAABZpgAAWaYAAFumAABbpgAAXaYAAF2mAABfpgAAX6YAAGGmAABhpgAAY6YAAGOmAABlpgAAZaYAAGemAABnpgAAaaYAAGmmAABrpgAAa6YAAG2mAABtpgAAgaYAAIGmAACDpgAAg6YAAIWmAACFpgAAh6YAAIemAACJpgAAiaYAAIumAACLpgAAjaYAAI2mAACPpgAAj6YAAJGmAACRpgAAk6YAAJOmAACVpgAAlaYAAJemAACXpgAAmaYAAJmmAACbpgAAnaYAACOnAAAjpwAAJacAACWnAAAnpwAAJ6cAACmnAAAppwAAK6cAACunAAAtpwAALacAAC+nAAAxpwAAM6cAADOnAAA1pwAANacAADenAAA3pwAAOacAADmnAAA7pwAAO6cAAD2nAAA9pwAAP6cAAD+nAABBpwAAQacAAEOnAABDpwAARacAAEWnAABHpwAAR6cAAEmnAABJpwAAS6cAAEunAABNpwAATacAAE+nAABPpwAAUacA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XR8AAF8fAAB9HwAAgB8AALQfAAC2HwAAxB8AAMYfAADTHwAA1h8AANsfAADdHwAA7x8AAPIfAAD0HwAA9h8AAP4fAAAAIAAAJyAAACogAABkIAAAZiAAAHEgAAB0IAAAjiAAAJAgAACcIAAAoCAAAMAgAADQIAAA8CAAAAAhAACLIQAAkCEAACYkAABAJAAASiQAAGAkAABzKwAAdisAAJUrAACXKwAA8ywAAPksAAAlLQAAJy0AACctAAAtLQAALS0AADAtAABnLQAAby0AAHAtAAB/LQAAli0AAKAtAACmLQAAqC0AAK4tAACwLQAAti0AALgtAAC+LQAAwC0AAMYtAADILQAAzi0AANAtAADWLQAA2C0AAN4tAADgLQAAXS4AAIAuAACZLgAAmy4AAPMuAAAALwAA1S8AAPAvAAD7LwAAADAAAD8wAABBMAAAljAAAJkwAAD/MAAABTEAAC8xAAAxMQAAjjEAAJAxAADjMQAA8DEAAB4yAAAgMgAAjKQAAJCkAADGpAAA0KQAACumAABApgAA96YAAACnAADKpwAA0KcAANGnAADTpwAA06cAANWnAADZpwAA8qcAACyoAAAwqAAAOagAAECoAAB3qAAAgKgAAMWoAADOqAAA2agAAOCoAABTqQAAX6kAAHypAACAqQAAzakAAM+pAADZqQAA3qkAAP6pAAAAqgAANqoAAECqAABNqgAAUKoAAFmqAABcqgAAwqoAANuqAAD2qgAAAasAAAarAAAJqwAADqsAABGrAAAWqwAAIKsAACarAAAoqwAALqsAADCrAABrqwAAcKsAAO2rAADwqwAA+asAAACsAACj1wAAsNcAAMbXAADL1wAA+9cAAADgAABt+gAAcPoAANn6AAAA+wAABvsAABP7AAAX+wAAHfsAADb7AAA4+wAAPPsAAD77AAA++wAAQPsAAEH7AABD+wAARPsAAEb7AADC+wAA0/sAAI/9AACS/QAAx/0AAM/9AADP/QAA8P0AABn+AAAg/gAAUv4AAFT+AABm/gAAaP4AAGv+AABw/gAAdP4AAHb+AAD8/gAA//4AAP/+AAAB/wAAvv8AAML/AADH/wAAyv8AAM//AADS/wAA1/8AANr/AADc/wAA4P8AAOb/AADo/wAA7v8AAPn/AAD9/wAAAAABAAsAAQANAAEAJgABACgAAQA6AAEAPAABAD0AAQA/AAEATQABAFAAAQBdAAEAgAABAPoAAQAAAQEAAgEBAAcBAQAzAQEANwEBAI4BAQCQAQEAnAEBAKABAQCgAQEA0AEBAP0BAQCAAgEAnAIBAKACAQDQAgEA4AIBAPsCAQAAAwEAIwMBAC0DAQBKAwEAUAMBAHoDAQCAAwEAnQMBAJ8DAQDDAwEAyAMBANUDAQAABAEAnQQBAKAEAQCpBAEAsAQBANMEAQDYBAEA+wQBAAAFAQAnBQEAMAUBAGMFAQBvBQEAegUBAHwFAQCKBQEAjAUBAJIFAQCUBQEAlQUBAJcFAQChBQEAowUBALEFAQCzBQEAuQUBALsFAQC8BQEAAAYBADYHAQBABwEAVQcBAGAHAQBnBwEAgAcBAIUHAQCHBwEAsAcBALIHAQC6BwEAAAgBAAUIAQAICAEACAgBAAoIAQA1CAEANwgBADgIAQA8CAEAPAgBAD8IAQBVCAEAVwgBAJ4IAQCnCAEArwgBAOAIAQDyCAEA9AgBAPUIAQD7CAEAGwkBAB8JAQA5CQEAPwkBAD8JAQCACQEAtwkBALwJAQDPCQEA0gkBAAMKAQAFCgEABgoBAAwKAQATCgEAFQoBABcKAQAZCgEANQoBADgKAQA6CgEAPwoBAEgKAQBQCgEAWAoBAGAKAQCfCgEAwAoBAOYKAQDrCgEA9goBAAALAQA1CwEAOQsBAFULAQBYCwEAcgsBAHgLAQCRCwEAmQsBAJwLAQCpCwEArwsBAAAMAQBIDAEAgAwBALIMAQDADAEA8gwBAPoMAQAnDQEAMA0BADkNAQBgDgEAfg4BAIAOAQCpDgEAqw4BAK0OAQCwDgEAsQ4BAAAPAQAnDwEAMA8BAFkPAQBwDwEAiQ8BALAPAQDLDwEA4A8BAPYPAQAAEAEATRABAFIQAQB1EAEAfxABAMIQAQDNEAEAzRABANAQAQDoEAEA8BABAPkQAQAAEQEANBEBADYRAQBHEQEAUBEBAHYRAQCAEQEA3xEBAOERAQD0EQEAABIBABESAQATEgEAPhIBAIASAQCGEgEAiBIBAIgSAQCKEgEAjRIBAI8SAQCdEgEAnxIBAKkSAQCwEgEA6hIBAPASAQD5EgEAABMBAAMTAQAFEwEADBMBAA8TAQAQEwEAExMBACgTAQAqEwEAMBMBADITAQAzEwEANRMBADkTAQA7EwEARBMBAEcTAQBIEwEASxMBAE0TAQBQEwEAUBMBAFcTAQBXEwEAXRMBAGMTAQBmEwEAbBMBAHATAQB0EwEAABQBAFsUAQBdFAEAYRQBAIAUAQDHFAEA0BQBANkUAQCAFQEAtRUBALgVAQDdFQEAABYBAEQWAQBQFgEAWRYBAGAWAQBsFgEAgBYBALkWAQDAFgEAyRYBAAAXAQAaFwEAHRcBACsXAQAwFwEARhcBAAAYAQA7GAEAoBgBAPIYAQD/GAEABhkBAAkZAQAJGQEADBkBABMZAQAVGQEAFhkBABgZAQA1GQEANxkBADgZAQA7GQEARhkBAFAZAQBZGQEAoBkBAKcZAQCqGQEA1xkBANoZAQDkGQEAABoBAEcaAQBQGgEAohoBALAaAQD4GgEAABwBAAgcAQAKHAEANhwBADgcAQBFHAEAUBwBAGwcAQBwHAEAjxwBAJIcAQCnHAEAqRwBALYcAQAAHQEABh0BAAgdAQAJHQEACx0BADYdAQA6HQEAOh0BADwdAQA9HQEAPx0BAEcdAQBQHQEAWR0BAGAdAQBlHQEAZx0BAGgdAQBqHQEAjh0BAJAdAQCRHQEAkx0BAJgdAQCgHQEAqR0BAOAeAQD4HgEAsB8BALAfAQDAHwEA8R8BAP8fAQCZIwEAACQBAG4kAQBwJAEAdCQBAIAkAQBDJQEAkC8BAPIvAQAAMAEALjQBADA0AQA4NAEAAEQBAEZGAQAAaAEAOGoBAEBqAQBeagEAYGoBAGlqAQBuagEAvmoBAMBqAQDJagEA0GoBAO1qAQDwagEA9WoBAABrAQBFawEAUGsBAFlrAQBbawEAYWsBAGNrAQB3awEAfWsBAI9rAQBAbgEAmm4BAABvAQBKbwEAT28BAIdvAQCPbwEAn28BAOBvAQDkbwEA8G8BAPFvAQAAcAEA94cBAACIAQDVjAEAAI0BAAiNAQDwrwEA868BAPWvAQD7rwEA/a8BAP6vAQAAsAEAIrEBAFCxAQBSsQEAZLEBAGexAQBwsQEA+7IBAAC8AQBqvAEAcLwBAHy8AQCAvAEAiLwBAJC8AQCZvAEAnLwBAKO8AQAAzwEALc8BADDPAQBGzwEAUM8BAMPPAQAA0AEA9dABAADRAQAm0QEAKdEBAOrRAQAA0gEARdIBAODSAQDz0gEAANMBAFbTAQBg0wEAeNMBAADUAQBU1AEAVtQBAJzUAQCe1AEAn9QBAKLUAQCi1AEApdQBAKbUAQCp1AEArNQBAK7UAQC51AEAu9QBALvUAQC91AEAw9QBAMXUAQAF1QEAB9UBAArVAQAN1QEAFNUBABbVAQAc1QEAHtUBADnVAQA71QEAPtUBAEDVAQBE1QEARtUBAEbVAQBK1QEAUNUBAFLVAQCl1gEAqNYBAMvXAQDO1wEAi9oBAJvaAQCf2gEAodoBAK/aAQAA3wEAHt8BAADgAQAG4AEACOABABjgAQAb4AEAIeABACPgAQAk4AEAJuABACrgAQAA4QEALOEBADDhAQA94QEAQOEBAEnhAQBO4QEAT+EBAJDiAQCu4gEAwOIBAPniAQD/4gEA/+IBAODnAQDm5wEA6OcBAOvnAQDt5wEA7ucBAPDnAQD+5wEAAOgBAMToAQDH6AEA1ugBAADpAQBL6QEAUOkBAFnpAQBe6QEAX+kBAHHsAQC07AEAAe0BAD3tAQAA7gEAA+4BAAXuAQAf7gEAIe4BACLuAQAk7gEAJO4BACfuAQAn7gEAKe4BADLuAQA07gEAN+4BADnuAQA57gEAO+4BADvuAQBC7gEAQu4BAEfuAQBH7gEASe4BAEnuAQBL7gEAS+4BAE3uAQBP7gEAUe4BAFLuAQBU7gEAVO4BAFfuAQBX7gEAWe4BAFnuAQBb7gEAW+4BAF3uAQBd7gEAX+4BAF/uAQBh7gEAYu4BAGTuAQBk7gEAZ+4BAGruAQBs7gEAcu4BAHTuAQB37gEAee4BAHzuAQB+7gEAfu4BAIDuAQCJ7gEAi+4BAJvuAQCh7gEAo+4BAKXuAQCp7gEAq+4BALvuAQDw7gEA8e4BAADwAQAr8AEAMPABAJPwAQCg8AEArvABALHwAQC/8AEAwfABAM/wAQDR8AEA9fABAADxAQCt8QEA5vEBAALyAQAQ8gEAO/IBAEDyAQBI8gEAUPIBAFHyAQBg8gEAZfIBAADzAQDX9gEA3fYBAOz2AQDw9gEA/PYBAAD3AQBz9wEAgPcBANj3AQDg9wEA6/cBAPD3AQDw9wEAAPgBAAv4AQAQ+AEAR/gBAFD4AQBZ+AEAYPgBAIf4AQCQ+AEArfgBALD4AQCx+AEAAPkBAFP6AQBg+gEAbfoBAHD6AQB0+gEAePoBAHz6AQCA+gEAhvoBAJD6AQCs+gEAsPoBALr6AQDA+gEAxfoBAND6AQDZ+gEA4PoBAOf6AQDw+gEA9voBAAD7AQCS+wEAlPsBAMr7AQDw+wEA+fsBAAAAAgDfpgIAAKcCADi3AgBAtwIAHbgCACC4AgChzgIAsM4CAODrAgAA+AIAHfoCAAAAAwBKEwMAAQAOAAEADgAgAA4AfwAOAAABDgDvAQ4AAAAPAP3/DwAAABAA/f8QAEHAywMLwgy9AAAAIQAAACMAAAAlAAAAKgAAACwAAAAvAAAAOgAAADsAAAA/AAAAQAAAAFsAAABdAAAAXwAAAF8AAAB7AAAAewAAAH0AAAB9AAAAoQAAAKEAAACnAAAApwAAAKsAAACrAAAAtgAAALcAAAC7AAAAuwAAAL8AAAC/AAAAfgMAAH4DAACHAwAAhwMAAFoFAABfBQAAiQUAAIoFAAC+BQAAvgUAAMAFAADABQAAwwUAAMMFAADGBQAAxgUAAPMFAAD0BQAACQYAAAoGAAAMBgAADQYAABsGAAAbBgAAHQYAAB8GAABqBgAAbQYAANQGAADUBgAAAAcAAA0HAAD3BwAA+QcAADAIAAA+CAAAXggAAF4IAABkCQAAZQkAAHAJAABwCQAA/QkAAP0JAAB2CgAAdgoAAPAKAADwCgAAdwwAAHcMAACEDAAAhAwAAPQNAAD0DQAATw4AAE8OAABaDgAAWw4AAAQPAAASDwAAFA8AABQPAAA6DwAAPQ8AAIUPAACFDwAA0A8AANQPAADZDwAA2g8AAEoQAABPEAAA+xAAAPsQAABgEwAAaBMAAAAUAAAAFAAAbhYAAG4WAACbFgAAnBYAAOsWAADtFgAANRcAADYXAADUFwAA1hcAANgXAADaFwAAABgAAAoYAABEGQAARRkAAB4aAAAfGgAAoBoAAKYaAACoGgAArRoAAFobAABgGwAAfRsAAH4bAAD8GwAA/xsAADscAAA/HAAAfhwAAH8cAADAHAAAxxwAANMcAADTHAAAECAAACcgAAAwIAAAQyAAAEUgAABRIAAAUyAAAF4gAAB9IAAAfiAAAI0gAACOIAAACCMAAAsjAAApIwAAKiMAAGgnAAB1JwAAxScAAMYnAADmJwAA7ycAAIMpAACYKQAA2CkAANspAAD8KQAA/SkAAPksAAD8LAAA/iwAAP8sAABwLQAAcC0AAAAuAAAuLgAAMC4AAE8uAABSLgAAXS4AAAEwAAADMAAACDAAABEwAAAUMAAAHzAAADAwAAAwMAAAPTAAAD0wAACgMAAAoDAAAPswAAD7MAAA/qQAAP+kAAANpgAAD6YAAHOmAABzpgAAfqYAAH6mAADypgAA96YAAHSoAAB3qAAAzqgAAM+oAAD4qAAA+qgAAPyoAAD8qAAALqkAAC+pAABfqQAAX6kAAMGpAADNqQAA3qkAAN+pAABcqgAAX6oAAN6qAADfqgAA8KoAAPGqAADrqwAA66sAAD79AAA//QAAEP4AABn+AAAw/gAAUv4AAFT+AABh/gAAY/4AAGP+AABo/gAAaP4AAGr+AABr/gAAAf8AAAP/AAAF/wAACv8AAAz/AAAP/wAAGv8AABv/AAAf/wAAIP8AADv/AAA9/wAAP/8AAD//AABb/wAAW/8AAF3/AABd/wAAX/8AAGX/AAAAAQEAAgEBAJ8DAQCfAwEA0AMBANADAQBvBQEAbwUBAFcIAQBXCAEAHwkBAB8JAQA/CQEAPwkBAFAKAQBYCgEAfwoBAH8KAQDwCgEA9goBADkLAQA/CwEAmQsBAJwLAQCtDgEArQ4BAFUPAQBZDwEAhg8BAIkPAQBHEAEATRABALsQAQC8EAEAvhABAMEQAQBAEQEAQxEBAHQRAQB1EQEAxREBAMgRAQDNEQEAzREBANsRAQDbEQEA3REBAN8RAQA4EgEAPRIBAKkSAQCpEgEASxQBAE8UAQBaFAEAWxQBAF0UAQBdFAEAxhQBAMYUAQDBFQEA1xUBAEEWAQBDFgEAYBYBAGwWAQC5FgEAuRYBADwXAQA+FwEAOxgBADsYAQBEGQEARhkBAOIZAQDiGQEAPxoBAEYaAQCaGgEAnBoBAJ4aAQCiGgEAQRwBAEUcAQBwHAEAcRwBAPceAQD4HgEA/x8BAP8fAQBwJAEAdCQBAPEvAQDyLwEAbmoBAG9qAQD1agEA9WoBADdrAQA7awEARGsBAERrAQCXbgEAmm4BAOJvAQDibwEAn7wBAJ+8AQCH2gEAi9oBAF7pAQBf6QEAAAAAAAoAAAAJAAAADQAAACAAAAAgAAAAhQAAAIUAAACgAAAAoAAAAIAWAACAFgAAACAAAAogAAAoIAAAKSAAAC8gAAAvIAAAXyAAAF8gAAAAMAAAADAAQZDYAwuzWIsCAABBAAAAWgAAAMAAAADWAAAA2AAAAN4AAAAAAQAAAAEAAAIBAAACAQAABAEAAAQBAAAGAQAABgEAAAgBAAAIAQAACgEAAAoBAAAMAQAADAEAAA4BAAAOAQAAEAEAABABAAASAQAAEgEAABQBAAAUAQAAFgEAABYBAAAYAQAAGAEAABoBAAAaAQAAHAEAABwBAAAeAQAAHgEAACABAAAgAQAAIgEAACIBAAAkAQAAJAEAACYBAAAmAQAAKAEAACgBAAAqAQAAKgEAACwBAAAsAQAALgEAAC4BAAAwAQAAMAEAADIBAAAyAQAANAEAADQBAAA2AQAANgEAADkBAAA5AQAAOwEAADsBAAA9AQAAPQEAAD8BAAA/AQAAQQEAAEEBAABDAQAAQwEAAEUBAABFAQAARwEAAEcBAABKAQAASgEAAEwBAABMAQAATgEAAE4BAABQAQAAUAEAAFIBAABSAQAAVAEAAFQBAABWAQAAVgEAAFgBAABYAQAAWgEAAFoBAABcAQAAXAEAAF4BAABeAQAAYAEAAGABAABiAQAAYgEAAGQBAABkAQAAZgEAAGYBAABoAQAAaAEAAGoBAABqAQAAbAEAAGwBAABuAQAAbgEAAHABAABwAQAAcgEAAHIBAAB0AQAAdAEAAHYBAAB2AQAAeAEAAHkBAAB7AQAAewEAAH0BAAB9AQAAgQEAAIIBAACEAQAAhAEAAIYBAACHAQAAiQEAAIsBAACOAQAAkQEAAJMBAACUAQAAlgEAAJgBAACcAQAAnQEAAJ8BAACgAQAAogEAAKIBAACkAQAApAEAAKYBAACnAQAAqQEAAKkBAACsAQAArAEAAK4BAACvAQAAsQEAALMBAAC1AQAAtQEAALcBAAC4AQAAvAEAALwBAADEAQAAxAEAAMcBAADHAQAAygEAAMoBAADNAQAAzQEAAM8BAADPAQAA0QEAANEBAADTAQAA0wEAANUBAADVAQAA1wEAANcBAADZAQAA2QEAANsBAADbAQAA3gEAAN4BAADgAQAA4AEAAOIBAADiAQAA5AEAAOQBAADmAQAA5gEAAOgBAADoAQAA6gEAAOoBAADsAQAA7AEAAO4BAADuAQAA8QEAAPEBAAD0AQAA9AEAAPYBAAD4AQAA+gEAAPoBAAD8AQAA/AEAAP4BAAD+AQAAAAIAAAACAAACAgAAAgIAAAQCAAAEAgAABgIAAAYCAAAIAgAACAIAAAoCAAAKAgAADAIAAAwCAAAOAgAADgIAABACAAAQAgAAEgIAABICAAAUAgAAFAIAABYCAAAWAgAAGAIAABgCAAAaAgAAGgIAABwCAAAcAgAAHgIAAB4CAAAgAgAAIAIAACICAAAiAgAAJAIAACQCAAAmAgAAJgIAACgCAAAoAgAAKgIAACoCAAAsAgAALAIAAC4CAAAuAgAAMAIAADACAAAyAgAAMgIAADoCAAA7AgAAPQIAAD4CAABBAgAAQQIAAEMCAABGAgAASAIAAEgCAABKAgAASgIAAEwCAABMAgAATgIAAE4CAABwAwAAcAMAAHIDAAByAwAAdgMAAHYDAAB/AwAAfwMAAIYDAACGAwAAiAMAAIoDAACMAwAAjAMAAI4DAACPAwAAkQMAAKEDAACjAwAAqwMAAM8DAADPAwAA0gMAANQDAADYAwAA2AMAANoDAADaAwAA3AMAANwDAADeAwAA3gMAAOADAADgAwAA4gMAAOIDAADkAwAA5AMAAOYDAADmAwAA6AMAAOgDAADqAwAA6gMAAOwDAADsAwAA7gMAAO4DAAD0AwAA9AMAAPcDAAD3AwAA+QMAAPoDAAD9AwAALwQAAGAEAABgBAAAYgQAAGIEAABkBAAAZAQAAGYEAABmBAAAaAQAAGgEAABqBAAAagQAAGwEAABsBAAAbgQAAG4EAABwBAAAcAQAAHIEAAByBAAAdAQAAHQEAAB2BAAAdgQAAHgEAAB4BAAAegQAAHoEAAB8BAAAfAQAAH4EAAB+BAAAgAQAAIAEAACKBAAAigQAAIwEAACMBAAAjgQAAI4EAACQBAAAkAQAAJIEAACSBAAAlAQAAJQEAACWBAAAlgQAAJgEAACYBAAAmgQAAJoEAACcBAAAnAQAAJ4EAACeBAAAoAQAAKAEAACiBAAAogQAAKQEAACkBAAApgQAAKYEAACoBAAAqAQAAKoEAACqBAAArAQAAKwEAACuBAAArgQAALAEAACwBAAAsgQAALIEAAC0BAAAtAQAALYEAAC2BAAAuAQAALgEAAC6BAAAugQAALwEAAC8BAAAvgQAAL4EAADABAAAwQQAAMMEAADDBAAAxQQAAMUEAADHBAAAxwQAAMkEAADJBAAAywQAAMsEAADNBAAAzQQAANAEAADQBAAA0gQAANIEAADUBAAA1AQAANYEAADWBAAA2AQAANgEAADaBAAA2gQAANwEAADcBAAA3gQAAN4EAADgBAAA4AQAAOIEAADiBAAA5AQAAOQEAADmBAAA5gQAAOgEAADoBAAA6gQAAOoEAADsBAAA7AQAAO4EAADuBAAA8AQAAPAEAADyBAAA8gQAAPQEAAD0BAAA9gQAAPYEAAD4BAAA+AQAAPoEAAD6BAAA/AQAAPwEAAD+BAAA/gQAAAAFAAAABQAAAgUAAAIFAAAEBQAABAUAAAYFAAAGBQAACAUAAAgFAAAKBQAACgUAAAwFAAAMBQAADgUAAA4FAAAQBQAAEAUAABIFAAASBQAAFAUAABQFAAAWBQAAFgUAABgFAAAYBQAAGgUAABoFAAAcBQAAHAUAAB4FAAAeBQAAIAUAACAFAAAiBQAAIgUAACQFAAAkBQAAJgUAACYFAAAoBQAAKAUAACoFAAAqBQAALAUAACwFAAAuBQAALgUAADEFAABWBQAAoBAAAMUQAADHEAAAxxAAAM0QAADNEAAAoBMAAPUTAACQHAAAuhwAAL0cAAC/HAAAAB4AAAAeAAACHgAAAh4AAAQeAAAEHgAABh4AAAYeAAAIHgAACB4AAAoeAAAKHgAADB4AAAweAAAOHgAADh4AABAeAAAQHgAAEh4AABIeAAAUHgAAFB4AABYeAAAWHgAAGB4AABgeAAAaHgAAGh4AABweAAAcHgAAHh4AAB4eAAAgHgAAIB4AACIeAAAiHgAAJB4AACQeAAAmHgAAJh4AACgeAAAoHgAAKh4AACoeAAAsHgAALB4AAC4eAAAuHgAAMB4AADAeAAAyHgAAMh4AADQeAAA0HgAANh4AADYeAAA4HgAAOB4AADoeAAA6HgAAPB4AADweAAA+HgAAPh4AAEAeAABAHgAAQh4AAEIeAABEHgAARB4AAEYeAABGHgAASB4AAEgeAABKHgAASh4AAEweAABMHgAATh4AAE4eAABQHgAAUB4AAFIeAABSHgAAVB4AAFQeAABWHgAAVh4AAFgeAABYHgAAWh4AAFoeAABcHgAAXB4AAF4eAABeHgAAYB4AAGAeAABiHgAAYh4AAGQeAABkHgAAZh4AAGYeAABoHgAAaB4AAGoeAABqHgAAbB4AAGweAABuHgAAbh4AAHAeAABwHgAAch4AAHIeAAB0HgAAdB4AAHYeAAB2HgAAeB4AAHgeAAB6HgAAeh4AAHweAAB8HgAAfh4AAH4eAACAHgAAgB4AAIIeAACCHgAAhB4AAIQeAACGHgAAhh4AAIgeAACIHgAAih4AAIoeAACMHgAAjB4AAI4eAACOHgAAkB4AAJAeAACSHgAAkh4AAJQeAACUHgAAnh4AAJ4eAACgHgAAoB4AAKIeAACiHgAApB4AAKQeAACmHgAAph4AAKgeAACoHgAAqh4AAKoeAACsHgAArB4AAK4eAACuHgAAsB4AALAeAACyHgAAsh4AALQeAAC0HgAAth4AALYeAAC4HgAAuB4AALoeAAC6HgAAvB4AALweAAC+HgAAvh4AAMAeAADAHgAAwh4AAMIeAADEHgAAxB4AAMYeAADGHgAAyB4AAMgeAADKHgAAyh4AAMweAADMHgAAzh4AAM4eAADQHgAA0B4AANIeAADSHgAA1B4AANQeAADWHgAA1h4AANgeAADYHgAA2h4AANoeAADcHgAA3B4AAN4eAADeHgAA4B4AAOAeAADiHgAA4h4AAOQeAADkHgAA5h4AAOYeAADoHgAA6B4AAOoeAADqHgAA7B4AAOweAADuHgAA7h4AAPAeAADwHgAA8h4AAPIeAAD0HgAA9B4AAPYeAAD2HgAA+B4AAPgeAAD6HgAA+h4AAPweAAD8HgAA/h4AAP4eAAAIHwAADx8AABgfAAAdHwAAKB8AAC8fAAA4HwAAPx8AAEgfAABNHwAAWR8AAFkfAABbHwAAWx8AAF0fAABdHwAAXx8AAF8fAABoHwAAbx8AALgfAAC7HwAAyB8AAMsfAADYHwAA2x8AAOgfAADsHwAA+B8AAPsfAAACIQAAAiEAAAchAAAHIQAACyEAAA0hAAAQIQAAEiEAABUhAAAVIQAAGSEAAB0hAAAkIQAAJCEAACYhAAAmIQAAKCEAACghAAAqIQAALSEAADAhAAAzIQAAPiEAAD8hAABFIQAARSEAAGAhAABvIQAAgyEAAIMhAAC2JAAAzyQAAAAsAAAvLAAAYCwAAGAsAABiLAAAZCwAAGcsAABnLAAAaSwAAGksAABrLAAAaywAAG0sAABwLAAAciwAAHIsAAB1LAAAdSwAAH4sAACALAAAgiwAAIIsAACELAAAhCwAAIYsAACGLAAAiCwAAIgsAACKLAAAiiwAAIwsAACMLAAAjiwAAI4sAACQLAAAkCwAAJIsAACSLAAAlCwAAJQsAACWLAAAliwAAJgsAACYLAAAmiwAAJosAACcLAAAnCwAAJ4sAACeLAAAoCwAAKAsAACiLAAAoiwAAKQsAACkLAAApiwAAKYsAACoLAAAqCwAAKosAACqLAAArCwAAKwsAACuLAAAriwAALAsAACwLAAAsiwAALIsAAC0LAAAtCwAALYsAAC2LAAAuCwAALgsAAC6LAAAuiwAALwsAAC8LAAAviwAAL4sAADALAAAwCwAAMIsAADCLAAAxCwAAMQsAADGLAAAxiwAAMgsAADILAAAyiwAAMosAADMLAAAzCwAAM4sAADOLAAA0CwAANAsAADSLAAA0iwAANQsAADULAAA1iwAANYsAADYLAAA2CwAANosAADaLAAA3CwAANwsAADeLAAA3iwAAOAsAADgLAAA4iwAAOIsAADrLAAA6ywAAO0sAADtLAAA8iwAAPIsAABApgAAQKYAAEKmAABCpgAARKYAAESmAABGpgAARqYAAEimAABIpgAASqYAAEqmAABMpgAATKYAAE6mAABOpgAAUKYAAFCmAABSpgAAUqYAAFSmAABUpgAAVqYAAFamAABYpgAAWKYAAFqmAABapgAAXKYAAFymAABepgAAXqYAAGCmAABgpgAAYqYAAGKmAABkpgAAZKYAAGamAABmpgAAaKYAAGimAABqpgAAaqYAAGymAABspgAAgKYAAICmAACCpgAAgqYAAISmAACEpgAAhqYAAIamAACIpgAAiKYAAIqmAACKpgAAjKYAAIymAACOpgAAjqYAAJCmAACQpgAAkqYAAJKmAACUpgAAlKYAAJamAACWpgAAmKYAAJimAACapgAAmqYAACKnAAAipwAAJKcAACSnAAAmpwAAJqcAACinAAAopwAAKqcAACqnAAAspwAALKcAAC6nAAAupwAAMqcAADKnAAA0pwAANKcAADanAAA2pwAAOKcAADinAAA6pwAAOqcAADynAAA8pwAAPqcAAD6nAABApwAAQKcAAEKnAABCpwAARKcAAESnAABGpwAARqcAAEinAABIpwAASqcAAEqnAABMpwAATKcAAE6nAABOpwAAUKcAAFCnAABSpwAAUqcAAFSnAABUpwAAVqcAAFanAABYpwAAWKcAAFqnAABapwAAXKcAAFynAABepwAAXqcAAGCnAABgpwAAYqcAAGKnAABkpwAAZKcAAGanAABmpwAAaKcAAGinAABqpwAAaqcAAGynAABspwAAbqcAAG6nAAB5pwAAeacAAHunAAB7pwAAfacAAH6nAACApwAAgKcAAIKnAACCpwAAhKcAAISnAACGpwAAhqcAAIunAACLpwAAjacAAI2nAACQpwAAkKcAAJKnAACSpwAAlqcAAJanAACYpwAAmKcAAJqnAACapwAAnKcAAJynAACepwAAnqcAAKCnAACgpwAAoqcAAKKnAACkpwAApKcAAKanAACmpwAAqKcAAKinAACqpwAArqcAALCnAAC0pwAAtqcAALanAAC4pwAAuKcAALqnAAC6pwAAvKcAALynAAC+pwAAvqcAAMCnAADApwAAwqcAAMKnAADEpwAAx6cAAMmnAADJpwAA0KcAANCnAADWpwAA1qcAANinAADYpwAA9acAAPWnAAAh/wAAOv8AAAAEAQAnBAEAsAQBANMEAQBwBQEAegUBAHwFAQCKBQEAjAUBAJIFAQCUBQEAlQUBAIAMAQCyDAEAoBgBAL8YAQBAbgEAX24BAADUAQAZ1AEANNQBAE3UAQBo1AEAgdQBAJzUAQCc1AEAntQBAJ/UAQCi1AEAotQBAKXUAQCm1AEAqdQBAKzUAQCu1AEAtdQBANDUAQDp1AEABNUBAAXVAQAH1QEACtUBAA3VAQAU1QEAFtUBABzVAQA41QEAOdUBADvVAQA+1QEAQNUBAETVAQBG1QEARtUBAErVAQBQ1QEAbNUBAIXVAQCg1QEAudUBANTVAQDt1QEACNYBACHWAQA81gEAVdYBAHDWAQCJ1gEAqNYBAMDWAQDi1gEA+tYBABzXAQA01wEAVtcBAG7XAQCQ1wEAqNcBAMrXAQDK1wEAAOkBACHpAQAw8QEASfEBAFDxAQBp8QEAcPEBAInxAQAAAAAAAwAAADAAAAA5AAAAQQAAAEYAAABhAAAAZgAAAAAAAAD2AgAAMAAAADkAAABBAAAAWgAAAF8AAABfAAAAYQAAAHoAAACqAAAAqgAAALUAAAC1AAAAugAAALoAAADAAAAA1gAAANgAAAD2AAAA+AAAAMECAADGAgAA0QIAAOACAADkAgAA7AIAAOwCAADuAgAA7gIAAAADAAB0AwAAdgMAAHcDAAB6AwAAfQMAAH8DAAB/AwAAhgMAAIYDAACIAwAAigMAAIwDAACMAwAAjgMAAKEDAACjAwAA9QMAAPcDAACBBAAAgwQAAC8FAAAxBQAAVgUAAFkFAABZBQAAYAUAAIgFAACRBQAAvQUAAL8FAAC/BQAAwQUAAMIFAADEBQAAxQUAAMcFAADHBQAA0AUAAOoFAADvBQAA8gUAABAGAAAaBgAAIAYAAGkGAABuBgAA0wYAANUGAADcBgAA3wYAAOgGAADqBgAA/AYAAP8GAAD/BgAAEAcAAEoHAABNBwAAsQcAAMAHAAD1BwAA+gcAAPoHAAD9BwAA/QcAAAAIAAAtCAAAQAgAAFsIAABgCAAAaggAAHAIAACHCAAAiQgAAI4IAACYCAAA4QgAAOMIAABjCQAAZgkAAG8JAABxCQAAgwkAAIUJAACMCQAAjwkAAJAJAACTCQAAqAkAAKoJAACwCQAAsgkAALIJAAC2CQAAuQkAALwJAADECQAAxwkAAMgJAADLCQAAzgkAANcJAADXCQAA3AkAAN0JAADfCQAA4wkAAOYJAADxCQAA/AkAAPwJAAD+CQAA/gkAAAEKAAADCgAABQoAAAoKAAAPCgAAEAoAABMKAAAoCgAAKgoAADAKAAAyCgAAMwoAADUKAAA2CgAAOAoAADkKAAA8CgAAPAoAAD4KAABCCgAARwoAAEgKAABLCgAATQoAAFEKAABRCgAAWQoAAFwKAABeCgAAXgoAAGYKAAB1CgAAgQoAAIMKAACFCgAAjQoAAI8KAACRCgAAkwoAAKgKAACqCgAAsAoAALIKAACzCgAAtQoAALkKAAC8CgAAxQoAAMcKAADJCgAAywoAAM0KAADQCgAA0AoAAOAKAADjCgAA5goAAO8KAAD5CgAA/woAAAELAAADCwAABQsAAAwLAAAPCwAAEAsAABMLAAAoCwAAKgsAADALAAAyCwAAMwsAADULAAA5CwAAPAsAAEQLAABHCwAASAsAAEsLAABNCwAAVQsAAFcLAABcCwAAXQsAAF8LAABjCwAAZgsAAG8LAABxCwAAcQsAAIILAACDCwAAhQsAAIoLAACOCwAAkAsAAJILAACVCwAAmQsAAJoLAACcCwAAnAsAAJ4LAACfCwAAowsAAKQLAACoCwAAqgsAAK4LAAC5CwAAvgsAAMILAADGCwAAyAsAAMoLAADNCwAA0AsAANALAADXCwAA1wsAAOYLAADvCwAAAAwAAAwMAAAODAAAEAwAABIMAAAoDAAAKgwAADkMAAA8DAAARAwAAEYMAABIDAAASgwAAE0MAABVDAAAVgwAAFgMAABaDAAAXQwAAF0MAABgDAAAYwwAAGYMAABvDAAAgAwAAIMMAACFDAAAjAwAAI4MAACQDAAAkgwAAKgMAACqDAAAswwAALUMAAC5DAAAvAwAAMQMAADGDAAAyAwAAMoMAADNDAAA1QwAANYMAADdDAAA3gwAAOAMAADjDAAA5gwAAO8MAADxDAAA8gwAAAANAAAMDQAADg0AABANAAASDQAARA0AAEYNAABIDQAASg0AAE4NAABUDQAAVw0AAF8NAABjDQAAZg0AAG8NAAB6DQAAfw0AAIENAACDDQAAhQ0AAJYNAACaDQAAsQ0AALMNAAC7DQAAvQ0AAL0NAADADQAAxg0AAMoNAADKDQAAzw0AANQNAADWDQAA1g0AANgNAADfDQAA5g0AAO8NAADyDQAA8w0AAAEOAAA6DgAAQA4AAE4OAABQDgAAWQ4AAIEOAACCDgAAhA4AAIQOAACGDgAAig4AAIwOAACjDgAApQ4AAKUOAACnDgAAvQ4AAMAOAADEDgAAxg4AAMYOAADIDgAAzQ4AANAOAADZDgAA3A4AAN8OAAAADwAAAA8AABgPAAAZDwAAIA8AACkPAAA1DwAANQ8AADcPAAA3DwAAOQ8AADkPAAA+DwAARw8AAEkPAABsDwAAcQ8AAIQPAACGDwAAlw8AAJkPAAC8DwAAxg8AAMYPAAAAEAAASRAAAFAQAACdEAAAoBAAAMUQAADHEAAAxxAAAM0QAADNEAAA0BAAAPoQAAD8EAAASBIAAEoSAABNEgAAUBIAAFYSAABYEgAAWBIAAFoSAABdEgAAYBIAAIgSAACKEgAAjRIAAJASAACwEgAAshIAALUSAAC4EgAAvhIAAMASAADAEgAAwhIAAMUSAADIEgAA1hIAANgSAAAQEwAAEhMAABUTAAAYEwAAWhMAAF0TAABfEwAAgBMAAI8TAACgEwAA9RMAAPgTAAD9EwAAARQAAGwWAABvFgAAfxYAAIEWAACaFgAAoBYAAOoWAADuFgAA+BYAAAAXAAAVFwAAHxcAADQXAABAFwAAUxcAAGAXAABsFwAAbhcAAHAXAAByFwAAcxcAAIAXAADTFwAA1xcAANcXAADcFwAA3RcAAOAXAADpFwAACxgAAA0YAAAPGAAAGRgAACAYAAB4GAAAgBgAAKoYAACwGAAA9RgAAAAZAAAeGQAAIBkAACsZAAAwGQAAOxkAAEYZAABtGQAAcBkAAHQZAACAGQAAqxkAALAZAADJGQAA0BkAANkZAAAAGgAAGxoAACAaAABeGgAAYBoAAHwaAAB/GgAAiRoAAJAaAACZGgAApxoAAKcaAACwGgAAzhoAAAAbAABMGwAAUBsAAFkbAABrGwAAcxsAAIAbAADzGwAAABwAADccAABAHAAASRwAAE0cAAB9HAAAgBwAAIgcAACQHAAAuhwAAL0cAAC/HAAA0BwAANIcAADUHAAA+hwAAAAdAAAVHwAAGB8AAB0fAAAgHwAARR8AAEgfAABNHwAAUB8AAFcfAABZHwAAWR8AAFsfAABbHwAAXR8AAF0fAABfHwAAfR8AAIAfAAC0HwAAth8AALwfAAC+HwAAvh8AAMIfAADEHwAAxh8AAMwfAADQHwAA0x8AANYfAADbHwAA4B8AAOwfAADyHwAA9B8AAPYfAAD8HwAAPyAAAEAgAABUIAAAVCAAAHEgAABxIAAAfyAAAH8gAACQIAAAnCAAANAgAADwIAAAAiEAAAIhAAAHIQAAByEAAAohAAATIQAAFSEAABUhAAAZIQAAHSEAACQhAAAkIQAAJiEAACYhAAAoIQAAKCEAACohAAAtIQAALyEAADkhAAA8IQAAPyEAAEUhAABJIQAATiEAAE4hAABgIQAAiCEAALYkAADpJAAAACwAAOQsAADrLAAA8ywAAAAtAAAlLQAAJy0AACctAAAtLQAALS0AADAtAABnLQAAby0AAG8tAAB/LQAAli0AAKAtAACmLQAAqC0AAK4tAACwLQAAti0AALgtAAC+LQAAwC0AAMYtAADILQAAzi0AANAtAADWLQAA2C0AAN4tAADgLQAA/y0AAC8uAAAvLgAABTAAAAcwAAAhMAAALzAAADEwAAA1MAAAODAAADwwAABBMAAAljAAAJkwAACaMAAAnTAAAJ8wAAChMAAA+jAAAPwwAAD/MAAABTEAAC8xAAAxMQAAjjEAAKAxAAC/MQAA8DEAAP8xAAAANAAAv00AAABOAACMpAAA0KQAAP2kAAAApQAADKYAABCmAAArpgAAQKYAAHKmAAB0pgAAfaYAAH+mAADxpgAAF6cAAB+nAAAipwAAiKcAAIunAADKpwAA0KcAANGnAADTpwAA06cAANWnAADZpwAA8qcAACeoAAAsqAAALKgAAECoAABzqAAAgKgAAMWoAADQqAAA2agAAOCoAAD3qAAA+6gAAPuoAAD9qAAALakAADCpAABTqQAAYKkAAHypAACAqQAAwKkAAM+pAADZqQAA4KkAAP6pAAAAqgAANqoAAECqAABNqgAAUKoAAFmqAABgqgAAdqoAAHqqAADCqgAA26oAAN2qAADgqgAA76oAAPKqAAD2qgAAAasAAAarAAAJqwAADqsAABGrAAAWqwAAIKsAACarAAAoqwAALqsAADCrAABaqwAAXKsAAGmrAABwqwAA6qsAAOyrAADtqwAA8KsAAPmrAAAArAAAo9cAALDXAADG1wAAy9cAAPvXAAAA+QAAbfoAAHD6AADZ+gAAAPsAAAb7AAAT+wAAF/sAAB37AAAo+wAAKvsAADb7AAA4+wAAPPsAAD77AAA++wAAQPsAAEH7AABD+wAARPsAAEb7AACx+wAA0/sAAD39AABQ/QAAj/0AAJL9AADH/QAA8P0AAPv9AAAA/gAAD/4AACD+AAAv/gAAM/4AADT+AABN/gAAT/4AAHD+AAB0/gAAdv4AAPz+AAAQ/wAAGf8AACH/AAA6/wAAP/8AAD//AABB/wAAWv8AAGb/AAC+/wAAwv8AAMf/AADK/wAAz/8AANL/AADX/wAA2v8AANz/AAAAAAEACwABAA0AAQAmAAEAKAABADoAAQA8AAEAPQABAD8AAQBNAAEAUAABAF0AAQCAAAEA+gABAEABAQB0AQEA/QEBAP0BAQCAAgEAnAIBAKACAQDQAgEA4AIBAOACAQAAAwEAHwMBAC0DAQBKAwEAUAMBAHoDAQCAAwEAnQMBAKADAQDDAwEAyAMBAM8DAQDRAwEA1QMBAAAEAQCdBAEAoAQBAKkEAQCwBAEA0wQBANgEAQD7BAEAAAUBACcFAQAwBQEAYwUBAHAFAQB6BQEAfAUBAIoFAQCMBQEAkgUBAJQFAQCVBQEAlwUBAKEFAQCjBQEAsQUBALMFAQC5BQEAuwUBALwFAQAABgEANgcBAEAHAQBVBwEAYAcBAGcHAQCABwEAhQcBAIcHAQCwBwEAsgcBALoHAQAACAEABQgBAAgIAQAICAEACggBADUIAQA3CAEAOAgBADwIAQA8CAEAPwgBAFUIAQBgCAEAdggBAIAIAQCeCAEA4AgBAPIIAQD0CAEA9QgBAAAJAQAVCQEAIAkBADkJAQCACQEAtwkBAL4JAQC/CQEAAAoBAAMKAQAFCgEABgoBAAwKAQATCgEAFQoBABcKAQAZCgEANQoBADgKAQA6CgEAPwoBAD8KAQBgCgEAfAoBAIAKAQCcCgEAwAoBAMcKAQDJCgEA5goBAAALAQA1CwEAQAsBAFULAQBgCwEAcgsBAIALAQCRCwEAAAwBAEgMAQCADAEAsgwBAMAMAQDyDAEAAA0BACcNAQAwDQEAOQ0BAIAOAQCpDgEAqw4BAKwOAQCwDgEAsQ4BAAAPAQAcDwEAJw8BACcPAQAwDwEAUA8BAHAPAQCFDwEAsA8BAMQPAQDgDwEA9g8BAAAQAQBGEAEAZhABAHUQAQB/EAEAuhABAMIQAQDCEAEA0BABAOgQAQDwEAEA+RABAAARAQA0EQEANhEBAD8RAQBEEQEARxEBAFARAQBzEQEAdhEBAHYRAQCAEQEAxBEBAMkRAQDMEQEAzhEBANoRAQDcEQEA3BEBAAASAQAREgEAExIBADcSAQA+EgEAPhIBAIASAQCGEgEAiBIBAIgSAQCKEgEAjRIBAI8SAQCdEgEAnxIBAKgSAQCwEgEA6hIBAPASAQD5EgEAABMBAAMTAQAFEwEADBMBAA8TAQAQEwEAExMBACgTAQAqEwEAMBMBADITAQAzEwEANRMBADkTAQA7EwEARBMBAEcTAQBIEwEASxMBAE0TAQBQEwEAUBMBAFcTAQBXEwEAXRMBAGMTAQBmEwEAbBMBAHATAQB0EwEAABQBAEoUAQBQFAEAWRQBAF4UAQBhFAEAgBQBAMUUAQDHFAEAxxQBANAUAQDZFAEAgBUBALUVAQC4FQEAwBUBANgVAQDdFQEAABYBAEAWAQBEFgEARBYBAFAWAQBZFgEAgBYBALgWAQDAFgEAyRYBAAAXAQAaFwEAHRcBACsXAQAwFwEAORcBAEAXAQBGFwEAABgBADoYAQCgGAEA6RgBAP8YAQAGGQEACRkBAAkZAQAMGQEAExkBABUZAQAWGQEAGBkBADUZAQA3GQEAOBkBADsZAQBDGQEAUBkBAFkZAQCgGQEApxkBAKoZAQDXGQEA2hkBAOEZAQDjGQEA5BkBAAAaAQA+GgEARxoBAEcaAQBQGgEAmRoBAJ0aAQCdGgEAsBoBAPgaAQAAHAEACBwBAAocAQA2HAEAOBwBAEAcAQBQHAEAWRwBAHIcAQCPHAEAkhwBAKccAQCpHAEAthwBAAAdAQAGHQEACB0BAAkdAQALHQEANh0BADodAQA6HQEAPB0BAD0dAQA/HQEARx0BAFAdAQBZHQEAYB0BAGUdAQBnHQEAaB0BAGodAQCOHQEAkB0BAJEdAQCTHQEAmB0BAKAdAQCpHQEA4B4BAPYeAQCwHwEAsB8BAAAgAQCZIwEAACQBAG4kAQCAJAEAQyUBAJAvAQDwLwEAADABAC40AQAARAEARkYBAABoAQA4agEAQGoBAF5qAQBgagEAaWoBAHBqAQC+agEAwGoBAMlqAQDQagEA7WoBAPBqAQD0agEAAGsBADZrAQBAawEAQ2sBAFBrAQBZawEAY2sBAHdrAQB9awEAj2sBAEBuAQB/bgEAAG8BAEpvAQBPbwEAh28BAI9vAQCfbwEA4G8BAOFvAQDjbwEA5G8BAPBvAQDxbwEAAHABAPeHAQAAiAEA1YwBAACNAQAIjQEA8K8BAPOvAQD1rwEA+68BAP2vAQD+rwEAALABACKxAQBQsQEAUrEBAGSxAQBnsQEAcLEBAPuyAQAAvAEAarwBAHC8AQB8vAEAgLwBAIi8AQCQvAEAmbwBAJ28AQCevAEAAM8BAC3PAQAwzwEARs8BAGXRAQBp0QEAbdEBAHLRAQB70QEAgtEBAIXRAQCL0QEAqtEBAK3RAQBC0gEARNIBAADUAQBU1AEAVtQBAJzUAQCe1AEAn9QBAKLUAQCi1AEApdQBAKbUAQCp1AEArNQBAK7UAQC51AEAu9QBALvUAQC91AEAw9QBAMXUAQAF1QEAB9UBAArVAQAN1QEAFNUBABbVAQAc1QEAHtUBADnVAQA71QEAPtUBAEDVAQBE1QEARtUBAEbVAQBK1QEAUNUBAFLVAQCl1gEAqNYBAMDWAQDC1gEA2tYBANzWAQD61gEA/NYBABTXAQAW1wEANNcBADbXAQBO1wEAUNcBAG7XAQBw1wEAiNcBAIrXAQCo1wEAqtcBAMLXAQDE1wEAy9cBAM7XAQD/1wEAANoBADbaAQA72gEAbNoBAHXaAQB12gEAhNoBAITaAQCb2gEAn9oBAKHaAQCv2gEAAN8BAB7fAQAA4AEABuABAAjgAQAY4AEAG+ABACHgAQAj4AEAJOABACbgAQAq4AEAAOEBACzhAQAw4QEAPeEBAEDhAQBJ4QEATuEBAE7hAQCQ4gEAruIBAMDiAQD54gEA4OcBAObnAQDo5wEA6+cBAO3nAQDu5wEA8OcBAP7nAQAA6AEAxOgBANDoAQDW6AEAAOkBAEvpAQBQ6QEAWekBAADuAQAD7gEABe4BAB/uAQAh7gEAIu4BACTuAQAk7gEAJ+4BACfuAQAp7gEAMu4BADTuAQA37gEAOe4BADnuAQA77gEAO+4BAELuAQBC7gEAR+4BAEfuAQBJ7gEASe4BAEvuAQBL7gEATe4BAE/uAQBR7gEAUu4BAFTuAQBU7gEAV+4BAFfuAQBZ7gEAWe4BAFvuAQBb7gEAXe4BAF3uAQBf7gEAX+4BAGHuAQBi7gEAZO4BAGTuAQBn7gEAau4BAGzuAQBy7gEAdO4BAHfuAQB57gEAfO4BAH7uAQB+7gEAgO4BAInuAQCL7gEAm+4BAKHuAQCj7gEApe4BAKnuAQCr7gEAu+4BADDxAQBJ8QEAUPEBAGnxAQBw8QEAifEBAPD7AQD5+wEAAAACAN+mAgAApwIAOLcCAEC3AgAduAIAILgCAKHOAgCwzgIA4OsCAAD4AgAd+gIAAAADAEoTAwAAAQ4A7wEOAEHQsAQLozD4AgAAMAAAADkAAABBAAAAWgAAAGEAAAB6AAAAqgAAAKoAAAC1AAAAtQAAALoAAAC6AAAAwAAAANYAAADYAAAA9gAAAPgAAADBAgAAxgIAANECAADgAgAA5AIAAOwCAADsAgAA7gIAAO4CAABFAwAARQMAAHADAAB0AwAAdgMAAHcDAAB6AwAAfQMAAH8DAAB/AwAAhgMAAIYDAACIAwAAigMAAIwDAACMAwAAjgMAAKEDAACjAwAA9QMAAPcDAACBBAAAigQAAC8FAAAxBQAAVgUAAFkFAABZBQAAYAUAAIgFAACwBQAAvQUAAL8FAAC/BQAAwQUAAMIFAADEBQAAxQUAAMcFAADHBQAA0AUAAOoFAADvBQAA8gUAABAGAAAaBgAAIAYAAFcGAABZBgAAaQYAAG4GAADTBgAA1QYAANwGAADhBgAA6AYAAO0GAAD8BgAA/wYAAP8GAAAQBwAAPwcAAE0HAACxBwAAwAcAAOoHAAD0BwAA9QcAAPoHAAD6BwAAAAgAABcIAAAaCAAALAgAAEAIAABYCAAAYAgAAGoIAABwCAAAhwgAAIkIAACOCAAAoAgAAMkIAADUCAAA3wgAAOMIAADpCAAA8AgAADsJAAA9CQAATAkAAE4JAABQCQAAVQkAAGMJAABmCQAAbwkAAHEJAACDCQAAhQkAAIwJAACPCQAAkAkAAJMJAACoCQAAqgkAALAJAACyCQAAsgkAALYJAAC5CQAAvQkAAMQJAADHCQAAyAkAAMsJAADMCQAAzgkAAM4JAADXCQAA1wkAANwJAADdCQAA3wkAAOMJAADmCQAA8QkAAPwJAAD8CQAAAQoAAAMKAAAFCgAACgoAAA8KAAAQCgAAEwoAACgKAAAqCgAAMAoAADIKAAAzCgAANQoAADYKAAA4CgAAOQoAAD4KAABCCgAARwoAAEgKAABLCgAATAoAAFEKAABRCgAAWQoAAFwKAABeCgAAXgoAAGYKAAB1CgAAgQoAAIMKAACFCgAAjQoAAI8KAACRCgAAkwoAAKgKAACqCgAAsAoAALIKAACzCgAAtQoAALkKAAC9CgAAxQoAAMcKAADJCgAAywoAAMwKAADQCgAA0AoAAOAKAADjCgAA5goAAO8KAAD5CgAA/AoAAAELAAADCwAABQsAAAwLAAAPCwAAEAsAABMLAAAoCwAAKgsAADALAAAyCwAAMwsAADULAAA5CwAAPQsAAEQLAABHCwAASAsAAEsLAABMCwAAVgsAAFcLAABcCwAAXQsAAF8LAABjCwAAZgsAAG8LAABxCwAAcQsAAIILAACDCwAAhQsAAIoLAACOCwAAkAsAAJILAACVCwAAmQsAAJoLAACcCwAAnAsAAJ4LAACfCwAAowsAAKQLAACoCwAAqgsAAK4LAAC5CwAAvgsAAMILAADGCwAAyAsAAMoLAADMCwAA0AsAANALAADXCwAA1wsAAOYLAADvCwAAAAwAAAMMAAAFDAAADAwAAA4MAAAQDAAAEgwAACgMAAAqDAAAOQwAAD0MAABEDAAARgwAAEgMAABKDAAATAwAAFUMAABWDAAAWAwAAFoMAABdDAAAXQwAAGAMAABjDAAAZgwAAG8MAACADAAAgwwAAIUMAACMDAAAjgwAAJAMAACSDAAAqAwAAKoMAACzDAAAtQwAALkMAAC9DAAAxAwAAMYMAADIDAAAygwAAMwMAADVDAAA1gwAAN0MAADeDAAA4AwAAOMMAADmDAAA7wwAAPEMAADyDAAAAA0AAAwNAAAODQAAEA0AABINAAA6DQAAPQ0AAEQNAABGDQAASA0AAEoNAABMDQAATg0AAE4NAABUDQAAVw0AAF8NAABjDQAAZg0AAG8NAAB6DQAAfw0AAIENAACDDQAAhQ0AAJYNAACaDQAAsQ0AALMNAAC7DQAAvQ0AAL0NAADADQAAxg0AAM8NAADUDQAA1g0AANYNAADYDQAA3w0AAOYNAADvDQAA8g0AAPMNAAABDgAAOg4AAEAOAABGDgAATQ4AAE0OAABQDgAAWQ4AAIEOAACCDgAAhA4AAIQOAACGDgAAig4AAIwOAACjDgAApQ4AAKUOAACnDgAAuQ4AALsOAAC9DgAAwA4AAMQOAADGDgAAxg4AAM0OAADNDgAA0A4AANkOAADcDgAA3w4AAAAPAAAADwAAIA8AACkPAABADwAARw8AAEkPAABsDwAAcQ8AAIEPAACIDwAAlw8AAJkPAAC8DwAAABAAADYQAAA4EAAAOBAAADsQAABJEAAAUBAAAJ0QAACgEAAAxRAAAMcQAADHEAAAzRAAAM0QAADQEAAA+hAAAPwQAABIEgAAShIAAE0SAABQEgAAVhIAAFgSAABYEgAAWhIAAF0SAABgEgAAiBIAAIoSAACNEgAAkBIAALASAACyEgAAtRIAALgSAAC+EgAAwBIAAMASAADCEgAAxRIAAMgSAADWEgAA2BIAABATAAASEwAAFRMAABgTAABaEwAAgBMAAI8TAACgEwAA9RMAAPgTAAD9EwAAARQAAGwWAABvFgAAfxYAAIEWAACaFgAAoBYAAOoWAADuFgAA+BYAAAAXAAATFwAAHxcAADMXAABAFwAAUxcAAGAXAABsFwAAbhcAAHAXAAByFwAAcxcAAIAXAACzFwAAthcAAMgXAADXFwAA1xcAANwXAADcFwAA4BcAAOkXAAAQGAAAGRgAACAYAAB4GAAAgBgAAKoYAACwGAAA9RgAAAAZAAAeGQAAIBkAACsZAAAwGQAAOBkAAEYZAABtGQAAcBkAAHQZAACAGQAAqxkAALAZAADJGQAA0BkAANkZAAAAGgAAGxoAACAaAABeGgAAYRoAAHQaAACAGgAAiRoAAJAaAACZGgAApxoAAKcaAAC/GgAAwBoAAMwaAADOGgAAABsAADMbAAA1GwAAQxsAAEUbAABMGwAAUBsAAFkbAACAGwAAqRsAAKwbAADlGwAA5xsAAPEbAAAAHAAANhwAAEAcAABJHAAATRwAAH0cAACAHAAAiBwAAJAcAAC6HAAAvRwAAL8cAADpHAAA7BwAAO4cAADzHAAA9RwAAPYcAAD6HAAA+hwAAAAdAAC/HQAA5x0AAPQdAAAAHgAAFR8AABgfAAAdHwAAIB8AAEUfAABIHwAATR8AAFAfAABXHwAAWR8AAFkfAABbHwAAWx8AAF0fAABdHwAAXx8AAH0fAACAHwAAtB8AALYfAAC8HwAAvh8AAL4fAADCHwAAxB8AAMYfAADMHwAA0B8AANMfAADWHwAA2x8AAOAfAADsHwAA8h8AAPQfAAD2HwAA/B8AAHEgAABxIAAAfyAAAH8gAACQIAAAnCAAAAIhAAACIQAAByEAAAchAAAKIQAAEyEAABUhAAAVIQAAGSEAAB0hAAAkIQAAJCEAACYhAAAmIQAAKCEAACghAAAqIQAALSEAAC8hAAA5IQAAPCEAAD8hAABFIQAASSEAAE4hAABOIQAAYCEAAIghAAC2JAAA6SQAAAAsAADkLAAA6ywAAO4sAADyLAAA8ywAAAAtAAAlLQAAJy0AACctAAAtLQAALS0AADAtAABnLQAAby0AAG8tAACALQAAli0AAKAtAACmLQAAqC0AAK4tAACwLQAAti0AALgtAAC+LQAAwC0AAMYtAADILQAAzi0AANAtAADWLQAA2C0AAN4tAADgLQAA/y0AAC8uAAAvLgAABTAAAAcwAAAhMAAAKTAAADEwAAA1MAAAODAAADwwAABBMAAAljAAAJ0wAACfMAAAoTAAAPowAAD8MAAA/zAAAAUxAAAvMQAAMTEAAI4xAACgMQAAvzEAAPAxAAD/MQAAADQAAL9NAAAATgAAjKQAANCkAAD9pAAAAKUAAAymAAAQpgAAK6YAAECmAABupgAAdKYAAHumAAB/pgAA76YAABenAAAfpwAAIqcAAIinAACLpwAAyqcAANCnAADRpwAA06cAANOnAADVpwAA2acAAPKnAAAFqAAAB6gAACeoAABAqAAAc6gAAICoAADDqAAAxagAAMWoAADQqAAA2agAAPKoAAD3qAAA+6gAAPuoAAD9qAAAKqkAADCpAABSqQAAYKkAAHypAACAqQAAsqkAALSpAAC/qQAAz6kAANmpAADgqQAA/qkAAACqAAA2qgAAQKoAAE2qAABQqgAAWaoAAGCqAAB2qgAAeqoAAL6qAADAqgAAwKoAAMKqAADCqgAA26oAAN2qAADgqgAA76oAAPKqAAD1qgAAAasAAAarAAAJqwAADqsAABGrAAAWqwAAIKsAACarAAAoqwAALqsAADCrAABaqwAAXKsAAGmrAABwqwAA6qsAAPCrAAD5qwAAAKwAAKPXAACw1wAAxtcAAMvXAAD71wAAAPkAAG36AABw+gAA2foAAAD7AAAG+wAAE/sAABf7AAAd+wAAKPsAACr7AAA2+wAAOPsAADz7AAA++wAAPvsAAED7AABB+wAAQ/sAAET7AABG+wAAsfsAANP7AAA9/QAAUP0AAI/9AACS/QAAx/0AAPD9AAD7/QAAcP4AAHT+AAB2/gAA/P4AABD/AAAZ/wAAIf8AADr/AABB/wAAWv8AAGb/AAC+/wAAwv8AAMf/AADK/wAAz/8AANL/AADX/wAA2v8AANz/AAAAAAEACwABAA0AAQAmAAEAKAABADoAAQA8AAEAPQABAD8AAQBNAAEAUAABAF0AAQCAAAEA+gABAEABAQB0AQEAgAIBAJwCAQCgAgEA0AIBAAADAQAfAwEALQMBAEoDAQBQAwEAegMBAIADAQCdAwEAoAMBAMMDAQDIAwEAzwMBANEDAQDVAwEAAAQBAJ0EAQCgBAEAqQQBALAEAQDTBAEA2AQBAPsEAQAABQEAJwUBADAFAQBjBQEAcAUBAHoFAQB8BQEAigUBAIwFAQCSBQEAlAUBAJUFAQCXBQEAoQUBAKMFAQCxBQEAswUBALkFAQC7BQEAvAUBAAAGAQA2BwEAQAcBAFUHAQBgBwEAZwcBAIAHAQCFBwEAhwcBALAHAQCyBwEAugcBAAAIAQAFCAEACAgBAAgIAQAKCAEANQgBADcIAQA4CAEAPAgBADwIAQA/CAEAVQgBAGAIAQB2CAEAgAgBAJ4IAQDgCAEA8ggBAPQIAQD1CAEAAAkBABUJAQAgCQEAOQkBAIAJAQC3CQEAvgkBAL8JAQAACgEAAwoBAAUKAQAGCgEADAoBABMKAQAVCgEAFwoBABkKAQA1CgEAYAoBAHwKAQCACgEAnAoBAMAKAQDHCgEAyQoBAOQKAQAACwEANQsBAEALAQBVCwEAYAsBAHILAQCACwEAkQsBAAAMAQBIDAEAgAwBALIMAQDADAEA8gwBAAANAQAnDQEAMA0BADkNAQCADgEAqQ4BAKsOAQCsDgEAsA4BALEOAQAADwEAHA8BACcPAQAnDwEAMA8BAEUPAQBwDwEAgQ8BALAPAQDEDwEA4A8BAPYPAQAAEAEARRABAGYQAQBvEAEAcRABAHUQAQCCEAEAuBABAMIQAQDCEAEA0BABAOgQAQDwEAEA+RABAAARAQAyEQEANhEBAD8RAQBEEQEARxEBAFARAQByEQEAdhEBAHYRAQCAEQEAvxEBAMERAQDEEQEAzhEBANoRAQDcEQEA3BEBAAASAQAREgEAExIBADQSAQA3EgEANxIBAD4SAQA+EgEAgBIBAIYSAQCIEgEAiBIBAIoSAQCNEgEAjxIBAJ0SAQCfEgEAqBIBALASAQDoEgEA8BIBAPkSAQAAEwEAAxMBAAUTAQAMEwEADxMBABATAQATEwEAKBMBACoTAQAwEwEAMhMBADMTAQA1EwEAORMBAD0TAQBEEwEARxMBAEgTAQBLEwEATBMBAFATAQBQEwEAVxMBAFcTAQBdEwEAYxMBAAAUAQBBFAEAQxQBAEUUAQBHFAEAShQBAFAUAQBZFAEAXxQBAGEUAQCAFAEAwRQBAMQUAQDFFAEAxxQBAMcUAQDQFAEA2RQBAIAVAQC1FQEAuBUBAL4VAQDYFQEA3RUBAAAWAQA+FgEAQBYBAEAWAQBEFgEARBYBAFAWAQBZFgEAgBYBALUWAQC4FgEAuBYBAMAWAQDJFgEAABcBABoXAQAdFwEAKhcBADAXAQA5FwEAQBcBAEYXAQAAGAEAOBgBAKAYAQDpGAEA/xgBAAYZAQAJGQEACRkBAAwZAQATGQEAFRkBABYZAQAYGQEANRkBADcZAQA4GQEAOxkBADwZAQA/GQEAQhkBAFAZAQBZGQEAoBkBAKcZAQCqGQEA1xkBANoZAQDfGQEA4RkBAOEZAQDjGQEA5BkBAAAaAQAyGgEANRoBAD4aAQBQGgEAlxoBAJ0aAQCdGgEAsBoBAPgaAQAAHAEACBwBAAocAQA2HAEAOBwBAD4cAQBAHAEAQBwBAFAcAQBZHAEAchwBAI8cAQCSHAEApxwBAKkcAQC2HAEAAB0BAAYdAQAIHQEACR0BAAsdAQA2HQEAOh0BADodAQA8HQEAPR0BAD8dAQBBHQEAQx0BAEMdAQBGHQEARx0BAFAdAQBZHQEAYB0BAGUdAQBnHQEAaB0BAGodAQCOHQEAkB0BAJEdAQCTHQEAlh0BAJgdAQCYHQEAoB0BAKkdAQDgHgEA9h4BALAfAQCwHwEAACABAJkjAQAAJAEAbiQBAIAkAQBDJQEAkC8BAPAvAQAAMAEALjQBAABEAQBGRgEAAGgBADhqAQBAagEAXmoBAGBqAQBpagEAcGoBAL5qAQDAagEAyWoBANBqAQDtagEAAGsBAC9rAQBAawEAQ2sBAFBrAQBZawEAY2sBAHdrAQB9awEAj2sBAEBuAQB/bgEAAG8BAEpvAQBPbwEAh28BAI9vAQCfbwEA4G8BAOFvAQDjbwEA428BAPBvAQDxbwEAAHABAPeHAQAAiAEA1YwBAACNAQAIjQEA8K8BAPOvAQD1rwEA+68BAP2vAQD+rwEAALABACKxAQBQsQEAUrEBAGSxAQBnsQEAcLEBAPuyAQAAvAEAarwBAHC8AQB8vAEAgLwBAIi8AQCQvAEAmbwBAJ68AQCevAEAANQBAFTUAQBW1AEAnNQBAJ7UAQCf1AEAotQBAKLUAQCl1AEAptQBAKnUAQCs1AEArtQBALnUAQC71AEAu9QBAL3UAQDD1AEAxdQBAAXVAQAH1QEACtUBAA3VAQAU1QEAFtUBABzVAQAe1QEAOdUBADvVAQA+1QEAQNUBAETVAQBG1QEARtUBAErVAQBQ1QEAUtUBAKXWAQCo1gEAwNYBAMLWAQDa1gEA3NYBAPrWAQD81gEAFNcBABbXAQA01wEANtcBAE7XAQBQ1wEAbtcBAHDXAQCI1wEAitcBAKjXAQCq1wEAwtcBAMTXAQDL1wEAztcBAP/XAQAA3wEAHt8BAADgAQAG4AEACOABABjgAQAb4AEAIeABACPgAQAk4AEAJuABACrgAQAA4QEALOEBADfhAQA94QEAQOEBAEnhAQBO4QEATuEBAJDiAQCt4gEAwOIBAOviAQDw4gEA+eIBAODnAQDm5wEA6OcBAOvnAQDt5wEA7ucBAPDnAQD+5wEAAOgBAMToAQAA6QEAQ+kBAEfpAQBH6QEAS+kBAEvpAQBQ6QEAWekBAADuAQAD7gEABe4BAB/uAQAh7gEAIu4BACTuAQAk7gEAJ+4BACfuAQAp7gEAMu4BADTuAQA37gEAOe4BADnuAQA77gEAO+4BAELuAQBC7gEAR+4BAEfuAQBJ7gEASe4BAEvuAQBL7gEATe4BAE/uAQBR7gEAUu4BAFTuAQBU7gEAV+4BAFfuAQBZ7gEAWe4BAFvuAQBb7gEAXe4BAF3uAQBf7gEAX+4BAGHuAQBi7gEAZO4BAGTuAQBn7gEAau4BAGzuAQBy7gEAdO4BAHfuAQB57gEAfO4BAH7uAQB+7gEAgO4BAInuAQCL7gEAm+4BAKHuAQCj7gEApe4BAKnuAQCr7gEAu+4BADDxAQBJ8QEAUPEBAGnxAQBw8QEAifEBAPD7AQD5+wEAAAACAN+mAgAApwIAOLcCAEC3AgAduAIAILgCAKHOAgCwzgIA4OsCAAD4AgAd+gIAAAADAEoTAwABAAAAAAAAAH8AAAADAAAAAOkBAEvpAQBQ6QEAWekBAF7pAQBf6QEAAAAAAAMAAAAAFwEAGhcBAB0XAQArFwEAMBcBAEYXAQABAAAAAEQBAEZGAQABAAAAAAAAAP//EABBgOEEC/IDOQAAAAAGAAAEBgAABgYAAAsGAAANBgAAGgYAABwGAAAeBgAAIAYAAD8GAABBBgAASgYAAFYGAABvBgAAcQYAANwGAADeBgAA/wYAAFAHAAB/BwAAcAgAAI4IAACQCAAAkQgAAJgIAADhCAAA4wgAAP8IAABQ+wAAwvsAANP7AAA9/QAAQP0AAI/9AACS/QAAx/0AAM/9AADP/QAA8P0AAP/9AABw/gAAdP4AAHb+AAD8/gAAYA4BAH4OAQAA7gEAA+4BAAXuAQAf7gEAIe4BACLuAQAk7gEAJO4BACfuAQAn7gEAKe4BADLuAQA07gEAN+4BADnuAQA57gEAO+4BADvuAQBC7gEAQu4BAEfuAQBH7gEASe4BAEnuAQBL7gEAS+4BAE3uAQBP7gEAUe4BAFLuAQBU7gEAVO4BAFfuAQBX7gEAWe4BAFnuAQBb7gEAW+4BAF3uAQBd7gEAX+4BAF/uAQBh7gEAYu4BAGTuAQBk7gEAZ+4BAGruAQBs7gEAcu4BAHTuAQB37gEAee4BAHzuAQB+7gEAfu4BAIDuAQCJ7gEAi+4BAJvuAQCh7gEAo+4BAKXuAQCp7gEAq+4BALvuAQDw7gEA8e4BAAAAAAAEAAAAMQUAAFYFAABZBQAAigUAAI0FAACPBQAAE/sAABf7AEGA5QQL0yu6AgAAAAAAAHcDAAB6AwAAfwMAAIQDAACKAwAAjAMAAIwDAACOAwAAoQMAAKMDAAAvBQAAMQUAAFYFAABZBQAAigUAAI0FAACPBQAAkQUAAMcFAADQBQAA6gUAAO8FAAD0BQAAAAYAAA0HAAAPBwAASgcAAE0HAACxBwAAwAcAAPoHAAD9BwAALQgAADAIAAA+CAAAQAgAAFsIAABeCAAAXggAAGAIAABqCAAAcAgAAI4IAACQCAAAkQgAAJgIAACDCQAAhQkAAIwJAACPCQAAkAkAAJMJAACoCQAAqgkAALAJAACyCQAAsgkAALYJAAC5CQAAvAkAAMQJAADHCQAAyAkAAMsJAADOCQAA1wkAANcJAADcCQAA3QkAAN8JAADjCQAA5gkAAP4JAAABCgAAAwoAAAUKAAAKCgAADwoAABAKAAATCgAAKAoAACoKAAAwCgAAMgoAADMKAAA1CgAANgoAADgKAAA5CgAAPAoAADwKAAA+CgAAQgoAAEcKAABICgAASwoAAE0KAABRCgAAUQoAAFkKAABcCgAAXgoAAF4KAABmCgAAdgoAAIEKAACDCgAAhQoAAI0KAACPCgAAkQoAAJMKAACoCgAAqgoAALAKAACyCgAAswoAALUKAAC5CgAAvAoAAMUKAADHCgAAyQoAAMsKAADNCgAA0AoAANAKAADgCgAA4woAAOYKAADxCgAA+QoAAP8KAAABCwAAAwsAAAULAAAMCwAADwsAABALAAATCwAAKAsAACoLAAAwCwAAMgsAADMLAAA1CwAAOQsAADwLAABECwAARwsAAEgLAABLCwAATQsAAFULAABXCwAAXAsAAF0LAABfCwAAYwsAAGYLAAB3CwAAggsAAIMLAACFCwAAigsAAI4LAACQCwAAkgsAAJULAACZCwAAmgsAAJwLAACcCwAAngsAAJ8LAACjCwAApAsAAKgLAACqCwAArgsAALkLAAC+CwAAwgsAAMYLAADICwAAygsAAM0LAADQCwAA0AsAANcLAADXCwAA5gsAAPoLAAAADAAADAwAAA4MAAAQDAAAEgwAACgMAAAqDAAAOQwAADwMAABEDAAARgwAAEgMAABKDAAATQwAAFUMAABWDAAAWAwAAFoMAABdDAAAXQwAAGAMAABjDAAAZgwAAG8MAAB3DAAAjAwAAI4MAACQDAAAkgwAAKgMAACqDAAAswwAALUMAAC5DAAAvAwA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AMUJAADGCQAAyQkAAMoJAADPCQAA1gkAANgJAADbCQAA3gkAAN4JAADkCQAA5QkAAP8JAAAACgAABAoAAAQKAAALCgAADgoAABEKAAASCgAAKQoAACkKAAAxCgAAMQoAADQKAAA0CgAANwoAADcKAAA6CgAAOwoAAD0KAAA9CgAAQwoAAEYKAABJCgAASgoAAE4KAABQCgAAUgoAAFgKAABdCgAAXQoAAF8KAABlCgAAdwoAAIAKAACECgAAhAoAAI4KAACOCgAAkgoAAJIKAACpCgAAqQoAALEKAACxCgAAtAoAALQKAAC6CgAAuwoAAMYKAADGCgAAygoAAMoKAADOCgAAzwoAANEKAADfCgAA5AoAAOUKAADyCgAA+AoAAAALAAAACwAABAsAAAQLAAANCwAADgsAABELAAASCwAAKQsAACkLAAAxCwAAMQsAADQLAAA0CwAAOgsAADsLAABFCwAARgsAAEkLAABKCwAATgsAAFQLAABYCwAAWwsAAF4LAABeCwAAZAsAAGULAAB4CwAAgQsAAIQLAACECwAAiwsAAI0LAACRCwAAkQsAAJYLAACYCwAAmwsAAJsLAACdCwAAnQsAAKALAACiCwAApQsAAKcLAACrCwAArQsAALoLAAC9CwAAwwsAAMULAADJCwAAyQsAAM4LAADPCwAA0QsAANYLAADYCwAA5QsAAPsLAAD/CwAADQwAAA0MAAARDAAAEQwAACkMAAApDAAAOgwAADsMAABFDAAARQwAAEkMAABJDAAATgwAAFQMAABXDAAAVwwAAFsMAABcDAAAXgwAAF8MAABkDAAAZQwAAHAMAAB2DAAAjQwAAI0MAACRDAAAkQwAAKkMAACpDAAAtAwAALQMAAC6DAAAuwwAAMUMAADFDAAAyQwAAMkMAADODAAA1AwAANcMAADcDAAA3wwAAN8MAADkDAAA5QwAAPAMAADwDAAA8wwAAP8MAAANDQAADQ0AABENAAARDQAARQ0AAEUNAABJDQAASQ0AAFANAABTDQAAZA0AAGUNAACADQAAgA0AAIQNAACEDQAAlw0AAJkNAACyDQAAsg0AALwNAAC8DQAAvg0AAL8NAADHDQAAyQ0AAMsNAADODQAA1Q0AANUNAADXDQAA1w0AAOANAADlDQAA8A0AAPENAAD1DQAAAA4AADsOAAA+DgAAXA4AAIAOAACDDgAAgw4AAIUOAACFDgAAiw4AAIsOAACkDgAApA4AAKYOAACmDgAAvg4AAL8OAADFDgAAxQ4AAMcOAADHDgAAzg4AAM8OAADaDgAA2w4AAOAOAAD/DgAASA8AAEgPAABtDwAAcA8AAJgPAACYDwAAvQ8AAL0PAADNDwAAzQ8AANsPAAD/DwAAxhAAAMYQAADIEAAAzBAAAM4QAADPEAAASRIAAEkSAABOEgAATxIAAFcSAABXEgAAWRIAAFkSAABeEgAAXxIAAIkSAACJEgAAjhIAAI8SAACxEgAAsRIAALYSAAC3EgAAvxIAAL8SAADBEgAAwRIAAMYSAADHEgAA1xIAANcSAAAREwAAERMAABYTAAAXEwAAWxMAAFwTAAB9EwAAfxMAAJoTAACfEwAA9hMAAPcTAAD+EwAA/xMAAJ0WAACfFgAA+RYAAP8WAAAWFwAAHhcAADcXAAA/FwAAVBcAAF8XAABtFwAAbRcAAHEXAABxFwAAdBcAAH8XAADeFwAA3xcAAOoXAADvFwAA+hcAAP8XAAAOGAAADhgAABoYAAAfGAAAeRgAAH8YAACrGAAArxgAAPYYAAD/GAAAHxkAAB8ZAAAsGQAALxkAADwZAAA/GQAAQRkAAEMZAABuGQAAbxkAAHUZAAB/GQAArBkAAK8ZAADKGQAAzxkAANsZAADdGQAAHBoAAB0aAABfGgAAXxoAAH0aAAB+GgAAihoAAI8aAACaGgAAnxoAAK4aAACvGgAAzxoAAP8aAABNGwAATxsAAH8bAAB/GwAA9BsAAPsbAAA4HAAAOhwAAEocAABMHAAAiRwAAI8cAAC7HAAAvBwAAMgcAADPHAAA+xwAAP8cAAAWHwAAFx8AAB4fAAAfHwAARh8AAEcfAABOHwAATx8AAFgfAABYHwAAWh8AAFofAABcHwAAXB8AAF4fAABeHwAAfh8AAH8fAAC1HwAAtR8AAMUfAADFHwAA1B8AANUfAADcHwAA3B8AAPAfAADxHwAA9R8AAPUfAAD/HwAA/x8AAAsgAAAPIAAAKiAAAC4gAABgIAAAbyAAAHIgAABzIAAAjyAAAI8gAACdIAAAnyAAAMEgAADPIAAA8SAAAP8gAACMIQAAjyEAACckAAA/JAAASyQAAF8kAAB0KwAAdSsAAJYrAACWKwAA9CwAAPgsAAAmLQAAJi0AACgtAAAsLQAALi0AAC8tAABoLQAAbi0AAHEtAAB+LQAAly0AAJ8tAACnLQAApy0AAK8tAACvLQAAty0AALctAAC/LQAAvy0AAMctAADHLQAAzy0AAM8tAADXLQAA1y0AAN8tAADfLQAAXi4AAH8uAACaLgAAmi4AAPQuAAD/LgAA1i8AAO8vAAD8LwAA/y8AAEAwAABAMAAAlzAAAJgwAAAAMQAABDEAADAxAAAwMQAAjzEAAI8xAADkMQAA7zEAAB8yAAAfMgAAjaQAAI+kAADHpAAAz6QAACymAAA/pgAA+KYAAP+mAADLpwAAz6cAANKnAADSpwAA1KcAANSnAADapwAA8acAAC2oAAAvqAAAOqgAAD+oAAB4qAAAf6gAAMaoAADNqAAA2qgAAN+oAABUqQAAXqkAAH2pAAB/qQAAzqkAAM6pAADaqQAA3akAAP+pAAD/qQAAN6oAAD+qAABOqgAAT6oAAFqqAABbqgAAw6oAANqqAAD3qgAAAKsAAAerAAAIqwAAD6sAABCrAAAXqwAAH6sAACerAAAnqwAAL6sAAC+rAABsqwAAb6sAAO6rAADvqwAA+qsAAP+rAACk1wAAr9cAAMfXAADK1wAA/NcAAP/4AABu+gAAb/oAANr6AAD/+gAAB/sAABL7AAAY+wAAHPsAADf7AAA3+wAAPfsAAD37AAA/+wAAP/sAAEL7AABC+wAARfsAAEX7AADD+wAA0vsAAJD9AACR/QAAyP0AAM79AADQ/QAA7/0AABr+AAAf/gAAU/4AAFP+AABn/gAAZ/4AAGz+AABv/gAAdf4AAHX+AAD9/gAAAP8AAL//AADB/wAAyP8AAMn/AADQ/wAA0f8AANj/AADZ/wAA3f8AAN//AADn/wAA5/8AAO//AAD7/wAA/v8AAP//AAAMAAEADAABACcAAQAnAAEAOwABADsAAQA+AAEAPgABAE4AAQBPAAEAXgABAH8AAQD7AAEA/wABAAMBAQAGAQEANAEBADYBAQCPAQEAjwEBAJ0BAQCfAQEAoQEBAM8BAQD+AQEAfwIBAJ0CAQCfAgEA0QIBAN8CAQD8AgEA/wIBACQDAQAsAwEASwMBAE8DAQB7AwEAfwMBAJ4DAQCeAwEAxAMBAMcDAQDWAwEA/wMBAJ4EAQCfBAEAqgQBAK8EAQDUBAEA1wQBAPwEAQD/BAEAKAUBAC8FAQBkBQEAbgUBAHsFAQB7BQEAiwUBAIsFAQCTBQEAkwUBAJYFAQCWBQEAogUBAKIFAQCyBQEAsgUBALoFAQC6BQEAvQUBAP8FAQA3BwEAPwcBAFYHAQBfBwEAaAcBAH8HAQCGBwEAhgcBALEHAQCxBwEAuwcBAP8HAQAGCAEABwgBAAkIAQAJCAEANggBADYIAQA5CAEAOwgBAD0IAQA+CAEAVggBAFYIAQCfCAEApggBALAIAQDfCAEA8wgBAPMIAQD2CAEA+ggBABwJAQAeCQEAOgkBAD4JAQBACQEAfwkBALgJAQC7CQEA0AkBANEJAQAECgEABAoBAAcKAQALCgEAFAoBABQKAQAYCgEAGAoBADYKAQA3CgEAOwoBAD4KAQBJCgEATwoBAFkKAQBfCgEAoAoBAL8KAQDnCgEA6goBAPcKAQD/CgEANgsBADgLAQBWCwEAVwsBAHMLAQB3CwEAkgsBAJgLAQCdCwEAqAsBALALAQD/CwEASQwBAH8MAQCzDAEAvwwBAPMMAQD5DAEAKA0BAC8NAQA6DQEAXw4BAH8OAQB/DgEAqg4BAKoOAQCuDgEArw4BALIOAQD/DgEAKA8BAC8PAQBaDwEAbw8BAIoPAQCvDwEAzA8BAN8PAQD3DwEA/w8BAE4QAQBREAEAdhABAH4QAQC9EAEAvRABAMMQAQDPEAEA6RABAO8QAQD6EAEA/xABADURAQA1EQEASBEBAE8RAQB3EQEAfxEBAOARAQDgEQEA9REBAP8RAQASEgEAEhIBAD8SAQB/EgEAhxIBAIcSAQCJEgEAiRIBAI4SAQCOEgEAnhIBAJ4SAQCqEgEArxIBAOsSAQDvEgEA+hIBAP8SAQAEEwEABBMBAA0TAQAOEwEAERMBABITAQApEwEAKRMBADETAQAxEwEANBMBADQTAQA6EwEAOhMBAEUTAQBGEwEASRMBAEoTAQBOEwEATxMBAFETAQBWEwEAWBMBAFwTAQBkEwEAZRMBAG0TAQBvEwEAdRMBAP8TAQBcFAEAXBQBAGIUAQB/FAEAyBQBAM8UAQDaFAEAfxUBALYVAQC3FQEA3hUBAP8VAQBFFgEATxYBAFoWAQBfFgEAbRYBAH8WAQC6FgEAvxYBAMoWAQD/FgEAGxcBABwXAQAsFwEALxcBAEcXAQD/FwEAPBgBAJ8YAQDzGAEA/hgBAAcZAQAIGQEAChkBAAsZAQAUGQEAFBkBABcZAQAXGQEANhkBADYZAQA5GQEAOhkBAEcZAQBPGQEAWhkBAJ8ZAQCoGQEAqRkBANgZAQDZGQEA5RkBAP8ZAQBIGgEATxoBAKMaAQCvGgEA+RoBAP8bAQAJHAEACRwBADccAQA3HAEARhwBAE8cAQBtHAEAbxwBAJAcAQCRHAEAqBwBAKgcAQC3HAEA/xwBAAcdAQAHHQEACh0BAAodAQA3HQEAOR0BADsdAQA7HQEAPh0BAD4dAQBIHQEATx0BAFodAQBfHQEAZh0BAGYdAQBpHQEAaR0BAI8dAQCPHQEAkh0BAJIdAQCZHQEAnx0BAKodAQDfHgEA+R4BAK8fAQCxHwEAvx8BAPIfAQD+HwEAmiMBAP8jAQBvJAEAbyQBAHUkAQB/JAEARCUBAI8vAQDzLwEA/y8BAC80AQD/QwEAR0YBAP9nAQA5agEAP2oBAF9qAQBfagEAamoBAG1qAQC/agEAv2oBAMpqAQDPagEA7moBAO9qAQD2agEA/2oBAEZrAQBPawEAWmsBAFprAQBiawEAYmsBAHhrAQB8awEAkGsBAD9uAQCbbgEA/24BAEtvAQBObwEAiG8BAI5vAQCgbwEA328BAOVvAQDvbwEA8m8BAP9vAQD4hwEA/4cBANaMAQD/jAEACY0BAO+vAQD0rwEA9K8BAPyvAQD8rwEA/68BAP+vAQAjsQEAT7EBAFOxAQBjsQEAaLEBAG+xAQD8sgEA/7sBAGu8AQBvvAEAfbwBAH+8AQCJvAEAj7wBAJq8AQCbvAEAoLwBAP/OAQAuzwEAL88BAEfPAQBPzwEAxM8BAP/PAQD20AEA/9ABACfRAQAo0QEAc9EBAHrRAQDr0QEA/9EBAEbSAQDf0gEA9NIBAP/SAQBX0wEAX9MBAHnTAQD/0wEAVdQBAFXUAQCd1AEAndQBAKDUAQCh1AEAo9QBAKTUAQCn1AEAqNQBAK3UAQCt1AEAutQBALrUAQC81AEAvNQBAMTUAQDE1AEABtUBAAbVAQAL1QEADNUBABXVAQAV1QEAHdUBAB3VAQA61QEAOtUBAD/VAQA/1QEARdUBAEXVAQBH1QEASdUBAFHVAQBR1QEAptYBAKfWAQDM1wEAzdcBAIzaAQCa2gEAoNoBAKDaAQCw2gEA/94BAB/fAQD/3wEAB+ABAAfgAQAZ4AEAGuABACLgAQAi4AEAJeABACXgAQAr4AEA/+ABAC3hAQAv4QEAPuEBAD/hAQBK4QEATeEBAFDhAQCP4gEAr+IBAL/iAQD64gEA/uIBAADjAQDf5wEA5+cBAOfnAQDs5wEA7OcBAO/nAQDv5wEA/+cBAP/nAQDF6AEAxugBANfoAQD/6AEATOkBAE/pAQBa6QEAXekBAGDpAQBw7AEAtewBAADtAQA+7QEA/+0BAATuAQAE7gEAIO4BACDuAQAj7gEAI+4BACXuAQAm7gEAKO4BACjuAQAz7gEAM+4BADjuAQA47gEAOu4BADruAQA87gEAQe4BAEPuAQBG7gEASO4BAEjuAQBK7gEASu4BAEzuAQBM7gEAUO4BAFDuAQBT7gEAU+4BAFXuAQBW7gEAWO4BAFjuAQBa7gEAWu4BAFzuAQBc7gEAXu4BAF7uAQBg7gEAYO4BAGPuAQBj7gEAZe4BAGbuAQBr7gEAa+4BAHPuAQBz7gEAeO4BAHjuAQB97gEAfe4BAH/uAQB/7gEAiu4BAIruAQCc7gEAoO4BAKTuAQCk7gEAqu4BAKruAQC87gEA7+4BAPLuAQD/7wEALPABAC/wAQCU8AEAn/ABAK/wAQCw8AEAwPABAMDwAQDQ8AEA0PABAPbwAQD/8AEArvEBAOXxAQAD8gEAD/IBADzyAQA/8gEASfIBAE/yAQBS8gEAX/IBAGbyAQD/8gEA2PYBANz2AQDt9gEA7/YBAP32AQD/9gEAdPcBAH/3AQDZ9wEA3/cBAOz3AQDv9wEA8fcBAP/3AQAM+AEAD/gBAEj4AQBP+AEAWvgBAF/4AQCI+AEAj/gBAK74AQCv+AEAsvgBAP/4AQBU+gEAX/oBAG76AQBv+gEAdfoBAHf6AQB9+gEAf/oBAIf6AQCP+gEArfoBAK/6AQC7+gEAv/oBAMb6AQDP+gEA2voBAN/6AQDo+gEA7/oBAPf6AQD/+gEAk/sBAJP7AQDL+wEA7/sBAPr7AQD//wEA4KYCAP+mAgA5twIAP7cCAB64AgAfuAIAos4CAK/OAgDh6wIA//cCAB76AgD//wIASxMDAP8ADgDwAQ4A//8QAAAAAAADAAAAABQAAH8WAACwGAAA9RgAALAaAQC/GgEAAQAAAKACAQDQAgEAQfDABQvTJKsBAAAnAAAAJwAAAC4AAAAuAAAAOgAAADoAAABeAAAAXgAAAGAAAABgAAAAqAAAAKgAAACtAAAArQAAAK8AAACvAAAAtAAAALQAAAC3AAAAuAAAALACAABvAwAAdAMAAHUDAAB6AwAAegMAAIQDAACFAwAAhwMAAIcDAACDBAAAiQQAAFkFAABZBQAAXwUAAF8FAACRBQAAvQUAAL8FAAC/BQAAwQUAAMIFAADEBQAAxQUAAMcFAADHBQAA9AUAAPQFAAAABgAABQYAABAGAAAaBgAAHAYAABwGAABABgAAQAYAAEsGAABfBgAAcAYAAHAGAADWBgAA3QYAAN8GAADoBgAA6gYAAO0GAAAPBwAADwcAABEHAAARBwAAMAcAAEoHAACmBwAAsAcAAOsHAAD1BwAA+gcAAPoHAAD9BwAA/QcAABYIAAAtCAAAWQgAAFsIAACICAAAiAgAAJAIAACRCAAAmAgAAJ8IAADJCAAAAgkAADoJAAA6CQAAPAkAADwJAABBCQAASAkAAE0JAABNCQAAUQkAAFcJAABiCQAAYwkAAHEJAABxCQAAgQkAAIEJAAC8CQAAvAkAAMEJAADECQAAzQkAAM0JAADiCQAA4wkAAP4JAAD+CQAAAQoAAAIKAAA8CgAAPAoAAEEKAABCCgAARwoAAEgKAABLCgAATQoAAFEKAABRCgAAcAoAAHEKAAB1CgAAdQoAAIEKAACCCgAAvAoAALwKAADBCgAAxQoAAMcKAADICgAAzQoAAM0KAADiCgAA4woAAPoKAAD/CgAAAQsAAAELAAA8CwAAPAsAAD8LAAA/CwAAQQsAAEQLAABNCwAATQsAAFULAABWCwAAYgsAAGMLAACCCwAAggsAAMALAADACwAAzQsAAM0LAAAADAAAAAwAAAQMAAAEDAAAPAwAADwMAAA+DAAAQAwAAEYMAABIDAAASgwAAE0MAABVDAAAVgwAAGIMAABjDAAAgQwAAIEMAAC8DAAAvAwAAL8MAAC/DAAAxgwAAMYMAADMDAAAzQwAAOIMAADjDAAAAA0AAAENAAA7DQAAPA0AAEENAABEDQAATQ0AAE0NAABiDQAAYw0AAIENAACBDQAAyg0AAMoNAADSDQAA1A0AANYNAADWDQAAMQ4AADEOAAA0DgAAOg4AAEYOAABODgAAsQ4AALEOAAC0DgAAvA4AAMYOAADGDgAAyA4AAM0OAAAYDwAAGQ8AADUPAAA1DwAANw8AADcPAAA5DwAAOQ8AAHEPAAB+DwAAgA8AAIQPAACGDwAAhw8AAI0PAACXDwAAmQ8AALwPAADGDwAAxg8AAC0QAAAwEAAAMhAAADcQAAA5EAAAOhAAAD0QAAA+EAAAWBAAAFkQAABeEAAAYBAAAHEQAAB0EAAAghAAAIIQAACFEAAAhhAAAI0QAACNEAAAnRAAAJ0QAAD8EAAA/BAAAF0TAABfEwAAEhcAABQXAAAyFwAAMxcAAFIXAABTFwAAchcAAHMXAAC0FwAAtRcAALcXAAC9FwAAxhcAAMYXAADJFwAA0xcAANcXAADXFwAA3RcAAN0XAAALGAAADxgAAEMYAABDGAAAhRgAAIYYAACpGAAAqRgAACAZAAAiGQAAJxkAACgZAAAyGQAAMhkAADkZAAA7GQAAFxoAABgaAAAbGgAAGxoAAFYaAABWGgAAWBoAAF4aAABgGgAAYBoAAGIaAABiGgAAZRoAAGwaAABzGgAAfBoAAH8aAAB/GgAApxoAAKcaAACwGgAAzhoAAAAbAAADGwAANBsAADQbAAA2GwAAOhsAADwbAAA8GwAAQhsAAEIbAABrGwAAcxsAAIAbAACBGwAAohsAAKUbAACoGwAAqRsAAKsbAACtGwAA5hsAAOYbAADoGwAA6RsAAO0bAADtGwAA7xsAAPEbAAAsHAAAMxwAADYcAAA3HAAAeBwAAH0cAADQHAAA0hwAANQcAADgHAAA4hwAAOgcAADtHAAA7RwAAPQcAAD0HAAA+BwAAPkcAAAsHQAAah0AAHgdAAB4HQAAmx0AAP8dAAC9HwAAvR8AAL8fAADBHwAAzR8AAM8fAADdHwAA3x8AAO0fAADvHwAA/R8AAP4fAAALIAAADyAAABggAAAZIAAAJCAAACQgAAAnIAAAJyAAACogAAAuIAAAYCAAAGQgAABmIAAAbyAAAHEgAABxIAAAfyAAAH8gAACQIAAAnCAAANAgAADwIAAAfCwAAH0sAADvLAAA8SwAAG8tAABvLQAAfy0AAH8tAADgLQAA/y0AAC8uAAAvLgAABTAAAAUwAAAqMAAALTAAADEwAAA1MAAAOzAAADswAACZMAAAnjAAAPwwAAD+MAAAFaAAABWgAAD4pAAA/aQAAAymAAAMpgAAb6YAAHKmAAB0pgAAfaYAAH+mAAB/pgAAnKYAAJ+mAADwpgAA8aYAAACnAAAhpwAAcKcAAHCnAACIpwAAiqcAAPKnAAD0pwAA+KcAAPmnAAACqAAAAqgAAAaoAAAGqAAAC6gAAAuoAAAlqAAAJqgAACyoAAAsqAAAxKgAAMWoAADgqAAA8agAAP+oAAD/qAAAJqkAAC2pAABHqQAAUakAAICpAACCqQAAs6kAALOpAAC2qQAAuakAALypAAC9qQAAz6kAAM+pAADlqQAA5qkAACmqAAAuqgAAMaoAADKqAAA1qgAANqoAAEOqAABDqgAATKoAAEyqAABwqgAAcKoAAHyqAAB8qgAAsKoAALCqAACyqgAAtKoAALeqAAC4qgAAvqoAAL+qAADBqgAAwaoAAN2qAADdqgAA7KoAAO2qAADzqgAA9KoAAPaqAAD2qgAAW6sAAF+rAABpqwAAa6sAAOWrAADlqwAA6KsAAOirAADtqwAA7asAAB77AAAe+wAAsvsAAML7AAAA/gAAD/4AABP+AAAT/gAAIP4AAC/+AABS/gAAUv4AAFX+AABV/gAA//4AAP/+AAAH/wAAB/8AAA7/AAAO/wAAGv8AABr/AAA+/wAAPv8AAED/AABA/wAAcP8AAHD/AACe/wAAn/8AAOP/AADj/wAA+f8AAPv/AAD9AQEA/QEBAOACAQDgAgEAdgMBAHoDAQCABwEAhQcBAIcHAQCwBwEAsgcBALoHAQABCgEAAwoBAAUKAQAGCgEADAoBAA8KAQA4CgEAOgoBAD8KAQA/CgEA5QoBAOYKAQAkDQEAJw0BAKsOAQCsDgEARg8BAFAPAQCCDwEAhQ8BAAEQAQABEAEAOBABAEYQAQBwEAEAcBABAHMQAQB0EAEAfxABAIEQAQCzEAEAthABALkQAQC6EAEAvRABAL0QAQDCEAEAwhABAM0QAQDNEAEAABEBAAIRAQAnEQEAKxEBAC0RAQA0EQEAcxEBAHMRAQCAEQEAgREBALYRAQC+EQEAyREBAMwRAQDPEQEAzxEBAC8SAQAxEgEANBIBADQSAQA2EgEANxIBAD4SAQA+EgEA3xIBAN8SAQDjEgEA6hIBAAATAQABEwEAOxMBADwTAQBAEwEAQBMBAGYTAQBsEwEAcBMBAHQTAQA4FAEAPxQBAEIUAQBEFAEARhQBAEYUAQBeFAEAXhQBALMUAQC4FAEAuhQBALoUAQC/FAEAwBQBAMIUAQDDFAEAshUBALUVAQC8FQEAvRUBAL8VAQDAFQEA3BUBAN0VAQAzFgEAOhYBAD0WAQA9FgEAPxYBAEAWAQCrFgEAqxYBAK0WAQCtFgEAsBYBALUWAQC3FgEAtxYBAB0XAQAfFwEAIhcBACUXAQAnFwEAKxcBAC8YAQA3GAEAORgBADoYAQA7GQEAPBkBAD4ZAQA+GQEAQxkBAEMZAQDUGQEA1xkBANoZAQDbGQEA4BkBAOAZAQABGgEAChoBADMaAQA4GgEAOxoBAD4aAQBHGgEARxoBAFEaAQBWGgEAWRoBAFsaAQCKGgEAlhoBAJgaAQCZGgEAMBwBADYcAQA4HAEAPRwBAD8cAQA/HAEAkhwBAKccAQCqHAEAsBwBALIcAQCzHAEAtRwBALYcAQAxHQEANh0BADodAQA6HQEAPB0BAD0dAQA/HQEARR0BAEcdAQBHHQEAkB0BAJEdAQCVHQEAlR0BAJcdAQCXHQEA8x4BAPQeAQAwNAEAODQBAPBqAQD0agEAMGsBADZrAQBAawEAQ2sBAE9vAQBPbwEAj28BAJ9vAQDgbwEA4W8BAONvAQDkbwEA8K8BAPOvAQD1rwEA+68BAP2vAQD+rwEAnbwBAJ68AQCgvAEAo7wBAADPAQAtzwEAMM8BAEbPAQBn0QEAadEBAHPRAQCC0QEAhdEBAIvRAQCq0QEArdEBAELSAQBE0gEAANoBADbaAQA72gEAbNoBAHXaAQB12gEAhNoBAITaAQCb2gEAn9oBAKHaAQCv2gEAAOABAAbgAQAI4AEAGOABABvgAQAh4AEAI+ABACTgAQAm4AEAKuABADDhAQA94QEAruIBAK7iAQDs4gEA7+IBANDoAQDW6AEAROkBAEvpAQD78wEA//MBAAEADgABAA4AIAAOAH8ADgAAAQ4A7wEOAAAAAACbAAAAQQAAAFoAAABhAAAAegAAAKoAAACqAAAAtQAAALUAAAC6AAAAugAAAMAAAADWAAAA2AAAAPYAAAD4AAAAugEAALwBAAC/AQAAxAEAAJMCAACVAgAAuAIAAMACAADBAgAA4AIAAOQCAABFAwAARQMAAHADAABzAwAAdgMAAHcDAAB6AwAAfQMAAH8DAAB/AwAAhgMAAIYDAACIAwAAigMAAIwDAACMAwAAjgMAAKEDAACjAwAA9QMAAPcDAACBBAAAigQAAC8FAAAxBQAAVgUAAGAFAACIBQAAoBAAAMUQAADHEAAAxxAAAM0QAADNEAAA0BAAAPoQAAD9EAAA/xAAAKATAAD1EwAA+BMAAP0TAACAHAAAiBwAAJAcAAC6HAAAvRwAAL8cAAAAHQAAvx0AAAAeAAAVHwAAGB8AAB0fAAAgHwAARR8AAEgfAABNHwAAUB8AAFcfAABZHwAAWR8AAFsfAABbHwAAXR8AAF0fAABfHwAAfR8AAIAfAAC0HwAAth8AALwfAAC+HwAAvh8AAMIfAADEHwAAxh8AAMwfAADQHwAA0x8AANYfAADbHwAA4B8AAOwfAADyHwAA9B8AAPYfAAD8HwAAcSAAAHEgAAB/IAAAfyAAAJAgAACcIAAAAiEAAAIhAAAHIQAAByEAAAohAAATIQAAFSEAABUhAAAZIQAAHSEAACQhAAAkIQAAJiEAACYhAAAoIQAAKCEAACohAAAtIQAALyEAADQhAAA5IQAAOSEAADwhAAA/IQAARSEAAEkhAABOIQAATiEAAGAhAAB/IQAAgyEAAIQhAAC2JAAA6SQAAAAsAADkLAAA6ywAAO4sAADyLAAA8ywAAAAtAAAlLQAAJy0AACctAAAtLQAALS0AAECmAABtpgAAgKYAAJ2mAAAipwAAh6cAAIunAACOpwAAkKcAAMqnAADQpwAA0acAANOnAADTpwAA1acAANmnAAD1pwAA9qcAAPinAAD6pwAAMKsAAFqrAABcqwAAaKsAAHCrAAC/qwAAAPsAAAb7AAAT+wAAF/sAACH/AAA6/wAAQf8AAFr/AAAABAEATwQBALAEAQDTBAEA2AQBAPsEAQBwBQEAegUBAHwFAQCKBQEAjAUBAJIFAQCUBQEAlQUBAJcFAQChBQEAowUBALEFAQCzBQEAuQUBALsFAQC8BQEAgAcBAIAHAQCDBwEAhQcBAIcHAQCwBwEAsgcBALoHAQCADAEAsgwBAMAMAQDyDAEAoBgBAN8YAQBAbgEAf24BAADUAQBU1AEAVtQBAJzUAQCe1AEAn9QBAKLUAQCi1AEApdQBAKbUAQCp1AEArNQBAK7UAQC51AEAu9QBALvUAQC91AEAw9QBAMXUAQAF1QEAB9UBAArVAQAN1QEAFNUBABbVAQAc1QEAHtUBADnVAQA71QEAPtUBAEDVAQBE1QEARtUBAEbVAQBK1QEAUNUBAFLVAQCl1gEAqNYBAMDWAQDC1gEA2tYBANzWAQD61gEA/NYBABTXAQAW1wEANNcBADbXAQBO1wEAUNcBAG7XAQBw1wEAiNcBAIrXAQCo1wEAqtcBAMLXAQDE1wEAy9cBAADfAQAJ3wEAC98BAB7fAQAA6QEAQ+kBADDxAQBJ8QEAUPEBAGnxAQBw8QEAifEBAAAAAAACAAAAMAUBAGMFAQBvBQEAbwUBAEHQ5QULwwEVAAAArQAAAK0AAAAABgAABQYAABwGAAAcBgAA3QYAAN0GAAAPBwAADwcAAJAIAACRCAAA4ggAAOIIAAAOGAAADhgAAAsgAAAPIAAAKiAAAC4gAABgIAAAZCAAAGYgAABvIAAA//4AAP/+AAD5/wAA+/8AAL0QAQC9EAEAzRABAM0QAQAwNAEAODQBAKC8AQCjvAEAc9EBAHrRAQABAA4AAQAOACAADgB/AA4AAAAAAAIAAAAAEQEANBEBADYRAQBHEQEAQaDnBQsiBAAAAACqAAA2qgAAQKoAAE2qAABQqgAAWaoAAFyqAABfqgBB0OcFC/MmbgIAAEEAAABaAAAAtQAAALUAAADAAAAA1gAAANgAAADfAAAAAAEAAAABAAACAQAAAgEAAAQBAAAEAQAABgEAAAYBAAAIAQAACAEAAAoBAAAKAQAADAEAAAwBAAAOAQAADgEAABABAAAQAQAAEgEAABIBAAAUAQAAFAEAABYBAAAWAQAAGAEAABgBAAAaAQAAGgEAABwBAAAcAQAAHgEAAB4BAAAgAQAAIAEAACIBAAAiAQAAJAEAACQBAAAmAQAAJgEAACgBAAAoAQAAKgEAACoBAAAsAQAALAEAAC4BAAAuAQAAMAEAADABAAAyAQAAMgEAADQBAAA0AQAANgEAADYBAAA5AQAAOQEAADsBAAA7AQAAPQEAAD0BAAA/AQAAPwEAAEEBAABBAQAAQwEAAEMBAABFAQAARQEAAEcBAABHAQAASQEAAEoBAABMAQAATAEAAE4BAABOAQAAUAEAAFABAABSAQAAUgEAAFQBAABUAQAAVgEAAFYBAABYAQAAWAEAAFoBAABaAQAAXAEAAFwBAABeAQAAXgEAAGABAABgAQAAYgEAAGIBAABkAQAAZAEAAGYBAABmAQAAaAEAAGgBAABqAQAAagEAAGwBAABsAQAAbgEAAG4BAABwAQAAcAEAAHIBAAByAQAAdAEAAHQBAAB2AQAAdgEAAHgBAAB5AQAAewEAAHsBAAB9AQAAfQEAAH8BAAB/AQAAgQEAAIIBAACEAQAAhAEAAIYBAACHAQAAiQEAAIsBAACOAQAAkQEAAJMBAACUAQAAlgEAAJgBAACcAQAAnQEAAJ8BAACgAQAAogEAAKIBAACkAQAApAEAAKYBAACnAQAAqQEAAKkBAACsAQAArAEAAK4BAACvAQAAsQEAALMBAAC1AQAAtQEAALcBAAC4AQAAvAEAALwBAADEAQAAxQEAAMcBAADIAQAAygEAAMsBAADNAQAAzQEAAM8BAADPAQAA0QEAANEBAADTAQAA0wEAANUBAADVAQAA1wEAANcBAADZAQAA2QEAANsBAADbAQAA3gEAAN4BAADgAQAA4AEAAOIBAADiAQAA5AEAAOQBAADmAQAA5gEAAOgBAADoAQAA6gEAAOoBAADsAQAA7AEAAO4BAADuAQAA8QEAAPIBAAD0AQAA9AEAAPYBAAD4AQAA+gEAAPoBAAD8AQAA/AEAAP4BAAD+AQAAAAIAAAACAAACAgAAAgIAAAQCAAAEAgAABgIAAAYCAAAIAgAACAIAAAoCAAAKAgAADAIAAAwCAAAOAgAADgIAABACAAAQAgAAEgIAABICAAAUAgAAFAIAABYCAAAWAgAAGAIAABgCAAAaAgAAGgIAABwCAAAcAgAAHgIAAB4CAAAgAgAAIAIAACICAAAiAgAAJAIAACQCAAAmAgAAJgIAACgCAAAoAgAAKgIAACoCAAAsAgAALAIAAC4CAAAuAgAAMAIAADACAAAyAgAAMgIAADoCAAA7AgAAPQIAAD4CAABBAgAAQQIAAEMCAABGAgAASAIAAEgCAABKAgAASgIAAEwCAABMAgAATgIAAE4CAABFAwAARQMAAHADAABwAwAAcgMAAHIDAAB2AwAAdgMAAH8DAAB/AwAAhgMAAIYDAACIAwAAigMAAIwDAACMAwAAjgMAAI8DAACRAwAAoQMAAKMDAACrAwAAwgMAAMIDAADPAwAA0QMAANUDAADWAwAA2AMAANgDAADaAwAA2gMAANwDAADcAwAA3gMAAN4DAADgAwAA4AMAAOIDAADiAwAA5AMAAOQDAADmAwAA5gMAAOgDAADoAwAA6gMAAOoDAADsAwAA7AMAAO4DAADuAwAA8AMAAPEDAAD0AwAA9QMAAPcDAAD3AwAA+QMAAPoDAAD9AwAALwQAAGAEAABgBAAAYgQAAGIEAABkBAAAZAQAAGYEAABmBAAAaAQAAGgEAABqBAAAagQAAGwEAABsBAAAbgQAAG4EAABwBAAAcAQAAHIEAAByBAAAdAQAAHQEAAB2BAAAdgQAAHgEAAB4BAAAegQAAHoEAAB8BAAAfAQAAH4EAAB+BAAAgAQAAIAEAACKBAAAigQAAIwEAACMBAAAjgQAAI4EAACQBAAAkAQAAJIEAACSBAAAlAQAAJQEAACWBAAAlgQAAJgEAACYBAAAmgQAAJoEAACcBAAAnAQAAJ4EAACeBAAAoAQAAKAEAACiBAAAogQAAKQEAACkBAAApgQAAKYEAACoBAAAqAQAAKoEAACqBAAArAQAAKwEAACuBAAArgQAALAEAACwBAAAsgQAALIEAAC0BAAAtAQAALYEAAC2BAAAuAQAALgEAAC6BAAAugQAALwEAAC8BAAAvgQAAL4EAADABAAAwQQAAMMEAADDBAAAxQQAAMUEAADHBAAAxwQAAMkEAADJBAAAywQAAMsEAADNBAAAzQQAANAEAADQBAAA0gQAANIEAADUBAAA1AQAANYEAADWBAAA2AQAANgEAADaBAAA2gQAANwEAADcBAAA3gQAAN4EAADgBAAA4AQAAOIEAADiBAAA5AQAAOQEAADmBAAA5gQAAOgEAADoBAAA6gQAAOoEAADsBAAA7AQAAO4EAADuBAAA8AQAAPAEAADyBAAA8gQAAPQEAAD0BAAA9gQAAPYEAAD4BAAA+AQAAPoEAAD6BAAA/AQAAPwEAAD+BAAA/gQAAAAFAAAABQAAAgUAAAIFAAAEBQAABAUAAAYFAAAGBQAACAUAAAgFAAAKBQAACgUAAAwFAAAMBQAADgUAAA4FAAAQBQAAEAUAABIFAAASBQAAFAUAABQFAAAWBQAAFgUAABgFAAAYBQAAGgUAABoFAAAcBQAAHAUAAB4FAAAeBQAAIAUAACAFAAAiBQAAIgUAACQFAAAkBQAAJgUAACYFAAAoBQAAKAUAACoFAAAqBQAALAUAACwFAAAuBQAALgUAADEFAABWBQAAhwUAAIcFAACgEAAAxRAAAMcQAADHEAAAzRAAAM0QAAD4EwAA/RMAAIAcAACIHAAAkBwAALocAAC9HAAAvxwAAAAeAAAAHgAAAh4AAAIeAAAEHgAABB4AAAYeAAAGHgAACB4AAAgeAAAKHgAACh4AAAweAAAMHgAADh4AAA4eAAAQHgAAEB4AABIeAAASHgAAFB4AABQeAAAWHgAAFh4AABgeAAAYHgAAGh4AABoeAAAcHgAAHB4AAB4eAAAeHgAAIB4AACAeAAAiHgAAIh4AACQeAAAkHgAAJh4AACYeAAAoHgAAKB4AACoeAAAqHgAALB4AACweAAAuHgAALh4AADAeAAAwHgAAMh4AADIeAAA0HgAANB4AADYeAAA2HgAAOB4AADgeAAA6HgAAOh4AADweAAA8HgAAPh4AAD4eAABAHgAAQB4AAEIeAABCHgAARB4AAEQeAABGHgAARh4AAEgeAABIHgAASh4AAEoeAABMHgAATB4AAE4eAABOHgAAUB4AAFAeAABSHgAAUh4AAFQeAABUHgAAVh4AAFYeAABYHgAAWB4AAFoeAABaHgAAXB4AAFweAABeHgAAXh4AAGAeAABgHgAAYh4AAGIeAABkHgAAZB4AAGYeAABmHgAAaB4AAGgeAABqHgAAah4AAGweAABsHgAAbh4AAG4eAABwHgAAcB4AAHIeAAByHgAAdB4AAHQeAAB2HgAAdh4AAHgeAAB4HgAAeh4AAHoeAAB8HgAAfB4AAH4eAAB+HgAAgB4AAIAeAACCHgAAgh4AAIQeAACEHgAAhh4AAIYeAACIHgAAiB4AAIoeAACKHgAAjB4AAIweAACOHgAAjh4AAJAeAACQHgAAkh4AAJIeAACUHgAAlB4AAJoeAACbHgAAnh4AAJ4eAACgHgAAoB4AAKIeAACiHgAApB4AAKQeAACmHgAAph4AAKgeAACoHgAAqh4AAKoeAACsHgAArB4AAK4eAACuHgAAsB4AALAeAACyHgAAsh4AALQeAAC0HgAAth4AALYeAAC4HgAAuB4AALoeAAC6HgAAvB4AALweAAC+HgAAvh4AAMAeAADAHgAAwh4AAMIeAADEHgAAxB4AAMYeAADGHgAAyB4AAMgeAADKHgAAyh4AAMweAADMHgAAzh4AAM4eAADQHgAA0B4AANIeAADSHgAA1B4AANQeAADWHgAA1h4AANgeAADYHgAA2h4AANoeAADcHgAA3B4AAN4eAADeHgAA4B4AAOAeAADiHgAA4h4AAOQeAADkHgAA5h4AAOYeAADoHgAA6B4AAOoeAADqHgAA7B4AAOweAADuHgAA7h4AAPAeAADwHgAA8h4AAPIeAAD0HgAA9B4AAPYeAAD2HgAA+B4AAPgeAAD6HgAA+h4AAPweAAD8HgAA/h4AAP4eAAAIHwAADx8AABgfAAAdHwAAKB8AAC8fAAA4HwAAPx8AAEgfAABNHwAAWR8AAFkfAABbHwAAWx8AAF0fAABdHwAAXx8AAF8fAABoHwAAbx8AAIAfAACvHwAAsh8AALQfAAC3HwAAvB8AAMIfAADEHwAAxx8AAMwfAADYHwAA2x8AAOgfAADsHwAA8h8AAPQfAAD3HwAA/B8AACYhAAAmIQAAKiEAACshAAAyIQAAMiEAAGAhAABvIQAAgyEAAIMhAAC2JAAAzyQAAAAsAAAvLAAAYCwAAGAsAABiLAAAZCwAAGcsAABnLAAAaSwAAGksAABrLAAAaywAAG0sAABwLAAAciwAAHIsAAB1LAAAdSwAAH4sAACALAAAgiwAAIIsAACELAAAhCwAAIYsAACGLAAAiCwAAIgsAACKLAAAiiwAAIwsAACMLAAAjiwAAI4sAACQLAAAkCwAAJIsAACSLAAAlCwAAJQsAACWLAAAliwAAJgsAACYLAAAmiwAAJosAACcLAAAnCwAAJ4sAACeLAAAoCwAAKAsAACiLAAAoiwAAKQsAACkLAAApiwAAKYsAACoLAAAqCwAAKosAACqLAAArCwAAKwsAACuLAAAriwAALAsAACwLAAAsiwAALIsAAC0LAAAtCwAALYsAAC2LAAAuCwAALgsAAC6LAAAuiwAALwsAAC8LAAAviwAAL4sAADALAAAwCwAAMIsAADCLAAAxCwAAMQsAADGLAAAxiwAAMgsAADILAAAyiwAAMosAADMLAAAzCwAAM4sAADOLAAA0CwAANAsAADSLAAA0iwAANQsAADULAAA1iwAANYsAADYLAAA2CwAANosAADaLAAA3CwAANwsAADeLAAA3iwAAOAsAADgLAAA4iwAAOIsAADrLAAA6ywAAO0sAADtLAAA8iwAAPIsAABApgAAQKYAAEKmAABCpgAARKYAAESmAABGpgAARqYAAEimAABIpgAASqYAAEqmAABMpgAATKYAAE6mAABOpgAAUKYAAFCmAABSpgAAUqYAAFSmAABUpgAAVqYAAFamAABYpgAAWKYAAFqmAABapgAAXKYAAFymAABepgAAXqYAAGCmAABgpgAAYqYAAGKmAABkpgAAZKYAAGamAABmpgAAaKYAAGimAABqpgAAaqYAAGymAABspgAAgKYAAICmAACCpgAAgqYAAISmAACEpgAAhqYAAIamAACIpgAAiKYAAIqmAACKpgAAjKYAAIymAACOpgAAjqYAAJCmAACQpgAAkqYAAJKmAACUpgAAlKYAAJamAACWpgAAmKYAAJimAACapgAAmqYAACKnAAAipwAAJKcAACSnAAAmpwAAJqcAACinAAAopwAAKqcAACqnAAAspwAALKcAAC6nAAAupwAAMqcAADKnAAA0pwAANKcAADanAAA2pwAAOKcAADinAAA6pwAAOqcAADynAAA8pwAAPqcAAD6nAABApwAAQKcAAEKnAABCpwAARKcAAESnAABGpwAARqcAAEinAABIpwAASqcAAEqnAABMpwAATKcAAE6nAABOpwAAUKcAAFCnAABSpwAAUqcAAFSnAABUpwAAVqcAAFanAABYpwAAWKcAAFqnAABapwAAXKcAAFynAABepwAAXqcAAGCnAABgpwAAYqcAAGKnAABkpwAAZKcAAGanAABmpwAAaKcAAGinAABqpwAAaqcAAGynAABspwAAbqcAAG6nAAB5pwAAeacAAHunAAB7pwAAfacAAH6nAACApwAAgKcAAIKnAACCpwAAhKcAAISnAACGpwAAhqcAAIunAACLpwAAjacAAI2nAACQpwAAkKcAAJKnAACSpwAAlqcAAJanAACYpwAAmKcAAJqnAACapwAAnKcAAJynAACepwAAnqcAAKCnAACgpwAAoqcAAKKnAACkpwAApKcAAKanAACmpwAAqKcAAKinAACqpwAArqcAALCnAAC0pwAAtqcAALanAAC4pwAAuKcAALqnAAC6pwAAvKcAALynAAC+pwAAvqcAAMCnAADApwAAwqcAAMKnAADEpwAAx6cAAMmnAADJpwAA0KcAANCnAADWpwAA1qcAANinAADYpwAA9acAAPWnAABwqwAAv6sAAAD7AAAG+wAAE/sAABf7AAAh/wAAOv8AAAAEAQAnBAEAsAQBANMEAQBwBQEAegUBAHwFAQCKBQEAjAUBAJIFAQCUBQEAlQUBAIAMAQCyDAEAoBgBAL8YAQBAbgEAX24BAADpAQAh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AABOHgAAUB4AAFAeAABSHgAAUh4AAFQeAABUHgAAVh4AAFYeAABYHgAAWB4AAFoeAABaHgAAXB4AAFweAABeHgAAXh4AAGAeAABgHgAAYh4AAGIeAABkHgAAZB4AAGYeAABmHgAAaB4AAGgeAABqHgAAah4AAGweAABsHgAAbh4AAG4eAABwHgAAcB4AAHIeAAByHgAAdB4AAHQeAAB2HgAAdh4AAHgeAAB4HgAAeh4AAHoeAAB8HgAAfB4AAH4eAAB+HgAAgB4AAIAeAACCHgAAgh4AAIQeAACEHgAAhh4AAIYeAACIHgAAiB4AAIoeAACKHgAAjB4AAIweAACOHgAAjh4AAJAeAACQHgAAkh4AAJIeAACUHgAAlB4AAJ4eAACeHgAAoB4AAKAeAACiHgAAoh4AAKQeAACkHgAAph4AAKYeAACoHgAAqB4AAKoeAACqHgAArB4AAKweAACuHgAArh4AALAeAACwHgAAsh4AALIeAAC0HgAAtB4AALYeAAC2HgAAuB4AALgeAAC6HgAAuh4AALweAAC8HgAAvh4AAL4eAADAHgAAwB4AAMIeAADCHgAAxB4AAMQeAADGHgAAxh4AAMgeAADIHgAAyh4AAMoeAADMHgAAzB4AAM4eAADOHgAA0B4AANAeAADSHgAA0h4AANQeAADUHgAA1h4AANYeAADYHgAA2B4AANoeAADaHgAA3B4AANweAADeHgAA3h4AAOAeAADgHgAA4h4AAOIeAADkHgAA5B4AAOYeAADmHgAA6B4AAOgeAADqHgAA6h4AAOweAADsHgAA7h4AAO4eAADwHgAA8B4AAPIeAADyHgAA9B4AAPQeAAD2HgAA9h4AAPgeAAD4HgAA+h4AAPoeAAD8HgAA/B4AAP4eAAD+HgAACB8AAA8fAAAYHwAAHR8AACgfAAAvHwAAOB8AAD8fAABIHwAATR8AAFkfAABZHwAAWx8AAFsfAABdHwAAXR8AAF8fAABfHwAAaB8AAG8fAACIHwAAjx8AAJgfAACfHwAAqB8AAK8fAAC4HwAAvB8AAMgfAADMHwAA2B8AANsfAADoHwAA7B8AAPgfAAD8HwAAJiEAACYhAAAqIQAAKyEAADIhAAAyIQAAYCEAAG8hAACDIQAAgyEAALYkAADPJAAAACwAAC8sAABgLAAAYCwAAGIsAABkLAAAZywAAGcsAABpLAAAaSwAAGssAABrLAAAbSwAAHAsAAByLAAAciwAAHUsAAB1LAAAfiwAAIAsAACCLAAAgiwAAIQsAACELAAAhiwAAIYsAACILAAAiCwAAIosAACKLAAAjCwAAIwsAACOLAAAjiwAAJAsAACQLAAAkiwAAJIsAACULAAAlCwAAJYsAACWLAAAmCwAAJgsAACaLAAAmiwAAJwsAACcLAAAniwAAJ4sAACgLAAAoCwAAKIsAACiLAAApCwAAKQsAACmLAAApiwAAKgsAACoLAAAqiwAAKosAACsLAAArCwAAK4sAACuLAAAsCwAALAsAACyLAAAsiwAALQsAAC0LAAAtiwAALYsAAC4LAAAuCwAALosAAC6LAAAvCwAALwsAAC+LAAAviwAAMAsAADALAAAwiwAAMIsAADELAAAxCwAAMYsAADGLAAAyCwAAMgsAADKLAAAyiwAAMwsAADMLAAAziwAAM4sAADQLAAA0CwAANIsAADSLAAA1CwAANQsAADWLAAA1iwAANgsAADYLAAA2iwAANosAADcLAAA3CwAAN4sAADeLAAA4CwAAOAsAADiLAAA4iwAAOssAADrLAAA7SwAAO0sAADyLAAA8iwAAECmAABApgAAQqYAAEKmAABEpgAARKYAAEamAABGpgAASKYAAEimAABKpgAASqYAAEymAABMpgAATqYAAE6mAABQpgAAUKYAAFKmAABSpgAAVKYAAFSmAABWpgAAVqYAAFimAABYpgAAWqYAAFqmAABcpgAAXKYAAF6mAABepgAAYKYAAGCmAABipgAAYqYAAGSmAABkpgAAZqYAAGamAABopgAAaKYAAGqmAABqpgAAbKYAAGymAACApgAAgKYAAIKmAACCpgAAhKYAAISmAACGpgAAhqYAAIimAACIpgAAiqYAAIqmAACMpgAAjKYAAI6mAACOpgAAkKYAAJCmAACSpgAAkqYAAJSmAACUpgAAlqYAAJamAACYpgAAmKYAAJqmAACapgAAIqcAACKnAAAkpwAAJKcAACanAAAmpwAAKKcAACinAAAqpwAAKqcAACynAAAspwAALqcAAC6nAAAypwAAMqcAADSnAAA0pwAANqcAADanAAA4pwAAOKcAADqnAAA6pwAAPKcAADynAAA+pwAAPqcAAECnAABApwAAQqcAAEKnAABEpwAARKcAAEan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AAC/HgAAwR4AAMEeAADDHgAAwx4AAMUeAADFHgAAxx4AAMceAADJHgAAyR4AAMseAADLHgAAzR4AAM0eAADPHgAAzx4AANEeAADRHgAA0x4AANMeAADVHgAA1R4AANceAADXHgAA2R4AANkeAADbHgAA2x4AAN0eAADdHgAA3x4AAN8eAADhHgAA4R4AAOMeAADjHgAA5R4AAOUeAADnHgAA5x4AAOkeAADpHgAA6x4AAOseAADtHgAA7R4AAO8eAADvHgAA8R4AAPEeAADzHgAA8x4AAPUeAAD1HgAA9x4AAPceAAD5HgAA+R4AAPseAAD7HgAA/R4AAP0eAAD/HgAABx8AABAfAAAVHwAAIB8AACcfAAAwHwAANx8AAEAfAABFHwAAUB8AAFcfAABgHwAAZx8AAHAfAAB9HwAAgB8AAIcfAACQHwAAlx8AAKAfAACnHwAAsB8AALQfAAC2HwAAtx8AAL4fAAC+HwAAwh8AAMQfAADGHwAAxx8AANAfAADTHwAA1h8AANcfAADgHwAA5x8AAPIfAAD0HwAA9h8AAPcfAABOIQAATiEAAHAhAAB/IQAAhCEAAIQhAADQJAAA6SQAADAsAABfLAAAYSwAAGEsAABlLAAAZiwAAGgsAABoLAAAaiwAAGosAABsLAAAbCwAAHMsAABzLAAAdiwAAHYsAACBLAAAgSwAAIMsAACDLAAAhSwAAIUsAACHLAAAhywAAIksAACJLAAAiywAAIssAACNLAAAjSwAAI8sAACPLAAAkSwAAJEsAACTLAAAkywAAJUsAACVLAAAlywAAJcsAACZLAAAmSwAAJssAACbLAAAnSwAAJ0sAACfLAAAnywAAKEsAAChLAAAoywAAKMsAAClLAAApSwAAKcsAACnLAAAqSwAAKksAACrLAAAqywAAK0sAACtLAAArywAAK8sAACxLAAAsSwAALMsAACzLAAAtSwAALUsAAC3LAAAtywAALksAAC5LAAAuywAALssAAC9LAAAvSwAAL8sAAC/LAAAwSwAAMEsAADDLAAAwywAAMUsAADFLAAAxywAAMcsAADJLAAAySwAAMssAADLLAAAzSwAAM0sAADPLAAAzywAANEsAADRLAAA0ywAANMsAADVLAAA1SwAANcsAADXLAAA2SwAANksAADbLAAA2ywAAN0sAADdLAAA3ywAAN8sAADhLAAA4SwAAOMsAADjLAAA7CwAAOwsAADuLAAA7iwAAPMsAADzLAAAAC0AACUtAAAnLQAAJy0AAC0tAAAtLQAAQaYAAEGmAABDpgAAQ6YAAEWmAABFpgAAR6YAAEemAABJpgAASaYAAEumAABLpgAATaYAAE2mAABPpgAAT6YAAFGmAABRpgAAU6YAAFOmAABVpgAAVaYAAFemAABXpgAAWaYAAFmmAABbpgAAW6YAAF2mAABdpgAAX6YAAF+mAABhpgAAYaYAAGOmAABjpgAAZaYAAGWmAABnpgAAZ6YAAGmmAABppgAAa6YAAGumAABtpgAAbaYAAIGmAACBpgAAg6YAAIOmAACFpgAAhaYAAIemAACHpgAAiaYAAImmAACLpgAAi6YAAI2mAACNpgAAj6YAAI+mAACRpgAAkaYAAJOmAACTpgAAlaYAAJWmAACXpgAAl6YAAJmmAACZpgAAm6YAAJumAAAjpwAAI6cAACWnAAAlpwAAJ6cAACenAAAppwAAKacAACunAAArpwAALacAAC2nAAAvpwAAL6cAADOnAAAzpwAANacAADWnAAA3pwAAN6cAADmnAAA5pwAAO6cAADunAAA9pwAAPacAAD+nAAA/pwAAQacAAEGnAABDpwAAQ6cAAEWnAABFpwAAR6cAAEenAABJpwAASacAAEunAABLpwAATacAAE2nAABPpwAAT6cAAFGnAABRpwAAU6cAAFOnAABVpwAAVacAAFenAABXpwAAWacAAFmnAABbpwAAW6cAAF2nAABdpwAAX6cAAF+nAABhpwAAYacAAGOnAABjpwAAZacAAGWnAABnpwAAZ6cAAGmnAABppwAAa6cAAGunAABtpwAAbacAAG+nAABvpwAAeqcAAHqnAAB8pwAAfKcAAH+nAAB/pwAAgacAAIGnAACDpwAAg6cAAIWnAACFpwAAh6cAAIenAACMpwAAjKcAAJGnAACRpwAAk6cAAJSnAACXpwAAl6cAAJmnAACZpwAAm6cAAJunAACdpwAAnacAAJ+nAACfpwAAoacAAKGnAACjpwAAo6cAAKWnAAClpwAAp6cAAKenAACppwAAqacAALWnAAC1pwAAt6cAALenAAC5pwAAuacAALunAAC7pwAAvacAAL2nAAC/pwAAv6cAAMGnAADBpwAAw6cAAMOnAADIpwAAyKcAAMqnAADKpwAA0acAANGnAADXpwAA16cAANmnAADZpwAA9qcAAPanAABTqwAAU6sAAHCrAAC/qwAAAPsAAAb7AAAT+wAAF/sAAEH/AABa/wAAKAQBAE8EAQDYBAEA+wQBAJcFAQChBQEAowUBALEFAQCzBQEAuQUBALsFAQC8BQEAwAwBAPIMAQDAGAEA3xgBAGBuAQB/bgEAIukBAEPpAQBBoOQGC8cncwIAAGEAAAB6AAAAtQAAALUAAADfAAAA9gAAAPgAAAD/AAAAAQEAAAEBAAADAQAAAwEAAAUBAAAFAQAABwEAAAcBAAAJAQAACQEAAAsBAAALAQAADQEAAA0BAAAPAQAADwEAABEBAAARAQAAEwEAABMBAAAVAQAAFQEAABcBAAAXAQAAGQEAABkBAAAbAQAAGwEAAB0BAAAdAQAAHwEAAB8BAAAhAQAAIQEAACMBAAAjAQAAJQEAACUBAAAnAQAAJwEAACkBAAApAQAAKwEAACsBAAAtAQAALQEAAC8BAAAvAQAAMQEAADEBAAAzAQAAMwEAADUBAAA1AQAANwEAADcBAAA6AQAAOgEAADwBAAA8AQAAPgEAAD4BAABAAQAAQAEAAEIBAABCAQAARAEAAEQBAABGAQAARgEAAEgBAABJAQAASwEAAEsBAABNAQAATQEAAE8BAABPAQAAUQEAAFEBAABTAQAAUwEAAFUBAABVAQAAVwEAAFcBAABZAQAAWQEAAFsBAABbAQAAXQEAAF0BAABfAQAAXwEAAGEBAABhAQAAYwEAAGMBAABlAQAAZQEAAGcBAABnAQAAaQEAAGkBAABrAQAAawEAAG0BAABtAQAAbwEAAG8BAABxAQAAcQEAAHMBAABzAQAAdQEAAHUBAAB3AQAAdwEAAHoBAAB6AQAAfAEAAHwBAAB+AQAAgAEAAIMBAACDAQAAhQEAAIUBAACIAQAAiAEAAIwBAACMAQAAkgEAAJIBAACVAQAAlQEAAJkBAACaAQAAngEAAJ4BAAChAQAAoQEAAKMBAACjAQAApQEAAKUBAACoAQAAqAEAAK0BAACtAQAAsAEAALABAAC0AQAAtAEAALYBAAC2AQAAuQEAALkBAAC9AQAAvQEAAL8BAAC/AQAAxQEAAMYBAADIAQAAyQEAAMsBAADMAQAAzgEAAM4BAADQAQAA0AEAANIBAADSAQAA1AEAANQBAADWAQAA1gEAANgBAADYAQAA2gEAANoBAADcAQAA3QEAAN8BAADfAQAA4QEAAOEBAADjAQAA4wEAAOUBAADlAQAA5wEAAOcBAADpAQAA6QEAAOsBAADrAQAA7QEAAO0BAADvAQAA8AEAAPIBAADzAQAA9QEAAPUBAAD5AQAA+QEAAPsBAAD7AQAA/QEAAP0BAAD/AQAA/wEAAAECAAABAgAAAwIAAAMCAAAFAgAABQIAAAcCAAAHAgAACQIAAAkCAAALAgAACwIAAA0CAAANAgAADwIAAA8CAAARAgAAEQIAABMCAAATAgAAFQIAABUCAAAXAgAAFwIAABkCAAAZAgAAGwIAABsCAAAdAgAAHQIAAB8CAAAfAgAAIwIAACMCAAAlAgAAJQIAACcCAAAnAgAAKQIAACkCAAArAgAAKwIAAC0CAAAtAgAALwIAAC8CAAAxAgAAMQIAADMCAAAzAgAAPAIAADwCAAA/AgAAQAIAAEICAABCAgAARwIAAEcCAABJAgAASQIAAEsCAABLAgAATQIAAE0CAABPAgAAVAIAAFYCAABXAgAAWQIAAFkCAABbAgAAXAIAAGACAABhAgAAYwIAAGMCAABlAgAAZgIAAGgCAABsAgAAbwIAAG8CAABxAgAAcgIAAHUCAAB1AgAAfQIAAH0CAACAAgAAgAIAAIICAACDAgAAhwIAAIwCAACSAgAAkgIAAJ0CAACeAgAARQMAAEUDAABxAwAAcQMAAHMDAABzAwAAdwMAAHcDAAB7AwAAfQMAAJADAACQAwAArAMAAM4DAADQAwAA0QMAANUDAADXAwAA2QMAANkDAADbAwAA2wMAAN0DAADdAwAA3wMAAN8DAADhAwAA4QMAAOMDAADjAwAA5QMAAOUDAADnAwAA5wMAAOkDAADpAwAA6wMAAOsDAADtAwAA7QMAAO8DAADzAwAA9QMAAPUDAAD4AwAA+AMAAPsDAAD7AwAAMAQAAF8EAABhBAAAYQQAAGMEAABjBAAAZQQAAGUEAABnBAAAZwQAAGkEAABpBAAAawQAAGsEAABtBAAAbQQAAG8EAABvBAAAcQQAAHEEAABzBAAAcwQAAHUEAAB1BAAAdwQAAHcEAAB5BAAAeQQAAHsEAAB7BAAAfQQAAH0EAAB/BAAAfwQAAIEEAACBBAAAiwQAAIsEAACNBAAAjQQAAI8EAACPBAAAkQQAAJEEAACTBAAAkwQAAJUEAACVBAAAlwQAAJcEAACZBAAAmQQAAJsEAACbBAAAnQQAAJ0EAACfBAAAnwQAAKEEAAChBAAAowQAAKMEAAClBAAApQQAAKcEAACnBAAAqQQAAKkEAACrBAAAqwQAAK0EAACtBAAArwQAAK8EAACxBAAAsQQAALMEAACzBAAAtQQAALUEAAC3BAAAtwQAALkEAAC5BAAAuwQAALsEAAC9BAAAvQQAAL8EAAC/BAAAwgQAAMIEAADEBAAAxAQAAMYEAADGBAAAyAQAAMgEAADKBAAAygQAAMwEAADMBAAAzgQAAM8EAADRBAAA0QQAANMEAADTBAAA1QQAANUEAADXBAAA1wQAANkEAADZBAAA2wQAANsEAADdBAAA3QQAAN8EAADfBAAA4QQAAOEEAADjBAAA4wQAAOUEAADlBAAA5wQAAOcEAADpBAAA6QQAAOsEAADrBAAA7QQAAO0EAADvBAAA7wQAAPEEAADxBAAA8wQAAPMEAAD1BAAA9QQAAPcEAAD3BAAA+QQAAPkEAAD7BAAA+wQAAP0EAAD9BAAA/wQAAP8EAAABBQAAAQUAAAMFAAADBQAABQUAAAUFAAAHBQAABwUAAAkFAAAJBQAACwUAAAsFAAANBQAADQUAAA8FAAAPBQAAEQUAABEFAAATBQAAEwUAABUFAAAVBQAAFwUAABcFAAAZBQAAGQUAABsFAAAbBQAAHQUAAB0FAAAfBQAAHwUAACEFAAAhBQAAIwUAACMFAAAlBQAAJQUAACcFAAAnBQAAKQUAACkFAAArBQAAKwUAAC0FAAAtBQAALwUAAC8FAABhBQAAhwUAANAQAAD6EAAA/RAAAP8QAAD4EwAA/RMAAIAcAACIHAAAeR0AAHkdAAB9HQAAfR0AAI4dAACOHQAAAR4AAAEeAAADHgAAAx4AAAUeAAAFHgAABx4AAAceAAAJHgAACR4AAAseAAALHgAADR4AAA0eAAAPHgAADx4AABEeAAARHgAAEx4AABMeAAAVHgAAFR4AABceAAAXHgAAGR4AABkeAAAbHgAAGx4AAB0eAAAdHgAAHx4AAB8eAAAhHgAAIR4AACMeAAAjHgAAJR4AACUeAAAnHgAAJx4AACkeAAApHgAAKx4AACseAAAtHgAALR4AAC8eAAAvHgAAMR4AADEeAAAzHgAAMx4AADUeAAA1HgAANx4AADceAAA5HgAAOR4AADseAAA7HgAAPR4AAD0eAAA/HgAAPx4AAEEeAABBHgAAQx4AAEMeAABFHgAARR4AAEceAABHHgAASR4AAEkeAABLHgAASx4AAE0eAABNHgAATx4AAE8eAABRHgAAUR4AAFMeAABTHgAAVR4AAFUeAABXHgAAVx4AAFkeAABZHgAAWx4AAFseAABdHgAAXR4AAF8eAABfHgAAYR4AAGEeAABjHgAAYx4AAGUeAABlHgAAZx4AAGceAABpHgAAaR4AAGseAABrHgAAbR4AAG0eAABvHgAAbx4AAHEeAABxHgAAcx4AAHMeAAB1HgAAdR4AAHceAAB3HgAAeR4AAHkeAAB7HgAAex4AAH0eAAB9HgAAfx4AAH8eAACBHgAAgR4AAIMeAACDHgAAhR4AAIUeAACHHgAAhx4AAIkeAACJHgAAix4AAIseAACNHgAAjR4AAI8eAACPHgAAkR4AAJEeAACTHgAAkx4AAJUeAACbHgAAoR4AAKEeAACjHgAAox4AAKUeAAClHgAApx4AAKceAACpHgAAqR4AAKseAACrHgAArR4AAK0eAACvHgAArx4AALEeAACxHgAAsx4AALMeAAC1HgAAtR4AALceAAC3HgAAuR4AALkeAAC7HgAAux4AAL0eAAC9HgAAvx4AAL8eAADBHgAAwR4AAMMeAADDHgAAxR4AAMUeAADHHgAAxx4AAMkeAADJHgAAyx4AAMseAADNHgAAzR4AAM8eAADPHgAA0R4AANEeAADTHgAA0x4AANUeAADVHgAA1x4AANceAADZHgAA2R4AANseAADbHgAA3R4AAN0eAADfHgAA3x4AAOEeAADhHgAA4x4AAOMeAADlHgAA5R4AAOceAADnHgAA6R4AAOkeAADrHgAA6x4AAO0eAADtHgAA7x4AAO8eAADxHgAA8R4AAPMeAADzHgAA9R4AAPUeAAD3HgAA9x4AAPkeAAD5HgAA+x4AAPseAAD9HgAA/R4AAP8eAAAHHwAAEB8AABUfAAAgHwAAJx8AADAfAAA3HwAAQB8AAEUfAABQHwAAVx8AAGAfAABnHwAAcB8AAH0fAACAHwAAtB8AALYfAAC3HwAAvB8AALwfAAC+HwAAvh8AAMIfAADEHwAAxh8AAMcfAADMHwAAzB8AANAfAADTHwAA1h8AANcfAADgHwAA5x8AAPIfAAD0HwAA9h8AAPcfAAD8HwAA/B8AAE4hAABOIQAAcCEAAH8hAACEIQAAhCEAANAkAADpJAAAMCwAAF8sAABhLAAAYSwAAGUsAABmLAAAaCwAAGgsAABqLAAAaiwAAGwsAABsLAAAcywAAHMsAAB2LAAAdiwAAIEsAACBLAAAgywAAIMsAACFLAAAhSwAAIcsAACHLAAAiSwAAIksAACLLAAAiywAAI0sAACNLAAAjywAAI8sAACRLAAAkSwAAJMsAACTLAAAlSwAAJUsAACXLAAAlywAAJksAACZLAAAmywAAJssAACdLAAAnSwAAJ8sAACfLAAAoSwAAKEsAACjLAAAoywAAKUsAAClLAAApywAAKcsAACpLAAAqSwAAKssAACrLAAArSwAAK0sAACvLAAArywAALEsAACxLAAAsywAALMsAAC1LAAAtSwAALcsAAC3LAAAuSwAALksAAC7LAAAuywAAL0sAAC9LAAAvywAAL8sAADBLAAAwSwAAMMsAADDLAAAxSwAAMUsAADHLAAAxywAAMksAADJLAAAyywAAMssAADNLAAAzSwAAM8sAADPLAAA0SwAANEsAADTLAAA0ywAANUsAADVLAAA1ywAANcsAADZLAAA2SwAANssAADbLAAA3SwAAN0sAADfLAAA3ywAAOEsAADhLAAA4ywAAOMsAADsLAAA7CwAAO4sAADuLAAA8ywAAPMsAAAALQAAJS0AACctAAAnLQAALS0AAC0tAABBpgAAQaYAAEOmAABDpgAARaYAAEWmAABHpgAAR6YAAEmmAABJpgAAS6YAAEumAABNpgAATaYAAE+mAABPpgAAUaYAAFGmAABTpgAAU6YAAFWmAABVpgAAV6YAAFemAABZpgAAWaYAAFumAABbpgAAXaYAAF2mAABfpgAAX6YAAGGmAABhpgAAY6YAAGOmAABlpgAAZaYAAGemAABnpgAAaaYAAGmmAABrpgAAa6YAAG2mAABtpgAAgaYAAIGmAACDpgAAg6YAAIWmAACFpgAAh6YAAIemAACJpgAAiaYAAIumAACLpgAAjaYAAI2mAACPpgAAj6YAAJGmAACRpgAAk6YAAJOmAACVpgAAlaYAAJemAACXpgAAmaYAAJmmAACbpgAAm6YAACOnAAAjpwAAJacAACWnAAAnpwAAJ6cAACmnAAAppwAAK6cAACunAAAtpwAALacAAC+nAAAvpwAAM6cAADOnAAA1pwAANacAADenAAA3pwAAOacAADmnAAA7pwAAO6cAAD2nAAA9pwAAP6cAAD+nAABBpwAAQacAAEOnAABDpwAARacAAEWnAABHpwAAR6cAAEmnAABJpwAAS6cAAEunAABNpwAATacAAE+nAABPpwAAUacAAFGnAABTpwAAU6cAAFWnAABVpwAAV6cAAFenAABZpwAAWacAAFunAABbpwAAXacAAF2nAABfpwAAX6cAAGGnAABhpwAAY6cAAGOnAABlpwAAZacAAGenAABnpwAAaacAAGmnAABrpwAAa6cAAG2nAABtpwAAb6cAAG+nAAB6pwAAeqcAAHynAAB8pwAAf6cAAH+nAACBpwAAgacAAIOnAACDpwAAhacAAIWnAACHpwAAh6cAAIynAACMpwAAkacAAJGnAACTpwAAlKcAAJenAACXpwAAmacAAJmnAACbpwAAm6cAAJ2nAACdpwAAn6cAAJ+nAAChpwAAoacAAKOnAACjpwAApacAAKWnAACnpwAAp6cAAKmnAACppwAAtacAALWnAAC3pwAAt6cAALmnAAC5pwAAu6cAALunAAC9pwAAvacAAL+nAAC/pwAAwacAAMGnAADDpwAAw6cAAMinAADIpwAAyqcAAMqnAADRpwAA0acAANenAADXpwAA2acAANmnAAD2pwAA9qcAAFOrAABTqwAAcKsAAL+rAAAA+wAABvsAABP7AAAX+wAAQf8AAFr/AAAoBAEATwQBANgEAQD7BAEAlwUBAKEFAQCjBQEAsQUBALMFAQC5BQEAuwUBALwFAQDADAEA8gwBAMAYAQDfGAEAYG4BAH9uAQAi6QEAQ+kBAAAAAAADAAAAoBMAAPUTAAD4EwAA/RMAAHCrAAC/qwAAAQAAALAPAQDLDwEAQfCLBwvTK7oCAAB4AwAAeQMAAIADAACDAwAAiwMAAIsDAACNAwAAjQMAAKIDAACiAwAAMAUAADAFAABXBQAAWAUAAIsFAACMBQAAkAUAAJAFAADIBQAAzwUAAOsFAADuBQAA9QUAAP8FAAAOBwAADgcAAEsHAABMBwAAsgcAAL8HAAD7BwAA/AcAAC4IAAAvCAAAPwgAAD8IAABcCAAAXQgAAF8IAABfCAAA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CQAAggkAAIMJAACFCQAAjAkAAI8JAACQCQAAkwkAAKgJAACqCQAAsAkAALIJAACyCQAAtgkAALkJAAC9CQAAvQkAAL8JAADACQAAxwkAAMgJAADLCQAAzAkAAM4JAADOCQAA3AkAAN0JAADfCQAA4QkAAOYJAAD9CQAAAwoAAAMKAAAFCgAACgoAAA8KAAAQCgAAEwoAACgKAAAqCgAAMAoAADIKAAAzCgAANQoAADYKAAA4CgAAOQoAAD4KAABACgAAWQoAAFwKAABeCgAAXgoAAGYKAABvCgAAcgoAAHQKAAB2CgAAdgoAAIMKAACDCgAAhQoAAI0KAACPCgAAkQoAAJMKAACoCgAAqgoAALAKAACyCgAAswoAALUKAAC5CgAAvQoAAMAKAADJCgAAyQoAAMsKAADMCgAA0AoAANAKAADgCgAA4QoAAOYKAADxCgAA+QoAAPkKAAACCwAAAwsAAAULAAAMCwAADwsAABALAAATCwAAKAsAACoLAAAwCwAAMgsAADMLAAA1CwAAOQsAAD0LAAA9CwAAQAsAAEALAABHCwAASAsAAEsLAABMCwAAXAsAAF0LAABfCwAAYQsAAGYLAAB3CwAAgwsAAIMLAACFCwAAigsAAI4LAACQCwAAkgsAAJULAACZCwAAmgsAAJwLAACcCwAAngsAAJ8LAACjCwAApAsAAKgLAACqCwAArgsAALkLAAC/CwAAvwsAAMELAADCCwAAxgsAAMgLAADKCwAAzAsAANALAADQCwAA5gsAAPoLAAABDAAAAwwAAAUMAAAMDAAADgwAABAMAAASDAAAKAwAACoMAAA5DAAAPQwAAD0MAABBDAAARAwAAFgMAABaDAAAXQwAAF0MAABgDAAAYQwAAGYMAABvDAAAdwwAAIAMAACCDAAAjAwAAI4MAACQDAAAkgwAAKgMAACqDAAAswwAALUMAAC5DAAAvQwAAL4MAADADAAAwQwAAMMMAADEDAAAxwwAAMgMAADKDAAAywwAAN0MAADeDAAA4AwAAOEMAADmDAAA7wwAAPEMAADyDAAAAg0AAAwNAAAODQAAEA0AABINAAA6DQAAPQ0AAD0NAAA/DQAAQA0AAEYNAABIDQAASg0AAEwNAABODQAATw0AAFQNAABWDQAAWA0AAGENAABmDQAAfw0AAIINAACDDQAAhQ0AAJYNAACa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CgAANgoAADgKAAA5CgAAPAoAADwKAAA+CgAAQgoAAEcKAABICgAASwoAAE0KAABRCgAAUQoAAFkKAABcCgAAXgoAAF4KAABmCgAAdQoAAIEKAACDCgAAhQoAAI0KAACPCgAAkQoAAJMKAACoCgAAqgoAALAKAACyCgAAswoAALUKAAC5CgAAvAoAAMUKAADHCgAAyQoAAMsKAADNCgAA0AoAANAKAADgCgAA4woAAOYKAADvCgAA+QoAAP8KAAABCwAAAwsAAAULAAAMCwAADwsAABALAAATCwAAKAsAACoLAAAwCwAAMgsAADMLAAA1CwAAOQsAADwLAABECwAARwsAAEgLAABLCwAATQsAAFULAABXCwAAXAsAAF0LAABfCwAAYwsAAGYLAABvCwAAcQsAAHELAACCCwAAgwsAAIULAACKCwAAjgsAAJALAACSCwAAlQsAAJkLAACaCwAAnAsAAJwLAACeCwAAnwsAAKMLAACkCwAAqAsAAKoLAACuCwAAuQsAAL4LAADCCwAAxgsAAMgLAADKCwAAzQsAANALAADQCwAA1wsAANcLAADmCwAA7wsAAAAMAAAMDAAADgwAABAMAAASDAAAKAwAACoMAAA5DAAAPAwAAEQMAABGDAAASAwAAEoMAABNDAAAVQwAAFYMAABYDAAAWgwAAF0MAABdDAAAYAwAAGMMAABmDAAAbwwAAIAMAACDDAAAhQwAAIwMAACODAAAkAwAAJIMAACoDAAAqgwAALMMAAC1DAAAuQwAALwMAADEDAAAxgwAAMgMAADKDAAAzQwAANUMAADWDAAA3QwAAN4MAADgDAAA4wwAAOYMAADvDAAA8QwAAPIMAAAADQAADA0AAA4NAAAQDQAAEg0AAEQNAABGDQAASA0AAEoNAABODQAAVA0AAFcNAABfDQAAYw0AAGYNAABvDQAAeg0AAH8NAACBDQAAgw0AAIUNAACWDQAAmg0AALENAACzDQAAuw0AAL0NAAC9DQAAwA0AAMYNAADKDQAAyg0AAM8NAADUDQAA1g0AANYNAADYDQAA3w0AAOYNAADvDQAA8g0AAPMNAAABDgAAOg4AAEAOAABODgAAUA4AAFkOAACBDgAAgg4AAIQOAACEDgAAhg4AAIoOAACMDgAAow4AAKUOAAClDgAApw4AAL0OAADADgAAxA4AAMYOAADG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vx4AAMEeAADBHgAAwx4AAMMeAADFHgAAxR4AAMceAADHHgAAyR4AAMkeAADLHgAAyx4AAM0eAADNHgAAzx4AAM8eAADRHgAA0R4AANMeAADTHgAA1R4AANUeAADXHgAA1x4AANkeAADZHgAA2x4AANseAADdHgAA3R4AAN8eAADfHgAA4R4AAOEeAADjHgAA4x4AAOUeAADlHgAA5x4AAOceAADpHgAA6R4AAOseAADrHgAA7R4AAO0eAADvHgAA7x4AAPEeAADxHgAA8x4AAPMeAAD1HgAA9R4AAPceAAD3HgAA+R4AAPkeAAD7HgAA+x4AAP0eAAD9HgAA/x4AAAcfAAAQHwAAFR8AACAfAAAnHwAAMB8AADcfAABAHwAARR8AAFAfAABXHwAAYB8AAGcfAABwHwAAfR8AAIAfAACHHwAAkB8AAJcfAACgHwAApx8AALAfAAC0HwAAth8AALcfAAC+HwAAvh8AAMIfAADEHwAAxh8AAMcfAADQHwAA0x8AANYfAADXHwAA4B8AAOcfAADyHwAA9B8AAPYfAAD3HwAACiEAAAohAAAOIQAADyEAABMhAAATIQAALyEAAC8hAAA0IQAANCEAADkhAAA5IQAAPCEAAD0hAABGIQAASSEAAE4hAABOIQAAhCEAAIQhAAAwLAAAXywAAGEsAABhLAAAZSwAAGYsAABoLAAAaCwAAGosAABqLAAAbCwAAGwsAABxLAAAcSwAAHMsAAB0LAAAdiwAAHssAACBLAAAgSwAAIMsAACDLAAAhSwAAIUsAACHLAAAhywAAIksAACJLAAAiywAAIssAACNLAAAjSwAAI8sAACPLAAAkSwAAJEsAACTLAAAkywAAJUsAACVLAAAlywAAJcsAACZLAAAmSwAAJssAACbLAAAnSwAAJ0sAACfLAAAnywAAKEsAAChLAAAoywAAKMsAAClLAAApSwAAKcsAACnLAAAqSwAAKksAACrLAAAqywAAK0sAACtLAAArywAAK8sAACxLAAAsSwAALMsAACzLAAAtSwAALUsAAC3LAAAtywAALksAAC5LAAAuywAALssAAC9LAAAvSwAAL8sAAC/LAAAwSwAAMEsAADDLAAAwywAAMUsAADFLAAAxywAAMcsAADJLAAAySwAAMssAADLLAAAzSwAAM0sAADPLAAAzywAANEsAADRLAAA0ywAANMsAADVLAAA1SwAANcsAADXLAAA2SwAANksAADbLAAA2ywAAN0sAADdLAAA3ywAAN8sAADhLAAA4SwAAOMsAADkLAAA7CwAAOwsAADuLAAA7iwAAPMsAADzLAAAAC0AACUtAAAnLQAAJy0AAC0tAAAtLQAAQaYAAEGmAABDpgAAQ6YAAEWmAABFpgAAR6YAAEemAABJpgAASaYAAEumAABLpgAATaYAAE2mAABPpgAAT6YAAFGmAABRpgAAU6YAAFOmAABVpgAAVaYAAFemAABXpgAAWaYAAFmmAABbpgAAW6YAAF2mAABdpgAAX6YAAF+mAABhpgAAYaYAAGOmAABjpgAAZaYAAGWmAABnpgAAZ6YAAGmmAABppgAAa6YAAGumAABtpgAAbaYAAIGmAACBpgAAg6YAAIOmAACFpgAAhaYAAIemAACHpgAAiaYAAImmAACLpgAAi6YAAI2mAACNpgAAj6YAAI+mAACRpgAAkaYAAJOmAACTpgAAlaYAAJWmAACXpgAAl6YAAJmmAACZpgAAm6YAAJumAAAjpwAAI6cAACWnAAAlpwAAJ6cAACenAAAppwAAKacAACunAAArpwAALacAAC2nAAAvpwAAMacAADOnAAAzpwAANacAADWnAAA3pwAAN6cAADmnAAA5pwAAO6cAADunAAA9pwAAPacAAD+nAAA/pwAAQacAAEGnAABDpwAAQ6cAAEWnAABFpwAAR6cAAEenAABJpwAASacAAEunAABLpwAATacAAE2nAABPpwAAT6cAAFGnAABRpwAAU6cAAFOnAABVpwAAVacAAFenAABXpwAAWacAAFmnAABbpwAAW6cAAF2nAABdpwAAX6cAAF+nAABhpwAAYacAAGOnAABjpwAAZacAAGWnAABnpwAAZ6cAAGmnAABppwAAa6cAAGunAABtpwAAbacAAG+nAABvpwAAcacAAHinAAB6pwAAeqcAAHynAAB8pwAAf6cAAH+nAACBpwAAgacAAIOnAACDpwAAhacAAIWnAACHpwAAh6cAAIynAACMpwAAjqcAAI6nAACRpwAAkacAAJOnAACVpwAAl6cAAJenAACZpwAAmacAAJunAACbpwAAnacAAJ2nAACfpwAAn6cAAKGnAAChpwAAo6cAAKOnAAClpwAApacAAKenAACnpwAAqacAAKmnAACvpwAA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AACmHgAAph4AAKgeAACoHgAAqh4AAKoeAACsHgAArB4AAK4eAACuHgAAsB4AALAeAACyHgAAsh4AALQeAAC0HgAAth4AALYeAAC4HgAAuB4AALoeAAC6HgAAvB4AALweAAC+HgAAvh4AAMAeAADAHgAAwh4AAMIeAADEHgAAxB4AAMYeAADGHgAAyB4AAMgeAADKHgAAyh4AAMweAADMHgAAzh4AAM4eAADQHgAA0B4AANIeAADSHgAA1B4AANQeAADWHgAA1h4AANgeAADYHgAA2h4AANoeAADcHgAA3B4AAN4eAADeHgAA4B4AAOAeAADiHgAA4h4AAOQeAADkHgAA5h4AAOYeAADoHgAA6B4AAOoeAADqHgAA7B4AAOweAADuHgAA7h4AAPAeAADwHgAA8h4AAPIeAAD0HgAA9B4AAPYeAAD2HgAA+B4AAPgeAAD6HgAA+h4AAPweAAD8HgAA/h4AAP4eAAAIHwAADx8AABgfAAAdHwAAKB8AAC8fAAA4HwAAPx8AAEgfAABNHwAAWR8AAFkfAABbHwAAWx8AAF0fAABdHwAAXx8AAF8fAABoHwAAbx8AALgfAAC7HwAAyB8AAMsfAADYHwAA2x8AAOgfAADsHwAA+B8AAPsfAAACIQAAAiEAAAchAAAHIQAACyEAAA0hAAAQIQAAEiEAABUhAAAVIQAAGSEAAB0hAAAkIQAAJCEAACYhAAAmIQAAKCEAACghAAAqIQAALSEAADAhAAAzIQAAPiEAAD8hAABFIQAARSEAAIMhAACDIQAAACwAAC8sAABgLAAAYCwAAGIsAABkLAAAZywAAGcsAABpLAAAaSwAAGssAABrLAAAbSwAAHAsAAByLAAAciwAAHUsAAB1LAAAfiwAAIAsAACCLAAAgiwAAIQsAACELAAAhiwAAIYsAACILAAAiCwAAIosAACKLAAAjCwAAIwsAACOLAAAjiwAAJAsAACQLAAAkiwAAJIsAACULAAAlCwAAJYsAACWLAAAmCwAAJgsAACaLAAAmiwAAJwsAACcLAAAniwAAJ4sAACgLAAAoCwAAKIsAACiLAAApCwAAKQsAACmLAAApiwAAKgsAACoLAAAqiwAAKosAACsLAAArCwAAK4sAACuLAAAsCwAALAsAACyLAAAsiwAALQsAAC0LAAAtiwAALYsAAC4LAAAuCwAALosAAC6LAAAvCwAALwsAAC+LAAAviwAAMAsAADALAAAwiwAAMIsAADELAAAxCwAAMYsAADGLAAAyCwAAMgsAADKLAAAyiwAAMwsAADMLAAAziwAAM4sAADQLAAA0CwAANIsAADSLAAA1CwAANQsAADWLAAA1iwAANgsAADYLAAA2iwAANosAADcLAAA3CwAAN4sAADeLAAA4CwAAOAsAADiLAAA4iwAAOssAADrLAAA7SwAAO0sAADyLAAA8iwAAECmAABApgAAQqYAAEKmAABEpgAARKYAAEamAABGpgAASKYAAEimAABKpgAASqYAAEymAABMpgAATqYAAE6mAABQpgAAUKYAAFKmAABSpgAAVKYAAFSmAABWpgAAVqYAAFimAABYpgAAWqYAAFqmAABcpgAAXKYAAF6mAABepgAAYKYAAGCmAABipgAAYqYAAGSmAABkpgAAZqYAAGamAABopgAAaKYAAGqmAABqpgAAbKYAAGymAACApgAAgKYAAIKmAACCpgAAhKYAAISmAACGpgAAhqYAAIimAACIpgAAiqYAAIqmAACMpgAAjKYAAI6mAACOpgAAkKYAAJCmAACSpgAAkqYAAJSmAACUpgAAlqYAAJamAACYpgAAmKYAAJqmAACapgAAIqcAACKnAAAkpwAAJKcAACanAAAmpwAAKKcAACinAAAqpwAAKqcAACynAAAspwAALqcAAC6nAAAypwAAMqcAADSnAAA0pwAANqcAADanAAA4pwAAOKcAADqnAAA6pwAAPKcAADynAAA+pwAAPqcAAECnAABApwAAQqcAAEKnAABEpwAARKcAAEanAABGpwAASKcAAEinAABKpwAASqcAAEynAABMpwAATqcAAE6nAABQpwAAUKcAAFKnAABSpwAAVKcAAFSnAABWpwAAVqcAAFinAABYpwAAWqcAAFqnAABcpwAAXKcAAF6nAABepwAAYKcAAGCnAABipwAAYqcAAGSnAABkpwAAZqcAAGanAABopwAAaKcAAGqnAABqpwAAbKcAAGynAABupwAAbqcAAHmnAAB5pwAAe6cAAHunAAB9pwAAfqcAAICnAACApwAAgqcAAIKnAACEpwAAhKcAAIanAACGpwAAi6cAAIunAACNpwAAjacAAJCnAACQpwAAkqcAAJKnAACWpwAAlqcAAJinAACYpwAAmqcAAJqn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ADAFAABXBQAAWAUAAIsFAACMBQAAkAUAAJAFAADIBQAAzwUAAOsFAADuBQAA9QUAAP8FAAAOBwAADgcAAEsHAABMBwAAsgcAAL8HAAD7BwAA/AcAAC4IAAAvCAAAPwgAAD8IAABcCAAAXQgAAF8IAABfCAAAawgAAG8IAACPCAAAjwgAAJIIAACXCAAAhAkAAIQJAACNCQAAjgkAAJEJAACSCQAAqQkAAKkJAACxCQAAsQkAALMJAAC1CQAAugkAALsJAADFCQAAxgkAAMkJAADKCQAAzwkAANYJAADYCQAA2wkAAN4JAADeCQAA5AkAAOUJAAD/CQAAAAoAAAQKAAAECgAACwoAAA4KAAARCgAAEgoAACkKAAApCgAAMQoAADEKAAA0CgAANAoAADcKAAA3CgAAOgoAADsKAAA9CgAAPQoAAEMKAABGCgAASQoAAEoKAABOCgAAUAoAAFIKAABYCgAAXQoAAF0KAABfCgAAZQoAAHcKAACACgAAhAoAAIQKAACOCgAAjgoAAJIKAACSCgAAqQoAAKkKAACxCgAAsQoAALQKAAC0CgAAugoAALsKAADGCgAAxgoAAMoKAADKCgAAzgoAAM8KAADRCgAA3woAAOQKAADlCgAA8goAAPgKAAAACwAAAAsAAAQLAAAECwAADQsAAA4LAAARCwAAEgsAACkLAAApCwAAMQsAADELAAA0CwAANAsAADoLAAA7CwAARQsAAEYLAABJCwAASgsAAE4LAABUCwAAWAsAAFsLAABeCwAAXgsAAGQLAABlCwAAeAsAAIELAACECwAAhAsAAIsLAACNCwAAkQsAAJELAACWCwAAmAsAAJsLAACbCwAAnQsAAJ0LAACgCwAAogsAAKULAACnCwAAqwsAAK0LAAC6CwAAvQsAAMMLAADFCwAAyQsAAMkLAADOCwAAzwsAANELAADWCwAA2AsAAOULAAD7CwAA/wsAAA0MAAANDAAAEQwAABEMAAApDAAAKQwAADoMAAA7DAAARQwAAEUMAABJDAAASQwAAE4MAABUDAAAVwwAAFcMAABbDAAAXAwAAF4MAABfDAAAZAwAAGUMAABwDAAAdgwAAI0MAACNDAAAkQwAAJEMAACpDAAAqQwAALQMAAC0DAAAugwAALsMAADFDAAAxQwAAMkMAADJDAAAzgwAANQMAADXDAAA3AwA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AD0AAwH//wAAQgCdAEcADQH//wAA//8AAP//AAD//wAA//8AAP//AABMACQB//8AAFIANwD//wAA//8AAFUAlwD//wAA//8AAP//AABYAIcA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAXABWAP//AABhANIA//8AAP//AAD//wAAZACBAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABsAI0A//8AAHEAJwB2ACcA//8AAP//AAB9ANMAgACaAP//AAD//wAAjQBaAP//AACSAM4A//8AAP//AACVAJkA//8AAKEA2AGuAFMAswBaAP//AAD//wAA//8AALkAoQC9AKEA//8AAMIAdADHAJwA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADMAI0A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAzgCUANMALQD//wAA//8AAP//AAD//wAA2ADIAf//AAD//wAA4gDbAf//AAD//wAA//8AAO8AHgH//wAA//8AAP//AAD//wAA+gATAgABGAL//wAA//8AAP//AAAHASUA//8AAP//AAD//wAA//8AAP//AAD//wAACQHtAf//AAD//wAAEgE4AP//AAD//wAAGQGRAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AACEBNwH//wAA//8AAP//AAD//wAAKwEIAv//AAD//wAA//8AAP//AAA1AW0A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AADoBGQL//wAA//8AAP//AABdAUQB//8AAP//AABlASYA//8AAGoB1AD//wAAhQGFAIgBkwD//wAA//8AAP//AAD//wAA//8AAP//AACNAcwAogE/AaoBvwH//wAAswHcAf//AAC9AY0AywEMAv//AAD//wAA//8AAP//AADsAZsA//8AAP//AAD//wAA//8AAP//AADxAegB/gG1AAMC+wEKAhgB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AABoCPAH//wAA//8AAP//AAD//wAA//8AACUC7wH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAALwKPAP//AAD//wAA//8AADcCYgH//wAA//8AAP//AAD//wAAQAJ8AP//AABDApQA//8AAP//AAD//wAAUAILAv//AAD//wAA//8AAP//AAD//wAA//8AAFwClgD//wAA//8AAF8CKwD//wAA//8AAP//AABiAgACdAIRAf//AAD//wAA//8AAIICFgD//wAA//8AAIcC1wCNAmwA//8AAP//AACSAiUB//8AAP//AAD//wAA//8AAP//AAD//wAAngIWAP//AACnAgUCsQIGAv//AADAAjkA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADFAswA//8AAP//AAD//wAA//8AAMgCbwDeAn4A//8AAP//AAD//wAA4wJ+AP//AADpAtkA//8AAP//AADsAiMB//8AAP//AAD//wAA//8AAP//AAD//wAA9QJKAf//AAD//wAABAOBAQ8DHAEaAzQB//8AACEDnwH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAKAPrAf//AAD//wAA//8AADEDEwE0A5kA//8AAP//AAD//wAA//8AAP//AAD//wAAOQPSAP//AAD//wAA//8AAEwDOgD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABPAyEB//8AAFgD1AD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAXAP6Af//AAD//wAA//8AAP//AABkA9UA//8AAP//AABnA5EA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAGwDIAL//wAA//8AAP//AAD//wAAfAOaAIEDnwD//wAAhgN0AP//AACPA2sA//8AAJQDbwD//wAA//8AAP//AACZAw0B//8AAP//AACgA34B//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAwwMLAc8DIgD//wAA//8AAP//AAD//wAA1AMOAP//AADaAzcA//8AAP//AADlAxUA//8AAP//AADsA6AB/wPjAf//AAD//wAA//8AABQEewD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAGwT/Af//AAD//wAA//8AAP//AAD//wAAKQSmAf//AAD//wAA//8AAP//AAD//wAA//8AADcE2gH//wAA//8AAEkEswFhBHMA//8AAP//AABmBHMAbgStAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAiwR7AP//AACNBPgB//8AAP//AAD//wAAlAS3Af//AAD//wAA//8AAP//AAD//wAA//8AAJ8EQQK4BDQCxwSrAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA1AQXAuIECwHnBEYC//8AAP//AAD//wAA//8AAP//AAD2BD8C//8AAP//AAD//wAA//8AAP//AAACBc0B//8AAP//AAD//wAA//8AAP//AAAMBTUB//8AAP//AAASBSEA//8AABkFwQH//wAA//8AAP//AAD//wAA//8AAP//AAAlBW0B//8AAP//AABJBaAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAFMFDAFYBdYA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAZwVZAP//AAD//wAA//8AAP//AABuBXcA//8AAP//AAD//wAAcwVPAX8F5QH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAjAVVAJMFvAH//wAA//8AAP//AACkBZsA//8AAP//AAC0BXUA//8AAP//AAC5BSsA//8AAP//AADBBcoA0wU1Av//AAD//wAA//8AAP//AAD//wAA2wXmAP//AADeBYkA//8AAP//AAD//wAA//8AAOEFJgH//wAA//8AAP//AAD//wAA//8AAOsFlgEEBk4C//8AACsG6AD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAC4GaQAyBtkB//8AAP//AAD//wAA//8AAP//AAD//wAARAbIAP//AABJBr4B//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAFIGMQL//wAA//8AAP//AAD//wAA//8AAFkGZwD//wAAawYfAnwGhgH//wAA//8AAIkG6wCOBhoA//8AAP//AAD//wAAlAZmAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AALIGOgL//wAA//8AAP//AADABhwAxQZYAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADLBhwA//8AANEGygD//wAA//8AAP//AAD//wAA//8AAP//AADXBjIB//8AAOMGkwH//wAA//8AAP//AAD//wAA//8AAP//AAD5BiECDgcbAP//AAD//wAA//8AAP//AAD//wAA//8AABMHagD//wAA//8AABcHBwD//wAA//8AAB0HuQH//wAA//8AADAHTAE6BycC//8AAP//AAD//wAA//8AAP//AABLByUC//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAGUH3QD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAGoHlQH//wAAeAf1AX8H3QD//wAA//8AAP//AACJB9wA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AACLB3EAkQdlAf//AAD//wAAoweDAKgHywCtB2sB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAMQHKALiB3MB//8AAAII5wD//wAA//8AAAUIPgL//wAAKgjEAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAA1CM0A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AADgIswD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAD0IDQD//wAA//8AAP//AAD//wAA//8AAP//AABDCG0A//8AAEgI/QH//wAA//8AAP//AABVCBYB//8AAP//AAD//wAA//8AAP//AABmCJgBcwhIAf//AAB7COAB//8AAIcIaQD//wAA//8AAP//AAD//wAA//8AAJII4gH//wAA//8AAKMI3wD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAApghoAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAKsIpAG8CAYA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADCCBkA//8AAMcIgAH//wAA//8AAP//AADSCMsB5gjGAf//AAD//wAA8AgCAP//AAD//wAA9ggZAQ8JNAD//wAA//8AAP//AAAYCdUB//8AACEJ0QD//wAA//8AACwJNAD//wAAMQkdADkJkwD//wAA//8AAEEJMgL//wAA//8AAP//AAD//wAA//8AAEoJWQD//wAA//8AAFcJGQBgCWoA//8AAP//AAD//wAAaAkvAf//AABwCfIB//8AAP//AAD//wAA//8AAP//AAB6CS4A//8AAH8JLQD//wAAhglyAI0J7gGYCVcA//8AAP//AAD//wAA//8AAKUJPgH//wAA//8AAP//AACtCSkA//8AAP//AACzCaIB//8AAP//AADLCXkA0gm7Af//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADoCdsA7Ql2AP//AAD//wAA//8AAP//AADyCZIA/QmIAAcKJgD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AABoKUgEkCp0A//8AAP//AAApCjoB//8AAP//AAD//wAANAp6AP//AAD//wAA//8AAP//AAA5CjAA//8AAD4KDQL//wAA//8AAFcKhAD//wAA//8AAP//AABaChEB//8AAP//AABdCjMB//8AAP//AAD//wAA//8AAP//AABnCvMB//8AAP//AABzCgwB//8AAP//AAD//wAA//8AAHwKCwD//wAAgwofAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAiQo1AP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AACUCvcB//8AAP//AAD//wAAngorAv//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAtAoRALkKNQD//wAA//8AAP//AAD//wAA//8AAL4KeADDCucB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAM8K9AH//wAA2QoaAP//AADeCm4A//8AAP//AADzClwA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD4CqAA//8AAP//AAD//wAA//8AAP0KdQEOC0kB//8AAP//AAD//wAA//8AAP//AAD//wAAGgsQAB8LyQH//wAA//8AAP//AAD//wAA//8AACcLXAE8C1MA//8AAEULdgBQC+UA//8AAP//AAD//wAA//8AAFgLeAD//wAA//8AAP//AAD//wAA//8AAF4L4AD//wAAZAt8AP//AAD//wAAcAuiAP//AAD//wAAeAtcAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAhQuVAP//AACKCx0B//8AAP//AACfCzgB//8AAKoLVQD//wAA//8AAP//AAD//wAA//8AAP//AACvC6UBxAtUAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAzwvXAN0LAgH//wAA4wuKAf//AAAEDHEAEAzbAP//AAD//wAA//8AAP//AAD//wAA//8AABYMRQH//wAA//8AAP//AAD//wAA//8AAP//AAAiDEsA//8AACgMTAJJDFYA//8AAP//AAD//wAA//8AAP//AABRDPYB//8AAFsM0wH//wAA//8AAP//AAD//wAA//8AAP//AABkDBAA//8AAP//AAD//wAAagyKAP//AABtDBwC//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAIEMcgD//wAAhgwsAf//AACRDO0A//8AAP//AAD//wAA//8AAP//AAD//wAAmwzhAf//AAD//wAA//8AAP//AACqDPUAsAwKAsIMuwDIDJABzgwhAP//AAD//wAA//8AANMMZAH//wAA7AwFAfAMBQH//wAA//8AAPUM3gD//wAA//8AAP//AAD//wAA//8AAP//AAD6DF0A//8AAP8M8gD//wAA//8AAP//AAAFDW0A//8AAA8NywD//wAA//8AABkNEAEeDQgA//8AACQNggD//wAA//8AAP//AAD//wAAKQ1dADIN9QD//wAA//8AAP//AAD//wAANw3SAf//AAD//wAA//8AAP//AABDDYQB//8AAEwNhwBiDQQC//8AAG4NSgL//wAA//8AAI8NWACeDcoB//8AAP//AACoDewB//8AAP//AAC2DV4A//8AAP//AAD//wAA//8AALoNXgC/DYAA//8AAP//AADFDTYA//8AANAN2AD//wAA//8AANgNYQD//wAA3Q2EAP//AAD//wAA//8AAP//AAD//wAA//8AAO0NAwD//wAA8w2MAf//AAD//wAACg6CAP//AAD//wAA//8AAP//AAD//wAAEg4RAv//AAApDmEA//8AAP//AAD//wAA//8AADEO8QE6DloBVA5nAf//AABsDhMA//8AAP//AACBDqQA//8AAIMOTQD//wAA//8AAJEO6QD//wAA//8AAP//AAD//wAAlA5lAP//AAD//wAA//8AAJkO4wD//wAA//8AAP//AAD//wAA//8AAP//AACeDoAA//8AAKMOHgD//wAAqA5uAP//AACtDqYA//8AAP//AAC5DqwAvA7eAP//AADHDhQC0A4yANQOHgD//wAA//8AAN4OGwHvDqoA8w6qAPgO+gD//wAA//8AAP0OvAADD7YA//8AAAgP9wD//wAADQ/3ABQPmgH//wAA//8AAB4PxgD//wAA//8AACAPLgH//wAAKA/kATEPIAE6D9QB//8AAP//AABHD8cBUQ8fAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAXQ89Av//AAB9DwkB//8AAIIPogD//wAA//8AAIcP1gGdD+UA//8AAP//AACiD+IA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAKoPfQH//wAA//8AAP//AAD//wAA//8AALsPlwD//wAAyQ8VAM4P8AH//wAA//8AAOYPIgD//wAA7g9BAf//AAD4D70A//8AAP//AAD9Dx0A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAAhAUAQ8QrwH//wAA//8AACoQPQD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAALxDZAP//AAD//wAA//8AAEEQPAJiEE4A//8AAHQQWwH//wAA//8AAP//AAD//wAA//8AAIQQfwCJEPwBkRAsAP//AAD//wAA//8AAP//AACYEIsAnRCLAP//AAD//wAApBBEAP//AACoEL0B//8AAP//AAD//wAAtxBAAP//AAD//wAAuhBFAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAL8QAwHHEFcA//8AAM4QowD//wAA//8AANMQowD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AANsQSwL//wAA/BBNAP//AAD//wAA//8AAP//AAABEWoB//8AABMRDgL//wAAIRFVAf//AAD//wAA//8AADcRAAH//wAA//8AADwRVABBEfQA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAEkRDwBXEb8A//8AAFsRxgD//wAA//8AAP//AABnEQYB//8AAP//AAD//wAAahHtAG8RAQJ5EdAB//8AAP//AAD//wAA//8AAP//AAD//wAAixFQAZMRlAH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAKQRIgL//wAA//8AAKwRNgH//wAA//8AAP//AAC2EasB//8AAP//AAD//wAA//8AAMYRYgDNEWkB//8AAP//AAD//wAA//8AAP//AAD//wAA3RHmAecRbAH//wAA//8AAPIR6QH//wAA//8AAPwRKgH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAAJEkwA//8AAP//AAD//wAAGBKHAf//AAD//wAA//8AAP//AAA1EmsAQRI5AP//AABIEmEB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAFYSYgD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAFsSiQH//wAA//8AAG4SHgL//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAfhLJAIwSGACUEikB//8AAP//AAD//wAAphLqAP//AAD//wAArhK3ALMSGgL//wAAvBI5AMESBQD//wAA//8AAP//AAD//wAAxxLBAP//AAD//wAAzBImAv//AAD//wAA5hLdAf4SRAD//wAACBPeAf//AAD//wAA//8AAP//AAAfEykC//8AAP//AAAvE54B//8AAP//AAD//wAA//8AAP//AABCE1ACSRNwAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAE4TPAD//wAAUxOmAP//AAD//wAA//8AAP//AAD//wAAWBPJAF8T8gD//wAAZBPCAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAGkT4AD//wAAehNsAP//AAD//wAA//8AAIoT+gCeE4wAoxOMAP//AACqEyAA//8AAP//AAD//wAArxNwAP//AAC4EzEA//8AALwTQwLWE8UB//8AAP//AADjE0AC//8AAP//AAD//wAA//8AAPgTbwH//wAAChSwAR8UKAD//wAA//8AAP//AAAtFI4B//8AAP//AAD//wAA//8AAP//AAD//wAAOhRUAkQUsQH//wAA//8AAP//AAD//wAAVBQ7Af//AAD//wAA//8AAP//AABpFOEA//8AAP//AAD//wAA//8AAHEUTgH//wAAfBRWAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAI4UDACTFHEB//8AALcU9gD//wAAvBSxAMEUZwD//wAA//8AAP//AADGFMMA//8AAP//AAD//wAAzRSnANsUGAD//wAA4BR6Af//AAD//wAA//8AAP//AAD0FLEA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAPwU4QD//wAA//8AAAEVKgL//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAFhWhASAVAQH//wAA//8AACUVfwH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABAFSAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAEkVjwH//wAA//8AAP//AABQFcMB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAFwV4wBkFRAB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAB0FRcA//8AAP//AAD//wAAfRWYAP//AACCFc4AkxW4AJgV6wD//wAA//8AAP//AACkFVECwxU5AdAVmADcFdAA4RUJAv//AAD//wAA8hV2AfsVJwH//wAA//8AAP//AAD//wAADhacAf//AAD//wAAJBY+AP//AAD//wAA//8AAP//AAD//wAA//8AACkWJAL//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAEMWUwH//wAA//8AAFcWWwD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAFwWMwD//wAAYBZbAP//AAD//wAA//8AAGkWlgD//wAA//8AAHUWAQB7FpAA//8AAIAW0QH//wAA//8AAIwWkAD//wAA//8AAP//AAD//wAAlhYJAP//AAD//wAAnBZRAf//AAD//wAA//8AAKUWyAD//wAA//8AAP//AAD//wAArxbsAP//AAD//wAA//8AAP//AAD//wAA//8AALQWnAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADIFjsA//8AAM0WMAH//wAA//8AANYWmQH//wAA6xbXAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD9FkIAAhf7AP//AAD//wAA//8AAP//AAAHF/sADhcjABMX/AD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAGBfqAP//AAAdF4kA//8AAP//AAD//wAALRcsAv//AAD//wAA//8AAE8XuQD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAFQXKgD//wAA//8AAP//AABmF5IB//8AAG4XQgD//wAA//8AAHYXdwGLFyMA//8AAJQXDwH//wAA//8AAP//AAD//wAA//8AAJ4XtAH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAshf/AP//AAD//wAA//8AALcX6gH//wAA//8AAP//AADAF6cA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAMMX0QD//wAA//8AAP//AAD//wAA//8AAP//AADIF6kA//8AAP//AAD//wAA//8AAM0XGgH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAOkXjgDuF18B//8AAP//AAD//wAA//8AAP//AAD//wAA//8AABQYtgD//wAAHxiOAP//AAAoGPMA//8AAP//AAD//wAAMBioADoYAAD//wAA//8AAEIY7wD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABHGPkB//8AAP//AAD//wAAXRgCAv//AAD//wAAixjiAP//AAD//wAA//8AAP//AAD//wAAkBgkAJUYBwGeGKQA//8AAP//AAD//wAApRgtArkYBgH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAyxhQAP//AADQGH8A//8AAP//AAD//wAA1xj/AP//AAD//wAA3xhgAP//AAD//wAA//8AAP//AAD//wAA//8AAOQYDwD//wAA//8AAP//AAD//wAA//8AAP//AADpGMAB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP4YCAH//wAA//8AAP//AAD//wAABRlPAv//AAD//wAA//8AAP//AAAmGXkA//8AAP//AAD//wAA//8AAP//AAD//wAAKxk7AP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAA1GSMC//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAEAZAQFJGUcC//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAGoZtQD//wAA//8AAP//AAD//wAAdBlZAf//AAD//wAA//8AAP//AAD//wAA//8AAJoZegD//wAA//8AAP//AAD//wAApBn4AKkZ7wD//wAA//8AALAZ8QD//wAA//8AAP//AAD//wAAuRmFAP//AAD//wAA//8AAP//AAD//wAAyBleAf//AADaGTAC//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADxGfYA//8AAP//AAD//wAA//8AAPcZqAD//wAA/BnCAf//AAD//wAA//8AAAUaPQEqGggB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAALxpNAVMasABYGvkAXRpoAP//AAD//wAA//8AAP//AABwGisBehqrAP//AAD//wAA//8AAP//AAB9GjoA//8AAP//AAD//wAA//8AAP//AAD//wAAhxpOAP//AAD//wAAjRpfAJIaSwH//wAA//8AAP//AAD//wAA//8AAJ0a5wCoGswB//8AAP//AACzGgcB//8AAP//AAD//wAAuBp8Af//AAD//wAA//8AAP//AAD//wAA0BotAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA2xp0AegaBwL//wAA//8AAP//AAD3GtAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP8aLwAEG60AChvBABobCgH//wAA//8AAP//AAD//wAA//8AAP//AAAlG7gBOBvkAP//AAD//wAA//8AAD0bJQD//wAA//8AAP//AAD//wAA//8AAEMbZQD//wAATBuXAVYbrABiG5sB//8AAP//AAD//wAA//8AAP//AABrG7wAcBtJAv//AAD//wAA//8AAP//AAD//wAAkRtAAZsbFQL//wAA//8AAP//AAD//wAA//8AAKYb+AD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAK0bxwCyG4gB//8AAP//AAD//wAA//8AAP//AAD//wAA0BvfAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAN8bRwH//wAA//8AAOcbQgH//wAA//8AAP//AAD//wAA//8AAO8bowEDHO4A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAAgcPwD//wAADRwJAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAAYHL4AHxyzAP//AAD//wAA//8AACkcNwL//wAA//8AAP//AAD//wAA//8AAD8cEwH//wAAThwVAf//AAD//wAA//8AAP//AABhHL4A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAHEcMAD//wAAhxy6Af//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAlxxGAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADEHCQA//8AAP//AAD//wAAyhydAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADVHD4A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADeHEYA//8AAOQcrQD//wAA//8AAP//AAD//wAA//8AAP//AAD6HKcB//8AAP//AAD//wAADB0bAP//AAAVHWAB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AACkdsgE+HTgC//8AAP//AAD//wAA//8AAP//AABkHbsA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAaR2sAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAB6HTIAkB1GAP//AAD//wAA//8AAP//AAD//wAAlR1jAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAJodQwH//wAA//8AAP//AAD//wAA//8AAP//AAClHXgB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAsB2CAf//AAD//wAA//8AAP//AAD//wAA//8AALsdtADAHdoA//8AAP//AADFHa4B4x1NAv//AAAEHkgC//8AAP//AAD//wAA//8AACAesgD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAALR7PAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAA+HgMCSh7fAf//AAD//wAA//8AAP//AAD//wAAWx4SAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAF4e1gD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAGMetQH//wAA//8AAP//AAD//wAA//8AAP//AAB+Hp4A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAI0eQwD//wAA//8AAP//AAD//wAA//8AAP//AACSHvQAlx6vAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AACcHkMA//8AAP//AAD//wAA//8AAP//AACnHncA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAC5HnUA//8AAP//AAD//wAA//8AAMEeEgL//wAA0x7uAP//AAD//wAA3x79AP//AAD//wAA//8AAOQeTwD//wAA6h79AP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA8h5JAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD3Hr0A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD/Hv4B//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAAwfuQD//wAA//8AAP//AAD//wAA//8AABYfMQD//wAA//8AAP//AAD//wAALB89ADgfeQH//wAA//8AAP//AAD//wAASx9PAP//AAD//wAAXR8UAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAYR/DAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAcB+6AHUfHwF+H+kA//8AAIkfYwH//wAA//8AAKEfQgK1HzkCxB9fAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADLH1IA//8AAP//AADPH8QA1R8bAv//AAD//wAA//8AAOgfhgD//wAA//8AAPQfpQD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA+R+lAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAAMgrgAIIBIB//8AAP//AAD//wAA//8AAP//AAAbICgB//8AAP//AAD//wAA//8AAP//AAAtIC4C//8AAP//AAD//wAA//8AAP//AAA+IDMA//8AAP//AAD//wAA//8AAFQgsgBZIDsCaCAiAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAeyCLAf//AAD//wAA//8AAJMgVwH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAKggxQC3IMIA//8AAP//AAD//wAA//8AAMQgSQD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAMwgSgD//wAA//8AAP//AADRICwA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA1CA2Av//AAD//wAA6CDoAP//AAD//wAA//8AAP//AAD0IFIA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD9IFEA//8AAP//AAD//wAA//8AAP//AAAFIQoB//8AAP//AAD//wAADCHPAP//AAAPIUoA//8AAP//AAD//wAA//8AAP//AAAXIR0C//8AACohPAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAAyIdwA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAOSGRAf//AABNIV0B//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABpIY0B//8AAP//AAD//wAA//8AAP//AAD//wAAdyFYAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AACWIbcA//8AAP//AAChIVQB//8AAP//AAD//wAA//8AAP//AAD//wAAtCETAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAuSEEAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAvyGoAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AANUhqgH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAPAhFgL//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA/iGwAP//AAD//wAA//8AAP//AAD//wAA//8AAAQibgH//wAA//8AABoixQD//wAA//8AACEiKgD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AACYixAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AADAirgD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AADYi7AA+IhcB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAE8iEgD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABaIkQC//8AAP//AABwInIB//8AAP//AAD//wAAlCK/AP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAsyJBAP//AAD//wAAviK0AP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAziLPAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA4SJRAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD2IgIB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAAHI8cA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAEyNFAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAB4j5AD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAKiPxAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAAvI/4A//8AAP//AAA4IwoA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAD4jtgH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAWyMEAf//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAGUjUAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABuI+YA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAfSPTAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AACOI9oA//8AAJUjMwL//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAqSP+AP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAK4jZAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AALIjewH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAzCPwAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADRI84B//8AAP//AAD//wAA//8AAOIj8AD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADqI2AA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAPkjTAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP8jLwL//wAA//8AAP//AAD//wAA//8AABYkZAD//wAAHyQvAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAA1JM0A//8AAP//AAD//wAA//8AAP//AABFJLgAVSRHAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAAWiQPAv//AABwJPkA//8AAP//AAD//wAAdySKAP//AAD//wAA//8AAP//AAD//wAA//8AAIckEAL//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AACqJGYA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AACxJGMA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AALgkqQH//wAA//8AAMkkOAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAM4kwAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADVJMAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAOkkQQD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAO0kcAH//wAA//8AAAMlQAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAAdJYMB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAA3JboA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAEElUgL//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABgJYUB//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AABzJUUC//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AACXJa8A//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAKwl1QD//wAA//8AAP//AAD//wAA//8AAP//AAC8JUgA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AADBJUcA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAMolaAH//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA1yVIAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAOslUwJsYW5hAGxpbmEAegB5aQBtbgBjbgBtYWthAHlpaWkAbWFuaQBpbmthbm5hZGEAY2kAbG8AbGFvAGxhb28Aenp6egBtaWFvAHllemkAaW5ua28AY28AbWUAbG9lAGdyYW4AcGkAbGluZWFyYQBtYXJrAGNhcmkAY2FyaWFuAHBvAG1lbmRla2lrYWt1aQBncmVrAHBlAG1lZXRlaW1heWVrAGlua2hhcm9zaHRoaQBnZW9yAGdyZWVrAG1ybwBtcm9vAGthbmEAbWVybwBtAGdvbm0AY2FrbQBpbm9zbWFueWEAaW5tYW5pY2hhZWFuAGluYXJtZW5pYW4AaW5tcm8AaW5taWFvAGMAaW5jaGFrbWEAY29tbW9uAG1hbmRhaWMAaW5teWFubWFyAGlubWFrYXNhcgBxYWFpAGluaWRlb2dyYXBoaWNzeW1ib2xzYW5kcHVuY3R1YXRpb24AaW5raG1lcgBjYW5zAHByZXBlbmRlZGNvbmNhdGVuYXRpb25tYXJrAGxtAG1hcmMAY29ubmVjdG9ycHVuY3R1YXRpb24AaW5ydW5pYwBpbmNhcmlhbgBpbmF2ZXN0YW4AY29tYmluaW5nbWFyawBpbmN1bmVpZm9ybW51bWJlcnNhbmRwdW5jdHVhdGlvbgBtZXJjAGluY2hvcmFzbWlhbgBwZXJtAGluYWhvbQBpbmlwYWV4dGVuc2lvbnMAaW5jaGVyb2tlZQBpbnNoYXJhZGEAbWFrYXNhcgBpbmFycm93cwBsYwBtYXNhcmFtZ29uZGkAaW5jdW5laWZvcm0AbWMAY2MAaW56YW5hYmF6YXJzcXVhcmUAbGluZXNlcGFyYXRvcgBhcm1uAHFtYXJrAGFybWkAaW5zYW1hcml0YW4AYXJtZW5pYW4AaW5tYXJjaGVuAGlubWFzYXJhbWdvbmRpAHFhYWMAcGMAaW5zY3JpcHRpb25hbHBhcnRoaWFuAGxhdG4AbGF0aW4AcmkAaW50aGFhbmEAaW5raG1lcnN5bWJvbHMAaW5rYXRha2FuYQBpbmN5cmlsbGljAGludGhhaQBpbmNoYW0AaW5rYWl0aGkAenMAbXRlaQBpbml0aWFscHVuY3R1YXRpb24AY3MAaW5zeXJpYWMAcGNtAGludGFrcmkAcHMAbWFuZABpbmthbmFleHRlbmRlZGEAbWVuZABtb2RpAGthdGFrYW5hAGlkZW8AcHJ0aQB5ZXppZGkAaW5pZGVvZ3JhcGhpY2Rlc2NyaXB0aW9uY2hhcmFjdGVycwB4aWRjb250aW51ZQBicmFpAGFzY2lpAHByaXZhdGV1c2UAYXJhYmljAGlubXlhbm1hcmV4dGVuZGVkYQBpbnJ1bWludW1lcmFsc3ltYm9scwBsZXR0ZXIAaW5uYW5kaW5hZ2FyaQBpbm1lZXRlaW1heWVrAGlub2xkbm9ydGhhcmFiaWFuAGluY2prY29tcGF0aWJpbGl0eWZvcm1zAGtuZGEAa2FubmFkYQBpbmNqa2NvbXBhdGliaWxpdHlpZGVvZ3JhcGhzAGwAaW5tb2RpAGluc3BlY2lhbHMAaW50cmFuc3BvcnRhbmRtYXBzeW1ib2xzAGlubWVuZGVraWtha3VpAGxldHRlcm51bWJlcgBpbm1lZGVmYWlkcmluAHhpZGMAaW5jaGVzc3N5bWJvbHMAaW5lbW90aWNvbnMAaW5saW5lYXJhAGlubGFvAGJyYWhtaQBpbm9sZGl0YWxpYwBpbm1pc2NlbGxhbmVvdXNtYXRoZW1hdGljYWxzeW1ib2xzYQBtb25nb2xpYW4AeGlkcwBwc2FsdGVycGFobGF2aQBncmxpbmsAa2l0cwBpbnN1bmRhbmVzZQBpbm9sZHNvZ2RpYW4AZ290aGljAGluYW5jaWVudHN5bWJvbHMAbWVyb2l0aWNjdXJzaXZlAGthbGkAY29udHJvbABwYXR0ZXJud2hpdGVzcGFjZQBpbmFkbGFtAHNrAGx0AGlubWFuZGFpYwBpbmNvbW1vbmluZGljbnVtYmVyZm9ybXMAaW5jamtjb21wYXRpYmlsaXR5aWRlb2dyYXBoc3N1cHBsZW1lbnQAc28AaWRjAGlub2xkc291dGhhcmFiaWFuAHBhbG0AaW5seWNpYW4AaW50b3RvAGlkc2JpbmFyeW9wZXJhdG9yAGlua2FuYXN1cHBsZW1lbnQAaW5jamtzdHJva2VzAHNvcmEAYmFtdW0AaW5vcHRpY2FsY2hhcmFjdGVycmVjb2duaXRpb24AaW5kb21pbm90aWxlcwBiYXRrAGdyZXh0AGJhdGFrAHBhdHdzAGlubWFsYXlhbGFtAGlubW9kaWZpZXJ0b25lbGV0dGVycwBpbnNtYWxsa2FuYWV4dGVuc2lvbgBiYXNzAGlkcwBwcmludABpbmxpbmVhcmJpZGVvZ3JhbXMAaW50YWl0aGFtAGlubXVzaWNhbHN5bWJvbHMAaW56bmFtZW5ueW11c2ljYWxub3RhdGlvbgBzYW1yAGluc3lsb3RpbmFncmkAaW5uZXdhAHNhbWFyaXRhbgBzAGpvaW5jAGluY29udHJvbHBpY3R1cmVzAGxpc3UAcGF1YwBpbm1pc2NlbGxhbmVvdXNzeW1ib2xzAGluYW5jaWVudGdyZWVrbXVzaWNhbG5vdGF0aW9uAGlubWlzY2VsbGFuZW91c3N5bWJvbHNhbmRhcnJvd3MAc20AaW5taXNjZWxsYW5lb3Vzc3ltYm9sc2FuZHBpY3RvZ3JhcGhzAGludWdhcml0aWMAcGQAaXRhbABhbG51bQB6aW5oAGlud2FyYW5nY2l0aQBpbmxhdGluZXh0ZW5kZWRhAGluc2F1cmFzaHRyYQBpbnRhaWxlAGlub2xkdHVya2ljAGlkY29udGludWUAaW5oYW5pZmlyb2hpbmd5YQBzYwBpZHN0AGlubGF0aW5leHRlbmRlZGUAbG93ZXIAYmFsaQBpbmhpcmFnYW5hAGluY2F1Y2FzaWFuYWxiYW5pYW4AaW5kZXNlcmV0AGJsYW5rAGluc3BhY2luZ21vZGlmaWVybGV0dGVycwBjaGVyb2tlZQBpbmx5ZGlhbgBwaG9lbmljaWFuAGNoZXIAYmVuZ2FsaQBtYXJjaGVuAGlud2FuY2hvAGdyYXBoZW1lbGluawBiYWxpbmVzZQBpZHN0YXJ0AGludGFtaWwAaW5tdWx0YW5pAGNoYW0AY2hha21hAGthaXRoaQBpbm1haGFqYW5pAGdyYXBoZW1lYmFzZQBpbm9naGFtAGNhc2VkAGlubWVldGVpbWF5ZWtleHRlbnNpb25zAGtob2praQBpbmFuY2llbnRncmVla251bWJlcnMAcnVucgBraGFyAG1hbmljaGFlYW4AbG93ZXJjYXNlAGNhbmFkaWFuYWJvcmlnaW5hbABpbm9sY2hpa2kAcGxyZABpbmV0aGlvcGljAHNpbmQAY3djbQBpbmVhcmx5ZHluYXN0aWNjdW5laWZvcm0AbGwAemwAaW5zaW5oYWxhAGlua2h1ZGF3YWRpAHhpZHN0YXJ0AHhkaWdpdABiaWRpYwBjaG9yYXNtaWFuAGluc2lkZGhhbQBpbmNvdW50aW5ncm9kbnVtZXJhbHMAYWhvbQBjaHJzAGtobXIAaW5vbGR1eWdodXIAaW5ncmFudGhhAGJhbXUAaW5zY3JpcHRpb25hbHBhaGxhdmkAZ29uZwBtb25nAGlubGF0aW5leHRlbmRlZGMAaW5uZXd0YWlsdWUAYWRsbQBpbm9zYWdlAGluZ2VuZXJhbHB1bmN0dWF0aW9uAGdlb3JnaWFuAGtoYXJvc2h0aGkAc2luaGFsYQBraG1lcgBzdGVybQBjYXNlZGxldHRlcgBtdWx0YW5pAGd1bmphbGFnb25kaQBtYXRoAGluY3lyaWxsaWNzdXBwbGVtZW50AGluZ2VvcmdpYW4AZ290aABpbmNoZXJva2Vlc3VwcGxlbWVudABnbGFnb2xpdGljAHF1b3RhdGlvbm1hcmsAdWlkZW8AaW5jamt1bmlmaWVkaWRlb2dyYXBoc2V4dGVuc2lvbmEAam9pbmNvbnRyb2wAcnVuaWMAaW5tb25nb2xpYW4AZW1vamkAaW5jamt1bmlmaWVkaWRlb2dyYXBoc2V4dGVuc2lvbmUAZ3JhbnRoYQBpbnRpcmh1dGEAaW5oYXRyYW4AYWRsYW0AbHUAaW5raGl0YW5zbWFsbHNjcmlwdABrdGhpAGluZ3VybXVraGkAc3VuZGFuZXNlAGlub2xkaHVuZ2FyaWFuAHRha3JpAGludGFtaWxzdXBwbGVtZW50AG9yaXlhAGludmFpAGJyYWgAaW5taXNjZWxsYW5lb3VzdGVjaG5pY2FsAHZhaQB2YWlpAHNhdXIAZ3VydQB0YWlsZQBpbmhlcml0ZWQAcGF1Y2luaGF1AHphbmIAcHVuY3QAbGluYgBndXJtdWtoaQB0YWtyAGlubmFiYXRhZWFuAGlua2FuYnVuAGxvZ2ljYWxvcmRlcmV4Y2VwdGlvbgBpbmJoYWlrc3VraQBpbmNqa3VuaWZpZWRpZGVvZ3JhcGhzZXh0ZW5zaW9uYwBncmFwaGVtZWV4dGVuZABpbmVsYmFzYW4AaW5zb3Jhc29tcGVuZwBoYW4AaGFuaQBsaW1idQB1bmFzc2lnbmVkAHJhZGljYWwAaGFubwBsb3dlcmNhc2VsZXR0ZXIAY250cmwAaW5jamt1bmlmaWVkaWRlb2dyYXBocwBsaW5lYXJiAGluYW5hdG9saWFuaGllcm9nbHlwaHMAaGFudW5vbwBpbmtob2praQBpbmxhdGluZXh0ZW5kZWRhZGRpdGlvbmFsAGluZW5jbG9zZWRhbHBoYW51bWVyaWNzAGFuYXRvbGlhbmhpZXJvZ2x5cGhzAG4AZW1vamltb2RpZmllcgBzZABoaXJhAHNpZGQAbGltYgBiaGtzAHBobGkAbmFuZGluYWdhcmkAbm8Ac2F1cmFzaHRyYQBpbnRhbmdzYQBjd3QAYmhhaWtzdWtpAGluZ3JlZWthbmRjb3B0aWMAbmtvAG5rb28AdGVybQBvc2FnZQB4cGVvAHRuc2EAdGFuZ3NhAGlua2F5YWhsaQBwAGlub3JpeWEAaW55ZXppZGkAaW5hcmFiaWMAaW5waG9lbmljaWFuAGluc2hhdmlhbgBiaWRpY29udHJvbABpbmVuY2xvc2VkaWRlb2dyYXBoaWNzdXBwbGVtZW50AHdhcmEAbXVsdABpbm1lcm9pdGljaGllcm9nbHlwaHMAc2luaABzaGF2aWFuAGlua2FuZ3hpcmFkaWNhbHMAZW5jbG9zaW5nbWFyawBhcmFiAGluc2luaGFsYWFyY2hhaWNudW1iZXJzAGJyYWlsbGUAaW5oYW51bm9vAG9zbWEAYmVuZwBpbmJhc2ljbGF0aW4AaW5hcmFiaWNwcmVzZW50YXRpb25mb3Jtc2EAY3BtbgByZWdpb25hbGluZGljYXRvcgBpbmVuY2xvc2VkYWxwaGFudW1lcmljc3VwcGxlbWVudABlbW9qaW1vZGlmaWVyYmFzZQBpbmdyZWVrZXh0ZW5kZWQAbGVwYwBpbmRvZ3JhAGZvcm1hdABseWNpAGx5Y2lhbgBkaWEAaW5waGFpc3Rvc2Rpc2MAZGkAZGlhawB1bmtub3duAGdyYmFzZQBteW1yAG15YW5tYXIAaW5jamt1bmlmaWVkaWRlb2dyYXBoc2V4dGVuc2lvbmQAZW1vZABpbmdlb21ldHJpY3NoYXBlcwBpbmN5cHJvbWlub2FuAGluc3VuZGFuZXNlc3VwcGxlbWVudAB0b3RvAGdsYWcAdGFpdmlldABhc2NpaWhleGRpZ2l0AG9kaQBwdW5jdHVhdGlvbgB2cwBzdW5kAGluc295b21ibwBpbmltcGVyaWFsYXJhbWFpYwBpbmJhdGFrAGlubGF0aW5leHRlbmRlZGQAaW5udXNodQBpbnRpYmV0YW4AaW5sb3dzdXJyb2dhdGVzAGhhdHJhbgBpbmJsb2NrZWxlbWVudHMAaW5zb2dkaWFuAGluZGluZ2JhdHMAaW5lbHltYWljAGluZGV2YW5hZ2FyaQBlbW9qaWNvbXBvbmVudABpbmthdGFrYW5hcGhvbmV0aWNleHRlbnNpb25zAGlkZW9ncmFwaGljAGNvcHRpYwBpbm51bWJlcmZvcm1zAGhhdHIAaW5jamtjb21wYXRpYmlsaXR5AGlua2FuYWV4dGVuZGVkYgBwYXR0ZXJuc3ludGF4AGF2ZXN0YW4AaW5hcmFiaWNleHRlbmRlZGEAc29nZGlhbgBzb2dvAGludGFuZ3V0AGNvcHQAZ3JhcGgAb2lkYwBpbmJ5emFudGluZW11c2ljYWxzeW1ib2xzAGluaW5zY3JpcHRpb25hbHBhcnRoaWFuAGRpYWNyaXRpYwBpbmluc2NyaXB0aW9uYWxwYWhsYXZpAGlubWF5YW5udW1lcmFscwBpbm15YW5tYXJleHRlbmRlZGIAaW50YWdzAGphdmEAY3BydABuYW5kAHBhdHN5bgB0YWxlAG9pZHMAc2VudGVuY2V0ZXJtaW5hbABpbXBlcmlhbGFyYW1haWMAdGVybWluYWxwdW5jdHVhdGlvbgBseWRpAGx5ZGlhbgBib3BvAGphdmFuZXNlAGN3bABpbmdlb21ldHJpY3NoYXBlc2V4dGVuZGVkAGlub2xkcGVyc2lhbgBpbm9ybmFtZW50YWxkaW5nYmF0cwBpbmJyYWlsbGVwYXR0ZXJucwBpbnZhcmlhdGlvbnNlbGVjdG9ycwBjYXNlaWdub3JhYmxlAGlueWlyYWRpY2FscwBpbm5vYmxvY2sAaW52ZXJ0aWNhbGZvcm1zAGluZXRoaW9waWNzdXBwbGVtZW50AHNoYXJhZGEAaW5iYWxpbmVzZQBpbnZlZGljZXh0ZW5zaW9ucwB3b3JkAGlubWlzY2VsbGFuZW91c21hdGhlbWF0aWNhbHN5bWJvbHNiAHRhbWwAb2xjawBpZHNiAG9sb3dlcgBkZWNpbWFsbnVtYmVyAGF2c3QAaW5jeXJpbGxpY2V4dGVuZGVkYQBvbGNoaWtpAHNocmQAaW50YWl4dWFuamluZ3N5bWJvbHMAaW50YWl2aWV0AHVnYXIAaW5jamtzeW1ib2xzYW5kcHVuY3R1YXRpb24AYm9wb21vZm8AaW5saXN1AGlub2xkcGVybWljAHNpZGRoYW0AemFuYWJhemFyc3F1YXJlAGFzc2lnbmVkAG1lZGYAY2xvc2VwdW5jdHVhdGlvbgBzYXJiAHNvcmFzb21wZW5nAGludmFyaWF0aW9uc2VsZWN0b3Jzc3VwcGxlbWVudABpbmhhbmd1bGphbW8AbWVkZWZhaWRyaW4AcGhhZwBpbmxpc3VzdXBwbGVtZW50AGluY29wdGljAGluc3lyaWFjc3VwcGxlbWVudABpbmhhbmd1bGphbW9leHRlbmRlZGEAY3lybABpbnNob3J0aGFuZGZvcm1hdGNvbnRyb2xzAGluY3lyaWxsaWNleHRlbmRlZGMAZ3VqcgBjd3UAZ3VqYXJhdGkAc3BhY2luZ21hcmsAYWxwaGEAbWx5bQBpbnBhbG15cmVuZQBtYWxheWFsYW0Ac3BhY2UAaW5sZXBjaGEAcGFsbXlyZW5lAHNveW8AbWVyb2l0aWNoaWVyb2dseXBocwB4c3V4AGludGVsdWd1AGluZGV2YW5hZ2FyaWV4dGVuZGVkAGlubWVyb2l0aWNjdXJzaXZlAGRzcnQAdGhhYQB0aGFhbmEAYnVnaQB0aGFpAHNvZ2QAdGl0bGVjYXNlbGV0dGVyAGlubWF0aGVtYXRpY2FsYWxwaGFudW1lcmljc3ltYm9scwBvcmtoAGNhdWNhc2lhbmFsYmFuaWFuAGluYmFtdW0AZGVzZXJldABpbmdlb3JnaWFuc3VwcGxlbWVudABidWdpbmVzZQBzZXBhcmF0b3IAaW5zbWFsbGZvcm12YXJpYW50cwB0aXJoAGluYnJhaG1pAG5kAHBobngAbmV3YQBpbmNvbWJpbmluZ2RpYWNyaXRpY2FsbWFya3MAbWFoagBpbmNvbWJpbmluZ2RpYWNyaXRpY2FsbWFya3Nmb3JzeW1ib2xzAG9sZHBlcnNpYW4AbWFoYWphbmkAdGFpdGhhbQBuZXd0YWlsdWUAbmV3bGluZQBzeXJjAGlubW9uZ29saWFuc3VwcGxlbWVudABpbnVuaWZpZWRjYW5hZGlhbmFib3JpZ2luYWxzeWxsYWJpY3NleHRlbmRlZGEAc2hhdwBidWhkAHZpdGhrdXFpAG51bWJlcgBpbnN1dHRvbnNpZ253cml0aW5nAHZhcmlhdGlvbnNlbGVjdG9yAGV0aGkAbGVwY2hhAHRpcmh1dGEAcm9oZwBhaGV4AGluY29wdGljZXBhY3RudW1iZXJzAHdhbmNobwBpbmNqa3VuaWZpZWRpZGVvZ3JhcGhzZXh0ZW5zaW9uZwBraG9qAGN1bmVpZm9ybQBpbmR1cGxveWFuAHVnYXJpdGljAGluc3ltYm9sc2FuZHBpY3RvZ3JhcGhzZXh0ZW5kZWRhAG9sZHBlcm1pYwBpbmNvbWJpbmluZ2RpYWNyaXRpY2FsbWFya3NzdXBwbGVtZW50AGtodWRhd2FkaQB0YW5nAHN5cmlhYwB0YWdiYW53YQBtb2RpZmllcmxldHRlcgBpbmN1cnJlbmN5c3ltYm9scwBpbm55aWFrZW5ncHVhY2h1ZWhtb25nAHRhbWlsAHRhbHUAaW5nb3RoaWMAaW51bmlmaWVkY2FuYWRpYW5hYm9yaWdpbmFsc3lsbGFiaWNzAHdjaG8AaW5jb21iaW5pbmdkaWFjcml0aWNhbG1hcmtzZXh0ZW5kZWQAb2dhbQB0ZWx1AGlkc3RyaW5hcnlvcGVyYXRvcgBpbmJlbmdhbGkAbmwAc3Vycm9nYXRlAGViYXNlAGhhbmcAaW5idWdpbmVzZQBtYXRoc3ltYm9sAGludml0aGt1cWkAdml0aABpbmNqa3JhZGljYWxzc3VwcGxlbWVudABpbmd1amFyYXRpAGluZ2xhZ29saXRpYwBpbmd1bmphbGFnb25kaQBwaGFnc3BhAGN3Y2YAbmNoYXIAb3RoZXJpZGNvbnRpbnVlAHdoaXRlc3BhY2UAaW5saW5lYXJic3lsbGFiYXJ5AHNnbncAb3RoZXIAaGlyYWdhbmEAaW5waGFnc3BhAG90aGVybnVtYmVyAGlucmVqYW5nAG9zZ2UAaW5jamt1bmlmaWVkaWRlb2dyYXBoc2V4dGVuc2lvbmIAaW50YWdhbG9nAGluYmFzc2F2YWgAdGFuZ3V0AGhtbmcAaW5lbmNsb3NlZGNqa2xldHRlcnNhbmRtb250aHMAY3VycmVuY3lzeW1ib2wAaW5saW1idQBpbmJ1aGlkAGluZXRoaW9waWNleHRlbmRlZGEAc3lsbwBkYXNoAHdhcmFuZ2NpdGkAb2FscGhhAG9sZGl0YWxpYwBpbm90dG9tYW5zaXlhcW51bWJlcnMAc3BhY2VzZXBhcmF0b3IAaW5sYXRpbjFzdXBwbGVtZW50AG90aGVyYWxwaGFiZXRpYwBjaGFuZ2Vzd2hlbmNhc2VtYXBwZWQAaW5hZWdlYW5udW1iZXJzAGludW5pZmllZGNhbmFkaWFuYWJvcmlnaW5hbHN5bGxhYmljc2V4dGVuZGVkAGJ1aGlkAGluamF2YW5lc2UAY3lyaWxsaWMAZG9ncmEAbm9uY2hhcmFjdGVyY29kZXBvaW50AGluaGFuZ3Vsc3lsbGFibGVzAGJhc3NhdmFoAGlubGV0dGVybGlrZXN5bWJvbHMAaW5jb21iaW5pbmdoYWxmbWFya3MAaW5hcmFiaWNtYXRoZW1hdGljYWxhbHBoYWJldGljc3ltYm9scwBvcnlhAGlucHJpdmF0ZXVzZWFyZWEAY2hhbmdlc3doZW50aXRsZWNhc2VkAGRvZ3IAaGVicgBpbnRhZ2JhbndhAGludGlmaW5hZ2gAaW5ib3BvbW9mbwBuYXJiAHJqbmcAaW5hbHBoYWJldGljcHJlc2VudGF0aW9uZm9ybXMAaW5jamt1bmlmaWVkaWRlb2dyYXBoc2V4dGVuc2lvbmYAaW5zeW1ib2xzZm9ybGVnYWN5Y29tcHV0aW5nAG9sZGh1bmdhcmlhbgBmaW5hbHB1bmN0dWF0aW9uAGlucGF1Y2luaGF1AGlucHNhbHRlcnBhaGxhdmkAenAAcGhscABpbmFyYWJpY3ByZXNlbnRhdGlvbmZvcm1zYgBub25zcGFjaW5nbWFyawBkZXZhAHRhdnQAaG1ucABkZXZhbmFnYXJpAGtoaXRhbnNtYWxsc2NyaXB0AGtheWFobGkAaW5iYW11bXN1cHBsZW1lbnQAc3lsb3RpbmFncmkAdGlidABlcHJlcwB0aWJldGFuAGVsYmEAb3NtYW55YQBpbmRpdmVzYWt1cnUAb2xkdHVya2ljAGNoYW5nZXN3aGVubG93ZXJjYXNlZABjeXByb21pbm9hbgBpbmV0aGlvcGljZXh0ZW5kZWQAZW1vamlwcmVzZW50YXRpb24AYW55AG90aGVybG93ZXJjYXNlAG91Z3IAaW5oZWJyZXcAc29mdGRvdHRlZABpbm1hdGhlbWF0aWNhbG9wZXJhdG9ycwBpbmFsY2hlbWljYWxzeW1ib2xzAGlubWFoam9uZ3RpbGVzAGhhbmd1bABleHQAb21hdGgAaW50YW5ndXRjb21wb25lbnRzAG90aGVybGV0dGVyAG5iYXQAbmFiYXRhZWFuAG5zaHUAcGFyYWdyYXBoc2VwYXJhdG9yAGluYXJhYmljZXh0ZW5kZWRiAGlubGF0aW5leHRlbmRlZGcAY2hhbmdlc3doZW51cHBlcmNhc2VkAGh1bmcAaW5wbGF5aW5nY2FyZHMAaW5hcmFiaWNzdXBwbGVtZW50AGlueWlqaW5naGV4YWdyYW1zeW1ib2xzAGlucGhvbmV0aWNleHRlbnNpb25zAG90aGVydXBwZXJjYXNlAG90aGVyaWRzdGFydABlbGJhc2FuAGVseW0AY2YAaW5pbmRpY3NpeWFxbnVtYmVycwBvdGhlcnN5bWJvbABleHRlbmRlcgBleHRwaWN0AHdzcGFjZQBwZgBlbHltYWljAGludGFuZ3V0c3VwcGxlbWVudABjeXByaW90AHN5bWJvbABpbmN5cmlsbGljZXh0ZW5kZWRiAGluc3VwZXJzY3JpcHRzYW5kc3Vic2NyaXB0cwBpbnlpc3lsbGFibGVzAGlucGhvbmV0aWNleHRlbnNpb25zc3VwcGxlbWVudABvbGRzb2dkaWFuAGluZ2VvcmdpYW5leHRlbmRlZABobHV3AGRpZ2l0AGluaGFuZ3VsamFtb2V4dGVuZGVkYgBpbmhpZ2hwcml2YXRldXNlc3Vycm9nYXRlcwBpbnBhaGF3aGhtb25nAG9naGFtAGluc3VwcGxlbWVudGFsYXJyb3dzYQBvdXBwZXIAYWdoYgBvdGhlcm1hdGgAbnVzaHUAc295b21ibwBpbmxhdGluZXh0ZW5kZWRiAGFscGhhYmV0aWMAaW5zdXBwbGVtZW50YWxhcnJvd3NjAGluc3VwcGxlbWVudGFsbWF0aGVtYXRpY2Fsb3BlcmF0b3JzAG90aGVyZGVmYXVsdGlnbm9yYWJsZWNvZGVwb2ludABkZXByZWNhdGVkAG9sZG5vcnRoYXJhYmlhbgBpbmN5cHJpb3RzeWxsYWJhcnkAZXh0ZW5kZWRwaWN0b2dyYXBoaWMAdW5pZmllZGlkZW9ncmFwaABwYWhhd2hobW9uZwBkaXZlc2FrdXJ1AHNpZ253cml0aW5nAHRhZ2IAdGlmaW5hZ2gAdXBwZXIAaW5oYWxmd2lkdGhhbmRmdWxsd2lkdGhmb3JtcwB1cHBlcmNhc2UAZXRoaW9waWMAbW9kaWZpZXJzeW1ib2wAb3RoZXJwdW5jdHVhdGlvbgByZWphbmcAaW5ldGhpb3BpY2V4dGVuZGVkYgB0Zm5nAGhleABpbnN1cHBsZW1lbnRhbHB1bmN0dWF0aW9uAHRnbGcAaW5sYXRpbmV4dGVuZGVkZgB0YWdhbG9nAGhhbmlmaXJvaGluZ3lhAGVjb21wAGluZ2xhZ29saXRpY3N1cHBsZW1lbnQAaGV4ZGlnaXQAY2hhbmdlc3doZW5jYXNlZm9sZGVkAGRhc2hwdW5jdHVhdGlvbgBvbGRzb3V0aGFyYWJpYW4AZHVwbABpbmVneXB0aWFuaGllcm9nbHlwaHMAdGVsdWd1AHVwcGVyY2FzZWxldHRlcgBpbmVneXB0aWFuaGllcm9nbHlwaGZvcm1hdGNvbnRyb2xzAGh5cGhlbgBoZWJyZXcAaW5oaWdoc3Vycm9nYXRlcwB6eXl5AG9ncmV4dABvdGhlcmdyYXBoZW1lZXh0ZW5kAGRlcABpbnN1cHBsZW1lbnRhbGFycm93c2IAZGVmYXVsdGlnbm9yYWJsZWNvZGVwb2ludABpbmhhbmd1bGNvbXBhdGliaWxpdHlqYW1vAG9sZHV5Z2h1cgBpbnN1cHBsZW1lbnRhcnlwcml2YXRldXNlYXJlYWEAaW5ib3BvbW9mb2V4dGVuZGVkAGluc3VwcGxlbWVudGFsc3ltYm9sc2FuZHBpY3RvZ3JhcGhzAG55aWFrZW5ncHVhY2h1ZWhtb25nAG9wZW5wdW5jdHVh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Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7KBQnJiUOBSQUBxkiHSAQOx87OwIBOxkPOw47Oxw7Ajs7Ows7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Oxg7Fjs7Czs7Ozs7BzsAOzsQOwE7OxA7OzsPOzs7Bjs7OzsAOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OwYDDg4ODg4OAQ4ODg4ODg4ODg4ADg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODgAODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODgQODgUODgQODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODgoODg4ODgkOAQ4ODg4ODg4ODg4OAA4ODggODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg44ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4OAADChk4OB4AODgAFDg4OA84OBQ4HjgAADg4ODg4ODg4Dzg4ODg4GTgKODg4OAU4ADgAOAU4OBQ4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODgAAwoZODgeADg4ABQ4ODgPODgUOB44AAA4ODg4ODg4OA84ODg4OBk4Cjg4ODgFOAA4ADgFODgUODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4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AGwHAQBKbgEAzw8BABYBAADMAAEA2iwAAD8LAQDaBAAAwwQBANoeAACECAEA2h8AAF8JAQC8JAAA1AkBAJoDAAAKAwEAxBAAAMMLAQDaAAAAmQABABQEAQCnDQEAFCwAAEwKAQAUBAAAjQMBABQeAABpBwEAuiQAAM4JAQAUAQAAyQABAP///////wAAwhAAAL0LAQCOAwAARwMBABoEAQC5DQEAGiwAAF4KAQAaBAAAoAMBABoeAAByBwEAGh8AANsIAQAaAQAA0gABAP///////wAAtiQAAMIJAQD///////8AAP///////wAAigMAAOYCAQAYBAEAsw0BABgsAABYCgEAGAQAAJoDAQAYHgAAbwcBABgfAADVCAEAGAEAAM8AAQAOBAEAlQ0BAA4sAAA6CgEADgQAABEEAQAOHgAAYAcBAA4fAADPCAEADgEAAMAAAQAC6QEAFxABAP///////wAAxyQAAPUJAQAMBAEAjw0BAAwsAAA0CgEADAQAAAsEAQAMHgAAXQcBAAwfAADJCAEADAEAAL0AAQAIBAEAgw0BAAgsAAAoCgEACAQAAP8DAQAIHgAAVwcBAAgfAAC9CAEACAEAALcAAQAGBAEAfQ0BAAYsAAAiCgEABgQAAPkDAQAGHgAAVAcBAP///////wAABgEAALQAAQD///////8AAAIFAAD/BAEABAQBAHcNAQAELAAAHAoBAAQEAADzAwEABB4AAFEHAQD///////8AAAQBAACxAAEAAAQBAGsNAQAALAAAEAoBAAAEAADnAwEAAB4AAEsHAQD///////8AAAABAACrAAEA////////AAB1BQEAXg4BAJQFAQCyDgEAKiwAAI4KAQAqBAAA1AMBACoeAACKBwEAKh8AAO0IAQAqAQAA6gABACqnAABLDAEAwgMAACYDAQAmBAEA3Q0BACYsAACCCgEAJgQAAMgDAQAmHgAAhAcBALcEAQD4DQEAJgEAAOQAAQAmpwAARQwBAJ4DAAAYAwEAtx8AAAoAAwC3AQAAwgIBAJIFAQCvDgEAt6sAABUHAQD///////8AALccAAArBgEAewEAAFwBAQB7pwAAtAwBAHurAABhBgEAjAMAAEQDAQAuLAAAmgoBAC4EAADhAwEALh4AAJAHAQAuHwAA+QgBAC4BAADwAAEALqcAAFEMAQCPHwAApAACAI8BAABxAgEA////////AACPqwAAnQYBAAL7AAAMAAIAiAMAAOACAQCPDAEA5Q4BAP///////wAALCwAAJQKAQAsBAAA2wMBACweAACNBwEALB8AAPMIAQAsAQAA7QABACynAABODAEAKCwAAIgKAQAoBAAAzgMBACgeAACHBwEAKB8AAOcIAQAoAQAA5wABACinAABIDAEA////////AAD///////8AAIYFAQCODgEAJAQBANcNAQAkLAAAfAoBACQEAADCAwEAJB4AAIEHAQBHBQAAhgUBACQBAADhAAEAJKcAAEIMAQAiBAEA0Q0BACIsAAB2CgEAIgQAALoDAQAiHgAAfgcBADP/AABTDQEAIgEAAN4AAQAipwAAPwwBANoDAABTAwEAwAQBABMOAQDALAAAGAsBAMAEAACxBAEAwB4AAF0IAQAx/wAATQ0BADsCAABBAgEAwKcAAAINAQCzBAEA7A0BAMAAAABNAAEA////////AAAqIQAAGwABALMfAAA+AAIAswEAAJIBAQCzpwAAGg0BALOrAAAJBwEA////////AACzHAAAHwYBAP///////wAAJiEAADoDAQA1BQAAUAUBALcQAACcCwEAsQQBAOYNAQD///////8AALcYAQCWDwEASgIAAFMCAQCOBQEAow4BALEBAAC5AgEAsacAALACAQCxqwAAAwcBAP///////wAAsRwAABkGAQCxDAEASw8BADwFAABlBQEA////////AAAcAgAAIAIBAE4eAADABwEAigUBAJoOAQBOAQAAGgEBAE6nAAB+DAEAqx8AAOAAAgBOAAAAJQABAKunAAB3AgEAq6sAAPEGAQAWAgAAFwIBAKscAAAHBgEAqwwBADkPAQCXHgAAIgACAJcfAADMAAIAlwEAAIkCAQBOpgAA5QsBAJerAAC1BgEAggUBAIIOAQCXHAAAywUBAJcMAQD9DgEA////////AABObgEA2w8BAHEFAQBSDgEAFAIAABQCAQDEJAAA7AkBAH4sAABEAgEAfgQAAEUEAQB+HgAACQgBACr/AAA4DQEAgAUBAHwOAQB+pwAAtwwBAH6rAABqBgEAGgIAAB0CAQDCJAAA5gkBAKkfAADWAAIAqQEAAK0CAQAm/wAALA0BAKmrAADrBgEAjQUBAKAOAQCpHAAAAQYBAKkMAQAzDwEA////////AAD///////8AABgCAAAaAgEAwBAAALcLAQAgBAEAyw0BACAsAABwCgEAIAQAALMDAQAgHgAAewcBAA4CAAALAgEAIAEAANsAAQCzEAAAkAsBAP///////wAALv8AAEQNAQCzGAEAig8BAP///////wAAkR8AAK4AAgCRAQAAcQEBAAwCAAAIAgEAkasAAKMGAQD///////8AAJEcAAC5BQEAkQwBAOsOAQD///////8AAAgCAAACAgEAsRAAAIoLAQDVAQAAuQEBACz/AAA+DQEAsRgBAIQPAQDVAAAAjQABAAYCAAD/AQEAjwMAAEoDAQD///////8AACj/AAAyDQEA1CwAADYLAQDUBAAAugQBANQeAAB7CAEAjAUBAJ0OAQAEAgAA/AEBAKsQAAB4CwEAOwUAAGIFAQDUAAAAigABAKsYAQByDwEAJP8AACYNAQAAAgAA9gEBAP///////wAA////////AAAc6QEAZRABAP///////wAAiAUBAJQOAQAi/wAAIA0BAP///////wAAKgIAADICAQD///////8AAP4EAAD5BAEA/h4AALoIAQAW6QEAUxABAP4BAADzAQEA////////AABKBQAAjwUBACYCAAAsAgEAHgQBAMUNAQAeLAAAagoBAB4EAACsAwEAHh4AAHgHAQD///////8AAB4BAADYAAEA////////AACpEAAAcgsBABwFAAAmBQEAFOkBAE0QAQCpGAEAbA8BANIEAQBJDgEA0iwAADMLAQDSBAAAtwQBANIeAAB4CAEA0h8AABQAAwAuAgAAOAIBABYFAAAdBQEAGukBAF8QAQDSAAAAhAABAKcfAAD0AAIApwEAAIkBAQD///////8AAKerAADlBgEA////////AACnHAAA+wUBAKcMAQAtDwEA////////AAD///////8AABjpAQBZEAEALAIAADUCAQAUBQAAGgUBAHwEAABCBAEAfB4AAAYIAQAzBQAASgUBAA7pAQA7EAEAKAIAAC8CAQB8qwAAZAYBAEgeAAC3BwEASB8AABcJAQAaBQAAIwUBAEinAAB1DAEAMQUAAEQFAQBIAAAAFQABAAzpAQA1EAEAaywAAK8KAQAkAgAAKQIBAKsDAABBAwEAax8AAD4JAQD///////8AAAjpAQApEAEAGAUAACAFAQBIpgAA2wsBACICAAAmAgEA////////AACXAwAA/QIBAAbpAQAjEAEADgUAABEFAQBIbgEAyQ8BAP///////wAAVh4AAMwHAQBWHwAAPgADAFYBAAAmAQEAVqcAAIoMAQAE6QEAHRABAFYAAAA+AAEADAUAAA4FAQD///////8AABb7AAB9AAIA////////AAAA6QEAERABAP///////wAACAUAAAgFAQD///////8AAFamAADxCwEA////////AACpAwAAOgMBAP///////wAABgUAAAUFAQD///////8AAFZuAQDzDwEA////////AAAU+wAAbQACAP///////wAAtyQAAMUJAQD///////8AAAQFAAACBQEA4iwAAEsLAQDiBAAAzwQBAOIeAACQCAEA4h8AACQAAwDiAQAAzgEBAAAFAAD8BAEATgIAAFkCAQCnEAAAbAsBAP///////wAA////////AACnGAEAZg8BAJEDAADpAgEA////////AAAqBQAAOwUBAFQeAADJBwEAVB8AADkAAwBUAQAAIwEBAFSnAACHDAEA////////AABUAAAAOAABANUDAAAwAwEAJgUAADUFAQA5HwAAAgkBADkBAAD8AAEAEgQBAKENAQASLAAARgoBABIEAACGAwEAEh4AAGYHAQBUpgAA7gsBABIBAADGAAEAEAQBAJsNAQAQLAAAQAoBABAEAACAAwEAEB4AAGMHAQBUbgEA7Q8BABABAADDAAEA////////AABrIQAAsAkBAC4FAABBBQEAjwUBAKYOAQA/HwAAFAkBAD8BAAAFAQEABvsAAB0AAgBSHgAAxgcBAFIfAAA0AAMAUgEAACABAQBSpwAAhAwBAP///////wAAUgAAADEAAQD///////8AAAT7AAAFAAMA/gMAANcCAQAsBQAAPgUBACACAAB9AQEA////////AADAJAAA4AkBAAD7AAAEAAIAUqYAAOsLAQAoBQAAOAUBAFAeAADDBwEAUB8AAFQAAgBQAQAAHQEBAFCnAACBDAEAUm4BAOcPAQBQAAAAKwABAP///////wAAygQBADEOAQDKLAAAJwsBACQFAAAyBQEAyh4AAGwIAQDKHwAAWQkBAMoBAACpAQEA////////AABQpgAA6AsBAMoAAABsAAEAIgUAAC8FAQCnAwAANAMBAPAEAADkBAEA8B4AAKUIAQBQbgEA4Q8BAPABAAAUAAIA2CwAADwLAQDYBAAAwAQBANgeAACBCAEA2B8AAH0JAQD///////8AANinAAAUDQEA////////AADYAAAAkwABANYsAAA5CwEA1gQAAL0EAQDWHgAAfggBANYfAABMAAIA////////AADWpwAAEQ0BAP///////wAA1gAAAJAAAQDIBAEAKw4BAMgsAAAkCwEAuQQBAP4NAQDIHgAAaQgBAMgfAABTCQEAyAEAAKUBAQC5HwAAegkBAP///////wAAyAAAAGYAAQC5qwAAGwcBAP///////wAAuRwAADEGAQAeAgAAIwIBAMYEAQAlDgEAxiwAACELAQD///////8AAMYeAABmCAEAxh8AAEMAAgBOBQAAmwUBAManAABIBwEAxQQBACIOAQDGAAAAYAABAMUEAACiBAEAuwQBAAQOAQC1BAEA8g0BAMUBAAChAQEAxacAAKoCAQC7HwAAUAkBAMUAAABcAAEAtQEAAJUBAQC7qwAAIQcBALWrAAAPBwEAtQAAABEDAQC1HAAAJQYBAK8fAAD0AAIArwEAAI8BAQD///////8AAK+rAAD9BgEAaSwAAKwKAQCvHAAAEwYBAK8MAQBFDwEAaR8AADgJAQB+BQEAdg4BACDpAQBxEAEA////////AAClHwAA6gACAP///////wAASAIAAFACAQClqwAA3wYBAOIDAABfAwEApRwAAPUFAQClDAEAJw8BAP///////wAAOf8AAGUNAQCjHwAA4AACAP///////wAA////////AACjqwAA2QYBAKEfAADWAAIAoxwAAO8FAQCjDAEAIQ8BAKGrAADTBgEA////////AAChHAAA6QUBAKEMAQAbDwEAIAUAACwFAQCHHwAApAACAIcBAABrAQEA////////AACHqwAAhQYBAJEFAQCsDgEAhxwAABoEAQCHDAEAzQ4BAP///////wAA////////AAByLAAAsgoBAHIEAAAzBAEAch4AAPcHAQBNHwAAJgkBAHIBAABQAQEAuRAAAKILAQByqwAARgYBAE0AAAAiAAEAuRgBAJwPAQBwLAAAYgIBAHAEAAAwBAEAcB4AAPQHAQD///////8AAHABAABNAQEA////////AABwqwAAQAYBAG4sAACbAgEAbgQAAC0EAQBuHgAA8QcBAG4fAABHCQEAbgEAAEoBAQBupwAArgwBAE1uAQDYDwEAxRAAAMYLAQAe6QEAaxABAEUBAAAOAQEAuxAAAKgLAQC1EAAAlgsBAEUAAAAMAAEAuxgBAKIPAQC1GAEAkA8BAO4EAADhBAEA7h4AAKIIAQCvEAAAhAsBAO4BAADgAQEA////////AACvGAEAfg8BAGwEAAAqBAEAbB4AAO4HAQBsHwAAQQkBAGwBAABHAQEAbKcAAKsMAQBpIQAAqgkBAEVuAQDADwEApRAAAGYLAQD///////8AAB4FAAApBQEApRgBAGAPAQASAgAAEQIBAP///////wAA8AMAAAoDAQD///////8AAGymAAASDAEAoxAAAGALAQAQAgAADgIBANgDAABQAwEAoxgBAFoPAQChEAAAWgsBAP///////wAA////////AAChGAEAVA8BAP///////wAA////////AADWAwAAHgMBAGoEAAAnBAEAah4AAOsHAQBqHwAAOwkBAGoBAABEAQEAaqcAAKgMAQBoBAAAJAQBAGgeAADoBwEAaB8AADUJAQBoAQAAQQEBAGinAAClDAEAfAUBAHAOAQD///////8AAP///////wAARh4AALQHAQD///////8AAGqmAAAPDAEARqcAAHIMAQBIBQAAiQUBAEYAAAAPAAEA////////AABopgAADAwBAGQsAACkAgEAZAQAAB4EAQBkHgAA4gcBAP///////wAAZAEAADsBAQBkpwAAnwwBAEamAADYCwEA3iwAAEULAQDeBAAAyQQBAN4eAACKCAEAbiEAALkJAQDeAQAAyAEBAEZuAQDDDwEA////////AADeAAAApQABADAeAACTBwEAZKYAAAYMAQAwAQAABQECAFYFAACzBQEAYiwAAJICAQBiBAAAGgQBAGIeAADfBwEA////////AABiAQAAOAEBAGKnAACcDAEA////////AAD///////8AAP///////wAApQMAAC0DAQD///////8AAGwhAACzCQEARB4AALEHAQD///////8AAP///////wAARKcAAG8MAQBipgAAAwwBAEQAAAAJAAEAowMAACYDAQB5AQAAWQEBAHmnAACxDAEAeasAAFsGAQChAwAAIgMBAGAsAACgCgEAYAQAABcEAQBgHgAA2wcBAESmAADVCwEAYAEAADUBAQBgpwAAmQwBAP///////wAA////////AAAS6QEARxABAERuAQC9DwEAMh4AAJYHAQD///////8AADIBAADzAAEAMqcAAFQMAQAQ6QEAQRABAGohAACtCQEAYKYAAAAMAQBUBQAArQUBAP///////wAAcgMAAM4CAQBoIQAApwkBAM0EAQA6DgEA////////AADNBAAArgQBADkFAABcBQEA////////AADNAQAArQEBAP///////wAAcAMAAMsCAQDNAAAAdQABABIFAAAXBQEAzAQBADcOAQDMLAAAKgsBAM8EAQBADgEAzB4AAG8IAQDMHwAARwACABAFAAAUBQEAZCEAAJsJAQDPAQAAsAEBAMwAAAByAAEARQMAAAUDAQDPAAAAewABAD8FAABuBQEAywQBADQOAQDKJAAA/gkBAMsEAACrBAEAUgUAAKcFAQDLHwAAXAkBAMsBAACpAQEA7gMAAHEDAQDDBAEAHA4BAMsAAABvAAEAwwQAAJ8EAQDJBAEALg4BAMMfAABHAAIAyQQAAKgEAQBiIQAAlQkBAMkfAABWCQEAwwAAAFYAAQDJpwAACw0BAL8EAQAQDgEAyQAAAGkAAQBQBQAAoQUBAFUAAAA7AAEAvQQBAAoOAQB2BAAAOQQBAHYeAAD9BwEAv6sAAC0HAQB2AQAAVgEBAL8cAAA9BgEAdqsAAFIGAQC9qwAAJwcBAP///////wAAvRwAADcGAQD///////8AAMgkAAD4CQEA////////AAC5JAAAywkBAFVuAQDwDwEAYCEAAI8JAQCfHwAAzAACAJ8BAAChAgEAwQQBABYOAQCfqwAAzQYBAMEEAACcBAEAnxwAAOMFAQCfDAEAFQ8BADIhAACMCQEAxiQAAPIJAQBFAgAAvwIBAMEAAABQAAEAnR8AAMIAAgCdAQAAngIBAP///////wAAnasAAMcGAQDFJAAA7wkBAJ0cAADdBQEAnQwBAA8PAQC7JAAA0QkBAM0QAADMCwEAmx4AANsHAQCbHwAAuAACADD/AABKDQEA////////AACbqwAAwQYBAEMBAAALAQEAmxwAANcFAQCbDAEACQ8BAEMAAAAGAAEAmR4AACoAAgCZHwAArgACAN4DAABZAwEA////////AACZqwAAuwYBAJUfAADCAAIAmRwAANEFAQCZDAEAAw8B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ANEAAACBAAEA////////AAD0AwAAAAMBABUEAQCqDQEAFSwAAE8KAQAVBAAAkQMBABMEAQCkDQEAEywAAEkKAQATBAAAigMBAOwDAABuAwEAIf8AAB0NAQAPBAEAmA0BAA8sAAA9CgEADwQAABQEAQD///////8AAA8fAADSCAEA////////AADBJAAA4wkBAFUFAACwBQEA6gMAAGsDAQD///////8AAA0EAQCSDQEADSwAADcKAQANBAAADgQBAHYFAQBhDgEADR8AAMwIAQD///////8AAOgDAABoAwEA////////AAD///////8AADb/AABcDQEACwQBAIwNAQALLAAAMQoBAAsEAAAIBAEA////////AAALHwAAxggBAP///////wAA////////AADmAwAAZQMBAAkEAQCGDQEACSwAACsKAQAJBAAAAgQBAOQDAABiAwEACR8AAMAIAQAFBAEAeg0BAAUsAAAfCgEABQQAAPYDAQADBAEAdA0BAAMsAAAZCgEAAwQAAPADAQD///////8AANwDAABWAwEA////////AAArIQAAXAABAAEEAQBuDQEAASwAABMKAQABBAAA6gMBAPwEAAD2BAEA/B4AALcIAQD8HwAAYAACAPwBAADwAQEA////////AAD///////8AAEMFAAB6BQEA+AQAAPAEAQD4HgAAsQgBAPgfAABlCQEA+AEAAOoBAQAnBAEA4A0BACcsAACFCgEAJwQAAMsDAQCVBQEAtQ4BAPYEAADtBAEA9h4AAK4IAQD2HwAAXAACAPYBAAB0AQEAegQAAD8EAQB6HgAAAwgBAEsfAAAgCQEA////////AAA+AgAApgoBAHqrAABeBgEASwAAABsAAQAfBAEAyA0BAB8sAABtCgEAHwQAALADAQCDBQEAhQ4BAP///////wAAOP8AAGINAQD///////8AADoFAABfBQEALywAAJ0KAQAvBAAA5AMBAP///////wAALx8AAPwIAQBJBQAAjAUBAP///////wAAS24BANIPAQA0/wAAVg0BAC0sAACXCgEALQQAAN4DAQD///////8AAC0fAAD2CAEAgQUBAH8OAQB/BQEAeQ4BACv/AAA7DQEAKSwAAIsKAQApBAAA0QMBAP///////wAAKR8AAOoIAQAlBAEA2g0BACUsAAB/CgEAJQQAAMUDAQAjBAEA1A0BACMsAAB5CgEAIwQAAL8DAQARBAEAng0BABEsAABDCgEAEQQAAIMDAQAHBAEAgA0BAAcsAAAlCgEABwQAAPwDAQD///////8AAP///////wAAziQAAAoKAQD///////8AAEECAABKAgEA////////AAD///////8AAPwTAAA8BwEA////////AABCBQAAdwUBAP///////wAA////////AAD///////8AAP///////wAA+BMAADAHAQD///////8AAP///////wAA0QMAAAADAQD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAAh6QEAdBABAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAD4FAABrBQEA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAAn/wAALw0BAP///////wAA////////AAA2BQAAUwUBAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAAUwUAAKoFAQD///////8AAP///////wAA////////AABABQAAcQUBAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAC//AABHDQEA////////AAD///////8AAP///////wAAeAUBAGcOAQD///////8AABfpAQBWEAEA////////AAAt/wAAQQ0BAP///////wAAdAUBAFsOAQD///////8AAP///////wAAQQUAAHQFAQD///////8AACn/AAA1DQEA////////AAD///////8AAP///////wAA////////AAAl/wAAKQ0BAP///////wAA////////AAAj/wAAIw0BAB3pAQBoEAEA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAFEFAACkBQEA////////AAD///////8AAP///////wAA////////AAD///////8AADgFAABZBQEA////////AAD///////8AAP///////wAAG+kBAGIQAQD///////8AAP///////wAA////////AAD///////8AAP///////wAANAUAAE0FAQAZ6QEAXBABAP///////wAA////////AAD///////8AAE8FAACeBQEA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAAFekBAFAQAQD///////8AAP///////wAAE+kBAEoQAQD///////8AAP///////wAA////////AAD///////8AAA/pAQA+EAEA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAAF/sAAHUAAgD///////8AAP///////wAADekBADgQAQD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAAL6QEAMhABAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAACekBACwQAQD///////8AAP///////wAA////////AAD///////8AAAXpAQAgEAEA////////AAD///////8AAAPpAQAaEAEA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAAAekBABQQAQD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAAV+wAAcQACAP///////wAA////////AAAT+wAAeQACAP///////wAA////////AAD///////8AAB/pAQBuEAEA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAB6BQEAbQ4BAP///////wAASwUAAJIFAQD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AABHpAQBEEAEABfsAAB0AAgD///////8AAAfpAQAmEAEAA/sAAAAAAwD///////8AAP///////wAA////////AAD///////8AAP///////wAA////////AAAB+wAACAACAP//////////cgdLB9IAqwBuDYcHzwznAG4BIwX8BEgMxgxzDjgFHQL2ATAIbwSDAS8CvwLrCuQMcA7rBycERAHACBsA8wioDEwGMQBiBZUNwwiUA3cFnwCSAiIKDwxJBp4C4gceBDsB0g8MAKMKnwznD9UIUAVGBlMJQA6uCO0EgwKVCQYMEQleDtsHFwQ1AcAPAACgCpkMRAlSDkQF+A2KCMkEyAEFBH0CRQsADI4K/g2NCMwEywG0D1AASAtXBzgJtwBxDagLWgtxAcMLXQcIBb0A/QYRBF0L+QMCApoKDgWCCsICAweGCWgNCAIKDpMI0gTRAWsCXACHC6sLBA6QCM8EzgGxC1YASwuFDnsHawHbALkC8g2HCMYExQFcDSwFQgsPB4kJaQezAskACQB9DV4GCQe9CE0FGgXmDYEIwAQrBuoIFAI8CxQN9wZgBHcBFQ+9D9wK1QxVDkEJ5Ah+CL0EGw/jBacFOQsRDTkMegHrBqoCswXpBVgOcgsWDpkI2ATXAbUOaQC/DX4LwgMLAXcN5QZMClkDEA6WCNUE1AEnD2MA7wkLBFwDlAaaBpQKIQ8bB/UF9QmfC64PVwtcASMJdwLvBbQMDw+6C5UFFQcmDewNhAjDBAMA+QjdBT8LjgZHBZYLYgMFEAAIPAQDD3EJRwABCl8DrQWzCYwFtw+lANEF+wk7CfEGdQi0BFYD/Q6ZCzALDg38D4EL6QmoBGgJfQHLBb8JCw2qCWQOYwQzD6gPUAPfCtgMWw7IAtMGgAndCQEGvA2uB78DLQ88DL4GSQpsDE0DnA/fBxoEOAH7BQYA1wmcDEMO0gtKBREDGAOTAHsLaAOAApYPAwwgCScIVwQNCgkPug/TCswMIw0+CWUD9wczBFAB1wU0ALIKBwowDAoDegX0BzAETQF1Cy4A1wJvCz0O//90BesOOgaQAOoPFw2bAnkOVglTA9YOuQVvCJgJ5A///+MJKgtQCTQOqAjnBOMBkgmHAFQLUgaiDygOogjhBOABag57ACIOnwjeBN0BxwZ1ALoI+QTzAcUJqAA+AzkHHA6cCNsE2gFABm8A//+EDy0H6AckBEEBLgZ3ECcHpQxvD5UBXAXlByEEPgGmDhIAjAKiDAwMIQdWBQ0ONw4XEMwPJhBgAIoACQx6A8YH8AMgAYIGxg95CoQM7QhKCToOqwjqBOcBKAaNAGUC3w7rCxIHPAfOAv/////MB/wDJgFNECwJhQqKDMsCaw3//0UPHwZTDT8HoAZuAj8P8QuuBK0BEwb9BzkEVgHnCEEADQYyCUcDOQ+GBT0GwwfqAx0BXw13A3MKgQwHBv//sAH//8oG9g9xA3gPXwJiCegL//9uA70LpAngDcAH5AMaASoPKQltCn4MKRD//2sD0AZ9CU0N+AUiBlkC///lC9oNvQfeAxcBuA76AmcKewzUDboH2AMUAf//JQZhCngMVgJHDeILtwtMDrQI8wTtAVMCnADeCwQKtg2rB7YDXwElAOIOQwppDEENawWbBR4Dewi6BP//NRA7DTYLzwuMDZYHigPzANsPCxAZClQM6A4aCVEP+gc2BFMBuQk7AD4CHQ22Bd8GgAVKA3gItwT//9ECoQIzCwgJ//9RCJAEmAGsDvAPDAv2DK8OXAl7D/EHLQRKAZ4JKAAvEK4M///ZBm4FwgndDYgG4QMdEJgCiwZqCu4HKgRHAYEPIgDeD6sMdgb//2gFzwcCBCkB//9mBIsKjQwSDOIK2wxhDv/////YD/cOcQKMCfQLxQJEDckH9gMjAf//xQV/CocMhAf//+QAfQP/////RQxpBGUNNQXuC+UK3gxnDv//LALxDs4NtwfRAy8J/////1sKdQz//78F/AhZDdEJyA20B8sDUAL//9sLVQpyDPMDegKQD3QQfArCDbEHxQNNArEP2AtPCm8MNQloAjUNuQ0AA7oDCAHLCQUDRgrVCy4OpQjkBP//Lw2BAOwCig9KAiYJVg2PAZgNnAeXA/kAlw4pDSUKWgwdCUgH//+SDZkHkQP2ADMHIA0fClcMeg2NB8kL7QBwBncJgQdODOEAFAk+Bf//QgwGCEIEMgU1An4H///eAA4JKQKYBT8M+w3//y8F7w2kAk0AwgHpDSYC9gi/AeMNCBBpCLwBpQF0CWAIJAtiAfAItgkbCwUNRQiEBKEFAAeDCQAL9AaaDqcC/wPuBksPXQiICugGuwb//xgLAg2pBv//GQYREFoImQSeAXMGegkVC/8MpQtXCJYEmwFUCJMEEgv8DKMGDwv5DLIO//9iDeEITgiNBP//zAudBgkL8wypDsYLPwh+BIwBlwbtA/oKkQaODnYKWQHAC0oAGA+xDP//DA+PBYUGYgIGDyMQ///mBQAP0w7aBWcGSQ7BDtQF/w///5kAzgVrCdoCSwiKBFANrQn//wYL8AyjDrANqAewA7sO2wj//z0KZgznA///8gn//3AK5gmTCzoDRALgCX8GJgP//9oJXAL//6UP///pAs8Inw8zCHIEhgGZD2wP7grnDHYOWg8iAy0IbASAAUoN///oCuEMbQ7JCF0EGwMDCD8E2QrSDE8OTwZUDxUD//+SBQ4DDwiRDmUBNgxDBrsKvQz//24QqgX9Ao0LAhC5Af//rQJuCRgMQgfgAmoGsAk0BtIHCAQsATEORBCRCpAMsw2EALMDBQFpC///QAriBnQCJQ73C4YNkweDA3gAUQtHAhMK//+ADZAH///wADYHYwv2AlEMOwIXCUEFdA2KB/UN6gD//zgCKgdLDP//Agk7Bf//Rg6xCPAE6gEyApYAHw7//xMOBw62AXIATgtmAFkAAQ6zAfoG/////1MAcgixBKsEqQFsCC0LZgj6Dv//Jwv//yELJAfcBhgHDAebDcgFmgPWBtQCBgcoCk4P///jAs0GxAYgEKUEwQb//7UGHAYIDacNQg+mA/8A/////zQK//+iBKEBYwgQBgwISATUCR4LQQK4CroMuAaLDqQF//90AxIPkw///x8ArwoVDEgIhwRlBbIG4AUDC68GnQ6VAmQGPA/0DjAPJA8xBv//1Q/uDnEQHg8KBsIF/gXyBeUO3A55BrwF2Q7sBc0O//9CCIEE/////+wJ/QpQEJQO////////iQGqDaUHqQOrD38OShA3CmMM0A7OCQoK/gn//zIQbQbICUQD+AkaEEEDjQ80A8oOWAb//8cOhw8bCEsEFBD//ysOxwp+D3UP//9+AHIP//9mDzkIeAS8AjcDJAz0Cu0Mgg42CHUECQhFBP//8QrqDHwOtwwwAzAHngUtA2kPEgjdAmgB//9bBr4KwAz/////sAX//w4QVQZjDz4AtQpgDxsM8AKDBbwJDwCmCrcI9gTwAVMFogD//9gHFAQyAYYC8w+dCpYMZgdfCcYA///DD///oQn//0cJFwX9C9UHDgQvAeYCEQKXCpMMpA2iB6MD/////0gPMQpgDJ8E3gj6C54NnwedA2MHFgbDACsKXQxUBxkOtABRBxQFsQBsAP////8FBQ4CTgcCBa4ArAb/ATwIewT8Af///wT3CtgIiA5oEP//+QHSCB4H///MCCoIWgR0ASQIVATWCv//xgjQCskM//9hBv//////////FQgzDDcGRAAtDMEKwwz//4kFOADLDZALzgMRAX0FsAJYCh4M//8rAP//jw35D40DcQX//2UJHArtD///xA6nCVkJ//8YAKwK//+bCeEPXwX/////TQmKCzYPjwIyDY8JbAsLCf//ZgucBM8PBAYVAKkK/////2ALWQXFDf//yAMOASoDiQJSCmsQrQ3//6wDAgH//8kPOgr//6YGoQ0+EKAD/AD//10PLgoYCIkNOBCGA4MNxAqAAxYK//94BxAK2AAsDSwQ//+2Av//IQwpBXUH1w3VANsD//8jApIBZAr//yYFBQmgDm8H/wjPACACbAdgB8wAwABaByAFugAhCFEEHQURBRoCzQoLBXwGFwILAh4ITgQFAr4OPg3KCtENKgzUA///UxD//14K//////////8nDP////////////////////////////9fEEUH/////////////////////////////zgN////////////////////////tAv///////9XD/////////////+uC/////////////////////////////+iC////////5wLhAv/////eAv////////////////////////////////zAv//////////////////YhD/////////////Gg3//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////1wQ//////////////////////////9WEP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////0cQ/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2UQ/////////////////////1kQ//////////////////9BEP////87EAAAAAAAAGUA/QBMAB0AGADvAGAARwBcAEMABAA+AAgAOgDqAG0ApABYAFQAUADWAAAANgAFATIAaQB5AH0AAQEqACYA+QAuAHUADABxAPQA5QDgANsA0QAQAMwAxwDCAL0AuACzAK4AqQAUACIAnwCaAJUAkACLAIYAgQBB8IkRC+EIPgAvAB8AOQApABkANAAkABQAQwAPAAoABQAAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAMAAAADAAAAAwAAAAMA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AAAABAUAAAcFAAABAAAABgUAAAkFAAABAAAACAUAAAsFAAABAAAACgUAAA0FAAABAAAADAUAAA8FAAABAAAADgUAABEFAAABAAAAEAUAABMFAAABAAAAEgUAABUFAAABAAAAFAUAABcFAAABAAAAFgUAABkFAAABAAAAGAUAABsFAAABAAAAGgUAAB0FAAABAAAAHAUAAB8FAAABAAAAHgUAACEFAAABAAAAIAUAACMFAAABAAAAIgUAACUFAAABAAAAJAUAACcFAAABAAAAJgUAACkFAAABAAAAKAUAACsFAAABAAAAKgUAAC0FAAABAAAALAUAAC8FAAABAAAALgUAAGEFAAABAAAAMQUAAGIFAAABAAAAMgUAAGMFAAABAAAAMwUAAGQFAAABAAAANAUAAGUFAAABAAAANQUAAGYFAAABAAAANgUAAGcFAAABAAAANwUAAGgFAAABAAAAOAUAAGkFAAABAAAAOQUAAGoFAAABAAAAOgUAAGsFAAABAAAAOwUAAGwFAAABAAAAPAUAAG0FAAABAAAAPQUAAG4FAAABAAAAPgUAAG8FAAABAAAAPwUAAHAFAAABAAAAQAUAAHEFAAABAAAAQQUAAHIFAAABAAAAQgUAAHMFAAABAAAAQwUAAHQFAAABAAAARAUAAHUFAAABAAAARQUAAHYFAAABAAAARgUAAHcFAAABAAAARwUAAHgFAAABAAAASAUAAHkFAAABAAAASQUAAHoFAAABAAAASgUAAHsFAAABAAAASwUAAHwFAAABAAAATAUAAH0FAAABAAAATQUAAH4FAAABAAAATgUAAH8FAAABAAAATwUAAIAFAAABAAAAUAUAAIEFAAABAAAAUQUAAIIFAAABAAAAUgUAAIMFAAABAAAAUwUAAIQFAAABAAAAVAUAAIUFAAABAAAAVQUAAIYFAAABAAAAVgUAANAQAAABAAAAkBwAANEQAAABAAAAkRwAANIQAAABAAAAkhwAANMQAAABAAAAkxwAANQQAAABAAAAlBwAANUQAAABAAAAlRwAANYQAAABAAAAlhwAANcQAAABAAAAlxwAANgQAAABAAAAmBwAANkQAAABAAAAmRwAANoQAAABAAAAmhwAANsQAAABAAAAmxwAANwQAAABAAAAnBwAAN0QAAABAAAAnRwAAN4QAAABAAAAnhwAAN8QAAABAAAAnxwAAOAQAAABAAAAoBwAAOEQAAABAAAAoRwAAOIQAAABAAAAohwAAOMQAAABAAAAoxwAAOQQAAABAAAApBwAAOUQAAABAAAApRwAAOYQAAABAAAAphwAAOcQAAABAAAApxwAAOgQAAABAAAAqBwAAOkQAAABAAAAqRwAAOoQAAABAAAAqhwAAOsQAAABAAAAqxwAAOwQAAABAAAArBwAAO0QAAABAAAArRwAAO4QAAABAAAArhwAAO8QAAABAAAArxwAAPAQAAABAAAAsBwAAPEQAAABAAAAsRwAAPIQAAABAAAAshwAAPMQAAABAAAAsxwAAPQQAAABAAAAtBwAAPUQAAABAAAAtRwAAPYQAAABAAAAthwAAPcQAAABAAAAtxwAAPgQAAABAAAAuBwAAPkQAAABAAAAuRwAAPoQAAABAAAAuhwAAP0QAAABAAAAvRwAAP4QAAABAAAAvhwAAP8QAAABAAAAvxwAAKATAAABAAAAcKsAAKETAAABAAAAcasAAKITAAABAAAAcqsAAKMTAAABAAAAc6sAAKQTAAABAAAAdKsAAKUTAAABAAAAdasAAKYTAAABAAAAdqsAAKcTAAABAAAAd6sAAKgTAAABAAAAeKsAAKkTAAABAAAAeasAAKoTAAABAAAAeqsAAKsTAAABAAAAe6sAAKwTAAABAAAAfKsAAK0TAAABAAAAfasAAK4TAAABAAAAfqsAAK8TAAABAAAAf6sAALATAAABAAAAgKsAALETAAABAAAAgasAALITAAABAAAAgqsAALMTAAABAAAAg6sAALQTAAABAAAAhKsAALUTAAABAAAAhasAALYTAAABAAAAhqsAALcTAAABAAAAh6sAALgTAAABAAAAiKsAALkTAAABAAAAiasAALoTAAABAAAAiqsAALsTAAABAAAAi6sAALwTAAABAAAAjKsAAL0TAAABAAAAjasAAL4TAAABAAAAjqsAAL8TAAABAAAAj6sAAMATAAABAAAAkKsAAMETAAABAAAAkasAAMITAAABAAAAkqsAAMMTAAABAAAAk6sAAMQTAAABAAAAlKsAAMUTAAABAAAAlasAAMYTAAABAAAAlqsAAMcTAAABAAAAl6sAAMgTAAABAAAAmKsAAMkTAAABAAAAmasAAMoTAAABAAAAmqsAAMsTAAABAAAAm6sAAMwTAAABAAAAnKsAAM0TAAABAAAAnasAAM4TAAABAAAAnqsAAM8TAAABAAAAn6sAANATAAABAAAAoKsAANETAAABAAAAoasAANITAAABAAAAoqsAANMTAAABAAAAo6sAANQTAAABAAAApKsAANUTAAABAAAApasAANYTAAABAAAApqsAANcTAAABAAAAp6sAANgTAAABAAAAqKsAANkTAAABAAAAqasAANoTAAABAAAAqqsAANsTAAABAAAAq6sAANwTAAABAAAArKsAAN0TAAABAAAArasAAN4TAAABAAAArqsAAN8TAAABAAAAr6sAAOATAAABAAAAsKsAAOETAAABAAAAsasAAOITAAABAAAAsqsAAOMTAAABAAAAs6sAAOQTAAABAAAAtKsAAOUTAAABAAAAtasAAOYTAAABAAAAtqsAAOcTAAABAAAAt6sAAOgTAAABAAAAuKsAAOkTAAABAAAAuasAAOoTAAABAAAAuqsAAOsTAAABAAAAu6sAAOwTAAABAAAAvKsAAO0TAAABAAAAvasAAO4TAAABAAAAvqsAAO8TAAABAAAAv6sAAPATAAABAAAA+BMAAPETAAABAAAA+RMAAPITAAABAAAA+hMAAPMTAAABAAAA+xMAAPQTAAABAAAA/BMAAPUTAAABAAAA/RMAAHkdAAABAAAAfacAAH0dAAABAAAAYywAAI4dAAABAAAAxqcAAAEeAAABAAAAAB4AAAMeAAABAAAAAh4AAAUeAAABAAAABB4AAAceAAABAAAABh4AAAkeAAABAAAACB4AAAseAAABAAAACh4AAA0eAAABAAAADB4AAA8eAAABAAAADh4AABEeAAABAAAAEB4AABMeAAABAAAAEh4AABUeAAABAAAAFB4AABceAAABAAAAFh4AABkeAAABAAAAGB4AABseAAABAAAAGh4AAB0eAAABAAAAHB4AAB8eAAABAAAAHh4AACEeAAABAAAAIB4AACMeAAABAAAAIh4AACUeAAABAAAAJB4AACceAAABAAAAJh4AACkeAAABAAAAKB4AACseAAABAAAAKh4AAC0eAAABAAAALB4AAC8eAAABAAAALh4AADEeAAABAAAAMB4AADMeAAABAAAAMh4AADUeAAABAAAANB4AADceAAABAAAANh4AADkeAAABAAAAOB4AADseAAABAAAAOh4AAD0eAAAB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LAAAAQAAABMsAABELAAAAQAAABQsAABFLAAAAQAAABUsAABGLAAAAQAAABYsAABHLAAAAQAAABcsAABILAAAAQAAABgsAABJLAAAAQAAABksAABKLAAAAQAAABosAABLLAAAAQAAABssAABMLAAAAQAAABwsAABNLAAAAQAAAB0sAABOLAAAAQAAAB4sAABPLAAAAQAAAB8sAABQLAAAAQAAACAsAABRLAAAAQAAACEsAABSLAAAAQAAACIsAABTLAAAAQAAACMsAABULAAAAQAAACQsAABVLAAAAQAAACUsAABWLAAAAQAAACYsAABXLAAAAQAAACcsAABYLAAAAQAAACgsAABZLAAAAQAAACksAABaLAAAAQAAACosAABbLAAAAQAAACssAABcLAAAAQAAACwsAABdLAAAAQAAAC0sAABeLAAAAQAAAC4sAABfLAAAAQAAAC8sAABhLAAAAQAAAGAsAABlLAAAAQAAADoCAABmLAAAAQAAAD4CAABoLAAAAQAAAGcsAABqLAAAAQAAAGksAABsLAAAAQAAAGssAABzLAAAAQAAAHIsAAB2LAAAAQAAAHUsAACBLAAAAQAAAIAsAACDLAAAAQAAAIIsAACFLAAAAQAAAIQsAACHLAAAAQAAAIYsAACJLAAAAQAAAIgsAACLLAAAAQAAAIosAACNLAAAAQAAAIwsAACPLAAAAQAAAI4sAACRLAAAAQAAAJAsAACTLAAAAQAAAJIsAACVLAAAAQAAAJQsAACXLAAAAQAAAJYsAACZLAAAAQAAAJgsAACbLAAAAQAAAJosAACdLAAAAQAAAJwsAACfLAAAAQAAAJ4sAAChLAAAAQAAAKAsAACjLAAAAQAAAKIsAAClLAAAAQAAAKQsAACnLAAAAQAAAKYsAACpLAAAAQAAAKgsAACrLAAAAQAAAKosAACtLAAAAQAAAKwsAACvLAAAAQAAAK4sAACxLAAAAQAAALAsAACzLAAAAQAAALIsAAC1LAAAAQAAALQsAAC3LAAAAQAAALYsAAC5LAAAAQAAALgsAAC7LAAAAQAAALosAAC9LAAAAQAAALwsAAC/LAAAAQAAAL4sAADBLAAAAQAAAMAsAADDLAAAAQAAAMIsAADFLAAAAQAAAMQsAADHLAAAAQAAAMYsAADJLAAAAQAAAMgsAADLLAAAAQAAAMosAADN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AgAwJgIAgCYCAOAmAgD0JgIAACcCALA+AgAAUwIAoFMCAMBTAgCwVAIA0FQCAPBUAgAMVQIAIFUCAEBVAgCwVQIAcFYCAJBWAgDgVgIAAFcCADBXAgBQVwIAcFcCAMBrAgBAcAIAoHACAOBxAgAAcgIAMHICAFByAgCQcgIAsHICAECHAgBwiQIAIJkCAOC6AABgmQIAwJkCAPStAgAArgIAIK4CAHy3AgCItwIAoLcCAOC3AgAAuAIAILgCAEC4AgCAuAIA4LwCAHDCAgCcwgIAsMICANDCAgDwwgIADMMCACDDAgBAwwIA0M0CAPDNAgAwzgIAUM4CAIDOAgCgzgIA4NICAADTAgDgogAAINMCAFDTAgBw0wIAkNMCAADUAgBA1gIA4NYCAADXAgAk1wIAMNcCAEDXAgBg1wIAdNcCAIDXAgCQ1wIApNcCALDXAgC81wIAyNcCAODXAgBg2AIAgNgCAKDYAgDw3wIAUOACACDhAgBQ4QIAgOECAFDiAgCQ5gIAwOUAAMDmAgDs5gIAAOcCAPDnAgAc6AIAMOgCAHDoAgAQ6QIAgOsCANTrAgDg6wIAAOwCAGDsAgAw8gIAcPICAPD0AgAQ9QIAgPUCAJz1AgCw9QIA0PUCAPD1AgBQ/QIAcP0CAJD9AgBA/gIAvAADAMgAAwDgAAMAAAEDACABAwCQAQMAkAIDAKAEAwCACgMAhAsDAJALAwCkCwMAsAsDAMQLAwDQCwMAAAwDACAMAwBADAMAYAwDAJAMAwCwDAMA0AwDAHANAwCQDQMAwA0DADAOAwCMEQMAoBEDAMARAwAAEgMAIBIDADQSAwBAEgMAYBIDAOASAwAQ7AAApCgDALAoAwDgKAMAMCkDAFApAwCw6wAAcCkDAFBBAwDQVQMA8FUDABBWAwBUVgMAYFYDAGxWAwCAVgMAFDABALxWAwDIVgMA1FYDAOBWAwDsVgMA+FYDAARXAwAQVwMAHFcDAChXAwA0VwMAQFcDAExXAwBYVwMAZFcDAHBXAwB8VwMAiFcDAJRXAwCgVwMArFcDALhXAwDEVwMA0FcDANxXAwDoVwMA9FcDAABYAwAMWAMAGFgDACRYAwAwWAMAPFgDAEhYAwBUWAMAYFgDAGxYAwB4WAMAhFgDAJBYAwCcWAMAqFgDALRYAwDAWAMAzFgDANhYAwDkWAMA8FgDAPxYAwAIWQMAFFkDACBZAwAsWQMAOFkDAERZAwBQWQMAXFkDAGhZAwB0WQMAgFkDAIxZAwAw1wIAmFkDAKRZAwCwWQMAvFkDAMhZAwDUWQMA4FkDAOxZAwD4WQMABFoDABBaAwAcWgMAKFoDADRaAwBAWgMATFoDAFhaAwBkWgMAcFoDAHxaAwCIWgMAlFoDAKBaAwCsWgMAuFoDAMRaAwDQWgMA3FoDABxKAQDoWgMA9FoDAABbAwAMWwMAGFsDACRbAwAwWwMAPFsDAEhbAwBUWwMAYFsDAGxbAwB4WwMAhFsDAJBbAwCcWwMAqFsDALRbAwDAWwMAzFsDANhbAwDkWwMA8FsDAPxbAwAIXAMAFFwDACBcAwAsXAMAOFwDAERcAwBQXAMAXFwDAGhcAwB0XAMAgFwDAIxcAwCYXAMApFwDALBcAwC8XAMAyFwDANRcAwDgXAMA7FwDAPhcAwAEXQMAEF0DABxdAwAoXQMANF0DAEBdAwBMXQMAWF0DAGRdAwBwXQMAfF0DAIhdAwCUXQMAoF0DAKxdAwC4XQMAxF0DANBdAwDcXQMA6F0DAPRdAwAAXgMADF4DABheAwAkXgMAMF4DADxeAwBIXgMAVF4DAGBeAwBsXgMAeF4DAIReAwCQXgMAnF4DAKheAwC0XgMAwF4DAMxeAwDYXgMA5F4DAPTjAQDIAAMA8F4DAPxeAwAIXwMAFF8DACBfAwAsXwMAOF8DAERfAwBQXwMA7OYCAFxfAwBoXwMAdF8DAIBfAwAMwwIAjF8DAJhfAwCw1wIAdNcCAKRfAwCwXwMAvF8DAMhfAwDUXwMA4F8DAOxfAwD4XwMABGADABBgAwAcYAMAKGADADRgAwBAYAMATGADAFhgAwBkYAMAcGADAHxgAwCIYAMAvAADAJRgAwCgYAMArGADALhgAwDEYAMA0GADANxgAwDoYAMA9GADAABhAwAMYQMAGGEDACRhAwAwYQMAPGEDAEhhAwBUYQMAYGEDAGxhAwB4YQMAhGEDAJBhAwCcYQMAqGEDALRhAwDAYQMAzGEDANhhAwDkYQMA8GEDAPxhAwAIYgMAFGIDACBiAwAsYgMAOGIDAERiAwBQYgMAXGIDAGhiAwB0YgMAgGIDAIxiAwCYYgMApGIDALBiAwC8YgMAyGIDANRiAwDgYgMA7GIDAPhiAwAEYwMAEGMDABxjAwAoYwMANGMDAEBjAwBMYwMAWGMDAGRjAwBwYwMAfGMDAIhjAwCUYwMAoGMDAKxjAwC4YwMAxGMDANBjAwDcYwMA6GMDAPRjAwAAZAMADGQDABhkAwAkZAMAMGQDADxkAwBIZAMAVGQDAGBkAwBsZAMAeGQDAIRkAwCQZAMAnGQDAKhkAwC0ZAMAwGQDAMxkAwDYZAMA5GQDAPBkAwD8ZAMACGUDABRlAwAgZQMALGUDADhlAwBQZQMAFQAAAAsFAAABAAAAAQAAABYAAAAXAAAAGAAAABkAAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8AAAAgAAAAIQAAACIAAAAAAAAAIwAAAAUAQey9Egs9JAAAAEMFAAAEAAAAAQAAABYAAAAlAAAAJgAAACcAAAAoAAAAKQAAACoAAAArAAAALAAAAC0AAAAuAAAAIQBBtL4SCwUvAAAAHwBByL4SCwEFAEHUvhILATAAQey+EgsOMQAAADIAAABooQQAAAQAQYS/EgsBAQBBlL8SCwX/////CgBB2L8SCwPQx1Q="),A=>A.charCodeAt(0));export{B as default}; diff --git a/assets/ordinal-wXG5obU4.js b/assets/ordinal-wXG5obU4.js new file mode 100644 index 00000000000..f02fd3b5e38 --- /dev/null +++ b/assets/ordinal-wXG5obU4.js @@ -0,0 +1 @@ +import{i as a}from"./init-Hi12RPRh.js";class o extends Map{constructor(n,t=g){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),n!=null)for(const[r,s]of n)this.set(r,s)}get(n){return super.get(c(this,n))}has(n){return super.has(c(this,n))}set(n,t){return super.set(l(this,n),t)}delete(n){return super.delete(p(this,n))}}function c({_intern:e,_key:n},t){const r=n(t);return e.has(r)?e.get(r):t}function l({_intern:e,_key:n},t){const r=n(t);return e.has(r)?e.get(r):(e.set(r,t),t)}function p({_intern:e,_key:n},t){const r=n(t);return e.has(r)&&(t=e.get(r),e.delete(r)),t}function g(e){return e!==null&&typeof e=="object"?e.valueOf():e}const f=Symbol("implicit");function h(){var e=new o,n=[],t=[],r=f;function s(u){let i=e.get(u);if(i===void 0){if(r!==f)return r;e.set(u,i=n.push(u)-1)}return t[i%t.length]}return s.domain=function(u){if(!arguments.length)return n.slice();n=[],e=new o;for(const i of u)e.has(i)||e.set(i,n.push(i)-1);return s},s.range=function(u){return arguments.length?(t=Array.from(u),s):t.slice()},s.unknown=function(u){return arguments.length?(r=u,s):r},s.copy=function(){return h(n,t).unknown(r)},a.apply(s,arguments),s}export{h as o}; diff --git a/assets/path-aUcfwwLI.js b/assets/path-aUcfwwLI.js new file mode 100644 index 00000000000..f55758f48c0 --- /dev/null +++ b/assets/path-aUcfwwLI.js @@ -0,0 +1 @@ +const c=Math.PI,x=2*c,u=1e-6,m=x-u;function E(e){this._+=e[0];for(let t=1,h=e.length;t<h;++t)this._+=arguments[t]+e[t]}function A(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return E;const h=10**t;return function(i){this._+=i[0];for(let s=1,n=i.length;s<n;++s)this._+=Math.round(arguments[s]*h)/h+i[s]}}class L{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?E:A(t)}moveTo(t,h){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+h}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,h){this._append`L${this._x1=+t},${this._y1=+h}`}quadraticCurveTo(t,h,i,s){this._append`Q${+t},${+h},${this._x1=+i},${this._y1=+s}`}bezierCurveTo(t,h,i,s,n,$){this._append`C${+t},${+h},${+i},${+s},${this._x1=+n},${this._y1=+$}`}arcTo(t,h,i,s,n){if(t=+t,h=+h,i=+i,s=+s,n=+n,n<0)throw new Error(`negative radius: ${n}`);let $=this._x1,r=this._y1,p=i-t,l=s-h,_=$-t,o=r-h,a=_*_+o*o;if(this._x1===null)this._append`M${this._x1=t},${this._y1=h}`;else if(a>u)if(!(Math.abs(o*p-l*_)>u)||!n)this._append`L${this._x1=t},${this._y1=h}`;else{let d=i-$,f=s-r,y=p*p+l*l,T=d*d+f*f,g=Math.sqrt(y),v=Math.sqrt(a),w=n*Math.tan((c-Math.acos((y+a-T)/(2*g*v)))/2),M=w/v,b=w/g;Math.abs(M-1)>u&&this._append`L${t+M*_},${h+M*o}`,this._append`A${n},${n},0,0,${+(o*d>_*f)},${this._x1=t+b*p},${this._y1=h+b*l}`}}arc(t,h,i,s,n,$){if(t=+t,h=+h,i=+i,$=!!$,i<0)throw new Error(`negative radius: ${i}`);let r=i*Math.cos(s),p=i*Math.sin(s),l=t+r,_=h+p,o=1^$,a=$?s-n:n-s;this._x1===null?this._append`M${l},${_}`:(Math.abs(this._x1-l)>u||Math.abs(this._y1-_)>u)&&this._append`L${l},${_}`,i&&(a<0&&(a=a%x+x),a>m?this._append`A${i},${i},0,1,${o},${t-r},${h-p}A${i},${i},0,1,${o},${this._x1=l},${this._y1=_}`:a>u&&this._append`A${i},${i},0,${+(a>=c)},${o},${this._x1=t+i*Math.cos(n)},${this._y1=h+i*Math.sin(n)}`)}rect(t,h,i,s){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+h}h${i=+i}v${+s}h${-i}Z`}toString(){return this._}}function P(e){return function(){return e}}function q(e){let t=3;return e.digits=function(h){if(!arguments.length)return t;if(h==null)t=null;else{const i=Math.floor(h);if(!(i>=0))throw new RangeError(`invalid digits: ${h}`);t=i}return e},()=>new L(t)}export{P as c,q as w}; diff --git a/assets/pieDiagram-b0208e96-PTCn6YW_.js b/assets/pieDiagram-b0208e96-PTCn6YW_.js new file mode 100644 index 00000000000..d5b06134337 --- /dev/null +++ b/assets/pieDiagram-b0208e96-PTCn6YW_.js @@ -0,0 +1,35 @@ +import{I as J,R as at,p as lt,q as ot,s as ct,g as ht,b as ut,a as yt,r as pt,d as ft,c as et,l as it,a5 as gt,B as dt,S as mt,i as _t}from"./mermaid.core-wTs8WatG.js";import"./request-bY2SEZNN.js";import{a as tt}from"./arc-O3u_vsTK.js";import{o as xt}from"./ordinal-wXG5obU4.js";import{a as kt}from"./array-Nw74a44z.js";import{c as R}from"./path-aUcfwwLI.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./init-Hi12RPRh.js";function vt(e,u){return u<e?-1:u>e?1:u>=e?0:NaN}function bt(e){return e}function St(){var e=bt,u=vt,$=null,f=R(0),g=R(J),A=R(0);function y(a){var l,d=(a=kt(a)).length,m,I,T=0,_=new Array(d),v=new Array(d),c=+f.apply(this,arguments),E=Math.min(J,Math.max(-J,g.apply(this,arguments)-c)),O,w=Math.min(Math.abs(E)/d,A.apply(this,arguments)),b=w*(E<0?-1:1),t;for(l=0;l<d;++l)(t=v[_[l]=l]=+e(a[l],l,a))>0&&(T+=t);for(u!=null?_.sort(function(i,n){return u(v[i],v[n])}):$!=null&&_.sort(function(i,n){return $(a[i],a[n])}),l=0,I=T?(E-d*b)/T:0;l<d;++l,c=O)m=_[l],t=v[m],O=c+(t>0?t*I:0)+b,v[m]={data:a[m],index:l,value:t,startAngle:c,endAngle:O,padAngle:w};return v}return y.value=function(a){return arguments.length?(e=typeof a=="function"?a:R(+a),y):e},y.sortValues=function(a){return arguments.length?(u=a,$=null,y):u},y.sort=function(a){return arguments.length?($=a,u=null,y):$},y.startAngle=function(a){return arguments.length?(f=typeof a=="function"?a:R(+a),y):f},y.endAngle=function(a){return arguments.length?(g=typeof a=="function"?a:R(+a),y):g},y.padAngle=function(a){return arguments.length?(A=typeof a=="function"?a:R(+a),y):A},y}var K=function(){var e=function(b,t,i,n){for(i=i||{},n=b.length;n--;i[b[n]]=t);return i},u=[1,3],$=[1,4],f=[1,5],g=[1,6],A=[1,10,12,14,16,18,19,20,21,22],y=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],l=[20,21,22],d=[2,7],m=[1,12],I=[1,13],T=[1,14],_=[1,15],v=[1,16],c=[1,17],E={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,i,n,r,o,s,P){var x=s.length-1;switch(o){case 3:r.setShowData(!0);break;case 6:this.$=s[x-1];break;case 8:r.addSection(s[x-1],r.cleanupValue(s[x]));break;case 9:this.$=s[x].trim(),r.setDiagramTitle(this.$);break;case 10:this.$=s[x].trim(),r.setAccTitle(this.$);break;case 11:case 12:this.$=s[x].trim(),r.setAccDescription(this.$);break;case 13:r.addSection(s[x].substr(8)),this.$=s[x].substr(8);break}},table:[{3:1,4:2,5:u,20:$,21:f,22:g},{1:[3]},{3:7,4:2,5:u,20:$,21:f,22:g},e(A,y,{6:8,7:[1,9]}),e(a,[2,14]),e(a,[2,15]),e(a,[2,16]),{1:[2,1]},e(l,d,{8:10,9:11,1:[2,2],10:m,12:I,14:T,16:_,18:v,19:c}),e(A,y,{6:18}),e(A,[2,5]),{4:19,20:$,21:f,22:g},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},e(l,[2,12]),e(l,[2,13]),e(l,d,{8:10,9:11,1:[2,3],10:m,12:I,14:T,16:_,18:v,19:c}),e(A,[2,6]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],r=[],o=[null],s=[],P=this.table,x="",p=0,V=0,F=2,M=1,U=s.slice.call(arguments,1),h=Object.create(this.lexer),N={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(N.yy[Y]=this.yy[Y]);h.setInput(t,N.yy),N.yy.lexer=h,N.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var q=h.yylloc;s.push(q);var st=h.options&&h.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rt(){var C;return C=r.pop()||h.lex()||M,typeof C!="number"&&(C instanceof Array&&(r=C,C=r.pop()),C=i.symbols_[C]||C),C}for(var k,L,S,Z,z={},j,D,X,W;;){if(L=n[n.length-1],this.defaultActions[L]?S=this.defaultActions[L]:((k===null||typeof k>"u")&&(k=rt()),S=P[L]&&P[L][k]),typeof S>"u"||!S.length||!S[0]){var H="";W=[];for(j in P[L])this.terminals_[j]&&j>F&&W.push("'"+this.terminals_[j]+"'");h.showPosition?H="Parse error on line "+(p+1)+`: +`+h.showPosition()+` +Expecting `+W.join(", ")+", got '"+(this.terminals_[k]||k)+"'":H="Parse error on line "+(p+1)+": Unexpected "+(k==M?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(H,{text:h.match,token:this.terminals_[k]||k,line:h.yylineno,loc:q,expected:W})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+k);switch(S[0]){case 1:n.push(k),o.push(h.yytext),s.push(h.yylloc),n.push(S[1]),k=null,V=h.yyleng,x=h.yytext,p=h.yylineno,q=h.yylloc;break;case 2:if(D=this.productions_[S[1]][1],z.$=o[o.length-D],z._$={first_line:s[s.length-(D||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(D||1)].first_column,last_column:s[s.length-1].last_column},st&&(z._$.range=[s[s.length-(D||1)].range[0],s[s.length-1].range[1]]),Z=this.performAction.apply(z,[x,V,p,N.yy,S[1],o,s].concat(U)),typeof Z<"u")return Z;D&&(n=n.slice(0,-1*D*2),o=o.slice(0,-1*D),s=s.slice(0,-1*D)),n.push(this.productions_[S[1]][0]),o.push(z.$),s.push(z._$),X=P[n[n.length-2]][n[n.length-1]],n.push(X);break;case 3:return!0}}return!0}},O=function(){var b={EOF:1,parseError:function(i,n){if(this.yy.parser)this.yy.parser.parseError(i,n);else throw new Error(i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var i=t.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+` +`+i+"^"},test_match:function(t,i){var n,r,o;if(this.options.backtrack_lexer&&(o={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(o.yylloc.range=this.yylloc.range.slice(0))),r=t[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in o)this[s]=o[s];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,i,n,r;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;s<o.length;s++)if(n=this._input.match(this.rules[o[s]]),n&&(!i||n[0].length>i[0].length)){if(i=n,r=s,this.options.backtrack_lexer){if(t=this.test_match(n,o[s]),t!==!1)return t;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(t=this.test_match(i,o[r]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var i=this.next();return i||this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},pushState:function(i){this.begin(i)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(i,n,r,o){switch(r){case 0:break;case 1:break;case 2:return 20;case 3:break;case 4:break;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 15:this.popState();break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}};return b}();E.lexer=O;function w(){this.yy={}}return w.prototype=E,E.Parser=w,new w}();K.parser=K;const $t=K,nt=at.pie,G={sections:{},showData:!1,config:nt};let B=G.sections,Q=G.showData;const At=structuredClone(nt),Et=()=>structuredClone(At),wt=()=>{B=structuredClone(G.sections),Q=G.showData,pt()},Tt=(e,u)=>{e=ft(e,et()),B[e]===void 0&&(B[e]=u,it.debug(`added new section: ${e}, with value: ${u}`))},It=()=>B,Dt=e=>(e.substring(0,1)===":"&&(e=e.substring(1).trim()),Number(e.trim())),Ct=e=>{Q=e},Ot=()=>Q,Pt={getConfig:Et,clear:wt,setDiagramTitle:lt,getDiagramTitle:ot,setAccTitle:ct,getAccTitle:ht,setAccDescription:ut,getAccDescription:yt,addSection:Tt,getSections:It,cleanupValue:Dt,setShowData:Ct,getShowData:Ot},Vt=e=>` + .pieCircle{ + stroke: ${e.pieStrokeColor}; + stroke-width : ${e.pieStrokeWidth}; + opacity : ${e.pieOpacity}; + } + .pieOuterCircle{ + stroke: ${e.pieOuterStrokeColor}; + stroke-width: ${e.pieOuterStrokeWidth}; + fill: none; + } + .pieTitleText { + text-anchor: middle; + font-size: ${e.pieTitleTextSize}; + fill: ${e.pieTitleTextColor}; + font-family: ${e.fontFamily}; + } + .slice { + font-family: ${e.fontFamily}; + fill: ${e.pieSectionTextColor}; + font-size:${e.pieSectionTextSize}; + // fill: white; + } + .legend text { + fill: ${e.pieLegendTextColor}; + font-family: ${e.fontFamily}; + font-size: ${e.pieLegendTextSize}; + } +`,Nt=Vt,Lt=e=>{const u=Object.entries(e).map(f=>({label:f[0],value:f[1]})).sort((f,g)=>g.value-f.value);return St().value(f=>f.value)(u)},Rt=(e,u,$,f)=>{it.debug(`rendering pie chart +`+e);const g=f.db,A=et(),y=gt(g.getConfig(),A.pie),a=40,l=18,d=4,m=450,I=m,T=dt(u),_=T.append("g"),v=g.getSections();_.attr("transform","translate("+I/2+","+m/2+")");const{themeVariables:c}=A;let[E]=mt(c.pieOuterStrokeWidth);E??(E=2);const O=y.textPosition,w=Math.min(I,m)/2-a,b=tt().innerRadius(0).outerRadius(w),t=tt().innerRadius(w*O).outerRadius(w*O);_.append("circle").attr("cx",0).attr("cy",0).attr("r",w+E/2).attr("class","pieOuterCircle");const i=Lt(v),n=[c.pie1,c.pie2,c.pie3,c.pie4,c.pie5,c.pie6,c.pie7,c.pie8,c.pie9,c.pie10,c.pie11,c.pie12],r=xt(n);_.selectAll("mySlices").data(i).enter().append("path").attr("d",b).attr("fill",p=>r(p.data.label)).attr("class","pieCircle");let o=0;Object.keys(v).forEach(p=>{o+=v[p]}),_.selectAll("mySlices").data(i).enter().append("text").text(p=>(p.data.value/o*100).toFixed(0)+"%").attr("transform",p=>"translate("+t.centroid(p)+")").style("text-anchor","middle").attr("class","slice"),_.append("text").text(g.getDiagramTitle()).attr("x",0).attr("y",-(m-50)/2).attr("class","pieTitleText");const s=_.selectAll(".legend").data(r.domain()).enter().append("g").attr("class","legend").attr("transform",(p,V)=>{const F=l+d,M=F*r.domain().length/2,U=12*l,h=V*F-M;return"translate("+U+","+h+")"});s.append("rect").attr("width",l).attr("height",l).style("fill",r).style("stroke",r),s.data(i).append("text").attr("x",l+d).attr("y",l-d).text(p=>{const{label:V,value:F}=p.data;return g.getShowData()?`${V} [${F}]`:V});const P=Math.max(...s.selectAll("text").nodes().map(p=>p?.getBoundingClientRect().width??0)),x=I+a+l+d+P;T.attr("viewBox",`0 0 ${x} ${m}`),_t(T,m,x,y.useMaxWidth)},Ft={draw:Rt},Kt={parser:$t,db:Pt,renderer:Ft,styles:Nt};export{Kt as diagram}; diff --git a/assets/provider-XKwIHqOQ.js b/assets/provider-XKwIHqOQ.js new file mode 100644 index 00000000000..b5adda7611d --- /dev/null +++ b/assets/provider-XKwIHqOQ.js @@ -0,0 +1,42 @@ +import{r as i,$ as Nn,b as _t,a as Mn,j as S,R as b}from"./index-ZXl4th35.js";import{j as le}from"./request-bY2SEZNN.js";import{a as Ft,e as kn,c as In,b as Ln}from"./toast-dlXalurG.js";import{a as _n}from"./viewport-l4O6ZIBM.js";import{b as Fn,u as jn,m as jt,c as je}from"./motion-minimal-epsqYg85.js";import{u as Wn,D as Un}from"./use-is-unmounted-dmgvzXDy.js";import{a as Bn}from"./spring-hnK4kZop.js";import{u as zn}from"./use-event-callback-ULpIcVk8.js";import{s as We}from"./dom-NuJWIaAq.js";import{a as Hn,s as Vn}from"./visual-element-tlU1-krp.js";import{A as Yn}from"./index-LA8z4iWc.js";function Xn(e){e.values.forEach(t=>t.stop())}function Kn(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const o=[];return e.forEach(a=>{o.push(Hn(a,n,{transitionOverride:r}))}),Promise.all(o)},set(n){return e.forEach(r=>{Vn(r,n)})},stop(){e.forEach(n=>{Xn(n)})},mount(){return()=>{t.stop()}}};return t}function qn(){const e=Fn(Kn);return jn(e.mount,[]),e}const Zn={},Wt=i.createContext(null),ha=()=>i.useContext(Wt),ee=Ft([]),ga=()=>({push(e){location.pathname=e}}),Gn=()=>location.pathname;function j(){return j=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},j.apply(this,arguments)}function q(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function Qn(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ut(...e){return t=>e.forEach(n=>Qn(n,t))}function ue(...e){return i.useCallback(Ut(...e),e)}function Jn(e,t=[]){let n=[];function r(a,s){const c=i.createContext(s),d=n.length;n=[...n,s];function m(l){const{scope:f,children:v,...x}=l,u=f?.[e][d]||c,y=i.useMemo(()=>x,Object.values(x));return i.createElement(u.Provider,{value:y},v)}function p(l,f){const v=f?.[e][d]||c,x=i.useContext(v);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${l}\` must be used within \`${a}\``)}return m.displayName=a+"Provider",[m,p]}const o=()=>{const a=n.map(s=>i.createContext(s));return function(c){const d=c?.[e]||a;return i.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return o.scopeName=e,[r,er(o,...t)]}function er(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const s=r.reduce((c,{useScope:d,scopeName:m})=>{const l=d(a)[`__scope${m}`];return{...c,...l}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}const Ze=globalThis?.document?i.useLayoutEffect:()=>{},tr=Nn.useId||(()=>{});let nr=0;function Ue(e){const[t,n]=i.useState(tr());return Ze(()=>{e||n(r=>r??String(nr++))},[e]),e||(t?`radix-${t}`:"")}function te(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function rr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=or({defaultProp:t,onChange:n}),a=e!==void 0,s=a?e:r,c=te(n),d=i.useCallback(m=>{if(a){const l=typeof m=="function"?m(e):m;l!==e&&c(l)}else o(m)},[a,e,o,c]);return[s,d]}function or({defaultProp:e,onChange:t}){const n=i.useState(e),[r]=n,o=i.useRef(r),a=te(t);return i.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const ct=i.forwardRef((e,t)=>{const{children:n,...r}=e,o=i.Children.toArray(n),a=o.find(ir);if(a){const s=a.props.children,c=o.map(d=>d===a?i.Children.count(s)>1?i.Children.only(null):i.isValidElement(s)?s.props.children:null:d);return i.createElement(Ge,j({},r,{ref:t}),i.isValidElement(s)?i.cloneElement(s,void 0,c):null)}return i.createElement(Ge,j({},r,{ref:t}),n)});ct.displayName="Slot";const Ge=i.forwardRef((e,t)=>{const{children:n,...r}=e;return i.isValidElement(n)?i.cloneElement(n,{...cr(r,n.props),ref:t?Ut(t,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null});Ge.displayName="SlotClone";const ar=({children:e})=>i.createElement(i.Fragment,null,e);function ir(e){return i.isValidElement(e)&&e.type===ar}function cr(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...c)=>{a(...c),o(...c)}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}const sr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Z=sr.reduce((e,t)=>{const n=i.forwardRef((r,o)=>{const{asChild:a,...s}=r,c=a?ct:t;return i.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),i.createElement(c,j({},s,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function lr(e,t){e&&_t.flushSync(()=>e.dispatchEvent(t))}function ur(e,t=globalThis?.document){const n=te(e);i.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Qe="dismissableLayer.update",dr="dismissableLayer.pointerDownOutside",fr="dismissableLayer.focusOutside";let yt;const vr=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mr=i.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:c,onDismiss:d,...m}=e,p=i.useContext(vr),[l,f]=i.useState(null),v=(n=l?.ownerDocument)!==null&&n!==void 0?n:globalThis?.document,[,x]=i.useState({}),u=ue(t,P=>f(P)),y=Array.from(p.layers),[h]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),D=y.indexOf(h),w=l?y.indexOf(l):-1,g=p.layersWithOutsidePointerEventsDisabled.size>0,$=w>=D,T=pr(P=>{const L=P.target,W=[...p.branches].some(B=>B.contains(L));!$||W||(a?.(P),c?.(P),P.defaultPrevented||d?.())},v),k=hr(P=>{const L=P.target;[...p.branches].some(B=>B.contains(L))||(s?.(P),c?.(P),P.defaultPrevented||d?.())},v);return ur(P=>{w===p.layers.size-1&&(o?.(P),!P.defaultPrevented&&d&&(P.preventDefault(),d()))},v),i.useEffect(()=>{if(l)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(yt=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(l)),p.layers.add(l),wt(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=yt)}},[l,v,r,p]),i.useEffect(()=>()=>{l&&(p.layers.delete(l),p.layersWithOutsidePointerEventsDisabled.delete(l),wt())},[l,p]),i.useEffect(()=>{const P=()=>x({});return document.addEventListener(Qe,P),()=>document.removeEventListener(Qe,P)},[]),i.createElement(Z.div,j({},m,{ref:u,style:{pointerEvents:g?$?"auto":"none":void 0,...e.style},onFocusCapture:q(e.onFocusCapture,k.onFocusCapture),onBlurCapture:q(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:q(e.onPointerDownCapture,T.onPointerDownCapture)}))});function pr(e,t=globalThis?.document){const n=te(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{const a=c=>{if(c.target&&!r.current){let m=function(){Bt(dr,n,d,{discrete:!0})};const d={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=m,t.addEventListener("click",o.current,{once:!0})):m()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function hr(e,t=globalThis?.document){const n=te(e),r=i.useRef(!1);return i.useEffect(()=>{const o=a=>{a.target&&!r.current&&Bt(fr,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function wt(){const e=new CustomEvent(Qe);document.dispatchEvent(e)}function Bt(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?lr(o,a):o.dispatchEvent(a)}const Be="focusScope.autoFocusOnMount",ze="focusScope.autoFocusOnUnmount",Et={bubbles:!1,cancelable:!0},gr=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[c,d]=i.useState(null),m=te(o),p=te(a),l=i.useRef(null),f=ue(t,u=>d(u)),v=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(r){let u=function(w){if(v.paused||!c)return;const g=w.target;c.contains(g)?l.current=g:K(l.current,{select:!0})},y=function(w){if(v.paused||!c)return;const g=w.relatedTarget;g!==null&&(c.contains(g)||K(l.current,{select:!0}))},h=function(w){if(document.activeElement===document.body)for(const $ of w)$.removedNodes.length>0&&K(c)};document.addEventListener("focusin",u),document.addEventListener("focusout",y);const D=new MutationObserver(h);return c&&D.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",y),D.disconnect()}}},[r,c,v.paused]),i.useEffect(()=>{if(c){Ct.add(v);const u=document.activeElement;if(!c.contains(u)){const h=new CustomEvent(Be,Et);c.addEventListener(Be,m),c.dispatchEvent(h),h.defaultPrevented||(br(xr(zt(c)),{select:!0}),document.activeElement===u&&K(c))}return()=>{c.removeEventListener(Be,m),setTimeout(()=>{const h=new CustomEvent(ze,Et);c.addEventListener(ze,p),c.dispatchEvent(h),h.defaultPrevented||K(u??document.body,{select:!0}),c.removeEventListener(ze,p),Ct.remove(v)},0)}}},[c,m,p,v]);const x=i.useCallback(u=>{if(!n&&!r||v.paused)return;const y=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,h=document.activeElement;if(y&&h){const D=u.currentTarget,[w,g]=$r(D);w&&g?!u.shiftKey&&h===g?(u.preventDefault(),n&&K(w,{select:!0})):u.shiftKey&&h===w&&(u.preventDefault(),n&&K(g,{select:!0})):h===D&&u.preventDefault()}},[n,r,v.paused]);return i.createElement(Z.div,j({tabIndex:-1},s,{ref:f,onKeyDown:x}))});function br(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(K(r,{select:t}),document.activeElement!==n)return}function $r(e){const t=zt(e),n=xt(t,e),r=xt(t.reverse(),e);return[n,r]}function zt(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function xt(e,t){for(const n of e)if(!yr(n,{upTo:t}))return n}function yr(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function wr(e){return e instanceof HTMLInputElement&&"select"in e}function K(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&wr(e)&&t&&e.select()}}const Ct=Er();function Er(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=St(e,t),e.unshift(t)},remove(t){var n;e=St(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function St(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function xr(e){return e.filter(t=>t.tagName!=="A")}const Cr=i.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Mn.createPortal(i.createElement(Z.div,j({},o,{ref:t})),r):null});function Sr(e,t){return i.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const Me=e=>{const{present:t,children:n}=e,r=Pr(t),o=typeof n=="function"?n({present:r.isPresent}):i.Children.only(n),a=ue(r.ref,o.ref);return typeof n=="function"||r.isPresent?i.cloneElement(o,{ref:a}):null};Me.displayName="Presence";function Pr(e){const[t,n]=i.useState(),r=i.useRef({}),o=i.useRef(e),a=i.useRef("none"),s=e?"mounted":"unmounted",[c,d]=Sr(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const m=xe(r.current);a.current=c==="mounted"?m:"none"},[c]),Ze(()=>{const m=r.current,p=o.current;if(p!==e){const f=a.current,v=xe(m);e?d("MOUNT"):v==="none"||m?.display==="none"?d("UNMOUNT"):d(p&&f!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,d]),Ze(()=>{if(t){const m=l=>{const v=xe(r.current).includes(l.animationName);l.target===t&&v&&_t.flushSync(()=>d("ANIMATION_END"))},p=l=>{l.target===t&&(a.current=xe(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:i.useCallback(m=>{m&&(r.current=getComputedStyle(m)),n(m)},[])}}function xe(e){return e?.animationName||"none"}let He=0;function Rr(){i.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Pt()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Pt()),He++,()=>{He===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),He--}},[])}function Pt(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Y=function(){return Y=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Y.apply(this,arguments)};function Ht(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Or(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Ae="right-scroll-bar-position",Ne="width-before-scroll-bar",Dr="with-scroll-bars-hidden",Tr="--removed-body-scroll-bar-size";function Ar(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Nr(e,t){var n=i.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function Mr(e,t){return Nr(t||null,function(n){return e.forEach(function(r){return Ar(r,n)})})}function kr(e){return e}function Ir(e,t){t===void 0&&(t=kr);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var s=t(a,r);return n.push(s),function(){n=n.filter(function(c){return c!==s})}},assignSyncMedium:function(a){for(r=!0;n.length;){var s=n;n=[],s.forEach(a)}n={push:function(c){return a(c)},filter:function(){return n}}},assignMedium:function(a){r=!0;var s=[];if(n.length){var c=n;n=[],c.forEach(a),s=n}var d=function(){var p=s;s=[],p.forEach(a)},m=function(){return Promise.resolve().then(d)};m(),n={push:function(p){s.push(p),m()},filter:function(p){return s=s.filter(p),n}}}};return o}function Lr(e){e===void 0&&(e={});var t=Ir(null);return t.options=Y({async:!0,ssr:!1},e),t}var Vt=function(e){var t=e.sideCar,n=Ht(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,Y({},n))};Vt.isSideCarExport=!0;function _r(e,t){return e.useMedium(t),Vt}var Yt=Lr(),Ve=function(){},ke=i.forwardRef(function(e,t){var n=i.useRef(null),r=i.useState({onScrollCapture:Ve,onWheelCapture:Ve,onTouchMoveCapture:Ve}),o=r[0],a=r[1],s=e.forwardProps,c=e.children,d=e.className,m=e.removeScrollBar,p=e.enabled,l=e.shards,f=e.sideCar,v=e.noIsolation,x=e.inert,u=e.allowPinchZoom,y=e.as,h=y===void 0?"div":y,D=Ht(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=f,g=Mr([n,t]),$=Y(Y({},D),o);return i.createElement(i.Fragment,null,p&&i.createElement(w,{sideCar:Yt,removeScrollBar:m,shards:l,noIsolation:v,inert:x,setCallbacks:a,allowPinchZoom:!!u,lockRef:n}),s?i.cloneElement(i.Children.only(c),Y(Y({},$),{ref:g})):i.createElement(h,Y({},$,{className:d,ref:g}),c))});ke.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ke.classNames={fullWidth:Ne,zeroRight:Ae};var Fr=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function jr(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Fr();return t&&e.setAttribute("nonce",t),e}function Wr(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ur(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Br=function(){var e=0,t=null;return{add:function(n){e==0&&(t=jr())&&(Wr(t,n),Ur(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},zr=function(){var e=Br();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Xt=function(){var e=zr(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Hr={left:0,top:0,right:0,gap:0},Ye=function(e){return parseInt(e||"",10)||0},Vr=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ye(n),Ye(r),Ye(o)]},Yr=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Hr;var t=Vr(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Xr=Xt(),Kr=function(e,t,n,r){var o=e.left,a=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),` + .`.concat(Dr,` { + overflow: hidden `).concat(r,`; + padding-right: `).concat(c,"px ").concat(r,`; + } + body { + overflow: hidden `).concat(r,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` + padding-left: `.concat(o,`px; + padding-top: `).concat(a,`px; + padding-right: `).concat(s,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(c,"px ").concat(r,`; + `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),` + } + + .`).concat(Ae,` { + right: `).concat(c,"px ").concat(r,`; + } + + .`).concat(Ne,` { + margin-right: `).concat(c,"px ").concat(r,`; + } + + .`).concat(Ae," .").concat(Ae,` { + right: 0 `).concat(r,`; + } + + .`).concat(Ne," .").concat(Ne,` { + margin-right: 0 `).concat(r,`; + } + + body { + `).concat(Tr,": ").concat(c,`px; + } +`)},qr=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=i.useMemo(function(){return Yr(o)},[o]);return i.createElement(Xr,{styles:Kr(a,!t,o,n?"":"!important")})},Je=!1;if(typeof window<"u")try{var Ce=Object.defineProperty({},"passive",{get:function(){return Je=!0,!0}});window.addEventListener("test",Ce,Ce),window.removeEventListener("test",Ce,Ce)}catch{Je=!1}var ae=Je?{passive:!1}:!1,Zr=function(e){return e.tagName==="TEXTAREA"},Kt=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Zr(e)&&n[t]==="visible")},Gr=function(e){return Kt(e,"overflowY")},Qr=function(e){return Kt(e,"overflowX")},Rt=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=qt(e,n);if(r){var o=Zt(e,n),a=o[1],s=o[2];if(a>s)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Jr=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},eo=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},qt=function(e,t){return e==="v"?Gr(t):Qr(t)},Zt=function(e,t){return e==="v"?Jr(t):eo(t)},to=function(e,t){return e==="h"&&t==="rtl"?-1:1},no=function(e,t,n,r,o){var a=to(e,window.getComputedStyle(t).direction),s=a*r,c=n.target,d=t.contains(c),m=!1,p=s>0,l=0,f=0;do{var v=Zt(e,c),x=v[0],u=v[1],y=v[2],h=u-y-a*x;(x||h)&&qt(e,c)&&(l+=h,f+=x),c=c.parentNode}while(!d&&c!==document.body||d&&(t.contains(c)||t===c));return(p&&(o&&l===0||!o&&s>l)||!p&&(o&&f===0||!o&&-s>f))&&(m=!0),m},Se=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ot=function(e){return[e.deltaX,e.deltaY]},Dt=function(e){return e&&"current"in e?e.current:e},ro=function(e,t){return e[0]===t[0]&&e[1]===t[1]},oo=function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},ao=0,ie=[];function io(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(ao++)[0],a=i.useState(function(){return Xt()})[0],s=i.useRef(e);i.useEffect(function(){s.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var u=Or([e.lockRef.current],(e.shards||[]).map(Dt),!0).filter(Boolean);return u.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),u.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=i.useCallback(function(u,y){if("touches"in u&&u.touches.length===2)return!s.current.allowPinchZoom;var h=Se(u),D=n.current,w="deltaX"in u?u.deltaX:D[0]-h[0],g="deltaY"in u?u.deltaY:D[1]-h[1],$,T=u.target,k=Math.abs(w)>Math.abs(g)?"h":"v";if("touches"in u&&k==="h"&&T.type==="range")return!1;var P=Rt(k,T);if(!P)return!0;if(P?$=k:($=k==="v"?"h":"v",P=Rt(k,T)),!P)return!1;if(!r.current&&"changedTouches"in u&&(w||g)&&(r.current=$),!$)return!0;var L=r.current||$;return no(L,y,u,L==="h"?w:g,!0)},[]),d=i.useCallback(function(u){var y=u;if(!(!ie.length||ie[ie.length-1]!==a)){var h="deltaY"in y?Ot(y):Se(y),D=t.current.filter(function($){return $.name===y.type&&$.target===y.target&&ro($.delta,h)})[0];if(D&&D.should){y.cancelable&&y.preventDefault();return}if(!D){var w=(s.current.shards||[]).map(Dt).filter(Boolean).filter(function($){return $.contains(y.target)}),g=w.length>0?c(y,w[0]):!s.current.noIsolation;g&&y.cancelable&&y.preventDefault()}}},[]),m=i.useCallback(function(u,y,h,D){var w={name:u,delta:y,target:h,should:D};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(g){return g!==w})},1)},[]),p=i.useCallback(function(u){n.current=Se(u),r.current=void 0},[]),l=i.useCallback(function(u){m(u.type,Ot(u),u.target,c(u,e.lockRef.current))},[]),f=i.useCallback(function(u){m(u.type,Se(u),u.target,c(u,e.lockRef.current))},[]);i.useEffect(function(){return ie.push(a),e.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:f}),document.addEventListener("wheel",d,ae),document.addEventListener("touchmove",d,ae),document.addEventListener("touchstart",p,ae),function(){ie=ie.filter(function(u){return u!==a}),document.removeEventListener("wheel",d,ae),document.removeEventListener("touchmove",d,ae),document.removeEventListener("touchstart",p,ae)}},[]);var v=e.removeScrollBar,x=e.inert;return i.createElement(i.Fragment,null,x?i.createElement(a,{styles:oo(o)}):null,v?i.createElement(qr,{gapMode:"margin"}):null)}const co=_r(Yt,io);var Gt=i.forwardRef(function(e,t){return i.createElement(ke,Y({},e,{ref:t,sideCar:co}))});Gt.classNames=ke.classNames;const so=Gt;var lo=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ce=new WeakMap,Pe=new WeakMap,Re={},Xe=0,Qt=function(e){return e&&(e.host||Qt(e.parentNode))},uo=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Qt(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},fo=function(e,t,n,r){var o=uo(t,Array.isArray(e)?e:[e]);Re[n]||(Re[n]=new WeakMap);var a=Re[n],s=[],c=new Set,d=new Set(o),m=function(l){!l||c.has(l)||(c.add(l),m(l.parentNode))};o.forEach(m);var p=function(l){!l||d.has(l)||Array.prototype.forEach.call(l.children,function(f){if(c.has(f))p(f);else{var v=f.getAttribute(r),x=v!==null&&v!=="false",u=(ce.get(f)||0)+1,y=(a.get(f)||0)+1;ce.set(f,u),a.set(f,y),s.push(f),u===1&&x&&Pe.set(f,!0),y===1&&f.setAttribute(n,"true"),x||f.setAttribute(r,"true")}})};return p(t),c.clear(),Xe++,function(){s.forEach(function(l){var f=ce.get(l)-1,v=a.get(l)-1;ce.set(l,f),a.set(l,v),f||(Pe.has(l)||l.removeAttribute(r),Pe.delete(l)),v||l.removeAttribute(n)}),Xe--,Xe||(ce=new WeakMap,ce=new WeakMap,Pe=new WeakMap,Re={})}},vo=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||lo(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),fo(r,o,n,"aria-hidden")):function(){return null}};const Jt="Dialog",[en,ba]=Jn(Jt),[mo,H]=en(Jt),po=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:s=!0}=e,c=i.useRef(null),d=i.useRef(null),[m=!1,p]=rr({prop:r,defaultProp:o,onChange:a});return i.createElement(mo,{scope:t,triggerRef:c,contentRef:d,contentId:Ue(),titleId:Ue(),descriptionId:Ue(),open:m,onOpenChange:p,onOpenToggle:i.useCallback(()=>p(l=>!l),[p]),modal:s},n)},ho="DialogTrigger",go=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(ho,n),a=ue(t,o.triggerRef);return i.createElement(Z.button,j({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":st(o.open)},r,{ref:a,onClick:q(e.onClick,o.onOpenToggle)}))}),tn="DialogPortal",[bo,nn]=en(tn,{forceMount:void 0}),$o=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=H(tn,t);return i.createElement(bo,{scope:t,forceMount:n},i.Children.map(r,s=>i.createElement(Me,{present:n||a.open},i.createElement(Cr,{asChild:!0,container:o},s))))},et="DialogOverlay",yo=i.forwardRef((e,t)=>{const n=nn(et,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=H(et,e.__scopeDialog);return a.modal?i.createElement(Me,{present:r||a.open},i.createElement(wo,j({},o,{ref:t}))):null}),wo=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(et,n);return i.createElement(so,{as:ct,allowPinchZoom:!0,shards:[o.contentRef]},i.createElement(Z.div,j({"data-state":st(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),he="DialogContent",Eo=i.forwardRef((e,t)=>{const n=nn(he,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=H(he,e.__scopeDialog);return i.createElement(Me,{present:r||a.open},a.modal?i.createElement(xo,j({},o,{ref:t})):i.createElement(Co,j({},o,{ref:t})))}),xo=i.forwardRef((e,t)=>{const n=H(he,e.__scopeDialog),r=i.useRef(null),o=ue(t,n.contentRef,r);return i.useEffect(()=>{const a=r.current;if(a)return vo(a)},[]),i.createElement(rn,j({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:q(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:q(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0;(s.button===2||c)&&a.preventDefault()}),onFocusOutside:q(e.onFocusOutside,a=>a.preventDefault())}))}),Co=i.forwardRef((e,t)=>{const n=H(he,e.__scopeDialog),r=i.useRef(!1),o=i.useRef(!1);return i.createElement(rn,j({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var c;r.current||(c=n.triggerRef.current)===null||c===void 0||c.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var s,c;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const d=a.target;((c=n.triggerRef.current)===null||c===void 0?void 0:c.contains(d))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),rn=i.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...s}=e,c=H(he,n),d=i.useRef(null),m=ue(t,d);return Rr(),i.createElement(i.Fragment,null,i.createElement(gr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},i.createElement(mr,j({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":st(c.open)},s,{ref:m,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),So="DialogTitle",Po=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(So,n);return i.createElement(Z.h2,j({id:o.titleId},r,{ref:t}))}),Ro="DialogDescription",Oo=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(Ro,n);return i.createElement(Z.p,j({id:o.descriptionId},r,{ref:t}))}),Do="DialogClose",on=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(Do,n);return i.createElement(Z.button,j({type:"button"},r,{ref:t,onClick:q(e.onClick,()=>o.onOpenChange(!1))}))});function st(e){return e?"open":"closed"}const tt=po,To=go,nt=$o,an=yo,rt=Eo,cn=Po,Ao=Oo,No=on,Mo=({className:e})=>S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1.4em",height:"1.4em",viewBox:"0 0 32 32",className:e,children:S.jsx("path",{fill:"currentColor",d:"M24 9.4L22.6 8L16 14.6L9.4 8L8 9.4l6.6 6.6L8 22.6L9.4 24l6.6-6.6l6.6 6.6l1.4-1.4l-6.6-6.6L24 9.4z"})}),Tt=({onClick:e,zIndex:t})=>S.jsx(an,{asChild:!0,children:S.jsx(jt.div,{onClick:e,className:"fixed inset-0 z-[11] bg-zinc-50/80 dark:bg-neutral-900/80",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},style:{zIndex:t}})});var sn=b.createContext({drawerRef:{current:null},overlayRef:{current:null},scaleBackground:()=>{},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},visible:!1,closeDrawer:()=>{},setVisible:()=>{},direction:"bottom"}),lt=()=>b.useContext(sn);function ko(e,{insertAt:t}={}){if(!e||typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}ko(`[vaul-drawer]{touch-action:none;transition:transform .5s cubic-bezier(.32,.72,0,1)}[vaul-drawer][vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[vaul-drawer][vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[vaul-drawer][vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[vaul-drawer][vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}.vaul-dragging .vaul-scrollable [vault-drawer-direction=top],.vaul-dragging .vaul-scrollable [vault-drawer-direction=bottom]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=left],.vaul-dragging .vaul-scrollable [vault-drawer-direction=right]{overflow-x:hidden!important}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=top],[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height, 0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=left],[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height, 0),0,0)}[vaul-overlay]{opacity:0;transition:opacity .5s cubic-bezier(.32,.72,0,1)}[vaul-overlay][vaul-drawer-visible=true]{opacity:1}[vaul-drawer]:after{content:"";position:absolute;background:inherit;background-color:inherit}[vaul-drawer][vaul-drawer-direction=top]:after{top:initial;bottom:100%;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=bottom]:after{top:100%;bottom:initial;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=left]:after{left:initial;right:100%;top:0;bottom:0;width:200%}[vaul-drawer][vaul-drawer-direction=right]:after{left:100%;right:initial;top:0;bottom:0;width:200%}[vaul-overlay][vaul-snap-points=true]:not([vaul-snap-points-overlay="true"]):not([data-state="closed"]){opacity:0}[vaul-overlay][vaul-snap-points-overlay=true]:not([vaul-drawer-visible="false"]){opacity:1}@keyframes fake-animation{}@media (hover: hover) and (pointer: fine){[vaul-drawer]{user-select:none}} +`);var Io=typeof window<"u"?i.useLayoutEffect:i.useEffect;function ot(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}function Lo(){return ut(/^Mac/)}function _o(){return ut(/^iPhone/)}function Fo(){return ut(/^iPad/)||Lo()&&navigator.maxTouchPoints>1}function ln(){return _o()||Fo()}function ut(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):void 0}var Ke=typeof document<"u"&&window.visualViewport;function At(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function un(e){for(At(e)&&(e=e.parentElement);e&&!At(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}var jo=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),Oe=0,qe;function Wo(e={}){let{isDisabled:t}=e;Io(()=>{if(!t)return Oe++,Oe===1&&(ln()?qe=Bo():qe=Uo()),()=>{Oe--,Oe===0&&qe()}},[t])}function Uo(){return ot(dn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`))}function Bo(){let e,t=0,n=l=>{e=un(l.target),!(e===document.documentElement&&e===document.body)&&(t=l.changedTouches[0].pageY)},r=l=>{if(!e||e===document.documentElement||e===document.body){l.preventDefault();return}let f=l.changedTouches[0].pageY,v=e.scrollTop,x=e.scrollHeight-e.clientHeight;x!==0&&((v<=0&&f>t||v>=x&&f<t)&&l.preventDefault(),t=f)},o=l=>{let f=l.target;at(f)&&f!==document.activeElement&&(l.preventDefault(),f.style.transform="translateY(-2000px)",f.focus(),requestAnimationFrame(()=>{f.style.transform=""}))},a=l=>{let f=l.target;at(f)&&(f.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{f.style.transform="",Ke&&(Ke.height<window.innerHeight?requestAnimationFrame(()=>{Nt(f)}):Ke.addEventListener("resize",()=>Nt(f),{once:!0}))}))},s=()=>{window.scrollTo(0,0)},c=window.pageXOffset,d=window.pageYOffset,m=ot(dn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let p=ot(pe(document,"touchstart",n,{passive:!1,capture:!0}),pe(document,"touchmove",r,{passive:!1,capture:!0}),pe(document,"touchend",o,{passive:!1,capture:!0}),pe(document,"focus",a,!0),pe(window,"scroll",s));return()=>{m(),p(),window.scrollTo(c,d)}}function dn(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function pe(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Nt(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=un(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let r=n.getBoundingClientRect().top,o=e.getBoundingClientRect().top,a=e.getBoundingClientRect().bottom,s=n.getBoundingClientRect().bottom;a>s&&(n.scrollTop+=o-r)}e=n.parentElement}}function at(e){return e instanceof HTMLInputElement&&!jo.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function zo(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ho(...e){return t=>e.forEach(n=>zo(n,t))}function fn(...e){return i.useCallback(Ho(...e),e)}var X=null;function Vo({isOpen:e,modal:t,nested:n,hasBeenOpened:r,preventScrollRestoration:o}){let[a,s]=b.useState(typeof window<"u"?window.location.href:""),c=b.useRef(0),d=b.useCallback(()=>{if(X===null&&e){X={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height};let{scrollX:p,innerHeight:l}=window;document.body.style.setProperty("position","fixed","important"),document.body.style.top=`${-c.current}px`,document.body.style.left=`${-p}px`,document.body.style.right="0px",document.body.style.height="auto",setTimeout(()=>requestAnimationFrame(()=>{let f=l-window.innerHeight;f&&c.current>=l&&(document.body.style.top=`${-(c.current+f)}px`)}),300)}},[e]),m=b.useCallback(()=>{if(X!==null){let p=-parseInt(document.body.style.top,10),l=-parseInt(document.body.style.left,10);document.body.style.position=X.position,document.body.style.top=X.top,document.body.style.left=X.left,document.body.style.height=X.height,document.body.style.right="unset",requestAnimationFrame(()=>{if(o&&a!==window.location.href){s(window.location.href);return}window.scrollTo(l,p)}),X=null}},[a]);return b.useEffect(()=>{function p(){c.current=window.scrollY}return p(),window.addEventListener("scroll",p),()=>{window.removeEventListener("scroll",p)}},[]),b.useEffect(()=>{n||!r||(e?(d(),t||setTimeout(()=>{m()},500)):m())},[e,r,a,t,n,d,m]),{restorePositionSetting:m}}var vn=new WeakMap;function M(e,t,n=!1){if(!e||!(e instanceof HTMLElement)||!t)return;let r={};Object.entries(t).forEach(([o,a])=>{if(o.startsWith("--")){e.style.setProperty(o,a);return}r[o]=e.style[o],e.style[o]=a}),!n&&vn.set(e,r)}function De(e,t){if(!e||!(e instanceof HTMLElement))return;let n=vn.get(e);n&&(t?e.style[t]=n[t]:Object.entries(n).forEach(([r,o])=>{e.style[r]=o}))}var F=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function Te(e,t){let n=window.getComputedStyle(e),r=n.transform||n.webkitTransform||n.mozTransform,o=r.match(/^matrix3d\((.+)\)$/);return o?parseFloat(o[1].split(", ")[F(t)?13:12]):(o=r.match(/^matrix\((.+)\)$/),o?parseFloat(o[1].split(", ")[F(t)?5:4]):null)}function Yo(e){return 8*(Math.log(e+1)-2)}var N={DURATION:.5,EASE:[.32,.72,0,1]},mn=.4;function pn(e){let t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Xo({defaultProp:e,onChange:t}){let n=b.useState(e),[r]=n,o=b.useRef(r),a=pn(t);return b.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}function Ko({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,o]=Xo({defaultProp:t,onChange:n}),a=e!==void 0,s=a?e:r,c=pn(n),d=b.useCallback(m=>{if(a){let p=typeof m=="function"?m(e):m;p!==e&&c(p)}else o(m)},[a,e,o,c]);return[s,d]}function qo({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:n,drawerRef:r,overlayRef:o,fadeFromIndex:a,onSnapPointChange:s,direction:c="bottom"}){let[d,m]=Ko({prop:e,defaultProp:n?.[0],onChange:t}),p=b.useMemo(()=>d===n?.[n.length-1]||null,[n,d]),l=n&&n.length>0&&(a||a===0)&&!Number.isNaN(a)&&n[a]===d||!n,f=b.useMemo(()=>n?.findIndex(w=>w===d),[n,d]),v=b.useMemo(()=>{var w;return(w=n?.map(g=>{let $=typeof window<"u",T=typeof g=="string",k=0;if(T&&(k=parseInt(g,10)),F(c)){let L=T?k:$?g*window.innerHeight:0;return $?c==="bottom"?window.innerHeight-L:-window.innerHeight+L:L}let P=T?k:$?g*window.innerWidth:0;return $?c==="right"?window.innerWidth-P:-window.innerWidth+P:P}))!=null?w:[]},[n]),x=b.useMemo(()=>f!==null?v?.[f]:null,[v,f]),u=b.useCallback(w=>{var g;let $=(g=v?.findIndex(T=>T===w))!=null?g:null;s($),M(r.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,transform:F(c)?`translate3d(0, ${w}px, 0)`:`translate3d(${w}px, 0, 0)`}),v&&$!==v.length-1&&$!==a?M(o.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,opacity:"0"}):M(o.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,opacity:"1"}),m($!==null?n?.[$]:null)},[r.current,n,v,a,o,m]);b.useEffect(()=>{var w;if(e){let g=(w=n?.findIndex($=>$===e))!=null?w:-1;v&&g!==-1&&typeof v[g]=="number"&&u(v[g])}},[e,n,v,u]);function y({draggedDistance:w,closeDrawer:g,velocity:$,dismissible:T}){if(a===void 0)return;let k=c==="bottom"||c==="right"?(x??0)-w:(x??0)+w,P=f===a-1,L=f===0,W=w>0;if(P&&M(o.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`}),$>2&&!W){T?g():u(v[0]);return}if($>2&&W&&v&&n){u(v[n.length-1]);return}let B=v?.reduce((z,fe)=>typeof z!="number"||typeof fe!="number"?z:Math.abs(fe-k)<Math.abs(z-k)?fe:z),de=F(c)?window.innerHeight:window.innerWidth;if($>mn&&Math.abs(w)<de*.4){let z=W?1:-1;if(z>0&&p){u(v[n.length-1]);return}if(L&&z<0&&T&&g(),f===null)return;u(v[f+z]);return}u(B)}function h({draggedDistance:w}){if(x===null)return;let g=c==="bottom"||c==="right"?x-w:x+w;(c==="bottom"||c==="right")&&g<v[v.length-1]||(c==="top"||c==="left")&&g>v[v.length-1]||M(r.current,{transform:F(c)?`translate3d(0, ${g}px, 0)`:`translate3d(${g}px, 0, 0)`})}function D(w,g){if(!n||typeof f!="number"||!v||a===void 0)return null;let $=f===a-1;if(f>=a&&g)return 0;if($&&!g)return 1;if(!l&&!$)return null;let T=$?f+1:f-1,k=$?v[T]-v[T-1]:v[T+1]-v[T],P=w/Math.abs(k);return $?1-P:P}return{isLastSnapPoint:p,activeSnapPoint:d,shouldFade:l,getPercentageDragged:D,setActiveSnapPoint:m,activeSnapPointIndex:f,onRelease:y,onDrag:h,snapPointsOffset:v}}var Zo=.25,Go=100,Mt=8,J=16,kt=26,It="vaul-dragging";function hn({open:e,onOpenChange:t,children:n,shouldScaleBackground:r,onDrag:o,onRelease:a,snapPoints:s,nested:c=!1,closeThreshold:d=Zo,scrollLockTimeout:m=Go,dismissible:p=!0,fadeFromIndex:l=s&&s.length-1,activeSnapPoint:f,setActiveSnapPoint:v,fixed:x,modal:u=!0,onClose:y,direction:h="bottom",preventScrollRestoration:D=!0}){var w;let[g=!1,$]=b.useState(!1),[T,k]=b.useState(!1),[P,L]=b.useState(!1),[W,B]=b.useState(!1),[de,z]=b.useState(!1),[fe,dt]=b.useState(!1),G=b.useRef(null),ge=b.useRef(null),Ie=b.useRef(null),ft=b.useRef(null),be=b.useRef(null),$e=b.useRef(!1),Le=b.useRef(null),_e=b.useRef(0),ne=b.useRef(!1),vt=b.useRef(0),C=b.useRef(null),mt=b.useRef(((w=C.current)==null?void 0:w.getBoundingClientRect().height)||0),Fe=b.useRef(0),yn=b.useCallback(E=>{s&&E===me.length-1&&(ge.current=new Date)},[]),{activeSnapPoint:wn,activeSnapPointIndex:ve,setActiveSnapPoint:pt,onRelease:En,snapPointsOffset:me,onDrag:xn,shouldFade:ht,getPercentageDragged:Cn}=qo({snapPoints:s,activeSnapPointProp:f,setActiveSnapPointProp:v,drawerRef:C,fadeFromIndex:l,overlayRef:G,onSnapPointChange:yn,direction:h});Wo({isDisabled:!g||de||!u||fe||!T});let{restorePositionSetting:Sn}=Vo({isOpen:g,modal:u,nested:c,hasBeenOpened:T,preventScrollRestoration:D});function re(){return(window.innerWidth-kt)/window.innerWidth}function Pn(E){var R;!p&&!s||C.current&&!C.current.contains(E.target)||(mt.current=((R=C.current)==null?void 0:R.getBoundingClientRect().height)||0,z(!0),Ie.current=new Date,ln()&&window.addEventListener("touchend",()=>$e.current=!1,{once:!0}),E.target.setPointerCapture(E.pointerId),_e.current=F(h)?E.screenY:E.screenX)}function gt(E,R){var A;let O=E,I=(A=window.getSelection())==null?void 0:A.toString(),_=C.current?Te(C.current,h):null,U=new Date;if(O.hasAttribute("data-vaul-no-drag"))return!1;if(h==="right"||h==="left")return!0;if(ge.current&&U.getTime()-ge.current.getTime()<500)return!1;if(_!==null&&(h==="bottom"?_>0:_<0))return!0;if(I&&I.length>0)return!1;if(be.current&&U.getTime()-be.current.getTime()<m&&_===0||R)return be.current=U,!1;for(;O;){if(O.scrollHeight>O.clientHeight){if(O.scrollTop!==0)return be.current=new Date,!1;if(O.getAttribute("role")==="dialog")return!0}O=O.parentNode}return!0}function Rn(E){if(C.current&&de){let R=h==="bottom"||h==="right"?1:-1,A=(_e.current-(F(h)?E.screenY:E.screenX))*R,O=A>0;if(s&&ve===0&&!p||!$e.current&&!gt(E.target,O))return;if(C.current.classList.add(It),$e.current=!0,M(C.current,{transition:"none"}),M(G.current,{transition:"none"}),s&&xn({draggedDistance:A}),O&&!s){let V=Yo(A),Ee=Math.min(V*-1,0)*R;M(C.current,{transform:F(h)?`translate3d(0, ${Ee}px, 0)`:`translate3d(${Ee}px, 0, 0)`});return}let I=Math.abs(A),_=document.querySelector("[vaul-drawer-wrapper]"),U=I/mt.current,we=Cn(I,O);we!==null&&(U=we);let Q=1-U;if((ht||l&&ve===l-1)&&(o?.(E,U),M(G.current,{opacity:`${Q}`,transition:"none"},!0)),_&&G.current&&r){let V=Math.min(re()+U*(1-re()),1),Ee=8-U*8,$t=Math.max(0,14-U*14);M(_,{borderRadius:`${Ee}px`,transform:F(h)?`scale(${V}) translate3d(0, ${$t}px, 0)`:`scale(${V}) translate3d(${$t}px, 0, 0)`,transition:"none"},!0)}if(!s){let V=I*R;M(C.current,{transform:F(h)?`translate3d(0, ${V}px, 0)`:`translate3d(${V}px, 0, 0)`})}}}b.useEffect(()=>()=>{ye(!1),Sn()},[]),b.useEffect(()=>{var E;function R(){var A;if(!C.current)return;let O=document.activeElement;if(at(O)||ne.current){let I=((A=window.visualViewport)==null?void 0:A.height)||0,_=window.innerHeight-I,U=C.current.getBoundingClientRect().height||0;Fe.current||(Fe.current=U);let we=C.current.getBoundingClientRect().top;if(Math.abs(vt.current-_)>60&&(ne.current=!ne.current),s&&s.length>0&&me&&ve){let Q=me[ve]||0;_+=Q}if(vt.current=_,U>I||ne.current){let Q=C.current.getBoundingClientRect().height,V=Q;Q>I&&(V=I-kt),x?C.current.style.height=`${Q-Math.max(_,0)}px`:C.current.style.height=`${Math.max(V,I-we)}px`}else C.current.style.height=`${Fe.current}px`;s&&s.length>0&&!ne.current?C.current.style.bottom="0px":C.current.style.bottom=`${Math.max(_,0)}px`}}return(E=window.visualViewport)==null||E.addEventListener("resize",R),()=>{var A;return(A=window.visualViewport)==null?void 0:A.removeEventListener("resize",R)}},[ve,s,me]);function oe(){C.current&&(y?.(),M(C.current,{transform:F(h)?`translate3d(0, ${h==="bottom"?"100%":"-100%"}, 0)`:`translate3d(${h==="right"?"100%":"-100%"}, 0, 0)`,transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`}),M(G.current,{opacity:"0",transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`}),ye(!1),setTimeout(()=>{L(!1),$(!1)},300),setTimeout(()=>{s&&pt(s[0])},N.DURATION*1e3))}b.useEffect(()=>{if(!g&&r){let E=setTimeout(()=>{De(document.body)},200);return()=>clearTimeout(E)}},[g,r]),b.useEffect(()=>{e?($(!0),k(!0)):oe()},[e]),b.useEffect(()=>{W&&t?.(g)},[g]),b.useEffect(()=>{B(!0)},[]);function bt(){if(!C.current)return;let E=document.querySelector("[vaul-drawer-wrapper]"),R=Te(C.current,h);M(C.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`}),M(G.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,opacity:"1"}),r&&R&&R>0&&g&&M(E,{borderRadius:`${Mt}px`,overflow:"hidden",...F(h)?{transform:`scale(${re()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${re()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${N.DURATION}s`,transitionTimingFunction:`cubic-bezier(${N.EASE.join(",")})`},!0)}function On(E){var R;if(!de||!C.current)return;C.current.classList.remove(It),$e.current=!1,z(!1),ft.current=new Date;let A=Te(C.current,h);if(!gt(E.target,!1)||!A||Number.isNaN(A)||Ie.current===null)return;let O=ft.current.getTime()-Ie.current.getTime(),I=_e.current-(F(h)?E.screenY:E.screenX),_=Math.abs(I)/O;if(_>.05&&(dt(!0),setTimeout(()=>{dt(!1)},200)),s){En({draggedDistance:I*(h==="bottom"||h==="right"?1:-1),closeDrawer:oe,velocity:_,dismissible:p}),a?.(E,!0);return}if(h==="bottom"||h==="right"?I>0:I<0){bt(),a?.(E,!0);return}if(_>mn){oe(),a?.(E,!1);return}let U=Math.min((R=C.current.getBoundingClientRect().height)!=null?R:0,window.innerHeight);if(A>=U*d){oe(),a?.(E,!1);return}a?.(E,!0),bt()}b.useEffect(()=>{g&&(M(document.documentElement,{scrollBehavior:"auto"}),ge.current=new Date,ye(!0))},[g]),b.useEffect(()=>{var E;if(C.current&&P){let R=(E=C?.current)==null?void 0:E.querySelectorAll("*");R?.forEach(A=>{let O=A;(O.scrollHeight>O.clientHeight||O.scrollWidth>O.clientWidth)&&O.classList.add("vaul-scrollable")})}},[P]);function ye(E){let R=document.querySelector("[vaul-drawer-wrapper]");!R||!r||(E?(M(document.body,{background:document.body.style.backgroundColor||document.body.style.background}),M(document.body,{background:"black"},!0),M(R,{borderRadius:`${Mt}px`,overflow:"hidden",...F(h)?{transform:`scale(${re()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${re()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${N.DURATION}s`,transitionTimingFunction:`cubic-bezier(${N.EASE.join(",")})`})):(De(R,"overflow"),De(R,"transform"),De(R,"borderRadius"),M(R,{transitionProperty:"transform, border-radius",transitionDuration:`${N.DURATION}s`,transitionTimingFunction:`cubic-bezier(${N.EASE.join(",")})`})))}function Dn(E){let R=E?(window.innerWidth-J)/window.innerWidth:1,A=E?-J:0;Le.current&&window.clearTimeout(Le.current),M(C.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,transform:`scale(${R}) translate3d(0, ${A}px, 0)`}),!E&&C.current&&(Le.current=setTimeout(()=>{let O=Te(C.current,h);M(C.current,{transition:"none",transform:F(h)?`translate3d(0, ${O}px, 0)`:`translate3d(${O}px, 0, 0)`})},500))}function Tn(E,R){if(R<0)return;let A=F(h)?window.innerHeight:window.innerWidth,O=(A-J)/A,I=O+R*(1-O),_=-J+R*J;M(C.current,{transform:F(h)?`scale(${I}) translate3d(0, ${_}px, 0)`:`scale(${I}) translate3d(${_}px, 0, 0)`,transition:"none"})}function An(E,R){let A=F(h)?window.innerHeight:window.innerWidth,O=R?(A-J)/A:1,I=R?-J:0;R&&M(C.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,transform:F(h)?`scale(${O}) translate3d(0, ${I}px, 0)`:`scale(${O}) translate3d(${I}px, 0, 0)`})}return b.createElement(tt,{modal:u,onOpenChange:E=>{if(e!==void 0){t?.(E);return}E?(k(!0),$(E)):oe()},open:g},b.createElement(sn.Provider,{value:{visible:P,activeSnapPoint:wn,snapPoints:s,setActiveSnapPoint:pt,drawerRef:C,overlayRef:G,scaleBackground:ye,onOpenChange:t,onPress:Pn,setVisible:L,onRelease:On,onDrag:Rn,dismissible:p,isOpen:g,shouldFade:ht,closeDrawer:oe,onNestedDrag:Tn,onNestedOpenChange:Dn,onNestedRelease:An,keyboardIsOpen:ne,openProp:e,modal:u,snapPointsOffset:me,direction:h}},n))}var gn=b.forwardRef(function({children:e,...t},n){let{overlayRef:r,snapPoints:o,onRelease:a,shouldFade:s,isOpen:c,visible:d}=lt(),m=fn(n,r),p=o&&o.length>0;return b.createElement(an,{onMouseUp:a,ref:m,"vaul-drawer-visible":d?"true":"false","vaul-overlay":"","vaul-snap-points":c&&p?"true":"false","vaul-snap-points-overlay":c&&s?"true":"false",...t})});gn.displayName="Drawer.Overlay";var bn=b.forwardRef(function({onOpenAutoFocus:e,onPointerDownOutside:t,onAnimationEnd:n,style:r,...o},a){let{drawerRef:s,onPress:c,onRelease:d,onDrag:m,dismissible:p,keyboardIsOpen:l,snapPointsOffset:f,visible:v,closeDrawer:x,modal:u,openProp:y,onOpenChange:h,setVisible:D,direction:w}=lt(),g=fn(a,s);return b.useEffect(()=>{D(!0)},[]),b.createElement(rt,{onOpenAutoFocus:$=>{var T;e?e($):($.preventDefault(),(T=s.current)==null||T.focus())},onPointerDown:c,onPointerDownOutside:$=>{if(t?.($),!u||$.defaultPrevented){$.preventDefault();return}l.current&&(l.current=!1),$.preventDefault(),h?.(!1),!(!p||y!==void 0)&&x()},onPointerMove:m,onPointerUp:d,ref:g,style:f&&f.length>0?{"--snap-point-height":`${f[0]}px`,...r}:r,...o,"vaul-drawer":"","vaul-drawer-direction":w,"vaul-drawer-visible":v?"true":"false"})});bn.displayName="Drawer.Content";function Qo({onDrag:e,onOpenChange:t,...n}){let{onNestedDrag:r,onNestedOpenChange:o,onNestedRelease:a}=lt();if(!r)throw new Error("Drawer.NestedRoot must be placed in another drawer");return b.createElement(hn,{nested:!0,onClose:()=>{o(!1)},onDrag:(s,c)=>{r(s,c),e?.(s,c)},onOpenChange:s=>{s&&o(s),t?.(s)},onRelease:a,...n})}var se={Root:hn,NestedRoot:Qo,Content:bn,Overlay:gn,Trigger:To,Portal:nt,Close:No,Title:cn,Description:Ao};const it=Ft([]),Jo=e=>{const{content:t,children:n,zIndex:r=998,title:o,dismissible:a=!0,defaultOpen:s}=e,[c,d]=i.useState(e.open??s),m=i.useMemo(()=>{const y={onOpenChange:d};return c!==void 0&&(y.open=c),e.onOpenChange!==void 0&&(y.onOpenChange=h=>{d(h),e.onOpenChange?.(h)}),y},[e,c,d]);i.useEffect(()=>{e.open!==void 0&&d(e.open)},[e.open]);const[p,l]=i.useState(),f=kn();i.useEffect(()=>{const y=p;if(y)return f.set(it,h=>h.concat(y)),()=>{f.set(it,h=>h.filter(D=>D!==y))}},[p,f]);const v=se.Root,x=r-1,u=r;return S.jsxs(v,{dismissible:a,...m,children:[S.jsx(se.Trigger,{asChild:!0,children:n}),S.jsxs(se.Portal,{children:[S.jsxs(se.Content,{style:{zIndex:u},className:"fixed bottom-0 left-0 right-0 mt-24 flex max-h-[95vh] flex-col rounded-t-[10px] bg-base-100 p-4",children:[a&&S.jsx("div",{className:"mx-auto mb-8 h-1.5 w-12 flex-shrink-0 rounded-full bg-zinc-300 dark:bg-neutral-800"}),o&&S.jsx(se.Title,{className:"-mt-4 mb-4 flex justify-center text-lg font-medium",children:o}),b.isValidElement(t)?t:typeof t=="function"?b.createElement(t):null,S.jsx("div",{ref:l})]}),S.jsx(se.Overlay,{className:"fixed inset-0 bg-neutral-800/40",style:{zIndex:x}})]})]})},ea={scale:1,opacity:1},Lt={scale:.96,opacity:0},ta={...Bn},na=i.memo(function({item:t,index:n,onClose:r,children:o}){const a=In(ee),s=zn(()=>{a(W=>W.filter(B=>B.id!==t.id)),r?.(!1)}),c=i.useCallback(W=>{W||s()},[s]),{CustomModalComponent:d,modalClassName:m,content:p,title:l,clickOutsideToDismiss:f,modalContainerClassName:v,wrapper:x=i.Fragment,max:u}=t,y=i.useMemo(()=>({zIndex:99+n}),[n]),h=i.useCallback(W=>{We(W),s()},[s]),D=_n(),w=Wn(),g=qn();i.useEffect(()=>{D||g.start(ea)},[g,D]);const $=i.useCallback(()=>{g.start({scale:1.05,transition:{duration:.06}}).then(()=>{w.current||g.start({scale:1})})},[g]),T=i.useRef(null),k=i.useMemo(()=>({dismiss:s}),[s]),P=i.useMemo(()=>({...k,ref:T}),[k]),L=S.jsx(Wt.Provider,{value:P,children:o||i.createElement(p,k)});if(D){const W=le.get(it).length;return S.jsx(x,{children:S.jsx(Jo,{title:l,defaultOpen:!0,zIndex:1e3+W,onOpenChange:B=>{B||setTimeout(()=>{s()},1e3)},content:L})})}return d?S.jsx(x,{children:S.jsx(tt,{open:!0,onOpenChange:c,children:S.jsxs(nt,{children:[S.jsx(Tt,{zIndex:20}),S.jsx(rt,{asChild:!0,children:S.jsx("div",{className:je("fixed inset-0 z-[20] overflow-auto",v),onClick:f?h:void 0,children:S.jsx("div",{className:"contents",onClick:We,children:S.jsx(d,{children:L})})})})]})})}):S.jsx(x,{children:S.jsx(tt,{open:!0,onOpenChange:c,children:S.jsxs(nt,{children:[S.jsx(Tt,{zIndex:20}),S.jsx(rt,{asChild:!0,children:S.jsx("div",{className:je("fixed inset-0 z-[20] flex center",v),onClick:f?h:$,children:S.jsxs(jt.div,{style:y,exit:Lt,initial:Lt,animate:g,transition:ta,className:je("relative flex flex-col overflow-hidden rounded-lg","bg-zinc-50/80 dark:bg-neutral-900/80","p-2 shadow-2xl shadow-stone-300 backdrop-blur-sm dark:shadow-stone-800",u?"h-[90vh] w-[90vw]":"max-h-[70vh] min-w-[300px] max-w-[90vw] lg:max-h-[calc(100vh-20rem)] lg:max-w-[70vw]","border border-slate-200 dark:border-neutral-800",m),onClick:We,children:[S.jsx(cn,{className:"flex-shrink-0 px-4 py-2 text-lg font-medium",children:l}),S.jsx(Un,{className:"my-2 flex-shrink-0 border-slate-200 opacity-80 dark:border-neutral-800"}),S.jsx("div",{className:"min-h-0 flex-shrink flex-grow overflow-auto px-4 py-2",children:L}),S.jsx(on,{onClick:s,className:"absolute right-0 top-0 z-[9] p-5",children:S.jsx(Mo,{})})]})})})]})})})}),ra=()=>{const e=Gn();i.useEffect(()=>{$n.dismissAll()},[e])},$a=e=>{const t=i.useId(),n=i.useRef(0),{wrapper:r}=e||{};return{present:i.useCallback(o=>{const a=`${t}-${++n.current}`;return le.set(ee,s=>{const c={...o,id:o.id??a,wrapper:r};return Zn[c.id]=c,s.concat(c)}),()=>{le.set(ee,s=>s.filter(c=>c.id!==a))}},[t]),...$n}},$n={dismiss(e){le.set(ee,t=>t.filter(n=>n.id!==e))},dismissTop(){le.set(ee,e=>e.slice(0,-1))},dismissAll(){le.set(ee,[])}},ya=({children:e})=>S.jsxs(S.Fragment,{children:[e,S.jsx(oa,{})]}),oa=()=>{const e=Ln(ee);return ra(),S.jsx(Yn,{mode:"popLayout",onExitComplete:()=>{console.log("onExitComplete")},children:e.map((t,n)=>S.jsx(na,{item:t,index:n},t.id))})};export{tt as $,Tt as D,ya as M,j as _,ga as a,Gn as b,$o as c,Eo as d,qn as e,Z as f,ha as g,$a as u}; diff --git a/assets/quadrantDiagram-0332be45-5LfNbf_o.js b/assets/quadrantDiagram-0332be45-5LfNbf_o.js new file mode 100644 index 00000000000..b504b8e3a96 --- /dev/null +++ b/assets/quadrantDiagram-0332be45-5LfNbf_o.js @@ -0,0 +1,7 @@ +import{Q as vt,c as yt,R as D,l as ot,s as Lt,g as Ct,p as zt,q as bt,a as Et,b as Dt,r as It,h as gt,i as Bt,d as Rt}from"./mermaid.core-wTs8WatG.js";import"./request-bY2SEZNN.js";import{l as _t}from"./linear-2m3rEmg6.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./init-Hi12RPRh.js";var pt=function(){var e=function(K,n,r,l){for(r=r||{},l=K.length;l--;r[K[l]]=n);return r},s=[1,3],h=[1,4],x=[1,5],f=[1,6],d=[1,7],c=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],g=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],y=[2,7],p=[1,13],B=[1,17],N=[1,18],V=[1,19],I=[1,20],b=[1,21],M=[1,22],X=[1,23],C=[1,24],it=[1,25],at=[1,26],nt=[1,27],Q=[1,30],U=[1,31],T=[1,32],_=[1,33],m=[1,34],t=[1,35],A=[1,36],S=[1,37],k=[1,38],F=[1,39],P=[1,40],v=[1,41],L=[1,42],O=[1,57],Y=[1,58],z=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,r,l,o,q,a,et){var u=a.length-1;switch(q){case 12:this.$=a[u].trim(),o.setDiagramTitle(this.$);break;case 13:this.$=a[u].trim(),o.setAccTitle(this.$);break;case 14:case 15:this.$=a[u].trim(),o.setAccDescription(this.$);break;case 16:o.addSection(a[u].substr(8)),this.$=a[u].substr(8);break;case 17:o.addPoint(a[u-3],a[u-1],a[u]);break;case 18:o.setXAxisLeftText(a[u-2]),o.setXAxisRightText(a[u]);break;case 19:a[u-1].text+=" ⟶ ",o.setXAxisLeftText(a[u-1]);break;case 20:o.setXAxisLeftText(a[u]);break;case 21:o.setYAxisBottomText(a[u-2]),o.setYAxisTopText(a[u]);break;case 22:a[u-1].text+=" ⟶ ",o.setYAxisBottomText(a[u-1]);break;case 23:o.setYAxisBottomText(a[u]);break;case 24:o.setQuadrant1Text(a[u]);break;case 25:o.setQuadrant2Text(a[u]);break;case 26:o.setQuadrant3Text(a[u]);break;case 27:o.setQuadrant4Text(a[u]);break;case 31:this.$={text:a[u],type:"text"};break;case 32:this.$={text:a[u-1].text+""+a[u],type:a[u-1].type};break;case 33:this.$={text:a[u],type:"text"};break;case 34:this.$={text:a[u],type:"markdown"};break;case 35:this.$=a[u];break;case 36:this.$=a[u-1]+""+a[u];break}},table:[{3:1,4:2,5:s,6:h,32:x,33:f,34:d},{1:[3]},{3:8,4:2,5:s,6:h,32:x,33:f,34:d},{3:9,4:2,5:s,6:h,32:x,33:f,34:d},e(c,[2,4],{7:10}),e(g,[2,28]),e(g,[2,29]),e(g,[2,30]),{1:[2,1]},{1:[2,2]},e(i,y,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(c,[2,5]),{4:43,32:x,33:f,34:d},e(i,y,{10:14,11:15,12:16,21:28,35:29,9:44,5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:49,35:29,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:50,35:29,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:51,35:29,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:52,35:29,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:53,35:29,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{5:O,22:[1,54],35:56,36:55,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y},e(z,[2,31]),e(z,[2,33]),e(z,[2,34]),e(z,[2,37]),e(z,[2,38]),e(z,[2,39]),e(z,[2,40]),e(z,[2,41]),e(z,[2,42]),e(z,[2,43]),e(z,[2,44]),e(z,[2,45]),e(z,[2,46]),e(z,[2,47]),e(c,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:O,26:[1,59],40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,23],{36:55,35:56,5:O,26:[1,60],40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,24],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,25],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,26],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,27],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),{23:[1,61]},e(z,[2,32]),e(z,[2,48]),e(z,[2,49]),e(z,[2,50]),e(i,[2,19],{35:29,21:62,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,22],{35:29,21:63,37:Q,38:U,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,21],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var l=new Error(n);throw l.hash=r,l}},parse:function(n){var r=this,l=[0],o=[],q=[null],a=[],et=this.table,u="",st=0,qt=0,St=2,Tt=1,kt=a.slice.call(arguments,1),E=Object.create(this.lexer),Z={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Z.yy[dt]=this.yy[dt]);E.setInput(n,Z.yy),Z.yy.lexer=E,Z.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ut=E.yylloc;a.push(ut);var Ft=E.options&&E.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pt(){var j;return j=o.pop()||E.lex()||Tt,typeof j!="number"&&(j instanceof Array&&(o=j,j=o.pop()),j=r.symbols_[j]||j),j}for(var W,J,H,xt,tt={},rt,$,mt,lt;;){if(J=l[l.length-1],this.defaultActions[J]?H=this.defaultActions[J]:((W===null||typeof W>"u")&&(W=Pt()),H=et[J]&&et[J][W]),typeof H>"u"||!H.length||!H[0]){var ft="";lt=[];for(rt in et[J])this.terminals_[rt]&&rt>St&<.push("'"+this.terminals_[rt]+"'");E.showPosition?ft="Parse error on line "+(st+1)+`: +`+E.showPosition()+` +Expecting `+lt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":ft="Parse error on line "+(st+1)+": Unexpected "+(W==Tt?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(ft,{text:E.match,token:this.terminals_[W]||W,line:E.yylineno,loc:ut,expected:lt})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+J+", token: "+W);switch(H[0]){case 1:l.push(W),q.push(E.yytext),a.push(E.yylloc),l.push(H[1]),W=null,qt=E.yyleng,u=E.yytext,st=E.yylineno,ut=E.yylloc;break;case 2:if($=this.productions_[H[1]][1],tt.$=q[q.length-$],tt._$={first_line:a[a.length-($||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-($||1)].first_column,last_column:a[a.length-1].last_column},Ft&&(tt._$.range=[a[a.length-($||1)].range[0],a[a.length-1].range[1]]),xt=this.performAction.apply(tt,[u,qt,st,Z.yy,H[1],q,a].concat(kt)),typeof xt<"u")return xt;$&&(l=l.slice(0,-1*$*2),q=q.slice(0,-1*$),a=a.slice(0,-1*$)),l.push(this.productions_[H[1]][0]),q.push(tt.$),a.push(tt._$),mt=et[l[l.length-2]][l[l.length-1]],l.push(mt);break;case 3:return!0}}return!0}},At=function(){var K={EOF:1,parseError:function(r,l){if(this.yy.parser)this.yy.parser.parseError(r,l);else throw new Error(r)},setInput:function(n,r){return this.yy=r||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var r=n.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var r=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var q=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===o.length?this.yylloc.first_column:0)+o[o.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[q[0],q[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),r=new Array(n.length+1).join("-");return n+this.upcomingInput()+` +`+r+"^"},test_match:function(n,r){var l,o,q;if(this.options.backtrack_lexer&&(q={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(q.yylloc.range=this.yylloc.range.slice(0))),o=n[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],l=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var a in q)this[a]=q[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,r,l,o;this._more||(this.yytext="",this.match="");for(var q=this._currentRules(),a=0;a<q.length;a++)if(l=this._input.match(this.rules[q[a]]),l&&(!r||l[0].length>r[0].length)){if(r=l,o=a,this.options.backtrack_lexer){if(n=this.test_match(l,q[a]),n!==!1)return n;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(n=this.test_match(r,q[o]),n!==!1?n:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,l,o,q){switch(o){case 0:break;case 1:break;case 2:return 32;case 3:break;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 22:this.popState();break;case 23:this.begin("string");break;case 24:this.popState();break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 28:this.popState();break;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:return 46;case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return K}();ht.lexer=At;function ct(){this.yy={}}return ct.prototype=ht,ht.Parser=ct,new ct}();pt.parser=pt;const wt=pt,w=vt();class Vt{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var s,h,x,f,d,c,g,i,y,p,B,N,V,I,b,M,X,C;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:((s=D.quadrantChart)==null?void 0:s.chartWidth)||500,chartWidth:((h=D.quadrantChart)==null?void 0:h.chartHeight)||500,titlePadding:((x=D.quadrantChart)==null?void 0:x.titlePadding)||10,titleFontSize:((f=D.quadrantChart)==null?void 0:f.titleFontSize)||20,quadrantPadding:((d=D.quadrantChart)==null?void 0:d.quadrantPadding)||5,xAxisLabelPadding:((c=D.quadrantChart)==null?void 0:c.xAxisLabelPadding)||5,yAxisLabelPadding:((g=D.quadrantChart)==null?void 0:g.yAxisLabelPadding)||5,xAxisLabelFontSize:((i=D.quadrantChart)==null?void 0:i.xAxisLabelFontSize)||16,yAxisLabelFontSize:((y=D.quadrantChart)==null?void 0:y.yAxisLabelFontSize)||16,quadrantLabelFontSize:((p=D.quadrantChart)==null?void 0:p.quadrantLabelFontSize)||16,quadrantTextTopPadding:((B=D.quadrantChart)==null?void 0:B.quadrantTextTopPadding)||5,pointTextPadding:((N=D.quadrantChart)==null?void 0:N.pointTextPadding)||5,pointLabelFontSize:((V=D.quadrantChart)==null?void 0:V.pointLabelFontSize)||12,pointRadius:((I=D.quadrantChart)==null?void 0:I.pointRadius)||5,xAxisPosition:((b=D.quadrantChart)==null?void 0:b.xAxisPosition)||"top",yAxisPosition:((M=D.quadrantChart)==null?void 0:M.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:((X=D.quadrantChart)==null?void 0:X.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:((C=D.quadrantChart)==null?void 0:C.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:w.quadrant1Fill,quadrant2Fill:w.quadrant2Fill,quadrant3Fill:w.quadrant3Fill,quadrant4Fill:w.quadrant4Fill,quadrant1TextFill:w.quadrant1TextFill,quadrant2TextFill:w.quadrant2TextFill,quadrant3TextFill:w.quadrant3TextFill,quadrant4TextFill:w.quadrant4TextFill,quadrantPointFill:w.quadrantPointFill,quadrantPointTextFill:w.quadrantPointTextFill,quadrantXAxisTextFill:w.quadrantXAxisTextFill,quadrantYAxisTextFill:w.quadrantYAxisTextFill,quadrantTitleFill:w.quadrantTitleFill,quadrantInternalBorderStrokeFill:w.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:w.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),ot.info("clear called")}setData(s){this.data={...this.data,...s}}addPoints(s){this.data.points=[...s,...this.data.points]}setConfig(s){ot.trace("setConfig called with: ",s),this.config={...this.config,...s}}setThemeConfig(s){ot.trace("setThemeConfig called with: ",s),this.themeConfig={...this.themeConfig,...s}}calculateSpace(s,h,x,f){const d=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,c={top:s==="top"&&h?d:0,bottom:s==="bottom"&&h?d:0},g=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,i={left:this.config.yAxisPosition==="left"&&x?g:0,right:this.config.yAxisPosition==="right"&&x?g:0},y=this.config.titleFontSize+this.config.titlePadding*2,p={top:f?y:0},B=this.config.quadrantPadding+i.left,N=this.config.quadrantPadding+c.top+p.top,V=this.config.chartWidth-this.config.quadrantPadding*2-i.left-i.right,I=this.config.chartHeight-this.config.quadrantPadding*2-c.top-c.bottom-p.top,b=V/2,M=I/2;return{xAxisSpace:c,yAxisSpace:i,titleSpace:p,quadrantSpace:{quadrantLeft:B,quadrantTop:N,quadrantWidth:V,quadrantHalfWidth:b,quadrantHeight:I,quadrantHalfHeight:M}}}getAxisLabels(s,h,x,f){const{quadrantSpace:d,titleSpace:c}=f,{quadrantHalfHeight:g,quadrantHeight:i,quadrantLeft:y,quadrantHalfWidth:p,quadrantTop:B,quadrantWidth:N}=d,V=!!this.data.xAxisRightText,I=!!this.data.yAxisTopText,b=[];return this.data.xAxisLeftText&&h&&b.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:y+(V?p/2:0),y:s==="top"?this.config.xAxisLabelPadding+c.top:this.config.xAxisLabelPadding+B+i+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:V?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&h&&b.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:y+p+(V?p/2:0),y:s==="top"?this.config.xAxisLabelPadding+c.top:this.config.xAxisLabelPadding+B+i+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:V?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&x&&b.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+y+N+this.config.quadrantPadding,y:B+i-(I?g/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:I?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&x&&b.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+y+N+this.config.quadrantPadding,y:B+g-(I?g/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:I?"center":"left",horizontalPos:"top",rotation:-90}),b}getQuadrants(s){const{quadrantSpace:h}=s,{quadrantHalfHeight:x,quadrantLeft:f,quadrantHalfWidth:d,quadrantTop:c}=h,g=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f+d,y:c,width:d,height:x,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f,y:c,width:d,height:x,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f,y:c+x,width:d,height:x,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f+d,y:c+x,width:d,height:x,fill:this.themeConfig.quadrant4Fill}];for(const i of g)i.text.x=i.x+i.width/2,this.data.points.length===0?(i.text.y=i.y+i.height/2,i.text.horizontalPos="middle"):(i.text.y=i.y+this.config.quadrantTextTopPadding,i.text.horizontalPos="top");return g}getQuadrantPoints(s){const{quadrantSpace:h}=s,{quadrantHeight:x,quadrantLeft:f,quadrantTop:d,quadrantWidth:c}=h,g=_t().domain([0,1]).range([f,c+f]),i=_t().domain([0,1]).range([x+d,d]);return this.data.points.map(p=>({x:g(p.x),y:i(p.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:p.text,fill:this.themeConfig.quadrantPointTextFill,x:g(p.x),y:i(p.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}}))}getBorders(s){const h=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:x}=s,{quadrantHalfHeight:f,quadrantHeight:d,quadrantLeft:c,quadrantHalfWidth:g,quadrantTop:i,quadrantWidth:y}=x;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c-h,y1:i,x2:c+y+h,y2:i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c+y,y1:i+h,x2:c+y,y2:i+d-h},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c-h,y1:i+d,x2:c+y+h,y2:i+d},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c,y1:i+h,x2:c,y2:i+d-h},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:c+g,y1:i+h,x2:c+g,y2:i+d-h},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:c+h,y1:i+f,x2:c+y-h,y2:i+f}]}getTitle(s){if(s)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const s=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),h=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),x=this.config.showTitle&&!!this.data.titleText,f=this.data.points.length>0?"bottom":this.config.xAxisPosition,d=this.calculateSpace(f,s,h,x);return{points:this.getQuadrantPoints(d),quadrants:this.getQuadrants(d),axisLabels:this.getAxisLabels(f,s,h,d),borderLines:this.getBorders(d),title:this.getTitle(x)}}}const Wt=yt();function G(e){return Rt(e.trim(),Wt)}const R=new Vt;function Nt(e){R.setData({quadrant1Text:G(e.text)})}function Qt(e){R.setData({quadrant2Text:G(e.text)})}function Ut(e){R.setData({quadrant3Text:G(e.text)})}function Ht(e){R.setData({quadrant4Text:G(e.text)})}function Mt(e){R.setData({xAxisLeftText:G(e.text)})}function Xt(e){R.setData({xAxisRightText:G(e.text)})}function Ot(e){R.setData({yAxisTopText:G(e.text)})}function Yt(e){R.setData({yAxisBottomText:G(e.text)})}function $t(e,s,h){R.addPoints([{x:s,y:h,text:G(e.text)}])}function jt(e){R.setConfig({chartWidth:e})}function Gt(e){R.setConfig({chartHeight:e})}function Kt(){const e=yt(),{themeVariables:s,quadrantChart:h}=e;return h&&R.setConfig(h),R.setThemeConfig({quadrant1Fill:s.quadrant1Fill,quadrant2Fill:s.quadrant2Fill,quadrant3Fill:s.quadrant3Fill,quadrant4Fill:s.quadrant4Fill,quadrant1TextFill:s.quadrant1TextFill,quadrant2TextFill:s.quadrant2TextFill,quadrant3TextFill:s.quadrant3TextFill,quadrant4TextFill:s.quadrant4TextFill,quadrantPointFill:s.quadrantPointFill,quadrantPointTextFill:s.quadrantPointTextFill,quadrantXAxisTextFill:s.quadrantXAxisTextFill,quadrantYAxisTextFill:s.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:s.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:s.quadrantInternalBorderStrokeFill,quadrantTitleFill:s.quadrantTitleFill}),R.setData({titleText:bt()}),R.build()}const Zt=function(){R.clear(),It()},Jt={setWidth:jt,setHeight:Gt,setQuadrant1Text:Nt,setQuadrant2Text:Qt,setQuadrant3Text:Ut,setQuadrant4Text:Ht,setXAxisLeftText:Mt,setXAxisRightText:Xt,setYAxisTopText:Ot,setYAxisBottomText:Yt,addPoint:$t,getQuadrantData:Kt,clear:Zt,setAccTitle:Lt,getAccTitle:Ct,setDiagramTitle:zt,getDiagramTitle:bt,getAccDescription:Et,setAccDescription:Dt},te=(e,s,h,x)=>{var f,d,c;function g(t){return t==="top"?"hanging":"middle"}function i(t){return t==="left"?"start":"middle"}function y(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const p=yt();ot.debug(`Rendering quadrant chart +`+e);const B=p.securityLevel;let N;B==="sandbox"&&(N=gt("#i"+s));const I=(B==="sandbox"?gt(N.nodes()[0].contentDocument.body):gt("body")).select(`[id="${s}"]`),b=I.append("g").attr("class","main"),M=((f=p.quadrantChart)==null?void 0:f.chartWidth)||500,X=((d=p.quadrantChart)==null?void 0:d.chartHeight)||500;Bt(I,X,M,((c=p.quadrantChart)==null?void 0:c.useMaxWidth)||!0),I.attr("viewBox","0 0 "+M+" "+X),x.db.setHeight(X),x.db.setWidth(M);const C=x.db.getQuadrantData(),it=b.append("g").attr("class","quadrants"),at=b.append("g").attr("class","border"),nt=b.append("g").attr("class","data-points"),Q=b.append("g").attr("class","labels"),U=b.append("g").attr("class","title");C.title&&U.append("text").attr("x",0).attr("y",0).attr("fill",C.title.fill).attr("font-size",C.title.fontSize).attr("dominant-baseline",g(C.title.horizontalPos)).attr("text-anchor",i(C.title.verticalPos)).attr("transform",y(C.title)).text(C.title.text),C.borderLines&&at.selectAll("line").data(C.borderLines).enter().append("line").attr("x1",t=>t.x1).attr("y1",t=>t.y1).attr("x2",t=>t.x2).attr("y2",t=>t.y2).style("stroke",t=>t.strokeFill).style("stroke-width",t=>t.strokeWidth);const T=it.selectAll("g.quadrant").data(C.quadrants).enter().append("g").attr("class","quadrant");T.append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill),T.append("text").attr("x",0).attr("y",0).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>g(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>y(t.text)).text(t=>t.text.text),Q.selectAll("g.label").data(C.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(t=>t.text).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>g(t.horizontalPos)).attr("text-anchor",t=>i(t.verticalPos)).attr("transform",t=>y(t));const m=nt.selectAll("g.data-point").data(C.points).enter().append("g").attr("class","data-point");m.append("circle").attr("cx",t=>t.x).attr("cy",t=>t.y).attr("r",t=>t.radius).attr("fill",t=>t.fill),m.append("text").attr("x",0).attr("y",0).text(t=>t.text.text).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>g(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>y(t.text))},ee={draw:te},de={parser:wt,db:Jt,renderer:ee,styles:()=>""};export{de as diagram}; diff --git a/assets/react-error-boundary.esm-e5Yyzoa4.js b/assets/react-error-boundary.esm-e5Yyzoa4.js new file mode 100644 index 00000000000..2f0e6e081f2 --- /dev/null +++ b/assets/react-error-boundary.esm-e5Yyzoa4.js @@ -0,0 +1 @@ +import{r as a}from"./index-ZXl4th35.js";const c=a.createContext(null),d={didCatch:!1,error:null};class E extends a.Component{constructor(r){super(r),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=d}static getDerivedStateFromError(r){return{didCatch:!0,error:r}}resetErrorBoundary(){const{error:r}=this.state;if(r!==null){for(var t,e,n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];(t=(e=this.props).onReset)===null||t===void 0||t.call(e,{args:s,reason:"imperative-api"}),this.setState(d)}}componentDidCatch(r,t){var e,n;(e=(n=this.props).onError)===null||e===void 0||e.call(n,r,t)}componentDidUpdate(r,t){const{didCatch:e}=this.state,{resetKeys:n}=this.props;if(e&&t.error!==null&&h(r.resetKeys,n)){var s,o;(s=(o=this.props).onReset)===null||s===void 0||s.call(o,{next:n,prev:r.resetKeys,reason:"keys"}),this.setState(d)}}render(){const{children:r,fallbackRender:t,FallbackComponent:e,fallback:n}=this.props,{didCatch:s,error:o}=this.state;let i=r;if(s){const u={error:o,resetErrorBoundary:this.resetErrorBoundary};if(typeof t=="function")i=t(u);else if(e)i=a.createElement(e,u);else if(n===null||a.isValidElement(n))i=n;else throw o}return a.createElement(c.Provider,{value:{didCatch:s,error:o,resetErrorBoundary:this.resetErrorBoundary}},i)}}function h(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return l.length!==r.length||l.some((t,e)=>!Object.is(t,r[e]))}export{E}; diff --git a/assets/request-bY2SEZNN.js b/assets/request-bY2SEZNN.js new file mode 100644 index 00000000000..0a8fd42ed0f --- /dev/null +++ b/assets/request-bY2SEZNN.js @@ -0,0 +1,6 @@ +import{a as q,r as vr,b as $t,i as Er}from"./toast-dlXalurG.js";import{r as U,j as ve,c as Sr,g as Or}from"./index-ZXl4th35.js";import{a as xr,i as It}from"./env-y9k74Ds6.js";var rt={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Cr=Symbol((rt?"production":void 0)!=="production"?"RESET":""),ke=(e,t,r)=>(t.has(r)?t:t.set(r,e())).get(r),Ar=new WeakMap,Rr=(e,t,r,n)=>{const s=ke(()=>new WeakMap,Ar,t),i=ke(()=>new WeakMap,s,r);return ke(e,i,n)};function Ut(e,t,r=Object.is){return Rr(()=>{const n=Symbol(),s=([o,a])=>{if(a===n)return t(o);const c=t(o,a);return r(a,c)?a:c},i=q(o=>{const a=o(i),c=o(e);return c instanceof Promise||a instanceof Promise?Promise.all([c,a]).then(s):s([c,a])});return i.init=n,i},e,t,r)}const Pr=e=>typeof e?.then=="function";function Tr(e=()=>{try{return window.localStorage}catch(r){(rt?"production":void 0)!=="production"&&typeof window<"u"&&console.warn(r);return}},t){let r,n;const s={getItem:(i,o)=>{var a,c;const f=u=>{if(u=u||"",r!==u){try{n=JSON.parse(u,t?.reviver)}catch{return o}r=u}return n},h=(c=(a=e())==null?void 0:a.getItem(i))!=null?c:null;return Pr(h)?h.then(f):f(h)},setItem:(i,o)=>{var a;return(a=e())==null?void 0:a.setItem(i,JSON.stringify(o,t?.replacer))},removeItem:i=>{var o;return(o=e())==null?void 0:o.removeItem(i)}};return typeof window<"u"&&typeof window.addEventListener=="function"&&window.Storage&&(s.subscribe=(i,o,a)=>{if(!(e()instanceof window.Storage))return()=>{};const c=f=>{if(f.storageArea===e()&&f.key===i){let h;try{h=JSON.parse(f.newValue||"")}catch{h=a}o(h)}};return window.addEventListener("storage",c),()=>{window.removeEventListener("storage",c)}}),s}const _r=Tr();function ki(e,t,r=_r,n){const s=n?.getOnInit,i=q(s?r.getItem(e,t):t);return(rt?"production":void 0)!=="production"&&(i.debugPrivate=!0),i.onMount=a=>{s||a(r.getItem(e,t));let c;return r.subscribe&&(c=r.subscribe(e,a,t)),c},q(a=>a(i),(a,c,f)=>{const h=typeof f=="function"?f(a(i)):f;return h===Cr?(c(i,t),r.removeItem(e)):h instanceof Promise?h.then(u=>(c(i,u),r.setItem(e,u))):(c(i,h),r.setItem(e,h))})}const Oe=vr();var xe=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(){}},Ce=typeof window>"u"||"Deno"in window;function H(){}function Dr(e,t){return typeof e=="function"?e(t):e}function jr(e){return typeof e=="number"&&e>=0&&e!==1/0}function Fr(e,t){return Math.max(e+(t||0)-Date.now(),0)}function bt(e,t){const{type:r="all",exact:n,fetchStatus:s,predicate:i,queryKey:o,stale:a}=e;if(o){if(n){if(t.queryHash!==nt(o,t.options))return!1}else if(!ce(t.queryKey,o))return!1}if(r!=="all"){const c=t.isActive();if(r==="active"&&!c||r==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||s&&s!==t.state.fetchStatus||i&&!i(t))}function wt(e,t){const{exact:r,status:n,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(ae(t.options.mutationKey)!==ae(i))return!1}else if(!ce(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||s&&!s(t))}function nt(e,t){return(t?.queryKeyHashFn||ae)(e)}function ae(e){return JSON.stringify(e,(t,r)=>He(r)?Object.keys(r).sort().reduce((n,s)=>(n[s]=r[s],n),{}):r)}function ce(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!ce(e[r],t[r])):!1}function Bt(e,t){if(e===t)return e;const r=vt(e)&&vt(t);if(r||He(e)&&He(t)){const n=r?e:Object.keys(e),s=n.length,i=r?t:Object.keys(t),o=i.length,a=r?[]:{};let c=0;for(let f=0;f<o;f++){const h=r?f:i[f];!r&&e[h]===void 0&&t[h]===void 0&&n.includes(h)?(a[h]=void 0,c++):(a[h]=Bt(e[h],t[h]),a[h]===e[h]&&e[h]!==void 0&&c++)}return s===o&&c===s?e:a}return t}function Ni(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function vt(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function He(e){if(!Et(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Et(r)||!r.hasOwnProperty("isPrototypeOf"))}function Et(e){return Object.prototype.toString.call(e)==="[object Object]"}function kr(e){return new Promise(t=>{setTimeout(t,e)})}function Nr(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Bt(e,t):t}function Mi(e){return e}function Mr(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function Lr(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var $r=class extends xe{#e;#r;#t;constructor(){super(),this.#t=e=>{if(!Ce&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#r||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#t=e,this.#r?.(),this.#r=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){this.listeners.forEach(e=>{e()})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Qe=new $r,Ir=class extends xe{#e=!0;#r;#t;constructor(){super(),this.#t=e=>{if(!Ce&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#r||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#t=e,this.#r?.(),this.#r=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#e}},Ee=new Ir;function Ur(e){return Math.min(1e3*2**e,3e4)}function st(e){return(e??"online")==="online"?Ee.isOnline():!0}var qt=class{constructor(e){this.revert=e?.revert,this.silent=e?.silent}};function Ne(e){return e instanceof qt}function Ht(e){let t=!1,r=0,n=!1,s,i,o;const a=new Promise((v,C)=>{i=v,o=C}),c=v=>{n||(E(new qt(v)),e.abort?.())},f=()=>{t=!0},h=()=>{t=!1},u=()=>!Qe.isFocused()||e.networkMode!=="always"&&!Ee.isOnline(),b=v=>{n||(n=!0,e.onSuccess?.(v),s?.(),i(v))},E=v=>{n||(n=!0,e.onError?.(v),s?.(),o(v))},d=()=>new Promise(v=>{s=C=>{const T=n||!u();return T&&v(C),T},e.onPause?.()}).then(()=>{s=void 0,n||e.onContinue?.()}),p=()=>{if(n)return;let v;try{v=e.fn()}catch(C){v=Promise.reject(C)}Promise.resolve(v).then(b).catch(C=>{if(n)return;const T=e.retry??(Ce?0:3),j=e.retryDelay??Ur,J=typeof j=="function"?j(r,C):j,V=T===!0||typeof T=="number"&&r<T||typeof T=="function"&&T(r,C);if(t||!V){E(C);return}r++,e.onFail?.(r,C),kr(J).then(()=>{if(u())return d()}).then(()=>{t?E(C):p()})})};return st(e.networkMode)?p():d().then(p),{promise:a,cancel:c,continue:()=>s?.()?a:Promise.resolve(),cancelRetry:f,continueRetry:h}}function Br(){let e=[],t=0,r=b=>{b()},n=b=>{b()},s=b=>setTimeout(b,0);const i=b=>{s=b},o=b=>{let E;t++;try{E=b()}finally{t--,t||f()}return E},a=b=>{t?e.push(b):s(()=>{r(b)})},c=b=>(...E)=>{a(()=>{b(...E)})},f=()=>{const b=e;e=[],b.length&&s(()=>{n(()=>{b.forEach(E=>{r(E)})})})};return{batch:o,batchCalls:c,schedule:a,setNotifyFunction:b=>{r=b},setBatchNotifyFunction:b=>{n=b},setScheduler:i}}var L=Br(),Qt=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),jr(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ce?1/0:5*60*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},qr=class extends Qt{#e;#r;#t;#i;#n;#s;#c;#o;constructor(e){super(),this.#o=!1,this.#c=e.defaultOptions,this.#u(e.options),this.#s=[],this.#t=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=e.state||Hr(this.options),this.state=this.#e,this.scheduleGc()}get meta(){return this.options.meta}#u(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.#s.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(e,t){const r=Nr(this.state.data,e,this.options);return this.#a({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#i;return this.#n?.cancel(e),t?t.then(H).catch(H):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.#s.some(e=>e.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.#s.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Fr(this.state.dataUpdatedAt,e)}onFocus(){this.#s.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.#s.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.#s.includes(e)||(this.#s.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.#s.includes(e)&&(this.#s=this.#s.filter(t=>t!==e),this.#s.length||(this.#n&&(this.#o?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.#s.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}fetch(e,t){if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#n?.continueRetry(),this.#i}if(e&&this.#u(e),!this.options.queryFn){const c=this.#s.find(f=>f.options.queryFn);c&&this.#u(c.options)}const r=new AbortController,n={queryKey:this.queryKey,meta:this.meta},s=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#o=!0,r.signal)})};s(n);const i=()=>this.options.queryFn?(this.#o=!1,this.options.persister?this.options.persister(this.options.queryFn,n,this):this.options.queryFn(n)):Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)),o={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};s(o),this.options.behavior?.onFetch(o,this),this.#r=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#a({type:"fetch",meta:o.fetchOptions?.meta});const a=c=>{Ne(c)&&c.silent||this.#a({type:"error",error:c}),Ne(c)||(this.#t.config.onError?.(c,this),this.#t.config.onSettled?.(this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#n=Ht({fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:c=>{if(c===void 0){a(new Error(`${this.queryHash} data is undefined`));return}this.setData(c),this.#t.config.onSuccess?.(c,this),this.#t.config.onSettled?.(c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:a,onFail:(c,f)=>{this.#a({type:"failed",failureCount:c,error:f})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode}),this.#i=this.#n.promise,this.#i}#a(e){const t=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:e.meta??null,fetchStatus:st(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"pending"}};case"success":return{...r,data:e.data,dataUpdateCount:r.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 Ne(n)&&n.revert&&this.#r?{...this.#r,fetchStatus:"idle"}:{...r,error:n,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=t(this.state),L.batch(()=>{this.#s.forEach(r=>{r.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:e})})}};function Hr(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Qr=class extends xe{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,r){const n=t.queryKey,s=t.queryHash??nt(n,t);let i=this.get(s);return i||(i=new qr({cache:this,queryKey:n,queryHash:s,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(i)),i}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){L.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(r=>bt(t,r))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(r=>bt(e,r)):t}notify(e){L.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){L.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){L.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Kr=class extends Qt{#e;#r;#t;#i;constructor(e){super(),this.mutationId=e.mutationId,this.#r=e.defaultOptions,this.#t=e.mutationCache,this.#e=[],this.state=e.state||zr(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.#r,...e},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>(this.#i=Ht({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(n,s)=>{this.#n({type:"failed",failureCount:n,error:s})},onPause:()=>{this.#n({type:"pause"})},onContinue:()=>{this.#n({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.#i.promise),r=this.state.status==="pending";try{if(!r){this.#n({type:"pending",variables:e}),await this.#t.config.onMutate?.(e,this);const s=await this.options.onMutate?.(e);s!==this.state.context&&this.#n({type:"pending",context:s,variables:e})}const n=await t();return await this.#t.config.onSuccess?.(n,e,this.state.context,this),await this.options.onSuccess?.(n,e,this.state.context),await this.#t.config.onSettled?.(n,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(n,null,e,this.state.context),this.#n({type:"success",data:n}),n}catch(n){try{throw await this.#t.config.onError?.(n,e,this.state.context,this),await this.options.onError?.(n,e,this.state.context),await this.#t.config.onSettled?.(void 0,n,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,n,e,this.state.context),n}finally{this.#n({type:"error",error:n})}}}#n(e){const t=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!st(this.options.networkMode),status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),L.batch(()=>{this.#e.forEach(r=>{r.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function zr(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Jr=class extends xe{constructor(e={}){super(),this.config=e,this.#e=[],this.#r=0}#e;#r;#t;build(e,t,r){const n=new Kr({mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#e.push(e),this.notify({type:"added",mutation:e})}remove(e){this.#e=this.#e.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){L.batch(()=>{this.#e.forEach(e=>{this.remove(e)})})}getAll(){return this.#e}find(e){const t={exact:!0,...e};return this.#e.find(r=>wt(t,r))}findAll(e={}){return this.#e.filter(t=>wt(e,t))}notify(e){L.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){return this.#t=(this.#t??Promise.resolve()).then(()=>{const e=this.#e.filter(t=>t.state.isPaused);return L.batch(()=>e.reduce((t,r)=>t.then(()=>r.continue().catch(H)),Promise.resolve()))}).then(()=>{this.#t=void 0}),this.#t}};function Wr(e){return{onFetch:(t,r)=>{const n=async()=>{const s=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],a=t.state.data?.pageParams||[],c={pages:[],pageParams:[]};let f=!1;const h=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(t.signal.aborted?f=!0:t.signal.addEventListener("abort",()=>{f=!0}),t.signal)})},u=t.options.queryFn||(()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`))),b=async(d,p,v)=>{if(f)return Promise.reject();if(p==null&&d.pages.length)return Promise.resolve(d);const C={queryKey:t.queryKey,pageParam:p,direction:v?"backward":"forward",meta:t.options.meta};h(C);const T=await u(C),{maxPages:j}=t.options,J=v?Lr:Mr;return{pages:J(d.pages,T,j),pageParams:J(d.pageParams,p,j)}};let E;if(i&&o.length){const d=i==="backward",p=d?Kt:Ke,v={pages:o,pageParams:a},C=p(s,v);E=await b(v,C,d)}else{E=await b(c,a[0]??s.initialPageParam);const d=e??o.length;for(let p=1;p<d;p++){const v=Ke(s,E);E=await b(E,v)}}return E};t.options.persister?t.fetchFn=()=>t.options.persister?.(n,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=n}}}function Ke(e,{pages:t,pageParams:r}){const n=t.length-1;return e.getNextPageParam(t[n],t,r[n],r)}function Kt(e,{pages:t,pageParams:r}){return e.getPreviousPageParam?.(t[0],t,r[0],r)}function Li(e,t){return t?Ke(e,t)!=null:!1}function $i(e,t){return!t||!e.getPreviousPageParam?!1:Kt(e,t)!=null}var Gr=class{#e;#r;#t;#i;#n;#s;#c;#o;constructor(e={}){this.#e=e.queryCache||new Qr,this.#r=e.mutationCache||new Jr,this.#t=e.defaultOptions||{},this.#i=new Map,this.#n=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#c=Qe.subscribe(()=>{Qe.isFocused()&&(this.resumePausedMutations(),this.#e.onFocus())}),this.#o=Ee.subscribe(()=>{Ee.isOnline()&&(this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#c?.(),this.#c=void 0,this.#o?.(),this.#o=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#r.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);return t!==void 0?Promise.resolve(t):this.fetchQuery(e)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(n.queryHash)?.state.data,o=Dr(t,i);if(o!==void 0)return this.#e.build(this,n).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return L.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;L.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=this.#e,n={type:"active",...e};return L.batch(()=>(r.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(n,t)))}cancelQueries(e={},t={}){const r={revert:!0,...t},n=L.batch(()=>this.#e.findAll(e).map(s=>s.cancel(r)));return Promise.all(n).then(H).catch(H)}invalidateQueries(e={},t={}){return L.batch(()=>{if(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e.refetchType==="none")return Promise.resolve();const r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e={},t){const r={...t,cancelRefetch:t?.cancelRefetch??!0},n=L.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()).map(s=>{let i=s.fetch(void 0,r);return r.throwOnError||(i=i.catch(H)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(n).then(H)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=this.#e.build(this,t);return r.isStaleByTime(t.staleTime)?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(H).catch(H)}fetchInfiniteQuery(e){return e.behavior=Wr(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(H).catch(H)}resumePausedMutations(){return this.#r.resumePausedMutations()}getQueryCache(){return this.#e}getMutationCache(){return this.#r}getDefaultOptions(){return this.#t}setDefaultOptions(e){this.#t=e}setQueryDefaults(e,t){this.#i.set(ae(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#i.values()];let r={};return t.forEach(n=>{ce(e,n.queryKey)&&(r={...r,...n.defaultOptions})}),r}setMutationDefaults(e,t){this.#n.set(ae(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#n.values()];let r={};return t.forEach(n=>{ce(e,n.mutationKey)&&(r={...r,...n.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#t.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=nt(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#t.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#r.clear()}};function Vr(e){return{mutationKey:e.options.mutationKey,state:e.state,...e.meta&&{meta:e.meta}}}function Yr(e){return{state:e.state,queryKey:e.queryKey,queryHash:e.queryHash,...e.meta&&{meta:e.meta}}}function Xr(e){return e.state.isPaused}function Zr(e){return e.state.status==="success"}function en(e,t={}){const r=t.shouldDehydrateMutation??Xr,n=e.getMutationCache().getAll().flatMap(o=>r(o)?[Vr(o)]:[]),s=t.shouldDehydrateQuery??Zr,i=e.getQueryCache().getAll().flatMap(o=>s(o)?[Yr(o)]:[]);return{mutations:n,queries:i}}function tn(e,t,r){if(typeof t!="object"||t===null)return;const n=e.getMutationCache(),s=e.getQueryCache(),i=t.mutations||[],o=t.queries||[];i.forEach(a=>{n.build(e,{...r?.defaultOptions?.mutations,mutationKey:a.mutationKey,meta:a.meta},a.state)}),o.forEach(({queryKey:a,state:c,queryHash:f,meta:h})=>{const u=s.get(f);if(u){if(u.state.dataUpdatedAt<c.dataUpdatedAt){const{fetchStatus:b,...E}=c;u.setState(E)}return}s.build(e,{...r?.defaultOptions?.queries,queryKey:a,queryHash:f,meta:h},{...c,fetchStatus:"idle"})})}var zt=U.createContext(void 0),Ii=e=>{const t=U.useContext(zt);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},rn=({client:e,children:t})=>(U.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),ve.jsx(zt.Provider,{value:e,children:t})),Jt=U.createContext(!1),Ui=()=>U.useContext(Jt),nn=Jt.Provider,Wt={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Sr,function(){var r=1e3,n=6e4,s=36e5,i="millisecond",o="second",a="minute",c="hour",f="day",h="week",u="month",b="quarter",E="year",d="date",p="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|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,T={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(S){var g=["th","st","nd","rd"],m=S%100;return"["+S+(g[(m-20)%10]||g[m]||g[0])+"]"}},j=function(S,g,m){var w=String(S);return!w||w.length>=g?S:""+Array(g+1-w.length).join(m)+S},J={s:j,z:function(S){var g=-S.utcOffset(),m=Math.abs(g),w=Math.floor(m/60),y=m%60;return(g<=0?"+":"-")+j(w,2,"0")+":"+j(y,2,"0")},m:function S(g,m){if(g.date()<m.date())return-S(m,g);var w=12*(m.year()-g.year())+(m.month()-g.month()),y=g.clone().add(w,u),O=m-y<0,x=g.clone().add(w+(O?-1:1),u);return+(-(w+(m-y)/(O?y-x:x-y))||0)},a:function(S){return S<0?Math.ceil(S)||0:Math.floor(S)},p:function(S){return{M:u,y:E,w:h,d:f,D:d,h:c,m:a,s:o,ms:i,Q:b}[S]||String(S||"").toLowerCase().replace(/s$/,"")},u:function(S){return S===void 0}},V="en",Y={};Y[V]=T;var yt="$isDayjsObject",Fe=function(S){return S instanceof de||!(!S||!S[yt])},fe=function S(g,m,w){var y;if(!g)return V;if(typeof g=="string"){var O=g.toLowerCase();Y[O]&&(y=O),m&&(Y[O]=m,y=O);var x=g.split("-");if(!y&&x.length>1)return S(x[0])}else{var P=g.name;Y[P]=g,y=P}return!w&&y&&(V=y),y||!w&&V},k=function(S,g){if(Fe(S))return S.clone();var m=typeof g=="object"?g:{};return m.date=S,m.args=arguments,new de(m)},R=J;R.l=fe,R.i=Fe,R.w=function(S,g){return k(S,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var de=function(){function S(m){this.$L=fe(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[yt]=!0}var g=S.prototype;return g.parse=function(m){this.$d=function(w){var y=w.date,O=w.utc;if(y===null)return new Date(NaN);if(R.u(y))return new Date;if(y instanceof Date)return new Date(y);if(typeof y=="string"&&!/Z$/i.test(y)){var x=y.match(v);if(x){var P=x[2]-1||0,_=(x[7]||"0").substring(0,3);return O?new Date(Date.UTC(x[1],P,x[3]||1,x[4]||0,x[5]||0,x[6]||0,_)):new Date(x[1],P,x[3]||1,x[4]||0,x[5]||0,x[6]||0,_)}}return new Date(y)}(m),this.init()},g.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},g.$utils=function(){return R},g.isValid=function(){return this.$d.toString()!==p},g.isSame=function(m,w){var y=k(m);return this.startOf(w)<=y&&y<=this.endOf(w)},g.isAfter=function(m,w){return k(m)<this.startOf(w)},g.isBefore=function(m,w){return this.endOf(w)<k(m)},g.$g=function(m,w,y){return R.u(m)?this[w]:this.set(y,m)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(m,w){var y=this,O=!!R.u(w)||w,x=R.p(m),P=function(Z,$){var W=R.w(y.$u?Date.UTC(y.$y,$,Z):new Date(y.$y,$,Z),y);return O?W:W.endOf(f)},_=function(Z,$){return R.w(y.toDate()[Z].apply(y.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice($)),y)},N=this.$W,M=this.$M,I=this.$D,ee="set"+(this.$u?"UTC":"");switch(x){case E:return O?P(1,0):P(31,11);case u:return O?P(1,M):P(0,M+1);case h:var X=this.$locale().weekStart||0,se=(N<X?N+7:N)-X;return P(O?I-se:I+(6-se),M);case f:case d:return _(ee+"Hours",0);case c:return _(ee+"Minutes",1);case a:return _(ee+"Seconds",2);case o:return _(ee+"Milliseconds",3);default:return this.clone()}},g.endOf=function(m){return this.startOf(m,!1)},g.$set=function(m,w){var y,O=R.p(m),x="set"+(this.$u?"UTC":""),P=(y={},y[f]=x+"Date",y[d]=x+"Date",y[u]=x+"Month",y[E]=x+"FullYear",y[c]=x+"Hours",y[a]=x+"Minutes",y[o]=x+"Seconds",y[i]=x+"Milliseconds",y)[O],_=O===f?this.$D+(w-this.$W):w;if(O===u||O===E){var N=this.clone().set(d,1);N.$d[P](_),N.init(),this.$d=N.set(d,Math.min(this.$D,N.daysInMonth())).$d}else P&&this.$d[P](_);return this.init(),this},g.set=function(m,w){return this.clone().$set(m,w)},g.get=function(m){return this[R.p(m)]()},g.add=function(m,w){var y,O=this;m=Number(m);var x=R.p(w),P=function(M){var I=k(O);return R.w(I.date(I.date()+Math.round(M*m)),O)};if(x===u)return this.set(u,this.$M+m);if(x===E)return this.set(E,this.$y+m);if(x===f)return P(1);if(x===h)return P(7);var _=(y={},y[a]=n,y[c]=s,y[o]=r,y)[x]||1,N=this.$d.getTime()+m*_;return R.w(N,this)},g.subtract=function(m,w){return this.add(-1*m,w)},g.format=function(m){var w=this,y=this.$locale();if(!this.isValid())return y.invalidDate||p;var O=m||"YYYY-MM-DDTHH:mm:ssZ",x=R.z(this),P=this.$H,_=this.$m,N=this.$M,M=y.weekdays,I=y.months,ee=y.meridiem,X=function($,W,ie,pe){return $&&($[W]||$(w,O))||ie[W].slice(0,pe)},se=function($){return R.s(P%12||12,$,"0")},Z=ee||function($,W,ie){var pe=$<12?"AM":"PM";return ie?pe.toLowerCase():pe};return O.replace(C,function($,W){return W||function(ie){switch(ie){case"YY":return String(w.$y).slice(-2);case"YYYY":return R.s(w.$y,4,"0");case"M":return N+1;case"MM":return R.s(N+1,2,"0");case"MMM":return X(y.monthsShort,N,I,3);case"MMMM":return X(I,N);case"D":return w.$D;case"DD":return R.s(w.$D,2,"0");case"d":return String(w.$W);case"dd":return X(y.weekdaysMin,w.$W,M,2);case"ddd":return X(y.weekdaysShort,w.$W,M,3);case"dddd":return M[w.$W];case"H":return String(P);case"HH":return R.s(P,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return Z(P,_,!0);case"A":return Z(P,_,!1);case"m":return String(_);case"mm":return R.s(_,2,"0");case"s":return String(w.$s);case"ss":return R.s(w.$s,2,"0");case"SSS":return R.s(w.$ms,3,"0");case"Z":return x}return null}($)||x.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(m,w,y){var O,x=this,P=R.p(w),_=k(m),N=(_.utcOffset()-this.utcOffset())*n,M=this-_,I=function(){return R.m(x,_)};switch(P){case E:O=I()/12;break;case u:O=I();break;case b:O=I()/3;break;case h:O=(M-N)/6048e5;break;case f:O=(M-N)/864e5;break;case c:O=M/s;break;case a:O=M/n;break;case o:O=M/r;break;default:O=M}return y?O:R.a(O)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return Y[this.$L]},g.locale=function(m,w){if(!m)return this.$L;var y=this.clone(),O=fe(m,w,!0);return O&&(y.$L=O),y},g.clone=function(){return R.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},S}(),gt=de.prototype;return k.prototype=gt,[["$ms",i],["$s",o],["$m",a],["$H",c],["$W",f],["$M",u],["$y",E],["$D",d]].forEach(function(S){gt[S[1]]=function(g){return this.$g(g,S[0],S[1])}}),k.extend=function(S,g){return S.$i||(S(g,de,k),S.$i=!0),k},k.locale=fe,k.isDayjs=Fe,k.unix=function(S){return k(1e3*S)},k.en=Y[V],k.Ls=Y,k.p={},k})})(Wt);var sn=Wt.exports;const Bi=Or(sn);/*! js-cookie v3.0.5 | MIT */function me(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var on={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function ze(e,t){function r(s,i,o){if(!(typeof document>"u")){o=me({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var c in o)o[c]&&(a+="; "+c,o[c]!==!0&&(a+="="+o[c].split(";")[0]));return document.cookie=s+"="+e.write(i,s)+a}}function n(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],o={},a=0;a<i.length;a++){var c=i[a].split("="),f=c.slice(1).join("=");try{var h=decodeURIComponent(c[0]);if(o[h]=e.read(f,h),s===h)break}catch{}}return s?o[s]:o}}return Object.create({set:r,get:n,remove:function(s,i){r(s,"",me({},i,{expires:-1}))},withAttributes:function(s){return ze(this.converter,me({},this.attributes,s))},withConverter:function(s){return ze(me({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var St=ze(on,{path:"/"});const an="mx-token";function cn(){const e=St.get("__session");return St.get(an)||e||null}const un="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let ln=e=>crypto.getRandomValues(new Uint8Array(e)),hn=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,s=-~(1.6*n*t/e.length);return(i=t)=>{let o="";for(;;){let a=r(s),c=s;for(;c--;)if(o+=e[a[c]&n]||"",o.length===i)return o}}},qi=(e,t=21)=>hn(e,t,ln),fn=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+=un[r[e]&63];return t};var it=e=>Gt(e)&&Object.prototype.toString.call(e)==="[object Object]"&&Object.getPrototypeOf(e)===Object.prototype,dn=e=>({asc:1,desc:-1})[e]||1,Gt=e=>e&&typeof e=="object",pn=e=>{if(typeof e!="object"||e===null)return e;const t=e.data;if(it(t)&&Object.keys(e).length===1){const n=Object.assign({},t);return Je(e,n),n}return e},Je=(e,t)=>{!e||!Gt(t)||["$raw","$request","$serialized"].forEach(r=>{e[r]&&Object.defineProperty(t,r,{get(){return e[r]},enumerable:!1})})},We=e=>Array.isArray(e)?e.map(t=>We(t)):it(e)?Object.keys(e).reduce((t,r)=>(t[mn(r)]=We(e[r]),t),{}):e;function mn(e){return e.replace(/([-_][a-z])/gi,t=>t.toUpperCase().replace("-","").replace("_",""))}var Ot=(e,t)=>(t.startsWith("/")||(t=`/${t}`),`${e}${t}`),yn=e=>{const t=new Set;do for(const r of Reflect.ownKeys(e))t.add([e,r]);while((e=Reflect.getPrototypeOf(e))&&e!==Object.prototype);return t};function F(e,{include:t,exclude:r}={}){const n=s=>{const i=o=>typeof o=="string"?s===o:o.test(s);return t?t.some(i):r?!r.some(i):!0};for(const[s,i]of yn(e.constructor.prototype)){if(i==="constructor"||!n(i))continue;const o=Reflect.getOwnPropertyDescriptor(s,i);o&&typeof o.value=="function"&&(e[i]=e[i].bind(e))}return e}var gn=class{constructor(e){this.client=e,this.base="ack",this.name="ack",F(this)}get proxy(){return this.client.proxy(this.base)}read(e,t){return this.proxy.post({data:{type:"read",payload:{type:e,id:t}}})}},bn=class{constructor(e){this.client=e,this.base="activity",this.name="activity",F(this)}get proxy(){return this.client.proxy(this.base)}likeIt(e,t){return this.proxy.like.post({data:{type:e,id:t}})}getPresence(e){return this.proxy.presence.get({params:{room_name:e}})}updatePresence({identity:e,position:t,roomName:r,sid:n,displayName:s}){return this.proxy.presence.update.post({data:{identity:e,position:t,ts:Date.now(),roomName:r,sid:n,displayName:s}})}async getRoomsInfo(){return this.proxy.rooms.get()}},wn=class{constructor(e){this.client=e,this.base="aggregate",this.name="aggregate",F(this)}get proxy(){return this.client.proxy(this.base)}getAggregateData(e){return this.proxy.get({params:{theme:e}})}getTop(e=5){return this.proxy.top.get({params:{size:e}})}getTimeline(e){const{sort:t,type:r,year:n}=e||{};return this.proxy.timeline.get({params:{sort:t&&dn(t),type:r,year:n}})}getStat(){return this.proxy.stat.get()}},ot=class extends Error{constructor(e,t,r,n){super(e),this.status=t,this.path=r,this.raw=n}},vn=class{constructor(e){this.client=e,this.name="category",this.base="categories",F(this)}get proxy(){return this.client.proxy(this.base)}getAllCategories(){return this.proxy.get({params:{type:0}})}getAllTags(){return this.proxy.get({params:{type:1}})}async getCategoryDetail(e){if(typeof e=="string"){const t=await this.proxy.get({params:{ids:e}}),r=Object.values(t.entries)[0];return Je(t,r),r}else if(Array.isArray(e)){const t=await this.proxy.get({params:{ids:e.join(",")}}),r=t?.entries;if(!r)throw new ot("data structure error",500,t.$request.path,t);const n=new Map(Object.entries(r).map(([s,i])=>[s.toLowerCase(),i]));return Je(t,n),n}}async getCategoryByIdOrSlug(e){const t=await this.proxy(e).get();return pn(t)}async getTagByName(e){return await this.proxy(e).get({params:{tag:1}})}},En=class{constructor(e){this.client=e,this.base="comments",this.name="comment",F(this)}get proxy(){return this.client.proxy(this.base)}getById(e){return this.proxy(e).get()}getByRefId(e,t={}){const{page:r,size:n}=t;return this.proxy.ref(e).get({params:{page:r||1,size:n||10}})}comment(e,t){return this.proxy(e).post({data:t})}reply(e,t){return this.proxy.reply(e).post({data:t})}},Ae=class{constructor(e){this.client=e,F(this)}get proxy(){return this.client.proxy(this.base)}getById(e){return this.proxy(e).get()}getAll(){return this.proxy.all.get()}getAllPaginated(e,t,r){return this.proxy.get({params:{page:e,size:t,...r}})}},Sn=class extends Ae{constructor(e){super(e),this.client=e,this.name=["link","friend"],this.base="links",F(this)}async canApplyLink(){const{can:e}=await this.proxy.audit.get();return e}async applyLink(e){return await this.proxy.audit.post({data:e})}},On=class{constructor(e){this.client=e,this.base="notes",this.name="note",F(this)}get proxy(){return this.client.proxy(this.base)}getLatest(){return this.proxy.latest.get()}getNoteById(...e){const[t,r=void 0,n=!1]=e;return typeof t=="number"?this.proxy.nid(t.toString()).get({params:{password:r,single:n?"1":void 0}}):this.proxy(t).get()}getList(e=1,t=10,r={}){const{select:n,sortBy:s,sortOrder:i,year:o}=r;return this.proxy.get({params:{page:e,size:t,select:n?.join(" "),sortBy:s,sortOrder:i,year:o}})}getMiddleList(e,t=5){return this.proxy.list(e).get({params:{size:t}})}getNoteByTopicId(e,t=1,r=10,n={}){return this.proxy.topics(e).get({params:{page:t,size:r,...n}})}},xn=class{constructor(e){this.client=e,this.base="pages",this.name="page",F(this)}get proxy(){return this.client.proxy(this.base)}getList(e=1,t=10,r={}){const{select:n,sortBy:s,sortOrder:i}=r;return this.proxy.get({params:{page:e,size:t,select:n?.join(" "),sortBy:s,sortOrder:i}})}getById(e){return this.proxy(e).get()}getBySlug(e){return this.proxy.slug(e).get({})}},Cn=class{constructor(e){this.client=e,this.base="posts",this.name="post",F(this)}get proxy(){return this.client.proxy(this.base)}getList(e=1,t=10,r={}){const{select:n,sortBy:s,sortOrder:i,year:o}=r;return this.proxy.get({params:{page:e,size:t,select:n?.join(" "),sortBy:s,sortOrder:i,year:o}})}getPost(e,t){return arguments.length==1?this.proxy(e).get():this.proxy(e)(t).get()}getLatest(){return this.proxy.latest.get()}},An=class extends Ae{constructor(e){super(e),this.client=e,this.base="projects",this.name="project",F(this)}},Rn=class{constructor(e){this.client=e,this.base="recently",this.name=["recently","shorthand"],F(this)}get proxy(){return this.client.proxy(this.base)}getLatestOne(){return this.proxy.latest.get()}getAll(){return this.proxy.all.get()}getList(e,t,r){return this.proxy.get({params:{before:e,after:t,size:r}})}attitude(e,t){return this.proxy.attitude(e).get({params:{attitude:t}})}},Pn=class extends Ae{constructor(e){super(e),this.client=e,this.base="says",this.name="say",F(this)}get proxy(){return this.client.proxy(this.base)}getRandom(){return this.proxy.random.get()}},Tn=class{constructor(e){this.client=e,this.base="search",this.name="search",F(this)}get proxy(){return this.client.proxy(this.base)}search(e,t,r={}){return this.proxy(e).get({params:{keyword:t,...r}})}searchByAlgolia(e,t){return this.proxy("algolia").get({params:{keyword:e,...t}})}},_n=class{constructor(e){this.client=e,this.base="serverless",this.name="serverless",F(this)}get proxy(){return this.client.proxy(this.base)}getByReferenceAndName(e,t){return this.proxy(e)(t).get()}},Dn=class{constructor(e){this.client=e,this.base="snippets",this.name="snippet",F(this)}get proxy(){return this.client.proxy(this.base)}getByReferenceAndName(e,t){return this.proxy(e)(t).get()}},jn=class{constructor(e){this.client=e,this.base="subscribe",this.name="subscribe",F(this)}get proxy(){return this.client.proxy(this.base)}check(){return this.proxy.status.get()}subscribe(e,t){return this.proxy.post({data:{email:e,types:t}})}unsubscribe(e,t){return this.proxy.unsubscribe.get({params:{email:e,cancelToken:t}})}},Fn=class extends Ae{constructor(e){super(e),this.client=e,this.base="topics",this.name="topic",F(this)}get proxy(){return this.client.proxy(this.base)}getTopicBySlug(e){return this.proxy.slug(e).get()}},kn=class{constructor(e){this.client=e,this.base="master",this.name=["user","master"],F(this)}get proxy(){return this.client.proxy(this.base)}getMasterInfo(){return this.proxy.get()}login(e,t){return this.proxy.login.post({data:{username:e,password:t}})}loginWithToken(e){return this.proxy.login.put({params:e?{token:`bearer ${e.replace(/^Bearer\s/i,"")}`}:void 0})}checkTokenValid(e){return this.proxy.check_logged.get({params:{token:`bearer ${e.replace(/^Bearer\s/i,"")}`}})}},Nn=[gn,bn,wn,vn,En,Sn,On,xn,Cn,An,Rn,Fn,Pn,Tn,Dn,_n,jn,kn],Mn=["ack","activity","aggregate","category","comment","link","note","page","post","project","topic","recently","say","search","snippet","serverless","subscribe","user","friend","master","shorthand"];function Ln(e){Object.defineProperty(e,"$$get",{value(t,r){const{params:n={},...s}=r,i=$n(n);return e.instance.get(`${t}${i?`${`?${i}`}`:""}`,s)}}),["put","post","patch","delete"].forEach(t=>{Object.defineProperty(e,`$$${t}`,{value(r,n){return e.instance[t](r,n)}})})}function $n(e){if(!e&&typeof e!="object")throw new TypeError("params must be object.");if(e instanceof URLSearchParams)return e.toString();const t=new URLSearchParams;return Object.entries(e).forEach(([r,n])=>{typeof n>"u"||Object.prototype.toString.call(n)==="[object Null]"||t.set(r,n)}),t.toString()}var xt="_$",In=class{constructor(e,t,r={}){this._endpoint=e,this._adaptor=t,this.options=r,this._endpoint=e.replace(/\/*$/,"").replace("localhost","127.0.0.1"),this._proxy=this.buildRoute(this)(),r.transformResponse=r.transformResponse||(n=>We(n)),this.initGetClient(),Ln(this)}initGetClient(){for(const e of Mn)Object.defineProperty(this,e,{get(){const t=Reflect.get(this,`${xt}${e}`);if(!t)throw new ReferenceError(`${e.charAt(0).toUpperCase()+e.slice(1)} Client not inject yet, please inject with client.injectClients(...)`);return t},configurable:!1,enumerable:!1})}injectControllers(e,...t){e=Array.isArray(e)?e:[e,...t];for(const n of e){const s=new n(this);if(Array.isArray(s.name))for(const i of s.name)r.call(this,i,s);else r.call(this,s.name,s)}function r(n,s){Object.defineProperty(this,`${xt}${n.toLowerCase()}`,{get(){return s},enumerable:!1,configurable:!1})}}get endpoint(){return this._endpoint}get instance(){return this._adaptor}request(e){return this[`$$${String(e.method||"get").toLowerCase()}`](e.url,e)}get proxy(){return this._proxy}buildRoute(e){const t=()=>{},r=["get","post","delete","patch","put"],n=["toString","valueOf","inspect","constructor",Symbol.toPrimitive],s=this;return()=>{const i=[""],o={get(a,c){return n.includes(c)?f=>{if(f){const h=Ot(s.endpoint,i.join("/"));return i.length=0,h}else{const h=i.join("/");return i.length=0,h.startsWith("/")?h:`/${h}`}}:r.includes(c)?async f=>{const h=Ot(s.endpoint,i.join("/"));i.length=0;let u;try{u=await e.request({method:c,...f,url:h})}catch(p){let v=p.message,C=p.code||p.status||p.statusCode||p.response?.status||p.response?.statusCode||p.response?.code||500;if(s.options.getCodeMessageFromException){const T=s.options.getCodeMessageFromException(p);v=T.message||v,C=T.code||C}throw s.options.customThrowResponseError?s.options.customThrowResponseError(p):new ot(v,C,h,p)}const b=u.data;if(!b)return null;const E=(Array.isArray(b)||it(b))&&s.options.transformResponse?s.options.transformResponse(b):b;let d=E;return E&&typeof E=="object"&&(d={...E},Object.defineProperty(d,"$raw",{get(){return u},enumerable:!1,configurable:!1}),Object.defineProperty(d,"$request",{get(){return{url:h,method:c,options:f}},enumerable:!1}),Object.defineProperty(d,"$serialized",{get(){return E}})),d}:(i.push(c),new Proxy(t,o))},apply(a,c,f){return i.push(...f.filter(h=>h!==null)),new Proxy(t,o)}};return new Proxy(t,o)}}};function Un(e){return(t,r)=>{const n=new In(t,e,r),{controllers:s}=r||{};return s&&n.injectControllers(s),n}}function Vt(e,t){return function(){return e.apply(t,arguments)}}const{toString:Bn}=Object.prototype,{getPrototypeOf:at}=Object,Re=(e=>t=>{const r=Bn.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),K=e=>(e=e.toLowerCase(),t=>Re(t)===e),Pe=e=>t=>typeof t===e,{isArray:ne}=Array,ue=Pe("undefined");function qn(e){return e!==null&&!ue(e)&&e.constructor!==null&&!ue(e.constructor)&&B(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Yt=K("ArrayBuffer");function Hn(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Yt(e.buffer),t}const Qn=Pe("string"),B=Pe("function"),Xt=Pe("number"),Te=e=>e!==null&&typeof e=="object",Kn=e=>e===!0||e===!1,ye=e=>{if(Re(e)!=="object")return!1;const t=at(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zn=K("Date"),Jn=K("File"),Wn=K("Blob"),Gn=K("FileList"),Vn=e=>Te(e)&&B(e.pipe),Yn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||B(e.append)&&((t=Re(e))==="formdata"||t==="object"&&B(e.toString)&&e.toString()==="[object FormData]"))},Xn=K("URLSearchParams"),Zn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function le(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),ne(e))for(n=0,s=e.length;n<s;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(n=0;n<o;n++)a=i[n],t.call(null,e[a],a,e)}}function Zt(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,s;for(;n-- >0;)if(s=r[n],t===s.toLowerCase())return s;return null}const er=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,tr=e=>!ue(e)&&e!==er;function Ge(){const{caseless:e}=tr(this)&&this||{},t={},r=(n,s)=>{const i=e&&Zt(t,s)||s;ye(t[i])&&ye(n)?t[i]=Ge(t[i],n):ye(n)?t[i]=Ge({},n):ne(n)?t[i]=n.slice():t[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&le(arguments[n],r);return t}const es=(e,t,r,{allOwnKeys:n}={})=>(le(t,(s,i)=>{r&&B(s)?e[i]=Vt(s,r):e[i]=s},{allOwnKeys:n}),e),ts=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rs=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},ns=(e,t,r,n)=>{let s,i,o;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!n||n(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=r!==!1&&at(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},ss=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},is=e=>{if(!e)return null;if(ne(e))return e;let t=e.length;if(!Xt(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},os=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&at(Uint8Array)),as=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=n.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},cs=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},us=K("HTMLFormElement"),ls=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),Ct=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),hs=K("RegExp"),rr=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};le(r,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(n[i]=o||s)}),Object.defineProperties(e,n)},fs=e=>{rr(e,(t,r)=>{if(B(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(B(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},ds=(e,t)=>{const r={},n=s=>{s.forEach(i=>{r[i]=!0})};return ne(e)?n(e):n(String(e).split(t)),r},ps=()=>{},ms=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Me="abcdefghijklmnopqrstuvwxyz",At="0123456789",nr={DIGIT:At,ALPHA:Me,ALPHA_DIGIT:Me+Me.toUpperCase()+At},ys=(e=16,t=nr.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function gs(e){return!!(e&&B(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const bs=e=>{const t=new Array(10),r=(n,s)=>{if(Te(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[s]=n;const i=ne(n)?[]:{};return le(n,(o,a)=>{const c=r(o,s+1);!ue(c)&&(i[a]=c)}),t[s]=void 0,i}}return n};return r(e,0)},ws=K("AsyncFunction"),vs=e=>e&&(Te(e)||B(e))&&B(e.then)&&B(e.catch),l={isArray:ne,isArrayBuffer:Yt,isBuffer:qn,isFormData:Yn,isArrayBufferView:Hn,isString:Qn,isNumber:Xt,isBoolean:Kn,isObject:Te,isPlainObject:ye,isUndefined:ue,isDate:zn,isFile:Jn,isBlob:Wn,isRegExp:hs,isFunction:B,isStream:Vn,isURLSearchParams:Xn,isTypedArray:os,isFileList:Gn,forEach:le,merge:Ge,extend:es,trim:Zn,stripBOM:ts,inherits:rs,toFlatObject:ns,kindOf:Re,kindOfTest:K,endsWith:ss,toArray:is,forEachEntry:as,matchAll:cs,isHTMLForm:us,hasOwnProperty:Ct,hasOwnProp:Ct,reduceDescriptors:rr,freezeMethods:fs,toObjectSet:ds,toCamelCase:ls,noop:ps,toFiniteNumber:ms,findKey:Zt,global:er,isContextDefined:tr,ALPHABET:nr,generateString:ys,isSpecCompliantForm:gs,toJSONObject:bs,isAsyncFn:ws,isThenable:vs};function A(e,t,r,n,s){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),r&&(this.config=r),n&&(this.request=n),s&&(this.response=s)}l.inherits(A,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:l.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const sr=A.prototype,ir={};["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=>{ir[e]={value:e}});Object.defineProperties(A,ir);Object.defineProperty(sr,"isAxiosError",{value:!0});A.from=(e,t,r,n,s,i)=>{const o=Object.create(sr);return l.toFlatObject(e,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),A.call(o,e.message,t,r,n,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const Es=null;function Ve(e){return l.isPlainObject(e)||l.isArray(e)}function or(e){return l.endsWith(e,"[]")?e.slice(0,-2):e}function Rt(e,t,r){return e?e.concat(t).map(function(s,i){return s=or(s),!r&&i?"["+s+"]":s}).join(r?".":""):t}function Ss(e){return l.isArray(e)&&!e.some(Ve)}const Os=l.toFlatObject(l,{},null,function(t){return/^is[A-Z]/.test(t)});function _e(e,t,r){if(!l.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=l.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,v){return!l.isUndefined(v[p])});const n=r.metaTokens,s=r.visitor||h,i=r.dots,o=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&l.isSpecCompliantForm(t);if(!l.isFunction(s))throw new TypeError("visitor must be a function");function f(d){if(d===null)return"";if(l.isDate(d))return d.toISOString();if(!c&&l.isBlob(d))throw new A("Blob is not supported. Use a Buffer instead.");return l.isArrayBuffer(d)||l.isTypedArray(d)?c&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function h(d,p,v){let C=d;if(d&&!v&&typeof d=="object"){if(l.endsWith(p,"{}"))p=n?p:p.slice(0,-2),d=JSON.stringify(d);else if(l.isArray(d)&&Ss(d)||(l.isFileList(d)||l.endsWith(p,"[]"))&&(C=l.toArray(d)))return p=or(p),C.forEach(function(j,J){!(l.isUndefined(j)||j===null)&&t.append(o===!0?Rt([p],J,i):o===null?p:p+"[]",f(j))}),!1}return Ve(d)?!0:(t.append(Rt(v,p,i),f(d)),!1)}const u=[],b=Object.assign(Os,{defaultVisitor:h,convertValue:f,isVisitable:Ve});function E(d,p){if(!l.isUndefined(d)){if(u.indexOf(d)!==-1)throw Error("Circular reference detected in "+p.join("."));u.push(d),l.forEach(d,function(C,T){(!(l.isUndefined(C)||C===null)&&s.call(t,C,l.isString(T)?T.trim():T,p,b))===!0&&E(C,p?p.concat(T):[T])}),u.pop()}}if(!l.isObject(e))throw new TypeError("data must be an object");return E(e),t}function Pt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ct(e,t){this._pairs=[],e&&_e(e,this,t)}const ar=ct.prototype;ar.append=function(t,r){this._pairs.push([t,r])};ar.toString=function(t){const r=t?function(n){return t.call(this,n,Pt)}:Pt;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function xs(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cr(e,t,r){if(!t)return e;const n=r&&r.encode||xs,s=r&&r.serialize;let i;if(s?i=s(t,r):i=l.isURLSearchParams(t)?t.toString():new ct(t,r).toString(n),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Tt{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){l.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ur={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cs=typeof URLSearchParams<"u"?URLSearchParams:ct,As=typeof FormData<"u"?FormData:null,Rs=typeof Blob<"u"?Blob:null,Ps={isBrowser:!0,classes:{URLSearchParams:Cs,FormData:As,Blob:Rs},protocols:["http","https","file","blob","url","data"]},lr=typeof window<"u"&&typeof document<"u",Ts=(e=>lr&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),_s=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ds=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lr,hasStandardBrowserEnv:Ts,hasStandardBrowserWebWorkerEnv:_s},Symbol.toStringTag,{value:"Module"})),Q={...Ds,...Ps};function js(e,t){return _e(e,new Q.classes.URLSearchParams,Object.assign({visitor:function(r,n,s,i){return Q.isNode&&l.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Fs(e){return l.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ks(e){const t={},r=Object.keys(e);let n;const s=r.length;let i;for(n=0;n<s;n++)i=r[n],t[i]=e[i];return t}function hr(e){function t(r,n,s,i){let o=r[i++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),c=i>=r.length;return o=!o&&l.isArray(s)?s.length:o,c?(l.hasOwnProp(s,o)?s[o]=[s[o],n]:s[o]=n,!a):((!s[o]||!l.isObject(s[o]))&&(s[o]=[]),t(r,n,s[o],i)&&l.isArray(s[o])&&(s[o]=ks(s[o])),!a)}if(l.isFormData(e)&&l.isFunction(e.entries)){const r={};return l.forEachEntry(e,(n,s)=>{t(Fs(n),s,r,0)}),r}return null}function Ns(e,t,r){if(l.isString(e))try{return(t||JSON.parse)(e),l.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ut={transitional:ur,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,i=l.isObject(t);if(i&&l.isHTMLForm(t)&&(t=new FormData(t)),l.isFormData(t))return s?JSON.stringify(hr(t)):t;if(l.isArrayBuffer(t)||l.isBuffer(t)||l.isStream(t)||l.isFile(t)||l.isBlob(t))return t;if(l.isArrayBufferView(t))return t.buffer;if(l.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return js(t,this.formSerializer).toString();if((a=l.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return _e(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||s?(r.setContentType("application/json",!1),Ns(t)):t}],transformResponse:[function(t){const r=this.transitional||ut.transitional,n=r&&r.forcedJSONParsing,s=this.responseType==="json";if(t&&l.isString(t)&&(n&&!this.responseType||s)){const o=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?A.from(a,A.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Q.classes.FormData,Blob:Q.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};l.forEach(["delete","get","head","post","put","patch"],e=>{ut.headers[e]={}});const lt=ut,Ms=l.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"]),Ls=e=>{const t={};let r,n,s;return e&&e.split(` +`).forEach(function(o){s=o.indexOf(":"),r=o.substring(0,s).trim().toLowerCase(),n=o.substring(s+1).trim(),!(!r||t[r]&&Ms[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},_t=Symbol("internals");function oe(e){return e&&String(e).trim().toLowerCase()}function ge(e){return e===!1||e==null?e:l.isArray(e)?e.map(ge):String(e)}function $s(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Is=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Le(e,t,r,n,s){if(l.isFunction(n))return n.call(this,t,r);if(s&&(t=r),!!l.isString(t)){if(l.isString(n))return t.indexOf(n)!==-1;if(l.isRegExp(n))return n.test(t)}}function Us(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Bs(e,t){const r=l.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(s,i,o){return this[n].call(this,t,s,i,o)},configurable:!0})})}class De{constructor(t){t&&this.set(t)}set(t,r,n){const s=this;function i(a,c,f){const h=oe(c);if(!h)throw new Error("header name must be a non-empty string");const u=l.findKey(s,h);(!u||s[u]===void 0||f===!0||f===void 0&&s[u]!==!1)&&(s[u||c]=ge(a))}const o=(a,c)=>l.forEach(a,(f,h)=>i(f,h,c));return l.isPlainObject(t)||t instanceof this.constructor?o(t,r):l.isString(t)&&(t=t.trim())&&!Is(t)?o(Ls(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=oe(t),t){const n=l.findKey(this,t);if(n){const s=this[n];if(!r)return s;if(r===!0)return $s(s);if(l.isFunction(r))return r.call(this,s,n);if(l.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=oe(t),t){const n=l.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Le(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let s=!1;function i(o){if(o=oe(o),o){const a=l.findKey(n,o);a&&(!r||Le(n,n[a],a,r))&&(delete n[a],s=!0)}}return l.isArray(t)?t.forEach(i):i(t),s}clear(t){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const i=r[n];(!t||Le(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const r=this,n={};return l.forEach(this,(s,i)=>{const o=l.findKey(n,i);if(o){r[o]=ge(s),delete r[i];return}const a=t?Us(i):String(i).trim();a!==i&&delete r[i],r[a]=ge(s),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return l.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=t&&l.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(s=>n.set(s)),n}static accessor(t){const n=(this[_t]=this[_t]={accessors:{}}).accessors,s=this.prototype;function i(o){const a=oe(o);n[a]||(Bs(s,o),n[a]=!0)}return l.isArray(t)?t.forEach(i):i(t),this}}De.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);l.reduceDescriptors(De.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});l.freezeMethods(De);const z=De;function $e(e,t){const r=this||lt,n=t||r,s=z.from(n.headers);let i=n.data;return l.forEach(e,function(a){i=a.call(r,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function fr(e){return!!(e&&e.__CANCEL__)}function he(e,t,r){A.call(this,e??"canceled",A.ERR_CANCELED,t,r),this.name="CanceledError"}l.inherits(he,A,{__CANCEL__:!0});function qs(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new A("Request failed with status code "+r.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Hs=Q.hasStandardBrowserEnv?{write(e,t,r,n,s,i){const o=[e+"="+encodeURIComponent(t)];l.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),l.isString(n)&&o.push("path="+n),l.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.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 Qs(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ks(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function dr(e,t){return e&&!Qs(t)?Ks(e,t):t}const zs=Q.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function s(i){let o=i;return t&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=s(window.location.href),function(o){const a=l.isString(o)?s(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function Js(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ws(e,t){e=e||10;const r=new Array(e),n=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(c){const f=Date.now(),h=n[i];o||(o=f),r[s]=c,n[s]=f;let u=i,b=0;for(;u!==s;)b+=r[u++],u=u%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),f-o<t)return;const E=h&&f-h;return E?Math.round(b*1e3/E):void 0}}function Dt(e,t){let r=0;const n=Ws(50,250);return s=>{const i=s.loaded,o=s.lengthComputable?s.total:void 0,a=i-r,c=n(a),f=i<=o;r=i;const h={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:c||void 0,estimated:c&&o&&f?(o-i)/c:void 0,event:s};h[t?"download":"upload"]=!0,e(h)}}const Gs=typeof XMLHttpRequest<"u",Vs=Gs&&function(e){return new Promise(function(r,n){let s=e.data;const i=z.from(e.headers).normalize();let{responseType:o,withXSRFToken:a}=e,c;function f(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let h;if(l.isFormData(s)){if(Q.hasStandardBrowserEnv||Q.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((h=i.getContentType())!==!1){const[p,...v]=h?h.split(";").map(C=>C.trim()).filter(Boolean):[];i.setContentType([p||"multipart/form-data",...v].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+v))}const b=dr(e.baseURL,e.url);u.open(e.method.toUpperCase(),cr(b,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function E(){if(!u)return;const p=z.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),C={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:p,config:e,request:u};qs(function(j){r(j),f()},function(j){n(j),f()},C),u=null}if("onloadend"in u?u.onloadend=E:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(E)},u.onabort=function(){u&&(n(new A("Request aborted",A.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new A("Network Error",A.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const C=e.transitional||ur;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),n(new A(v,C.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,e,u)),u=null},Q.hasStandardBrowserEnv&&(a&&l.isFunction(a)&&(a=a(e)),a||a!==!1&&zs(b))){const p=e.xsrfHeaderName&&e.xsrfCookieName&&Hs.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}s===void 0&&i.setContentType(null),"setRequestHeader"in u&&l.forEach(i.toJSON(),function(v,C){u.setRequestHeader(C,v)}),l.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&o!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",Dt(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Dt(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=p=>{u&&(n(!p||p.type?new he(null,e,u):p),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const d=Js(b);if(d&&Q.protocols.indexOf(d)===-1){n(new A("Unsupported protocol "+d+":",A.ERR_BAD_REQUEST,e));return}u.send(s||null)})},Ye={http:Es,xhr:Vs};l.forEach(Ye,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const jt=e=>`- ${e}`,Ys=e=>l.isFunction(e)||e===null||e===!1,pr={getAdapter:e=>{e=l.isArray(e)?e:[e];const{length:t}=e;let r,n;const s={};for(let i=0;i<t;i++){r=e[i];let o;if(n=r,!Ys(r)&&(n=Ye[(o=String(r)).toLowerCase()],n===void 0))throw new A(`Unknown adapter '${o}'`);if(n)break;s[o||"#"+i]=n}if(!n){const i=Object.entries(s).map(([a,c])=>`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : +`+i.map(jt).join(` +`):" "+jt(i[0]):"as no adapter specified";throw new A("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:Ye};function Ie(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new he(null,e)}function Ft(e){return Ie(e),e.headers=z.from(e.headers),e.data=$e.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),pr.getAdapter(e.adapter||lt.adapter)(e).then(function(n){return Ie(e),n.data=$e.call(e,e.transformResponse,n),n.headers=z.from(n.headers),n},function(n){return fr(n)||(Ie(e),n&&n.response&&(n.response.data=$e.call(e,e.transformResponse,n.response),n.response.headers=z.from(n.response.headers))),Promise.reject(n)})}const kt=e=>e instanceof z?e.toJSON():e;function re(e,t){t=t||{};const r={};function n(f,h,u){return l.isPlainObject(f)&&l.isPlainObject(h)?l.merge.call({caseless:u},f,h):l.isPlainObject(h)?l.merge({},h):l.isArray(h)?h.slice():h}function s(f,h,u){if(l.isUndefined(h)){if(!l.isUndefined(f))return n(void 0,f,u)}else return n(f,h,u)}function i(f,h){if(!l.isUndefined(h))return n(void 0,h)}function o(f,h){if(l.isUndefined(h)){if(!l.isUndefined(f))return n(void 0,f)}else return n(void 0,h)}function a(f,h,u){if(u in t)return n(f,h);if(u in e)return n(void 0,f)}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(f,h)=>s(kt(f),kt(h),!0)};return l.forEach(Object.keys(Object.assign({},e,t)),function(h){const u=c[h]||s,b=u(e[h],t[h],h);l.isUndefined(b)&&u!==a||(r[h]=b)}),r}const mr="1.6.7",ht={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ht[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Nt={};ht.transitional=function(t,r,n){function s(i,o){return"[Axios v"+mr+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,a)=>{if(t===!1)throw new A(s(o," has been removed"+(r?" in "+r:"")),A.ERR_DEPRECATED);return r&&!Nt[o]&&(Nt[o]=!0,console.warn(s(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,o,a):!0}};function Xs(e,t,r){if(typeof e!="object")throw new A("options must be an object",A.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const i=n[s],o=t[i];if(o){const a=e[i],c=a===void 0||o(a,i,e);if(c!==!0)throw new A("option "+i+" must be "+c,A.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new A("Unknown option "+i,A.ERR_BAD_OPTION)}}const Xe={assertOptions:Xs,validators:ht},G=Xe.validators;class Se{constructor(t){this.defaults=t,this.interceptors={request:new Tt,response:new Tt}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=re(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:i}=r;n!==void 0&&Xe.assertOptions(n,{silentJSONParsing:G.transitional(G.boolean),forcedJSONParsing:G.transitional(G.boolean),clarifyTimeoutError:G.transitional(G.boolean)},!1),s!=null&&(l.isFunction(s)?r.paramsSerializer={serialize:s}:Xe.assertOptions(s,{encode:G.function,serialize:G.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=i&&l.merge(i.common,i[r.method]);i&&l.forEach(["delete","get","head","post","put","patch","common"],d=>{delete i[d]}),r.headers=z.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(c=c&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const f=[];this.interceptors.response.forEach(function(p){f.push(p.fulfilled,p.rejected)});let h,u=0,b;if(!c){const d=[Ft.bind(this),void 0];for(d.unshift.apply(d,a),d.push.apply(d,f),b=d.length,h=Promise.resolve(r);u<b;)h=h.then(d[u++],d[u++]);return h}b=a.length;let E=r;for(u=0;u<b;){const d=a[u++],p=a[u++];try{E=d(E)}catch(v){p.call(this,v);break}}try{h=Ft.call(this,E)}catch(d){return Promise.reject(d)}for(u=0,b=f.length;u<b;)h=h.then(f[u++],f[u++]);return h}getUri(t){t=re(this.defaults,t);const r=dr(t.baseURL,t.url);return cr(r,t.params,t.paramsSerializer)}}l.forEach(["delete","get","head","options"],function(t){Se.prototype[t]=function(r,n){return this.request(re(n||{},{method:t,url:r,data:(n||{}).data}))}});l.forEach(["post","put","patch"],function(t){function r(n){return function(i,o,a){return this.request(re(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Se.prototype[t]=r(),Se.prototype[t+"Form"]=r(!0)});const be=Se;class ft{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(s=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](s);n._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(a=>{n.subscribe(a),i=a}).then(s);return o.cancel=function(){n.unsubscribe(i)},o},t(function(i,o,a){n.reason||(n.reason=new he(i,o,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new ft(function(s){t=s}),cancel:t}}}const Zs=ft;function ei(e){return function(r){return e.apply(null,r)}}function ti(e){return l.isObject(e)&&e.isAxiosError===!0}const Ze={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ze).forEach(([e,t])=>{Ze[t]=e});const ri=Ze;function yr(e){const t=new be(e),r=Vt(be.prototype.request,t);return l.extend(r,be.prototype,t,{allOwnKeys:!0}),l.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return yr(re(e,s))},r}const D=yr(lt);D.Axios=be;D.CanceledError=he;D.CancelToken=Zs;D.isCancel=fr;D.VERSION=mr;D.toFormData=_e;D.AxiosError=A;D.Cancel=D.CanceledError;D.all=function(t){return Promise.all(t)};D.spread=ei;D.isAxiosError=ti;D.mergeConfig=re;D.AxiosHeaders=z;D.formToJSON=e=>hr(l.isHTMLForm(e)?new FormData(e):e);D.getAdapter=pr.getAdapter;D.HttpStatusCode=ri;D.default=D;var te=D.create({}),gr=Object.preventExtensions({get default(){return te},responseWrapper:{},get(e,t){return te.get(e,t)},post(e,t){const{data:r,...n}=t||{};return te.post(e,r,n)},put(e,t){const{data:r,...n}=t||{};return te.put(e,r,n)},delete(e,t){const{...r}=t||{};return te.delete(e,r)},patch(e,t){const{data:r,...n}=t||{};return te.patch(e,r,n)}});const Hi=q({sm:!1,md:!1,lg:!1,xl:!1,"2xl":!1,h:0,w:0}),dt=q(null),ni=q(null),Qi=(e,t=[])=>$t(Ut(dt,U.useCallback(r=>r?e(r):null,t))),Ki=(e,t=[])=>$t(Ut(ni,U.useCallback(r=>r?e(r):null,t))),zi=()=>Oe.get(dt);var si=["added","removed","updated"];function Mt(e){return si.includes(e)}async function ii({queryClient:e,persister:t,maxAge:r=1e3*60*60*24,buster:n="",hydrateOptions:s}){try{const i=await t.restoreClient();if(i)if(i.timestamp){const o=Date.now()-i.timestamp>r,a=i.buster!==n;o||a?t.removeClient():tn(e,i.clientState,s)}else t.removeClient()}catch{t.removeClient()}}async function Lt({queryClient:e,persister:t,buster:r="",dehydrateOptions:n}){const s={buster:r,timestamp:Date.now(),clientState:en(e,n)};await t.persistClient(s)}function oi(e){const t=e.queryClient.getQueryCache().subscribe(n=>{Mt(n.type)&&Lt(e)}),r=e.queryClient.getMutationCache().subscribe(n=>{Mt(n.type)&&Lt(e)});return()=>{t(),r()}}var ai=({client:e,children:t,persistOptions:r,onSuccess:n,...s})=>{const[i,o]=U.useState(!0),a=U.useRef({persistOptions:r,onSuccess:n}),c=U.useRef(!1);return U.useEffect(()=>{a.current={persistOptions:r,onSuccess:n}}),U.useEffect(()=>{const f={...a.current.persistOptions,queryClient:e};return c.current||(c.current=!0,o(!0),ii(f).then(async()=>{try{await a.current.onSuccess?.()}finally{o(!1)}})),i?void 0:oi(f)},[e,i]),ve.jsx(rn,{client:e,...s,children:ve.jsx(nn,{value:i,children:t})})};function je(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function br(e,t){const r=indexedDB.open(e);r.onupgradeneeded=()=>r.result.createObjectStore(t);const n=je(r);return(s,i)=>n.then(o=>i(o.transaction(t,s).objectStore(t)))}let Ue;function pt(){return Ue||(Ue=br("keyval-store","keyval")),Ue}function ci(e,t=pt()){return t("readonly",r=>je(r.get(e)))}function ui(e,t,r=pt()){return r("readwrite",n=>(n.put(t,e),je(n.transaction)))}function li(e,t=pt()){return t("readwrite",r=>(r.delete(e),je(r.transaction)))}function et(){}function hi(e,{interval:t=1e3,onError:r=et}={}){if(typeof e!="function")throw new Error("argument is not function.");let n=!1,s=0,i,o=null;const a=async()=>{if(o){const f=o;o=null;try{n=!0,await e(...f)}catch(h){r(h)}finally{s=Date.now(),n=!1}}},c=async()=>{clearTimeout(i),i=setTimeout(()=>{n?c():a()},t)};return(...f)=>{o=f;const h=Date.now()-s<t;n||h?c():a()}}var fi=({storage:e,key:t="REACT_QUERY_OFFLINE_CACHE",throttleTime:r=1e3,serialize:n=JSON.stringify,deserialize:s=JSON.parse,retry:i})=>{if(e){const o=async a=>{try{const c=await n(a);await e.setItem(t,c);return}catch(c){return c}};return{persistClient:hi(async a=>{let c=a,f=await o(c),h=0;for(;f&&c;)h++,c=await i?.({persistedClient:c,error:f,errorCount:h}),c&&(f=await o(c))},{interval:r}),restoreClient:async()=>{const a=await e.getItem(t);if(a)return await s(a)},removeClient:()=>e.removeItem(t)}}return{persistClient:et,restoreClient:()=>Promise.resolve(void 0),removeClient:et}};const Be=xr?void 0:br("react-query","queries"),di=fi({storage:{getItem:async e=>await ci(e,Be),setItem:async(e,t)=>{await ui(e,t,Be)},removeItem:async e=>{await li(e,Be)}}}),pi=new Gr({defaultOptions:{queries:{staleTime:1e3*60*5,refetchOnWindowFocus:!1,refetchIntervalInBackground:!1}}}),mi={persister:di,maxAge:1e3*60*60*24*7,dehydrateOptions:{shouldDehydrateQuery:e=>{const t=e.state.status==="success";return e.meta?.persist===!1?!1:t?!(e.state?.data?.pages?.length>1)||!!e.state.data&&!e.state.data.pages:!1}}},Ji=({children:e})=>ve.jsx(ai,{client:pi,persistOptions:mi,children:e}),Wi=q(null),yi=q(null),Gi=()=>Oe.get(yi),Vi=q(e=>e(dt)?.user),gi=q(!1),bi=()=>Oe.get(gi),[,,Yi,,,Xi]=Er(q(0)),wi=q(!1),Zi=e=>{Oe.set(wi,e)};var we={NEXT_PUBLIC_API_URL:"https://innei.ren/api/v2",NEXT_PUBLIC_GATEWAY_URL:"https://api.innei.ren",NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY:"pk_test_aaaaaaaaaaaaaaaaaxxxxxx",CLERK_SECRET_KEY:"sk_test_",NEXT_PUBLIC_CLERK_SIGN_IN_URL:"/sign-in",NEXT_PUBLIC_CLERK_SIGN_UP_URL:"/sign-up",NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL:"/",NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL:"/",OPENAI_API_KEY:"",TMDB_API_KEY:"",S3_ACCESS_KEY:"",S3_SECRET_KEY:""};const vi=It&&we.NEXT_PUBLIC_CHINA_API_URL?we.NEXT_PUBLIC_CHINA_API_URL:we.NEXT_PUBLIC_API_URL,eo=we.NEXT_PUBLIC_GATEWAY_URL,Ei="Shiro",Si="AGPL-3.0",Oi="1.0.0",xi={node:">=18"},Ci={before:["git pull --rebase","ni"],changelog:!0},Ai={prepare:"pnpm exec simple-git-hooks && test -f .env || cp .env.template .env",start:"npm run dev",prebuild:"rimraf .next || exit 0",dev:"cross-env NODE_ENV=development next dev -p 2323","dev:turbo":"cross-env NODE_ENV=development next dev -p 2323 --turbo",analyze:"cross-env NODE_ENV=production ANALYZE=true BUNDLE_ANALYZE=browser next build",build:"cross-env NODE_ENV=production next build","build:ci":"cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 NEXT_TELEMETRY_DISABLED=1 CI=true next build",lint:"eslint --ext .ts,.tsx --ignore-path .gitignore . --fix","prod:pm2":"cross-env NODE_ENV=production pm2 restart ecosystem.config.js","prod:stop":"pm2 stop ecosystem.config.js","prod:reload":"pm2 reload ecosystem.config.js"},Ri={"@aws-sdk/client-s3":"3.525.0","@clerk/nextjs":"4.29.9","@excalidraw/excalidraw":"0.17.3","@floating-ui/react-dom":"2.0.8","@milkdown/core":"7.3.5","@milkdown/ctx":"7.3.5","@milkdown/plugin-clipboard":"7.3.5","@milkdown/plugin-diagram":"^7.3.5","@milkdown/plugin-history":"7.3.5","@milkdown/plugin-indent":"7.3.5","@milkdown/plugin-listener":"7.3.5","@milkdown/preset-commonmark":"7.3.5","@milkdown/preset-gfm":"7.3.5","@milkdown/prose":"7.3.5","@milkdown/react":"7.3.5","@milkdown/transformer":"7.3.5","@milkdown/utils":"7.3.5","@mx-space/api-client":"1.8.0-beta.1","@prosemirror-adapter/react":"0.2.6","@radix-ui/react-dialog":"1.0.5","@radix-ui/react-label":"2.0.2","@radix-ui/react-scroll-area":"1.0.5","@radix-ui/react-select":"2.0.0","@radix-ui/react-switch":"1.0.3","@radix-ui/react-tabs":"1.0.4","@shikijs/transformers":"1.1.7","@tanstack/query-async-storage-persister":"5.24.2","@tanstack/react-query":"5.24.2","@tanstack/react-query-devtools":"5.24.2","@tanstack/react-query-persist-client":"5.24.2","@upstash/redis":"1.28.4","@vercel/analytics":"1.2.2","@vercel/postgres":"0.7.2",axios:"1.6.7","bypass-vue-devtools":"0.0.6",clsx:"2.1.0","colorjs.io":"^0.5.0",crossbell:"1.11.7",daisyui:"4.7.2",dayjs:"1.11.10","emoji-mart":"5.5.2","emoji-picker-react":"4.8.0",foxact:"0.2.31","framer-motion":"^11.0.8","fuse.js":"7.0.0","idb-keyval":"6.2.1",immer:"^10.0.3",jojoo:"0.1.4",jotai:"2.7.0","js-cookie":"3.0.5","js-yaml":"4.1.0",jsondiffpatch:"^0.6.0",kbar:"0.1.0-beta.45","markdown-escape":"2.0.0","markdown-to-jsx":"npm:@innei/markdown-to-jsx@7.2.1-beta.4",marked:"12.0.0","medium-zoom":"1.1.0",mermaid:"10.8.0",nanoid:"^5.0.6",next:"14.1.1","next-themes":"0.2.1",openai:"4.28.4",pngjs:"7.0.0","qrcode.react":"3.1.0",react:"18.2.0","react-dom":"18.2.0","react-error-boundary":"4.0.13","react-intersection-observer":"9.8.1","react-responsive-masonry":"2.2.0","react-toastify":"10.0.4","react-tweet":"3.2.0","react-wrap-balancer":"1.1.0","remark-directive":"3.0.0","remove-markdown":"0.5.0","server-only":"^0.0.1","socket.io-client":"4.7.4","tailwind-merge":"2.2.1","unidata.js":"0.8.0",unified:"^11.0.4",uniqolor:"1.1.1","unist-util-visit":"5.0.0","use-context-selector":"1.4.2",vaul:"0.9.0",xss:"1.0.14"},Pi={"@iconify-json/material-symbols":"1.1.73","@iconify-json/mingcute":"1.1.16","@iconify/tailwind":"0.1.4","@innei/eslint-config-react-ts":"0.12.2","@innei/prettier":"0.12.2","@mx-space/webhook":"0.2.4","@next/bundle-analyzer":"14.1.1","@tailwindcss/container-queries":"0.1.1","@tailwindcss/typography":"0.5.10","@types/js-cookie":"3.0.6","@types/js-yaml":"4.0.9","@types/markdown-escape":"1.1.3","@types/node":"20.11.24","@types/pngjs":"6.0.4","@types/react":"18.2.61","@types/react-dom":"18.2.19","@types/react-responsive-masonry":"2.1.3","@types/remove-markdown":"0.3.4",autoprefixer:"10.4.18","cross-env":"7.0.3",dotenv:"16.4.5",eslint:"8.57.0","lint-staged":"15.2.2",postcss:"8.4.35","postcss-import":"16.0.1","postcss-nested":"6.0.1","postcss-preset-env":"9.4.0","postcss-prune-var":"1.1.1",prettier:"3.2.5",rimraf:"5.0.5",shiki:"1.1.7","simple-git-hooks":"2.9.0","tailwind-scrollbar":"3.1.0","tailwind-variants":"0.2.0",tailwindcss:"^3.4.1",typescript:"5.3.3",typewind:"^0.1.4",zx:"7.2.3"},Ti={budget:358400,budgetPercentIncreaseRed:20,showDetails:!0},_i={overrides:{"array-includes":"npm:@nolyfill/array-includes@latest","array.prototype.findlastindex":"npm:@nolyfill/array.prototype.findlastindex@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest","array.prototype.tosorted":"npm:@nolyfill/array.prototype.tosorted@latest",has:"npm:@nolyfill/has@latest","object.assign":"npm:@nolyfill/object.assign@latest","object.entries":"npm:@nolyfill/object.entries@latest","object.fromentries":"npm:@nolyfill/object.fromentries@latest","object.groupby":"npm:@nolyfill/object.groupby@latest","object.hasown":"npm:@nolyfill/object.hasown@latest","object.values":"npm:@nolyfill/object.values@latest","string.prototype.matchall":"npm:@nolyfill/string.prototype.matchall@latest"}},qe={name:Ei,license:Si,private:!1,version:Oi,engines:xi,bump:Ci,"simple-git-hooks":{"pre-commit":"pnpm exec lint-staged"},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --cache --fix","prettier --ignore-path ./.gitignore --write "]},scripts:Ai,dependencies:Ri,devDependencies:Pi,nextBundleAnalysis:Ti,pnpm:_i},tt="x-uuid",wr=fn();It&&(sessionStorage.getItem(tt)||sessionStorage.setItem(tt,wr));const to=Un(gr)(vi,{controllers:Nn}),mt=gr.default;mt.defaults.timeout=8e3;typeof window>"u"&&(mt.defaults.headers.common["User-Agent"]=`NextJS/v${qe.dependencies.next} ${qe.name}/${qe.version}`);mt.interceptors.request.use(e=>{const t=cn();return e.headers&&(t&&(e.headers.Authorization=`bearer ${t}`),e.headers["x-session-uuid"]=globalThis?.sessionStorage?.getItem(tt)??wr),bi()&&(e.params={...e.params,ts:Date.now()}),e});const ro=e=>{if(!(e instanceof ot))return e.message;const t=e.raw,r=t.response?.data?.message;return(typeof r=="string"?r:Array.isArray(r)?r[0]:void 0)||t.message};export{Qi as A,cn as B,Wi as C,Mi as D,Wr as E,Li as F,$i as G,bi as H,sn as I,ki as J,zi as K,pi as L,Xi as M,Zi as N,eo as O,Ki as P,Gr as Q,Ji as R,xe as S,vi as T,rn as a,jr as b,st as c,L as d,Ui as e,Qe as f,Gi as g,Ut as h,Ce as i,Oe as j,to as k,Bi as l,gi as m,H as n,Vi as o,qi as p,wi as q,Nr as r,Ni as s,Fr as t,Ii as u,Hi as v,We as w,ae as x,zr as y,ro as z}; diff --git a/assets/requirementDiagram-bf7890df-7TsdWypu.js b/assets/requirementDiagram-bf7890df-7TsdWypu.js new file mode 100644 index 00000000000..5bbe6202a1f --- /dev/null +++ b/assets/requirementDiagram-bf7890df-7TsdWypu.js @@ -0,0 +1,52 @@ +import{c as Te,s as Ce,g as Fe,b as Me,a as De,l as Ne,r as Pe,h as oe,i as Ye,j as ke}from"./mermaid.core-wTs8WatG.js";import{G as Ue}from"./graph-sxtH378E.js";import{l as Be}from"./layout-NmVD1Bdh.js";import"./request-bY2SEZNN.js";import{l as Qe}from"./line-NZ5yCA7P.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";var ce=function(){var e=function(V,i,n,a){for(n=n||{},a=V.length;a--;n[V[a]]=i);return n},t=[1,3],l=[1,4],c=[1,5],u=[1,6],d=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],p=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],A=[1,25],T=[1,26],N=[1,27],v=[1,20],k=[1,28],x=[1,29],F=[62,63],de=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],pe=[1,47],fe=[1,48],ye=[1,49],_e=[1,50],ge=[1,51],Ee=[1,52],Re=[1,53],O=[53,54],M=[1,64],D=[1,60],P=[1,61],Y=[1,62],U=[1,63],B=[1,65],j=[1,69],z=[1,70],X=[1,67],J=[1,68],m=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ie={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(i,n,a,r,f,s,W){var _=s.length-1;switch(f){case 4:this.$=s[_].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[_].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[_-3],s[_-4]);break;case 14:r.setNewReqId(s[_-2]);break;case 15:r.setNewReqText(s[_-2]);break;case 16:r.setNewReqRisk(s[_-2]);break;case 17:r.setNewReqVerifyMethod(s[_-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[_-3]);break;case 34:r.setNewElementType(s[_-2]);break;case 35:r.setNewElementDocRef(s[_-2]);break;case 38:r.addRelationship(s[_-2],s[_],s[_-4]);break;case 39:r.addRelationship(s[_-2],s[_-4],s[_]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES;break}},table:[{3:1,4:2,6:t,9:l,11:c,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:l,11:c,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(d,[2,6]),{3:12,4:2,6:t,9:l,11:c,13:u},{1:[2,2]},{4:17,5:p,7:13,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},e(d,[2,4]),e(d,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:p,7:31,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:32,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:33,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:34,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:35,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(de,[2,49]),e(de,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:pe,56:fe,57:ye,58:_e,59:ge,60:Ee,61:Re},{52:54,55:pe,56:fe,57:ye,58:_e,59:ge,60:Ee,61:Re},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:M,20:59,21:D,24:P,26:Y,28:U,30:B},{5:j,30:z,46:66,47:X,49:J},{23:71,62:k,63:x},{23:72,62:k,63:x},e(m,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:M,20:77,21:D,24:P,26:Y,28:U,30:B},e(m,[2,19]),e(m,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:z,46:80,47:X,49:J},e(m,[2,37]),e(m,[2,38]),e(m,[2,39]),{23:81,62:k,63:x},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(m,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(m,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:M,20:106,21:D,24:P,26:Y,28:U,30:B},{5:M,20:107,21:D,24:P,26:Y,28:U,30:B},{5:M,20:108,21:D,24:P,26:Y,28:U,30:B},{5:M,20:109,21:D,24:P,26:Y,28:U,30:B},{5:j,30:z,46:110,47:X,49:J},{5:j,30:z,46:111,47:X,49:J},e(m,[2,14]),e(m,[2,15]),e(m,[2,16]),e(m,[2,17]),e(m,[2,34]),e(m,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(i,n){if(n.recoverable)this.trace(i);else{var a=new Error(i);throw a.hash=n,a}},parse:function(i){var n=this,a=[0],r=[],f=[null],s=[],W=this.table,_="",Z=0,me=0,Ve=2,Ie=1,qe=s.slice.call(arguments,1),E=Object.create(this.lexer),L={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(L.yy[ne]=this.yy[ne]);E.setInput(i,L.yy),L.yy.lexer=E,L.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var se=E.yylloc;s.push(se);var Oe=E.options&&E.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(){var $;return $=r.pop()||E.lex()||Ie,typeof $!="number"&&($ instanceof Array&&(r=$,$=r.pop()),$=n.symbols_[$]||$),$}for(var I,C,S,ae,Q={},ee,w,be,te;;){if(C=a[a.length-1],this.defaultActions[C]?S=this.defaultActions[C]:((I===null||typeof I>"u")&&(I=Le()),S=W[C]&&W[C][I]),typeof S>"u"||!S.length||!S[0]){var le="";te=[];for(ee in W[C])this.terminals_[ee]&&ee>Ve&&te.push("'"+this.terminals_[ee]+"'");E.showPosition?le="Parse error on line "+(Z+1)+`: +`+E.showPosition()+` +Expecting `+te.join(", ")+", got '"+(this.terminals_[I]||I)+"'":le="Parse error on line "+(Z+1)+": Unexpected "+(I==Ie?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(le,{text:E.match,token:this.terminals_[I]||I,line:E.yylineno,loc:se,expected:te})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+I);switch(S[0]){case 1:a.push(I),f.push(E.yytext),s.push(E.yylloc),a.push(S[1]),I=null,me=E.yyleng,_=E.yytext,Z=E.yylineno,se=E.yylloc;break;case 2:if(w=this.productions_[S[1]][1],Q.$=f[f.length-w],Q._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},Oe&&(Q._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),ae=this.performAction.apply(Q,[_,me,Z,L.yy,S[1],f,s].concat(qe)),typeof ae<"u")return ae;w&&(a=a.slice(0,-1*w*2),f=f.slice(0,-1*w),s=s.slice(0,-1*w)),a.push(this.productions_[S[1]][0]),f.push(Q.$),s.push(Q._$),be=W[a[a.length-2]][a[a.length-1]],a.push(be);break;case 3:return!0}}return!0}},$e=function(){var V={EOF:1,parseError:function(n,a){if(this.yy.parser)this.yy.parser.parseError(n,a);else throw new Error(n)},setInput:function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var n=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+` +`+n+"^"},test_match:function(i,n){var a,r,f;if(this.options.backtrack_lexer&&(f={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(f.yylloc.range=this.yylloc.range.slice(0))),r=i[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],a=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var s in f)this[s]=f[s];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,n,a,r;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),s=0;s<f.length;s++)if(a=this._input.match(this.rules[f[s]]),a&&(!n||a[0].length>n[0].length)){if(n=a,r=s,this.options.backtrack_lexer){if(i=this.test_match(a,f[s]),i!==!1)return i;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(i=this.test_match(n,f[r]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return n||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){var n=this.conditionStack.length-1;return n>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,a,r,f){switch(r){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 48:this.popState();break;case 49:return"qString";case 50:return a.yytext=a.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}};return V}();ie.lexer=$e;function re(){this.yy={}}return re.prototype=ie,ie.Parser=re,new re}();ce.parser=ce;const He=ce;let ue=[],b={},K={},q={},G={};const We={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},Ke={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},Ge={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},je={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},ze=(e,t)=>(K[e]===void 0&&(K[e]={name:e,type:t,id:b.id,text:b.text,risk:b.risk,verifyMethod:b.verifyMethod}),b={},K[e]),Xe=()=>K,Je=e=>{b!==void 0&&(b.id=e)},Ze=e=>{b!==void 0&&(b.text=e)},et=e=>{b!==void 0&&(b.risk=e)},tt=e=>{b!==void 0&&(b.verifyMethod=e)},it=e=>(G[e]===void 0&&(G[e]={name:e,type:q.type,docRef:q.docRef},Ne.info("Added new requirement: ",e)),q={},G[e]),rt=()=>G,nt=e=>{q!==void 0&&(q.type=e)},st=e=>{q!==void 0&&(q.docRef=e)},at=(e,t,l)=>{ue.push({type:e,src:t,dst:l})},lt=()=>ue,ot=()=>{ue=[],b={},K={},q={},G={},Pe()},ct={RequirementType:We,RiskLevel:Ke,VerifyType:Ge,Relationships:je,getConfig:()=>Te().req,addRequirement:ze,getRequirements:Xe,setNewReqId:Je,setNewReqText:Ze,setNewReqRisk:et,setNewReqVerifyMethod:tt,setAccTitle:Ce,getAccTitle:Fe,setAccDescription:Me,getAccDescription:De,addElement:it,getElements:rt,setNewElementType:nt,setNewElementDocRef:st,addRelationship:at,getRelationships:lt,clear:ot},ht=e=>` + + marker { + fill: ${e.relationColor}; + stroke: ${e.relationColor}; + } + + marker.cross { + stroke: ${e.lineColor}; + } + + svg { + font-family: ${e.fontFamily}; + font-size: ${e.fontSize}; + } + + .reqBox { + fill: ${e.requirementBackground}; + fill-opacity: 1.0; + stroke: ${e.requirementBorderColor}; + stroke-width: ${e.requirementBorderSize}; + } + + .reqTitle, .reqLabel{ + fill: ${e.requirementTextColor}; + } + .reqLabelBox { + fill: ${e.relationLabelBackground}; + fill-opacity: 1.0; + } + + .req-title-line { + stroke: ${e.requirementBorderColor}; + stroke-width: ${e.requirementBorderSize}; + } + .relationshipLine { + stroke: ${e.relationColor}; + stroke-width: 1; + } + .relationshipLabel { + fill: ${e.relationLabelColor}; + } + +`,ut=ht,he={CONTAINS:"contains",ARROW:"arrow"},dt=(e,t)=>{let l=e.append("defs").append("marker").attr("id",he.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");l.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),l.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),l.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",he.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0 + L${t.line_height},${t.line_height/2} + M${t.line_height},${t.line_height/2} + L0,${t.line_height}`).attr("stroke-width",1)},xe={ReqMarkers:he,insertLineEndings:dt};let y={},Se=0;const Ae=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",y.rect_min_width+"px").attr("height",y.rect_min_height+"px"),ve=(e,t,l)=>{let c=y.rect_min_width/2,u=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",c).attr("y",y.rect_padding).attr("dominant-baseline","hanging"),d=0;l.forEach(g=>{d==0?u.append("tspan").attr("text-anchor","middle").attr("x",y.rect_min_width/2).attr("dy",0).text(g):u.append("tspan").attr("text-anchor","middle").attr("x",y.rect_min_width/2).attr("dy",y.line_height*.75).text(g),d++});let p=1.5*y.rect_padding,h=d*y.line_height*.75,o=p+h;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",y.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:u,y:o}},we=(e,t,l,c)=>{let u=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",y.rect_padding).attr("y",c).attr("dominant-baseline","hanging"),d=0;const p=30;let h=[];return l.forEach(o=>{let g=o.length;for(;g>p&&d<3;){let R=o.substring(0,p);o=o.substring(p,o.length),g=o.length,h[h.length]=R,d++}if(d==3){let R=h[h.length-1];h[h.length-1]=R.substring(0,R.length-4)+"..."}else h[h.length]=o;d=0}),h.forEach(o=>{u.append("tspan").attr("x",y.rect_padding).attr("dy",y.line_height).text(o)}),u},pt=(e,t,l,c)=>{const u=t.node().getTotalLength(),d=t.node().getPointAtLength(u*.5),p="rel"+Se;Se++;const o=e.append("text").attr("class","req relationshipLabel").attr("id",p).attr("x",d.x).attr("y",d.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(c).node().getBBox();e.insert("rect","#"+p).attr("class","req reqLabelBox").attr("x",d.x-o.width/2).attr("y",d.y-o.height/2).attr("width",o.width).attr("height",o.height).attr("fill","white").attr("fill-opacity","85%")},ft=function(e,t,l,c,u){const d=l.edge(H(t.src),H(t.dst)),p=Qe().x(function(o){return o.x}).y(function(o){return o.y}),h=e.insert("path","#"+c).attr("class","er relationshipLine").attr("d",p(d.points)).attr("fill","none");t.type==u.db.Relationships.CONTAINS?h.attr("marker-start","url("+ke.getUrl(y.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(h.attr("stroke-dasharray","10,7"),h.attr("marker-end","url("+ke.getUrl(y.arrowMarkerAbsolute)+"#"+xe.ReqMarkers.ARROW+"_line_ending)")),pt(e,h,y,`<<${t.type}>>`)},yt=(e,t,l)=>{Object.keys(e).forEach(c=>{let u=e[c];c=H(c),Ne.info("Added new requirement: ",c);const d=l.append("g").attr("id",c),p="req-"+c,h=Ae(d,p);let o=ve(d,c+"_title",[`<<${u.type}>>`,`${u.name}`]);we(d,c+"_body",[`Id: ${u.id}`,`Text: ${u.text}`,`Risk: ${u.risk}`,`Verification: ${u.verifyMethod}`],o.y);const g=h.node().getBBox();t.setNode(c,{width:g.width,height:g.height,shape:"rect",id:c})})},_t=(e,t,l)=>{Object.keys(e).forEach(c=>{let u=e[c];const d=H(c),p=l.append("g").attr("id",d),h="element-"+d,o=Ae(p,h);let g=ve(p,h+"_title",["<<Element>>",`${c}`]);we(p,h+"_body",[`Type: ${u.type||"Not Specified"}`,`Doc Ref: ${u.docRef||"None"}`],g.y);const R=o.node().getBBox();t.setNode(d,{width:R.width,height:R.height,shape:"rect",id:d})})},gt=(e,t)=>(e.forEach(function(l){let c=H(l.src),u=H(l.dst);t.setEdge(c,u,{relationship:l})}),e),Et=function(e,t){t.nodes().forEach(function(l){l!==void 0&&t.node(l)!==void 0&&(e.select("#"+l),e.select("#"+l).attr("transform","translate("+(t.node(l).x-t.node(l).width/2)+","+(t.node(l).y-t.node(l).height/2)+" )"))})},H=e=>e.replace(/\s/g,"").replace(/\./g,"_"),Rt=(e,t,l,c)=>{y=Te().requirement;const u=y.securityLevel;let d;u==="sandbox"&&(d=oe("#i"+t));const h=(u==="sandbox"?oe(d.nodes()[0].contentDocument.body):oe("body")).select(`[id='${t}']`);xe.insertLineEndings(h,y);const o=new Ue({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:y.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let g=c.db.getRequirements(),R=c.db.getElements(),A=c.db.getRelationships();yt(g,o,h),_t(R,o,h),gt(A,o),Be(o),Et(h,o),A.forEach(function(x){ft(h,x,o,t,c)});const T=y.rect_padding,N=h.node().getBBox(),v=N.width+T*2,k=N.height+T*2;Ye(h,k,v,y.useMaxWidth),h.attr("viewBox",`${N.x-T} ${N.y-T} ${v} ${k}`)},mt={draw:Rt},qt={parser:He,db:ct,renderer:mt,styles:ut};export{qt as diagram}; diff --git a/assets/rust-yNm59Dur.js b/assets/rust-yNm59Dur.js new file mode 100644 index 00000000000..9e516dc82ae --- /dev/null +++ b/assets/rust-yNm59Dur.js @@ -0,0 +1 @@ +const e=Object.freeze({displayName:"Rust",name:"rust",patterns:[{begin:"(<)(\\[)",beginCaptures:{1:{name:"punctuation.brackets.angle.rust"},2:{name:"punctuation.brackets.square.rust"}},comment:"boxed slice literal",end:">",endCaptures:{0:{name:"punctuation.brackets.angle.rust"}},patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#gtypes"},{include:"#lvariables"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#types"}]},{captures:{1:{name:"keyword.operator.macro.dollar.rust"},3:{name:"keyword.other.crate.rust"},4:{name:"entity.name.type.metavariable.rust"},6:{name:"keyword.operator.key-value.rust"},7:{name:"variable.other.metavariable.specifier.rust"}},comment:"macro type metavariables",match:"(\\$)((crate)|([A-Z][A-Za-z0-9_]*))((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?",name:"meta.macro.metavariable.type.rust",patterns:[{include:"#keywords"}]},{captures:{1:{name:"keyword.operator.macro.dollar.rust"},2:{name:"variable.other.metavariable.name.rust"},4:{name:"keyword.operator.key-value.rust"},5:{name:"variable.other.metavariable.specifier.rust"}},comment:"macro metavariables",match:"(\\$)([a-z][A-Za-z0-9_]*)((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?",name:"meta.macro.metavariable.rust",patterns:[{include:"#keywords"}]},{captures:{1:{name:"entity.name.function.macro.rules.rust"},3:{name:"entity.name.function.macro.rust"},4:{name:"entity.name.type.macro.rust"},5:{name:"punctuation.brackets.curly.rust"}},comment:"macro rules",match:"\\b(macro_rules!)\\s+(([a-z0-9_]+)|([A-Z][a-z0-9_]*))\\s+(\\{)",name:"meta.macro.rules.rust"},{captures:{1:{name:"storage.type.rust"},2:{name:"entity.name.module.rust"}},comment:"modules",match:"(mod)\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)"},{begin:"\\b(extern)\\s+(crate)",beginCaptures:{1:{name:"storage.type.rust"},2:{name:"keyword.other.crate.rust"}},comment:"external crate imports",end:";",endCaptures:{0:{name:"punctuation.semi.rust"}},name:"meta.import.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#punctuation"}]},{begin:"\\b(use)\\s",beginCaptures:{1:{name:"keyword.other.rust"}},comment:"use statements",end:";",endCaptures:{0:{name:"punctuation.semi.rust"}},name:"meta.use.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#namespaces"},{include:"#punctuation"},{include:"#types"},{include:"#lvariables"}]},{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#types"},{include:"#keywords"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#variables"}],repository:{attributes:{begin:"(#)(\\!?)(\\[)",beginCaptures:{1:{name:"punctuation.definition.attribute.rust"},3:{name:"punctuation.brackets.attribute.rust"}},comment:"attributes",end:"\\]",endCaptures:{0:{name:"punctuation.brackets.attribute.rust"}},name:"meta.attribute.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#strings"},{include:"#gtypes"},{include:"#types"}]},"block-comments":{patterns:[{comment:"empty block comments",match:"/\\*\\*/",name:"comment.block.rust"},{begin:"/\\*\\*",comment:"block documentation comments",end:"\\*/",name:"comment.block.documentation.rust",patterns:[{include:"#block-comments"}]},{begin:"/\\*(?!\\*)",comment:"block comments",end:"\\*/",name:"comment.block.rust",patterns:[{include:"#block-comments"}]}]},comments:{patterns:[{captures:{1:{name:"punctuation.definition.comment.rust"}},comment:"documentation comments",match:"(///).*$",name:"comment.line.documentation.rust"},{captures:{1:{name:"punctuation.definition.comment.rust"}},comment:"line comments",match:"(//).*$",name:"comment.line.double-slash.rust"}]},constants:{patterns:[{comment:"ALL CAPS constants",match:"\\b[A-Z]{2}[A-Z0-9_]*\\b",name:"constant.other.caps.rust"},{captures:{1:{name:"storage.type.rust"},2:{name:"constant.other.caps.rust"}},comment:"constant declarations",match:"\\b(const)\\s+([A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"punctuation.separator.dot.decimal.rust"},2:{name:"keyword.operator.exponent.rust"},3:{name:"keyword.operator.exponent.sign.rust"},4:{name:"constant.numeric.decimal.exponent.mantissa.rust"},5:{name:"entity.name.type.numeric.rust"}},comment:"decimal integers and floats",match:"\\b\\d[\\d_]*(\\.?)[\\d_]*(?:(E|e)([+-]?)([\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.decimal.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"hexadecimal integers",match:"\\b0x[\\da-fA-F_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.hex.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"octal integers",match:"\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.oct.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"binary integers",match:"\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.bin.rust"},{comment:"booleans",match:"\\b(true|false)\\b",name:"constant.language.bool.rust"}]},escapes:{captures:{1:{name:"constant.character.escape.backslash.rust"},2:{name:"constant.character.escape.bit.rust"},3:{name:"constant.character.escape.unicode.rust"},4:{name:"constant.character.escape.unicode.punctuation.rust"},5:{name:"constant.character.escape.unicode.punctuation.rust"}},comment:"escapes: ASCII, byte, Unicode, quote, regex",match:"(\\\\)(?:(?:(x[0-7][\\da-fA-F])|(u(\\{)[\\da-fA-F]{4,6}(\\}))|.))",name:"constant.character.escape.rust"},functions:{patterns:[{captures:{1:{name:"keyword.other.rust"},2:{name:"punctuation.brackets.round.rust"}},comment:"pub as a function",match:"\\b(pub)(\\()"},{begin:"\\b(fn)\\s+((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)((\\()|(<))",beginCaptures:{1:{name:"keyword.other.fn.rust"},2:{name:"entity.name.function.rust"},4:{name:"punctuation.brackets.round.rust"},5:{name:"punctuation.brackets.angle.rust"}},comment:"function definition",end:"\\{|;",endCaptures:{0:{name:"punctuation.brackets.curly.rust"}},name:"meta.function.definition.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]},{begin:"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(\\()",beginCaptures:{1:{name:"entity.name.function.rust"},2:{name:"punctuation.brackets.round.rust"}},comment:"function/method calls, chaining",end:"\\)",endCaptures:{0:{name:"punctuation.brackets.round.rust"}},name:"meta.function.call.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]},{begin:"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(?=::<.*>\\()",beginCaptures:{1:{name:"entity.name.function.rust"}},comment:"function/method calls with turbofish",end:"\\)",endCaptures:{0:{name:"punctuation.brackets.round.rust"}},name:"meta.function.call.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]}]},gtypes:{patterns:[{comment:"option types",match:"\\b(Some|None)\\b",name:"entity.name.type.option.rust"},{comment:"result types",match:"\\b(Ok|Err)\\b",name:"entity.name.type.result.rust"}]},interpolations:{captures:{1:{name:"punctuation.definition.interpolation.rust"},2:{name:"punctuation.definition.interpolation.rust"}},comment:"curly brace interpolations",match:'({)[^"{}]*(})',name:"meta.interpolation.rust"},keywords:{patterns:[{comment:"control flow keywords",match:"\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\b",name:"keyword.control.rust"},{comment:"storage keywords",match:"\\b(extern|let|macro|mod)\\b",name:"keyword.other.rust storage.type.rust"},{comment:"const keyword",match:"\\b(const)\\b",name:"storage.modifier.rust"},{comment:"type keyword",match:"\\b(type)\\b",name:"keyword.declaration.type.rust storage.type.rust"},{comment:"enum keyword",match:"\\b(enum)\\b",name:"keyword.declaration.enum.rust storage.type.rust"},{comment:"trait keyword",match:"\\b(trait)\\b",name:"keyword.declaration.trait.rust storage.type.rust"},{comment:"struct keyword",match:"\\b(struct)\\b",name:"keyword.declaration.struct.rust storage.type.rust"},{comment:"storage modifiers",match:"\\b(abstract|static)\\b",name:"storage.modifier.rust"},{comment:"other keywords",match:"\\b(as|async|become|box|dyn|move|final|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\b",name:"keyword.other.rust"},{comment:"fn",match:"\\bfn\\b",name:"keyword.other.fn.rust"},{comment:"crate",match:"\\bcrate\\b",name:"keyword.other.crate.rust"},{comment:"mut",match:"\\bmut\\b",name:"storage.modifier.mut.rust"},{comment:"logical operators",match:"(\\^|\\||\\|\\||&&|<<|>>|!)(?!=)",name:"keyword.operator.logical.rust"},{comment:"logical AND, borrow references",match:"&(?![&=])",name:"keyword.operator.borrow.and.rust"},{comment:"assignment operators",match:"(\\+=|-=|\\*=|/=|%=|\\^=|&=|\\|=|<<=|>>=)",name:"keyword.operator.assignment.rust"},{comment:"single equal",match:"(?<![<>])=(?!=|>)",name:"keyword.operator.assignment.equal.rust"},{comment:"comparison operators",match:"(=(=)?(?!>)|!=|<=|(?<!=)>=)",name:"keyword.operator.comparison.rust"},{comment:"math operators",match:"(([+%]|(\\*(?!\\w)))(?!=))|(-(?!>))|(/(?!/))",name:"keyword.operator.math.rust"},{captures:{1:{name:"punctuation.brackets.round.rust"},2:{name:"punctuation.brackets.square.rust"},3:{name:"punctuation.brackets.curly.rust"},4:{name:"keyword.operator.comparison.rust"},5:{name:"punctuation.brackets.round.rust"},6:{name:"punctuation.brackets.square.rust"},7:{name:"punctuation.brackets.curly.rust"}},comment:"less than, greater than (special case)",match:"(?:\\b|(?:(\\))|(\\])|(\\})))[ \\t]+([<>])[ \\t]+(?:\\b|(?:(\\()|(\\[)|(\\{)))"},{comment:"namespace operator",match:"::",name:"keyword.operator.namespace.rust"},{captures:{1:{name:"keyword.operator.dereference.rust"}},comment:"dereference asterisk",match:"(\\*)(?=\\w+)"},{comment:"subpattern binding",match:"@",name:"keyword.operator.subpattern.rust"},{comment:"dot access",match:"\\.(?!\\.)",name:"keyword.operator.access.dot.rust"},{comment:"ranges, range patterns",match:"\\.{2}(=|\\.)?",name:"keyword.operator.range.rust"},{comment:"colon",match:":(?!:)",name:"keyword.operator.key-value.rust"},{comment:"dashrocket, skinny arrow",match:"->",name:"keyword.operator.arrow.skinny.rust"},{comment:"hashrocket, fat arrow",match:"=>",name:"keyword.operator.arrow.fat.rust"},{comment:"dollar macros",match:"\\$",name:"keyword.operator.macro.dollar.rust"},{comment:"question mark operator, questionably sized, macro kleene matcher",match:"\\?",name:"keyword.operator.question.rust"}]},lifetimes:{patterns:[{captures:{1:{name:"punctuation.definition.lifetime.rust"},2:{name:"entity.name.type.lifetime.rust"}},comment:"named lifetime parameters",match:"(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\b"},{captures:{1:{name:"keyword.operator.borrow.rust"},2:{name:"punctuation.definition.lifetime.rust"},3:{name:"entity.name.type.lifetime.rust"}},comment:"borrowing references to named lifetimes",match:"(\\&)(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\b"}]},lvariables:{patterns:[{comment:"self",match:"\\b[Ss]elf\\b",name:"variable.language.self.rust"},{comment:"super",match:"\\bsuper\\b",name:"variable.language.super.rust"}]},macros:{patterns:[{captures:{2:{name:"entity.name.function.macro.rust"},3:{name:"entity.name.type.macro.rust"}},comment:"macros",match:"(([a-z_][A-Za-z0-9_]*!)|([A-Z_][A-Za-z0-9_]*!))",name:"meta.macro.rust"}]},namespaces:{patterns:[{captures:{1:{name:"entity.name.namespace.rust"},2:{name:"keyword.operator.namespace.rust"}},comment:"namespace (non-type, non-function path segment)",match:"(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!super|self)::)"}]},punctuation:{patterns:[{comment:"comma",match:",",name:"punctuation.comma.rust"},{comment:"curly braces",match:"[{}]",name:"punctuation.brackets.curly.rust"},{comment:"parentheses, round brackets",match:"[()]",name:"punctuation.brackets.round.rust"},{comment:"semicolon",match:";",name:"punctuation.semi.rust"},{comment:"square brackets",match:"[\\[\\]]",name:"punctuation.brackets.square.rust"},{comment:"angle brackets",match:"(?<!=)[<>]",name:"punctuation.brackets.angle.rust"}]},strings:{patterns:[{begin:'(b?)(")',beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.string.rust"}},comment:"double-quoted strings and byte strings",end:'"',endCaptures:{0:{name:"punctuation.definition.string.rust"}},name:"string.quoted.double.rust",patterns:[{include:"#escapes"},{include:"#interpolations"}]},{begin:'(b?r)(#*)(")',beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.string.raw.rust"},3:{name:"punctuation.definition.string.rust"}},comment:"double-quoted raw strings and raw byte strings",end:'(")(\\2)',endCaptures:{1:{name:"punctuation.definition.string.rust"},2:{name:"punctuation.definition.string.raw.rust"}},name:"string.quoted.double.rust"},{begin:"(b)?(')",beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.char.rust"}},comment:"characters and bytes",end:"'",endCaptures:{0:{name:"punctuation.definition.char.rust"}},name:"string.quoted.single.char.rust",patterns:[{include:"#escapes"}]}]},types:{patterns:[{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"numeric types",match:"(?<![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\b"},{begin:"\\b(_?[A-Z][A-Za-z0-9_]*)(<)",beginCaptures:{1:{name:"entity.name.type.rust"},2:{name:"punctuation.brackets.angle.rust"}},comment:"parameterized types",end:">",endCaptures:{0:{name:"punctuation.brackets.angle.rust"}},patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lvariables"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#types"},{include:"#variables"}]},{comment:"primitive types",match:"\\b(bool|char|str)\\b",name:"entity.name.type.primitive.rust"},{captures:{1:{name:"keyword.declaration.trait.rust storage.type.rust"},2:{name:"entity.name.type.trait.rust"}},comment:"trait declarations",match:"\\b(trait)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.struct.rust storage.type.rust"},2:{name:"entity.name.type.struct.rust"}},comment:"struct declarations",match:"\\b(struct)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.enum.rust storage.type.rust"},2:{name:"entity.name.type.enum.rust"}},comment:"enum declarations",match:"\\b(enum)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.type.rust storage.type.rust"},2:{name:"entity.name.type.declaration.rust"}},comment:"type declarations",match:"\\b(type)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{comment:"types",match:"\\b_?[A-Z][A-Za-z0-9_]*\\b(?!!)",name:"entity.name.type.rust"}]},variables:{patterns:[{comment:"variables",match:"\\b(?<!(?<!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b",name:"variable.other.rust"}]}},scopeName:"source.rust",aliases:["rs"]});var t=[e];export{t as default}; diff --git a/assets/sankeyDiagram-0acdec17-SleWA8cW.js b/assets/sankeyDiagram-0acdec17-SleWA8cW.js new file mode 100644 index 00000000000..3f6e869beea --- /dev/null +++ b/assets/sankeyDiagram-0acdec17-SleWA8cW.js @@ -0,0 +1,8 @@ +import{c as rt,g as mt,s as _t,a as kt,b as xt,q as vt,p as bt,r as wt,j as St,o as Lt,h as G,V as Et}from"./mermaid.core-wTs8WatG.js";import"./request-bY2SEZNN.js";import{o as At}from"./ordinal-wXG5obU4.js";import{s as Tt}from"./Tableau10-Fgclqpgn.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./init-Hi12RPRh.js";function ot(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s<a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s<u||s===void 0&&u>=u)&&(s=u)}return s}function yt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function Z(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let u of t)(u=+n(u,++a,t))&&(s+=u)}return s}function Mt(t){return t.target.depth}function Nt(t){return t.depth}function Pt(t,n){return n-1-t.height}function dt(t,n){return t.sourceLinks.length?t.depth:n-1}function Ct(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?yt(t.sourceLinks,Mt)-1:0}function Y(t){return function(){return t}}function lt(t,n){return q(t.source,n.source)||t.index-n.index}function at(t,n){return q(t.target,n.target)||t.index-n.index}function q(t,n){return t.y0-n.y0}function J(t){return t.value}function It(t){return t.index}function $t(t){return t.nodes}function Ot(t){return t.links}function ct(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ut({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const u of n.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of n.targetLinks)u.y1=a+u.width/2,a+=u.width}}function jt(){let t=0,n=0,s=1,a=1,u=24,k=8,p,g=It,i=dt,o,c,m=$t,b=Ot,y=6;function x(){const e={nodes:m.apply(null,arguments),links:b.apply(null,arguments)};return E(e),L(e),A(e),N(e),S(e),ut(e),e}x.update=function(e){return ut(e),e},x.nodeId=function(e){return arguments.length?(g=typeof e=="function"?e:Y(e),x):g},x.nodeAlign=function(e){return arguments.length?(i=typeof e=="function"?e:Y(e),x):i},x.nodeSort=function(e){return arguments.length?(o=e,x):o},x.nodeWidth=function(e){return arguments.length?(u=+e,x):u},x.nodePadding=function(e){return arguments.length?(k=p=+e,x):k},x.nodes=function(e){return arguments.length?(m=typeof e=="function"?e:Y(e),x):m},x.links=function(e){return arguments.length?(b=typeof e=="function"?e:Y(e),x):b},x.linkSort=function(e){return arguments.length?(c=e,x):c},x.size=function(e){return arguments.length?(t=n=0,s=+e[0],a=+e[1],x):[s-t,a-n]},x.extent=function(e){return arguments.length?(t=+e[0][0],s=+e[1][0],n=+e[0][1],a=+e[1][1],x):[[t,n],[s,a]]},x.iterations=function(e){return arguments.length?(y=+e,x):y};function E({nodes:e,links:f}){for(const[h,r]of e.entries())r.index=h,r.sourceLinks=[],r.targetLinks=[];const l=new Map(e.map((h,r)=>[g(h,r,e),h]));for(const[h,r]of f.entries()){r.index=h;let{source:_,target:v}=r;typeof _!="object"&&(_=r.source=ct(l,_)),typeof v!="object"&&(v=r.target=ct(l,v)),_.sourceLinks.push(r),v.targetLinks.push(r)}if(c!=null)for(const{sourceLinks:h,targetLinks:r}of e)h.sort(c),r.sort(c)}function L({nodes:e}){for(const f of e)f.value=f.fixedValue===void 0?Math.max(Z(f.sourceLinks,J),Z(f.targetLinks,J)):f.fixedValue}function A({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const _ of l){_.depth=r;for(const{target:v}of _.sourceLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function N({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const _ of l){_.height=r;for(const{source:v}of _.targetLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function I({nodes:e}){const f=ot(e,r=>r.depth)+1,l=(s-t-u)/(f-1),h=new Array(f);for(const r of e){const _=Math.max(0,Math.min(f-1,Math.floor(i.call(null,r,f))));r.layer=_,r.x0=t+_*l,r.x1=r.x0+u,h[_]?h[_].push(r):h[_]=[r]}if(o)for(const r of h)r.sort(o);return h}function j(e){const f=yt(e,l=>(a-n-(l.length-1)*p)/Z(l,J));for(const l of e){let h=n;for(const r of l){r.y0=h,r.y1=h+r.value*f,h=r.y1+p;for(const _ of r.sourceLinks)_.width=_.value*f}h=(a-h+p)/(l.length+1);for(let r=0;r<l.length;++r){const _=l[r];_.y0+=h*(r+1),_.y1+=h*(r+1)}$(l)}}function S(e){const f=I(e);p=Math.min(k,(a-n)/(ot(f,l=>l.length)-1)),j(f);for(let l=0;l<y;++l){const h=Math.pow(.99,l),r=Math.max(1-h,(l+1)/y);O(f,h,r),M(f,h,r)}}function M(e,f,l){for(let h=1,r=e.length;h<r;++h){const _=e[h];for(const v of _){let R=0,z=0;for(const{source:W,value:K}of v.targetLinks){let F=K*(v.layer-W.layer);R+=T(W,v)*F,z+=F}if(!(z>0))continue;let U=(R/z-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&_.sort(q),P(_,l)}}function O(e,f,l){for(let h=e.length,r=h-2;r>=0;--r){const _=e[r];for(const v of _){let R=0,z=0;for(const{target:W,value:K}of v.sourceLinks){let F=K*(W.layer-v.layer);R+=V(v,W)*F,z+=F}if(!(z>0))continue;let U=(R/z-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&_.sort(q),P(_,l)}}function P(e,f){const l=e.length>>1,h=e[l];d(e,h.y0-p,l-1,f),C(e,h.y1+p,l+1,f),d(e,a,e.length-1,f),C(e,n,0,f)}function C(e,f,l,h){for(;l<e.length;++l){const r=e[l],_=(f-r.y0)*h;_>1e-6&&(r.y0+=_,r.y1+=_),f=r.y1+p}}function d(e,f,l,h){for(;l>=0;--l){const r=e[l],_=(r.y1-f)*h;_>1e-6&&(r.y0-=_,r.y1-=_),f=r.y0-p}}function w({sourceLinks:e,targetLinks:f}){if(c===void 0){for(const{source:{sourceLinks:l}}of f)l.sort(at);for(const{target:{targetLinks:l}}of e)l.sort(lt)}}function $(e){if(c===void 0)for(const{sourceLinks:f,targetLinks:l}of e)f.sort(at),l.sort(lt)}function T(e,f){let l=e.y0-(e.sourceLinks.length-1)*p/2;for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l+=r+p}for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l-=r}return l}function V(e,f){let l=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l+=r+p}for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l-=r}return l}return x}var tt=Math.PI,et=2*tt,D=1e-6,zt=et-D;function nt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new nt}nt.prototype=pt.prototype={constructor:nt,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,u,k){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+u)+","+(this._y1=+k)},arcTo:function(t,n,s,a,u){t=+t,n=+n,s=+s,a=+a,u=+u;var k=this._x1,p=this._y1,g=s-t,i=a-n,o=k-t,c=p-n,m=o*o+c*c;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(m>D)if(!(Math.abs(c*g-i*o)>D)||!u)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var b=s-k,y=a-p,x=g*g+i*i,E=b*b+y*y,L=Math.sqrt(x),A=Math.sqrt(m),N=u*Math.tan((tt-Math.acos((x+m-E)/(2*L*A)))/2),I=N/A,j=N/L;Math.abs(I-1)>D&&(this._+="L"+(t+I*o)+","+(n+I*c)),this._+="A"+u+","+u+",0,0,"+ +(c*b>o*y)+","+(this._x1=t+j*g)+","+(this._y1=n+j*i)}},arc:function(t,n,s,a,u,k){t=+t,n=+n,s=+s,k=!!k;var p=s*Math.cos(a),g=s*Math.sin(a),i=t+p,o=n+g,c=1^k,m=k?a-u:u-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+i+","+o:(Math.abs(this._x1-i)>D||Math.abs(this._y1-o)>D)&&(this._+="L"+i+","+o),s&&(m<0&&(m=m%et+et),m>zt?this._+="A"+s+","+s+",0,1,"+c+","+(t-p)+","+(n-g)+"A"+s+","+s+",0,1,"+c+","+(this._x1=i)+","+(this._y1=o):m>D&&(this._+="A"+s+","+s+",0,"+ +(m>=tt)+","+c+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=n+s*Math.sin(u))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ht(t){return function(){return t}}function Dt(t){return t[0]}function Bt(t){return t[1]}var Vt=Array.prototype.slice;function Rt(t){return t.source}function Ut(t){return t.target}function Wt(t){var n=Rt,s=Ut,a=Dt,u=Bt,k=null;function p(){var g,i=Vt.call(arguments),o=n.apply(this,i),c=s.apply(this,i);if(k||(k=g=pt()),t(k,+a.apply(this,(i[0]=o,i)),+u.apply(this,i),+a.apply(this,(i[0]=c,i)),+u.apply(this,i)),g)return k=null,g+""||null}return p.source=function(g){return arguments.length?(n=g,p):n},p.target=function(g){return arguments.length?(s=g,p):s},p.x=function(g){return arguments.length?(a=typeof g=="function"?g:ht(+g),p):a},p.y=function(g){return arguments.length?(u=typeof g=="function"?g:ht(+g),p):u},p.context=function(g){return arguments.length?(k=g??null,p):k},p}function Ft(t,n,s,a,u){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,u,a,u)}function Gt(){return Wt(Ft)}function Yt(t){return[t.source.x1,t.y0]}function qt(t){return[t.target.x0,t.y1]}function Ht(){return Gt().source(Yt).target(qt)}var it=function(){var t=function(g,i,o,c){for(o=o||{},c=g.length;c--;o[g[c]]=i);return o},n=[1,9],s=[1,10],a=[1,5,10,12],u={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(i,o,c,m,b,y,x){var E=y.length-1;switch(b){case 7:const L=m.findOrCreateNode(y[E-4].trim().replaceAll('""','"')),A=m.findOrCreateNode(y[E-2].trim().replaceAll('""','"')),N=parseFloat(y[E].trim());m.addLink(L,A,N);break;case 8:case 9:case 11:this.$=y[E];break;case 10:this.$=y[E-1];break}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(i,o){if(o.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=o,c}},parse:function(i){var o=this,c=[0],m=[],b=[null],y=[],x=this.table,E="",L=0,A=0,N=2,I=1,j=y.slice.call(arguments,1),S=Object.create(this.lexer),M={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(M.yy[O]=this.yy[O]);S.setInput(i,M.yy),M.yy.lexer=S,M.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var P=S.yylloc;y.push(P);var C=S.options&&S.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function d(){var v;return v=m.pop()||S.lex()||I,typeof v!="number"&&(v instanceof Array&&(m=v,v=m.pop()),v=o.symbols_[v]||v),v}for(var w,$,T,V,e={},f,l,h,r;;){if($=c[c.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((w===null||typeof w>"u")&&(w=d()),T=x[$]&&x[$][w]),typeof T>"u"||!T.length||!T[0]){var _="";r=[];for(f in x[$])this.terminals_[f]&&f>N&&r.push("'"+this.terminals_[f]+"'");S.showPosition?_="Parse error on line "+(L+1)+`: +`+S.showPosition()+` +Expecting `+r.join(", ")+", got '"+(this.terminals_[w]||w)+"'":_="Parse error on line "+(L+1)+": Unexpected "+(w==I?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(_,{text:S.match,token:this.terminals_[w]||w,line:S.yylineno,loc:P,expected:r})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+w);switch(T[0]){case 1:c.push(w),b.push(S.yytext),y.push(S.yylloc),c.push(T[1]),w=null,A=S.yyleng,E=S.yytext,L=S.yylineno,P=S.yylloc;break;case 2:if(l=this.productions_[T[1]][1],e.$=b[b.length-l],e._$={first_line:y[y.length-(l||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(l||1)].first_column,last_column:y[y.length-1].last_column},C&&(e._$.range=[y[y.length-(l||1)].range[0],y[y.length-1].range[1]]),V=this.performAction.apply(e,[E,A,L,M.yy,T[1],b,y].concat(j)),typeof V<"u")return V;l&&(c=c.slice(0,-1*l*2),b=b.slice(0,-1*l),y=y.slice(0,-1*l)),c.push(this.productions_[T[1]][0]),b.push(e.$),y.push(e._$),h=x[c[c.length-2]][c[c.length-1]],c.push(h);break;case 3:return!0}}return!0}},k=function(){var g={EOF:1,parseError:function(o,c){if(this.yy.parser)this.yy.parser.parseError(o,c);else throw new Error(o)},setInput:function(i,o){return this.yy=o||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var o=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var b=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===m.length?this.yylloc.first_column:0)+m[m.length-c.length].length-c[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),o=new Array(i.length+1).join("-");return i+this.upcomingInput()+` +`+o+"^"},test_match:function(i,o){var c,m,b;if(this.options.backtrack_lexer&&(b={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(b.yylloc.range=this.yylloc.range.slice(0))),m=i[0].match(/(?:\r\n?|\n).*/g),m&&(this.yylineno+=m.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],c=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var y in b)this[y]=b[y];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,o,c,m;this._more||(this.yytext="",this.match="");for(var b=this._currentRules(),y=0;y<b.length;y++)if(c=this._input.match(this.rules[b[y]]),c&&(!o||c[0].length>o[0].length)){if(o=c,m=y,this.options.backtrack_lexer){if(i=this.test_match(c,b[y]),i!==!1)return i;if(this._backtrack){o=!1;continue}else return!1}else if(!this.options.flex)break}return o?(i=this.test_match(o,b[m]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return o||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){var o=this.conditionStack.length-1;return o>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{easy_keword_rules:!0},performAction:function(o,c,m,b){switch(m){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},rules:[/^(?:sankey-beta\b)/,/^(?:$)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:(\u002C))/,/^(?:(\u0022))/,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/,/^(?:(\u0022)(?!(\u0022)))/,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return g}();u.lexer=k;function p(){this.yy={}}return p.prototype=u,u.Parser=p,new p}();it.parser=it;const H=it;let X=[],Q=[],B={};const Xt=()=>{X=[],Q=[],B={},wt()};class Qt{constructor(n,s,a=0){this.source=n,this.target=s,this.value=a}}const Kt=(t,n,s)=>{X.push(new Qt(t,n,s))};class Zt{constructor(n){this.ID=n}}const Jt=t=>(t=St.sanitizeText(t,rt()),B[t]||(B[t]=new Zt(t),Q.push(B[t])),B[t]),te=()=>Q,ee=()=>X,ne=()=>({nodes:Q.map(t=>({id:t.ID})),links:X.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),ie={nodesMap:B,getConfig:()=>rt().sankey,getNodes:te,getLinks:ee,getGraph:ne,addLink:Kt,findOrCreateNode:Jt,getAccTitle:mt,setAccTitle:_t,getAccDescription:kt,setAccDescription:xt,getDiagramTitle:vt,setDiagramTitle:bt,clear:Xt},gt=class st{static next(n){return new st(n+ ++st.count)}constructor(n){this.id=n,this.href=`#${n}`}toString(){return"url("+this.href+")"}};gt.count=0;let ft=gt;const se={left:Nt,right:Pt,center:Ct,justify:dt},re=function(t,n,s,a){const{securityLevel:u,sankey:k}=rt(),p=Lt.sankey;let g;u==="sandbox"&&(g=G("#i"+n));const i=u==="sandbox"?G(g.nodes()[0].contentDocument.body):G("body"),o=u==="sandbox"?i.select(`[id="${n}"]`):G(`[id="${n}"]`),c=k?.width??p.width,m=k?.height??p.width,b=k?.useMaxWidth??p.useMaxWidth,y=k?.nodeAlignment??p.nodeAlignment,x=k?.prefix??p.prefix,E=k?.suffix??p.suffix,L=k?.showValues??p.showValues,A=a.db.getGraph(),N=se[y];jt().nodeId(d=>d.id).nodeWidth(10).nodePadding(10+(L?15:0)).nodeAlign(N).extent([[0,0],[c,m]])(A);const S=At(Tt);o.append("g").attr("class","nodes").selectAll(".node").data(A.nodes).join("g").attr("class","node").attr("id",d=>(d.uid=ft.next("node-")).id).attr("transform",function(d){return"translate("+d.x0+","+d.y0+")"}).attr("x",d=>d.x0).attr("y",d=>d.y0).append("rect").attr("height",d=>d.y1-d.y0).attr("width",d=>d.x1-d.x0).attr("fill",d=>S(d.id));const M=({id:d,value:w})=>L?`${d} +${x}${Math.round(w*100)/100}${E}`:d;o.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(A.nodes).join("text").attr("x",d=>d.x0<c/2?d.x1+6:d.x0-6).attr("y",d=>(d.y1+d.y0)/2).attr("dy",`${L?"0":"0.35"}em`).attr("text-anchor",d=>d.x0<c/2?"start":"end").text(M);const O=o.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(A.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),P=k?.linkColor||"gradient";if(P==="gradient"){const d=O.append("linearGradient").attr("id",w=>(w.uid=ft.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",w=>w.source.x1).attr("x2",w=>w.target.x0);d.append("stop").attr("offset","0%").attr("stop-color",w=>S(w.source.id)),d.append("stop").attr("offset","100%").attr("stop-color",w=>S(w.target.id))}let C;switch(P){case"gradient":C=d=>d.uid;break;case"source":C=d=>S(d.source.id);break;case"target":C=d=>S(d.target.id);break;default:C=P}O.append("path").attr("d",Ht()).attr("stroke",C).attr("stroke-width",d=>Math.max(1,d.width)),Et(void 0,o,0,b)},oe={draw:re},le=t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,` +`).trim(),ae=H.parse.bind(H);H.parse=t=>ae(le(t));const ke={parser:H,db:ie,renderer:oe};export{ke as diagram}; diff --git a/assets/sequenceDiagram-c18d009d-AMW6u50R.js b/assets/sequenceDiagram-c18d009d-AMW6u50R.js new file mode 100644 index 00000000000..98b1ea8c7fc --- /dev/null +++ b/assets/sequenceDiagram-c18d009d-AMW6u50R.js @@ -0,0 +1,122 @@ +import{g as Te,q as ye,p as Ee,c as lt,s as Jt,b as be,a as me,r as we,l as K,d as Pt,j as v,e as ve,h as kt,i as _e,u as B,m as Zt,S as Qt,Z as ke}from"./mermaid.core-wTs8WatG.js";import{d as Pe,a as Le,g as Lt,b as Ie,c as Ae,e as Yt}from"./svgDrawCommon-0ee1b4e9-rINZtLwd.js";import"./request-bY2SEZNN.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";var Ct=function(){var t=function(ct,w,k,L){for(k=k||{},L=ct.length;L--;k[ct[L]]=w);return k},e=[1,2],o=[1,3],s=[1,4],r=[2,4],a=[1,9],l=[1,11],h=[1,13],p=[1,14],i=[1,16],g=[1,17],E=[1,18],u=[1,24],x=[1,25],m=[1,26],P=[1,27],A=[1,28],D=[1,29],S=[1,30],W=[1,31],M=[1,32],tt=[1,33],q=[1,34],G=[1,35],Z=[1,36],z=[1,37],F=[1,38],O=[1,39],X=[1,41],H=[1,42],J=[1,43],Q=[1,44],j=[1,45],y=[1,46],_=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],I=[4,5,16,50,52,53],ht=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],et=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],zt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ot=[68,69,70],it=[1,120],At={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(w,k,L,T,R,c,Et){var d=c.length-1;switch(R){case 3:return T.apply(c[d]),c[d];case 4:case 9:this.$=[];break;case 5:case 10:c[d-1].push(c[d]),this.$=c[d-1];break;case 6:case 7:case 11:case 12:this.$=c[d];break;case 8:case 13:this.$=[];break;case 15:c[d].type="createParticipant",this.$=c[d];break;case 16:c[d-1].unshift({type:"boxStart",boxData:T.parseBoxData(c[d-2])}),c[d-1].push({type:"boxEnd",boxText:c[d-2]}),this.$=c[d-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-2]),sequenceIndexStep:Number(c[d-1]),sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:T.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:T.LINETYPE.ACTIVE_START,actor:c[d-1]};break;case 23:this.$={type:"activeEnd",signalType:T.LINETYPE.ACTIVE_END,actor:c[d-1]};break;case 29:T.setDiagramTitle(c[d].substring(6)),this.$=c[d].substring(6);break;case 30:T.setDiagramTitle(c[d].substring(7)),this.$=c[d].substring(7);break;case 31:this.$=c[d].trim(),T.setAccTitle(this.$);break;case 32:case 33:this.$=c[d].trim(),T.setAccDescription(this.$);break;case 34:c[d-1].unshift({type:"loopStart",loopText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.LOOP_START}),c[d-1].push({type:"loopEnd",loopText:c[d-2],signalType:T.LINETYPE.LOOP_END}),this.$=c[d-1];break;case 35:c[d-1].unshift({type:"rectStart",color:T.parseMessage(c[d-2]),signalType:T.LINETYPE.RECT_START}),c[d-1].push({type:"rectEnd",color:T.parseMessage(c[d-2]),signalType:T.LINETYPE.RECT_END}),this.$=c[d-1];break;case 36:c[d-1].unshift({type:"optStart",optText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.OPT_START}),c[d-1].push({type:"optEnd",optText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.OPT_END}),this.$=c[d-1];break;case 37:c[d-1].unshift({type:"altStart",altText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.ALT_START}),c[d-1].push({type:"altEnd",signalType:T.LINETYPE.ALT_END}),this.$=c[d-1];break;case 38:c[d-1].unshift({type:"parStart",parText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.PAR_START}),c[d-1].push({type:"parEnd",signalType:T.LINETYPE.PAR_END}),this.$=c[d-1];break;case 39:c[d-1].unshift({type:"parStart",parText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.PAR_OVER_START}),c[d-1].push({type:"parEnd",signalType:T.LINETYPE.PAR_END}),this.$=c[d-1];break;case 40:c[d-1].unshift({type:"criticalStart",criticalText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.CRITICAL_START}),c[d-1].push({type:"criticalEnd",signalType:T.LINETYPE.CRITICAL_END}),this.$=c[d-1];break;case 41:c[d-1].unshift({type:"breakStart",breakText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.BREAK_START}),c[d-1].push({type:"breakEnd",optText:T.parseMessage(c[d-2]),signalType:T.LINETYPE.BREAK_END}),this.$=c[d-1];break;case 43:this.$=c[d-3].concat([{type:"option",optionText:T.parseMessage(c[d-1]),signalType:T.LINETYPE.CRITICAL_OPTION},c[d]]);break;case 45:this.$=c[d-3].concat([{type:"and",parText:T.parseMessage(c[d-1]),signalType:T.LINETYPE.PAR_AND},c[d]]);break;case 47:this.$=c[d-3].concat([{type:"else",altText:T.parseMessage(c[d-1]),signalType:T.LINETYPE.ALT_ELSE},c[d]]);break;case 48:c[d-3].draw="participant",c[d-3].type="addParticipant",c[d-3].description=T.parseMessage(c[d-1]),this.$=c[d-3];break;case 49:c[d-1].draw="participant",c[d-1].type="addParticipant",this.$=c[d-1];break;case 50:c[d-3].draw="actor",c[d-3].type="addParticipant",c[d-3].description=T.parseMessage(c[d-1]),this.$=c[d-3];break;case 51:c[d-1].draw="actor",c[d-1].type="addParticipant",this.$=c[d-1];break;case 52:c[d-1].type="destroyParticipant",this.$=c[d-1];break;case 53:this.$=[c[d-1],{type:"addNote",placement:c[d-2],actor:c[d-1].actor,text:c[d]}];break;case 54:c[d-2]=[].concat(c[d-1],c[d-1]).slice(0,2),c[d-2][0]=c[d-2][0].actor,c[d-2][1]=c[d-2][1].actor,this.$=[c[d-1],{type:"addNote",placement:T.PLACEMENT.OVER,actor:c[d-2].slice(0,2),text:c[d]}];break;case 55:this.$=[c[d-1],{type:"addLinks",actor:c[d-1].actor,text:c[d]}];break;case 56:this.$=[c[d-1],{type:"addALink",actor:c[d-1].actor,text:c[d]}];break;case 57:this.$=[c[d-1],{type:"addProperties",actor:c[d-1].actor,text:c[d]}];break;case 58:this.$=[c[d-1],{type:"addDetails",actor:c[d-1].actor,text:c[d]}];break;case 61:this.$=[c[d-2],c[d]];break;case 62:this.$=c[d];break;case 63:this.$=T.PLACEMENT.LEFTOF;break;case 64:this.$=T.PLACEMENT.RIGHTOF;break;case 65:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d],activate:!0},{type:"activeStart",signalType:T.LINETYPE.ACTIVE_START,actor:c[d-1]}];break;case 66:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeEnd",signalType:T.LINETYPE.ACTIVE_END,actor:c[d-4]}];break;case 67:this.$=[c[d-3],c[d-1],{type:"addMessage",from:c[d-3].actor,to:c[d-1].actor,signalType:c[d-2],msg:c[d]}];break;case 68:this.$={type:"addParticipant",actor:c[d]};break;case 69:this.$=T.LINETYPE.SOLID_OPEN;break;case 70:this.$=T.LINETYPE.DOTTED_OPEN;break;case 71:this.$=T.LINETYPE.SOLID;break;case 72:this.$=T.LINETYPE.DOTTED;break;case 73:this.$=T.LINETYPE.SOLID_CROSS;break;case 74:this.$=T.LINETYPE.DOTTED_CROSS;break;case 75:this.$=T.LINETYPE.SOLID_POINT;break;case 76:this.$=T.LINETYPE.DOTTED_POINT;break;case 77:this.$=T.parseMessage(c[d].trim().substring(1));break}},table:[{3:1,4:e,5:o,6:s},{1:[3]},{3:5,4:e,5:o,6:s},{3:6,4:e,5:o,6:s},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:l,8:8,9:10,12:12,13:h,14:p,17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},t(_,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},t(_,[2,7]),t(_,[2,8]),t(_,[2,14]),{12:48,50:z,52:F,53:O},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:y},{22:55,70:y},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(_,[2,29]),t(_,[2,30]),{32:[1,61]},{34:[1,62]},t(_,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:y},{22:72,70:y},{22:73,70:y},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:y},{22:88,70:y},{22:89,70:y},{22:90,70:y},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(_,[2,6]),t(_,[2,15]),t(I,[2,9],{10:91}),t(_,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(_,[2,21]),{5:[1,95]},{5:[1,96]},t(_,[2,24]),t(_,[2,25]),t(_,[2,26]),t(_,[2,27]),t(_,[2,28]),t(_,[2,31]),t(_,[2,32]),t(ht,r,{7:97}),t(ht,r,{7:98}),t(ht,r,{7:99}),t(et,r,{40:100,7:101}),t(N,r,{42:102,7:103}),t(N,r,{7:103,42:104}),t(zt,r,{45:105,7:106}),t(ht,r,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:y},t(ot,[2,69]),t(ot,[2,70]),t(ot,[2,71]),t(ot,[2,72]),t(ot,[2,73]),t(ot,[2,74]),t(ot,[2,75]),t(ot,[2,76]),{22:116,70:y},{22:118,58:117,70:y},{70:[2,63]},{70:[2,64]},{56:119,79:it},{56:121,79:it},{56:122,79:it},{56:123,79:it},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:z,52:F,53:O},{5:[1,129]},t(_,[2,19]),t(_,[2,20]),t(_,[2,22]),t(_,[2,23]),{4:a,5:l,8:8,9:10,12:12,13:h,14:p,16:[1,130],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{4:a,5:l,8:8,9:10,12:12,13:h,14:p,16:[1,131],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{4:a,5:l,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{16:[1,133]},{4:a,5:l,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,49:[1,134],50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{16:[1,135]},{4:a,5:l,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,48:[1,136],50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{16:[1,137]},{16:[1,138]},{4:a,5:l,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,47:[1,139],50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{4:a,5:l,8:8,9:10,12:12,13:h,14:p,16:[1,140],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:P,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{15:[1,141]},t(_,[2,49]),{15:[1,142]},t(_,[2,51]),t(_,[2,52]),{22:143,70:y},{22:144,70:y},{56:145,79:it},{56:146,79:it},{56:147,79:it},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(_,[2,16]),t(I,[2,10]),{12:149,50:z,52:F,53:O},t(I,[2,12]),t(I,[2,13]),t(_,[2,18]),t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),{15:[1,150]},t(_,[2,38]),{15:[1,151]},t(_,[2,39]),t(_,[2,40]),{15:[1,152]},t(_,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:it},{56:156,79:it},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:y},t(I,[2,11]),t(et,r,{7:101,40:158}),t(N,r,{7:103,42:159}),t(zt,r,{7:106,45:160}),t(_,[2,48]),t(_,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(w,k){if(k.recoverable)this.trace(w);else{var L=new Error(w);throw L.hash=k,L}},parse:function(w){var k=this,L=[0],T=[],R=[null],c=[],Et=this.table,d="",wt=0,Ht=0,ue=2,Ut=1,fe=c.slice.call(arguments,1),Y=Object.create(this.lexer),dt={yy:{}};for(var St in this.yy)Object.prototype.hasOwnProperty.call(this.yy,St)&&(dt.yy[St]=this.yy[St]);Y.setInput(w,dt.yy),dt.yy.lexer=Y,dt.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var Mt=Y.yylloc;c.push(Mt);var ge=Y.options&&Y.options.ranges;typeof dt.yy.parseError=="function"?this.parseError=dt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xe(){var nt;return nt=T.pop()||Y.lex()||Ut,typeof nt!="number"&&(nt instanceof Array&&(T=nt,nt=T.pop()),nt=k.symbols_[nt]||nt),nt}for(var U,pt,$,Rt,xt={},vt,at,Kt,_t;;){if(pt=L[L.length-1],this.defaultActions[pt]?$=this.defaultActions[pt]:((U===null||typeof U>"u")&&(U=xe()),$=Et[pt]&&Et[pt][U]),typeof $>"u"||!$.length||!$[0]){var Dt="";_t=[];for(vt in Et[pt])this.terminals_[vt]&&vt>ue&&_t.push("'"+this.terminals_[vt]+"'");Y.showPosition?Dt="Parse error on line "+(wt+1)+`: +`+Y.showPosition()+` +Expecting `+_t.join(", ")+", got '"+(this.terminals_[U]||U)+"'":Dt="Parse error on line "+(wt+1)+": Unexpected "+(U==Ut?"end of input":"'"+(this.terminals_[U]||U)+"'"),this.parseError(Dt,{text:Y.match,token:this.terminals_[U]||U,line:Y.yylineno,loc:Mt,expected:_t})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pt+", token: "+U);switch($[0]){case 1:L.push(U),R.push(Y.yytext),c.push(Y.yylloc),L.push($[1]),U=null,Ht=Y.yyleng,d=Y.yytext,wt=Y.yylineno,Mt=Y.yylloc;break;case 2:if(at=this.productions_[$[1]][1],xt.$=R[R.length-at],xt._$={first_line:c[c.length-(at||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(at||1)].first_column,last_column:c[c.length-1].last_column},ge&&(xt._$.range=[c[c.length-(at||1)].range[0],c[c.length-1].range[1]]),Rt=this.performAction.apply(xt,[d,Ht,wt,dt.yy,$[1],R,c].concat(fe)),typeof Rt<"u")return Rt;at&&(L=L.slice(0,-1*at*2),R=R.slice(0,-1*at),c=c.slice(0,-1*at)),L.push(this.productions_[$[1]][0]),R.push(xt.$),c.push(xt._$),Kt=Et[L[L.length-2]][L[L.length-1]],L.push(Kt);break;case 3:return!0}}return!0}},pe=function(){var ct={EOF:1,parseError:function(k,L){if(this.yy.parser)this.yy.parser.parseError(k,L);else throw new Error(k)},setInput:function(w,k){return this.yy=k||this.yy||{},this._input=w,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var k=w.match(/(?:\r\n?|\n).*/g);return k?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},unput:function(w){var k=w.length,L=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-k),this.offset-=k;var T=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),L.length-1&&(this.yylineno-=L.length-1);var R=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:L?(L.length===T.length?this.yylloc.first_column:0)+T[T.length-L.length].length-L[0].length:this.yylloc.first_column-k},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-k]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(w){this.unput(this.match.slice(w))},pastInput:function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var w=this.pastInput(),k=new Array(w.length+1).join("-");return w+this.upcomingInput()+` +`+k+"^"},test_match:function(w,k){var L,T,R;if(this.options.backtrack_lexer&&(R={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(R.yylloc.range=this.yylloc.range.slice(0))),T=w[0].match(/(?:\r\n?|\n).*/g),T&&(this.yylineno+=T.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+w[0].length},this.yytext+=w[0],this.match+=w[0],this.matches=w,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(w[0].length),this.matched+=w[0],L=this.performAction.call(this,this.yy,this,k,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),L)return L;if(this._backtrack){for(var c in R)this[c]=R[c];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var w,k,L,T;this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),c=0;c<R.length;c++)if(L=this._input.match(this.rules[R[c]]),L&&(!k||L[0].length>k[0].length)){if(k=L,T=c,this.options.backtrack_lexer){if(w=this.test_match(L,R[c]),w!==!1)return w;if(this._backtrack){k=!1;continue}else return!1}else if(!this.options.flex)break}return k?(w=this.test_match(k,R[T]),w!==!1?w:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var k=this.next();return k||this.lex()},begin:function(k){this.conditionStack.push(k)},popState:function(){var k=this.conditionStack.length-1;return k>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(k){return k=this.conditionStack.length-1-Math.abs(k||0),k>=0?this.conditionStack[k]:"INITIAL"},pushState:function(k){this.begin(k)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(k,L,T,R){switch(T){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return L.yytext=L.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 51:return 5;case 52:return L.yytext=L.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 71;case 56:return 72;case 57:return 75;case 58:return 76;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 68;case 63:return 69;case 64:return 5;case 65:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],inclusive:!0}}};return ct}();At.lexer=pe;function Nt(){this.yy={}}return Nt.prototype=At,At.Parser=Nt,new Nt}();Ct.parser=Ct;const Ne=Ct;class Se{constructor(e){this.init=e,this.records=this.init()}reset(){this.records=this.init()}}const b=new Se(()=>({prevActor:void 0,actors:{},createdActors:{},destroyedActors:{},boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),Me=function(t){b.records.boxes.push({name:t.text,wrap:t.wrap===void 0&&ft()||!!t.wrap,fill:t.color,actorKeys:[]}),b.records.currentBox=b.records.boxes.slice(-1)[0]},Vt=function(t,e,o,s){let r=b.records.currentBox;const a=b.records.actors[t];if(a){if(b.records.currentBox&&a.box&&b.records.currentBox!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+b.records.currentBox.name+"' at the same time.");if(r=a.box?a.box:b.records.currentBox,a.box=r,a&&e===a.name&&o==null)return}(o==null||o.text==null)&&(o={text:e,wrap:null,type:s}),(s==null||o.text==null)&&(o={text:e,wrap:null,type:s}),b.records.actors[t]={box:r,name:e,description:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap,prevActor:b.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:s||"participant"},b.records.prevActor&&b.records.actors[b.records.prevActor]&&(b.records.actors[b.records.prevActor].nextActor=t),b.records.currentBox&&b.records.currentBox.actorKeys.push(t),b.records.prevActor=t},Re=t=>{let e,o=0;for(e=0;e<b.records.messages.length;e++)b.records.messages[e].type===bt.ACTIVE_START&&b.records.messages[e].from.actor===t&&o++,b.records.messages[e].type===bt.ACTIVE_END&&b.records.messages[e].from.actor===t&&o--;return o},De=function(t,e,o,s){b.records.messages.push({from:t,to:e,message:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap,answer:s})},C=function(t,e,o={text:void 0,wrap:void 0},s,r=!1){if(s===bt.ACTIVE_END&&Re(t.actor)<1){let l=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw l.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},l}return b.records.messages.push({from:t,to:e,message:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap,type:s,activate:r}),!0},Ce=function(){return b.records.boxes.length>0},Ve=function(){return b.records.boxes.some(t=>t.name)},Oe=function(){return b.records.messages},Be=function(){return b.records.boxes},Ye=function(){return b.records.actors},Fe=function(){return b.records.createdActors},We=function(){return b.records.destroyedActors},mt=function(t){return b.records.actors[t]},qe=function(){return Object.keys(b.records.actors)},ze=function(){b.records.sequenceNumbersEnabled=!0},He=function(){b.records.sequenceNumbersEnabled=!1},Ue=()=>b.records.sequenceNumbersEnabled,Ke=function(t){b.records.wrapEnabled=t},ft=()=>b.records.wrapEnabled!==void 0?b.records.wrapEnabled:lt().sequence.wrap,Ge=function(){b.reset(),we()},Xe=function(t){const e=t.trim(),o={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:e.match(/^:?wrap:/)!==null?!0:e.match(/^:?nowrap:/)!==null?!1:void 0};return K.debug("parseMessage:",o),o},Je=function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let o=e!=null&&e[1]?e[1].trim():"transparent",s=e!=null&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",o)||(o="transparent",s=t.trim());else{const r=new Option().style;r.color=o,r.color!==o&&(o="transparent",s=t.trim())}return{color:o,text:s!==void 0?Pt(s.replace(/^:?(?:no)?wrap:/,""),lt()):void 0,wrap:s!==void 0?s.match(/^:?wrap:/)!==null?!0:s.match(/^:?nowrap:/)!==null?!1:void 0:void 0}},bt={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},Ze={FILLED:0,OPEN:1},Qe={LEFTOF:0,RIGHTOF:1,OVER:2},jt=function(t,e,o){const s={actor:t,placement:e,message:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap},r=[].concat(t,t);b.records.notes.push(s),b.records.messages.push({from:r[0],to:r[1],message:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap,type:bt.NOTE,placement:e})},$t=function(t,e){const o=mt(t);try{let s=Pt(e.text,lt());s=s.replace(/&/g,"&"),s=s.replace(/=/g,"=");const r=JSON.parse(s);Ft(o,r)}catch(s){K.error("error while parsing actor link text",s)}},je=function(t,e){const o=mt(t);try{const l={};let h=Pt(e.text,lt());var s=h.indexOf("@");h=h.replace(/&/g,"&"),h=h.replace(/=/g,"=");var r=h.slice(0,s-1).trim(),a=h.slice(s+1).trim();l[r]=a,Ft(o,l)}catch(l){K.error("error while parsing actor link text",l)}};function Ft(t,e){if(t.links==null)t.links=e;else for(let o in e)t.links[o]=e[o]}const te=function(t,e){const o=mt(t);try{let s=Pt(e.text,lt());const r=JSON.parse(s);ee(o,r)}catch(s){K.error("error while parsing actor properties text",s)}};function ee(t,e){if(t.properties==null)t.properties=e;else for(let o in e)t.properties[o]=e[o]}function $e(){b.records.currentBox=void 0}const se=function(t,e){const o=mt(t),s=document.getElementById(e.text);try{const r=s.innerHTML,a=JSON.parse(r);a.properties&&ee(o,a.properties),a.links&&Ft(o,a.links)}catch(r){K.error("error while parsing actor details text",r)}},t0=function(t,e){if(t!==void 0&&t.properties!==void 0)return t.properties[e]},re=function(t){if(Array.isArray(t))t.forEach(function(e){re(e)});else switch(t.type){case"sequenceIndex":b.records.messages.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":Vt(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(b.records.actors[t.actor])throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");b.records.lastCreated=t.actor,Vt(t.actor,t.actor,t.description,t.draw),b.records.createdActors[t.actor]=b.records.messages.length;break;case"destroyParticipant":b.records.lastDestroyed=t.actor,b.records.destroyedActors[t.actor]=b.records.messages.length;break;case"activeStart":C(t.actor,void 0,void 0,t.signalType);break;case"activeEnd":C(t.actor,void 0,void 0,t.signalType);break;case"addNote":jt(t.actor,t.placement,t.text);break;case"addLinks":$t(t.actor,t.text);break;case"addALink":je(t.actor,t.text);break;case"addProperties":te(t.actor,t.text);break;case"addDetails":se(t.actor,t.text);break;case"addMessage":if(b.records.lastCreated){if(t.to!==b.records.lastCreated)throw new Error("The created participant "+b.records.lastCreated+" does not have an associated creating message after its declaration. Please check the sequence diagram.");b.records.lastCreated=void 0}else if(b.records.lastDestroyed){if(t.to!==b.records.lastDestroyed&&t.from!==b.records.lastDestroyed)throw new Error("The destroyed participant "+b.records.lastDestroyed+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");b.records.lastDestroyed=void 0}C(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":Me(t.boxData);break;case"boxEnd":$e();break;case"loopStart":C(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":C(void 0,void 0,void 0,t.signalType);break;case"rectStart":C(void 0,void 0,t.color,t.signalType);break;case"rectEnd":C(void 0,void 0,void 0,t.signalType);break;case"optStart":C(void 0,void 0,t.optText,t.signalType);break;case"optEnd":C(void 0,void 0,void 0,t.signalType);break;case"altStart":C(void 0,void 0,t.altText,t.signalType);break;case"else":C(void 0,void 0,t.altText,t.signalType);break;case"altEnd":C(void 0,void 0,void 0,t.signalType);break;case"setAccTitle":Jt(t.text);break;case"parStart":C(void 0,void 0,t.parText,t.signalType);break;case"and":C(void 0,void 0,t.parText,t.signalType);break;case"parEnd":C(void 0,void 0,void 0,t.signalType);break;case"criticalStart":C(void 0,void 0,t.criticalText,t.signalType);break;case"option":C(void 0,void 0,t.optionText,t.signalType);break;case"criticalEnd":C(void 0,void 0,void 0,t.signalType);break;case"breakStart":C(void 0,void 0,t.breakText,t.signalType);break;case"breakEnd":C(void 0,void 0,void 0,t.signalType);break}},Gt={addActor:Vt,addMessage:De,addSignal:C,addLinks:$t,addDetails:se,addProperties:te,autoWrap:ft,setWrap:Ke,enableSequenceNumbers:ze,disableSequenceNumbers:He,showSequenceNumbers:Ue,getMessages:Oe,getActors:Ye,getCreatedActors:Fe,getDestroyedActors:We,getActor:mt,getActorKeys:qe,getActorProperty:t0,getAccTitle:Te,getBoxes:Be,getDiagramTitle:ye,setDiagramTitle:Ee,getConfig:()=>lt().sequence,clear:Ge,parseMessage:Xe,parseBoxData:Je,LINETYPE:bt,ARROWTYPE:Ze,PLACEMENT:Qe,addNote:jt,setAccTitle:Jt,apply:re,setAccDescription:be,getAccDescription:me,hasAtLeastOneBox:Ce,hasAtLeastOneBoxWithTitle:Ve},e0=t=>`.actor { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + } + + text.actor > tspan { + fill: ${t.actorTextColor}; + stroke: none; + } + + .actor-line { + stroke: ${t.actorLineColor}; + } + + .messageLine0 { + stroke-width: 1.5; + stroke-dasharray: none; + stroke: ${t.signalColor}; + } + + .messageLine1 { + stroke-width: 1.5; + stroke-dasharray: 2, 2; + stroke: ${t.signalColor}; + } + + #arrowhead path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; + } + + .sequenceNumber { + fill: ${t.sequenceNumberColor}; + } + + #sequencenumber { + fill: ${t.signalColor}; + } + + #crosshead path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; + } + + .messageText { + fill: ${t.signalTextColor}; + stroke: none; + } + + .labelBox { + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBkgColor}; + } + + .labelText, .labelText > tspan { + fill: ${t.labelTextColor}; + stroke: none; + } + + .loopText, .loopText > tspan { + fill: ${t.loopTextColor}; + stroke: none; + } + + .loopLine { + stroke-width: 2px; + stroke-dasharray: 2, 2; + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBorderColor}; + } + + .note { + //stroke: #decc93; + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + } + + .noteText, .noteText > tspan { + fill: ${t.noteTextColor}; + stroke: none; + } + + .activation0 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .activation1 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .activation2 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .actorPopupMenu { + position: absolute; + } + + .actorPopupMenuPanel { + position: absolute; + fill: ${t.actorBkg}; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4)); +} + .actor-man line { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + } + .actor-man circle, line { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + stroke-width: 2px; + } +`,s0=e0,ut=18*2,ie="actor-top",ae="actor-bottom",Wt=function(t,e){return Pe(t,e)},r0=function(t,e,o,s,r){if(e.links===void 0||e.links===null||Object.keys(e.links).length===0)return{height:0,width:0};const a=e.links,l=e.actorCnt,h=e.rectData;var p="none";r&&(p="block !important");const i=t.append("g");i.attr("id","actor"+l+"_popup"),i.attr("class","actorPopupMenu"),i.attr("display",p);var g="";h.class!==void 0&&(g=" "+h.class);let E=h.width>o?h.width:o;const u=i.append("rect");if(u.attr("class","actorPopupMenuPanel"+g),u.attr("x",h.x),u.attr("y",h.height),u.attr("fill",h.fill),u.attr("stroke",h.stroke),u.attr("width",E),u.attr("height",h.height),u.attr("rx",h.rx),u.attr("ry",h.ry),a!=null){var x=20;for(let A in a){var m=i.append("a"),P=Zt.sanitizeUrl(a[A]);m.attr("xlink:href",P),m.attr("target","_blank"),b0(s)(A,m,h.x+10,h.height+x,E,20,{class:"actor"},s),x+=30}}return u.attr("height",x),{height:h.height+x,width:E}},i0=function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},yt=function(t,e){let o=0,s=0;const r=e.text.split(v.lineBreakRegex),[a,l]=Qt(e.fontSize);let h=[],p=0,i=()=>e.y;if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0)switch(e.valign){case"top":case"start":i=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":i=()=>Math.round(e.y+(o+s+e.textMargin)/2);break;case"bottom":case"end":i=()=>Math.round(e.y+(o+s+2*e.textMargin)-e.textMargin);break}if(e.anchor!==void 0&&e.textMargin!==void 0&&e.width!==void 0)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle";break}for(let[g,E]of r.entries()){e.textMargin!==void 0&&e.textMargin===0&&a!==void 0&&(p=g*a);const u=t.append("text");u.attr("x",e.x),u.attr("y",i()),e.anchor!==void 0&&u.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),e.fontFamily!==void 0&&u.style("font-family",e.fontFamily),l!==void 0&&u.style("font-size",l),e.fontWeight!==void 0&&u.style("font-weight",e.fontWeight),e.fill!==void 0&&u.attr("fill",e.fill),e.class!==void 0&&u.attr("class",e.class),e.dy!==void 0?u.attr("dy",e.dy):p!==0&&u.attr("dy",p);const x=E||ke;if(e.tspan){const m=u.append("tspan");m.attr("x",e.x),e.fill!==void 0&&m.attr("fill",e.fill),m.text(x)}else u.text(x);e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0&&(s+=(u._groups||u)[0][0].getBBox().height,o=s),h.push(u)}return h},ne=function(t,e){function o(r,a,l,h,p){return r+","+a+" "+(r+l)+","+a+" "+(r+l)+","+(a+h-p)+" "+(r+l-p*1.2)+","+(a+h)+" "+r+","+(a+h)}const s=t.append("polygon");return s.attr("points",o(e.x,e.y,e.width,e.height,7)),s.attr("class","labelBox"),e.y=e.y+e.height/2,yt(t,e),s};let rt=-1;const oe=(t,e,o,s)=>{t.select&&o.forEach(r=>{const a=e[r],l=t.select("#actor"+a.actorCnt);!s.mirrorActors&&a.stopy?l.attr("y2",a.stopy+a.height/2):s.mirrorActors&&l.attr("y2",a.stopy)})},a0=function(t,e,o,s){const r=s?e.stopy:e.starty,a=e.x+e.width/2,l=r+5,h=t.append("g").lower();var p=h;s||(rt++,Object.keys(e.links||{}).length&&!o.forceMenus&&p.attr("onclick",i0(`actor${rt}_popup`)).attr("cursor","pointer"),p.append("line").attr("id","actor"+rt).attr("x1",a).attr("y1",l).attr("x2",a).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),p=h.append("g"),e.actorCnt=rt,e.links!=null&&p.attr("id","root-"+rt));const i=Lt();var g="actor";e.properties!=null&&e.properties.class?g=e.properties.class:i.fill="#eaeaea",s?g+=` ${ae}`:g+=` ${ie}`,i.x=e.x,i.y=r,i.width=e.width,i.height=e.height,i.class=g,i.rx=3,i.ry=3;const E=Wt(p,i);if(e.rectData=i,e.properties!=null&&e.properties.icon){const x=e.properties.icon.trim();x.charAt(0)==="@"?Ie(p,i.x+i.width-20,i.y+10,x.substr(1)):Ae(p,i.x+i.width-20,i.y+10,x)}qt(o)(e.description,p,i.x,i.y,i.width,i.height,{class:"actor"},o);let u=e.height;if(E.node){const x=E.node().getBBox();e.height=x.height,u=x.height}return u},n0=function(t,e,o,s){const r=s?e.stopy:e.starty,a=e.x+e.width/2,l=r+80;t.lower(),s||(rt++,t.append("line").attr("id","actor"+rt).attr("x1",a).attr("y1",l).attr("x2",a).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),e.actorCnt=rt);const h=t.append("g");let p="actor-man";s?p+=` ${ae}`:p+=` ${ie}`,h.attr("class",p);const i=Lt();i.x=e.x,i.y=r,i.fill="#eaeaea",i.width=e.width,i.height=e.height,i.class="actor",i.rx=3,i.ry=3,h.append("line").attr("id","actor-man-torso"+rt).attr("x1",a).attr("y1",r+25).attr("x2",a).attr("y2",r+45),h.append("line").attr("id","actor-man-arms"+rt).attr("x1",a-ut/2).attr("y1",r+33).attr("x2",a+ut/2).attr("y2",r+33),h.append("line").attr("x1",a-ut/2).attr("y1",r+60).attr("x2",a).attr("y2",r+45),h.append("line").attr("x1",a).attr("y1",r+45).attr("x2",a+ut/2-2).attr("y2",r+60);const g=h.append("circle");g.attr("cx",e.x+e.width/2),g.attr("cy",r+10),g.attr("r",15),g.attr("width",e.width),g.attr("height",e.height);const E=h.node().getBBox();return e.height=E.height,qt(o)(e.description,h,i.x,i.y+35,i.width,i.height,{class:"actor"},o),e.height},o0=function(t,e,o,s){switch(e.type){case"actor":return n0(t,e,o,s);case"participant":return a0(t,e,o,s)}},c0=function(t,e,o){const r=t.append("g");ce(r,e),e.name&&qt(o)(e.name,r,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},o),r.lower()},l0=function(t){return t.append("g")},h0=function(t,e,o,s,r){const a=Lt(),l=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+r%3,a.width=e.stopx-e.startx,a.height=o-e.starty,Wt(l,a)},d0=function(t,e,o,s){const{boxMargin:r,boxTextMargin:a,labelBoxHeight:l,labelBoxWidth:h,messageFontFamily:p,messageFontSize:i,messageFontWeight:g}=s,E=t.append("g"),u=function(P,A,D,S){return E.append("line").attr("x1",P).attr("y1",A).attr("x2",D).attr("y2",S).attr("class","loopLine")};u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),e.sections!==void 0&&e.sections.forEach(function(P){u(e.startx,P.y,e.stopx,P.y).style("stroke-dasharray","3, 3")});let x=Yt();x.text=o,x.x=e.startx,x.y=e.starty,x.fontFamily=p,x.fontSize=i,x.fontWeight=g,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=h||50,x.height=l||20,x.textMargin=a,x.class="labelText",ne(E,x),x=le(),x.text=e.title,x.x=e.startx+h/2+(e.stopx-e.startx)/2,x.y=e.starty+r+a,x.anchor="middle",x.valign="middle",x.textMargin=a,x.class="loopText",x.fontFamily=p,x.fontSize=i,x.fontWeight=g,x.wrap=!0;let m=yt(E,x);return e.sectionTitles!==void 0&&e.sectionTitles.forEach(function(P,A){if(P.message){x.text=P.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[A].y+r+a,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=p,x.fontSize=i,x.fontWeight=g,x.wrap=e.wrap,m=yt(E,x);let D=Math.round(m.map(S=>(S._groups||S)[0][0].getBBox().height).reduce((S,W)=>S+W));e.sections[A].height+=D-(r+a)}}),e.height=Math.round(e.stopy-e.starty),E},ce=function(t,e){Le(t,e)},p0=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},u0=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},f0=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},g0=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},x0=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},T0=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},y0=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},le=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},E0=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},qt=function(){function t(r,a,l,h,p,i,g){const E=a.append("text").attr("x",l+p/2).attr("y",h+i/2+5).style("text-anchor","middle").text(r);s(E,g)}function e(r,a,l,h,p,i,g,E){const{actorFontSize:u,actorFontFamily:x,actorFontWeight:m}=E,[P,A]=Qt(u),D=r.split(v.lineBreakRegex);for(let S=0;S<D.length;S++){const W=S*P-P*(D.length-1)/2,M=a.append("text").attr("x",l+p/2).attr("y",h).style("text-anchor","middle").style("font-size",A).style("font-weight",m).style("font-family",x);M.append("tspan").attr("x",l+p/2).attr("dy",W).text(D[S]),M.attr("y",h+i/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),s(M,g)}}function o(r,a,l,h,p,i,g,E){const u=a.append("switch"),m=u.append("foreignObject").attr("x",l).attr("y",h).attr("width",p).attr("height",i).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");m.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),e(r,u,l,h,p,i,g,E),s(m,g)}function s(r,a){for(const l in a)a.hasOwnProperty(l)&&r.attr(l,a[l])}return function(r){return r.textPlacement==="fo"?o:r.textPlacement==="old"?t:e}}(),b0=function(){function t(r,a,l,h,p,i,g){const E=a.append("text").attr("x",l).attr("y",h).style("text-anchor","start").text(r);s(E,g)}function e(r,a,l,h,p,i,g,E){const{actorFontSize:u,actorFontFamily:x,actorFontWeight:m}=E,P=r.split(v.lineBreakRegex);for(let A=0;A<P.length;A++){const D=A*u-u*(P.length-1)/2,S=a.append("text").attr("x",l).attr("y",h).style("text-anchor","start").style("font-size",u).style("font-weight",m).style("font-family",x);S.append("tspan").attr("x",l).attr("dy",D).text(P[A]),S.attr("y",h+i/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),s(S,g)}}function o(r,a,l,h,p,i,g,E){const u=a.append("switch"),m=u.append("foreignObject").attr("x",l).attr("y",h).attr("width",p).attr("height",i).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");m.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),e(r,u,l,h,p,i,g,E),s(m,g)}function s(r,a){for(const l in a)a.hasOwnProperty(l)&&r.attr(l,a[l])}return function(r){return r.textPlacement==="fo"?o:r.textPlacement==="old"?t:e}}(),V={drawRect:Wt,drawText:yt,drawLabel:ne,drawActor:o0,drawBox:c0,drawPopup:r0,anchorElement:l0,drawActivation:h0,drawLoop:d0,drawBackgroundRect:ce,insertArrowHead:g0,insertArrowFilledHead:x0,insertSequenceNumber:T0,insertArrowCrossHead:y0,insertDatabaseIcon:p0,insertComputerIcon:u0,insertClockIcon:f0,getTextObj:le,getNoteRect:E0,fixLifeLineHeights:oe,sanitizeUrl:Zt.sanitizeUrl};let n={};const f={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(t=>t.height||0))+(this.loops.length===0?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.messages.length===0?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.notes.length===0?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,de(lt())},updateVal:function(t,e,o,s){t[e]===void 0?t[e]=o:t[e]=s(o,t[e])},updateBounds:function(t,e,o,s){const r=this;let a=0;function l(h){return function(i){a++;const g=r.sequenceItems.length-a+1;r.updateVal(i,"starty",e-g*n.boxMargin,Math.min),r.updateVal(i,"stopy",s+g*n.boxMargin,Math.max),r.updateVal(f.data,"startx",t-g*n.boxMargin,Math.min),r.updateVal(f.data,"stopx",o+g*n.boxMargin,Math.max),h!=="activation"&&(r.updateVal(i,"startx",t-g*n.boxMargin,Math.min),r.updateVal(i,"stopx",o+g*n.boxMargin,Math.max),r.updateVal(f.data,"starty",e-g*n.boxMargin,Math.min),r.updateVal(f.data,"stopy",s+g*n.boxMargin,Math.max))}}this.sequenceItems.forEach(l()),this.activations.forEach(l("activation"))},insert:function(t,e,o,s){const r=v.getMin(t,o),a=v.getMax(t,o),l=v.getMin(e,s),h=v.getMax(e,s);this.updateVal(f.data,"startx",r,Math.min),this.updateVal(f.data,"starty",l,Math.min),this.updateVal(f.data,"stopx",a,Math.max),this.updateVal(f.data,"stopy",h,Math.max),this.updateBounds(r,l,a,h)},newActivation:function(t,e,o){const s=o[t.from.actor],r=It(t.from.actor).length||0,a=s.x+s.width/2+(r-1)*n.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+n.activationWidth,stopy:void 0,actor:t.from.actor,anchored:V.anchorElement(e)})},endActivation:function(t){const e=this.activations.map(function(o){return o.actor}).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return this.sequenceItems.length?this.sequenceItems[this.sequenceItems.length-1].overlap:!1},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:f.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=v.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},m0=function(t,e){f.bumpVerticalPos(n.boxMargin),e.height=n.boxMargin,e.starty=f.getVerticalPos();const o=Lt();o.x=e.startx,o.y=e.starty,o.width=e.width||n.width,o.class="note";const s=t.append("g"),r=V.drawRect(s,o),a=Yt();a.x=e.startx,a.y=e.starty,a.width=o.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=n.noteFontFamily,a.fontSize=n.noteFontSize,a.fontWeight=n.noteFontWeight,a.anchor=n.noteAlign,a.textMargin=n.noteMargin,a.valign="center";const l=yt(s,a),h=Math.round(l.map(p=>(p._groups||p)[0][0].getBBox().height).reduce((p,i)=>p+i));r.attr("height",h+2*n.noteMargin),e.height+=h+2*n.noteMargin,f.bumpVerticalPos(h+2*n.noteMargin),e.stopy=e.starty+h+2*n.noteMargin,e.stopx=e.startx+o.width,f.insert(e.startx,e.starty,e.stopx,e.stopy),f.models.addNote(e)},gt=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),Tt=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),Ot=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});function w0(t,e){f.bumpVerticalPos(10);const{startx:o,stopx:s,message:r}=e,a=v.splitBreaks(r).length,l=B.calculateTextDimensions(r,gt(n)),h=l.height/a;e.height+=h,f.bumpVerticalPos(h);let p,i=l.height-10;const g=l.width;if(o===s){p=f.getVerticalPos()+i,n.rightAngles||(i+=n.boxMargin,p=f.getVerticalPos()+i),i+=30;const E=v.getMax(g/2,n.width/2);f.insert(o-E,f.getVerticalPos()-10+i,s+E,f.getVerticalPos()+30+i)}else i+=n.boxMargin,p=f.getVerticalPos()+i,f.insert(o,p-10,s,p);return f.bumpVerticalPos(i),e.height+=i,e.stopy=e.starty+e.height,f.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),p}const v0=function(t,e,o,s){const{startx:r,stopx:a,starty:l,message:h,type:p,sequenceIndex:i,sequenceVisible:g}=e,E=B.calculateTextDimensions(h,gt(n)),u=Yt();u.x=r,u.y=l+10,u.width=a-r,u.class="messageText",u.dy="1em",u.text=h,u.fontFamily=n.messageFontFamily,u.fontSize=n.messageFontSize,u.fontWeight=n.messageFontWeight,u.anchor=n.messageAlign,u.valign="center",u.textMargin=n.wrapPadding,u.tspan=!1,yt(t,u);const x=E.width;let m;r===a?n.rightAngles?m=t.append("path").attr("d",`M ${r},${o} H ${r+v.getMax(n.width/2,x/2)} V ${o+25} H ${r}`):m=t.append("path").attr("d","M "+r+","+o+" C "+(r+60)+","+(o-10)+" "+(r+60)+","+(o+30)+" "+r+","+(o+20)):(m=t.append("line"),m.attr("x1",r),m.attr("y1",o),m.attr("x2",a),m.attr("y2",o)),p===s.db.LINETYPE.DOTTED||p===s.db.LINETYPE.DOTTED_CROSS||p===s.db.LINETYPE.DOTTED_POINT||p===s.db.LINETYPE.DOTTED_OPEN?(m.style("stroke-dasharray","3, 3"),m.attr("class","messageLine1")):m.attr("class","messageLine0");let P="";n.arrowMarkerAbsolute&&(P=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,P=P.replace(/\(/g,"\\("),P=P.replace(/\)/g,"\\)")),m.attr("stroke-width",2),m.attr("stroke","none"),m.style("fill","none"),(p===s.db.LINETYPE.SOLID||p===s.db.LINETYPE.DOTTED)&&m.attr("marker-end","url("+P+"#arrowhead)"),(p===s.db.LINETYPE.SOLID_POINT||p===s.db.LINETYPE.DOTTED_POINT)&&m.attr("marker-end","url("+P+"#filled-head)"),(p===s.db.LINETYPE.SOLID_CROSS||p===s.db.LINETYPE.DOTTED_CROSS)&&m.attr("marker-end","url("+P+"#crosshead)"),(g||n.showSequenceNumbers)&&(m.attr("marker-start","url("+P+"#sequencenumber)"),t.append("text").attr("x",r).attr("y",o+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(i))},_0=function(t,e,o,s,r,a,l){let h=0,p=0,i,g=0;for(const E of s){const u=e[E],x=u.box;i&&i!=x&&(l||f.models.addBox(i),p+=n.boxMargin+i.margin),x&&x!=i&&(l||(x.x=h+p,x.y=r),p+=x.margin),u.width=u.width||n.width,u.height=v.getMax(u.height||n.height,n.height),u.margin=u.margin||n.actorMargin,g=v.getMax(g,u.height),o[u.name]&&(p+=u.width/2),u.x=h+p,u.starty=f.getVerticalPos(),f.insert(u.x,r,u.x+u.width,u.height),h+=u.width+p,u.box&&(u.box.width=h+x.margin-u.box.x),p=u.margin,i=u.box,f.models.addActor(u)}i&&!l&&f.models.addBox(i),f.bumpVerticalPos(g)},Bt=function(t,e,o,s){if(s){let r=0;f.bumpVerticalPos(n.boxMargin*2);for(const a of o){const l=e[a];l.stopy||(l.stopy=f.getVerticalPos());const h=V.drawActor(t,l,n,!0);r=v.getMax(r,h)}f.bumpVerticalPos(r+n.boxMargin)}else for(const r of o){const a=e[r];V.drawActor(t,a,n,!1)}},he=function(t,e,o,s){let r=0,a=0;for(const l of o){const h=e[l],p=I0(h),i=V.drawPopup(t,h,p,n,n.forceMenus,s);i.height>r&&(r=i.height),i.width+h.x>a&&(a=i.width+h.x)}return{maxHeight:r,maxWidth:a}},de=function(t){ve(n,t),t.fontFamily&&(n.actorFontFamily=n.noteFontFamily=n.messageFontFamily=t.fontFamily),t.fontSize&&(n.actorFontSize=n.noteFontSize=n.messageFontSize=t.fontSize),t.fontWeight&&(n.actorFontWeight=n.noteFontWeight=n.messageFontWeight=t.fontWeight)},It=function(t){return f.activations.filter(function(e){return e.actor===t})},Xt=function(t,e){const o=e[t],s=It(t),r=s.reduce(function(l,h){return v.getMin(l,h.startx)},o.x+o.width/2-1),a=s.reduce(function(l,h){return v.getMax(l,h.stopx)},o.x+o.width/2+1);return[r,a]};function st(t,e,o,s,r){f.bumpVerticalPos(o);let a=s;if(e.id&&e.message&&t[e.id]){const l=t[e.id].width,h=gt(n);e.message=B.wrapLabel(`[${e.message}]`,l-2*n.wrapPadding,h),e.width=l,e.wrap=!0;const p=B.calculateTextDimensions(e.message,h),i=v.getMax(p.height,n.labelBoxHeight);a=s+i,K.debug(`${i} - ${e.message}`)}r(e),f.bumpVerticalPos(a)}function k0(t,e,o,s,r,a,l){function h(i,g){i.x<r[t.from].x?(f.insert(e.stopx-g,e.starty,e.startx,e.stopy+i.height/2+n.noteMargin),e.stopx=e.stopx+g):(f.insert(e.startx,e.starty,e.stopx+g,e.stopy+i.height/2+n.noteMargin),e.stopx=e.stopx-g)}function p(i,g){i.x<r[t.to].x?(f.insert(e.startx-g,e.starty,e.stopx,e.stopy+i.height/2+n.noteMargin),e.startx=e.startx+g):(f.insert(e.stopx,e.starty,e.startx+g,e.stopy+i.height/2+n.noteMargin),e.startx=e.startx-g)}if(a[t.to]==s){const i=r[t.to],g=i.type=="actor"?ut/2+3:i.width/2+3;h(i,g),i.starty=o-i.height/2,f.bumpVerticalPos(i.height/2)}else if(l[t.from]==s){const i=r[t.from];if(n.mirrorActors){const g=i.type=="actor"?ut/2:i.width/2;p(i,g)}i.stopy=o-i.height/2,f.bumpVerticalPos(i.height/2)}else if(l[t.to]==s){const i=r[t.to];if(n.mirrorActors){const g=i.type=="actor"?ut/2+3:i.width/2+3;h(i,g)}i.stopy=o-i.height/2,f.bumpVerticalPos(i.height/2)}}const P0=function(t,e,o,s){const{securityLevel:r,sequence:a}=lt();n=a;let l;r==="sandbox"&&(l=kt("#i"+e));const h=r==="sandbox"?kt(l.nodes()[0].contentDocument.body):kt("body"),p=r==="sandbox"?l.nodes()[0].contentDocument:document;f.init(),K.debug(s.db);const i=r==="sandbox"?h.select(`[id="${e}"]`):kt(`[id="${e}"]`),g=s.db.getActors(),E=s.db.getCreatedActors(),u=s.db.getDestroyedActors(),x=s.db.getBoxes();let m=s.db.getActorKeys();const P=s.db.getMessages(),A=s.db.getDiagramTitle(),D=s.db.hasAtLeastOneBox(),S=s.db.hasAtLeastOneBoxWithTitle(),W=L0(g,P,s);if(n.height=A0(g,W,x),V.insertComputerIcon(i),V.insertDatabaseIcon(i),V.insertClockIcon(i),D&&(f.bumpVerticalPos(n.boxMargin),S&&f.bumpVerticalPos(x[0].textMaxHeight)),n.hideUnusedParticipants===!0){const y=new Set;P.forEach(_=>{y.add(_.from),y.add(_.to)}),m=m.filter(_=>y.has(_))}_0(i,g,E,m,0,P,!1);const M=M0(P,g,W,s);V.insertArrowHead(i),V.insertArrowCrossHead(i),V.insertArrowFilledHead(i),V.insertSequenceNumber(i);function tt(y,_){const I=f.endActivation(y);I.starty+18>_&&(I.starty=_-6,_+=12),V.drawActivation(i,I,_,n,It(y.from.actor).length),f.insert(I.startx,_-10,I.stopx,_)}let q=1,G=1;const Z=[],z=[];P.forEach(function(y,_){let I,ht,et;switch(y.type){case s.db.LINETYPE.NOTE:f.resetVerticalPos(),ht=y.noteModel,m0(i,ht);break;case s.db.LINETYPE.ACTIVE_START:f.newActivation(y,i,g);break;case s.db.LINETYPE.ACTIVE_END:tt(y,f.getVerticalPos());break;case s.db.LINETYPE.LOOP_START:st(M,y,n.boxMargin,n.boxMargin+n.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.LOOP_END:I=f.endLoop(),V.drawLoop(i,I,"loop",n),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.RECT_START:st(M,y,n.boxMargin,n.boxMargin,N=>f.newLoop(void 0,N.message));break;case s.db.LINETYPE.RECT_END:I=f.endLoop(),z.push(I),f.models.addLoop(I),f.bumpVerticalPos(I.stopy-f.getVerticalPos());break;case s.db.LINETYPE.OPT_START:st(M,y,n.boxMargin,n.boxMargin+n.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.OPT_END:I=f.endLoop(),V.drawLoop(i,I,"opt",n),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.ALT_START:st(M,y,n.boxMargin,n.boxMargin+n.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.ALT_ELSE:st(M,y,n.boxMargin+n.boxTextMargin,n.boxMargin,N=>f.addSectionToLoop(N));break;case s.db.LINETYPE.ALT_END:I=f.endLoop(),V.drawLoop(i,I,"alt",n),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.PAR_START:case s.db.LINETYPE.PAR_OVER_START:st(M,y,n.boxMargin,n.boxMargin+n.boxTextMargin,N=>f.newLoop(N)),f.saveVerticalPos();break;case s.db.LINETYPE.PAR_AND:st(M,y,n.boxMargin+n.boxTextMargin,n.boxMargin,N=>f.addSectionToLoop(N));break;case s.db.LINETYPE.PAR_END:I=f.endLoop(),V.drawLoop(i,I,"par",n),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.AUTONUMBER:q=y.message.start||q,G=y.message.step||G,y.message.visible?s.db.enableSequenceNumbers():s.db.disableSequenceNumbers();break;case s.db.LINETYPE.CRITICAL_START:st(M,y,n.boxMargin,n.boxMargin+n.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.CRITICAL_OPTION:st(M,y,n.boxMargin+n.boxTextMargin,n.boxMargin,N=>f.addSectionToLoop(N));break;case s.db.LINETYPE.CRITICAL_END:I=f.endLoop(),V.drawLoop(i,I,"critical",n),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.BREAK_START:st(M,y,n.boxMargin,n.boxMargin+n.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.BREAK_END:I=f.endLoop(),V.drawLoop(i,I,"break",n),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;default:try{et=y.msgModel,et.starty=f.getVerticalPos(),et.sequenceIndex=q,et.sequenceVisible=s.db.showSequenceNumbers();const N=w0(i,et);k0(y,et,N,_,g,E,u),Z.push({messageModel:et,lineStartY:N}),f.models.addMessage(et)}catch(N){K.error("error while drawing message",N)}}[s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.SOLID,s.db.LINETYPE.DOTTED,s.db.LINETYPE.SOLID_CROSS,s.db.LINETYPE.DOTTED_CROSS,s.db.LINETYPE.SOLID_POINT,s.db.LINETYPE.DOTTED_POINT].includes(y.type)&&(q=q+G)}),K.debug("createdActors",E),K.debug("destroyedActors",u),Bt(i,g,m,!1),Z.forEach(y=>v0(i,y.messageModel,y.lineStartY,s)),n.mirrorActors&&Bt(i,g,m,!0),z.forEach(y=>V.drawBackgroundRect(i,y)),oe(i,g,m,n),f.models.boxes.forEach(function(y){y.height=f.getVerticalPos()-y.y,f.insert(y.x,y.y,y.x+y.width,y.height),y.startx=y.x,y.starty=y.y,y.stopx=y.startx+y.width,y.stopy=y.starty+y.height,y.stroke="rgb(0,0,0, 0.5)",V.drawBox(i,y,n)}),D&&f.bumpVerticalPos(n.boxMargin);const F=he(i,g,m,p),{bounds:O}=f.getBounds();let X=O.stopy-O.starty;X<F.maxHeight&&(X=F.maxHeight);let H=X+2*n.diagramMarginY;n.mirrorActors&&(H=H-n.boxMargin+n.bottomMarginAdj);let J=O.stopx-O.startx;J<F.maxWidth&&(J=F.maxWidth);const Q=J+2*n.diagramMarginX;A&&i.append("text").text(A).attr("x",(O.stopx-O.startx)/2-2*n.diagramMarginX).attr("y",-25),_e(i,H,Q,n.useMaxWidth);const j=A?40:0;i.attr("viewBox",O.startx-n.diagramMarginX+" -"+(n.diagramMarginY+j)+" "+Q+" "+(H+j)),K.debug("models:",f.models)};function L0(t,e,o){const s={};return e.forEach(function(r){if(t[r.to]&&t[r.from]){const a=t[r.to];if(r.placement===o.db.PLACEMENT.LEFTOF&&!a.prevActor||r.placement===o.db.PLACEMENT.RIGHTOF&&!a.nextActor)return;const l=r.placement!==void 0,h=!l,p=l?Tt(n):gt(n),i=r.wrap?B.wrapLabel(r.message,n.width-2*n.wrapPadding,p):r.message,E=B.calculateTextDimensions(i,p).width+2*n.wrapPadding;h&&r.from===a.nextActor?s[r.to]=v.getMax(s[r.to]||0,E):h&&r.from===a.prevActor?s[r.from]=v.getMax(s[r.from]||0,E):h&&r.from===r.to?(s[r.from]=v.getMax(s[r.from]||0,E/2),s[r.to]=v.getMax(s[r.to]||0,E/2)):r.placement===o.db.PLACEMENT.RIGHTOF?s[r.from]=v.getMax(s[r.from]||0,E):r.placement===o.db.PLACEMENT.LEFTOF?s[a.prevActor]=v.getMax(s[a.prevActor]||0,E):r.placement===o.db.PLACEMENT.OVER&&(a.prevActor&&(s[a.prevActor]=v.getMax(s[a.prevActor]||0,E/2)),a.nextActor&&(s[r.from]=v.getMax(s[r.from]||0,E/2)))}}),K.debug("maxMessageWidthPerActor:",s),s}const I0=function(t){let e=0;const o=Ot(n);for(const s in t.links){const a=B.calculateTextDimensions(s,o).width+2*n.wrapPadding+2*n.boxMargin;e<a&&(e=a)}return e};function A0(t,e,o){let s=0;Object.keys(t).forEach(a=>{const l=t[a];l.wrap&&(l.description=B.wrapLabel(l.description,n.width-2*n.wrapPadding,Ot(n)));const h=B.calculateTextDimensions(l.description,Ot(n));l.width=l.wrap?n.width:v.getMax(n.width,h.width+2*n.wrapPadding),l.height=l.wrap?v.getMax(h.height,n.height):n.height,s=v.getMax(s,l.height)});for(const a in e){const l=t[a];if(!l)continue;const h=t[l.nextActor];if(!h){const E=e[a]+n.actorMargin-l.width/2;l.margin=v.getMax(E,n.actorMargin);continue}const i=e[a]+n.actorMargin-l.width/2-h.width/2;l.margin=v.getMax(i,n.actorMargin)}let r=0;return o.forEach(a=>{const l=gt(n);let h=a.actorKeys.reduce((g,E)=>g+=t[E].width+(t[E].margin||0),0);h-=2*n.boxTextMargin,a.wrap&&(a.name=B.wrapLabel(a.name,h-2*n.wrapPadding,l));const p=B.calculateTextDimensions(a.name,l);r=v.getMax(p.height,r);const i=v.getMax(h,p.width+2*n.wrapPadding);if(a.margin=n.boxTextMargin,h<i){const g=(i-h)/2;a.margin+=g}}),o.forEach(a=>a.textMaxHeight=r),v.getMax(s,n.height)}const N0=function(t,e,o){const s=e[t.from].x,r=e[t.to].x,a=t.wrap&&t.message;let l=B.calculateTextDimensions(a?B.wrapLabel(t.message,n.width,Tt(n)):t.message,Tt(n));const h={width:a?n.width:v.getMax(n.width,l.width+2*n.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===o.db.PLACEMENT.RIGHTOF?(h.width=a?v.getMax(n.width,l.width):v.getMax(e[t.from].width/2+e[t.to].width/2,l.width+2*n.noteMargin),h.startx=s+(e[t.from].width+n.actorMargin)/2):t.placement===o.db.PLACEMENT.LEFTOF?(h.width=a?v.getMax(n.width,l.width+2*n.noteMargin):v.getMax(e[t.from].width/2+e[t.to].width/2,l.width+2*n.noteMargin),h.startx=s-h.width+(e[t.from].width-n.actorMargin)/2):t.to===t.from?(l=B.calculateTextDimensions(a?B.wrapLabel(t.message,v.getMax(n.width,e[t.from].width),Tt(n)):t.message,Tt(n)),h.width=a?v.getMax(n.width,e[t.from].width):v.getMax(e[t.from].width,n.width,l.width+2*n.noteMargin),h.startx=s+(e[t.from].width-h.width)/2):(h.width=Math.abs(s+e[t.from].width/2-(r+e[t.to].width/2))+n.actorMargin,h.startx=s<r?s+e[t.from].width/2-n.actorMargin/2:r+e[t.to].width/2-n.actorMargin/2),a&&(h.message=B.wrapLabel(t.message,h.width-2*n.wrapPadding,Tt(n))),K.debug(`NM:[${h.startx},${h.stopx},${h.starty},${h.stopy}:${h.width},${h.height}=${t.message}]`),h},S0=function(t,e,o){if(![o.db.LINETYPE.SOLID_OPEN,o.db.LINETYPE.DOTTED_OPEN,o.db.LINETYPE.SOLID,o.db.LINETYPE.DOTTED,o.db.LINETYPE.SOLID_CROSS,o.db.LINETYPE.DOTTED_CROSS,o.db.LINETYPE.SOLID_POINT,o.db.LINETYPE.DOTTED_POINT].includes(t.type))return{};const[s,r]=Xt(t.from,e),[a,l]=Xt(t.to,e),h=s<=a,p=h?r:s;let i=h?a:l;const g=Math.abs(a-l)>2,E=P=>h?-P:P;t.from===t.to?i=p:(t.activate&&!g&&(i+=E(n.activationWidth/2-1)),[o.db.LINETYPE.SOLID_OPEN,o.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(i+=E(3)));const u=[s,r,a,l],x=Math.abs(p-i);t.wrap&&t.message&&(t.message=B.wrapLabel(t.message,v.getMax(x+2*n.wrapPadding,n.width),gt(n)));const m=B.calculateTextDimensions(t.message,gt(n));return{width:v.getMax(t.wrap?0:m.width+2*n.wrapPadding,x+2*n.wrapPadding,n.width),height:0,startx:p,stopx:i,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}},M0=function(t,e,o,s){const r={},a=[];let l,h,p;return t.forEach(function(i){switch(i.id=B.random({length:10}),i.type){case s.db.LINETYPE.LOOP_START:case s.db.LINETYPE.ALT_START:case s.db.LINETYPE.OPT_START:case s.db.LINETYPE.PAR_START:case s.db.LINETYPE.PAR_OVER_START:case s.db.LINETYPE.CRITICAL_START:case s.db.LINETYPE.BREAK_START:a.push({id:i.id,msg:i.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case s.db.LINETYPE.ALT_ELSE:case s.db.LINETYPE.PAR_AND:case s.db.LINETYPE.CRITICAL_OPTION:i.message&&(l=a.pop(),r[l.id]=l,r[i.id]=l,a.push(l));break;case s.db.LINETYPE.LOOP_END:case s.db.LINETYPE.ALT_END:case s.db.LINETYPE.OPT_END:case s.db.LINETYPE.PAR_END:case s.db.LINETYPE.CRITICAL_END:case s.db.LINETYPE.BREAK_END:l=a.pop(),r[l.id]=l;break;case s.db.LINETYPE.ACTIVE_START:{const E=e[i.from?i.from.actor:i.to.actor],u=It(i.from?i.from.actor:i.to.actor).length,x=E.x+E.width/2+(u-1)*n.activationWidth/2,m={startx:x,stopx:x+n.activationWidth,actor:i.from.actor,enabled:!0};f.activations.push(m)}break;case s.db.LINETYPE.ACTIVE_END:{const E=f.activations.map(u=>u.actor).lastIndexOf(i.from.actor);delete f.activations.splice(E,1)[0]}break}i.placement!==void 0?(h=N0(i,e,s),i.noteModel=h,a.forEach(E=>{l=E,l.from=v.getMin(l.from,h.startx),l.to=v.getMax(l.to,h.startx+h.width),l.width=v.getMax(l.width,Math.abs(l.from-l.to))-n.labelBoxWidth})):(p=S0(i,e,s),i.msgModel=p,p.startx&&p.stopx&&a.length>0&&a.forEach(E=>{if(l=E,p.startx===p.stopx){const u=e[i.from],x=e[i.to];l.from=v.getMin(u.x-p.width/2,u.x-u.width/2,l.from),l.to=v.getMax(x.x+p.width/2,x.x+u.width/2,l.to),l.width=v.getMax(l.width,Math.abs(l.to-l.from))-n.labelBoxWidth}else l.from=v.getMin(p.startx,l.from),l.to=v.getMax(p.stopx,l.to),l.width=v.getMax(l.width,p.width)-n.labelBoxWidth}))}),f.activations=[],K.debug("Loop type widths:",r),r},R0={bounds:f,drawActors:Bt,drawActorsPopup:he,setConf:de,draw:P0},q0={parser:Ne,db:Gt,renderer:R0,styles:s0,init:({wrap:t})=>{Gt.setWrap(t)}};export{q0 as diagram}; diff --git a/assets/spring-hnK4kZop.js b/assets/spring-hnK4kZop.js new file mode 100644 index 00000000000..aff0a91e5e3 --- /dev/null +++ b/assets/spring-hnK4kZop.js @@ -0,0 +1 @@ +const s={type:"spring",damping:24},n={type:"spring",stiffness:300,damping:20},t={duration:.35,type:"spring",stiffness:120,damping:20};export{n as a,s as m,t as s}; diff --git a/assets/sql-KWFjTZGI.js b/assets/sql-KWFjTZGI.js new file mode 100644 index 00000000000..9cfb8013286 --- /dev/null +++ b/assets/sql-KWFjTZGI.js @@ -0,0 +1,21 @@ +const e=Object.freeze({displayName:"SQL",name:"sql",patterns:[{match:"((?<!@)@)\\b(\\w+)\\b",name:"text.variable"},{match:"(\\[)[^\\]]*(\\])",name:"text.bracketed"},{include:"#comments"},{captures:{1:{name:"keyword.other.create.sql"},2:{name:"keyword.other.sql"},5:{name:"entity.name.function.sql"}},match:"(?i:^\\s*(create(?:\\s+or\\s+replace)?)\\s+(aggregate|conversion|database|domain|function|group|(unique\\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)(['\"`]?)(\\w+)\\4",name:"meta.create.sql"},{captures:{1:{name:"keyword.other.create.sql"},2:{name:"keyword.other.sql"}},match:"(?i:^\\s*(drop)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))",name:"meta.drop.sql"},{captures:{1:{name:"keyword.other.create.sql"},2:{name:"keyword.other.table.sql"},3:{name:"entity.name.function.sql"},4:{name:"keyword.other.cascade.sql"}},match:"(?i:\\s*(drop)\\s+(table)\\s+(\\w+)(\\s+cascade)?\\b)",name:"meta.drop.sql"},{captures:{1:{name:"keyword.other.create.sql"},2:{name:"keyword.other.table.sql"}},match:"(?i:^\\s*(alter)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|proc(edure)?|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)",name:"meta.alter.sql"},{captures:{1:{name:"storage.type.sql"},2:{name:"storage.type.sql"},3:{name:"constant.numeric.sql"},4:{name:"storage.type.sql"},5:{name:"constant.numeric.sql"},6:{name:"storage.type.sql"},7:{name:"constant.numeric.sql"},8:{name:"constant.numeric.sql"},9:{name:"storage.type.sql"},10:{name:"constant.numeric.sql"},11:{name:"storage.type.sql"},12:{name:"storage.type.sql"},13:{name:"storage.type.sql"},14:{name:"constant.numeric.sql"},15:{name:"storage.type.sql"}},match:`(?xi) + + +\\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\b + + +|\\b(bit\\svarying|character\\s(?:varying)?|tinyint|var\\schar|float|interval)\\((\\d+)\\) + + +|\\b(char|number|varchar\\d?)\\b(?:\\((\\d+)\\))? + + +|\\b(numeric|decimal)\\b(?:\\((\\d+),(\\d+)\\))? + + +|\\b(times?)\\b(?:\\((\\d+)\\))?(\\swith(?:out)?\\stime\\szone\\b)? + + +|\\b(timestamp)(?:(s|tz))?\\b(?:\\((\\d+)\\))?(\\s(with|without)\\stime\\szone\\b)? + +`},{match:"(?i:\\b((?:primary|foreign)\\s+key|references|on\\sdelete(\\s+cascade)?|nocheck|check|constraint|collate|default)\\b)",name:"storage.modifier.sql"},{match:"\\b\\d+\\b",name:"constant.numeric.sql"},{match:"(?i:\\b(select(\\s+(all|distinct))?|insert\\s+(ignore\\s+)?into|update|delete|from|set|where|group\\s+by|or|like|and|union(\\s+all)?|having|order\\s+by|limit|cross\\s+join|join|straight_join|(inner|(left|right|full)(\\s+outer)?)\\s+join|natural(\\s+(inner|(left|right|full)(\\s+outer)?))?\\s+join)\\b)",name:"keyword.other.DML.sql"},{match:"(?i:\\b(on|off|((is\\s+)?not\\s+)?null)\\b)",name:"keyword.other.DDL.create.II.sql"},{match:"(?i:\\bvalues\\b)",name:"keyword.other.DML.II.sql"},{match:"(?i:\\b(begin(\\s+work)?|start\\s+transaction|commit(\\s+work)?|rollback(\\s+work)?)\\b)",name:"keyword.other.LUW.sql"},{match:"(?i:\\b(grant(\\swith\\sgrant\\soption)?|revoke)\\b)",name:"keyword.other.authorization.sql"},{match:"(?i:\\bin\\b)",name:"keyword.other.data-integrity.sql"},{match:"(?i:^\\s*(comment\\s+on\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\s+.*?\\s+(is)\\s+)",name:"keyword.other.object-comments.sql"},{match:"(?i)\\bAS\\b",name:"keyword.other.alias.sql"},{match:"(?i)\\b(DESC|ASC)\\b",name:"keyword.other.order.sql"},{match:"\\*",name:"keyword.operator.star.sql"},{match:"[!<>]?=|<>|<|>",name:"keyword.operator.comparison.sql"},{match:"-|\\+|/",name:"keyword.operator.math.sql"},{match:"\\|\\|",name:"keyword.operator.concatenator.sql"},{captures:{1:{name:"support.function.aggregate.sql"}},match:"(?i)\\b(approx_count_distinct|approx_percentile_cont|approx_percentile_disc|avg|checksum_agg|count|count_big|group|grouping|grouping_id|max|min|sum|stdev|stdevp|var|varp)\\b\\s*\\("},{captures:{1:{name:"support.function.analytic.sql"}},match:"(?i)\\b(cume_dist|first_value|lag|last_value|lead|percent_rank|percentile_cont|percentile_disc)\\b\\s*\\("},{captures:{1:{name:"support.function.bitmanipulation.sql"}},match:"(?i)\\b(bit_count|get_bit|left_shift|right_shift|set_bit)\\b\\s*\\("},{captures:{1:{name:"support.function.conversion.sql"}},match:"(?i)\\b(cast|convert|parse|try_cast|try_convert|try_parse)\\b\\s*\\("},{captures:{1:{name:"support.function.collation.sql"}},match:"(?i)\\b(collationproperty|tertiary_weights)\\b\\s*\\("},{captures:{1:{name:"support.function.cryptographic.sql"}},match:"(?i)\\b(asymkey_id|asymkeyproperty|certproperty|cert_id|crypt_gen_random|decryptbyasymkey|decryptbycert|decryptbykey|decryptbykeyautoasymkey|decryptbykeyautocert|decryptbypassphrase|encryptbyasymkey|encryptbycert|encryptbykey|encryptbypassphrase|hashbytes|is_objectsigned|key_guid|key_id|key_name|signbyasymkey|signbycert|symkeyproperty|verifysignedbycert|verifysignedbyasymkey)\\b\\s*\\("},{captures:{1:{name:"support.function.cursor.sql"}},match:"(?i)\\b(cursor_status)\\b\\s*\\("},{captures:{1:{name:"support.function.datetime.sql"}},match:"(?i)\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|datetrunc|eomonth|switchoffset|todatetimeoffset|isdate|date_bucket)\\b\\s*\\("},{captures:{1:{name:"support.function.datatype.sql"}},match:"(?i)\\b(datalength|ident_current|ident_incr|ident_seed|identity|sql_variant_property)\\b\\s*\\("},{captures:{1:{name:"support.function.expression.sql"}},match:"(?i)\\b(coalesce|nullif)\\b\\s*\\("},{captures:{1:{name:"support.function.globalvar.sql"}},match:"(?<!@)@@(?i)\\b(cursor_rows|connections|cpu_busy|datefirst|dbts|error|fetch_status|identity|idle|io_busy|langid|language|lock_timeout|max_connections|max_precision|nestlevel|options|packet_errors|pack_received|pack_sent|procid|remserver|rowcount|servername|servicename|spid|textsize|timeticks|total_errors|total_read|total_write|trancount|version)\\b\\s*\\("},{captures:{1:{name:"support.function.json.sql"}},match:"(?i)\\b(json|isjson|json_object|json_array|json_value|json_query|json_modify|json_path_exists)\\b\\s*\\("},{captures:{1:{name:"support.function.logical.sql"}},match:"(?i)\\b(choose|iif|greatest|least)\\b\\s*\\("},{captures:{1:{name:"support.function.mathematical.sql"}},match:"(?i)\\b(abs|acos|asin|atan|atn2|ceiling|cos|cot|degrees|exp|floor|log|log10|pi|power|radians|rand|round|sign|sin|sqrt|square|tan)\\b\\s*\\("},{captures:{1:{name:"support.function.metadata.sql"}},match:"(?i)\\b(app_name|applock_mode|applock_test|assemblyproperty|col_length|col_name|columnproperty|database_principal_id|databasepropertyex|db_id|db_name|file_id|file_idex|file_name|filegroup_id|filegroup_name|filegroupproperty|fileproperty|fulltextcatalogproperty|fulltextserviceproperty|index_col|indexkey_property|indexproperty|object_definition|object_id|object_name|object_schema_name|objectproperty|objectpropertyex|original_db_name|parsename|schema_id|schema_name|scope_identity|serverproperty|stats_date|type_id|type_name|typeproperty)\\b\\s*\\("},{captures:{1:{name:"support.function.ranking.sql"}},match:"(?i)\\b(rank|dense_rank|ntile|row_number)\\b\\s*\\("},{captures:{1:{name:"support.function.rowset.sql"}},match:"(?i)\\b(generate_series|opendatasource|openjson|openrowset|openquery|openxml|predict|string_split)\\b\\s*\\("},{captures:{1:{name:"support.function.security.sql"}},match:"(?i)\\b(certencoded|certprivatekey|current_user|database_principal_id|has_perms_by_name|is_member|is_rolemember|is_srvrolemember|original_login|permissions|pwdcompare|pwdencrypt|schema_id|schema_name|session_user|suser_id|suser_sid|suser_sname|system_user|suser_name|user_id|user_name)\\b\\s*\\("},{captures:{1:{name:"support.function.string.sql"}},match:"(?i)\\b(ascii|char|charindex|concat|difference|format|left|len|lower|ltrim|nchar|nodes|patindex|quotename|replace|replicate|reverse|right|rtrim|soundex|space|str|string_agg|string_escape|string_split|stuff|substring|translate|trim|unicode|upper)\\b\\s*\\("},{captures:{1:{name:"support.function.system.sql"}},match:"(?i)\\b(binary_checksum|checksum|compress|connectionproperty|context_info|current_request_id|current_transaction_id|decompress|error_line|error_message|error_number|error_procedure|error_severity|error_state|formatmessage|get_filestream_transaction_context|getansinull|host_id|host_name|isnull|isnumeric|min_active_rowversion|newid|newsequentialid|rowcount_big|session_context|session_id|xact_state)\\b\\s*\\("},{captures:{1:{name:"support.function.textimage.sql"}},match:"(?i)\\b(patindex|textptr|textvalid)\\b\\s*\\("},{captures:{1:{name:"constant.other.database-name.sql"},2:{name:"constant.other.table-name.sql"}},match:"(\\w+?)\\.(\\w+)"},{include:"#strings"},{include:"#regexps"},{match:"\\b(?i)(abort|abort_after_wait|absent|absolute|accent_sensitivity|acceptable_cursopt|acp|action|activation|add|address|admin|aes_128|aes_192|aes_256|affinity|after|aggregate|algorithm|all_constraints|all_errormsgs|all_indexes|all_levels|all_results|allow_connections|allow_dup_row|allow_encrypted_value_modifications|allow_page_locks|allow_row_locks|allow_snapshot_isolation|alter|altercolumn|always|anonymous|ansi_defaults|ansi_null_default|ansi_null_dflt_off|ansi_null_dflt_on|ansi_nulls|ansi_padding|ansi_warnings|appdomain|append|application|apply|arithabort|arithignore|array|assembly|asymmetric|asynchronous_commit|at|atan2|atomic|attach|attach_force_rebuild_log|attach_rebuild_log|audit|auth_realm|authentication|auto|auto_cleanup|auto_close|auto_create_statistics|auto_drop|auto_shrink|auto_update_statistics|auto_update_statistics_async|automated_backup_preference|automatic|autopilot|availability|availability_mode|backup|backup_priority|base64|basic|batches|batchsize|before|between|bigint|binary|binding|bit|block|blockers|blocksize|bmk|both|break|broker|broker_instance|bucket_count|buffer|buffercount|bulk_logged|by|call|caller|card|case|catalog|catch|cert|certificate|change_retention|change_tracking|change_tracking_context|changes|char|character|character_set|check_expiration|check_policy|checkconstraints|checkindex|checkpoint|checksum|cleanup_policy|clear|clear_port|close|clustered|codepage|collection|column_encryption_key|column_master_key|columnstore|columnstore_archive|colv_80_to_100|colv_100_to_80|commit_differential_base|committed|compatibility_level|compress_all_row_groups|compression|compression_delay|concat_null_yields_null|concatenate|configuration|connect|connection|containment|continue|continue_after_error|contract|contract_name|control|conversation|conversation_group_id|conversation_handle|copy|copy_only|count_rows|counter|create(\\\\s+or\\\\s+alter)?|credential|cross|cryptographic|cryptographic_provider|cube|cursor|cursor_close_on_commit|cursor_default|data|data_compression|data_flush_interval_seconds|data_mirroring|data_purity|data_source|database|database_name|database_snapshot|datafiletype|date_correlation_optimization|date|datefirst|dateformat|date_format|datetime|datetime2|datetimeoffset|day(s)?|db_chaining|dbid|dbidexec|dbo_only|deadlock_priority|deallocate|dec|decimal|declare|decrypt|decrypt_a|decryption|default_database|default_fulltext_language|default_language|default_logon_domain|default_schema|definition|delay|delayed_durability|delimitedtext|density_vector|dependent|des|description|desired_state|desx|differential|digest|disable|disable_broker|disable_def_cnst_chk|disabled|disk|distinct|distributed|distribution|drop|drop_existing|dts_buffers|dump|durability|dynamic|edition|elements|else|emergency|empty|enable|enable_broker|enabled|encoding|encrypted|encrypted_value|encryption|encryption_type|end|endpoint|endpoint_url|enhancedintegrity|entry|error_broker_conversations|errorfile|estimateonly|event|except|exec|executable|execute|exists|expand|expiredate|expiry_date|explicit|external|external_access|failover|failover_mode|failure_condition_level|fast|fast_forward|fastfirstrow|federated_service_account|fetch|field_terminator|fieldterminator|file|filelistonly|filegroup|filegrowth|filename|filestream|filestream_log|filestream_on|filetable|file_format|filter|first_row|fips_flagger|fire_triggers|first|firstrow|float|flush_interval_seconds|fmtonly|following|for|force|force_failover_allow_data_loss|force_service_allow_data_loss|forced|forceplan|formatfile|format_options|format_type|formsof|forward_only|free_cursors|free_exec_context|fullscan|fulltext|fulltextall|fulltextkey|function|generated|get|geography|geometry|global|go|goto|governor|guid|hadoop|hardening|hash|hashed|header_limit|headeronly|health_check_timeout|hidden|hierarchyid|histogram|histogram_steps|hits_cursors|hits_exec_context|hour(s)?|http|identity|identity_value|if|ifnull|ignore|ignore_constraints|ignore_dup_key|ignore_dup_row|ignore_triggers|image|immediate|implicit_transactions|include|include_null_values|incremental|index|inflectional|init|initiator|insensitive|insert|instead|int|integer|integrated|intersect|intermediate|interval_length_minutes|into|inuse_cursors|inuse_exec_context|io|is|isabout|iso_week|isolation|job_tracker_location|json|keep|keep_nulls|keep_replication|keepdefaults|keepfixed|keepidentity|keepnulls|kerberos|key|key_path|key_source|key_store_provider_name|keyset|kill|kilobytes_per_batch|labelonly|langid|language|last|lastrow|leading|legacy_cardinality_estimation|length|level|lifetime|lineage_80_to_100|lineage_100_to_80|listener_ip|listener_port|load|loadhistory|lob_compaction|local|local_service_name|locate|location|lock_escalation|lock_timeout|lockres|log|login|login_type|loop|manual|mark_in_use_for_removal|masked|master|match|matched|max_queue_readers|max_duration|max_outstanding_io_per_volume|maxdop|maxerrors|maxlength|maxtransfersize|max_plans_per_query|max_storage_size_mb|mediadescription|medianame|mediapassword|memogroup|memory_optimized|merge|message|message_forward_size|message_forwarding|microsecond|millisecond|minute(s)?|mirror_address|misses_cursors|misses_exec_context|mixed|modify|money|month|move|multi_user|must_change|name|namespace|nanosecond|native|native_compilation|nchar|ncharacter|nested_triggers|never|new_account|new_broker|newname|next|no|no_browsetable|no_checksum|no_compression|no_infomsgs|no_triggers|no_truncate|nocount|noexec|noexpand|noformat|noinit|nolock|nonatomic|nonclustered|nondurable|none|norecompute|norecovery|noreset|norewind|noskip|not|notification|nounload|now|nowait|ntext|ntlm|nulls|numeric|numeric_roundabort|nvarchar|object|objid|oem|offline|old_account|online|operation_mode|open|openjson|optimistic|option|orc|out|outer|output|over|override|owner|ownership|pad_index|page|page_checksum|page_verify|pagecount|paglock|param|parameter_sniffing|parameter_type_expansion|parameterization|parquet|parseonly|partial|partition|partner|password|path|pause|percentage|permission_set|persisted|period|physical_only|plan_forcing_mode|policy|pool|population|ports|preceding|precision|predicate|presume_abort|primary|primary_role|print|prior|priority |priority_level|private|proc(edure)?|procedure_name|profile|provider|quarter|query_capture_mode|query_governor_cost_limit|query_optimizer_hotfixes|query_store|queue|quoted_identifier|raiserror|range|raw|rcfile|rc2|rc4|rc4_128|rdbms|read_committed_snapshot|read|read_only|read_write|readcommitted|readcommittedlock|readonly|readpast|readuncommitted|readwrite|real|rebuild|receive|recmodel_70backcomp|recompile|reconfigure|recovery|recursive|recursive_triggers|redo_queue|reject_sample_value|reject_type|reject_value|relative|remote|remote_data_archive|remote_proc_transactions|remote_service_name|remove|removed_cursors|removed_exec_context|reorganize|repeat|repeatable|repeatableread|replace|replica|replicated|replnick_100_to_80|replnickarray_80_to_100|replnickarray_100_to_80|required|required_cursopt|resample|reset|resource|resource_manager_location|respect|restart|restore|restricted_user|resume|retaindays|retention|return|revert|rewind|rewindonly|returns|robust|role|rollup|root|round_robin|route|row|rowdump|rowguidcol|rowlock|row_terminator|rows|rows_per_batch|rowsets_only|rowterminator|rowversion|rsa_1024|rsa_2048|rsa_3072|rsa_4096|rsa_512|safe|safety|sample|save|scalar|schema|schemabinding|scoped|scroll|scroll_locks|sddl|second|secexpr|seconds|secondary|secondary_only|secondary_role|secret|security|securityaudit|selective|self|send|sent|sequence|serde_method|serializable|server|service|service_broker|service_name|service_objective|session_timeout|session|sessions|seterror|setopts|sets|shard_map_manager|shard_map_name|sharded|shared_memory|shortest_path|show_statistics|showplan_all|showplan_text|showplan_xml|showplan_xml_with_recompile|shrinkdb|shutdown|sid|signature|simple|single_blob|single_clob|single_nclob|single_user|singleton|site|size|size_based_cleanup_mode|skip|smalldatetime|smallint|smallmoney|snapshot|snapshot_import|snapshotrestorephase|soap|softnuma|sort_in_tempdb|sorted_data|sorted_data_reorg|spatial|sql|sql_bigint|sql_binary|sql_bit|sql_char|sql_date|sql_decimal|sql_double|sql_float|sql_guid|sql_handle|sql_longvarbinary|sql_longvarchar|sql_numeric|sql_real|sql_smallint|sql_time|sql_timestamp|sql_tinyint|sql_tsi_day|sql_tsi_frac_second|sql_tsi_hour|sql_tsi_minute|sql_tsi_month|sql_tsi_quarter|sql_tsi_second|sql_tsi_week|sql_tsi_year|sql_type_date|sql_type_time|sql_type_timestamp|sql_varbinary|sql_varchar|sql_variant|sql_wchar|sql_wlongvarchar|ssl|ssl_port|standard|standby|start|start_date|started|stat_header|state|statement|static|statistics|statistics_incremental|statistics_norecompute|statistics_only|statman|stats|stats_stream|status|stop|stop_on_error|stopat|stopatmark|stopbeforemark|stoplist|stopped|string_delimiter|subject|supplemental_logging|supported|suspend|symmetric|synchronous_commit|synonym|sysname|system|system_time|system_versioning|table|tableresults|tablock|tablockx|take|tape|target|target_index|target_partition|target_recovery_time|tcp|temporal_history_retention|text|textimage_on|then|thesaurus|throw|time|timeout|timestamp|tinyint|to|top|torn_page_detection|track_columns_updated|trailing|tran|transaction|transfer|transform_noise_words|triple_des|triple_des_3key|truncate|trustworthy|try|tsql|two_digit_year_cutoff|type|type_desc|type_warning|tzoffset|uid|unbounded|uncommitted|unique|uniqueidentifier|unlimited|unload|unlock|unsafe|updlock|url|use|useplan|useroptions|use_type_default|using|utcdatetime|valid_xml|validation|value|values|varbinary|varchar|verbose|verifyonly|version|view_metadata|virtual_device|visiblity|wait_at_low_priority|waitfor|webmethod|week|weekday|weight|well_formed_xml|when|while|widechar|widechar_ansi|widenative|window|windows|with|within|within group|witness|without|without_array_wrapper|workload|wsdl|xact_abort|xlock|xml|xmlschema|xquery|xsinil|year|zone)\\b",name:"keyword.other.sql"},{captures:{1:{name:"punctuation.section.scope.begin.sql"},2:{name:"punctuation.section.scope.end.sql"}},comment:"Allow for special ↩ behavior",match:"(\\()(\\))",name:"meta.block.sql"}],repository:{"comment-block":{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.sql"}},end:"\\*/",name:"comment.block",patterns:[{include:"#comment-block"}]},comments:{patterns:[{begin:"(^[ \\t]+)?(?=--)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.sql"}},end:"(?!\\G)",patterns:[{begin:"--",beginCaptures:{0:{name:"punctuation.definition.comment.sql"}},end:"\\n",name:"comment.line.double-dash.sql"}]},{begin:"(^[ \\t]+)?(?=#)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.sql"}},end:"(?!\\G)",patterns:[]},{include:"#comment-block"}]},regexps:{patterns:[{begin:"/(?=\\S.*/)",beginCaptures:{0:{name:"punctuation.definition.string.begin.sql"}},end:"/",endCaptures:{0:{name:"punctuation.definition.string.end.sql"}},name:"string.regexp.sql",patterns:[{include:"#string_interpolation"},{match:"\\\\/",name:"constant.character.escape.slash.sql"}]},{begin:"%r\\{",beginCaptures:{0:{name:"punctuation.definition.string.begin.sql"}},comment:"We should probably handle nested bracket pairs!?! -- Allan",end:"\\}",endCaptures:{0:{name:"punctuation.definition.string.end.sql"}},name:"string.regexp.modr.sql",patterns:[{include:"#string_interpolation"}]}]},string_escape:{match:"\\\\.",name:"constant.character.escape.sql"},string_interpolation:{captures:{1:{name:"punctuation.definition.string.begin.sql"},3:{name:"punctuation.definition.string.end.sql"}},match:"(#\\{)([^\\}]*)(\\})",name:"string.interpolated.sql"},strings:{patterns:[{captures:{2:{name:"punctuation.definition.string.begin.sql"},3:{name:"punctuation.definition.string.end.sql"}},comment:"this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",match:"(N)?(')[^']*(')",name:"string.quoted.single.sql"},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.sql"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.sql"}},name:"string.quoted.single.sql",patterns:[{include:"#string_escape"}]},{captures:{1:{name:"punctuation.definition.string.begin.sql"},2:{name:"punctuation.definition.string.end.sql"}},comment:"this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",match:"(`)[^`\\\\]*(`)",name:"string.quoted.other.backtick.sql"},{begin:"`",beginCaptures:{0:{name:"punctuation.definition.string.begin.sql"}},end:"`",endCaptures:{0:{name:"punctuation.definition.string.end.sql"}},name:"string.quoted.other.backtick.sql",patterns:[{include:"#string_escape"}]},{captures:{1:{name:"punctuation.definition.string.begin.sql"},2:{name:"punctuation.definition.string.end.sql"}},comment:"this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",match:'(")[^"#]*(")',name:"string.quoted.double.sql"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.sql"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.sql"}},name:"string.quoted.double.sql",patterns:[{include:"#string_interpolation"}]},{begin:"%\\{",beginCaptures:{0:{name:"punctuation.definition.string.begin.sql"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.string.end.sql"}},name:"string.other.quoted.brackets.sql",patterns:[{include:"#string_interpolation"}]}]}},scopeName:"source.sql"});var t=[e];export{t as default}; diff --git a/assets/stateDiagram-43596fc0-LawEOpXe.js b/assets/stateDiagram-43596fc0-LawEOpXe.js new file mode 100644 index 00000000000..ecb50f1487a --- /dev/null +++ b/assets/stateDiagram-43596fc0-LawEOpXe.js @@ -0,0 +1 @@ +import{p as P,d as N,s as W}from"./styles-b2c874b6-q8ICnJtC.js";import{c as t,h as H,l as b,i as R,j as T,x as v,u as U}from"./mermaid.core-wTs8WatG.js";import{G as C}from"./graph-sxtH378E.js";import{l as F}from"./layout-NmVD1Bdh.js";import"./request-bY2SEZNN.js";import{l as $}from"./line-NZ5yCA7P.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";const O=e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),X=e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),J=(e,a)=>{const o=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(a.id),c=o.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),o},Y=(e,a)=>{const o=function(l,m,w){const E=l.append("tspan").attr("x",2*t().state.padding).text(m);w||E.attr("dy",t().state.textHeight)},s=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(a.descriptions[0]).node().getBBox(),g=s.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let i=!0,r=!0;a.descriptions.forEach(function(l){i||(o(p,l,r),r=!1),i=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),d=Math.max(x.width,s.width);return y.attr("x2",d+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",d+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},I=(e,a,o)=>{const c=t().state.padding,s=2*t().state.padding,g=e.node().getBBox(),p=g.width,i=g.x,r=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(a.id),x=r.node().getBBox().width+s;let d=Math.max(x,p);d===p&&(d=d+s);let l;const m=e.node().getBBox();a.doc,l=i-c,x>p&&(l=(p-d)/2+c),Math.abs(i-m.x)<c&&x>p&&(l=i-(x-p)/2);const w=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",w).attr("class",o?"alt-composit":"composit").attr("width",d).attr("height",m.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),r.attr("x",l+c),x<=p&&r.attr("x",i+(d-s)/2-x/2+c),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",d).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",d).attr("height",m.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},_=e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),q=(e,a)=>{let o=t().state.forkWidth,c=t().state.forkHeight;if(a.parentId){let s=o;o=c,c=s}return e.append("rect").style("stroke","black").style("fill","black").attr("width",o).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},Z=(e,a,o,c)=>{let s=0;const g=c.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const i=p.split(T.lineBreakRegex);let r=1.25*t().state.noteMargin;for(const y of i){const x=y.trim();if(x.length>0){const d=g.append("tspan");if(d.text(x),r===0){const l=d.node().getBBox();r+=l.height}s+=r,d.attr("x",a+t().state.noteMargin),d.attr("y",o+s+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:s}},j=(e,a)=>{a.attr("class","state-note");const o=a.append("rect").attr("x",0).attr("y",t().state.padding),c=a.append("g"),{textWidth:s,textHeight:g}=Z(e,0,0,c);return o.attr("height",g+2*t().state.noteMargin),o.attr("width",s+t().state.noteMargin*2),o},L=function(e,a){const o=a.id,c={id:o,label:a.id,width:0,height:0},s=e.append("g").attr("id",o).attr("class","stateGroup");a.type==="start"&&O(s),a.type==="end"&&_(s),(a.type==="fork"||a.type==="join")&&q(s,a),a.type==="note"&&j(a.note.text,s),a.type==="divider"&&X(s),a.type==="default"&&a.descriptions.length===0&&J(s,a),a.type==="default"&&a.descriptions.length>0&&Y(s,a);const g=s.node().getBBox();return c.width=g.width+2*t().state.padding,c.height=g.height+2*t().state.padding,c};let G=0;const K=function(e,a,o){const c=function(r){switch(r){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}};a.points=a.points.filter(r=>!Number.isNaN(r.y));const s=a.points,g=$().x(function(r){return r.x}).y(function(r){return r.y}).curve(v),p=e.append("path").attr("d",g(s)).attr("id","edge"+G).attr("class","transition");let i="";if(t().state.arrowMarkerAbsolute&&(i=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,i=i.replace(/\(/g,"\\("),i=i.replace(/\)/g,"\\)")),p.attr("marker-end","url("+i+"#"+c(N.relationType.DEPENDENCY)+"End)"),o.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:y,y:x}=U.calcLabelPosition(a.points),d=T.getRows(o.title);let l=0;const m=[];let w=0,E=0;for(let u=0;u<=d.length;u++){const h=r.append("text").attr("text-anchor","middle").text(d[u]).attr("x",y).attr("y",x+l),f=h.node().getBBox();w=Math.max(w,f.width),E=Math.min(E,f.x),b.info(f.x,y,x+l),l===0&&(l=h.node().getBBox().height,b.info("Title height",l,x)),m.push(h)}let k=l*d.length;if(d.length>1){const u=(d.length-1)*l*.5;m.forEach((h,f)=>h.attr("y",x+f*l-u)),k=l*d.length}const n=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",y-w/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",w+t().state.padding).attr("height",k+t().state.padding),b.info(n)}G++};let B;const z={},Q=function(){},V=function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},D=function(e,a,o,c){B=t().state;const s=t().securityLevel;let g;s==="sandbox"&&(g=H("#i"+a));const p=s==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),i=s==="sandbox"?g.nodes()[0].contentDocument:document;b.debug("Rendering diagram "+e);const r=p.select(`[id='${a}']`);V(r);const y=c.db.getRootDoc();A(y,r,void 0,!1,p,i,c);const x=B.padding,d=r.node().getBBox(),l=d.width+x*2,m=d.height+x*2,w=l*1.75;R(r,m,w,B.useMaxWidth),r.attr("viewBox",`${d.x-B.padding} ${d.y-B.padding} `+l+" "+m)},tt=e=>e?e.length*B.fontSizeFactor:1,A=(e,a,o,c,s,g,p)=>{const i=new C({compound:!0,multigraph:!0});let r,y=!0;for(r=0;r<e.length;r++)if(e[r].stmt==="relation"){y=!1;break}o?i.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:y?1:B.edgeLengthFactor,nodeSep:y?1:50,isMultiGraph:!0}):i.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:y?1:B.edgeLengthFactor,nodeSep:y?1:50,ranker:"tight-tree",isMultiGraph:!0}),i.setDefaultEdgeLabel(function(){return{}}),p.db.extract(e);const x=p.db.getStates(),d=p.db.getRelations(),l=Object.keys(x);for(const n of l){const u=x[n];o&&(u.parentId=o);let h;if(u.doc){let f=a.append("g").attr("id",u.id).attr("class","stateGroup");h=A(u.doc,f,u.id,!c,s,g,p);{f=I(f,u,c);let S=f.node().getBBox();h.width=S.width,h.height=S.height+B.padding/2,z[u.id]={y:B.compositTitleSize}}}else h=L(a,u);if(u.note){const f={descriptions:[],id:u.id+"-note",note:u.note,type:"note"},S=L(a,f);u.note.position==="left of"?(i.setNode(h.id+"-note",S),i.setNode(h.id,h)):(i.setNode(h.id,h),i.setNode(h.id+"-note",S)),i.setParent(h.id,h.id+"-group"),i.setParent(h.id+"-note",h.id+"-group")}else i.setNode(h.id,h)}b.debug("Count=",i.nodeCount(),i);let m=0;d.forEach(function(n){m++,b.debug("Setting edge",n),i.setEdge(n.id1,n.id2,{relation:n,width:tt(n.title),height:B.labelHeight*T.getRows(n.title).length,labelpos:"c"},"id"+m)}),F(i),b.debug("Graph after layout",i.nodes());const w=a.node();i.nodes().forEach(function(n){n!==void 0&&i.node(n)!==void 0?(b.warn("Node "+n+": "+JSON.stringify(i.node(n))),s.select("#"+w.id+" #"+n).attr("transform","translate("+(i.node(n).x-i.node(n).width/2)+","+(i.node(n).y+(z[n]?z[n].y:0)-i.node(n).height/2)+" )"),s.select("#"+w.id+" #"+n).attr("data-x-shift",i.node(n).x-i.node(n).width/2),g.querySelectorAll("#"+w.id+" #"+n+" .divider").forEach(h=>{const f=h.parentElement;let S=0,M=0;f&&(f.parentElement&&(S=f.parentElement.getBBox().width),M=parseInt(f.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",S-M-8)})):b.debug("No Node "+n+": "+JSON.stringify(i.node(n)))});let E=w.getBBox();i.edges().forEach(function(n){n!==void 0&&i.edge(n)!==void 0&&(b.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(i.edge(n))),K(a,i.edge(n),i.edge(n).relation))}),E=w.getBBox();const k={id:o||"root",label:o||"root",width:0,height:0};return k.width=E.width+2*B.padding,k.height=E.height+2*B.padding,b.debug("Doc rendered",k,i),k},et={setConf:Q,draw:D},ut={parser:P,db:N,renderer:et,styles:W,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()}};export{ut as diagram}; diff --git a/assets/stateDiagram-v2-2ead4f9c-mA2wVSPE.js b/assets/stateDiagram-v2-2ead4f9c-mA2wVSPE.js new file mode 100644 index 00000000000..91db8afb7ce --- /dev/null +++ b/assets/stateDiagram-v2-2ead4f9c-mA2wVSPE.js @@ -0,0 +1 @@ +import{p as J,d as v,s as Q,D as M,a as X,S as Z,b as F,c as I}from"./styles-b2c874b6-q8ICnJtC.js";import{G as tt}from"./graph-sxtH378E.js";import{l as d,c as m,h as $,u as ot,i as et,j as R}from"./mermaid.core-wTs8WatG.js";import{r as st}from"./index-8fae9850-9Qn4OyWZ.js";import"./request-bY2SEZNN.js";import"./layout-NmVD1Bdh.js";import"./index-ZXl4th35.js";import"./clone-EVmACGI0.js";import"./edges-d417c7a0-ff79nGD3.js";import"./createText-423428c9-K2AvnXL1.js";import"./index.demo-Ru9opRL4.js";import"./index-ISduWuPC.js";import"./FormInput-i0fsPScC.js";import"./viewport-l4O6ZIBM.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./LinkCard-AonZnIUQ.js";import"./image-fdtjzFNr.js";import"./provider-XKwIHqOQ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./use-is-client-6Iy0halI.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./lodash-lrAbnKsZ.js";import"./use-is-dark-IiysOCcN.js";import"./Gallery-QJ8JjQGt.js";import"./alert-fERsLyJJ.js";import"./FloatPopover-3waN72gb.js";import"./SocialSourceLink-Fjgxzjol.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";import"./index-HwaUk8nX.js";import"./CodeEditor-AByBrAxP.js";import"./index-D4F-WjWJ.js";import"./Mermaid-gWIn58QC.js";import"./Form-kbLn7dW2.js";import"./line-NZ5yCA7P.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";const h="rect",x="rectWithTitle",nt="start",it="end",rt="divider",ct="roundedWithTitle",lt="note",at="noteGroup",_="statediagram",pt="state",dt=`${_}-${pt}`,H="transition",Et="note",St="note-edge",Tt=`${H} ${St}`,_t=`${_}-${Et}`,ut="cluster",Dt=`${_}-${ut}`,bt="cluster-alt",ft=`${_}-${bt}`,U="parent",V="note",At="state",G="----",ht=`${G}${V}`,B=`${G}${U}`,Y="fill:none",W="fill: #333",z="c",j="text",q="normal";let y={},p=0;const yt=function(t){const n=Object.keys(t);for(const o of n)t[o]},mt=function(t,n){return n.db.extract(n.db.getRootDocV2()),n.db.getClasses()};function gt(t){return t==null?"":t.classes?t.classes.join(" "):""}function C(t="",n=0,o="",i=G){const r=o!==null&&o.length>0?`${i}${o}`:"";return`${At}-${t}${r}-${n}`}const A=(t,n,o,i,r,c)=>{const e=o.id,u=gt(i[e]);if(e!=="root"){let S=h;o.start===!0&&(S=nt),o.start===!1&&(S=it),o.type!==M&&(S=o.type),y[e]||(y[e]={id:e,shape:S,description:R.sanitizeText(e,m()),classes:`${u} ${dt}`});const s=y[e];o.description&&(Array.isArray(s.description)?(s.shape=x,s.description.push(o.description)):s.description.length>0?(s.shape=x,s.description===e?s.description=[o.description]:s.description=[s.description,o.description]):(s.shape=h,s.description=o.description),s.description=R.sanitizeTextOrArray(s.description,m())),s.description.length===1&&s.shape===x&&(s.shape=h),!s.type&&o.doc&&(d.info("Setting cluster for ",e,w(o)),s.type="group",s.dir=w(o),s.shape=o.type===X?rt:ct,s.classes=s.classes+" "+Dt+" "+(c?ft:""));const T={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:e,dir:s.dir,domId:C(e,p),type:s.type,padding:15};if(T.centerLabel=!0,o.note){const l={labelStyle:"",shape:lt,labelText:o.note.text,classes:_t,style:"",id:e+ht+"-"+p,domId:C(e,p,V),type:s.type,padding:15},a={labelStyle:"",shape:at,labelText:o.note.text,classes:s.classes,style:"",id:e+B,domId:C(e,p,U),type:"group",padding:0};p++;const D=e+B;t.setNode(D,a),t.setNode(l.id,l),t.setNode(e,T),t.setParent(e,D),t.setParent(l.id,D);let E=e,b=l.id;o.note.position==="left of"&&(E=l.id,b=e),t.setEdge(E,b,{arrowhead:"none",arrowType:"",style:Y,labelStyle:"",classes:Tt,arrowheadStyle:W,labelpos:z,labelType:j,thickness:q})}else t.setNode(e,T)}n&&n.id!=="root"&&(d.trace("Setting node ",e," to be child of its parent ",n.id),t.setParent(e,n.id)),o.doc&&(d.trace("Adding nodes children "),$t(t,o,o.doc,i,r,!c))},$t=(t,n,o,i,r,c)=>{d.trace("items",o),o.forEach(e=>{switch(e.stmt){case F:A(t,n,e,i,r,c);break;case M:A(t,n,e,i,r,c);break;case Z:{A(t,n,e.state1,i,r,c),A(t,n,e.state2,i,r,c);const u={id:"edge"+p,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:Y,labelStyle:"",label:R.sanitizeText(e.description,m()),arrowheadStyle:W,labelpos:z,labelType:j,thickness:q,classes:H};t.setEdge(e.state1.id,e.state2.id,u,p),p++}break}})},w=(t,n=I)=>{let o=n;if(t.doc)for(let i=0;i<t.doc.length;i++){const r=t.doc[i];r.stmt==="dir"&&(o=r.value)}return o},xt=async function(t,n,o,i){d.info("Drawing state diagram (v2)",n),y={},i.db.getDirection();const{securityLevel:r,state:c}=m(),e=c.nodeSpacing||50,u=c.rankSpacing||50;d.info(i.db.getRootDocV2()),i.db.extract(i.db.getRootDocV2()),d.info(i.db.getRootDocV2());const S=i.db.getStates(),s=new tt({multigraph:!0,compound:!0}).setGraph({rankdir:w(i.db.getRootDocV2()),nodesep:e,ranksep:u,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});A(s,void 0,i.db.getRootDocV2(),S,i.db,!0);let T;r==="sandbox"&&(T=$("#i"+n));const l=r==="sandbox"?$(T.nodes()[0].contentDocument.body):$("body"),a=l.select(`[id="${n}"]`),D=l.select("#"+n+" g");await st(D,s,["barb"],_,n);const E=8;ot.insertTitle(a,"statediagramTitleText",c.titleTopMargin,i.db.getDiagramTitle());const b=a.node().getBBox(),N=b.width+E*2,L=b.height+E*2;a.attr("class",_);const P=a.node().getBBox();et(a,L,N,c.useMaxWidth);const O=`${P.x-E} ${P.y-E} ${N} ${L}`;d.debug(`viewBox ${O}`),a.attr("viewBox",O);const K=document.querySelectorAll('[id="'+n+'"] .edgeLabel .label');for(const g of K){const k=g.getBBox(),f=document.createElementNS("http://www.w3.org/2000/svg",h);f.setAttribute("rx",0),f.setAttribute("ry",0),f.setAttribute("width",k.width),f.setAttribute("height",k.height),g.insertBefore(f,g.firstChild)}},Ct={setConf:yt,getClasses:mt,draw:xt},ho={parser:J,db:v,renderer:Ct,styles:Q,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,v.clear()}};export{ho as diagram}; diff --git a/assets/styles-6860f46c-fINRrQD8.js b/assets/styles-6860f46c-fINRrQD8.js new file mode 100644 index 00000000000..3e7dd2b9432 --- /dev/null +++ b/assets/styles-6860f46c-fINRrQD8.js @@ -0,0 +1,160 @@ +import{s as ut,g as rt,a as at,b as lt,c as F,p as ct,q as ot,j as v,r as ht,l as At,u as He,h as z,d as pt,T as Re}from"./mermaid.core-wTs8WatG.js";var Ve=function(){var e=function(x,u,a,h){for(a=a||{},h=x.length;h--;a[x[h]]=u);return a},i=[1,17],r=[1,18],l=[1,19],o=[1,39],A=[1,40],g=[1,25],D=[1,23],B=[1,24],_=[1,31],fe=[1,32],de=[1,33],Ee=[1,34],Ce=[1,35],me=[1,36],be=[1,26],ge=[1,27],ke=[1,28],Te=[1,29],d=[1,43],Fe=[1,30],E=[1,42],C=[1,44],m=[1,41],k=[1,45],ye=[1,9],c=[1,8,9],Y=[1,56],j=[1,57],Q=[1,58],X=[1,59],q=[1,60],De=[1,61],Be=[1,62],H=[1,8,9,39],Ge=[1,74],M=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],W=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],J=[13,74,80,95,97,98],G=[13,64,65,74,80,95,97,98],Ue=[13,59,60,61,62,63,74,80,95,97,98],_e=[1,93],Z=[1,110],$=[1,108],ee=[1,102],te=[1,103],se=[1,104],ie=[1,105],ne=[1,106],ue=[1,107],re=[1,109],Se=[1,8,9,37,39,42],ae=[1,8,9,21],ze=[1,8,9,78],S=[1,8,9,21,73,74,78,80,81,82,83,84,85],Ne={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(u,a,h,n,f,t,U){var s=t.length-1;switch(f){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:n.addRelation(t[s]);break;case 17:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],n.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:n.setCssClass(t[s-2],t[s]);break;case 38:n.addMembers(t[s-3],t[s-1]);break;case 39:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],n.addClass(t[s]);break;case 41:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 42:n.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:n.addNote(t[s],t[s-1]);break;case 54:n.addNote(t[s]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 85:n.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:l,36:21,40:o,41:22,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(ye,[2,5],{8:[1,46]}),{8:[1,47]},e(c,[2,16],{21:[1,48]}),e(c,[2,18]),e(c,[2,19]),e(c,[2,20]),e(c,[2,21]),e(c,[2,22]),e(c,[2,23]),e(c,[2,24]),e(c,[2,25]),e(c,[2,26]),{32:[1,49]},{34:[1,50]},e(c,[2,29]),e(c,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Y,60:j,61:Q,62:X,63:q,64:De,65:Be}),{37:[1,63]},e(H,[2,36],{37:[1,65],42:[1,64]}),e(c,[2,47]),e(c,[2,48]),{16:66,74:d,80:E,95:C,97:m},{16:37,17:67,18:38,74:d,80:E,95:C,97:m,98:k},{16:37,17:68,18:38,74:d,80:E,95:C,97:m,98:k},{16:37,17:69,18:38,74:d,80:E,95:C,97:m,98:k},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:d,80:E,95:C,97:m,98:k},{13:Ge,51:73},e(c,[2,55]),e(c,[2,56]),e(c,[2,57]),e(c,[2,58]),e(M,[2,11],{16:37,18:38,17:75,19:[1,76],74:d,80:E,95:C,97:m,98:k}),e(M,[2,12],{19:[1,77]}),{15:78,16:79,74:d,80:E,95:C,97:m},{16:37,17:80,18:38,74:d,80:E,95:C,97:m,98:k},e(W,[2,112]),e(W,[2,113]),e(W,[2,114]),e(W,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(ye,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:l,40:o,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:l,36:21,40:o,41:22,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k},e(c,[2,17]),e(c,[2,27]),e(c,[2,28]),{13:[1,84],16:37,17:83,18:38,74:d,80:E,95:C,97:m,98:k},{49:85,57:54,58:55,59:Y,60:j,61:Q,62:X,63:q,64:De,65:Be},e(c,[2,46]),{58:86,64:De,65:Be},e(J,[2,62],{57:87,59:Y,60:j,61:Q,62:X,63:q}),e(G,[2,63]),e(G,[2,64]),e(G,[2,65]),e(G,[2,66]),e(G,[2,67]),e(Ue,[2,68]),e(Ue,[2,69]),{8:[1,89],23:90,38:88,41:22,44:A},{16:91,74:d,80:E,95:C,97:m},{43:92,47:_e},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:Z,73:$,74:ee,75:99,77:100,79:101,80:te,81:se,82:ie,83:ne,84:ue,85:re},{74:[1,111]},{13:Ge,51:112},e(c,[2,54]),e(c,[2,117]),e(M,[2,13]),e(M,[2,14]),e(M,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:d,80:E,95:C,97:m},e(Se,[2,40],{11:114,12:[1,115]}),e(ye,[2,7]),{9:[1,116]},e(ae,[2,49]),{16:37,17:117,18:38,74:d,80:E,95:C,97:m,98:k},{13:[1,119],16:37,17:118,18:38,74:d,80:E,95:C,97:m,98:k},e(J,[2,61],{57:120,59:Y,60:j,61:Q,62:X,63:q}),e(J,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:A},{8:[1,123],39:[2,33]},e(H,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:_e},{16:37,17:127,18:38,74:d,80:E,95:C,97:m,98:k},e(c,[2,70],{13:[1,128]}),e(c,[2,72],{13:[1,130],68:[1,129]}),e(c,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(c,[2,84],{78:[1,134]}),e(ze,[2,86],{79:135,21:Z,73:$,74:ee,80:te,81:se,82:ie,83:ne,84:ue,85:re}),e(S,[2,88]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(c,[2,85]),e(c,[2,53]),{37:[2,10]},e(Se,[2,41]),{13:[1,136]},{1:[2,4]},e(ae,[2,51]),e(ae,[2,50]),{16:37,17:137,18:38,74:d,80:E,95:C,97:m,98:k},e(J,[2,59]),e(c,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:A},{43:140,47:_e},e(H,[2,38]),{39:[2,44]},e(c,[2,42]),e(c,[2,71]),e(c,[2,73]),e(c,[2,74],{68:[1,141]}),e(c,[2,77]),e(c,[2,78],{13:[1,142]}),e(c,[2,80],{13:[1,144],68:[1,143]}),{21:Z,73:$,74:ee,77:145,79:101,80:te,81:se,82:ie,83:ne,84:ue,85:re},e(S,[2,89]),{14:[1,146]},e(ae,[2,52]),e(c,[2,31]),{39:[2,35]},{39:[1,147]},e(c,[2,75]),e(c,[2,79]),e(c,[2,81]),e(c,[2,82],{68:[1,148]}),e(ze,[2,87],{79:135,21:Z,73:$,74:ee,80:te,81:se,82:ie,83:ne,84:ue,85:re}),e(Se,[2,8]),e(H,[2,39]),e(c,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(u,a){if(a.recoverable)this.trace(u);else{var h=new Error(u);throw h.hash=a,h}},parse:function(u){var a=this,h=[0],n=[],f=[null],t=[],U=this.table,s="",le=0,Ke=0,tt=2,Ye=1,st=t.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var ve in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ve)&&(I.yy[ve]=this.yy[ve]);b.setInput(u,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var xe=b.yylloc;t.push(xe);var it=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function nt(){var L;return L=n.pop()||b.lex()||Ye,typeof L!="number"&&(L instanceof Array&&(n=L,L=n.pop()),L=a.symbols_[L]||L),L}for(var T,R,y,Oe,P={},ce,N,je,oe;;){if(R=h[h.length-1],this.defaultActions[R]?y=this.defaultActions[R]:((T===null||typeof T>"u")&&(T=nt()),y=U[R]&&U[R][T]),typeof y>"u"||!y.length||!y[0]){var Ie="";oe=[];for(ce in U[R])this.terminals_[ce]&&ce>tt&&oe.push("'"+this.terminals_[ce]+"'");b.showPosition?Ie="Parse error on line "+(le+1)+`: +`+b.showPosition()+` +Expecting `+oe.join(", ")+", got '"+(this.terminals_[T]||T)+"'":Ie="Parse error on line "+(le+1)+": Unexpected "+(T==Ye?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(Ie,{text:b.match,token:this.terminals_[T]||T,line:b.yylineno,loc:xe,expected:oe})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+T);switch(y[0]){case 1:h.push(T),f.push(b.yytext),t.push(b.yylloc),h.push(y[1]),T=null,Ke=b.yyleng,s=b.yytext,le=b.yylineno,xe=b.yylloc;break;case 2:if(N=this.productions_[y[1]][1],P.$=f[f.length-N],P._$={first_line:t[t.length-(N||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(N||1)].first_column,last_column:t[t.length-1].last_column},it&&(P._$.range=[t[t.length-(N||1)].range[0],t[t.length-1].range[1]]),Oe=this.performAction.apply(P,[s,Ke,le,I.yy,y[1],f,t].concat(st)),typeof Oe<"u")return Oe;N&&(h=h.slice(0,-1*N*2),f=f.slice(0,-1*N),t=t.slice(0,-1*N)),h.push(this.productions_[y[1]][0]),f.push(P.$),t.push(P._$),je=U[h[h.length-2]][h[h.length-1]],h.push(je);break;case 3:return!0}}return!0}},et=function(){var x={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput:function(u,a){return this.yy=a||this.yy||{},this._input=u,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var a=u.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var a=u.length,h=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===n.length?this.yylloc.first_column:0)+n[n.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),a=new Array(u.length+1).join("-");return u+this.upcomingInput()+` +`+a+"^"},test_match:function(u,a){var h,n,f;if(this.options.backtrack_lexer&&(f={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(f.yylloc.range=this.yylloc.range.slice(0))),n=u[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(u[0].length),this.matched+=u[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var t in f)this[t]=f[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,a,h,n;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),t=0;t<f.length;t++)if(h=this._input.match(this.rules[f[t]]),h&&(!a||h[0].length>a[0].length)){if(a=h,n=t,this.options.backtrack_lexer){if(u=this.test_match(h,f[t]),u!==!1)return u;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(u=this.test_match(a,f[n]),u!==!1?u:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return a||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(a,h,n,f){switch(n){case 0:return 53;case 1:return 54;case 2:return 55;case 3:return 56;case 4:break;case 5:break;case 6:return this.begin("acc_title"),31;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),33;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 70;case 22:this.popState();break;case 23:return 71;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 73;case 28:return this.begin("namespace"),40;case 29:return this.popState(),8;case 30:break;case 31:return this.begin("namespace-body"),37;case 32:return this.popState(),39;case 33:return"EOF_IN_STRUCT";case 34:return 8;case 35:break;case 36:return"EDGE_STATE";case 37:return this.begin("class"),44;case 38:return this.popState(),8;case 39:break;case 40:return this.popState(),this.popState(),39;case 41:return this.begin("class-body"),37;case 42:return this.popState(),39;case 43:return"EOF_IN_STRUCT";case 44:return"EDGE_STATE";case 45:return"OPEN_IN_STRUCT";case 46:break;case 47:return"MEMBER";case 48:return 76;case 49:return 66;case 50:return 67;case 51:return 69;case 52:return 50;case 53:return 52;case 54:return 45;case 55:return 46;case 56:return 72;case 57:this.popState();break;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 60:this.popState();break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:return 68;case 64:return 68;case 65:return 68;case 66:return 68;case 67:return 60;case 68:return 60;case 69:return 62;case 70:return 62;case 71:return 61;case 72:return 59;case 73:return 63;case 74:return 64;case 75:return 65;case 76:return 21;case 77:return 42;case 78:return 95;case 79:return"DOT";case 80:return"PLUS";case 81:return 81;case 82:return 78;case 83:return 84;case 84:return 84;case 85:return 85;case 86:return"EQUALS";case 87:return"EQUALS";case 88:return 74;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 80;case 93:return 97;case 94:return 83;case 95:return 83;case 96:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,32,33,34,35,36,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},namespace:{rules:[26,28,29,30,31,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},"class-body":{rules:[26,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},class:{rules:[26,38,39,40,41,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr:{rules:[9,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_title:{rules:[7,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_args:{rules:[22,23,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_name:{rules:[19,20,21,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},href:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},struct:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},generic:{rules:[26,48,49,50,51,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},bqstring:{rules:[26,48,49,50,51,52,53,54,55,56,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},string:{rules:[24,25,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],inclusive:!0}}};return x}();Ne.lexer=et;function Le(){this.yy={}}return Le.prototype=Ne,Ne.Parser=Le,new Le}();Ve.parser=Ve;const zt=Ve,Qe=["#","+","~","-",""];class Xe{constructor(i,r){this.memberType=r,this.visibility="",this.classifier="";const l=pt(i,F());this.parseMember(l)}getDisplayDetails(){let i=this.visibility+Re(this.id);this.memberType==="method"&&(i+=`(${Re(this.parameters.trim())})`,this.returnType&&(i+=" : "+Re(this.returnType))),i=i.trim();const r=this.parseClassifier();return{displayText:i,cssStyle:r}}parseMember(i){let r="";if(this.memberType==="method"){const l=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/,o=i.match(l);if(o){const A=o[1]?o[1].trim():"";if(Qe.includes(A)&&(this.visibility=A),this.id=o[2].trim(),this.parameters=o[3]?o[3].trim():"",r=o[4]?o[4].trim():"",this.returnType=o[5]?o[5].trim():"",r===""){const g=this.returnType.substring(this.returnType.length-1);g.match(/[$*]/)&&(r=g,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const l=i.length,o=i.substring(0,1),A=i.substring(l-1);Qe.includes(o)&&(this.visibility=o),A.match(/[$*]/)&&(r=A),this.id=i.substring(this.visibility===""?0:1,r===""?l:l-1)}this.classifier=r}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}const pe="classId-";let Pe=[],p={},he=[],qe=0,O={},we=0,K=[];const V=e=>v.sanitizeText(e,F()),w=function(e){const i=v.sanitizeText(e,F());let r="",l=i;if(i.indexOf("~")>0){const o=i.split("~");l=V(o[0]),r=V(o[1])}return{className:l,type:r}},ft=function(e,i){const r=v.sanitizeText(e,F());i&&(i=V(i));const{className:l}=w(r);p[l].label=i},Ae=function(e){const i=v.sanitizeText(e,F()),{className:r,type:l}=w(i);if(Object.hasOwn(p,r))return;const o=v.sanitizeText(r,F());p[o]={id:o,type:l,label:o,cssClasses:[],methods:[],members:[],annotations:[],styles:[],domId:pe+o+"-"+qe},qe++},We=function(e){const i=v.sanitizeText(e,F());if(i in p)return p[i].domId;throw new Error("Class not found: "+i)},dt=function(){Pe=[],p={},he=[],K=[],K.push(Ze),O={},we=0,ht()},Et=function(e){return p[e]},Ct=function(){return p},mt=function(){return Pe},bt=function(){return he},gt=function(e){At.debug("Adding relation: "+JSON.stringify(e)),Ae(e.id1),Ae(e.id2),e.id1=w(e.id1).className,e.id2=w(e.id2).className,e.relationTitle1=v.sanitizeText(e.relationTitle1.trim(),F()),e.relationTitle2=v.sanitizeText(e.relationTitle2.trim(),F()),Pe.push(e)},kt=function(e,i){const r=w(e).className;p[r].annotations.push(i)},Je=function(e,i){Ae(e);const r=w(e).className,l=p[r];if(typeof i=="string"){const o=i.trim();o.startsWith("<<")&&o.endsWith(">>")?l.annotations.push(V(o.substring(2,o.length-2))):o.indexOf(")")>0?l.methods.push(new Xe(o,"method")):o&&l.members.push(new Xe(o,"attribute"))}},Tt=function(e,i){Array.isArray(i)&&(i.reverse(),i.forEach(r=>Je(e,r)))},Ft=function(e,i){const r={id:`note${he.length}`,class:i,text:e};he.push(r)},yt=function(e){return e.startsWith(":")&&(e=e.substring(1)),V(e.trim())},Me=function(e,i){e.split(",").forEach(function(r){let l=r;r[0].match(/\d/)&&(l=pe+l),p[l]!==void 0&&p[l].cssClasses.push(i)})},Dt=function(e,i){e.split(",").forEach(function(r){i!==void 0&&(p[r].tooltip=V(i))})},Bt=function(e,i){return i?O[i].classes[e].tooltip:p[e].tooltip},_t=function(e,i,r){const l=F();e.split(",").forEach(function(o){let A=o;o[0].match(/\d/)&&(A=pe+A),p[A]!==void 0&&(p[A].link=He.formatUrl(i,l),l.securityLevel==="sandbox"?p[A].linkTarget="_top":typeof r=="string"?p[A].linkTarget=V(r):p[A].linkTarget="_blank")}),Me(e,"clickable")},St=function(e,i,r){e.split(",").forEach(function(l){Nt(l,i,r),p[l].haveCallback=!0}),Me(e,"clickable")},Nt=function(e,i,r){const l=v.sanitizeText(e,F());if(F().securityLevel!=="loose"||i===void 0)return;const A=l;if(p[A]!==void 0){const g=We(A);let D=[];if(typeof r=="string"){D=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let B=0;B<D.length;B++){let _=D[B].trim();_.charAt(0)==='"'&&_.charAt(_.length-1)==='"'&&(_=_.substr(1,_.length-2)),D[B]=_}}D.length===0&&D.push(g),K.push(function(){const B=document.querySelector(`[id="${g}"]`);B!==null&&B.addEventListener("click",function(){He.runFunc(i,...D)},!1)})}},Lt=function(e){K.forEach(function(i){i(e)})},vt={LINE:0,DOTTED_LINE:1},xt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},Ze=function(e){let i=z(".mermaidTooltip");(i._groups||i)[0][0]===null&&(i=z("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),z(e).select("svg").selectAll("g.node").on("mouseover",function(){const o=z(this);if(o.attr("title")===null)return;const g=this.getBoundingClientRect();i.transition().duration(200).style("opacity",".9"),i.text(o.attr("title")).style("left",window.scrollX+g.left+(g.right-g.left)/2+"px").style("top",window.scrollY+g.top-14+document.body.scrollTop+"px"),i.html(i.html().replace(/<br\/>/g,"<br/>")),o.classed("hover",!0)}).on("mouseout",function(){i.transition().duration(500).style("opacity",0),z(this).classed("hover",!1)})};K.push(Ze);let $e="TB";const Ot=()=>$e,It=e=>{$e=e},Rt=function(e){O[e]===void 0&&(O[e]={id:e,classes:{},children:{},domId:pe+e+"-"+we},we++)},Vt=function(e){return O[e]},wt=function(){return O},Pt=function(e,i){if(O[e]!==void 0)for(const r of i){const{className:l}=w(r);p[l].parent=e,O[e].classes[l]=p[l]}},Mt=function(e,i){const r=p[e];if(!(!i||!r))for(const l of i)l.includes(",")?r.styles.push(...l.split(",")):r.styles.push(l)},Kt={setAccTitle:ut,getAccTitle:rt,getAccDescription:at,setAccDescription:lt,getConfig:()=>F().class,addClass:Ae,bindFunctions:Lt,clear:dt,getClass:Et,getClasses:Ct,getNotes:bt,addAnnotation:kt,addNote:Ft,getRelations:mt,addRelation:gt,getDirection:Ot,setDirection:It,addMember:Je,addMembers:Tt,cleanupLabel:yt,lineType:vt,relationType:xt,setClickEvent:St,setCssClass:Me,setLink:_t,getTooltip:Bt,setTooltip:Dt,lookUpDomId:We,setDiagramTitle:ct,getDiagramTitle:ot,setClassLabel:ft,addNamespace:Rt,addClassesToNamespace:Pt,getNamespace:Vt,getNamespaces:wt,setCssStyle:Mt},Gt=e=>`g.classGroup text { + fill: ${e.nodeBorder||e.classText}; + stroke: none; + font-family: ${e.fontFamily}; + font-size: 10px; + + .title { + font-weight: bolder; + } + +} + +.nodeLabel, .edgeLabel { + color: ${e.classText}; +} +.edgeLabel .label rect { + fill: ${e.mainBkg}; +} +.label text { + fill: ${e.classText}; +} +.edgeLabel .label span { + background: ${e.mainBkg}; +} + +.classTitle { + font-weight: bolder; +} +.node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + + +.divider { + stroke: ${e.nodeBorder}; + stroke-width: 1; +} + +g.clickable { + cursor: pointer; +} + +g.classGroup rect { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; +} + +g.classGroup line { + stroke: ${e.nodeBorder}; + stroke-width: 1; +} + +.classLabel .box { + stroke: none; + stroke-width: 0; + fill: ${e.mainBkg}; + opacity: 0.5; +} + +.classLabel .label { + fill: ${e.nodeBorder}; + font-size: 10px; +} + +.relation { + stroke: ${e.lineColor}; + stroke-width: 1; + fill: none; +} + +.dashed-line{ + stroke-dasharray: 3; +} + +.dotted-line{ + stroke-dasharray: 1 2; +} + +#compositionStart, .composition { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#compositionEnd, .composition { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#dependencyStart, .dependency { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#dependencyStart, .dependency { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#extensionStart, .extension { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#extensionEnd, .extension { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#aggregationStart, .aggregation { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#aggregationEnd, .aggregation { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#lollipopStart, .lollipop { + fill: ${e.mainBkg} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#lollipopEnd, .lollipop { + fill: ${e.mainBkg} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +.edgeTerminals { + font-size: 11px; + line-height: initial; +} + +.classTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; +} +`,Yt=Gt;export{Kt as d,zt as p,Yt as s}; diff --git a/assets/styles-7383a064-uYdOnhj8.js b/assets/styles-7383a064-uYdOnhj8.js new file mode 100644 index 00000000000..674ffb22e10 --- /dev/null +++ b/assets/styles-7383a064-uYdOnhj8.js @@ -0,0 +1,110 @@ +import{G as q}from"./graph-sxtH378E.js";import{a6 as D,a7 as M,a8 as R,a9 as F,aa as j,W as N,l as y,t as U,c as $,j as G,X as C,Y as E,h as _,u as W,V as X,a4 as H}from"./mermaid.core-wTs8WatG.js";import{r as Y}from"./index-8fae9850-9Qn4OyWZ.js";import{c as J}from"./channel-OM_5qmCK.js";function K(e){return typeof e=="string"?new D([document.querySelectorAll(e)],[document.documentElement]):new D([R(e)],M)}function de(e,r){return!!e.children(r).length}function pe(e){return L(e.v)+":"+L(e.w)+":"+L(e.name)}var Q=/:/g;function L(e){return e?String(e).replace(Q,"\\:"):""}function Z(e,r){r&&e.attr("style",r)}function be(e,r,c){r&&e.attr("class",r).attr("class",c+" "+e.attr("class"))}function fe(e,r){var c=r.graph();if(F(c)){var a=c.transition;if(j(a))return a(e)}return e}function O(e,r){var c=e.append("foreignObject").attr("width","100000"),a=c.append("xhtml:div");a.attr("xmlns","http://www.w3.org/1999/xhtml");var i=r.label;switch(typeof i){case"function":a.insert(i);break;case"object":a.insert(function(){return i});break;default:a.html(i)}Z(a,r.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap");var d=a.node().getBoundingClientRect();return c.attr("width",d.width).attr("height",d.height),c}const z={},ee=function(e){const r=Object.keys(e);for(const c of r)z[c]=e[c]},V=function(e,r,c,a,i,d){const u=a.select(`[id="${c}"]`);Object.keys(e).forEach(function(p){const l=e[p];let g="default";l.classes.length>0&&(g=l.classes.join(" ")),g=g+" flowchart-label";const w=N(l.styles);let t=l.text!==void 0?l.text:l.id,s;if(y.info("vertex",l,l.labelType),l.labelType==="markdown")y.info("vertex",l,l.labelType);else if(U($().flowchart.htmlLabels)){const m={label:t.replace(/fa[blrs]?:fa-[\w-]+/g,k=>`<i class='${k.replace(":"," ")}'></i>`)};s=O(u,m).node(),s.parentNode.removeChild(s)}else{const m=i.createElementNS("http://www.w3.org/2000/svg","text");m.setAttribute("style",w.labelStyle.replace("color:","fill:"));const k=t.split(G.lineBreakRegex);for(const T of k){const v=i.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=T,m.appendChild(v)}s=m}let b=0,o="";switch(l.type){case"round":b=5,o="rect";break;case"square":o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"odd":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"odd_right":o="rect_left_inv_arrow";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"group":o="rect";break;case"doublecircle":o="doublecircle";break;default:o="rect"}r.setNode(l.id,{labelStyle:w.labelStyle,shape:o,labelText:t,labelType:l.labelType,rx:b,ry:b,class:g,style:w.style,id:l.id,link:l.link,linkTarget:l.linkTarget,tooltip:d.db.getTooltip(l.id)||"",domId:d.db.lookUpDomId(l.id),haveCallback:l.haveCallback,width:l.type==="group"?500:void 0,dir:l.dir,type:l.type,props:l.props,padding:$().flowchart.padding}),y.info("setNode",{labelStyle:w.labelStyle,labelType:l.labelType,shape:o,labelText:t,rx:b,ry:b,class:g,style:w.style,id:l.id,domId:d.db.lookUpDomId(l.id),width:l.type==="group"?500:void 0,type:l.type,dir:l.dir,props:l.props,padding:$().flowchart.padding})})},P=function(e,r,c){y.info("abc78 edges = ",e);let a=0,i={},d,u;if(e.defaultStyle!==void 0){const n=N(e.defaultStyle);d=n.style,u=n.labelStyle}e.forEach(function(n){a++;const p="L-"+n.start+"-"+n.end;i[p]===void 0?(i[p]=0,y.info("abc78 new entry",p,i[p])):(i[p]++,y.info("abc78 new entry",p,i[p]));let l=p+"-"+i[p];y.info("abc78 new link id to be used is",p,l,i[p]);const g="LS-"+n.start,w="LE-"+n.end,t={style:"",labelStyle:""};switch(t.minlen=n.length||1,n.type==="arrow_open"?t.arrowhead="none":t.arrowhead="normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle";break}let s="",b="";switch(n.stroke){case"normal":s="fill:none;",d!==void 0&&(s=d),u!==void 0&&(b=u),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;";break}if(n.style!==void 0){const o=N(n.style);s=o.style,b=o.labelStyle}t.style=t.style+=s,t.labelStyle=t.labelStyle+=b,n.interpolate!==void 0?t.curve=C(n.interpolate,E):e.defaultInterpolate!==void 0?t.curve=C(e.defaultInterpolate,E):t.curve=C(z.curve,E),n.text===void 0?n.style!==void 0&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=n.labelType,t.label=n.text.replace(G.lineBreakRegex,` +`),n.style===void 0&&(t.style=t.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),t.labelStyle=t.labelStyle.replace("color:","fill:"),t.id=l,t.classes="flowchart-link "+g+" "+w,r.setEdge(n.start,n.end,t,a)})},te=function(e,r){return r.db.getClasses()},le=async function(e,r,c,a){y.info("Drawing flowchart");let i=a.db.getDirection();i===void 0&&(i="TD");const{securityLevel:d,flowchart:u}=$(),n=u.nodeSpacing||50,p=u.rankSpacing||50;let l;d==="sandbox"&&(l=_("#i"+r));const g=d==="sandbox"?_(l.nodes()[0].contentDocument.body):_("body"),w=d==="sandbox"?l.nodes()[0].contentDocument:document,t=new q({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:n,ranksep:p,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let s;const b=a.db.getSubGraphs();y.info("Subgraphs - ",b);for(let f=b.length-1;f>=0;f--)s=b[f],y.info("Subgraph - ",s),a.db.addVertex(s.id,{text:s.title,type:s.labelType},"group",void 0,s.classes,s.dir);const o=a.db.getVertices(),m=a.db.getEdges();y.info("Edges",m);let k=0;for(k=b.length-1;k>=0;k--){s=b[k],K("cluster").append("text");for(let f=0;f<s.nodes.length;f++)y.info("Setting up subgraphs",s.nodes[f],s.id),t.setParent(s.nodes[f],s.id)}V(o,t,r,g,w,a),P(m,t);const T=g.select(`[id="${r}"]`),v=g.select("#"+r+" g");if(await Y(v,t,["point","circle","cross"],"flowchart",r),W.insertTitle(T,"flowchartTitleText",u.titleTopMargin,a.db.getDiagramTitle()),X(t,T,u.diagramPadding,u.useMaxWidth),a.db.indexNodes("subGraph"+k),!u.htmlLabels){const f=w.querySelectorAll('[id="'+r+'"] .edgeLabel .label');for(const x of f){const S=x.getBBox(),h=w.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",S.width),h.setAttribute("height",S.height),x.insertBefore(h,x.firstChild)}}Object.keys(o).forEach(function(f){const x=o[f];if(x.link){const S=_("#"+r+' [id="'+f+'"]');if(S){const h=w.createElementNS("http://www.w3.org/2000/svg","a");h.setAttributeNS("http://www.w3.org/2000/svg","class",x.classes.join(" ")),h.setAttributeNS("http://www.w3.org/2000/svg","href",x.link),h.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),d==="sandbox"?h.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):x.linkTarget&&h.setAttributeNS("http://www.w3.org/2000/svg","target",x.linkTarget);const A=S.insert(function(){return h},":first-child"),B=S.select(".label-container");B&&A.append(function(){return B.node()});const I=S.select(".label");I&&A.append(function(){return I.node()})}}})},ue={setConf:ee,addVertices:V,addEdges:P,getClasses:te,draw:le},re=(e,r)=>{const c=J,a=c(e,"r"),i=c(e,"g"),d=c(e,"b");return H(a,i,d,r)},ae=e=>`.label { + font-family: ${e.fontFamily}; + color: ${e.nodeTextColor||e.textColor}; + } + .cluster-label text { + fill: ${e.titleColor}; + } + .cluster-label span,p { + color: ${e.titleColor}; + } + + .label text,span,p { + fill: ${e.nodeTextColor||e.textColor}; + color: ${e.nodeTextColor||e.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + .flowchart-label text { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${e.arrowheadColor}; + } + + .edgePath .path { + stroke: ${e.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${e.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${e.edgeLabelBackground}; + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${re(e.edgeLabelBackground,.5)}; + // background-color: + } + + .cluster rect { + fill: ${e.clusterBkg}; + stroke: ${e.clusterBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${e.titleColor}; + } + + .cluster span,p { + color: ${e.titleColor}; + } + /* .cluster div { + color: ${e.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${e.fontFamily}; + font-size: 12px; + background: ${e.tertiaryColor}; + border: 1px solid ${e.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; + } +`,we=ae;export{we as a,Z as b,O as c,fe as d,pe as e,ue as f,be as g,de as i,K as s}; diff --git a/assets/styles-b2c874b6-q8ICnJtC.js b/assets/styles-b2c874b6-q8ICnJtC.js new file mode 100644 index 00000000000..48441bc2507 --- /dev/null +++ b/assets/styles-b2c874b6-q8ICnJtC.js @@ -0,0 +1,207 @@ +import{c as Y,g as Ut,s as zt,a as Mt,b as Ht,p as Xt,q as Kt,l as D,j as ot,r as Wt,_ as Jt}from"./mermaid.core-wTs8WatG.js";var gt=function(){var t=function(C,r,n,i){for(n=n||{},i=C.length;i--;n[C[i]]=r);return n},s=[1,2],a=[1,3],h=[1,4],f=[2,4],d=[1,9],y=[1,11],k=[1,15],u=[1,16],E=[1,17],T=[1,18],R=[1,30],G=[1,19],j=[1,20],U=[1,21],z=[1,22],M=[1,23],H=[1,25],X=[1,26],K=[1,27],W=[1,28],J=[1,29],q=[1,32],Q=[1,33],Z=[1,34],tt=[1,35],w=[1,31],c=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],et=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],Dt=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"-->":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"-->",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(r,n,i,o,p,e,$){var l=e.length-1;switch(p){case 3:return o.setRootDoc(e[l]),e[l];case 4:this.$=[];break;case 5:e[l]!="nl"&&(e[l-1].push(e[l]),this.$=e[l-1]);break;case 6:case 7:this.$=e[l];break;case 8:this.$="nl";break;case 11:this.$=e[l];break;case 12:const B=e[l-1];B.description=o.trimColon(e[l]),this.$=B;break;case 13:this.$={stmt:"relation",state1:e[l-2],state2:e[l]};break;case 14:const ft=o.trimColon(e[l]);this.$={stmt:"relation",state1:e[l-3],state2:e[l-1],description:ft};break;case 18:this.$={stmt:"state",id:e[l-3],type:"default",description:"",doc:e[l-1]};break;case 19:var v=e[l],O=e[l-2].trim();if(e[l].match(":")){var st=e[l].split(":");v=st[0],O=[O,st[1]]}this.$={stmt:"state",id:v,type:"default",description:O};break;case 20:this.$={stmt:"state",id:e[l-3],type:"default",description:e[l-5],doc:e[l-1]};break;case 21:this.$={stmt:"state",id:e[l],type:"fork"};break;case 22:this.$={stmt:"state",id:e[l],type:"join"};break;case 23:this.$={stmt:"state",id:e[l],type:"choice"};break;case 24:this.$={stmt:"state",id:o.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:e[l-1].trim(),note:{position:e[l-2].trim(),text:e[l].trim()}};break;case 28:this.$=e[l].trim(),o.setAccTitle(this.$);break;case 29:case 30:this.$=e[l].trim(),o.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:e[l-1].trim(),classes:e[l].trim()};break;case 33:this.$={stmt:"applyClass",id:e[l-1].trim(),styleClass:e[l].trim()};break;case 34:o.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:o.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:o.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:o.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:e[l].trim(),type:"default",description:""};break;case 42:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break;case 43:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break}},table:[{3:1,4:s,5:a,6:h},{1:[3]},{3:5,4:s,5:a,6:h},{3:6,4:s,5:a,6:h},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],f,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,5]),{9:36,10:12,11:13,12:14,15:k,16:u,18:E,21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,7]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11],{13:[1,37],14:[1,38]}),t(c,[2,15]),{17:[1,39]},t(c,[2,17],{19:[1,40]}),{22:[1,41]},t(c,[2,21]),t(c,[2,22]),t(c,[2,23]),t(c,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(c,[2,27]),{33:[1,46]},{35:[1,47]},t(c,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(et,[2,40],{51:[1,51]}),t(et,[2,41],{51:[1,52]}),t(c,[2,34]),t(c,[2,35]),t(c,[2,36]),t(c,[2,37]),t(c,[2,6]),t(c,[2,12]),{12:53,23:R,50:w},t(c,[2,16]),t(Dt,f,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(c,[2,28]),t(c,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(c,[2,13],{13:[1,63]}),{4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,20:[1,64],21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(c,[2,31]),t(c,[2,32]),t(c,[2,33]),t(et,[2,42]),t(et,[2,43]),t(c,[2,14]),t(c,[2,18]),t(Dt,f,{7:68}),t(c,[2,25]),t(c,[2,26]),{4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,20:[1,69],21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(r,n){if(n.recoverable)this.trace(r);else{var i=new Error(r);throw i.hash=n,i}},parse:function(r){var n=this,i=[0],o=[],p=[null],e=[],$=this.table,l="",v=0,O=0,st=2,B=1,ft=e.slice.call(arguments,1),S=Object.create(this.lexer),A={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(A.yy[dt]=this.yy[dt]);S.setInput(r,A.yy),A.yy.lexer=S,A.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var yt=S.yylloc;e.push(yt);var Gt=S.options&&S.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function jt(){var x;return x=o.pop()||S.lex()||B,typeof x!="number"&&(x instanceof Array&&(o=x,x=o.pop()),x=n.symbols_[x]||x),x}for(var _,L,m,pt,N={},it,b,Ct,rt;;){if(L=i[i.length-1],this.defaultActions[L]?m=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=jt()),m=$[L]&&$[L][_]),typeof m>"u"||!m.length||!m[0]){var St="";rt=[];for(it in $[L])this.terminals_[it]&&it>st&&rt.push("'"+this.terminals_[it]+"'");S.showPosition?St="Parse error on line "+(v+1)+`: +`+S.showPosition()+` +Expecting `+rt.join(", ")+", got '"+(this.terminals_[_]||_)+"'":St="Parse error on line "+(v+1)+": Unexpected "+(_==B?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(St,{text:S.match,token:this.terminals_[_]||_,line:S.yylineno,loc:yt,expected:rt})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+_);switch(m[0]){case 1:i.push(_),p.push(S.yytext),e.push(S.yylloc),i.push(m[1]),_=null,O=S.yyleng,l=S.yytext,v=S.yylineno,yt=S.yylloc;break;case 2:if(b=this.productions_[m[1]][1],N.$=p[p.length-b],N._$={first_line:e[e.length-(b||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(b||1)].first_column,last_column:e[e.length-1].last_column},Gt&&(N._$.range=[e[e.length-(b||1)].range[0],e[e.length-1].range[1]]),pt=this.performAction.apply(N,[l,O,v,A.yy,m[1],p,e].concat(ft)),typeof pt<"u")return pt;b&&(i=i.slice(0,-1*b*2),p=p.slice(0,-1*b),e=e.slice(0,-1*b)),i.push(this.productions_[m[1]][0]),p.push(N.$),e.push(N._$),Ct=$[i[i.length-2]][i[i.length-1]],i.push(Ct);break;case 3:return!0}}return!0}},Yt=function(){var C={EOF:1,parseError:function(n,i){if(this.yy.parser)this.yy.parser.parseError(n,i);else throw new Error(n)},setInput:function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var n=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===o.length?this.yylloc.first_column:0)+o[o.length-i.length].length-i[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+` +`+n+"^"},test_match:function(r,n){var i,o,p;if(this.options.backtrack_lexer&&(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(p.yylloc.range=this.yylloc.range.slice(0))),o=r[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],i=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var e in p)this[e]=p[e];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,n,i,o;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),e=0;e<p.length;e++)if(i=this._input.match(this.rules[p[e]]),i&&(!n||i[0].length>n[0].length)){if(n=i,o=e,this.options.backtrack_lexer){if(r=this.test_match(i,p[e]),r!==!1)return r;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(r=this.test_match(n,p[o]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return n||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){var n=this.conditionStack.length-1;return n>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,i,o,p){switch(o){case 0:return 40;case 1:return 44;case 2:return 45;case 3:return 46;case 4:return 47;case 5:break;case 6:break;case 7:return 5;case 8:break;case 9:break;case 10:break;case 11:break;case 12:return this.pushState("SCALE"),16;case 13:return 17;case 14:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 20:this.popState();break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 29:return this.pushState("SCALE"),16;case 30:return 17;case 31:this.popState();break;case 32:this.pushState("STATE");break;case 33:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 34:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 35:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 36:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 37:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 39:return 44;case 40:return 45;case 41:return 46;case 42:return 47;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:return this.popState(),"ID";case 46:this.popState();break;case 47:return"STATE_DESCR";case 48:return 18;case 49:this.popState();break;case 50:return this.popState(),this.pushState("struct"),19;case 51:break;case 52:return this.popState(),20;case 53:break;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 59:break;case 60:return"NOTE_TEXT";case 61:return this.popState(),"ID";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),i.yytext=i.yytext.substr(2).trim(),30;case 64:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),30;case 65:return 6;case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return i.yytext=i.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 74:return 5;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}};return C}();ht.lexer=Yt;function ut(){this.yy={}}return ut.prototype=ht,ht.Parser=ut,new ut}();gt.parser=gt;const De=gt,qt="LR",Ce="TB",_t="state",It="relation",Qt="classDef",Zt="applyClass",Et="default",te="divider",bt="[*]",Ot="start",Nt=bt,Rt="end",vt="color",At="fill",ee="bgFill",se=",";function wt(){return{}}let $t=qt,lt=[],P=wt();const Bt=()=>({relations:[],states:{},documents:{}});let ct={root:Bt()},g=ct.root,F=0,Lt=0;const ie={LINE:0,DOTTED_LINE:1},re={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},nt=t=>JSON.parse(JSON.stringify(t)),ne=t=>{D.info("Setting root doc",t),lt=t},ae=()=>lt,at=(t,s,a)=>{if(s.stmt===It)at(t,s.state1,!0),at(t,s.state2,!1);else if(s.stmt===_t&&(s.id==="[*]"?(s.id=a?t.id+"_start":t.id+"_end",s.start=a):s.id=s.id.trim()),s.doc){const h=[];let f=[],d;for(d=0;d<s.doc.length;d++)if(s.doc[d].type===te){const y=nt(s.doc[d]);y.doc=nt(f),h.push(y),f=[]}else f.push(s.doc[d]);if(h.length>0&&f.length>0){const y={stmt:_t,id:Jt(),type:"divider",doc:nt(f)};h.push(nt(y)),s.doc=h}s.doc.forEach(y=>at(s,y,!0))}},le=()=>(at({id:"root"},{id:"root",doc:lt},!0),{id:"root",doc:lt}),ce=t=>{let s;t.doc?s=t.doc:s=t,D.info(s),Pt(!0),D.info("Extract",s),s.forEach(a=>{switch(a.stmt){case _t:I(a.id.trim(),a.type,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles);break;case It:Ft(a.state1,a.state2,a.description);break;case Qt:Vt(a.id.trim(),a.classes);break;case Zt:xt(a.id.trim(),a.styleClass);break}})},I=function(t,s=Et,a=null,h=null,f=null,d=null,y=null,k=null){const u=t?.trim();g.states[u]===void 0?(D.info("Adding state ",u,h),g.states[u]={id:u,descriptions:[],type:s,doc:a,note:f,classes:[],styles:[],textStyles:[]}):(g.states[u].doc||(g.states[u].doc=a),g.states[u].type||(g.states[u].type=s)),h&&(D.info("Setting state description",u,h),typeof h=="string"&&kt(u,h.trim()),typeof h=="object"&&h.forEach(E=>kt(u,E.trim()))),f&&(g.states[u].note=f,g.states[u].note.text=ot.sanitizeText(g.states[u].note.text,Y())),d&&(D.info("Setting state classes",u,d),(typeof d=="string"?[d]:d).forEach(T=>xt(u,T.trim()))),y&&(D.info("Setting state styles",u,y),(typeof y=="string"?[y]:y).forEach(T=>_e(u,T.trim()))),k&&(D.info("Setting state styles",u,y),(typeof k=="string"?[k]:k).forEach(T=>me(u,T.trim())))},Pt=function(t){ct={root:Bt()},g=ct.root,F=0,P=wt(),t||Wt()},V=function(t){return g.states[t]},oe=function(){return g.states},he=function(){D.info("Documents = ",ct)},ue=function(){return g.relations};function mt(t=""){let s=t;return t===bt&&(F++,s=`${Ot}${F}`),s}function Tt(t="",s=Et){return t===bt?Ot:s}function fe(t=""){let s=t;return t===Nt&&(F++,s=`${Rt}${F}`),s}function de(t="",s=Et){return t===Nt?Rt:s}function ye(t,s,a){let h=mt(t.id.trim()),f=Tt(t.id.trim(),t.type),d=mt(s.id.trim()),y=Tt(s.id.trim(),s.type);I(h,f,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),I(d,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),g.relations.push({id1:h,id2:d,relationTitle:ot.sanitizeText(a,Y())})}const Ft=function(t,s,a){if(typeof t=="object")ye(t,s,a);else{const h=mt(t.trim()),f=Tt(t),d=fe(s.trim()),y=de(s);I(h,f),I(d,y),g.relations.push({id1:h,id2:d,title:ot.sanitizeText(a,Y())})}},kt=function(t,s){const a=g.states[t],h=s.startsWith(":")?s.replace(":","").trim():s;a.descriptions.push(ot.sanitizeText(h,Y()))},pe=function(t){return t.substring(0,1)===":"?t.substr(2).trim():t.trim()},Se=()=>(Lt++,"divider-id-"+Lt),Vt=function(t,s=""){P[t]===void 0&&(P[t]={id:t,styles:[],textStyles:[]});const a=P[t];s?.split(se).forEach(h=>{const f=h.replace(/([^;]*);/,"$1").trim();if(h.match(vt)){const y=f.replace(At,ee).replace(vt,At);a.textStyles.push(y)}a.styles.push(f)})},ge=function(){return P},xt=function(t,s){t.split(",").forEach(function(a){let h=V(a);if(h===void 0){const f=a.trim();I(f),h=V(f)}h.classes.push(s)})},_e=function(t,s){const a=V(t);a!==void 0&&a.textStyles.push(s)},me=function(t,s){const a=V(t);a!==void 0&&a.textStyles.push(s)},Te=()=>$t,ke=t=>{$t=t},Ee=t=>t&&t[0]===":"?t.substr(1).trim():t.trim(),ve={getConfig:()=>Y().state,addState:I,clear:Pt,getState:V,getStates:oe,getRelations:ue,getClasses:ge,getDirection:Te,addRelation:Ft,getDividerId:Se,setDirection:ke,cleanupLabel:pe,lineType:ie,relationType:re,logDocuments:he,getRootDoc:ae,setRootDoc:ne,getRootDocV2:le,extract:ce,trimColon:Ee,getAccTitle:Ut,setAccTitle:zt,getAccDescription:Mt,setAccDescription:Ht,addStyleClass:Vt,setCssClass:xt,addDescription:kt,setDiagramTitle:Xt,getDiagramTitle:Kt},be=t=>` +defs #statediagram-barbEnd { + fill: ${t.transitionColor}; + stroke: ${t.transitionColor}; + } +g.stateGroup text { + fill: ${t.nodeBorder}; + stroke: none; + font-size: 10px; +} +g.stateGroup text { + fill: ${t.textColor}; + stroke: none; + font-size: 10px; + +} +g.stateGroup .state-title { + font-weight: bolder; + fill: ${t.stateLabelColor}; +} + +g.stateGroup rect { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; +} + +g.stateGroup line { + stroke: ${t.lineColor}; + stroke-width: 1; +} + +.transition { + stroke: ${t.transitionColor}; + stroke-width: 1; + fill: none; +} + +.stateGroup .composit { + fill: ${t.background}; + border-bottom: 1px +} + +.stateGroup .alt-composit { + fill: #e0e0e0; + border-bottom: 1px +} + +.state-note { + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + + text { + fill: ${t.noteTextColor}; + stroke: none; + font-size: 10px; + } +} + +.stateLabel .box { + stroke: none; + stroke-width: 0; + fill: ${t.mainBkg}; + opacity: 0.5; +} + +.edgeLabel .label rect { + fill: ${t.labelBackgroundColor}; + opacity: 0.5; +} +.edgeLabel .label text { + fill: ${t.transitionLabelColor||t.tertiaryTextColor}; +} +.label div .edgeLabel { + color: ${t.transitionLabelColor||t.tertiaryTextColor}; +} + +.stateLabel text { + fill: ${t.stateLabelColor}; + font-size: 10px; + font-weight: bold; +} + +.node circle.state-start { + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; +} + +.node .fork-join { + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; +} + +.node circle.state-end { + fill: ${t.innerEndBackground}; + stroke: ${t.background}; + stroke-width: 1.5 +} +.end-state-inner { + fill: ${t.compositeBackground||t.background}; + // stroke: ${t.background}; + stroke-width: 1.5 +} + +.node rect { + fill: ${t.stateBkg||t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: 1px; +} +.node polygon { + fill: ${t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder};; + stroke-width: 1px; +} +#statediagram-barbEnd { + fill: ${t.lineColor}; +} + +.statediagram-cluster rect { + fill: ${t.compositeTitleBackground}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: 1px; +} + +.cluster-label, .nodeLabel { + color: ${t.stateLabelColor}; +} + +.statediagram-cluster rect.outer { + rx: 5px; + ry: 5px; +} +.statediagram-state .divider { + stroke: ${t.stateBorder||t.nodeBorder}; +} + +.statediagram-state .title-state { + rx: 5px; + ry: 5px; +} +.statediagram-cluster.statediagram-cluster .inner { + fill: ${t.compositeBackground||t.background}; +} +.statediagram-cluster.statediagram-cluster-alt .inner { + fill: ${t.altBackground?t.altBackground:"#efefef"}; +} + +.statediagram-cluster .inner { + rx:0; + ry:0; +} + +.statediagram-state rect.basic { + rx: 5px; + ry: 5px; +} +.statediagram-state rect.divider { + stroke-dasharray: 10,10; + fill: ${t.altBackground?t.altBackground:"#efefef"}; +} + +.note-edge { + stroke-dasharray: 5; +} + +.statediagram-note rect { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + stroke-width: 1px; + rx: 0; + ry: 0; +} +.statediagram-note rect { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + stroke-width: 1px; + rx: 0; + ry: 0; +} + +.statediagram-note text { + fill: ${t.noteTextColor}; +} + +.statediagram-note .nodeLabel { + color: ${t.noteTextColor}; +} +.statediagram .edgeLabel { + color: red; // ${t.noteTextColor}; +} + +#dependencyStart, #dependencyEnd { + fill: ${t.lineColor}; + stroke: ${t.lineColor}; + stroke-width: 1; +} + +.statediagramTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; +} +`,Ae=be;export{Et as D,It as S,te as a,_t as b,Ce as c,ve as d,De as p,Ae as s}; diff --git a/assets/svgDrawCommon-0ee1b4e9-rINZtLwd.js b/assets/svgDrawCommon-0ee1b4e9-rINZtLwd.js new file mode 100644 index 00000000000..4e4f334d827 --- /dev/null +++ b/assets/svgDrawCommon-0ee1b4e9-rINZtLwd.js @@ -0,0 +1 @@ +import{n as o,m as i}from"./mermaid.core-wTs8WatG.js";const c=(s,t)=>{const r=s.append("rect");if(r.attr("x",t.x),r.attr("y",t.y),r.attr("fill",t.fill),r.attr("stroke",t.stroke),r.attr("width",t.width),r.attr("height",t.height),t.rx!==void 0&&r.attr("rx",t.rx),t.ry!==void 0&&r.attr("ry",t.ry),t.attrs!==void 0)for(const e in t.attrs)r.attr(e,t.attrs[e]);return t.class!==void 0&&r.attr("class",t.class),r},x=(s,t)=>{const r={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};c(s,r).lower()},d=(s,t)=>{const r=t.text.replace(o," "),e=s.append("text");e.attr("x",t.x),e.attr("y",t.y),e.attr("class","legend"),e.style("text-anchor",t.anchor),t.class!==void 0&&e.attr("class",t.class);const n=e.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(r),e},h=(s,t,r,e)=>{const n=s.append("image");n.attr("x",t),n.attr("y",r);const a=i.sanitizeUrl(e);n.attr("xlink:href",a)},y=(s,t,r,e)=>{const n=s.append("use");n.attr("x",t),n.attr("y",r);const a=i.sanitizeUrl(e);n.attr("xlink:href",`#${a}`)},g=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),p=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0});export{x as a,y as b,h as c,c as d,p as e,d as f,g}; diff --git a/assets/timeline-definition-d977decf-XO89Jwmj.js b/assets/timeline-definition-d977decf-XO89Jwmj.js new file mode 100644 index 00000000000..98625c4fe90 --- /dev/null +++ b/assets/timeline-definition-d977decf-XO89Jwmj.js @@ -0,0 +1,61 @@ +import{$ as ft,r as gt,c as mt,l as E,h as G,V as xt,a0 as _t,a1 as bt,a2 as kt}from"./mermaid.core-wTs8WatG.js";import"./request-bY2SEZNN.js";import{a as D}from"./arc-O3u_vsTK.js";import"./index-ZXl4th35.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./path-aUcfwwLI.js";var K=function(){var n=function(g,i,r,c){for(r=r||{},c=g.length;c--;r[g[c]]=i);return r},t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],a=[1,10],s=[1,11],h=[1,12],o=[1,13],p=[1,16],y=[1,17],f={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(i,r,c,d,u,l,$){var x=l.length-1;switch(u){case 1:return l[x-1];case 2:this.$=[];break;case 3:l[x-1].push(l[x]),this.$=l[x-1];break;case 4:case 5:this.$=l[x];break;case 6:case 7:this.$=[];break;case 8:d.getCommonDb().setDiagramTitle(l[x].substr(6)),this.$=l[x].substr(6);break;case 9:this.$=l[x].trim(),d.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=l[x].trim(),d.getCommonDb().setAccDescription(this.$);break;case 12:d.addSection(l[x].substr(8)),this.$=l[x].substr(8);break;case 15:d.addTask(l[x],0,""),this.$=l[x];break;case 16:d.addEvent(l[x].substr(2)),this.$=l[x];break}},table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:a,14:s,16:h,17:o,18:14,19:15,20:p,21:y},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:a,14:s,16:h,17:o,18:14,19:15,20:p,21:y},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:function(i,r){if(r.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=r,c}},parse:function(i){var r=this,c=[0],d=[],u=[null],l=[],$=this.table,x="",T=0,W=0,C=2,A=1,B=l.slice.call(arguments,1),k=Object.create(this.lexer),w={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(w.yy[v]=this.yy[v]);k.setInput(i,w.yy),w.yy.lexer=k,w.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var I=k.yylloc;l.push(I);var P=k.options&&k.options.ranges;typeof w.yy.parseError=="function"?this.parseError=w.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function z(){var M;return M=d.pop()||k.lex()||A,typeof M!="number"&&(M instanceof Array&&(d=M,M=d.pop()),M=r.symbols_[M]||M),M}for(var b,L,S,Z,R={},O,N,Y,j;;){if(L=c[c.length-1],this.defaultActions[L]?S=this.defaultActions[L]:((b===null||typeof b>"u")&&(b=z()),S=$[L]&&$[L][b]),typeof S>"u"||!S.length||!S[0]){var J="";j=[];for(O in $[L])this.terminals_[O]&&O>C&&j.push("'"+this.terminals_[O]+"'");k.showPosition?J="Parse error on line "+(T+1)+`: +`+k.showPosition()+` +Expecting `+j.join(", ")+", got '"+(this.terminals_[b]||b)+"'":J="Parse error on line "+(T+1)+": Unexpected "+(b==A?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(J,{text:k.match,token:this.terminals_[b]||b,line:k.yylineno,loc:I,expected:j})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+b);switch(S[0]){case 1:c.push(b),u.push(k.yytext),l.push(k.yylloc),c.push(S[1]),b=null,W=k.yyleng,x=k.yytext,T=k.yylineno,I=k.yylloc;break;case 2:if(N=this.productions_[S[1]][1],R.$=u[u.length-N],R._$={first_line:l[l.length-(N||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(N||1)].first_column,last_column:l[l.length-1].last_column},P&&(R._$.range=[l[l.length-(N||1)].range[0],l[l.length-1].range[1]]),Z=this.performAction.apply(R,[x,W,T,w.yy,S[1],u,l].concat(B)),typeof Z<"u")return Z;N&&(c=c.slice(0,-1*N*2),u=u.slice(0,-1*N),l=l.slice(0,-1*N)),c.push(this.productions_[S[1]][0]),u.push(R.$),l.push(R._$),Y=$[c[c.length-2]][c[c.length-1]],c.push(Y);break;case 3:return!0}}return!0}},_=function(){var g={EOF:1,parseError:function(r,c){if(this.yy.parser)this.yy.parser.parseError(r,c);else throw new Error(r)},setInput:function(i,r){return this.yy=r||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var r=i.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var r=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+` +`+r+"^"},test_match:function(i,r){var c,d,u;if(this.options.backtrack_lexer&&(u={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(u.yylloc.range=this.yylloc.range.slice(0))),d=i[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],c=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var l in u)this[l]=u[l];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,r,c,d;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),l=0;l<u.length;l++)if(c=this._input.match(this.rules[u[l]]),c&&(!r||c[0].length>r[0].length)){if(r=c,d=l,this.options.backtrack_lexer){if(i=this.test_match(c,u[l]),i!==!1)return i;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(i=this.test_match(r,u[d]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,c,d,u){switch(d){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return g}();f.lexer=_;function m(){this.yy={}}return m.prototype=f,f.Parser=m,new m}();K.parser=K;const vt=K;let V="",st=0;const Q=[],q=[],F=[],it=()=>ft,rt=function(){Q.length=0,q.length=0,V="",F.length=0,gt()},at=function(n){V=n,Q.push(n)},ot=function(){return Q},lt=function(){let n=tt();const t=100;let e=0;for(;!n&&e<t;)n=tt(),e++;return q.push(...F),q},ct=function(n,t,e){const a={id:st++,section:V,type:V,task:n,score:t||0,events:e?[e]:[]};F.push(a)},ht=function(n){F.find(e=>e.id===st-1).events.push(n)},dt=function(n){const t={section:V,type:V,description:n,task:n,classes:[]};q.push(t)},tt=function(){const n=function(e){return F[e].processed};let t=!0;for(const[e,a]of F.entries())n(e),t=t&&a.processed;return t},wt={clear:rt,getCommonDb:it,addSection:at,getSections:ot,getTasks:lt,addTask:ct,addTaskOrg:dt,addEvent:ht},St=Object.freeze(Object.defineProperty({__proto__:null,addEvent:ht,addSection:at,addTask:ct,addTaskOrg:dt,clear:rt,default:wt,getCommonDb:it,getSections:ot,getTasks:lt},Symbol.toStringTag,{value:"Module"})),Et=12,U=function(n,t){const e=n.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},Tt=function(n,t){const a=n.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),s=n.append("g");s.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),s.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(y){const f=D().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",f).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}function o(y){const f=D().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",f).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}function p(y){y.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return t.score>3?h(s):t.score<3?o(s):p(s),a},It=function(n,t){const e=n.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},ut=function(n,t){const e=t.text.replace(/<br\s*\/?>/gi," "),a=n.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class!==void 0&&a.attr("class",t.class);const s=a.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),a},$t=function(n,t){function e(s,h,o,p,y){return s+","+h+" "+(s+o)+","+h+" "+(s+o)+","+(h+p-y)+" "+(s+o-y*1.2)+","+(h+p)+" "+s+","+(h+p)}const a=n.append("polygon");a.attr("points",e(t.x,t.y,50,20,7)),a.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,ut(n,t)},Nt=function(n,t,e){const a=n.append("g"),s=X();s.x=t.x,s.y=t.y,s.fill=t.fill,s.width=e.width,s.height=e.height,s.class="journey-section section-type-"+t.num,s.rx=3,s.ry=3,U(a,s),pt(e)(t.text,a,s.x,s.y,s.width,s.height,{class:"journey-section section-type-"+t.num},e,t.colour)};let et=-1;const Mt=function(n,t,e){const a=t.x+e.width/2,s=n.append("g");et++;const h=300+5*30;s.append("line").attr("id","task"+et).attr("x1",a).attr("y1",t.y).attr("x2",a).attr("y2",h).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Tt(s,{cx:a,cy:300+(5-t.score)*30,score:t.score});const o=X();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=e.width,o.height=e.height,o.class="task task-type-"+t.num,o.rx=3,o.ry=3,U(s,o),t.x+14,pt(e)(t.task,s,o.x,o.y,o.width,o.height,{class:"task"},e,t.colour)},Lt=function(n,t){U(n,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},At=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},X=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},pt=function(){function n(s,h,o,p,y,f,_,m){const g=h.append("text").attr("x",o+y/2).attr("y",p+f/2+5).style("font-color",m).style("text-anchor","middle").text(s);a(g,_)}function t(s,h,o,p,y,f,_,m,g){const{taskFontSize:i,taskFontFamily:r}=m,c=s.split(/<br\s*\/?>/gi);for(let d=0;d<c.length;d++){const u=d*i-i*(c.length-1)/2,l=h.append("text").attr("x",o+y/2).attr("y",p).attr("fill",g).style("text-anchor","middle").style("font-size",i).style("font-family",r);l.append("tspan").attr("x",o+y/2).attr("dy",u).text(c[d]),l.attr("y",p+f/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),a(l,_)}}function e(s,h,o,p,y,f,_,m){const g=h.append("switch"),r=g.append("foreignObject").attr("x",o).attr("y",p).attr("width",y).attr("height",f).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");r.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(s),t(s,g,o,p,y,f,_,m),a(r,_)}function a(s,h){for(const o in h)o in h&&s.attr(o,h[o])}return function(s){return s.textPlacement==="fo"?e:s.textPlacement==="old"?n:t}}(),Pt=function(n){n.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")};function yt(n,t){n.each(function(){var e=G(this),a=e.text().split(/(\s+|<br>)/).reverse(),s,h=[],o=1.1,p=e.attr("y"),y=parseFloat(e.attr("dy")),f=e.text(null).append("tspan").attr("x",0).attr("y",p).attr("dy",y+"em");for(let _=0;_<a.length;_++)s=a[a.length-1-_],h.push(s),f.text(h.join(" ").trim()),(f.node().getComputedTextLength()>t||s==="<br>")&&(h.pop(),f.text(h.join(" ").trim()),s==="<br>"?h=[""]:h=[s],f=e.append("tspan").attr("x",0).attr("y",p).attr("dy",o+"em").text(s))})}const Ht=function(n,t,e,a){const s=e%Et-1,h=n.append("g");t.section=s,h.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+s));const o=h.append("g"),p=h.append("g"),f=p.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(yt,t.width).node().getBBox(),_=a.fontSize&&a.fontSize.replace?a.fontSize.replace("px",""):a.fontSize;return t.height=f.height+_*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,p.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),zt(o,t,s),t},Ct=function(n,t,e){const a=n.append("g"),h=a.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(yt,t.width).node().getBBox(),o=e.fontSize&&e.fontSize.replace?e.fontSize.replace("px",""):e.fontSize;return a.remove(),h.height+o*1.1*.5+t.padding},zt=function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+2*5} q0,-5 5,-5 h${t.width-2*5} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},H={drawRect:U,drawCircle:It,drawSection:Nt,drawText:ut,drawLabel:$t,drawTask:Mt,drawBackgroundRect:Lt,getTextObj:At,getNoteRect:X,initGraphics:Pt,drawNode:Ht,getVirtualNodeHeight:Ct},Rt=function(n,t,e,a){var s,h;const o=mt(),p=o.leftMargin??50;E.debug("timeline",a.db);const y=o.securityLevel;let f;y==="sandbox"&&(f=G("#i"+t));const m=(y==="sandbox"?G(f.nodes()[0].contentDocument.body):G("body")).select("#"+t);m.append("g");const g=a.db.getTasks(),i=a.db.getCommonDb().getDiagramTitle();E.debug("task",g),H.initGraphics(m);const r=a.db.getSections();E.debug("sections",r);let c=0,d=0,u=0,l=0,$=50+p,x=50;l=50;let T=0,W=!0;r.forEach(function(w){const v={number:T,descr:w,section:T,width:150,padding:20,maxHeight:c},I=H.getVirtualNodeHeight(m,v,o);E.debug("sectionHeight before draw",I),c=Math.max(c,I+20)});let C=0,A=0;E.debug("tasks.length",g.length);for(const[w,v]of g.entries()){const I={number:w,descr:v,section:v.section,width:150,padding:20,maxHeight:d},P=H.getVirtualNodeHeight(m,I,o);E.debug("taskHeight before draw",P),d=Math.max(d,P+20),C=Math.max(C,v.events.length);let z=0;for(let b=0;b<v.events.length;b++){const S={descr:v.events[b],section:v.section,number:v.section,width:150,padding:20,maxHeight:50};z+=H.getVirtualNodeHeight(m,S,o)}A=Math.max(A,z)}E.debug("maxSectionHeight before draw",c),E.debug("maxTaskHeight before draw",d),r&&r.length>0?r.forEach(w=>{const v=g.filter(b=>b.section===w),I={number:T,descr:w,section:T,width:200*Math.max(v.length,1)-50,padding:20,maxHeight:c};E.debug("sectionNode",I);const P=m.append("g"),z=H.drawNode(P,I,T,o);E.debug("sectionNode output",z),P.attr("transform",`translate(${$}, ${l})`),x+=c+50,v.length>0&&nt(m,v,T,$,x,d,o,C,A,c,!1),$+=200*Math.max(v.length,1),x=l,T++}):(W=!1,nt(m,g,T,$,x,d,o,C,A,c,!0));const B=m.node().getBBox();E.debug("bounds",B),i&&m.append("text").text(i).attr("x",B.width/2-p).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),u=W?c+d+150:d+100,m.append("g").attr("class","lineWrapper").append("line").attr("x1",p).attr("y1",u).attr("x2",B.width+3*p).attr("y2",u).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),xt(void 0,m,((s=o.timeline)==null?void 0:s.padding)??50,((h=o.timeline)==null?void 0:h.useMaxWidth)??!1)},nt=function(n,t,e,a,s,h,o,p,y,f,_){var m;for(const g of t){const i={descr:g.task,section:e,number:e,width:150,padding:20,maxHeight:h};E.debug("taskNode",i);const r=n.append("g").attr("class","taskWrapper"),d=H.drawNode(r,i,e,o).height;if(E.debug("taskHeight after draw",d),r.attr("transform",`translate(${a}, ${s})`),h=Math.max(h,d),g.events){const u=n.append("g").attr("class","lineWrapper");let l=h;s+=100,l=l+Vt(n,g.events,e,a,s,o),s-=100,u.append("line").attr("x1",a+190/2).attr("y1",s+h).attr("x2",a+190/2).attr("y2",s+h+(_?h:f)+y+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}a=a+200,_&&!((m=o.timeline)!=null&&m.disableMulticolor)&&e++}s=s-10},Vt=function(n,t,e,a,s,h){let o=0;const p=s;s=s+100;for(const y of t){const f={descr:y,section:e,number:e,width:150,padding:20,maxHeight:50};E.debug("eventNode",f);const _=n.append("g").attr("class","eventWrapper"),g=H.drawNode(_,f,e,h).height;o=o+g,_.attr("transform",`translate(${a}, ${s})`),s=s+10+g}return s=p,o},Ft={setConf:()=>{},draw:Rt},Wt=n=>{let t="";for(let e=0;e<n.THEME_COLOR_LIMIT;e++)n["lineColor"+e]=n["lineColor"+e]||n["cScaleInv"+e],_t(n["lineColor"+e])?n["lineColor"+e]=bt(n["lineColor"+e],20):n["lineColor"+e]=kt(n["lineColor"+e],20);for(let e=0;e<n.THEME_COLOR_LIMIT;e++){const a=""+(17-3*e);t+=` + .section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} path { + fill: ${n["cScale"+e]}; + } + .section-${e-1} text { + fill: ${n["cScaleLabel"+e]}; + } + .node-icon-${e-1} { + font-size: 40px; + color: ${n["cScaleLabel"+e]}; + } + .section-edge-${e-1}{ + stroke: ${n["cScale"+e]}; + } + .edge-depth-${e-1}{ + stroke-width: ${a}; + } + .section-${e-1} line { + stroke: ${n["cScaleInv"+e]} ; + stroke-width: 3; + } + + .lineWrapper line{ + stroke: ${n["cScaleLabel"+e]} ; + } + + .disabled, .disabled circle, .disabled text { + fill: lightgray; + } + .disabled text { + fill: #efefef; + } + `}return t},Bt=n=>` + .edge { + stroke-width: 3; + } + ${Wt(n)} + .section-root rect, .section-root path, .section-root circle { + fill: ${n.git0}; + } + .section-root text { + fill: ${n.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .eventWrapper { + filter: brightness(120%); + } +`,Ot=Bt,Yt={db:St,renderer:Ft,parser:vt,styles:Ot};export{Yt as diagram}; diff --git a/assets/toast-dlXalurG.js b/assets/toast-dlXalurG.js new file mode 100644 index 00000000000..e60d000ade9 --- /dev/null +++ b/assets/toast-dlXalurG.js @@ -0,0 +1 @@ +import{r as S,R as x,j as J}from"./index-ZXl4th35.js";import{a as Y,m as Te}from"./motion-minimal-epsqYg85.js";import{M as Ve}from"./StyledButton-VgryXAte.js";var D={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};let Fe=0;function He(e,t){const o=`atom${++Fe}`,d={toString:()=>o};return typeof e=="function"?d.read=e:(d.init=e,d.read=Ue,d.write=qe),t&&(d.write=t),d}function Ue(e){return e(this)}function qe(e,t,o){return t(this,typeof o=="function"?o(e(this)):o)}const fe=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,pe=e=>"init"in e,ge=e=>!!e.write,le=new WeakMap,We=(e,t)=>{le.set(e,t),e.catch(()=>{}).finally(()=>le.delete(e))},we=(e,t)=>{const o=le.get(e);o&&(le.delete(e),o(t))},Ie=(e,t)=>{e.status="fulfilled",e.value=t},Ce=(e,t)=>{e.status="rejected",e.reason=t},Xe=e=>typeof e?.then=="function",ee=(e,t)=>!!e&&"v"in e&&"v"in t&&Object.is(e.v,t.v),Se=(e,t)=>!!e&&"e"in e&&"e"in t&&Object.is(e.e,t.e),K=e=>!!e&&"v"in e&&e.v instanceof Promise,Je=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,se=e=>{if("e"in e)throw e.e;return e.v},Ne=()=>{const e=new WeakMap,t=new WeakMap,o=[],d=new WeakMap;let u,h;(D?"production":void 0)!=="production"&&(u=new Set,h=new Set);const r=n=>e.get(n),b=(n,i)=>{i.d.forEach((f,c)=>{var a;if(!d.has(c)){const l=r(c);(a=o[o.length-1])==null||a.add(c),d.set(c,[l,new Set]),l&&b(c,l)}d.get(c)[1].add(n)})},_=(n,i)=>{var f;(D?"production":void 0)!=="production"&&Object.freeze(i);const c=r(n);if(e.set(n,i),d.has(n)||((f=o[o.length-1])==null||f.add(n),d.set(n,[c,new Set]),b(n,i)),K(c)){const a="v"in i?i.v instanceof Promise?i.v:Promise.resolve(i.v):Promise.reject(i.e);c.v!==a&&we(c.v,a)}},P=(n,i,f,c)=>{const a=new Map(c?i.d:null);let l=!1;f.forEach((s,p)=>{!s&&fe(n,p)&&(s=i),s?(a.set(p,s),i.d.get(p)!==s&&(l=!0)):(D?"production":void 0)!=="production"&&console.warn("[Bug] atom state not found")}),(l||i.d.size!==a.size)&&(i.d=a)},y=(n,i,f,c)=>{const a=r(n),l={d:a?.d||new Map,v:i};if(f&&P(n,l,f,c),ee(a,l)&&a.d===l.d)return a;if(K(a)&&K(l)&&Je(a,l)){if(a.d===l.d)return a;l.v=a.v}return _(n,l),l},R=(n,i,f,c)=>{if(Xe(i)){let a;const l=()=>{const p=r(n);if(!K(p)||p.v!==s)return;const w=y(n,s,f);t.has(n)&&p.d!==w.d&&B(n,w,p.d)},s=new Promise((p,w)=>{let m=!1;i.then(C=>{m||(m=!0,Ie(s,C),p(C),l())},C=>{m||(m=!0,Ce(s,C),w(C),l())}),a=C=>{m||(m=!0,C.then(j=>Ie(s,j),j=>Ce(s,j)),p(C))}});return s.orig=i,s.status="pending",We(s,p=>{p&&a(p),c?.()}),y(n,s,f,!0)}return y(n,i,f)},$=(n,i,f)=>{const c=r(n),a={d:c?.d||new Map,e:i};return f&&P(n,a,f),Se(c,a)&&c.d===a.d?c:(_(n,a),a)},O=(n,i)=>{const f=r(n);if(!i&&f&&(t.has(n)||Array.from(f.d).every(([m,C])=>{if(m===n)return!0;const j=O(m);return j===C||ee(j,C)})))return f;const c=new Map;let a=!0;const l=m=>{if(fe(n,m)){const j=r(m);if(j)return c.set(m,j),se(j);if(pe(m))return c.set(m,void 0),m.init;throw new Error("no atom init")}const C=O(m);return c.set(m,C),se(C)};let s,p;const w={get signal(){return s||(s=new AbortController),s.signal},get setSelf(){return(D?"production":void 0)!=="production"&&!ge(n)&&console.warn("setSelf function cannot be used with read-only atom"),!p&&ge(n)&&(p=(...m)=>{if((D?"production":void 0)!=="production"&&a&&console.warn("setSelf function cannot be called in sync"),!a)return I(n,...m)}),p}};try{const m=n.read(l,w);return R(n,m,c,()=>s?.abort())}catch(m){return $(n,m,c)}finally{a=!1}},k=n=>se(O(n)),T=n=>{let i=t.get(n);return i||(i=V(n)),i},M=(n,i)=>!i.l.size&&(!i.t.size||i.t.size===1&&i.t.has(n)),A=n=>{const i=t.get(n);i&&M(n,i)&&F(n)},E=n=>{const i=s=>{var p,w;const m=new Set((p=t.get(s))==null?void 0:p.t);return(w=d.get(s))==null||w[1].forEach(C=>{m.add(C)}),m},f=new Array,c=new Set,a=s=>{if(!c.has(s)){c.add(s);for(const p of i(s))s!==p&&a(p);f.push(s)}};a(n);const l=new Set([n]);for(let s=f.length-1;s>=0;--s){const p=f[s],w=r(p);if(!w)continue;let m=!1;for(const C of w.d.keys())if(C!==p&&l.has(C)){m=!0;break}if(m){const C=O(p,!0);ee(w,C)||l.add(p)}}},g=(n,...i)=>{let f=!0;const c=s=>se(O(s)),a=(s,...p)=>{let w;if(fe(n,s)){if(!pe(s))throw new Error("atom not writable");const m=r(s),C=R(s,p[0]);ee(m,C)||E(s)}else w=g(s,...p);if(!f){const m=v([s]);(D?"production":void 0)!=="production"&&u.forEach(C=>C({type:"async-write",flushed:m}))}return w},l=n.write(c,a,...i);return f=!1,l},I=(n,...i)=>{o.push(new Set([n]));const f=g(n,...i),c=v(o.pop());return(D?"production":void 0)!=="production"&&u.forEach(a=>a({type:"write",flushed:c})),f},V=(n,i,f)=>{var c;const a=f||[];(c=r(n))==null||c.d.forEach((s,p)=>{const w=t.get(p);w?w.t.add(n):p!==n&&V(p,n,a)}),O(n);const l={t:new Set(i&&[i]),l:new Set};if(t.set(n,l),(D?"production":void 0)!=="production"&&h.add(n),ge(n)&&n.onMount){const{onMount:s}=n;a.push(()=>{const p=s((...w)=>I(n,...w));p&&(l.u=p)})}return f||a.forEach(s=>s()),l},F=n=>{var i;const f=(i=t.get(n))==null?void 0:i.u;f&&f(),t.delete(n),(D?"production":void 0)!=="production"&&h.delete(n);const c=r(n);c?(K(c)&&we(c.v),c.d.forEach((a,l)=>{if(l!==n){const s=t.get(l);s&&(s.t.delete(n),M(l,s)&&F(l))}})):(D?"production":void 0)!=="production"&&console.warn("[Bug] could not find atom state to unmount",n)},B=(n,i,f)=>{const c=new Set(i.d.keys()),a=new Set;f?.forEach((l,s)=>{if(c.has(s)){c.delete(s);return}a.add(s);const p=t.get(s);p&&p.t.delete(n)}),c.forEach(l=>{const s=t.get(l);s?s.t.add(n):t.has(n)&&V(l,n)}),a.forEach(l=>{const s=t.get(l);s&&M(l,s)&&F(l)})},v=n=>{let i;(D?"production":void 0)!=="production"&&(i=new Set);const f=[],c=a=>{var l;if(!d.has(a))return;const[s,p]=d.get(a);d.delete(a),f.push([a,s]),p.forEach(c),(l=r(a))==null||l.d.forEach((w,m)=>c(m))};if(n.forEach(c),f.forEach(([a,l])=>{const s=r(a);if(!s){(D?"production":void 0)!=="production"&&console.warn("[Bug] no atom state to flush");return}if(s!==l){const p=t.get(a);p&&s.d!==l?.d&&B(a,s,l?.d),p&&!(!K(l)&&(ee(l,s)||Se(l,s)))&&(p.l.forEach(w=>w()),(D?"production":void 0)!=="production"&&i.add(a))}}),(D?"production":void 0)!=="production")return i},N=(n,i)=>{const f=T(n),c=v([n]),a=f.l;return a.add(i),(D?"production":void 0)!=="production"&&u.forEach(l=>l({type:"sub",flushed:c})),()=>{a.delete(i),A(n),(D?"production":void 0)!=="production"&&u.forEach(l=>l({type:"unsub"}))}};return(D?"production":void 0)!=="production"?{get:k,set:I,sub:N,dev_subscribe_store:(n,i)=>{if(i!==2)throw new Error("The current StoreListener revision is 2.");return u.add(n),()=>{u.delete(n)}},dev_get_mounted_atoms:()=>h.values(),dev_get_atom_state:n=>e.get(n),dev_get_mounted:n=>t.get(n),dev_restore_atoms:n=>{o.push(new Set);for(const[f,c]of n)pe(f)&&(R(f,c),E(f));const i=v(o.pop());u.forEach(f=>f({type:"restore",flushed:i}))}}:{get:k,set:I,sub:N}};let me;(D?"production":void 0)!=="production"&&(typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__=="number"?++globalThis.__NUMBER_OF_JOTAI_INSTANCES__:globalThis.__NUMBER_OF_JOTAI_INSTANCES__=1);const xe=()=>(me||((D?"production":void 0)!=="production"&&globalThis.__NUMBER_OF_JOTAI_INSTANCES__!==1&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"),me=Ne()),me);var Ye={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Me=S.createContext(void 0),Le=e=>{const t=S.useContext(Me);return e?.store||t||xe()},yt=({children:e,store:t})=>{const o=S.useRef();return!t&&!o.current&&(o.current=Ne()),S.createElement(Me.Provider,{value:t||o.current},e)},Qe=e=>typeof e?.then=="function",Ge=x.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)});function Re(e,t){const o=Le(t),[[d,u,h],r]=S.useReducer(P=>{const y=o.get(e);return Object.is(P[0],y)&&P[1]===o&&P[2]===e?P:[y,o,e]},void 0,()=>[o.get(e),o,e]);let b=d;(u!==o||h!==e)&&(r(),b=o.get(e));const _=t?.delay;return S.useEffect(()=>{const P=o.sub(e,()=>{if(typeof _=="number"){setTimeout(r,_);return}r()});return r(),P},[o,e,_]),S.useDebugValue(b),Qe(b)?Ge(b):b}function Oe(e,t){const o=Le(t);return S.useCallback((...u)=>{if((Ye?"production":void 0)!=="production"&&!("write"in e))throw new Error("not writable atom");return o.set(e,...u)},[o,e])}function Ke(e,t){return[Re(e,t),Oe(e,t)]}let ve,he=Symbol(),Ae=()=>{if(ve)return ve;if(globalThis[he])return globalThis[he];let e=xe();return ve=e,globalThis[he]=e,e},Ze=e=>[()=>Ae().get(e),t=>Ae().set(e,t)],et=e=>[e,()=>Ke(e),()=>Re(e),()=>Oe(e),...Ze(e)];const[,,Et,,,_t]=et(He(!1)),ne=e=>typeof e=="number"&&!isNaN(e),G=e=>typeof e=="string",H=e=>typeof e=="function",ae=e=>G(e)||H(e)?e:null,Ee=e=>S.isValidElement(e)||G(e)||H(e)||ne(e);function tt(e,t,o){o===void 0&&(o=300);const{scrollHeight:d,style:u}=e;requestAnimationFrame(()=>{u.minHeight="initial",u.height=d+"px",u.transition=`all ${o}ms`,requestAnimationFrame(()=>{u.height="0",u.padding="0",u.margin="0",setTimeout(t,o)})})}function ue(e){let{enter:t,exit:o,appendPosition:d=!1,collapse:u=!0,collapseDuration:h=300}=e;return function(r){let{children:b,position:_,preventExitTransition:P,done:y,nodeRef:R,isIn:$,playToast:O}=r;const k=d?`${t}--${_}`:t,T=d?`${o}--${_}`:o,M=S.useRef(0);return S.useLayoutEffect(()=>{const A=R.current,E=k.split(" "),g=I=>{I.target===R.current&&(O(),A.removeEventListener("animationend",g),A.removeEventListener("animationcancel",g),M.current===0&&I.type!=="animationcancel"&&A.classList.remove(...E))};A.classList.add(...E),A.addEventListener("animationend",g),A.addEventListener("animationcancel",g)},[]),S.useEffect(()=>{const A=R.current,E=()=>{A.removeEventListener("animationend",E),u?tt(A,y,h):y()};$||(P?E():(M.current=1,A.className+=` ${T}`,A.addEventListener("animationend",E)))},[$]),x.createElement(x.Fragment,null,b)}}function ke(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const z=new Map;let oe=[];const _e=new Set,nt=e=>_e.forEach(t=>t(e)),$e=()=>z.size>0;function Be(e,t){var o;if(t)return!((o=z.get(t))==null||!o.isToastActive(e));let d=!1;return z.forEach(u=>{u.isToastActive(e)&&(d=!0)}),d}function De(e,t){Ee(e)&&($e()||oe.push({content:e,options:t}),z.forEach(o=>{o.buildToast(e,t)}))}function Pe(e,t){z.forEach(o=>{t!=null&&t!=null&&t.containerId?t?.containerId===o.id&&o.toggle(e,t?.id):o.toggle(e,t?.id)})}function ot(e){const{subscribe:t,getSnapshot:o,setProps:d}=S.useRef(function(h){const r=h.containerId||1;return{subscribe(b){const _=function(y,R,$){let O=1,k=0,T=[],M=[],A=[],E=R;const g=new Map,I=new Set,V=()=>{A=Array.from(g.values()),I.forEach(v=>v())},F=v=>{M=v==null?[]:M.filter(N=>N!==v),V()},B=v=>{const{toastId:N,onOpen:n,updateId:i,children:f}=v.props,c=i==null;v.staleId&&g.delete(v.staleId),g.set(N,v),M=[...M,v.props.toastId].filter(a=>a!==v.staleId),V(),$(ke(v,c?"added":"updated")),c&&H(n)&&n(S.isValidElement(f)&&f.props)};return{id:y,props:E,observe:v=>(I.add(v),()=>I.delete(v)),toggle:(v,N)=>{g.forEach(n=>{N!=null&&N!==n.props.toastId||H(n.toggle)&&n.toggle(v)})},removeToast:F,toasts:g,clearQueue:()=>{k-=T.length,T=[]},buildToast:(v,N)=>{if((W=>{let{containerId:U,toastId:q,updateId:X}=W;const Q=U?U!==y:y!==1,Z=g.has(q)&&X==null;return Q||Z})(N))return;const{toastId:n,updateId:i,data:f,staleId:c,delay:a}=N,l=()=>{F(n)},s=i==null;s&&k++;const p={...E,style:E.toastStyle,key:O++,...Object.fromEntries(Object.entries(N).filter(W=>{let[U,q]=W;return q!=null})),toastId:n,updateId:i,data:f,closeToast:l,isIn:!1,className:ae(N.className||E.toastClassName),bodyClassName:ae(N.bodyClassName||E.bodyClassName),progressClassName:ae(N.progressClassName||E.progressClassName),autoClose:!N.isLoading&&(w=N.autoClose,m=E.autoClose,w===!1||ne(w)&&w>0?w:m),deleteToast(){const W=g.get(n),{onClose:U,children:q}=W.props;H(U)&&U(S.isValidElement(q)&&q.props),$(ke(W,"removed")),g.delete(n),k--,k<0&&(k=0),T.length>0?B(T.shift()):V()}};var w,m;p.closeButton=E.closeButton,N.closeButton===!1||Ee(N.closeButton)?p.closeButton=N.closeButton:N.closeButton===!0&&(p.closeButton=!Ee(E.closeButton)||E.closeButton);let C=v;S.isValidElement(v)&&!G(v.type)?C=S.cloneElement(v,{closeToast:l,toastProps:p,data:f}):H(v)&&(C=v({closeToast:l,toastProps:p,data:f}));const j={content:C,props:p,staleId:c};E.limit&&E.limit>0&&k>E.limit&&s?T.push(j):ne(a)?setTimeout(()=>{B(j)},a):B(j)},setProps(v){E=v},setToggle:(v,N)=>{g.get(v).toggle=N},isToastActive:v=>M.some(N=>N===v),getSnapshot:()=>E.newestOnTop?A.reverse():A}}(r,h,nt);z.set(r,_);const P=_.observe(b);return oe.forEach(y=>De(y.content,y.options)),oe=[],()=>{P(),z.delete(r)}},setProps(b){var _;(_=z.get(r))==null||_.setProps(b)},getSnapshot(){var b;return(b=z.get(r))==null?void 0:b.getSnapshot()}}}(e)).current;d(e);const u=S.useSyncExternalStore(t,o,o);return{getToastToRender:function(h){if(!u)return[];const r=new Map;return u.forEach(b=>{const{position:_}=b.props;r.has(_)||r.set(_,[]),r.get(_).push(b)}),Array.from(r,b=>h(b[0],b[1]))},isToastActive:Be,count:u?.length}}function st(e){const[t,o]=S.useState(!1),[d,u]=S.useState(!1),h=S.useRef(null),r=S.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:b,pauseOnHover:_,closeToast:P,onClick:y,closeOnClick:R}=e;var $,O;function k(){o(!0)}function T(){o(!1)}function M(g){const I=h.current;r.canDrag&&I&&(r.didMove=!0,t&&T(),r.delta=e.draggableDirection==="x"?g.clientX-r.start:g.clientY-r.start,r.start!==g.clientX&&(r.canCloseOnClick=!1),I.style.transform=`translate3d(${e.draggableDirection==="x"?`${r.delta}px, var(--y)`:`0, calc(${r.delta}px + var(--y))`},0)`,I.style.opacity=""+(1-Math.abs(r.delta/r.removalDistance)))}function A(){document.removeEventListener("pointermove",M),document.removeEventListener("pointerup",A);const g=h.current;if(r.canDrag&&r.didMove&&g){if(r.canDrag=!1,Math.abs(r.delta)>r.removalDistance)return u(!0),e.closeToast(),void e.collapseAll();g.style.transition="transform 0.2s, opacity 0.2s",g.style.removeProperty("transform"),g.style.removeProperty("opacity")}}(O=z.get(($={id:e.toastId,containerId:e.containerId,fn:o}).containerId||1))==null||O.setToggle($.id,$.fn),S.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||T(),window.addEventListener("focus",k),window.addEventListener("blur",T),()=>{window.removeEventListener("focus",k),window.removeEventListener("blur",T)}},[e.pauseOnFocusLoss]);const E={onPointerDown:function(g){if(e.draggable===!0||e.draggable===g.pointerType){r.didMove=!1,document.addEventListener("pointermove",M),document.addEventListener("pointerup",A);const I=h.current;r.canCloseOnClick=!0,r.canDrag=!0,I.style.transition="none",e.draggableDirection==="x"?(r.start=g.clientX,r.removalDistance=I.offsetWidth*(e.draggablePercent/100)):(r.start=g.clientY,r.removalDistance=I.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(g){const{top:I,bottom:V,left:F,right:B}=h.current.getBoundingClientRect();g.nativeEvent.type!=="touchend"&&e.pauseOnHover&&g.clientX>=F&&g.clientX<=B&&g.clientY>=I&&g.clientY<=V?T():k()}};return b&&_&&(E.onMouseEnter=T,e.stacked||(E.onMouseLeave=k)),R&&(E.onClick=g=>{y&&y(g),r.canCloseOnClick&&P()}),{playToast:k,pauseToast:T,isRunning:t,preventExitTransition:d,toastRef:h,eventHandlers:E}}function rt(e){let{delay:t,isRunning:o,closeToast:d,type:u="default",hide:h,className:r,style:b,controlledProgress:_,progress:P,rtl:y,isIn:R,theme:$}=e;const O=h||_&&P===0,k={...b,animationDuration:`${t}ms`,animationPlayState:o?"running":"paused"};_&&(k.transform=`scaleX(${P})`);const T=Y("Toastify__progress-bar",_?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${$}`,`Toastify__progress-bar--${u}`,{"Toastify__progress-bar--rtl":y}),M=H(r)?r({rtl:y,type:u,defaultClassName:T}):Y(T,r),A={[_&&P>=1?"onTransitionEnd":"onAnimationEnd"]:_&&P<1?null:()=>{R&&d()}};return x.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":O},x.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${$} Toastify__progress-bar--${u}`}),x.createElement("div",{role:"progressbar","aria-hidden":O?"true":"false","aria-label":"notification timer",className:M,style:k,...A}))}let it=1;const je=()=>""+it++;function at(e){return e&&(G(e.toastId)||ne(e.toastId))?e.toastId:je()}function te(e,t){return De(e,t),t.toastId}function ce(e,t){return{...t,type:t&&t.type||e,toastId:at(t)}}function re(e){return(t,o)=>te(t,ce(e,o))}function L(e,t){return te(e,ce("default",t))}L.loading=(e,t)=>te(e,ce("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),L.promise=function(e,t,o){let d,{pending:u,error:h,success:r}=t;u&&(d=G(u)?L.loading(u,o):L.loading(u.render,{...o,...u}));const b={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},_=(y,R,$)=>{if(R==null)return void L.dismiss(d);const O={type:y,...b,...o,data:$},k=G(R)?{render:R}:R;return d?L.update(d,{...O,...k}):L(k.render,{...O,...k}),$},P=H(e)?e():e;return P.then(y=>_("success",r,y)).catch(y=>_("error",h,y)),P},L.success=re("success"),L.info=re("info"),L.error=re("error"),L.warning=re("warning"),L.warn=L.warning,L.dark=(e,t)=>te(e,ce("default",{theme:"dark",...t})),L.dismiss=function(e){(function(t){var o;if($e()){if(t==null||G(o=t)||ne(o))z.forEach(u=>{u.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){var d;(d=z.get(t.containerId))!=null&&d.removeToast(t.id)||z.forEach(u=>{u.removeToast(t.id)})}}else oe=oe.filter(u=>t!=null&&u.options.toastId!==t)})(e)},L.clearWaitingQueue=function(e){e===void 0&&(e={}),z.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},L.isActive=Be,L.update=function(e,t){t===void 0&&(t={});const o=((d,u)=>{var h;let{containerId:r}=u;return(h=z.get(r||1))==null?void 0:h.toasts.get(d)})(e,t);if(o){const{props:d,content:u}=o,h={delay:100,...d,...t,toastId:t.toastId||e,updateId:je()};h.toastId!==e&&(h.staleId=e);const r=h.render||u;delete h.render,te(r,h)}},L.done=e=>{L.update(e,{progress:1})},L.onChange=function(e){return _e.add(e),()=>{_e.delete(e)}},L.play=e=>Pe(!0,e),L.pause=e=>Pe(!1,e);const lt=typeof window<"u"?S.useLayoutEffect:S.useEffect,ie=e=>{let{theme:t,type:o,isLoading:d,...u}=e;return x.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${o})`,...u})},ye={info:function(e){return x.createElement(ie,{...e},x.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return x.createElement(ie,{...e},x.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return x.createElement(ie,{...e},x.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return x.createElement(ie,{...e},x.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return x.createElement("div",{className:"Toastify__spinner"})}},ct=e=>{const{isRunning:t,preventExitTransition:o,toastRef:d,eventHandlers:u,playToast:h}=st(e),{closeButton:r,children:b,autoClose:_,onClick:P,type:y,hideProgressBar:R,closeToast:$,transition:O,position:k,className:T,style:M,bodyClassName:A,bodyStyle:E,progressClassName:g,progressStyle:I,updateId:V,role:F,progress:B,rtl:v,toastId:N,deleteToast:n,isIn:i,isLoading:f,closeOnClick:c,theme:a}=e,l=Y("Toastify__toast",`Toastify__toast-theme--${a}`,`Toastify__toast--${y}`,{"Toastify__toast--rtl":v},{"Toastify__toast--close-on-click":c}),s=H(T)?T({rtl:v,position:k,type:y,defaultClassName:l}):Y(l,T),p=function(j){let{theme:W,type:U,isLoading:q,icon:X}=j,Q=null;const Z={theme:W,type:U};return X===!1||(H(X)?Q=X({...Z,isLoading:q}):S.isValidElement(X)?Q=S.cloneElement(X,Z):q?Q=ye.spinner():(ze=>ze in ye)(U)&&(Q=ye[U](Z))),Q}(e),w=!!B||!_,m={closeToast:$,type:y,theme:a};let C=null;return r===!1||(C=H(r)?r(m):S.isValidElement(r)?S.cloneElement(r,m):function(j){let{closeToast:W,theme:U,ariaLabel:q="close"}=j;return x.createElement("button",{className:`Toastify__close-button Toastify__close-button--${U}`,type:"button",onClick:X=>{X.stopPropagation(),W(X)},"aria-label":q},x.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},x.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(m)),x.createElement(O,{isIn:i,done:n,position:k,preventExitTransition:o,nodeRef:d,playToast:h},x.createElement("div",{id:N,onClick:P,"data-in":i,className:s,...u,style:M,ref:d},x.createElement("div",{...i&&{role:F},className:H(A)?A({type:y}):Y("Toastify__toast-body",A),style:E},p!=null&&x.createElement("div",{className:Y("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!f})},p),x.createElement("div",null,b)),C,x.createElement(rt,{...V&&!w?{key:`pb-${V}`}:{},rtl:v,theme:a,delay:_,isRunning:t,isIn:i,closeToast:$,hide:R,type:y,style:I,className:g,controlledProgress:w,progress:B||0})))},de=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},ut=ue(de("bounce",!0));ue(de("slide",!0));ue(de("zoom"));ue(de("flip"));const dt={position:"top-right",transition:ut,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function bt(e){let t={...dt,...e};const o=e.stacked,[d,u]=S.useState(!0),h=S.useRef(null),{getToastToRender:r,isToastActive:b,count:_}=ot(t),{className:P,style:y,rtl:R,containerId:$}=t;function O(T){const M=Y("Toastify__toast-container",`Toastify__toast-container--${T}`,{"Toastify__toast-container--rtl":R});return H(P)?P({position:T,rtl:R,defaultClassName:M}):Y(M,ae(P))}function k(){o&&(u(!0),L.play())}return lt(()=>{if(o){var T;const M=h.current.querySelectorAll('[data-in="true"]'),A=12,E=(T=t.position)==null?void 0:T.includes("top");let g=0,I=0;Array.from(M).reverse().forEach((V,F)=>{const B=V;B.classList.add("Toastify__toast--stacked"),F>0&&(B.dataset.collapsed=`${d}`),B.dataset.pos||(B.dataset.pos=E?"top":"bot");const v=g*(d?.2:1)+(d?0:A*F);B.style.setProperty("--y",`${E?v:-1*v}px`),B.style.setProperty("--g",`${A}`),B.style.setProperty("--s",""+(1-(d?I:0))),g+=B.offsetHeight,I+=.025})}},[d,_,o]),x.createElement("div",{ref:h,className:"Toastify",id:$,onMouseEnter:()=>{o&&(u(!1),L.pause())},onMouseLeave:k},r((T,M)=>{const A=M.length?{...y}:{...y,pointerEvents:"none"};return x.createElement("div",{className:O(T),style:A,key:`container-${T}`},M.map(E=>{let{content:g,props:I}=E;return x.createElement(ct,{...I,stacked:o,collapseAll:k,isIn:b(I.toastId,I.containerId),style:I.style,key:`toast-${I.key}`},g)}))}))}const ft={success:J.jsx("i",{className:"icon-[mingcute--check-fill] text-uk-green-light"}),error:J.jsx("i",{className:"icon-[mingcute--close-fill] text-uk-red-light"}),info:J.jsx("i",{className:"icon-[mingcute--information-fill] text-uk-blue-light"}),warning:J.jsx("i",{className:"icon-[mingcute--alert-fill] text-uk-orange-light"}),default:J.jsx("i",{className:"icon-[mingcute--information-fill] text-uk-blue-light"})},pt=e=>{const{iconElement:t,message:o,closeToast:d,onClick:u}=e,h=u?Te.button:Te.div;return J.jsxs(h,{layout:"position",className:Y("relative w-full overflow-hidden rounded-xl card-shadow","my-4 mr-4 px-4 py-5 pr-7","bg-zinc-50/90 backdrop-blur-sm dark:bg-neutral-900/90","border border-slate-100/80 dark:border-neutral-900/80","space-x-4","flex items-center","select-none","[&>i]:flex-shrink-0","[&>svg]:flex-shrink-0"),onClick:u,children:[t??ft[e.toastProps?.type??"default"],J.jsx("span",{className:"text-left",children:o}),J.jsx(Ve,{"aria-label":"Close toast",className:"absolute bottom-0 right-3 top-0 flex items-center text-sm text-base-content/40 duration-200 hover:text-base-content/80",onClick:r=>{r.stopPropagation(),d?.()},children:J.jsx("i",{className:"icon-[mingcute--close-fill] p-2"})})]})},gt={position:"bottom-right",autoClose:3e3,pauseOnHover:!0,hideProgressBar:!0,closeOnClick:!0,closeButton:!1},be=(e,t,o)=>{const{iconElement:d,onClick:u,...h}=o||{};return L(S.createElement(pt,{message:e,iconElement:d,onClick:u}),{type:t,...gt,...h})};["success","info","warn","error"].forEach(e=>{be[e]=(t,o)=>be(t,e,o)});Object.assign(be,{dismiss:L.dismiss});export{yt as P,bt as Q,He as a,Re as b,Oe as c,Ke as d,Le as e,et as i,Ae as r,_t as s,be as t,Et as u}; diff --git a/assets/tsx-7LxggtAE.js b/assets/tsx-7LxggtAE.js new file mode 100644 index 00000000000..cf98b7630dd --- /dev/null +++ b/assets/tsx-7LxggtAE.js @@ -0,0 +1,699 @@ +const e=Object.freeze({displayName:"TSX",name:"tsx",patterns:[{include:"#directives"},{include:"#statements"},{include:"#shebang"}],repository:{"access-modifier":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(abstract|declare|override|public|protected|private|readonly|static)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.tsx"},"after-operator-block-as-object-literal":{begin:"(?<!\\+\\+|--)(?<=[:=(,\\[?+!>]|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^yield|[^\\._$[:alnum:]]yield|^throw|[^\\._$[:alnum:]]throw|^in|[^\\._$[:alnum:]]in|^of|[^\\._$[:alnum:]]of|^typeof|[^\\._$[:alnum:]]typeof|&&|\\|\\||\\*)\\s*(\\{)",beginCaptures:{1:{name:"punctuation.definition.block.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},name:"meta.objectliteral.tsx",patterns:[{include:"#object-member"}]},"array-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"punctuation.definition.binding-pattern.array.tsx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.tsx"}},patterns:[{include:"#binding-element"},{include:"#punctuation-comma"}]},"array-binding-pattern-const":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"punctuation.definition.binding-pattern.array.tsx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.tsx"}},patterns:[{include:"#binding-element-const"},{include:"#punctuation-comma"}]},"array-literal":{begin:"\\s*(\\[)",beginCaptures:{1:{name:"meta.brace.square.tsx"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.tsx"}},name:"meta.array.literal.tsx",patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},"arrow-function":{patterns:[{captures:{1:{name:"storage.modifier.async.tsx"},2:{name:"variable.parameter.tsx"}},match:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync)\\s+)?([_$[:alpha:]][_$[:alnum:]]*)\\s*(?==>)",name:"meta.arrow.tsx"},{begin:`(?x) (?: +(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync) +)? ((?<![})!\\]])\\s* +(?= + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +) +)`,beginCaptures:{1:{name:"storage.modifier.async.tsx"}},end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",name:"meta.arrow.tsx",patterns:[{include:"#comment"},{include:"#type-parameters"},{include:"#function-parameters"},{include:"#arrow-return-type"},{include:"#possibly-arrow-return-type"}]},{begin:"=>",beginCaptures:{0:{name:"storage.type.function.arrow.tsx"}},end:"((?<=\\}|\\S)(?<!=>)|((?!\\{)(?=\\S)))(?!\\/[\\/\\*])",name:"meta.arrow.tsx",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#decl-block"},{include:"#expression"}]}]},"arrow-return-type":{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.tsx"}},end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",name:"meta.return.type.arrow.tsx",patterns:[{include:"#arrow-return-type-body"}]},"arrow-return-type-body":{patterns:[{begin:"(?<=[:])(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},"async-modifier":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(async)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.async.tsx"},"binding-element":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#object-binding-pattern"},{include:"#array-binding-pattern"},{include:"#destructuring-variable-rest"},{include:"#variable-initializer"}]},"binding-element-const":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#object-binding-pattern-const"},{include:"#array-binding-pattern-const"},{include:"#destructuring-variable-rest-const"},{include:"#variable-initializer"}]},"boolean-literal":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))true(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.boolean.true.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))false(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.boolean.false.tsx"}]},brackets:{patterns:[{begin:"{",end:"}|(?=\\*/)",patterns:[{include:"#brackets"}]},{begin:"\\[",end:"\\]|(?=\\*/)",patterns:[{include:"#brackets"}]}]},cast:{patterns:[{include:"#jsx"}]},"class-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(class)\\b(?=\\s+|/[/*])",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.modifier.tsx"},4:{name:"storage.type.class.tsx"}},end:"(?<=\\})",name:"meta.class.tsx",patterns:[{include:"#class-declaration-or-expression-patterns"}]},"class-declaration-or-expression-patterns":{patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{captures:{0:{name:"entity.name.type.class.tsx"}},match:"[_$[:alpha:]][_$[:alnum:]]*"},{include:"#type-parameters"},{include:"#class-or-interface-body"}]},"class-expression":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(class)\\b(?=\\s+|[<{]|\\/[\\/*])",beginCaptures:{1:{name:"storage.modifier.tsx"},2:{name:"storage.type.class.tsx"}},end:"(?<=\\})",name:"meta.class.tsx",patterns:[{include:"#class-declaration-or-expression-patterns"}]},"class-or-interface-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},patterns:[{include:"#comment"},{include:"#decorator"},{begin:"(?<=:)\\s*",end:"(?=\\s|[;),}\\]:\\-\\+]|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{include:"#method-declaration"},{include:"#indexer-declaration"},{include:"#field-declaration"},{include:"#string"},{include:"#type-annotation"},{include:"#variable-initializer"},{include:"#access-modifier"},{include:"#property-accessor"},{include:"#async-modifier"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#expression"},{include:"#punctuation-comma"},{include:"#punctuation-semicolon"}]},"class-or-interface-heritage":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(extends|implements)\\b)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"storage.modifier.tsx"}},end:"(?=\\{)",patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{include:"#type-parameters"},{include:"#expressionWithoutIdentifiers"},{captures:{1:{name:"entity.name.type.module.tsx"},2:{name:"punctuation.accessor.tsx"},3:{name:"punctuation.accessor.optional.tsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))(?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s*\\??\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)*\\s*)"},{captures:{1:{name:"entity.other.inherited-class.tsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)"},{include:"#expressionPunctuations"}]},comment:{patterns:[{begin:"/\\*\\*(?!/)",beginCaptures:{0:{name:"punctuation.definition.comment.tsx"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.tsx"}},name:"comment.block.documentation.tsx",patterns:[{include:"#docblock"}]},{begin:"(/\\*)(?:\\s*((@)internal)(?=\\s|(\\*/)))?",beginCaptures:{1:{name:"punctuation.definition.comment.tsx"},2:{name:"storage.type.internaldeclaration.tsx"},3:{name:"punctuation.decorator.internaldeclaration.tsx"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.tsx"}},name:"comment.block.tsx"},{begin:"(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.tsx"},2:{name:"comment.line.double-slash.tsx"},3:{name:"punctuation.definition.comment.tsx"},4:{name:"storage.type.internaldeclaration.tsx"},5:{name:"punctuation.decorator.internaldeclaration.tsx"}},contentName:"comment.line.double-slash.tsx",end:"(?=$)"}]},"control-statement":{patterns:[{include:"#switch-statement"},{include:"#for-loop"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(catch|finally|throw|try)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.trycatch.tsx"},{captures:{1:{name:"keyword.control.loop.tsx"},2:{name:"entity.name.label.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|goto)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|do|goto|while)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.loop.tsx"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(return)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{0:{name:"keyword.control.flow.tsx"}},end:"(?=[;}]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default|switch)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.switch.tsx"},{include:"#if-statement"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(else|if)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.conditional.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(with)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.with.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(package)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(debugger)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.other.debugger.tsx"}]},"decl-block":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},name:"meta.block.tsx",patterns:[{include:"#statements"}]},declaration:{patterns:[{include:"#decorator"},{include:"#var-expr"},{include:"#function-declaration"},{include:"#class-declaration"},{include:"#interface-declaration"},{include:"#enum-declaration"},{include:"#namespace-declaration"},{include:"#type-alias-declaration"},{include:"#import-equals-declaration"},{include:"#import-declaration"},{include:"#export-declaration"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(declare|export)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.tsx"}]},decorator:{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))\\@",beginCaptures:{0:{name:"punctuation.decorator.tsx"}},end:"(?=\\s)",name:"meta.decorator.tsx",patterns:[{include:"#expression"}]},"destructuring-const":{patterns:[{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\{)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.object-binding-pattern-variable.tsx",patterns:[{include:"#object-binding-pattern-const"},{include:"#type-annotation"},{include:"#comment"}]},{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\[)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.array-binding-pattern-variable.tsx",patterns:[{include:"#array-binding-pattern-const"},{include:"#type-annotation"},{include:"#comment"}]}]},"destructuring-parameter":{patterns:[{begin:"(?<!=|:)\\s*(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"punctuation.definition.binding-pattern.object.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.tsx"}},name:"meta.parameter.object-binding-pattern.tsx",patterns:[{include:"#parameter-object-binding-element"}]},{begin:"(?<!=|:)\\s*(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"punctuation.definition.binding-pattern.array.tsx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.tsx"}},name:"meta.paramter.array-binding-pattern.tsx",patterns:[{include:"#parameter-binding-element"},{include:"#punctuation-comma"}]}]},"destructuring-parameter-rest":{captures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"variable.parameter.tsx"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},"destructuring-variable":{patterns:[{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\{)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.object-binding-pattern-variable.tsx",patterns:[{include:"#object-binding-pattern"},{include:"#type-annotation"},{include:"#comment"}]},{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\[)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.array-binding-pattern-variable.tsx",patterns:[{include:"#array-binding-pattern"},{include:"#type-annotation"},{include:"#comment"}]}]},"destructuring-variable-rest":{captures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"meta.definition.variable.tsx variable.other.readwrite.tsx"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},"destructuring-variable-rest-const":{captures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"meta.definition.variable.tsx variable.other.constant.tsx"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},directives:{begin:"^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",beginCaptures:{1:{name:"punctuation.definition.comment.tsx"}},end:"(?=$)",name:"comment.line.triple-slash.directive.tsx",patterns:[{begin:"(<)(reference|amd-dependency|amd-module)",beginCaptures:{1:{name:"punctuation.definition.tag.directive.tsx"},2:{name:"entity.name.tag.directive.tsx"}},end:"/>",endCaptures:{0:{name:"punctuation.definition.tag.directive.tsx"}},name:"meta.tag.tsx",patterns:[{match:"path|types|no-default-lib|lib|name|resolution-mode",name:"entity.other.attribute-name.directive.tsx"},{match:"=",name:"keyword.operator.assignment.tsx"},{include:"#string"}]}]},docblock:{patterns:[{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"constant.language.access-type.jsdoc"}},match:`(?x) +((@)(?:access|api)) +\\s+ +(private|protected|public) +\\b`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"},4:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},5:{name:"constant.other.email.link.underline.jsdoc"},6:{name:"punctuation.definition.bracket.angle.end.jsdoc"}},match:`(?x) +((@)author) +\\s+ +( +[^@\\s<>*/] +(?:[^@<>*/]|\\*[^/])* +) +(?: +\\s* +(<) +([^>\\s]+) +(>) +)?`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"},4:{name:"keyword.operator.control.jsdoc"},5:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +((@)borrows) \\s+ +((?:[^@\\s*/]|\\*[^/])+) +\\s+ (as) \\s+ +((?:[^@\\s*/]|\\*[^/])+)`},{begin:"((@)example)\\s+",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=@|\\*/)",name:"meta.example.jsdoc",patterns:[{match:"^\\s\\*\\s+"},{begin:"\\G(<)caption(>)",beginCaptures:{0:{name:"entity.name.tag.inline.jsdoc"},1:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},2:{name:"punctuation.definition.bracket.angle.end.jsdoc"}},contentName:"constant.other.description.jsdoc",end:"(</)caption(>)|(?=\\*/)",endCaptures:{0:{name:"entity.name.tag.inline.jsdoc"},1:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},2:{name:"punctuation.definition.bracket.angle.end.jsdoc"}}},{captures:{0:{name:"source.embedded.tsx"}},match:"[^\\s@*](?:[^*]|\\*[^/])*"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"constant.language.symbol-type.jsdoc"}},match:"(?x) ((@)kind) \\s+ (class|constant|event|external|file|function|member|mixin|module|namespace|typedef) \\b"},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.link.underline.jsdoc"},4:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +((@)see) +\\s+ +(?: + +( +(?=https?://) +(?:[^\\s*]|\\*[^/])+ +) +| + +( +(?! + +https?:// +| + +(?:\\[[^\\[\\]]*\\])? +{@(?:link|linkcode|linkplain|tutorial)\\b +) + +(?:[^@\\s*/]|\\*[^/])+ +) +)`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:`(?x) +((@)template) +\\s+ +# One or more valid identifiers +( +[A-Za-z_$] +[\\w$.\\[\\]]* +(?: +\\s* , \\s* +[A-Za-z_$] +[\\w$.\\[\\]]* +)* +)`},{begin:"(?x)((@)template)\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"([A-Za-z_$][\\w$.\\[\\]]*)",name:"variable.other.jsdoc"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:`(?x) +( +(@) +(?:arg|argument|const|constant|member|namespace|param|var) +) +\\s+ +( +[A-Za-z_$] +[\\w$.\\[\\]]* +)`},{begin:"((@)typedef)\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"(?:[^@\\s*/]|\\*[^/])+",name:"entity.name.type.instance.jsdoc"}]},{begin:"((@)(?:arg|argument|const|constant|member|namespace|param|prop|property|var))\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"([A-Za-z_$][\\w$.\\[\\]]*)",name:"variable.other.jsdoc"},{captures:{1:{name:"punctuation.definition.optional-value.begin.bracket.square.jsdoc"},2:{name:"keyword.operator.assignment.jsdoc"},3:{name:"source.embedded.tsx"},4:{name:"punctuation.definition.optional-value.end.bracket.square.jsdoc"},5:{name:"invalid.illegal.syntax.jsdoc"}},match:`(?x) +(\\[)\\s* +[\\w$]+ +(?: +(?:\\[\\])? +\\. +[\\w$]+ +)* +(?: +\\s* +(=) +\\s* +( + +(?> +"(?:(?:\\*(?!/))|(?:\\\\(?!"))|[^*\\\\])*?" | +'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?' | +\\[ (?:(?:\\*(?!/))|[^*])*? \\] | +(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])* +)* +) +)? +\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))`,name:"variable.other.jsdoc"}]},{begin:`(?x) +( +(@) +(?:define|enum|exception|export|extends|lends|implements|modifies +|namespace|private|protected|returns?|satisfies|suppress|this|throws|type +|yields?) +) +\\s+(?={)`,beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +( +(@) +(?:alias|augments|callback|constructs|emits|event|fires|exports? +|extends|external|function|func|host|lends|listens|interface|memberof!? +|method|module|mixes|mixin|name|requires|see|this|typedef|uses) +) +\\s+ +( +(?: +[^{}@\\s*] | \\*[^/] +)+ +)`},{begin:`((@)(?:default(?:value)?|license|version))\\s+(([''"]))`,beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"},4:{name:"punctuation.definition.string.begin.jsdoc"}},contentName:"variable.other.jsdoc",end:"(\\3)|(?=$|\\*/)",endCaptures:{0:{name:"variable.other.jsdoc"},1:{name:"punctuation.definition.string.end.jsdoc"}}},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:"((@)(?:default(?:value)?|license|tutorial|variation|version))\\s+([^\\s*]+)"},{captures:{1:{name:"punctuation.definition.block.tag.jsdoc"}},match:"(?x) (@) (?:abstract|access|alias|api|arg|argument|async|attribute|augments|author|beta|borrows|bubbles |callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright |default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exception |exports?|extends|extension(?:_?for)?|external|externs|file|fileoverview|final|fires|for|func |function|generator|global|hideconstructor|host|ignore|implements|implicitCast|inherit[Dd]oc |inner|instance|interface|internal|kind|lends|license|listens|main|member|memberof!?|method |mixes|mixins?|modifies|module|name|namespace|noalias|nocollapse|nocompile|nosideeffects |override|overview|package|param|polymer(?:Behavior)?|preserve|private|prop|property|protected |public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary |suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation |version|virtual|writeOnce|yields?) \\b",name:"storage.type.class.jsdoc"},{include:"#inline-tags"},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},match:"((@)(?:[_$[:alpha:]][_$[:alnum:]]*))(?=\\s+)"}]},"enum-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(?:\\b(const)\\s+)?\\b(enum)\\s+([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.modifier.tsx"},4:{name:"storage.type.enum.tsx"},5:{name:"entity.name.type.enum.tsx"}},end:"(?<=\\})",name:"meta.enum.declaration.tsx",patterns:[{include:"#comment"},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},patterns:[{include:"#comment"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{0:{name:"variable.other.enummember.tsx"}},end:"(?=,|\\}|$)",patterns:[{include:"#comment"},{include:"#variable-initializer"}]},{begin:"(?=((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\])))",end:"(?=,|\\}|$)",patterns:[{include:"#string"},{include:"#array-literal"},{include:"#comment"},{include:"#variable-initializer"}]},{include:"#punctuation-comma"}]}]},"export-declaration":{patterns:[{captures:{1:{name:"keyword.control.export.tsx"},2:{name:"keyword.control.as.tsx"},3:{name:"storage.type.namespace.tsx"},4:{name:"entity.name.type.module.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)\\s+(as)\\s+(namespace)\\s+([_$[:alpha:]][_$[:alnum:]]*)"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)(?:\\s+(type))?(?:(?:\\s*(=))|(?:\\s+(default)(?=\\s+)))",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"keyword.control.type.tsx"},3:{name:"keyword.operator.assignment.tsx"},4:{name:"keyword.control.default.tsx"}},end:"(?=$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.export.default.tsx",patterns:[{include:"#interface-declaration"},{include:"#expression"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)(?:\\s+(type))?\\b(?!(\\$)|(\\s*:))((?=\\s*[\\{*])|((?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s|,))(?!\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"keyword.control.type.tsx"}},end:"(?=$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.export.tsx",patterns:[{include:"#import-export-declaration"}]}]},expression:{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},"expression-inside-possibly-arrow-parens":{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#comment"},{include:"#string"},{include:"#decorator"},{include:"#destructuring-parameter"},{captures:{1:{name:"storage.modifier.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|protected|private|readonly)\\s+(?=(override|public|protected|private|readonly)\\s+)"},{captures:{1:{name:"storage.modifier.tsx"},2:{name:"keyword.operator.rest.tsx"},3:{name:"entity.name.function.tsx variable.language.this.tsx"},4:{name:"entity.name.function.tsx"},5:{name:"keyword.operator.optional.tsx"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{captures:{1:{name:"storage.modifier.tsx"},2:{name:"keyword.operator.rest.tsx"},3:{name:"variable.parameter.tsx variable.language.this.tsx"},4:{name:"variable.parameter.tsx"},5:{name:"keyword.operator.optional.tsx"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s*[:,]|$)"},{include:"#type-annotation"},{include:"#variable-initializer"},{match:",",name:"punctuation.separator.parameter.tsx"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},"expression-operators":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(await)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.flow.tsx"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(yield)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?=\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*\\*)",beginCaptures:{1:{name:"keyword.control.flow.tsx"}},end:"\\*",endCaptures:{0:{name:"keyword.generator.asterisk.tsx"}},patterns:[{include:"#comment"}]},{captures:{1:{name:"keyword.control.flow.tsx"},2:{name:"keyword.generator.asterisk.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(yield)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s*(\\*))?"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))delete(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.delete.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))in(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?!\\()",name:"keyword.operator.expression.in.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))of(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?!\\()",name:"keyword.operator.expression.of.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))instanceof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.instanceof.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))new(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.new.tsx"},{include:"#typeof-operator"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))void(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.void.tsx"},{captures:{1:{name:"keyword.control.as.tsx"},2:{name:"storage.modifier.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+(const)(?=\\s*($|[;,:})\\]]))"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(as)|(satisfies))\\s+",beginCaptures:{1:{name:"keyword.control.as.tsx"},2:{name:"keyword.control.satisfies.tsx"}},end:"(?=^|[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as|satisfies)\\s+)|(\\s+\\<))",patterns:[{include:"#type"}]},{match:"\\.\\.\\.",name:"keyword.operator.spread.tsx"},{match:"\\*=|(?<!\\()/=|%=|\\+=|\\-=",name:"keyword.operator.assignment.compound.tsx"},{match:"\\&=|\\^=|<<=|>>=|>>>=|\\|=",name:"keyword.operator.assignment.compound.bitwise.tsx"},{match:"<<|>>>|>>",name:"keyword.operator.bitwise.shift.tsx"},{match:"===|!==|==|!=",name:"keyword.operator.comparison.tsx"},{match:"<=|>=|<>|<|>",name:"keyword.operator.relational.tsx"},{captures:{1:{name:"keyword.operator.logical.tsx"},2:{name:"keyword.operator.assignment.compound.tsx"},3:{name:"keyword.operator.arithmetic.tsx"}},match:"(?<=[_$[:alnum:]])(\\!)\\s*(?:(/=)|(?:(/)(?![/*])))"},{match:"\\!|&&|\\|\\||\\?\\?",name:"keyword.operator.logical.tsx"},{match:"\\&|~|\\^|\\|",name:"keyword.operator.bitwise.tsx"},{match:"\\=",name:"keyword.operator.assignment.tsx"},{match:"--",name:"keyword.operator.decrement.tsx"},{match:"\\+\\+",name:"keyword.operator.increment.tsx"},{match:"%|\\*|/|-|\\+",name:"keyword.operator.arithmetic.tsx"},{begin:"(?<=[_$[:alnum:])\\]])\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)+(?:(/=)|(?:(/)(?![/*]))))",end:"(?:(/=)|(?:(/)(?!\\*([^\\*]|(\\*[^\\/]))*\\*\\/)))",endCaptures:{1:{name:"keyword.operator.assignment.compound.tsx"},2:{name:"keyword.operator.arithmetic.tsx"}},patterns:[{include:"#comment"}]},{captures:{1:{name:"keyword.operator.assignment.compound.tsx"},2:{name:"keyword.operator.arithmetic.tsx"}},match:"(?<=[_$[:alnum:])\\]])\\s*(?:(/=)|(?:(/)(?![/*])))"}]},expressionPunctuations:{patterns:[{include:"#punctuation-comma"},{include:"#punctuation-accessor"}]},expressionWithoutIdentifiers:{patterns:[{include:"#jsx"},{include:"#string"},{include:"#regex"},{include:"#comment"},{include:"#function-expression"},{include:"#class-expression"},{include:"#arrow-function"},{include:"#paren-expression-possibly-arrow"},{include:"#cast"},{include:"#ternary-expression"},{include:"#new-expr"},{include:"#instanceof-expr"},{include:"#object-literal"},{include:"#expression-operators"},{include:"#function-call"},{include:"#literal"},{include:"#support-objects"},{include:"#paren-expression"}]},"field-declaration":{begin:`(?x)(?<!\\()(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)\\s+)?(?=\\s*((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|(\\#?[_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(?:(?:(\\?)|(\\!))\\s*)?(=|:|;|,|\\}|$))`,beginCaptures:{1:{name:"storage.modifier.tsx"}},end:`(?x)(?=\\}|;|,|$|(^(?!\\s*((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|(\\#?[_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(?:(?:(\\?)|(\\!))\\s*)?(=|:|;|,|$))))|(?<=\\})`,name:"meta.field.declaration.tsx",patterns:[{include:"#variable-initializer"},{include:"#type-annotation"},{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{include:"#comment"},{captures:{1:{name:"meta.definition.property.tsx entity.name.function.tsx"},2:{name:"keyword.operator.optional.tsx"},3:{name:"keyword.operator.definiteassignment.tsx"}},match:`(?x)(\\#?[_$[:alpha:]][_$[:alnum:]]*)(?:(\\?)|(\\!))?(?=\\s*\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{match:"\\#?[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.property.tsx variable.object.property.tsx"},{match:"\\?",name:"keyword.operator.optional.tsx"},{match:"\\!",name:"keyword.operator.definiteassignment.tsx"}]},"for-loop":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))for(?=((\\s+|(\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*))await)?\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)?(\\())",beginCaptures:{0:{name:"keyword.control.loop.tsx"}},end:"(?<=\\))",patterns:[{include:"#comment"},{match:"await",name:"keyword.control.loop.tsx"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},patterns:[{include:"#var-expr"},{include:"#expression"},{include:"#punctuation-semicolon"}]}]},"function-body":{patterns:[{include:"#comment"},{include:"#type-parameters"},{include:"#function-parameters"},{include:"#return-type"},{include:"#type-function-return-type"},{include:"#decl-block"},{match:"\\*",name:"keyword.generator.asterisk.tsx"}]},"function-call":{patterns:[{begin:"(?=(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",end:"(?<=\\))(?!(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))",end:"(?=\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",name:"meta.function-call.tsx",patterns:[{include:"#function-call-target"}]},{include:"#comment"},{include:"#function-call-optionals"},{include:"#type-arguments"},{include:"#paren-expression"}]},{begin:"(?=(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))(<\\s*[\\{\\[\\(]\\s*$))",end:"(?<=\\>)(?!(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))(<\\s*[\\{\\[\\(]\\s*$))",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))",end:"(?=(<\\s*[\\{\\[\\(]\\s*$))",name:"meta.function-call.tsx",patterns:[{include:"#function-call-target"}]},{include:"#comment"},{include:"#function-call-optionals"},{include:"#type-arguments"}]}]},"function-call-optionals":{patterns:[{match:"\\?\\.",name:"meta.function-call.tsx punctuation.accessor.optional.tsx"},{match:"\\!",name:"meta.function-call.tsx keyword.operator.definiteassignment.tsx"}]},"function-call-target":{patterns:[{include:"#support-function-call-identifiers"},{match:"(\\#?[_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.function.tsx"}]},"function-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(?:(async)\\s+)?(function\\b)(?:\\s*(\\*))?(?:(?:\\s+|(?<=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.modifier.async.tsx"},4:{name:"storage.type.function.tsx"},5:{name:"keyword.generator.asterisk.tsx"},6:{name:"meta.definition.function.tsx entity.name.function.tsx"}},end:"(?=;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|(?<=\\})",name:"meta.function.tsx",patterns:[{include:"#function-name"},{include:"#function-body"}]},"function-expression":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(async)\\s+)?(function\\b)(?:\\s*(\\*))?(?:(?:\\s+|(?<=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*",beginCaptures:{1:{name:"storage.modifier.async.tsx"},2:{name:"storage.type.function.tsx"},3:{name:"keyword.generator.asterisk.tsx"},4:{name:"meta.definition.function.tsx entity.name.function.tsx"}},end:"(?=;)|(?<=\\})",name:"meta.function.expression.tsx",patterns:[{include:"#function-name"},{include:"#single-line-comment-consuming-line-ending"},{include:"#function-body"}]},"function-name":{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.function.tsx entity.name.function.tsx"},"function-parameters":{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.tsx"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.tsx"}},name:"meta.parameters.tsx",patterns:[{include:"#function-parameters-body"}]},"function-parameters-body":{patterns:[{include:"#comment"},{include:"#string"},{include:"#decorator"},{include:"#destructuring-parameter"},{include:"#parameter-name"},{include:"#parameter-type-annotation"},{include:"#variable-initializer"},{match:",",name:"punctuation.separator.parameter.tsx"}]},identifiers:{patterns:[{include:"#object-identifiers"},{captures:{1:{name:"punctuation.accessor.tsx"},2:{name:"punctuation.accessor.optional.tsx"},3:{name:"entity.name.function.tsx"}},match:`(?x)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*)?([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +))`},{captures:{1:{name:"punctuation.accessor.tsx"},2:{name:"punctuation.accessor.optional.tsx"},3:{name:"variable.other.constant.property.tsx"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(\\#?[[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])"},{captures:{1:{name:"punctuation.accessor.tsx"},2:{name:"punctuation.accessor.optional.tsx"},3:{name:"variable.other.property.tsx"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*)"},{match:"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])",name:"variable.other.constant.tsx"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"variable.other.readwrite.tsx"}]},"if-statement":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?=\\bif\\s*(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))\\s*(?!\\{))",end:"(?=;|$|\\})",patterns:[{include:"#comment"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(if)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.conditional.tsx"},2:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},patterns:[{include:"#expression"}]},{begin:"(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{0:{name:"punctuation.definition.string.begin.tsx"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.tsx"},2:{name:"keyword.other.tsx"}},name:"string.regexp.tsx",patterns:[{include:"#regexp"}]},{include:"#statements"}]}]},"import-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type)(?!\\s+from))?(?!\\s*[:\\(])(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"keyword.control.import.tsx"},4:{name:"keyword.control.type.tsx"}},end:"(?<!^import|[^\\._$[:alnum:]]import)(?=;|$|^)",name:"meta.import.tsx",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#string"},{begin:`(?<=^import|[^\\._$[:alnum:]]import)(?!\\s*["'])`,end:"\\bfrom\\b",endCaptures:{0:{name:"keyword.control.from.tsx"}},patterns:[{include:"#import-export-declaration"}]},{include:"#import-export-declaration"}]},"import-equals-declaration":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type))?\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)\\s*(require)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"keyword.control.import.tsx"},4:{name:"keyword.control.type.tsx"},5:{name:"variable.other.readwrite.alias.tsx"},6:{name:"keyword.operator.assignment.tsx"},7:{name:"keyword.control.require.tsx"},8:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},name:"meta.import-equals.external.tsx",patterns:[{include:"#comment"},{include:"#string"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type))?\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)\\s*(?!require\\b)",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"keyword.control.import.tsx"},4:{name:"keyword.control.type.tsx"},5:{name:"variable.other.readwrite.alias.tsx"},6:{name:"keyword.operator.assignment.tsx"}},end:"(?=;|$|^)",name:"meta.import-equals.internal.tsx",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{captures:{1:{name:"entity.name.type.module.tsx"},2:{name:"punctuation.accessor.tsx"},3:{name:"punctuation.accessor.optional.tsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.other.readwrite.tsx"}]}]},"import-export-assert-clause":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(with)|(assert))\\s*(\\{)",beginCaptures:{1:{name:"keyword.control.with.tsx"},2:{name:"keyword.control.assert.tsx"},3:{name:"punctuation.definition.block.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},patterns:[{include:"#comment"},{include:"#string"},{match:"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object-literal.key.tsx"},{match:":",name:"punctuation.separator.key-value.tsx"}]},"import-export-block":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},name:"meta.block.tsx",patterns:[{include:"#import-export-clause"}]},"import-export-clause":{patterns:[{include:"#comment"},{captures:{1:{name:"keyword.control.type.tsx"},2:{name:"keyword.control.default.tsx"},3:{name:"constant.language.import-export-all.tsx"},4:{name:"variable.other.readwrite.tsx"},5:{name:"keyword.control.as.tsx"},6:{name:"keyword.control.default.tsx"},7:{name:"variable.other.readwrite.alias.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$[:alpha:]][_$[:alnum:]]*)))\\s+(as)\\s+(?:(default(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$[:alpha:]][_$[:alnum:]]*))"},{include:"#punctuation-comma"},{match:"\\*",name:"constant.language.import-export-all.tsx"},{match:"\\b(default)\\b",name:"keyword.control.default.tsx"},{captures:{1:{name:"keyword.control.type.tsx"},2:{name:"variable.other.readwrite.alias.tsx"}},match:"(?:(\\btype)\\s+)?([_$[:alpha:]][_$[:alnum:]]*)"}]},"import-export-declaration":{patterns:[{include:"#comment"},{include:"#string"},{include:"#import-export-block"},{match:"\\bfrom\\b",name:"keyword.control.from.tsx"},{include:"#import-export-assert-clause"},{include:"#import-export-clause"}]},"indexer-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)\\s*)?\\s*(\\[)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=:)",beginCaptures:{1:{name:"storage.modifier.tsx"},2:{name:"meta.brace.square.tsx"},3:{name:"variable.parameter.tsx"}},end:"(\\])\\s*(\\?\\s*)?|$",endCaptures:{1:{name:"meta.brace.square.tsx"},2:{name:"keyword.operator.optional.tsx"}},name:"meta.indexer.declaration.tsx",patterns:[{include:"#type-annotation"}]},"indexer-mapped-type-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([+-])?(readonly)\\s*)?\\s*(\\[)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s+(in)\\s+",beginCaptures:{1:{name:"keyword.operator.type.modifier.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"meta.brace.square.tsx"},4:{name:"entity.name.type.tsx"},5:{name:"keyword.operator.expression.in.tsx"}},end:"(\\])([+-])?\\s*(\\?\\s*)?|$",endCaptures:{1:{name:"meta.brace.square.tsx"},2:{name:"keyword.operator.type.modifier.tsx"},3:{name:"keyword.operator.optional.tsx"}},name:"meta.indexer.mappedtype.declaration.tsx",patterns:[{captures:{1:{name:"keyword.control.as.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+"},{include:"#type"}]},"inline-tags":{patterns:[{captures:{1:{name:"punctuation.definition.bracket.square.begin.jsdoc"},2:{name:"punctuation.definition.bracket.square.end.jsdoc"}},match:"(\\[)[^\\]]+(\\])(?={@(?:link|linkcode|linkplain|tutorial))",name:"constant.other.description.jsdoc"},{begin:"({)((@)(?:link(?:code|plain)?|tutorial))\\s*",beginCaptures:{1:{name:"punctuation.definition.bracket.curly.begin.jsdoc"},2:{name:"storage.type.class.jsdoc"},3:{name:"punctuation.definition.inline.tag.jsdoc"}},end:"}|(?=\\*/)",endCaptures:{0:{name:"punctuation.definition.bracket.curly.end.jsdoc"}},name:"entity.name.type.instance.jsdoc",patterns:[{captures:{1:{name:"variable.other.link.underline.jsdoc"},2:{name:"punctuation.separator.pipe.jsdoc"}},match:"\\G((?=https?://)(?:[^|}\\s*]|\\*[/])+)(\\|)?"},{captures:{1:{name:"variable.other.description.jsdoc"},2:{name:"punctuation.separator.pipe.jsdoc"}},match:"\\G((?:[^{}@\\s|*]|\\*[^/])+)(\\|)?"}]}]},"instanceof-expr":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(instanceof)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.expression.instanceof.tsx"}},end:"(?<=\\))|(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|(===|!==|==|!=)|(([\\&\\~\\^\\|]\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s+instanceof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))function((\\s+[_$[:alpha:]][_$[:alnum:]]*)|(\\s*[\\(]))))",patterns:[{include:"#type"}]},"interface-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(interface)\\b(?=\\s+|/[/*])",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.modifier.tsx"},4:{name:"storage.type.interface.tsx"}},end:"(?<=\\})",name:"meta.interface.tsx",patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{captures:{0:{name:"entity.name.type.interface.tsx"}},match:"[_$[:alpha:]][_$[:alnum:]]*"},{include:"#type-parameters"},{include:"#class-or-interface-body"}]},jsdoctype:{patterns:[{begin:"\\G({)",beginCaptures:{0:{name:"entity.name.type.instance.jsdoc"},1:{name:"punctuation.definition.bracket.curly.begin.jsdoc"}},contentName:"entity.name.type.instance.jsdoc",end:"((}))\\s*|(?=\\*/)",endCaptures:{1:{name:"entity.name.type.instance.jsdoc"},2:{name:"punctuation.definition.bracket.curly.end.jsdoc"}},patterns:[{include:"#brackets"}]}]},jsx:{patterns:[{include:"#jsx-tag-without-attributes-in-expression"},{include:"#jsx-tag-in-expression"}]},"jsx-children":{patterns:[{include:"#jsx-tag-without-attributes"},{include:"#jsx-tag"},{include:"#jsx-evaluated-code"},{include:"#jsx-entities"}]},"jsx-entities":{patterns:[{captures:{1:{name:"punctuation.definition.entity.tsx"},3:{name:"punctuation.definition.entity.tsx"}},match:"(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",name:"constant.character.entity.tsx"}]},"jsx-evaluated-code":{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.embedded.begin.tsx"}},contentName:"meta.embedded.expression.tsx",end:"\\}",endCaptures:{0:{name:"punctuation.section.embedded.end.tsx"}},patterns:[{include:"#expression"}]},"jsx-string-double-quoted":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.tsx"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.tsx"}},name:"string.quoted.double.tsx",patterns:[{include:"#jsx-entities"}]},"jsx-string-single-quoted":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.tsx"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.tsx"}},name:"string.quoted.single.tsx",patterns:[{include:"#jsx-entities"}]},"jsx-tag":{begin:"(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))",end:"(/>)|(?:(</)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",endCaptures:{1:{name:"punctuation.definition.tag.end.tsx"},2:{name:"punctuation.definition.tag.begin.tsx"},3:{name:"entity.name.tag.namespace.tsx"},4:{name:"punctuation.separator.namespace.tsx"},5:{name:"entity.name.tag.tsx"},6:{name:"support.class.component.tsx"},7:{name:"punctuation.definition.tag.end.tsx"}},name:"meta.tag.tsx",patterns:[{begin:"(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.tsx"},2:{name:"entity.name.tag.namespace.tsx"},3:{name:"punctuation.separator.namespace.tsx"},4:{name:"entity.name.tag.tsx"},5:{name:"support.class.component.tsx"}},end:"(?=[/]?>)",patterns:[{include:"#comment"},{include:"#type-arguments"},{include:"#jsx-tag-attributes"}]},{begin:"(>)",beginCaptures:{1:{name:"punctuation.definition.tag.end.tsx"}},contentName:"meta.jsx.children.tsx",end:"(?=</)",patterns:[{include:"#jsx-children"}]}]},"jsx-tag-attribute-assignment":{match:`=(?=\\s*(?:'|"|{|/\\*|//|\\n))`,name:"keyword.operator.assignment.tsx"},"jsx-tag-attribute-name":{captures:{1:{name:"entity.other.attribute-name.namespace.tsx"},2:{name:"punctuation.separator.namespace.tsx"},3:{name:"entity.other.attribute-name.tsx"}},match:`(?x) +\\s* +(?:([_$[:alpha:]][-_$[:alnum:].]*)(:))? +([_$[:alpha:]][-_$[:alnum:]]*) +(?=\\s|=|/?>|/\\*|//)`},"jsx-tag-attributes":{begin:"\\s+",end:"(?=[/]?>)",name:"meta.tag.attributes.tsx",patterns:[{include:"#comment"},{include:"#jsx-tag-attribute-name"},{include:"#jsx-tag-attribute-assignment"},{include:"#jsx-string-double-quoted"},{include:"#jsx-string-single-quoted"},{include:"#jsx-evaluated-code"},{include:"#jsx-tag-attributes-illegal"}]},"jsx-tag-attributes-illegal":{match:"\\S+",name:"invalid.illegal.attribute.tsx"},"jsx-tag-in-expression":{begin:`(?x) +(?<!\\+\\+|--)(?<=[({\\[,?=>:*]|&&|\\|\\||\\?|\\*\\/|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^default|[^\\._$[:alnum:]]default|^yield|[^\\._$[:alnum:]]yield|^)\\s* +(?!<\\s*[_$[:alpha:]][_$[:alnum:]]*((\\s+extends\\s+[^=>])|,)) +(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))`,end:"(?!(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))(?=((<\\s*)|(\\s+))(?!\\?)|\\/?>))",patterns:[{include:"#jsx-tag"}]},"jsx-tag-without-attributes":{begin:"(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.tsx"},2:{name:"entity.name.tag.namespace.tsx"},3:{name:"punctuation.separator.namespace.tsx"},4:{name:"entity.name.tag.tsx"},5:{name:"support.class.component.tsx"},6:{name:"punctuation.definition.tag.end.tsx"}},contentName:"meta.jsx.children.tsx",end:"(</)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.tsx"},2:{name:"entity.name.tag.namespace.tsx"},3:{name:"punctuation.separator.namespace.tsx"},4:{name:"entity.name.tag.tsx"},5:{name:"support.class.component.tsx"},6:{name:"punctuation.definition.tag.end.tsx"}},name:"meta.tag.without-attributes.tsx",patterns:[{include:"#jsx-children"}]},"jsx-tag-without-attributes-in-expression":{begin:"(?<!\\+\\+|--)(?<=[({\\[,?=>:*]|&&|\\|\\||\\?|\\*\\/|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^default|[^\\._$[:alnum:]]default|^yield|[^\\._$[:alnum:]]yield|^)\\s*(?=(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",end:"(?!(<)\\s*(?:([_$[:alpha:]][-_$[:alnum:].]*)(?<!\\.|-)(:))?((?:[a-z][a-z0-9]*|([_$[:alpha:]][-_$[:alnum:].]*))(?<!\\.|-))?\\s*(>))",patterns:[{include:"#jsx-tag-without-attributes"}]},label:{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)(?=\\s*\\{)",beginCaptures:{1:{name:"entity.name.label.tsx"},2:{name:"punctuation.separator.label.tsx"}},end:"(?<=\\})",patterns:[{include:"#decl-block"}]},{captures:{1:{name:"entity.name.label.tsx"},2:{name:"punctuation.separator.label.tsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)"}]},literal:{patterns:[{include:"#numeric-literal"},{include:"#boolean-literal"},{include:"#null-literal"},{include:"#undefined-literal"},{include:"#numericConstant-literal"},{include:"#array-literal"},{include:"#this-literal"},{include:"#super-literal"}]},"method-declaration":{patterns:[{begin:"(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?\\s*\\b(constructor)\\b(?!:)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"storage.modifier.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.modifier.tsx"},4:{name:"storage.modifier.async.tsx"},5:{name:"storage.type.tsx"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.tsx",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]},{begin:"(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?(?:(?:\\s*\\b(new)\\b(?!:)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|(?:(\\*)\\s*)?)(?=\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])",beginCaptures:{1:{name:"storage.modifier.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.modifier.tsx"},4:{name:"storage.modifier.async.tsx"},5:{name:"keyword.operator.new.tsx"},6:{name:"keyword.generator.asterisk.tsx"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.tsx",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]},{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.modifier.tsx"},4:{name:"storage.modifier.async.tsx"},5:{name:"storage.type.property.tsx"},6:{name:"keyword.generator.asterisk.tsx"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.tsx",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]}]},"method-declaration-name":{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??)\\s*[\\(\\<])`,end:"(?=\\(|\\<)",patterns:[{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.method.tsx entity.name.function.tsx"},{match:"\\?",name:"keyword.operator.optional.tsx"}]},"namespace-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(namespace|module)\\s+(?=[_$[:alpha:]\"'`]))",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.type.namespace.tsx"}},end:"(?<=\\})|(?=;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.namespace.declaration.tsx",patterns:[{include:"#comment"},{include:"#string"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.type.module.tsx"},{include:"#punctuation-accessor"},{include:"#decl-block"}]},"new-expr":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(new)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.new.tsx"}},end:"(?<=\\))|(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))new(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))function((\\s+[_$[:alpha:]][_$[:alnum:]]*)|(\\s*[\\(]))))",name:"new.expr.tsx",patterns:[{include:"#expression"}]},"null-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))null(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.null.tsx"},"numeric-literal":{patterns:[{captures:{1:{name:"storage.type.numeric.bigint.tsx"}},match:"\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$)",name:"constant.numeric.hex.tsx"},{captures:{1:{name:"storage.type.numeric.bigint.tsx"}},match:"\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$)",name:"constant.numeric.binary.tsx"},{captures:{1:{name:"storage.type.numeric.bigint.tsx"}},match:"\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$)",name:"constant.numeric.octal.tsx"},{captures:{0:{name:"constant.numeric.decimal.tsx"},1:{name:"meta.delimiter.decimal.period.tsx"},2:{name:"storage.type.numeric.bigint.tsx"},3:{name:"meta.delimiter.decimal.period.tsx"},4:{name:"storage.type.numeric.bigint.tsx"},5:{name:"meta.delimiter.decimal.period.tsx"},6:{name:"storage.type.numeric.bigint.tsx"},7:{name:"storage.type.numeric.bigint.tsx"},8:{name:"meta.delimiter.decimal.period.tsx"},9:{name:"storage.type.numeric.bigint.tsx"},10:{name:"meta.delimiter.decimal.period.tsx"},11:{name:"storage.type.numeric.bigint.tsx"},12:{name:"meta.delimiter.decimal.period.tsx"},13:{name:"storage.type.numeric.bigint.tsx"},14:{name:"storage.type.numeric.bigint.tsx"}},match:`(?x) +(?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$)`}]},"numericConstant-literal":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))NaN(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.nan.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Infinity(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.infinity.tsx"}]},"object-binding-element":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#binding-element"}]},{include:"#object-binding-pattern"},{include:"#destructuring-variable-rest"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"object-binding-element-const":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#binding-element-const"}]},{include:"#object-binding-pattern-const"},{include:"#destructuring-variable-rest-const"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"object-binding-element-propertyName":{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(:)",endCaptures:{0:{name:"punctuation.destructuring.tsx"}},patterns:[{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.object.property.tsx"}]},"object-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"punctuation.definition.binding-pattern.object.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.tsx"}},patterns:[{include:"#object-binding-element"}]},"object-binding-pattern-const":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"punctuation.definition.binding-pattern.object.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.tsx"}},patterns:[{include:"#object-binding-element-const"}]},"object-identifiers":{patterns:[{match:"([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*\\??\\.\\s*prototype\\b(?!\\$))",name:"support.class.tsx"},{captures:{1:{name:"punctuation.accessor.tsx"},2:{name:"punctuation.accessor.optional.tsx"},3:{name:"variable.other.constant.object.property.tsx"},4:{name:"variable.other.object.property.tsx"}},match:`(?x)(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(?: +(\\#?[[:upper:]][_$[:digit:][:upper:]]*) | +(\\#?[_$[:alpha:]][_$[:alnum:]]*) +)(?=\\s*\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*)`},{captures:{1:{name:"variable.other.constant.object.tsx"},2:{name:"variable.other.object.tsx"}},match:`(?x)(?: +([[:upper:]][_$[:digit:][:upper:]]*) | +([_$[:alpha:]][_$[:alnum:]]*) +)(?=\\s*\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*)`}]},"object-literal":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},name:"meta.objectliteral.tsx",patterns:[{include:"#object-member"}]},"object-literal-method-declaration":{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.async.tsx"},2:{name:"storage.type.property.tsx"},3:{name:"keyword.generator.asterisk.tsx"}},end:"(?=\\}|;|,)|(?<=\\})",name:"meta.method.declaration.tsx",patterns:[{include:"#method-declaration-name"},{include:"#function-body"},{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.async.tsx"},2:{name:"storage.type.property.tsx"},3:{name:"keyword.generator.asterisk.tsx"}},end:"(?=\\(|\\<)",patterns:[{include:"#method-declaration-name"}]}]},"object-member":{patterns:[{include:"#comment"},{include:"#object-literal-method-declaration"},{begin:"(?=\\[)",end:"(?=:)|((?<=[\\]])(?=\\s*[\\(\\<]))",name:"meta.object.member.tsx meta.object-literal.key.tsx",patterns:[{include:"#comment"},{include:"#array-literal"}]},{begin:"(?=[\\'\\\"\\`])",end:"(?=:)|((?<=[\\'\\\"\\`])(?=((\\s*[\\(\\<,}])|(\\s+(as|satisifies)\\s+))))",name:"meta.object.member.tsx meta.object-literal.key.tsx",patterns:[{include:"#comment"},{include:"#string"}]},{begin:`(?x)(?=(\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$)))`,end:"(?=:)|(?=\\s*([\\(\\<,}])|(\\s+as|satisifies\\s+))",name:"meta.object.member.tsx meta.object-literal.key.tsx",patterns:[{include:"#comment"},{include:"#numeric-literal"}]},{begin:"(?<=[\\]\\'\\\"\\`])(?=\\s*[\\(\\<])",end:"(?=\\}|;|,)|(?<=\\})",name:"meta.method.declaration.tsx",patterns:[{include:"#function-body"}]},{captures:{0:{name:"meta.object-literal.key.tsx"},1:{name:"constant.numeric.decimal.tsx"}},match:"(?![_$[:alpha:]])([[:digit:]]+)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object.member.tsx"},{captures:{0:{name:"meta.object-literal.key.tsx"},1:{name:"entity.name.function.tsx"}},match:`(?x)(?:([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:(\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/)*\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,name:"meta.object.member.tsx"},{captures:{0:{name:"meta.object-literal.key.tsx"}},match:"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object.member.tsx"},{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.tsx"}},end:"(?=,|\\})",name:"meta.object.member.tsx",patterns:[{include:"#expression"}]},{captures:{1:{name:"variable.other.readwrite.tsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=,|\\}|$|\\/\\/|\\/\\*)",name:"meta.object.member.tsx"},{captures:{1:{name:"keyword.control.as.tsx"},2:{name:"storage.modifier.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+(const)(?=\\s*([,}]|$))",name:"meta.object.member.tsx"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(as)|(satisfies))\\s+",beginCaptures:{1:{name:"keyword.control.as.tsx"},2:{name:"keyword.control.satisfies.tsx"}},end:"(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|^|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as|satisifies)\\s+))",name:"meta.object.member.tsx",patterns:[{include:"#type"}]},{begin:"(?=[_$[:alpha:]][_$[:alnum:]]*\\s*=)",end:"(?=,|\\}|$|\\/\\/|\\/\\*)",name:"meta.object.member.tsx",patterns:[{include:"#expression"}]},{begin:":",beginCaptures:{0:{name:"meta.object-literal.key.tsx punctuation.separator.key-value.tsx"}},end:"(?=,|\\})",name:"meta.object.member.tsx",patterns:[{begin:"(?<=:)\\s*(async)?(?=\\s*(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)\\(\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.tsx"}},end:"(?<=\\))",patterns:[{include:"#type-parameters"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]}]},{begin:"(?<=:)\\s*(async)?\\s*(\\()(?=\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.tsx"},2:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]},{begin:"(?<=:)\\s*(async)?\\s*(?=\\<\\s*$)",beginCaptures:{1:{name:"storage.modifier.async.tsx"}},end:"(?<=\\>)",patterns:[{include:"#type-parameters"}]},{begin:"(?<=\\>)\\s*(\\()(?=\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]},{include:"#possibly-arrow-return-type"},{include:"#expression"}]},{include:"#punctuation-comma"},{include:"#decl-block"}]},"parameter-array-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"punctuation.definition.binding-pattern.array.tsx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.tsx"}},patterns:[{include:"#parameter-binding-element"},{include:"#punctuation-comma"}]},"parameter-binding-element":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#parameter-object-binding-pattern"},{include:"#parameter-array-binding-pattern"},{include:"#destructuring-parameter-rest"},{include:"#variable-initializer"}]},"parameter-name":{patterns:[{captures:{1:{name:"storage.modifier.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|protected|private|readonly)\\s+(?=(override|public|protected|private|readonly)\\s+)"},{captures:{1:{name:"storage.modifier.tsx"},2:{name:"keyword.operator.rest.tsx"},3:{name:"entity.name.function.tsx variable.language.this.tsx"},4:{name:"entity.name.function.tsx"},5:{name:"keyword.operator.optional.tsx"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{captures:{1:{name:"storage.modifier.tsx"},2:{name:"keyword.operator.rest.tsx"},3:{name:"variable.parameter.tsx variable.language.this.tsx"},4:{name:"variable.parameter.tsx"},5:{name:"keyword.operator.optional.tsx"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)"}]},"parameter-object-binding-element":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#parameter-binding-element"},{include:"#paren-expression"}]},{include:"#parameter-object-binding-pattern"},{include:"#destructuring-parameter-rest"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"parameter-object-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.tsx"},2:{name:"punctuation.definition.binding-pattern.object.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.tsx"}},patterns:[{include:"#parameter-object-binding-element"}]},"parameter-type-annotation":{patterns:[{begin:"(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.tsx"}},end:"(?=[,)])|(?==[^>])",name:"meta.type.annotation.tsx",patterns:[{include:"#type"}]}]},"paren-expression":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},patterns:[{include:"#expression"}]},"paren-expression-possibly-arrow":{patterns:[{begin:"(?<=[(=,])\\s*(async)?(?=\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?\\(\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.tsx"}},end:"(?<=\\))",patterns:[{include:"#paren-expression-possibly-arrow-with-typeparameters"}]},{begin:"(?<=[(=,]|=>|^return|[^\\._$[:alnum:]]return)\\s*(async)?(?=\\s*((((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?\\()|(<)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)))\\s*$)",beginCaptures:{1:{name:"storage.modifier.async.tsx"}},end:"(?<=\\))",patterns:[{include:"#paren-expression-possibly-arrow-with-typeparameters"}]},{include:"#possibly-arrow-return-type"}]},"paren-expression-possibly-arrow-with-typeparameters":{patterns:[{include:"#type-parameters"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]}]},"possibly-arrow-return-type":{begin:"(?<=\\)|^)\\s*(:)(?=\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*=>)",beginCaptures:{1:{name:"meta.arrow.tsx meta.return.type.arrow.tsx keyword.operator.type.annotation.tsx"}},contentName:"meta.arrow.tsx meta.return.type.arrow.tsx",end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",patterns:[{include:"#arrow-return-type-body"}]},"property-accessor":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.type.property.tsx"},"punctuation-accessor":{captures:{1:{name:"punctuation.accessor.tsx"},2:{name:"punctuation.accessor.optional.tsx"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},"punctuation-comma":{match:",",name:"punctuation.separator.comma.tsx"},"punctuation-semicolon":{match:";",name:"punctuation.terminator.statement.tsx"},"qstring-double":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.tsx"}},end:'(")|((?:[^\\\\\\n])$)',endCaptures:{1:{name:"punctuation.definition.string.end.tsx"},2:{name:"invalid.illegal.newline.tsx"}},name:"string.quoted.double.tsx",patterns:[{include:"#string-character-escape"}]},"qstring-single":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.tsx"}},end:"(\\')|((?:[^\\\\\\n])$)",endCaptures:{1:{name:"punctuation.definition.string.end.tsx"},2:{name:"invalid.illegal.newline.tsx"}},name:"string.quoted.single.tsx",patterns:[{include:"#string-character-escape"}]},regex:{patterns:[{begin:"(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[\\()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^\\)\\\\]|\\\\.)+\\))+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{1:{name:"punctuation.definition.string.begin.tsx"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.tsx"},2:{name:"keyword.other.tsx"}},name:"string.regexp.tsx",patterns:[{include:"#regexp"}]},{begin:"((?<![_$[:alnum:])\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{0:{name:"punctuation.definition.string.begin.tsx"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.tsx"},2:{name:"keyword.other.tsx"}},name:"string.regexp.tsx",patterns:[{include:"#regexp"}]}]},"regex-character-class":{patterns:[{match:"\\\\[wWsSdDtrnvf]|\\.",name:"constant.other.character-class.regexp"},{match:"\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})",name:"constant.character.numeric.regexp"},{match:"\\\\c[A-Z]",name:"constant.character.control.regexp"},{match:"\\\\.",name:"constant.character.escape.backslash.regexp"}]},regexp:{patterns:[{match:"\\\\[bB]|\\^|\\$",name:"keyword.control.anchor.regexp"},{captures:{0:{name:"keyword.other.back-reference.regexp"},1:{name:"variable.other.regexp"}},match:"\\\\[1-9]\\d*|\\\\k<([a-zA-Z_$][\\w$]*)>"},{match:"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??",name:"keyword.operator.quantifier.regexp"},{match:"\\|",name:"keyword.operator.or.regexp"},{begin:"(\\()((\\?=)|(\\?!)|(\\?<=)|(\\?<!))",beginCaptures:{1:{name:"punctuation.definition.group.regexp"},2:{name:"punctuation.definition.group.assertion.regexp"},3:{name:"meta.assertion.look-ahead.regexp"},4:{name:"meta.assertion.negative-look-ahead.regexp"},5:{name:"meta.assertion.look-behind.regexp"},6:{name:"meta.assertion.negative-look-behind.regexp"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.group.regexp"}},name:"meta.group.assertion.regexp",patterns:[{include:"#regexp"}]},{begin:"\\((?:(\\?:)|(?:\\?<([a-zA-Z_$][\\w$]*)>))?",beginCaptures:{0:{name:"punctuation.definition.group.regexp"},1:{name:"punctuation.definition.group.no-capture.regexp"},2:{name:"variable.other.regexp"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.regexp"}},name:"meta.group.regexp",patterns:[{include:"#regexp"}]},{begin:"(\\[)(\\^)?",beginCaptures:{1:{name:"punctuation.definition.character-class.regexp"},2:{name:"keyword.operator.negation.regexp"}},end:"(\\])",endCaptures:{1:{name:"punctuation.definition.character-class.regexp"}},name:"constant.other.character-class.set.regexp",patterns:[{captures:{1:{name:"constant.character.numeric.regexp"},2:{name:"constant.character.control.regexp"},3:{name:"constant.character.escape.backslash.regexp"},4:{name:"constant.character.numeric.regexp"},5:{name:"constant.character.control.regexp"},6:{name:"constant.character.escape.backslash.regexp"}},match:"(?:.|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))",name:"constant.other.character-class.range.regexp"},{include:"#regex-character-class"}]},{include:"#regex-character-class"}]},"return-type":{patterns:[{begin:"(?<=\\))\\s*(:)(?=\\s*\\S)",beginCaptures:{1:{name:"keyword.operator.type.annotation.tsx"}},end:"(?<![:|&])(?=$|^|[{};,]|//)",name:"meta.return.type.tsx",patterns:[{include:"#return-type-core"}]},{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.tsx"}},end:"(?<![:|&])((?=[{};,]|//|^\\s*$)|((?<=\\S)(?=\\s*$)))",name:"meta.return.type.tsx",patterns:[{include:"#return-type-core"}]}]},"return-type-core":{patterns:[{include:"#comment"},{begin:"(?<=[:|&])(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},shebang:{captures:{1:{name:"punctuation.definition.comment.tsx"}},match:"\\A(#!).*(?=$)",name:"comment.line.shebang.tsx"},"single-line-comment-consuming-line-ending":{begin:"(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.tsx"},2:{name:"comment.line.double-slash.tsx"},3:{name:"punctuation.definition.comment.tsx"},4:{name:"storage.type.internaldeclaration.tsx"},5:{name:"punctuation.decorator.internaldeclaration.tsx"}},contentName:"comment.line.double-slash.tsx",end:"(?=^)"},statements:{patterns:[{include:"#declaration"},{include:"#control-statement"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#label"},{include:"#expression"},{include:"#punctuation-semicolon"},{include:"#string"},{include:"#comment"}]},string:{patterns:[{include:"#qstring-single"},{include:"#qstring-double"},{include:"#template"}]},"string-character-escape":{match:"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\\{[0-9A-Fa-f]+\\}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)",name:"constant.character.escape.tsx"},"super-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))super\\b(?!\\$)",name:"variable.language.super.tsx"},"support-function-call-identifiers":{patterns:[{include:"#literal"},{include:"#support-objects"},{include:"#object-identifiers"},{include:"#punctuation-accessor"},{match:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*[\\(]\\s*[\\\"\\'\\`]))",name:"keyword.operator.expression.import.tsx"}]},"support-objects":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(arguments)\\b(?!\\$)",name:"variable.language.arguments.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Promise)\\b(?!\\$)",name:"support.class.promise.tsx"},{captures:{1:{name:"keyword.control.import.tsx"},2:{name:"punctuation.accessor.tsx"},3:{name:"punctuation.accessor.optional.tsx"},4:{name:"support.variable.property.importmeta.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(import)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(meta)\\b(?!\\$)"},{captures:{1:{name:"keyword.operator.new.tsx"},2:{name:"punctuation.accessor.tsx"},3:{name:"punctuation.accessor.optional.tsx"},4:{name:"support.variable.property.target.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(new)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(target)\\b(?!\\$)"},{captures:{1:{name:"punctuation.accessor.tsx"},2:{name:"punctuation.accessor.optional.tsx"},3:{name:"support.variable.property.tsx"},4:{name:"support.constant.tsx"}},match:`(?x) (?:(\\.)|(\\?\\.(?!\\s*[[:digit:]]))) \\s* (?: +(?:(constructor|length|prototype|__proto__)\\b(?!\\$|\\s*(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?\\()) +| +(?:(EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY)\\b(?!\\$)))`},{captures:{1:{name:"support.type.object.module.tsx"},2:{name:"support.type.object.module.tsx"},3:{name:"punctuation.accessor.tsx"},4:{name:"punctuation.accessor.optional.tsx"},5:{name:"support.type.object.module.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(exports)|(module)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))(exports|id|filename|loaded|parent|children))?)\\b(?!\\$)"}]},"switch-statement":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?=\\bswitch\\s*\\()",end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},name:"switch-statement.expr.tsx",patterns:[{include:"#comment"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(switch)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.switch.tsx"},2:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},name:"switch-expression.expr.tsx",patterns:[{include:"#expression"}]},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.tsx"}},end:"(?=\\})",name:"switch-block.expr.tsx",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default(?=:))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.control.switch.tsx"}},end:"(?=:)",name:"case-clause.expr.tsx",patterns:[{include:"#expression"}]},{begin:"(:)\\s*(\\{)",beginCaptures:{1:{name:"case-clause.expr.tsx punctuation.definition.section.case-statement.tsx"},2:{name:"meta.block.tsx punctuation.definition.block.tsx"}},contentName:"meta.block.tsx",end:"\\}",endCaptures:{0:{name:"meta.block.tsx punctuation.definition.block.tsx"}},patterns:[{include:"#statements"}]},{captures:{0:{name:"case-clause.expr.tsx punctuation.definition.section.case-statement.tsx"}},match:"(:)"},{include:"#statements"}]}]},template:{patterns:[{include:"#template-call"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?(`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.tsx"},2:{name:"string.template.tsx punctuation.definition.string.template.begin.tsx"}},contentName:"string.template.tsx",end:"`",endCaptures:{0:{name:"string.template.tsx punctuation.definition.string.template.end.tsx"}},patterns:[{include:"#template-substitution-element"},{include:"#string-character-escape"}]}]},"template-call":{patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*)(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?`)",end:"(?=`)",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*))",end:"(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?`)",patterns:[{include:"#support-function-call-identifiers"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.function.tagged-template.tsx"}]},{include:"#type-arguments"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?\\s*(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.tsx"}},end:"(?=`)",patterns:[{include:"#type-arguments"}]}]},"template-substitution-element":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.tsx"}},contentName:"meta.embedded.line.tsx",end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.tsx"}},name:"meta.template.expression.tsx",patterns:[{include:"#expression"}]},"template-type":{patterns:[{include:"#template-call"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?(`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.tsx"},2:{name:"string.template.tsx punctuation.definition.string.template.begin.tsx"}},contentName:"string.template.tsx",end:"`",endCaptures:{0:{name:"string.template.tsx punctuation.definition.string.template.end.tsx"}},patterns:[{include:"#template-type-substitution-element"},{include:"#string-character-escape"}]}]},"template-type-substitution-element":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.tsx"}},contentName:"meta.embedded.line.tsx",end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.tsx"}},name:"meta.template.expression.tsx",patterns:[{include:"#type"}]},"ternary-expression":{begin:"(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)",beginCaptures:{1:{name:"keyword.operator.ternary.tsx"}},end:"\\s*(:)",endCaptures:{1:{name:"keyword.operator.ternary.tsx"}},patterns:[{include:"#expression"}]},"this-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))this\\b(?!\\$)",name:"variable.language.this.tsx"},type:{patterns:[{include:"#comment"},{include:"#type-string"},{include:"#numeric-literal"},{include:"#type-primitive"},{include:"#type-builtin-literals"},{include:"#type-parameters"},{include:"#type-tuple"},{include:"#type-object"},{include:"#type-operators"},{include:"#type-conditional"},{include:"#type-fn-type-parameters"},{include:"#type-paren-or-function-parameters"},{include:"#type-function-return-type"},{captures:{1:{name:"storage.modifier.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*"},{include:"#type-name"}]},"type-alias-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(type)\\b\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.type.type.tsx"},4:{name:"entity.name.type.alias.tsx"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.type.declaration.tsx",patterns:[{include:"#comment"},{include:"#type-parameters"},{begin:"(=)\\s*(intrinsic)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.assignment.tsx"},2:{name:"keyword.control.intrinsic.tsx"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type"}]},{begin:"(=)\\s*",beginCaptures:{1:{name:"keyword.operator.assignment.tsx"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type"}]}]},"type-annotation":{patterns:[{begin:"(:)(?=\\s*\\S)",beginCaptures:{1:{name:"keyword.operator.type.annotation.tsx"}},end:"(?<![:|&])(?!\\s*[|&]\\s+)((?=^|[,);\\}\\]]|//)|(?==[^>])|((?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)))",name:"meta.type.annotation.tsx",patterns:[{include:"#type"}]},{begin:"(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.tsx"}},end:"(?<![:|&])((?=[,);\\}\\]]|\\/\\/)|(?==[^>])|(?=^\\s*$)|((?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)))",name:"meta.type.annotation.tsx",patterns:[{include:"#type"}]}]},"type-arguments":{begin:"\\<",beginCaptures:{0:{name:"punctuation.definition.typeparameters.begin.tsx"}},end:"\\>",endCaptures:{0:{name:"punctuation.definition.typeparameters.end.tsx"}},name:"meta.type.parameters.tsx",patterns:[{include:"#type-arguments-body"}]},"type-arguments-body":{patterns:[{captures:{0:{name:"keyword.operator.type.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(_)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{include:"#type"},{include:"#punctuation-comma"}]},"type-builtin-literals":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(this|true|false|undefined|null|object)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"support.type.builtin.tsx"},"type-conditional":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends)\\s+",beginCaptures:{1:{name:"storage.modifier.tsx"}},end:"(?<=:)",patterns:[{begin:"\\?",beginCaptures:{0:{name:"keyword.operator.ternary.tsx"}},end:":",endCaptures:{0:{name:"keyword.operator.ternary.tsx"}},patterns:[{include:"#type"}]},{include:"#type"}]}]},"type-fn-type-parameters":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(new)\\b(?=\\s*\\<)",beginCaptures:{1:{name:"meta.type.constructor.tsx storage.modifier.tsx"},2:{name:"meta.type.constructor.tsx keyword.control.new.tsx"}},end:"(?<=>)",patterns:[{include:"#comment"},{include:"#type-parameters"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(new)\\b\\s*(?=\\()",beginCaptures:{1:{name:"storage.modifier.tsx"},2:{name:"keyword.control.new.tsx"}},end:"(?<=\\))",name:"meta.type.constructor.tsx",patterns:[{include:"#function-parameters"}]},{begin:`(?x)( +(?= +[(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +) +) +)`,end:"(?<=\\))",name:"meta.type.function.tsx",patterns:[{include:"#function-parameters"}]}]},"type-function-return-type":{patterns:[{begin:"(=>)(?=\\s*\\S)",beginCaptures:{1:{name:"storage.type.function.arrow.tsx"}},end:"(?<!=>)(?<![|&])(?=[,\\]\\)\\{\\}=;>:\\?]|//|$)",name:"meta.type.function.return.tsx",patterns:[{include:"#type-function-return-type-core"}]},{begin:"=>",beginCaptures:{0:{name:"storage.type.function.arrow.tsx"}},end:"(?<!=>)(?<![|&])((?=[,\\]\\)\\{\\}=;:\\?>]|//|^\\s*$)|((?<=\\S)(?=\\s*$)))",name:"meta.type.function.return.tsx",patterns:[{include:"#type-function-return-type-core"}]}]},"type-function-return-type-core":{patterns:[{include:"#comment"},{begin:"(?<==>)(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},"type-infer":{patterns:[{captures:{1:{name:"keyword.operator.expression.infer.tsx"},2:{name:"entity.name.type.tsx"},3:{name:"keyword.operator.expression.extends.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",name:"meta.type.infer.tsx"}]},"type-name":{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(<)",captures:{1:{name:"entity.name.type.module.tsx"},2:{name:"punctuation.accessor.tsx"},3:{name:"punctuation.accessor.optional.tsx"},4:{name:"meta.type.parameters.tsx punctuation.definition.typeparameters.begin.tsx"}},contentName:"meta.type.parameters.tsx",end:"(>)",endCaptures:{1:{name:"meta.type.parameters.tsx punctuation.definition.typeparameters.end.tsx"}},patterns:[{include:"#type-arguments-body"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(<)",beginCaptures:{1:{name:"entity.name.type.tsx"},2:{name:"meta.type.parameters.tsx punctuation.definition.typeparameters.begin.tsx"}},contentName:"meta.type.parameters.tsx",end:"(>)",endCaptures:{1:{name:"meta.type.parameters.tsx punctuation.definition.typeparameters.end.tsx"}},patterns:[{include:"#type-arguments-body"}]},{captures:{1:{name:"entity.name.type.module.tsx"},2:{name:"punctuation.accessor.tsx"},3:{name:"punctuation.accessor.optional.tsx"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"entity.name.type.tsx"}]},"type-object":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.tsx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.tsx"}},name:"meta.object.type.tsx",patterns:[{include:"#comment"},{include:"#method-declaration"},{include:"#indexer-declaration"},{include:"#indexer-mapped-type-declaration"},{include:"#field-declaration"},{include:"#type-annotation"},{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.tsx"}},end:"(?=\\}|;|,|$)|(?<=\\})",patterns:[{include:"#type"}]},{include:"#punctuation-comma"},{include:"#punctuation-semicolon"},{include:"#type"}]},"type-operators":{patterns:[{include:"#typeof-operator"},{include:"#type-infer"},{begin:"([&|])(?=\\s*\\{)",beginCaptures:{0:{name:"keyword.operator.type.tsx"}},end:"(?<=\\})",patterns:[{include:"#type-object"}]},{begin:"[&|]",beginCaptures:{0:{name:"keyword.operator.type.tsx"}},end:"(?=\\S)"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))keyof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.keyof.tsx"},{match:"(\\?|\\:)",name:"keyword.operator.ternary.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()",name:"keyword.operator.expression.import.tsx"}]},"type-parameters":{begin:"(<)",beginCaptures:{1:{name:"punctuation.definition.typeparameters.begin.tsx"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.typeparameters.end.tsx"}},name:"meta.type.parameters.tsx",patterns:[{include:"#comment"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out|const)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.tsx"},{include:"#type"},{include:"#punctuation-comma"},{match:"(=)(?!>)",name:"keyword.operator.assignment.tsx"}]},"type-paren-or-function-parameters":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.tsx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.tsx"}},name:"meta.type.paren.cover.tsx",patterns:[{captures:{1:{name:"storage.modifier.tsx"},2:{name:"keyword.operator.rest.tsx"},3:{name:"entity.name.function.tsx variable.language.this.tsx"},4:{name:"entity.name.function.tsx"},5:{name:"keyword.operator.optional.tsx"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s*(\\??)(?=\\s*(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))))`},{captures:{1:{name:"storage.modifier.tsx"},2:{name:"keyword.operator.rest.tsx"},3:{name:"variable.parameter.tsx variable.language.this.tsx"},4:{name:"variable.parameter.tsx"},5:{name:"keyword.operator.optional.tsx"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s*(\\??)(?=:)"},{include:"#type-annotation"},{match:",",name:"punctuation.separator.parameter.tsx"},{include:"#type"}]},"type-predicate-operator":{patterns:[{captures:{1:{name:"keyword.operator.type.asserts.tsx"},2:{name:"variable.parameter.tsx variable.language.this.tsx"},3:{name:"variable.parameter.tsx"},4:{name:"keyword.operator.expression.is.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(asserts)\\s+)?(?!asserts)(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s(is)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{captures:{1:{name:"keyword.operator.type.asserts.tsx"},2:{name:"variable.parameter.tsx variable.language.this.tsx"},3:{name:"variable.parameter.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(asserts)\\s+(?!is)(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))asserts(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.type.asserts.tsx"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))is(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.is.tsx"}]},"type-primitive":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(string|number|bigint|boolean|symbol|any|void|never|unknown)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"support.type.primitive.tsx"},"type-string":{patterns:[{include:"#qstring-single"},{include:"#qstring-double"},{include:"#template-type"}]},"type-tuple":{begin:"\\[",beginCaptures:{0:{name:"meta.brace.square.tsx"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.tsx"}},name:"meta.type.tuple.tsx",patterns:[{match:"\\.\\.\\.",name:"keyword.operator.rest.tsx"},{captures:{1:{name:"entity.name.label.tsx"},2:{name:"keyword.operator.optional.tsx"},3:{name:"punctuation.separator.label.tsx"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\?)?\\s*(:)"},{include:"#type"},{include:"#punctuation-comma"}]},"typeof-operator":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))typeof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{0:{name:"keyword.operator.expression.typeof.tsx"}},end:"(?=[,);}\\]=>:&|{\\?]|(extends\\s+)|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type-arguments"},{include:"#expression"}]},"undefined-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))undefined(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.undefined.tsx"},"var-expr":{patterns:[{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=^|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^let|[^\\._$[:alnum:]]let|^var|[^\\._$[:alnum:]]var)(?=\\s*$)))",name:"meta.var.expr.tsx",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.type.tsx"}},end:"(?=\\S)"},{include:"#destructuring-variable"},{include:"#var-single-variable"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*(?=$|\\/\\/)",beginCaptures:{1:{name:"punctuation.separator.comma.tsx"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#destructuring-variable"},{include:"#var-single-variable"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]},{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.type.tsx"}},end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=^|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^const|[^\\._$[:alnum:]]const)(?=\\s*$)))",name:"meta.var.expr.tsx",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.type.tsx"}},end:"(?=\\S)"},{include:"#destructuring-const"},{include:"#var-single-const"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*(?=$|\\/\\/)",beginCaptures:{1:{name:"punctuation.separator.comma.tsx"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#destructuring-const"},{include:"#var-single-const"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]},{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.type.tsx"}},end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^using|[^\\._$[:alnum:]]using|^await\\s+using|[^\\._$[:alnum:]]await\\s+using)(?=\\s*$)))",name:"meta.var.expr.tsx",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.tsx"},2:{name:"storage.modifier.tsx"},3:{name:"storage.type.tsx"}},end:"(?=\\S)"},{include:"#var-single-const"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*((?!\\S)|(?=\\/\\/))",beginCaptures:{1:{name:"punctuation.separator.comma.tsx"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#var-single-const"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]}]},"var-single-const":{patterns:[{begin:`(?x)([_$[:alpha:]][_$[:alnum:]]*)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,beginCaptures:{1:{name:"meta.definition.variable.tsx variable.other.constant.tsx entity.name.function.tsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.tsx",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{1:{name:"meta.definition.variable.tsx variable.other.constant.tsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.tsx",patterns:[{include:"#var-single-variable-type-annotation"}]}]},"var-single-variable":{patterns:[{begin:`(?x)([_$[:alpha:]][_$[:alnum:]]*)(\\!)?(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|([\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | +( +[<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] +) | +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,beginCaptures:{1:{name:"meta.definition.variable.tsx entity.name.function.tsx"},2:{name:"keyword.operator.definiteassignment.tsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.tsx",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])(\\!)?",beginCaptures:{1:{name:"meta.definition.variable.tsx variable.other.constant.tsx"},2:{name:"keyword.operator.definiteassignment.tsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.tsx",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)(\\!)?",beginCaptures:{1:{name:"meta.definition.variable.tsx variable.other.readwrite.tsx"},2:{name:"keyword.operator.definiteassignment.tsx"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.tsx",patterns:[{include:"#var-single-variable-type-annotation"}]}]},"var-single-variable-type-annotation":{patterns:[{include:"#type-annotation"},{include:"#string"},{include:"#comment"}]},"variable-initializer":{patterns:[{begin:"(?<!=|!)(=)(?!=)(?=\\s*\\S)(?!\\s*.*=>\\s*$)",beginCaptures:{1:{name:"keyword.operator.assignment.tsx"}},end:"(?=$|^|[,);}\\]]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",patterns:[{include:"#expression"}]},{begin:"(?<!=|!)(=)(?!=)",beginCaptures:{1:{name:"keyword.operator.assignment.tsx"}},end:"(?=[,);}\\]]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))|(?=^\\s*$)|(?<![\\|\\&\\+\\-\\*\\/])(?<=\\S)(?<!=)(?=\\s*$)",patterns:[{include:"#expression"}]}]}},scopeName:"source.tsx"});var n=[e];export{n as default}; diff --git a/assets/typescript-HpdcmTOD.js b/assets/typescript-HpdcmTOD.js new file mode 100644 index 00000000000..c1284f05d25 --- /dev/null +++ b/assets/typescript-HpdcmTOD.js @@ -0,0 +1,666 @@ +const e=Object.freeze({displayName:"TypeScript",name:"typescript",patterns:[{include:"#directives"},{include:"#statements"},{include:"#shebang"}],repository:{"access-modifier":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(abstract|declare|override|public|protected|private|readonly|static)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.ts"},"after-operator-block-as-object-literal":{begin:"(?<!\\+\\+|--)(?<=[:=(,\\[?+!>]|^await|[^\\._$[:alnum:]]await|^return|[^\\._$[:alnum:]]return|^yield|[^\\._$[:alnum:]]yield|^throw|[^\\._$[:alnum:]]throw|^in|[^\\._$[:alnum:]]in|^of|[^\\._$[:alnum:]]of|^typeof|[^\\._$[:alnum:]]typeof|&&|\\|\\||\\*)\\s*(\\{)",beginCaptures:{1:{name:"punctuation.definition.block.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},name:"meta.objectliteral.ts",patterns:[{include:"#object-member"}]},"array-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.ts"},2:{name:"punctuation.definition.binding-pattern.array.ts"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.ts"}},patterns:[{include:"#binding-element"},{include:"#punctuation-comma"}]},"array-binding-pattern-const":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.ts"},2:{name:"punctuation.definition.binding-pattern.array.ts"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.ts"}},patterns:[{include:"#binding-element-const"},{include:"#punctuation-comma"}]},"array-literal":{begin:"\\s*(\\[)",beginCaptures:{1:{name:"meta.brace.square.ts"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.ts"}},name:"meta.array.literal.ts",patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},"arrow-function":{patterns:[{captures:{1:{name:"storage.modifier.async.ts"},2:{name:"variable.parameter.ts"}},match:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync)\\s+)?([_$[:alpha:]][_$[:alnum:]]*)\\s*(?==>)",name:"meta.arrow.ts"},{begin:`(?x) (?: +(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync) +)? ((?<![})!\\]])\\s* +(?= + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +) +)`,beginCaptures:{1:{name:"storage.modifier.async.ts"}},end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",name:"meta.arrow.ts",patterns:[{include:"#comment"},{include:"#type-parameters"},{include:"#function-parameters"},{include:"#arrow-return-type"},{include:"#possibly-arrow-return-type"}]},{begin:"=>",beginCaptures:{0:{name:"storage.type.function.arrow.ts"}},end:"((?<=\\}|\\S)(?<!=>)|((?!\\{)(?=\\S)))(?!\\/[\\/\\*])",name:"meta.arrow.ts",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#decl-block"},{include:"#expression"}]}]},"arrow-return-type":{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.ts"}},end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",name:"meta.return.type.arrow.ts",patterns:[{include:"#arrow-return-type-body"}]},"arrow-return-type-body":{patterns:[{begin:"(?<=[:])(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},"async-modifier":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(async)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.async.ts"},"binding-element":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#object-binding-pattern"},{include:"#array-binding-pattern"},{include:"#destructuring-variable-rest"},{include:"#variable-initializer"}]},"binding-element-const":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#object-binding-pattern-const"},{include:"#array-binding-pattern-const"},{include:"#destructuring-variable-rest-const"},{include:"#variable-initializer"}]},"boolean-literal":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))true(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.boolean.true.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))false(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.boolean.false.ts"}]},brackets:{patterns:[{begin:"{",end:"}|(?=\\*/)",patterns:[{include:"#brackets"}]},{begin:"\\[",end:"\\]|(?=\\*/)",patterns:[{include:"#brackets"}]}]},cast:{patterns:[{captures:{1:{name:"meta.brace.angle.ts"},2:{name:"storage.modifier.ts"},3:{name:"meta.brace.angle.ts"}},match:"\\s*(<)\\s*(const)\\s*(>)",name:"cast.expr.ts"},{begin:"(?:(?<!\\+\\+|--)(?<=^return|[^\\._$[:alnum:]]return|^throw|[^\\._$[:alnum:]]throw|^yield|[^\\._$[:alnum:]]yield|^await|[^\\._$[:alnum:]]await|^default|[^\\._$[:alnum:]]default|[=(,:>*?\\&\\|\\^]|[^_$[:alnum:]](?:\\+\\+|\\-\\-)|[^\\+]\\+|[^\\-]\\-))\\s*(<)(?!<?\\=)(?!\\s*$)",beginCaptures:{1:{name:"meta.brace.angle.ts"}},end:"(\\>)",endCaptures:{1:{name:"meta.brace.angle.ts"}},name:"cast.expr.ts",patterns:[{include:"#type"}]},{begin:"(?:(?<=^))\\s*(<)(?=[_$[:alpha:]][_$[:alnum:]]*\\s*>)",beginCaptures:{1:{name:"meta.brace.angle.ts"}},end:"(\\>)",endCaptures:{1:{name:"meta.brace.angle.ts"}},name:"cast.expr.ts",patterns:[{include:"#type"}]}]},"class-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(class)\\b(?=\\s+|/[/*])",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.modifier.ts"},4:{name:"storage.type.class.ts"}},end:"(?<=\\})",name:"meta.class.ts",patterns:[{include:"#class-declaration-or-expression-patterns"}]},"class-declaration-or-expression-patterns":{patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{captures:{0:{name:"entity.name.type.class.ts"}},match:"[_$[:alpha:]][_$[:alnum:]]*"},{include:"#type-parameters"},{include:"#class-or-interface-body"}]},"class-expression":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(class)\\b(?=\\s+|[<{]|\\/[\\/*])",beginCaptures:{1:{name:"storage.modifier.ts"},2:{name:"storage.type.class.ts"}},end:"(?<=\\})",name:"meta.class.ts",patterns:[{include:"#class-declaration-or-expression-patterns"}]},"class-or-interface-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},patterns:[{include:"#comment"},{include:"#decorator"},{begin:"(?<=:)\\s*",end:"(?=\\s|[;),}\\]:\\-\\+]|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{include:"#method-declaration"},{include:"#indexer-declaration"},{include:"#field-declaration"},{include:"#string"},{include:"#type-annotation"},{include:"#variable-initializer"},{include:"#access-modifier"},{include:"#property-accessor"},{include:"#async-modifier"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#expression"},{include:"#punctuation-comma"},{include:"#punctuation-semicolon"}]},"class-or-interface-heritage":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(extends|implements)\\b)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"storage.modifier.ts"}},end:"(?=\\{)",patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{include:"#type-parameters"},{include:"#expressionWithoutIdentifiers"},{captures:{1:{name:"entity.name.type.module.ts"},2:{name:"punctuation.accessor.ts"},3:{name:"punctuation.accessor.optional.ts"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))(?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s*\\??\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)*\\s*)"},{captures:{1:{name:"entity.other.inherited-class.ts"}},match:"([_$[:alpha:]][_$[:alnum:]]*)"},{include:"#expressionPunctuations"}]},comment:{patterns:[{begin:"/\\*\\*(?!/)",beginCaptures:{0:{name:"punctuation.definition.comment.ts"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.ts"}},name:"comment.block.documentation.ts",patterns:[{include:"#docblock"}]},{begin:"(/\\*)(?:\\s*((@)internal)(?=\\s|(\\*/)))?",beginCaptures:{1:{name:"punctuation.definition.comment.ts"},2:{name:"storage.type.internaldeclaration.ts"},3:{name:"punctuation.decorator.internaldeclaration.ts"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.ts"}},name:"comment.block.ts"},{begin:"(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.ts"},2:{name:"comment.line.double-slash.ts"},3:{name:"punctuation.definition.comment.ts"},4:{name:"storage.type.internaldeclaration.ts"},5:{name:"punctuation.decorator.internaldeclaration.ts"}},contentName:"comment.line.double-slash.ts",end:"(?=$)"}]},"control-statement":{patterns:[{include:"#switch-statement"},{include:"#for-loop"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(catch|finally|throw|try)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.trycatch.ts"},{captures:{1:{name:"keyword.control.loop.ts"},2:{name:"entity.name.label.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|goto)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|do|goto|while)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.loop.ts"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(return)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{0:{name:"keyword.control.flow.ts"}},end:"(?=[;}]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default|switch)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.switch.ts"},{include:"#if-statement"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(else|if)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.conditional.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(with)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.with.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(package)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(debugger)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.other.debugger.ts"}]},"decl-block":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},name:"meta.block.ts",patterns:[{include:"#statements"}]},declaration:{patterns:[{include:"#decorator"},{include:"#var-expr"},{include:"#function-declaration"},{include:"#class-declaration"},{include:"#interface-declaration"},{include:"#enum-declaration"},{include:"#namespace-declaration"},{include:"#type-alias-declaration"},{include:"#import-equals-declaration"},{include:"#import-declaration"},{include:"#export-declaration"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(declare|export)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.ts"}]},decorator:{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))\\@",beginCaptures:{0:{name:"punctuation.decorator.ts"}},end:"(?=\\s)",name:"meta.decorator.ts",patterns:[{include:"#expression"}]},"destructuring-const":{patterns:[{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\{)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.object-binding-pattern-variable.ts",patterns:[{include:"#object-binding-pattern-const"},{include:"#type-annotation"},{include:"#comment"}]},{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\[)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.array-binding-pattern-variable.ts",patterns:[{include:"#array-binding-pattern-const"},{include:"#type-annotation"},{include:"#comment"}]}]},"destructuring-parameter":{patterns:[{begin:"(?<!=|:)\\s*(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.ts"},2:{name:"punctuation.definition.binding-pattern.object.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.ts"}},name:"meta.parameter.object-binding-pattern.ts",patterns:[{include:"#parameter-object-binding-element"}]},{begin:"(?<!=|:)\\s*(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.ts"},2:{name:"punctuation.definition.binding-pattern.array.ts"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.ts"}},name:"meta.paramter.array-binding-pattern.ts",patterns:[{include:"#parameter-binding-element"},{include:"#punctuation-comma"}]}]},"destructuring-parameter-rest":{captures:{1:{name:"keyword.operator.rest.ts"},2:{name:"variable.parameter.ts"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},"destructuring-variable":{patterns:[{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\{)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.object-binding-pattern-variable.ts",patterns:[{include:"#object-binding-pattern"},{include:"#type-annotation"},{include:"#comment"}]},{begin:"(?<!=|:|^of|[^\\._$[:alnum:]]of|^in|[^\\._$[:alnum:]]in)\\s*(?=\\[)",end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",name:"meta.array-binding-pattern-variable.ts",patterns:[{include:"#array-binding-pattern"},{include:"#type-annotation"},{include:"#comment"}]}]},"destructuring-variable-rest":{captures:{1:{name:"keyword.operator.rest.ts"},2:{name:"meta.definition.variable.ts variable.other.readwrite.ts"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},"destructuring-variable-rest-const":{captures:{1:{name:"keyword.operator.rest.ts"},2:{name:"meta.definition.variable.ts variable.other.constant.ts"}},match:"(?:(\\.\\.\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)"},directives:{begin:"^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",beginCaptures:{1:{name:"punctuation.definition.comment.ts"}},end:"(?=$)",name:"comment.line.triple-slash.directive.ts",patterns:[{begin:"(<)(reference|amd-dependency|amd-module)",beginCaptures:{1:{name:"punctuation.definition.tag.directive.ts"},2:{name:"entity.name.tag.directive.ts"}},end:"/>",endCaptures:{0:{name:"punctuation.definition.tag.directive.ts"}},name:"meta.tag.ts",patterns:[{match:"path|types|no-default-lib|lib|name|resolution-mode",name:"entity.other.attribute-name.directive.ts"},{match:"=",name:"keyword.operator.assignment.ts"},{include:"#string"}]}]},docblock:{patterns:[{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"constant.language.access-type.jsdoc"}},match:`(?x) +((@)(?:access|api)) +\\s+ +(private|protected|public) +\\b`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"},4:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},5:{name:"constant.other.email.link.underline.jsdoc"},6:{name:"punctuation.definition.bracket.angle.end.jsdoc"}},match:`(?x) +((@)author) +\\s+ +( +[^@\\s<>*/] +(?:[^@<>*/]|\\*[^/])* +) +(?: +\\s* +(<) +([^>\\s]+) +(>) +)?`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"},4:{name:"keyword.operator.control.jsdoc"},5:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +((@)borrows) \\s+ +((?:[^@\\s*/]|\\*[^/])+) +\\s+ (as) \\s+ +((?:[^@\\s*/]|\\*[^/])+)`},{begin:"((@)example)\\s+",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=@|\\*/)",name:"meta.example.jsdoc",patterns:[{match:"^\\s\\*\\s+"},{begin:"\\G(<)caption(>)",beginCaptures:{0:{name:"entity.name.tag.inline.jsdoc"},1:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},2:{name:"punctuation.definition.bracket.angle.end.jsdoc"}},contentName:"constant.other.description.jsdoc",end:"(</)caption(>)|(?=\\*/)",endCaptures:{0:{name:"entity.name.tag.inline.jsdoc"},1:{name:"punctuation.definition.bracket.angle.begin.jsdoc"},2:{name:"punctuation.definition.bracket.angle.end.jsdoc"}}},{captures:{0:{name:"source.embedded.ts"}},match:"[^\\s@*](?:[^*]|\\*[^/])*"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"constant.language.symbol-type.jsdoc"}},match:"(?x) ((@)kind) \\s+ (class|constant|event|external|file|function|member|mixin|module|namespace|typedef) \\b"},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.link.underline.jsdoc"},4:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +((@)see) +\\s+ +(?: + +( +(?=https?://) +(?:[^\\s*]|\\*[^/])+ +) +| + +( +(?! + +https?:// +| + +(?:\\[[^\\[\\]]*\\])? +{@(?:link|linkcode|linkplain|tutorial)\\b +) + +(?:[^@\\s*/]|\\*[^/])+ +) +)`},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:`(?x) +((@)template) +\\s+ +# One or more valid identifiers +( +[A-Za-z_$] +[\\w$.\\[\\]]* +(?: +\\s* , \\s* +[A-Za-z_$] +[\\w$.\\[\\]]* +)* +)`},{begin:"(?x)((@)template)\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"([A-Za-z_$][\\w$.\\[\\]]*)",name:"variable.other.jsdoc"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:`(?x) +( +(@) +(?:arg|argument|const|constant|member|namespace|param|var) +) +\\s+ +( +[A-Za-z_$] +[\\w$.\\[\\]]* +)`},{begin:"((@)typedef)\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"(?:[^@\\s*/]|\\*[^/])+",name:"entity.name.type.instance.jsdoc"}]},{begin:"((@)(?:arg|argument|const|constant|member|namespace|param|prop|property|var))\\s+(?={)",beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{match:"([A-Za-z_$][\\w$.\\[\\]]*)",name:"variable.other.jsdoc"},{captures:{1:{name:"punctuation.definition.optional-value.begin.bracket.square.jsdoc"},2:{name:"keyword.operator.assignment.jsdoc"},3:{name:"source.embedded.ts"},4:{name:"punctuation.definition.optional-value.end.bracket.square.jsdoc"},5:{name:"invalid.illegal.syntax.jsdoc"}},match:`(?x) +(\\[)\\s* +[\\w$]+ +(?: +(?:\\[\\])? +\\. +[\\w$]+ +)* +(?: +\\s* +(=) +\\s* +( + +(?> +"(?:(?:\\*(?!/))|(?:\\\\(?!"))|[^*\\\\])*?" | +'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?' | +\\[ (?:(?:\\*(?!/))|[^*])*? \\] | +(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])* +)* +) +)? +\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))`,name:"variable.other.jsdoc"}]},{begin:`(?x) +( +(@) +(?:define|enum|exception|export|extends|lends|implements|modifies +|namespace|private|protected|returns?|satisfies|suppress|this|throws|type +|yields?) +) +\\s+(?={)`,beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"}]},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"entity.name.type.instance.jsdoc"}},match:`(?x) +( +(@) +(?:alias|augments|callback|constructs|emits|event|fires|exports? +|extends|external|function|func|host|lends|listens|interface|memberof!? +|method|module|mixes|mixin|name|requires|see|this|typedef|uses) +) +\\s+ +( +(?: +[^{}@\\s*] | \\*[^/] +)+ +)`},{begin:`((@)(?:default(?:value)?|license|version))\\s+(([''"]))`,beginCaptures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"},4:{name:"punctuation.definition.string.begin.jsdoc"}},contentName:"variable.other.jsdoc",end:"(\\3)|(?=$|\\*/)",endCaptures:{0:{name:"variable.other.jsdoc"},1:{name:"punctuation.definition.string.end.jsdoc"}}},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"},3:{name:"variable.other.jsdoc"}},match:"((@)(?:default(?:value)?|license|tutorial|variation|version))\\s+([^\\s*]+)"},{captures:{1:{name:"punctuation.definition.block.tag.jsdoc"}},match:"(?x) (@) (?:abstract|access|alias|api|arg|argument|async|attribute|augments|author|beta|borrows|bubbles |callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright |default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exception |exports?|extends|extension(?:_?for)?|external|externs|file|fileoverview|final|fires|for|func |function|generator|global|hideconstructor|host|ignore|implements|implicitCast|inherit[Dd]oc |inner|instance|interface|internal|kind|lends|license|listens|main|member|memberof!?|method |mixes|mixins?|modifies|module|name|namespace|noalias|nocollapse|nocompile|nosideeffects |override|overview|package|param|polymer(?:Behavior)?|preserve|private|prop|property|protected |public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary |suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation |version|virtual|writeOnce|yields?) \\b",name:"storage.type.class.jsdoc"},{include:"#inline-tags"},{captures:{1:{name:"storage.type.class.jsdoc"},2:{name:"punctuation.definition.block.tag.jsdoc"}},match:"((@)(?:[_$[:alpha:]][_$[:alnum:]]*))(?=\\s+)"}]},"enum-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(?:\\b(const)\\s+)?\\b(enum)\\s+([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.modifier.ts"},4:{name:"storage.type.enum.ts"},5:{name:"entity.name.type.enum.ts"}},end:"(?<=\\})",name:"meta.enum.declaration.ts",patterns:[{include:"#comment"},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},patterns:[{include:"#comment"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{0:{name:"variable.other.enummember.ts"}},end:"(?=,|\\}|$)",patterns:[{include:"#comment"},{include:"#variable-initializer"}]},{begin:"(?=((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\])))",end:"(?=,|\\}|$)",patterns:[{include:"#string"},{include:"#array-literal"},{include:"#comment"},{include:"#variable-initializer"}]},{include:"#punctuation-comma"}]}]},"export-declaration":{patterns:[{captures:{1:{name:"keyword.control.export.ts"},2:{name:"keyword.control.as.ts"},3:{name:"storage.type.namespace.ts"},4:{name:"entity.name.type.module.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)\\s+(as)\\s+(namespace)\\s+([_$[:alpha:]][_$[:alnum:]]*)"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)(?:\\s+(type))?(?:(?:\\s*(=))|(?:\\s+(default)(?=\\s+)))",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"keyword.control.type.ts"},3:{name:"keyword.operator.assignment.ts"},4:{name:"keyword.control.default.ts"}},end:"(?=$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.export.default.ts",patterns:[{include:"#interface-declaration"},{include:"#expression"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(export)(?:\\s+(type))?\\b(?!(\\$)|(\\s*:))((?=\\s*[\\{*])|((?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s|,))(?!\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"keyword.control.type.ts"}},end:"(?=$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.export.ts",patterns:[{include:"#import-export-declaration"}]}]},expression:{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},"expression-inside-possibly-arrow-parens":{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#comment"},{include:"#string"},{include:"#decorator"},{include:"#destructuring-parameter"},{captures:{1:{name:"storage.modifier.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|protected|private|readonly)\\s+(?=(override|public|protected|private|readonly)\\s+)"},{captures:{1:{name:"storage.modifier.ts"},2:{name:"keyword.operator.rest.ts"},3:{name:"entity.name.function.ts variable.language.this.ts"},4:{name:"entity.name.function.ts"},5:{name:"keyword.operator.optional.ts"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{captures:{1:{name:"storage.modifier.ts"},2:{name:"keyword.operator.rest.ts"},3:{name:"variable.parameter.ts variable.language.this.ts"},4:{name:"variable.parameter.ts"},5:{name:"keyword.operator.optional.ts"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s*[:,]|$)"},{include:"#type-annotation"},{include:"#variable-initializer"},{match:",",name:"punctuation.separator.parameter.ts"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},"expression-operators":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(await)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.control.flow.ts"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(yield)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?=\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*\\*)",beginCaptures:{1:{name:"keyword.control.flow.ts"}},end:"\\*",endCaptures:{0:{name:"keyword.generator.asterisk.ts"}},patterns:[{include:"#comment"}]},{captures:{1:{name:"keyword.control.flow.ts"},2:{name:"keyword.generator.asterisk.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(yield)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s*(\\*))?"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))delete(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.delete.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))in(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?!\\()",name:"keyword.operator.expression.in.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))of(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?!\\()",name:"keyword.operator.expression.of.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))instanceof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.instanceof.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))new(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.new.ts"},{include:"#typeof-operator"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))void(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.void.ts"},{captures:{1:{name:"keyword.control.as.ts"},2:{name:"storage.modifier.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+(const)(?=\\s*($|[;,:})\\]]))"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(as)|(satisfies))\\s+",beginCaptures:{1:{name:"keyword.control.as.ts"},2:{name:"keyword.control.satisfies.ts"}},end:"(?=^|[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as|satisfies)\\s+)|(\\s+\\<))",patterns:[{include:"#type"}]},{match:"\\.\\.\\.",name:"keyword.operator.spread.ts"},{match:"\\*=|(?<!\\()/=|%=|\\+=|\\-=",name:"keyword.operator.assignment.compound.ts"},{match:"\\&=|\\^=|<<=|>>=|>>>=|\\|=",name:"keyword.operator.assignment.compound.bitwise.ts"},{match:"<<|>>>|>>",name:"keyword.operator.bitwise.shift.ts"},{match:"===|!==|==|!=",name:"keyword.operator.comparison.ts"},{match:"<=|>=|<>|<|>",name:"keyword.operator.relational.ts"},{captures:{1:{name:"keyword.operator.logical.ts"},2:{name:"keyword.operator.assignment.compound.ts"},3:{name:"keyword.operator.arithmetic.ts"}},match:"(?<=[_$[:alnum:]])(\\!)\\s*(?:(/=)|(?:(/)(?![/*])))"},{match:"\\!|&&|\\|\\||\\?\\?",name:"keyword.operator.logical.ts"},{match:"\\&|~|\\^|\\|",name:"keyword.operator.bitwise.ts"},{match:"\\=",name:"keyword.operator.assignment.ts"},{match:"--",name:"keyword.operator.decrement.ts"},{match:"\\+\\+",name:"keyword.operator.increment.ts"},{match:"%|\\*|/|-|\\+",name:"keyword.operator.arithmetic.ts"},{begin:"(?<=[_$[:alnum:])\\]])\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)+(?:(/=)|(?:(/)(?![/*]))))",end:"(?:(/=)|(?:(/)(?!\\*([^\\*]|(\\*[^\\/]))*\\*\\/)))",endCaptures:{1:{name:"keyword.operator.assignment.compound.ts"},2:{name:"keyword.operator.arithmetic.ts"}},patterns:[{include:"#comment"}]},{captures:{1:{name:"keyword.operator.assignment.compound.ts"},2:{name:"keyword.operator.arithmetic.ts"}},match:"(?<=[_$[:alnum:])\\]])\\s*(?:(/=)|(?:(/)(?![/*])))"}]},expressionPunctuations:{patterns:[{include:"#punctuation-comma"},{include:"#punctuation-accessor"}]},expressionWithoutIdentifiers:{patterns:[{include:"#string"},{include:"#regex"},{include:"#comment"},{include:"#function-expression"},{include:"#class-expression"},{include:"#arrow-function"},{include:"#paren-expression-possibly-arrow"},{include:"#cast"},{include:"#ternary-expression"},{include:"#new-expr"},{include:"#instanceof-expr"},{include:"#object-literal"},{include:"#expression-operators"},{include:"#function-call"},{include:"#literal"},{include:"#support-objects"},{include:"#paren-expression"}]},"field-declaration":{begin:`(?x)(?<!\\()(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)\\s+)?(?=\\s*((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|(\\#?[_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(?:(?:(\\?)|(\\!))\\s*)?(=|:|;|,|\\}|$))`,beginCaptures:{1:{name:"storage.modifier.ts"}},end:`(?x)(?=\\}|;|,|$|(^(?!\\s*((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|(\\#?[_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(?:(?:(\\?)|(\\!))\\s*)?(=|:|;|,|$))))|(?<=\\})`,name:"meta.field.declaration.ts",patterns:[{include:"#variable-initializer"},{include:"#type-annotation"},{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{include:"#comment"},{captures:{1:{name:"meta.definition.property.ts entity.name.function.ts"},2:{name:"keyword.operator.optional.ts"},3:{name:"keyword.operator.definiteassignment.ts"}},match:`(?x)(\\#?[_$[:alpha:]][_$[:alnum:]]*)(?:(\\?)|(\\!))?(?=\\s*\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{match:"\\#?[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.property.ts variable.object.property.ts"},{match:"\\?",name:"keyword.operator.optional.ts"},{match:"\\!",name:"keyword.operator.definiteassignment.ts"}]},"for-loop":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))for(?=((\\s+|(\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*))await)?\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)?(\\())",beginCaptures:{0:{name:"keyword.control.loop.ts"}},end:"(?<=\\))",patterns:[{include:"#comment"},{match:"await",name:"keyword.control.loop.ts"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},patterns:[{include:"#var-expr"},{include:"#expression"},{include:"#punctuation-semicolon"}]}]},"function-body":{patterns:[{include:"#comment"},{include:"#type-parameters"},{include:"#function-parameters"},{include:"#return-type"},{include:"#type-function-return-type"},{include:"#decl-block"},{match:"\\*",name:"keyword.generator.asterisk.ts"}]},"function-call":{patterns:[{begin:"(?=(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",end:"(?<=\\))(?!(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))",end:"(?=\\s*(?:(\\?\\.\\s*)|(\\!))?((<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?\\())",name:"meta.function-call.ts",patterns:[{include:"#function-call-target"}]},{include:"#comment"},{include:"#function-call-optionals"},{include:"#type-arguments"},{include:"#paren-expression"}]},{begin:"(?=(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))(<\\s*[\\{\\[\\(]\\s*$))",end:"(?<=\\>)(?!(((([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))|(?<=[\\)]))(<\\s*[\\{\\[\\(]\\s*$))",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*)(\\s*\\??\\.\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*))*)|(\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*))",end:"(?=(<\\s*[\\{\\[\\(]\\s*$))",name:"meta.function-call.ts",patterns:[{include:"#function-call-target"}]},{include:"#comment"},{include:"#function-call-optionals"},{include:"#type-arguments"}]}]},"function-call-optionals":{patterns:[{match:"\\?\\.",name:"meta.function-call.ts punctuation.accessor.optional.ts"},{match:"\\!",name:"meta.function-call.ts keyword.operator.definiteassignment.ts"}]},"function-call-target":{patterns:[{include:"#support-function-call-identifiers"},{match:"(\\#?[_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.function.ts"}]},"function-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(?:(async)\\s+)?(function\\b)(?:\\s*(\\*))?(?:(?:\\s+|(?<=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.modifier.async.ts"},4:{name:"storage.type.function.ts"},5:{name:"keyword.generator.asterisk.ts"},6:{name:"meta.definition.function.ts entity.name.function.ts"}},end:"(?=;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|(?<=\\})",name:"meta.function.ts",patterns:[{include:"#function-name"},{include:"#function-body"}]},"function-expression":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(async)\\s+)?(function\\b)(?:\\s*(\\*))?(?:(?:\\s+|(?<=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*",beginCaptures:{1:{name:"storage.modifier.async.ts"},2:{name:"storage.type.function.ts"},3:{name:"keyword.generator.asterisk.ts"},4:{name:"meta.definition.function.ts entity.name.function.ts"}},end:"(?=;)|(?<=\\})",name:"meta.function.expression.ts",patterns:[{include:"#function-name"},{include:"#single-line-comment-consuming-line-ending"},{include:"#function-body"}]},"function-name":{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.function.ts entity.name.function.ts"},"function-parameters":{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.ts"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.ts"}},name:"meta.parameters.ts",patterns:[{include:"#function-parameters-body"}]},"function-parameters-body":{patterns:[{include:"#comment"},{include:"#string"},{include:"#decorator"},{include:"#destructuring-parameter"},{include:"#parameter-name"},{include:"#parameter-type-annotation"},{include:"#variable-initializer"},{match:",",name:"punctuation.separator.parameter.ts"}]},identifiers:{patterns:[{include:"#object-identifiers"},{captures:{1:{name:"punctuation.accessor.ts"},2:{name:"punctuation.accessor.optional.ts"},3:{name:"entity.name.function.ts"}},match:`(?x)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*)?([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +))`},{captures:{1:{name:"punctuation.accessor.ts"},2:{name:"punctuation.accessor.optional.ts"},3:{name:"variable.other.constant.property.ts"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(\\#?[[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])"},{captures:{1:{name:"punctuation.accessor.ts"},2:{name:"punctuation.accessor.optional.ts"},3:{name:"variable.other.property.ts"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(\\#?[_$[:alpha:]][_$[:alnum:]]*)"},{match:"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])",name:"variable.other.constant.ts"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"variable.other.readwrite.ts"}]},"if-statement":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?=\\bif\\s*(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))\\s*(?!\\{))",end:"(?=;|$|\\})",patterns:[{include:"#comment"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(if)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.conditional.ts"},2:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},patterns:[{include:"#expression"}]},{begin:"(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{0:{name:"punctuation.definition.string.begin.ts"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.ts"},2:{name:"keyword.other.ts"}},name:"string.regexp.ts",patterns:[{include:"#regexp"}]},{include:"#statements"}]}]},"import-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type)(?!\\s+from))?(?!\\s*[:\\(])(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"keyword.control.import.ts"},4:{name:"keyword.control.type.ts"}},end:"(?<!^import|[^\\._$[:alnum:]]import)(?=;|$|^)",name:"meta.import.ts",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#string"},{begin:`(?<=^import|[^\\._$[:alnum:]]import)(?!\\s*["'])`,end:"\\bfrom\\b",endCaptures:{0:{name:"keyword.control.from.ts"}},patterns:[{include:"#import-export-declaration"}]},{include:"#import-export-declaration"}]},"import-equals-declaration":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type))?\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)\\s*(require)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"keyword.control.import.ts"},4:{name:"keyword.control.type.ts"},5:{name:"variable.other.readwrite.alias.ts"},6:{name:"keyword.operator.assignment.ts"},7:{name:"keyword.control.require.ts"},8:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},name:"meta.import-equals.external.ts",patterns:[{include:"#comment"},{include:"#string"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)(?:\\s+(type))?\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)\\s*(?!require\\b)",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"keyword.control.import.ts"},4:{name:"keyword.control.type.ts"},5:{name:"variable.other.readwrite.alias.ts"},6:{name:"keyword.operator.assignment.ts"}},end:"(?=;|$|^)",name:"meta.import-equals.internal.ts",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{captures:{1:{name:"entity.name.type.module.ts"},2:{name:"punctuation.accessor.ts"},3:{name:"punctuation.accessor.optional.ts"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.other.readwrite.ts"}]}]},"import-export-assert-clause":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(with)|(assert))\\s*(\\{)",beginCaptures:{1:{name:"keyword.control.with.ts"},2:{name:"keyword.control.assert.ts"},3:{name:"punctuation.definition.block.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},patterns:[{include:"#comment"},{include:"#string"},{match:"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object-literal.key.ts"},{match:":",name:"punctuation.separator.key-value.ts"}]},"import-export-block":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},name:"meta.block.ts",patterns:[{include:"#import-export-clause"}]},"import-export-clause":{patterns:[{include:"#comment"},{captures:{1:{name:"keyword.control.type.ts"},2:{name:"keyword.control.default.ts"},3:{name:"constant.language.import-export-all.ts"},4:{name:"variable.other.readwrite.ts"},5:{name:"keyword.control.as.ts"},6:{name:"keyword.control.default.ts"},7:{name:"variable.other.readwrite.alias.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$[:alpha:]][_$[:alnum:]]*)))\\s+(as)\\s+(?:(default(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$[:alpha:]][_$[:alnum:]]*))"},{include:"#punctuation-comma"},{match:"\\*",name:"constant.language.import-export-all.ts"},{match:"\\b(default)\\b",name:"keyword.control.default.ts"},{captures:{1:{name:"keyword.control.type.ts"},2:{name:"variable.other.readwrite.alias.ts"}},match:"(?:(\\btype)\\s+)?([_$[:alpha:]][_$[:alnum:]]*)"}]},"import-export-declaration":{patterns:[{include:"#comment"},{include:"#string"},{include:"#import-export-block"},{match:"\\bfrom\\b",name:"keyword.control.from.ts"},{include:"#import-export-assert-clause"},{include:"#import-export-clause"}]},"indexer-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)\\s*)?\\s*(\\[)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=:)",beginCaptures:{1:{name:"storage.modifier.ts"},2:{name:"meta.brace.square.ts"},3:{name:"variable.parameter.ts"}},end:"(\\])\\s*(\\?\\s*)?|$",endCaptures:{1:{name:"meta.brace.square.ts"},2:{name:"keyword.operator.optional.ts"}},name:"meta.indexer.declaration.ts",patterns:[{include:"#type-annotation"}]},"indexer-mapped-type-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([+-])?(readonly)\\s*)?\\s*(\\[)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s+(in)\\s+",beginCaptures:{1:{name:"keyword.operator.type.modifier.ts"},2:{name:"storage.modifier.ts"},3:{name:"meta.brace.square.ts"},4:{name:"entity.name.type.ts"},5:{name:"keyword.operator.expression.in.ts"}},end:"(\\])([+-])?\\s*(\\?\\s*)?|$",endCaptures:{1:{name:"meta.brace.square.ts"},2:{name:"keyword.operator.type.modifier.ts"},3:{name:"keyword.operator.optional.ts"}},name:"meta.indexer.mappedtype.declaration.ts",patterns:[{captures:{1:{name:"keyword.control.as.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+"},{include:"#type"}]},"inline-tags":{patterns:[{captures:{1:{name:"punctuation.definition.bracket.square.begin.jsdoc"},2:{name:"punctuation.definition.bracket.square.end.jsdoc"}},match:"(\\[)[^\\]]+(\\])(?={@(?:link|linkcode|linkplain|tutorial))",name:"constant.other.description.jsdoc"},{begin:"({)((@)(?:link(?:code|plain)?|tutorial))\\s*",beginCaptures:{1:{name:"punctuation.definition.bracket.curly.begin.jsdoc"},2:{name:"storage.type.class.jsdoc"},3:{name:"punctuation.definition.inline.tag.jsdoc"}},end:"}|(?=\\*/)",endCaptures:{0:{name:"punctuation.definition.bracket.curly.end.jsdoc"}},name:"entity.name.type.instance.jsdoc",patterns:[{captures:{1:{name:"variable.other.link.underline.jsdoc"},2:{name:"punctuation.separator.pipe.jsdoc"}},match:"\\G((?=https?://)(?:[^|}\\s*]|\\*[/])+)(\\|)?"},{captures:{1:{name:"variable.other.description.jsdoc"},2:{name:"punctuation.separator.pipe.jsdoc"}},match:"\\G((?:[^{}@\\s|*]|\\*[^/])+)(\\|)?"}]}]},"instanceof-expr":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(instanceof)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.expression.instanceof.ts"}},end:"(?<=\\))|(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|(===|!==|==|!=)|(([\\&\\~\\^\\|]\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s+instanceof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))function((\\s+[_$[:alpha:]][_$[:alnum:]]*)|(\\s*[\\(]))))",patterns:[{include:"#type"}]},"interface-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(interface)\\b(?=\\s+|/[/*])",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.modifier.ts"},4:{name:"storage.type.interface.ts"}},end:"(?<=\\})",name:"meta.interface.ts",patterns:[{include:"#comment"},{include:"#class-or-interface-heritage"},{captures:{0:{name:"entity.name.type.interface.ts"}},match:"[_$[:alpha:]][_$[:alnum:]]*"},{include:"#type-parameters"},{include:"#class-or-interface-body"}]},jsdoctype:{patterns:[{begin:"\\G({)",beginCaptures:{0:{name:"entity.name.type.instance.jsdoc"},1:{name:"punctuation.definition.bracket.curly.begin.jsdoc"}},contentName:"entity.name.type.instance.jsdoc",end:"((}))\\s*|(?=\\*/)",endCaptures:{1:{name:"entity.name.type.instance.jsdoc"},2:{name:"punctuation.definition.bracket.curly.end.jsdoc"}},patterns:[{include:"#brackets"}]}]},label:{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)(?=\\s*\\{)",beginCaptures:{1:{name:"entity.name.label.ts"},2:{name:"punctuation.separator.label.ts"}},end:"(?<=\\})",patterns:[{include:"#decl-block"}]},{captures:{1:{name:"entity.name.label.ts"},2:{name:"punctuation.separator.label.ts"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)"}]},literal:{patterns:[{include:"#numeric-literal"},{include:"#boolean-literal"},{include:"#null-literal"},{include:"#undefined-literal"},{include:"#numericConstant-literal"},{include:"#array-literal"},{include:"#this-literal"},{include:"#super-literal"}]},"method-declaration":{patterns:[{begin:"(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?\\s*\\b(constructor)\\b(?!:)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"storage.modifier.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.modifier.ts"},4:{name:"storage.modifier.async.ts"},5:{name:"storage.type.ts"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.ts",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]},{begin:"(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?(?:(?:\\s*\\b(new)\\b(?!:)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|(?:(\\*)\\s*)?)(?=\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])",beginCaptures:{1:{name:"storage.modifier.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.modifier.ts"},4:{name:"storage.modifier.async.ts"},5:{name:"keyword.operator.new.ts"},6:{name:"keyword.generator.asterisk.ts"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.ts",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]},{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(override)\\s+)?(?:\\b(public|private|protected)\\s+)?(?:\\b(abstract)\\s+)?(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.modifier.ts"},4:{name:"storage.modifier.async.ts"},5:{name:"storage.type.property.ts"},6:{name:"keyword.generator.asterisk.ts"}},end:"(?=\\}|;|,|$)|(?<=\\})",name:"meta.method.declaration.ts",patterns:[{include:"#method-declaration-name"},{include:"#function-body"}]}]},"method-declaration-name":{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??)\\s*[\\(\\<])`,end:"(?=\\(|\\<)",patterns:[{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"meta.definition.method.ts entity.name.function.ts"},{match:"\\?",name:"keyword.operator.optional.ts"}]},"namespace-declaration":{begin:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(namespace|module)\\s+(?=[_$[:alpha:]\"'`]))",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.type.namespace.ts"}},end:"(?<=\\})|(?=;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.namespace.declaration.ts",patterns:[{include:"#comment"},{include:"#string"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.type.module.ts"},{include:"#punctuation-accessor"},{include:"#decl-block"}]},"new-expr":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(new)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.new.ts"}},end:"(?<=\\))|(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))new(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))function((\\s+[_$[:alpha:]][_$[:alnum:]]*)|(\\s*[\\(]))))",name:"new.expr.ts",patterns:[{include:"#expression"}]},"null-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))null(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.null.ts"},"numeric-literal":{patterns:[{captures:{1:{name:"storage.type.numeric.bigint.ts"}},match:"\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$)",name:"constant.numeric.hex.ts"},{captures:{1:{name:"storage.type.numeric.bigint.ts"}},match:"\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$)",name:"constant.numeric.binary.ts"},{captures:{1:{name:"storage.type.numeric.bigint.ts"}},match:"\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$)",name:"constant.numeric.octal.ts"},{captures:{0:{name:"constant.numeric.decimal.ts"},1:{name:"meta.delimiter.decimal.period.ts"},2:{name:"storage.type.numeric.bigint.ts"},3:{name:"meta.delimiter.decimal.period.ts"},4:{name:"storage.type.numeric.bigint.ts"},5:{name:"meta.delimiter.decimal.period.ts"},6:{name:"storage.type.numeric.bigint.ts"},7:{name:"storage.type.numeric.bigint.ts"},8:{name:"meta.delimiter.decimal.period.ts"},9:{name:"storage.type.numeric.bigint.ts"},10:{name:"meta.delimiter.decimal.period.ts"},11:{name:"storage.type.numeric.bigint.ts"},12:{name:"meta.delimiter.decimal.period.ts"},13:{name:"storage.type.numeric.bigint.ts"},14:{name:"storage.type.numeric.bigint.ts"}},match:`(?x) +(?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$)`}]},"numericConstant-literal":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))NaN(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.nan.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Infinity(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.infinity.ts"}]},"object-binding-element":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#binding-element"}]},{include:"#object-binding-pattern"},{include:"#destructuring-variable-rest"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"object-binding-element-const":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#binding-element-const"}]},{include:"#object-binding-pattern-const"},{include:"#destructuring-variable-rest-const"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"object-binding-element-propertyName":{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(:)",endCaptures:{0:{name:"punctuation.destructuring.ts"}},patterns:[{include:"#string"},{include:"#array-literal"},{include:"#numeric-literal"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.object.property.ts"}]},"object-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.ts"},2:{name:"punctuation.definition.binding-pattern.object.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.ts"}},patterns:[{include:"#object-binding-element"}]},"object-binding-pattern-const":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.ts"},2:{name:"punctuation.definition.binding-pattern.object.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.ts"}},patterns:[{include:"#object-binding-element-const"}]},"object-identifiers":{patterns:[{match:"([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*\\??\\.\\s*prototype\\b(?!\\$))",name:"support.class.ts"},{captures:{1:{name:"punctuation.accessor.ts"},2:{name:"punctuation.accessor.optional.ts"},3:{name:"variable.other.constant.object.property.ts"},4:{name:"variable.other.object.property.ts"}},match:`(?x)(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(?: +(\\#?[[:upper:]][_$[:digit:][:upper:]]*) | +(\\#?[_$[:alpha:]][_$[:alnum:]]*) +)(?=\\s*\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*)`},{captures:{1:{name:"variable.other.constant.object.ts"},2:{name:"variable.other.object.ts"}},match:`(?x)(?: +([[:upper:]][_$[:digit:][:upper:]]*) | +([_$[:alpha:]][_$[:alnum:]]*) +)(?=\\s*\\??\\.\\s*\\#?[_$[:alpha:]][_$[:alnum:]]*)`}]},"object-literal":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},name:"meta.objectliteral.ts",patterns:[{include:"#object-member"}]},"object-literal-method-declaration":{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.async.ts"},2:{name:"storage.type.property.ts"},3:{name:"keyword.generator.asterisk.ts"}},end:"(?=\\}|;|,)|(?<=\\})",name:"meta.method.declaration.ts",patterns:[{include:"#method-declaration-name"},{include:"#function-body"},{begin:`(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:\\b(async)\\s+)?(?:\\b(get|set)\\s+)?(?:(\\*)\\s*)?(?=\\s*(((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?[\\(])`,beginCaptures:{1:{name:"storage.modifier.async.ts"},2:{name:"storage.type.property.ts"},3:{name:"keyword.generator.asterisk.ts"}},end:"(?=\\(|\\<)",patterns:[{include:"#method-declaration-name"}]}]},"object-member":{patterns:[{include:"#comment"},{include:"#object-literal-method-declaration"},{begin:"(?=\\[)",end:"(?=:)|((?<=[\\]])(?=\\s*[\\(\\<]))",name:"meta.object.member.ts meta.object-literal.key.ts",patterns:[{include:"#comment"},{include:"#array-literal"}]},{begin:"(?=[\\'\\\"\\`])",end:"(?=:)|((?<=[\\'\\\"\\`])(?=((\\s*[\\(\\<,}])|(\\s+(as|satisifies)\\s+))))",name:"meta.object.member.ts meta.object-literal.key.ts",patterns:[{include:"#comment"},{include:"#string"}]},{begin:`(?x)(?=(\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$)))`,end:"(?=:)|(?=\\s*([\\(\\<,}])|(\\s+as|satisifies\\s+))",name:"meta.object.member.ts meta.object-literal.key.ts",patterns:[{include:"#comment"},{include:"#numeric-literal"}]},{begin:"(?<=[\\]\\'\\\"\\`])(?=\\s*[\\(\\<])",end:"(?=\\}|;|,)|(?<=\\})",name:"meta.method.declaration.ts",patterns:[{include:"#function-body"}]},{captures:{0:{name:"meta.object-literal.key.ts"},1:{name:"constant.numeric.decimal.ts"}},match:"(?![_$[:alpha:]])([[:digit:]]+)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object.member.ts"},{captures:{0:{name:"meta.object-literal.key.ts"},1:{name:"entity.name.function.ts"}},match:`(?x)(?:([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:(\\s*\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/)*\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,name:"meta.object.member.ts"},{captures:{0:{name:"meta.object-literal.key.ts"}},match:"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)",name:"meta.object.member.ts"},{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.ts"}},end:"(?=,|\\})",name:"meta.object.member.ts",patterns:[{include:"#expression"}]},{captures:{1:{name:"variable.other.readwrite.ts"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?=,|\\}|$|\\/\\/|\\/\\*)",name:"meta.object.member.ts"},{captures:{1:{name:"keyword.control.as.ts"},2:{name:"storage.modifier.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as)\\s+(const)(?=\\s*([,}]|$))",name:"meta.object.member.ts"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(as)|(satisfies))\\s+",beginCaptures:{1:{name:"keyword.control.as.ts"},2:{name:"keyword.control.satisfies.ts"}},end:"(?=[;),}\\]:?\\-\\+\\>]|\\|\\||\\&\\&|\\!\\=\\=|$|^|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(as|satisifies)\\s+))",name:"meta.object.member.ts",patterns:[{include:"#type"}]},{begin:"(?=[_$[:alpha:]][_$[:alnum:]]*\\s*=)",end:"(?=,|\\}|$|\\/\\/|\\/\\*)",name:"meta.object.member.ts",patterns:[{include:"#expression"}]},{begin:":",beginCaptures:{0:{name:"meta.object-literal.key.ts punctuation.separator.key-value.ts"}},end:"(?=,|\\})",name:"meta.object.member.ts",patterns:[{begin:"(?<=:)\\s*(async)?(?=\\s*(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)\\(\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.ts"}},end:"(?<=\\))",patterns:[{include:"#type-parameters"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]}]},{begin:"(?<=:)\\s*(async)?\\s*(\\()(?=\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.ts"},2:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]},{begin:"(?<=:)\\s*(async)?\\s*(?=\\<\\s*$)",beginCaptures:{1:{name:"storage.modifier.async.ts"}},end:"(?<=\\>)",patterns:[{include:"#type-parameters"}]},{begin:"(?<=\\>)\\s*(\\()(?=\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]},{include:"#possibly-arrow-return-type"},{include:"#expression"}]},{include:"#punctuation-comma"},{include:"#decl-block"}]},"parameter-array-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\[)",beginCaptures:{1:{name:"keyword.operator.rest.ts"},2:{name:"punctuation.definition.binding-pattern.array.ts"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.binding-pattern.array.ts"}},patterns:[{include:"#parameter-binding-element"},{include:"#punctuation-comma"}]},"parameter-binding-element":{patterns:[{include:"#comment"},{include:"#string"},{include:"#numeric-literal"},{include:"#regex"},{include:"#parameter-object-binding-pattern"},{include:"#parameter-array-binding-pattern"},{include:"#destructuring-parameter-rest"},{include:"#variable-initializer"}]},"parameter-name":{patterns:[{captures:{1:{name:"storage.modifier.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|protected|private|readonly)\\s+(?=(override|public|protected|private|readonly)\\s+)"},{captures:{1:{name:"storage.modifier.ts"},2:{name:"keyword.operator.rest.ts"},3:{name:"entity.name.function.ts variable.language.this.ts"},4:{name:"entity.name.function.ts"},5:{name:"keyword.operator.optional.ts"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`},{captures:{1:{name:"storage.modifier.ts"},2:{name:"keyword.operator.rest.ts"},3:{name:"variable.parameter.ts variable.language.this.ts"},4:{name:"variable.parameter.ts"},5:{name:"keyword.operator.optional.ts"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(override|public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*(\\??)"}]},"parameter-object-binding-element":{patterns:[{include:"#comment"},{begin:`(?x)(?=((\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$))|(\\b(?<!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$))|((?<!\\$)(?: +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| +(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| +(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) +)(?!\\$))|([_$[:alpha:]][_$[:alnum:]]*)|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`)|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(:))`,end:"(?=,|\\})",patterns:[{include:"#object-binding-element-propertyName"},{include:"#parameter-binding-element"},{include:"#paren-expression"}]},{include:"#parameter-object-binding-pattern"},{include:"#destructuring-parameter-rest"},{include:"#variable-initializer"},{include:"#punctuation-comma"}]},"parameter-object-binding-pattern":{begin:"(?:(\\.\\.\\.)\\s*)?(\\{)",beginCaptures:{1:{name:"keyword.operator.rest.ts"},2:{name:"punctuation.definition.binding-pattern.object.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.binding-pattern.object.ts"}},patterns:[{include:"#parameter-object-binding-element"}]},"parameter-type-annotation":{patterns:[{begin:"(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.ts"}},end:"(?=[,)])|(?==[^>])",name:"meta.type.annotation.ts",patterns:[{include:"#type"}]}]},"paren-expression":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},patterns:[{include:"#expression"}]},"paren-expression-possibly-arrow":{patterns:[{begin:"(?<=[(=,])\\s*(async)?(?=\\s*((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?\\(\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))",beginCaptures:{1:{name:"storage.modifier.async.ts"}},end:"(?<=\\))",patterns:[{include:"#paren-expression-possibly-arrow-with-typeparameters"}]},{begin:"(?<=[(=,]|=>|^return|[^\\._$[:alnum:]]return)\\s*(async)?(?=\\s*((((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*))?\\()|(<)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)))\\s*$)",beginCaptures:{1:{name:"storage.modifier.async.ts"}},end:"(?<=\\))",patterns:[{include:"#paren-expression-possibly-arrow-with-typeparameters"}]},{include:"#possibly-arrow-return-type"}]},"paren-expression-possibly-arrow-with-typeparameters":{patterns:[{include:"#type-parameters"},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},patterns:[{include:"#expression-inside-possibly-arrow-parens"}]}]},"possibly-arrow-return-type":{begin:"(?<=\\)|^)\\s*(:)(?=\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*=>)",beginCaptures:{1:{name:"meta.arrow.ts meta.return.type.arrow.ts keyword.operator.type.annotation.ts"}},contentName:"meta.arrow.ts meta.return.type.arrow.ts",end:"(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))",patterns:[{include:"#arrow-return-type-body"}]},"property-accessor":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.type.property.ts"},"punctuation-accessor":{captures:{1:{name:"punctuation.accessor.ts"},2:{name:"punctuation.accessor.optional.ts"}},match:"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},"punctuation-comma":{match:",",name:"punctuation.separator.comma.ts"},"punctuation-semicolon":{match:";",name:"punctuation.terminator.statement.ts"},"qstring-double":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.ts"}},end:'(")|((?:[^\\\\\\n])$)',endCaptures:{1:{name:"punctuation.definition.string.end.ts"},2:{name:"invalid.illegal.newline.ts"}},name:"string.quoted.double.ts",patterns:[{include:"#string-character-escape"}]},"qstring-single":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.ts"}},end:"(\\')|((?:[^\\\\\\n])$)",endCaptures:{1:{name:"punctuation.definition.string.end.ts"},2:{name:"invalid.illegal.newline.ts"}},name:"string.quoted.single.ts",patterns:[{include:"#string-character-escape"}]},regex:{patterns:[{begin:"(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[\\()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^\\)\\\\]|\\\\.)+\\))+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{1:{name:"punctuation.definition.string.begin.ts"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.ts"},2:{name:"keyword.other.ts"}},name:"string.regexp.ts",patterns:[{include:"#regexp"}]},{begin:"((?<![_$[:alnum:])\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{0:{name:"punctuation.definition.string.begin.ts"}},end:"(/)([dgimsuy]*)",endCaptures:{1:{name:"punctuation.definition.string.end.ts"},2:{name:"keyword.other.ts"}},name:"string.regexp.ts",patterns:[{include:"#regexp"}]}]},"regex-character-class":{patterns:[{match:"\\\\[wWsSdDtrnvf]|\\.",name:"constant.other.character-class.regexp"},{match:"\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})",name:"constant.character.numeric.regexp"},{match:"\\\\c[A-Z]",name:"constant.character.control.regexp"},{match:"\\\\.",name:"constant.character.escape.backslash.regexp"}]},regexp:{patterns:[{match:"\\\\[bB]|\\^|\\$",name:"keyword.control.anchor.regexp"},{captures:{0:{name:"keyword.other.back-reference.regexp"},1:{name:"variable.other.regexp"}},match:"\\\\[1-9]\\d*|\\\\k<([a-zA-Z_$][\\w$]*)>"},{match:"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??",name:"keyword.operator.quantifier.regexp"},{match:"\\|",name:"keyword.operator.or.regexp"},{begin:"(\\()((\\?=)|(\\?!)|(\\?<=)|(\\?<!))",beginCaptures:{1:{name:"punctuation.definition.group.regexp"},2:{name:"punctuation.definition.group.assertion.regexp"},3:{name:"meta.assertion.look-ahead.regexp"},4:{name:"meta.assertion.negative-look-ahead.regexp"},5:{name:"meta.assertion.look-behind.regexp"},6:{name:"meta.assertion.negative-look-behind.regexp"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.group.regexp"}},name:"meta.group.assertion.regexp",patterns:[{include:"#regexp"}]},{begin:"\\((?:(\\?:)|(?:\\?<([a-zA-Z_$][\\w$]*)>))?",beginCaptures:{0:{name:"punctuation.definition.group.regexp"},1:{name:"punctuation.definition.group.no-capture.regexp"},2:{name:"variable.other.regexp"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.regexp"}},name:"meta.group.regexp",patterns:[{include:"#regexp"}]},{begin:"(\\[)(\\^)?",beginCaptures:{1:{name:"punctuation.definition.character-class.regexp"},2:{name:"keyword.operator.negation.regexp"}},end:"(\\])",endCaptures:{1:{name:"punctuation.definition.character-class.regexp"}},name:"constant.other.character-class.set.regexp",patterns:[{captures:{1:{name:"constant.character.numeric.regexp"},2:{name:"constant.character.control.regexp"},3:{name:"constant.character.escape.backslash.regexp"},4:{name:"constant.character.numeric.regexp"},5:{name:"constant.character.control.regexp"},6:{name:"constant.character.escape.backslash.regexp"}},match:"(?:.|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))",name:"constant.other.character-class.range.regexp"},{include:"#regex-character-class"}]},{include:"#regex-character-class"}]},"return-type":{patterns:[{begin:"(?<=\\))\\s*(:)(?=\\s*\\S)",beginCaptures:{1:{name:"keyword.operator.type.annotation.ts"}},end:"(?<![:|&])(?=$|^|[{};,]|//)",name:"meta.return.type.ts",patterns:[{include:"#return-type-core"}]},{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.ts"}},end:"(?<![:|&])((?=[{};,]|//|^\\s*$)|((?<=\\S)(?=\\s*$)))",name:"meta.return.type.ts",patterns:[{include:"#return-type-core"}]}]},"return-type-core":{patterns:[{include:"#comment"},{begin:"(?<=[:|&])(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},shebang:{captures:{1:{name:"punctuation.definition.comment.ts"}},match:"\\A(#!).*(?=$)",name:"comment.line.shebang.ts"},"single-line-comment-consuming-line-ending":{begin:"(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.ts"},2:{name:"comment.line.double-slash.ts"},3:{name:"punctuation.definition.comment.ts"},4:{name:"storage.type.internaldeclaration.ts"},5:{name:"punctuation.decorator.internaldeclaration.ts"}},contentName:"comment.line.double-slash.ts",end:"(?=^)"},statements:{patterns:[{include:"#declaration"},{include:"#control-statement"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#label"},{include:"#expression"},{include:"#punctuation-semicolon"},{include:"#string"},{include:"#comment"}]},string:{patterns:[{include:"#qstring-single"},{include:"#qstring-double"},{include:"#template"}]},"string-character-escape":{match:"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\\{[0-9A-Fa-f]+\\}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)",name:"constant.character.escape.ts"},"super-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))super\\b(?!\\$)",name:"variable.language.super.ts"},"support-function-call-identifiers":{patterns:[{include:"#literal"},{include:"#support-objects"},{include:"#object-identifiers"},{include:"#punctuation-accessor"},{match:"(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*[\\(]\\s*[\\\"\\'\\`]))",name:"keyword.operator.expression.import.ts"}]},"support-objects":{patterns:[{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(arguments)\\b(?!\\$)",name:"variable.language.arguments.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Promise)\\b(?!\\$)",name:"support.class.promise.ts"},{captures:{1:{name:"keyword.control.import.ts"},2:{name:"punctuation.accessor.ts"},3:{name:"punctuation.accessor.optional.ts"},4:{name:"support.variable.property.importmeta.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(import)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(meta)\\b(?!\\$)"},{captures:{1:{name:"keyword.operator.new.ts"},2:{name:"punctuation.accessor.ts"},3:{name:"punctuation.accessor.optional.ts"},4:{name:"support.variable.property.target.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(new)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(target)\\b(?!\\$)"},{captures:{1:{name:"punctuation.accessor.ts"},2:{name:"punctuation.accessor.optional.ts"},3:{name:"support.variable.property.ts"},4:{name:"support.constant.ts"}},match:`(?x) (?:(\\.)|(\\?\\.(?!\\s*[[:digit:]]))) \\s* (?: +(?:(constructor|length|prototype|__proto__)\\b(?!\\$|\\s*(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?\\()) +| +(?:(EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY)\\b(?!\\$)))`},{captures:{1:{name:"support.type.object.module.ts"},2:{name:"support.type.object.module.ts"},3:{name:"punctuation.accessor.ts"},4:{name:"punctuation.accessor.optional.ts"},5:{name:"support.type.object.module.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(exports)|(module)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))(exports|id|filename|loaded|parent|children))?)\\b(?!\\$)"}]},"switch-statement":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?=\\bswitch\\s*\\()",end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},name:"switch-statement.expr.ts",patterns:[{include:"#comment"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(switch)\\s*(\\()",beginCaptures:{1:{name:"keyword.control.switch.ts"},2:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},name:"switch-expression.expr.ts",patterns:[{include:"#expression"}]},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.ts"}},end:"(?=\\})",name:"switch-block.expr.ts",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default(?=:))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.control.switch.ts"}},end:"(?=:)",name:"case-clause.expr.ts",patterns:[{include:"#expression"}]},{begin:"(:)\\s*(\\{)",beginCaptures:{1:{name:"case-clause.expr.ts punctuation.definition.section.case-statement.ts"},2:{name:"meta.block.ts punctuation.definition.block.ts"}},contentName:"meta.block.ts",end:"\\}",endCaptures:{0:{name:"meta.block.ts punctuation.definition.block.ts"}},patterns:[{include:"#statements"}]},{captures:{0:{name:"case-clause.expr.ts punctuation.definition.section.case-statement.ts"}},match:"(:)"},{include:"#statements"}]}]},template:{patterns:[{include:"#template-call"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?(`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.ts"},2:{name:"string.template.ts punctuation.definition.string.template.begin.ts"}},contentName:"string.template.ts",end:"`",endCaptures:{0:{name:"string.template.ts punctuation.definition.string.template.end.ts"}},patterns:[{include:"#template-substitution-element"},{include:"#string-character-escape"}]}]},"template-call":{patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*)(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?`)",end:"(?=`)",patterns:[{begin:"(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*))",end:"(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)?`)",patterns:[{include:"#support-function-call-identifiers"},{match:"([_$[:alpha:]][_$[:alnum:]]*)",name:"entity.name.function.tagged-template.ts"}]},{include:"#type-arguments"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?\\s*(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?<!=)\\>))*(?<!=)\\>)*(?<!=)>\\s*)`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.ts"}},end:"(?=`)",patterns:[{include:"#type-arguments"}]}]},"template-substitution-element":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.ts"}},contentName:"meta.embedded.line.ts",end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.ts"}},name:"meta.template.expression.ts",patterns:[{include:"#expression"}]},"template-type":{patterns:[{include:"#template-call"},{begin:"([_$[:alpha:]][_$[:alnum:]]*)?(`)",beginCaptures:{1:{name:"entity.name.function.tagged-template.ts"},2:{name:"string.template.ts punctuation.definition.string.template.begin.ts"}},contentName:"string.template.ts",end:"`",endCaptures:{0:{name:"string.template.ts punctuation.definition.string.template.end.ts"}},patterns:[{include:"#template-type-substitution-element"},{include:"#string-character-escape"}]}]},"template-type-substitution-element":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.ts"}},contentName:"meta.embedded.line.ts",end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.ts"}},name:"meta.template.expression.ts",patterns:[{include:"#type"}]},"ternary-expression":{begin:"(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)",beginCaptures:{1:{name:"keyword.operator.ternary.ts"}},end:"\\s*(:)",endCaptures:{1:{name:"keyword.operator.ternary.ts"}},patterns:[{include:"#expression"}]},"this-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))this\\b(?!\\$)",name:"variable.language.this.ts"},type:{patterns:[{include:"#comment"},{include:"#type-string"},{include:"#numeric-literal"},{include:"#type-primitive"},{include:"#type-builtin-literals"},{include:"#type-parameters"},{include:"#type-tuple"},{include:"#type-object"},{include:"#type-operators"},{include:"#type-conditional"},{include:"#type-fn-type-parameters"},{include:"#type-paren-or-function-parameters"},{include:"#type-function-return-type"},{captures:{1:{name:"storage.modifier.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*"},{include:"#type-name"}]},"type-alias-declaration":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(type)\\b\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.type.type.ts"},4:{name:"entity.name.type.alias.ts"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",name:"meta.type.declaration.ts",patterns:[{include:"#comment"},{include:"#type-parameters"},{begin:"(=)\\s*(intrinsic)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{1:{name:"keyword.operator.assignment.ts"},2:{name:"keyword.control.intrinsic.ts"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type"}]},{begin:"(=)\\s*",beginCaptures:{1:{name:"keyword.operator.assignment.ts"}},end:"(?=\\}|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type"}]}]},"type-annotation":{patterns:[{begin:"(:)(?=\\s*\\S)",beginCaptures:{1:{name:"keyword.operator.type.annotation.ts"}},end:"(?<![:|&])(?!\\s*[|&]\\s+)((?=^|[,);\\}\\]]|//)|(?==[^>])|((?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)))",name:"meta.type.annotation.ts",patterns:[{include:"#type"}]},{begin:"(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.ts"}},end:"(?<![:|&])((?=[,);\\}\\]]|\\/\\/)|(?==[^>])|(?=^\\s*$)|((?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)))",name:"meta.type.annotation.ts",patterns:[{include:"#type"}]}]},"type-arguments":{begin:"\\<",beginCaptures:{0:{name:"punctuation.definition.typeparameters.begin.ts"}},end:"\\>",endCaptures:{0:{name:"punctuation.definition.typeparameters.end.ts"}},name:"meta.type.parameters.ts",patterns:[{include:"#type-arguments-body"}]},"type-arguments-body":{patterns:[{captures:{0:{name:"keyword.operator.type.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(_)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{include:"#type"},{include:"#punctuation-comma"}]},"type-builtin-literals":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(this|true|false|undefined|null|object)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"support.type.builtin.ts"},"type-conditional":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends)\\s+",beginCaptures:{1:{name:"storage.modifier.ts"}},end:"(?<=:)",patterns:[{begin:"\\?",beginCaptures:{0:{name:"keyword.operator.ternary.ts"}},end:":",endCaptures:{0:{name:"keyword.operator.ternary.ts"}},patterns:[{include:"#type"}]},{include:"#type"}]}]},"type-fn-type-parameters":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(new)\\b(?=\\s*\\<)",beginCaptures:{1:{name:"meta.type.constructor.ts storage.modifier.ts"},2:{name:"meta.type.constructor.ts keyword.control.new.ts"}},end:"(?<=>)",patterns:[{include:"#comment"},{include:"#type-parameters"}]},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(abstract)\\s+)?(new)\\b\\s*(?=\\()",beginCaptures:{1:{name:"storage.modifier.ts"},2:{name:"keyword.control.new.ts"}},end:"(?<=\\))",name:"meta.type.constructor.ts",patterns:[{include:"#function-parameters"}]},{begin:`(?x)( +(?= +[(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +) +) +)`,end:"(?<=\\))",name:"meta.type.function.ts",patterns:[{include:"#function-parameters"}]}]},"type-function-return-type":{patterns:[{begin:"(=>)(?=\\s*\\S)",beginCaptures:{1:{name:"storage.type.function.arrow.ts"}},end:"(?<!=>)(?<![|&])(?=[,\\]\\)\\{\\}=;>:\\?]|//|$)",name:"meta.type.function.return.ts",patterns:[{include:"#type-function-return-type-core"}]},{begin:"=>",beginCaptures:{0:{name:"storage.type.function.arrow.ts"}},end:"(?<!=>)(?<![|&])((?=[,\\]\\)\\{\\}=;:\\?>]|//|^\\s*$)|((?<=\\S)(?=\\s*$)))",name:"meta.type.function.return.ts",patterns:[{include:"#type-function-return-type-core"}]}]},"type-function-return-type-core":{patterns:[{include:"#comment"},{begin:"(?<==>)(?=\\s*\\{)",end:"(?<=\\})",patterns:[{include:"#type-object"}]},{include:"#type-predicate-operator"},{include:"#type"}]},"type-infer":{patterns:[{captures:{1:{name:"keyword.operator.expression.infer.ts"},2:{name:"entity.name.type.ts"},3:{name:"keyword.operator.expression.extends.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",name:"meta.type.infer.ts"}]},"type-name":{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(<)",captures:{1:{name:"entity.name.type.module.ts"},2:{name:"punctuation.accessor.ts"},3:{name:"punctuation.accessor.optional.ts"},4:{name:"meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts"}},contentName:"meta.type.parameters.ts",end:"(>)",endCaptures:{1:{name:"meta.type.parameters.ts punctuation.definition.typeparameters.end.ts"}},patterns:[{include:"#type-arguments-body"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(<)",beginCaptures:{1:{name:"entity.name.type.ts"},2:{name:"meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts"}},contentName:"meta.type.parameters.ts",end:"(>)",endCaptures:{1:{name:"meta.type.parameters.ts punctuation.definition.typeparameters.end.ts"}},patterns:[{include:"#type-arguments-body"}]},{captures:{1:{name:"entity.name.type.module.ts"},2:{name:"punctuation.accessor.ts"},3:{name:"punctuation.accessor.optional.ts"}},match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))"},{match:"[_$[:alpha:]][_$[:alnum:]]*",name:"entity.name.type.ts"}]},"type-object":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.ts"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.ts"}},name:"meta.object.type.ts",patterns:[{include:"#comment"},{include:"#method-declaration"},{include:"#indexer-declaration"},{include:"#indexer-mapped-type-declaration"},{include:"#field-declaration"},{include:"#type-annotation"},{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.ts"}},end:"(?=\\}|;|,|$)|(?<=\\})",patterns:[{include:"#type"}]},{include:"#punctuation-comma"},{include:"#punctuation-semicolon"},{include:"#type"}]},"type-operators":{patterns:[{include:"#typeof-operator"},{include:"#type-infer"},{begin:"([&|])(?=\\s*\\{)",beginCaptures:{0:{name:"keyword.operator.type.ts"}},end:"(?<=\\})",patterns:[{include:"#type-object"}]},{begin:"[&|]",beginCaptures:{0:{name:"keyword.operator.type.ts"}},end:"(?=\\S)"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))keyof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.keyof.ts"},{match:"(\\?|\\:)",name:"keyword.operator.ternary.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()",name:"keyword.operator.expression.import.ts"}]},"type-parameters":{begin:"(<)",beginCaptures:{1:{name:"punctuation.definition.typeparameters.begin.ts"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.typeparameters.end.ts"}},name:"meta.type.parameters.ts",patterns:[{include:"#comment"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out|const)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.ts"},{include:"#type"},{include:"#punctuation-comma"},{match:"(=)(?!>)",name:"keyword.operator.assignment.ts"}]},"type-paren-or-function-parameters":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.ts"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.ts"}},name:"meta.type.paren.cover.ts",patterns:[{captures:{1:{name:"storage.modifier.ts"},2:{name:"keyword.operator.rest.ts"},3:{name:"entity.name.function.ts variable.language.this.ts"},4:{name:"entity.name.function.ts"},5:{name:"keyword.operator.optional.ts"}},match:`(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s*(\\??)(?=\\s*(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))))`},{captures:{1:{name:"storage.modifier.ts"},2:{name:"keyword.operator.rest.ts"},3:{name:"variable.parameter.ts variable.language.this.ts"},4:{name:"variable.parameter.ts"},5:{name:"keyword.operator.optional.ts"}},match:"(?x)(?:(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(public|private|protected|readonly)\\s+)?(?:(\\.\\.\\.)\\s*)?(?<!=|:)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s*(\\??)(?=:)"},{include:"#type-annotation"},{match:",",name:"punctuation.separator.parameter.ts"},{include:"#type"}]},"type-predicate-operator":{patterns:[{captures:{1:{name:"keyword.operator.type.asserts.ts"},2:{name:"variable.parameter.ts variable.language.this.ts"},3:{name:"variable.parameter.ts"},4:{name:"keyword.operator.expression.is.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(asserts)\\s+)?(?!asserts)(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))\\s(is)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{captures:{1:{name:"keyword.operator.type.asserts.ts"},2:{name:"variable.parameter.ts variable.language.this.ts"},3:{name:"variable.parameter.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(asserts)\\s+(?!is)(?:(this)|([_$[:alpha:]][_$[:alnum:]]*))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))asserts(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.type.asserts.ts"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))is(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"keyword.operator.expression.is.ts"}]},"type-primitive":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(string|number|bigint|boolean|symbol|any|void|never|unknown)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"support.type.primitive.ts"},"type-string":{patterns:[{include:"#qstring-single"},{include:"#qstring-double"},{include:"#template-type"}]},"type-tuple":{begin:"\\[",beginCaptures:{0:{name:"meta.brace.square.ts"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.ts"}},name:"meta.type.tuple.ts",patterns:[{match:"\\.\\.\\.",name:"keyword.operator.rest.ts"},{captures:{1:{name:"entity.name.label.ts"},2:{name:"keyword.operator.optional.ts"},3:{name:"punctuation.separator.label.ts"}},match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\?)?\\s*(:)"},{include:"#type"},{include:"#punctuation-comma"}]},"typeof-operator":{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))typeof(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{0:{name:"keyword.operator.expression.typeof.ts"}},end:"(?=[,);}\\]=>:&|{\\?]|(extends\\s+)|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#type-arguments"},{include:"#expression"}]},"undefined-literal":{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))undefined(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"constant.language.undefined.ts"},"var-expr":{patterns:[{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=^|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^let|[^\\._$[:alnum:]]let|^var|[^\\._$[:alnum:]]var)(?=\\s*$)))",name:"meta.var.expr.ts",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.type.ts"}},end:"(?=\\S)"},{include:"#destructuring-variable"},{include:"#var-single-variable"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*(?=$|\\/\\/)",beginCaptures:{1:{name:"punctuation.separator.comma.ts"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#destructuring-variable"},{include:"#var-single-variable"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]},{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.type.ts"}},end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=^|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^const|[^\\._$[:alnum:]]const)(?=\\s*$)))",name:"meta.var.expr.ts",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(const(?!\\s+enum\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.type.ts"}},end:"(?=\\S)"},{include:"#destructuring-const"},{include:"#var-single-const"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*(?=$|\\/\\/)",beginCaptures:{1:{name:"punctuation.separator.comma.ts"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#destructuring-const"},{include:"#var-single-const"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]},{begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.type.ts"}},end:"(?!(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))((?=;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))|((?<!^using|[^\\._$[:alnum:]]using|^await\\s+using|[^\\._$[:alnum:]]await\\s+using)(?=\\s*$)))",name:"meta.var.expr.ts",patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b((?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b))(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",beginCaptures:{1:{name:"keyword.control.export.ts"},2:{name:"storage.modifier.ts"},3:{name:"storage.type.ts"}},end:"(?=\\S)"},{include:"#var-single-const"},{include:"#variable-initializer"},{include:"#comment"},{begin:"(,)\\s*((?!\\S)|(?=\\/\\/))",beginCaptures:{1:{name:"punctuation.separator.comma.ts"}},end:"(?<!,)(((?==|;|}|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|^\\s*$))|((?<=\\S)(?=\\s*$)))",patterns:[{include:"#single-line-comment-consuming-line-ending"},{include:"#comment"},{include:"#var-single-const"},{include:"#punctuation-comma"}]},{include:"#punctuation-comma"}]}]},"var-single-const":{patterns:[{begin:`(?x)([_$[:alpha:]][_$[:alnum:]]*)(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,beginCaptures:{1:{name:"meta.definition.variable.ts variable.other.constant.ts entity.name.function.ts"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.ts",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)",beginCaptures:{1:{name:"meta.definition.variable.ts variable.other.constant.ts"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.ts",patterns:[{include:"#var-single-variable-type-annotation"}]}]},"var-single-variable":{patterns:[{begin:`(?x)([_$[:alpha:]][_$[:alnum:]]*)(\\!)?(?=\\s* +# function assignment | +(=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)) | +# typeannotation is fn type: < | () | (... | (param: | (param, | (param? | (param= | (param) => +(:\\s*( +(<) | +([(]\\s*( +([)]) | +(\\.\\.\\.) | +([_$[:alnum:]]+\\s*( +([:,?=])| +([)]\\s*=>) +)) +)) +)) | +(:\\s*(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))Function(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))) | +(:\\s*((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*))))))) | +(:\\s*(=>|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(<[^<>]*>)|[^<>(),=])+=\\s*( +((async\\s+)?( +(function\\s*[(<*]) | +(function\\s+) | +([_$[:alpha:]][_$[:alnum:]]*\\s*=>) +)) | +((async\\s*)?( +((<\\s*$)|((<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) | + +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)* +( +([)]\\s*:) | +((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) +) +) | + +# arrow function possible to detect only with => on same line +( +(<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? +\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\) +(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? +\\s*=> +) +)) +)))`,beginCaptures:{1:{name:"meta.definition.variable.ts entity.name.function.ts"},2:{name:"keyword.operator.definiteassignment.ts"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.ts",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])(\\!)?",beginCaptures:{1:{name:"meta.definition.variable.ts variable.other.constant.ts"},2:{name:"keyword.operator.definiteassignment.ts"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.ts",patterns:[{include:"#var-single-variable-type-annotation"}]},{begin:"([_$[:alpha:]][_$[:alnum:]]*)(\\!)?",beginCaptures:{1:{name:"meta.definition.variable.ts variable.other.readwrite.ts"},2:{name:"keyword.operator.definiteassignment.ts"}},end:"(?=$|^|[;,=}]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+)|(;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b)))",name:"meta.var-single-variable.expr.ts",patterns:[{include:"#var-single-variable-type-annotation"}]}]},"var-single-variable-type-annotation":{patterns:[{include:"#type-annotation"},{include:"#string"},{include:"#comment"}]},"variable-initializer":{patterns:[{begin:"(?<!=|!)(=)(?!=)(?=\\s*\\S)(?!\\s*.*=>\\s*$)",beginCaptures:{1:{name:"keyword.operator.assignment.ts"}},end:"(?=$|^|[,);}\\]]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))",patterns:[{include:"#expression"}]},{begin:"(?<!=|!)(=)(?!=)",beginCaptures:{1:{name:"keyword.operator.assignment.ts"}},end:"(?=[,);}\\]]|((?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(of|in)\\s+))|(?=^\\s*$)|(?<![\\|\\&\\+\\-\\*\\/])(?<=\\S)(?<!=)(?=\\s*$)",patterns:[{include:"#expression"}]}]}},scopeName:"source.ts",aliases:["ts"]});var n=[e];export{n as default}; diff --git a/assets/use-event-callback-ULpIcVk8.js b/assets/use-event-callback-ULpIcVk8.js new file mode 100644 index 00000000000..fd4955a257f --- /dev/null +++ b/assets/use-event-callback-ULpIcVk8.js @@ -0,0 +1 @@ +import{r as t}from"./index-ZXl4th35.js";const c=r=>{const e=t.useRef(r);return e.current=r,t.useCallback((...s)=>e.current(...s),[])};export{c as u}; diff --git a/assets/use-is-client-6Iy0halI.js b/assets/use-is-client-6Iy0halI.js new file mode 100644 index 00000000000..7db15384cbb --- /dev/null +++ b/assets/use-is-client-6Iy0halI.js @@ -0,0 +1 @@ +import{r as t}from"./index-ZXl4th35.js";const r=()=>{const[s,e]=t.useState(!1);return t.useEffect(()=>{e(!0)},[]),s},i=()=>{const[s,e]=t.useState(!1);return t.useEffect(()=>{t.startTransition(()=>{e(!0)})},[]),s};export{i as a,r as u}; diff --git a/assets/use-is-dark-IiysOCcN.js b/assets/use-is-dark-IiysOCcN.js new file mode 100644 index 00000000000..de1fd24c235 --- /dev/null +++ b/assets/use-is-dark-IiysOCcN.js @@ -0,0 +1 @@ +import{r,R as T}from"./index-ZXl4th35.js";const w=["light","dark"],x="(prefers-color-scheme: dark)",N=typeof window>"u",L=r.createContext(void 0),j={setTheme:e=>{},themes:[]},J=()=>{var e;return(e=r.useContext(L))!==null&&e!==void 0?e:j},H=e=>r.useContext(L)?T.createElement(r.Fragment,null,e.children):T.createElement(_,e),R=["light","dark"],_=({forcedTheme:e,disableTransitionOnChange:m=!1,enableSystem:t=!0,enableColorScheme:$=!0,storageKey:d="theme",themes:o=R,defaultTheme:n=t?"system":"light",attribute:v="data-theme",value:h,children:b,nonce:S})=>{const[c,i]=r.useState(()=>M(d,n)),[p,l]=r.useState(()=>M(d)),f=h?Object.values(h):o,k=r.useCallback(s=>{let a=s;if(!a)return;s==="system"&&t&&(a=O());const C=h?h[a]:a,I=m?D():null,E=document.documentElement;if(v==="class"?(E.classList.remove(...f),C&&E.classList.add(C)):C?E.setAttribute(v,C):E.removeAttribute(v),$){const A=w.includes(n)?n:null,K=w.includes(a)?a:A;E.style.colorScheme=K}I?.()},[]),u=r.useCallback(s=>{i(s);try{localStorage.setItem(d,s)}catch{}},[e]),y=r.useCallback(s=>{const a=O(s);l(a),c==="system"&&t&&!e&&k("system")},[c,e]);r.useEffect(()=>{const s=window.matchMedia(x);return s.addListener(y),y(s),()=>s.removeListener(y)},[y]),r.useEffect(()=>{const s=a=>{a.key===d&&u(a.newValue||n)};return window.addEventListener("storage",s),()=>window.removeEventListener("storage",s)},[u]),r.useEffect(()=>{k(e??c)},[e,c]);const g=r.useMemo(()=>({theme:c,setTheme:u,forcedTheme:e,resolvedTheme:c==="system"?p:c,themes:t?[...o,"system"]:o,systemTheme:t?p:void 0}),[c,u,e,p,t,o]);return T.createElement(L.Provider,{value:g},T.createElement(z,{forcedTheme:e,disableTransitionOnChange:m,enableSystem:t,enableColorScheme:$,storageKey:d,themes:o,defaultTheme:n,attribute:v,value:h,children:b,attrs:f,nonce:S}),b)},z=r.memo(({forcedTheme:e,storageKey:m,attribute:t,enableSystem:$,enableColorScheme:d,defaultTheme:o,value:n,attrs:v,nonce:h})=>{const b=o==="system",S=t==="class"?`var d=document.documentElement,c=d.classList;c.remove(${v.map(l=>`'${l}'`).join(",")});`:`var d=document.documentElement,n='${t}',s='setAttribute';`,c=d?w.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",i=(l,f=!1,k=!0)=>{const u=n?n[l]:l,y=f?l+"|| ''":`'${u}'`;let g="";return d&&k&&!f&&w.includes(l)&&(g+=`d.style.colorScheme = '${l}';`),t==="class"?g+=f||u?`c.add(${y})`:"null":u&&(g+=`d[s](n,${y})`),g},p=e?`!function(){${S}${i(e)}}()`:$?`!function(){try{${S}var e=localStorage.getItem('${m}');if('system'===e||(!e&&${b})){var t='${x}',m=window.matchMedia(t);if(m.media!==t||m.matches){${i("dark")}}else{${i("light")}}}else if(e){${n?`var x=${JSON.stringify(n)};`:""}${i(n?"x[e]":"e",!0)}}${b?"":"else{"+i(o,!1,!1)+"}"}${c}}catch(e){}}()`:`!function(){try{${S}var e=localStorage.getItem('${m}');if(e){${n?`var x=${JSON.stringify(n)};`:""}${i(n?"x[e]":"e",!0)}}else{${i(o,!1,!1)};}${c}}catch(t){}}();`;return T.createElement("script",{nonce:h,dangerouslySetInnerHTML:{__html:p}})},()=>!0),M=(e,m)=>{if(N)return;let t;try{t=localStorage.getItem(e)||void 0}catch{}return t||m},D=()=>{const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},O=e=>(e||(e=window.matchMedia(x)),e.matches?"dark":"light"),P=()=>{const{theme:e,systemTheme:m}=J();return e==="dark"||e==="system"&&m==="dark"};export{H as $,P as u}; diff --git a/assets/use-is-unmounted-dmgvzXDy.js b/assets/use-is-unmounted-dmgvzXDy.js new file mode 100644 index 00000000000..323fc968503 --- /dev/null +++ b/assets/use-is-unmounted-dmgvzXDy.js @@ -0,0 +1 @@ +import{j as a,r as t}from"./index-ZXl4th35.js";import{c as n}from"./motion-minimal-epsqYg85.js";const l=e=>{const{className:s,...r}=e;return a.jsx("hr",{className:n("my-4 h-[0.5px] border-0 bg-black !bg-opacity-30 dark:bg-white",s),...r})},u=e=>{const{className:s,...r}=e;return a.jsx("span",{className:n("mx-4 inline-block h-full w-[0.5px] select-none bg-black !bg-opacity-30 text-transparent dark:bg-white",s),...r,children:"w"})},i=()=>{const e=t.useRef(!1);return t.useEffect(()=>(e.current=!1,()=>{e.current=!0}),[]),e};export{l as D,u as a,i as u}; diff --git a/assets/useQuery-3CoUXB5U.js b/assets/useQuery-3CoUXB5U.js new file mode 100644 index 00000000000..115105ce3d9 --- /dev/null +++ b/assets/useQuery-3CoUXB5U.js @@ -0,0 +1 @@ +import{S as M,s as O,n as x,i as U,b as I,t as A,f as L,c as k,r as w,d as D,u as B,e as j}from"./request-bY2SEZNN.js";import{r as f}from"./index-ZXl4th35.js";var V=class extends M{constructor(t,e){super(),this.options=e,this.#s=t,this.#i=null,this.bindMethods(),this.setOptions(e)}#s;#t=void 0;#f=void 0;#e=void 0;#n;#u;#i;#p;#c;#l;#a;#h;#r;#d=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),F(this.#t,this.options)?this.#o():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return m(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return m(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#g(),this.#O(),this.#t.removeObserver(this)}setOptions(t,e){const s=this.options,r=this.#t;if(this.options=this.#s.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.#m(),O(this.options,s)||this.#s.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const a=this.hasListeners();a&&T(this.#t,r,this.options,s)&&this.#o(),this.updateResult(e),a&&(this.#t!==r||this.options.enabled!==s.enabled||this.options.staleTime!==s.staleTime)&&this.#R();const o=this.#v();a&&(this.#t!==r||this.options.enabled!==s.enabled||o!==this.#r)&&this.#y(o)}getOptimisticResult(t){const e=this.#s.getQueryCache().build(this.#s,t),s=this.createResult(e,t);return _(this,s)&&(this.#e=s,this.#u=this.options,this.#n=this.#t.state),s}getCurrentResult(){return this.#e}trackResult(t){const e={};return Object.keys(t).forEach(s=>{Object.defineProperty(e,s,{configurable:!1,enumerable:!0,get:()=>(this.#d.add(s),t[s])})}),e}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#s.defaultQueryOptions(t),s=this.#s.getQueryCache().build(this.#s,e);return s.isFetchingOptimistic=!0,s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#o({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#e))}#o(t){this.#m();let e=this.#t.fetch(this.options,t);return t?.throwOnError||(e=e.catch(x)),e}#R(){if(this.#g(),U||this.#e.isStale||!I(this.options.staleTime))return;const e=A(this.#e.dataUpdatedAt,this.options.staleTime)+1;this.#a=setTimeout(()=>{this.#e.isStale||this.updateResult()},e)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(t){this.#O(),this.#r=t,!(U||this.options.enabled===!1||!I(this.#r)||this.#r===0)&&(this.#h=setInterval(()=>{(this.options.refetchIntervalInBackground||L.isFocused())&&this.#o()},this.#r))}#b(){this.#R(),this.#y(this.#v())}#g(){this.#a&&(clearTimeout(this.#a),this.#a=void 0)}#O(){this.#h&&(clearInterval(this.#h),this.#h=void 0)}createResult(t,e){const s=this.#t,r=this.options,a=this.#e,o=this.#n,n=this.#u,c=t!==s?t.state:this.#f,{state:i}=t;let{error:p,errorUpdatedAt:S,fetchStatus:R,status:d}=i,E=!1,l;if(e._optimisticResults){const u=this.hasListeners(),g=!u&&F(t,e),P=u&&T(t,s,e,r);(g||P)&&(R=k(t.options.networkMode)?"fetching":"paused",i.dataUpdatedAt||(d="pending")),e._optimisticResults==="isRestoring"&&(R="idle")}if(e.select&&i.data!==void 0)if(a&&i.data===o?.data&&e.select===this.#p)l=this.#c;else try{this.#p=e.select,l=e.select(i.data),l=w(a?.data,l,e),this.#c=l,this.#i=null}catch(u){this.#i=u}else l=i.data;if(e.placeholderData!==void 0&&l===void 0&&d==="pending"){let u;if(a?.isPlaceholderData&&e.placeholderData===n?.placeholderData)u=a.data;else if(u=typeof e.placeholderData=="function"?e.placeholderData(this.#l?.state.data,this.#l):e.placeholderData,e.select&&u!==void 0)try{u=e.select(u),this.#i=null}catch(g){this.#i=g}u!==void 0&&(d="success",l=w(a?.data,u,e),E=!0)}this.#i&&(p=this.#i,l=this.#c,S=Date.now(),d="error");const v=R==="fetching",y=d==="pending",b=d==="error",Q=y&&v;return{status:d,fetchStatus:R,isPending:y,isSuccess:d==="success",isError:b,isInitialLoading:Q,isLoading:Q,data:l,dataUpdatedAt:i.dataUpdatedAt,error:p,errorUpdatedAt:S,failureCount:i.fetchFailureCount,failureReason:i.fetchFailureReason,errorUpdateCount:i.errorUpdateCount,isFetched:i.dataUpdateCount>0||i.errorUpdateCount>0,isFetchedAfterMount:i.dataUpdateCount>c.dataUpdateCount||i.errorUpdateCount>c.errorUpdateCount,isFetching:v,isRefetching:v&&!y,isLoadingError:b&&i.dataUpdatedAt===0,isPaused:R==="paused",isPlaceholderData:E,isRefetchError:b&&i.dataUpdatedAt!==0,isStale:C(t,e),refetch:this.refetch}}updateResult(t){const e=this.#e,s=this.createResult(this.#t,this.options);if(this.#n=this.#t.state,this.#u=this.options,this.#n.data!==void 0&&(this.#l=this.#t),O(s,e))return;this.#e=s;const r={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,n=typeof o=="function"?o():o;if(n==="all"||!n&&!this.#d.size)return!0;const h=new Set(n??this.#d);return this.options.throwOnError&&h.add("error"),Object.keys(this.#e).some(c=>{const i=c;return this.#e[i]!==e[i]&&h.has(i)})};t?.listeners!==!1&&a()&&(r.listeners=!0),this.#C({...r,...t})}#m(){const t=this.#s.getQueryCache().build(this.#s,this.options);if(t===this.#t)return;const e=this.#t;this.#t=t,this.#f=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#C(t){D.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#e)}),this.#s.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function W(t,e){return e.enabled!==!1&&!t.state.dataUpdatedAt&&!(t.state.status==="error"&&e.retryOnMount===!1)}function F(t,e){return W(t,e)||t.state.dataUpdatedAt>0&&m(t,e,e.refetchOnMount)}function m(t,e,s){if(e.enabled!==!1){const r=typeof s=="function"?s(t):s;return r==="always"||r!==!1&&C(t,e)}return!1}function T(t,e,s,r){return s.enabled!==!1&&(t!==e||r.enabled===!1)&&(!s.suspense||t.state.status!=="error")&&C(t,s)}function C(t,e){return t.isStaleByTime(e.staleTime)}function _(t,e){return!O(t.getCurrentResult(),e)}function z(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var H=f.createContext(z()),N=()=>f.useContext(H);function K(t,e){return typeof t=="function"?t(...e):!!t}function it(){}var $=(t,e)=>{(t.suspense||t.throwOnError)&&(e.isReset()||(t.retryOnMount=!1))},G=t=>{f.useEffect(()=>{t.clearReset()},[t])},J=({result:t,errorResetBoundary:e,throwOnError:s,query:r})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&K(s,[t.error,r]),X=t=>{t.suspense&&typeof t.staleTime!="number"&&(t.staleTime=1e3)},Y=(t,e)=>t?.suspense&&e.isPending,Z=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function q(t,e,s){const r=B(s),a=j(),o=N(),n=r.defaultQueryOptions(t);n._optimisticResults=a?"isRestoring":"optimistic",X(n),$(n,o),G(o);const[h]=f.useState(()=>new e(r,n)),c=h.getOptimisticResult(n);if(f.useSyncExternalStore(f.useCallback(i=>{const p=a?()=>{}:h.subscribe(D.batchCalls(i));return h.updateResult(),p},[h,a]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),f.useEffect(()=>{h.setOptions(n,{listeners:!1})},[n,h]),Y(n,c))throw Z(n,h,o);if(J({result:c,errorResetBoundary:o,throwOnError:n.throwOnError,query:r.getQueryCache().get(n.queryHash)}))throw c.error;return n.notifyOnChangeProps?c:h.trackResult(c)}function rt(t,e){return q(t,V,e)}export{V as Q,q as a,it as n,K as s,rt as u}; diff --git a/assets/utils-JJoYnXdw.js b/assets/utils-JJoYnXdw.js new file mode 100644 index 00000000000..38e74902073 --- /dev/null +++ b/assets/utils-JJoYnXdw.js @@ -0,0 +1,2 @@ +function m(t,i,e,r=!1){return{name:t,code(n){const s=n.children.filter(o=>o.type==="element"),c=[];s.forEach((o,h)=>{let u;for(const a of o.children){if(a.type!=="element")continue;const l=a.children[0];if(l.type!=="text")continue;let f=!1;l.value=l.value.replace(i,(...d)=>e.call(this,d,o,a,s,h)?(f=!0,""):d[0]),f&&!l.value.trim()&&(u=a)}if(u&&(o.children.splice(o.children.indexOf(u),1),o.children.length===0&&(c.push(o),r))){const a=n.children[n.children.indexOf(o)+1];a&&a.type==="text"&&a.value===` +`&&c.push(a)}});for(const o of c)n.children.splice(n.children.indexOf(o),1)}}}function N(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(t={},i="@shikijs/transformers:notation-map"){const{classMap:e={},classActivePre:r=void 0}=t;return m(i,new RegExp(`\\s*(?://|/\\*|<!--|#)\\s+\\[!code (${Object.keys(e).map(N).join("|")})(:\\d+)?\\]\\s*(?:\\*/|-->)?`),function([n,s,c=":1"],o,h,u,a){const l=Number.parseInt(c.slice(1),10);return u.slice(a,a+l).forEach(f=>{this.addClassToHast(f,e[s])}),r&&this.addClassToHast(this.pre,r),!0})}function x(t={}){const{classActiveLine:i="highlighted",classActivePre:e="has-highlighted"}=t;return g({classMap:{highlight:i,hl:i},classActivePre:e},"@shikijs/transformers:notation-highlight")}function y(t,i,e,r){const n=v(t);let s=n.indexOf(e);for(;s!==-1;)_.call(this,t.children,i,s,e.length,r),s=n.indexOf(e,s+1)}function v(t){return t.type==="text"?t.value:t.type==="element"&&t.tagName==="span"?t.children.map(v).join(""):""}function _(t,i,e,r,n){let s=0;for(let c=0;c<t.length;c++){const o=t[c];if(o.type!=="element"||o.tagName!=="span"||o===i)continue;const h=o.children[0];if(h.type==="text"){if(j([s,s+h.value.length-1],[e,e+r])){const u=Math.max(0,e-s),a=r-Math.max(0,s-e);if(a===0)continue;const l=k(o,h,u,a);this.addClassToHast(l[1],n);const f=l.filter(Boolean);t.splice(c,1,...f),c+=f.length-1}s+=h.value.length}}}function j(t,i){return t[0]<=i[1]&&t[1]>=i[0]}function k(t,i,e,r){const n=i.value,s=c=>H(t,{children:[{type:"text",value:c}]});return[e>0?s(n.slice(0,e)):void 0,s(n.slice(e,e+r)),e+r<n.length?s(n.slice(e+r)):void 0]}function H(t,i){return{...t,properties:{...t.properties},...i}}function T(t={}){const{classActiveWord:i="highlighted-word",classActivePre:e=void 0}=t;return m("@shikijs/transformers:notation-highlight-word",/^\s*(?:\/\/|\/\*|<!--|#)\s+\[!code word:((?:\\.|[^:\]])+)(:\d+)?\]\s*(?:\*\/|-->)?/,function([r,n,s],c,o,h,u){const a=s?Number.parseInt(s.slice(1),10):h.length;return n=n.replace(/\\(.)/g,"$1"),h.slice(u+1,u+1+a).forEach(l=>y.call(this,l,o,n,i)),e&&this.addClassToHast(this.pre,e),!0},!0)}function A(t={}){const{classLineAdd:i="diff add",classLineRemove:e="diff remove",classActivePre:r="has-diff"}=t;return g({classMap:{"++":i,"--":e},classActivePre:r},"@shikijs/transformers:notation-diff")}function M(t){if(!t)return null;const i=t.match(/{([\d,-]+)}/);return i?i[1].split(",").flatMap(r=>{const n=r.split("-").map(s=>Number.parseInt(s,10));return n.length===1?[n[0]]:Array.from({length:n[1]-n[0]+1},(s,c)=>c+n[0])}):null}const p=Symbol("highlighted-lines");function b(t={}){const{className:i="highlighted"}=t;return{name:"@shikijs/transformers:meta-highlight",line(e,r){var n;return this.options.meta?.__raw?((n=this.meta)[p]||(n[p]=M(this.options.meta.__raw)),(this.meta[p]||[]).includes(r)&&this.addClassToHast(e,i),e):void 0}}}function O(t,{lang:i,attrs:e,code:r}){const n={lang:i,meta:{__raw:e},themes:{light:"github-light",dark:"github-dark"}};return t.codeToHtml(r,{...n,transformers:[...n.transformers||[],A(),x(),T(),b()]})}const C=t=>{const i=t.match(/filename="([^"]+)"/);return i?i[1]:null},E=t=>["javascript","typescript","ts","js","css","tsx","jsx","json","sql","markdown","vue","rust","go","cpp","c","html"].includes(t);export{O as c,E as i,C as p}; diff --git a/assets/utils-nAJ288NP.js b/assets/utils-nAJ288NP.js new file mode 100644 index 00000000000..c0f55d822fd --- /dev/null +++ b/assets/utils-nAJ288NP.js @@ -0,0 +1,7 @@ +import{r as a,j as t,c as q,g as ge,b as ye,_ as S}from"./index-ZXl4th35.js";import{f as Q,b as ve,p as je,g as Ce}from"./viewport-l4O6ZIBM.js";import{h as I,E as F,F as be,G as we,H as Me,j as w,I as _e,l as L,J as _,u as Pe,k as D,K as ke,L as Ne}from"./request-bY2SEZNN.js";import{u as Le,c as G,a as W,d as Re}from"./Gallery-QJ8JjQGt.js";import{b as h,a as x}from"./toast-dlXalurG.js";import{$ as Ee,c as Se,D as Ie,d as Be,e as Ye}from"./provider-XKwIHqOQ.js";import{A as Z}from"./index-LA8z4iWc.js";import{m as B,c as k,a as P}from"./motion-minimal-epsqYg85.js";import{L as Te,g as K,c as X,M as $e,d as Y,e as De}from"./alert-fERsLyJJ.js";import{S as Ae,M as ze}from"./StyledButton-VgryXAte.js";import{Q as He,a as Ve,u as Fe}from"./useQuery-3CoUXB5U.js";import{E as Oe}from"./react-error-boundary.esm-e5Yyzoa4.js";import{a as Ue,s as J,m as qe}from"./spring-hnK4kZop.js";import{u as Qe}from"./image-fdtjzFNr.js";import{u as ee}from"./use-is-dark-IiysOCcN.js";import{T as Ge,G as We}from"./SocialSourceLink-Fjgxzjol.js";import{A as $}from"./AutoResizeHeight-dtcKGJMw.js";import{F as te}from"./FloatPopover-3waN72gb.js";import{T as Ze}from"./FormInput-i0fsPScC.js";import{p as Ke}from"./dom-NuJWIaAq.js";import"./LinkCard-AonZnIUQ.js";import{c as Xe}from"./customParseFormat-0gR3iPzn.js";import{s as Je}from"./lodash-lrAbnKsZ.js";const et=e=>h(a.useMemo(()=>I(Q,n=>n[e]),[e])),Tn=e=>h(a.useMemo(()=>I(Q,n=>Object.values(n).filter(r=>r.roomName===e).length),[e]));var tt=class extends He{constructor(e,n){super(e,n)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,n){super.setOptions({...e,behavior:F()},n)}getOptimisticResult(e){return e.behavior=F(),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,n){const{state:r}=e,i=super.createResult(e,n),{isFetching:s,isRefetching:c}=i,o=s&&r.fetchMeta?.fetchMore?.direction==="forward",l=s&&r.fetchMeta?.fetchMore?.direction==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:be(n,r.data),hasPreviousPage:we(n,r.data),isFetchingNextPage:o,isFetchingPreviousPage:l,isRefetching:c&&!o&&!l}}};function nt(e,n){return Ve(e,tt,n)}const rt=e=>{const n=a.useRef(!1);n.current||(n.current=!0,e?.())};function $n(e){return t.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:t.jsx("path",{fill:"currentColor",d:"M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7h1.5Z"})})}const ne=x(""),re=x("");x("");x(!0);x(e=>{const n=e(ne),r=e(re);return n!==""&&r!==""});x(e=>{const n=e(ne),r=e(re);return n!==""&&r!==""});const st=a.createContext(!1),Dn=e=>{const[n,r]=a.useState(!1),i=a.useRef(null);return a.useEffect(()=>{if(!i.current)return;const s=i.current;return s.oncopy=c=>{Me()||(c.preventDefault(),r(!0))},()=>{s.oncopy=null}},[]),a.useEffect(()=>{if(n){const s=setTimeout(()=>{r(!1)},2e3);return()=>{clearTimeout(s)}}},[n]),t.jsxs(st.Provider,{value:!0,children:[t.jsx("div",{ref:i,children:e.children}),t.jsx(Ee,{open:!0,children:t.jsx(Z,{children:n&&t.jsxs(Se,{children:[t.jsx(Ie,{}),t.jsx(Be,{asChild:!0,children:t.jsxs(B.div,{className:"fixed inset-0 z-[11] flex flex-col gap-4 center",exit:{opacity:0},onClick:()=>{r(!1)},children:[t.jsx("div",{className:"pointer-events-none mt-0 text-3xl font-medium text-red-400 dark:text-orange-500",children:"注意:"}),t.jsx("div",{className:"pointer-events-none my-3 text-lg text-neutral-900 text-opacity-80 dark:text-zinc-100",children:t.jsx("p",{children:"本文章为站长原创,保留版权所有,禁止复制。"})})]})})]})})})]})},at=()=>t.jsxs("div",{className:"flex w-full flex-col py-6 center",children:["Something went wrong. Please contract to"," ",t.jsx("a",{href:"mailto:i@innei.ren",className:"shiro-link--underline",children:"i@innei.ren"}),".",t.jsx(Ae,{onClick:()=>{window.location.reload()},children:"Reload Page"})]}),ot=({children:e})=>t.jsx(Oe,{FallbackComponent:at,onError:n=>{console.error(n)},children:e}),it=({text:e})=>t.jsx("div",{className:"flex h-[100px] items-center justify-center text-lg font-medium",children:e||"您当前所在地区暂不支持此功能"}),lt=x(!1),ct=()=>w.get(lt),se=e=>{const{from:n,to:r,initial:i,preset:s}=e,c=a.forwardRef((l,u)=>{const{timeout:m={},duration:d=.5,animation:v={},as:p="div",delay:g=0,lcpOptimization:b=!1,...f}=l,{enter:y=g,exit:R=g}=m,M=B[p];return t.jsx(M,{initial:a.useMemo(()=>b?ct()?i||n:!0:i||n,[]),ref:u,animate:{...r,transition:{duration:d,...s||Ue,...v.enter,delay:y/1e3}},exit:{...n,transition:{duration:d,...v.exit,delay:R/1e3}},transition:{duration:d},...f,children:l.children})});c.displayName="forwardRef(TransitionView)";const o=a.memo(c);return o.displayName="MemoedTransitionView",o},ut=se({from:{opacity:1e-5,scale:.96,y:10},to:{y:0,scale:1,opacity:1},preset:J}),mt=({onLoading:e,children:n,className:r})=>{const{ref:i}=Qe({rootMargin:"1px",onChange(s){s&&e()}});return t.jsx("div",{className:r,ref:i,children:n??t.jsx(Te,{})})},ae=a.memo(e=>{const n=a.useRef(null),[r,i]=a.useState(!1);return a.useEffect(()=>{if(!n.current)return;const s=n.current,c=s.parentElement;let o;return c&&(o=new ResizeObserver(()=>{const{width:l}=c.getBoundingClientRect();s.style.fontSize=`${l/e.text.length*e.scale}px`,i(!0)}),o.observe(c)),()=>{o&&o.disconnect()}},[e.scale]),t.jsx("span",{ref:n,className:r?"":"invisible",children:e.text})});ae.displayName="FlexText";const dt=e=>{const{shadow:n=!0,lazy:r=!0,wrapperProps:i={},size:s,imageUrl:c,text:o,url:l,randomColor:u,radius:m,...d}=e,v=a.useRef(null),[p,g]=a.useState(!r),[b,f]=a.useState(!1),{className:y,...R}=i,M=a.useMemo(()=>(o||c)&&u&&K(X(o||c)),[o,c,u]),V=ee()?M?.dark.background:M?.light.background;return t.jsx("div",{className:k("box-border backface-hidden",n&&"shadow-sm",y),ref:v,style:{...s?{height:`${s||80}px`,width:`${s||80}px`}:void 0,...V?{backgroundColor:V}:void 0,...m?{borderRadius:m==="full"?"100%":`${m}px`}:void 0},...R,children:a.createElement(l?"a":"div",{className:"relative inline-block h-full w-full",...l?{href:l,target:"_blank",rel:"noreferrer"}:{}},c&&!b?t.jsx("div",{className:k("h-full w-full bg-cover bg-center bg-no-repeat transition-opacity duration-300",y),children:t.jsx("img",{src:c,style:{opacity:p?1:0,...m?{borderRadius:m==="full"?"100%":`${m}px`}:void 0},height:s,width:s,onLoad:()=>g(!0),onError:()=>f(!0),loading:r?"lazy":"eager",...d,className:k("aspect-square duration-200",d.className)})}):o?t.jsx("div",{className:"relative flex h-full w-full flex-grow select-none items-center justify-center",children:t.jsx(ae,{scale:.5,text:o})}):null)})};var xt={exports:{}};(function(e,n){(function(r,i){e.exports=i(_e)})(q,function(r){function i(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var s=i(r),c={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(o,l){return l==="W"?o+"周":o+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(o,l){var u=100*o+l;return u<600?"凌晨":u<900?"早上":u<1100?"上午":u<1300?"中午":u<1800?"下午":"晚上"}};return s.default.locale(c,null,!0),c})})(xt);var oe={exports:{}};(function(e,n){(function(r,i){e.exports=i()})(q,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(i,s,c){var o=s.prototype,l=o.format;c.en.formats=r,o.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var m=this.$locale().formats,d=function(v,p){return v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(g,b,f){var y=f&&f.toUpperCase();return b||p[f]||r[f]||p[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(R,M,H){return M||H.slice(1)})})}(u,m===void 0?{}:m);return l.call(this,d)}}})})(oe);var ft=oe.exports;const ht=ge(ft);L.extend(Xe);L.extend(ht);L.locale("zh-cn");const pt=(e,n)=>L(e).format(n),T=(e,n=new Date)=>{if(!e)return"";e=new Date(e);const r=60*1e3,i=r*60,s=i*24,c=s*30,o=s*365,l=+n-+e;if(l<r){const u=Math.ceil(l/1e3);return u<=0?"刚刚":`${u} 秒前`}else return l<i?`${Math.round(l/r)} 分钟前`:l<s?`${Math.round(l/i)} 小时前`:l<c?`${Math.round(l/s)} 天前`:l<o?`${Math.round(l/c)} 个月前`:`${Math.round(l/o)} 年前`};function gt(e){const n=Math.floor(e/86400);e-=n*3600*24;const r=Math.floor(e/3600);e-=r*3600;const i=Math.floor(e/60);let s="";return n>0&&(s+=`${n} 天 `),r>0&&(s+=`${r} 小时 `),i>0&&(s+=`${i} 分钟`),s.trim()}const yt=e=>{const[n,r]=a.useState(T(e.date)),{displayAbsoluteTimeAfterDay:i=29}=e;return a.useEffect(()=>{r(T(e.date));let s=setInterval(()=>{r(T(e.date))},1e3);return Math.abs(L(e.date).diff(new Date,"d"))>i&&(s=clearInterval(s),r(pt(e.date,"YY 年 M 月 D 日"))),()=>{s=clearInterval(s)}},[e.date,i]),t.jsx(t.Fragment,{children:n})};function vt(e){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:t.jsx("path",{className:"fill-black dark:fill-white",d:"M17.05 20.28c-.98.95-2.05.8-3.08.35c-1.09-.46-2.09-.48-3.24 0c-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8c1.18-.24 2.31-.93 3.57-.84c1.51.12 2.65.72 3.4 1.8c-3.12 1.87-2.38 5.98.48 7.13c-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25c.29 2.58-2.34 4.5-3.74 4.25z"})})}function jt(e){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256",...e,children:[t.jsx("path",{fill:"#1877F2",d:"M256 128C256 57.308 198.692 0 128 0C57.308 0 0 57.308 0 128c0 63.888 46.808 116.843 108 126.445V165H75.5v-37H108V99.8c0-32.08 19.11-49.8 48.348-49.8C170.352 50 185 52.5 185 52.5V84h-16.14C152.959 84 148 93.867 148 103.99V128h35.5l-5.675 37H148v89.445c61.192-9.602 108-62.556 108-126.445"}),t.jsx("path",{fill:"#FFF",d:"m177.825 165l5.675-37H148v-24.01C148 93.866 152.959 84 168.86 84H185V52.5S170.352 50 156.347 50C127.11 50 108 67.72 108 99.8V128H75.5v37H108v89.445A128.959 128.959 0 0 0 128 256a128.9 128.9 0 0 0 20-1.555V165h29.825"})]})}function Ct(e){return t.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M14.3392 7.95965C14.3392 7.49715 14.3017 7.03215 14.2217 6.57715H7.8042V9.19715H11.4792C11.3267 10.0421 10.8367 10.7896 10.1192 11.2646V12.9646H12.3117C13.5992 11.7796 14.3392 10.0296 14.3392 7.95965Z",fill:"#4285F4"}),t.jsx("path",{d:"M7.80412 14.6074C9.63912 14.6074 11.1866 14.0049 12.3141 12.9649L10.1216 11.2649C9.51162 11.6799 8.72412 11.9149 7.80662 11.9149C6.03162 11.9149 4.52662 10.7174 3.98662 9.10742H1.72412V10.8599C2.87912 13.1574 5.23162 14.6074 7.80412 14.6074Z",fill:"#34A853"}),t.jsx("path",{d:"M3.98375 9.1075C3.69875 8.2625 3.69875 7.3475 3.98375 6.5025V4.75H1.72375C0.75875 6.6725 0.75875 8.9375 1.72375 10.86L3.98375 9.1075Z",fill:"#FBBC04"}),t.jsx("path",{d:"M7.80412 3.69296C8.77412 3.67796 9.71162 4.04296 10.4141 4.71296L12.3566 2.77046C11.1266 1.61546 9.49412 0.980458 7.80412 1.00046C5.23162 1.00046 2.87912 2.45046 1.72412 4.75046L3.98412 6.50296C4.52162 4.89046 6.02912 3.69296 7.80412 3.69296Z",fill:"#EA4335"})]})}function bt(e){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256",...e,children:[t.jsx("path",{fill:"#F1511B",d:"M121.666 121.666H0V0h121.666z"}),t.jsx("path",{fill:"#80CC28",d:"M256 121.666H134.335V0H256z"}),t.jsx("path",{fill:"#00ADEF",d:"M121.663 256.002H0V134.336h121.663z"}),t.jsx("path",{fill:"#FBBC09",d:"M256 256.002H134.335V134.336H256z"})]})}const wt=({strategy:e,className:n})=>{const r=ie(e);return!e||!r?null:t.jsx(r,{className:n})},ie=e=>{switch(e){case"from_oauth_github":return We;case"from_oauth_google":return Ct;case"from_oauth_apple":return vt;case"from_oauth_microsoft":return bt;case"from_oauth_facebook":return jt;case"from_oauth_twitter":return Ge;default:return null}},Mt="_comment__message_1lfmp_1",_t={comment__message:Mt},Pt=["footnote","footnoteReference","image","htmlComment","htmlSelfClosing","htmlBlock"],kt=({children:e})=>t.jsx($e,{disabledTypes:Pt,disableParsingRawHTML:!0,forceBlock:!0,value:e}),Nt=se({from:{opacity:.001},to:{opacity:1}}),Lt=e=>{const{currentState:n,regularIcon:r,solidIcon:i}=e,s={solid:i,regular:r},[c,o]=a.useState(s[n]),l=Ye();return a.useEffect(()=>{l.start({opacity:.001}).then(()=>{o(s[n]),requestAnimationFrame(()=>{l.start({opacity:1})})})},[n]),t.jsx(Nt,{initial:!0,animate:l,transition:{duration:.2},children:c},n)},Rt=({className:e,pin:n,onPinChange:r})=>{const i=ve(),s=async c=>{c.preventDefault(),c.stopPropagation(),r(!n)};return t.jsx(ze,{"aria-label":"Pin this post",className:k("absolute bottom-0 right-0 top-[4px] z-[10] -m-5 box-content hidden h-5 w-5 items-center p-5",i&&"inline-flex cursor-pointer opacity-50 transition-opacity hover:opacity-100",!i&&n&&"pointer-events-none",n&&"!inline-flex text-uk-red-light opacity-100",e),onClick:s,children:t.jsx(Lt,{currentState:n?"solid":"regular",regularIcon:t.jsx(St,{}),solidIcon:t.jsx(Et,{})})})};function Et(e){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256",...e,children:t.jsx("path",{fill:"currentColor",d:"m232 107.3l-58.5 58.5c4.5 12.7 6.4 33.9-13.2 60a16.3 16.3 0 0 1-11.7 6.4h-1.1a16.1 16.1 0 0 1-11.3-4.7L88 179.3l-34.3 34.4a8.2 8.2 0 0 1-11.4 0a8.1 8.1 0 0 1 0-11.4L76.7 168l-48.4-48.4a15.9 15.9 0 0 1 1.3-23.8C55 75.3 79.3 79.4 90 82.7L148.7 24a16.1 16.1 0 0 1 22.6 0L232 84.7a15.9 15.9 0 0 1 0 22.6Z"})})}function St(e){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256",...e,children:t.jsx("path",{fill:"currentColor",d:"M236.7 96a15.9 15.9 0 0 0-4.7-11.3L171.3 24a16.1 16.1 0 0 0-22.6 0L90 82.7c-10.7-3.3-35-7.4-60.4 13.1a15.9 15.9 0 0 0-1.3 23.8L76.7 168l-34.4 34.3a8.1 8.1 0 0 0 0 11.4a8.2 8.2 0 0 0 11.4 0L88 179.3l48.2 48.2a16.1 16.1 0 0 0 11.3 4.7h1.1a16.3 16.3 0 0 0 11.7-6.4c19.6-26.1 17.7-47.3 13.2-60l58.5-58.5a15.9 15.9 0 0 0 4.7-11.3Zm-78.4 62.3a8.2 8.2 0 0 0-1.5 9.3c9.5 18.9-1.8 38.6-9.3 48.6L39.6 108.3C51.7 98.5 63.3 96 72.1 96s15.9 2.9 16.3 3.2a8.2 8.2 0 0 0 9.3-1.5L160 35.3L220.7 96Z"})})}const It=["在这里说点什么呢。","小可爱,你想说点什么呢?","或许此地可以留下足迹","你的留言是我前进的动力!","说点什么吧,我会好好听的。","来一发评论,送你一个小星星!","你的评论会让我更加努力哦!","留下你的足迹,让我知道你来过。","我在这里等你的留言呢!","你的评论是我最大的动力!","来一发评论,让我知道你的想法吧!"],Bt=()=>Je(It),Yt=500,N="comment-",Tt=()=>({refId:x(""),text:x(""),author:_(`${N}author`,""),mail:_(`${N}mail`,""),url:_(`${N}url`,""),avatar:x(""),source:x(""),isWhisper:_(`${N}is-whisper`,!1),syncToRecently:_(`${N}sync-to-recently`,!0)}),C=a.createContext(null),le=a.createContext(null),$t=e=>{const{refId:n,children:r,afterSubmit:i,initialValue:s}=e,c=a.useMemo(()=>({...Tt(),refId:x(n)}),[n]);return rt(()=>{s&&w.set(c.text,s)}),t.jsx(C.Provider,{value:c,children:t.jsx(le.Provider,{value:a.useMemo(()=>({afterSubmit:i}),[i]),children:r})},n)},ce=a.createContext(!1),ue=a.createContext(""),me=a.createContext(null),Dt=e=>{const{isReply:n,originalRefId:r,onCompleted:i,children:s}=e;return t.jsx(ue.Provider,{value:r,children:t.jsx(ce.Provider,{value:n,children:t.jsx(me.Provider,{value:i||null,children:s})})})},de=a.memo(e=>{const{children:n}=e;return a.useEffect(()=>(O(n),()=>{O(null)}),[n]),null}),At=a.memo(()=>Ht());At.displayName="CommentBoxSlotProvider";de.displayName="CommentBoxSlotPortal";const An=()=>a.useContext(ce),zn=()=>{const e=h(a.useContext(C).refId);return a.useContext(ue)||e},Hn=()=>a.useContext(me),zt=()=>h(a.useContext(C).text),xe=()=>h(a.useContext(C).refId),Vn=()=>a.useContext(C),Fn=()=>a.useContext(le),fe=x(null),Ht=()=>h(fe),O=e=>w.set(fe,e),On=()=>h(I(a.useContext(C).text,a.useCallback(e=>e.length>0,[]))),Un=()=>h(I(a.useContext(C).text,a.useCallback(e=>e.length>Yt,[]))),Vt=()=>{const e=a.useContext(C);return a.useCallback((n,r)=>{const i=e[n];if(!i)throw new Error(`atom ${n} not found`);w.set(i,r)},[e])};var Ft=(e=>(e[e.legacy=0]="legacy",e[e["with-auth"]=1]="with-auth",e))(Ft||{});const he=_("comment-mode",1),qn=()=>h(he),Qn=e=>w.set(he,e),Ot=({comment:e})=>{const n=Pe(),r=xe();return t.jsx(Rt,{pin:!!e.pin,onPinChange:async i=>{n.setQueryData(z(r),s=>je(s,c=>{if(!c)return c;let o=null;return c.pages.forEach(l=>l.data.forEach(u=>{e.id===u.id&&(o=u)})),o&&(o.pin=i),c})),await D.comment.proxy(e.id).patch({data:{pin:i}})}})};function Ut(e){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"0.88em",height:"1em",viewBox:"0 0 14 16",...e,children:t.jsx("path",{fillRule:"evenodd",d:"M8 10.5L9 14H5l1-3.5L5.25 9h3.5L8 10.5zM10 6H4L2 7h10l-2-1zM9 2L7 3L5 2L4 5h6L9 2zm4.03 7.75L10 9l1 2l-2 3h3.22c.45 0 .86-.31.97-.75l.56-2.28c.14-.53-.19-1.08-.72-1.22zM4 9l-3.03.75c-.53.14-.86.69-.72 1.22l.56 2.28c.11.44.52.75.97.75H5l-2-3l1-2z",fill:"currentColor"})})}const qt=({commentId:e})=>{const[n,r]=a.useState(!1),i=xe(),s=a.useCallback(()=>{r(!1)},[]);return t.jsxs(t.Fragment,{children:[t.jsx("button",{"aria-label":"回复",className:P("absolute bottom-0 right-0 translate-x-2/3 translate-y-1/4 text-xs opacity-90","aspect-square rounded-full","box-content flex h-6 w-6 p-[2px] center","border border-slate-200 bg-zinc-100 dark:border-neutral-700 dark:bg-gray-800","invisible cursor-pointer opacity-0","group-[:hover]:visible group-[:hover]:opacity-70"),onClick:()=>{r(c=>!c)},children:t.jsx("i",{className:"icon-[mingcute--comment-line]"})}),t.jsx(Wt,{children:t.jsx(Dt,{isReply:!0,originalRefId:i,onCompleted:s,children:t.jsx($,{duration:.2,children:n&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"h-6"}),t.jsx(on,{refId:e}),t.jsx("div",{className:"h-6"})]})})})})]})},Qt=a.memo(function e(n){const{comment:r,className:i}=n,s=a.useMemo(()=>x(null),[]);if(typeof r=="string")return null;const{id:c,avatar:o,author:l,text:u,key:m,location:d,isWhispers:v,url:p,source:g}=r,b=typeof r.parent=="string"?r.parent:r.parent?.id,f=p?t.jsx("a",{href:p,className:"ml-2 max-w-full flex-shrink-0 break-all",target:"_blank",rel:"noreferrer",children:l}):t.jsx("span",{className:"ml-2 max-w-full flex-shrink-0 break-all",children:l});return t.jsxs(t.Fragment,{children:[t.jsxs(A.Provider,{value:s,children:[t.jsx(B.li,{initial:r.new?{opacity:0,scale:.93,y:20}:!0,transition:J,animate:r.new?{opacity:1,y:0,scale:1}:void 0,"data-comment-id":c,"data-parent-id":b,className:P("relative my-2",i),children:t.jsxs("div",{className:"group flex w-full items-stretch gap-4",children:[t.jsxs("div",{className:"relative flex w-9 shrink-0 self-end",children:[t.jsx(dt,{shadow:!1,imageUrl:o,alt:`${l}'s avatar`,className:"h-9 w-9 select-none rounded-full bg-zinc-200 ring-2 ring-zinc-200 dark:bg-zinc-800 dark:ring-zinc-800",width:24,height:24}),g&&!!ie(g)&&t.jsx("div",{className:"absolute -right-1.5 bottom-1 flex h-3.5 w-3.5 rounded-full bg-white ring-[1.5px] ring-zinc-200 center dark:bg-zinc-800 dark:ring-black",children:t.jsx(wt,{strategy:g,className:"h-3 w-3"})})]}),t.jsxs("div",{className:P("flex flex-1 flex-col","w-full min-w-0 items-start"),children:[t.jsxs("span",{className:P("flex items-center gap-2 font-semibold text-zinc-800 dark:text-zinc-200","relative mb-2 w-full min-w-0 justify-center"),children:[t.jsxs("span",{className:"flex flex-grow flex-wrap items-center gap-2",children:[f,t.jsxs("span",{className:"flex min-w-0 flex-shrink select-none flex-wrap items-center space-x-2 self-end",children:[t.jsx("span",{className:"inline-flex flex-shrink-0 text-[0.71rem] font-medium opacity-40",children:t.jsx(yt,{date:r.created})}),t.jsx("span",{className:"break-all text-[0.71rem] opacity-30",children:m}),!!d&&t.jsxs("span",{className:"min-w-0 max-w-full truncate break-all text-[0.71rem] opacity-[0.35]",children:["来自:",d]}),!!v&&t.jsx(Ut,{})]})]}),t.jsx("span",{className:"flex-shrink-0",children:t.jsx(Ot,{comment:r})})]}),t.jsxs("div",{className:P(_t.comment__message,"relative inline-block rounded-xl px-2 py-1 text-zinc-800 dark:text-zinc-200","rounded-bl-sm bg-zinc-600/5 dark:bg-zinc-500/20","max-w-[calc(100%-3rem)]"),children:[t.jsx(kt,{children:u}),t.jsx(qt,{commentId:r.id})]})]})]})}),t.jsx(Gt,{})]}),r.children&&r.children.length>0&&t.jsx("ul",{className:"my-2 space-y-2",children:r.children.map(y=>t.jsx(e,{comment:y,className:"ml-9"},y.id))})]})}),A=a.createContext(x(null)),Gt=()=>{const e=a.useRef(null),n=a.useContext(A);return a.useLayoutEffect(()=>(w.set(n,e.current),()=>{w.set(n,null)}),[n]),t.jsx("div",{ref:e})},Wt=e=>{const n=h(a.useContext(A));return n?ye.createPortal(e.children,n):null},E=()=>t.jsxs("li",{className:"relative animate-pulse list-none",children:[t.jsxs("div",{className:"group flex w-full items-stretch gap-2",children:[t.jsx("div",{className:"flex w-9 shrink-0 items-end",children:t.jsx("div",{className:"h-9 w-9 rounded-full bg-gray-300 dark:bg-neutral-600"})}),t.jsxs("div",{className:"flex w-full min-w-0 flex-1 flex-col items-start",children:[t.jsx("span",{className:"relative mb-2 flex w-full min-w-0 items-center justify-center gap-2",children:t.jsxs("span",{className:"flex flex-grow items-center gap-2",children:[t.jsx("span",{className:"ml-2 h-4 w-20 bg-gray-300 dark:bg-neutral-600"}),t.jsxs("span",{className:"flex select-none items-center space-x-2",children:[t.jsx("span",{className:"inline-flex h-4 w-20 bg-gray-300 text-[0.71rem] font-medium opacity-40 dark:bg-neutral-600"}),t.jsx("span",{className:"h-4 w-20 bg-gray-300 text-[0.71rem] opacity-30 dark:bg-neutral-600"})]})]})}),t.jsxs("div",{className:"relative flex w-full flex-col gap-2",children:[t.jsx("div",{className:"relative ml-2 inline-block h-4 w-[calc(100%-3rem)] rounded-xl bg-gray-300 px-2 py-1 dark:bg-neutral-600"}),t.jsx("div",{className:"relative ml-2 inline-block h-4 w-[120px] rounded-xl bg-gray-300 px-2 py-1 dark:bg-neutral-600"})]})]})]}),t.jsx("span",{className:"sr-only",children:"Loading..."})]}),U=()=>t.jsxs("div",{className:"flex min-h-[400px] flex-col space-y-4",children:[t.jsx(E,{}),t.jsx(E,{}),t.jsx(E,{}),t.jsx(E,{})]}),z=e=>["comments",e],Zt=({refId:e})=>{const n=a.useMemo(()=>z(e),[e]),{data:r,isLoading:i,fetchNextPage:s,hasNextPage:c}=nt({queryKey:n,queryFn:async({queryKey:o,pageParam:l})=>{const u=l,[,m]=o;return(await D.comment.getByRefId(m,{page:u})).$serialized},meta:{persist:!1},getNextPageParam:o=>o.pagination.hasNextPage?o.pagination.currentPage+1:void 0,getPreviousPageParam:o=>o.pagination.currentPage-1,initialPageParam:1});return i?t.jsx(U,{}):!r||!r.pages.length||!r.pages[0].data.length?t.jsx("div",{className:"flex min-h-[400px] center",children:t.jsx(it,{text:"这里还没有评论呢"})}):t.jsxs(ot,{children:[t.jsx("ul",{className:"min-h-[400px] list-none space-y-4",children:r?.pages.map((o,l)=>t.jsx(ut,{children:o.data.map(u=>t.jsx(Kt,{comment:u,refId:e},u.id))},l))}),c&&t.jsx(mt,{onLoading:s,children:t.jsx(U,{})})]})},Kt=a.memo(function({comment:n,refId:r}){return t.jsx($t,{refId:r,children:t.jsx(Qt,{comment:n})})}),Xt=Object.freeze(Object.defineProperty({__proto__:null,Comments:Zt,buildQueryKey:z},Symbol.toStringTag,{value:"Module"})),Jt=Y(()=>S(()=>import("./EmojiPicker-Vh2w61GA.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.EmojiPicker)),Gn=({className:e})=>{const n=Le(()=>Bt()),r=Vt(),i=zt(),s=a.useRef(null),c=a.useCallback(o=>{if(!s.current)return;const l=s.current,u=l.selectionStart,m=l.selectionEnd;l.value=`${l.value.substring(0,u)} ${o} ${l.value.substring(m,l.value.length)}`,r("text",l.value),requestAnimationFrame(()=>{const d=u+o.length+2;l.selectionStart=d,l.selectionEnd=d,l.focus()})},[]);return a.useEffect(()=>{const o=s.current;o&&i!==o.value&&(o.value=i)},[i]),a.useLayoutEffect(()=>{const o=s.current;o&&(o.selectionStart=o.selectionEnd=o.value.length,o.focus())},[]),t.jsx(Ze,{wrapperClassName:e,ref:s,defaultValue:i,onChange:o=>r("text",o.target.value),placeholder:n,children:t.jsx(de,{children:t.jsx(te,{trigger:"click",TriggerComponent:en,headless:!0,children:t.jsx(Jt,{onEmojiSelect:c})})})})},en=()=>t.jsxs("button",{className:"ml-0 inline-flex h-5 w-5 translate-y-1 text-base center md:ml-4",onClick:Ke,children:[t.jsx("i",{className:"icon-[mingcute--emoji-2-line]"}),t.jsx("span",{className:"sr-only",children:"表情"})]});function tn(e=""){return new URL(e,ke()?.url.webUrl)}function nn(e){return j(e.title)&&j(e.slug)&&!j(e.order)}function rn(e){return j(e.title)&&j(e.slug)&&j(e.order)}function sn(e){return j(e.title)&&j(e.nid)}function an(e){return nn(e)?e.category?`/posts/${e.category.slug}/${encodeURIComponent(e.slug)}`:(console.error("PostModel.category is missing!!!!!"),"#"):rn(e)?`/${e.slug}`:sn(e)?`/notes/${e.nid}`:"/"}function j(e){return e!=null}tn.build=an;Y(()=>S(()=>Promise.resolve().then(()=>Xt),void 0,import.meta.url).then(e=>e.Comments));const on=Y(()=>S(()=>import("./index-TOJKPYo_.js"),__vite__mapDeps([4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,3,31,32,33,34,35,36,37]),import.meta.url).then(e=>e.CommentBoxRoot)),ln=(e,n)=>{a.useEffect(()=>{Ne.fetchQuery({queryKey:["ack-read-count",e,n],queryFn:async()=>D.ack.read(e,n)})},[])},Wn=e=>(ln(e.type,e.id),null),Zn=({children:e,className:n,as:r="main"})=>t.jsx(r,{className:k("relative bg-white dark:bg-zinc-900 md:col-start-1 lg:col-auto","-m-4 p-[2rem_1rem] md:m-0 lg:p-[30px_45px]","rounded-[0_6px_6px_0] border-zinc-200/70 shadow-sm dark:border-neutral-800 dark:shadow-[#333] lg:border","note-layout-main","min-w-0","print:!border-none print:!bg-transparent print:!shadow-none",n),children:e});function cn(e,n){const[r,i]=a.useState(e);return a.useEffect(()=>{const s=setTimeout(()=>{i(e)},n);return()=>{clearTimeout(s)}},[e,n]),r}const Kn=e=>{const{children:n}=e,r=cn(n,300);return t.jsx(Z,{mode:"popLayout",initial:!1,children:t.jsx(B.span,{initial:{opacity:0,y:-16},animate:{opacity:1,y:0},exit:{opacity:0,y:-16,position:"absolute"},transition:qe,children:r},r)})};x({x:0,y:0});x(!1);Y(()=>S(()=>import("./index-4zec-J8m.js"),__vite__mapDeps([38,1,2]),import.meta.url).then(e=>e.QRCodeSVG));const un=()=>{const{y:e}=G(),{h:n}=W();return Re(i=>{const s=Ce().h,c=i>=s?s:i/s*s;return Math.floor(Math.min(Math.max(0,(i-e+c)/n*100),100))||0},[e,n])},mn=a.createContext(null),Xn=()=>a.useContext(mn),dn=a.memo(({type:e,identity:n})=>{const r=et(n),i=un(),s=e==="current",c=a.useDeferredValue(s?i:r?.position),o=ee(),l=a.useMemo(()=>e==="current"||!r?"":K(X(r.identity))[o?"dark":"light"].accent,[o,r,e]);if(!r&&s||typeof c!="number")return null;const u=r?gt((r.operationTime-r.joinedAt)/1e3):"";return t.jsxs(te,{asChild:!0,placement:"right",offset:30,strategy:"fixed",type:"tooltip",triggerElement:t.jsx(pe,{bgColor:l,isCurrent:s,position:c}),children:[s?t.jsx("p",{children:"你在这里。"}):t.jsxs("p",{children:["读者"," ",r?.displayName||r?.identity.slice(0,2).toUpperCase()," ","在这里。"]}),t.jsxs("p",{children:["阅读进度 ",c,"%"]}),u&&t.jsxs("p",{children:["阅读了 ",u]})]})});dn.displayName="TimelineItem";const pe=a.forwardRef(({bgColor:e,isCurrent:n,position:r,...i},s)=>{const c=a.useRef(null),[o]=a.useState(r);a.useLayoutEffect(()=>{const d=c.current;d&&(d.style.top=`${o}%`)},[o]);const l=a.useRef(null);a.useEffect(()=>{if(n)return;const d=c.current;d&&(l.current&&l.current.finish(),l.current=d.animate([{filter:"blur(5px)"},{top:`${r}%`,filter:"blur(0px)"}],{duration:200,fill:"forwards",easing:"ease-in-out"}))},[n,r]);const{y:u}=G(),{h:m}=W();return a.useImperativeHandle(s,()=>c.current),t.jsx("button",{onClick:()=>{De(u+r/100*m)},"aria-label":n?"你在这里":`读者在这里 - ${r}%`,ref:c,className:P("absolute h-2 -translate-x-4 rounded-full bg-accent duration-200 group-hover:opacity-80 hover:-translate-x-2 hover:opacity-100",n?"w-9 opacity-40 group-hover:opacity-100":"w-8 opacity-30"),style:{top:n?`${r}%`:void 0,backgroundColor:e},...i})});pe.displayName="MoitonBar";const Jn=e=>{const{cid:n}=e,{data:r,isLoading:i,error:s}=Fe({queryKey:["getSummary",n],queryFn:async({queryKey:o})=>{const[,l]=o,u=await fetch(`/api/xlog/summary?cid=${l}`,{next:{revalidate:60*10}}).then(m=>m.json());if(!u)throw new Error("请求错误");if(!u.data)throw new Error("内容暂时无法获取");return u},enabled:!!n,staleTime:1e3*60*60*24*7,retryDelay:5e3});let c=t.jsxs("div",{className:k("space-y-2 rounded-xl border border-slate-200 p-4 dark:border-neutral-800",e.className),children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx("i",{className:"icon-[mingcute--sparkles-line] mr-2 text-lg"}),"AI 生成的摘要"]}),t.jsxs($,{duration:.3,children:[t.jsx("div",{className:"!m-0 text-sm leading-loose text-base-content/85",children:i?t.jsxs("div",{className:"space-y-2",children:[t.jsx("span",{className:"block h-5 w-full animate-pulse rounded-xl bg-zinc-200 dark:bg-neutral-800"}),t.jsx("span",{className:"block h-5 w-full animate-pulse rounded-xl bg-zinc-200 dark:bg-neutral-800"}),t.jsx("span",{className:"block h-5 w-full animate-pulse rounded-xl bg-zinc-200 dark:bg-neutral-800"})]}):r?.data}),i&&t.jsxs("p",{className:"border-slate-200 text-right text-sm dark:border-slate-800 ",children:["(此服务由"," ",t.jsx("a",{href:"https://xlog.app",target:"_blank",rel:"noreferrer",children:"xLog"})," ","驱动)"]})]})]});return(!n||s)&&(c=null),t.jsx($,{duration:.2,className:"mt-4 print:hidden",children:c})},er=e=>e?.meta?.xLog?.cid;export{Wn as A,Dn as B,At as C,ot as E,$n as M,Kn as N,Rt as P,yt as R,Gn as U,Jn as X,Tn as a,Zn as b,On as c,xe as d,Vn as e,Fn as f,er as g,An as h,zn as i,Hn as j,Un as k,zt as l,Yt as m,Vt as n,z as o,Ft as p,tn as q,qn as r,Qn as s,$t as t,Xn as u,pt as v,rt as w,se as x}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./EmojiPicker-Vh2w61GA.js","./index-ZXl4th35.js","./index-dOOtwMJK.css","./use-is-dark-IiysOCcN.js","./index-TOJKPYo_.js","./viewport-l4O6ZIBM.js","./request-bY2SEZNN.js","./toast-dlXalurG.js","./motion-minimal-epsqYg85.js","./StyledButton-VgryXAte.js","./env-y9k74Ds6.js","./AutoResizeHeight-dtcKGJMw.js","./spring-hnK4kZop.js","./Gallery-QJ8JjQGt.js","./image-fdtjzFNr.js","./lodash-lrAbnKsZ.js","./use-is-unmounted-dmgvzXDy.js","./Gallery-cCMf-PmV.css","./useQuery-3CoUXB5U.js","./alert-fERsLyJJ.js","./FloatPopover-3waN72gb.js","./use-event-callback-ULpIcVk8.js","./use-is-client-6Iy0halI.js","./index-LA8z4iWc.js","./visual-element-tlU1-krp.js","./LinkCard-AonZnIUQ.js","./provider-XKwIHqOQ.js","./dom-NuJWIaAq.js","./LinkCard-YJIkKfPg.css","./SocialSourceLink-Fjgxzjol.js","./CodeHighlighter-Mm1eioOt.js","./CodeHighlighter-hcFZa2QO.css","./Collapse-btcJozxA.js","./alert--DRvt2nk.css","./Form-kbLn7dW2.js","./FormInput-i0fsPScC.js","./react-error-boundary.esm-e5Yyzoa4.js","./customParseFormat-0gR3iPzn.js","./index-4zec-J8m.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/utils-rnEXEs_g.css b/assets/utils-rnEXEs_g.css new file mode 100644 index 00000000000..c8c59480675 --- /dev/null +++ b/assets/utils-rnEXEs_g.css @@ -0,0 +1 @@ +._comment__message_1lfmp_1 *{word-break:break-all;line-height:1.5rem}._comment__message_1lfmp_1 h1,._comment__message_1lfmp_1 h2,._comment__message_1lfmp_1 h3,._comment__message_1lfmp_1 h4,._comment__message_1lfmp_1 h5,._comment__message_1lfmp_1 h6{font-weight:600;letter-spacing:-.025em}._comment__message_1lfmp_1 h1{font-size:1.125rem;line-height:1.75rem;font-weight:700}._comment__message_1lfmp_1 h2{font-size:1.065rem;line-height:1.75rem;font-weight:700}._comment__message_1lfmp_1 hr{margin-top:.375rem;margin-bottom:.375rem;--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity));opacity:.2}._comment__message_1lfmp_1 ul{list-style-type:disc;padding-left:1rem}._comment__message_1lfmp_1 ol{list-style-type:decimal;padding-left:1rem}._comment__message_1lfmp_1 blockquote{margin-top:.25rem;margin-bottom:.25rem;border-left-width:4px;--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity));padding-left:.5rem}._comment__message_1lfmp_1 img,._comment__message_1lfmp_1 video{border-radius:.375rem;max-height:350px}._comment__message_1lfmp_1 pre{margin-top:.375rem;margin-bottom:.375rem;white-space:break-spaces}._comment__message_1lfmp_1 pre,._comment__message_1lfmp_1 code:not([class^=language-]){border-radius:.25rem;background-color:#3f3f461a;padding:.125rem .25rem;--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity))}._comment__message_1lfmp_1 pre>code{background-color:transparent!important;padding:0!important}[data-theme=dark] ._comment__message_1lfmp_1 hr{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity));opacity:.2}[data-theme=dark] ._comment__message_1lfmp_1 blockquote{border-color:#fafafa80}[data-theme=dark] ._comment__message_1lfmp_1 pre,[data-theme=dark] ._comment__message_1lfmp_1 code:not([class^=language-]){background-color:#e4e4e733;--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}[data-theme=dark] ._comment__message_1lfmp_1 pre>code{background-color:transparent!important} diff --git a/assets/viewport-l4O6ZIBM.js b/assets/viewport-l4O6ZIBM.js new file mode 100644 index 00000000000..8e4da677c51 --- /dev/null +++ b/assets/viewport-l4O6ZIBM.js @@ -0,0 +1,9 @@ +import{j as _e,m as cn,o as an,p as un,q as fn,h as ln,v as It}from"./request-bY2SEZNN.js";import{a as xt,b as xe}from"./toast-dlXalurG.js";import{c as mt,r as _,R as re}from"./index-ZXl4th35.js";import{i as dn}from"./env-y9k74Ds6.js";var Ft=Symbol.for("immer-nothing"),Et=Symbol.for("immer-draftable"),L=Symbol.for("immer-state");function U(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var fe=Object.getPrototypeOf;function le(e){return!!e&&!!e[L]}function ce(e){return e?zt(e)||Array.isArray(e)||!!e[Et]||!!e.constructor?.[Et]||ze(e)||Ne(e):!1}var _n=Object.prototype.constructor.toString();function zt(e){if(!e||typeof e!="object")return!1;const t=fe(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===_n}function me(e,t){Fe(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function Fe(e){const t=e[L];return t?t.type_:Array.isArray(e)?1:ze(e)?2:Ne(e)?3:0}function Be(e,t){return Fe(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Nt(e,t,n){const r=Fe(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function hn(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ze(e){return e instanceof Map}function Ne(e){return e instanceof Set}function ie(e){return e.copy_||e.base_}function Je(e,t){if(ze(e))return new Map(e);if(Ne(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&zt(e))return fe(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[L];let r=Reflect.ownKeys(n);for(let s=0;s<r.length;s++){const o=r[s],i=n[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(n[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(fe(e),n)}function it(e,t=!1){return Le(e)||le(e)||!ce(e)||(Fe(e)>1&&(e.set=e.add=e.clear=e.delete=yn),Object.freeze(e),t&&me(e,(n,r)=>it(r,!0))),e}function yn(){U(2)}function Le(e){return Object.isFrozen(e)}var pn={};function ae(e){const t=pn[e];return t||U(0,e),t}var Ee;function Lt(){return Ee}function gn(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function wt(e,t){t&&(ae("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ye(e){Xe(e),e.drafts_.forEach(mn),e.drafts_=null}function Xe(e){e===Ee&&(Ee=e.parent_)}function St(e){return Ee=gn(Ee,e)}function mn(e){const t=e[L];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function vt(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[L].modified_&&(Ye(t),U(4)),ce(e)&&(e=Te(t,e),t.parent_||Ie(t,e)),t.patches_&&ae("Patches").generateReplacementPatches_(n[L].base_,e,t.patches_,t.inversePatches_)):e=Te(t,n,[]),Ye(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Ft?e:void 0}function Te(e,t,n){if(Le(t))return t;const r=t[L];if(!r)return me(t,(s,o)=>Ct(e,r,t,s,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Ie(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const s=r.copy_;let o=s,i=!1;r.type_===3&&(o=new Set(s),s.clear(),i=!0),me(o,(a,u)=>Ct(e,r,s,a,u,n,i)),Ie(e,s,!1),n&&e.patches_&&ae("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Ct(e,t,n,r,s,o,i){if(le(s)){const a=o&&t&&t.type_!==3&&!Be(t.assigned_,r)?o.concat(r):void 0,u=Te(e,s,a);if(Nt(n,r,u),le(u))e.canAutoFreeze_=!1;else return}else i&&n.add(s);if(ce(s)&&!Le(s)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Te(e,s),(!t||!t.scope_.parent_)&&Ie(e,s)}}function Ie(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&it(t,n)}function En(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Lt(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let s=r,o=ct;n&&(s=[r],o=we);const{revoke:i,proxy:a}=Proxy.revocable(s,o);return r.draft_=a,r.revoke_=i,a}var ct={get(e,t){if(t===L)return e;const n=ie(e);if(!Be(n,t))return wn(e,n,t);const r=n[t];return e.finalized_||!ce(r)?r:r===Ue(e.base_,t)?(je(e),e.copy_[t]=Ze(r,e)):r},has(e,t){return t in ie(e)},ownKeys(e){return Reflect.ownKeys(ie(e))},set(e,t,n){const r=kt(ie(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const s=Ue(ie(e),t),o=s?.[L];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(hn(n,s)&&(n!==void 0||Be(e.base_,t)))return!0;je(e),Qe(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Ue(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,je(e),Qe(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=ie(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){U(11)},getPrototypeOf(e){return fe(e.base_)},setPrototypeOf(){U(12)}},we={};me(ct,(e,t)=>{we[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});we.deleteProperty=function(e,t){return we.set.call(this,e,t,void 0)};we.set=function(e,t,n){return ct.set.call(this,e[0],t,n,e[0])};function Ue(e,t){const n=e[L];return(n?ie(n):e)[t]}function wn(e,t,n){const r=kt(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}function kt(e,t){if(!(t in e))return;let n=fe(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=fe(n)}}function Qe(e){e.modified_||(e.modified_=!0,e.parent_&&Qe(e.parent_))}function je(e){e.copy_||(e.copy_=Je(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Sn=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const i=this;return function(u=o,...A){return i.produce(u,E=>n.call(this,E,...A))}}typeof n!="function"&&U(6),r!==void 0&&typeof r!="function"&&U(7);let s;if(ce(t)){const o=St(this),i=Ze(t,void 0);let a=!0;try{s=n(i),a=!1}finally{a?Ye(o):Xe(o)}return wt(o,r),vt(s,o)}else if(!t||typeof t!="object"){if(s=n(t),s===void 0&&(s=t),s===Ft&&(s=void 0),this.autoFreeze_&&it(s,!0),r){const o=[],i=[];ae("Patches").generateReplacementPatches_(t,s,o,i),r(o,i)}return s}else U(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(i,...a)=>this.produceWithPatches(i,u=>t(u,...a));let r,s;return[this.produce(t,n,(i,a)=>{r=i,s=a}),r,s]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){ce(e)||U(8),le(e)&&(e=vn(e));const t=St(this),n=Ze(e,void 0);return n[L].isManual_=!0,Xe(t),n}finishDraft(e,t){const n=e&&e[L];(!n||!n.isManual_)&&U(9);const{scope_:r}=n;return wt(r,t),vt(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const s=t[n];if(s.path.length===0&&s.op==="replace"){e=s.value;break}}n>-1&&(t=t.slice(n+1));const r=ae("Patches").applyPatches_;return le(e)?r(e,t):this.produce(e,s=>r(s,t))}};function Ze(e,t){const n=ze(e)?ae("MapSet").proxyMap_(e,t):Ne(e)?ae("MapSet").proxySet_(e,t):En(e,t);return(t?t.scope_:Lt()).drafts_.push(n),n}function vn(e){return le(e)||U(10,e),Mt(e)}function Mt(e){if(!ce(e)||Le(e))return e;const t=e[L];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Je(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Je(e,!0);return me(n,(r,s)=>{Nt(n,r,Mt(s))}),t&&(t.finalized_=!1),n}var k=new Sn,Cn=k.produce;k.produceWithPatches.bind(k);k.setAutoFreeze.bind(k);k.setUseStrictShallowCopy.bind(k);k.applyPatches.bind(k);k.createDraft.bind(k);k.finishDraft.bind(k);const Vt=xt({process:null,media:null}),Tr=e=>_e.set(Vt,t=>({...t,process:e})),Ir=e=>_e.set(Vt,t=>({...t,media:e})),at=xt({}),xr=e=>{_e.set(at,t=>({...t,[e.identity]:e}))},Fr=e=>{_e.set(at,t=>Cn(t,n=>{delete n[e]}))},zr=e=>_e.set(at,e||{}),Rn=()=>xe(cn),bn=()=>xe(an);typeof window<"u"&&!window.global&&(window.global=typeof mt>"u"?window:mt);var Wt=Object.defineProperty,On=Object.getOwnPropertyDescriptor,Pn=Object.getOwnPropertyNames,An=Object.prototype.hasOwnProperty,Dn=(e,t)=>{for(var n in t)Wt(e,n,{get:t[n],enumerable:!0})},Rt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Pn(t))!An.call(e,s)&&s!==n&&Wt(e,s,{get:()=>t[s],enumerable:!(r=On(t,s))||r.enumerable});return e},Tn=(e,t,n)=>(Rt(e,t,"default"),n&&Rt(n,t,"default")),Ut={exports:{}},jt={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var de=_;function In(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xn=typeof Object.is=="function"?Object.is:In,Fn=de.useState,zn=de.useEffect,Nn=de.useLayoutEffect,Ln=de.useDebugValue;function kn(e,t){var n=t(),r=Fn({inst:{value:n,getSnapshot:t}}),s=r[0].inst,o=r[1];return Nn(function(){s.value=n,s.getSnapshot=t,qe(s)&&o({inst:s})},[e,n,t]),zn(function(){return qe(s)&&o({inst:s}),e(function(){qe(s)&&o({inst:s})})},[e]),Ln(n),n}function qe(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xn(e,n)}catch{return!0}}function Mn(e,t){return t()}var Vn=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Mn:kn;jt.useSyncExternalStore=de.useSyncExternalStore!==void 0?de.useSyncExternalStore:Vn;Ut.exports=jt;var qt=Ut.exports;const ne=()=>{},I=ne(),De=Object,f=e=>e===I,j=e=>typeof e=="function",X=(e,t)=>({...e,...t}),Wn=e=>j(e.then),Pe=new WeakMap;let Un=0;const Se=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let s,o;if(De(e)===e&&!r&&n!=RegExp){if(s=Pe.get(e),s)return s;if(s=++Un+"~",Pe.set(e,s),n==Array){for(s="@",o=0;o<e.length;o++)s+=Se(e[o])+",";Pe.set(e,s)}if(n==De){s="#";const i=De.keys(e).sort();for(;!f(o=i.pop());)f(e[o])||(s+=o+":"+Se(e[o])+",");Pe.set(e,s)}}else s=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return s},H=new WeakMap,$e={},Ae={},ut="undefined",ke=typeof window!=ut,et=typeof document!=ut,jn=()=>ke&&typeof window.requestAnimationFrame!=ut,te=(e,t)=>{const n=H.get(e);return[()=>!f(t)&&e.get(t)||$e,r=>{if(!f(t)){const s=e.get(t);t in Ae||(Ae[t]=s),n[5](t,X(s,r),s||$e)}},n[6],()=>!f(t)&&t in Ae?Ae[t]:!f(t)&&e.get(t)||$e]};let tt=!0;const qn=()=>tt,[nt,rt]=ke&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ne,ne],$n=()=>{const e=et&&document.visibilityState;return f(e)||e!=="hidden"},Hn=e=>(et&&document.addEventListener("visibilitychange",e),nt("focus",e),()=>{et&&document.removeEventListener("visibilitychange",e),rt("focus",e)}),Kn=e=>{const t=()=>{tt=!0,e()},n=()=>{tt=!1};return nt("online",t),nt("offline",n),()=>{rt("online",t),rt("offline",n)}},Gn={isOnline:qn,isVisible:$n},Bn={initFocus:Hn,initReconnect:Kn},bt=!re.useId,ve=!ke||"Deno"in window,Jn=e=>jn()?window.requestAnimationFrame(e):setTimeout(e,1),ge=ve?_.useEffect:_.useLayoutEffect,He=typeof navigator<"u"&&navigator.connection,Ot=!ve&&He&&(["slow-2g","2g"].includes(He.effectiveType)||He.saveData),se=e=>{if(j(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Se(e):"",[e,t]};let Yn=0;const st=()=>++Yn,$t=0,Ht=1,Kt=2,Xn=3;var pe={__proto__:null,ERROR_REVALIDATE_EVENT:Xn,FOCUS_EVENT:$t,MUTATE_EVENT:Kt,RECONNECT_EVENT:Ht};async function Gt(...e){const[t,n,r,s]=e,o=X({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let i=o.populateCache;const a=o.rollbackOnError;let u=o.optimisticData;const A=o.revalidate!==!1,E=v=>typeof a=="function"?a(v):a!==!1,g=o.throwOnError;if(j(n)){const v=n,w=[],D=t.keys();for(const F of D)!/^\$(inf|sub)\$/.test(F)&&v(t.get(F)._k)&&w.push(F);return Promise.all(w.map(h))}return h(n);async function h(v){const[w]=se(v);if(!w)return;const[D,F]=te(t,w),[c,K,oe,x]=H.get(t),z=c[w],Q=()=>A&&(delete oe[w],delete x[w],z&&z[0])?z[0](Kt).then(()=>D().data):D().data;if(e.length<3)return Q();let l=r,d;const S=st();K[w]=[S,0];const C=!f(u),q=D(),M=q.data,W=q._c,R=f(W)?M:W;if(C&&(u=j(u)?u(R,M):u,F({data:u,_c:R})),j(l))try{l=l(R)}catch(N){d=N}if(l&&Wn(l))if(l=await l.catch(N=>{d=N}),S!==K[w][0]){if(d)throw d;return l}else d&&C&&E(d)&&(i=!0,l=R,F({data:l,_c:I}));i&&(d||(j(i)&&(l=i(l,R)),F({data:l,error:I,_c:I}))),K[w][1]=st();const O=await Q();if(F({_c:I}),d){if(g)throw d;return}return i?O:l}}const Pt=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Bt=(e,t)=>{if(!H.has(e)){const n=X(Bn,t),r={},s=Gt.bind(I,e);let o=ne;const i={},a=(E,g)=>{const h=i[E]||[];return i[E]=h,h.push(g),()=>h.splice(h.indexOf(g),1)},u=(E,g,h)=>{e.set(E,g);const v=i[E];if(v)for(const w of v)w(g,h)},A=()=>{if(!H.has(e)&&(H.set(e,[r,{},{},{},s,u,a]),!ve)){const E=n.initFocus(setTimeout.bind(I,Pt.bind(I,r,$t))),g=n.initReconnect(setTimeout.bind(I,Pt.bind(I,r,Ht)));o=()=>{E&&E(),g&&g(),H.delete(e)}}};return A(),[e,s,A,o]}return[e,H.get(e)[4]]},Qn=(e,t,n,r,s)=>{const o=n.errorRetryCount,i=s.retryCount,a=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!f(o)&&i>o||setTimeout(r,a,s)},Zn=(e,t)=>Se(e)==Se(t),[Me,Jt]=Bt(new Map),Yt=X({onLoadingSlow:ne,onSuccess:ne,onError:ne,onErrorRetry:Qn,onDiscarded:ne,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ot?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ot?5e3:3e3,compare:Zn,isPaused:()=>!1,cache:Me,mutate:Jt,fallback:{}},Gn),Xt=(e,t)=>{const n=X(e,t);if(t){const{use:r,fallback:s}=e,{use:o,fallback:i}=t;r&&o&&(n.use=r.concat(o)),s&&i&&(n.fallback=X(s,i))}return n},ot=_.createContext({}),er=e=>{const{value:t}=e,n=_.useContext(ot),r=j(t),s=_.useMemo(()=>r?t(n):t,[r,n,t]),o=_.useMemo(()=>r?s:Xt(n,s),[r,n,s]),i=s&&s.provider,a=_.useRef(I);i&&!a.current&&(a.current=Bt(i(o.cache||Me),s));const u=a.current;return u&&(o.cache=u[0],o.mutate=u[1]),ge(()=>{if(u)return u[2]&&u[2](),u[3]},[]),_.createElement(ot.Provider,X(e,{value:o}))},Qt=ke&&window.__SWR_DEVTOOLS_USE__,tr=Qt?window.__SWR_DEVTOOLS_USE__:[],nr=()=>{Qt&&(window.__SWR_DEVTOOLS_REACT__=re)},Zt=e=>j(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],en=()=>X(Yt,_.useContext(ot)),rr=(e,t)=>{const[n,r]=se(e),[,,,s]=H.get(Me);if(s[n])return s[n];const o=t(r);return s[n]=o,o},sr=e=>(t,n,r)=>e(t,n&&((...o)=>{const[i]=se(t),[,,,a]=H.get(Me),u=a[i];return f(u)?n(...o):(delete a[i],u)}),r),or=tr.concat(sr),ir=e=>function(...n){const r=en(),[s,o,i]=Zt(n),a=Xt(r,i);let u=e;const{use:A}=a,E=(A||[]).concat(or);for(let g=E.length;g--;)u=E[g](u);return u(s,o||a.fetcher||null,a)},cr=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const s=r.indexOf(n);s>=0&&(r[s]=r[r.length-1],r.pop())}},ar=(e,t)=>(...n)=>{const[r,s,o]=Zt(n),i=(o.use||[]).concat(t);return e(r,s,{...o,use:i})};nr();const ur=e=>se(e)[0],At=re.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Ke={dedupe:!0},fr=(e,t,n)=>{const{cache:r,compare:s,suspense:o,fallbackData:i,revalidateOnMount:a,revalidateIfStale:u,refreshInterval:A,refreshWhenHidden:E,refreshWhenOffline:g,keepPreviousData:h}=n,[v,w,D,F]=H.get(r),[c,K]=se(e),oe=_.useRef(!1),x=_.useRef(!1),z=_.useRef(c),Q=_.useRef(t),l=_.useRef(n),d=()=>l.current,S=()=>d().isVisible()&&d().isOnline(),[C,q,M,W]=te(r,c),R=_.useRef({}).current,O=f(i)?n.fallback[c]:i,N=(y,p)=>{for(const P in R){const m=P;if(m==="data"){if(!s(y[m],p[m])&&(!f(y[m])||!s(Oe,p[m])))return!1}else if(p[m]!==y[m])return!1}return!0},he=_.useMemo(()=>{const y=!c||!t?!1:f(a)?d().isPaused()||o?!1:f(u)?!0:u:a,p=T=>{const J=X(T);return delete J._k,y?{isValidating:!0,isLoading:!0,...J}:J},P=C(),m=W(),$=p(P),ue=P===m?$:p(m);let b=$;return[()=>{const T=p(C());return N(T,b)?(b.data=T.data,b.isLoading=T.isLoading,b.isValidating=T.isValidating,b.error=T.error,b):(b=T,T)},()=>ue]},[r,c]),Z=qt.useSyncExternalStore(_.useCallback(y=>M(c,(p,P)=>{N(P,p)||y()}),[r,c]),he[0],he[1]),Re=!oe.current,G=v[c]&&v[c].length>0,ee=Z.data,B=f(ee)?O:ee,be=Z.error,lt=_.useRef(B),Oe=h?f(ee)?lt.current:ee:B,dt=G&&!f(be)?!1:Re&&!f(a)?a:d().isPaused()?!1:o?f(B)?!1:u:f(B)||u,_t=!!(c&&t&&Re&&dt),rn=f(Z.isValidating)?_t:Z.isValidating,sn=f(Z.isLoading)?_t:Z.isLoading,ye=_.useCallback(async y=>{const p=Q.current;if(!c||!p||x.current||d().isPaused())return!1;let P,m,$=!0;const ue=y||{},b=!D[c]||!ue.dedupe,T=()=>bt?!x.current&&c===z.current&&oe.current:c===z.current,J={isValidating:!1,isLoading:!1},yt=()=>{q(J)},pt=()=>{const V=D[c];V&&V[1]===m&&delete D[c]},gt={isValidating:!0};f(C().data)&&(gt.isLoading=!0);try{if(b&&(q(gt),n.loadingTimeout&&f(C().data)&&setTimeout(()=>{$&&T()&&d().onLoadingSlow(c,n)},n.loadingTimeout),D[c]=[p(K),st()]),[P,m]=D[c],P=await P,b&&setTimeout(pt,n.dedupingInterval),!D[c]||D[c][1]!==m)return b&&T()&&d().onDiscarded(c),!1;J.error=I;const V=w[c];if(!f(V)&&(m<=V[0]||m<=V[1]||V[1]===0))return yt(),b&&T()&&d().onDiscarded(c),!1;const Y=C().data;J.data=s(Y,P)?Y:P,b&&T()&&d().onSuccess(P,c,n)}catch(V){pt();const Y=d(),{shouldRetryOnError:Ve}=Y;Y.isPaused()||(J.error=V,b&&T()&&(Y.onError(V,c,Y),(Ve===!0||j(Ve)&&Ve(V))&&S()&&Y.onErrorRetry(V,c,Y,on=>{const We=v[c];We&&We[0]&&We[0](pe.ERROR_REVALIDATE_EVENT,on)},{retryCount:(ue.retryCount||0)+1,dedupe:!0})))}return $=!1,yt(),!0},[c,r]),ht=_.useCallback((...y)=>Gt(r,z.current,...y),[]);if(ge(()=>{Q.current=t,l.current=n,f(ee)||(lt.current=ee)}),ge(()=>{if(!c)return;const y=ye.bind(I,Ke);let p=0;const m=cr(c,v,($,ue={})=>{if($==pe.FOCUS_EVENT){const b=Date.now();d().revalidateOnFocus&&b>p&&S()&&(p=b+d().focusThrottleInterval,y())}else if($==pe.RECONNECT_EVENT)d().revalidateOnReconnect&&S()&&y();else{if($==pe.MUTATE_EVENT)return ye();if($==pe.ERROR_REVALIDATE_EVENT)return ye(ue)}});return x.current=!1,z.current=c,oe.current=!0,q({_k:K}),dt&&(f(B)||ve?y():Jn(y)),()=>{x.current=!0,m()}},[c]),ge(()=>{let y;function p(){const m=j(A)?A(C().data):A;m&&y!==-1&&(y=setTimeout(P,m))}function P(){!C().error&&(E||d().isVisible())&&(g||d().isOnline())?ye(Ke).then(p):p()}return p(),()=>{y&&(clearTimeout(y),y=-1)}},[A,E,g,c]),_.useDebugValue(Oe),o&&f(B)&&c){if(!bt&&ve)throw new Error("Fallback data is required when using suspense in SSR.");Q.current=t,l.current=n,x.current=!1;const y=F[c];if(!f(y)){const p=ht(y);At(p)}if(f(be)){const p=ye(Ke);f(Oe)||(p.status="fulfilled",p.value=!0),At(p)}else throw be}return{mutate:ht,get data(){return R.data=!0,Oe},get error(){return R.error=!0,be},get isValidating(){return R.isValidating=!0,rn},get isLoading(){return R.isLoading=!0,sn}}},tn=De.defineProperty(er,"defaultValue",{value:Yt}),ft=ir(fr),lr=Object.freeze(Object.defineProperty({__proto__:null,SWRConfig:tn,default:ft,mutate:Jt,preload:rr,unstable_serialize:ur,useSWRConfig:en},Symbol.toStringTag,{value:"Module"})),dr="$inf$",_r=e=>se(e?e(0,null):null)[0],Ge=Promise.resolve(),hr=e=>(t,n,r)=>{const s=_.useRef(!1),{cache:o,initialSize:i=1,revalidateAll:a=!1,persistSize:u=!1,revalidateFirstPage:A=!0,revalidateOnMount:E=!1,parallel:g=!1}=r;let h;try{h=_r(t),h&&(h=dr+h)}catch{}const[v,w,D]=te(o,h),F=_.useCallback(()=>f(v()._l)?i:v()._l,[o,h,i]);qt.useSyncExternalStore(_.useCallback(l=>h?D(h,()=>{l()}):()=>{},[o,h]),F,F);const c=_.useCallback(()=>{const l=v()._l;return f(l)?i:l},[h,i]),K=_.useRef(c());ge(()=>{if(!s.current){s.current=!0;return}h&&w({_l:u?K.current:c()})},[h,o]);const oe=E&&!s.current,x=e(h,async l=>{const d=v()._i,S=[],C=c(),[q]=te(o,l),M=q().data,W=[];let R=null;for(let O=0;O<C;++O){const[N,he]=se(t(O,g?null:R));if(!N)break;const[Z,Re]=te(o,N);let G=Z().data;const ee=a||d||f(G)||A&&!O&&!f(M)||oe||M&&!f(M[O])&&!r.compare(M[O],G);if(n&&ee){const B=async()=>{G=await n(he),Re({data:G,_k:he}),S[O]=G};g?W.push(B):await B()}else S[O]=G;g||(R=G)}return g&&await Promise.all(W.map(O=>O())),w({_i:I}),S},r),z=_.useCallback(function(l,d){const S=typeof d=="boolean"?{revalidate:d}:d||{},C=S.revalidate!==!1;return h?(C&&(f(l)?w({_i:!0}):w({_i:!1})),arguments.length?x.mutate(l,{...S,revalidate:C}):x.mutate()):Ge},[h,o]),Q=_.useCallback(l=>{if(!h)return Ge;const[,d]=te(o,h);let S;if(j(l)?S=l(c()):typeof l=="number"&&(S=l),typeof S!="number")return Ge;d({_l:S}),K.current=S;const C=[],[q]=te(o,h);let M=null;for(let W=0;W<S;++W){const[R]=se(t(W,M)),[O]=te(o,R),N=R?O().data:I;if(f(N))return z(q().data);C.push(N),M=N}return z(C)},[h,o,z,c]);return{size:c(),setSize:Q,mutate:z,get data(){return x.data},get error(){return x.error},get isValidating(){return x.isValidating},get isLoading(){return x.isLoading}}},yr=ar(ft,hr);function pr(e,t){if(!e)throw typeof t=="string"?new Error(t):new Error(`${t.displayName} not found`)}var Ce=(e,t)=>{const{assertCtxFn:n=pr}=t||{},r=re.createContext(void 0);return r.displayName=e,[r,()=>{const i=re.useContext(r);return n(i,`${e} not found`),i.value},()=>{const i=re.useContext(r);return i?i.value:{}}]},nn={};Dn(nn,{SWRConfig:()=>tn,useSWR:()=>ft,useSWRInfinite:()=>yr});Tn(nn,lr);var[Nr,Lr]=Ce("ClerkInstanceContext"),[kr,gr]=Ce("UserContext");Ce("ClientContext");Ce("SessionContext");Ce("OrganizationContext");typeof window<"u"?re.useLayoutEffect:re.useEffect;function mr(){const e=gr();return e===void 0?{isLoaded:!1,isSignedIn:void 0,user:void 0}:e===null?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:e}}const Er="shiro",wr=e=>`@${Er}/${e}`,Sr="1234567890abcdefghijklmnopqrstuvwxyz",vr=un(Sr),Dt=vr(8),Tt=wr("web-session"),Cr=()=>{if(!dn)return"";const e=localStorage.getItem(Tt);return e||(localStorage.setItem(Tt,Dt),Dt)},Mr=()=>{const e=mr(),t=bn(),n=Rn();return _.useMemo(()=>{const r=Cr();return n?t?`owner-${t.id}`:r:e&&e.isSignedIn?e.user.id.toLowerCase():r},[t,n,e])},Vr=()=>xe(fn),Rr=e=>xe(ln(It,_.useCallback(t=>e(t),[]))),Wr=()=>Rr(_.useCallback(e=>br(e),[])),br=e=>(e.sm||e.md||!e.sm)&&!e.lg,Ur=()=>_e.get(It);export{Nr as C,Wr as a,Rn as b,Lr as c,Ce as d,mr as e,at as f,Ur as g,Ir as h,Fr as i,xr as j,Cr as k,qt as l,Mr as m,Vr as n,wr as o,Cn as p,zr as r,Tr as s,Rr as u}; diff --git a/assets/visual-element-tlU1-krp.js b/assets/visual-element-tlU1-krp.js new file mode 100644 index 00000000000..e09cc859627 --- /dev/null +++ b/assets/visual-element-tlU1-krp.js @@ -0,0 +1 @@ +import{I as Ct,n as S,_ as Y,$ as Dt,a0 as ye,a1 as q,a2 as We,E as Ge,p as G,r as le,a3 as vt,B as Ot,o as Z,f as ee,g as je,H as He,a4 as wt,i as St,s as Ft,a5 as Pt,a6 as It,a7 as kt,a8 as Rt,a9 as Nt}from"./motion-minimal-epsqYg85.js";const $e={skipAnimations:!1,useManualTiming:!1},Bt=(e,t)=>n=>t(e(n)),be=(...e)=>e.reduce(Bt);function Kt(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function _t(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Ae(e,t,n){const r=e.getProps();return Ct(r,t,n!==void 0?n:r.custom,Kt(e),_t(e))}let Ee=S;const B=e=>e*1e3,F=e=>e/1e3,zt={current:!1},Ze=e=>Array.isArray(e)&&typeof e[0]=="number";function Xe(e){return!!(!e||typeof e=="string"&&Je[e]||Ze(e)||Array.isArray(e)&&e.every(Xe))}const U=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Je={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:U([0,.65,.55,1]),circOut:U([.55,0,1,.45]),backIn:U([.31,.01,.66,-.59]),backOut:U([.33,1.53,.69,.99])};function Qe(e){if(e)return Ze(e)?U(e):Array.isArray(e)?e.map(Qe):Je[e]}function Lt(e,t,n,{delay:r=0,duration:i,repeat:s=0,repeatType:o="loop",ease:l,times:c}={}){const a={[t]:n};c&&(a.offset=c);const u=Qe(l);return Array.isArray(u)&&(a.easing=u),e.animate(a,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}function Ut(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const Ye=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,qt=1e-7,Wt=12;function Gt(e,t,n,r,i){let s,o,l=0;do o=t+(n-t)/2,s=Ye(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>qt&&++l<Wt);return o}function j(e,t,n,r){if(e===t&&n===r)return S;const i=s=>Gt(s,0,1,e,n);return s=>s===0||s===1?s:Ye(i(s),t,r)}const jt=j(.42,0,1,1),Ht=j(0,0,.58,1),et=j(.42,0,.58,1),$t=e=>Array.isArray(e)&&typeof e[0]!="number",tt=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,nt=e=>t=>1-e(1-t),Te=e=>1-Math.sin(Math.acos(e)),Et=nt(Te),Zt=tt(Te),rt=j(.33,1.53,.69,.99),xe=nt(rt),Xt=tt(xe),Jt=e=>(e*=2)<1?.5*xe(e):.5*(2-Math.pow(2,-10*(e-1))),Qt={linear:S,easeIn:jt,easeInOut:et,easeOut:Ht,circIn:Te,circInOut:Zt,circOut:Et,backIn:xe,backInOut:Xt,backOut:rt,anticipate:Jt},ke=e=>{if(Array.isArray(e)){Ee(e.length===4);const[t,n,r,i]=e;return j(t,n,r,i)}else if(typeof e=="string")return Qt[e];return e},st=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},te=(e,t,n)=>e+(t-e)*n;function ie(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Yt({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;i=ie(c,l,e+1/3),s=ie(c,l,e),o=ie(c,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const Ve=(e,t)=>n=>!!(Y(n)&&Dt.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),it=(e,t,n)=>r=>{if(!Y(r))return r;const[i,s,o,l]=r.match(ye);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},en=e=>G(0,255,e),oe={...Ge,transform:e=>Math.round(en(e))},I={test:Ve("rgb","red"),parse:it("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+oe.transform(e)+", "+oe.transform(t)+", "+oe.transform(n)+", "+q(We.transform(r))+")"};function tn(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const ue={test:Ve("#"),parse:tn,transform:I.transform},N={test:Ve("hsl","hue"),parse:it("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+le.transform(q(t))+", "+le.transform(q(n))+", "+q(We.transform(r))+")"},ae=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},nn=[ue,I,N],rn=e=>nn.find(t=>t.test(e));function Re(e){const t=rn(e);let n=t.parse(e);return t===N&&(n=Yt(n)),n}const Ne=(e,t)=>{const n=Re(e),r=Re(t),i={...n};return s=>(i.red=ae(n.red,r.red,s),i.green=ae(n.green,r.green,s),i.blue=ae(n.blue,r.blue,s),i.alpha=te(n.alpha,r.alpha,s),I.transform(i))},O={test:e=>I.test(e)||ue.test(e)||N.test(e),parse:e=>I.test(e)?I.parse(e):N.test(e)?N.parse(e):ue.parse(e),transform:e=>Y(e)?e:e.hasOwnProperty("red")?I.transform(e):N.transform(e)};function sn(e){var t,n;return isNaN(e)&&Y(e)&&(((t=e.match(ye))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(vt))===null||n===void 0?void 0:n.length)||0)>0}const ot="number",at="color",on="var",an="var(",Be="${}",Ke=/(var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\))|(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))|((-)?([\d]*\.?[\d])+)/gi;function X(e){const t=e.toString(),n=t.match(Ke)||[],r=[],i={color:[],number:[],var:[]},s=[];for(let c=0;c<n.length;c++){const a=n[c];O.test(a)?(i.color.push(c),s.push(at),r.push(O.parse(a))):a.startsWith(an)?(i.var.push(c),s.push(on),r.push(a)):(i.number.push(c),s.push(ot),r.push(parseFloat(a)))}const l=t.replace(Ke,Be).split(Be);return{values:r,split:l,indexes:i,types:s}}function ct(e){return X(e).values}function lt(e){const{split:t,types:n}=X(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const l=n[o];l===ot?s+=q(i[o]):l===at?s+=O.transform(i[o]):s+=i[o]}return s}}const cn=e=>typeof e=="number"?0:e;function ln(e){const t=ct(e);return lt(e)(t.map(cn))}const K={test:sn,parse:ct,createTransformer:lt,getAnimatableNone:ln};function fe(e,t){return n=>n>0?t:e}function un(e,t){return n=>te(e,t,n)}function Me(e){return typeof e=="number"?un:typeof e=="string"?Ot(e)?fe:O.test(e)?Ne:pn:Array.isArray(e)?ut:typeof e=="object"?O.test(e)?Ne:fn:fe}function ut(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Me(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function fn(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Me(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function dn(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],l=e.indexes[o][i[o]],c=(n=e.values[l])!==null&&n!==void 0?n:0;r[s]=c,i[o]++}return r}const pn=(e,t)=>{const n=K.createTransformer(t),r=X(e),i=X(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?be(ut(dn(r,i),i.values),n):fe(e,t)};function ft(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?te(e,t,n):Me(e)(e,t)}function hn(e,t,n){const r=[],i=n||ft,s=e.length-1;for(let o=0;o<s;o++){let l=i(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||S:t;l=be(c,l)}r.push(l)}return r}function mn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Ee(s===t.length),s===1)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=hn(t,r,i),l=o.length,c=a=>{let u=0;if(l>1)for(;u<e.length-2&&!(a<e[u+1]);u++);const d=st(e[u],e[u+1],a);return o[u](d)};return n?a=>c(G(e[0],e[s-1],a)):c}function gn(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=st(0,t,r);e.push(te(n,1,i))}}function yn(e){const t=[0];return gn(t,e.length-1),t}function bn(e,t){return e.map(n=>n*t)}function An(e,t){return e.map(()=>t||et).splice(0,e.length-1)}function J({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=$t(r)?r.map(ke):ke(r),s={done:!1,value:t[0]},o=bn(n&&n.length===t.length?n:yn(t),e),l=mn(o,t,{ease:Array.isArray(i)?i:An(t,i)});return{calculatedDuration:e,next:c=>(s.value=l(c),s.done=c>=e,s)}}function dt(e,t){return t?e*(1e3/t):0}const Tn=5;function pt(e,t,n){const r=Math.max(t-Tn,0);return dt(n-e(r),t-r)}const ce=.001,xn=.01,Vn=10,Mn=.05,Cn=1;function Dn({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s,o=1-t;o=G(Mn,Cn,o),e=G(xn,Vn,F(e)),o<1?(i=a=>{const u=a*o,d=u*e,g=u-n,f=de(a,o),h=Math.exp(-d);return ce-g/f*h},s=a=>{const d=a*o*e,g=d*n+n,f=Math.pow(o,2)*Math.pow(a,2)*e,h=Math.exp(-d),m=de(Math.pow(a,2),o);return(-i(a)+ce>0?-1:1)*((g-f)*h)/m}):(i=a=>{const u=Math.exp(-a*e),d=(a-n)*e+1;return-ce+u*d},s=a=>{const u=Math.exp(-a*e),d=(n-a)*(e*e);return u*d});const l=5/e,c=On(i,s,l);if(e=B(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const a=Math.pow(c,2)*r;return{stiffness:a,damping:o*2*Math.sqrt(r*a),duration:e}}}const vn=12;function On(e,t,n){let r=n;for(let i=1;i<vn;i++)r=r-e(r)/t(r);return r}function de(e,t){return e*Math.sqrt(1-t*t)}const wn=["duration","bounce"],Sn=["stiffness","damping","mass"];function _e(e,t){return t.some(n=>e[n]!==void 0)}function Fn(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_e(e,Sn)&&_e(e,wn)){const n=Dn(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function ht({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],s=e[e.length-1],o={done:!1,value:i},{stiffness:l,damping:c,mass:a,duration:u,velocity:d,isResolvedFromDuration:g}=Fn({...r,velocity:-F(r.velocity||0)}),f=d||0,h=c/(2*Math.sqrt(l*a)),m=s-i,V=F(Math.sqrt(l/a)),M=Math.abs(m)<5;n||(n=M?.01:2),t||(t=M?.005:.5);let T;if(h<1){const p=de(V,h);T=b=>{const A=Math.exp(-h*V*b);return s-A*((f+h*V*m)/p*Math.sin(p*b)+m*Math.cos(p*b))}}else if(h===1)T=p=>s-Math.exp(-V*p)*(m+(f+V*m)*p);else{const p=V*Math.sqrt(h*h-1);T=b=>{const A=Math.exp(-h*V*b),v=Math.min(p*b,300);return s-A*((f+h*V*m)*Math.sinh(v)+p*m*Math.cosh(v))/p}}return{calculatedDuration:g&&u||null,next:p=>{const b=T(p);if(g)o.done=p>=u;else{let A=f;p!==0&&(h<1?A=pt(T,p,b):A=0);const v=Math.abs(A)<=n,C=Math.abs(s-b)<=t;o.done=v&&C}return o.value=o.done?s:b,o}}}function ze({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:l,max:c,restDelta:a=.5,restSpeed:u}){const d=e[0],g={done:!1,value:d},f=y=>l!==void 0&&y<l||c!==void 0&&y>c,h=y=>l===void 0?c:c===void 0||Math.abs(l-y)<Math.abs(c-y)?l:c;let m=n*t;const V=d+m,M=o===void 0?V:o(V);M!==V&&(m=M-d);const T=y=>-m*Math.exp(-y/r),p=y=>M+T(y),b=y=>{const D=T(y),k=p(y);g.done=Math.abs(D)<=a,g.value=g.done?M:k};let A,v;const C=y=>{f(g.value)&&(A=y,v=ht({keyframes:[g.value,h(g.value)],velocity:pt(p,y,g.value),damping:i,stiffness:s,restDelta:a,restSpeed:u}))};return C(0),{calculatedDuration:null,next:y=>{let D=!1;return!v&&A===void 0&&(D=!0,b(y),C(y)),A!==void 0&&y>A?v.next(y-A):(!D&&b(y),g)}}}let E;function Pn(){E=void 0}const W={now:()=>(E===void 0&&W.set(Z.isProcessing||$e.useManualTiming?Z.timestamp:performance.now()),E),set:e=>{E=e,queueMicrotask(Pn)}},In=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ee.update(t,!0),stop:()=>je(t),now:()=>Z.isProcessing?Z.timestamp:W.now()}},Le=2e4;function Ue(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Le;)t+=n,r=e.next(t);return t>=Le?1/0:t}const kn={decay:ze,inertia:ze,tween:J,keyframes:J,spring:ht},Rn=e=>e/100;function Q({autoplay:e=!0,delay:t=0,driver:n=In,keyframes:r,type:i="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:l="loop",onPlay:c,onStop:a,onComplete:u,onUpdate:d,...g}){let f=1,h=!1,m,V;const M=()=>{V=new Promise(x=>{m=x})};M();let T;const p=kn[i]||J;let b;p!==J&&typeof r[0]!="number"&&(b=be(Rn,ft(r[0],r[1])),r=[0,100]);const A=p({...g,keyframes:r});let v;l==="mirror"&&(v=p({...g,keyframes:[...r].reverse(),velocity:-(g.velocity||0)}));let C="idle",y=null,D=null,k=null;A.calculatedDuration===null&&s&&(A.calculatedDuration=Ue(A));const{calculatedDuration:ne}=A;let _=1/0,R=1/0;ne!==null&&(_=ne+o,R=_*(s+1)-o);let w=0;const re=x=>{if(D===null)return;f>0&&(D=Math.min(D,x)),f<0&&(D=Math.min(x-R/f,D)),y!==null?w=y:w=Math.round(x-D)*f;const z=w-t*(f>=0?1:-1),Se=f>=0?z<0:z>R;w=Math.max(z,0),C==="finished"&&y===null&&(w=R);let Fe=w,Pe=A;if(s){const se=Math.min(w,R)/_;let H=Math.floor(se),P=se%1;!P&&se>=1&&(P=1),P===1&&H--,H=Math.min(H,s+1),!!(H%2)&&(l==="reverse"?(P=1-P,o&&(P-=o/_)):l==="mirror"&&(Pe=v)),Fe=G(0,1,P)*_}const L=Se?{done:!1,value:r[0]}:Pe.next(Fe);b&&(L.value=b(L.value));let{done:Ie}=L;!Se&&ne!==null&&(Ie=f>=0?w>=R:w<=0);const Mt=y===null&&(C==="finished"||C==="running"&&Ie);return d&&d(L.value),Mt&&Vt(),L},De=()=>{T&&T.stop(),T=void 0},ve=()=>{C="idle",De(),m(),M(),D=k=null},Vt=()=>{C="finished",u&&u(),De(),m()},Oe=()=>{if(h)return;T||(T=n(re));const x=T.now();c&&c(),y!==null?D=x-y:(!D||C==="finished")&&(D=x),C==="finished"&&M(),k=D,y=null,C="running",T.start()};e&&Oe();const we={then(x,z){return V.then(x,z)},get time(){return F(w)},set time(x){x=B(x),w=x,y!==null||!T||f===0?y=x:D=T.now()-x/f},get duration(){const x=A.calculatedDuration===null?Ue(A):A.calculatedDuration;return F(x)},get speed(){return f},set speed(x){x===f||!T||(f=x,we.time=F(w))},get state(){return C},play:Oe,pause:()=>{C="paused",y=w},stop:()=>{h=!0,C!=="idle"&&(C="idle",a&&a(),ve())},cancel:()=>{k!==null&&re(k),ve()},complete:()=>{C="finished"},sample:x=>(D=0,re(x))};return we}function Nn(e){let t;return()=>(t===void 0&&(t=e()),t)}const Bn=Nn(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Kn=new Set(["opacity","clipPath","filter","transform"]),$=10,_n=2e4,zn=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Xe(t.ease);function Ln(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Bn()&&Kn.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let o=!1,l,c,a=!1;const u=()=>{c=new Promise(p=>{l=p})};u();let{keyframes:d,duration:g=300,ease:f,times:h}=i;if(zn(t,i)){const p=Q({...i,repeat:0,delay:0});let b={done:!1,value:d[0]};const A=[];let v=0;for(;!b.done&&v<_n;)b=p.sample(v),A.push(b.value),v+=$;h=void 0,d=A,g=v-$,f="linear"}const m=Lt(e.owner.current,t,d,{...i,duration:g,ease:f,times:h}),V=()=>{a=!1,m.cancel()},M=()=>{a=!0,ee.update(V),l(),u()};return m.onfinish=()=>{a||(e.set(Ut(d,i)),r&&r(),M())},{then(p,b){return c.then(p,b)},attachTimeline(p){return m.timeline=p,m.onfinish=null,S},get time(){return F(m.currentTime||0)},set time(p){m.currentTime=B(p)},get speed(){return m.playbackRate},set speed(p){m.playbackRate=p},get duration(){return F(g)},play:()=>{o||(m.play(),je(V))},pause:()=>m.pause(),stop:()=>{if(o=!0,m.playState==="idle")return;const{currentTime:p}=m;if(p){const b=Q({...i,autoplay:!1});e.setWithVelocity(b.sample(p-$).value,b.sample(p).value,$)}M()},complete:()=>{a||m.finish()},cancel:M}}function Un({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:S,pause:S,stop:S,then:s=>(s(),Promise.resolve()),cancel:S,complete:S});return t?Q({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const qn={type:"spring",stiffness:500,damping:25,restSpeed:10},Wn=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Gn={type:"keyframes",duration:.8},jn={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Hn=(e,{keyframes:t})=>t.length>2?Gn:He.has(e)?e.startsWith("scale")?Wn(t[1]):qn:jn,pe=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(K.test(t)||t==="0")&&!t.startsWith("url(")),$n=new Set(["brightness","contrast","saturate","opacity"]);function En(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ye)||[];if(!r)return e;const i=n.replace(r,"");let s=$n.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const Zn=/([a-z-]*)\(.*?\)/g,he={...K,getAnimatableNone:e=>{const t=e.match(Zn);return t?t.map(En).join(" "):e}},Xn={...wt,color:O,backgroundColor:O,outlineColor:O,fill:O,stroke:O,borderColor:O,borderTopColor:O,borderRightColor:O,borderBottomColor:O,borderLeftColor:O,filter:he,WebkitFilter:he},Jn=e=>Xn[e];function mt(e,t){let n=Jn(e);return n!==he&&(n=K),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const gt=e=>/^0[^.\s]+$/.test(e);function Qn(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||gt(e)}function Yn(e,t,n,r){const i=pe(t,n);let s;Array.isArray(n)?s=[...n]:s=[null,n];const o=r.from!==void 0?r.from:e.get();let l;const c=[];for(let a=0;a<s.length;a++)s[a]===null&&(s[a]=a===0?o:s[a-1]),Qn(s[a])&&c.push(a),typeof s[a]=="string"&&s[a]!=="none"&&s[a]!=="0"&&(l=s[a]);if(i&&c.length&&l)for(let a=0;a<c.length;a++){const u=c[a];s[u]=mt(t,l)}return s}function er({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:l,from:c,elapsed:a,...u}){return!!Object.keys(u).length}function yt(e,t){return e[t]||e.default||e}const tr=(e,t,n,r={})=>i=>{const s=yt(r,e)||{},o=s.delay||r.delay||0;let{elapsed:l=0}=r;l=l-B(o);const c=Yn(t,e,n,s),a=c[0],u=c[c.length-1],d=pe(e,a),g=pe(e,u);let f={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-l,onUpdate:h=>{t.set(h),s.onUpdate&&s.onUpdate(h)},onComplete:()=>{i(),s.onComplete&&s.onComplete()}};if(er(s)||(f={...f,...Hn(e,f)}),f.duration&&(f.duration=B(f.duration)),f.repeatDelay&&(f.repeatDelay=B(f.repeatDelay)),!d||!g||zt.current||s.type===!1||$e.skipAnimations)return Un(f);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const h=Ln(t,e,f);if(h)return h}return Q(f)};function nr(e){return!!(St(e)&&e.add)}const rr=e=>/^\-?\d*\.?\d+$/.test(e);function sr(e,t){e.indexOf(t)===-1&&e.push(t)}function ir(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class or{constructor(){this.subscriptions=[]}add(t){return sr(this.subscriptions,t),()=>ir(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const qe=30,ar=e=>!isNaN(parseFloat(e));class cr{constructor(t,n={}){this.version="11.0.8",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=W.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=ar(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=W.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new or);const r=this.events[t].add(n);return t==="change"?()=>{r(),ee.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=W.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>qe)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,qe);return dt(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function bt(e,t){return new cr(e,t)}const At=e=>t=>t.test(e),lr={test:e=>e==="auto",parse:e=>e},Tt=[Ge,Ft,le,Pt,It,kt,lr],Tr=e=>Tt.find(At(e)),ur=[...Tt,O,K],fr=e=>ur.find(At(e));function dr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,bt(n))}function Ce(e,t){const n=Ae(e,t);let{transitionEnd:r={},transition:i={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const o in s){const l=Rt(s[o]);dr(e,o,l)}}function me(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&Ce(e,i),e.variantChildren&&e.variantChildren.forEach(s=>{me(s,t)})})}function xr(e,t){if(Array.isArray(t))return me(e,t);if(typeof t=="string")return me(e,[t]);Ce(e,t)}function Vr(e,t,n){var r,i;const s=Object.keys(t).filter(l=>!e.hasValue(l)),o=s.length;if(o)for(let l=0;l<o;l++){const c=s[l],a=t[c];let u=null;Array.isArray(a)&&(u=a[0]),u===null&&(u=(i=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&i!==void 0?i:t[c]),u!=null&&(typeof u=="string"&&(rr(u)||gt(u))?u=parseFloat(u):!fr(u)&&K.test(a)&&(u=mt(c,a)),e.addValue(c,bt(u,{owner:e})),n[c]===void 0&&(n[c]=u),u!==null&&e.setBaseTarget(c,u))}}function pr(e,t){return t?(t[e]||t.default||t).from:void 0}function Mr(e,t,n){const r={};for(const i in e){const s=pr(i,t);if(s!==void 0)r[i]=s;else{const o=n.getValue(i);o&&(r[i]=o.get())}}return r}function hr({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function mr(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function xt(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:o,...l}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");r&&(s=r);const a=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const d in l){const g=e.getValue(d),f=l[d];if(!g||f===void 0||u&&hr(u,d))continue;const h={delay:n,elapsed:0,...yt(s||{},d)};if(window.HandoffAppearAnimations){const M=e.getProps()[Nt];if(M){const T=window.HandoffAppearAnimations(M,d,g,ee);T!==null&&(h.elapsed=T,h.isHandoff=!0)}}let m=!h.isHandoff&&!mr(g,f);if(h.type==="spring"&&(g.getVelocity()||h.velocity)&&(m=!1),g.animation&&(m=!1),m)continue;g.start(tr(d,g,f,e.shouldReduceMotion&&He.has(d)?{type:!1}:h));const V=g.animation;nr(c)&&(c.add(d),V.then(()=>c.remove(d))),a.push(V)}return o&&Promise.all(a).then(()=>{o&&Ce(e,o)}),a}function ge(e,t,n={}){const r=Ae(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(xt(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:a=0,staggerChildren:u,staggerDirection:d}=i;return gr(e,t,a+c,u,d,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[c,a]=l==="beforeChildren"?[s,o]:[o,s];return c().then(()=>a())}else return Promise.all([s(),o(n.delay)])}function gr(e,t,n=0,r=0,i=1,s){const o=[],l=(e.variantChildren.size-1)*r,c=i===1?(a=0)=>a*r:(a=0)=>l-a*r;return Array.from(e.variantChildren).sort(yr).forEach((a,u)=>{a.notify("AnimationStart",t),o.push(ge(a,t,{...s,delay:n+c(u)}).then(()=>a.notify("AnimationComplete",t)))}),Promise.all(o)}function yr(e,t){return e.sortNodePosition(t)}function Cr(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>ge(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=ge(e,t,n);else{const i=typeof t=="function"?Ae(e,t,n.custom):t;r=Promise.all(xt(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}export{or as S,Cr as a,Q as b,B as c,F as d,te as e,st as f,tr as g,K as h,Et as i,sr as j,ir as k,yt as l,bt as m,rr as n,Tr as o,be as p,Ee as q,Ae as r,xr as s,W as t,nr as u,Mr as v,Vr as w,Jn as x}; diff --git a/assets/vue-W5zh9In_.js b/assets/vue-W5zh9In_.js new file mode 100644 index 00000000000..da41f3bf724 --- /dev/null +++ b/assets/vue-W5zh9In_.js @@ -0,0 +1,677 @@ +import n from"./html-KTYx-Ibi.js";import l from"./markdown-BZyvP-q3.js";import e from"./javascript-JMZ6uy5M.js";import t from"./css-tuEqSfZX.js";import a from"./typescript-HpdcmTOD.js";import i from"./jsx-3LZ_BoLB.js";import s from"./tsx-7LxggtAE.js";import u from"./json-xL80yL3n.js";const p=Object.freeze({displayName:"SCSS",name:"scss",patterns:[{include:"#variable_setting"},{include:"#at_rule_forward"},{include:"#at_rule_use"},{include:"#at_rule_include"},{include:"#at_rule_import"},{include:"#general"},{include:"#flow_control"},{include:"#rules"},{include:"#property_list"},{include:"#at_rule_mixin"},{include:"#at_rule_media"},{include:"#at_rule_function"},{include:"#at_rule_charset"},{include:"#at_rule_option"},{include:"#at_rule_namespace"},{include:"#at_rule_fontface"},{include:"#at_rule_page"},{include:"#at_rule_keyframes"},{include:"#at_rule_at_root"},{include:"#at_rule_supports"},{match:";",name:"punctuation.terminator.rule.css"}],repository:{at_rule_at_root:{begin:"\\s*((@)(at-root))(\\s+|$)",beginCaptures:{1:{name:"keyword.control.at-rule.at-root.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?={)",name:"meta.at-rule.at-root.scss",patterns:[{include:"#function_attributes"},{include:"#functions"},{include:"#selectors"}]},at_rule_charset:{begin:"\\s*((@)charset\\b)\\s*",captures:{1:{name:"keyword.control.at-rule.charset.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*((?=;|$))",name:"meta.at-rule.charset.scss",patterns:[{include:"#variable"},{include:"#string_single"},{include:"#string_double"}]},at_rule_content:{begin:"\\s*((@)content\\b)\\s*",captures:{1:{name:"keyword.control.content.scss"}},end:"\\s*((?=;))",name:"meta.content.scss",patterns:[{include:"#variable"},{include:"#selectors"},{include:"#property_values"}]},at_rule_each:{begin:"\\s*((@)each\\b)\\s*",captures:{1:{name:"keyword.control.each.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*((?=}))",name:"meta.at-rule.each.scss",patterns:[{match:"\\b(in|,)\\b",name:"keyword.control.operator"},{include:"#variable"},{include:"#property_values"},{include:"$self"}]},at_rule_else:{begin:"\\s*((@)else(\\s*(if)?))\\s*",captures:{1:{name:"keyword.control.else.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?={)",name:"meta.at-rule.else.scss",patterns:[{include:"#conditional_operators"},{include:"#variable"},{include:"#property_values"}]},at_rule_extend:{begin:"\\s*((@)extend\\b)\\s*",captures:{1:{name:"keyword.control.at-rule.extend.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?=;)",name:"meta.at-rule.extend.scss",patterns:[{include:"#variable"},{include:"#selectors"},{include:"#property_values"}]},at_rule_fontface:{patterns:[{begin:"^\\s*((@)font-face\\b)",beginCaptures:{1:{name:"keyword.control.at-rule.fontface.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?={)",name:"meta.at-rule.fontface.scss",patterns:[{include:"#function_attributes"}]}]},at_rule_for:{begin:"\\s*((@)for\\b)\\s*",captures:{1:{name:"keyword.control.for.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?={)",name:"meta.at-rule.for.scss",patterns:[{match:"(==|!=|<=|>=|<|>|from|to|through)",name:"keyword.control.operator"},{include:"#variable"},{include:"#property_values"},{include:"$self"}]},at_rule_forward:{begin:"\\s*((@)forward\\b)\\s*",captures:{1:{name:"keyword.control.at-rule.forward.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?=;)",name:"meta.at-rule.forward.scss",patterns:[{match:"\\b(as|hide|show)\\b",name:"keyword.control.operator"},{captures:{1:{name:"entity.other.attribute-name.module.scss"},2:{name:"punctuation.definition.wildcard.scss"}},match:"\\b([\\w-]+)(\\*)"},{match:"\\b[\\w-]+\\b",name:"entity.name.function.scss"},{include:"#variable"},{include:"#string_single"},{include:"#string_double"},{include:"#comment_line"},{include:"#comment_block"}]},at_rule_function:{patterns:[{begin:"\\s*((@)function\\b)\\s*",captures:{1:{name:"keyword.control.at-rule.function.scss"},2:{name:"punctuation.definition.keyword.scss"},3:{name:"entity.name.function.scss"}},end:"\\s*(?={)",name:"meta.at-rule.function.scss",patterns:[{include:"#function_attributes"}]},{captures:{1:{name:"keyword.control.at-rule.function.scss"},2:{name:"punctuation.definition.keyword.scss"},3:{name:"entity.name.function.scss"}},match:"\\s*((@)function\\b)\\s*",name:"meta.at-rule.function.scss"}]},at_rule_if:{begin:"\\s*((@)if\\b)\\s*",captures:{1:{name:"keyword.control.if.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?={)",name:"meta.at-rule.if.scss",patterns:[{include:"#conditional_operators"},{include:"#variable"},{include:"#property_values"}]},at_rule_import:{begin:"\\s*((@)import\\b)\\s*",captures:{1:{name:"keyword.control.at-rule.import.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*((?=;)|(?=}))",name:"meta.at-rule.import.scss",patterns:[{include:"#variable"},{include:"#string_single"},{include:"#string_double"},{include:"#functions"},{include:"#comment_line"}]},at_rule_include:{patterns:[{begin:"(?<=@include)\\s+(?:([\\w-]+)\\s*(\\.))?([\\w-]+)\\s*(\\()",beginCaptures:{1:{name:"variable.scss"},2:{name:"punctuation.access.module.scss"},3:{name:"entity.name.function.scss"},4:{name:"punctuation.definition.parameters.begin.bracket.round.scss"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.bracket.round.scss"}},name:"meta.at-rule.include.scss",patterns:[{include:"#function_attributes"}]},{captures:{0:{name:"meta.at-rule.include.scss"},1:{name:"variable.scss"},2:{name:"punctuation.access.module.scss"},3:{name:"entity.name.function.scss"}},match:"(?<=@include)\\s+(?:([\\w-]+)\\s*(\\.))?([\\w-]+)"},{captures:{0:{name:"meta.at-rule.include.scss"},1:{name:"keyword.control.at-rule.include.scss"},2:{name:"punctuation.definition.keyword.scss"}},match:"((@)include)\\b"}]},at_rule_keyframes:{begin:"(?<=^|\\s)(@)(?:-(?:webkit|moz)-)?keyframes\\b",beginCaptures:{0:{name:"keyword.control.at-rule.keyframes.scss"},1:{name:"punctuation.definition.keyword.scss"}},end:"(?<=})",name:"meta.at-rule.keyframes.scss",patterns:[{captures:{1:{name:"entity.name.function.scss"}},match:"(?<=@keyframes)\\s+((?:[_A-Za-z][-\\w]|-[_A-Za-z])[-\\w]*)"},{begin:'(?<=@keyframes)\\s+(")',beginCaptures:{1:{name:"punctuation.definition.string.begin.scss"}},contentName:"entity.name.function.scss",end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.scss"}},name:"string.quoted.double.scss",patterns:[{match:"\\\\(\\h{1,6}|.)",name:"constant.character.escape.scss"},{include:"#interpolation"}]},{begin:"(?<=@keyframes)\\s+(')",beginCaptures:{1:{name:"punctuation.definition.string.begin.scss"}},contentName:"entity.name.function.scss",end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.scss"}},name:"string.quoted.single.scss",patterns:[{match:"\\\\(\\h{1,6}|.)",name:"constant.character.escape.scss"},{include:"#interpolation"}]},{begin:"{",beginCaptures:{0:{name:"punctuation.section.keyframes.begin.scss"}},end:"}",endCaptures:{0:{name:"punctuation.section.keyframes.end.scss"}},patterns:[{match:"\\b(?:(?:100|[1-9]\\d|\\d)%|from|to)(?=\\s*{)",name:"entity.other.attribute-name.scss"},{include:"#flow_control"},{include:"#interpolation"},{include:"#property_list"},{include:"#rules"}]}]},at_rule_media:{patterns:[{begin:"^\\s*((@)media)\\b",beginCaptures:{1:{name:"keyword.control.at-rule.media.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?={)",name:"meta.at-rule.media.scss",patterns:[{include:"#comment_docblock"},{include:"#comment_block"},{include:"#comment_line"},{match:"\\b(only)\\b",name:"keyword.control.operator.css.scss"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.media-query.begin.bracket.round.scss"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.media-query.end.bracket.round.scss"}},name:"meta.property-list.media-query.scss",patterns:[{begin:"(?<![-a-z])(?=[-a-z])",end:"$|(?![-a-z])",name:"meta.property-name.media-query.scss",patterns:[{include:"source.css#media-features"},{include:"source.css#property-names"}]},{begin:"(:)\\s*(?!(\\s*{))",beginCaptures:{1:{name:"punctuation.separator.key-value.scss"}},contentName:"meta.property-value.media-query.scss",end:"\\s*(;|(?=}|\\)))",endCaptures:{1:{name:"punctuation.terminator.rule.scss"}},patterns:[{include:"#general"},{include:"#property_values"}]}]},{include:"#variable"},{include:"#conditional_operators"},{include:"source.css#media-types"}]}]},at_rule_mixin:{patterns:[{begin:"(?<=@mixin)\\s+([\\w-]+)\\s*(\\()",beginCaptures:{1:{name:"entity.name.function.scss"},2:{name:"punctuation.definition.parameters.begin.bracket.round.scss"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.bracket.round.scss"}},name:"meta.at-rule.mixin.scss",patterns:[{include:"#function_attributes"}]},{captures:{1:{name:"entity.name.function.scss"}},match:"(?<=@mixin)\\s+([\\w-]+)",name:"meta.at-rule.mixin.scss"},{captures:{1:{name:"keyword.control.at-rule.mixin.scss"},2:{name:"punctuation.definition.keyword.scss"}},match:"((@)mixin)\\b",name:"meta.at-rule.mixin.scss"}]},at_rule_namespace:{patterns:[{begin:"(?<=@namespace)\\s+(?=url)",end:"(?=;|$)",name:"meta.at-rule.namespace.scss",patterns:[{include:"#property_values"},{include:"#string_single"},{include:"#string_double"}]},{begin:"(?<=@namespace)\\s+([\\w-]*)",captures:{1:{name:"entity.name.namespace-prefix.scss"}},end:"(?=;|$)",name:"meta.at-rule.namespace.scss",patterns:[{include:"#variables"},{include:"#property_values"},{include:"#string_single"},{include:"#string_double"}]},{captures:{1:{name:"keyword.control.at-rule.namespace.scss"},2:{name:"punctuation.definition.keyword.scss"}},match:"((@)namespace)\\b",name:"meta.at-rule.namespace.scss"}]},at_rule_option:{captures:{1:{name:"keyword.control.at-rule.charset.scss"},2:{name:"punctuation.definition.keyword.scss"}},match:"^\\s*((@)option\\b)\\s*",name:"meta.at-rule.option.scss"},at_rule_page:{patterns:[{begin:"^\\s*((@)page)(?=:|\\s)\\s*([-:\\w]*)",captures:{1:{name:"keyword.control.at-rule.page.scss"},2:{name:"punctuation.definition.keyword.scss"},3:{name:"entity.name.function.scss"}},end:"\\s*(?={)",name:"meta.at-rule.page.scss"}]},at_rule_return:{begin:"\\s*((@)(return)\\b)",captures:{1:{name:"keyword.control.return.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*((?=;))",name:"meta.at-rule.return.scss",patterns:[{include:"#variable"},{include:"#property_values"}]},at_rule_supports:{begin:"(?<=^|\\s)(@)supports\\b",captures:{0:{name:"keyword.control.at-rule.supports.scss"},1:{name:"punctuation.definition.keyword.scss"}},end:"(?={)|$",name:"meta.at-rule.supports.scss",patterns:[{include:"#logical_operators"},{include:"#properties"},{match:"\\(",name:"punctuation.definition.condition.begin.bracket.round.scss"},{match:"\\)",name:"punctuation.definition.condition.end.bracket.round.scss"}]},at_rule_use:{begin:"\\s*((@)use\\b)\\s*",captures:{1:{name:"keyword.control.at-rule.use.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?=;)",name:"meta.at-rule.use.scss",patterns:[{match:"\\b(as|with)\\b",name:"keyword.control.operator"},{match:"\\b[\\w-]+\\b",name:"variable.scss"},{match:"\\*",name:"variable.language.expanded-namespace.scss"},{include:"#string_single"},{include:"#string_double"},{include:"#comment_line"},{include:"#comment_block"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.bracket.round.scss"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.bracket.round.scss"}},patterns:[{include:"#function_attributes"}]}]},at_rule_warn:{begin:"\\s*((@)(warn|debug|error)\\b)\\s*",captures:{1:{name:"keyword.control.warn.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?=;)",name:"meta.at-rule.warn.scss",patterns:[{include:"#variable"},{include:"#string_double"},{include:"#string_single"}]},at_rule_while:{begin:"\\s*((@)while\\b)\\s*",captures:{1:{name:"keyword.control.while.scss"},2:{name:"punctuation.definition.keyword.scss"}},end:"\\s*(?=})",name:"meta.at-rule.while.scss",patterns:[{include:"#conditional_operators"},{include:"#variable"},{include:"#property_values"},{include:"$self"}]},comment_block:{begin:"/\\*",beginCaptures:{0:{name:"punctuation.definition.comment.scss"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.scss"}},name:"comment.block.scss"},comment_docblock:{begin:"///",beginCaptures:{0:{name:"punctuation.definition.comment.scss"}},end:"(?=$)",name:"comment.block.documentation.scss",patterns:[{include:"source.sassdoc"}]},comment_line:{begin:"//",beginCaptures:{0:{name:"punctuation.definition.comment.scss"}},end:"\\n",name:"comment.line.scss"},comparison_operators:{match:"==|!=|<=|>=|<|>",name:"keyword.operator.comparison.scss"},conditional_operators:{patterns:[{include:"#comparison_operators"},{include:"#logical_operators"}]},constant_default:{match:"!default",name:"keyword.other.default.scss"},constant_functions:{begin:"(?:([\\w-]+)(\\.))?([\\w-]+)(\\()",beginCaptures:{1:{name:"variable.scss"},2:{name:"punctuation.access.module.scss"},3:{name:"support.function.misc.scss"},4:{name:"punctuation.section.function.scss"}},end:"(\\))",endCaptures:{1:{name:"punctuation.section.function.scss"}},patterns:[{include:"#parameters"}]},constant_important:{match:"!important",name:"keyword.other.important.scss"},constant_mathematical_symbols:{match:"\\b(\\+|-|\\*|/)\\b",name:"support.constant.mathematical-symbols.scss"},constant_optional:{match:"!optional",name:"keyword.other.optional.scss"},constant_sass_functions:{begin:"(headings|stylesheet-url|rgba?|hsla?|ie-hex-str|red|green|blue|alpha|opacity|hue|saturation|lightness|prefixed|prefix|-moz|-svg|-css2|-pie|-webkit|-ms|font-(?:files|url)|grid-image|image-(?:width|height|url|color)|sprites?|sprite-(?:map|map-name|file|url|position)|inline-(?:font-files|image)|opposite-position|grad-point|grad-end-position|color-stops|color-stops-in-percentages|grad-color-stops|(?:radial|linear)-(?:gradient|svg-gradient)|opacify|fade-?in|transparentize|fade-?out|lighten|darken|saturate|desaturate|grayscale|adjust-(?:hue|lightness|saturation|color)|scale-(?:lightness|saturation|color)|change-color|spin|complement|invert|mix|-compass-(?:list|space-list|slice|nth|list-size)|blank|compact|nth|first-value-of|join|length|append|nest|append-selector|headers|enumerate|range|percentage|unitless|unit|if|type-of|comparable|elements-of-type|quote|unquote|escape|e|sin|cos|tan|abs|round|ceil|floor|pi|translate(?:X|Y))(\\()",beginCaptures:{1:{name:"support.function.misc.scss"},2:{name:"punctuation.section.function.scss"}},end:"(\\))",endCaptures:{1:{name:"punctuation.section.function.scss"}},patterns:[{include:"#parameters"}]},flow_control:{patterns:[{include:"#at_rule_if"},{include:"#at_rule_else"},{include:"#at_rule_warn"},{include:"#at_rule_for"},{include:"#at_rule_while"},{include:"#at_rule_each"},{include:"#at_rule_return"}]},function_attributes:{patterns:[{match:":",name:"punctuation.separator.key-value.scss"},{include:"#general"},{include:"#property_values"},{match:"[={}\\?;@]",name:"invalid.illegal.scss"}]},functions:{patterns:[{begin:"([\\w-]{1,})(\\()\\s*",beginCaptures:{1:{name:"support.function.misc.scss"},2:{name:"punctuation.section.function.scss"}},end:"(\\))",endCaptures:{1:{name:"punctuation.section.function.scss"}},patterns:[{include:"#parameters"}]},{match:"([\\w-]{1,})",name:"support.function.misc.scss"}]},general:{patterns:[{include:"#variable"},{include:"#comment_docblock"},{include:"#comment_block"},{include:"#comment_line"}]},interpolation:{begin:"#{",beginCaptures:{0:{name:"punctuation.definition.interpolation.begin.bracket.curly.scss"}},end:"}",endCaptures:{0:{name:"punctuation.definition.interpolation.end.bracket.curly.scss"}},name:"variable.interpolation.scss",patterns:[{include:"#variable"},{include:"#property_values"}]},logical_operators:{match:"\\b(not|or|and)\\b",name:"keyword.operator.logical.scss"},map:{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.map.begin.bracket.round.scss"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.map.end.bracket.round.scss"}},name:"meta.definition.variable.map.scss",patterns:[{include:"#comment_docblock"},{include:"#comment_block"},{include:"#comment_line"},{captures:{1:{name:"support.type.map.key.scss"},2:{name:"punctuation.separator.key-value.scss"}},match:"\\b([\\w-]+)\\s*(:)"},{match:",",name:"punctuation.separator.delimiter.scss"},{include:"#map"},{include:"#variable"},{include:"#property_values"}]},operators:{match:"[-+*/](?!\\s*[-+*/])",name:"keyword.operator.css"},parameters:{patterns:[{include:"#variable"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.round.scss"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.scss"}},patterns:[{include:"#function_attributes"}]},{include:"#property_values"},{include:"#comment_block"},{match:`[^'",) \\t]+`,name:"variable.parameter.url.scss"},{match:",",name:"punctuation.separator.delimiter.scss"}]},parent_selector_suffix:{captures:{1:{name:"punctuation.definition.entity.css"},2:{patterns:[{include:"#interpolation"},{match:"\\\\([0-9a-fA-F]{1,6}|.)",name:"constant.character.escape.scss"},{match:"\\$|}",name:"invalid.illegal.identifier.scss"}]}},match:`(?x) +(?<=&) +( +(?: [-a-zA-Z_0-9]|[^\\x00-\\x7F] +| \\\\(?:[0-9a-fA-F]{1,6}|.) +| \\#\\{ +| \\$ +| } +)+ +) +(?= $ +| [\\s,.\\#)\\[:{>+~|] +| /\\* +)`,name:"entity.other.attribute-name.parent-selector-suffix.css"},properties:{patterns:[{begin:"(?<![-a-z])(?=[-a-z])",end:"$|(?![-a-z])",name:"meta.property-name.scss",patterns:[{include:"source.css#property-names"},{include:"#at_rule_include"}]},{begin:"(:)\\s*(?!(\\s*{))",beginCaptures:{1:{name:"punctuation.separator.key-value.scss"}},contentName:"meta.property-value.scss",end:"\\s*(;|(?=}|\\)))",endCaptures:{1:{name:"punctuation.terminator.rule.scss"}},patterns:[{include:"#general"},{include:"#property_values"}]}]},property_list:{begin:"{",beginCaptures:{0:{name:"punctuation.section.property-list.begin.bracket.curly.scss"}},end:"}",endCaptures:{0:{name:"punctuation.section.property-list.end.bracket.curly.scss"}},name:"meta.property-list.scss",patterns:[{include:"#flow_control"},{include:"#rules"},{include:"#properties"},{include:"$self"}]},property_values:{patterns:[{include:"#string_single"},{include:"#string_double"},{include:"#constant_functions"},{include:"#constant_sass_functions"},{include:"#constant_important"},{include:"#constant_default"},{include:"#constant_optional"},{include:"source.css#numeric-values"},{include:"source.css#property-keywords"},{include:"source.css#color-keywords"},{include:"source.css#property-names"},{include:"#constant_mathematical_symbols"},{include:"#operators"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.begin.bracket.round.scss"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.end.bracket.round.scss"}},patterns:[{include:"#general"},{include:"#property_values"}]}]},rules:{patterns:[{include:"#general"},{include:"#at_rule_extend"},{include:"#at_rule_content"},{include:"#at_rule_include"},{include:"#at_rule_media"},{include:"#selectors"}]},selector_attribute:{captures:{1:{name:"punctuation.definition.attribute-selector.begin.bracket.square.scss"},2:{name:"entity.other.attribute-name.attribute.scss",patterns:[{include:"#interpolation"},{match:"\\\\([0-9a-fA-F]{1,6}|.)",name:"constant.character.escape.scss"},{match:"\\$|}",name:"invalid.illegal.scss"}]},3:{name:"keyword.operator.scss"},4:{name:"string.unquoted.attribute-value.scss",patterns:[{include:"#interpolation"},{match:"\\\\([0-9a-fA-F]{1,6}|.)",name:"constant.character.escape.scss"},{match:"\\$|}",name:"invalid.illegal.scss"}]},5:{name:"string.quoted.double.attribute-value.scss"},6:{name:"punctuation.definition.string.begin.scss"},7:{patterns:[{include:"#interpolation"},{match:"\\\\([0-9a-fA-F]{1,6}|.)",name:"constant.character.escape.scss"},{match:"\\$|}",name:"invalid.illegal.scss"}]},8:{name:"punctuation.definition.string.end.scss"},9:{name:"string.quoted.single.attribute-value.scss"},10:{name:"punctuation.definition.string.begin.scss"},11:{patterns:[{include:"#interpolation"},{match:"\\\\([0-9a-fA-F]{1,6}|.)",name:"constant.character.escape.scss"},{match:"\\$|}",name:"invalid.illegal.scss"}]},12:{name:"punctuation.definition.string.end.scss"},13:{name:"punctuation.definition.attribute-selector.end.bracket.square.scss"}},match:`(?xi) +(\\[) +\\s* +( +(?: +[-a-zA-Z_0-9]|[^\\x00-\\x7F] +| \\\\(?:[0-9a-fA-F]{1,6}|.) +| \\#\\{ +| \\.?\\$ +| } +)+? +) +(?: +\\s*([~|^$*]?=)\\s* +(?: +( +(?: +[-a-zA-Z_0-9]|[^\\x00-\\x7F] +| \\\\(?:[0-9a-fA-F]{1,6}|.) +| \\#\\{ +| \\.?\\$ +| } +)+ +) +| +((")(.*?)(")) +| +((')(.*?)(')) +) +)? +\\s* +(\\])`,name:"meta.attribute-selector.scss"},selector_class:{captures:{1:{name:"punctuation.definition.entity.css"},2:{patterns:[{include:"#interpolation"},{match:"\\\\([0-9a-fA-F]{1,6}|.)",name:"constant.character.escape.scss"},{match:"\\$|}",name:"invalid.illegal.scss"}]}},match:`(?x) +(\\.) +( +(?: [-a-zA-Z_0-9]|[^\\x00-\\x7F] +| \\\\(?:[0-9a-fA-F]{1,6}|.) +| \\#\\{ +| \\.?\\$ +| } +)+ +) +(?= $ +| [\\s,\\#)\\[:{>+~|] +| \\.[^$] +| /\\* +| ; +)`,name:"entity.other.attribute-name.class.css"},selector_custom:{match:"\\b([a-zA-Z0-9]+(-[a-zA-Z0-9]+)+)(?=\\.|\\s++[^:]|\\s*[,\\[{]|:(link|visited|hover|active|focus|target|lang|disabled|enabled|checked|indeterminate|root|nth-(child|last-child|of-type|last-of-type)|first-child|last-child|first-of-type|last-of-type|only-child|only-of-type|empty|not|valid|invalid)(\\([0-9A-Za-z]*\\))?)",name:"entity.name.tag.custom.scss"},selector_id:{captures:{1:{name:"punctuation.definition.entity.css"},2:{patterns:[{include:"#interpolation"},{match:"\\\\([0-9a-fA-F]{1,6}|.)",name:"constant.character.escape.scss"},{match:"\\$|}",name:"invalid.illegal.identifier.scss"}]}},match:`(?x) +(\\#) +( +(?: [-a-zA-Z_0-9]|[^\\x00-\\x7F] +| \\\\(?:[0-9a-fA-F]{1,6}|.) +| \\#\\{ +| \\.?\\$ +| } +)+ +) +(?= $ +| [\\s,\\#)\\[:{>+~|] +| \\.[^$] +| /\\* +)`,name:"entity.other.attribute-name.id.css"},selector_placeholder:{captures:{1:{name:"punctuation.definition.entity.css"},2:{patterns:[{include:"#interpolation"},{match:"\\\\([0-9a-fA-F]{1,6}|.)",name:"constant.character.escape.scss"},{match:"\\$|}",name:"invalid.illegal.identifier.scss"}]}},match:`(?x) +(%) +( +(?: [-a-zA-Z_0-9]|[^\\x00-\\x7F] +| \\\\(?:[0-9a-fA-F]{1,6}|.) +| \\#\\{ +| \\.\\$ +| \\$ +| } +)+ +) +(?= ; +| $ +| [\\s,\\#)\\[:{>+~|] +| \\.[^$] +| /\\* +)`,name:"entity.other.attribute-name.placeholder.css"},selector_pseudo_class:{patterns:[{begin:"((:)\\bnth-(?:child|last-child|of-type|last-of-type))(\\()",beginCaptures:{1:{name:"entity.other.attribute-name.pseudo-class.css"},2:{name:"punctuation.definition.entity.css"},3:{name:"punctuation.definition.pseudo-class.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.pseudo-class.end.bracket.round.css"}},patterns:[{include:"#interpolation"},{match:"\\d+",name:"constant.numeric.css"},{match:"(?<=\\d)n\\b|\\b(n|even|odd)\\b",name:"constant.other.scss"},{match:"\\w+",name:"invalid.illegal.scss"}]},{include:"source.css#pseudo-classes"},{include:"source.css#pseudo-elements"},{include:"source.css#functional-pseudo-classes"}]},selectors:{patterns:[{include:"source.css#tag-names"},{include:"#selector_custom"},{include:"#selector_class"},{include:"#selector_id"},{include:"#selector_pseudo_class"},{include:"#tag_wildcard"},{include:"#tag_parent_reference"},{include:"source.css#pseudo-elements"},{include:"#selector_attribute"},{include:"#selector_placeholder"},{include:"#parent_selector_suffix"}]},string_double:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.scss"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.scss"}},name:"string.quoted.double.scss",patterns:[{match:"\\\\(\\h{1,6}|.)",name:"constant.character.escape.scss"},{include:"#interpolation"}]},string_single:{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.scss"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.scss"}},name:"string.quoted.single.scss",patterns:[{match:"\\\\(\\h{1,6}|.)",name:"constant.character.escape.scss"},{include:"#interpolation"}]},tag_parent_reference:{match:"&",name:"entity.name.tag.reference.scss"},tag_wildcard:{match:"\\*",name:"entity.name.tag.wildcard.scss"},variable:{patterns:[{include:"#variables"},{include:"#interpolation"}]},variable_setting:{begin:"(?=\\$[\\w-]+\\s*:)",contentName:"meta.definition.variable.scss",end:";",endCaptures:{0:{name:"punctuation.terminator.rule.scss"}},patterns:[{match:"\\$[\\w-]+(?=\\s*:)",name:"variable.scss"},{begin:":",beginCaptures:{0:{name:"punctuation.separator.key-value.scss"}},end:"(?=;)",patterns:[{include:"#comment_docblock"},{include:"#comment_block"},{include:"#comment_line"},{include:"#map"},{include:"#property_values"},{include:"#variable"},{match:",",name:"punctuation.separator.delimiter.scss"}]}]},variables:{patterns:[{captures:{1:{name:"variable.scss"},2:{name:"punctuation.access.module.scss"},3:{name:"variable.scss"}},match:"\\b([\\w-]+)(\\.)(\\$[\\w-]+)\\b"},{match:"(\\$|\\-\\-)[A-Za-z0-9_-]+\\b",name:"variable.scss"}]}},scopeName:"source.css.scss",embeddedLangs:["css"]});var r=[...t,p];const m=Object.freeze({displayName:"Stylus",fileTypes:["styl","stylus","css.styl","css.stylus"],name:"stylus",patterns:[{include:"#comment"},{include:"#at_rule"},{include:"#language_keywords"},{include:"#language_constants"},{include:"#variable_declaration"},{include:"#function"},{include:"#selector"},{include:"#declaration"},{captures:{1:{name:"punctuation.section.property-list.begin.css"},2:{name:"punctuation.section.property-list.end.css"}},match:"(\\{)(\\})",name:"meta.brace.curly.css"},{match:"\\{|\\}",name:"meta.brace.curly.css"},{include:"#numeric"},{include:"#string"},{include:"#operator"}],repository:{at_rule:{patterns:[{begin:"\\s*((@)(import|require))\\b\\s*",beginCaptures:{1:{name:"keyword.control.at-rule.import.stylus"},2:{name:"punctuation.definition.keyword.stylus"}},end:"\\s*((?=;|$|\\n))",endCaptures:{1:{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.import.css",patterns:[{include:"#string"}]},{begin:"\\s*((@)(extend[s]?)\\b)\\s*",beginCaptures:{1:{name:"keyword.control.at-rule.extend.stylus"},2:{name:"punctuation.definition.keyword.stylus"}},end:"\\s*((?=;|$|\\n))",endCaptures:{1:{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.extend.css",patterns:[{include:"#selector"}]},{captures:{1:{name:"keyword.control.at-rule.fontface.stylus"},2:{name:"punctuation.definition.keyword.stylus"}},match:"^\\s*((@)font-face)\\b",name:"meta.at-rule.fontface.stylus"},{captures:{1:{name:"keyword.control.at-rule.css.stylus"},2:{name:"punctuation.definition.keyword.stylus"}},match:"^\\s*((@)css)\\b",name:"meta.at-rule.css.stylus"},{begin:"\\s*((@)charset)\\b\\s*",beginCaptures:{1:{name:"keyword.control.at-rule.charset.stylus"},2:{name:"punctuation.definition.keyword.stylus"}},end:"\\s*((?=;|$|\\n))",name:"meta.at-rule.charset.stylus",patterns:[{include:"#string"}]},{begin:"\\s*((@)keyframes)\\b\\s+([a-zA-Z_-][a-zA-Z0-9_-]*)",beginCaptures:{1:{name:"keyword.control.at-rule.keyframes.stylus"},2:{name:"punctuation.definition.keyword.stylus"},3:{name:"entity.name.function.keyframe.stylus"}},end:"\\s*((?=\\{|$|\\n))",name:"meta.at-rule.keyframes.stylus"},{begin:"(?=(\\b(\\d+%|from\\b|to\\b)))",end:"(?=(\\{|\\n))",name:"meta.at-rule.keyframes.stylus",patterns:[{match:"(\\b(\\d+%|from\\b|to\\b))",name:"entity.other.attribute-name.stylus"}]},{captures:{1:{name:"keyword.control.at-rule.media.stylus"},2:{name:"punctuation.definition.keyword.stylus"}},match:"^\\s*((@)media)\\b",name:"meta.at-rule.media.stylus"},{match:"(?:(?=\\w)(?<![\\w-]))(width|scan|resolution|orientation|monochrome|min-width|min-resolution|min-monochrome|min-height|min-device-width|min-device-height|min-device-aspect-ratio|min-color-index|min-color|min-aspect-ratio|max-width|max-resolution|max-monochrome|max-height|max-device-width|max-device-height|max-device-aspect-ratio|max-color-index|max-color|max-aspect-ratio|height|grid|device-width|device-height|device-aspect-ratio|color-index|color|aspect-ratio)(?:(?<=\\w)(?![\\w-]))",name:"support.type.property-name.media-feature.media.css"},{match:"(?:(?=\\w)(?<![\\w-]))(tv|tty|screen|projection|print|handheld|embossed|braille|aural|all)(?:(?<=\\w)(?![\\w-]))",name:"support.constant.media-type.media.css"},{match:"(?:(?=\\w)(?<![\\w-]))(portrait|landscape)(?:(?<=\\w)(?![\\w-]))",name:"support.constant.property-value.media-property.media.css"}]},char_escape:{match:"\\\\(.)",name:"constant.character.escape.stylus"},color:{patterns:[{begin:"\\b(rgb|rgba|hsl|hsla)(\\()",beginCaptures:{1:{name:"support.function.color.css"},2:{name:"punctuation.section.function.css"}},end:"(\\))",endCaptures:{1:{name:"punctuation.section.function.css"}},name:"meta.function.color.css",patterns:[{match:"\\s*(,)\\s*",name:"punctuation.separator.parameter.css"},{include:"#numeric"},{include:"#property_variable"}]},{captures:{1:{name:"punctuation.definition.constant.css"}},match:"(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",name:"constant.other.color.rgb-value.css"},{comment:"http://www.w3.org/TR/CSS21/syndata.html#value-def-color",match:"\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b",name:"support.constant.color.w3c-standard-color-name.css"},{comment:"http://www.w3.org/TR/css3-color/#svg-color",match:"\\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\\b",name:"support.constant.color.w3c-extended-color-name.css"}]},comment:{patterns:[{include:"#comment_block"},{include:"#comment_line"}]},comment_block:{begin:"/\\*",beginCaptures:{0:{name:"punctuation.definition.comment.begin.css"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.end.css"}},name:"comment.block.css"},comment_line:{begin:"(^[ \\t]+)?(?=//)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.stylus"}},end:"(?!\\G)",patterns:[{begin:"//",beginCaptures:{0:{name:"punctuation.definition.comment.stylus"}},end:"(?=\\n)",name:"comment.line.double-slash.stylus"}]},declaration:{begin:"((?<=^)[^\\S\\n]+)|((?<=;)[^\\S\\n]*)|((?<=\\{)[^\\S\\n]*)",end:"(?=\\n)|(;)|(?=\\})|(\\n)",endCaptures:{2:{name:"punctuation.terminator.rule.css"}},name:"meta.property-list.css",patterns:[{match:`(?x) (?<![\\w-]) +-- +(?:[-a-zA-Z_] | [^\\x00-\\x7F]) +(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] +|\\\\(?:[0-9a-fA-F]{1,6}|.) +)*`,name:"variable.css"},{include:"#language_keywords"},{include:"#language_constants"},{match:"(?:(?<=^)[^\\S\\n]+(\\n))"},{captures:{1:{name:"support.type.property-name.css"},2:{name:"punctuation.separator.key-value.css"},3:{name:"variable.section.css"}},match:"\\G\\s*(counter-reset|counter-increment)(?:(:)|[^\\S\\n])[^\\S\\n]*([a-zA-Z_-][a-zA-Z0-9_-]*)",name:"meta.property.counter.css"},{begin:"\\G\\s*(filter)(?:(:)|[^\\S\\n])[^\\S\\n]*",beginCaptures:{1:{name:"support.type.property-name.css"},2:{name:"punctuation.separator.key-value.css"}},end:"(?=\\n|;|\\}|$)",name:"meta.property.filter.css",patterns:[{include:"#function"},{include:"#property_values"}]},{include:"#property"},{include:"#interpolation"},{include:"$self"}]},font_name:{match:"(\\b(?i:arial|century|comic|courier|cursive|fantasy|futura|garamond|georgia|helvetica|impact|lucida|monospace|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif)\\b)",name:"support.constant.font-name.css"},function:{begin:"(?=[a-zA-Z_-][a-zA-Z0-9_-]*\\()",end:"(\\))",endCaptures:{1:{name:"punctuation.section.function.css"}},patterns:[{begin:"(format|url|local)(\\()",beginCaptures:{1:{name:"support.function.misc.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.misc.css",patterns:[{match:"(?<=\\()[^\\)\\s]*(?=\\))",name:"string.css"},{include:"#string"},{include:"#variable"},{include:"#operator"},{match:"\\s*"}]},{captures:{1:{name:"support.function.misc.counter.css"},2:{name:"punctuation.section.function.css"},3:{name:"variable.section.css"}},match:"(counter)(\\()([a-zA-Z_-][a-zA-Z0-9_-]*)(?=\\))",name:"meta.function.misc.counter.css"},{begin:"(counters)(\\()",beginCaptures:{1:{name:"support.function.misc.counters.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.misc.counters.css",patterns:[{match:"\\G[a-zA-Z_-][a-zA-Z0-9_-]*",name:"variable.section.css"},{match:"\\s*(,)\\s*",name:"punctuation.separator.parameter.css"},{include:"#string"},{include:"#interpolation"}]},{begin:"(attr)(\\()",beginCaptures:{1:{name:"support.function.misc.attr.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.misc.attr.css",patterns:[{match:"\\G[a-zA-Z_-][a-zA-Z0-9_-]*",name:"entity.other.attribute-name.attribute.css"},{match:"(?<=[a-zA-Z0-9_-])\\s*\\b(string|color|url|integer|number|length|em|ex|px|rem|vw|vh|vmin|vmax|mm|cm|in|pt|pc|angle|deg|grad|rad|time|s|ms|frequency|Hz|kHz|%)\\b",name:"support.type.attr.css"},{match:"\\s*(,)\\s*",name:"punctuation.separator.parameter.css"},{include:"#string"},{include:"#interpolation"}]},{begin:"(calc)(\\()",beginCaptures:{1:{name:"support.function.misc.calc.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.misc.calc.css",patterns:[{include:"#property_values"}]},{begin:"(cubic-bezier)(\\()",beginCaptures:{1:{name:"support.function.timing.cubic-bezier.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.timing.cubic-bezier.css",patterns:[{match:"\\s*(,)\\s*",name:"punctuation.separator.parameter.css"},{include:"#numeric"},{include:"#interpolation"}]},{begin:"(steps)(\\()",beginCaptures:{1:{name:"support.function.timing.steps.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.timing.steps.css",patterns:[{match:"\\s*(,)\\s*",name:"punctuation.separator.parameter.css"},{include:"#numeric"},{match:"\\b(start|end)\\b",name:"support.constant.timing.steps.direction.css"},{include:"#interpolation"}]},{begin:"(linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient)(\\()",beginCaptures:{1:{name:"support.function.gradient.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.gradient.css",patterns:[{match:"\\s*(,)\\s*",name:"punctuation.separator.parameter.css"},{include:"#numeric"},{include:"#color"},{match:"\\b(to|bottom|right|left|top|circle|ellipse|center|closest-side|closest-corner|farthest-side|farthest-corner|at)\\b",name:"support.constant.gradient.css"},{include:"#interpolation"}]},{begin:"(blur|brightness|contrast|grayscale|hue-rotate|invert|opacity|saturate|sepia)(\\()",beginCaptures:{1:{name:"support.function.filter.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.filter.css",patterns:[{include:"#numeric"},{include:"#property_variable"},{include:"#interpolation"}]},{begin:"(drop-shadow)(\\()",beginCaptures:{1:{name:"support.function.filter.drop-shadow.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.filter.drop-shadow.css",patterns:[{include:"#numeric"},{include:"#color"},{include:"#property_variable"},{include:"#interpolation"}]},{begin:"(matrix|matrix3d|perspective|rotate|rotate3d|rotate[Xx]|rotate[yY]|rotate[zZ]|scale|scale3d|scale[xX]|scale[yY]|scale[zZ]|skew|skew[xX]|skew[yY]|translate|translate3d|translate[xX]|translate[yY]|translate[zZ])(\\()",beginCaptures:{1:{name:"support.function.transform.css"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.transform.css",patterns:[{include:"#numeric"},{include:"#property_variable"},{include:"#interpolation"}]},{match:"(url|local|format|counter|counters|attr|calc)(?=\\()",name:"support.function.misc.css"},{match:"(cubic-bezier|steps)(?=\\()",name:"support.function.timing.css"},{match:"(linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient)(?=\\()",name:"support.function.gradient.css"},{match:"(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)(?=\\()",name:"support.function.filter.css"},{match:"(matrix|matrix3d|perspective|rotate|rotate3d|rotate[Xx]|rotate[yY]|rotate[zZ]|scale|scale3d|scale[xX]|scale[yY]|scale[zZ]|skew|skew[xX]|skew[yY]|translate|translate3d|translate[xX]|translate[yY]|translate[zZ])(?=\\()",name:"support.function.transform.css"},{begin:"([a-zA-Z_-][a-zA-Z0-9_-]*)(\\()",beginCaptures:{1:{name:"entity.name.function.stylus"},2:{name:"punctuation.section.function.css"}},end:"(?=\\))",name:"meta.function.stylus",patterns:[{match:`(?x) +-- +(?:[-a-zA-Z_] | [^\\x00-\\x7F]) +(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] +|\\\\(?:[0-9a-fA-F]{1,6}|.) +)*`,name:"variable.argument.stylus"},{match:"\\s*(,)\\s*",name:"punctuation.separator.parameter.css"},{include:"#interpolation"},{include:"#property_values"}]},{match:"\\(",name:"punctuation.section.function.css"}]},interpolation:{begin:"(?:(\\{)[^\\S\\n]*)(?=[^;=]*[^\\S\\n]*\\})",beginCaptures:{1:{name:"meta.brace.curly"}},end:"(?:[^\\S\\n]*(\\}))|\\n|$",endCaptures:{1:{name:"meta.brace.curly"}},name:"meta.interpolation.stylus",patterns:[{include:"#variable"},{include:"#numeric"},{include:"#string"},{include:"#operator"}]},language_constants:{match:"\\b(true|false|null)\\b",name:"constant.language.stylus"},language_keywords:{patterns:[{match:"(\\b|\\s)(return|else|for|unless|if|else)\\b",name:"keyword.control.stylus"},{match:"(\\b|\\s)(!important|in|is defined|is a)\\b",name:"keyword.other.stylus"},{match:"\\barguments\\b",name:"variable.language.stylus"}]},numeric:{patterns:[{captures:{1:{name:"keyword.other.unit.css"}},match:"(?x) (?<!\\w|-)(?:(?:-|\\+)?(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+)) ((?:px|pt|ch|cm|mm|in|r?em|ex|pc|deg|g?rad|dpi|dpcm|dppx|fr|ms|s|turn|vh|vmax|vmin|vw)\\b|%)?",name:"constant.numeric.css"}]},operator:{patterns:[{match:"((?:\\?|:|!|~|\\+|(\\s-\\s)|(?:\\*)?\\*|\\/|%|(\\.)?\\.\\.|<|>|(?:=|:|\\?|\\+|-|\\*|\\/|%|<|>)?=|!=)|\\b(?:in|is(?:nt)?|(?<!:)not|or|and)\\b)",name:"keyword.operator.stylus"},{include:"#char_escape"}]},property:{begin:`(?x:\\G\\s*(?: +(-webkit-[-A-Za-z]+|-moz-[-A-Za-z]+|-o-[-A-Za-z]+|-ms-[-A-Za-z]+|-khtml-[-A-Za-z]+|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode-range|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|mix-blend-mode|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line-break|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify-content|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|gap|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-start|grid-row|grid-row-end|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|row-gap|gap|font-kerning|font-language-override|font-weight|font-variant-caps|font-variant|font-style|font-synthesis|font-stretch|font-size-adjust|font-size|font-family|font|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-blend-mode|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation-fill-mode|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align-content|align|after|adjust|will-change)| +(writing-mode|text-anchor|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|stop-opacity|stop-color|shape-rendering|marker-start|marker-mid|marker-end|lighting-color|kerning|image-rendering|glyph-orientation-vertical|glyph-orientation-horizontal|flood-opacity|flood-color|fill-rule|fill-opacity|fill|enable-background|color-rendering|color-interpolation-filters|color-interpolation|clip-rule|clip-path)| +([a-zA-Z_-][a-zA-Z0-9_-]*) +)(?!([^\\S\\n]*&)|([^\\S\\n]*\\{))(?=:|([^\\S\\n]+[^\\s])))`,beginCaptures:{1:{name:"support.type.property-name.css"},2:{name:"support.type.property-name.svg.css"},3:{name:"support.function.mixin.stylus"}},end:"(;)|(?=\\n|\\}|$)",endCaptures:{1:{name:"punctuation.terminator.rule.css"}},patterns:[{include:"#property_value"}]},property_value:{begin:"\\G(?:(:)|(\\s))(\\s*)(?!&)",beginCaptures:{1:{name:"punctuation.separator.key-value.css"},2:{name:"punctuation.separator.key-value.css"}},end:"(?=\\n|;|\\})",endCaptures:{1:{name:"punctuation.terminator.rule.css"}},name:"meta.property-value.css",patterns:[{include:"#property_values"},{match:"[^\\n]+?"}]},property_values:{patterns:[{include:"#function"},{include:"#comment"},{include:"#language_keywords"},{include:"#language_constants"},{match:"(?:(?=\\w)(?<![\\w-]))(wrap-reverse|wrap|whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|unicase|underline|ultra-expanded|ultra-condensed|transparent|transform|top|titling-caps|thin|thick|text-top|text-bottom|text|tb-rl|table-row-group|table-row|table-header-group|table-footer-group|table-column-group|table-column|table-cell|table|sw-resize|super|strict|stretch|step-start|step-end|static|square|space-between|space-around|space|solid|soft-light|small-caps|separate|semi-expanded|semi-condensed|se-resize|scroll|screen|saturation|s-resize|running|rtl|row-reverse|row-resize|row|round|right|ridge|reverse|repeat-y|repeat-x|repeat|relative|progressive|progress|pre-wrap|pre-line|pre|pointer|petite-caps|paused|pan-x|pan-left|pan-right|pan-y|pan-up|pan-down|padding-box|overline|overlay|outside|outset|optimizeSpeed|optimizeLegibility|opacity|oblique|nw-resize|nowrap|not-allowed|normal|none|no-repeat|no-drop|newspaper|ne-resize|n-resize|multiply|move|middle|medium|max-height|manipulation|main-size|luminosity|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|local|list-item|linear(?!-)|line-through|line-edge|line|lighter|lighten|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline-block|inline|inherit|infinite|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|hue|horizontal|hidden|help|hard-light|hand|groove|geometricPrecision|forwards|flex-start|flex-end|flex|fixed|extra-expanded|extra-condensed|expanded|exclusion|ellipsis|ease-out|ease-in-out|ease-in|ease|e-resize|double|dotted|distribute-space|distribute-letter|distribute-all-lines|distribute|disc|disabled|difference|default|decimal|dashed|darken|currentColor|crosshair|cover|content-box|contain|condensed|column-reverse|column|color-dodge|color-burn|color|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|border-box|bolder|bold|block|bidi-override|below|baseline|balance|backwards|auto|antialiased|always|alternate-reverse|alternate|all-small-caps|all-scroll|all-petite-caps|all|absolute)(?:(?<=\\w)(?![\\w-]))",name:"support.constant.property-value.css"},{match:"(?:(?=\\w)(?<![\\w-]))(start|sRGB|square|round|optimizeSpeed|optimizeQuality|nonzero|miter|middle|linearRGB|geometricPrecision |evenodd |end |crispEdges|butt|bevel)(?:(?<=\\w)(?![\\w-]))",name:"support.constant.property-value.svg.css"},{include:"#font_name"},{include:"#numeric"},{include:"#color"},{include:"#string"},{match:"\\!\\s*important",name:"keyword.other.important.css"},{include:"#operator"},{include:"#stylus_keywords"},{include:"#property_variable"}]},property_variable:{patterns:[{include:"#variable"},{match:"(?<!^)(\\@[a-zA-Z_-][a-zA-Z0-9_-]*)",name:"variable.property.stylus"}]},selector:{patterns:[{match:"(?:(?=\\w)(?<![\\w-]))(a|abbr|acronym|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|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|main|map|mark|math|menu|menuitem|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rb|rp|rt|rtc|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|svg|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|tt|u|ul|var|video|wbr)(?:(?<=\\w)(?![\\w-]))",name:"entity.name.tag.css"},{match:"(?:(?=\\w)(?<![\\w-]))(vkern|view|use|tspan|tref|title|textPath|text|symbol|switch|svg|style|stop|set|script|rect|radialGradient|polyline|polygon|pattern|path|mpath|missing-glyph|metadata|mask|marker|linearGradient|line|image|hkern|glyphRef|glyph|g|foreignObject|font-face-uri|font-face-src|font-face-name|font-face-format|font-face|font|filter|feTurbulence|feTile|feSpotLight|feSpecularLighting|fePointLight|feOffset|feMorphology|feMergeNode|feMerge|feImage|feGaussianBlur|feFuncR|feFuncG|feFuncB|feFuncA|feFlood|feDistantLight|feDisplacementMap|feDiffuseLighting|feConvolveMatrix|feComposite|feComponentTransfer|feColorMatrix|feBlend|ellipse|desc|defs|cursor|color-profile|clipPath|circle|animateTransform|animateMotion|animateColor|animate|altGlyphItem|altGlyphDef|altGlyph|a)(?:(?<=\\w)(?![\\w-]))",name:"entity.name.tag.svg.css"},{match:"\\s*(\\,)\\s*",name:"meta.selector.stylus"},{match:"\\*",name:"meta.selector.stylus"},{captures:{2:{name:"entity.other.attribute-name.parent-selector-suffix.stylus"}},match:"\\s*(\\&)([a-zA-Z0-9_-]+)\\s*",name:"meta.selector.stylus"},{match:"\\s*(\\&)\\s*",name:"meta.selector.stylus"},{captures:{1:{name:"punctuation.definition.entity.css"}},match:"(\\.)[a-zA-Z0-9_-]+",name:"entity.other.attribute-name.class.css"},{captures:{1:{name:"punctuation.definition.entity.css"}},match:"(#)[a-zA-Z][a-zA-Z0-9_-]*",name:"entity.other.attribute-name.id.css"},{captures:{1:{name:"punctuation.definition.entity.css"}},match:"(:+)(after|before|content|first-letter|first-line|host|(-(moz|webkit|ms)-)?selection)\\b",name:"entity.other.attribute-name.pseudo-element.css"},{captures:{1:{name:"punctuation.definition.entity.css"}},match:"(:)((first|last)-child|(first|last|only)-of-type|empty|root|target|first|left|right)\\b",name:"entity.other.attribute-name.pseudo-class.css"},{captures:{1:{name:"punctuation.definition.entity.css"}},match:"(:)(checked|enabled|default|disabled|indeterminate|invalid|optional|required|valid)\\b",name:"entity.other.attribute-name.pseudo-class.ui-state.css"},{begin:"((:)not)(\\()",beginCaptures:{1:{name:"entity.other.attribute-name.pseudo-class.css"},2:{name:"punctuation.definition.entity.css"},3:{name:"punctuation.section.function.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.css"}},patterns:[{include:"#selector"}]},{captures:{1:{name:"entity.other.attribute-name.pseudo-class.css"},2:{name:"punctuation.definition.entity.css"},3:{name:"punctuation.section.function.css"},4:{name:"constant.numeric.css"},5:{name:"punctuation.section.function.css"}},match:"((:)nth-(?:(?:last-)?child|(?:last-)?of-type))(\\()(\\-?(?:\\d+n?|n)(?:\\+\\d+)?|even|odd)(\\))"},{captures:{1:{name:"entity.other.attribute-name.pseudo-class.css"},2:{name:"puncutation.definition.entity.css"},3:{name:"punctuation.section.function.css"},4:{name:"constant.language.css"},5:{name:"punctuation.section.function.css"}},match:"((:)dir)\\s*(?:(\\()(ltr|rtl)?(\\)))?"},{captures:{1:{name:"entity.other.attribute-name.pseudo-class.css"},2:{name:"puncutation.definition.entity.css"},3:{name:"punctuation.section.function.css"},4:{name:"constant.language.css"},6:{name:"punctuation.section.function.css"}},match:"((:)lang)\\s*(?:(\\()(\\w+(-\\w+)?)?(\\)))?"},{captures:{1:{name:"punctuation.definition.entity.css"}},match:"(:)(active|hover|link|visited|focus)\\b",name:"entity.other.attribute-name.pseudo-class.css"},{captures:{1:{name:"punctuation.definition.entity.css"}},match:"(::)(shadow)\\b",name:"entity.other.attribute-name.pseudo-class.css"},{captures:{1:{name:"punctuation.definition.entity.css"},2:{name:"entity.other.attribute-name.attribute.css"},3:{name:"punctuation.separator.operator.css"},4:{name:"string.unquoted.attribute-value.css"},5:{name:"string.quoted.double.attribute-value.css"},6:{name:"punctuation.definition.string.begin.css"},7:{name:"punctuation.definition.string.end.css"},8:{name:"punctuation.definition.entity.css"}},match:`(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?>(['"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])`,name:"meta.attribute-selector.css"},{include:"#interpolation"},{include:"#variable"}]},string:{patterns:[{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.css"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.css"}},name:"string.quoted.double.css",patterns:[{match:"\\\\([a-fA-F0-9]{1,6}|.)",name:"constant.character.escape.css"}]},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.css"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.css"}},name:"string.quoted.single.css",patterns:[{match:"\\\\([a-fA-F0-9]{1,6}|.)",name:"constant.character.escape.css"}]}]},variable:{match:"(\\$[a-zA-Z_-][a-zA-Z0-9_-]*)",name:"variable.stylus"},variable_declaration:{begin:"^[^\\S\\n]*(\\$?[a-zA-Z_-][a-zA-Z0-9_-]*)[^\\S\\n]*(\\=|\\?\\=|\\:\\=)",beginCaptures:{1:{name:"variable.stylus"},2:{name:"keyword.operator.stylus"}},end:"(\\n)|(;)|(?=\\})",endCaptures:{2:{name:"punctuation.terminator.rule.css"}},patterns:[{include:"#property_values"}]}},scopeName:"source.stylus",aliases:["styl"]});var o=[m];const d=Object.freeze({displayName:"Sass",fileTypes:["sass"],foldingStartMarker:"/\\*|^#|^\\*|^\\b|*#?region|^\\.",foldingStopMarker:"\\*/|*#?endregion|^\\s*$",name:"sass",patterns:[{begin:"^(\\s*)(/\\*)",end:"(\\*/)|^(?!\\s\\1)",name:"comment.block.sass",patterns:[{include:"#comment-tag"},{include:"#comment-param"}]},{match:"^[\\t ]*/?//[\\t ]*[SRI][\\t ]*$",name:"keyword.other.sass.formatter.action"},{begin:"^[\\t ]*//[\\t ]*(import)[\\t ]*(css-variables)[\\t ]*(from)",captures:{1:{name:"keyword.control"},2:{name:"variable"},3:{name:"keyword.control"}},end:"$\\n?",name:"comment.import.css.variables",patterns:[{include:"#import-quotes"}]},{include:"#double-slash"},{include:"#double-quoted"},{include:"#single-quoted"},{include:"#interpolation"},{include:"#curly-brackets"},{include:"#placeholder-selector"},{begin:"\\$[a-zA-Z0-9_-]+(?=:)",captures:{0:{name:"variable.other.name"}},end:"$\\n?|(?=\\)\\s\\)|\\)\\n)",name:"sass.script.maps",patterns:[{include:"#double-slash"},{include:"#double-quoted"},{include:"#single-quoted"},{include:"#interpolation"},{include:"#variable"},{include:"#rgb-value"},{include:"#numeric"},{include:"#unit"},{include:"#flag"},{include:"#comma"},{include:"#function"},{include:"#function-content"},{include:"#operator"},{include:"#reserved-words"},{include:"#parent-selector"},{include:"#property-value"},{include:"#semicolon"},{include:"#dotdotdot"}]},{include:"#variable-root"},{include:"#numeric"},{include:"#unit"},{include:"#flag"},{include:"#comma"},{include:"#semicolon"},{include:"#dotdotdot"},{begin:"@include|\\+(?!\\W|\\d)",captures:{0:{name:"keyword.control.at-rule.css.sass"}},end:"(?=\\n|\\()",name:"support.function.name.sass.library"},{begin:"^(@use)",captures:{0:{name:"keyword.control.at-rule.css.sass.use"}},end:"(?=\\n)",name:"sass.use",patterns:[{match:"as|with",name:"support.type.css.sass"},{include:"#numeric"},{include:"#unit"},{include:"#variable-root"},{include:"#rgb-value"},{include:"#comma"},{include:"#parenthesis-open"},{include:"#parenthesis-close"},{include:"#colon"},{include:"#import-quotes"}]},{begin:"^@import(.*?)( as.*)?$",captures:{1:{name:"constant.character.css.sass"},2:{name:"invalid"}},end:"(?=\\n)",name:"keyword.control.at-rule.use"},{begin:"@mixin|^[\\t ]*=|@function",captures:{0:{name:"keyword.control.at-rule.css.sass"}},end:"$\\n?|(?=\\()",name:"support.function.name.sass",patterns:[{match:"[\\w-]+",name:"entity.name.function"}]},{begin:"@",end:"$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))",name:"keyword.control.at-rule.css.sass"},{begin:"(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|slot)\\b(?!-|\\)|:\\s)|&",end:"$\\n?|(?=\\s|,|\\(|\\)|\\.|\\#|\\[|>|-|_)",name:"entity.name.tag.css.sass.symbol",patterns:[{include:"#interpolation"},{include:"#pseudo-class"}]},{begin:"#",end:"$\\n?|(?=\\s|,|\\(|\\)|\\.|\\[|>)",name:"entity.other.attribute-name.id.css.sass",patterns:[{include:"#interpolation"},{include:"#pseudo-class"}]},{begin:"\\.|(?<=&)(-|_)",end:"$\\n?|(?=\\s|,|\\(|\\)|\\[|>)",name:"entity.other.attribute-name.class.css.sass",patterns:[{include:"#interpolation"},{include:"#pseudo-class"}]},{begin:"\\[",end:"\\]",name:"entity.other.attribute-selector.sass",patterns:[{include:"#double-quoted"},{include:"#single-quoted"},{match:"\\^|\\$|\\*|~",name:"keyword.other.regex.sass"}]},{match:`^((?<=\\]|\\)|not\\(|\\*|>|>\\s)| +*):[a-z:-]+|(::|:-)[a-z:-]+`,name:"entity.other.attribute-name.pseudo-class.css.sass"},{include:"#module"},{match:"[\\w-]*\\(",name:"entity.name.function"},{match:"\\)",name:"entity.name.function.close"},{begin:":",end:"$\\n?|(?=\\s\\(|and\\(|\\),)",name:"meta.property-list.css.sass.prop",patterns:[{match:"(?<=:)[a-z-]+\\s",name:"support.type.property-name.css.sass.prop.name"},{include:"#double-slash"},{include:"#double-quoted"},{include:"#single-quoted"},{include:"#interpolation"},{include:"#curly-brackets"},{include:"#variable"},{include:"#rgb-value"},{include:"#numeric"},{include:"#unit"},{include:"#module"},{match:"--.+?(?=\\))",name:"variable.css"},{match:"[\\w-]*\\(",name:"entity.name.function"},{match:"\\)",name:"entity.name.function.close"},{include:"#flag"},{include:"#comma"},{include:"#semicolon"},{include:"#function"},{include:"#function-content"},{include:"#operator"},{include:"#parent-selector"},{include:"#property-value"}]},{include:"#rgb-value"},{include:"#function"},{include:"#function-content"},{begin:"(?<=})(?!\\n|\\(|\\)|[a-zA-Z0-9_-]+:)",end:"\\s|(?=,|\\.|\\[|\\)|\\n)",name:"entity.name.tag.css.sass",patterns:[{include:"#interpolation"},{include:"#pseudo-class"}]},{include:"#operator"},{match:"[a-z-]+((?=:|#{))",name:"support.type.property-name.css.sass.prop.name"},{include:"#reserved-words"},{include:"#property-value"}],repository:{colon:{match:":",name:"meta.property-list.css.sass.colon"},comma:{match:"\\band\\b|\\bor\\b|,",name:"comment.punctuation.comma.sass"},"comment-param":{match:"\\@(\\w+)",name:"storage.type.class.jsdoc"},"comment-tag":{begin:"(?<={{)",end:"(?=}})",name:"comment.tag.sass"},"curly-brackets":{match:"{|}",name:"invalid"},dotdotdot:{match:"\\.\\.\\.",name:"variable.other"},"double-quoted":{begin:'"',end:'"',name:"string.quoted.double.css.sass",patterns:[{include:"#quoted-interpolation"}]},"double-slash":{begin:"//",end:"$\\n?",name:"comment.line.sass",patterns:[{include:"#comment-tag"}]},flag:{match:"!(important|default|optional|global)",name:"keyword.other.important.css.sass"},function:{match:"(?<=[\\s|\\(|,|:])(?!url|format|attr)[a-zA-Z0-9_-][\\w-]*(?=\\()",name:"support.function.name.sass"},"function-content":{begin:"(?<=url\\(|format\\(|attr\\()",end:".(?=\\))",name:"string.quoted.double.css.sass"},"import-quotes":{match:`["']?\\.{0,2}[\\w/]+["']?`,name:"constant.character.css.sass"},interpolation:{begin:"#{",end:"}",name:"support.function.interpolation.sass",patterns:[{include:"#variable"},{include:"#numeric"},{include:"#operator"},{include:"#unit"},{include:"#comma"},{include:"#double-quoted"},{include:"#single-quoted"}]},module:{captures:{1:{name:"constant.character.module.name"},2:{name:"constant.numeric.module.dot"}},match:"([\\w-]+?)(\\.)",name:"constant.character.module"},numeric:{match:"(-|\\.)?[0-9]+(\\.[0-9]+)?",name:"constant.numeric.css.sass"},operator:{match:"\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~",name:"keyword.operator.sass"},"parent-selector":{match:"&",name:"entity.name.tag.css.sass"},"parenthesis-close":{match:"\\)",name:"entity.name.function.parenthesis.close"},"parenthesis-open":{match:"\\(",name:"entity.name.function.parenthesis.open"},"placeholder-selector":{begin:"(?<!\\d)%(?!\\d)",end:"$\\n?|\\s",name:"entity.other.inherited-class.placeholder-selector.css.sass"},"property-value":{match:"[a-zA-Z0-9_-]+",name:"meta.property-value.css.sass support.constant.property-value.css.sass"},"pseudo-class":{match:":[a-z:-]+",name:"entity.other.attribute-name.pseudo-class.css.sass"},"quoted-interpolation":{begin:"#{",end:"}",name:"support.function.interpolation.sass",patterns:[{include:"#variable"},{include:"#numeric"},{include:"#operator"},{include:"#unit"},{include:"#comma"}]},"reserved-words":{match:"\\b(false|from|in|not|null|through|to|true)\\b",name:"support.type.property-name.css.sass"},"rgb-value":{match:"(#)([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b",name:"constant.language.color.rgb-value.css.sass"},semicolon:{match:";",name:"invalid"},"single-quoted":{begin:"'",end:"'",name:"string.quoted.single.css.sass",patterns:[{include:"#quoted-interpolation"}]},unit:{match:"(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|fr|%)",name:"keyword.control.unit.css.sass"},variable:{match:"\\$[a-zA-Z0-9_-]+",name:"variable.other.value"},"variable-root":{match:"\\$[a-zA-Z0-9_-]+",name:"variable.other.root"}},scopeName:"source.sass"});var c=[d];const g=Object.freeze({displayName:"Less",name:"less",patterns:[{include:"#comment-block"},{include:"#less-namespace-accessors"},{include:"#less-extend"},{include:"#at-rules"},{include:"#less-variable-assignment"},{include:"#property-list"},{include:"#selector"}],repository:{"angle-type":{captures:{1:{name:"keyword.other.unit.less"}},match:"(?i:[-+]?(?:(?:\\d*\\.\\d+(?:[eE](?:[-+]?\\d+))*)|(?:[-+]?\\d+))(deg|grad|rad|turn))\\b",name:"constant.numeric.less"},"at-charset":{begin:"\\s*((@)charset\\b)\\s*",captures:{1:{name:"keyword.control.at-rule.charset.less"},2:{name:"punctuation.definition.keyword.less"}},end:"\\s*((?=;|$))",name:"meta.at-rule.charset.less",patterns:[{include:"#literal-string"}]},"at-counter-style":{begin:"\\s*((@)counter-style\\b)\\s+(?:(?i:\\b(decimal|none)\\b)|(-?(?:[[_a-zA-Z][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*))\\s*(?=\\{|$)",captures:{1:{name:"keyword.control.at-rule.counter-style.less"},2:{name:"punctuation.definition.keyword.less"},3:{name:"invalid.illegal.counter-style-name.less"},4:{name:"entity.other.counter-style-name.css"}},end:"\\s*(\\})",endCaptures:{1:{name:"punctuation.definition.block.begin.less"}},name:"meta.at-rule.counter-style.less",patterns:[{include:"#comment-block"},{include:"#rule-list"}]},"at-custom-media":{begin:"(?=\\s*@custom-media\\b)",end:"\\s*(?=;)",name:"meta.at-rule.custom-media.less",patterns:[{captures:{0:{name:"punctuation.section.property-list.less"}},match:"\\s*;"},{captures:{1:{name:"keyword.control.at-rule.custom-media.less"},2:{name:"punctuation.definition.keyword.less"},3:{name:"support.constant.custom-media.less"}},match:"\\s*((@)custom-media)(?=.*?)"},{include:"#media-query-list"}]},"at-font-face":{begin:"\\s*((@)font-face)\\s*(?=\\{|$)",captures:{1:{name:"keyword.control.at-rule.font-face.less"},2:{name:"punctuation.definition.keyword.less"}},end:"\\s*(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.less"}},name:"meta.at-rule.font-face.less",patterns:[{include:"#comment-block"},{include:"#rule-list"}]},"at-import":{begin:"\\s*((@)import\\b)\\s*",beginCaptures:{1:{name:"keyword.control.at-rule.import.less"},2:{name:"punctuation.definition.keyword.less"}},end:"\\;",endCaptures:{0:{name:"punctuation.terminator.rule.less"}},name:"meta.at-rule.import.less",patterns:[{include:"#url-function"},{include:"#less-variables"},{begin:`(?<=(["'])|(["']\\)))\\s*`,end:"\\s*(?=\\;)",patterns:[{include:"#media-query"}]},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{match:"reference|inline|less|css|once|multiple|optional",name:"constant.language.import-directive.less"},{include:"#comma-delimiter"}]},{include:"#literal-string"}]},"at-keyframes":{begin:"\\s*((@)(-webkit-|-moz-|-o-)?keyframes)(?=.*?\\{)",beginCaptures:{1:{name:"keyword.control.at-rule.keyframe.less"},2:{name:"punctuation.definition.keyword.less"},3:{name:"support.type.property-vendor.less"},4:{name:"support.constant.keyframe.less"}},end:"\\s*(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.less"}},patterns:[{begin:"\\s*(\\{)",beginCaptures:{1:{name:"punctuation.definition.block.begin.less"}},end:"(?=\\})",patterns:[{captures:{1:{name:"keyword.other.keyframe-selector.less"},2:{name:"constant.numeric.less"},3:{name:"keyword.other.unit.less"}},match:"\\s*(?:(from|to)|((?:\\.[0-9]+|[0-9]+(?:\\.[0-9]*)?)(%)))\\s*,?\\s*"},{include:"$self"}]},{begin:"\\s*(?=[^{;])",end:"\\s*(?=\\{)",name:"meta.at-rule.keyframe.less",patterns:[{include:"#keyframe-name"}]}]},"at-media":{begin:"(?=\\s*@media\\b)",end:"\\s*(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.less"}},patterns:[{begin:"\\s*((@)media)",beginCaptures:{1:{name:"keyword.control.at-rule.media.less"},2:{name:"punctuation.definition.keyword.less"},3:{name:"support.constant.media.less"}},end:"\\s*(?=\\{)",name:"meta.at-rule.media.less",patterns:[{include:"#media-query-list"}]},{begin:"\\s*(\\{)",beginCaptures:{1:{name:"punctuation.definition.block.begin.less"}},end:"(?=\\})",patterns:[{include:"#rule-list-body"},{include:"$self"}]}]},"at-namespace":{begin:"\\s*((@)namespace)\\s+",beginCaptures:{1:{name:"keyword.control.at-rule.namespace.less"},2:{name:"punctuation.definition.keyword.less"}},end:"\\;",endCaptures:{0:{name:"punctuation.terminator.rule.less"}},name:"meta.at-rule.namespace.less",patterns:[{include:"#url-function"},{include:"#literal-string"},{match:"(-?(?:[[_a-zA-Z][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)",name:"entity.name.constant.namespace-prefix.less"}]},"at-page":{captures:{1:{name:"keyword.control.at-rule.page.less"},2:{name:"punctuation.definition.keyword.less"},3:{name:"punctuation.definition.entity.less"},4:{name:"entity.other.attribute-name.pseudo-class.less"}},match:"\\s*((@)page)\\s*(?:(:)(first|left|right))?\\s*(?=\\{|$)",name:"meta.at-rule.page.less",patterns:[{include:"#comment-block"},{include:"#rule-list"}]},"at-rules":{patterns:[{include:"#at-charset"},{include:"#at-counter-style"},{include:"#at-custom-media"},{include:"#at-font-face"},{include:"#at-media"},{include:"#at-import"},{include:"#at-keyframes"},{include:"#at-namespace"},{include:"#at-page"},{include:"#at-supports"},{include:"#at-viewport"}]},"at-supports":{begin:"(?=\\s*@supports\\b)",end:"(?=\\s*)(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.less"}},patterns:[{begin:"\\s*((@)supports)",beginCaptures:{1:{name:"keyword.control.at-rule.supports.less"},2:{name:"punctuation.definition.keyword.less"},3:{name:"support.constant.supports.less"}},end:"\\s*(?=\\{)",name:"meta.at-rule.supports.less",patterns:[{include:"#at-supports-operators"},{include:"#at-supports-parens"}]},{begin:"\\s*(\\{)",beginCaptures:{1:{name:"punctuation.section.property-list.begin.less"}},end:"(?=\\})",patterns:[{include:"#rule-list-body"},{include:"$self"}]}]},"at-supports-operators":{match:"\\b(?:and|or|not)\\b",name:"keyword.operator.logic.less"},"at-supports-parens":{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{include:"#at-supports-operators"},{include:"#at-supports-parens"},{include:"#rule-list-body"}]},"at-viewport":{begin:"((@(-ms-)?)viewport)",beginCaptures:{1:{name:"keyword.control.at-rule.viewport.less"},2:{name:"punctuation.definition.keyword.less"},3:{name:"support.type.vendor-prefix.less"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.end.less"}},name:"meta.at-rule.viewport.less",patterns:[{begin:"\\{",captures:{0:{name:"punctuation.definition.block.begin.less"}},end:"(?=\\})",name:"meta.block.less",patterns:[{include:"#rule-list-body"}]}]},"attr-function":{begin:"\\b(attr)(?=\\()",beginCaptures:{1:{name:"support.function.filter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#qualified-name"},{include:"#literal-string"},{begin:"(-?(?:[[_a-zA-Z][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)",end:"(?=\\))",name:"entity.other.attribute-name.less",patterns:[{match:"(?x)\\b((?i:em|ex|ch|rem)|(?i:vw|vh|vmin|vmax)|(?i:cm|mm|q|in|pt|pc|px|fr)|(?i:deg|grad|rad|turn)|(?i:s|ms)|(?i:Hz|kHz)|(?i:dpi|dpcm|dppx))\\b",name:"keyword.other.unit.less"},{include:"#comma-delimiter"},{include:"#property-value-constants"},{include:"#numeric-values"}]},{include:"#color-values"}]}]},"builtin-functions":{patterns:[{include:"#attr-function"},{include:"#calc-function"},{include:"#color-functions"},{include:"#counter-functions"},{include:"#cross-fade-function"},{include:"#cubic-bezier-function"},{include:"#filter-function"},{include:"#format-function"},{include:"#gradient-functions"},{include:"#grid-repeat-function"},{include:"#image-function"},{include:"#less-functions"},{include:"#local-function"},{include:"#minmax-function"},{include:"#regexp-function"},{include:"#shape-functions"},{include:"#steps-function"},{include:"#symbols-function"},{include:"#transform-functions"},{include:"#url-function"},{include:"#var-function"}]},"calc-function":{begin:"\\b(calc)(?=\\()",beginCaptures:{1:{name:"support.function.calc.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-strings"},{include:"#var-function"},{include:"#calc-function"},{include:"#attr-function"},{include:"#less-math"}]}]},"color-adjuster-operators":{match:"[\\-\\+*](?=\\s+)",name:"keyword.operator.less"},"color-functions":{patterns:[{begin:"\\b(rgba?)(?=\\()",beginCaptures:{1:{name:"support.function.color.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-strings"},{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#percentage-type"},{include:"#number-type"}]}]},{begin:"\\b(hs(l|v)a?|hwb)(?=\\()",beginCaptures:{1:{name:"support.function.color.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-strings"},{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#angle-type"},{include:"#percentage-type"},{include:"#number-type"}]}]},{include:"#less-color-functions"}]},"color-values":{patterns:[{include:"#color-functions"},{include:"#less-functions"},{include:"#less-variables"},{match:"\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b",name:"support.constant.color.w3c-standard-color-name.less"},{match:"\\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rebeccapurple|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\\b",name:"support.constant.color.w3c-extended-color-keywords.less"},{match:"\\b((?i)currentColor|transparent)\\b",name:"support.constant.color.w3c-special-color-keyword.less"},{captures:{1:{name:"punctuation.definition.constant.less"}},match:"(#)(\\h{3}|\\h{4}|\\h{6}|\\h{8})\\b",name:"constant.other.color.rgb-value.less"}]},"comma-delimiter":{captures:{1:{name:"punctuation.separator.less"}},match:"\\s*(,)\\s*"},"comment-block":{patterns:[{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.less"}},end:"\\*/",name:"comment.block.less"},{include:"#comment-line"}]},"comment-line":{captures:{1:{name:"punctuation.definition.comment.less"}},match:"(//).*$\\n?",name:"comment.line.double-slash.less"},"counter-functions":{patterns:[{begin:"\\b(counter)(?=\\()",beginCaptures:{1:{name:"support.function.filter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-strings"},{include:"#less-variables"},{match:"(?:--(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))+|-?(?:[[_a-zA-Z][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)",name:"entity.other.counter-name.less"},{begin:"(?=,)",end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{match:"\\b((?xi:arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|decimal-leading-zero|decimal|devanagari|disclosure-closed|disclosure-open|disc|ethiopic-numeric|georgian|gujarati|gurmukhi|hebrew|hiragana-iroha|hiragana|japanese-formal|japanese-informal|kannada|katakana-iroha|katakana|khmer|korean-hangul-formal|korean-hanja-formal|korean-hanja-informal|lao|lower-alpha|lower-armenian|lower-greek|lower-latin|lower-roman|malayalam|mongolian|myanmar|oriya|persian|simp-chinese-formal|simp-chinese-informal|square|tamil|telugu|thai|tibetan|trad-chinese-formal|trad-chinese-informal|upper-alpha|upper-armenian|upper-latin|upper-roman)|none)\\b",name:"support.constant.property-value.counter-style.less"}]}]}]},{begin:"\\b(counters)(?=\\()",beginCaptures:{1:{name:"support.function.filter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{match:"(-?(?:[[_a-zA-Z][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)",name:"entity.other.counter-name.less string.unquoted.less"},{begin:"(?=,)",end:"(?=\\))",patterns:[{include:"#less-strings"},{include:"#less-variables"},{include:"#literal-string"},{include:"#comma-delimiter"},{match:"\\b((?xi:arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|decimal-leading-zero|decimal|devanagari|disclosure-closed|disclosure-open|disc|ethiopic-numeric|georgian|gujarati|gurmukhi|hebrew|hiragana-iroha|hiragana|japanese-formal|japanese-informal|kannada|katakana-iroha|katakana|khmer|korean-hangul-formal|korean-hanja-formal|korean-hanja-informal|lao|lower-alpha|lower-armenian|lower-greek|lower-latin|lower-roman|malayalam|mongolian|myanmar|oriya|persian|simp-chinese-formal|simp-chinese-informal|square|tamil|telugu|thai|tibetan|trad-chinese-formal|trad-chinese-informal|upper-alpha|upper-armenian|upper-latin|upper-roman)|none)\\b",name:"support.constant.property-value.counter-style.less"}]}]}]}]},"cross-fade-function":{patterns:[{begin:"\\b(cross-fade)(?=\\()",beginCaptures:{1:{name:"support.function.image.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#percentage-type"},{include:"#color-values"},{include:"#image-type"},{include:"#literal-string"},{include:"#unquoted-string"}]}]}]},"cubic-bezier-function":{begin:"\\b(cubic-bezier)(?=\\()",beginCaptures:{0:{name:"support.function.timing.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#number-type"}]}]},"custom-property-name":{captures:{1:{name:"punctuation.definition.custom-property.less"},2:{name:"support.type.custom-property.name.less"}},match:"\\s*(--)((?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))+)",name:"support.type.custom-property.less"},dimensions:{patterns:[{include:"#angle-type"},{include:"#frequency-type"},{include:"#length-type"},{include:"#resolution-type"},{include:"#time-type"}]},"filter-function":{begin:"\\b(filter)(?=\\()",beginCaptures:{1:{name:"support.function.filter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",name:"meta.group.less",patterns:[{include:"#comma-delimiter"},{include:"#image-type"},{include:"#literal-string"},{include:"#filter-functions"}]}]},"filter-functions":{patterns:[{include:"#less-functions"},{begin:"\\b(blur)(?=\\()",beginCaptures:{1:{name:"support.function.filter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#length-type"}]}]},{begin:"\\b(brightness|contrast|grayscale|invert|opacity|saturate|sepia)(?=\\()",beginCaptures:{1:{name:"support.function.filter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#percentage-type"},{include:"#number-type"},{include:"#less-functions"}]}]},{begin:"\\b(drop-shadow)(?=\\()",beginCaptures:{1:{name:"support.function.filter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#length-type"},{include:"#color-values"}]}]},{begin:"\\b(hue-rotate)(?=\\()",beginCaptures:{1:{name:"support.function.filter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#angle-type"}]}]}]},"format-function":{patterns:[{begin:"\\b(format)(?=\\()",beginCaptures:{0:{name:"support.function.format.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#literal-string"}]}]}]},"frequency-type":{captures:{1:{name:"keyword.other.unit.less"}},match:"(?i:[-+]?(?:(?:\\d*\\.\\d+(?:[eE](?:[-+]?\\d+))*)|(?:[-+]?\\d+))(Hz|kHz))\\b",name:"constant.numeric.less"},"gradient-functions":{patterns:[{begin:"\\b((?:repeating-)?linear-gradient)(?=\\()",beginCaptures:{1:{name:"support.function.gradient.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#angle-type"},{include:"#color-values"},{include:"#percentage-type"},{include:"#length-type"},{include:"#comma-delimiter"},{match:"\\bto\\b",name:"keyword.other.less"},{match:"\\b(top|right|bottom|left)\\b",name:"support.constant.property-value.less"}]}]},{begin:"\\b((?:repeating-)?radial-gradient)(?=\\()",beginCaptures:{1:{name:"support.function.gradient.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#color-values"},{include:"#percentage-type"},{include:"#length-type"},{include:"#comma-delimiter"},{match:"\\b(at|circle|ellipse)\\b",name:"keyword.other.less"},{match:"\\b(top|right|bottom|left|center|(farthest|closest)-(corner|side))\\b",name:"support.constant.property-value.less"}]}]}]},"grid-repeat-function":{begin:"\\b(repeat)(?=\\()",beginCaptures:{1:{name:"support.function.grid.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#var-function"},{include:"#length-type"},{include:"#percentage-type"},{include:"#minmax-function"},{include:"#integer-type"},{match:"\\b(auto-(fill|fit))\\b",name:"support.keyword.repetitions.less"},{match:"\\b(((max|min)-content)|auto)\\b",name:"support.constant.property-value.less"}]}]},"image-function":{begin:"\\b(image)(?=\\()",beginCaptures:{1:{name:"support.function.image.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#image-type"},{include:"#literal-string"},{include:"#color-values"},{include:"#comma-delimiter"},{include:"#unquoted-string"}]}]},"image-type":{patterns:[{include:"#cross-fade-function"},{include:"#gradient-functions"},{include:"#image-function"},{include:"#url-function"}]},"integer-type":{match:"(?:[-+]?\\d+)",name:"constant.numeric.less"},"keyframe-name":{begin:"\\s*(-?(?:[_a-z]|[^\\x{00}-\\x{7F}]|(?:(:?\\\\[0-9a-f]{1,6}(\\r\\n|[\\s\\t\\r\\n\\f])?)|\\\\[^\\r\\n\\f0-9a-f]))(?:[_a-z0-9-]|[^\\x{00}-\\x{7F}]|(?:(:?\\\\[0-9a-f]{1,6}(\\r\\n|[\\t\\r\\n\\f])?)|\\\\[^\\r\\n\\f0-9a-f]))*)?",beginCaptures:{1:{name:"variable.other.constant.animation-name.less"}},end:"\\s*(?:(,)|(?=[{;]))",endCaptures:{1:{name:"punctuation.definition.arbitrary-repetition.less"}}},"length-type":{captures:{1:{name:"keyword.other.unit.less"}},match:"0|(?i:[-+]?(?:(?:\\d*\\.\\d+(?:[eE](?:[-+]?\\d+))*)|(?:[-+]?\\d+))(em|ex|ch|rem|vw|vh|vmin|vmax|(c|m)?m|q|in|pt|pc|px|fr))\\b",name:"constant.numeric.less"},"less-boolean-function":{begin:"\\b(boolean)(?=\\()",beginCaptures:{1:{name:"support.function.boolean.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-logical-comparisons"}]}]},"less-color-blend-functions":{patterns:[{begin:"\\b(multiply|screen|overlay|(soft|hard)light|difference|exclusion|negation|average)(?=\\()",beginCaptures:{1:{name:"support.function.color-blend.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#color-values"}]}]}]},"less-color-channel-functions":{patterns:[{begin:"\\b(hue|saturation|lightness|hsv(hue|saturation|value)|red|green|blue|alpha|luma|luminance)(?=\\()",beginCaptures:{1:{name:"support.function.color-definition.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#color-values"}]}]}]},"less-color-definition-functions":{patterns:[{begin:"\\b(argb)(?=\\()",beginCaptures:{1:{name:"support.function.color-definition.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#color-values"}]}]}]},"less-color-functions":{patterns:[{include:"#less-color-blend-functions"},{include:"#less-color-channel-functions"},{include:"#less-color-definition-functions"},{include:"#less-color-operation-functions"}]},"less-color-operation-functions":{patterns:[{begin:"\\b(fade|shade|tint)(?=\\()",beginCaptures:{1:{name:"support.function.color-operation.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#percentage-type"}]}]},{begin:"\\b(spin)(?=\\()",beginCaptures:{1:{name:"support.function.color-operation.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#number-type"}]}]},{begin:"\\b(((de)?saturate)|((light|dark)en)|(fade(in|out)))(?=\\()",beginCaptures:{1:{name:"support.function.color-operation.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#percentage-type"},{match:"\\brelative\\b",name:"constant.language.relative.less"}]}]},{begin:"\\b(contrast)(?=\\()",beginCaptures:{1:{name:"support.function.color-operation.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#percentage-type"}]}]},{begin:"\\b(greyscale)(?=\\()",beginCaptures:{1:{name:"support.function.color-operation.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#color-values"}]}]},{begin:"\\b(mix)(?=\\()",beginCaptures:{1:{name:"support.function.color-operation.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#less-math"},{include:"#percentage-type"}]}]}]},"less-extend":{begin:"(:)(extend)(?=\\()",beginCaptures:{1:{name:"punctuation.definition.entity.less"},2:{name:"entity.other.attribute-name.pseudo-class.extend.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{match:"\\ball\\b",name:"constant.language.all.less"},{include:"#selectors"}]}]},"less-functions":{patterns:[{include:"#less-boolean-function"},{include:"#less-color-functions"},{include:"#less-if-function"},{include:"#less-list-functions"},{include:"#less-math-functions"},{include:"#less-misc-functions"},{include:"#less-string-functions"},{include:"#less-type-functions"}]},"less-if-function":{begin:"\\b(if)(?=\\()",beginCaptures:{1:{name:"support.function.if.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-mixin-guards"},{include:"#comma-delimiter"},{include:"#property-values"}]}]},"less-list-functions":{patterns:[{begin:"\\b(length)(?=\\()\\b",beginCaptures:{1:{name:"support.function.length.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#property-values"},{include:"#comma-delimiter"}]}]},{begin:"\\b(extract)(?=\\()\\b",beginCaptures:{1:{name:"support.function.extract.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#property-values"},{include:"#comma-delimiter"},{include:"#integer-type"}]}]},{begin:"\\b(range)(?=\\()\\b",beginCaptures:{1:{name:"support.function.range.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#property-values"},{include:"#comma-delimiter"},{include:"#integer-type"}]}]}]},"less-logical-comparisons":{patterns:[{captures:{1:{name:"keyword.operator.logical.less"}},match:"\\s*(=|((<|>)=?))\\s*"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{include:"#less-logical-comparisons"}]},{match:"\\btrue|false\\b",name:"constant.language.less"},{match:",",name:"punctuation.separator.less"},{include:"#property-values"},{include:"#selectors"},{include:"#unquoted-string"}]},"less-math":{patterns:[{match:"[-\\+\\*\\/]",name:"keyword.operator.arithmetic.less"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{include:"#less-math"}]},{include:"#numeric-values"},{include:"#less-variables"}]},"less-math-functions":{patterns:[{begin:"\\b(ceil|floor|percentage|round|sqrt|abs|a?(sin|cos|tan))(?=\\()",beginCaptures:{1:{name:"support.function.math.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#numeric-values"}]}]},{captures:{2:{name:"support.function.math.less"},3:{name:"punctuation.definition.group.begin.less"},4:{name:"punctuation.definition.group.end.less"}},match:"((pi)(\\()(\\)))",name:"meta.function-call.less"},{begin:"\\b(pow|m(od|in|ax))(?=\\()",beginCaptures:{1:{name:"support.function.math.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#numeric-values"},{include:"#comma-delimiter"}]}]}]},"less-misc-functions":{patterns:[{begin:"\\b(color)(?=\\()",beginCaptures:{1:{name:"support.function.color.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#literal-string"}]}]},{begin:"\\b(image-(size|width|height))(?=\\()",beginCaptures:{1:{name:"support.function.image.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#literal-string"},{include:"#unquoted-string"}]}]},{begin:"\\b(convert|unit)(?=\\()",beginCaptures:{1:{name:"support.function.convert.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#dimensions"},{include:"#numeric-values"},{include:"#literal-string"},{include:"#comma-delimiter"},{match:"((c|m)?m|in|p(t|c|x)|m?s|g?rad|deg|turn|%|r?em|ex|ch)",name:"keyword.other.unit.less"}]}]},{begin:"\\b(data-uri)(?=\\()",beginCaptures:{1:{name:"support.function.data-uri.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#literal-string"},{captures:{1:{name:"punctuation.separator.less"}},match:"\\s*(?:(,))"}]}]},{captures:{2:{name:"punctuation.definition.group.begin.less"},3:{name:"punctuation.definition.group.end.less"}},match:"\\b(default(\\()(\\)))\\b",name:"support.function.default.less"},{begin:"\\b(get-unit)(?=\\()",beginCaptures:{1:{name:"support.function.get-unit.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#dimensions"}]}]},{begin:"\\b(svg-gradient)(?=\\()",beginCaptures:{1:{name:"support.function.svg-gradient.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#angle-type"},{include:"#comma-delimiter"},{include:"#color-values"},{include:"#percentage-type"},{include:"#length-type"},{match:"\\bto\\b",name:"keyword.other.less"},{match:"\\b(top|right|bottom|left|center)\\b",name:"support.constant.property-value.less"},{match:"\\b(at|circle|ellipse)\\b",name:"keyword.other.less"}]}]}]},"less-mixin-guards":{patterns:[{begin:"\\s*(and|not|or)?\\s*(?=\\()",beginCaptures:{1:{name:"keyword.operator.logical.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",name:"meta.group.less",patterns:[{include:"#less-variable-comparison"},{captures:{1:{name:"meta.group.less"},2:{name:"punctuation.definition.group.begin.less"},3:{name:"punctuation.definition.group.end.less"}},match:"default((\\()(\\)))",name:"support.function.default.less"},{include:"#property-values"},{include:"#less-logical-comparisons"},{include:"$self"}]}]}]},"less-namespace-accessors":{patterns:[{begin:"(?=\\s*when\\b)",end:"\\s*(?:(,)|(?=[{;]))",endCaptures:{1:{name:"punctuation.definition.block.end.less"}},name:"meta.conditional.guarded-namespace.less",patterns:[{captures:{1:{name:"keyword.control.conditional.less"},2:{name:"punctuation.definition.keyword.less"}},match:"\\s*(when)(?=.*?)"},{include:"#less-mixin-guards"},{include:"#comma-delimiter"},{begin:"\\s*(\\{)",beginCaptures:{1:{name:"punctuation.section.property-list.begin.less"}},end:"(?=\\})",name:"meta.block.less",patterns:[{include:"#rule-list-body"}]},{include:"#selectors"}]},{begin:"(\\()",beginCaptures:{1:{name:"punctuation.definition.group.begin.less"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.group.end.less"},2:{name:"punctuation.terminator.rule.less"}},name:"meta.group.less",patterns:[{include:"#less-variable-assignment"},{include:"#comma-delimiter"},{captures:{1:{name:"punctuation.terminator.rule.less"}},match:"\\s*(;)|(?=[})])"},{include:"#property-values"},{include:"#rule-list-body"}]}]},"less-number-units":{patterns:[{match:"\\b((c|m)?m|in|p(t|c)|m?s|g?rad|deg|turn)\\b",name:"keyword.other.unit.less"},{match:"\\b(r?em|ex|ch|vw|vh|vmin|vmax|cm|mm|q|in|pt|pc|px|fr|s|ms|Hz|kHz|dpi|dpcm|dppx|deg|grad|rad|turn)\\b"}]},"less-string-functions":{patterns:[{begin:"\\b(e(scape)?)(?=\\()\\b",beginCaptures:{1:{name:"support.function.escape.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#literal-string"},{include:"#unquoted-string"}]}]},{begin:"\\s*(%)(?=\\()\\s*",beginCaptures:{1:{name:"support.function.format.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#literal-string"},{include:"#property-values"}]}]},{begin:"\\b(replace)(?=\\()\\b",beginCaptures:{1:{name:"support.function.replace.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#literal-string"},{include:"#property-values"}]}]}]},"less-strings":{patterns:[{begin:`(~)('|")`,beginCaptures:{1:{name:"constant.character.escape.less"},2:{name:"punctuation.definition.string.begin.less"}},contentName:"markup.raw.inline.less",end:`('|")|(\\n)`,endCaptures:{1:{name:"punctuation.definition.string.end.less"},2:{name:"invalid.illegal.newline.less"}},name:"string.quoted.other.less",patterns:[{include:"#string-content"}]}]},"less-type-functions":{patterns:[{begin:"\\b(is(number|string|color|keyword|url|pixel|em|percentage|ruleset))(?=\\()",beginCaptures:{1:{name:"support.function.type.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#property-values"}]}]},{begin:"\\b(isunit)(?=\\()",beginCaptures:{1:{name:"support.function.type.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#property-values"},{include:"#comma-delimiter"},{match:"(?x)\\b((?i:em|ex|ch|rem)|(?i:vw|vh|vmin|vmax)|(?i:cm|mm|q|in|pt|pc|px|fr)|(?i:deg|grad|rad|turn)|(?i:s|ms)|(?i:Hz|kHz)|(?i:dpi|dpcm|dppx))\\b",name:"keyword.other.unit.less"}]}]},{begin:"\\b(isdefined)(?=\\()",beginCaptures:{1:{name:"support.function.type.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"}]}]}]},"less-variable-assignment":{patterns:[{begin:"(@)(-?(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)",beginCaptures:{0:{name:"variable.other.readwrite.less"},1:{name:"punctuation.definition.variable.less"},2:{name:"support.other.variable.less"}},end:"\\s*(;|(\\.{3})|(?=\\)))",endCaptures:{1:{name:"punctuation.terminator.rule.less"},2:{name:"keyword.operator.spread.less"}},name:"meta.property-value.less",patterns:[{captures:{1:{name:"punctuation.separator.key-value.less"},4:{name:"meta.property-value.less"}},match:"(((\\+_?)?):)([\\s\\t]*)"},{include:"#property-values"},{include:"#comma-delimiter"},{include:"#property-list"},{include:"#unquoted-string"}]}]},"less-variable-comparison":{patterns:[{begin:"(@{1,2})([-]?([_a-z]|[^\\x{00}-\\x{7F}]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)",beginCaptures:{0:{name:"variable.other.readwrite.less"},1:{name:"punctuation.definition.variable.less"},2:{name:"support.other.variable.less"}},end:"\\s*(?=\\))",endCaptures:{1:{name:"punctuation.terminator.rule.less"}},patterns:[{captures:{1:{name:"keyword.operator.logical.less"}},match:"\\s*(=|((<|>)=?))\\s*"},{match:"\\btrue\\b",name:"constant.language.less"},{include:"#property-values"},{include:"#selectors"},{include:"#unquoted-string"},{match:",",name:"punctuation.separator.less"}]}]},"less-variable-interpolation":{captures:{1:{name:"punctuation.definition.variable.less"},2:{name:"punctuation.definition.expression.less"},3:{name:"support.other.variable.less"},4:{name:"punctuation.definition.expression.less"}},match:"(@)(\\{)([-\\w]+)(\\})",name:"variable.other.readwrite.less"},"less-variables":{captures:{1:{name:"punctuation.definition.variable.less"},2:{name:"support.other.variable.less"}},match:"\\s*(@@?)([-\\w]+)",name:"variable.other.readwrite.less"},"literal-string":{patterns:[{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.less"}},end:"(')|(\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.less"},2:{name:"invalid.illegal.newline.less"}},name:"string.quoted.single.less",patterns:[{include:"#string-content"}]},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.less"}},end:'(")|(\\n)',endCaptures:{1:{name:"punctuation.definition.string.end.less"},2:{name:"invalid.illegal.newline.less"}},name:"string.quoted.double.less",patterns:[{include:"#string-content"}]},{include:"#less-strings"}]},"local-function":{begin:"\\b(local)(?=\\()",beginCaptures:{0:{name:"support.function.font-face.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#unquoted-string"}]}]},"media-query":{begin:"\\s*(only|not)?\\s*(all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)?",beginCaptures:{1:{name:"keyword.operator.logic.media.less"},2:{name:"support.constant.media.less"}},end:"\\s*(?:(,)|(?=[{;]))",endCaptures:{1:{name:"punctuation.definition.arbitrary-repetition.less"}},patterns:[{include:"#less-variables"},{include:"#custom-property-name"},{begin:"\\s*(and)?\\s*(\\()\\s*",beginCaptures:{1:{name:"keyword.operator.logic.media.less"},2:{name:"punctuation.definition.group.begin.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{begin:"((-webkit-|-o-)?((min|max)-)?(-moz-)?(((device-)?(height|width|aspect-ratio|pixel-ratio))|(color(-index)?)|monochrome|resolution))|grid|scan|orientation\\s*(?=[:)])",beginCaptures:{0:{name:"support.type.property-name.media.less"},2:{name:"support.type.vendor-prefix.less"},5:{name:"support.type.vendor-prefix.less"}},end:"(((\\+_?)?):)|(?=\\))",endCaptures:{1:{name:"punctuation.separator.key-value.less"}}},{match:"\\b(portrait|landscape|progressive|interlace)",name:"support.constant.property-value.less"},{captures:{1:{name:"constant.numeric.less"},2:{name:"keyword.operator.arithmetic.less"},3:{name:"constant.numeric.less"}},match:"\\s*(\\d+)(/)(\\d+)"},{include:"#less-math"}]}]},"media-query-list":{begin:"\\s*(?=[^{;])",end:"\\s*(?=[{;])",patterns:[{include:"#media-query"}]},"minmax-function":{begin:"\\b(minmax)(?=\\()",beginCaptures:{1:{name:"support.function.grid.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#length-type"},{include:"#comma-delimiter"},{match:"\\b(max-content|min-content)\\b",name:"support.constant.property-value.less"}]}]},"number-type":{match:"[-+]?(?:(?:\\d*\\.\\d+(?:[eE](?:[-+]?\\d+))*)|(?:[-+]?\\d+))",name:"constant.numeric.less"},"numeric-values":{patterns:[{include:"#dimensions"},{include:"#percentage-type"},{include:"#number-type"}]},"percentage-type":{captures:{1:{name:"keyword.other.unit.less"}},match:"[-+]?(?:(?:\\d*\\.\\d+(?:[eE](?:[-+]?\\d+))*)|(?:[-+]?\\d+))(%)",name:"constant.numeric.less"},"property-list":{patterns:[{begin:"(?=(?=[^;]*)\\{)",end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.end.less"}},patterns:[{include:"#rule-list"}]}]},"property-value-constants":{patterns:[{match:`(?x)\\b( +absolute|active|add +|all(-(petite|small)-caps|-scroll)? +|alpha(betic)? +|alternate(-reverse)? +|always|annotation|antialiased|at +|auto(hiding-scrollbar)? +|avoid(-column|-page|-region)? +|background(-color|-image|-position|-size)? +|backwards|balance|baseline|below|bevel|bicubic|bidi-override|blink +|block(-line-height)? +|blur +|bold(er)? +|border(-bottom|-left|-right|-top)?-(color|radius|width|style) +|border-(bottom|top)-(left|right)-radius +|border-image(-outset|-repeat|-slice|-source|-width)? +|border(-bottom|-left|-right|-top|-collapse|-spacing|-box)? +|both|bottom +|box(-shadow)? +|break-(all|word) +|brightness +|butt(on)? +|capitalize +|cent(er|ral) +|char(acter-variant)? +|cjk-ideographic|clip|clone|close-quote +|closest-(corner|side) +|col-resize|collapse +|color(-stop|-burn|-dodge)? +|column((-count|-gap|-reverse|-rule(-color|-width)?|-width)|s)? +|common-ligatures|condensed|consider-shifts|contain +|content(-box|s)? +|contextual|contrast|cover +|crisp(-e|E)dges +|crop +|cross(hair)? +|da(rken|shed) +|default|dense|diagonal-fractions|difference|disabled +|discretionary-ligatures|disregard-shifts +|distribute(-all-lines|-letter|-space)? +|dotted|double|drop-shadow +|(nwse|nesw|ns|ew|sw|se|nw|ne|w|s|e|n)-resize +|ease(-in-out|-in|-out)? +|element|ellipsis|embed|end|EndColorStr|evenodd +|exclu(de(-ruby)?|sion) +|expanded +|(extra|semi|ultra)-(condensed|expanded) +|farthest-(corner|side)? +|fill(-box|-opacity)? +|filter|fixed|flat +|flex((-basis|-end|-grow|-shrink|-start)|box)? +|flip|flood-color +|font(-size(-adjust)?|-stretch|-weight)? +|forwards +|from(-image)? +|full-width|geometricPrecision|glyphs|gradient|grayscale +|grid(-height)? +|groove|hand|hanging|hard-light|height|help|hidden|hide +|historical-(forms|ligatures) +|horizontal(-tb)? +|hue +|ideograph(-alpha|-numeric|-parenthesis|-space|ic) +|inactive|include-ruby|infinite|inherit|initial +|inline(-block|-box|-flex(box)?|-line-height|-table)? +|inset|inside +|inter(-ideograph|-word|sect) +|invert|isolat(e|ion)|italic +|jis(04|78|83|90) +|justify(-all)? +|keep-all +|large[r]? +|last|layout|left|letter-spacing +|light(e[nr]|ing-color) +|line(-edge|-height|-through)? +|linear(-gradient|RGB)? +|lining-nums|list-item|local|loose|lowercase|lr-tb|ltr +|lumin(osity|ance)|manual +|manipulation +|margin(-bottom|-box|-left|-right|-top)? +|marker(-offset|s)? +|mathematical +|max-(content|height|lines|size|width) +|medium|middle +|min-(content|height|width) +|miter|mixed|move|multiply|newspaper +|no-(change|clip|(close|open)-quote|(common|discretionary|historical)-ligatures|contextual|drop|repeat) +|none|nonzero|normal|not-allowed|nowrap|oblique +|offset(-after|-before|-end|-start)? +|oldstyle-nums|opacity|open-quote +|optimize(Legibility|Precision|Quality|Speed) +|order|ordinal|ornaments +|outline(-color|-offset|-width)? +|outset|outside|over(line|-edge|lay) +|padding(-bottom|-box|-left|-right|-top|-box)? +|page|painted|paused +|pan-(x|left|right|y|up|down) +|perspective-origin +|petite-caps|pixelated|pointer +|pinch-zoom +|pre(-line|-wrap)? +|preserve-3d +|progid:DXImageTransform.Microsoft.(Alpha|Blur|dropshadow|gradient|Shadow) +|progress +|proportional-(nums|width) +|radial-gradient|recto|region|relative +|repeat(-[xy])? +|repeating-(linear|radial)-gradient +|replaced|reset-size|reverse|ridge|right +|round +|row(-resize|-reverse)? +|rtl|ruby|running|saturat(e|ion)|screen +|scroll(-position|bar)? +|separate|sepia +|scale-down +|shape-(image-threshold|margin|outside) +|show +|sideways(-lr|-rl)? +|simplified +|size +|slashed-zero|slice +|small(-caps|er)? +|smooth|snap|solid|soft-light +|space(-around|-between)? +|span|sRGB +|stack(ed-fractions)? +|start(ColorStr)? +|static +|step-(end|start) +|sticky +|stop-(color|opacity) +|stretch|strict +|stroke(-box|-dash(array|offset)|-miterlimit|-opacity|-width)? +|style(set)? +|stylistic +|sub(grid|pixel-antialiased|tract)? +|super|swash +|table(-caption|-cell|(-column|-footer|-header|-row)-group|-column|-row)? +|tabular-nums|tb-rl +|text((-bottom|-(decoration|emphasis)-color|-indent|-(over|under)-edge|-shadow|-size(-adjust)?|-top)|field)? +|thi(ck|n) +|titling-ca(ps|se) +|to[p]? +|touch|traditional +|transform(-origin)? +|under(-edge|line)? +|unicase|unset|uppercase|upright +|use-(glyph-orientation|script) +|verso +|vertical(-align|-ideographic|-lr|-rl|-text)? +|view-box +|viewport-fill(-opacity)? +|visibility +|visible(Fill|Painted|Stroke)? +|wait|wavy|weight|whitespace|(device-)?width|word-spacing +|wrap(-reverse)? +|x{1,2}-(large|small) +|z-index|zero +|zoom(-in|-out)? +|((?xi:arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|decimal-leading-zero|decimal|devanagari|disclosure-closed|disclosure-open|disc|ethiopic-numeric|georgian|gujarati|gurmukhi|hebrew|hiragana-iroha|hiragana|japanese-formal|japanese-informal|kannada|katakana-iroha|katakana|khmer|korean-hangul-formal|korean-hanja-formal|korean-hanja-informal|lao|lower-alpha|lower-armenian|lower-greek|lower-latin|lower-roman|malayalam|mongolian|myanmar|oriya|persian|simp-chinese-formal|simp-chinese-informal|square|tamil|telugu|thai|tibetan|trad-chinese-formal|trad-chinese-informal|upper-alpha|upper-armenian|upper-latin|upper-roman)))\\b`,name:"support.constant.property-value.less"},{match:"\\b(?i:sans-serif|serif|monospace|fantasy|cursive)\\b(?=\\s*[;,\\n}])",name:"support.constant.font-name.less"}]},"property-values":{patterns:[{include:"#comment-block"},{include:"#vendor-prefix"},{include:"#builtin-functions"},{include:"#color-functions"},{include:"#less-math"},{include:"#less-functions"},{include:"#less-variables"},{include:"#unicode-range"},{include:"#numeric-values"},{include:"#color-values"},{include:"#property-value-constants"},{include:"#literal-string"},{captures:{1:{name:"punctuation.separator.less"}},match:"(\\!)\\s*important",name:"keyword.other.important.less"}]},"pseudo-classes":{patterns:[{begin:"(:)(dir|lang)(?=\\()",captures:{1:{name:"punctuation.definition.entity.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#unquoted-string"}]}]},{begin:"(:)(not)(?=\\()",captures:{1:{name:"punctuation.definition.entity.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#selectors"}]}]},{begin:"(:)(nth(-last)?-(child|of-type))(?=\\()",captures:{1:{name:"punctuation.definition.entity.less"},2:{name:"entity.other.attribute-name.pseudo-class.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",name:"meta.group.less",patterns:[{match:"\\b(even|odd)\\b",name:"keyword.other.pseudo-class.less"},{captures:{1:{name:"keyword.other.unit.less"}},match:"(?:[-+]?(?:\\d+)?(n)(\\s*[-+]\\s*\\d+)?|[-+]?\\s*\\d+)",name:"constant.numeric.less"},{include:"#less-math"},{include:"#less-strings"},{include:"#less-variable-interpolation"}]}]},{begin:"(:)(host-context)(?=\\()",captures:{1:{name:"punctuation.definition.entity.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#selectors"}]}]},{captures:{1:{name:"punctuation.definition.entity.less"},2:{name:"entity.other.attribute-name.pseudo-class.less"}},match:"(:)(active|any|checked|default|disabled|empty|enabled|first(-(child|of-type))?|fullscreen|focus|host|hover|indeterminate|in-range|invalid|last-(child|of-type)|left|link|only-(child|of-type)|optional|out-of-range|read-(only|write)|required|right|root|scope|target|valid|visited)",name:"meta.function-call.less"}]},"pseudo-elements":{patterns:[{begin:"(::)(slotted)(?=\\()",captures:{1:{name:"punctuation.definition.entity.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#selectors"}]}]},{captures:{1:{name:"punctuation.definition.entity.less"},2:{name:"punctuation.definition.entity.less"},3:{name:"support.type.vendor-prefix.less"}},match:"(?:(:{1,2})(?:before|after|first-line|first-letter)|(::)(-(?:moz|ms|webkit)-)?(?:(-?(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)))\\b",name:"entity.other.attribute-name.pseudo-element.less"}]},"qualified-name":{captures:{1:{name:"entity.name.constant.less"},2:{name:"entity.name.namespace.wildcard.less"},3:{name:"punctuation.separator.namespace.less"}},match:"(?:(-?(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[_a-zA-Z][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)|(\\*))?([|])(?!=)"},"regexp-function":{begin:"\\b(regexp)(?=\\()",end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"support.function.regexp.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",name:"meta.function-call.less",patterns:[{include:"#literal-string"}]}]},"resolution-type":{captures:{1:{name:"keyword.other.unit.less"}},match:"(?i:[-+]?(?:(?:\\d*\\.\\d+(?:[eE](?:[-+]?\\d+))*)|(?:[-+]?\\d+))(dpi|dpcm|dppx))\\b",name:"constant.numeric.less"},"rule-list":{patterns:[{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.begin.less"}},end:"(?=\\s*\\})",name:"meta.property-list.less",patterns:[{captures:{1:{name:"punctuation.terminator.rule.less"}},match:"\\s*(;)|(?=[})])"},{include:"#rule-list-body"},{include:"#less-extend"}]}]},"rule-list-body":{patterns:[{include:"#comment-block"},{include:"#comment-line"},{include:"#at-rules"},{include:"#less-variable-assignment"},{include:"#less-variable-interpolation"},{begin:"(?=[-a-z])",end:"$|(?![-a-z])",patterns:[{include:"#vendor-prefix"},{include:"#custom-property-name"},{include:"#filter-function"},{captures:{1:{name:"keyword.other.custom-property.prefix.less"},2:{name:"support.type.custom-property.name.less"}},match:"\\b(var-)(-?(?:[[-\\w][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[_a-zA-Z][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)(?=\\s)",name:"invalid.deprecated.custom-property.less"},{begin:"\\bfont(-family)?(?!-)\\b",beginCaptures:{0:{name:"support.type.property-name.less"}},end:"\\s*(;)|(?=[})])",endCaptures:{1:{name:"punctuation.terminator.rule.less"}},name:"meta.property-name.less",patterns:[{captures:{1:{name:"punctuation.separator.key-value.less"},4:{name:"meta.property-value.less"}},match:"(((\\+_?)?):)([\\s\\t]*)"},{include:"#property-values"},{match:"-?(?:[[_a-zA-Z][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*(\\s+-?(?:[[_a-zA-Z][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)*",name:"string.unquoted.less"},{match:",",name:"punctuation.separator.less"}]},{begin:"\\banimation(-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function))?\\b",beginCaptures:{0:{name:"support.type.property-name.less"}},end:"\\s*(;)|(?=[})])",endCaptures:{1:{name:"punctuation.terminator.rule.less"}},patterns:[{begin:"(((\\+_?)?):)(?=[\\s\\t]*)",beginCaptures:{1:{name:"punctuation.separator.key-value.less"}},captures:{1:{name:"punctuation.definition.arbitrary-repetition.less"}},contentName:"meta.property-value.less",end:"(?=\\s*(;)|(?=[})]))",patterns:[{match:"\\b(linear|ease(-in)?(-out)?|step-(start|end)|none|forwards|backwards|both|normal|alternate(-reverse)?|reverse|running|paused)\\b",name:"support.constant.property-value.less"},{include:"#cubic-bezier-function"},{include:"#steps-function"},{include:"#time-type"},{include:"#number-type"},{match:"-?(?:[_a-zA-Z]|[^\\x{00}-\\x{7F}]|(?:(:?\\\\[0-9a-f]{1,6}(\\r\\n|[\\s\\t\\r\\n\\f])?)|\\\\[^\\r\\n\\f0-9a-f]))(?:[-_a-zA-Z0-9]|[^\\x{00}-\\x{7F}]|(?:(:?\\\\[0-9a-f]{1,6}(\\r\\n|[\\t\\r\\n\\f])?)|\\\\[^\\r\\n\\f0-9a-f]))*",name:"variable.other.constant.animation-name.less"},{include:"#literal-string"},{include:"#property-values"},{match:"\\s*(?:(,))"}]}]},{begin:"\\b(transition(-(property|duration|delay|timing-function))?)\\b",beginCaptures:{0:{name:"meta.property-name.less"},1:{name:"support.type.property-name.less"}},end:"\\s*(;)|(?=[})])",endCaptures:{1:{name:"punctuation.terminator.rule.less"}},patterns:[{captures:{1:{name:"punctuation.separator.key-value.less"},4:{name:"meta.property-value.less"}},match:"(((\\+_?)?):)([\\s\\t]*)"},{include:"#time-type"},{include:"#property-values"},{include:"#cubic-bezier-function"},{include:"#steps-function"},{captures:{1:{name:"punctuation.definition.arbitrary-repetition.less"}},match:"\\s*(?:(,))"}]},{begin:"\\bfilter\\b",beginCaptures:{0:{name:"support.type.property-name.less"}},end:"\\s*(;)|(?=[})])",endCaptures:{1:{name:"punctuation.terminator.rule.less"}},name:"meta.property-name.less",patterns:[{captures:{1:{name:"punctuation.separator.key-value.less"},4:{name:"meta.property-value.less"}},match:"(((\\+_?)?):)([\\s\\t]*)"},{match:"\\b(inherit|initial|unset|none)\\b",name:"meta.property-value.less"},{include:"#filter-functions"}]},{begin:"\\bwill-change\\b",beginCaptures:{0:{name:"support.type.property-name.less"}},end:"\\s*(;)|(?=[})])",endCaptures:{1:{name:"punctuation.terminator.rule.less"}},name:"meta.property-name.less",patterns:[{captures:{1:{name:"punctuation.separator.key-value.less"},4:{name:"meta.property-value.less"}},match:"(((\\+_?)?):)([\\s\\t]*)"},{match:"unset|initial|inherit|will-change|auto|scroll-position|contents",name:"invalid.illegal.property-value.less"},{match:"-?(?:[[-\\w][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[_a-zA-Z][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*",name:"support.constant.property-value.less"},{captures:{1:{name:"punctuation.definition.arbitrary-repetition.less"}},match:"\\s*(?:(,))"}]},{begin:"\\bcounter-(increment|(re)?set)\\b",beginCaptures:{0:{name:"support.type.property-name.less"}},end:"\\s*(;)|(?=[})])",endCaptures:{1:{name:"punctuation.terminator.rule.less"}},name:"meta.property-name.less",patterns:[{captures:{1:{name:"punctuation.separator.key-value.less"},4:{name:"meta.property-value.less"}},match:"(((\\+_?)?):)([\\s\\t]*)"},{match:"-?(?:[[-\\w][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[_a-zA-Z][^\\x{00}-\\x{9f}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*",name:"entity.name.constant.counter-name.less"},{include:"#integer-type"},{match:"unset|initial|inherit|auto",name:"invalid.illegal.property-value.less"}]},{match:"(?x)\\b( accent-height | align-content | align-items | align-self | alignment-baseline | all | animation-timing-function | animation-play-state | animation-name | animation-iteration-count | animation-fill-mode | animation-duration | animation-direction | animation-delay | animation | appearance | ascent | azimuth | backface-visibility | background-size | background-repeat-y | background-repeat-x | background-repeat | background-position-y | background-position-x | background-position | background-origin | background-image | background-color | background-clip | background-blend-mode | background-attachment | background | baseline-shift | begin | bias | blend-mode | border-((top|right|bottom|left)-)?(width|style|color) | border-(top|bottom)-(right|left)-radius | border-image-(width|source|slice|repeat|outset) | border-(top|right|bottom|left|collapse|image|radius|spacing) | border | bottom | box-(align|decoration-break|direction|flex|ordinal-group|orient|pack|shadow|sizing) | break-(after|before|inside) | caption-side | clear | clip-path | clip-rule | clip | color(-(interpolation(-filters)?|profile|rendering))? | columns | column-(break-before|count|fill|gap|(rule(-(color|style|width))?)|span|width) | contain | content | counter-(increment|reset) | cursor | (c|d|f)(x|y) | direction | display | divisor | dominant-baseline | dur | elevation | empty-cells | enable-background | end | fallback | fill(-(opacity|rule))? | filter | flex(-(align|basis|direction|flow|grow|item-align|line-pack|negative|order|pack|positive|preferred-size|shrink|wrap))? | float | flood-(color|opacity) | font-display | font-family | font-feature-settings | font-kerning | font-language-override | font-size(-adjust)? | font-smoothing | font-stretch | font-style | font-synthesis | font-variant(-(alternates|caps|east-asian|ligatures|numeric|position))? | font-weight | font | fr | glyph-orientation-(horizontal|vertical) | grid-(area|gap) | grid-auto-(columns|flow|rows) | grid-(column|row)(-(end|gap|start))? | grid-template(-(areas|columns|rows))? | height | hyphens | image-(orientation|rendering|resolution) | isolation | justify-content | kerning | left | letter-spacing | lighting-color | line-(box-contain|break|clamp|height) | list-style(-(image|position|type))? | margin(-(bottom|left|right|top))? | marker(-(end|mid|start))? | mask(-(clip||composite|image|origin|position|repeat|size|type))? | (max|min)-(height|width) | mix-blend-mode | nbsp-mode | negative | object-(fit|position) | opacity | operator | order | orphans | outline(-(color|offset|style|width))? | overflow(-(scrolling|wrap|x|y))? | pad(ding(-(bottom|left|right|top))?)? | page(-break-(after|before|inside))? | paint-order | pause(-(after|before))? | perspective(-origin(-(x|y))?)? | pitch(-range)? | pointer-events | position | prefix | quotes | range | resize | right | rotate | scale | scroll-behavior | shape-(image-threshold|margin|outside|rendering) | size | speak(-as)? | src | stop-(color|opacity) | stroke(-(dash(array|offset)|line(cap|join)|miterlimit|opacity|width))? | suffix | symbols | system | tab-size | table-layout | tap-highlight-color | text-align(-last)? | text-decoration(-(color|line|style))? | text-emphasis(-(color|position|style))? | text-(anchor|fill-color|height|indent|justify|orientation|overflow|rendering|shadow|transform|underline-position) | top | touch-action | transform(-origin(-(x|y))?) | transform(-style)? | transition(-(delay|duration|property|timing-function))? | translate | unicode-(bidi|range) | user-(drag|select) | vertical-align | visibility | white-space | widows | width | will-change | word-(break|spacing|wrap) | writing-mode | z-index | zoom )\\b",name:"support.type.property-name.less"},{include:"$self"}]},{begin:"\\b(((\\+_?)?):)([\\s\\t]*)",captures:{1:{name:"punctuation.separator.key-value.less"},4:{name:"meta.property-value.less"}},contentName:"meta.property-value.less",end:"\\s*(;)|(?=[})])",endCaptures:{1:{name:"punctuation.terminator.rule.less"}},patterns:[{include:"#property-values"}]},{include:"$self"}]},selector:{patterns:[{begin:"(?=[>~+/\\.*#a-zA-Z\\[&]|(\\:{1,2}[^\\s])|@\\{)",contentName:"meta.selector.less",end:"(?=@(?!\\{)|[{;])",patterns:[{include:"#comment-line"},{include:"#selectors"},{include:"#less-namespace-accessors"},{include:"#less-variable-interpolation"},{captures:{1:{name:"punctuation.separator.less"}},match:"(\\!)\\s*important",name:"keyword.other.important.less"}]}]},selectors:{patterns:[{match:"\\b([a-z](?:(?:[-_a-z0-9\\x{00B7}]|\\\\\\.|[[\\x{00C0}-\\x{00D6}][\\x{00D8}-\\x{00F6}][\\x{00F8}-\\x{02FF}][\\x{0300}-\\x{037D}][\\x{037F}-\\x{1FFF}][\\x{200C}-\\x{200D}][\\x{203F}-\\x{2040}][\\x{2070}-\\x{218F}][\\x{2C00}-\\x{2FEF}][\\x{3001}-\\x{D7FF}][\\x{F900}-\\x{FDCF}][\\x{FDF0}-\\x{FFFD}][\\x{10000}-\\x{EFFFF}]]))*-(?:(?:[-_a-z0-9\\x{00B7}]|\\\\\\.|[[\\x{00C0}-\\x{00D6}][\\x{00D8}-\\x{00F6}][\\x{00F8}-\\x{02FF}][\\x{0300}-\\x{037D}][\\x{037F}-\\x{1FFF}][\\x{200C}-\\x{200D}][\\x{203F}-\\x{2040}][\\x{2070}-\\x{218F}][\\x{2C00}-\\x{2FEF}][\\x{3001}-\\x{D7FF}][\\x{F900}-\\x{FDCF}][\\x{FDF0}-\\x{FFFD}][\\x{10000}-\\x{EFFFF}]]))*)\\b",name:"entity.name.tag.custom.less"},{match:"(?x)\\b( a | abbr | acronym | address | applet | area | article | aside | audio | b | base | basefont | bdi | bdo | big | blockquote | body | br | button | canvas | caption | circle | cite | clipPath | code | col | colgroup | content | data | dataList | dd | defs | del | details | dfn | dialog | dir | div | dl | dt | element | ellipse | em | embed | eventsource | fieldset | figcaption | figure | filter | footer | foreignObject | form | frame | frameset | g | glyph | glyphRef | h1 | h2 | h3 | h4 | h5 | h6 | head | header | hgroup | hr | html | i | iframe | image | img | input | ins | isindex | kbd | keygen | label | legend | li | line | linearGradient | link | main | map | mark | marker | mask | menu | meta | meter | nav | noframes | noscript | object | ol | optgroup | option | output | p | param | path | pattern | picture | polygon | polyline | pre | progress | q | radialGradient | rect | rp | ruby | rt | rtc | s | samp | script | section | select | shadow | small | source | span | stop | strike | strong | style | sub | summary | sup | svg | switch | symbol | table | tbody | td | template | textarea | textPath | tfoot | th | thead | time | title | tr | track | tref | tspan | tt | u | ul | use | var | video | wbr | xmp )\\b",name:"entity.name.tag.less"},{begin:"(\\.)",beginCaptures:{1:{name:"punctuation.definition.entity.less"}},end:"(?![-\\w]|[^\\x{00}-\\x{9f}]|\\\\([A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9])|(\\@(?=\\{)))",name:"entity.other.attribute-name.class.less",patterns:[{include:"#less-variable-interpolation"}]},{begin:"(#)",beginCaptures:{1:{name:"punctuation.definition.entity.less"}},end:"(?![-\\w]|[^\\x{00}-\\x{9f}]|\\\\([A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9])|(\\@(?=\\{)))",name:"entity.other.attribute-name.id.less",patterns:[{include:"#less-variable-interpolation"}]},{begin:"(&)",beginCaptures:{1:{name:"punctuation.definition.entity.less"}},contentName:"entity.other.attribute-name.parent.less",end:"(?![-\\w]|[^\\x{00}-\\x{9f}]|\\\\([A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9])|(\\@(?=\\{)))",name:"entity.other.attribute-name.parent.less",patterns:[{include:"#less-variable-interpolation"},{include:"#selectors"}]},{include:"#pseudo-elements"},{include:"#pseudo-classes"},{include:"#less-extend"},{match:"(?!\\+_?:)(?:>{1,3}|[~+])(?![>~+;}])",name:"punctuation.separator.combinator.less"},{match:"((?:>{1,3}|[~+])){2,}",name:"invalid.illegal.combinator.less"},{match:"\\/deep\\/",name:"invalid.illegal.combinator.less"},{begin:"\\[",captures:{0:{name:"punctuation.definition.entity.less"}},end:"\\]",name:"meta.attribute-selector.less",patterns:[{include:"#less-variable-interpolation"},{include:"#qualified-name"},{match:"(-?(?:[[_a-zA-Z][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))(?:[[-\\w][^\\x{00}-\\x{7F}]]|(?:\\\\\\h{1,6}[\\s\\t\\n\\f]?|\\\\[^\\n\\f\\h]))*)",name:"entity.other.attribute-name.less"},{begin:"\\s*([~*|^$]?=)\\s*",captures:{1:{name:"keyword.operator.attribute-selector.less"}},end:"(?=(\\s|\\]))",patterns:[{include:"#less-variable-interpolation"},{match:`[^\\s\\]\\['"]`,name:"string.unquoted.less"},{include:"#literal-string"},{captures:{1:{name:"keyword.other.less"}},match:"(?:\\s+([iI]))?"},{match:"\\]",name:"punctuation.definition.entity.less"}]}]},{captures:{1:{name:"punctuation.definition.arbitrary-repetition.less"}},match:"\\s*(?:(,))"},{match:"\\*",name:"entity.name.tag.wildcard.less"}]},"shape-functions":{patterns:[{begin:"\\b(rect)(?=\\()",beginCaptures:{0:{name:"support.function.shape.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{match:"\\bauto\\b",name:"support.constant.property-value.less"},{include:"#length-type"},{include:"#comma-delimiter"}]}]},{begin:"\\b(inset)(?=\\()",beginCaptures:{0:{name:"support.function.shape.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{match:"\\bround\\b",name:"keyword.other.less"},{include:"#length-type"},{include:"#percentage-type"}]}]},{begin:"\\b(circle|ellipse)(?=\\()",beginCaptures:{0:{name:"support.function.shape.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{match:"\\bat\\b",name:"keyword.other.less"},{match:"\\b(top|right|bottom|left|center|closest-side|farthest-side)\\b",name:"support.constant.property-value.less"},{include:"#length-type"},{include:"#percentage-type"}]}]},{begin:"\\b(polygon)(?=\\()",beginCaptures:{0:{name:"support.function.shape.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{match:"\\b(nonzero|evenodd)\\b",name:"support.constant.property-value.less"},{include:"#length-type"},{include:"#percentage-type"}]}]}]},"steps-function":{begin:"\\b(steps)(?=\\()",beginCaptures:{0:{name:"support.function.timing.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#integer-type"},{match:"(end|middle|start)",name:"support.keyword.timing-direction.less"}]}]},"string-content":{patterns:[{include:"#less-variable-interpolation"},{match:"\\\\\\s*\\n",name:"constant.character.escape.newline.less"},{match:"\\\\(\\h{1,6}|.)",name:"constant.character.escape.less"}]},"symbols-function":{begin:"\\b(symbols)(?=\\()",beginCaptures:{1:{name:"support.function.counter.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{match:"\\b(cyclic|numeric|alphabetic|symbolic|fixed)\\b",name:"support.constant.symbol-type.less"},{include:"#comma-delimiter"},{include:"#literal-string"},{include:"#image-type"}]}]},"time-type":{captures:{1:{name:"keyword.other.unit.less"}},match:"(?i:[-+]?(?:(?:\\d*\\.\\d+(?:[eE](?:[-+]?\\d+))*)|(?:[-+]?\\d+))(s|ms))\\b",name:"constant.numeric.less"},"transform-functions":{patterns:[{begin:"\\b(matrix3d|scale3d|matrix|scale)(?=\\()",beginCaptures:{0:{name:"support.function.transform.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#number-type"},{include:"#less-variables"},{include:"#var-function"}]}]},{begin:"\\b(translate(3d)?)(?=\\()",beginCaptures:{0:{name:"support.function.transform.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#percentage-type"},{include:"#length-type"},{include:"#number-type"},{include:"#less-variables"},{include:"#var-function"}]}]},{begin:"\\b(translate[XY])(?=\\()",beginCaptures:{0:{name:"support.function.transform.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#percentage-type"},{include:"#length-type"},{include:"#number-type"},{include:"#less-variables"},{include:"#var-function"}]}]},{begin:"\\b(rotate[XYZ]?|skew[XY])(?=\\()",beginCaptures:{0:{name:"support.function.transform.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#angle-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]},{begin:"\\b(skew)(?=\\()",beginCaptures:{0:{name:"support.function.transform.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#angle-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]},{begin:"\\b(translateZ|perspective)(?=\\()",beginCaptures:{0:{name:"support.function.transform.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#length-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]},{begin:"\\b(rotate3d)(?=\\()",beginCaptures:{0:{name:"support.function.transform.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#angle-type"},{include:"#number-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]},{begin:"\\b(scale[XYZ])(?=\\()",beginCaptures:{0:{name:"support.function.transform.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#number-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]}]},"unicode-range":{captures:{1:{name:"support.constant.unicode-range.prefix.less"},2:{name:"constant.codepoint-range.less"},3:{name:"punctuation.section.range.less"}},match:"(?i)(u\\+)([0-9a-f?]{1,6}(?:(-)[0-9a-f]{1,6})?)",name:"support.unicode-range.less"},"unquoted-string":{match:`[^\\s'"]`,name:"string.unquoted.less"},"url-function":{begin:"\\b(url)(?=\\()",beginCaptures:{1:{name:"support.function.url.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#less-variables"},{include:"#literal-string"},{include:"#unquoted-string"},{include:"#var-function"}]}]},"var-function":{patterns:[{begin:"\\b(var)(?=\\()",beginCaptures:{1:{name:"support.function.var.less"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.begin.less"}},end:"(?=\\))",patterns:[{include:"#comma-delimiter"},{include:"#custom-property-name"},{include:"#less-variables"}]}]}]},"vendor-prefix":{match:"-(?:webkit|moz(-osx)?|ms|o)-",name:"support.type.vendor-prefix.less"}},scopeName:"source.css.less"});var b=[g];const f=Object.freeze({displayName:"CoffeeScript",name:"coffee",patterns:[{include:"#jsx"},{captures:{1:{name:"keyword.operator.new.coffee"},2:{name:"storage.type.class.coffee"},3:{name:"entity.name.type.instance.coffee"},4:{name:"entity.name.type.instance.coffee"}},match:"(new)\\s+(?:(?:(class)\\s+(\\w+(?:\\.\\w*)*)?)|(\\w+(?:\\.\\w*)*))",name:"meta.class.instance.constructor.coffee"},{begin:"'''",beginCaptures:{0:{name:"punctuation.definition.string.begin.coffee"}},end:"'''",endCaptures:{0:{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.single.heredoc.coffee",patterns:[{captures:{1:{name:"punctuation.definition.escape.backslash.coffee"}},match:"(\\\\).",name:"constant.character.escape.backslash.coffee"}]},{begin:'"""',beginCaptures:{0:{name:"punctuation.definition.string.begin.coffee"}},end:'"""',endCaptures:{0:{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.double.heredoc.coffee",patterns:[{captures:{1:{name:"punctuation.definition.escape.backslash.coffee"}},match:"(\\\\).",name:"constant.character.escape.backslash.coffee"},{include:"#interpolated_coffee"}]},{captures:{1:{name:"punctuation.definition.string.begin.coffee"},2:{name:"source.js.embedded.coffee",patterns:[{include:"source.js"}]},3:{name:"punctuation.definition.string.end.coffee"}},match:"(`)(.*)(`)",name:"string.quoted.script.coffee"},{begin:"(?<!#)###(?!#)",beginCaptures:{0:{name:"punctuation.definition.comment.coffee"}},end:"###",endCaptures:{0:{name:"punctuation.definition.comment.coffee"}},name:"comment.block.coffee",patterns:[{match:"(?<=^|\\s)@\\w*(?=\\s)",name:"storage.type.annotation.coffee"}]},{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.coffee"}},end:"$",name:"comment.line.number-sign.coffee"},{begin:"///",beginCaptures:{0:{name:"punctuation.definition.string.begin.coffee"}},end:"(///)[gimuy]*",endCaptures:{1:{name:"punctuation.definition.string.end.coffee"}},name:"string.regexp.multiline.coffee",patterns:[{include:"#heregexp"}]},{begin:"(?<![\\w$])(/)(?=(?![/*+?])(.+)(/)[gimuy]*(?!\\s*[\\w$/(]))",beginCaptures:{1:{name:"punctuation.definition.string.begin.coffee"}},end:"(/)[gimuy]*(?!\\s*[\\w$/(])",endCaptures:{1:{name:"punctuation.definition.string.end.coffee"}},name:"string.regexp.coffee",patterns:[{include:"source.js.regexp"}]},{match:"\\b(?<![\\.\\$])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\\s+own)(?!\\s*:)\\b",name:"keyword.control.coffee"},{match:"\\b(?<![\\.\\$])(delete|instanceof|new|typeof)(?!\\s*:)\\b",name:"keyword.operator.$1.coffee"},{match:"\\b(?<![\\.\\$])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\\s*:)\\b",name:"keyword.reserved.coffee"},{begin:`(?x) +(?<=\\s|^)((@)?[a-zA-Z_$][\\w$]*) +\\s*([:=])\\s* +(?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)`,beginCaptures:{1:{name:"entity.name.function.coffee"},2:{name:"variable.other.readwrite.instance.coffee"},3:{name:"keyword.operator.assignment.coffee"}},end:"[=-]>",endCaptures:{0:{name:"storage.type.function.coffee"}},name:"meta.function.coffee",patterns:[{include:"#function_params"}]},{begin:`(?x) +(?<=\\s|^)(?:((')([^']*?)('))|((")([^"]*?)("))) +\\s*([:=])\\s* +(?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)`,beginCaptures:{1:{name:"string.quoted.single.coffee"},2:{name:"punctuation.definition.string.begin.coffee"},3:{name:"entity.name.function.coffee"},4:{name:"punctuation.definition.string.end.coffee"},5:{name:"string.quoted.double.coffee"},6:{name:"punctuation.definition.string.begin.coffee"},7:{name:"entity.name.function.coffee"},8:{name:"punctuation.definition.string.end.coffee"},9:{name:"keyword.operator.assignment.coffee"}},end:"[=-]>",endCaptures:{0:{name:"storage.type.function.coffee"}},name:"meta.function.coffee",patterns:[{include:"#function_params"}]},{begin:"(?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)",end:"[=-]>",endCaptures:{0:{name:"storage.type.function.coffee"}},name:"meta.function.inline.coffee",patterns:[{include:"#function_params"}]},{begin:`(?<=\\s|^)({)(?=[^'"#]+?}[\\s\\]}]*=)`,beginCaptures:{1:{name:"punctuation.definition.destructuring.begin.bracket.curly.coffee"}},end:"}",endCaptures:{0:{name:"punctuation.definition.destructuring.end.bracket.curly.coffee"}},name:"meta.variable.assignment.destructured.object.coffee",patterns:[{include:"$self"},{match:"[a-zA-Z$_]\\w*",name:"variable.assignment.coffee"}]},{begin:`(?<=\\s|^)(\\[)(?=[^'"#]+?\\][\\s\\]}]*=)`,beginCaptures:{1:{name:"punctuation.definition.destructuring.begin.bracket.square.coffee"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.destructuring.end.bracket.square.coffee"}},name:"meta.variable.assignment.destructured.array.coffee",patterns:[{include:"$self"},{match:"[a-zA-Z$_]\\w*",name:"variable.assignment.coffee"}]},{match:"\\b(?<!\\.|::)(true|on|yes)(?!\\s*[:=][^=])\\b",name:"constant.language.boolean.true.coffee"},{match:"\\b(?<!\\.|::)(false|off|no)(?!\\s*[:=][^=])\\b",name:"constant.language.boolean.false.coffee"},{match:"\\b(?<!\\.|::)null(?!\\s*[:=][^=])\\b",name:"constant.language.null.coffee"},{match:"\\b(?<!\\.|::)extends(?!\\s*[:=])\\b",name:"variable.language.coffee"},{match:"(?<!\\.)\\b(?<!\\$)(super|this|arguments)(?!\\s*[:=][^=]|\\$)\\b",name:"variable.language.$1.coffee"},{captures:{1:{name:"storage.type.class.coffee"},2:{name:"keyword.control.inheritance.coffee"},3:{name:"entity.other.inherited-class.coffee"}},match:"(?<=\\s|^|\\[|\\()(class)\\s+(extends)\\s+(@?[a-zA-Z\\$\\._][\\w\\.]*)",name:"meta.class.coffee"},{captures:{1:{name:"storage.type.class.coffee"},2:{name:"entity.name.type.class.coffee"},3:{name:"keyword.control.inheritance.coffee"},4:{name:"entity.other.inherited-class.coffee"}},match:"(?<=\\s|^|\\[|\\()(class\\b)\\s+(@?[a-zA-Z\\$_][\\w\\.]*)?(?:\\s+(extends)\\s+(@?[a-zA-Z\\$\\._][\\w\\.]*))?",name:"meta.class.coffee"},{match:"\\b(debugger|\\\\)\\b",name:"keyword.other.coffee"},{match:"\\b(Array|ArrayBuffer|Blob|Boolean|Date|document|Function|Int(8|16|32|64)Array|Math|Map|Number|Object|Proxy|RegExp|Set|String|WeakMap|window|Uint(8|16|32|64)Array|XMLHttpRequest)\\b",name:"support.class.coffee"},{match:"\\b(console)\\b",name:"entity.name.type.object.coffee"},{match:"((?<=console\\.)(debug|warn|info|log|error|time|timeEnd|assert))\\b",name:"support.function.console.coffee"},{match:"((?<=\\.)(apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|unshift|valueOf))\\b",name:"support.function.method.array.coffee"},{match:"((?<=Array\\.)(isArray))\\b",name:"support.function.static.array.coffee"},{match:"((?<=Object\\.)(create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|isnt|keys|preventExtensions|seal))\\b",name:"support.function.static.object.coffee"},{match:"((?<=Math\\.)(abs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|tan|tanh|trunc))\\b",name:"support.function.static.math.coffee"},{match:"((?<=Number\\.)(is(Finite|Integer|NaN)|toInteger))\\b",name:"support.function.static.number.coffee"},{match:"(?<!\\.)\\b(module|exports|__filename|__dirname|global|process)(?!\\s*:)\\b",name:"support.variable.coffee"},{match:"\\b(Infinity|NaN|undefined)\\b",name:"constant.language.coffee"},{include:"#operators"},{include:"#method_calls"},{include:"#function_calls"},{include:"#numbers"},{include:"#objects"},{include:"#properties"},{match:"::",name:"keyword.operator.prototype.coffee"},{match:"(?<!\\$)\\b[0-9]+[\\w$]*",name:"invalid.illegal.identifier.coffee"},{match:";",name:"punctuation.terminator.statement.coffee"},{match:",",name:"punctuation.separator.delimiter.coffee"},{begin:"{",beginCaptures:{0:{name:"meta.brace.curly.coffee"}},end:"}",endCaptures:{0:{name:"meta.brace.curly.coffee"}},patterns:[{include:"$self"}]},{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.bracket.square.coffee"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.bracket.square.coffee"}},patterns:[{match:"(?<!\\.)\\.{3}",name:"keyword.operator.slice.exclusive.coffee"},{match:"(?<!\\.)\\.{2}",name:"keyword.operator.slice.inclusive.coffee"},{include:"$self"}]},{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.coffee"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.coffee"}},patterns:[{include:"$self"}]},{include:"#instance_variable"},{include:"#single_quoted_string"},{include:"#double_quoted_string"}],repository:{arguments:{patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.arguments.begin.bracket.round.coffee"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.arguments.end.bracket.round.coffee"}},name:"meta.arguments.coffee",patterns:[{include:"$self"}]},{begin:`(?=(@|@?[\\w$]+|[=-]>|\\-\\d|\\[|{|"|'))`,end:"(?=\\s*(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))|(?=\\s*(}|\\]|\\)|#|$))",name:"meta.arguments.coffee",patterns:[{include:"$self"}]}]},double_quoted_string:{patterns:[{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.coffee"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.double.coffee",patterns:[{captures:{1:{name:"punctuation.definition.escape.backslash.coffee"}},match:"(\\\\)(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",name:"constant.character.escape.backslash.coffee"},{include:"#interpolated_coffee"}]}]},embedded_comment:{patterns:[{captures:{1:{name:"punctuation.definition.comment.coffee"}},match:"(?<!\\\\)(#).*$\\n?",name:"comment.line.number-sign.coffee"}]},function_calls:{patterns:[{begin:"(@)?([\\w$]+)(?=\\()",beginCaptures:{1:{name:"variable.other.readwrite.instance.coffee"},2:{patterns:[{include:"#function_names"}]}},end:"(?<=\\))",name:"meta.function-call.coffee",patterns:[{include:"#arguments"}]},{begin:`(?x) +(@)?([\\w$]+) +\\s* +(?=\\s+(?!(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))(?=(@?[\\w$]+|[=-]>|\\-\\d|\\[|{|"|')))`,beginCaptures:{1:{name:"variable.other.readwrite.instance.coffee"},2:{patterns:[{include:"#function_names"}]}},end:"(?=\\s*(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))|(?=\\s*(}|\\]|\\)|#|$))",name:"meta.function-call.coffee",patterns:[{include:"#arguments"}]}]},function_names:{patterns:[{match:`(?x) +\\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI| +decodeURIComponent|encodeURI|encodeURIComponent|escape|unescape| +require|set(Interval|Timeout)|clear(Interval|Timeout))\\b`,name:"support.function.coffee"},{match:"[a-zA-Z_$][\\w$]*",name:"entity.name.function.coffee"},{match:"\\d[\\w$]*",name:"invalid.illegal.identifier.coffee"}]},function_params:{patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.bracket.round.coffee"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.bracket.round.coffee"}},name:"meta.parameters.coffee",patterns:[{captures:{1:{name:"variable.parameter.function.coffee"},2:{name:"keyword.operator.splat.coffee"}},match:"([a-zA-Z_$][\\w$]*)(\\.\\.\\.)?"},{captures:{1:{name:"variable.parameter.function.readwrite.instance.coffee"},2:{name:"keyword.operator.splat.coffee"}},match:"(@(?:[a-zA-Z_$][\\w$]*)?)(\\.\\.\\.)?"},{include:"$self"}]}]},heregexp:{patterns:[{match:"\\\\[bB]|\\^|\\$",name:"keyword.control.anchor.regexp"},{match:"\\\\[1-9]\\d*",name:"keyword.other.back-reference.regexp"},{match:"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??",name:"keyword.operator.quantifier.regexp"},{match:"\\|",name:"keyword.operator.or.regexp"},{begin:"(\\()((\\?=)|(\\?!))",beginCaptures:{1:{name:"punctuation.definition.group.regexp"},3:{name:"meta.assertion.look-ahead.regexp"},4:{name:"meta.assertion.negative-look-ahead.regexp"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.group.regexp"}},name:"meta.group.assertion.regexp",patterns:[{include:"#heregexp"}]},{begin:"\\((\\?:)?",beginCaptures:{0:{name:"punctuation.definition.group.regexp"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.regexp"}},name:"meta.group.regexp",patterns:[{include:"#heregexp"}]},{begin:"(\\[)(\\^)?",beginCaptures:{1:{name:"punctuation.definition.character-class.regexp"},2:{name:"keyword.operator.negation.regexp"}},end:"(\\])",endCaptures:{1:{name:"punctuation.definition.character-class.regexp"}},name:"constant.other.character-class.set.regexp",patterns:[{captures:{1:{name:"constant.character.numeric.regexp"},2:{name:"constant.character.control.regexp"},3:{name:"constant.character.escape.backslash.regexp"},4:{name:"constant.character.numeric.regexp"},5:{name:"constant.character.control.regexp"},6:{name:"constant.character.escape.backslash.regexp"}},match:"(?:.|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))",name:"constant.other.character-class.range.regexp"},{include:"#regex-character-class"}]},{include:"#regex-character-class"},{include:"#interpolated_coffee"},{include:"#embedded_comment"}]},instance_variable:{patterns:[{match:"(@)([a-zA-Z_\\$]\\w*)?",name:"variable.other.readwrite.instance.coffee"}]},interpolated_coffee:{patterns:[{begin:"\\#\\{",captures:{0:{name:"punctuation.section.embedded.coffee"}},end:"\\}",name:"source.coffee.embedded.source",patterns:[{include:"$self"}]}]},jsx:{patterns:[{include:"#jsx-tag"},{include:"#jsx-end-tag"}]},"jsx-attribute":{patterns:[{captures:{1:{name:"entity.other.attribute-name.coffee"},2:{name:"keyword.operator.assignment.coffee"}},match:"(?:^|\\s+)([-\\w.]+)\\s*(=)"},{include:"#double_quoted_string"},{include:"#single_quoted_string"},{include:"#jsx-expression"}]},"jsx-end-tag":{patterns:[{begin:"(</)([-\\w\\.]+)",beginCaptures:{1:{name:"punctuation.definition.tag.coffee"},2:{name:"entity.name.tag.coffee"}},end:"(/?>)",name:"meta.tag.coffee"}]},"jsx-expression":{begin:"{",beginCaptures:{0:{name:"meta.brace.curly.coffee"}},end:"}",endCaptures:{0:{name:"meta.brace.curly.coffee"}},patterns:[{include:"#double_quoted_string"},{include:"$self"}]},"jsx-tag":{patterns:[{begin:"(<)([-\\w\\.]+)",beginCaptures:{1:{name:"punctuation.definition.tag.coffee"},2:{name:"entity.name.tag.coffee"}},end:"(/?>)",name:"meta.tag.coffee",patterns:[{include:"#jsx-attribute"}]}]},method_calls:{patterns:[{begin:"(?:(\\.)|(::))\\s*([\\w$]+)\\s*(?=\\()",beginCaptures:{1:{name:"punctuation.separator.method.period.coffee"},2:{name:"keyword.operator.prototype.coffee"},3:{patterns:[{include:"#method_names"}]}},end:"(?<=\\))",name:"meta.method-call.coffee",patterns:[{include:"#arguments"}]},{begin:`(?:(\\.)|(::))\\s*([\\w$]+)\\s*(?=\\s+(?!(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))(?=(@|@?[\\w$]+|[=-]>|\\-\\d|\\[|{|"|')))`,beginCaptures:{1:{name:"punctuation.separator.method.period.coffee"},2:{name:"keyword.operator.prototype.coffee"},3:{patterns:[{include:"#method_names"}]}},end:"(?=\\s*(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))|(?=\\s*(}|\\]|\\)|#|$))",name:"meta.method-call.coffee",patterns:[{include:"#arguments"}]}]},method_names:{patterns:[{match:`(?x) +\\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset| +Readystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove| +Before(cut|deactivate|unload|update|paste|print|editfocus|activate)| +Blur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help| +Change|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate| +Datasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover| +Dragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error| +Errorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\\b`,name:"support.function.event-handler.coffee"},{match:`(?x) +\\b(shift|showModelessDialog|showModalDialog|showHelp|scroll|scrollX|scrollByPages| +scrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort| +sup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours| +Month|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)| +Time|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice| +savePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat| +contextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup| +createEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)| +test|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift| +untaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins.refresh|paddings|parse| +print|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file| +fileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor| +forward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert| +abort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload| +releaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear| +Time|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)| +Attention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo| +moveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\\b`,name:"support.function.coffee"},{match:`(?x) +\\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append| +appendChild|appendData|before|blur|canPlayType|captureStream| +caretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click| +cloneContents|cloneNode|cloneRange|close|closest|collapse| +compareBoundaryPoints|compareDocumentPosition|comparePoint|contains| +convertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute| +createAttributeNS|createCaption|createCDATASection|createComment| +createContextualFragment|createDocument|createDocumentFragment| +createDocumentType|createElement|createElementNS|createEntityReference| +createEvent|createExpression|createHTMLDocument|createNodeIterator| +createNSResolver|createProcessingInstruction|createRange|createShadowRoot| +createTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete| +deleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot| +deleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint| +enableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen| +exitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get| +getAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode| +getAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads| +getClientRects|getContext|getDestinationInsertionPoints|getElementById| +getElementsByClassName|getElementsByName|getElementsByTagName| +getElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate| +getVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes| +hasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement| +insertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData| +insertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode| +isPointInRange|isSameNode|item|key|keys|lastChild|load|lookupNamespaceURI| +lookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild| +moveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open| +parentNode|pause|play|postMessage|prepend|preventDefault|previousNode| +previousSibling|probablySupportsContext|queryCommandEnabled| +queryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue| +querySelector|querySelectorAll|registerContentHandler|registerElement| +registerProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute| +removeAttributeNode|removeAttributeNS|removeChild|removeEventListener| +removeItem|replace|replaceChild|replaceData|replaceWith|reportValidity| +requestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView| +scrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute| +setAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture| +setCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem| +setRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore| +slice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation| +submit|substringData|supports|surroundContents|takeRecords|terminate|toBlob| +toDataURL|toggle|toString|values|write|writeln)\\b`,name:"support.function.dom.coffee"},{match:"[a-zA-Z_$][\\w$]*",name:"entity.name.function.coffee"},{match:"\\d[\\w$]*",name:"invalid.illegal.identifier.coffee"}]},numbers:{patterns:[{match:"\\b(?<!\\$)0(x|X)[0-9a-fA-F]+\\b(?!\\$)",name:"constant.numeric.hex.coffee"},{match:"\\b(?<!\\$)0(b|B)[01]+\\b(?!\\$)",name:"constant.numeric.binary.coffee"},{match:"\\b(?<!\\$)0(o|O)?[0-7]+\\b(?!\\$)",name:"constant.numeric.octal.coffee"},{captures:{0:{name:"constant.numeric.decimal.coffee"},1:{name:"punctuation.separator.decimal.period.coffee"},2:{name:"punctuation.separator.decimal.period.coffee"},3:{name:"punctuation.separator.decimal.period.coffee"},4:{name:"punctuation.separator.decimal.period.coffee"},5:{name:"punctuation.separator.decimal.period.coffee"},6:{name:"punctuation.separator.decimal.period.coffee"}},match:`(?x) +(?<!\\$)(?: +(?:\\b[0-9]+(\\.)[0-9]+[eE][+-]?[0-9]+\\b)| +(?:\\b[0-9]+(\\.)[eE][+-]?[0-9]+\\b)| +(?:\\B(\\.)[0-9]+[eE][+-]?[0-9]+\\b)| +(?:\\b[0-9]+[eE][+-]?[0-9]+\\b)| +(?:\\b[0-9]+(\\.)[0-9]+\\b)| +(?:\\b[0-9]+(?=\\.{2,3}))| +(?:\\b[0-9]+(\\.)\\B)| +(?:\\B(\\.)[0-9]+\\b)| +(?:\\b[0-9]+\\b(?!\\.)) +)(?!\\$)`}]},objects:{patterns:[{match:"[A-Z][A-Z0-9_$]*(?=\\s*\\??(\\.\\s*[a-zA-Z_$]\\w*|::))",name:"constant.other.object.coffee"},{match:"[a-zA-Z_$][\\w$]*(?=\\s*\\??(\\.\\s*[a-zA-Z_$]\\w*|::))",name:"variable.other.object.coffee"}]},operators:{patterns:[{captures:{1:{name:"variable.assignment.coffee"},2:{name:"keyword.operator.assignment.compound.coffee"}},match:"(?:([a-zA-Z$_][\\w$]*)?\\s+|(?<![\\w$]))(and=|or=)"},{captures:{1:{name:"variable.assignment.coffee"},2:{name:"keyword.operator.assignment.compound.coffee"}},match:"([a-zA-Z$_][\\w$]*)?\\s*(%=|\\+=|-=|\\*=|&&=|\\|\\|=|\\?=|(?<!\\()/=)"},{captures:{1:{name:"variable.assignment.coffee"},2:{name:"keyword.operator.assignment.compound.bitwise.coffee"}},match:"([a-zA-Z$_][\\w$]*)?\\s*(&=|\\^=|<<=|>>=|>>>=|\\|=)"},{match:"<<|>>>|>>",name:"keyword.operator.bitwise.shift.coffee"},{match:"!=|<=|>=|==|<|>",name:"keyword.operator.comparison.coffee"},{match:"&&|!|\\|\\|",name:"keyword.operator.logical.coffee"},{match:"&|\\||\\^|~",name:"keyword.operator.bitwise.coffee"},{captures:{1:{name:"variable.assignment.coffee"},2:{name:"keyword.operator.assignment.coffee"}},match:"([a-zA-Z$_][\\w$]*)?\\s*(=|:(?!:))(?![>=])"},{match:"--",name:"keyword.operator.decrement.coffee"},{match:"\\+\\+",name:"keyword.operator.increment.coffee"},{match:"\\.\\.\\.",name:"keyword.operator.splat.coffee"},{match:"\\?",name:"keyword.operator.existential.coffee"},{match:"%|\\*|/|-|\\+",name:"keyword.operator.coffee"},{captures:{1:{name:"keyword.operator.logical.coffee"},2:{name:"keyword.operator.comparison.coffee"}},match:`(?x) +\\b(?<![\\.\\$]) +(?: +(and|or|not) +| +(is|isnt) +) +(?!\\s*:)\\b`}]},properties:{patterns:[{captures:{1:{name:"punctuation.separator.property.period.coffee"},2:{name:"keyword.operator.prototype.coffee"},3:{name:"constant.other.object.property.coffee"}},match:"(?:(\\.)|(::))\\s*([A-Z][A-Z0-9_$]*\\b\\$*)(?=\\s*\\??(\\.\\s*[a-zA-Z_$]\\w*|::))"},{captures:{1:{name:"punctuation.separator.property.period.coffee"},2:{name:"keyword.operator.prototype.coffee"},3:{name:"variable.other.object.property.coffee"}},match:"(?:(\\.)|(::))\\s*(\\$*[a-zA-Z_$][\\w$]*)(?=\\s*\\??(\\.\\s*[a-zA-Z_$]\\w*|::))"},{captures:{1:{name:"punctuation.separator.property.period.coffee"},2:{name:"keyword.operator.prototype.coffee"},3:{name:"constant.other.property.coffee"}},match:"(?:(\\.)|(::))\\s*([A-Z][A-Z0-9_$]*\\b\\$*)"},{captures:{1:{name:"punctuation.separator.property.period.coffee"},2:{name:"keyword.operator.prototype.coffee"},3:{name:"variable.other.property.coffee"}},match:"(?:(\\.)|(::))\\s*(\\$*[a-zA-Z_$][\\w$]*)"},{captures:{1:{name:"punctuation.separator.property.period.coffee"},2:{name:"keyword.operator.prototype.coffee"},3:{name:"invalid.illegal.identifier.coffee"}},match:"(?:(\\.)|(::))\\s*([0-9][\\w$]*)"}]},"regex-character-class":{patterns:[{match:"\\\\[wWsSdD]|\\.",name:"constant.character.character-class.regexp"},{match:"\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})",name:"constant.character.numeric.regexp"},{match:"\\\\c[A-Z]",name:"constant.character.control.regexp"},{match:"\\\\.",name:"constant.character.escape.backslash.regexp"}]},single_quoted_string:{patterns:[{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.coffee"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.single.coffee",patterns:[{captures:{1:{name:"punctuation.definition.escape.backslash.coffee"}},match:"(\\\\)(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",name:"constant.character.escape.backslash.coffee"}]}]}},scopeName:"source.coffee",embeddedLangs:["javascript"],aliases:["coffeescript"]});var h=[...e,f];const y=Object.freeze({displayName:"GraphQL",fileTypes:["graphql","graphqls","gql","graphcool"],name:"graphql",patterns:[{include:"#graphql"}],repository:{graphql:{patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-fragment-definition"},{include:"#graphql-directive-definition"},{include:"#graphql-type-interface"},{include:"#graphql-enum"},{include:"#graphql-scalar"},{include:"#graphql-union"},{include:"#graphql-schema"},{include:"#graphql-operation-def"},{include:"#literal-quasi-embedded"}]},"graphql-ampersand":{captures:{1:{name:"keyword.operator.logical.graphql"}},match:"\\s*(&)"},"graphql-arguments":{begin:"\\s*(\\()",beginCaptures:{1:{name:"meta.brace.round.directive.graphql"}},end:"\\s*(\\))",endCaptures:{1:{name:"meta.brace.round.directive.graphql"}},name:"meta.arguments.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{begin:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?:\\s*(:))",beginCaptures:{1:{name:"variable.parameter.graphql"},2:{name:"punctuation.colon.graphql"}},end:"(?=\\s*(?:(?:([_A-Za-z][_0-9A-Za-z]*)\\s*(:))|\\)))|\\s*(,)",endCaptures:{3:{name:"punctuation.comma.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-value"},{include:"#graphql-skip-newlines"}]},{include:"#literal-quasi-embedded"}]},"graphql-boolean-value":{captures:{1:{name:"constant.language.boolean.graphql"}},match:"\\s*\\b(true|false)\\b"},"graphql-colon":{captures:{1:{name:"punctuation.colon.graphql"}},match:"\\s*(:)"},"graphql-comma":{captures:{1:{name:"punctuation.comma.graphql"}},match:"\\s*(,)"},"graphql-comment":{patterns:[{captures:{1:{name:"punctuation.whitespace.comment.leading.graphql"}},comment:"need to prefix comment space with a scope else Atom's reflow cmd doesn't work",match:"(\\s*)(#).*",name:"comment.line.graphql.js"},{begin:'(""")',beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.graphql"}},end:'(""")',name:"comment.line.graphql.js"},{begin:'(")',beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.graphql"}},end:'(")',name:"comment.line.graphql.js"}]},"graphql-description-docstring":{begin:'"""',end:'"""',name:"comment.block.graphql"},"graphql-description-singleline":{match:'#(?=([^"]*"[^"]*")*[^"]*$).*$',name:"comment.line.number-sign.graphql"},"graphql-directive":{applyEndPatternLast:1,begin:"\\s*((@)\\s*([_A-Za-z][_0-9A-Za-z]*))",beginCaptures:{1:{name:"entity.name.function.directive.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-arguments"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-directive-definition":{applyEndPatternLast:1,begin:"\\s*(\\bdirective\\b)\\s*(@[_A-Za-z][_0-9A-Za-z]*)",beginCaptures:{1:{name:"keyword.directive.graphql"},2:{name:"entity.name.function.directive.graphql"},3:{name:"keyword.on.graphql"},4:{name:"support.type.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-variable-definitions"},{applyEndPatternLast:1,begin:"\\s*(\\bon\\b)\\s*([_A-Za-z]*)",beginCaptures:{1:{name:"keyword.on.graphql"},2:{name:"support.type.location.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-skip-newlines"},{include:"#graphql-comment"},{include:"#literal-quasi-embedded"},{captures:{2:{name:"support.type.location.graphql"}},match:"\\s*(\\|)\\s*([_A-Za-z]*)"}]},{include:"#graphql-skip-newlines"},{include:"#graphql-comment"},{include:"#literal-quasi-embedded"}]},"graphql-enum":{begin:"\\s*+\\b(enum)\\b\\s*([_A-Za-z][_0-9A-Za-z]*)",beginCaptures:{1:{name:"keyword.enum.graphql"},2:{name:"support.type.enum.graphql"}},end:"(?<=})",name:"meta.enum.graphql",patterns:[{begin:"\\s*({)",beginCaptures:{1:{name:"punctuation.operation.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"punctuation.operation.graphql"}},name:"meta.type.object.graphql",patterns:[{include:"#graphql-object-type"},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-enum-value"},{include:"#literal-quasi-embedded"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"}]},"graphql-enum-value":{match:"\\s*(?!=\\b(true|false|null)\\b)([_A-Za-z][_0-9A-Za-z]*)",name:"constant.character.enum.graphql"},"graphql-field":{patterns:[{captures:{1:{name:"string.unquoted.alias.graphql"},2:{name:"punctuation.colon.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)\\s*(:)"},{captures:{1:{name:"variable.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)"},{include:"#graphql-arguments"},{include:"#graphql-directive"},{include:"#graphql-selection-set"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-float-value":{captures:{1:{name:"constant.numeric.float.graphql"}},match:"\\s*(-?(0|[1-9][0-9]*)(\\.[0-9]+)?((e|E)(\\+|-)?[0-9]+)?)"},"graphql-fragment-definition":{begin:"\\s*(?:(\\bfragment\\b)\\s*([_A-Za-z][_0-9A-Za-z]*)?\\s*(?:(\\bon\\b)\\s*([_A-Za-z][_0-9A-Za-z]*)))",captures:{1:{name:"keyword.fragment.graphql"},2:{name:"entity.name.fragment.graphql"},3:{name:"keyword.on.graphql"},4:{name:"support.type.graphql"}},end:"(?<=})",name:"meta.fragment.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-fragment-spread":{applyEndPatternLast:1,begin:"\\s*(\\.\\.\\.)\\s*(?!\\bon\\b)([_A-Za-z][_0-9A-Za-z]*)",captures:{1:{name:"keyword.operator.spread.graphql"},2:{name:"variable.fragment.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-ignore-spaces":{match:"\\s*"},"graphql-inline-fragment":{applyEndPatternLast:1,begin:"\\s*(\\.\\.\\.)\\s*(?:(\\bon\\b)\\s*([_A-Za-z][_0-9A-Za-z]*))?",captures:{1:{name:"keyword.operator.spread.graphql"},2:{name:"keyword.on.graphql"},3:{name:"support.type.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-input-types":{patterns:[{include:"#graphql-scalar-type"},{captures:{1:{name:"support.type.graphql"},2:{name:"keyword.operator.nulltype.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?:\\s*(!))?"},{begin:"\\s*(\\[)",captures:{1:{name:"meta.brace.square.graphql"},2:{name:"keyword.operator.nulltype.graphql"}},end:"\\s*(\\])(?:\\s*(!))?",name:"meta.type.list.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-input-types"},{include:"#graphql-comma"},{include:"#literal-quasi-embedded"}]}]},"graphql-list-value":{patterns:[{begin:"\\s*+(\\[)",beginCaptures:{1:{name:"meta.brace.square.graphql"}},end:"\\s*(\\])",endCaptures:{1:{name:"meta.brace.square.graphql"}},name:"meta.listvalues.graphql",patterns:[{include:"#graphql-value"}]}]},"graphql-name":{captures:{1:{name:"entity.name.function.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)"},"graphql-null-value":{captures:{1:{name:"constant.language.null.graphql"}},match:"\\s*\\b(null)\\b"},"graphql-object-field":{captures:{1:{name:"constant.object.key.graphql"},2:{name:"string.unquoted.graphql"},3:{name:"punctuation.graphql"}},match:"\\s*(([_A-Za-z][_0-9A-Za-z]*))\\s*(:)"},"graphql-object-value":{patterns:[{begin:"\\s*+({)",beginCaptures:{1:{name:"meta.brace.curly.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"meta.brace.curly.graphql"}},name:"meta.objectvalues.graphql",patterns:[{include:"#graphql-object-field"},{include:"#graphql-value"}]}]},"graphql-operation-def":{patterns:[{include:"#graphql-query-mutation"},{include:"#graphql-name"},{include:"#graphql-variable-definitions"},{include:"#graphql-directive"},{include:"#graphql-selection-set"}]},"graphql-query-mutation":{captures:{1:{name:"keyword.operation.graphql"}},match:"\\s*\\b(query|mutation)\\b"},"graphql-scalar":{captures:{1:{name:"keyword.scalar.graphql"},2:{name:"entity.scalar.graphql"}},match:"\\s*\\b(scalar)\\b\\s*([_A-Za-z][_0-9A-Za-z]*)"},"graphql-scalar-type":{captures:{1:{name:"support.type.builtin.graphql"},2:{name:"keyword.operator.nulltype.graphql"}},match:"\\s*\\b(Int|Float|String|Boolean|ID)\\b(?:\\s*(!))?"},"graphql-schema":{begin:"\\s*\\b(schema)\\b",beginCaptures:{1:{name:"keyword.schema.graphql"}},end:"(?<=})",patterns:[{begin:"\\s*({)",beginCaptures:{1:{name:"punctuation.operation.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"punctuation.operation.graphql"}},patterns:[{begin:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",beginCaptures:{1:{name:"variable.arguments.graphql"}},end:"(?=\\s*(([_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(})))|\\s*(,)",endCaptures:{5:{name:"punctuation.comma.graphql"}},patterns:[{captures:{1:{name:"support.type.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)"},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-colon"},{include:"#graphql-skip-newlines"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"}]},"graphql-selection-set":{begin:"\\s*({)",beginCaptures:{1:{name:"punctuation.operation.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"punctuation.operation.graphql"}},name:"meta.selectionset.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-field"},{include:"#graphql-fragment-spread"},{include:"#graphql-inline-fragment"},{include:"#graphql-comma"},{include:"#native-interpolation"},{include:"#literal-quasi-embedded"}]},"graphql-skip-newlines":{match:`\\s* +`},"graphql-string-content":{patterns:[{match:`\\\\[/'"\\\\nrtbf]`,name:"constant.character.escape.graphql"},{match:"\\\\u([0-9a-fA-F]{4})",name:"constant.character.escape.graphql"}]},"graphql-string-value":{begin:'\\s*+(("))',beginCaptures:{1:{name:"string.quoted.double.graphql"},2:{name:"punctuation.definition.string.begin.graphql"}},contentName:"string.quoted.double.graphql",end:`\\s*+(?:(("))|( +))`,endCaptures:{1:{name:"string.quoted.double.graphql"},2:{name:"punctuation.definition.string.end.graphql"},3:{name:"invalid.illegal.newline.graphql"}},patterns:[{include:"#graphql-string-content"},{include:"#literal-quasi-embedded"}]},"graphql-type-definition":{begin:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",beginCaptures:{1:{name:"variable.graphql"}},comment:"key (optionalArgs): Type",end:"(?=\\s*(([_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(})))|\\s*(,)",endCaptures:{5:{name:"punctuation.comma.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-variable-definitions"},{include:"#graphql-type-object"},{include:"#graphql-colon"},{include:"#graphql-input-types"},{include:"#literal-quasi-embedded"}]},"graphql-type-interface":{applyEndPatternLast:1,begin:"\\s*\\b(?:(extends?)?\\b\\s*\\b(type)|(interface)|(input))\\b\\s*([_A-Za-z][_0-9A-Za-z]*)?",captures:{1:{name:"keyword.type.graphql"},2:{name:"keyword.type.graphql"},3:{name:"keyword.interface.graphql"},4:{name:"keyword.input.graphql"},5:{name:"support.type.graphql"}},end:"(?=.)",name:"meta.type.interface.graphql",patterns:[{begin:"\\s*\\b(implements)\\b\\s*",beginCaptures:{1:{name:"keyword.implements.graphql"}},end:"\\s*(?={)",patterns:[{captures:{1:{name:"support.type.graphql"}},match:"\\s*([_A-Za-z][_0-9A-Za-z]*)"},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-ampersand"},{include:"#graphql-comma"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-type-object"},{include:"#literal-quasi-embedded"},{include:"#graphql-ignore-spaces"}]},"graphql-type-object":{begin:"\\s*({)",beginCaptures:{1:{name:"punctuation.operation.graphql"}},end:"\\s*(})",endCaptures:{1:{name:"punctuation.operation.graphql"}},name:"meta.type.object.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-object-type"},{include:"#graphql-type-definition"},{include:"#literal-quasi-embedded"}]},"graphql-union":{applyEndPatternLast:1,begin:"\\s*\\b(union)\\b\\s*([_A-Za-z][_0-9A-Za-z]*)",captures:{1:{name:"keyword.union.graphql"},2:{name:"support.type.graphql"}},end:"(?=.)",patterns:[{applyEndPatternLast:1,begin:"\\s*(=)\\s*([_A-Za-z][_0-9A-Za-z]*)",captures:{1:{name:"punctuation.assignment.graphql"},2:{name:"support.type.graphql"}},end:"(?=.)",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"},{captures:{1:{name:"punctuation.or.graphql"},2:{name:"support.type.graphql"}},match:"\\s*(\\|)\\s*([_A-Za-z][_0-9A-Za-z]*)"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-union-mark":{captures:{1:{name:"punctuation.union.graphql"}},match:"\\s*(\\|)"},"graphql-value":{patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-variable-name"},{include:"#graphql-float-value"},{include:"#graphql-string-value"},{include:"#graphql-boolean-value"},{include:"#graphql-null-value"},{include:"#graphql-enum-value"},{include:"#graphql-list-value"},{include:"#graphql-object-value"},{include:"#literal-quasi-embedded"}]},"graphql-variable-assignment":{applyEndPatternLast:1,begin:"\\s(=)",beginCaptures:{1:{name:"punctuation.assignment.graphql"}},end:`(?=[ +,)])`,patterns:[{include:"#graphql-value"}]},"graphql-variable-definition":{begin:"\\s*(\\$?[_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",beginCaptures:{1:{name:"variable.parameter.graphql"}},comment:"variable: type = value,.... which may be a list",end:"(?=\\s*((\\$?[_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(}|\\))))|\\s*(,)",endCaptures:{5:{name:"punctuation.comma.graphql"}},name:"meta.variables.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-colon"},{include:"#graphql-input-types"},{include:"#graphql-variable-assignment"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-variable-definitions":{begin:"\\s*(\\()",captures:{1:{name:"meta.brace.round.graphql"}},end:"\\s*(\\))",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-variable-definition"},{include:"#literal-quasi-embedded"}]},"graphql-variable-name":{captures:{1:{name:"variable.graphql"}},match:"\\s*(\\$[_A-Za-z][_0-9A-Za-z]*)"},"native-interpolation":{begin:"\\s*(\\${)",beginCaptures:{1:{name:"keyword.other.substitution.begin"}},end:"(})",endCaptures:{1:{name:"keyword.other.substitution.end"}},name:"native.interpolation",patterns:[{include:"source.js"},{include:"source.ts"},{include:"source.js.jsx"},{include:"source.tsx"}]}},scopeName:"source.graphql",embeddedLangs:["javascript","typescript","jsx","tsx"],aliases:["gql"]});var v=[...e,...a,...i,...s,y];const w=Object.freeze({displayName:"YAML",name:"yaml",patterns:[{include:"#comment"},{include:"#property"},{include:"#directive"},{match:"^---",name:"entity.other.document.begin.yaml"},{match:"^\\.{3}",name:"entity.other.document.end.yaml"},{include:"#node"}],repository:{"block-collection":{patterns:[{include:"#block-sequence"},{include:"#block-mapping"}]},"block-mapping":{patterns:[{include:"#block-pair"}]},"block-node":{patterns:[{include:"#prototype"},{include:"#block-scalar"},{include:"#block-collection"},{include:"#flow-scalar-plain-out"},{include:"#flow-node"}]},"block-pair":{patterns:[{begin:"\\?",beginCaptures:{1:{name:"punctuation.definition.key-value.begin.yaml"}},end:"(?=\\?)|^ *(:)|(:)",endCaptures:{1:{name:"punctuation.separator.key-value.mapping.yaml"},2:{name:"invalid.illegal.expected-newline.yaml"}},name:"meta.block-mapping.yaml",patterns:[{include:"#block-node"}]},{begin:`(?x) +(?= +(?x: +[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]] +| [?:-] \\S +) +( +[^\\s:] +| : \\S +| \\s+ (?![#\\s]) +)* +\\s* +: +(\\s|$) +) +`,end:`(?x) +(?= +\\s* $ +| \\s+ \\# +| \\s* : (\\s|$) +) +`,patterns:[{include:"#flow-scalar-plain-out-implicit-type"},{begin:`(?x) +[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]] +| [?:-] \\S +`,beginCaptures:{0:{name:"entity.name.tag.yaml"}},contentName:"entity.name.tag.yaml",end:`(?x) +(?= +\\s* $ +| \\s+ \\# +| \\s* : (\\s|$) +) +`,name:"string.unquoted.plain.out.yaml"}]},{match:":(?=\\s|$)",name:"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{begin:"(?:(\\|)|(>))([1-9])?([-+])?(.*\\n?)",beginCaptures:{1:{name:"keyword.control.flow.block-scalar.literal.yaml"},2:{name:"keyword.control.flow.block-scalar.folded.yaml"},3:{name:"constant.numeric.indentation-indicator.yaml"},4:{name:"storage.modifier.chomping-indicator.yaml"},5:{patterns:[{include:"#comment"},{match:".+",name:"invalid.illegal.expected-comment-or-newline.yaml"}]}},end:"^(?=\\S)|(?!\\G)",patterns:[{begin:"^([ ]+)(?! )",end:"^(?!\\1|\\s*$)",name:"string.unquoted.block.yaml"}]},"block-sequence":{match:"(-)(?!\\S)",name:"punctuation.definition.block.sequence.item.yaml"},comment:{begin:"(?:(^[ \\t]*)|[ \\t]+)(?=#\\p{Print}*$)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.yaml"}},end:"(?!\\G)",patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.yaml"}},end:"\\n",name:"comment.line.number-sign.yaml"}]},directive:{begin:"^%",beginCaptures:{0:{name:"punctuation.definition.directive.begin.yaml"}},end:"(?=$|[ \\t]+($|#))",name:"meta.directive.yaml",patterns:[{captures:{1:{name:"keyword.other.directive.yaml.yaml"},2:{name:"constant.numeric.yaml-version.yaml"}},match:"\\G(YAML)[ \\t]+(\\d+\\.\\d+)"},{captures:{1:{name:"keyword.other.directive.tag.yaml"},2:{name:"storage.type.tag-handle.yaml"},3:{name:"support.type.tag-prefix.yaml"}},match:`(?x) +\\G +(TAG) +(?:[ \\t]+ +((?:!(?:[0-9A-Za-z\\-]*!)?)) +(?:[ \\t]+ ( +! (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )* +| (?![,!\\[\\]{}]) (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+ +) +)? +)? +`},{captures:{1:{name:"support.other.directive.reserved.yaml"},2:{name:"string.unquoted.directive-name.yaml"},3:{name:"string.unquoted.directive-parameter.yaml"}},match:"(?x) \\G (\\w+) (?:[ \\t]+ (\\w+) (?:[ \\t]+ (\\w+))? )?"},{match:"\\S+",name:"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{captures:{1:{name:"keyword.control.flow.alias.yaml"},2:{name:"punctuation.definition.alias.yaml"},3:{name:"variable.other.alias.yaml"},4:{name:"invalid.illegal.character.anchor.yaml"}},match:"((\\*))([^\\s\\[\\]/{/},]+)([^\\s\\]},]\\S*)?"},"flow-collection":{patterns:[{include:"#flow-sequence"},{include:"#flow-mapping"}]},"flow-mapping":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.mapping.begin.yaml"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.mapping.end.yaml"}},name:"meta.flow-mapping.yaml",patterns:[{include:"#prototype"},{match:",",name:"punctuation.separator.mapping.yaml"},{include:"#flow-pair"}]},"flow-node":{patterns:[{include:"#prototype"},{include:"#flow-alias"},{include:"#flow-collection"},{include:"#flow-scalar"}]},"flow-pair":{patterns:[{begin:"\\?",beginCaptures:{0:{name:"punctuation.definition.key-value.begin.yaml"}},end:"(?=[},\\]])",name:"meta.flow-pair.explicit.yaml",patterns:[{include:"#prototype"},{include:"#flow-pair"},{include:"#flow-node"},{begin:":(?=\\s|$|[\\[\\]{},])",beginCaptures:{0:{name:"punctuation.separator.key-value.mapping.yaml"}},end:"(?=[},\\]])",patterns:[{include:"#flow-value"}]}]},{begin:`(?x) +(?= +(?: +[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]] +| [?:-] [^\\s[\\[\\]{},]] +) +( +[^\\s:[\\[\\]{},]] +| : [^\\s[\\[\\]{},]] +| \\s+ (?![#\\s]) +)* +\\s* +: +(\\s|$) +) +`,end:`(?x) +(?= +\\s* $ +| \\s+ \\# +| \\s* : (\\s|$) +| \\s* : [\\[\\]{},] +| \\s* [\\[\\]{},] +) +`,name:"meta.flow-pair.key.yaml",patterns:[{include:"#flow-scalar-plain-in-implicit-type"},{begin:`(?x) +[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]] +| [?:-] [^\\s[\\[\\]{},]] +`,beginCaptures:{0:{name:"entity.name.tag.yaml"}},contentName:"entity.name.tag.yaml",end:`(?x) +(?= +\\s* $ +| \\s+ \\# +| \\s* : (\\s|$) +| \\s* : [\\[\\]{},] +| \\s* [\\[\\]{},] +) +`,name:"string.unquoted.plain.in.yaml"}]},{include:"#flow-node"},{begin:":(?=\\s|$|[\\[\\]{},])",captures:{0:{name:"punctuation.separator.key-value.mapping.yaml"}},end:"(?=[},\\]])",name:"meta.flow-pair.yaml",patterns:[{include:"#flow-value"}]}]},"flow-scalar":{patterns:[{include:"#flow-scalar-double-quoted"},{include:"#flow-scalar-single-quoted"},{include:"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.yaml"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.yaml"}},name:"string.quoted.double.yaml",patterns:[{match:'\\\\([0abtnvfre "/\\\\N_Lp]|x\\d\\d|u\\d{4}|U\\d{8})',name:"constant.character.escape.yaml"},{match:"\\\\\\n",name:"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{patterns:[{include:"#flow-scalar-plain-in-implicit-type"},{begin:`(?x) +[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]] +| [?:-] [^\\s[\\[\\]{},]] +`,end:`(?x) +(?= +\\s* $ +| \\s+ \\# +| \\s* : (\\s|$) +| \\s* : [\\[\\]{},] +| \\s* [\\[\\]{},] +) +`,name:"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{patterns:[{captures:{1:{name:"constant.language.null.yaml"},2:{name:"constant.language.boolean.yaml"},3:{name:"constant.numeric.integer.yaml"},4:{name:"constant.numeric.float.yaml"},5:{name:"constant.other.timestamp.yaml"},6:{name:"constant.language.value.yaml"},7:{name:"constant.language.merge.yaml"}},match:`(?x) +(?x: +(null|Null|NULL|~) +| (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF) +| ( +(?: +[-+]? 0b [0-1_]+ +| [-+]? 0 [0-7_]+ +| [-+]? (?: 0|[1-9][0-9_]*) +| [-+]? 0x [0-9a-fA-F_]+ +| [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+ +) +) +| ( +(?x: +[-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)? +| [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]* +| [-+]? \\. (?: inf|Inf|INF) +| \\. (?: nan|NaN|NAN) +) +) +| ( +(?x: +\\d{4} - \\d{2} - \\d{2} +| \\d{4} +- \\d{1,2} +- \\d{1,2} +(?: [Tt] | [ \\t]+) \\d{1,2} +: \\d{2} +: \\d{2} +(?: \\.\\d*)? +(?: +(?:[ \\t]*) Z +| [-+] \\d{1,2} (?: :\\d{1,2})? +)? +) +) +| (=) +| (<<) +) +(?: +(?= +\\s* $ +| \\s+ \\# +| \\s* : (\\s|$) +| \\s* : [\\[\\]{},] +| \\s* [\\[\\]{},] +) +) +`}]},"flow-scalar-plain-out":{patterns:[{include:"#flow-scalar-plain-out-implicit-type"},{begin:`(?x) +[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]] +| [?:-] \\S +`,end:`(?x) +(?= +\\s* $ +| \\s+ \\# +| \\s* : (\\s|$) +) +`,name:"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{patterns:[{captures:{1:{name:"constant.language.null.yaml"},2:{name:"constant.language.boolean.yaml"},3:{name:"constant.numeric.integer.yaml"},4:{name:"constant.numeric.float.yaml"},5:{name:"constant.other.timestamp.yaml"},6:{name:"constant.language.value.yaml"},7:{name:"constant.language.merge.yaml"}},match:`(?x) +(?x: +(null|Null|NULL|~) +| (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF) +| ( +(?: +[-+]? 0b [0-1_]+ +| [-+]? 0 [0-7_]+ +| [-+]? (?: 0|[1-9][0-9_]*) +| [-+]? 0x [0-9a-fA-F_]+ +| [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+ +) +) +| ( +(?x: +[-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)? +| [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]* +| [-+]? \\. (?: inf|Inf|INF) +| \\. (?: nan|NaN|NAN) +) +) +| ( +(?x: +\\d{4} - \\d{2} - \\d{2} +| \\d{4} +- \\d{1,2} +- \\d{1,2} +(?: [Tt] | [ \\t]+) \\d{1,2} +: \\d{2} +: \\d{2} +(?: \\.\\d*)? +(?: +(?:[ \\t]*) Z +| [-+] \\d{1,2} (?: :\\d{1,2})? +)? +) +) +| (=) +| (<<) +) +(?x: +(?= +\\s* $ +| \\s+ \\# +| \\s* : (\\s|$) +) +) +`}]},"flow-scalar-single-quoted":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.yaml"}},end:"'(?!')",endCaptures:{0:{name:"punctuation.definition.string.end.yaml"}},name:"string.quoted.single.yaml",patterns:[{match:"''",name:"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.sequence.begin.yaml"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.sequence.end.yaml"}},name:"meta.flow-sequence.yaml",patterns:[{include:"#prototype"},{match:",",name:"punctuation.separator.sequence.yaml"},{include:"#flow-pair"},{include:"#flow-node"}]},"flow-value":{patterns:[{begin:"\\G(?![},\\]])",end:"(?=[},\\]])",name:"meta.flow-pair.value.yaml",patterns:[{include:"#flow-node"}]}]},node:{patterns:[{include:"#block-node"}]},property:{begin:"(?=!|&)",end:"(?!\\G)",name:"meta.property.yaml",patterns:[{captures:{1:{name:"keyword.control.property.anchor.yaml"},2:{name:"punctuation.definition.anchor.yaml"},3:{name:"entity.name.type.anchor.yaml"},4:{name:"invalid.illegal.character.anchor.yaml"}},match:"\\G((&))([^\\s\\[\\]/{/},]+)(\\S+)?"},{match:`(?x) +\\G +(?: +! < (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+ > +| (?:!(?:[0-9A-Za-z\\-]*!)?) (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$_.~*'()] )+ +| ! +) +(?=\\ |\\t|$) +`,name:"storage.type.tag-handle.yaml"},{match:"\\S+",name:"invalid.illegal.tag-handle.yaml"}]},prototype:{patterns:[{include:"#comment"},{include:"#property"}]}},scopeName:"source.yaml",aliases:["yml"]});var k=[w];const _=Object.freeze({displayName:"HTML (Derivative)",injections:{"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)":{comment:"Uses R: to ensure this matches after any other injections.",patterns:[{match:"<",name:"invalid.illegal.bad-angle-bracket.html"}]}},name:"html-derivative",patterns:[{include:"text.html.basic#core-minus-invalid"},{begin:"(</?)(\\w[^\\s>]*)(?<!/)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"((?: ?/)?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.unrecognized.html.derivative",patterns:[{include:"text.html.basic#attribute"}]}],scopeName:"text.html.derivative",embeddedLangs:["html"]});var x=[...n,_];const C=Object.freeze({displayName:"JSON5",fileTypes:["json5"],name:"json5",patterns:[{include:"#comments"},{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.json5"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.json5"}},name:"meta.structure.array.json5",patterns:[{include:"#comments"},{include:"#value"},{match:",",name:"punctuation.separator.array.json5"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json5"}]},comments:{patterns:[{match:"/{2}.*",name:"comment.single.json5"},{begin:"/\\*\\*(?!/)",captures:{0:{name:"punctuation.definition.comment.json5"}},end:"\\*/",name:"comment.block.documentation.json5"},{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.json5"}},end:"\\*/",name:"comment.block.json5"}]},constant:{match:"\\b(?:true|false|null|Infinity|NaN)\\b",name:"constant.language.json5"},infinity:{match:"(-)*\\b(?:Infinity|NaN)\\b",name:"constant.language.json5"},key:{name:"string.key.json5",patterns:[{include:"#stringSingle"},{include:"#stringDouble"},{match:"[a-zA-Z0-9_-]",name:"string.key.json5"}]},number:{patterns:[{comment:"handles hexadecimal numbers",match:"(0x)[0-9a-fA-f]*",name:"constant.hex.numeric.json5"},{comment:"handles integer and decimal numbers",match:"[+-.]?(?=[1-9]|0(?!\\d))\\d+(\\.\\d+)?([eE][+-]?\\d+)?",name:"constant.dec.numeric.json5"}]},object:{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.dictionary.begin.json5"}},comment:"a json5 object",end:"\\}",endCaptures:{0:{name:"punctuation.definition.dictionary.end.json5"}},name:"meta.structure.dictionary.json5",patterns:[{include:"#comments"},{comment:"the json5 object key",include:"#key"},{begin:":",beginCaptures:{0:{name:"punctuation.separator.dictionary.key-value.json5"}},end:"(,)|(?=\\})",endCaptures:{1:{name:"punctuation.separator.dictionary.pair.json5"}},name:"meta.structure.dictionary.value.json5",patterns:[{comment:"the json5 object value",include:"#value"},{match:"[^\\s,]",name:"invalid.illegal.expected-dictionary-separator.json5"}]},{match:"[^\\s\\}]",name:"invalid.illegal.expected-dictionary-separator.json5"}]},stringDouble:{begin:'["]',beginCaptures:{0:{name:"punctuation.definition.string.begin.json5"}},end:'["]',endCaptures:{0:{name:"punctuation.definition.string.end.json5"}},name:"string.quoted.json5",patterns:[{match:`(?x: +\\\\ +(?: +["\\\\/bfnrt] +| +u +[0-9a-fA-F]{4} +) +)`,name:"constant.character.escape.json5"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json5"}]},stringSingle:{begin:"[']",beginCaptures:{0:{name:"punctuation.definition.string.begin.json5"}},end:"[']",endCaptures:{0:{name:"punctuation.definition.string.end.json5"}},name:"string.quoted.json5",patterns:[{match:`(?x: +\\\\ +(?: +["\\\\/bfnrt] +| +u +[0-9a-fA-F]{4} +) +)`,name:"constant.character.escape.json5"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json5"}]},value:{comment:"the 'value' diagram at http://json.org",patterns:[{include:"#constant"},{include:"#infinity"},{include:"#number"},{include:"#stringSingle"},{include:"#stringDouble"},{include:"#array"},{include:"#object"}]}},scopeName:"source.json5"});var q=[C];const $=Object.freeze({displayName:"JSON with Comments",name:"jsonc",patterns:[{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.json.comments"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.json.comments"}},name:"meta.structure.array.json.comments",patterns:[{include:"#value"},{match:",",name:"punctuation.separator.array.json.comments"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json.comments"}]},comments:{patterns:[{begin:"/\\*\\*(?!/)",captures:{0:{name:"punctuation.definition.comment.json.comments"}},end:"\\*/",name:"comment.block.documentation.json.comments"},{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.json.comments"}},end:"\\*/",name:"comment.block.json.comments"},{captures:{1:{name:"punctuation.definition.comment.json.comments"}},match:"(//).*$\\n?",name:"comment.line.double-slash.js"}]},constant:{match:"\\b(?:true|false|null)\\b",name:"constant.language.json.comments"},number:{match:`(?x) +-? +(?: +0 +| +[1-9] +\\d* +) +(?: +(?: +\\. +\\d+ +)? +(?: +[eE] +[+-]? +\\d+ +)? +)?`,name:"constant.numeric.json.comments"},object:{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.dictionary.begin.json.comments"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.dictionary.end.json.comments"}},name:"meta.structure.dictionary.json.comments",patterns:[{comment:"the JSON object key",include:"#objectkey"},{include:"#comments"},{begin:":",beginCaptures:{0:{name:"punctuation.separator.dictionary.key-value.json.comments"}},end:"(,)|(?=\\})",endCaptures:{1:{name:"punctuation.separator.dictionary.pair.json.comments"}},name:"meta.structure.dictionary.value.json.comments",patterns:[{comment:"the JSON object value",include:"#value"},{match:"[^\\s,]",name:"invalid.illegal.expected-dictionary-separator.json.comments"}]},{match:"[^\\s\\}]",name:"invalid.illegal.expected-dictionary-separator.json.comments"}]},objectkey:{begin:'"',beginCaptures:{0:{name:"punctuation.support.type.property-name.begin.json.comments"}},end:'"',endCaptures:{0:{name:"punctuation.support.type.property-name.end.json.comments"}},name:"string.json.comments support.type.property-name.json.comments",patterns:[{include:"#stringcontent"}]},string:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.json.comments"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.json.comments"}},name:"string.quoted.double.json.comments",patterns:[{include:"#stringcontent"}]},stringcontent:{patterns:[{match:`(?x) +\\\\ +(?: +["\\\\/bfnrt] +| +u +[0-9a-fA-F]{4})`,name:"constant.character.escape.json.comments"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json.comments"}]},value:{patterns:[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"}]}},scopeName:"source.json.comments"});var z=[$];const A=Object.freeze({displayName:"Pug",name:"pug",patterns:[{comment:"Doctype declaration.",match:"^(!!!|doctype)(\\s*[a-zA-Z0-9-_]+)?",name:"meta.tag.sgml.doctype.html"},{begin:"^(\\s*)//-",comment:"Unbuffered (pug-only) comments.",end:"^(?!(\\1\\s)|\\s*$)",name:"comment.unbuffered.block.pug"},{begin:"^(\\s*)//",comment:"Buffered (html) comments.",end:"^(?!(\\1\\s)|\\s*$)",name:"string.comment.buffered.block.pug",patterns:[{captures:{1:{name:"invalid.illegal.comment.comment.block.pug"}},comment:"Buffered comments inside buffered comments will generate invalid html.",match:"^\\s*(//)(?!-)",name:"string.comment.buffered.block.pug"}]},{begin:"<!--",end:"--\\s*>",name:"comment.unbuffered.block.pug",patterns:[{match:"--",name:"invalid.illegal.comment.comment.block.pug"}]},{begin:"^(\\s*)-$",comment:"Unbuffered code block.",end:"^(?!(\\1\\s)|\\s*$)",name:"source.js",patterns:[{include:"source.js"}]},{begin:"^(\\s*)(script)((\\.$)|(?=[^\\n]*((text|application)/javascript|module).*\\.$))",beginCaptures:{2:{name:"entity.name.tag.pug"}},comment:"Script tag with JavaScript code.",end:"^(?!(\\1\\s)|\\s*$)",name:"meta.tag.other",patterns:[{begin:"\\G(?=\\()",end:"$",patterns:[{include:"#tag_attributes"}]},{begin:"\\G(?=[.#])",end:"$",patterns:[{include:"#complete_tag"}]},{include:"source.js"}]},{begin:"^(\\s*)(style)((\\.$)|(?=[.#(].*\\.$))",beginCaptures:{2:{name:"entity.name.tag.pug"}},comment:"Style tag with CSS code.",end:"^(?!(\\1\\s)|\\s*$)",name:"meta.tag.other",patterns:[{begin:"\\G(?=\\()",end:"$",patterns:[{include:"#tag_attributes"}]},{begin:"\\G(?=[.#])",end:"$",patterns:[{include:"#complete_tag"}]},{include:"source.css"}]},{begin:"^(\\s*):(sass)(?=\\(|$)",beginCaptures:{2:{name:"constant.language.name.sass.filter.pug"}},end:"^(?!(\\1\\s)|\\s*$)",name:"source.sass.filter.pug",patterns:[{include:"#tag_attributes"},{include:"source.sass"}]},{begin:"^(\\s*):(scss)(?=\\(|$)",beginCaptures:{2:{name:"constant.language.name.scss.filter.pug"}},end:"^(?!(\\1\\s)|\\s*$)",name:"source.css.scss.filter.pug",patterns:[{include:"#tag_attributes"},{include:"source.css.scss"}]},{begin:"^(\\s*):(less)(?=\\(|$)",beginCaptures:{2:{name:"constant.language.name.less.filter.pug"}},end:"^(?!(\\1\\s)|\\s*$)",name:"source.less.filter.pug",patterns:[{include:"#tag_attributes"},{include:"source.less"}]},{begin:"^(\\s*):(stylus)(?=\\(|$)",beginCaptures:{2:{name:"constant.language.name.stylus.filter.pug"}},end:"^(?!(\\1\\s)|\\s*$)",patterns:[{include:"#tag_attributes"},{include:"source.stylus"}]},{begin:"^(\\s*):(coffee(-?script)?)(?=\\(|$)",beginCaptures:{2:{name:"constant.language.name.coffeescript.filter.pug"}},end:"^(?!(\\1\\s)|\\s*$)",name:"source.coffeescript.filter.pug",patterns:[{include:"#tag_attributes"},{include:"source.coffee"}]},{begin:"^(\\s*):(uglify-js)(?=\\(|$)",beginCaptures:{2:{name:"constant.language.name.js.filter.pug"}},end:"^(?!(\\1\\s)|\\s*$)",name:"source.js.filter.pug",patterns:[{include:"#tag_attributes"},{include:"source.js"}]},{begin:"^(\\s*)((:(?=.))|(:$))",beginCaptures:{4:{name:"invalid.illegal.empty.generic.filter.pug"}},comment:"Generic Pug filter.",end:"^(?!(\\1\\s)|\\s*$)",patterns:[{begin:"\\G(?<=:)(?=.)",end:"$",name:"name.generic.filter.pug",patterns:[{match:"\\G\\(",name:"invalid.illegal.name.generic.filter.pug"},{match:"[\\w-]",name:"constant.language.name.generic.filter.pug"},{include:"#tag_attributes"},{match:"\\W",name:"invalid.illegal.name.generic.filter.pug"}]}]},{begin:`^(\\s*)(?:(?=\\.$)|(?:(?=[\\w.#].*?\\.$)(?=(?:(?:(?:(?:(?:#[\\w-]+)|(?:\\.[\\w-]+))|(?:(?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))(?:(?:#[\\w-]+)|(?:\\.[\\w-]+)|(?:\\((?:[^()\\'\\"]*(?:(?:\\'(?:[^\\']|(?:(?<!\\\\)\\\\\\'))*\\')|(?:\\"(?:[^\\"]|(?:(?<!\\\\)\\\\\\"))*\\")))*[^()]*\\))*)*)(?:(?:(?::\\s+)|(?<=\\)))(?:(?:(?:(?:#[\\w-]+)|(?:\\.[\\w-]+))|(?:(?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))(?:(?:#[\\w-]+)|(?:\\.[\\w-]+)|(?:\\((?:[^()\\'\\"]*(?:(?:\\'(?:[^\\']|(?:(?<!\\\\)\\\\\\'))*\\')|(?:\\"(?:[^\\"]|(?:(?<!\\\\)\\\\\\"))*\\")))*[^()]*\\))*)*))*)\\.$)(?:(?:(#[\\w-]+)|(\\.[\\w-]+))|((?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))))`,beginCaptures:{2:{name:"meta.selector.css entity.other.attribute-name.id.css.pug"},3:{name:"meta.selector.css entity.other.attribute-name.class.css.pug"},4:{name:"meta.tag.other entity.name.tag.pug"}},comment:"Generated from dot_block_tag.py",end:"^(?!(\\1\\s)|\\s*$)",patterns:[{match:"\\.$",name:"storage.type.function.pug.dot-block-dot"},{include:"#tag_attributes"},{include:"#complete_tag"},{begin:"^(?=.)",end:"$",name:"text.block.pug",patterns:[{include:"#inline_pug"},{include:"#embedded_html"},{include:"#html_entity"},{include:"#interpolated_value"},{include:"#interpolated_error"}]}]},{begin:"^\\s*",comment:"All constructs that generally span a single line starting with any number of white-spaces.",end:"$",patterns:[{include:"#inline_pug"},{include:"#blocks_and_includes"},{include:"#unbuffered_code"},{include:"#mixin_definition"},{include:"#mixin_call"},{include:"#flow_control"},{include:"#flow_control_each"},{include:"#case_conds"},{begin:"\\|",comment:"Tag pipe text line.",end:"$",name:"text.block.pipe.pug",patterns:[{include:"#inline_pug"},{include:"#embedded_html"},{include:"#html_entity"},{include:"#interpolated_value"},{include:"#interpolated_error"}]},{include:"#printed_expression"},{begin:"\\G(?=(#[^\\{\\w-])|[^\\w.#])",comment:"Line starting with characters incompatible with tag name/id/class is standalone text.",end:"$",patterns:[{begin:"</?(?=[!#])",end:">|$",patterns:[{include:"#inline_pug"},{include:"#interpolated_value"},{include:"#interpolated_error"}]},{include:"#inline_pug"},{include:"#embedded_html"},{include:"#html_entity"},{include:"#interpolated_value"},{include:"#interpolated_error"}]},{include:"#complete_tag"}]}],repository:{babel_parens:{begin:"\\(",end:"\\)|(({\\s*)?$)",patterns:[{include:"#babel_parens"},{include:"source.js"}]},blocks_and_includes:{captures:{1:{name:"storage.type.import.include.pug"},4:{name:"variable.control.import.include.pug"}},comment:"Template blocks and includes.",match:"(extends|include|yield|append|prepend|block( (append|prepend))?)\\s+(.*)$",name:"meta.first-class.pug"},case_conds:{begin:"(default|when)((\\s+|(?=:))|$)",captures:{1:{name:"storage.type.function.pug"}},comment:"Pug case conditionals.",end:"$",name:"meta.control.flow.pug",patterns:[{begin:"\\G(?!:)",end:"(?=:\\s+)|$",name:"js.embedded.control.flow.pug",patterns:[{include:"#case_when_paren"},{include:"source.js"}]},{begin:":\\s+",end:"$",name:"tag.case.control.flow.pug",patterns:[{include:"#complete_tag"}]}]},case_when_paren:{begin:"\\(",end:"\\)",name:"js.when.control.flow.pug",patterns:[{include:"#case_when_paren"},{match:":",name:"invalid.illegal.name.tag.pug"},{include:"source.js"}]},complete_tag:{begin:"(?=[\\w.#])|(:\\s*)",end:"(\\.?$)|(?=:.)",endCaptures:{1:{name:"storage.type.function.pug.dot-block-dot"}},patterns:[{include:"#blocks_and_includes"},{include:"#unbuffered_code"},{include:"#mixin_call"},{include:"#flow_control"},{include:"#flow_control_each"},{match:"(?<=:)\\w.*$",name:"invalid.illegal.name.tag.pug"},{include:"#tag_name"},{include:"#tag_id"},{include:"#tag_classes"},{include:"#tag_attributes"},{include:"#tag_mixin_attributes"},{captures:{2:{name:"invalid.illegal.end.tag.pug"},4:{name:"invalid.illegal.end.tag.pug"}},match:"((\\.)\\s+$)|((:)\\s*$)"},{include:"#printed_expression"},{include:"#tag_text"}]},embedded_html:{begin:"(?=<[^>]*>)",end:"$|(?=>)",name:"html",patterns:[{include:"text.html.basic"},{include:"#interpolated_value"},{include:"#interpolated_error"}]},flow_control:{begin:"(for|if|else if|else|until|while|unless|case)(\\s+|$)",captures:{1:{name:"storage.type.function.pug"}},comment:"Pug control flow.",end:"$",name:"meta.control.flow.pug",patterns:[{begin:"",end:"$",name:"js.embedded.control.flow.pug",patterns:[{include:"source.js"}]}]},flow_control_each:{begin:"(each)(\\s+|$)",captures:{1:{name:"storage.type.function.pug"}},end:"$",name:"meta.control.flow.pug.each",patterns:[{match:"([\\w$_]+)(?:\\s*,\\s*([\\w$_]+))?",name:"variable.other.pug.each-var"},{begin:"",end:"$",name:"js.embedded.control.flow.pug",patterns:[{include:"source.js"}]}]},html_entity:{patterns:[{match:"(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",name:"constant.character.entity.html.text.pug"},{match:"[<>&]",name:"invalid.illegal.html_entity.text.pug"}]},inline_pug:{begin:"(?<!\\\\)(#\\[)",captures:{1:{name:"entity.name.function.pug"},2:{name:"entity.name.function.pug"}},end:"(\\])",name:"inline.pug",patterns:[{include:"#inline_pug"},{include:"#mixin_call"},{begin:"(?<!\\])(?=[\\w.#])|(:\\s*)",end:"(?=\\]|(:.)|=|\\s)",name:"tag.inline.pug",patterns:[{include:"#tag_name"},{include:"#tag_id"},{include:"#tag_classes"},{include:"#tag_attributes"},{include:"#tag_mixin_attributes"},{include:"#inline_pug"},{match:"\\[",name:"invalid.illegal.tag.pug"}]},{include:"#unbuffered_code"},{include:"#printed_expression"},{match:"\\[",name:"invalid.illegal.tag.pug"},{include:"#inline_pug_text"}]},inline_pug_text:{begin:"",end:"(?=\\])",patterns:[{begin:"\\[",end:"\\]",patterns:[{include:"#inline_pug_text"}]},{include:"#inline_pug"},{include:"#embedded_html"},{include:"#html_entity"},{include:"#interpolated_value"},{include:"#interpolated_error"}]},interpolated_error:{match:"(?<!\\\\)[#!]\\{(?=[^}]*$)",name:"invalid.illegal.tag.pug"},interpolated_value:{begin:"(?<!\\\\)[#!]\\{(?=.*?\\})",end:"\\}",name:"string.interpolated.pug",patterns:[{match:"{",name:"invalid.illegal.tag.pug"},{include:"source.js"}]},js_braces:{begin:"\\{",end:"\\}",patterns:[{include:"#js_braces"},{include:"source.js"}]},js_brackets:{begin:"\\[",end:"\\]",patterns:[{include:"#js_brackets"},{include:"source.js"}]},js_parens:{begin:"\\(",end:"\\)",patterns:[{include:"#js_parens"},{include:"source.js"}]},mixin_call:{begin:"((?:mixin\\s+)|\\+)([\\w-]+)",beginCaptures:{1:{name:"storage.type.function.pug"},2:{name:"meta.tag.other entity.name.function.pug"}},end:"(?!\\()|$",patterns:[{begin:"(?<!\\))\\(",end:"\\)",name:"args.mixin.pug",patterns:[{include:"#js_parens"},{captures:{1:{name:"meta.tag.other entity.other.attribute-name.tag.pug"}},match:"([^\\s(),=/]+)\\s*=\\s*"},{include:"source.js"}]},{include:"#tag_attributes"}]},mixin_definition:{captures:{1:{name:"storage.type.function.pug"},2:{name:"meta.tag.other entity.name.function.pug"},3:{name:"punctuation.definition.parameters.begin.js"},4:{name:"variable.parameter.function.js"},5:{name:"punctuation.definition.parameters.begin.js"}},match:"(mixin\\s+)([\\w-]+)(?:(\\()\\s*((?:[a-zA-Z_]\\w*\\s*)(?:,\\s*[a-zA-Z_]\\w*\\s*)*)(\\)))?$"},printed_expression:{begin:"(!?\\=)\\s*",captures:{1:{name:"constant"}},end:"(?=\\])|$",name:"source.js",patterns:[{include:"#js_brackets"},{include:"source.js"}]},tag_attribute_name:{captures:{1:{name:"entity.other.attribute-name.tag.pug"}},match:"([^\\s(),=/!]+)\\s*"},tag_attribute_name_paren:{begin:"\\(\\s*",end:"\\)",name:"entity.other.attribute-name.tag.pug",patterns:[{include:"#tag_attribute_name_paren"},{include:"#tag_attribute_name"}]},tag_attributes:{begin:"(\\(\\s*)",captures:{1:{name:"constant.name.attribute.tag.pug"}},end:"(\\))",name:"meta.tag.other",patterns:[{include:"#tag_attribute_name_paren"},{include:"#tag_attribute_name"},{match:"!(?!=)",name:"invalid.illegal.tag.pug"},{begin:"=\\s*",end:"$|(?=,|(?:\\s+[^!%&*\\-+~|<>?/])|\\))",name:"attribute_value",patterns:[{include:"#js_parens"},{include:"#js_brackets"},{include:"#js_braces"},{include:"source.js"}]},{begin:"(?<=[%&*\\-+~|<>:?/])\\s+",end:"$|(?=,|(?:\\s+[^!%&*\\-+~|<>?/])|\\))",name:"attribute_value2",patterns:[{include:"#js_parens"},{include:"#js_brackets"},{include:"#js_braces"},{include:"source.js"}]}]},tag_classes:{captures:{1:{name:"invalid.illegal.tag.pug"}},match:"\\.([^\\w-])?[\\w-]*",name:"meta.selector.css entity.other.attribute-name.class.css.pug"},tag_id:{match:"#[\\w-]+",name:"meta.selector.css entity.other.attribute-name.id.css.pug"},tag_mixin_attributes:{begin:"(&attributes\\()",captures:{1:{name:"entity.name.function.pug"}},end:"(\\))",name:"meta.tag.other",patterns:[{match:"attributes(?=\\))",name:"storage.type.keyword.pug"},{include:"source.js"}]},tag_name:{begin:"([#!]\\{(?=.*?\\}))|(\\w(([\\w:-]+[\\w-])|([\\w-]*)))",end:"(\\G(?<!\\5[^\\w-]))|\\}|$",name:"meta.tag.other entity.name.tag.pug",patterns:[{begin:"\\G(?<=\\{)",end:"(?=\\})",name:"meta.tag.other entity.name.tag.pug",patterns:[{match:"{",name:"invalid.illegal.tag.pug"},{include:"source.js"}]}]},tag_text:{begin:"(?=.)",end:"$",patterns:[{include:"#inline_pug"},{include:"#embedded_html"},{include:"#html_entity"},{include:"#interpolated_value"},{include:"#interpolated_error"}]},unbuffered_code:{begin:"(-|(([a-zA-Z0-9_]+)\\s+=))",beginCaptures:{3:{name:"variable.parameter.javascript.embedded.pug"}},comment:"name = function() {}",end:"(?=\\])|(({\\s*)?$)",name:"source.js",patterns:[{include:"#js_brackets"},{include:"#babel_parens"},{include:"source.js"}]}},scopeName:"text.pug",embeddedLangs:["javascript","css","sass","scss","stylus","coffee","html"],aliases:["jade"]});var j=[...e,...t,...c,...r,...o,...h,...n,A];const Z=Object.freeze({displayName:"TOML",fileTypes:["toml"],name:"toml",patterns:[{include:"#comments"},{include:"#groups"},{include:"#key_pair"},{include:"#invalid"}],repository:{comments:{begin:"(^[ \\t]+)?(?=#)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.toml"}},end:"(?!\\G)",patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.toml"}},end:"\\n",name:"comment.line.number-sign.toml"}]},groups:{patterns:[{captures:{1:{name:"punctuation.definition.section.begin.toml"},2:{patterns:[{match:"[^\\s.]+",name:"entity.name.section.toml"}]},3:{name:"punctuation.definition.section.begin.toml"}},match:"^\\s*(\\[)([^\\[\\]]*)(\\])",name:"meta.group.toml"},{captures:{1:{name:"punctuation.definition.section.begin.toml"},2:{patterns:[{match:"[^\\s.]+",name:"entity.name.section.toml"}]},3:{name:"punctuation.definition.section.begin.toml"}},match:"^\\s*(\\[\\[)([^\\[\\]]*)(\\]\\])",name:"meta.group.double.toml"}]},invalid:{match:"\\S+(\\s*(?=\\S))?",name:"invalid.illegal.not-allowed-here.toml"},key_pair:{patterns:[{begin:"([A-Za-z0-9_-]+)\\s*(=)\\s*",captures:{1:{name:"variable.other.key.toml"},2:{name:"punctuation.separator.key-value.toml"}},end:"(?<=\\S)(?<!=)|$",patterns:[{include:"#primatives"}]},{begin:'((")(.*?)("))\\s*(=)\\s*',captures:{1:{name:"variable.other.key.toml"},2:{name:"punctuation.definition.variable.begin.toml"},3:{patterns:[{match:'\\\\([btnfr"\\\\]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})',name:"constant.character.escape.toml"},{match:'\\\\[^btnfr"\\\\]',name:"invalid.illegal.escape.toml"},{match:'"',name:"invalid.illegal.not-allowed-here.toml"}]},4:{name:"punctuation.definition.variable.end.toml"},5:{name:"punctuation.separator.key-value.toml"}},end:"(?<=\\S)(?<!=)|$",patterns:[{include:"#primatives"}]},{begin:"((')([^']*)('))\\s*(=)\\s*",captures:{1:{name:"variable.other.key.toml"},2:{name:"punctuation.definition.variable.begin.toml"},4:{name:"punctuation.definition.variable.end.toml"},5:{name:"punctuation.separator.key-value.toml"}},end:"(?<=\\S)(?<!=)|$",patterns:[{include:"#primatives"}]},{begin:`(?x) +( +( +(?: +[A-Za-z0-9_-]+ +| " (?:[^"\\\\]|\\\\.)* " +| ' [^']* ' +) +(?: +\\s* \\. \\s* +| (?= \\s* =) +) +){2,} +) +\\s*(=)\\s* +`,captures:{1:{name:"variable.other.key.toml",patterns:[{match:"\\.",name:"punctuation.separator.variable.toml"},{captures:{1:{name:"punctuation.definition.variable.begin.toml"},2:{patterns:[{match:'\\\\([btnfr"\\\\]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})',name:"constant.character.escape.toml"},{match:'\\\\[^btnfr"\\\\]',name:"invalid.illegal.escape.toml"}]},3:{name:"punctuation.definition.variable.end.toml"}},match:'(")((?:[^"\\\\]|\\\\.)*)(")'},{captures:{1:{name:"punctuation.definition.variable.begin.toml"},2:{name:"punctuation.definition.variable.end.toml"}},match:"(')[^']*(')"}]},3:{name:"punctuation.separator.key-value.toml"}},comment:"Dotted key",end:"(?<=\\S)(?<!=)|$",patterns:[{include:"#primatives"}]}]},primatives:{patterns:[{begin:'\\G"""',beginCaptures:{0:{name:"punctuation.definition.string.begin.toml"}},end:'"{3,5}',endCaptures:{0:{name:"punctuation.definition.string.end.toml"}},name:"string.quoted.triple.double.toml",patterns:[{match:'\\\\([btnfr"\\\\]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})',name:"constant.character.escape.toml"},{match:'\\\\[^btnfr"\\\\\\n]',name:"invalid.illegal.escape.toml"}]},{begin:'\\G"',beginCaptures:{0:{name:"punctuation.definition.string.begin.toml"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.toml"}},name:"string.quoted.double.toml",patterns:[{match:'\\\\([btnfr"\\\\]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})',name:"constant.character.escape.toml"},{match:'\\\\[^btnfr"\\\\]',name:"invalid.illegal.escape.toml"}]},{begin:"\\G'''",beginCaptures:{0:{name:"punctuation.definition.string.begin.toml"}},end:"'{3,5}",endCaptures:{0:{name:"punctuation.definition.string.end.toml"}},name:"string.quoted.triple.single.toml"},{begin:"\\G'",beginCaptures:{0:{name:"punctuation.definition.string.begin.toml"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.toml"}},name:"string.quoted.single.toml"},{match:`\\G(?x) +[0-9]{4} +- +(0[1-9]|1[012]) +- +(?!00|3[2-9])[0-3][0-9] +( +[Tt ] +(?!2[5-9])[0-2][0-9] +: +[0-5][0-9] +: +(?!6[1-9])[0-6][0-9] +(\\.[0-9]+)? +( +Z +| [+-](?!2[5-9])[0-2][0-9]:[0-5][0-9] +)? +)? +`,name:"constant.other.date.toml"},{match:`\\G(?x) +(?!2[5-9])[0-2][0-9] +: +[0-5][0-9] +: +(?!6[1-9])[0-6][0-9] +(\\.[0-9]+)? +`,name:"constant.other.time.toml"},{match:"\\G(true|false)",name:"constant.language.boolean.toml"},{match:"\\G0x\\h(\\h|_\\h)*",name:"constant.numeric.hex.toml"},{match:"\\G0o[0-7]([0-7]|_[0-7])*",name:"constant.numeric.octal.toml"},{match:"\\G0b[01]([01]|_[01])*",name:"constant.numeric.binary.toml"},{match:"\\G[+-]?(inf|nan)",name:"constant.numeric.toml"},{match:`(?x) +\\G +( +[+-]? +( +0 +| ([1-9](([0-9]|_[0-9])+)?) +) +) +(?=[.eE]) +( +\\. +([0-9](([0-9]|_[0-9])+)?) +)? +( +[eE] +([+-]?[0-9](([0-9]|_[0-9])+)?) +)? +`,name:"constant.numeric.float.toml"},{match:`(?x) +\\G +( +[+-]? +( +0 +| ([1-9](([0-9]|_[0-9])+)?) +) +) +`,name:"constant.numeric.integer.toml"},{begin:"\\G\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.toml"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.toml"}},name:"meta.array.toml",patterns:[{begin:`(?=["'']|[+-]?[0-9]|[+-]?(inf|nan)|true|false|\\[|\\{)`,end:",|(?=])",endCaptures:{0:{name:"punctuation.separator.array.toml"}},patterns:[{include:"#primatives"},{include:"#comments"},{include:"#invalid"}]},{include:"#comments"},{include:"#invalid"}]},{begin:"\\G\\{",beginCaptures:{0:{name:"punctuation.definition.inline-table.begin.toml"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.inline-table.end.toml"}},name:"meta.inline-table.toml",patterns:[{begin:"(?=\\S)",end:",|(?=})",endCaptures:{0:{name:"punctuation.separator.inline-table.toml"}},patterns:[{include:"#key_pair"}]},{include:"#comments"}]}]}},scopeName:"source.toml"});var F=[Z];const N=Object.freeze({fileTypes:[],injectTo:["text.html.markdown"],injectionSelector:"L:text.html.markdown",name:"markdown-vue",patterns:[{include:"#vue-code-block"}],repository:{"vue-code-block":{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vue)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",beginCaptures:{3:{name:"punctuation.definition.markdown"},4:{name:"fenced_code.block.language.markdown"},5:{name:"fenced_code.block.language.attributes.markdown"}},end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",endCaptures:{3:{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{include:"source.vue"}]}},scopeName:"markdown.vue.codeblock"});var S=[N];const E=Object.freeze({fileTypes:[],injectTo:["source.vue","text.html.markdown","text.html.derivative","text.pug"],injectionSelector:"L:meta.tag -meta.attribute -entity.name.tag.pug -attribute_value -source.tsx -source.js.jsx, L:meta.element -meta.attribute",name:"vue-directives",patterns:[{include:"source.vue#vue-directives"}],scopeName:"vue.directives"});var D=[E];const T=Object.freeze({fileTypes:[],injectTo:["source.vue","text.html.markdown","text.html.derivative","text.pug"],injectionSelector:"L:text.pug -comment -string.comment, L:text.html.derivative -comment.block, L:text.html.markdown -comment.block",name:"vue-interpolations",patterns:[{include:"source.vue#vue-interpolations"}],scopeName:"vue.interpolations"});var G=[T];const L=Object.freeze({fileTypes:[],injectTo:["source.vue"],injectionSelector:"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment",name:"vue-sfc-style-variable-injection",patterns:[{include:"#vue-sfc-style-variable-injection"}],repository:{"vue-sfc-style-variable-injection":{begin:"\\b(v-bind)\\s*\\(",beginCaptures:{1:{name:"entity.name.function"}},end:"\\)",name:"vue.sfc.style.variable.injection.v-bind",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"}},end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"source.ts.embedded.html.vue",patterns:[{include:"source.js"}]},{include:"source.js"}]}},scopeName:"vue.sfc.style.variable.injection",embeddedLangs:["javascript"]});var P=[...e,L];const O=Object.freeze({displayName:"Vue",name:"vue",patterns:[{include:"text.html.basic#comment"},{include:"#self-closing-tag"},{begin:"(<)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},patterns:[{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)md\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.html.markdown",patterns:[{include:"text.html.markdown"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)html\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)pug\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text.pug",patterns:[{include:"text.pug"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)stylus\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.stylus",patterns:[{include:"source.stylus"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)postcss\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.postcss",patterns:[{include:"source.postcss"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)sass\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.sass",patterns:[{include:"source.sass"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)css\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css",patterns:[{include:"source.css"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)scss\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css.scss",patterns:[{include:"source.css.scss"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)less\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.css.less",patterns:[{include:"source.css.less"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)js\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.js",patterns:[{include:"source.js"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)ts\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.ts",patterns:[{include:"source.ts"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)jsx\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.js.jsx",patterns:[{include:"source.js.jsx"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)tsx\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.tsx",patterns:[{include:"source.tsx"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)json\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json",patterns:[{include:"source.json"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)jsonc\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json.comments",patterns:[{include:"source.json.comments"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)json5\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.json5",patterns:[{include:"source.json5"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)yaml\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.yaml",patterns:[{include:"source.yaml"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)toml\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.toml",patterns:[{include:"source.toml"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)(gql|graphql)\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.graphql",patterns:[{include:"source.graphql"}]}]},{begin:`([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['"]?)vue\\b\\2)`,beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"source.vue",patterns:[{include:"source.vue"}]}]},{begin:"(template)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/template\\b)",name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:"(script)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/script\\b)",name:"source.js",patterns:[{include:"source.js"}]}]},{begin:"(style)\\b",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/style\\b)",name:"source.css",patterns:[{include:"source.css"}]}]},{begin:"([a-zA-Z0-9:-]+)",beginCaptures:{1:{name:"entity.name.tag.$1.html.vue"}},end:"(</)(\\1)\\s*(?=>)",endCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:"(?<=>)",end:"(?=<\\/)",name:"text"}]}]}],repository:{"html-stuff":{patterns:[{include:"#template-tag"},{include:"text.html.derivative"},{include:"text.html.basic"}]},"self-closing-tag":{begin:"(<)([a-zA-Z0-9:-]+)(?=([^>]+/>))",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},end:"(/>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"self-closing-tag",patterns:[{include:"#tag-stuff"}]},"tag-stuff":{begin:"\\G",end:"(?=/>)|(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.tag-stuff",patterns:[{include:"#vue-directives"},{include:"text.html.basic#attribute"}]},"template-tag":{patterns:[{include:"#template-tag-1"},{include:"#template-tag-2"}]},"template-tag-1":{begin:"(<)(template)\\b(>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"},3:{name:"punctuation.definition.tag.end.html.vue"}},end:"(/?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:"\\G",end:"(?=/>)|((</)(template)\\b)",endCaptures:{2:{name:"punctuation.definition.tag.begin.html.vue"},3:{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#html-stuff"}]}]},"template-tag-2":{begin:"(<)(template)\\b",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html.vue"},2:{name:"entity.name.tag.$2.html.vue"}},end:"(/?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:"\\G",end:"(?=/>)|((</)(template)\\b)",endCaptures:{2:{name:"punctuation.definition.tag.begin.html.vue"},3:{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#tag-stuff"},{include:"#html-stuff"}]}]},"vue-directives":{patterns:[{include:"#vue-directives-control"},{include:"#vue-directives-style-attr"},{include:"#vue-directives-original"},{include:"#vue-directives-generic-attr"}]},"vue-directives-control":{begin:"(v-for)|(v-if|v-else-if|v-else)",captures:{1:{name:"keyword.control.loop.vue"},2:{name:"keyword.control.conditional.vue"}},end:"(?=\\s*+[^=\\s])",name:"meta.attribute.directive.control.vue",patterns:[{include:"#vue-directives-expression"}]},"vue-directives-expression":{patterns:[{begin:"(=)\\s*('|\"|`)",beginCaptures:{1:{name:"punctuation.separator.key-value.html.vue"},2:{name:"punctuation.definition.string.begin.html.vue"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},patterns:[{begin:"(?<=('|\"|`))",end:"(?=\\1)",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts"}]}]},{begin:"(=)\\s*(?=[^'\"`])",beginCaptures:{1:{name:"punctuation.separator.key-value.html.vue"}},end:"(?=(\\s|>|\\/>))",patterns:[{begin:"(?=[^'\"`])",end:"(?=(\\s|>|\\/>))",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts"}]}]}]},"vue-directives-generic-attr":{begin:"\\b(generic)\\s*(=)",captures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.separator.key-value.html.vue"}},end:`(?<='|")`,name:"meta.attribute.generic.vue",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.string.begin.html.vue"}},comment:"https://github.com/microsoft/vscode/blob/fd4346210f59135fad81a8b8c4cea7bf5a9ca6b4/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json#L4002-L4020",end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"meta.type.parameters.vue",patterns:[{include:"source.ts#comment"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",name:"storage.modifier.ts"},{include:"source.ts#type"},{include:"source.ts#punctuation-comma"},{match:"(=)(?!>)",name:"keyword.operator.assignment.ts"}]}]},"vue-directives-original":{begin:"(?:\\b(v-)|([:\\.])|(@)|(#))(\\[?)([\\w\\-]*)(\\]?)(?:\\.([\\w\\-]*))*",beginCaptures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.attribute-shorthand.bind.html.vue"},3:{name:"punctuation.attribute-shorthand.event.html.vue"},4:{name:"punctuation.attribute-shorthand.slot.html.vue"},5:{name:"punctuation.separator.key-value.html.vue"},6:{name:"entity.other.attribute-name.html.vue"},7:{name:"punctuation.separator.key-value.html.vue"},8:{name:"entity.other.attribute-name.html.vue"},9:{name:"punctuation.separator.key-value.html.vue"}},end:"(?=\\s*+[^=\\s])",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"meta.attribute.directive.vue",patterns:[{include:"#vue-directives-expression"}]},"vue-directives-style-attr":{begin:"\\b(style)\\s*(=)",captures:{1:{name:"entity.other.attribute-name.html.vue"},2:{name:"punctuation.separator.key-value.html.vue"}},end:`(?<='|")`,name:"meta.attribute.style.vue",patterns:[{begin:`('|")`,beginCaptures:{1:{name:"punctuation.definition.string.begin.html.vue"}},comment:"Copy from source.css#rule-list-innards",end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.string.end.html.vue"}},name:"source.css.embedded.html.vue",patterns:[{include:"source.css#comment-block"},{include:"source.css#escapes"},{include:"source.css#font-features"},{match:`(?x) (?<![\\w-]) +-- +(?:[-a-zA-Z_] | [^\\x00-\\x7F]) +(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] +|\\\\(?:[0-9a-fA-F]{1,6}|.) +)*`,name:"variable.css"},{begin:"(?<![-a-zA-Z])(?=[-a-zA-Z])",end:"$|(?![-a-zA-Z])",name:"meta.property-name.css",patterns:[{include:"source.css#property-names"}]},{begin:"(:)\\s*",beginCaptures:{1:{name:"punctuation.separator.key-value.css"}},comment:"Modify end to fix #199. TODO: handle ' character.",contentName:"meta.property-value.css",end:`\\s*(;)|\\s*(?='|")`,endCaptures:{1:{name:"punctuation.terminator.rule.css"}},patterns:[{include:"source.css#comment-block"},{include:"source.css#property-values"}]},{match:";",name:"punctuation.terminator.rule.css"}]}]},"vue-interpolations":{patterns:[{begin:"(\\{\\{)",beginCaptures:{1:{name:"punctuation.definition.interpolation.begin.html.vue"}},end:"(\\}\\})",endCaptures:{1:{name:"punctuation.definition.interpolation.end.html.vue"}},name:"expression.embedded.vue",patterns:[{begin:"\\G",end:"(?=\\}\\})",name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts"}]}]}]}},scopeName:"source.vue",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","json","jsonc","json5","yaml","toml","graphql","html-derivative","markdown-vue","vue-directives","vue-interpolations","vue-sfc-style-variable-injection"]});var V=[...n,...l,...j,...o,...c,...t,...r,...b,...e,...a,...i,...s,...u,...z,...q,...k,...F,...v,...x,...S,...D,...G,...P,O];export{V as default}; diff --git a/assets/xychartDiagram-e50adddc-5XzaGkt4.js b/assets/xychartDiagram-e50adddc-5XzaGkt4.js new file mode 100644 index 00000000000..f82154bfcaf --- /dev/null +++ b/assets/xychartDiagram-e50adddc-5XzaGkt4.js @@ -0,0 +1,7 @@ +import{Q as zt,a3 as ot,a5 as wt,R as Ft,s as Nt,g as Xt,p as Yt,q as St,a as Ht,b as $t,r as Ut,l as Ct,B as qt,i as jt,d as Gt}from"./mermaid.core-wTs8WatG.js";import{a as Qt}from"./createText-423428c9-K2AvnXL1.js";import"./request-bY2SEZNN.js";import{i as Kt}from"./init-Hi12RPRh.js";import{o as Zt}from"./ordinal-wXG5obU4.js";import{l as dt}from"./linear-2m3rEmg6.js";import{l as ft}from"./line-NZ5yCA7P.js";import"./index-ZXl4th35.js";import"./index.demo-Ru9opRL4.js";import"./index-ISduWuPC.js";import"./FormInput-i0fsPScC.js";import"./viewport-l4O6ZIBM.js";import"./toast-dlXalurG.js";import"./motion-minimal-epsqYg85.js";import"./StyledButton-VgryXAte.js";import"./env-y9k74Ds6.js";import"./LinkCard-AonZnIUQ.js";import"./image-fdtjzFNr.js";import"./provider-XKwIHqOQ.js";import"./use-is-unmounted-dmgvzXDy.js";import"./spring-hnK4kZop.js";import"./use-event-callback-ULpIcVk8.js";import"./dom-NuJWIaAq.js";import"./visual-element-tlU1-krp.js";import"./index-LA8z4iWc.js";import"./use-is-client-6Iy0halI.js";import"./AutoResizeHeight-dtcKGJMw.js";import"./lodash-lrAbnKsZ.js";import"./use-is-dark-IiysOCcN.js";import"./Gallery-QJ8JjQGt.js";import"./alert-fERsLyJJ.js";import"./FloatPopover-3waN72gb.js";import"./SocialSourceLink-Fjgxzjol.js";import"./CodeHighlighter-Mm1eioOt.js";import"./Collapse-btcJozxA.js";import"./useQuery-3CoUXB5U.js";import"./index-HwaUk8nX.js";import"./CodeEditor-AByBrAxP.js";import"./index-D4F-WjWJ.js";import"./Mermaid-gWIn58QC.js";import"./Form-kbLn7dW2.js";import"./array-Nw74a44z.js";import"./path-aUcfwwLI.js";function Jt(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s<n;)o[s]=e+s*i;return o}function st(){var e=Zt().unknown(void 0),t=e.domain,i=e.range,s=0,n=1,o,c,d=!1,p=0,R=0,_=.5;delete e.unknown;function A(){var m=t().length,T=n<s,S=T?n:s,P=T?s:n;o=(P-S)/Math.max(1,m-p+R*2),d&&(o=Math.floor(o)),S+=(P-S-o*(m-p))*_,c=o*(1-p),d&&(S=Math.round(S),c=Math.round(c));var f=Jt(m).map(function(C){return S+o*C});return i(T?f.reverse():f)}return e.domain=function(m){return arguments.length?(t(m),A()):t()},e.range=function(m){return arguments.length?([s,n]=m,s=+s,n=+n,A()):[s,n]},e.rangeRound=function(m){return[s,n]=m,s=+s,n=+n,d=!0,A()},e.bandwidth=function(){return c},e.step=function(){return o},e.round=function(m){return arguments.length?(d=!!m,A()):d},e.padding=function(m){return arguments.length?(p=Math.min(1,R=+m),A()):p},e.paddingInner=function(m){return arguments.length?(p=Math.min(1,m),A()):p},e.paddingOuter=function(m){return arguments.length?(R=+m,A()):R},e.align=function(m){return arguments.length?(_=Math.max(0,Math.min(1,m)),A()):_},e.copy=function(){return st(t(),[s,n]).round(d).paddingInner(p).paddingOuter(R).align(_)},Kt.apply(A(),arguments)}var nt=function(){var e=function(V,r,l,u){for(l=l||{},u=V.length;u--;l[V[u]]=r);return l},t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],o=[1,6],c=[1,7],d=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],R=[1,26],_=[1,28],A=[1,29],m=[1,30],T=[1,31],S=[1,32],P=[1,33],f=[1,34],C=[1,35],h=[1,36],L=[1,37],z=[1,43],lt=[1,42],ct=[1,47],$=[1,50],w=[1,10,12,14,16,18,19,21,23,34,35,36],Q=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],E=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],ut=[1,64],K={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:function(r,l,u,g,b,a,F){var x=a.length-1;switch(b){case 5:g.setOrientation(a[x]);break;case 9:g.setDiagramTitle(a[x].text.trim());break;case 12:g.setLineData({text:"",type:"text"},a[x]);break;case 13:g.setLineData(a[x-1],a[x]);break;case 14:g.setBarData({text:"",type:"text"},a[x]);break;case 15:g.setBarData(a[x-1],a[x]);break;case 16:this.$=a[x].trim(),g.setAccTitle(this.$);break;case 17:case 18:this.$=a[x].trim(),g.setAccDescription(this.$);break;case 19:this.$=a[x-1];break;case 20:this.$=[Number(a[x-2]),...a[x]];break;case 21:this.$=[Number(a[x])];break;case 22:g.setXAxisTitle(a[x]);break;case 23:g.setXAxisTitle(a[x-1]);break;case 24:g.setXAxisTitle({type:"text",text:""});break;case 25:g.setXAxisBand(a[x]);break;case 26:g.setXAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 27:this.$=a[x-1];break;case 28:this.$=[a[x-2],...a[x]];break;case 29:this.$=[a[x]];break;case 30:g.setYAxisTitle(a[x]);break;case 31:g.setYAxisTitle(a[x-1]);break;case 32:g.setYAxisTitle({type:"text",text:""});break;case 33:g.setYAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 37:this.$={text:a[x],type:"text"};break;case 38:this.$={text:a[x],type:"text"};break;case 39:this.$={text:a[x],type:"markdown"};break;case 40:this.$=a[x];break;case 41:this.$=a[x-1]+""+a[x];break}},table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:o,36:c}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:o,36:c}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:o,36:c}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(d,[2,34]),e(d,[2,35]),e(d,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:o,36:c}),{1:[2,3]},e(d,[2,5]),e(t,[2,7],{4:22,34:n,35:o,36:c}),{11:23,37:24,38:p,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:f,48:C,49:h,50:L},{11:39,13:38,24:z,27:lt,29:40,30:41,37:24,38:p,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:f,48:C,49:h,50:L},{11:45,15:44,27:ct,33:46,37:24,38:p,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:f,48:C,49:h,50:L},{11:49,17:48,24:$,37:24,38:p,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:f,48:C,49:h,50:L},{11:52,17:51,24:$,37:24,38:p,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:f,48:C,49:h,50:L},{20:[1,53]},{22:[1,54]},e(w,[2,18]),{1:[2,2]},e(w,[2,8]),e(w,[2,9]),e(Q,[2,37],{40:55,41:_,42:A,43:m,44:T,45:S,46:P,47:f,48:C,49:h,50:L}),e(Q,[2,38]),e(Q,[2,39]),e(E,[2,40]),e(E,[2,42]),e(E,[2,43]),e(E,[2,44]),e(E,[2,45]),e(E,[2,46]),e(E,[2,47]),e(E,[2,48]),e(E,[2,49]),e(E,[2,50]),e(E,[2,51]),e(w,[2,10]),e(w,[2,22],{30:41,29:56,24:z,27:lt}),e(w,[2,24]),e(w,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:f,48:C,49:h,50:L},e(w,[2,11]),e(w,[2,30],{33:60,27:ct}),e(w,[2,32]),{31:[1,61]},e(w,[2,12]),{17:62,24:$},{25:63,27:ut},e(w,[2,14]),{17:65,24:$},e(w,[2,16]),e(w,[2,17]),e(E,[2,41]),e(w,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(w,[2,31]),{27:[1,69]},e(w,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(w,[2,15]),e(w,[2,26]),e(w,[2,27]),{11:59,32:72,37:24,38:p,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:f,48:C,49:h,50:L},e(w,[2,33]),e(w,[2,19]),{25:73,27:ut},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:function(r,l){if(l.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=l,u}},parse:function(r){var l=this,u=[0],g=[],b=[null],a=[],F=this.table,x="",U=0,gt=0,Vt=2,xt=1,Bt=a.slice.call(arguments,1),k=Object.create(this.lexer),B={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(B.yy[J]=this.yy[J]);k.setInput(r,B.yy),B.yy.lexer=k,B.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var tt=k.yylloc;a.push(tt);var Wt=k.options&&k.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ot(){var I;return I=g.pop()||k.lex()||xt,typeof I!="number"&&(I instanceof Array&&(g=I,I=g.pop()),I=l.symbols_[I]||I),I}for(var D,W,v,it,O={},q,M,pt,j;;){if(W=u[u.length-1],this.defaultActions[W]?v=this.defaultActions[W]:((D===null||typeof D>"u")&&(D=Ot()),v=F[W]&&F[W][D]),typeof v>"u"||!v.length||!v[0]){var et="";j=[];for(q in F[W])this.terminals_[q]&&q>Vt&&j.push("'"+this.terminals_[q]+"'");k.showPosition?et="Parse error on line "+(U+1)+`: +`+k.showPosition()+` +Expecting `+j.join(", ")+", got '"+(this.terminals_[D]||D)+"'":et="Parse error on line "+(U+1)+": Unexpected "+(D==xt?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(et,{text:k.match,token:this.terminals_[D]||D,line:k.yylineno,loc:tt,expected:j})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+D);switch(v[0]){case 1:u.push(D),b.push(k.yytext),a.push(k.yylloc),u.push(v[1]),D=null,gt=k.yyleng,x=k.yytext,U=k.yylineno,tt=k.yylloc;break;case 2:if(M=this.productions_[v[1]][1],O.$=b[b.length-M],O._$={first_line:a[a.length-(M||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(M||1)].first_column,last_column:a[a.length-1].last_column},Wt&&(O._$.range=[a[a.length-(M||1)].range[0],a[a.length-1].range[1]]),it=this.performAction.apply(O,[x,gt,U,B.yy,v[1],b,a].concat(Bt)),typeof it<"u")return it;M&&(u=u.slice(0,-1*M*2),b=b.slice(0,-1*M),a=a.slice(0,-1*M)),u.push(this.productions_[v[1]][0]),b.push(O.$),a.push(O._$),pt=F[u[u.length-2]][u[u.length-1]],u.push(pt);break;case 3:return!0}}return!0}},It=function(){var V={EOF:1,parseError:function(l,u){if(this.yy.parser)this.yy.parser.parseError(l,u);else throw new Error(l)},setInput:function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var l=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var b=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===g.length?this.yylloc.first_column:0)+g[g.length-u.length].length-u[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+` +`+l+"^"},test_match:function(r,l){var u,g,b;if(this.options.backtrack_lexer&&(b={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(b.yylloc.range=this.yylloc.range.slice(0))),g=r[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],u=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),u)return u;if(this._backtrack){for(var a in b)this[a]=b[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,l,u,g;this._more||(this.yytext="",this.match="");for(var b=this._currentRules(),a=0;a<b.length;a++)if(u=this._input.match(this.rules[b[a]]),u&&(!l||u[0].length>l[0].length)){if(l=u,g=a,this.options.backtrack_lexer){if(r=this.test_match(u,b[a]),r!==!1)return r;if(this._backtrack){l=!1;continue}else return!1}else if(!this.options.flex)break}return l?(r=this.test_match(l,b[g]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var l=this.next();return l||this.lex()},begin:function(l){this.conditionStack.push(l)},popState:function(){var l=this.conditionStack.length-1;return l>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(l){return l=this.conditionStack.length-1-Math.abs(l||0),l>=0?this.conditionStack[l]:"INITIAL"},pushState:function(l){this.begin(l)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(l,u,g,b){switch(g){case 0:break;case 1:break;case 2:return this.popState(),34;case 3:return this.popState(),34;case 4:return 34;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 25:this.popState();break;case 26:this.pushState("string");break;case 27:this.popState();break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 43:break;case 44:return 35;case 45:return 36}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};return V}();K.lexer=It;function Z(){this.yy={}}return Z.prototype=K,K.Parser=Z,new Z}();nt.parser=nt;const ti=nt;function mt(e){return e.type==="bar"}function _t(e){return e.type==="band"}function N(e){return e.type==="linear"}class kt{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((o,c)=>Math.max(c.length,o),0)*i,height:i};const s={width:0,height:0},n=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const o of t){const c=Qt(n,1,o),d=c?c.width:o.length*i,p=c?c.height:i;s.width=Math.max(s.width,d),s.height=Math.max(s.height,p)}return n.remove(),s}}const yt=.7,bt=.2;class Rt{constructor(t,i,s,n){this.axisConfig=t,this.title=i,this.textDimensionCalculator=s,this.axisThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(t){this.range=t,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){yt*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(yt*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const s=this.getLabelDimension(),n=bt*t.width;this.outerPadding=Math.min(s.width/2,n);const o=s.height+this.axisConfig.labelPadding*2;this.labelTextHeight=s.height,o<=i&&(i-=o,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+this.axisConfig.titlePadding*2;this.titleTextHeight=s.height,n<=i&&(i-=n,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const s=this.getLabelDimension(),n=bt*t.height;this.outerPadding=Math.min(s.height/2,n);const o=s.width+this.axisConfig.labelPadding*2;o<=i&&(i-=o,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+this.axisConfig.titlePadding*2;this.titleTextHeight=s.height,n<=i&&(i-=n,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(i),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${i},${this.getScaleValue(s)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(s)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i} L ${this.getScaleValue(s)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(s)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}}class ii extends Rt{constructor(t,i,s,n,o){super(t,n,o,i),this.categories=s,this.scale=st().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=st().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),Ct.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)||this.getRange()[0]}}class ei extends Rt{constructor(t,i,s,n,o){super(t,n,o,i),this.domain=s,this.scale=dt().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];this.axisPosition==="left"&&t.reverse(),this.scale=dt().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}}function At(e,t,i,s){const n=new kt(s);return _t(e)?new ii(t,i,e.categories,e.title,n):new ei(t,i,[e.min,e.max],e.title,n)}class si{constructor(t,i,s,n){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),s=Math.max(i.width,t.width),n=i.height+2*this.chartConfig.titlePadding;return i.width<=s&&i.height<=n&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=s,this.boundingRect.height=n,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}}function ni(e,t,i,s){const n=new kt(s);return new si(n,e,t,i)}class ai{constructor(t,i,s,n,o){this.plotData=t,this.xAxis=i,this.yAxis=s,this.orientation=n,this.plotIndex=o}getDrawableElement(){const t=this.plotData.data.map(s=>[this.xAxis.getScaleValue(s[0]),this.yAxis.getScaleValue(s[1])]);let i;return this.orientation==="horizontal"?i=ft().y(s=>s[0]).x(s=>s[1])(t):i=ft().x(s=>s[0]).y(s=>s[1])(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}class oi{constructor(t,i,s,n,o,c){this.barData=t,this.boundingRect=i,this.xAxis=s,this.yAxis=n,this.orientation=o,this.plotIndex=c}getDrawableElement(){const t=this.barData.data.map(o=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),s=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*(1-.05),n=s/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(o=>({x:this.boundingRect.x,y:o[0]-n,height:s,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(o=>({x:o[0]-n,y:o[1],width:s,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}}class ri{constructor(t,i,s){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");const t=[];for(const[i,s]of this.chartData.plots.entries())switch(s.type){case"line":{const n=new ai(s,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}break;case"bar":{const n=new oi(s,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}break}return t}}function hi(e,t,i){return new ri(e,t,i)}class li{constructor(t,i,s,n){this.chartConfig=t,this.chartData=i,this.componentStore={title:ni(t,i,s,n),plot:hi(t,i,s),xAxis:At(i.xAxis,t.xAxis,{titleColor:s.xAxisTitleColor,labelColor:s.xAxisLabelColor,tickColor:s.xAxisTickColor,axisLineColor:s.xAxisLineColor},n),yAxis:At(i.yAxis,t.yAxis,{titleColor:s.yAxisTitleColor,labelColor:s.yAxisLabelColor,tickColor:s.yAxisTickColor,axisLineColor:s.yAxisLineColor},n)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,o=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),c=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),d=this.componentStore.plot.calculateSpace({width:o,height:c});t-=d.width,i-=d.height,d=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),n=d.height,i-=d.height,this.componentStore.xAxis.setAxisPosition("bottom"),d=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=d.height,this.componentStore.yAxis.setAxisPosition("left"),d=this.componentStore.yAxis.calculateSpace({width:t,height:i}),s=d.width,t-=d.width,t>0&&(o+=t,t=0),i>0&&(c+=i,i=0),this.componentStore.plot.calculateSpace({width:o,height:c}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.xAxis.setRange([s,s+o]),this.componentStore.xAxis.setBoundingBoxXY({x:s,y:n+c}),this.componentStore.yAxis.setRange([n,n+c]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some(p=>mt(p))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizonatalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,o=0,c=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),d=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),p=this.componentStore.plot.calculateSpace({width:c,height:d});t-=p.width,i-=p.height,p=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=p.height,i-=p.height,this.componentStore.xAxis.setAxisPosition("left"),p=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=p.width,n=p.width,this.componentStore.yAxis.setAxisPosition("top"),p=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=p.height,o=s+p.height,t>0&&(c+=t,t=0),i>0&&(d+=i,i=0),this.componentStore.plot.calculateSpace({width:c,height:d}),this.componentStore.plot.setBoundingBoxXY({x:n,y:o}),this.componentStore.yAxis.setRange([n,n+c]),this.componentStore.yAxis.setBoundingBoxXY({x:n,y:s}),this.componentStore.xAxis.setRange([o,o+d]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some(R=>mt(R))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizonatalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}}class ci{static build(t,i,s,n){return new li(t,i,s,n).getDrawableElement()}}let X=0,Tt,Y=Pt(),H=Dt(),y=Lt(),at=H.plotColorPalette.split(",").map(e=>e.trim()),G=!1,rt=!1;function Dt(){const e=zt(),t=ot();return wt(e.xyChart,t.themeVariables.xyChart)}function Pt(){const e=ot();return wt(Ft.xyChart,e.xyChart)}function Lt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function ht(e){const t=ot();return Gt(e.trim(),t)}function ui(e){Tt=e}function gi(e){e==="horizontal"?Y.chartOrientation="horizontal":Y.chartOrientation="vertical"}function xi(e){y.xAxis.title=ht(e.text)}function Et(e,t){y.xAxis={type:"linear",title:y.xAxis.title,min:e,max:t},G=!0}function pi(e){y.xAxis={type:"band",title:y.xAxis.title,categories:e.map(t=>ht(t.text))},G=!0}function di(e){y.yAxis.title=ht(e.text)}function fi(e,t){y.yAxis={type:"linear",title:y.yAxis.title,min:e,max:t},rt=!0}function mi(e){const t=Math.min(...e),i=Math.max(...e),s=N(y.yAxis)?y.yAxis.min:1/0,n=N(y.yAxis)?y.yAxis.max:-1/0;y.yAxis={type:"linear",title:y.yAxis.title,min:Math.min(s,t),max:Math.max(n,i)}}function vt(e){let t=[];if(e.length===0)return t;if(!G){const i=N(y.xAxis)?y.xAxis.min:1/0,s=N(y.xAxis)?y.xAxis.max:-1/0;Et(Math.min(i,1),Math.max(s,e.length))}if(rt||mi(e),_t(y.xAxis)&&(t=y.xAxis.categories.map((i,s)=>[i,e[s]])),N(y.xAxis)){const i=y.xAxis.min,s=y.xAxis.max,n=(s-i+1)/e.length,o=[];for(let c=i;c<=s;c+=n)o.push(`${c}`);t=o.map((c,d)=>[c,e[d]])}return t}function Mt(e){return at[e===0?0:e%at.length]}function yi(e,t){const i=vt(t);y.plots.push({type:"line",strokeFill:Mt(X),strokeWidth:2,data:i}),X++}function bi(e,t){const i=vt(t);y.plots.push({type:"bar",fill:Mt(X),data:i}),X++}function Ai(){if(y.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return y.title=St(),ci.build(Y,y,H,Tt)}function wi(){return H}function Si(){return Y}const Ci=function(){Ut(),X=0,Y=Pt(),y=Lt(),H=Dt(),at=H.plotColorPalette.split(",").map(e=>e.trim()),G=!1,rt=!1},_i={getDrawableElem:Ai,clear:Ci,setAccTitle:Nt,getAccTitle:Xt,setDiagramTitle:Yt,getDiagramTitle:St,getAccDescription:Ht,setAccDescription:$t,setOrientation:gi,setXAxisTitle:xi,setXAxisRangeData:Et,setXAxisBand:pi,setYAxisTitle:di,setYAxisRangeData:fi,setLineData:yi,setBarData:bi,setTmpSVGG:ui,getChartThemeConfig:wi,getChartConfig:Si},ki=(e,t,i,s)=>{const n=s.db,o=n.getChartThemeConfig(),c=n.getChartConfig();function d(f){return f==="top"?"text-before-edge":"middle"}function p(f){return f==="left"?"start":f==="right"?"end":"middle"}function R(f){return`translate(${f.x}, ${f.y}) rotate(${f.rotation||0})`}Ct.debug(`Rendering xychart chart +`+e);const _=qt(t),A=_.append("g").attr("class","main"),m=A.append("rect").attr("width",c.width).attr("height",c.height).attr("class","background");jt(_,c.height,c.width,!0),_.attr("viewBox",`0 0 ${c.width} ${c.height}`),m.attr("fill",o.backgroundColor),n.setTmpSVGG(_.append("g").attr("class","mermaid-tmp-group"));const T=n.getDrawableElem(),S={};function P(f){let C=A,h="";for(const[L]of f.entries()){let z=A;L>0&&S[h]&&(z=S[h]),h+=f[L],C=S[h],C||(C=S[h]=z.append("g").attr("class",f[L]))}return C}for(const f of T){if(f.data.length===0)continue;const C=P(f.groupTexts);switch(f.type){case"rect":C.selectAll("rect").data(f.data).enter().append("rect").attr("x",h=>h.x).attr("y",h=>h.y).attr("width",h=>h.width).attr("height",h=>h.height).attr("fill",h=>h.fill).attr("stroke",h=>h.strokeFill).attr("stroke-width",h=>h.strokeWidth);break;case"text":C.selectAll("text").data(f.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",h=>h.fill).attr("font-size",h=>h.fontSize).attr("dominant-baseline",h=>d(h.verticalPos)).attr("text-anchor",h=>p(h.horizontalPos)).attr("transform",h=>R(h)).text(h=>h.text);break;case"path":C.selectAll("path").data(f.data).enter().append("path").attr("d",h=>h.path).attr("fill",h=>h.fill?h.fill:"none").attr("stroke",h=>h.strokeFill).attr("stroke-width",h=>h.strokeWidth);break}}},Ri={draw:ki},fe={parser:ti,db:_i,renderer:Ri};export{fe as diagram}; diff --git a/index.html b/index.html new file mode 100644 index 00000000000..3b13721239b --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ +<!doctype html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>React Components + + + + +
    + + diff --git a/scripts/vercel-build-pre.sh b/scripts/vercel-build-pre.sh new file mode 100644 index 00000000000..e69de29bb2d